slds-json-schema-renderer 1.5.62 → 1.5.64
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(je,Be){typeof exports=="object"&&typeof module<"u"?Be(exports):typeof define=="function"&&define.amd?define(["exports"],Be):(je=typeof globalThis<"u"?globalThis:je||self,Be(je.JsonSchemaDocs={}))})(this,(function(je){"use strict";function Be(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const ut={},ss=[],Xt=()=>{},or=()=>!1,un=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),fn=t=>t.startsWith("onUpdate:"),yt=Object.assign,ui=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},gf=Object.prototype.hasOwnProperty,st=(t,e)=>gf.call(t,e),H=Array.isArray,Ve=t=>xs(t)==="[object Map]",hn=t=>xs(t)==="[object Set]",rr=t=>xs(t)==="[object Date]",z=t=>typeof t=="function",ht=t=>typeof t=="string",Zt=t=>typeof t=="symbol",nt=t=>t!==null&&typeof t=="object",ar=t=>(nt(t)||z(t))&&z(t.then)&&z(t.catch),lr=Object.prototype.toString,xs=t=>lr.call(t),yf=t=>xs(t).slice(8,-1),cr=t=>xs(t)==="[object Object]",fi=t=>ht(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,_s=Be(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),dn=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},vf=/-\w/g,Mt=dn(t=>t.replace(vf,e=>e.slice(1).toUpperCase())),bf=/\B([A-Z])/g,$e=dn(t=>t.replace(bf,"-$1").toLowerCase()),pn=dn(t=>t.charAt(0).toUpperCase()+t.slice(1)),hi=dn(t=>t?`on${pn(t)}`:""),se=(t,e)=>!Object.is(t,e),di=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},ur=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},xf=t=>{const e=parseFloat(t);return isNaN(e)?t:e},_f=t=>{const e=ht(t)?Number(t):NaN;return isNaN(e)?t:e};let fr;const mn=()=>fr||(fr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function pi(t){if(H(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],i=ht(n)?Af(n):pi(n);if(i)for(const o in i)e[o]=i[o]}return e}else if(ht(t)||nt(t))return t}const Sf=/;(?![^(]*\))/g,Tf=/:([^]+)/,wf=/\/\*[^]*?\*\//g;function Af(t){const e={};return t.replace(wf,"").split(Sf).forEach(s=>{if(s){const n=s.split(Tf);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Dt(t){let e="";if(ht(t))e=t;else if(H(t))for(let s=0;s<t.length;s++){const n=Dt(t[s]);n&&(e+=n+" ")}else if(nt(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const Pf=Be("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function hr(t){return!!t||t===""}function Cf(t,e){if(t.length!==e.length)return!1;let s=!0;for(let n=0;s&&n<t.length;n++)s=gn(t[n],e[n]);return s}function dr(t,e){if(t.size!==e.size)return!1;const s=Array.from(e),n=new Uint8Array(s.length);for(const i of t){let o=-1;for(let r=0;r<s.length;r++)if(!n[r]&&gn(i,s[r])){o=r;break}if(o<0)return!1;n[o]=1}return!0}function gn(t,e){if(t===e)return!0;let s=rr(t),n=rr(e);if(s||n)return s&&n?t.getTime()===e.getTime():!1;if(s=Zt(t),n=Zt(e),s||n)return t===e;if(s=H(t),n=H(e),s||n)return s&&n?Cf(t,e):!1;if(s=nt(t),n=nt(e),s||n){if(!s||!n)return!1;if(s=Ve(t),n=Ve(e),s||n||(s=hn(t),n=hn(e),s||n))return s&&n?dr(t,e):!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||!gn(t[r],e[r]))return!1}}return String(t)===String(e)}const pr=t=>!!(t&&t.__v_isRef===!0),J=t=>ht(t)?t:t==null?"":H(t)||nt(t)&&(t.toString===lr||!z(t.toString))?pr(t)?J(t.value):JSON.stringify(t,mr,2):String(t),mr=(t,e)=>pr(e)?mr(t,e.value):Ve(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,i],o)=>(s[mi(n,o)+" =>"]=i,s),{})}:hn(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>mi(s))}:Zt(e)?mi(e):nt(e)&&!H(e)&&!cr(e)?String(e):e,mi=(t,e="")=>{var s;return Zt(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};var Ef={NODE_ENV:"production"};let St;class Vf{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&St&&(St.active?(this.parent=St,this.index=(St.scopes||(St.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes){const n=this.scopes.slice();for(e=0,s=n.length;e<s;e++)n[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){const i=this.scopes.slice();for(e=0,s=i.length;e<s;e++)i[e].resume()}const n=this.effects.slice();for(e=0,s=n.length;e<s;e++)n[e].resume()}}run(e){if(this._active){const s=St;try{return St=this,e()}finally{St=s}}}on(){++this._on===1&&(this.prevScope=St,St=this)}off(){if(this._on>0&&--this._on===0){if(St===this)St=this.prevScope;else{let e=St;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.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){const i=this.scopes.slice();for(s=0,n=i.length;s<n;s++)i[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 Mf(){return St}let ft;const gi=new WeakSet;class gr{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,St&&(St.active?St.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,gi.has(this)&&(gi.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||vr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Tr(this),br(this);const e=ft,s=Jt;ft=this,Jt=!0;try{return this.fn()}finally{xr(this),ft=e,Jt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)xi(e);this.deps=this.depsTail=void 0,Tr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?gi.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){bi(this)&&this.run()}get dirty(){return bi(this)}}let yr=0,Ss,Ts;function vr(t,e=!1){if(t.flags|=8,e){t.next=Ts,Ts=t;return}t.next=Ss,Ss=t}function yi(){yr++}function vi(){if(--yr>0)return;if(Ts){let e=Ts;for(Ts=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Ss;){let e=Ss;for(Ss=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 br(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function xr(t){let e,s=t.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),xi(n),Df(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}t.deps=e,t.depsTail=s}function bi(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(_r(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function _r(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===ws)||(t.globalVersion=ws,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!bi(t))))return;t.flags|=2;const e=t.dep,s=ft,n=Jt;ft=t,Jt=!0;try{br(t);const i=t.fn(t._value);(e.version===0||se(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{ft=s,Jt=n,xr(t),t.flags&=-3}}function xi(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)xi(o,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function Df(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Jt=!0;const Sr=[];function ne(){Sr.push(Jt),Jt=!1}function ie(){const t=Sr.pop();Jt=t===void 0?!0:t}function Tr(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=ft;ft=void 0;try{e()}finally{ft=s}}}let ws=0;class Of{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 _i{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(!ft||!Jt||ft===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ft)s=this.activeLink=new Of(ft,this),ft.deps?(s.prevDep=ft.depsTail,ft.depsTail.nextDep=s,ft.depsTail=s):ft.deps=ft.depsTail=s,wr(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=ft.depsTail,s.nextDep=void 0,ft.depsTail.nextDep=s,ft.depsTail=s,ft.deps===s&&(ft.deps=n)}return s}trigger(e){this.version++,ws++,this.notify(e)}notify(e){yi();try{Ef.NODE_ENV;for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{vi()}}}function wr(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)wr(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const Si=new WeakMap,Ne=Symbol(""),Ti=Symbol(""),As=Symbol("");function Ct(t,e,s){if(Jt&&ft){let n=Si.get(t);n||Si.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new _i),i.map=n,i.key=s),i.track()}}function ve(t,e,s,n,i,o){const r=Si.get(t);if(!r){ws++;return}const a=l=>{l&&l.trigger()};if(yi(),e==="clear")r.forEach(a);else{const l=H(t),u=l&&fi(s);if(l&&s==="length"){const c=Number(n);r.forEach((f,h)=>{(h==="length"||h===As||!Zt(h)&&h>=c)&&a(f)})}else switch((s!==void 0||r.has(void 0))&&a(r.get(s)),u&&a(r.get(As)),e){case"add":l?u&&a(r.get("length")):(a(r.get(Ne)),Ve(t)&&a(r.get(Ti)));break;case"delete":l||(a(r.get(Ne)),Ve(t)&&a(r.get(Ti)));break;case"set":Ve(t)&&a(r.get(Ne));break}}vi()}function ns(t){const e=Q(t);return e===t?e:(Ct(e,"iterate",As),Ut(t)?e:e.map(Qt))}function yn(t){return Ct(t=Q(t),"iterate",As),t}function oe(t,e){return xe(t)?is(Ue(t)?Qt(e):e):Qt(e)}const Rf={__proto__:null,[Symbol.iterator](){return wi(this,Symbol.iterator,t=>oe(this,t))},concat(...t){return ns(this).concat(...t.map(e=>H(e)?ns(e):e))},entries(){return wi(this,"entries",t=>(t[1]=oe(this,t[1]),t))},every(t,e){return be(this,"every",t,e,void 0,arguments)},filter(t,e){return be(this,"filter",t,e,s=>s.map(n=>oe(this,n)),arguments)},find(t,e){return be(this,"find",t,e,s=>oe(this,s),arguments)},findIndex(t,e){return be(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return be(this,"findLast",t,e,s=>oe(this,s),arguments)},findLastIndex(t,e){return be(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return be(this,"forEach",t,e,void 0,arguments)},includes(...t){return Ai(this,"includes",t)},indexOf(...t){return Ai(this,"indexOf",t)},join(t){return ns(this).join(t)},lastIndexOf(...t){return Ai(this,"lastIndexOf",t)},map(t,e){return be(this,"map",t,e,void 0,arguments)},pop(){return Ps(this,"pop")},push(...t){return Ps(this,"push",t)},reduce(t,...e){return Ar(this,"reduce",t,e)},reduceRight(t,...e){return Ar(this,"reduceRight",t,e)},shift(){return Ps(this,"shift")},some(t,e){return be(this,"some",t,e,void 0,arguments)},splice(...t){return Ps(this,"splice",t)},toReversed(){return ns(this).toReversed()},toSorted(t){return ns(this).toSorted(t)},toSpliced(...t){return ns(this).toSpliced(...t)},unshift(...t){return Ps(this,"unshift",t)},values(){return wi(this,"values",t=>oe(this,t))}};function wi(t,e,s){const n=yn(t),i=n[e]();return n!==t&&!Ut(t)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=s(o.value)),o}),i}const Lf=Array.prototype;function be(t,e,s,n,i,o){const r=yn(t),a=r!==t&&!Ut(t),l=r[e];if(l!==Lf[e]){const f=l.apply(t,o);return a?Qt(f):f}let u=s;r!==t&&(a?u=function(f,h){return s.call(this,oe(t,f),h,t)}:s.length>2&&(u=function(f,h){return s.call(this,f,h,t)}));const c=l.call(r,u,n);return a&&i?i(c):c}function Ar(t,e,s,n){const i=yn(t),o=i!==t&&!Ut(t);let r=s,a=!1;i!==t&&(o?(a=n.length===0,r=function(u,c,f){return a&&(a=!1,u=oe(t,u)),s.call(this,u,oe(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?oe(t,l):l}function Ai(t,e,s){const n=Q(t);Ct(n,"iterate",As);const i=n[e](...s);return(i===-1||i===!1)&&Vi(s[0])?(s[0]=Q(s[0]),n[e](...s)):i}function Ps(t,e,s=[]){ne(),yi();const n=Q(t)[e].apply(t,s);return vi(),ie(),n}const Ff=Be("__proto__,__v_isRef,__isVue"),Pr=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Zt));function If(t){Zt(t)||(t=String(t));const e=Q(this);return Ct(e,"has",t),e.hasOwnProperty(t)}class Cr{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?Rr:Or:o?Dr:Mr).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=H(e);if(!i){let l;if(r&&(l=Rf[s]))return l;if(s==="hasOwnProperty")return If}const a=Reflect.get(e,s,Tt(e)?e:n);if((Zt(s)?Pr.has(s):Ff(s))||(i||Ct(e,"get",s),o))return a;if(Tt(a)){const l=r&&fi(s)?a:a.value;return i&&nt(l)?Ei(l):l}return nt(a)?i?Ei(a):Ci(a):a}}class Er extends Cr{constructor(e=!1){super(!1,e)}set(e,s,n,i){let o=e[s];const r=H(e)&&fi(s);if(!this._isShallow){const u=xe(o);if(!Ut(n)&&!xe(n)&&(o=Q(o),n=Q(n)),!r&&Tt(o)&&!Tt(n))return u||(o.value=n),!0}const a=r?Number(s)<e.length:st(e,s),l=Reflect.set(e,s,n,Tt(e)?e:i);return e===Q(i)&&l&&(a?se(n,o)&&ve(e,"set",s,n):ve(e,"add",s,n)),l}deleteProperty(e,s){const n=st(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&ve(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!Zt(s)||!Pr.has(s))&&Ct(e,"has",s),n}ownKeys(e){return Ct(e,"iterate",H(e)?"length":Ne),Reflect.ownKeys(e)}}class Vr extends Cr{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const kf=new Er,jf=new Vr,Bf=new Er(!0),$f=new Vr(!0),Pi=t=>t,vn=t=>Reflect.getPrototypeOf(t);function Nf(t,e,s){return function(...n){const i=this.__v_raw,o=Q(i),r=Ve(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,u=i[t](...n),c=s?Pi:e?is:Qt;return!e&&Ct(o,"iterate",l?Ti:Ne),yt(Object.create(u),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:a?[c(f[0]),c(f[1])]:c(f),done:h}}})}}function bn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Uf(t,e){const s={get(i){const o=this.__v_raw,r=Q(o),a=Q(i);t||(se(i,a)&&Ct(r,"get",i),Ct(r,"get",a));const{has:l}=vn(r),u=e?Pi:t?is:Qt;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&&Ct(Q(i),"iterate",Ne),i.size},has(i){const o=this.__v_raw,r=Q(o),a=Q(i);return t||(se(i,a)&&Ct(r,"has",i),Ct(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?Pi:t?is:Qt;return!t&&Ct(l,"iterate",Ne),a.forEach((c,f)=>i.call(o,u(c),u(f),r))}};return yt(s,t?{add:bn("add"),set:bn("set"),delete:bn("delete"),clear:bn("clear")}:{add(i){const o=Q(this),r=vn(o),a=Q(i),l=!e&&!Ut(i)&&!xe(i)?a:i;return r.has.call(o,l)||se(i,l)&&r.has.call(o,i)||se(a,l)&&r.has.call(o,a)||(o.add(l),ve(o,"add",l,l)),this},set(i,o){!e&&!Ut(o)&&!xe(o)&&(o=Q(o));const r=Q(this),{has:a,get:l}=vn(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?se(o,c)&&ve(r,"set",i,o):ve(r,"add",i,o),this},delete(i){const o=Q(this),{has:r,get:a}=vn(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&&ve(o,"delete",i,void 0),u},clear(){const i=Q(this),o=i.size!==0,r=i.clear();return o&&ve(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Nf(i,t,e)}),s}function xn(t,e){const s=Uf(t,e);return(n,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(st(s,i)&&i in n?s:n,i,o)}const Hf={get:xn(!1,!1)},Kf={get:xn(!1,!0)},Wf={get:xn(!0,!1)},Gf={get:xn(!0,!0)},Mr=new WeakMap,Dr=new WeakMap,Or=new WeakMap,Rr=new WeakMap;function zf(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ci(t){return xe(t)?t:Sn(t,!1,kf,Hf,Mr)}function qf(t){return Sn(t,!1,Bf,Kf,Dr)}function Ei(t){return Sn(t,!0,jf,Wf,Or)}function _n(t){return Sn(t,!0,$f,Gf,Rr)}function Sn(t,e,s,n,i){if(!nt(t)||t.__v_raw&&!(e&&t.__v_isReactive)||t.__v_skip||!Object.isExtensible(t))return t;const o=i.get(t);if(o)return o;const r=zf(yf(t));if(r===0)return t;const a=new Proxy(t,r===2?n:s);return i.set(t,a),a}function Ue(t){return xe(t)?Ue(t.__v_raw):!!(t&&t.__v_isReactive)}function xe(t){return!!(t&&t.__v_isReadonly)}function Ut(t){return!!(t&&t.__v_isShallow)}function Vi(t){return t?!!t.__v_raw:!1}function Q(t){const e=t&&t.__v_raw;return e?Q(e):t}function Yf(t){return!st(t,"__v_skip")&&Object.isExtensible(t)&&ur(t,"__v_skip",!0),t}const Qt=t=>nt(t)?Ci(t):t,is=t=>nt(t)?Ei(t):t;function Tt(t){return t?t.__v_isRef===!0:!1}function os(t){return Xf(t,!1)}function Xf(t,e){return Tt(t)?t:new Zf(t,e)}class Zf{constructor(e,s){this.dep=new _i,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:Q(e),this._value=s?e:Qt(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||Ut(e)||xe(e);e=n?e:Q(e),se(e,s)&&(this._rawValue=e,this._value=n?e:Qt(e),this.dep.trigger())}}function Lr(t){return Tt(t)?t.value:t}const Jf={get:(t,e,s)=>e==="__v_raw"?t:Lr(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return Tt(i)&&!Tt(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function Fr(t){return Ue(t)?t:new Proxy(t,Jf)}class Qf{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new _i(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ws-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ft!==this)return vr(this,!0),!0}get value(){const e=this.dep.track();return _r(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function th(t,e,s=!1){let n,i;return z(t)?n=t:(n=t.get,i=t.set),new Qf(n,i,s)}const Tn={},wn=new WeakMap;let He;function eh(t,e=!1,s=He){if(s){let n=wn.get(s);n||wn.set(s,n=[]),n.push(t)}}function sh(t,e,s=ut){const{immediate:n,deep:i,once:o,scheduler:r,augmentJob:a,call:l}=s,u=_=>i?_:Ut(_)||i===!1||i===0?Me(_,1):Me(_);let c,f,h,m,v=!1,y=!1;if(Tt(t)?(f=()=>t.value,v=Ut(t)):Ue(t)?(f=()=>u(t),v=!0):H(t)?(y=!0,v=t.some(_=>Ue(_)||Ut(_)),f=()=>t.map(_=>{if(Tt(_))return _.value;if(Ue(_))return u(_);if(z(_))return l?l(_,2):_()})):z(t)?e?f=l?()=>l(t,2):t:f=()=>{if(h){ne();try{h()}finally{ie()}}const _=He;He=c;try{return l?l(t,3,[m]):t(m)}finally{He=_}}:f=Xt,e&&i){const _=f,F=i===!0?1/0:i;f=()=>Me(_(),F)}const x=Mf(),A=()=>{c.stop(),x&&x.active&&ui(x.effects,c)};if(o&&e){const _=e;e=(...F)=>{const W=_(...F);return A(),W}}let C=y?new Array(t.length).fill(Tn):Tn;const E=_=>{if(!(!(c.flags&1)||!c.dirty&&!_))if(e){const F=c.run();if(_||i||v||(y?F.some((W,q)=>se(W,C[q])):se(F,C))){h&&h();const W=He;He=c;try{const q=[F,C===Tn?void 0:y&&C[0]===Tn?[]:C,m];C=F,l?l(e,3,q):e(...q)}finally{He=W}}}else c.run()};return a&&a(E),c=new gr(f),c.scheduler=r?()=>r(E,!1):E,m=_=>eh(_,!1,c),h=c.onStop=()=>{const _=wn.get(c);if(_){if(l)l(_,4);else for(const F of _)F();wn.delete(c)}},e?n?E(!0):C=c.run():r?r(E.bind(null,!0),!0):c.run(),A.pause=c.pause.bind(c),A.resume=c.resume.bind(c),A.stop=A,A}function Me(t,e=1/0,s){if(e<=0||!nt(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,Tt(t))Me(t.value,e,s);else if(H(t))for(let n=0;n<t.length;n++)Me(t[n],e,s);else if(hn(t)||Ve(t))t.forEach(n=>{Me(n,e,s)});else if(cr(t)){for(const n in t)Me(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Me(t[n],e,s)}return t}var De={NODE_ENV:"production"};const Cs=[];let Mi=!1;function nh(t,...e){if(Mi)return;Mi=!0,ne();const s=Cs.length?Cs[Cs.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=ih();if(n)rs(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 <${Na(s,o.type)}>`).join(`
|
|
1
|
+
(function(ke,$e){typeof exports=="object"&&typeof module<"u"?$e(exports):typeof define=="function"&&define.amd?define(["exports"],$e):(ke=typeof globalThis<"u"?globalThis:ke||self,$e(ke.JsonSchemaDocs={}))})(this,(function(ke){"use strict";function $e(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const lt={},Ne=[],Yt=()=>{},fr=()=>!1,un=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),fn=t=>t.startsWith("onUpdate:"),mt=Object.assign,fi=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},Tf=Object.prototype.hasOwnProperty,et=(t,e)=>Tf.call(t,e),K=Array.isArray,Me=t=>xs(t)==="[object Map]",dn=t=>xs(t)==="[object Set]",dr=t=>xs(t)==="[object Date]",G=t=>typeof t=="function",ft=t=>typeof t=="string",Xt=t=>typeof t=="symbol",st=t=>t!==null&&typeof t=="object",hr=t=>(st(t)||G(t))&&G(t.then)&&G(t.catch),pr=Object.prototype.toString,xs=t=>pr.call(t),wf=t=>xs(t).slice(8,-1),mr=t=>xs(t)==="[object Object]",di=t=>ft(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,_s=$e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),hn=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},Pf=/-\w/g,Mt=hn(t=>t.replace(Pf,e=>e.slice(1).toUpperCase())),Af=/\B([A-Z])/g,Ue=hn(t=>t.replace(Af,"-$1").toLowerCase()),pn=hn(t=>t.charAt(0).toUpperCase()+t.slice(1)),hi=hn(t=>t?`on${pn(t)}`:""),ne=(t,e)=>!Object.is(t,e),pi=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},gr=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},Cf=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Ef=t=>{const e=ft(t)?Number(t):NaN;return isNaN(e)?t:e};let yr;const mn=()=>yr||(yr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function mi(t){if(K(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],i=ft(n)?Of(n):mi(n);if(i)for(const o in i)e[o]=i[o]}return e}else if(ft(t)||st(t))return t}const Vf=/;(?![^(]*\))/g,Mf=/:([^]+)/,Df=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function Of(t){const e={};return t.replace(Df,s=>s.startsWith("/*")?"":s).split(Vf).forEach(s=>{if(s){const n=s.split(Mf);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Dt(t){let e="";if(ft(t))e=t;else if(K(t))for(let s=0;s<t.length;s++){const n=Dt(t[s]);n&&(e+=n+" ")}else if(st(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const Rf=$e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function vr(t){return!!t||t===""}function Lf(t,e,s){if(t.length!==e.length)return!1;let n=!0;for(let i=0;n&&i<t.length;i++)n=gn(t[i],e[i],s);return n}function br(t,e,s){if(t.size!==e.size)return!1;const n=Array.from(e),i=new Uint8Array(n.length);for(const o of t){let r=-1;for(let a=0;a<n.length;a++)if(!i[a]&&gn(o,n[a],s)){r=a;break}if(r<0)return!1;i[r]=1}return!0}function Ff(t,e,s){let n=Me(t),i=Me(e);if(n||i||(n=dn(t),i=dn(e),n||i))return n&&i?br(t,e,s):!1;const o=Object.keys(t).length,r=Object.keys(e).length;if(o!==r)return!1;for(const a in t){const l=t.hasOwnProperty(a),u=e.hasOwnProperty(a);if(l&&!u||!l&&u||!gn(t[a],e[a],s))return!1}return String(t)===String(e)}function xr(t,e,s,n){s||(s=[new Map,new Map]);const[i,o]=s;if(i.has(t)||o.has(e))return i.get(t)===e&&o.get(e)===t;i.set(t,e),o.set(e,t);const r=n(t,e,s);return i.delete(t),o.delete(e),r}function gn(t,e,s){if(t===e)return!0;let n=dr(t),i=dr(e);return n||i?n&&i?t.getTime()===e.getTime():!1:(n=Xt(t),i=Xt(e),n||i?t===e:(n=K(t),i=K(e),n||i?n&&i?xr(t,e,s,Lf):!1:(n=st(t),i=st(e),n||i?!n||!i?!1:xr(t,e,s,Ff):String(t)===String(e))))}const _r=t=>!!(t&&t.__v_isRef===!0),J=t=>ft(t)?t:t==null?"":K(t)||st(t)&&(t.toString===pr||!G(t.toString))?_r(t)?J(t.value):JSON.stringify(t,Sr,2):String(t),Sr=(t,e)=>_r(e)?Sr(t,e.value):Me(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,i],o)=>(s[gi(n,o)+" =>"]=i,s),{})}:dn(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>gi(s))}:Xt(e)?gi(e):st(e)&&!K(e)&&!mr(e)?String(e):e,gi=(t,e="")=>{var s;return Xt(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};var If={NODE_ENV:"production"};let St;class jf{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&St&&(St.active?(this.parent=St,this.index=(St.scopes||(St.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes){const n=this.scopes.slice();for(e=0,s=n.length;e<s;e++)n[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){const i=this.scopes.slice();for(e=0,s=i.length;e<s;e++)i[e].resume()}const n=this.effects.slice();for(e=0,s=n.length;e<s;e++)n[e].resume()}}run(e){if(this._active){const s=St;try{return St=this,e()}finally{St=s}}}on(){++this._on===1&&(this.prevScope=St,St=this)}off(){if(this._on>0&&--this._on===0){if(St===this)St=this.prevScope;else{let e=St;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.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){const i=this.scopes.slice();for(s=0,n=i.length;s<n;s++)i[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 Bf(){return St}let ct;const yi=new WeakSet;class Tr{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,St&&(St.active?St.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,yi.has(this)&&(yi.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Pr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Mr(this),Ar(this);const e=ct,s=Zt;ct=this,Zt=!0;try{return this.fn()}finally{Cr(this),ct=e,Zt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)_i(e);this.deps=this.depsTail=void 0,Mr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?yi.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xi(this)&&this.run()}get dirty(){return xi(this)}}let wr=0,Ss,Ts;function Pr(t,e=!1){if(t.flags|=8,e){t.next=Ts,Ts=t;return}t.next=Ss,Ss=t}function vi(){wr++}function bi(){if(--wr>0)return;if(Ts){let e=Ts;for(Ts=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Ss;){let e=Ss;for(Ss=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 Ar(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Cr(t){let e,s=t.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),_i(n),kf(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}t.deps=e,t.depsTail=s}function xi(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Er(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Er(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===ws)||(t.globalVersion=ws,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!xi(t))))return;t.flags|=2;const e=t.dep,s=ct,n=Zt;ct=t,Zt=!0;try{Ar(t);const i=t.fn(t._value);(e.version===0||ne(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{ct=s,Zt=n,Cr(t),t.flags&=-3}}function _i(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)_i(o,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function kf(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Zt=!0;const Vr=[];function ie(){Vr.push(Zt),Zt=!1}function oe(){const t=Vr.pop();Zt=t===void 0?!0:t}function Mr(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=ct;ct=void 0;try{e()}finally{ct=s}}}let ws=0;class $f{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 Si{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(!ct||!Zt||ct===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ct)s=this.activeLink=new $f(ct,this),ct.deps?(s.prevDep=ct.depsTail,ct.depsTail.nextDep=s,ct.depsTail=s):ct.deps=ct.depsTail=s,Dr(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=ct.depsTail,s.nextDep=void 0,ct.depsTail.nextDep=s,ct.depsTail=s,ct.deps===s&&(ct.deps=n)}return s}trigger(e){this.version++,ws++,this.notify(e)}notify(e){vi();try{If.NODE_ENV;for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{bi()}}}function Dr(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)Dr(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const Ti=new WeakMap,He=Symbol(""),wi=Symbol(""),Ps=Symbol("");function At(t,e,s){if(Zt&&ct){let n=Ti.get(t);n||Ti.set(t,n=new Map);let i=n.get(s);i||(n.set(s,i=new Si),i.map=n,i.key=s),i.track()}}function be(t,e,s,n,i,o){const r=Ti.get(t);if(!r){ws++;return}const a=l=>{l&&l.trigger()};if(vi(),e==="clear")r.forEach(a);else{const l=K(t),u=l&&di(s);if(l&&s==="length"){const c=Number(n);r.forEach((f,h)=>{(h==="length"||h===Ps||!Xt(h)&&h>=c)&&a(f)})}else switch((s!==void 0||r.has(void 0))&&a(r.get(s)),u&&a(r.get(Ps)),e){case"add":l?u&&a(r.get("length")):(a(r.get(He)),Me(t)&&a(r.get(wi)));break;case"delete":l||(a(r.get(He)),Me(t)&&a(r.get(wi)));break;case"set":Me(t)&&a(r.get(He));break}}bi()}function is(t){const e=Q(t);return e===t||(At(e,"iterate",Ps),Ht(t))?e:ae(t)?De(t)?e.map(s=>Oe(Kt(s))):e.map(Oe):e.map(Kt)}function yn(t){return At(t=Q(t),"iterate",Ps),t}function re(t,e){return ae(t)?Oe(De(t)?Kt(e):e):Kt(e)}const Nf={__proto__:null,[Symbol.iterator](){return Pi(this,Symbol.iterator,t=>re(this,t))},concat(...t){return is(this).concat(...t.map(e=>K(e)?is(e):e))},entries(){return Pi(this,"entries",t=>(t[1]=re(this,t[1]),t))},every(t,e){return xe(this,"every",t,e,void 0,arguments)},filter(t,e){return xe(this,"filter",t,e,s=>s.map(n=>re(this,n)),arguments)},find(t,e){return xe(this,"find",t,e,s=>re(this,s),arguments)},findIndex(t,e){return xe(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return xe(this,"findLast",t,e,s=>re(this,s),arguments)},findLastIndex(t,e){return xe(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return xe(this,"forEach",t,e,void 0,arguments)},includes(...t){return Ai(this,"includes",t)},indexOf(...t){return Ai(this,"indexOf",t)},join(t){return is(this).join(t)},lastIndexOf(...t){return Ai(this,"lastIndexOf",t)},map(t,e){return xe(this,"map",t,e,void 0,arguments)},pop(){return As(this,"pop")},push(...t){return As(this,"push",t)},reduce(t,...e){return Or(this,"reduce",t,e)},reduceRight(t,...e){return Or(this,"reduceRight",t,e)},shift(){return As(this,"shift")},some(t,e){return xe(this,"some",t,e,void 0,arguments)},splice(...t){return As(this,"splice",t)},toReversed(){return is(this).toReversed()},toSorted(t){return is(this).toSorted(t)},toSpliced(...t){return is(this).toSpliced(...t)},unshift(...t){return As(this,"unshift",t)},values(){return Pi(this,"values",t=>re(this,t))}};function Pi(t,e,s){const n=yn(t),i=n[e]();return n!==t&&!Ht(t)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=s(o.value)),o}),i}const Uf=Array.prototype;function xe(t,e,s,n,i,o){const r=yn(t),a=r!==t&&!Ht(t),l=r[e];if(l!==Uf[e]){const f=l.apply(t,o);return a?Kt(f):f}let u=s;r!==t&&(a?u=function(f,h){return s.call(this,re(t,f),h,t)}:s.length>2&&(u=function(f,h){return s.call(this,f,h,t)}));const c=l.call(r,u,n);return a&&i?i(c):c}function Or(t,e,s,n){const i=yn(t),o=i!==t&&!Ht(t);let r=s,a=!1;i!==t&&(o?(a=n.length===0,r=function(u,c,f){return a&&(a=!1,u=re(t,u)),s.call(this,u,re(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?re(t,l):l}function Ai(t,e,s){const n=Q(t);At(n,"iterate",Ps);const i=n[e](...s);return(i===-1||i===!1)&&Mi(s[0])?(s[0]=Q(s[0]),n[e](...s)):i}function As(t,e,s=[]){ie(),vi();const n=Q(t)[e].apply(t,s);return bi(),oe(),n}const Hf=$e("__proto__,__v_isRef,__isVue"),Rr=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Xt));function Kf(t){Xt(t)||(t=String(t));const e=Q(this);return At(e,"has",t),e.hasOwnProperty(t)}class Lr{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?$r:kr:o?Br:jr).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const r=K(e);if(!i){let l;if(r&&(l=Nf[s]))return l;if(s==="hasOwnProperty")return Kf}const a=Reflect.get(e,s,Tt(e)?e:n);if((Xt(s)?Rr.has(s):Hf(s))||(i||At(e,"get",s),o))return a;if(Tt(a)){const l=r&&di(s)?a:a.value;return i&&st(l)?Vi(l):l}return st(a)?i?Vi(a):Ei(a):a}}class Fr extends Lr{constructor(e=!1){super(!1,e)}set(e,s,n,i){let o=e[s];const r=K(e)&&di(s);if(!this._isShallow){const u=ae(o);if(!Ht(n)&&!ae(n)&&(o=Q(o),n=Q(n)),!r&&Tt(o)&&!Tt(n))return u||(o.value=n),!0}const a=r?Number(s)<e.length:et(e,s),l=Reflect.set(e,s,n,Tt(e)?e:i);return e===Q(i)&&l&&(a?ne(n,o)&&be(e,"set",s,n):be(e,"add",s,n)),l}deleteProperty(e,s){const n=et(e,s);e[s];const i=Reflect.deleteProperty(e,s);return i&&n&&be(e,"delete",s,void 0),i}has(e,s){const n=Reflect.has(e,s);return(!Xt(s)||!Rr.has(s))&&At(e,"has",s),n}ownKeys(e){return At(e,"iterate",K(e)?"length":He),Reflect.ownKeys(e)}}class Ir extends Lr{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const Wf=new Fr,Gf=new Ir,zf=new Fr(!0),qf=new Ir(!0),Ci=t=>t,vn=t=>Reflect.getPrototypeOf(t);function Yf(t,e,s){return function(...n){const i=this.__v_raw,o=Q(i),r=Me(o),a=t==="entries"||t===Symbol.iterator&&r,l=t==="keys"&&r,u=i[t](...n),c=s?Ci:e?Oe:Kt;return!e&&At(o,"iterate",l?wi:He),mt(Object.create(u),{next(){const{value:f,done:h}=u.next();return h?{value:f,done:h}:{value:a?[c(f[0]),c(f[1])]:c(f),done:h}}})}}function bn(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Xf(t,e){const s={get(i){const o=this.__v_raw,r=Q(o),a=Q(i);t||(ne(i,a)&&At(r,"get",i),At(r,"get",a));const{has:l}=vn(r),u=e?Ci:t?Oe:Kt;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&&At(Q(i),"iterate",He),i.size},has(i){const o=this.__v_raw,r=Q(o),a=Q(i);return t||(ne(i,a)&&At(r,"has",i),At(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?Ci:t?Oe:Kt;return!t&&At(l,"iterate",He),a.forEach((c,f)=>i.call(o,u(c),u(f),r))}};return mt(s,t?{add:bn("add"),set:bn("set"),delete:bn("delete"),clear:bn("clear")}:{add(i){const o=Q(this),r=vn(o),a=Q(i),l=!e&&!Ht(i)&&!ae(i)?a:i;return r.has.call(o,l)||ne(i,l)&&r.has.call(o,i)||ne(a,l)&&r.has.call(o,a)||(o.add(l),be(o,"add",l,l)),this},set(i,o){!e&&!Ht(o)&&!ae(o)&&(o=Q(o));const r=Q(this),{has:a,get:l}=vn(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?ne(o,c)&&be(r,"set",i,o):be(r,"add",i,o),this},delete(i){const o=Q(this),{has:r,get:a}=vn(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&&be(o,"delete",i,void 0),u},clear(){const i=Q(this),o=i.size!==0,r=i.clear();return o&&be(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Yf(i,t,e)}),s}function xn(t,e){const s=Xf(t,e);return(n,i,o)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?n:Reflect.get(et(s,i)&&i in n?s:n,i,o)}const Zf={get:xn(!1,!1)},Jf={get:xn(!1,!0)},Qf={get:xn(!0,!1)},td={get:xn(!0,!0)},jr=new WeakMap,Br=new WeakMap,kr=new WeakMap,$r=new WeakMap;function ed(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ei(t){return ae(t)?t:Sn(t,!1,Wf,Zf,jr)}function sd(t){return Sn(t,!1,zf,Jf,Br)}function Vi(t){return Sn(t,!0,Gf,Qf,kr)}function _n(t){return Sn(t,!0,qf,td,$r)}function Sn(t,e,s,n,i){if(!st(t)||t.__v_raw&&!(e&&t.__v_isReactive)||t.__v_skip||!Object.isExtensible(t))return t;const o=i.get(t);if(o)return o;const r=ed(wf(t));if(r===0)return t;const a=new Proxy(t,r===2?n:s);return i.set(t,a),a}function De(t){return ae(t)?De(t.__v_raw):!!(t&&t.__v_isReactive)}function ae(t){return!!(t&&t.__v_isReadonly)}function Ht(t){return!!(t&&t.__v_isShallow)}function Mi(t){return t?!!t.__v_raw:!1}function Q(t){const e=t&&t.__v_raw;return e?Q(e):t}function nd(t){return!et(t,"__v_skip")&&Object.isExtensible(t)&&gr(t,"__v_skip",!0),t}const Kt=t=>st(t)?Ei(t):t,Oe=t=>st(t)?Vi(t):t;function Tt(t){return t?t.__v_isRef===!0:!1}function os(t){return id(t,!1)}function id(t,e){return Tt(t)?t:new od(t,e)}class od{constructor(e,s){this.dep=new Si,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:Q(e),this._value=s?e:Kt(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||Ht(e)||ae(e);e=n?e:Q(e),ne(e,s)&&(this._rawValue=e,this._value=n?e:Kt(e),this.dep.trigger())}}function Nr(t){return Tt(t)?t.value:t}const rd={get:(t,e,s)=>e==="__v_raw"?t:Nr(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const i=t[e];return Tt(i)&&!Tt(s)?(i.value=s,!0):Reflect.set(t,e,s,n)}};function Ur(t){return De(t)?t:new Proxy(t,rd)}class ad{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new Si(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ws-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ct!==this)return Pr(this,!0),!0}get value(){const e=this.dep.track();return Er(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function ld(t,e,s=!1){let n,i;return G(t)?n=t:(n=t.get,i=t.set),new ad(n,i,s)}const Tn={},wn=new WeakMap;let Ke;function cd(t,e=!1,s=Ke){if(s){let n=wn.get(s);n||wn.set(s,n=[]),n.push(t)}}function ud(t,e,s=lt){const{immediate:n,deep:i,once:o,scheduler:r,augmentJob:a,call:l}=s,u=x=>i?x:Ht(x)||i===!1||i===0?Re(x,1):Re(x);let c,f,h,m,v=!1,y=!1;if(Tt(t)?(f=()=>t.value,v=Ht(t)):De(t)?(f=()=>u(t),v=!0):K(t)?(y=!0,v=t.some(x=>De(x)||Ht(x)),f=()=>t.map(x=>{if(Tt(x))return x.value;if(De(x))return u(x);if(G(x))return l?l(x,2):x()})):G(t)?e?f=l?()=>l(t,2):t:f=()=>{if(h){ie();try{h()}finally{oe()}}const x=Ke;Ke=c;try{return l?l(t,3,[m]):t(m)}finally{Ke=x}}:f=Yt,e&&i){const x=f,k=i===!0?1/0:i;f=()=>Re(x(),k)}const E=Bf(),M=()=>{c.stop(),E&&E.active&&fi(E.effects,c)};if(o&&e){const x=e;e=(...k)=>{const z=x(...k);return M(),z}}let A=y?new Array(t.length).fill(Tn):Tn;const C=x=>{if(!(!(c.flags&1)||!c.dirty&&!x))if(e){const k=c.run();if(x||i||v||(y?k.some((z,P)=>ne(z,A[P])):ne(k,A))){h&&h();const z=Ke;Ke=c;try{const P=[k,A===Tn?void 0:y&&A[0]===Tn?[]:A,m];A=k,l?l(e,3,P):e(...P)}finally{Ke=z}}}else c.run()};return a&&a(C),c=new Tr(f),c.scheduler=r?()=>r(C,!1):C,m=x=>cd(x,!1,c),h=c.onStop=()=>{const x=wn.get(c);if(x){if(l)l(x,4);else for(const k of x)k();wn.delete(c)}},e?n?C(!0):A=c.run():r?r(C.bind(null,!0),!0):c.run(),M.pause=c.pause.bind(c),M.resume=c.resume.bind(c),M.stop=M,M}function Re(t,e=1/0,s){if(e<=0||!st(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,Tt(t))Re(t.value,e,s);else if(K(t))for(let n=0;n<t.length;n++)Re(t[n],e,s);else if(dn(t)||Me(t))t.forEach(n=>{Re(n,e,s)});else if(mr(t)){for(const n in t)Re(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Re(t[n],e,s)}return t}var Le={NODE_ENV:"production"};const Cs=[];let Di=!1;function fd(t,...e){if(Di)return;Di=!0,ie();const s=Cs.length?Cs[Cs.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=dd();if(n)rs(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 <${za(s,o.type)}>`).join(`
|
|
2
2
|
`),i]);else{const o=[`[Vue warn]: ${t}`,...e];i.length&&o.push(`
|
|
3
|
-
`,...
|
|
4
|
-
`],...rh(s))}),e}function rh({vnode:t,recurseCount:e}){const s=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${Na(t.component,t.type,n)}`,o=">"+s;return t.props?[i,...ah(t.props),o]:[i+o]}function ah(t){const e=[],s=Object.keys(t);return s.slice(0,3).forEach(n=>{e.push(...Ir(n,t[n]))}),s.length>3&&e.push(" ..."),e}function Ir(t,e,s){return ht(e)?(e=JSON.stringify(e),s?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?s?e:[`${t}=${e}`]:Tt(e)?(e=Ir(t,Q(e.value),!0),s?e:[`${t}=Ref<`,e,">"]):z(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Q(e),s?e:[`${t}=`,e])}function rs(t,e,s,n){try{return n?t(...n):t()}catch(i){An(i,e,s)}}function Ht(t,e,s,n){if(z(t)){const i=rs(t,e,s,n);return i&&ar(i)&&i.catch(o=>{An(o,e,s)}),i}if(H(t)){const i=[];for(let o=0;o<t.length;o++)i.push(Ht(t[o],e,s,n));return i}}function An(t,e,s,n=!0){const i=e?e.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:r}=e&&e.appContext.config||ut;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){ne(),rs(o,null,10,[t,l,u]),ie();return}}lh(t,s,i,n,r)}function lh(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const Ot=[];let re=-1;const as=[];let Oe=null,ls=0;const kr=Promise.resolve();let Pn=null;function jr(t){const e=Pn||kr;return t?e.then(this?t.bind(this):t):e}function ch(t){let e=re+1,s=Ot.length;for(;e<s;){const n=e+s>>>1,i=Ot[n],o=Es(i);o<t||o===t&&i.flags&2?e=n+1:s=n}return e}function Di(t){if(!(t.flags&1)){const e=Es(t),s=Ot[Ot.length-1];!s||!(t.flags&2)&&e>=Es(s)?Ot.push(t):Ot.splice(ch(e),0,t),t.flags|=1,Br()}}function Br(){Pn||(Pn=kr.then(Ur))}function uh(t){if(!H(t))Oe&&t.id===-1?Oe.splice(ls+1,0,t):t.flags&1||(as.push(t),t.flags|=1);else for(let e=0;e<t.length;e++)as.push(t[e]);Br()}function $r(t,e,s=re+1){for(;s<Ot.length;s++){const n=Ot[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Ot.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Nr(t){if(as.length){const e=[...new Set(as)].sort((s,n)=>Es(s)-Es(n));if(as.length=0,Oe){for(let s=0;s<e.length;s++)Oe.push(e[s]);return}for(Oe=e,ls=0;ls<Oe.length;ls++){const s=Oe[ls];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Oe=null,ls=0}}const Es=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Ur(t){const e=Xt;try{for(re=0;re<Ot.length;re++){const s=Ot[re];s&&!(s.flags&8)&&(De.NODE_ENV!=="production"&&e(s),s.flags&4&&(s.flags&=-2),rs(s,s.i,s.i?15:14),s.flags&4||(s.flags&=-2))}}finally{for(;re<Ot.length;re++){const s=Ot[re];s&&(s.flags&=-2)}re=-1,Ot.length=0,Nr(),Pn=null,(Ot.length||as.length)&&Ur()}}let Et=null,Hr=null;function Cn(t){const e=Et;return Et=t,Hr=t&&t.type.__scopeId||null,e}function En(t,e=Et,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&Bn(-1);const o=Cn(e),r=Se.length;let a;try{a=t(...i)}finally{for(let l=Se.length;l>r;l--)zi();Cn(o),n._d&&Bn(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function Ke(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&&(ne(),Ht(l,s,8,[t.el,a,t,e]),ie())}}function Oi(t,e){if(xt){let s=xt.provides;const n=xt.parent&&xt.parent.provides;n===s&&(s=xt.provides=Object.create(n)),s[t]=e}}function Vs(t,e,s=!1){const n=Un();if(n||us){let i=us?us._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&&z(e)?e.call(n&&n.proxy):e}}const fh=Symbol.for("v-scx"),hh=()=>Vs(fh);function dh(t,e){return Ri(t,null,e)}function Vn(t,e,s){return Ri(t,e,s)}function Ri(t,e,s=ut){const{immediate:n,deep:i,flush:o,once:r}=s,a=yt({},s),l=e&&n||!e&&o!=="post";let u;if($s){if(o==="sync"){const m=hh();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=Xt,m.resume=Xt,m.pause=Xt,m}}const c=xt;a.call=(m,v,y)=>Ht(m,c,v,y);let f=!1;o==="post"?a.scheduler=m=>{It(m,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(m,v)=>{v?m():Di(m)}),a.augmentJob=m=>{e&&(m.flags|=4),f&&(m.flags|=2,c&&(m.id=c.uid,m.i=c))};const h=sh(t,e,a);return $s&&(u?u.push(h):l&&h()),h}function ph(t,e,s){const n=this.proxy,i=ht(t)?t.includes(".")?Kr(n,t):()=>n[t]:t.bind(n,n);let o;z(e)?o=e:(o=e.handler,s=e);const r=Bs(this),a=Ri(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 mh=Symbol("_vte"),Mn=t=>t.__isTeleport,Kt=Symbol("_leaveCb"),Ms=Symbol("_enterCb");function gh(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ii(()=>{t.isMounted=!0}),ki(()=>{t.isUnmounting=!0}),t}const Wt=[Function,Array],Wr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Wt,onEnter:Wt,onAfterEnter:Wt,onEnterCancelled:Wt,onBeforeLeave:Wt,onLeave:Wt,onAfterLeave:Wt,onLeaveCancelled:Wt,onBeforeAppear:Wt,onAppear:Wt,onAfterAppear:Wt,onAppearCancelled:Wt},Gr=t=>{const e=t.subTree;return e.component?Gr(e.component):e},yh={name:"BaseTransition",props:Wr,setup(t,{slots:e}){const s=Un(),n=gh();return()=>{const i=e.default&&Yr(e.default(),!0),o=i&&i.length?zr(i):s.subTree?$t():void 0;if(!o)return;const r=Q(t),{mode:a}=r;if(n.isLeaving)return Fi(o);const l=Dn(o);if(!l)return Fi(o);let u=Li(l,r,n,s,f=>u=f);l.type!==wt&&Ds(l,u);let c=s.subTree&&Dn(s.subTree);if(c&&c.type!==wt&&!Ge(c,l)&&Gr(s).type!==wt){let f=Li(c,r,n,s);if(Ds(c,f),a==="out-in"&&l.type!==wt)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete f.afterLeave,c=void 0},Fi(o);a==="in-out"&&l.type!==wt?f.delayLeave=(h,m,v)=>{const y=qr(n,c);y[String(c.key)]=c,h[Kt]=()=>{m(),h[Kt]=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 zr(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==wt){e=s;break}}return e}const vh=yh;function qr(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 Li(t,e,s,n,i){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:h,onLeave:m,onAfterLeave:v,onLeaveCancelled:y,onBeforeAppear:x,onAppear:A,onAfterAppear:C,onAppearCancelled:E}=e,_=String(t.key),F=qr(s,t),W=(B,R)=>{B&&Ht(B,n,9,R)},q=(B,R)=>{const K=R[1];W(B,R),H(B)?B.every(O=>O.length<=1)&&K():B.length<=1&&K()},j={mode:r,persisted:a,beforeEnter(B){let R=l;if(!s.isMounted)if(o)R=x||l;else return;B[Kt]&&B[Kt](!0);const K=F[_];K&&Ge(t,K)&&K.el[Kt]&&K.el[Kt](),W(R,[B])},enter(B){if(F[_]===t)return;let R=u,K=c,O=f;if(!s.isMounted)if(o)R=A||u,K=C||c,O=E||f;else return;let et=!1;B[Ms]=bt=>{et||(et=!0,bt?W(O,[B]):W(K,[B]),j.delayedLeave&&j.delayedLeave(),B[Ms]=void 0)};const rt=B[Ms].bind(null,!1);R?q(R,[B,rt]):rt()},leave(B,R){const K=String(t.key);if(B[Ms]&&B[Ms](!0),s.isUnmounting)return R();W(h,[B]);let O=!1;B[Kt]=rt=>{O||(O=!0,R(),rt?W(y,[B]):W(v,[B]),B[Kt]=void 0,F[K]===t&&delete F[K])};const et=B[Kt].bind(null,!1);F[K]=t,m?q(m,[B,et]):et()},clone(B){const R=Li(B,e,s,n,i);return i&&i(R),R}};return j}function Fi(t){if(Rn(t))return t=Te(t),t.children=null,t}function Dn(t){if(!Rn(t))return Mn(t.type)&&t.children?zr(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&&z(s.default))return s.default()}}function Ds(t,e){if(t.shapeFlag&6&&t.component){t.transition=e;const s=t.component.subTree;Ds(Mn(s.type)&&Dn(s)||s,e)}else t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Yr(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(Yr(r.children,e,a))):(e||r.type!==wt)&&n.push(a!=null?Te(r,{key:a}):r)}if(i>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}function bh(t,e){return z(t)?yt({name:t.name},e,{setup:t}):t}function Xr(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Zr(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const On=new WeakMap;function Os(t,e,s,n,i=!1){if(H(t)){t.forEach((y,x)=>Os(y,e&&(H(e)?e[x]:e),s,n,i));return}if(cs(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Os(t,e,s,n.component.subTree);return}const o=n.shapeFlag&4?qi(n.component):n.el,r=i?null:o,{i:a,r:l}=t,u=e&&e.r,c=a.refs===ut?a.refs={}:a.refs,f=a.setupState,h=Q(f),m=f===ut?or:y=>Zr(c,y)?!1:st(h,y),v=(y,x)=>!(x&&Zr(c,x));if(u!=null&&u!==l){if(Jr(e),ht(u))c[u]=null,m(u)&&(f[u]=null);else if(Tt(u)){const y=e;v(u,y.k)&&(u.value=null),y.k&&(c[y.k]=null)}}if(z(l))rs(l,a,12,[r,c]);else{const y=ht(l),x=Tt(l);if(y||x){const A=()=>{if(t.f){const C=y?m(l)?f[l]:c[l]:v()||!t.k?l.value:c[t.k];if(i)H(C)&&ui(C,o);else if(H(C))C.includes(o)||C.push(o);else if(y)c[l]=[o],m(l)&&(f[l]=c[l]);else{const E=[o];v(l,t.k)&&(l.value=E),t.k&&(c[t.k]=E)}}else y?(c[l]=r,m(l)&&(f[l]=r)):x&&(v(l,t.k)&&(l.value=r),t.k&&(c[t.k]=r))};if(r){const C=()=>{A(),On.delete(t)};C.id=-1,On.set(t,C),It(C,s)}else Jr(t),A()}}}function Jr(t){const e=On.get(t);e&&(e.flags|=8,On.delete(t))}mn().requestIdleCallback,mn().cancelIdleCallback;const cs=t=>!!t.type.__asyncLoader,Rn=t=>t.type.__isKeepAlive;function Qr(t,e){ea(t,"a",e)}function ta(t,e){ea(t,"da",e)}function ea(t,e,s=xt){const n=t.__wdc||(t.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Ln(e,n,s),s){let i=s.parent;for(;i&&i.parent;)Rn(i.parent.vnode)&&xh(n,e,s,i),i=i.parent}}function xh(t,e,s,n){const i=Ln(e,t,n,!0);ji(()=>{ui(n[e],i)},s)}function Ln(t,e,s=xt,n=!1){if(s){const i=s[t]||(s[t]=[]),o=e.__weh||(e.__weh=(...r)=>{ne();const a=Bs(s),l=Ht(e,s,t,r);return a(),ie(),l});return n?i.unshift(o):i.push(o),o}}const _e=t=>(e,s=xt)=>{(!$s||t==="sp")&&Ln(t,(...n)=>e(...n),s)},_h=_e("bm"),Ii=_e("m"),sa=_e("bu"),na=_e("u"),ki=_e("bum"),ji=_e("um"),Sh=_e("sp"),Th=_e("rtg"),wh=_e("rtc");function Ah(t,e=xt){Ln("ec",t,e)}const Ph="components",ia=Symbol.for("v-ndc");function Ch(t){return ht(t)?Eh(Ph,t,!1)||t:t||ia}function Eh(t,e,s=!0,n=!1){const i=Et||xt;if(i){const o=i.type;{const a=$a(o,!1);if(a&&(a===e||a===Mt(e)||a===pn(Mt(e))))return o}const r=oa(i[t]||o[t],e)||oa(i.appContext[t],e);return!r&&n?o:r}}function oa(t,e){return t&&(t[e]||t[Mt(e)]||t[pn(Mt(e))])}function Re(t,e,s,n){let i;const o=s,r=H(t);if(r||ht(t)){const a=r&&Ue(t);let l=!1,u=!1;a&&(l=!Ut(t),u=xe(t),t=yn(t)),i=new Array(t.length);for(let c=0,f=t.length;c<f;c++)i[c]=e(l?u?is(Qt(t[c])):Qt(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(nt(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 Vh(t,e,s,n,i,o){if(s==null&&(s={}),Et.ce||Et.parent&&cs(Et.parent)&&Et.parent.ce){const u=s,c=Object.keys(u).length>0;return k(),Bt(dt,null,[it("slot",u,n)],c?-2:64)}let r=t[e];r&&r._c&&(r._d=!1);const a=Se.length;k();let l;try{const u=r&&ra(r(s)),c=s.key||o||u&&u.key;l=Bt(dt,{key:(c&&!Zt(c)?c:`_${e}`)+(!u&&n?"_fb":"")},u||(n?n():[]),u&&t._===1?64:-2)}catch(u){for(let c=Se.length;c>a;c--)zi();throw u}finally{r&&r._c&&(r._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function ra(t){return t.some(e=>Is(e)?!(e.type===wt||e.type===dt&&!ra(e.children)):!0)?t:null}const Bi=t=>t?Ia(t)?qi(t):Bi(t.parent):null,Rs=yt(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=>Bi(t.parent),$root:t=>Bi(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>ua(t),$forceUpdate:t=>t.f||(t.f=()=>{Di(t.update)}),$nextTick:t=>t.n||(t.n=jr.bind(t.proxy)),$watch:t=>ph.bind(t)}),$i=(t,e)=>t!==ut&&!t.__isScriptSetup&&st(t,e),Mh={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 h=r[e];if(h!==void 0)switch(h){case 1:return n[e];case 2:return i[e];case 4:return s[e];case 3:return o[e]}else{if($i(n,e))return r[e]=1,n[e];if(i!==ut&&st(i,e))return r[e]=2,i[e];if(st(o,e))return r[e]=3,o[e];if(s!==ut&&st(s,e))return r[e]=4,s[e];Ni&&(r[e]=0)}}const u=Rs[e];let c,f;if(u)return e==="$attrs"&&Ct(t.attrs,"get",""),u(t);if((c=a.__cssModules)&&(c=c[e]))return c;if(s!==ut&&st(s,e))return r[e]=4,s[e];if(f=l.config.globalProperties,st(f,e))return f[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:o}=t;return $i(i,e)?(i[e]=s,!0):n!==ut&&st(n,e)?(n[e]=s,!0):st(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!==ut&&a[0]!=="$"&&st(t,a)||$i(e,a)||st(o,a)||st(n,a)||st(Rs,a)||st(i.config.globalProperties,a)||(l=r.__cssModules)&&l[a])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:st(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function Dh(){return Oh().attrs}function Oh(t){const e=Un();return e.setupContext||(e.setupContext=Ba(e))}function aa(t){return H(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Ni=!0;function Rh(t){const e=ua(t),s=t.proxy,n=t.ctx;Ni=!1,e.beforeCreate&&la(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:m,updated:v,activated:y,deactivated:x,beforeDestroy:A,beforeUnmount:C,destroyed:E,unmounted:_,render:F,renderTracked:W,renderTriggered:q,errorCaptured:j,serverPrefetch:B,expose:R,inheritAttrs:K,components:O,directives:et,filters:rt}=e;if(u&&Lh(u,n,null),r)for(const X in r){const Z=r[X];z(Z)&&(n[X]=Z.bind(s))}if(i){const X=i.call(s,s);nt(X)&&(t.data=Ci(X))}if(Ni=!0,o)for(const X in o){const Z=o[X],kt=z(Z)?Z.bind(s,s):z(Z.get)?Z.get.bind(s,s):Xt,bs=!z(Z)&&z(Z.set)?Z.set.bind(s):Xt,es=_t({get:kt,set:bs});Object.defineProperty(n,X,{enumerable:!0,configurable:!0,get:()=>es.value,set:pe=>es.value=pe})}if(a)for(const X in a)ca(a[X],n,s,X);if(l){const X=z(l)?l.call(s):l;Reflect.ownKeys(X).forEach(Z=>{Oi(Z,X[Z])})}c&&la(c,t,"c");function Y(X,Z){H(Z)?Z.forEach(kt=>X(kt.bind(s))):Z&&X(Z.bind(s))}if(Y(_h,f),Y(Ii,h),Y(sa,m),Y(na,v),Y(Qr,y),Y(ta,x),Y(Ah,j),Y(wh,W),Y(Th,q),Y(ki,C),Y(ji,_),Y(Sh,B),H(R))if(R.length){const X=t.exposed||(t.exposed={});R.forEach(Z=>{Object.defineProperty(X,Z,{get:()=>s[Z],set:kt=>s[Z]=kt,enumerable:!0})})}else t.exposed||(t.exposed={});F&&t.render===Xt&&(t.render=F),K!=null&&(t.inheritAttrs=K),O&&(t.components=O),et&&(t.directives=et),B&&Xr(t)}function Lh(t,e,s=Xt){H(t)&&(t=Ui(t));for(const n in t){const i=t[n];let o;nt(i)?"default"in i?o=Vs(i.from||n,i.default,!0):o=Vs(i.from||n):o=Vs(i),Tt(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[n]=o}}function la(t,e,s){Ht(H(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function ca(t,e,s,n){let i=n.includes(".")?Kr(s,n):()=>s[n];if(ht(t)){const o=e[t];z(o)&&Vn(i,o)}else if(z(t))Vn(i,t.bind(s));else if(nt(t))if(H(t))t.forEach(o=>ca(o,e,s,n));else{const o=z(t.handler)?t.handler.bind(s):e[t.handler];z(o)&&Vn(i,o,t)}}function ua(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=>Fn(l,u,r,!0)),Fn(l,e,r)),nt(e)&&o.set(e,l),l}function Fn(t,e,s,n=!1){const{mixins:i,extends:o}=e;o&&Fn(t,o,s,!0),i&&i.forEach(r=>Fn(t,r,s,!0));for(const r in e)if(!(n&&r==="expose")){const a=Fh[r]||s&&s[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const Fh={data:fa,props:ha,emits:ha,methods:Ls,computed:Ls,beforeCreate:Rt,created:Rt,beforeMount:Rt,mounted:Rt,beforeUpdate:Rt,updated:Rt,beforeDestroy:Rt,beforeUnmount:Rt,destroyed:Rt,unmounted:Rt,activated:Rt,deactivated:Rt,errorCaptured:Rt,serverPrefetch:Rt,components:Ls,directives:Ls,watch:kh,provide:fa,inject:Ih};function fa(t,e){return e?t?function(){return yt(z(t)?t.call(this,this):t,z(e)?e.call(this,this):e)}:e:t}function Ih(t,e){return Ls(Ui(t),Ui(e))}function Ui(t){if(H(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function Rt(t,e){return t?[...new Set([].concat(t,e))]:e}function Ls(t,e){return t?yt(Object.create(null),t,e):e}function ha(t,e){return t?H(t)&&H(e)?[...new Set([...t,...e])]:yt(Object.create(null),aa(t),aa(e??{})):e}function kh(t,e){if(!t)return e;if(!e)return t;const s=yt(Object.create(null),t);for(const n in e)s[n]=Rt(t[n],e[n]);return s}function da(){return{app:null,config:{isNativeTag:or,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let jh=0;function Bh(t,e){return function(n,i=null){z(n)||(n=yt({},n)),i!=null&&!nt(i)&&(i=null);const o=da(),r=new WeakSet,a=[];let l=!1;const u=o.app={_uid:jh++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:gd,get config(){return o.config},set config(c){},use(c,...f){return r.has(c)||(c&&z(c.install)?(r.add(c),c.install(u,...f)):z(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,h){if(!l){const m=u._ceVNode||it(n,i);return m.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),t(m,c,h),l=!0,u._container=c,c.__vue_app__=u,qi(m.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Ht(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=us;us=u;try{return c()}finally{us=f}}};return u}}let us=null;const $h=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Mt(e)}Modifiers`]||t[`${$e(e)}Modifiers`];function Nh(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||ut;let i=s;const o=e.startsWith("update:"),r=o&&$h(n,e.slice(7));r&&(r.trim&&(i=s.map(c=>ht(c)?c.trim():c)),r.number&&(i=i.map(xf)));let a,l=n[a=hi(e)]||n[a=hi(Mt(e))];!l&&o&&(l=n[a=hi($e(e))]),l&&Ht(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,Ht(u,t,6,i)}}const Uh=new WeakMap;function pa(t,e,s=!1){const n=s?Uh:e.emitsCache,i=n.get(t);if(i!==void 0)return i;const o=t.emits;let r={},a=!1;if(!z(t)){const l=u=>{const c=pa(u,e,!0);c&&(a=!0,yt(r,c))};!s&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!o&&!a?(nt(t)&&n.set(t,null),null):(H(o)?o.forEach(l=>r[l]=null):yt(r,o),nt(t)&&n.set(t,r),r)}function In(t,e){return!t||!un(e)?!1:(e=e.slice(2),e=e==="Once"?e:e.replace(/Once$/,""),st(t,e[0].toLowerCase()+e.slice(1))||st(t,$e(e))||st(t,e))}function Kb(){}function ma(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:h,setupState:m,ctx:v,inheritAttrs:y}=t,x=Cn(t);let A,C;try{if(s.shapeFlag&4){const _=i||n,F=De.NODE_ENV!=="production"&&m.__isScriptSetup?new Proxy(_,{get(W,q,j){return nh(`Property '${String(q)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(W,q,j)}}):_;A=ae(u.call(F,_,c,De.NODE_ENV!=="production"?_n(f):f,m,h,v)),C=a}else{const _=e;De.NODE_ENV,A=ae(_.length>1?_(De.NODE_ENV!=="production"?_n(f):f,De.NODE_ENV!=="production"?{get attrs(){return _n(a)},slots:r,emit:l}:{attrs:a,slots:r,emit:l}):_(De.NODE_ENV!=="production"?_n(f):f,null)),C=e.props?a:Hh(a)}}catch(_){Se.length=0,An(_,t,1),A=it(wt)}let E=A;if(C&&y!==!1){const _=Object.keys(C),{shapeFlag:F}=E;_.length&&F&7&&(o&&_.some(fn)&&(C=Kh(C,o)),E=Te(E,C,!1,!0))}if(s.dirs&&(E=Te(E,null,!1,!0),E.dirs=E.dirs?E.dirs.concat(s.dirs):s.dirs),s.transition){const _=Mn(E.type)&&Dn(E)||E;Ds(_,s.transition)}return A=E,Cn(x),A}const Hh=t=>{let e;for(const s in t)(s==="class"||s==="style"||un(s))&&((e||(e={}))[s]=t[s]);return e},Kh=(t,e)=>{const s={};for(const n in t)(!fn(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function Wh(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?ga(n,r,u):!!r;if(l&8){const c=e.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(ya(r,n,h)&&!In(u,h))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:n===r?!1:n?r?ga(n,r,u):!0:!!r;return!1}function ga(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(ya(e,t,o)&&!In(s,o))return!0}return!1}function ya(t,e,s){const n=t[s],i=e[s];return s==="style"&&nt(n)&&nt(i)?!gn(n,i):n!==i}function Gh({vnode:t,parent:e,suspense:s},n){for(;e;){const i=e.subTree;if(i.suspense&&i.suspense.activeBranch===t&&(i.suspense.vnode.el=i.el=n,t=i),i===t)(t=e.vnode).el=n,e=e.parent;else break}s&&s.activeBranch===t&&(s.vnode.el=n)}const va={},ba=()=>Object.create(va),xa=t=>Object.getPrototypeOf(t)===va;function zh(t,e,s,n=!1){const i={},o=ba();t.propsDefaults=Object.create(null),_a(t,e,i,o);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);s?t.props=n?i:qf(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function qh(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 h=c[f];if(In(t.emitsOptions,h))continue;const m=e[h];if(l)if(st(o,h))m!==o[h]&&(o[h]=m,u=!0);else{const v=Mt(h);i[v]=Hi(l,a,v,m,t,!1)}else m!==o[h]&&(o[h]=m,u=!0)}}}else{_a(t,e,i,o)&&(u=!0);let c;for(const f in a)(!e||!st(e,f)&&((c=$e(f))===f||!st(e,c)))&&(l?s&&(s[f]!==void 0||s[c]!==void 0)&&(i[f]=Hi(l,a,f,void 0,t,!0)):delete i[f]);if(o!==a)for(const f in o)(!e||!st(e,f))&&(delete o[f],u=!0)}u&&ve(t.attrs,"set","")}function _a(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&&st(i,c=Mt(l))?!o||!o.includes(c)?s[c]=u:(a||(a={}))[c]=u:In(t.emitsOptions,l)||(!(l in n)||u!==n[l])&&(n[l]=u,r=!0)}if(o){const l=Q(s),u=a||ut;for(let c=0;c<o.length;c++){const f=o[c];s[f]=Hi(i,l,f,u[f],t,!st(u,f))}}return r}function Hi(t,e,s,n,i,o){const r=t[s];if(r!=null){const a=st(r,"default");if(a&&n===void 0){const l=r.default;if(r.type!==Function&&!r.skipFactory&&z(l)){const{propsDefaults:u}=i;if(s in u)n=u[s];else{const c=Bs(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===$e(s))&&(n=!0))}return n}const Yh=new WeakMap;function Sa(t,e,s=!1){const n=s?Yh:e.propsCache,i=n.get(t);if(i)return i;const o=t.props,r={},a=[];let l=!1;if(!z(t)){const c=f=>{l=!0;const[h,m]=Sa(f,e,!0);yt(r,h),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 nt(t)&&n.set(t,ss),ss;if(H(o))for(let c=0;c<o.length;c++){const f=Mt(o[c]);Ta(f)&&(r[f]=ut)}else if(o)for(const c in o){const f=Mt(c);if(Ta(f)){const h=o[c],m=r[f]=H(h)||z(h)?{type:h}:yt({},h),v=m.type;let y=!1,x=!0;if(H(v))for(let A=0;A<v.length;++A){const C=v[A],E=z(C)&&C.name;if(E==="Boolean"){y=!0;break}else E==="String"&&(x=!1)}else y=z(v)&&v.name==="Boolean";m[0]=y,m[1]=x,(y||st(m,"default"))&&a.push(f)}}const u=[r,a];return nt(t)&&n.set(t,u),u}function Ta(t){return t[0]!=="$"&&!_s(t)}const Ki=t=>t==="_"||t==="_ctx"||t==="$stable",Wi=t=>H(t)?t.map(ae):[ae(t)],Xh=(t,e,s)=>{if(e._n)return e;const n=En((...i)=>(De.NODE_ENV!=="production"&&xt&&!(s===null&&Et)&&(s&&(s.root,xt.root)),Wi(e(...i))),s);return n._c=!1,n},wa=(t,e,s)=>{const n=t._ctx;for(const i in t){if(Ki(i))continue;const o=t[i];if(z(o))e[i]=Xh(i,o,n);else if(o!=null){const r=Wi(o);e[i]=()=>r}}},Aa=(t,e)=>{const s=Wi(e);t.slots.default=()=>s},Pa=(t,e,s)=>{for(const n in e)(s||!Ki(n))&&(t[n]=e[n])},Zh=(t,e,s)=>{const n=t.slots=ba();if(t.vnode.shapeFlag&32){const i=e._;i?(Pa(n,e,s),s&&ur(n,"_",i,!0)):wa(e,n)}else e&&Aa(t,e)},Jh=(t,e,s)=>{const{vnode:n,slots:i}=t;let o=!0,r=ut;if(n.shapeFlag&32){const a=e._;a?s&&a===1?o=!1:Pa(i,e,s):(o=!e.$stable,wa(e,i)),r=e}else e&&(Aa(t,e),r={default:1});if(o)for(const a in i)!Ki(a)&&r[a]==null&&delete i[a]},It=nd;function Qh(t){return td(t)}function td(t,e){const s=mn();s.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:r,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:m=Xt,insertStaticContent:v}=t,y=(d,p,b,P=null,w=null,S=null,D=void 0,M=null,V=!!p.dynamicChildren)=>{if(d===p)return;d&&!Ge(d,p)&&(P=ci(d),pe(d,w,S,!0),d=null),p.patchFlag===-2&&(V=!1,p.dynamicChildren=null);const{type:T,ref:U,shapeFlag:L}=p;switch(T){case kn:x(d,p,b,P);break;case wt:A(d,p,b,P);break;case jn:d==null&&C(p,b,P,D);break;case dt:O(d,p,b,P,w,S,D,M,V);break;default:L&1?F(d,p,b,P,w,S,D,M,V):L&6?et(d,p,b,P,w,S,D,M,V):(L&64||L&128)&&T.process(d,p,b,P,w,S,D,M,V,ln)}U!=null&&w?Os(U,d&&d.ref,S,p||d,!p):U==null&&d&&d.ref!=null&&Os(d.ref,null,S,d,!0)},x=(d,p,b,P)=>{if(d==null)n(p.el=a(p.children),b,P);else{const w=p.el=d.el;p.children!==d.children&&u(w,p.children)}},A=(d,p,b,P)=>{d==null?n(p.el=l(p.children||""),b,P):p.el=d.el},C=(d,p,b,P)=>{[d.el,d.anchor]=v(d.children,p,b,P,d.el,d.anchor)},E=({el:d,anchor:p},b,P)=>{let w;for(;d&&d!==p;)w=h(d),n(d,b,P),d=w;n(p,b,P)},_=({el:d,anchor:p})=>{let b;for(;d&&d!==p;)b=h(d),i(d),d=b;i(p)},F=(d,p,b,P,w,S,D,M,V)=>{if(p.type==="svg"?D="svg":p.type==="math"&&(D="mathml"),d==null)W(p,b,P,w,S,D,M,V);else{const T=d.el&&d.el._isVueCE?d.el:null;try{T&&T._beginPatch(),B(d,p,w,S,D,M,V)}finally{T&&T._endPatch()}}},W=(d,p,b,P,w,S,D,M)=>{let V,T;const{props:U,shapeFlag:L,transition:$,dirs:G}=d;if(V=d.el=r(d.type,S,U&&U.is,U),L&8?c(V,d.children):L&16&&j(d.children,V,null,P,w,Gi(d,S),D,M),G&&Ke(d,null,P,"created"),q(V,d,d.scopeId,D,P),U){for(const ct in U)ct!=="value"&&!_s(ct)&&o(V,ct,null,U[ct],S,P);"value"in U&&o(V,"value",null,U.value,S),(T=U.onVnodeBeforeMount)&&le(T,P,d)}G&&Ke(d,null,P,"beforeMount");const tt=ed(w,$);tt&&$.beforeEnter(V),n(V,p,b),((T=U&&U.onVnodeMounted)||tt||G)&&It(()=>{T&&le(T,P,d),tt&&$.enter(V),G&&Ke(d,null,P,"mounted")},w)},q=(d,p,b,P,w)=>{if(b&&m(d,b),P)for(let S=0;S<P.length;S++)m(d,P[S]);if(w){let S=w.subTree;if(p===S||Da(S.type)&&(S.ssContent===p||S.ssFallback===p)){const D=w.vnode;q(d,D,D.scopeId,D.slotScopeIds,w.parent)}}},j=(d,p,b,P,w,S,D,M,V=0)=>{for(let T=V;T<d.length;T++){const U=d[T]=M?we(d[T]):ae(d[T]);y(null,U,p,b,P,w,S,D,M)}},B=(d,p,b,P,w,S,D)=>{const M=p.el=d.el;let{patchFlag:V,dynamicChildren:T,dirs:U}=p;V|=d.patchFlag&16;const L=d.props||ut,$=p.props||ut;let G;if(b&&We(b,!1),(G=$.onVnodeBeforeUpdate)&&le(G,b,p,d),U&&Ke(p,d,b,"beforeUpdate"),b&&We(b,!0),T&&(!d.dynamicChildren||d.dynamicChildren.length!==T.length)&&(V=0,D=!1,T=null),(L.innerHTML&&$.innerHTML==null||L.textContent&&$.textContent==null)&&c(M,""),T?R(d.dynamicChildren,T,M,b,P,Gi(p,w),S):D||Z(d,p,M,null,b,P,Gi(p,w),S,!1),V>0){if(V&16)K(M,L,$,b,w);else if(V&2&&L.class!==$.class&&o(M,"class",null,$.class,w),V&4&&o(M,"style",L.style,$.style,w),V&8){const tt=p.dynamicProps;for(let ct=0;ct<tt.length;ct++){const at=tt[ct],gt=L[at],Pt=$[at];(Pt!==gt||at==="value")&&o(M,at,gt,Pt,w,b)}}V&1&&d.children!==p.children&&c(M,p.children)}else!D&&T==null&&K(M,L,$,b,w);((G=$.onVnodeUpdated)||U)&&It(()=>{G&&le(G,b,p,d),U&&Ke(p,d,b,"updated")},P)},R=(d,p,b,P,w,S,D)=>{for(let M=0;M<p.length;M++){const V=d[M],T=p[M],U=V.el&&(V.type===dt||!Ge(V,T)||V.shapeFlag&198)?f(V.el):b;y(V,T,U,null,P,w,S,D,!0)}},K=(d,p,b,P,w)=>{if(p!==b){if(p!==ut)for(const S in p)!_s(S)&&!(S in b)&&o(d,S,p[S],null,w,P);for(const S in b){if(_s(S))continue;const D=b[S],M=p[S];D!==M&&S!=="value"&&o(d,S,M,D,w,P)}"value"in b&&o(d,"value",p.value,b.value,w)}},O=(d,p,b,P,w,S,D,M,V)=>{const T=p.el=d?d.el:a(""),U=p.anchor=d?d.anchor:a("");let{patchFlag:L,dynamicChildren:$,slotScopeIds:G}=p;G&&(M=M?M.concat(G):G),d==null?(n(T,b,P),n(U,b,P),j(p.children||[],b,U,w,S,D,M,V)):L>0&&L&64&&$&&d.dynamicChildren&&d.dynamicChildren.length===$.length?(R(d.dynamicChildren,$,b,w,S,D,M),(p.key!=null||w&&p===w.subTree)&&Ca(d,p,!0)):Z(d,p,b,U,w,S,D,M,V)},et=(d,p,b,P,w,S,D,M,V)=>{p.slotScopeIds=M,d==null?p.shapeFlag&512?w.ctx.activate(p,b,P,D,V):rt(p,b,P,w,S,D,V):bt(d,p,V)},rt=(d,p,b,P,w,S,D)=>{const M=d.component=cd(d,P,w);if(Rn(d)&&(M.ctx.renderer=ln),ud(M,!1,D),M.asyncDep){if(w&&w.registerDep(M,Y,D),!d.el){const V=M.subTree=it(wt);A(null,V,p,b),d.placeholder=V.el}}else Y(M,d,p,b,w,S,D)},bt=(d,p,b)=>{const P=p.component=d.component;if(Wh(d,p,b))if(P.asyncDep&&!P.asyncResolved){X(P,p,b);return}else P.next=p,P.update();else p.el=d.el,P.vnode=p},Y=(d,p,b,P,w,S,D)=>{const M=()=>{if(d.isMounted){let{next:L,bu:$,u:G,parent:tt,vnode:ct}=d;{const ge=Ea(d);if(ge){L&&(L.el=ct.el,X(d,L,D)),ge.asyncDep.then(()=>{It(()=>{d.isUnmounted||T()},w)});return}}let at=L,gt;We(d,!1),L?(L.el=ct.el,X(d,L,D)):L=ct,$&&di($),(gt=L.props&&L.props.onVnodeBeforeUpdate)&&le(gt,tt,L,ct),We(d,!0);const Pt=ma(d),me=d.subTree;d.subTree=Pt,y(me,Pt,f(me.el),ci(me),d,w,S),L.el=Pt.el,at===null&&Gh(d,Pt.el),G&&It(G,w),(gt=L.props&&L.props.onVnodeUpdated)&&It(()=>le(gt,tt,L,ct),w)}else{let L;const{el:$,props:G}=p,{bm:tt,m:ct,parent:at,root:gt,type:Pt}=d,me=cs(p);We(d,!1),tt&&di(tt),!me&&(L=G&&G.onVnodeBeforeMount)&&le(L,at,p),We(d,!0);{gt.ce&>.ce._hasShadowRoot()&>.ce._injectChildStyle(Pt,d.parent?d.parent.type:void 0);const ge=d.subTree=ma(d);y(null,ge,b,P,d,w,S),p.el=ge.el}if(ct&&It(ct,w),!me&&(L=G&&G.onVnodeMounted)){const ge=p;It(()=>le(L,at,ge),w)}(p.shapeFlag&256||at&&cs(at.vnode)&&at.vnode.shapeFlag&256)&&d.a&&It(d.a,w),d.isMounted=!0,p=b=P=null}};d.scope.on();const V=d.effect=new gr(M);d.scope.off();const T=d.update=V.run.bind(V),U=d.job=V.runIfDirty.bind(V);U.i=d,U.id=d.uid,V.scheduler=()=>Di(U),We(d,!0),T()},X=(d,p,b)=>{p.component=d;const P=d.vnode.props;d.vnode=p,d.next=null,qh(d,p.props,P,b),Jh(d,p.children,b),ne(),$r(d),ie()},Z=(d,p,b,P,w,S,D,M,V=!1)=>{const T=d&&d.children,U=d?d.shapeFlag:0,L=p.children,{patchFlag:$,shapeFlag:G}=p;if($>0){if($&128){bs(T,L,b,P,w,S,D,M,V);return}else if($&256){kt(T,L,b,P,w,S,D,M,V);return}}G&8?(U&16&&an(T,w,S),L!==T&&c(b,L)):U&16?G&16?bs(T,L,b,P,w,S,D,M,V):an(T,w,S,!0):(U&8&&c(b,""),G&16&&j(L,b,P,w,S,D,M,V))},kt=(d,p,b,P,w,S,D,M,V)=>{d=d||ss,p=p||ss;const T=d.length,U=p.length,L=Math.min(T,U);let $;for($=0;$<L;$++){const G=p[$]=V?we(p[$]):ae(p[$]);y(d[$],G,b,null,w,S,D,M,V)}T>U?an(d,w,S,!0,!1,L):j(p,b,P,w,S,D,M,V,L)},bs=(d,p,b,P,w,S,D,M,V)=>{let T=0;const U=p.length;let L=d.length-1,$=U-1;for(;T<=L&&T<=$;){const G=d[T],tt=p[T]=V?we(p[T]):ae(p[T]);if(Ge(G,tt))y(G,tt,b,null,w,S,D,M,V);else break;T++}for(;T<=L&&T<=$;){const G=d[L],tt=p[$]=V?we(p[$]):ae(p[$]);if(Ge(G,tt))y(G,tt,b,null,w,S,D,M,V);else break;L--,$--}if(T>L){if(T<=$){const G=$+1,tt=G<U?p[G].el:P;for(;T<=$;)y(null,p[T]=V?we(p[T]):ae(p[T]),b,tt,w,S,D,M,V),T++}}else if(T>$)for(;T<=L;)pe(d[T],w,S,!0),T++;else{const G=T,tt=T,ct=new Map;for(T=tt;T<=$;T++){const Nt=p[T]=V?we(p[T]):ae(p[T]);Nt.key!=null&&ct.set(Nt.key,T)}let at,gt=0;const Pt=$-tt+1;let me=!1,ge=0;const cn=new Array(Pt);for(T=0;T<Pt;T++)cn[T]=0;for(T=G;T<=L;T++){const Nt=d[T];if(gt>=Pt){pe(Nt,w,S,!0);continue}let ye;if(Nt.key!=null)ye=ct.get(Nt.key);else for(at=tt;at<=$;at++)if(cn[at-tt]===0&&Ge(Nt,p[at])){ye=at;break}ye===void 0?pe(Nt,w,S,!0):(cn[ye-tt]=T+1,ye>=ge?ge=ye:me=!0,y(Nt,p[ye],b,null,w,S,D,M,V),gt++)}const df=me?sd(cn):ss;for(at=df.length-1,T=Pt-1;T>=0;T--){const Nt=tt+T,ye=p[Nt],pf=p[Nt+1],mf=Nt+1<U?pf.el||Ma(pf):P;cn[T]===0?y(null,ye,b,mf,w,S,D,M,V):me&&(at<0||T!==df[at]?es(ye,b,mf,2):at--)}}},es=(d,p,b,P,w=null)=>{const{el:S,type:D,transition:M,children:V,shapeFlag:T}=d;if(T&6){es(d.component.subTree,p,b,P);return}if(T&128){d.suspense.move(p,b,P);return}if(T&64){D.move(d,p,b,ln);return}if(D===dt){n(S,p,b);for(let L=0;L<V.length;L++)es(V[L],p,b,P);n(d.anchor,p,b);return}if(D===jn){E(d,p,b);return}if(P!==2&&T&1&&M)if(P===0)M.persisted&&!S[Kt]?n(S,p,b):(M.beforeEnter(S),n(S,p,b),It(()=>M.enter(S),w));else{const{leave:L,delayLeave:$,afterLeave:G}=M,tt=()=>{d.ctx.isUnmounted?i(S):n(S,p,b)},ct=()=>{const at=S._isLeaving||!!S[Kt];S._isLeaving&&S[Kt](!0),M.persisted&&!at?tt():L(S,()=>{tt(),G&&G()})};$?$(S,tt,ct):ct()}else n(S,p,b)},pe=(d,p,b,P=!1,w=!1)=>{const{type:S,props:D,ref:M,children:V,dynamicChildren:T,shapeFlag:U,patchFlag:L,dirs:$,cacheIndex:G,memo:tt}=d;if(L===-2&&(w=!1),M!=null&&(ne(),Os(M,null,b,d,!0),ie()),G!=null&&(p.renderCache[G]=void 0),U&256){p.ctx.deactivate(d);return}const ct=U&1&&$,at=!cs(d);let gt;if(at&&(gt=D&&D.onVnodeBeforeUnmount)&&le(gt,p,d),U&6)Ub(d.component,b,P);else{if(U&128){d.suspense.unmount(b,P);return}ct&&Ke(d,null,p,"beforeUnmount"),U&64?d.type.remove(d,p,b,ln,P):T&&!T.hasOnce&&(S!==dt||L>0&&L&64)?an(T,p,b,!1,!0):(S===dt&&L&384||!w&&U&16)&&an(V,p,b),P&&ff(d)}const Pt=tt!=null&&G==null;(at&&(gt=D&&D.onVnodeUnmounted)||ct||Pt)&&It(()=>{gt&&le(gt,p,d),ct&&Ke(d,null,p,"unmounted"),Pt&&(d.el=null)},b)},ff=d=>{const{type:p,el:b,anchor:P,transition:w}=d;if(p===dt){Nb(b,P);return}if(p===jn){_(d);return}const S=()=>{i(b),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(d.shapeFlag&1&&w&&!w.persisted){const{leave:D,delayLeave:M}=w,V=()=>D(b,S);M?M(d.el,S,V):V()}else S()},Nb=(d,p)=>{let b;for(;d!==p;)b=h(d),i(d),d=b;i(p)},Ub=(d,p,b)=>{const{bum:P,scope:w,job:S,subTree:D,um:M,m:V,a:T}=d;Va(V),Va(T),P&&di(P),w.stop(),S&&(S.flags|=8,pe(D,d,p,b)),M&&It(M,p),It(()=>{d.isUnmounted=!0},p)},an=(d,p,b,P=!1,w=!1,S=0)=>{for(let D=S;D<d.length;D++)pe(d[D],p,b,P,w)},ci=d=>{if(d.shapeFlag&6)return ci(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const p=h(d.anchor||d.el),b=p&&p[mh];return b?h(b):p};let ir=!1;const hf=(d,p,b)=>{let P;d==null?p._vnode&&(pe(p._vnode,null,null,!0),P=p._vnode.component):y(p._vnode||null,d,p,null,null,null,b),p._vnode=d,ir||(ir=!0,$r(P),Nr(),ir=!1)},ln={p:y,um:pe,m:es,r:ff,mt:rt,mc:j,pc:Z,pbc:R,n:ci,o:t};return{render:hf,hydrate:void 0,createApp:Bh(hf)}}function Gi({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 We({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function ed(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Ca(t,e,s=!1){const n=t.children,i=e.children;if(H(n)&&H(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]=we(i[o]),a.el=r.el),!s&&a.patchFlag!==-2&&Ca(r,a)),a.type===kn&&(a.patchFlag===-1&&(a=i[o]=we(a)),a.el=r.el),a.type===wt&&!a.el&&(a.el=r.el)}}function sd(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 Ea(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Ea(e)}function Va(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Ma(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Ma(e.subTree):null}const Da=t=>t.__isSuspense;function nd(t,e){e&&e.pendingBranch?H(t)?e.effects.push(...t):e.effects.push(t):uh(t)}const dt=Symbol.for("v-fgt"),kn=Symbol.for("v-txt"),wt=Symbol.for("v-cmt"),jn=Symbol.for("v-stc"),Se=[];let jt=null;function k(t=!1){Se.push(jt=t?null:[])}function zi(){Se.pop(),jt=Se[Se.length-1]||null}let Fs=1;function Bn(t,e=!1){Fs+=t,t<0&&jt&&e&&(jt.hasOnce=!0)}function Oa(t){return t.dynamicChildren=Fs>0?jt||ss:null,zi(),Fs>0&&jt&&jt.push(t),t}function N(t,e,s,n,i,o){return Oa(g(t,e,s,n,i,o,!0))}function Bt(t,e,s,n,i){return Oa(it(t,e,s,n,i,!0))}function Is(t){return t?t.__v_isVNode===!0:!1}function Ge(t,e){return t.type===e.type&&t.key===e.key}const Ra=({key:t})=>t??null,$n=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?ht(t)||Tt(t)||z(t)?{i:Et,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&&Ra(e),ref:e&&$n(e),scopeId:Hr,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:Et};return a?(Nn(l,s),o&128&&t.normalize(l)):s&&(l.shapeFlag|=ht(s)?8:16),Fs>0&&!r&&jt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&jt.push(l),l}const it=id;function id(t,e=null,s=null,n=0,i=null,o=!1){if((!t||t===ia)&&(t=wt),Is(t)){const a=Te(t,e,!0);return s&&Nn(a,s),Fs>0&&!o&&jt&&(a.shapeFlag&6?jt[jt.indexOf(t)]=a:jt.push(a)),a.patchFlag=-2,a}if(md(t)&&(t=t.__vccOpts),e){e=od(e);let{class:a,style:l}=e;a&&!ht(a)&&(e.class=Dt(a)),nt(l)&&(Vi(l)&&!H(l)&&(l=yt({},l)),e.style=pi(l))}const r=ht(t)?1:Da(t)?128:Mn(t)?64:nt(t)?4:z(t)?2:0;return g(t,e,s,n,i,r,o,!0)}function od(t){return t?Vi(t)||xa(t)?yt({},t):t:null}function Te(t,e,s=!1,n=!1){const{props:i,ref:o,patchFlag:r,children:a,transition:l}=t,u=e?La(i||{},e):i,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Ra(u),ref:e&&e.ref?s&&o?H(o)?o.concat($n(e)):[o,$n(e)]:$n(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&&Te(t.ssContent),ssFallback:t.ssFallback&&Te(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&n&&Ds(c,l.clone(c)),c}function ks(t=" ",e=0){return it(kn,null,t,e)}function rd(t,e){const s=it(jn,null,t);return s.staticCount=e,s}function $t(t="",e=!1){return e?(k(),Bt(wt,null,t)):it(wt,null,t)}function ae(t){return t==null||typeof t=="boolean"?it(wt):H(t)?it(dt,null,t.slice()):Is(t)?we(t):it(kn,null,String(t))}function we(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Te(t)}function Nn(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(H(e))s=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),Nn(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!xa(e)?e._ctx=Et:i===3&&Et&&(Et.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else if(z(e)){if(n&65){Nn(t,{default:e});return}e={default:e,_ctx:Et},s=32}else e=String(e),n&64?(s=16,e=[ks(e)]):s=8;t.children=e,t.shapeFlag|=s}function La(...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=Dt([e.class,n.class]));else if(i==="style")e.style=pi([e.style,n.style]);else if(un(i)){const o=e[i],r=n[i];r&&o!==r&&!(H(o)&&o.includes(r))?e[i]=o?[].concat(o,r):r:r==null&&o==null&&!fn(i)&&(e[i]=r)}else i!==""&&(e[i]=n[i])}return e}function le(t,e,s,n=null){Ht(t,e,7,[s,n])}const ad=da();let ld=0;function cd(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||ad,o={uid:ld++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Vf(!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:Sa(n,i),emitsOptions:pa(n,i),emit:null,emitted:null,propsDefaults:ut,inheritAttrs:n.inheritAttrs,ctx:ut,data:ut,props:ut,attrs:ut,slots:ut,refs:ut,setupState:ut,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=Nh.bind(null,o),t.ce&&t.ce(o),o}let xt=null;const Un=()=>xt||Et;let Hn,js;{const t=mn(),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)}};Hn=e("__VUE_INSTANCE_SETTERS__",s=>xt=s),js=e("__VUE_SSR_SETTERS__",s=>$s=s)}const Bs=t=>{const e=xt;return Hn(t),t.scope.on(),()=>{t.scope.off(),Hn(e)}},Fa=()=>{xt&&xt.scope.off(),Hn(null)};function Ia(t){return t.vnode.shapeFlag&4}let $s=!1;function ud(t,e=!1,s=!1){e&&js(e);const{props:n,children:i}=t.vnode,o=Ia(t);zh(t,n,o,e),Zh(t,i,s||e);const r=o?fd(t,e):void 0;return e&&js(!1),r}function fd(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Mh);const{setup:n}=s;if(n){ne();const i=t.setupContext=n.length>1?Ba(t):null,o=Bs(t),r=rs(n,t,0,[t.props,i]),a=ar(r);if(ie(),o(),(a||t.sp)&&!cs(t)&&Xr(t),a){if(r.then(Fa,Fa),e)return r.then(l=>{js(!0);try{ka(t,l,e)}finally{js(!1)}}).catch(l=>{An(l,t,0)});t.asyncDep=r}else ka(t,r)}else ja(t)}function ka(t,e,s){z(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:nt(e)&&(t.setupState=Fr(e)),ja(t)}function ja(t,e,s){const n=t.type;t.render||(t.render=n.render||Xt);{const i=Bs(t);ne();try{Rh(t)}finally{ie(),i()}}}const hd={get(t,e){return Ct(t,"get",""),t[e]}};function Ba(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,hd),slots:t.slots,emit:t.emit,expose:e}}function qi(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Fr(Yf(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Rs)return Rs[s](t)},has(e,s){return s in e||s in Rs}})):t.proxy}const dd=/(?:^|[-_])\w/g,pd=t=>t.replace(dd,e=>e.toUpperCase()).replace(/[-_]/g,"");function $a(t,e=!0){return z(t)?t.displayName||t.name:t.name||e&&t.__name}function Na(t,e,s=!1){let n=$a(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?pd(n):s?"App":"Anonymous"}function md(t){return z(t)&&"__vccOpts"in t}const _t=(t,e)=>th(t,e,$s);function Yi(t,e,s){try{Bn(-1);const n=arguments.length;return n===2?nt(e)&&!H(e)?Is(e)?it(t,null,[e]):it(t,e):it(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Is(s)&&(s=[s]),it(t,e,s))}finally{Bn(1)}}const gd="3.5.42";let Xi;const Ua=typeof window<"u"&&window.trustedTypes;if(Ua)try{Xi=Ua.createPolicy("vue",{createHTML:t=>t})}catch{}const Ha=Xi?t=>Xi.createHTML(t):t=>t,yd="http://www.w3.org/2000/svg",vd="http://www.w3.org/1998/Math/MathML",Ae=typeof document<"u"?document:null,Ka=Ae&&Ae.createElement("template"),bd={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"?Ae.createElementNS(yd,t):e==="mathml"?Ae.createElementNS(vd,t):s?Ae.createElement(t,{is:s}):Ae.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>Ae.createTextNode(t),createComment:t=>Ae.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Ae.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=Ha(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]}},Le="transition",Ns="animation",Us=Symbol("_vtc"),Wa={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},xd=yt({},Wr,Wa),_d=(t=>(t.displayName="Transition",t.props=xd,t))((t,{slots:e})=>Yi(vh,Sd(t),e)),ze=(t,e=[])=>{H(t)?t.forEach(s=>s(...e)):t&&t(...e)},Ga=t=>t?H(t)?t.some(e=>e.length>1):t.length>1:!1;function Sd(t){const e={};for(const O in t)O in Wa||(e[O]=t[O]);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:h=`${s}-leave-active`,leaveToClass:m=`${s}-leave-to`}=t,v=Td(i),y=v&&v[0],x=v&&v[1],{onBeforeEnter:A,onEnter:C,onEnterCancelled:E,onLeave:_,onLeaveCancelled:F,onBeforeAppear:W=A,onAppear:q=C,onAppearCancelled:j=E}=e,B=(O,et,rt,bt)=>{O._enterCancelled=bt,qe(O,et?c:a),qe(O,et?u:r),rt&&rt()},R=(O,et)=>{O._isLeaving=!1,qe(O,f),qe(O,m),qe(O,h),et&&et()},K=O=>(et,rt)=>{const bt=O?q:C,Y=()=>B(et,O,rt);ze(bt,[et,Y]),za(()=>{qe(et,O?l:o),Pe(et,O?c:a),Ga(bt)||qa(et,n,y,Y)})};return yt(e,{onBeforeEnter(O){ze(A,[O]),Pe(O,o),Pe(O,r)},onBeforeAppear(O){ze(W,[O]),Pe(O,l),Pe(O,u)},onEnter:K(!1),onAppear:K(!0),onLeave(O,et){O._isLeaving=!0;const rt=()=>R(O,et);Pe(O,f),O._enterCancelled?(Pe(O,h),Za(O)):(Za(O),Pe(O,h)),za(()=>{O._isLeaving&&(qe(O,f),Pe(O,m),Ga(_)||qa(O,n,x,rt))}),ze(_,[O,rt])},onEnterCancelled(O){B(O,!1,void 0,!0),ze(E,[O])},onAppearCancelled(O){B(O,!0,void 0,!0),ze(j,[O])},onLeaveCancelled(O){R(O),ze(F,[O])}})}function Td(t){if(t==null)return null;if(nt(t))return[Zi(t.enter),Zi(t.leave)];{const e=Zi(t);return[e,e]}}function Zi(t){return _f(t)}function Pe(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[Us]||(t[Us]=new Set)).add(e)}function qe(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const s=t[Us];s&&(s.delete(e),s.size||(t[Us]=void 0))}function za(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let wd=0;function qa(t,e,s,n){const i=t._endId=++wd,o=()=>{i===t._endId&&n()};if(s!=null)return setTimeout(o,s);const{type:r,timeout:a,propCount:l}=Ad(t,e);if(!r)return n();const u=r+"end";let c=0;const f=()=>{t.removeEventListener(u,h),o()},h=m=>{m.target===t&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),t.addEventListener(u,h)}function Ad(t,e){const s=window.getComputedStyle(t),n=v=>(s[v]||"").split(", "),i=n(`${Le}Delay`),o=n(`${Le}Duration`),r=Ya(i,o),a=n(`${Ns}Delay`),l=n(`${Ns}Duration`),u=Ya(a,l);let c=null,f=0,h=0;e===Le?r>0&&(c=Le,f=r,h=o.length):e===Ns?u>0&&(c=Ns,f=u,h=l.length):(f=Math.max(r,u),c=f>0?r>u?Le:Ns:null,h=c?c===Le?o.length:l.length:0);const m=c===Le&&/\b(?:transform|all)(?:,|$)/.test(n(`${Le}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:m}}function Ya(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((s,n)=>Xa(s)+Xa(t[n])))}function Xa(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Za(t){return(t?t.ownerDocument:document).body.offsetHeight}function Pd(t,e,s){const n=t[Us];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const Ja=Symbol("_vod"),Cd=Symbol("_vsh"),Ed=Symbol(""),Vd=/(?:^|;)\s*display\s*:/;function Md(t,e,s){const n=t.style,i=ht(s);let o=!1;if(s&&!i){if(e)if(ht(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&Hs(n,a,"")}else for(const r in e)s[r]==null&&Hs(n,r,"");for(const r in s){r==="display"&&(o=!0);const a=s[r];a!=null?Od(t,r,!ht(e)&&e?e[r]:void 0,a)||Hs(n,r,a):Hs(n,r,"")}}else if(i){if(e!==s){const r=n[Ed];r&&(s+=";"+r),n.cssText=s,o=Vd.test(s)}}else e&&t.removeAttribute("style");Ja in t&&(t[Ja]=o?n.display:"",t[Cd]&&(n.display="none"))}const Kn=/\s*!important$/;function Hs(t,e,s){if(H(s))s.forEach(n=>Hs(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))Kn.test(s)?t.setProperty(e,s.replace(Kn,""),"important"):t.setProperty(e,s);else{const n=Dd(t,e);Kn.test(s)?t.setProperty($e(n),s.replace(Kn,""),"important"):t[n]=s}}const Qa=["Webkit","Moz","ms"],Ji={};function Dd(t,e){const s=Ji[e];if(s)return s;let n=Mt(e);if(n!=="filter"&&n in t)return Ji[e]=n;n=pn(n);for(let i=0;i<Qa.length;i++){const o=Qa[i]+n;if(o in t)return Ji[e]=o}return e}function Od(t,e,s,n){return t.tagName==="TEXTAREA"&&(e==="width"||e==="height")&&ht(n)&&s===n}const tl="http://www.w3.org/1999/xlink";function el(t,e,s,n,i,o=Pf(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(tl,e.slice(6,e.length)):t.setAttributeNS(tl,e,s):s==null||o&&!hr(s)?t.removeAttribute(e):t.setAttribute(e,o?"":Zt(s)?String(s):s)}function sl(t,e,s,n,i){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?Ha(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=hr(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 Rd(t,e,s,n){t.addEventListener(e,s,n)}function Ld(t,e,s,n){t.removeEventListener(e,s,n)}const nl=Symbol("_vei");function Fd(t,e,s,n,i=null){const o=t[nl]||(t[nl]={}),r=o[e];if(n&&r)r.value=n;else{const[a,l]=jd(e);if(n){const u=o[e]=Nd(n,i);Rd(t,a,u,l)}else r&&(Ld(t,a,r,l),o[e]=void 0)}}const Id=/(Once|Passive|Capture)$/,kd=/^on:?(?:Once|Passive|Capture)$/;function jd(t){let e,s;for(;(s=t.match(Id))&&!kd.test(t);)e||(e={}),t=t.slice(0,t.length-s[1].length),e[s[1].toLowerCase()]=!0;return[t[2]===":"?t.slice(3):$e(t.slice(2)),e]}let Qi=0;const Bd=Promise.resolve(),$d=()=>Qi||(Bd.then(()=>Qi=0),Qi=Date.now());function Nd(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(H(i)){const o=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{o.call(n),n._stopped=!0};const r=i.slice(),a=[n];for(let l=0;l<r.length&&!n._stopped;l++){const u=r[l];u&&Ht(u,e,5,a)}}else Ht(i,e,5,[n])};return s.value=t,s.attached=$d(),s}const il=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Ud=(t,e,s,n,i,o)=>{const r=i==="svg";e==="class"?Pd(t,n,r):e==="style"?Md(t,s,n):un(e)?fn(e)||Fd(t,e,s,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Hd(t,e,n,r))?(sl(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&el(t,e,n,r,o,e!=="value")):t._isVueCE&&(Kd(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!ht(n)))?sl(t,Mt(e),n,o,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),el(t,e,n,r))};function Hd(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&il(e)&&z(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 il(e)&&ht(s)?!1:e in t}function Kd(t,e){const s=t._def.props;if(!s)return!1;const n=Mt(e);return Array.isArray(s)?s.some(i=>Mt(i)===n):Object.keys(s).some(i=>Mt(i)===n)}const Wd=yt({patchProp:Ud},bd);let ol;function Gd(){return ol||(ol=Qh(Wd))}const rl=((...t)=>{const e=Gd().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=qd(n);if(!i)return;const o=e._component;!z(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const r=s(i,!1,zd(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},e});function zd(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function qd(t){return ht(t)?document.querySelector(t):t}const Yd={class:"slds-p-around_medium slds-theme_shade slds-text-align_center slds-text-body_small slds-mt-auto"},Xd={class:"slds-grid slds-grid_align-spread slds-wrap"},Zd={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},Jd={key:0,class:"slds-text-color_weak"},Qd={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)=>(k(),N("footer",Yd,[g("div",Xd,[g("div",Zd,[t.description?(k(),N("span",Jd,J(t.description),1)):$t("",!0)]),g("div",Qd,[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)])])]))}},al="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"],hp={__name:"HeaderLayout",props:{title:{type:String,default:"JSON Schema Documentation"}},setup(t){return(e,s)=>(k(),N("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:al,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 Ks(t,e){const s=typeof t=="string"&&!e?`${t}Context`:e,n=Symbol(s);return[r=>{const a=Vs(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=>(Oi(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 to(t,e){t.indexOf(e)===-1&&t.push(e)}function Wn(t,e){const s=t.indexOf(e);s>-1&&t.splice(s,1)}const ce=(t,e,s)=>s>e?e:s<t?t:s;let Gn=()=>{};const Fe={},ll=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),cl=t=>typeof t=="object"&&t!==null,ul=t=>/^0[^.\s]+$/u.test(t);function fl(t){let e;return()=>(e===void 0&&(e=t()),e)}const Gt=t=>t,Ws=(...t)=>t.reduce((e,s)=>n=>s(e(n))),Gs=(t,e,s)=>{const n=e-t;return n?(s-t)/n:1};class eo{constructor(){this.subscriptions=[]}add(e){return to(this.subscriptions,e),()=>Wn(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 zt=t=>t*1e3,qt=t=>t/1e3,hl=(t,e)=>e?t*(1e3/e):0,dl=(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=dl(r,n,i)-t,o>0?s=r:e=r;while(Math.abs(o)>pp&&++a<mp);return r}function zs(t,e,s,n){if(t===e&&s===n)return Gt;const i=o=>gp(o,0,1,t,s);return o=>o===0||o===1?o:dl(i(o),e,n)}const pl=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ml=t=>e=>1-t(1-e),gl=zs(.33,1.53,.69,.99),so=ml(gl),yl=pl(so),vl=t=>t>=1?1:(t*=2)<1?.5*so(t):.5*(2-Math.pow(2,-10*(t-1))),no=t=>1-Math.sin(Math.acos(t)),bl=ml(no),xl=pl(no),yp=zs(.42,0,1,1),vp=zs(0,0,.58,1),_l=zs(.42,0,.58,1),bp=t=>Array.isArray(t)&&typeof t[0]!="number",Sl=t=>Array.isArray(t)&&typeof t[0]=="number",xp={linear:Gt,easeIn:yp,easeInOut:_l,easeOut:vp,circIn:no,circInOut:xl,circOut:bl,backIn:so,backInOut:yl,backOut:gl,anticipate:vl},_p=t=>typeof t=="string",Tl=t=>{if(Sl(t)){Gn(t.length===4);const[e,s,n,i]=t;return zs(e,s,n,i)}else if(_p(t))return xp[t];return t},zn=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Sp(t){let e=new Set,s=new Set,n=!1,i=!1;const o=new WeakSet;let r={delta:0,timestamp:0,isProcessing:!1};function a(u){o.has(u)&&(l.schedule(u),t()),u(r)}const l={schedule:(u,c=!1,f=!1)=>{const m=f&&n?e:s;return c&&o.add(u),m.add(u),u},cancel:u=>{s.delete(u),o.delete(u)},process:u=>{if(r=u,n){i=!0;return}n=!0;const c=e;e=s,s=c,e.forEach(a),e.clear(),n=!1,i&&(i=!1,l.process(u))}};return l}const Tp=40;function wl(t,e){let s=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>s=!0,r=zn.reduce((E,_)=>(E[_]=Sp(o),E),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:h,render:m,postRender:v}=r,y=()=>{const E=Fe.useManualTiming,_=E?i.timestamp:performance.now();s=!1,E||(i.delta=n?1e3/60:Math.max(Math.min(_-i.timestamp,Tp),1)),i.timestamp=_,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),h.process(i),m.process(i),v.process(i),i.isProcessing=!1,s&&e&&(n=!1,t(y))},x=()=>{s=!0,n=!0,i.isProcessing||t(y)};return{schedule:zn.reduce((E,_)=>{const F=r[_];return E[_]=(W,q=!1,j=!1)=>(s||x(),F.schedule(W,q,j)),E},{}),cancel:E=>{for(let _=0;_<zn.length;_++)r[zn[_]].cancel(E)},state:i,steps:r}}const{schedule:ot,cancel:Ie,state:At,steps:io}=wl(typeof requestAnimationFrame<"u"?requestAnimationFrame:Gt,!0);let qn;function wp(){qn=void 0}const Lt={now:()=>(qn===void 0&&Lt.set(At.isProcessing||Fe.useManualTiming?At.timestamp:performance.now()),qn),set:t=>{qn=t,queueMicrotask(wp)}},Al=t=>e=>typeof e=="string"&&e.startsWith(t),oo=Al("--"),Ap=Al("var(--"),ro=t=>Ap(t)?Pp.test(t.split("/*")[0].trim()):!1,Pp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Pl(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const fs={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},qs={...fs,transform:t=>ce(0,1,t)},Yn={...fs,default:1},Ys=t=>Math.round(t*1e5)/1e5,ao=/-?(?:\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,lo=(t,e)=>s=>!!(typeof s=="string"&&Ep.test(s)&&s.startsWith(t)||e&&!Cp(s)&&Object.prototype.hasOwnProperty.call(s,e)),Cl=(t,e,s)=>n=>{if(typeof n!="string")return n;const[i,o,r,a]=n.match(ao);return{[t]:parseFloat(i),[e]:parseFloat(o),[s]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},Vp=t=>ce(0,255,t),co={...fs,transform:t=>Math.round(Vp(t))},Ye={test:lo("rgb","red"),parse:Cl("red","green","blue"),transform:({red:t,green:e,blue:s,alpha:n=1})=>"rgba("+co.transform(t)+", "+co.transform(e)+", "+co.transform(s)+", "+Ys(qs.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 uo={test:lo("#"),parse:Mp,transform:Ye.transform},Xs=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Ce=Xs("deg"),ue=Xs("%"),I=Xs("px"),Dp=Xs("vh"),Op=Xs("vw"),El={...ue,parse:t=>ue.parse(t)/100,transform:t=>ue.transform(t*100)},hs={test:lo("hsl","hue"),parse:Cl("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:s,alpha:n=1})=>"hsla("+Math.round(t)+", "+ue.transform(Ys(e))+", "+ue.transform(Ys(s))+", "+Ys(qs.transform(n))+")"},mt={test:t=>Ye.test(t)||uo.test(t)||hs.test(t),parse:t=>Ye.test(t)?Ye.parse(t):hs.test(t)?hs.parse(t):uo.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Ye.transform(t):hs.transform(t),getAnimatableNone:t=>{const e=mt.parse(t);return e.alpha=0,mt.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(ao)?.length||0)+(t.match(Rp)?.length||0)>0}const Vl="number",Ml="color",Fp="var",Ip="var(",Dl="${}",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 ds(t){const e=t.toString(),s=[],n={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(kp,l=>(mt.test(l)?(n.color.push(o),i.push(Ml),s.push(mt.parse(l))):l.startsWith(Ip)?(n.var.push(o),i.push(Fp),s.push(l)):(n.number.push(o),i.push(Vl),s.push(parseFloat(l))),++o,Dl)).split(Dl);return{values:s,split:a,indexes:n,types:i}}function jp(t){return ds(t).values}function Ol({split:t,types:e}){const s=t.length;return n=>{let i="";for(let o=0;o<s;o++)if(i+=t[o],n[o]!==void 0){const r=e[o];r===Vl?i+=Ys(n[o]):r===Ml?i+=mt.transform(n[o]):i+=n[o]}return i}}function Bp(t){return Ol(ds(t))}const $p=t=>typeof t=="number"?0:mt.test(t)?mt.getAnimatableNone(t):t,Np=(t,e)=>typeof t=="number"?e?.trim().endsWith("/")?t:0:$p(t);function Up(t){const e=ds(t);return Ol(e)(e.values.map((n,i)=>Np(n,e.split[i])))}const te={test:Lp,parse:jp,createTransformer:Bp,getAnimatableNone:Up};function fo(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 Hp({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=fo(l,a,t+1/3),o=fo(l,a,t),r=fo(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:n}}function Xn(t,e){return s=>s>0?e:t}const lt=(t,e,s)=>t+(e-t)*s,ho=(t,e,s)=>{const n=t*t,i=s*(e*e-n)+n;return i<0?0:Math.sqrt(i)},Kp=[uo,Ye,hs],Wp=t=>Kp.find(e=>e.test(t));function Rl(t){const e=Wp(t);if(!e)return!1;let s=e.parse(t);return e===hs&&(s=Hp(s)),s}const Ll=(t,e)=>{const s=Rl(t),n=Rl(e);if(!s||!n)return Xn(t,e);const i={...s};return o=>(i.red=ho(s.red,n.red,o),i.green=ho(s.green,n.green,o),i.blue=ho(s.blue,n.blue,o),i.alpha=lt(s.alpha,n.alpha,o),Ye.transform(i))},po=new Set(["none","hidden"]);function Gp(t,e){return po.has(t)?s=>s<=0?t:e:s=>s>=1?e:t}function zp(t,e){return s=>lt(t,e,s)}function mo(t){return typeof t=="number"?zp:typeof t=="string"?ro(t)?Xn:mt.test(t)?Ll:Xp:Array.isArray(t)?Fl:typeof t=="object"?mt.test(t)?Ll:qp:Xn}function Fl(t,e){const s=[...t],n=s.length,i=t.map((o,r)=>mo(o)(o,e[r]));return o=>{for(let r=0;r<n;r++)s[r]=i[r](o);return s}}function qp(t,e){const s={...t,...e},n={};for(const i in s)t[i]!==void 0&&e[i]!==void 0&&(n[i]=mo(t[i])(t[i],e[i]));return i=>{for(const o in n)s[o]=n[o](i);return s}}function Yp(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 Xp=(t,e)=>{const s=te.createTransformer(e),n=ds(t),i=ds(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?po.has(t)&&!i.values.length||po.has(e)&&!n.values.length?Gp(t,e):Ws(Fl(Yp(n,i),i.values),s):Xn(t,e)};function Il(t,e,s){return typeof t=="number"&&typeof e=="number"&&typeof s=="number"?lt(t,e,s):mo(t)(t,e)}const Zp=t=>{const e=({timestamp:s})=>t(s);return{start:(s=!0)=>ot.update(e,s),stop:()=>Ie(e),now:()=>At.isProcessing?At.timestamp:Lt.now()}},kl=(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)})`},Zn=2e4;function go(t){let e=0;const s=50;let n=t.next(e);for(;!n.done&&e<Zn;)e+=s,n=t.next(e);return e>=Zn?1/0:e}function Jp(t,e=100,s){const n=s({...t,keyframes:[0,e]}),i=Math.min(go(n),Zn);return{type:"keyframes",ease:o=>n.next(i*o).value/e,duration:qt(i)}}const pt={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};function yo(t,e){return t*Math.sqrt(1-e*e)}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}const vo=.001;function em({duration:t=pt.duration,bounce:e=pt.bounce,velocity:s=pt.velocity,mass:n=pt.mass}){let i,o,r=1-e;r=ce(pt.minDamping,pt.maxDamping,r),t=ce(pt.minDuration,pt.maxDuration,qt(t)),r<1?(i=u=>{const c=u*r,f=c*t,h=c-s,m=yo(u,r),v=Math.exp(-f);return vo-h/m*v},o=u=>{const f=u*r*t,h=f*s+s,m=Math.pow(r,2)*Math.pow(u,2)*t,v=Math.exp(-f),y=yo(Math.pow(u,2),r);return(-i(u)+vo>0?-1:1)*((h-m)*v)/y}):(i=u=>{const c=Math.exp(-u*t),f=(u-s)*t+1;return-vo+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=zt(t),isNaN(l))return{stiffness:pt.stiffness,damping:pt.damping,duration:t};{const u=Math.pow(l,2)*n;return{stiffness:u,damping:r*2*Math.sqrt(n*u),duration:t}}}const sm=["duration","bounce"],nm=["stiffness","damping","mass"];function jl(t,e){return e.some(s=>t[s]!==void 0)}function im(t){let e={velocity:pt.velocity,stiffness:pt.stiffness,damping:pt.damping,mass:pt.mass,isResolvedFromDuration:!1,...t};if(!jl(t,nm)&&jl(t,sm))if(e.velocity=0,t.visualDuration){const s=t.visualDuration,n=2*Math.PI/(s*1.2),i=n*n,o=2*ce(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:pt.mass,stiffness:i,damping:o}}else{const s=em({...t,velocity:0});e={...e,...s,mass:pt.mass},e.isResolvedFromDuration=!0}return e}function Jn(t=pt.visualDuration,e=pt.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:h,isResolvedFromDuration:m}=im({...s,velocity:-qt(s.velocity||0)}),v=h||0,y=u/(2*Math.sqrt(l*c)),x=r-o,A=qt(Math.sqrt(l/c)),C=Math.abs(x)<5;n||(n=C?pt.restSpeed.granular:pt.restSpeed.default),i||(i=C?pt.restDelta.granular:pt.restDelta.default);let E,_,F,W,q,j;if(y<1)F=yo(A,y),W=(v+y*A*x)/F,E=R=>{const K=Math.exp(-y*A*R);return r-K*(W*Math.sin(F*R)+x*Math.cos(F*R))},q=y*A*W+x*F,j=y*A*x-W*F,_=R=>Math.exp(-y*A*R)*(q*Math.sin(F*R)+j*Math.cos(F*R));else if(y===1){E=K=>r-Math.exp(-A*K)*(x+(v+A*x)*K);const R=v+A*x;_=K=>Math.exp(-A*K)*(A*R*K-v)}else{const R=A*Math.sqrt(y*y-1);E=rt=>{const bt=Math.exp(-y*A*rt),Y=Math.min(R*rt,300);return r-bt*((v+y*A*x)*Math.sinh(Y)+R*x*Math.cosh(Y))/R};const K=(v+y*A*x)/R,O=y*A*K-x*R,et=y*A*x-K*R;_=rt=>{const bt=Math.exp(-y*A*rt),Y=Math.min(R*rt,300);return bt*(O*Math.sinh(Y)+et*Math.cosh(Y))}}const B={calculatedDuration:m&&f||null,velocity:R=>zt(_(R)),next:R=>{if(!m&&y<1){const O=Math.exp(-y*A*R),et=Math.sin(F*R),rt=Math.cos(F*R),bt=r-O*(W*et+x*rt),Y=zt(O*(q*et+j*rt));return a.done=Math.abs(Y)<=n&&Math.abs(r-bt)<=i,a.value=a.done?r:bt,a}const K=E(R);if(m)a.done=R>=f;else{const O=zt(_(R));a.done=Math.abs(O)<=n&&Math.abs(r-K)<=i}return a.value=a.done?r:K,a},toString:()=>{const R=Math.min(go(B),Zn),K=kl(O=>B.next(R*O).value,R,30);return R+"ms "+K},toTransition:()=>{}};return B}Jn.applyToOptions=t=>{const e=Jp(t,100,Jn);return t.ease=e.ease,t.duration=zt(e.duration),t.type="keyframes",t};const om=5;function Bl(t,e,s){const n=Math.max(e-om,0);return hl(s-t(n),e-n)}function bo({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],h={done:!1,value:f},m=j=>a!==void 0&&j<a||l!==void 0&&j>l,v=j=>a===void 0?l:l===void 0||Math.abs(a-j)<Math.abs(l-j)?a:l;let y=s*e;const x=f+y,A=r===void 0?x:r(x);A!==x&&(y=A-f);const C=j=>-y*Math.exp(-j/n),E=j=>A+C(j),_=j=>{const B=C(j),R=E(j);h.done=Math.abs(B)<=u,h.value=h.done?A:R};let F,W;const q=j=>{m(h.value)&&(F=j,W=Jn({keyframes:[h.value,v(h.value)],velocity:Bl(E,j,h.value),damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return q(0),{calculatedDuration:null,next:j=>{let B=!1;return!W&&F===void 0&&(B=!0,_(j),q(j)),F!==void 0&&j>=F?W.next(j-F):(!B&&_(j),h)}}}function rm(t,e,s){const n=[],i=s||Fe.mix||Il,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]||Gt:e;a=Ws(l,a)}n.push(a)}return n}function am(t,e,{clamp:s=!0,ease:n,mixer:i}={}){const o=t.length;if(Gn(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=rm(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 h=Gs(t[f],t[f+1],c);return a[f](h)};return s?c=>u(ce(t[0],t[o-1],c)):u}function lm(t,e){const s=t[t.length-1];for(let n=1;n<=e;n++){const i=Gs(0,e,n);t.push(lt(s,1,i))}}function cm(t){const e=[0];return lm(e,t.length-1),e}function um(t,e){return t.map(s=>s*e)}function fm(t,e){return t.map(()=>e||_l).splice(0,t.length-1)}function Zs({duration:t=300,keyframes:e,times:s,ease:n="easeInOut"}){const i=bp(n)?n.map(Tl):Tl(n),o={done:!1,value:e[0]},r=um(s&&s.length===e.length?s:cm(e),t),a=am(r,e,{ease:Array.isArray(i)?i:fm(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const hm=t=>t!==null;function Qn(t,{repeat:e,repeatType:s="loop"},n,i=1){const o=t.filter(hm),a=i<0||e&&s!=="loop"&&e%2===1?0:o.length-1;return!a||n===void 0?o[a]:n}const dm={decay:bo,inertia:bo,tween:Zs,keyframes:Zs,spring:Jn};function $l(t){typeof t.type=="string"&&(t.type=dm[t.type])}class xo{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 pm=t=>t/100;class ti extends xo{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==Lt.now()&&this.tick(Lt.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;$l(e);const{type:s=Zs,repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=e;let{keyframes:a}=e;const l=s||Zs;l!==Zs&&typeof a[0]!="number"&&(this.mixKeyframes=Ws(pm,Il(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=go(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:h,repeatDelay:m,type:v,onUpdate:y,finalKeyframe:x}=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 A=this.currentTime-u*(this.playbackSpeed>=0?1:-1),C=this.playbackSpeed>=0?A<0:A>i;this.currentTime=Math.max(A,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let E=this.currentTime,_=n;if(f){const j=Math.min(this.currentTime,i)/a;let B=Math.floor(j),R=j%1;!R&&j>=1&&(R=1),R===1&&B--,B=Math.min(B,f+1),B%2&&(h==="reverse"?(R=1-R,m&&(R-=m/a)):h==="mirror"&&(_=r)),E=ce(0,1,R)*a}let F;C?(this.delayState.value=c[0],F=this.delayState):F=_.next(E),o&&!C&&(F.value=o(F.value));let{done:W}=F;!C&&l!==null&&(W=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const q=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&W);return q&&v!==bo&&(F.value=Qn(c,this.options,x,this.speed)),y&&y(F.value),q&&this.finish(),F}then(e,s){return this.finished.then(e,s)}get duration(){return qt(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+qt(e)}get time(){return qt(this.currentTime)}set time(e){e=zt(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?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){const e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);const s=this.generator.next(e).value;return Bl(n=>this.generator.next(n).value,e,s)}get speed(){return this.playbackSpeed}set speed(e){const s=this.playbackSpeed!==e;s&&this.driver&&this.updateTime(Lt.now()),this.playbackSpeed=e,s&&this.driver&&(this.time=qt(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=Zp,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(Lt.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 mm(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const Xe=t=>t*180/Math.PI,_o=t=>{const e=Xe(Math.atan2(t[1],t[0]));return So(e)},gm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:_o,rotateZ:_o,skewX:t=>Xe(Math.atan(t[1])),skewY:t=>Xe(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},So=t=>(t=t%360,t<0&&(t+=360),t),Nl=_o,Ul=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Hl=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),ym={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Ul,scaleY:Hl,scale:t=>(Ul(t)+Hl(t))/2,rotateX:t=>So(Xe(Math.atan2(t[6],t[5]))),rotateY:t=>So(Xe(Math.atan2(-t[2],t[0]))),rotateZ:Nl,rotate:Nl,skewX:t=>Xe(Math.atan(t[4])),skewY:t=>Xe(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function To(t){return t.includes("scale")?1:0}function wo(t,e){if(!t||t==="none")return To(e);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,i;if(s)n=ym,i=s;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=gm,i=a}if(!i)return To(e);const o=n[e],r=i[1].split(",").map(bm);return typeof o=="function"?o(r):r[o]}const vm=(t,e)=>{const{transform:s="none"}=getComputedStyle(t);return wo(s,e)};function bm(t){return parseFloat(t.trim())}const ps=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ms=new Set([...ps,"pathRotation"]),Kl=t=>t===fs||t===I,xm=new Set(["x","y","z"]),_m=ps.filter(t=>!xm.has(t));function Sm(t){const e=[];return _m.forEach(s=>{const n=t.getValue(s);n!==void 0&&(e.push([s,n.get()]),n.set(s.startsWith("scale")?1:0))}),e}const ke={width:({x:t},{paddingLeft:e="0",paddingRight:s="0",boxSizing:n})=>{const i=t.max-t.min;return n==="border-box"?i:i-parseFloat(e)-parseFloat(s)},height:({y:t},{paddingTop:e="0",paddingBottom:s="0",boxSizing:n})=>{const i=t.max-t.min;return n==="border-box"?i:i-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})=>wo(e,"x"),y:(t,{transform:e})=>wo(e,"y")};ke.translateX=ke.x,ke.translateY=ke.y;const Ze=new Set;let Ao=!1,Po=!1,Co=!1;function Wl(){if(Po){const t=Array.from(Ze).filter(n=>n.needsMeasurement),e=new Set(t.map(n=>n.element)),s=new Map;e.forEach(n=>{const i=Sm(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)})}Po=!1,Ao=!1,Ze.forEach(t=>t.complete(Co)),Ze.clear()}function Gl(){Ze.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Po=!0)})}function Tm(){Co=!0,Gl(),Wl(),Co=!1}class Eo{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?(Ze.add(this),Ao||(Ao=!0,ot.read(Gl),ot.resolveKeyframes(Wl))):(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])}mm(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Ze.delete(this)}cancel(){this.state==="scheduled"&&(Ze.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const wm=t=>t.startsWith("--");function zl(t,e,s){wm(e)?t.style.setProperty(e,s):t.style[e]=s}const Am={};function ql(t,e){const s=fl(t);return()=>Am[e]??s()}const Pm=ql(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Yl=ql(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Js=([t,e,s,n])=>`cubic-bezier(${t}, ${e}, ${s}, ${n})`,Xl={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Js([0,.65,.55,1]),circOut:Js([.55,0,1,.45]),backIn:Js([.31,.01,.66,-.59]),backOut:Js([.33,1.53,.69,.99])};function Zl(t,e){if(t)return typeof t=="function"?Yl()?kl(t,e):"ease-out":Sl(t)?Js(t):Array.isArray(t)?t.map(s=>Zl(s,e)||Xl.easeOut):Xl[t]}function Cm(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=Zl(a,i);Array.isArray(f)&&(c.easing=f);const h={delay:n,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),t.animate(c,h)}function Jl(t){return typeof t=="function"&&"applyToOptions"in t}function Em({type:t,...e}){return Jl(t)&&Yl()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class Ql extends xo{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,Gn(typeof e.type!="string");const u=Em(e);this.animation=Cm(s,n,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=Qn(i,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(c),zl(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 qt(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+qt(e)}get time(){return qt(Number(this.animation.currentTime)||0)}set time(e){const s=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=zt(e),s&&this.animation.pause()}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,rangeStart:s,rangeEnd:n,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Pm()?(this.animation.timeline=e,s&&(this.animation.rangeStart=s),n&&(this.animation.rangeEnd=n),Gt):i(this)}}const tc={anticipate:vl,backInOut:yl,circInOut:xl};function Vm(t){return t in tc}function Mm(t){typeof t.ease=="string"&&Vm(t.ease)&&(t.ease=tc[t.ease])}const Vo=10;class Dm extends Ql{constructor(e){Mm(e),$l(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(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 ti({...r,autoplay:!1}),l=Math.max(Vo,Lt.now()-this.startTime),u=ce(0,Vo,l-Vo),c=a.sample(l).value,{name:f}=this.options;o&&f&&zl(o,f,c),s.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}}const ec=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(te.test(t)||t==="0")&&!t.startsWith("url("));function Om(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 Rm(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=ec(i,e),a=ec(o,e);return!r||!a?!1:Om(t)||(s==="spring"||Jl(s))&&n}function Mo(t){t.duration=0,t.type="keyframes"}const sc=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Lm=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Fm(t){for(let e=0;e<t.length;e++)if(typeof t[e]=="string"&&Lm.test(t[e]))return!0;return!1}const Im=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),km=fl(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function jm(t){const{motionValue:e,name:s,repeatDelay:n,repeatType:i,damping:o,type:r,keyframes:a}=t,l=e?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;const{onUpdate:u,transformTemplate:c}=e.owner.getProps();return km()&&s&&(sc.has(s)||Im.has(s)&&Fm(a))&&(s!=="transform"||!c)&&!u&&!n&&i!=="mirror"&&o!==0&&r!=="inertia"}const Bm=40;class $m extends xo{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=Lt.now();const h={autoplay:e,delay:s,type:n,repeat:i,repeatDelay:o,repeatType:r,name:l,motionValue:u,element:c,...f},m=c?.KeyframeResolver||Eo;this.keyframeResolver=new m(a,(v,y,x)=>this.onKeyframesResolved(v,y,h,!x),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=Lt.now();let f=!0;Rm(e,o,r,a)||(f=!1,(Fe.instantAnimations||!l)&&c?.(Qn(e,n,s)),e[0]=e[e.length-1],Mo(n),n.repeat=0);const m={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Bm?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...n,keyframes:e},v=f&&!u&&jm(m),y=m.motionValue?.owner?.current;let x;if(v)try{x=new Dm({...m,element:y})}catch{x=new ti(m)}else x=new ti(m);x.finished.then(()=>{this.notifyFinished()}).catch(Gt),this.pendingTimeline&&(this.stopTimeline=x.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=x}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(),Tm()),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 nc(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 ic=30,Nm=t=>!isNaN(parseFloat(t));class Um{constructor(e,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{const i=Lt.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=Lt.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Nm(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 eo);const n=this.events[e].add(s);return e==="change"?()=>{n(),ot.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=Lt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>ic)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,ic);return hl(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 gs(t,e){return new Um(t,e)}function oc(t,e){if(t?.inherit&&e){const{inherit:s,...n}=t;return{...e,...n}}return t}function Do(t,e){const s=t?.[e]??t?.default??t;return s!==t?oc(s,t):s}const Hm={type:"spring",stiffness:500,damping:25,restSpeed:10},Km=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Wm={type:"keyframes",duration:.8},Gm={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},zm=(t,{keyframes:e})=>e.length>2?Wm:ms.has(t)?t.startsWith("scale")?Km(e[1]):Hm:Gm,qm=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Ym(t){for(const e in t)if(!qm.has(e))return!0;return!1}const Oo=(t,e,s,n={},i,o)=>r=>{const a=Do(n,t)||{},l=a.delay||n.delay||0;let{elapsed:u=0}=n;u=u-zt(l);const c={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:h=>{e.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:i};Ym(a)||Object.assign(c,zm(t,c)),c.duration&&(c.duration=zt(c.duration)),c.repeatDelay&&(c.repeatDelay=zt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(Mo(c),c.delay===0&&(f=!0)),(Fe.instantAnimations||Fe.skipAnimations||i?.shouldSkipAnimations||a.skipAnimations)&&(f=!0,Mo(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!o&&e.get()!==void 0){const h=Qn(c.keyframes,a);if(h!==void 0){ot.update(()=>{c.onUpdate(h),c.onComplete()});return}}return a.isSync?new ti(c):new $m(c)},Xm=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Zm(t){const e=Xm.exec(t);if(!e)return[,];const[,s,n,i]=e;return[`--${s??n}`,i]}function rc(t,e,s=1){const[n,i]=Zm(t);if(!n)return;const o=window.getComputedStyle(e).getPropertyValue(n);if(o){const r=o.trim();return ll(r)?parseFloat(r):r}return ro(i)?rc(i,e,s+1):i}function ac(t){const e=[{},{}];return t?.values.forEach((s,n)=>{e[0][n]=s.get(),e[1][n]=s.getVelocity()}),e}function lc(t,e,s,n){if(typeof e=="function"){const[i,o]=ac(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]=ac(n);e=e(s!==void 0?s:t.custom,i,o)}return e}function ys(t,e,s){const n=t.getProps();return lc(n,e,s!==void 0?s:n.custom,t)}const cc=new Set(["width","height","top","left","right","bottom",...ps]),Jm=t=>Array.isArray(t);function Qm(t,e,s){t.hasValue(e)?t.getValue(e).set(s):t.addValue(e,gs(s))}function tg(t){return Jm(t)?t[t.length-1]||0:t}function eg(t,e){const s=ys(t,e);let{transitionEnd:n={},transition:i={},...o}=s||{};o={...o,...n};for(const r in o){const a=tg(o[r]);Qm(t,r,a)}}const Vt=t=>!!(t&&t.getVelocity);function sg(t){return!!(Vt(t)&&t.add)}function Ro(t,e){const s=t.getValue("willChange");if(sg(s))return s.add(e);if(!s&&Fe.WillChange){const n=new Fe.WillChange("auto");t.addValue("willChange",n),n.add(e)}}function Lo(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const ng="data-"+Lo("framerAppearId");function uc(t){return t.props[ng]}function ig({protectedKeys:t,needsAnimating:e},s){const n=t.hasOwnProperty(s)&&e[s]!==!0;return e[s]=!1,n}function fc(t,e,{delay:s=0,transitionOverride:n,type:i}={}){let{transition:o,transitionEnd:r,...a}=e;const l=t.getDefaultTransition();o=o?oc(o,l):l;const u=o?.reduceMotion,c=o?.skipAnimations;n&&(o=n);const f=[],h=i&&t.animationState&&t.animationState.getState()[i],m=o?.path;m&&m.animateVisualElement(t,a,o,s,f);for(const v in a){const y=t.getValue(v,t.latestValues[v]??null),x=a[v];if(x===void 0||h&&ig(h,v))continue;const A={delay:s,...Do(o||{},v)};c&&(A.skipAnimations=!0);const C=y.get();if(C!==void 0&&!y.isAnimating()&&!Array.isArray(x)&&x===C&&!A.velocity){ot.update(()=>y.set(x));continue}let E=!1;if(window.MotionHandoffAnimation){const W=uc(t);if(W){const q=window.MotionHandoffAnimation(W,v,ot);q!==null&&(A.startTime=q,E=!0)}}Ro(t,v);const _=u??t.shouldReduceMotion;y.start(Oo(v,y,x,_&&cc.has(v)?{type:!1}:A,t,E));const F=y.animation;F&&f.push(F)}if(r){const v=()=>ot.update(()=>{r&&eg(t,r)});f.length?Promise.all(f).then(v):v()}return f}function Fo(t,e,s={}){const n=ys(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(fc(t,n,s)):()=>Promise.resolve(),r=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:f}=i;return og(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 og(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(Fo(l,e,{...r,delay:s+(typeof n=="function"?0:n)+nc(t.variantChildren,l,n,i,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}function rg(t,e,s={}){t.notify("AnimationStart",e);let n;if(Array.isArray(e)){const i=e.map(o=>Fo(t,o,s));n=Promise.all(i)}else if(typeof e=="string")n=Fo(t,e,s);else{const i=typeof e=="function"?ys(t,e,s.custom):e;n=Promise.all(fc(t,i,s))}return n.then(()=>{t.notify("AnimationComplete",e)})}const ag={test:t=>t==="auto",parse:t=>t},hc=t=>e=>e.test(t),dc=[fs,I,ue,Ce,Op,Dp,ag],pc=t=>dc.find(hc(t));function lg(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||ul(t):!0}const cg=new Set(["brightness","contrast","saturate","opacity"]);function ug(t){const[e,s]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[n]=s.match(ao)||[];if(!n)return t;const i=s.replace(n,"");let o=cg.has(e)?1:0;return n!==s&&(o*=100),e+"("+o+i+")"}const fg=/\b([a-z-]*)\(.*?\)/gu,Io={...te,getAnimatableNone:t=>{const e=t.match(fg);return e?e.map(ug).join(" "):t}},ko={...te,getAnimatableNone:t=>{const e=te.parse(t);return te.createTransformer(t)(e.map(n=>typeof n=="number"?0:typeof n=="object"?{...n,alpha:1}:n))}},mc={...fs,transform:Math.round},ei={borderWidth:I,borderTopWidth:I,borderRightWidth:I,borderBottomWidth:I,borderLeftWidth:I,borderRadius:I,borderTopLeftRadius:I,borderTopRightRadius:I,borderBottomRightRadius:I,borderBottomLeftRadius:I,width:I,maxWidth:I,height:I,maxHeight:I,top:I,right:I,bottom:I,left:I,inset:I,insetBlock:I,insetBlockStart:I,insetBlockEnd:I,insetInline:I,insetInlineStart:I,insetInlineEnd:I,padding:I,paddingTop:I,paddingRight:I,paddingBottom:I,paddingLeft:I,paddingBlock:I,paddingBlockStart:I,paddingBlockEnd:I,paddingInline:I,paddingInlineStart:I,paddingInlineEnd:I,margin:I,marginTop:I,marginRight:I,marginBottom:I,marginLeft:I,marginBlock:I,marginBlockStart:I,marginBlockEnd:I,marginInline:I,marginInlineStart:I,marginInlineEnd:I,fontSize:I,backgroundPositionX:I,backgroundPositionY:I,...{rotate:Ce,pathRotation:Ce,rotateX:Ce,rotateY:Ce,rotateZ:Ce,scale:Yn,scaleX:Yn,scaleY:Yn,scaleZ:Yn,skew:Ce,skewX:Ce,skewY:Ce,distance:I,translateX:I,translateY:I,translateZ:I,x:I,y:I,z:I,perspective:I,transformPerspective:I,opacity:qs,originX:El,originY:El,originZ:I},zIndex:mc,fillOpacity:qs,strokeOpacity:qs,numOctaves:mc},hg={...ei,color:mt,backgroundColor:mt,outlineColor:mt,fill:mt,stroke:mt,borderColor:mt,borderTopColor:mt,borderRightColor:mt,borderBottomColor:mt,borderLeftColor:mt,filter:Io,WebkitFilter:Io,mask:ko,WebkitMask:ko},gc=t=>hg[t],dg=new Set([Io,ko]);function yc(t,e){let s=gc(t);return dg.has(s)||(s=te),s.getAnimatableNone?s.getAnimatableNone(e):void 0}const pg=new Set(["auto","none","0"]);function mg(t,e,s){let n=0,i;for(;n<t.length&&!i;){const o=t[n];typeof o=="string"&&!pg.has(o)&&ds(o).values.length&&(i=t[n]),n++}if(i&&s)for(const o of e)t[o]=yc(s,i)}class gg extends Eo{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(),ro(f))){const h=rc(f,s.current);h!==void 0&&(e[c]=h),c===e.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!cc.has(n)||e.length!==2)return;const[i,o]=e,r=pc(i),a=pc(o),l=Pl(i),u=Pl(o);if(l!==u&&ke[n]){this.needsMeasurement=!0;return}if(r!==a)if(Kl(r)&&Kl(a))for(let c=0;c<e.length;c++){const f=e[c];typeof f=="string"&&(e[c]=parseFloat(f))}else ke[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:s}=this,n=[];for(let i=0;i<e.length;i++)(e[i]===null||lg(e[i]))&&n.push(i);n.length&&mg(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=ke[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]=ke[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 jo=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function vc(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 Bo=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function yg(t){return cl(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}const{schedule:bc}=wl(queueMicrotask,!1),vg={y:!1};function bg(){return vg.y}function xc(t,e){const s=vc(t),n=new AbortController,i={passive:!0,...e,signal:n.signal};return[s,i,()=>n.abort()]}function xg(t){return!(t.pointerType==="touch"||bg())}function _g(t,e,s={}){const[n,i,o]=xc(t,s);return n.forEach(r=>{let a=!1,l=!1,u;const c=()=>{r.removeEventListener("pointerleave",v)},f=x=>{u&&(u(x),u=void 0),c()},h=x=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),l&&(l=!1,f(x))},m=()=>{a=!0,window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",h,i)},v=x=>{if(x.pointerType!=="touch"){if(a){l=!0;return}f(x)}},y=x=>{if(!xg(x))return;l=!1;const A=e(r,x);typeof A=="function"&&(u=A,r.addEventListener("pointerleave",v,i))};r.addEventListener("pointerenter",y,i),r.addEventListener("pointerdown",m,i)}),o}const _c=(t,e)=>e?t===e?!0:_c(t,e.parentElement):!1,Sg=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,Tg=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function wg(t){return Tg.has(t.tagName)||t.isContentEditable===!0}const si=new WeakSet;function Sc(t){return e=>{e.key==="Enter"&&t(e)}}function $o(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Ag=(t,e)=>{const s=t.currentTarget;if(!s)return;const n=Sc(()=>{if(si.has(s))return;$o(s,"down");const i=Sc(()=>{$o(s,"up")}),o=()=>$o(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 Tc(t){return Sg(t)&&!0}const wc=new WeakSet;function Pg(t,e,s={}){const[n,i,o]=xc(t,s),r=a=>{const l=a.currentTarget;if(!Tc(a)||wc.has(a))return;si.add(l),s.stopPropagation&&wc.add(a);const u=e(l,a),c={...i,capture:!0},f=(v,y)=>{window.removeEventListener("pointerup",h,c),window.removeEventListener("pointercancel",m,c),si.has(l)&&si.delete(l),Tc(v)&&typeof u=="function"&&u(v,{success:y})},h=v=>{f(v,l===window||l===document||s.useGlobalTarget||_c(l,v.target))},m=v=>{f(v,!1)};window.addEventListener("pointerup",h,c),window.addEventListener("pointercancel",m,c)};return n.forEach(a=>{(s.useGlobalTarget?window:a).addEventListener("pointerdown",r,i),yg(a)&&(a.addEventListener("focus",u=>Ag(u,i)),!wg(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function Ac(t){return cl(t)&&"ownerSVGElement"in t}function Cg(t){return Ac(t)&&t.tagName==="svg"}const Eg=[...dc,mt,te],Vg=t=>Eg.find(hc(t)),Pc=()=>({translate:0,scale:1,origin:0,originPoint:0}),vs=()=>({x:Pc(),y:Pc()}),Cc=()=>({min:0,max:0}),vt=()=>({x:Cc(),y:Cc()}),Mg=new WeakMap;function No(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function ni(t){return typeof t=="string"||Array.isArray(t)}const Dg=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function Ec(t){return No(t.animate)||Dg.some(e=>ni(t[e]))}function Og(t){return!!(Ec(t)||t.variants)}function Rg(t,e,s){for(const n in e){const i=e[n],o=s[n];if(Vt(i))t.addValue(n,i);else if(Vt(o))t.addValue(n,gs(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,gs(r!==void 0?r:i,{owner:t}))}}for(const n in s)e[n]===void 0&&t.removeValue(n);return e}const Uo={current:null},Vc={current:!1},Lg=typeof window<"u";function Fg(){if(Vc.current=!0,!!Lg)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Uo.current=t.matches;t.addEventListener("change",e),e()}else Uo.current=!1}const Mc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Dc={};class Ig{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=Eo,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=Lt.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,ot.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=Ec(s),this.isVariantNode=Og(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(s,{},this);for(const m in h){const v=h[m];u[m]!==void 0&&Vt(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,Mg.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:(Vc.current||Fg(),this.shouldReduceMotion=Uo.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(),Ie(this.notifyUpdate),Ie(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&&sc.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:zt(c)}),h=r(f);this.valueSubscriptions.set(e,()=>{h(),f.cancel()});return}const n=ms.has(e);n&&this.onBindTransform&&this.onBindTransform();const i=s.on("change",r=>{this.latestValues[e]=r,this.props.onUpdate&&ot.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()})}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 Dc){const s=Dc[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):vt()}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<Mc.length;n++){const i=Mc[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=Rg(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=gs(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"&&(ll(n)||ul(n))?n=parseFloat(n):!Vg(n)&&te.test(s)&&(n=yc(e,s)),this.setBaseTarget(e,Vt(n)?n.get():n)),Vt(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=lc(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&&!Vt(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 eo),this.events[e].add(s)}notify(e,...s){this.events[e]&&this.events[e].notify(...s)}scheduleRenderMicrotask(){bc.render(this.render)}}class Oc extends Ig{constructor(){super(...arguments),this.KeyframeResolver=gg}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;Vt(e)&&(this.childSubscription=e.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function Rc({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function kg({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 Ho(t){return t===void 0||t===1}function Ko({scale:t,scaleX:e,scaleY:s}){return!Ho(t)||!Ho(e)||!Ho(s)}function Je(t){return Ko(t)||Lc(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function Lc(t){return Fc(t.x)||Fc(t.y)}function Fc(t){return t&&t!=="0%"}function ii(t,e,s){const n=t-s,i=e*n;return s+i}function Ic(t,e,s,n,i){return i!==void 0&&(t=ii(t,i,n)),ii(t,s,n)+e}function Wo(t,e=0,s=1,n,i){t.min=Ic(t.min,e,s,n,i),t.max=Ic(t.max,e,s,n,i)}function kc(t,{x:e,y:s}){Wo(t.x,e.translate,e.scale,e.originPoint),Wo(t.y,s.translate,s.scale,s.originPoint)}const jc=.999999999999,Bc=1.0000000000001;function Bg(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&&(fe(t.x,-o.scroll.offset.x),fe(t.y,-o.scroll.offset.y)),r&&(e.x*=r.x.scale,e.y*=r.y.scale,kc(t,r)),n&&Je(o.latestValues)&&oi(t,o.latestValues,o.layout?.layoutBox))}e.x<Bc&&e.x>jc&&(e.x=1),e.y<Bc&&e.y>jc&&(e.y=1)}function fe(t,e){t.min+=e,t.max+=e}function $c(t,e,s,n,i=.5){const o=lt(t.min,t.max,i);Wo(t,e,s,o,n)}function Nc(t,e){return typeof t=="string"?parseFloat(t)/100*(e.max-e.min):t}function oi(t,e,s){const n=s??t;$c(t.x,Nc(e.x,n.x),e.scaleX,e.scale,e.originX),$c(t.y,Nc(e.y,n.y),e.scaleY,e.scale,e.originY)}function Uc(t,e){return Rc(jg(t.getBoundingClientRect(),e))}function $g(t,e,s){const n=Uc(t,s),{scroll:i}=e;return i&&(fe(n.x,i.offset.x),fe(n.y,i.offset.y)),n}const Ng={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Ug=ps.length;function Hg(t,e,s){let n="",i=!0;for(let r=0;r<Ug;r++){const a=ps[r],l=t[a];if(l===void 0)continue;let u=!0;if(typeof l=="number")u=l===(a.startsWith("scale")?1:0);else{const c=parseFloat(l);u=a.startsWith("scale")?c===1:c===0}if(!u||s){const c=Bo(l,ei[a]);if(!u){i=!1;const f=Ng[a]||a;n+=`${f}(${c}) `}s&&(e[a]=c)}}const o=t.pathRotation;return o&&(i=!1,n+=`rotate(${Bo(o,ei.pathRotation)}) `),n=n.trim(),s?n=s(e,i?"":n):i&&(n="none"),n}function Go(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(ms.has(l)){r=!0;continue}else if(oo(l)){i[l]=u;continue}else{const c=Bo(u,ei[l]);l.startsWith("origin")?(a=!0,o[l]=c):n[l]=c}}if(e.transform||(r||s?n.transform=Hg(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 Hc(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 he={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(I.test(t))t=parseFloat(t);else return t;const s=Kc(t,e.target.x),n=Kc(t,e.target.y);return`${s}% ${n}%`}},Wc={correct:(t,{treeScale:e,projectionDelta:s})=>{const n=t,i=te.parse(t);if(i.length>5)return n;const o=te.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=lt(a,l,.5);return typeof i[2+r]=="number"&&(i[2+r]/=u),typeof i[3+r]=="number"&&(i[3+r]/=u),o(i)}},Qs={borderRadius:{...he,applyTo:[...jo]},borderTopLeftRadius:he,borderTopRightRadius:he,borderBottomLeftRadius:he,borderBottomRightRadius:he,boxShadow:Wc};function Gc(t){for(const e in t)Qs[e]=t[e],oo(e)&&(Qs[e].isCSSVariable=!0)}function Kg(t,{layout:e,layoutId:s}){return ms.has(t)||t.startsWith("origin")||(e||s!==void 0)&&(!!Qs[t]||t==="opacity")}function zc(t,e,s){const n=t.style,i=e?.style,o={};if(!n)return o;for(const r in n)(Vt(n[r])||i&&Vt(i[r])||Kg(r,t)||s?.getValue(r)?.liveStyle!==void 0)&&(o[r]=n[r]);return o}function Wg(t){return window.getComputedStyle(t)}class Gg extends Oc{constructor(){super(...arguments),this.type="html",this.renderInstance=Hc}mount(e){Gn(!!e.style),super.mount(e)}readValueFromInstance(e,s){if(ms.has(s))return this.projection?.isProjecting?To(s):vm(e,s);{const n=Wg(e),i=(oo(s)?n.getPropertyValue(s):n[s])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:s}){return Uc(e,s)}build(e,s,n){Go(e,s,n.transformTemplate)}scrapeMotionValuesFromProps(e,s,n){return zc(e,s,n)}}const zg={offset:"stroke-dashoffset",array:"stroke-dasharray"},qg={offset:"strokeDashoffset",array:"strokeDasharray"};function Yg(t,e,s=1,n=0,i=!0){t.pathLength=1;const o=i?zg:qg;t[o.offset]=`${-n}`,t[o.array]=`${e} ${s}`}const qc=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Yc(t,{attrX:e,attrY:s,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:r=0,...a},l,u,c){if(Go(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:f,style:h}=t;for(const m of qc)f[m]!==void 0&&(h[m]=f[m],delete f[m]);(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=c?.transformBox??"fill-box",delete f.transformBox),e!==void 0&&(f.x=e),s!==void 0&&(f.y=s),n!==void 0&&(f.scale=n),i!==void 0&&Yg(f,i,o,r,!1)}const zo=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"]),Xc=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Xg(t,e,s,n){Hc(t,e,void 0,n);for(const i in e.attrs)t.setAttribute(zo.has(i)?i:Lo(i),e.attrs[i])}function Zg(t,e,s){const n=zc(t,e,s);for(const i in t)if(Vt(t[i])||Vt(e[i])){const o=ps.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[o]=t[i]}return n}class Jg extends Oc{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=vt}getBaseTargetFromProps(e,s){return e[s]}readValueFromInstance(e,s){if(ms.has(s)){const n=gc(s);return n&&n.default||0}if(qc.includes(s)){const i=getComputedStyle(e)[s];if(typeof i=="string"&&i)return i.trim()}return s=zo.has(s)?s:Lo(s),e.getAttribute(s)}scrapeMotionValuesFromProps(e,s,n){return Zg(e,s,n)}build(e,s,n){Yc(e,s,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,s,n,i){Xg(e,s,n,i)}mount(e){this.isSVGTag=Xc(e.tagName),super.mount(e)}}function qo(t,e){t.min=e.min,t.max=e.max}function ee(t,e){qo(t.x,e.x),qo(t.y,e.y)}function Zc(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}const Jc=1e-4,Qg=1-Jc,ty=1+Jc,Qc=.01,ey=0-Qc,sy=0+Qc;function Ft(t){return t.max-t.min}function ny(t,e,s){return Math.abs(t-e)<=s}function tu(t,e,s,n=.5){t.origin=n,t.originPoint=lt(e.min,e.max,t.origin),t.scale=Ft(s)/Ft(e),t.translate=lt(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 tn(t,e,s,n){tu(t.x,e.x,s.x,n?n.originX:void 0),tu(t.y,e.y,s.y,n?n.originY:void 0)}function eu(t,e,s,n=0){const i=n?lt(s.min,s.max,n):s.min;t.min=i+e.min,t.max=t.min+Ft(e)}function iy(t,e,s,n){eu(t.x,e.x,s.x,n?.x),eu(t.y,e.y,s.y,n?.y)}function su(t,e,s,n=0){const i=n?lt(s.min,s.max,n):s.min;t.min=e.min-i,t.max=t.min+Ft(e)}function ri(t,e,s,n){su(t.x,e.x,s.x,n?.x),su(t.y,e.y,s.y,n?.y)}function nu(t,e,s,n,i){return t-=e,t=ii(t,1/s,n),i!==void 0&&(t=ii(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=lt(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=lt(o.min,o.max,n);t===o&&(a-=e),t.min=nu(t.min,e,s,a,i),t.max=nu(t.max,e,s,a,i)}function iu(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 ou(t,e,s,n){iu(t.x,e,ry,s?s.x:void 0,n?n.x:void 0),iu(t.y,e,ay,s?s.y:void 0,n?n.y:void 0)}function ru(t){return t.translate===0&&t.scale===1}function au(t){return ru(t.x)&&ru(t.y)}function lu(t,e){return t.min===e.min&&t.max===e.max}function ly(t,e){return lu(t.x,e.x)&&lu(t.y,e.y)}function cu(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function uu(t,e){return cu(t.x,e.x)&&cu(t.y,e.y)}function fu(t){return Ft(t.x)/Ft(t.y)}function hu(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function Yt(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,pathRotation:f,rotateX:h,rotateY:m,skewX:v,skewY:y}=s;u&&(n=`perspective(${u}px) ${n}`),c&&(n+=`rotate(${c}deg) `),f&&(n+=`rotate(${f}deg) `),h&&(n+=`rotateX(${h}deg) `),m&&(n+=`rotateY(${m}deg) `),v&&(n+=`skewX(${v}deg) `),y&&(n+=`skewY(${y}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 uy=jo.length,du=t=>typeof t=="string"?parseFloat(t):t,pu=t=>typeof t=="number"||I.test(t);function fy(t,e,s,n,i,o){i?(t.opacity=lt(0,s.opacity??1,hy(n)),t.opacityExit=lt(e.opacity??1,0,dy(n))):o&&(t.opacity=lt(e.opacity??1,s.opacity??1,n));for(let r=0;r<uy;r++){const a=jo[r];let l=mu(e,a),u=mu(s,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||pu(l)===pu(u)?(t[a]=Math.max(lt(du(l),du(u),n),0),(ue.test(u)||ue.test(l))&&(t[a]+="%")):t[a]=u}(e.rotate||s.rotate)&&(t.rotate=lt(e.rotate||0,s.rotate||0,n))}function mu(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const hy=gu(0,.5,bl),dy=gu(.5,.95,Gt);function gu(t,e,s){return n=>n<t?0:n>e?1:s(Gs(t,e,n))}function py(t,e,s){const n=Vt(t)?t:gs(t);return n.start(Oo("",n,e,s)),n.animation}function en(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s,n)}const my=(t,e)=>t.depth-e.depth;class gy{constructor(){this.children=[],this.isDirty=!1}add(e){to(this.children,e),this.isDirty=!0}remove(e){Wn(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=Lt.now(),n=({timestamp:i})=>{const o=i-s;o>=e&&(Ie(n),t(o-e))};return ot.setup(n,!0),()=>Ie(n)}function Yo(t){return Vt(t)?t.get():t}class vy{constructor(){this.members=[]}add(e){to(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.snapshot&&(Wn(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Wn(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){for(let s=this.members.indexOf(e)-1;s>=0;s--){const n=this.members[s];if(n.isPresent!==!1&&n.instance?.isConnected!==!1)return this.promote(n),!0}return!1}promote(e,s){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();const{layoutDependency:i}=n.options,{layoutDependency:o}=e.options;(i===void 0||i!==o)&&(e.resumeFrom=n,s&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const ai={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Xo=["","X","Y","Z"],by=1e3;let xy=0;function Zo(t,e,s,n){const{latestValues:i}=e;i[t]&&(s[t]=i[t],e.setStaticValue(t,0),n&&(n[t]=0))}function yu(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const s=uc(e);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",ot,!(i||o))}const{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&yu(n)}function vu({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(Ty),this.nodes.forEach(Vy),this.nodes.forEach(My),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 eo),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=Ac(r)&&!Cg(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 h=()=>this.root.updateBlockedByResize=!1;ot.read(()=>{f=window.innerWidth}),t(r,()=>{const m=window.innerWidth;m!==f&&(f=m,this.root.updateBlockedByResize=!0,c&&c(),c=yy(h,250),ai.hasAnimatedSinceResize&&(ai.hasAnimatedSinceResize=!1,this.nodes.forEach(_u)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||Fy,{onLayoutAnimationStart:y,onLayoutAnimationComplete:x}=u.getProps(),A=!this.targetLayout||!uu(this.targetLayout,m),C=!f&&h;if(this.options.layoutRoot||this.resumeFrom||C||f&&(A||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const E={...Do(v,"layout"),onPlay:y,onComplete:x};(u.shouldReduceMotion||this.options.layoutRoot)&&(E.delay=0,E.type=!1),this.startAnimation(E),this.setAnimationOrigin(c,C,E.path)}else f||_u(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(),Ie(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(Dy),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&&yu(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,(typeof f.latestValues.x=="string"||typeof f.latestValues.y=="string")&&(f.isLayoutDirty=!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()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(Py),this.nodes.forEach(bu);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(xu);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Cy),this.nodes.forEach(Ey),this.nodes.forEach(_y),this.nodes.forEach(Sy)):this.nodes.forEach(xu),this.clearAllSnapshots();const a=Lt.now();At.delta=ce(0,1e3/60,a-At.timestamp),At.timestamp=a,At.isProcessing=!0,io.update.process(At),io.preRender.process(At),io.render.process(At),At.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,bc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Ay),this.sharedNodes.forEach(Oy)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ot.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ot.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ft(this.snapshot.measuredBox.x)&&!Ft(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||(this.layoutCorrected=vt()),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&&!au(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;r&&this.instance&&(a||Je(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)),Iy(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:r}=this.options;if(!r)return vt();const a=r.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ky))){const{scroll:u}=this.root;u&&(fe(a.x,u.offset.x),fe(a.y,u.offset.y))}return a}removeElementScroll(r){const a=vt();if(ee(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&&ee(a,r),fe(a.x,c.offset.x),fe(a.y,c.offset.y))}return a}applyTransform(r,a=!1,l){const u=l||vt();ee(u,r);for(let c=0;c<this.path.length;c++){const f=this.path[c];!a&&f.options.layoutScroll&&f.scroll&&f!==f.root&&(fe(u.x,-f.scroll.offset.x),fe(u.y,-f.scroll.offset.y)),Je(f.latestValues)&&oi(u,f.latestValues,f.layout?.layoutBox)}return Je(this.latestValues)&&oi(u,this.latestValues,this.layout?.layoutBox),u}removeTransform(r){const a=vt();ee(a,r);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!Je(u.latestValues))continue;let c;u.instance&&(Ko(u.latestValues)&&u.updateSnapshot(),c=vt(),ee(c,u.measurePageBox())),ou(a,u.latestValues,u.snapshot?.layoutBox,c)}return Je(this.latestValues)&&ou(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!==At.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=At.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=vt(),this.targetWithTransforms=vt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),iy(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):ee(this.target,this.layout.layoutBox),kc(this.target,this.targetDelta)):ee(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Ko(this.parent.latestValues)||Lc(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=vt(),this.relativeTargetOrigin=vt(),ri(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),ee(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===At.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;ee(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;Bg(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=vt());const{target:m}=r;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Zc(this.prevProjectionDelta.x,this.projectionDelta.x),Zc(this.prevProjectionDelta.y,this.projectionDelta.y)),tn(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!hu(this.projectionDelta.x,this.prevProjectionDelta.x)||!hu(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=vs(),this.projectionDelta=vs(),this.projectionDeltaWithTransform=vs()}setAnimationOrigin(r,a=!1,l){const u=this.snapshot,c=u?u.latestValues:{},f={...this.latestValues},h=vs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const m=vt(),v=u?u.source:void 0,y=this.layout?this.layout.source:void 0,x=v!==y,A=this.getStack(),C=!A||A.members.length<=1,E=!!(x&&!C&&this.options.crossfade===!0&&!this.path.some(Ly));this.animationProgress=0;let _;const F=l?.interpolateProjection(r);this.mixTargetDelta=W=>{const q=W/1e3,j=F?.(q);j?(h.x.translate=j.x,h.x.scale=lt(r.x.scale,1,q),h.x.origin=r.x.origin,h.x.originPoint=r.x.originPoint,h.y.translate=j.y,h.y.scale=lt(r.y.scale,1,q),h.y.origin=r.y.origin,h.y.originPoint=r.y.originPoint):(Su(h.x,r.x,q),Su(h.y,r.y,q)),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ri(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Ry(this.relativeTarget,this.relativeTargetOrigin,m,q),_&&ly(this.relativeTarget,_)&&(this.isProjectionDirty=!1),_||(_=vt()),ee(_,this.relativeTarget)),x&&(this.animationValues=f,fy(f,c,this.latestValues,q,E,C)),j&&j.rotate!==void 0&&(this.animationValues||(this.animationValues=f),this.animationValues.pathRotation=j.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=q},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Ie(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ot.update(()=>{ai.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=gs(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)},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&&Cu(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||vt();const f=Ft(this.layout.layoutBox.x);l.x.min=r.target.x.min,l.x.max=l.x.min+f;const h=Ft(this.layout.layoutBox.y);l.y.min=r.target.y.min,l.y.max=l.y.min+h}ee(a,l),oi(a,c),tn(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&&Zo("z",r,u,this.animationValues);for(let c=0;c<Xo.length;c++)Zo(`rotate${Xo[c]}`,r,u,this.animationValues),Zo(`skew${Xo[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=Yo(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=Yo(a?.pointerEvents)||""),this.hasProjected&&!Je(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:h,y:m}=this.projectionDelta;r.transformOrigin=`${h.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 Qs){if(c[v]===void 0)continue;const{correct:y,applyTo:x,isCSSVariable:A}=Qs[v],C=f==="none"?c[v]:y(c[v],u);if(x){const E=x.length;for(let _=0;_<E;_++)r[x[_]]=C}else A?this.options.visualElement.renderState.vars[v]=C:r[v]=C}this.options.layoutId&&(r.pointerEvents=u===this?Yo(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>r.currentAnimation?.stop()),this.root.nodes.forEach(bu),this.root.sharedNodes.clear()}}}function _y(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;if(i==="size")Yt(c=>{const f=o?e.measuredBox[c]:e.layoutBox[c],h=Ft(f);f.min=s[c].min,f.max=f.min+h});else if(i==="x"||i==="y"){const c=i==="x"?"y":"x";qo(o?e.measuredBox[c]:e.layoutBox[c],s[c])}else Cu(i,e.layoutBox,s)&&Yt(c=>{const f=o?e.measuredBox[c]:e.layoutBox[c],h=Ft(s[c]);f.max=f.min+h,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[c].max=t.relativeTarget[c].min+h)});const r=vs();tn(r,s,e.layoutBox);const a=vs();o?tn(a,t.applyTransform(n,!0),e.measuredBox):tn(a,s,e.layoutBox);const l=!au(r);let u=!1;if(!t.resumeFrom){const c=t.getClosestProjectingParent();if(c&&!c.resumeFrom){const{snapshot:f,layout:h}=c;if(f&&h){const m=t.options.layoutAnchor||void 0,v=vt();ri(v,e.layoutBox,f.layoutBox,m);const y=vt();ri(y,s,h.layoutBox,m),uu(v,y)||(u=!0),c.options.layoutRoot&&(t.relativeTarget=y,t.relativeTargetOrigin=v,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 Ay(t){t.clearSnapshot()}function bu(t){t.clearMeasurements()}function Py(t){t.isLayoutDirty=!0,t.updateLayout()}function xu(t){t.isLayoutDirty=!1}function Cy(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function Ey(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function _u(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Vy(t){t.resolveTargetDelta()}function My(t){t.calcProjection()}function Dy(t){t.resetSkewAndRotation()}function Oy(t){t.removeLeadSnapshot()}function Su(t,e,s){t.translate=lt(e.translate,0,s),t.scale=lt(e.scale,1,s),t.origin=e.origin,t.originPoint=e.originPoint}function Tu(t,e,s,n){t.min=lt(e.min,s.min,n),t.max=lt(e.max,s.max,n)}function Ry(t,e,s,n){Tu(t.x,e.x,s.x,n),Tu(t.y,e.y,s.y,n)}function Ly(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Fy={duration:.45,ease:[.4,0,.1,1]},wu=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Au=wu("applewebkit/")&&!wu("chrome/")?Math.round:Gt;function Pu(t){t.min=Au(t.min),t.max=Au(t.max)}function Iy(t){Pu(t.x),Pu(t.y)}function Cu(t,e,s){return t==="position"||t==="preserve-aspect"&&!ny(fu(e),fu(s),.2)}function ky(t){return t!==t.root&&t.scroll?.wasRoot}const jy=vu({attachResizeListener:(t,e)=>en(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Jo={current:void 0},By=vu({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Jo.current){const t=new jy({});t.mount(window),t.setOptions({layoutScroll:!0}),Jo.current=t}return Jo.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 Ny(t,e,{root:s,margin:n,amount:i="some"}={}){const o=vc(t),r=new WeakMap,a=u=>{u.forEach(c=>{const f=r.get(c.target);if(c.isIntersecting!==!!f)if(c.isIntersecting){const h=e(c.target,c);typeof h=="function"?r.set(c.target,h):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 Eu=(t,e)=>Math.abs(t-e);function Uy(t,e){const s=Eu(t.x,e.x),n=Eu(t.y,e.y);return Math.sqrt(s**2+n**2)}function Vu({current:t}){return t?t.ownerDocument.defaultView:null}function Qo(t){if(t)return t.nodeType===3||t.nodeType===8?Qo(t.nextSibling):t}const[Hy,Ky]=Ks("Motion"),[Wy]=Ks("LayoutGroup"),Gy={reducedMotion:"never",transition:void 0,nonce:void 0},[zy]=Ks("MotionConfig");function qy(){return zy(_t(()=>Gy))}function Mu(t,e,s){if(Array.isArray(t))return t.reduce((n,i)=>{const o=Mu(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=Mu(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 Du(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 Ou(t){return Zy.has(t)}const Ru=new WeakMap;var Jy=class{constructor(t,e,s={}){this.element=null,this.isExiting=!1,this.children=new Set,this.features=new Map,this.featureCtors=[],this._context=null,this.options=t,this.parent=e,e?.children?.add(this),this.latestValues=Xy(t,this.context),this.type=Ou(this.options.as)?"svg":"html",this.setBundle(s)}get context(){return this._context||(this._context=new Proxy({},{get:(t,e)=>{const s=this.options[e];return ni(s)||e==="initial"&&s===!1?s:this.parent?.context[e]}})),this._context}setBundle(t){t.renderer&&this.initVisualElement(t.renderer),t.features?.length&&(this.featureCtors=t.features),this.updateFeatures()}updateFeatures(){if(this.visualElement)for(const t of this.featureCtors){let e=this.features.get(t.key);e||(e=new t(this),this.features.set(t.key,e)),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){Ru.set(t,this),this.element=t,this.visualElement?.mount(t),this.updateFeatures()}beforeUnmount(){this.getSnapshot(!1)}unmount(){this.parent?.children?.delete(this),this.element&&Ru.delete(this.element),this.features.forEach(t=>{t.unmount(),t.isMount=!1}),this.visualElement?.unmount(),this.element=null}beforeUpdate(){this.getSnapshot(!this.isExiting)}update(){this.updateFeatures(),this.didUpdate()}getFeature(t){return this.features.get(t)}setActive(t,e){t==="exit"&&e&&(this.isExiting=!0),this.visualElement?.animationState?.setActive(t,e).then(()=>{t==="exit"&&e&&(this.isExiting=!1)})}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){this.features.get("layout")?.getSnapshot(t)}didUpdate(){}},de=class{constructor(t){this.isMount=!1,this.state=t}mount(){}beforeUnmount(){}unmount(){}update(){}getSnapshot(t){}};const Lu=["initial","animate","exit","whileHover","whileDrag","whileFocus","whilePress"];var Qy=Lu.length;function Fu(t){if(!t)return;if(!t.isControllingVariants){const s=t.parent?Fu(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=Lu[s],i=t.props[n];(ni(i)||i===!1)&&(e[n]=i)}return e}var Iu=["animate","whileInView","whileFocus","whileHover","whilePress","whileDrag","exit"],tv=[...Iu].reverse(),ev=Iu.length;function Qe(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ku(){return{animate:Qe(!0),whileInView:Qe(),whileHover:Qe(),whilePress:Qe(),whileDrag:Qe(),whileFocus:Qe(),exit:Qe()}}function sv(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Du(e,t):!1}function ju(t){return Array.isArray(t)}function nv(t){return e=>Promise.all(e.map(({animation:s,options:n})=>rg(t,s,n)))}function iv(t){let e=nv(t),s=ku(),n=!0;const i=l=>(u,c)=>{const f=ys(t,c,l==="exit"?t.presenceContext?.custom:void 0);if(f){const{transition:h,transitionEnd:m,...v}=f;u={...u,...v,...m}}return u};function o(l){e=l(t)}function r(l){const u=t.props,c=Fu(t.parent)||{},f=[],h=new Set;let m={},v=1/0;for(let x=0;x<ev;x++){const A=tv[x],C=s[A],E=u[A]!==void 0?u[A]:c[A],_=ni(E),F=A===l?C.isActive:null;F===!1&&(v=x);let W=E===c[A]&&E!==u[A]&&_;if(W&&n&&t.manuallyAnimateOnMount&&(W=!1),C.protectedKeys={...m},!C.isActive&&F===null||!E&&!C.prevProp||No(E)||typeof E=="boolean")continue;const q=sv(C.prevProp,E);let j=q||A===l&&C.isActive&&!W&&_||x>v&&_,B=!1;const R=Array.isArray(E)?E:[E];let K=R.reduce(i(A),{});F===!1&&(K={});const{prevResolvedValues:O={}}=C,et={...O,...K},rt=Y=>{j=!0,h.has(Y)&&(B=!0,h.delete(Y)),C.needsAnimating[Y]=!0;const X=t.getValue(Y);X&&(X.liveStyle=!1)};for(const Y in et){const X=K[Y],Z=O[Y];if(Object.hasOwnProperty.call(m,Y))continue;let kt=!1;ju(X)&&ju(Z)?kt=!Du(X,Z):kt=X!==Z,kt?X!=null?rt(Y):h.add(Y):X!==void 0&&h.has(Y)?rt(Y):C.protectedKeys[Y]=!0}C.prevProp=E,C.prevResolvedValues=K,C.isActive&&(m={...m,...K}),n&&t.blockInitialAnimation&&(j=!1);const bt=W&&q;j&&(!bt||B)&&f.push(...R.map(Y=>{const X={type:A};if(typeof Y=="string"&&n&&!bt&&t.manuallyAnimateOnMount&&t.parent){const{parent:Z}=t,kt=ys(Z,Y);if(Z.enteringChildren&&kt){const{delayChildren:bs}=kt.transition||{};X.delay=nc(Z.enteringChildren,t,bs)}}return{animation:Y,options:X}}))}if(h.size){const x={};if(typeof u.initial!="boolean"){const A=ys(t,Array.isArray(u.initial)?u.initial[0]:u.initial);A&&A.transition&&(x.transition=A.transition)}h.forEach(A=>{const C=t.getBaseTarget(A),E=t.getValue(A);E&&(E.liveStyle=!0),x[A]=C??null}),f.push({animation:x})}let y=!!f.length;return n&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(y=!1),n=!1,y?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=ku(),n=!0}}}function Bu(t){return t.style.display==="none"||t.offsetParent===null&&window.getComputedStyle(t).position!=="fixed"}var ov=class extends de{static#t=this.key="animation";constructor(t){super(t);const e=t.visualElement;e.animationState||=iv(e)}updateAnimationControlsSubscription(){const{animate:t}=this.state.options;No(t)&&(this.unmountControls=t.subscribe(this.state.visualElement))}mount(){Bu(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?.()}},rv=class extends de{constructor(...t){super(...t),this.exitGeneration=0}static#t=this.key="exit";exit(){const t=++this.exitGeneration,e=this.state;e.isExiting=!0;const s=new Promise(i=>{this.pendingExit={resolve:i}}),n=e.visualElement?.animationState?.setActive("exit",!0);return n?n.then(()=>{t===this.exitGeneration&&(e.isExiting=!1,e.options?.layoutId?ot.postRender(()=>this.tryCompleteExit(t)):this.tryCompleteExit(t))}):(e.isExiting=!1,this.tryCompleteExit(t)),e.getSnapshot(!1),s}reenter(){this.exitGeneration++,this.settleExit(),this.state.isExiting=!1,this.state.setActive("exit",!1),this.state.getSnapshot(!0)}completeExitFromProjection(){this.tryCompleteExit(this.exitGeneration)}tryCompleteExit(t){t!==this.exitGeneration||this.state.isExiting||this.state.options?.layoutId&&this.state.visualElement.projection?.currentAnimation?.state==="running"||this.settleExit()}settleExit(){this.pendingExit?.resolve(),this.pendingExit=void 0}mount(){this.state.options.presenceContext?.register?.(this.state)}unmount(){this.state.options.presenceContext?.unregister?.(this.state),this.settleExit()}};function av(t,e){return Ou(t)?new Jg(e):new Gg(e)}function $u(t){return{point:{x:t.pageX,y:t.pageY}}}var lv=class extends de{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&&ot.postRender(()=>n.onPressStart(s,$u(s))),(i,{success:o})=>{this.state.setActive("whilePress",!1);const r=o?"onPress":"onPressCancel",a=this.state.options[r];a&&ot.postRender(()=>a(i,$u(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 Nu(t){return t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1}function sn(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function cv(t){return e=>Nu(e)&&t(e,sn(e))}var uv=class extends de{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&&ot.postRender(()=>n.onHoverStart(s,sn(s))),i=>{this.state.setActive("whileHover",!1);const o=this.state.options.onHoverEnd;o&&ot.postRender(()=>o(i,sn(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}},fv=class extends de{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=Ny(t,(n,i)=>{const o=this.state.options;if(this.state.setActive("whileInView",!0),o.onViewportEnter&&ot.postRender(()=>o.onViewportEnter(i)),!e)return()=>{this.state.setActive("whileInView",!1);const r=this.state.options.onViewportLeave;r&&ot.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}},hv=class extends de{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=Ws(en(t,"focus",()=>this.onFocus()),en(t,"blur",()=>this.onBlur()))}unmount(){this.removeFocus?.(),this.removeFocus=void 0}};function Uu(t){if(t)return t.options.allowProjection!==!1?t.projection:Uu(t.parent)}const Hu={borderRadius:{...he,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:he,borderTopRightRadius:he,borderBottomLeftRadius:he,borderBottomRightRadius:he,boxShadow:Wc};function nn(t){return typeof t=="object"&&t!==null&&"nodeType"in t}const dv=typeof window>"u";var pv=class extends de{static#t=this.key="projection";constructor(t){super(t),Gc(Hu),dv||this.initProjection()}initProjection(){const t=this.state.options;this.state.visualElement.projection=new By(this.state.visualElement.latestValues,t["data-framer-portal-id"]?void 0:Uu(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&&nn(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.getFeature("exit")?.completeExitFromProjection()})}})}update(){this.setOptions()}mount(){this.projection?.mount(this.state.element)}};function on(t,e,s,n){return en(t,e,cv(s),n)}var Ku=new Set(["auto","scroll"]),Wu=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=er(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=Uy(c.offset,{x:0,y:0})>=3;if(!f&&!h)return;const{point:m}=c,{timestamp:v}=At;this.history.push({...m,timestamp:v});const{onStart:y,onMove:x}=this.handlers;f||(y&&y(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),x&&x(this.lastMoveEvent,c)},this.handlePointerMove=(c,f)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=tr(f,this.transformPagePoint),ot.update(this.updatePoint,!0)},this.handlePointerUp=(c,f)=>{this.end();const{onEnd:h,onSessionEnd:m,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=er(c.type==="pointercancel"?this.lastMoveEventInfo:tr(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(c,y),m&&m(c,y)},!Nu(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=s,this.contextWindow=n||window;const r=tr(sn(t),this.transformPagePoint),{point:a}=r,{timestamp:l}=At;this.history=[{...a,timestamp:l}];const{onSessionStart:u}=e;u&&u(t,er(r,this.history)),this.removeListeners=Ws(on(this.contextWindow,"pointermove",this.handlePointerMove),on(this.contextWindow,"pointerup",this.handlePointerUp),on(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);(Ku.has(s.overflowX)||Ku.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),ot.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners?.(),this.scrollPositions.clear(),Ie(this.updatePoint)}};function tr(t,e){return e?{point:e(t.point)}:t}function Gu(t,e){return{x:t.x-e.x,y:t.y-e.y}}function er({point:t},e){return{point:t,delta:Gu(t,zu(e)),offset:Gu(t,mv(e)),velocity:gv(e,.1)}}function mv(t){return t[0]}function zu(t){return t[t.length-1]}function gv(t,e){if(t.length<2)return{x:0,y:0};let s=t.length-1,n=null;const i=zu(t);for(;s>=0&&(n=t[s],!(i.timestamp-n.timestamp>zt(e)));)s--;if(!n)return{x:0,y:0};const o=qt(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 qu(t){return(e,s)=>{t&&ot.postRender(()=>t(e,s))}}var yv=class extends de{constructor(...t){super(...t),this.removePointerDownListener=Gt}static#t=this.key="pan";onPointerDown(t){this.session=new Wu(t,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:Vu(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:qu((t,e)=>{const{onPanSessionStart:s}=this.state.options;s&&s(t,e)}),onStart:qu((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&&ot.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=on(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};function Yu(t){let e=null;return()=>{const s=()=>{e=null};return e===null?(e=t,s):!1}}var Xu=Yu("dragHorizontal"),Zu=Yu("dragVertical");function vv(t){let e=!1;if(t==="y")e=Zu();else if(t==="x")e=Xu();else{const s=Xu(),n=Zu();s&&n?e=()=>{s(),n()}:(s&&s(),n&&n())}return e}function bv(t,{min:e,max:s},n){return e!==void 0&&t<e?t=n?lt(e,t,n.min):Math.max(t,e):s!==void 0&&t>s&&(t=n?lt(s,t,n.max):Math.min(t,s)),t}const sr=.35;function xv(t,{top:e,left:s,bottom:n,right:i}){return{x:Ju(t.x,s,i),y:Ju(t.y,e,n)}}function Ju(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=sr){return t===!1?t=0:t===!0&&(t=sr),{x:Qu(t,"left","right"),y:Qu(t,"top","bottom")}}function Qu(t,e,s){return{min:tf(t,e),max:tf(t,s)}}function tf(t,e){return typeof t=="number"?t:t[e]||0}function Sv(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 Tv(t,e){return{x:ef(t.x,e.x),y:ef(t.y,e.y)}}function ef(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 wv(t,e){let s=.5;const n=Ft(t),i=Ft(e);return i>n?s=Gs(e.min,e.max-n,t.min):n>i&&(s=Gs(t.min,t.max-i,e.min)),ce(0,1,s)}const Av=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=vt(),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(sn(l,"page").point)},n=(l,u)=>{this.stopAnimation();const{drag:c,dragPropagation:f,onDragStart:h}=this.getProps();c&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=vv(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),Yt(m=>{let v=this.getAxisMotionValue(m).get()||0;if(ue.test(v)){const{projection:y}=this.visualElement;if(y&&y.layout){const x=y.layout.layoutBox[m];x&&(v=Ft(x)*(parseFloat(v)/100))}}this.originPoint[m]=v}),h&&ot.postRender(()=>h(l,u)),Ro(this.visualElement,"transform"),this.state.setActive("whileDrag",!0))},i=(l,u)=>{const{dragPropagation:c,dragDirectionLock:f,onDirectionLock:h,onDrag:m}=this.getProps();if(!c&&!this.openGlobalLock)return;const{offset:v}=u;if(f&&this.currentDirection===null){this.currentDirection=Cv(v),this.currentDirection!==null&&h&&h(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=()=>Yt(l=>this.getAnimationState(l)==="paused"&&this.getAxisMotionValue(l).animation?.play()),{dragSnapToOrigin:a}=this.getProps();this.panSession=new Wu(t,{onSessionStart:s,onStart:n,onMove:i,onSessionEnd:o,resumeAnimation:r},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:a,contextWindow:Vu(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&&ot.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||!li(t,n,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(o=bv(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&&nn(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&s?this.constraints=xv(s.layoutBox,t):this.constraints=!1,this.elastic=_v(e),n!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&Yt(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=Sv(s.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!nn(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=Tv(n.layout.layoutBox,i);if(e){const r=e(kg(o));this.hasMutatedConstraints=!!r,r&&(o=Rc(r))}return o}startAnimation(t){const{drag:e,dragMomentum:s,dragElastic:n,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=Yt(u=>{if(!li(u,e,this.currentDirection))return;let c=a&&a[u]||{};o&&(c={min:0,max:0});const f=n?200:1e6,h=n?40:1e7,m={type:"inertia",velocity:s?t[u]:0,bounceStiffness:f,bounceDamping:h,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 Ro(this.visualElement,t),s.start(Oo(t,s,0,e,this.visualElement,!1))}stopAnimation(){this.visualElement.projection?.isPresent&&Yt(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Yt(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){Yt(e=>{const{drag:s}=this.getProps();if(!li(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]-lt(o,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:s}=this.visualElement;if(!nn(e)||!s||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};Yt(o=>{const r=this.getAxisMotionValue(o);if(r&&this.constraints!==!1){const a=r.get();n[o]=wv({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(),Yt(o=>{if(!li(o,t,null))return;const r=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];r.set(lt(a,l,n[o]))})}addListeners(){if(!this.state.element)return;Av.set(this.visualElement,this);const t=this.state.element,e=on(t,"pointerdown",a=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(a)}),s=()=>{const{dragConstraints:a}=this.getProps();nn(a)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",s);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),ot.read(s);const o=en(window,"resize",()=>this.scalePositionWithinConstraints()),r=n.addEventListener("didUpdate",(({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(Yt(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=sr,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:s,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:r}}};function li(t,e,s){return(e===!0||e===t)&&(s===null||s===t)}function Cv(t,e=10){let s=null;return Math.abs(t.y)>e?s="y":Math.abs(t.x)>e&&(s="x"),s}var Ev=class extends de{static#t=this.key="drag";constructor(t){super(t),this.removeGroupControls=Gt,this.removeListeners=Gt,this.controls=new Pv(t)}mount(){const{dragControls:t}=this.state.options;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Gt}unmount(){this.removeGroupControls(),this.removeListeners()}},Vv=class extends de{static#t=this.key="layout";constructor(t){super(t),Gc(Hu)}updatePrevLead(t){const e=this.state.visualElement.projection;e.isPresent!==t&&(e.isPresent=t,t?!e.isLead()&&e?.promote():e.isLead()&&e?.relegate())}didUpdate(){(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&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=!Bu(this.state.element);s.isPresent=n,n?s?.promote():s?.relegate()}e?.group?.add(s),ai.hasEverUpdated=!0}this.didUpdate()}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)}getSnapshot(t){const e=this.state.visualElement.projection,{layout:s,layoutId:n,drag:i,layoutDependency:o}=this.state.visualElement.props,r=this.state.visualElement.prevProps;!e||!s&&!n&&!i||((i||r.layoutDependency!==o||o===void 0||t!==e.isPresent)&&e.willUpdate(),n&&this.updatePrevLead(t),jr(()=>{this.didUpdate()}))}};const Mv={renderer:av,features:[ov,rv,lv,uv,fv,hv,pv,yv,Ev,Vv]},[Dv]=Ks("LazyMotionContext"),[Ov]=Ks("AnimatePresenceContext");function Rv(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}function sf(){return{transform:{},transformOrigin:{},style:{},vars:{}}}function Lv(){return{...sf(),attrs:{}}}function Fv(t){const e=sf();Go(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 Iv(t,e,s){const n=Lv();Yc(n,t,Xc(e),void 0,s);const i={};for(const o in n.attrs){const r=zo.has(o)?o:Rv(o);i[r]=n.attrs[o]}return{attrs:i,style:{...n.style,...n.vars}}}function kv(t,e={}){const s=Hy(null),n=Wy({}),i=qy(),o=Ov({}),r=Dv({features:os({}),strict:!1}),a=Dh();function l(){return dp(t,{layoutGroup:n,presenceContext:o,config:i.value})}function u(){return{...a,...l()}}const c=new Jy(u(),s,e);Ky(c),Vn(r.features,y=>{c.setBundle(y)},{immediate:!0,flush:"pre"});function f(){const y=c.type==="svg",x={...a};Object.keys(a).forEach(_=>{Vt(a[_])&&(x[_]=a[_].get())});const A=c.visualElement?.latestValues||c.latestValues;let C={...t.style,...y?{}:A};for(const _ in C)Vt(C[_])&&(C[_]=C[_].get());if(y){const{attrs:_,style:F}=Iv({...A,...C},c.options.as,t.style);Object.assign(x,_),C=F}t.drag&&t.dragListener!==!1&&Object.assign(C,{userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",touchAction:t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`});const E=Fv(C);return E&&(x.style=E),x}const h=Un()?.proxy;function m(){const y=Qo(h?.$el);c.mount(y)}ki(()=>{c.updateOptions(u()),c.beforeUnmount()}),Ii(m);function v(){Qo(h?.$el)?.isConnected||c.unmount()}return ji(v),ta(v),Qr(()=>{c.isMounted()||m()}),sa(()=>{c.updateOptions(u()),c.beforeUpdate()}),na(()=>{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 Bv=new Map,$v=new Map;function Nv(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 Uv=["area","img","input"];function Hv(t,e,s){if(typeof t=="string"&&Uv.includes(t))return Yi(t,e);if(t==="template"){if(!s.default)return null;const n=Nv(s.default()),i=n.findIndex(l=>l.type!==wt);if(i===-1)return n;const o=n[i];delete o.props?.ref;const r=o.props?La(e,o.props):e;e.class&&o.props?.class&&delete o.props.class;const a=Te(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 nf(t,e={}){const s=typeof t=="string",n=s?t:t.name||"",i=e.renderer?Bv:$v;if(s&&i.has(t))return i.get(t);const o=bh({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}=kv(r,e);function f(){const h=c.element;if((typeof r.as!="object"||r.asChild)&&h){const{style:m}=u();if(m)for(const[v,y]of Object.entries(m))h.style[v]=y}}return()=>{const h=l(),m=u(),v=r.asChild?"template":r.as,y={...r.forwardMotionProps?h:{},...m,onVnodeUpdated:f},x=Hv(v,y,a);return x!==null?x:Yi(v,{...y},a)}}});return s&&i.set(t,o),o}function Kv(t){return new Proxy({},{get(e,s){return s==="create"?(n,i)=>nf(n,{...i,...t}):nf(s,{...t})}})}const of=Kv(Mv);of.create("div");const Wv={class:"slds-navigation-list--vertical"},Gv={class:"slds-navigation-list__item-content"},zv={class:"slds-navigation-list__item-title"},qv={__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=os(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)=>(k(),N("div",Wv,[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)),(k(!0),N(dt,null,Re(t.schemas,u=>(k(),N("div",{key:u.fileName,class:"slds-navigation-list__item"},[g("div",Gv,[g("div",zv,[it(Lr(of).button,{"while-hover":{scale:1.05},"while-press":{scale:.95},class:Dt(["slds-button slds-button_neutral slds-button_stretch",{"slds-is-active":i.value===u.fileName}]),onClick:c=>o(u)},{default:En(()=>[ks(J(r(u)),1)]),_:2},1032,["class","onClick"])])])]))),128))]))}},rf="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",af=(t,e)=>{const s=t.__vccOpts||t;for(const[n,i]of e)s[n]=i;return s},Yv={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},Xv={class:"slds-notify__content"},lf=af({__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)=>(k(),N("div",Yv,[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:rf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",Xv,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-a28aa892"]]),Zv={key:0,class:"slds-m-top_medium"},Jv={class:"slds-box slds-theme_shade"},Qv={class:"slds-grid slds-wrap slds-gutters"},t0={class:"constraint-item"},e0={class:"slds-text-title_caps slds-text-color_default"},s0={class:"slds-text-body_regular slds-m-top_xx-small"},nr={__name:"SchemaConstraints",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>{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=_t(()=>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?(k(),N("div",Zv,[l[0]||(l[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Constraints ",-1)),g("div",Jv,[g("div",Qv,[(k(!0),N(dt,null,Re(s.value,(u,c)=>(k(),N("div",{key:c,class:"slds-col slds-size_1-of-2 slds-p-around_xx-small"},[g("div",t0,[g("div",e0,J(i(c)),1),g("div",s0,[g("span",{class:Dt(["slds-badge",r(u)])},J(o(u)),3)])])]))),128))])])])):$t("",!0)}},n0={class:"array-schema"},i0={class:"slds-box slds-theme_shade"},o0={class:"slds-grid slds-gutters"},r0={key:0,class:"slds-col"},a0={class:"slds-badge"},l0={key:1,class:"slds-m-top_medium"},c0={class:"slds-text-title_caps slds-m-bottom_xx-small"},u0={key:3,class:"slds-m-top_medium"},f0={key:4,class:"slds-m-top_medium"},h0={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=_t(()=>["minItems","maxItems","uniqueItems"].some(o=>o in e.schema)),n=_t(()=>e.schema.items?Array.isArray(e.schema.items)?"Tuple":e.schema.items.type||"Not specified":"Not defined");return(i,o)=>(k(),N("div",n0,[g("div",i0,[g("div",o0,[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?(k(),N("div",r0,[o[0]||(o[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Items Type ",-1)),g("div",a0,J(n.value),1)])):$t("",!0)])]),s.value?(k(),Bt(nr,{key:0,schema:t.schema},null,8,["schema"])):$t("",!0),t.schema.items?(k(),N("div",l0,[o[2]||(o[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Items Schema ",-1)),Array.isArray(t.schema.items)?(k(!0),N(dt,{key:0},Re(t.schema.items,(r,a)=>(k(),N("div",{key:a,class:"slds-m-bottom_medium"},[g("div",c0," Index "+J(a),1),it(Ee,{schema:r,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128)):(k(),Bt(Ee,{key:1,schema:t.schema.items,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):(k(),Bt(lf,{key:2,title:"No Items Defined",message:"This array doesn't have any items defined in the schema."})),t.schema.contains?(k(),N("div",u0,[o[3]||(o[3]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Contains ",-1)),it(Ee,{schema:t.schema.contains,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])):$t("",!0),t.schema.additionalItems!==void 0&&Array.isArray(t.schema.items)?(k(),N("div",f0,[o[4]||(o[4]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Additional Items ",-1)),typeof t.schema.additionalItems=="boolean"?(k(),N("div",h0,[g("span",{class:Dt(t.schema.additionalItems?"status-allowed":"status-denied")},J(t.schema.additionalItems?"Allowed":"Not allowed"),3)])):(k(),Bt(Ee,{key:1,schema:t.schema.additionalItems,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):$t("",!0)]))}},p0={class:"slds-box slds-theme_shade"},m0={class:"slds-text-heading_small slds-m-bottom_small"},g0={class:"slds-tabs_default"},y0={class:"slds-tabs_default__nav",role:"tablist"},v0=["aria-selected","aria-controls","onClick"],b0={class:"slds-tabs_default__title"},x0=["id"],_0={class:"slds-p-around_medium"},S0={class:"slds-text-title_caps slds-m-bottom_small"},T0={__name:"CompositionSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>e.schema.anyOf?"anyOf":e.schema.oneOf?"oneOf":e.schema.allOf?"allOf":null),n=os(0),i=_t(()=>e.schema[s.value]||[]);dh(()=>{i.value.forEach(u=>{u.type||(u.type=e.schema.type)})});const o=_t(()=>{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=_t(()=>{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)=>(k(),N("div",p0,[g("div",m0,[g("span",{class:Dt(["slds-badge",r.value])},J(o.value),3)]),g("div",g0,[g("ul",y0,[(k(!0),N(dt,null,Re(i.value,(f,h)=>(k(),N("li",{key:h,class:Dt(["slds-tabs_default__item",{"slds-is-active":n.value===h}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":n.value===h,"aria-controls":`tab-${h}`,onClick:m=>n.value=h},[g("span",b0,J(l(f,h)),1)],8,v0)],2))),128))]),(k(!0),N(dt,null,Re(i.value,(f,h)=>(k(),N("div",{id:`tab-${h}`,key:h,class:Dt(["slds-tabs_default__content",{"slds-show":n.value===h,"slds-hide":n.value!==h}]),role:"tabpanel"},[g("div",_0,[g("div",S0," Schema Type: "+J(a(f)),1),it(Ee,{schema:f,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])],10,x0))),128))])]))}},w0={class:"slds-box slds-theme_shade"},A0={class:"slds-grid slds-wrap slds-gutters"},P0={class:"slds-col slds-size_1-of-1 slds-p-around_xx-small"},C0={key:0,class:"slds-box slds-theme_shade slds-m-vertical_xx-small"},E0={key:1,class:"slds-badge slds-badge_inverse"},V0={__name:"ConstSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>e.schema.const),n=_t(()=>typeof s.value=="object"&&s.value!==null),i=_t(()=>n.value?JSON.stringify(s.value,null,2):s.value);return(o,r)=>(k(),N("div",w0,[r[0]||(r[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Const Value ",-1)),g("div",A0,[g("div",P0,[n.value?(k(),N("pre",C0,[g("code",null,J(i.value),1)])):(k(),N("div",E0,J(i.value),1))])])]))}},M0={class:"slds-box slds-theme_shade"},D0={class:"slds-grid slds-wrap slds-gutters"},O0={class:"slds-badge slds-badge_inverse"},R0={__name:"EnumSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>e.schema.enum);return(n,i)=>(k(),N("div",M0,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Enum Values ",-1)),g("div",D0,[(k(!0),N(dt,null,Re(s.value,(o,r)=>(k(),N("div",{key:r,class:"slds-col slds-size_1-of-3 slds-p-around_xx-small"},[g("div",O0,J(o),1)]))),128))])]))}},L0="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",F0={key:0},I0={key:1},k0={class:"slds-box slds-m-top_small"},j0={class:"slds-table_container"},B0={class:"slds-table slds-table_cell-buffer slds-table_bordered"},$0=["onClick"],N0=["title"],U0={class:"slds-truncate"},H0={class:"slds-badge"},K0=["title"],W0={class:"slds-truncate"},G0={key:0,class:"slds-badge slds-badge_success"},z0={key:1,class:"slds-badge slds-badge_inverse"},q0={key:0},Y0={colspan:"4",class:"slds-p-around_medium"},X0={class:"slds-box slds-theme_shade"},Z0={key:2},J0={key:3},Q0={key:0},tb={__name:"ObjectSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=os({}),n=_t(()=>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:ts.hasComposition(a)?"composition":ts.isEnum(a)?"enum":ts.isConst(a)?"const":"No type found"}function r(a){s.value[a]=!s.value[a]}return(a,l)=>(k(),N("div",null,[l[6]||(l[6]=g("div",null,[g("div",null,"Type: object")],-1)),it(nr,{schema:t.schema},null,8,["schema"]),t.schema.required&&t.schema.required.length>0?(k(),N("div",F0,[l[0]||(l[0]=g("span",null,"Required properties:",-1)),g("span",null,J(t.schema.required.join(", ")),1)])):$t("",!0),n.value?(k(),N("div",I0,[g("div",k0,[l[2]||(l[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Properties ",-1)),g("div",j0,[g("table",B0,[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,[(k(!0),N(dt,null,Re(t.schema.properties,(u,c)=>(k(),N(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:L0,class:Dt(["slds-button__icon",{expanded:s.value[c]}]),alt:""},null,2),ks(" "+J(c),1)],8,N0)]),g("td",null,[g("div",U0,[g("span",H0,J(o(u)),1)])]),g("td",null,[g("div",{class:"slds-truncate",title:u.description},J(u.description||"No description"),9,K0)]),g("td",null,[g("div",W0,[i(c)?(k(),N("span",G0,"Required")):(k(),N("span",z0,"Optional"))])])],8,$0),it(_d,null,{default:En(()=>[s.value[c]?(k(),N("tr",q0,[g("td",Y0,[g("div",X0,[it(Ee,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])])])):$t("",!0)]),_:2},1024)],64))),128))])])])])])):$t("",!0),t.schema.patternProperties?(k(),N("div",Z0,[l[4]||(l[4]=g("div",null,"Pattern Properties",-1)),g("div",null,[(k(!0),N(dt,null,Re(t.schema.patternProperties,(u,c)=>(k(),N("div",{key:c},[g("div",null,[g("div",null,[l[3]||(l[3]=g("span",null,"Pattern:",-1)),g("code",null,J(c),1)])]),it(Ee,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128))])])):$t("",!0),t.schema.additionalProperties!==void 0?(k(),N("div",J0,[l[5]||(l[5]=g("div",null,"Additional Properties",-1)),typeof t.schema.additionalProperties=="boolean"?(k(),N("div",Q0,[g("span",{class:Dt(t.schema.additionalProperties?"status-allowed":"status-denied")},J(t.schema.additionalProperties?"Allowed":"Not allowed"),3)])):(k(),Bt(Ee,{key:1,schema:t.schema.additionalProperties,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):$t("",!0),n.value?$t("",!0):(k(),Bt(lf,{key:4}))]))}},eb={class:"slds-box slds-m-top_small"},sb={class:"slds-box slds-theme_shade"},nb={class:"slds-text-body_regular"},ib={class:"slds-grid slds-gutters"},ob={class:"slds-col"},rb={class:"slds-badge"},ab={class:"slds-col"},rn={__name:"PrimitiveSchema",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(k(),N("div",eb,[s[2]||(s[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Type Information ",-1)),g("div",sb,[g("div",nb,[g("div",ib,[g("div",ob,[s[0]||(s[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type ",-1)),g("div",rb,J(t.schema.type),1)]),g("div",ab,[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)])])])]),it(nr,{schema:t.schema},null,8,["schema"])]))}},lb={object:tb,array:d0,string:rn,number:rn,integer:rn,boolean:rn,null:rn},ts={hasComposition:t=>!!(t.anyOf||t.oneOf||t.allOf),isEnum:t=>"enum"in t&&Array.isArray(t.enum),isConst:t=>"const"in t,getComponentForSchema:t=>ts.hasComposition(t)?T0:ts.isEnum(t)?R0:ts.isConst(t)?V0:lb[t.type]||null},cb={class:"slds-grid slds-grid_vertical"},ub={class:"slds-col slds-size_1-of-1"},fb={class:"slds-card"},hb={class:"slds-card__body slds-card__body_inner"},db={__name:"SchemaLayout",setup(t){return(e,s)=>(k(),N("div",cb,[g("div",ub,[g("div",fb,[g("div",hb,[Vh(e.$slots,"default")])])])]))}},pb={class:"slds-box"},mb={class:"slds-box slds-theme_shade"},gb={__name:"PlainSchemaView",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>{const n=JSON.parse(JSON.stringify(e.schema));return n._metadata&&delete n._metadata,JSON.stringify(n,null,2)});return(n,i)=>(k(),N("div",pb,[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",mb,[g("code",null,J(s.value),1)])]))}},yb={class:"slds-page-header"},vb={class:"slds-page-header__row"},bb={class:"slds-page-header__col-title"},xb={class:"slds-media"},_b={class:"slds-media__body"},Sb={class:"slds-page-header__name"},Tb={class:"slds-page-header__name-title"},wb={class:"slds-page-header__title slds-truncate",title:"{{ schema.title || 'Schema' }}"},Ab={class:"slds-page-header__meta-text"},Pb={__name:"SchemaHeader",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(k(),N("div",yb,[g("div",vb,[g("div",bb,[g("div",xb,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:al,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",_b,[g("div",Sb,[g("div",Tb,[g("h1",wb,J(t.schema.title||"Schema"),1)])]),g("div",Ab,J(t.schema.description||"No description provided"),1)])])])])]))}},Cb={class:"slds-tabs_default__nav",role:"tablist"},Eb={__name:"SchemaTabs",props:{modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(t){return(e,s)=>(k(),N("ul",Cb,[g("li",{class:Dt(["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:Dt(["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)]))}},Vb={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},Mb={class:"slds-notify__content"},Db=af({__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)=>(k(),N("div",Vb,[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:rf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",Mb,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-bde50c13"]]),Ob={class:"slds-tabs_default"},Rb={class:"slds-p-around_medium"},Lb={class:"slds-m-top_medium"},Fb={class:"slds-p-around_medium"},Ee={__name:"SchemaViewer",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,default:null},isRoot:{type:Boolean,default:!0}},setup(t){const e=t,s=os("visual"),n=_t(()=>e.isRoot?e.schema:e.rootSchema);Oi("rootSchema",n);const i=_t(()=>ts.getComponentForSchema(e.schema));return(o,r)=>(k(),Bt(db,null,{default:En(()=>[g("div",Ob,[it(Eb,{modelValue:s.value,"onUpdate:modelValue":r[0]||(r[0]=a=>s.value=a)},null,8,["modelValue"]),g("div",{class:Dt({"slds-show":s.value==="visual","slds-hide":s.value!=="visual"})},[g("div",Rb,[it(Pb,{schema:t.schema},null,8,["schema"]),g("div",Lb,[i.value?(k(),Bt(Ch(i.value),{key:0,schema:t.schema,"root-schema":n.value},null,8,["schema","root-schema"])):(k(),Bt(Db,{key:1}))])])],2),g("div",{class:Dt({"slds-show":s.value==="plain","slds-hide":s.value!=="plain"})},[g("div",Fb,[it(gb,{schema:t.schema},null,8,["schema"])])],2)])]),_:1}))}},Ib={class:"slds-grid slds-grid_vertical"},kb={class:"slds-grid slds-gutters slds-grid_vertical-fill"},jb={class:"slds-col slds-size_2-of-12"},Bb={class:"slds-col slds-size_10-of-12"},$b={key:1,class:"slds-p-around_medium"},cf={__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=os(e.schemas.length>0?e.schemas[0]:null);function n(i){s.value=i}return(i,o)=>(k(),N("div",Ib,[it(hp,{title:t.title},null,8,["title"]),g("div",kb,[g("div",jb,[it(qv,{schemas:t.schemas,"selected-schema":s.value,onSelectSchema:n},null,8,["schemas","selected-schema"])]),g("div",Bb,[s.value?(k(),Bt(Ee,{key:0,schema:s.value.schema,"is-root":!0},null,8,["schema"])):(k(),N("div",$b,[...o[0]||(o[0]=[rd('<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)])]))])]),it(np,{description:t.description,"generated-at":t.generatedAt,"schema-count":t.schemas.length},null,8,["description","generated-at","schema-count"])]))}};async function uf(){const t=window.__JSON_SCHEMA_DOCS_DATA__||{title:"JSON Schema Documentation",description:"",schemas:[],generatedAt:new Date().toISOString()};document.getElementById("app")&&rl(cf,t).mount("#app")}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",uf):uf(),je.App=cf,je.createApp=rl,Object.defineProperty(je,Symbol.toStringTag,{value:"Module"})}));
|
|
3
|
+
`,...hd(i)),console.warn(...o)}oe(),Di=!1}function dd(){let t=Cs[Cs.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 hd(t){const e=[];return t.forEach((s,n)=>{e.push(...n===0?[]:[`
|
|
4
|
+
`],...pd(s))}),e}function pd({vnode:t,recurseCount:e}){const s=e>0?`... (${e} recursive calls)`:"",n=t.component?t.component.parent==null:!1,i=` at <${za(t.component,t.type,n)}`,o=">"+s;return t.props?[i,...md(t.props),o]:[i+o]}function md(t){const e=[],s=Object.keys(t);return s.slice(0,3).forEach(n=>{e.push(...Hr(n,t[n]))}),s.length>3&&e.push(" ..."),e}function Hr(t,e,s){return ft(e)?(e=JSON.stringify(e),s?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?s?e:[`${t}=${e}`]:Tt(e)?(e=Hr(t,Q(e.value),!0),s?e:[`${t}=Ref<`,e,">"]):G(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=Q(e),s?e:[`${t}=`,e])}function rs(t,e,s,n){try{return n?t(...n):t()}catch(i){Pn(i,e,s)}}function Wt(t,e,s,n){if(G(t)){const i=rs(t,e,s,n);return i&&hr(i)&&i.catch(o=>{Pn(o,e,s)}),i}if(K(t)){const i=[];for(let o=0;o<t.length;o++)i.push(Wt(t[o],e,s,n));return i}}function Pn(t,e,s,n=!0){const i=e?e.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:r}=e&&e.appContext.config||lt;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){ie(),rs(o,null,10,[t,l,u]),oe();return}}gd(t,s,i,n,r)}function gd(t,e,s,n=!0,i=!1){if(i)throw t;console.error(t)}const Ot=[];let le=-1;const as=[];let Fe=null,ls=0;const Kr=Promise.resolve();let An=null;function yd(t){const e=An||Kr;return t?e.then(this?t.bind(this):t):e}function vd(t){let e=le+1,s=Ot.length;for(;e<s;){const n=e+s>>>1,i=Ot[n],o=Es(i);o<t||o===t&&i.flags&2?e=n+1:s=n}return e}function Oi(t){if(!(t.flags&1)){const e=Es(t),s=Ot[Ot.length-1];!s||!(t.flags&2)&&e>=Es(s)?Ot.push(t):Ot.splice(vd(e),0,t),t.flags|=1,Wr()}}function Wr(){An||(An=Kr.then(qr))}function bd(t){if(!K(t))Fe&&t.id===-1?Fe.splice(ls+1,0,t):t.flags&1||(as.push(t),t.flags|=1);else for(let e=0;e<t.length;e++)as.push(t[e]);Wr()}function Gr(t,e,s=le+1){for(;s<Ot.length;s++){const n=Ot[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Ot.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function zr(t){if(as.length){const e=[...new Set(as)].sort((s,n)=>Es(s)-Es(n));if(as.length=0,Fe){for(let s=0;s<e.length;s++)Fe.push(e[s]);return}for(Fe=e,ls=0;ls<Fe.length;ls++){const s=Fe[ls];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Fe=null,ls=0}}const Es=t=>t.id==null?t.flags&2?-1:1/0:t.id;function qr(t){const e=Yt;try{for(le=0;le<Ot.length;le++){const s=Ot[le];s&&!(s.flags&8)&&(Le.NODE_ENV!=="production"&&e(s),s.flags&4&&(s.flags&=-2),rs(s,s.i,s.i?15:14),s.flags&4||(s.flags&=-2))}}finally{for(;le<Ot.length;le++){const s=Ot[le];s&&(s.flags&=-2)}le=-1,Ot.length=0,zr(),An=null,(Ot.length||as.length)&&qr()}}let Ct=null,Yr=null;function Cn(t){const e=Ct;return Ct=t,Yr=t&&t.type.__scopeId||null,e}function En(t,e=Ct,s){if(!e||t._n)return t;const n=(...i)=>{n._d&&kn(-1);const o=Cn(e),r=Se.length;let a;try{a=t(...i)}finally{for(let l=Se.length;l>r;l--)qi();Cn(o),n._d&&kn(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function We(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&&(ie(),Wt(l,s,8,[t.el,a,t,e]),oe())}}function Ri(t,e){if(xt){let s=xt.provides;const n=xt.parent&&xt.parent.provides;n===s&&(s=xt.provides=Object.create(n)),s[t]=e}}function Vs(t,e,s=!1){const n=Un();if(n||us){let i=us?us._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&&G(e)?e.call(n&&n.proxy):e}}const xd=Symbol.for("v-scx"),_d=()=>Vs(xd);function Sd(t,e){return Li(t,null,e)}function Vn(t,e,s){return Li(t,e,s)}function Li(t,e,s=lt){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=_d();u=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=Yt,m.resume=Yt,m.pause=Yt,m}}const c=xt;a.call=(m,v,y)=>Wt(m,c,v,y);let f=!1;o==="post"?a.scheduler=m=>{Ft(m,c&&c.suspense)}:o!=="sync"&&(f=!0,a.scheduler=(m,v)=>{v?m():Oi(m)}),a.augmentJob=m=>{e&&(m.flags|=4),f&&(m.flags|=2,c&&(m.id=c.uid,m.i=c))};const h=ud(t,e,a);return $s&&(u?u.push(h):l&&h()),h}function Td(t,e,s){const n=this.proxy,i=ft(t)?t.includes(".")?Xr(n,t):()=>n[t]:t.bind(n,n);let o;G(e)?o=e:(o=e.handler,s=e);const r=ks(this),a=Li(i,o.bind(n),s);return r(),a}function Xr(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 wd=Symbol("_vte"),Mn=t=>t.__isTeleport,Gt=Symbol("_leaveCb"),Ms=Symbol("_enterCb");function Pd(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ji(()=>{t.isMounted=!0}),Bi(()=>{t.isUnmounting=!0}),t}const zt=[Function,Array],Zr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:zt,onEnter:zt,onAfterEnter:zt,onEnterCancelled:zt,onBeforeLeave:zt,onLeave:zt,onAfterLeave:zt,onLeaveCancelled:zt,onBeforeAppear:zt,onAppear:zt,onAfterAppear:zt,onAppearCancelled:zt},Jr=t=>{const e=t.subTree;return e.component?Jr(e.component):e},Ad={name:"BaseTransition",props:Zr,setup(t,{slots:e}){const s=Un(),n=Pd();return()=>{const i=e.default&&ea(e.default(),!0),o=i&&i.length?Qr(i):s.subTree?kt():void 0;if(!o)return;const r=Q(t),{mode:a}=r;if(n.isLeaving)return Ii(o);const l=Dn(o);if(!l)return Ii(o);let u=Fi(l,r,n,s,f=>u=f);l.type!==wt&&Ds(l,u);let c=s.subTree&&Dn(s.subTree);if(c&&c.type!==wt&&!ze(c,l)&&Jr(s).type!==wt){let f=Fi(c,r,n,s);if(Ds(c,f),a==="out-in"&&l.type!==wt)return n.isLeaving=!0,f.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete f.afterLeave,c=void 0},Ii(o);a==="in-out"&&l.type!==wt?f.delayLeave=(h,m,v)=>{const y=ta(n,c);y[String(c.key)]=c,h[Gt]=()=>{m(),h[Gt]=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 Qr(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==wt){e=s;break}}return e}const Cd=Ad;function ta(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 Fi(t,e,s,n,i){const{appear:o,mode:r,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:h,onLeave:m,onAfterLeave:v,onLeaveCancelled:y,onBeforeAppear:E,onAppear:M,onAfterAppear:A,onAppearCancelled:C}=e,x=String(t.key),k=ta(s,t),z=(B,$)=>{B&&Wt(B,n,9,$)},P=(B,$)=>{const q=$[1];z(B,$),K(B)?B.every(I=>I.length<=1)&&q():B.length<=1&&q()},D={mode:r,persisted:a,beforeEnter(B){let $=l;if(!s.isMounted)if(o)$=E||l;else return;B[Gt]&&B[Gt](!0);const q=k[x];q&&ze(t,q)&&q.el[Gt]&&q.el[Gt](),z($,[B])},enter(B){if(k[x]===t)return;let $=u,q=c,I=f;if(!s.isMounted)if(o)$=M||u,q=A||c,I=C||f;else return;let ut=!1;B[Ms]=qt=>{ut||(ut=!0,qt?z(I,[B]):z(q,[B]),D.delayedLeave&&D.delayedLeave(),B[Ms]=void 0)};const bt=B[Ms].bind(null,!1);$?P($,[B,bt]):bt()},leave(B,$){const q=String(t.key);if(B[Ms]&&B[Ms](!0),s.isUnmounting)return $();z(h,[B]);let I=!1;B[Gt]=bt=>{I||(I=!0,$(),bt?z(y,[B]):z(v,[B]),B[Gt]=void 0,k[q]===t&&delete k[q])};const ut=B[Gt].bind(null,!1);k[q]=t,m?P(m,[B,ut]):ut()},clone(B){const $=Fi(B,e,s,n,i);return i&&i($),$}};return D}function Ii(t){if(Rn(t))return t=Te(t),t.children=null,t}function Dn(t){if(!Rn(t))return Mn(t.type)&&t.children?Qr(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&&G(s.default))return s.default()}}function Ds(t,e){if(t.shapeFlag&6&&t.component){t.transition=e;const s=t.component.subTree;Ds(Mn(s.type)&&Dn(s)||s,e)}else t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function ea(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(ea(r.children,e,a))):(e||r.type!==wt)&&n.push(a!=null?Te(r,{key:a}):r)}if(i>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}function Ed(t,e){return G(t)?mt({name:t.name},e,{setup:t}):t}function sa(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function na(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const On=new WeakMap;function Os(t,e,s,n,i=!1){if(K(t)){t.forEach((y,E)=>Os(y,e&&(K(e)?e[E]:e),s,n,i));return}if(cs(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Os(t,e,s,n.component.subTree);return}const o=n.shapeFlag&4?Yi(n.component):n.el,r=i?null:o,{i:a,r:l}=t,u=e&&e.r,c=a.refs===lt?a.refs={}:a.refs,f=a.setupState,h=Q(f),m=f===lt?fr:y=>na(c,y)?!1:et(h,y),v=(y,E)=>!(E&&na(c,E));if(u!=null&&u!==l){if(ia(e),ft(u))c[u]=null,m(u)&&(f[u]=null);else if(Tt(u)){const y=e;v(u,y.k)&&(u.value=null),y.k&&(c[y.k]=null)}}if(G(l))rs(l,a,12,[r,c]);else{const y=ft(l),E=Tt(l);if(y||E){const M=()=>{if(t.f){const A=y?m(l)?f[l]:c[l]:v()||!t.k?l.value:c[t.k];if(i)K(A)&&fi(A,o);else if(K(A))A.includes(o)||A.push(o);else if(y)c[l]=[o],m(l)&&(f[l]=c[l]);else{const C=[o];v(l,t.k)&&(l.value=C),t.k&&(c[t.k]=C)}}else y?(c[l]=r,m(l)&&(f[l]=r)):E&&(v(l,t.k)&&(l.value=r),t.k&&(c[t.k]=r))};if(r){const A=()=>{M(),On.delete(t)};A.id=-1,On.set(t,A),Ft(A,s)}else ia(t),M()}}}function ia(t){const e=On.get(t);e&&(e.flags|=8,On.delete(t))}mn().requestIdleCallback,mn().cancelIdleCallback;const cs=t=>!!t.type.__asyncLoader,Rn=t=>t.type.__isKeepAlive;function oa(t,e){aa(t,"a",e)}function ra(t,e){aa(t,"da",e)}function aa(t,e,s=xt){const n=t.__wdc||(t.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Ln(e,n,s),s){let i=s.parent;for(;i&&i.parent;)Rn(i.parent.vnode)&&Vd(n,e,s,i),i=i.parent}}function Vd(t,e,s,n){const i=Ln(e,t,n,!0);ki(()=>{fi(n[e],i)},s)}function Ln(t,e,s=xt,n=!1){if(s){const i=s[t]||(s[t]=[]),o=e.__weh||(e.__weh=(...r)=>{ie();const a=ks(s),l=Wt(e,s,t,r);return a(),oe(),l});return n?i.unshift(o):i.push(o),o}}const _e=t=>(e,s=xt)=>{(!$s||t==="sp")&&Ln(t,(...n)=>e(...n),s)},Md=_e("bm"),ji=_e("m"),la=_e("bu"),ca=_e("u"),Bi=_e("bum"),ki=_e("um"),Dd=_e("sp"),Od=_e("rtg"),Rd=_e("rtc");function Ld(t,e=xt){Ln("ec",t,e)}const Fd="components",ua=Symbol.for("v-ndc");function Id(t){return ft(t)?jd(Fd,t,!1)||t:t||ua}function jd(t,e,s=!0,n=!1){const i=Ct||xt;if(i){const o=i.type;{const a=Ga(o,!1);if(a&&(a===e||a===Mt(e)||a===pn(Mt(e))))return o}const r=fa(i[t]||o[t],e)||fa(i.appContext[t],e);return!r&&n?o:r}}function fa(t,e){return t&&(t[e]||t[Mt(e)]||t[pn(Mt(e))])}function Ie(t,e,s,n){let i;const o=s,r=K(t);if(r||ft(t)){const a=r&&De(t);let l=!1,u=!1;a&&(l=!Ht(t),u=ae(t),t=yn(t)),i=new Array(t.length);for(let c=0,f=t.length;c<f;c++)i[c]=e(l?u?Oe(Kt(t[c])):Kt(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(st(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 Bd(t,e,s,n,i,o){if(s==null&&(s={}),Ct.ce||Ct.parent&&cs(Ct.parent)&&Ct.parent.ce){const u=s,c=Object.keys(u).length>0;return j(),Bt(dt,null,[nt("slot",u,n)],c?-2:64)}let r=t[e];r&&r._c&&(r._d=!1);const a=Se.length;j();let l;try{const u=r&&da(r(s)),c=s.key||o||u&&u.key;l=Bt(dt,{key:(c&&!Xt(c)?c:`_${e}`)+(!u&&n?"_fb":"")},u||(n?n():[]),u&&t._===1?64:-2)}catch(u){for(let c=Se.length;c>a;c--)qi();throw u}finally{r&&r._c&&(r._d=!0)}return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),l}function da(t){return t.some(e=>Is(e)?!(e.type===wt||e.type===dt&&!da(e.children)):!0)?t:null}const $i=t=>t?Ua(t)?Yi(t):$i(t.parent):null,Rs=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=>$i(t.parent),$root:t=>$i(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>ga(t),$forceUpdate:t=>t.f||(t.f=()=>{Oi(t.update)}),$nextTick:t=>t.n||(t.n=yd.bind(t.proxy)),$watch:t=>Td.bind(t)}),Ni=(t,e)=>t!==lt&&!t.__isScriptSetup&&et(t,e),kd={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 h=r[e];if(h!==void 0)switch(h){case 1:return n[e];case 2:return i[e];case 4:return s[e];case 3:return o[e]}else{if(Ni(n,e))return r[e]=1,n[e];if(i!==lt&&et(i,e))return r[e]=2,i[e];if(et(o,e))return r[e]=3,o[e];if(s!==lt&&et(s,e))return r[e]=4,s[e];Ui&&(r[e]=0)}}const u=Rs[e];let c,f;if(u)return e==="$attrs"&&At(t.attrs,"get",""),u(t);if((c=a.__cssModules)&&(c=c[e]))return c;if(s!==lt&&et(s,e))return r[e]=4,s[e];if(f=l.config.globalProperties,et(f,e))return f[e]},set({_:t},e,s){const{data:n,setupState:i,ctx:o}=t;return Ni(i,e)?(i[e]=s,!0):n!==lt&&et(n,e)?(n[e]=s,!0):et(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!==lt&&a[0]!=="$"&&et(t,a)||Ni(e,a)||et(o,a)||et(n,a)||et(Rs,a)||et(i.config.globalProperties,a)||(l=r.__cssModules)&&l[a])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:et(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function $d(){return Nd().attrs}function Nd(t){const e=Un();return e.setupContext||(e.setupContext=Wa(e))}function ha(t){return K(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Ui=!0;function Ud(t){const e=ga(t),s=t.proxy,n=t.ctx;Ui=!1,e.beforeCreate&&pa(e.beforeCreate,t,"bc");const{data:i,computed:o,methods:r,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:m,updated:v,activated:y,deactivated:E,beforeDestroy:M,beforeUnmount:A,destroyed:C,unmounted:x,render:k,renderTracked:z,renderTriggered:P,errorCaptured:D,serverPrefetch:B,expose:$,inheritAttrs:q,components:I,directives:ut,filters:bt}=e;if(u&&Hd(u,n,null),r)for(const X in r){const Z=r[X];G(Z)&&(n[X]=Z.bind(s))}if(i){const X=i.call(s,s);st(X)&&(t.data=Ei(X))}if(Ui=!0,o)for(const X in o){const Z=o[X],It=G(Z)?Z.bind(s,s):G(Z.get)?Z.get.bind(s,s):Yt,bs=!G(Z)&&G(Z.set)?Z.set.bind(s):Yt,ns=_t({get:It,set:bs});Object.defineProperty(n,X,{enumerable:!0,configurable:!0,get:()=>ns.value,set:se=>ns.value=se})}if(a)for(const X in a)ma(a[X],n,s,X);if(l){const X=G(l)?l.call(s):l;Reflect.ownKeys(X).forEach(Z=>{Ri(Z,X[Z])})}c&&pa(c,t,"c");function Y(X,Z){K(Z)?Z.forEach(It=>X(It.bind(s))):Z&&X(Z.bind(s))}if(Y(Md,f),Y(ji,h),Y(la,m),Y(ca,v),Y(oa,y),Y(ra,E),Y(Ld,D),Y(Rd,z),Y(Od,P),Y(Bi,A),Y(ki,x),Y(Dd,B),K($))if($.length){const X=t.exposed||(t.exposed={});$.forEach(Z=>{Object.defineProperty(X,Z,{get:()=>s[Z],set:It=>s[Z]=It,enumerable:!0})})}else t.exposed||(t.exposed={});k&&t.render===Yt&&(t.render=k),q!=null&&(t.inheritAttrs=q),I&&(t.components=I),ut&&(t.directives=ut),B&&sa(t)}function Hd(t,e,s=Yt){K(t)&&(t=Hi(t));for(const n in t){const i=t[n];let o;st(i)?"default"in i?o=Vs(i.from||n,i.default,!0):o=Vs(i.from||n):o=Vs(i),Tt(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:r=>o.value=r}):e[n]=o}}function pa(t,e,s){Wt(K(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function ma(t,e,s,n){let i=n.includes(".")?Xr(s,n):()=>s[n];if(ft(t)){const o=e[t];G(o)&&Vn(i,o)}else if(G(t))Vn(i,t.bind(s));else if(st(t))if(K(t))t.forEach(o=>ma(o,e,s,n));else{const o=G(t.handler)?t.handler.bind(s):e[t.handler];G(o)&&Vn(i,o,t)}}function ga(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=>Fn(l,u,r,!0)),Fn(l,e,r)),st(e)&&o.set(e,l),l}function Fn(t,e,s,n=!1){const{mixins:i,extends:o}=e;o&&Fn(t,o,s,!0),i&&i.forEach(r=>Fn(t,r,s,!0));for(const r in e)if(!(n&&r==="expose")){const a=Kd[r]||s&&s[r];t[r]=a?a(t[r],e[r]):e[r]}return t}const Kd={data:ya,props:va,emits:va,methods:Ls,computed:Ls,beforeCreate:Rt,created:Rt,beforeMount:Rt,mounted:Rt,beforeUpdate:Rt,updated:Rt,beforeDestroy:Rt,beforeUnmount:Rt,destroyed:Rt,unmounted:Rt,activated:Rt,deactivated:Rt,errorCaptured:Rt,serverPrefetch:Rt,components:Ls,directives:Ls,watch:Gd,provide:ya,inject:Wd};function ya(t,e){return e?t?function(){return mt(G(t)?t.call(this,this):t,G(e)?e.call(this,this):e)}:e:t}function Wd(t,e){return Ls(Hi(t),Hi(e))}function Hi(t){if(K(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function Rt(t,e){return t?[...new Set([].concat(t,e))]:e}function Ls(t,e){return t?mt(Object.create(null),t,e):e}function va(t,e){return t?K(t)&&K(e)?[...new Set([...t,...e])]:mt(Object.create(null),ha(t),ha(e??{})):e}function Gd(t,e){if(!t)return e;if(!e)return t;const s=mt(Object.create(null),t);for(const n in e)s[n]=Rt(t[n],e[n]);return s}function ba(){return{app:null,config:{isNativeTag:fr,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 zd=0;function qd(t,e){return function(n,i=null){G(n)||(n=mt({},n)),i!=null&&!st(i)&&(i=null);const o=ba(),r=new WeakSet,a=[];let l=!1;const u=o.app={_uid:zd++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:Ph,get config(){return o.config},set config(c){},use(c,...f){return r.has(c)||(c&&G(c.install)?(r.add(c),c.install(u,...f)):G(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,h){if(!l){const m=u._ceVNode||nt(n,i);return m.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),t(m,c,h),l=!0,u._container=c,c.__vue_app__=u,Yi(m.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Wt(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=us;us=u;try{return c()}finally{us=f}}};return u}}let us=null;const Yd=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Mt(e)}Modifiers`]||t[`${Ue(e)}Modifiers`];function Xd(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||lt;let i=s;const o=e.startsWith("update:"),r=o&&Yd(n,e.slice(7));r&&(r.trim&&(i=s.map(c=>ft(c)?c.trim():c)),r.number&&(i=i.map(Cf)));let a,l=n[a=hi(e)]||n[a=hi(Mt(e))];!l&&o&&(l=n[a=hi(Ue(e))]),l&&Wt(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,Wt(u,t,6,i)}}const Zd=new WeakMap;function xa(t,e,s=!1){const n=s?Zd:e.emitsCache,i=n.get(t);if(i!==void 0)return i;const o=t.emits;let r={},a=!1;if(!G(t)){const l=u=>{const c=xa(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?(st(t)&&n.set(t,null),null):(K(o)?o.forEach(l=>r[l]=null):mt(r,o),st(t)&&n.set(t,r),r)}function In(t,e){return!t||!un(e)?!1:(e=e.slice(2),e=e==="Once"?e:e.replace(/Once$/,""),et(t,e[0].toLowerCase()+e.slice(1))||et(t,Ue(e))||et(t,e))}function nx(){}function _a(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:h,setupState:m,ctx:v,inheritAttrs:y}=t,E=Cn(t);let M,A;try{if(s.shapeFlag&4){const x=i||n,k=Le.NODE_ENV!=="production"&&m.__isScriptSetup?new Proxy(x,{get(z,P,D){return fd(`Property '${String(P)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(z,P,D)}}):x;M=ce(u.call(k,x,c,Le.NODE_ENV!=="production"?_n(f):f,m,h,v)),A=a}else{const x=e;Le.NODE_ENV,M=ce(x.length>1?x(Le.NODE_ENV!=="production"?_n(f):f,Le.NODE_ENV!=="production"?{get attrs(){return _n(a)},slots:r,emit:l}:{attrs:a,slots:r,emit:l}):x(Le.NODE_ENV!=="production"?_n(f):f,null)),A=e.props?a:Jd(a)}}catch(x){Se.length=0,Pn(x,t,1),M=nt(wt)}let C=M;if(A&&y!==!1){const x=Object.keys(A),{shapeFlag:k}=C;x.length&&k&7&&(o&&x.some(fn)&&(A=Qd(A,o)),C=Te(C,A,!1,!0))}if(s.dirs&&(C=Te(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(s.dirs):s.dirs),s.transition){const x=Mn(C.type)&&Dn(C)||C;Ds(x,s.transition)}return M=C,Cn(E),M}const Jd=t=>{let e;for(const s in t)(s==="class"||s==="style"||un(s))&&((e||(e={}))[s]=t[s]);return e},Qd=(t,e)=>{const s={};for(const n in t)(!fn(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function th(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?Sa(n,r,u):!!r;if(l&8){const c=e.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(Ta(r,n,h)&&!In(u,h))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:n===r?!1:n?r?Sa(n,r,u):!0:!!r;return!1}function Sa(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(Ta(e,t,o)&&!In(s,o))return!0}return!1}function Ta(t,e,s){const n=t[s],i=e[s];return s==="style"&&st(n)&&st(i)?!gn(n,i):n!==i}function eh({vnode:t,parent:e,suspense:s},n){for(;e;){const i=e.subTree;if(i.suspense&&i.suspense.activeBranch===t&&(i.suspense.vnode.el=i.el=n,t=i),i===t)(t=e.vnode).el=n,e=e.parent;else break}s&&s.activeBranch===t&&(s.vnode.el=n)}const wa={},Pa=()=>Object.create(wa),Aa=t=>Object.getPrototypeOf(t)===wa;function sh(t,e,s,n=!1){const i={},o=Pa();t.propsDefaults=Object.create(null),Ca(t,e,i,o);for(const r in t.propsOptions[0])r in i||(i[r]=void 0);s?t.props=n?i:sd(i):t.type.props?t.props=i:t.props=o,t.attrs=o}function nh(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 h=c[f];if(In(t.emitsOptions,h))continue;const m=e[h];if(l)if(et(o,h))m!==o[h]&&(o[h]=m,u=!0);else{const v=Mt(h);i[v]=Ki(l,a,v,m,t,!1)}else m!==o[h]&&(o[h]=m,u=!0)}}}else{Ca(t,e,i,o)&&(u=!0);let c;for(const f in a)(!e||!et(e,f)&&((c=Ue(f))===f||!et(e,c)))&&(l?s&&(s[f]!==void 0||s[c]!==void 0)&&(i[f]=Ki(l,a,f,void 0,t,!0)):delete i[f]);if(o!==a)for(const f in o)(!e||!et(e,f))&&(delete o[f],u=!0)}u&&be(t.attrs,"set","")}function Ca(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&&et(i,c=Mt(l))?!o||!o.includes(c)?s[c]=u:(a||(a={}))[c]=u:In(t.emitsOptions,l)||(!(l in n)||u!==n[l])&&(n[l]=u,r=!0)}if(o){const l=Q(s),u=a||lt;for(let c=0;c<o.length;c++){const f=o[c];s[f]=Ki(i,l,f,u[f],t,!et(u,f))}}return r}function Ki(t,e,s,n,i,o){const r=t[s];if(r!=null){const a=et(r,"default");if(a&&n===void 0){const l=r.default;if(r.type!==Function&&!r.skipFactory&&G(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===Ue(s))&&(n=!0))}return n}const ih=new WeakMap;function Ea(t,e,s=!1){const n=s?ih:e.propsCache,i=n.get(t);if(i)return i;const o=t.props,r={},a=[];let l=!1;if(!G(t)){const c=f=>{l=!0;const[h,m]=Ea(f,e,!0);mt(r,h),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 st(t)&&n.set(t,Ne),Ne;if(K(o))for(let c=0;c<o.length;c++){const f=Mt(o[c]);Va(f)&&(r[f]=lt)}else if(o)for(const c in o){const f=Mt(c);if(Va(f)){const h=o[c],m=r[f]=K(h)||G(h)?{type:h}:mt({},h),v=m.type;let y=!1,E=!0;if(K(v))for(let M=0;M<v.length;++M){const A=v[M],C=G(A)&&A.name;if(C==="Boolean"){y=!0;break}else C==="String"&&(E=!1)}else y=G(v)&&v.name==="Boolean";m[0]=y,m[1]=E,(y||et(m,"default"))&&a.push(f)}}const u=[r,a];return st(t)&&n.set(t,u),u}function Va(t){return t[0]!=="$"&&!_s(t)}const Wi=t=>t==="_"||t==="_ctx"||t==="$stable",Gi=t=>K(t)?t.map(ce):[ce(t)],oh=(t,e,s)=>{if(e._n)return e;const n=En((...i)=>(Le.NODE_ENV!=="production"&&xt&&!(s===null&&Ct)&&(s&&(s.root,xt.root)),Gi(e(...i))),s);return n._c=!1,n},Ma=(t,e,s)=>{const n=t._ctx;for(const i in t){if(Wi(i))continue;const o=t[i];if(G(o))e[i]=oh(i,o,n);else if(o!=null){const r=Gi(o);e[i]=()=>r}}},Da=(t,e)=>{const s=Gi(e);t.slots.default=()=>s},Oa=(t,e,s)=>{for(const n in e)(s||!Wi(n))&&(t[n]=e[n])},rh=(t,e,s)=>{const n=t.slots=Pa();if(t.vnode.shapeFlag&32){const i=e._;i?(Oa(n,e,s),s&&gr(n,"_",i,!0)):Ma(e,n)}else e&&Da(t,e)},ah=(t,e,s)=>{const{vnode:n,slots:i}=t;let o=!0,r=lt;if(n.shapeFlag&32){const a=e._;a?s&&a===1?o=!1:Oa(i,e,s):(o=!e.$stable,Ma(e,i)),r=e}else e&&(Da(t,e),r={default:1});if(o)for(const a in i)!Wi(a)&&r[a]==null&&delete i[a]},Ft=dh;function lh(t){return ch(t)}function ch(t,e){const s=mn();s.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:r,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:m=Yt,insertStaticContent:v}=t,y=(d,p,b,w=null,_=null,T=null,R=void 0,O=null,V=!!p.dynamicChildren)=>{if(d===p)return;d&&!ze(d,p)&&(w=ui(d),se(d,_,T,!0),d=null),p.patchFlag===-2&&(V=!1,p.dynamicChildren=null),p.dynamicChildren&&d&&d.dynamicChildren&&d.dynamicChildren.hasOnce&&(p.dynamicChildren===Ne&&(p.dynamicChildren=[]),p.dynamicChildren.hasOnce=!0);const{type:S,ref:H,shapeFlag:L}=p;switch(S){case jn:E(d,p,b,w);break;case wt:M(d,p,b,w);break;case Bn:d==null&&A(p,b,w,R);break;case dt:I(d,p,b,w,_,T,R,O,V);break;default:L&1?k(d,p,b,w,_,T,R,O,V):L&6?ut(d,p,b,w,_,T,R,O,V):(L&64||L&128)&&S.process(d,p,b,w,_,T,R,O,V,ln)}H!=null&&_?Os(H,d&&d.ref,T,p||d,!p):H==null&&d&&d.ref!=null&&Os(d.ref,null,T,d,!0)},E=(d,p,b,w)=>{if(d==null)n(p.el=a(p.children),b,w);else{const _=p.el=d.el;p.children!==d.children&&u(_,p.children)}},M=(d,p,b,w)=>{d==null?n(p.el=l(p.children||""),b,w):p.el=d.el},A=(d,p,b,w)=>{[d.el,d.anchor]=v(d.children,p,b,w,d.el,d.anchor)},C=({el:d,anchor:p},b,w)=>{let _;for(;d&&d!==p;)_=h(d),n(d,b,w),d=_;n(p,b,w)},x=({el:d,anchor:p})=>{let b;for(;d&&d!==p;)b=h(d),i(d),d=b;i(p)},k=(d,p,b,w,_,T,R,O,V)=>{if(p.type==="svg"?R="svg":p.type==="math"&&(R="mathml"),d==null)z(p,b,w,_,T,R,O,V);else{const S=d.el&&d.el._isVueCE?d.el:null;try{S&&S._beginPatch(),B(d,p,_,T,R,O,V)}finally{S&&S._endPatch()}}},z=(d,p,b,w,_,T,R,O)=>{let V,S;const{props:H,shapeFlag:L,transition:N,dirs:W}=d;if(V=d.el=r(d.type,T,H&&H.is,H),L&8?c(V,d.children):L&16&&D(d.children,V,null,w,_,zi(d,T),R,O),W&&We(d,null,w,"created"),P(V,d,d.scopeId,R,w),H){for(const at in H)at!=="value"&&!_s(at)&&o(V,at,null,H[at],T,w);"value"in H&&o(V,"value",null,H.value,T),(S=H.onVnodeBeforeMount)&&ue(S,w,d)}W&&We(d,null,w,"beforeMount");const tt=uh(_,N);tt&&N.beforeEnter(V),n(V,p,b),((S=H&&H.onVnodeMounted)||tt||W)&&Ft(()=>{S&&ue(S,w,d),tt&&N.enter(V),W&&We(d,null,w,"mounted")},_)},P=(d,p,b,w,_)=>{if(b&&m(d,b),w)for(let T=0;T<w.length;T++)m(d,w[T]);if(_){let T=_.subTree;if(p===T||ja(T.type)&&(T.ssContent===p||T.ssFallback===p)){const R=_.vnode;P(d,R,R.scopeId,R.slotScopeIds,_.parent)}}},D=(d,p,b,w,_,T,R,O,V=0)=>{for(let S=V;S<d.length;S++){const H=d[S]=O?we(d[S]):ce(d[S]);y(null,H,p,b,w,_,T,R,O)}},B=(d,p,b,w,_,T,R)=>{const O=p.el=d.el;let{patchFlag:V,dynamicChildren:S,dirs:H}=p;V|=d.patchFlag&16;const L=d.props||lt,N=p.props||lt;let W;if(b&&Ge(b,!1),(W=N.onVnodeBeforeUpdate)&&ue(W,b,p,d),H&&We(p,d,b,"beforeUpdate"),b&&Ge(b,!0),S&&(!d.dynamicChildren||d.dynamicChildren.length!==S.length)&&(V=0,R=!1,S=null),(L.innerHTML&&N.innerHTML==null||L.textContent&&N.textContent==null)&&c(O,""),S?$(d.dynamicChildren,S,O,b,w,zi(p,_),T):R||Z(d,p,O,null,b,w,zi(p,_),T,!1),V>0){if(V&16)q(O,L,N,b,_);else if(V&2&&L.class!==N.class&&o(O,"class",null,N.class,_),V&4&&o(O,"style",L.style,N.style,_),V&8){const tt=p.dynamicProps;for(let at=0;at<tt.length;at++){const rt=tt[at],pt=L[rt],Pt=N[rt];(Pt!==pt||rt==="value")&&o(O,rt,pt,Pt,_,b)}}V&1&&d.children!==p.children&&c(O,p.children)}else!R&&S==null&&q(O,L,N,b,_);((W=N.onVnodeUpdated)||H)&&Ft(()=>{W&&ue(W,b,p,d),H&&We(p,d,b,"updated")},w)},$=(d,p,b,w,_,T,R)=>{for(let O=0;O<p.length;O++){const V=d[O],S=p[O],H=V.el&&(V.type===dt||!ze(V,S)||V.shapeFlag&198)?f(V.el):b;y(V,S,H,null,w,_,T,R,!0)}},q=(d,p,b,w,_)=>{if(p!==b){if(p!==lt)for(const T in p)!_s(T)&&!(T in b)&&o(d,T,p[T],null,_,w);for(const T in b){if(_s(T))continue;const R=b[T],O=p[T];R!==O&&T!=="value"&&o(d,T,O,R,_,w)}"value"in b&&o(d,"value",p.value,b.value,_)}},I=(d,p,b,w,_,T,R,O,V)=>{const S=p.el=d?d.el:a(""),H=p.anchor=d?d.anchor:a("");let{patchFlag:L,dynamicChildren:N,slotScopeIds:W}=p;W&&(O=O?O.concat(W):W),d==null?(n(S,b,w),n(H,b,w),D(p.children||[],b,H,_,T,R,O,V)):L>0&&L&64&&N&&d.dynamicChildren&&d.dynamicChildren.length===N.length?($(d.dynamicChildren,N,b,_,T,R,O),(p.key!=null||_&&p===_.subTree)&&Ra(d,p,!0)):Z(d,p,b,H,_,T,R,O,V)},ut=(d,p,b,w,_,T,R,O,V)=>{p.slotScopeIds=O,d==null?p.shapeFlag&512?_.ctx.activate(p,b,w,R,V):bt(p,b,w,_,T,R,V):qt(d,p,V)},bt=(d,p,b,w,_,T,R)=>{const O=d.component=vh(d,w,_);if(Rn(d)&&(O.ctx.renderer=ln),bh(O,!1,R),O.asyncDep){if(_&&_.registerDep(O,Y,R),!d.el){const V=O.subTree=nt(wt);M(null,V,p,b),d.placeholder=V.el}}else Y(O,d,p,b,_,T,R)},qt=(d,p,b)=>{const w=p.component=d.component;if(th(d,p,b))if(w.asyncDep&&!w.asyncResolved){p.el=d.el,X(w,p,b);return}else w.next=p,w.update();else p.el=d.el,w.vnode=p},Y=(d,p,b,w,_,T,R)=>{const O=()=>{if(d.isMounted){let{next:L,bu:N,u:W,parent:tt,vnode:at}=d;{const ye=La(d);if(ye){L&&(L.el=at.el,X(d,L,R)),ye.asyncDep.then(()=>{Ft(()=>{d.isUnmounted||S()},_)});return}}let rt=L,pt;Ge(d,!1),L?(L.el=at.el,X(d,L,R)):L=at,N&&pi(N),(pt=L.props&&L.props.onVnodeBeforeUpdate)&&ue(pt,tt,L,at),Ge(d,!0);const Pt=_a(d),ge=d.subTree;d.subTree=Pt,y(ge,Pt,f(ge.el),ui(ge),d,_,T),L.el=Pt.el,rt===null&&eh(d,Pt.el),W&&Ft(W,_),(pt=L.props&&L.props.onVnodeUpdated)&&Ft(()=>ue(pt,tt,L,at),_)}else{let L;const{el:N,props:W}=p,{bm:tt,m:at,parent:rt,root:pt,type:Pt}=d,ge=cs(p);Ge(d,!1),tt&&pi(tt),!ge&&(L=W&&W.onVnodeBeforeMount)&&ue(L,rt,p),Ge(d,!0);{pt.ce&&pt.ce._hasShadowRoot()&&pt.ce._injectChildStyle(Pt,d.parent?d.parent.type:void 0);const ye=d.subTree=_a(d);y(null,ye,b,w,d,_,T),p.el=ye.el}if(at&&Ft(at,_),!ge&&(L=W&&W.onVnodeMounted)){const ye=p;Ft(()=>ue(L,rt,ye),_)}(p.shapeFlag&256||rt&&cs(rt.vnode)&&rt.vnode.shapeFlag&256)&&d.a&&Ft(d.a,_),d.isMounted=!0,p=b=w=null}};d.scope.on();const V=d.effect=new Tr(O);d.scope.off();const S=d.update=V.run.bind(V),H=d.job=V.runIfDirty.bind(V);H.i=d,H.id=d.uid,V.scheduler=()=>Oi(H),Ge(d,!0),S()},X=(d,p,b)=>{p.component=d;const w=d.vnode.props;d.vnode=p,d.next=null,nh(d,p.props,w,b),ah(d,p.children,b),ie(),Gr(d),oe()},Z=(d,p,b,w,_,T,R,O,V=!1)=>{const S=d&&d.children,H=d?d.shapeFlag:0,L=p.children,{patchFlag:N,shapeFlag:W}=p;if(N>0){if(N&128){bs(S,L,b,w,_,T,R,O,V);return}else if(N&256){It(S,L,b,w,_,T,R,O,V);return}}W&8?(H&16&&an(S,_,T),L!==S&&c(b,L)):H&16?W&16?bs(S,L,b,w,_,T,R,O,V):an(S,_,T,!0):(H&8&&c(b,""),W&16&&D(L,b,w,_,T,R,O,V))},It=(d,p,b,w,_,T,R,O,V)=>{d=d||Ne,p=p||Ne;const S=d.length,H=p.length,L=Math.min(S,H);let N;for(N=0;N<L;N++){const W=p[N]=V?we(p[N]):ce(p[N]);y(d[N],W,b,null,_,T,R,O,V)}S>H?an(d,_,T,!0,!1,L):D(p,b,w,_,T,R,O,V,L)},bs=(d,p,b,w,_,T,R,O,V)=>{let S=0;const H=p.length;let L=d.length-1,N=H-1;for(;S<=L&&S<=N;){const W=d[S],tt=p[S]=V?we(p[S]):ce(p[S]);if(ze(W,tt))y(W,tt,b,null,_,T,R,O,V);else break;S++}for(;S<=L&&S<=N;){const W=d[L],tt=p[N]=V?we(p[N]):ce(p[N]);if(ze(W,tt))y(W,tt,b,null,_,T,R,O,V);else break;L--,N--}if(S>L){if(S<=N){const W=N+1,tt=W<H?p[W].el:w;for(;S<=N;)y(null,p[S]=V?we(p[S]):ce(p[S]),b,tt,_,T,R,O,V),S++}}else if(S>N)for(;S<=L;)se(d[S],_,T,!0),S++;else{const W=S,tt=S,at=new Map;for(S=tt;S<=N;S++){const Ut=p[S]=V?we(p[S]):ce(p[S]);Ut.key!=null&&at.set(Ut.key,S)}let rt,pt=0;const Pt=N-tt+1;let ge=!1,ye=0;const cn=new Array(Pt);for(S=0;S<Pt;S++)cn[S]=0;for(S=W;S<=L;S++){const Ut=d[S];if(pt>=Pt){se(Ut,_,T,!0);continue}let ve;if(Ut.key!=null)ve=at.get(Ut.key);else for(rt=tt;rt<=N;rt++)if(cn[rt-tt]===0&&ze(Ut,p[rt])){ve=rt;break}ve===void 0?se(Ut,_,T,!0):(cn[ve-tt]=S+1,ve>=ye?ye=ve:ge=!0,y(Ut,p[ve],b,null,_,T,R,O,V),pt++)}const xf=ge?fh(cn):Ne;for(rt=xf.length-1,S=Pt-1;S>=0;S--){const Ut=tt+S,ve=p[Ut],_f=p[Ut+1],Sf=Ut+1<H?_f.el||Ia(_f):w;cn[S]===0?y(null,ve,b,Sf,_,T,R,O,V):ge&&(rt<0||S!==xf[rt]?ns(ve,b,Sf,2):rt--)}}},ns=(d,p,b,w,_=null)=>{const{el:T,type:R,transition:O,children:V,shapeFlag:S}=d;if(S&6){ns(d.component.subTree,p,b,w);return}if(S&128){d.suspense.move(p,b,w);return}if(S&64){R.move(d,p,b,ln);return}if(R===dt){n(T,p,b);for(let L=0;L<V.length;L++)ns(V[L],p,b,w);n(d.anchor,p,b);return}if(R===Bn){C(d,p,b);return}if(w!==2&&S&1&&O)if(w===0)O.persisted&&!T[Gt]?n(T,p,b):(O.beforeEnter(T),n(T,p,b),Ft(()=>O.enter(T),_));else{const{leave:L,delayLeave:N,afterLeave:W}=O,tt=()=>{d.ctx.isUnmounted?i(T):n(T,p,b)},at=()=>{const rt=T._isLeaving||!!T[Gt];T._isLeaving&&T[Gt](!0),O.persisted&&!rt?tt():L(T,()=>{tt(),W&&W()})};N?N(T,tt,at):at()}else n(T,p,b)},se=(d,p,b,w=!1,_=!1)=>{const{type:T,props:R,ref:O,children:V,dynamicChildren:S,shapeFlag:H,patchFlag:L,dirs:N,cacheIndex:W,memo:tt}=d;if((L===-2||S&&S.hasOnce)&&(_=!1),O!=null&&(ie(),Os(O,null,b,d,!0),oe()),W!=null&&(!d.ctx||d.ctx===p)&&(p.renderCache[W]=void 0),H&256){p.ctx.deactivate(d);return}const at=H&1&&N,rt=!cs(d);let pt;if(rt&&(pt=R&&R.onVnodeBeforeUnmount)&&ue(pt,p,d),H&6)ex(d.component,b,w);else{if(H&128){d.suspense.unmount(b,w);return}at&&We(d,null,p,"beforeUnmount"),H&64?d.type.remove(d,p,b,ln,w):S&&!S.hasOnce&&(T!==dt||L>0&&L&64)?an(S,p,b,!1,!0):(T===dt&&L&384||!_&&H&16)&&an(V,p,b),w&&vf(d)}const Pt=tt!=null&&W==null;(rt&&(pt=R&&R.onVnodeUnmounted)||at||Pt)&&Ft(()=>{pt&&ue(pt,p,d),at&&We(d,null,p,"unmounted"),Pt&&(d.el=null)},b)},vf=d=>{const{type:p,el:b,anchor:w,transition:_}=d;if(p===dt){tx(b,w);return}if(p===Bn){x(d),_&&!_.persisted&&_.afterLeave&&_.afterLeave();return}const T=()=>{i(b),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(d.shapeFlag&1&&_&&!_.persisted){const{leave:R,delayLeave:O}=_,V=()=>R(b,T);O?O(d.el,T,V):V()}else T()},tx=(d,p)=>{let b;for(;d!==p;)b=h(d),i(d),d=b;i(p)},ex=(d,p,b)=>{const{bum:w,scope:_,job:T,subTree:R,um:O,m:V,a:S}=d;Fa(V),Fa(S),w&&pi(w),_.stop(),T?(T.flags|=8,se(R,d,p,b)):d.vnode.el&&R&&(R.transition=d.vnode.transition,se(R,d,p,b)),O&&Ft(O,p),Ft(()=>{d.isUnmounted=!0},p)},an=(d,p,b,w=!1,_=!1,T=0)=>{for(let R=T;R<d.length;R++)se(d[R],p,b,w,_)},ui=d=>{if(d.shapeFlag&6)return ui(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const p=h(d.anchor||d.el),b=p&&p[wd];return b?h(b):p};let ur=!1;const bf=(d,p,b)=>{let w;d==null?p._vnode&&(se(p._vnode,null,null,!0),w=p._vnode.component):y(p._vnode||null,d,p,null,null,null,b),p._vnode=d,ur||(ur=!0,Gr(w),zr(),ur=!1)},ln={p:y,um:se,m:ns,r:vf,mt:bt,mc:D,pc:Z,pbc:$,n:ui,o:t};return{render:bf,hydrate:void 0,createApp:qd(bf)}}function zi({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 Ge({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function uh(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Ra(t,e,s=!1){const n=t.children,i=e.children;if(K(n)&&K(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]=we(i[o]),a.el=r.el),!s&&a.patchFlag!==-2&&Ra(r,a)),a.type===jn&&(a.patchFlag===-1&&(a=i[o]=we(a)),a.el=r.el),a.type===wt&&!a.el&&(a.el=r.el)}}function fh(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 La(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:La(e)}function Fa(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Ia(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Ia(e.subTree):null}const ja=t=>t.__isSuspense;function dh(t,e){e&&e.pendingBranch?K(t)?e.effects.push(...t):e.effects.push(t):bd(t)}const dt=Symbol.for("v-fgt"),jn=Symbol.for("v-txt"),wt=Symbol.for("v-cmt"),Bn=Symbol.for("v-stc"),Se=[];let jt=null;function j(t=!1){Se.push(jt=t?null:[])}function qi(){Se.pop(),jt=Se[Se.length-1]||null}let Fs=1;function kn(t,e=!1){Fs+=t,t<0&&jt&&e&&(jt.hasOnce=!0)}function Ba(t){return t.dynamicChildren=Fs>0?jt||Ne:null,qi(),Fs>0&&jt&&jt.push(t),t}function U(t,e,s,n,i,o){return Ba(g(t,e,s,n,i,o,!0))}function Bt(t,e,s,n,i){return Ba(nt(t,e,s,n,i,!0))}function Is(t){return t?t.__v_isVNode===!0:!1}function ze(t,e){return t.type===e.type&&t.key===e.key}const ka=({key:t})=>t??null,$n=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?ft(t)||Tt(t)||G(t)?{i:Ct,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&&ka(e),ref:e&&$n(e),scopeId:Yr,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:Ct};return a?(Nn(l,s),o&128&&t.normalize(l)):s&&(l.shapeFlag|=ft(s)?8:16),Fs>0&&!r&&jt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&jt.push(l),l}const nt=hh;function hh(t,e=null,s=null,n=0,i=null,o=!1){if((!t||t===ua)&&(t=wt),Is(t)){const a=Te(t,e,!0);return s&&Nn(a,s),Fs>0&&!o&&jt&&(a.shapeFlag&6?jt[jt.indexOf(t)]=a:jt.push(a)),a.patchFlag=-2,a}if(wh(t)&&(t=t.__vccOpts),e){e=ph(e);let{class:a,style:l}=e;a&&!ft(a)&&(e.class=Dt(a)),st(l)&&(Mi(l)&&!K(l)&&(l=mt({},l)),e.style=mi(l))}const r=ft(t)?1:ja(t)?128:Mn(t)?64:st(t)?4:G(t)?2:0;return g(t,e,s,n,i,r,o,!0)}function ph(t){return t?Mi(t)||Aa(t)?mt({},t):t:null}function Te(t,e,s=!1,n=!1){const{props:i,ref:o,patchFlag:r,children:a,transition:l}=t,u=e?$a(i||{},e):i,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&ka(u),ref:e&&e.ref?s&&o?K(o)?o.concat($n(e)):[o,$n(e)]:$n(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&&Te(t.ssContent),ssFallback:t.ssFallback&&Te(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce,cacheIndex:t.cacheIndex};return l&&n&&Ds(c,l.clone(c)),c}function js(t=" ",e=0){return nt(jn,null,t,e)}function mh(t,e){const s=nt(Bn,null,t);return s.staticCount=e,s}function kt(t="",e=!1){return e?(j(),Bt(wt,null,t)):nt(wt,null,t)}function ce(t){return t==null||typeof t=="boolean"?nt(wt):K(t)?nt(dt,null,t.slice()):Is(t)?we(t):nt(jn,null,String(t))}function we(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Te(t)}function Nn(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(K(e))s=16;else if(typeof e=="object")if(n&65){const i=e.default;i&&(i._c&&(i._d=!1),Nn(t,i()),i._c&&(i._d=!0));return}else{s=32;const i=e._;!i&&!Aa(e)?e._ctx=Ct:i===3&&Ct&&(Ct.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else if(G(e)){if(n&65){Nn(t,{default:e});return}e={default:e,_ctx:Ct},s=32}else e=String(e),n&64?(s=16,e=[js(e)]):s=8;t.children=e,t.shapeFlag|=s}function $a(...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=Dt([e.class,n.class]));else if(i==="style")e.style=mi([e.style,n.style]);else if(un(i)){const o=e[i],r=n[i];r&&o!==r&&!(K(o)&&o.includes(r))?e[i]=o?[].concat(o,r):r:r==null&&o==null&&!fn(i)&&(e[i]=r)}else i!==""&&(e[i]=n[i])}return e}function ue(t,e,s,n=null){Wt(t,e,7,[s,n])}const gh=ba();let yh=0;function vh(t,e,s){const n=t.type,i=(e?e.appContext:t.appContext)||gh,o={uid:yh++,vnode:t,type:n,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new jf(!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:Ea(n,i),emitsOptions:xa(n,i),emit:null,emitted:null,propsDefaults:lt,inheritAttrs:n.inheritAttrs,ctx:lt,data:lt,props:lt,attrs:lt,slots:lt,refs:lt,setupState:lt,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=Xd.bind(null,o),t.ce&&t.ce(o),o}let xt=null;const Un=()=>xt||Ct;let Hn,Bs;{const t=mn(),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)}};Hn=e("__VUE_INSTANCE_SETTERS__",s=>xt=s),Bs=e("__VUE_SSR_SETTERS__",s=>$s=s)}const ks=t=>{const e=xt;return Hn(t),t.scope.on(),()=>{t.scope.off(),Hn(e)}},Na=()=>{xt&&xt.scope.off(),Hn(null)};function Ua(t){return t.vnode.shapeFlag&4}let $s=!1;function bh(t,e=!1,s=!1){e&&Bs(e);const{props:n,children:i}=t.vnode,o=Ua(t);sh(t,n,o,e),rh(t,i,s||e);const r=o?xh(t,e):void 0;return e&&Bs(!1),r}function xh(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,kd);const{setup:n}=s;if(n){ie();const i=t.setupContext=n.length>1?Wa(t):null,o=ks(t),r=rs(n,t,0,[t.props,i]),a=hr(r);if(oe(),o(),(a||t.sp)&&!cs(t)&&sa(t),a){if(r.then(Na,Na),e)return r.then(l=>{Bs(!0);try{Ha(t,l,e)}finally{Bs(!1)}}).catch(l=>{Pn(l,t,0)});t.asyncDep=r}else Ha(t,r)}else Ka(t)}function Ha(t,e,s){G(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:st(e)&&(t.setupState=Ur(e)),Ka(t)}function Ka(t,e,s){const n=t.type;t.render||(t.render=n.render||Yt);{const i=ks(t);ie();try{Ud(t)}finally{oe(),i()}}}const _h={get(t,e){return At(t,"get",""),t[e]}};function Wa(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,_h),slots:t.slots,emit:t.emit,expose:e}}function Yi(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Ur(nd(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in Rs)return Rs[s](t)},has(e,s){return s in e||s in Rs}})):t.proxy}const Sh=/(?:^|[-_])\w/g,Th=t=>t.replace(Sh,e=>e.toUpperCase()).replace(/[-_]/g,"");function Ga(t,e=!0){return G(t)?t.displayName||t.name:t.name||e&&t.__name}function za(t,e,s=!1){let n=Ga(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?Th(n):s?"App":"Anonymous"}function wh(t){return G(t)&&"__vccOpts"in t}const _t=(t,e)=>ld(t,e,$s);function Xi(t,e,s){try{kn(-1);const n=arguments.length;return n===2?st(e)&&!K(e)?Is(e)?nt(t,null,[e]):nt(t,e):nt(t,null,e):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Is(s)&&(s=[s]),nt(t,e,s))}finally{kn(1)}}const Ph="3.5.43";let Zi;const qa=typeof window<"u"&&window.trustedTypes;if(qa)try{Zi=qa.createPolicy("vue",{createHTML:t=>t})}catch{}const Ya=Zi?t=>Zi.createHTML(t):t=>t,Ah="http://www.w3.org/2000/svg",Ch="http://www.w3.org/1998/Math/MathML",Pe=typeof document<"u"?document:null,Xa=Pe&&Pe.createElement("template"),Eh={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"?Pe.createElementNS(Ah,t):e==="mathml"?Pe.createElementNS(Ch,t):s?Pe.createElement(t,{is:s}):Pe.createElement(t);return t==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:t=>Pe.createTextNode(t),createComment:t=>Pe.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Pe.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{Xa.innerHTML=Ya(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const a=Xa.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]}},je="transition",Ns="animation",Us=Symbol("_vtc"),Za={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},Vh=mt({},Zr,Za),Mh=(t=>(t.displayName="Transition",t.props=Vh,t))((t,{slots:e})=>Xi(Cd,Dh(t),e)),qe=(t,e=[])=>{K(t)?t.forEach(s=>s(...e)):t&&t(...e)},Ja=t=>t?K(t)?t.some(e=>e.length>1):t.length>1:!1;function Dh(t){const e={};for(const I in t)I in Za||(e[I]=t[I]);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:h=`${s}-leave-active`,leaveToClass:m=`${s}-leave-to`}=t,v=Oh(i),y=v&&v[0],E=v&&v[1],{onBeforeEnter:M,onEnter:A,onEnterCancelled:C,onLeave:x,onLeaveCancelled:k,onBeforeAppear:z=M,onAppear:P=A,onAppearCancelled:D=C}=e,B=(I,ut,bt,qt)=>{I._enterCancelled=qt,Ye(I,ut?c:a),Ye(I,ut?u:r),bt&&bt()},$=(I,ut)=>{I._isLeaving=!1,Ye(I,f),Ye(I,m),Ye(I,h),ut&&ut()},q=I=>(ut,bt)=>{const qt=I?P:A,Y=()=>B(ut,I,bt);qe(qt,[ut,Y]),Qa(()=>{Ye(ut,I?l:o),Ae(ut,I?c:a),Ja(qt)||tl(ut,n,y,Y)})};return mt(e,{onBeforeEnter(I){qe(M,[I]),Ae(I,o),Ae(I,r)},onBeforeAppear(I){qe(z,[I]),Ae(I,l),Ae(I,u)},onEnter:q(!1),onAppear:q(!0),onLeave(I,ut){I._isLeaving=!0;const bt=()=>$(I,ut);Ae(I,f),I._enterCancelled?(Ae(I,h),nl(I)):(nl(I),Ae(I,h)),Qa(()=>{I._isLeaving&&(Ye(I,f),Ae(I,m),Ja(x)||tl(I,n,E,bt))}),qe(x,[I,bt])},onEnterCancelled(I){B(I,!1,void 0,!0),qe(C,[I])},onAppearCancelled(I){B(I,!0,void 0,!0),qe(D,[I])},onLeaveCancelled(I){$(I),qe(k,[I])}})}function Oh(t){if(t==null)return null;if(st(t))return[Ji(t.enter),Ji(t.leave)];{const e=Ji(t);return[e,e]}}function Ji(t){return Ef(t)}function Ae(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.add(s)),(t[Us]||(t[Us]=new Set)).add(e)}function Ye(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const s=t[Us];s&&(s.delete(e),s.size||(t[Us]=void 0))}function Qa(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Rh=0;function tl(t,e,s,n){const i=t._endId=++Rh,o=()=>{i===t._endId&&n()};if(s!=null)return setTimeout(o,s);const{type:r,timeout:a,propCount:l}=Lh(t,e);if(!r)return n();const u=r+"end";let c=0;const f=()=>{t.removeEventListener(u,h),o()},h=m=>{m.target===t&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),t.addEventListener(u,h)}function Lh(t,e){const s=window.getComputedStyle(t),n=v=>(s[v]||"").split(", "),i=n(`${je}Delay`),o=n(`${je}Duration`),r=el(i,o),a=n(`${Ns}Delay`),l=n(`${Ns}Duration`),u=el(a,l);let c=null,f=0,h=0;e===je?r>0&&(c=je,f=r,h=o.length):e===Ns?u>0&&(c=Ns,f=u,h=l.length):(f=Math.max(r,u),c=f>0?r>u?je:Ns:null,h=c?c===je?o.length:l.length:0);const m=c===je&&/\b(?:transform|all)(?:,|$)/.test(n(`${je}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:m}}function el(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((s,n)=>sl(s)+sl(t[n])))}function sl(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function nl(t){return(t?t.ownerDocument:document).body.offsetHeight}function Fh(t,e,s){const n=t[Us];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const il=Symbol("_vod"),Ih=Symbol("_vsh"),jh=Symbol(""),Bh=/(?:^|;)\s*display\s*:/;function kh(t,e,s){const n=t.style,i=ft(s);let o=!1;if(s&&!i){if(e)if(ft(e))for(const r of e.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&Hs(n,a,"")}else for(const r in e)s[r]==null&&Hs(n,r,"");for(const r in s){r==="display"&&(o=!0);const a=s[r];a!=null?Nh(t,r,!ft(e)&&e?e[r]:void 0,a)||Hs(n,r,a):Hs(n,r,"")}}else if(i){if(e!==s){const r=n[jh];r&&(s+=";"+r),n.cssText=s,o=Bh.test(s)}}else e&&t.removeAttribute("style");il in t&&(t[il]=o?n.display:"",t[Ih]&&(n.display="none"))}const Kn=/\s*!important$/;function Hs(t,e,s){if(K(s))s.forEach(n=>Hs(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))Kn.test(s)?t.setProperty(e,s.replace(Kn,""),"important"):t.setProperty(e,s);else{const n=$h(t,e);Kn.test(s)?t.setProperty(Ue(n),s.replace(Kn,""),"important"):t[n]=s}}const ol=["Webkit","Moz","ms"],Qi={};function $h(t,e){const s=Qi[e];if(s)return s;let n=Mt(e);if(n!=="filter"&&n in t)return Qi[e]=n;n=pn(n);for(let i=0;i<ol.length;i++){const o=ol[i]+n;if(o in t)return Qi[e]=o}return e}function Nh(t,e,s,n){return t.tagName==="TEXTAREA"&&(e==="width"||e==="height")&&ft(n)&&s===n}const rl="http://www.w3.org/1999/xlink";function al(t,e,s,n,i,o=Rf(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(rl,e.slice(6,e.length)):t.setAttributeNS(rl,e,s):s==null||o&&!vr(s)?t.removeAttribute(e):t.setAttribute(e,o?"":Xt(s)?String(s):s)}function ll(t,e,s,n,i){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?Ya(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=vr(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 Uh(t,e,s,n){t.addEventListener(e,s,n)}function Hh(t,e,s,n){t.removeEventListener(e,s,n)}const cl=Symbol("_vei");function Kh(t,e,s,n,i=null){const o=t[cl]||(t[cl]={}),r=o[e];if(n&&r)r.value=n;else{const[a,l]=zh(e);if(n){const u=o[e]=Xh(n,i);Uh(t,a,u,l)}else r&&(Hh(t,a,r,l),o[e]=void 0)}}const Wh=/(Once|Passive|Capture)$/,Gh=/^on:?(?:Once|Passive|Capture)$/;function zh(t){let e,s;for(;(s=t.match(Wh))&&!Gh.test(t);)e||(e={}),t=t.slice(0,t.length-s[1].length),e[s[1].toLowerCase()]=!0;return[t[2]===":"?t.slice(3):Ue(t.slice(2)),e]}let to=0;const qh=Promise.resolve(),Yh=()=>to||(qh.then(()=>to=0),to=Date.now());function Xh(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(K(i)){const o=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{o.call(n),n._stopped=!0};const r=i.slice(),a=[n];for(let l=0;l<r.length&&!n._stopped;l++){const u=r[l];u&&Wt(u,e,5,a)}}else Wt(i,e,5,[n])};return s.value=t,s.attached=Yh(),s}const ul=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Zh=(t,e,s,n,i,o)=>{const r=i==="svg";e==="class"?Fh(t,n,r):e==="style"?kh(t,s,n):un(e)?fn(e)||Kh(t,e,s,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Jh(t,e,n,r))?(ll(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&al(t,e,n,r,o,e!=="value")):t._isVueCE&&(Qh(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!ft(n)))?ll(t,Mt(e),n,o,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),al(t,e,n,r))};function Jh(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&ul(e)&&G(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 ul(e)&&ft(s)?!1:e in t}function Qh(t,e){const s=t._def.props;if(!s)return!1;const n=Mt(e);return Array.isArray(s)?s.some(i=>Mt(i)===n):Object.keys(s).some(i=>Mt(i)===n)}const tp=mt({patchProp:Zh},Eh);let fl;function ep(){return fl||(fl=lh(tp))}const dl=((...t)=>{const e=ep().createApp(...t),{mount:s}=e;return e.mount=n=>{const i=np(n);if(!i)return;const o=e._component;!G(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const r=s(i,!1,sp(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},e});function sp(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function np(t){return ft(t)?document.querySelector(t):t}const ip={class:"slds-p-around_medium slds-theme_shade slds-text-align_center slds-text-body_small slds-mt-auto"},op={class:"slds-grid slds-grid_align-spread slds-wrap"},rp={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},ap={key:0,class:"slds-text-color_weak"},lp={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},cp={class:"slds-text-color_weak"},up={class:"slds-col slds-size_1-of-1 slds-medium-size_1-of-3 slds-p-vertical_x-small"},fp={class:"slds-text-color_weak"},dp={__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)=>(j(),U("footer",ip,[g("div",op,[g("div",rp,[t.description?(j(),U("span",ap,J(t.description),1)):kt("",!0)]),g("div",lp,[g("span",cp,J(t.schemaCount)+" schema"+J(t.schemaCount!==1?"s":"")+" documented ",1)]),g("div",up,[g("span",fp," Generated at: "+J(e(t.generatedAt)),1)])])]))}},hl="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",hp={class:"slds-page-header"},pp={class:"slds-page-header__row"},mp={class:"slds-page-header__col-title"},gp={class:"slds-media"},yp={class:"slds-media__body"},vp={class:"slds-page-header__name"},bp={class:"slds-page-header__name-title"},xp=["title"],_p={__name:"HeaderLayout",props:{title:{type:String,default:"JSON Schema Documentation"}},setup(t){return(e,s)=>(j(),U("header",hp,[g("div",pp,[g("div",mp,[g("div",gp,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:hl,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",yp,[g("div",vp,[g("div",bp,[g("h1",{class:"slds-page-header__title slds-truncate",title:t.title},J(t.title),9,xp)])])])])])])]))}};function Ks(t,e){const s=typeof t=="string"&&!e?`${t}Context`:e,n=Symbol(s);return[r=>{const a=Vs(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=>(Ri(n,r),r),n]}function Sp(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 eo(t,e){t.indexOf(e)===-1&&t.push(e)}function Wn(t,e){const s=t.indexOf(e);s>-1&&t.splice(s,1)}const Jt=(t,e,s)=>s>e?e:s<t?t:s;let Gn=()=>{};const Ce={},so=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),pl=t=>typeof t=="object"&&t!==null,no=t=>/^0[^.\s]+$/u.test(t);function ml(t){let e;return()=>(e===void 0&&(e=t()),e)}const Qt=t=>t,Ws=(...t)=>t.reduce((e,s)=>n=>s(e(n))),Gs=(t,e,s)=>{const n=e-t;return n?(s-t)/n:1};class zn{constructor(){this.subscriptions=[]}add(e){return eo(this.subscriptions,e),()=>this.remove(e)}remove(e){Wn(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 te=t=>t*1e3,$t=t=>t/1e3,gl=(t,e)=>e?t*(1e3/e):0,yl=(t,e,s)=>(((1-3*s+3*e)*t+(3*s-6*e))*t+3*e)*t,Tp=1e-7,wp=12;function Pp(t,e,s,n,i){let o,r,a=0;do r=e+(s-e)/2,o=yl(r,n,i)-t,o>0?s=r:e=r;while(Math.abs(o)>Tp&&++a<wp);return r}function zs(t,e,s,n){if(t===e&&s===n)return Qt;const i=o=>Pp(o,0,1,t,s);return o=>o===0||o===1?o:yl(i(o),e,n)}const vl=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,bl=t=>e=>1-t(1-e),xl=zs(.33,1.53,.69,.99),io=bl(xl),_l=vl(io),Sl=t=>t>=1?1:(t*=2)<1?.5*io(t):.5*(2-Math.pow(2,-10*(t-1))),oo=t=>1-Math.sin(Math.acos(t)),Tl=bl(oo),wl=vl(oo),Ap=zs(.42,0,1,1),Cp=zs(0,0,.58,1),Pl=zs(.42,0,.58,1),Ep=t=>Array.isArray(t)&&typeof t[0]!="number",Al=t=>Array.isArray(t)&&typeof t[0]=="number",Vp={linear:Qt,easeIn:Ap,easeInOut:Pl,easeOut:Cp,circIn:oo,circInOut:wl,circOut:Tl,backIn:io,backInOut:_l,backOut:xl,anticipate:Sl},Mp=t=>typeof t=="string",Cl=t=>{if(Al(t)){Gn(t.length===4);const[e,s,n,i]=t;return zs(e,s,n,i)}else if(Mp(t))return Vp[t];return t},qn=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Dp(t){let e=new Set,s=new Set,n=!1,i=!1;const o=new Set;let r={delta:0,timestamp:0,isProcessing:!1};function a(u){o.has(u)&&(s.add(u),t()),u(r)}const l={schedule:(u,c=!1,f=!1)=>{const m=f&&n?e:s;return c&&o.add(u),m.add(u),u},cancel:u=>{s.delete(u),o.delete(u)},process:u=>{if(r=u,n){i=!0;return}n=!0;const c=e;e=s,s=c,e.forEach(a),e.clear(),n=!1,i&&(i=!1,l.process(u))}};return l}const Op=40;function El(t,e){let s=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>s=!0,r=qn.reduce((C,x)=>(C[x]=Dp(o),C),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:f,preRender:h,render:m,postRender:v}=r,y=()=>{const C=Ce.useManualTiming,x=C?i.timestamp:performance.now();s=!1,C||(i.delta=n?1e3/60:Math.max(Math.min(x-i.timestamp,Op),1)),i.timestamp=x,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),f.process(i),h.process(i),m.process(i),v.process(i),i.isProcessing=!1,s&&e&&(n=!1,t(y))},E=()=>{s=!0,n=!0,i.isProcessing||t(y)};return{schedule:qn.reduce((C,x)=>{const k=r[x];return C[x]=(z,P=!1,D=!1)=>(s||E(),k.schedule(z,P,D)),C},{}),cancel:C=>{for(let x=0;x<qn.length;x++)r[qn[x]].cancel(C)},state:i,steps:r}}const{schedule:it,cancel:Be,state:gt,steps:ro}=El(typeof requestAnimationFrame<"u"?requestAnimationFrame:Qt,!0);let Yn;function Rp(){Yn=void 0}const Et={now:()=>(Yn===void 0&&Et.set(gt.isProcessing||Ce.useManualTiming?gt.timestamp:performance.now()),Yn),set:t=>{Yn=t,queueMicrotask(Rp)}},fs=t=>Math.round(t*1e5)/1e5,Vl=t=>e=>typeof e=="string"&&e.startsWith(t),ao=Vl("--"),Lp=Vl("var(--"),lo=t=>Lp(t)?Fp.test(t.split("/*")[0].trim()):!1,Fp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Ml(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const ds={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},qs={...ds,transform:t=>Jt(0,1,t)},Xn={...ds,default:1},co=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Ip(t){return t==null}const jp=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,uo=(t,e)=>s=>!!(typeof s=="string"&&jp.test(s)&&s.startsWith(t)||e&&!Ip(s)&&Object.prototype.hasOwnProperty.call(s,e)),Dl=(t,e,s)=>n=>{if(typeof n!="string")return n;const[i,o,r,a]=n.match(co);return{[t]:parseFloat(i),[e]:parseFloat(o),[s]:parseFloat(r),alpha:a!==void 0?parseFloat(a):1}},Bp=t=>Jt(0,255,t),fo={...ds,transform:t=>Math.round(Bp(t))},Xe={test:uo("rgb","red"),parse:Dl("red","green","blue"),transform:({red:t,green:e,blue:s,alpha:n=1})=>"rgba("+fo.transform(t)+", "+fo.transform(e)+", "+fo.transform(s)+", "+fs(qs.transform(n))+")"};function kp(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 ho={test:uo("#"),parse:kp,transform:Xe.transform},Ys=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),Ee=Ys("deg"),fe=Ys("%"),F=Ys("px"),$p=Ys("vh"),Np=Ys("vw"),Ol={...fe,parse:t=>fe.parse(t)/100,transform:t=>fe.transform(t*100)},hs={test:uo("hsl","hue"),parse:Dl("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:s,alpha:n=1})=>"hsla("+Math.round(t)+", "+fe.transform(fs(e))+", "+fe.transform(fs(s))+", "+fs(qs.transform(n))+")"},yt={test:t=>Xe.test(t)||ho.test(t)||hs.test(t),parse:t=>Xe.test(t)?Xe.parse(t):hs.test(t)?hs.parse(t):ho.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?Xe.transform(t):hs.transform(t),getAnimatableNone:t=>{const e=yt.parse(t);return e.alpha=0,yt.transform(e)}},Up=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Rl=new RegExp(co.source),Ll=new RegExp(Up.source,"i");function Hp(t){return isNaN(t)&&typeof t=="string"&&(Rl.test(t)||Ll.test(t))}const Fl="number",Il="color",Kp="var",Wp="var(",jl="${}",Gp=/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 zp(t){const e=t.toString();return Rl.test(e)||Ll.test(e)}function Xs(t){const e=t.toString(),s=[],n={color:[],number:[],var:[]},i=[];let o=0;const a=e.replace(Gp,l=>(yt.test(l)?(n.color.push(o),i.push(Il),s.push(yt.parse(l))):l.startsWith(Wp)?(n.var.push(o),i.push(Kp),s.push(l)):(n.number.push(o),i.push(Fl),s.push(parseFloat(l))),++o,jl)).split(jl);return{values:s,split:a,indexes:n,types:i}}function qp(t){return Xs(t).values}function Bl({split:t,types:e}){const s=t.length;return n=>{let i="";for(let o=0;o<s;o++)if(i+=t[o],n[o]!==void 0){const r=e[o];r===Fl?i+=fs(n[o]):r===Il?i+=yt.transform(n[o]):i+=n[o]}return i}}function Yp(t){return Bl(Xs(t))}const Xp=t=>typeof t=="number"?0:yt.test(t)?yt.getAnimatableNone(t):t,Zp=(t,e)=>typeof t=="number"?e?.trim().endsWith("/")?t:0:Xp(t);function Jp(t){const e=Xs(t);return Bl(e)(e.values.map((n,i)=>Zp(n,e.split[i])))}const Nt={test:Hp,parse:qp,createTransformer:Yp,getAnimatableNone:Jp};function po(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 Qp({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=po(l,a,t+1/3),o=po(l,a,t),r=po(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:n}}function Zn(t,e){return s=>s>0?e:t}const ot=(t,e,s)=>t+(e-t)*s,mo=(t,e,s)=>{const n=t*t,i=s*(e*e-n)+n;return i<0?0:Math.sqrt(i)},tm=[ho,Xe,hs],em=t=>tm.find(e=>e.test(t));function kl(t){const e=em(t);if(!e)return!1;let s=e.parse(t);return e===hs&&(s=Qp(s)),s}const $l=(t,e)=>{const s=kl(t),n=kl(e);if(!s||!n)return Zn(t,e);const i={...s};return o=>(i.red=mo(s.red,n.red,o),i.green=mo(s.green,n.green,o),i.blue=mo(s.blue,n.blue,o),i.alpha=ot(s.alpha,n.alpha,o),Xe.transform(i))},go=new Set(["none","hidden"]);function sm(t,e){return go.has(t)?s=>s<=0?t:e:s=>s>=1?e:t}function nm(t,e){return s=>ot(t,e,s)}function yo(t){return typeof t=="number"?nm:typeof t=="string"?lo(t)?Zn:yt.test(t)?$l:rm:Array.isArray(t)?Nl:typeof t=="object"?yt.test(t)?$l:im:Zn}function Nl(t,e){const s=[...t],n=s.length,i=t.map((o,r)=>yo(o)(o,e[r]));return o=>{for(let r=0;r<n;r++)s[r]=i[r](o);return s}}function im(t,e){const s={...t,...e},n={};for(const i in s)t[i]!==void 0&&e[i]!==void 0&&(n[i]=yo(t[i])(t[i],e[i]));return i=>{for(const o in n)s[o]=n[o](i);return s}}function om(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 rm=(t,e)=>{const s=Nt.createTransformer(e),n=Xs(t),i=Xs(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?go.has(t)&&!i.values.length||go.has(e)&&!n.values.length?sm(t,e):Ws(Nl(om(n,i),i.values),s):Zn(t,e)},Ul=/^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;function am(t,e){const s=Ul.exec(t);if(!s)return;const n=Ul.exec(e);if(!n||s[2]!==n[2])return;const i=s[2],o=parseFloat(s[1]),r=parseFloat(n[1]);return a=>fs(ot(o,r,a))+i}function vo(t,e,s){if(typeof t=="number"&&typeof e=="number"&&typeof s=="number")return ot(t,e,s);if(typeof t=="string"&&typeof e=="string"){const i=am(t,e);if(i)return i}return yo(t)(t,e)}const lm=t=>{const e=({timestamp:s})=>t(s);return{start:(s=!0)=>it.update(e,s),stop:()=>Be(e),now:()=>gt.isProcessing?gt.timestamp:Et.now()}},Hl=(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)})`},bo=2e4;function xo(t,e=50,s=bo,n){let i=0,o=t.next(i);for(;!o.done&&i<s;)i+=e,o=t.next(i);return i>=s?1/0:i}function cm(t,e=100,s){const n=s({...t,keyframes:[0,e]}),i=Math.min(xo(n),bo);return{type:"keyframes",ease:o=>n.next(i*o).value/e,duration:$t(i)}}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};function _o(t,e){return t*Math.sqrt(1-e*e)}const um=12;function fm(t,e,s){let n=s;for(let i=1;i<um;i++)n=n-t(n)/e(n);return n}const So=.001;function dm({duration:t=ht.duration,bounce:e=ht.bounce,velocity:s=ht.velocity,mass:n=ht.mass}){let i,o,r=1-e;r=Jt(ht.minDamping,ht.maxDamping,r),t=Jt(ht.minDuration,ht.maxDuration,$t(t)),r<1?(i=u=>{const c=u*r,f=c*t,h=c-s,m=_o(u,r),v=Math.exp(-f);return So-h/m*v},o=u=>{const f=u*r*t,h=f*s+s,m=r*r*u*u*t,v=Math.exp(-f),y=_o(u*u,r);return(-i(u)+So>0?-1:1)*((h-m)*v)/y}):(i=u=>{const c=Math.exp(-u*t),f=(u-s)*t+1;return-So+c*f},o=u=>{const c=Math.exp(-u*t),f=(s-u)*(t*t);return c*f});const a=5/t,l=fm(i,o,a);if(t=te(t),isNaN(l))return{stiffness:ht.stiffness,damping:ht.damping,duration:t};{const u=l*l*n;return{stiffness:u,damping:r*2*Math.sqrt(n*u),duration:t}}}const Kl=["duration","bounce"],Wl=["stiffness","damping","mass"];function Jn(t,e){return e.some(s=>t[s]!==void 0)}function hm(t){let e={velocity:ht.velocity,stiffness:ht.stiffness,damping:ht.damping,mass:ht.mass,isResolvedFromDuration:!1,...t};if(!Jn(t,Wl)&&Jn(t,Kl))if(e.velocity=0,t.visualDuration){const s=t.visualDuration,n=2*Math.PI/(s*1.2),i=n*n,o=2*Jt(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:ht.mass,stiffness:i,damping:o}}else{const s=dm({...t,velocity:0});e={...e,...s,mass:ht.mass},e.isResolvedFromDuration=!0}return e}function Qn(t=ht.visualDuration,e=ht.bounce){const s=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t,n=s.keyframes[0],i=s.keyframes[s.keyframes.length-1],o={done:!1,value:n},{stiffness:r,damping:a,mass:l,duration:u,velocity:c,isResolvedFromDuration:f}=hm({...s,velocity:-$t(s.velocity||0)}),h=a/(2*Math.sqrt(r*l)),m=$t(Math.sqrt(r/l)),v=h*m,y={target:i,delta:i-n,velocity:c||0,restSpeed:0,restDelta:0},E=()=>{const P=Math.abs(y.delta)<5;y.restSpeed=s.restSpeed||(P?ht.restSpeed.granular:ht.restSpeed.default),y.restDelta=s.restDelta||(P?ht.restDelta.granular:ht.restDelta.default)};E();let M,A,C;if(h<1){const P=_o(m,h),D={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};C=()=>{D.A=(y.velocity+v*y.delta)/P,D.sinC=v*D.A+y.delta*P,D.cosC=v*y.delta-D.A*P};const B=$=>{$!==D.t&&(D.t=$,D.env=Math.exp(-v*$),D.sin=Math.sin(P*$),D.cos=Math.cos(P*$))};M=$=>(B($),y.target-D.env*(D.A*D.sin+y.delta*D.cos)),A=$=>(B($),D.env*(D.sinC*D.sin+D.cosC*D.cos))}else if(h===1){M=D=>y.target-Math.exp(-m*D)*(y.delta+(y.velocity+m*y.delta)*D);const P={C:0};C=()=>{P.C=y.velocity+m*y.delta},A=D=>Math.exp(-m*D)*(m*P.C*D-y.velocity)}else{const P=m*Math.sqrt(h*h-1);M=B=>{const $=Math.exp(-v*B),q=Math.min(P*B,300);return y.target-$*((y.velocity+v*y.delta)*Math.sinh(q)+P*y.delta*Math.cosh(q))/P};const D={P:0,sinh:0,cosh:0};C=()=>{D.P=(y.velocity+v*y.delta)/P,D.sinh=v*D.P-y.delta*P,D.cosh=v*y.delta-D.P*P},A=B=>{const $=Math.exp(-v*B),q=Math.min(P*B,300);return $*(D.sinh*Math.sinh(q)+D.cosh*Math.cosh(q))}}C();const x=!Jn(s,Wl)&&Jn(s,Kl),k=f&&u||null,z={calculatedDuration:k,retarget:(P,D)=>{y.target=P[P.length-1],y.delta=y.target-P[0],y.velocity=x?0:-$t(D),s.restSpeed&&s.restDelta||E(),z.calculatedDuration=k,o.done=!1,C()},velocity:P=>te(A(P)),next:P=>{const D=M(P);if(f)o.done=P>=u;else{const B=te(A(P));o.done=Math.abs(B)<=y.restSpeed&&Math.abs(y.target-D)<=y.restDelta}return o.value=o.done?y.target:D,o},toString:()=>{const P=Math.min(xo(z),bo),D=Hl(B=>z.next(P*B).value,P,30);return P+"ms "+D},toTransition:()=>{}};return z}Qn.applyToOptions=t=>{const e=cm(t,100,Qn);return t.ease=e.ease,t.duration=te(e.duration),t.type="keyframes",t};function To({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],h={done:!1,value:f},m=P=>P<a||P>l,v=P=>a===void 0?l:l===void 0||Math.abs(a-P)<Math.abs(l-P)?a:l;let y=s*e;const E=f+y,M=r===void 0?E:r(E);M!==E&&(y=M-f);const A=P=>-y*Math.exp(-P/n),C=P=>{const D=A(P);h.done=Math.abs(D)<=u,h.value=h.done?M:M+D};let x,k;const z=P=>{m(h.value)&&(x=P,k=Qn({keyframes:[h.value,v(h.value)],velocity:-A(P)/n*1e3,damping:i,stiffness:o,restDelta:u,restSpeed:c}))};return z(0),{calculatedDuration:null,next:P=>{let D=!1;return!k&&x===void 0&&(D=!0,C(P),z(P)),x!==void 0&&P>=x?k.next(P-x):(!D&&C(P),h)}}}function pm(t,e,s){const n=[],i=s||Ce.mix||vo,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]||Qt:e;a=Ws(l,a)}n.push(a)}return n}function mm(t,e,{clamp:s=!0,ease:n,mixer:i}={}){const o=t.length;if(Gn(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=pm(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 h=Gs(t[f],t[f+1],c);return a[f](h)};return s?c=>u(Jt(t[0],t[o-1],c)):u}function gm(t,e){const s=t[t.length-1];for(let n=1;n<=e;n++){const i=Gs(0,e,n);t.push(ot(s,1,i))}}function ym(t){const e=[0];return gm(e,t.length-1),e}function vm(t,e){return t.map(s=>s*e)}function bm(t,e){return t.map(()=>e||Pl).splice(0,t.length-1)}function Zs({duration:t=300,keyframes:e,times:s,ease:n="easeInOut"}){const i=Ep(n)?n.map(Cl):Cl(n),o={done:!1,value:e[0]};if(e.length===2&&!Array.isArray(i)&&(!s||s.length!==2||s[0]===0&&s[1]===1)){const[l,u]=e,c=l===u?void 0:(Ce.mix||vo)(l,u);return{calculatedDuration:t,next:f=>(o.value=c?c(i(t>0?Jt(0,1,f/t):1)):u,o.done=f>=t,o)}}const r=vm(s&&s.length===e.length?s:ym(e),t),a=mm(r,e,{ease:Array.isArray(i)?i:bm(e,i)});return{calculatedDuration:t,next:l=>(o.value=a(l),o.done=l>=t,o)}}const xm=5;function _m(t,e,s){const n=Math.max(e-xm,0);return gl(s-t(n),e-n)}function Sm(t,e,s=0){return e<=0?s:t.velocity?t.velocity(e):_m(n=>t.next(n).value,e,t.next(e).value)}const Tm=t=>t!==null;function ti(t,{repeat:e,repeatType:s="loop"},n,i=1){const o=t.filter(Tm),a=i<0||e&&s!=="loop"&&e%2===1?0:o.length-1;return!a||n===void 0?o[a]:n}const wm={decay:To,inertia:To,tween:Zs,keyframes:Zs,spring:Qn};function Gl(t){typeof t.type=="string"&&(t.type=wm[t.type])}function zl(t,e){return{kind:t,animation:e,timestamp:Et.now(),frameTimestamp:gt.timestamp,frameIsProcessing:gt.isProcessing}}function ql(t,e,s){const n=globalThis.__MOTION_INSPECT__;if(n)try{n({...zl("animation-start",t),options:s?{...e,...s}:e})}catch{}}function Pm(t,e){const s=globalThis.__MOTION_INSPECT__;if(s)try{s({...zl("layout-animation-start",t),node:e})}catch{}}class wo{constructor(){this.isResolved=!1}get finished(){return this._finished||(this._finished=this.isResolved?Promise.resolve():new Promise(e=>{this._resolve=e})),this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(e,s){return this.finished.then(e,s)}}const Am=t=>t/100;class ei extends wo{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==Et.now()&&this.tick(Et.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause(),ql(this,this.options)}initAnimation(){const{options:e}=this;Gl(e);const{type:s=Zs,repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=e;let{keyframes:a}=e;const l=s||Zs;l!==Zs&&typeof a[0]!="number"&&(this.mixKeyframes=Ws(Am,vo(a[0],a[1])),a=[0,100]);const u=l(a===e.keyframes?e:{...e,keyframes:a});o==="mirror"&&(this.mirroredGenerator=l({...e,keyframes:[...a].reverse(),velocity:-r})),u.calculatedDuration===null&&(u.calculatedDuration=xo(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:h,repeatDelay:m,type:v,onUpdate:y,finalKeyframe:E}=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 M=this.currentTime-u*(this.playbackSpeed>=0?1:-1),A=this.playbackSpeed>=0?M<0:M>i;this.currentTime=Math.max(M,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let C=this.currentTime,x=n;if(f){const D=Math.min(this.currentTime,i)/a;let B=Math.floor(D),$=D%1;!$&&D>=1&&($=1),$===1&&B--,B=Math.min(B,f+1),B%2&&(h==="reverse"?($=1-$,m&&($-=m/a)):h==="mirror"&&(x=r)),C=Jt(0,1,$)*a}let k;A?(this.delayState.value=c[0],k=this.delayState):k=x.next(C),o&&!A&&(k.value=o(k.value));let{done:z}=k;!A&&l!==null&&(z=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&z);return P&&v!==To&&(k.value=ti(c,this.options,E,this.speed)),y&&y(k.value),P&&this.finish(),k}then(e,s){return this.finished.then(e,s)}get duration(){return $t(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+$t(e)}get time(){return $t(this.currentTime)}set time(e){e=te(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?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){return Sm(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(e){const s=this.playbackSpeed!==e;s&&this.driver&&this.updateTime(Et.now()),this.playbackSpeed=e,s&&this.driver&&(this.time=$t(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=lm,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(Et.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)}}const Cm=new Set(["brightness","contrast","saturate","opacity"]);function Em(t){const[e,s]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[n]=s.match(co)||[];if(!n)return t;const i=s.replace(n,"");let o=Cm.has(e)?1:0;return n!==s&&(o*=100),e+"("+o+i+")"}const Vm=/\b([a-z-]*)\(.*?\)/gu,Po={...Nt,getAnimatableNone:t=>{const e=t.match(Vm);return e?e.map(Em).join(" "):t}},Ao={...Nt,getAnimatableNone:t=>{const e=Nt.parse(t);return Nt.createTransformer(t)(e.map(n=>typeof n=="number"?0:typeof n=="object"?{...n,alpha:1}:n))}},Yl={...ds,transform:Math.round},si={borderWidth:F,borderTopWidth:F,borderRightWidth:F,borderBottomWidth:F,borderLeftWidth:F,borderRadius:F,borderTopLeftRadius:F,borderTopRightRadius:F,borderBottomRightRadius:F,borderBottomLeftRadius:F,width:F,maxWidth:F,height:F,maxHeight:F,top:F,right:F,bottom:F,left:F,inset:F,insetBlock:F,insetBlockStart:F,insetBlockEnd:F,insetInline:F,insetInlineStart:F,insetInlineEnd:F,padding:F,paddingTop:F,paddingRight:F,paddingBottom:F,paddingLeft:F,paddingBlock:F,paddingBlockStart:F,paddingBlockEnd:F,paddingInline:F,paddingInlineStart:F,paddingInlineEnd:F,margin:F,marginTop:F,marginRight:F,marginBottom:F,marginLeft:F,marginBlock:F,marginBlockStart:F,marginBlockEnd:F,marginInline:F,marginInlineStart:F,marginInlineEnd:F,fontSize:F,backgroundPositionX:F,backgroundPositionY:F,...{rotate:Ee,pathRotation:Ee,rotateX:Ee,rotateY:Ee,rotateZ:Ee,scale:Xn,scaleX:Xn,scaleY:Xn,scaleZ:Xn,skew:Ee,skewX:Ee,skewY:Ee,distance:F,translateX:F,translateY:F,translateZ:F,x:F,y:F,z:F,perspective:F,transformPerspective:F,opacity:qs,originX:Ol,originY:Ol,originZ:F},zIndex:Yl,fillOpacity:qs,strokeOpacity:qs,numOctaves:Yl},Mm={...si,color:yt,backgroundColor:yt,outlineColor:yt,fill:yt,stroke:yt,borderColor:yt,borderTopColor:yt,borderRightColor:yt,borderBottomColor:yt,borderLeftColor:yt,filter:Po,WebkitFilter:Po,mask:Ao,WebkitMask:Ao},Xl=t=>Mm[t],Dm=new Set([Po,Ao]);function Co(t,e){let s=Xl(t);return Dm.has(s)||(s=Nt),s.getAnimatableNone?s.getAnimatableNone(e):void 0}function Om(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const Ze=t=>t*180/Math.PI,Eo=t=>{const e=Ze(Math.atan2(t[1],t[0]));return Vo(e)},Rm={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Eo,rotateZ:Eo,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},Vo=t=>(t=t%360,t<0&&(t+=360),t),Zl=Eo,Jl=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),Ql=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),Lm={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Jl,scaleY:Ql,scale:t=>(Jl(t)+Ql(t))/2,rotateX:t=>Vo(Ze(Math.atan2(t[6],t[5]))),rotateY:t=>Vo(Ze(Math.atan2(-t[2],t[0]))),rotateZ:Zl,rotate:Zl,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 Mo(t){return t.includes("scale")?1:0}function Do(t,e){if(!t||t==="none")return Mo(e);const s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,i;if(s)n=Lm,i=s;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=Rm,i=a}if(!i)return Mo(e);const o=n[e],r=i[1].split(",").map(Im);return typeof o=="function"?o(r):r[o]}const Fm=(t,e)=>{const{transform:s="none"}=getComputedStyle(t);return Do(s,e)};function Im(t){return parseFloat(t.trim())}const ps=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],ms=new Set([...ps,"pathRotation"]),tc=t=>t===ds||t===F,jm=new Set(["x","y","z"]),Bm=ps.filter(t=>!jm.has(t));function km(t){const e=[];return Bm.forEach(s=>{const n=t.getValue(s);if(n!==void 0){const i=n.get(),o=s.startsWith("scale")?1:0;if(i===o)return;e.push([s,i]),n.set(o)}}),e}const $m=new Set(["bottom","right"]);function ec(t,e,s,n,i,o){const r=parseFloat(t);if(!isNaN(r))return r;const{min:a,max:l}=e()[s],u=l-a;return o==="border-box"?u:u-parseFloat(n)-parseFloat(i)}const Je={width:({width:t,paddingLeft:e="0",paddingRight:s="0",boxSizing:n},i)=>ec(t,i,"x",e,s,n),height:({height:t,paddingTop:e="0",paddingBottom:s="0",boxSizing:n},i)=>ec(t,i,"y",e,s,n),top:({top:t})=>parseFloat(t),left:({left:t})=>parseFloat(t),bottom:({top:t},e)=>{const{y:s}=e();return parseFloat(t)+(s.max-s.min)},right:({left:t},e)=>{const{x:s}=e();return parseFloat(t)+(s.max-s.min)},x:({transform:t})=>Do(t,"x"),y:({transform:t})=>Do(t,"y")};Je.translateX=Je.x,Je.translateY=Je.y;const Qe=new Set;let Oo=!1,Ro=!1,Lo=!1;function sc(){if(Ro){const t=[],e=new Set,s=new Set;Qe.forEach(i=>{i.needsMeasurement&&(t.push(i),e.add(i.element),$m.has(i.name)&&s.add(i.element))});const n=new Map;s.forEach(i=>{const o=km(i);o.length&&(n.set(i,o),i.render())}),t.forEach(i=>i.measureInitialState()),e.forEach(i=>{i.render();const o=n.get(i);o&&o.forEach(([r,a])=>{i.getValue(r)?.set(a)})}),t.forEach(i=>i.measureEndState()),t.forEach(i=>{i.suspendedScrollY!==void 0&&window.scrollTo(0,i.suspendedScrollY)})}Ro=!1,Oo=!1,Qe.forEach(t=>t.complete(Lo)),Qe.clear()}function nc(){Qe.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Ro=!0)})}function Nm(){Lo=!0,nc(),sc(),Lo=!1}function Um(t,e,s){if(typeof t=="string"){if(so(t)||no(t))return parseFloat(t);if(!Nt.test(t)&&Nt.test(s))return Co(e,s)}return t??void 0}class Fo{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),Oo||(Oo=!0,it.read(nc),it.resolveKeyframes(sc))):(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=Um(n.readValue(s,r),s,r);a!==void 0&&(e[0]=a)}e[0]===void 0&&(e[0]=r),i&&o===void 0&&i.set(e[0])}Om(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 Hm=t=>t.startsWith("--");function ic(t,e,s){Hm(e)?t.style.setProperty(e,s):t.style[e]=s}const Km={};function oc(t,e){const s=ml(t);return()=>Km[e]??s()}const Wm=oc(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),rc=oc(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Js=([t,e,s,n])=>`cubic-bezier(${t}, ${e}, ${s}, ${n})`,ac={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Js([0,.65,.55,1]),circOut:Js([.55,0,1,.45]),backIn:Js([.31,.01,.66,-.59]),backOut:Js([.33,1.53,.69,.99])};function lc(t,e){if(t)return typeof t=="function"?rc()?Hl(t,e):"ease-out":Al(t)?Js(t):Array.isArray(t)?t.map(s=>lc(s,e)||ac.easeOut):ac[t]}function Gm(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=lc(a,i);Array.isArray(f)&&(c.easing=f);const h={delay:n,duration:i,easing:Array.isArray(f)?"linear":f,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"};return u&&(h.pseudoElement=u),t.animate(c,h)}function cc(t){return typeof t=="function"&&"applyToOptions"in t}function zm({type:t,...e}){return cc(t)&&rc()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class uc extends wo{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,Gn(typeof e.type!="string");const u=zm(e);this.animation=Gm(s,n,i,u,o),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=ti(i,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(c),ic(s,n,c),this.animation.cancel()}l?.(),this.notifyFinished()},ql(this,e,u)}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 $t(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+$t(e)}get time(){return $t(Number(this.animation.currentTime)||0)}set time(e){const s=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=te(e),s&&this.animation.pause()}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,rangeStart:s,rangeEnd:n,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Wm()?(this.animation.timeline=e,s&&(this.animation.rangeStart=s),n&&(this.animation.rangeEnd=n),Qt):i(this)}}const fc={anticipate:Sl,backInOut:_l,circInOut:wl};function qm(t){return t in fc}function Ym(t){typeof t.ease=="string"&&qm(t.ease)&&(t.ease=fc[t.ease])}const Io=10;class Xm extends uc{constructor(e){Ym(e),Gl(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(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 ei({...r,autoplay:!1}),l=Math.max(Io,Et.now()-this.startTime),u=Jt(0,Io,l-Io),c=a.sample(l).value,{name:f}=this.options;o&&f&&ic(o,f,c),s.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}}const dc=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Nt.test(t)||t==="0")&&!t.startsWith("url("));function Zm(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 Jm(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=dc(i,e),a=dc(o,e);return!r||!a?!1:Zm(t)||(s==="spring"||cc(s))&&n}function jo(t){t.duration=0,t.type="keyframes"}const Bo=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Qm=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function tg(t){for(let e=0;e<t.length;e++)if(typeof t[e]=="string"&&Qm.test(t[e]))return!0;return!1}const hc=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),eg=ml(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function sg(t){const{motionValue:e,name:s,repeatDelay:n,repeatType:i,damping:o,type:r,keyframes:a}=t;if(!s||!(Bo.has(s)||hc.has(s)))return!1;const l=e?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;const{onUpdate:u,transformTemplate:c}=e.owner.getProps();return eg()&&(Bo.has(s)||hc.has(s)&&tg(a))&&(s!=="transform"||!c)&&!u&&!n&&i!=="mirror"&&o!==0&&r!=="inertia"}const ng=40;class ig extends wo{constructor(e){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Et.now();const{keyframes:s,name:n,motionValue:i,element:o}=e,r=e;r.autoplay??(r.autoplay=!0),r.delay??(r.delay=0),r.type??(r.type="keyframes"),r.repeat??(r.repeat=0),r.repeatDelay??(r.repeatDelay=0),r.repeatType??(r.repeatType="loop");const a=o?.KeyframeResolver||Fo;this.keyframeResolver=new a(s,(l,u,c)=>this.onKeyframesResolved(l,u,r,!c),n,i,o),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=Et.now();let f=!0;Jm(e,o,r,a)||(f=!1,(Ce.instantAnimations||!l)&&c?.(ti(e,n,s)),e[0]=e[e.length-1],jo(n),n.repeat=0);const h=i?this.resolvedAt?this.resolvedAt-this.createdAt>ng?this.resolvedAt:this.createdAt:this.createdAt:void 0,{onComplete:m}=n;n.startTime??(n.startTime=h),n.finalKeyframe=s,n.keyframes=e,n.onComplete=()=>{m?.(),this.notifyFinished()};const v=f&&!u&&sg(n);let y;if(v){n.element=n.motionValue?.owner?.current;try{y=new Xm(n)}catch{y=new ei(n)}}else y=new ei(n);this.pendingTimeline&&(this.stopTimeline=y.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=y}get finished(){return this._animation?this._animation.finished:super.finished}then(e,s){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Nm()),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 pc(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 mc=30,og=t=>!isNaN(parseFloat(t));class rg{constructor(e,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{const i=Et.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&(this.notifyChange(),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=Et.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=og(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,s){var n;return e==="change"?this.onChangeSubscribe(s):((n=this.events)[e]||(n[e]=new zn)).add(s)}onChangeSubscribe(e){const{events:s}=this;return!s.change&&!this.changeSubscriber?this.changeSubscriber=e:(s.change||(s.change=new zn,s.change.add(this.changeSubscriber),this.changeSubscriber=void 0),s.change.add(e)),()=>{this.changeSubscriber===e?this.changeSubscriber=void 0:s.change?.remove(e),this.stopIfUnobserved()}}stopIfUnobserved(){it.read(()=>{!this.changeSubscriber&&!this.events.change?.getSize()&&this.stop()})}clearListeners(){this.changeSubscriber=void 0;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.notifyChange()}notifyChange(){const{current:e,changeSubscriber:s}=this;s?s(e):this.events.change?.notify(e)}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=Et.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>mc)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,mc);return gl(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(e){return this.stop(),new Promise(s=>{this.hasAnimated=!0;let n=!1,i;i=e(()=>{n=!0,this.events.animationComplete?.notify(),this.animation===i&&this.clearAnimation(),s()}),n||(this.animation=i),this.events.animationStart?.notify()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=void 0}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function gs(t,e){return new rg(t,e)}function gc(t,e){if(t?.inherit&&e){const{inherit:s,...n}=t;return{...e,...n}}return t}function ko(t,e){const s=t?.[e]??t?.default??t;return s!==t?gc(s,t):s}const ag={type:"spring",stiffness:500,damping:25,restSpeed:10},lg=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),cg={type:"keyframes",duration:.8},ug={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},fg=(t,{keyframes:e})=>e.length>2?cg:ms.has(t)?t.startsWith("scale")?lg(e[1]):ag:ug,dg=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function hg(t){for(const e in t)if(!dg.has(e))return!0;return!1}const $o=(t,e,s,n={},i,o)=>r=>{const a=ko(n,t)||{},l=a.delay||n.delay||0;let{elapsed:u=0}=n;u=u-te(l);const c={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:h=>{e.set(h),a.onUpdate&&a.onUpdate(h)},onComplete:()=>{r(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:o?void 0:i};hg(a)||Object.assign(c,fg(t,c)),c.duration&&(c.duration=te(c.duration)),c.repeatDelay&&(c.repeatDelay=te(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let f=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(jo(c),c.delay===0&&(f=!0)),(Ce.instantAnimations||Ce.skipAnimations||i?.shouldSkipAnimations||a.skipAnimations)&&(f=!0,jo(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,f&&!o&&e.get()!==void 0){const h=ti(c.keyframes,a);if(h!==void 0){it.update(()=>{c.onUpdate(h),c.onComplete()});return}}return a.isSync?new ei(c):new ig(c)},pg=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function mg(t){const e=pg.exec(t);if(!e)return[,];const[,s,n,i]=e;return[`--${s??n}`,i]}function yc(t,e,s=1){const[n,i]=mg(t);if(!n)return;const o=window.getComputedStyle(e).getPropertyValue(n);if(o){const r=o.trim();return so(r)?parseFloat(r):r}return lo(i)?yc(i,e,s+1):i}function vc(t){const e=[{},{}];return t?.values.forEach((s,n)=>{e[0][n]=s.get(),e[1][n]=s.getVelocity()}),e}function bc(t,e,s,n){if(typeof e=="function"){const[i,o]=vc(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]=vc(n);e=e(s!==void 0?s:t.custom,i,o)}return e}function ys(t,e,s){const n=t.getProps();return bc(n,e,s!==void 0?s:n.custom,t)}const xc=new Set(["width","height","top","left","right","bottom",...ps]),gg=t=>Array.isArray(t);function yg(t,e,s){t.hasValue(e)?t.getValue(e).set(s):t.addValue(e,gs(s))}function vg(t){return gg(t)?t[t.length-1]||0:t}function bg(t,e){const s=ys(t,e);let{transitionEnd:n={},transition:i={},...o}=s||{};o={...o,...n};for(const r in o){const a=vg(o[r]);yg(t,r,a)}}const Vt=t=>!!(t&&t.getVelocity);function xg(t){return!!(Vt(t)&&t.add)}function No(t,e){const s=t.getValue("willChange");if(xg(s))return s.add(e);if(!s&&Ce.WillChange){const n=new Ce.WillChange("auto");t.addValue("willChange",n),n.add(e)}}function Uo(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const _g="data-"+Uo("framerAppearId");function _c(t){return t.props[_g]}const Sg=typeof window<"u";function Tg({protectedKeys:t,needsAnimating:e},s){const n=t.hasOwnProperty(s)&&e[s]!==!0;return e[s]=!1,n}function Sc(t,e,{delay:s=0,transitionOverride:n,type:i}={}){let{transition:o,transitionEnd:r,...a}=e;const l=t.getDefaultTransition();o=o?gc(o,l):l;const u=o?.reduceMotion,c=o?.skipAnimations;n&&(o=n);const f=[],h=i&&t.animationState&&t.animationState.getState()[i],m=o?.path;m&&m.animateVisualElement(t,a,o,s,f);for(const v in a){const y=t.getValue(v,t.latestValues[v]??null),E=a[v];if(E===void 0||h&&Tg(h,v))continue;const M={delay:s,...ko(o||{},v)};c&&(M.skipAnimations=!0);const A=y.get();if(A!==void 0&&!y.isAnimating()&&!Array.isArray(E)&&E===A&&!M.velocity){it.update(()=>y.set(E));continue}let C=!1;if(Sg&&window.MotionHandoffAnimation){const z=_c(t);if(z){const P=window.MotionHandoffAnimation(z,v,it);P!==null&&(M.startTime=P,C=!0)}}No(t,v);const x=u??t.shouldReduceMotion;y.start($o(v,y,E,x&&xc.has(v)?{type:!1}:M,t,C));const k=y.animation;k&&f.push(k)}if(r){const v=()=>it.update(()=>{r&&bg(t,r)});f.length?Promise.all(f).then(v):v()}return f}function Ho(t,e,s={}){const n=ys(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(Sc(t,n,s)):()=>Promise.resolve(),r=t.variantChildren&&t.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:c,staggerDirection:f}=i;return wg(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 wg(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(Ho(l,e,{...r,delay:s+(typeof n=="function"?0:n)+pc(t.variantChildren,l,n,i,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}function Pg(t,e,s={}){t.notify("AnimationStart",e);let n;if(Array.isArray(e)){const i=e.map(o=>Ho(t,o,s));n=Promise.all(i)}else if(typeof e=="string")n=Ho(t,e,s);else{const i=typeof e=="function"?ys(t,e,s.custom):e;n=Promise.all(Sc(t,i,s))}return n.then(()=>{t.notify("AnimationComplete",e)})}const Ag={test:t=>t==="auto",parse:t=>t},Cg=t=>e=>e.test(t),Eg=[ds,F,fe,Ee,Np,$p,Ag],Tc=t=>Eg.find(Cg(t));function Vg(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||no(t):!0}const Mg=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"&&!Mg.has(o)&&zp(o)&&(i=t[n]),n++}if(i&&s)for(const o of e)t[o]!==i&&(t[o]=Co(s,i))}class Og extends Fo{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(),lo(f))){const h=yc(f,s.current);h!==void 0&&(e[c]=h),c===e.length-1&&(this.finalKeyframe=f)}}if(this.resolveNoneKeyframes(),!xc.has(n)||e.length!==2)return;const[i,o]=e;if(typeof i=="number"&&typeof o=="number")return;const r=Tc(i),a=Tc(o),l=Ml(i),u=Ml(o);if(l!==u&&Je[n]){this.needsMeasurement=!0;return}if(r!==a)if(tc(r)&&tc(a))for(let c=0;c<e.length;c++){const f=e[c];typeof f=="string"&&(e[c]=parseFloat(f))}else Je[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:s}=this,n=[];for(let i=0;i<e.length;i++)(e[i]===null||Vg(e[i]))&&n.push(i);n.length&&Dg(e,n,s)}measure(){const{element:e,name:s}=this;return Je[s](window.getComputedStyle(e.current),()=>e.measureViewportBox())}measureInitialState(){const{element:e,unresolvedKeyframes:s,name:n}=this;if(!e||!e.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=this.measure(),s[0]=this.measuredOrigin;const i=s[s.length-1];i!==void 0&&this.motionValue?.jump(i,!1)}measureEndState(){const{element:e,unresolvedKeyframes:s}=this;if(!e||!e.current)return;this.motionValue?.jump(this.measuredOrigin,!1);const n=s.length-1,i=s[n];s[n]=this.measure(),i!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=i),this.removedTransforms?.length&&this.removedTransforms.forEach(([o,r])=>{e.getValue(o).set(r)}),this.resolveNoneKeyframes()}}const Ko=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function Rg(t){return pl(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}function wc(t){return pl(t)&&"ownerSVGElement"in t}const Wo=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function Pc(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 Lg={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Fg=ps.length;function Ig(t,e,s){let n="",i=!0;for(let r=0;r<Fg;r++){const a=ps[r],l=t[a];if(l===void 0)continue;let u=!0;if(typeof l=="number")u=l===(a.startsWith("scale")?1:0);else{const c=parseFloat(l);u=a.startsWith("scale")?c===1:c===0}if(!u||s){const c=Wo(l,si[a]);if(!u){i=!1;const f=Lg[a]||a;n+=`${f}(${c}) `}s&&(e[a]=c)}}const o=t.pathRotation;return o&&(i=!1,n+=`rotate(${Wo(o,si.pathRotation)}) `),n=n.trim(),s?n=s(e,i?"":n):i&&(n="none"),n}function Go(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(ms.has(l)){r=!0;continue}else if(ao(l)){i[l]=u;continue}else{const c=Wo(u,si[l]);l.startsWith("origin")?(a=!0,o[l]=c):n[l]=c}}if(e.transform||(r||s?n.transform=Ig(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}`}}const jg={offset:"stroke-dashoffset",array:"stroke-dasharray"},Bg={offset:"strokeDashoffset",array:"strokeDasharray"};function kg(t,e,s=1,n=0,i=!0){t.pathLength=1;const o=i?jg:Bg;t[o.offset]=`${-n}`,t[o.array]=`${e} ${s}`}const Ac=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Cc(t,{attrX:e,attrY:s,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:r=0,...a},l,u,c){if(Go(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:f,style:h}=t;for(const m of Ac)f[m]!==void 0&&(h[m]=f[m],delete f[m]);(h.transform||f.transformOrigin)&&(h.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),h.transform&&(h.transformBox=c?.transformBox??"fill-box",delete f.transformBox),e!==void 0&&(f.x=e),s!==void 0&&(f.y=s),n!==void 0&&(f.scale=n),i!==void 0&&kg(f,i,o,r,!1)}function Ec({top:t,left:e,right:s,bottom:n}){return{x:{min:e,max:s},y:{min:t,max:n}}}function $g({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function Ng(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 zo(t){return t===void 0||t===1}function qo({scale:t,scaleX:e,scaleY:s}){return!zo(t)||!zo(e)||!zo(s)}function ts(t){return qo(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 ni(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=ni(t,i,n)),ni(t,s,n)+e}function Yo(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}){Yo(t.x,e.translate,e.scale,e.originPoint),Yo(t.y,s.translate,s.scale,s.originPoint)}const Rc=.999999999999,Lc=1.0000000000001;function Ug(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&&(de(t.x,-o.scroll.offset.x),de(t.y,-o.scroll.offset.y)),r&&(e.x*=r.x.scale,e.y*=r.y.scale,Oc(t,r)),n&&ts(o.latestValues)&&ii(t,o.latestValues,o.layout?.layoutBox))}e.x<Lc&&e.x>Rc&&(e.x=1),e.y<Lc&&e.y>Rc&&(e.y=1)}function de(t,e){t.min+=e,t.max+=e}function Fc(t,e,s,n,i=.5){const o=ot(t.min,t.max,i);Yo(t,e,s,o,n)}function Ic(t,e){return typeof t=="string"?parseFloat(t)/100*(e.max-e.min):t}function ii(t,e,s){const n=s??t;Fc(t.x,Ic(e.x,n.x),e.scaleX,e.scale,e.originX),Fc(t.y,Ic(e.y,n.y),e.scaleY,e.scale,e.originY)}function jc(t,e){return Ec(Ng(t.getBoundingClientRect(),e))}function Hg(t,e,s){const n=jc(t,s),{scroll:i}=e;return i&&(de(n.x,i.offset.x),de(n.y,i.offset.y)),n}const{schedule:Bc}=El(queueMicrotask,!1),Kg={y:!1};function Wg(){return Kg.y}function kc(t,e){const s=Pc(t),n=new AbortController,i={passive:!0,...e,signal:n.signal};return[s,i,()=>n.abort()]}function Gg(t){return!(t.pointerType==="touch"||Wg())}function zg(t,e,s={}){const[n,i,o]=kc(t,s);return n.forEach(r=>{let a=!1,l=!1,u;const c=()=>{r.removeEventListener("pointerleave",v)},f=E=>{u&&(u(E),u=void 0),c()},h=E=>{a=!1,window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",h),l&&(l=!1,f(E))},m=()=>{a=!0,window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",h,i)},v=E=>{if(E.pointerType!=="touch"){if(a){l=!0;return}f(E)}},y=E=>{if(!Gg(E))return;l=!1;const M=e(r,E);typeof M=="function"&&(u=M,r.addEventListener("pointerleave",v,i))};r.addEventListener("pointerenter",y,i),r.addEventListener("pointerdown",m,i)}),o}const $c=(t,e)=>e?t===e?!0:$c(t,e.parentElement):!1,qg=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,Yg=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Xg(t){return Yg.has(t.tagName)||t.isContentEditable===!0}const oi=new WeakSet;function Nc(t){return e=>{e.key==="Enter"&&t(e)}}function Xo(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Zg=(t,e)=>{const s=t.currentTarget;if(!s)return;const n=Nc(()=>{if(oi.has(s))return;Xo(s,"down");const i=Nc(()=>{Xo(s,"up")}),o=()=>Xo(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 Uc(t){return qg(t)&&!0}const Hc=new WeakSet;function Jg(t,e,s={}){const[n,i,o]=kc(t,s),r=a=>{const l=a.currentTarget;if(!Uc(a)||Hc.has(a))return;oi.add(l),s.stopPropagation&&Hc.add(a);const u=e(l,a),c={...i,capture:!0},f=(v,y)=>{window.removeEventListener("pointerup",h,c),window.removeEventListener("pointercancel",m,c),oi.has(l)&&oi.delete(l),Uc(v)&&typeof u=="function"&&u(v,{success:y})},h=v=>{f(v,l===window||l===document||s.useGlobalTarget||$c(l,v.target))},m=v=>{f(v,!1)};window.addEventListener("pointerup",h,c),window.addEventListener("pointercancel",m,c)};return n.forEach(a=>{(s.useGlobalTarget?window:a).addEventListener("pointerdown",r,i),Rg(a)&&(a.addEventListener("focus",u=>Zg(u,i)),!Xg(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),o}function Qg(t){return wc(t)&&t.tagName==="svg"}const Kc=()=>({translate:0,scale:1,origin:0,originPoint:0}),vs=()=>({x:Kc(),y:Kc()}),Wc=()=>({min:0,max:0}),vt=()=>({x:Wc(),y:Wc()}),ty=new WeakMap;function Zo(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function ri(t){return typeof t=="string"||Array.isArray(t)}const Gc=["initial",...["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"]];function zc(t){if(Zo(t.animate))return!0;for(let e=0;e<Gc.length;e++)if(ri(t[Gc[e]]))return!0;return!1}function ey(t){return!!(zc(t)||t.variants)}function sy(t,e,s){for(const n in e){const i=e[n],o=s[n];if(Vt(i))t.addValue(n,i);else if(Vt(o))t.addValue(n,gs(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,gs(r!==void 0?r:i,{owner:t}))}}for(const n in s)e[n]===void 0&&t.removeValue(n);return e}const Jo={current:null},qc={current:!1},ny=typeof window<"u";function iy(){if(qc.current=!0,!!ny)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Jo.current=t.matches;t.addEventListener("change",e),e()}else Jo.current=!1}const Yc=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Xc={};class oy{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=Fo,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=Et.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,it.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=zc(s),this.isVariantNode=ey(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:f,...h}=this.scrapeMotionValuesFromProps(s,{},this);for(const m in h){const v=h[m];u[m]!==void 0&&Vt(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,ty.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:(qc.current||iy(),this.shouldReduceMotion=Jo.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(),Be(this.notifyUpdate),Be(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&&Bo.has(e)&&this.current instanceof HTMLElement){const{factory:r,keyframes:a,times:l,ease:u,duration:c}=s.accelerate,f=new uc({element:this.current,name:e,keyframes:a,times:l,ease:u,duration:te(c)}),h=r(f);this.valueSubscriptions.set(e,()=>{h(),f.cancel()});return}const n=ms.has(e);n&&this.onBindTransform&&this.onBindTransform();const i=s.on("change",r=>{this.latestValues[e]=r,this.props.onUpdate&&it.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()})}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 Xc){const s=Xc[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):vt()}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<Yc.length;n++){const i=Yc[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=sy(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=gs(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"&&(so(n)||no(n))?n=parseFloat(n):typeof n!="number"&&!Nt.test(n)&&Nt.test(s)&&(n=Co(e,s)),this.setBaseTarget(e,Vt(n)?n.get():n)),Vt(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=bc(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&&!Vt(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 zn),this.events[e].add(s)}notify(e,...s){this.events[e]&&this.events[e].notify(...s)}scheduleRenderMicrotask(){Bc.render(this.render)}}class Zc extends oy{constructor(){super(...arguments),this.KeyframeResolver=Og}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;Vt(e)&&(this.childSubscription=e.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}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 Qc(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const he={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(F.test(t))t=parseFloat(t);else return t;const s=Qc(t,e.target.x),n=Qc(t,e.target.y);return`${s}% ${n}%`}},tu={correct:(t,{treeScale:e,projectionDelta:s})=>{const n=t,i=Nt.parse(t);if(i.length>5)return n;const o=Nt.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=ot(a,l,.5);return typeof i[2+r]=="number"&&(i[2+r]/=u),typeof i[3+r]=="number"&&(i[3+r]/=u),o(i)}},Qs={borderRadius:{...he,applyTo:[...Ko]},borderTopLeftRadius:he,borderTopRightRadius:he,borderBottomLeftRadius:he,borderBottomRightRadius:he,boxShadow:tu};function eu(t){for(const e in t)Qs[e]=t[e],ao(e)&&(Qs[e].isCSSVariable=!0)}function ry(t,{layout:e,layoutId:s}){return ms.has(t)||t.startsWith("origin")||(e||s!==void 0)&&(!!Qs[t]||t==="opacity")}function su(t,e,s){const n=t.style,i=e?.style,o={};if(!n)return o;for(const r in n)(Vt(n[r])||i&&Vt(i[r])||ry(r,t)||s?.getValue(r)?.liveStyle!==void 0)&&(o[r]=n[r]);return o}function ay(t){return window.getComputedStyle(t)}class ly extends Zc{constructor(){super(...arguments),this.type="html",this.renderInstance=Jc}mount(e){Gn(!!e.style),super.mount(e)}readValueFromInstance(e,s){if(ms.has(s))return this.projection?.isProjecting?Mo(s):Fm(e,s);{const n=ay(e),i=(ao(s)?n.getPropertyValue(s):n[s])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:s}){return jc(e,s)}build(e,s,n){Go(e,s,n.transformTemplate)}scrapeMotionValuesFromProps(e,s,n){return su(e,s,n)}}const Qo=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"]),nu=t=>typeof t=="string"&&t.toLowerCase()==="svg";function cy(t,e,s,n){Jc(t,e,void 0,n);for(const i in e.attrs)t.setAttribute(Qo.has(i)?i:Uo(i),e.attrs[i])}function uy(t,e,s){const n=su(t,e,s);for(const i in t)if(Vt(t[i])||Vt(e[i])){const o=ps.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[o]=t[i]}return n}class fy extends Zc{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=vt}getBaseTargetFromProps(e,s){return e[s]}readValueFromInstance(e,s){if(ms.has(s)){const n=Xl(s);return n&&n.default||0}if(Ac.includes(s)){const i=getComputedStyle(e)[s];if(typeof i=="string"&&i)return i.trim()}return s=Qo.has(s)?s:Uo(s),e.getAttribute(s)}scrapeMotionValuesFromProps(e,s,n){return uy(e,s,n)}build(e,s,n){Cc(e,s,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,s,n,i){cy(e,s,n,i)}mount(e){this.isSVGTag=nu(e.tagName),super.mount(e)}}function tr(t,e){t.min=e.min,t.max=e.max}function ee(t,e){tr(t.x,e.x),tr(t.y,e.y)}function iu(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}const ou=1e-4,dy=1-ou,hy=1+ou,ru=.01,py=0-ru,my=0+ru;function Lt(t){return t.max-t.min}function gy(t,e,s){return Math.abs(t-e)<=s}function au(t,e,s,n=.5){t.origin=n,t.originPoint=ot(e.min,e.max,t.origin),t.scale=Lt(s)/Lt(e),t.translate=ot(s.min,s.max,t.origin)-t.originPoint,(t.scale>=dy&&t.scale<=hy||isNaN(t.scale))&&(t.scale=1),(t.translate>=py&&t.translate<=my||isNaN(t.translate))&&(t.translate=0)}function tn(t,e,s,n){au(t.x,e.x,s.x,n?n.originX:void 0),au(t.y,e.y,s.y,n?n.originY:void 0)}function lu(t,e,s,n=0){const i=n?ot(s.min,s.max,n):s.min;t.min=i+e.min,t.max=t.min+Lt(e)}function yy(t,e,s,n){lu(t.x,e.x,s.x,n?.x),lu(t.y,e.y,s.y,n?.y)}function cu(t,e,s,n=0){const i=n?ot(s.min,s.max,n):s.min;t.min=e.min-i,t.max=t.min+Lt(e)}function ai(t,e,s,n){cu(t.x,e.x,s.x,n?.x),cu(t.y,e.y,s.y,n?.y)}function uu(t,e,s,n,i){return t-=e,t=ni(t,1/s,n),i!==void 0&&(t=ni(t,1/i,n)),t}function vy(t,e=0,s=1,n=.5,i,o=t,r=t){if(fe.test(e)&&(e=parseFloat(e),e=ot(r.min,r.max,e/100)-r.min),typeof e!="number")return;let a=ot(o.min,o.max,n);t===o&&(a-=e),t.min=uu(t.min,e,s,a,i),t.max=uu(t.max,e,s,a,i)}function fu(t,e,[s,n,i],o,r){vy(t,e[s],e[n],e[i],e.scale,o,r)}const by=["x","scaleX","originX"],xy=["y","scaleY","originY"];function du(t,e,s,n){fu(t.x,e,by,s?s.x:void 0,n?n.x:void 0),fu(t.y,e,xy,s?s.y:void 0,n?n.y:void 0)}function hu(t){return t.translate===0&&t.scale===1}function pu(t){return hu(t.x)&&hu(t.y)}function mu(t,e){return t.min===e.min&&t.max===e.max}function _y(t,e){return mu(t.x,e.x)&&mu(t.y,e.y)}function gu(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function yu(t,e){return gu(t.x,e.x)&&gu(t.y,e.y)}function vu(t){return Lt(t.x)/Lt(t.y)}function bu(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function pe(t){return[t("x"),t("y")]}function Sy(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,pathRotation:f,rotateX:h,rotateY:m,skewX:v,skewY:y}=s;u&&(n=`perspective(${u}px) ${n}`),c&&(n+=`rotate(${c}deg) `),f&&(n+=`rotate(${f}deg) `),h&&(n+=`rotateX(${h}deg) `),m&&(n+=`rotateY(${m}deg) `),v&&(n+=`skewX(${v}deg) `),y&&(n+=`skewY(${y}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 Ty=Ko.length,xu=t=>typeof t=="string"?parseFloat(t):t,_u=t=>typeof t=="number"||F.test(t);function wy(t,e,s,n,i,o){i?(t.opacity=ot(0,s.opacity??1,Py(n)),t.opacityExit=ot(e.opacity??1,0,Ay(n))):o&&(t.opacity=ot(e.opacity??1,s.opacity??1,n));for(let r=0;r<Ty;r++){const a=Ko[r];let l=Su(e,a),u=Su(s,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||_u(l)===_u(u)?(t[a]=Math.max(ot(xu(l),xu(u),n),0),(fe.test(u)||fe.test(l))&&(t[a]+="%")):t[a]=u}(e.rotate||s.rotate)&&(t.rotate=ot(e.rotate||0,s.rotate||0,n))}function Su(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const Py=Tu(0,.5,Tl),Ay=Tu(.5,.95,Qt);function Tu(t,e,s){return n=>n<t?0:n>e?1:s(Gs(t,e,n))}function Cy(t,e,s){const n=Vt(t)?t:gs(t);return n.start($o("",n,e,s)),n.animation}function en(t,e,s,n={passive:!0}){return t.addEventListener(e,s,n),()=>t.removeEventListener(e,s,n)}const Ey=(t,e)=>t.depth-e.depth;class Vy{constructor(){this.children=[],this.isDirty=!1}add(e){eo(this.children,e),this.isDirty=!0}remove(e){Wn(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ey),this.isDirty=!1,this.children.forEach(e)}}function My(t,e){const s=Et.now(),n=({timestamp:i})=>{const o=i-s;o>=e&&(Be(n),t(o-e))};return it.setup(n,!0),()=>Be(n)}function er(t){return Vt(t)?t.get():t}class Dy{constructor(){this.members=[]}add(e){eo(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.snapshot&&(Wn(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Wn(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){for(let s=this.members.indexOf(e)-1;s>=0;s--){const n=this.members[s];if(n.isPresent!==!1&&n.instance?.isConnected!==!1)return this.promote(n),!0}return!1}promote(e,s){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();const{layoutDependency:i}=n.options,{layoutDependency:o}=e.options;(i===void 0||i!==o)&&(e.resumeFrom=n,s&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const li={hasAnimatedSinceResize:!0,hasEverUpdated:!1},sr=["","X","Y","Z"],Oy=1e3;let Ry=0;function nr(t,e,s,n){const{latestValues:i}=e;i[t]&&(s[t]=i[t],e.setStaticValue(t,0),n&&(n[t]=0))}function wu(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const s=_c(e);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:i,layoutId:o}=t.options;window.MotionCancelOptimisedAnimation(s,"transform",it,!(i||o))}const{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&wu(n)}function Pu({attachResizeListener:t,defaultParent:e,measureScroll:s,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(r={},a=e?.()){this.id=Ry++,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(Iy),this.nodes.forEach(Uy),this.nodes.forEach(Hy),this.nodes.forEach(jy)},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 Vy)}addEventListener(r,a){return this.eventHandlers.has(r)||this.eventHandlers.set(r,new zn),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=wc(r)&&!Qg(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 h=()=>this.root.updateBlockedByResize=!1;it.read(()=>{f=window.innerWidth}),t(r,()=>{const m=window.innerWidth;m!==f&&(f=m,this.root.updateBlockedByResize=!0,c&&c(),c=My(h,250),li.hasAnimatedSinceResize&&(li.hasAnimatedSinceResize=!1,this.nodes.forEach(Eu)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:f,hasRelativeLayoutChanged:h,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||u.getDefaultTransition()||qy,{onLayoutAnimationStart:y,onLayoutAnimationComplete:E}=u.getProps(),M=!this.targetLayout||!yu(this.targetLayout,m),A=!f&&h;if(this.options.layoutRoot||this.resumeFrom||A||f&&(M||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const C={...ko(v,"layout"),onPlay:y,onComplete:E};(u.shouldReduceMotion||this.options.layoutRoot)&&(C.delay=0,C.type=!1),this.startAnimation(C),this.setAnimationOrigin(c,A,C.path)}else f||Eu(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(),Be(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(Ky),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&&wu(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,(typeof f.latestValues.x=="string"||typeof f.latestValues.y=="string")&&(f.isLayoutDirty=!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()){const l=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),l&&this.nodes.forEach(ky),this.nodes.forEach(Au);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Cu);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach($y),this.nodes.forEach(Ny),this.nodes.forEach(Ly),this.nodes.forEach(Fy)):this.nodes.forEach(Cu),this.clearAllSnapshots();const a=Et.now();gt.delta=Jt(0,1e3/60,a-gt.timestamp),gt.timestamp=a,gt.isProcessing=!0,ro.update.process(gt),ro.preRender.process(gt),ro.render.process(gt),gt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Bc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(By),this.sharedNodes.forEach(Wy)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,it.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){it.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Lt(this.snapshot.measuredBox.x)&&!Lt(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||(this.layoutCorrected=vt()),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&&!pu(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;r&&this.instance&&(a||ts(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)),Yy(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:r}=this.options;if(!r)return vt();const a=r.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Xy))){const{scroll:u}=this.root;u&&(de(a.x,u.offset.x),de(a.y,u.offset.y))}return a}removeElementScroll(r){const a=vt();if(ee(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&&ee(a,r),de(a.x,c.offset.x),de(a.y,c.offset.y))}return a}applyTransform(r,a=!1,l){const u=l||vt();ee(u,r);for(let c=0;c<this.path.length;c++){const f=this.path[c];!a&&f.options.layoutScroll&&f.scroll&&f!==f.root&&(de(u.x,-f.scroll.offset.x),de(u.y,-f.scroll.offset.y)),ts(f.latestValues)&&ii(u,f.latestValues,f.layout?.layoutBox)}return ts(this.latestValues)&&ii(u,this.latestValues,this.layout?.layoutBox),u}removeTransform(r){const a=vt();ee(a,r);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!ts(u.latestValues))continue;let c;u.instance&&(qo(u.latestValues)&&u.updateSnapshot(),c=vt(),ee(c,u.measurePageBox())),du(a,u.latestValues,u.snapshot?.layoutBox,c)}return ts(this.latestValues)&&du(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!==gt.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=gt.timestamp;const h=this.getClosestProjectingParent();h&&this.linkedParentVersion!==h.layoutVersion&&!h.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&h&&h.layout?this.createRelativeTarget(h,this.layout.layoutBox,h.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=vt(),this.targetWithTransforms=vt()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),yy(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):ee(this.target,this.layout.layoutBox),Oc(this.target,this.targetDelta)):ee(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?this.createRelativeTarget(h,this.target,h.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||qo(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=vt(),this.relativeTargetOrigin=vt(),ai(this.relativeTargetOrigin,a,l,this.options.layoutAnchor||void 0),ee(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===gt.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;ee(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;Ug(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=vt());const{target:m}=r;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(iu(this.prevProjectionDelta.x,this.projectionDelta.x),iu(this.prevProjectionDelta.y,this.projectionDelta.y)),tn(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!bu(this.projectionDelta.x,this.prevProjectionDelta.x)||!bu(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=vs(),this.projectionDelta=vs(),this.projectionDeltaWithTransform=vs()}setAnimationOrigin(r,a=!1,l){const u=this.snapshot,c=u?u.latestValues:{},f={...this.latestValues},h=vs();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const m=vt(),v=u?u.source:void 0,y=this.layout?this.layout.source:void 0,E=v!==y,M=this.getStack(),A=!M||M.members.length<=1,C=!!(E&&!A&&this.options.crossfade===!0&&!this.path.some(zy));this.animationProgress=0;let x;const k=l?.interpolateProjection(r);this.mixTargetDelta=z=>{const P=z/1e3,D=k?.(P);D?(h.x.translate=D.x,h.x.scale=ot(r.x.scale,1,P),h.x.origin=r.x.origin,h.x.originPoint=r.x.originPoint,h.y.translate=D.y,h.y.scale=ot(r.y.scale,1,P),h.y.origin=r.y.origin,h.y.originPoint=r.y.originPoint):(Vu(h.x,r.x,P),Vu(h.y,r.y,P)),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ai(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Gy(this.relativeTarget,this.relativeTargetOrigin,m,P),x&&_y(this.relativeTarget,x)&&(this.isProjectionDirty=!1),x||(x=vt()),ee(x,this.relativeTarget)),E&&(this.animationValues=f,wy(f,c,this.latestValues,P,C,A)),D&&D.rotate!==void 0&&(this.animationValues||(this.animationValues=f),this.animationValues.pathRotation=D.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=P},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Be(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=it.update(()=>{li.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=gs(0)),this.motionValue.jump(0,!1),this.currentAnimation=Cy(this.motionValue,[0,1e3],{...r,velocity:0,isSync:!0,onUpdate:a=>{this.mixTargetDelta(a),r.onUpdate&&r.onUpdate(a)},onComplete:()=>{r.onComplete&&r.onComplete(),this.completeAnimation()}}),Pm(this.currentAnimation,this),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(Oy),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const r=this.getLead(),{targetWithTransforms:a,layout:l,latestValues:u}=r;let{target:c}=r;if(!(!a||!c||!l)){if(this!==r&&this.layout&&l&&Lu(this.options.animationType,this.layout.layoutBox,l.layoutBox)){c=this.target||vt();const f=Lt(this.layout.layoutBox.x);c.x.min=r.target.x.min,c.x.max=c.x.min+f;const h=Lt(this.layout.layoutBox.y);c.y.min=r.target.y.min,c.y.max=c.y.min+h}ee(a,c),ii(a,u),tn(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(r,a){this.sharedNodes.has(r)||this.sharedNodes.set(r,new Dy),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&&nr("z",r,u,this.animationValues);for(let c=0;c<sr.length;c++)nr(`rotate${sr[c]}`,r,u,this.animationValues),nr(`skew${sr[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=er(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=er(a?.pointerEvents)||""),this.hasProjected&&!ts(this.latestValues)&&(r.transform=l?l({},""):"none",this.hasProjected=!1);return}r.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let f=Sy(this.projectionDeltaWithTransform,this.treeScale,c);l&&(f=l(c,f)),r.transform=f;const{x:h,y:m}=this.projectionDelta;r.transformOrigin=`${h.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 Qs){if(c[v]===void 0)continue;const{correct:y,applyTo:E,isCSSVariable:M}=Qs[v],A=f==="none"?c[v]:y(c[v],u);if(E){const C=E.length;for(let x=0;x<C;x++)r[E[x]]=A}else M?this.options.visualElement.renderState.vars[v]=A:r[v]=A}this.options.layoutId&&(r.pointerEvents=u===this?er(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>r.currentAnimation?.stop()),this.root.nodes.forEach(Au),this.root.sharedNodes.clear()}}}function Ly(t){t.updateLayout()}function Fy(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;if(i==="size")pe(c=>{const f=o?e.measuredBox[c]:e.layoutBox[c],h=Lt(f);f.min=s[c].min,f.max=f.min+h});else if(i==="x"||i==="y"){const c=i==="x"?"y":"x";tr(o?e.measuredBox[c]:e.layoutBox[c],s[c])}else Lu(i,e.layoutBox,s)&&pe(c=>{const f=o?e.measuredBox[c]:e.layoutBox[c],h=Lt(s[c]);f.max=f.min+h,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[c].max=t.relativeTarget[c].min+h)});const r=vs();tn(r,s,e.layoutBox);const a=vs();o?tn(a,t.applyTransform(n,!0),e.measuredBox):tn(a,s,e.layoutBox);const l=!pu(r);let u=!1;if(!t.resumeFrom){const c=t.getClosestProjectingParent();if(c&&!c.resumeFrom){const{snapshot:f,layout:h}=c;if(f&&h){const m=t.options.layoutAnchor||void 0,v=vt();ai(v,e.layoutBox,f.layoutBox,m);const y=vt();ai(y,s,h.layoutBox,m),yu(v,y)||(u=!0),c.options.layoutRoot&&(t.relativeTarget=y,t.relativeTargetOrigin=v,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 Iy(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 jy(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function By(t){t.clearSnapshot()}function Au(t){t.clearMeasurements()}function ky(t){t.isLayoutDirty=!0,t.updateLayout()}function Cu(t){t.isLayoutDirty=!1}function $y(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function Ny(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Eu(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Uy(t){t.resolveTargetDelta()}function Hy(t){t.calcProjection()}function Ky(t){t.resetSkewAndRotation()}function Wy(t){t.removeLeadSnapshot()}function Vu(t,e,s){t.translate=ot(e.translate,0,s),t.scale=ot(e.scale,1,s),t.origin=e.origin,t.originPoint=e.originPoint}function Mu(t,e,s,n){t.min=ot(e.min,s.min,n),t.max=ot(e.max,s.max,n)}function Gy(t,e,s,n){Mu(t.x,e.x,s.x,n),Mu(t.y,e.y,s.y,n)}function zy(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const qy={duration:.45,ease:[.4,0,.1,1]},Du=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Ou=Du("applewebkit/")&&!Du("chrome/")?Math.round:Qt;function Ru(t){t.min=Ou(t.min),t.max=Ou(t.max)}function Yy(t){Ru(t.x),Ru(t.y)}function Lu(t,e,s){return t==="position"||t==="preserve-aspect"&&!gy(vu(e),vu(s),.2)}function Xy(t){return t!==t.root&&t.scroll?.wasRoot}const Zy=Pu({attachResizeListener:(t,e)=>en(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ir={current:void 0},Jy=Pu({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ir.current){const t=new Zy({});t.mount(window),t.setOptions({layoutScroll:!0}),ir.current=t}return ir.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Qy={some:0,all:1};function tv(t,e,{root:s,margin:n,amount:i="some"}={}){const o=Pc(t),r=new WeakMap,a=u=>{u.forEach(c=>{const f=r.get(c.target);if(c.isIntersecting!==!!f)if(c.isIntersecting){const h=e(c.target,c);typeof h=="function"?r.set(c.target,h):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:Qy[i]});return o.forEach(u=>l.observe(u)),()=>l.disconnect()}const Fu=(t,e)=>Math.abs(t-e);function ev(t,e){const s=Fu(t.x,e.x),n=Fu(t.y,e.y);return Math.sqrt(s**2+n**2)}function Iu({current:t}){return t?t.ownerDocument.defaultView:null}function or(t){if(t)return t.nodeType===3||t.nodeType===8?or(t.nextSibling):t}const[sv,nv]=Ks("Motion"),[iv]=Ks("LayoutGroup"),ov={reducedMotion:"never",transition:void 0,nonce:void 0},[rv]=Ks("MotionConfig");function av(){return rv(_t(()=>ov))}function ju(t,e,s){if(Array.isArray(t))return t.reduce((n,i)=>{const o=ju(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 lv(t,e,s){const n=ju(t,e,s);if(!n)return;const{transition:i,transitionEnd:o,...r}=n;return{...r,...o}}function cv(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,...lv(t[o]||e?.[o],t.variants,n)}),{})}function Bu(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 uv=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 ku(t){return uv.has(t)}const $u=new WeakMap;var fv=class{constructor(t,e,s={}){this.element=null,this.isExiting=!1,this.children=new Set,this.features=new Map,this.featureCtors=[],this._context=null,this.options=t,this.parent=e,e?.children?.add(this),this.latestValues=cv(t,this.context),this.type=ku(this.options.as)?"svg":"html",this.setBundle(s)}get context(){return this._context||(this._context=new Proxy({},{get:(t,e)=>{const s=this.options[e];return ri(s)||e==="initial"&&s===!1?s:this.parent?.context[e]}})),this._context}setBundle(t){t.renderer&&this.initVisualElement(t.renderer),t.features?.length&&(this.featureCtors=t.features),this.updateFeatures()}updateFeatures(){if(this.visualElement)for(const t of this.featureCtors){let e=this.features.get(t.key);e||(e=new t(this),this.features.set(t.key,e)),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){$u.set(t,this),this.element=t,this.features.get("layout")?.refreshRootScroll(),this.visualElement?.mount(t),this.updateFeatures()}beforeUnmount(){this.getSnapshot(!1)}unmount(){this.parent?.children?.delete(this),this.element&&$u.delete(this.element),this.features.forEach(t=>{t.unmount(),t.isMount=!1}),this.visualElement?.unmount(),this.element=null}beforeUpdate(){this.getSnapshot(!this.isExiting)}update(){this.updateFeatures(),this.didUpdate()}getFeature(t){return this.features.get(t)}setActive(t,e){t==="exit"&&e&&(this.isExiting=!0),this.visualElement?.animationState?.setActive(t,e).then(()=>{t==="exit"&&e&&(this.isExiting=!1)})}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){this.features.get("layout")?.getSnapshot(t)}didUpdate(){}},me=class{constructor(t){this.isMount=!1,this.state=t}mount(){}beforeUnmount(){}unmount(){}update(){}getSnapshot(t){}};const Nu=["initial","animate","exit","whileHover","whileDrag","whileFocus","whilePress"];var dv=Nu.length;function Uu(t){if(!t)return;if(!t.isControllingVariants){const s=t.parent?Uu(t.parent)||{}:{};return t.props.initial!==void 0&&(s.initial=t.props.initial),s}const e={};for(let s=0;s<dv;s++){const n=Nu[s],i=t.props[n];(ri(i)||i===!1)&&(e[n]=i)}return e}var Hu=["animate","whileInView","whileFocus","whileHover","whilePress","whileDrag","exit"],hv=[...Hu].reverse(),pv=Hu.length;function es(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Ku(){return{animate:es(!0),whileInView:es(),whileHover:es(),whilePress:es(),whileDrag:es(),whileFocus:es(),exit:es()}}function mv(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Bu(e,t):!1}function Wu(t){return Array.isArray(t)}function gv(t){return e=>Promise.all(e.map(({animation:s,options:n})=>Pg(t,s,n)))}function yv(t){let e=gv(t),s=Ku(),n=!0;const i=l=>(u,c)=>{const f=ys(t,c,l==="exit"?t.presenceContext?.custom:void 0);if(f){const{transition:h,transitionEnd:m,...v}=f;u={...u,...v,...m}}return u};function o(l){e=l(t)}function r(l){const u=t.props,c=Uu(t.parent)||{},f=[],h=new Set;let m={},v=1/0;for(let E=0;E<pv;E++){const M=hv[E],A=s[M],C=u[M]!==void 0?u[M]:c[M],x=ri(C),k=M===l?A.isActive:null;k===!1&&(v=E);let z=C===c[M]&&C!==u[M]&&x;if(z&&n&&t.manuallyAnimateOnMount&&(z=!1),A.protectedKeys={...m},!A.isActive&&k===null||!C&&!A.prevProp||Zo(C)||typeof C=="boolean")continue;const P=mv(A.prevProp,C);let D=P||M===l&&A.isActive&&!z&&x||E>v&&x,B=!1;const $=Array.isArray(C)?C:[C];let q=$.reduce(i(M),{});k===!1&&(q={});const{prevResolvedValues:I={}}=A,ut={...I,...q},bt=Y=>{D=!0,h.has(Y)&&(B=!0,h.delete(Y)),A.needsAnimating[Y]=!0;const X=t.getValue(Y);X&&(X.liveStyle=!1)};for(const Y in ut){const X=q[Y],Z=I[Y];if(Object.hasOwnProperty.call(m,Y))continue;let It=!1;Wu(X)&&Wu(Z)?It=!Bu(X,Z):It=X!==Z,It?X!=null?bt(Y):h.add(Y):X!==void 0&&h.has(Y)?bt(Y):A.protectedKeys[Y]=!0}A.prevProp=C,A.prevResolvedValues=q,A.isActive&&(m={...m,...q}),n&&t.blockInitialAnimation&&(D=!1);const qt=z&&P;D&&(!qt||B)&&f.push(...$.map(Y=>{const X={type:M};if(typeof Y=="string"&&n&&!qt&&t.manuallyAnimateOnMount&&t.parent){const{parent:Z}=t,It=ys(Z,Y);if(Z.enteringChildren&&It){const{delayChildren:bs}=It.transition||{};X.delay=pc(Z.enteringChildren,t,bs)}}return{animation:Y,options:X}}))}if(h.size){const E={};if(typeof u.initial!="boolean"){const M=ys(t,Array.isArray(u.initial)?u.initial[0]:u.initial);M&&M.transition&&(E.transition=M.transition)}h.forEach(M=>{const A=t.getBaseTarget(M),C=t.getValue(M);C&&(C.liveStyle=!0),E[M]=A??null}),f.push({animation:E})}let y=!!f.length;return n&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(y=!1),n=!1,y?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=Ku(),n=!0}}}function Gu(t){return t.style.display==="none"||t.offsetParent===null&&window.getComputedStyle(t).position!=="fixed"}var vv=class extends me{static#t=this.key="animation";constructor(t){super(t);const e=t.visualElement;e.animationState||=yv(e)}updateAnimationControlsSubscription(){const{animate:t}=this.state.options;Zo(t)&&(this.unmountControls=t.subscribe(this.state.visualElement))}mount(){Gu(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?.()}},bv=class extends me{constructor(...t){super(...t),this.exitGeneration=0}static#t=this.key="exit";exit(){const t=++this.exitGeneration,e=this.state;e.isExiting=!0;const s=new Promise(i=>{this.pendingExit={resolve:i}}),n=e.visualElement?.animationState?.setActive("exit",!0);return n?n.then(()=>{t===this.exitGeneration&&(e.isExiting=!1,e.options?.layoutId?it.postRender(()=>this.tryCompleteExit(t)):this.tryCompleteExit(t))}):(e.isExiting=!1,this.tryCompleteExit(t)),e.getSnapshot(!1),s}reenter(){this.exitGeneration++,this.settleExit(),this.state.isExiting=!1,this.state.setActive("exit",!1),this.state.getSnapshot(!0)}completeExitFromProjection(){this.tryCompleteExit(this.exitGeneration)}tryCompleteExit(t){t!==this.exitGeneration||this.state.isExiting||this.state.options?.layoutId&&this.state.visualElement.projection?.currentAnimation?.state==="running"||this.settleExit()}settleExit(){this.pendingExit?.resolve(),this.pendingExit=void 0}mount(){this.state.options.presenceContext?.register?.(this.state)}unmount(){this.state.options.presenceContext?.unregister?.(this.state),this.settleExit()}};function xv(t,e){return ku(t)?new fy(e):new ly(e)}function zu(t){return{point:{x:t.pageX,y:t.pageY}}}var _v=class extends me{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=Jg(t,(e,s)=>{const n=this.state.options;return this.state.setActive("whilePress",!0),n.onPressStart&&it.postRender(()=>n.onPressStart(s,zu(s))),(i,{success:o})=>{this.state.setActive("whilePress",!1);const r=o?"onPress":"onPressCancel",a=this.state.options[r];a&&it.postRender(()=>a(i,zu(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 qu(t){return t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1}function sn(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}function Sv(t){return e=>qu(e)&&t(e,sn(e))}var Tv=class extends me{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=zg(t,(e,s)=>{const n=this.state.options;return this.state.setActive("whileHover",!0),n.onHoverStart&&it.postRender(()=>n.onHoverStart(s,sn(s))),i=>{this.state.setActive("whileHover",!1);const o=this.state.options.onHoverEnd;o&&it.postRender(()=>o(i,sn(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}},wv=class extends me{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=tv(t,(n,i)=>{const o=this.state.options;if(this.state.setActive("whileInView",!0),o.onViewportEnter&&it.postRender(()=>o.onViewportEnter(i)),!e)return()=>{this.state.setActive("whileInView",!1);const r=this.state.options.onViewportLeave;r&&it.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}},Pv=class extends me{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=Ws(en(t,"focus",()=>this.onFocus()),en(t,"blur",()=>this.onBlur()))}unmount(){this.removeFocus?.(),this.removeFocus=void 0}};function Yu(t){if(t)return t.options.allowProjection!==!1?t.projection:Yu(t.parent)}const Xu={borderRadius:{...he,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:he,borderTopRightRadius:he,borderBottomLeftRadius:he,borderBottomRightRadius:he,boxShadow:tu};function nn(t){return typeof t=="object"&&t!==null&&"nodeType"in t}const Av=typeof window>"u";var Cv=class extends me{static#t=this.key="projection";constructor(t){super(t),eu(Xu),Av||this.initProjection()}initProjection(){const t=this.state.options;this.state.visualElement.projection=new Jy(this.state.visualElement.latestValues,t["data-framer-portal-id"]?void 0:Yu(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&&nn(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.getFeature("exit")?.completeExitFromProjection()})}})}update(){this.setOptions()}mount(){this.projection?.mount(this.state.element)}};function on(t,e,s,n){return en(t,e,Sv(s),n)}var Zu=new Set(["auto","scroll"]),Ju=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=ar(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=ev(c.offset,{x:0,y:0})>=3;if(!f&&!h)return;const{point:m}=c,{timestamp:v}=gt;this.history.push({...m,timestamp:v});const{onStart:y,onMove:E}=this.handlers;f||(y&&y(this.lastMoveEvent,c),this.startEvent=this.lastMoveEvent),E&&E(this.lastMoveEvent,c)},this.handlePointerMove=(c,f)=>{this.lastMoveEvent=c,this.lastMoveEventInfo=rr(f,this.transformPagePoint),it.update(this.updatePoint,!0)},this.handlePointerUp=(c,f)=>{this.end();const{onEnd:h,onSessionEnd:m,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=ar(c.type==="pointercancel"?this.lastMoveEventInfo:rr(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(c,y),m&&m(c,y)},!qu(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=s,this.contextWindow=n||window;const r=rr(sn(t),this.transformPagePoint),{point:a}=r,{timestamp:l}=gt;this.history=[{...a,timestamp:l}];const{onSessionStart:u}=e;u&&u(t,ar(r,this.history)),this.removeListeners=Ws(on(this.contextWindow,"pointermove",this.handlePointerMove),on(this.contextWindow,"pointerup",this.handlePointerUp),on(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);(Zu.has(s.overflowX)||Zu.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),it.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners?.(),this.scrollPositions.clear(),Be(this.updatePoint)}};function rr(t,e){return e?{point:e(t.point)}:t}function Qu(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ar({point:t},e){return{point:t,delta:Qu(t,tf(e)),offset:Qu(t,Ev(e)),velocity:Vv(e,.1)}}function Ev(t){return t[0]}function tf(t){return t[t.length-1]}function Vv(t,e){if(t.length<2)return{x:0,y:0};let s=t.length-1,n=null;const i=tf(t);for(;s>=0&&(n=t[s],!(i.timestamp-n.timestamp>te(e)));)s--;if(!n)return{x:0,y:0};const o=$t(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 ef(t){return(e,s)=>{t&&it.postRender(()=>t(e,s))}}var Mv=class extends me{constructor(...t){super(...t),this.removePointerDownListener=Qt}static#t=this.key="pan";onPointerDown(t){this.session=new Ju(t,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:Iu(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:ef((t,e)=>{const{onPanSessionStart:s}=this.state.options;s&&s(t,e)}),onStart:ef((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&&it.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=on(this.state.element,"pointerdown",this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};function sf(t){let e=null;return()=>{const s=()=>{e=null};return e===null?(e=t,s):!1}}var nf=sf("dragHorizontal"),of=sf("dragVertical");function Dv(t){let e=!1;if(t==="y")e=of();else if(t==="x")e=nf();else{const s=nf(),n=of();s&&n?e=()=>{s(),n()}:(s&&s(),n&&n())}return e}function Ov(t,{min:e,max:s},n){return e!==void 0&&t<e?t=n?ot(e,t,n.min):Math.max(t,e):s!==void 0&&t>s&&(t=n?ot(s,t,n.max):Math.min(t,s)),t}const lr=.35;function Rv(t,{top:e,left:s,bottom:n,right:i}){return{x:rf(t.x,s,i),y:rf(t.y,e,n)}}function rf(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 Lv(t=lr){return t===!1?t=0:t===!0&&(t=lr),{x:af(t,"left","right"),y:af(t,"top","bottom")}}function af(t,e,s){return{min:lf(t,e),max:lf(t,s)}}function lf(t,e){return typeof t=="number"?t:t[e]||0}function Fv(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 Iv(t,e){return{x:cf(t.x,e.x),y:cf(t.y,e.y)}}function cf(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 jv(t,e){let s=.5;const n=Lt(t),i=Lt(e);return i>n?s=Gs(e.min,e.max-n,t.min):n>i&&(s=Gs(t.min,t.max-i,e.min)),Jt(0,1,s)}const Bv=new WeakMap;var kv=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=vt(),this.state=t}get visualElement(){return this.state.visualElement}start(t,{snapToCursor:e=!1}={}){const s=l=>{e&&this.snapToCursor(sn(l,"page").point),this.stopAnimation()},n=(l,u)=>{this.stopAnimation();const{drag:c,dragPropagation:f,onDragStart:h}=this.getProps();c&&!f&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Dv(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),pe(m=>{let v=this.getAxisMotionValue(m).get()||0;if(fe.test(v)){const{projection:y}=this.visualElement;if(y&&y.layout){const E=y.layout.layoutBox[m];E&&(v=Lt(E)*(parseFloat(v)/100))}}this.originPoint[m]=v}),h&&it.postRender(()=>h(l,u)),No(this.visualElement,"transform"),this.state.setActive("whileDrag",!0))},i=(l,u)=>{const{dragPropagation:c,dragDirectionLock:f,onDirectionLock:h,onDrag:m}=this.getProps();if(!c&&!this.openGlobalLock)return;const{offset:v}=u;if(f&&this.currentDirection===null){this.currentDirection=$v(v),this.currentDirection!==null&&h&&h(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=()=>{const{dragSnapToOrigin:l}=this.getProps();(l||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:a}=this.getProps();this.panSession=new Ju(t,{onSessionStart:s,onStart:n,onMove:i,onSessionEnd:o,resumeAnimation:r},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:a,contextWindow:Iu(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&&it.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||!ci(t,n,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(o=Ov(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&&nn(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&s?this.constraints=Rv(s.layoutBox,t):this.constraints=!1,this.elastic=Lv(e),n!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&pe(i=>{this.constraints!==!1&&this.getAxisMotionValue(i)&&(this.constraints[i]=Fv(s.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!nn(t))return!1;const s=t,{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const i=Hg(s,n.root,this.visualElement.getTransformPagePoint());let o=Iv(n.layout.layoutBox,i);if(e){const r=e($g(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=pe(u=>{if(!ci(u,e,this.currentDirection))return;let c=a&&a[u]||{};o&&(c={min:0,max:0});const f=n?200:1e6,h=n?40:1e7,m={type:"inertia",velocity:s?t[u]:0,bounceStiffness:f,bounceDamping:h,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 No(this.visualElement,t),s.start($o(t,s,0,e,this.visualElement,!1))}stopAnimation(){this.visualElement.projection?.isPresent&&pe(t=>this.getAxisMotionValue(t).stop())}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){pe(e=>{const{drag:s}=this.getProps();if(!ci(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]-ot(o,r,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:s}=this.visualElement;if(!nn(e)||!s||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};pe(o=>{const r=this.getAxisMotionValue(o);if(r&&this.constraints!==!1){const a=r.get();n[o]=jv({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(),pe(o=>{if(!ci(o,t,null))return;const r=this.getAxisMotionValue(o),{min:a,max:l}=this.constraints[o];r.set(ot(a,l,n[o]))})}addListeners(){if(!this.state.element)return;Bv.set(this.visualElement,this);const t=this.state.element,e=on(t,"pointerdown",a=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(a)}),s=()=>{const{dragConstraints:a}=this.getProps();nn(a)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",s);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),it.read(s);const o=en(window,"resize",()=>this.scalePositionWithinConstraints()),r=n.addEventListener("didUpdate",(({delta:a,hasLayoutChanged:l})=>{this.isDragging&&l&&(pe(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=lr,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:s,dragPropagation:n,dragConstraints:i,dragElastic:o,dragMomentum:r}}};function ci(t,e,s){return(e===!0||e===t)&&(s===null||s===t)}function $v(t,e=10){let s=null;return Math.abs(t.y)>e?s="y":Math.abs(t.x)>e&&(s="x"),s}var Nv=class extends me{static#t=this.key="drag";constructor(t){super(t),this.removeGroupControls=Qt,this.removeListeners=Qt,this.controls=new kv(t)}mount(){const{dragControls:t}=this.state.options;t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Qt}unmount(){this.removeGroupControls(),this.removeListeners()}},Uv=class extends me{static#t=this.key="layout";constructor(t){super(t),eu(Xu)}updatePrevLead(t){const e=this.state.visualElement.projection;e.isPresent!==t&&(e.isPresent=t,t?!e.isLead()&&e?.promote():e.isLead()&&e?.relegate())}didUpdate(){(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&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=!Gu(this.state.element);s.isPresent=n,n?s?.promote():s?.relegate()}e?.group?.add(s),li.hasEverUpdated=!0}this.didUpdate()}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)}getSnapshot(t){const e=this.state.visualElement.projection,{layout:s,layoutId:n,drag:i,layoutDependency:o}=this.state.visualElement.props,r=this.state.visualElement.prevProps;!e||!s&&!n&&!i||((i||r.layoutDependency!==o||o===void 0||t!==e.isPresent)&&e.willUpdate(),n&&this.updatePrevLead(t),this.didUpdate())}refreshRootScroll(){const t=this.state.visualElement?.projection?.root;t&&this.state.options.layoutId&&(t.scroll=void 0,t.updateScroll?.())}};const Hv={renderer:xv,features:[vv,bv,_v,Tv,wv,Pv,Cv,Mv,Nv,Uv]},[Kv]=Ks("LazyMotionContext"),[Wv]=Ks("AnimatePresenceContext");function Gv(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}function uf(){return{transform:{},transformOrigin:{},style:{},vars:{}}}function zv(){return{...uf(),attrs:{}}}function qv(t){const e=uf();Go(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 Yv(t,e,s){const n=zv();Cc(n,t,nu(e),void 0,s);const i={};for(const o in n.attrs){const r=Qo.has(o)?o:Gv(o);i[r]=n.attrs[o]}return{attrs:i,style:{...n.style,...n.vars}}}function Xv(t,e={}){const s=sv(null),n=iv({}),i=av(),o=Wv({}),r=Kv({features:os({}),strict:!1}),a=$d();function l(){return Sp(t,{layoutGroup:n,presenceContext:o,config:i.value})}function u(){return{...a,...l()}}const c=new fv(u(),s,e);nv(c),Vn(r.features,y=>{c.setBundle(y)},{immediate:!0,flush:"pre"});function f(){const y=c.type==="svg",E={...a};Object.keys(a).forEach(x=>{Vt(a[x])&&(E[x]=a[x].get())});const M=c.visualElement?.latestValues||c.latestValues;let A={...t.style,...y?{}:M};for(const x in A)Vt(A[x])&&(A[x]=A[x].get());if(y){const{attrs:x,style:k}=Yv({...M,...A},c.options.as,t.style);Object.assign(E,x),A=k}t.drag&&t.dragListener!==!1&&Object.assign(A,{userSelect:"none",WebkitUserSelect:"none",WebkitTouchCallout:"none",touchAction:t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`});const C=qv(A);return C&&(E.style=C),E}const h=Un()?.proxy;function m(){const y=or(h?.$el);c.mount(y)}Bi(()=>{c.updateOptions(u()),c.beforeUnmount()}),ji(m);function v(){or(h?.$el)?.isConnected||c.unmount()}return ki(v),ra(v),oa(()=>{c.isMounted()||m()}),la(()=>{c.updateOptions(u()),c.beforeUpdate()}),ca(()=>{c.update()}),{getProps:l,getAttrs:f,layoutGroup:n,state:c}}const Zv={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 Jv=new Map,Qv=new Map;function t0(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 e0=["area","img","input"];function s0(t,e,s){if(typeof t=="string"&&e0.includes(t))return Xi(t,e);if(t==="template"){if(!s.default)return null;const n=t0(s.default()),i=n.findIndex(l=>l.type!==wt);if(i===-1)return n;const o=n[i];delete o.props?.ref;const r=o.props?$a(e,o.props):e;e.class&&o.props?.class&&delete o.props.class;const a=Te(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 ff(t,e={}){const s=typeof t=="string",n=s?t:t.name||"",i=e.renderer?Jv:Qv;if(s&&i.has(t))return i.get(t);const o=Ed({inheritAttrs:!1,props:{...Zv,as:{type:[String,Object],default:t||"div"}},name:n?`motion.${n}`:"Motion",setup(r,{slots:a}){const{getProps:l,getAttrs:u,state:c}=Xv(r,e);function f(){const h=c.element;if((typeof r.as!="object"||r.asChild)&&h){const{style:m}=u();if(m)for(const[v,y]of Object.entries(m))h.style[v]=y}}return()=>{const h=l(),m=u(),v=r.asChild?"template":r.as,y={...r.forwardMotionProps?h:{},...m,onVnodeUpdated:f},E=s0(v,y,a);return E!==null?E:Xi(v,{...y},a)}}});return s&&i.set(t,o),o}function n0(t){return new Proxy({},{get(e,s){return s==="create"?(n,i)=>ff(n,{...i,...t}):ff(s,{...t})}})}const df=n0(Hv);df.create("div");const i0={class:"slds-navigation-list--vertical"},o0={class:"slds-navigation-list__item-content"},r0={class:"slds-navigation-list__item-title"},a0={__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=os(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)=>(j(),U("div",i0,[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)),(j(!0),U(dt,null,Ie(t.schemas,u=>(j(),U("div",{key:u.fileName,class:"slds-navigation-list__item"},[g("div",o0,[g("div",r0,[nt(Nr(df).button,{"while-hover":{scale:1.05},"while-press":{scale:.95},class:Dt(["slds-button slds-button_neutral slds-button_stretch",{"slds-is-active":i.value===u.fileName}]),onClick:c=>o(u)},{default:En(()=>[js(J(r(u)),1)]),_:2},1032,["class","onClick"])])])]))),128))]))}},hf="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",pf=(t,e)=>{const s=t.__vccOpts||t;for(const[n,i]of e)s[n]=i;return s},l0={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},c0={class:"slds-notify__content"},mf=pf({__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)=>(j(),U("div",l0,[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:hf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",c0,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-a28aa892"]]),u0={key:0,class:"slds-m-top_medium"},f0={class:"slds-box slds-theme_shade"},d0={class:"slds-grid slds-wrap slds-gutters"},h0={class:"constraint-item"},p0={class:"slds-text-title_caps slds-text-color_default"},m0={class:"slds-text-body_regular slds-m-top_xx-small"},cr={__name:"SchemaConstraints",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>{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=_t(()=>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?(j(),U("div",u0,[l[0]||(l[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Constraints ",-1)),g("div",f0,[g("div",d0,[(j(!0),U(dt,null,Ie(s.value,(u,c)=>(j(),U("div",{key:c,class:"slds-col slds-size_1-of-2 slds-p-around_xx-small"},[g("div",h0,[g("div",p0,J(i(c)),1),g("div",m0,[g("span",{class:Dt(["slds-badge",r(u)])},J(o(u)),3)])])]))),128))])])])):kt("",!0)}},g0={class:"array-schema"},y0={class:"slds-box slds-theme_shade"},v0={class:"slds-grid slds-gutters"},b0={key:0,class:"slds-col"},x0={class:"slds-badge"},_0={key:1,class:"slds-m-top_medium"},S0={class:"slds-text-title_caps slds-m-bottom_xx-small"},T0={key:3,class:"slds-m-top_medium"},w0={key:4,class:"slds-m-top_medium"},P0={key:0,class:"slds-m-top_xx-small"},A0={__name:"ArraySchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>["minItems","maxItems","uniqueItems"].some(o=>o in e.schema)),n=_t(()=>e.schema.items?Array.isArray(e.schema.items)?"Tuple":e.schema.items.type||"Not specified":"Not defined");return(i,o)=>(j(),U("div",g0,[g("div",y0,[g("div",v0,[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?(j(),U("div",b0,[o[0]||(o[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Items Type ",-1)),g("div",x0,J(n.value),1)])):kt("",!0)])]),s.value?(j(),Bt(cr,{key:0,schema:t.schema},null,8,["schema"])):kt("",!0),t.schema.items?(j(),U("div",_0,[o[2]||(o[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Items Schema ",-1)),Array.isArray(t.schema.items)?(j(!0),U(dt,{key:0},Ie(t.schema.items,(r,a)=>(j(),U("div",{key:a,class:"slds-m-bottom_medium"},[g("div",S0," Index "+J(a),1),nt(Ve,{schema:r,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128)):(j(),Bt(Ve,{key:1,schema:t.schema.items,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):(j(),Bt(mf,{key:2,title:"No Items Defined",message:"This array doesn't have any items defined in the schema."})),t.schema.contains?(j(),U("div",T0,[o[3]||(o[3]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Contains ",-1)),nt(Ve,{schema:t.schema.contains,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])):kt("",!0),t.schema.additionalItems!==void 0&&Array.isArray(t.schema.items)?(j(),U("div",w0,[o[4]||(o[4]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Additional Items ",-1)),typeof t.schema.additionalItems=="boolean"?(j(),U("div",P0,[g("span",{class:Dt(t.schema.additionalItems?"status-allowed":"status-denied")},J(t.schema.additionalItems?"Allowed":"Not allowed"),3)])):(j(),Bt(Ve,{key:1,schema:t.schema.additionalItems,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):kt("",!0)]))}},C0={class:"slds-box slds-theme_shade"},E0={class:"slds-text-heading_small slds-m-bottom_small"},V0={class:"slds-tabs_default"},M0={class:"slds-tabs_default__nav",role:"tablist"},D0=["aria-selected","aria-controls","onClick"],O0={class:"slds-tabs_default__title"},R0=["id"],L0={class:"slds-p-around_medium"},F0={class:"slds-text-title_caps slds-m-bottom_small"},I0={__name:"CompositionSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>e.schema.anyOf?"anyOf":e.schema.oneOf?"oneOf":e.schema.allOf?"allOf":null),n=os(0),i=_t(()=>e.schema[s.value]||[]);Sd(()=>{i.value.forEach(u=>{u.type||(u.type=e.schema.type)})});const o=_t(()=>{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=_t(()=>{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)=>(j(),U("div",C0,[g("div",E0,[g("span",{class:Dt(["slds-badge",r.value])},J(o.value),3)]),g("div",V0,[g("ul",M0,[(j(!0),U(dt,null,Ie(i.value,(f,h)=>(j(),U("li",{key:h,class:Dt(["slds-tabs_default__item",{"slds-is-active":n.value===h}]),role:"presentation"},[g("a",{class:"slds-tabs_default__link",role:"tab",tabindex:"0","aria-selected":n.value===h,"aria-controls":`tab-${h}`,onClick:m=>n.value=h},[g("span",O0,J(l(f,h)),1)],8,D0)],2))),128))]),(j(!0),U(dt,null,Ie(i.value,(f,h)=>(j(),U("div",{id:`tab-${h}`,key:h,class:Dt(["slds-tabs_default__content",{"slds-show":n.value===h,"slds-hide":n.value!==h}]),role:"tabpanel"},[g("div",L0,[g("div",F0," Schema Type: "+J(a(f)),1),nt(Ve,{schema:f,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])],10,R0))),128))])]))}},j0={class:"slds-box slds-theme_shade"},B0={class:"slds-grid slds-wrap slds-gutters"},k0={class:"slds-col slds-size_1-of-1 slds-p-around_xx-small"},$0={key:0,class:"slds-box slds-theme_shade slds-m-vertical_xx-small"},N0={key:1,class:"slds-badge slds-badge_inverse"},U0={__name:"ConstSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>e.schema.const),n=_t(()=>typeof s.value=="object"&&s.value!==null),i=_t(()=>n.value?JSON.stringify(s.value,null,2):s.value);return(o,r)=>(j(),U("div",j0,[r[0]||(r[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Const Value ",-1)),g("div",B0,[g("div",k0,[n.value?(j(),U("pre",$0,[g("code",null,J(i.value),1)])):(j(),U("div",N0,J(i.value),1))])])]))}},H0={class:"slds-box slds-theme_shade"},K0={class:"slds-grid slds-wrap slds-gutters"},W0={class:"slds-badge slds-badge_inverse"},G0={__name:"EnumSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>e.schema.enum);return(n,i)=>(j(),U("div",H0,[i[0]||(i[0]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Enum Values ",-1)),g("div",K0,[(j(!0),U(dt,null,Ie(s.value,(o,r)=>(j(),U("div",{key:r,class:"slds-col slds-size_1-of-3 slds-p-around_xx-small"},[g("div",W0,J(o),1)]))),128))])]))}},z0="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",q0={key:0},Y0={key:1},X0={class:"slds-box slds-m-top_small"},Z0={class:"slds-table_container"},J0={class:"slds-table slds-table_cell-buffer slds-table_bordered"},Q0=["onClick"],tb=["title"],eb={class:"slds-truncate"},sb={class:"slds-badge"},nb=["title"],ib={class:"slds-truncate"},ob={key:0,class:"slds-badge slds-badge_success"},rb={key:1,class:"slds-badge slds-badge_inverse"},ab={key:0},lb={colspan:"4",class:"slds-p-around_medium"},cb={class:"slds-box slds-theme_shade"},ub={key:2},fb={key:3},db={key:0},hb={__name:"ObjectSchema",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,required:!0}},setup(t){const e=t,s=os({}),n=_t(()=>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:ss.hasComposition(a)?"composition":ss.isEnum(a)?"enum":ss.isConst(a)?"const":"No type found"}function r(a){s.value[a]=!s.value[a]}return(a,l)=>(j(),U("div",null,[l[6]||(l[6]=g("div",null,[g("div",null,"Type: object")],-1)),nt(cr,{schema:t.schema},null,8,["schema"]),t.schema.required&&t.schema.required.length>0?(j(),U("div",q0,[l[0]||(l[0]=g("span",null,"Required properties:",-1)),g("span",null,J(t.schema.required.join(", ")),1)])):kt("",!0),n.value?(j(),U("div",Y0,[g("div",X0,[l[2]||(l[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Properties ",-1)),g("div",Z0,[g("table",J0,[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,[(j(!0),U(dt,null,Ie(t.schema.properties,(u,c)=>(j(),U(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:z0,class:Dt(["slds-button__icon",{expanded:s.value[c]}]),alt:""},null,2),js(" "+J(c),1)],8,tb)]),g("td",null,[g("div",eb,[g("span",sb,J(o(u)),1)])]),g("td",null,[g("div",{class:"slds-truncate",title:u.description},J(u.description||"No description"),9,nb)]),g("td",null,[g("div",ib,[i(c)?(j(),U("span",ob,"Required")):(j(),U("span",rb,"Optional"))])])],8,Q0),nt(Mh,null,{default:En(()=>[s.value[c]?(j(),U("tr",ab,[g("td",lb,[g("div",cb,[nt(Ve,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])])])])):kt("",!0)]),_:2},1024)],64))),128))])])])])])):kt("",!0),t.schema.patternProperties?(j(),U("div",ub,[l[4]||(l[4]=g("div",null,"Pattern Properties",-1)),g("div",null,[(j(!0),U(dt,null,Ie(t.schema.patternProperties,(u,c)=>(j(),U("div",{key:c},[g("div",null,[g("div",null,[l[3]||(l[3]=g("span",null,"Pattern:",-1)),g("code",null,J(c),1)])]),nt(Ve,{schema:u,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"])]))),128))])])):kt("",!0),t.schema.additionalProperties!==void 0?(j(),U("div",fb,[l[5]||(l[5]=g("div",null,"Additional Properties",-1)),typeof t.schema.additionalProperties=="boolean"?(j(),U("div",db,[g("span",{class:Dt(t.schema.additionalProperties?"status-allowed":"status-denied")},J(t.schema.additionalProperties?"Allowed":"Not allowed"),3)])):(j(),Bt(Ve,{key:1,schema:t.schema.additionalProperties,"root-schema":t.rootSchema,"is-root":!1},null,8,["schema","root-schema"]))])):kt("",!0),n.value?kt("",!0):(j(),Bt(mf,{key:4}))]))}},pb={class:"slds-box slds-m-top_small"},mb={class:"slds-box slds-theme_shade"},gb={class:"slds-text-body_regular"},yb={class:"slds-grid slds-gutters"},vb={class:"slds-col"},bb={class:"slds-badge"},xb={class:"slds-col"},rn={__name:"PrimitiveSchema",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(j(),U("div",pb,[s[2]||(s[2]=g("div",{class:"slds-text-heading_small slds-m-bottom_small"}," Type Information ",-1)),g("div",mb,[g("div",gb,[g("div",yb,[g("div",vb,[s[0]||(s[0]=g("div",{class:"slds-text-title_caps slds-m-bottom_xx-small"}," Type ",-1)),g("div",bb,J(t.schema.type),1)]),g("div",xb,[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)])])])]),nt(cr,{schema:t.schema},null,8,["schema"])]))}},_b={object:hb,array:A0,string:rn,number:rn,integer:rn,boolean:rn,null:rn},ss={hasComposition:t=>!!(t.anyOf||t.oneOf||t.allOf),isEnum:t=>"enum"in t&&Array.isArray(t.enum),isConst:t=>"const"in t,getComponentForSchema:t=>ss.hasComposition(t)?I0:ss.isEnum(t)?G0:ss.isConst(t)?U0:_b[t.type]||null},Sb={class:"slds-grid slds-grid_vertical"},Tb={class:"slds-col slds-size_1-of-1"},wb={class:"slds-card"},Pb={class:"slds-card__body slds-card__body_inner"},Ab={__name:"SchemaLayout",setup(t){return(e,s)=>(j(),U("div",Sb,[g("div",Tb,[g("div",wb,[g("div",Pb,[Bd(e.$slots,"default")])])])]))}},Cb={class:"slds-box"},Eb={class:"slds-box slds-theme_shade"},Vb={__name:"PlainSchemaView",props:{schema:{type:Object,required:!0}},setup(t){const e=t,s=_t(()=>{const n=JSON.parse(JSON.stringify(e.schema));return n._metadata&&delete n._metadata,JSON.stringify(n,null,2)});return(n,i)=>(j(),U("div",Cb,[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",Eb,[g("code",null,J(s.value),1)])]))}},Mb={class:"slds-page-header"},Db={class:"slds-page-header__row"},Ob={class:"slds-page-header__col-title"},Rb={class:"slds-media"},Lb={class:"slds-media__body"},Fb={class:"slds-page-header__name"},Ib={class:"slds-page-header__name-title"},jb={class:"slds-page-header__title slds-truncate",title:"{{ schema.title || 'Schema' }}"},Bb={class:"slds-page-header__meta-text"},kb={__name:"SchemaHeader",props:{schema:{type:Object,required:!0}},setup(t){return(e,s)=>(j(),U("div",Mb,[g("div",Db,[g("div",Ob,[g("div",Rb,[s[0]||(s[0]=g("div",{class:"slds-media__figure"},[g("span",{class:"slds-icon_container slds-icon-standard-account"},[g("img",{src:hl,class:"slds-icon slds-icon_small",alt:""})])],-1)),g("div",Lb,[g("div",Fb,[g("div",Ib,[g("h1",jb,J(t.schema.title||"Schema"),1)])]),g("div",Bb,J(t.schema.description||"No description provided"),1)])])])])]))}},$b={class:"slds-tabs_default__nav",role:"tablist"},Nb={__name:"SchemaTabs",props:{modelValue:{type:String,required:!0}},emits:["update:modelValue"],setup(t){return(e,s)=>(j(),U("ul",$b,[g("li",{class:Dt(["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:Dt(["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)]))}},Ub={class:"slds-notify slds-notify_alert slds-theme_alert-texture slds-theme_warning",role:"alert"},Hb={class:"slds-notify__content"},Kb=pf({__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)=>(j(),U("div",Ub,[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:hf,class:"slds-icon slds-icon_x-small warning-icon",alt:""})],-1)),g("h2",null,J(t.title),1),g("div",Hb,[g("p",null,J(t.message),1)])]))}},[["__scopeId","data-v-bde50c13"]]),Wb={class:"slds-tabs_default"},Gb={class:"slds-p-around_medium"},zb={class:"slds-m-top_medium"},qb={class:"slds-p-around_medium"},Ve={__name:"SchemaViewer",props:{schema:{type:Object,required:!0},rootSchema:{type:Object,default:null},isRoot:{type:Boolean,default:!0}},setup(t){const e=t,s=os("visual"),n=_t(()=>e.isRoot?e.schema:e.rootSchema);Ri("rootSchema",n);const i=_t(()=>ss.getComponentForSchema(e.schema));return(o,r)=>(j(),Bt(Ab,null,{default:En(()=>[g("div",Wb,[nt(Nb,{modelValue:s.value,"onUpdate:modelValue":r[0]||(r[0]=a=>s.value=a)},null,8,["modelValue"]),g("div",{class:Dt({"slds-show":s.value==="visual","slds-hide":s.value!=="visual"})},[g("div",Gb,[nt(kb,{schema:t.schema},null,8,["schema"]),g("div",zb,[i.value?(j(),Bt(Id(i.value),{key:0,schema:t.schema,"root-schema":n.value},null,8,["schema","root-schema"])):(j(),Bt(Kb,{key:1}))])])],2),g("div",{class:Dt({"slds-show":s.value==="plain","slds-hide":s.value!=="plain"})},[g("div",qb,[nt(Vb,{schema:t.schema},null,8,["schema"])])],2)])]),_:1}))}},Yb={class:"slds-grid slds-grid_vertical"},Xb={class:"slds-grid slds-gutters slds-grid_vertical-fill"},Zb={class:"slds-col slds-size_2-of-12"},Jb={class:"slds-col slds-size_10-of-12"},Qb={key:1,class:"slds-p-around_medium"},gf={__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=os(e.schemas.length>0?e.schemas[0]:null);function n(i){s.value=i}return(i,o)=>(j(),U("div",Yb,[nt(_p,{title:t.title},null,8,["title"]),g("div",Xb,[g("div",Zb,[nt(a0,{schemas:t.schemas,"selected-schema":s.value,onSelectSchema:n},null,8,["schemas","selected-schema"])]),g("div",Jb,[s.value?(j(),Bt(Ve,{key:0,schema:s.value.schema,"is-root":!0},null,8,["schema"])):(j(),U("div",Qb,[...o[0]||(o[0]=[mh('<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)])]))])]),nt(dp,{description:t.description,"generated-at":t.generatedAt,"schema-count":t.schemas.length},null,8,["description","generated-at","schema-count"])]))}};async function yf(){const t=window.__JSON_SCHEMA_DOCS_DATA__||{title:"JSON Schema Documentation",description:"",schemas:[],generatedAt:new Date().toISOString()};document.getElementById("app")&&dl(gf,t).mount("#app")}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",yf):yf(),ke.App=gf,ke.createApp=dl,Object.defineProperty(ke,Symbol.toStringTag,{value:"Module"})}));
|