slds-json-schema-renderer 1.5.35 → 1.5.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(Fe,Ie){typeof exports=="object"&&typeof module<"u"?Ie(exports):typeof define=="function"&&define.amd?define(["exports"],Ie):(Fe=typeof globalThis<"u"?globalThis:Fe||self,Ie(Fe.JsonSchemaDocs={}))})(this,(function(Fe){"use strict";function Ie(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const rt={},Qe=[],zt=()=>{},Qo=()=>!1,cn=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Qn=t=>t.startsWith("onUpdate:"),mt=Object.assign,ti=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},hf=Object.prototype.hasOwnProperty,tt=(t,e)=>hf.call(t,e),U=Array.isArray,ts=t=>bs(t)==="[object Map]",tr=t=>bs(t)==="[object Set]",er=t=>bs(t)==="[object Date]",W=t=>typeof t=="function",ut=t=>typeof t=="string",qt=t=>typeof t=="symbol",et=t=>t!==null&&typeof t=="object",sr=t=>(et(t)||W(t))&&W(t.then)&&W(t.catch),nr=Object.prototype.toString,bs=t=>nr.call(t),pf=t=>bs(t).slice(8,-1),ir=t=>bs(t)==="[object Object]",ei=t=>ut(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,_s=Ie(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),un=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},mf=/-\w/g,$t=un(t=>t.replace(mf,e=>e.slice(1).toUpperCase())),gf=/\B([A-Z])/g,ke=un(t=>t.replace(gf,"-$1").toLowerCase()),fn=un(t=>t.charAt(0).toUpperCase()+t.slice(1)),si=un(t=>t?`on${fn(t)}`:""),Pe=(t,e)=>!Object.is(t,e),ni=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},or=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},yf=t=>{const e=parseFloat(t);return isNaN(e)?t:e},vf=t=>{const e=ut(t)?Number(t):NaN;return isNaN(e)?t:e};let rr;const dn=()=>rr||(rr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ii(t){if(U(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],i=ut(n)?Sf(n):ii(n);if(i)for(const o in i)e[o]=i[o]}return e}else if(ut(t)||et(t))return t}const bf=/;(?![^(]*\))/g,_f=/:([^]+)/,xf=/\/\*[^]*?\*\//g;function Sf(t){const e={};return t.replace(xf,"").split(bf).forEach(s=>{if(s){const n=s.split(_f);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function At(t){let e="";if(ut(t))e=t;else if(U(t))for(let s=0;s<t.length;s++){const n=At(t[s]);n&&(e+=n+" ")}else if(et(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const Tf=Ie("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function ar(t){return!!t||t===""}function wf(t,e){if(t.length!==e.length)return!1;let s=!0;for(let n=0;s&&n<t.length;n++)s=oi(t[n],e[n]);return s}function oi(t,e){if(t===e)return!0;let s=er(t),n=er(e);if(s||n)return s&&n?t.getTime()===e.getTime():!1;if(s=qt(t),n=qt(e),s||n)return t===e;if(s=U(t),n=U(e),s||n)return s&&n?wf(t,e):!1;if(s=et(t),n=et(e),s||n){if(!s||!n)return!1;const i=Object.keys(t).length,o=Object.keys(e).length;if(i!==o)return!1;for(const r in t){const a=t.hasOwnProperty(r),l=e.hasOwnProperty(r);if(a&&!l||!a&&l||!oi(t[r],e[r]))return!1}}return String(t)===String(e)}const lr=t=>!!(t&&t.__v_isRef===!0),J=t=>ut(t)?t:t==null?"":U(t)||et(t)&&(t.toString===nr||!W(t.toString))?lr(t)?J(t.value):JSON.stringify(t,cr,2):String(t),cr=(t,e)=>lr(e)?cr(t,e.value):ts(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,i],o)=>(s[ri(n,o)+" =>"]=i,s),{})}:tr(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>ri(s))}:qt(e)?ri(e):et(e)&&!U(e)&&!ir(e)?String(e):e,ri=(t,e="")=>{var s;return qt(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};var Pf={NODE_ENV:"production"};let Dt;class Af{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Dt,!e&&Dt&&(this.index=(Dt.scopes||(Dt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].pause();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].resume();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].resume()}}run(e){if(this._active){const s=Dt;try{return Dt=this,e()}finally{Dt=s}}}on(){++this._on===1&&(this.prevScope=Dt,Dt=this)}off(){this._on>0&&--this._on===0&&(Dt=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Cf(){return Dt}let at;const ai=new WeakSet;class ur{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Dt&&Dt.active&&Dt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ai.has(this)&&(ai.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||dr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,yr(this),hr(this);const e=at,s=Yt;at=this,Yt=!0;try{return this.fn()}finally{pr(this),at=e,Yt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)fi(e);this.deps=this.depsTail=void 0,yr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ai.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ui(this)&&this.run()}get dirty(){return ui(this)}}let fr=0,xs,Ss;function dr(t,e=!1){if(t.flags|=8,e){t.next=Ss,Ss=t;return}t.next=xs,xs=t}function li(){fr++}function ci(){if(--fr>0)return;if(Ss){let e=Ss;for(Ss=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;xs;){let e=xs;for(xs=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function hr(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function pr(t){let e,s=t.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),fi(n),Ef(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}t.deps=e,t.depsTail=s}function ui(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(mr(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function mr(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Ts)||(t.globalVersion=Ts,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!ui(t))))return;t.flags|=2;const e=t.dep,s=at,n=Yt;at=t,Yt=!0;try{hr(t);const i=t.fn(t._value);(e.version===0||Pe(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{at=s,Yt=n,pr(t),t.flags&=-3}}function fi(t,e=!1){const{dep:s,prevSub:n,nextSub:i}=t;if(n&&(n.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let o=s.computed.deps;o;o=o.nextDep)fi(o,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Ef(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Yt=!0;const gr=[];function te(){gr.push(Yt),Yt=!1}function ee(){const t=gr.pop();Yt=t===void 0?!0:t}function yr(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=at;at=void 0;try{e()}finally{at=s}}}let Ts=0;class Vf{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class di{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!at||!Yt||at===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==at)s=this.activeLink=new Vf(at,this),at.deps?(s.prevDep=at.depsTail,at.depsTail.nextDep=s,at.depsTail=s):at.deps=at.depsTail=s,vr(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=at.depsTail,s.nextDep=void 0,at.depsTail.nextDep=s,at.depsTail=s,at.deps===s&&(at.deps=n)}return s}trigger(e){this.version++,Ts++,this.notify(e)}notify(e){li();try{Pf.NODE_ENV;for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{ci()}}}function vr(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)vr(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const hi=new WeakMap,je=Symbol(""),pi=Symbol(""),ws=Symbol("");function Tt(t,e,s){if(Yt&&at){let n=hi.get(t);n||hi.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new di),i.map=n,i.key=s),i.track()}}function pe(t,e,s,n,i,o){const r=hi.get(t);if(!r){Ts++;return}const a=l=>{l&&l.trigger()};if(li(),e==="clear")r.forEach(a);else{const l=U(t),u=l&&ei(s);if(l&&s==="length"){const c=Number(n);r.forEach((f,d)=>{(d==="length"||d===ws||!qt(d)&&d>=c)&&a(f)})}else switch((s!==void 0||r.has(void 0))&&a(r.get(s)),u&&a(r.get(ws)),e){case"add":l?u&&a(r.get("length")):(a(r.get(je)),ts(t)&&a(r.get(pi)));break;case"delete":l||(a(r.get(je)),ts(t)&&a(r.get(pi)));break;case"set":ts(t)&&a(r.get(je));break}}ci()}function es(t){const e=Q(t);return e===t?e:(Tt(e,"iterate",ws),Bt(t)?e:e.map(Xt))}function hn(t){return Tt(t=Q(t),"iterate",ws),t}function Ae(t,e){return ge(t)?ss($e(t)?Xt(e):e):Xt(e)}const Mf={__proto__:null,[Symbol.iterator](){return mi(this,Symbol.iterator,t=>Ae(this,t))},concat(...t){return es(this).concat(...t.map(e=>U(e)?es(e):e))},entries(){return mi(this,"entries",t=>(t[1]=Ae(this,t[1]),t))},every(t,e){return me(this,"every",t,e,void 0,arguments)},filter(t,e){return me(this,"filter",t,e,s=>s.map(n=>Ae(this,n)),arguments)},find(t,e){return me(this,"find",t,e,s=>Ae(this,s),arguments)},findIndex(t,e){return me(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return me(this,"findLast",t,e,s=>Ae(this,s),arguments)},findLastIndex(t,e){return me(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return me(this,"forEach",t,e,void 0,arguments)},includes(...t){return gi(this,"includes",t)},indexOf(...t){return gi(this,"indexOf",t)},join(t){return es(this).join(t)},lastIndexOf(...t){return gi(this,"lastIndexOf",t)},map(t,e){return me(this,"map",t,e,void 0,arguments)},pop(){return Ps(this,"pop")},push(...t){return Ps(this,"push",t)},reduce(t,...e){return br(this,"reduce",t,e)},reduceRight(t,...e){return br(this,"reduceRight",t,e)},shift(){return Ps(this,"shift")},some(t,e){return me(this,"some",t,e,void 0,arguments)},splice(...t){return Ps(this,"splice",t)},toReversed(){return es(this).toReversed()},toSorted(t){return es(this).toSorted(t)},toSpliced(...t){return es(this).toSpliced(...t)},unshift(...t){return Ps(this,"unshift",t)},values(){return mi(this,"values",t=>Ae(this,t))}};function mi(t,e,s){const n=hn(t),i=n[e]();return n!==t&&!Bt(t)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=s(o.value)),o}),i}const Df=Array.prototype;function me(t,e,s,n,i,o){const r=hn(t),a=r!==t&&!Bt(t),l=r[e];if(l!==Df[e]){const f=l.apply(t,o);return a?Xt(f):f}let u=s;r!==t&&(a?u=function(f,d){return s.call(this,Ae(t,f),d,t)}:s.length>2&&(u=function(f,d){return s.call(this,f,d,t)}));const c=l.call(r,u,n);return a&&i?i(c):c}function br(t,e,s,n){const i=hn(t);let o=s;return i!==t&&(Bt(t)?s.length>3&&(o=function(r,a,l){return s.call(this,r,a,l,t)}):o=function(r,a,l){return s.call(this,r,Ae(t,a),l,t)}),i[e](o,...n)}function gi(t,e,s){const n=Q(t);Tt(n,"iterate",ws);const i=n[e](...s);return(i===-1||i===!1)&&_i(s[0])?(s[0]=Q(s[0]),n[e](...s)):i}function Ps(t,e,s=[]){te(),li();const n=Q(t)[e].apply(t,s);return ci(),ee(),n}const Of=Ie("__proto__,__v_isRef,__isVue"),_r=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(qt));function Rf(t){qt(t)||(t=String(t));const e=Q(this);return Tt(e,"has",t),e.hasOwnProperty(t)}class xr{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__v_skip;const i=this._isReadonly,o=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return o;if(s==="__v_raw")return n===(i?o?Cr:Ar:o?Pr:wr).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=U(e);if(!i){let l;if(r&&(l=Mf[s]))return l;if(s==="hasOwnProperty")return Rf}const a=Reflect.get(e,s,_t(e)?e:n);if((qt(s)?_r.has(s):Of(s))||(i||Tt(e,"get",s),o))return a;if(_t(a)){const l=r&&ei(s)?a:a.value;return i&&et(l)?bi(l):l}return et(a)?i?bi(a):vi(a):a}}class Sr extends xr{constructor(e=!1){super(!1,e)}set(e,s,n,i){let o=e[s];const r=U(e)&&ei(s);if(!this._isShallow){const u=ge(o);if(!Bt(n)&&!ge(n)&&(o=Q(o),n=Q(n)),!r&&_t(o)&&!_t(n))return u||(o.value=n),!0}const a=r?Number(s)<e.length:tt(e,s),l=Reflect.set(e,s,n,_t(e)?e:i);return e===Q(i)&&(a?Pe(n,o)&&pe(e,"set",s,n):pe(e,"add",s,n)),l}deleteProperty(e,s){const n=tt(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&pe(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!qt(s)||!_r.has(s))&&Tt(e,"has",s),n}ownKeys(e){return Tt(e,"iterate",U(e)?"length":je),Reflect.ownKeys(e)}}class Tr extends xr{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const Lf=new Sr,Ff=new Tr,If=new Sr(!0),kf=new Tr(!0),yi=t=>t,pn=t=>Reflect.getPrototypeOf(t);function jf(t,e,s){return function(...n){const i=this.__v_raw,o=Q(i),r=ts(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,u=i[t](...n),c=s?yi:e?ss:Xt;return!e&&Tt(o,"iterate",l?pi:je),mt(Object.create(u),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}}})}}function mn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function $f(t,e){const s={get(i){const o=this.__v_raw,r=Q(o),a=Q(i);t||(Pe(i,a)&&Tt(r,"get",i),Tt(r,"get",a));const{has:l}=pn(r),u=e?yi:t?ss:Xt;if(l.call(r,i))return u(o.get(i));if(l.call(r,a))return u(o.get(a));o!==r&&o.get(i)},get size(){const i=this.__v_raw;return!t&&Tt(Q(i),"iterate",je),i.size},has(i){const o=this.__v_raw,r=Q(o),a=Q(i);return t||(Pe(i,a)&&Tt(r,"has",i),Tt(r,"has",a)),i===a?o.has(i):o.has(i)||o.has(a)},forEach(i,o){const r=this,a=r.__v_raw,l=Q(a),u=e?yi:t?ss:Xt;return!t&&Tt(l,"iterate",je),a.forEach((c,f)=>i.call(o,u(c),u(f),r))}};return mt(s,t?{add:mn("add"),set:mn("set"),delete:mn("delete"),clear:mn("clear")}:{add(i){!e&&!Bt(i)&&!ge(i)&&(i=Q(i));const o=Q(this);return pn(o).has.call(o,i)||(o.add(i),pe(o,"add",i,i)),this},set(i,o){!e&&!Bt(o)&&!ge(o)&&(o=Q(o));const r=Q(this),{has:a,get:l}=pn(r);let u=a.call(r,i);u||(i=Q(i),u=a.call(r,i));const c=l.call(r,i);return r.set(i,o),u?Pe(o,c)&&pe(r,"set",i,o):pe(r,"add",i,o),this},delete(i){const o=Q(this),{has:r,get:a}=pn(o);let l=r.call(o,i);l||(i=Q(i),l=r.call(o,i)),a&&a.call(o,i);const u=o.delete(i);return l&&pe(o,"delete",i,void 0),u},clear(){const i=Q(this),o=i.size!==0,r=i.clear();return o&&pe(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=jf(i,t,e)}),s}function gn(t,e){const s=$f(t,e);return(n,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(tt(s,i)&&i in n?s:n,i,o)}const Bf={get:gn(!1,!1)},Nf={get:gn(!1,!0)},Uf={get:gn(!0,!1)},Hf={get:gn(!0,!0)},wr=new WeakMap,Pr=new WeakMap,Ar=new WeakMap,Cr=new WeakMap;function Kf(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Wf(t){return t.__v_skip||!Object.isExtensible(t)?0:Kf(pf(t))}function vi(t){return ge(t)?t:vn(t,!1,Lf,Bf,wr)}function Gf(t){return vn(t,!1,If,Nf,Pr)}function bi(t){return vn(t,!0,Ff,Uf,Ar)}function yn(t){return vn(t,!0,kf,Hf,Cr)}function vn(t,e,s,n,i){if(!et(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=Wf(t);if(o===0)return t;const r=i.get(t);if(r)return r;const a=new Proxy(t,o===2?n:s);return i.set(t,a),a}function $e(t){return ge(t)?$e(t.__v_raw):!!(t&&t.__v_isReactive)}function ge(t){return!!(t&&t.__v_isReadonly)}function Bt(t){return!!(t&&t.__v_isShallow)}function _i(t){return t?!!t.__v_raw:!1}function Q(t){const e=t&&t.__v_raw;return e?Q(e):t}function zf(t){return!tt(t,"__v_skip")&&Object.isExtensible(t)&&or(t,"__v_skip",!0),t}const Xt=t=>et(t)?vi(t):t,ss=t=>et(t)?bi(t):t;function _t(t){return t?t.__v_isRef===!0:!1}function ns(t){return qf(t,!1)}function qf(t,e){return _t(t)?t:new Yf(t,e)}class Yf{constructor(e,s){this.dep=new di,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:Q(e),this._value=s?e:Xt(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||Bt(e)||ge(e);e=n?e:Q(e),Pe(e,s)&&(this._rawValue=e,this._value=n?e:Xt(e),this.dep.trigger())}}function Er(t){return _t(t)?t.value:t}const Xf={get:(t,e,s)=>e==="__v_raw"?t:Er(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return _t(i)&&!_t(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function Vr(t){return $e(t)?t:new Proxy(t,Xf)}class Zf{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new di(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ts-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&at!==this)return dr(this,!0),!0}get value(){const e=this.dep.track();return mr(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Jf(t,e,s=!1){let n,i;return W(t)?n=t:(n=t.get,i=t.set),new Zf(n,i,s)}const bn={},_n=new WeakMap;let Be;function Qf(t,e=!1,s=Be){if(s){let n=_n.get(s);n||_n.set(s,n=[]),n.push(t)}}function td(t,e,s=rt){const{immediate:n,deep:i,once:o,scheduler:r,augmentJob:a,call:l}=s,u=A=>i?A:Bt(A)||i===!1||i===0?Ce(A,1):Ce(A);let c,f,d,m,v=!1,b=!1;if(_t(t)?(f=()=>t.value,v=Bt(t)):$e(t)?(f=()=>u(t),v=!0):U(t)?(b=!0,v=t.some(A=>$e(A)||Bt(A)),f=()=>t.map(A=>{if(_t(A))return A.value;if($e(A))return u(A);if(W(A))return l?l(A,2):A()})):W(t)?e?f=l?()=>l(t,2):t:f=()=>{if(d){te();try{d()}finally{ee()}}const A=Be;Be=c;try{return l?l(t,3,[m]):t(m)}finally{Be=A}}:f=zt,e&&i){const A=f,D=i===!0?1/0:i;f=()=>Ce(A(),D)}const w=Cf(),C=()=>{c.stop(),w&&w.active&&ti(w.effects,c)};if(o&&e){const A=e;e=(...D)=>{A(...D),C()}}let E=b?new Array(t.length).fill(bn):bn;const P=A=>{if(!(!(c.flags&1)||!c.dirty&&!A))if(e){const D=c.run();if(i||v||(b?D.some((H,z)=>Pe(H,E[z])):Pe(D,E))){d&&d();const H=Be;Be=c;try{const z=[D,E===bn?void 0:b&&E[0]===bn?[]:E,m];E=D,l?l(e,3,z):e(...z)}finally{Be=H}}}else c.run()};return a&&a(P),c=new ur(f),c.scheduler=r?()=>r(P,!1):P,m=A=>Qf(A,!1,c),d=c.onStop=()=>{const A=_n.get(c);if(A){if(l)l(A,4);else for(const D of A)D();_n.delete(c)}},e?n?P(!0):E=c.run():r?r(P.bind(null,!0),!0):c.run(),C.pause=c.pause.bind(c),C.resume=c.resume.bind(c),C.stop=C,C}function Ce(t,e=1/0,s){if(e<=0||!et(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,_t(t))Ce(t.value,e,s);else if(U(t))for(let n=0;n<t.length;n++)Ce(t[n],e,s);else if(tr(t)||ts(t))t.forEach(n=>{Ce(n,e,s)});else if(ir(t)){for(const n in t)Ce(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Ce(t[n],e,s)}return t}var Ee={NODE_ENV:"production"};const As=[];let xi=!1;function ed(t,...e){if(xi)return;xi=!0,te();const s=As.length?As[As.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=sd();if(n)is(n,s,11,[t+e.map(o=>{var r,a;return(a=(r=o.toString)==null?void 0:r.call(o))!=null?a:JSON.stringify(o)}).join(""),s&&s.proxy,i.map(({vnode:o})=>`at <${La(s,o.type)}>`).join(`
|
|
1
|
+
(function(Fe,Ie){typeof exports=="object"&&typeof module<"u"?Ie(exports):typeof define=="function"&&define.amd?define(["exports"],Ie):(Fe=typeof globalThis<"u"?globalThis:Fe||self,Ie(Fe.JsonSchemaDocs={}))})(this,(function(Fe){"use strict";function Ie(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const rt={},Qe=[],zt=()=>{},Qo=()=>!1,cn=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Qn=t=>t.startsWith("onUpdate:"),mt=Object.assign,ti=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},hf=Object.prototype.hasOwnProperty,tt=(t,e)=>hf.call(t,e),U=Array.isArray,ts=t=>bs(t)==="[object Map]",tr=t=>bs(t)==="[object Set]",er=t=>bs(t)==="[object Date]",W=t=>typeof t=="function",ut=t=>typeof t=="string",qt=t=>typeof t=="symbol",et=t=>t!==null&&typeof t=="object",sr=t=>(et(t)||W(t))&&W(t.then)&&W(t.catch),nr=Object.prototype.toString,bs=t=>nr.call(t),pf=t=>bs(t).slice(8,-1),ir=t=>bs(t)==="[object Object]",ei=t=>ut(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,_s=Ie(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),un=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},mf=/-\w/g,At=un(t=>t.replace(mf,e=>e.slice(1).toUpperCase())),gf=/\B([A-Z])/g,je=un(t=>t.replace(gf,"-$1").toLowerCase()),fn=un(t=>t.charAt(0).toUpperCase()+t.slice(1)),si=un(t=>t?`on${fn(t)}`:""),te=(t,e)=>!Object.is(t,e),ni=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},or=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},yf=t=>{const e=parseFloat(t);return isNaN(e)?t:e},vf=t=>{const e=ut(t)?Number(t):NaN;return isNaN(e)?t:e};let rr;const dn=()=>rr||(rr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ii(t){if(U(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],i=ut(n)?Sf(n):ii(n);if(i)for(const o in i)e[o]=i[o]}return e}else if(ut(t)||et(t))return t}const bf=/;(?![^(]*\))/g,_f=/:([^]+)/,xf=/\/\*[^]*?\*\//g;function Sf(t){const e={};return t.replace(xf,"").split(bf).forEach(s=>{if(s){const n=s.split(_f);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Ct(t){let e="";if(ut(t))e=t;else if(U(t))for(let s=0;s<t.length;s++){const n=Ct(t[s]);n&&(e+=n+" ")}else if(et(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const Tf=Ie("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function ar(t){return!!t||t===""}function wf(t,e){if(t.length!==e.length)return!1;let s=!0;for(let n=0;s&&n<t.length;n++)s=oi(t[n],e[n]);return s}function oi(t,e){if(t===e)return!0;let s=er(t),n=er(e);if(s||n)return s&&n?t.getTime()===e.getTime():!1;if(s=qt(t),n=qt(e),s||n)return t===e;if(s=U(t),n=U(e),s||n)return s&&n?wf(t,e):!1;if(s=et(t),n=et(e),s||n){if(!s||!n)return!1;const i=Object.keys(t).length,o=Object.keys(e).length;if(i!==o)return!1;for(const r in t){const a=t.hasOwnProperty(r),l=e.hasOwnProperty(r);if(a&&!l||!a&&l||!oi(t[r],e[r]))return!1}}return String(t)===String(e)}const lr=t=>!!(t&&t.__v_isRef===!0),J=t=>ut(t)?t:t==null?"":U(t)||et(t)&&(t.toString===nr||!W(t.toString))?lr(t)?J(t.value):JSON.stringify(t,cr,2):String(t),cr=(t,e)=>lr(e)?cr(t,e.value):ts(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,i],o)=>(s[ri(n,o)+" =>"]=i,s),{})}:tr(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>ri(s))}:qt(e)?ri(e):et(e)&&!U(e)&&!ir(e)?String(e):e,ri=(t,e="")=>{var s;return qt(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};var Pf={NODE_ENV:"production"};let Ot;class Af{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ot,!e&&Ot&&(this.index=(Ot.scopes||(Ot.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].pause();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].resume();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].resume()}}run(e){if(this._active){const s=Ot;try{return Ot=this,e()}finally{Ot=s}}}on(){++this._on===1&&(this.prevScope=Ot,Ot=this)}off(){this._on>0&&--this._on===0&&(Ot=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Cf(){return Ot}let at;const ai=new WeakSet;class ur{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ot&&Ot.active&&Ot.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ai.has(this)&&(ai.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||dr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,yr(this),hr(this);const e=at,s=Yt;at=this,Yt=!0;try{return this.fn()}finally{pr(this),at=e,Yt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)fi(e);this.deps=this.depsTail=void 0,yr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ai.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ui(this)&&this.run()}get dirty(){return ui(this)}}let fr=0,xs,Ss;function dr(t,e=!1){if(t.flags|=8,e){t.next=Ss,Ss=t;return}t.next=xs,xs=t}function li(){fr++}function ci(){if(--fr>0)return;if(Ss){let e=Ss;for(Ss=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;xs;){let e=xs;for(xs=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function hr(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function pr(t){let e,s=t.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),fi(n),Ef(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}t.deps=e,t.depsTail=s}function ui(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(mr(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function mr(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Ts)||(t.globalVersion=Ts,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!ui(t))))return;t.flags|=2;const e=t.dep,s=at,n=Yt;at=t,Yt=!0;try{hr(t);const i=t.fn(t._value);(e.version===0||te(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{at=s,Yt=n,pr(t),t.flags&=-3}}function fi(t,e=!1){const{dep:s,prevSub:n,nextSub:i}=t;if(n&&(n.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let o=s.computed.deps;o;o=o.nextDep)fi(o,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Ef(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Yt=!0;const gr=[];function ee(){gr.push(Yt),Yt=!1}function se(){const t=gr.pop();Yt=t===void 0?!0:t}function yr(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=at;at=void 0;try{e()}finally{at=s}}}let Ts=0;class Vf{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class di{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!at||!Yt||at===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==at)s=this.activeLink=new Vf(at,this),at.deps?(s.prevDep=at.depsTail,at.depsTail.nextDep=s,at.depsTail=s):at.deps=at.depsTail=s,vr(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=at.depsTail,s.nextDep=void 0,at.depsTail.nextDep=s,at.depsTail=s,at.deps===s&&(at.deps=n)}return s}trigger(e){this.version++,Ts++,this.notify(e)}notify(e){li();try{Pf.NODE_ENV;for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{ci()}}}function vr(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)vr(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const hi=new WeakMap,ke=Symbol(""),pi=Symbol(""),ws=Symbol("");function Tt(t,e,s){if(Yt&&at){let n=hi.get(t);n||hi.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new di),i.map=n,i.key=s),i.track()}}function ge(t,e,s,n,i,o){const r=hi.get(t);if(!r){Ts++;return}const a=l=>{l&&l.trigger()};if(li(),e==="clear")r.forEach(a);else{const l=U(t),u=l&&ei(s);if(l&&s==="length"){const c=Number(n);r.forEach((f,d)=>{(d==="length"||d===ws||!qt(d)&&d>=c)&&a(f)})}else switch((s!==void 0||r.has(void 0))&&a(r.get(s)),u&&a(r.get(ws)),e){case"add":l?u&&a(r.get("length")):(a(r.get(ke)),ts(t)&&a(r.get(pi)));break;case"delete":l||(a(r.get(ke)),ts(t)&&a(r.get(pi)));break;case"set":ts(t)&&a(r.get(ke));break}}ci()}function es(t){const e=Q(t);return e===t?e:(Tt(e,"iterate",ws),Bt(t)?e:e.map(Xt))}function hn(t){return Tt(t=Q(t),"iterate",ws),t}function ne(t,e){return ve(t)?ss($e(t)?Xt(e):e):Xt(e)}const Mf={__proto__:null,[Symbol.iterator](){return mi(this,Symbol.iterator,t=>ne(this,t))},concat(...t){return es(this).concat(...t.map(e=>U(e)?es(e):e))},entries(){return mi(this,"entries",t=>(t[1]=ne(this,t[1]),t))},every(t,e){return ye(this,"every",t,e,void 0,arguments)},filter(t,e){return ye(this,"filter",t,e,s=>s.map(n=>ne(this,n)),arguments)},find(t,e){return ye(this,"find",t,e,s=>ne(this,s),arguments)},findIndex(t,e){return ye(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return ye(this,"findLast",t,e,s=>ne(this,s),arguments)},findLastIndex(t,e){return ye(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return ye(this,"forEach",t,e,void 0,arguments)},includes(...t){return gi(this,"includes",t)},indexOf(...t){return gi(this,"indexOf",t)},join(t){return es(this).join(t)},lastIndexOf(...t){return gi(this,"lastIndexOf",t)},map(t,e){return ye(this,"map",t,e,void 0,arguments)},pop(){return Ps(this,"pop")},push(...t){return Ps(this,"push",t)},reduce(t,...e){return br(this,"reduce",t,e)},reduceRight(t,...e){return br(this,"reduceRight",t,e)},shift(){return Ps(this,"shift")},some(t,e){return ye(this,"some",t,e,void 0,arguments)},splice(...t){return Ps(this,"splice",t)},toReversed(){return es(this).toReversed()},toSorted(t){return es(this).toSorted(t)},toSpliced(...t){return es(this).toSpliced(...t)},unshift(...t){return Ps(this,"unshift",t)},values(){return mi(this,"values",t=>ne(this,t))}};function mi(t,e,s){const n=hn(t),i=n[e]();return n!==t&&!Bt(t)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=s(o.value)),o}),i}const Df=Array.prototype;function ye(t,e,s,n,i,o){const r=hn(t),a=r!==t&&!Bt(t),l=r[e];if(l!==Df[e]){const f=l.apply(t,o);return a?Xt(f):f}let u=s;r!==t&&(a?u=function(f,d){return s.call(this,ne(t,f),d,t)}:s.length>2&&(u=function(f,d){return s.call(this,f,d,t)}));const c=l.call(r,u,n);return a&&i?i(c):c}function br(t,e,s,n){const i=hn(t),o=i!==t&&!Bt(t);let r=s,a=!1;i!==t&&(o?(a=n.length===0,r=function(u,c,f){return a&&(a=!1,u=ne(t,u)),s.call(this,u,ne(t,c),f,t)}):s.length>3&&(r=function(u,c,f){return s.call(this,u,c,f,t)}));const l=i[e](r,...n);return a?ne(t,l):l}function gi(t,e,s){const n=Q(t);Tt(n,"iterate",ws);const i=n[e](...s);return(i===-1||i===!1)&&_i(s[0])?(s[0]=Q(s[0]),n[e](...s)):i}function Ps(t,e,s=[]){ee(),li();const n=Q(t)[e].apply(t,s);return ci(),se(),n}const Of=Ie("__proto__,__v_isRef,__isVue"),_r=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(qt));function Rf(t){qt(t)||(t=String(t));const e=Q(this);return Tt(e,"has",t),e.hasOwnProperty(t)}class xr{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__v_skip;const i=this._isReadonly,o=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return o;if(s==="__v_raw")return n===(i?o?Cr:Ar:o?Pr:wr).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=U(e);if(!i){let l;if(r&&(l=Mf[s]))return l;if(s==="hasOwnProperty")return Rf}const a=Reflect.get(e,s,_t(e)?e:n);if((qt(s)?_r.has(s):Of(s))||(i||Tt(e,"get",s),o))return a;if(_t(a)){const l=r&&ei(s)?a:a.value;return i&&et(l)?bi(l):l}return et(a)?i?bi(a):vi(a):a}}class Sr extends xr{constructor(e=!1){super(!1,e)}set(e,s,n,i){let o=e[s];const r=U(e)&&ei(s);if(!this._isShallow){const u=ve(o);if(!Bt(n)&&!ve(n)&&(o=Q(o),n=Q(n)),!r&&_t(o)&&!_t(n))return u||(o.value=n),!0}const a=r?Number(s)<e.length:tt(e,s),l=Reflect.set(e,s,n,_t(e)?e:i);return e===Q(i)&&(a?te(n,o)&&ge(e,"set",s,n):ge(e,"add",s,n)),l}deleteProperty(e,s){const n=tt(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&ge(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!qt(s)||!_r.has(s))&&Tt(e,"has",s),n}ownKeys(e){return Tt(e,"iterate",U(e)?"length":ke),Reflect.ownKeys(e)}}class Tr extends xr{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const Lf=new Sr,Ff=new Tr,If=new Sr(!0),jf=new Tr(!0),yi=t=>t,pn=t=>Reflect.getPrototypeOf(t);function kf(t,e,s){return function(...n){const i=this.__v_raw,o=Q(i),r=ts(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,u=i[t](...n),c=s?yi:e?ss:Xt;return!e&&Tt(o,"iterate",l?pi:ke),mt(Object.create(u),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:a?[c(f[0]),c(f[1])]:c(f),done:d}}})}}function mn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function $f(t,e){const s={get(i){const o=this.__v_raw,r=Q(o),a=Q(i);t||(te(i,a)&&Tt(r,"get",i),Tt(r,"get",a));const{has:l}=pn(r),u=e?yi:t?ss:Xt;if(l.call(r,i))return u(o.get(i));if(l.call(r,a))return u(o.get(a));o!==r&&o.get(i)},get size(){const i=this.__v_raw;return!t&&Tt(Q(i),"iterate",ke),i.size},has(i){const o=this.__v_raw,r=Q(o),a=Q(i);return t||(te(i,a)&&Tt(r,"has",i),Tt(r,"has",a)),i===a?o.has(i):o.has(i)||o.has(a)},forEach(i,o){const r=this,a=r.__v_raw,l=Q(a),u=e?yi:t?ss:Xt;return!t&&Tt(l,"iterate",ke),a.forEach((c,f)=>i.call(o,u(c),u(f),r))}};return mt(s,t?{add:mn("add"),set:mn("set"),delete:mn("delete"),clear:mn("clear")}:{add(i){const o=Q(this),r=pn(o),a=Q(i),l=!e&&!Bt(i)&&!ve(i)?a:i;return r.has.call(o,l)||te(i,l)&&r.has.call(o,i)||te(a,l)&&r.has.call(o,a)||(o.add(l),ge(o,"add",l,l)),this},set(i,o){!e&&!Bt(o)&&!ve(o)&&(o=Q(o));const r=Q(this),{has:a,get:l}=pn(r);let u=a.call(r,i);u||(i=Q(i),u=a.call(r,i));const c=l.call(r,i);return r.set(i,o),u?te(o,c)&&ge(r,"set",i,o):ge(r,"add",i,o),this},delete(i){const o=Q(this),{has:r,get:a}=pn(o);let l=r.call(o,i);l||(i=Q(i),l=r.call(o,i)),a&&a.call(o,i);const u=o.delete(i);return l&&ge(o,"delete",i,void 0),u},clear(){const i=Q(this),o=i.size!==0,r=i.clear();return o&&ge(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=kf(i,t,e)}),s}function gn(t,e){const s=$f(t,e);return(n,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(tt(s,i)&&i in n?s:n,i,o)}const Bf={get:gn(!1,!1)},Nf={get:gn(!1,!0)},Uf={get:gn(!0,!1)},Hf={get:gn(!0,!0)},wr=new WeakMap,Pr=new WeakMap,Ar=new WeakMap,Cr=new WeakMap;function Kf(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Wf(t){return t.__v_skip||!Object.isExtensible(t)?0:Kf(pf(t))}function vi(t){return ve(t)?t:vn(t,!1,Lf,Bf,wr)}function Gf(t){return vn(t,!1,If,Nf,Pr)}function bi(t){return vn(t,!0,Ff,Uf,Ar)}function yn(t){return vn(t,!0,jf,Hf,Cr)}function vn(t,e,s,n,i){if(!et(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=Wf(t);if(o===0)return t;const r=i.get(t);if(r)return r;const a=new Proxy(t,o===2?n:s);return i.set(t,a),a}function $e(t){return ve(t)?$e(t.__v_raw):!!(t&&t.__v_isReactive)}function ve(t){return!!(t&&t.__v_isReadonly)}function Bt(t){return!!(t&&t.__v_isShallow)}function _i(t){return t?!!t.__v_raw:!1}function Q(t){const e=t&&t.__v_raw;return e?Q(e):t}function zf(t){return!tt(t,"__v_skip")&&Object.isExtensible(t)&&or(t,"__v_skip",!0),t}const Xt=t=>et(t)?vi(t):t,ss=t=>et(t)?bi(t):t;function _t(t){return t?t.__v_isRef===!0:!1}function ns(t){return qf(t,!1)}function qf(t,e){return _t(t)?t:new Yf(t,e)}class Yf{constructor(e,s){this.dep=new di,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:Q(e),this._value=s?e:Xt(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||Bt(e)||ve(e);e=n?e:Q(e),te(e,s)&&(this._rawValue=e,this._value=n?e:Xt(e),this.dep.trigger())}}function Er(t){return _t(t)?t.value:t}const Xf={get:(t,e,s)=>e==="__v_raw"?t:Er(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return _t(i)&&!_t(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function Vr(t){return $e(t)?t:new Proxy(t,Xf)}class Zf{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new di(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ts-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&at!==this)return dr(this,!0),!0}get value(){const e=this.dep.track();return mr(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Jf(t,e,s=!1){let n,i;return W(t)?n=t:(n=t.get,i=t.set),new Zf(n,i,s)}const bn={},_n=new WeakMap;let Be;function Qf(t,e=!1,s=Be){if(s){let n=_n.get(s);n||_n.set(s,n=[]),n.push(t)}}function td(t,e,s=rt){const{immediate:n,deep:i,once:o,scheduler:r,augmentJob:a,call:l}=s,u=A=>i?A:Bt(A)||i===!1||i===0?Ce(A,1):Ce(A);let c,f,d,m,v=!1,b=!1;if(_t(t)?(f=()=>t.value,v=Bt(t)):$e(t)?(f=()=>u(t),v=!0):U(t)?(b=!0,v=t.some(A=>$e(A)||Bt(A)),f=()=>t.map(A=>{if(_t(A))return A.value;if($e(A))return u(A);if(W(A))return l?l(A,2):A()})):W(t)?e?f=l?()=>l(t,2):t:f=()=>{if(d){ee();try{d()}finally{se()}}const A=Be;Be=c;try{return l?l(t,3,[m]):t(m)}finally{Be=A}}:f=zt,e&&i){const A=f,D=i===!0?1/0:i;f=()=>Ce(A(),D)}const w=Cf(),C=()=>{c.stop(),w&&w.active&&ti(w.effects,c)};if(o&&e){const A=e;e=(...D)=>{A(...D),C()}}let E=b?new Array(t.length).fill(bn):bn;const P=A=>{if(!(!(c.flags&1)||!c.dirty&&!A))if(e){const D=c.run();if(i||v||(b?D.some((H,z)=>te(H,E[z])):te(D,E))){d&&d();const H=Be;Be=c;try{const z=[D,E===bn?void 0:b&&E[0]===bn?[]:E,m];E=D,l?l(e,3,z):e(...z)}finally{Be=H}}}else c.run()};return a&&a(P),c=new ur(f),c.scheduler=r?()=>r(P,!1):P,m=A=>Qf(A,!1,c),d=c.onStop=()=>{const A=_n.get(c);if(A){if(l)l(A,4);else for(const D of A)D();_n.delete(c)}},e?n?P(!0):E=c.run():r?r(P.bind(null,!0),!0):c.run(),C.pause=c.pause.bind(c),C.resume=c.resume.bind(c),C.stop=C,C}function Ce(t,e=1/0,s){if(e<=0||!et(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,_t(t))Ce(t.value,e,s);else if(U(t))for(let n=0;n<t.length;n++)Ce(t[n],e,s);else if(tr(t)||ts(t))t.forEach(n=>{Ce(n,e,s)});else if(ir(t)){for(const n in t)Ce(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Ce(t[n],e,s)}return t}var Ee={NODE_ENV:"production"};const As=[];let xi=!1;function ed(t,...e){if(xi)return;xi=!0,ee();const s=As.length?As[As.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=sd();if(n)is(n,s,11,[t+e.map(o=>{var r,a;return(a=(r=o.toString)==null?void 0:r.call(o))!=null?a:JSON.stringify(o)}).join(""),s&&s.proxy,i.map(({vnode:o})=>`at <${La(s,o.type)}>`).join(`
|
|
2
2
|
`),i]);else{const o=[`[Vue warn]: ${t}`,...e];i.length&&o.push(`
|
|
3
|
-
`,...nd(i)),console.warn(...o)}
|
|
4
|
-
`],...id(s))}),e}function id({vnode:t,recurseCount:e}){const s=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${La(t.component,t.type,n)}`,o=">"+s;return t.props?[i,...od(t.props),o]:[i+o]}function od(t){const e=[],s=Object.keys(t);return s.slice(0,3).forEach(n=>{e.push(...Mr(n,t[n]))}),s.length>3&&e.push(" ..."),e}function Mr(t,e,s){return ut(e)?(e=JSON.stringify(e),s?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?s?e:[`${t}=${e}`]:_t(e)?(e=Mr(t,Q(e.value),!0),s?e:[`${t}=Ref<`,e,">"]):W(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Q(e),s?e:[`${t}=`,e])}function is(t,e,s,n){try{return n?t(...n):t()}catch(i){xn(i,e,s)}}function Zt(t,e,s,n){if(W(t)){const i=is(t,e,s,n);return i&&sr(i)&&i.catch(o=>{xn(o,e,s)}),i}if(U(t)){const i=[];for(let o=0;o<t.length;o++)i.push(Zt(t[o],e,s,n));return i}}function xn(t,e,s,n=!0){const i=e?e.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:r}=e&&e.appContext.config||rt;if(e){let a=e.parent;const l=e.proxy,u=`https://vuejs.org/error-reference/#runtime-${s}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](t,l,u)===!1)return}a=a.parent}if(o){te(),is(o,null,10,[t,l,u]),ee();return}}rd(t,s,i,n,r)}function rd(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const Ct=[];let se=-1;const os=[];let Ve=null,rs=0;const Dr=Promise.resolve();let Sn=null;function ad(t){const e=Sn||Dr;return t?e.then(this?t.bind(this):t):e}function ld(t){let e=se+1,s=Ct.length;for(;e<s;){const n=e+s>>>1,i=Ct[n],o=Cs(i);o<t||o===t&&i.flags&2?e=n+1:s=n}return e}function Si(t){if(!(t.flags&1)){const e=Cs(t),s=Ct[Ct.length-1];!s||!(t.flags&2)&&e>=Cs(s)?Ct.push(t):Ct.splice(ld(e),0,t),t.flags|=1,Or()}}function Or(){Sn||(Sn=Dr.then(Fr))}function cd(t){U(t)?os.push(...t):Ve&&t.id===-1?Ve.splice(rs+1,0,t):t.flags&1||(os.push(t),t.flags|=1),Or()}function Rr(t,e,s=se+1){for(;s<Ct.length;s++){const n=Ct[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Ct.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Lr(t){if(os.length){const e=[...new Set(os)].sort((s,n)=>Cs(s)-Cs(n));if(os.length=0,Ve){Ve.push(...e);return}for(Ve=e,rs=0;rs<Ve.length;rs++){const s=Ve[rs];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Ve=null,rs=0}}const Cs=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Fr(t){const e=zt;try{for(se=0;se<Ct.length;se++){const s=Ct[se];s&&!(s.flags&8)&&(Ee.NODE_ENV!=="production"&&e(s),s.flags&4&&(s.flags&=-2),is(s,s.i,s.i?15:14),s.flags&4||(s.flags&=-2))}}finally{for(;se<Ct.length;se++){const s=Ct[se];s&&(s.flags&=-2)}se=-1,Ct.length=0,Lr(),Sn=null,(Ct.length||os.length)&&Fr()}}let wt=null,Ir=null;function Tn(t){const e=wt;return wt=t,Ir=t&&t.type.__scopeId||null,e}function wn(t,e=wt,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&Rn(-1);const o=Tn(e);let r;try{r=t(...i)}finally{Tn(o),n._d&&Rn(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Ne(t,e,s,n){const i=t.dirs,o=e&&e.dirs;for(let r=0;r<i.length;r++){const a=i[r];o&&(a.oldValue=o[r].value);let l=a.dir[n];l&&(te(),Zt(l,s,8,[t.el,a,t,e]),ee())}}function Ti(t,e){if(vt){let s=vt.provides;const n=vt.parent&&vt.parent.provides;n===s&&(s=vt.provides=Object.create(n)),s[t]=e}}function Es(t,e,s=!1){const n=Fn();if(n||ls){let i=ls?ls._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return s&&W(e)?e.call(n&&n.proxy):e}}const ud=Symbol.for("v-scx"),fd=()=>Es(ud);function dd(t,e){return wi(t,null,e)}function Pn(t,e,s){return wi(t,e,s)}function wi(t,e,s=rt){const{immediate:n,deep:i,flush:o,once:r}=s,a=mt({},s),l=e&&n||!e&&o!=="post";let u;if($s){if(o==="sync"){const m=fd();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=zt,m.resume=zt,m.pause=zt,m}}const c=vt;a.call=(m,v,b)=>Zt(m,c,v,b);let f=!1;o==="post"?a.scheduler=m=>{Ot(m,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(m,v)=>{v?m():Si(m)}),a.augmentJob=m=>{e&&(m.flags|=4),f&&(m.flags|=2,c&&(m.id=c.uid,m.i=c))};const d=td(t,e,a);return $s&&(u?u.push(d):l&&d()),d}function hd(t,e,s){const n=this.proxy,i=ut(t)?t.includes(".")?kr(n,t):()=>n[t]:t.bind(n,n);let o;W(e)?o=e:(o=e.handler,s=e);const r=js(this),a=wi(i,o.bind(n),s);return r(),a}function kr(t,e){const s=e.split(".");return()=>{let n=t;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const pd=Symbol("_vte"),jr=t=>t.__isTeleport,ne=Symbol("_leaveCb"),Vs=Symbol("_enterCb");function md(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ci(()=>{t.isMounted=!0}),Ei(()=>{t.isUnmounting=!0}),t}const Nt=[Function,Array],$r={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Nt,onEnter:Nt,onAfterEnter:Nt,onEnterCancelled:Nt,onBeforeLeave:Nt,onLeave:Nt,onAfterLeave:Nt,onLeaveCancelled:Nt,onBeforeAppear:Nt,onAppear:Nt,onAfterAppear:Nt,onAppearCancelled:Nt},Br=t=>{const e=t.subTree;return e.component?Br(e.component):e},gd={name:"BaseTransition",props:$r,setup(t,{slots:e}){const s=Fn(),n=md();return()=>{const i=e.default&&Kr(e.default(),!0);if(!i||!i.length)return;const o=Nr(i),r=Q(t),{mode:a}=r;if(n.isLeaving)return Ai(o);const l=Hr(o);if(!l)return Ai(o);let u=Pi(l,r,n,s,f=>u=f);l.type!==xt&&Ms(l,u);let c=s.subTree&&Hr(s.subTree);if(c&&c.type!==xt&&!He(c,l)&&Br(s).type!==xt){let f=Pi(c,r,n,s);if(Ms(c,f),a==="out-in"&&l.type!==xt)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete f.afterLeave,c=void 0},Ai(o);a==="in-out"&&l.type!==xt?f.delayLeave=(d,m,v)=>{const b=Ur(n,c);b[String(c.key)]=c,d[ne]=()=>{m(),d[ne]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{v(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function Nr(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==xt){e=s;break}}return e}const yd=gd;function Ur(t,e){const{leavingVNodes:s}=t;let n=s.get(e.type);return n||(n=Object.create(null),s.set(e.type,n)),n}function Pi(t,e,s,n,i){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:m,onAfterLeave:v,onLeaveCancelled:b,onBeforeAppear:w,onAppear:C,onAfterAppear:E,onAppearCancelled:P}=e,A=String(t.key),D=Ur(s,t),H=(k,G)=>{k&&Zt(k,n,9,G)},z=(k,G)=>{const it=G[1];H(k,G),U(k)?k.every(F=>F.length<=1)&&it():k.length<=1&&it()},$={mode:r,persisted:a,beforeEnter(k){let G=l;if(!s.isMounted)if(o)G=w||l;else return;k[ne]&&k[ne](!0);const it=D[A];it&&He(t,it)&&it.el[ne]&&it.el[ne](),H(G,[k])},enter(k){if(D[A]===t)return;let G=u,it=c,F=f;if(!s.isMounted)if(o)G=C||u,it=E||c,F=P||f;else return;let lt=!1;k[Vs]=Gt=>{lt||(lt=!0,Gt?H(F,[k]):H(it,[k]),$.delayedLeave&&$.delayedLeave(),k[Vs]=void 0)};const yt=k[Vs].bind(null,!1);G?z(G,[k,yt]):yt()},leave(k,G){const it=String(t.key);if(k[Vs]&&k[Vs](!0),s.isUnmounting)return G();H(d,[k]);let F=!1;k[ne]=yt=>{F||(F=!0,G(),yt?H(b,[k]):H(v,[k]),k[ne]=void 0,D[it]===t&&delete D[it])};const lt=k[ne].bind(null,!1);D[it]=t,m?z(m,[k,lt]):lt()},clone(k){const G=Pi(k,e,s,n,i);return i&&i(G),G}};return $}function Ai(t){if(Cn(t))return t=ve(t),t.children=null,t}function Hr(t){if(!Cn(t))return jr(t.type)&&t.children?Nr(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:s}=t;if(s){if(e&16)return s[0];if(e&32&&W(s.default))return s.default()}}function Ms(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Ms(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Kr(t,e=!1,s){let n=[],i=0;for(let o=0;o<t.length;o++){let r=t[o];const a=s==null?r.key:String(s)+String(r.key!=null?r.key:o);r.type===dt?(r.patchFlag&128&&i++,n=n.concat(Kr(r.children,e,a))):(e||r.type!==xt)&&n.push(a!=null?ve(r,{key:a}):r)}if(i>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}function vd(t,e){return W(t)?mt({name:t.name},e,{setup:t}):t}function Wr(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Gr(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const An=new WeakMap;function Ds(t,e,s,n,i=!1){if(U(t)){t.forEach((b,w)=>Ds(b,e&&(U(e)?e[w]:e),s,n,i));return}if(as(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Ds(t,e,s,n.component.subTree);return}const o=n.shapeFlag&4?Bi(n.component):n.el,r=i?null:o,{i:a,r:l}=t,u=e&&e.r,c=a.refs===rt?a.refs={}:a.refs,f=a.setupState,d=Q(f),m=f===rt?Qo:b=>Gr(c,b)?!1:tt(d,b),v=(b,w)=>!(w&&Gr(c,w));if(u!=null&&u!==l){if(zr(e),ut(u))c[u]=null,m(u)&&(f[u]=null);else if(_t(u)){const b=e;v(u,b.k)&&(u.value=null),b.k&&(c[b.k]=null)}}if(W(l))is(l,a,12,[r,c]);else{const b=ut(l),w=_t(l);if(b||w){const C=()=>{if(t.f){const E=b?m(l)?f[l]:c[l]:v()||!t.k?l.value:c[t.k];if(i)U(E)&&ti(E,o);else if(U(E))E.includes(o)||E.push(o);else if(b)c[l]=[o],m(l)&&(f[l]=c[l]);else{const P=[o];v(l,t.k)&&(l.value=P),t.k&&(c[t.k]=P)}}else b?(c[l]=r,m(l)&&(f[l]=r)):w&&(v(l,t.k)&&(l.value=r),t.k&&(c[t.k]=r))};if(r){const E=()=>{C(),An.delete(t)};E.id=-1,An.set(t,E),Ot(E,s)}else zr(t),C()}}}function zr(t){const e=An.get(t);e&&(e.flags|=8,An.delete(t))}dn().requestIdleCallback,dn().cancelIdleCallback;const as=t=>!!t.type.__asyncLoader,Cn=t=>t.type.__isKeepAlive;function bd(t,e){qr(t,"a",e)}function _d(t,e){qr(t,"da",e)}function qr(t,e,s=vt){const n=t.__wdc||(t.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(En(e,n,s),s){let i=s.parent;for(;i&&i.parent;)Cn(i.parent.vnode)&&xd(n,e,s,i),i=i.parent}}function xd(t,e,s,n){const i=En(e,t,n,!0);Vi(()=>{ti(n[e],i)},s)}function En(t,e,s=vt,n=!1){if(s){const i=s[t]||(s[t]=[]),o=e.__weh||(e.__weh=(...r)=>{te();const a=js(s),l=Zt(e,s,t,r);return a(),ee(),l});return n?i.unshift(o):i.push(o),o}}const ye=t=>(e,s=vt)=>{(!$s||t==="sp")&&En(t,(...n)=>e(...n),s)},Sd=ye("bm"),Ci=ye("m"),Yr=ye("bu"),Xr=ye("u"),Ei=ye("bum"),Vi=ye("um"),Td=ye("sp"),wd=ye("rtg"),Pd=ye("rtc");function Ad(t,e=vt){En("ec",t,e)}const Cd="components",Zr=Symbol.for("v-ndc");function Ed(t){return ut(t)?Vd(Cd,t,!1)||t:t||Zr}function Vd(t,e,s=!0,n=!1){const i=wt||vt;if(i){const o=i.type;{const a=Ra(o,!1);if(a&&(a===e||a===$t(e)||a===fn($t(e))))return o}const r=Jr(i[t]||o[t],e)||Jr(i.appContext[t],e);return!r&&n?o:r}}function Jr(t,e){return t&&(t[e]||t[$t(e)]||t[fn($t(e))])}function Me(t,e,s,n){let i;const o=s,r=U(t);if(r||ut(t)){const a=r&&$e(t);let l=!1,u=!1;a&&(l=!Bt(t),u=ge(t),t=hn(t)),i=new Array(t.length);for(let c=0,f=t.length;c<f;c++)i[c]=e(l?u?ss(Xt(t[c])):Xt(t[c]):t[c],c,void 0,o)}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=e(a+1,a,void 0,o)}else if(et(t))if(t[Symbol.iterator])i=Array.from(t,(a,l)=>e(a,l,void 0,o));else{const a=Object.keys(t);i=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];i[l]=e(t[c],c,l,o)}}else i=[];return i}function Md(t,e,s={},n,i){if(wt.ce||wt.parent&&as(wt.parent)&&wt.parent.ce){const u=Object.keys(s).length>0;return I(),kt(dt,null,[st("slot",s,n)],u?-2:64)}let o=t[e];o&&o._c&&(o._d=!1),I();const r=o&&Qr(o(s)),a=s.key||r&&r.key,l=kt(dt,{key:(a&&!qt(a)?a:`_${e}`)+(!r&&n?"_fb":"")},r||[],r&&t._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Qr(t){return t.some(e=>Is(e)?!(e.type===xt||e.type===dt&&!Qr(e.children)):!0)?t:null}const Mi=t=>t?Va(t)?Bi(t):Mi(t.parent):null,Os=mt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Mi(t.parent),$root:t=>Mi(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>na(t),$forceUpdate:t=>t.f||(t.f=()=>{Si(t.update)}),$nextTick:t=>t.n||(t.n=ad.bind(t.proxy)),$watch:t=>hd.bind(t)}),Di=(t,e)=>t!==rt&&!t.__isScriptSetup&&tt(t,e),Dd={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:o,accessCache:r,type:a,appContext:l}=t;if(e[0]!=="$"){const d=r[e];if(d!==void 0)switch(d){case 1:return n[e];case 2:return i[e];case 4:return s[e];case 3:return o[e]}else{if(Di(n,e))return r[e]=1,n[e];if(i!==rt&&tt(i,e))return r[e]=2,i[e];if(tt(o,e))return r[e]=3,o[e];if(s!==rt&&tt(s,e))return r[e]=4,s[e];Oi&&(r[e]=0)}}const u=Os[e];let c,f;if(u)return e==="$attrs"&&Tt(t.attrs,"get",""),u(t);if((c=a.__cssModules)&&(c=c[e]))return c;if(s!==rt&&tt(s,e))return r[e]=4,s[e];if(f=l.config.globalProperties,tt(f,e))return f[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:o}=t;return Di(i,e)?(i[e]=s,!0):n!==rt&&tt(n,e)?(n[e]=s,!0):tt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:i,props:o,type:r}},a){let l;return!!(s[a]||t!==rt&&a[0]!=="$"&&tt(t,a)||Di(e,a)||tt(o,a)||tt(n,a)||tt(Os,a)||tt(i.config.globalProperties,a)||(l=r.__cssModules)&&l[a])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:tt(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function Od(){return Rd().attrs}function Rd(t){const e=Fn();return e.setupContext||(e.setupContext=Oa(e))}function ta(t){return U(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Oi=!0;function Ld(t){const e=na(t),s=t.proxy,n=t.ctx;Oi=!1,e.beforeCreate&&ea(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:m,updated:v,activated:b,deactivated:w,beforeDestroy:C,beforeUnmount:E,destroyed:P,unmounted:A,render:D,renderTracked:H,renderTriggered:z,errorCaptured:$,serverPrefetch:k,expose:G,inheritAttrs:it,components:F,directives:lt,filters:yt}=e;if(u&&Fd(u,n,null),r)for(const Y in r){const X=r[Y];W(X)&&(n[Y]=X.bind(s))}if(i){const Y=i.call(s,s);et(Y)&&(t.data=vi(Y))}if(Oi=!0,o)for(const Y in o){const X=o[Y],Rt=W(X)?X.bind(s,s):W(X.get)?X.get.bind(s,s):zt,vs=!W(X)&&W(X.set)?X.set.bind(s):zt,Je=bt({get:Rt,set:vs});Object.defineProperty(n,Y,{enumerable:!0,configurable:!0,get:()=>Je.value,set:ue=>Je.value=ue})}if(a)for(const Y in a)sa(a[Y],n,s,Y);if(l){const Y=W(l)?l.call(s):l;Reflect.ownKeys(Y).forEach(X=>{Ti(X,Y[X])})}c&&ea(c,t,"c");function q(Y,X){U(X)?X.forEach(Rt=>Y(Rt.bind(s))):X&&Y(X.bind(s))}if(q(Sd,f),q(Ci,d),q(Yr,m),q(Xr,v),q(bd,b),q(_d,w),q(Ad,$),q(Pd,H),q(wd,z),q(Ei,E),q(Vi,A),q(Td,k),U(G))if(G.length){const Y=t.exposed||(t.exposed={});G.forEach(X=>{Object.defineProperty(Y,X,{get:()=>s[X],set:Rt=>s[X]=Rt,enumerable:!0})})}else t.exposed||(t.exposed={});D&&t.render===zt&&(t.render=D),it!=null&&(t.inheritAttrs=it),F&&(t.components=F),lt&&(t.directives=lt),k&&Wr(t)}function Fd(t,e,s=zt){U(t)&&(t=Ri(t));for(const n in t){const i=t[n];let o;et(i)?"default"in i?o=Es(i.from||n,i.default,!0):o=Es(i.from||n):o=Es(i),_t(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[n]=o}}function ea(t,e,s){Zt(U(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function sa(t,e,s,n){let i=n.includes(".")?kr(s,n):()=>s[n];if(ut(t)){const o=e[t];W(o)&&Pn(i,o)}else if(W(t))Pn(i,t.bind(s));else if(et(t))if(U(t))t.forEach(o=>sa(o,e,s,n));else{const o=W(t.handler)?t.handler.bind(s):e[t.handler];W(o)&&Pn(i,o,t)}}function na(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=t.appContext,a=o.get(e);let l;return a?l=a:!i.length&&!s&&!n?l=e:(l={},i.length&&i.forEach(u=>Vn(l,u,r,!0)),Vn(l,e,r)),et(e)&&o.set(e,l),l}function Vn(t,e,s,n=!1){const{mixins:i,extends:o}=e;o&&Vn(t,o,s,!0),i&&i.forEach(r=>Vn(t,r,s,!0));for(const r in e)if(!(n&&r==="expose")){const a=Id[r]||s&&s[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const Id={data:ia,props:oa,emits:oa,methods:Rs,computed:Rs,beforeCreate:Et,created:Et,beforeMount:Et,mounted:Et,beforeUpdate:Et,updated:Et,beforeDestroy:Et,beforeUnmount:Et,destroyed:Et,unmounted:Et,activated:Et,deactivated:Et,errorCaptured:Et,serverPrefetch:Et,components:Rs,directives:Rs,watch:jd,provide:ia,inject:kd};function ia(t,e){return e?t?function(){return mt(W(t)?t.call(this,this):t,W(e)?e.call(this,this):e)}:e:t}function kd(t,e){return Rs(Ri(t),Ri(e))}function Ri(t){if(U(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function Et(t,e){return t?[...new Set([].concat(t,e))]:e}function Rs(t,e){return t?mt(Object.create(null),t,e):e}function oa(t,e){return t?U(t)&&U(e)?[...new Set([...t,...e])]:mt(Object.create(null),ta(t),ta(e??{})):e}function jd(t,e){if(!t)return e;if(!e)return t;const s=mt(Object.create(null),t);for(const n in e)s[n]=Et(t[n],e[n]);return s}function ra(){return{app:null,config:{isNativeTag:Qo,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 $d=0;function Bd(t,e){return function(n,i=null){W(n)||(n=mt({},n)),i!=null&&!et(i)&&(i=null);const o=ra(),r=new WeakSet,a=[];let l=!1;const u=o.app={_uid:$d++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:vh,get config(){return o.config},set config(c){},use(c,...f){return r.has(c)||(c&&W(c.install)?(r.add(c),c.install(u,...f)):W(c)&&(r.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,d){if(!l){const m=u._ceVNode||st(n,i);return m.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),t(m,c,d),l=!0,u._container=c,c.__vue_app__=u,Bi(m.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Zt(a,u._instance,16),t(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=ls;ls=u;try{return c()}finally{ls=f}}};return u}}let ls=null;const Nd=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${$t(e)}Modifiers`]||t[`${ke(e)}Modifiers`];function Ud(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||rt;let i=s;const o=e.startsWith("update:"),r=o&&Nd(n,e.slice(7));r&&(r.trim&&(i=s.map(c=>ut(c)?c.trim():c)),r.number&&(i=s.map(yf)));let a,l=n[a=si(e)]||n[a=si($t(e))];!l&&o&&(l=n[a=si(ke(e))]),l&&Zt(l,t,6,i);const u=n[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Zt(u,t,6,i)}}const Hd=new WeakMap;function aa(t,e,s=!1){const n=s?Hd:e.emitsCache,i=n.get(t);if(i!==void 0)return i;const o=t.emits;let r={},a=!1;if(!W(t)){const l=u=>{const c=aa(u,e,!0);c&&(a=!0,mt(r,c))};!s&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(et(t)&&n.set(t,null),null):(U(o)?o.forEach(l=>r[l]=null):mt(r,o),et(t)&&n.set(t,r),r)}function Mn(t,e){return!t||!cn(e)?!1:(e=e.slice(2).replace(/Once$/,""),tt(t,e[0].toLowerCase()+e.slice(1))||tt(t,ke(e))||tt(t,e))}function Ub(){}function la(t){const{type:e,vnode:s,proxy:n,withProxy:i,propsOptions:[o],slots:r,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:m,ctx:v,inheritAttrs:b}=t,w=Tn(t);let C,E;try{if(s.shapeFlag&4){const A=i||n,D=Ee.NODE_ENV!=="production"&&m.__isScriptSetup?new Proxy(A,{get(H,z,$){return ed(`Property '${String(z)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(H,z,$)}}):A;C=ie(u.call(D,A,c,Ee.NODE_ENV!=="production"?yn(f):f,m,d,v)),E=a}else{const A=e;Ee.NODE_ENV,C=ie(A.length>1?A(Ee.NODE_ENV!=="production"?yn(f):f,Ee.NODE_ENV!=="production"?{get attrs(){return yn(a)},slots:r,emit:l}:{attrs:a,slots:r,emit:l}):A(Ee.NODE_ENV!=="production"?yn(f):f,null)),E=e.props?a:Kd(a)}}catch(A){Ls.length=0,xn(A,t,1),C=st(xt)}let P=C;if(E&&b!==!1){const A=Object.keys(E),{shapeFlag:D}=P;A.length&&D&7&&(o&&A.some(Qn)&&(E=Wd(E,o)),P=ve(P,E,!1,!0))}return s.dirs&&(P=ve(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(s.dirs):s.dirs),s.transition&&Ms(P,s.transition),C=P,Tn(w),C}const Kd=t=>{let e;for(const s in t)(s==="class"||s==="style"||cn(s))&&((e||(e={}))[s]=t[s]);return e},Wd=(t,e)=>{const s={};for(const n in t)(!Qn(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function Gd(t,e,s){const{props:n,children:i,component:o}=t,{props:r,children:a,patchFlag:l}=e,u=o.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&l>=0){if(l&1024)return!0;if(l&16)return n?ca(n,r,u):!!r;if(l&8){const c=e.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(ua(r,n,d)&&!Mn(u,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:n===r?!1:n?r?ca(n,r,u):!0:!!r;return!1}function ca(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let i=0;i<n.length;i++){const o=n[i];if(ua(e,t,o)&&!Mn(s,o))return!0}return!1}function ua(t,e,s){const n=t[s],i=e[s];return s==="style"&&et(n)&&et(i)?!oi(n,i):n!==i}function zd({vnode:t,parent:e},s){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.el=t.el),n===t)(t=e.vnode).el=s,e=e.parent;else break}}const fa={},da=()=>Object.create(fa),ha=t=>Object.getPrototypeOf(t)===fa;function qd(t,e,s,n=!1){const i={},o=da();t.propsDefaults=Object.create(null),pa(t,e,i,o);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);s?t.props=n?i:Gf(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function Yd(t,e,s,n){const{props:i,attrs:o,vnode:{patchFlag:r}}=t,a=Q(i),[l]=t.propsOptions;let u=!1;if((n||r>0)&&!(r&16)){if(r&8){const c=t.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(Mn(t.emitsOptions,d))continue;const m=e[d];if(l)if(tt(o,d))m!==o[d]&&(o[d]=m,u=!0);else{const v=$t(d);i[v]=Li(l,a,v,m,t,!1)}else m!==o[d]&&(o[d]=m,u=!0)}}}else{pa(t,e,i,o)&&(u=!0);let c;for(const f in a)(!e||!tt(e,f)&&((c=ke(f))===f||!tt(e,c)))&&(l?s&&(s[f]!==void 0||s[c]!==void 0)&&(i[f]=Li(l,a,f,void 0,t,!0)):delete i[f]);if(o!==a)for(const f in o)(!e||!tt(e,f))&&(delete o[f],u=!0)}u&&pe(t.attrs,"set","")}function pa(t,e,s,n){const[i,o]=t.propsOptions;let r=!1,a;if(e)for(let l in e){if(_s(l))continue;const u=e[l];let c;i&&tt(i,c=$t(l))?!o||!o.includes(c)?s[c]=u:(a||(a={}))[c]=u:Mn(t.emitsOptions,l)||(!(l in n)||u!==n[l])&&(n[l]=u,r=!0)}if(o){const l=Q(s),u=a||rt;for(let c=0;c<o.length;c++){const f=o[c];s[f]=Li(i,l,f,u[f],t,!tt(u,f))}}return r}function Li(t,e,s,n,i,o){const r=t[s];if(r!=null){const a=tt(r,"default");if(a&&n===void 0){const l=r.default;if(r.type!==Function&&!r.skipFactory&&W(l)){const{propsDefaults:u}=i;if(s in u)n=u[s];else{const c=js(i);n=u[s]=l.call(null,e),c()}}else n=l;i.ce&&i.ce._setProp(s,n)}r[0]&&(o&&!a?n=!1:r[1]&&(n===""||n===ke(s))&&(n=!0))}return n}const Xd=new WeakMap;function ma(t,e,s=!1){const n=s?Xd:e.propsCache,i=n.get(t);if(i)return i;const o=t.props,r={},a=[];let l=!1;if(!W(t)){const c=f=>{l=!0;const[d,m]=ma(f,e,!0);mt(r,d),m&&a.push(...m)};!s&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!o&&!l)return et(t)&&n.set(t,Qe),Qe;if(U(o))for(let c=0;c<o.length;c++){const f=$t(o[c]);ga(f)&&(r[f]=rt)}else if(o)for(const c in o){const f=$t(c);if(ga(f)){const d=o[c],m=r[f]=U(d)||W(d)?{type:d}:mt({},d),v=m.type;let b=!1,w=!0;if(U(v))for(let C=0;C<v.length;++C){const E=v[C],P=W(E)&&E.name;if(P==="Boolean"){b=!0;break}else P==="String"&&(w=!1)}else b=W(v)&&v.name==="Boolean";m[0]=b,m[1]=w,(b||tt(m,"default"))&&a.push(f)}}const u=[r,a];return et(t)&&n.set(t,u),u}function ga(t){return t[0]!=="$"&&!_s(t)}const Fi=t=>t==="_"||t==="_ctx"||t==="$stable",Ii=t=>U(t)?t.map(ie):[ie(t)],Zd=(t,e,s)=>{if(e._n)return e;const n=wn((...i)=>(Ee.NODE_ENV!=="production"&&vt&&!(s===null&&wt)&&(s&&(s.root,vt.root)),Ii(e(...i))),s);return n._c=!1,n},ya=(t,e,s)=>{const n=t._ctx;for(const i in t){if(Fi(i))continue;const o=t[i];if(W(o))e[i]=Zd(i,o,n);else if(o!=null){const r=Ii(o);e[i]=()=>r}}},va=(t,e)=>{const s=Ii(e);t.slots.default=()=>s},ba=(t,e,s)=>{for(const n in e)(s||!Fi(n))&&(t[n]=e[n])},Jd=(t,e,s)=>{const n=t.slots=da();if(t.vnode.shapeFlag&32){const i=e._;i?(ba(n,e,s),s&&or(n,"_",i,!0)):ya(e,n)}else e&&va(t,e)},Qd=(t,e,s)=>{const{vnode:n,slots:i}=t;let o=!0,r=rt;if(n.shapeFlag&32){const a=e._;a?s&&a===1?o=!1:ba(i,e,s):(o=!e.$stable,ya(e,i)),r=e}else e&&(va(t,e),r={default:1});if(o)for(const a in i)!Fi(a)&&r[a]==null&&delete i[a]},Ot=ih;function th(t){return eh(t)}function eh(t,e){const s=dn();s.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:r,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:m=zt,insertStaticContent:v}=t,b=(h,p,y,T=null,_=null,x=null,O=void 0,M=null,V=!!p.dynamicChildren)=>{if(h===p)return;h&&!He(h,p)&&(T=Jn(h),ue(h,_,x,!0),h=null),p.patchFlag===-2&&(V=!1,p.dynamicChildren=null);const{type:S,ref:N,shapeFlag:R}=p;switch(S){case Dn:w(h,p,y,T);break;case xt:C(h,p,y,T);break;case On:h==null&&E(p,y,T,O);break;case dt:F(h,p,y,T,_,x,O,M,V);break;default:R&1?D(h,p,y,T,_,x,O,M,V):R&6?lt(h,p,y,T,_,x,O,M,V):(R&64||R&128)&&S.process(h,p,y,T,_,x,O,M,V,an)}N!=null&&_?Ds(N,h&&h.ref,x,p||h,!p):N==null&&h&&h.ref!=null&&Ds(h.ref,null,x,h,!0)},w=(h,p,y,T)=>{if(h==null)n(p.el=a(p.children),y,T);else{const _=p.el=h.el;p.children!==h.children&&u(_,p.children)}},C=(h,p,y,T)=>{h==null?n(p.el=l(p.children||""),y,T):p.el=h.el},E=(h,p,y,T)=>{[h.el,h.anchor]=v(h.children,p,y,T,h.el,h.anchor)},P=({el:h,anchor:p},y,T)=>{let _;for(;h&&h!==p;)_=d(h),n(h,y,T),h=_;n(p,y,T)},A=({el:h,anchor:p})=>{let y;for(;h&&h!==p;)y=d(h),i(h),h=y;i(p)},D=(h,p,y,T,_,x,O,M,V)=>{if(p.type==="svg"?O="svg":p.type==="math"&&(O="mathml"),h==null)H(p,y,T,_,x,O,M,V);else{const S=h.el&&h.el._isVueCE?h.el:null;try{S&&S._beginPatch(),k(h,p,_,x,O,M,V)}finally{S&&S._endPatch()}}},H=(h,p,y,T,_,x,O,M)=>{let V,S;const{props:N,shapeFlag:R,transition:j,dirs:K}=h;if(V=h.el=r(h.type,x,N&&N.is,N),R&8?c(V,h.children):R&16&&$(h.children,V,null,T,_,ki(h,x),O,M),K&&Ne(h,null,T,"created"),z(V,h,h.scopeId,O,T),N){for(const ct in N)ct!=="value"&&!_s(ct)&&o(V,ct,null,N[ct],x,T);"value"in N&&o(V,"value",null,N.value,x),(S=N.onVnodeBeforeMount)&&oe(S,T,h)}K&&Ne(h,null,T,"beforeMount");const Z=sh(_,j);Z&&j.beforeEnter(V),n(V,p,y),((S=N&&N.onVnodeMounted)||Z||K)&&Ot(()=>{S&&oe(S,T,h),Z&&j.enter(V),K&&Ne(h,null,T,"mounted")},_)},z=(h,p,y,T,_)=>{if(y&&m(h,y),T)for(let x=0;x<T.length;x++)m(h,T[x]);if(_){let x=_.subTree;if(p===x||wa(x.type)&&(x.ssContent===p||x.ssFallback===p)){const O=_.vnode;z(h,O,O.scopeId,O.slotScopeIds,_.parent)}}},$=(h,p,y,T,_,x,O,M,V=0)=>{for(let S=V;S<h.length;S++){const N=h[S]=M?be(h[S]):ie(h[S]);b(null,N,p,y,T,_,x,O,M)}},k=(h,p,y,T,_,x,O)=>{const M=p.el=h.el;let{patchFlag:V,dynamicChildren:S,dirs:N}=p;V|=h.patchFlag&16;const R=h.props||rt,j=p.props||rt;let K;if(y&&Ue(y,!1),(K=j.onVnodeBeforeUpdate)&&oe(K,y,p,h),N&&Ne(p,h,y,"beforeUpdate"),y&&Ue(y,!0),(R.innerHTML&&j.innerHTML==null||R.textContent&&j.textContent==null)&&c(M,""),S?G(h.dynamicChildren,S,M,y,T,ki(p,_),x):O||X(h,p,M,null,y,T,ki(p,_),x,!1),V>0){if(V&16)it(M,R,j,y,_);else if(V&2&&R.class!==j.class&&o(M,"class",null,j.class,_),V&4&&o(M,"style",R.style,j.style,_),V&8){const Z=p.dynamicProps;for(let ct=0;ct<Z.length;ct++){const ot=Z[ct],Lt=R[ot],Ft=j[ot];(Ft!==Lt||ot==="value")&&o(M,ot,Lt,Ft,_,y)}}V&1&&h.children!==p.children&&c(M,p.children)}else!O&&S==null&&it(M,R,j,y,_);((K=j.onVnodeUpdated)||N)&&Ot(()=>{K&&oe(K,y,p,h),N&&Ne(p,h,y,"updated")},T)},G=(h,p,y,T,_,x,O)=>{for(let M=0;M<p.length;M++){const V=h[M],S=p[M],N=V.el&&(V.type===dt||!He(V,S)||V.shapeFlag&198)?f(V.el):y;b(V,S,N,null,T,_,x,O,!0)}},it=(h,p,y,T,_)=>{if(p!==y){if(p!==rt)for(const x in p)!_s(x)&&!(x in y)&&o(h,x,p[x],null,_,T);for(const x in y){if(_s(x))continue;const O=y[x],M=p[x];O!==M&&x!=="value"&&o(h,x,M,O,_,T)}"value"in y&&o(h,"value",p.value,y.value,_)}},F=(h,p,y,T,_,x,O,M,V)=>{const S=p.el=h?h.el:a(""),N=p.anchor=h?h.anchor:a("");let{patchFlag:R,dynamicChildren:j,slotScopeIds:K}=p;K&&(M=M?M.concat(K):K),h==null?(n(S,y,T),n(N,y,T),$(p.children||[],y,N,_,x,O,M,V)):R>0&&R&64&&j&&h.dynamicChildren&&h.dynamicChildren.length===j.length?(G(h.dynamicChildren,j,y,_,x,O,M),(p.key!=null||_&&p===_.subTree)&&_a(h,p,!0)):X(h,p,y,N,_,x,O,M,V)},lt=(h,p,y,T,_,x,O,M,V)=>{p.slotScopeIds=M,h==null?p.shapeFlag&512?_.ctx.activate(p,y,T,O,V):yt(p,y,T,_,x,O,V):Gt(h,p,V)},yt=(h,p,y,T,_,x,O)=>{const M=h.component=fh(h,T,_);if(Cn(h)&&(M.ctx.renderer=an),dh(M,!1,O),M.asyncDep){if(_&&_.registerDep(M,q,O),!h.el){const V=M.subTree=st(xt);C(null,V,p,y),h.placeholder=V.el}}else q(M,h,p,y,_,x,O)},Gt=(h,p,y)=>{const T=p.component=h.component;if(Gd(h,p,y))if(T.asyncDep&&!T.asyncResolved){Y(T,p,y);return}else T.next=p,T.update();else p.el=h.el,T.vnode=p},q=(h,p,y,T,_,x,O)=>{const M=()=>{if(h.isMounted){let{next:R,bu:j,u:K,parent:Z,vnode:ct}=h;{const de=xa(h);if(de){R&&(R.el=ct.el,Y(h,R,O)),de.asyncDep.then(()=>{Ot(()=>{h.isUnmounted||S()},_)});return}}let ot=R,Lt;Ue(h,!1),R?(R.el=ct.el,Y(h,R,O)):R=ct,j&&ni(j),(Lt=R.props&&R.props.onVnodeBeforeUpdate)&&oe(Lt,Z,R,ct),Ue(h,!0);const Ft=la(h),fe=h.subTree;h.subTree=Ft,b(fe,Ft,f(fe.el),Jn(fe),h,_,x),R.el=Ft.el,ot===null&&zd(h,Ft.el),K&&Ot(K,_),(Lt=R.props&&R.props.onVnodeUpdated)&&Ot(()=>oe(Lt,Z,R,ct),_)}else{let R;const{el:j,props:K}=p,{bm:Z,m:ct,parent:ot,root:Lt,type:Ft}=h,fe=as(p);Ue(h,!1),Z&&ni(Z),!fe&&(R=K&&K.onVnodeBeforeMount)&&oe(R,ot,p),Ue(h,!0);{Lt.ce&&Lt.ce._hasShadowRoot()&&Lt.ce._injectChildStyle(Ft);const de=h.subTree=la(h);b(null,de,y,T,h,_,x),p.el=de.el}if(ct&&Ot(ct,_),!fe&&(R=K&&K.onVnodeMounted)){const de=p;Ot(()=>oe(R,ot,de),_)}(p.shapeFlag&256||ot&&as(ot.vnode)&&ot.vnode.shapeFlag&256)&&h.a&&Ot(h.a,_),h.isMounted=!0,p=y=T=null}};h.scope.on();const V=h.effect=new ur(M);h.scope.off();const S=h.update=V.run.bind(V),N=h.job=V.runIfDirty.bind(V);N.i=h,N.id=h.uid,V.scheduler=()=>Si(N),Ue(h,!0),S()},Y=(h,p,y)=>{p.component=h;const T=h.vnode.props;h.vnode=p,h.next=null,Yd(h,p.props,T,y),Qd(h,p.children,y),te(),Rr(h),ee()},X=(h,p,y,T,_,x,O,M,V=!1)=>{const S=h&&h.children,N=h?h.shapeFlag:0,R=p.children,{patchFlag:j,shapeFlag:K}=p;if(j>0){if(j&128){vs(S,R,y,T,_,x,O,M,V);return}else if(j&256){Rt(S,R,y,T,_,x,O,M,V);return}}K&8?(N&16&&rn(S,_,x),R!==S&&c(y,R)):N&16?K&16?vs(S,R,y,T,_,x,O,M,V):rn(S,_,x,!0):(N&8&&c(y,""),K&16&&$(R,y,T,_,x,O,M,V))},Rt=(h,p,y,T,_,x,O,M,V)=>{h=h||Qe,p=p||Qe;const S=h.length,N=p.length,R=Math.min(S,N);let j;for(j=0;j<R;j++){const K=p[j]=V?be(p[j]):ie(p[j]);b(h[j],K,y,null,_,x,O,M,V)}S>N?rn(h,_,x,!0,!1,R):$(p,y,T,_,x,O,M,V,R)},vs=(h,p,y,T,_,x,O,M,V)=>{let S=0;const N=p.length;let R=h.length-1,j=N-1;for(;S<=R&&S<=j;){const K=h[S],Z=p[S]=V?be(p[S]):ie(p[S]);if(He(K,Z))b(K,Z,y,null,_,x,O,M,V);else break;S++}for(;S<=R&&S<=j;){const K=h[R],Z=p[j]=V?be(p[j]):ie(p[j]);if(He(K,Z))b(K,Z,y,null,_,x,O,M,V);else break;R--,j--}if(S>R){if(S<=j){const K=j+1,Z=K<N?p[K].el:T;for(;S<=j;)b(null,p[S]=V?be(p[S]):ie(p[S]),y,Z,_,x,O,M,V),S++}}else if(S>j)for(;S<=R;)ue(h[S],_,x,!0),S++;else{const K=S,Z=S,ct=new Map;for(S=Z;S<=j;S++){const jt=p[S]=V?be(p[S]):ie(p[S]);jt.key!=null&&ct.set(jt.key,S)}let ot,Lt=0;const Ft=j-Z+1;let fe=!1,de=0;const ln=new Array(Ft);for(S=0;S<Ft;S++)ln[S]=0;for(S=K;S<=R;S++){const jt=h[S];if(Lt>=Ft){ue(jt,_,x,!0);continue}let he;if(jt.key!=null)he=ct.get(jt.key);else for(ot=Z;ot<=j;ot++)if(ln[ot-Z]===0&&He(jt,p[ot])){he=ot;break}he===void 0?ue(jt,_,x,!0):(ln[he-Z]=S+1,he>=de?de=he:fe=!0,b(jt,p[he],y,null,_,x,O,M,V),Lt++)}const uf=fe?nh(ln):Qe;for(ot=uf.length-1,S=Ft-1;S>=0;S--){const jt=Z+S,he=p[jt],ff=p[jt+1],df=jt+1<N?ff.el||Ta(ff):T;ln[S]===0?b(null,he,y,df,_,x,O,M,V):fe&&(ot<0||S!==uf[ot]?Je(he,y,df,2):ot--)}}},Je=(h,p,y,T,_=null)=>{const{el:x,type:O,transition:M,children:V,shapeFlag:S}=h;if(S&6){Je(h.component.subTree,p,y,T);return}if(S&128){h.suspense.move(p,y,T);return}if(S&64){O.move(h,p,y,an);return}if(O===dt){n(x,p,y);for(let R=0;R<V.length;R++)Je(V[R],p,y,T);n(h.anchor,p,y);return}if(O===On){P(h,p,y);return}if(T!==2&&S&1&&M)if(T===0)M.beforeEnter(x),n(x,p,y),Ot(()=>M.enter(x),_);else{const{leave:R,delayLeave:j,afterLeave:K}=M,Z=()=>{h.ctx.isUnmounted?i(x):n(x,p,y)},ct=()=>{x._isLeaving&&x[ne](!0),R(x,()=>{Z(),K&&K()})};j?j(x,Z,ct):ct()}else n(x,p,y)},ue=(h,p,y,T=!1,_=!1)=>{const{type:x,props:O,ref:M,children:V,dynamicChildren:S,shapeFlag:N,patchFlag:R,dirs:j,cacheIndex:K}=h;if(R===-2&&(_=!1),M!=null&&(te(),Ds(M,null,y,h,!0),ee()),K!=null&&(p.renderCache[K]=void 0),N&256){p.ctx.deactivate(h);return}const Z=N&1&&j,ct=!as(h);let ot;if(ct&&(ot=O&&O.onVnodeBeforeUnmount)&&oe(ot,p,h),N&6)Bb(h.component,y,T);else{if(N&128){h.suspense.unmount(y,T);return}Z&&Ne(h,null,p,"beforeUnmount"),N&64?h.type.remove(h,p,y,an,T):S&&!S.hasOnce&&(x!==dt||R>0&&R&64)?rn(S,p,y,!1,!0):(x===dt&&R&384||!_&&N&16)&&rn(V,p,y),T&&lf(h)}(ct&&(ot=O&&O.onVnodeUnmounted)||Z)&&Ot(()=>{ot&&oe(ot,p,h),Z&&Ne(h,null,p,"unmounted")},y)},lf=h=>{const{type:p,el:y,anchor:T,transition:_}=h;if(p===dt){$b(y,T);return}if(p===On){A(h);return}const x=()=>{i(y),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(h.shapeFlag&1&&_&&!_.persisted){const{leave:O,delayLeave:M}=_,V=()=>O(y,x);M?M(h.el,x,V):V()}else x()},$b=(h,p)=>{let y;for(;h!==p;)y=d(h),i(h),h=y;i(p)},Bb=(h,p,y)=>{const{bum:T,scope:_,job:x,subTree:O,um:M,m:V,a:S}=h;Sa(V),Sa(S),T&&ni(T),_.stop(),x&&(x.flags|=8,ue(O,h,p,y)),M&&Ot(M,p),Ot(()=>{h.isUnmounted=!0},p)},rn=(h,p,y,T=!1,_=!1,x=0)=>{for(let O=x;O<h.length;O++)ue(h[O],p,y,T,_)},Jn=h=>{if(h.shapeFlag&6)return Jn(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const p=d(h.anchor||h.el),y=p&&p[pd];return y?d(y):p};let Jo=!1;const cf=(h,p,y)=>{let T;h==null?p._vnode&&(ue(p._vnode,null,null,!0),T=p._vnode.component):b(p._vnode||null,h,p,null,null,null,y),p._vnode=h,Jo||(Jo=!0,Rr(T),Lr(),Jo=!1)},an={p:b,um:ue,m:Je,r:lf,mt:yt,mc:$,pc:X,pbc:G,n:Jn,o:t};return{render:cf,hydrate:void 0,createApp:Bd(cf)}}function ki({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function Ue({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function sh(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function _a(t,e,s=!1){const n=t.children,i=e.children;if(U(n)&&U(i))for(let o=0;o<n.length;o++){const r=n[o];let a=i[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[o]=be(i[o]),a.el=r.el),!s&&a.patchFlag!==-2&&_a(r,a)),a.type===Dn&&(a.patchFlag===-1&&(a=i[o]=be(a)),a.el=r.el),a.type===xt&&!a.el&&(a.el=r.el)}}function nh(t){const e=t.slice(),s=[0];let n,i,o,r,a;const l=t.length;for(n=0;n<l;n++){const u=t[n];if(u!==0){if(i=s[s.length-1],t[i]<u){e[n]=i,s.push(n);continue}for(o=0,r=s.length-1;o<r;)a=o+r>>1,t[s[a]]<u?o=a+1:r=a;u<t[s[o]]&&(o>0&&(e[n]=s[o-1]),s[o]=n)}}for(o=s.length,r=s[o-1];o-- >0;)s[o]=r,r=e[r];return s}function xa(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:xa(e)}function Sa(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Ta(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Ta(e.subTree):null}const wa=t=>t.__isSuspense;function ih(t,e){e&&e.pendingBranch?U(t)?e.effects.push(...t):e.effects.push(t):cd(t)}const dt=Symbol.for("v-fgt"),Dn=Symbol.for("v-txt"),xt=Symbol.for("v-cmt"),On=Symbol.for("v-stc"),Ls=[];let It=null;function I(t=!1){Ls.push(It=t?null:[])}function oh(){Ls.pop(),It=Ls[Ls.length-1]||null}let Fs=1;function Rn(t,e=!1){Fs+=t,t<0&&It&&e&&(It.hasOnce=!0)}function Pa(t){return t.dynamicChildren=Fs>0?It||Qe:null,oh(),Fs>0&&It&&It.push(t),t}function B(t,e,s,n,i,o){return Pa(g(t,e,s,n,i,o,!0))}function kt(t,e,s,n,i){return Pa(st(t,e,s,n,i,!0))}function Is(t){return t?t.__v_isVNode===!0:!1}function He(t,e){return t.type===e.type&&t.key===e.key}const Aa=({key:t})=>t??null,Ln=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?ut(t)||_t(t)||W(t)?{i:wt,r:t,k:e,f:!!s}:t:null);function g(t,e=null,s=null,n=0,i=null,o=t===dt?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Aa(e),ref:e&&Ln(e),scopeId:Ir,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:wt};return a?(ji(l,s),o&128&&t.normalize(l)):s&&(l.shapeFlag|=ut(s)?8:16),Fs>0&&!r&&It&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&It.push(l),l}const st=rh;function rh(t,e=null,s=null,n=0,i=null,o=!1){if((!t||t===Zr)&&(t=xt),Is(t)){const a=ve(t,e,!0);return s&&ji(a,s),Fs>0&&!o&&It&&(a.shapeFlag&6?It[It.indexOf(t)]=a:It.push(a)),a.patchFlag=-2,a}if(yh(t)&&(t=t.__vccOpts),e){e=ah(e);let{class:a,style:l}=e;a&&!ut(a)&&(e.class=At(a)),et(l)&&(_i(l)&&!U(l)&&(l=mt({},l)),e.style=ii(l))}const r=ut(t)?1:wa(t)?128:jr(t)?64:et(t)?4:W(t)?2:0;return g(t,e,s,n,i,r,o,!0)}function ah(t){return t?_i(t)||ha(t)?mt({},t):t:null}function ve(t,e,s=!1,n=!1){const{props:i,ref:o,patchFlag:r,children:a,transition:l}=t,u=e?Ca(i||{},e):i,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Aa(u),ref:e&&e.ref?s&&o?U(o)?o.concat(Ln(e)):[o,Ln(e)]:Ln(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==dt?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ve(t.ssContent),ssFallback:t.ssFallback&&ve(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&n&&Ms(c,l.clone(c)),c}function ks(t=" ",e=0){return st(Dn,null,t,e)}function lh(t,e){const s=st(On,null,t);return s.staticCount=e,s}function Ut(t="",e=!1){return e?(I(),kt(xt,null,t)):st(xt,null,t)}function ie(t){return t==null||typeof t=="boolean"?st(xt):U(t)?st(dt,null,t.slice()):Is(t)?be(t):st(Dn,null,String(t))}function be(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:ve(t)}function ji(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(U(e))s=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),ji(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!ha(e)?e._ctx=wt:i===3&&wt&&(wt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else W(e)?(e={default:e,_ctx:wt},s=32):(e=String(e),n&64?(s=16,e=[ks(e)]):s=8);t.children=e,t.shapeFlag|=s}function Ca(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const i in n)if(i==="class")e.class!==n.class&&(e.class=At([e.class,n.class]));else if(i==="style")e.style=ii([e.style,n.style]);else if(cn(i)){const o=e[i],r=n[i];r&&o!==r&&!(U(o)&&o.includes(r))&&(e[i]=o?[].concat(o,r):r)}else i!==""&&(e[i]=n[i])}return e}function oe(t,e,s,n=null){Zt(t,e,7,[s,n])}const ch=ra();let uh=0;function fh(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||ch,o={uid:uh++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Af(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ma(n,i),emitsOptions:aa(n,i),emit:null,emitted:null,propsDefaults:rt,inheritAttrs:n.inheritAttrs,ctx:rt,data:rt,props:rt,attrs:rt,slots:rt,refs:rt,setupState:rt,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=e?e.root:o,o.emit=Ud.bind(null,o),t.ce&&t.ce(o),o}let vt=null;const Fn=()=>vt||wt;let In,$i;{const t=dn(),e=(s,n)=>{let i;return(i=t[s])||(i=t[s]=[]),i.push(n),o=>{i.length>1?i.forEach(r=>r(o)):i[0](o)}};In=e("__VUE_INSTANCE_SETTERS__",s=>vt=s),$i=e("__VUE_SSR_SETTERS__",s=>$s=s)}const js=t=>{const e=vt;return In(t),t.scope.on(),()=>{t.scope.off(),In(e)}},Ea=()=>{vt&&vt.scope.off(),In(null)};function Va(t){return t.vnode.shapeFlag&4}let $s=!1;function dh(t,e=!1,s=!1){e&&$i(e);const{props:n,children:i}=t.vnode,o=Va(t);qd(t,n,o,e),Jd(t,i,s||e);const r=o?hh(t,e):void 0;return e&&$i(!1),r}function hh(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Dd);const{setup:n}=s;if(n){te();const i=t.setupContext=n.length>1?Oa(t):null,o=js(t),r=is(n,t,0,[t.props,i]),a=sr(r);if(ee(),o(),(a||t.sp)&&!as(t)&&Wr(t),a){if(r.then(Ea,Ea),e)return r.then(l=>{Ma(t,l)}).catch(l=>{xn(l,t,0)});t.asyncDep=r}else Ma(t,r)}else Da(t)}function Ma(t,e,s){W(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:et(e)&&(t.setupState=Vr(e)),Da(t)}function Da(t,e,s){const n=t.type;t.render||(t.render=n.render||zt);{const i=js(t);te();try{Ld(t)}finally{ee(),i()}}}const ph={get(t,e){return Tt(t,"get",""),t[e]}};function Oa(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,ph),slots:t.slots,emit:t.emit,expose:e}}function Bi(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Vr(zf(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Os)return Os[s](t)},has(e,s){return s in e||s in Os}})):t.proxy}const mh=/(?:^|[-_])\w/g,gh=t=>t.replace(mh,e=>e.toUpperCase()).replace(/[-_]/g,"");function Ra(t,e=!0){return W(t)?t.displayName||t.name:t.name||e&&t.__name}function La(t,e,s=!1){let n=Ra(e);if(!n&&e.__file){const i=e.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&t){const i=o=>{for(const r in o)if(o[r]===e)return r};n=i(t.components)||t.parent&&i(t.parent.type.components)||i(t.appContext.components)}return n?gh(n):s?"App":"Anonymous"}function yh(t){return W(t)&&"__vccOpts"in t}const bt=(t,e)=>Jf(t,e,$s);function Ni(t,e,s){try{Rn(-1);const n=arguments.length;return n===2?et(e)&&!U(e)?Is(e)?st(t,null,[e]):st(t,e):st(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Is(s)&&(s=[s]),st(t,e,s))}finally{Rn(1)}}const vh="3.5.29";let Ui;const Fa=typeof window<"u"&&window.trustedTypes;if(Fa)try{Ui=Fa.createPolicy("vue",{createHTML:t=>t})}catch{}const Ia=Ui?t=>Ui.createHTML(t):t=>t,bh="http://www.w3.org/2000/svg",_h="http://www.w3.org/1998/Math/MathML",_e=typeof document<"u"?document:null,ka=_e&&_e.createElement("template"),xh={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const i=e==="svg"?_e.createElementNS(bh,t):e==="mathml"?_e.createElementNS(_h,t):s?_e.createElement(t,{is:s}):_e.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>_e.createTextNode(t),createComment:t=>_e.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>_e.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,i,o){const r=s?s.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),s),!(i===o||!(i=i.nextSibling)););else{ka.innerHTML=Ia(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const a=ka.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,s)}return[r?r.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},De="transition",Bs="animation",Ns=Symbol("_vtc"),ja={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},Sh=mt({},$r,ja),Th=(t=>(t.displayName="Transition",t.props=Sh,t))((t,{slots:e})=>Ni(yd,wh(t),e)),Ke=(t,e=[])=>{U(t)?t.forEach(s=>s(...e)):t&&t(...e)},$a=t=>t?U(t)?t.some(e=>e.length>1):t.length>1:!1;function wh(t){const e={};for(const F in t)F in ja||(e[F]=t[F]);if(t.css===!1)return e;const{name:s="v",type:n,duration:i,enterFromClass:o=`${s}-enter-from`,enterActiveClass:r=`${s}-enter-active`,enterToClass:a=`${s}-enter-to`,appearFromClass:l=o,appearActiveClass:u=r,appearToClass:c=a,leaveFromClass:f=`${s}-leave-from`,leaveActiveClass:d=`${s}-leave-active`,leaveToClass:m=`${s}-leave-to`}=t,v=Ph(i),b=v&&v[0],w=v&&v[1],{onBeforeEnter:C,onEnter:E,onEnterCancelled:P,onLeave:A,onLeaveCancelled:D,onBeforeAppear:H=C,onAppear:z=E,onAppearCancelled:$=P}=e,k=(F,lt,yt,Gt)=>{F._enterCancelled=Gt,We(F,lt?c:a),We(F,lt?u:r),yt&&yt()},G=(F,lt)=>{F._isLeaving=!1,We(F,f),We(F,m),We(F,d),lt&<()},it=F=>(lt,yt)=>{const Gt=F?z:E,q=()=>k(lt,F,yt);Ke(Gt,[lt,q]),Ba(()=>{We(lt,F?l:o),xe(lt,F?c:a),$a(Gt)||Na(lt,n,b,q)})};return mt(e,{onBeforeEnter(F){Ke(C,[F]),xe(F,o),xe(F,r)},onBeforeAppear(F){Ke(H,[F]),xe(F,l),xe(F,u)},onEnter:it(!1),onAppear:it(!0),onLeave(F,lt){F._isLeaving=!0;const yt=()=>G(F,lt);xe(F,f),F._enterCancelled?(xe(F,d),Ka(F)):(Ka(F),xe(F,d)),Ba(()=>{F._isLeaving&&(We(F,f),xe(F,m),$a(A)||Na(F,n,w,yt))}),Ke(A,[F,yt])},onEnterCancelled(F){k(F,!1,void 0,!0),Ke(P,[F])},onAppearCancelled(F){k(F,!0,void 0,!0),Ke($,[F])},onLeaveCancelled(F){G(F),Ke(D,[F])}})}function Ph(t){if(t==null)return null;if(et(t))return[Hi(t.enter),Hi(t.leave)];{const e=Hi(t);return[e,e]}}function Hi(t){return vf(t)}function xe(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[Ns]||(t[Ns]=new Set)).add(e)}function We(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const s=t[Ns];s&&(s.delete(e),s.size||(t[Ns]=void 0))}function Ba(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Ah=0;function Na(t,e,s,n){const i=t._endId=++Ah,o=()=>{i===t._endId&&n()};if(s!=null)return setTimeout(o,s);const{type:r,timeout:a,propCount:l}=Ch(t,e);if(!r)return n();const u=r+"end";let c=0;const f=()=>{t.removeEventListener(u,d),o()},d=m=>{m.target===t&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),t.addEventListener(u,d)}function Ch(t,e){const s=window.getComputedStyle(t),n=v=>(s[v]||"").split(", "),i=n(`${De}Delay`),o=n(`${De}Duration`),r=Ua(i,o),a=n(`${Bs}Delay`),l=n(`${Bs}Duration`),u=Ua(a,l);let c=null,f=0,d=0;e===De?r>0&&(c=De,f=r,d=o.length):e===Bs?u>0&&(c=Bs,f=u,d=l.length):(f=Math.max(r,u),c=f>0?r>u?De:Bs:null,d=c?c===De?o.length:l.length:0);const m=c===De&&/\b(?:transform|all)(?:,|$)/.test(n(`${De}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:m}}function Ua(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((s,n)=>Ha(s)+Ha(t[n])))}function Ha(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Ka(t){return(t?t.ownerDocument:document).body.offsetHeight}function Eh(t,e,s){const n=t[Ns];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const Wa=Symbol("_vod"),Vh=Symbol("_vsh"),Mh=Symbol(""),Dh=/(?:^|;)\s*display\s*:/;function Oh(t,e,s){const n=t.style,i=ut(s);let o=!1;if(s&&!i){if(e)if(ut(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&kn(n,a,"")}else for(const r in e)s[r]==null&&kn(n,r,"");for(const r in s)r==="display"&&(o=!0),kn(n,r,s[r])}else if(i){if(e!==s){const r=n[Mh];r&&(s+=";"+r),n.cssText=s,o=Dh.test(s)}}else e&&t.removeAttribute("style");Wa in t&&(t[Wa]=o?n.display:"",t[Vh]&&(n.display="none"))}const Ga=/\s*!important$/;function kn(t,e,s){if(U(s))s.forEach(n=>kn(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=Rh(t,e);Ga.test(s)?t.setProperty(ke(n),s.replace(Ga,""),"important"):t[n]=s}}const za=["Webkit","Moz","ms"],Ki={};function Rh(t,e){const s=Ki[e];if(s)return s;let n=$t(e);if(n!=="filter"&&n in t)return Ki[e]=n;n=fn(n);for(let i=0;i<za.length;i++){const o=za[i]+n;if(o in t)return Ki[e]=o}return e}const qa="http://www.w3.org/1999/xlink";function Ya(t,e,s,n,i,o=Tf(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(qa,e.slice(6,e.length)):t.setAttributeNS(qa,e,s):s==null||o&&!ar(s)?t.removeAttribute(e):t.setAttribute(e,o?"":qt(s)?String(s):s)}function Xa(t,e,s,n,i){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?Ia(s):s);return}const o=t.tagName;if(e==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?t.getAttribute("value")||"":t.value,l=s==null?t.type==="checkbox"?"on":"":String(s);(a!==l||!("_value"in t))&&(t.value=l),s==null&&t.removeAttribute(e),t._value=s;return}let r=!1;if(s===""||s==null){const a=typeof t[e];a==="boolean"?s=ar(s):s==null&&a==="string"?(s="",r=!0):a==="number"&&(s=0,r=!0)}try{t[e]=s}catch{}r&&t.removeAttribute(i||e)}function Lh(t,e,s,n){t.addEventListener(e,s,n)}function Fh(t,e,s,n){t.removeEventListener(e,s,n)}const Za=Symbol("_vei");function Ih(t,e,s,n,i=null){const o=t[Za]||(t[Za]={}),r=o[e];if(n&&r)r.value=n;else{const[a,l]=kh(e);if(n){const u=o[e]=Bh(n,i);Lh(t,a,u,l)}else r&&(Fh(t,a,r,l),o[e]=void 0)}}const Ja=/(?:Once|Passive|Capture)$/;function kh(t){let e;if(Ja.test(t)){e={};let n;for(;n=t.match(Ja);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):ke(t.slice(2)),e]}let Wi=0;const jh=Promise.resolve(),$h=()=>Wi||(jh.then(()=>Wi=0),Wi=Date.now());function Bh(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Zt(Nh(n,s.value),e,5,[n])};return s.value=t,s.attached=$h(),s}function Nh(t,e){if(U(e)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},e.map(n=>i=>!i._stopped&&n&&n(i))}else return e}const Qa=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Uh=(t,e,s,n,i,o)=>{const r=i==="svg";e==="class"?Eh(t,n,r):e==="style"?Oh(t,s,n):cn(e)?Qn(e)||Ih(t,e,s,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Hh(t,e,n,r))?(Xa(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Ya(t,e,n,r,o,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!ut(n))?Xa(t,$t(e),n,o,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Ya(t,e,n,r))};function Hh(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&Qa(e)&&W(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Qa(e)&&ut(s)?!1:e in t}const Kh=mt({patchProp:Uh},xh);let tl;function Wh(){return tl||(tl=th(Kh))}const el=((...t)=>{const e=Wh().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=zh(n);if(!i)return;const o=e._component;!W(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const r=s(i,!1,Gh(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},e});function Gh(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function zh(t){return ut(t)?document.querySelector(t):t}const qh={class:"slds-p-around_medium slds-theme_shade slds-text-align_center slds-text-body_small slds-mt-auto"},Yh={class:"slds-grid slds-grid_align-spread slds-wrap"},Xh={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},Zh={key:0,class:"slds-text-color_weak"},Jh={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},Qh={class:"slds-text-color_weak"},tp={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},ep={class:"slds-text-color_weak"},sp={__name:"FooterLayout",props:{description:{type:String,default:""},generatedAt:{type:String,default:()=>new Date().toISOString()},schemaCount:{type:Number,default:0}},setup(t){function e(s){return new Date(s).toLocaleString()}return(s,n)=>(I(),B("footer",qh,[g("div",Yh,[g("div",Xh,[t.description?(I(),B("span",Zh,J(t.description),1)):Ut("",!0)]),g("div",Jh,[g("span",Qh,J(t.schemaCount)+" schema"+J(t.schemaCount!==1?"s":"")+" documented ",1)]),g("div",tp,[g("span",ep," Generated at: "+J(e(t.generatedAt)),1)])])]))}},sl="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='100'%20width='100'%20viewBox='0%200%201000%201000'%20fill='%23fff'%3e%3cpath%20d='M738%20200H262c-34%200-62%2028-62%2062v476c0%2034%2028%2062%2062%2062h476c34%200%2062-28%2062-62V262c0-34-28-62-62-62m-455%2062h434c11%200%2021%209%2021%2021v39H262v-39c0-12%209-21%2021-21m434%20476H283c-11%200-21-9-21-21V382h476v335c0%2012-9%2021-21%2021M467%20633l-66-66%2066-66c4-4%204-10%200-14l-28-28c-4-4-10-4-14%200l-73%2073-15%2015-13%2013c-2%202-3%205-3%207%200%203%201%205%203%207l102%20102c4%204%2010%204%2014%200l28-28c3-5%203-11-1-15m210-74-13-13-15-15-73-73c-4-4-10-4-14%200l-28%2028c-4%204-4%2010%200%2014l66%2066-66%2066c-4%204-4%2010%200%2014l28%2028c4%204%2010%204%2014%200l102-102c2-2%203-5%203-7z'/%3e%3c/svg%3e",np={class:"slds-page-header"},ip={class:"slds-page-header__row"},op={class:"slds-page-header__col-title"},rp={class:"slds-media"},ap={class:"slds-media__body"},lp={class:"slds-page-header__name"},cp={class:"slds-page-header__name-title"},up=["title"],fp={__name:"HeaderLayout",props:{title:{type:String,default:"JSON Schema Documentation"}},setup(t){return(e,s)=>(I(),B("header",np,[g("div",ip,[g("div",op,[g("div",rp,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:sl,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",ap,[g("div",lp,[g("div",cp,[g("h1",{class:"slds-page-header__title slds-truncate",title:t.title},J(t.title),9,up)])])])])])])]))}};function Us(t,e){const s=typeof t=="string"&&!e?`${t}Context`:e,n=Symbol(s);return[r=>{const a=Es(n,r);if(a===void 0)throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`);return a},r=>(Ti(n,r),r),n]}function dp(t,e){const{layoutGroup:s,presenceContext:n,config:i}=e,o=s.id&&t.layoutId?`${s.id}-${t.layoutId}`:t.layoutId||void 0;return{...t,layoutId:o,transition:t.transition??i.transition,layoutGroup:s,motionConfig:i,inViewOptions:t.inViewOptions??i.inViewOptions,presenceContext:n,initial:n.initial===!1?n.initial:t.initial===!0?void 0:t.initial}}function Gi(t,e){t.indexOf(e)===-1&&t.push(e)}function jn(t,e){const s=t.indexOf(e);s>-1&&t.splice(s,1)}const re=(t,e,s)=>s>e?e:s<t?t:s;let zi=()=>{};const Se={},nl=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function il(t){return typeof t=="object"&&t!==null}const ol=t=>/^0[^.\s]+$/u.test(t);function rl(t){let e;return()=>(e===void 0&&(e=t()),e)}const Ht=t=>t,hp=(t,e)=>s=>e(t(s)),Hs=(...t)=>t.reduce(hp),Ks=(t,e,s)=>{const n=e-t;return n===0?1:(s-t)/n};class qi{constructor(){this.subscriptions=[]}add(e){return Gi(this.subscriptions,e),()=>jn(this.subscriptions,e)}notify(e,s,n){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,s,n);else for(let o=0;o<i;o++){const r=this.subscriptions[o];r&&r(e,s,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ae=t=>t*1e3,Kt=t=>t/1e3;function al(t,e){return e?t*(1e3/e):0}const ll=(t,e,s)=>(((1-3*s+3*e)*t+(3*s-6*e))*t+3*e)*t,pp=1e-7,mp=12;function gp(t,e,s,n,i){let o,r,a=0;do r=e+(s-e)/2,o=ll(r,n,i)-t,o>0?s=r:e=r;while(Math.abs(o)>pp&&++a<mp);return r}function Ws(t,e,s,n){if(t===e&&s===n)return Ht;const i=o=>gp(o,0,1,t,s);return o=>o===0||o===1?o:ll(i(o),e,n)}const cl=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ul=t=>e=>1-t(1-e),fl=Ws(.33,1.53,.69,.99),Yi=ul(fl),dl=cl(Yi),hl=t=>(t*=2)<1?.5*Yi(t):.5*(2-Math.pow(2,-10*(t-1))),Xi=t=>1-Math.sin(Math.acos(t)),pl=ul(Xi),ml=cl(Xi),yp=Ws(.42,0,1,1),vp=Ws(0,0,.58,1),gl=Ws(.42,0,.58,1),bp=t=>Array.isArray(t)&&typeof t[0]!="number",yl=t=>Array.isArray(t)&&typeof t[0]=="number",_p={linear:Ht,easeIn:yp,easeInOut:gl,easeOut:vp,circIn:Xi,circInOut:ml,circOut:pl,backIn:Yi,backInOut:dl,backOut:fl,anticipate:hl},xp=t=>typeof t=="string",vl=t=>{if(yl(t)){zi(t.length===4);const[e,s,n,i]=t;return Ws(e,s,n,i)}else if(xp(t))return _p[t];return t},$n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Sp(t,e){let s=new Set,n=new Set,i=!1,o=!1;const r=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(c){r.has(c)&&(u.schedule(c),t()),c(a)}const u={schedule:(c,f=!1,d=!1)=>{const v=d&&i?s:n;return f&&r.add(c),v.has(c)||v.add(c),c},cancel:c=>{n.delete(c),r.delete(c)},process:c=>{if(a=c,i){o=!0;return}i=!0,[s,n]=[n,s],s.forEach(l),s.clear(),i=!1,o&&(o=!1,u.process(c))}};return u}const Tp=40;function bl(t,e){let s=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>s=!0,r=$n.reduce((P,A)=>(P[A]=Sp(o),P),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:d,render:m,postRender:v}=r,b=()=>{const P=Se.useManualTiming?i.timestamp:performance.now();s=!1,Se.useManualTiming||(i.delta=n?1e3/60:Math.max(Math.min(P-i.timestamp,Tp),1)),i.timestamp=P,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),d.process(i),m.process(i),v.process(i),i.isProcessing=!1,s&&e&&(n=!1,t(b))},w=()=>{s=!0,n=!0,i.isProcessing||t(b)};return{schedule:$n.reduce((P,A)=>{const D=r[A];return P[A]=(H,z=!1,$=!1)=>(s||w(),D.schedule(H,z,$)),P},{}),cancel:P=>{for(let A=0;A<$n.length;A++)r[$n[A]].cancel(P)},state:i,steps:r}}const{schedule:nt,cancel:Oe,state:St,steps:Zi}=bl(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ht,!0);let Bn;function wp(){Bn=void 0}const Vt={now:()=>(Bn===void 0&&Vt.set(St.isProcessing||Se.useManualTiming?St.timestamp:performance.now()),Bn),set:t=>{Bn=t,queueMicrotask(wp)}},_l=t=>e=>typeof e=="string"&&e.startsWith(t),Ji=_l("--"),Pp=_l("var(--"),Qi=t=>Pp(t)?Ap.test(t.split("/*")[0].trim()):!1,Ap=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function xl(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const cs={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Gs={...cs,transform:t=>re(0,1,t)},Nn={...cs,default:1},zs=t=>Math.round(t*1e5)/1e5,to=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Cp(t){return t==null}const Ep=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,eo=(t,e)=>s=>!!(typeof s=="string"&&Ep.test(s)&&s.startsWith(t)||e&&!Cp(s)&&Object.prototype.hasOwnProperty.call(s,e)),Sl=(t,e,s)=>n=>{if(typeof n!="string")return n;const[i,o,r,a]=n.match(to);return{[t]:parseFloat(i),[e]:parseFloat(o),[s]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},Vp=t=>re(0,255,t),so={...cs,transform:t=>Math.round(Vp(t))},Ge={test:eo("rgb","red"),parse:Sl("red","green","blue"),transform:({red:t,green:e,blue:s,alpha:n=1})=>"rgba("+so.transform(t)+", "+so.transform(e)+", "+so.transform(s)+", "+zs(Gs.transform(n))+")"};function Mp(t){let e="",s="",n="",i="";return t.length>5?(e=t.substring(1,3),s=t.substring(3,5),n=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),s=t.substring(2,3),n=t.substring(3,4),i=t.substring(4,5),e+=e,s+=s,n+=n,i+=i),{red:parseInt(e,16),green:parseInt(s,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}const no={test:eo("#"),parse:Mp,transform:Ge.transform},qs=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Re=qs("deg"),le=qs("%"),L=qs("px"),Dp=qs("vh"),Op=qs("vw"),Tl={...le,parse:t=>le.parse(t)/100,transform:t=>le.transform(t*100)},us={test:eo("hsl","hue"),parse:Sl("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:s,alpha:n=1})=>"hsla("+Math.round(t)+", "+le.transform(zs(e))+", "+le.transform(zs(s))+", "+zs(Gs.transform(n))+")"},pt={test:t=>Ge.test(t)||no.test(t)||us.test(t),parse:t=>Ge.test(t)?Ge.parse(t):us.test(t)?us.parse(t):no.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Ge.transform(t):us.transform(t),getAnimatableNone:t=>{const e=pt.parse(t);return e.alpha=0,pt.transform(e)}},Rp=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Lp(t){return isNaN(t)&&typeof t=="string"&&(t.match(to)?.length||0)+(t.match(Rp)?.length||0)>0}const wl="number",Pl="color",Fp="var",Ip="var(",Al="${}",kp=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ys(t){const e=t.toString(),s=[],n={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(kp,l=>(pt.test(l)?(n.color.push(o),i.push(Pl),s.push(pt.parse(l))):l.startsWith(Ip)?(n.var.push(o),i.push(Fp),s.push(l)):(n.number.push(o),i.push(wl),s.push(parseFloat(l))),++o,Al)).split(Al);return{values:s,split:a,indexes:n,types:i}}function Cl(t){return Ys(t).values}function El(t){const{split:e,types:s}=Ys(t),n=e.length;return i=>{let o="";for(let r=0;r<n;r++)if(o+=e[r],i[r]!==void 0){const a=s[r];a===wl?o+=zs(i[r]):a===Pl?o+=pt.transform(i[r]):o+=i[r]}return o}}const jp=t=>typeof t=="number"?0:pt.test(t)?pt.getAnimatableNone(t):t;function $p(t){const e=Cl(t);return El(t)(e.map(jp))}const Jt={test:Lp,parse:Cl,createTransformer:El,getAnimatableNone:$p};function io(t,e,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?t+(e-t)*6*s:s<1/2?e:s<2/3?t+(e-t)*(2/3-s)*6:t}function Bp({hue:t,saturation:e,lightness:s,alpha:n}){t/=360,e/=100,s/=100;let i=0,o=0,r=0;if(!e)i=o=r=s;else{const a=s<.5?s*(1+e):s+e-s*e,l=2*s-a;i=io(l,a,t+1/3),o=io(l,a,t),r=io(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:n}}function Un(t,e){return s=>s>0?e:t}const ft=(t,e,s)=>t+(e-t)*s,oo=(t,e,s)=>{const n=t*t,i=s*(e*e-n)+n;return i<0?0:Math.sqrt(i)},Np=[no,Ge,us],Up=t=>Np.find(e=>e.test(t));function Vl(t){const e=Up(t);if(!e)return!1;let s=e.parse(t);return e===us&&(s=Bp(s)),s}const Ml=(t,e)=>{const s=Vl(t),n=Vl(e);if(!s||!n)return Un(t,e);const i={...s};return o=>(i.red=oo(s.red,n.red,o),i.green=oo(s.green,n.green,o),i.blue=oo(s.blue,n.blue,o),i.alpha=ft(s.alpha,n.alpha,o),Ge.transform(i))},ro=new Set(["none","hidden"]);function Hp(t,e){return ro.has(t)?s=>s<=0?t:e:s=>s>=1?e:t}function Kp(t,e){return s=>ft(t,e,s)}function ao(t){return typeof t=="number"?Kp:typeof t=="string"?Qi(t)?Un:pt.test(t)?Ml:zp:Array.isArray(t)?Dl:typeof t=="object"?pt.test(t)?Ml:Wp:Un}function Dl(t,e){const s=[...t],n=s.length,i=t.map((o,r)=>ao(o)(o,e[r]));return o=>{for(let r=0;r<n;r++)s[r]=i[r](o);return s}}function Wp(t,e){const s={...t,...e},n={};for(const i in s)t[i]!==void 0&&e[i]!==void 0&&(n[i]=ao(t[i])(t[i],e[i]));return i=>{for(const o in n)s[o]=n[o](i);return s}}function Gp(t,e){const s=[],n={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const o=e.types[i],r=t.indexes[o][n[o]],a=t.values[r]??0;s[i]=a,n[o]++}return s}const zp=(t,e)=>{const s=Jt.createTransformer(e),n=Ys(t),i=Ys(e);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?ro.has(t)&&!i.values.length||ro.has(e)&&!n.values.length?Hp(t,e):Hs(Dl(Gp(n,i),i.values),s):Un(t,e)};function Ol(t,e,s){return typeof t=="number"&&typeof e=="number"&&typeof s=="number"?ft(t,e,s):ao(t)(t,e)}const qp=t=>{const e=({timestamp:s})=>t(s);return{start:(s=!0)=>nt.update(e,s),stop:()=>Oe(e),now:()=>St.isProcessing?St.timestamp:Vt.now()}},Rl=(t,e,s=10)=>{let n="";const i=Math.max(Math.round(e/s),2);for(let o=0;o<i;o++)n+=Math.round(t(o/(i-1))*1e4)/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},Hn=2e4;function lo(t){let e=0;const s=50;let n=t.next(e);for(;!n.done&&e<Hn;)e+=s,n=t.next(e);return e>=Hn?1/0:e}function Yp(t,e=100,s){const n=s({...t,keyframes:[0,e]}),i=Math.min(lo(n),Hn);return{type:"keyframes",ease:o=>n.next(i*o).value/e,duration:Kt(i)}}const Xp=5;function Ll(t,e,s){const n=Math.max(e-Xp,0);return al(s-t(n),e-n)}const ht={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},co=.001;function Zp({duration:t=ht.duration,bounce:e=ht.bounce,velocity:s=ht.velocity,mass:n=ht.mass}){let i,o,r=1-e;r=re(ht.minDamping,ht.maxDamping,r),t=re(ht.minDuration,ht.maxDuration,Kt(t)),r<1?(i=u=>{const c=u*r,f=c*t,d=c-s,m=uo(u,r),v=Math.exp(-f);return co-d/m*v},o=u=>{const f=u*r*t,d=f*s+s,m=Math.pow(r,2)*Math.pow(u,2)*t,v=Math.exp(-f),b=uo(Math.pow(u,2),r);return(-i(u)+co>0?-1:1)*((d-m)*v)/b}):(i=u=>{const c=Math.exp(-u*t),f=(u-s)*t+1;return-co+c*f},o=u=>{const c=Math.exp(-u*t),f=(s-u)*(t*t);return c*f});const a=5/t,l=Qp(i,o,a);if(t=ae(t),isNaN(l))return{stiffness:ht.stiffness,damping:ht.damping,duration:t};{const u=Math.pow(l,2)*n;return{stiffness:u,damping:r*2*Math.sqrt(n*u),duration:t}}}const Jp=12;function Qp(t,e,s){let n=s;for(let i=1;i<Jp;i++)n=n-t(n)/e(n);return n}function uo(t,e){return t*Math.sqrt(1-e*e)}const tm=["duration","bounce"],em=["stiffness","damping","mass"];function Fl(t,e){return e.some(s=>t[s]!==void 0)}function sm(t){let e={velocity:ht.velocity,stiffness:ht.stiffness,damping:ht.damping,mass:ht.mass,isResolvedFromDuration:!1,...t};if(!Fl(t,em)&&Fl(t,tm))if(e.velocity=0,t.visualDuration){const s=t.visualDuration,n=2*Math.PI/(s*1.2),i=n*n,o=2*re(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:ht.mass,stiffness:i,damping:o}}else{const s=Zp({...t,velocity:0});e={...e,...s,mass:ht.mass},e.isResolvedFromDuration=!0}return e}function Kn(t=ht.visualDuration,e=ht.bounce){const s=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:n,restDelta:i}=s;const o=s.keyframes[0],r=s.keyframes[s.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:f,velocity:d,isResolvedFromDuration:m}=sm({...s,velocity:-Kt(s.velocity||0)}),v=d||0,b=u/(2*Math.sqrt(l*c)),w=r-o,C=Kt(Math.sqrt(l/c)),E=Math.abs(w)<5;n||(n=E?ht.restSpeed.granular:ht.restSpeed.default),i||(i=E?ht.restDelta.granular:ht.restDelta.default);let P;if(b<1){const D=uo(C,b);P=H=>{const z=Math.exp(-b*C*H);return r-z*((v+b*C*w)/D*Math.sin(D*H)+w*Math.cos(D*H))}}else if(b===1)P=D=>r-Math.exp(-C*D)*(w+(v+C*w)*D);else{const D=C*Math.sqrt(b*b-1);P=H=>{const z=Math.exp(-b*C*H),$=Math.min(D*H,300);return r-z*((v+b*C*w)*Math.sinh($)+D*w*Math.cosh($))/D}}const A={calculatedDuration:m&&f||null,next:D=>{const H=P(D);if(m)a.done=D>=f;else{let z=D===0?v:0;b<1&&(z=D===0?ae(v):Ll(P,D,H));const $=Math.abs(z)<=n,k=Math.abs(r-H)<=i;a.done=$&&k}return a.value=a.done?r:H,a},toString:()=>{const D=Math.min(lo(A),Hn),H=Rl(z=>A.next(D*z).value,D,30);return D+"ms "+H},toTransition:()=>{}};return A}Kn.applyToOptions=t=>{const e=Yp(t,100,Kn);return t.ease=e.ease,t.duration=ae(e.duration),t.type="keyframes",t};function fo({keyframes:t,velocity:e=0,power:s=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:u=.5,restSpeed:c}){const f=t[0],d={done:!1,value:f},m=$=>a!==void 0&&$<a||l!==void 0&&$>l,v=$=>a===void 0?l:l===void 0||Math.abs(a-$)<Math.abs(l-$)?a:l;let b=s*e;const w=f+b,C=r===void 0?w:r(w);C!==w&&(b=C-f);const E=$=>-b*Math.exp(-$/n),P=$=>C+E($),A=$=>{const k=E($),G=P($);d.done=Math.abs(k)<=u,d.value=d.done?C:G};let D,H;const z=$=>{m(d.value)&&(D=$,H=Kn({keyframes:[d.value,v(d.value)],velocity:Ll(P,$,d.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return z(0),{calculatedDuration:null,next:$=>{let k=!1;return!H&&D===void 0&&(k=!0,A($),z($)),D!==void 0&&$>=D?H.next($-D):(!k&&A($),d)}}}function nm(t,e,s){const n=[],i=s||Se.mix||Ol,o=t.length-1;for(let r=0;r<o;r++){let a=i(t[r],t[r+1]);if(e){const l=Array.isArray(e)?e[r]||Ht:e;a=Hs(l,a)}n.push(a)}return n}function im(t,e,{clamp:s=!0,ease:n,mixer:i}={}){const o=t.length;if(zi(o===e.length),o===1)return()=>e[0];if(o===2&&e[0]===e[1])return()=>e[1];const r=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=nm(e,n,i),l=a.length,u=c=>{if(r&&c<t[0])return e[0];let f=0;if(l>1)for(;f<t.length-2&&!(c<t[f+1]);f++);const d=Ks(t[f],t[f+1],c);return a[f](d)};return s?c=>u(re(t[0],t[o-1],c)):u}function om(t,e){const s=t[t.length-1];for(let n=1;n<=e;n++){const i=Ks(0,e,n);t.push(ft(s,1,i))}}function rm(t){const e=[0];return om(e,t.length-1),e}function am(t,e){return t.map(s=>s*e)}function lm(t,e){return t.map(()=>e||gl).splice(0,t.length-1)}function Xs({duration:t=300,keyframes:e,times:s,ease:n="easeInOut"}){const i=bp(n)?n.map(vl):vl(n),o={done:!1,value:e[0]},r=am(s&&s.length===e.length?s:rm(e),t),a=im(r,e,{ease:Array.isArray(i)?i:lm(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const cm=t=>t!==null;function ho(t,{repeat:e,repeatType:s="loop"},n,i=1){const o=t.filter(cm),a=i<0||e&&s!=="loop"&&e%2===1?0:o.length-1;return!a||n===void 0?o[a]:n}const um={decay:fo,inertia:fo,tween:Xs,keyframes:Xs,spring:Kn};function Il(t){typeof t.type=="string"&&(t.type=um[t.type])}class po{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,s){return this.finished.then(e,s)}}const fm=t=>t/100;class mo extends po{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==Vt.now()&&this.tick(Vt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;Il(e);const{type:s=Xs,repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=e;let{keyframes:a}=e;const l=s||Xs;l!==Xs&&typeof a[0]!="number"&&(this.mixKeyframes=Hs(fm,Ol(a[0],a[1])),a=[0,100]);const u=l({...e,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...a].reverse(),velocity:-r})),u.calculatedDuration===null&&(u.calculatedDuration=lo(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=u}updateTime(e){const s=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(e,s=!1){const{generator:n,totalDuration:i,mixKeyframes:o,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return n.next(0);const{delay:u=0,keyframes:c,repeat:f,repeatType:d,repeatDelay:m,type:v,onUpdate:b,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),s?this.currentTime=e:this.updateTime(e);const C=this.currentTime-u*(this.playbackSpeed>=0?1:-1),E=this.playbackSpeed>=0?C<0:C>i;this.currentTime=Math.max(C,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let P=this.currentTime,A=n;if(f){const $=Math.min(this.currentTime,i)/a;let k=Math.floor($),G=$%1;!G&&$>=1&&(G=1),G===1&&k--,k=Math.min(k,f+1),k%2&&(d==="reverse"?(G=1-G,m&&(G-=m/a)):d==="mirror"&&(A=r)),P=re(0,1,G)*a}const D=E?{done:!1,value:c[0]}:A.next(P);o&&(D.value=o(D.value));let{done:H}=D;!E&&l!==null&&(H=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&H);return z&&v!==fo&&(D.value=ho(c,this.options,w,this.speed)),b&&b(D.value),z&&this.finish(),D}then(e,s){return this.finished.then(e,s)}get duration(){return Kt(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Kt(e)}get time(){return Kt(this.currentTime)}set time(e){e=ae(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(Vt.now());const s=this.playbackSpeed!==e;this.playbackSpeed=e,s&&(this.time=Kt(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=qp,startTime:s}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),this.options.onPlay?.();const n=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=s??n),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Vt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function dm(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const ze=t=>t*180/Math.PI,go=t=>{const e=ze(Math.atan2(t[1],t[0]));return yo(e)},hm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:go,rotateZ:go,skewX:t=>ze(Math.atan(t[1])),skewY:t=>ze(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},yo=t=>(t=t%360,t<0&&(t+=360),t),kl=go,jl=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),$l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),pm={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:jl,scaleY:$l,scale:t=>(jl(t)+$l(t))/2,rotateX:t=>yo(ze(Math.atan2(t[6],t[5]))),rotateY:t=>yo(ze(Math.atan2(-t[2],t[0]))),rotateZ:kl,rotate:kl,skewX:t=>ze(Math.atan(t[4])),skewY:t=>ze(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function vo(t){return t.includes("scale")?1:0}function bo(t,e){if(!t||t==="none")return vo(e);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,i;if(s)n=pm,i=s;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=hm,i=a}if(!i)return vo(e);const o=n[e],r=i[1].split(",").map(gm);return typeof o=="function"?o(r):r[o]}const mm=(t,e)=>{const{transform:s="none"}=getComputedStyle(t);return bo(s,e)};function gm(t){return parseFloat(t.trim())}const fs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ds=new Set(fs),Bl=t=>t===cs||t===L,ym=new Set(["x","y","z"]),vm=fs.filter(t=>!ym.has(t));function bm(t){const e=[];return vm.forEach(s=>{const n=t.getValue(s);n!==void 0&&(e.push([s,n.get()]),n.set(s.startsWith("scale")?1:0))}),e}const Le={width:({x:t},{paddingLeft:e="0",paddingRight:s="0"})=>t.max-t.min-parseFloat(e)-parseFloat(s),height:({y:t},{paddingTop:e="0",paddingBottom:s="0"})=>t.max-t.min-parseFloat(e)-parseFloat(s),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>bo(e,"x"),y:(t,{transform:e})=>bo(e,"y")};Le.translateX=Le.x,Le.translateY=Le.y;const qe=new Set;let _o=!1,xo=!1,So=!1;function Nl(){if(xo){const t=Array.from(qe).filter(n=>n.needsMeasurement),e=new Set(t.map(n=>n.element)),s=new Map;e.forEach(n=>{const i=bm(n);i.length&&(s.set(n,i),n.render())}),t.forEach(n=>n.measureInitialState()),e.forEach(n=>{n.render();const i=s.get(n);i&&i.forEach(([o,r])=>{n.getValue(o)?.set(r)})}),t.forEach(n=>n.measureEndState()),t.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}xo=!1,_o=!1,qe.forEach(t=>t.complete(So)),qe.clear()}function Ul(){qe.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(xo=!0)})}function _m(){So=!0,Ul(),Nl(),So=!1}class To{constructor(e,s,n,i,o,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=s,this.name=n,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(qe.add(this),_o||(_o=!0,nt.read(Ul),nt.resolveKeyframes(Nl))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:s,element:n,motionValue:i}=this;if(e[0]===null){const o=i?.get(),r=e[e.length-1];if(o!==void 0)e[0]=o;else if(n&&s){const a=n.readValue(s,r);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=r),i&&o===void 0&&i.set(e[0])}dm(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),qe.delete(this)}cancel(){this.state==="scheduled"&&(qe.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const xm=t=>t.startsWith("--");function Sm(t,e,s){xm(e)?t.style.setProperty(e,s):t.style[e]=s}const Tm={};function Hl(t,e){const s=rl(t);return()=>Tm[e]??s()}const wm=Hl(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Kl=Hl(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Zs=([t,e,s,n])=>`cubic-bezier(${t}, ${e}, ${s}, ${n})`,Wl={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Zs([0,.65,.55,1]),circOut:Zs([.55,0,1,.45]),backIn:Zs([.31,.01,.66,-.59]),backOut:Zs([.33,1.53,.69,.99])};function Gl(t,e){if(t)return typeof t=="function"?Kl()?Rl(t,e):"ease-out":yl(t)?Zs(t):Array.isArray(t)?t.map(s=>Gl(s,e)||Wl.easeOut):Wl[t]}function Pm(t,e,s,{delay:n=0,duration:i=300,repeat:o=0,repeatType:r="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[e]:s};l&&(c.offset=l);const f=Gl(a,i);Array.isArray(f)&&(c.easing=f);const d={delay:n,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"};return u&&(d.pseudoElement=u),t.animate(c,d)}function zl(t){return typeof t=="function"&&"applyToOptions"in t}function Am({type:t,...e}){return zl(t)&&Kl()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class ql extends po{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:s,name:n,keyframes:i,pseudoElement:o,allowFlatten:r=!1,finalKeyframe:a,onComplete:l}=e;this.isPseudoElement=!!o,this.allowFlatten=r,this.options=e,zi(typeof e.type!="string");const u=Am(e);this.animation=Pm(s,n,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=ho(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):Sm(s,n,c),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return Kt(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Kt(e)}get time(){return Kt(Number(this.animation.currentTime)||0)}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ae(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,observe:s}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&wm()?(this.animation.timeline=e,Ht):s(this)}}const Yl={anticipate:hl,backInOut:dl,circInOut:ml};function Cm(t){return t in Yl}function Em(t){typeof t.ease=="string"&&Cm(t.ease)&&(t.ease=Yl[t.ease])}const wo=10;class Vm extends ql{constructor(e){Em(e),Il(e),super(e),e.startTime!==void 0&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:s,onUpdate:n,onComplete:i,element:o,...r}=this.options;if(!s)return;if(e!==void 0){s.set(e);return}const a=new mo({...r,autoplay:!1}),l=Math.max(wo,Vt.now()-this.startTime),u=re(0,wo,l-wo);s.setWithVelocity(a.sample(Math.max(0,l-u)).value,a.sample(l).value,u),a.stop()}}const Xl=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Jt.test(t)||t==="0")&&!t.startsWith("url("));function Mm(t){const e=t[0];if(t.length===1)return!0;for(let s=0;s<t.length;s++)if(t[s]!==e)return!0}function Dm(t,e,s,n){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const o=t[t.length-1],r=Xl(i,e),a=Xl(o,e);return!r||!a?!1:Mm(t)||(s==="spring"||zl(s))&&n}function Po(t){t.duration=0,t.type="keyframes"}const Om=new Set(["opacity","clipPath","filter","transform"]),Rm=rl(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Lm(t){const{motionValue:e,name:s,repeatDelay:n,repeatType:i,damping:o,type:r}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=e.owner.getProps();return Rm()&&s&&Om.has(s)&&(s!=="transform"||!u)&&!l&&!n&&i!=="mirror"&&o!==0&&r!=="inertia"}const Fm=40;class Im extends po{constructor({autoplay:e=!0,delay:s=0,type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",keyframes:a,name:l,motionValue:u,element:c,...f}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Vt.now();const d={autoplay:e,delay:s,type:n,repeat:i,repeatDelay:o,repeatType:r,name:l,motionValue:u,element:c,...f},m=c?.KeyframeResolver||To;this.keyframeResolver=new m(a,(v,b,w)=>this.onKeyframesResolved(v,b,d,!w),l,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,s,n,i){this.keyframeResolver=void 0;const{name:o,type:r,velocity:a,delay:l,isHandoff:u,onUpdate:c}=n;this.resolvedAt=Vt.now(),Dm(e,o,r,a)||((Se.instantAnimations||!l)&&c?.(ho(e,n,s)),e[0]=e[e.length-1],Po(n),n.repeat=0);const d={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Fm?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...n,keyframes:e},m=!u&&Lm(d),v=d.motionValue?.owner?.current,b=m?new Vm({...d,element:v}):new mo(d);b.finished.then(()=>{this.notifyFinished()}).catch(Ht),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(e,s){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),_m()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function Zl(t,e,s,n=0,i=1){const o=Array.from(t).sort((u,c)=>u.sortNodePosition(c)).indexOf(e),r=t.size,a=(r-1)*n;return typeof s=="function"?s(o,r):i===1?o*n:a-o*n}const km=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function jm(t){const e=km.exec(t);if(!e)return[,];const[,s,n,i]=e;return[`--${s??n}`,i]}function Jl(t,e,s=1){const[n,i]=jm(t);if(!n)return;const o=window.getComputedStyle(e).getPropertyValue(n);if(o){const r=o.trim();return nl(r)?parseFloat(r):r}return Qi(i)?Jl(i,e,s+1):i}const $m={type:"spring",stiffness:500,damping:25,restSpeed:10},Bm=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Nm={type:"keyframes",duration:.8},Um={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Hm=(t,{keyframes:e})=>e.length>2?Nm:ds.has(t)?t.startsWith("scale")?Bm(e[1]):$m:Um,Km=t=>t!==null;function Wm(t,{repeat:e,repeatType:s="loop"},n){const i=t.filter(Km),o=e&&s!=="loop"&&e%2===1?0:i.length-1;return i[o]}function Ql(t,e){if(t?.inherit&&e){const{inherit:s,...n}=t;return{...e,...n}}return t}function Ao(t,e){const s=t?.[e]??t?.default??t;return s!==t?Ql(s,t):s}function Gm({when:t,delay:e,delayChildren:s,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:r,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const Co=(t,e,s,n={},i,o)=>r=>{const a=Ao(n,t)||{},l=a.delay||n.delay||0;let{elapsed:u=0}=n;u=u-ae(l);const c={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:d=>{e.set(d),a.onUpdate&&a.onUpdate(d)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:i};Gm(a)||Object.assign(c,Hm(t,c)),c.duration&&(c.duration=ae(c.duration)),c.repeatDelay&&(c.repeatDelay=ae(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(Po(c),c.delay===0&&(f=!0)),(Se.instantAnimations||Se.skipAnimations||i?.shouldSkipAnimations)&&(f=!0,Po(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!o&&e.get()!==void 0){const d=Wm(c.keyframes,a);if(d!==void 0){nt.update(()=>{c.onUpdate(d),c.onComplete()});return}}return a.isSync?new mo(c):new Im(c)};function tc(t){const e=[{},{}];return t?.values.forEach((s,n)=>{e[0][n]=s.get(),e[1][n]=s.getVelocity()}),e}function ec(t,e,s,n){if(typeof e=="function"){const[i,o]=tc(n);e=e(s!==void 0?s:t.custom,i,o)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,o]=tc(n);e=e(s!==void 0?s:t.custom,i,o)}return e}function hs(t,e,s){const n=t.getProps();return ec(n,e,s!==void 0?s:n.custom,t)}const sc=new Set(["width","height","top","left","right","bottom",...fs]),nc=30,zm=t=>!isNaN(parseFloat(t));class qm{constructor(e,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{const i=Vt.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=s.owner}setCurrent(e){this.current=e,this.updatedAt=Vt.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=zm(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,s){this.events[e]||(this.events[e]=new qi);const n=this.events[e].add(s);return e==="change"?()=>{n(),nt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,s){this.passiveEffect=e,this.stopPassiveEffect=s}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,s,n){this.set(s),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,s=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Vt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>nc)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,nc);return al(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(e){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=e(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ps(t,e){return new qm(t,e)}const Ym=t=>Array.isArray(t);function Xm(t,e,s){t.hasValue(e)?t.getValue(e).set(s):t.addValue(e,ps(s))}function Zm(t){return Ym(t)?t[t.length-1]||0:t}function Jm(t,e){const s=hs(t,e);let{transitionEnd:n={},transition:i={},...o}=s||{};o={...o,...n};for(const r in o){const a=Zm(o[r]);Xm(t,r,a)}}const Pt=t=>!!(t&&t.getVelocity);function Qm(t){return!!(Pt(t)&&t.add)}function Eo(t,e){const s=t.getValue("willChange");if(Qm(s))return s.add(e);if(!s&&Se.WillChange){const n=new Se.WillChange("auto");t.addValue("willChange",n),n.add(e)}}function Vo(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const tg="data-"+Vo("framerAppearId");function ic(t){return t.props[tg]}function eg({protectedKeys:t,needsAnimating:e},s){const n=t.hasOwnProperty(s)&&e[s]!==!0;return e[s]=!1,n}function oc(t,e,{delay:s=0,transitionOverride:n,type:i}={}){let{transition:o,transitionEnd:r,...a}=e;const l=t.getDefaultTransition();o=o?Ql(o,l):l;const u=o?.reduceMotion;n&&(o=n);const c=[],f=i&&t.animationState&&t.animationState.getState()[i];for(const d in a){const m=t.getValue(d,t.latestValues[d]??null),v=a[d];if(v===void 0||f&&eg(f,d))continue;const b={delay:s,...Ao(o||{},d)},w=m.get();if(w!==void 0&&!m.isAnimating&&!Array.isArray(v)&&v===w&&!b.velocity)continue;let C=!1;if(window.MotionHandoffAnimation){const A=ic(t);if(A){const D=window.MotionHandoffAnimation(A,d,nt);D!==null&&(b.startTime=D,C=!0)}}Eo(t,d);const E=u??t.shouldReduceMotion;m.start(Co(d,m,v,E&&sc.has(d)?{type:!1}:b,t,C));const P=m.animation;P&&c.push(P)}if(r){const d=()=>nt.update(()=>{r&&Jm(t,r)});c.length?Promise.all(c).then(d):d()}return c}function Mo(t,e,s={}){const n=hs(t,e,s.type==="exit"?t.presenceContext?.custom:void 0);let{transition:i=t.getDefaultTransition()||{}}=n||{};s.transitionOverride&&(i=s.transitionOverride);const o=n?()=>Promise.all(oc(t,n,s)):()=>Promise.resolve(),r=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:f}=i;return sg(t,e,l,u,c,f,s)}:()=>Promise.resolve(),{when:a}=i;if(a){const[l,u]=a==="beforeChildren"?[o,r]:[r,o];return l().then(()=>u())}else return Promise.all([o(),r(s.delay)])}function sg(t,e,s=0,n=0,i=0,o=1,r){const a=[];for(const l of t.variantChildren)l.notify("AnimationStart",e),a.push(Mo(l,e,{...r,delay:s+(typeof n=="function"?0:n)+Zl(t.variantChildren,l,n,i,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}function ng(t,e,s={}){t.notify("AnimationStart",e);let n;if(Array.isArray(e)){const i=e.map(o=>Mo(t,o,s));n=Promise.all(i)}else if(typeof e=="string")n=Mo(t,e,s);else{const i=typeof e=="function"?hs(t,e,s.custom):e;n=Promise.all(oc(t,i,s))}return n.then(()=>{t.notify("AnimationComplete",e)})}const ig={test:t=>t==="auto",parse:t=>t},rc=t=>e=>e.test(t),ac=[cs,L,le,Re,Op,Dp,ig],lc=t=>ac.find(rc(t));function og(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||ol(t):!0}const rg=new Set(["brightness","contrast","saturate","opacity"]);function ag(t){const[e,s]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[n]=s.match(to)||[];if(!n)return t;const i=s.replace(n,"");let o=rg.has(e)?1:0;return n!==s&&(o*=100),e+"("+o+i+")"}const lg=/\b([a-z-]*)\(.*?\)/gu,Do={...Jt,getAnimatableNone:t=>{const e=t.match(lg);return e?e.map(ag).join(" "):t}},Oo={...Jt,getAnimatableNone:t=>{const e=Jt.parse(t);return Jt.createTransformer(t)(e.map(n=>typeof n=="number"?0:typeof n=="object"?{...n,alpha:1}:n))}},cc={...cs,transform:Math.round},Ro={borderWidth:L,borderTopWidth:L,borderRightWidth:L,borderBottomWidth:L,borderLeftWidth:L,borderRadius:L,borderTopLeftRadius:L,borderTopRightRadius:L,borderBottomRightRadius:L,borderBottomLeftRadius:L,width:L,maxWidth:L,height:L,maxHeight:L,top:L,right:L,bottom:L,left:L,inset:L,insetBlock:L,insetBlockStart:L,insetBlockEnd:L,insetInline:L,insetInlineStart:L,insetInlineEnd:L,padding:L,paddingTop:L,paddingRight:L,paddingBottom:L,paddingLeft:L,paddingBlock:L,paddingBlockStart:L,paddingBlockEnd:L,paddingInline:L,paddingInlineStart:L,paddingInlineEnd:L,margin:L,marginTop:L,marginRight:L,marginBottom:L,marginLeft:L,marginBlock:L,marginBlockStart:L,marginBlockEnd:L,marginInline:L,marginInlineStart:L,marginInlineEnd:L,fontSize:L,backgroundPositionX:L,backgroundPositionY:L,...{rotate:Re,rotateX:Re,rotateY:Re,rotateZ:Re,scale:Nn,scaleX:Nn,scaleY:Nn,scaleZ:Nn,skew:Re,skewX:Re,skewY:Re,distance:L,translateX:L,translateY:L,translateZ:L,x:L,y:L,z:L,perspective:L,transformPerspective:L,opacity:Gs,originX:Tl,originY:Tl,originZ:L},zIndex:cc,fillOpacity:Gs,strokeOpacity:Gs,numOctaves:cc},cg={...Ro,color:pt,backgroundColor:pt,outlineColor:pt,fill:pt,stroke:pt,borderColor:pt,borderTopColor:pt,borderRightColor:pt,borderBottomColor:pt,borderLeftColor:pt,filter:Do,WebkitFilter:Do,mask:Oo,WebkitMask:Oo},uc=t=>cg[t],ug=new Set([Do,Oo]);function fc(t,e){let s=uc(t);return ug.has(s)||(s=Jt),s.getAnimatableNone?s.getAnimatableNone(e):void 0}const fg=new Set(["auto","none","0"]);function dg(t,e,s){let n=0,i;for(;n<t.length&&!i;){const o=t[n];typeof o=="string"&&!fg.has(o)&&Ys(o).values.length&&(i=t[n]),n++}if(i&&s)for(const o of e)t[o]=fc(s,i)}class hg extends To{constructor(e,s,n,i,o){super(e,s,n,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:s,name:n}=this;if(!s||!s.current)return;super.readKeyframes();for(let c=0;c<e.length;c++){let f=e[c];if(typeof f=="string"&&(f=f.trim(),Qi(f))){const d=Jl(f,s.current);d!==void 0&&(e[c]=d),c===e.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!sc.has(n)||e.length!==2)return;const[i,o]=e,r=lc(i),a=lc(o),l=xl(i),u=xl(o);if(l!==u&&Le[n]){this.needsMeasurement=!0;return}if(r!==a)if(Bl(r)&&Bl(a))for(let c=0;c<e.length;c++){const f=e[c];typeof f=="string"&&(e[c]=parseFloat(f))}else Le[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:s}=this,n=[];for(let i=0;i<e.length;i++)(e[i]===null||og(e[i]))&&n.push(i);n.length&&dg(e,n,s)}measureInitialState(){const{element:e,unresolvedKeyframes:s,name:n}=this;if(!e||!e.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Le[n](e.measureViewportBox(),window.getComputedStyle(e.current)),s[0]=this.measuredOrigin;const i=s[s.length-1];i!==void 0&&e.getValue(n,i).jump(i,!1)}measureEndState(){const{element:e,name:s,unresolvedKeyframes:n}=this;if(!e||!e.current)return;const i=e.getValue(s);i&&i.jump(this.measuredOrigin,!1);const o=n.length-1,r=n[o];n[o]=Le[s](e.measureViewportBox(),window.getComputedStyle(e.current)),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEach(([a,l])=>{e.getValue(a).set(l)}),this.resolveNoneKeyframes()}}const pg=new Set(["opacity","clipPath","filter","transform"]);function dc(t,e,s){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let n=document;const i=s?.[t]??n.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t).filter(n=>n!=null)}const hc=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function mg(t){return il(t)&&"offsetHeight"in t}const{schedule:pc}=bl(queueMicrotask,!1),gg={y:!1};function yg(){return gg.y}function mc(t,e){const s=dc(t),n=new AbortController,i={passive:!0,...e,signal:n.signal};return[s,i,()=>n.abort()]}function vg(t){return!(t.pointerType==="touch"||yg())}function bg(t,e,s={}){const[n,i,o]=mc(t,s);return n.forEach(r=>{let a=!1,l=!1,u;const c=()=>{r.removeEventListener("pointerleave",v)},f=w=>{u&&(u(w),u=void 0),c()},d=w=>{a=!1,window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",d),l&&(l=!1,f(w))},m=()=>{a=!0,window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",d,i)},v=w=>{if(w.pointerType!=="touch"){if(a){l=!0;return}f(w)}},b=w=>{if(!vg(w))return;l=!1;const C=e(r,w);typeof C=="function"&&(u=C,r.addEventListener("pointerleave",v,i))};r.addEventListener("pointerenter",b,i),r.addEventListener("pointerdown",m,i)}),o}const gc=(t,e)=>e?t===e?!0:gc(t,e.parentElement):!1,_g=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,xg=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Sg(t){return xg.has(t.tagName)||t.isContentEditable===!0}const Wn=new WeakSet;function yc(t){return e=>{e.key==="Enter"&&t(e)}}function Lo(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Tg=(t,e)=>{const s=t.currentTarget;if(!s)return;const n=yc(()=>{if(Wn.has(s))return;Lo(s,"down");const i=yc(()=>{Lo(s,"up")}),o=()=>Lo(s,"cancel");s.addEventListener("keyup",i,e),s.addEventListener("blur",o,e)});s.addEventListener("keydown",n,e),s.addEventListener("blur",()=>s.removeEventListener("keydown",n),e)};function vc(t){return _g(t)&&!0}const bc=new WeakSet;function wg(t,e,s={}){const[n,i,o]=mc(t,s),r=a=>{const l=a.currentTarget;if(!vc(a)||bc.has(a))return;Wn.add(l),s.stopPropagation&&bc.add(a);const u=e(l,a),c=(m,v)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",d),Wn.has(l)&&Wn.delete(l),vc(m)&&typeof u=="function"&&u(m,{success:v})},f=m=>{c(m,l===window||l===document||s.useGlobalTarget||gc(l,m.target))},d=m=>{c(m,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",d,i)};return n.forEach(a=>{(s.useGlobalTarget?window:a).addEventListener("pointerdown",r,i),mg(a)&&(a.addEventListener("focus",u=>Tg(u,i)),!Sg(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function _c(t){return il(t)&&"ownerSVGElement"in t}function Pg(t){return _c(t)&&t.tagName==="svg"}const Ag=[...ac,pt,Jt],Cg=t=>Ag.find(rc(t)),xc=()=>({translate:0,scale:1,origin:0,originPoint:0}),ms=()=>({x:xc(),y:xc()}),Sc=()=>({min:0,max:0}),gt=()=>({x:Sc(),y:Sc()}),Eg=new WeakMap;function Fo(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Gn(t){return typeof t=="string"||Array.isArray(t)}const Vg=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function Tc(t){return Fo(t.animate)||Vg.some(e=>Gn(t[e]))}function Mg(t){return!!(Tc(t)||t.variants)}function Dg(t,e,s){for(const n in e){const i=e[n],o=s[n];if(Pt(i))t.addValue(n,i);else if(Pt(o))t.addValue(n,ps(i,{owner:t}));else if(o!==i)if(t.hasValue(n)){const r=t.getValue(n);r.liveStyle===!0?r.jump(i):r.hasAnimated||r.set(i)}else{const r=t.getStaticValue(n);t.addValue(n,ps(r!==void 0?r:i,{owner:t}))}}for(const n in s)e[n]===void 0&&t.removeValue(n);return e}const Io={current:null},wc={current:!1},Og=typeof window<"u";function Rg(){if(wc.current=!0,!!Og)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Io.current=t.matches;t.addEventListener("change",e),e()}else Io.current=!1}const Pc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Ac={};class Lg{scrapeMotionValuesFromProps(e,s,n){return{}}constructor({parent:e,props:s,presenceContext:n,reducedMotionConfig:i,skipAnimations:o,blockInitialAnimation:r,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=To,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const m=Vt.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,nt.render(this.render,!1,!0))};const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=s.initial?{...u}:{},this.renderState=c,this.parent=e,this.props=s,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=o,this.options=l,this.blockInitialAnimation=!!r,this.isControllingVariants=Tc(s),this.isVariantNode=Mg(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:f,...d}=this.scrapeMotionValuesFromProps(s,{},this);for(const m in d){const v=d[m];u[m]!==void 0&&Pt(v)&&v.set(u[m])}}mount(e){if(this.hasBeenMounted)for(const s in this.initialValues)this.values.get(s)?.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=e,Eg.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,n)=>this.bindToMotionValue(n,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(wc.current||Rg(),this.shouldReduceMotion=Io.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Oe(this.notifyUpdate),Oe(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const s=this.features[e];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,s){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),s.accelerate&&pg.has(e)&&this.current instanceof HTMLElement){const{factory:r,keyframes:a,times:l,ease:u,duration:c}=s.accelerate,f=new ql({element:this.current,name:e,keyframes:a,times:l,ease:u,duration:ae(c)}),d=r(f);this.valueSubscriptions.set(e,()=>{d(),f.cancel()});return}const n=ds.has(e);n&&this.onBindTransform&&this.onBindTransform();const i=s.on("change",r=>{this.latestValues[e]=r,this.props.onUpdate&&nt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;typeof window<"u"&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,s)),this.valueSubscriptions.set(e,()=>{i(),o&&o(),s.owner&&s.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Ac){const s=Ac[e];if(!s)continue;const{isEnabled:n,Feature:i}=s;if(!this.features[e]&&i&&n(this.props)&&(this.features[e]=new i(this)),this.features[e]){const o=this.features[e];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):gt()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,s){this.latestValues[e]=s}update(e,s){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let n=0;n<Pc.length;n++){const i=Pc[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,r=e[o];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=Dg(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(e),()=>s.variantChildren.delete(e)}addValue(e,s){const n=this.values.get(e);s!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,s),this.values.set(e,s),this.latestValues[e]=s.get())}removeValue(e){this.values.delete(e);const s=this.valueSubscriptions.get(e);s&&(s(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,s){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&s!==void 0&&(n=ps(s===null?void 0:s,{owner:this}),this.addValue(e,n)),n}readValue(e,s){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n=="string"&&(nl(n)||ol(n))?n=parseFloat(n):!Cg(n)&&Jt.test(s)&&(n=fc(e,s)),this.setBaseTarget(e,Pt(n)?n.get():n)),Pt(n)?n.get():n}setBaseTarget(e,s){this.baseTarget[e]=s}getBaseTarget(e){const{initial:s}=this.props;let n;if(typeof s=="string"||typeof s=="object"){const o=ec(this.props,s,this.presenceContext?.custom);o&&(n=o[e])}if(s&&n!==void 0)return n;const i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!Pt(i)?i:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,s){return this.events[e]||(this.events[e]=new qi),this.events[e].add(s)}notify(e,...s){this.events[e]&&this.events[e].notify(...s)}scheduleRenderMicrotask(){pc.render(this.render)}}class Cc extends Lg{constructor(){super(...arguments),this.KeyframeResolver=hg}sortInstanceNodePosition(e,s){return e.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(e,s){const n=e.style;return n?n[s]:void 0}removeValueFromRenderState(e,{vars:s,style:n}){delete s[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Pt(e)&&(this.childSubscription=e.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function Ec({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function Fg({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function Ig(t,e){if(!e)return t;const s=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:s.y,left:s.x,bottom:n.y,right:n.x}}function ko(t){return t===void 0||t===1}function jo({scale:t,scaleX:e,scaleY:s}){return!ko(t)||!ko(e)||!ko(s)}function Ye(t){return jo(t)||Vc(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Vc(t){return Mc(t.x)||Mc(t.y)}function Mc(t){return t&&t!=="0%"}function zn(t,e,s){const n=t-s,i=e*n;return s+i}function Dc(t,e,s,n,i){return i!==void 0&&(t=zn(t,i,n)),zn(t,s,n)+e}function $o(t,e=0,s=1,n,i){t.min=Dc(t.min,e,s,n,i),t.max=Dc(t.max,e,s,n,i)}function Oc(t,{x:e,y:s}){$o(t.x,e.translate,e.scale,e.originPoint),$o(t.y,s.translate,s.scale,s.originPoint)}const Rc=.999999999999,Lc=1.0000000000001;function kg(t,e,s,n=!1){const i=s.length;if(!i)return;e.x=e.y=1;let o,r;for(let a=0;a<i;a++){o=s[a],r=o.projectionDelta;const{visualElement:l}=o.options;l&&l.props.style&&l.props.style.display==="contents"||(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&ys(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,Oc(t,r)),n&&Ye(o.latestValues)&&ys(t,o.latestValues))}e.x<Lc&&e.x>Rc&&(e.x=1),e.y<Lc&&e.y>Rc&&(e.y=1)}function gs(t,e){t.min=t.min+e,t.max=t.max+e}function Fc(t,e,s,n,i=.5){const o=ft(t.min,t.max,i);$o(t,e,s,o,n)}function ys(t,e){Fc(t.x,e.x,e.scaleX,e.scale,e.originX),Fc(t.y,e.y,e.scaleY,e.scale,e.originY)}function Ic(t,e){return Ec(Ig(t.getBoundingClientRect(),e))}function jg(t,e,s){const n=Ic(t,s),{scroll:i}=e;return i&&(gs(n.x,i.offset.x),gs(n.y,i.offset.y)),n}const $g={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Bg=fs.length;function Ng(t,e,s){let n="",i=!0;for(let o=0;o<Bg;o++){const r=fs[o],a=t[r];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(r.startsWith("scale")?1:0);else{const u=parseFloat(a);l=r.startsWith("scale")?u===1:u===0}if(!l||s){const u=hc(a,Ro[r]);if(!l){i=!1;const c=$g[r]||r;n+=`${c}(${u}) `}s&&(e[r]=u)}}return n=n.trim(),s?n=s(e,i?"":n):i&&(n="none"),n}function Bo(t,e,s){const{style:n,vars:i,transformOrigin:o}=t;let r=!1,a=!1;for(const l in e){const u=e[l];if(ds.has(l)){r=!0;continue}else if(Ji(l)){i[l]=u;continue}else{const c=hc(u,Ro[l]);l.startsWith("origin")?(a=!0,o[l]=c):n[l]=c}}if(e.transform||(r||s?n.transform=Ng(e,t.transform,s):n.transform&&(n.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=o;n.transformOrigin=`${l} ${u} ${c}`}}function kc(t,{style:e,vars:s},n,i){const o=t.style;let r;for(r in e)o[r]=e[r];i?.applyProjectionStyles(o,n);for(r in s)o.setProperty(r,s[r])}function jc(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const ce={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(L.test(t))t=parseFloat(t);else return t;const s=jc(t,e.target.x),n=jc(t,e.target.y);return`${s}% ${n}%`}},$c={correct:(t,{treeScale:e,projectionDelta:s})=>{const n=t,i=Jt.parse(t);if(i.length>5)return n;const o=Jt.createTransformer(t),r=typeof i[0]!="number"?1:0,a=s.x.scale*e.x,l=s.y.scale*e.y;i[0+r]/=a,i[1+r]/=l;const u=ft(a,l,.5);return typeof i[2+r]=="number"&&(i[2+r]/=u),typeof i[3+r]=="number"&&(i[3+r]/=u),o(i)}},Js={borderRadius:{...ce,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ce,borderTopRightRadius:ce,borderBottomLeftRadius:ce,borderBottomRightRadius:ce,boxShadow:$c};function Bc(t){for(const e in t)Js[e]=t[e],Ji(e)&&(Js[e].isCSSVariable=!0)}function Ug(t,{layout:e,layoutId:s}){return ds.has(t)||t.startsWith("origin")||(e||s!==void 0)&&(!!Js[t]||t==="opacity")}function Nc(t,e,s){const n=t.style,i=e?.style,o={};if(!n)return o;for(const r in n)(Pt(n[r])||i&&Pt(i[r])||Ug(r,t)||s?.getValue(r)?.liveStyle!==void 0)&&(o[r]=n[r]);return o}function Hg(t){return window.getComputedStyle(t)}class Kg extends Cc{constructor(){super(...arguments),this.type="html",this.renderInstance=kc}readValueFromInstance(e,s){if(ds.has(s))return this.projection?.isProjecting?vo(s):mm(e,s);{const n=Hg(e),i=(Ji(s)?n.getPropertyValue(s):n[s])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:s}){return Ic(e,s)}build(e,s,n){Bo(e,s,n.transformTemplate)}scrapeMotionValuesFromProps(e,s,n){return Nc(e,s,n)}}const Wg={offset:"stroke-dashoffset",array:"stroke-dasharray"},Gg={offset:"strokeDashoffset",array:"strokeDasharray"};function zg(t,e,s=1,n=0,i=!0){t.pathLength=1;const o=i?Wg:Gg;t[o.offset]=`${-n}`,t[o.array]=`${e} ${s}`}const qg=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Uc(t,{attrX:e,attrY:s,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:r=0,...a},l,u,c){if(Bo(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:f,style:d}=t;f.transform&&(d.transform=f.transform,delete f.transform),(d.transform||f.transformOrigin)&&(d.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),d.transform&&(d.transformBox=c?.transformBox??"fill-box",delete f.transformBox);for(const m of qg)f[m]!==void 0&&(d[m]=f[m],delete f[m]);e!==void 0&&(f.x=e),s!==void 0&&(f.y=s),n!==void 0&&(f.scale=n),i!==void 0&&zg(f,i,o,r,!1)}const No=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Hc=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Yg(t,e,s,n){kc(t,e,void 0,n);for(const i in e.attrs)t.setAttribute(No.has(i)?i:Vo(i),e.attrs[i])}function Xg(t,e,s){const n=Nc(t,e,s);for(const i in t)if(Pt(t[i])||Pt(e[i])){const o=fs.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[o]=t[i]}return n}class Zg extends Cc{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=gt}getBaseTargetFromProps(e,s){return e[s]}readValueFromInstance(e,s){if(ds.has(s)){const n=uc(s);return n&&n.default||0}return s=No.has(s)?s:Vo(s),e.getAttribute(s)}scrapeMotionValuesFromProps(e,s,n){return Xg(e,s,n)}build(e,s,n){Uc(e,s,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,s,n,i){Yg(e,s,n,i)}mount(e){this.isSVGTag=Hc(e.tagName),super.mount(e)}}function Kc(t,e){t.min=e.min,t.max=e.max}function Qt(t,e){Kc(t.x,e.x),Kc(t.y,e.y)}function Wc(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}const Gc=1e-4,Jg=1-Gc,Qg=1+Gc,zc=.01,ty=0-zc,ey=0+zc;function Mt(t){return t.max-t.min}function sy(t,e,s){return Math.abs(t-e)<=s}function qc(t,e,s,n=.5){t.origin=n,t.originPoint=ft(e.min,e.max,t.origin),t.scale=Mt(s)/Mt(e),t.translate=ft(s.min,s.max,t.origin)-t.originPoint,(t.scale>=Jg&&t.scale<=Qg||isNaN(t.scale))&&(t.scale=1),(t.translate>=ty&&t.translate<=ey||isNaN(t.translate))&&(t.translate=0)}function Qs(t,e,s,n){qc(t.x,e.x,s.x,n?n.originX:void 0),qc(t.y,e.y,s.y,n?n.originY:void 0)}function Yc(t,e,s){t.min=s.min+e.min,t.max=t.min+Mt(e)}function ny(t,e,s){Yc(t.x,e.x,s.x),Yc(t.y,e.y,s.y)}function Xc(t,e,s){t.min=e.min-s.min,t.max=t.min+Mt(e)}function qn(t,e,s){Xc(t.x,e.x,s.x),Xc(t.y,e.y,s.y)}function Zc(t,e,s,n,i){return t-=e,t=zn(t,1/s,n),i!==void 0&&(t=zn(t,1/i,n)),t}function iy(t,e=0,s=1,n=.5,i,o=t,r=t){if(le.test(e)&&(e=parseFloat(e),e=ft(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=ft(o.min,o.max,n);t===o&&(a-=e),t.min=Zc(t.min,e,s,a,i),t.max=Zc(t.max,e,s,a,i)}function Jc(t,e,[s,n,i],o,r){iy(t,e[s],e[n],e[i],e.scale,o,r)}const oy=["x","scaleX","originX"],ry=["y","scaleY","originY"];function Qc(t,e,s,n){Jc(t.x,e,oy,s?s.x:void 0,n?n.x:void 0),Jc(t.y,e,ry,s?s.y:void 0,n?n.y:void 0)}function tu(t){return t.translate===0&&t.scale===1}function eu(t){return tu(t.x)&&tu(t.y)}function su(t,e){return t.min===e.min&&t.max===e.max}function ay(t,e){return su(t.x,e.x)&&su(t.y,e.y)}function nu(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function iu(t,e){return nu(t.x,e.x)&&nu(t.y,e.y)}function ou(t){return Mt(t.x)/Mt(t.y)}function ru(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function Wt(t){return[t("x"),t("y")]}function ly(t,e,s){let n="";const i=t.x.translate/e.x,o=t.y.translate/e.y,r=s?.z||0;if((i||o||r)&&(n=`translate3d(${i}px, ${o}px, ${r}px) `),(e.x!==1||e.y!==1)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),s){const{transformPerspective:u,rotate:c,rotateX:f,rotateY:d,skewX:m,skewY:v}=s;u&&(n=`perspective(${u}px) ${n}`),c&&(n+=`rotate(${c}deg) `),f&&(n+=`rotateX(${f}deg) `),d&&(n+=`rotateY(${d}deg) `),m&&(n+=`skewX(${m}deg) `),v&&(n+=`skewY(${v}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return(a!==1||l!==1)&&(n+=`scale(${a}, ${l})`),n||"none"}const au=["TopLeft","TopRight","BottomLeft","BottomRight"],cy=au.length,lu=t=>typeof t=="string"?parseFloat(t):t,cu=t=>typeof t=="number"||L.test(t);function uy(t,e,s,n,i,o){i?(t.opacity=ft(0,s.opacity??1,fy(n)),t.opacityExit=ft(e.opacity??1,0,dy(n))):o&&(t.opacity=ft(e.opacity??1,s.opacity??1,n));for(let r=0;r<cy;r++){const a=`border${au[r]}Radius`;let l=uu(e,a),u=uu(s,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||cu(l)===cu(u)?(t[a]=Math.max(ft(lu(l),lu(u),n),0),(le.test(u)||le.test(l))&&(t[a]+="%")):t[a]=u}(e.rotate||s.rotate)&&(t.rotate=ft(e.rotate||0,s.rotate||0,n))}function uu(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const fy=fu(0,.5,pl),dy=fu(.5,.95,Ht);function fu(t,e,s){return n=>n<t?0:n>e?1:s(Ks(t,e,n))}function hy(t,e,s){const n=Pt(t)?t:ps(t);return n.start(Co("",n,e,s)),n.animation}function py(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}const my=(t,e)=>t.depth-e.depth;class gy{constructor(){this.children=[],this.isDirty=!1}add(e){Gi(this.children,e),this.isDirty=!0}remove(e){jn(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(my),this.isDirty=!1,this.children.forEach(e)}}function yy(t,e){const s=Vt.now(),n=({timestamp:i})=>{const o=i-s;o>=e&&(Oe(n),t(o-e))};return nt.setup(n,!0),()=>Oe(n)}function Uo(t){return Pt(t)?t.get():t}class vy{constructor(){this.members=[]}add(e){Gi(this.members,e);for(let s=this.members.length-1;s>=0;s--){const n=this.members[s];if(n===e||n===this.lead||n===this.prevLead)continue;const i=n.instance;i&&i.isConnected===!1&&n.isPresent!==!1&&!n.snapshot&&jn(this.members,n)}e.scheduleRender()}remove(e){if(jn(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(e){const s=this.members.findIndex(i=>e===i);if(s===0)return!1;let n;for(let i=s;i>=0;i--){const o=this.members[i],r=o.instance;if(o.isPresent!==!1&&(!r||r.isConnected!==!1)){n=o;break}}return n?(this.promote(n),!0):!1}promote(e,s){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender();const i=n.options.layoutDependency,o=e.options.layoutDependency;if(!(i!==void 0&&o!==void 0&&i===o)){const l=n.instance;l&&l.isConnected===!1&&!n.snapshot||(e.resumeFrom=n,s&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0))}const{crossfade:a}=e.options;a===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:s,resumingFrom:n}=e;s.onExitComplete&&s.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Yn={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ho=["","X","Y","Z"],by=1e3;let _y=0;function Ko(t,e,s,n){const{latestValues:i}=e;i[t]&&(s[t]=i[t],e.setStaticValue(t,0),n&&(n[t]=0))}function du(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const s=ic(e);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",nt,!(i||o))}const{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&du(n)}function hu({attachResizeListener:t,defaultParent:e,measureScroll:s,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(r={},a=e?.()){this.id=_y++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Ty),this.nodes.forEach(Cy),this.nodes.forEach(Ey),this.nodes.forEach(wy)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=r,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new gy)}addEventListener(r,a){return this.eventHandlers.has(r)||this.eventHandlers.set(r,new qi),this.eventHandlers.get(r).add(a)}notifyListeners(r,...a){const l=this.eventHandlers.get(r);l&&l.notify(...a)}hasListeners(r){return this.eventHandlers.has(r)}mount(r){if(this.instance)return;this.isSVG=_c(r)&&!Pg(r),this.instance=r;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),t){let c,f=0;const d=()=>this.root.updateBlockedByResize=!1;nt.read(()=>{f=window.innerWidth}),t(r,()=>{const m=window.innerWidth;m!==f&&(f=m,this.root.updateBlockedByResize=!0,c&&c(),c=yy(d,250),Yn.hasAnimatedSinceResize&&(Yn.hasAnimatedSinceResize=!1,this.nodes.forEach(gu)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f,hasRelativeLayoutChanged:d,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||Ry,{onLayoutAnimationStart:b,onLayoutAnimationComplete:w}=u.getProps(),C=!this.targetLayout||!iu(this.targetLayout,m),E=!f&&d;if(this.options.layoutRoot||this.resumeFrom||E||f&&(C||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const P={...Ao(v,"layout"),onPlay:b,onComplete:w};(u.shouldReduceMotion||this.options.layoutRoot)&&(P.delay=0,P.type=!1),this.startAnimation(P),this.setAnimationOrigin(c,E)}else f||gu(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const r=this.getStack();r&&r.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Oe(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Vy),this.animationId++)}getTransformTemplate(){const{visualElement:r}=this.options;return r&&r.getProps().transformTemplate}willUpdate(r=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&du(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const f=this.path[c];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),r&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(pu);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(mu);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Ay),this.nodes.forEach(xy),this.nodes.forEach(Sy)):this.nodes.forEach(mu),this.clearAllSnapshots();const a=Vt.now();St.delta=re(0,1e3/60,a-St.timestamp),St.timestamp=a,St.isProcessing=!0,Zi.update.process(St),Zi.preRender.process(St),Zi.render.process(St),St.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,pc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Py),this.sharedNodes.forEach(My)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,nt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){nt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Mt(this.snapshot.measuredBox.x)&&!Mt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const r=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=gt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,r?r.layoutBox:void 0)}updateScroll(r="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===r&&(a=!1),a&&this.instance){const l=n(this.instance);this.scroll={animationId:this.root.animationId,phase:r,isRoot:l,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const r=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!eu(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;r&&this.instance&&(a||Ye(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(r=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return r&&(l=this.removeTransform(l)),Ly(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:r}=this.options;if(!r)return gt();const a=r.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Fy))){const{scroll:u}=this.root;u&&(gs(a.x,u.offset.x),gs(a.y,u.offset.y))}return a}removeElementScroll(r){const a=gt();if(Qt(a,r),this.scroll?.wasRoot)return a;for(let l=0;l<this.path.length;l++){const u=this.path[l],{scroll:c,options:f}=u;u!==this.root&&c&&f.layoutScroll&&(c.wasRoot&&Qt(a,r),gs(a.x,c.offset.x),gs(a.y,c.offset.y))}return a}applyTransform(r,a=!1){const l=gt();Qt(l,r);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&ys(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Ye(c.latestValues)&&ys(l,c.latestValues)}return Ye(this.latestValues)&&ys(l,this.latestValues),l}removeTransform(r){const a=gt();Qt(a,r);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!Ye(u.latestValues))continue;jo(u.latestValues)&&u.updateSnapshot();const c=gt(),f=u.measurePageBox();Qt(c,f),Qc(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Ye(this.latestValues)&&Qc(a,this.latestValues),a}setTargetDelta(r){this.targetDelta=r,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(r){this.options={...this.options,...r,crossfade:r.crossfade!==void 0?r.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==St.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(r=!1){const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(r||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:f}=this.options;if(!this.layout||!(c||f))return;this.resolvedRelativeTargetAt=St.timestamp;const d=this.getClosestProjectingParent();d&&this.linkedParentVersion!==d.layoutVersion&&!d.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(d&&d.layout?this.createRelativeTarget(d,this.layout.layoutBox,d.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=gt(),this.targetWithTransforms=gt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ny(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Qt(this.target,this.layout.layoutBox),Oc(this.target,this.targetDelta)):Qt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,d&&!!d.resumingFrom==!!this.resumingFrom&&!d.options.layoutScroll&&d.target&&this.animationProgress!==1?this.createRelativeTarget(d,this.target,d.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||jo(this.parent.latestValues)||Vc(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(r,a,l){this.relativeParent=r,this.linkedParentVersion=r.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=gt(),this.relativeTargetOrigin=gt(),qn(this.relativeTargetOrigin,a,l),Qt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const r=this.getLead(),a=!!this.resumingFrom||this!==r;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===St.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;Qt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,d=this.treeScale.y;kg(this.layoutCorrected,this.treeScale,this.path,a),r.layout&&!r.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(r.target=r.layout.layoutBox,r.targetWithTransforms=gt());const{target:m}=r;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Wc(this.prevProjectionDelta.x,this.projectionDelta.x),Wc(this.prevProjectionDelta.y,this.projectionDelta.y)),Qs(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==d||!ru(this.projectionDelta.x,this.prevProjectionDelta.x)||!ru(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(r=!0){if(this.options.visualElement?.scheduleRender(),r){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ms(),this.projectionDelta=ms(),this.projectionDeltaWithTransform=ms()}setAnimationOrigin(r,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},f=ms();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const d=gt(),m=l?l.source:void 0,v=this.layout?this.layout.source:void 0,b=m!==v,w=this.getStack(),C=!w||w.members.length<=1,E=!!(b&&!C&&this.options.crossfade===!0&&!this.path.some(Oy));this.animationProgress=0;let P;this.mixTargetDelta=A=>{const D=A/1e3;yu(f.x,r.x,D),yu(f.y,r.y,D),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(qn(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Dy(this.relativeTarget,this.relativeTargetOrigin,d,D),P&&ay(this.relativeTarget,P)&&(this.isProjectionDirty=!1),P||(P=gt()),Qt(P,this.relativeTarget)),b&&(this.animationValues=c,uy(c,u,this.latestValues,D,E,C)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=D},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Oe(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=nt.update(()=>{Yn.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ps(0)),this.motionValue.jump(0,!1),this.currentAnimation=hy(this.motionValue,[0,1e3],{...r,velocity:0,isSync:!0,onUpdate:a=>{this.mixTargetDelta(a),r.onUpdate&&r.onUpdate(a)},onStop:()=>{},onComplete:()=>{r.onComplete&&r.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const r=this.getStack();r&&r.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(by),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const r=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=r;if(!(!a||!l||!u)){if(this!==r&&this.layout&&u&&Su(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||gt();const f=Mt(this.layout.layoutBox.x);l.x.min=r.target.x.min,l.x.max=l.x.min+f;const d=Mt(this.layout.layoutBox.y);l.y.min=r.target.y.min,l.y.max=l.y.min+d}Qt(a,l),ys(a,c),Qs(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(r,a){this.sharedNodes.has(r)||this.sharedNodes.set(r,new vy),this.sharedNodes.get(r).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const r=this.getStack();return r?r.lead===this:!0}getLead(){const{layoutId:r}=this.options;return r?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:r}=this.options;return r?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:r}=this.options;if(r)return this.root.sharedNodes.get(r)}promote({needsReset:r,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),r&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const r=this.getStack();return r?r.relegate(this):!1}resetSkewAndRotation(){const{visualElement:r}=this.options;if(!r)return;let a=!1;const{latestValues:l}=r;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Ko("z",r,u,this.animationValues);for(let c=0;c<Ho.length;c++)Ko(`rotate${Ho[c]}`,r,u,this.animationValues),Ko(`skew${Ho[c]}`,r,u,this.animationValues);r.render();for(const c in u)r.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);r.scheduleRender()}applyProjectionStyles(r,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){r.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,r.visibility="",r.opacity="",r.pointerEvents=Uo(a?.pointerEvents)||"",r.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(r.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,r.pointerEvents=Uo(a?.pointerEvents)||""),this.hasProjected&&!Ye(this.latestValues)&&(r.transform=l?l({},""):"none",this.hasProjected=!1);return}r.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=ly(this.projectionDeltaWithTransform,this.treeScale,c);l&&(f=l(c,f)),r.transform=f;const{x:d,y:m}=this.projectionDelta;r.transformOrigin=`${d.origin*100}% ${m.origin*100}% 0`,u.animationValues?r.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:r.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const v in Js){if(c[v]===void 0)continue;const{correct:b,applyTo:w,isCSSVariable:C}=Js[v],E=f==="none"?c[v]:b(c[v],u);if(w){const P=w.length;for(let A=0;A<P;A++)r[w[A]]=E}else C?this.options.visualElement.renderState.vars[v]=E:r[v]=E}this.options.layoutId&&(r.pointerEvents=u===this?Uo(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>r.currentAnimation?.stop()),this.root.nodes.forEach(pu),this.root.sharedNodes.clear()}}}function xy(t){t.updateLayout()}function Sy(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:n}=t.layout,{animationType:i}=t.options,o=e.source!==t.layout.source;i==="size"?Wt(c=>{const f=o?e.measuredBox[c]:e.layoutBox[c],d=Mt(f);f.min=s[c].min,f.max=f.min+d}):Su(i,e.layoutBox,s)&&Wt(c=>{const f=o?e.measuredBox[c]:e.layoutBox[c],d=Mt(s[c]);f.max=f.min+d,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[c].max=t.relativeTarget[c].min+d)});const r=ms();Qs(r,s,e.layoutBox);const a=ms();o?Qs(a,t.applyTransform(n,!0),e.measuredBox):Qs(a,s,e.layoutBox);const l=!eu(r);let u=!1;if(!t.resumeFrom){const c=t.getClosestProjectingParent();if(c&&!c.resumeFrom){const{snapshot:f,layout:d}=c;if(f&&d){const m=gt();qn(m,e.layoutBox,f.layoutBox);const v=gt();qn(v,s,d.layoutBox),iu(m,v)||(u=!0),c.options.layoutRoot&&(t.relativeTarget=v,t.relativeTargetOrigin=m,t.relativeParent=c)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:e,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function Ty(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function wy(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Py(t){t.clearSnapshot()}function pu(t){t.clearMeasurements()}function mu(t){t.isLayoutDirty=!1}function Ay(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function gu(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Cy(t){t.resolveTargetDelta()}function Ey(t){t.calcProjection()}function Vy(t){t.resetSkewAndRotation()}function My(t){t.removeLeadSnapshot()}function yu(t,e,s){t.translate=ft(e.translate,0,s),t.scale=ft(e.scale,1,s),t.origin=e.origin,t.originPoint=e.originPoint}function vu(t,e,s,n){t.min=ft(e.min,s.min,n),t.max=ft(e.max,s.max,n)}function Dy(t,e,s,n){vu(t.x,e.x,s.x,n),vu(t.y,e.y,s.y,n)}function Oy(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Ry={duration:.45,ease:[.4,0,.1,1]},bu=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),_u=bu("applewebkit/")&&!bu("chrome/")?Math.round:Ht;function xu(t){t.min=_u(t.min),t.max=_u(t.max)}function Ly(t){xu(t.x),xu(t.y)}function Su(t,e,s){return t==="position"||t==="preserve-aspect"&&!sy(ou(e),ou(s),.2)}function Fy(t){return t!==t.root&&t.scroll?.wasRoot}const Iy=hu({attachResizeListener:(t,e)=>py(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Wo={current:void 0},ky=hu({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Wo.current){const t=new Iy({});t.mount(window),t.setOptions({layoutScroll:!0}),Wo.current=t}return Wo.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),jy={some:0,all:1};function $y(t,e,{root:s,margin:n,amount:i="some"}={}){const o=dc(t),r=new WeakMap,a=u=>{u.forEach(c=>{const f=r.get(c.target);if(c.isIntersecting!==!!f)if(c.isIntersecting){const d=e(c.target,c);typeof d=="function"?r.set(c.target,d):l.unobserve(c.target)}else typeof f=="function"&&(f(c),r.delete(c.target))})},l=new IntersectionObserver(a,{root:s,rootMargin:n,threshold:typeof i=="number"?i:jy[i]});return o.forEach(u=>l.observe(u)),()=>l.disconnect()}const Tu=(t,e)=>Math.abs(t-e);function By(t,e){const s=Tu(t.x,e.x),n=Tu(t.y,e.y);return Math.sqrt(s**2+n**2)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const wu=t=>typeof t<"u";function Pu({current:t}){return t?t.ownerDocument.defaultView:null}function Go(t){if(t)return t.nodeType===3||t.nodeType===8?Go(t.nextSibling):t}const[Ny,Uy]=Us("Motion"),[Hy]=Us("LayoutGroup"),Ky={reducedMotion:"never",transition:void 0,nonce:void 0},[Wy]=Us("MotionConfig");function Gy(){return Wy(bt(()=>Ky))}const zy={motionAttribute:"data-ap"},zo=[];function Au(t){for(const e of t)e&&!zo.includes(e)&&zo.push(e)}function Cu(t,e,s){if(Array.isArray(t))return t.reduce((n,i)=>{const o=Cu(i,e,s);return o?{...n,...o}:n},{});if(typeof t=="object")return t;if(t&&e){const n=e[t];return typeof n=="function"?n(s):n}}function qy(t,e,s){const n=Cu(t,e,s);if(!n)return;const{transition:i,transitionEnd:o,...r}=n;return{...r,...o}}function Yy(t,e){const s=(t.initial===void 0&&t.variants?e?.initial:t.initial)===!1?["initial","animate"]:["initial"],n=t.custom??t.presenceContext?.custom;return s.reduce((i,o)=>({...i,...qy(t[o]||e?.[o],t.variants,n)}),{})}function Eu(t,e){const s=e?.length;if(s!==t.length)return!1;for(let n=0;n<s;n++)if(e[n]!==t[n])return!1;return!0}var Xy=new Set(["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]);function Vu(t){return Xy.has(t)}const Mu=new WeakMap;var Zy=class{constructor(t,e){this.element=null,this.isExiting=!1,this.presenceContainer=null,this.children=new Set,this.features=new Map,this._context=null,this.options=t,this.parent=e,e?.children?.add(this),this.latestValues=Yy(t,this.context),this.type=Vu(this.options.as)?"svg":"html"}get context(){return this._context||(this._context=new Proxy({},{get:(t,e)=>{const s=this.options[e];return Gn(s)||e==="initial"&&s===!1?s:this.parent?.context[e]}})),this._context}updateFeatures(){if(this.visualElement)for(const t of zo){this.features.has(t.key)||this.features.set(t.key,new t(this));const e=this.features.get(t.key);this.isMounted()&&(e.isMount?e.update():(e.mount(),e.isMount=!0))}}updateOptions(t){this.options=t,this.visualElement?.update({...this.options,whileTap:this.options.whilePress},null)}mount(t){Mu.set(t,this),this.element=t,t.setAttribute(zy.motionAttribute,this.options.presenceContext?.presenceId??""),this.visualElement?.mount(t),this.updateFeatures()}beforeUnmount(){this.getSnapshot(this.options,!1)}unmount(){this.parent?.children?.delete(this),Mu.delete(this.element),this.features.forEach(t=>t.unmount?.()),this.visualElement?.unmount()}beforeUpdate(){this.getSnapshot(this.options,void 0)}update(){this.updateFeatures(),this.didUpdate()}tryExitComplete(){this.isExiting||this.options?.layoutId&&this.visualElement.projection?.currentAnimation?.state==="running"||this.options.presenceContext?.onMotionExitComplete?.(this.presenceContainer,this)}setActive(t,e){t==="exit"&&e&&(this.isExiting=!0),this.visualElement?.animationState?.setActive(t,e).then(()=>{t==="exit"&&e&&(this.isExiting=!1,this.options?.layoutId?nt.postRender(()=>this.tryExitComplete()):this.tryExitComplete())})}isMounted(){return!!this.element}initVisualElement(t){this.visualElement||(this.visualElement=t(this.options.as,{presenceContext:null,parent:this.parent?.visualElement,props:{...this.options,whileTap:this.options.whilePress},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{...this.latestValues}},reducedMotionConfig:this.options.motionConfig?.reducedMotion}),this.visualElement.parent?.addChild(this.visualElement),this.isMounted()&&this.visualElement.mount(this.element))}getSnapshot(t,e){}didUpdate(){}},Te=class{constructor(t){this.state=t}mount(){}unmount(){}update(){}};const Du=["initial","animate","exit","whileHover","whileDrag","whileFocus","whilePress"];var Jy=Du.length;function Ou(t){if(!t)return;if(!t.isControllingVariants){const s=t.parent?Ou(t.parent)||{}:{};return t.props.initial!==void 0&&(s.initial=t.props.initial),s}const e={};for(let s=0;s<Jy;s++){const n=Du[s],i=t.props[n];(Gn(i)||i===!1)&&(e[n]=i)}return e}var Ru=["animate","whileInView","whileFocus","whileHover","whilePress","whileDrag","exit"],Qy=[...Ru].reverse(),tv=Ru.length;function Xe(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Lu(){return{animate:Xe(!0),whileInView:Xe(),whileHover:Xe(),whilePress:Xe(),whileDrag:Xe(),whileFocus:Xe(),exit:Xe()}}function ev(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Eu(e,t):!1}function Fu(t){return Array.isArray(t)}function sv(t){return e=>Promise.all(e.map(({animation:s,options:n})=>ng(t,s,n)))}function nv(t){let e=sv(t),s=Lu(),n=!0;const i=l=>(u,c)=>{const f=hs(t,c,l==="exit"?t.presenceContext?.custom:void 0);if(f){const{transition:d,transitionEnd:m,...v}=f;u={...u,...v,...m}}return u};function o(l){e=l(t)}function r(l){const{props:u}=t,c=Ou(t.parent)||{},f=[],d=new Set;let m={},v=1/0;for(let w=0;w<tv;w++){const C=Qy[w],E=s[C],P=u[C]!==void 0?u[C]:c[C],A=Gn(P),D=C===l?E.isActive:null;D===!1&&(v=w);let H=P===c[C]&&P!==u[C]&&A;if(H&&n&&t.manuallyAnimateOnMount&&(H=!1),E.protectedKeys={...m},!E.isActive&&D===null||!P&&!E.prevProp||Fo(P)||typeof P=="boolean")continue;const z=ev(E.prevProp,P);let $=z||C===l&&E.isActive&&!H&&A||w>v&&A,k=!1;const G=Array.isArray(P)?P:[P];let it=G.reduce(i(C),{});D===!1&&(it={});const{prevResolvedValues:F={}}=E,lt={...F,...it},yt=q=>{$=!0,d.has(q)&&(k=!0,d.delete(q)),E.needsAnimating[q]=!0;const Y=t.getValue(q);Y&&(Y.liveStyle=!1)};for(const q in lt){const Y=it[q],X=F[q];if(Object.hasOwnProperty.call(m,q))continue;let Rt=!1;Fu(Y)&&Fu(X)?Rt=!Eu(Y,X):Rt=Y!==X,Rt?Y!=null?yt(q):d.add(q):Y!==void 0&&d.has(q)?yt(q):E.protectedKeys[q]=!0}E.prevProp=P,E.prevResolvedValues=it,E.isActive&&(m={...m,...it}),n&&t.blockInitialAnimation&&($=!1);const Gt=H&&z;$&&(!Gt||k)&&f.push(...G.map(q=>{const Y={type:C};if(typeof q=="string"&&n&&!Gt&&t.manuallyAnimateOnMount&&t.parent){const{parent:X}=t,Rt=hs(X,q);if(X.enteringChildren&&Rt){const{delayChildren:vs}=Rt.transition||{};Y.delay=Zl(X.enteringChildren,t,vs)}}return{animation:q,options:Y}}))}if(d.size){const w={};if(typeof u.initial!="boolean"){const C=hs(t,Array.isArray(u.initial)?u.initial[0]:u.initial);C&&C.transition&&(w.transition=C.transition)}d.forEach(C=>{const E=t.getBaseTarget(C),P=t.getValue(C);P&&(P.liveStyle=!0),w[C]=E??null}),f.push({animation:w})}let b=!!f.length;return n&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(b=!1),n=!1,b?e(f):Promise.resolve()}function a(l,u){if(s[l].isActive===u)return Promise.resolve();t.variantChildren?.forEach(f=>{f.animationState?.setActive(l,u)}),s[l].isActive=u;const c=r(l);for(const f in s)s[f].protectedKeys={};return c}return{animateChanges:r,setActive:a,setAnimateFunction:o,getState:()=>s,reset:()=>{s=Lu(),n=!0}}}function Iu(t){return t.style.display==="none"||t.offsetParent===null&&window.getComputedStyle(t).position!=="fixed"}var iv=class extends Te{static#t=this.key="animation";constructor(t){super(t);const e=t.visualElement;e.animationState||=nv(e)}updateAnimationControlsSubscription(){const{animate:t}=this.state.options;Fo(t)&&(this.unmountControls=t.subscribe(this.state.visualElement))}mount(){Iu(this.state.element)?this.state.setActive("exit",!0):this.state.visualElement.animationState?.animateChanges(),this.updateAnimationControlsSubscription()}update(){this.state.visualElement.animationState?.animateChanges();const{animate:t}=this.state.visualElement.getProps(),{animate:e}=this.state.visualElement.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.state.visualElement.animationState.reset(),this.unmountControls?.()}};function ov(t,e){return Vu(t)?new Zg(e):new Kg(e)}function ku(t){return{point:{x:t.pageX,y:t.pageY}}}var rv=class extends Te{static#t=this.key="press";constructor(t){super(t)}isActive(){const{whilePress:t,onPress:e,onPressCancel:s,onPressStart:n}=this.state.options;return!!(t||e||s||n)}register(){const t=this.state.element;!t||!this.isActive()||(this.removePress?.(),this.removePress=wg(t,(e,s)=>{const n=this.state.options;return this.state.setActive("whilePress",!0),n.onPressStart&&nt.postRender(()=>n.onPressStart(s,ku(s))),(i,{success:o})=>{this.state.setActive("whilePress",!1);const r=o?"onPress":"onPressCancel",a=this.state.options[r];a&&nt.postRender(()=>a(i,ku(i)))}},{useGlobalTarget:this.state.options.globalPressTarget}))}mount(){this.register()}update(){const t=this.state.visualElement.prevProps;!(t?.whilePress||t?.whileTap||t?.onPress||t?.onPressCancel||t?.onPressStart)&&this.isActive()&&this.register()}unmount(){this.removePress?.(),this.removePress=void 0}};function ju(t){return t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1}function tn(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function av(t){return e=>ju(e)&&t(e,tn(e))}var lv=class extends Te{static#t=this.key="hover";constructor(t){super(t)}isActive(){const{whileHover:t,onHoverStart:e,onHoverEnd:s}=this.state.options;return!!(t||e||s)}register(){const t=this.state.element;!t||!this.isActive()||(this.removeHover?.(),this.removeHover=bg(t,(e,s)=>{const n=this.state.options;return this.state.setActive("whileHover",!0),n.onHoverStart&&nt.postRender(()=>n.onHoverStart(s,tn(s))),i=>{this.state.setActive("whileHover",!1);const o=this.state.options.onHoverEnd;o&&nt.postRender(()=>o(i,tn(i)))}}))}mount(){this.register()}update(){const t=this.state.visualElement.prevProps;!(t?.whileHover||t?.onHoverStart||t?.onHoverEnd)&&this.isActive()&&this.register()}unmount(){this.removeHover?.(),this.removeHover=void 0}},cv=class extends Te{static#t=this.key="inView";constructor(t){super(t)}isActive(){const{whileInView:t,onViewportEnter:e,onViewportLeave:s}=this.state.options;return!!(t||e||s)}startObserver(){const t=this.state.element;if(!t||!this.isActive())return;this.removeObserver?.();const{once:e,...s}=this.state.options.inViewOptions||{};this.removeObserver=$y(t,(n,i)=>{const o=this.state.options;if(this.state.setActive("whileInView",!0),o.onViewportEnter&&nt.postRender(()=>o.onViewportEnter(i)),!e)return()=>{this.state.setActive("whileInView",!1);const r=this.state.options.onViewportLeave;r&&nt.postRender(()=>r(i))}},s)}mount(){this.startObserver()}update(){const{props:t,prevProps:e}=this.state.visualElement;["amount","margin","root"].some(s=>t.inViewOptions?.[s]!==e?.inViewOptions?.[s])&&this.startObserver()}unmount(){this.removeObserver?.(),this.removeObserver=void 0}};function Xn(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}var uv=class extends Te{static#t=this.key="focus";constructor(t){super(t),this.isFocused=!1}onFocus(){let t=!1;try{t=this.state.element.matches(":focus-visible")}catch{t=!0}t&&(this.state.setActive("whileFocus",!0),this.isFocused=!0)}onBlur(){this.isFocused&&(this.state.setActive("whileFocus",!1),this.isFocused=!1)}mount(){const t=this.state.element;this.removeFocus=Hs(Xn(t,"focus",()=>this.onFocus()),Xn(t,"blur",()=>this.onBlur()))}unmount(){this.removeFocus?.(),this.removeFocus=void 0}};function $u(t){if(t)return t.options.allowProjection!==!1?t.projection:$u(t.parent)}const Bu={borderRadius:{...ce,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ce,borderTopRightRadius:ce,borderBottomLeftRadius:ce,borderBottomRightRadius:ce,boxShadow:$c};function en(t){return typeof t=="object"&&t!==null&&"nodeType"in t}const fv=typeof window>"u";var dv=class extends Te{static#t=this.key="projection";constructor(t){super(t),Bc(Bu),fv||this.initProjection()}initProjection(){const t=this.state.options;this.state.visualElement.projection=new ky(this.state.visualElement.latestValues,t["data-framer-portal-id"]?void 0:$u(this.state.visualElement.parent)),this.projection=this.state.visualElement.projection,this.projection.isPresent=!0,this.setOptions()}setOptions(){const t=this.state.options,{layoutId:e,layout:s,drag:n=!1,dragConstraints:i=!1}=t;this.projection?.setOptions({layout:s,layoutId:e,alwaysMeasureLayout:!!e||!!n||i&&en(i),visualElement:this.state.visualElement,animationType:typeof t.layout=="string"?t.layout:"both",layoutRoot:t.layoutRoot,layoutScroll:t.layoutScroll,crossfade:t.crossfade,onExitComplete:()=>{!this.projection?.isPresent&&this.state.options.layoutId&&!this.state.isExiting&&queueMicrotask(()=>{this.state.options.presenceContext?.onMotionExitComplete?.(this.state.presenceContainer,this.state)})}})}update(){this.setOptions()}mount(){this.projection?.mount(this.state.element)}};function sn(t,e,s,n){return Xn(t,e,av(s),n)}var Nu=new Set(["auto","scroll"]),Uu=class{constructor(t,e,{transformPagePoint:s,contextWindow:n,dragSnapToOrigin:i=!1,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.onElementScroll=c=>{this.handleScroll(c.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const c=Yo(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=By(c.offset,{x:0,y:0})>=3;if(!f&&!d)return;const{point:m}=c,{timestamp:v}=St;this.history.push({...m,timestamp:v});const{onStart:b,onMove:w}=this.handlers;f||(b&&b(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),w&&w(this.lastMoveEvent,c)},this.handlePointerMove=(c,f)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=qo(f,this.transformPagePoint),nt.update(this.updatePoint,!0)},this.handlePointerUp=(c,f)=>{this.end();const{onEnd:d,onSessionEnd:m,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=Yo(c.type==="pointercancel"?this.lastMoveEventInfo:qo(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(c,b),m&&m(c,b)},!ju(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=s,this.contextWindow=n||window;const r=qo(tn(t),this.transformPagePoint),{point:a}=r,{timestamp:l}=St;this.history=[{...a,timestamp:l}];const{onSessionStart:u}=e;u&&u(t,Yo(r,this.history)),this.removeListeners=Hs(sn(this.contextWindow,"pointermove",this.handlePointerMove),sn(this.contextWindow,"pointerup",this.handlePointerUp),sn(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}isScrollable(t){const e=window.getComputedStyle(t);return e.overflow==="auto"||e.overflow==="scroll"||e.overflowX==="auto"||e.overflowX==="scroll"||e.overflowY==="auto"||e.overflowY==="scroll"}startScrollTracking(t){let e=t.parentElement;for(;e;){const s=getComputedStyle(e);(Nu.has(s.overflowX)||Nu.has(s.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const e=this.scrollPositions.get(t);if(!e)return;const s=t===window,n=s?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:n.x-e.x,y:n.y-e.y};i.x===0&&i.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,n),nt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners?.(),this.scrollPositions.clear(),Oe(this.updatePoint)}};function qo(t,e){return e?{point:e(t.point)}:t}function Hu(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Yo({point:t},e){return{point:t,delta:Hu(t,Ku(e)),offset:Hu(t,hv(e)),velocity:pv(e,.1)}}function hv(t){return t[0]}function Ku(t){return t[t.length-1]}function pv(t,e){if(t.length<2)return{x:0,y:0};let s=t.length-1,n=null;const i=Ku(t);for(;s>=0&&(n=t[s],!(i.timestamp-n.timestamp>ae(e)));)s--;if(!n)return{x:0,y:0};const o=Kt(i.timestamp-n.timestamp);if(o===0)return{x:0,y:0};const r={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}function Wu(t){return(e,s)=>{t&&nt.postRender(()=>t(e,s))}}var mv=class extends Te{constructor(...t){super(...t),this.removePointerDownListener=Ht}static#t=this.key="pan";onPointerDown(t){this.session=new Uu(t,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:Pu(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:Wu((t,e)=>{const{onPanSessionStart:s}=this.state.options;s&&s(t,e)}),onStart:Wu((t,e)=>{const{onPanStart:s}=this.state.options;s&&s(t,e)}),onMove:(t,e)=>{const{onPan:s}=this.state.options;s&&s(t,e)},onEnd:(t,e)=>{const{onPanEnd:s}=this.state.options;delete this.session,s&&nt.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=sn(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};function Gu(t){let e=null;return()=>{const s=()=>{e=null};return e===null?(e=t,s):!1}}var zu=Gu("dragHorizontal"),qu=Gu("dragVertical");function gv(t){let e=!1;if(t==="y")e=qu();else if(t==="x")e=zu();else{const s=zu(),n=qu();s&&n?e=()=>{s(),n()}:(s&&s(),n&&n())}return e}function yv(t,{min:e,max:s},n){return e!==void 0&&t<e?t=n?ft(e,t,n.min):Math.max(t,e):s!==void 0&&t>s&&(t=n?ft(s,t,n.max):Math.min(t,s)),t}const Xo=.35;function vv(t,{top:e,left:s,bottom:n,right:i}){return{x:Yu(t.x,s,i),y:Yu(t.y,e,n)}}function Yu(t,e,s){return{min:e!==void 0?t.min+e:void 0,max:s!==void 0?t.max+s-(t.max-t.min):void 0}}function bv(t=Xo){return t===!1?t=0:t===!0&&(t=Xo),{x:Xu(t,"left","right"),y:Xu(t,"top","bottom")}}function Xu(t,e,s){return{min:Zu(t,e),max:Zu(t,s)}}function Zu(t,e){return typeof t=="number"?t:t[e]||0}function _v(t,e){const s={};return e.min!==void 0&&(s.min=e.min-t.min),e.max!==void 0&&(s.max=e.max-t.min),s}function xv(t,e){return{x:Ju(t.x,e.x),y:Ju(t.y,e.y)}}function Ju(t,e){let s=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([s,n]=[n,s]),{min:s,max:n}}function Sv(t,e){let s=.5;const n=Mt(t),i=Mt(e);return i>n?s=Ks(e.min,e.max-n,t.min):n>i&&(s=Ks(t.min,t.max-i,e.min)),re(0,1,s)}const Tv=new WeakMap;var wv=class{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=gt(),this.state=t}get visualElement(){return this.state.visualElement}start(t,{snapToCursor:e=!1}={}){const s=l=>{e?this.stopAnimation():this.pauseAnimation(),e&&this.snapToCursor(tn(l,"page").point)},n=(l,u)=>{this.stopAnimation();const{drag:c,dragPropagation:f,onDragStart:d}=this.getProps();c&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=gv(c),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Wt(m=>{let v=this.getAxisMotionValue(m).get()||0;if(le.test(v)){const{projection:b}=this.visualElement;if(b&&b.layout){const w=b.layout.layoutBox[m];w&&(v=Mt(w)*(parseFloat(v)/100))}}this.originPoint[m]=v}),d&&nt.postRender(()=>d(l,u)),Eo(this.visualElement,"transform"),this.state.setActive("whileDrag",!0))},i=(l,u)=>{const{dragPropagation:c,dragDirectionLock:f,onDirectionLock:d,onDrag:m}=this.getProps();if(!c&&!this.openGlobalLock)return;const{offset:v}=u;if(f&&this.currentDirection===null){this.currentDirection=Pv(v),this.currentDirection!==null&&d&&d(this.currentDirection);return}this.updateAxis("x",u.point,v),this.updateAxis("y",u.point,v),this.visualElement.render(),m&&m(l,u)},o=(l,u)=>this.stop(l,u),r=()=>Wt(l=>this.getAnimationState(l)==="paused"&&this.getAxisMotionValue(l).animation?.play()),{dragSnapToOrigin:a}=this.getProps();this.panSession=new Uu(t,{onSessionStart:s,onStart:n,onMove:i,onSessionEnd:o,resumeAnimation:r},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:a,contextWindow:Pu(this.visualElement),element:this.state.element})}stop(t,e){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:n}=e;this.startAnimation(n);const{onDragEnd:i}=this.getProps();i&&nt.postRender(()=>i(t,e))}cancel(){this.isDragging=!1;const{projection:t}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:e}=this.getProps();!e&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),this.state.setActive("whileDrag",!1)}updateAxis(t,e,s){const{drag:n}=this.getProps();if(!s||!Zn(t,n,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(o=yv(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&en(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&s?this.constraints=vv(s.layoutBox,t):this.constraints=!1,this.elastic=bv(e),n!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&Wt(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=_v(s.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!en(t))return!1;const s=t,{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const i=jg(s,n.root,this.visualElement.getTransformPagePoint());let o=xv(n.layout.layoutBox,i);if(e){const r=e(Fg(o));this.hasMutatedConstraints=!!r,r&&(o=Ec(r))}return o}startAnimation(t){const{drag:e,dragMomentum:s,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=Wt(u=>{if(!Zn(u,e,this.currentDirection))return;let c=a&&a[u]||{};o&&(c={min:0,max:0});const f=n?200:1e6,d=n?40:1e7,m={type:"inertia",velocity:s?t[u]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(u,m)});return Promise.all(l).then(r)}startAxisValueAnimation(t,e){const s=this.getAxisMotionValue(t);return Eo(this.visualElement,t),s.start(Co(t,s,0,e,this.visualElement,!1))}stopAnimation(){this.visualElement.projection?.isPresent&&Wt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Wt(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,s=this.visualElement.getProps();return s[e]||this.visualElement.getValue(t,(s.initial?s.initial[t]:void 0)||0)}snapToCursor(t){Wt(e=>{const{drag:s}=this.getProps();if(!Zn(e,s,this.currentDirection))return;const{projection:n}=this.visualElement,i=this.getAxisMotionValue(e);if(n&&n.layout){const{min:o,max:r}=n.layout.layoutBox[e];i.set(t[e]-ft(o,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:s}=this.visualElement;if(!en(e)||!s||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};Wt(o=>{const r=this.getAxisMotionValue(o);if(r&&this.constraints!==!1){const a=r.get();n[o]=Sv({min:a,max:a},this.constraints[o])}});const{transformTemplate:i}=this.visualElement.getProps();this.state.element.style.transform=i?i({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),Wt(o=>{if(!Zn(o,t,null))return;const r=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];r.set(ft(a,l,n[o]))})}addListeners(){if(!this.state.element)return;Tv.set(this.visualElement,this);const t=this.state.element,e=sn(t,"pointerdown",a=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(a)}),s=()=>{const{dragConstraints:a}=this.getProps();en(a)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",s);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),nt.read(s);const o=Xn(window,"resize",()=>this.scalePositionWithinConstraints()),r=n.addEventListener("didUpdate",(({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(Wt(u=>{const c=this.getAxisMotionValue(u);c&&(this.originPoint[u]+=a[u].translate,c.set(c.get()+a[u].translate))}),this.visualElement.render())}));return()=>{o(),e(),i(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:s=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=Xo,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:s,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:r}}};function Zn(t,e,s){return(e===!0||e===t)&&(s===null||s===t)}function Pv(t,e=10){let s=null;return Math.abs(t.y)>e?s="y":Math.abs(t.x)>e&&(s="x"),s}var Av=class extends Te{static#t=this.key="drag";constructor(t){super(t),this.removeGroupControls=Ht,this.removeListeners=Ht,this.controls=new wv(t)}mount(){const{dragControls:t}=this.state.options;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ht}unmount(){this.removeGroupControls(),this.removeListeners()}},nn=!1,Cv=class extends Te{static#t=this.key="layout";constructor(t){super(t),this.hasMountSettled=!1,Bc(Bu),t.getSnapshot=this.getSnapshot.bind(this),t.didUpdate=this.didUpdate.bind(this)}updatePrevLead(t){const e=t.getStack();e?.prevLead&&!e.prevLead.snapshot&&(e.prevLead.willUpdate(),nn=!0)}didUpdate(){nn&&(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&(nn=!1,this.state.visualElement.projection?.root?.didUpdate())}mount(){const t=this.state.options,e=this.state.options.layoutGroup;if(t.layout||t.layoutId){const s=this.state.visualElement.projection;if(t.layoutId){const n=!Iu(this.state.element);s.isPresent=n,n?s.promote():s.relegate(),this.updatePrevLead(s)}e?.group?.add(s),Yn.hasEverUpdated=!0}this.didUpdate(),nt.postRender(()=>{this.hasMountSettled=!0})}unmount(){const t=this.state.options.layoutGroup,e=this.state.visualElement.projection;e&&(t?.group&&(this.state.options.layout||this.state.options.layoutId)&&t.group.remove(e),this.state.options.layoutId&&(nn=!0),this.didUpdate())}getSnapshot(t,e){const s=this.state.visualElement.projection,{drag:n,layoutDependency:i,layout:o,layoutId:r}=t;if(!s||!o&&!r&&!n||!this.hasMountSettled)return;nn=!0;const a=this.state.options;(n||a.layoutDependency!==i||i===void 0||wu(e)&&s.isPresent!==e)&&s.willUpdate(),wu(e)&&e!==s.isPresent&&(s.isPresent=e,e?(s.promote(),this.updatePrevLead(s)):s.relegate())}};const Ev={renderer:ov,features:[iv,rv,lv,cv,uv,dv,mv,Av,Cv]},[Vv]=Us("LazyMotionContext"),[Mv]=Us("AnimatePresenceContext");function Dv(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}function Qu(){return{transform:{},transformOrigin:{},style:{},vars:{}}}function Ov(){return{...Qu(),attrs:{}}}function Rv(t){const e=Qu();Bo(e,t);const s={...e.style};for(const n in e.vars)s[n]=e.vars[n];return Object.keys(s).length===0?null:s}function Lv(t,e,s){const n=Ov();Uc(n,t,Hc(e),void 0,s);const i={};for(const o in n.attrs){const r=No.has(o)?o:Dv(o);i[r]=n.attrs[o]}return{attrs:i,style:{...n.style,...n.vars}}}function Fv(t,e){const s=Ny(null),n=Hy({}),i=Gy(),o=Mv({}),r=Vv({features:ns({}),strict:!1}),a=Od();function l(){return dp(t,{layoutGroup:n,presenceContext:o,config:i.value})}function u(){return{...a,...l()}}const c=new Zy(u(),s);Uy(c),e&&c.initVisualElement(e),Pn(r.features,m=>{m.features?.length&&Au(m.features),m.renderer&&c.initVisualElement(m.renderer),c.updateFeatures()},{immediate:!0,flush:"pre"});function f(){const m=c.type==="svg",v={...a};Object.keys(a).forEach(E=>{Pt(a[E])&&(v[E]=a[E].get())});const b=c.visualElement?.latestValues||c.latestValues;let w={...t.style,...m?{}:b};for(const E in w)Pt(w[E])&&(w[E]=w[E].get());if(m){const{attrs:E,style:P}=Lv({...b,...w},c.options.as,t.style);Object.assign(v,E),w=P}t.drag&&t.dragListener!==!1&&Object.assign(w,{userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",touchAction:t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`});const C=Rv(w);return C&&(v.style=C),v}const d=Fn().proxy;return Ci(()=>{const m=Go(d.$el);c.mount(m)}),Ei(()=>c.beforeUnmount()),Vi(()=>{Go(d.$el)?.isConnected||c.unmount()}),Yr(()=>{c.beforeUpdate(),c.updateOptions(u())}),Xr(()=>{c.update()}),{getProps:l,getAttrs:f,layoutGroup:n,state:c}}const Iv={ignoreStrict:{type:Boolean},forwardMotionProps:{type:Boolean,default:!1},asChild:{type:Boolean,default:!1},whileDrag:{type:[String,Array,Object]},whileHover:{type:[String,Array,Object]},whilePress:{type:[String,Array,Object]},whileInView:{type:[String,Array,Object]},whileFocus:{type:[String,Array,Object]},custom:{type:[String,Number,Object,Array]},initial:{type:[String,Array,Object,Boolean],default:void 0},animate:{type:[String,Array,Object],default:void 0},exit:{type:[String,Array,Object]},variants:{type:Object},inherit:{type:Boolean},style:{type:Object},transformTemplate:{type:Function},transition:{type:Object},onAnimationComplete:{type:Function},onUpdate:{type:Function},layout:{type:[Boolean,String],default:!1},layoutId:{type:String,default:void 0},layoutScroll:{type:Boolean,default:!1},layoutRoot:{type:Boolean,default:!1},"data-framer-portal-id":{type:String},crossfade:{type:Boolean,default:!0},layoutDependency:{type:null,default:void 0},onBeforeLayoutMeasure:{type:Function},onLayoutMeasure:{type:Function},onLayoutAnimationStart:{type:Function},onLayoutAnimationComplete:{type:Function},globalPressTarget:{type:Boolean},onPressStart:{type:Function},onPress:{type:Function},onPressCancel:{type:Function},onHoverStart:{type:Function},onHoverEnd:{type:Function},inViewOptions:{type:Object},onViewportEnter:{type:Function},onViewportLeave:{type:Function},drag:{type:[Boolean,String]},dragSnapToOrigin:{type:Boolean},dragDirectionLock:{type:Boolean},dragPropagation:{type:Boolean},dragConstraints:{type:[Boolean,Object]},dragElastic:{type:[Boolean,Number,Object],default:.5},dragMomentum:{type:Boolean,default:!0},dragTransition:{type:Object},dragListener:{type:Boolean,default:!0},dragControls:{type:Object},onDragStart:{type:Function},onDragEnd:{type:Function},onDrag:{type:Function},onDirectionLock:{type:Function},onDragTransitionEnd:{type:Function},onMeasureDragConstraints:{type:Function},onPanSessionStart:{type:Function},onPanStart:{type:Function},onPan:{type:Function},onPanEnd:{type:Function}};var kv=new Map,jv=new Map;function $v(t){if(!Array.isArray(t))return[t];const e=[];for(const s of t)Array.isArray(s)?e.push(...s):e.push(s);return e}var Bv=["area","img","input"];function Nv(t,e,s){if(typeof t=="string"&&Bv.includes(t))return Ni(t,e);if(t==="template"){if(!s.default)return null;const n=$v(s.default()),i=n.findIndex(l=>l.type!==xt);if(i===-1)return n;const o=n[i];delete o.props?.ref;const r=o.props?Ca(e,o.props):e;e.class&&o.props?.class&&delete o.props.class;const a=ve(o,r);for(const l in r)l.startsWith("on")&&(a.props||={},a.props[l]=r[l]);return n.length===1?a:(n[i]=a,n)}return null}function tf(t,e={}){const s=typeof t=="string",n=s?t:t.name||"",i=e.renderer?kv:jv;if(s&&i?.has(t))return i.get(t);const o=vd({inheritAttrs:!1,props:{...Iv,as:{type:[String,Object],default:t||"div"}},name:n?`motion.${n}`:"Motion",setup(r,{slots:a}){const{getProps:l,getAttrs:u,state:c}=Fv(r,e.renderer);function f(){const d=c.element;if((typeof r.as!="object"||r.asChild)&&d){const{style:m}=u();if(m)for(const[v,b]of Object.entries(m))d.style[v]=b}}return()=>{const d=l(),m=u(),v=r.asChild?"template":r.as,b={...r.forwardMotionProps?d:{},...m,onVnodeUpdated:f},w=Nv(v,b,a);return w!==null?w:Ni(v,{...b},a)}}});return s&&i?.set(t,o),o}function Uv(t){const e=t?.renderer;return Au(t?.features||[]),new Proxy({},{get(s,n){return n==="create"?(i,o)=>tf(i,{...o,renderer:e}):tf(n,{renderer:e})}})}const ef=Uv(Ev);ef.create("div");const Hv={class:"slds-navigation-list--vertical"},Kv={class:"slds-navigation-list__item-content"},Wv={class:"slds-navigation-list__item-title"},Gv={__name:"SidebarLayout",props:{schemas:{type:Array,required:!0},selectedSchema:{type:Object,default:null}},emits:["selectSchema"],setup(t,{emit:e}){const s=t,n=e,i=ns(s.selectedSchema?.fileName||null);function o(a){i.value=a.fileName,n("selectSchema",a)}function r(a){return a.schema?.title||a.fileName||"Untitled Schema"}return(a,l)=>(I(),B("div",Hv,[l[0]||(l[0]=g("div",{class:"slds-navigation-list__item"},[g("div",{class:"slds-navigation-list__item-content"},[g("div",{class:"slds-navigation-list__item-title"},[g("span",{class:"slds-text-heading_small"},"Schemas")])])],-1)),(I(!0),B(dt,null,Me(t.schemas,u=>(I(),B("div",{key:u.fileName,class:"slds-navigation-list__item"},[g("div",Kv,[g("div",Wv,[st(Er(ef).button,{"while-hover":{scale:1.05},"while-press":{scale:.95},class:At(["slds-button slds-button_neutral slds-button_stretch",{"slds-is-active":i.value===u.fileName}]),onClick:c=>o(u)},{default:wn(()=>[ks(J(r(u)),1)]),_:2},1032,["class","onClick"])])])]))),128))]))}},sf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='52'%20width='52'%20viewBox='0%200%20520%20520'%20fill='%23fff'%3e%3cpath%20d='M514%20425%20285%2055a28%2028%200%200%200-50%200L6%20425c-14%2023%200%2055%2025%2055h458c25%200%2040-32%2025-55m-254-25c-17%200-30-13-30-30s13-30%2030-30%2030%2013%2030%2030-13%2030-30%2030m30-90c0%206-4%2010-10%2010h-40c-6%200-10-4-10-10V180c0-6%204-10%2010-10h40c6%200%2010%204%2010%2010z'/%3e%3c/svg%3e",nf=(t,e)=>{const s=t.__vccOpts||t;for(const[n,i]of e)s[n]=i;return s},zv={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},qv={class:"slds-notify__content"},of=nf({__name:"NoPropertiesMessage",props:{title:{type:String,default:"No Properties Defined"},message:{type:String,default:"This object doesn't have any properties defined in the schema."}},setup(t){return(e,s)=>(I(),B("div",zv,[s[0]||(s[0]=g("span",{class:"slds-assistive-text"},"warning",-1)),s[1]||(s[1]=g("span",{class:"slds-icon_container slds-icon-utility-warning slds-m-right_x-small"},[g("img",{src:sf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",qv,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-a28aa892"]]),Yv={key:0,class:"slds-m-top_medium"},Xv={class:"slds-box slds-theme_shade"},Zv={class:"slds-grid slds-wrap slds-gutters"},Jv={class:"constraint-item"},Qv={class:"slds-text-title_caps slds-text-color_default"},t0={class:"slds-text-body_regular slds-m-top_xx-small"},Zo={__name:"SchemaConstraints",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>{const a={};return["minimum","maximum","exclusiveMinimum","exclusiveMaximum","minLength","maxLength","pattern","minItems","maxItems","uniqueItems","minProperties","maxProperties"].forEach(u=>{e.schema[u]!==void 0&&(a[u]=e.schema[u])}),a}),n=bt(()=>Object.entries(s.value).length!==0);function i(a){return a.replace(/([A-Z])/g," $1").replace(/^./,l=>l.toUpperCase())}function o(a){return typeof a=="boolean"?a?"Yes":"No":typeof a=="string"&&a.startsWith("^")?`Pattern: ${a}`:a}function r(a){return typeof a=="boolean"?a?"slds-badge_success":"slds-badge_inverse":typeof a=="number"?"slds-badge_warning":typeof a=="string"&&a.startsWith("^")?"slds-badge_info":""}return(a,l)=>n.value?(I(),B("div",Yv,[l[0]||(l[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Constraints ",-1)),g("div",Xv,[g("div",Zv,[(I(!0),B(dt,null,Me(s.value,(u,c)=>(I(),B("div",{key:c,class:"slds-col slds-size_1-of-2 slds-p-around_xx-small"},[g("div",Jv,[g("div",Qv,J(i(c)),1),g("div",t0,[g("span",{class:At(["slds-badge",r(u)])},J(o(u)),3)])])]))),128))])])])):Ut("",!0)}},e0={class:"array-schema"},s0={class:"slds-box slds-theme_shade"},n0={class:"slds-grid slds-gutters"},i0={key:0,class:"slds-col"},o0={class:"slds-badge"},r0={key:1,class:"slds-m-top_medium"},a0={class:"slds-text-title_caps slds-m-bottom_xx-small"},l0={key:3,class:"slds-m-top_medium"},c0={key:4,class:"slds-m-top_medium"},u0={key:0,class:"slds-m-top_xx-small"},f0={__name:"ArraySchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>["minItems","maxItems","uniqueItems"].some(o=>o in e.schema)),n=bt(()=>e.schema.items?Array.isArray(e.schema.items)?"Tuple":e.schema.items.type||"Not specified":"Not defined");return(i,o)=>(I(),B("div",e0,[g("div",s0,[g("div",n0,[o[1]||(o[1]=g("div",{class:"slds-col"},[g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type "),g("div",{class:"slds-badge"}," array ")],-1)),t.schema.items?(I(),B("div",i0,[o[0]||(o[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Items Type ",-1)),g("div",o0,J(n.value),1)])):Ut("",!0)])]),s.value?(I(),kt(Zo,{key:0,schema:t.schema},null,8,["schema"])):Ut("",!0),t.schema.items?(I(),B("div",r0,[o[2]||(o[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Items Schema ",-1)),Array.isArray(t.schema.items)?(I(!0),B(dt,{key:0},Me(t.schema.items,(r,a)=>(I(),B("div",{key:a,class:"slds-m-bottom_medium"},[g("div",a0," Index "+J(a),1),st(we,{schema:r,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128)):(I(),kt(we,{key:1,schema:t.schema.items,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):(I(),kt(of,{key:2,title:"No Items Defined",message:"This array doesn't have any items defined in the schema."})),t.schema.contains?(I(),B("div",l0,[o[3]||(o[3]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Contains ",-1)),st(we,{schema:t.schema.contains,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])):Ut("",!0),t.schema.additionalItems!==void 0&&Array.isArray(t.schema.items)?(I(),B("div",c0,[o[4]||(o[4]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Additional Items ",-1)),typeof t.schema.additionalItems=="boolean"?(I(),B("div",u0,[g("span",{class:At(t.schema.additionalItems?"status-allowed":"status-denied")},J(t.schema.additionalItems?"Allowed":"Not allowed"),3)])):(I(),kt(we,{key:1,schema:t.schema.additionalItems,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ut("",!0)]))}},d0={class:"slds-box slds-theme_shade"},h0={class:"slds-text-heading_small slds-m-bottom_small"},p0={class:"slds-tabs_default"},m0={class:"slds-tabs_default__nav",role:"tablist"},g0=["aria-selected","aria-controls","onClick"],y0={class:"slds-tabs_default__title"},v0=["id"],b0={class:"slds-p-around_medium"},_0={class:"slds-text-title_caps slds-m-bottom_small"},x0={__name:"CompositionSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>e.schema.anyOf?"anyOf":e.schema.oneOf?"oneOf":e.schema.allOf?"allOf":null),n=ns(0),i=bt(()=>e.schema[s.value]||[]);dd(()=>{i.value.forEach(u=>{u.type||(u.type=e.schema.type)})});const o=bt(()=>{switch(s.value){case"oneOf":return"One Of (Choose One)";case"anyOf":return"Any Of (Choose Any)";case"allOf":return"All Of (Must Match All)";default:return s.value}}),r=bt(()=>{switch(e.compositionType){case"oneOf":return"slds-badge_success";case"anyOf":return"slds-badge_warning";case"allOf":return"slds-badge_inverse";default:return""}});function a(u){return Array.isArray(u.type)?u.type.join(" | "):u.type||"object"}function l(u,c){return u.title?u.title:`Option ${c+1}`}return(u,c)=>(I(),B("div",d0,[g("div",h0,[g("span",{class:At(["slds-badge",r.value])},J(o.value),3)]),g("div",p0,[g("ul",m0,[(I(!0),B(dt,null,Me(i.value,(f,d)=>(I(),B("li",{key:d,class:At(["slds-tabs_default__item",{"slds-is-active":n.value===d}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":n.value===d,"aria-controls":`tab-${d}`,onClick:m=>n.value=d},[g("span",y0,J(l(f,d)),1)],8,g0)],2))),128))]),(I(!0),B(dt,null,Me(i.value,(f,d)=>(I(),B("div",{id:`tab-${d}`,key:d,class:At(["slds-tabs_default__content",{"slds-show":n.value===d,"slds-hide":n.value!==d}]),role:"tabpanel"},[g("div",b0,[g("div",_0," Schema Type: "+J(a(f)),1),st(we,{schema:f,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])],10,v0))),128))])]))}},S0={class:"slds-box slds-theme_shade"},T0={class:"slds-grid slds-wrap slds-gutters"},w0={class:"slds-col slds-size_1-of-1 slds-p-around_xx-small"},P0={key:0,class:"slds-box slds-theme_shade slds-m-vertical_xx-small"},A0={key:1,class:"slds-badge slds-badge_inverse"},C0={__name:"ConstSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>e.schema.const),n=bt(()=>typeof s.value=="object"&&s.value!==null),i=bt(()=>n.value?JSON.stringify(s.value,null,2):s.value);return(o,r)=>(I(),B("div",S0,[r[0]||(r[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Const Value ",-1)),g("div",T0,[g("div",w0,[n.value?(I(),B("pre",P0,[g("code",null,J(i.value),1)])):(I(),B("div",A0,J(i.value),1))])])]))}},E0={class:"slds-box slds-theme_shade"},V0={class:"slds-grid slds-wrap slds-gutters"},M0={class:"slds-badge slds-badge_inverse"},D0={__name:"EnumSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>e.schema.enum);return(n,i)=>(I(),B("div",E0,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Enum Values ",-1)),g("div",V0,[(I(!0),B(dt,null,Me(s.value,(o,r)=>(I(),B("div",{key:r,class:"slds-col slds-size_1-of-3 slds-p-around_xx-small"},[g("div",M0,J(o),1)]))),128))])]))}},O0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='52'%20width='52'%20viewBox='0%200%20520%20520'%20fill='%23fff'%3e%3cpath%20d='M476%20178%20271%20385c-6%206-16%206-22%200L44%20178c-6-6-6-16%200-22l22-22c6-6%2016-6%2022%200l161%20163c6%206%2016%206%2022%200l161-163c6-6%2016-6%2022%200l22%2022c5%207%205%2016%200%2022'/%3e%3c/svg%3e",R0={key:0},L0={key:1},F0={class:"slds-box slds-m-top_small"},I0={class:"slds-table_container"},k0={class:"slds-table slds-table_cell-buffer slds-table_bordered"},j0=["onClick"],$0=["title"],B0={class:"slds-truncate"},N0={class:"slds-badge"},U0=["title"],H0={class:"slds-truncate"},K0={key:0,class:"slds-badge slds-badge_success"},W0={key:1,class:"slds-badge slds-badge_inverse"},G0={key:0},z0={colspan:"4",class:"slds-p-around_medium"},q0={class:"slds-box slds-theme_shade"},Y0={key:2},X0={key:3},Z0={key:0},J0={__name:"ObjectSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=ns({}),n=bt(()=>e.schema.properties&&Object.keys(e.schema.properties).length>0||e.schema.patternProperties&&Object.keys(e.schema.patternProperties).length>0);function i(a){return e.schema.required&&e.schema.required.includes(a)}function o(a){return a.type?a.type:Ze.hasComposition(a)?"composition":Ze.isEnum(a)?"enum":Ze.isConst(a)?"const":"No type found"}function r(a){s.value[a]=!s.value[a]}return(a,l)=>(I(),B("div",null,[l[6]||(l[6]=g("div",null,[g("div",null,"Type: object")],-1)),st(Zo,{schema:t.schema},null,8,["schema"]),t.schema.required&&t.schema.required.length>0?(I(),B("div",R0,[l[0]||(l[0]=g("span",null,"Required properties:",-1)),g("span",null,J(t.schema.required.join(", ")),1)])):Ut("",!0),n.value?(I(),B("div",L0,[g("div",F0,[l[2]||(l[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Properties ",-1)),g("div",I0,[g("table",k0,[l[1]||(l[1]=g("thead",null,[g("tr",{class:"slds-line-height_reset"},[g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Property"}," Property ")]),g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Type"}," Type ")]),g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Description"}," Description ")]),g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Required"}," Required ")])])],-1)),g("tbody",null,[(I(!0),B(dt,null,Me(t.schema.properties,(u,c)=>(I(),B(dt,{key:c},[g("tr",{class:"slds-hint-parent is-interactive",onClick:f=>r(c)},[g("td",null,[g("div",{class:"slds-truncate",title:c},[g("img",{src:O0,class:At(["slds-button__icon",{expanded:s.value[c]}]),alt:""},null,2),ks(" "+J(c),1)],8,$0)]),g("td",null,[g("div",B0,[g("span",N0,J(o(u)),1)])]),g("td",null,[g("div",{class:"slds-truncate",title:u.description},J(u.description||"No description"),9,U0)]),g("td",null,[g("div",H0,[i(c)?(I(),B("span",K0,"Required")):(I(),B("span",W0,"Optional"))])])],8,j0),st(Th,null,{default:wn(()=>[s.value[c]?(I(),B("tr",G0,[g("td",z0,[g("div",q0,[st(we,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])])])):Ut("",!0)]),_:2},1024)],64))),128))])])])])])):Ut("",!0),t.schema.patternProperties?(I(),B("div",Y0,[l[4]||(l[4]=g("div",null,"Pattern Properties",-1)),g("div",null,[(I(!0),B(dt,null,Me(t.schema.patternProperties,(u,c)=>(I(),B("div",{key:c},[g("div",null,[g("div",null,[l[3]||(l[3]=g("span",null,"Pattern:",-1)),g("code",null,J(c),1)])]),st(we,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128))])])):Ut("",!0),t.schema.additionalProperties!==void 0?(I(),B("div",X0,[l[5]||(l[5]=g("div",null,"Additional Properties",-1)),typeof t.schema.additionalProperties=="boolean"?(I(),B("div",Z0,[g("span",{class:At(t.schema.additionalProperties?"status-allowed":"status-denied")},J(t.schema.additionalProperties?"Allowed":"Not allowed"),3)])):(I(),kt(we,{key:1,schema:t.schema.additionalProperties,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ut("",!0),n.value?Ut("",!0):(I(),kt(of,{key:4}))]))}},Q0={class:"slds-box slds-m-top_small"},tb={class:"slds-box slds-theme_shade"},eb={class:"slds-text-body_regular"},sb={class:"slds-grid slds-gutters"},nb={class:"slds-col"},ib={class:"slds-badge"},ob={class:"slds-col"},on={__name:"PrimitiveSchema",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(I(),B("div",Q0,[s[2]||(s[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Type Information ",-1)),g("div",tb,[g("div",eb,[g("div",sb,[g("div",nb,[s[0]||(s[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type ",-1)),g("div",ib,J(t.schema.type),1)]),g("div",ob,[s[1]||(s[1]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Description ",-1)),g("div",null,J(t.schema.description||"No description"),1)])])])]),st(Zo,{schema:t.schema},null,8,["schema"])]))}},rb={object:J0,array:f0,string:on,number:on,integer:on,boolean:on,null:on},Ze={hasComposition:t=>!!(t.anyOf||t.oneOf||t.allOf),isEnum:t=>"enum"in t&&Array.isArray(t.enum),isConst:t=>"const"in t,getComponentForSchema:t=>Ze.hasComposition(t)?x0:Ze.isEnum(t)?D0:Ze.isConst(t)?C0:rb[t.type]||null},ab={class:"slds-grid slds-grid_vertical"},lb={class:"slds-col slds-size_1-of-1"},cb={class:"slds-card"},ub={class:"slds-card__body slds-card__body_inner"},fb={__name:"SchemaLayout",setup(t){return(e,s)=>(I(),B("div",ab,[g("div",lb,[g("div",cb,[g("div",ub,[Md(e.$slots,"default")])])])]))}},db={class:"slds-box"},hb={class:"slds-box slds-theme_shade"},pb={__name:"PlainSchemaView",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>{const n=JSON.parse(JSON.stringify(e.schema));return n._metadata&&delete n._metadata,JSON.stringify(n,null,2)});return(n,i)=>(I(),B("div",db,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"},[ks(" Schema in plain with all "),g("code",null,"$ref"),ks(" references already resolved ")],-1)),g("pre",hb,[g("code",null,J(s.value),1)])]))}},mb={class:"slds-page-header"},gb={class:"slds-page-header__row"},yb={class:"slds-page-header__col-title"},vb={class:"slds-media"},bb={class:"slds-media__body"},_b={class:"slds-page-header__name"},xb={class:"slds-page-header__name-title"},Sb={class:"slds-page-header__title slds-truncate",title:"{{ schema.title || 'Schema' }}"},Tb={class:"slds-page-header__meta-text"},wb={__name:"SchemaHeader",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(I(),B("div",mb,[g("div",gb,[g("div",yb,[g("div",vb,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:sl,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",bb,[g("div",_b,[g("div",xb,[g("h1",Sb,J(t.schema.title||"Schema"),1)])]),g("div",Tb,J(t.schema.description||"No description provided"),1)])])])])]))}},Pb={class:"slds-tabs_default__nav",role:"tablist"},Ab={__name:"SchemaTabs",props:{modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(t){return(e,s)=>(I(),B("ul",Pb,[g("li",{class:At(["slds-tabs_default__item",{"slds-is-active":t.modelValue==="visual"}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":"true","aria-controls":"visual-tab",onClick:s[0]||(s[0]=n=>e.$emit("update:modelValue","visual"))},[...s[2]||(s[2]=[g("span",{class:"slds-tabs_default__title"},"Visual",-1)])])],2),g("li",{class:At(["slds-tabs_default__item",{"slds-is-active":t.modelValue==="plain"}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":"true","aria-controls":"plain-tab",onClick:s[1]||(s[1]=n=>e.$emit("update:modelValue","plain"))},[...s[3]||(s[3]=[g("span",{class:"slds-tabs_default__title"},"Plain JSON",-1)])])],2)]))}},Cb={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},Eb={class:"slds-notify__content"},Vb=nf({__name:"UnknownSchemaMessage",props:{title:{type:String,default:"Unknown schema"},message:{type:String,default:"This schema doesen't have proper handling yet."}},setup(t){return(e,s)=>(I(),B("div",Cb,[s[0]||(s[0]=g("span",{class:"slds-assistive-text"},"warning",-1)),s[1]||(s[1]=g("span",{class:"slds-icon_container slds-icon-utility-warning slds-m-right_x-small"},[g("img",{src:sf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",Eb,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-bde50c13"]]),Mb={class:"slds-tabs_default"},Db={class:"slds-p-around_medium"},Ob={class:"slds-m-top_medium"},Rb={class:"slds-p-around_medium"},we={__name:"SchemaViewer",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,default:null},isRoot:{type:Boolean,default:!0}},setup(t){const e=t,s=ns("visual"),n=bt(()=>e.isRoot?e.schema:e.rootSchema);Ti("rootSchema",n);const i=bt(()=>Ze.getComponentForSchema(e.schema));return(o,r)=>(I(),kt(fb,null,{default:wn(()=>[g("div",Mb,[st(Ab,{modelValue:s.value,"onUpdate:modelValue":r[0]||(r[0]=a=>s.value=a)},null,8,["modelValue"]),g("div",{class:At({"slds-show":s.value==="visual","slds-hide":s.value!=="visual"})},[g("div",Db,[st(wb,{schema:t.schema},null,8,["schema"]),g("div",Ob,[i.value?(I(),kt(Ed(i.value),{key:0,schema:t.schema,"root-schema":n.value},null,8,["schema","root-schema"])):(I(),kt(Vb,{key:1}))])])],2),g("div",{class:At({"slds-show":s.value==="plain","slds-hide":s.value!=="plain"})},[g("div",Rb,[st(pb,{schema:t.schema},null,8,["schema"])])],2)])]),_:1}))}},Lb={class:"slds-grid slds-grid_vertical"},Fb={class:"slds-grid slds-gutters slds-grid_vertical-fill"},Ib={class:"slds-col slds-size_2-of-12"},kb={class:"slds-col slds-size_10-of-12"},jb={key:1,class:"slds-p-around_medium"},rf={__name:"App",props:{title:{type:String,default:"JSON Schema Documentation"},description:{type:String,default:""},schemas:{type:Array,default:()=>[]},generatedAt:{type:String,default:()=>new Date().toISOString()}},setup(t){const e=t,s=ns(e.schemas.length>0?e.schemas[0]:null);function n(i){s.value=i}return(i,o)=>(I(),B("div",Lb,[st(fp,{title:t.title},null,8,["title"]),g("div",Fb,[g("div",Ib,[st(Gv,{schemas:t.schemas,"selected-schema":s.value,onSelectSchema:n},null,8,["schemas","selected-schema"])]),g("div",kb,[s.value?(I(),kt(we,{key:0,schema:s.value.schema,"is-root":!0},null,8,["schema"])):(I(),B("div",jb,[...o[0]||(o[0]=[lh('<div class="slds-text-align_center"><svg viewBox="0 0 454 272" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><circle vector-effect="non-scaling-stroke" cx="150" cy="150" r="40" fill="#F9F9F9"></circle><circle vector-effect="non-scaling-stroke" cx="150" cy="150" r="30" fill="#ECEBEA"></circle><circle vector-effect="non-scaling-stroke" cx="150" cy="150" r="20" fill="#D9D7D5"></circle></g></svg></div><div class="slds-text-align_center slds-m-top_medium"><h3 class="slds-text-heading_medium"> No Schema Selected </h3><p class="slds-text-body_regular slds-m-top_small"> Select a schema from the sidebar to view its documentation. </p></div>',2)])]))])]),st(sp,{description:t.description,"generated-at":t.generatedAt,"schema-count":t.schemas.length},null,8,["description","generated-at","schema-count"])]))}};async function af(){const t=window.__JSON_SCHEMA_DOCS_DATA__||{title:"JSON Schema Documentation",description:"",schemas:[],generatedAt:new Date().toISOString()};document.getElementById("app")&&el(rf,t).mount("#app")}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",af):af(),Fe.App=rf,Fe.createApp=el,Object.defineProperty(Fe,Symbol.toStringTag,{value:"Module"})}));
|
|
3
|
+
`,...nd(i)),console.warn(...o)}se(),xi=!1}function sd(){let t=As[As.length-1];if(!t)return[];const e=[];for(;t;){const s=e[0];s&&s.vnode===t?s.recurseCount++:e.push({vnode:t,recurseCount:0});const n=t.component&&t.component.parent;t=n&&n.vnode}return e}function nd(t){const e=[];return t.forEach((s,n)=>{e.push(...n===0?[]:[`
|
|
4
|
+
`],...id(s))}),e}function id({vnode:t,recurseCount:e}){const s=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${La(t.component,t.type,n)}`,o=">"+s;return t.props?[i,...od(t.props),o]:[i+o]}function od(t){const e=[],s=Object.keys(t);return s.slice(0,3).forEach(n=>{e.push(...Mr(n,t[n]))}),s.length>3&&e.push(" ..."),e}function Mr(t,e,s){return ut(e)?(e=JSON.stringify(e),s?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?s?e:[`${t}=${e}`]:_t(e)?(e=Mr(t,Q(e.value),!0),s?e:[`${t}=Ref<`,e,">"]):W(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Q(e),s?e:[`${t}=`,e])}function is(t,e,s,n){try{return n?t(...n):t()}catch(i){xn(i,e,s)}}function Zt(t,e,s,n){if(W(t)){const i=is(t,e,s,n);return i&&sr(i)&&i.catch(o=>{xn(o,e,s)}),i}if(U(t)){const i=[];for(let o=0;o<t.length;o++)i.push(Zt(t[o],e,s,n));return i}}function xn(t,e,s,n=!0){const i=e?e.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:r}=e&&e.appContext.config||rt;if(e){let a=e.parent;const l=e.proxy,u=`https://vuejs.org/error-reference/#runtime-${s}`;for(;a;){const c=a.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](t,l,u)===!1)return}a=a.parent}if(o){ee(),is(o,null,10,[t,l,u]),se();return}}rd(t,s,i,n,r)}function rd(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const Et=[];let ie=-1;const os=[];let Ve=null,rs=0;const Dr=Promise.resolve();let Sn=null;function ad(t){const e=Sn||Dr;return t?e.then(this?t.bind(this):t):e}function ld(t){let e=ie+1,s=Et.length;for(;e<s;){const n=e+s>>>1,i=Et[n],o=Cs(i);o<t||o===t&&i.flags&2?e=n+1:s=n}return e}function Si(t){if(!(t.flags&1)){const e=Cs(t),s=Et[Et.length-1];!s||!(t.flags&2)&&e>=Cs(s)?Et.push(t):Et.splice(ld(e),0,t),t.flags|=1,Or()}}function Or(){Sn||(Sn=Dr.then(Fr))}function cd(t){U(t)?os.push(...t):Ve&&t.id===-1?Ve.splice(rs+1,0,t):t.flags&1||(os.push(t),t.flags|=1),Or()}function Rr(t,e,s=ie+1){for(;s<Et.length;s++){const n=Et[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Et.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Lr(t){if(os.length){const e=[...new Set(os)].sort((s,n)=>Cs(s)-Cs(n));if(os.length=0,Ve){Ve.push(...e);return}for(Ve=e,rs=0;rs<Ve.length;rs++){const s=Ve[rs];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Ve=null,rs=0}}const Cs=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Fr(t){const e=zt;try{for(ie=0;ie<Et.length;ie++){const s=Et[ie];s&&!(s.flags&8)&&(Ee.NODE_ENV!=="production"&&e(s),s.flags&4&&(s.flags&=-2),is(s,s.i,s.i?15:14),s.flags&4||(s.flags&=-2))}}finally{for(;ie<Et.length;ie++){const s=Et[ie];s&&(s.flags&=-2)}ie=-1,Et.length=0,Lr(),Sn=null,(Et.length||os.length)&&Fr()}}let wt=null,Ir=null;function Tn(t){const e=wt;return wt=t,Ir=t&&t.type.__scopeId||null,e}function wn(t,e=wt,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&Rn(-1);const o=Tn(e);let r;try{r=t(...i)}finally{Tn(o),n._d&&Rn(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Ne(t,e,s,n){const i=t.dirs,o=e&&e.dirs;for(let r=0;r<i.length;r++){const a=i[r];o&&(a.oldValue=o[r].value);let l=a.dir[n];l&&(ee(),Zt(l,s,8,[t.el,a,t,e]),se())}}function Ti(t,e){if(vt){let s=vt.provides;const n=vt.parent&&vt.parent.provides;n===s&&(s=vt.provides=Object.create(n)),s[t]=e}}function Es(t,e,s=!1){const n=Fn();if(n||ls){let i=ls?ls._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return s&&W(e)?e.call(n&&n.proxy):e}}const ud=Symbol.for("v-scx"),fd=()=>Es(ud);function dd(t,e){return wi(t,null,e)}function Pn(t,e,s){return wi(t,e,s)}function wi(t,e,s=rt){const{immediate:n,deep:i,flush:o,once:r}=s,a=mt({},s),l=e&&n||!e&&o!=="post";let u;if($s){if(o==="sync"){const m=fd();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=zt,m.resume=zt,m.pause=zt,m}}const c=vt;a.call=(m,v,b)=>Zt(m,c,v,b);let f=!1;o==="post"?a.scheduler=m=>{Rt(m,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(m,v)=>{v?m():Si(m)}),a.augmentJob=m=>{e&&(m.flags|=4),f&&(m.flags|=2,c&&(m.id=c.uid,m.i=c))};const d=td(t,e,a);return $s&&(u?u.push(d):l&&d()),d}function hd(t,e,s){const n=this.proxy,i=ut(t)?t.includes(".")?jr(n,t):()=>n[t]:t.bind(n,n);let o;W(e)?o=e:(o=e.handler,s=e);const r=ks(this),a=wi(i,o.bind(n),s);return r(),a}function jr(t,e){const s=e.split(".");return()=>{let n=t;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const pd=Symbol("_vte"),kr=t=>t.__isTeleport,oe=Symbol("_leaveCb"),Vs=Symbol("_enterCb");function md(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ci(()=>{t.isMounted=!0}),Ei(()=>{t.isUnmounting=!0}),t}const Nt=[Function,Array],$r={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Nt,onEnter:Nt,onAfterEnter:Nt,onEnterCancelled:Nt,onBeforeLeave:Nt,onLeave:Nt,onAfterLeave:Nt,onLeaveCancelled:Nt,onBeforeAppear:Nt,onAppear:Nt,onAfterAppear:Nt,onAppearCancelled:Nt},Br=t=>{const e=t.subTree;return e.component?Br(e.component):e},gd={name:"BaseTransition",props:$r,setup(t,{slots:e}){const s=Fn(),n=md();return()=>{const i=e.default&&Kr(e.default(),!0);if(!i||!i.length)return;const o=Nr(i),r=Q(t),{mode:a}=r;if(n.isLeaving)return Ai(o);const l=Hr(o);if(!l)return Ai(o);let u=Pi(l,r,n,s,f=>u=f);l.type!==xt&&Ms(l,u);let c=s.subTree&&Hr(s.subTree);if(c&&c.type!==xt&&!He(c,l)&&Br(s).type!==xt){let f=Pi(c,r,n,s);if(Ms(c,f),a==="out-in"&&l.type!==xt)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete f.afterLeave,c=void 0},Ai(o);a==="in-out"&&l.type!==xt?f.delayLeave=(d,m,v)=>{const b=Ur(n,c);b[String(c.key)]=c,d[oe]=()=>{m(),d[oe]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{v(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function Nr(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==xt){e=s;break}}return e}const yd=gd;function Ur(t,e){const{leavingVNodes:s}=t;let n=s.get(e.type);return n||(n=Object.create(null),s.set(e.type,n)),n}function Pi(t,e,s,n,i){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:m,onAfterLeave:v,onLeaveCancelled:b,onBeforeAppear:w,onAppear:C,onAfterAppear:E,onAppearCancelled:P}=e,A=String(t.key),D=Ur(s,t),H=(j,G)=>{j&&Zt(j,n,9,G)},z=(j,G)=>{const it=G[1];H(j,G),U(j)?j.every(F=>F.length<=1)&&it():j.length<=1&&it()},$={mode:r,persisted:a,beforeEnter(j){let G=l;if(!s.isMounted)if(o)G=w||l;else return;j[oe]&&j[oe](!0);const it=D[A];it&&He(t,it)&&it.el[oe]&&it.el[oe](),H(G,[j])},enter(j){if(D[A]===t)return;let G=u,it=c,F=f;if(!s.isMounted)if(o)G=C||u,it=E||c,F=P||f;else return;let lt=!1;j[Vs]=Gt=>{lt||(lt=!0,Gt?H(F,[j]):H(it,[j]),$.delayedLeave&&$.delayedLeave(),j[Vs]=void 0)};const yt=j[Vs].bind(null,!1);G?z(G,[j,yt]):yt()},leave(j,G){const it=String(t.key);if(j[Vs]&&j[Vs](!0),s.isUnmounting)return G();H(d,[j]);let F=!1;j[oe]=yt=>{F||(F=!0,G(),yt?H(b,[j]):H(v,[j]),j[oe]=void 0,D[it]===t&&delete D[it])};const lt=j[oe].bind(null,!1);D[it]=t,m?z(m,[j,lt]):lt()},clone(j){const G=Pi(j,e,s,n,i);return i&&i(G),G}};return $}function Ai(t){if(Cn(t))return t=_e(t),t.children=null,t}function Hr(t){if(!Cn(t))return kr(t.type)&&t.children?Nr(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:s}=t;if(s){if(e&16)return s[0];if(e&32&&W(s.default))return s.default()}}function Ms(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Ms(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Kr(t,e=!1,s){let n=[],i=0;for(let o=0;o<t.length;o++){let r=t[o];const a=s==null?r.key:String(s)+String(r.key!=null?r.key:o);r.type===dt?(r.patchFlag&128&&i++,n=n.concat(Kr(r.children,e,a))):(e||r.type!==xt)&&n.push(a!=null?_e(r,{key:a}):r)}if(i>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}function vd(t,e){return W(t)?mt({name:t.name},e,{setup:t}):t}function Wr(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Gr(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const An=new WeakMap;function Ds(t,e,s,n,i=!1){if(U(t)){t.forEach((b,w)=>Ds(b,e&&(U(e)?e[w]:e),s,n,i));return}if(as(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Ds(t,e,s,n.component.subTree);return}const o=n.shapeFlag&4?Bi(n.component):n.el,r=i?null:o,{i:a,r:l}=t,u=e&&e.r,c=a.refs===rt?a.refs={}:a.refs,f=a.setupState,d=Q(f),m=f===rt?Qo:b=>Gr(c,b)?!1:tt(d,b),v=(b,w)=>!(w&&Gr(c,w));if(u!=null&&u!==l){if(zr(e),ut(u))c[u]=null,m(u)&&(f[u]=null);else if(_t(u)){const b=e;v(u,b.k)&&(u.value=null),b.k&&(c[b.k]=null)}}if(W(l))is(l,a,12,[r,c]);else{const b=ut(l),w=_t(l);if(b||w){const C=()=>{if(t.f){const E=b?m(l)?f[l]:c[l]:v()||!t.k?l.value:c[t.k];if(i)U(E)&&ti(E,o);else if(U(E))E.includes(o)||E.push(o);else if(b)c[l]=[o],m(l)&&(f[l]=c[l]);else{const P=[o];v(l,t.k)&&(l.value=P),t.k&&(c[t.k]=P)}}else b?(c[l]=r,m(l)&&(f[l]=r)):w&&(v(l,t.k)&&(l.value=r),t.k&&(c[t.k]=r))};if(r){const E=()=>{C(),An.delete(t)};E.id=-1,An.set(t,E),Rt(E,s)}else zr(t),C()}}}function zr(t){const e=An.get(t);e&&(e.flags|=8,An.delete(t))}dn().requestIdleCallback,dn().cancelIdleCallback;const as=t=>!!t.type.__asyncLoader,Cn=t=>t.type.__isKeepAlive;function bd(t,e){qr(t,"a",e)}function _d(t,e){qr(t,"da",e)}function qr(t,e,s=vt){const n=t.__wdc||(t.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(En(e,n,s),s){let i=s.parent;for(;i&&i.parent;)Cn(i.parent.vnode)&&xd(n,e,s,i),i=i.parent}}function xd(t,e,s,n){const i=En(e,t,n,!0);Vi(()=>{ti(n[e],i)},s)}function En(t,e,s=vt,n=!1){if(s){const i=s[t]||(s[t]=[]),o=e.__weh||(e.__weh=(...r)=>{ee();const a=ks(s),l=Zt(e,s,t,r);return a(),se(),l});return n?i.unshift(o):i.push(o),o}}const be=t=>(e,s=vt)=>{(!$s||t==="sp")&&En(t,(...n)=>e(...n),s)},Sd=be("bm"),Ci=be("m"),Yr=be("bu"),Xr=be("u"),Ei=be("bum"),Vi=be("um"),Td=be("sp"),wd=be("rtg"),Pd=be("rtc");function Ad(t,e=vt){En("ec",t,e)}const Cd="components",Zr=Symbol.for("v-ndc");function Ed(t){return ut(t)?Vd(Cd,t,!1)||t:t||Zr}function Vd(t,e,s=!0,n=!1){const i=wt||vt;if(i){const o=i.type;{const a=Ra(o,!1);if(a&&(a===e||a===At(e)||a===fn(At(e))))return o}const r=Jr(i[t]||o[t],e)||Jr(i.appContext[t],e);return!r&&n?o:r}}function Jr(t,e){return t&&(t[e]||t[At(e)]||t[fn(At(e))])}function Me(t,e,s,n){let i;const o=s,r=U(t);if(r||ut(t)){const a=r&&$e(t);let l=!1,u=!1;a&&(l=!Bt(t),u=ve(t),t=hn(t)),i=new Array(t.length);for(let c=0,f=t.length;c<f;c++)i[c]=e(l?u?ss(Xt(t[c])):Xt(t[c]):t[c],c,void 0,o)}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=e(a+1,a,void 0,o)}else if(et(t))if(t[Symbol.iterator])i=Array.from(t,(a,l)=>e(a,l,void 0,o));else{const a=Object.keys(t);i=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];i[l]=e(t[c],c,l,o)}}else i=[];return i}function Md(t,e,s={},n,i){if(wt.ce||wt.parent&&as(wt.parent)&&wt.parent.ce){const u=Object.keys(s).length>0;return I(),kt(dt,null,[st("slot",s,n)],u?-2:64)}let o=t[e];o&&o._c&&(o._d=!1),I();const r=o&&Qr(o(s)),a=s.key||r&&r.key,l=kt(dt,{key:(a&&!qt(a)?a:`_${e}`)+(!r&&n?"_fb":"")},r||[],r&&t._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),o&&o._c&&(o._d=!0),l}function Qr(t){return t.some(e=>Is(e)?!(e.type===xt||e.type===dt&&!Qr(e.children)):!0)?t:null}const Mi=t=>t?Va(t)?Bi(t):Mi(t.parent):null,Os=mt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Mi(t.parent),$root:t=>Mi(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>na(t),$forceUpdate:t=>t.f||(t.f=()=>{Si(t.update)}),$nextTick:t=>t.n||(t.n=ad.bind(t.proxy)),$watch:t=>hd.bind(t)}),Di=(t,e)=>t!==rt&&!t.__isScriptSetup&&tt(t,e),Dd={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:o,accessCache:r,type:a,appContext:l}=t;if(e[0]!=="$"){const d=r[e];if(d!==void 0)switch(d){case 1:return n[e];case 2:return i[e];case 4:return s[e];case 3:return o[e]}else{if(Di(n,e))return r[e]=1,n[e];if(i!==rt&&tt(i,e))return r[e]=2,i[e];if(tt(o,e))return r[e]=3,o[e];if(s!==rt&&tt(s,e))return r[e]=4,s[e];Oi&&(r[e]=0)}}const u=Os[e];let c,f;if(u)return e==="$attrs"&&Tt(t.attrs,"get",""),u(t);if((c=a.__cssModules)&&(c=c[e]))return c;if(s!==rt&&tt(s,e))return r[e]=4,s[e];if(f=l.config.globalProperties,tt(f,e))return f[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:o}=t;return Di(i,e)?(i[e]=s,!0):n!==rt&&tt(n,e)?(n[e]=s,!0):tt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:i,props:o,type:r}},a){let l;return!!(s[a]||t!==rt&&a[0]!=="$"&&tt(t,a)||Di(e,a)||tt(o,a)||tt(n,a)||tt(Os,a)||tt(i.config.globalProperties,a)||(l=r.__cssModules)&&l[a])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:tt(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function Od(){return Rd().attrs}function Rd(t){const e=Fn();return e.setupContext||(e.setupContext=Oa(e))}function ta(t){return U(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Oi=!0;function Ld(t){const e=na(t),s=t.proxy,n=t.ctx;Oi=!1,e.beforeCreate&&ea(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:m,updated:v,activated:b,deactivated:w,beforeDestroy:C,beforeUnmount:E,destroyed:P,unmounted:A,render:D,renderTracked:H,renderTriggered:z,errorCaptured:$,serverPrefetch:j,expose:G,inheritAttrs:it,components:F,directives:lt,filters:yt}=e;if(u&&Fd(u,n,null),r)for(const Y in r){const X=r[Y];W(X)&&(n[Y]=X.bind(s))}if(i){const Y=i.call(s,s);et(Y)&&(t.data=vi(Y))}if(Oi=!0,o)for(const Y in o){const X=o[Y],Lt=W(X)?X.bind(s,s):W(X.get)?X.get.bind(s,s):zt,vs=!W(X)&&W(X.set)?X.set.bind(s):zt,Je=bt({get:Lt,set:vs});Object.defineProperty(n,Y,{enumerable:!0,configurable:!0,get:()=>Je.value,set:de=>Je.value=de})}if(a)for(const Y in a)sa(a[Y],n,s,Y);if(l){const Y=W(l)?l.call(s):l;Reflect.ownKeys(Y).forEach(X=>{Ti(X,Y[X])})}c&&ea(c,t,"c");function q(Y,X){U(X)?X.forEach(Lt=>Y(Lt.bind(s))):X&&Y(X.bind(s))}if(q(Sd,f),q(Ci,d),q(Yr,m),q(Xr,v),q(bd,b),q(_d,w),q(Ad,$),q(Pd,H),q(wd,z),q(Ei,E),q(Vi,A),q(Td,j),U(G))if(G.length){const Y=t.exposed||(t.exposed={});G.forEach(X=>{Object.defineProperty(Y,X,{get:()=>s[X],set:Lt=>s[X]=Lt,enumerable:!0})})}else t.exposed||(t.exposed={});D&&t.render===zt&&(t.render=D),it!=null&&(t.inheritAttrs=it),F&&(t.components=F),lt&&(t.directives=lt),j&&Wr(t)}function Fd(t,e,s=zt){U(t)&&(t=Ri(t));for(const n in t){const i=t[n];let o;et(i)?"default"in i?o=Es(i.from||n,i.default,!0):o=Es(i.from||n):o=Es(i),_t(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[n]=o}}function ea(t,e,s){Zt(U(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function sa(t,e,s,n){let i=n.includes(".")?jr(s,n):()=>s[n];if(ut(t)){const o=e[t];W(o)&&Pn(i,o)}else if(W(t))Pn(i,t.bind(s));else if(et(t))if(U(t))t.forEach(o=>sa(o,e,s,n));else{const o=W(t.handler)?t.handler.bind(s):e[t.handler];W(o)&&Pn(i,o,t)}}function na(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:i,optionsCache:o,config:{optionMergeStrategies:r}}=t.appContext,a=o.get(e);let l;return a?l=a:!i.length&&!s&&!n?l=e:(l={},i.length&&i.forEach(u=>Vn(l,u,r,!0)),Vn(l,e,r)),et(e)&&o.set(e,l),l}function Vn(t,e,s,n=!1){const{mixins:i,extends:o}=e;o&&Vn(t,o,s,!0),i&&i.forEach(r=>Vn(t,r,s,!0));for(const r in e)if(!(n&&r==="expose")){const a=Id[r]||s&&s[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const Id={data:ia,props:oa,emits:oa,methods:Rs,computed:Rs,beforeCreate:Vt,created:Vt,beforeMount:Vt,mounted:Vt,beforeUpdate:Vt,updated:Vt,beforeDestroy:Vt,beforeUnmount:Vt,destroyed:Vt,unmounted:Vt,activated:Vt,deactivated:Vt,errorCaptured:Vt,serverPrefetch:Vt,components:Rs,directives:Rs,watch:kd,provide:ia,inject:jd};function ia(t,e){return e?t?function(){return mt(W(t)?t.call(this,this):t,W(e)?e.call(this,this):e)}:e:t}function jd(t,e){return Rs(Ri(t),Ri(e))}function Ri(t){if(U(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function Vt(t,e){return t?[...new Set([].concat(t,e))]:e}function Rs(t,e){return t?mt(Object.create(null),t,e):e}function oa(t,e){return t?U(t)&&U(e)?[...new Set([...t,...e])]:mt(Object.create(null),ta(t),ta(e??{})):e}function kd(t,e){if(!t)return e;if(!e)return t;const s=mt(Object.create(null),t);for(const n in e)s[n]=Vt(t[n],e[n]);return s}function ra(){return{app:null,config:{isNativeTag:Qo,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 $d=0;function Bd(t,e){return function(n,i=null){W(n)||(n=mt({},n)),i!=null&&!et(i)&&(i=null);const o=ra(),r=new WeakSet,a=[];let l=!1;const u=o.app={_uid:$d++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:vh,get config(){return o.config},set config(c){},use(c,...f){return r.has(c)||(c&&W(c.install)?(r.add(c),c.install(u,...f)):W(c)&&(r.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,d){if(!l){const m=u._ceVNode||st(n,i);return m.appContext=o,d===!0?d="svg":d===!1&&(d=void 0),t(m,c,d),l=!0,u._container=c,c.__vue_app__=u,Bi(m.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Zt(a,u._instance,16),t(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=ls;ls=u;try{return c()}finally{ls=f}}};return u}}let ls=null;const Nd=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${At(e)}Modifiers`]||t[`${je(e)}Modifiers`];function Ud(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||rt;let i=s;const o=e.startsWith("update:"),r=o&&Nd(n,e.slice(7));r&&(r.trim&&(i=s.map(c=>ut(c)?c.trim():c)),r.number&&(i=s.map(yf)));let a,l=n[a=si(e)]||n[a=si(At(e))];!l&&o&&(l=n[a=si(je(e))]),l&&Zt(l,t,6,i);const u=n[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Zt(u,t,6,i)}}const Hd=new WeakMap;function aa(t,e,s=!1){const n=s?Hd:e.emitsCache,i=n.get(t);if(i!==void 0)return i;const o=t.emits;let r={},a=!1;if(!W(t)){const l=u=>{const c=aa(u,e,!0);c&&(a=!0,mt(r,c))};!s&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(et(t)&&n.set(t,null),null):(U(o)?o.forEach(l=>r[l]=null):mt(r,o),et(t)&&n.set(t,r),r)}function Mn(t,e){return!t||!cn(e)?!1:(e=e.slice(2).replace(/Once$/,""),tt(t,e[0].toLowerCase()+e.slice(1))||tt(t,je(e))||tt(t,e))}function Hb(){}function la(t){const{type:e,vnode:s,proxy:n,withProxy:i,propsOptions:[o],slots:r,attrs:a,emit:l,render:u,renderCache:c,props:f,data:d,setupState:m,ctx:v,inheritAttrs:b}=t,w=Tn(t);let C,E;try{if(s.shapeFlag&4){const A=i||n,D=Ee.NODE_ENV!=="production"&&m.__isScriptSetup?new Proxy(A,{get(H,z,$){return ed(`Property '${String(z)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(H,z,$)}}):A;C=re(u.call(D,A,c,Ee.NODE_ENV!=="production"?yn(f):f,m,d,v)),E=a}else{const A=e;Ee.NODE_ENV,C=re(A.length>1?A(Ee.NODE_ENV!=="production"?yn(f):f,Ee.NODE_ENV!=="production"?{get attrs(){return yn(a)},slots:r,emit:l}:{attrs:a,slots:r,emit:l}):A(Ee.NODE_ENV!=="production"?yn(f):f,null)),E=e.props?a:Kd(a)}}catch(A){Ls.length=0,xn(A,t,1),C=st(xt)}let P=C;if(E&&b!==!1){const A=Object.keys(E),{shapeFlag:D}=P;A.length&&D&7&&(o&&A.some(Qn)&&(E=Wd(E,o)),P=_e(P,E,!1,!0))}return s.dirs&&(P=_e(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(s.dirs):s.dirs),s.transition&&Ms(P,s.transition),C=P,Tn(w),C}const Kd=t=>{let e;for(const s in t)(s==="class"||s==="style"||cn(s))&&((e||(e={}))[s]=t[s]);return e},Wd=(t,e)=>{const s={};for(const n in t)(!Qn(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function Gd(t,e,s){const{props:n,children:i,component:o}=t,{props:r,children:a,patchFlag:l}=e,u=o.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&l>=0){if(l&1024)return!0;if(l&16)return n?ca(n,r,u):!!r;if(l&8){const c=e.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(ua(r,n,d)&&!Mn(u,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:n===r?!1:n?r?ca(n,r,u):!0:!!r;return!1}function ca(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let i=0;i<n.length;i++){const o=n[i];if(ua(e,t,o)&&!Mn(s,o))return!0}return!1}function ua(t,e,s){const n=t[s],i=e[s];return s==="style"&&et(n)&&et(i)?!oi(n,i):n!==i}function zd({vnode:t,parent:e},s){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.el=t.el),n===t)(t=e.vnode).el=s,e=e.parent;else break}}const fa={},da=()=>Object.create(fa),ha=t=>Object.getPrototypeOf(t)===fa;function qd(t,e,s,n=!1){const i={},o=da();t.propsDefaults=Object.create(null),pa(t,e,i,o);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);s?t.props=n?i:Gf(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function Yd(t,e,s,n){const{props:i,attrs:o,vnode:{patchFlag:r}}=t,a=Q(i),[l]=t.propsOptions;let u=!1;if((n||r>0)&&!(r&16)){if(r&8){const c=t.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(Mn(t.emitsOptions,d))continue;const m=e[d];if(l)if(tt(o,d))m!==o[d]&&(o[d]=m,u=!0);else{const v=At(d);i[v]=Li(l,a,v,m,t,!1)}else m!==o[d]&&(o[d]=m,u=!0)}}}else{pa(t,e,i,o)&&(u=!0);let c;for(const f in a)(!e||!tt(e,f)&&((c=je(f))===f||!tt(e,c)))&&(l?s&&(s[f]!==void 0||s[c]!==void 0)&&(i[f]=Li(l,a,f,void 0,t,!0)):delete i[f]);if(o!==a)for(const f in o)(!e||!tt(e,f))&&(delete o[f],u=!0)}u&&ge(t.attrs,"set","")}function pa(t,e,s,n){const[i,o]=t.propsOptions;let r=!1,a;if(e)for(let l in e){if(_s(l))continue;const u=e[l];let c;i&&tt(i,c=At(l))?!o||!o.includes(c)?s[c]=u:(a||(a={}))[c]=u:Mn(t.emitsOptions,l)||(!(l in n)||u!==n[l])&&(n[l]=u,r=!0)}if(o){const l=Q(s),u=a||rt;for(let c=0;c<o.length;c++){const f=o[c];s[f]=Li(i,l,f,u[f],t,!tt(u,f))}}return r}function Li(t,e,s,n,i,o){const r=t[s];if(r!=null){const a=tt(r,"default");if(a&&n===void 0){const l=r.default;if(r.type!==Function&&!r.skipFactory&&W(l)){const{propsDefaults:u}=i;if(s in u)n=u[s];else{const c=ks(i);n=u[s]=l.call(null,e),c()}}else n=l;i.ce&&i.ce._setProp(s,n)}r[0]&&(o&&!a?n=!1:r[1]&&(n===""||n===je(s))&&(n=!0))}return n}const Xd=new WeakMap;function ma(t,e,s=!1){const n=s?Xd:e.propsCache,i=n.get(t);if(i)return i;const o=t.props,r={},a=[];let l=!1;if(!W(t)){const c=f=>{l=!0;const[d,m]=ma(f,e,!0);mt(r,d),m&&a.push(...m)};!s&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!o&&!l)return et(t)&&n.set(t,Qe),Qe;if(U(o))for(let c=0;c<o.length;c++){const f=At(o[c]);ga(f)&&(r[f]=rt)}else if(o)for(const c in o){const f=At(c);if(ga(f)){const d=o[c],m=r[f]=U(d)||W(d)?{type:d}:mt({},d),v=m.type;let b=!1,w=!0;if(U(v))for(let C=0;C<v.length;++C){const E=v[C],P=W(E)&&E.name;if(P==="Boolean"){b=!0;break}else P==="String"&&(w=!1)}else b=W(v)&&v.name==="Boolean";m[0]=b,m[1]=w,(b||tt(m,"default"))&&a.push(f)}}const u=[r,a];return et(t)&&n.set(t,u),u}function ga(t){return t[0]!=="$"&&!_s(t)}const Fi=t=>t==="_"||t==="_ctx"||t==="$stable",Ii=t=>U(t)?t.map(re):[re(t)],Zd=(t,e,s)=>{if(e._n)return e;const n=wn((...i)=>(Ee.NODE_ENV!=="production"&&vt&&!(s===null&&wt)&&(s&&(s.root,vt.root)),Ii(e(...i))),s);return n._c=!1,n},ya=(t,e,s)=>{const n=t._ctx;for(const i in t){if(Fi(i))continue;const o=t[i];if(W(o))e[i]=Zd(i,o,n);else if(o!=null){const r=Ii(o);e[i]=()=>r}}},va=(t,e)=>{const s=Ii(e);t.slots.default=()=>s},ba=(t,e,s)=>{for(const n in e)(s||!Fi(n))&&(t[n]=e[n])},Jd=(t,e,s)=>{const n=t.slots=da();if(t.vnode.shapeFlag&32){const i=e._;i?(ba(n,e,s),s&&or(n,"_",i,!0)):ya(e,n)}else e&&va(t,e)},Qd=(t,e,s)=>{const{vnode:n,slots:i}=t;let o=!0,r=rt;if(n.shapeFlag&32){const a=e._;a?s&&a===1?o=!1:ba(i,e,s):(o=!e.$stable,ya(e,i)),r=e}else e&&(va(t,e),r={default:1});if(o)for(const a in i)!Fi(a)&&r[a]==null&&delete i[a]},Rt=ih;function th(t){return eh(t)}function eh(t,e){const s=dn();s.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:r,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:m=zt,insertStaticContent:v}=t,b=(h,p,y,T=null,_=null,x=null,O=void 0,M=null,V=!!p.dynamicChildren)=>{if(h===p)return;h&&!He(h,p)&&(T=Jn(h),de(h,_,x,!0),h=null),p.patchFlag===-2&&(V=!1,p.dynamicChildren=null);const{type:S,ref:N,shapeFlag:R}=p;switch(S){case Dn:w(h,p,y,T);break;case xt:C(h,p,y,T);break;case On:h==null&&E(p,y,T,O);break;case dt:F(h,p,y,T,_,x,O,M,V);break;default:R&1?D(h,p,y,T,_,x,O,M,V):R&6?lt(h,p,y,T,_,x,O,M,V):(R&64||R&128)&&S.process(h,p,y,T,_,x,O,M,V,an)}N!=null&&_?Ds(N,h&&h.ref,x,p||h,!p):N==null&&h&&h.ref!=null&&Ds(h.ref,null,x,h,!0)},w=(h,p,y,T)=>{if(h==null)n(p.el=a(p.children),y,T);else{const _=p.el=h.el;p.children!==h.children&&u(_,p.children)}},C=(h,p,y,T)=>{h==null?n(p.el=l(p.children||""),y,T):p.el=h.el},E=(h,p,y,T)=>{[h.el,h.anchor]=v(h.children,p,y,T,h.el,h.anchor)},P=({el:h,anchor:p},y,T)=>{let _;for(;h&&h!==p;)_=d(h),n(h,y,T),h=_;n(p,y,T)},A=({el:h,anchor:p})=>{let y;for(;h&&h!==p;)y=d(h),i(h),h=y;i(p)},D=(h,p,y,T,_,x,O,M,V)=>{if(p.type==="svg"?O="svg":p.type==="math"&&(O="mathml"),h==null)H(p,y,T,_,x,O,M,V);else{const S=h.el&&h.el._isVueCE?h.el:null;try{S&&S._beginPatch(),j(h,p,_,x,O,M,V)}finally{S&&S._endPatch()}}},H=(h,p,y,T,_,x,O,M)=>{let V,S;const{props:N,shapeFlag:R,transition:k,dirs:K}=h;if(V=h.el=r(h.type,x,N&&N.is,N),R&8?c(V,h.children):R&16&&$(h.children,V,null,T,_,ji(h,x),O,M),K&&Ne(h,null,T,"created"),z(V,h,h.scopeId,O,T),N){for(const ct in N)ct!=="value"&&!_s(ct)&&o(V,ct,null,N[ct],x,T);"value"in N&&o(V,"value",null,N.value,x),(S=N.onVnodeBeforeMount)&&ae(S,T,h)}K&&Ne(h,null,T,"beforeMount");const Z=sh(_,k);Z&&k.beforeEnter(V),n(V,p,y),((S=N&&N.onVnodeMounted)||Z||K)&&Rt(()=>{S&&ae(S,T,h),Z&&k.enter(V),K&&Ne(h,null,T,"mounted")},_)},z=(h,p,y,T,_)=>{if(y&&m(h,y),T)for(let x=0;x<T.length;x++)m(h,T[x]);if(_){let x=_.subTree;if(p===x||wa(x.type)&&(x.ssContent===p||x.ssFallback===p)){const O=_.vnode;z(h,O,O.scopeId,O.slotScopeIds,_.parent)}}},$=(h,p,y,T,_,x,O,M,V=0)=>{for(let S=V;S<h.length;S++){const N=h[S]=M?xe(h[S]):re(h[S]);b(null,N,p,y,T,_,x,O,M)}},j=(h,p,y,T,_,x,O)=>{const M=p.el=h.el;let{patchFlag:V,dynamicChildren:S,dirs:N}=p;V|=h.patchFlag&16;const R=h.props||rt,k=p.props||rt;let K;if(y&&Ue(y,!1),(K=k.onVnodeBeforeUpdate)&&ae(K,y,p,h),N&&Ne(p,h,y,"beforeUpdate"),y&&Ue(y,!0),(R.innerHTML&&k.innerHTML==null||R.textContent&&k.textContent==null)&&c(M,""),S?G(h.dynamicChildren,S,M,y,T,ji(p,_),x):O||X(h,p,M,null,y,T,ji(p,_),x,!1),V>0){if(V&16)it(M,R,k,y,_);else if(V&2&&R.class!==k.class&&o(M,"class",null,k.class,_),V&4&&o(M,"style",R.style,k.style,_),V&8){const Z=p.dynamicProps;for(let ct=0;ct<Z.length;ct++){const ot=Z[ct],Ft=R[ot],It=k[ot];(It!==Ft||ot==="value")&&o(M,ot,Ft,It,_,y)}}V&1&&h.children!==p.children&&c(M,p.children)}else!O&&S==null&&it(M,R,k,y,_);((K=k.onVnodeUpdated)||N)&&Rt(()=>{K&&ae(K,y,p,h),N&&Ne(p,h,y,"updated")},T)},G=(h,p,y,T,_,x,O)=>{for(let M=0;M<p.length;M++){const V=h[M],S=p[M],N=V.el&&(V.type===dt||!He(V,S)||V.shapeFlag&198)?f(V.el):y;b(V,S,N,null,T,_,x,O,!0)}},it=(h,p,y,T,_)=>{if(p!==y){if(p!==rt)for(const x in p)!_s(x)&&!(x in y)&&o(h,x,p[x],null,_,T);for(const x in y){if(_s(x))continue;const O=y[x],M=p[x];O!==M&&x!=="value"&&o(h,x,M,O,_,T)}"value"in y&&o(h,"value",p.value,y.value,_)}},F=(h,p,y,T,_,x,O,M,V)=>{const S=p.el=h?h.el:a(""),N=p.anchor=h?h.anchor:a("");let{patchFlag:R,dynamicChildren:k,slotScopeIds:K}=p;K&&(M=M?M.concat(K):K),h==null?(n(S,y,T),n(N,y,T),$(p.children||[],y,N,_,x,O,M,V)):R>0&&R&64&&k&&h.dynamicChildren&&h.dynamicChildren.length===k.length?(G(h.dynamicChildren,k,y,_,x,O,M),(p.key!=null||_&&p===_.subTree)&&_a(h,p,!0)):X(h,p,y,N,_,x,O,M,V)},lt=(h,p,y,T,_,x,O,M,V)=>{p.slotScopeIds=M,h==null?p.shapeFlag&512?_.ctx.activate(p,y,T,O,V):yt(p,y,T,_,x,O,V):Gt(h,p,V)},yt=(h,p,y,T,_,x,O)=>{const M=h.component=fh(h,T,_);if(Cn(h)&&(M.ctx.renderer=an),dh(M,!1,O),M.asyncDep){if(_&&_.registerDep(M,q,O),!h.el){const V=M.subTree=st(xt);C(null,V,p,y),h.placeholder=V.el}}else q(M,h,p,y,_,x,O)},Gt=(h,p,y)=>{const T=p.component=h.component;if(Gd(h,p,y))if(T.asyncDep&&!T.asyncResolved){Y(T,p,y);return}else T.next=p,T.update();else p.el=h.el,T.vnode=p},q=(h,p,y,T,_,x,O)=>{const M=()=>{if(h.isMounted){let{next:R,bu:k,u:K,parent:Z,vnode:ct}=h;{const pe=xa(h);if(pe){R&&(R.el=ct.el,Y(h,R,O)),pe.asyncDep.then(()=>{Rt(()=>{h.isUnmounted||S()},_)});return}}let ot=R,Ft;Ue(h,!1),R?(R.el=ct.el,Y(h,R,O)):R=ct,k&&ni(k),(Ft=R.props&&R.props.onVnodeBeforeUpdate)&&ae(Ft,Z,R,ct),Ue(h,!0);const It=la(h),he=h.subTree;h.subTree=It,b(he,It,f(he.el),Jn(he),h,_,x),R.el=It.el,ot===null&&zd(h,It.el),K&&Rt(K,_),(Ft=R.props&&R.props.onVnodeUpdated)&&Rt(()=>ae(Ft,Z,R,ct),_)}else{let R;const{el:k,props:K}=p,{bm:Z,m:ct,parent:ot,root:Ft,type:It}=h,he=as(p);Ue(h,!1),Z&&ni(Z),!he&&(R=K&&K.onVnodeBeforeMount)&&ae(R,ot,p),Ue(h,!0);{Ft.ce&&Ft.ce._hasShadowRoot()&&Ft.ce._injectChildStyle(It,h.parent?h.parent.type:void 0);const pe=h.subTree=la(h);b(null,pe,y,T,h,_,x),p.el=pe.el}if(ct&&Rt(ct,_),!he&&(R=K&&K.onVnodeMounted)){const pe=p;Rt(()=>ae(R,ot,pe),_)}(p.shapeFlag&256||ot&&as(ot.vnode)&&ot.vnode.shapeFlag&256)&&h.a&&Rt(h.a,_),h.isMounted=!0,p=y=T=null}};h.scope.on();const V=h.effect=new ur(M);h.scope.off();const S=h.update=V.run.bind(V),N=h.job=V.runIfDirty.bind(V);N.i=h,N.id=h.uid,V.scheduler=()=>Si(N),Ue(h,!0),S()},Y=(h,p,y)=>{p.component=h;const T=h.vnode.props;h.vnode=p,h.next=null,Yd(h,p.props,T,y),Qd(h,p.children,y),ee(),Rr(h),se()},X=(h,p,y,T,_,x,O,M,V=!1)=>{const S=h&&h.children,N=h?h.shapeFlag:0,R=p.children,{patchFlag:k,shapeFlag:K}=p;if(k>0){if(k&128){vs(S,R,y,T,_,x,O,M,V);return}else if(k&256){Lt(S,R,y,T,_,x,O,M,V);return}}K&8?(N&16&&rn(S,_,x),R!==S&&c(y,R)):N&16?K&16?vs(S,R,y,T,_,x,O,M,V):rn(S,_,x,!0):(N&8&&c(y,""),K&16&&$(R,y,T,_,x,O,M,V))},Lt=(h,p,y,T,_,x,O,M,V)=>{h=h||Qe,p=p||Qe;const S=h.length,N=p.length,R=Math.min(S,N);let k;for(k=0;k<R;k++){const K=p[k]=V?xe(p[k]):re(p[k]);b(h[k],K,y,null,_,x,O,M,V)}S>N?rn(h,_,x,!0,!1,R):$(p,y,T,_,x,O,M,V,R)},vs=(h,p,y,T,_,x,O,M,V)=>{let S=0;const N=p.length;let R=h.length-1,k=N-1;for(;S<=R&&S<=k;){const K=h[S],Z=p[S]=V?xe(p[S]):re(p[S]);if(He(K,Z))b(K,Z,y,null,_,x,O,M,V);else break;S++}for(;S<=R&&S<=k;){const K=h[R],Z=p[k]=V?xe(p[k]):re(p[k]);if(He(K,Z))b(K,Z,y,null,_,x,O,M,V);else break;R--,k--}if(S>R){if(S<=k){const K=k+1,Z=K<N?p[K].el:T;for(;S<=k;)b(null,p[S]=V?xe(p[S]):re(p[S]),y,Z,_,x,O,M,V),S++}}else if(S>k)for(;S<=R;)de(h[S],_,x,!0),S++;else{const K=S,Z=S,ct=new Map;for(S=Z;S<=k;S++){const $t=p[S]=V?xe(p[S]):re(p[S]);$t.key!=null&&ct.set($t.key,S)}let ot,Ft=0;const It=k-Z+1;let he=!1,pe=0;const ln=new Array(It);for(S=0;S<It;S++)ln[S]=0;for(S=K;S<=R;S++){const $t=h[S];if(Ft>=It){de($t,_,x,!0);continue}let me;if($t.key!=null)me=ct.get($t.key);else for(ot=Z;ot<=k;ot++)if(ln[ot-Z]===0&&He($t,p[ot])){me=ot;break}me===void 0?de($t,_,x,!0):(ln[me-Z]=S+1,me>=pe?pe=me:he=!0,b($t,p[me],y,null,_,x,O,M,V),Ft++)}const uf=he?nh(ln):Qe;for(ot=uf.length-1,S=It-1;S>=0;S--){const $t=Z+S,me=p[$t],ff=p[$t+1],df=$t+1<N?ff.el||Ta(ff):T;ln[S]===0?b(null,me,y,df,_,x,O,M,V):he&&(ot<0||S!==uf[ot]?Je(me,y,df,2):ot--)}}},Je=(h,p,y,T,_=null)=>{const{el:x,type:O,transition:M,children:V,shapeFlag:S}=h;if(S&6){Je(h.component.subTree,p,y,T);return}if(S&128){h.suspense.move(p,y,T);return}if(S&64){O.move(h,p,y,an);return}if(O===dt){n(x,p,y);for(let R=0;R<V.length;R++)Je(V[R],p,y,T);n(h.anchor,p,y);return}if(O===On){P(h,p,y);return}if(T!==2&&S&1&&M)if(T===0)M.beforeEnter(x),n(x,p,y),Rt(()=>M.enter(x),_);else{const{leave:R,delayLeave:k,afterLeave:K}=M,Z=()=>{h.ctx.isUnmounted?i(x):n(x,p,y)},ct=()=>{x._isLeaving&&x[oe](!0),R(x,()=>{Z(),K&&K()})};k?k(x,Z,ct):ct()}else n(x,p,y)},de=(h,p,y,T=!1,_=!1)=>{const{type:x,props:O,ref:M,children:V,dynamicChildren:S,shapeFlag:N,patchFlag:R,dirs:k,cacheIndex:K}=h;if(R===-2&&(_=!1),M!=null&&(ee(),Ds(M,null,y,h,!0),se()),K!=null&&(p.renderCache[K]=void 0),N&256){p.ctx.deactivate(h);return}const Z=N&1&&k,ct=!as(h);let ot;if(ct&&(ot=O&&O.onVnodeBeforeUnmount)&&ae(ot,p,h),N&6)Nb(h.component,y,T);else{if(N&128){h.suspense.unmount(y,T);return}Z&&Ne(h,null,p,"beforeUnmount"),N&64?h.type.remove(h,p,y,an,T):S&&!S.hasOnce&&(x!==dt||R>0&&R&64)?rn(S,p,y,!1,!0):(x===dt&&R&384||!_&&N&16)&&rn(V,p,y),T&&lf(h)}(ct&&(ot=O&&O.onVnodeUnmounted)||Z)&&Rt(()=>{ot&&ae(ot,p,h),Z&&Ne(h,null,p,"unmounted")},y)},lf=h=>{const{type:p,el:y,anchor:T,transition:_}=h;if(p===dt){Bb(y,T);return}if(p===On){A(h);return}const x=()=>{i(y),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(h.shapeFlag&1&&_&&!_.persisted){const{leave:O,delayLeave:M}=_,V=()=>O(y,x);M?M(h.el,x,V):V()}else x()},Bb=(h,p)=>{let y;for(;h!==p;)y=d(h),i(h),h=y;i(p)},Nb=(h,p,y)=>{const{bum:T,scope:_,job:x,subTree:O,um:M,m:V,a:S}=h;Sa(V),Sa(S),T&&ni(T),_.stop(),x&&(x.flags|=8,de(O,h,p,y)),M&&Rt(M,p),Rt(()=>{h.isUnmounted=!0},p)},rn=(h,p,y,T=!1,_=!1,x=0)=>{for(let O=x;O<h.length;O++)de(h[O],p,y,T,_)},Jn=h=>{if(h.shapeFlag&6)return Jn(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const p=d(h.anchor||h.el),y=p&&p[pd];return y?d(y):p};let Jo=!1;const cf=(h,p,y)=>{let T;h==null?p._vnode&&(de(p._vnode,null,null,!0),T=p._vnode.component):b(p._vnode||null,h,p,null,null,null,y),p._vnode=h,Jo||(Jo=!0,Rr(T),Lr(),Jo=!1)},an={p:b,um:de,m:Je,r:lf,mt:yt,mc:$,pc:X,pbc:G,n:Jn,o:t};return{render:cf,hydrate:void 0,createApp:Bd(cf)}}function ji({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function Ue({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function sh(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function _a(t,e,s=!1){const n=t.children,i=e.children;if(U(n)&&U(i))for(let o=0;o<n.length;o++){const r=n[o];let a=i[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[o]=xe(i[o]),a.el=r.el),!s&&a.patchFlag!==-2&&_a(r,a)),a.type===Dn&&(a.patchFlag===-1&&(a=i[o]=xe(a)),a.el=r.el),a.type===xt&&!a.el&&(a.el=r.el)}}function nh(t){const e=t.slice(),s=[0];let n,i,o,r,a;const l=t.length;for(n=0;n<l;n++){const u=t[n];if(u!==0){if(i=s[s.length-1],t[i]<u){e[n]=i,s.push(n);continue}for(o=0,r=s.length-1;o<r;)a=o+r>>1,t[s[a]]<u?o=a+1:r=a;u<t[s[o]]&&(o>0&&(e[n]=s[o-1]),s[o]=n)}}for(o=s.length,r=s[o-1];o-- >0;)s[o]=r,r=e[r];return s}function xa(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:xa(e)}function Sa(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Ta(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Ta(e.subTree):null}const wa=t=>t.__isSuspense;function ih(t,e){e&&e.pendingBranch?U(t)?e.effects.push(...t):e.effects.push(t):cd(t)}const dt=Symbol.for("v-fgt"),Dn=Symbol.for("v-txt"),xt=Symbol.for("v-cmt"),On=Symbol.for("v-stc"),Ls=[];let jt=null;function I(t=!1){Ls.push(jt=t?null:[])}function oh(){Ls.pop(),jt=Ls[Ls.length-1]||null}let Fs=1;function Rn(t,e=!1){Fs+=t,t<0&&jt&&e&&(jt.hasOnce=!0)}function Pa(t){return t.dynamicChildren=Fs>0?jt||Qe:null,oh(),Fs>0&&jt&&jt.push(t),t}function B(t,e,s,n,i,o){return Pa(g(t,e,s,n,i,o,!0))}function kt(t,e,s,n,i){return Pa(st(t,e,s,n,i,!0))}function Is(t){return t?t.__v_isVNode===!0:!1}function He(t,e){return t.type===e.type&&t.key===e.key}const Aa=({key:t})=>t??null,Ln=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?ut(t)||_t(t)||W(t)?{i:wt,r:t,k:e,f:!!s}:t:null);function g(t,e=null,s=null,n=0,i=null,o=t===dt?0:1,r=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Aa(e),ref:e&&Ln(e),scopeId:Ir,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:wt};return a?(ki(l,s),o&128&&t.normalize(l)):s&&(l.shapeFlag|=ut(s)?8:16),Fs>0&&!r&&jt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&jt.push(l),l}const st=rh;function rh(t,e=null,s=null,n=0,i=null,o=!1){if((!t||t===Zr)&&(t=xt),Is(t)){const a=_e(t,e,!0);return s&&ki(a,s),Fs>0&&!o&&jt&&(a.shapeFlag&6?jt[jt.indexOf(t)]=a:jt.push(a)),a.patchFlag=-2,a}if(yh(t)&&(t=t.__vccOpts),e){e=ah(e);let{class:a,style:l}=e;a&&!ut(a)&&(e.class=Ct(a)),et(l)&&(_i(l)&&!U(l)&&(l=mt({},l)),e.style=ii(l))}const r=ut(t)?1:wa(t)?128:kr(t)?64:et(t)?4:W(t)?2:0;return g(t,e,s,n,i,r,o,!0)}function ah(t){return t?_i(t)||ha(t)?mt({},t):t:null}function _e(t,e,s=!1,n=!1){const{props:i,ref:o,patchFlag:r,children:a,transition:l}=t,u=e?Ca(i||{},e):i,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Aa(u),ref:e&&e.ref?s&&o?U(o)?o.concat(Ln(e)):[o,Ln(e)]:Ln(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==dt?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&_e(t.ssContent),ssFallback:t.ssFallback&&_e(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&n&&Ms(c,l.clone(c)),c}function js(t=" ",e=0){return st(Dn,null,t,e)}function lh(t,e){const s=st(On,null,t);return s.staticCount=e,s}function Ut(t="",e=!1){return e?(I(),kt(xt,null,t)):st(xt,null,t)}function re(t){return t==null||typeof t=="boolean"?st(xt):U(t)?st(dt,null,t.slice()):Is(t)?xe(t):st(Dn,null,String(t))}function xe(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:_e(t)}function ki(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(U(e))s=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),ki(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!ha(e)?e._ctx=wt:i===3&&wt&&(wt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else W(e)?(e={default:e,_ctx:wt},s=32):(e=String(e),n&64?(s=16,e=[js(e)]):s=8);t.children=e,t.shapeFlag|=s}function Ca(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const i in n)if(i==="class")e.class!==n.class&&(e.class=Ct([e.class,n.class]));else if(i==="style")e.style=ii([e.style,n.style]);else if(cn(i)){const o=e[i],r=n[i];r&&o!==r&&!(U(o)&&o.includes(r))&&(e[i]=o?[].concat(o,r):r)}else i!==""&&(e[i]=n[i])}return e}function ae(t,e,s,n=null){Zt(t,e,7,[s,n])}const ch=ra();let uh=0;function fh(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||ch,o={uid:uh++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Af(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(i.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ma(n,i),emitsOptions:aa(n,i),emit:null,emitted:null,propsDefaults:rt,inheritAttrs:n.inheritAttrs,ctx:rt,data:rt,props:rt,attrs:rt,slots:rt,refs:rt,setupState:rt,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=e?e.root:o,o.emit=Ud.bind(null,o),t.ce&&t.ce(o),o}let vt=null;const Fn=()=>vt||wt;let In,$i;{const t=dn(),e=(s,n)=>{let i;return(i=t[s])||(i=t[s]=[]),i.push(n),o=>{i.length>1?i.forEach(r=>r(o)):i[0](o)}};In=e("__VUE_INSTANCE_SETTERS__",s=>vt=s),$i=e("__VUE_SSR_SETTERS__",s=>$s=s)}const ks=t=>{const e=vt;return In(t),t.scope.on(),()=>{t.scope.off(),In(e)}},Ea=()=>{vt&&vt.scope.off(),In(null)};function Va(t){return t.vnode.shapeFlag&4}let $s=!1;function dh(t,e=!1,s=!1){e&&$i(e);const{props:n,children:i}=t.vnode,o=Va(t);qd(t,n,o,e),Jd(t,i,s||e);const r=o?hh(t,e):void 0;return e&&$i(!1),r}function hh(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Dd);const{setup:n}=s;if(n){ee();const i=t.setupContext=n.length>1?Oa(t):null,o=ks(t),r=is(n,t,0,[t.props,i]),a=sr(r);if(se(),o(),(a||t.sp)&&!as(t)&&Wr(t),a){if(r.then(Ea,Ea),e)return r.then(l=>{Ma(t,l)}).catch(l=>{xn(l,t,0)});t.asyncDep=r}else Ma(t,r)}else Da(t)}function Ma(t,e,s){W(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:et(e)&&(t.setupState=Vr(e)),Da(t)}function Da(t,e,s){const n=t.type;t.render||(t.render=n.render||zt);{const i=ks(t);ee();try{Ld(t)}finally{se(),i()}}}const ph={get(t,e){return Tt(t,"get",""),t[e]}};function Oa(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,ph),slots:t.slots,emit:t.emit,expose:e}}function Bi(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Vr(zf(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Os)return Os[s](t)},has(e,s){return s in e||s in Os}})):t.proxy}const mh=/(?:^|[-_])\w/g,gh=t=>t.replace(mh,e=>e.toUpperCase()).replace(/[-_]/g,"");function Ra(t,e=!0){return W(t)?t.displayName||t.name:t.name||e&&t.__name}function La(t,e,s=!1){let n=Ra(e);if(!n&&e.__file){const i=e.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&t){const i=o=>{for(const r in o)if(o[r]===e)return r};n=i(t.components)||t.parent&&i(t.parent.type.components)||i(t.appContext.components)}return n?gh(n):s?"App":"Anonymous"}function yh(t){return W(t)&&"__vccOpts"in t}const bt=(t,e)=>Jf(t,e,$s);function Ni(t,e,s){try{Rn(-1);const n=arguments.length;return n===2?et(e)&&!U(e)?Is(e)?st(t,null,[e]):st(t,e):st(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Is(s)&&(s=[s]),st(t,e,s))}finally{Rn(1)}}const vh="3.5.30";let Ui;const Fa=typeof window<"u"&&window.trustedTypes;if(Fa)try{Ui=Fa.createPolicy("vue",{createHTML:t=>t})}catch{}const Ia=Ui?t=>Ui.createHTML(t):t=>t,bh="http://www.w3.org/2000/svg",_h="http://www.w3.org/1998/Math/MathML",Se=typeof document<"u"?document:null,ja=Se&&Se.createElement("template"),xh={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const i=e==="svg"?Se.createElementNS(bh,t):e==="mathml"?Se.createElementNS(_h,t):s?Se.createElement(t,{is:s}):Se.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>Se.createTextNode(t),createComment:t=>Se.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Se.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,i,o){const r=s?s.previousSibling:e.lastChild;if(i&&(i===o||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),s),!(i===o||!(i=i.nextSibling)););else{ja.innerHTML=Ia(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const a=ja.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,s)}return[r?r.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},De="transition",Bs="animation",Ns=Symbol("_vtc"),ka={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},Sh=mt({},$r,ka),Th=(t=>(t.displayName="Transition",t.props=Sh,t))((t,{slots:e})=>Ni(yd,wh(t),e)),Ke=(t,e=[])=>{U(t)?t.forEach(s=>s(...e)):t&&t(...e)},$a=t=>t?U(t)?t.some(e=>e.length>1):t.length>1:!1;function wh(t){const e={};for(const F in t)F in ka||(e[F]=t[F]);if(t.css===!1)return e;const{name:s="v",type:n,duration:i,enterFromClass:o=`${s}-enter-from`,enterActiveClass:r=`${s}-enter-active`,enterToClass:a=`${s}-enter-to`,appearFromClass:l=o,appearActiveClass:u=r,appearToClass:c=a,leaveFromClass:f=`${s}-leave-from`,leaveActiveClass:d=`${s}-leave-active`,leaveToClass:m=`${s}-leave-to`}=t,v=Ph(i),b=v&&v[0],w=v&&v[1],{onBeforeEnter:C,onEnter:E,onEnterCancelled:P,onLeave:A,onLeaveCancelled:D,onBeforeAppear:H=C,onAppear:z=E,onAppearCancelled:$=P}=e,j=(F,lt,yt,Gt)=>{F._enterCancelled=Gt,We(F,lt?c:a),We(F,lt?u:r),yt&&yt()},G=(F,lt)=>{F._isLeaving=!1,We(F,f),We(F,m),We(F,d),lt&<()},it=F=>(lt,yt)=>{const Gt=F?z:E,q=()=>j(lt,F,yt);Ke(Gt,[lt,q]),Ba(()=>{We(lt,F?l:o),Te(lt,F?c:a),$a(Gt)||Na(lt,n,b,q)})};return mt(e,{onBeforeEnter(F){Ke(C,[F]),Te(F,o),Te(F,r)},onBeforeAppear(F){Ke(H,[F]),Te(F,l),Te(F,u)},onEnter:it(!1),onAppear:it(!0),onLeave(F,lt){F._isLeaving=!0;const yt=()=>G(F,lt);Te(F,f),F._enterCancelled?(Te(F,d),Ka(F)):(Ka(F),Te(F,d)),Ba(()=>{F._isLeaving&&(We(F,f),Te(F,m),$a(A)||Na(F,n,w,yt))}),Ke(A,[F,yt])},onEnterCancelled(F){j(F,!1,void 0,!0),Ke(P,[F])},onAppearCancelled(F){j(F,!0,void 0,!0),Ke($,[F])},onLeaveCancelled(F){G(F),Ke(D,[F])}})}function Ph(t){if(t==null)return null;if(et(t))return[Hi(t.enter),Hi(t.leave)];{const e=Hi(t);return[e,e]}}function Hi(t){return vf(t)}function Te(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[Ns]||(t[Ns]=new Set)).add(e)}function We(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const s=t[Ns];s&&(s.delete(e),s.size||(t[Ns]=void 0))}function Ba(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Ah=0;function Na(t,e,s,n){const i=t._endId=++Ah,o=()=>{i===t._endId&&n()};if(s!=null)return setTimeout(o,s);const{type:r,timeout:a,propCount:l}=Ch(t,e);if(!r)return n();const u=r+"end";let c=0;const f=()=>{t.removeEventListener(u,d),o()},d=m=>{m.target===t&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),t.addEventListener(u,d)}function Ch(t,e){const s=window.getComputedStyle(t),n=v=>(s[v]||"").split(", "),i=n(`${De}Delay`),o=n(`${De}Duration`),r=Ua(i,o),a=n(`${Bs}Delay`),l=n(`${Bs}Duration`),u=Ua(a,l);let c=null,f=0,d=0;e===De?r>0&&(c=De,f=r,d=o.length):e===Bs?u>0&&(c=Bs,f=u,d=l.length):(f=Math.max(r,u),c=f>0?r>u?De:Bs:null,d=c?c===De?o.length:l.length:0);const m=c===De&&/\b(?:transform|all)(?:,|$)/.test(n(`${De}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:m}}function Ua(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((s,n)=>Ha(s)+Ha(t[n])))}function Ha(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Ka(t){return(t?t.ownerDocument:document).body.offsetHeight}function Eh(t,e,s){const n=t[Ns];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const Wa=Symbol("_vod"),Vh=Symbol("_vsh"),Mh=Symbol(""),Dh=/(?:^|;)\s*display\s*:/;function Oh(t,e,s){const n=t.style,i=ut(s);let o=!1;if(s&&!i){if(e)if(ut(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&jn(n,a,"")}else for(const r in e)s[r]==null&&jn(n,r,"");for(const r in s)r==="display"&&(o=!0),jn(n,r,s[r])}else if(i){if(e!==s){const r=n[Mh];r&&(s+=";"+r),n.cssText=s,o=Dh.test(s)}}else e&&t.removeAttribute("style");Wa in t&&(t[Wa]=o?n.display:"",t[Vh]&&(n.display="none"))}const Ga=/\s*!important$/;function jn(t,e,s){if(U(s))s.forEach(n=>jn(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=Rh(t,e);Ga.test(s)?t.setProperty(je(n),s.replace(Ga,""),"important"):t[n]=s}}const za=["Webkit","Moz","ms"],Ki={};function Rh(t,e){const s=Ki[e];if(s)return s;let n=At(e);if(n!=="filter"&&n in t)return Ki[e]=n;n=fn(n);for(let i=0;i<za.length;i++){const o=za[i]+n;if(o in t)return Ki[e]=o}return e}const qa="http://www.w3.org/1999/xlink";function Ya(t,e,s,n,i,o=Tf(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(qa,e.slice(6,e.length)):t.setAttributeNS(qa,e,s):s==null||o&&!ar(s)?t.removeAttribute(e):t.setAttribute(e,o?"":qt(s)?String(s):s)}function Xa(t,e,s,n,i){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?Ia(s):s);return}const o=t.tagName;if(e==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?t.getAttribute("value")||"":t.value,l=s==null?t.type==="checkbox"?"on":"":String(s);(a!==l||!("_value"in t))&&(t.value=l),s==null&&t.removeAttribute(e),t._value=s;return}let r=!1;if(s===""||s==null){const a=typeof t[e];a==="boolean"?s=ar(s):s==null&&a==="string"?(s="",r=!0):a==="number"&&(s=0,r=!0)}try{t[e]=s}catch{}r&&t.removeAttribute(i||e)}function Lh(t,e,s,n){t.addEventListener(e,s,n)}function Fh(t,e,s,n){t.removeEventListener(e,s,n)}const Za=Symbol("_vei");function Ih(t,e,s,n,i=null){const o=t[Za]||(t[Za]={}),r=o[e];if(n&&r)r.value=n;else{const[a,l]=jh(e);if(n){const u=o[e]=Bh(n,i);Lh(t,a,u,l)}else r&&(Fh(t,a,r,l),o[e]=void 0)}}const Ja=/(?:Once|Passive|Capture)$/;function jh(t){let e;if(Ja.test(t)){e={};let n;for(;n=t.match(Ja);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):je(t.slice(2)),e]}let Wi=0;const kh=Promise.resolve(),$h=()=>Wi||(kh.then(()=>Wi=0),Wi=Date.now());function Bh(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Zt(Nh(n,s.value),e,5,[n])};return s.value=t,s.attached=$h(),s}function Nh(t,e){if(U(e)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},e.map(n=>i=>!i._stopped&&n&&n(i))}else return e}const Qa=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Uh=(t,e,s,n,i,o)=>{const r=i==="svg";e==="class"?Eh(t,n,r):e==="style"?Oh(t,s,n):cn(e)?Qn(e)||Ih(t,e,s,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Hh(t,e,n,r))?(Xa(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Ya(t,e,n,r,o,e!=="value")):t._isVueCE&&(Kh(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!ut(n)))?Xa(t,At(e),n,o,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Ya(t,e,n,r))};function Hh(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&Qa(e)&&W(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const i=t.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Qa(e)&&ut(s)?!1:e in t}function Kh(t,e){const s=t._def.props;if(!s)return!1;const n=At(e);return Array.isArray(s)?s.some(i=>At(i)===n):Object.keys(s).some(i=>At(i)===n)}const Wh=mt({patchProp:Uh},xh);let tl;function Gh(){return tl||(tl=th(Wh))}const el=((...t)=>{const e=Gh().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=qh(n);if(!i)return;const o=e._component;!W(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const r=s(i,!1,zh(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},e});function zh(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function qh(t){return ut(t)?document.querySelector(t):t}const Yh={class:"slds-p-around_medium slds-theme_shade slds-text-align_center slds-text-body_small slds-mt-auto"},Xh={class:"slds-grid slds-grid_align-spread slds-wrap"},Zh={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},Jh={key:0,class:"slds-text-color_weak"},Qh={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},tp={class:"slds-text-color_weak"},ep={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},sp={class:"slds-text-color_weak"},np={__name:"FooterLayout",props:{description:{type:String,default:""},generatedAt:{type:String,default:()=>new Date().toISOString()},schemaCount:{type:Number,default:0}},setup(t){function e(s){return new Date(s).toLocaleString()}return(s,n)=>(I(),B("footer",Yh,[g("div",Xh,[g("div",Zh,[t.description?(I(),B("span",Jh,J(t.description),1)):Ut("",!0)]),g("div",Qh,[g("span",tp,J(t.schemaCount)+" schema"+J(t.schemaCount!==1?"s":"")+" documented ",1)]),g("div",ep,[g("span",sp," Generated at: "+J(e(t.generatedAt)),1)])])]))}},sl="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='100'%20width='100'%20viewBox='0%200%201000%201000'%20fill='%23fff'%3e%3cpath%20d='M738%20200H262c-34%200-62%2028-62%2062v476c0%2034%2028%2062%2062%2062h476c34%200%2062-28%2062-62V262c0-34-28-62-62-62m-455%2062h434c11%200%2021%209%2021%2021v39H262v-39c0-12%209-21%2021-21m434%20476H283c-11%200-21-9-21-21V382h476v335c0%2012-9%2021-21%2021M467%20633l-66-66%2066-66c4-4%204-10%200-14l-28-28c-4-4-10-4-14%200l-73%2073-15%2015-13%2013c-2%202-3%205-3%207%200%203%201%205%203%207l102%20102c4%204%2010%204%2014%200l28-28c3-5%203-11-1-15m210-74-13-13-15-15-73-73c-4-4-10-4-14%200l-28%2028c-4%204-4%2010%200%2014l66%2066-66%2066c-4%204-4%2010%200%2014l28%2028c4%204%2010%204%2014%200l102-102c2-2%203-5%203-7z'/%3e%3c/svg%3e",ip={class:"slds-page-header"},op={class:"slds-page-header__row"},rp={class:"slds-page-header__col-title"},ap={class:"slds-media"},lp={class:"slds-media__body"},cp={class:"slds-page-header__name"},up={class:"slds-page-header__name-title"},fp=["title"],dp={__name:"HeaderLayout",props:{title:{type:String,default:"JSON Schema Documentation"}},setup(t){return(e,s)=>(I(),B("header",ip,[g("div",op,[g("div",rp,[g("div",ap,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:sl,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",lp,[g("div",cp,[g("div",up,[g("h1",{class:"slds-page-header__title slds-truncate",title:t.title},J(t.title),9,fp)])])])])])])]))}};function Us(t,e){const s=typeof t=="string"&&!e?`${t}Context`:e,n=Symbol(s);return[r=>{const a=Es(n,r);if(a===void 0)throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`);return a},r=>(Ti(n,r),r),n]}function hp(t,e){const{layoutGroup:s,presenceContext:n,config:i}=e,o=s.id&&t.layoutId?`${s.id}-${t.layoutId}`:t.layoutId||void 0;return{...t,layoutId:o,transition:t.transition??i.transition,layoutGroup:s,motionConfig:i,inViewOptions:t.inViewOptions??i.inViewOptions,presenceContext:n,initial:n.initial===!1?n.initial:t.initial===!0?void 0:t.initial}}function Gi(t,e){t.indexOf(e)===-1&&t.push(e)}function kn(t,e){const s=t.indexOf(e);s>-1&&t.splice(s,1)}const le=(t,e,s)=>s>e?e:s<t?t:s;let zi=()=>{};const we={},nl=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function il(t){return typeof t=="object"&&t!==null}const ol=t=>/^0[^.\s]+$/u.test(t);function rl(t){let e;return()=>(e===void 0&&(e=t()),e)}const Ht=t=>t,pp=(t,e)=>s=>e(t(s)),Hs=(...t)=>t.reduce(pp),Ks=(t,e,s)=>{const n=e-t;return n===0?1:(s-t)/n};class qi{constructor(){this.subscriptions=[]}add(e){return Gi(this.subscriptions,e),()=>kn(this.subscriptions,e)}notify(e,s,n){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,s,n);else for(let o=0;o<i;o++){const r=this.subscriptions[o];r&&r(e,s,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const ce=t=>t*1e3,Kt=t=>t/1e3;function al(t,e){return e?t*(1e3/e):0}const ll=(t,e,s)=>(((1-3*s+3*e)*t+(3*s-6*e))*t+3*e)*t,mp=1e-7,gp=12;function yp(t,e,s,n,i){let o,r,a=0;do r=e+(s-e)/2,o=ll(r,n,i)-t,o>0?s=r:e=r;while(Math.abs(o)>mp&&++a<gp);return r}function Ws(t,e,s,n){if(t===e&&s===n)return Ht;const i=o=>yp(o,0,1,t,s);return o=>o===0||o===1?o:ll(i(o),e,n)}const cl=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ul=t=>e=>1-t(1-e),fl=Ws(.33,1.53,.69,.99),Yi=ul(fl),dl=cl(Yi),hl=t=>(t*=2)<1?.5*Yi(t):.5*(2-Math.pow(2,-10*(t-1))),Xi=t=>1-Math.sin(Math.acos(t)),pl=ul(Xi),ml=cl(Xi),vp=Ws(.42,0,1,1),bp=Ws(0,0,.58,1),gl=Ws(.42,0,.58,1),_p=t=>Array.isArray(t)&&typeof t[0]!="number",yl=t=>Array.isArray(t)&&typeof t[0]=="number",xp={linear:Ht,easeIn:vp,easeInOut:gl,easeOut:bp,circIn:Xi,circInOut:ml,circOut:pl,backIn:Yi,backInOut:dl,backOut:fl,anticipate:hl},Sp=t=>typeof t=="string",vl=t=>{if(yl(t)){zi(t.length===4);const[e,s,n,i]=t;return Ws(e,s,n,i)}else if(Sp(t))return xp[t];return t},$n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Tp(t,e){let s=new Set,n=new Set,i=!1,o=!1;const r=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function l(c){r.has(c)&&(u.schedule(c),t()),c(a)}const u={schedule:(c,f=!1,d=!1)=>{const v=d&&i?s:n;return f&&r.add(c),v.has(c)||v.add(c),c},cancel:c=>{n.delete(c),r.delete(c)},process:c=>{if(a=c,i){o=!0;return}i=!0,[s,n]=[n,s],s.forEach(l),s.clear(),i=!1,o&&(o=!1,u.process(c))}};return u}const wp=40;function bl(t,e){let s=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>s=!0,r=$n.reduce((P,A)=>(P[A]=Tp(o),P),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:d,render:m,postRender:v}=r,b=()=>{const P=we.useManualTiming?i.timestamp:performance.now();s=!1,we.useManualTiming||(i.delta=n?1e3/60:Math.max(Math.min(P-i.timestamp,wp),1)),i.timestamp=P,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),d.process(i),m.process(i),v.process(i),i.isProcessing=!1,s&&e&&(n=!1,t(b))},w=()=>{s=!0,n=!0,i.isProcessing||t(b)};return{schedule:$n.reduce((P,A)=>{const D=r[A];return P[A]=(H,z=!1,$=!1)=>(s||w(),D.schedule(H,z,$)),P},{}),cancel:P=>{for(let A=0;A<$n.length;A++)r[$n[A]].cancel(P)},state:i,steps:r}}const{schedule:nt,cancel:Oe,state:St,steps:Zi}=bl(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ht,!0);let Bn;function Pp(){Bn=void 0}const Mt={now:()=>(Bn===void 0&&Mt.set(St.isProcessing||we.useManualTiming?St.timestamp:performance.now()),Bn),set:t=>{Bn=t,queueMicrotask(Pp)}},_l=t=>e=>typeof e=="string"&&e.startsWith(t),Ji=_l("--"),Ap=_l("var(--"),Qi=t=>Ap(t)?Cp.test(t.split("/*")[0].trim()):!1,Cp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function xl(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const cs={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Gs={...cs,transform:t=>le(0,1,t)},Nn={...cs,default:1},zs=t=>Math.round(t*1e5)/1e5,to=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Ep(t){return t==null}const Vp=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,eo=(t,e)=>s=>!!(typeof s=="string"&&Vp.test(s)&&s.startsWith(t)||e&&!Ep(s)&&Object.prototype.hasOwnProperty.call(s,e)),Sl=(t,e,s)=>n=>{if(typeof n!="string")return n;const[i,o,r,a]=n.match(to);return{[t]:parseFloat(i),[e]:parseFloat(o),[s]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},Mp=t=>le(0,255,t),so={...cs,transform:t=>Math.round(Mp(t))},Ge={test:eo("rgb","red"),parse:Sl("red","green","blue"),transform:({red:t,green:e,blue:s,alpha:n=1})=>"rgba("+so.transform(t)+", "+so.transform(e)+", "+so.transform(s)+", "+zs(Gs.transform(n))+")"};function Dp(t){let e="",s="",n="",i="";return t.length>5?(e=t.substring(1,3),s=t.substring(3,5),n=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),s=t.substring(2,3),n=t.substring(3,4),i=t.substring(4,5),e+=e,s+=s,n+=n,i+=i),{red:parseInt(e,16),green:parseInt(s,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}const no={test:eo("#"),parse:Dp,transform:Ge.transform},qs=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Re=qs("deg"),ue=qs("%"),L=qs("px"),Op=qs("vh"),Rp=qs("vw"),Tl={...ue,parse:t=>ue.parse(t)/100,transform:t=>ue.transform(t*100)},us={test:eo("hsl","hue"),parse:Sl("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:s,alpha:n=1})=>"hsla("+Math.round(t)+", "+ue.transform(zs(e))+", "+ue.transform(zs(s))+", "+zs(Gs.transform(n))+")"},pt={test:t=>Ge.test(t)||no.test(t)||us.test(t),parse:t=>Ge.test(t)?Ge.parse(t):us.test(t)?us.parse(t):no.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Ge.transform(t):us.transform(t),getAnimatableNone:t=>{const e=pt.parse(t);return e.alpha=0,pt.transform(e)}},Lp=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Fp(t){return isNaN(t)&&typeof t=="string"&&(t.match(to)?.length||0)+(t.match(Lp)?.length||0)>0}const wl="number",Pl="color",Ip="var",jp="var(",Al="${}",kp=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ys(t){const e=t.toString(),s=[],n={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(kp,l=>(pt.test(l)?(n.color.push(o),i.push(Pl),s.push(pt.parse(l))):l.startsWith(jp)?(n.var.push(o),i.push(Ip),s.push(l)):(n.number.push(o),i.push(wl),s.push(parseFloat(l))),++o,Al)).split(Al);return{values:s,split:a,indexes:n,types:i}}function Cl(t){return Ys(t).values}function El(t){const{split:e,types:s}=Ys(t),n=e.length;return i=>{let o="";for(let r=0;r<n;r++)if(o+=e[r],i[r]!==void 0){const a=s[r];a===wl?o+=zs(i[r]):a===Pl?o+=pt.transform(i[r]):o+=i[r]}return o}}const $p=t=>typeof t=="number"?0:pt.test(t)?pt.getAnimatableNone(t):t;function Bp(t){const e=Cl(t);return El(t)(e.map($p))}const Jt={test:Fp,parse:Cl,createTransformer:El,getAnimatableNone:Bp};function io(t,e,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?t+(e-t)*6*s:s<1/2?e:s<2/3?t+(e-t)*(2/3-s)*6:t}function Np({hue:t,saturation:e,lightness:s,alpha:n}){t/=360,e/=100,s/=100;let i=0,o=0,r=0;if(!e)i=o=r=s;else{const a=s<.5?s*(1+e):s+e-s*e,l=2*s-a;i=io(l,a,t+1/3),o=io(l,a,t),r=io(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:n}}function Un(t,e){return s=>s>0?e:t}const ft=(t,e,s)=>t+(e-t)*s,oo=(t,e,s)=>{const n=t*t,i=s*(e*e-n)+n;return i<0?0:Math.sqrt(i)},Up=[no,Ge,us],Hp=t=>Up.find(e=>e.test(t));function Vl(t){const e=Hp(t);if(!e)return!1;let s=e.parse(t);return e===us&&(s=Np(s)),s}const Ml=(t,e)=>{const s=Vl(t),n=Vl(e);if(!s||!n)return Un(t,e);const i={...s};return o=>(i.red=oo(s.red,n.red,o),i.green=oo(s.green,n.green,o),i.blue=oo(s.blue,n.blue,o),i.alpha=ft(s.alpha,n.alpha,o),Ge.transform(i))},ro=new Set(["none","hidden"]);function Kp(t,e){return ro.has(t)?s=>s<=0?t:e:s=>s>=1?e:t}function Wp(t,e){return s=>ft(t,e,s)}function ao(t){return typeof t=="number"?Wp:typeof t=="string"?Qi(t)?Un:pt.test(t)?Ml:qp:Array.isArray(t)?Dl:typeof t=="object"?pt.test(t)?Ml:Gp:Un}function Dl(t,e){const s=[...t],n=s.length,i=t.map((o,r)=>ao(o)(o,e[r]));return o=>{for(let r=0;r<n;r++)s[r]=i[r](o);return s}}function Gp(t,e){const s={...t,...e},n={};for(const i in s)t[i]!==void 0&&e[i]!==void 0&&(n[i]=ao(t[i])(t[i],e[i]));return i=>{for(const o in n)s[o]=n[o](i);return s}}function zp(t,e){const s=[],n={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const o=e.types[i],r=t.indexes[o][n[o]],a=t.values[r]??0;s[i]=a,n[o]++}return s}const qp=(t,e)=>{const s=Jt.createTransformer(e),n=Ys(t),i=Ys(e);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?ro.has(t)&&!i.values.length||ro.has(e)&&!n.values.length?Kp(t,e):Hs(Dl(zp(n,i),i.values),s):Un(t,e)};function Ol(t,e,s){return typeof t=="number"&&typeof e=="number"&&typeof s=="number"?ft(t,e,s):ao(t)(t,e)}const Yp=t=>{const e=({timestamp:s})=>t(s);return{start:(s=!0)=>nt.update(e,s),stop:()=>Oe(e),now:()=>St.isProcessing?St.timestamp:Mt.now()}},Rl=(t,e,s=10)=>{let n="";const i=Math.max(Math.round(e/s),2);for(let o=0;o<i;o++)n+=Math.round(t(o/(i-1))*1e4)/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},Hn=2e4;function lo(t){let e=0;const s=50;let n=t.next(e);for(;!n.done&&e<Hn;)e+=s,n=t.next(e);return e>=Hn?1/0:e}function Xp(t,e=100,s){const n=s({...t,keyframes:[0,e]}),i=Math.min(lo(n),Hn);return{type:"keyframes",ease:o=>n.next(i*o).value/e,duration:Kt(i)}}const Zp=5;function Ll(t,e,s){const n=Math.max(e-Zp,0);return al(s-t(n),e-n)}const ht={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},co=.001;function Jp({duration:t=ht.duration,bounce:e=ht.bounce,velocity:s=ht.velocity,mass:n=ht.mass}){let i,o,r=1-e;r=le(ht.minDamping,ht.maxDamping,r),t=le(ht.minDuration,ht.maxDuration,Kt(t)),r<1?(i=u=>{const c=u*r,f=c*t,d=c-s,m=uo(u,r),v=Math.exp(-f);return co-d/m*v},o=u=>{const f=u*r*t,d=f*s+s,m=Math.pow(r,2)*Math.pow(u,2)*t,v=Math.exp(-f),b=uo(Math.pow(u,2),r);return(-i(u)+co>0?-1:1)*((d-m)*v)/b}):(i=u=>{const c=Math.exp(-u*t),f=(u-s)*t+1;return-co+c*f},o=u=>{const c=Math.exp(-u*t),f=(s-u)*(t*t);return c*f});const a=5/t,l=tm(i,o,a);if(t=ce(t),isNaN(l))return{stiffness:ht.stiffness,damping:ht.damping,duration:t};{const u=Math.pow(l,2)*n;return{stiffness:u,damping:r*2*Math.sqrt(n*u),duration:t}}}const Qp=12;function tm(t,e,s){let n=s;for(let i=1;i<Qp;i++)n=n-t(n)/e(n);return n}function uo(t,e){return t*Math.sqrt(1-e*e)}const em=["duration","bounce"],sm=["stiffness","damping","mass"];function Fl(t,e){return e.some(s=>t[s]!==void 0)}function nm(t){let e={velocity:ht.velocity,stiffness:ht.stiffness,damping:ht.damping,mass:ht.mass,isResolvedFromDuration:!1,...t};if(!Fl(t,sm)&&Fl(t,em))if(e.velocity=0,t.visualDuration){const s=t.visualDuration,n=2*Math.PI/(s*1.2),i=n*n,o=2*le(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:ht.mass,stiffness:i,damping:o}}else{const s=Jp({...t,velocity:0});e={...e,...s,mass:ht.mass},e.isResolvedFromDuration=!0}return e}function Kn(t=ht.visualDuration,e=ht.bounce){const s=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:n,restDelta:i}=s;const o=s.keyframes[0],r=s.keyframes[s.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:f,velocity:d,isResolvedFromDuration:m}=nm({...s,velocity:-Kt(s.velocity||0)}),v=d||0,b=u/(2*Math.sqrt(l*c)),w=r-o,C=Kt(Math.sqrt(l/c)),E=Math.abs(w)<5;n||(n=E?ht.restSpeed.granular:ht.restSpeed.default),i||(i=E?ht.restDelta.granular:ht.restDelta.default);let P;if(b<1){const D=uo(C,b);P=H=>{const z=Math.exp(-b*C*H);return r-z*((v+b*C*w)/D*Math.sin(D*H)+w*Math.cos(D*H))}}else if(b===1)P=D=>r-Math.exp(-C*D)*(w+(v+C*w)*D);else{const D=C*Math.sqrt(b*b-1);P=H=>{const z=Math.exp(-b*C*H),$=Math.min(D*H,300);return r-z*((v+b*C*w)*Math.sinh($)+D*w*Math.cosh($))/D}}const A={calculatedDuration:m&&f||null,next:D=>{const H=P(D);if(m)a.done=D>=f;else{let z=D===0?v:0;b<1&&(z=D===0?ce(v):Ll(P,D,H));const $=Math.abs(z)<=n,j=Math.abs(r-H)<=i;a.done=$&&j}return a.value=a.done?r:H,a},toString:()=>{const D=Math.min(lo(A),Hn),H=Rl(z=>A.next(D*z).value,D,30);return D+"ms "+H},toTransition:()=>{}};return A}Kn.applyToOptions=t=>{const e=Xp(t,100,Kn);return t.ease=e.ease,t.duration=ce(e.duration),t.type="keyframes",t};function fo({keyframes:t,velocity:e=0,power:s=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:u=.5,restSpeed:c}){const f=t[0],d={done:!1,value:f},m=$=>a!==void 0&&$<a||l!==void 0&&$>l,v=$=>a===void 0?l:l===void 0||Math.abs(a-$)<Math.abs(l-$)?a:l;let b=s*e;const w=f+b,C=r===void 0?w:r(w);C!==w&&(b=C-f);const E=$=>-b*Math.exp(-$/n),P=$=>C+E($),A=$=>{const j=E($),G=P($);d.done=Math.abs(j)<=u,d.value=d.done?C:G};let D,H;const z=$=>{m(d.value)&&(D=$,H=Kn({keyframes:[d.value,v(d.value)],velocity:Ll(P,$,d.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return z(0),{calculatedDuration:null,next:$=>{let j=!1;return!H&&D===void 0&&(j=!0,A($),z($)),D!==void 0&&$>=D?H.next($-D):(!j&&A($),d)}}}function im(t,e,s){const n=[],i=s||we.mix||Ol,o=t.length-1;for(let r=0;r<o;r++){let a=i(t[r],t[r+1]);if(e){const l=Array.isArray(e)?e[r]||Ht:e;a=Hs(l,a)}n.push(a)}return n}function om(t,e,{clamp:s=!0,ease:n,mixer:i}={}){const o=t.length;if(zi(o===e.length),o===1)return()=>e[0];if(o===2&&e[0]===e[1])return()=>e[1];const r=t[0]===t[1];t[0]>t[o-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=im(e,n,i),l=a.length,u=c=>{if(r&&c<t[0])return e[0];let f=0;if(l>1)for(;f<t.length-2&&!(c<t[f+1]);f++);const d=Ks(t[f],t[f+1],c);return a[f](d)};return s?c=>u(le(t[0],t[o-1],c)):u}function rm(t,e){const s=t[t.length-1];for(let n=1;n<=e;n++){const i=Ks(0,e,n);t.push(ft(s,1,i))}}function am(t){const e=[0];return rm(e,t.length-1),e}function lm(t,e){return t.map(s=>s*e)}function cm(t,e){return t.map(()=>e||gl).splice(0,t.length-1)}function Xs({duration:t=300,keyframes:e,times:s,ease:n="easeInOut"}){const i=_p(n)?n.map(vl):vl(n),o={done:!1,value:e[0]},r=lm(s&&s.length===e.length?s:am(e),t),a=om(r,e,{ease:Array.isArray(i)?i:cm(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const um=t=>t!==null;function ho(t,{repeat:e,repeatType:s="loop"},n,i=1){const o=t.filter(um),a=i<0||e&&s!=="loop"&&e%2===1?0:o.length-1;return!a||n===void 0?o[a]:n}const fm={decay:fo,inertia:fo,tween:Xs,keyframes:Xs,spring:Kn};function Il(t){typeof t.type=="string"&&(t.type=fm[t.type])}class po{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,s){return this.finished.then(e,s)}}const dm=t=>t/100;class mo extends po{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==Mt.now()&&this.tick(Mt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;Il(e);const{type:s=Xs,repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=e;let{keyframes:a}=e;const l=s||Xs;l!==Xs&&typeof a[0]!="number"&&(this.mixKeyframes=Hs(dm,Ol(a[0],a[1])),a=[0,100]);const u=l({...e,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...a].reverse(),velocity:-r})),u.calculatedDuration===null&&(u.calculatedDuration=lo(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=u}updateTime(e){const s=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(e,s=!1){const{generator:n,totalDuration:i,mixKeyframes:o,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return n.next(0);const{delay:u=0,keyframes:c,repeat:f,repeatType:d,repeatDelay:m,type:v,onUpdate:b,finalKeyframe:w}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),s?this.currentTime=e:this.updateTime(e);const C=this.currentTime-u*(this.playbackSpeed>=0?1:-1),E=this.playbackSpeed>=0?C<0:C>i;this.currentTime=Math.max(C,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let P=this.currentTime,A=n;if(f){const $=Math.min(this.currentTime,i)/a;let j=Math.floor($),G=$%1;!G&&$>=1&&(G=1),G===1&&j--,j=Math.min(j,f+1),j%2&&(d==="reverse"?(G=1-G,m&&(G-=m/a)):d==="mirror"&&(A=r)),P=le(0,1,G)*a}const D=E?{done:!1,value:c[0]}:A.next(P);o&&(D.value=o(D.value));let{done:H}=D;!E&&l!==null&&(H=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const z=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&H);return z&&v!==fo&&(D.value=ho(c,this.options,w,this.speed)),b&&b(D.value),z&&this.finish(),D}then(e,s){return this.finished.then(e,s)}get duration(){return Kt(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Kt(e)}get time(){return Kt(this.currentTime)}set time(e){e=ce(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(Mt.now());const s=this.playbackSpeed!==e;this.playbackSpeed=e,s&&(this.time=Kt(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=Yp,startTime:s}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),this.options.onPlay?.();const n=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=s??n),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Mt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function hm(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const ze=t=>t*180/Math.PI,go=t=>{const e=ze(Math.atan2(t[1],t[0]));return yo(e)},pm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:go,rotateZ:go,skewX:t=>ze(Math.atan(t[1])),skewY:t=>ze(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},yo=t=>(t=t%360,t<0&&(t+=360),t),jl=go,kl=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),$l=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),mm={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:kl,scaleY:$l,scale:t=>(kl(t)+$l(t))/2,rotateX:t=>yo(ze(Math.atan2(t[6],t[5]))),rotateY:t=>yo(ze(Math.atan2(-t[2],t[0]))),rotateZ:jl,rotate:jl,skewX:t=>ze(Math.atan(t[4])),skewY:t=>ze(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function vo(t){return t.includes("scale")?1:0}function bo(t,e){if(!t||t==="none")return vo(e);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,i;if(s)n=mm,i=s;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=pm,i=a}if(!i)return vo(e);const o=n[e],r=i[1].split(",").map(ym);return typeof o=="function"?o(r):r[o]}const gm=(t,e)=>{const{transform:s="none"}=getComputedStyle(t);return bo(s,e)};function ym(t){return parseFloat(t.trim())}const fs=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ds=new Set(fs),Bl=t=>t===cs||t===L,vm=new Set(["x","y","z"]),bm=fs.filter(t=>!vm.has(t));function _m(t){const e=[];return bm.forEach(s=>{const n=t.getValue(s);n!==void 0&&(e.push([s,n.get()]),n.set(s.startsWith("scale")?1:0))}),e}const Le={width:({x:t},{paddingLeft:e="0",paddingRight:s="0"})=>t.max-t.min-parseFloat(e)-parseFloat(s),height:({y:t},{paddingTop:e="0",paddingBottom:s="0"})=>t.max-t.min-parseFloat(e)-parseFloat(s),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>bo(e,"x"),y:(t,{transform:e})=>bo(e,"y")};Le.translateX=Le.x,Le.translateY=Le.y;const qe=new Set;let _o=!1,xo=!1,So=!1;function Nl(){if(xo){const t=Array.from(qe).filter(n=>n.needsMeasurement),e=new Set(t.map(n=>n.element)),s=new Map;e.forEach(n=>{const i=_m(n);i.length&&(s.set(n,i),n.render())}),t.forEach(n=>n.measureInitialState()),e.forEach(n=>{n.render();const i=s.get(n);i&&i.forEach(([o,r])=>{n.getValue(o)?.set(r)})}),t.forEach(n=>n.measureEndState()),t.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}xo=!1,_o=!1,qe.forEach(t=>t.complete(So)),qe.clear()}function Ul(){qe.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(xo=!0)})}function xm(){So=!0,Ul(),Nl(),So=!1}class To{constructor(e,s,n,i,o,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=s,this.name=n,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(qe.add(this),_o||(_o=!0,nt.read(Ul),nt.resolveKeyframes(Nl))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:s,element:n,motionValue:i}=this;if(e[0]===null){const o=i?.get(),r=e[e.length-1];if(o!==void 0)e[0]=o;else if(n&&s){const a=n.readValue(s,r);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=r),i&&o===void 0&&i.set(e[0])}hm(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),qe.delete(this)}cancel(){this.state==="scheduled"&&(qe.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Sm=t=>t.startsWith("--");function Tm(t,e,s){Sm(e)?t.style.setProperty(e,s):t.style[e]=s}const wm={};function Hl(t,e){const s=rl(t);return()=>wm[e]??s()}const Pm=Hl(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Kl=Hl(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Zs=([t,e,s,n])=>`cubic-bezier(${t}, ${e}, ${s}, ${n})`,Wl={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Zs([0,.65,.55,1]),circOut:Zs([.55,0,1,.45]),backIn:Zs([.31,.01,.66,-.59]),backOut:Zs([.33,1.53,.69,.99])};function Gl(t,e){if(t)return typeof t=="function"?Kl()?Rl(t,e):"ease-out":yl(t)?Zs(t):Array.isArray(t)?t.map(s=>Gl(s,e)||Wl.easeOut):Wl[t]}function Am(t,e,s,{delay:n=0,duration:i=300,repeat:o=0,repeatType:r="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[e]:s};l&&(c.offset=l);const f=Gl(a,i);Array.isArray(f)&&(c.easing=f);const d={delay:n,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"};return u&&(d.pseudoElement=u),t.animate(c,d)}function zl(t){return typeof t=="function"&&"applyToOptions"in t}function Cm({type:t,...e}){return zl(t)&&Kl()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class ql extends po{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:s,name:n,keyframes:i,pseudoElement:o,allowFlatten:r=!1,finalKeyframe:a,onComplete:l}=e;this.isPseudoElement=!!o,this.allowFlatten=r,this.options=e,zi(typeof e.type!="string");const u=Cm(e);this.animation=Am(s,n,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=ho(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):Tm(s,n,c),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return Kt(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+Kt(e)}get time(){return Kt(Number(this.animation.currentTime)||0)}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ce(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,observe:s}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Pm()?(this.animation.timeline=e,Ht):s(this)}}const Yl={anticipate:hl,backInOut:dl,circInOut:ml};function Em(t){return t in Yl}function Vm(t){typeof t.ease=="string"&&Em(t.ease)&&(t.ease=Yl[t.ease])}const wo=10;class Mm extends ql{constructor(e){Vm(e),Il(e),super(e),e.startTime!==void 0&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:s,onUpdate:n,onComplete:i,element:o,...r}=this.options;if(!s)return;if(e!==void 0){s.set(e);return}const a=new mo({...r,autoplay:!1}),l=Math.max(wo,Mt.now()-this.startTime),u=le(0,wo,l-wo);s.setWithVelocity(a.sample(Math.max(0,l-u)).value,a.sample(l).value,u),a.stop()}}const Xl=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Jt.test(t)||t==="0")&&!t.startsWith("url("));function Dm(t){const e=t[0];if(t.length===1)return!0;for(let s=0;s<t.length;s++)if(t[s]!==e)return!0}function Om(t,e,s,n){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const o=t[t.length-1],r=Xl(i,e),a=Xl(o,e);return!r||!a?!1:Dm(t)||(s==="spring"||zl(s))&&n}function Po(t){t.duration=0,t.type="keyframes"}const Rm=new Set(["opacity","clipPath","filter","transform"]),Lm=rl(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Fm(t){const{motionValue:e,name:s,repeatDelay:n,repeatType:i,damping:o,type:r}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=e.owner.getProps();return Lm()&&s&&Rm.has(s)&&(s!=="transform"||!u)&&!l&&!n&&i!=="mirror"&&o!==0&&r!=="inertia"}const Im=40;class jm extends po{constructor({autoplay:e=!0,delay:s=0,type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",keyframes:a,name:l,motionValue:u,element:c,...f}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Mt.now();const d={autoplay:e,delay:s,type:n,repeat:i,repeatDelay:o,repeatType:r,name:l,motionValue:u,element:c,...f},m=c?.KeyframeResolver||To;this.keyframeResolver=new m(a,(v,b,w)=>this.onKeyframesResolved(v,b,d,!w),l,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,s,n,i){this.keyframeResolver=void 0;const{name:o,type:r,velocity:a,delay:l,isHandoff:u,onUpdate:c}=n;this.resolvedAt=Mt.now(),Om(e,o,r,a)||((we.instantAnimations||!l)&&c?.(ho(e,n,s)),e[0]=e[e.length-1],Po(n),n.repeat=0);const d={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Im?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...n,keyframes:e},m=!u&&Fm(d),v=d.motionValue?.owner?.current,b=m?new Mm({...d,element:v}):new mo(d);b.finished.then(()=>{this.notifyFinished()}).catch(Ht),this.pendingTimeline&&(this.stopTimeline=b.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=b}get finished(){return this._animation?this.animation.finished:this._finished}then(e,s){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),xm()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function Zl(t,e,s,n=0,i=1){const o=Array.from(t).sort((u,c)=>u.sortNodePosition(c)).indexOf(e),r=t.size,a=(r-1)*n;return typeof s=="function"?s(o,r):i===1?o*n:a-o*n}const km=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function $m(t){const e=km.exec(t);if(!e)return[,];const[,s,n,i]=e;return[`--${s??n}`,i]}function Jl(t,e,s=1){const[n,i]=$m(t);if(!n)return;const o=window.getComputedStyle(e).getPropertyValue(n);if(o){const r=o.trim();return nl(r)?parseFloat(r):r}return Qi(i)?Jl(i,e,s+1):i}const Bm={type:"spring",stiffness:500,damping:25,restSpeed:10},Nm=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Um={type:"keyframes",duration:.8},Hm={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Km=(t,{keyframes:e})=>e.length>2?Um:ds.has(t)?t.startsWith("scale")?Nm(e[1]):Bm:Hm,Wm=t=>t!==null;function Gm(t,{repeat:e,repeatType:s="loop"},n){const i=t.filter(Wm),o=e&&s!=="loop"&&e%2===1?0:i.length-1;return i[o]}function Ql(t,e){if(t?.inherit&&e){const{inherit:s,...n}=t;return{...e,...n}}return t}function Ao(t,e){const s=t?.[e]??t?.default??t;return s!==t?Ql(s,t):s}function zm({when:t,delay:e,delayChildren:s,staggerChildren:n,staggerDirection:i,repeat:o,repeatType:r,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const Co=(t,e,s,n={},i,o)=>r=>{const a=Ao(n,t)||{},l=a.delay||n.delay||0;let{elapsed:u=0}=n;u=u-ce(l);const c={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:d=>{e.set(d),a.onUpdate&&a.onUpdate(d)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:i};zm(a)||Object.assign(c,Km(t,c)),c.duration&&(c.duration=ce(c.duration)),c.repeatDelay&&(c.repeatDelay=ce(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(Po(c),c.delay===0&&(f=!0)),(we.instantAnimations||we.skipAnimations||i?.shouldSkipAnimations)&&(f=!0,Po(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!o&&e.get()!==void 0){const d=Gm(c.keyframes,a);if(d!==void 0){nt.update(()=>{c.onUpdate(d),c.onComplete()});return}}return a.isSync?new mo(c):new jm(c)};function tc(t){const e=[{},{}];return t?.values.forEach((s,n)=>{e[0][n]=s.get(),e[1][n]=s.getVelocity()}),e}function ec(t,e,s,n){if(typeof e=="function"){const[i,o]=tc(n);e=e(s!==void 0?s:t.custom,i,o)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,o]=tc(n);e=e(s!==void 0?s:t.custom,i,o)}return e}function hs(t,e,s){const n=t.getProps();return ec(n,e,s!==void 0?s:n.custom,t)}const sc=new Set(["width","height","top","left","right","bottom",...fs]),nc=30,qm=t=>!isNaN(parseFloat(t));class Ym{constructor(e,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{const i=Mt.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=s.owner}setCurrent(e){this.current=e,this.updatedAt=Mt.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=qm(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,s){this.events[e]||(this.events[e]=new qi);const n=this.events[e].add(s);return e==="change"?()=>{n(),nt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,s){this.passiveEffect=e,this.stopPassiveEffect=s}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,s,n){this.set(s),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,s=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Mt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>nc)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,nc);return al(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(e){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=e(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ps(t,e){return new Ym(t,e)}const Xm=t=>Array.isArray(t);function Zm(t,e,s){t.hasValue(e)?t.getValue(e).set(s):t.addValue(e,ps(s))}function Jm(t){return Xm(t)?t[t.length-1]||0:t}function Qm(t,e){const s=hs(t,e);let{transitionEnd:n={},transition:i={},...o}=s||{};o={...o,...n};for(const r in o){const a=Jm(o[r]);Zm(t,r,a)}}const Pt=t=>!!(t&&t.getVelocity);function tg(t){return!!(Pt(t)&&t.add)}function Eo(t,e){const s=t.getValue("willChange");if(tg(s))return s.add(e);if(!s&&we.WillChange){const n=new we.WillChange("auto");t.addValue("willChange",n),n.add(e)}}function Vo(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const eg="data-"+Vo("framerAppearId");function ic(t){return t.props[eg]}function sg({protectedKeys:t,needsAnimating:e},s){const n=t.hasOwnProperty(s)&&e[s]!==!0;return e[s]=!1,n}function oc(t,e,{delay:s=0,transitionOverride:n,type:i}={}){let{transition:o,transitionEnd:r,...a}=e;const l=t.getDefaultTransition();o=o?Ql(o,l):l;const u=o?.reduceMotion;n&&(o=n);const c=[],f=i&&t.animationState&&t.animationState.getState()[i];for(const d in a){const m=t.getValue(d,t.latestValues[d]??null),v=a[d];if(v===void 0||f&&sg(f,d))continue;const b={delay:s,...Ao(o||{},d)},w=m.get();if(w!==void 0&&!m.isAnimating&&!Array.isArray(v)&&v===w&&!b.velocity)continue;let C=!1;if(window.MotionHandoffAnimation){const A=ic(t);if(A){const D=window.MotionHandoffAnimation(A,d,nt);D!==null&&(b.startTime=D,C=!0)}}Eo(t,d);const E=u??t.shouldReduceMotion;m.start(Co(d,m,v,E&&sc.has(d)?{type:!1}:b,t,C));const P=m.animation;P&&c.push(P)}if(r){const d=()=>nt.update(()=>{r&&Qm(t,r)});c.length?Promise.all(c).then(d):d()}return c}function Mo(t,e,s={}){const n=hs(t,e,s.type==="exit"?t.presenceContext?.custom:void 0);let{transition:i=t.getDefaultTransition()||{}}=n||{};s.transitionOverride&&(i=s.transitionOverride);const o=n?()=>Promise.all(oc(t,n,s)):()=>Promise.resolve(),r=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:f}=i;return ng(t,e,l,u,c,f,s)}:()=>Promise.resolve(),{when:a}=i;if(a){const[l,u]=a==="beforeChildren"?[o,r]:[r,o];return l().then(()=>u())}else return Promise.all([o(),r(s.delay)])}function ng(t,e,s=0,n=0,i=0,o=1,r){const a=[];for(const l of t.variantChildren)l.notify("AnimationStart",e),a.push(Mo(l,e,{...r,delay:s+(typeof n=="function"?0:n)+Zl(t.variantChildren,l,n,i,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}function ig(t,e,s={}){t.notify("AnimationStart",e);let n;if(Array.isArray(e)){const i=e.map(o=>Mo(t,o,s));n=Promise.all(i)}else if(typeof e=="string")n=Mo(t,e,s);else{const i=typeof e=="function"?hs(t,e,s.custom):e;n=Promise.all(oc(t,i,s))}return n.then(()=>{t.notify("AnimationComplete",e)})}const og={test:t=>t==="auto",parse:t=>t},rc=t=>e=>e.test(t),ac=[cs,L,ue,Re,Rp,Op,og],lc=t=>ac.find(rc(t));function rg(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||ol(t):!0}const ag=new Set(["brightness","contrast","saturate","opacity"]);function lg(t){const[e,s]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[n]=s.match(to)||[];if(!n)return t;const i=s.replace(n,"");let o=ag.has(e)?1:0;return n!==s&&(o*=100),e+"("+o+i+")"}const cg=/\b([a-z-]*)\(.*?\)/gu,Do={...Jt,getAnimatableNone:t=>{const e=t.match(cg);return e?e.map(lg).join(" "):t}},Oo={...Jt,getAnimatableNone:t=>{const e=Jt.parse(t);return Jt.createTransformer(t)(e.map(n=>typeof n=="number"?0:typeof n=="object"?{...n,alpha:1}:n))}},cc={...cs,transform:Math.round},Ro={borderWidth:L,borderTopWidth:L,borderRightWidth:L,borderBottomWidth:L,borderLeftWidth:L,borderRadius:L,borderTopLeftRadius:L,borderTopRightRadius:L,borderBottomRightRadius:L,borderBottomLeftRadius:L,width:L,maxWidth:L,height:L,maxHeight:L,top:L,right:L,bottom:L,left:L,inset:L,insetBlock:L,insetBlockStart:L,insetBlockEnd:L,insetInline:L,insetInlineStart:L,insetInlineEnd:L,padding:L,paddingTop:L,paddingRight:L,paddingBottom:L,paddingLeft:L,paddingBlock:L,paddingBlockStart:L,paddingBlockEnd:L,paddingInline:L,paddingInlineStart:L,paddingInlineEnd:L,margin:L,marginTop:L,marginRight:L,marginBottom:L,marginLeft:L,marginBlock:L,marginBlockStart:L,marginBlockEnd:L,marginInline:L,marginInlineStart:L,marginInlineEnd:L,fontSize:L,backgroundPositionX:L,backgroundPositionY:L,...{rotate:Re,rotateX:Re,rotateY:Re,rotateZ:Re,scale:Nn,scaleX:Nn,scaleY:Nn,scaleZ:Nn,skew:Re,skewX:Re,skewY:Re,distance:L,translateX:L,translateY:L,translateZ:L,x:L,y:L,z:L,perspective:L,transformPerspective:L,opacity:Gs,originX:Tl,originY:Tl,originZ:L},zIndex:cc,fillOpacity:Gs,strokeOpacity:Gs,numOctaves:cc},ug={...Ro,color:pt,backgroundColor:pt,outlineColor:pt,fill:pt,stroke:pt,borderColor:pt,borderTopColor:pt,borderRightColor:pt,borderBottomColor:pt,borderLeftColor:pt,filter:Do,WebkitFilter:Do,mask:Oo,WebkitMask:Oo},uc=t=>ug[t],fg=new Set([Do,Oo]);function fc(t,e){let s=uc(t);return fg.has(s)||(s=Jt),s.getAnimatableNone?s.getAnimatableNone(e):void 0}const dg=new Set(["auto","none","0"]);function hg(t,e,s){let n=0,i;for(;n<t.length&&!i;){const o=t[n];typeof o=="string"&&!dg.has(o)&&Ys(o).values.length&&(i=t[n]),n++}if(i&&s)for(const o of e)t[o]=fc(s,i)}class pg extends To{constructor(e,s,n,i,o){super(e,s,n,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:s,name:n}=this;if(!s||!s.current)return;super.readKeyframes();for(let c=0;c<e.length;c++){let f=e[c];if(typeof f=="string"&&(f=f.trim(),Qi(f))){const d=Jl(f,s.current);d!==void 0&&(e[c]=d),c===e.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!sc.has(n)||e.length!==2)return;const[i,o]=e,r=lc(i),a=lc(o),l=xl(i),u=xl(o);if(l!==u&&Le[n]){this.needsMeasurement=!0;return}if(r!==a)if(Bl(r)&&Bl(a))for(let c=0;c<e.length;c++){const f=e[c];typeof f=="string"&&(e[c]=parseFloat(f))}else Le[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:s}=this,n=[];for(let i=0;i<e.length;i++)(e[i]===null||rg(e[i]))&&n.push(i);n.length&&hg(e,n,s)}measureInitialState(){const{element:e,unresolvedKeyframes:s,name:n}=this;if(!e||!e.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Le[n](e.measureViewportBox(),window.getComputedStyle(e.current)),s[0]=this.measuredOrigin;const i=s[s.length-1];i!==void 0&&e.getValue(n,i).jump(i,!1)}measureEndState(){const{element:e,name:s,unresolvedKeyframes:n}=this;if(!e||!e.current)return;const i=e.getValue(s);i&&i.jump(this.measuredOrigin,!1);const o=n.length-1,r=n[o];n[o]=Le[s](e.measureViewportBox(),window.getComputedStyle(e.current)),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEach(([a,l])=>{e.getValue(a).set(l)}),this.resolveNoneKeyframes()}}const mg=new Set(["opacity","clipPath","filter","transform"]);function dc(t,e,s){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let n=document;const i=s?.[t]??n.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t).filter(n=>n!=null)}const hc=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function gg(t){return il(t)&&"offsetHeight"in t}const{schedule:pc}=bl(queueMicrotask,!1),yg={y:!1};function vg(){return yg.y}function mc(t,e){const s=dc(t),n=new AbortController,i={passive:!0,...e,signal:n.signal};return[s,i,()=>n.abort()]}function bg(t){return!(t.pointerType==="touch"||vg())}function _g(t,e,s={}){const[n,i,o]=mc(t,s);return n.forEach(r=>{let a=!1,l=!1,u;const c=()=>{r.removeEventListener("pointerleave",v)},f=w=>{u&&(u(w),u=void 0),c()},d=w=>{a=!1,window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",d),l&&(l=!1,f(w))},m=()=>{a=!0,window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",d,i)},v=w=>{if(w.pointerType!=="touch"){if(a){l=!0;return}f(w)}},b=w=>{if(!bg(w))return;l=!1;const C=e(r,w);typeof C=="function"&&(u=C,r.addEventListener("pointerleave",v,i))};r.addEventListener("pointerenter",b,i),r.addEventListener("pointerdown",m,i)}),o}const gc=(t,e)=>e?t===e?!0:gc(t,e.parentElement):!1,xg=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,Sg=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Tg(t){return Sg.has(t.tagName)||t.isContentEditable===!0}const Wn=new WeakSet;function yc(t){return e=>{e.key==="Enter"&&t(e)}}function Lo(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const wg=(t,e)=>{const s=t.currentTarget;if(!s)return;const n=yc(()=>{if(Wn.has(s))return;Lo(s,"down");const i=yc(()=>{Lo(s,"up")}),o=()=>Lo(s,"cancel");s.addEventListener("keyup",i,e),s.addEventListener("blur",o,e)});s.addEventListener("keydown",n,e),s.addEventListener("blur",()=>s.removeEventListener("keydown",n),e)};function vc(t){return xg(t)&&!0}const bc=new WeakSet;function Pg(t,e,s={}){const[n,i,o]=mc(t,s),r=a=>{const l=a.currentTarget;if(!vc(a)||bc.has(a))return;Wn.add(l),s.stopPropagation&&bc.add(a);const u=e(l,a),c=(m,v)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",d),Wn.has(l)&&Wn.delete(l),vc(m)&&typeof u=="function"&&u(m,{success:v})},f=m=>{c(m,l===window||l===document||s.useGlobalTarget||gc(l,m.target))},d=m=>{c(m,!1)};window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",d,i)};return n.forEach(a=>{(s.useGlobalTarget?window:a).addEventListener("pointerdown",r,i),gg(a)&&(a.addEventListener("focus",u=>wg(u,i)),!Tg(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function _c(t){return il(t)&&"ownerSVGElement"in t}function Ag(t){return _c(t)&&t.tagName==="svg"}const Cg=[...ac,pt,Jt],Eg=t=>Cg.find(rc(t)),xc=()=>({translate:0,scale:1,origin:0,originPoint:0}),ms=()=>({x:xc(),y:xc()}),Sc=()=>({min:0,max:0}),gt=()=>({x:Sc(),y:Sc()}),Vg=new WeakMap;function Fo(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function Gn(t){return typeof t=="string"||Array.isArray(t)}const Mg=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function Tc(t){return Fo(t.animate)||Mg.some(e=>Gn(t[e]))}function Dg(t){return!!(Tc(t)||t.variants)}function Og(t,e,s){for(const n in e){const i=e[n],o=s[n];if(Pt(i))t.addValue(n,i);else if(Pt(o))t.addValue(n,ps(i,{owner:t}));else if(o!==i)if(t.hasValue(n)){const r=t.getValue(n);r.liveStyle===!0?r.jump(i):r.hasAnimated||r.set(i)}else{const r=t.getStaticValue(n);t.addValue(n,ps(r!==void 0?r:i,{owner:t}))}}for(const n in s)e[n]===void 0&&t.removeValue(n);return e}const Io={current:null},wc={current:!1},Rg=typeof window<"u";function Lg(){if(wc.current=!0,!!Rg)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Io.current=t.matches;t.addEventListener("change",e),e()}else Io.current=!1}const Pc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Ac={};class Fg{scrapeMotionValuesFromProps(e,s,n){return{}}constructor({parent:e,props:s,presenceContext:n,reducedMotionConfig:i,skipAnimations:o,blockInitialAnimation:r,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=To,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const m=Mt.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,nt.render(this.render,!1,!0))};const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=s.initial?{...u}:{},this.renderState=c,this.parent=e,this.props=s,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=o,this.options=l,this.blockInitialAnimation=!!r,this.isControllingVariants=Tc(s),this.isVariantNode=Dg(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:f,...d}=this.scrapeMotionValuesFromProps(s,{},this);for(const m in d){const v=d[m];u[m]!==void 0&&Pt(v)&&v.set(u[m])}}mount(e){if(this.hasBeenMounted)for(const s in this.initialValues)this.values.get(s)?.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=e,Vg.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,n)=>this.bindToMotionValue(n,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(wc.current||Lg(),this.shouldReduceMotion=Io.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Oe(this.notifyUpdate),Oe(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const s=this.features[e];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,s){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),s.accelerate&&mg.has(e)&&this.current instanceof HTMLElement){const{factory:r,keyframes:a,times:l,ease:u,duration:c}=s.accelerate,f=new ql({element:this.current,name:e,keyframes:a,times:l,ease:u,duration:ce(c)}),d=r(f);this.valueSubscriptions.set(e,()=>{d(),f.cancel()});return}const n=ds.has(e);n&&this.onBindTransform&&this.onBindTransform();const i=s.on("change",r=>{this.latestValues[e]=r,this.props.onUpdate&&nt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;typeof window<"u"&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,s)),this.valueSubscriptions.set(e,()=>{i(),o&&o(),s.owner&&s.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in Ac){const s=Ac[e];if(!s)continue;const{isEnabled:n,Feature:i}=s;if(!this.features[e]&&i&&n(this.props)&&(this.features[e]=new i(this)),this.features[e]){const o=this.features[e];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):gt()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,s){this.latestValues[e]=s}update(e,s){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let n=0;n<Pc.length;n++){const i=Pc[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,r=e[o];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=Og(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(e),()=>s.variantChildren.delete(e)}addValue(e,s){const n=this.values.get(e);s!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,s),this.values.set(e,s),this.latestValues[e]=s.get())}removeValue(e){this.values.delete(e);const s=this.valueSubscriptions.get(e);s&&(s(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,s){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&s!==void 0&&(n=ps(s===null?void 0:s,{owner:this}),this.addValue(e,n)),n}readValue(e,s){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n=="string"&&(nl(n)||ol(n))?n=parseFloat(n):!Eg(n)&&Jt.test(s)&&(n=fc(e,s)),this.setBaseTarget(e,Pt(n)?n.get():n)),Pt(n)?n.get():n}setBaseTarget(e,s){this.baseTarget[e]=s}getBaseTarget(e){const{initial:s}=this.props;let n;if(typeof s=="string"||typeof s=="object"){const o=ec(this.props,s,this.presenceContext?.custom);o&&(n=o[e])}if(s&&n!==void 0)return n;const i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!Pt(i)?i:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,s){return this.events[e]||(this.events[e]=new qi),this.events[e].add(s)}notify(e,...s){this.events[e]&&this.events[e].notify(...s)}scheduleRenderMicrotask(){pc.render(this.render)}}class Cc extends Fg{constructor(){super(...arguments),this.KeyframeResolver=pg}sortInstanceNodePosition(e,s){return e.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(e,s){const n=e.style;return n?n[s]:void 0}removeValueFromRenderState(e,{vars:s,style:n}){delete s[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Pt(e)&&(this.childSubscription=e.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function Ec({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function Ig({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function jg(t,e){if(!e)return t;const s=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:s.y,left:s.x,bottom:n.y,right:n.x}}function jo(t){return t===void 0||t===1}function ko({scale:t,scaleX:e,scaleY:s}){return!jo(t)||!jo(e)||!jo(s)}function Ye(t){return ko(t)||Vc(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Vc(t){return Mc(t.x)||Mc(t.y)}function Mc(t){return t&&t!=="0%"}function zn(t,e,s){const n=t-s,i=e*n;return s+i}function Dc(t,e,s,n,i){return i!==void 0&&(t=zn(t,i,n)),zn(t,s,n)+e}function $o(t,e=0,s=1,n,i){t.min=Dc(t.min,e,s,n,i),t.max=Dc(t.max,e,s,n,i)}function Oc(t,{x:e,y:s}){$o(t.x,e.translate,e.scale,e.originPoint),$o(t.y,s.translate,s.scale,s.originPoint)}const Rc=.999999999999,Lc=1.0000000000001;function kg(t,e,s,n=!1){const i=s.length;if(!i)return;e.x=e.y=1;let o,r;for(let a=0;a<i;a++){o=s[a],r=o.projectionDelta;const{visualElement:l}=o.options;l&&l.props.style&&l.props.style.display==="contents"||(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&ys(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,Oc(t,r)),n&&Ye(o.latestValues)&&ys(t,o.latestValues))}e.x<Lc&&e.x>Rc&&(e.x=1),e.y<Lc&&e.y>Rc&&(e.y=1)}function gs(t,e){t.min=t.min+e,t.max=t.max+e}function Fc(t,e,s,n,i=.5){const o=ft(t.min,t.max,i);$o(t,e,s,o,n)}function ys(t,e){Fc(t.x,e.x,e.scaleX,e.scale,e.originX),Fc(t.y,e.y,e.scaleY,e.scale,e.originY)}function Ic(t,e){return Ec(jg(t.getBoundingClientRect(),e))}function $g(t,e,s){const n=Ic(t,s),{scroll:i}=e;return i&&(gs(n.x,i.offset.x),gs(n.y,i.offset.y)),n}const Bg={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ng=fs.length;function Ug(t,e,s){let n="",i=!0;for(let o=0;o<Ng;o++){const r=fs[o],a=t[r];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(r.startsWith("scale")?1:0);else{const u=parseFloat(a);l=r.startsWith("scale")?u===1:u===0}if(!l||s){const u=hc(a,Ro[r]);if(!l){i=!1;const c=Bg[r]||r;n+=`${c}(${u}) `}s&&(e[r]=u)}}return n=n.trim(),s?n=s(e,i?"":n):i&&(n="none"),n}function Bo(t,e,s){const{style:n,vars:i,transformOrigin:o}=t;let r=!1,a=!1;for(const l in e){const u=e[l];if(ds.has(l)){r=!0;continue}else if(Ji(l)){i[l]=u;continue}else{const c=hc(u,Ro[l]);l.startsWith("origin")?(a=!0,o[l]=c):n[l]=c}}if(e.transform||(r||s?n.transform=Ug(e,t.transform,s):n.transform&&(n.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=o;n.transformOrigin=`${l} ${u} ${c}`}}function jc(t,{style:e,vars:s},n,i){const o=t.style;let r;for(r in e)o[r]=e[r];i?.applyProjectionStyles(o,n);for(r in s)o.setProperty(r,s[r])}function kc(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const fe={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(L.test(t))t=parseFloat(t);else return t;const s=kc(t,e.target.x),n=kc(t,e.target.y);return`${s}% ${n}%`}},$c={correct:(t,{treeScale:e,projectionDelta:s})=>{const n=t,i=Jt.parse(t);if(i.length>5)return n;const o=Jt.createTransformer(t),r=typeof i[0]!="number"?1:0,a=s.x.scale*e.x,l=s.y.scale*e.y;i[0+r]/=a,i[1+r]/=l;const u=ft(a,l,.5);return typeof i[2+r]=="number"&&(i[2+r]/=u),typeof i[3+r]=="number"&&(i[3+r]/=u),o(i)}},Js={borderRadius:{...fe,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fe,borderTopRightRadius:fe,borderBottomLeftRadius:fe,borderBottomRightRadius:fe,boxShadow:$c};function Bc(t){for(const e in t)Js[e]=t[e],Ji(e)&&(Js[e].isCSSVariable=!0)}function Hg(t,{layout:e,layoutId:s}){return ds.has(t)||t.startsWith("origin")||(e||s!==void 0)&&(!!Js[t]||t==="opacity")}function Nc(t,e,s){const n=t.style,i=e?.style,o={};if(!n)return o;for(const r in n)(Pt(n[r])||i&&Pt(i[r])||Hg(r,t)||s?.getValue(r)?.liveStyle!==void 0)&&(o[r]=n[r]);return o}function Kg(t){return window.getComputedStyle(t)}class Wg extends Cc{constructor(){super(...arguments),this.type="html",this.renderInstance=jc}readValueFromInstance(e,s){if(ds.has(s))return this.projection?.isProjecting?vo(s):gm(e,s);{const n=Kg(e),i=(Ji(s)?n.getPropertyValue(s):n[s])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:s}){return Ic(e,s)}build(e,s,n){Bo(e,s,n.transformTemplate)}scrapeMotionValuesFromProps(e,s,n){return Nc(e,s,n)}}const Gg={offset:"stroke-dashoffset",array:"stroke-dasharray"},zg={offset:"strokeDashoffset",array:"strokeDasharray"};function qg(t,e,s=1,n=0,i=!0){t.pathLength=1;const o=i?Gg:zg;t[o.offset]=`${-n}`,t[o.array]=`${e} ${s}`}const Yg=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Uc(t,{attrX:e,attrY:s,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:r=0,...a},l,u,c){if(Bo(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:f,style:d}=t;f.transform&&(d.transform=f.transform,delete f.transform),(d.transform||f.transformOrigin)&&(d.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),d.transform&&(d.transformBox=c?.transformBox??"fill-box",delete f.transformBox);for(const m of Yg)f[m]!==void 0&&(d[m]=f[m],delete f[m]);e!==void 0&&(f.x=e),s!==void 0&&(f.y=s),n!==void 0&&(f.scale=n),i!==void 0&&qg(f,i,o,r,!1)}const No=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),Hc=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Xg(t,e,s,n){jc(t,e,void 0,n);for(const i in e.attrs)t.setAttribute(No.has(i)?i:Vo(i),e.attrs[i])}function Zg(t,e,s){const n=Nc(t,e,s);for(const i in t)if(Pt(t[i])||Pt(e[i])){const o=fs.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[o]=t[i]}return n}class Jg extends Cc{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=gt}getBaseTargetFromProps(e,s){return e[s]}readValueFromInstance(e,s){if(ds.has(s)){const n=uc(s);return n&&n.default||0}return s=No.has(s)?s:Vo(s),e.getAttribute(s)}scrapeMotionValuesFromProps(e,s,n){return Zg(e,s,n)}build(e,s,n){Uc(e,s,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,s,n,i){Xg(e,s,n,i)}mount(e){this.isSVGTag=Hc(e.tagName),super.mount(e)}}function Kc(t,e){t.min=e.min,t.max=e.max}function Qt(t,e){Kc(t.x,e.x),Kc(t.y,e.y)}function Wc(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}const Gc=1e-4,Qg=1-Gc,ty=1+Gc,zc=.01,ey=0-zc,sy=0+zc;function Dt(t){return t.max-t.min}function ny(t,e,s){return Math.abs(t-e)<=s}function qc(t,e,s,n=.5){t.origin=n,t.originPoint=ft(e.min,e.max,t.origin),t.scale=Dt(s)/Dt(e),t.translate=ft(s.min,s.max,t.origin)-t.originPoint,(t.scale>=Qg&&t.scale<=ty||isNaN(t.scale))&&(t.scale=1),(t.translate>=ey&&t.translate<=sy||isNaN(t.translate))&&(t.translate=0)}function Qs(t,e,s,n){qc(t.x,e.x,s.x,n?n.originX:void 0),qc(t.y,e.y,s.y,n?n.originY:void 0)}function Yc(t,e,s){t.min=s.min+e.min,t.max=t.min+Dt(e)}function iy(t,e,s){Yc(t.x,e.x,s.x),Yc(t.y,e.y,s.y)}function Xc(t,e,s){t.min=e.min-s.min,t.max=t.min+Dt(e)}function qn(t,e,s){Xc(t.x,e.x,s.x),Xc(t.y,e.y,s.y)}function Zc(t,e,s,n,i){return t-=e,t=zn(t,1/s,n),i!==void 0&&(t=zn(t,1/i,n)),t}function oy(t,e=0,s=1,n=.5,i,o=t,r=t){if(ue.test(e)&&(e=parseFloat(e),e=ft(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=ft(o.min,o.max,n);t===o&&(a-=e),t.min=Zc(t.min,e,s,a,i),t.max=Zc(t.max,e,s,a,i)}function Jc(t,e,[s,n,i],o,r){oy(t,e[s],e[n],e[i],e.scale,o,r)}const ry=["x","scaleX","originX"],ay=["y","scaleY","originY"];function Qc(t,e,s,n){Jc(t.x,e,ry,s?s.x:void 0,n?n.x:void 0),Jc(t.y,e,ay,s?s.y:void 0,n?n.y:void 0)}function tu(t){return t.translate===0&&t.scale===1}function eu(t){return tu(t.x)&&tu(t.y)}function su(t,e){return t.min===e.min&&t.max===e.max}function ly(t,e){return su(t.x,e.x)&&su(t.y,e.y)}function nu(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function iu(t,e){return nu(t.x,e.x)&&nu(t.y,e.y)}function ou(t){return Dt(t.x)/Dt(t.y)}function ru(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function Wt(t){return[t("x"),t("y")]}function cy(t,e,s){let n="";const i=t.x.translate/e.x,o=t.y.translate/e.y,r=s?.z||0;if((i||o||r)&&(n=`translate3d(${i}px, ${o}px, ${r}px) `),(e.x!==1||e.y!==1)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),s){const{transformPerspective:u,rotate:c,rotateX:f,rotateY:d,skewX:m,skewY:v}=s;u&&(n=`perspective(${u}px) ${n}`),c&&(n+=`rotate(${c}deg) `),f&&(n+=`rotateX(${f}deg) `),d&&(n+=`rotateY(${d}deg) `),m&&(n+=`skewX(${m}deg) `),v&&(n+=`skewY(${v}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return(a!==1||l!==1)&&(n+=`scale(${a}, ${l})`),n||"none"}const au=["TopLeft","TopRight","BottomLeft","BottomRight"],uy=au.length,lu=t=>typeof t=="string"?parseFloat(t):t,cu=t=>typeof t=="number"||L.test(t);function fy(t,e,s,n,i,o){i?(t.opacity=ft(0,s.opacity??1,dy(n)),t.opacityExit=ft(e.opacity??1,0,hy(n))):o&&(t.opacity=ft(e.opacity??1,s.opacity??1,n));for(let r=0;r<uy;r++){const a=`border${au[r]}Radius`;let l=uu(e,a),u=uu(s,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||cu(l)===cu(u)?(t[a]=Math.max(ft(lu(l),lu(u),n),0),(ue.test(u)||ue.test(l))&&(t[a]+="%")):t[a]=u}(e.rotate||s.rotate)&&(t.rotate=ft(e.rotate||0,s.rotate||0,n))}function uu(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const dy=fu(0,.5,pl),hy=fu(.5,.95,Ht);function fu(t,e,s){return n=>n<t?0:n>e?1:s(Ks(t,e,n))}function py(t,e,s){const n=Pt(t)?t:ps(t);return n.start(Co("",n,e,s)),n.animation}function my(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}const gy=(t,e)=>t.depth-e.depth;class yy{constructor(){this.children=[],this.isDirty=!1}add(e){Gi(this.children,e),this.isDirty=!0}remove(e){kn(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(gy),this.isDirty=!1,this.children.forEach(e)}}function vy(t,e){const s=Mt.now(),n=({timestamp:i})=>{const o=i-s;o>=e&&(Oe(n),t(o-e))};return nt.setup(n,!0),()=>Oe(n)}function Uo(t){return Pt(t)?t.get():t}class by{constructor(){this.members=[]}add(e){Gi(this.members,e);for(let s=this.members.length-1;s>=0;s--){const n=this.members[s];if(n===e||n===this.lead||n===this.prevLead)continue;const i=n.instance;i&&i.isConnected===!1&&n.isPresent!==!1&&!n.snapshot&&kn(this.members,n)}e.scheduleRender()}remove(e){if(kn(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(e){const s=this.members.findIndex(i=>e===i);if(s===0)return!1;let n;for(let i=s;i>=0;i--){const o=this.members[i],r=o.instance;if(o.isPresent!==!1&&(!r||r.isConnected!==!1)){n=o;break}}return n?(this.promote(n),!0):!1}promote(e,s){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender();const i=n.options.layoutDependency,o=e.options.layoutDependency;if(!(i!==void 0&&o!==void 0&&i===o)){const l=n.instance;l&&l.isConnected===!1&&!n.snapshot||(e.resumeFrom=n,s&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0))}const{crossfade:a}=e.options;a===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:s,resumingFrom:n}=e;s.onExitComplete&&s.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Yn={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ho=["","X","Y","Z"],_y=1e3;let xy=0;function Ko(t,e,s,n){const{latestValues:i}=e;i[t]&&(s[t]=i[t],e.setStaticValue(t,0),n&&(n[t]=0))}function du(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const s=ic(e);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",nt,!(i||o))}const{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&du(n)}function hu({attachResizeListener:t,defaultParent:e,measureScroll:s,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(r={},a=e?.()){this.id=xy++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(wy),this.nodes.forEach(Ey),this.nodes.forEach(Vy),this.nodes.forEach(Py)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=r,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new yy)}addEventListener(r,a){return this.eventHandlers.has(r)||this.eventHandlers.set(r,new qi),this.eventHandlers.get(r).add(a)}notifyListeners(r,...a){const l=this.eventHandlers.get(r);l&&l.notify(...a)}hasListeners(r){return this.eventHandlers.has(r)}mount(r){if(this.instance)return;this.isSVG=_c(r)&&!Ag(r),this.instance=r;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),t){let c,f=0;const d=()=>this.root.updateBlockedByResize=!1;nt.read(()=>{f=window.innerWidth}),t(r,()=>{const m=window.innerWidth;m!==f&&(f=m,this.root.updateBlockedByResize=!0,c&&c(),c=vy(d,250),Yn.hasAnimatedSinceResize&&(Yn.hasAnimatedSinceResize=!1,this.nodes.forEach(gu)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f,hasRelativeLayoutChanged:d,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||Ly,{onLayoutAnimationStart:b,onLayoutAnimationComplete:w}=u.getProps(),C=!this.targetLayout||!iu(this.targetLayout,m),E=!f&&d;if(this.options.layoutRoot||this.resumeFrom||E||f&&(C||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const P={...Ao(v,"layout"),onPlay:b,onComplete:w};(u.shouldReduceMotion||this.options.layoutRoot)&&(P.delay=0,P.type=!1),this.startAnimation(P),this.setAnimationOrigin(c,E)}else f||gu(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const r=this.getStack();r&&r.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Oe(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(My),this.animationId++)}getTransformTemplate(){const{visualElement:r}=this.options;return r&&r.getProps().transformTemplate}willUpdate(r=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&du(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const f=this.path[c];f.shouldResetTransform=!0,f.updateScroll("snapshot"),f.options.layoutRoot&&f.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),r&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(pu);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(mu);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Cy),this.nodes.forEach(Sy),this.nodes.forEach(Ty)):this.nodes.forEach(mu),this.clearAllSnapshots();const a=Mt.now();St.delta=le(0,1e3/60,a-St.timestamp),St.timestamp=a,St.isProcessing=!0,Zi.update.process(St),Zi.preRender.process(St),Zi.render.process(St),St.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,pc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Ay),this.sharedNodes.forEach(Dy)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,nt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){nt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Dt(this.snapshot.measuredBox.x)&&!Dt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const r=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=gt(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,r?r.layoutBox:void 0)}updateScroll(r="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===r&&(a=!1),a&&this.instance){const l=n(this.instance);this.scroll={animationId:this.root.animationId,phase:r,isRoot:l,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const r=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!eu(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;r&&this.instance&&(a||Ye(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(r=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return r&&(l=this.removeTransform(l)),Fy(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:r}=this.options;if(!r)return gt();const a=r.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Iy))){const{scroll:u}=this.root;u&&(gs(a.x,u.offset.x),gs(a.y,u.offset.y))}return a}removeElementScroll(r){const a=gt();if(Qt(a,r),this.scroll?.wasRoot)return a;for(let l=0;l<this.path.length;l++){const u=this.path[l],{scroll:c,options:f}=u;u!==this.root&&c&&f.layoutScroll&&(c.wasRoot&&Qt(a,r),gs(a.x,c.offset.x),gs(a.y,c.offset.y))}return a}applyTransform(r,a=!1){const l=gt();Qt(l,r);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&ys(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Ye(c.latestValues)&&ys(l,c.latestValues)}return Ye(this.latestValues)&&ys(l,this.latestValues),l}removeTransform(r){const a=gt();Qt(a,r);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!Ye(u.latestValues))continue;ko(u.latestValues)&&u.updateSnapshot();const c=gt(),f=u.measurePageBox();Qt(c,f),Qc(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Ye(this.latestValues)&&Qc(a,this.latestValues),a}setTargetDelta(r){this.targetDelta=r,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(r){this.options={...this.options,...r,crossfade:r.crossfade!==void 0?r.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==St.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(r=!1){const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(r||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:f}=this.options;if(!this.layout||!(c||f))return;this.resolvedRelativeTargetAt=St.timestamp;const d=this.getClosestProjectingParent();d&&this.linkedParentVersion!==d.layoutVersion&&!d.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(d&&d.layout?this.createRelativeTarget(d,this.layout.layoutBox,d.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=gt(),this.targetWithTransforms=gt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),iy(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Qt(this.target,this.layout.layoutBox),Oc(this.target,this.targetDelta)):Qt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,d&&!!d.resumingFrom==!!this.resumingFrom&&!d.options.layoutScroll&&d.target&&this.animationProgress!==1?this.createRelativeTarget(d,this.target,d.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||ko(this.parent.latestValues)||Vc(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(r,a,l){this.relativeParent=r,this.linkedParentVersion=r.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=gt(),this.relativeTargetOrigin=gt(),qn(this.relativeTargetOrigin,a,l),Qt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const r=this.getLead(),a=!!this.resumingFrom||this!==r;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===St.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;Qt(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,d=this.treeScale.y;kg(this.layoutCorrected,this.treeScale,this.path,a),r.layout&&!r.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(r.target=r.layout.layoutBox,r.targetWithTransforms=gt());const{target:m}=r;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Wc(this.prevProjectionDelta.x,this.projectionDelta.x),Wc(this.prevProjectionDelta.y,this.projectionDelta.y)),Qs(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==d||!ru(this.projectionDelta.x,this.prevProjectionDelta.x)||!ru(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(r=!0){if(this.options.visualElement?.scheduleRender(),r){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ms(),this.projectionDelta=ms(),this.projectionDeltaWithTransform=ms()}setAnimationOrigin(r,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},f=ms();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const d=gt(),m=l?l.source:void 0,v=this.layout?this.layout.source:void 0,b=m!==v,w=this.getStack(),C=!w||w.members.length<=1,E=!!(b&&!C&&this.options.crossfade===!0&&!this.path.some(Ry));this.animationProgress=0;let P;this.mixTargetDelta=A=>{const D=A/1e3;yu(f.x,r.x,D),yu(f.y,r.y,D),this.setTargetDelta(f),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(qn(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Oy(this.relativeTarget,this.relativeTargetOrigin,d,D),P&&ly(this.relativeTarget,P)&&(this.isProjectionDirty=!1),P||(P=gt()),Qt(P,this.relativeTarget)),b&&(this.animationValues=c,fy(c,u,this.latestValues,D,E,C)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=D},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Oe(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=nt.update(()=>{Yn.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ps(0)),this.motionValue.jump(0,!1),this.currentAnimation=py(this.motionValue,[0,1e3],{...r,velocity:0,isSync:!0,onUpdate:a=>{this.mixTargetDelta(a),r.onUpdate&&r.onUpdate(a)},onStop:()=>{},onComplete:()=>{r.onComplete&&r.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const r=this.getStack();r&&r.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(_y),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const r=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=r;if(!(!a||!l||!u)){if(this!==r&&this.layout&&u&&Su(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||gt();const f=Dt(this.layout.layoutBox.x);l.x.min=r.target.x.min,l.x.max=l.x.min+f;const d=Dt(this.layout.layoutBox.y);l.y.min=r.target.y.min,l.y.max=l.y.min+d}Qt(a,l),ys(a,c),Qs(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(r,a){this.sharedNodes.has(r)||this.sharedNodes.set(r,new by),this.sharedNodes.get(r).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const r=this.getStack();return r?r.lead===this:!0}getLead(){const{layoutId:r}=this.options;return r?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:r}=this.options;return r?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:r}=this.options;if(r)return this.root.sharedNodes.get(r)}promote({needsReset:r,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),r&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const r=this.getStack();return r?r.relegate(this):!1}resetSkewAndRotation(){const{visualElement:r}=this.options;if(!r)return;let a=!1;const{latestValues:l}=r;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Ko("z",r,u,this.animationValues);for(let c=0;c<Ho.length;c++)Ko(`rotate${Ho[c]}`,r,u,this.animationValues),Ko(`skew${Ho[c]}`,r,u,this.animationValues);r.render();for(const c in u)r.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);r.scheduleRender()}applyProjectionStyles(r,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){r.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,r.visibility="",r.opacity="",r.pointerEvents=Uo(a?.pointerEvents)||"",r.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(r.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,r.pointerEvents=Uo(a?.pointerEvents)||""),this.hasProjected&&!Ye(this.latestValues)&&(r.transform=l?l({},""):"none",this.hasProjected=!1);return}r.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=cy(this.projectionDeltaWithTransform,this.treeScale,c);l&&(f=l(c,f)),r.transform=f;const{x:d,y:m}=this.projectionDelta;r.transformOrigin=`${d.origin*100}% ${m.origin*100}% 0`,u.animationValues?r.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:r.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const v in Js){if(c[v]===void 0)continue;const{correct:b,applyTo:w,isCSSVariable:C}=Js[v],E=f==="none"?c[v]:b(c[v],u);if(w){const P=w.length;for(let A=0;A<P;A++)r[w[A]]=E}else C?this.options.visualElement.renderState.vars[v]=E:r[v]=E}this.options.layoutId&&(r.pointerEvents=u===this?Uo(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>r.currentAnimation?.stop()),this.root.nodes.forEach(pu),this.root.sharedNodes.clear()}}}function Sy(t){t.updateLayout()}function Ty(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:n}=t.layout,{animationType:i}=t.options,o=e.source!==t.layout.source;i==="size"?Wt(c=>{const f=o?e.measuredBox[c]:e.layoutBox[c],d=Dt(f);f.min=s[c].min,f.max=f.min+d}):Su(i,e.layoutBox,s)&&Wt(c=>{const f=o?e.measuredBox[c]:e.layoutBox[c],d=Dt(s[c]);f.max=f.min+d,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[c].max=t.relativeTarget[c].min+d)});const r=ms();Qs(r,s,e.layoutBox);const a=ms();o?Qs(a,t.applyTransform(n,!0),e.measuredBox):Qs(a,s,e.layoutBox);const l=!eu(r);let u=!1;if(!t.resumeFrom){const c=t.getClosestProjectingParent();if(c&&!c.resumeFrom){const{snapshot:f,layout:d}=c;if(f&&d){const m=gt();qn(m,e.layoutBox,f.layoutBox);const v=gt();qn(v,s,d.layoutBox),iu(m,v)||(u=!0),c.options.layoutRoot&&(t.relativeTarget=v,t.relativeTargetOrigin=m,t.relativeParent=c)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:e,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function wy(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Py(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Ay(t){t.clearSnapshot()}function pu(t){t.clearMeasurements()}function mu(t){t.isLayoutDirty=!1}function Cy(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function gu(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Ey(t){t.resolveTargetDelta()}function Vy(t){t.calcProjection()}function My(t){t.resetSkewAndRotation()}function Dy(t){t.removeLeadSnapshot()}function yu(t,e,s){t.translate=ft(e.translate,0,s),t.scale=ft(e.scale,1,s),t.origin=e.origin,t.originPoint=e.originPoint}function vu(t,e,s,n){t.min=ft(e.min,s.min,n),t.max=ft(e.max,s.max,n)}function Oy(t,e,s,n){vu(t.x,e.x,s.x,n),vu(t.y,e.y,s.y,n)}function Ry(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Ly={duration:.45,ease:[.4,0,.1,1]},bu=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),_u=bu("applewebkit/")&&!bu("chrome/")?Math.round:Ht;function xu(t){t.min=_u(t.min),t.max=_u(t.max)}function Fy(t){xu(t.x),xu(t.y)}function Su(t,e,s){return t==="position"||t==="preserve-aspect"&&!ny(ou(e),ou(s),.2)}function Iy(t){return t!==t.root&&t.scroll?.wasRoot}const jy=hu({attachResizeListener:(t,e)=>my(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Wo={current:void 0},ky=hu({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Wo.current){const t=new jy({});t.mount(window),t.setOptions({layoutScroll:!0}),Wo.current=t}return Wo.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),$y={some:0,all:1};function By(t,e,{root:s,margin:n,amount:i="some"}={}){const o=dc(t),r=new WeakMap,a=u=>{u.forEach(c=>{const f=r.get(c.target);if(c.isIntersecting!==!!f)if(c.isIntersecting){const d=e(c.target,c);typeof d=="function"?r.set(c.target,d):l.unobserve(c.target)}else typeof f=="function"&&(f(c),r.delete(c.target))})},l=new IntersectionObserver(a,{root:s,rootMargin:n,threshold:typeof i=="number"?i:$y[i]});return o.forEach(u=>l.observe(u)),()=>l.disconnect()}const Tu=(t,e)=>Math.abs(t-e);function Ny(t,e){const s=Tu(t.x,e.x),n=Tu(t.y,e.y);return Math.sqrt(s**2+n**2)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const wu=t=>typeof t<"u";function Pu({current:t}){return t?t.ownerDocument.defaultView:null}function Go(t){if(t)return t.nodeType===3||t.nodeType===8?Go(t.nextSibling):t}const[Uy,Hy]=Us("Motion"),[Ky]=Us("LayoutGroup"),Wy={reducedMotion:"never",transition:void 0,nonce:void 0},[Gy]=Us("MotionConfig");function zy(){return Gy(bt(()=>Wy))}const qy={motionAttribute:"data-ap"},zo=[];function Au(t){for(const e of t)e&&!zo.includes(e)&&zo.push(e)}function Cu(t,e,s){if(Array.isArray(t))return t.reduce((n,i)=>{const o=Cu(i,e,s);return o?{...n,...o}:n},{});if(typeof t=="object")return t;if(t&&e){const n=e[t];return typeof n=="function"?n(s):n}}function Yy(t,e,s){const n=Cu(t,e,s);if(!n)return;const{transition:i,transitionEnd:o,...r}=n;return{...r,...o}}function Xy(t,e){const s=(t.initial===void 0&&t.variants?e?.initial:t.initial)===!1?["initial","animate"]:["initial"],n=t.custom??t.presenceContext?.custom;return s.reduce((i,o)=>({...i,...Yy(t[o]||e?.[o],t.variants,n)}),{})}function Eu(t,e){const s=e?.length;if(s!==t.length)return!1;for(let n=0;n<s;n++)if(e[n]!==t[n])return!1;return!0}var Zy=new Set(["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]);function Vu(t){return Zy.has(t)}const Mu=new WeakMap;var Jy=class{constructor(t,e){this.element=null,this.isExiting=!1,this.presenceContainer=null,this.children=new Set,this.features=new Map,this._context=null,this.options=t,this.parent=e,e?.children?.add(this),this.latestValues=Xy(t,this.context),this.type=Vu(this.options.as)?"svg":"html"}get context(){return this._context||(this._context=new Proxy({},{get:(t,e)=>{const s=this.options[e];return Gn(s)||e==="initial"&&s===!1?s:this.parent?.context[e]}})),this._context}updateFeatures(){if(this.visualElement)for(const t of zo){this.features.has(t.key)||this.features.set(t.key,new t(this));const e=this.features.get(t.key);this.isMounted()&&(e.isMount?e.update():(e.mount(),e.isMount=!0))}}updateOptions(t){this.options=t,this.visualElement?.update({...this.options,whileTap:this.options.whilePress},this.options.presenceContext??null)}mount(t){Mu.set(t,this),this.element=t,t.setAttribute(qy.motionAttribute,this.options.presenceContext?.presenceId??""),this.visualElement?.mount(t),this.updateFeatures()}beforeUnmount(){this.getSnapshot(this.options,!1)}unmount(){this.parent?.children?.delete(this),Mu.delete(this.element),this.features.forEach(t=>t.unmount?.()),this.visualElement?.unmount()}beforeUpdate(){this.getSnapshot(this.options,void 0)}update(){this.updateFeatures(),this.didUpdate()}tryExitComplete(){this.isExiting||this.options?.layoutId&&this.visualElement.projection?.currentAnimation?.state==="running"||this.options.presenceContext?.onMotionExitComplete?.(this.presenceContainer,this)}setActive(t,e){t==="exit"&&e&&(this.isExiting=!0),this.visualElement?.animationState?.setActive(t,e).then(()=>{t==="exit"&&e&&(this.isExiting=!1,this.options?.layoutId?nt.postRender(()=>this.tryExitComplete()):this.tryExitComplete())})}isMounted(){return!!this.element}initVisualElement(t){this.visualElement||(this.visualElement=t(this.options.as,{presenceContext:this.options.presenceContext??null,parent:this.parent?.visualElement,props:{...this.options,whileTap:this.options.whilePress},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{...this.latestValues}},reducedMotionConfig:this.options.motionConfig?.reducedMotion}),this.visualElement.parent?.addChild(this.visualElement),this.isMounted()&&this.visualElement.mount(this.element))}getSnapshot(t,e){}didUpdate(){}},Pe=class{constructor(t){this.state=t}mount(){}unmount(){}update(){}};const Du=["initial","animate","exit","whileHover","whileDrag","whileFocus","whilePress"];var Qy=Du.length;function Ou(t){if(!t)return;if(!t.isControllingVariants){const s=t.parent?Ou(t.parent)||{}:{};return t.props.initial!==void 0&&(s.initial=t.props.initial),s}const e={};for(let s=0;s<Qy;s++){const n=Du[s],i=t.props[n];(Gn(i)||i===!1)&&(e[n]=i)}return e}var Ru=["animate","whileInView","whileFocus","whileHover","whilePress","whileDrag","exit"],tv=[...Ru].reverse(),ev=Ru.length;function Xe(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Lu(){return{animate:Xe(!0),whileInView:Xe(),whileHover:Xe(),whilePress:Xe(),whileDrag:Xe(),whileFocus:Xe(),exit:Xe()}}function sv(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Eu(e,t):!1}function Fu(t){return Array.isArray(t)}function nv(t){return e=>Promise.all(e.map(({animation:s,options:n})=>ig(t,s,n)))}function iv(t){let e=nv(t),s=Lu(),n=!0;const i=l=>(u,c)=>{const f=hs(t,c,l==="exit"?t.presenceContext?.custom:void 0);if(f){const{transition:d,transitionEnd:m,...v}=f;u={...u,...v,...m}}return u};function o(l){e=l(t)}function r(l){const{props:u}=t,c=Ou(t.parent)||{},f=[],d=new Set;let m={},v=1/0;for(let w=0;w<ev;w++){const C=tv[w],E=s[C],P=u[C]!==void 0?u[C]:c[C],A=Gn(P),D=C===l?E.isActive:null;D===!1&&(v=w);let H=P===c[C]&&P!==u[C]&&A;if(H&&n&&t.manuallyAnimateOnMount&&(H=!1),E.protectedKeys={...m},!E.isActive&&D===null||!P&&!E.prevProp||Fo(P)||typeof P=="boolean")continue;const z=sv(E.prevProp,P);let $=z||C===l&&E.isActive&&!H&&A||w>v&&A,j=!1;const G=Array.isArray(P)?P:[P];let it=G.reduce(i(C),{});D===!1&&(it={});const{prevResolvedValues:F={}}=E,lt={...F,...it},yt=q=>{$=!0,d.has(q)&&(j=!0,d.delete(q)),E.needsAnimating[q]=!0;const Y=t.getValue(q);Y&&(Y.liveStyle=!1)};for(const q in lt){const Y=it[q],X=F[q];if(Object.hasOwnProperty.call(m,q))continue;let Lt=!1;Fu(Y)&&Fu(X)?Lt=!Eu(Y,X):Lt=Y!==X,Lt?Y!=null?yt(q):d.add(q):Y!==void 0&&d.has(q)?yt(q):E.protectedKeys[q]=!0}E.prevProp=P,E.prevResolvedValues=it,E.isActive&&(m={...m,...it}),n&&t.blockInitialAnimation&&($=!1);const Gt=H&&z;$&&(!Gt||j)&&f.push(...G.map(q=>{const Y={type:C};if(typeof q=="string"&&n&&!Gt&&t.manuallyAnimateOnMount&&t.parent){const{parent:X}=t,Lt=hs(X,q);if(X.enteringChildren&&Lt){const{delayChildren:vs}=Lt.transition||{};Y.delay=Zl(X.enteringChildren,t,vs)}}return{animation:q,options:Y}}))}if(d.size){const w={};if(typeof u.initial!="boolean"){const C=hs(t,Array.isArray(u.initial)?u.initial[0]:u.initial);C&&C.transition&&(w.transition=C.transition)}d.forEach(C=>{const E=t.getBaseTarget(C),P=t.getValue(C);P&&(P.liveStyle=!0),w[C]=E??null}),f.push({animation:w})}let b=!!f.length;return n&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(b=!1),n=!1,b?e(f):Promise.resolve()}function a(l,u){if(s[l].isActive===u)return Promise.resolve();t.variantChildren?.forEach(f=>{f.animationState?.setActive(l,u)}),s[l].isActive=u;const c=r(l);for(const f in s)s[f].protectedKeys={};return c}return{animateChanges:r,setActive:a,setAnimateFunction:o,getState:()=>s,reset:()=>{s=Lu(),n=!0}}}function Iu(t){return t.style.display==="none"||t.offsetParent===null&&window.getComputedStyle(t).position!=="fixed"}var ov=class extends Pe{static#t=this.key="animation";constructor(t){super(t);const e=t.visualElement;e.animationState||=iv(e)}updateAnimationControlsSubscription(){const{animate:t}=this.state.options;Fo(t)&&(this.unmountControls=t.subscribe(this.state.visualElement))}mount(){Iu(this.state.element)?this.state.setActive("exit",!0):this.state.visualElement.animationState?.animateChanges(),this.updateAnimationControlsSubscription()}update(){this.state.visualElement.animationState?.animateChanges();const{animate:t}=this.state.visualElement.getProps(),{animate:e}=this.state.visualElement.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.state.visualElement.animationState.reset(),this.unmountControls?.()}};function rv(t,e){return Vu(t)?new Jg(e):new Wg(e)}function ju(t){return{point:{x:t.pageX,y:t.pageY}}}var av=class extends Pe{static#t=this.key="press";constructor(t){super(t)}isActive(){const{whilePress:t,onPress:e,onPressCancel:s,onPressStart:n}=this.state.options;return!!(t||e||s||n)}register(){const t=this.state.element;!t||!this.isActive()||(this.removePress?.(),this.removePress=Pg(t,(e,s)=>{const n=this.state.options;return this.state.setActive("whilePress",!0),n.onPressStart&&nt.postRender(()=>n.onPressStart(s,ju(s))),(i,{success:o})=>{this.state.setActive("whilePress",!1);const r=o?"onPress":"onPressCancel",a=this.state.options[r];a&&nt.postRender(()=>a(i,ju(i)))}},{useGlobalTarget:this.state.options.globalPressTarget}))}mount(){this.register()}update(){const t=this.state.visualElement.prevProps;!(t?.whilePress||t?.whileTap||t?.onPress||t?.onPressCancel||t?.onPressStart)&&this.isActive()&&this.register()}unmount(){this.removePress?.(),this.removePress=void 0}};function ku(t){return t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1}function tn(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function lv(t){return e=>ku(e)&&t(e,tn(e))}var cv=class extends Pe{static#t=this.key="hover";constructor(t){super(t)}isActive(){const{whileHover:t,onHoverStart:e,onHoverEnd:s}=this.state.options;return!!(t||e||s)}register(){const t=this.state.element;!t||!this.isActive()||(this.removeHover?.(),this.removeHover=_g(t,(e,s)=>{const n=this.state.options;return this.state.setActive("whileHover",!0),n.onHoverStart&&nt.postRender(()=>n.onHoverStart(s,tn(s))),i=>{this.state.setActive("whileHover",!1);const o=this.state.options.onHoverEnd;o&&nt.postRender(()=>o(i,tn(i)))}}))}mount(){this.register()}update(){const t=this.state.visualElement.prevProps;!(t?.whileHover||t?.onHoverStart||t?.onHoverEnd)&&this.isActive()&&this.register()}unmount(){this.removeHover?.(),this.removeHover=void 0}},uv=class extends Pe{static#t=this.key="inView";constructor(t){super(t)}isActive(){const{whileInView:t,onViewportEnter:e,onViewportLeave:s}=this.state.options;return!!(t||e||s)}startObserver(){const t=this.state.element;if(!t||!this.isActive())return;this.removeObserver?.();const{once:e,...s}=this.state.options.inViewOptions||{};this.removeObserver=By(t,(n,i)=>{const o=this.state.options;if(this.state.setActive("whileInView",!0),o.onViewportEnter&&nt.postRender(()=>o.onViewportEnter(i)),!e)return()=>{this.state.setActive("whileInView",!1);const r=this.state.options.onViewportLeave;r&&nt.postRender(()=>r(i))}},s)}mount(){this.startObserver()}update(){const{props:t,prevProps:e}=this.state.visualElement;["amount","margin","root"].some(s=>t.inViewOptions?.[s]!==e?.inViewOptions?.[s])&&this.startObserver()}unmount(){this.removeObserver?.(),this.removeObserver=void 0}};function Xn(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s)}var fv=class extends Pe{static#t=this.key="focus";constructor(t){super(t),this.isFocused=!1}onFocus(){let t=!1;try{t=this.state.element.matches(":focus-visible")}catch{t=!0}t&&(this.state.setActive("whileFocus",!0),this.isFocused=!0)}onBlur(){this.isFocused&&(this.state.setActive("whileFocus",!1),this.isFocused=!1)}mount(){const t=this.state.element;this.removeFocus=Hs(Xn(t,"focus",()=>this.onFocus()),Xn(t,"blur",()=>this.onBlur()))}unmount(){this.removeFocus?.(),this.removeFocus=void 0}};function $u(t){if(t)return t.options.allowProjection!==!1?t.projection:$u(t.parent)}const Bu={borderRadius:{...fe,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fe,borderTopRightRadius:fe,borderBottomLeftRadius:fe,borderBottomRightRadius:fe,boxShadow:$c};function en(t){return typeof t=="object"&&t!==null&&"nodeType"in t}const dv=typeof window>"u";var hv=class extends Pe{static#t=this.key="projection";constructor(t){super(t),Bc(Bu),dv||this.initProjection()}initProjection(){const t=this.state.options;this.state.visualElement.projection=new ky(this.state.visualElement.latestValues,t["data-framer-portal-id"]?void 0:$u(this.state.visualElement.parent)),this.projection=this.state.visualElement.projection,this.projection.isPresent=!0,this.setOptions()}setOptions(){const t=this.state.options,{layoutId:e,layout:s,drag:n=!1,dragConstraints:i=!1}=t;this.projection?.setOptions({layout:s,layoutId:e,alwaysMeasureLayout:!!e||!!n||i&&en(i),visualElement:this.state.visualElement,animationType:typeof t.layout=="string"?t.layout:"both",layoutRoot:t.layoutRoot,layoutScroll:t.layoutScroll,crossfade:t.crossfade,onExitComplete:()=>{!this.projection?.isPresent&&this.state.options.layoutId&&!this.state.isExiting&&queueMicrotask(()=>{this.state.options.presenceContext?.onMotionExitComplete?.(this.state.presenceContainer,this.state)})}})}update(){this.setOptions()}mount(){this.projection?.mount(this.state.element)}};function sn(t,e,s,n){return Xn(t,e,lv(s),n)}var Nu=new Set(["auto","scroll"]),Uu=class{constructor(t,e,{transformPagePoint:s,contextWindow:n,dragSnapToOrigin:i=!1,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.onElementScroll=c=>{this.handleScroll(c.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const c=Yo(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=Ny(c.offset,{x:0,y:0})>=3;if(!f&&!d)return;const{point:m}=c,{timestamp:v}=St;this.history.push({...m,timestamp:v});const{onStart:b,onMove:w}=this.handlers;f||(b&&b(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),w&&w(this.lastMoveEvent,c)},this.handlePointerMove=(c,f)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=qo(f,this.transformPagePoint),nt.update(this.updatePoint,!0)},this.handlePointerUp=(c,f)=>{this.end();const{onEnd:d,onSessionEnd:m,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=Yo(c.type==="pointercancel"?this.lastMoveEventInfo:qo(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(c,b),m&&m(c,b)},!ku(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=s,this.contextWindow=n||window;const r=qo(tn(t),this.transformPagePoint),{point:a}=r,{timestamp:l}=St;this.history=[{...a,timestamp:l}];const{onSessionStart:u}=e;u&&u(t,Yo(r,this.history)),this.removeListeners=Hs(sn(this.contextWindow,"pointermove",this.handlePointerMove),sn(this.contextWindow,"pointerup",this.handlePointerUp),sn(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}isScrollable(t){const e=window.getComputedStyle(t);return e.overflow==="auto"||e.overflow==="scroll"||e.overflowX==="auto"||e.overflowX==="scroll"||e.overflowY==="auto"||e.overflowY==="scroll"}startScrollTracking(t){let e=t.parentElement;for(;e;){const s=getComputedStyle(e);(Nu.has(s.overflowX)||Nu.has(s.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const e=this.scrollPositions.get(t);if(!e)return;const s=t===window,n=s?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},i={x:n.x-e.x,y:n.y-e.y};i.x===0&&i.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(t,n),nt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners?.(),this.scrollPositions.clear(),Oe(this.updatePoint)}};function qo(t,e){return e?{point:e(t.point)}:t}function Hu(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Yo({point:t},e){return{point:t,delta:Hu(t,Ku(e)),offset:Hu(t,pv(e)),velocity:mv(e,.1)}}function pv(t){return t[0]}function Ku(t){return t[t.length-1]}function mv(t,e){if(t.length<2)return{x:0,y:0};let s=t.length-1,n=null;const i=Ku(t);for(;s>=0&&(n=t[s],!(i.timestamp-n.timestamp>ce(e)));)s--;if(!n)return{x:0,y:0};const o=Kt(i.timestamp-n.timestamp);if(o===0)return{x:0,y:0};const r={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}function Wu(t){return(e,s)=>{t&&nt.postRender(()=>t(e,s))}}var gv=class extends Pe{constructor(...t){super(...t),this.removePointerDownListener=Ht}static#t=this.key="pan";onPointerDown(t){this.session=new Uu(t,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:Pu(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:Wu((t,e)=>{const{onPanSessionStart:s}=this.state.options;s&&s(t,e)}),onStart:Wu((t,e)=>{const{onPanStart:s}=this.state.options;s&&s(t,e)}),onMove:(t,e)=>{const{onPan:s}=this.state.options;s&&s(t,e)},onEnd:(t,e)=>{const{onPanEnd:s}=this.state.options;delete this.session,s&&nt.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=sn(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};function Gu(t){let e=null;return()=>{const s=()=>{e=null};return e===null?(e=t,s):!1}}var zu=Gu("dragHorizontal"),qu=Gu("dragVertical");function yv(t){let e=!1;if(t==="y")e=qu();else if(t==="x")e=zu();else{const s=zu(),n=qu();s&&n?e=()=>{s(),n()}:(s&&s(),n&&n())}return e}function vv(t,{min:e,max:s},n){return e!==void 0&&t<e?t=n?ft(e,t,n.min):Math.max(t,e):s!==void 0&&t>s&&(t=n?ft(s,t,n.max):Math.min(t,s)),t}const Xo=.35;function bv(t,{top:e,left:s,bottom:n,right:i}){return{x:Yu(t.x,s,i),y:Yu(t.y,e,n)}}function Yu(t,e,s){return{min:e!==void 0?t.min+e:void 0,max:s!==void 0?t.max+s-(t.max-t.min):void 0}}function _v(t=Xo){return t===!1?t=0:t===!0&&(t=Xo),{x:Xu(t,"left","right"),y:Xu(t,"top","bottom")}}function Xu(t,e,s){return{min:Zu(t,e),max:Zu(t,s)}}function Zu(t,e){return typeof t=="number"?t:t[e]||0}function xv(t,e){const s={};return e.min!==void 0&&(s.min=e.min-t.min),e.max!==void 0&&(s.max=e.max-t.min),s}function Sv(t,e){return{x:Ju(t.x,e.x),y:Ju(t.y,e.y)}}function Ju(t,e){let s=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([s,n]=[n,s]),{min:s,max:n}}function Tv(t,e){let s=.5;const n=Dt(t),i=Dt(e);return i>n?s=Ks(e.min,e.max-n,t.min):n>i&&(s=Ks(t.min,t.max-i,e.min)),le(0,1,s)}const wv=new WeakMap;var Pv=class{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=gt(),this.state=t}get visualElement(){return this.state.visualElement}start(t,{snapToCursor:e=!1}={}){const s=l=>{e?this.stopAnimation():this.pauseAnimation(),e&&this.snapToCursor(tn(l,"page").point)},n=(l,u)=>{this.stopAnimation();const{drag:c,dragPropagation:f,onDragStart:d}=this.getProps();c&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=yv(c),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Wt(m=>{let v=this.getAxisMotionValue(m).get()||0;if(ue.test(v)){const{projection:b}=this.visualElement;if(b&&b.layout){const w=b.layout.layoutBox[m];w&&(v=Dt(w)*(parseFloat(v)/100))}}this.originPoint[m]=v}),d&&nt.postRender(()=>d(l,u)),Eo(this.visualElement,"transform"),this.state.setActive("whileDrag",!0))},i=(l,u)=>{const{dragPropagation:c,dragDirectionLock:f,onDirectionLock:d,onDrag:m}=this.getProps();if(!c&&!this.openGlobalLock)return;const{offset:v}=u;if(f&&this.currentDirection===null){this.currentDirection=Av(v),this.currentDirection!==null&&d&&d(this.currentDirection);return}this.updateAxis("x",u.point,v),this.updateAxis("y",u.point,v),this.visualElement.render(),m&&m(l,u)},o=(l,u)=>this.stop(l,u),r=()=>Wt(l=>this.getAnimationState(l)==="paused"&&this.getAxisMotionValue(l).animation?.play()),{dragSnapToOrigin:a}=this.getProps();this.panSession=new Uu(t,{onSessionStart:s,onStart:n,onMove:i,onSessionEnd:o,resumeAnimation:r},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:a,contextWindow:Pu(this.visualElement),element:this.state.element})}stop(t,e){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:n}=e;this.startAnimation(n);const{onDragEnd:i}=this.getProps();i&&nt.postRender(()=>i(t,e))}cancel(){this.isDragging=!1;const{projection:t}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:e}=this.getProps();!e&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),this.state.setActive("whileDrag",!1)}updateAxis(t,e,s){const{drag:n}=this.getProps();if(!s||!Zn(t,n,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(o=vv(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&en(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&s?this.constraints=bv(s.layoutBox,t):this.constraints=!1,this.elastic=_v(e),n!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&Wt(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=xv(s.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!en(t))return!1;const s=t,{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const i=$g(s,n.root,this.visualElement.getTransformPagePoint());let o=Sv(n.layout.layoutBox,i);if(e){const r=e(Ig(o));this.hasMutatedConstraints=!!r,r&&(o=Ec(r))}return o}startAnimation(t){const{drag:e,dragMomentum:s,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=Wt(u=>{if(!Zn(u,e,this.currentDirection))return;let c=a&&a[u]||{};o&&(c={min:0,max:0});const f=n?200:1e6,d=n?40:1e7,m={type:"inertia",velocity:s?t[u]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(u,m)});return Promise.all(l).then(r)}startAxisValueAnimation(t,e){const s=this.getAxisMotionValue(t);return Eo(this.visualElement,t),s.start(Co(t,s,0,e,this.visualElement,!1))}stopAnimation(){this.visualElement.projection?.isPresent&&Wt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Wt(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,s=this.visualElement.getProps();return s[e]||this.visualElement.getValue(t,(s.initial?s.initial[t]:void 0)||0)}snapToCursor(t){Wt(e=>{const{drag:s}=this.getProps();if(!Zn(e,s,this.currentDirection))return;const{projection:n}=this.visualElement,i=this.getAxisMotionValue(e);if(n&&n.layout){const{min:o,max:r}=n.layout.layoutBox[e];i.set(t[e]-ft(o,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:s}=this.visualElement;if(!en(e)||!s||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};Wt(o=>{const r=this.getAxisMotionValue(o);if(r&&this.constraints!==!1){const a=r.get();n[o]=Tv({min:a,max:a},this.constraints[o])}});const{transformTemplate:i}=this.visualElement.getProps();this.state.element.style.transform=i?i({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),Wt(o=>{if(!Zn(o,t,null))return;const r=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];r.set(ft(a,l,n[o]))})}addListeners(){if(!this.state.element)return;wv.set(this.visualElement,this);const t=this.state.element,e=sn(t,"pointerdown",a=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(a)}),s=()=>{const{dragConstraints:a}=this.getProps();en(a)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",s);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),nt.read(s);const o=Xn(window,"resize",()=>this.scalePositionWithinConstraints()),r=n.addEventListener("didUpdate",(({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(Wt(u=>{const c=this.getAxisMotionValue(u);c&&(this.originPoint[u]+=a[u].translate,c.set(c.get()+a[u].translate))}),this.visualElement.render())}));return()=>{o(),e(),i(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:s=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:o=Xo,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:s,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:r}}};function Zn(t,e,s){return(e===!0||e===t)&&(s===null||s===t)}function Av(t,e=10){let s=null;return Math.abs(t.y)>e?s="y":Math.abs(t.x)>e&&(s="x"),s}var Cv=class extends Pe{static#t=this.key="drag";constructor(t){super(t),this.removeGroupControls=Ht,this.removeListeners=Ht,this.controls=new Pv(t)}mount(){const{dragControls:t}=this.state.options;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ht}unmount(){this.removeGroupControls(),this.removeListeners()}},nn=!1,Ev=class extends Pe{static#t=this.key="layout";constructor(t){super(t),this.hasMountSettled=!1,Bc(Bu),t.getSnapshot=this.getSnapshot.bind(this),t.didUpdate=this.didUpdate.bind(this)}updatePrevLead(t){const e=t.getStack();e?.prevLead&&!e.prevLead.snapshot&&(e.prevLead.willUpdate(),nn=!0)}didUpdate(){nn&&(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&(nn=!1,this.state.visualElement.projection?.root?.didUpdate())}mount(){const t=this.state.options,e=this.state.options.layoutGroup;if(t.layout||t.layoutId){const s=this.state.visualElement.projection;if(t.layoutId){const n=!Iu(this.state.element);s.isPresent=n,n?s.promote():s.relegate(),this.updatePrevLead(s)}e?.group?.add(s),Yn.hasEverUpdated=!0}this.didUpdate(),nt.postRender(()=>{this.hasMountSettled=!0})}unmount(){const t=this.state.options.layoutGroup,e=this.state.visualElement.projection;e&&(t?.group&&(this.state.options.layout||this.state.options.layoutId)&&t.group.remove(e),this.state.options.layoutId&&(nn=!0),this.didUpdate())}getSnapshot(t,e){const s=this.state.visualElement.projection,{drag:n,layoutDependency:i,layout:o,layoutId:r}=t;if(!s||!o&&!r&&!n||!this.hasMountSettled)return;nn=!0;const a=this.state.options;(n||a.layoutDependency!==i||i===void 0||wu(e)&&s.isPresent!==e)&&s.willUpdate(),wu(e)&&e!==s.isPresent&&(s.isPresent=e,e?(s.promote(),this.updatePrevLead(s)):s.relegate())}};const Vv={renderer:rv,features:[ov,av,cv,uv,fv,hv,gv,Cv,Ev]},[Mv]=Us("LazyMotionContext"),[Dv]=Us("AnimatePresenceContext");function Ov(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}function Qu(){return{transform:{},transformOrigin:{},style:{},vars:{}}}function Rv(){return{...Qu(),attrs:{}}}function Lv(t){const e=Qu();Bo(e,t);const s={...e.style};for(const n in e.vars)s[n]=e.vars[n];return Object.keys(s).length===0?null:s}function Fv(t,e,s){const n=Rv();Uc(n,t,Hc(e),void 0,s);const i={};for(const o in n.attrs){const r=No.has(o)?o:Ov(o);i[r]=n.attrs[o]}return{attrs:i,style:{...n.style,...n.vars}}}function Iv(t,e){const s=Uy(null),n=Ky({}),i=zy(),o=Dv({}),r=Mv({features:ns({}),strict:!1}),a=Od();function l(){return hp(t,{layoutGroup:n,presenceContext:o,config:i.value})}function u(){return{...a,...l()}}const c=new Jy(u(),s);Hy(c),e&&c.initVisualElement(e),Pn(r.features,m=>{m.features?.length&&Au(m.features),m.renderer&&c.initVisualElement(m.renderer),c.updateFeatures()},{immediate:!0,flush:"pre"});function f(){const m=c.type==="svg",v={...a};Object.keys(a).forEach(E=>{Pt(a[E])&&(v[E]=a[E].get())});const b=c.visualElement?.latestValues||c.latestValues;let w={...t.style,...m?{}:b};for(const E in w)Pt(w[E])&&(w[E]=w[E].get());if(m){const{attrs:E,style:P}=Fv({...b,...w},c.options.as,t.style);Object.assign(v,E),w=P}t.drag&&t.dragListener!==!1&&Object.assign(w,{userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",touchAction:t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`});const C=Lv(w);return C&&(v.style=C),v}const d=Fn().proxy;return Ci(()=>{const m=Go(d.$el);c.mount(m)}),Ei(()=>c.beforeUnmount()),Vi(()=>{Go(d.$el)?.isConnected||c.unmount()}),Yr(()=>{c.beforeUpdate(),c.updateOptions(u())}),Xr(()=>{c.update()}),{getProps:l,getAttrs:f,layoutGroup:n,state:c}}const jv={ignoreStrict:{type:Boolean},forwardMotionProps:{type:Boolean,default:!1},asChild:{type:Boolean,default:!1},whileDrag:{type:[String,Array,Object]},whileHover:{type:[String,Array,Object]},whilePress:{type:[String,Array,Object]},whileInView:{type:[String,Array,Object]},whileFocus:{type:[String,Array,Object]},custom:{type:[String,Number,Object,Array]},initial:{type:[String,Array,Object,Boolean],default:void 0},animate:{type:[String,Array,Object],default:void 0},exit:{type:[String,Array,Object]},variants:{type:Object},inherit:{type:Boolean},style:{type:Object},transformTemplate:{type:Function},transition:{type:Object},onAnimationComplete:{type:Function},onUpdate:{type:Function},layout:{type:[Boolean,String],default:!1},layoutId:{type:String,default:void 0},layoutScroll:{type:Boolean,default:!1},layoutRoot:{type:Boolean,default:!1},"data-framer-portal-id":{type:String},crossfade:{type:Boolean,default:!0},layoutDependency:{type:null,default:void 0},onBeforeLayoutMeasure:{type:Function},onLayoutMeasure:{type:Function},onLayoutAnimationStart:{type:Function},onLayoutAnimationComplete:{type:Function},globalPressTarget:{type:Boolean},onPressStart:{type:Function},onPress:{type:Function},onPressCancel:{type:Function},onHoverStart:{type:Function},onHoverEnd:{type:Function},inViewOptions:{type:Object},onViewportEnter:{type:Function},onViewportLeave:{type:Function},drag:{type:[Boolean,String]},dragSnapToOrigin:{type:Boolean},dragDirectionLock:{type:Boolean},dragPropagation:{type:Boolean},dragConstraints:{type:[Boolean,Object]},dragElastic:{type:[Boolean,Number,Object],default:.5},dragMomentum:{type:Boolean,default:!0},dragTransition:{type:Object},dragListener:{type:Boolean,default:!0},dragControls:{type:Object},onDragStart:{type:Function},onDragEnd:{type:Function},onDrag:{type:Function},onDirectionLock:{type:Function},onDragTransitionEnd:{type:Function},onMeasureDragConstraints:{type:Function},onPanSessionStart:{type:Function},onPanStart:{type:Function},onPan:{type:Function},onPanEnd:{type:Function}};var kv=new Map,$v=new Map;function Bv(t){if(!Array.isArray(t))return[t];const e=[];for(const s of t)Array.isArray(s)?e.push(...s):e.push(s);return e}var Nv=["area","img","input"];function Uv(t,e,s){if(typeof t=="string"&&Nv.includes(t))return Ni(t,e);if(t==="template"){if(!s.default)return null;const n=Bv(s.default()),i=n.findIndex(l=>l.type!==xt);if(i===-1)return n;const o=n[i];delete o.props?.ref;const r=o.props?Ca(e,o.props):e;e.class&&o.props?.class&&delete o.props.class;const a=_e(o,r);for(const l in r)l.startsWith("on")&&(a.props||={},a.props[l]=r[l]);return n.length===1?a:(n[i]=a,n)}return null}function tf(t,e={}){const s=typeof t=="string",n=s?t:t.name||"",i=e.renderer?kv:$v;if(s&&i?.has(t))return i.get(t);const o=vd({inheritAttrs:!1,props:{...jv,as:{type:[String,Object],default:t||"div"}},name:n?`motion.${n}`:"Motion",setup(r,{slots:a}){const{getProps:l,getAttrs:u,state:c}=Iv(r,e.renderer);function f(){const d=c.element;if((typeof r.as!="object"||r.asChild)&&d){const{style:m}=u();if(m)for(const[v,b]of Object.entries(m))d.style[v]=b}}return()=>{const d=l(),m=u(),v=r.asChild?"template":r.as,b={...r.forwardMotionProps?d:{},...m,onVnodeUpdated:f},w=Uv(v,b,a);return w!==null?w:Ni(v,{...b},a)}}});return s&&i?.set(t,o),o}function Hv(t){const e=t?.renderer;return Au(t?.features||[]),new Proxy({},{get(s,n){return n==="create"?(i,o)=>tf(i,{...o,renderer:e}):tf(n,{renderer:e})}})}const ef=Hv(Vv);ef.create("div");const Kv={class:"slds-navigation-list--vertical"},Wv={class:"slds-navigation-list__item-content"},Gv={class:"slds-navigation-list__item-title"},zv={__name:"SidebarLayout",props:{schemas:{type:Array,required:!0},selectedSchema:{type:Object,default:null}},emits:["selectSchema"],setup(t,{emit:e}){const s=t,n=e,i=ns(s.selectedSchema?.fileName||null);function o(a){i.value=a.fileName,n("selectSchema",a)}function r(a){return a.schema?.title||a.fileName||"Untitled Schema"}return(a,l)=>(I(),B("div",Kv,[l[0]||(l[0]=g("div",{class:"slds-navigation-list__item"},[g("div",{class:"slds-navigation-list__item-content"},[g("div",{class:"slds-navigation-list__item-title"},[g("span",{class:"slds-text-heading_small"},"Schemas")])])],-1)),(I(!0),B(dt,null,Me(t.schemas,u=>(I(),B("div",{key:u.fileName,class:"slds-navigation-list__item"},[g("div",Wv,[g("div",Gv,[st(Er(ef).button,{"while-hover":{scale:1.05},"while-press":{scale:.95},class:Ct(["slds-button slds-button_neutral slds-button_stretch",{"slds-is-active":i.value===u.fileName}]),onClick:c=>o(u)},{default:wn(()=>[js(J(r(u)),1)]),_:2},1032,["class","onClick"])])])]))),128))]))}},sf="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='52'%20width='52'%20viewBox='0%200%20520%20520'%20fill='%23fff'%3e%3cpath%20d='M514%20425%20285%2055a28%2028%200%200%200-50%200L6%20425c-14%2023%200%2055%2025%2055h458c25%200%2040-32%2025-55m-254-25c-17%200-30-13-30-30s13-30%2030-30%2030%2013%2030%2030-13%2030-30%2030m30-90c0%206-4%2010-10%2010h-40c-6%200-10-4-10-10V180c0-6%204-10%2010-10h40c6%200%2010%204%2010%2010z'/%3e%3c/svg%3e",nf=(t,e)=>{const s=t.__vccOpts||t;for(const[n,i]of e)s[n]=i;return s},qv={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},Yv={class:"slds-notify__content"},of=nf({__name:"NoPropertiesMessage",props:{title:{type:String,default:"No Properties Defined"},message:{type:String,default:"This object doesn't have any properties defined in the schema."}},setup(t){return(e,s)=>(I(),B("div",qv,[s[0]||(s[0]=g("span",{class:"slds-assistive-text"},"warning",-1)),s[1]||(s[1]=g("span",{class:"slds-icon_container slds-icon-utility-warning slds-m-right_x-small"},[g("img",{src:sf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",Yv,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-a28aa892"]]),Xv={key:0,class:"slds-m-top_medium"},Zv={class:"slds-box slds-theme_shade"},Jv={class:"slds-grid slds-wrap slds-gutters"},Qv={class:"constraint-item"},t0={class:"slds-text-title_caps slds-text-color_default"},e0={class:"slds-text-body_regular slds-m-top_xx-small"},Zo={__name:"SchemaConstraints",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>{const a={};return["minimum","maximum","exclusiveMinimum","exclusiveMaximum","minLength","maxLength","pattern","minItems","maxItems","uniqueItems","minProperties","maxProperties"].forEach(u=>{e.schema[u]!==void 0&&(a[u]=e.schema[u])}),a}),n=bt(()=>Object.entries(s.value).length!==0);function i(a){return a.replace(/([A-Z])/g," $1").replace(/^./,l=>l.toUpperCase())}function o(a){return typeof a=="boolean"?a?"Yes":"No":typeof a=="string"&&a.startsWith("^")?`Pattern: ${a}`:a}function r(a){return typeof a=="boolean"?a?"slds-badge_success":"slds-badge_inverse":typeof a=="number"?"slds-badge_warning":typeof a=="string"&&a.startsWith("^")?"slds-badge_info":""}return(a,l)=>n.value?(I(),B("div",Xv,[l[0]||(l[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Constraints ",-1)),g("div",Zv,[g("div",Jv,[(I(!0),B(dt,null,Me(s.value,(u,c)=>(I(),B("div",{key:c,class:"slds-col slds-size_1-of-2 slds-p-around_xx-small"},[g("div",Qv,[g("div",t0,J(i(c)),1),g("div",e0,[g("span",{class:Ct(["slds-badge",r(u)])},J(o(u)),3)])])]))),128))])])])):Ut("",!0)}},s0={class:"array-schema"},n0={class:"slds-box slds-theme_shade"},i0={class:"slds-grid slds-gutters"},o0={key:0,class:"slds-col"},r0={class:"slds-badge"},a0={key:1,class:"slds-m-top_medium"},l0={class:"slds-text-title_caps slds-m-bottom_xx-small"},c0={key:3,class:"slds-m-top_medium"},u0={key:4,class:"slds-m-top_medium"},f0={key:0,class:"slds-m-top_xx-small"},d0={__name:"ArraySchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>["minItems","maxItems","uniqueItems"].some(o=>o in e.schema)),n=bt(()=>e.schema.items?Array.isArray(e.schema.items)?"Tuple":e.schema.items.type||"Not specified":"Not defined");return(i,o)=>(I(),B("div",s0,[g("div",n0,[g("div",i0,[o[1]||(o[1]=g("div",{class:"slds-col"},[g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type "),g("div",{class:"slds-badge"}," array ")],-1)),t.schema.items?(I(),B("div",o0,[o[0]||(o[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Items Type ",-1)),g("div",r0,J(n.value),1)])):Ut("",!0)])]),s.value?(I(),kt(Zo,{key:0,schema:t.schema},null,8,["schema"])):Ut("",!0),t.schema.items?(I(),B("div",a0,[o[2]||(o[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Items Schema ",-1)),Array.isArray(t.schema.items)?(I(!0),B(dt,{key:0},Me(t.schema.items,(r,a)=>(I(),B("div",{key:a,class:"slds-m-bottom_medium"},[g("div",l0," Index "+J(a),1),st(Ae,{schema:r,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128)):(I(),kt(Ae,{key:1,schema:t.schema.items,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):(I(),kt(of,{key:2,title:"No Items Defined",message:"This array doesn't have any items defined in the schema."})),t.schema.contains?(I(),B("div",c0,[o[3]||(o[3]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Contains ",-1)),st(Ae,{schema:t.schema.contains,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])):Ut("",!0),t.schema.additionalItems!==void 0&&Array.isArray(t.schema.items)?(I(),B("div",u0,[o[4]||(o[4]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Additional Items ",-1)),typeof t.schema.additionalItems=="boolean"?(I(),B("div",f0,[g("span",{class:Ct(t.schema.additionalItems?"status-allowed":"status-denied")},J(t.schema.additionalItems?"Allowed":"Not allowed"),3)])):(I(),kt(Ae,{key:1,schema:t.schema.additionalItems,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ut("",!0)]))}},h0={class:"slds-box slds-theme_shade"},p0={class:"slds-text-heading_small slds-m-bottom_small"},m0={class:"slds-tabs_default"},g0={class:"slds-tabs_default__nav",role:"tablist"},y0=["aria-selected","aria-controls","onClick"],v0={class:"slds-tabs_default__title"},b0=["id"],_0={class:"slds-p-around_medium"},x0={class:"slds-text-title_caps slds-m-bottom_small"},S0={__name:"CompositionSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>e.schema.anyOf?"anyOf":e.schema.oneOf?"oneOf":e.schema.allOf?"allOf":null),n=ns(0),i=bt(()=>e.schema[s.value]||[]);dd(()=>{i.value.forEach(u=>{u.type||(u.type=e.schema.type)})});const o=bt(()=>{switch(s.value){case"oneOf":return"One Of (Choose One)";case"anyOf":return"Any Of (Choose Any)";case"allOf":return"All Of (Must Match All)";default:return s.value}}),r=bt(()=>{switch(e.compositionType){case"oneOf":return"slds-badge_success";case"anyOf":return"slds-badge_warning";case"allOf":return"slds-badge_inverse";default:return""}});function a(u){return Array.isArray(u.type)?u.type.join(" | "):u.type||"object"}function l(u,c){return u.title?u.title:`Option ${c+1}`}return(u,c)=>(I(),B("div",h0,[g("div",p0,[g("span",{class:Ct(["slds-badge",r.value])},J(o.value),3)]),g("div",m0,[g("ul",g0,[(I(!0),B(dt,null,Me(i.value,(f,d)=>(I(),B("li",{key:d,class:Ct(["slds-tabs_default__item",{"slds-is-active":n.value===d}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":n.value===d,"aria-controls":`tab-${d}`,onClick:m=>n.value=d},[g("span",v0,J(l(f,d)),1)],8,y0)],2))),128))]),(I(!0),B(dt,null,Me(i.value,(f,d)=>(I(),B("div",{id:`tab-${d}`,key:d,class:Ct(["slds-tabs_default__content",{"slds-show":n.value===d,"slds-hide":n.value!==d}]),role:"tabpanel"},[g("div",_0,[g("div",x0," Schema Type: "+J(a(f)),1),st(Ae,{schema:f,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])],10,b0))),128))])]))}},T0={class:"slds-box slds-theme_shade"},w0={class:"slds-grid slds-wrap slds-gutters"},P0={class:"slds-col slds-size_1-of-1 slds-p-around_xx-small"},A0={key:0,class:"slds-box slds-theme_shade slds-m-vertical_xx-small"},C0={key:1,class:"slds-badge slds-badge_inverse"},E0={__name:"ConstSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>e.schema.const),n=bt(()=>typeof s.value=="object"&&s.value!==null),i=bt(()=>n.value?JSON.stringify(s.value,null,2):s.value);return(o,r)=>(I(),B("div",T0,[r[0]||(r[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Const Value ",-1)),g("div",w0,[g("div",P0,[n.value?(I(),B("pre",A0,[g("code",null,J(i.value),1)])):(I(),B("div",C0,J(i.value),1))])])]))}},V0={class:"slds-box slds-theme_shade"},M0={class:"slds-grid slds-wrap slds-gutters"},D0={class:"slds-badge slds-badge_inverse"},O0={__name:"EnumSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>e.schema.enum);return(n,i)=>(I(),B("div",V0,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Enum Values ",-1)),g("div",M0,[(I(!0),B(dt,null,Me(s.value,(o,r)=>(I(),B("div",{key:r,class:"slds-col slds-size_1-of-3 slds-p-around_xx-small"},[g("div",D0,J(o),1)]))),128))])]))}},R0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='52'%20width='52'%20viewBox='0%200%20520%20520'%20fill='%23fff'%3e%3cpath%20d='M476%20178%20271%20385c-6%206-16%206-22%200L44%20178c-6-6-6-16%200-22l22-22c6-6%2016-6%2022%200l161%20163c6%206%2016%206%2022%200l161-163c6-6%2016-6%2022%200l22%2022c5%207%205%2016%200%2022'/%3e%3c/svg%3e",L0={key:0},F0={key:1},I0={class:"slds-box slds-m-top_small"},j0={class:"slds-table_container"},k0={class:"slds-table slds-table_cell-buffer slds-table_bordered"},$0=["onClick"],B0=["title"],N0={class:"slds-truncate"},U0={class:"slds-badge"},H0=["title"],K0={class:"slds-truncate"},W0={key:0,class:"slds-badge slds-badge_success"},G0={key:1,class:"slds-badge slds-badge_inverse"},z0={key:0},q0={colspan:"4",class:"slds-p-around_medium"},Y0={class:"slds-box slds-theme_shade"},X0={key:2},Z0={key:3},J0={key:0},Q0={__name:"ObjectSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=ns({}),n=bt(()=>e.schema.properties&&Object.keys(e.schema.properties).length>0||e.schema.patternProperties&&Object.keys(e.schema.patternProperties).length>0);function i(a){return e.schema.required&&e.schema.required.includes(a)}function o(a){return a.type?a.type:Ze.hasComposition(a)?"composition":Ze.isEnum(a)?"enum":Ze.isConst(a)?"const":"No type found"}function r(a){s.value[a]=!s.value[a]}return(a,l)=>(I(),B("div",null,[l[6]||(l[6]=g("div",null,[g("div",null,"Type: object")],-1)),st(Zo,{schema:t.schema},null,8,["schema"]),t.schema.required&&t.schema.required.length>0?(I(),B("div",L0,[l[0]||(l[0]=g("span",null,"Required properties:",-1)),g("span",null,J(t.schema.required.join(", ")),1)])):Ut("",!0),n.value?(I(),B("div",F0,[g("div",I0,[l[2]||(l[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Properties ",-1)),g("div",j0,[g("table",k0,[l[1]||(l[1]=g("thead",null,[g("tr",{class:"slds-line-height_reset"},[g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Property"}," Property ")]),g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Type"}," Type ")]),g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Description"}," Description ")]),g("th",{class:"slds-text-title_caps",scope:"col"},[g("div",{class:"slds-truncate",title:"Required"}," Required ")])])],-1)),g("tbody",null,[(I(!0),B(dt,null,Me(t.schema.properties,(u,c)=>(I(),B(dt,{key:c},[g("tr",{class:"slds-hint-parent is-interactive",onClick:f=>r(c)},[g("td",null,[g("div",{class:"slds-truncate",title:c},[g("img",{src:R0,class:Ct(["slds-button__icon",{expanded:s.value[c]}]),alt:""},null,2),js(" "+J(c),1)],8,B0)]),g("td",null,[g("div",N0,[g("span",U0,J(o(u)),1)])]),g("td",null,[g("div",{class:"slds-truncate",title:u.description},J(u.description||"No description"),9,H0)]),g("td",null,[g("div",K0,[i(c)?(I(),B("span",W0,"Required")):(I(),B("span",G0,"Optional"))])])],8,$0),st(Th,null,{default:wn(()=>[s.value[c]?(I(),B("tr",z0,[g("td",q0,[g("div",Y0,[st(Ae,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])])])):Ut("",!0)]),_:2},1024)],64))),128))])])])])])):Ut("",!0),t.schema.patternProperties?(I(),B("div",X0,[l[4]||(l[4]=g("div",null,"Pattern Properties",-1)),g("div",null,[(I(!0),B(dt,null,Me(t.schema.patternProperties,(u,c)=>(I(),B("div",{key:c},[g("div",null,[g("div",null,[l[3]||(l[3]=g("span",null,"Pattern:",-1)),g("code",null,J(c),1)])]),st(Ae,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128))])])):Ut("",!0),t.schema.additionalProperties!==void 0?(I(),B("div",Z0,[l[5]||(l[5]=g("div",null,"Additional Properties",-1)),typeof t.schema.additionalProperties=="boolean"?(I(),B("div",J0,[g("span",{class:Ct(t.schema.additionalProperties?"status-allowed":"status-denied")},J(t.schema.additionalProperties?"Allowed":"Not allowed"),3)])):(I(),kt(Ae,{key:1,schema:t.schema.additionalProperties,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):Ut("",!0),n.value?Ut("",!0):(I(),kt(of,{key:4}))]))}},tb={class:"slds-box slds-m-top_small"},eb={class:"slds-box slds-theme_shade"},sb={class:"slds-text-body_regular"},nb={class:"slds-grid slds-gutters"},ib={class:"slds-col"},ob={class:"slds-badge"},rb={class:"slds-col"},on={__name:"PrimitiveSchema",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(I(),B("div",tb,[s[2]||(s[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Type Information ",-1)),g("div",eb,[g("div",sb,[g("div",nb,[g("div",ib,[s[0]||(s[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type ",-1)),g("div",ob,J(t.schema.type),1)]),g("div",rb,[s[1]||(s[1]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Description ",-1)),g("div",null,J(t.schema.description||"No description"),1)])])])]),st(Zo,{schema:t.schema},null,8,["schema"])]))}},ab={object:Q0,array:d0,string:on,number:on,integer:on,boolean:on,null:on},Ze={hasComposition:t=>!!(t.anyOf||t.oneOf||t.allOf),isEnum:t=>"enum"in t&&Array.isArray(t.enum),isConst:t=>"const"in t,getComponentForSchema:t=>Ze.hasComposition(t)?S0:Ze.isEnum(t)?O0:Ze.isConst(t)?E0:ab[t.type]||null},lb={class:"slds-grid slds-grid_vertical"},cb={class:"slds-col slds-size_1-of-1"},ub={class:"slds-card"},fb={class:"slds-card__body slds-card__body_inner"},db={__name:"SchemaLayout",setup(t){return(e,s)=>(I(),B("div",lb,[g("div",cb,[g("div",ub,[g("div",fb,[Md(e.$slots,"default")])])])]))}},hb={class:"slds-box"},pb={class:"slds-box slds-theme_shade"},mb={__name:"PlainSchemaView",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=bt(()=>{const n=JSON.parse(JSON.stringify(e.schema));return n._metadata&&delete n._metadata,JSON.stringify(n,null,2)});return(n,i)=>(I(),B("div",hb,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"},[js(" Schema in plain with all "),g("code",null,"$ref"),js(" references already resolved ")],-1)),g("pre",pb,[g("code",null,J(s.value),1)])]))}},gb={class:"slds-page-header"},yb={class:"slds-page-header__row"},vb={class:"slds-page-header__col-title"},bb={class:"slds-media"},_b={class:"slds-media__body"},xb={class:"slds-page-header__name"},Sb={class:"slds-page-header__name-title"},Tb={class:"slds-page-header__title slds-truncate",title:"{{ schema.title || 'Schema' }}"},wb={class:"slds-page-header__meta-text"},Pb={__name:"SchemaHeader",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(I(),B("div",gb,[g("div",yb,[g("div",vb,[g("div",bb,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:sl,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",_b,[g("div",xb,[g("div",Sb,[g("h1",Tb,J(t.schema.title||"Schema"),1)])]),g("div",wb,J(t.schema.description||"No description provided"),1)])])])])]))}},Ab={class:"slds-tabs_default__nav",role:"tablist"},Cb={__name:"SchemaTabs",props:{modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(t){return(e,s)=>(I(),B("ul",Ab,[g("li",{class:Ct(["slds-tabs_default__item",{"slds-is-active":t.modelValue==="visual"}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":"true","aria-controls":"visual-tab",onClick:s[0]||(s[0]=n=>e.$emit("update:modelValue","visual"))},[...s[2]||(s[2]=[g("span",{class:"slds-tabs_default__title"},"Visual",-1)])])],2),g("li",{class:Ct(["slds-tabs_default__item",{"slds-is-active":t.modelValue==="plain"}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":"true","aria-controls":"plain-tab",onClick:s[1]||(s[1]=n=>e.$emit("update:modelValue","plain"))},[...s[3]||(s[3]=[g("span",{class:"slds-tabs_default__title"},"Plain JSON",-1)])])],2)]))}},Eb={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},Vb={class:"slds-notify__content"},Mb=nf({__name:"UnknownSchemaMessage",props:{title:{type:String,default:"Unknown schema"},message:{type:String,default:"This schema doesen't have proper handling yet."}},setup(t){return(e,s)=>(I(),B("div",Eb,[s[0]||(s[0]=g("span",{class:"slds-assistive-text"},"warning",-1)),s[1]||(s[1]=g("span",{class:"slds-icon_container slds-icon-utility-warning slds-m-right_x-small"},[g("img",{src:sf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",Vb,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-bde50c13"]]),Db={class:"slds-tabs_default"},Ob={class:"slds-p-around_medium"},Rb={class:"slds-m-top_medium"},Lb={class:"slds-p-around_medium"},Ae={__name:"SchemaViewer",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,default:null},isRoot:{type:Boolean,default:!0}},setup(t){const e=t,s=ns("visual"),n=bt(()=>e.isRoot?e.schema:e.rootSchema);Ti("rootSchema",n);const i=bt(()=>Ze.getComponentForSchema(e.schema));return(o,r)=>(I(),kt(db,null,{default:wn(()=>[g("div",Db,[st(Cb,{modelValue:s.value,"onUpdate:modelValue":r[0]||(r[0]=a=>s.value=a)},null,8,["modelValue"]),g("div",{class:Ct({"slds-show":s.value==="visual","slds-hide":s.value!=="visual"})},[g("div",Ob,[st(Pb,{schema:t.schema},null,8,["schema"]),g("div",Rb,[i.value?(I(),kt(Ed(i.value),{key:0,schema:t.schema,"root-schema":n.value},null,8,["schema","root-schema"])):(I(),kt(Mb,{key:1}))])])],2),g("div",{class:Ct({"slds-show":s.value==="plain","slds-hide":s.value!=="plain"})},[g("div",Lb,[st(mb,{schema:t.schema},null,8,["schema"])])],2)])]),_:1}))}},Fb={class:"slds-grid slds-grid_vertical"},Ib={class:"slds-grid slds-gutters slds-grid_vertical-fill"},jb={class:"slds-col slds-size_2-of-12"},kb={class:"slds-col slds-size_10-of-12"},$b={key:1,class:"slds-p-around_medium"},rf={__name:"App",props:{title:{type:String,default:"JSON Schema Documentation"},description:{type:String,default:""},schemas:{type:Array,default:()=>[]},generatedAt:{type:String,default:()=>new Date().toISOString()}},setup(t){const e=t,s=ns(e.schemas.length>0?e.schemas[0]:null);function n(i){s.value=i}return(i,o)=>(I(),B("div",Fb,[st(dp,{title:t.title},null,8,["title"]),g("div",Ib,[g("div",jb,[st(zv,{schemas:t.schemas,"selected-schema":s.value,onSelectSchema:n},null,8,["schemas","selected-schema"])]),g("div",kb,[s.value?(I(),kt(Ae,{key:0,schema:s.value.schema,"is-root":!0},null,8,["schema"])):(I(),B("div",$b,[...o[0]||(o[0]=[lh('<div class="slds-text-align_center"><svg viewBox="0 0 454 272" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><circle vector-effect="non-scaling-stroke" cx="150" cy="150" r="40" fill="#F9F9F9"></circle><circle vector-effect="non-scaling-stroke" cx="150" cy="150" r="30" fill="#ECEBEA"></circle><circle vector-effect="non-scaling-stroke" cx="150" cy="150" r="20" fill="#D9D7D5"></circle></g></svg></div><div class="slds-text-align_center slds-m-top_medium"><h3 class="slds-text-heading_medium"> No Schema Selected </h3><p class="slds-text-body_regular slds-m-top_small"> Select a schema from the sidebar to view its documentation. </p></div>',2)])]))])]),st(np,{description:t.description,"generated-at":t.generatedAt,"schema-count":t.schemas.length},null,8,["description","generated-at","schema-count"])]))}};async function af(){const t=window.__JSON_SCHEMA_DOCS_DATA__||{title:"JSON Schema Documentation",description:"",schemas:[],generatedAt:new Date().toISOString()};document.getElementById("app")&&el(rf,t).mount("#app")}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",af):af(),Fe.App=rf,Fe.createApp=el,Object.defineProperty(Fe,Symbol.toStringTag,{value:"Module"})}));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "slds-json-schema-renderer",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.37",
|
|
5
5
|
"description": "A CLI tool to generate documentation from JSON schema files",
|
|
6
6
|
"author": "PhyberApex",
|
|
7
7
|
"license": "MIT",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"ajv": "8.18.0",
|
|
52
52
|
"chalk": "5.6.2",
|
|
53
53
|
"commander": "13.1.0",
|
|
54
|
-
"fs-extra": "11.3.
|
|
54
|
+
"fs-extra": "11.3.4",
|
|
55
55
|
"glob": "13.0.6",
|
|
56
|
-
"motion-v": "2.0.
|
|
56
|
+
"motion-v": "2.0.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@antfu/eslint-config": "7.4.3",
|
|
@@ -64,20 +64,20 @@
|
|
|
64
64
|
"@semantic-release/changelog": "6.0.3",
|
|
65
65
|
"@semantic-release/git": "10.0.1",
|
|
66
66
|
"@semantic-release/github": "12.0.6",
|
|
67
|
-
"@semantic-release/npm": "13.1.
|
|
68
|
-
"@vitejs/plugin-vue": "6.0.
|
|
67
|
+
"@semantic-release/npm": "13.1.5",
|
|
68
|
+
"@vitejs/plugin-vue": "6.0.5",
|
|
69
69
|
"@vue/eslint-config-prettier": "10.2.0",
|
|
70
70
|
"css-loader": "7.1.4",
|
|
71
|
-
"eslint": "10.0.
|
|
71
|
+
"eslint": "10.0.3",
|
|
72
72
|
"husky": "9.1.7",
|
|
73
|
-
"lint-staged": "16.
|
|
73
|
+
"lint-staged": "16.4.0",
|
|
74
74
|
"rimraf": "6.1.3",
|
|
75
75
|
"semantic-release": "25.0.3",
|
|
76
76
|
"style-loader": "4.0.0",
|
|
77
77
|
"vite": "7.3.1",
|
|
78
78
|
"vite-plugin-node-polyfills": "^0.25.0",
|
|
79
|
-
"vite-plugin-vue-devtools": "8.0
|
|
80
|
-
"vue": "3.5.
|
|
79
|
+
"vite-plugin-vue-devtools": "8.1.0",
|
|
80
|
+
"vue": "3.5.30"
|
|
81
81
|
},
|
|
82
82
|
"release": {
|
|
83
83
|
"branches": [
|