File size: 177,773 Bytes
619c175
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
var ru=Object.defineProperty;var su=(e,t,n)=>t in e?ru(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var nt=(e,t,n)=>su(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function xs(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function fi(e,t,n=".",r){if(!xs(t))return fi(e,{},n,r);const s=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const o=e[i];o!=null&&(r&&r(s,i,o,n)||(Array.isArray(o)&&Array.isArray(s[i])?s[i]=[...o,...s[i]]:xs(o)&&xs(s[i])?s[i]=fi(o,s[i],(n?`${n}.`:"")+i.toString(),r):s[i]=o))}return s}function iu(e){return(...t)=>t.reduce((n,r)=>fi(n,r,"",e),{})}const fa=iu();/**
* @vue/shared v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function Hi(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const de={},cn=[],gt=()=>{},ou=()=>!1,Gr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Vi=e=>e.startsWith("onUpdate:"),Pe=Object.assign,Bi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},lu=Object.prototype.hasOwnProperty,le=(e,t)=>lu.call(e,t),W=Array.isArray,fn=e=>Yr(e)==="[object Map]",ua=e=>Yr(e)==="[object Set]",Y=e=>typeof e=="function",Te=e=>typeof e=="string",Tt=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",da=e=>(pe(e)||Y(e))&&Y(e.then)&&Y(e.catch),pa=Object.prototype.toString,Yr=e=>pa.call(e),au=e=>Yr(e).slice(8,-1),ha=e=>Yr(e)==="[object Object]",Ui=e=>Te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pn=Hi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},cu=/-(\w)/g,Nt=Zr(e=>e.replace(cu,(t,n)=>n?n.toUpperCase():"")),fu=/\B([A-Z])/g,tn=Zr(e=>e.replace(fu,"-$1").toLowerCase()),ga=Zr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ms=Zr(e=>e?`on${ga(e)}`:""),Lt=(e,t)=>!Object.is(e,t),_s=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ma=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},uu=e=>{const t=parseFloat(e);return isNaN(t)?e:t},du=e=>{const t=Te(e)?Number(e):NaN;return isNaN(t)?e:t};let Fo;const Jr=()=>Fo||(Fo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function un(e){if(W(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Te(r)?mu(r):un(r);if(s)for(const i in s)t[i]=s[i]}return t}else if(Te(e)||pe(e))return e}const pu=/;(?![^(]*\))/g,hu=/:([^]+)/,gu=/\/\*[^]*?\*\//g;function mu(e){const t={};return e.replace(gu,"").split(pu).forEach(n=>{if(n){const r=n.split(hu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function st(e){let t="";if(Te(e))t=e;else if(W(e))for(let n=0;n<e.length;n++){const r=st(e[n]);r&&(t+=r+" ")}else if(pe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const bu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",yu=Hi(bu);function ba(e){return!!e||e===""}const ya=e=>!!(e&&e.__v_isRef===!0),Wt=e=>Te(e)?e:e==null?"":W(e)||pe(e)&&(e.toString===pa||!Y(e.toString))?ya(e)?Wt(e.value):JSON.stringify(e,va,2):String(e),va=(e,t)=>ya(t)?va(e,t.value):fn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Ss(r,i)+" =>"]=s,n),{})}:ua(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ss(n))}:Tt(t)?Ss(t):pe(t)&&!W(t)&&!ha(t)?String(t):t,Ss=(e,t="")=>{var n;return Tt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ze;class vu{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ze,!t&&ze&&(this.index=(ze.scopes||(ze.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ze;try{return ze=this,t()}finally{ze=n}}}on(){++this._on===1&&(this.prevScope=ze,ze=this)}off(){this._on>0&&--this._on===0&&(ze=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function xa(){return ze}function xu(e,t=!1){ze&&ze.cleanups.push(e)}let ue;const Ts=new WeakSet;class Ma{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,ze&&ze.active&&ze.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ts.has(this)&&(Ts.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Sa(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,zo(this),Ta(this);const t=ue,n=ot;ue=this,ot=!0;try{return this.fn()}finally{wa(this),ue=t,ot=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Wi(t);this.deps=this.depsTail=void 0,zo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ts.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ui(this)&&this.run()}get dirty(){return ui(this)}}let _a=0,$n,Ln;function Sa(e,t=!1){if(e.flags|=8,t){e.next=Ln,Ln=e;return}e.next=$n,$n=e}function qi(){_a++}function Ki(){if(--_a>0)return;if(Ln){let t=Ln;for(Ln=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;$n;){let t=$n;for($n=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Ta(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function wa(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),Wi(r),Mu(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function ui(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Oa(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Oa(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Un)||(e.globalVersion=Un,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ui(e))))return;e.flags|=2;const t=e.dep,n=ue,r=ot;ue=e,ot=!0;try{Ta(e);const s=e.fn(e._value);(t.version===0||Lt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ue=n,ot=r,wa(e),e.flags&=-3}}function Wi(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Wi(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Mu(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ot=!0;const Ca=[];function _t(){Ca.push(ot),ot=!1}function St(){const e=Ca.pop();ot=e===void 0?!0:e}function zo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ue;ue=void 0;try{t()}finally{ue=n}}}let Un=0;class _u{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Xi{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ue||!ot||ue===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ue)n=this.activeLink=new _u(ue,this),ue.deps?(n.prevDep=ue.depsTail,ue.depsTail.nextDep=n,ue.depsTail=n):ue.deps=ue.depsTail=n,Aa(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=ue.depsTail,n.nextDep=void 0,ue.depsTail.nextDep=n,ue.depsTail=n,ue.deps===n&&(ue.deps=r)}return n}trigger(t){this.version++,Un++,this.notify(t)}notify(t){qi();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ki()}}}function Aa(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)Aa(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const di=new WeakMap,Zt=Symbol(""),pi=Symbol(""),qn=Symbol("");function He(e,t,n){if(ot&&ue){let r=di.get(e);r||di.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Xi),s.map=r,s.key=n),s.track()}}function xt(e,t,n,r,s,i){const o=di.get(e);if(!o){Un++;return}const l=a=>{a&&a.trigger()};if(qi(),t==="clear")o.forEach(l);else{const a=W(e),f=a&&Ui(n);if(a&&n==="length"){const c=Number(r);o.forEach((u,p)=>{(p==="length"||p===qn||!Tt(p)&&p>=c)&&l(u)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(qn)),t){case"add":a?f&&l(o.get("length")):(l(o.get(Zt)),fn(e)&&l(o.get(pi)));break;case"delete":a||(l(o.get(Zt)),fn(e)&&l(o.get(pi)));break;case"set":fn(e)&&l(o.get(Zt));break}}Ki()}function on(e){const t=re(e);return t===e?t:(He(t,"iterate",qn),it(e)?t:t.map(Re))}function Qr(e){return He(e=re(e),"iterate",qn),e}const Su={__proto__:null,[Symbol.iterator](){return ws(this,Symbol.iterator,Re)},concat(...e){return on(this).concat(...e.map(t=>W(t)?on(t):t))},entries(){return ws(this,"entries",e=>(e[1]=Re(e[1]),e))},every(e,t){return bt(this,"every",e,t,void 0,arguments)},filter(e,t){return bt(this,"filter",e,t,n=>n.map(Re),arguments)},find(e,t){return bt(this,"find",e,t,Re,arguments)},findIndex(e,t){return bt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return bt(this,"findLast",e,t,Re,arguments)},findLastIndex(e,t){return bt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return bt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Os(this,"includes",e)},indexOf(...e){return Os(this,"indexOf",e)},join(e){return on(this).join(e)},lastIndexOf(...e){return Os(this,"lastIndexOf",e)},map(e,t){return bt(this,"map",e,t,void 0,arguments)},pop(){return On(this,"pop")},push(...e){return On(this,"push",e)},reduce(e,...t){return Ho(this,"reduce",e,t)},reduceRight(e,...t){return Ho(this,"reduceRight",e,t)},shift(){return On(this,"shift")},some(e,t){return bt(this,"some",e,t,void 0,arguments)},splice(...e){return On(this,"splice",e)},toReversed(){return on(this).toReversed()},toSorted(e){return on(this).toSorted(e)},toSpliced(...e){return on(this).toSpliced(...e)},unshift(...e){return On(this,"unshift",e)},values(){return ws(this,"values",Re)}};function ws(e,t,n){const r=Qr(e),s=r[t]();return r!==e&&!it(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.value&&(i.value=n(i.value)),i}),s}const Tu=Array.prototype;function bt(e,t,n,r,s,i){const o=Qr(e),l=o!==e&&!it(e),a=o[t];if(a!==Tu[t]){const u=a.apply(e,i);return l?Re(u):u}let f=n;o!==e&&(l?f=function(u,p){return n.call(this,Re(u),p,e)}:n.length>2&&(f=function(u,p){return n.call(this,u,p,e)}));const c=a.call(o,f,r);return l&&s?s(c):c}function Ho(e,t,n,r){const s=Qr(e);let i=n;return s!==e&&(it(e)?n.length>3&&(i=function(o,l,a){return n.call(this,o,l,a,e)}):i=function(o,l,a){return n.call(this,o,Re(l),a,e)}),s[t](i,...r)}function Os(e,t,n){const r=re(e);He(r,"iterate",qn);const s=r[t](...n);return(s===-1||s===!1)&&Zi(n[0])?(n[0]=re(n[0]),r[t](...n)):s}function On(e,t,n=[]){_t(),qi();const r=re(e)[t].apply(e,n);return Ki(),St(),r}const wu=Hi("__proto__,__v_isRef,__isVue"),Ea=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Tt));function Ou(e){Tt(e)||(e=String(e));const t=re(this);return He(t,"has",e),t.hasOwnProperty(e)}class Ia{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?Nu:La:i?$a:Pa).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=W(t);if(!s){let a;if(o&&(a=Su[n]))return a;if(n==="hasOwnProperty")return Ou}const l=Reflect.get(t,n,ke(t)?t:r);return(Tt(n)?Ea.has(n):wu(n))||(s||He(t,"get",n),i)?l:ke(l)?o&&Ui(n)?l:l.value:pe(l)?s?Ra(l):nn(l):l}}class ka extends Ia{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const a=jt(i);if(!it(r)&&!jt(r)&&(i=re(i),r=re(r)),!W(t)&&ke(i)&&!ke(r))return a?!1:(i.value=r,!0)}const o=W(t)&&Ui(n)?Number(n)<t.length:le(t,n),l=Reflect.set(t,n,r,ke(t)?t:s);return t===re(s)&&(o?Lt(r,i)&&xt(t,"set",n,r):xt(t,"add",n,r)),l}deleteProperty(t,n){const r=le(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&xt(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Tt(n)||!Ea.has(n))&&He(t,"has",n),r}ownKeys(t){return He(t,"iterate",W(t)?"length":Zt),Reflect.ownKeys(t)}}class Cu extends Ia{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Au=new ka,Eu=new Cu,Iu=new ka(!0);const hi=e=>e,br=e=>Reflect.getPrototypeOf(e);function ku(e,t,n){return function(...r){const s=this.__v_raw,i=re(s),o=fn(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,f=s[e](...r),c=n?hi:t?Ir:Re;return!t&&He(i,"iterate",a?pi:Zt),{next(){const{value:u,done:p}=f.next();return p?{value:u,done:p}:{value:l?[c(u[0]),c(u[1])]:c(u),done:p}},[Symbol.iterator](){return this}}}}function yr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Pu(e,t){const n={get(s){const i=this.__v_raw,o=re(i),l=re(s);e||(Lt(s,l)&&He(o,"get",s),He(o,"get",l));const{has:a}=br(o),f=t?hi:e?Ir:Re;if(a.call(o,s))return f(i.get(s));if(a.call(o,l))return f(i.get(l));i!==o&&i.get(s)},get size(){const s=this.__v_raw;return!e&&He(re(s),"iterate",Zt),Reflect.get(s,"size",s)},has(s){const i=this.__v_raw,o=re(i),l=re(s);return e||(Lt(s,l)&&He(o,"has",s),He(o,"has",l)),s===l?i.has(s):i.has(s)||i.has(l)},forEach(s,i){const o=this,l=o.__v_raw,a=re(l),f=t?hi:e?Ir:Re;return!e&&He(a,"iterate",Zt),l.forEach((c,u)=>s.call(i,f(c),f(u),o))}};return Pe(n,e?{add:yr("add"),set:yr("set"),delete:yr("delete"),clear:yr("clear")}:{add(s){!t&&!it(s)&&!jt(s)&&(s=re(s));const i=re(this);return br(i).has.call(i,s)||(i.add(s),xt(i,"add",s,s)),this},set(s,i){!t&&!it(i)&&!jt(i)&&(i=re(i));const o=re(this),{has:l,get:a}=br(o);let f=l.call(o,s);f||(s=re(s),f=l.call(o,s));const c=a.call(o,s);return o.set(s,i),f?Lt(i,c)&&xt(o,"set",s,i):xt(o,"add",s,i),this},delete(s){const i=re(this),{has:o,get:l}=br(i);let a=o.call(i,s);a||(s=re(s),a=o.call(i,s)),l&&l.call(i,s);const f=i.delete(s);return a&&xt(i,"delete",s,void 0),f},clear(){const s=re(this),i=s.size!==0,o=s.clear();return i&&xt(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=ku(s,e,t)}),n}function Gi(e,t){const n=Pu(e,t);return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(le(n,s)&&s in r?n:r,s,i)}const $u={get:Gi(!1,!1)},Lu={get:Gi(!1,!0)},Ru={get:Gi(!0,!1)};const Pa=new WeakMap,$a=new WeakMap,La=new WeakMap,Nu=new WeakMap;function ju(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Du(e){return e.__v_skip||!Object.isExtensible(e)?0:ju(au(e))}function nn(e){return jt(e)?e:Yi(e,!1,Au,$u,Pa)}function Fu(e){return Yi(e,!1,Iu,Lu,$a)}function Ra(e){return Yi(e,!0,Eu,Ru,La)}function Yi(e,t,n,r,s){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Du(e);if(i===0)return e;const o=s.get(e);if(o)return o;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function dn(e){return jt(e)?dn(e.__v_raw):!!(e&&e.__v_isReactive)}function jt(e){return!!(e&&e.__v_isReadonly)}function it(e){return!!(e&&e.__v_isShallow)}function Zi(e){return e?!!e.__v_raw:!1}function re(e){const t=e&&e.__v_raw;return t?re(t):e}function zu(e){return!le(e,"__v_skip")&&Object.isExtensible(e)&&ma(e,"__v_skip",!0),e}const Re=e=>pe(e)?nn(e):e,Ir=e=>pe(e)?Ra(e):e;function ke(e){return e?e.__v_isRef===!0:!1}function oe(e){return Na(e,!1)}function kr(e){return Na(e,!0)}function Na(e,t){return ke(e)?e:new Hu(e,t)}class Hu{constructor(t,n){this.dep=new Xi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:re(t),this._value=n?t:Re(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||it(t)||jt(t);t=r?t:re(t),Lt(t,n)&&(this._rawValue=t,this._value=r?t:Re(t),this.dep.trigger())}}function _e(e){return ke(e)?e.value:e}function Rn(e){return Y(e)?e():_e(e)}const Vu={get:(e,t,n)=>t==="__v_raw"?e:_e(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ke(s)&&!ke(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function ja(e){return dn(e)?e:new Proxy(e,Vu)}class Bu{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Xi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Un-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&ue!==this)return Sa(this,!0),!0}get value(){const t=this.dep.track();return Oa(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Uu(e,t,n=!1){let r,s;return Y(e)?r=e:(r=e.get,s=e.set),new Bu(r,s,n)}const vr={},Pr=new WeakMap;let Xt;function qu(e,t=!1,n=Xt){if(n){let r=Pr.get(n);r||Pr.set(n,r=[]),r.push(e)}}function Ku(e,t,n=de){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:l,call:a}=n,f=S=>s?S:it(S)||s===!1||s===0?Pt(S,1):Pt(S);let c,u,p,g,m=!1,y=!1;if(ke(e)?(u=()=>e.value,m=it(e)):dn(e)?(u=()=>f(e),m=!0):W(e)?(y=!0,m=e.some(S=>dn(S)||it(S)),u=()=>e.map(S=>{if(ke(S))return S.value;if(dn(S))return f(S);if(Y(S))return a?a(S,2):S()})):Y(e)?t?u=a?()=>a(e,2):e:u=()=>{if(p){_t();try{p()}finally{St()}}const S=Xt;Xt=c;try{return a?a(e,3,[g]):e(g)}finally{Xt=S}}:u=gt,t&&s){const S=u,R=s===!0?1/0:s;u=()=>Pt(S(),R)}const M=xa(),b=()=>{c.stop(),M&&M.active&&Bi(M.effects,c)};if(i&&t){const S=t;t=(...R)=>{S(...R),b()}}let x=y?new Array(e.length).fill(vr):vr;const _=S=>{if(!(!(c.flags&1)||!c.dirty&&!S))if(t){const R=c.run();if(s||m||(y?R.some((F,z)=>Lt(F,x[z])):Lt(R,x))){p&&p();const F=Xt;Xt=c;try{const z=[R,x===vr?void 0:y&&x[0]===vr?[]:x,g];a?a(t,3,z):t(...z),x=R}finally{Xt=F}}}else c.run()};return l&&l(_),c=new Ma(u),c.scheduler=o?()=>o(_,!1):_,g=S=>qu(S,!1,c),p=c.onStop=()=>{const S=Pr.get(c);if(S){if(a)a(S,4);else for(const R of S)R();Pr.delete(c)}},t?r?_(!0):x=c.run():o?o(_.bind(null,!0),!0):c.run(),b.pause=c.pause.bind(c),b.resume=c.resume.bind(c),b.stop=b,b}function Pt(e,t=1/0,n){if(t<=0||!pe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ke(e))Pt(e.value,t,n);else if(W(e))for(let r=0;r<e.length;r++)Pt(e[r],t,n);else if(ua(e)||fn(e))e.forEach(r=>{Pt(r,t,n)});else if(ha(e)){for(const r in e)Pt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Pt(e[r],t,n)}return e}/**
* @vue/runtime-core v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function ir(e,t,n,r){try{return r?e(...r):e()}catch(s){es(s,t,n)}}function at(e,t,n,r){if(Y(e)){const s=ir(e,t,n,r);return s&&da(s)&&s.catch(i=>{es(i,t,n)}),s}if(W(e)){const s=[];for(let i=0;i<e.length;i++)s.push(at(e[i],t,n,r));return s}}function es(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||de;if(t){let l=t.parent;const a=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,a,f)===!1)return}l=l.parent}if(i){_t(),ir(i,null,10,[e,a,f]),St();return}}Wu(e,n,s,r,o)}function Wu(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Xe=[];let dt=-1;const pn=[];let Et=null,ln=0;const Da=Promise.resolve();let $r=null;function Xu(e){const t=$r||Da;return e?t.then(this?e.bind(this):e):t}function Gu(e){let t=dt+1,n=Xe.length;for(;t<n;){const r=t+n>>>1,s=Xe[r],i=Kn(s);i<e||i===e&&s.flags&2?t=r+1:n=r}return t}function Ji(e){if(!(e.flags&1)){const t=Kn(e),n=Xe[Xe.length-1];!n||!(e.flags&2)&&t>=Kn(n)?Xe.push(e):Xe.splice(Gu(t),0,e),e.flags|=1,Fa()}}function Fa(){$r||($r=Da.then(Ha))}function Yu(e){W(e)?pn.push(...e):Et&&e.id===-1?Et.splice(ln+1,0,e):e.flags&1||(pn.push(e),e.flags|=1),Fa()}function Vo(e,t,n=dt+1){for(;n<Xe.length;n++){const r=Xe[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Xe.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function za(e){if(pn.length){const t=[...new Set(pn)].sort((n,r)=>Kn(n)-Kn(r));if(pn.length=0,Et){Et.push(...t);return}for(Et=t,ln=0;ln<Et.length;ln++){const n=Et[ln];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Et=null,ln=0}}const Kn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ha(e){try{for(dt=0;dt<Xe.length;dt++){const t=Xe[dt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ir(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;dt<Xe.length;dt++){const t=Xe[dt];t&&(t.flags&=-2)}dt=-1,Xe.length=0,za(),$r=null,(Xe.length||pn.length)&&Ha()}}let Be=null,Va=null;function Lr(e){const t=Be;return Be=e,Va=e&&e.type.__scopeId||null,t}function an(e,t=Be,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Qo(-1);const i=Lr(t);let o;try{o=e(...s)}finally{Lr(i),r._d&&Qo(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Ht(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const l=s[o];i&&(l.oldValue=i[o].value);let a=l.dir[r];a&&(_t(),at(a,n,8,[e.el,l,e,t]),St())}}const Zu=Symbol("_vte"),Ba=e=>e.__isTeleport,It=Symbol("_leaveCb"),xr=Symbol("_enterCb");function Ju(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Mn(()=>{e.isMounted=!0}),Qi(()=>{e.isUnmounting=!0}),e}const rt=[Function,Array],Ua={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:rt,onEnter:rt,onAfterEnter:rt,onEnterCancelled:rt,onBeforeLeave:rt,onLeave:rt,onAfterLeave:rt,onLeaveCancelled:rt,onBeforeAppear:rt,onAppear:rt,onAfterAppear:rt,onAppearCancelled:rt},qa=e=>{const t=e.subTree;return t.component?qa(t.component):t},Qu={name:"BaseTransition",props:Ua,setup(e,{slots:t}){const n=_n(),r=Ju();return()=>{const s=t.default&&Xa(t.default(),!0);if(!s||!s.length)return;const i=Ka(s),o=re(e),{mode:l}=o;if(r.isLeaving)return Cs(i);const a=Bo(i);if(!a)return Cs(i);let f=gi(a,o,r,n,u=>f=u);a.type!==Ve&&Wn(a,f);let c=n.subTree&&Bo(n.subTree);if(c&&c.type!==Ve&&!Gt(a,c)&&qa(n).type!==Ve){let u=gi(c,o,r,n);if(Wn(c,u),l==="out-in"&&a.type!==Ve)return r.isLeaving=!0,u.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete u.afterLeave,c=void 0},Cs(i);l==="in-out"&&a.type!==Ve?u.delayLeave=(p,g,m)=>{const y=Wa(r,c);y[String(c.key)]=c,p[It]=()=>{g(),p[It]=void 0,delete f.delayedLeave,c=void 0},f.delayedLeave=()=>{m(),delete f.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return i}}};function Ka(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ve){t=n;break}}return t}const ed=Qu;function Wa(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function gi(e,t,n,r,s){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:f,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:p,onLeave:g,onAfterLeave:m,onLeaveCancelled:y,onBeforeAppear:M,onAppear:b,onAfterAppear:x,onAppearCancelled:_}=t,S=String(e.key),R=Wa(n,e),F=(T,E)=>{T&&at(T,r,9,E)},z=(T,E)=>{const O=E[1];F(T,E),W(T)?T.every(k=>k.length<=1)&&O():T.length<=1&&O()},H={mode:o,persisted:l,beforeEnter(T){let E=a;if(!n.isMounted)if(i)E=M||a;else return;T[It]&&T[It](!0);const O=R[S];O&&Gt(e,O)&&O.el[It]&&O.el[It](),F(E,[T])},enter(T){let E=f,O=c,k=u;if(!n.isMounted)if(i)E=b||f,O=x||c,k=_||u;else return;let V=!1;const X=T[xr]=ee=>{V||(V=!0,ee?F(k,[T]):F(O,[T]),H.delayedLeave&&H.delayedLeave(),T[xr]=void 0)};E?z(E,[T,X]):X()},leave(T,E){const O=String(e.key);if(T[xr]&&T[xr](!0),n.isUnmounting)return E();F(p,[T]);let k=!1;const V=T[It]=X=>{k||(k=!0,E(),X?F(y,[T]):F(m,[T]),T[It]=void 0,R[O]===e&&delete R[O])};R[O]=e,g?z(g,[T,V]):V()},clone(T){const E=gi(T,t,n,r,s);return s&&s(E),E}};return H}function Cs(e){if(ts(e))return e=Dt(e),e.children=null,e}function Bo(e){if(!ts(e))return Ba(e.type)&&e.children?Ka(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Y(n.default))return n.default()}}function Wn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Wn(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 Xa(e,t=!1,n){let r=[],s=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===Ne?(o.patchFlag&128&&s++,r=r.concat(Xa(o.children,t,l))):(t||o.type!==Ve)&&r.push(l!=null?Dt(o,{key:l}):o)}if(s>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function xn(e,t){return Y(e)?Pe({name:e.name},t,{setup:e}):e}function Ga(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Rr(e,t,n,r,s=!1){if(W(e)){e.forEach((m,y)=>Rr(m,t&&(W(t)?t[y]:t),n,r,s));return}if(hn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Rr(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?io(r.component):r.el,o=s?null:i,{i:l,r:a}=e,f=t&&t.r,c=l.refs===de?l.refs={}:l.refs,u=l.setupState,p=re(u),g=u===de?()=>!1:m=>le(p,m);if(f!=null&&f!==a&&(Te(f)?(c[f]=null,g(f)&&(u[f]=null)):ke(f)&&(f.value=null)),Y(a))ir(a,l,12,[o,c]);else{const m=Te(a),y=ke(a);if(m||y){const M=()=>{if(e.f){const b=m?g(a)?u[a]:c[a]:a.value;s?W(b)&&Bi(b,i):W(b)?b.includes(i)||b.push(i):m?(c[a]=[i],g(a)&&(u[a]=c[a])):(a.value=[i],e.k&&(c[e.k]=a.value))}else m?(c[a]=o,g(a)&&(u[a]=o)):y&&(a.value=o,e.k&&(c[e.k]=o))};o?(M.id=-1,Je(M,n)):M()}}}Jr().requestIdleCallback;Jr().cancelIdleCallback;const hn=e=>!!e.type.__asyncLoader,ts=e=>e.type.__isKeepAlive;function td(e,t){Ya(e,"a",t)}function nd(e,t){Ya(e,"da",t)}function Ya(e,t,n=je){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(ns(t,r,n),n){let s=n.parent;for(;s&&s.parent;)ts(s.parent.vnode)&&rd(r,t,n,s),s=s.parent}}function rd(e,t,n,r){const s=ns(t,e,r,!0);eo(()=>{Bi(r[t],s)},n)}function ns(e,t,n=je,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{_t();const l=or(n),a=at(t,n,e,o);return l(),St(),a});return r?s.unshift(i):s.push(i),i}}const wt=e=>(t,n=je)=>{(!Zn||e==="sp")&&ns(e,(...r)=>t(...r),n)},sd=wt("bm"),Mn=wt("m"),id=wt("bu"),od=wt("u"),Qi=wt("bum"),eo=wt("um"),ld=wt("sp"),ad=wt("rtg"),cd=wt("rtc");function fd(e,t=je){ns("ec",e,t)}const ud=Symbol.for("v-ndc");function Uo(e,t,n,r){let s;const i=n,o=W(e);if(o||Te(e)){const l=o&&dn(e);let a=!1,f=!1;l&&(a=!it(e),f=jt(e),e=Qr(e)),s=new Array(e.length);for(let c=0,u=e.length;c<u;c++)s[c]=t(a?f?Ir(Re(e[c])):Re(e[c]):e[c],c,void 0,i)}else if(typeof e=="number"){s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,i)}else if(pe(e))if(e[Symbol.iterator])s=Array.from(e,(l,a)=>t(l,a,void 0,i));else{const l=Object.keys(e);s=new Array(l.length);for(let a=0,f=l.length;a<f;a++){const c=l[a];s[a]=t(e[c],c,a,i)}}else s=[];return s}function to(e,t,n={},r,s){if(Be.ce||Be.parent&&hn(Be.parent)&&Be.parent.ce)return me(),Gn(Ne,null,[De("slot",n,r)],64);let i=e[t];i&&i._c&&(i._d=!1),me();const o=i&&Za(i(n)),l=n.key||o&&o.key,a=Gn(Ne,{key:(l&&!Tt(l)?l:`_${t}`)+""},o||[],o&&e._===1?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Za(e){return e.some(t=>Yn(t)?!(t.type===Ve||t.type===Ne&&!Za(t.children)):!0)?e:null}const mi=e=>e?Mc(e)?io(e):mi(e.parent):null,Nn=Pe(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=>mi(e.parent),$root:e=>mi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ec(e),$forceUpdate:e=>e.f||(e.f=()=>{Ji(e.update)}),$nextTick:e=>e.n||(e.n=Xu.bind(e.proxy)),$watch:e=>Ld.bind(e)}),As=(e,t)=>e!==de&&!e.__isScriptSetup&&le(e,t),dd={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:l,appContext:a}=e;let f;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(As(r,t))return o[t]=1,r[t];if(s!==de&&le(s,t))return o[t]=2,s[t];if((f=e.propsOptions[0])&&le(f,t))return o[t]=3,i[t];if(n!==de&&le(n,t))return o[t]=4,n[t];bi&&(o[t]=0)}}const c=Nn[t];let u,p;if(c)return t==="$attrs"&&He(e.attrs,"get",""),c(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==de&&le(n,t))return o[t]=4,n[t];if(p=a.config.globalProperties,le(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return As(s,t)?(s[t]=n,!0):r!==de&&le(r,t)?(r[t]=n,!0):le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let l;return!!n[o]||e!==de&&le(e,o)||As(t,o)||(l=i[0])&&le(l,o)||le(r,o)||le(Nn,o)||le(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ja(){return pd().slots}function pd(){const e=_n();return e.setupContext||(e.setupContext=Sc(e))}function qo(e){return W(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let bi=!0;function hd(e){const t=ec(e),n=e.proxy,r=e.ctx;bi=!1,t.beforeCreate&&Ko(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:a,inject:f,created:c,beforeMount:u,mounted:p,beforeUpdate:g,updated:m,activated:y,deactivated:M,beforeDestroy:b,beforeUnmount:x,destroyed:_,unmounted:S,render:R,renderTracked:F,renderTriggered:z,errorCaptured:H,serverPrefetch:T,expose:E,inheritAttrs:O,components:k,directives:V,filters:X}=t;if(f&&gd(f,r,null),o)for(const J in o){const G=o[J];Y(G)&&(r[J]=G.bind(n))}if(s){const J=s.call(n,n);pe(J)&&(e.data=nn(J))}if(bi=!0,i)for(const J in i){const G=i[J],fe=Y(G)?G.bind(n,n):Y(G.get)?G.get.bind(n,n):gt,Ue=!Y(G)&&Y(G.set)?G.set.bind(n):gt,he=mt({get:fe,set:Ue});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>he.value,set:se=>he.value=se})}if(l)for(const J in l)Qa(l[J],r,n,J);if(a){const J=Y(a)?a.call(n):a;Reflect.ownKeys(J).forEach(G=>{nc(G,J[G])})}c&&Ko(c,e,"c");function Z(J,G){W(G)?G.forEach(fe=>J(fe.bind(n))):G&&J(G.bind(n))}if(Z(sd,u),Z(Mn,p),Z(id,g),Z(od,m),Z(td,y),Z(nd,M),Z(fd,H),Z(cd,F),Z(ad,z),Z(Qi,x),Z(eo,S),Z(ld,T),W(E))if(E.length){const J=e.exposed||(e.exposed={});E.forEach(G=>{Object.defineProperty(J,G,{get:()=>n[G],set:fe=>n[G]=fe})})}else e.exposed||(e.exposed={});R&&e.render===gt&&(e.render=R),O!=null&&(e.inheritAttrs=O),k&&(e.components=k),V&&(e.directives=V),T&&Ga(e)}function gd(e,t,n=gt){W(e)&&(e=yi(e));for(const r in e){const s=e[r];let i;pe(s)?"default"in s?i=gn(s.from||r,s.default,!0):i=gn(s.from||r):i=gn(s),ke(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function Ko(e,t,n){at(W(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Qa(e,t,n,r){let s=r.includes(".")?hc(n,r):()=>n[r];if(Te(e)){const i=t[e];Y(i)&&Se(s,i)}else if(Y(e))Se(s,e.bind(n));else if(pe(e))if(W(e))e.forEach(i=>Qa(i,t,n,r));else{const i=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(i)&&Se(s,i,e)}}function ec(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let a;return l?a=l:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(f=>Nr(a,f,o,!0)),Nr(a,t,o)),pe(t)&&i.set(t,a),a}function Nr(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&Nr(e,i,n,!0),s&&s.forEach(o=>Nr(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=md[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const md={data:Wo,props:Xo,emits:Xo,methods:In,computed:In,beforeCreate:We,created:We,beforeMount:We,mounted:We,beforeUpdate:We,updated:We,beforeDestroy:We,beforeUnmount:We,destroyed:We,unmounted:We,activated:We,deactivated:We,errorCaptured:We,serverPrefetch:We,components:In,directives:In,watch:yd,provide:Wo,inject:bd};function Wo(e,t){return t?e?function(){return Pe(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function bd(e,t){return In(yi(e),yi(t))}function yi(e){if(W(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function We(e,t){return e?[...new Set([].concat(e,t))]:t}function In(e,t){return e?Pe(Object.create(null),e,t):t}function Xo(e,t){return e?W(e)&&W(t)?[...new Set([...e,...t])]:Pe(Object.create(null),qo(e),qo(t??{})):t}function yd(e,t){if(!e)return t;if(!t)return e;const n=Pe(Object.create(null),e);for(const r in t)n[r]=We(e[r],t[r]);return n}function tc(){return{app:null,config:{isNativeTag:ou,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 vd=0;function xd(e,t){return function(r,s=null){Y(r)||(r=Pe({},r)),s!=null&&!pe(s)&&(s=null);const i=tc(),o=new WeakSet,l=[];let a=!1;const f=i.app={_uid:vd++,_component:r,_props:s,_container:null,_context:i,_instance:null,version:Jd,get config(){return i.config},set config(c){},use(c,...u){return o.has(c)||(c&&Y(c.install)?(o.add(c),c.install(f,...u)):Y(c)&&(o.add(c),c(f,...u))),f},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),f},component(c,u){return u?(i.components[c]=u,f):i.components[c]},directive(c,u){return u?(i.directives[c]=u,f):i.directives[c]},mount(c,u,p){if(!a){const g=f._ceVNode||De(r,s);return g.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),e(g,c,p),a=!0,f._container=c,c.__vue_app__=f,io(g.component)}},onUnmount(c){l.push(c)},unmount(){a&&(at(l,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(c,u){return i.provides[c]=u,f},runWithContext(c){const u=Jt;Jt=f;try{return c()}finally{Jt=u}}};return f}}let Jt=null;function nc(e,t){if(je){let n=je.provides;const r=je.parent&&je.parent.provides;r===n&&(n=je.provides=Object.create(r)),n[e]=t}}function gn(e,t,n=!1){const r=je||Be;if(r||Jt){const s=Jt?Jt._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Y(t)?t.call(r&&r.proxy):t}}function Md(){return!!(je||Be||Jt)}const rc={},sc=()=>Object.create(rc),ic=e=>Object.getPrototypeOf(e)===rc;function _d(e,t,n,r=!1){const s={},i=sc();e.propsDefaults=Object.create(null),oc(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Fu(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Sd(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,l=re(s),[a]=e.propsOptions;let f=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let u=0;u<c.length;u++){let p=c[u];if(rs(e.emitsOptions,p))continue;const g=t[p];if(a)if(le(i,p))g!==i[p]&&(i[p]=g,f=!0);else{const m=Nt(p);s[m]=vi(a,l,m,g,e,!1)}else g!==i[p]&&(i[p]=g,f=!0)}}}else{oc(e,t,s,i)&&(f=!0);let c;for(const u in l)(!t||!le(t,u)&&((c=tn(u))===u||!le(t,c)))&&(a?n&&(n[u]!==void 0||n[c]!==void 0)&&(s[u]=vi(a,l,u,void 0,e,!0)):delete s[u]);if(i!==l)for(const u in i)(!t||!le(t,u))&&(delete i[u],f=!0)}f&&xt(e.attrs,"set","")}function oc(e,t,n,r){const[s,i]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(Pn(a))continue;const f=t[a];let c;s&&le(s,c=Nt(a))?!i||!i.includes(c)?n[c]=f:(l||(l={}))[c]=f:rs(e.emitsOptions,a)||(!(a in r)||f!==r[a])&&(r[a]=f,o=!0)}if(i){const a=re(n),f=l||de;for(let c=0;c<i.length;c++){const u=i[c];n[u]=vi(s,a,u,f[u],e,!le(f,u))}}return o}function vi(e,t,n,r,s,i){const o=e[n];if(o!=null){const l=le(o,"default");if(l&&r===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&Y(a)){const{propsDefaults:f}=s;if(n in f)r=f[n];else{const c=or(s);r=f[n]=a.call(null,t),c()}}else r=a;s.ce&&s.ce._setProp(n,r)}o[0]&&(i&&!l?r=!1:o[1]&&(r===""||r===tn(n))&&(r=!0))}return r}const Td=new WeakMap;function lc(e,t,n=!1){const r=n?Td:t.propsCache,s=r.get(e);if(s)return s;const i=e.props,o={},l=[];let a=!1;if(!Y(e)){const c=u=>{a=!0;const[p,g]=lc(u,t,!0);Pe(o,p),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!a)return pe(e)&&r.set(e,cn),cn;if(W(i))for(let c=0;c<i.length;c++){const u=Nt(i[c]);Go(u)&&(o[u]=de)}else if(i)for(const c in i){const u=Nt(c);if(Go(u)){const p=i[c],g=o[u]=W(p)||Y(p)?{type:p}:Pe({},p),m=g.type;let y=!1,M=!0;if(W(m))for(let b=0;b<m.length;++b){const x=m[b],_=Y(x)&&x.name;if(_==="Boolean"){y=!0;break}else _==="String"&&(M=!1)}else y=Y(m)&&m.name==="Boolean";g[0]=y,g[1]=M,(y||le(g,"default"))&&l.push(u)}}const f=[o,l];return pe(e)&&r.set(e,f),f}function Go(e){return e[0]!=="$"&&!Pn(e)}const no=e=>e[0]==="_"||e==="$stable",ro=e=>W(e)?e.map(pt):[pt(e)],wd=(e,t,n)=>{if(t._n)return t;const r=an((...s)=>ro(t(...s)),n);return r._c=!1,r},ac=(e,t,n)=>{const r=e._ctx;for(const s in e){if(no(s))continue;const i=e[s];if(Y(i))t[s]=wd(s,i,r);else if(i!=null){const o=ro(i);t[s]=()=>o}}},cc=(e,t)=>{const n=ro(t);e.slots.default=()=>n},fc=(e,t,n)=>{for(const r in t)(n||!no(r))&&(e[r]=t[r])},Od=(e,t,n)=>{const r=e.slots=sc();if(e.vnode.shapeFlag&32){const s=t._;s?(fc(r,t,n),n&&ma(r,"_",s,!0)):ac(t,r)}else t&&cc(e,t)},Cd=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=de;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:fc(s,t,n):(i=!t.$stable,ac(t,s)),o=t}else t&&(cc(e,t),o={default:1});if(i)for(const l in s)!no(l)&&o[l]==null&&delete s[l]},Je=Hd;function Ad(e){return Ed(e)}function Ed(e,t){const n=Jr();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:a,setText:f,setElementText:c,parentNode:u,nextSibling:p,setScopeId:g=gt,insertStaticContent:m}=e,y=(d,h,v,C=null,w=null,A=null,N=void 0,L=null,$=!!h.dynamicChildren)=>{if(d===h)return;d&&!Gt(d,h)&&(C=ve(d),se(d,w,A,!0),d=null),h.patchFlag===-2&&($=!1,h.dynamicChildren=null);const{type:I,ref:U,shapeFlag:j}=h;switch(I){case ss:M(d,h,v,C);break;case Ve:b(d,h,v,C);break;case Is:d==null&&x(h,v,C,N);break;case Ne:k(d,h,v,C,w,A,N,L,$);break;default:j&1?R(d,h,v,C,w,A,N,L,$):j&6?V(d,h,v,C,w,A,N,L,$):(j&64||j&128)&&I.process(d,h,v,C,w,A,N,L,$,Ae)}U!=null&&w&&Rr(U,d&&d.ref,A,h||d,!h)},M=(d,h,v,C)=>{if(d==null)r(h.el=l(h.children),v,C);else{const w=h.el=d.el;h.children!==d.children&&f(w,h.children)}},b=(d,h,v,C)=>{d==null?r(h.el=a(h.children||""),v,C):h.el=d.el},x=(d,h,v,C)=>{[d.el,d.anchor]=m(d.children,h,v,C,d.el,d.anchor)},_=({el:d,anchor:h},v,C)=>{let w;for(;d&&d!==h;)w=p(d),r(d,v,C),d=w;r(h,v,C)},S=({el:d,anchor:h})=>{let v;for(;d&&d!==h;)v=p(d),s(d),d=v;s(h)},R=(d,h,v,C,w,A,N,L,$)=>{h.type==="svg"?N="svg":h.type==="math"&&(N="mathml"),d==null?F(h,v,C,w,A,N,L,$):T(d,h,w,A,N,L,$)},F=(d,h,v,C,w,A,N,L)=>{let $,I;const{props:U,shapeFlag:j,transition:B,dirs:K}=d;if($=d.el=o(d.type,A,U&&U.is,U),j&8?c($,d.children):j&16&&H(d.children,$,null,C,w,Es(d,A),N,L),K&&Ht(d,null,C,"created"),z($,d,d.scopeId,N,C),U){for(const ce in U)ce!=="value"&&!Pn(ce)&&i($,ce,null,U[ce],A,C);"value"in U&&i($,"value",null,U.value,A),(I=U.onVnodeBeforeMount)&&ft(I,C,d)}K&&Ht(d,null,C,"beforeMount");const te=Id(w,B);te&&B.beforeEnter($),r($,h,v),((I=U&&U.onVnodeMounted)||te||K)&&Je(()=>{I&&ft(I,C,d),te&&B.enter($),K&&Ht(d,null,C,"mounted")},w)},z=(d,h,v,C,w)=>{if(v&&g(d,v),C)for(let A=0;A<C.length;A++)g(d,C[A]);if(w){let A=w.subTree;if(h===A||mc(A.type)&&(A.ssContent===h||A.ssFallback===h)){const N=w.vnode;z(d,N,N.scopeId,N.slotScopeIds,w.parent)}}},H=(d,h,v,C,w,A,N,L,$=0)=>{for(let I=$;I<d.length;I++){const U=d[I]=L?kt(d[I]):pt(d[I]);y(null,U,h,v,C,w,A,N,L)}},T=(d,h,v,C,w,A,N)=>{const L=h.el=d.el;let{patchFlag:$,dynamicChildren:I,dirs:U}=h;$|=d.patchFlag&16;const j=d.props||de,B=h.props||de;let K;if(v&&Vt(v,!1),(K=B.onVnodeBeforeUpdate)&&ft(K,v,h,d),U&&Ht(h,d,v,"beforeUpdate"),v&&Vt(v,!0),(j.innerHTML&&B.innerHTML==null||j.textContent&&B.textContent==null)&&c(L,""),I?E(d.dynamicChildren,I,L,v,C,Es(h,w),A):N||G(d,h,L,null,v,C,Es(h,w),A,!1),$>0){if($&16)O(L,j,B,v,w);else if($&2&&j.class!==B.class&&i(L,"class",null,B.class,w),$&4&&i(L,"style",j.style,B.style,w),$&8){const te=h.dynamicProps;for(let ce=0;ce<te.length;ce++){const ie=te[ce],Le=j[ie],Me=B[ie];(Me!==Le||ie==="value")&&i(L,ie,Le,Me,w,v)}}$&1&&d.children!==h.children&&c(L,h.children)}else!N&&I==null&&O(L,j,B,v,w);((K=B.onVnodeUpdated)||U)&&Je(()=>{K&&ft(K,v,h,d),U&&Ht(h,d,v,"updated")},C)},E=(d,h,v,C,w,A,N)=>{for(let L=0;L<h.length;L++){const $=d[L],I=h[L],U=$.el&&($.type===Ne||!Gt($,I)||$.shapeFlag&70)?u($.el):v;y($,I,U,null,C,w,A,N,!0)}},O=(d,h,v,C,w)=>{if(h!==v){if(h!==de)for(const A in h)!Pn(A)&&!(A in v)&&i(d,A,h[A],null,w,C);for(const A in v){if(Pn(A))continue;const N=v[A],L=h[A];N!==L&&A!=="value"&&i(d,A,L,N,w,C)}"value"in v&&i(d,"value",h.value,v.value,w)}},k=(d,h,v,C,w,A,N,L,$)=>{const I=h.el=d?d.el:l(""),U=h.anchor=d?d.anchor:l("");let{patchFlag:j,dynamicChildren:B,slotScopeIds:K}=h;K&&(L=L?L.concat(K):K),d==null?(r(I,v,C),r(U,v,C),H(h.children||[],v,U,w,A,N,L,$)):j>0&&j&64&&B&&d.dynamicChildren?(E(d.dynamicChildren,B,v,w,A,N,L),(h.key!=null||w&&h===w.subTree)&&uc(d,h,!0)):G(d,h,v,U,w,A,N,L,$)},V=(d,h,v,C,w,A,N,L,$)=>{h.slotScopeIds=L,d==null?h.shapeFlag&512?w.ctx.activate(h,v,C,N,$):X(h,v,C,w,A,N,$):ee(d,h,$)},X=(d,h,v,C,w,A,N)=>{const L=d.component=Wd(d,C,w);if(ts(d)&&(L.ctx.renderer=Ae),Xd(L,!1,N),L.asyncDep){if(w&&w.registerDep(L,Z,N),!d.el){const $=L.subTree=De(Ve);b(null,$,h,v)}}else Z(L,d,h,v,w,A,N)},ee=(d,h,v)=>{const C=h.component=d.component;if(Fd(d,h,v))if(C.asyncDep&&!C.asyncResolved){J(C,h,v);return}else C.next=h,C.update();else h.el=d.el,C.vnode=h},Z=(d,h,v,C,w,A,N)=>{const L=()=>{if(d.isMounted){let{next:j,bu:B,u:K,parent:te,vnode:ce}=d;{const Ye=dc(d);if(Ye){j&&(j.el=ce.el,J(d,j,N)),Ye.asyncDep.then(()=>{d.isUnmounted||L()});return}}let ie=j,Le;Vt(d,!1),j?(j.el=ce.el,J(d,j,N)):j=ce,B&&_s(B),(Le=j.props&&j.props.onVnodeBeforeUpdate)&&ft(Le,te,j,ce),Vt(d,!0);const Me=Zo(d),Ge=d.subTree;d.subTree=Me,y(Ge,Me,u(Ge.el),ve(Ge),d,w,A),j.el=Me.el,ie===null&&zd(d,Me.el),K&&Je(K,w),(Le=j.props&&j.props.onVnodeUpdated)&&Je(()=>ft(Le,te,j,ce),w)}else{let j;const{el:B,props:K}=h,{bm:te,m:ce,parent:ie,root:Le,type:Me}=d,Ge=hn(h);Vt(d,!1),te&&_s(te),!Ge&&(j=K&&K.onVnodeBeforeMount)&&ft(j,ie,h),Vt(d,!0);{Le.ce&&Le.ce._injectChildStyle(Me);const Ye=d.subTree=Zo(d);y(null,Ye,v,C,d,w,A),h.el=Ye.el}if(ce&&Je(ce,w),!Ge&&(j=K&&K.onVnodeMounted)){const Ye=h;Je(()=>ft(j,ie,Ye),w)}(h.shapeFlag&256||ie&&hn(ie.vnode)&&ie.vnode.shapeFlag&256)&&d.a&&Je(d.a,w),d.isMounted=!0,h=v=C=null}};d.scope.on();const $=d.effect=new Ma(L);d.scope.off();const I=d.update=$.run.bind($),U=d.job=$.runIfDirty.bind($);U.i=d,U.id=d.uid,$.scheduler=()=>Ji(U),Vt(d,!0),I()},J=(d,h,v)=>{h.component=d;const C=d.vnode.props;d.vnode=h,d.next=null,Sd(d,h.props,C,v),Cd(d,h.children,v),_t(),Vo(d),St()},G=(d,h,v,C,w,A,N,L,$=!1)=>{const I=d&&d.children,U=d?d.shapeFlag:0,j=h.children,{patchFlag:B,shapeFlag:K}=h;if(B>0){if(B&128){Ue(I,j,v,C,w,A,N,L,$);return}else if(B&256){fe(I,j,v,C,w,A,N,L,$);return}}K&8?(U&16&&$e(I,w,A),j!==I&&c(v,j)):U&16?K&16?Ue(I,j,v,C,w,A,N,L,$):$e(I,w,A,!0):(U&8&&c(v,""),K&16&&H(j,v,C,w,A,N,L,$))},fe=(d,h,v,C,w,A,N,L,$)=>{d=d||cn,h=h||cn;const I=d.length,U=h.length,j=Math.min(I,U);let B;for(B=0;B<j;B++){const K=h[B]=$?kt(h[B]):pt(h[B]);y(d[B],K,v,null,w,A,N,L,$)}I>U?$e(d,w,A,!0,!1,j):H(h,v,C,w,A,N,L,$,j)},Ue=(d,h,v,C,w,A,N,L,$)=>{let I=0;const U=h.length;let j=d.length-1,B=U-1;for(;I<=j&&I<=B;){const K=d[I],te=h[I]=$?kt(h[I]):pt(h[I]);if(Gt(K,te))y(K,te,v,null,w,A,N,L,$);else break;I++}for(;I<=j&&I<=B;){const K=d[j],te=h[B]=$?kt(h[B]):pt(h[B]);if(Gt(K,te))y(K,te,v,null,w,A,N,L,$);else break;j--,B--}if(I>j){if(I<=B){const K=B+1,te=K<U?h[K].el:C;for(;I<=B;)y(null,h[I]=$?kt(h[I]):pt(h[I]),v,te,w,A,N,L,$),I++}}else if(I>B)for(;I<=j;)se(d[I],w,A,!0),I++;else{const K=I,te=I,ce=new Map;for(I=te;I<=B;I++){const Ke=h[I]=$?kt(h[I]):pt(h[I]);Ke.key!=null&&ce.set(Ke.key,I)}let ie,Le=0;const Me=B-te+1;let Ge=!1,Ye=0;const ct=new Array(Me);for(I=0;I<Me;I++)ct[I]=0;for(I=K;I<=j;I++){const Ke=d[I];if(Le>=Me){se(Ke,w,A,!0);continue}let tt;if(Ke.key!=null)tt=ce.get(Ke.key);else for(ie=te;ie<=B;ie++)if(ct[ie-te]===0&&Gt(Ke,h[ie])){tt=ie;break}tt===void 0?se(Ke,w,A,!0):(ct[tt-te]=I+1,tt>=Ye?Ye=tt:Ge=!0,y(Ke,h[tt],v,null,w,A,N,L,$),Le++)}const gr=Ge?kd(ct):cn;for(ie=gr.length-1,I=Me-1;I>=0;I--){const Ke=te+I,tt=h[Ke],mr=Ke+1<U?h[Ke+1].el:C;ct[I]===0?y(null,tt,v,mr,w,A,N,L,$):Ge&&(ie<0||I!==gr[ie]?he(tt,v,mr,2):ie--)}}},he=(d,h,v,C,w=null)=>{const{el:A,type:N,transition:L,children:$,shapeFlag:I}=d;if(I&6){he(d.component.subTree,h,v,C);return}if(I&128){d.suspense.move(h,v,C);return}if(I&64){N.move(d,h,v,Ae);return}if(N===Ne){r(A,h,v);for(let j=0;j<$.length;j++)he($[j],h,v,C);r(d.anchor,h,v);return}if(N===Is){_(d,h,v);return}if(C!==2&&I&1&&L)if(C===0)L.beforeEnter(A),r(A,h,v),Je(()=>L.enter(A),w);else{const{leave:j,delayLeave:B,afterLeave:K}=L,te=()=>{d.ctx.isUnmounted?s(A):r(A,h,v)},ce=()=>{j(A,()=>{te(),K&&K()})};B?B(A,te,ce):ce()}else r(A,h,v)},se=(d,h,v,C=!1,w=!1)=>{const{type:A,props:N,ref:L,children:$,dynamicChildren:I,shapeFlag:U,patchFlag:j,dirs:B,cacheIndex:K}=d;if(j===-2&&(w=!1),L!=null&&(_t(),Rr(L,null,v,d,!0),St()),K!=null&&(h.renderCache[K]=void 0),U&256){h.ctx.deactivate(d);return}const te=U&1&&B,ce=!hn(d);let ie;if(ce&&(ie=N&&N.onVnodeBeforeUnmount)&&ft(ie,h,d),U&6)qe(d.component,v,C);else{if(U&128){d.suspense.unmount(v,C);return}te&&Ht(d,null,h,"beforeUnmount"),U&64?d.type.remove(d,h,v,Ae,C):I&&!I.hasOnce&&(A!==Ne||j>0&&j&64)?$e(I,h,v,!1,!0):(A===Ne&&j&384||!w&&U&16)&&$e($,h,v),C&&ye(d)}(ce&&(ie=N&&N.onVnodeUnmounted)||te)&&Je(()=>{ie&&ft(ie,h,d),te&&Ht(d,null,h,"unmounted")},v)},ye=d=>{const{type:h,el:v,anchor:C,transition:w}=d;if(h===Ne){xe(v,C);return}if(h===Is){S(d);return}const A=()=>{s(v),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(d.shapeFlag&1&&w&&!w.persisted){const{leave:N,delayLeave:L}=w,$=()=>N(v,A);L?L(d.el,A,$):$()}else A()},xe=(d,h)=>{let v;for(;d!==h;)v=p(d),s(d),d=v;s(h)},qe=(d,h,v)=>{const{bum:C,scope:w,job:A,subTree:N,um:L,m:$,a:I,parent:U,slots:{__:j}}=d;Yo($),Yo(I),C&&_s(C),U&&W(j)&&j.forEach(B=>{U.renderCache[B]=void 0}),w.stop(),A&&(A.flags|=8,se(N,d,h,v)),L&&Je(L,h),Je(()=>{d.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},$e=(d,h,v,C=!1,w=!1,A=0)=>{for(let N=A;N<d.length;N++)se(d[N],h,v,C,w)},ve=d=>{if(d.shapeFlag&6)return ve(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),v=h&&h[Zu];return v?p(v):h};let Oe=!1;const et=(d,h,v)=>{d==null?h._vnode&&se(h._vnode,null,null,!0):y(h._vnode||null,d,h,null,null,null,v),h._vnode=d,Oe||(Oe=!0,Vo(),za(),Oe=!1)},Ae={p:y,um:se,m:he,r:ye,mt:X,mc:H,pc:G,pbc:E,n:ve,o:e};return{render:et,hydrate:void 0,createApp:xd(et)}}function Es({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Vt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Id(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function uc(e,t,n=!1){const r=e.children,s=t.children;if(W(r)&&W(s))for(let i=0;i<r.length;i++){const o=r[i];let l=s[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[i]=kt(s[i]),l.el=o.el),!n&&l.patchFlag!==-2&&uc(o,l)),l.type===ss&&(l.el=o.el),l.type===Ve&&!l.el&&(l.el=o.el)}}function kd(e){const t=e.slice(),n=[0];let r,s,i,o,l;const a=e.length;for(r=0;r<a;r++){const f=e[r];if(f!==0){if(s=n[n.length-1],e[s]<f){t[r]=s,n.push(r);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<f?i=l+1:o=l;f<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function dc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:dc(t)}function Yo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Pd=Symbol.for("v-scx"),$d=()=>gn(Pd);function Se(e,t,n){return pc(e,t,n)}function pc(e,t,n=de){const{immediate:r,deep:s,flush:i,once:o}=n,l=Pe({},n),a=t&&r||!t&&i!=="post";let f;if(Zn){if(i==="sync"){const g=$d();f=g.__watcherHandles||(g.__watcherHandles=[])}else if(!a){const g=()=>{};return g.stop=gt,g.resume=gt,g.pause=gt,g}}const c=je;l.call=(g,m,y)=>at(g,c,m,y);let u=!1;i==="post"?l.scheduler=g=>{Je(g,c&&c.suspense)}:i!=="sync"&&(u=!0,l.scheduler=(g,m)=>{m?g():Ji(g)}),l.augmentJob=g=>{t&&(g.flags|=4),u&&(g.flags|=2,c&&(g.id=c.uid,g.i=c))};const p=Ku(e,t,l);return Zn&&(f?f.push(p):a&&p()),p}function Ld(e,t,n){const r=this.proxy,s=Te(e)?e.includes(".")?hc(r,e):()=>r[e]:e.bind(r,r);let i;Y(t)?i=t:(i=t.handler,n=t);const o=or(this),l=pc(s,i.bind(r),n);return o(),l}function hc(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const Rd=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Nt(t)}Modifiers`]||e[`${tn(t)}Modifiers`];function Nd(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||de;let s=n;const i=t.startsWith("update:"),o=i&&Rd(r,t.slice(7));o&&(o.trim&&(s=n.map(c=>Te(c)?c.trim():c)),o.number&&(s=n.map(uu)));let l,a=r[l=Ms(t)]||r[l=Ms(Nt(t))];!a&&i&&(a=r[l=Ms(tn(t))]),a&&at(a,e,6,s);const f=r[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,at(f,e,6,s)}}function gc(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},l=!1;if(!Y(e)){const a=f=>{const c=gc(f,t,!0);c&&(l=!0,Pe(o,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(pe(e)&&r.set(e,null),null):(W(i)?i.forEach(a=>o[a]=null):Pe(o,i),pe(e)&&r.set(e,o),o)}function rs(e,t){return!e||!Gr(t)?!1:(t=t.slice(2).replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,tn(t))||le(e,t))}function Zo(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:l,emit:a,render:f,renderCache:c,props:u,data:p,setupState:g,ctx:m,inheritAttrs:y}=e,M=Lr(e);let b,x;try{if(n.shapeFlag&4){const S=s||r,R=S;b=pt(f.call(R,S,c,u,g,p,m)),x=l}else{const S=t;b=pt(S.length>1?S(u,{attrs:l,slots:o,emit:a}):S(u,null)),x=t.props?l:jd(l)}}catch(S){jn.length=0,es(S,e,1),b=De(Ve)}let _=b;if(x&&y!==!1){const S=Object.keys(x),{shapeFlag:R}=_;S.length&&R&7&&(i&&S.some(Vi)&&(x=Dd(x,i)),_=Dt(_,x,!1,!0))}return n.dirs&&(_=Dt(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&Wn(_,n.transition),b=_,Lr(M),b}const jd=e=>{let t;for(const n in e)(n==="class"||n==="style"||Gr(n))&&((t||(t={}))[n]=e[n]);return t},Dd=(e,t)=>{const n={};for(const r in e)(!Vi(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Fd(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:a}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Jo(r,o,f):!!o;if(a&8){const c=t.dynamicProps;for(let u=0;u<c.length;u++){const p=c[u];if(o[p]!==r[p]&&!rs(f,p))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===o?!1:r?o?Jo(r,o,f):!0:!!o;return!1}function Jo(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const i=r[s];if(t[i]!==e[i]&&!rs(n,i))return!0}return!1}function zd({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const mc=e=>e.__isSuspense;function Hd(e,t){t&&t.pendingBranch?W(e)?t.effects.push(...e):t.effects.push(e):Yu(e)}const Ne=Symbol.for("v-fgt"),ss=Symbol.for("v-txt"),Ve=Symbol.for("v-cmt"),Is=Symbol.for("v-stc"),jn=[];let Qe=null;function me(e=!1){jn.push(Qe=e?null:[])}function Vd(){jn.pop(),Qe=jn[jn.length-1]||null}let Xn=1;function Qo(e,t=!1){Xn+=e,e<0&&Qe&&t&&(Qe.hasOnce=!0)}function bc(e){return e.dynamicChildren=Xn>0?Qe||cn:null,Vd(),Xn>0&&Qe&&Qe.push(e),e}function Ee(e,t,n,r,s,i){return bc(ne(e,t,n,r,s,i,!0))}function Gn(e,t,n,r,s){return bc(De(e,t,n,r,s,!0))}function Yn(e){return e?e.__v_isVNode===!0:!1}function Gt(e,t){return e.type===t.type&&e.key===t.key}const yc=({key:e})=>e??null,wr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Te(e)||ke(e)||Y(e)?{i:Be,r:e,k:t,f:!!n}:e:null);function ne(e,t=null,n=null,r=0,s=null,i=e===Ne?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&yc(t),ref:t&&wr(t),scopeId:Va,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Be};return l?(so(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=Te(n)?8:16),Xn>0&&!o&&Qe&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Qe.push(a),a}const De=Bd;function Bd(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===ud)&&(e=Ve),Yn(e)){const l=Dt(e,t,!0);return n&&so(l,n),Xn>0&&!i&&Qe&&(l.shapeFlag&6?Qe[Qe.indexOf(e)]=l:Qe.push(l)),l.patchFlag=-2,l}if(Zd(e)&&(e=e.__vccOpts),t){t=Ud(t);let{class:l,style:a}=t;l&&!Te(l)&&(t.class=st(l)),pe(a)&&(Zi(a)&&!W(a)&&(a=Pe({},a)),t.style=un(a))}const o=Te(e)?1:mc(e)?128:Ba(e)?64:pe(e)?4:Y(e)?2:0;return ne(e,t,n,r,s,o,i,!0)}function Ud(e){return e?Zi(e)||ic(e)?Pe({},e):e:null}function Dt(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:l,transition:a}=e,f=t?xc(s||{},t):s,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&yc(f),ref:t&&t.ref?n&&i?W(i)?i.concat(wr(t)):[i,wr(t)]:wr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ne?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Dt(e.ssContent),ssFallback:e.ssFallback&&Dt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&Wn(c,a.clone(c)),c}function vc(e=" ",t=0){return De(ss,null,e,t)}function Cn(e="",t=!1){return t?(me(),Gn(Ve,null,e)):De(Ve,null,e)}function pt(e){return e==null||typeof e=="boolean"?De(Ve):W(e)?De(Ne,null,e.slice()):Yn(e)?kt(e):De(ss,null,String(e))}function kt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Dt(e)}function so(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(W(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),so(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!ic(t)?t._ctx=Be:s===3&&Be&&(Be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Y(t)?(t={default:t,_ctx:Be},n=32):(t=String(t),r&64?(n=16,t=[vc(t)]):n=8);e.children=t,e.shapeFlag|=n}function xc(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=st([t.class,r.class]));else if(s==="style")t.style=un([t.style,r.style]);else if(Gr(s)){const i=t[s],o=r[s];o&&i!==o&&!(W(i)&&i.includes(o))&&(t[s]=i?[].concat(i,o):o)}else s!==""&&(t[s]=r[s])}return t}function ft(e,t,n,r=null){at(e,t,7,[n,r])}const qd=tc();let Kd=0;function Wd(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||qd,i={uid:Kd++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new vu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:lc(r,s),emitsOptions:gc(r,s),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:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Nd.bind(null,i),e.ce&&e.ce(i),i}let je=null;const _n=()=>je||Be;let jr,xi;{const e=Jr(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};jr=t("__VUE_INSTANCE_SETTERS__",n=>je=n),xi=t("__VUE_SSR_SETTERS__",n=>Zn=n)}const or=e=>{const t=je;return jr(e),e.scope.on(),()=>{e.scope.off(),jr(t)}},el=()=>{je&&je.scope.off(),jr(null)};function Mc(e){return e.vnode.shapeFlag&4}let Zn=!1;function Xd(e,t=!1,n=!1){t&&xi(t);const{props:r,children:s}=e.vnode,i=Mc(e);_d(e,r,i,t),Od(e,s,n||t);const o=i?Gd(e,t):void 0;return t&&xi(!1),o}function Gd(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,dd);const{setup:r}=n;if(r){_t();const s=e.setupContext=r.length>1?Sc(e):null,i=or(e),o=ir(r,e,0,[e.props,s]),l=da(o);if(St(),i(),(l||e.sp)&&!hn(e)&&Ga(e),l){if(o.then(el,el),t)return o.then(a=>{tl(e,a)}).catch(a=>{es(a,e,0)});e.asyncDep=o}else tl(e,o)}else _c(e)}function tl(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=ja(t)),_c(e)}function _c(e,t,n){const r=e.type;e.render||(e.render=r.render||gt);{const s=or(e);_t();try{hd(e)}finally{St(),s()}}}const Yd={get(e,t){return He(e,"get",""),e[t]}};function Sc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Yd),slots:e.slots,emit:e.emit,expose:t}}function io(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ja(zu(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Nn)return Nn[n](e)},has(t,n){return n in t||n in Nn}})):e.proxy}function Zd(e){return Y(e)&&"__vccOpts"in e}const mt=(e,t)=>Uu(e,t,Zn);function oo(e,t,n){const r=arguments.length;return r===2?pe(t)&&!W(t)?Yn(t)?De(e,null,[t]):De(e,t):De(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Yn(n)&&(n=[n]),De(e,t,n))}const Jd="3.5.14";/**
* @vue/runtime-dom v3.5.14
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Mi;const nl=typeof window<"u"&&window.trustedTypes;if(nl)try{Mi=nl.createPolicy("vue",{createHTML:e=>e})}catch{}const Tc=Mi?e=>Mi.createHTML(e):e=>e,Qd="http://www.w3.org/2000/svg",e0="http://www.w3.org/1998/Math/MathML",vt=typeof document<"u"?document:null,rl=vt&&vt.createElement("template"),t0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?vt.createElementNS(Qd,e):t==="mathml"?vt.createElementNS(e0,e):n?vt.createElement(e,{is:n}):vt.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>vt.createTextNode(e),createComment:e=>vt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{rl.innerHTML=Tc(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=rl.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},At="transition",An="animation",Jn=Symbol("_vtc"),wc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},n0=Pe({},Ua,wc),r0=e=>(e.displayName="Transition",e.props=n0,e),sl=r0((e,{slots:t})=>oo(ed,s0(e),t)),Bt=(e,t=[])=>{W(e)?e.forEach(n=>n(...t)):e&&e(...t)},il=e=>e?W(e)?e.some(t=>t.length>1):e.length>1:!1;function s0(e){const t={};for(const k in e)k in wc||(t[k]=e[k]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=i,appearActiveClass:f=o,appearToClass:c=l,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,m=i0(s),y=m&&m[0],M=m&&m[1],{onBeforeEnter:b,onEnter:x,onEnterCancelled:_,onLeave:S,onLeaveCancelled:R,onBeforeAppear:F=b,onAppear:z=x,onAppearCancelled:H=_}=t,T=(k,V,X,ee)=>{k._enterCancelled=ee,Ut(k,V?c:l),Ut(k,V?f:o),X&&X()},E=(k,V)=>{k._isLeaving=!1,Ut(k,u),Ut(k,g),Ut(k,p),V&&V()},O=k=>(V,X)=>{const ee=k?z:x,Z=()=>T(V,k,X);Bt(ee,[V,Z]),ol(()=>{Ut(V,k?a:i),yt(V,k?c:l),il(ee)||ll(V,r,y,Z)})};return Pe(t,{onBeforeEnter(k){Bt(b,[k]),yt(k,i),yt(k,o)},onBeforeAppear(k){Bt(F,[k]),yt(k,a),yt(k,f)},onEnter:O(!1),onAppear:O(!0),onLeave(k,V){k._isLeaving=!0;const X=()=>E(k,V);yt(k,u),k._enterCancelled?(yt(k,p),fl()):(fl(),yt(k,p)),ol(()=>{k._isLeaving&&(Ut(k,u),yt(k,g),il(S)||ll(k,r,M,X))}),Bt(S,[k,X])},onEnterCancelled(k){T(k,!1,void 0,!0),Bt(_,[k])},onAppearCancelled(k){T(k,!0,void 0,!0),Bt(H,[k])},onLeaveCancelled(k){E(k),Bt(R,[k])}})}function i0(e){if(e==null)return null;if(pe(e))return[ks(e.enter),ks(e.leave)];{const t=ks(e);return[t,t]}}function ks(e){return du(e)}function yt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Jn]||(e[Jn]=new Set)).add(t)}function Ut(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Jn];n&&(n.delete(t),n.size||(e[Jn]=void 0))}function ol(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let o0=0;function ll(e,t,n,r){const s=e._endId=++o0,i=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:a}=l0(e,t);if(!o)return r();const f=o+"end";let c=0;const u=()=>{e.removeEventListener(f,p),i()},p=g=>{g.target===e&&++c>=a&&u()};setTimeout(()=>{c<a&&u()},l+1),e.addEventListener(f,p)}function l0(e,t){const n=window.getComputedStyle(e),r=m=>(n[m]||"").split(", "),s=r(`${At}Delay`),i=r(`${At}Duration`),o=al(s,i),l=r(`${An}Delay`),a=r(`${An}Duration`),f=al(l,a);let c=null,u=0,p=0;t===At?o>0&&(c=At,u=o,p=i.length):t===An?f>0&&(c=An,u=f,p=a.length):(u=Math.max(o,f),c=u>0?o>f?At:An:null,p=c?c===At?i.length:a.length:0);const g=c===At&&/\b(transform|all)(,|$)/.test(r(`${At}Property`).toString());return{type:c,timeout:u,propCount:p,hasTransform:g}}function al(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>cl(n)+cl(e[r])))}function cl(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function fl(){return document.body.offsetHeight}function a0(e,t,n){const r=e[Jn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ul=Symbol("_vod"),c0=Symbol("_vsh"),f0=Symbol(""),u0=/(^|;)\s*display\s*:/;function d0(e,t,n){const r=e.style,s=Te(n);let i=!1;if(n&&!s){if(t)if(Te(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&Or(r,l,"")}else for(const o in t)n[o]==null&&Or(r,o,"");for(const o in n)o==="display"&&(i=!0),Or(r,o,n[o])}else if(s){if(t!==n){const o=r[f0];o&&(n+=";"+o),r.cssText=n,i=u0.test(n)}}else t&&e.removeAttribute("style");ul in e&&(e[ul]=i?r.display:"",e[c0]&&(r.display="none"))}const dl=/\s*!important$/;function Or(e,t,n){if(W(n))n.forEach(r=>Or(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=p0(e,t);dl.test(n)?e.setProperty(tn(r),n.replace(dl,""),"important"):e[r]=n}}const pl=["Webkit","Moz","ms"],Ps={};function p0(e,t){const n=Ps[t];if(n)return n;let r=Nt(t);if(r!=="filter"&&r in e)return Ps[t]=r;r=ga(r);for(let s=0;s<pl.length;s++){const i=pl[s]+r;if(i in e)return Ps[t]=i}return t}const hl="http://www.w3.org/1999/xlink";function gl(e,t,n,r,s,i=yu(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(hl,t.slice(6,t.length)):e.setAttributeNS(hl,t,n):n==null||i&&!ba(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Tt(n)?String(n):n)}function ml(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Tc(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=ba(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(s||t)}function h0(e,t,n,r){e.addEventListener(t,n,r)}function g0(e,t,n,r){e.removeEventListener(t,n,r)}const bl=Symbol("_vei");function m0(e,t,n,r,s=null){const i=e[bl]||(e[bl]={}),o=i[t];if(r&&o)o.value=r;else{const[l,a]=b0(t);if(r){const f=i[t]=x0(r,s);h0(e,l,f,a)}else o&&(g0(e,l,o,a),i[t]=void 0)}}const yl=/(?:Once|Passive|Capture)$/;function b0(e){let t;if(yl.test(e)){t={};let r;for(;r=e.match(yl);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):tn(e.slice(2)),t]}let $s=0;const y0=Promise.resolve(),v0=()=>$s||(y0.then(()=>$s=0),$s=Date.now());function x0(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;at(M0(r,n.value),t,5,[r])};return n.value=e,n.attached=v0(),n}function M0(e,t){if(W(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const vl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_0=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?a0(e,r,o):t==="style"?d0(e,n,r):Gr(t)?Vi(t)||m0(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):S0(e,t,r,o))?(ml(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&gl(e,t,r,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Te(r))?ml(e,Nt(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),gl(e,t,r,o))};function S0(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&vl(t)&&Y(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return vl(t)&&Te(n)?!1:t in e}const T0=Pe({patchProp:_0},t0);let xl;function w0(){return xl||(xl=Ad(T0))}const O0=(...e)=>{const t=w0().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=A0(r);if(!s)return;const i=t._component;!Y(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,C0(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function C0(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function A0(e){return Te(e)?document.querySelector(e):e}function Oc(e){return xa()?(xu(e),!0):!1}const mn=new WeakMap,E0=(...e)=>{var t;const n=e[0],r=(t=_n())==null?void 0:t.proxy;if(r==null&&!Md())throw new Error("injectLocal must be called in setup");return r&&mn.has(r)&&n in mn.get(r)?mn.get(r)[n]:gn(...e)};function I0(e,t){var n;const r=(n=_n())==null?void 0:n.proxy;if(r==null)throw new Error("provideLocal must be called in setup");mn.has(r)||mn.set(r,Object.create(null));const s=mn.get(r);return s[e]=t,nc(e,t)}function k0(e,t){const n=Symbol(e.name||"InjectionState"),r=void 0;return[(...o)=>{const l=e(...o);return I0(n,l),l},()=>E0(n,r)]}const P0=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const $0=e=>e!=null,L0=Object.prototype.toString,Dr=e=>L0.call(e)==="[object Object]",Ls=()=>{};function Cr(e){return Array.isArray(e)?e:[e]}function R0(e){return _n()}function N0(e,t){R0()&&eo(e,t)}function j0(e,t,n){return Se(e,t,{...n,immediate:!0})}const Cc=P0?window:void 0;function Dn(e){var t;const n=Rn(e);return(t=n==null?void 0:n.$el)!=null?t:n}function ut(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},r=(l,a,f,c)=>(l.addEventListener(a,f,c),()=>l.removeEventListener(a,f,c)),s=mt(()=>{const l=Cr(Rn(e[0])).filter(a=>a!=null);return l.every(a=>typeof a!="string")?l:void 0}),i=j0(()=>{var l,a;return[(a=(l=s.value)==null?void 0:l.map(f=>Dn(f)))!=null?a:[Cc].filter(f=>f!=null),Cr(Rn(s.value?e[1]:e[0])),Cr(_e(s.value?e[2]:e[1])),Rn(s.value?e[3]:e[2])]},([l,a,f,c])=>{if(n(),!(l!=null&&l.length)||!(a!=null&&a.length)||!(f!=null&&f.length))return;const u=Dr(c)?{...c}:c;t.push(...l.flatMap(p=>a.flatMap(g=>f.map(m=>r(p,g,m,u)))))},{flush:"post"}),o=()=>{i(),n()};return Oc(n),o}function D0(){const e=kr(!1),t=_n();return t&&Mn(()=>{e.value=!0},t),e}function F0(e){const t=D0();return mt(()=>(t.value,!!e()))}function z0(e,t,n={}){const{root:r,rootMargin:s="0px",threshold:i=0,window:o=Cc,immediate:l=!0}=n,a=F0(()=>o&&"IntersectionObserver"in o),f=mt(()=>{const m=Rn(e);return Cr(m).map(Dn).filter($0)});let c=Ls;const u=kr(l),p=a.value?Se(()=>[f.value,Dn(r),u.value],([m,y])=>{if(c(),!u.value||!m.length)return;const M=new IntersectionObserver(t,{root:Dn(y),rootMargin:s,threshold:i});m.forEach(b=>b&&M.observe(b)),c=()=>{M.disconnect(),c=Ls}},{immediate:l,flush:"post"}):Ls,g=()=>{c(),p(),u.value=!1};return Oc(g),{isSupported:a,isActive:u,pause(){c(),u.value=!1},resume(){u.value=!0},stop:g}}const Ac=1/60*1e3,H0=typeof performance<"u"?()=>performance.now():()=>Date.now(),Ec=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(H0()),Ac);function V0(e){let t=[],n=[],r=0,s=!1,i=!1;const o=new WeakSet,l={schedule:(a,f=!1,c=!1)=>{const u=c&&s,p=u?t:n;return f&&o.add(a),p.indexOf(a)===-1&&(p.push(a),u&&s&&(r=t.length)),a},cancel:a=>{const f=n.indexOf(a);f!==-1&&n.splice(f,1),o.delete(a)},process:a=>{if(s){i=!0;return}if(s=!0,[t,n]=[n,t],n.length=0,r=t.length,r)for(let f=0;f<r;f++){const c=t[f];c(a),o.has(c)&&(l.schedule(c),e())}s=!1,i&&(i=!1,l.process(a))}};return l}const B0=40;let _i=!0,Qn=!1,Si=!1;const bn={delta:0,timestamp:0},lr=["read","update","preRender","render","postRender"],is=lr.reduce((e,t)=>(e[t]=V0(()=>Qn=!0),e),{}),Ti=lr.reduce((e,t)=>{const n=is[t];return e[t]=(r,s=!1,i=!1)=>(Qn||K0(),n.schedule(r,s,i)),e},{}),U0=lr.reduce((e,t)=>(e[t]=is[t].cancel,e),{});lr.reduce((e,t)=>(e[t]=()=>is[t].process(bn),e),{});const q0=e=>is[e].process(bn),Ic=e=>{Qn=!1,bn.delta=_i?Ac:Math.max(Math.min(e-bn.timestamp,B0),1),bn.timestamp=e,Si=!0,lr.forEach(q0),Si=!1,Qn&&(_i=!1,Ec(Ic))},K0=()=>{Qn=!0,_i=!0,Si||Ec(Ic)},kc=()=>bn;function Pc(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]]);return n}var Ml=function(){};const wi=(e,t,n)=>Math.min(Math.max(n,e),t),_l=.001,W0=.01,X0=10,G0=.05,Y0=1;function Z0({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let s,i,o=1-t;o=wi(G0,Y0,o),e=wi(W0,X0,e/1e3),o<1?(s=f=>{const c=f*o,u=c*e,p=c-n,g=Oi(f,o),m=Math.exp(-u);return _l-p/g*m},i=f=>{const u=f*o*e,p=u*n+n,g=Math.pow(o,2)*Math.pow(f,2)*e,m=Math.exp(-u),y=Oi(Math.pow(f,2),o);return(-s(f)+_l>0?-1:1)*((p-g)*m)/y}):(s=f=>{const c=Math.exp(-f*e),u=(f-n)*e+1;return-.001+c*u},i=f=>{const c=Math.exp(-f*e),u=(n-f)*(e*e);return c*u});const l=5/e,a=Q0(s,i,l);if(e=e*1e3,isNaN(a))return{stiffness:100,damping:10,duration:e};{const f=Math.pow(a,2)*r;return{stiffness:f,damping:o*2*Math.sqrt(r*f),duration:e}}}const J0=12;function Q0(e,t,n){let r=n;for(let s=1;s<J0;s++)r=r-e(r)/t(r);return r}function Oi(e,t){return e*Math.sqrt(1-t*t)}const ep=["duration","bounce"],tp=["stiffness","damping","mass"];function Sl(e,t){return t.some(n=>e[n]!==void 0)}function np(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!Sl(e,tp)&&Sl(e,ep)){const n=Z0(e);t=Object.assign(Object.assign(Object.assign({},t),n),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function lo(e){var{from:t=0,to:n=1,restSpeed:r=2,restDelta:s}=e,i=Pc(e,["from","to","restSpeed","restDelta"]);const o={done:!1,value:t};let{stiffness:l,damping:a,mass:f,velocity:c,duration:u,isResolvedFromDuration:p}=np(i),g=Tl,m=Tl;function y(){const M=c?-(c/1e3):0,b=n-t,x=a/(2*Math.sqrt(l*f)),_=Math.sqrt(l/f)/1e3;if(s===void 0&&(s=Math.min(Math.abs(n-t)/100,.4)),x<1){const S=Oi(_,x);g=R=>{const F=Math.exp(-x*_*R);return n-F*((M+x*_*b)/S*Math.sin(S*R)+b*Math.cos(S*R))},m=R=>{const F=Math.exp(-x*_*R);return x*_*F*(Math.sin(S*R)*(M+x*_*b)/S+b*Math.cos(S*R))-F*(Math.cos(S*R)*(M+x*_*b)-S*b*Math.sin(S*R))}}else if(x===1)g=S=>n-Math.exp(-_*S)*(b+(M+_*b)*S);else{const S=_*Math.sqrt(x*x-1);g=R=>{const F=Math.exp(-x*_*R),z=Math.min(S*R,300);return n-F*((M+x*_*b)*Math.sinh(z)+S*b*Math.cosh(z))/S}}}return y(),{next:M=>{const b=g(M);if(p)o.done=M>=u;else{const x=m(M)*1e3,_=Math.abs(x)<=r,S=Math.abs(n-b)<=s;o.done=_&&S}return o.value=o.done?n:b,o},flipTarget:()=>{c=-c,[t,n]=[n,t],y()}}}lo.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const Tl=e=>0,$c=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},ao=(e,t,n)=>-n*e+n*t+e,Lc=(e,t)=>n=>Math.max(Math.min(n,t),e),Fn=e=>e%1?Number(e.toFixed(5)):e,er=/(-)?([\d]*\.?[\d])+/g,Ci=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,rp=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function ar(e){return typeof e=="string"}const cr={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},zn=Object.assign(Object.assign({},cr),{transform:Lc(0,1)}),Mr=Object.assign(Object.assign({},cr),{default:1}),co=e=>({test:t=>ar(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),qt=co("deg"),Hn=co("%"),Q=co("px"),wl=Object.assign(Object.assign({},Hn),{parse:e=>Hn.parse(e)/100,transform:e=>Hn.transform(e*100)}),fo=(e,t)=>n=>!!(ar(n)&&rp.test(n)&&n.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(n,t)),Rc=(e,t,n)=>r=>{if(!ar(r))return r;const[s,i,o,l]=r.match(er);return{[e]:parseFloat(s),[t]:parseFloat(i),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},Yt={test:fo("hsl","hue"),parse:Rc("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Hn.transform(Fn(t))+", "+Hn.transform(Fn(n))+", "+Fn(zn.transform(r))+")"},sp=Lc(0,255),Rs=Object.assign(Object.assign({},cr),{transform:e=>Math.round(sp(e))}),$t={test:fo("rgb","red"),parse:Rc("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Rs.transform(e)+", "+Rs.transform(t)+", "+Rs.transform(n)+", "+Fn(zn.transform(r))+")"};function ip(e){let t="",n="",r="",s="";return e.length>5?(t=e.substr(1,2),n=e.substr(3,2),r=e.substr(5,2),s=e.substr(7,2)):(t=e.substr(1,1),n=e.substr(2,1),r=e.substr(3,1),s=e.substr(4,1),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const Ai={test:fo("#"),parse:ip,transform:$t.transform},Ze={test:e=>$t.test(e)||Ai.test(e)||Yt.test(e),parse:e=>$t.test(e)?$t.parse(e):Yt.test(e)?Yt.parse(e):Ai.parse(e),transform:e=>ar(e)?e:e.hasOwnProperty("red")?$t.transform(e):Yt.transform(e)},Nc="${c}",jc="${n}";function op(e){var t,n,r,s;return isNaN(e)&&ar(e)&&((n=(t=e.match(er))===null||t===void 0?void 0:t.length)!==null&&n!==void 0?n:0)+((s=(r=e.match(Ci))===null||r===void 0?void 0:r.length)!==null&&s!==void 0?s:0)>0}function Dc(e){typeof e=="number"&&(e=`${e}`);const t=[];let n=0;const r=e.match(Ci);r&&(n=r.length,e=e.replace(Ci,Nc),t.push(...r.map(Ze.parse)));const s=e.match(er);return s&&(e=e.replace(er,jc),t.push(...s.map(cr.parse))),{values:t,numColors:n,tokenised:e}}function Fc(e){return Dc(e).values}function zc(e){const{values:t,numColors:n,tokenised:r}=Dc(e),s=t.length;return i=>{let o=r;for(let l=0;l<s;l++)o=o.replace(l<n?Nc:jc,l<n?Ze.transform(i[l]):Fn(i[l]));return o}}const lp=e=>typeof e=="number"?0:e;function ap(e){const t=Fc(e);return zc(e)(t.map(lp))}const fr={test:op,parse:Fc,createTransformer:zc,getAnimatableNone:ap},cp=new Set(["brightness","contrast","saturate","opacity"]);function fp(e){let[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(er)||[];if(!r)return e;const s=n.replace(r,"");let i=cp.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+s+")"}const up=/([a-z-]*)\(.*?\)/g,Ei=Object.assign(Object.assign({},fr),{getAnimatableNone:e=>{const t=e.match(up);return t?t.map(fp).join(" "):e}});function Ns(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Ol({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,i=0,o=0;if(!t)s=i=o=n;else{const l=n<.5?n*(1+t):n+t-n*t,a=2*n-l;s=Ns(a,l,e+1/3),i=Ns(a,l,e),o=Ns(a,l,e-1/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}const dp=(e,t,n)=>{const r=e*e,s=t*t;return Math.sqrt(Math.max(0,n*(s-r)+r))},pp=[Ai,$t,Yt],Cl=e=>pp.find(t=>t.test(e)),Hc=(e,t)=>{let n=Cl(e),r=Cl(t),s=n.parse(e),i=r.parse(t);n===Yt&&(s=Ol(s),n=$t),r===Yt&&(i=Ol(i),r=$t);const o=Object.assign({},s);return l=>{for(const a in o)a!=="alpha"&&(o[a]=dp(s[a],i[a],l));return o.alpha=ao(s.alpha,i.alpha,l),n.transform(o)}},hp=e=>typeof e=="number",gp=(e,t)=>n=>t(e(n)),Vc=(...e)=>e.reduce(gp);function Bc(e,t){return hp(e)?n=>ao(e,t,n):Ze.test(e)?Hc(e,t):qc(e,t)}const Uc=(e,t)=>{const n=[...e],r=n.length,s=e.map((i,o)=>Bc(i,t[o]));return i=>{for(let o=0;o<r;o++)n[o]=s[o](i);return n}},mp=(e,t)=>{const n=Object.assign(Object.assign({},e),t),r={};for(const s in n)e[s]!==void 0&&t[s]!==void 0&&(r[s]=Bc(e[s],t[s]));return s=>{for(const i in r)n[i]=r[i](s);return n}};function Al(e){const t=fr.parse(e),n=t.length;let r=0,s=0,i=0;for(let o=0;o<n;o++)r||typeof t[o]=="number"?r++:t[o].hue!==void 0?i++:s++;return{parsed:t,numNumbers:r,numRGB:s,numHSL:i}}const qc=(e,t)=>{const n=fr.createTransformer(t),r=Al(e),s=Al(t);return r.numHSL===s.numHSL&&r.numRGB===s.numRGB&&r.numNumbers>=s.numNumbers?Vc(Uc(r.parsed,s.parsed),n):o=>`${o>0?t:e}`},bp=(e,t)=>n=>ao(e,t,n);function yp(e){if(typeof e=="number")return bp;if(typeof e=="string")return Ze.test(e)?Hc:qc;if(Array.isArray(e))return Uc;if(typeof e=="object")return mp}function vp(e,t,n){const r=[],s=n||yp(e[0]),i=e.length-1;for(let o=0;o<i;o++){let l=s(e[o],e[o+1]);if(t){const a=Array.isArray(t)?t[o]:t;l=Vc(a,l)}r.push(l)}return r}function xp([e,t],[n]){return r=>n($c(e,t,r))}function Mp(e,t){const n=e.length,r=n-1;return s=>{let i=0,o=!1;if(s<=e[0]?o=!0:s>=e[r]&&(i=r-1,o=!0),!o){let a=1;for(;a<n&&!(e[a]>s||a===r);a++);i=a-1}const l=$c(e[i],e[i+1],s);return t[i](l)}}function Kc(e,t,{clamp:n=!0,ease:r,mixer:s}={}){const i=e.length;Ml(i===t.length),Ml(!r||!Array.isArray(r)||r.length===i-1),e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const o=vp(t,r,s),l=i===2?xp(e,o):Mp(e,o);return n?a=>l(wi(e[0],e[i-1],a)):l}const os=e=>t=>1-e(1-t),uo=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,_p=e=>t=>Math.pow(t,e),Wc=e=>t=>t*t*((e+1)*t-e),Sp=e=>{const t=Wc(e);return n=>(n*=2)<1?.5*t(n):.5*(2-Math.pow(2,-10*(n-1)))},Xc=1.525,Tp=4/11,wp=8/11,Op=9/10,Gc=e=>e,po=_p(2),Cp=os(po),Yc=uo(po),Zc=e=>1-Math.sin(Math.acos(e)),Jc=os(Zc),Ap=uo(Jc),ho=Wc(Xc),Ep=os(ho),Ip=uo(ho),kp=Sp(Xc),Pp=4356/361,$p=35442/1805,Lp=16061/1805,Fr=e=>{if(e===1||e===0)return e;const t=e*e;return e<Tp?7.5625*t:e<wp?9.075*t-9.9*e+3.4:e<Op?Pp*t-$p*e+Lp:10.8*e*e-20.52*e+10.72},Rp=os(Fr),Np=e=>e<.5?.5*(1-Fr(1-e*2)):.5*Fr(e*2-1)+.5;function jp(e,t){return e.map(()=>t||Yc).splice(0,e.length-1)}function Dp(e){const t=e.length;return e.map((n,r)=>r!==0?r/(t-1):0)}function Fp(e,t){return e.map(n=>n*t)}function Ar({from:e=0,to:t=1,ease:n,offset:r,duration:s=300}){const i={done:!1,value:e},o=Array.isArray(t)?t:[e,t],l=Fp(r&&r.length===o.length?r:Dp(o),s);function a(){return Kc(l,o,{ease:Array.isArray(n)?n:jp(o,n)})}let f=a();return{next:c=>(i.value=f(c),i.done=c>=s,i),flipTarget:()=>{o.reverse(),f=a()}}}function zp({velocity:e=0,from:t=0,power:n=.8,timeConstant:r=350,restDelta:s=.5,modifyTarget:i}){const o={done:!1,value:t};let l=n*e;const a=t+l,f=i===void 0?a:i(a);return f!==a&&(l=f-t),{next:c=>{const u=-l*Math.exp(-c/r);return o.done=!(u>s||u<-s),o.value=o.done?f:f+u,o},flipTarget:()=>{}}}const El={keyframes:Ar,spring:lo,decay:zp};function Hp(e){if(Array.isArray(e.to))return Ar;if(El[e.type])return El[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Ar:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?lo:Ar}function Qc(e,t,n=0){return e-t-n}function Vp(e,t,n=0,r=!0){return r?Qc(t+-e,t,n):t-(e-t)+n}function Bp(e,t,n,r){return r?e>=t+n:e<=-n}const Up=e=>{const t=({delta:n})=>e(n);return{start:()=>Ti.update(t,!0),stop:()=>U0.update(t)}};function ef(e){var t,n,{from:r,autoplay:s=!0,driver:i=Up,elapsed:o=0,repeat:l=0,repeatType:a="loop",repeatDelay:f=0,onPlay:c,onStop:u,onComplete:p,onRepeat:g,onUpdate:m}=e,y=Pc(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:M}=y,b,x=0,_=y.duration,S,R=!1,F=!0,z;const H=Hp(y);!((n=(t=H).needsInterpolation)===null||n===void 0)&&n.call(t,r,M)&&(z=Kc([0,100],[r,M],{clamp:!1}),r=0,M=100);const T=H(Object.assign(Object.assign({},y),{from:r,to:M}));function E(){x++,a==="reverse"?(F=x%2===0,o=Vp(o,_,f,F)):(o=Qc(o,_,f),a==="mirror"&&T.flipTarget()),R=!1,g&&g()}function O(){b.stop(),p&&p()}function k(X){if(F||(X=-X),o+=X,!R){const ee=T.next(Math.max(0,o));S=ee.value,z&&(S=z(S)),R=F?ee.done:o<=0}m==null||m(S),R&&(x===0&&(_??(_=o)),x<l?Bp(o,_,f,F)&&E():O())}function V(){c==null||c(),b=i(k),b.start()}return s&&V(),{stop:()=>{u==null||u(),b.stop()}}}function tf(e,t){return t?e*(1e3/t):0}function qp({from:e=0,velocity:t=0,min:n,max:r,power:s=.8,timeConstant:i=750,bounceStiffness:o=500,bounceDamping:l=10,restDelta:a=1,modifyTarget:f,driver:c,onUpdate:u,onComplete:p,onStop:g}){let m;function y(_){return n!==void 0&&_<n||r!==void 0&&_>r}function M(_){return n===void 0?r:r===void 0||Math.abs(n-_)<Math.abs(r-_)?n:r}function b(_){m==null||m.stop(),m=ef(Object.assign(Object.assign({},_),{driver:c,onUpdate:S=>{var R;u==null||u(S),(R=_.onUpdate)===null||R===void 0||R.call(_,S)},onComplete:p,onStop:g}))}function x(_){b(Object.assign({type:"spring",stiffness:o,damping:l,restDelta:a},_))}if(y(e))x({from:e,velocity:t,to:M(e)});else{let _=s*t+e;typeof f<"u"&&(_=f(_));const S=M(_),R=S===n?-1:1;let F,z;const H=T=>{F=z,z=T,t=tf(T-F,kc().delta),(R===1&&T>S||R===-1&&T<S)&&x({from:T,to:S,velocity:t})};b({type:"decay",from:e,velocity:t,timeConstant:i,power:s,restDelta:a,modifyTarget:f,onUpdate:y(_)?H:void 0})}return{stop:()=>m==null?void 0:m.stop()}}const nf=(e,t)=>1-3*t+3*e,rf=(e,t)=>3*t-6*e,sf=e=>3*e,zr=(e,t,n)=>((nf(t,n)*e+rf(t,n))*e+sf(t))*e,of=(e,t,n)=>3*nf(t,n)*e*e+2*rf(t,n)*e+sf(t),Kp=1e-7,Wp=10;function Xp(e,t,n,r,s){let i,o,l=0;do o=t+(n-t)/2,i=zr(o,r,s)-e,i>0?n=o:t=o;while(Math.abs(i)>Kp&&++l<Wp);return o}const Gp=8,Yp=.001;function Zp(e,t,n,r){for(let s=0;s<Gp;++s){const i=of(t,n,r);if(i===0)return t;const o=zr(t,n,r)-e;t-=o/i}return t}const Er=11,_r=1/(Er-1);function Jp(e,t,n,r){if(e===t&&n===r)return Gc;const s=new Float32Array(Er);for(let o=0;o<Er;++o)s[o]=zr(o*_r,e,n);function i(o){let l=0,a=1;const f=Er-1;for(;a!==f&&s[a]<=o;++a)l+=_r;--a;const c=(o-s[a])/(s[a+1]-s[a]),u=l+c*_r,p=of(u,e,n);return p>=Yp?Zp(o,u,e,n):p===0?u:Xp(o,l,l+_r,e,n)}return o=>o===0||o===1?o:zr(i(o),t,r)}const Mt={},js={};class Qp{constructor(){nt(this,"subscriptions",new Set)}add(t){return this.subscriptions.add(t),()=>this.subscriptions.delete(t)}notify(t,n,r){if(this.subscriptions.size)for(const s of this.subscriptions)s(t,n,r)}clear(){this.subscriptions.clear()}}function Il(e){return!Number.isNaN(Number.parseFloat(e))}class eh{constructor(t){nt(this,"current");nt(this,"prev");nt(this,"timeDelta",0);nt(this,"lastUpdated",0);nt(this,"updateSubscribers",new Qp);nt(this,"stopAnimation");nt(this,"canTrackVelocity",!1);nt(this,"updateAndNotify",t=>{this.prev=this.current,this.current=t;const{delta:n,timestamp:r}=kc();this.lastUpdated!==r&&(this.timeDelta=n,this.lastUpdated=r),Ti.postRender(this.scheduleVelocityCheck),this.updateSubscribers.notify(this.current)});nt(this,"scheduleVelocityCheck",()=>Ti.postRender(this.velocityCheck));nt(this,"velocityCheck",({timestamp:t})=>{this.canTrackVelocity||(this.canTrackVelocity=Il(this.current)),t!==this.lastUpdated&&(this.prev=this.current)});this.prev=this.current=t,this.canTrackVelocity=Il(this.current)}onChange(t){return this.updateSubscribers.add(t)}clearListeners(){this.updateSubscribers.clear()}set(t){this.updateAndNotify(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?tf(Number.parseFloat(this.current)-Number.parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(n=>{const{stop:r}=t(n);this.stopAnimation=r}).then(()=>this.clearAnimation())}stop(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()}isAnimating(){return!!this.stopAnimation}clearAnimation(){this.stopAnimation=null}destroy(){this.updateSubscribers.clear(),this.stop()}}function th(e){return new eh(e)}const{isArray:nh}=Array;function rh(){const e=oe({}),t=r=>{const s=i=>{e.value[i]&&(e.value[i].stop(),e.value[i].destroy(),delete e.value[i])};r?nh(r)?r.forEach(s):s(r):Object.keys(e.value).forEach(s)},n=(r,s,i)=>{if(e.value[r])return e.value[r];const o=th(s);return o.onChange(l=>i[r]=l),e.value[r]=o,o};return N0(t),{motionValues:e,get:n,stop:t}}function sh(e){return Array.isArray(e)}function Kt(){return{type:"spring",stiffness:500,damping:25,restDelta:.5,restSpeed:10}}function Ds(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restDelta:.01,restSpeed:10}}function ih(e){return{type:"spring",stiffness:550,damping:e===0?100:30,restDelta:.01,restSpeed:10}}function Fs(){return{type:"keyframes",ease:"linear",duration:300}}function oh(e){return{type:"keyframes",duration:800,values:e}}const kl={default:ih,x:Kt,y:Kt,z:Kt,rotate:Kt,rotateX:Kt,rotateY:Kt,rotateZ:Kt,scaleX:Ds,scaleY:Ds,scale:Ds,backgroundColor:Fs,color:Fs,opacity:Fs};function lf(e,t){let n;return sh(t)?n=oh:n=kl[e]||kl.default,{to:t,...n(t)}}const Pl={...cr,transform:Math.round},af={color:Ze,backgroundColor:Ze,outlineColor:Ze,fill:Ze,stroke:Ze,borderColor:Ze,borderTopColor:Ze,borderRightColor:Ze,borderBottomColor:Ze,borderLeftColor:Ze,borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,radius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,size:Q,top:Q,right:Q,bottom:Q,left:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,rotate:qt,rotateX:qt,rotateY:qt,rotateZ:qt,scale:Mr,scaleX:Mr,scaleY:Mr,scaleZ:Mr,skew:qt,skewX:qt,skewY:qt,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:zn,originX:wl,originY:wl,originZ:Q,zIndex:Pl,filter:Ei,WebkitFilter:Ei,fillOpacity:zn,strokeOpacity:zn,numOctaves:Pl},go=e=>af[e];function Ii(e,t){return t&&typeof e=="number"&&t.transform?t.transform(e):e}function lh(e,t){let n=go(e);return n!==Ei&&(n=fr),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const ah={linear:Gc,easeIn:po,easeInOut:Yc,easeOut:Cp,circIn:Zc,circInOut:Ap,circOut:Jc,backIn:ho,backInOut:Ip,backOut:Ep,anticipate:kp,bounceIn:Rp,bounceInOut:Np,bounceOut:Fr};function $l(e){if(Array.isArray(e)){const[t,n,r,s]=e;return Jp(t,n,r,s)}else if(typeof e=="string")return ah[e];return e}function ch(e){return Array.isArray(e)&&typeof e[0]!="number"}function Ll(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&fr.test(t)&&!t.startsWith("url("))}function fh(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=[...e.to],e.to[0]=e.from),e}function uh({ease:e,times:t,delay:n,...r}){const s={...r};return t&&(s.offset=t),e&&(s.ease=ch(e)?e.map($l):$l(e)),n&&(s.elapsed=-n),s}function dh(e,t,n){return Array.isArray(t.to)&&(e.duration||(e.duration=800)),fh(t),ph(e)||(e={...e,...lf(n,t.to)}),{...t,...uh(e)}}function ph({delay:e,repeat:t,repeatType:n,repeatDelay:r,from:s,...i}){return!!Object.keys(i).length}function hh(e,t){return e[t]||e.default||e}function gh(e,t,n,r,s){const i=hh(r,e);let o=i.from===null||i.from===void 0?t.get():i.from;const l=Ll(e,n);o==="none"&&l&&typeof n=="string"&&(o=lh(e,n));const a=Ll(e,o);function f(u){const p={from:o,to:n,velocity:r.velocity?r.velocity:t.getVelocity(),onUpdate:g=>t.set(g)};return i.type==="inertia"||i.type==="decay"?qp({...p,...i}):ef({...dh(i,p,e),onUpdate:g=>{p.onUpdate(g),i.onUpdate&&i.onUpdate(g)},onComplete:()=>{s&&s(),u&&u()}})}function c(u){return t.set(n),s&&s(),u&&u(),{stop:()=>{}}}return!a||!l||i.type===!1?c:f}function mh(){const{motionValues:e,stop:t,get:n}=rh();return{motionValues:e,stop:t,push:(s,i,o,l={},a)=>{const f=o[s],c=n(s,f,o);if(l&&l.immediate){c.set(i);return}const u=gh(s,c,i,l,a);c.start(u)}}}function bh(e,t={},{motionValues:n,push:r,stop:s}=mh()){const i=_e(t),o=oe(!1);Se(n,u=>{o.value=Object.values(u).filter(p=>p.isAnimating()).length>0},{immediate:!0,deep:!0});const l=u=>{if(!i||!i[u])throw new Error(`The variant ${u} does not exist.`);return i[u]},a=u=>{typeof u=="string"&&(u=l(u));const p=Object.entries(u).map(([m,y])=>{if(m!=="transition")return new Promise(M=>r(m,y,e,u.transition||lf(m,u[m]),M))}).filter(Boolean);async function g(){var m,y;await Promise.all(p),(y=(m=u.transition)==null?void 0:m.onComplete)==null||y.call(m)}return Promise.all([g()])};return{isAnimating:o,apply:a,set:u=>{const p=Dr(u)?u:l(u);Object.entries(p).forEach(([g,m])=>{g!=="transition"&&r(g,m,e,{immediate:!0})})},leave:async u=>{let p;if(i&&(i.leave&&(p=i.leave),!i.leave&&i.initial&&(p=i.initial)),!p){u();return}await a(p),u()},stop:s}}const mo=typeof window<"u",yh=()=>mo&&(window.onpointerdown===null||(Mt==null?void 0:Mt.TEST)),vh=()=>mo&&(window.ontouchstart===null||(Mt==null?void 0:Mt.TEST)),xh=()=>mo&&(window.onmousedown===null||(Mt==null?void 0:Mt.TEST));function Mh({target:e,state:t,variants:n,apply:r}){const s=_e(n),i=oe(!1),o=oe(!1),l=oe(!1),a=mt(()=>{let c=[...Object.keys(t.value||{})];return s&&(s.hovered&&(c=[...c,...Object.keys(s.hovered)]),s.tapped&&(c=[...c,...Object.keys(s.tapped)]),s.focused&&(c=[...c,...Object.keys(s.focused)])),c}),f=mt(()=>{const c={};Object.assign(c,t.value),i.value&&s.hovered&&Object.assign(c,s.hovered),o.value&&s.tapped&&Object.assign(c,s.tapped),l.value&&s.focused&&Object.assign(c,s.focused);for(const u in c)a.value.includes(u)||delete c[u];return c});s.hovered&&(ut(e,"mouseenter",()=>i.value=!0),ut(e,"mouseleave",()=>{i.value=!1,o.value=!1})),s.tapped&&(xh()&&(ut(e,"mousedown",()=>o.value=!0),ut(e,"mouseup",()=>o.value=!1)),yh()&&(ut(e,"pointerdown",()=>o.value=!0),ut(e,"pointerup",()=>o.value=!1)),vh()&&(ut(e,"touchstart",()=>o.value=!0),ut(e,"touchend",()=>o.value=!1))),s.focused&&(ut(e,"focus",()=>l.value=!0),ut(e,"blur",()=>l.value=!1)),Se([i,o,l],()=>{r(f.value)})}function _h({set:e,target:t,variants:n,variant:r}){const s=_e(n);Se(()=>t,()=>{s&&(s.initial&&(e("initial"),r.value="initial"),s.enter&&(r.value="enter"))},{immediate:!0,flush:"pre"})}function Sh({state:e,apply:t}){Se(e,n=>{n&&t(n)},{immediate:!0})}function cf({target:e,variants:t,variant:n}){const r=_e(t);r&&(r.visible||r.visibleOnce)&&z0(e,([{isIntersecting:s}])=>{r.visible?s?n.value="visible":n.value="initial":r.visibleOnce&&(s&&n.value!=="visibleOnce"?n.value="visibleOnce":n.value||(n.value="initial"))})}function Th(e,t={syncVariants:!0,lifeCycleHooks:!0,visibilityHooks:!0,eventListeners:!0}){t.lifeCycleHooks&&_h(e),t.syncVariants&&Sh(e),t.visibilityHooks&&cf(e),t.eventListeners&&Mh(e)}function ff(e={}){const t=nn({...e}),n=oe({});return Se(t,()=>{const r={};for(const[s,i]of Object.entries(t)){const o=go(s),l=Ii(i,o);r[s]=l}n.value=r},{immediate:!0,deep:!0}),{state:t,style:n}}function bo(e,t){Se(()=>Dn(e),n=>{n&&t(n)},{immediate:!0})}const wh={x:"translateX",y:"translateY",z:"translateZ"};function uf(e={},t=!0){const n=nn({...e}),r=oe("");return Se(n,s=>{let i="",o=!1;if(t&&(s.x||s.y||s.z)){const l=[s.x||0,s.y||0,s.z||0].map(a=>Ii(a,Q)).join(",");i+=`translate3d(${l}) `,o=!0}for(const[l,a]of Object.entries(s)){if(t&&(l==="x"||l==="y"||l==="z"))continue;const f=go(l),c=Ii(a,f);i+=`${wh[l]||l}(${c}) `}t&&!o&&(i+="translateZ(0px) "),r.value=i.trim()},{immediate:!0,deep:!0}),{state:n,transform:r}}const Oh=["","X","Y","Z"],Ch=["perspective","translate","scale","rotate","skew"],df=["transformPerspective","x","y","z"];Ch.forEach(e=>{Oh.forEach(t=>{const n=e+t;df.push(n)})});const Ah=new Set(df);function yo(e){return Ah.has(e)}const Eh=new Set(["originX","originY","originZ"]);function pf(e){return Eh.has(e)}function Ih(e){const t={},n={};return Object.entries(e).forEach(([r,s])=>{yo(r)||pf(r)?t[r]=s:n[r]=s}),{transform:t,style:n}}function ls(e){const{transform:t,style:n}=Ih(e),{transform:r}=uf(t),{style:s}=ff(n);return r.value&&(s.value.transform=r.value),s.value}function kh(e,t){let n,r;const{state:s,style:i}=ff();return bo(e,o=>{r=o;for(const l of Object.keys(af))o.style[l]===null||o.style[l]===""||yo(l)||pf(l)||(s[l]=o.style[l]);n&&Object.entries(n).forEach(([l,a])=>o.style[l]=a),t&&t(s)}),Se(i,o=>{if(!r){n=o;return}for(const l in o)r.style[l]=o[l]},{immediate:!0}),{style:s}}function Ph(e){const t=e.trim().split(/\) |\)/);if(t.length===1)return{};const n=r=>r.endsWith("px")||r.endsWith("deg")?Number.parseFloat(r):Number.isNaN(Number(r))?Number(r):r;return t.reduce((r,s)=>{if(!s)return r;const[i,o]=s.split("("),a=o.split(",").map(c=>n(c.endsWith(")")?c.replace(")",""):c.trim())),f=a.length===1?a[0]:a;return{...r,[i]:f}},{})}function $h(e,t){Object.entries(Ph(t)).forEach(([n,r])=>{const s=["x","y","z"];if(n==="translate3d"){if(r===0){s.forEach(i=>e[i]=0);return}r.forEach((i,o)=>e[s[o]]=i);return}if(r=Number.parseFloat(`${r}`),n==="translateX"){e.x=r;return}if(n==="translateY"){e.y=r;return}if(n==="translateZ"){e.z=r;return}e[n]=r})}function Lh(e,t){let n,r;const{state:s,transform:i}=uf();return bo(e,o=>{r=o,o.style.transform&&$h(s,o.style.transform),n&&(o.style.transform=n),t&&t(s)}),Se(i,o=>{if(!r){n=o;return}r.style.transform=o},{immediate:!0}),{transform:s}}function Rh(e){return Object.entries(e)}function Nh(e,t){const n=nn({}),r=o=>Object.entries(o).forEach(([l,a])=>n[l]=a),{style:s}=kh(e,r),{transform:i}=Lh(e,r);return Se(n,o=>{Rh(o).forEach(([l,a])=>{const f=yo(l)?i:s;f[l]&&f[l]===a||(f[l]=a)})},{immediate:!0,deep:!0}),bo(e,()=>t),{motionProperties:n,style:s,transform:i}}function jh(e={}){const t=_e(e),n=oe();return{state:mt(()=>{if(n.value)return t[n.value]}),variant:n}}function hf(e,t={},n){const{motionProperties:r}=Nh(e),{variant:s,state:i}=jh(t),o=bh(r,t),l={target:e,variant:s,variants:t,state:i,motionProperties:r,...o};return Th(l,n),l}const gf=["delay","duration"],Dh=["initial","enter","leave","visible","visible-once","visibleOnce","hovered","tapped","focused",...gf];function Fh(e){return gf.includes(e)}function zh(e,t){const n=e.props?e.props:e.data&&e.data.attrs?e.data.attrs:{};if(n){n.variants&&Dr(n.variants)&&(t.value={...t.value,...n.variants});for(let r of Dh)if(!(!n||!n[r])){if(Fh(r)&&typeof n[r]=="number"){for(const s of["enter","visible","visibleOnce"]){const i=t.value[s];i!=null&&(i.transition??(i.transition={}),i.transition[r]=n[r])}continue}if(Dr(n[r])){const s=n[r];r==="visible-once"&&(r="visibleOnce"),t.value[r]=s}}}}function zs(e,t=!1){return{created:(s,i,o)=>{const l=i.value&&typeof i.value=="string"?i.value:o.key;l&&js[l]&&js[l].stop();const a=t?structuredClone(re(e)||{}):e||{},f=oe(a);typeof i.value=="object"&&(f.value=i.value),zh(o,f);const u=hf(s,f,{eventListeners:!0,lifeCycleHooks:!0,syncVariants:!0,visibilityHooks:!1});s.motionInstance=u,l&&(js[l]=u)},mounted:(s,i,o)=>{s.motionInstance&&cf(s.motionInstance)},getSSRProps(s,i){let{initial:o}=s.value||i&&(i==null?void 0:i.props)||{};o=_e(o);const l=fa({},(e==null?void 0:e.initial)||{},o||{});return!l||Object.keys(l).length===0?void 0:{style:ls(l)}}}}const Hh={initial:{opacity:0},enter:{opacity:1}},Vh={initial:{opacity:0},visible:{opacity:1}},Bh={initial:{opacity:0},visibleOnce:{opacity:1}},Uh={initial:{scale:0,opacity:0},enter:{scale:1,opacity:1}},qh={initial:{scale:0,opacity:0},visible:{scale:1,opacity:1}},Kh={initial:{scale:0,opacity:0},visibleOnce:{scale:1,opacity:1}},Wh={initial:{x:-100,rotate:90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Xh={initial:{x:-100,rotate:90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Gh={initial:{x:-100,rotate:90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Yh={initial:{x:100,rotate:-90,opacity:0},enter:{x:0,rotate:0,opacity:1}},Zh={initial:{x:100,rotate:-90,opacity:0},visible:{x:0,rotate:0,opacity:1}},Jh={initial:{x:100,rotate:-90,opacity:0},visibleOnce:{x:0,rotate:0,opacity:1}},Qh={initial:{y:-100,rotate:-90,opacity:0},enter:{y:0,rotate:0,opacity:1}},e1={initial:{y:-100,rotate:-90,opacity:0},visible:{y:0,rotate:0,opacity:1}},t1={initial:{y:-100,rotate:-90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},n1={initial:{y:100,rotate:90,opacity:0},enter:{y:0,rotate:0,opacity:1}},r1={initial:{y:100,rotate:90,opacity:0},visible:{y:0,rotate:0,opacity:1}},s1={initial:{y:100,rotate:90,opacity:0},visibleOnce:{y:0,rotate:0,opacity:1}},i1={initial:{x:-100,opacity:0},enter:{x:0,opacity:1}},o1={initial:{x:-100,opacity:0},visible:{x:0,opacity:1}},l1={initial:{x:-100,opacity:0},visibleOnce:{x:0,opacity:1}},a1={initial:{x:100,opacity:0},enter:{x:0,opacity:1}},c1={initial:{x:100,opacity:0},visible:{x:0,opacity:1}},f1={initial:{x:100,opacity:0},visibleOnce:{x:0,opacity:1}},u1={initial:{y:-100,opacity:0},enter:{y:0,opacity:1}},d1={initial:{y:-100,opacity:0},visible:{y:0,opacity:1}},p1={initial:{y:-100,opacity:0},visibleOnce:{y:0,opacity:1}},h1={initial:{y:100,opacity:0},enter:{y:0,opacity:1}},g1={initial:{y:100,opacity:0},visible:{y:0,opacity:1}},m1={initial:{y:100,opacity:0},visibleOnce:{y:0,opacity:1}},Hr={__proto__:null,fade:Hh,fadeVisible:Vh,fadeVisibleOnce:Bh,pop:Uh,popVisible:qh,popVisibleOnce:Kh,rollBottom:n1,rollLeft:Wh,rollRight:Yh,rollTop:Qh,rollVisibleBottom:r1,rollVisibleLeft:Xh,rollVisibleOnceBottom:s1,rollVisibleOnceLeft:Gh,rollVisibleOnceRight:Jh,rollVisibleOnceTop:t1,rollVisibleRight:Zh,rollVisibleTop:e1,slideBottom:h1,slideLeft:i1,slideRight:a1,slideTop:u1,slideVisibleBottom:g1,slideVisibleLeft:o1,slideVisibleOnceBottom:m1,slideVisibleOnceLeft:l1,slideVisibleOnceRight:f1,slideVisibleOnceTop:p1,slideVisibleRight:c1,slideVisibleTop:d1};function b1(e){const t="àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;",n="aaaaaaaaaacccddeeeeeeeegghiiiiiilmnnnnoooooooooprrsssssttuuuuuuuuuwxyyzzz------",r=new RegExp(t.split("").join("|"),"g");return e.toString().replace(/[A-Z]/g,s=>`-${s}`).toLowerCase().replace(/\s+/g,"-").replace(r,s=>n.charAt(t.indexOf(s))).replace(/&/g,"-and-").replace(/[^\w\-]+/g,"").replace(/-{2,}/g,"-").replace(/^-+/,"").replace(/-+$/,"")}const mf=Symbol(""),bf={preset:{type:String,required:!1},instance:{type:Object,required:!1},variants:{type:Object,required:!1},initial:{type:Object,required:!1},enter:{type:Object,required:!1},leave:{type:Object,required:!1},visible:{type:Object,required:!1},visibleOnce:{type:Object,required:!1},hovered:{type:Object,required:!1},tapped:{type:Object,required:!1},focused:{type:Object,required:!1},delay:{type:[Number,String],required:!1},duration:{type:[Number,String],required:!1}};function y1(e){return Object.prototype.toString.call(e)==="[object Object]"}function ki(e){if(Array.isArray(e))return e.map(ki);if(y1(e)){const t={};for(const n in e)t[n]=ki(e[n]);return t}return e}function yf(e){const t=nn({}),n=gn(mf,{}),r=mt(()=>e.preset==null?{}:n!=null&&e.preset in n?structuredClone(re(n)[e.preset]):e.preset in Hr?structuredClone(Hr[e.preset]):{}),s=mt(()=>({initial:e.initial,enter:e.enter,leave:e.leave,visible:e.visible,visibleOnce:e.visibleOnce,hovered:e.hovered,tapped:e.tapped,focused:e.focused}));function i(a,f){for(const c of["delay","duration"]){if(f[c]==null)continue;const u=Number.parseInt(f[c]);for(const p of["enter","visible","visibleOnce"]){const g=a[p];g!=null&&(g.transition??(g.transition={}),g.transition[c]=u)}}return a}const o=mt(()=>{const a=fa({},s.value,r.value,e.variants||{});return i({...a},e)});function l(a,f,c){var p;a.props??(a.props={}),(p=a.props).style??(p.style={}),a.props.style={...a.props.style,...c};const u=i(ki(o.value),a.props);return a.props.onVnodeMounted=({el:g})=>{t[f]=hf(g,u)},a.props.onVnodeUpdated=({el:g})=>{const m=ls(t[f].state);for(const[y,M]of Object.entries(m))g.style[y]=M},a}return{motionConfig:o,setNodeInstance:l}}const v1=xn({name:"Motion",props:{...bf,is:{type:[String,Object],default:"div"}},setup(e){const t=Ja(),{motionConfig:n,setNodeInstance:r}=yf(e);return()=>{const s=ls(n.value.initial||{}),i=oo(e.is,void 0,t);return r(i,0,s),i}}}),x1=xn({name:"MotionGroup",props:{...bf,is:{type:[String,Object],required:!1}},setup(e){const t=Ja(),{motionConfig:n,setNodeInstance:r}=yf(e);return()=>{var o;const s=ls(n.value.initial||{}),i=((o=t.default)==null?void 0:o.call(t))||[];for(let l=0;l<i.length;l++){const a=i[l];a.type===Ne&&Array.isArray(a.children)?a.children.forEach(function f(c,u){if(c!=null){if(Array.isArray(c)){f(c,u);return}typeof c=="object"&&r(c,u,s)}}):r(a,l,s)}return e.is?oo(e.is,void 0,i):i}}}),M1={install(e,t){if(e.directive("motion",zs()),!t||t&&!t.excludePresets)for(const n in Hr){const r=Hr[n];e.directive(`motion-${b1(n)}`,zs(r,!0))}if(t&&t.directives)for(const n in t.directives){const r=t.directives[n];r.initial,e.directive(`motion-${n}`,zs(r,!0))}e.provide(mf,t==null?void 0:t.directives),e.component("Motion",v1),e.component("MotionGroup",x1)}},vf=(e,t)=>{if(typeof e=="number"){if(t===3)return{mode:"rgb",r:(e>>8&15|e>>4&240)/255,g:(e>>4&15|e&240)/255,b:(e&15|e<<4&240)/255};if(t===4)return{mode:"rgb",r:(e>>12&15|e>>8&240)/255,g:(e>>8&15|e>>4&240)/255,b:(e>>4&15|e&240)/255,alpha:(e&15|e<<4&240)/255};if(t===6)return{mode:"rgb",r:(e>>16&255)/255,g:(e>>8&255)/255,b:(e&255)/255};if(t===8)return{mode:"rgb",r:(e>>24&255)/255,g:(e>>16&255)/255,b:(e>>8&255)/255,alpha:(e&255)/255}}},_1={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},S1=e=>vf(_1[e.toLowerCase()],6),T1=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,w1=e=>{let t;return(t=e.match(T1))?vf(parseInt(t[1],16),t[1].length):void 0},Rt="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)",Vn=`${Rt}%`,vo=`(?:${Rt}%|${Rt})`,O1=`(?:${Rt}(deg|grad|rad|turn)|${Rt})`,vn="\\s*,\\s*",C1=new RegExp(`^rgba?\\(\\s*${Rt}${vn}${Rt}${vn}${Rt}\\s*(?:,\\s*${vo}\\s*)?\\)$`),A1=new RegExp(`^rgba?\\(\\s*${Vn}${vn}${Vn}${vn}${Vn}\\s*(?:,\\s*${vo}\\s*)?\\)$`),E1=e=>{let t={mode:"rgb"},n;if(n=e.match(C1))n[1]!==void 0&&(t.r=n[1]/255),n[2]!==void 0&&(t.g=n[2]/255),n[3]!==void 0&&(t.b=n[3]/255);else if(n=e.match(A1))n[1]!==void 0&&(t.r=n[1]/100),n[2]!==void 0&&(t.g=n[2]/100),n[3]!==void 0&&(t.b=n[3]/100);else return;return n[4]!==void 0?t.alpha=Math.max(0,Math.min(1,n[4]/100)):n[5]!==void 0&&(t.alpha=Math.max(0,Math.min(1,+n[5]))),t},I1=(e,t)=>e===void 0?void 0:typeof e!="object"?z1(e):e.mode!==void 0?e:t?{...e,mode:t}:void 0,xo=(e="rgb")=>t=>(t=I1(t,e))!==void 0?t.mode===e?t:ht[t.mode][e]?ht[t.mode][e](t):e==="rgb"?ht[t.mode].rgb(t):ht.rgb[e](ht[t.mode].rgb(t)):void 0,ht={},xf={},Vr=[],Mf={},k1=e=>e,ae=e=>(ht[e.mode]={...ht[e.mode],...e.toMode},Object.keys(e.fromMode||{}).forEach(t=>{ht[t]||(ht[t]={}),ht[t][e.mode]=e.fromMode[t]}),e.ranges||(e.ranges={}),e.difference||(e.difference={}),e.channels.forEach(t=>{if(e.ranges[t]===void 0&&(e.ranges[t]=[0,1]),!e.interpolate[t])throw new Error(`Missing interpolator for: ${t}`);typeof e.interpolate[t]=="function"&&(e.interpolate[t]={use:e.interpolate[t]}),e.interpolate[t].fixup||(e.interpolate[t].fixup=k1)}),xf[e.mode]=e,(e.parse||[]).forEach(t=>{$1(t,e.mode)}),xo(e.mode)),P1=e=>xf[e],$1=(e,t)=>{if(typeof e=="string"){if(!t)throw new Error("'mode' required when 'parser' is a string");Mf[e]=t}else typeof e=="function"&&Vr.indexOf(e)<0&&Vr.push(e)},Pi=/[^\x00-\x7F]|[a-zA-Z_]/,L1=/[^\x00-\x7F]|[-\w]/,P={Function:"function",Ident:"ident",Number:"number",Percentage:"percentage",ParenClose:")",None:"none",Hue:"hue",Alpha:"alpha"};let q=0;function Sr(e){let t=e[q],n=e[q+1];return t==="-"||t==="+"?/\d/.test(n)||n==="."&&/\d/.test(e[q+2]):t==="."?/\d/.test(n):/\d/.test(t)}function $i(e){if(q>=e.length)return!1;let t=e[q];if(Pi.test(t))return!0;if(t==="-"){if(e.length-q<2)return!1;let n=e[q+1];return!!(n==="-"||Pi.test(n))}return!1}const R1={deg:1,rad:180/Math.PI,grad:9/10,turn:360};function En(e){let t="";if((e[q]==="-"||e[q]==="+")&&(t+=e[q++]),t+=Tr(e),e[q]==="."&&/\d/.test(e[q+1])&&(t+=e[q++]+Tr(e)),(e[q]==="e"||e[q]==="E")&&((e[q+1]==="-"||e[q+1]==="+")&&/\d/.test(e[q+2])?t+=e[q++]+e[q++]+Tr(e):/\d/.test(e[q+1])&&(t+=e[q++]+Tr(e))),$i(e)){let n=Br(e);return n==="deg"||n==="rad"||n==="turn"||n==="grad"?{type:P.Hue,value:t*R1[n]}:void 0}return e[q]==="%"?(q++,{type:P.Percentage,value:+t}):{type:P.Number,value:+t}}function Tr(e){let t="";for(;/\d/.test(e[q]);)t+=e[q++];return t}function Br(e){let t="";for(;q<e.length&&L1.test(e[q]);)t+=e[q++];return t}function N1(e){let t=Br(e);return e[q]==="("?(q++,{type:P.Function,value:t}):t==="none"?{type:P.None,value:void 0}:{type:P.Ident,value:t}}function j1(e=""){let t=e.trim(),n=[],r;for(q=0;q<t.length;){if(r=t[q++],r===`
`||r==="	"||r===" "){for(;q<t.length&&(t[q]===`
`||t[q]==="	"||t[q]===" ");)q++;continue}if(r===",")return;if(r===")"){n.push({type:P.ParenClose});continue}if(r==="+"){if(q--,Sr(t)){n.push(En(t));continue}return}if(r==="-"){if(q--,Sr(t)){n.push(En(t));continue}if($i(t)){n.push({type:P.Ident,value:Br(t)});continue}return}if(r==="."){if(q--,Sr(t)){n.push(En(t));continue}return}if(r==="/"){for(;q<t.length&&(t[q]===`
`||t[q]==="	"||t[q]===" ");)q++;let s;if(Sr(t)&&(s=En(t),s.type!==P.Hue)){n.push({type:P.Alpha,value:s});continue}if($i(t)&&Br(t)==="none"){n.push({type:P.Alpha,value:{type:P.None,value:void 0}});continue}return}if(/\d/.test(r)){q--,n.push(En(t));continue}if(Pi.test(r)){q--,n.push(N1(t));continue}return}return n}function D1(e){e._i=0;let t=e[e._i++];if(!t||t.type!==P.Function||t.value!=="color"||(t=e[e._i++],t.type!==P.Ident))return;const n=Mf[t.value];if(!n)return;const r={mode:n},s=_f(e,!1);if(!s)return;const i=P1(n).channels;for(let o=0,l,a;o<i.length;o++)l=s[o],a=i[o],l.type!==P.None&&(r[a]=l.type===P.Number?l.value:l.value/100,a==="alpha"&&(r[a]=Math.max(0,Math.min(1,r[a]))));return r}function _f(e,t){const n=[];let r;for(;e._i<e.length;){if(r=e[e._i++],r.type===P.None||r.type===P.Number||r.type===P.Alpha||r.type===P.Percentage||t&&r.type===P.Hue){n.push(r);continue}if(r.type===P.ParenClose){if(e._i<e.length)return;continue}return}if(!(n.length<3||n.length>4)){if(n.length===4){if(n[3].type!==P.Alpha)return;n[3]=n[3].value}return n.length===3&&n.push({type:P.None,value:void 0}),n.every(s=>s.type!==P.Alpha)?n:void 0}}function F1(e,t){e._i=0;let n=e[e._i++];if(!n||n.type!==P.Function)return;let r=_f(e,t);if(r)return r.unshift(n.value),r}const z1=e=>{if(typeof e!="string")return;const t=j1(e),n=t?F1(t,!0):void 0;let r,s=0,i=Vr.length;for(;s<i;)if((r=Vr[s++](e,n))!==void 0)return r;return t?D1(t):void 0};function H1(e,t){if(!t||t[0]!=="rgb"&&t[0]!=="rgba")return;const n={mode:"rgb"},[,r,s,i,o]=t;if(!(r.type===P.Hue||s.type===P.Hue||i.type===P.Hue))return r.type!==P.None&&(n.r=r.type===P.Number?r.value/255:r.value/100),s.type!==P.None&&(n.g=s.type===P.Number?s.value/255:s.value/100),i.type!==P.None&&(n.b=i.type===P.Number?i.value/255:i.value/100),o.type!==P.None&&(n.alpha=Math.min(1,Math.max(0,o.type===P.Number?o.value:o.value/100))),n}const V1=e=>e==="transparent"?{mode:"rgb",r:0,g:0,b:0,alpha:0}:void 0,B1=(e,t,n)=>e+n*(t-e),U1=e=>{let t=[];for(let n=0;n<e.length-1;n++){let r=e[n],s=e[n+1];r===void 0&&s===void 0?t.push(void 0):r!==void 0&&s!==void 0?t.push([r,s]):t.push(r!==void 0?[r,r]:[s,s])}return t},q1=e=>t=>{let n=U1(t);return r=>{let s=r*n.length,i=r>=1?n.length-1:Math.max(Math.floor(s),0),o=n[i];return o===void 0?void 0:e(o[0],o[1],s-i)}},D=q1(B1),Ce=e=>{let t=!1,n=e.map(r=>r!==void 0?(t=!0,r):1);return t?n:e},Sn={mode:"rgb",channels:["r","g","b","alpha"],parse:[H1,w1,E1,S1,V1,"srgb"],serialize:"srgb",interpolate:{r:D,g:D,b:D,alpha:{use:D,fixup:Ce}},gamut:!0,white:{r:1,g:1,b:1},black:{r:0,g:0,b:0}},Hs=(e=0)=>Math.pow(Math.abs(e),563/256)*Math.sign(e),Rl=e=>{let t=Hs(e.r),n=Hs(e.g),r=Hs(e.b),s={mode:"xyz65",x:.5766690429101305*t+.1855582379065463*n+.1882286462349947*r,y:.297344975250536*t+.6273635662554661*n+.0752914584939979*r,z:.0270313613864123*t+.0706888525358272*n+.9913375368376386*r};return e.alpha!==void 0&&(s.alpha=e.alpha),s},Vs=e=>Math.pow(Math.abs(e),256/563)*Math.sign(e),Nl=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s={mode:"a98",r:Vs(e*2.0415879038107465-t*.5650069742788597-.3447313507783297*n),g:Vs(e*-.9692436362808798+t*1.8759675015077206+.0415550574071756*n),b:Vs(e*.0134442806320312-t*.1183623922310184+1.0151749943912058*n)};return r!==void 0&&(s.alpha=r),s},Bs=(e=0)=>{const t=Math.abs(e);return t<=.04045?e/12.92:(Math.sign(e)||1)*Math.pow((t+.055)/1.055,2.4)},Tn=({r:e,g:t,b:n,alpha:r})=>{let s={mode:"lrgb",r:Bs(e),g:Bs(t),b:Bs(n)};return r!==void 0&&(s.alpha=r),s},rn=e=>{let{r:t,g:n,b:r,alpha:s}=Tn(e),i={mode:"xyz65",x:.4123907992659593*t+.357584339383878*n+.1804807884018343*r,y:.2126390058715102*t+.715168678767756*n+.0721923153607337*r,z:.0193308187155918*t+.119194779794626*n+.9505321522496607*r};return s!==void 0&&(i.alpha=s),i},Us=(e=0)=>{const t=Math.abs(e);return t>.0031308?(Math.sign(e)||1)*(1.055*Math.pow(t,1/2.4)-.055):e*12.92},wn=({r:e,g:t,b:n,alpha:r},s="rgb")=>{let i={mode:s,r:Us(e),g:Us(t),b:Us(n)};return r!==void 0&&(i.alpha=r),i},sn=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=wn({r:e*3.2409699419045226-t*1.537383177570094-.4986107602930034*n,g:e*-.9692436362808796+t*1.8759675015077204+.0415550574071756*n,b:e*.0556300796969936-t*.2039769588889765+1.0569715142428784*n});return r!==void 0&&(s.alpha=r),s},K1={...Sn,mode:"a98",parse:["a98-rgb"],serialize:"a98-rgb",fromMode:{rgb:e=>Nl(rn(e)),xyz65:Nl},toMode:{rgb:e=>sn(Rl(e)),xyz65:Rl}},Fe=e=>(e=e%360)<0?e+360:e,W1=(e,t)=>e.map((n,r,s)=>{if(n===void 0)return n;let i=Fe(n);return r===0||e[r-1]===void 0?i:t(i-Fe(s[r-1]))}).reduce((n,r)=>!n.length||r===void 0||n[n.length-1]===void 0?(n.push(r),n):(n.push(r+n[n.length-1]),n),[]),Ot=e=>W1(e,t=>Math.abs(t)<=180?t:t-360*Math.sign(t)),Ie=[-.14861,1.78277,-.29227,-.90649,1.97294,0],X1=Math.PI/180,G1=180/Math.PI;let jl=Ie[3]*Ie[4],Dl=Ie[1]*Ie[4],Fl=Ie[1]*Ie[2]-Ie[0]*Ie[3];const Y1=({r:e,g:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=(Fl*n+e*jl-t*Dl)/(Fl+jl-Dl),i=n-s,o=(Ie[4]*(t-s)-Ie[2]*i)/Ie[3],l={mode:"cubehelix",l:s,s:s===0||s===1?void 0:Math.sqrt(i*i+o*o)/(Ie[4]*s*(1-s))};return l.s&&(l.h=Math.atan2(o,i)*G1-120),r!==void 0&&(l.alpha=r),l},Z1=({h:e,s:t,l:n,alpha:r})=>{let s={mode:"rgb"};e=(e===void 0?0:e+120)*X1,n===void 0&&(n=0);let i=t===void 0?0:t*n*(1-n),o=Math.cos(e),l=Math.sin(e);return s.r=n+i*(Ie[0]*o+Ie[1]*l),s.g=n+i*(Ie[2]*o+Ie[3]*l),s.b=n+i*(Ie[4]*o+Ie[5]*l),r!==void 0&&(s.alpha=r),s},as=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.s||!t.s)return 0;let n=Fe(e.h),r=Fe(t.h),s=Math.sin((r-n+360)/2*Math.PI/180);return 2*Math.sqrt(e.s*t.s)*s},J1=(e,t)=>{if(e.h===void 0||t.h===void 0)return 0;let n=Fe(e.h),r=Fe(t.h);return Math.abs(r-n)>180?n-(r-360*Math.sign(r-n)):r-n},cs=(e,t)=>{if(e.h===void 0||t.h===void 0||!e.c||!t.c)return 0;let n=Fe(e.h),r=Fe(t.h),s=Math.sin((r-n+360)/2*Math.PI/180);return 2*Math.sqrt(e.c*t.c)*s},Ct=e=>{let t=e.reduce((r,s)=>{if(s!==void 0){let i=s*Math.PI/180;r.sin+=Math.sin(i),r.cos+=Math.cos(i)}return r},{sin:0,cos:0}),n=Math.atan2(t.sin,t.cos)*180/Math.PI;return n<0?360+n:n},Q1={mode:"cubehelix",channels:["h","s","l","alpha"],parse:["--cubehelix"],serialize:"--cubehelix",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},fromMode:{rgb:Y1},toMode:{rgb:Z1},interpolate:{h:{use:D,fixup:Ot},s:D,l:D,alpha:{use:D,fixup:Ce}},difference:{h:as},average:{h:Ct}},Ft=({l:e,a:t,b:n,alpha:r},s="lch")=>{t===void 0&&(t=0),n===void 0&&(n=0);let i=Math.sqrt(t*t+n*n),o={mode:s,l:e,c:i};return i&&(o.h=Fe(Math.atan2(n,t)*180/Math.PI)),r!==void 0&&(o.alpha=r),o},zt=({l:e,c:t,h:n,alpha:r},s="lab")=>{n===void 0&&(n=0);let i={mode:s,l:e,a:t?t*Math.cos(n/180*Math.PI):0,b:t?t*Math.sin(n/180*Math.PI):0};return r!==void 0&&(i.alpha=r),i},Sf=Math.pow(29,3)/Math.pow(3,3),Tf=Math.pow(6,3)/Math.pow(29,3),we={X:.3457/.3585,Y:1,Z:(1-.3457-.3585)/.3585},yn={X:.3127/.329,Y:1,Z:(1-.3127-.329)/.329};let qs=e=>Math.pow(e,3)>Tf?Math.pow(e,3):(116*e-16)/Sf;const wf=({l:e,a:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=(e+16)/116,i=t/500+s,o=s-n/200,l={mode:"xyz65",x:qs(i)*yn.X,y:qs(s)*yn.Y,z:qs(o)*yn.Z};return r!==void 0&&(l.alpha=r),l},fs=e=>sn(wf(e)),Ks=e=>e>Tf?Math.cbrt(e):(Sf*e+16)/116,Of=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Ks(e/yn.X),i=Ks(t/yn.Y),o=Ks(n/yn.Z),l={mode:"lab65",l:116*i-16,a:500*(s-i),b:200*(i-o)};return r!==void 0&&(l.alpha=r),l},us=e=>{let t=Of(rn(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Ur=1,Cf=1,tr=26/180*Math.PI,qr=Math.cos(tr),Kr=Math.sin(tr),Af=100/Math.log(139/100),Li=({l:e,c:t,h:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s={mode:"lab65",l:(Math.exp(e*Ur/Af)-1)/.0039},i=(Math.exp(.0435*t*Cf*Ur)-1)/.075,o=i*Math.cos(n/180*Math.PI-tr),l=i*Math.sin(n/180*Math.PI-tr);return s.a=o*qr-l/.83*Kr,s.b=o*Kr+l/.83*qr,r!==void 0&&(s.alpha=r),s},Ri=({l:e,a:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=t*qr+n*Kr,i=.83*(n*qr-t*Kr),o=Math.sqrt(s*s+i*i),l={mode:"dlch",l:Af/Ur*Math.log(1+.0039*e),c:Math.log(1+.075*o)/(.0435*Cf*Ur)};return l.c&&(l.h=Fe((Math.atan2(i,s)+tr)/Math.PI*180)),r!==void 0&&(l.alpha=r),l},zl=e=>Li(Ft(e,"dlch")),Hl=e=>zt(Ri(e),"dlab"),eg={mode:"dlab",parse:["--din99o-lab"],serialize:"--din99o-lab",toMode:{lab65:zl,rgb:e=>fs(zl(e))},fromMode:{lab65:Hl,rgb:e=>Hl(us(e))},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:D,a:D,b:D,alpha:{use:D,fixup:Ce}}},tg={mode:"dlch",parse:["--din99o-lch"],serialize:"--din99o-lch",toMode:{lab65:Li,dlab:e=>zt(e,"dlab"),rgb:e=>fs(Li(e))},fromMode:{lab65:Ri,dlab:e=>Ft(e,"dlch"),rgb:e=>Ri(us(e))},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:D,c:D,h:{use:D,fixup:Ot},alpha:{use:D,fixup:Ce}},difference:{h:cs},average:{h:Ct}};function ng({h:e,s:t,i:n,alpha:r}){e=Fe(e!==void 0?e:0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.abs(e/60%2-1),i;switch(Math.floor(e/60)){case 0:i={r:n*(1+t*(3/(2-s)-1)),g:n*(1+t*(3*(1-s)/(2-s)-1)),b:n*(1-t)};break;case 1:i={r:n*(1+t*(3*(1-s)/(2-s)-1)),g:n*(1+t*(3/(2-s)-1)),b:n*(1-t)};break;case 2:i={r:n*(1-t),g:n*(1+t*(3/(2-s)-1)),b:n*(1+t*(3*(1-s)/(2-s)-1))};break;case 3:i={r:n*(1-t),g:n*(1+t*(3*(1-s)/(2-s)-1)),b:n*(1+t*(3/(2-s)-1))};break;case 4:i={r:n*(1+t*(3*(1-s)/(2-s)-1)),g:n*(1-t),b:n*(1+t*(3/(2-s)-1))};break;case 5:i={r:n*(1+t*(3/(2-s)-1)),g:n*(1-t),b:n*(1+t*(3*(1-s)/(2-s)-1))};break;default:i={r:n*(1-t),g:n*(1-t),b:n*(1-t)}}return i.mode="rgb",r!==void 0&&(i.alpha=r),i}function rg({r:e,g:t,b:n,alpha:r}){e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.max(e,t,n),i=Math.min(e,t,n),o={mode:"hsi",s:e+t+n===0?0:1-3*i/(e+t+n),i:(e+t+n)/3};return s-i!==0&&(o.h=(s===e?(t-n)/(s-i)+(t<n)*6:s===t?(n-e)/(s-i)+2:(e-t)/(s-i)+4)*60),r!==void 0&&(o.alpha=r),o}const sg={mode:"hsi",toMode:{rgb:ng},parse:["--hsi"],serialize:"--hsi",fromMode:{rgb:rg},channels:["h","s","i","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:D,fixup:Ot},s:D,i:D,alpha:{use:D,fixup:Ce}},difference:{h:as},average:{h:Ct}};function ig({h:e,s:t,l:n,alpha:r}){e=Fe(e!==void 0?e:0),t===void 0&&(t=0),n===void 0&&(n=0);let s=n+t*(n<.5?n:1-n),i=s-(s-n)*2*Math.abs(e/60%2-1),o;switch(Math.floor(e/60)){case 0:o={r:s,g:i,b:2*n-s};break;case 1:o={r:i,g:s,b:2*n-s};break;case 2:o={r:2*n-s,g:s,b:i};break;case 3:o={r:2*n-s,g:i,b:s};break;case 4:o={r:i,g:2*n-s,b:s};break;case 5:o={r:s,g:2*n-s,b:i};break;default:o={r:2*n-s,g:2*n-s,b:2*n-s}}return o.mode="rgb",r!==void 0&&(o.alpha=r),o}function og({r:e,g:t,b:n,alpha:r}){e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.max(e,t,n),i=Math.min(e,t,n),o={mode:"hsl",s:s===i?0:(s-i)/(1-Math.abs(s+i-1)),l:.5*(s+i)};return s-i!==0&&(o.h=(s===e?(t-n)/(s-i)+(t<n)*6:s===t?(n-e)/(s-i)+2:(e-t)/(s-i)+4)*60),r!==void 0&&(o.alpha=r),o}const lg=(e,t)=>{switch(t){case"deg":return+e;case"rad":return e/Math.PI*180;case"grad":return e/10*9;case"turn":return e*360}},ag=new RegExp(`^hsla?\\(\\s*${O1}${vn}${Vn}${vn}${Vn}\\s*(?:,\\s*${vo}\\s*)?\\)$`),cg=e=>{let t=e.match(ag);if(!t)return;let n={mode:"hsl"};return t[3]!==void 0?n.h=+t[3]:t[1]!==void 0&&t[2]!==void 0&&(n.h=lg(t[1],t[2])),t[4]!==void 0&&(n.s=Math.min(Math.max(0,t[4]/100),1)),t[5]!==void 0&&(n.l=Math.min(Math.max(0,t[5]/100),1)),t[6]!==void 0?n.alpha=Math.max(0,Math.min(1,t[6]/100)):t[7]!==void 0&&(n.alpha=Math.max(0,Math.min(1,+t[7]))),n};function fg(e,t){if(!t||t[0]!=="hsl"&&t[0]!=="hsla")return;const n={mode:"hsl"},[,r,s,i,o]=t;if(r.type!==P.None){if(r.type===P.Percentage)return;n.h=r.value}if(s.type!==P.None){if(s.type===P.Hue)return;n.s=s.value/100}if(i.type!==P.None){if(i.type===P.Hue)return;n.l=i.value/100}return o.type!==P.None&&(n.alpha=Math.min(1,Math.max(0,o.type===P.Number?o.value:o.value/100))),n}const Ef={mode:"hsl",toMode:{rgb:ig},fromMode:{rgb:og},channels:["h","s","l","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[fg,cg],serialize:e=>`hsl(${e.h!==void 0?e.h:"none"} ${e.s!==void 0?e.s*100+"%":"none"} ${e.l!==void 0?e.l*100+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:D,fixup:Ot},s:D,l:D,alpha:{use:D,fixup:Ce}},difference:{h:as},average:{h:Ct}};function If({h:e,s:t,v:n,alpha:r}){e=Fe(e!==void 0?e:0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.abs(e/60%2-1),i;switch(Math.floor(e/60)){case 0:i={r:n,g:n*(1-t*s),b:n*(1-t)};break;case 1:i={r:n*(1-t*s),g:n,b:n*(1-t)};break;case 2:i={r:n*(1-t),g:n,b:n*(1-t*s)};break;case 3:i={r:n*(1-t),g:n*(1-t*s),b:n};break;case 4:i={r:n*(1-t*s),g:n*(1-t),b:n};break;case 5:i={r:n,g:n*(1-t),b:n*(1-t*s)};break;default:i={r:n*(1-t),g:n*(1-t),b:n*(1-t)}}return i.mode="rgb",r!==void 0&&(i.alpha=r),i}function kf({r:e,g:t,b:n,alpha:r}){e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.max(e,t,n),i=Math.min(e,t,n),o={mode:"hsv",s:s===0?0:1-i/s,v:s};return s-i!==0&&(o.h=(s===e?(t-n)/(s-i)+(t<n)*6:s===t?(n-e)/(s-i)+2:(e-t)/(s-i)+4)*60),r!==void 0&&(o.alpha=r),o}const Pf={mode:"hsv",toMode:{rgb:If},parse:["--hsv"],serialize:"--hsv",fromMode:{rgb:kf},channels:["h","s","v","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:D,fixup:Ot},s:D,v:D,alpha:{use:D,fixup:Ce}},difference:{h:as},average:{h:Ct}};function ug({h:e,w:t,b:n,alpha:r}){if(t===void 0&&(t=0),n===void 0&&(n=0),t+n>1){let s=t+n;t/=s,n/=s}return If({h:e,s:n===1?1:1-t/(1-n),v:1-n,alpha:r})}function dg(e){let t=kf(e);if(t===void 0)return;let n=t.s!==void 0?t.s:0,r=t.v!==void 0?t.v:0,s={mode:"hwb",w:(1-n)*r,b:1-r};return t.h!==void 0&&(s.h=t.h),t.alpha!==void 0&&(s.alpha=t.alpha),s}function pg(e,t){if(!t||t[0]!=="hwb")return;const n={mode:"hwb"},[,r,s,i,o]=t;if(r.type!==P.None){if(r.type===P.Percentage)return;n.h=r.value}if(s.type!==P.None){if(s.type===P.Hue)return;n.w=s.value/100}if(i.type!==P.None){if(i.type===P.Hue)return;n.b=i.value/100}return o.type!==P.None&&(n.alpha=Math.min(1,Math.max(0,o.type===P.Number?o.value:o.value/100))),n}const hg={mode:"hwb",toMode:{rgb:ug},fromMode:{rgb:dg},channels:["h","w","b","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[pg],serialize:e=>`hwb(${e.h!==void 0?e.h:"none"} ${e.w!==void 0?e.w*100+"%":"none"} ${e.b!==void 0?e.b*100+"%":"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:D,fixup:Ot},w:D,b:D,alpha:{use:D,fixup:Ce}},difference:{h:J1},average:{h:Ct}},$f=203,ds=.1593017578125,Lf=78.84375,ps=.8359375,hs=18.8515625,gs=18.6875;function Ws(e){if(e<0)return 0;const t=Math.pow(e,1/Lf);return 1e4*Math.pow(Math.max(0,t-ps)/(hs-gs*t),1/ds)}function Xs(e){if(e<0)return 0;const t=Math.pow(e/1e4,ds);return Math.pow((ps+hs*t)/(1+gs*t),Lf)}const Gs=e=>Math.max(e/$f,0),Vl=({i:e,t,p:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);const s=Ws(e+.008609037037932761*t+.11102962500302593*n),i=Ws(e-.00860903703793275*t-.11102962500302599*n),o=Ws(e+.5600313357106791*t-.32062717498731885*n),l={mode:"xyz65",x:Gs(2.070152218389422*s-1.3263473389671556*i+.2066510476294051*o),y:Gs(.3647385209748074*s+.680566024947227*i-.0453045459220346*o),z:Gs(-.049747207535812*s-.0492609666966138*i+1.1880659249923042*o)};return r!==void 0&&(l.alpha=r),l},Ys=(e=0)=>Math.max(e*$f,0),Bl=({x:e,y:t,z:n,alpha:r})=>{const s=Ys(e),i=Ys(t),o=Ys(n),l=Xs(.3592832590121217*s+.6976051147779502*i-.0358915932320289*o),a=Xs(-.1920808463704995*s+1.1004767970374323*i+.0753748658519118*o),f=Xs(.0070797844607477*s+.0748396662186366*i+.8433265453898765*o),c=.5*l+.5*a,u=1.61376953125*l-3.323486328125*a+1.709716796875*f,p=4.378173828125*l-4.24560546875*a-.132568359375*f,g={mode:"itp",i:c,t:u,p};return r!==void 0&&(g.alpha=r),g},gg={mode:"itp",channels:["i","t","p","alpha"],parse:["--ictcp"],serialize:"--ictcp",toMode:{xyz65:Vl,rgb:e=>sn(Vl(e))},fromMode:{xyz65:Bl,rgb:e=>Bl(rn(e))},ranges:{i:[0,.581],t:[-.369,.272],p:[-.164,.331]},interpolate:{i:D,t:D,p:D,alpha:{use:D,fixup:Ce}}},mg=134.03437499999998,bg=16295499532821565e-27,Zs=e=>{if(e<0)return 0;let t=Math.pow(e/1e4,ds);return Math.pow((ps+hs*t)/(1+gs*t),mg)},Js=(e=0)=>Math.max(e*203,0),Rf=({x:e,y:t,z:n,alpha:r})=>{e=Js(e),t=Js(t),n=Js(n);let s=1.15*e-.15*n,i=.66*t+.34*e,o=Zs(.41478972*s+.579999*i+.014648*n),l=Zs(-.20151*s+1.120649*i+.0531008*n),a=Zs(-.0166008*s+.2648*i+.6684799*n),f=(o+l)/2,c={mode:"jab",j:.44*f/(1-.56*f)-bg,a:3.524*o-4.066708*l+.542708*a,b:.199076*o+1.096799*l-1.295875*a};return r!==void 0&&(c.alpha=r),c},yg=134.03437499999998,Ul=16295499532821565e-27,Qs=e=>{if(e<0)return 0;let t=Math.pow(e,1/yg);return 1e4*Math.pow((ps-t)/(gs*t-hs),1/ds)},ei=e=>e/203,Nf=({j:e,a:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=(e+Ul)/(.44+.56*(e+Ul)),i=Qs(s+.13860504*t+.058047316*n),o=Qs(s-.13860504*t-.058047316*n),l=Qs(s-.096019242*t-.8118919*n),a={mode:"xyz65",x:ei(1.661373024652174*i-.914523081304348*o+.23136208173913045*l),y:ei(-.3250758611844533*i+1.571847026732543*o-.21825383453227928*l),z:ei(-.090982811*i-.31272829*o+1.5227666*l)};return r!==void 0&&(a.alpha=r),a},jf=e=>{let t=Rf(rn(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},Df=e=>sn(Nf(e)),vg={mode:"jab",channels:["j","a","b","alpha"],parse:["--jzazbz"],serialize:"--jzazbz",fromMode:{rgb:jf,xyz65:Rf},toMode:{rgb:Df,xyz65:Nf},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:D,a:D,b:D,alpha:{use:D,fixup:Ce}}},ql=({j:e,a:t,b:n,alpha:r})=>{t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.sqrt(t*t+n*n),i={mode:"jch",j:e,c:s};return s&&(i.h=Fe(Math.atan2(n,t)*180/Math.PI)),r!==void 0&&(i.alpha=r),i},Kl=({j:e,c:t,h:n,alpha:r})=>{n===void 0&&(n=0);let s={mode:"jab",j:e,a:t?t*Math.cos(n/180*Math.PI):0,b:t?t*Math.sin(n/180*Math.PI):0};return r!==void 0&&(s.alpha=r),s},xg={mode:"jch",parse:["--jzczhz"],serialize:"--jzczhz",toMode:{jab:Kl,rgb:e=>Df(Kl(e))},fromMode:{rgb:e=>ql(jf(e)),jab:ql},channels:["j","c","h","alpha"],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:D,fixup:Ot},c:D,j:D,alpha:{use:D,fixup:Ce}},difference:{h:cs},average:{h:Ct}},ms=Math.pow(29,3)/Math.pow(3,3),Mo=Math.pow(6,3)/Math.pow(29,3);let ti=e=>Math.pow(e,3)>Mo?Math.pow(e,3):(116*e-16)/ms;const _o=({l:e,a:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=(e+16)/116,i=t/500+s,o=s-n/200,l={mode:"xyz50",x:ti(i)*we.X,y:ti(s)*we.Y,z:ti(o)*we.Z};return r!==void 0&&(l.alpha=r),l},ur=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=wn({r:e*3.1341359569958707-t*1.6173863321612538-.4906619460083532*n,g:e*-.978795502912089+t*1.916254567259524+.03344273116131949*n,b:e*.07195537988411677-t*.2289768264158322+1.405386058324125*n});return r!==void 0&&(s.alpha=r),s},Ff=e=>ur(_o(e)),dr=e=>{let{r:t,g:n,b:r,alpha:s}=Tn(e),i={mode:"xyz50",x:.436065742824811*t+.3851514688337912*n+.14307845442264197*r,y:.22249319175623702*t+.7168870538238823*n+.06061979053616537*r,z:.013923904500943465*t+.09708128566574634*n+.7140993584005155*r};return s!==void 0&&(i.alpha=s),i},ni=e=>e>Mo?Math.cbrt(e):(ms*e+16)/116,So=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=ni(e/we.X),i=ni(t/we.Y),o=ni(n/we.Z),l={mode:"lab",l:116*i-16,a:500*(s-i),b:200*(i-o)};return r!==void 0&&(l.alpha=r),l},zf=e=>{let t=So(dr(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t};function Mg(e,t){if(!t||t[0]!=="lab")return;const n={mode:"lab"},[,r,s,i,o]=t;if(!(r.type===P.Hue||s.type===P.Hue||i.type===P.Hue))return r.type!==P.None&&(n.l=Math.min(Math.max(0,r.value),100)),s.type!==P.None&&(n.a=s.type===P.Number?s.value:s.value*125/100),i.type!==P.None&&(n.b=i.type===P.Number?i.value:i.value*125/100),o.type!==P.None&&(n.alpha=Math.min(1,Math.max(0,o.type===P.Number?o.value:o.value/100))),n}const To={mode:"lab",toMode:{xyz50:_o,rgb:Ff},fromMode:{xyz50:So,rgb:zf},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-100,100],b:[-100,100]},parse:[Mg],serialize:e=>`lab(${e.l!==void 0?e.l:"none"} ${e.a!==void 0?e.a:"none"} ${e.b!==void 0?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{l:D,a:D,b:D,alpha:{use:D,fixup:Ce}}},_g={...To,mode:"lab65",parse:["--lab-d65"],serialize:"--lab-d65",toMode:{xyz65:wf,rgb:fs},fromMode:{xyz65:Of,rgb:us},ranges:{l:[0,100],a:[-86.182,98.234],b:[-107.86,94.477]}};function Sg(e,t){if(!t||t[0]!=="lch")return;const n={mode:"lch"},[,r,s,i,o]=t;if(r.type!==P.None){if(r.type===P.Hue)return;n.l=Math.min(Math.max(0,r.value),100)}if(s.type!==P.None&&(n.c=Math.max(0,s.type===P.Number?s.value:s.value*150/100)),i.type!==P.None){if(i.type===P.Percentage)return;n.h=i.value}return o.type!==P.None&&(n.alpha=Math.min(1,Math.max(0,o.type===P.Number?o.value:o.value/100))),n}const wo={mode:"lch",toMode:{lab:zt,rgb:e=>Ff(zt(e))},fromMode:{rgb:e=>Ft(zf(e)),lab:Ft},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[Sg],serialize:e=>`lch(${e.l!==void 0?e.l:"none"} ${e.c!==void 0?e.c:"none"} ${e.h!==void 0?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,interpolate:{h:{use:D,fixup:Ot},c:D,l:D,alpha:{use:D,fixup:Ce}},difference:{h:cs},average:{h:Ct}},Tg={...wo,mode:"lch65",parse:["--lch-d65"],serialize:"--lch-d65",toMode:{lab65:e=>zt(e,"lab65"),rgb:e=>fs(zt(e,"lab65"))},fromMode:{rgb:e=>Ft(us(e),"lch65"),lab65:e=>Ft(e,"lch65")},ranges:{l:[0,100],c:[0,133.807],h:[0,360]}},Hf=({l:e,u:t,v:n,alpha:r})=>{t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.sqrt(t*t+n*n),i={mode:"lchuv",l:e,c:s};return s&&(i.h=Fe(Math.atan2(n,t)*180/Math.PI)),r!==void 0&&(i.alpha=r),i},Vf=({l:e,c:t,h:n,alpha:r})=>{n===void 0&&(n=0);let s={mode:"luv",l:e,u:t?t*Math.cos(n/180*Math.PI):0,v:t?t*Math.sin(n/180*Math.PI):0};return r!==void 0&&(s.alpha=r),s},Bf=(e,t,n)=>4*e/(e+15*t+3*n),Uf=(e,t,n)=>9*t/(e+15*t+3*n),wg=Bf(we.X,we.Y,we.Z),Og=Uf(we.X,we.Y,we.Z),Cg=e=>e<=Mo?ms*e:116*Math.cbrt(e)-16,Ni=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Cg(t/we.Y),i=Bf(e,t,n),o=Uf(e,t,n);!isFinite(i)||!isFinite(o)?s=i=o=0:(i=13*s*(i-wg),o=13*s*(o-Og));let l={mode:"luv",l:s,u:i,v:o};return r!==void 0&&(l.alpha=r),l},Ag=(e,t,n)=>4*e/(e+15*t+3*n),Eg=(e,t,n)=>9*t/(e+15*t+3*n),Ig=Ag(we.X,we.Y,we.Z),kg=Eg(we.X,we.Y,we.Z),ji=({l:e,u:t,v:n,alpha:r})=>{if(e===void 0&&(e=0),e===0)return{mode:"xyz50",x:0,y:0,z:0};t===void 0&&(t=0),n===void 0&&(n=0);let s=t/(13*e)+Ig,i=n/(13*e)+kg,o=we.Y*(e<=8?e/ms:Math.pow((e+16)/116,3)),l=o*(9*s)/(4*i),a=o*(12-3*s-20*i)/(4*i),f={mode:"xyz50",x:l,y:o,z:a};return r!==void 0&&(f.alpha=r),f},Pg=e=>Hf(Ni(dr(e))),$g=e=>ur(ji(Vf(e))),Lg={mode:"lchuv",toMode:{luv:Vf,rgb:$g},fromMode:{rgb:Pg,luv:Hf},channels:["l","c","h","alpha"],parse:["--lchuv"],serialize:"--lchuv",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:D,fixup:Ot},c:D,l:D,alpha:{use:D,fixup:Ce}},difference:{h:cs},average:{h:Ct}},Rg={...Sn,mode:"lrgb",toMode:{rgb:wn},fromMode:{rgb:Tn},parse:["srgb-linear"],serialize:"srgb-linear"},Ng={mode:"luv",toMode:{xyz50:ji,rgb:e=>ur(ji(e))},fromMode:{xyz50:Ni,rgb:e=>Ni(dr(e))},channels:["l","u","v","alpha"],parse:["--luv"],serialize:"--luv",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:D,u:D,v:D,alpha:{use:D,fixup:Ce}}},qf=({r:e,g:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.cbrt(.41222147079999993*e+.5363325363*t+.0514459929*n),i=Math.cbrt(.2119034981999999*e+.6806995450999999*t+.1073969566*n),o=Math.cbrt(.08830246189999998*e+.2817188376*t+.6299787005000002*n),l={mode:"oklab",l:.2104542553*s+.793617785*i-.0040720468*o,a:1.9779984951*s-2.428592205*i+.4505937099*o,b:.0259040371*s+.7827717662*i-.808675766*o};return r!==void 0&&(l.alpha=r),l},bs=e=>{let t=qf(Tn(e));return e.r===e.b&&e.b===e.g&&(t.a=t.b=0),t},pr=({l:e,a:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=Math.pow(e*.9999999984505198+.39633779217376786*t+.2158037580607588*n,3),i=Math.pow(e*1.0000000088817609-.10556134232365635*t-.06385417477170591*n,3),o=Math.pow(e*1.0000000546724108-.08948418209496575*t-1.2914855378640917*n,3),l={mode:"lrgb",r:4.076741661347994*s-3.307711590408193*i+.230969928729428*o,g:-1.2684380040921763*s+2.6097574006633715*i-.3413193963102197*o,b:-.004196086541837188*s-.7034186144594493*i+1.7076147009309444*o};return r!==void 0&&(l.alpha=r),l},ys=e=>wn(pr(e));function Di(e){const r=1.170873786407767;return .5*(r*e-.206+Math.sqrt((r*e-.206)*(r*e-.206)+4*.03*r*e))}function Wr(e){return(e*e+.206*e)/(1.170873786407767*(e+.03))}function jg(e,t){let n,r,s,i,o,l,a,f;-1.88170328*e-.80936493*t>1?(n=1.19086277,r=1.76576728,s=.59662641,i=.75515197,o=.56771245,l=4.0767416621,a=-3.3077115913,f=.2309699292):1.81444104*e-1.19445276*t>1?(n=.73956515,r=-.45954404,s=.08285427,i=.1254107,o=.14503204,l=-1.2684380046,a=2.6097574011,f=-.3413193965):(n=1.35733652,r=-.00915799,s=-1.1513021,i=-.50559606,o=.00692167,l=-.0041960863,a=-.7034186147,f=1.707614701);let c=n+r*e+s*t+i*e*e+o*e*t,u=.3963377774*e+.2158037573*t,p=-.1055613458*e-.0638541728*t,g=-.0894841775*e-1.291485548*t;{let m=1+c*u,y=1+c*p,M=1+c*g,b=m*m*m,x=y*y*y,_=M*M*M,S=3*u*m*m,R=3*p*y*y,F=3*g*M*M,z=6*u*u*m,H=6*p*p*y,T=6*g*g*M,E=l*b+a*x+f*_,O=l*S+a*R+f*F,k=l*z+a*H+f*T;c=c-E*O/(O*O-.5*E*k)}return c}function Oo(e,t){let n=jg(e,t),r=pr({l:1,a:n*e,b:n*t}),s=Math.cbrt(1/Math.max(r.r,r.g,r.b)),i=s*n;return[s,i]}function Dg(e,t,n,r,s,i=null){i||(i=Oo(e,t));let o;if((n-s)*i[1]-(i[0]-s)*r<=0)o=i[1]*s/(r*i[0]+i[1]*(s-n));else{o=i[1]*(s-1)/(r*(i[0]-1)+i[1]*(s-n));{let l=n-s,a=r,f=.3963377774*e+.2158037573*t,c=-.1055613458*e-.0638541728*t,u=-.0894841775*e-1.291485548*t,p=l+a*f,g=l+a*c,m=l+a*u;{let y=s*(1-o)+o*n,M=o*r,b=y+M*f,x=y+M*c,_=y+M*u,S=b*b*b,R=x*x*x,F=_*_*_,z=3*p*b*b,H=3*g*x*x,T=3*m*_*_,E=6*p*p*b,O=6*g*g*x,k=6*m*m*_,V=4.0767416621*S-3.3077115913*R+.2309699292*F-1,X=4.0767416621*z-3.3077115913*H+.2309699292*T,ee=4.0767416621*E-3.3077115913*O+.2309699292*k,Z=X/(X*X-.5*V*ee),J=-V*Z,G=-1.2684380046*S+2.6097574011*R-.3413193965*F-1,fe=-1.2684380046*z+2.6097574011*H-.3413193965*T,Ue=-1.2684380046*E+2.6097574011*O-.3413193965*k,he=fe/(fe*fe-.5*G*Ue),se=-G*he,ye=-.0041960863*S-.7034186147*R+1.707614701*F-1,xe=-.0041960863*z-.7034186147*H+1.707614701*T,qe=-.0041960863*E-.7034186147*O+1.707614701*k,$e=xe/(xe*xe-.5*ye*qe),ve=-ye*$e;J=Z>=0?J:1e6,se=he>=0?se:1e6,ve=$e>=0?ve:1e6,o+=Math.min(J,Math.min(se,ve))}}}return o}function Co(e,t,n=null){n||(n=Oo(e,t));let r=n[0],s=n[1];return[s/r,s/(1-r)]}function Kf(e,t,n){let r=Oo(t,n),s=Dg(t,n,e,1,e,r),i=Co(t,n,r),o=.11516993+1/(7.4477897+4.1590124*n+t*(-2.19557347+1.75198401*n+t*(-2.13704948-10.02301043*n+t*(-4.24894561+5.38770819*n+4.69891013*t)))),l=.11239642+1/(1.6132032-.68124379*n+t*(.40370612+.90148123*n+t*(-.27087943+.6122399*n+t*(.00299215-.45399568*n-.14661872*t)))),a=s/Math.min(e*i[0],(1-e)*i[1]),f=e*o,c=(1-e)*l,u=.9*a*Math.sqrt(Math.sqrt(1/(1/(f*f*f*f)+1/(c*c*c*c))));return f=e*.4,c=(1-e)*.8,[Math.sqrt(1/(1/(f*f)+1/(c*c))),u,s]}function Wl(e){const t=e.l!==void 0?e.l:0,n=e.a!==void 0?e.a:0,r=e.b!==void 0?e.b:0,s={mode:"okhsl",l:Di(t)};e.alpha!==void 0&&(s.alpha=e.alpha);let i=Math.sqrt(n*n+r*r);if(!i)return s.s=0,s;let[o,l,a]=Kf(t,n/i,r/i),f;if(i<l){let c=0,u=.8*o,p=1-u/l;f=(i-c)/(u+p*(i-c))*.8}else{let c=l,u=.2*l*l*1.25*1.25/o,p=1-u/(a-l);f=.8+.2*((i-c)/(u+p*(i-c)))}return f&&(s.s=f,s.h=Fe(Math.atan2(r,n)*180/Math.PI)),s}function Xl(e){let t=e.h!==void 0?e.h:0,n=e.s!==void 0?e.s:0,r=e.l!==void 0?e.l:0;const s={mode:"oklab",l:Wr(r)};if(e.alpha!==void 0&&(s.alpha=e.alpha),!n||r===1)return s.a=s.b=0,s;let i=Math.cos(t/180*Math.PI),o=Math.sin(t/180*Math.PI),[l,a,f]=Kf(s.l,i,o),c,u,p,g;n<.8?(c=1.25*n,u=0,p=.8*l,g=1-p/a):(c=5*(n-.8),u=a,p=.2*a*a*1.25*1.25/l,g=1-p/(f-a));let m=u+c*p/(1-g*c);return s.a=m*i,s.b=m*o,s}const Fg={...Ef,mode:"okhsl",channels:["h","s","l","alpha"],parse:["--okhsl"],serialize:"--okhsl",fromMode:{oklab:Wl,rgb:e=>Wl(bs(e))},toMode:{oklab:Xl,rgb:e=>ys(Xl(e))}};function Gl(e){let t=e.l!==void 0?e.l:0,n=e.a!==void 0?e.a:0,r=e.b!==void 0?e.b:0,s=Math.sqrt(n*n+r*r),i=s?n/s:1,o=s?r/s:1,[l,a]=Co(i,o),f=.5,c=1-f/l,u=a/(s+t*a),p=u*t,g=u*s,m=Wr(p),y=g*m/p,M=pr({l:m,a:i*y,b:o*y}),b=Math.cbrt(1/Math.max(M.r,M.g,M.b,0));t=t/b,s=s/b*Di(t)/t,t=Di(t);const x={mode:"okhsv",s:s?(f+a)*g/(a*f+a*c*g):0,v:t?t/p:0};return x.s&&(x.h=Fe(Math.atan2(r,n)*180/Math.PI)),e.alpha!==void 0&&(x.alpha=e.alpha),x}function Yl(e){const t={mode:"oklab"};e.alpha!==void 0&&(t.alpha=e.alpha);const n=e.h!==void 0?e.h:0,r=e.s!==void 0?e.s:0,s=e.v!==void 0?e.v:0,i=Math.cos(n/180*Math.PI),o=Math.sin(n/180*Math.PI),[l,a]=Co(i,o),f=.5,c=1-f/l,u=1-r*f/(f+a-a*c*r),p=r*a*f/(f+a-a*c*r),g=Wr(u),m=p*g/u,y=pr({l:g,a:i*m,b:o*m}),M=Math.cbrt(1/Math.max(y.r,y.g,y.b,0)),b=Wr(s*u),x=p*b/u;return t.l=b*M,t.a=x*i*M,t.b=x*o*M,t}const zg={...Pf,mode:"okhsv",channels:["h","s","v","alpha"],parse:["--okhsv"],serialize:"--okhsv",fromMode:{oklab:Gl,rgb:e=>Gl(bs(e))},toMode:{oklab:Yl,rgb:e=>ys(Yl(e))}};function Hg(e,t){if(!t||t[0]!=="oklab")return;const n={mode:"oklab"},[,r,s,i,o]=t;if(!(r.type===P.Hue||s.type===P.Hue||i.type===P.Hue))return r.type!==P.None&&(n.l=Math.min(Math.max(0,r.type===P.Number?r.value:r.value/100),1)),s.type!==P.None&&(n.a=s.type===P.Number?s.value:s.value*.4/100),i.type!==P.None&&(n.b=i.type===P.Number?i.value:i.value*.4/100),o.type!==P.None&&(n.alpha=Math.min(1,Math.max(0,o.type===P.Number?o.value:o.value/100))),n}const Vg={...To,mode:"oklab",toMode:{lrgb:pr,rgb:ys},fromMode:{lrgb:qf,rgb:bs},ranges:{l:[0,1],a:[-.4,.4],b:[-.4,.4]},parse:[Hg],serialize:e=>`oklab(${e.l!==void 0?e.l:"none"} ${e.a!==void 0?e.a:"none"} ${e.b!==void 0?e.b:"none"}${e.alpha<1?` / ${e.alpha}`:""})`};function Bg(e,t){if(!t||t[0]!=="oklch")return;const n={mode:"oklch"},[,r,s,i,o]=t;if(r.type!==P.None){if(r.type===P.Hue)return;n.l=Math.min(Math.max(0,r.type===P.Number?r.value:r.value/100),1)}if(s.type!==P.None&&(n.c=Math.max(0,s.type===P.Number?s.value:s.value*.4/100)),i.type!==P.None){if(i.type===P.Percentage)return;n.h=i.value}return o.type!==P.None&&(n.alpha=Math.min(1,Math.max(0,o.type===P.Number?o.value:o.value/100))),n}const Ug={...wo,mode:"oklch",toMode:{oklab:e=>zt(e,"oklab"),rgb:e=>ys(zt(e,"oklab"))},fromMode:{rgb:e=>Ft(bs(e),"oklch"),oklab:e=>Ft(e,"oklch")},parse:[Bg],serialize:e=>`oklch(${e.l!==void 0?e.l:"none"} ${e.c!==void 0?e.c:"none"} ${e.h!==void 0?e.h:"none"}${e.alpha<1?` / ${e.alpha}`:""})`,ranges:{l:[0,1],c:[0,.4],h:[0,360]}},Zl=e=>{let{r:t,g:n,b:r,alpha:s}=Tn(e),i={mode:"xyz65",x:.486570948648216*t+.265667693169093*n+.1982172852343625*r,y:.2289745640697487*t+.6917385218365062*n+.079286914093745*r,z:0*t+.0451133818589026*n+1.043944368900976*r};return s!==void 0&&(i.alpha=s),i},Jl=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s=wn({r:e*2.4934969119414263-t*.9313836179191242-.402710784450717*n,g:e*-.8294889695615749+t*1.7626640603183465+.0236246858419436*n,b:e*.0358458302437845-t*.0761723892680418+.9568845240076871*n},"p3");return r!==void 0&&(s.alpha=r),s},qg={...Sn,mode:"p3",parse:["display-p3"],serialize:"display-p3",fromMode:{rgb:e=>Jl(rn(e)),xyz65:Jl},toMode:{rgb:e=>sn(Zl(e)),xyz65:Zl}},ri=e=>{let t=Math.abs(e);return t>=1/512?Math.sign(e)*Math.pow(t,1/1.8):16*e},Ql=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s={mode:"prophoto",r:ri(e*1.3457868816471585-t*.2555720873797946-.0511018649755453*n),g:ri(e*-.5446307051249019+t*1.5082477428451466+.0205274474364214*n),b:ri(e*0+t*0+1.2119675456389452*n)};return r!==void 0&&(s.alpha=r),s},si=(e=0)=>{let t=Math.abs(e);return t>=16/512?Math.sign(e)*Math.pow(t,1.8):e/16},ea=e=>{let t=si(e.r),n=si(e.g),r=si(e.b),s={mode:"xyz50",x:.7977666449006423*t+.1351812974005331*n+.0313477341283922*r,y:.2880748288194013*t+.7118352342418731*n+899369387256e-16*r,z:0*t+0*n+.8251046025104602*r};return e.alpha!==void 0&&(s.alpha=e.alpha),s},Kg={...Sn,mode:"prophoto",parse:["prophoto-rgb"],serialize:"prophoto-rgb",fromMode:{xyz50:Ql,rgb:e=>Ql(dr(e))},toMode:{xyz50:ea,rgb:e=>ur(ea(e))}},ta=1.09929682680944,Wg=.018053968510807,ii=e=>{const t=Math.abs(e);return t>Wg?(Math.sign(e)||1)*(ta*Math.pow(t,.45)-(ta-1)):4.5*e},na=({x:e,y:t,z:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);let s={mode:"rec2020",r:ii(e*1.7166511879712683-t*.3556707837763925-.2533662813736599*n),g:ii(e*-.6666843518324893+t*1.6164812366349395+.0157685458139111*n),b:ii(e*.0176398574453108-t*.0427706132578085+.9421031212354739*n)};return r!==void 0&&(s.alpha=r),s},ra=1.09929682680944,Xg=.018053968510807,oi=(e=0)=>{let t=Math.abs(e);return t<Xg*4.5?e/4.5:(Math.sign(e)||1)*Math.pow((t+ra-1)/ra,1/.45)},sa=e=>{let t=oi(e.r),n=oi(e.g),r=oi(e.b),s={mode:"xyz65",x:.6369580483012911*t+.1446169035862083*n+.1688809751641721*r,y:.262700212011267*t+.6779980715188708*n+.059301716469862*r,z:0*t+.0280726930490874*n+1.0609850577107909*r};return e.alpha!==void 0&&(s.alpha=e.alpha),s},Gg={...Sn,mode:"rec2020",fromMode:{xyz65:na,rgb:e=>na(rn(e))},toMode:{xyz65:sa,rgb:e=>sn(sa(e))},parse:["rec2020"],serialize:"rec2020"},Qt=.0037930732552754493,Wf=Math.cbrt(Qt),li=e=>Math.cbrt(e)-Wf,Yg=e=>{const{r:t,g:n,b:r,alpha:s}=Tn(e),i=li(.3*t+.622*n+.078*r+Qt),o=li(.23*t+.692*n+.078*r+Qt),l=li(.2434226892454782*t+.2047674442449682*n+.5518098665095535*r+Qt),a={mode:"xyb",x:(i-o)/2,y:(i+o)/2,b:l-(i+o)/2};return s!==void 0&&(a.alpha=s),a},ai=e=>Math.pow(e+Wf,3),Zg=({x:e,y:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);const s=ai(e+t)-Qt,i=ai(t-e)-Qt,o=ai(n+t)-Qt,l=wn({r:11.031566904639861*s-9.866943908131562*i-.16462299650829934*o,g:-3.2541473810744237*s+4.418770377582723*i-.16462299650829934*o,b:-3.6588512867136815*s+2.7129230459360922*i+1.9459282407775895*o});return r!==void 0&&(l.alpha=r),l},Jg={mode:"xyb",channels:["x","y","b","alpha"],parse:["--xyb"],serialize:"--xyb",toMode:{rgb:Zg},fromMode:{rgb:Yg},ranges:{x:[-.0154,.0281],y:[0,.8453],b:[-.2778,.388]},interpolate:{x:D,y:D,b:D,alpha:{use:D,fixup:Ce}}},Qg={mode:"xyz50",parse:["xyz-d50"],serialize:"xyz-d50",toMode:{rgb:ur,lab:So},fromMode:{rgb:dr,lab:_o},channels:["x","y","z","alpha"],ranges:{x:[0,.964],y:[0,.999],z:[0,.825]},interpolate:{x:D,y:D,z:D,alpha:{use:D,fixup:Ce}}},em=e=>{let{x:t,y:n,z:r,alpha:s}=e;t===void 0&&(t=0),n===void 0&&(n=0),r===void 0&&(r=0);let i={mode:"xyz50",x:1.0479298208405488*t+.0229467933410191*n-.0501922295431356*r,y:.0296278156881593*t+.990434484573249*n-.0170738250293851*r,z:-.0092430581525912*t+.0150551448965779*n+.7518742899580008*r};return s!==void 0&&(i.alpha=s),i},tm=e=>{let{x:t,y:n,z:r,alpha:s}=e;t===void 0&&(t=0),n===void 0&&(n=0),r===void 0&&(r=0);let i={mode:"xyz65",x:.9554734527042182*t-.0230985368742614*n+.0632593086610217*r,y:-.0283697069632081*t+1.0099954580058226*n+.021041398966943*r,z:.0123140016883199*t-.0205076964334779*n+1.3303659366080753*r};return s!==void 0&&(i.alpha=s),i},nm={mode:"xyz65",toMode:{rgb:sn,xyz50:em},fromMode:{rgb:rn,xyz50:tm},ranges:{x:[0,.95],y:[0,1],z:[0,1.088]},channels:["x","y","z","alpha"],parse:["xyz","xyz-d65"],serialize:"xyz-d65",interpolate:{x:D,y:D,z:D,alpha:{use:D,fixup:Ce}}},rm=({r:e,g:t,b:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);const s={mode:"yiq",y:.29889531*e+.58662247*t+.11448223*n,i:.59597799*e-.2741761*t-.32180189*n,q:.21147017*e-.52261711*t+.31114694*n};return r!==void 0&&(s.alpha=r),s},sm=({y:e,i:t,q:n,alpha:r})=>{e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=0);const s={mode:"rgb",r:e+.95608445*t+.6208885*n,g:e-.27137664*t-.6486059*n,b:e-1.10561724*t+1.70250126*n};return r!==void 0&&(s.alpha=r),s},im={mode:"yiq",toMode:{rgb:sm},fromMode:{rgb:rm},channels:["y","i","q","alpha"],parse:["--yiq"],serialize:"--yiq",ranges:{i:[-.595,.595],q:[-.522,.522]},interpolate:{y:D,i:D,q:D,alpha:{use:D,fixup:Ce}}},om=(e,t)=>Math.round(e*(t=Math.pow(10,t)))/t,lm=(e=4)=>t=>typeof t=="number"?om(t,e):t;let am=lm(2);const Xf=e=>Math.max(0,Math.min(1,e||0)),ci=e=>Math.round(Xf(e)*255),cm=xo("rgb"),fm=e=>{if(e===void 0)return;let t=ci(e.r),n=ci(e.g),r=ci(e.b);return e.alpha===void 0||e.alpha===1?`rgb(${t}, ${n}, ${r})`:`rgba(${t}, ${n}, ${r}, ${am(Xf(e.alpha))})`},um=e=>fm(cm(e));ae(K1);ae(Q1);ae(eg);ae(tg);ae(sg);ae(Ef);ae(Pf);ae(hg);ae(gg);ae(vg);ae(xg);ae(To);ae(_g);ae(wo);ae(Tg);ae(Lg);ae(Rg);ae(Ng);ae(Fg);ae(zg);ae(Vg);const dm=ae(Ug);ae(qg);ae(Kg);ae(Gg);ae(Sn);ae(Jg);ae(Qg);ae(nm);ae(im);function pm(e){return Object.prototype.toString.call(e)==="[object Object]"}function ia(e){return pm(e)||Array.isArray(e)}function hm(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Ao(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const s=JSON.stringify(Object.keys(e.breakpoints||{})),i=JSON.stringify(Object.keys(t.breakpoints||{}));return s!==i?!1:n.every(o=>{const l=e[o],a=t[o];return typeof l=="function"?`${l}`==`${a}`:!ia(l)||!ia(a)?l===a:Ao(l,a)})}function oa(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function gm(e,t){if(e.length!==t.length)return!1;const n=oa(e),r=oa(t);return n.every((s,i)=>{const o=r[i];return Ao(s,o)})}function Eo(e){return typeof e=="number"}function Fi(e){return typeof e=="string"}function vs(e){return typeof e=="boolean"}function la(e){return Object.prototype.toString.call(e)==="[object Object]"}function be(e){return Math.abs(e)}function Io(e){return Math.sign(e)}function Bn(e,t){return be(e-t)}function mm(e,t){if(e===0||t===0||be(e)<=be(t))return 0;const n=Bn(be(e),be(t));return be(n/e)}function bm(e){return Math.round(e*100)/100}function nr(e){return rr(e).map(Number)}function lt(e){return e[hr(e)]}function hr(e){return Math.max(0,e.length-1)}function ko(e,t){return t===hr(e)}function aa(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function rr(e){return Object.keys(e)}function Gf(e,t){return[e,t].reduce((n,r)=>(rr(r).forEach(s=>{const i=n[s],o=r[s],l=la(i)&&la(o);n[s]=l?Gf(i,o):o}),n),{})}function zi(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function ym(e,t){const n={start:r,center:s,end:i};function r(){return 0}function s(a){return i(a)/2}function i(a){return t-a}function o(a,f){return Fi(e)?n[e](a):e(t,a,f)}return{measure:o}}function sr(){let e=[];function t(s,i,o,l={passive:!0}){let a;if("addEventListener"in s)s.addEventListener(i,o,l),a=()=>s.removeEventListener(i,o,l);else{const f=s;f.addListener(o),a=()=>f.removeListener(o)}return e.push(a),r}function n(){e=e.filter(s=>s())}const r={add:t,clear:n};return r}function vm(e,t,n,r){const s=sr(),i=1e3/60;let o=null,l=0,a=0;function f(){s.add(e,"visibilitychange",()=>{e.hidden&&m()})}function c(){g(),s.clear()}function u(M){if(!a)return;o||(o=M,n(),n());const b=M-o;for(o=M,l+=b;l>=i;)n(),l-=i;const x=l/i;r(x),a&&(a=t.requestAnimationFrame(u))}function p(){a||(a=t.requestAnimationFrame(u))}function g(){t.cancelAnimationFrame(a),o=null,l=0,a=0}function m(){o=null,l=0}return{init:f,destroy:c,start:p,stop:g,update:n,render:r}}function xm(e,t){const n=t==="rtl",r=e==="y",s=r?"y":"x",i=r?"x":"y",o=!r&&n?-1:1,l=c(),a=u();function f(m){const{height:y,width:M}=m;return r?y:M}function c(){return r?"top":n?"right":"left"}function u(){return r?"bottom":n?"left":"right"}function p(m){return m*o}return{scroll:s,cross:i,startEdge:l,endEdge:a,measureSize:f,direction:p}}function en(e=0,t=0){const n=be(e-t);function r(f){return f<e}function s(f){return f>t}function i(f){return r(f)||s(f)}function o(f){return i(f)?r(f)?e:t:f}function l(f){return n?f-n*Math.ceil((f-t)/n):f}return{length:n,max:t,min:e,constrain:o,reachedAny:i,reachedMax:s,reachedMin:r,removeOffset:l}}function Yf(e,t,n){const{constrain:r}=en(0,e),s=e+1;let i=o(t);function o(p){return n?be((s+p)%s):r(p)}function l(){return i}function a(p){return i=o(p),u}function f(p){return c().set(l()+p)}function c(){return Yf(e,l(),n)}const u={get:l,set:a,add:f,clone:c};return u}function Mm(e,t,n,r,s,i,o,l,a,f,c,u,p,g,m,y,M,b,x){const{cross:_,direction:S}=e,R=["INPUT","SELECT","TEXTAREA"],F={passive:!1},z=sr(),H=sr(),T=en(50,225).constrain(g.measure(20)),E={mouse:300,touch:400},O={mouse:500,touch:600},k=m?43:25;let V=!1,X=0,ee=0,Z=!1,J=!1,G=!1,fe=!1;function Ue(d){if(!x)return;function h(C){(vs(x)||x(d,C))&&$e(C)}const v=t;z.add(v,"dragstart",C=>C.preventDefault(),F).add(v,"touchmove",()=>{},F).add(v,"touchend",()=>{}).add(v,"touchstart",h).add(v,"mousedown",h).add(v,"touchcancel",Oe).add(v,"contextmenu",Oe).add(v,"click",et,!0)}function he(){z.clear(),H.clear()}function se(){const d=fe?n:t;H.add(d,"touchmove",ve,F).add(d,"touchend",Oe).add(d,"mousemove",ve,F).add(d,"mouseup",Oe)}function ye(d){const h=d.nodeName||"";return R.includes(h)}function xe(){return(m?O:E)[fe?"mouse":"touch"]}function qe(d,h){const v=u.add(Io(d)*-1),C=c.byDistance(d,!m).distance;return m||be(d)<T?C:M&&h?C*.5:c.byIndex(v.get(),0).distance}function $e(d){const h=zi(d,r);fe=h,G=m&&h&&!d.buttons&&V,V=Bn(s.get(),o.get())>=2,!(h&&d.button!==0)&&(ye(d.target)||(Z=!0,i.pointerDown(d),f.useFriction(0).useDuration(0),s.set(o),se(),X=i.readPoint(d),ee=i.readPoint(d,_),p.emit("pointerDown")))}function ve(d){if(!zi(d,r)&&d.touches.length>=2)return Oe(d);const v=i.readPoint(d),C=i.readPoint(d,_),w=Bn(v,X),A=Bn(C,ee);if(!J&&!fe&&(!d.cancelable||(J=w>A,!J)))return Oe(d);const N=i.pointerMove(d);w>y&&(G=!0),f.useFriction(.3).useDuration(.75),l.start(),s.add(S(N)),d.preventDefault()}function Oe(d){const v=c.byDistance(0,!1).index!==u.get(),C=i.pointerUp(d)*xe(),w=qe(S(C),v),A=mm(C,w),N=k-10*A,L=b+A/50;J=!1,Z=!1,H.clear(),f.useDuration(N).useFriction(L),a.distance(w,!m),fe=!1,p.emit("pointerUp")}function et(d){G&&(d.stopPropagation(),d.preventDefault(),G=!1)}function Ae(){return Z}return{init:Ue,destroy:he,pointerDown:Ae}}function _m(e,t){let r,s;function i(u){return u.timeStamp}function o(u,p){const m=`client${(p||e.scroll)==="x"?"X":"Y"}`;return(zi(u,t)?u:u.touches[0])[m]}function l(u){return r=u,s=u,o(u)}function a(u){const p=o(u)-o(s),g=i(u)-i(r)>170;return s=u,g&&(r=u),p}function f(u){if(!r||!s)return 0;const p=o(s)-o(r),g=i(u)-i(r),m=i(u)-i(s)>170,y=p/g;return g&&!m&&be(y)>.1?y:0}return{pointerDown:l,pointerMove:a,pointerUp:f,readPoint:o}}function Sm(){function e(n){const{offsetTop:r,offsetLeft:s,offsetWidth:i,offsetHeight:o}=n;return{top:r,right:s+i,bottom:r+o,left:s,width:i,height:o}}return{measure:e}}function Tm(e){function t(r){return e*(r/100)}return{measure:t}}function wm(e,t,n,r,s,i,o){const l=[e].concat(r);let a,f,c=[],u=!1;function p(M){return s.measureSize(o.measure(M))}function g(M){if(!i)return;f=p(e),c=r.map(p);function b(x){for(const _ of x){if(u)return;const S=_.target===e,R=r.indexOf(_.target),F=S?f:c[R],z=p(S?e:r[R]);if(be(z-F)>=.5){M.reInit(),t.emit("resize");break}}}a=new ResizeObserver(x=>{(vs(i)||i(M,x))&&b(x)}),n.requestAnimationFrame(()=>{l.forEach(x=>a.observe(x))})}function m(){u=!0,a&&a.disconnect()}return{init:g,destroy:m}}function Om(e,t,n,r,s,i){let o=0,l=0,a=s,f=i,c=e.get(),u=0;function p(){const F=r.get()-e.get(),z=!a;let H=0;return z?(o=0,n.set(r),e.set(r),H=F):(n.set(e),o+=F/a,o*=f,c+=o,e.add(o),H=c-u),l=Io(H),u=c,R}function g(){const F=r.get()-t.get();return be(F)<.001}function m(){return a}function y(){return l}function M(){return o}function b(){return _(s)}function x(){return S(i)}function _(F){return a=F,R}function S(F){return f=F,R}const R={direction:y,duration:m,velocity:M,seek:p,settled:g,useBaseFriction:x,useBaseDuration:b,useFriction:S,useDuration:_};return R}function Cm(e,t,n,r,s){const i=s.measure(10),o=s.measure(50),l=en(.1,.99);let a=!1;function f(){return!(a||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function c(g){if(!f())return;const m=e.reachedMin(t.get())?"min":"max",y=be(e[m]-t.get()),M=n.get()-t.get(),b=l.constrain(y/o);n.subtract(M*b),!g&&be(M)<i&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function u(g){a=!g}return{shouldConstrain:f,constrain:c,toggleActive:u}}function Am(e,t,n,r,s){const i=en(-t+e,0),o=u(),l=c(),a=p();function f(m,y){return Bn(m,y)<=1}function c(){const m=o[0],y=lt(o),M=o.lastIndexOf(m),b=o.indexOf(y)+1;return en(M,b)}function u(){return n.map((m,y)=>{const{min:M,max:b}=i,x=i.constrain(m),_=!y,S=ko(n,y);return _?b:S||f(M,x)?M:f(b,x)?b:x}).map(m=>parseFloat(m.toFixed(3)))}function p(){if(t<=e+s)return[i.max];if(r==="keepSnaps")return o;const{min:m,max:y}=l;return o.slice(m,y)}return{snapsContained:a,scrollContainLimit:l}}function Em(e,t,n){const r=t[0],s=n?r-e:lt(t);return{limit:en(s,r)}}function Im(e,t,n,r){const i=t.min+.1,o=t.max+.1,{reachedMin:l,reachedMax:a}=en(i,o);function f(p){return p===1?a(n.get()):p===-1?l(n.get()):!1}function c(p){if(!f(p))return;const g=e*(p*-1);r.forEach(m=>m.add(g))}return{loop:c}}function km(e){const{max:t,length:n}=e;function r(i){const o=i-t;return n?o/-n:0}return{get:r}}function Pm(e,t,n,r,s){const{startEdge:i,endEdge:o}=e,{groupSlides:l}=s,a=u().map(t.measure),f=p(),c=g();function u(){return l(r).map(y=>lt(y)[o]-y[0][i]).map(be)}function p(){return r.map(y=>n[i]-y[i]).map(y=>-be(y))}function g(){return l(f).map(y=>y[0]).map((y,M)=>y+a[M])}return{snaps:f,snapsAligned:c}}function $m(e,t,n,r,s,i){const{groupSlides:o}=s,{min:l,max:a}=r,f=c();function c(){const p=o(i),g=!e||t==="keepSnaps";return n.length===1?[i]:g?p:p.slice(l,a).map((m,y,M)=>{const b=!y,x=ko(M,y);if(b){const _=lt(M[0])+1;return aa(_)}if(x){const _=hr(i)-lt(M)[0]+1;return aa(_,lt(M)[0])}return m})}return{slideRegistry:f}}function Lm(e,t,n,r,s){const{reachedAny:i,removeOffset:o,constrain:l}=r;function a(m){return m.concat().sort((y,M)=>be(y)-be(M))[0]}function f(m){const y=e?o(m):l(m),M=t.map((x,_)=>({diff:c(x-y,0),index:_})).sort((x,_)=>be(x.diff)-be(_.diff)),{index:b}=M[0];return{index:b,distance:y}}function c(m,y){const M=[m,m+n,m-n];if(!e)return m;if(!y)return a(M);const b=M.filter(x=>Io(x)===y);return b.length?a(b):lt(M)-n}function u(m,y){const M=t[m]-s.get(),b=c(M,y);return{index:m,distance:b}}function p(m,y){const M=s.get()+m,{index:b,distance:x}=f(M),_=!e&&i(M);if(!y||_)return{index:b,distance:m};const S=t[b]-x,R=m+c(S,0);return{index:b,distance:R}}return{byDistance:p,byIndex:u,shortcut:c}}function Rm(e,t,n,r,s,i,o){function l(u){const p=u.distance,g=u.index!==t.get();i.add(p),p&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),g&&(n.set(t.get()),t.set(u.index),o.emit("select"))}function a(u,p){const g=s.byDistance(u,p);l(g)}function f(u,p){const g=t.clone().set(u),m=s.byIndex(g.get(),p);l(m)}return{distance:a,index:f}}function Nm(e,t,n,r,s,i,o,l){const a={passive:!0,capture:!0};let f=0;function c(g){if(!l)return;function m(y){if(new Date().getTime()-f>10)return;o.emit("slideFocusStart"),e.scrollLeft=0;const x=n.findIndex(_=>_.includes(y));Eo(x)&&(s.useDuration(0),r.index(x,0),o.emit("slideFocus"))}i.add(document,"keydown",u,!1),t.forEach((y,M)=>{i.add(y,"focus",b=>{(vs(l)||l(g,b))&&m(M)},a)})}function u(g){g.code==="Tab"&&(f=new Date().getTime())}return{init:c}}function kn(e){let t=e;function n(){return t}function r(a){t=o(a)}function s(a){t+=o(a)}function i(a){t-=o(a)}function o(a){return Eo(a)?a:a.get()}return{get:n,set:r,add:s,subtract:i}}function Zf(e,t){const n=e.scroll==="x"?o:l,r=t.style;let s=null,i=!1;function o(p){return`translate3d(${p}px,0px,0px)`}function l(p){return`translate3d(0px,${p}px,0px)`}function a(p){if(i)return;const g=bm(e.direction(p));g!==s&&(r.transform=n(g),s=g)}function f(p){i=!p}function c(){i||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:c,to:a,toggleActive:f}}function jm(e,t,n,r,s,i,o,l,a){const c=nr(s),u=nr(s).reverse(),p=b().concat(x());function g(z,H){return z.reduce((T,E)=>T-s[E],H)}function m(z,H){return z.reduce((T,E)=>g(T,H)>0?T.concat([E]):T,[])}function y(z){return i.map((H,T)=>({start:H-r[T]+.5+z,end:H+t-.5+z}))}function M(z,H,T){const E=y(H);return z.map(O=>{const k=T?0:-n,V=T?n:0,X=T?"end":"start",ee=E[O][X];return{index:O,loopPoint:ee,slideLocation:kn(-1),translate:Zf(e,a[O]),target:()=>l.get()>ee?k:V}})}function b(){const z=o[0],H=m(u,z);return M(H,n,!1)}function x(){const z=t-o[0]-1,H=m(c,z);return M(H,-n,!0)}function _(){return p.every(({index:z})=>{const H=c.filter(T=>T!==z);return g(H,t)<=.1})}function S(){p.forEach(z=>{const{target:H,translate:T,slideLocation:E}=z,O=H();O!==E.get()&&(T.to(O),E.set(O))})}function R(){p.forEach(z=>z.translate.clear())}return{canLoop:_,clear:R,loop:S,loopPoints:p}}function Dm(e,t,n){let r,s=!1;function i(a){if(!n)return;function f(c){for(const u of c)if(u.type==="childList"){a.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(c=>{s||(vs(n)||n(a,c))&&f(c)}),r.observe(e,{childList:!0})}function o(){r&&r.disconnect(),s=!0}return{init:i,destroy:o}}function Fm(e,t,n,r){const s={};let i=null,o=null,l,a=!1;function f(){l=new IntersectionObserver(m=>{a||(m.forEach(y=>{const M=t.indexOf(y.target);s[M]=y}),i=null,o=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(m=>l.observe(m))}function c(){l&&l.disconnect(),a=!0}function u(m){return rr(s).reduce((y,M)=>{const b=parseInt(M),{isIntersecting:x}=s[b];return(m&&x||!m&&!x)&&y.push(b),y},[])}function p(m=!0){if(m&&i)return i;if(!m&&o)return o;const y=u(m);return m&&(i=y),m||(o=y),y}return{init:f,destroy:c,get:p}}function zm(e,t,n,r,s,i){const{measureSize:o,startEdge:l,endEdge:a}=e,f=n[0]&&s,c=m(),u=y(),p=n.map(o),g=M();function m(){if(!f)return 0;const x=n[0];return be(t[l]-x[l])}function y(){if(!f)return 0;const x=i.getComputedStyle(lt(r));return parseFloat(x.getPropertyValue(`margin-${a}`))}function M(){return n.map((x,_,S)=>{const R=!_,F=ko(S,_);return R?p[_]+c:F?p[_]+u:S[_+1][l]-x[l]}).map(be)}return{slideSizes:p,slideSizesWithGaps:g,startGap:c,endGap:u}}function Hm(e,t,n,r,s,i,o,l,a){const{startEdge:f,endEdge:c,direction:u}=e,p=Eo(n);function g(b,x){return nr(b).filter(_=>_%x===0).map(_=>b.slice(_,_+x))}function m(b){return b.length?nr(b).reduce((x,_,S)=>{const R=lt(x)||0,F=R===0,z=_===hr(b),H=s[f]-i[R][f],T=s[f]-i[_][c],E=!r&&F?u(o):0,O=!r&&z?u(l):0,k=be(T-O-(H+E));return S&&k>t+a&&x.push(_),z&&x.push(b.length),x},[]).map((x,_,S)=>{const R=Math.max(S[_-1]||0);return b.slice(R,x)}):[]}function y(b){return p?g(b,n):m(b)}return{groupSlides:y}}function Vm(e,t,n,r,s,i,o){const{align:l,axis:a,direction:f,startIndex:c,loop:u,duration:p,dragFree:g,dragThreshold:m,inViewThreshold:y,slidesToScroll:M,skipSnaps:b,containScroll:x,watchResize:_,watchSlides:S,watchDrag:R,watchFocus:F}=i,z=2,H=Sm(),T=H.measure(t),E=n.map(H.measure),O=xm(a,f),k=O.measureSize(T),V=Tm(k),X=ym(l,k),ee=!u&&!!x,Z=u||!!x,{slideSizes:J,slideSizesWithGaps:G,startGap:fe,endGap:Ue}=zm(O,T,E,n,Z,s),he=Hm(O,k,M,u,T,E,fe,Ue,z),{snaps:se,snapsAligned:ye}=Pm(O,X,T,E,he),xe=-lt(se)+lt(G),{snapsContained:qe,scrollContainLimit:$e}=Am(k,xe,ye,x,z),ve=ee?qe:ye,{limit:Oe}=Em(xe,ve,u),et=Yf(hr(ve),c,u),Ae=et.clone(),ge=nr(n),d=({dragHandler:Me,scrollBody:Ge,scrollBounds:Ye,options:{loop:ct}})=>{ct||Ye.constrain(Me.pointerDown()),Ge.seek()},h=({scrollBody:Me,translate:Ge,location:Ye,offsetLocation:ct,previousLocation:gr,scrollLooper:Ke,slideLooper:tt,dragHandler:mr,animation:Qf,eventHandler:$o,scrollBounds:eu,options:{loop:Lo}},Ro)=>{const No=Me.settled(),tu=!eu.shouldConstrain(),jo=Lo?No:No&&tu,Do=jo&&!mr.pointerDown();Do&&Qf.stop();const nu=Ye.get()*Ro+gr.get()*(1-Ro);ct.set(nu),Lo&&(Ke.loop(Me.direction()),tt.loop()),Ge.to(ct.get()),Do&&$o.emit("settle"),jo||$o.emit("scroll")},v=vm(r,s,()=>d(Le),Me=>h(Le,Me)),C=.68,w=ve[et.get()],A=kn(w),N=kn(w),L=kn(w),$=kn(w),I=Om(A,L,N,$,p,C),U=Lm(u,ve,xe,Oe,$),j=Rm(v,et,Ae,I,U,$,o),B=km(Oe),K=sr(),te=Fm(t,n,o,y),{slideRegistry:ce}=$m(ee,x,ve,$e,he,ge),ie=Nm(e,n,ce,j,I,K,o,F),Le={ownerDocument:r,ownerWindow:s,eventHandler:o,containerRect:T,slideRects:E,animation:v,axis:O,dragHandler:Mm(O,e,r,s,$,_m(O,s),A,v,j,I,U,et,o,V,g,m,b,C,R),eventStore:K,percentOfView:V,index:et,indexPrevious:Ae,limit:Oe,location:A,offsetLocation:L,previousLocation:N,options:i,resizeHandler:wm(t,o,s,n,O,_,H),scrollBody:I,scrollBounds:Cm(Oe,L,$,I,V),scrollLooper:Im(xe,Oe,L,[A,L,N,$]),scrollProgress:B,scrollSnapList:ve.map(B.get),scrollSnaps:ve,scrollTarget:U,scrollTo:j,slideLooper:jm(O,k,xe,J,G,se,ve,L,n),slideFocus:ie,slidesHandler:Dm(t,o,S),slidesInView:te,slideIndexes:ge,slideRegistry:ce,slidesToScroll:he,target:$,translate:Zf(O,t)};return Le}function Bm(){let e={},t;function n(f){t=f}function r(f){return e[f]||[]}function s(f){return r(f).forEach(c=>c(t,f)),a}function i(f,c){return e[f]=r(f).concat([c]),a}function o(f,c){return e[f]=r(f).filter(u=>u!==c),a}function l(){e={}}const a={init:n,emit:s,off:o,on:i,clear:l};return a}const Um={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function qm(e){function t(i,o){return Gf(i,o||{})}function n(i){const o=i.breakpoints||{},l=rr(o).filter(a=>e.matchMedia(a).matches).map(a=>o[a]).reduce((a,f)=>t(a,f),{});return t(i,l)}function r(i){return i.map(o=>rr(o.breakpoints||{})).reduce((o,l)=>o.concat(l),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function Km(e){let t=[];function n(i,o){return t=o.filter(({options:l})=>e.optionsAtMedia(l).active!==!1),t.forEach(l=>l.init(i,e)),o.reduce((l,a)=>Object.assign(l,{[a.name]:a}),{})}function r(){t=t.filter(i=>i.destroy())}return{init:n,destroy:r}}function Xr(e,t,n){const r=e.ownerDocument,s=r.defaultView,i=qm(s),o=Km(i),l=sr(),a=Bm(),{mergeOptions:f,optionsAtMedia:c,optionsMediaQueries:u}=i,{on:p,off:g,emit:m}=a,y=O;let M=!1,b,x=f(Um,Xr.globalOptions),_=f(x),S=[],R,F,z;function H(){const{container:ge,slides:d}=_;F=(Fi(ge)?e.querySelector(ge):ge)||e.children[0];const v=Fi(d)?F.querySelectorAll(d):d;z=[].slice.call(v||F.children)}function T(ge){const d=Vm(e,F,z,r,s,ge,a);if(ge.loop&&!d.slideLooper.canLoop()){const h=Object.assign({},ge,{loop:!1});return T(h)}return d}function E(ge,d){M||(x=f(x,ge),_=c(x),S=d||S,H(),b=T(_),u([x,...S.map(({options:h})=>h)]).forEach(h=>l.add(h,"change",O)),_.active&&(b.translate.to(b.location.get()),b.animation.init(),b.slidesInView.init(),b.slideFocus.init(Ae),b.eventHandler.init(Ae),b.resizeHandler.init(Ae),b.slidesHandler.init(Ae),b.options.loop&&b.slideLooper.loop(),F.offsetParent&&z.length&&b.dragHandler.init(Ae),R=o.init(Ae,S)))}function O(ge,d){const h=he();k(),E(f({startIndex:h},ge),d),a.emit("reInit")}function k(){b.dragHandler.destroy(),b.eventStore.clear(),b.translate.clear(),b.slideLooper.clear(),b.resizeHandler.destroy(),b.slidesHandler.destroy(),b.slidesInView.destroy(),b.animation.destroy(),o.destroy(),l.clear()}function V(){M||(M=!0,l.clear(),k(),a.emit("destroy"),a.clear())}function X(ge,d,h){!_.active||M||(b.scrollBody.useBaseFriction().useDuration(d===!0?0:_.duration),b.scrollTo.index(ge,h||0))}function ee(ge){const d=b.index.add(1).get();X(d,ge,-1)}function Z(ge){const d=b.index.add(-1).get();X(d,ge,1)}function J(){return b.index.add(1).get()!==he()}function G(){return b.index.add(-1).get()!==he()}function fe(){return b.scrollSnapList}function Ue(){return b.scrollProgress.get(b.offsetLocation.get())}function he(){return b.index.get()}function se(){return b.indexPrevious.get()}function ye(){return b.slidesInView.get()}function xe(){return b.slidesInView.get(!1)}function qe(){return R}function $e(){return b}function ve(){return e}function Oe(){return F}function et(){return z}const Ae={canScrollNext:J,canScrollPrev:G,containerNode:Oe,internalEngine:$e,destroy:V,off:g,on:p,emit:m,plugins:qe,previousScrollSnap:se,reInit:y,rootNode:ve,scrollNext:ee,scrollPrev:Z,scrollProgress:Ue,scrollSnapList:fe,scrollTo:X,selectedScrollSnap:he,slideNodes:et,slidesInView:ye,slidesNotInView:xe};return E(t,n),setTimeout(()=>a.emit("init"),0),Ae}Xr.globalOptions=void 0;function Po(e={},t=[]){const n=ke(e),r=ke(t);let s=n?e.value:e,i=r?t.value:t;const o=kr(),l=kr();function a(){l.value&&l.value.reInit(s,i)}return Mn(()=>{!hm()||!o.value||(Xr.globalOptions=Po.globalOptions,l.value=Xr(o.value,s,i))}),Qi(()=>{l.value&&l.value.destroy()}),n&&Se(e,f=>{Ao(s,f)||(s=f,a())}),r&&Se(t,f=>{gm(i,f)||(i=f,a())}),[o,l]}Po.globalOptions=void 0;const[Wm,Xm]=k0(({opts:e,orientation:t,plugins:n},r)=>{const[s,i]=Po({...e,axis:t==="horizontal"?"x":"y"},n);function o(){var u;(u=i.value)==null||u.scrollPrev()}function l(){var u;(u=i.value)==null||u.scrollNext()}const a=oe(!1),f=oe(!1);function c(u){a.value=(u==null?void 0:u.canScrollNext())||!1,f.value=(u==null?void 0:u.canScrollPrev())||!1}return Mn(()=>{var u,p,g;i.value&&((u=i.value)==null||u.on("init",c),(p=i.value)==null||p.on("reInit",c),(g=i.value)==null||g.on("select",c),r("init-api",i.value))}),{carouselRef:s,carouselApi:i,canScrollPrev:f,canScrollNext:a,scrollPrev:o,scrollNext:l,orientation:t}});function Jf(){const e=Xm();if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}const Gm=xn({__name:"Carousel",props:{opts:{},plugins:{},orientation:{default:"horizontal"},class:{}},emits:["init-api"],setup(e,{expose:t,emit:n}){const r=e,s=n,{canScrollNext:i,canScrollPrev:o,carouselApi:l,carouselRef:a,orientation:f,scrollNext:c,scrollPrev:u}=Wm(r,s);t({canScrollNext:i,canScrollPrev:o,carouselApi:l,carouselRef:a,orientation:f,scrollNext:c,scrollPrev:u});function p(g){const m=r.orientation==="vertical"?"ArrowUp":"ArrowLeft",y=r.orientation==="vertical"?"ArrowDown":"ArrowRight";if(g.key===m){g.preventDefault(),u();return}g.key===y&&(g.preventDefault(),c())}return(g,m)=>(me(),Ee("div",{class:st(["relative",[r.class]]),role:"region","aria-roledescription":"carousel",tabindex:"0",onKeydown:p},[to(g.$slots,"default",{canScrollNext:_e(i),canScrollPrev:_e(o),carouselApi:_e(l),carouselRef:_e(a),orientation:_e(f),scrollNext:_e(c),scrollPrev:_e(u)})],34))}}),Ym=xn({inheritAttrs:!1,__name:"CarouselContent",props:{class:{}},setup(e){const t=e,{carouselRef:n,orientation:r}=Jf();return(s,i)=>(me(),Ee("div",{ref_key:"carouselRef",ref:n,class:"h-full"},[ne("div",xc({class:["flex",[_e(r)!=="horizontal"?"-mt-4 flex-col":"",t.class]]},s.$attrs),[to(s.$slots,"default")],16)],512))}}),Zm=xn({__name:"CarouselItem",props:{class:{}},setup(e){const t=e,{orientation:n}=Jf();return(r,s)=>(me(),Ee("div",{role:"group","aria-roledescription":"slide",class:st(["min-w-0 shrink-0 grow-0 basis-full",[_e(n)==="horizontal"?"pl-0":"pt-4",t.class]])},[to(r.$slots,"default")],2))}}),ca=16e3,Jm="/assets/play-worklet-CqUYQx_r.js",Qm="/assets/vad-processor-0sEQXaXZ.js",eb="/assets/worker-yoCrhISy.ts",tb={class:"relative h-100dvh w-100dvw flex flex-col items-center justify-center"},nb={"h-full":"",flex:"","items-center":"","justify-center":""},rb={key:0,class:"absolute inset-0 flex items-center justify-center",text:"red-500 dark:red-400"},sb={flex:"","flex-col":"","items-center":"","justify-center":"","gap-4":""},ib={key:1},ob={key:2,"h-full":"",flex:"","flex-col":"","items-center":"","justify-between":"","p-4":""},lb={class:"mb-4 flex items-center gap-2"},ab={text:"cyan-600 dark:cyan-400","text-lg":""},cb={flex:"","flex-col":"","items-center":"","gap-4":""},fb={class:"relative aspect-square h-32 w-32 flex flex-shrink-0 items-center justify-center"},ub={key:0,"i-solar:danger-triangle-line-duotone":"","text-2xl":""},db={key:0},pb={key:1},hb={key:2},gb={key:0},mb={key:0,class:"h-full w-full flex items-center justify-center gap-4 overflow-hidden rounded-lg"},bb={"text-2xl":""},yb={key:1,class:"h-full w-full flex items-center justify-center gap-4 overflow-hidden rounded-lg"},vb={"text-lg":""},xb=xn({__name:"App",setup(e){const t=oe(!1),n=oe(null),r=oe(!1),s=oe(!1),i=oe("af_heart"),o=oe({}),l=oe(!1),a=oe(!1),f=oe(1),c=oe(1),u=oe([]),p=oe(!1),g=oe(""),m=oe(!1),y=oe(""),M=oe(!1),b=oe("00:00"),x=oe(null),_=oe(null),S=oe(null);Se(r,()=>{var T;r.value||(T=x.value)==null||T.postMessage({type:"end_call"})}),Se(r,()=>{if(r.value&&n.value){const T=setInterval(()=>{const E=Math.floor((Date.now()-n.value)/1e3),O=String(Math.floor(E/60)).padStart(2,"0"),k=String(E%60).padStart(2,"0");b.value=`${O}:${k}`},1e3);return()=>clearInterval(T)}else b.value="00:00"}),Mn(()=>{r.value=!0,t.value=!0;try{x.value??(x.value=new Worker(eb,{type:"module"}));const T=O=>{r.value||(m.value=!0,y.value=O instanceof Error?O.message:String(O)),p.value=!0,g.value=O instanceof Error?O.message:String(O)},E=({data:O})=>{switch(O.type){case"error":return t.value=!1,T(O.data.error);case"status":O.data.status==="recording_start"?(l.value=!0,a.value=!1):O.data.status==="recording_end"?l.value=!1:O.data.status==="ready"&&(o.value=O.data.voices||{},M.value=!0,t.value=!1);break;case"output":!s.value&&S.value&&O.data.result&&(S.value.port.postMessage(O.data.result.audio),s.value=!0,a.value=!0,l.value=!1);break;case"set_voice_response":F();break}};return x.value.addEventListener("message",E),x.value.addEventListener("error",O=>T(O.error)),()=>{var O,k;(O=x.value)==null||O.removeEventListener("message",E),(k=x.value)==null||k.removeEventListener("error",V=>T(V.error))}}catch(T){m.value=!0,y.value=T instanceof Error?T.message:String(T),console.error("Failed to initialize worker:",T),t.value=!1}}),Se(r,()=>{if(!r.value)return;let T,E,O,k=!1,V;const X=Promise.resolve(_.value);return X.then(async ee=>{if(k||!ee)return;E=new AudioContext({sampleRate:ca});const Z=E.createAnalyser();Z.fftSize=256,O=E.createMediaStreamSource(ee),O.connect(Z);const J=new Uint8Array(Z.frequencyBinCount);function G(se){let ye=0;for(let qe=0;qe<se.length;++qe){const $e=se[qe]/128-1;ye+=$e*$e}return Math.sqrt(ye/se.length)}await E.audioWorklet.addModule(Qm),T=new AudioWorkletNode(E,"vad-processor",{numberOfInputs:1,numberOfOutputs:0,channelCount:1,channelCountMode:"explicit",channelInterpretation:"discrete"}),O.connect(T),T.port.onmessage=se=>{var xe;const{buffer:ye}=se.data;(xe=x.value)==null||xe.postMessage({type:"audio",buffer:ye})},V=new AudioContext({sampleRate:24e3}),V.resume(),await V.audioWorklet.addModule(new URL(Jm,import.meta.url)),S.value=new AudioWorkletNode(V,"buffered-audio-worklet-processor"),S.value.port.onmessage=se=>{var ye;se.data.type==="playback_ended"&&(s.value=!1,a.value=!1,(ye=x.value)==null||ye.postMessage({type:"playback_ended"}))};const fe=V.createAnalyser();fe.fftSize=256,S.value.connect(fe),fe.connect(V.destination);const Ue=new Uint8Array(fe.frequencyBinCount);function he(){Z.getByteTimeDomainData(J);const se=G(J),ye=1+Math.min(1.25*se,.25);f.value+=(ye-f.value)*.25,fe.getByteTimeDomainData(Ue);const xe=G(Ue),qe=1+Math.min(1.25*xe,.25);c.value+=(qe-c.value)*.25,requestAnimationFrame(he)}he()}).catch(ee=>{g.value=ee.message,console.error(ee)}),()=>{k=!0,X.then(ee=>ee==null?void 0:ee.getTracks().forEach(Z=>Z.stop())),O==null||O.disconnect(),T==null||T.disconnect(),E==null||E.close(),V==null||V.close()}}),Se(r,()=>{if(!r.value)return;const T=setInterval(()=>{const E=Date.now();u.value=[...u.value,E],setTimeout(()=>{u.value=u.value.filter(O=>O!==E)},1500)},1e3);return()=>clearInterval(T)});async function R(T){var E;i.value=T,(E=x.value)==null||E.postMessage({type:"set_voice",voice:T})}async function F(){var T;try{const E=await navigator.mediaDevices.getUserMedia({audio:{channelCount:1,echoCancellation:!0,autoGainControl:!0,noiseSuppression:!0,sampleRate:ca}});_.value=E,n.value=Date.now(),r.value=!0,(T=x.value)==null||T.postMessage({type:"start_call"})}catch(E){E instanceof Error&&(g.value=E.message,console.error(E))}}function z(){r.value=!1,n.value=null,s.value=!1,l.value=!1,a.value=!1}function H(T,E,O){const k=(O==null?void 0:O.baseAmplify)??.5,V=(O==null?void 0:O.factor)??.5,X=(O==null?void 0:O.inverted)??!1,ee=(O==null?void 0:O.reversed)??!1;let Z=k+T/E*V;ee&&(Z=1-Z);const J=X?1-Z:Z,G=dm({mode:"oklch",l:J,h:220,c:.1});return um(xo("rgb")(G))}return(T,E)=>(me(),Ee("div",tb,[E[5]||(E[5]=ne("div",{absolute:"","left-4":"","top-4":"","opacity-50":""}," Conversational WebGPU ",-1)),ne("div",nb,[De(sl,{name:"fade",mode:"out-in"},{default:an(()=>{var O;return[m.value?(me(),Ee("div",rb,[ne("div",sb,[E[0]||(E[0]=ne("div",{"i-solar:danger-triangle-line-duotone":"","text-2xl":""},null,-1)),ne("div",null,Wt(y.value),1)])])):t.value?(me(),Ee("div",ib,E[1]||(E[1]=[ne("div",{flex:"","flex-col":"","items-center":"","justify-center":"","gap-4":""},[ne("div",{"i-svg-spinners:3-dots-bounce":"","text-2xl":""}),ne("div",null," Initiating modules required for the call... ")],-1)]))):r.value?(me(),Ee("div",ob,[ne("div",null,[ne("div",lb,[ne("div",ab,Wt(((O=o.value[i.value])==null?void 0:O.name)||i.value)+" "+Wt(b.value),1)])]),ne("div",cb,[ne("div",fb,[r.value?(me(!0),Ee(Ne,{key:0},Uo(u.value,k=>(me(),Ee("div",{key:k,class:st(["pointer-events-none absolute inset-0 border-2 rounded-full",[p.value?"border-red-200 dark:border-red-400":"border-cyan-200 dark:border-cyan-500"]]),style:{animation:"ripple 1.5s ease-out forwards"}},null,2))),128)):Cn("",!0),ne("div",{class:st(["absolute h-32 w-32 rounded-full",[g.value?"bg-red-200 dark:bg-red-400":"bg-cyan-200 dark:bg-cyan-800",M.value?"":"animate-ping opacity-75"]]),style:{"animation-duration":"1.5s"}},null,2),ne("div",{class:st(["absolute h-32 w-32 rounded-full shadow-inner transition-transform duration-300 ease-out",[g.value?"bg-red-300 dark:bg-red-400":"bg-cyan-300 dark:bg-cyan-800",M.value?"":"opacity-0"]]),style:un({transform:`scale(${c.value})`})},null,6),ne("div",{class:st(["absolute h-32 w-32 rounded-full shadow-inner transition-transform duration-300 ease-out",[g.value?"bg-red-200 dark:bg-red-400":"bg-cyan-200 dark:bg-cyan-600",M.value?"":"opacity-0"]]),style:un({transform:`scale(${f.value})`})},null,6),ne("div",{class:st(["absolute z-10 text-center text-sm",[g.value?"text-red-700":"text-gray-700 dark:text-white"]])},[g.value?(me(),Ee("div",ub)):(me(),Ee(Ne,{key:1},[M.value?Cn("",!0):(me(),Ee("div",db," Loading... ")),l.value?(me(),Ee("div",pb," Listening... ")):Cn("",!0),a.value?(me(),Ee("div",hb," Speaking... ")):Cn("",!0)],64))],2)]),p.value?(me(),Ee("div",gb,Wt(g.value),1)):Cn("",!0)]),ne("div",{bg:"cyan-50 dark:cyan-950","w-fit":"",flex:"","rounded-xl":"","px-1":"","py-1":"","text-sm":"","outline-none":""},[ne("button",{bg:"hover:cyan-100 dark:hover:cyan-900",text:"red-400 hover:red-300 active:red-400",flex:"","items-center":"","gap-2":"","rounded-lg":"","px-4":"","py-2":"","outline-none":"",transition:"all duration-300 ease-in-out",onClick:z},E[2]||(E[2]=[ne("div",{"i-solar:end-call-rounded-bold":""},null,-1),ne("div",{text:"black dark:white"}," End Call ",-1)]))])])):(me(),Gn(_e(Gm),{key:3,class:st(["embla outline-none",[r.value?"embla-edge-disabled px-16 h-80 w-140":"px-8 h-50 w-120"]]),transition:"all duration-500 ease-in-out"},{default:an(()=>[De(_e(Ym),{class:"h-full flex gap-4",style:{touchAction:"pan-y pinch-zoom"}},{default:an(()=>[(me(!0),Ee(Ne,null,Uo(Object.entries(o.value),([k,V],X)=>(me(),Gn(_e(Zm),{key:X,style:un({backgroundColor:H(X,Object.values(o.value).length,{baseAmplify:.85,factor:.4}),color:H(X,Object.values(o.value).length,{baseAmplify:.5,factor:.2})}),class:st(["h-full w-full flex-[0_0_80%] cursor-pointer rounded-lg",[r.value&&i.value!==k?"opacity-0":""]]),transition:"all duration-500 ease-in-out",onClick:()=>R(k)},{default:an(()=>[De(sl,{name:"fade",mode:"out-in"},{default:an(()=>[r.value?(me(),Ee("div",yb,[E[4]||(E[4]=ne("div",{"i-svg-spinners:3-dots-bounce":"","text-2xl":""},null,-1)),ne("div",vb," Connecting to "+Wt(V.name)+"... ",1)])):(me(),Ee("div",mb,[E[3]||(E[3]=ne("div",{"i-solar:phone-bold":"","text-2xl":""},null,-1)),ne("div",bb,Wt(V.name),1)]))]),_:2},1024)]),_:2},1032,["style","class","onClick"]))),128))]),_:1})]),_:1},8,["class"]))]}),_:1})]),E[6]||(E[6]=ne("div",{"mb-4":"",flex:"","items-center":"","gap-2":"","text-sm":"","opacity-50":""},[ne("div",{"inline-flex":"","items-center":"","gap-2":""},[vc(" Built with "),ne("div",{"i-logos:hugging-face-icon":""}),ne("a",{href:"https://huggingface.co/docs/transformers.js/index",class:"decoration-neutral-700 dark:decoration-neutral-200","decoration-underline":"","decoration-dashed":""},"Transformers.js")]),ne("div",null," | "),ne("div",{"inline-flex":"","items-center":"","gap-2":""},[ne("div",{"i-simple-icons:github":""}),ne("a",{href:"https://github.com/proj-airi/webai-examples/tree/main/apps/conversational-webgpu",class:"decoration-neutral-700 dark:decoration-neutral-200","decoration-underline":"","decoration-dashed":""},"GitHub")])],-1))]))}}),Mb=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},_b=Mb(xb,[["__scopeId","data-v-37470184"]]);O0(_b).use(M1).mount("#app");