lumina-slides 8.2.5 → 8.3.0
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.
- package/dist/lumina-slides.js +4340 -4122
- package/dist/lumina-slides.umd.cjs +34 -19
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,55 +1,70 @@
|
|
|
1
|
-
(function(Je,Ke){typeof exports=="object"&&typeof module<"u"?Ke(exports):typeof define=="function"&&define.amd?define(["exports"],Ke):(Je=typeof globalThis<"u"?globalThis:Je||self,Ke(Je.LuminaSlides={}))})(this,function(Je){"use strict";var
|
|
1
|
+
(function(Je,Ke){typeof exports=="object"&&typeof module<"u"?Ke(exports):typeof define=="function"&&define.amd?define(["exports"],Ke):(Je=typeof globalThis<"u"?globalThis:Je||self,Ke(Je.LuminaSlides={}))})(this,function(Je){"use strict";var $1=Object.defineProperty;var A1=(Je,Ke,oe)=>Ke in Je?$1(Je,Ke,{enumerable:!0,configurable:!0,writable:!0,value:oe}):Je[Ke]=oe;var et=(Je,Ke,oe)=>A1(Je,typeof Ke!="symbol"?Ke+"":Ke,oe);/**
|
|
2
2
|
* @vue/shared v3.5.26
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
|
-
**/function Ke(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const
|
|
5
|
+
**/function Ke(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const oe={},ar=[],Ft=()=>{},wa=()=>!1,$i=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Is=t=>t.startsWith("onUpdate:"),De=Object.assign,Ds=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},sd=Object.prototype.hasOwnProperty,ae=(t,e)=>sd.call(t,e),W=Array.isArray,lr=t=>Ai(t)==="[object Map]",Sa=t=>Ai(t)==="[object Set]",q=t=>typeof t=="function",we=t=>typeof t=="string",rn=t=>typeof t=="symbol",pe=t=>t!==null&&typeof t=="object",ka=t=>(pe(t)||q(t))&&q(t.then)&&q(t.catch),Ta=Object.prototype.toString,Ai=t=>Ta.call(t),od=t=>Ai(t).slice(8,-1),za=t=>Ai(t)==="[object Object]",Ms=t=>we(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Lr=Ke(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ii=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},ad=/-\w/g,St=Ii(t=>t.replace(ad,e=>e.slice(1).toUpperCase())),ld=/\B([A-Z])/g,Zn=Ii(t=>t.replace(ld,"-$1").toLowerCase()),Di=Ii(t=>t.charAt(0).toUpperCase()+t.slice(1)),Ns=Ii(t=>t?`on${Di(t)}`:""),yn=(t,e)=>!Object.is(t,e),Rs=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},Ca=(t,e,n,r=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:r,value:n})},cd=t=>{const e=parseFloat(t);return isNaN(e)?t:e},ud=t=>{const e=we(t)?Number(t):NaN;return isNaN(e)?t:e};let Oa;const Mi=()=>Oa||(Oa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Zt(t){if(W(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],i=we(r)?pd(r):Zt(r);if(i)for(const s in i)e[s]=i[s]}return e}else if(we(t)||pe(t))return t}const fd=/;(?![^(]*\))/g,dd=/:([^]+)/,hd=/\/\*[^]*?\*\//g;function pd(t){const e={};return t.replace(hd,"").split(fd).forEach(n=>{if(n){const r=n.split(dd);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function X(t){let e="";if(we(t))e=t;else if(W(t))for(let n=0;n<t.length;n++){const r=X(t[n]);r&&(e+=r+" ")}else if(pe(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}const _d=Ke("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Ea(t){return!!t||t===""}const Pa=t=>!!(t&&t.__v_isRef===!0),ce=t=>we(t)?t:t==null?"":W(t)||pe(t)&&(t.toString===Ta||!q(t.toString))?Pa(t)?ce(t.value):JSON.stringify(t,$a,2):String(t),$a=(t,e)=>Pa(e)?$a(t,e.value):lr(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,i],s)=>(n[Fs(r,s)+" =>"]=i,n),{})}:Sa(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Fs(n))}:rn(e)?Fs(e):pe(e)&&!W(e)&&!za(e)?String(e):e,Fs=(t,e="")=>{var n;return rn(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/**
|
|
6
6
|
* @vue/reactivity v3.5.26
|
|
7
7
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
8
|
* @license MIT
|
|
9
|
-
**/let tt;class pd{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=tt,!e&&tt&&(this.index=(tt.scopes||(tt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].pause();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].resume();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].resume()}}run(e){if(this._active){const n=tt;try{return tt=this,e()}finally{tt=n}}}on(){++this._on===1&&(this.prevScope=tt,tt=this)}off(){this._on>0&&--this._on===0&&(tt=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!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 _d(){return tt}let _e;const Rs=new WeakSet;class Pa{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,tt&&tt.active&&tt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Rs.has(this)&&(Rs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Aa(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ra(this),Ia(this);const e=_e,n=At;_e=this,At=!0;try{return this.fn()}finally{Da(this),_e=e,At=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)js(e);this.deps=this.depsTail=void 0,Ra(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Rs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ls(this)&&this.run()}get dirty(){return Ls(this)}}let $a=0,Rr,Fr;function Aa(t,e=!1){if(t.flags|=8,e){t.next=Fr,Fr=t;return}t.next=Rr,Rr=t}function Fs(){$a++}function Zs(){if(--$a>0)return;if(Fr){let e=Fr;for(Fr=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;Rr;){let e=Rr;for(Rr=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(r){t||(t=r)}e=n}}if(t)throw t}function Ia(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Da(t){let e,n=t.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),js(r),md(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}t.deps=e,t.depsTail=n}function Ls(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Ma(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Ma(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Zr)||(t.globalVersion=Zr,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Ls(t))))return;t.flags|=2;const e=t.dep,n=_e,r=At;_e=t,At=!0;try{Ia(t);const i=t.fn(t._value);(e.version===0||gn(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{_e=n,At=r,Da(t),t.flags&=-3}}function js(t,e=!1){const{dep:n,prevSub:r,nextSub:i}=t;if(r&&(r.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=r,t.nextSub=void 0),n.subs===t&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)js(s,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function md(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let At=!0;const Na=[];function Zt(){Na.push(At),At=!1}function Lt(){const t=Na.pop();At=t===void 0?!0:t}function Ra(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=_e;_e=void 0;try{e()}finally{_e=n}}}let Zr=0;class gd{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Us{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(!_e||!At||_e===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==_e)n=this.activeLink=new gd(_e,this),_e.deps?(n.prevDep=_e.depsTail,_e.depsTail.nextDep=n,_e.depsTail=n):_e.deps=_e.depsTail=n,Fa(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=_e.depsTail,n.nextDep=void 0,_e.depsTail.nextDep=n,_e.depsTail=n,_e.deps===n&&(_e.deps=r)}return n}trigger(e){this.version++,Zr++,this.notify(e)}notify(e){Fs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Zs()}}}function Fa(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let r=e.deps;r;r=r.nextDep)Fa(r)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Vs=new WeakMap,Zn=Symbol(""),Bs=Symbol(""),Lr=Symbol("");function Ze(t,e,n){if(At&&_e){let r=Vs.get(t);r||Vs.set(t,r=new Map);let i=r.get(n);i||(r.set(n,i=new Us),i.map=r,i.key=n),i.track()}}function rn(t,e,n,r,i,s){const o=Vs.get(t);if(!o){Zr++;return}const a=l=>{l&&l.trigger()};if(Fs(),e==="clear")o.forEach(a);else{const l=W(t),u=l&&Is(n);if(l&&n==="length"){const c=Number(r);o.forEach((f,h)=>{(h==="length"||h===Lr||!nn(h)&&h>=c)&&a(f)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),u&&a(o.get(Lr)),e){case"add":l?u&&a(o.get("length")):(a(o.get(Zn)),ar(t)&&a(o.get(Bs)));break;case"delete":l||(a(o.get(Zn)),ar(t)&&a(o.get(Bs)));break;case"set":ar(t)&&a(o.get(Zn));break}}Zs()}function lr(t){const e=re(t);return e===t?e:(Ze(e,"iterate",Lr),kt(t)?e:e.map(It))}function Di(t){return Ze(t=re(t),"iterate",Lr),t}function vn(t,e){return on(t)?Ln(t)?cr(It(e)):cr(e):It(e)}const vd={__proto__:null,[Symbol.iterator](){return Hs(this,Symbol.iterator,t=>vn(this,t))},concat(...t){return lr(this).concat(...t.map(e=>W(e)?lr(e):e))},entries(){return Hs(this,"entries",t=>(t[1]=vn(this,t[1]),t))},every(t,e){return sn(this,"every",t,e,void 0,arguments)},filter(t,e){return sn(this,"filter",t,e,n=>n.map(r=>vn(this,r)),arguments)},find(t,e){return sn(this,"find",t,e,n=>vn(this,n),arguments)},findIndex(t,e){return sn(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return sn(this,"findLast",t,e,n=>vn(this,n),arguments)},findLastIndex(t,e){return sn(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return sn(this,"forEach",t,e,void 0,arguments)},includes(...t){return Ws(this,"includes",t)},indexOf(...t){return Ws(this,"indexOf",t)},join(t){return lr(this).join(t)},lastIndexOf(...t){return Ws(this,"lastIndexOf",t)},map(t,e){return sn(this,"map",t,e,void 0,arguments)},pop(){return jr(this,"pop")},push(...t){return jr(this,"push",t)},reduce(t,...e){return Za(this,"reduce",t,e)},reduceRight(t,...e){return Za(this,"reduceRight",t,e)},shift(){return jr(this,"shift")},some(t,e){return sn(this,"some",t,e,void 0,arguments)},splice(...t){return jr(this,"splice",t)},toReversed(){return lr(this).toReversed()},toSorted(t){return lr(this).toSorted(t)},toSpliced(...t){return lr(this).toSpliced(...t)},unshift(...t){return jr(this,"unshift",t)},values(){return Hs(this,"values",t=>vn(this,t))}};function Hs(t,e,n){const r=Di(t),i=r[e]();return r!==t&&!kt(t)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.done||(s.value=n(s.value)),s}),i}const yd=Array.prototype;function sn(t,e,n,r,i,s){const o=Di(t),a=o!==t&&!kt(t),l=o[e];if(l!==yd[e]){const f=l.apply(t,s);return a?It(f):f}let u=n;o!==t&&(a?u=function(f,h){return n.call(this,vn(t,f),h,t)}:n.length>2&&(u=function(f,h){return n.call(this,f,h,t)}));const c=l.call(o,u,r);return a&&i?i(c):c}function Za(t,e,n,r){const i=Di(t);let s=n;return i!==t&&(kt(t)?n.length>3&&(s=function(o,a,l){return n.call(this,o,a,l,t)}):s=function(o,a,l){return n.call(this,o,vn(t,a),l,t)}),i[e](s,...r)}function Ws(t,e,n){const r=re(t);Ze(r,"iterate",Lr);const i=r[e](...n);return(i===-1||i===!1)&&Ks(n[0])?(n[0]=re(n[0]),r[e](...n)):i}function jr(t,e,n=[]){Zt(),Fs();const r=re(t)[e].apply(t,n);return Zs(),Lt(),r}const bd=Ke("__proto__,__v_isRef,__isVue"),La=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(nn));function xd(t){nn(t)||(t=String(t));const e=re(this);return Ze(e,"has",t),e.hasOwnProperty(t)}class ja{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,r){if(n==="__v_skip")return e.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?Ja:Wa:s?Ha:Ba).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const o=W(e);if(!i){let l;if(o&&(l=vd[n]))return l;if(n==="hasOwnProperty")return xd}const a=Reflect.get(e,n,Ne(e)?e:r);if((nn(n)?La.has(n):bd(n))||(i||Ze(e,"get",n),s))return a;if(Ne(a)){const l=o&&Is(n)?a:a.value;return i&&he(l)?Zi(l):l}return he(a)?i?Zi(a):Fi(a):a}}class Ua extends ja{constructor(e=!1){super(!1,e)}set(e,n,r,i){let s=e[n];const o=W(e)&&Is(n);if(!this._isShallow){const u=on(s);if(!kt(r)&&!on(r)&&(s=re(s),r=re(r)),!o&&Ne(s)&&!Ne(r))return u||(s.value=r),!0}const a=o?Number(n)<e.length:oe(e,n),l=Reflect.set(e,n,r,Ne(e)?e:i);return e===re(i)&&(a?gn(r,s)&&rn(e,"set",n,r):rn(e,"add",n,r)),l}deleteProperty(e,n){const r=oe(e,n);e[n];const i=Reflect.deleteProperty(e,n);return i&&r&&rn(e,"delete",n,void 0),i}has(e,n){const r=Reflect.has(e,n);return(!nn(n)||!La.has(n))&&Ze(e,"has",n),r}ownKeys(e){return Ze(e,"iterate",W(e)?"length":Zn),Reflect.ownKeys(e)}}class Va extends ja{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const wd=new Ua,Sd=new Va,kd=new Ua(!0),Td=new Va(!0),Js=t=>t,Mi=t=>Reflect.getPrototypeOf(t);function zd(t,e,n){return function(...r){const i=this.__v_raw,s=re(i),o=ar(s),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,u=i[t](...r),c=n?Js:e?cr:It;return!e&&Ze(s,"iterate",l?Bs:Zn),{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}},[Symbol.iterator](){return this}}}}function Ni(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Cd(t,e){const n={get(i){const s=this.__v_raw,o=re(s),a=re(i);t||(gn(i,a)&&Ze(o,"get",i),Ze(o,"get",a));const{has:l}=Mi(o),u=e?Js:t?cr:It;if(l.call(o,i))return u(s.get(i));if(l.call(o,a))return u(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!t&&Ze(re(i),"iterate",Zn),i.size},has(i){const s=this.__v_raw,o=re(s),a=re(i);return t||(gn(i,a)&&Ze(o,"has",i),Ze(o,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const o=this,a=o.__v_raw,l=re(a),u=e?Js:t?cr:It;return!t&&Ze(l,"iterate",Zn),a.forEach((c,f)=>i.call(s,u(c),u(f),o))}};return Ae(n,t?{add:Ni("add"),set:Ni("set"),delete:Ni("delete"),clear:Ni("clear")}:{add(i){!e&&!kt(i)&&!on(i)&&(i=re(i));const s=re(this);return Mi(s).has.call(s,i)||(s.add(i),rn(s,"add",i,i)),this},set(i,s){!e&&!kt(s)&&!on(s)&&(s=re(s));const o=re(this),{has:a,get:l}=Mi(o);let u=a.call(o,i);u||(i=re(i),u=a.call(o,i));const c=l.call(o,i);return o.set(i,s),u?gn(s,c)&&rn(o,"set",i,s):rn(o,"add",i,s),this},delete(i){const s=re(this),{has:o,get:a}=Mi(s);let l=o.call(s,i);l||(i=re(i),l=o.call(s,i)),a&&a.call(s,i);const u=s.delete(i);return l&&rn(s,"delete",i,void 0),u},clear(){const i=re(this),s=i.size!==0,o=i.clear();return s&&rn(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=zd(i,t,e)}),n}function Ri(t,e){const n=Cd(t,e);return(r,i,s)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?r:Reflect.get(oe(n,i)&&i in r?n:r,i,s)}const Od={get:Ri(!1,!1)},Ed={get:Ri(!1,!0)},Pd={get:Ri(!0,!1)},$d={get:Ri(!0,!0)},Ba=new WeakMap,Ha=new WeakMap,Wa=new WeakMap,Ja=new WeakMap;function Ad(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Id(t){return t.__v_skip||!Object.isExtensible(t)?0:Ad(id(t))}function Fi(t){return on(t)?t:Li(t,!1,wd,Od,Ba)}function Dd(t){return Li(t,!1,kd,Ed,Ha)}function Zi(t){return Li(t,!0,Sd,Pd,Wa)}function yx(t){return Li(t,!0,Td,$d,Ja)}function Li(t,e,n,r,i){if(!he(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=Id(t);if(s===0)return t;const o=i.get(t);if(o)return o;const a=new Proxy(t,s===2?r:n);return i.set(t,a),a}function Ln(t){return on(t)?Ln(t.__v_raw):!!(t&&t.__v_isReactive)}function on(t){return!!(t&&t.__v_isReadonly)}function kt(t){return!!(t&&t.__v_isShallow)}function Ks(t){return t?!!t.__v_raw:!1}function re(t){const e=t&&t.__v_raw;return e?re(e):t}function Md(t){return!oe(t,"__v_skip")&&Object.isExtensible(t)&&Ta(t,"__v_skip",!0),t}const It=t=>he(t)?Fi(t):t,cr=t=>he(t)?Zi(t):t;function Ne(t){return t?t.__v_isRef===!0:!1}function Ka(t){return Nd(t,!1)}function Nd(t,e){return Ne(t)?t:new Rd(t,e)}class Rd{constructor(e,n){this.dep=new Us,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:re(e),this._value=n?e:It(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,r=this.__v_isShallow||kt(e)||on(e);e=r?e:re(e),gn(e,n)&&(this._rawValue=e,this._value=r?e:It(e),this.dep.trigger())}}function jt(t){return Ne(t)?t.value:t}const Fd={get:(t,e,n)=>e==="__v_raw"?t:jt(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return Ne(i)&&!Ne(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function qa(t){return Ln(t)?t:new Proxy(t,Fd)}class Zd{constructor(e,n,r){this.fn=e,this.setter=n,this._value=void 0,this.dep=new Us(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Zr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&_e!==this)return Aa(this,!0),!0}get value(){const e=this.dep.track();return Ma(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Ld(t,e,n=!1){let r,i;return K(t)?r=t:(r=t.get,i=t.set),new Zd(r,i,n)}const ji={},Ui=new WeakMap;let jn;function jd(t,e=!1,n=jn){if(n){let r=Ui.get(n);r||Ui.set(n,r=[]),r.push(t)}}function Ud(t,e,n=se){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:l}=n,u=b=>i?b:kt(b)||i===!1||i===0?yn(b,1):yn(b);let c,f,h,d,m=!1,p=!1;if(Ne(t)?(f=()=>t.value,m=kt(t)):Ln(t)?(f=()=>u(t),m=!0):W(t)?(p=!0,m=t.some(b=>Ln(b)||kt(b)),f=()=>t.map(b=>{if(Ne(b))return b.value;if(Ln(b))return u(b);if(K(b))return l?l(b,2):b()})):K(t)?e?f=l?()=>l(t,2):t:f=()=>{if(h){Zt();try{h()}finally{Lt()}}const b=jn;jn=c;try{return l?l(t,3,[d]):t(d)}finally{jn=b}}:f=Rt,e&&i){const b=f,v=i===!0?1/0:i;f=()=>yn(b(),v)}const y=_d(),x=()=>{c.stop(),y&&y.active&&As(y.effects,c)};if(s&&e){const b=e;e=(...v)=>{b(...v),x()}}let S=p?new Array(t.length).fill(ji):ji;const k=b=>{if(!(!(c.flags&1)||!c.dirty&&!b))if(e){const v=c.run();if(i||m||(p?v.some((E,$)=>gn(E,S[$])):gn(v,S))){h&&h();const E=jn;jn=c;try{const $=[v,S===ji?void 0:p&&S[0]===ji?[]:S,d];S=v,l?l(e,3,$):e(...$)}finally{jn=E}}}else c.run()};return a&&a(k),c=new Pa(f),c.scheduler=o?()=>o(k,!1):k,d=b=>jd(b,!1,c),h=c.onStop=()=>{const b=Ui.get(c);if(b){if(l)l(b,4);else for(const v of b)v();Ui.delete(c)}},e?r?k(!0):S=c.run():o?o(k.bind(null,!0),!0):c.run(),x.pause=c.pause.bind(c),x.resume=c.resume.bind(c),x.stop=x,x}function yn(t,e=1/0,n){if(e<=0||!he(t)||t.__v_skip||(n=n||new Map,(n.get(t)||0)>=e))return t;if(n.set(t,e),e--,Ne(t))yn(t.value,e,n);else if(W(t))for(let r=0;r<t.length;r++)yn(t[r],e,n);else if(xa(t)||ar(t))t.forEach(r=>{yn(r,e,n)});else if(ka(t)){for(const r in t)yn(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&yn(t[r],e,n)}return t}/**
|
|
9
|
+
**/let tt;class md{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=tt,!e&&tt&&(this.index=(tt.scopes||(tt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].pause();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].resume();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].resume()}}run(e){if(this._active){const n=tt;try{return tt=this,e()}finally{tt=n}}}on(){++this._on===1&&(this.prevScope=tt,tt=this)}off(){this._on>0&&--this._on===0&&(tt=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!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 gd(){return tt}let _e;const Zs=new WeakSet;class Aa{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,tt&&tt.active&&tt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Zs.has(this)&&(Zs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Da(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Za(this),Ma(this);const e=_e,n=It;_e=this,It=!0;try{return this.fn()}finally{Na(this),_e=e,It=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Bs(e);this.deps=this.depsTail=void 0,Za(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Zs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Us(this)&&this.run()}get dirty(){return Us(this)}}let Ia=0,jr,Ur;function Da(t,e=!1){if(t.flags|=8,e){t.next=Ur,Ur=t;return}t.next=jr,jr=t}function Ls(){Ia++}function js(){if(--Ia>0)return;if(Ur){let e=Ur;for(Ur=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;jr;){let e=jr;for(jr=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(r){t||(t=r)}e=n}}if(t)throw t}function Ma(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Na(t){let e,n=t.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),Bs(r),vd(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}t.deps=e,t.depsTail=n}function Us(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Ra(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Ra(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Br)||(t.globalVersion=Br,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Us(t))))return;t.flags|=2;const e=t.dep,n=_e,r=It;_e=t,It=!0;try{Ma(t);const i=t.fn(t._value);(e.version===0||yn(i,t._value))&&(t.flags|=128,t._value=i,e.version++)}catch(i){throw e.version++,i}finally{_e=n,It=r,Na(t),t.flags&=-3}}function Bs(t,e=!1){const{dep:n,prevSub:r,nextSub:i}=t;if(r&&(r.nextSub=i,t.prevSub=void 0),i&&(i.prevSub=r,t.nextSub=void 0),n.subs===t&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Bs(s,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function vd(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let It=!0;const Fa=[];function Lt(){Fa.push(It),It=!1}function jt(){const t=Fa.pop();It=t===void 0?!0:t}function Za(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=_e;_e=void 0;try{e()}finally{_e=n}}}let Br=0;class yd{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Vs{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(!_e||!It||_e===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==_e)n=this.activeLink=new yd(_e,this),_e.deps?(n.prevDep=_e.depsTail,_e.depsTail.nextDep=n,_e.depsTail=n):_e.deps=_e.depsTail=n,La(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=_e.depsTail,n.nextDep=void 0,_e.depsTail.nextDep=n,_e.depsTail=n,_e.deps===n&&(_e.deps=r)}return n}trigger(e){this.version++,Br++,this.notify(e)}notify(e){Ls();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{js()}}}function La(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let r=e.deps;r;r=r.nextDep)La(r)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Hs=new WeakMap,Ln=Symbol(""),Ws=Symbol(""),Vr=Symbol("");function Le(t,e,n){if(It&&_e){let r=Hs.get(t);r||Hs.set(t,r=new Map);let i=r.get(n);i||(r.set(n,i=new Vs),i.map=r,i.key=n),i.track()}}function sn(t,e,n,r,i,s){const o=Hs.get(t);if(!o){Br++;return}const a=l=>{l&&l.trigger()};if(Ls(),e==="clear")o.forEach(a);else{const l=W(t),c=l&&Ms(n);if(l&&n==="length"){const u=Number(r);o.forEach((f,h)=>{(h==="length"||h===Vr||!rn(h)&&h>=u)&&a(f)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),c&&a(o.get(Vr)),e){case"add":l?c&&a(o.get("length")):(a(o.get(Ln)),lr(t)&&a(o.get(Ws)));break;case"delete":l||(a(o.get(Ln)),lr(t)&&a(o.get(Ws)));break;case"set":lr(t)&&a(o.get(Ln));break}}js()}function cr(t){const e=re(t);return e===t?e:(Le(e,"iterate",Vr),kt(t)?e:e.map(Dt))}function Ni(t){return Le(t=re(t),"iterate",Vr),t}function bn(t,e){return an(t)?jn(t)?ur(Dt(e)):ur(e):Dt(e)}const bd={__proto__:null,[Symbol.iterator](){return Js(this,Symbol.iterator,t=>bn(this,t))},concat(...t){return cr(this).concat(...t.map(e=>W(e)?cr(e):e))},entries(){return Js(this,"entries",t=>(t[1]=bn(this,t[1]),t))},every(t,e){return on(this,"every",t,e,void 0,arguments)},filter(t,e){return on(this,"filter",t,e,n=>n.map(r=>bn(this,r)),arguments)},find(t,e){return on(this,"find",t,e,n=>bn(this,n),arguments)},findIndex(t,e){return on(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return on(this,"findLast",t,e,n=>bn(this,n),arguments)},findLastIndex(t,e){return on(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return on(this,"forEach",t,e,void 0,arguments)},includes(...t){return Ks(this,"includes",t)},indexOf(...t){return Ks(this,"indexOf",t)},join(t){return cr(this).join(t)},lastIndexOf(...t){return Ks(this,"lastIndexOf",t)},map(t,e){return on(this,"map",t,e,void 0,arguments)},pop(){return Hr(this,"pop")},push(...t){return Hr(this,"push",t)},reduce(t,...e){return ja(this,"reduce",t,e)},reduceRight(t,...e){return ja(this,"reduceRight",t,e)},shift(){return Hr(this,"shift")},some(t,e){return on(this,"some",t,e,void 0,arguments)},splice(...t){return Hr(this,"splice",t)},toReversed(){return cr(this).toReversed()},toSorted(t){return cr(this).toSorted(t)},toSpliced(...t){return cr(this).toSpliced(...t)},unshift(...t){return Hr(this,"unshift",t)},values(){return Js(this,"values",t=>bn(this,t))}};function Js(t,e,n){const r=Ni(t),i=r[e]();return r!==t&&!kt(t)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.done||(s.value=n(s.value)),s}),i}const xd=Array.prototype;function on(t,e,n,r,i,s){const o=Ni(t),a=o!==t&&!kt(t),l=o[e];if(l!==xd[e]){const f=l.apply(t,s);return a?Dt(f):f}let c=n;o!==t&&(a?c=function(f,h){return n.call(this,bn(t,f),h,t)}:n.length>2&&(c=function(f,h){return n.call(this,f,h,t)}));const u=l.call(o,c,r);return a&&i?i(u):u}function ja(t,e,n,r){const i=Ni(t);let s=n;return i!==t&&(kt(t)?n.length>3&&(s=function(o,a,l){return n.call(this,o,a,l,t)}):s=function(o,a,l){return n.call(this,o,bn(t,a),l,t)}),i[e](s,...r)}function Ks(t,e,n){const r=re(t);Le(r,"iterate",Vr);const i=r[e](...n);return(i===-1||i===!1)&&Ys(n[0])?(n[0]=re(n[0]),r[e](...n)):i}function Hr(t,e,n=[]){Lt(),Ls();const r=re(t)[e].apply(t,n);return js(),jt(),r}const wd=Ke("__proto__,__v_isRef,__isVue"),Ua=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(rn));function Sd(t){rn(t)||(t=String(t));const e=re(this);return Le(e,"has",t),e.hasOwnProperty(t)}class Ba{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,r){if(n==="__v_skip")return e.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?qa:Ka:s?Ja:Wa).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const o=W(e);if(!i){let l;if(o&&(l=bd[n]))return l;if(n==="hasOwnProperty")return Sd}const a=Reflect.get(e,n,Re(e)?e:r);if((rn(n)?Ua.has(n):wd(n))||(i||Le(e,"get",n),s))return a;if(Re(a)){const l=o&&Ms(n)?a:a.value;return i&&pe(l)?ji(l):l}return pe(a)?i?ji(a):Li(a):a}}class Va extends Ba{constructor(e=!1){super(!1,e)}set(e,n,r,i){let s=e[n];const o=W(e)&&Ms(n);if(!this._isShallow){const c=an(s);if(!kt(r)&&!an(r)&&(s=re(s),r=re(r)),!o&&Re(s)&&!Re(r))return c||(s.value=r),!0}const a=o?Number(n)<e.length:ae(e,n),l=Reflect.set(e,n,r,Re(e)?e:i);return e===re(i)&&(a?yn(r,s)&&sn(e,"set",n,r):sn(e,"add",n,r)),l}deleteProperty(e,n){const r=ae(e,n);e[n];const i=Reflect.deleteProperty(e,n);return i&&r&&sn(e,"delete",n,void 0),i}has(e,n){const r=Reflect.has(e,n);return(!rn(n)||!Ua.has(n))&&Le(e,"has",n),r}ownKeys(e){return Le(e,"iterate",W(e)?"length":Ln),Reflect.ownKeys(e)}}class Ha extends Ba{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const kd=new Va,Td=new Ha,zd=new Va(!0),Cd=new Ha(!0),qs=t=>t,Ri=t=>Reflect.getPrototypeOf(t);function Od(t,e,n){return function(...r){const i=this.__v_raw,s=re(i),o=lr(s),a=t==="entries"||t===Symbol.iterator&&o,l=t==="keys"&&o,c=i[t](...r),u=n?qs:e?ur:Dt;return!e&&Le(s,"iterate",l?Ws:Ln),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:a?[u(f[0]),u(f[1])]:u(f),done:h}},[Symbol.iterator](){return this}}}}function Fi(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Ed(t,e){const n={get(i){const s=this.__v_raw,o=re(s),a=re(i);t||(yn(i,a)&&Le(o,"get",i),Le(o,"get",a));const{has:l}=Ri(o),c=e?qs:t?ur:Dt;if(l.call(o,i))return c(s.get(i));if(l.call(o,a))return c(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!t&&Le(re(i),"iterate",Ln),i.size},has(i){const s=this.__v_raw,o=re(s),a=re(i);return t||(yn(i,a)&&Le(o,"has",i),Le(o,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const o=this,a=o.__v_raw,l=re(a),c=e?qs:t?ur:Dt;return!t&&Le(l,"iterate",Ln),a.forEach((u,f)=>i.call(s,c(u),c(f),o))}};return De(n,t?{add:Fi("add"),set:Fi("set"),delete:Fi("delete"),clear:Fi("clear")}:{add(i){!e&&!kt(i)&&!an(i)&&(i=re(i));const s=re(this);return Ri(s).has.call(s,i)||(s.add(i),sn(s,"add",i,i)),this},set(i,s){!e&&!kt(s)&&!an(s)&&(s=re(s));const o=re(this),{has:a,get:l}=Ri(o);let c=a.call(o,i);c||(i=re(i),c=a.call(o,i));const u=l.call(o,i);return o.set(i,s),c?yn(s,u)&&sn(o,"set",i,s):sn(o,"add",i,s),this},delete(i){const s=re(this),{has:o,get:a}=Ri(s);let l=o.call(s,i);l||(i=re(i),l=o.call(s,i)),a&&a.call(s,i);const c=s.delete(i);return l&&sn(s,"delete",i,void 0),c},clear(){const i=re(this),s=i.size!==0,o=i.clear();return s&&sn(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Od(i,t,e)}),n}function Zi(t,e){const n=Ed(t,e);return(r,i,s)=>i==="__v_isReactive"?!t:i==="__v_isReadonly"?t:i==="__v_raw"?r:Reflect.get(ae(n,i)&&i in r?n:r,i,s)}const Pd={get:Zi(!1,!1)},$d={get:Zi(!1,!0)},Ad={get:Zi(!0,!1)},Id={get:Zi(!0,!0)},Wa=new WeakMap,Ja=new WeakMap,Ka=new WeakMap,qa=new WeakMap;function Dd(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Md(t){return t.__v_skip||!Object.isExtensible(t)?0:Dd(od(t))}function Li(t){return an(t)?t:Ui(t,!1,kd,Pd,Wa)}function Nd(t){return Ui(t,!1,zd,$d,Ja)}function ji(t){return Ui(t,!0,Td,Ad,Ka)}function D1(t){return Ui(t,!0,Cd,Id,qa)}function Ui(t,e,n,r,i){if(!pe(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=Md(t);if(s===0)return t;const o=i.get(t);if(o)return o;const a=new Proxy(t,s===2?r:n);return i.set(t,a),a}function jn(t){return an(t)?jn(t.__v_raw):!!(t&&t.__v_isReactive)}function an(t){return!!(t&&t.__v_isReadonly)}function kt(t){return!!(t&&t.__v_isShallow)}function Ys(t){return t?!!t.__v_raw:!1}function re(t){const e=t&&t.__v_raw;return e?re(e):t}function Rd(t){return!ae(t,"__v_skip")&&Object.isExtensible(t)&&Ca(t,"__v_skip",!0),t}const Dt=t=>pe(t)?Li(t):t,ur=t=>pe(t)?ji(t):t;function Re(t){return t?t.__v_isRef===!0:!1}function Mt(t){return Fd(t,!1)}function Fd(t,e){return Re(t)?t:new Zd(t,e)}class Zd{constructor(e,n){this.dep=new Vs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:re(e),this._value=n?e:Dt(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,r=this.__v_isShallow||kt(e)||an(e);e=r?e:re(e),yn(e,n)&&(this._rawValue=e,this._value=r?e:Dt(e),this.dep.trigger())}}function Ut(t){return Re(t)?t.value:t}const Ld={get:(t,e,n)=>e==="__v_raw"?t:Ut(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const i=t[e];return Re(i)&&!Re(n)?(i.value=n,!0):Reflect.set(t,e,n,r)}};function Ya(t){return jn(t)?t:new Proxy(t,Ld)}class jd{constructor(e,n,r){this.fn=e,this.setter=n,this._value=void 0,this.dep=new Vs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Br-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&_e!==this)return Da(this,!0),!0}get value(){const e=this.dep.track();return Ra(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Ud(t,e,n=!1){let r,i;return q(t)?r=t:(r=t.get,i=t.set),new jd(r,i,n)}const Bi={},Vi=new WeakMap;let Un;function Bd(t,e=!1,n=Un){if(n){let r=Vi.get(n);r||Vi.set(n,r=[]),r.push(t)}}function Vd(t,e,n=oe){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:l}=n,c=x=>i?x:kt(x)||i===!1||i===0?xn(x,1):xn(x);let u,f,h,d,m=!1,p=!1;if(Re(t)?(f=()=>t.value,m=kt(t)):jn(t)?(f=()=>c(t),m=!0):W(t)?(p=!0,m=t.some(x=>jn(x)||kt(x)),f=()=>t.map(x=>{if(Re(x))return x.value;if(jn(x))return c(x);if(q(x))return l?l(x,2):x()})):q(t)?e?f=l?()=>l(t,2):t:f=()=>{if(h){Lt();try{h()}finally{jt()}}const x=Un;Un=u;try{return l?l(t,3,[d]):t(d)}finally{Un=x}}:f=Ft,e&&i){const x=f,y=i===!0?1/0:i;f=()=>xn(x(),y)}const b=gd(),w=()=>{u.stop(),b&&b.active&&Ds(b.effects,u)};if(s&&e){const x=e;e=(...y)=>{x(...y),w()}}let k=p?new Array(t.length).fill(Bi):Bi;const T=x=>{if(!(!(u.flags&1)||!u.dirty&&!x))if(e){const y=u.run();if(i||m||(p?y.some((E,P)=>yn(E,k[P])):yn(y,k))){h&&h();const E=Un;Un=u;try{const P=[y,k===Bi?void 0:p&&k[0]===Bi?[]:k,d];k=y,l?l(e,3,P):e(...P)}finally{Un=E}}}else u.run()};return a&&a(T),u=new Aa(f),u.scheduler=o?()=>o(T,!1):T,d=x=>Bd(x,!1,u),h=u.onStop=()=>{const x=Vi.get(u);if(x){if(l)l(x,4);else for(const y of x)y();Vi.delete(u)}},e?r?T(!0):k=u.run():o?o(T.bind(null,!0),!0):u.run(),w.pause=u.pause.bind(u),w.resume=u.resume.bind(u),w.stop=w,w}function xn(t,e=1/0,n){if(e<=0||!pe(t)||t.__v_skip||(n=n||new Map,(n.get(t)||0)>=e))return t;if(n.set(t,e),e--,Re(t))xn(t.value,e,n);else if(W(t))for(let r=0;r<t.length;r++)xn(t[r],e,n);else if(Sa(t)||lr(t))t.forEach(r=>{xn(r,e,n)});else if(za(t)){for(const r in t)xn(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&xn(t[r],e,n)}return t}/**
|
|
10
10
|
* @vue/runtime-core v3.5.26
|
|
11
11
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
12
|
* @license MIT
|
|
13
|
-
**/const
|
|
13
|
+
**/const Wr=[];let Gs=!1;function M1(t,...e){if(Gs)return;Gs=!0,Lt();const n=Wr.length?Wr[Wr.length-1].component:null,r=n&&n.appContext.config.warnHandler,i=Hd();if(r)fr(r,n,11,[t+e.map(s=>{var o,a;return(a=(o=s.toString)==null?void 0:o.call(s))!=null?a:JSON.stringify(s)}).join(""),n&&n.proxy,i.map(({vnode:s})=>`at <${tc(n,s.type)}>`).join(`
|
|
14
14
|
`),i]);else{const s=[`[Vue warn]: ${t}`,...e];i.length&&s.push(`
|
|
15
|
-
`,...
|
|
16
|
-
`],...Hd(n))}),e}function Hd({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",r=t.component?t.component.parent==null:!1,i=` at <${ec(t.component,t.type,r)}`,s=">"+n;return t.props?[i,...Wd(t.props),s]:[i+s]}function Wd(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(r=>{e.push(...Ya(r,t[r]))}),n.length>3&&e.push(" ..."),e}function Ya(t,e,n){return we(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:Ne(e)?(e=Ya(t,re(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):K(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=re(e),n?e:[`${t}=`,e])}function ur(t,e,n,r){try{return r?t(...r):t()}catch(i){Vi(i,e,n)}}function Dt(t,e,n,r){if(K(t)){const i=ur(t,e,n,r);return i&&wa(i)&&i.catch(s=>{Vi(s,e,n)}),i}if(W(t)){const i=[];for(let s=0;s<t.length;s++)i.push(Dt(t[s],e,n,r));return i}}function Vi(t,e,n,r=!0){const i=e?e.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||se;if(e){let a=e.parent;const l=e.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;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(s){Zt(),ur(s,null,10,[t,l,u]),Lt();return}}Jd(t,n,i,r,o)}function Jd(t,e,n,r=!0,i=!1){if(i)throw t;console.error(t)}const qe=[];let Ut=-1;const fr=[];let bn=null,dr=0;const Ga=Promise.resolve();let Bi=null;function Xa(t){const e=Bi||Ga;return t?e.then(this?t.bind(this):t):e}function Kd(t){let e=Ut+1,n=qe.length;for(;e<n;){const r=e+n>>>1,i=qe[r],s=Vr(i);s<t||s===t&&i.flags&2?e=r+1:n=r}return e}function Ys(t){if(!(t.flags&1)){const e=Vr(t),n=qe[qe.length-1];!n||!(t.flags&2)&&e>=Vr(n)?qe.push(t):qe.splice(Kd(e),0,t),t.flags|=1,Qa()}}function Qa(){Bi||(Bi=Ga.then(nl))}function qd(t){W(t)?fr.push(...t):bn&&t.id===-1?bn.splice(dr+1,0,t):t.flags&1||(fr.push(t),t.flags|=1),Qa()}function el(t,e,n=Ut+1){for(;n<qe.length;n++){const r=qe[n];if(r&&r.flags&2){if(t&&r.id!==t.uid)continue;qe.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function tl(t){if(fr.length){const e=[...new Set(fr)].sort((n,r)=>Vr(n)-Vr(r));if(fr.length=0,bn){bn.push(...e);return}for(bn=e,dr=0;dr<bn.length;dr++){const n=bn[dr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}bn=null,dr=0}}const Vr=t=>t.id==null?t.flags&2?-1:1/0:t.id;function nl(t){try{for(Ut=0;Ut<qe.length;Ut++){const e=qe[Ut];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),ur(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Ut<qe.length;Ut++){const e=qe[Ut];e&&(e.flags&=-2)}Ut=-1,qe.length=0,tl(),Bi=null,(qe.length||fr.length)&&nl()}}let Ye=null,rl=null;function Hi(t){const e=Ye;return Ye=t,rl=t&&t.type.__scopeId||null,e}function Vt(t,e=Ye,n){if(!e||t._n)return t;const r=(...i)=>{r._d&&ts(-1);const s=Hi(e);let o;try{o=t(...i)}finally{Hi(s),r._d&&ts(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Un(t,e,n,r){const i=t.dirs,s=e&&e.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let l=a.dir[r];l&&(Zt(),Dt(l,n,8,[t.el,a,t,e]),Lt())}}function Yd(t,e){if(Ue){let n=Ue.provides;const r=Ue.parent&&Ue.parent.provides;r===n&&(n=Ue.provides=Object.create(r)),n[t]=e}}function xn(t,e,n=!1){const r=Kl();if(r||_r){let i=_r?_r._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return n&&K(e)?e.call(r&&r.proxy):e}}const Gd=Symbol.for("v-scx"),Xd=()=>xn(Gd);function Wi(t,e,n){return il(t,e,n)}function il(t,e,n=se){const{immediate:r,deep:i,flush:s,once:o}=n,a=Ae({},n),l=e&&r||!e&&s!=="post";let u;if(ei){if(s==="sync"){const d=Xd();u=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=Rt,d.resume=Rt,d.pause=Rt,d}}const c=Ue;a.call=(d,m,p)=>Dt(d,c,m,p);let f=!1;s==="post"?a.scheduler=d=>{ft(d,c&&c.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(d,m)=>{m?d():Ys(d)}),a.augmentJob=d=>{e&&(d.flags|=4),f&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const h=Ud(t,e,a);return ei&&(u?u.push(h):l&&h()),h}function Qd(t,e,n){const r=this.proxy,i=we(t)?t.includes(".")?sl(r,t):()=>r[t]:t.bind(r,r);let s;K(e)?s=e:(s=e.handler,n=e);const o=Qr(this),a=il(i,s.bind(r),n);return o(),a}function sl(t,e){const n=e.split(".");return()=>{let r=t;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}const eh=Symbol("_vte"),ol=t=>t.__isTeleport,an=Symbol("_leaveCb"),Ji=Symbol("_enterCb");function th(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Wr(()=>{t.isMounted=!0}),ml(()=>{t.isUnmounting=!0}),t}const Tt=[Function,Array],al={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Tt,onEnter:Tt,onAfterEnter:Tt,onEnterCancelled:Tt,onBeforeLeave:Tt,onLeave:Tt,onAfterLeave:Tt,onLeaveCancelled:Tt,onBeforeAppear:Tt,onAppear:Tt,onAfterAppear:Tt,onAppearCancelled:Tt},ll=t=>{const e=t.subTree;return e.component?ll(e.component):e},nh={name:"BaseTransition",props:al,setup(t,{slots:e}){const n=Kl(),r=th();return()=>{const i=e.default&&dl(e.default(),!0);if(!i||!i.length)return;const s=cl(i),o=re(t),{mode:a}=o;if(r.isLeaving)return Xs(s);const l=fl(s);if(!l)return Xs(s);let u=Gs(l,o,r,n,f=>u=f);l.type!==Le&&Br(l,u);let c=n.subTree&&fl(n.subTree);if(c&&c.type!==Le&&!Bn(c,l)&&ll(n).type!==Le){let f=Gs(c,o,r,n);if(Br(c,f),a==="out-in"&&l.type!==Le)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},Xs(s);a==="in-out"&&l.type!==Le?f.delayLeave=(h,d,m)=>{const p=ul(r,c);p[String(c.key)]=c,h[an]=()=>{d(),h[an]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{m(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function cl(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==Le){e=n;break}}return e}const rh=nh;function ul(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function Gs(t,e,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:h,onLeave:d,onAfterLeave:m,onLeaveCancelled:p,onBeforeAppear:y,onAppear:x,onAfterAppear:S,onAppearCancelled:k}=e,b=String(t.key),v=ul(n,t),E=(w,C)=>{w&&Dt(w,r,9,C)},$=(w,C)=>{const N=C[1];E(w,C),W(w)?w.every(O=>O.length<=1)&&N():w.length<=1&&N()},M={mode:o,persisted:a,beforeEnter(w){let C=l;if(!n.isMounted)if(s)C=y||l;else return;w[an]&&w[an](!0);const N=v[b];N&&Bn(t,N)&&N.el[an]&&N.el[an](),E(C,[w])},enter(w){let C=u,N=c,O=f;if(!n.isMounted)if(s)C=x||u,N=S||c,O=k||f;else return;let V=!1;const G=w[Ji]=ie=>{V||(V=!0,ie?E(O,[w]):E(N,[w]),M.delayedLeave&&M.delayedLeave(),w[Ji]=void 0)};C?$(C,[w,G]):G()},leave(w,C){const N=String(t.key);if(w[Ji]&&w[Ji](!0),n.isUnmounting)return C();E(h,[w]);let O=!1;const V=w[an]=G=>{O||(O=!0,C(),G?E(p,[w]):E(m,[w]),w[an]=void 0,v[N]===t&&delete v[N])};v[N]=t,d?$(d,[w,V]):V()},clone(w){const C=Gs(w,e,n,r,i);return i&&i(C),C}};return M}function Xs(t){if(qi(t))return t=wn(t),t.children=null,t}function fl(t){if(!qi(t))return ol(t.type)&&t.children?cl(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&K(n.default))return n.default()}}function Br(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Br(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function dl(t,e=!1,n){let r=[],i=0;for(let s=0;s<t.length;s++){let o=t[s];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:s);o.type===Oe?(o.patchFlag&128&&i++,r=r.concat(dl(o.children,e,a))):(e||o.type!==Le)&&r.push(a!=null?wn(o,{key:a}):o)}if(i>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function Ie(t,e){return K(t)?Ae({name:t.name},e,{setup:t}):t}function hl(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}const Ki=new WeakMap;function Hr(t,e,n,r,i=!1){if(W(t)){t.forEach((m,p)=>Hr(m,e&&(W(e)?e[p]:e),n,r,i));return}if(hr(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Hr(t,e,n,r.component.subTree);return}const s=r.shapeFlag&4?fo(r.component):r.el,o=i?null:s,{i:a,r:l}=t,u=e&&e.r,c=a.refs===se?a.refs={}:a.refs,f=a.setupState,h=re(f),d=f===se?ba:m=>oe(h,m);if(u!=null&&u!==l){if(pl(e),we(u))c[u]=null,d(u)&&(f[u]=null);else if(Ne(u)){u.value=null;const m=e;m.k&&(c[m.k]=null)}}if(K(l))ur(l,a,12,[o,c]);else{const m=we(l),p=Ne(l);if(m||p){const y=()=>{if(t.f){const x=m?d(l)?f[l]:c[l]:l.value;if(i)W(x)&&As(x,s);else if(W(x))x.includes(s)||x.push(s);else if(m)c[l]=[s],d(l)&&(f[l]=c[l]);else{const S=[s];l.value=S,t.k&&(c[t.k]=S)}}else m?(c[l]=o,d(l)&&(f[l]=o)):p&&(l.value=o,t.k&&(c[t.k]=o))};if(o){const x=()=>{y(),Ki.delete(t)};x.id=-1,Ki.set(t,x),ft(x,n)}else pl(t),y()}}}function pl(t){const e=Ki.get(t);e&&(e.flags|=8,Ki.delete(t))}Ii().requestIdleCallback,Ii().cancelIdleCallback;const hr=t=>!!t.type.__asyncLoader,qi=t=>t.type.__isKeepAlive;function ih(t,e){_l(t,"a",e)}function sh(t,e){_l(t,"da",e)}function _l(t,e,n=Ue){const r=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Yi(e,r,n),n){let i=n.parent;for(;i&&i.parent;)qi(i.parent.vnode)&&oh(r,e,n,i),i=i.parent}}function oh(t,e,n,r){const i=Yi(e,t,r,!0);Jr(()=>{As(r[e],i)},n)}function Yi(t,e,n=Ue,r=!1){if(n){const i=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...o)=>{Zt();const a=Qr(n),l=Dt(e,n,t,o);return a(),Lt(),l});return r?i.unshift(s):i.push(s),s}}const ln=t=>(e,n=Ue)=>{(!ei||t==="sp")&&Yi(t,(...r)=>e(...r),n)},ah=ln("bm"),Wr=ln("m"),lh=ln("bu"),ch=ln("u"),ml=ln("bum"),Jr=ln("um"),uh=ln("sp"),fh=ln("rtg"),dh=ln("rtc");function hh(t,e=Ue){Yi("ec",t,e)}const ph="components",gl=Symbol.for("v-ndc");function Gi(t){return we(t)?_h(ph,t,!1)||t:t||gl}function _h(t,e,n=!0,r=!1){const i=Ye||Ue;if(i){const s=i.type;{const a=Ql(s,!1);if(a&&(a===e||a===St(e)||a===Ai(St(e))))return s}const o=vl(i[t]||s[t],e)||vl(i.appContext[t],e);return!o&&r?s:o}}function vl(t,e){return t&&(t[e]||t[St(e)]||t[Ai(St(e))])}function pr(t,e,n,r){let i;const s=n,o=W(t);if(o||we(t)){const a=o&&Ln(t);let l=!1,u=!1;a&&(l=!kt(t),u=on(t),t=Di(t)),i=new Array(t.length);for(let c=0,f=t.length;c<f;c++)i[c]=e(l?u?cr(It(t[c])):It(t[c]):t[c],c,void 0,s)}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=e(a+1,a,void 0,s)}else if(he(t))if(t[Symbol.iterator])i=Array.from(t,(a,l)=>e(a,l,void 0,s));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,s)}}else i=[];return i}function yl(t,e,n={},r,i){if(Ye.ce||Ye.parent&&hr(Ye.parent)&&Ye.parent.ce){const u=Object.keys(n).length>0;return e!=="default"&&(n.name=e),q(),nt(Oe,null,[je("slot",n,r)],u?-2:64)}let s=t[e];s&&s._c&&(s._d=!1),q();const o=s&&bl(s(n)),a=n.key||o&&o.key,l=nt(Oe,{key:(a&&!nn(a)?a:`_${e}`)+(!o&&r?"_fb":"")},o||[],o&&t._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function bl(t){return t.some(e=>Xr(e)?!(e.type===Le||e.type===Oe&&!bl(e.children)):!0)?t:null}const Qs=t=>t?Yl(t)?fo(t):Qs(t.parent):null,Kr=Ae(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=>Qs(t.parent),$root:t=>Qs(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>kl(t),$forceUpdate:t=>t.f||(t.f=()=>{Ys(t.update)}),$nextTick:t=>t.n||(t.n=Xa.bind(t.proxy)),$watch:t=>Qd.bind(t)}),eo=(t,e)=>t!==se&&!t.__isScriptSetup&&oe(t,e),mh={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=t;if(e[0]!=="$"){const h=o[e];if(h!==void 0)switch(h){case 1:return r[e];case 2:return i[e];case 4:return n[e];case 3:return s[e]}else{if(eo(r,e))return o[e]=1,r[e];if(i!==se&&oe(i,e))return o[e]=2,i[e];if(oe(s,e))return o[e]=3,s[e];if(n!==se&&oe(n,e))return o[e]=4,n[e];to&&(o[e]=0)}}const u=Kr[e];let c,f;if(u)return e==="$attrs"&&Ze(t.attrs,"get",""),u(t);if((c=a.__cssModules)&&(c=c[e]))return c;if(n!==se&&oe(n,e))return o[e]=4,n[e];if(f=l.config.globalProperties,oe(f,e))return f[e]},set({_:t},e,n){const{data:r,setupState:i,ctx:s}=t;return eo(i,e)?(i[e]=n,!0):r!==se&&oe(r,e)?(r[e]=n,!0):oe(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,props:s,type:o}},a){let l;return!!(n[a]||t!==se&&a[0]!=="$"&&oe(t,a)||eo(e,a)||oe(s,a)||oe(r,a)||oe(Kr,a)||oe(i.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:oe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function xl(t){return W(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let to=!0;function gh(t){const e=kl(t),n=t.proxy,r=t.ctx;to=!1,e.beforeCreate&&wl(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:f,mounted:h,beforeUpdate:d,updated:m,activated:p,deactivated:y,beforeDestroy:x,beforeUnmount:S,destroyed:k,unmounted:b,render:v,renderTracked:E,renderTriggered:$,errorCaptured:M,serverPrefetch:w,expose:C,inheritAttrs:N,components:O,directives:V,filters:G}=e;if(u&&vh(u,r,null),o)for(const Y in o){const ee=o[Y];K(ee)&&(r[Y]=ee.bind(n))}if(i){const Y=i.call(n,n);he(Y)&&(t.data=Fi(Y))}if(to=!0,s)for(const Y in s){const ee=s[Y],$t=K(ee)?ee.bind(n,n):K(ee.get)?ee.get.bind(n,n):Rt,Xt=!K(ee)&&K(ee.set)?ee.set.bind(n):Rt,xt=Re({get:$t,set:Xt});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>xt.value,set:Me=>xt.value=Me})}if(a)for(const Y in a)Sl(a[Y],r,n,Y);if(l){const Y=K(l)?l.call(n):l;Reflect.ownKeys(Y).forEach(ee=>{Yd(ee,Y[ee])})}c&&wl(c,t,"c");function X(Y,ee){W(ee)?ee.forEach($t=>Y($t.bind(n))):ee&&Y(ee.bind(n))}if(X(ah,f),X(Wr,h),X(lh,d),X(ch,m),X(ih,p),X(sh,y),X(hh,M),X(dh,E),X(fh,$),X(ml,S),X(Jr,b),X(uh,w),W(C))if(C.length){const Y=t.exposed||(t.exposed={});C.forEach(ee=>{Object.defineProperty(Y,ee,{get:()=>n[ee],set:$t=>n[ee]=$t,enumerable:!0})})}else t.exposed||(t.exposed={});v&&t.render===Rt&&(t.render=v),N!=null&&(t.inheritAttrs=N),O&&(t.components=O),V&&(t.directives=V),w&&hl(t)}function vh(t,e,n=Rt){W(t)&&(t=no(t));for(const r in t){const i=t[r];let s;he(i)?"default"in i?s=xn(i.from||r,i.default,!0):s=xn(i.from||r):s=xn(i),Ne(s)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):e[r]=s}}function wl(t,e,n){Dt(W(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function Sl(t,e,n,r){let i=r.includes(".")?sl(n,r):()=>n[r];if(we(t)){const s=e[t];K(s)&&Wi(i,s)}else if(K(t))Wi(i,t.bind(n));else if(he(t))if(W(t))t.forEach(s=>Sl(s,e,n,r));else{const s=K(t.handler)?t.handler.bind(n):e[t.handler];K(s)&&Wi(i,s,t)}}function kl(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=t.appContext,a=s.get(e);let l;return a?l=a:!i.length&&!n&&!r?l=e:(l={},i.length&&i.forEach(u=>Xi(l,u,o,!0)),Xi(l,e,o)),he(e)&&s.set(e,l),l}function Xi(t,e,n,r=!1){const{mixins:i,extends:s}=e;s&&Xi(t,s,n,!0),i&&i.forEach(o=>Xi(t,o,n,!0));for(const o in e)if(!(r&&o==="expose")){const a=yh[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const yh={data:Tl,props:zl,emits:zl,methods:qr,computed:qr,beforeCreate:Ge,created:Ge,beforeMount:Ge,mounted:Ge,beforeUpdate:Ge,updated:Ge,beforeDestroy:Ge,beforeUnmount:Ge,destroyed:Ge,unmounted:Ge,activated:Ge,deactivated:Ge,errorCaptured:Ge,serverPrefetch:Ge,components:qr,directives:qr,watch:xh,provide:Tl,inject:bh};function Tl(t,e){return e?t?function(){return Ae(K(t)?t.call(this,this):t,K(e)?e.call(this,this):e)}:e:t}function bh(t,e){return qr(no(t),no(e))}function no(t){if(W(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ge(t,e){return t?[...new Set([].concat(t,e))]:e}function qr(t,e){return t?Ae(Object.create(null),t,e):e}function zl(t,e){return t?W(t)&&W(e)?[...new Set([...t,...e])]:Ae(Object.create(null),xl(t),xl(e??{})):e}function xh(t,e){if(!t)return e;if(!e)return t;const n=Ae(Object.create(null),t);for(const r in e)n[r]=Ge(t[r],e[r]);return n}function Cl(){return{app:null,config:{isNativeTag:ba,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 wh=0;function Sh(t,e){return function(r,i=null){K(r)||(r=Ae({},r)),i!=null&&!he(i)&&(i=null);const s=Cl(),o=new WeakSet,a=[];let l=!1;const u=s.app={_uid:wh++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:tp,get config(){return s.config},set config(c){},use(c,...f){return o.has(c)||(c&&K(c.install)?(o.add(c),c.install(u,...f)):K(c)&&(o.add(c),c(u,...f))),u},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),u},component(c,f){return f?(s.components[c]=f,u):s.components[c]},directive(c,f){return f?(s.directives[c]=f,u):s.directives[c]},mount(c,f,h){if(!l){const d=u._ceVNode||je(r,i);return d.appContext=s,h===!0?h="svg":h===!1&&(h=void 0),t(d,c,h),l=!0,u._container=c,c.__vue_app__=u,fo(d.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Dt(a,u._instance,16),t(null,u._container),delete u._container.__vue_app__)},provide(c,f){return s.provides[c]=f,u},runWithContext(c){const f=_r;_r=u;try{return c()}finally{_r=f}}};return u}}let _r=null;const kh=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${St(e)}Modifiers`]||t[`${Fn(e)}Modifiers`];function Th(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||se;let i=n;const s=e.startsWith("update:"),o=s&&kh(r,e.slice(7));o&&(o.trim&&(i=n.map(c=>we(c)?c.trim():c)),o.number&&(i=n.map(ad)));let a,l=r[a=Ds(e)]||r[a=Ds(St(e))];!l&&s&&(l=r[a=Ds(Fn(e))]),l&&Dt(l,t,6,i);const u=r[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Dt(u,t,6,i)}}const zh=new WeakMap;function Ol(t,e,n=!1){const r=n?zh:e.emitsCache,i=r.get(t);if(i!==void 0)return i;const s=t.emits;let o={},a=!1;if(!K(t)){const l=u=>{const c=Ol(u,e,!0);c&&(a=!0,Ae(o,c))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!a?(he(t)&&r.set(t,null),null):(W(s)?s.forEach(l=>o[l]=null):Ae(o,s),he(t)&&r.set(t,o),o)}function Qi(t,e){return!t||!Ei(e)?!1:(e=e.slice(2).replace(/Once$/,""),oe(t,e[0].toLowerCase()+e.slice(1))||oe(t,Fn(e))||oe(t,e))}function xx(){}function El(t){const{type:e,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:l,render:u,renderCache:c,props:f,data:h,setupState:d,ctx:m,inheritAttrs:p}=t,y=Hi(t);let x,S;try{if(n.shapeFlag&4){const b=i||r,v=b;x=Bt(u.call(v,b,c,f,d,h,m)),S=a}else{const b=e;x=Bt(b.length>1?b(f,{attrs:a,slots:o,emit:l}):b(f,null)),S=e.props?a:Ch(a)}}catch(b){Yr.length=0,Vi(b,t,1),x=je(Le)}let k=x;if(S&&p!==!1){const b=Object.keys(S),{shapeFlag:v}=k;b.length&&v&7&&(s&&b.some($s)&&(S=Oh(S,s)),k=wn(k,S,!1,!0))}return n.dirs&&(k=wn(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&Br(k,n.transition),x=k,Hi(y),x}const Ch=t=>{let e;for(const n in t)(n==="class"||n==="style"||Ei(n))&&((e||(e={}))[n]=t[n]);return e},Oh=(t,e)=>{const n={};for(const r in t)(!$s(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function Eh(t,e,n){const{props:r,children:i,component:s}=t,{props:o,children:a,patchFlag:l}=e,u=s.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Pl(r,o,u):!!o;if(l&8){const c=e.dynamicProps;for(let f=0;f<c.length;f++){const h=c[f];if(o[h]!==r[h]&&!Qi(u,h))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?Pl(r,o,u):!0:!!o;return!1}function Pl(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];if(e[s]!==t[s]&&!Qi(n,s))return!0}return!1}function Ph({vnode:t,parent:e},n){for(;e;){const r=e.subTree;if(r.suspense&&r.suspense.activeBranch===t&&(r.el=t.el),r===t)(t=e.vnode).el=n,e=e.parent;else break}}const $l={},Al=()=>Object.create($l),Il=t=>Object.getPrototypeOf(t)===$l;function $h(t,e,n,r=!1){const i={},s=Al();t.propsDefaults=Object.create(null),Dl(t,e,i,s);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);n?t.props=r?i:Dd(i):t.type.props?t.props=i:t.props=s,t.attrs=s}function Ah(t,e,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=t,a=re(i),[l]=t.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=t.vnode.dynamicProps;for(let f=0;f<c.length;f++){let h=c[f];if(Qi(t.emitsOptions,h))continue;const d=e[h];if(l)if(oe(s,h))d!==s[h]&&(s[h]=d,u=!0);else{const m=St(h);i[m]=ro(l,a,m,d,t,!1)}else d!==s[h]&&(s[h]=d,u=!0)}}}else{Dl(t,e,i,s)&&(u=!0);let c;for(const f in a)(!e||!oe(e,f)&&((c=Fn(f))===f||!oe(e,c)))&&(l?n&&(n[f]!==void 0||n[c]!==void 0)&&(i[f]=ro(l,a,f,void 0,t,!0)):delete i[f]);if(s!==a)for(const f in s)(!e||!oe(e,f))&&(delete s[f],u=!0)}u&&rn(t.attrs,"set","")}function Dl(t,e,n,r){const[i,s]=t.propsOptions;let o=!1,a;if(e)for(let l in e){if(Nr(l))continue;const u=e[l];let c;i&&oe(i,c=St(l))?!s||!s.includes(c)?n[c]=u:(a||(a={}))[c]=u:Qi(t.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,o=!0)}if(s){const l=re(n),u=a||se;for(let c=0;c<s.length;c++){const f=s[c];n[f]=ro(i,l,f,u[f],t,!oe(u,f))}}return o}function ro(t,e,n,r,i,s){const o=t[n];if(o!=null){const a=oe(o,"default");if(a&&r===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&K(l)){const{propsDefaults:u}=i;if(n in u)r=u[n];else{const c=Qr(i);r=u[n]=l.call(null,e),c()}}else r=l;i.ce&&i.ce._setProp(n,r)}o[0]&&(s&&!a?r=!1:o[1]&&(r===""||r===Fn(n))&&(r=!0))}return r}const Ih=new WeakMap;function Ml(t,e,n=!1){const r=n?Ih:e.propsCache,i=r.get(t);if(i)return i;const s=t.props,o={},a=[];let l=!1;if(!K(t)){const c=f=>{l=!0;const[h,d]=Ml(f,e,!0);Ae(o,h),d&&a.push(...d)};!n&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}if(!s&&!l)return he(t)&&r.set(t,or),or;if(W(s))for(let c=0;c<s.length;c++){const f=St(s[c]);Nl(f)&&(o[f]=se)}else if(s)for(const c in s){const f=St(c);if(Nl(f)){const h=s[c],d=o[f]=W(h)||K(h)?{type:h}:Ae({},h),m=d.type;let p=!1,y=!0;if(W(m))for(let x=0;x<m.length;++x){const S=m[x],k=K(S)&&S.name;if(k==="Boolean"){p=!0;break}else k==="String"&&(y=!1)}else p=K(m)&&m.name==="Boolean";d[0]=p,d[1]=y,(p||oe(d,"default"))&&a.push(f)}}const u=[o,a];return he(t)&&r.set(t,u),u}function Nl(t){return t[0]!=="$"&&!Nr(t)}const io=t=>t==="_"||t==="_ctx"||t==="$stable",so=t=>W(t)?t.map(Bt):[Bt(t)],Dh=(t,e,n)=>{if(e._n)return e;const r=Vt((...i)=>so(e(...i)),n);return r._c=!1,r},Rl=(t,e,n)=>{const r=t._ctx;for(const i in t){if(io(i))continue;const s=t[i];if(K(s))e[i]=Dh(i,s,r);else if(s!=null){const o=so(s);e[i]=()=>o}}},Fl=(t,e)=>{const n=so(e);t.slots.default=()=>n},Zl=(t,e,n)=>{for(const r in e)(n||!io(r))&&(t[r]=e[r])},Mh=(t,e,n)=>{const r=t.slots=Al();if(t.vnode.shapeFlag&32){const i=e._;i?(Zl(r,e,n),n&&Ta(r,"_",i,!0)):Rl(e,r)}else e&&Fl(t,e)},Nh=(t,e,n)=>{const{vnode:r,slots:i}=t;let s=!0,o=se;if(r.shapeFlag&32){const a=e._;a?n&&a===1?s=!1:Zl(i,e,n):(s=!e.$stable,Rl(e,i)),o=e}else e&&(Fl(t,e),o={default:1});if(s)for(const a in i)!io(a)&&o[a]==null&&delete i[a]},ft=jh;function Rh(t){return Fh(t)}function Fh(t,e){const n=Ii();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:h,setScopeId:d=Rt,insertStaticContent:m}=t,p=(_,g,z,D=null,P=null,A=null,L=void 0,F=null,R=!!g.dynamicChildren)=>{if(_===g)return;_&&!Bn(_,g)&&(D=Ps(_),Me(_,P,A,!0),_=null),g.patchFlag===-2&&(R=!1,g.dynamicChildren=null);const{type:I,ref:H,shapeFlag:j}=g;switch(I){case es:y(_,g,z,D);break;case Le:x(_,g,z,D);break;case ao:_==null&&S(g,z,D,L);break;case Oe:O(_,g,z,D,P,A,L,F,R);break;default:j&1?v(_,g,z,D,P,A,L,F,R):j&6?V(_,g,z,D,P,A,L,F,R):(j&64||j&128)&&I.process(_,g,z,D,P,A,L,F,R,Ci)}H!=null&&P?Hr(H,_&&_.ref,A,g||_,!g):H==null&&_&&_.ref!=null&&Hr(_.ref,null,A,_,!0)},y=(_,g,z,D)=>{if(_==null)r(g.el=a(g.children),z,D);else{const P=g.el=_.el;g.children!==_.children&&u(P,g.children)}},x=(_,g,z,D)=>{_==null?r(g.el=l(g.children||""),z,D):g.el=_.el},S=(_,g,z,D)=>{[_.el,_.anchor]=m(_.children,g,z,D,_.el,_.anchor)},k=({el:_,anchor:g},z,D)=>{let P;for(;_&&_!==g;)P=h(_),r(_,z,D),_=P;r(g,z,D)},b=({el:_,anchor:g})=>{let z;for(;_&&_!==g;)z=h(_),i(_),_=z;i(g)},v=(_,g,z,D,P,A,L,F,R)=>{if(g.type==="svg"?L="svg":g.type==="math"&&(L="mathml"),_==null)E(g,z,D,P,A,L,F,R);else{const I=_.el&&_.el._isVueCE?_.el:null;try{I&&I._beginPatch(),w(_,g,P,A,L,F,R)}finally{I&&I._endPatch()}}},E=(_,g,z,D,P,A,L,F)=>{let R,I;const{props:H,shapeFlag:j,transition:B,dirs:J}=_;if(R=_.el=o(_.type,A,H&&H.is,H),j&8?c(R,_.children):j&16&&M(_.children,R,null,D,P,oo(_,A),L,F),J&&Un(_,null,D,"created"),$(R,_,_.scopeId,L,D),H){for(const ve in H)ve!=="value"&&!Nr(ve)&&s(R,ve,null,H[ve],A,D);"value"in H&&s(R,"value",null,H.value,A),(I=H.onVnodeBeforeMount)&&Ht(I,D,_)}J&&Un(_,null,D,"beforeMount");const ne=Zh(P,B);ne&&B.beforeEnter(R),r(R,g,z),((I=H&&H.onVnodeMounted)||ne||J)&&ft(()=>{I&&Ht(I,D,_),ne&&B.enter(R),J&&Un(_,null,D,"mounted")},P)},$=(_,g,z,D,P)=>{if(z&&d(_,z),D)for(let A=0;A<D.length;A++)d(_,D[A]);if(P){let A=P.subTree;if(g===A||Bl(A.type)&&(A.ssContent===g||A.ssFallback===g)){const L=P.vnode;$(_,L,L.scopeId,L.slotScopeIds,P.parent)}}},M=(_,g,z,D,P,A,L,F,R=0)=>{for(let I=R;I<_.length;I++){const H=_[I]=F?Sn(_[I]):Bt(_[I]);p(null,H,g,z,D,P,A,L,F)}},w=(_,g,z,D,P,A,L)=>{const F=g.el=_.el;let{patchFlag:R,dynamicChildren:I,dirs:H}=g;R|=_.patchFlag&16;const j=_.props||se,B=g.props||se;let J;if(z&&Vn(z,!1),(J=B.onVnodeBeforeUpdate)&&Ht(J,z,g,_),H&&Un(g,_,z,"beforeUpdate"),z&&Vn(z,!0),(j.innerHTML&&B.innerHTML==null||j.textContent&&B.textContent==null)&&c(F,""),I?C(_.dynamicChildren,I,F,z,D,oo(g,P),A):L||ee(_,g,F,null,z,D,oo(g,P),A,!1),R>0){if(R&16)N(F,j,B,z,P);else if(R&2&&j.class!==B.class&&s(F,"class",null,B.class,P),R&4&&s(F,"style",j.style,B.style,P),R&8){const ne=g.dynamicProps;for(let ve=0;ve<ne.length;ve++){const ce=ne[ve],ct=j[ce],ut=B[ce];(ut!==ct||ce==="value")&&s(F,ce,ct,ut,P,z)}}R&1&&_.children!==g.children&&c(F,g.children)}else!L&&I==null&&N(F,j,B,z,P);((J=B.onVnodeUpdated)||H)&&ft(()=>{J&&Ht(J,z,g,_),H&&Un(g,_,z,"updated")},D)},C=(_,g,z,D,P,A,L)=>{for(let F=0;F<g.length;F++){const R=_[F],I=g[F],H=R.el&&(R.type===Oe||!Bn(R,I)||R.shapeFlag&198)?f(R.el):z;p(R,I,H,null,D,P,A,L,!0)}},N=(_,g,z,D,P)=>{if(g!==z){if(g!==se)for(const A in g)!Nr(A)&&!(A in z)&&s(_,A,g[A],null,P,D);for(const A in z){if(Nr(A))continue;const L=z[A],F=g[A];L!==F&&A!=="value"&&s(_,A,F,L,P,D)}"value"in z&&s(_,"value",g.value,z.value,P)}},O=(_,g,z,D,P,A,L,F,R)=>{const I=g.el=_?_.el:a(""),H=g.anchor=_?_.anchor:a("");let{patchFlag:j,dynamicChildren:B,slotScopeIds:J}=g;J&&(F=F?F.concat(J):J),_==null?(r(I,z,D),r(H,z,D),M(g.children||[],z,H,P,A,L,F,R)):j>0&&j&64&&B&&_.dynamicChildren&&_.dynamicChildren.length===B.length?(C(_.dynamicChildren,B,z,P,A,L,F),(g.key!=null||P&&g===P.subTree)&&Ll(_,g,!0)):ee(_,g,z,H,P,A,L,F,R)},V=(_,g,z,D,P,A,L,F,R)=>{g.slotScopeIds=F,_==null?g.shapeFlag&512?P.ctx.activate(g,z,D,L,R):G(g,z,D,P,A,L,R):ie(_,g,R)},G=(_,g,z,D,P,A,L)=>{const F=_.component=Jh(_,D,P);if(qi(_)&&(F.ctx.renderer=Ci),Kh(F,!1,L),F.asyncDep){if(P&&P.registerDep(F,X,L),!_.el){const R=F.subTree=je(Le);x(null,R,g,z),_.placeholder=R.el}}else X(F,_,g,z,P,A,L)},ie=(_,g,z)=>{const D=g.component=_.component;if(Eh(_,g,z))if(D.asyncDep&&!D.asyncResolved){Y(D,g,z);return}else D.next=g,D.update();else g.el=_.el,D.vnode=g},X=(_,g,z,D,P,A,L)=>{const F=()=>{if(_.isMounted){let{next:j,bu:B,u:J,parent:ne,vnode:ve}=_;{const en=jl(_);if(en){j&&(j.el=ve.el,Y(_,j,L)),en.asyncDep.then(()=>{_.isUnmounted||F()});return}}let ce=j,ct;Vn(_,!1),j?(j.el=ve.el,Y(_,j,L)):j=ve,B&&Ms(B),(ct=j.props&&j.props.onVnodeBeforeUpdate)&&Ht(ct,ne,j,ve),Vn(_,!0);const ut=El(_),Qt=_.subTree;_.subTree=ut,p(Qt,ut,f(Qt.el),Ps(Qt),_,P,A),j.el=ut.el,ce===null&&Ph(_,ut.el),J&&ft(J,P),(ct=j.props&&j.props.onVnodeUpdated)&&ft(()=>Ht(ct,ne,j,ve),P)}else{let j;const{el:B,props:J}=g,{bm:ne,m:ve,parent:ce,root:ct,type:ut}=_,Qt=hr(g);Vn(_,!1),ne&&Ms(ne),!Qt&&(j=J&&J.onVnodeBeforeMount)&&Ht(j,ce,g),Vn(_,!0);{ct.ce&&ct.ce._def.shadowRoot!==!1&&ct.ce._injectChildStyle(ut);const en=_.subTree=El(_);p(null,en,z,D,_,P,A),g.el=en.el}if(ve&&ft(ve,P),!Qt&&(j=J&&J.onVnodeMounted)){const en=g;ft(()=>Ht(j,ce,en),P)}(g.shapeFlag&256||ce&&hr(ce.vnode)&&ce.vnode.shapeFlag&256)&&_.a&&ft(_.a,P),_.isMounted=!0,g=z=D=null}};_.scope.on();const R=_.effect=new Pa(F);_.scope.off();const I=_.update=R.run.bind(R),H=_.job=R.runIfDirty.bind(R);H.i=_,H.id=_.uid,R.scheduler=()=>Ys(H),Vn(_,!0),I()},Y=(_,g,z)=>{g.component=_;const D=_.vnode.props;_.vnode=g,_.next=null,Ah(_,g.props,D,z),Nh(_,g.children,z),Zt(),el(_),Lt()},ee=(_,g,z,D,P,A,L,F,R=!1)=>{const I=_&&_.children,H=_?_.shapeFlag:0,j=g.children,{patchFlag:B,shapeFlag:J}=g;if(B>0){if(B&128){Xt(I,j,z,D,P,A,L,F,R);return}else if(B&256){$t(I,j,z,D,P,A,L,F,R);return}}J&8?(H&16&&zi(I,P,A),j!==I&&c(z,j)):H&16?J&16?Xt(I,j,z,D,P,A,L,F,R):zi(I,P,A,!0):(H&8&&c(z,""),J&16&&M(j,z,D,P,A,L,F,R))},$t=(_,g,z,D,P,A,L,F,R)=>{_=_||or,g=g||or;const I=_.length,H=g.length,j=Math.min(I,H);let B;for(B=0;B<j;B++){const J=g[B]=R?Sn(g[B]):Bt(g[B]);p(_[B],J,z,null,P,A,L,F,R)}I>H?zi(_,P,A,!0,!1,j):M(g,z,D,P,A,L,F,R,j)},Xt=(_,g,z,D,P,A,L,F,R)=>{let I=0;const H=g.length;let j=_.length-1,B=H-1;for(;I<=j&&I<=B;){const J=_[I],ne=g[I]=R?Sn(g[I]):Bt(g[I]);if(Bn(J,ne))p(J,ne,z,null,P,A,L,F,R);else break;I++}for(;I<=j&&I<=B;){const J=_[j],ne=g[B]=R?Sn(g[B]):Bt(g[B]);if(Bn(J,ne))p(J,ne,z,null,P,A,L,F,R);else break;j--,B--}if(I>j){if(I<=B){const J=B+1,ne=J<H?g[J].el:D;for(;I<=B;)p(null,g[I]=R?Sn(g[I]):Bt(g[I]),z,ne,P,A,L,F,R),I++}}else if(I>B)for(;I<=j;)Me(_[I],P,A,!0),I++;else{const J=I,ne=I,ve=new Map;for(I=ne;I<=B;I++){const wt=g[I]=R?Sn(g[I]):Bt(g[I]);wt.key!=null&&ve.set(wt.key,I)}let ce,ct=0;const ut=B-ne+1;let Qt=!1,en=0;const Oi=new Array(ut);for(I=0;I<ut;I++)Oi[I]=0;for(I=J;I<=j;I++){const wt=_[I];if(ct>=ut){Me(wt,P,A,!0);continue}let tn;if(wt.key!=null)tn=ve.get(wt.key);else for(ce=ne;ce<=B;ce++)if(Oi[ce-ne]===0&&Bn(wt,g[ce])){tn=ce;break}tn===void 0?Me(wt,P,A,!0):(Oi[tn-ne]=I+1,tn>=en?en=tn:Qt=!0,p(wt,g[tn],z,null,P,A,L,F,R),ct++)}const ed=Qt?Lh(Oi):or;for(ce=ed.length-1,I=ut-1;I>=0;I--){const wt=ne+I,tn=g[wt],td=g[wt+1],nd=wt+1<H?td.el||Vl(td):D;Oi[I]===0?p(null,tn,z,nd,P,A,L,F,R):Qt&&(ce<0||I!==ed[ce]?xt(tn,z,nd,2):ce--)}}},xt=(_,g,z,D,P=null)=>{const{el:A,type:L,transition:F,children:R,shapeFlag:I}=_;if(I&6){xt(_.component.subTree,g,z,D);return}if(I&128){_.suspense.move(g,z,D);return}if(I&64){L.move(_,g,z,Ci);return}if(L===Oe){r(A,g,z);for(let j=0;j<R.length;j++)xt(R[j],g,z,D);r(_.anchor,g,z);return}if(L===ao){k(_,g,z);return}if(D!==2&&I&1&&F)if(D===0)F.beforeEnter(A),r(A,g,z),ft(()=>F.enter(A),P);else{const{leave:j,delayLeave:B,afterLeave:J}=F,ne=()=>{_.ctx.isUnmounted?i(A):r(A,g,z)},ve=()=>{A._isLeaving&&A[an](!0),j(A,()=>{ne(),J&&J()})};B?B(A,ne,ve):ve()}else r(A,g,z)},Me=(_,g,z,D=!1,P=!1)=>{const{type:A,props:L,ref:F,children:R,dynamicChildren:I,shapeFlag:H,patchFlag:j,dirs:B,cacheIndex:J}=_;if(j===-2&&(P=!1),F!=null&&(Zt(),Hr(F,null,z,_,!0),Lt()),J!=null&&(g.renderCache[J]=void 0),H&256){g.ctx.deactivate(_);return}const ne=H&1&&B,ve=!hr(_);let ce;if(ve&&(ce=L&&L.onVnodeBeforeUnmount)&&Ht(ce,g,_),H&6)mn(_.component,z,D);else{if(H&128){_.suspense.unmount(z,D);return}ne&&Un(_,null,g,"beforeUnmount"),H&64?_.type.remove(_,g,z,Ci,D):I&&!I.hasOnce&&(A!==Oe||j>0&&j&64)?zi(I,g,z,!1,!0):(A===Oe&&j&384||!P&&H&16)&&zi(R,g,z),D&&Ti(_)}(ve&&(ce=L&&L.onVnodeUnmounted)||ne)&&ft(()=>{ce&&Ht(ce,g,_),ne&&Un(_,null,g,"unmounted")},z)},Ti=_=>{const{type:g,el:z,anchor:D,transition:P}=_;if(g===Oe){Nt(z,D);return}if(g===ao){b(_);return}const A=()=>{i(z),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(_.shapeFlag&1&&P&&!P.persisted){const{leave:L,delayLeave:F}=P,R=()=>L(z,A);F?F(_.el,A,R):R()}else A()},Nt=(_,g)=>{let z;for(;_!==g;)z=h(_),i(_),_=z;i(g)},mn=(_,g,z)=>{const{bum:D,scope:P,job:A,subTree:L,um:F,m:R,a:I}=_;Ul(R),Ul(I),D&&Ms(D),P.stop(),A&&(A.flags|=8,Me(L,_,g,z)),F&&ft(F,g),ft(()=>{_.isUnmounted=!0},g)},zi=(_,g,z,D=!1,P=!1,A=0)=>{for(let L=A;L<_.length;L++)Me(_[L],g,z,D,P)},Ps=_=>{if(_.shapeFlag&6)return Ps(_.component.subTree);if(_.shapeFlag&128)return _.suspense.next();const g=h(_.anchor||_.el),z=g&&g[eh];return z?h(z):g};let ya=!1;const Qf=(_,g,z)=>{let D;_==null?g._vnode&&(Me(g._vnode,null,null,!0),D=g._vnode.component):p(g._vnode||null,_,g,null,null,null,z),g._vnode=_,ya||(ya=!0,el(D),tl(),ya=!1)},Ci={p,um:Me,m:xt,r:Ti,mt:G,mc:M,pc:ee,pbc:C,n:Ps,o:t};return{render:Qf,hydrate:void 0,createApp:Sh(Qf)}}function oo({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Vn({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Zh(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Ll(t,e,n=!1){const r=t.children,i=e.children;if(W(r)&&W(i))for(let s=0;s<r.length;s++){const o=r[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=Sn(i[s]),a.el=o.el),!n&&a.patchFlag!==-2&&Ll(o,a)),a.type===es&&(a.patchFlag!==-1?a.el=o.el:a.__elIndex=s+(t.type===Oe?1:0)),a.type===Le&&!a.el&&(a.el=o.el)}}function Lh(t){const e=t.slice(),n=[0];let r,i,s,o,a;const l=t.length;for(r=0;r<l;r++){const u=t[r];if(u!==0){if(i=n[n.length-1],t[i]<u){e[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,t[n[a]]<u?s=a+1:o=a;u<t[n[s]]&&(s>0&&(e[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=e[o];return n}function jl(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:jl(e)}function Ul(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Vl(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Vl(e.subTree):null}const Bl=t=>t.__isSuspense;function jh(t,e){e&&e.pendingBranch?W(t)?e.effects.push(...t):e.effects.push(t):qd(t)}const Oe=Symbol.for("v-fgt"),es=Symbol.for("v-txt"),Le=Symbol.for("v-cmt"),ao=Symbol.for("v-stc"),Yr=[];let dt=null;function q(t=!1){Yr.push(dt=t?null:[])}function Uh(){Yr.pop(),dt=Yr[Yr.length-1]||null}let Gr=1;function ts(t,e=!1){Gr+=t,t<0&&dt&&e&&(dt.hasOnce=!0)}function Hl(t){return t.dynamicChildren=Gr>0?dt||or:null,Uh(),Gr>0&&dt&&dt.push(t),t}function le(t,e,n,r,i,s){return Hl(Z(t,e,n,r,i,s,!0))}function nt(t,e,n,r,i){return Hl(je(t,e,n,r,i,!0))}function Xr(t){return t?t.__v_isVNode===!0:!1}function Bn(t,e){return t.type===e.type&&t.key===e.key}const Wl=({key:t})=>t??null,ns=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?we(t)||Ne(t)||K(t)?{i:Ye,r:t,k:e,f:!!n}:t:null);function Z(t,e=null,n=null,r=0,i=null,s=t===Oe?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Wl(e),ref:e&&ns(e),scopeId:rl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ye};return a?(lo(l,n),s&128&&t.normalize(l)):n&&(l.shapeFlag|=we(n)?8:16),Gr>0&&!o&&dt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&dt.push(l),l}const je=Vh;function Vh(t,e=null,n=null,r=0,i=null,s=!1){if((!t||t===gl)&&(t=Le),Xr(t)){const a=wn(t,e,!0);return n&&lo(a,n),Gr>0&&!s&&dt&&(a.shapeFlag&6?dt[dt.indexOf(t)]=a:dt.push(a)),a.patchFlag=-2,a}if(ep(t)&&(t=t.__vccOpts),e){e=Bh(e);let{class:a,style:l}=e;a&&!we(a)&&(e.class=Q(a)),he(l)&&(Ks(l)&&!W(l)&&(l=Ae({},l)),e.style=Ft(l))}const o=we(t)?1:Bl(t)?128:ol(t)?64:he(t)?4:K(t)?2:0;return Z(t,e,n,r,i,o,s,!0)}function Bh(t){return t?Ks(t)||Il(t)?Ae({},t):t:null}function wn(t,e,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:l}=t,u=e?co(i||{},e):i,c={__v_isVNode:!0,__v_skip:!0,type:t.type,props:u,key:u&&Wl(u),ref:e&&e.ref?n&&s?W(s)?s.concat(ns(e)):[s,ns(e)]:ns(e):s,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!==Oe?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&wn(t.ssContent),ssFallback:t.ssFallback&&wn(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&r&&Br(c,l.clone(c)),c}function Jl(t=" ",e=0){return je(es,null,t,e)}function zt(t="",e=!1){return e?(q(),nt(Le,null,t)):je(Le,null,t)}function Bt(t){return t==null||typeof t=="boolean"?je(Le):W(t)?je(Oe,null,t.slice()):Xr(t)?Sn(t):je(es,null,String(t))}function Sn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:wn(t)}function lo(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(W(e))n=16;else if(typeof e=="object")if(r&65){const i=e.default;i&&(i._c&&(i._d=!1),lo(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!Il(e)?e._ctx=Ye:i===3&&Ye&&(Ye.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else K(e)?(e={default:e,_ctx:Ye},n=32):(e=String(e),r&64?(n=16,e=[Jl(e)]):n=8);t.children=e,t.shapeFlag|=n}function co(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const i in r)if(i==="class")e.class!==r.class&&(e.class=Q([e.class,r.class]));else if(i==="style")e.style=Ft([e.style,r.style]);else if(Ei(i)){const s=e[i],o=r[i];o&&s!==o&&!(W(s)&&s.includes(o))&&(e[i]=s?[].concat(s,o):o)}else i!==""&&(e[i]=r[i])}return e}function Ht(t,e,n,r=null){Dt(t,e,7,[n,r])}const Hh=Cl();let Wh=0;function Jh(t,e,n){const r=t.type,i=(e?e.appContext:t.appContext)||Hh,s={uid:Wh++,vnode:t,type:r,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new pd(!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:Ml(r,i),emitsOptions:Ol(r,i),emit:null,emitted:null,propsDefaults:se,inheritAttrs:r.inheritAttrs,ctx:se,data:se,props:se,attrs:se,slots:se,refs:se,setupState:se,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=Th.bind(null,s),t.ce&&t.ce(s),s}let Ue=null;const Kl=()=>Ue||Ye;let rs,uo;{const t=Ii(),e=(n,r)=>{let i;return(i=t[n])||(i=t[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};rs=e("__VUE_INSTANCE_SETTERS__",n=>Ue=n),uo=e("__VUE_SSR_SETTERS__",n=>ei=n)}const Qr=t=>{const e=Ue;return rs(t),t.scope.on(),()=>{t.scope.off(),rs(e)}},ql=()=>{Ue&&Ue.scope.off(),rs(null)};function Yl(t){return t.vnode.shapeFlag&4}let ei=!1;function Kh(t,e=!1,n=!1){e&&uo(e);const{props:r,children:i}=t.vnode,s=Yl(t);$h(t,r,s,e),Mh(t,i,n||e);const o=s?qh(t,e):void 0;return e&&uo(!1),o}function qh(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,mh);const{setup:r}=n;if(r){Zt();const i=t.setupContext=r.length>1?Gh(t):null,s=Qr(t),o=ur(r,t,0,[t.props,i]),a=wa(o);if(Lt(),s(),(a||t.sp)&&!hr(t)&&hl(t),a){if(o.then(ql,ql),e)return o.then(l=>{Gl(t,l)}).catch(l=>{Vi(l,t,0)});t.asyncDep=o}else Gl(t,o)}else Xl(t)}function Gl(t,e,n){K(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:he(e)&&(t.setupState=qa(e)),Xl(t)}function Xl(t,e,n){const r=t.type;t.render||(t.render=r.render||Rt);{const i=Qr(t);Zt();try{gh(t)}finally{Lt(),i()}}}const Yh={get(t,e){return Ze(t,"get",""),t[e]}};function Gh(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,Yh),slots:t.slots,emit:t.emit,expose:e}}function fo(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(qa(Md(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Kr)return Kr[n](t)},has(e,n){return n in e||n in Kr}})):t.proxy}const Xh=/(?:^|[-_])\w/g,Qh=t=>t.replace(Xh,e=>e.toUpperCase()).replace(/[-_]/g,"");function Ql(t,e=!0){return K(t)?t.displayName||t.name:t.name||e&&t.__name}function ec(t,e,n=!1){let r=Ql(e);if(!r&&e.__file){const i=e.__file.match(/([^/\\]+)\.\w+$/);i&&(r=i[1])}if(!r&&t){const i=s=>{for(const o in s)if(s[o]===e)return o};r=i(t.components)||t.parent&&i(t.parent.type.components)||i(t.appContext.components)}return r?Qh(r):n?"App":"Anonymous"}function ep(t){return K(t)&&"__vccOpts"in t}const Re=(t,e)=>Ld(t,e,ei);function me(t,e,n){try{ts(-1);const r=arguments.length;return r===2?he(e)&&!W(e)?Xr(e)?je(t,null,[e]):je(t,e):je(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Xr(n)&&(n=[n]),je(t,e,n))}finally{ts(1)}}const tp="3.5.26";/**
|
|
15
|
+
`,...Wd(i)),console.warn(...s)}jt(),Gs=!1}function Hd(){let t=Wr[Wr.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const r=t.component&&t.component.parent;t=r&&r.vnode}return e}function Wd(t){const e=[];return t.forEach((n,r)=>{e.push(...r===0?[]:[`
|
|
16
|
+
`],...Jd(n))}),e}function Jd({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",r=t.component?t.component.parent==null:!1,i=` at <${tc(t.component,t.type,r)}`,s=">"+n;return t.props?[i,...Kd(t.props),s]:[i+s]}function Kd(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(r=>{e.push(...Ga(r,t[r]))}),n.length>3&&e.push(" ..."),e}function Ga(t,e,n){return we(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:Re(e)?(e=Ga(t,re(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):q(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=re(e),n?e:[`${t}=`,e])}function fr(t,e,n,r){try{return r?t(...r):t()}catch(i){Hi(i,e,n)}}function Nt(t,e,n,r){if(q(t)){const i=fr(t,e,n,r);return i&&ka(i)&&i.catch(s=>{Hi(s,e,n)}),i}if(W(t)){const i=[];for(let s=0;s<t.length;s++)i.push(Nt(t[s],e,n,r));return i}}function Hi(t,e,n,r=!0){const i=e?e.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||oe;if(e){let a=e.parent;const l=e.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](t,l,c)===!1)return}a=a.parent}if(s){Lt(),fr(s,null,10,[t,l,c]),jt();return}}qd(t,n,i,r,o)}function qd(t,e,n,r=!0,i=!1){if(i)throw t;console.error(t)}const qe=[];let Bt=-1;const dr=[];let wn=null,hr=0;const Xa=Promise.resolve();let Wi=null;function Qa(t){const e=Wi||Xa;return t?e.then(this?t.bind(this):t):e}function Yd(t){let e=Bt+1,n=qe.length;for(;e<n;){const r=e+n>>>1,i=qe[r],s=Jr(i);s<t||s===t&&i.flags&2?e=r+1:n=r}return e}function Xs(t){if(!(t.flags&1)){const e=Jr(t),n=qe[qe.length-1];!n||!(t.flags&2)&&e>=Jr(n)?qe.push(t):qe.splice(Yd(e),0,t),t.flags|=1,el()}}function el(){Wi||(Wi=Xa.then(rl))}function Gd(t){W(t)?dr.push(...t):wn&&t.id===-1?wn.splice(hr+1,0,t):t.flags&1||(dr.push(t),t.flags|=1),el()}function tl(t,e,n=Bt+1){for(;n<qe.length;n++){const r=qe[n];if(r&&r.flags&2){if(t&&r.id!==t.uid)continue;qe.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function nl(t){if(dr.length){const e=[...new Set(dr)].sort((n,r)=>Jr(n)-Jr(r));if(dr.length=0,wn){wn.push(...e);return}for(wn=e,hr=0;hr<wn.length;hr++){const n=wn[hr];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}wn=null,hr=0}}const Jr=t=>t.id==null?t.flags&2?-1:1/0:t.id;function rl(t){try{for(Bt=0;Bt<qe.length;Bt++){const e=qe[Bt];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),fr(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Bt<qe.length;Bt++){const e=qe[Bt];e&&(e.flags&=-2)}Bt=-1,qe.length=0,nl(),Wi=null,(qe.length||dr.length)&&rl()}}let Ye=null,il=null;function Ji(t){const e=Ye;return Ye=t,il=t&&t.type.__scopeId||null,e}function Vt(t,e=Ye,n){if(!e||t._n)return t;const r=(...i)=>{r._d&&rs(-1);const s=Ji(e);let o;try{o=t(...i)}finally{Ji(s),r._d&&rs(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Bn(t,e,n,r){const i=t.dirs,s=e&&e.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let l=a.dir[r];l&&(Lt(),Nt(l,n,8,[t.el,a,t,e]),jt())}}function Xd(t,e){if(Ue){let n=Ue.provides;const r=Ue.parent&&Ue.parent.provides;r===n&&(n=Ue.provides=Object.create(r)),n[t]=e}}function Sn(t,e,n=!1){const r=ql();if(r||vr){let i=vr?vr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&t in i)return i[t];if(arguments.length>1)return n&&q(e)?e.call(r&&r.proxy):e}}const Qd=Symbol.for("v-scx"),eh=()=>Sn(Qd);function Kr(t,e,n){return sl(t,e,n)}function sl(t,e,n=oe){const{immediate:r,deep:i,flush:s,once:o}=n,a=De({},n),l=e&&r||!e&&s!=="post";let c;if(ri){if(s==="sync"){const d=eh();c=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=Ft,d.resume=Ft,d.pause=Ft,d}}const u=Ue;a.call=(d,m,p)=>Nt(d,u,m,p);let f=!1;s==="post"?a.scheduler=d=>{ft(d,u&&u.suspense)}:s!=="sync"&&(f=!0,a.scheduler=(d,m)=>{m?d():Xs(d)}),a.augmentJob=d=>{e&&(d.flags|=4),f&&(d.flags|=2,u&&(d.id=u.uid,d.i=u))};const h=Vd(t,e,a);return ri&&(c?c.push(h):l&&h()),h}function th(t,e,n){const r=this.proxy,i=we(t)?t.includes(".")?ol(r,t):()=>r[t]:t.bind(r,r);let s;q(e)?s=e:(s=e.handler,n=e);const o=ni(this),a=sl(i,s.bind(r),n);return o(),a}function ol(t,e){const n=e.split(".");return()=>{let r=t;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}const nh=Symbol("_vte"),al=t=>t.__isTeleport,ln=Symbol("_leaveCb"),Ki=Symbol("_enterCb");function rh(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _r(()=>{t.isMounted=!0}),gl(()=>{t.isUnmounting=!0}),t}const Tt=[Function,Array],ll={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Tt,onEnter:Tt,onAfterEnter:Tt,onEnterCancelled:Tt,onBeforeLeave:Tt,onLeave:Tt,onAfterLeave:Tt,onLeaveCancelled:Tt,onBeforeAppear:Tt,onAppear:Tt,onAfterAppear:Tt,onAppearCancelled:Tt},cl=t=>{const e=t.subTree;return e.component?cl(e.component):e},ih={name:"BaseTransition",props:ll,setup(t,{slots:e}){const n=ql(),r=rh();return()=>{const i=e.default&&hl(e.default(),!0);if(!i||!i.length)return;const s=ul(i),o=re(t),{mode:a}=o;if(r.isLeaving)return eo(s);const l=dl(s);if(!l)return eo(s);let c=Qs(l,o,r,n,f=>c=f);l.type!==je&&qr(l,c);let u=n.subTree&&dl(n.subTree);if(u&&u.type!==je&&!Hn(u,l)&&cl(n).type!==je){let f=Qs(u,o,r,n);if(qr(u,f),a==="out-in"&&l.type!==je)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},eo(s);a==="in-out"&&l.type!==je?f.delayLeave=(h,d,m)=>{const p=fl(r,u);p[String(u.key)]=u,h[ln]=()=>{d(),h[ln]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{m(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return s}}};function ul(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==je){e=n;break}}return e}const sh=ih;function fl(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function Qs(t,e,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:h,onLeave:d,onAfterLeave:m,onLeaveCancelled:p,onBeforeAppear:b,onAppear:w,onAfterAppear:k,onAppearCancelled:T}=e,x=String(t.key),y=fl(n,t),E=(v,S)=>{v&&Nt(v,r,9,S)},P=(v,S)=>{const N=S[1];E(v,S),W(v)?v.every(O=>O.length<=1)&&N():v.length<=1&&N()},I={mode:o,persisted:a,beforeEnter(v){let S=l;if(!n.isMounted)if(s)S=b||l;else return;v[ln]&&v[ln](!0);const N=y[x];N&&Hn(t,N)&&N.el[ln]&&N.el[ln](),E(S,[v])},enter(v){let S=c,N=u,O=f;if(!n.isMounted)if(s)S=w||c,N=k||u,O=T||f;else return;let B=!1;const Y=v[Ki]=ie=>{B||(B=!0,ie?E(O,[v]):E(N,[v]),I.delayedLeave&&I.delayedLeave(),v[Ki]=void 0)};S?P(S,[v,Y]):Y()},leave(v,S){const N=String(t.key);if(v[Ki]&&v[Ki](!0),n.isUnmounting)return S();E(h,[v]);let O=!1;const B=v[ln]=Y=>{O||(O=!0,S(),Y?E(p,[v]):E(m,[v]),v[ln]=void 0,y[N]===t&&delete y[N])};y[N]=t,d?P(d,[v,B]):B()},clone(v){const S=Qs(v,e,n,r,i);return i&&i(S),S}};return I}function eo(t){if(Yi(t))return t=kn(t),t.children=null,t}function dl(t){if(!Yi(t))return al(t.type)&&t.children?ul(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&q(n.default))return n.default()}}function qr(t,e){t.shapeFlag&6&&t.component?(t.transition=e,qr(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function hl(t,e=!1,n){let r=[],i=0;for(let s=0;s<t.length;s++){let o=t[s];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:s);o.type===Oe?(o.patchFlag&128&&i++,r=r.concat(hl(o.children,e,a))):(e||o.type!==je)&&r.push(a!=null?kn(o,{key:a}):o)}if(i>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function Ae(t,e){return q(t)?De({name:t.name},e,{setup:t}):t}function pl(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}const qi=new WeakMap;function Yr(t,e,n,r,i=!1){if(W(t)){t.forEach((m,p)=>Yr(m,e&&(W(e)?e[p]:e),n,r,i));return}if(pr(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Yr(t,e,n,r.component.subTree);return}const s=r.shapeFlag&4?ho(r.component):r.el,o=i?null:s,{i:a,r:l}=t,c=e&&e.r,u=a.refs===oe?a.refs={}:a.refs,f=a.setupState,h=re(f),d=f===oe?wa:m=>ae(h,m);if(c!=null&&c!==l){if(_l(e),we(c))u[c]=null,d(c)&&(f[c]=null);else if(Re(c)){c.value=null;const m=e;m.k&&(u[m.k]=null)}}if(q(l))fr(l,a,12,[o,u]);else{const m=we(l),p=Re(l);if(m||p){const b=()=>{if(t.f){const w=m?d(l)?f[l]:u[l]:l.value;if(i)W(w)&&Ds(w,s);else if(W(w))w.includes(s)||w.push(s);else if(m)u[l]=[s],d(l)&&(f[l]=u[l]);else{const k=[s];l.value=k,t.k&&(u[t.k]=k)}}else m?(u[l]=o,d(l)&&(f[l]=o)):p&&(l.value=o,t.k&&(u[t.k]=o))};if(o){const w=()=>{b(),qi.delete(t)};w.id=-1,qi.set(t,w),ft(w,n)}else _l(t),b()}}}function _l(t){const e=qi.get(t);e&&(e.flags|=8,qi.delete(t))}Mi().requestIdleCallback,Mi().cancelIdleCallback;const pr=t=>!!t.type.__asyncLoader,Yi=t=>t.type.__isKeepAlive;function oh(t,e){ml(t,"a",e)}function ah(t,e){ml(t,"da",e)}function ml(t,e,n=Ue){const r=t.__wdc||(t.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return t()});if(Gi(e,r,n),n){let i=n.parent;for(;i&&i.parent;)Yi(i.parent.vnode)&&lh(r,e,n,i),i=i.parent}}function lh(t,e,n,r){const i=Gi(e,t,r,!0);mr(()=>{Ds(r[e],i)},n)}function Gi(t,e,n=Ue,r=!1){if(n){const i=n[t]||(n[t]=[]),s=e.__weh||(e.__weh=(...o)=>{Lt();const a=ni(n),l=Nt(e,n,t,o);return a(),jt(),l});return r?i.unshift(s):i.push(s),s}}const cn=t=>(e,n=Ue)=>{(!ri||t==="sp")&&Gi(t,(...r)=>e(...r),n)},ch=cn("bm"),_r=cn("m"),uh=cn("bu"),fh=cn("u"),gl=cn("bum"),mr=cn("um"),dh=cn("sp"),hh=cn("rtg"),ph=cn("rtc");function _h(t,e=Ue){Gi("ec",t,e)}const mh="components",vl=Symbol.for("v-ndc");function Xi(t){return we(t)?gh(mh,t,!1)||t:t||vl}function gh(t,e,n=!0,r=!1){const i=Ye||Ue;if(i){const s=i.type;{const a=ec(s,!1);if(a&&(a===e||a===St(e)||a===Di(St(e))))return s}const o=yl(i[t]||s[t],e)||yl(i.appContext[t],e);return!o&&r?s:o}}function yl(t,e){return t&&(t[e]||t[St(e)]||t[Di(St(e))])}function gr(t,e,n,r){let i;const s=n,o=W(t);if(o||we(t)){const a=o&&jn(t);let l=!1,c=!1;a&&(l=!kt(t),c=an(t),t=Ni(t)),i=new Array(t.length);for(let u=0,f=t.length;u<f;u++)i[u]=e(l?c?ur(Dt(t[u])):Dt(t[u]):t[u],u,void 0,s)}else if(typeof t=="number"){i=new Array(t);for(let a=0;a<t;a++)i[a]=e(a+1,a,void 0,s)}else if(pe(t))if(t[Symbol.iterator])i=Array.from(t,(a,l)=>e(a,l,void 0,s));else{const a=Object.keys(t);i=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];i[l]=e(t[u],u,l,s)}}else i=[];return i}function bl(t,e,n={},r,i){if(Ye.ce||Ye.parent&&pr(Ye.parent)&&Ye.parent.ce){const c=Object.keys(n).length>0;return e!=="default"&&(n.name=e),J(),nt(Oe,null,[Fe("slot",n,r)],c?-2:64)}let s=t[e];s&&s._c&&(s._d=!1),J();const o=s&&xl(s(n)),a=n.key||o&&o.key,l=nt(Oe,{key:(a&&!rn(a)?a:`_${e}`)+(!o&&r?"_fb":"")},o||[],o&&t._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function xl(t){return t.some(e=>ti(e)?!(e.type===je||e.type===Oe&&!xl(e.children)):!0)?t:null}const to=t=>t?Gl(t)?ho(t):to(t.parent):null,Gr=De(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=>to(t.parent),$root:t=>to(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Tl(t),$forceUpdate:t=>t.f||(t.f=()=>{Xs(t.update)}),$nextTick:t=>t.n||(t.n=Qa.bind(t.proxy)),$watch:t=>th.bind(t)}),no=(t,e)=>t!==oe&&!t.__isScriptSetup&&ae(t,e),vh={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:l}=t;if(e[0]!=="$"){const h=o[e];if(h!==void 0)switch(h){case 1:return r[e];case 2:return i[e];case 4:return n[e];case 3:return s[e]}else{if(no(r,e))return o[e]=1,r[e];if(i!==oe&&ae(i,e))return o[e]=2,i[e];if(ae(s,e))return o[e]=3,s[e];if(n!==oe&&ae(n,e))return o[e]=4,n[e];ro&&(o[e]=0)}}const c=Gr[e];let u,f;if(c)return e==="$attrs"&&Le(t.attrs,"get",""),c(t);if((u=a.__cssModules)&&(u=u[e]))return u;if(n!==oe&&ae(n,e))return o[e]=4,n[e];if(f=l.config.globalProperties,ae(f,e))return f[e]},set({_:t},e,n){const{data:r,setupState:i,ctx:s}=t;return no(i,e)?(i[e]=n,!0):r!==oe&&ae(r,e)?(r[e]=n,!0):ae(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:i,props:s,type:o}},a){let l;return!!(n[a]||t!==oe&&a[0]!=="$"&&ae(t,a)||no(e,a)||ae(s,a)||ae(r,a)||ae(Gr,a)||ae(i.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:ae(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function wl(t){return W(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let ro=!0;function yh(t){const e=Tl(t),n=t.proxy,r=t.ctx;ro=!1,e.beforeCreate&&Sl(e.beforeCreate,t,"bc");const{data:i,computed:s,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:h,beforeUpdate:d,updated:m,activated:p,deactivated:b,beforeDestroy:w,beforeUnmount:k,destroyed:T,unmounted:x,render:y,renderTracked:E,renderTriggered:P,errorCaptured:I,serverPrefetch:v,expose:S,inheritAttrs:N,components:O,directives:B,filters:Y}=e;if(c&&bh(c,r,null),o)for(const G in o){const ee=o[G];q(ee)&&(r[G]=ee.bind(n))}if(i){const G=i.call(n,n);pe(G)&&(t.data=Li(G))}if(ro=!0,s)for(const G in s){const ee=s[G],At=q(ee)?ee.bind(n,n):q(ee.get)?ee.get.bind(n,n):Ft,Qt=!q(ee)&&q(ee.set)?ee.set.bind(n):Ft,xt=Ee({get:At,set:Qt});Object.defineProperty(r,G,{enumerable:!0,configurable:!0,get:()=>xt.value,set:Ne=>xt.value=Ne})}if(a)for(const G in a)kl(a[G],r,n,G);if(l){const G=q(l)?l.call(n):l;Reflect.ownKeys(G).forEach(ee=>{Xd(ee,G[ee])})}u&&Sl(u,t,"c");function Q(G,ee){W(ee)?ee.forEach(At=>G(At.bind(n))):ee&&G(ee.bind(n))}if(Q(ch,f),Q(_r,h),Q(uh,d),Q(fh,m),Q(oh,p),Q(ah,b),Q(_h,I),Q(ph,E),Q(hh,P),Q(gl,k),Q(mr,x),Q(dh,v),W(S))if(S.length){const G=t.exposed||(t.exposed={});S.forEach(ee=>{Object.defineProperty(G,ee,{get:()=>n[ee],set:At=>n[ee]=At,enumerable:!0})})}else t.exposed||(t.exposed={});y&&t.render===Ft&&(t.render=y),N!=null&&(t.inheritAttrs=N),O&&(t.components=O),B&&(t.directives=B),v&&pl(t)}function bh(t,e,n=Ft){W(t)&&(t=io(t));for(const r in t){const i=t[r];let s;pe(i)?"default"in i?s=Sn(i.from||r,i.default,!0):s=Sn(i.from||r):s=Sn(i),Re(s)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):e[r]=s}}function Sl(t,e,n){Nt(W(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function kl(t,e,n,r){let i=r.includes(".")?ol(n,r):()=>n[r];if(we(t)){const s=e[t];q(s)&&Kr(i,s)}else if(q(t))Kr(i,t.bind(n));else if(pe(t))if(W(t))t.forEach(s=>kl(s,e,n,r));else{const s=q(t.handler)?t.handler.bind(n):e[t.handler];q(s)&&Kr(i,s,t)}}function Tl(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=t.appContext,a=s.get(e);let l;return a?l=a:!i.length&&!n&&!r?l=e:(l={},i.length&&i.forEach(c=>Qi(l,c,o,!0)),Qi(l,e,o)),pe(e)&&s.set(e,l),l}function Qi(t,e,n,r=!1){const{mixins:i,extends:s}=e;s&&Qi(t,s,n,!0),i&&i.forEach(o=>Qi(t,o,n,!0));for(const o in e)if(!(r&&o==="expose")){const a=xh[o]||n&&n[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const xh={data:zl,props:Cl,emits:Cl,methods:Xr,computed:Xr,beforeCreate:Ge,created:Ge,beforeMount:Ge,mounted:Ge,beforeUpdate:Ge,updated:Ge,beforeDestroy:Ge,beforeUnmount:Ge,destroyed:Ge,unmounted:Ge,activated:Ge,deactivated:Ge,errorCaptured:Ge,serverPrefetch:Ge,components:Xr,directives:Xr,watch:Sh,provide:zl,inject:wh};function zl(t,e){return e?t?function(){return De(q(t)?t.call(this,this):t,q(e)?e.call(this,this):e)}:e:t}function wh(t,e){return Xr(io(t),io(e))}function io(t){if(W(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ge(t,e){return t?[...new Set([].concat(t,e))]:e}function Xr(t,e){return t?De(Object.create(null),t,e):e}function Cl(t,e){return t?W(t)&&W(e)?[...new Set([...t,...e])]:De(Object.create(null),wl(t),wl(e??{})):e}function Sh(t,e){if(!t)return e;if(!e)return t;const n=De(Object.create(null),t);for(const r in e)n[r]=Ge(t[r],e[r]);return n}function Ol(){return{app:null,config:{isNativeTag:wa,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 kh=0;function Th(t,e){return function(r,i=null){q(r)||(r=De({},r)),i!=null&&!pe(i)&&(i=null);const s=Ol(),o=new WeakSet,a=[];let l=!1;const c=s.app={_uid:kh++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:ip,get config(){return s.config},set config(u){},use(u,...f){return o.has(u)||(u&&q(u.install)?(o.add(u),u.install(c,...f)):q(u)&&(o.add(u),u(c,...f))),c},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),c},component(u,f){return f?(s.components[u]=f,c):s.components[u]},directive(u,f){return f?(s.directives[u]=f,c):s.directives[u]},mount(u,f,h){if(!l){const d=c._ceVNode||Fe(r,i);return d.appContext=s,h===!0?h="svg":h===!1&&(h=void 0),t(d,u,h),l=!0,c._container=u,u.__vue_app__=c,ho(d.component)}},onUnmount(u){a.push(u)},unmount(){l&&(Nt(a,c._instance,16),t(null,c._container),delete c._container.__vue_app__)},provide(u,f){return s.provides[u]=f,c},runWithContext(u){const f=vr;vr=c;try{return u()}finally{vr=f}}};return c}}let vr=null;const zh=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${St(e)}Modifiers`]||t[`${Zn(e)}Modifiers`];function Ch(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||oe;let i=n;const s=e.startsWith("update:"),o=s&&zh(r,e.slice(7));o&&(o.trim&&(i=n.map(u=>we(u)?u.trim():u)),o.number&&(i=n.map(cd)));let a,l=r[a=Ns(e)]||r[a=Ns(St(e))];!l&&s&&(l=r[a=Ns(Zn(e))]),l&&Nt(l,t,6,i);const c=r[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Nt(c,t,6,i)}}const Oh=new WeakMap;function El(t,e,n=!1){const r=n?Oh:e.emitsCache,i=r.get(t);if(i!==void 0)return i;const s=t.emits;let o={},a=!1;if(!q(t)){const l=c=>{const u=El(c,e,!0);u&&(a=!0,De(o,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!s&&!a?(pe(t)&&r.set(t,null),null):(W(s)?s.forEach(l=>o[l]=null):De(o,s),pe(t)&&r.set(t,o),o)}function es(t,e){return!t||!$i(e)?!1:(e=e.slice(2).replace(/Once$/,""),ae(t,e[0].toLowerCase()+e.slice(1))||ae(t,Zn(e))||ae(t,e))}function N1(){}function Pl(t){const{type:e,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:l,render:c,renderCache:u,props:f,data:h,setupState:d,ctx:m,inheritAttrs:p}=t,b=Ji(t);let w,k;try{if(n.shapeFlag&4){const x=i||r,y=x;w=Ht(c.call(y,x,u,f,d,h,m)),k=a}else{const x=e;w=Ht(x.length>1?x(f,{attrs:a,slots:o,emit:l}):x(f,null)),k=e.props?a:Eh(a)}}catch(x){Qr.length=0,Hi(x,t,1),w=Fe(je)}let T=w;if(k&&p!==!1){const x=Object.keys(k),{shapeFlag:y}=T;x.length&&y&7&&(s&&x.some(Is)&&(k=Ph(k,s)),T=kn(T,k,!1,!0))}return n.dirs&&(T=kn(T,null,!1,!0),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&qr(T,n.transition),w=T,Ji(b),w}const Eh=t=>{let e;for(const n in t)(n==="class"||n==="style"||$i(n))&&((e||(e={}))[n]=t[n]);return e},Ph=(t,e)=>{const n={};for(const r in t)(!Is(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function $h(t,e,n){const{props:r,children:i,component:s}=t,{props:o,children:a,patchFlag:l}=e,c=s.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?$l(r,o,c):!!o;if(l&8){const u=e.dynamicProps;for(let f=0;f<u.length;f++){const h=u[f];if(o[h]!==r[h]&&!es(c,h))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?$l(r,o,c):!0:!!o;return!1}function $l(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];if(e[s]!==t[s]&&!es(n,s))return!0}return!1}function Ah({vnode:t,parent:e},n){for(;e;){const r=e.subTree;if(r.suspense&&r.suspense.activeBranch===t&&(r.el=t.el),r===t)(t=e.vnode).el=n,e=e.parent;else break}}const Al={},Il=()=>Object.create(Al),Dl=t=>Object.getPrototypeOf(t)===Al;function Ih(t,e,n,r=!1){const i={},s=Il();t.propsDefaults=Object.create(null),Ml(t,e,i,s);for(const o in t.propsOptions[0])o in i||(i[o]=void 0);n?t.props=r?i:Nd(i):t.type.props?t.props=i:t.props=s,t.attrs=s}function Dh(t,e,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=t,a=re(i),[l]=t.propsOptions;let c=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=t.vnode.dynamicProps;for(let f=0;f<u.length;f++){let h=u[f];if(es(t.emitsOptions,h))continue;const d=e[h];if(l)if(ae(s,h))d!==s[h]&&(s[h]=d,c=!0);else{const m=St(h);i[m]=so(l,a,m,d,t,!1)}else d!==s[h]&&(s[h]=d,c=!0)}}}else{Ml(t,e,i,s)&&(c=!0);let u;for(const f in a)(!e||!ae(e,f)&&((u=Zn(f))===f||!ae(e,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(i[f]=so(l,a,f,void 0,t,!0)):delete i[f]);if(s!==a)for(const f in s)(!e||!ae(e,f))&&(delete s[f],c=!0)}c&&sn(t.attrs,"set","")}function Ml(t,e,n,r){const[i,s]=t.propsOptions;let o=!1,a;if(e)for(let l in e){if(Lr(l))continue;const c=e[l];let u;i&&ae(i,u=St(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:es(t.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,o=!0)}if(s){const l=re(n),c=a||oe;for(let u=0;u<s.length;u++){const f=s[u];n[f]=so(i,l,f,c[f],t,!ae(c,f))}}return o}function so(t,e,n,r,i,s){const o=t[n];if(o!=null){const a=ae(o,"default");if(a&&r===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&q(l)){const{propsDefaults:c}=i;if(n in c)r=c[n];else{const u=ni(i);r=c[n]=l.call(null,e),u()}}else r=l;i.ce&&i.ce._setProp(n,r)}o[0]&&(s&&!a?r=!1:o[1]&&(r===""||r===Zn(n))&&(r=!0))}return r}const Mh=new WeakMap;function Nl(t,e,n=!1){const r=n?Mh:e.propsCache,i=r.get(t);if(i)return i;const s=t.props,o={},a=[];let l=!1;if(!q(t)){const u=f=>{l=!0;const[h,d]=Nl(f,e,!0);De(o,h),d&&a.push(...d)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!s&&!l)return pe(t)&&r.set(t,ar),ar;if(W(s))for(let u=0;u<s.length;u++){const f=St(s[u]);Rl(f)&&(o[f]=oe)}else if(s)for(const u in s){const f=St(u);if(Rl(f)){const h=s[u],d=o[f]=W(h)||q(h)?{type:h}:De({},h),m=d.type;let p=!1,b=!0;if(W(m))for(let w=0;w<m.length;++w){const k=m[w],T=q(k)&&k.name;if(T==="Boolean"){p=!0;break}else T==="String"&&(b=!1)}else p=q(m)&&m.name==="Boolean";d[0]=p,d[1]=b,(p||ae(d,"default"))&&a.push(f)}}const c=[o,a];return pe(t)&&r.set(t,c),c}function Rl(t){return t[0]!=="$"&&!Lr(t)}const oo=t=>t==="_"||t==="_ctx"||t==="$stable",ao=t=>W(t)?t.map(Ht):[Ht(t)],Nh=(t,e,n)=>{if(e._n)return e;const r=Vt((...i)=>ao(e(...i)),n);return r._c=!1,r},Fl=(t,e,n)=>{const r=t._ctx;for(const i in t){if(oo(i))continue;const s=t[i];if(q(s))e[i]=Nh(i,s,r);else if(s!=null){const o=ao(s);e[i]=()=>o}}},Zl=(t,e)=>{const n=ao(e);t.slots.default=()=>n},Ll=(t,e,n)=>{for(const r in e)(n||!oo(r))&&(t[r]=e[r])},Rh=(t,e,n)=>{const r=t.slots=Il();if(t.vnode.shapeFlag&32){const i=e._;i?(Ll(r,e,n),n&&Ca(r,"_",i,!0)):Fl(e,r)}else e&&Zl(t,e)},Fh=(t,e,n)=>{const{vnode:r,slots:i}=t;let s=!0,o=oe;if(r.shapeFlag&32){const a=e._;a?n&&a===1?s=!1:Ll(i,e,n):(s=!e.$stable,Fl(e,i)),o=e}else e&&(Zl(t,e),o={default:1});if(s)for(const a in i)!oo(a)&&o[a]==null&&delete i[a]},ft=Bh;function Zh(t){return Lh(t)}function Lh(t,e){const n=Mi();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:h,setScopeId:d=Ft,insertStaticContent:m}=t,p=(_,g,C,R=null,$=null,A=null,L=void 0,Z=null,F=!!g.dynamicChildren)=>{if(_===g)return;_&&!Hn(_,g)&&(R=As(_),Ne(_,$,A,!0),_=null),g.patchFlag===-2&&(F=!1,g.dynamicChildren=null);const{type:D,ref:H,shapeFlag:j}=g;switch(D){case ts:b(_,g,C,R);break;case je:w(_,g,C,R);break;case ns:_==null&&k(g,C,R,L);break;case Oe:O(_,g,C,R,$,A,L,Z,F);break;default:j&1?y(_,g,C,R,$,A,L,Z,F):j&6?B(_,g,C,R,$,A,L,Z,F):(j&64||j&128)&&D.process(_,g,C,R,$,A,L,Z,F,Ei)}H!=null&&$?Yr(H,_&&_.ref,A,g||_,!g):H==null&&_&&_.ref!=null&&Yr(_.ref,null,A,_,!0)},b=(_,g,C,R)=>{if(_==null)r(g.el=a(g.children),C,R);else{const $=g.el=_.el;g.children!==_.children&&c($,g.children)}},w=(_,g,C,R)=>{_==null?r(g.el=l(g.children||""),C,R):g.el=_.el},k=(_,g,C,R)=>{[_.el,_.anchor]=m(_.children,g,C,R,_.el,_.anchor)},T=({el:_,anchor:g},C,R)=>{let $;for(;_&&_!==g;)$=h(_),r(_,C,R),_=$;r(g,C,R)},x=({el:_,anchor:g})=>{let C;for(;_&&_!==g;)C=h(_),i(_),_=C;i(g)},y=(_,g,C,R,$,A,L,Z,F)=>{if(g.type==="svg"?L="svg":g.type==="math"&&(L="mathml"),_==null)E(g,C,R,$,A,L,Z,F);else{const D=_.el&&_.el._isVueCE?_.el:null;try{D&&D._beginPatch(),v(_,g,$,A,L,Z,F)}finally{D&&D._endPatch()}}},E=(_,g,C,R,$,A,L,Z)=>{let F,D;const{props:H,shapeFlag:j,transition:V,dirs:K}=_;if(F=_.el=o(_.type,A,H&&H.is,H),j&8?u(F,_.children):j&16&&I(_.children,F,null,R,$,lo(_,A),L,Z),K&&Bn(_,null,R,"created"),P(F,_,_.scopeId,L,R),H){for(const ve in H)ve!=="value"&&!Lr(ve)&&s(F,ve,null,H[ve],A,R);"value"in H&&s(F,"value",null,H.value,A),(D=H.onVnodeBeforeMount)&&Wt(D,R,_)}K&&Bn(_,null,R,"beforeMount");const ne=jh($,V);ne&&V.beforeEnter(F),r(F,g,C),((D=H&&H.onVnodeMounted)||ne||K)&&ft(()=>{D&&Wt(D,R,_),ne&&V.enter(F),K&&Bn(_,null,R,"mounted")},$)},P=(_,g,C,R,$)=>{if(C&&d(_,C),R)for(let A=0;A<R.length;A++)d(_,R[A]);if($){let A=$.subTree;if(g===A||Hl(A.type)&&(A.ssContent===g||A.ssFallback===g)){const L=$.vnode;P(_,L,L.scopeId,L.slotScopeIds,$.parent)}}},I=(_,g,C,R,$,A,L,Z,F=0)=>{for(let D=F;D<_.length;D++){const H=_[D]=Z?Tn(_[D]):Ht(_[D]);p(null,H,g,C,R,$,A,L,Z)}},v=(_,g,C,R,$,A,L)=>{const Z=g.el=_.el;let{patchFlag:F,dynamicChildren:D,dirs:H}=g;F|=_.patchFlag&16;const j=_.props||oe,V=g.props||oe;let K;if(C&&Vn(C,!1),(K=V.onVnodeBeforeUpdate)&&Wt(K,C,g,_),H&&Bn(g,_,C,"beforeUpdate"),C&&Vn(C,!0),(j.innerHTML&&V.innerHTML==null||j.textContent&&V.textContent==null)&&u(Z,""),D?S(_.dynamicChildren,D,Z,C,R,lo(g,$),A):L||ee(_,g,Z,null,C,R,lo(g,$),A,!1),F>0){if(F&16)N(Z,j,V,C,$);else if(F&2&&j.class!==V.class&&s(Z,"class",null,V.class,$),F&4&&s(Z,"style",j.style,V.style,$),F&8){const ne=g.dynamicProps;for(let ve=0;ve<ne.length;ve++){const ue=ne[ve],ct=j[ue],ut=V[ue];(ut!==ct||ue==="value")&&s(Z,ue,ct,ut,$,C)}}F&1&&_.children!==g.children&&u(Z,g.children)}else!L&&D==null&&N(Z,j,V,C,$);((K=V.onVnodeUpdated)||H)&&ft(()=>{K&&Wt(K,C,g,_),H&&Bn(g,_,C,"updated")},R)},S=(_,g,C,R,$,A,L)=>{for(let Z=0;Z<g.length;Z++){const F=_[Z],D=g[Z],H=F.el&&(F.type===Oe||!Hn(F,D)||F.shapeFlag&198)?f(F.el):C;p(F,D,H,null,R,$,A,L,!0)}},N=(_,g,C,R,$)=>{if(g!==C){if(g!==oe)for(const A in g)!Lr(A)&&!(A in C)&&s(_,A,g[A],null,$,R);for(const A in C){if(Lr(A))continue;const L=C[A],Z=g[A];L!==Z&&A!=="value"&&s(_,A,Z,L,$,R)}"value"in C&&s(_,"value",g.value,C.value,$)}},O=(_,g,C,R,$,A,L,Z,F)=>{const D=g.el=_?_.el:a(""),H=g.anchor=_?_.anchor:a("");let{patchFlag:j,dynamicChildren:V,slotScopeIds:K}=g;K&&(Z=Z?Z.concat(K):K),_==null?(r(D,C,R),r(H,C,R),I(g.children||[],C,H,$,A,L,Z,F)):j>0&&j&64&&V&&_.dynamicChildren&&_.dynamicChildren.length===V.length?(S(_.dynamicChildren,V,C,$,A,L,Z),(g.key!=null||$&&g===$.subTree)&&jl(_,g,!0)):ee(_,g,C,H,$,A,L,Z,F)},B=(_,g,C,R,$,A,L,Z,F)=>{g.slotScopeIds=Z,_==null?g.shapeFlag&512?$.ctx.activate(g,C,R,L,F):Y(g,C,R,$,A,L,F):ie(_,g,F)},Y=(_,g,C,R,$,A,L)=>{const Z=_.component=Yh(_,R,$);if(Yi(_)&&(Z.ctx.renderer=Ei),Gh(Z,!1,L),Z.asyncDep){if($&&$.registerDep(Z,Q,L),!_.el){const F=Z.subTree=Fe(je);w(null,F,g,C),_.placeholder=F.el}}else Q(Z,_,g,C,$,A,L)},ie=(_,g,C)=>{const R=g.component=_.component;if($h(_,g,C))if(R.asyncDep&&!R.asyncResolved){G(R,g,C);return}else R.next=g,R.update();else g.el=_.el,R.vnode=g},Q=(_,g,C,R,$,A,L)=>{const Z=()=>{if(_.isMounted){let{next:j,bu:V,u:K,parent:ne,vnode:ve}=_;{const tn=Ul(_);if(tn){j&&(j.el=ve.el,G(_,j,L)),tn.asyncDep.then(()=>{_.isUnmounted||Z()});return}}let ue=j,ct;Vn(_,!1),j?(j.el=ve.el,G(_,j,L)):j=ve,V&&Rs(V),(ct=j.props&&j.props.onVnodeBeforeUpdate)&&Wt(ct,ne,j,ve),Vn(_,!0);const ut=Pl(_),en=_.subTree;_.subTree=ut,p(en,ut,f(en.el),As(en),_,$,A),j.el=ut.el,ue===null&&Ah(_,ut.el),K&&ft(K,$),(ct=j.props&&j.props.onVnodeUpdated)&&ft(()=>Wt(ct,ne,j,ve),$)}else{let j;const{el:V,props:K}=g,{bm:ne,m:ve,parent:ue,root:ct,type:ut}=_,en=pr(g);Vn(_,!1),ne&&Rs(ne),!en&&(j=K&&K.onVnodeBeforeMount)&&Wt(j,ue,g),Vn(_,!0);{ct.ce&&ct.ce._def.shadowRoot!==!1&&ct.ce._injectChildStyle(ut);const tn=_.subTree=Pl(_);p(null,tn,C,R,_,$,A),g.el=tn.el}if(ve&&ft(ve,$),!en&&(j=K&&K.onVnodeMounted)){const tn=g;ft(()=>Wt(j,ue,tn),$)}(g.shapeFlag&256||ue&&pr(ue.vnode)&&ue.vnode.shapeFlag&256)&&_.a&&ft(_.a,$),_.isMounted=!0,g=C=R=null}};_.scope.on();const F=_.effect=new Aa(Z);_.scope.off();const D=_.update=F.run.bind(F),H=_.job=F.runIfDirty.bind(F);H.i=_,H.id=_.uid,F.scheduler=()=>Xs(H),Vn(_,!0),D()},G=(_,g,C)=>{g.component=_;const R=_.vnode.props;_.vnode=g,_.next=null,Dh(_,g.props,R,C),Fh(_,g.children,C),Lt(),tl(_),jt()},ee=(_,g,C,R,$,A,L,Z,F=!1)=>{const D=_&&_.children,H=_?_.shapeFlag:0,j=g.children,{patchFlag:V,shapeFlag:K}=g;if(V>0){if(V&128){Qt(D,j,C,R,$,A,L,Z,F);return}else if(V&256){At(D,j,C,R,$,A,L,Z,F);return}}K&8?(H&16&&Oi(D,$,A),j!==D&&u(C,j)):H&16?K&16?Qt(D,j,C,R,$,A,L,Z,F):Oi(D,$,A,!0):(H&8&&u(C,""),K&16&&I(j,C,R,$,A,L,Z,F))},At=(_,g,C,R,$,A,L,Z,F)=>{_=_||ar,g=g||ar;const D=_.length,H=g.length,j=Math.min(D,H);let V;for(V=0;V<j;V++){const K=g[V]=F?Tn(g[V]):Ht(g[V]);p(_[V],K,C,null,$,A,L,Z,F)}D>H?Oi(_,$,A,!0,!1,j):I(g,C,R,$,A,L,Z,F,j)},Qt=(_,g,C,R,$,A,L,Z,F)=>{let D=0;const H=g.length;let j=_.length-1,V=H-1;for(;D<=j&&D<=V;){const K=_[D],ne=g[D]=F?Tn(g[D]):Ht(g[D]);if(Hn(K,ne))p(K,ne,C,null,$,A,L,Z,F);else break;D++}for(;D<=j&&D<=V;){const K=_[j],ne=g[V]=F?Tn(g[V]):Ht(g[V]);if(Hn(K,ne))p(K,ne,C,null,$,A,L,Z,F);else break;j--,V--}if(D>j){if(D<=V){const K=V+1,ne=K<H?g[K].el:R;for(;D<=V;)p(null,g[D]=F?Tn(g[D]):Ht(g[D]),C,ne,$,A,L,Z,F),D++}}else if(D>V)for(;D<=j;)Ne(_[D],$,A,!0),D++;else{const K=D,ne=D,ve=new Map;for(D=ne;D<=V;D++){const wt=g[D]=F?Tn(g[D]):Ht(g[D]);wt.key!=null&&ve.set(wt.key,D)}let ue,ct=0;const ut=V-ne+1;let en=!1,tn=0;const Pi=new Array(ut);for(D=0;D<ut;D++)Pi[D]=0;for(D=K;D<=j;D++){const wt=_[D];if(ct>=ut){Ne(wt,$,A,!0);continue}let nn;if(wt.key!=null)nn=ve.get(wt.key);else for(ue=ne;ue<=V;ue++)if(Pi[ue-ne]===0&&Hn(wt,g[ue])){nn=ue;break}nn===void 0?Ne(wt,$,A,!0):(Pi[nn-ne]=D+1,nn>=tn?tn=nn:en=!0,p(wt,g[nn],C,null,$,A,L,Z,F),ct++)}const nd=en?Uh(Pi):ar;for(ue=nd.length-1,D=ut-1;D>=0;D--){const wt=ne+D,nn=g[wt],rd=g[wt+1],id=wt+1<H?rd.el||Vl(rd):R;Pi[D]===0?p(null,nn,C,id,$,A,L,Z,F):en&&(ue<0||D!==nd[ue]?xt(nn,C,id,2):ue--)}}},xt=(_,g,C,R,$=null)=>{const{el:A,type:L,transition:Z,children:F,shapeFlag:D}=_;if(D&6){xt(_.component.subTree,g,C,R);return}if(D&128){_.suspense.move(g,C,R);return}if(D&64){L.move(_,g,C,Ei);return}if(L===Oe){r(A,g,C);for(let j=0;j<F.length;j++)xt(F[j],g,C,R);r(_.anchor,g,C);return}if(L===ns){T(_,g,C);return}if(R!==2&&D&1&&Z)if(R===0)Z.beforeEnter(A),r(A,g,C),ft(()=>Z.enter(A),$);else{const{leave:j,delayLeave:V,afterLeave:K}=Z,ne=()=>{_.ctx.isUnmounted?i(A):r(A,g,C)},ve=()=>{A._isLeaving&&A[ln](!0),j(A,()=>{ne(),K&&K()})};V?V(A,ne,ve):ve()}else r(A,g,C)},Ne=(_,g,C,R=!1,$=!1)=>{const{type:A,props:L,ref:Z,children:F,dynamicChildren:D,shapeFlag:H,patchFlag:j,dirs:V,cacheIndex:K}=_;if(j===-2&&($=!1),Z!=null&&(Lt(),Yr(Z,null,C,_,!0),jt()),K!=null&&(g.renderCache[K]=void 0),H&256){g.ctx.deactivate(_);return}const ne=H&1&&V,ve=!pr(_);let ue;if(ve&&(ue=L&&L.onVnodeBeforeUnmount)&&Wt(ue,g,_),H&6)vn(_.component,C,R);else{if(H&128){_.suspense.unmount(C,R);return}ne&&Bn(_,null,g,"beforeUnmount"),H&64?_.type.remove(_,g,C,Ei,R):D&&!D.hasOnce&&(A!==Oe||j>0&&j&64)?Oi(D,g,C,!1,!0):(A===Oe&&j&384||!$&&H&16)&&Oi(F,g,C),R&&Ci(_)}(ve&&(ue=L&&L.onVnodeUnmounted)||ne)&&ft(()=>{ue&&Wt(ue,g,_),ne&&Bn(_,null,g,"unmounted")},C)},Ci=_=>{const{type:g,el:C,anchor:R,transition:$}=_;if(g===Oe){Rt(C,R);return}if(g===ns){x(_);return}const A=()=>{i(C),$&&!$.persisted&&$.afterLeave&&$.afterLeave()};if(_.shapeFlag&1&&$&&!$.persisted){const{leave:L,delayLeave:Z}=$,F=()=>L(C,A);Z?Z(_.el,A,F):F()}else A()},Rt=(_,g)=>{let C;for(;_!==g;)C=h(_),i(_),_=C;i(g)},vn=(_,g,C)=>{const{bum:R,scope:$,job:A,subTree:L,um:Z,m:F,a:D}=_;Bl(F),Bl(D),R&&Rs(R),$.stop(),A&&(A.flags|=8,Ne(L,_,g,C)),Z&&ft(Z,g),ft(()=>{_.isUnmounted=!0},g)},Oi=(_,g,C,R=!1,$=!1,A=0)=>{for(let L=A;L<_.length;L++)Ne(_[L],g,C,R,$)},As=_=>{if(_.shapeFlag&6)return As(_.component.subTree);if(_.shapeFlag&128)return _.suspense.next();const g=h(_.anchor||_.el),C=g&&g[nh];return C?h(C):g};let xa=!1;const td=(_,g,C)=>{let R;_==null?g._vnode&&(Ne(g._vnode,null,null,!0),R=g._vnode.component):p(g._vnode||null,_,g,null,null,null,C),g._vnode=_,xa||(xa=!0,tl(R),nl(),xa=!1)},Ei={p,um:Ne,m:xt,r:Ci,mt:Y,mc:I,pc:ee,pbc:S,n:As,o:t};return{render:td,hydrate:void 0,createApp:Th(td)}}function lo({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Vn({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function jh(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function jl(t,e,n=!1){const r=t.children,i=e.children;if(W(r)&&W(i))for(let s=0;s<r.length;s++){const o=r[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=Tn(i[s]),a.el=o.el),!n&&a.patchFlag!==-2&&jl(o,a)),a.type===ts&&(a.patchFlag!==-1?a.el=o.el:a.__elIndex=s+(t.type===Oe?1:0)),a.type===je&&!a.el&&(a.el=o.el)}}function Uh(t){const e=t.slice(),n=[0];let r,i,s,o,a;const l=t.length;for(r=0;r<l;r++){const c=t[r];if(c!==0){if(i=n[n.length-1],t[i]<c){e[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,t[n[a]]<c?s=a+1:o=a;c<t[n[s]]&&(s>0&&(e[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=e[o];return n}function Ul(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Ul(e)}function Bl(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Vl(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Vl(e.subTree):null}const Hl=t=>t.__isSuspense;function Bh(t,e){e&&e.pendingBranch?W(t)?e.effects.push(...t):e.effects.push(t):Gd(t)}const Oe=Symbol.for("v-fgt"),ts=Symbol.for("v-txt"),je=Symbol.for("v-cmt"),ns=Symbol.for("v-stc"),Qr=[];let dt=null;function J(t=!1){Qr.push(dt=t?null:[])}function Vh(){Qr.pop(),dt=Qr[Qr.length-1]||null}let ei=1;function rs(t,e=!1){ei+=t,t<0&&dt&&e&&(dt.hasOnce=!0)}function Wl(t){return t.dynamicChildren=ei>0?dt||ar:null,Vh(),ei>0&&dt&&dt.push(t),t}function se(t,e,n,r,i,s){return Wl(M(t,e,n,r,i,s,!0))}function nt(t,e,n,r,i){return Wl(Fe(t,e,n,r,i,!0))}function ti(t){return t?t.__v_isVNode===!0:!1}function Hn(t,e){return t.type===e.type&&t.key===e.key}const Jl=({key:t})=>t??null,is=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?we(t)||Re(t)||q(t)?{i:Ye,r:t,k:e,f:!!n}:t:null);function M(t,e=null,n=null,r=0,i=null,s=t===Oe?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Jl(e),ref:e&&is(e),scopeId:il,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ye};return a?(co(l,n),s&128&&t.normalize(l)):n&&(l.shapeFlag|=we(n)?8:16),ei>0&&!o&&dt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&dt.push(l),l}const Fe=Hh;function Hh(t,e=null,n=null,r=0,i=null,s=!1){if((!t||t===vl)&&(t=je),ti(t)){const a=kn(t,e,!0);return n&&co(a,n),ei>0&&!s&&dt&&(a.shapeFlag&6?dt[dt.indexOf(t)]=a:dt.push(a)),a.patchFlag=-2,a}if(rp(t)&&(t=t.__vccOpts),e){e=Wh(e);let{class:a,style:l}=e;a&&!we(a)&&(e.class=X(a)),pe(l)&&(Ys(l)&&!W(l)&&(l=De({},l)),e.style=Zt(l))}const o=we(t)?1:Hl(t)?128:al(t)?64:pe(t)?4:q(t)?2:0;return M(t,e,n,r,i,o,s,!0)}function Wh(t){return t?Ys(t)||Dl(t)?De({},t):t:null}function kn(t,e,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:l}=t,c=e?uo(i||{},e):i,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:c,key:c&&Jl(c),ref:e&&e.ref?n&&s?W(s)?s.concat(is(e)):[s,is(e)]:is(e):s,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!==Oe?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:l,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&kn(t.ssContent),ssFallback:t.ssFallback&&kn(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return l&&r&&qr(u,l.clone(u)),u}function Kl(t=" ",e=0){return Fe(ts,null,t,e)}function Jh(t,e){const n=Fe(ns,null,t);return n.staticCount=e,n}function zt(t="",e=!1){return e?(J(),nt(je,null,t)):Fe(je,null,t)}function Ht(t){return t==null||typeof t=="boolean"?Fe(je):W(t)?Fe(Oe,null,t.slice()):ti(t)?Tn(t):Fe(ts,null,String(t))}function Tn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:kn(t)}function co(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(W(e))n=16;else if(typeof e=="object")if(r&65){const i=e.default;i&&(i._c&&(i._d=!1),co(t,i()),i._c&&(i._d=!0));return}else{n=32;const i=e._;!i&&!Dl(e)?e._ctx=Ye:i===3&&Ye&&(Ye.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else q(e)?(e={default:e,_ctx:Ye},n=32):(e=String(e),r&64?(n=16,e=[Kl(e)]):n=8);t.children=e,t.shapeFlag|=n}function uo(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const i in r)if(i==="class")e.class!==r.class&&(e.class=X([e.class,r.class]));else if(i==="style")e.style=Zt([e.style,r.style]);else if($i(i)){const s=e[i],o=r[i];o&&s!==o&&!(W(s)&&s.includes(o))&&(e[i]=s?[].concat(s,o):o)}else i!==""&&(e[i]=r[i])}return e}function Wt(t,e,n,r=null){Nt(t,e,7,[n,r])}const Kh=Ol();let qh=0;function Yh(t,e,n){const r=t.type,i=(e?e.appContext:t.appContext)||Kh,s={uid:qh++,vnode:t,type:r,parent:e,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new md(!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:Nl(r,i),emitsOptions:El(r,i),emit:null,emitted:null,propsDefaults:oe,inheritAttrs:r.inheritAttrs,ctx:oe,data:oe,props:oe,attrs:oe,slots:oe,refs:oe,setupState:oe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=e?e.root:s,s.emit=Ch.bind(null,s),t.ce&&t.ce(s),s}let Ue=null;const ql=()=>Ue||Ye;let ss,fo;{const t=Mi(),e=(n,r)=>{let i;return(i=t[n])||(i=t[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};ss=e("__VUE_INSTANCE_SETTERS__",n=>Ue=n),fo=e("__VUE_SSR_SETTERS__",n=>ri=n)}const ni=t=>{const e=Ue;return ss(t),t.scope.on(),()=>{t.scope.off(),ss(e)}},Yl=()=>{Ue&&Ue.scope.off(),ss(null)};function Gl(t){return t.vnode.shapeFlag&4}let ri=!1;function Gh(t,e=!1,n=!1){e&&fo(e);const{props:r,children:i}=t.vnode,s=Gl(t);Ih(t,r,s,e),Rh(t,i,n||e);const o=s?Xh(t,e):void 0;return e&&fo(!1),o}function Xh(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,vh);const{setup:r}=n;if(r){Lt();const i=t.setupContext=r.length>1?ep(t):null,s=ni(t),o=fr(r,t,0,[t.props,i]),a=ka(o);if(jt(),s(),(a||t.sp)&&!pr(t)&&pl(t),a){if(o.then(Yl,Yl),e)return o.then(l=>{Xl(t,l)}).catch(l=>{Hi(l,t,0)});t.asyncDep=o}else Xl(t,o)}else Ql(t)}function Xl(t,e,n){q(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:pe(e)&&(t.setupState=Ya(e)),Ql(t)}function Ql(t,e,n){const r=t.type;t.render||(t.render=r.render||Ft);{const i=ni(t);Lt();try{yh(t)}finally{jt(),i()}}}const Qh={get(t,e){return Le(t,"get",""),t[e]}};function ep(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,Qh),slots:t.slots,emit:t.emit,expose:e}}function ho(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Ya(Rd(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Gr)return Gr[n](t)},has(e,n){return n in e||n in Gr}})):t.proxy}const tp=/(?:^|[-_])\w/g,np=t=>t.replace(tp,e=>e.toUpperCase()).replace(/[-_]/g,"");function ec(t,e=!0){return q(t)?t.displayName||t.name:t.name||e&&t.__name}function tc(t,e,n=!1){let r=ec(e);if(!r&&e.__file){const i=e.__file.match(/([^/\\]+)\.\w+$/);i&&(r=i[1])}if(!r&&t){const i=s=>{for(const o in s)if(s[o]===e)return o};r=i(t.components)||t.parent&&i(t.parent.type.components)||i(t.appContext.components)}return r?np(r):n?"App":"Anonymous"}function rp(t){return q(t)&&"__vccOpts"in t}const Ee=(t,e)=>Ud(t,e,ri);function me(t,e,n){try{rs(-1);const r=arguments.length;return r===2?pe(e)&&!W(e)?ti(e)?Fe(t,null,[e]):Fe(t,e):Fe(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ti(n)&&(n=[n]),Fe(t,e,n))}finally{rs(1)}}const ip="3.5.26";/**
|
|
17
17
|
* @vue/runtime-dom v3.5.26
|
|
18
18
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
19
19
|
* @license MIT
|
|
20
|
-
**/let ho;const tc=typeof window<"u"&&window.trustedTypes;if(tc)try{ho=tc.createPolicy("vue",{createHTML:t=>t})}catch{}const nc=ho?t=>ho.createHTML(t):t=>t,np="http://www.w3.org/2000/svg",rp="http://www.w3.org/1998/Math/MathML",cn=typeof document<"u"?document:null,rc=cn&&cn.createElement("template"),ip={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e==="svg"?cn.createElementNS(np,t):e==="mathml"?cn.createElementNS(rp,t):n?cn.createElement(t,{is:n}):cn.createElement(t);return t==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:t=>cn.createTextNode(t),createComment:t=>cn.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>cn.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,s){const o=n?n.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{rc.innerHTML=nc(r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t);const a=rc.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},kn="transition",ti="animation",ni=Symbol("_vtc"),ic={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},sp=Ae({},al,ic),sc=(t=>(t.displayName="Transition",t.props=sp,t))((t,{slots:e})=>me(rh,op(t),e)),Hn=(t,e=[])=>{W(t)?t.forEach(n=>n(...e)):t&&t(...e)},oc=t=>t?W(t)?t.some(e=>e.length>1):t.length>1:!1;function op(t){const e={};for(const O in t)O in ic||(e[O]=t[O]);if(t.css===!1)return e;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=o,appearToClass:c=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=t,m=ap(i),p=m&&m[0],y=m&&m[1],{onBeforeEnter:x,onEnter:S,onEnterCancelled:k,onLeave:b,onLeaveCancelled:v,onBeforeAppear:E=x,onAppear:$=S,onAppearCancelled:M=k}=e,w=(O,V,G,ie)=>{O._enterCancelled=ie,Wn(O,V?c:a),Wn(O,V?u:o),G&&G()},C=(O,V)=>{O._isLeaving=!1,Wn(O,f),Wn(O,d),Wn(O,h),V&&V()},N=O=>(V,G)=>{const ie=O?$:S,X=()=>w(V,O,G);Hn(ie,[V,X]),ac(()=>{Wn(V,O?l:s),un(V,O?c:a),oc(ie)||lc(V,r,p,X)})};return Ae(e,{onBeforeEnter(O){Hn(x,[O]),un(O,s),un(O,o)},onBeforeAppear(O){Hn(E,[O]),un(O,l),un(O,u)},onEnter:N(!1),onAppear:N(!0),onLeave(O,V){O._isLeaving=!0;const G=()=>C(O,V);un(O,f),O._enterCancelled?(un(O,h),fc(O)):(fc(O),un(O,h)),ac(()=>{O._isLeaving&&(Wn(O,f),un(O,d),oc(b)||lc(O,r,y,G))}),Hn(b,[O,G])},onEnterCancelled(O){w(O,!1,void 0,!0),Hn(k,[O])},onAppearCancelled(O){w(O,!0,void 0,!0),Hn(M,[O])},onLeaveCancelled(O){C(O),Hn(v,[O])}})}function ap(t){if(t==null)return null;if(he(t))return[po(t.enter),po(t.leave)];{const e=po(t);return[e,e]}}function po(t){return ld(t)}function un(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[ni]||(t[ni]=new Set)).add(e)}function Wn(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const n=t[ni];n&&(n.delete(e),n.size||(t[ni]=void 0))}function ac(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let lp=0;function lc(t,e,n,r){const i=t._endId=++lp,s=()=>{i===t._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:o,timeout:a,propCount:l}=cp(t,e);if(!o)return r();const u=o+"end";let c=0;const f=()=>{t.removeEventListener(u,h),s()},h=d=>{d.target===t&&++c>=l&&f()};setTimeout(()=>{c<l&&f()},a+1),t.addEventListener(u,h)}function cp(t,e){const n=window.getComputedStyle(t),r=m=>(n[m]||"").split(", "),i=r(`${kn}Delay`),s=r(`${kn}Duration`),o=cc(i,s),a=r(`${ti}Delay`),l=r(`${ti}Duration`),u=cc(a,l);let c=null,f=0,h=0;e===kn?o>0&&(c=kn,f=o,h=s.length):e===ti?u>0&&(c=ti,f=u,h=l.length):(f=Math.max(o,u),c=f>0?o>u?kn:ti:null,h=c?c===kn?s.length:l.length:0);const d=c===kn&&/\b(?:transform|all)(?:,|$)/.test(r(`${kn}Property`).toString());return{type:c,timeout:f,propCount:h,hasTransform:d}}function cc(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,r)=>uc(n)+uc(t[r])))}function uc(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function fc(t){return(t?t.ownerDocument:document).body.offsetHeight}function up(t,e,n){const r=t[ni];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const dc=Symbol("_vod"),fp=Symbol("_vsh"),dp=Symbol(""),hp=/(?:^|;)\s*display\s*:/;function pp(t,e,n){const r=t.style,i=we(n);let s=!1;if(n&&!i){if(e)if(we(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&is(r,a,"")}else for(const o in e)n[o]==null&&is(r,o,"");for(const o in n)o==="display"&&(s=!0),is(r,o,n[o])}else if(i){if(e!==n){const o=r[dp];o&&(n+=";"+o),r.cssText=n,s=hp.test(n)}}else e&&t.removeAttribute("style");dc in t&&(t[dc]=s?r.display:"",t[fp]&&(r.display="none"))}const hc=/\s*!important$/;function is(t,e,n){if(W(n))n.forEach(r=>is(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=_p(t,e);hc.test(n)?t.setProperty(Fn(r),n.replace(hc,""),"important"):t[r]=n}}const pc=["Webkit","Moz","ms"],_o={};function _p(t,e){const n=_o[e];if(n)return n;let r=St(e);if(r!=="filter"&&r in t)return _o[e]=r;r=Ai(r);for(let i=0;i<pc.length;i++){const s=pc[i]+r;if(s in t)return _o[e]=s}return e}const _c="http://www.w3.org/1999/xlink";function mc(t,e,n,r,i,s=hd(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(_c,e.slice(6,e.length)):t.setAttributeNS(_c,e,n):n==null||s&&!Ca(n)?t.removeAttribute(e):t.setAttribute(e,s?"":nn(n)?String(n):n)}function gc(t,e,n,r,i){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?nc(n):n);return}const s=t.tagName;if(e==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?t.getAttribute("value")||"":t.value,l=n==null?t.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in t))&&(t.value=l),n==null&&t.removeAttribute(e),t._value=n;return}let o=!1;if(n===""||n==null){const a=typeof t[e];a==="boolean"?n=Ca(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{t[e]=n}catch{}o&&t.removeAttribute(i||e)}function mp(t,e,n,r){t.addEventListener(e,n,r)}function gp(t,e,n,r){t.removeEventListener(e,n,r)}const vc=Symbol("_vei");function vp(t,e,n,r,i=null){const s=t[vc]||(t[vc]={}),o=s[e];if(r&&o)o.value=r;else{const[a,l]=yp(e);if(r){const u=s[e]=wp(r,i);mp(t,a,u,l)}else o&&(gp(t,a,o,l),s[e]=void 0)}}const yc=/(?:Once|Passive|Capture)$/;function yp(t){let e;if(yc.test(t)){e={};let r;for(;r=t.match(yc);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Fn(t.slice(2)),e]}let mo=0;const bp=Promise.resolve(),xp=()=>mo||(bp.then(()=>mo=0),mo=Date.now());function wp(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Dt(Sp(r,n.value),e,5,[r])};return n.value=t,n.attached=xp(),n}function Sp(t,e){if(W(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>i=>!i._stopped&&r&&r(i))}else return e}const bc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,kp=(t,e,n,r,i,s)=>{const o=i==="svg";e==="class"?up(t,r,o):e==="style"?pp(t,n,r):Ei(e)?$s(e)||vp(t,e,n,r,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Tp(t,e,r,o))?(gc(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&mc(t,e,r,o,s,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!we(r))?gc(t,St(e),r,s,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),mc(t,e,r,o))};function Tp(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&bc(e)&&K(n));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 bc(e)&&we(n)?!1:e in t}const zp=["ctrl","shift","alt","meta"],Cp={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>zp.some(n=>t[`${n}Key`]&&!e.includes(n))},Op=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(i,...s)=>{for(let o=0;o<e.length;o++){const a=Cp[e[o]];if(a&&a(i,e))return}return t(i,...s)})},Ep=Ae({patchProp:kp},ip);let xc;function Pp(){return xc||(xc=Rh(Ep))}const $p=(...t)=>{const e=Pp().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=Ip(r);if(!i)return;const s=e._component;!K(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Ap(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function Ap(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Ip(t){return we(t)?document.querySelector(t):t}const wc={"i:s":"star","i:u":"users","i:c":"check","i:a":"arrow-right","c:p":"#6366f1","c:s":"#10b981","c:d":"#ef4444","v:g":"gradient","v:o":"outlined","v:s":"soft"};function Dp(t){return t in wc?wc[t]:t}function T(t,e,n){function r(a,l){if(a._zod||Object.defineProperty(a,"_zod",{value:{def:l,constr:o,traits:new Set},enumerable:!1}),a._zod.traits.has(t))return;a._zod.traits.add(t),e(a,l);const u=o.prototype,c=Object.keys(u);for(let f=0;f<c.length;f++){const h=c[f];h in a||(a[h]=u[h].bind(a))}}const i=(n==null?void 0:n.Parent)??Object;class s extends i{}Object.defineProperty(s,"name",{value:t});function o(a){var l;const u=n!=null&&n.Parent?new s:this;r(u,a),(l=u._zod).deferred??(l.deferred=[]);for(const c of u._zod.deferred)c();return u}return Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:a=>{var l,u;return n!=null&&n.Parent&&a instanceof n.Parent?!0:(u=(l=a==null?void 0:a._zod)==null?void 0:l.traits)==null?void 0:u.has(t)}}),Object.defineProperty(o,"name",{value:t}),o}class mr extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class Sc extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}const kc={};function Tn(t){return kc}function Tc(t){const e=Object.values(t).filter(r=>typeof r=="number");return Object.entries(t).filter(([r,i])=>e.indexOf(+r)===-1).map(([r,i])=>i)}function go(t,e){return typeof e=="bigint"?e.toString():e}function ss(t){return{get value(){{const e=t();return Object.defineProperty(this,"value",{value:e}),e}}}}function vo(t){return t==null}function yo(t){const e=t.startsWith("^")?1:0,n=t.endsWith("$")?t.length-1:t.length;return t.slice(e,n)}function Mp(t,e){const n=(t.toString().split(".")[1]||"").length,r=e.toString();let i=(r.split(".")[1]||"").length;if(i===0&&/\d?e-\d?/.test(r)){const l=r.match(/\d?e-(\d?)/);l!=null&&l[1]&&(i=Number.parseInt(l[1]))}const s=n>i?n:i,o=Number.parseInt(t.toFixed(s).replace(".","")),a=Number.parseInt(e.toFixed(s).replace(".",""));return o%a/10**s}const zc=Symbol("evaluating");function ue(t,e,n){let r;Object.defineProperty(t,e,{get(){if(r!==zc)return r===void 0&&(r=zc,r=n()),r},set(i){Object.defineProperty(t,e,{value:i})},configurable:!0})}function Jn(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Kn(...t){const e={};for(const n of t){const r=Object.getOwnPropertyDescriptors(n);Object.assign(e,r)}return Object.defineProperties({},e)}function Cc(t){return JSON.stringify(t)}function Np(t){return t.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const Oc="captureStackTrace"in Error?Error.captureStackTrace:(...t)=>{};function ri(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}const Rp=ss(()=>{var t;if(typeof navigator<"u"&&((t=navigator==null?void 0:navigator.userAgent)!=null&&t.includes("Cloudflare")))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function gr(t){if(ri(t)===!1)return!1;const e=t.constructor;if(e===void 0||typeof e!="function")return!0;const n=e.prototype;return!(ri(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function Ec(t){return gr(t)?{...t}:Array.isArray(t)?[...t]:t}const Fp=new Set(["string","number","symbol"]);function vr(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function zn(t,e,n){const r=new t._zod.constr(e??t._zod.def);return(!e||n!=null&&n.parent)&&(r._zod.parent=t),r}function U(t){const e=t;if(!e)return{};if(typeof e=="string")return{error:()=>e};if((e==null?void 0:e.message)!==void 0){if((e==null?void 0:e.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");e.error=e.message}return delete e.message,typeof e.error=="string"?{...e,error:()=>e.error}:e}function Zp(t){return Object.keys(t).filter(e=>t[e]._zod.optin==="optional"&&t[e]._zod.optout==="optional")}const Lp={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function jp(t,e){const n=t._zod.def,r=Kn(t._zod.def,{get shape(){const i={};for(const s in e){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);e[s]&&(i[s]=n.shape[s])}return Jn(this,"shape",i),i},checks:[]});return zn(t,r)}function Up(t,e){const n=t._zod.def,r=Kn(t._zod.def,{get shape(){const i={...t._zod.def.shape};for(const s in e){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);e[s]&&delete i[s]}return Jn(this,"shape",i),i},checks:[]});return zn(t,r)}function Vp(t,e){if(!gr(e))throw new Error("Invalid input to extend: expected a plain object");const n=t._zod.def.checks;if(n&&n.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const i=Kn(t._zod.def,{get shape(){const s={...t._zod.def.shape,...e};return Jn(this,"shape",s),s},checks:[]});return zn(t,i)}function Bp(t,e){if(!gr(e))throw new Error("Invalid input to safeExtend: expected a plain object");const n={...t._zod.def,get shape(){const r={...t._zod.def.shape,...e};return Jn(this,"shape",r),r},checks:t._zod.def.checks};return zn(t,n)}function Hp(t,e){const n=Kn(t._zod.def,{get shape(){const r={...t._zod.def.shape,...e._zod.def.shape};return Jn(this,"shape",r),r},get catchall(){return e._zod.def.catchall},checks:[]});return zn(t,n)}function Wp(t,e,n){const r=Kn(e._zod.def,{get shape(){const i=e._zod.def.shape,s={...i};if(n)for(const o in n){if(!(o in i))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(s[o]=t?new t({type:"optional",innerType:i[o]}):i[o])}else for(const o in i)s[o]=t?new t({type:"optional",innerType:i[o]}):i[o];return Jn(this,"shape",s),s},checks:[]});return zn(e,r)}function Jp(t,e,n){const r=Kn(e._zod.def,{get shape(){const i=e._zod.def.shape,s={...i};if(n)for(const o in n){if(!(o in s))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(s[o]=new t({type:"nonoptional",innerType:i[o]}))}else for(const o in i)s[o]=new t({type:"nonoptional",innerType:i[o]});return Jn(this,"shape",s),s},checks:[]});return zn(e,r)}function yr(t,e=0){var n;if(t.aborted===!0)return!0;for(let r=e;r<t.issues.length;r++)if(((n=t.issues[r])==null?void 0:n.continue)!==!0)return!0;return!1}function br(t,e){return e.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(t),n})}function os(t){return typeof t=="string"?t:t==null?void 0:t.message}function Cn(t,e,n){var i,s,o,a,l,u;const r={...t,path:t.path??[]};if(!t.message){const c=os((o=(s=(i=t.inst)==null?void 0:i._zod.def)==null?void 0:s.error)==null?void 0:o.call(s,t))??os((a=e==null?void 0:e.error)==null?void 0:a.call(e,t))??os((l=n.customError)==null?void 0:l.call(n,t))??os((u=n.localeError)==null?void 0:u.call(n,t))??"Invalid input";r.message=c}return delete r.inst,delete r.continue,e!=null&&e.reportInput||delete r.input,r}function bo(t){return Array.isArray(t)?"array":typeof t=="string"?"string":"unknown"}function ii(...t){const[e,n,r]=t;return typeof e=="string"?{message:e,code:"custom",input:n,inst:r}:{...e}}const Pc=(t,e)=>{t.name="$ZodError",Object.defineProperty(t,"_zod",{value:t._zod,enumerable:!1}),Object.defineProperty(t,"issues",{value:e,enumerable:!1}),t.message=JSON.stringify(e,go,2),Object.defineProperty(t,"toString",{value:()=>t.message,enumerable:!1})},$c=T("$ZodError",Pc),Ac=T("$ZodError",Pc,{Parent:Error});function Kp(t,e=n=>n.message){const n={},r=[];for(const i of t.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(e(i))):r.push(e(i));return{formErrors:r,fieldErrors:n}}function qp(t,e=n=>n.message){const n={_errors:[]},r=i=>{for(const s of i.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(o=>r({issues:o}));else if(s.code==="invalid_key")r({issues:s.issues});else if(s.code==="invalid_element")r({issues:s.issues});else if(s.path.length===0)n._errors.push(e(s));else{let o=n,a=0;for(;a<s.path.length;){const l=s.path[a];a===s.path.length-1?(o[l]=o[l]||{_errors:[]},o[l]._errors.push(e(s))):o[l]=o[l]||{_errors:[]},o=o[l],a++}}};return r(t),n}const xo=t=>(e,n,r,i)=>{const s=r?Object.assign(r,{async:!1}):{async:!1},o=e._zod.run({value:n,issues:[]},s);if(o instanceof Promise)throw new mr;if(o.issues.length){const a=new((i==null?void 0:i.Err)??t)(o.issues.map(l=>Cn(l,s,Tn())));throw Oc(a,i==null?void 0:i.callee),a}return o.value},wo=t=>async(e,n,r,i)=>{const s=r?Object.assign(r,{async:!0}):{async:!0};let o=e._zod.run({value:n,issues:[]},s);if(o instanceof Promise&&(o=await o),o.issues.length){const a=new((i==null?void 0:i.Err)??t)(o.issues.map(l=>Cn(l,s,Tn())));throw Oc(a,i==null?void 0:i.callee),a}return o.value},as=t=>(e,n,r)=>{const i=r?{...r,async:!1}:{async:!1},s=e._zod.run({value:n,issues:[]},i);if(s instanceof Promise)throw new mr;return s.issues.length?{success:!1,error:new(t??$c)(s.issues.map(o=>Cn(o,i,Tn())))}:{success:!0,data:s.value}},Yp=as(Ac),ls=t=>async(e,n,r)=>{const i=r?Object.assign(r,{async:!0}):{async:!0};let s=e._zod.run({value:n,issues:[]},i);return s instanceof Promise&&(s=await s),s.issues.length?{success:!1,error:new t(s.issues.map(o=>Cn(o,i,Tn())))}:{success:!0,data:s.value}},Gp=ls(Ac),Xp=t=>(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return xo(t)(e,n,i)},Qp=t=>(e,n,r)=>xo(t)(e,n,r),e_=t=>async(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return wo(t)(e,n,i)},t_=t=>async(e,n,r)=>wo(t)(e,n,r),n_=t=>(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return as(t)(e,n,i)},r_=t=>(e,n,r)=>as(t)(e,n,r),i_=t=>async(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return ls(t)(e,n,i)},s_=t=>async(e,n,r)=>ls(t)(e,n,r),o_=/^[cC][^\s-]{8,}$/,a_=/^[0-9a-z]+$/,l_=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,c_=/^[0-9a-vA-V]{20}$/,u_=/^[A-Za-z0-9]{27}$/,f_=/^[a-zA-Z0-9_-]{21}$/,d_=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,h_=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Ic=t=>t?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${t}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,p_=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,__="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function m_(){return new RegExp(__,"u")}const g_=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,v_=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,y_=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,b_=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,x_=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Dc=/^[A-Za-z0-9_-]*$/,w_=/^\+(?:[0-9]){6,14}[0-9]$/,Mc="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",S_=new RegExp(`^${Mc}$`);function Nc(t){const e="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof t.precision=="number"?t.precision===-1?`${e}`:t.precision===0?`${e}:[0-5]\\d`:`${e}:[0-5]\\d\\.\\d{${t.precision}}`:`${e}(?::[0-5]\\d(?:\\.\\d+)?)?`}function k_(t){return new RegExp(`^${Nc(t)}$`)}function T_(t){const e=Nc({precision:t.precision}),n=["Z"];t.local&&n.push(""),t.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const r=`${e}(?:${n.join("|")})`;return new RegExp(`^${Mc}T(?:${r})$`)}const z_=t=>{const e=t?`[\\s\\S]{${(t==null?void 0:t.minimum)??0},${(t==null?void 0:t.maximum)??""}}`:"[\\s\\S]*";return new RegExp(`^${e}$`)},C_=/^-?\d+$/,O_=/^-?\d+(?:\.\d+)?/,E_=/^(?:true|false)$/i,P_=/^null$/i,$_=/^undefined$/i,A_=/^[^A-Z]*$/,I_=/^[^a-z]*$/,rt=T("$ZodCheck",(t,e)=>{var n;t._zod??(t._zod={}),t._zod.def=e,(n=t._zod).onattach??(n.onattach=[])}),Rc={number:"number",bigint:"bigint",object:"date"},Fc=T("$ZodCheckLessThan",(t,e)=>{rt.init(t,e);const n=Rc[typeof e.value];t._zod.onattach.push(r=>{const i=r._zod.bag,s=(e.inclusive?i.maximum:i.exclusiveMaximum)??Number.POSITIVE_INFINITY;e.value<s&&(e.inclusive?i.maximum=e.value:i.exclusiveMaximum=e.value)}),t._zod.check=r=>{(e.inclusive?r.value<=e.value:r.value<e.value)||r.issues.push({origin:n,code:"too_big",maximum:e.value,input:r.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),Zc=T("$ZodCheckGreaterThan",(t,e)=>{rt.init(t,e);const n=Rc[typeof e.value];t._zod.onattach.push(r=>{const i=r._zod.bag,s=(e.inclusive?i.minimum:i.exclusiveMinimum)??Number.NEGATIVE_INFINITY;e.value>s&&(e.inclusive?i.minimum=e.value:i.exclusiveMinimum=e.value)}),t._zod.check=r=>{(e.inclusive?r.value>=e.value:r.value>e.value)||r.issues.push({origin:n,code:"too_small",minimum:e.value,input:r.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),D_=T("$ZodCheckMultipleOf",(t,e)=>{rt.init(t,e),t._zod.onattach.push(n=>{var r;(r=n._zod.bag).multipleOf??(r.multipleOf=e.value)}),t._zod.check=n=>{if(typeof n.value!=typeof e.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%e.value===BigInt(0):Mp(n.value,e.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:e.value,input:n.value,inst:t,continue:!e.abort})}}),M_=T("$ZodCheckNumberFormat",(t,e)=>{var o;rt.init(t,e),e.format=e.format||"float64";const n=(o=e.format)==null?void 0:o.includes("int"),r=n?"int":"number",[i,s]=Lp[e.format];t._zod.onattach.push(a=>{const l=a._zod.bag;l.format=e.format,l.minimum=i,l.maximum=s,n&&(l.pattern=C_)}),t._zod.check=a=>{const l=a.value;if(n){if(!Number.isInteger(l)){a.issues.push({expected:r,format:e.format,code:"invalid_type",continue:!1,input:l,inst:t});return}if(!Number.isSafeInteger(l)){l>0?a.issues.push({input:l,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:r,continue:!e.abort}):a.issues.push({input:l,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:r,continue:!e.abort});return}}l<i&&a.issues.push({origin:"number",input:l,code:"too_small",minimum:i,inclusive:!0,inst:t,continue:!e.abort}),l>s&&a.issues.push({origin:"number",input:l,code:"too_big",maximum:s,inst:t})}}),N_=T("$ZodCheckMaxLength",(t,e)=>{var n;rt.init(t,e),(n=t._zod.def).when??(n.when=r=>{const i=r.value;return!vo(i)&&i.length!==void 0}),t._zod.onattach.push(r=>{const i=r._zod.bag.maximum??Number.POSITIVE_INFINITY;e.maximum<i&&(r._zod.bag.maximum=e.maximum)}),t._zod.check=r=>{const i=r.value;if(i.length<=e.maximum)return;const o=bo(i);r.issues.push({origin:o,code:"too_big",maximum:e.maximum,inclusive:!0,input:i,inst:t,continue:!e.abort})}}),R_=T("$ZodCheckMinLength",(t,e)=>{var n;rt.init(t,e),(n=t._zod.def).when??(n.when=r=>{const i=r.value;return!vo(i)&&i.length!==void 0}),t._zod.onattach.push(r=>{const i=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;e.minimum>i&&(r._zod.bag.minimum=e.minimum)}),t._zod.check=r=>{const i=r.value;if(i.length>=e.minimum)return;const o=bo(i);r.issues.push({origin:o,code:"too_small",minimum:e.minimum,inclusive:!0,input:i,inst:t,continue:!e.abort})}}),F_=T("$ZodCheckLengthEquals",(t,e)=>{var n;rt.init(t,e),(n=t._zod.def).when??(n.when=r=>{const i=r.value;return!vo(i)&&i.length!==void 0}),t._zod.onattach.push(r=>{const i=r._zod.bag;i.minimum=e.length,i.maximum=e.length,i.length=e.length}),t._zod.check=r=>{const i=r.value,s=i.length;if(s===e.length)return;const o=bo(i),a=s>e.length;r.issues.push({origin:o,...a?{code:"too_big",maximum:e.length}:{code:"too_small",minimum:e.length},inclusive:!0,exact:!0,input:r.value,inst:t,continue:!e.abort})}}),cs=T("$ZodCheckStringFormat",(t,e)=>{var n,r;rt.init(t,e),t._zod.onattach.push(i=>{const s=i._zod.bag;s.format=e.format,e.pattern&&(s.patterns??(s.patterns=new Set),s.patterns.add(e.pattern))}),e.pattern?(n=t._zod).check??(n.check=i=>{e.pattern.lastIndex=0,!e.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:e.format,input:i.value,...e.pattern?{pattern:e.pattern.toString()}:{},inst:t,continue:!e.abort})}):(r=t._zod).check??(r.check=()=>{})}),Z_=T("$ZodCheckRegex",(t,e)=>{cs.init(t,e),t._zod.check=n=>{e.pattern.lastIndex=0,!e.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:e.pattern.toString(),inst:t,continue:!e.abort})}}),L_=T("$ZodCheckLowerCase",(t,e)=>{e.pattern??(e.pattern=A_),cs.init(t,e)}),j_=T("$ZodCheckUpperCase",(t,e)=>{e.pattern??(e.pattern=I_),cs.init(t,e)}),U_=T("$ZodCheckIncludes",(t,e)=>{rt.init(t,e);const n=vr(e.includes),r=new RegExp(typeof e.position=="number"?`^.{${e.position}}${n}`:n);e.pattern=r,t._zod.onattach.push(i=>{const s=i._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(r)}),t._zod.check=i=>{i.value.includes(e.includes,e.position)||i.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:e.includes,input:i.value,inst:t,continue:!e.abort})}}),V_=T("$ZodCheckStartsWith",(t,e)=>{rt.init(t,e);const n=new RegExp(`^${vr(e.prefix)}.*`);e.pattern??(e.pattern=n),t._zod.onattach.push(r=>{const i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(n)}),t._zod.check=r=>{r.value.startsWith(e.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:e.prefix,input:r.value,inst:t,continue:!e.abort})}}),B_=T("$ZodCheckEndsWith",(t,e)=>{rt.init(t,e);const n=new RegExp(`.*${vr(e.suffix)}$`);e.pattern??(e.pattern=n),t._zod.onattach.push(r=>{const i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(n)}),t._zod.check=r=>{r.value.endsWith(e.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:e.suffix,input:r.value,inst:t,continue:!e.abort})}}),H_=T("$ZodCheckOverwrite",(t,e)=>{rt.init(t,e),t._zod.check=n=>{n.value=e.tx(n.value)}});class W_{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if(typeof e=="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}const r=e.split(`
|
|
20
|
+
**/let po;const nc=typeof window<"u"&&window.trustedTypes;if(nc)try{po=nc.createPolicy("vue",{createHTML:t=>t})}catch{}const rc=po?t=>po.createHTML(t):t=>t,sp="http://www.w3.org/2000/svg",op="http://www.w3.org/1998/Math/MathML",un=typeof document<"u"?document:null,ic=un&&un.createElement("template"),ap={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const i=e==="svg"?un.createElementNS(sp,t):e==="mathml"?un.createElementNS(op,t):n?un.createElement(t,{is:n}):un.createElement(t);return t==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:t=>un.createTextNode(t),createComment:t=>un.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>un.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,i,s){const o=n?n.previousSibling:e.lastChild;if(i&&(i===s||i.nextSibling))for(;e.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{ic.innerHTML=rc(r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t);const a=ic.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[o?o.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},zn="transition",ii="animation",si=Symbol("_vtc"),sc={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},lp=De({},ll,sc),oc=(t=>(t.displayName="Transition",t.props=lp,t))((t,{slots:e})=>me(sh,cp(t),e)),Wn=(t,e=[])=>{W(t)?t.forEach(n=>n(...e)):t&&t(...e)},ac=t=>t?W(t)?t.some(e=>e.length>1):t.length>1:!1;function cp(t){const e={};for(const O in t)O in sc||(e[O]=t[O]);if(t.css===!1)return e;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=t,m=up(i),p=m&&m[0],b=m&&m[1],{onBeforeEnter:w,onEnter:k,onEnterCancelled:T,onLeave:x,onLeaveCancelled:y,onBeforeAppear:E=w,onAppear:P=k,onAppearCancelled:I=T}=e,v=(O,B,Y,ie)=>{O._enterCancelled=ie,Jn(O,B?u:a),Jn(O,B?c:o),Y&&Y()},S=(O,B)=>{O._isLeaving=!1,Jn(O,f),Jn(O,d),Jn(O,h),B&&B()},N=O=>(B,Y)=>{const ie=O?P:k,Q=()=>v(B,O,Y);Wn(ie,[B,Q]),lc(()=>{Jn(B,O?l:s),fn(B,O?u:a),ac(ie)||cc(B,r,p,Q)})};return De(e,{onBeforeEnter(O){Wn(w,[O]),fn(O,s),fn(O,o)},onBeforeAppear(O){Wn(E,[O]),fn(O,l),fn(O,c)},onEnter:N(!1),onAppear:N(!0),onLeave(O,B){O._isLeaving=!0;const Y=()=>S(O,B);fn(O,f),O._enterCancelled?(fn(O,h),dc(O)):(dc(O),fn(O,h)),lc(()=>{O._isLeaving&&(Jn(O,f),fn(O,d),ac(x)||cc(O,r,b,Y))}),Wn(x,[O,Y])},onEnterCancelled(O){v(O,!1,void 0,!0),Wn(T,[O])},onAppearCancelled(O){v(O,!0,void 0,!0),Wn(I,[O])},onLeaveCancelled(O){S(O),Wn(y,[O])}})}function up(t){if(t==null)return null;if(pe(t))return[_o(t.enter),_o(t.leave)];{const e=_o(t);return[e,e]}}function _o(t){return ud(t)}function fn(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[si]||(t[si]=new Set)).add(e)}function Jn(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const n=t[si];n&&(n.delete(e),n.size||(t[si]=void 0))}function lc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let fp=0;function cc(t,e,n,r){const i=t._endId=++fp,s=()=>{i===t._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:o,timeout:a,propCount:l}=dp(t,e);if(!o)return r();const c=o+"end";let u=0;const f=()=>{t.removeEventListener(c,h),s()},h=d=>{d.target===t&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),t.addEventListener(c,h)}function dp(t,e){const n=window.getComputedStyle(t),r=m=>(n[m]||"").split(", "),i=r(`${zn}Delay`),s=r(`${zn}Duration`),o=uc(i,s),a=r(`${ii}Delay`),l=r(`${ii}Duration`),c=uc(a,l);let u=null,f=0,h=0;e===zn?o>0&&(u=zn,f=o,h=s.length):e===ii?c>0&&(u=ii,f=c,h=l.length):(f=Math.max(o,c),u=f>0?o>c?zn:ii:null,h=u?u===zn?s.length:l.length:0);const d=u===zn&&/\b(?:transform|all)(?:,|$)/.test(r(`${zn}Property`).toString());return{type:u,timeout:f,propCount:h,hasTransform:d}}function uc(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,r)=>fc(n)+fc(t[r])))}function fc(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function dc(t){return(t?t.ownerDocument:document).body.offsetHeight}function hp(t,e,n){const r=t[si];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const hc=Symbol("_vod"),pp=Symbol("_vsh"),_p=Symbol(""),mp=/(?:^|;)\s*display\s*:/;function gp(t,e,n){const r=t.style,i=we(n);let s=!1;if(n&&!i){if(e)if(we(e))for(const o of e.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&os(r,a,"")}else for(const o in e)n[o]==null&&os(r,o,"");for(const o in n)o==="display"&&(s=!0),os(r,o,n[o])}else if(i){if(e!==n){const o=r[_p];o&&(n+=";"+o),r.cssText=n,s=mp.test(n)}}else e&&t.removeAttribute("style");hc in t&&(t[hc]=s?r.display:"",t[pp]&&(r.display="none"))}const pc=/\s*!important$/;function os(t,e,n){if(W(n))n.forEach(r=>os(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=vp(t,e);pc.test(n)?t.setProperty(Zn(r),n.replace(pc,""),"important"):t[r]=n}}const _c=["Webkit","Moz","ms"],mo={};function vp(t,e){const n=mo[e];if(n)return n;let r=St(e);if(r!=="filter"&&r in t)return mo[e]=r;r=Di(r);for(let i=0;i<_c.length;i++){const s=_c[i]+r;if(s in t)return mo[e]=s}return e}const mc="http://www.w3.org/1999/xlink";function gc(t,e,n,r,i,s=_d(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(mc,e.slice(6,e.length)):t.setAttributeNS(mc,e,n):n==null||s&&!Ea(n)?t.removeAttribute(e):t.setAttribute(e,s?"":rn(n)?String(n):n)}function vc(t,e,n,r,i){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?rc(n):n);return}const s=t.tagName;if(e==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?t.getAttribute("value")||"":t.value,l=n==null?t.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in t))&&(t.value=l),n==null&&t.removeAttribute(e),t._value=n;return}let o=!1;if(n===""||n==null){const a=typeof t[e];a==="boolean"?n=Ea(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{t[e]=n}catch{}o&&t.removeAttribute(i||e)}function yp(t,e,n,r){t.addEventListener(e,n,r)}function bp(t,e,n,r){t.removeEventListener(e,n,r)}const yc=Symbol("_vei");function xp(t,e,n,r,i=null){const s=t[yc]||(t[yc]={}),o=s[e];if(r&&o)o.value=r;else{const[a,l]=wp(e);if(r){const c=s[e]=Tp(r,i);yp(t,a,c,l)}else o&&(bp(t,a,o,l),s[e]=void 0)}}const bc=/(?:Once|Passive|Capture)$/;function wp(t){let e;if(bc.test(t)){e={};let r;for(;r=t.match(bc);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Zn(t.slice(2)),e]}let go=0;const Sp=Promise.resolve(),kp=()=>go||(Sp.then(()=>go=0),go=Date.now());function Tp(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Nt(zp(r,n.value),e,5,[r])};return n.value=t,n.attached=kp(),n}function zp(t,e){if(W(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>i=>!i._stopped&&r&&r(i))}else return e}const xc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Cp=(t,e,n,r,i,s)=>{const o=i==="svg";e==="class"?hp(t,r,o):e==="style"?gp(t,n,r):$i(e)?Is(e)||xp(t,e,n,r,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Op(t,e,r,o))?(vc(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&gc(t,e,r,o,s,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!we(r))?vc(t,St(e),r,s,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),gc(t,e,r,o))};function Op(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&xc(e)&&q(n));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 xc(e)&&we(n)?!1:e in t}const Ep=["ctrl","shift","alt","meta"],Pp={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>Ep.some(n=>t[`${n}Key`]&&!e.includes(n))},wc=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(i,...s)=>{for(let o=0;o<e.length;o++){const a=Pp[e[o]];if(a&&a(i,e))return}return t(i,...s)})},$p=De({patchProp:Cp},ap);let Sc;function Ap(){return Sc||(Sc=Zh($p))}const kc=(...t)=>{const e=Ap().createApp(...t),{mount:n}=e;return e.mount=r=>{const i=Dp(r);if(!i)return;const s=e._component;!q(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,Ip(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},e};function Ip(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Dp(t){return we(t)?document.querySelector(t):t}const Tc={"i:s":"star","i:u":"users","i:c":"check","i:a":"arrow-right","c:p":"#6366f1","c:s":"#10b981","c:d":"#ef4444","v:g":"gradient","v:o":"outlined","v:s":"soft"};function Mp(t){return t in Tc?Tc[t]:t}function z(t,e,n){function r(a,l){if(a._zod||Object.defineProperty(a,"_zod",{value:{def:l,constr:o,traits:new Set},enumerable:!1}),a._zod.traits.has(t))return;a._zod.traits.add(t),e(a,l);const c=o.prototype,u=Object.keys(c);for(let f=0;f<u.length;f++){const h=u[f];h in a||(a[h]=c[h].bind(a))}}const i=(n==null?void 0:n.Parent)??Object;class s extends i{}Object.defineProperty(s,"name",{value:t});function o(a){var l;const c=n!=null&&n.Parent?new s:this;r(c,a),(l=c._zod).deferred??(l.deferred=[]);for(const u of c._zod.deferred)u();return c}return Object.defineProperty(o,"init",{value:r}),Object.defineProperty(o,Symbol.hasInstance,{value:a=>{var l,c;return n!=null&&n.Parent&&a instanceof n.Parent?!0:(c=(l=a==null?void 0:a._zod)==null?void 0:l.traits)==null?void 0:c.has(t)}}),Object.defineProperty(o,"name",{value:t}),o}class yr extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class zc extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}const Cc={};function Cn(t){return Cc}function Oc(t){const e=Object.values(t).filter(r=>typeof r=="number");return Object.entries(t).filter(([r,i])=>e.indexOf(+r)===-1).map(([r,i])=>i)}function vo(t,e){return typeof e=="bigint"?e.toString():e}function as(t){return{get value(){{const e=t();return Object.defineProperty(this,"value",{value:e}),e}}}}function yo(t){return t==null}function bo(t){const e=t.startsWith("^")?1:0,n=t.endsWith("$")?t.length-1:t.length;return t.slice(e,n)}function Np(t,e){const n=(t.toString().split(".")[1]||"").length,r=e.toString();let i=(r.split(".")[1]||"").length;if(i===0&&/\d?e-\d?/.test(r)){const l=r.match(/\d?e-(\d?)/);l!=null&&l[1]&&(i=Number.parseInt(l[1]))}const s=n>i?n:i,o=Number.parseInt(t.toFixed(s).replace(".","")),a=Number.parseInt(e.toFixed(s).replace(".",""));return o%a/10**s}const Ec=Symbol("evaluating");function fe(t,e,n){let r;Object.defineProperty(t,e,{get(){if(r!==Ec)return r===void 0&&(r=Ec,r=n()),r},set(i){Object.defineProperty(t,e,{value:i})},configurable:!0})}function Kn(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0})}function qn(...t){const e={};for(const n of t){const r=Object.getOwnPropertyDescriptors(n);Object.assign(e,r)}return Object.defineProperties({},e)}function Pc(t){return JSON.stringify(t)}function Rp(t){return t.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const $c="captureStackTrace"in Error?Error.captureStackTrace:(...t)=>{};function oi(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}const Fp=as(()=>{var t;if(typeof navigator<"u"&&((t=navigator==null?void 0:navigator.userAgent)!=null&&t.includes("Cloudflare")))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function br(t){if(oi(t)===!1)return!1;const e=t.constructor;if(e===void 0||typeof e!="function")return!0;const n=e.prototype;return!(oi(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function Ac(t){return br(t)?{...t}:Array.isArray(t)?[...t]:t}const Zp=new Set(["string","number","symbol"]);function xr(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function On(t,e,n){const r=new t._zod.constr(e??t._zod.def);return(!e||n!=null&&n.parent)&&(r._zod.parent=t),r}function U(t){const e=t;if(!e)return{};if(typeof e=="string")return{error:()=>e};if((e==null?void 0:e.message)!==void 0){if((e==null?void 0:e.error)!==void 0)throw new Error("Cannot specify both `message` and `error` params");e.error=e.message}return delete e.message,typeof e.error=="string"?{...e,error:()=>e.error}:e}function Lp(t){return Object.keys(t).filter(e=>t[e]._zod.optin==="optional"&&t[e]._zod.optout==="optional")}const jp={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function Up(t,e){const n=t._zod.def,r=qn(t._zod.def,{get shape(){const i={};for(const s in e){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);e[s]&&(i[s]=n.shape[s])}return Kn(this,"shape",i),i},checks:[]});return On(t,r)}function Bp(t,e){const n=t._zod.def,r=qn(t._zod.def,{get shape(){const i={...t._zod.def.shape};for(const s in e){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);e[s]&&delete i[s]}return Kn(this,"shape",i),i},checks:[]});return On(t,r)}function Vp(t,e){if(!br(e))throw new Error("Invalid input to extend: expected a plain object");const n=t._zod.def.checks;if(n&&n.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const i=qn(t._zod.def,{get shape(){const s={...t._zod.def.shape,...e};return Kn(this,"shape",s),s},checks:[]});return On(t,i)}function Hp(t,e){if(!br(e))throw new Error("Invalid input to safeExtend: expected a plain object");const n={...t._zod.def,get shape(){const r={...t._zod.def.shape,...e};return Kn(this,"shape",r),r},checks:t._zod.def.checks};return On(t,n)}function Wp(t,e){const n=qn(t._zod.def,{get shape(){const r={...t._zod.def.shape,...e._zod.def.shape};return Kn(this,"shape",r),r},get catchall(){return e._zod.def.catchall},checks:[]});return On(t,n)}function Jp(t,e,n){const r=qn(e._zod.def,{get shape(){const i=e._zod.def.shape,s={...i};if(n)for(const o in n){if(!(o in i))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(s[o]=t?new t({type:"optional",innerType:i[o]}):i[o])}else for(const o in i)s[o]=t?new t({type:"optional",innerType:i[o]}):i[o];return Kn(this,"shape",s),s},checks:[]});return On(e,r)}function Kp(t,e,n){const r=qn(e._zod.def,{get shape(){const i=e._zod.def.shape,s={...i};if(n)for(const o in n){if(!(o in s))throw new Error(`Unrecognized key: "${o}"`);n[o]&&(s[o]=new t({type:"nonoptional",innerType:i[o]}))}else for(const o in i)s[o]=new t({type:"nonoptional",innerType:i[o]});return Kn(this,"shape",s),s},checks:[]});return On(e,r)}function wr(t,e=0){var n;if(t.aborted===!0)return!0;for(let r=e;r<t.issues.length;r++)if(((n=t.issues[r])==null?void 0:n.continue)!==!0)return!0;return!1}function Sr(t,e){return e.map(n=>{var r;return(r=n).path??(r.path=[]),n.path.unshift(t),n})}function ls(t){return typeof t=="string"?t:t==null?void 0:t.message}function En(t,e,n){var i,s,o,a,l,c;const r={...t,path:t.path??[]};if(!t.message){const u=ls((o=(s=(i=t.inst)==null?void 0:i._zod.def)==null?void 0:s.error)==null?void 0:o.call(s,t))??ls((a=e==null?void 0:e.error)==null?void 0:a.call(e,t))??ls((l=n.customError)==null?void 0:l.call(n,t))??ls((c=n.localeError)==null?void 0:c.call(n,t))??"Invalid input";r.message=u}return delete r.inst,delete r.continue,e!=null&&e.reportInput||delete r.input,r}function xo(t){return Array.isArray(t)?"array":typeof t=="string"?"string":"unknown"}function ai(...t){const[e,n,r]=t;return typeof e=="string"?{message:e,code:"custom",input:n,inst:r}:{...e}}const Ic=(t,e)=>{t.name="$ZodError",Object.defineProperty(t,"_zod",{value:t._zod,enumerable:!1}),Object.defineProperty(t,"issues",{value:e,enumerable:!1}),t.message=JSON.stringify(e,vo,2),Object.defineProperty(t,"toString",{value:()=>t.message,enumerable:!1})},Dc=z("$ZodError",Ic),Mc=z("$ZodError",Ic,{Parent:Error});function qp(t,e=n=>n.message){const n={},r=[];for(const i of t.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(e(i))):r.push(e(i));return{formErrors:r,fieldErrors:n}}function Yp(t,e=n=>n.message){const n={_errors:[]},r=i=>{for(const s of i.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(o=>r({issues:o}));else if(s.code==="invalid_key")r({issues:s.issues});else if(s.code==="invalid_element")r({issues:s.issues});else if(s.path.length===0)n._errors.push(e(s));else{let o=n,a=0;for(;a<s.path.length;){const l=s.path[a];a===s.path.length-1?(o[l]=o[l]||{_errors:[]},o[l]._errors.push(e(s))):o[l]=o[l]||{_errors:[]},o=o[l],a++}}};return r(t),n}const wo=t=>(e,n,r,i)=>{const s=r?Object.assign(r,{async:!1}):{async:!1},o=e._zod.run({value:n,issues:[]},s);if(o instanceof Promise)throw new yr;if(o.issues.length){const a=new((i==null?void 0:i.Err)??t)(o.issues.map(l=>En(l,s,Cn())));throw $c(a,i==null?void 0:i.callee),a}return o.value},So=t=>async(e,n,r,i)=>{const s=r?Object.assign(r,{async:!0}):{async:!0};let o=e._zod.run({value:n,issues:[]},s);if(o instanceof Promise&&(o=await o),o.issues.length){const a=new((i==null?void 0:i.Err)??t)(o.issues.map(l=>En(l,s,Cn())));throw $c(a,i==null?void 0:i.callee),a}return o.value},cs=t=>(e,n,r)=>{const i=r?{...r,async:!1}:{async:!1},s=e._zod.run({value:n,issues:[]},i);if(s instanceof Promise)throw new yr;return s.issues.length?{success:!1,error:new(t??Dc)(s.issues.map(o=>En(o,i,Cn())))}:{success:!0,data:s.value}},Gp=cs(Mc),us=t=>async(e,n,r)=>{const i=r?Object.assign(r,{async:!0}):{async:!0};let s=e._zod.run({value:n,issues:[]},i);return s instanceof Promise&&(s=await s),s.issues.length?{success:!1,error:new t(s.issues.map(o=>En(o,i,Cn())))}:{success:!0,data:s.value}},Xp=us(Mc),Qp=t=>(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return wo(t)(e,n,i)},e_=t=>(e,n,r)=>wo(t)(e,n,r),t_=t=>async(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return So(t)(e,n,i)},n_=t=>async(e,n,r)=>So(t)(e,n,r),r_=t=>(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return cs(t)(e,n,i)},i_=t=>(e,n,r)=>cs(t)(e,n,r),s_=t=>async(e,n,r)=>{const i=r?Object.assign(r,{direction:"backward"}):{direction:"backward"};return us(t)(e,n,i)},o_=t=>async(e,n,r)=>us(t)(e,n,r),a_=/^[cC][^\s-]{8,}$/,l_=/^[0-9a-z]+$/,c_=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,u_=/^[0-9a-vA-V]{20}$/,f_=/^[A-Za-z0-9]{27}$/,d_=/^[a-zA-Z0-9_-]{21}$/,h_=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,p_=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Nc=t=>t?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${t}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,__=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,m_="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function g_(){return new RegExp(m_,"u")}const v_=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,y_=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,b_=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,x_=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,w_=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Rc=/^[A-Za-z0-9_-]*$/,S_=/^\+(?:[0-9]){6,14}[0-9]$/,Fc="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",k_=new RegExp(`^${Fc}$`);function Zc(t){const e="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof t.precision=="number"?t.precision===-1?`${e}`:t.precision===0?`${e}:[0-5]\\d`:`${e}:[0-5]\\d\\.\\d{${t.precision}}`:`${e}(?::[0-5]\\d(?:\\.\\d+)?)?`}function T_(t){return new RegExp(`^${Zc(t)}$`)}function z_(t){const e=Zc({precision:t.precision}),n=["Z"];t.local&&n.push(""),t.offset&&n.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const r=`${e}(?:${n.join("|")})`;return new RegExp(`^${Fc}T(?:${r})$`)}const C_=t=>{const e=t?`[\\s\\S]{${(t==null?void 0:t.minimum)??0},${(t==null?void 0:t.maximum)??""}}`:"[\\s\\S]*";return new RegExp(`^${e}$`)},O_=/^-?\d+$/,E_=/^-?\d+(?:\.\d+)?/,P_=/^(?:true|false)$/i,$_=/^null$/i,A_=/^undefined$/i,I_=/^[^A-Z]*$/,D_=/^[^a-z]*$/,rt=z("$ZodCheck",(t,e)=>{var n;t._zod??(t._zod={}),t._zod.def=e,(n=t._zod).onattach??(n.onattach=[])}),Lc={number:"number",bigint:"bigint",object:"date"},jc=z("$ZodCheckLessThan",(t,e)=>{rt.init(t,e);const n=Lc[typeof e.value];t._zod.onattach.push(r=>{const i=r._zod.bag,s=(e.inclusive?i.maximum:i.exclusiveMaximum)??Number.POSITIVE_INFINITY;e.value<s&&(e.inclusive?i.maximum=e.value:i.exclusiveMaximum=e.value)}),t._zod.check=r=>{(e.inclusive?r.value<=e.value:r.value<e.value)||r.issues.push({origin:n,code:"too_big",maximum:e.value,input:r.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),Uc=z("$ZodCheckGreaterThan",(t,e)=>{rt.init(t,e);const n=Lc[typeof e.value];t._zod.onattach.push(r=>{const i=r._zod.bag,s=(e.inclusive?i.minimum:i.exclusiveMinimum)??Number.NEGATIVE_INFINITY;e.value>s&&(e.inclusive?i.minimum=e.value:i.exclusiveMinimum=e.value)}),t._zod.check=r=>{(e.inclusive?r.value>=e.value:r.value>e.value)||r.issues.push({origin:n,code:"too_small",minimum:e.value,input:r.value,inclusive:e.inclusive,inst:t,continue:!e.abort})}}),M_=z("$ZodCheckMultipleOf",(t,e)=>{rt.init(t,e),t._zod.onattach.push(n=>{var r;(r=n._zod.bag).multipleOf??(r.multipleOf=e.value)}),t._zod.check=n=>{if(typeof n.value!=typeof e.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?n.value%e.value===BigInt(0):Np(n.value,e.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:e.value,input:n.value,inst:t,continue:!e.abort})}}),N_=z("$ZodCheckNumberFormat",(t,e)=>{var o;rt.init(t,e),e.format=e.format||"float64";const n=(o=e.format)==null?void 0:o.includes("int"),r=n?"int":"number",[i,s]=jp[e.format];t._zod.onattach.push(a=>{const l=a._zod.bag;l.format=e.format,l.minimum=i,l.maximum=s,n&&(l.pattern=O_)}),t._zod.check=a=>{const l=a.value;if(n){if(!Number.isInteger(l)){a.issues.push({expected:r,format:e.format,code:"invalid_type",continue:!1,input:l,inst:t});return}if(!Number.isSafeInteger(l)){l>0?a.issues.push({input:l,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:r,continue:!e.abort}):a.issues.push({input:l,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:t,origin:r,continue:!e.abort});return}}l<i&&a.issues.push({origin:"number",input:l,code:"too_small",minimum:i,inclusive:!0,inst:t,continue:!e.abort}),l>s&&a.issues.push({origin:"number",input:l,code:"too_big",maximum:s,inst:t})}}),R_=z("$ZodCheckMaxLength",(t,e)=>{var n;rt.init(t,e),(n=t._zod.def).when??(n.when=r=>{const i=r.value;return!yo(i)&&i.length!==void 0}),t._zod.onattach.push(r=>{const i=r._zod.bag.maximum??Number.POSITIVE_INFINITY;e.maximum<i&&(r._zod.bag.maximum=e.maximum)}),t._zod.check=r=>{const i=r.value;if(i.length<=e.maximum)return;const o=xo(i);r.issues.push({origin:o,code:"too_big",maximum:e.maximum,inclusive:!0,input:i,inst:t,continue:!e.abort})}}),F_=z("$ZodCheckMinLength",(t,e)=>{var n;rt.init(t,e),(n=t._zod.def).when??(n.when=r=>{const i=r.value;return!yo(i)&&i.length!==void 0}),t._zod.onattach.push(r=>{const i=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;e.minimum>i&&(r._zod.bag.minimum=e.minimum)}),t._zod.check=r=>{const i=r.value;if(i.length>=e.minimum)return;const o=xo(i);r.issues.push({origin:o,code:"too_small",minimum:e.minimum,inclusive:!0,input:i,inst:t,continue:!e.abort})}}),Z_=z("$ZodCheckLengthEquals",(t,e)=>{var n;rt.init(t,e),(n=t._zod.def).when??(n.when=r=>{const i=r.value;return!yo(i)&&i.length!==void 0}),t._zod.onattach.push(r=>{const i=r._zod.bag;i.minimum=e.length,i.maximum=e.length,i.length=e.length}),t._zod.check=r=>{const i=r.value,s=i.length;if(s===e.length)return;const o=xo(i),a=s>e.length;r.issues.push({origin:o,...a?{code:"too_big",maximum:e.length}:{code:"too_small",minimum:e.length},inclusive:!0,exact:!0,input:r.value,inst:t,continue:!e.abort})}}),fs=z("$ZodCheckStringFormat",(t,e)=>{var n,r;rt.init(t,e),t._zod.onattach.push(i=>{const s=i._zod.bag;s.format=e.format,e.pattern&&(s.patterns??(s.patterns=new Set),s.patterns.add(e.pattern))}),e.pattern?(n=t._zod).check??(n.check=i=>{e.pattern.lastIndex=0,!e.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:e.format,input:i.value,...e.pattern?{pattern:e.pattern.toString()}:{},inst:t,continue:!e.abort})}):(r=t._zod).check??(r.check=()=>{})}),L_=z("$ZodCheckRegex",(t,e)=>{fs.init(t,e),t._zod.check=n=>{e.pattern.lastIndex=0,!e.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:e.pattern.toString(),inst:t,continue:!e.abort})}}),j_=z("$ZodCheckLowerCase",(t,e)=>{e.pattern??(e.pattern=I_),fs.init(t,e)}),U_=z("$ZodCheckUpperCase",(t,e)=>{e.pattern??(e.pattern=D_),fs.init(t,e)}),B_=z("$ZodCheckIncludes",(t,e)=>{rt.init(t,e);const n=xr(e.includes),r=new RegExp(typeof e.position=="number"?`^.{${e.position}}${n}`:n);e.pattern=r,t._zod.onattach.push(i=>{const s=i._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(r)}),t._zod.check=i=>{i.value.includes(e.includes,e.position)||i.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:e.includes,input:i.value,inst:t,continue:!e.abort})}}),V_=z("$ZodCheckStartsWith",(t,e)=>{rt.init(t,e);const n=new RegExp(`^${xr(e.prefix)}.*`);e.pattern??(e.pattern=n),t._zod.onattach.push(r=>{const i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(n)}),t._zod.check=r=>{r.value.startsWith(e.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:e.prefix,input:r.value,inst:t,continue:!e.abort})}}),H_=z("$ZodCheckEndsWith",(t,e)=>{rt.init(t,e);const n=new RegExp(`.*${xr(e.suffix)}$`);e.pattern??(e.pattern=n),t._zod.onattach.push(r=>{const i=r._zod.bag;i.patterns??(i.patterns=new Set),i.patterns.add(n)}),t._zod.check=r=>{r.value.endsWith(e.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:e.suffix,input:r.value,inst:t,continue:!e.abort})}}),W_=z("$ZodCheckOverwrite",(t,e)=>{rt.init(t,e),t._zod.check=n=>{n.value=e.tx(n.value)}});class J_{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if(typeof e=="function"){e(this,{execution:"sync"}),e(this,{execution:"async"});return}const r=e.split(`
|
|
21
21
|
`).filter(o=>o),i=Math.min(...r.map(o=>o.length-o.trimStart().length)),s=r.map(o=>o.slice(i)).map(o=>" ".repeat(this.indent*2)+o);for(const o of s)this.content.push(o)}compile(){const e=Function,n=this==null?void 0:this.args,i=[...((this==null?void 0:this.content)??[""]).map(s=>` ${s}`)];return new e(...n,i.join(`
|
|
22
|
-
`))}}const
|
|
23
|
-
if (${
|
|
24
|
-
payload.issues = payload.issues.concat(${
|
|
22
|
+
`))}}const K_={major:4,minor:2,patch:1},ge=z("$ZodType",(t,e)=>{var i;var n;t??(t={}),t._zod.def=e,t._zod.bag=t._zod.bag||{},t._zod.version=K_;const r=[...t._zod.def.checks??[]];t._zod.traits.has("$ZodCheck")&&r.unshift(t);for(const s of r)for(const o of s._zod.onattach)o(t);if(r.length===0)(n=t._zod).deferred??(n.deferred=[]),(i=t._zod.deferred)==null||i.push(()=>{t._zod.run=t._zod.parse});else{const s=(a,l,c)=>{let u=wr(a),f;for(const h of l){if(h._zod.def.when){if(!h._zod.def.when(a))continue}else if(u)continue;const d=a.issues.length,m=h._zod.check(a);if(m instanceof Promise&&(c==null?void 0:c.async)===!1)throw new yr;if(f||m instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await m,a.issues.length!==d&&(u||(u=wr(a,d)))});else{if(a.issues.length===d)continue;u||(u=wr(a,d))}}return f?f.then(()=>a):a},o=(a,l,c)=>{if(wr(a))return a.aborted=!0,a;const u=s(l,r,c);if(u instanceof Promise){if(c.async===!1)throw new yr;return u.then(f=>t._zod.parse(f,c))}return t._zod.parse(u,c)};t._zod.run=(a,l)=>{if(l.skipChecks)return t._zod.parse(a,l);if(l.direction==="backward"){const u=t._zod.parse({value:a.value,issues:[]},{...l,skipChecks:!0});return u instanceof Promise?u.then(f=>o(f,a,l)):o(u,a,l)}const c=t._zod.parse(a,l);if(c instanceof Promise){if(l.async===!1)throw new yr;return c.then(u=>s(u,r,l))}return s(c,r,l)}}t["~standard"]={validate:s=>{var o;try{const a=Gp(t,s);return a.success?{value:a.data}:{issues:(o=a.error)==null?void 0:o.issues}}catch{return Xp(t,s).then(l=>{var c;return l.success?{value:l.data}:{issues:(c=l.error)==null?void 0:c.issues}})}},vendor:"zod",version:1}}),ko=z("$ZodString",(t,e)=>{var n;ge.init(t,e),t._zod.pattern=[...((n=t==null?void 0:t._zod.bag)==null?void 0:n.patterns)??[]].pop()??C_(t._zod.bag),t._zod.parse=(r,i)=>{if(e.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:t}),r}}),be=z("$ZodStringFormat",(t,e)=>{fs.init(t,e),ko.init(t,e)}),q_=z("$ZodGUID",(t,e)=>{e.pattern??(e.pattern=p_),be.init(t,e)}),Y_=z("$ZodUUID",(t,e)=>{if(e.version){const r={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[e.version];if(r===void 0)throw new Error(`Invalid UUID version: "${e.version}"`);e.pattern??(e.pattern=Nc(r))}else e.pattern??(e.pattern=Nc());be.init(t,e)}),G_=z("$ZodEmail",(t,e)=>{e.pattern??(e.pattern=__),be.init(t,e)}),X_=z("$ZodURL",(t,e)=>{be.init(t,e),t._zod.check=n=>{try{const r=n.value.trim(),i=new URL(r);e.hostname&&(e.hostname.lastIndex=0,e.hostname.test(i.hostname)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:e.hostname.source,input:n.value,inst:t,continue:!e.abort})),e.protocol&&(e.protocol.lastIndex=0,e.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:e.protocol.source,input:n.value,inst:t,continue:!e.abort})),e.normalize?n.value=i.href:n.value=r;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:t,continue:!e.abort})}}}),Q_=z("$ZodEmoji",(t,e)=>{e.pattern??(e.pattern=g_()),be.init(t,e)}),em=z("$ZodNanoID",(t,e)=>{e.pattern??(e.pattern=d_),be.init(t,e)}),tm=z("$ZodCUID",(t,e)=>{e.pattern??(e.pattern=a_),be.init(t,e)}),nm=z("$ZodCUID2",(t,e)=>{e.pattern??(e.pattern=l_),be.init(t,e)}),rm=z("$ZodULID",(t,e)=>{e.pattern??(e.pattern=c_),be.init(t,e)}),im=z("$ZodXID",(t,e)=>{e.pattern??(e.pattern=u_),be.init(t,e)}),sm=z("$ZodKSUID",(t,e)=>{e.pattern??(e.pattern=f_),be.init(t,e)}),om=z("$ZodISODateTime",(t,e)=>{e.pattern??(e.pattern=z_(e)),be.init(t,e)}),am=z("$ZodISODate",(t,e)=>{e.pattern??(e.pattern=k_),be.init(t,e)}),lm=z("$ZodISOTime",(t,e)=>{e.pattern??(e.pattern=T_(e)),be.init(t,e)}),cm=z("$ZodISODuration",(t,e)=>{e.pattern??(e.pattern=h_),be.init(t,e)}),um=z("$ZodIPv4",(t,e)=>{e.pattern??(e.pattern=v_),be.init(t,e),t._zod.bag.format="ipv4"}),fm=z("$ZodIPv6",(t,e)=>{e.pattern??(e.pattern=y_),be.init(t,e),t._zod.bag.format="ipv6",t._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:t,continue:!e.abort})}}}),dm=z("$ZodCIDRv4",(t,e)=>{e.pattern??(e.pattern=b_),be.init(t,e)}),hm=z("$ZodCIDRv6",(t,e)=>{e.pattern??(e.pattern=x_),be.init(t,e),t._zod.check=n=>{const r=n.value.split("/");try{if(r.length!==2)throw new Error;const[i,s]=r;if(!s)throw new Error;const o=Number(s);if(`${o}`!==s)throw new Error;if(o<0||o>128)throw new Error;new URL(`http://[${i}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:t,continue:!e.abort})}}});function Bc(t){if(t==="")return!0;if(t.length%4!==0)return!1;try{return atob(t),!0}catch{return!1}}const pm=z("$ZodBase64",(t,e)=>{e.pattern??(e.pattern=w_),be.init(t,e),t._zod.bag.contentEncoding="base64",t._zod.check=n=>{Bc(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:t,continue:!e.abort})}});function _m(t){if(!Rc.test(t))return!1;const e=t.replace(/[-_]/g,r=>r==="-"?"+":"/"),n=e.padEnd(Math.ceil(e.length/4)*4,"=");return Bc(n)}const mm=z("$ZodBase64URL",(t,e)=>{e.pattern??(e.pattern=Rc),be.init(t,e),t._zod.bag.contentEncoding="base64url",t._zod.check=n=>{_m(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:t,continue:!e.abort})}}),gm=z("$ZodE164",(t,e)=>{e.pattern??(e.pattern=S_),be.init(t,e)});function vm(t,e=null){try{const n=t.split(".");if(n.length!==3)return!1;const[r]=n;if(!r)return!1;const i=JSON.parse(atob(r));return!("typ"in i&&(i==null?void 0:i.typ)!=="JWT"||!i.alg||e&&(!("alg"in i)||i.alg!==e))}catch{return!1}}const ym=z("$ZodJWT",(t,e)=>{be.init(t,e),t._zod.check=n=>{vm(n.value,e.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:t,continue:!e.abort})}}),Vc=z("$ZodNumber",(t,e)=>{ge.init(t,e),t._zod.pattern=t._zod.bag.pattern??E_,t._zod.parse=(n,r)=>{if(e.coerce)try{n.value=Number(n.value)}catch{}const i=n.value;if(typeof i=="number"&&!Number.isNaN(i)&&Number.isFinite(i))return n;const s=typeof i=="number"?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:i,inst:t,...s?{received:s}:{}}),n}}),bm=z("$ZodNumberFormat",(t,e)=>{N_.init(t,e),Vc.init(t,e)}),xm=z("$ZodBoolean",(t,e)=>{ge.init(t,e),t._zod.pattern=P_,t._zod.parse=(n,r)=>{if(e.coerce)try{n.value=!!n.value}catch{}const i=n.value;return typeof i=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:t}),n}}),wm=z("$ZodUndefined",(t,e)=>{ge.init(t,e),t._zod.pattern=A_,t._zod.values=new Set([void 0]),t._zod.optin="optional",t._zod.optout="optional",t._zod.parse=(n,r)=>{const i=n.value;return typeof i>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:i,inst:t}),n}}),Sm=z("$ZodNull",(t,e)=>{ge.init(t,e),t._zod.pattern=$_,t._zod.values=new Set([null]),t._zod.parse=(n,r)=>{const i=n.value;return i===null||n.issues.push({expected:"null",code:"invalid_type",input:i,inst:t}),n}}),km=z("$ZodAny",(t,e)=>{ge.init(t,e),t._zod.parse=n=>n}),Tm=z("$ZodUnknown",(t,e)=>{ge.init(t,e),t._zod.parse=n=>n}),zm=z("$ZodNever",(t,e)=>{ge.init(t,e),t._zod.parse=(n,r)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:t}),n)});function Hc(t,e,n){t.issues.length&&e.issues.push(...Sr(n,t.issues)),e.value[n]=t.value}const Cm=z("$ZodArray",(t,e)=>{ge.init(t,e),t._zod.parse=(n,r)=>{const i=n.value;if(!Array.isArray(i))return n.issues.push({expected:"array",code:"invalid_type",input:i,inst:t}),n;n.value=Array(i.length);const s=[];for(let o=0;o<i.length;o++){const a=i[o],l=e.element._zod.run({value:a,issues:[]},r);l instanceof Promise?s.push(l.then(c=>Hc(c,n,o))):Hc(l,n,o)}return s.length?Promise.all(s).then(()=>n):n}});function ds(t,e,n,r){t.issues.length&&e.issues.push(...Sr(n,t.issues)),t.value===void 0?n in r&&(e.value[n]=void 0):e.value[n]=t.value}function Wc(t){var r,i,s,o;const e=Object.keys(t.shape);for(const a of e)if(!((o=(s=(i=(r=t.shape)==null?void 0:r[a])==null?void 0:i._zod)==null?void 0:s.traits)!=null&&o.has("$ZodType")))throw new Error(`Invalid element at key "${a}": expected a Zod schema`);const n=Lp(t.shape);return{...t,keys:e,keySet:new Set(e),numKeys:e.length,optionalKeys:new Set(n)}}function Jc(t,e,n,r,i,s){const o=[],a=i.keySet,l=i.catchall._zod,c=l.def.type;for(const u in e){if(a.has(u))continue;if(c==="never"){o.push(u);continue}const f=l.run({value:e[u],issues:[]},r);f instanceof Promise?t.push(f.then(h=>ds(h,n,u,e))):ds(f,n,u,e)}return o.length&&n.issues.push({code:"unrecognized_keys",keys:o,input:e,inst:s}),t.length?Promise.all(t).then(()=>n):n}const Om=z("$ZodObject",(t,e)=>{ge.init(t,e);const n=Object.getOwnPropertyDescriptor(e,"shape");if(!(n!=null&&n.get)){const a=e.shape;Object.defineProperty(e,"shape",{get:()=>{const l={...a};return Object.defineProperty(e,"shape",{value:l}),l}})}const r=as(()=>Wc(e));fe(t._zod,"propValues",()=>{const a=e.shape,l={};for(const c in a){const u=a[c]._zod;if(u.values){l[c]??(l[c]=new Set);for(const f of u.values)l[c].add(f)}}return l});const i=oi,s=e.catchall;let o;t._zod.parse=(a,l)=>{o??(o=r.value);const c=a.value;if(!i(c))return a.issues.push({expected:"object",code:"invalid_type",input:c,inst:t}),a;a.value={};const u=[],f=o.shape;for(const h of o.keys){const m=f[h]._zod.run({value:c[h],issues:[]},l);m instanceof Promise?u.push(m.then(p=>ds(p,a,h,c))):ds(m,a,h,c)}return s?Jc(u,c,a,l,r.value,t):u.length?Promise.all(u).then(()=>a):a}}),Em=z("$ZodObjectJIT",(t,e)=>{Om.init(t,e);const n=t._zod.parse,r=as(()=>Wc(e)),i=h=>{const d=new J_(["shape","payload","ctx"]),m=r.value,p=T=>{const x=Pc(T);return`shape[${x}]._zod.run({ value: input[${x}], issues: [] }, ctx)`};d.write("const input = payload.value;");const b=Object.create(null);let w=0;for(const T of m.keys)b[T]=`key_${w++}`;d.write("const newResult = {};");for(const T of m.keys){const x=b[T],y=Pc(T);d.write(`const ${x} = ${p(T)};`),d.write(`
|
|
23
|
+
if (${x}.issues.length) {
|
|
24
|
+
payload.issues = payload.issues.concat(${x}.issues.map(iss => ({
|
|
25
25
|
...iss,
|
|
26
|
-
path: iss.path ? [${
|
|
26
|
+
path: iss.path ? [${y}, ...iss.path] : [${y}]
|
|
27
27
|
})));
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
if (${
|
|
32
|
-
if (${
|
|
33
|
-
newResult[${
|
|
31
|
+
if (${x}.value === undefined) {
|
|
32
|
+
if (${y} in input) {
|
|
33
|
+
newResult[${y}] = undefined;
|
|
34
34
|
}
|
|
35
35
|
} else {
|
|
36
|
-
newResult[${
|
|
36
|
+
newResult[${y}] = ${x}.value;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
`)}d.write("payload.value = newResult;"),d.write("return payload;");const S=d.compile();return(k,b)=>S(h,k,b)};let s;const o=ri,a=!kc.jitless,u=a&&Rp.value,c=e.catchall;let f;t._zod.parse=(h,d)=>{f??(f=r.value);const m=h.value;return o(m)?a&&u&&(d==null?void 0:d.async)===!1&&d.jitless!==!0?(s||(s=i(e.shape)),h=s(h,d),c?Bc([],m,h,d,f,t):h):n(h,d):(h.issues.push({expected:"object",code:"invalid_type",input:m,inst:t}),h)}});function Hc(t,e,n,r){for(const s of t)if(s.issues.length===0)return e.value=s.value,e;const i=t.filter(s=>!yr(s));return i.length===1?(e.value=i[0].value,i[0]):(e.issues.push({code:"invalid_union",input:e.value,inst:n,errors:t.map(s=>s.issues.map(o=>Cn(o,r,Tn())))}),e)}const Wc=T("$ZodUnion",(t,e)=>{ge.init(t,e),ue(t._zod,"optin",()=>e.options.some(i=>i._zod.optin==="optional")?"optional":void 0),ue(t._zod,"optout",()=>e.options.some(i=>i._zod.optout==="optional")?"optional":void 0),ue(t._zod,"values",()=>{if(e.options.every(i=>i._zod.values))return new Set(e.options.flatMap(i=>Array.from(i._zod.values)))}),ue(t._zod,"pattern",()=>{if(e.options.every(i=>i._zod.pattern)){const i=e.options.map(s=>s._zod.pattern);return new RegExp(`^(${i.map(s=>yo(s.source)).join("|")})$`)}});const n=e.options.length===1,r=e.options[0]._zod.run;t._zod.parse=(i,s)=>{if(n)return r(i,s);let o=!1;const a=[];for(const l of e.options){const u=l._zod.run({value:i.value,issues:[]},s);if(u instanceof Promise)a.push(u),o=!0;else{if(u.issues.length===0)return u;a.push(u)}}return o?Promise.all(a).then(l=>Hc(l,i,t,s)):Hc(a,i,t,s)}}),Em=T("$ZodDiscriminatedUnion",(t,e)=>{e.inclusive=!1,Wc.init(t,e);const n=t._zod.parse;ue(t._zod,"propValues",()=>{const i={};for(const s of e.options){const o=s._zod.propValues;if(!o||Object.keys(o).length===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(s)}"`);for(const[a,l]of Object.entries(o)){i[a]||(i[a]=new Set);for(const u of l)i[a].add(u)}}return i});const r=ss(()=>{var o;const i=e.options,s=new Map;for(const a of i){const l=(o=a._zod.propValues)==null?void 0:o[e.discriminator];if(!l||l.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(a)}"`);for(const u of l){if(s.has(u))throw new Error(`Duplicate discriminator value "${String(u)}"`);s.set(u,a)}}return s});t._zod.parse=(i,s)=>{const o=i.value;if(!ri(o))return i.issues.push({code:"invalid_type",expected:"object",input:o,inst:t}),i;const a=r.value.get(o==null?void 0:o[e.discriminator]);return a?a._zod.run(i,s):e.unionFallback?n(i,s):(i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:e.discriminator,input:o,path:[e.discriminator],inst:t}),i)}}),Pm=T("$ZodIntersection",(t,e)=>{ge.init(t,e),t._zod.parse=(n,r)=>{const i=n.value,s=e.left._zod.run({value:i,issues:[]},r),o=e.right._zod.run({value:i,issues:[]},r);return s instanceof Promise||o instanceof Promise?Promise.all([s,o]).then(([l,u])=>Jc(n,l,u)):Jc(n,s,o)}});function ko(t,e){if(t===e)return{valid:!0,data:t};if(t instanceof Date&&e instanceof Date&&+t==+e)return{valid:!0,data:t};if(gr(t)&&gr(e)){const n=Object.keys(e),r=Object.keys(t).filter(s=>n.indexOf(s)!==-1),i={...t,...e};for(const s of r){const o=ko(t[s],e[s]);if(!o.valid)return{valid:!1,mergeErrorPath:[s,...o.mergeErrorPath]};i[s]=o.data}return{valid:!0,data:i}}if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let r=0;r<t.length;r++){const i=t[r],s=e[r],o=ko(i,s);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Jc(t,e,n){if(e.issues.length&&t.issues.push(...e.issues),n.issues.length&&t.issues.push(...n.issues),yr(t))return t;const r=ko(e.value,n.value);if(!r.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(r.mergeErrorPath)}`);return t.value=r.data,t}const $m=T("$ZodRecord",(t,e)=>{ge.init(t,e),t._zod.parse=(n,r)=>{const i=n.value;if(!gr(i))return n.issues.push({expected:"record",code:"invalid_type",input:i,inst:t}),n;const s=[],o=e.keyType._zod.values;if(o){n.value={};const a=new Set;for(const u of o)if(typeof u=="string"||typeof u=="number"||typeof u=="symbol"){a.add(typeof u=="number"?u.toString():u);const c=e.valueType._zod.run({value:i[u],issues:[]},r);c instanceof Promise?s.push(c.then(f=>{f.issues.length&&n.issues.push(...br(u,f.issues)),n.value[u]=f.value})):(c.issues.length&&n.issues.push(...br(u,c.issues)),n.value[u]=c.value)}let l;for(const u in i)a.has(u)||(l=l??[],l.push(u));l&&l.length>0&&n.issues.push({code:"unrecognized_keys",input:i,inst:t,keys:l})}else{n.value={};for(const a of Reflect.ownKeys(i)){if(a==="__proto__")continue;const l=e.keyType._zod.run({value:a,issues:[]},r);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(l.issues.length){e.mode==="loose"?n.value[a]=i[a]:n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(c=>Cn(c,r,Tn())),input:a,path:[a],inst:t});continue}const u=e.valueType._zod.run({value:i[a],issues:[]},r);u instanceof Promise?s.push(u.then(c=>{c.issues.length&&n.issues.push(...br(a,c.issues)),n.value[l.value]=c.value})):(u.issues.length&&n.issues.push(...br(a,u.issues)),n.value[l.value]=u.value)}}return s.length?Promise.all(s).then(()=>n):n}}),Am=T("$ZodEnum",(t,e)=>{ge.init(t,e);const n=Tc(e.entries),r=new Set(n);t._zod.values=r,t._zod.pattern=new RegExp(`^(${n.filter(i=>Fp.has(typeof i)).map(i=>typeof i=="string"?vr(i):i.toString()).join("|")})$`),t._zod.parse=(i,s)=>{const o=i.value;return r.has(o)||i.issues.push({code:"invalid_value",values:n,input:o,inst:t}),i}}),Im=T("$ZodLiteral",(t,e)=>{if(ge.init(t,e),e.values.length===0)throw new Error("Cannot create literal schema with no valid values");const n=new Set(e.values);t._zod.values=n,t._zod.pattern=new RegExp(`^(${e.values.map(r=>typeof r=="string"?vr(r):r?vr(r.toString()):String(r)).join("|")})$`),t._zod.parse=(r,i)=>{const s=r.value;return n.has(s)||r.issues.push({code:"invalid_value",values:e.values,input:s,inst:t}),r}}),Dm=T("$ZodTransform",(t,e)=>{ge.init(t,e),t._zod.parse=(n,r)=>{if(r.direction==="backward")throw new Sc(t.constructor.name);const i=e.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(o=>(n.value=o,n));if(i instanceof Promise)throw new mr;return n.value=i,n}});function Kc(t,e){return t.issues.length&&e===void 0?{issues:[],value:void 0}:t}const Mm=T("$ZodOptional",(t,e)=>{ge.init(t,e),t._zod.optin="optional",t._zod.optout="optional",ue(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,void 0]):void 0),ue(t._zod,"pattern",()=>{const n=e.innerType._zod.pattern;return n?new RegExp(`^(${yo(n.source)})?$`):void 0}),t._zod.parse=(n,r)=>{if(e.innerType._zod.optin==="optional"){const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>Kc(s,n.value)):Kc(i,n.value)}return n.value===void 0?n:e.innerType._zod.run(n,r)}}),Nm=T("$ZodNullable",(t,e)=>{ge.init(t,e),ue(t._zod,"optin",()=>e.innerType._zod.optin),ue(t._zod,"optout",()=>e.innerType._zod.optout),ue(t._zod,"pattern",()=>{const n=e.innerType._zod.pattern;return n?new RegExp(`^(${yo(n.source)}|null)$`):void 0}),ue(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,null]):void 0),t._zod.parse=(n,r)=>n.value===null?n:e.innerType._zod.run(n,r)}),Rm=T("$ZodDefault",(t,e)=>{ge.init(t,e),t._zod.optin="optional",ue(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(n,r)=>{if(r.direction==="backward")return e.innerType._zod.run(n,r);if(n.value===void 0)return n.value=e.defaultValue,n;const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>qc(s,e)):qc(i,e)}});function qc(t,e){return t.value===void 0&&(t.value=e.defaultValue),t}const Fm=T("$ZodPrefault",(t,e)=>{ge.init(t,e),t._zod.optin="optional",ue(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(n,r)=>(r.direction==="backward"||n.value===void 0&&(n.value=e.defaultValue),e.innerType._zod.run(n,r))}),Zm=T("$ZodNonOptional",(t,e)=>{ge.init(t,e),ue(t._zod,"values",()=>{const n=e.innerType._zod.values;return n?new Set([...n].filter(r=>r!==void 0)):void 0}),t._zod.parse=(n,r)=>{const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>Yc(s,t)):Yc(i,t)}});function Yc(t,e){return!t.issues.length&&t.value===void 0&&t.issues.push({code:"invalid_type",expected:"nonoptional",input:t.value,inst:e}),t}const Lm=T("$ZodCatch",(t,e)=>{ge.init(t,e),ue(t._zod,"optin",()=>e.innerType._zod.optin),ue(t._zod,"optout",()=>e.innerType._zod.optout),ue(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(n,r)=>{if(r.direction==="backward")return e.innerType._zod.run(n,r);const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>(n.value=s.value,s.issues.length&&(n.value=e.catchValue({...n,error:{issues:s.issues.map(o=>Cn(o,r,Tn()))},input:n.value}),n.issues=[]),n)):(n.value=i.value,i.issues.length&&(n.value=e.catchValue({...n,error:{issues:i.issues.map(s=>Cn(s,r,Tn()))},input:n.value}),n.issues=[]),n)}}),jm=T("$ZodPipe",(t,e)=>{ge.init(t,e),ue(t._zod,"values",()=>e.in._zod.values),ue(t._zod,"optin",()=>e.in._zod.optin),ue(t._zod,"optout",()=>e.out._zod.optout),ue(t._zod,"propValues",()=>e.in._zod.propValues),t._zod.parse=(n,r)=>{if(r.direction==="backward"){const s=e.out._zod.run(n,r);return s instanceof Promise?s.then(o=>fs(o,e.in,r)):fs(s,e.in,r)}const i=e.in._zod.run(n,r);return i instanceof Promise?i.then(s=>fs(s,e.out,r)):fs(i,e.out,r)}});function fs(t,e,n){return t.issues.length?(t.aborted=!0,t):e._zod.run({value:t.value,issues:t.issues},n)}const Um=T("$ZodReadonly",(t,e)=>{ge.init(t,e),ue(t._zod,"propValues",()=>e.innerType._zod.propValues),ue(t._zod,"values",()=>e.innerType._zod.values),ue(t._zod,"optin",()=>{var n,r;return(r=(n=e.innerType)==null?void 0:n._zod)==null?void 0:r.optin}),ue(t._zod,"optout",()=>{var n,r;return(r=(n=e.innerType)==null?void 0:n._zod)==null?void 0:r.optout}),t._zod.parse=(n,r)=>{if(r.direction==="backward")return e.innerType._zod.run(n,r);const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(Gc):Gc(i)}});function Gc(t){return t.value=Object.freeze(t.value),t}const Vm=T("$ZodCustom",(t,e)=>{rt.init(t,e),ge.init(t,e),t._zod.parse=(n,r)=>n,t._zod.check=n=>{const r=n.value,i=e.fn(r);if(i instanceof Promise)return i.then(s=>Xc(s,n,r,t));Xc(i,n,r,t)}});function Xc(t,e,n,r){if(!t){const i={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(i.params=r._zod.def.params),e.issues.push(ii(i))}}var Qc;class Bm{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...n){const r=n[0];if(this._map.set(e,r),r&&typeof r=="object"&&"id"in r){if(this._idmap.has(r.id))throw new Error(`ID ${r.id} already exists in the registry`);this._idmap.set(r.id,e)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){const n=this._map.get(e);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(e),this}get(e){const n=e._zod.parent;if(n){const r={...this.get(n)??{}};delete r.id;const i={...r,...this._map.get(e)};return Object.keys(i).length?i:void 0}return this._map.get(e)}has(e){return this._map.has(e)}}function Hm(){return new Bm}(Qc=globalThis).__zod_globalRegistry??(Qc.__zod_globalRegistry=Hm());const si=globalThis.__zod_globalRegistry;function Wm(t,e){return new t({type:"string",...U(e)})}function Jm(t,e){return new t({type:"string",format:"email",check:"string_format",abort:!1,...U(e)})}function eu(t,e){return new t({type:"string",format:"guid",check:"string_format",abort:!1,...U(e)})}function Km(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,...U(e)})}function qm(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...U(e)})}function Ym(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...U(e)})}function Gm(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...U(e)})}function Xm(t,e){return new t({type:"string",format:"url",check:"string_format",abort:!1,...U(e)})}function Qm(t,e){return new t({type:"string",format:"emoji",check:"string_format",abort:!1,...U(e)})}function eg(t,e){return new t({type:"string",format:"nanoid",check:"string_format",abort:!1,...U(e)})}function tg(t,e){return new t({type:"string",format:"cuid",check:"string_format",abort:!1,...U(e)})}function ng(t,e){return new t({type:"string",format:"cuid2",check:"string_format",abort:!1,...U(e)})}function rg(t,e){return new t({type:"string",format:"ulid",check:"string_format",abort:!1,...U(e)})}function ig(t,e){return new t({type:"string",format:"xid",check:"string_format",abort:!1,...U(e)})}function sg(t,e){return new t({type:"string",format:"ksuid",check:"string_format",abort:!1,...U(e)})}function og(t,e){return new t({type:"string",format:"ipv4",check:"string_format",abort:!1,...U(e)})}function ag(t,e){return new t({type:"string",format:"ipv6",check:"string_format",abort:!1,...U(e)})}function lg(t,e){return new t({type:"string",format:"cidrv4",check:"string_format",abort:!1,...U(e)})}function cg(t,e){return new t({type:"string",format:"cidrv6",check:"string_format",abort:!1,...U(e)})}function ug(t,e){return new t({type:"string",format:"base64",check:"string_format",abort:!1,...U(e)})}function fg(t,e){return new t({type:"string",format:"base64url",check:"string_format",abort:!1,...U(e)})}function dg(t,e){return new t({type:"string",format:"e164",check:"string_format",abort:!1,...U(e)})}function hg(t,e){return new t({type:"string",format:"jwt",check:"string_format",abort:!1,...U(e)})}function pg(t,e){return new t({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...U(e)})}function _g(t,e){return new t({type:"string",format:"date",check:"string_format",...U(e)})}function mg(t,e){return new t({type:"string",format:"time",check:"string_format",precision:null,...U(e)})}function gg(t,e){return new t({type:"string",format:"duration",check:"string_format",...U(e)})}function vg(t,e){return new t({type:"number",checks:[],...U(e)})}function yg(t,e){return new t({type:"number",check:"number_format",abort:!1,format:"safeint",...U(e)})}function bg(t,e){return new t({type:"boolean",...U(e)})}function xg(t,e){return new t({type:"undefined",...U(e)})}function wg(t,e){return new t({type:"null",...U(e)})}function Sg(t){return new t({type:"any"})}function kg(t){return new t({type:"unknown"})}function Tg(t,e){return new t({type:"never",...U(e)})}function tu(t,e){return new Fc({check:"less_than",...U(e),value:t,inclusive:!1})}function To(t,e){return new Fc({check:"less_than",...U(e),value:t,inclusive:!0})}function nu(t,e){return new Zc({check:"greater_than",...U(e),value:t,inclusive:!1})}function zo(t,e){return new Zc({check:"greater_than",...U(e),value:t,inclusive:!0})}function ru(t,e){return new D_({check:"multiple_of",...U(e),value:t})}function iu(t,e){return new N_({check:"max_length",...U(e),maximum:t})}function ds(t,e){return new R_({check:"min_length",...U(e),minimum:t})}function su(t,e){return new F_({check:"length_equals",...U(e),length:t})}function zg(t,e){return new Z_({check:"string_format",format:"regex",...U(e),pattern:t})}function Cg(t){return new L_({check:"string_format",format:"lowercase",...U(t)})}function Og(t){return new j_({check:"string_format",format:"uppercase",...U(t)})}function Eg(t,e){return new U_({check:"string_format",format:"includes",...U(e),includes:t})}function Pg(t,e){return new V_({check:"string_format",format:"starts_with",...U(e),prefix:t})}function $g(t,e){return new B_({check:"string_format",format:"ends_with",...U(e),suffix:t})}function xr(t){return new H_({check:"overwrite",tx:t})}function Ag(t){return xr(e=>e.normalize(t))}function Ig(){return xr(t=>t.trim())}function Dg(){return xr(t=>t.toLowerCase())}function Mg(){return xr(t=>t.toUpperCase())}function Ng(){return xr(t=>Np(t))}function Rg(t,e,n){return new t({type:"array",element:e,...U(n)})}function Fg(t,e,n){return new t({type:"custom",check:"custom",fn:e,...U(n)})}function Zg(t){const e=Lg(n=>(n.addIssue=r=>{if(typeof r=="string")n.issues.push(ii(r,n.value,e._zod.def));else{const i=r;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),i.input??(i.input=n.value),i.inst??(i.inst=e),i.continue??(i.continue=!e._zod.def.abort),n.issues.push(ii(i))}},t(n.value,n)));return e}function Lg(t,e){const n=new rt({check:"custom",...U(e)});return n._zod.check=t,n}function ou(t){let e=(t==null?void 0:t.target)??"draft-2020-12";return e==="draft-4"&&(e="draft-04"),e==="draft-7"&&(e="draft-07"),{processors:t.processors??{},metadataRegistry:(t==null?void 0:t.metadata)??si,target:e,unrepresentable:(t==null?void 0:t.unrepresentable)??"throw",override:(t==null?void 0:t.override)??(()=>{}),io:(t==null?void 0:t.io)??"output",counter:0,seen:new Map,cycles:(t==null?void 0:t.cycles)??"ref",reused:(t==null?void 0:t.reused)??"inline",external:(t==null?void 0:t.external)??void 0}}function $e(t,e,n={path:[],schemaPath:[]}){var c,f;var r;const i=t._zod.def,s=e.seen.get(t);if(s)return s.count++,n.schemaPath.includes(t)&&(s.cycle=n.path),s.schema;const o={schema:{},count:1,cycle:void 0,path:n.path};e.seen.set(t,o);const a=(f=(c=t._zod).toJSONSchema)==null?void 0:f.call(c);if(a)o.schema=a;else{const h={...n,schemaPath:[...n.schemaPath,t],path:n.path},d=t._zod.parent;if(d)o.ref=d,$e(d,e,h),e.seen.get(d).isParent=!0;else if(t._zod.processJSONSchema)t._zod.processJSONSchema(e,o.schema,h);else{const m=o.schema,p=e.processors[i.type];if(!p)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);p(t,e,m,h)}}const l=e.metadataRegistry.get(t);return l&&Object.assign(o.schema,l),e.io==="input"&&Xe(t)&&(delete o.schema.examples,delete o.schema.default),e.io==="input"&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,e.seen.get(t).schema}function au(t,e){var s,o,a;const n=t.seen.get(e);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=l=>{var d;const u=t.target==="draft-2020-12"?"$defs":"definitions";if(t.external){const m=(d=t.external.registry.get(l[0]))==null?void 0:d.id,p=t.external.uri??(x=>x);if(m)return{ref:p(m)};const y=l[1].defId??l[1].schema.id??`schema${t.counter++}`;return l[1].defId=y,{defId:y,ref:`${p("__shared")}#/${u}/${y}`}}if(l[1]===n)return{ref:"#"};const f=`#/${u}/`,h=l[1].schema.id??`__schema${t.counter++}`;return{defId:h,ref:f+h}},i=l=>{if(l[1].schema.$ref)return;const u=l[1],{ref:c,defId:f}=r(l);u.def={...u.schema},f&&(u.defId=f);const h=u.schema;for(const d in h)delete h[d];h.$ref=c};if(t.cycles==="throw")for(const l of t.seen.entries()){const u=l[1];if(u.cycle)throw new Error(`Cycle detected: #/${(s=u.cycle)==null?void 0:s.join("/")}/<root>
|
|
39
|
+
`)}d.write("payload.value = newResult;"),d.write("return payload;");const k=d.compile();return(T,x)=>k(h,T,x)};let s;const o=oi,a=!Cc.jitless,c=a&&Fp.value,u=e.catchall;let f;t._zod.parse=(h,d)=>{f??(f=r.value);const m=h.value;return o(m)?a&&c&&(d==null?void 0:d.async)===!1&&d.jitless!==!0?(s||(s=i(e.shape)),h=s(h,d),u?Jc([],m,h,d,f,t):h):n(h,d):(h.issues.push({expected:"object",code:"invalid_type",input:m,inst:t}),h)}});function Kc(t,e,n,r){for(const s of t)if(s.issues.length===0)return e.value=s.value,e;const i=t.filter(s=>!wr(s));return i.length===1?(e.value=i[0].value,i[0]):(e.issues.push({code:"invalid_union",input:e.value,inst:n,errors:t.map(s=>s.issues.map(o=>En(o,r,Cn())))}),e)}const qc=z("$ZodUnion",(t,e)=>{ge.init(t,e),fe(t._zod,"optin",()=>e.options.some(i=>i._zod.optin==="optional")?"optional":void 0),fe(t._zod,"optout",()=>e.options.some(i=>i._zod.optout==="optional")?"optional":void 0),fe(t._zod,"values",()=>{if(e.options.every(i=>i._zod.values))return new Set(e.options.flatMap(i=>Array.from(i._zod.values)))}),fe(t._zod,"pattern",()=>{if(e.options.every(i=>i._zod.pattern)){const i=e.options.map(s=>s._zod.pattern);return new RegExp(`^(${i.map(s=>bo(s.source)).join("|")})$`)}});const n=e.options.length===1,r=e.options[0]._zod.run;t._zod.parse=(i,s)=>{if(n)return r(i,s);let o=!1;const a=[];for(const l of e.options){const c=l._zod.run({value:i.value,issues:[]},s);if(c instanceof Promise)a.push(c),o=!0;else{if(c.issues.length===0)return c;a.push(c)}}return o?Promise.all(a).then(l=>Kc(l,i,t,s)):Kc(a,i,t,s)}}),Pm=z("$ZodDiscriminatedUnion",(t,e)=>{e.inclusive=!1,qc.init(t,e);const n=t._zod.parse;fe(t._zod,"propValues",()=>{const i={};for(const s of e.options){const o=s._zod.propValues;if(!o||Object.keys(o).length===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(s)}"`);for(const[a,l]of Object.entries(o)){i[a]||(i[a]=new Set);for(const c of l)i[a].add(c)}}return i});const r=as(()=>{var o;const i=e.options,s=new Map;for(const a of i){const l=(o=a._zod.propValues)==null?void 0:o[e.discriminator];if(!l||l.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(a)}"`);for(const c of l){if(s.has(c))throw new Error(`Duplicate discriminator value "${String(c)}"`);s.set(c,a)}}return s});t._zod.parse=(i,s)=>{const o=i.value;if(!oi(o))return i.issues.push({code:"invalid_type",expected:"object",input:o,inst:t}),i;const a=r.value.get(o==null?void 0:o[e.discriminator]);return a?a._zod.run(i,s):e.unionFallback?n(i,s):(i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:e.discriminator,input:o,path:[e.discriminator],inst:t}),i)}}),$m=z("$ZodIntersection",(t,e)=>{ge.init(t,e),t._zod.parse=(n,r)=>{const i=n.value,s=e.left._zod.run({value:i,issues:[]},r),o=e.right._zod.run({value:i,issues:[]},r);return s instanceof Promise||o instanceof Promise?Promise.all([s,o]).then(([l,c])=>Yc(n,l,c)):Yc(n,s,o)}});function To(t,e){if(t===e)return{valid:!0,data:t};if(t instanceof Date&&e instanceof Date&&+t==+e)return{valid:!0,data:t};if(br(t)&&br(e)){const n=Object.keys(e),r=Object.keys(t).filter(s=>n.indexOf(s)!==-1),i={...t,...e};for(const s of r){const o=To(t[s],e[s]);if(!o.valid)return{valid:!1,mergeErrorPath:[s,...o.mergeErrorPath]};i[s]=o.data}return{valid:!0,data:i}}if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let r=0;r<t.length;r++){const i=t[r],s=e[r],o=To(i,s);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Yc(t,e,n){if(e.issues.length&&t.issues.push(...e.issues),n.issues.length&&t.issues.push(...n.issues),wr(t))return t;const r=To(e.value,n.value);if(!r.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(r.mergeErrorPath)}`);return t.value=r.data,t}const Am=z("$ZodRecord",(t,e)=>{ge.init(t,e),t._zod.parse=(n,r)=>{const i=n.value;if(!br(i))return n.issues.push({expected:"record",code:"invalid_type",input:i,inst:t}),n;const s=[],o=e.keyType._zod.values;if(o){n.value={};const a=new Set;for(const c of o)if(typeof c=="string"||typeof c=="number"||typeof c=="symbol"){a.add(typeof c=="number"?c.toString():c);const u=e.valueType._zod.run({value:i[c],issues:[]},r);u instanceof Promise?s.push(u.then(f=>{f.issues.length&&n.issues.push(...Sr(c,f.issues)),n.value[c]=f.value})):(u.issues.length&&n.issues.push(...Sr(c,u.issues)),n.value[c]=u.value)}let l;for(const c in i)a.has(c)||(l=l??[],l.push(c));l&&l.length>0&&n.issues.push({code:"unrecognized_keys",input:i,inst:t,keys:l})}else{n.value={};for(const a of Reflect.ownKeys(i)){if(a==="__proto__")continue;const l=e.keyType._zod.run({value:a,issues:[]},r);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(l.issues.length){e.mode==="loose"?n.value[a]=i[a]:n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(u=>En(u,r,Cn())),input:a,path:[a],inst:t});continue}const c=e.valueType._zod.run({value:i[a],issues:[]},r);c instanceof Promise?s.push(c.then(u=>{u.issues.length&&n.issues.push(...Sr(a,u.issues)),n.value[l.value]=u.value})):(c.issues.length&&n.issues.push(...Sr(a,c.issues)),n.value[l.value]=c.value)}}return s.length?Promise.all(s).then(()=>n):n}}),Im=z("$ZodEnum",(t,e)=>{ge.init(t,e);const n=Oc(e.entries),r=new Set(n);t._zod.values=r,t._zod.pattern=new RegExp(`^(${n.filter(i=>Zp.has(typeof i)).map(i=>typeof i=="string"?xr(i):i.toString()).join("|")})$`),t._zod.parse=(i,s)=>{const o=i.value;return r.has(o)||i.issues.push({code:"invalid_value",values:n,input:o,inst:t}),i}}),Dm=z("$ZodLiteral",(t,e)=>{if(ge.init(t,e),e.values.length===0)throw new Error("Cannot create literal schema with no valid values");const n=new Set(e.values);t._zod.values=n,t._zod.pattern=new RegExp(`^(${e.values.map(r=>typeof r=="string"?xr(r):r?xr(r.toString()):String(r)).join("|")})$`),t._zod.parse=(r,i)=>{const s=r.value;return n.has(s)||r.issues.push({code:"invalid_value",values:e.values,input:s,inst:t}),r}}),Mm=z("$ZodTransform",(t,e)=>{ge.init(t,e),t._zod.parse=(n,r)=>{if(r.direction==="backward")throw new zc(t.constructor.name);const i=e.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(o=>(n.value=o,n));if(i instanceof Promise)throw new yr;return n.value=i,n}});function Gc(t,e){return t.issues.length&&e===void 0?{issues:[],value:void 0}:t}const Nm=z("$ZodOptional",(t,e)=>{ge.init(t,e),t._zod.optin="optional",t._zod.optout="optional",fe(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,void 0]):void 0),fe(t._zod,"pattern",()=>{const n=e.innerType._zod.pattern;return n?new RegExp(`^(${bo(n.source)})?$`):void 0}),t._zod.parse=(n,r)=>{if(e.innerType._zod.optin==="optional"){const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>Gc(s,n.value)):Gc(i,n.value)}return n.value===void 0?n:e.innerType._zod.run(n,r)}}),Rm=z("$ZodNullable",(t,e)=>{ge.init(t,e),fe(t._zod,"optin",()=>e.innerType._zod.optin),fe(t._zod,"optout",()=>e.innerType._zod.optout),fe(t._zod,"pattern",()=>{const n=e.innerType._zod.pattern;return n?new RegExp(`^(${bo(n.source)}|null)$`):void 0}),fe(t._zod,"values",()=>e.innerType._zod.values?new Set([...e.innerType._zod.values,null]):void 0),t._zod.parse=(n,r)=>n.value===null?n:e.innerType._zod.run(n,r)}),Fm=z("$ZodDefault",(t,e)=>{ge.init(t,e),t._zod.optin="optional",fe(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(n,r)=>{if(r.direction==="backward")return e.innerType._zod.run(n,r);if(n.value===void 0)return n.value=e.defaultValue,n;const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>Xc(s,e)):Xc(i,e)}});function Xc(t,e){return t.value===void 0&&(t.value=e.defaultValue),t}const Zm=z("$ZodPrefault",(t,e)=>{ge.init(t,e),t._zod.optin="optional",fe(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(n,r)=>(r.direction==="backward"||n.value===void 0&&(n.value=e.defaultValue),e.innerType._zod.run(n,r))}),Lm=z("$ZodNonOptional",(t,e)=>{ge.init(t,e),fe(t._zod,"values",()=>{const n=e.innerType._zod.values;return n?new Set([...n].filter(r=>r!==void 0)):void 0}),t._zod.parse=(n,r)=>{const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>Qc(s,t)):Qc(i,t)}});function Qc(t,e){return!t.issues.length&&t.value===void 0&&t.issues.push({code:"invalid_type",expected:"nonoptional",input:t.value,inst:e}),t}const jm=z("$ZodCatch",(t,e)=>{ge.init(t,e),fe(t._zod,"optin",()=>e.innerType._zod.optin),fe(t._zod,"optout",()=>e.innerType._zod.optout),fe(t._zod,"values",()=>e.innerType._zod.values),t._zod.parse=(n,r)=>{if(r.direction==="backward")return e.innerType._zod.run(n,r);const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(s=>(n.value=s.value,s.issues.length&&(n.value=e.catchValue({...n,error:{issues:s.issues.map(o=>En(o,r,Cn()))},input:n.value}),n.issues=[]),n)):(n.value=i.value,i.issues.length&&(n.value=e.catchValue({...n,error:{issues:i.issues.map(s=>En(s,r,Cn()))},input:n.value}),n.issues=[]),n)}}),Um=z("$ZodPipe",(t,e)=>{ge.init(t,e),fe(t._zod,"values",()=>e.in._zod.values),fe(t._zod,"optin",()=>e.in._zod.optin),fe(t._zod,"optout",()=>e.out._zod.optout),fe(t._zod,"propValues",()=>e.in._zod.propValues),t._zod.parse=(n,r)=>{if(r.direction==="backward"){const s=e.out._zod.run(n,r);return s instanceof Promise?s.then(o=>hs(o,e.in,r)):hs(s,e.in,r)}const i=e.in._zod.run(n,r);return i instanceof Promise?i.then(s=>hs(s,e.out,r)):hs(i,e.out,r)}});function hs(t,e,n){return t.issues.length?(t.aborted=!0,t):e._zod.run({value:t.value,issues:t.issues},n)}const Bm=z("$ZodReadonly",(t,e)=>{ge.init(t,e),fe(t._zod,"propValues",()=>e.innerType._zod.propValues),fe(t._zod,"values",()=>e.innerType._zod.values),fe(t._zod,"optin",()=>{var n,r;return(r=(n=e.innerType)==null?void 0:n._zod)==null?void 0:r.optin}),fe(t._zod,"optout",()=>{var n,r;return(r=(n=e.innerType)==null?void 0:n._zod)==null?void 0:r.optout}),t._zod.parse=(n,r)=>{if(r.direction==="backward")return e.innerType._zod.run(n,r);const i=e.innerType._zod.run(n,r);return i instanceof Promise?i.then(eu):eu(i)}});function eu(t){return t.value=Object.freeze(t.value),t}const Vm=z("$ZodCustom",(t,e)=>{rt.init(t,e),ge.init(t,e),t._zod.parse=(n,r)=>n,t._zod.check=n=>{const r=n.value,i=e.fn(r);if(i instanceof Promise)return i.then(s=>tu(s,n,r,t));tu(i,n,r,t)}});function tu(t,e,n,r){if(!t){const i={code:"custom",input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(i.params=r._zod.def.params),e.issues.push(ai(i))}}var nu;class Hm{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...n){const r=n[0];if(this._map.set(e,r),r&&typeof r=="object"&&"id"in r){if(this._idmap.has(r.id))throw new Error(`ID ${r.id} already exists in the registry`);this._idmap.set(r.id,e)}return this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){const n=this._map.get(e);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(e),this}get(e){const n=e._zod.parent;if(n){const r={...this.get(n)??{}};delete r.id;const i={...r,...this._map.get(e)};return Object.keys(i).length?i:void 0}return this._map.get(e)}has(e){return this._map.has(e)}}function Wm(){return new Hm}(nu=globalThis).__zod_globalRegistry??(nu.__zod_globalRegistry=Wm());const li=globalThis.__zod_globalRegistry;function Jm(t,e){return new t({type:"string",...U(e)})}function Km(t,e){return new t({type:"string",format:"email",check:"string_format",abort:!1,...U(e)})}function ru(t,e){return new t({type:"string",format:"guid",check:"string_format",abort:!1,...U(e)})}function qm(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,...U(e)})}function Ym(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...U(e)})}function Gm(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...U(e)})}function Xm(t,e){return new t({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...U(e)})}function Qm(t,e){return new t({type:"string",format:"url",check:"string_format",abort:!1,...U(e)})}function eg(t,e){return new t({type:"string",format:"emoji",check:"string_format",abort:!1,...U(e)})}function tg(t,e){return new t({type:"string",format:"nanoid",check:"string_format",abort:!1,...U(e)})}function ng(t,e){return new t({type:"string",format:"cuid",check:"string_format",abort:!1,...U(e)})}function rg(t,e){return new t({type:"string",format:"cuid2",check:"string_format",abort:!1,...U(e)})}function ig(t,e){return new t({type:"string",format:"ulid",check:"string_format",abort:!1,...U(e)})}function sg(t,e){return new t({type:"string",format:"xid",check:"string_format",abort:!1,...U(e)})}function og(t,e){return new t({type:"string",format:"ksuid",check:"string_format",abort:!1,...U(e)})}function ag(t,e){return new t({type:"string",format:"ipv4",check:"string_format",abort:!1,...U(e)})}function lg(t,e){return new t({type:"string",format:"ipv6",check:"string_format",abort:!1,...U(e)})}function cg(t,e){return new t({type:"string",format:"cidrv4",check:"string_format",abort:!1,...U(e)})}function ug(t,e){return new t({type:"string",format:"cidrv6",check:"string_format",abort:!1,...U(e)})}function fg(t,e){return new t({type:"string",format:"base64",check:"string_format",abort:!1,...U(e)})}function dg(t,e){return new t({type:"string",format:"base64url",check:"string_format",abort:!1,...U(e)})}function hg(t,e){return new t({type:"string",format:"e164",check:"string_format",abort:!1,...U(e)})}function pg(t,e){return new t({type:"string",format:"jwt",check:"string_format",abort:!1,...U(e)})}function _g(t,e){return new t({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...U(e)})}function mg(t,e){return new t({type:"string",format:"date",check:"string_format",...U(e)})}function gg(t,e){return new t({type:"string",format:"time",check:"string_format",precision:null,...U(e)})}function vg(t,e){return new t({type:"string",format:"duration",check:"string_format",...U(e)})}function yg(t,e){return new t({type:"number",checks:[],...U(e)})}function bg(t,e){return new t({type:"number",check:"number_format",abort:!1,format:"safeint",...U(e)})}function xg(t,e){return new t({type:"boolean",...U(e)})}function wg(t,e){return new t({type:"undefined",...U(e)})}function Sg(t,e){return new t({type:"null",...U(e)})}function kg(t){return new t({type:"any"})}function Tg(t){return new t({type:"unknown"})}function zg(t,e){return new t({type:"never",...U(e)})}function iu(t,e){return new jc({check:"less_than",...U(e),value:t,inclusive:!1})}function zo(t,e){return new jc({check:"less_than",...U(e),value:t,inclusive:!0})}function su(t,e){return new Uc({check:"greater_than",...U(e),value:t,inclusive:!1})}function Co(t,e){return new Uc({check:"greater_than",...U(e),value:t,inclusive:!0})}function ou(t,e){return new M_({check:"multiple_of",...U(e),value:t})}function au(t,e){return new R_({check:"max_length",...U(e),maximum:t})}function ps(t,e){return new F_({check:"min_length",...U(e),minimum:t})}function lu(t,e){return new Z_({check:"length_equals",...U(e),length:t})}function Cg(t,e){return new L_({check:"string_format",format:"regex",...U(e),pattern:t})}function Og(t){return new j_({check:"string_format",format:"lowercase",...U(t)})}function Eg(t){return new U_({check:"string_format",format:"uppercase",...U(t)})}function Pg(t,e){return new B_({check:"string_format",format:"includes",...U(e),includes:t})}function $g(t,e){return new V_({check:"string_format",format:"starts_with",...U(e),prefix:t})}function Ag(t,e){return new H_({check:"string_format",format:"ends_with",...U(e),suffix:t})}function kr(t){return new W_({check:"overwrite",tx:t})}function Ig(t){return kr(e=>e.normalize(t))}function Dg(){return kr(t=>t.trim())}function Mg(){return kr(t=>t.toLowerCase())}function Ng(){return kr(t=>t.toUpperCase())}function Rg(){return kr(t=>Rp(t))}function Fg(t,e,n){return new t({type:"array",element:e,...U(n)})}function Zg(t,e,n){return new t({type:"custom",check:"custom",fn:e,...U(n)})}function Lg(t){const e=jg(n=>(n.addIssue=r=>{if(typeof r=="string")n.issues.push(ai(r,n.value,e._zod.def));else{const i=r;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),i.input??(i.input=n.value),i.inst??(i.inst=e),i.continue??(i.continue=!e._zod.def.abort),n.issues.push(ai(i))}},t(n.value,n)));return e}function jg(t,e){const n=new rt({check:"custom",...U(e)});return n._zod.check=t,n}function cu(t){let e=(t==null?void 0:t.target)??"draft-2020-12";return e==="draft-4"&&(e="draft-04"),e==="draft-7"&&(e="draft-07"),{processors:t.processors??{},metadataRegistry:(t==null?void 0:t.metadata)??li,target:e,unrepresentable:(t==null?void 0:t.unrepresentable)??"throw",override:(t==null?void 0:t.override)??(()=>{}),io:(t==null?void 0:t.io)??"output",counter:0,seen:new Map,cycles:(t==null?void 0:t.cycles)??"ref",reused:(t==null?void 0:t.reused)??"inline",external:(t==null?void 0:t.external)??void 0}}function Ie(t,e,n={path:[],schemaPath:[]}){var u,f;var r;const i=t._zod.def,s=e.seen.get(t);if(s)return s.count++,n.schemaPath.includes(t)&&(s.cycle=n.path),s.schema;const o={schema:{},count:1,cycle:void 0,path:n.path};e.seen.set(t,o);const a=(f=(u=t._zod).toJSONSchema)==null?void 0:f.call(u);if(a)o.schema=a;else{const h={...n,schemaPath:[...n.schemaPath,t],path:n.path},d=t._zod.parent;if(d)o.ref=d,Ie(d,e,h),e.seen.get(d).isParent=!0;else if(t._zod.processJSONSchema)t._zod.processJSONSchema(e,o.schema,h);else{const m=o.schema,p=e.processors[i.type];if(!p)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);p(t,e,m,h)}}const l=e.metadataRegistry.get(t);return l&&Object.assign(o.schema,l),e.io==="input"&&Xe(t)&&(delete o.schema.examples,delete o.schema.default),e.io==="input"&&o.schema._prefault&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,e.seen.get(t).schema}function uu(t,e){var s,o,a;const n=t.seen.get(e);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=l=>{var d;const c=t.target==="draft-2020-12"?"$defs":"definitions";if(t.external){const m=(d=t.external.registry.get(l[0]))==null?void 0:d.id,p=t.external.uri??(w=>w);if(m)return{ref:p(m)};const b=l[1].defId??l[1].schema.id??`schema${t.counter++}`;return l[1].defId=b,{defId:b,ref:`${p("__shared")}#/${c}/${b}`}}if(l[1]===n)return{ref:"#"};const f=`#/${c}/`,h=l[1].schema.id??`__schema${t.counter++}`;return{defId:h,ref:f+h}},i=l=>{if(l[1].schema.$ref)return;const c=l[1],{ref:u,defId:f}=r(l);c.def={...c.schema},f&&(c.defId=f);const h=c.schema;for(const d in h)delete h[d];h.$ref=u};if(t.cycles==="throw")for(const l of t.seen.entries()){const c=l[1];if(c.cycle)throw new Error(`Cycle detected: #/${(s=c.cycle)==null?void 0:s.join("/")}/<root>
|
|
40
40
|
|
|
41
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const l of t.seen.entries()){const u=l[1];if(e===l[0]){i(l);continue}if(t.external){const f=(o=t.external.registry.get(l[0]))==null?void 0:o.id;if(e!==l[0]&&f){i(l);continue}}if((a=t.metadataRegistry.get(l[0]))==null?void 0:a.id){i(l);continue}if(u.cycle){i(l);continue}if(u.count>1&&t.reused==="ref"){i(l);continue}}}function lu(t,e){var o,a,l;const n=t.seen.get(e);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=u=>{const c=t.seen.get(u),f=c.def??c.schema,h={...f};if(c.ref===null)return;const d=c.ref;if(c.ref=null,d){r(d);const m=t.seen.get(d).schema;m.$ref&&(t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0")?(f.allOf=f.allOf??[],f.allOf.push(m)):(Object.assign(f,m),Object.assign(f,h))}c.isParent||t.override({zodSchema:u,jsonSchema:f,path:c.path??[]})};for(const u of[...t.seen.entries()].reverse())r(u[0]);const i={};if(t.target==="draft-2020-12"?i.$schema="https://json-schema.org/draft/2020-12/schema":t.target==="draft-07"?i.$schema="http://json-schema.org/draft-07/schema#":t.target==="draft-04"?i.$schema="http://json-schema.org/draft-04/schema#":t.target,(o=t.external)!=null&&o.uri){const u=(a=t.external.registry.get(e))==null?void 0:a.id;if(!u)throw new Error("Schema is missing an `id` property");i.$id=t.external.uri(u)}Object.assign(i,n.def??n.schema);const s=((l=t.external)==null?void 0:l.defs)??{};for(const u of t.seen.entries()){const c=u[1];c.def&&c.defId&&(s[c.defId]=c.def)}t.external||Object.keys(s).length>0&&(t.target==="draft-2020-12"?i.$defs=s:i.definitions=s);try{const u=JSON.parse(JSON.stringify(i));return Object.defineProperty(u,"~standard",{value:{...e["~standard"],jsonSchema:{input:hs(e,"input"),output:hs(e,"output")}},enumerable:!1,writable:!1}),u}catch{throw new Error("Error converting schema to JSON.")}}function Xe(t,e){const n=e??{seen:new Set};if(n.seen.has(t))return!1;n.seen.add(t);const r=t._zod.def;if(r.type==="transform")return!0;if(r.type==="array")return Xe(r.element,n);if(r.type==="set")return Xe(r.valueType,n);if(r.type==="lazy")return Xe(r.getter(),n);if(r.type==="promise"||r.type==="optional"||r.type==="nonoptional"||r.type==="nullable"||r.type==="readonly"||r.type==="default"||r.type==="prefault")return Xe(r.innerType,n);if(r.type==="intersection")return Xe(r.left,n)||Xe(r.right,n);if(r.type==="record"||r.type==="map")return Xe(r.keyType,n)||Xe(r.valueType,n);if(r.type==="pipe")return Xe(r.in,n)||Xe(r.out,n);if(r.type==="object"){for(const i in r.shape)if(Xe(r.shape[i],n))return!0;return!1}if(r.type==="union"){for(const i of r.options)if(Xe(i,n))return!0;return!1}if(r.type==="tuple"){for(const i of r.items)if(Xe(i,n))return!0;return!!(r.rest&&Xe(r.rest,n))}return!1}const jg=(t,e={})=>n=>{const r=ou({...n,processors:e});return $e(t,r),au(r,t),lu(r,t)},hs=(t,e)=>n=>{const{libraryOptions:r,target:i}=n??{},s=ou({...r??{},target:i,io:e,processors:{}});return $e(t,s),au(s,t),lu(s,t)},Ug={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Vg=(t,e,n,r)=>{const i=n;i.type="string";const{minimum:s,maximum:o,format:a,patterns:l,contentEncoding:u}=t._zod.bag;if(typeof s=="number"&&(i.minLength=s),typeof o=="number"&&(i.maxLength=o),a&&(i.format=Ug[a]??a,i.format===""&&delete i.format),u&&(i.contentEncoding=u),l&&l.size>0){const c=[...l];c.length===1?i.pattern=c[0].source:c.length>1&&(i.allOf=[...c.map(f=>({...e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"?{type:"string"}:{},pattern:f.source}))])}},Bg=(t,e,n,r)=>{const i=n,{minimum:s,maximum:o,format:a,multipleOf:l,exclusiveMaximum:u,exclusiveMinimum:c}=t._zod.bag;typeof a=="string"&&a.includes("int")?i.type="integer":i.type="number",typeof c=="number"&&(e.target==="draft-04"||e.target==="openapi-3.0"?(i.minimum=c,i.exclusiveMinimum=!0):i.exclusiveMinimum=c),typeof s=="number"&&(i.minimum=s,typeof c=="number"&&e.target!=="draft-04"&&(c>=s?delete i.minimum:delete i.exclusiveMinimum)),typeof u=="number"&&(e.target==="draft-04"||e.target==="openapi-3.0"?(i.maximum=u,i.exclusiveMaximum=!0):i.exclusiveMaximum=u),typeof o=="number"&&(i.maximum=o,typeof u=="number"&&e.target!=="draft-04"&&(u<=o?delete i.maximum:delete i.exclusiveMaximum)),typeof l=="number"&&(i.multipleOf=l)},Hg=(t,e,n,r)=>{n.type="boolean"},Wg=(t,e,n,r)=>{e.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},Jg=(t,e,n,r)=>{if(e.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},Kg=(t,e,n,r)=>{n.not={}},qg=(t,e,n,r)=>{},Yg=(t,e,n,r)=>{},Gg=(t,e,n,r)=>{const i=t._zod.def,s=Tc(i.entries);s.every(o=>typeof o=="number")&&(n.type="number"),s.every(o=>typeof o=="string")&&(n.type="string"),n.enum=s},Xg=(t,e,n,r)=>{const i=t._zod.def,s=[];for(const o of i.values)if(o===void 0){if(e.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof o=="bigint"){if(e.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");s.push(Number(o))}else s.push(o);if(s.length!==0)if(s.length===1){const o=s[0];n.type=o===null?"null":typeof o,e.target==="draft-04"||e.target==="openapi-3.0"?n.enum=[o]:n.const=o}else s.every(o=>typeof o=="number")&&(n.type="number"),s.every(o=>typeof o=="string")&&(n.type="string"),s.every(o=>typeof o=="boolean")&&(n.type="boolean"),s.every(o=>o===null)&&(n.type="null"),n.enum=s},Qg=(t,e,n,r)=>{if(e.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},e0=(t,e,n,r)=>{if(e.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},t0=(t,e,n,r)=>{const i=n,s=t._zod.def,{minimum:o,maximum:a}=t._zod.bag;typeof o=="number"&&(i.minItems=o),typeof a=="number"&&(i.maxItems=a),i.type="array",i.items=$e(s.element,e,{...r,path:[...r.path,"items"]})},n0=(t,e,n,r)=>{var u;const i=n,s=t._zod.def;i.type="object",i.properties={};const o=s.shape;for(const c in o)i.properties[c]=$e(o[c],e,{...r,path:[...r.path,"properties",c]});const a=new Set(Object.keys(o)),l=new Set([...a].filter(c=>{const f=s.shape[c]._zod;return e.io==="input"?f.optin===void 0:f.optout===void 0}));l.size>0&&(i.required=Array.from(l)),((u=s.catchall)==null?void 0:u._zod.def.type)==="never"?i.additionalProperties=!1:s.catchall?s.catchall&&(i.additionalProperties=$e(s.catchall,e,{...r,path:[...r.path,"additionalProperties"]})):e.io==="output"&&(i.additionalProperties=!1)},r0=(t,e,n,r)=>{const i=t._zod.def,s=i.inclusive===!1,o=i.options.map((a,l)=>$e(a,e,{...r,path:[...r.path,s?"oneOf":"anyOf",l]}));s?n.oneOf=o:n.anyOf=o},i0=(t,e,n,r)=>{const i=t._zod.def,s=$e(i.left,e,{...r,path:[...r.path,"allOf",0]}),o=$e(i.right,e,{...r,path:[...r.path,"allOf",1]}),a=u=>"allOf"in u&&Object.keys(u).length===1,l=[...a(s)?s.allOf:[s],...a(o)?o.allOf:[o]];n.allOf=l},s0=(t,e,n,r)=>{const i=n,s=t._zod.def;i.type="object",(e.target==="draft-07"||e.target==="draft-2020-12")&&(i.propertyNames=$e(s.keyType,e,{...r,path:[...r.path,"propertyNames"]})),i.additionalProperties=$e(s.valueType,e,{...r,path:[...r.path,"additionalProperties"]})},o0=(t,e,n,r)=>{const i=t._zod.def,s=$e(i.innerType,e,r),o=e.seen.get(t);e.target==="openapi-3.0"?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[s,{type:"null"}]},a0=(t,e,n,r)=>{const i=t._zod.def;$e(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType},l0=(t,e,n,r)=>{const i=t._zod.def;$e(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},c0=(t,e,n,r)=>{const i=t._zod.def;$e(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType,e.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},u0=(t,e,n,r)=>{const i=t._zod.def;$e(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=o},f0=(t,e,n,r)=>{const i=t._zod.def,s=e.io==="input"?i.in._zod.def.type==="transform"?i.out:i.in:i.out;$e(s,e,r);const o=e.seen.get(t);o.ref=s},d0=(t,e,n,r)=>{const i=t._zod.def;$e(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType,n.readOnly=!0},h0=(t,e,n,r)=>{const i=t._zod.def;$e(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType},p0=T("ZodISODateTime",(t,e)=>{sm.init(t,e),Se.init(t,e)});function _0(t){return pg(p0,t)}const m0=T("ZodISODate",(t,e)=>{om.init(t,e),Se.init(t,e)});function g0(t){return _g(m0,t)}const v0=T("ZodISOTime",(t,e)=>{am.init(t,e),Se.init(t,e)});function y0(t){return mg(v0,t)}const b0=T("ZodISODuration",(t,e)=>{lm.init(t,e),Se.init(t,e)});function x0(t){return gg(b0,t)}const Ct=T("ZodError",(t,e)=>{$c.init(t,e),t.name="ZodError",Object.defineProperties(t,{format:{value:n=>qp(t,n)},flatten:{value:n=>Kp(t,n)},addIssue:{value:n=>{t.issues.push(n),t.message=JSON.stringify(t.issues,go,2)}},addIssues:{value:n=>{t.issues.push(...n),t.message=JSON.stringify(t.issues,go,2)}},isEmpty:{get(){return t.issues.length===0}}})},{Parent:Error}),w0=xo(Ct),S0=wo(Ct),k0=as(Ct),T0=ls(Ct),z0=Xp(Ct),C0=Qp(Ct),O0=e_(Ct),E0=t_(Ct),P0=n_(Ct),$0=r_(Ct),A0=i_(Ct),I0=s_(Ct),ye=T("ZodType",(t,e)=>(ge.init(t,e),Object.assign(t["~standard"],{jsonSchema:{input:hs(t,"input"),output:hs(t,"output")}}),t.toJSONSchema=jg(t,{}),t.def=e,t.type=e.type,Object.defineProperty(t,"_def",{value:e}),t.check=(...n)=>t.clone(Kn(e,{checks:[...e.checks??[],...n.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]})),t.clone=(n,r)=>zn(t,n,r),t.brand=()=>t,t.register=(n,r)=>(n.add(t,r),t),t.parse=(n,r)=>w0(t,n,r,{callee:t.parse}),t.safeParse=(n,r)=>k0(t,n,r),t.parseAsync=async(n,r)=>S0(t,n,r,{callee:t.parseAsync}),t.safeParseAsync=async(n,r)=>T0(t,n,r),t.spa=t.safeParseAsync,t.encode=(n,r)=>z0(t,n,r),t.decode=(n,r)=>C0(t,n,r),t.encodeAsync=async(n,r)=>O0(t,n,r),t.decodeAsync=async(n,r)=>E0(t,n,r),t.safeEncode=(n,r)=>P0(t,n,r),t.safeDecode=(n,r)=>$0(t,n,r),t.safeEncodeAsync=async(n,r)=>A0(t,n,r),t.safeDecodeAsync=async(n,r)=>I0(t,n,r),t.refine=(n,r)=>t.check(Ev(n,r)),t.superRefine=n=>t.check(Pv(n)),t.overwrite=n=>t.check(xr(n)),t.optional=()=>yu(t),t.nullable=()=>bu(t),t.nullish=()=>yu(bu(t)),t.nonoptional=n=>wv(t,n),t.array=()=>Co(t),t.or=n=>Oo([t,n]),t.and=n=>dv(t,n),t.transform=n=>$o(t,gu(n)),t.default=n=>yv(t,n),t.prefault=n=>xv(t,n),t.catch=n=>kv(t,n),t.pipe=n=>$o(t,n),t.readonly=()=>Cv(t),t.describe=n=>{const r=t.clone();return si.add(r,{description:n}),r},Object.defineProperty(t,"description",{get(){var n;return(n=si.get(t))==null?void 0:n.description},configurable:!0}),t.meta=(...n)=>{if(n.length===0)return si.get(t);const r=t.clone();return si.add(r,n[0]),r},t.isOptional=()=>t.safeParse(void 0).success,t.isNullable=()=>t.safeParse(null).success,t)),cu=T("_ZodString",(t,e)=>{So.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(r,i,s)=>Vg(t,r,i);const n=t._zod.bag;t.format=n.format??null,t.minLength=n.minimum??null,t.maxLength=n.maximum??null,t.regex=(...r)=>t.check(zg(...r)),t.includes=(...r)=>t.check(Eg(...r)),t.startsWith=(...r)=>t.check(Pg(...r)),t.endsWith=(...r)=>t.check($g(...r)),t.min=(...r)=>t.check(ds(...r)),t.max=(...r)=>t.check(iu(...r)),t.length=(...r)=>t.check(su(...r)),t.nonempty=(...r)=>t.check(ds(1,...r)),t.lowercase=r=>t.check(Cg(r)),t.uppercase=r=>t.check(Og(r)),t.trim=()=>t.check(Ig()),t.normalize=(...r)=>t.check(Ag(...r)),t.toLowerCase=()=>t.check(Dg()),t.toUpperCase=()=>t.check(Mg()),t.slugify=()=>t.check(Ng())}),D0=T("ZodString",(t,e)=>{So.init(t,e),cu.init(t,e),t.email=n=>t.check(Jm(M0,n)),t.url=n=>t.check(Xm(N0,n)),t.jwt=n=>t.check(hg(G0,n)),t.emoji=n=>t.check(Qm(R0,n)),t.guid=n=>t.check(eu(uu,n)),t.uuid=n=>t.check(Km(ps,n)),t.uuidv4=n=>t.check(qm(ps,n)),t.uuidv6=n=>t.check(Ym(ps,n)),t.uuidv7=n=>t.check(Gm(ps,n)),t.nanoid=n=>t.check(eg(F0,n)),t.guid=n=>t.check(eu(uu,n)),t.cuid=n=>t.check(tg(Z0,n)),t.cuid2=n=>t.check(ng(L0,n)),t.ulid=n=>t.check(rg(j0,n)),t.base64=n=>t.check(ug(K0,n)),t.base64url=n=>t.check(fg(q0,n)),t.xid=n=>t.check(ig(U0,n)),t.ksuid=n=>t.check(sg(V0,n)),t.ipv4=n=>t.check(og(B0,n)),t.ipv6=n=>t.check(ag(H0,n)),t.cidrv4=n=>t.check(lg(W0,n)),t.cidrv6=n=>t.check(cg(J0,n)),t.e164=n=>t.check(dg(Y0,n)),t.datetime=n=>t.check(_0(n)),t.date=n=>t.check(g0(n)),t.time=n=>t.check(y0(n)),t.duration=n=>t.check(x0(n))});function qn(t){return Wm(D0,t)}const Se=T("ZodStringFormat",(t,e)=>{be.init(t,e),cu.init(t,e)}),M0=T("ZodEmail",(t,e)=>{Y_.init(t,e),Se.init(t,e)}),uu=T("ZodGUID",(t,e)=>{K_.init(t,e),Se.init(t,e)}),ps=T("ZodUUID",(t,e)=>{q_.init(t,e),Se.init(t,e)}),N0=T("ZodURL",(t,e)=>{G_.init(t,e),Se.init(t,e)}),R0=T("ZodEmoji",(t,e)=>{X_.init(t,e),Se.init(t,e)}),F0=T("ZodNanoID",(t,e)=>{Q_.init(t,e),Se.init(t,e)}),Z0=T("ZodCUID",(t,e)=>{em.init(t,e),Se.init(t,e)}),L0=T("ZodCUID2",(t,e)=>{tm.init(t,e),Se.init(t,e)}),j0=T("ZodULID",(t,e)=>{nm.init(t,e),Se.init(t,e)}),U0=T("ZodXID",(t,e)=>{rm.init(t,e),Se.init(t,e)}),V0=T("ZodKSUID",(t,e)=>{im.init(t,e),Se.init(t,e)}),B0=T("ZodIPv4",(t,e)=>{cm.init(t,e),Se.init(t,e)}),H0=T("ZodIPv6",(t,e)=>{um.init(t,e),Se.init(t,e)}),W0=T("ZodCIDRv4",(t,e)=>{fm.init(t,e),Se.init(t,e)}),J0=T("ZodCIDRv6",(t,e)=>{dm.init(t,e),Se.init(t,e)}),K0=T("ZodBase64",(t,e)=>{hm.init(t,e),Se.init(t,e)}),q0=T("ZodBase64URL",(t,e)=>{_m.init(t,e),Se.init(t,e)}),Y0=T("ZodE164",(t,e)=>{mm.init(t,e),Se.init(t,e)}),G0=T("ZodJWT",(t,e)=>{vm.init(t,e),Se.init(t,e)}),fu=T("ZodNumber",(t,e)=>{jc.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(r,i,s)=>Bg(t,r,i),t.gt=(r,i)=>t.check(nu(r,i)),t.gte=(r,i)=>t.check(zo(r,i)),t.min=(r,i)=>t.check(zo(r,i)),t.lt=(r,i)=>t.check(tu(r,i)),t.lte=(r,i)=>t.check(To(r,i)),t.max=(r,i)=>t.check(To(r,i)),t.int=r=>t.check(du(r)),t.safe=r=>t.check(du(r)),t.positive=r=>t.check(nu(0,r)),t.nonnegative=r=>t.check(zo(0,r)),t.negative=r=>t.check(tu(0,r)),t.nonpositive=r=>t.check(To(0,r)),t.multipleOf=(r,i)=>t.check(ru(r,i)),t.step=(r,i)=>t.check(ru(r,i)),t.finite=()=>t;const n=t._zod.bag;t.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,t.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,t.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),t.isFinite=!0,t.format=n.format??null});function X0(t){return vg(fu,t)}const Q0=T("ZodNumberFormat",(t,e)=>{ym.init(t,e),fu.init(t,e)});function du(t){return yg(Q0,t)}const ev=T("ZodBoolean",(t,e)=>{bm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Hg(t,n,r)});function oi(t){return bg(ev,t)}const tv=T("ZodUndefined",(t,e)=>{xm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Jg(t,n)});function hu(t){return xg(tv,t)}const nv=T("ZodNull",(t,e)=>{wm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Wg(t,n,r)});function pu(t){return wg(nv,t)}const rv=T("ZodAny",(t,e)=>{Sm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>qg()});function iv(){return Sg(rv)}const sv=T("ZodUnknown",(t,e)=>{km.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Yg()});function _u(){return kg(sv)}const ov=T("ZodNever",(t,e)=>{Tm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Kg(t,n,r)});function av(t){return Tg(ov,t)}const lv=T("ZodArray",(t,e)=>{zm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>t0(t,n,r,i),t.element=e.element,t.min=(n,r)=>t.check(ds(n,r)),t.nonempty=n=>t.check(ds(1,n)),t.max=(n,r)=>t.check(iu(n,r)),t.length=(n,r)=>t.check(su(n,r)),t.unwrap=()=>t.element});function Co(t,e){return Rg(lv,t,e)}const cv=T("ZodObject",(t,e)=>{Om.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>n0(t,n,r,i),ue(t,"shape",()=>e.shape),t.keyof=()=>ht(Object.keys(t._zod.def.shape)),t.catchall=n=>t.clone({...t._zod.def,catchall:n}),t.passthrough=()=>t.clone({...t._zod.def,catchall:_u()}),t.loose=()=>t.clone({...t._zod.def,catchall:_u()}),t.strict=()=>t.clone({...t._zod.def,catchall:av()}),t.strip=()=>t.clone({...t._zod.def,catchall:void 0}),t.extend=n=>Vp(t,n),t.safeExtend=n=>Bp(t,n),t.merge=n=>Hp(t,n),t.pick=n=>jp(t,n),t.omit=n=>Up(t,n),t.partial=(...n)=>Wp(vu,t,n[0]),t.required=(...n)=>Jp(xu,t,n[0])});function Ve(t,e){const n={type:"object",shape:t??{},...U(e)};return new cv(n)}const mu=T("ZodUnion",(t,e)=>{Wc.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>r0(t,n,r,i),t.options=e.options});function Oo(t,e){return new mu({type:"union",options:t,...U(e)})}const uv=T("ZodDiscriminatedUnion",(t,e)=>{mu.init(t,e),Em.init(t,e)});function Eo(t,e,n){return new uv({type:"union",options:e,discriminator:t,...U(n)})}const fv=T("ZodIntersection",(t,e)=>{Pm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>i0(t,n,r,i)});function dv(t,e){return new fv({type:"intersection",left:t,right:e})}const hv=T("ZodRecord",(t,e)=>{$m.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>s0(t,n,r,i),t.keyType=e.keyType,t.valueType=e.valueType});function pv(t,e,n){return new hv({type:"record",keyType:t,valueType:e,...U(n)})}const Po=T("ZodEnum",(t,e)=>{Am.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(r,i,s)=>Gg(t,r,i),t.enum=e.entries,t.options=Object.values(e.entries);const n=new Set(Object.keys(e.entries));t.extract=(r,i)=>{const s={};for(const o of r)if(n.has(o))s[o]=e.entries[o];else throw new Error(`Key ${o} not found in enum`);return new Po({...e,checks:[],...U(i),entries:s})},t.exclude=(r,i)=>{const s={...e.entries};for(const o of r)if(n.has(o))delete s[o];else throw new Error(`Key ${o} not found in enum`);return new Po({...e,checks:[],...U(i),entries:s})}});function ht(t,e){const n=Array.isArray(t)?Object.fromEntries(t.map(r=>[r,r])):t;return new Po({type:"enum",entries:n,...U(e)})}const _v=T("ZodLiteral",(t,e)=>{Im.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Xg(t,n,r),t.values=new Set(e.values),Object.defineProperty(t,"value",{get(){if(e.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return e.values[0]}})});function Be(t,e){return new _v({type:"literal",values:Array.isArray(t)?t:[t],...U(e)})}const mv=T("ZodTransform",(t,e)=>{Dm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>e0(t,n),t._zod.parse=(n,r)=>{if(r.direction==="backward")throw new Sc(t.constructor.name);n.addIssue=s=>{if(typeof s=="string")n.issues.push(ii(s,n.value,e));else{const o=s;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=n.value),o.inst??(o.inst=t),n.issues.push(ii(o))}};const i=e.transform(n.value,n);return i instanceof Promise?i.then(s=>(n.value=s,n)):(n.value=i,n)}});function gu(t){return new mv({type:"transform",transform:t})}const vu=T("ZodOptional",(t,e)=>{Mm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>h0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function yu(t){return new vu({type:"optional",innerType:t})}const gv=T("ZodNullable",(t,e)=>{Nm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>o0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function bu(t){return new gv({type:"nullable",innerType:t})}const vv=T("ZodDefault",(t,e)=>{Rm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>l0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType,t.removeDefault=t.unwrap});function yv(t,e){return new vv({type:"default",innerType:t,get defaultValue(){return typeof e=="function"?e():Ec(e)}})}const bv=T("ZodPrefault",(t,e)=>{Fm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>c0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function xv(t,e){return new bv({type:"prefault",innerType:t,get defaultValue(){return typeof e=="function"?e():Ec(e)}})}const xu=T("ZodNonOptional",(t,e)=>{Zm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>a0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function wv(t,e){return new xu({type:"nonoptional",innerType:t,...U(e)})}const Sv=T("ZodCatch",(t,e)=>{Lm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>u0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType,t.removeCatch=t.unwrap});function kv(t,e){return new Sv({type:"catch",innerType:t,catchValue:typeof e=="function"?e:()=>e})}const Tv=T("ZodPipe",(t,e)=>{jm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>f0(t,n,r,i),t.in=e.in,t.out=e.out});function $o(t,e){return new Tv({type:"pipe",in:t,out:e})}const zv=T("ZodReadonly",(t,e)=>{Um.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>d0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function Cv(t){return new zv({type:"readonly",innerType:t})}const Ov=T("ZodCustom",(t,e)=>{Vm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Qg(t,n)});function Ev(t,e={}){return Fg(Ov,t,e)}function Pv(t){return Zg(t)}function $v(t,e){return $o(gu(t),e)}const _s=t=>{if(!t||typeof t!="object")return t;if(Array.isArray(t))return t.map(r=>_s(r));const e={t:"title",s:"subtitle",d:"description",desc:"description",bg:"background",img:"image",fs:"features",tl:"timeline",st:"steps"},n={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const i=e[r]||r,s=t[r];n[i]=_s(s)}return n},Wt=t=>Oo([t,Co(t),pu(),hu()]).transform(e=>e==null?[]:Array.isArray(e)?e:[e]),ae=Oo([qn(),X0(),pu(),hu()]).transform(t=>t==null?"":String(t)),Ao=qn().describe("Icon name (e.g. 'star', 'users', 'arrow-right'). Use standard Lucide/FontAwesome names."),wr=Ve({id:qn().optional().describe("Unique ID for the slide. Useful for navigation."),sizing:ht(["viewport","container"]).optional().describe("How the slide fits the screen. Default: 'viewport'."),meta:pv(qn(),iv()).optional().describe("Arbitrary metadata for custom behavior.")}),Av=wr.extend({type:Be("statement").describe("Use for high-impact titles, covers, or quotes."),title:ae.describe("Main headline. Keep it punchy (3-6 words)."),subtitle:ae.optional().describe("Supporting text or attribution."),tag:ae.optional().describe("Small eyebrow tag above the title.")}),Iv=Ve({title:ae.describe("Feature name."),description:ae.describe("Short benefit description."),icon:Ao.optional().describe("Visual icon for the feature.")}),Dv=wr.extend({type:Be("features").describe("Use for lists of benefits, stats, or grid items."),title:ae.describe("Section header."),description:ae.optional().describe("Contextual description."),features:Wt(Iv).describe("Array of feature cards.")}),wu=Ve({date:ae.describe("Time marker (Year, Date, or 'Now')."),title:ae.describe("Event title."),description:ae.describe("Event details (1-2 sentences)."),icon:Ao.optional().describe("Optional marker icon.")}),Mv=wr.extend({type:Be("timeline").describe("Use for history, roadmaps, or chronological steps."),title:ae.describe("Timeline header."),subtitle:ae.optional(),timeline:Wt(wu).describe("Ordered events.")}),Su=Ve({step:ae.describe("Step number/label (e.g., '01', 'A')."),title:ae.describe("Action title."),description:ae.optional().describe("Action details."),icon:Ao.optional()}),Nv=wr.extend({type:Be("steps").describe("Use for tutorials, 'how-to' guides, or process flows."),title:ae.describe("Process header."),subtitle:ae.optional(),steps:Wt(Su).describe("Sequential steps.")}),Rv=wr.extend({type:Be("half").describe("Use when you have a strong visual + explanations."),imageSide:ht(["left","right"]).default("left").describe("Which side the image goes on."),image:ae.describe("URL to the image."),title:ae.describe("Headline."),tag:ae.optional(),paragraphs:Wt(qn()).describe("Array of text blocks/paragraphs."),cta:ae.optional().describe("Call to Action label (button).")}),ai=ht(["none","xs","sm","md","lg","xl","2xl"]).describe("Spacing size token."),fn=ht(["auto","quarter","third","half","two-thirds","three-quarters","full"]).describe("Element size in container."),Fv=ht(["top","center","bottom"]).describe("Vertical alignment."),Zv=ht(["left","center","right"]).describe("Horizontal alignment."),ku=ht(["left","center","right"]).describe("Text alignment."),Tu=Ve({type:Be("title").describe("Large heading text."),text:ae.describe("The heading text."),size:ht(["lg","xl","2xl","3xl"]).optional().describe("Heading size. Default: 'xl'."),align:ku.optional().describe("Text alignment. Default: 'left'.")}),zu=Ve({type:Be("text").describe("Body paragraph text."),text:ae.describe("The paragraph text."),align:ku.optional().describe("Text alignment. Default: 'left'."),muted:oi().optional().describe("Muted/subtle appearance. Default: false.")}),Cu=Ve({type:Be("bullets").describe("Unordered bullet list."),items:Wt(qn()).describe("List items.")}),Ou=Ve({type:Be("ordered").describe("Numbered list."),items:Wt(qn()).describe("List items.")}),Lv=Ve({type:Be("image").describe("Visual media element."),src:ae.describe("Image URL."),alt:ae.optional().describe("Alt text for accessibility."),fill:oi().optional().describe("Fill container edge-to-edge. Default: true."),fit:ht(["cover","contain"]).optional().describe("Object-fit when fill. Default: 'cover'."),rounded:ht(["none","sm","md","lg","xl","full"]).optional().describe("Border radius.")}),Eu=Ve({type:Be("button").describe("Call-to-action button."),label:ae.describe("Button label text."),action:ae.optional().describe("Action identifier emitted on click."),variant:ht(["primary","secondary","outline","ghost"]).optional().describe("Visual variant. Default: 'primary'."),fullWidth:oi().optional().describe("Full width button. Default: false.")}),Pu=Ve({type:Be("timeline").describe("Embedded timeline with events."),items:Wt(wu).describe("Timeline events."),compact:oi().optional().describe("Compact display mode. Default: false.")}),$u=Ve({type:Be("stepper").describe("Embedded step-by-step process."),items:Wt(Su).describe("Step items."),compact:oi().optional().describe("Compact display mode. Default: false.")}),jv=Ve({type:Be("spacer").describe("Adds visual spacing."),size:ai.optional().describe("Size of the space. Default: 'md'.")}),Uv=Eo("type",[Tu,zu,Cu,Ou,Eu,Pu,$u,jv]),Vv=Ve({type:Be("content").describe("Groups child elements vertically with alignment control."),elements:Wt(Uv).describe("Child elements."),valign:Fv.optional().describe("Vertical alignment. Default: 'center'."),halign:Zv.optional().describe("Horizontal alignment. Default: 'left'."),gap:ai.optional().describe("Gap between children. Default: 'md'."),padding:ai.optional().describe("Internal padding. Default: 'lg'."),size:fn.optional().describe("Size in parent flex container.")}),Bv=Eo("type",[Lv.extend({size:fn.optional()}),Vv,Tu.extend({size:fn.optional()}),zu.extend({size:fn.optional()}),Cu.extend({size:fn.optional()}),Ou.extend({size:fn.optional()}),Eu.extend({size:fn.optional()}),Pu.extend({size:fn.optional()}),$u.extend({size:fn.optional()})]),Hv=wr.extend({type:Be("flex").describe("Flow-based layout. Elements flow in order with semantic sizing."),direction:ht(["horizontal","vertical"]).optional().describe("Main flow direction. Default: 'horizontal'."),gap:ai.optional().describe("Gap between elements. Default: 'none'."),padding:ai.optional().describe("Container padding. Default: 'none'."),elements:Wt(Bv).describe("Flex elements in flow order.")}),Wv=Eo("type",[Av,Dv,Mv,Nv,Rv,Hv]),Jv=Ve({title:ae.describe("Title of the entire presentation."),author:ae.optional(),date:ae.optional()}).passthrough();Ve({meta:Jv.describe("Global deck settings."),slides:Co($v(_s,Wv)).describe("Ordered array of slide definitions.")});const li=Symbol("LuminaStore"),Kv={loop:!1,navigation:!0,keyboard:!0,touch:!0,debug:!1,theme:"default",ui:{visible:!0,showProgressBar:!0,showSlideCount:!0,showControls:!0},keys:{next:["ArrowRight"," ","Enter"],prev:["ArrowLeft","Backspace"]},animation:{enabled:!0,type:"cascade",durationIn:1,durationOut:.5,stagger:.1,ease:"power3.out"}};function Sr(t){if(typeof t=="string")return Dp(t);if(Array.isArray(t))return t.map(Sr);if(t&&typeof t=="object"){const e={};for(const n in t)e[n]=Sr(t[n]);return e}return t}function Au(t,e){if(typeof t!="object"||t===null||typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(Sr);const n={...t};for(const r in e)e[r]===Object(e[r])?r in t?n[r]=Au(t[r],e[r]):Object.assign(n,{[r]:Sr(e[r])}):Object.assign(n,{[r]:Sr(e[r])});return n}function qv(t={}){const e=Fi({deck:null,currentIndex:0,options:{...Kv,...t},isReady:!1,actionHistory:[]}),n=()=>!e.deck||e.deck.slides.length===0?null:e.deck.slides[e.currentIndex]||null,r=()=>e.deck?e.options.loop?!0:e.currentIndex<e.deck.slides.length-1:!1,i=()=>e.deck?e.options.loop?!0:e.currentIndex>0:!1,s=()=>!e.deck||e.deck.slides.length<=1?0:e.currentIndex/(e.deck.slides.length-1);function o(d){e.options={...e.options,...d},d.theme&&(d.theme,e.options.theme=d.theme),d.ui&&(e.options.ui={...e.options.ui,...d.ui}),d.keys&&(e.options.keys={...e.options.keys,...d.keys}),d.animation&&(e.options.animation={...e.options.animation,...d.animation})}function a(d){if(!d||!Array.isArray(d.slides)){console.error("[LuminaStore] Invalid deck format");return}const m=_s(d);e.deck=Sr(m),e.currentIndex=0,e.isReady=!0,e.actionHistory=[]}function l(d){e.deck&&(e.deck=Au(e.deck,d))}function u(d){e.actionHistory.push(d),e.actionHistory.length>50&&e.actionHistory.shift()}function c(){var m;if(!r())return;const d=((m=e.deck)==null?void 0:m.slides.length)||0;e.options.loop?e.currentIndex=(e.currentIndex+1)%d:e.currentIndex++}function f(){var m;if(!i())return;const d=((m=e.deck)==null?void 0:m.slides.length)||0;e.options.loop?e.currentIndex=(e.currentIndex-1+d)%d:e.currentIndex--}function h(d){e.deck&&d>=0&&d<e.deck.slides.length&&(e.currentIndex=d)}return{state:Zi(e),currentSlide:n,hasNext:r,hasPrev:i,progress:s,setOptions:o,loadDeck:a,patchDeck:l,recordAction:u,next:c,prev:f,goto:h}}function Yv(){const t=xn(li);if(!t)throw new Error("Lumina: Component must be used within a Lumina instance.");return{slide:Re(()=>t.currentSlide()),index:Re(()=>t.state.currentIndex),total:Re(()=>{var e;return((e=t.state.deck)==null?void 0:e.slides.length)||0}),next:t.next,prev:t.prev,goto:t.goto,options:t.state.options}}function Gv(){const t=xn(li);if(!t)return;let e=0;const n=300,r=i=>{var u,c;const{options:s}=t.state;if(!s.keyboard||!s.navigation)return;const o=Date.now();if(o-e<n)return;const a=((u=s.keys)==null?void 0:u.next)||[],l=((c=s.keys)==null?void 0:c.prev)||[];a.includes(i.key)?(t.next(),e=o):l.includes(i.key)&&(t.prev(),e=o)};Wr(()=>{window.addEventListener("keydown",r)}),Jr(()=>{window.removeEventListener("keydown",r)})}class Xv{constructor(){et(this,"handlers",new Map)}on(e,n){this.handlers.has(e)||this.handlers.set(e,new Set),this.handlers.get(e).add(n)}off(e,n){const r=this.handlers.get(e);r&&r.delete(n)}emit(e,n){const r=this.handlers.get(e);r&&r.forEach(i=>{try{i(n)}catch(s){console.error(`[LuminaBus] Error in handler for event "${e}":`,s)}})}clear(){this.handlers.clear()}}const On=new Xv;function dn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Iu(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
|
|
41
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const l of t.seen.entries()){const c=l[1];if(e===l[0]){i(l);continue}if(t.external){const f=(o=t.external.registry.get(l[0]))==null?void 0:o.id;if(e!==l[0]&&f){i(l);continue}}if((a=t.metadataRegistry.get(l[0]))==null?void 0:a.id){i(l);continue}if(c.cycle){i(l);continue}if(c.count>1&&t.reused==="ref"){i(l);continue}}}function fu(t,e){var o,a,l;const n=t.seen.get(e);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const r=c=>{const u=t.seen.get(c),f=u.def??u.schema,h={...f};if(u.ref===null)return;const d=u.ref;if(u.ref=null,d){r(d);const m=t.seen.get(d).schema;m.$ref&&(t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0")?(f.allOf=f.allOf??[],f.allOf.push(m)):(Object.assign(f,m),Object.assign(f,h))}u.isParent||t.override({zodSchema:c,jsonSchema:f,path:u.path??[]})};for(const c of[...t.seen.entries()].reverse())r(c[0]);const i={};if(t.target==="draft-2020-12"?i.$schema="https://json-schema.org/draft/2020-12/schema":t.target==="draft-07"?i.$schema="http://json-schema.org/draft-07/schema#":t.target==="draft-04"?i.$schema="http://json-schema.org/draft-04/schema#":t.target,(o=t.external)!=null&&o.uri){const c=(a=t.external.registry.get(e))==null?void 0:a.id;if(!c)throw new Error("Schema is missing an `id` property");i.$id=t.external.uri(c)}Object.assign(i,n.def??n.schema);const s=((l=t.external)==null?void 0:l.defs)??{};for(const c of t.seen.entries()){const u=c[1];u.def&&u.defId&&(s[u.defId]=u.def)}t.external||Object.keys(s).length>0&&(t.target==="draft-2020-12"?i.$defs=s:i.definitions=s);try{const c=JSON.parse(JSON.stringify(i));return Object.defineProperty(c,"~standard",{value:{...e["~standard"],jsonSchema:{input:_s(e,"input"),output:_s(e,"output")}},enumerable:!1,writable:!1}),c}catch{throw new Error("Error converting schema to JSON.")}}function Xe(t,e){const n=e??{seen:new Set};if(n.seen.has(t))return!1;n.seen.add(t);const r=t._zod.def;if(r.type==="transform")return!0;if(r.type==="array")return Xe(r.element,n);if(r.type==="set")return Xe(r.valueType,n);if(r.type==="lazy")return Xe(r.getter(),n);if(r.type==="promise"||r.type==="optional"||r.type==="nonoptional"||r.type==="nullable"||r.type==="readonly"||r.type==="default"||r.type==="prefault")return Xe(r.innerType,n);if(r.type==="intersection")return Xe(r.left,n)||Xe(r.right,n);if(r.type==="record"||r.type==="map")return Xe(r.keyType,n)||Xe(r.valueType,n);if(r.type==="pipe")return Xe(r.in,n)||Xe(r.out,n);if(r.type==="object"){for(const i in r.shape)if(Xe(r.shape[i],n))return!0;return!1}if(r.type==="union"){for(const i of r.options)if(Xe(i,n))return!0;return!1}if(r.type==="tuple"){for(const i of r.items)if(Xe(i,n))return!0;return!!(r.rest&&Xe(r.rest,n))}return!1}const Ug=(t,e={})=>n=>{const r=cu({...n,processors:e});return Ie(t,r),uu(r,t),fu(r,t)},_s=(t,e)=>n=>{const{libraryOptions:r,target:i}=n??{},s=cu({...r??{},target:i,io:e,processors:{}});return Ie(t,s),uu(s,t),fu(s,t)},Bg={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Vg=(t,e,n,r)=>{const i=n;i.type="string";const{minimum:s,maximum:o,format:a,patterns:l,contentEncoding:c}=t._zod.bag;if(typeof s=="number"&&(i.minLength=s),typeof o=="number"&&(i.maxLength=o),a&&(i.format=Bg[a]??a,i.format===""&&delete i.format),c&&(i.contentEncoding=c),l&&l.size>0){const u=[...l];u.length===1?i.pattern=u[0].source:u.length>1&&(i.allOf=[...u.map(f=>({...e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0"?{type:"string"}:{},pattern:f.source}))])}},Hg=(t,e,n,r)=>{const i=n,{minimum:s,maximum:o,format:a,multipleOf:l,exclusiveMaximum:c,exclusiveMinimum:u}=t._zod.bag;typeof a=="string"&&a.includes("int")?i.type="integer":i.type="number",typeof u=="number"&&(e.target==="draft-04"||e.target==="openapi-3.0"?(i.minimum=u,i.exclusiveMinimum=!0):i.exclusiveMinimum=u),typeof s=="number"&&(i.minimum=s,typeof u=="number"&&e.target!=="draft-04"&&(u>=s?delete i.minimum:delete i.exclusiveMinimum)),typeof c=="number"&&(e.target==="draft-04"||e.target==="openapi-3.0"?(i.maximum=c,i.exclusiveMaximum=!0):i.exclusiveMaximum=c),typeof o=="number"&&(i.maximum=o,typeof c=="number"&&e.target!=="draft-04"&&(c<=o?delete i.maximum:delete i.exclusiveMaximum)),typeof l=="number"&&(i.multipleOf=l)},Wg=(t,e,n,r)=>{n.type="boolean"},Jg=(t,e,n,r)=>{e.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},Kg=(t,e,n,r)=>{if(e.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},qg=(t,e,n,r)=>{n.not={}},Yg=(t,e,n,r)=>{},Gg=(t,e,n,r)=>{},Xg=(t,e,n,r)=>{const i=t._zod.def,s=Oc(i.entries);s.every(o=>typeof o=="number")&&(n.type="number"),s.every(o=>typeof o=="string")&&(n.type="string"),n.enum=s},Qg=(t,e,n,r)=>{const i=t._zod.def,s=[];for(const o of i.values)if(o===void 0){if(e.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof o=="bigint"){if(e.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");s.push(Number(o))}else s.push(o);if(s.length!==0)if(s.length===1){const o=s[0];n.type=o===null?"null":typeof o,e.target==="draft-04"||e.target==="openapi-3.0"?n.enum=[o]:n.const=o}else s.every(o=>typeof o=="number")&&(n.type="number"),s.every(o=>typeof o=="string")&&(n.type="string"),s.every(o=>typeof o=="boolean")&&(n.type="boolean"),s.every(o=>o===null)&&(n.type="null"),n.enum=s},e0=(t,e,n,r)=>{if(e.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},t0=(t,e,n,r)=>{if(e.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},n0=(t,e,n,r)=>{const i=n,s=t._zod.def,{minimum:o,maximum:a}=t._zod.bag;typeof o=="number"&&(i.minItems=o),typeof a=="number"&&(i.maxItems=a),i.type="array",i.items=Ie(s.element,e,{...r,path:[...r.path,"items"]})},r0=(t,e,n,r)=>{var c;const i=n,s=t._zod.def;i.type="object",i.properties={};const o=s.shape;for(const u in o)i.properties[u]=Ie(o[u],e,{...r,path:[...r.path,"properties",u]});const a=new Set(Object.keys(o)),l=new Set([...a].filter(u=>{const f=s.shape[u]._zod;return e.io==="input"?f.optin===void 0:f.optout===void 0}));l.size>0&&(i.required=Array.from(l)),((c=s.catchall)==null?void 0:c._zod.def.type)==="never"?i.additionalProperties=!1:s.catchall?s.catchall&&(i.additionalProperties=Ie(s.catchall,e,{...r,path:[...r.path,"additionalProperties"]})):e.io==="output"&&(i.additionalProperties=!1)},i0=(t,e,n,r)=>{const i=t._zod.def,s=i.inclusive===!1,o=i.options.map((a,l)=>Ie(a,e,{...r,path:[...r.path,s?"oneOf":"anyOf",l]}));s?n.oneOf=o:n.anyOf=o},s0=(t,e,n,r)=>{const i=t._zod.def,s=Ie(i.left,e,{...r,path:[...r.path,"allOf",0]}),o=Ie(i.right,e,{...r,path:[...r.path,"allOf",1]}),a=c=>"allOf"in c&&Object.keys(c).length===1,l=[...a(s)?s.allOf:[s],...a(o)?o.allOf:[o]];n.allOf=l},o0=(t,e,n,r)=>{const i=n,s=t._zod.def;i.type="object",(e.target==="draft-07"||e.target==="draft-2020-12")&&(i.propertyNames=Ie(s.keyType,e,{...r,path:[...r.path,"propertyNames"]})),i.additionalProperties=Ie(s.valueType,e,{...r,path:[...r.path,"additionalProperties"]})},a0=(t,e,n,r)=>{const i=t._zod.def,s=Ie(i.innerType,e,r),o=e.seen.get(t);e.target==="openapi-3.0"?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[s,{type:"null"}]},l0=(t,e,n,r)=>{const i=t._zod.def;Ie(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType},c0=(t,e,n,r)=>{const i=t._zod.def;Ie(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},u0=(t,e,n,r)=>{const i=t._zod.def;Ie(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType,e.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},f0=(t,e,n,r)=>{const i=t._zod.def;Ie(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=o},d0=(t,e,n,r)=>{const i=t._zod.def,s=e.io==="input"?i.in._zod.def.type==="transform"?i.out:i.in:i.out;Ie(s,e,r);const o=e.seen.get(t);o.ref=s},h0=(t,e,n,r)=>{const i=t._zod.def;Ie(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType,n.readOnly=!0},p0=(t,e,n,r)=>{const i=t._zod.def;Ie(i.innerType,e,r);const s=e.seen.get(t);s.ref=i.innerType},_0=z("ZodISODateTime",(t,e)=>{om.init(t,e),Se.init(t,e)});function m0(t){return _g(_0,t)}const g0=z("ZodISODate",(t,e)=>{am.init(t,e),Se.init(t,e)});function v0(t){return mg(g0,t)}const y0=z("ZodISOTime",(t,e)=>{lm.init(t,e),Se.init(t,e)});function b0(t){return gg(y0,t)}const x0=z("ZodISODuration",(t,e)=>{cm.init(t,e),Se.init(t,e)});function w0(t){return vg(x0,t)}const Ct=z("ZodError",(t,e)=>{Dc.init(t,e),t.name="ZodError",Object.defineProperties(t,{format:{value:n=>Yp(t,n)},flatten:{value:n=>qp(t,n)},addIssue:{value:n=>{t.issues.push(n),t.message=JSON.stringify(t.issues,vo,2)}},addIssues:{value:n=>{t.issues.push(...n),t.message=JSON.stringify(t.issues,vo,2)}},isEmpty:{get(){return t.issues.length===0}}})},{Parent:Error}),S0=wo(Ct),k0=So(Ct),T0=cs(Ct),z0=us(Ct),C0=Qp(Ct),O0=e_(Ct),E0=t_(Ct),P0=n_(Ct),$0=r_(Ct),A0=i_(Ct),I0=s_(Ct),D0=o_(Ct),ye=z("ZodType",(t,e)=>(ge.init(t,e),Object.assign(t["~standard"],{jsonSchema:{input:_s(t,"input"),output:_s(t,"output")}}),t.toJSONSchema=Ug(t,{}),t.def=e,t.type=e.type,Object.defineProperty(t,"_def",{value:e}),t.check=(...n)=>t.clone(qn(e,{checks:[...e.checks??[],...n.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]})),t.clone=(n,r)=>On(t,n,r),t.brand=()=>t,t.register=(n,r)=>(n.add(t,r),t),t.parse=(n,r)=>S0(t,n,r,{callee:t.parse}),t.safeParse=(n,r)=>T0(t,n,r),t.parseAsync=async(n,r)=>k0(t,n,r,{callee:t.parseAsync}),t.safeParseAsync=async(n,r)=>z0(t,n,r),t.spa=t.safeParseAsync,t.encode=(n,r)=>C0(t,n,r),t.decode=(n,r)=>O0(t,n,r),t.encodeAsync=async(n,r)=>E0(t,n,r),t.decodeAsync=async(n,r)=>P0(t,n,r),t.safeEncode=(n,r)=>$0(t,n,r),t.safeDecode=(n,r)=>A0(t,n,r),t.safeEncodeAsync=async(n,r)=>I0(t,n,r),t.safeDecodeAsync=async(n,r)=>D0(t,n,r),t.refine=(n,r)=>t.check(Pv(n,r)),t.superRefine=n=>t.check($v(n)),t.overwrite=n=>t.check(kr(n)),t.optional=()=>wu(t),t.nullable=()=>Su(t),t.nullish=()=>wu(Su(t)),t.nonoptional=n=>Sv(t,n),t.array=()=>Oo(t),t.or=n=>Eo([t,n]),t.and=n=>hv(t,n),t.transform=n=>Ao(t,bu(n)),t.default=n=>bv(t,n),t.prefault=n=>wv(t,n),t.catch=n=>Tv(t,n),t.pipe=n=>Ao(t,n),t.readonly=()=>Ov(t),t.describe=n=>{const r=t.clone();return li.add(r,{description:n}),r},Object.defineProperty(t,"description",{get(){var n;return(n=li.get(t))==null?void 0:n.description},configurable:!0}),t.meta=(...n)=>{if(n.length===0)return li.get(t);const r=t.clone();return li.add(r,n[0]),r},t.isOptional=()=>t.safeParse(void 0).success,t.isNullable=()=>t.safeParse(null).success,t)),du=z("_ZodString",(t,e)=>{ko.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(r,i,s)=>Vg(t,r,i);const n=t._zod.bag;t.format=n.format??null,t.minLength=n.minimum??null,t.maxLength=n.maximum??null,t.regex=(...r)=>t.check(Cg(...r)),t.includes=(...r)=>t.check(Pg(...r)),t.startsWith=(...r)=>t.check($g(...r)),t.endsWith=(...r)=>t.check(Ag(...r)),t.min=(...r)=>t.check(ps(...r)),t.max=(...r)=>t.check(au(...r)),t.length=(...r)=>t.check(lu(...r)),t.nonempty=(...r)=>t.check(ps(1,...r)),t.lowercase=r=>t.check(Og(r)),t.uppercase=r=>t.check(Eg(r)),t.trim=()=>t.check(Dg()),t.normalize=(...r)=>t.check(Ig(...r)),t.toLowerCase=()=>t.check(Mg()),t.toUpperCase=()=>t.check(Ng()),t.slugify=()=>t.check(Rg())}),M0=z("ZodString",(t,e)=>{ko.init(t,e),du.init(t,e),t.email=n=>t.check(Km(N0,n)),t.url=n=>t.check(Qm(R0,n)),t.jwt=n=>t.check(pg(X0,n)),t.emoji=n=>t.check(eg(F0,n)),t.guid=n=>t.check(ru(hu,n)),t.uuid=n=>t.check(qm(ms,n)),t.uuidv4=n=>t.check(Ym(ms,n)),t.uuidv6=n=>t.check(Gm(ms,n)),t.uuidv7=n=>t.check(Xm(ms,n)),t.nanoid=n=>t.check(tg(Z0,n)),t.guid=n=>t.check(ru(hu,n)),t.cuid=n=>t.check(ng(L0,n)),t.cuid2=n=>t.check(rg(j0,n)),t.ulid=n=>t.check(ig(U0,n)),t.base64=n=>t.check(fg(q0,n)),t.base64url=n=>t.check(dg(Y0,n)),t.xid=n=>t.check(sg(B0,n)),t.ksuid=n=>t.check(og(V0,n)),t.ipv4=n=>t.check(ag(H0,n)),t.ipv6=n=>t.check(lg(W0,n)),t.cidrv4=n=>t.check(cg(J0,n)),t.cidrv6=n=>t.check(ug(K0,n)),t.e164=n=>t.check(hg(G0,n)),t.datetime=n=>t.check(m0(n)),t.date=n=>t.check(v0(n)),t.time=n=>t.check(b0(n)),t.duration=n=>t.check(w0(n))});function Yn(t){return Jm(M0,t)}const Se=z("ZodStringFormat",(t,e)=>{be.init(t,e),du.init(t,e)}),N0=z("ZodEmail",(t,e)=>{G_.init(t,e),Se.init(t,e)}),hu=z("ZodGUID",(t,e)=>{q_.init(t,e),Se.init(t,e)}),ms=z("ZodUUID",(t,e)=>{Y_.init(t,e),Se.init(t,e)}),R0=z("ZodURL",(t,e)=>{X_.init(t,e),Se.init(t,e)}),F0=z("ZodEmoji",(t,e)=>{Q_.init(t,e),Se.init(t,e)}),Z0=z("ZodNanoID",(t,e)=>{em.init(t,e),Se.init(t,e)}),L0=z("ZodCUID",(t,e)=>{tm.init(t,e),Se.init(t,e)}),j0=z("ZodCUID2",(t,e)=>{nm.init(t,e),Se.init(t,e)}),U0=z("ZodULID",(t,e)=>{rm.init(t,e),Se.init(t,e)}),B0=z("ZodXID",(t,e)=>{im.init(t,e),Se.init(t,e)}),V0=z("ZodKSUID",(t,e)=>{sm.init(t,e),Se.init(t,e)}),H0=z("ZodIPv4",(t,e)=>{um.init(t,e),Se.init(t,e)}),W0=z("ZodIPv6",(t,e)=>{fm.init(t,e),Se.init(t,e)}),J0=z("ZodCIDRv4",(t,e)=>{dm.init(t,e),Se.init(t,e)}),K0=z("ZodCIDRv6",(t,e)=>{hm.init(t,e),Se.init(t,e)}),q0=z("ZodBase64",(t,e)=>{pm.init(t,e),Se.init(t,e)}),Y0=z("ZodBase64URL",(t,e)=>{mm.init(t,e),Se.init(t,e)}),G0=z("ZodE164",(t,e)=>{gm.init(t,e),Se.init(t,e)}),X0=z("ZodJWT",(t,e)=>{ym.init(t,e),Se.init(t,e)}),pu=z("ZodNumber",(t,e)=>{Vc.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(r,i,s)=>Hg(t,r,i),t.gt=(r,i)=>t.check(su(r,i)),t.gte=(r,i)=>t.check(Co(r,i)),t.min=(r,i)=>t.check(Co(r,i)),t.lt=(r,i)=>t.check(iu(r,i)),t.lte=(r,i)=>t.check(zo(r,i)),t.max=(r,i)=>t.check(zo(r,i)),t.int=r=>t.check(_u(r)),t.safe=r=>t.check(_u(r)),t.positive=r=>t.check(su(0,r)),t.nonnegative=r=>t.check(Co(0,r)),t.negative=r=>t.check(iu(0,r)),t.nonpositive=r=>t.check(zo(0,r)),t.multipleOf=(r,i)=>t.check(ou(r,i)),t.step=(r,i)=>t.check(ou(r,i)),t.finite=()=>t;const n=t._zod.bag;t.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,t.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,t.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),t.isFinite=!0,t.format=n.format??null});function Q0(t){return yg(pu,t)}const ev=z("ZodNumberFormat",(t,e)=>{bm.init(t,e),pu.init(t,e)});function _u(t){return bg(ev,t)}const tv=z("ZodBoolean",(t,e)=>{xm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Wg(t,n,r)});function ci(t){return xg(tv,t)}const nv=z("ZodUndefined",(t,e)=>{wm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Kg(t,n)});function mu(t){return wg(nv,t)}const rv=z("ZodNull",(t,e)=>{Sm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Jg(t,n,r)});function gu(t){return Sg(rv,t)}const iv=z("ZodAny",(t,e)=>{km.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Yg()});function sv(){return kg(iv)}const ov=z("ZodUnknown",(t,e)=>{Tm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Gg()});function vu(){return Tg(ov)}const av=z("ZodNever",(t,e)=>{zm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>qg(t,n,r)});function lv(t){return zg(av,t)}const cv=z("ZodArray",(t,e)=>{Cm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>n0(t,n,r,i),t.element=e.element,t.min=(n,r)=>t.check(ps(n,r)),t.nonempty=n=>t.check(ps(1,n)),t.max=(n,r)=>t.check(au(n,r)),t.length=(n,r)=>t.check(lu(n,r)),t.unwrap=()=>t.element});function Oo(t,e){return Fg(cv,t,e)}const uv=z("ZodObject",(t,e)=>{Em.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>r0(t,n,r,i),fe(t,"shape",()=>e.shape),t.keyof=()=>ht(Object.keys(t._zod.def.shape)),t.catchall=n=>t.clone({...t._zod.def,catchall:n}),t.passthrough=()=>t.clone({...t._zod.def,catchall:vu()}),t.loose=()=>t.clone({...t._zod.def,catchall:vu()}),t.strict=()=>t.clone({...t._zod.def,catchall:lv()}),t.strip=()=>t.clone({...t._zod.def,catchall:void 0}),t.extend=n=>Vp(t,n),t.safeExtend=n=>Hp(t,n),t.merge=n=>Wp(t,n),t.pick=n=>Up(t,n),t.omit=n=>Bp(t,n),t.partial=(...n)=>Jp(xu,t,n[0]),t.required=(...n)=>Kp(ku,t,n[0])});function Be(t,e){const n={type:"object",shape:t??{},...U(e)};return new uv(n)}const yu=z("ZodUnion",(t,e)=>{qc.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>i0(t,n,r,i),t.options=e.options});function Eo(t,e){return new yu({type:"union",options:t,...U(e)})}const fv=z("ZodDiscriminatedUnion",(t,e)=>{yu.init(t,e),Pm.init(t,e)});function Po(t,e,n){return new fv({type:"union",options:e,discriminator:t,...U(n)})}const dv=z("ZodIntersection",(t,e)=>{$m.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>s0(t,n,r,i)});function hv(t,e){return new dv({type:"intersection",left:t,right:e})}const pv=z("ZodRecord",(t,e)=>{Am.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>o0(t,n,r,i),t.keyType=e.keyType,t.valueType=e.valueType});function _v(t,e,n){return new pv({type:"record",keyType:t,valueType:e,...U(n)})}const $o=z("ZodEnum",(t,e)=>{Im.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(r,i,s)=>Xg(t,r,i),t.enum=e.entries,t.options=Object.values(e.entries);const n=new Set(Object.keys(e.entries));t.extract=(r,i)=>{const s={};for(const o of r)if(n.has(o))s[o]=e.entries[o];else throw new Error(`Key ${o} not found in enum`);return new $o({...e,checks:[],...U(i),entries:s})},t.exclude=(r,i)=>{const s={...e.entries};for(const o of r)if(n.has(o))delete s[o];else throw new Error(`Key ${o} not found in enum`);return new $o({...e,checks:[],...U(i),entries:s})}});function ht(t,e){const n=Array.isArray(t)?Object.fromEntries(t.map(r=>[r,r])):t;return new $o({type:"enum",entries:n,...U(e)})}const mv=z("ZodLiteral",(t,e)=>{Dm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>Qg(t,n,r),t.values=new Set(e.values),Object.defineProperty(t,"value",{get(){if(e.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return e.values[0]}})});function Ve(t,e){return new mv({type:"literal",values:Array.isArray(t)?t:[t],...U(e)})}const gv=z("ZodTransform",(t,e)=>{Mm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>t0(t,n),t._zod.parse=(n,r)=>{if(r.direction==="backward")throw new zc(t.constructor.name);n.addIssue=s=>{if(typeof s=="string")n.issues.push(ai(s,n.value,e));else{const o=s;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=n.value),o.inst??(o.inst=t),n.issues.push(ai(o))}};const i=e.transform(n.value,n);return i instanceof Promise?i.then(s=>(n.value=s,n)):(n.value=i,n)}});function bu(t){return new gv({type:"transform",transform:t})}const xu=z("ZodOptional",(t,e)=>{Nm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>p0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function wu(t){return new xu({type:"optional",innerType:t})}const vv=z("ZodNullable",(t,e)=>{Rm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>a0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function Su(t){return new vv({type:"nullable",innerType:t})}const yv=z("ZodDefault",(t,e)=>{Fm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>c0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType,t.removeDefault=t.unwrap});function bv(t,e){return new yv({type:"default",innerType:t,get defaultValue(){return typeof e=="function"?e():Ac(e)}})}const xv=z("ZodPrefault",(t,e)=>{Zm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>u0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function wv(t,e){return new xv({type:"prefault",innerType:t,get defaultValue(){return typeof e=="function"?e():Ac(e)}})}const ku=z("ZodNonOptional",(t,e)=>{Lm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>l0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function Sv(t,e){return new ku({type:"nonoptional",innerType:t,...U(e)})}const kv=z("ZodCatch",(t,e)=>{jm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>f0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType,t.removeCatch=t.unwrap});function Tv(t,e){return new kv({type:"catch",innerType:t,catchValue:typeof e=="function"?e:()=>e})}const zv=z("ZodPipe",(t,e)=>{Um.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>d0(t,n,r,i),t.in=e.in,t.out=e.out});function Ao(t,e){return new zv({type:"pipe",in:t,out:e})}const Cv=z("ZodReadonly",(t,e)=>{Bm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>h0(t,n,r,i),t.unwrap=()=>t._zod.def.innerType});function Ov(t){return new Cv({type:"readonly",innerType:t})}const Ev=z("ZodCustom",(t,e)=>{Vm.init(t,e),ye.init(t,e),t._zod.processJSONSchema=(n,r,i)=>e0(t,n)});function Pv(t,e={}){return Zg(Ev,t,e)}function $v(t){return Lg(t)}function Av(t,e){return Ao(bu(t),e)}const gs=t=>{if(!t||typeof t!="object")return t;if(Array.isArray(t))return t.map(r=>gs(r));const e={t:"title",s:"subtitle",d:"description",desc:"description",bg:"background",img:"image",fs:"features",tl:"timeline",st:"steps"},n={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){const i=e[r]||r,s=t[r];n[i]=gs(s)}return n},Jt=t=>Eo([t,Oo(t),gu(),mu()]).transform(e=>e==null?[]:Array.isArray(e)?e:[e]),le=Eo([Yn(),Q0(),gu(),mu()]).transform(t=>t==null?"":String(t)),Io=Yn().describe("Icon name (e.g. 'star', 'users', 'arrow-right'). Use standard Lucide/FontAwesome names."),Tr=Be({id:Yn().optional().describe("Unique ID for the slide. Useful for navigation."),sizing:ht(["viewport","container"]).optional().describe("How the slide fits the screen. Default: 'viewport'."),meta:_v(Yn(),sv()).optional().describe("Arbitrary metadata for custom behavior.")}),Iv=Tr.extend({type:Ve("statement").describe("Use for high-impact titles, covers, or quotes."),title:le.describe("Main headline. Keep it punchy (3-6 words)."),subtitle:le.optional().describe("Supporting text or attribution."),tag:le.optional().describe("Small eyebrow tag above the title.")}),Dv=Be({title:le.describe("Feature name."),description:le.describe("Short benefit description."),icon:Io.optional().describe("Visual icon for the feature.")}),Mv=Tr.extend({type:Ve("features").describe("Use for lists of benefits, stats, or grid items."),title:le.describe("Section header."),description:le.optional().describe("Contextual description."),features:Jt(Dv).describe("Array of feature cards.")}),Tu=Be({date:le.describe("Time marker (Year, Date, or 'Now')."),title:le.describe("Event title."),description:le.describe("Event details (1-2 sentences)."),icon:Io.optional().describe("Optional marker icon.")}),Nv=Tr.extend({type:Ve("timeline").describe("Use for history, roadmaps, or chronological steps."),title:le.describe("Timeline header."),subtitle:le.optional(),timeline:Jt(Tu).describe("Ordered events.")}),zu=Be({step:le.describe("Step number/label (e.g., '01', 'A')."),title:le.describe("Action title."),description:le.optional().describe("Action details."),icon:Io.optional()}),Rv=Tr.extend({type:Ve("steps").describe("Use for tutorials, 'how-to' guides, or process flows."),title:le.describe("Process header."),subtitle:le.optional(),steps:Jt(zu).describe("Sequential steps.")}),Fv=Tr.extend({type:Ve("half").describe("Use when you have a strong visual + explanations."),imageSide:ht(["left","right"]).default("left").describe("Which side the image goes on."),image:le.describe("URL to the image."),title:le.describe("Headline."),tag:le.optional(),paragraphs:Jt(Yn()).describe("Array of text blocks/paragraphs."),cta:le.optional().describe("Call to Action label (button).")}),ui=ht(["none","xs","sm","md","lg","xl","2xl"]).describe("Spacing size token."),dn=ht(["auto","quarter","third","half","two-thirds","three-quarters","full"]).describe("Element size in container."),Zv=ht(["top","center","bottom"]).describe("Vertical alignment."),Lv=ht(["left","center","right"]).describe("Horizontal alignment."),Cu=ht(["left","center","right"]).describe("Text alignment."),Ou=Be({type:Ve("title").describe("Large heading text."),text:le.describe("The heading text."),size:ht(["lg","xl","2xl","3xl"]).optional().describe("Heading size. Default: 'xl'."),align:Cu.optional().describe("Text alignment. Default: 'left'.")}),Eu=Be({type:Ve("text").describe("Body paragraph text."),text:le.describe("The paragraph text."),align:Cu.optional().describe("Text alignment. Default: 'left'."),muted:ci().optional().describe("Muted/subtle appearance. Default: false.")}),Pu=Be({type:Ve("bullets").describe("Unordered bullet list."),items:Jt(Yn()).describe("List items.")}),$u=Be({type:Ve("ordered").describe("Numbered list."),items:Jt(Yn()).describe("List items.")}),jv=Be({type:Ve("image").describe("Visual media element."),src:le.describe("Image URL."),alt:le.optional().describe("Alt text for accessibility."),fill:ci().optional().describe("Fill container edge-to-edge. Default: true."),fit:ht(["cover","contain"]).optional().describe("Object-fit when fill. Default: 'cover'."),rounded:ht(["none","sm","md","lg","xl","full"]).optional().describe("Border radius.")}),Au=Be({type:Ve("button").describe("Call-to-action button."),label:le.describe("Button label text."),action:le.optional().describe("Action identifier emitted on click."),variant:ht(["primary","secondary","outline","ghost"]).optional().describe("Visual variant. Default: 'primary'."),fullWidth:ci().optional().describe("Full width button. Default: false.")}),Iu=Be({type:Ve("timeline").describe("Embedded timeline with events."),items:Jt(Tu).describe("Timeline events."),compact:ci().optional().describe("Compact display mode. Default: false.")}),Du=Be({type:Ve("stepper").describe("Embedded step-by-step process."),items:Jt(zu).describe("Step items."),compact:ci().optional().describe("Compact display mode. Default: false.")}),Uv=Be({type:Ve("spacer").describe("Adds visual spacing."),size:ui.optional().describe("Size of the space. Default: 'md'.")}),Bv=Po("type",[Ou,Eu,Pu,$u,Au,Iu,Du,Uv]),Vv=Be({type:Ve("content").describe("Groups child elements vertically with alignment control."),elements:Jt(Bv).describe("Child elements."),valign:Zv.optional().describe("Vertical alignment. Default: 'center'."),halign:Lv.optional().describe("Horizontal alignment. Default: 'left'."),gap:ui.optional().describe("Gap between children. Default: 'md'."),padding:ui.optional().describe("Internal padding. Default: 'lg'."),size:dn.optional().describe("Size in parent flex container.")}),Hv=Po("type",[jv.extend({size:dn.optional()}),Vv,Ou.extend({size:dn.optional()}),Eu.extend({size:dn.optional()}),Pu.extend({size:dn.optional()}),$u.extend({size:dn.optional()}),Au.extend({size:dn.optional()}),Iu.extend({size:dn.optional()}),Du.extend({size:dn.optional()})]),Wv=Tr.extend({type:Ve("flex").describe("Flow-based layout. Elements flow in order with semantic sizing."),direction:ht(["horizontal","vertical"]).optional().describe("Main flow direction. Default: 'horizontal'."),gap:ui.optional().describe("Gap between elements. Default: 'none'."),padding:ui.optional().describe("Container padding. Default: 'none'."),elements:Jt(Hv).describe("Flex elements in flow order.")}),Jv=Po("type",[Iv,Mv,Nv,Rv,Fv,Wv]),Kv=Be({title:le.describe("Title of the entire presentation."),author:le.optional(),date:le.optional()}).passthrough();Be({meta:Kv.describe("Global deck settings."),slides:Oo(Av(gs,Jv)).describe("Ordered array of slide definitions.")});const fi=Symbol("LuminaStore"),qv={loop:!1,navigation:!0,keyboard:!0,touch:!0,debug:!1,theme:"default",ui:{visible:!0,showProgressBar:!0,showSlideCount:!0,showControls:!0},keys:{next:["ArrowRight"," ","Enter"],prev:["ArrowLeft","Backspace"]},animation:{enabled:!0,type:"cascade",durationIn:1,durationOut:.5,stagger:.1,ease:"power3.out"}};function zr(t){if(typeof t=="string")return Mp(t);if(Array.isArray(t))return t.map(zr);if(t&&typeof t=="object"){const e={};for(const n in t)e[n]=zr(t[n]);return e}return t}function Mu(t,e){if(typeof t!="object"||t===null||typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(zr);const n={...t};for(const r in e)e[r]===Object(e[r])?r in t?n[r]=Mu(t[r],e[r]):Object.assign(n,{[r]:zr(e[r])}):Object.assign(n,{[r]:zr(e[r])});return n}function Yv(t={}){const e=Li({deck:null,currentIndex:0,options:{...qv,...t},isReady:!1,actionHistory:[]}),n=()=>!e.deck||e.deck.slides.length===0?null:e.deck.slides[e.currentIndex]||null,r=()=>e.deck?e.options.loop?!0:e.currentIndex<e.deck.slides.length-1:!1,i=()=>e.deck?e.options.loop?!0:e.currentIndex>0:!1,s=()=>!e.deck||e.deck.slides.length<=1?0:e.currentIndex/(e.deck.slides.length-1);function o(d){e.options={...e.options,...d},d.theme&&(d.theme,e.options.theme=d.theme),d.ui&&(e.options.ui={...e.options.ui,...d.ui}),d.keys&&(e.options.keys={...e.options.keys,...d.keys}),d.animation&&(e.options.animation={...e.options.animation,...d.animation})}function a(d){if(!d||!Array.isArray(d.slides)){console.error("[LuminaStore] Invalid deck format");return}const m=gs(d);e.deck=zr(m),e.currentIndex=0,e.isReady=!0,e.actionHistory=[]}function l(d){e.deck&&(e.deck=Mu(e.deck,d))}function c(d){e.actionHistory.push(d),e.actionHistory.length>50&&e.actionHistory.shift()}function u(){var p;if(!r())return;const d=((p=e.deck)==null?void 0:p.slides.length)||0;let m=e.currentIndex;e.options.loop?m=(e.currentIndex+1)%d:m++,m!==e.currentIndex&&(e.currentIndex=m)}function f(){var p;if(!i())return;const d=((p=e.deck)==null?void 0:p.slides.length)||0;let m=e.currentIndex;e.options.loop?m=(e.currentIndex-1+d)%d:m--,m!==e.currentIndex&&(e.currentIndex=m)}function h(d){e.deck&&d>=0&&d<e.deck.slides.length&&e.currentIndex!==d&&(e.currentIndex=d)}return{state:ji(e),currentSlide:n,hasNext:r,hasPrev:i,progress:s,setOptions:o,loadDeck:a,patchDeck:l,recordAction:c,next:u,prev:f,goto:h}}function Gv(){const t=Sn(fi);if(!t)throw new Error("Lumina: Component must be used within a Lumina instance.");return{slide:Ee(()=>t.currentSlide()),index:Ee(()=>t.state.currentIndex),total:Ee(()=>{var e;return((e=t.state.deck)==null?void 0:e.slides.length)||0}),next:t.next,prev:t.prev,goto:t.goto,options:t.state.options}}function Xv(){const t=Sn(fi);if(!t)return;let e=0;const n=300,r=i=>{var c,u;const{options:s}=t.state;if(!s.keyboard||!s.navigation)return;const o=Date.now();if(o-e<n)return;const a=((c=s.keys)==null?void 0:c.next)||[],l=((u=s.keys)==null?void 0:u.prev)||[];a.includes(i.key)?(t.next(),e=o):l.includes(i.key)&&(t.prev(),e=o)};_r(()=>{window.addEventListener("keydown",r)}),mr(()=>{window.removeEventListener("keydown",r)})}class Qv{constructor(){et(this,"handlers",new Map)}on(e,n){this.handlers.has(e)||this.handlers.set(e,new Set),this.handlers.get(e).add(n)}off(e,n){const r=this.handlers.get(e);r&&r.delete(n)}emit(e,n){const r=this.handlers.get(e);r&&r.forEach(i=>{try{i(n)}catch(s){console.error(`[LuminaBus] Error in handler for event "${e}":`,s)}})}clear(){this.handlers.clear()}}const hn=new Qv;function pn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nu(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*!
|
|
42
42
|
* GSAP 3.14.2
|
|
43
43
|
* https://gsap.com
|
|
44
44
|
*
|
|
45
45
|
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
|
46
46
|
* Subject to the terms at https://gsap.com/standard-license
|
|
47
47
|
* @author: Jack Doyle, jack@greensock.com
|
|
48
|
-
*/var pt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},kr={duration:.5,overwrite:!1,delay:0},Io,Fe,xe,Ot=1e8,fe=1/Ot,Do=Math.PI*2,Qv=Do/4,ey=0,Du=Math.sqrt,ty=Math.cos,ny=Math.sin,De=function(e){return typeof e=="string"},Ce=function(e){return typeof e=="function"},hn=function(e){return typeof e=="number"},Mo=function(e){return typeof e>"u"},Jt=function(e){return typeof e=="object"},it=function(e){return e!==!1},No=function(){return typeof window<"u"},ms=function(e){return Ce(e)||De(e)},Mu=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},He=Array.isArray,ry=/random\([^)]+\)/g,iy=/,\s*/g,Nu=/(?:-?\.?\d|\.)+/gi,Ru=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Tr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ro=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Fu=/[+-]=-?[.\d]+/,sy=/[^,'"\[\]\s]+/gi,oy=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ke,Kt,Fo,Zo,_t={},gs={},Zu,Lu=function(e){return(gs=Cr(e,_t))&&at},Lo=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},ci=function(e,n){return!n&&console.warn(e)},ju=function(e,n){return e&&(_t[e]=n)&&gs&&(gs[e]=n)||_t},ui=function(){return 0},ay={suppressEvents:!0,isStart:!0,kill:!1},vs={suppressEvents:!0,kill:!1},ly={suppressEvents:!0},jo={},En=[],Uo={},Uu,mt={},Vo={},Vu=30,ys=[],Bo="",Ho=function(e){var n=e[0],r,i;if(Jt(n)||Ce(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(i=ys.length;i--&&!ys[i].targetTest(n););r=ys[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new yf(e[i],r)))||e.splice(i,1);return e},Yn=function(e){return e._gsap||Ho(Pt(e))[0]._gsap},Bu=function(e,n,r){return(r=e[n])&&Ce(r)?e[n]():Mo(r)&&e.getAttribute&&e.getAttribute(n)||r},st=function(e,n){return(e=e.split(",")).forEach(n)||e},Ee=function(e){return Math.round(e*1e5)/1e5||0},Te=function(e){return Math.round(e*1e7)/1e7||0},zr=function(e,n){var r=n.charAt(0),i=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},cy=function(e,n){for(var r=n.length,i=0;e.indexOf(n[i])<0&&++i<r;);return i<r},bs=function(){var e=En.length,n=En.slice(0),r,i;for(Uo={},En.length=0,r=0;r<e;r++)i=n[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Wo=function(e){return!!(e._initted||e._startAt||e.add)},Hu=function(e,n,r,i){En.length&&!Fe&&bs(),e.render(n,r,!!(Fe&&n<0&&Wo(e))),En.length&&!Fe&&bs()},Wu=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(sy).length<2?n:De(e)?e.trim():e},Ju=function(e){return e},gt=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},uy=function(e){return function(n,r){for(var i in r)i in n||i==="duration"&&e||i==="ease"||(n[i]=r[i])}},Cr=function(e,n){for(var r in n)e[r]=n[r];return e},Ku=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Jt(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},xs=function(e,n){var r={},i;for(i in e)i in n||(r[i]=e[i]);return r},fi=function(e){var n=e.parent||ke,r=e.keyframes?uy(He(e.keyframes)):gt;if(it(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},fy=function(e,n){for(var r=e.length,i=r===n.length;i&&r--&&e[r]===n[r];);return r<0},qu=function(e,n,r,i,s){var o=e[i],a;if(s)for(a=n[s];o&&o[s]>a;)o=o._prev;return o?(n._next=o._next,o._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[i]=n,n._prev=o,n.parent=n._dp=e,n},ws=function(e,n,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var s=n._prev,o=n._next;s?s._next=o:e[r]===n&&(e[r]=o),o?o._prev=s:e[i]===n&&(e[i]=s),n._next=n._prev=n.parent=null},Pn=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Gn=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},dy=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},Jo=function(e,n,r,i){return e._startAt&&(Fe?e._startAt.revert(vs):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,i))},hy=function t(e){return!e||e._ts&&t(e.parent)},Yu=function(e){return e._repeat?Or(e._tTime,e=e.duration()+e._rDelay)*e:0},Or=function(e,n){var r=Math.floor(e=Te(e/n));return e&&r===e?r-1:r},Ss=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},ks=function(e){return e._end=Te(e._start+(e._tDur/Math.abs(e._ts||e._rts||fe)||0))},Ts=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Te(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),ks(e),r._dirty||Gn(r,e)),e},Gu=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Ss(e.rawTime(),n),(!n._dur||hi(0,n.totalDuration(),r)-n._tTime>fe)&&n.render(r,!0)),Gn(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-fe}},qt=function(e,n,r,i){return n.parent&&Pn(n),n._start=Te((hn(r)?r:r||e!==ke?Et(e,r,n):e._time)+n._delay),n._end=Te(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),qu(e,n,"_first","_last",e._sort?"_start":0),Ko(n)||(e._recent=n),i||Gu(e,n),e._ts<0&&Ts(e,e._tTime),e},Xu=function(e,n){return(_t.ScrollTrigger||Lo("scrollTrigger",n))&&_t.ScrollTrigger.create(n,e)},Qu=function(e,n,r,i,s){if(ra(e,n,s),!e._initted)return 1;if(!r&&e._pt&&!Fe&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Uu!==yt.frame)return En.push(e),e._lazy=[s,i],1},py=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},Ko=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},_y=function(e,n,r,i){var s=e.ratio,o=n<0||!n&&(!e._start&&py(e)&&!(!e._initted&&Ko(e))||(e._ts<0||e._dp._ts<0)&&!Ko(e))?0:1,a=e._rDelay,l=0,u,c,f;if(a&&e._repeat&&(l=hi(0,e._tDur,n),c=Or(l,a),e._yoyo&&c&1&&(o=1-o),c!==Or(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||Fe||i||e._zTime===fe||!n&&e._zTime){if(!e._initted&&Qu(e,n,i,r,l))return;for(f=e._zTime,e._zTime=n||(r?fe:0),r||(r=n&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,u=e._pt;u;)u.r(o,u.d),u=u._next;n<0&&Jo(e,n,r,!0),e._onUpdate&&!r&&vt(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&vt(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===o&&(o&&Pn(e,1),!r&&!Fe&&(vt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},my=function(e,n,r){var i;if(r>n)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>n)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<n)return i;i=i._prev}},Er=function(e,n,r,i){var s=e._repeat,o=Te(n)||0,a=e._tTime/e._tDur;return a&&!i&&(e._time*=o/e._dur),e._dur=o,e._tDur=s?s<0?1e10:Te(o*(s+1)+e._rDelay*s):o,a>0&&!i&&Ts(e,e._tTime=e._tDur*a),e.parent&&ks(e),r||Gn(e.parent,e),e},ef=function(e){return e instanceof Qe?Gn(e):Er(e,e._dur)},gy={_start:0,endTime:ui,totalDuration:ui},Et=function t(e,n,r){var i=e.labels,s=e._recent||gy,o=e.duration()>=Ot?s.endTime(!1):e._dur,a,l,u;return De(n)&&(isNaN(n)||n in i)?(l=n.charAt(0),u=n.substr(-1)==="%",a=n.indexOf("="),l==="<"||l===">"?(a>=0&&(n=n.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(n.substr(1))||0)*(u?(a<0?s:r).totalDuration()/100:1)):a<0?(n in i||(i[n]=o),i[n]):(l=parseFloat(n.charAt(a-1)+n.substr(a+1)),u&&r&&(l=l/100*(He(r)?r[0]:r).totalDuration()),a>1?t(e,n.substr(0,a-1),r)+l:o+l)):n==null?o:+n},di=function(e,n,r){var i=hn(n[1]),s=(i?2:1)+(e<2?0:1),o=n[s],a,l;if(i&&(o.duration=n[1]),o.parent=r,e){for(a=o,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=it(l.vars.inherit)&&l.parent;o.immediateRender=it(a.immediateRender),e<2?o.runBackwards=1:o.startAt=n[s-1]}return new Pe(n[0],o,n[s+1])},$n=function(e,n){return e||e===0?n(e):n},hi=function(e,n,r){return r<e?e:r>n?n:r},We=function(e,n){return!De(e)||!(n=oy.exec(e))?"":n[1]},vy=function(e,n,r){return $n(r,function(i){return hi(e,n,i)})},qo=[].slice,tf=function(e,n){return e&&Jt(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&Jt(e[0]))&&!e.nodeType&&e!==Kt},yy=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(i){var s;return De(i)&&!n||tf(i,1)?(s=r).push.apply(s,Pt(i)):r.push(i)})||r},Pt=function(e,n,r){return xe&&!n&&xe.selector?xe.selector(e):De(e)&&!r&&(Fo||!$r())?qo.call((n||Zo).querySelectorAll(e),0):He(e)?yy(e,r):tf(e)?qo.call(e,0):e?[e]:[]},Yo=function(e){return e=Pt(e)[0]||ci("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return Pt(n,r.querySelectorAll?r:r===e?ci("Invalid scope")||Zo.createElement("div"):e)}},nf=function(e){return e.sort(function(){return .5-Math.random()})},rf=function(e){if(Ce(e))return e;var n=Jt(e)?e:{each:e},r=Xn(n.ease),i=n.from||0,s=parseFloat(n.base)||0,o={},a=i>0&&i<1,l=isNaN(i)||a,u=n.axis,c=i,f=i;return De(i)?c=f={center:.5,edges:.5,end:1}[i]||0:!a&&l&&(c=i[0],f=i[1]),function(h,d,m){var p=(m||n).length,y=o[p],x,S,k,b,v,E,$,M,w;if(!y){if(w=n.grid==="auto"?0:(n.grid||[1,Ot])[1],!w){for($=-Ot;$<($=m[w++].getBoundingClientRect().left)&&w<p;);w<p&&w--}for(y=o[p]=[],x=l?Math.min(w,p)*c-.5:i%w,S=w===Ot?0:l?p*f/w-.5:i/w|0,$=0,M=Ot,E=0;E<p;E++)k=E%w-x,b=S-(E/w|0),y[E]=v=u?Math.abs(u==="y"?b:k):Du(k*k+b*b),v>$&&($=v),v<M&&(M=v);i==="random"&&nf(y),y.max=$-M,y.min=M,y.v=p=(parseFloat(n.amount)||parseFloat(n.each)*(w>p?p-1:u?u==="y"?p/w:w:Math.max(w,p/w))||0)*(i==="edges"?-1:1),y.b=p<0?s-p:s,y.u=We(n.amount||n.each)||0,r=r&&p<0?mf(r):r}return p=(y[h]-y.min)/y.max||0,Te(y.b+(r?r(p):p)*y.v)+y.u}},Go=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=Te(Math.round(parseFloat(r)/e)*e*n);return(i-i%1)/n+(hn(r)?0:We(r))}},sf=function(e,n){var r=He(e),i,s;return!r&&Jt(e)&&(i=r=e.radius||Ot,e.values?(e=Pt(e.values),(s=!hn(e[0]))&&(i*=i)):e=Go(e.increment)),$n(n,r?Ce(e)?function(o){return s=e(o),Math.abs(s-o)<=i?s:o}:function(o){for(var a=parseFloat(s?o.x:o),l=parseFloat(s?o.y:0),u=Ot,c=0,f=e.length,h,d;f--;)s?(h=e[f].x-a,d=e[f].y-l,h=h*h+d*d):h=Math.abs(e[f]-a),h<u&&(u=h,c=f);return c=!i||u<=i?e[c]:o,s||c===o||hn(o)?c:c+We(o)}:Go(e))},of=function(e,n,r,i){return $n(He(e)?!n:r===!0?!!(r=0):!i,function(){return He(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*i)/i})},by=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(i){return n.reduce(function(s,o){return o(s)},i)}},xy=function(e,n){return function(r){return e(parseFloat(r))+(n||We(r))}},wy=function(e,n,r){return lf(e,n,0,1,r)},af=function(e,n,r){return $n(r,function(i){return e[~~n(i)]})},Sy=function t(e,n,r){var i=n-e;return He(e)?af(e,t(0,e.length),n):$n(r,function(s){return(i+(s-e)%i)%i+e})},ky=function t(e,n,r){var i=n-e,s=i*2;return He(e)?af(e,t(0,e.length-1),n):$n(r,function(o){return o=(s+(o-e)%s)%s||0,e+(o>i?s-o:o)})},pi=function(e){return e.replace(ry,function(n){var r=n.indexOf("[")+1,i=n.substring(r||7,r?n.indexOf("]"):n.length-1).split(iy);return of(r?i:+i[0],r?0:+i[1],+i[2]||1e-5)})},lf=function(e,n,r,i,s){var o=n-e,a=i-r;return $n(s,function(l){return r+((l-e)/o*a||0)})},Ty=function t(e,n,r,i){var s=isNaN(e+n)?0:function(d){return(1-d)*e+d*n};if(!s){var o=De(e),a={},l,u,c,f,h;if(r===!0&&(i=1)&&(r=null),o)e={p:e},n={p:n};else if(He(e)&&!He(n)){for(c=[],f=e.length,h=f-2,u=1;u<f;u++)c.push(t(e[u-1],e[u]));f--,s=function(m){m*=f;var p=Math.min(h,~~m);return c[p](m-p)},r=n}else i||(e=Cr(He(e)?[]:{},e));if(!c){for(l in n)ta.call(a,e,l,"get",n[l]);s=function(m){return oa(m,a)||(o?e.p:e)}}}return $n(r,s)},cf=function(e,n,r){var i=e.labels,s=Ot,o,a,l;for(o in i)a=i[o]-n,a<0==!!r&&a&&s>(a=Math.abs(a))&&(l=o,s=a);return l},vt=function(e,n,r){var i=e.vars,s=i[n],o=xe,a=e._ctx,l,u,c;if(s)return l=i[n+"Params"],u=i.callbackScope||e,r&&En.length&&bs(),a&&(xe=a),c=l?s.apply(u,l):s.call(u),xe=o,c},_i=function(e){return Pn(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Fe),e.progress()<1&&vt(e,"onInterrupt"),e},Pr,uf=[],ff=function(e){if(e)if(e=!e.name&&e.default||e,No()||e.headless){var n=e.name,r=Ce(e),i=n&&!r&&e.init?function(){this._props=[]}:e,s={init:ui,render:oa,add:ta,kill:jy,modifier:Ly,rawVars:0},o={targetTest:0,get:0,getSetter:sa,aliases:{},register:0};if($r(),e!==i){if(mt[n])return;gt(i,gt(xs(e,s),o)),Cr(i.prototype,Cr(s,xs(e,o))),mt[i.prop=n]=i,e.targetTest&&(ys.push(i),jo[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}ju(n,i),e.register&&e.register(at,i,ot)}else uf.push(e)},de=255,mi={aqua:[0,de,de],lime:[0,de,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,de],navy:[0,0,128],white:[de,de,de],olive:[128,128,0],yellow:[de,de,0],orange:[de,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[de,0,0],pink:[de,192,203],cyan:[0,de,de],transparent:[de,de,de,0]},Xo=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*de+.5|0},df=function(e,n,r){var i=e?hn(e)?[e>>16,e>>8&de,e&de]:0:mi.black,s,o,a,l,u,c,f,h,d,m;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),mi[e])i=mi[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&de,i&de,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&de,e&de]}else if(e.substr(0,3)==="hsl"){if(i=m=e.match(Nu),!n)l=+i[0]%360/360,u=+i[1]/100,c=+i[2]/100,o=c<=.5?c*(u+1):c+u-c*u,s=c*2-o,i.length>3&&(i[3]*=1),i[0]=Xo(l+1/3,s,o),i[1]=Xo(l,s,o),i[2]=Xo(l-1/3,s,o);else if(~e.indexOf("="))return i=e.match(Ru),r&&i.length<4&&(i[3]=1),i}else i=e.match(Nu)||mi.transparent;i=i.map(Number)}return n&&!m&&(s=i[0]/de,o=i[1]/de,a=i[2]/de,f=Math.max(s,o,a),h=Math.min(s,o,a),c=(f+h)/2,f===h?l=u=0:(d=f-h,u=c>.5?d/(2-f-h):d/(f+h),l=f===s?(o-a)/d+(o<a?6:0):f===o?(a-s)/d+2:(s-o)/d+4,l*=60),i[0]=~~(l+.5),i[1]=~~(u*100+.5),i[2]=~~(c*100+.5)),r&&i.length<4&&(i[3]=1),i},hf=function(e){var n=[],r=[],i=-1;return e.split(An).forEach(function(s){var o=s.match(Tr)||[];n.push.apply(n,o),r.push(i+=o.length+1)}),n.c=r,n},pf=function(e,n,r){var i="",s=(e+i).match(An),o=n?"hsla(":"rgba(",a=0,l,u,c,f;if(!s)return e;if(s=s.map(function(h){return(h=df(h,n,1))&&o+(n?h[0]+","+h[1]+"%,"+h[2]+"%,"+h[3]:h.join(","))+")"}),r&&(c=hf(e),l=r.c,l.join(i)!==c.c.join(i)))for(u=e.replace(An,"1").split(Tr),f=u.length-1;a<f;a++)i+=u[a]+(~l.indexOf(a)?s.shift()||o+"0,0,0,0)":(c.length?c:s.length?s:r).shift());if(!u)for(u=e.split(An),f=u.length-1;a<f;a++)i+=u[a]+s[a];return i+u[f]},An=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in mi)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),zy=/hsl[a]?\(/,_f=function(e){var n=e.join(" "),r;if(An.lastIndex=0,An.test(n))return r=zy.test(n),e[1]=pf(e[1],r),e[0]=pf(e[0],r,hf(e[1])),!0},gi,yt=function(){var t=Date.now,e=500,n=33,r=t(),i=r,s=1e3/240,o=s,a=[],l,u,c,f,h,d,m=function p(y){var x=t()-i,S=y===!0,k,b,v,E;if((x>e||x<0)&&(r+=x-n),i+=x,v=i-r,k=v-o,(k>0||S)&&(E=++f.frame,h=v-f.time*1e3,f.time=v=v/1e3,o+=k+(k>=s?4:s-k),b=1),S||(l=u(p)),b)for(d=0;d<a.length;d++)a[d](v,h,E,y)};return f={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(y){return h/(1e3/(y||60))},wake:function(){Zu&&(!Fo&&No()&&(Kt=Fo=window,Zo=Kt.document||{},_t.gsap=at,(Kt.gsapVersions||(Kt.gsapVersions=[])).push(at.version),Lu(gs||Kt.GreenSockGlobals||!Kt.gsap&&Kt||{}),uf.forEach(ff)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),u=c||function(y){return setTimeout(y,o-f.time*1e3+1|0)},gi=1,m(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(l),gi=0,u=ui},lagSmoothing:function(y,x){e=y||1/0,n=Math.min(x||33,e)},fps:function(y){s=1e3/(y||240),o=f.time*1e3+s},add:function(y,x,S){var k=x?function(b,v,E,$){y(b,v,E,$),f.remove(k)}:y;return f.remove(y),a[S?"unshift":"push"](k),$r(),k},remove:function(y,x){~(x=a.indexOf(y))&&a.splice(x,1)&&d>=x&&d--},_listeners:a},f}(),$r=function(){return!gi&&yt.wake()},te={},Cy=/^[\d.\-M][\d.\-,\s]/,Oy=/["']/g,Ey=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),i=r[0],s=1,o=r.length,a,l,u;s<o;s++)l=r[s],a=s!==o-1?l.lastIndexOf(","):l.length,u=l.substr(0,a),n[i]=isNaN(u)?u.replace(Oy,"").trim():+u,i=l.substr(a+1).trim();return n},Py=function(e){var n=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",n);return e.substring(n,~i&&i<r?e.indexOf(")",r+1):r)},$y=function(e){var n=(e+"").split("("),r=te[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Ey(n[1])]:Py(e).split(",").map(Wu)):te._CE&&Cy.test(e)?te._CE("",e):r},mf=function(e){return function(n){return 1-e(1-n)}},gf=function t(e,n){for(var r=e._first,i;r;)r instanceof Qe?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=n)),r=r._next},Xn=function(e,n){return e&&(Ce(e)?e:te[e]||$y(e))||n},Qn=function(e,n,r,i){r===void 0&&(r=function(l){return 1-n(1-l)}),i===void 0&&(i=function(l){return l<.5?n(l*2)/2:1-n((1-l)*2)/2});var s={easeIn:n,easeOut:r,easeInOut:i},o;return st(e,function(a){te[a]=_t[a]=s,te[o=a.toLowerCase()]=r;for(var l in s)te[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=te[a+"."+l]=s[l]}),s},vf=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},Qo=function t(e,n,r){var i=n>=1?n:1,s=(r||(e?.3:.45))/(n<1?n:1),o=s/Do*(Math.asin(1/i)||0),a=function(c){return c===1?1:i*Math.pow(2,-10*c)*ny((c-o)*s)+1},l=e==="out"?a:e==="in"?function(u){return 1-a(1-u)}:vf(a);return s=Do/s,l.config=function(u,c){return t(e,u,c)},l},ea=function t(e,n){n===void 0&&(n=1.70158);var r=function(o){return o?--o*o*((n+1)*o+n)+1:0},i=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:vf(r);return i.config=function(s){return t(e,s)},i};st("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;Qn(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})}),te.Linear.easeNone=te.none=te.Linear.easeIn,Qn("Elastic",Qo("in"),Qo("out"),Qo()),function(t,e){var n=1/e,r=2*n,i=2.5*n,s=function(a){return a<n?t*a*a:a<r?t*Math.pow(a-1.5/e,2)+.75:a<i?t*(a-=2.25/e)*a+.9375:t*Math.pow(a-2.625/e,2)+.984375};Qn("Bounce",function(o){return 1-s(1-o)},s)}(7.5625,2.75),Qn("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),Qn("Circ",function(t){return-(Du(1-t*t)-1)}),Qn("Sine",function(t){return t===1?1:-ty(t*Qv)+1}),Qn("Back",ea("in"),ea("out"),ea()),te.SteppedEase=te.steps=_t.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,i=e+(n?0:1),s=n?1:0,o=1-fe;return function(a){return((i*hi(0,o,a)|0)+s)*r}}},kr.ease=te["quad.out"],st("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Bo+=t+","+t+"Params,"});var yf=function(e,n){this.id=ey++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Bu,this.set=n?n.getSetter:sa},vi=function(){function t(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,Er(this,+n.duration,1,1),this.data=n.data,xe&&(this._ctx=xe,xe.data.push(this)),gi||yt.wake()}var e=t.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Er(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if($r(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Ts(this,r),!s._dp||s.parent||Gu(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&qt(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===fe||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Hu(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Yu(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Yu(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,i):this._repeat?Or(this._tTime,s)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-fe?0:this._rts;if(this._rts===r)return this;var s=this.parent&&this._ts?Ss(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-fe?0:this._rts,this.totalTime(hi(-Math.abs(this._delay),this.totalDuration(),s),i!==!1),ks(this),dy(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):($r(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==fe&&(this._tTime-=fe)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=Te(r);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&qt(i,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(it(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ss(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=ly);var i=Fe;return Fe=r,Wo(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Fe=i,this},e.globalTime=function(r){for(var i=this,s=arguments.length?r:i.rawTime();i;)s=i._start+s/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,ef(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,ef(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(Et(this,r),it(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,it(i)),this._dur||(this._zTime=-fe),this},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-fe:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-fe,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=i&&s<this.endTime(!0)-fe)},e.eventCallback=function(r,i,s){var o=this.vars;return arguments.length>1?(i?(o[r]=i,s&&(o[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=i)):delete o[r],this):o[r]},e.then=function(r){var i=this,s=i._prom;return new Promise(function(o){var a=Ce(r)?r:Ju,l=function(){var c=i.then;i.then=null,s&&s(),Ce(a)&&(a=a(i))&&(a.then||a===i)&&(i.then=c),o(a),i.then=c};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?l():i._prom=l})},e.kill=function(){_i(this)},t}();gt(vi.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-fe,_prom:0,_ps:!1,_rts:1});var Qe=function(t){Iu(e,t);function e(r,i){var s;return r===void 0&&(r={}),s=t.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=it(r.sortChildren),ke&&qt(r.parent||ke,dn(s),i),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&Xu(dn(s),r.scrollTrigger),s}var n=e.prototype;return n.to=function(i,s,o){return di(0,arguments,this),this},n.from=function(i,s,o){return di(1,arguments,this),this},n.fromTo=function(i,s,o,a){return di(2,arguments,this),this},n.set=function(i,s,o){return s.duration=0,s.parent=this,fi(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Pe(i,s,Et(this,o),1),this},n.call=function(i,s,o){return qt(this,Pe.delayedCall(0,i,s),o)},n.staggerTo=function(i,s,o,a,l,u,c){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=u,o.onCompleteParams=c,o.parent=this,new Pe(i,o,Et(this,l)),this},n.staggerFrom=function(i,s,o,a,l,u,c){return o.runBackwards=1,fi(o).immediateRender=it(o.immediateRender),this.staggerTo(i,s,o,a,l,u,c)},n.staggerFromTo=function(i,s,o,a,l,u,c,f){return a.startAt=o,fi(a).immediateRender=it(a.immediateRender),this.staggerTo(i,s,a,l,u,c,f)},n.render=function(i,s,o){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=i<=0?0:Te(i),f=this._zTime<0!=i<0&&(this._initted||!u),h,d,m,p,y,x,S,k,b,v,E,$;if(this!==ke&&c>l&&i>=0&&(c=l),c!==this._tTime||o||f){if(a!==this._time&&u&&(c+=this._time-a,i+=this._time-a),h=c,b=this._start,k=this._ts,x=!k,f&&(u||(a=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(E=this._yoyo,y=u+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(y*100+i,s,o);if(h=Te(c%y),c===l?(p=this._repeat,h=u):(v=Te(c/y),p=~~v,p&&p===v&&(h=u,p--),h>u&&(h=u)),v=Or(this._tTime,y),!a&&this._tTime&&v!==p&&this._tTime-v*y-this._dur<=0&&(v=p),E&&p&1&&(h=u-h,$=1),p!==v&&!this._lock){var M=E&&v&1,w=M===(E&&p&1);if(p<v&&(M=!M),a=M?0:c%u?u:c,this._lock=1,this.render(a||($?0:Te(p*y)),s,!u)._lock=0,this._tTime=c,!s&&this.parent&&vt(this,"onRepeat"),this.vars.repeatRefresh&&!$&&(this.invalidate()._lock=1,v=p),a&&a!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,w&&(this._lock=2,a=M?u:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!$&&this.invalidate()),this._lock=0,!this._ts&&!x)return this;gf(this,$)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(S=my(this,Te(a),Te(h)),S&&(c-=h-(h=S._start))),this._tTime=c,this._time=h,this._act=!k,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&c&&u&&!s&&!v&&(vt(this,"onStart"),this._tTime!==c))return this;if(h>=a&&i>=0)for(d=this._first;d;){if(m=d._next,(d._act||h>=d._start)&&d._ts&&S!==d){if(d.parent!==this)return this.render(i,s,o);if(d.render(d._ts>0?(h-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(h-d._start)*d._ts,s,o),h!==this._time||!this._ts&&!x){S=0,m&&(c+=this._zTime=-fe);break}}d=m}else{d=this._last;for(var C=i<0?i:h;d;){if(m=d._prev,(d._act||C<=d._end)&&d._ts&&S!==d){if(d.parent!==this)return this.render(i,s,o);if(d.render(d._ts>0?(C-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(C-d._start)*d._ts,s,o||Fe&&Wo(d)),h!==this._time||!this._ts&&!x){S=0,m&&(c+=this._zTime=C?-fe:fe);break}}d=m}}if(S&&!s&&(this.pause(),S.render(h>=a?0:-fe)._zTime=h>=a?1:-1,this._ts))return this._start=b,ks(this),this.render(i,s,o);this._onUpdate&&!s&&vt(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&a)&&(b===this._start||Math.abs(k)!==Math.abs(this._ts))&&(this._lock||((i||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&Pn(this,1),!s&&!(i<0&&!a)&&(c||a||!l)&&(vt(this,c===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(i,s){var o=this;if(hn(s)||(s=Et(this,s,i)),!(i instanceof vi)){if(He(i))return i.forEach(function(a){return o.add(a,s)}),this;if(De(i))return this.addLabel(i,s);if(Ce(i))i=Pe.delayedCall(0,i);else return this}return this!==i?qt(this,i,s):this},n.getChildren=function(i,s,o,a){i===void 0&&(i=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-Ot);for(var l=[],u=this._first;u;)u._start>=a&&(u instanceof Pe?s&&l.push(u):(o&&l.push(u),i&&l.push.apply(l,u.getChildren(!0,s,o)))),u=u._next;return l},n.getById=function(i){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===i)return s[o]},n.remove=function(i){return De(i)?this.removeLabel(i):Ce(i)?this.killTweensOf(i):(i.parent===this&&ws(this,i),i===this._recent&&(this._recent=this._last),Gn(this))},n.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Te(yt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),t.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},n.addLabel=function(i,s){return this.labels[i]=Et(this,s),this},n.removeLabel=function(i){return delete this.labels[i],this},n.addPause=function(i,s,o){var a=Pe.delayedCall(0,s||ui,o);return a.data="isPause",this._hasPause=1,qt(this,a,Et(this,i))},n.removePause=function(i){var s=this._first;for(i=Et(this,i);s;)s._start===i&&s.data==="isPause"&&Pn(s),s=s._next},n.killTweensOf=function(i,s,o){for(var a=this.getTweensOf(i,o),l=a.length;l--;)In!==a[l]&&a[l].kill(i,s);return this},n.getTweensOf=function(i,s){for(var o=[],a=Pt(i),l=this._first,u=hn(s),c;l;)l instanceof Pe?cy(l._targets,a)&&(u?(!In||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&o.push(l):(c=l.getTweensOf(a,s)).length&&o.push.apply(o,c),l=l._next;return o},n.tweenTo=function(i,s){s=s||{};var o=this,a=Et(o,i),l=s,u=l.startAt,c=l.onStart,f=l.onStartParams,h=l.immediateRender,d,m=Pe.to(o,gt({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale())||fe,onStart:function(){if(o.pause(),!d){var y=s.duration||Math.abs((a-(u&&"time"in u?u.time:o._time))/o.timeScale());m._dur!==y&&Er(m,y,0,1).render(m._time,!0,!0),d=1}c&&c.apply(m,f||[])}},s));return h?m.render(0):m},n.tweenFromTo=function(i,s,o){return this.tweenTo(s,gt({startAt:{time:Et(this,i)}},o))},n.recent=function(){return this._recent},n.nextLabel=function(i){return i===void 0&&(i=this._time),cf(this,Et(this,i))},n.previousLabel=function(i){return i===void 0&&(i=this._time),cf(this,Et(this,i),1)},n.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+fe)},n.shiftChildren=function(i,s,o){o===void 0&&(o=0);var a=this._first,l=this.labels,u;for(i=Te(i);a;)a._start>=o&&(a._start+=i,a._end+=i),a=a._next;if(s)for(u in l)l[u]>=o&&(l[u]+=i);return Gn(this)},n.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return t.prototype.invalidate.call(this,i)},n.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Gn(this)},n.totalDuration=function(i){var s=0,o=this,a=o._last,l=Ot,u,c,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(f=o.parent;a;)u=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>l&&o._sort&&a._ts&&!o._lock?(o._lock=1,qt(o,a,c-a._delay,1)._lock=0):l=c,c<0&&a._ts&&(s-=c,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=Te(c/o._ts),o._time-=c,o._tTime-=c),o.shiftChildren(-c,!1,-1/0),l=0),a._end>s&&a._ts&&(s=a._end),a=u;Er(o,o===ke&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(ke._ts&&(Hu(ke,Ss(i,ke)),Uu=yt.frame),yt.frame>=Vu){Vu+=pt.autoSleep||120;var s=ke._first;if((!s||!s._ts)&&pt.autoSleep&&yt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||yt.sleep()}}},e}(vi);gt(Qe.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ay=function(e,n,r,i,s,o,a){var l=new ot(this._pt,e,n,0,1,Tf,null,s),u=0,c=0,f,h,d,m,p,y,x,S;for(l.b=r,l.e=i,r+="",i+="",(x=~i.indexOf("random("))&&(i=pi(i)),o&&(S=[r,i],o(S,e,n),r=S[0],i=S[1]),h=r.match(Ro)||[];f=Ro.exec(i);)m=f[0],p=i.substring(u,f.index),d?d=(d+1)%5:p.substr(-5)==="rgba("&&(d=1),m!==h[c++]&&(y=parseFloat(h[c-1])||0,l._pt={_next:l._pt,p:p||c===1?p:",",s:y,c:m.charAt(1)==="="?zr(y,m)-y:parseFloat(m)-y,m:d&&d<4?Math.round:0},u=Ro.lastIndex);return l.c=u<i.length?i.substring(u,i.length):"",l.fp=a,(Fu.test(i)||x)&&(l.e=0),this._pt=l,l},ta=function(e,n,r,i,s,o,a,l,u,c){Ce(i)&&(i=i(s||0,e,o));var f=e[n],h=r!=="get"?r:Ce(f)?u?e[n.indexOf("set")||!Ce(e["get"+n.substr(3)])?n:"get"+n.substr(3)](u):e[n]():f,d=Ce(f)?u?Ry:Sf:ia,m;if(De(i)&&(~i.indexOf("random(")&&(i=pi(i)),i.charAt(1)==="="&&(m=zr(h,i)+(We(h)||0),(m||m===0)&&(i=m))),!c||h!==i||na)return!isNaN(h*i)&&i!==""?(m=new ot(this._pt,e,n,+h||0,i-(h||0),typeof f=="boolean"?Zy:kf,0,d),u&&(m.fp=u),a&&m.modifier(a,this,e),this._pt=m):(!f&&!(n in e)&&Lo(n,i),Ay.call(this,e,n,h,i,d,l||pt.stringFilter,u))},Iy=function(e,n,r,i,s){if(Ce(e)&&(e=yi(e,s,n,r,i)),!Jt(e)||e.style&&e.nodeType||He(e)||Mu(e))return De(e)?yi(e,s,n,r,i):e;var o={},a;for(a in e)o[a]=yi(e[a],s,n,r,i);return o},bf=function(e,n,r,i,s,o){var a,l,u,c;if(mt[e]&&(a=new mt[e]).init(s,a.rawVars?n[e]:Iy(n[e],i,s,o,r),r,i,o)!==!1&&(r._pt=l=new ot(r._pt,s,e,0,1,a.render,a,0,a.priority),r!==Pr))for(u=r._ptLookup[r._targets.indexOf(s)],c=a._props.length;c--;)u[a._props[c]]=l;return a},In,na,ra=function t(e,n,r){var i=e.vars,s=i.ease,o=i.startAt,a=i.immediateRender,l=i.lazy,u=i.onUpdate,c=i.runBackwards,f=i.yoyoEase,h=i.keyframes,d=i.autoRevert,m=e._dur,p=e._startAt,y=e._targets,x=e.parent,S=x&&x.data==="nested"?x.vars.targets:y,k=e._overwrite==="auto"&&!Io,b=e.timeline,v,E,$,M,w,C,N,O,V,G,ie,X,Y;if(b&&(!h||!s)&&(s="none"),e._ease=Xn(s,kr.ease),e._yEase=f?mf(Xn(f===!0?s:f,kr.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!b&&!!i.runBackwards,!b||h&&!i.stagger){if(O=y[0]?Yn(y[0]).harness:0,X=O&&i[O.prop],v=xs(i,jo),p&&(p._zTime<0&&p.progress(1),n<0&&c&&a&&!d?p.render(-1,!0):p.revert(c&&m?vs:ay),p._lazy=0),o){if(Pn(e._startAt=Pe.set(y,gt({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!p&&it(l),startAt:null,delay:0,onUpdate:u&&function(){return vt(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Fe||!a&&!d)&&e._startAt.revert(vs),a&&m&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(c&&m&&!p){if(n&&(a=!1),$=gt({overwrite:!1,data:"isFromStart",lazy:a&&!p&&it(l),immediateRender:a,stagger:0,parent:x},v),X&&($[O.prop]=X),Pn(e._startAt=Pe.set(y,$)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Fe?e._startAt.revert(vs):e._startAt.render(-1,!0)),e._zTime=n,!a)t(e._startAt,fe,fe);else if(!n)return}for(e._pt=e._ptCache=0,l=m&&it(l)||l&&!m,E=0;E<y.length;E++){if(w=y[E],N=w._gsap||Ho(y)[E]._gsap,e._ptLookup[E]=G={},Uo[N.id]&&En.length&&bs(),ie=S===y?E:S.indexOf(w),O&&(V=new O).init(w,X||v,e,ie,S)!==!1&&(e._pt=M=new ot(e._pt,w,V.name,0,1,V.render,V,0,V.priority),V._props.forEach(function(ee){G[ee]=M}),V.priority&&(C=1)),!O||X)for($ in v)mt[$]&&(V=bf($,v,e,ie,w,S))?V.priority&&(C=1):G[$]=M=ta.call(e,w,$,"get",v[$],ie,S,0,i.stringFilter);e._op&&e._op[E]&&e.kill(w,e._op[E]),k&&e._pt&&(In=e,ke.killTweensOf(w,G,e.globalTime(n)),Y=!e.parent,In=0),e._pt&&l&&(Uo[N.id]=1)}C&&zf(e),e._onInit&&e._onInit(e)}e._onUpdate=u,e._initted=(!e._op||e._pt)&&!Y,h&&n<=0&&b.render(Ot,!0,!0)},Dy=function(e,n,r,i,s,o,a,l){var u=(e._pt&&e._ptCache||(e._ptCache={}))[n],c,f,h,d;if(!u)for(u=e._ptCache[n]=[],h=e._ptLookup,d=e._targets.length;d--;){if(c=h[d][n],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==n&&c.fp!==n;)c=c._next;if(!c)return na=1,e.vars[n]="+=0",ra(e,a),na=0,l?ci(n+" not eligible for reset"):1;u.push(c)}for(d=u.length;d--;)f=u[d],c=f._pt||f,c.s=(i||i===0)&&!s?i:c.s+(i||0)+o*c.c,c.c=r-c.s,f.e&&(f.e=Ee(r)+We(f.e)),f.b&&(f.b=c.s+We(f.b))},My=function(e,n){var r=e[0]?Yn(e[0]).harness:0,i=r&&r.aliases,s,o,a,l;if(!i)return n;s=Cr({},n);for(o in i)if(o in s)for(l=i[o].split(","),a=l.length;a--;)s[l[a]]=s[o];return s},Ny=function(e,n,r,i){var s=n.ease||i||"power1.inOut",o,a;if(He(n))a=r[e]||(r[e]=[]),n.forEach(function(l,u){return a.push({t:u/(n.length-1)*100,v:l,e:s})});else for(o in n)a=r[o]||(r[o]=[]),o==="ease"||a.push({t:parseFloat(e),v:n[o],e:s})},yi=function(e,n,r,i,s){return Ce(e)?e.call(n,r,i,s):De(e)&&~e.indexOf("random(")?pi(e):e},xf=Bo+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",wf={};st(xf+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return wf[t]=1});var Pe=function(t){Iu(e,t);function e(r,i,s,o){var a;typeof i=="number"&&(s.duration=i,i=s,s=null),a=t.call(this,o?i:fi(i))||this;var l=a.vars,u=l.duration,c=l.delay,f=l.immediateRender,h=l.stagger,d=l.overwrite,m=l.keyframes,p=l.defaults,y=l.scrollTrigger,x=l.yoyoEase,S=i.parent||ke,k=(He(r)||Mu(r)?hn(r[0]):"length"in i)?[r]:Pt(r),b,v,E,$,M,w,C,N;if(a._targets=k.length?Ho(k):ci("GSAP target "+r+" not found. https://gsap.com",!pt.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,m||h||ms(u)||ms(c)){if(i=a.vars,b=a.timeline=new Qe({data:"nested",defaults:p||{},targets:S&&S.data==="nested"?S.vars.targets:k}),b.kill(),b.parent=b._dp=dn(a),b._start=0,h||ms(u)||ms(c)){if($=k.length,C=h&&rf(h),Jt(h))for(M in h)~xf.indexOf(M)&&(N||(N={}),N[M]=h[M]);for(v=0;v<$;v++)E=xs(i,wf),E.stagger=0,x&&(E.yoyoEase=x),N&&Cr(E,N),w=k[v],E.duration=+yi(u,dn(a),v,w,k),E.delay=(+yi(c,dn(a),v,w,k)||0)-a._delay,!h&&$===1&&E.delay&&(a._delay=c=E.delay,a._start+=c,E.delay=0),b.to(w,E,C?C(v,w,k):0),b._ease=te.none;b.duration()?u=c=0:a.timeline=0}else if(m){fi(gt(b.vars.defaults,{ease:"none"})),b._ease=Xn(m.ease||i.ease||"none");var O=0,V,G,ie;if(He(m))m.forEach(function(X){return b.to(k,X,">")}),b.duration();else{E={};for(M in m)M==="ease"||M==="easeEach"||Ny(M,m[M],E,m.easeEach);for(M in E)for(V=E[M].sort(function(X,Y){return X.t-Y.t}),O=0,v=0;v<V.length;v++)G=V[v],ie={ease:G.e,duration:(G.t-(v?V[v-1].t:0))/100*u},ie[M]=G.v,b.to(k,ie,O),O+=ie.duration;b.duration()<u&&b.to({},{duration:u-b.duration()})}}u||a.duration(u=b.duration())}else a.timeline=0;return d===!0&&!Io&&(In=dn(a),ke.killTweensOf(k),In=0),qt(S,dn(a),s),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(f||!u&&!m&&a._start===Te(S._time)&&it(f)&&hy(dn(a))&&S.data!=="nested")&&(a._tTime=-fe,a.render(Math.max(0,-c)||0)),y&&Xu(dn(a),y),a}var n=e.prototype;return n.render=function(i,s,o){var a=this._time,l=this._tDur,u=this._dur,c=i<0,f=i>l-fe&&!c?l:i<fe?0:i,h,d,m,p,y,x,S,k,b;if(!u)_y(this,i,s,o);else if(f!==this._tTime||!i||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c||this._lazy){if(h=f,k=this.timeline,this._repeat){if(p=u+this._rDelay,this._repeat<-1&&c)return this.totalTime(p*100+i,s,o);if(h=Te(f%p),f===l?(m=this._repeat,h=u):(y=Te(f/p),m=~~y,m&&m===y?(h=u,m--):h>u&&(h=u)),x=this._yoyo&&m&1,x&&(b=this._yEase,h=u-h),y=Or(this._tTime,p),h===a&&!o&&this._initted&&m===y)return this._tTime=f,this;m!==y&&(k&&this._yEase&&gf(k,x),this.vars.repeatRefresh&&!x&&!this._lock&&h!==p&&this._initted&&(this._lock=o=1,this.render(Te(p*m),!0).invalidate()._lock=0))}if(!this._initted){if(Qu(this,c?i:h,o,s,f))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&m!==y))return this;if(u!==this._dur)return this.render(i,s,o)}if(this._tTime=f,this._time=h,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=S=(b||this._ease)(h/u),this._from&&(this.ratio=S=1-S),!a&&f&&!s&&!y&&(vt(this,"onStart"),this._tTime!==f))return this;for(d=this._pt;d;)d.r(S,d.d),d=d._next;k&&k.render(i<0?i:k._dur*k._ease(h/this._dur),s,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(c&&Jo(this,i,s,o),vt(this,"onUpdate")),this._repeat&&m!==y&&this.vars.onRepeat&&!s&&this.parent&&vt(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(c&&!this._onUpdate&&Jo(this,i,!0,!0),(i||!u)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Pn(this,1),!s&&!(c&&!a)&&(f||a||x)&&(vt(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),t.prototype.invalidate.call(this,i)},n.resetTo=function(i,s,o,a,l){gi||yt.wake(),this._ts||this.play();var u=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||ra(this,u),c=this._ease(u/this._dur),Dy(this,i,s,o,a,c,u,l)?this.resetTo(i,s,o,a,1):(Ts(this,0),this.parent||qu(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?_i(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Fe),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,In&&In.vars.overwrite!==!0)._first||_i(this),this.parent&&o!==this.timeline.totalDuration()&&Er(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,l=i?Pt(i):a,u=this._ptLookup,c=this._pt,f,h,d,m,p,y,x;if((!s||s==="all")&&fy(a,l))return s==="all"&&(this._pt=0),_i(this);for(f=this._op=this._op||[],s!=="all"&&(De(s)&&(p={},st(s,function(S){return p[S]=1}),s=p),s=My(a,s)),x=a.length;x--;)if(~l.indexOf(a[x])){h=u[x],s==="all"?(f[x]=s,m=h,d={}):(d=f[x]=f[x]||{},m=s);for(p in m)y=h&&h[p],y&&((!("kill"in y.d)||y.d.kill(p)===!0)&&ws(this,y,"_pt"),delete h[p]),d!=="all"&&(d[p]=1)}return this._initted&&!this._pt&&c&&_i(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return di(1,arguments)},e.delayedCall=function(i,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(i,s,o){return di(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,o){return ke.killTweensOf(i,s,o)},e}(vi);gt(Pe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),st("staggerTo,staggerFrom,staggerFromTo",function(t){Pe[t]=function(){var e=new Qe,n=qo.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var ia=function(e,n,r){return e[n]=r},Sf=function(e,n,r){return e[n](r)},Ry=function(e,n,r,i){return e[n](i.fp,r)},Fy=function(e,n,r){return e.setAttribute(n,r)},sa=function(e,n){return Ce(e[n])?Sf:Mo(e[n])&&e.setAttribute?Fy:ia},kf=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},Zy=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},Tf=function(e,n){var r=n._pt,i="";if(!e&&n.b)i=n.b;else if(e===1&&n.e)i=n.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=n.c}n.set(n.t,n.p,i,n)},oa=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},Ly=function(e,n,r,i){for(var s=this._pt,o;s;)o=s._next,s.p===i&&s.modifier(e,n,r),s=o},jy=function(e){for(var n=this._pt,r,i;n;)i=n._next,n.p===e&&!n.op||n.op===e?ws(this,n,"_pt"):n.dep||(r=1),n=i;return!r},Uy=function(e,n,r,i){i.mSet(e,n,i.m.call(i.tween,r,i.mt),i)},zf=function(e){for(var n=e._pt,r,i,s,o;n;){for(r=n._next,i=s;i&&i.pr>n.pr;)i=i._next;(n._prev=i?i._prev:o)?n._prev._next=n:s=n,(n._next=i)?i._prev=n:o=n,n=r}e._pt=s},ot=function(){function t(n,r,i,s,o,a,l,u,c){this.t=r,this.s=s,this.c=o,this.p=i,this.r=a||kf,this.d=l||this,this.set=u||ia,this.pr=c||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,i,s){this.mSet=this.mSet||this.set,this.set=Uy,this.m=r,this.mt=s,this.tween=i},t}();st(Bo+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return jo[t]=1}),_t.TweenMax=_t.TweenLite=Pe,_t.TimelineLite=_t.TimelineMax=Qe,ke=new Qe({sortChildren:!1,defaults:kr,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),pt.stringFilter=_f;var er=[],zs={},Vy=[],Cf=0,By=0,aa=function(e){return(zs[e]||Vy).map(function(n){return n()})},la=function(){var e=Date.now(),n=[];e-Cf>2&&(aa("matchMediaInit"),er.forEach(function(r){var i=r.queries,s=r.conditions,o,a,l,u;for(a in i)o=Kt.matchMedia(i[a]).matches,o&&(l=1),o!==s[a]&&(s[a]=o,u=1);u&&(r.revert(),l&&n.push(r))}),aa("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),Cf=e,aa("matchMedia"))},Of=function(){function t(n,r){this.selector=r&&Yo(r),this.data=[],this._r=[],this.isReverted=!1,this.id=By++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,i,s){Ce(r)&&(s=i,i=r,r=Ce);var o=this,a=function(){var u=xe,c=o.selector,f;return u&&u!==o&&u.data.push(o),s&&(o.selector=Yo(s)),xe=o,f=i.apply(o,arguments),Ce(f)&&o._r.push(f),xe=u,o.selector=c,o.isReverted=!1,f};return o.last=a,r===Ce?a(o,function(l){return o.add(null,l)}):r?o[r]=a:a},e.ignore=function(r){var i=xe;xe=null,r(this),xe=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof t?r.push.apply(r,i.getTweens()):i instanceof Pe&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var s=this;if(r?function(){for(var a=s.getTweens(),l=s.data.length,u;l--;)u=s.data[l],u.data==="isFlip"&&(u.revert(),u.getChildren(!0,!0,!1).forEach(function(c){return a.splice(a.indexOf(c),1)}));for(a.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,f){return f.g-c.g||-1/0}).forEach(function(c){return c.t.revert(r)}),l=s.data.length;l--;)u=s.data[l],u instanceof Qe?u.data!=="nested"&&(u.scrollTrigger&&u.scrollTrigger.revert(),u.kill()):!(u instanceof Pe)&&u.revert&&u.revert(r);s._r.forEach(function(c){return c(r,s)}),s.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var o=er.length;o--;)er[o].id===this.id&&er.splice(o,1)},e.revert=function(r){this.kill(r||{})},t}(),Hy=function(){function t(n){this.contexts=[],this.scope=n,xe&&xe.data.push(this)}var e=t.prototype;return e.add=function(r,i,s){Jt(r)||(r={matches:r});var o=new Of(0,s||this.scope),a=o.conditions={},l,u,c;xe&&!o.selector&&(o.selector=xe.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=r;for(u in r)u==="all"?c=1:(l=Kt.matchMedia(r[u]),l&&(er.indexOf(o)<0&&er.push(o),(a[u]=l.matches)&&(c=1),l.addListener?l.addListener(la):l.addEventListener("change",la)));return c&&i(o,function(f){return o.add(null,f)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},t}(),Cs={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.forEach(function(i){return ff(i)})},timeline:function(e){return new Qe(e)},getTweensOf:function(e,n){return ke.getTweensOf(e,n)},getProperty:function(e,n,r,i){De(e)&&(e=Pt(e)[0]);var s=Yn(e||{}).get,o=r?Ju:Wu;return r==="native"&&(r=""),e&&(n?o((mt[n]&&mt[n].get||s)(e,n,r,i)):function(a,l,u){return o((mt[a]&&mt[a].get||s)(e,a,l,u))})},quickSetter:function(e,n,r){if(e=Pt(e),e.length>1){var i=e.map(function(c){return at.quickSetter(c,n,r)}),s=i.length;return function(c){for(var f=s;f--;)i[f](c)}}e=e[0]||{};var o=mt[n],a=Yn(e),l=a.harness&&(a.harness.aliases||{})[n]||n,u=o?function(c){var f=new o;Pr._pt=0,f.init(e,r?c+r:c,Pr,0,[e]),f.render(1,f),Pr._pt&&oa(1,Pr)}:a.set(e,l);return o?u:function(c){return u(e,l,r?c+r:c,a,1)}},quickTo:function(e,n,r){var i,s=at.to(e,gt((i={},i[n]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),o=function(l,u,c){return s.resetTo(n,l,u,c)};return o.tween=s,o},isTweening:function(e){return ke.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Xn(e.ease,kr.ease)),Ku(kr,e||{})},config:function(e){return Ku(pt,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,i=e.plugins,s=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!mt[a]&&!_t[a]&&ci(n+" effect requires "+a+" plugin.")}),Vo[n]=function(a,l,u){return r(Pt(a),gt(l||{},s),u)},o&&(Qe.prototype[n]=function(a,l,u){return this.add(Vo[n](a,Jt(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,n){te[e]=Xn(n)},parseEase:function(e,n){return arguments.length?Xn(e,n):te},getById:function(e){return ke.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new Qe(e),i,s;for(r.smoothChildTiming=it(e.smoothChildTiming),ke.remove(r),r._dp=0,r._time=r._tTime=ke._time,i=ke._first;i;)s=i._next,(n||!(!i._dur&&i instanceof Pe&&i.vars.onComplete===i._targets[0]))&&qt(r,i,i._start-i._delay),i=s;return qt(ke,r,0),r},context:function(e,n){return e?new Of(e,n):xe},matchMedia:function(e){return new Hy(e)},matchMediaRefresh:function(){return er.forEach(function(e){var n=e.conditions,r,i;for(i in n)n[i]&&(n[i]=!1,r=1);r&&e.revert()})||la()},addEventListener:function(e,n){var r=zs[e]||(zs[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=zs[e],i=r&&r.indexOf(n);i>=0&&r.splice(i,1)},utils:{wrap:Sy,wrapYoyo:ky,distribute:rf,random:of,snap:sf,normalize:wy,getUnit:We,clamp:vy,splitColor:df,toArray:Pt,selector:Yo,mapRange:lf,pipe:by,unitize:xy,interpolate:Ty,shuffle:nf},install:Lu,effects:Vo,ticker:yt,updateRoot:Qe.updateRoot,plugins:mt,globalTimeline:ke,core:{PropTween:ot,globals:ju,Tween:Pe,Timeline:Qe,Animation:vi,getCache:Yn,_removeLinkedListItem:ws,reverting:function(){return Fe},context:function(e){return e&&xe&&(xe.data.push(e),e._ctx=xe),xe},suppressOverwrites:function(e){return Io=e}}};st("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Cs[t]=Pe[t]}),yt.add(Qe.updateRoot),Pr=Cs.to({},{duration:0});var Wy=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},Jy=function(e,n){var r=e._targets,i,s,o;for(i in n)for(s=r.length;s--;)o=e._ptLookup[s][i],o&&(o=o.d)&&(o._pt&&(o=Wy(o,i)),o&&o.modifier&&o.modifier(n[i],e,r[s],i))},ca=function(e,n){return{name:e,headless:1,rawVars:1,init:function(i,s,o){o._onInit=function(a){var l,u;if(De(s)&&(l={},st(s,function(c){return l[c]=1}),s=l),n){l={};for(u in s)l[u]=n(s[u]);s=l}Jy(a,s)}}}},at=Cs.registerPlugin({name:"attr",init:function(e,n,r,i,s){var o,a,l;this.tween=r;for(o in n)l=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(l||0)+"",n[o],i,s,0,0,o),a.op=o,a.b=l,this._props.push(o)},render:function(e,n){for(var r=n._pt;r;)Fe?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},ca("roundProps",Go),ca("modifiers"),ca("snap",sf))||Cs;Pe.version=Qe.version=at.version="3.14.2",Zu=1,No()&&$r(),te.Power0,te.Power1,te.Power2,te.Power3,te.Power4,te.Linear,te.Quad,te.Cubic,te.Quart,te.Quint,te.Strong,te.Elastic,te.Back,te.SteppedEase,te.Bounce,te.Sine,te.Expo,te.Circ;/*!
|
|
48
|
+
*/var pt={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Cr={duration:.5,overwrite:!1,delay:0},Do,Ze,xe,Ot=1e8,de=1/Ot,Mo=Math.PI*2,ey=Mo/4,ty=0,Ru=Math.sqrt,ny=Math.cos,ry=Math.sin,Me=function(e){return typeof e=="string"},Ce=function(e){return typeof e=="function"},_n=function(e){return typeof e=="number"},No=function(e){return typeof e>"u"},Kt=function(e){return typeof e=="object"},it=function(e){return e!==!1},Ro=function(){return typeof window<"u"},vs=function(e){return Ce(e)||Me(e)},Fu=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},He=Array.isArray,iy=/random\([^)]+\)/g,sy=/,\s*/g,Zu=/(?:-?\.?\d|\.)+/gi,Lu=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Or=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Fo=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,ju=/[+-]=-?[.\d]+/,oy=/[^,'"\[\]\s]+/gi,ay=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ke,qt,Zo,Lo,_t={},ys={},Uu,Bu=function(e){return(ys=Pr(e,_t))&&at},jo=function(e,n){return console.warn("Invalid property",e,"set to",n,"Missing plugin? gsap.registerPlugin()")},di=function(e,n){return!n&&console.warn(e)},Vu=function(e,n){return e&&(_t[e]=n)&&ys&&(ys[e]=n)||_t},hi=function(){return 0},ly={suppressEvents:!0,isStart:!0,kill:!1},bs={suppressEvents:!0,kill:!1},cy={suppressEvents:!0},Uo={},Pn=[],Bo={},Hu,mt={},Vo={},Wu=30,xs=[],Ho="",Wo=function(e){var n=e[0],r,i;if(Kt(n)||Ce(n)||(e=[e]),!(r=(n._gsap||{}).harness)){for(i=xs.length;i--&&!xs[i].targetTest(n););r=xs[i]}for(i=e.length;i--;)e[i]&&(e[i]._gsap||(e[i]._gsap=new wf(e[i],r)))||e.splice(i,1);return e},Gn=function(e){return e._gsap||Wo(Pt(e))[0]._gsap},Ju=function(e,n,r){return(r=e[n])&&Ce(r)?e[n]():No(r)&&e.getAttribute&&e.getAttribute(n)||r},st=function(e,n){return(e=e.split(",")).forEach(n)||e},Pe=function(e){return Math.round(e*1e5)/1e5||0},Te=function(e){return Math.round(e*1e7)/1e7||0},Er=function(e,n){var r=n.charAt(0),i=parseFloat(n.substr(2));return e=parseFloat(e),r==="+"?e+i:r==="-"?e-i:r==="*"?e*i:e/i},uy=function(e,n){for(var r=n.length,i=0;e.indexOf(n[i])<0&&++i<r;);return i<r},ws=function(){var e=Pn.length,n=Pn.slice(0),r,i;for(Bo={},Pn.length=0,r=0;r<e;r++)i=n[r],i&&i._lazy&&(i.render(i._lazy[0],i._lazy[1],!0)._lazy=0)},Jo=function(e){return!!(e._initted||e._startAt||e.add)},Ku=function(e,n,r,i){Pn.length&&!Ze&&ws(),e.render(n,r,!!(Ze&&n<0&&Jo(e))),Pn.length&&!Ze&&ws()},qu=function(e){var n=parseFloat(e);return(n||n===0)&&(e+"").match(oy).length<2?n:Me(e)?e.trim():e},Yu=function(e){return e},gt=function(e,n){for(var r in n)r in e||(e[r]=n[r]);return e},fy=function(e){return function(n,r){for(var i in r)i in n||i==="duration"&&e||i==="ease"||(n[i]=r[i])}},Pr=function(e,n){for(var r in n)e[r]=n[r];return e},Gu=function t(e,n){for(var r in n)r!=="__proto__"&&r!=="constructor"&&r!=="prototype"&&(e[r]=Kt(n[r])?t(e[r]||(e[r]={}),n[r]):n[r]);return e},Ss=function(e,n){var r={},i;for(i in e)i in n||(r[i]=e[i]);return r},pi=function(e){var n=e.parent||ke,r=e.keyframes?fy(He(e.keyframes)):gt;if(it(e.inherit))for(;n;)r(e,n.vars.defaults),n=n.parent||n._dp;return e},dy=function(e,n){for(var r=e.length,i=r===n.length;i&&r--&&e[r]===n[r];);return r<0},Xu=function(e,n,r,i,s){var o=e[i],a;if(s)for(a=n[s];o&&o[s]>a;)o=o._prev;return o?(n._next=o._next,o._next=n):(n._next=e[r],e[r]=n),n._next?n._next._prev=n:e[i]=n,n._prev=o,n.parent=n._dp=e,n},ks=function(e,n,r,i){r===void 0&&(r="_first"),i===void 0&&(i="_last");var s=n._prev,o=n._next;s?s._next=o:e[r]===n&&(e[r]=o),o?o._prev=s:e[i]===n&&(e[i]=s),n._next=n._prev=n.parent=null},$n=function(e,n){e.parent&&(!n||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Xn=function(e,n){if(e&&(!n||n._end>e._dur||n._start<0))for(var r=e;r;)r._dirty=1,r=r.parent;return e},hy=function(e){for(var n=e.parent;n&&n.parent;)n._dirty=1,n.totalDuration(),n=n.parent;return e},Ko=function(e,n,r,i){return e._startAt&&(Ze?e._startAt.revert(bs):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(n,!0,i))},py=function t(e){return!e||e._ts&&t(e.parent)},Qu=function(e){return e._repeat?$r(e._tTime,e=e.duration()+e._rDelay)*e:0},$r=function(e,n){var r=Math.floor(e=Te(e/n));return e&&r===e?r-1:r},Ts=function(e,n){return(e-n._start)*n._ts+(n._ts>=0?0:n._dirty?n.totalDuration():n._tDur)},zs=function(e){return e._end=Te(e._start+(e._tDur/Math.abs(e._ts||e._rts||de)||0))},Cs=function(e,n){var r=e._dp;return r&&r.smoothChildTiming&&e._ts&&(e._start=Te(r._time-(e._ts>0?n/e._ts:((e._dirty?e.totalDuration():e._tDur)-n)/-e._ts)),zs(e),r._dirty||Xn(r,e)),e},ef=function(e,n){var r;if((n._time||!n._dur&&n._initted||n._start<e._time&&(n._dur||!n.add))&&(r=Ts(e.rawTime(),n),(!n._dur||mi(0,n.totalDuration(),r)-n._tTime>de)&&n.render(r,!0)),Xn(e,n)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(r=e;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;e._zTime=-de}},Yt=function(e,n,r,i){return n.parent&&$n(n),n._start=Te((_n(r)?r:r||e!==ke?Et(e,r,n):e._time)+n._delay),n._end=Te(n._start+(n.totalDuration()/Math.abs(n.timeScale())||0)),Xu(e,n,"_first","_last",e._sort?"_start":0),qo(n)||(e._recent=n),i||ef(e,n),e._ts<0&&Cs(e,e._tTime),e},tf=function(e,n){return(_t.ScrollTrigger||jo("scrollTrigger",n))&&_t.ScrollTrigger.create(n,e)},nf=function(e,n,r,i,s){if(ia(e,n,s),!e._initted)return 1;if(!r&&e._pt&&!Ze&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Hu!==yt.frame)return Pn.push(e),e._lazy=[s,i],1},_y=function t(e){var n=e.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||t(n))},qo=function(e){var n=e.data;return n==="isFromStart"||n==="isStart"},my=function(e,n,r,i){var s=e.ratio,o=n<0||!n&&(!e._start&&_y(e)&&!(!e._initted&&qo(e))||(e._ts<0||e._dp._ts<0)&&!qo(e))?0:1,a=e._rDelay,l=0,c,u,f;if(a&&e._repeat&&(l=mi(0,e._tDur,n),u=$r(l,a),e._yoyo&&u&1&&(o=1-o),u!==$r(e._tTime,a)&&(s=1-o,e.vars.repeatRefresh&&e._initted&&e.invalidate())),o!==s||Ze||i||e._zTime===de||!n&&e._zTime){if(!e._initted&&nf(e,n,i,r,l))return;for(f=e._zTime,e._zTime=n||(r?de:0),r||(r=n&&!f),e.ratio=o,e._from&&(o=1-o),e._time=0,e._tTime=l,c=e._pt;c;)c.r(o,c.d),c=c._next;n<0&&Ko(e,n,r,!0),e._onUpdate&&!r&&vt(e,"onUpdate"),l&&e._repeat&&!r&&e.parent&&vt(e,"onRepeat"),(n>=e._tDur||n<0)&&e.ratio===o&&(o&&$n(e,1),!r&&!Ze&&(vt(e,o?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=n)},gy=function(e,n,r){var i;if(r>n)for(i=e._first;i&&i._start<=r;){if(i.data==="isPause"&&i._start>n)return i;i=i._next}else for(i=e._last;i&&i._start>=r;){if(i.data==="isPause"&&i._start<n)return i;i=i._prev}},Ar=function(e,n,r,i){var s=e._repeat,o=Te(n)||0,a=e._tTime/e._tDur;return a&&!i&&(e._time*=o/e._dur),e._dur=o,e._tDur=s?s<0?1e10:Te(o*(s+1)+e._rDelay*s):o,a>0&&!i&&Cs(e,e._tTime=e._tDur*a),e.parent&&zs(e),r||Xn(e.parent,e),e},rf=function(e){return e instanceof Qe?Xn(e):Ar(e,e._dur)},vy={_start:0,endTime:hi,totalDuration:hi},Et=function t(e,n,r){var i=e.labels,s=e._recent||vy,o=e.duration()>=Ot?s.endTime(!1):e._dur,a,l,c;return Me(n)&&(isNaN(n)||n in i)?(l=n.charAt(0),c=n.substr(-1)==="%",a=n.indexOf("="),l==="<"||l===">"?(a>=0&&(n=n.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(n.substr(1))||0)*(c?(a<0?s:r).totalDuration()/100:1)):a<0?(n in i||(i[n]=o),i[n]):(l=parseFloat(n.charAt(a-1)+n.substr(a+1)),c&&r&&(l=l/100*(He(r)?r[0]:r).totalDuration()),a>1?t(e,n.substr(0,a-1),r)+l:o+l)):n==null?o:+n},_i=function(e,n,r){var i=_n(n[1]),s=(i?2:1)+(e<2?0:1),o=n[s],a,l;if(i&&(o.duration=n[1]),o.parent=r,e){for(a=o,l=r;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=it(l.vars.inherit)&&l.parent;o.immediateRender=it(a.immediateRender),e<2?o.runBackwards=1:o.startAt=n[s-1]}return new $e(n[0],o,n[s+1])},An=function(e,n){return e||e===0?n(e):n},mi=function(e,n,r){return r<e?e:r>n?n:r},We=function(e,n){return!Me(e)||!(n=ay.exec(e))?"":n[1]},yy=function(e,n,r){return An(r,function(i){return mi(e,n,i)})},Yo=[].slice,sf=function(e,n){return e&&Kt(e)&&"length"in e&&(!n&&!e.length||e.length-1 in e&&Kt(e[0]))&&!e.nodeType&&e!==qt},by=function(e,n,r){return r===void 0&&(r=[]),e.forEach(function(i){var s;return Me(i)&&!n||sf(i,1)?(s=r).push.apply(s,Pt(i)):r.push(i)})||r},Pt=function(e,n,r){return xe&&!n&&xe.selector?xe.selector(e):Me(e)&&!r&&(Zo||!Dr())?Yo.call((n||Lo).querySelectorAll(e),0):He(e)?by(e,r):sf(e)?Yo.call(e,0):e?[e]:[]},Go=function(e){return e=Pt(e)[0]||di("Invalid scope")||{},function(n){var r=e.current||e.nativeElement||e;return Pt(n,r.querySelectorAll?r:r===e?di("Invalid scope")||Lo.createElement("div"):e)}},of=function(e){return e.sort(function(){return .5-Math.random()})},af=function(e){if(Ce(e))return e;var n=Kt(e)?e:{each:e},r=Qn(n.ease),i=n.from||0,s=parseFloat(n.base)||0,o={},a=i>0&&i<1,l=isNaN(i)||a,c=n.axis,u=i,f=i;return Me(i)?u=f={center:.5,edges:.5,end:1}[i]||0:!a&&l&&(u=i[0],f=i[1]),function(h,d,m){var p=(m||n).length,b=o[p],w,k,T,x,y,E,P,I,v;if(!b){if(v=n.grid==="auto"?0:(n.grid||[1,Ot])[1],!v){for(P=-Ot;P<(P=m[v++].getBoundingClientRect().left)&&v<p;);v<p&&v--}for(b=o[p]=[],w=l?Math.min(v,p)*u-.5:i%v,k=v===Ot?0:l?p*f/v-.5:i/v|0,P=0,I=Ot,E=0;E<p;E++)T=E%v-w,x=k-(E/v|0),b[E]=y=c?Math.abs(c==="y"?x:T):Ru(T*T+x*x),y>P&&(P=y),y<I&&(I=y);i==="random"&&of(b),b.max=P-I,b.min=I,b.v=p=(parseFloat(n.amount)||parseFloat(n.each)*(v>p?p-1:c?c==="y"?p/v:v:Math.max(v,p/v))||0)*(i==="edges"?-1:1),b.b=p<0?s-p:s,b.u=We(n.amount||n.each)||0,r=r&&p<0?yf(r):r}return p=(b[h]-b.min)/b.max||0,Te(b.b+(r?r(p):p)*b.v)+b.u}},Xo=function(e){var n=Math.pow(10,((e+"").split(".")[1]||"").length);return function(r){var i=Te(Math.round(parseFloat(r)/e)*e*n);return(i-i%1)/n+(_n(r)?0:We(r))}},lf=function(e,n){var r=He(e),i,s;return!r&&Kt(e)&&(i=r=e.radius||Ot,e.values?(e=Pt(e.values),(s=!_n(e[0]))&&(i*=i)):e=Xo(e.increment)),An(n,r?Ce(e)?function(o){return s=e(o),Math.abs(s-o)<=i?s:o}:function(o){for(var a=parseFloat(s?o.x:o),l=parseFloat(s?o.y:0),c=Ot,u=0,f=e.length,h,d;f--;)s?(h=e[f].x-a,d=e[f].y-l,h=h*h+d*d):h=Math.abs(e[f]-a),h<c&&(c=h,u=f);return u=!i||c<=i?e[u]:o,s||u===o||_n(o)?u:u+We(o)}:Xo(e))},cf=function(e,n,r,i){return An(He(e)?!n:r===!0?!!(r=0):!i,function(){return He(e)?e[~~(Math.random()*e.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((e-r/2+Math.random()*(n-e+r*.99))/r)*r*i)/i})},xy=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return function(i){return n.reduce(function(s,o){return o(s)},i)}},wy=function(e,n){return function(r){return e(parseFloat(r))+(n||We(r))}},Sy=function(e,n,r){return ff(e,n,0,1,r)},uf=function(e,n,r){return An(r,function(i){return e[~~n(i)]})},ky=function t(e,n,r){var i=n-e;return He(e)?uf(e,t(0,e.length),n):An(r,function(s){return(i+(s-e)%i)%i+e})},Ty=function t(e,n,r){var i=n-e,s=i*2;return He(e)?uf(e,t(0,e.length-1),n):An(r,function(o){return o=(s+(o-e)%s)%s||0,e+(o>i?s-o:o)})},gi=function(e){return e.replace(iy,function(n){var r=n.indexOf("[")+1,i=n.substring(r||7,r?n.indexOf("]"):n.length-1).split(sy);return cf(r?i:+i[0],r?0:+i[1],+i[2]||1e-5)})},ff=function(e,n,r,i,s){var o=n-e,a=i-r;return An(s,function(l){return r+((l-e)/o*a||0)})},zy=function t(e,n,r,i){var s=isNaN(e+n)?0:function(d){return(1-d)*e+d*n};if(!s){var o=Me(e),a={},l,c,u,f,h;if(r===!0&&(i=1)&&(r=null),o)e={p:e},n={p:n};else if(He(e)&&!He(n)){for(u=[],f=e.length,h=f-2,c=1;c<f;c++)u.push(t(e[c-1],e[c]));f--,s=function(m){m*=f;var p=Math.min(h,~~m);return u[p](m-p)},r=n}else i||(e=Pr(He(e)?[]:{},e));if(!u){for(l in n)na.call(a,e,l,"get",n[l]);s=function(m){return aa(m,a)||(o?e.p:e)}}}return An(r,s)},df=function(e,n,r){var i=e.labels,s=Ot,o,a,l;for(o in i)a=i[o]-n,a<0==!!r&&a&&s>(a=Math.abs(a))&&(l=o,s=a);return l},vt=function(e,n,r){var i=e.vars,s=i[n],o=xe,a=e._ctx,l,c,u;if(s)return l=i[n+"Params"],c=i.callbackScope||e,r&&Pn.length&&ws(),a&&(xe=a),u=l?s.apply(c,l):s.call(c),xe=o,u},vi=function(e){return $n(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ze),e.progress()<1&&vt(e,"onInterrupt"),e},Ir,hf=[],pf=function(e){if(e)if(e=!e.name&&e.default||e,Ro()||e.headless){var n=e.name,r=Ce(e),i=n&&!r&&e.init?function(){this._props=[]}:e,s={init:hi,render:aa,add:na,kill:Uy,modifier:jy,rawVars:0},o={targetTest:0,get:0,getSetter:oa,aliases:{},register:0};if(Dr(),e!==i){if(mt[n])return;gt(i,gt(Ss(e,s),o)),Pr(i.prototype,Pr(s,Ss(e,o))),mt[i.prop=n]=i,e.targetTest&&(xs.push(i),Uo[n]=1),n=(n==="css"?"CSS":n.charAt(0).toUpperCase()+n.substr(1))+"Plugin"}Vu(n,i),e.register&&e.register(at,i,ot)}else hf.push(e)},he=255,yi={aqua:[0,he,he],lime:[0,he,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,he],navy:[0,0,128],white:[he,he,he],olive:[128,128,0],yellow:[he,he,0],orange:[he,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[he,0,0],pink:[he,192,203],cyan:[0,he,he],transparent:[he,he,he,0]},Qo=function(e,n,r){return e+=e<0?1:e>1?-1:0,(e*6<1?n+(r-n)*e*6:e<.5?r:e*3<2?n+(r-n)*(2/3-e)*6:n)*he+.5|0},_f=function(e,n,r){var i=e?_n(e)?[e>>16,e>>8&he,e&he]:0:yi.black,s,o,a,l,c,u,f,h,d,m;if(!i){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),yi[e])i=yi[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),o=e.charAt(2),a=e.charAt(3),e="#"+s+s+o+o+a+a+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return i=parseInt(e.substr(1,6),16),[i>>16,i>>8&he,i&he,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),i=[e>>16,e>>8&he,e&he]}else if(e.substr(0,3)==="hsl"){if(i=m=e.match(Zu),!n)l=+i[0]%360/360,c=+i[1]/100,u=+i[2]/100,o=u<=.5?u*(c+1):u+c-u*c,s=u*2-o,i.length>3&&(i[3]*=1),i[0]=Qo(l+1/3,s,o),i[1]=Qo(l,s,o),i[2]=Qo(l-1/3,s,o);else if(~e.indexOf("="))return i=e.match(Lu),r&&i.length<4&&(i[3]=1),i}else i=e.match(Zu)||yi.transparent;i=i.map(Number)}return n&&!m&&(s=i[0]/he,o=i[1]/he,a=i[2]/he,f=Math.max(s,o,a),h=Math.min(s,o,a),u=(f+h)/2,f===h?l=c=0:(d=f-h,c=u>.5?d/(2-f-h):d/(f+h),l=f===s?(o-a)/d+(o<a?6:0):f===o?(a-s)/d+2:(s-o)/d+4,l*=60),i[0]=~~(l+.5),i[1]=~~(c*100+.5),i[2]=~~(u*100+.5)),r&&i.length<4&&(i[3]=1),i},mf=function(e){var n=[],r=[],i=-1;return e.split(In).forEach(function(s){var o=s.match(Or)||[];n.push.apply(n,o),r.push(i+=o.length+1)}),n.c=r,n},gf=function(e,n,r){var i="",s=(e+i).match(In),o=n?"hsla(":"rgba(",a=0,l,c,u,f;if(!s)return e;if(s=s.map(function(h){return(h=_f(h,n,1))&&o+(n?h[0]+","+h[1]+"%,"+h[2]+"%,"+h[3]:h.join(","))+")"}),r&&(u=mf(e),l=r.c,l.join(i)!==u.c.join(i)))for(c=e.replace(In,"1").split(Or),f=c.length-1;a<f;a++)i+=c[a]+(~l.indexOf(a)?s.shift()||o+"0,0,0,0)":(u.length?u:s.length?s:r).shift());if(!c)for(c=e.split(In),f=c.length-1;a<f;a++)i+=c[a]+s[a];return i+c[f]},In=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in yi)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),Cy=/hsl[a]?\(/,vf=function(e){var n=e.join(" "),r;if(In.lastIndex=0,In.test(n))return r=Cy.test(n),e[1]=gf(e[1],r),e[0]=gf(e[0],r,mf(e[1])),!0},bi,yt=function(){var t=Date.now,e=500,n=33,r=t(),i=r,s=1e3/240,o=s,a=[],l,c,u,f,h,d,m=function p(b){var w=t()-i,k=b===!0,T,x,y,E;if((w>e||w<0)&&(r+=w-n),i+=w,y=i-r,T=y-o,(T>0||k)&&(E=++f.frame,h=y-f.time*1e3,f.time=y=y/1e3,o+=T+(T>=s?4:s-T),x=1),k||(l=c(p)),x)for(d=0;d<a.length;d++)a[d](y,h,E,b)};return f={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(b){return h/(1e3/(b||60))},wake:function(){Uu&&(!Zo&&Ro()&&(qt=Zo=window,Lo=qt.document||{},_t.gsap=at,(qt.gsapVersions||(qt.gsapVersions=[])).push(at.version),Bu(ys||qt.GreenSockGlobals||!qt.gsap&&qt||{}),hf.forEach(pf)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&f.sleep(),c=u||function(b){return setTimeout(b,o-f.time*1e3+1|0)},bi=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),bi=0,c=hi},lagSmoothing:function(b,w){e=b||1/0,n=Math.min(w||33,e)},fps:function(b){s=1e3/(b||240),o=f.time*1e3+s},add:function(b,w,k){var T=w?function(x,y,E,P){b(x,y,E,P),f.remove(T)}:b;return f.remove(b),a[k?"unshift":"push"](T),Dr(),T},remove:function(b,w){~(w=a.indexOf(b))&&a.splice(w,1)&&d>=w&&d--},_listeners:a},f}(),Dr=function(){return!bi&&yt.wake()},te={},Oy=/^[\d.\-M][\d.\-,\s]/,Ey=/["']/g,Py=function(e){for(var n={},r=e.substr(1,e.length-3).split(":"),i=r[0],s=1,o=r.length,a,l,c;s<o;s++)l=r[s],a=s!==o-1?l.lastIndexOf(","):l.length,c=l.substr(0,a),n[i]=isNaN(c)?c.replace(Ey,"").trim():+c,i=l.substr(a+1).trim();return n},$y=function(e){var n=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",n);return e.substring(n,~i&&i<r?e.indexOf(")",r+1):r)},Ay=function(e){var n=(e+"").split("("),r=te[n[0]];return r&&n.length>1&&r.config?r.config.apply(null,~e.indexOf("{")?[Py(n[1])]:$y(e).split(",").map(qu)):te._CE&&Oy.test(e)?te._CE("",e):r},yf=function(e){return function(n){return 1-e(1-n)}},bf=function t(e,n){for(var r=e._first,i;r;)r instanceof Qe?t(r,n):r.vars.yoyoEase&&(!r._yoyo||!r._repeat)&&r._yoyo!==n&&(r.timeline?t(r.timeline,n):(i=r._ease,r._ease=r._yEase,r._yEase=i,r._yoyo=n)),r=r._next},Qn=function(e,n){return e&&(Ce(e)?e:te[e]||Ay(e))||n},er=function(e,n,r,i){r===void 0&&(r=function(l){return 1-n(1-l)}),i===void 0&&(i=function(l){return l<.5?n(l*2)/2:1-n((1-l)*2)/2});var s={easeIn:n,easeOut:r,easeInOut:i},o;return st(e,function(a){te[a]=_t[a]=s,te[o=a.toLowerCase()]=r;for(var l in s)te[o+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=te[a+"."+l]=s[l]}),s},xf=function(e){return function(n){return n<.5?(1-e(1-n*2))/2:.5+e((n-.5)*2)/2}},ea=function t(e,n,r){var i=n>=1?n:1,s=(r||(e?.3:.45))/(n<1?n:1),o=s/Mo*(Math.asin(1/i)||0),a=function(u){return u===1?1:i*Math.pow(2,-10*u)*ry((u-o)*s)+1},l=e==="out"?a:e==="in"?function(c){return 1-a(1-c)}:xf(a);return s=Mo/s,l.config=function(c,u){return t(e,c,u)},l},ta=function t(e,n){n===void 0&&(n=1.70158);var r=function(o){return o?--o*o*((n+1)*o+n)+1:0},i=e==="out"?r:e==="in"?function(s){return 1-r(1-s)}:xf(r);return i.config=function(s){return t(e,s)},i};st("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var n=e<5?e+1:e;er(t+",Power"+(n-1),e?function(r){return Math.pow(r,n)}:function(r){return r},function(r){return 1-Math.pow(1-r,n)},function(r){return r<.5?Math.pow(r*2,n)/2:1-Math.pow((1-r)*2,n)/2})}),te.Linear.easeNone=te.none=te.Linear.easeIn,er("Elastic",ea("in"),ea("out"),ea()),function(t,e){var n=1/e,r=2*n,i=2.5*n,s=function(a){return a<n?t*a*a:a<r?t*Math.pow(a-1.5/e,2)+.75:a<i?t*(a-=2.25/e)*a+.9375:t*Math.pow(a-2.625/e,2)+.984375};er("Bounce",function(o){return 1-s(1-o)},s)}(7.5625,2.75),er("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),er("Circ",function(t){return-(Ru(1-t*t)-1)}),er("Sine",function(t){return t===1?1:-ny(t*ey)+1}),er("Back",ta("in"),ta("out"),ta()),te.SteppedEase=te.steps=_t.SteppedEase={config:function(e,n){e===void 0&&(e=1);var r=1/e,i=e+(n?0:1),s=n?1:0,o=1-de;return function(a){return((i*mi(0,o,a)|0)+s)*r}}},Cr.ease=te["quad.out"],st("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return Ho+=t+","+t+"Params,"});var wf=function(e,n){this.id=ty++,e._gsap=this,this.target=e,this.harness=n,this.get=n?n.get:Ju,this.set=n?n.getSetter:oa},xi=function(){function t(n){this.vars=n,this._delay=+n.delay||0,(this._repeat=n.repeat===1/0?-2:n.repeat||0)&&(this._rDelay=n.repeatDelay||0,this._yoyo=!!n.yoyo||!!n.yoyoEase),this._ts=1,Ar(this,+n.duration,1,1),this.data=n.data,xe&&(this._ctx=xe,xe.data.push(this)),bi||yt.wake()}var e=t.prototype;return e.delay=function(r){return r||r===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+r-this._delay),this._delay=r,this):this._delay},e.duration=function(r){return arguments.length?this.totalDuration(this._repeat>0?r+(r+this._rDelay)*this._repeat:r):this.totalDuration()&&this._dur},e.totalDuration=function(r){return arguments.length?(this._dirty=0,Ar(this,this._repeat<0?r:(r-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(r,i){if(Dr(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Cs(this,r),!s._dp||s.parent||ef(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&r<this._tDur||this._ts<0&&r>0||!this._tDur&&!r)&&Yt(this._dp,this,this._start-this._delay)}return(this._tTime!==r||!this._dur&&!i||this._initted&&Math.abs(this._zTime)===de||!this._initted&&this._dur&&r||!r&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=r),Ku(this,r,i)),this},e.time=function(r,i){return arguments.length?this.totalTime(Math.min(this.totalDuration(),r+Qu(this))%(this._dur+this._rDelay)||(r?this._dur:0),i):this._time},e.totalProgress=function(r,i){return arguments.length?this.totalTime(this.totalDuration()*r,i):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(r,i){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-r:r)+Qu(this),i):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(r,i){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(r-1)*s,i):this._repeat?$r(this._tTime,s)+1:1},e.timeScale=function(r,i){if(!arguments.length)return this._rts===-de?0:this._rts;if(this._rts===r)return this;var s=this.parent&&this._ts?Ts(this.parent._time,this):this._tTime;return this._rts=+r||0,this._ts=this._ps||r===-de?0:this._rts,this.totalTime(mi(-Math.abs(this._delay),this.totalDuration(),s),i!==!1),zs(this),hy(this)},e.paused=function(r){return arguments.length?(this._ps!==r&&(this._ps=r,r?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Dr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==de&&(this._tTime-=de)))),this):this._ps},e.startTime=function(r){if(arguments.length){this._start=Te(r);var i=this.parent||this._dp;return i&&(i._sort||!this.parent)&&Yt(i,this,this._start-this._delay),this}return this._start},e.endTime=function(r){return this._start+(it(r)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(r){var i=this.parent||this._dp;return i?r&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ts(i.rawTime(r),this):this._tTime:this._tTime},e.revert=function(r){r===void 0&&(r=cy);var i=Ze;return Ze=r,Jo(this)&&(this.timeline&&this.timeline.revert(r),this.totalTime(-.01,r.suppressEvents)),this.data!=="nested"&&r.kill!==!1&&this.kill(),Ze=i,this},e.globalTime=function(r){for(var i=this,s=arguments.length?r:i.rawTime();i;)s=i._start+s/(Math.abs(i._ts)||1),i=i._dp;return!this.parent&&this._sat?this._sat.globalTime(r):s},e.repeat=function(r){return arguments.length?(this._repeat=r===1/0?-2:r,rf(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(r){if(arguments.length){var i=this._time;return this._rDelay=r,rf(this),i?this.time(i):this}return this._rDelay},e.yoyo=function(r){return arguments.length?(this._yoyo=r,this):this._yoyo},e.seek=function(r,i){return this.totalTime(Et(this,r),it(i))},e.restart=function(r,i){return this.play().totalTime(r?-this._delay:0,it(i)),this._dur||(this._zTime=-de),this},e.play=function(r,i){return r!=null&&this.seek(r,i),this.reversed(!1).paused(!1)},e.reverse=function(r,i){return r!=null&&this.seek(r||this.totalDuration(),i),this.reversed(!0).paused(!1)},e.pause=function(r,i){return r!=null&&this.seek(r,i),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(r){return arguments.length?(!!r!==this.reversed()&&this.timeScale(-this._rts||(r?-de:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-de,this},e.isActive=function(){var r=this.parent||this._dp,i=this._start,s;return!!(!r||this._ts&&this._initted&&r.isActive()&&(s=r.rawTime(!0))>=i&&s<this.endTime(!0)-de)},e.eventCallback=function(r,i,s){var o=this.vars;return arguments.length>1?(i?(o[r]=i,s&&(o[r+"Params"]=s),r==="onUpdate"&&(this._onUpdate=i)):delete o[r],this):o[r]},e.then=function(r){var i=this,s=i._prom;return new Promise(function(o){var a=Ce(r)?r:Yu,l=function(){var u=i.then;i.then=null,s&&s(),Ce(a)&&(a=a(i))&&(a.then||a===i)&&(i.then=u),o(a),i.then=u};i._initted&&i.totalProgress()===1&&i._ts>=0||!i._tTime&&i._ts<0?l():i._prom=l})},e.kill=function(){vi(this)},t}();gt(xi.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-de,_prom:0,_ps:!1,_rts:1});var Qe=function(t){Nu(e,t);function e(r,i){var s;return r===void 0&&(r={}),s=t.call(this,r)||this,s.labels={},s.smoothChildTiming=!!r.smoothChildTiming,s.autoRemoveChildren=!!r.autoRemoveChildren,s._sort=it(r.sortChildren),ke&&Yt(r.parent||ke,pn(s),i),r.reversed&&s.reverse(),r.paused&&s.paused(!0),r.scrollTrigger&&tf(pn(s),r.scrollTrigger),s}var n=e.prototype;return n.to=function(i,s,o){return _i(0,arguments,this),this},n.from=function(i,s,o){return _i(1,arguments,this),this},n.fromTo=function(i,s,o,a){return _i(2,arguments,this),this},n.set=function(i,s,o){return s.duration=0,s.parent=this,pi(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new $e(i,s,Et(this,o),1),this},n.call=function(i,s,o){return Yt(this,$e.delayedCall(0,i,s),o)},n.staggerTo=function(i,s,o,a,l,c,u){return o.duration=s,o.stagger=o.stagger||a,o.onComplete=c,o.onCompleteParams=u,o.parent=this,new $e(i,o,Et(this,l)),this},n.staggerFrom=function(i,s,o,a,l,c,u){return o.runBackwards=1,pi(o).immediateRender=it(o.immediateRender),this.staggerTo(i,s,o,a,l,c,u)},n.staggerFromTo=function(i,s,o,a,l,c,u,f){return a.startAt=o,pi(a).immediateRender=it(a.immediateRender),this.staggerTo(i,s,a,l,c,u,f)},n.render=function(i,s,o){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,c=this._dur,u=i<=0?0:Te(i),f=this._zTime<0!=i<0&&(this._initted||!c),h,d,m,p,b,w,k,T,x,y,E,P;if(this!==ke&&u>l&&i>=0&&(u=l),u!==this._tTime||o||f){if(a!==this._time&&c&&(u+=this._time-a,i+=this._time-a),h=u,x=this._start,T=this._ts,w=!T,f&&(c||(a=this._zTime),(i||!s)&&(this._zTime=i)),this._repeat){if(E=this._yoyo,b=c+this._rDelay,this._repeat<-1&&i<0)return this.totalTime(b*100+i,s,o);if(h=Te(u%b),u===l?(p=this._repeat,h=c):(y=Te(u/b),p=~~y,p&&p===y&&(h=c,p--),h>c&&(h=c)),y=$r(this._tTime,b),!a&&this._tTime&&y!==p&&this._tTime-y*b-this._dur<=0&&(y=p),E&&p&1&&(h=c-h,P=1),p!==y&&!this._lock){var I=E&&y&1,v=I===(E&&p&1);if(p<y&&(I=!I),a=I?0:u%c?c:u,this._lock=1,this.render(a||(P?0:Te(p*b)),s,!c)._lock=0,this._tTime=u,!s&&this.parent&&vt(this,"onRepeat"),this.vars.repeatRefresh&&!P&&(this.invalidate()._lock=1,y=p),a&&a!==this._time||w!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(c=this._dur,l=this._tDur,v&&(this._lock=2,a=I?c:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!P&&this.invalidate()),this._lock=0,!this._ts&&!w)return this;bf(this,P)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(k=gy(this,Te(a),Te(h)),k&&(u-=h-(h=k._start))),this._tTime=u,this._time=h,this._act=!T,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=i,a=0),!a&&u&&c&&!s&&!y&&(vt(this,"onStart"),this._tTime!==u))return this;if(h>=a&&i>=0)for(d=this._first;d;){if(m=d._next,(d._act||h>=d._start)&&d._ts&&k!==d){if(d.parent!==this)return this.render(i,s,o);if(d.render(d._ts>0?(h-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(h-d._start)*d._ts,s,o),h!==this._time||!this._ts&&!w){k=0,m&&(u+=this._zTime=-de);break}}d=m}else{d=this._last;for(var S=i<0?i:h;d;){if(m=d._prev,(d._act||S<=d._end)&&d._ts&&k!==d){if(d.parent!==this)return this.render(i,s,o);if(d.render(d._ts>0?(S-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(S-d._start)*d._ts,s,o||Ze&&Jo(d)),h!==this._time||!this._ts&&!w){k=0,m&&(u+=this._zTime=S?-de:de);break}}d=m}}if(k&&!s&&(this.pause(),k.render(h>=a?0:-de)._zTime=h>=a?1:-1,this._ts))return this._start=x,zs(this),this.render(i,s,o);this._onUpdate&&!s&&vt(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&a)&&(x===this._start||Math.abs(T)!==Math.abs(this._ts))&&(this._lock||((i||!c)&&(u===l&&this._ts>0||!u&&this._ts<0)&&$n(this,1),!s&&!(i<0&&!a)&&(u||a||!l)&&(vt(this,u===l&&i>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(i,s){var o=this;if(_n(s)||(s=Et(this,s,i)),!(i instanceof xi)){if(He(i))return i.forEach(function(a){return o.add(a,s)}),this;if(Me(i))return this.addLabel(i,s);if(Ce(i))i=$e.delayedCall(0,i);else return this}return this!==i?Yt(this,i,s):this},n.getChildren=function(i,s,o,a){i===void 0&&(i=!0),s===void 0&&(s=!0),o===void 0&&(o=!0),a===void 0&&(a=-Ot);for(var l=[],c=this._first;c;)c._start>=a&&(c instanceof $e?s&&l.push(c):(o&&l.push(c),i&&l.push.apply(l,c.getChildren(!0,s,o)))),c=c._next;return l},n.getById=function(i){for(var s=this.getChildren(1,1,1),o=s.length;o--;)if(s[o].vars.id===i)return s[o]},n.remove=function(i){return Me(i)?this.removeLabel(i):Ce(i)?this.killTweensOf(i):(i.parent===this&&ks(this,i),i===this._recent&&(this._recent=this._last),Xn(this))},n.totalTime=function(i,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Te(yt.time-(this._ts>0?i/this._ts:(this.totalDuration()-i)/-this._ts))),t.prototype.totalTime.call(this,i,s),this._forcing=0,this):this._tTime},n.addLabel=function(i,s){return this.labels[i]=Et(this,s),this},n.removeLabel=function(i){return delete this.labels[i],this},n.addPause=function(i,s,o){var a=$e.delayedCall(0,s||hi,o);return a.data="isPause",this._hasPause=1,Yt(this,a,Et(this,i))},n.removePause=function(i){var s=this._first;for(i=Et(this,i);s;)s._start===i&&s.data==="isPause"&&$n(s),s=s._next},n.killTweensOf=function(i,s,o){for(var a=this.getTweensOf(i,o),l=a.length;l--;)Dn!==a[l]&&a[l].kill(i,s);return this},n.getTweensOf=function(i,s){for(var o=[],a=Pt(i),l=this._first,c=_n(s),u;l;)l instanceof $e?uy(l._targets,a)&&(c?(!Dn||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&o.push(l):(u=l.getTweensOf(a,s)).length&&o.push.apply(o,u),l=l._next;return o},n.tweenTo=function(i,s){s=s||{};var o=this,a=Et(o,i),l=s,c=l.startAt,u=l.onStart,f=l.onStartParams,h=l.immediateRender,d,m=$e.to(o,gt({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:s.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale())||de,onStart:function(){if(o.pause(),!d){var b=s.duration||Math.abs((a-(c&&"time"in c?c.time:o._time))/o.timeScale());m._dur!==b&&Ar(m,b,0,1).render(m._time,!0,!0),d=1}u&&u.apply(m,f||[])}},s));return h?m.render(0):m},n.tweenFromTo=function(i,s,o){return this.tweenTo(s,gt({startAt:{time:Et(this,i)}},o))},n.recent=function(){return this._recent},n.nextLabel=function(i){return i===void 0&&(i=this._time),df(this,Et(this,i))},n.previousLabel=function(i){return i===void 0&&(i=this._time),df(this,Et(this,i),1)},n.currentLabel=function(i){return arguments.length?this.seek(i,!0):this.previousLabel(this._time+de)},n.shiftChildren=function(i,s,o){o===void 0&&(o=0);var a=this._first,l=this.labels,c;for(i=Te(i);a;)a._start>=o&&(a._start+=i,a._end+=i),a=a._next;if(s)for(c in l)l[c]>=o&&(l[c]+=i);return Xn(this)},n.invalidate=function(i){var s=this._first;for(this._lock=0;s;)s.invalidate(i),s=s._next;return t.prototype.invalidate.call(this,i)},n.clear=function(i){i===void 0&&(i=!0);for(var s=this._first,o;s;)o=s._next,this.remove(s),s=o;return this._dp&&(this._time=this._tTime=this._pTime=0),i&&(this.labels={}),Xn(this)},n.totalDuration=function(i){var s=0,o=this,a=o._last,l=Ot,c,u,f;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-i:i));if(o._dirty){for(f=o.parent;a;)c=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>l&&o._sort&&a._ts&&!o._lock?(o._lock=1,Yt(o,a,u-a._delay,1)._lock=0):l=u,u<0&&a._ts&&(s-=u,(!f&&!o._dp||f&&f.smoothChildTiming)&&(o._start+=Te(u/o._ts),o._time-=u,o._tTime-=u),o.shiftChildren(-u,!1,-1/0),l=0),a._end>s&&a._ts&&(s=a._end),a=c;Ar(o,o===ke&&o._time>s?o._time:s,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(i){if(ke._ts&&(Ku(ke,Ts(i,ke)),Hu=yt.frame),yt.frame>=Wu){Wu+=pt.autoSleep||120;var s=ke._first;if((!s||!s._ts)&&pt.autoSleep&&yt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||yt.sleep()}}},e}(xi);gt(Qe.prototype,{_lock:0,_hasPause:0,_forcing:0});var Iy=function(e,n,r,i,s,o,a){var l=new ot(this._pt,e,n,0,1,Of,null,s),c=0,u=0,f,h,d,m,p,b,w,k;for(l.b=r,l.e=i,r+="",i+="",(w=~i.indexOf("random("))&&(i=gi(i)),o&&(k=[r,i],o(k,e,n),r=k[0],i=k[1]),h=r.match(Fo)||[];f=Fo.exec(i);)m=f[0],p=i.substring(c,f.index),d?d=(d+1)%5:p.substr(-5)==="rgba("&&(d=1),m!==h[u++]&&(b=parseFloat(h[u-1])||0,l._pt={_next:l._pt,p:p||u===1?p:",",s:b,c:m.charAt(1)==="="?Er(b,m)-b:parseFloat(m)-b,m:d&&d<4?Math.round:0},c=Fo.lastIndex);return l.c=c<i.length?i.substring(c,i.length):"",l.fp=a,(ju.test(i)||w)&&(l.e=0),this._pt=l,l},na=function(e,n,r,i,s,o,a,l,c,u){Ce(i)&&(i=i(s||0,e,o));var f=e[n],h=r!=="get"?r:Ce(f)?c?e[n.indexOf("set")||!Ce(e["get"+n.substr(3)])?n:"get"+n.substr(3)](c):e[n]():f,d=Ce(f)?c?Fy:zf:sa,m;if(Me(i)&&(~i.indexOf("random(")&&(i=gi(i)),i.charAt(1)==="="&&(m=Er(h,i)+(We(h)||0),(m||m===0)&&(i=m))),!u||h!==i||ra)return!isNaN(h*i)&&i!==""?(m=new ot(this._pt,e,n,+h||0,i-(h||0),typeof f=="boolean"?Ly:Cf,0,d),c&&(m.fp=c),a&&m.modifier(a,this,e),this._pt=m):(!f&&!(n in e)&&jo(n,i),Iy.call(this,e,n,h,i,d,l||pt.stringFilter,c))},Dy=function(e,n,r,i,s){if(Ce(e)&&(e=wi(e,s,n,r,i)),!Kt(e)||e.style&&e.nodeType||He(e)||Fu(e))return Me(e)?wi(e,s,n,r,i):e;var o={},a;for(a in e)o[a]=wi(e[a],s,n,r,i);return o},Sf=function(e,n,r,i,s,o){var a,l,c,u;if(mt[e]&&(a=new mt[e]).init(s,a.rawVars?n[e]:Dy(n[e],i,s,o,r),r,i,o)!==!1&&(r._pt=l=new ot(r._pt,s,e,0,1,a.render,a,0,a.priority),r!==Ir))for(c=r._ptLookup[r._targets.indexOf(s)],u=a._props.length;u--;)c[a._props[u]]=l;return a},Dn,ra,ia=function t(e,n,r){var i=e.vars,s=i.ease,o=i.startAt,a=i.immediateRender,l=i.lazy,c=i.onUpdate,u=i.runBackwards,f=i.yoyoEase,h=i.keyframes,d=i.autoRevert,m=e._dur,p=e._startAt,b=e._targets,w=e.parent,k=w&&w.data==="nested"?w.vars.targets:b,T=e._overwrite==="auto"&&!Do,x=e.timeline,y,E,P,I,v,S,N,O,B,Y,ie,Q,G;if(x&&(!h||!s)&&(s="none"),e._ease=Qn(s,Cr.ease),e._yEase=f?yf(Qn(f===!0?s:f,Cr.ease)):0,f&&e._yoyo&&!e._repeat&&(f=e._yEase,e._yEase=e._ease,e._ease=f),e._from=!x&&!!i.runBackwards,!x||h&&!i.stagger){if(O=b[0]?Gn(b[0]).harness:0,Q=O&&i[O.prop],y=Ss(i,Uo),p&&(p._zTime<0&&p.progress(1),n<0&&u&&a&&!d?p.render(-1,!0):p.revert(u&&m?bs:ly),p._lazy=0),o){if($n(e._startAt=$e.set(b,gt({data:"isStart",overwrite:!1,parent:w,immediateRender:!0,lazy:!p&&it(l),startAt:null,delay:0,onUpdate:c&&function(){return vt(e,"onUpdate")},stagger:0},o))),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Ze||!a&&!d)&&e._startAt.revert(bs),a&&m&&n<=0&&r<=0){n&&(e._zTime=n);return}}else if(u&&m&&!p){if(n&&(a=!1),P=gt({overwrite:!1,data:"isFromStart",lazy:a&&!p&&it(l),immediateRender:a,stagger:0,parent:w},y),Q&&(P[O.prop]=Q),$n(e._startAt=$e.set(b,P)),e._startAt._dp=0,e._startAt._sat=e,n<0&&(Ze?e._startAt.revert(bs):e._startAt.render(-1,!0)),e._zTime=n,!a)t(e._startAt,de,de);else if(!n)return}for(e._pt=e._ptCache=0,l=m&&it(l)||l&&!m,E=0;E<b.length;E++){if(v=b[E],N=v._gsap||Wo(b)[E]._gsap,e._ptLookup[E]=Y={},Bo[N.id]&&Pn.length&&ws(),ie=k===b?E:k.indexOf(v),O&&(B=new O).init(v,Q||y,e,ie,k)!==!1&&(e._pt=I=new ot(e._pt,v,B.name,0,1,B.render,B,0,B.priority),B._props.forEach(function(ee){Y[ee]=I}),B.priority&&(S=1)),!O||Q)for(P in y)mt[P]&&(B=Sf(P,y,e,ie,v,k))?B.priority&&(S=1):Y[P]=I=na.call(e,v,P,"get",y[P],ie,k,0,i.stringFilter);e._op&&e._op[E]&&e.kill(v,e._op[E]),T&&e._pt&&(Dn=e,ke.killTweensOf(v,Y,e.globalTime(n)),G=!e.parent,Dn=0),e._pt&&l&&(Bo[N.id]=1)}S&&Ef(e),e._onInit&&e._onInit(e)}e._onUpdate=c,e._initted=(!e._op||e._pt)&&!G,h&&n<=0&&x.render(Ot,!0,!0)},My=function(e,n,r,i,s,o,a,l){var c=(e._pt&&e._ptCache||(e._ptCache={}))[n],u,f,h,d;if(!c)for(c=e._ptCache[n]=[],h=e._ptLookup,d=e._targets.length;d--;){if(u=h[d][n],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==n&&u.fp!==n;)u=u._next;if(!u)return ra=1,e.vars[n]="+=0",ia(e,a),ra=0,l?di(n+" not eligible for reset"):1;c.push(u)}for(d=c.length;d--;)f=c[d],u=f._pt||f,u.s=(i||i===0)&&!s?i:u.s+(i||0)+o*u.c,u.c=r-u.s,f.e&&(f.e=Pe(r)+We(f.e)),f.b&&(f.b=u.s+We(f.b))},Ny=function(e,n){var r=e[0]?Gn(e[0]).harness:0,i=r&&r.aliases,s,o,a,l;if(!i)return n;s=Pr({},n);for(o in i)if(o in s)for(l=i[o].split(","),a=l.length;a--;)s[l[a]]=s[o];return s},Ry=function(e,n,r,i){var s=n.ease||i||"power1.inOut",o,a;if(He(n))a=r[e]||(r[e]=[]),n.forEach(function(l,c){return a.push({t:c/(n.length-1)*100,v:l,e:s})});else for(o in n)a=r[o]||(r[o]=[]),o==="ease"||a.push({t:parseFloat(e),v:n[o],e:s})},wi=function(e,n,r,i,s){return Ce(e)?e.call(n,r,i,s):Me(e)&&~e.indexOf("random(")?gi(e):e},kf=Ho+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Tf={};st(kf+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return Tf[t]=1});var $e=function(t){Nu(e,t);function e(r,i,s,o){var a;typeof i=="number"&&(s.duration=i,i=s,s=null),a=t.call(this,o?i:pi(i))||this;var l=a.vars,c=l.duration,u=l.delay,f=l.immediateRender,h=l.stagger,d=l.overwrite,m=l.keyframes,p=l.defaults,b=l.scrollTrigger,w=l.yoyoEase,k=i.parent||ke,T=(He(r)||Fu(r)?_n(r[0]):"length"in i)?[r]:Pt(r),x,y,E,P,I,v,S,N;if(a._targets=T.length?Wo(T):di("GSAP target "+r+" not found. https://gsap.com",!pt.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,m||h||vs(c)||vs(u)){if(i=a.vars,x=a.timeline=new Qe({data:"nested",defaults:p||{},targets:k&&k.data==="nested"?k.vars.targets:T}),x.kill(),x.parent=x._dp=pn(a),x._start=0,h||vs(c)||vs(u)){if(P=T.length,S=h&&af(h),Kt(h))for(I in h)~kf.indexOf(I)&&(N||(N={}),N[I]=h[I]);for(y=0;y<P;y++)E=Ss(i,Tf),E.stagger=0,w&&(E.yoyoEase=w),N&&Pr(E,N),v=T[y],E.duration=+wi(c,pn(a),y,v,T),E.delay=(+wi(u,pn(a),y,v,T)||0)-a._delay,!h&&P===1&&E.delay&&(a._delay=u=E.delay,a._start+=u,E.delay=0),x.to(v,E,S?S(y,v,T):0),x._ease=te.none;x.duration()?c=u=0:a.timeline=0}else if(m){pi(gt(x.vars.defaults,{ease:"none"})),x._ease=Qn(m.ease||i.ease||"none");var O=0,B,Y,ie;if(He(m))m.forEach(function(Q){return x.to(T,Q,">")}),x.duration();else{E={};for(I in m)I==="ease"||I==="easeEach"||Ry(I,m[I],E,m.easeEach);for(I in E)for(B=E[I].sort(function(Q,G){return Q.t-G.t}),O=0,y=0;y<B.length;y++)Y=B[y],ie={ease:Y.e,duration:(Y.t-(y?B[y-1].t:0))/100*c},ie[I]=Y.v,x.to(T,ie,O),O+=ie.duration;x.duration()<c&&x.to({},{duration:c-x.duration()})}}c||a.duration(c=x.duration())}else a.timeline=0;return d===!0&&!Do&&(Dn=pn(a),ke.killTweensOf(T),Dn=0),Yt(k,pn(a),s),i.reversed&&a.reverse(),i.paused&&a.paused(!0),(f||!c&&!m&&a._start===Te(k._time)&&it(f)&&py(pn(a))&&k.data!=="nested")&&(a._tTime=-de,a.render(Math.max(0,-u)||0)),b&&tf(pn(a),b),a}var n=e.prototype;return n.render=function(i,s,o){var a=this._time,l=this._tDur,c=this._dur,u=i<0,f=i>l-de&&!u?l:i<de?0:i,h,d,m,p,b,w,k,T,x;if(!c)my(this,i,s,o);else if(f!==this._tTime||!i||o||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(h=f,T=this.timeline,this._repeat){if(p=c+this._rDelay,this._repeat<-1&&u)return this.totalTime(p*100+i,s,o);if(h=Te(f%p),f===l?(m=this._repeat,h=c):(b=Te(f/p),m=~~b,m&&m===b?(h=c,m--):h>c&&(h=c)),w=this._yoyo&&m&1,w&&(x=this._yEase,h=c-h),b=$r(this._tTime,p),h===a&&!o&&this._initted&&m===b)return this._tTime=f,this;m!==b&&(T&&this._yEase&&bf(T,w),this.vars.repeatRefresh&&!w&&!this._lock&&h!==p&&this._initted&&(this._lock=o=1,this.render(Te(p*m),!0).invalidate()._lock=0))}if(!this._initted){if(nf(this,u?i:h,o,s,f))return this._tTime=0,this;if(a!==this._time&&!(o&&this.vars.repeatRefresh&&m!==b))return this;if(c!==this._dur)return this.render(i,s,o)}if(this._tTime=f,this._time=h,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=k=(x||this._ease)(h/c),this._from&&(this.ratio=k=1-k),!a&&f&&!s&&!b&&(vt(this,"onStart"),this._tTime!==f))return this;for(d=this._pt;d;)d.r(k,d.d),d=d._next;T&&T.render(i<0?i:T._dur*T._ease(h/this._dur),s,o)||this._startAt&&(this._zTime=i),this._onUpdate&&!s&&(u&&Ko(this,i,s,o),vt(this,"onUpdate")),this._repeat&&m!==b&&this.vars.onRepeat&&!s&&this.parent&&vt(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(u&&!this._onUpdate&&Ko(this,i,!0,!0),(i||!c)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&$n(this,1),!s&&!(u&&!a)&&(f||a||w)&&(vt(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f<l&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(i){return(!i||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(i),t.prototype.invalidate.call(this,i)},n.resetTo=function(i,s,o,a,l){bi||yt.wake(),this._ts||this.play();var c=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||ia(this,c),u=this._ease(c/this._dur),My(this,i,s,o,a,u,c,l)?this.resetTo(i,s,o,a,1):(Cs(this,0),this.parent||Xu(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},n.kill=function(i,s){if(s===void 0&&(s="all"),!i&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?vi(this):this.scrollTrigger&&this.scrollTrigger.kill(!!Ze),this;if(this.timeline){var o=this.timeline.totalDuration();return this.timeline.killTweensOf(i,s,Dn&&Dn.vars.overwrite!==!0)._first||vi(this),this.parent&&o!==this.timeline.totalDuration()&&Ar(this,this._dur*this.timeline._tDur/o,0,1),this}var a=this._targets,l=i?Pt(i):a,c=this._ptLookup,u=this._pt,f,h,d,m,p,b,w;if((!s||s==="all")&&dy(a,l))return s==="all"&&(this._pt=0),vi(this);for(f=this._op=this._op||[],s!=="all"&&(Me(s)&&(p={},st(s,function(k){return p[k]=1}),s=p),s=Ny(a,s)),w=a.length;w--;)if(~l.indexOf(a[w])){h=c[w],s==="all"?(f[w]=s,m=h,d={}):(d=f[w]=f[w]||{},m=s);for(p in m)b=h&&h[p],b&&((!("kill"in b.d)||b.d.kill(p)===!0)&&ks(this,b,"_pt"),delete h[p]),d!=="all"&&(d[p]=1)}return this._initted&&!this._pt&&u&&vi(this),this},e.to=function(i,s){return new e(i,s,arguments[2])},e.from=function(i,s){return _i(1,arguments)},e.delayedCall=function(i,s,o,a){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:i,onComplete:s,onReverseComplete:s,onCompleteParams:o,onReverseCompleteParams:o,callbackScope:a})},e.fromTo=function(i,s,o){return _i(2,arguments)},e.set=function(i,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(i,s)},e.killTweensOf=function(i,s,o){return ke.killTweensOf(i,s,o)},e}(xi);gt($e.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),st("staggerTo,staggerFrom,staggerFromTo",function(t){$e[t]=function(){var e=new Qe,n=Yo.call(arguments,0);return n.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,n)}});var sa=function(e,n,r){return e[n]=r},zf=function(e,n,r){return e[n](r)},Fy=function(e,n,r,i){return e[n](i.fp,r)},Zy=function(e,n,r){return e.setAttribute(n,r)},oa=function(e,n){return Ce(e[n])?zf:No(e[n])&&e.setAttribute?Zy:sa},Cf=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e6)/1e6,n)},Ly=function(e,n){return n.set(n.t,n.p,!!(n.s+n.c*e),n)},Of=function(e,n){var r=n._pt,i="";if(!e&&n.b)i=n.b;else if(e===1&&n.e)i=n.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*e):Math.round((r.s+r.c*e)*1e4)/1e4)+i,r=r._next;i+=n.c}n.set(n.t,n.p,i,n)},aa=function(e,n){for(var r=n._pt;r;)r.r(e,r.d),r=r._next},jy=function(e,n,r,i){for(var s=this._pt,o;s;)o=s._next,s.p===i&&s.modifier(e,n,r),s=o},Uy=function(e){for(var n=this._pt,r,i;n;)i=n._next,n.p===e&&!n.op||n.op===e?ks(this,n,"_pt"):n.dep||(r=1),n=i;return!r},By=function(e,n,r,i){i.mSet(e,n,i.m.call(i.tween,r,i.mt),i)},Ef=function(e){for(var n=e._pt,r,i,s,o;n;){for(r=n._next,i=s;i&&i.pr>n.pr;)i=i._next;(n._prev=i?i._prev:o)?n._prev._next=n:s=n,(n._next=i)?i._prev=n:o=n,n=r}e._pt=s},ot=function(){function t(n,r,i,s,o,a,l,c,u){this.t=r,this.s=s,this.c=o,this.p=i,this.r=a||Cf,this.d=l||this,this.set=c||sa,this.pr=u||0,this._next=n,n&&(n._prev=this)}var e=t.prototype;return e.modifier=function(r,i,s){this.mSet=this.mSet||this.set,this.set=By,this.m=r,this.mt=s,this.tween=i},t}();st(Ho+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(t){return Uo[t]=1}),_t.TweenMax=_t.TweenLite=$e,_t.TimelineLite=_t.TimelineMax=Qe,ke=new Qe({sortChildren:!1,defaults:Cr,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),pt.stringFilter=vf;var tr=[],Os={},Vy=[],Pf=0,Hy=0,la=function(e){return(Os[e]||Vy).map(function(n){return n()})},ca=function(){var e=Date.now(),n=[];e-Pf>2&&(la("matchMediaInit"),tr.forEach(function(r){var i=r.queries,s=r.conditions,o,a,l,c;for(a in i)o=qt.matchMedia(i[a]).matches,o&&(l=1),o!==s[a]&&(s[a]=o,c=1);c&&(r.revert(),l&&n.push(r))}),la("matchMediaRevert"),n.forEach(function(r){return r.onMatch(r,function(i){return r.add(null,i)})}),Pf=e,la("matchMedia"))},$f=function(){function t(n,r){this.selector=r&&Go(r),this.data=[],this._r=[],this.isReverted=!1,this.id=Hy++,n&&this.add(n)}var e=t.prototype;return e.add=function(r,i,s){Ce(r)&&(s=i,i=r,r=Ce);var o=this,a=function(){var c=xe,u=o.selector,f;return c&&c!==o&&c.data.push(o),s&&(o.selector=Go(s)),xe=o,f=i.apply(o,arguments),Ce(f)&&o._r.push(f),xe=c,o.selector=u,o.isReverted=!1,f};return o.last=a,r===Ce?a(o,function(l){return o.add(null,l)}):r?o[r]=a:a},e.ignore=function(r){var i=xe;xe=null,r(this),xe=i},e.getTweens=function(){var r=[];return this.data.forEach(function(i){return i instanceof t?r.push.apply(r,i.getTweens()):i instanceof $e&&!(i.parent&&i.parent.data==="nested")&&r.push(i)}),r},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(r,i){var s=this;if(r?function(){for(var a=s.getTweens(),l=s.data.length,c;l--;)c=s.data[l],c.data==="isFlip"&&(c.revert(),c.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}));for(a.map(function(u){return{g:u._dur||u._delay||u._sat&&!u._sat.vars.immediateRender?u.globalTime(0):-1/0,t:u}}).sort(function(u,f){return f.g-u.g||-1/0}).forEach(function(u){return u.t.revert(r)}),l=s.data.length;l--;)c=s.data[l],c instanceof Qe?c.data!=="nested"&&(c.scrollTrigger&&c.scrollTrigger.revert(),c.kill()):!(c instanceof $e)&&c.revert&&c.revert(r);s._r.forEach(function(u){return u(r,s)}),s.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),i)for(var o=tr.length;o--;)tr[o].id===this.id&&tr.splice(o,1)},e.revert=function(r){this.kill(r||{})},t}(),Wy=function(){function t(n){this.contexts=[],this.scope=n,xe&&xe.data.push(this)}var e=t.prototype;return e.add=function(r,i,s){Kt(r)||(r={matches:r});var o=new $f(0,s||this.scope),a=o.conditions={},l,c,u;xe&&!o.selector&&(o.selector=xe.selector),this.contexts.push(o),i=o.add("onMatch",i),o.queries=r;for(c in r)c==="all"?u=1:(l=qt.matchMedia(r[c]),l&&(tr.indexOf(o)<0&&tr.push(o),(a[c]=l.matches)&&(u=1),l.addListener?l.addListener(ca):l.addEventListener("change",ca)));return u&&i(o,function(f){return o.add(null,f)}),this},e.revert=function(r){this.kill(r||{})},e.kill=function(r){this.contexts.forEach(function(i){return i.kill(r,!0)})},t}(),Es={registerPlugin:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];n.forEach(function(i){return pf(i)})},timeline:function(e){return new Qe(e)},getTweensOf:function(e,n){return ke.getTweensOf(e,n)},getProperty:function(e,n,r,i){Me(e)&&(e=Pt(e)[0]);var s=Gn(e||{}).get,o=r?Yu:qu;return r==="native"&&(r=""),e&&(n?o((mt[n]&&mt[n].get||s)(e,n,r,i)):function(a,l,c){return o((mt[a]&&mt[a].get||s)(e,a,l,c))})},quickSetter:function(e,n,r){if(e=Pt(e),e.length>1){var i=e.map(function(u){return at.quickSetter(u,n,r)}),s=i.length;return function(u){for(var f=s;f--;)i[f](u)}}e=e[0]||{};var o=mt[n],a=Gn(e),l=a.harness&&(a.harness.aliases||{})[n]||n,c=o?function(u){var f=new o;Ir._pt=0,f.init(e,r?u+r:u,Ir,0,[e]),f.render(1,f),Ir._pt&&aa(1,Ir)}:a.set(e,l);return o?c:function(u){return c(e,l,r?u+r:u,a,1)}},quickTo:function(e,n,r){var i,s=at.to(e,gt((i={},i[n]="+=0.1",i.paused=!0,i.stagger=0,i),r||{})),o=function(l,c,u){return s.resetTo(n,l,c,u)};return o.tween=s,o},isTweening:function(e){return ke.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Qn(e.ease,Cr.ease)),Gu(Cr,e||{})},config:function(e){return Gu(pt,e||{})},registerEffect:function(e){var n=e.name,r=e.effect,i=e.plugins,s=e.defaults,o=e.extendTimeline;(i||"").split(",").forEach(function(a){return a&&!mt[a]&&!_t[a]&&di(n+" effect requires "+a+" plugin.")}),Vo[n]=function(a,l,c){return r(Pt(a),gt(l||{},s),c)},o&&(Qe.prototype[n]=function(a,l,c){return this.add(Vo[n](a,Kt(l)?l:(c=l)&&{},this),c)})},registerEase:function(e,n){te[e]=Qn(n)},parseEase:function(e,n){return arguments.length?Qn(e,n):te},getById:function(e){return ke.getById(e)},exportRoot:function(e,n){e===void 0&&(e={});var r=new Qe(e),i,s;for(r.smoothChildTiming=it(e.smoothChildTiming),ke.remove(r),r._dp=0,r._time=r._tTime=ke._time,i=ke._first;i;)s=i._next,(n||!(!i._dur&&i instanceof $e&&i.vars.onComplete===i._targets[0]))&&Yt(r,i,i._start-i._delay),i=s;return Yt(ke,r,0),r},context:function(e,n){return e?new $f(e,n):xe},matchMedia:function(e){return new Wy(e)},matchMediaRefresh:function(){return tr.forEach(function(e){var n=e.conditions,r,i;for(i in n)n[i]&&(n[i]=!1,r=1);r&&e.revert()})||ca()},addEventListener:function(e,n){var r=Os[e]||(Os[e]=[]);~r.indexOf(n)||r.push(n)},removeEventListener:function(e,n){var r=Os[e],i=r&&r.indexOf(n);i>=0&&r.splice(i,1)},utils:{wrap:ky,wrapYoyo:Ty,distribute:af,random:cf,snap:lf,normalize:Sy,getUnit:We,clamp:yy,splitColor:_f,toArray:Pt,selector:Go,mapRange:ff,pipe:xy,unitize:wy,interpolate:zy,shuffle:of},install:Bu,effects:Vo,ticker:yt,updateRoot:Qe.updateRoot,plugins:mt,globalTimeline:ke,core:{PropTween:ot,globals:Vu,Tween:$e,Timeline:Qe,Animation:xi,getCache:Gn,_removeLinkedListItem:ks,reverting:function(){return Ze},context:function(e){return e&&xe&&(xe.data.push(e),e._ctx=xe),xe},suppressOverwrites:function(e){return Do=e}}};st("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Es[t]=$e[t]}),yt.add(Qe.updateRoot),Ir=Es.to({},{duration:0});var Jy=function(e,n){for(var r=e._pt;r&&r.p!==n&&r.op!==n&&r.fp!==n;)r=r._next;return r},Ky=function(e,n){var r=e._targets,i,s,o;for(i in n)for(s=r.length;s--;)o=e._ptLookup[s][i],o&&(o=o.d)&&(o._pt&&(o=Jy(o,i)),o&&o.modifier&&o.modifier(n[i],e,r[s],i))},ua=function(e,n){return{name:e,headless:1,rawVars:1,init:function(i,s,o){o._onInit=function(a){var l,c;if(Me(s)&&(l={},st(s,function(u){return l[u]=1}),s=l),n){l={};for(c in s)l[c]=n(s[c]);s=l}Ky(a,s)}}}},at=Es.registerPlugin({name:"attr",init:function(e,n,r,i,s){var o,a,l;this.tween=r;for(o in n)l=e.getAttribute(o)||"",a=this.add(e,"setAttribute",(l||0)+"",n[o],i,s,0,0,o),a.op=o,a.b=l,this._props.push(o)},render:function(e,n){for(var r=n._pt;r;)Ze?r.set(r.t,r.p,r.b,r):r.r(e,r.d),r=r._next}},{name:"endArray",headless:1,init:function(e,n){for(var r=n.length;r--;)this.add(e,r,e[r]||0,n[r],0,0,0,0,0,1)}},ua("roundProps",Xo),ua("modifiers"),ua("snap",lf))||Es;$e.version=Qe.version=at.version="3.14.2",Uu=1,Ro()&&Dr(),te.Power0,te.Power1,te.Power2,te.Power3,te.Power4,te.Linear,te.Quad,te.Cubic,te.Quart,te.Quint,te.Strong,te.Elastic,te.Back,te.SteppedEase,te.Bounce,te.Sine,te.Expo,te.Circ;/*!
|
|
49
49
|
* CSSPlugin 3.14.2
|
|
50
50
|
* https://gsap.com
|
|
51
51
|
*
|
|
52
52
|
* Copyright 2008-2025, GreenSock. All rights reserved.
|
|
53
53
|
* Subject to the terms at https://gsap.com/standard-license
|
|
54
54
|
* @author: Jack Doyle, jack@greensock.com
|
|
55
|
-
*/var Ef,Dn,Ar,ua,tr,Pf,fa,Ky=function(){return typeof window<"u"},pn={},nr=180/Math.PI,Ir=Math.PI/180,Dr=Math.atan2,$f=1e8,da=/([A-Z])/g,qy=/(left|right|width|margin|padding|x)/i,Yy=/[\s,\(]\S/,Yt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},ha=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},Gy=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},Xy=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},Qy=function(e,n){return n.set(n.t,n.p,e===1?n.e:e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},eb=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},Af=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},If=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},tb=function(e,n,r){return e.style[n]=r},nb=function(e,n,r){return e.style.setProperty(n,r)},rb=function(e,n,r){return e._gsap[n]=r},ib=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},sb=function(e,n,r,i,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},ob=function(e,n,r,i,s){var o=e._gsap;o[n]=r,o.renderTransform(s,o)},ze="transform",lt=ze+"Origin",ab=function t(e,n){var r=this,i=this.target,s=i.style,o=i._gsap;if(e in pn&&s){if(this.tfm=this.tfm||{},e!=="transform")e=Yt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=_n(i,a)}):this.tfm[e]=o.x?o[e]:_n(i,e),e===lt&&(this.tfm.zOrigin=o.zOrigin);else return Yt.transform.split(",").forEach(function(a){return t.call(r,a,n)});if(this.props.indexOf(ze)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(lt,n,"")),e=ze}(s||n)&&this.props.push(e,n,s[e])},Df=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},lb=function(){var e=this.props,n=this.target,r=n.style,i=n._gsap,s,o;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?n[e[s]](e[s+2]):n[e[s]]=e[s+2]:e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(da,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)i[o]=this.tfm[o];i.svg&&(i.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),s=fa(),(!s||!s.isStart)&&!r[ze]&&(Df(r),i.zOrigin&&r[lt]&&(r[lt]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},Mf=function(e,n){var r={target:e,props:[],revert:lb,save:ab};return e._gsap||at.core.getCache(e),n&&e.style&&e.nodeType&&n.split(",").forEach(function(i){return r.save(i)}),r},Nf,pa=function(e,n){var r=Dn.createElementNS?Dn.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Dn.createElement(e);return r&&r.style?r:Dn.createElement(e)},bt=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(da,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,Mr(n)||n,1)||""},Rf="O,Moz,ms,Ms,Webkit".split(","),Mr=function(e,n,r){var i=n||tr,s=i.style,o=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Rf[o]+e in s););return o<0?null:(o===3?"ms":o>=0?Rf[o]:"")+e},_a=function(){Ky()&&window.document&&(Ef=window,Dn=Ef.document,Ar=Dn.documentElement,tr=pa("div")||{style:{}},pa("div"),ze=Mr(ze),lt=ze+"Origin",tr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Nf=!!Mr("perspective"),fa=at.core.reverting,ua=1)},Ff=function(e){var n=e.ownerSVGElement,r=pa("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),s;i.style.display="block",r.appendChild(i),Ar.appendChild(r);try{s=i.getBBox()}catch{}return r.removeChild(i),Ar.removeChild(r),s},Zf=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},Lf=function(e){var n,r;try{n=e.getBBox()}catch{n=Ff(e),r=1}return n&&(n.width||n.height)||r||(n=Ff(e)),n&&!n.width&&!n.x&&!n.y?{x:+Zf(e,["x","cx","x1"])||0,y:+Zf(e,["y","cy","y1"])||0,width:0,height:0}:n},jf=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Lf(e))},Mn=function(e,n){if(n){var r=e.style,i;n in pn&&n!==lt&&(n=ze),r.removeProperty?(i=n.substr(0,2),(i==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(i==="--"?n:n.replace(da,"-$1").toLowerCase())):r.removeAttribute(n)}},Nn=function(e,n,r,i,s,o){var a=new ot(e._pt,n,r,0,1,o?If:Af);return e._pt=a,a.b=i,a.e=s,e._props.push(r),a},Uf={deg:1,rad:1,turn:1},cb={grid:1,flex:1},Rn=function t(e,n,r,i){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=tr.style,l=qy.test(n),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),f=100,h=i==="px",d=i==="%",m,p,y,x;if(i===o||!s||Uf[i]||Uf[o])return s;if(o!=="px"&&!h&&(s=t(e,n,r,"px")),x=e.getCTM&&jf(e),(d||o==="%")&&(pn[n]||~n.indexOf("adius")))return m=x?e.getBBox()[l?"width":"height"]:e[c],Ee(d?s/m*f:s/100*m);if(a[l?"width":"height"]=f+(h?o:i),p=i!=="rem"&&~n.indexOf("adius")||i==="em"&&e.appendChild&&!u?e:e.parentNode,x&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===Dn||!p.appendChild)&&(p=Dn.body),y=p._gsap,y&&d&&y.width&&l&&y.time===yt.time&&!y.uncache)return Ee(s/y.width*f);if(d&&(n==="height"||n==="width")){var S=e.style[n];e.style[n]=f+i,m=e[c],S?e.style[n]=S:Mn(e,n)}else(d||o==="%")&&!cb[bt(p,"display")]&&(a.position=bt(e,"position")),p===e&&(a.position="static"),p.appendChild(tr),m=tr[c],p.removeChild(tr),a.position="absolute";return l&&d&&(y=Yn(p),y.time=yt.time,y.width=p[c]),Ee(h?m*s/f:m&&s?f/m*s:0)},_n=function(e,n,r,i){var s;return ua||_a(),n in Yt&&n!=="transform"&&(n=Yt[n],~n.indexOf(",")&&(n=n.split(",")[0])),pn[n]&&n!=="transform"?(s=xi(e,i),s=n!=="transformOrigin"?s[n]:s.svg?s.origin:Es(bt(e,lt))+" "+s.zOrigin+"px"):(s=e.style[n],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=Os[n]&&Os[n](e,n,r)||bt(e,n)||Bu(e,n)||(n==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?Rn(e,n,s,r)+r:s},ub=function(e,n,r,i){if(!r||r==="none"){var s=Mr(n,e,1),o=s&&bt(e,s,1);o&&o!==r?(n=s,r=o):n==="borderColor"&&(r=bt(e,"borderTopColor"))}var a=new ot(this._pt,e.style,n,0,1,Tf),l=0,u=0,c,f,h,d,m,p,y,x,S,k,b,v;if(a.b=r,a.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=bt(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(p=e.style[n],e.style[n]=i,i=bt(e,n)||i,p?e.style[n]=p:Mn(e,n)),c=[r,i],_f(c),r=c[0],i=c[1],h=r.match(Tr)||[],v=i.match(Tr)||[],v.length){for(;f=Tr.exec(i);)y=f[0],S=i.substring(l,f.index),m?m=(m+1)%5:(S.substr(-5)==="rgba("||S.substr(-5)==="hsla(")&&(m=1),y!==(p=h[u++]||"")&&(d=parseFloat(p)||0,b=p.substr((d+"").length),y.charAt(1)==="="&&(y=zr(d,y)+b),x=parseFloat(y),k=y.substr((x+"").length),l=Tr.lastIndex-k.length,k||(k=k||pt.units[n]||b,l===i.length&&(i+=k,a.e+=k)),b!==k&&(d=Rn(e,n,p,k)||0),a._pt={_next:a._pt,p:S||u===1?S:",",s:d,c:x-d,m:m&&m<4||n==="zIndex"?Math.round:0});a.c=l<i.length?i.substring(l,i.length):""}else a.r=n==="display"&&i==="none"?If:Af;return Fu.test(i)&&(a.e=0),this._pt=a,a},Vf={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},fb=function(e){var n=e.split(" "),r=n[0],i=n[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),n[0]=Vf[r]||r,n[1]=Vf[i]||i,n.join(" ")},db=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,i=r.style,s=n.u,o=r._gsap,a,l,u;if(s==="all"||s===!0)i.cssText="",l=1;else for(s=s.split(","),u=s.length;--u>-1;)a=s[u],pn[a]&&(l=1,a=a==="transformOrigin"?lt:ze),Mn(r,a);l&&(Mn(r,ze),o&&(o.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",xi(r,1),o.uncache=1,Df(i)))}},Os={clearProps:function(e,n,r,i,s){if(s.data!=="isFromStart"){var o=e._pt=new ot(e._pt,n,r,0,0,db);return o.u=i,o.pr=-10,o.tween=s,e._props.push(r),1}}},bi=[1,0,0,1,0,0],Bf={},Hf=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Wf=function(e){var n=bt(e,ze);return Hf(n)?bi:n.substr(7).match(Ru).map(Ee)},ma=function(e,n){var r=e._gsap||Yn(e),i=e.style,s=Wf(e),o,a,l,u;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?bi:s):(s===bi&&!e.offsetParent&&e!==Ar&&!r.svg&&(l=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(u=1,a=e.nextElementSibling,Ar.appendChild(e)),s=Wf(e),l?i.display=l:Mn(e,"display"),u&&(a?o.insertBefore(e,a):o?o.appendChild(e):Ar.removeChild(e))),n&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},ga=function(e,n,r,i,s,o){var a=e._gsap,l=s||ma(e,!0),u=a.xOrigin||0,c=a.yOrigin||0,f=a.xOffset||0,h=a.yOffset||0,d=l[0],m=l[1],p=l[2],y=l[3],x=l[4],S=l[5],k=n.split(" "),b=parseFloat(k[0])||0,v=parseFloat(k[1])||0,E,$,M,w;r?l!==bi&&($=d*y-m*p)&&(M=b*(y/$)+v*(-p/$)+(p*S-y*x)/$,w=b*(-m/$)+v*(d/$)-(d*S-m*x)/$,b=M,v=w):(E=Lf(e),b=E.x+(~k[0].indexOf("%")?b/100*E.width:b),v=E.y+(~(k[1]||k[0]).indexOf("%")?v/100*E.height:v)),i||i!==!1&&a.smooth?(x=b-u,S=v-c,a.xOffset=f+(x*d+S*p)-x,a.yOffset=h+(x*m+S*y)-S):a.xOffset=a.yOffset=0,a.xOrigin=b,a.yOrigin=v,a.smooth=!!i,a.origin=n,a.originIsAbsolute=!!r,e.style[lt]="0px 0px",o&&(Nn(o,a,"xOrigin",u,b),Nn(o,a,"yOrigin",c,v),Nn(o,a,"xOffset",f,a.xOffset),Nn(o,a,"yOffset",h,a.yOffset)),e.setAttribute("data-svg-origin",b+" "+v)},xi=function(e,n){var r=e._gsap||new yf(e);if("x"in r&&!n&&!r.uncache)return r;var i=e.style,s=r.scaleX<0,o="px",a="deg",l=getComputedStyle(e),u=bt(e,lt)||"0",c,f,h,d,m,p,y,x,S,k,b,v,E,$,M,w,C,N,O,V,G,ie,X,Y,ee,$t,Xt,xt,Me,Ti,Nt,mn;return c=f=h=p=y=x=S=k=b=0,d=m=1,r.svg=!!(e.getCTM&&jf(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[ze]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[ze]!=="none"?l[ze]:"")),i.scale=i.rotate=i.translate="none"),$=ma(e,r.svg),r.svg&&(r.uncache?(ee=e.getBBox(),u=r.xOrigin-ee.x+"px "+(r.yOrigin-ee.y)+"px",Y=""):Y=!n&&e.getAttribute("data-svg-origin"),ga(e,Y||u,!!Y||r.originIsAbsolute,r.smooth!==!1,$)),v=r.xOrigin||0,E=r.yOrigin||0,$!==bi&&(N=$[0],O=$[1],V=$[2],G=$[3],c=ie=$[4],f=X=$[5],$.length===6?(d=Math.sqrt(N*N+O*O),m=Math.sqrt(G*G+V*V),p=N||O?Dr(O,N)*nr:0,S=V||G?Dr(V,G)*nr+p:0,S&&(m*=Math.abs(Math.cos(S*Ir))),r.svg&&(c-=v-(v*N+E*V),f-=E-(v*O+E*G))):(mn=$[6],Ti=$[7],Xt=$[8],xt=$[9],Me=$[10],Nt=$[11],c=$[12],f=$[13],h=$[14],M=Dr(mn,Me),y=M*nr,M&&(w=Math.cos(-M),C=Math.sin(-M),Y=ie*w+Xt*C,ee=X*w+xt*C,$t=mn*w+Me*C,Xt=ie*-C+Xt*w,xt=X*-C+xt*w,Me=mn*-C+Me*w,Nt=Ti*-C+Nt*w,ie=Y,X=ee,mn=$t),M=Dr(-V,Me),x=M*nr,M&&(w=Math.cos(-M),C=Math.sin(-M),Y=N*w-Xt*C,ee=O*w-xt*C,$t=V*w-Me*C,Nt=G*C+Nt*w,N=Y,O=ee,V=$t),M=Dr(O,N),p=M*nr,M&&(w=Math.cos(M),C=Math.sin(M),Y=N*w+O*C,ee=ie*w+X*C,O=O*w-N*C,X=X*w-ie*C,N=Y,ie=ee),y&&Math.abs(y)+Math.abs(p)>359.9&&(y=p=0,x=180-x),d=Ee(Math.sqrt(N*N+O*O+V*V)),m=Ee(Math.sqrt(X*X+mn*mn)),M=Dr(ie,X),S=Math.abs(M)>2e-4?M*nr:0,b=Nt?1/(Nt<0?-Nt:Nt):0),r.svg&&(Y=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Hf(bt(e,ze)),Y&&e.setAttribute("transform",Y))),Math.abs(S)>90&&Math.abs(S)<270&&(s?(d*=-1,S+=p<=0?180:-180,p+=p<=0?180:-180):(m*=-1,S+=S<=0?180:-180)),n=n||r.uncache,r.x=c-((r.xPercent=c&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=f-((r.yPercent=f&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=h+o,r.scaleX=Ee(d),r.scaleY=Ee(m),r.rotation=Ee(p)+a,r.rotationX=Ee(y)+a,r.rotationY=Ee(x)+a,r.skewX=S+a,r.skewY=k+a,r.transformPerspective=b+o,(r.zOrigin=parseFloat(u.split(" ")[2])||!n&&r.zOrigin||0)&&(i[lt]=Es(u)),r.xOffset=r.yOffset=0,r.force3D=pt.force3D,r.renderTransform=r.svg?pb:Nf?Jf:hb,r.uncache=0,r},Es=function(e){return(e=e.split(" "))[0]+" "+e[1]},va=function(e,n,r){var i=We(n);return Ee(parseFloat(n)+parseFloat(Rn(e,"x",r+"px",i)))+i},hb=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,Jf(e,n)},rr="0deg",wi="0px",ir=") ",Jf=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.z,u=r.rotation,c=r.rotationY,f=r.rotationX,h=r.skewX,d=r.skewY,m=r.scaleX,p=r.scaleY,y=r.transformPerspective,x=r.force3D,S=r.target,k=r.zOrigin,b="",v=x==="auto"&&e&&e!==1||x===!0;if(k&&(f!==rr||c!==rr)){var E=parseFloat(c)*Ir,$=Math.sin(E),M=Math.cos(E),w;E=parseFloat(f)*Ir,w=Math.cos(E),o=va(S,o,$*w*-k),a=va(S,a,-Math.sin(E)*-k),l=va(S,l,M*w*-k+k)}y!==wi&&(b+="perspective("+y+ir),(i||s)&&(b+="translate("+i+"%, "+s+"%) "),(v||o!==wi||a!==wi||l!==wi)&&(b+=l!==wi||v?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+ir),u!==rr&&(b+="rotate("+u+ir),c!==rr&&(b+="rotateY("+c+ir),f!==rr&&(b+="rotateX("+f+ir),(h!==rr||d!==rr)&&(b+="skew("+h+", "+d+ir),(m!==1||p!==1)&&(b+="scale("+m+", "+p+ir),S.style[ze]=b||"translate(0, 0)"},pb=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.rotation,u=r.skewX,c=r.skewY,f=r.scaleX,h=r.scaleY,d=r.target,m=r.xOrigin,p=r.yOrigin,y=r.xOffset,x=r.yOffset,S=r.forceCSS,k=parseFloat(o),b=parseFloat(a),v,E,$,M,w;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=Ir,u*=Ir,v=Math.cos(l)*f,E=Math.sin(l)*f,$=Math.sin(l-u)*-h,M=Math.cos(l-u)*h,u&&(c*=Ir,w=Math.tan(u-c),w=Math.sqrt(1+w*w),$*=w,M*=w,c&&(w=Math.tan(c),w=Math.sqrt(1+w*w),v*=w,E*=w)),v=Ee(v),E=Ee(E),$=Ee($),M=Ee(M)):(v=f,M=h,E=$=0),(k&&!~(o+"").indexOf("px")||b&&!~(a+"").indexOf("px"))&&(k=Rn(d,"x",o,"px"),b=Rn(d,"y",a,"px")),(m||p||y||x)&&(k=Ee(k+m-(m*v+p*$)+y),b=Ee(b+p-(m*E+p*M)+x)),(i||s)&&(w=d.getBBox(),k=Ee(k+i/100*w.width),b=Ee(b+s/100*w.height)),w="matrix("+v+","+E+","+$+","+M+","+k+","+b+")",d.setAttribute("transform",w),S&&(d.style[ze]=w)},_b=function(e,n,r,i,s){var o=360,a=De(s),l=parseFloat(s)*(a&&~s.indexOf("rad")?nr:1),u=l-i,c=i+u+"deg",f,h;return a&&(f=s.split("_")[1],f==="short"&&(u%=o,u!==u%(o/2)&&(u+=u<0?o:-o)),f==="cw"&&u<0?u=(u+o*$f)%o-~~(u/o)*o:f==="ccw"&&u>0&&(u=(u-o*$f)%o-~~(u/o)*o)),e._pt=h=new ot(e._pt,n,r,i,u,Gy),h.e=c,h.u="deg",e._props.push(r),h},Kf=function(e,n){for(var r in n)e[r]=n[r];return e},mb=function(e,n,r){var i=Kf({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,l,u,c,f,h,d,m;i.svg?(u=r.getAttribute("transform"),r.setAttribute("transform",""),o[ze]=n,a=xi(r,1),Mn(r,ze),r.setAttribute("transform",u)):(u=getComputedStyle(r)[ze],o[ze]=n,a=xi(r,1),o[ze]=u);for(l in pn)u=i[l],c=a[l],u!==c&&s.indexOf(l)<0&&(d=We(u),m=We(c),f=d!==m?Rn(r,l,u,m):parseFloat(u),h=parseFloat(c),e._pt=new ot(e._pt,a,l,f,h-f,ha),e._pt.u=m||0,e._props.push(l));Kf(a,i)};st("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",i="Bottom",s="Left",o=(e<3?[n,r,i,s]:[n+s,n+r,i+r,i+s]).map(function(a){return e<2?t+a:"border"+a+t});Os[e>1?"border"+t:t]=function(a,l,u,c,f){var h,d;if(arguments.length<4)return h=o.map(function(m){return _n(a,m,u)}),d=h.join(" "),d.split(h[0]).length===5?h[0]:d;h=(c+"").split(" "),d={},o.forEach(function(m,p){return d[m]=h[p]=h[p]||h[(p-1)/2|0]}),a.init(l,d,f)}});var qf={name:"css",register:_a,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,i,s){var o=this._props,a=e.style,l=r.vars.startAt,u,c,f,h,d,m,p,y,x,S,k,b,v,E,$,M,w;ua||_a(),this.styles=this.styles||Mf(e),M=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(c=n[p],!(mt[p]&&bf(p,n,r,i,e,s)))){if(d=typeof c,m=Os[p],d==="function"&&(c=c.call(r,i,e,s),d=typeof c),d==="string"&&~c.indexOf("random(")&&(c=pi(c)),m)m(this,e,p,c,r)&&($=1);else if(p.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(p)+"").trim(),c+="",An.lastIndex=0,An.test(u)||(y=We(u),x=We(c),x?y!==x&&(u=Rn(e,p,u,x)+x):y&&(c+=y)),this.add(a,"setProperty",u,c,i,s,0,0,p),o.push(p),M.push(p,0,a[p]);else if(d!=="undefined"){if(l&&p in l?(u=typeof l[p]=="function"?l[p].call(r,i,e,s):l[p],De(u)&&~u.indexOf("random(")&&(u=pi(u)),We(u+"")||u==="auto"||(u+=pt.units[p]||We(_n(e,p))||""),(u+"").charAt(1)==="="&&(u=_n(e,p))):u=_n(e,p),h=parseFloat(u),S=d==="string"&&c.charAt(1)==="="&&c.substr(0,2),S&&(c=c.substr(2)),f=parseFloat(c),p in Yt&&(p==="autoAlpha"&&(h===1&&_n(e,"visibility")==="hidden"&&f&&(h=0),M.push("visibility",0,a.visibility),Nn(this,a,"visibility",h?"inherit":"hidden",f?"inherit":"hidden",!f)),p!=="scale"&&p!=="transform"&&(p=Yt[p],~p.indexOf(",")&&(p=p.split(",")[0]))),k=p in pn,k){if(this.styles.save(p),w=c,d==="string"&&c.substring(0,6)==="var(--"){if(c=bt(e,c.substring(4,c.indexOf(")"))),c.substring(0,5)==="calc("){var C=e.style.perspective;e.style.perspective=c,c=bt(e,"perspective"),C?e.style.perspective=C:Mn(e,"perspective")}f=parseFloat(c)}if(b||(v=e._gsap,v.renderTransform&&!n.parseTransform||xi(e,n.parseTransform),E=n.smoothOrigin!==!1&&v.smooth,b=this._pt=new ot(this._pt,a,ze,0,1,v.renderTransform,v,0,-1),b.dep=1),p==="scale")this._pt=new ot(this._pt,v,"scaleY",v.scaleY,(S?zr(v.scaleY,S+f):f)-v.scaleY||0,ha),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){M.push(lt,0,a[lt]),c=fb(c),v.svg?ga(e,c,0,E,0,this):(x=parseFloat(c.split(" ")[2])||0,x!==v.zOrigin&&Nn(this,v,"zOrigin",v.zOrigin,x),Nn(this,a,p,Es(u),Es(c)));continue}else if(p==="svgOrigin"){ga(e,c,1,E,0,this);continue}else if(p in Bf){_b(this,v,p,h,S?zr(h,S+c):c);continue}else if(p==="smoothOrigin"){Nn(this,v,"smooth",v.smooth,c);continue}else if(p==="force3D"){v[p]=c;continue}else if(p==="transform"){mb(this,c,e);continue}}else p in a||(p=Mr(p)||p);if(k||(f||f===0)&&(h||h===0)&&!Yy.test(c)&&p in a)y=(u+"").substr((h+"").length),f||(f=0),x=We(c)||(p in pt.units?pt.units[p]:y),y!==x&&(h=Rn(e,p,u,x)),this._pt=new ot(this._pt,k?v:a,p,h,(S?zr(h,S+f):f)-h,!k&&(x==="px"||p==="zIndex")&&n.autoRound!==!1?eb:ha),this._pt.u=x||0,k&&w!==c?(this._pt.b=u,this._pt.e=w,this._pt.r=Qy):y!==x&&x!=="%"&&(this._pt.b=u,this._pt.r=Xy);else if(p in a)ub.call(this,e,p,u,S?S+c:c);else if(p in e)this.add(e,p,u||e[p],S?S+c:c,i,s);else if(p!=="parseTransform"){Lo(p,c);continue}k||(p in a?M.push(p,0,a[p]):typeof e[p]=="function"?M.push(p,2,e[p]()):M.push(p,1,u||e[p])),o.push(p)}}$&&zf(this)},render:function(e,n){if(n.tween._time||!fa())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:_n,aliases:Yt,getSetter:function(e,n,r){var i=Yt[n];return i&&i.indexOf(",")<0&&(n=i),n in pn&&n!==lt&&(e._gsap.x||_n(e,"x"))?r&&Pf===r?n==="scale"?ib:rb:(Pf=r||{})&&(n==="scale"?sb:ob):e.style&&!Mo(e.style[n])?tb:~n.indexOf("-")?nb:sa(e,n)},core:{_removeProperty:Mn,_getMatrix:ma}};at.utils.checkPrefix=Mr,at.core.getStyleSaver=Mf,function(t,e,n,r){var i=st(t+","+e+","+n,function(s){pn[s]=1});st(e,function(s){pt.units[s]="deg",Bf[s]=1}),Yt[i[13]]=t+","+e,st(r,function(s){var o=s.split(":");Yt[o[1]]=i[o[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),st("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){pt.units[t]="px"}),at.registerPlugin(qf);var Gt=at.registerPlugin(qf)||at;Gt.core.Tween;const gb={class:"h-full w-full relative flex flex-col bg-[#030303] text-white overflow-hidden"},vb={class:"absolute inset-0 z-0 overflow-hidden pointer-events-none"},yb={key:0,class:"absolute top-0 right-0 p-6 z-50 flex gap-4 pointer-events-auto"},bb={class:"relative h-full w-full md:w-[450px] bg-[#0a0a0a]/95 border-l border-white/10 shadow-2xl overflow-auto text-left flex flex-col transform transition-transform duration-300"},xb={class:"p-6 pb-2 border-b border-white/5 flex items-center justify-between shrink-0"},wb={class:"p-6"},Sb={class:"text-[10px] font-mono text-green-400 whitespace-pre-wrap"},kb={class:"flex-1 w-full relative overflow-y-auto overflow-x-hidden z-10 scroll-smooth"},Tb={key:1,class:"absolute bottom-0 left-0 w-full z-40 px-8 py-6 bg-gradient-to-t from-black via-black/80 to-transparent flex justify-between items-end pointer-events-none"},zb={key:0,class:"pointer-events-auto text-left"},Cb={class:"text-[10px] font-bold text-gray-500 tracking-[0.2em] uppercase mb-1"},Ob={class:"flex items-center gap-2 text-white/50 text-sm font-mono"},Eb={key:0,class:"h-px w-8 bg-white/20"},Pb={key:1,class:"flex-1"},$b={key:2,class:"pointer-events-auto flex gap-3"},Ab=["disabled"],Ib=["disabled"],Yf=Ie({__name:"LuminaDeck",setup(t){const{slide:e,index:n,total:r,next:i,prev:s,options:o}=Yv(),a=xn(li),l=Re(()=>a.hasNext()),u=Re(()=>a.hasPrev()),c=Re(()=>{var b,v;return(v=(b=a.state.deck)==null?void 0:b.meta)==null?void 0:v.title}),f=Re(()=>a.state.options.ui),h=Re(()=>a.state.options.navigation);Gv();const d=Ka({showJson:!1}),m=Re(()=>o.debug),p=Re(()=>!e.value||!e.value.type?null:`layout-${e.value.type}`),y=Re(()=>{var b,v,E,$,M,w,C,N;return{backgroundColor:((v=(b=e.value)==null?void 0:b.meta)==null?void 0:v.orbColor)||"#3b82f6",width:"60vw",height:"60vw",top:((M=($=(E=e.value)==null?void 0:E.meta)==null?void 0:$.orbPos)==null?void 0:M.top)||"-20%",left:((N=(C=(w=e.value)==null?void 0:w.meta)==null?void 0:C.orbPos)==null?void 0:N.left)||"-10%"}}),x=b=>{On.emit("action",b)},S=(b,v)=>{const E=b;E.style.opacity="1",v()},k=(b,v)=>{var C,N,O;const{options:E}=a.state;if(((C=E.animation)==null?void 0:C.enabled)===!1){v();return}const $=((N=E.animation)==null?void 0:N.durationOut)||.5,M=((O=E.animation)==null?void 0:O.type)||"cascade",w=Gt.timeline({onComplete:v});M==="fade"?w.to(b,{opacity:0,duration:$}):M==="zoom"?w.to(b,{opacity:0,scale:1.1,duration:$}):w.to(b,{opacity:0,y:-20,duration:$,ease:"power2.in"})};return(b,v)=>{var E,$,M,w;return q(),le("div",gb,[Z("div",vb,[Z("div",{class:"ambient-orb",style:Ft(y.value)},null,4),v[6]||(v[6]=Z("div",{class:"absolute inset-0 opacity-[0.04]",style:{"background-image":"url('https://grainy-gradients.vercel.app/noise.svg')"}},null,-1))]),m.value?(q(),le("div",yb,[Z("button",{onClick:v[0]||(v[0]=C=>d.value.showJson=!d.value.showJson),class:"w-8 h-8 rounded-full glass-panel flex items-center justify-center text-gray-400 hover:text-white transition",title:"JSON"},[...v[7]||(v[7]=[Z("i",{class:"fa-solid fa-code text-xs"},null,-1)])])])):zt("",!0),je(sc,{name:"fade"},{default:Vt(()=>[d.value.showJson?(q(),le("div",{key:0,class:"fixed inset-0 z-[100] flex justify-end",onClick:v[3]||(v[3]=Op(C=>d.value.showJson=!1,["self"]))},[Z("div",{class:"absolute inset-0 bg-black/20 backdrop-blur-sm transition-opacity",onClick:v[1]||(v[1]=C=>d.value.showJson=!1)}),Z("div",bb,[Z("div",xb,[v[9]||(v[9]=Z("span",{class:"text-xs font-bold text-gray-400 uppercase tracking-widest"},"Slide Data",-1)),Z("button",{onClick:v[2]||(v[2]=C=>d.value.showJson=!1),class:"w-8 h-8 rounded-full bg-white/5 hover:bg-white/10 flex items-center justify-center text-white/50 hover:text-white transition"},[...v[8]||(v[8]=[Z("i",{class:"fa-solid fa-xmark"},null,-1)])])]),Z("div",wb,[Z("pre",Sb,pe(JSON.stringify(jt(e),null,2)),1)])])])):zt("",!0)]),_:1}),Z("main",kb,[je(sc,{css:!1,onLeave:k,onEnter:S,mode:"out-in"},{default:Vt(()=>[p.value?(q(),nt(Gi(p.value),{key:jt(n),data:jt(e),onAction:x,class:"min-h-full w-full"},null,40,["data"])):zt("",!0)]),_:1})]),(E=f.value)!=null&&E.visible?(q(),le("div",Tb,[($=f.value)!=null&&$.showSlideCount?(q(),le("div",zb,[Z("h2",Cb,pe(c.value),1),Z("div",Ob,[Z("span",null,pe((jt(n)+1).toString().padStart(2,"0")),1),(M=f.value)!=null&&M.showProgressBar?(q(),le("div",Eb)):zt("",!0),Z("span",null,pe(jt(r).toString().padStart(2,"0")),1)])])):(q(),le("div",Pb)),(w=f.value)!=null&&w.showControls?(q(),le("div",$b,[Z("button",{onClick:v[4]||(v[4]=(...C)=>jt(s)&&jt(s)(...C)),class:Q(["w-12 h-12 rounded-full glass-panel hover:bg-white/10 flex items-center justify-center transition active:scale-95",!u.value||!h.value?"opacity-30 cursor-not-allowed":""]),disabled:!u.value||!h.value},[...v[10]||(v[10]=[Z("i",{class:"fa-solid fa-arrow-left"},null,-1)])],10,Ab),Z("button",{onClick:v[5]||(v[5]=(...C)=>jt(i)&&jt(i)(...C)),class:Q(["w-12 h-12 rounded-full bg-white text-black hover:scale-105 flex items-center justify-center transition shadow-lg active:scale-95",!l.value||!h.value?"opacity-30 cursor-not-allowed":""]),disabled:!l.value||!h.value},[...v[11]||(v[11]=[Z("i",{class:"fa-solid fa-arrow-right"},null,-1)])],10,Ib)])):zt("",!0)])):zt("",!0)])}}});function Db(t,e){const n=xn(li);let r=null;const i=()=>{if(!t.value||!n)return;r==null||r.revert();const{enabled:s,type:o,durationIn:a,stagger:l,ease:u}=n.state.options.animation||{};if(s===!1){Gt.set(t.value.querySelectorAll(".reveal-up, .reveal-zoom, .reveal-content > *, .reveal-card, .reveal-img"),{opacity:1,y:0,scale:1,visibility:"visible"});return}r=Gt.context(()=>{const c=t.value,f=o==="fade",h=o==="slide",d=o==="zoom",m=f?0:h?80:40,p=d?.8:o==="cascade"?.95:1;c.querySelector(".reveal-up")&&Gt.set(".reveal-up",{y:m,opacity:0}),c.querySelector(".reveal-zoom")&&Gt.set(".reveal-zoom",{scale:p,opacity:0}),c.querySelector(".reveal-content > *")&&Gt.set(".reveal-content > *",{y:f?0:30,opacity:0}),c.querySelector(".reveal-card")&&Gt.set(".reveal-card",{y:f?0:50,opacity:0,scale:p}),c.querySelector(".reveal-img")&&Gt.set(".reveal-img",{scale:1.1,opacity:0});const y=Gt.timeline({defaults:{ease:u||"power3.out",duration:a||.8},onComplete:e});c.querySelector(".reveal-img")&&y.to(".reveal-img",{scale:1,opacity:1,duration:(a||1)*1.2,ease:"expo.out"},0);const x=a||.8,S=l||.1;c.querySelectorAll(".reveal-card").length&&y.to(".reveal-card",{y:0,opacity:1,scale:1,duration:x,stagger:S,ease:h?"expo.out":"back.out(1.2)"},.2);const k=c.querySelectorAll(".reveal-content > *");k.length&&y.to(k,{y:0,opacity:1,duration:x,stagger:S/2},.3),c.querySelectorAll(".reveal-up").length&&y.to(".reveal-up",{y:0,opacity:1,duration:x,stagger:S},.2),c.querySelector(".reveal-zoom")&&y.to(".reveal-zoom",{scale:1,opacity:1,duration:x*1.2,ease:"expo.out"},.1)},t)};return Wr(()=>{Xa(()=>{i()})}),Jr(()=>{r==null||r.revert()}),{animateIn:i}}const Mb={class:"absolute inset-0 z-0 pointer-events-none"},Nb={class:"relative z-10 w-full h-full"},sr=Ie({__name:"BaseSlide",props:{data:{},customClass:{}},setup(t){const e=Ka(null);return Db(e),(n,r)=>(q(),le("div",{ref_key:"container",ref:e,class:Q(["w-full min-h-full relative text-white",t.customClass])},[Z("div",Mb,[yl(n.$slots,"background")]),Z("div",Nb,[yl(n.$slots,"default")])],2))}}),Rb={class:"reveal-zoom max-w-5xl z-10"},Fb={key:0,class:"inline-block px-4 py-1 rounded-full border border-white/10 bg-white/5 text-sm font-medium tracking-widest uppercase mb-10 text-[var(--lumina-primary)]",style:{color:"var(--lumina-colors-primary, #3b82f6)"}},Zb={key:1,class:"text-xl md:text-3xl font-light max-w-3xl mx-auto leading-normal",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},Lb=Ie({__name:"LayoutStatement",props:{data:{}},setup(t){return(e,n)=>(q(),nt(sr,{data:t.data},{default:Vt(()=>[Z("div",{class:Q(["flex flex-col justify-center items-center text-center p-8 relative",t.data.sizing==="container"?"h-full":"min-h-screen"])},[Z("div",Rb,[t.data.tag?(q(),le("span",Fb,pe(t.data.tag),1)):zt("",!0),Z("h1",{class:"font-heading font-bold leading-[0.9] tracking-tight mb-8 text-transparent bg-clip-text bg-gradient-to-b from-white to-gray-500",style:Ft(t.data.sizing==="container"?"font-size: 3.5rem;":"font-size: clamp(3rem, 10vw, 8rem);")},pe(t.data.title),5),t.data.subtitle?(q(),le("p",Zb,pe(t.data.subtitle),1)):zt("",!0)])],2)]),_:1},8,["data"]))}}),jb=["src"],Ub={class:"reveal-content max-w-xl"},Vb={class:"text-xs font-bold uppercase tracking-[0.2em] mb-6 block",style:{color:"var(--lumina-colors-primary, #3b82f6)"}},Bb={class:"text-4xl lg:text-6xl font-heading font-bold leading-tight mb-8 text-white"},Hb={class:"space-y-6 text-lg leading-relaxed font-light mb-10",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},Wb={key:0,class:"pt-6 border-t border-white/10"},Jb=Ie({__name:"LayoutHalf",props:{data:{}},emits:["action"],setup(t){return(e,n)=>(q(),nt(sr,{data:t.data,customClass:"bg-[var(--lumina-bg)]"},{default:Vt(()=>[Z("div",{class:Q(["w-full flex flex-col lg:block relative",t.data.sizing==="container"?"min-h-full":"min-h-screen"])},[Z("div",{class:Q(["relative h-[40vh] lg:h-full lg:w-1/2 overflow-hidden z-0",t.data.sizing==="container"?"lg:absolute lg:top-0":"lg:fixed lg:top-0",t.data.imageSide==="right"?"lg:right-0 order-1":"lg:left-0 order-1"])},[n[1]||(n[1]=Z("div",{class:"absolute inset-0 bg-black/20 z-10"},null,-1)),Z("img",{src:t.data.image,class:"w-full h-full object-cover reveal-img scale-110 origin-center",alt:"Slide Image"},null,8,jb)],2),Z("div",{class:Q(["relative z-10 w-full lg:w-1/2 min-h-[60vh] flex flex-col justify-center p-8 lg:p-24 order-2 bg-[#050505]",t.data.imageSide==="right"?"lg:mr-[50%]":"lg:ml-[50%]",t.data.sizing==="container"?"lg:min-h-full":"lg:min-h-screen"])},[Z("div",Ub,[Z("span",Vb,pe(t.data.tag),1),Z("h1",Bb,pe(t.data.title),1),Z("div",Hb,[(q(!0),le(Oe,null,pr(t.data.paragraphs,(r,i)=>(q(),le("p",{key:i},pe(r),1))),128))]),t.data.cta?(q(),le("div",Wb,[Z("button",{onClick:n[0]||(n[0]=r=>e.$emit("action",{type:"cta",label:t.data.cta})),class:"px-8 py-4 bg-white text-black font-bold rounded-lg hover:bg-gray-200 transition flex items-center gap-3"},[Jl(pe(t.data.cta)+" ",1),n[2]||(n[2]=Z("i",{class:"fa-solid fa-arrow-right"},null,-1))])])):zt("",!0)])],2)],2)]),_:1},8,["data"]))}}),Kb={class:"mb-16 reveal-up text-center lg:text-left max-w-6xl"},qb=Ie({__name:"LayoutFeatures",props:{data:{}},setup(t){return(e,n)=>(q(),nt(sr,{data:t.data},{default:Vt(()=>[Z("div",{class:Q(["w-full flex flex-col justify-center p-8 lg:p-24",t.data.sizing==="container"?"min-h-full":"min-h-screen"])},[Z("div",Kb,[Z("h2",{class:Q(["font-heading font-bold mb-4",t.data.sizing==="container"?"text-3xl":"text-5xl"])},pe(t.data.title),3),Z("p",{class:Q([t.data.sizing==="container"?"text-sm":"text-xl"]),style:{color:"var(--lumina-colors-muted, #9ca3af)"}},pe(t.data.description),3)]),Z("div",{class:Q(["grid w-full",t.data.sizing==="container"?"grid-cols-1 gap-3":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"])},[(q(!0),le(Oe,null,pr(t.data.features,(r,i)=>(q(),le("div",{key:i,class:Q(["glass-panel rounded-3xl hover:bg-white/5 transition duration-500 reveal-card group border-t border-white/5 hover:border-blue-500/50",t.data.sizing==="container"?"p-6":"p-8"])},[Z("div",{class:Q(["rounded-xl bg-white/5 flex items-center justify-center text-xl mb-6 group-hover:scale-110 transition duration-300",t.data.sizing==="container"?"w-10 h-10 mb-4":"w-12 h-12 mb-6"]),style:{color:"var(--lumina-colors-primary, #3b82f6)"}},[Z("i",{class:Q(["fa-solid",r.icon.startsWith("fa-")?r.icon:`fa-${r.icon}`])},null,2)],2),Z("h3",{class:Q(["font-bold mb-3 text-white",t.data.sizing==="container"?"text-lg":"text-2xl"])},pe(r.title),3),Z("p",{class:Q(["leading-relaxed",[t.data.sizing==="container"?"text-sm":""]]),style:{color:"var(--lumina-colors-muted, #9ca3af)"}},pe(r.desc),3)],2))),128))],2)],2)]),_:1},8,["data"]))}}),Yb={class:"text-center mb-16 reveal-up"},Gb={class:"text-5xl font-heading font-bold mb-4"},Xb={key:0,class:"text-xl opacity-60"},Qb={class:"relative max-w-6xl mx-auto w-full"},ex={class:"space-y-12"},tx={class:"text-sm font-bold tracking-widest uppercase text-blue-400 mb-1"},nx={class:"text-2xl font-bold"},rx={class:"text-lg opacity-60 leading-relaxed"},ix=Ie({__name:"LayoutTimeline",props:{data:{}},setup(t){return(e,n)=>(q(),nt(sr,{data:t.data},{default:Vt(()=>[Z("div",{class:Q(["w-full flex flex-col justify-center p-8 lg:p-24",t.data.sizing==="container"?"min-h-full py-12 lg:py-16":"min-h-screen"])},[Z("div",Yb,[Z("h2",Gb,pe(t.data.title),1),t.data.subtitle?(q(),le("p",Xb,pe(t.data.subtitle),1)):zt("",!0)]),Z("div",Qb,[n[1]||(n[1]=Z("div",{class:"absolute left-4 md:left-1/2 top-0 bottom-0 w-0.5 bg-white/20 -translate-x-1/2 reveal-zoom origin-top"},null,-1)),Z("div",ex,[(q(!0),le(Oe,null,pr(t.data.timeline,(r,i)=>(q(),le("div",{key:i,class:Q(["relative flex flex-col md:flex-row gap-8 md:gap-0 items-start md:items-center reveal-card",i%2===0?"":"md:flex-row-reverse"])},[Z("div",{class:Q(["w-full md:w-1/2 pl-12 md:pl-0 flex flex-col justify-center",i%2===0?"md:pr-12 md:text-right md:items-end":"md:pl-12 md:text-left md:items-start"])},[Z("span",tx,pe(r.date),1),Z("h3",nx,pe(r.title||r.t),1)],2),n[0]||(n[0]=Z("div",{class:"absolute left-4 md:left-1/2 -translate-x-1/2 w-4 h-4 rounded-full bg-blue-500 shadow-[0_0_20px_rgba(59,130,246,0.5)] border-4 border-[#030303] z-10"},null,-1)),Z("div",{class:Q(["w-full md:w-1/2 pl-12 md:pl-0",i%2===0?"md:pl-12":"md:pr-12 md:text-right"])},[Z("p",rx,pe(r.description||r.desc),1)],2)],2))),128))])])],2)]),_:1},8,["data"]))}}),sx={key:0,class:"hidden lg:block absolute top-[2.5rem] left-0 right-0 h-0.5 bg-gradient-to-r from-transparent via-white/20 to-transparent reveal-zoom origin-left"},ox={class:"text-transparent bg-clip-text bg-gradient-to-br from-white to-gray-600"},ax=Ie({__name:"LayoutSteps",props:{data:{}},setup(t){return(e,n)=>(q(),nt(sr,{data:t.data},{default:Vt(()=>[Z("div",{class:Q(["w-full flex flex-col justify-center overflow-hidden",t.data.sizing==="container"?"min-h-full p-4":"min-h-screen p-8 lg:p-12"])},[Z("div",{class:Q(["text-center reveal-up",t.data.sizing==="container"?"mb-6":"mb-20"])},[Z("h2",{class:Q(["font-heading font-bold mb-2",t.data.sizing==="container"?"text-2xl":"text-5xl"])},pe(t.data.title),3),t.data.subtitle?(q(),le("p",{key:0,class:Q(["opacity-60 max-w-2xl mx-auto",t.data.sizing==="container"?"text-sm":"text-xl"])},pe(t.data.subtitle),3)):zt("",!0)],2),Z("div",{class:Q(["grid gap-4 w-full mx-auto relative",t.data.sizing==="container"?"grid-cols-3 max-w-xl":"grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 max-w-7xl"])},[t.data.sizing!=="container"?(q(),le("div",sx)):zt("",!0),(q(!0),le(Oe,null,pr(t.data.steps,(r,i)=>(q(),le("div",{key:i,class:Q(["relative glass-panel rounded-xl border border-white/5 reveal-card group hover:bg-white/5 transition duration-500",t.data.sizing==="container"?"p-3 text-center":"p-8 rounded-2xl"])},[Z("div",{class:Q(["rounded-xl bg-[#111] border border-white/10 flex items-center justify-center font-bold relative z-10 group-hover:scale-105 transition duration-300 shadow-xl mx-auto",t.data.sizing==="container"?"w-12 h-12 text-lg mb-3":"w-20 h-20 text-2xl mb-6 lg:mx-0"])},[Z("span",ox,pe(r.step),1)],2),Z("h3",{class:Q(["font-bold",t.data.sizing==="container"?"text-sm mb-1":"text-xl mb-3"])},pe(r.title),3),Z("p",{class:Q(["leading-relaxed opacity-60",t.data.sizing==="container"?"text-[10px]":"text-sm"])},pe(r.description),3)],2))),128))],2)],2)]),_:1},8,["data"]))}}),lx=["src","alt"],cx=Ie({__name:"LayoutFlex",props:{data:{}},emits:["action"],setup(t,{emit:e}){const n=t,r=e,i={none:"0",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem","2xl":"3rem"},s={auto:"auto",quarter:"25%",third:"33.333%",half:"50%","two-thirds":"66.666%","three-quarters":"75%",full:"100%"},o={top:"flex-start",center:"center",bottom:"flex-end"},a={left:"flex-start",center:"center",right:"flex-end"},l=Re(()=>({padding:i[n.data.padding||"none"]})),u=Re(()=>n.data.direction==="vertical"?"flex-col":"flex-row"),c=Re(()=>({gap:i[n.data.gap||"none"]})),f=C=>!C||C==="auto"?"flex-1":"",h=C=>{const N=C.size||"auto";return N==="auto"?{flex:"1 1 auto"}:{flex:`0 0 ${s[N]}`,maxWidth:n.data.direction!=="vertical"?s[N]:void 0,maxHeight:n.data.direction==="vertical"?s[N]:void 0}},d=C=>{const N=C.valign||"center",O=C.halign||"left",V=C.gap||"md",G=C.padding||"lg",ie=C.size||"auto";return{flex:ie==="auto"?"1 1 auto":`0 0 ${s[ie]}`,justifyContent:o[N],alignItems:a[O],gap:i[V],padding:i[G]}},m=()=>({display:"flex",alignItems:"center",padding:i.lg}),p=(C,N)=>N!==!1&&!C?"":{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"}[C||"lg"]||"rounded-lg",y=C=>{r("action",C),On.emit("action",C)},x=Ie({props:["text","size","align"],setup(C){const N={lg:"text-3xl lg:text-4xl",xl:"text-4xl lg:text-5xl","2xl":"text-5xl lg:text-6xl","3xl":"text-6xl lg:text-7xl"}[C.size||"xl"]||"text-4xl lg:text-5xl",O={left:"text-left",center:"text-center",right:"text-right"}[C.align||"left"]||"text-left";return()=>me("h2",{class:`font-heading font-bold leading-tight ${N} ${O} w-full`},C.text)}}),S=Ie({props:["text","align","muted"],setup(C){const N={left:"text-left",center:"text-center",right:"text-right"}[C.align||"left"]||"text-left";return()=>me("p",{class:`text-lg lg:text-xl leading-relaxed w-full ${N} ${C.muted?"opacity-60":"opacity-80"}`},C.text)}}),k=Ie({props:["items"],setup(C){return()=>me("ul",{class:"space-y-3 w-full"},(C.items||[]).map(N=>me("li",{class:"flex items-start gap-3 text-lg opacity-80"},[me("span",{class:"w-2 h-2 rounded-full bg-blue-500 mt-2 flex-shrink-0 shadow-[0_0_10px_rgba(59,130,246,0.5)]"}),me("span",{},N)])))}}),b=Ie({props:["items"],setup(C){return()=>me("ol",{class:"space-y-3 w-full"},(C.items||[]).map((N,O)=>me("li",{class:"flex items-start gap-3 text-lg opacity-80"},[me("span",{class:"w-7 h-7 rounded-lg bg-white/10 flex items-center justify-center text-sm font-bold flex-shrink-0"},O+1),me("span",{},N)])))}}),v=Ie({props:["label","action","variant","fullWidth"],emits:["action"],setup(C,{emit:N}){const O={primary:"bg-gradient-to-r from-blue-500 to-purple-600 text-white shadow-lg hover:shadow-xl",secondary:"bg-white/10 text-white border border-white/20 hover:bg-white/20",outline:"bg-transparent text-white border-2 border-white/50 hover:border-white hover:bg-white/5",ghost:"bg-transparent text-white/70 hover:text-white hover:bg-white/5"}[C.variant||"primary"]||"bg-gradient-to-r from-blue-500 to-purple-600 text-white",V=()=>{N("action",{type:"click",label:C.label,value:C.action||C.label,origin:"flex-button"})};return()=>me("button",{class:`px-8 py-4 rounded-full font-bold text-lg transition-all duration-300 cursor-pointer hover:scale-105 ${O} ${C.fullWidth?"w-full":""}`,onClick:V},C.label)}}),E=Ie({props:["items","compact"],setup(C){return()=>me("div",{class:"w-full space-y-4"},(C.items||[]).map(N=>me("div",{class:"flex gap-4 items-start border-l-2 border-blue-500/30 pl-4"},[me("div",{class:"flex-shrink-0 w-3 h-3 rounded-full bg-blue-500 -ml-[22px] mt-1.5 shadow-[0_0_10px_rgba(59,130,246,0.5)]"}),me("div",{},[me("span",{class:"text-xs text-blue-400 font-bold uppercase tracking-wider"},N.date),me("h4",{class:"font-bold text-lg"},N.title||N.t),me("p",{class:"text-sm opacity-60"},N.description||N.desc)])])))}}),$=Ie({props:["items","compact"],setup(C){return()=>me("div",{class:"w-full space-y-4"},(C.items||[]).map(N=>me("div",{class:"flex gap-4 items-start p-4 rounded-lg bg-white/5 border border-white/10"},[me("div",{class:"flex-shrink-0 w-10 h-10 rounded-lg bg-gradient-to-br from-blue-500/20 to-purple-500/20 flex items-center justify-center font-bold text-blue-400"},N.step),me("div",{},[me("h4",{class:"font-bold"},N.title||N.t),me("p",{class:"text-sm opacity-60"},N.description||N.desc)])])))}}),M=Ie({props:["size"],setup(C){const N=i[C.size||"md"]||i.md;return()=>me("div",{style:{height:N,width:"100%"}})}}),w=C=>({title:x,text:S,bullets:k,ordered:b,button:v,timeline:E,stepper:$,spacer:M})[C]||"div";return(C,N)=>(q(),nt(sr,{data:t.data},{default:Vt(()=>[Z("div",{class:"flex-layout w-full min-h-screen flex items-center justify-center",style:Ft(l.value)},[Z("div",{class:Q(["flex w-full h-full max-w-7xl mx-auto",u.value]),style:Ft(c.value)},[(q(!0),le(Oe,null,pr(t.data.elements,(O,V)=>(q(),le(Oe,{key:V},[O.type==="image"?(q(),le("div",{key:0,class:Q(f(O.size)),style:Ft(h(O))},[Z("img",{src:O.src,alt:O.alt||"",class:Q(["w-full h-full",O.fill!==!1?"object-cover":"object-contain",p(O.rounded,O.fill)])},null,10,lx)],6)):O.type==="content"?(q(),le("div",{key:1,class:Q(["flex flex-col",f(O.size)]),style:Ft(d(O))},[(q(!0),le(Oe,null,pr(O.elements,(G,ie)=>(q(),nt(Gi(w(G.type)),co({key:ie,ref_for:!0},G,{onAction:y}),null,16))),128))],6)):(q(),le("div",{key:2,class:Q(f(O.size)),style:Ft(m())},[(q(),nt(Gi(w(O.type)),co({ref_for:!0},O,{onAction:y}),null,16))],6))],64))),128))],6)],4)]),_:1},8,["data"]))}}),Gf=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},ux=Gf(cx,[["__scopeId","data-v-eccf62e4"]]),fx=Ie({__name:"LayoutAuto",props:{data:{}},emits:["action"],setup(t,{emit:e}){const n=t,r=Re(()=>{var c,f,h;const i=n.data||{},s=Array.isArray(i.timeline)&&i.timeline.length>0,o=Array.isArray(i.steps)&&i.steps.length>0,a=Array.isArray(i.features)&&i.features.length>0,l=!!i.image;let u="layout-statement";return s?u="layout-timeline":o?u="layout-steps":a?u="layout-features":l?u="layout-half":(((c=i.title)==null?void 0:c.length)||0)+(((f=i.subtitle)==null?void 0:f.length)||0)+(((h=i.paragraphs)==null?void 0:h.join("").length)||0),u});return(i,s)=>(q(),nt(Gi(r.value),{data:t.data,onAction:s[0]||(s[0]=o=>i.$emit("action",o))},null,40,["data"]))}}),dx=["innerHTML"],hx=Gf(Ie({__name:"LayoutCustom",props:{data:{}},setup(t){const e=t,n=`custom-slide-${Math.random().toString(36).slice(2,10)}`;function r(){if(i(),!e.data.css)return;const o=document.createElement("style");o.id=n,o.textContent=e.data.css,document.head.appendChild(o)}function i(){const o=document.getElementById(n);o&&o.remove()}Wr(()=>{r()}),Wi(()=>e.data.css,()=>{r()}),Jr(()=>{i()});const s=Re(()=>e.data.html?e.data.html.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/on\w+\s*=\s*["'][^"']*["']/gi,"").replace(/javascript:/gi,""):"");return(o,a)=>(q(),nt(sr,{data:t.data},{default:Vt(()=>[Z("div",{class:Q(["custom-slide-wrapper relative w-full overflow-hidden",t.data.sizing==="container"?"h-full":"min-h-screen"])},[Z("div",{class:"custom-html-content w-full h-full",innerHTML:s.value},null,8,dx)],2)]),_:1},8,["data"]))}}),[["__scopeId","data-v-b8b91621"]]),Si={default:{colors:{primary:"#3b82f6",background:"#030303",text:"#ffffff",muted:"#9ca3af"},fonts:{heading:"Inter, sans-serif",body:"Inter, sans-serif",mono:"monospace"}},ocean:{colors:{primary:"#06b6d4",background:"#0f172a",text:"#f0f9ff",muted:"#94a3b8"},fonts:{heading:"Outfit, sans-serif",body:"Inter, sans-serif"}},midnight:{colors:{primary:"#6366f1",background:"#000000",text:"#e0e7ff",muted:"#6b7280"}},forest:{colors:{primary:"#10b981",background:"#022c22",text:"#ecfdf5",muted:"#6ee7b7"}},cyber:{colors:{primary:"#f472b6",background:"#18181b",text:"#ffffff",muted:"#a1a1aa"},fonts:{heading:"Orbitron, sans-serif",body:"Rajdhani, sans-serif"}},latte:{colors:{primary:"#d97706",background:"#fffbeb",text:"#451a03",muted:"#92400e"},fonts:{heading:"Playfair Display, serif",body:"Lato, sans-serif"}}},Xf="lumina-theme-styles";class px{static inject(e){let n;typeof e=="string"?n=Si[e]||Si.default:(n={...Si.default,...e},e.colors&&(n.colors={...Si.default.colors,...e.colors}),e.fonts&&(n.fonts={...Si.default.fonts,...e.fonts}));let r=document.getElementById(Xf);r||(r=document.createElement("style"),r.id=Xf,document.head.appendChild(r));const i=this.generateVars(n);r.innerHTML=`:root { ${i} }`}static generateVars(e){const n=[];if(e.colors){for(const[r,i]of Object.entries(e.colors))if(i){n.push(`--lumina-${r}: ${i};`);const s=this.hexToRgb(i);s&&n.push(`--lumina-${r}-rgb: ${s.r}, ${s.g}, ${s.b};`)}}if(e.fonts)for(const[r,i]of Object.entries(e.fonts))i&&n.push(`--lumina-font-${r}: ${i};`);return n.join(" ")}static hexToRgb(e){const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}:null}}const Mt=class Mt{constructor(e){et(this,"channel",null);et(this,"handlers",new Set);et(this,"lastTimestamp",0);et(this,"heartbeatInterval",null);et(this,"isConnected",!1);et(this,"connectionHandlers",new Set);this.channelName=e,this.initChannel()}static getInstance(e){return Mt.instances.has(e)||Mt.instances.set(e,new Mt(e)),Mt.instances.get(e)}static isSupported(){return typeof BroadcastChannel<"u"}initChannel(){if(!Mt.isSupported()){console.warn("[SpeakerChannel] BroadcastChannel not supported in this environment");return}try{this.channel=new BroadcastChannel(this.channelName),this.channel.onmessage=e=>{const n=e.data;if(!(n.timestamp&&n.timestamp===this.lastTimestamp)){if(n.action==="ping"){this.send({action:"pong"}),this.handlers.forEach(r=>{try{r(n)}catch(i){console.error("[SpeakerChannel] Handler error:",i)}});return}if(n.action==="pong"){this.setConnected(!0);return}if(n.action==="close"){this.setConnected(!1);return}this.handlers.forEach(r=>{try{r(n)}catch(i){console.error("[SpeakerChannel] Handler error:",i)}})}},this.channel.onmessageerror=e=>{console.error("[SpeakerChannel] Message error:",e)},this.startHeartbeat()}catch(e){console.error("[SpeakerChannel] Failed to initialize:",e)}}send(e){if(!this.channel)return;const n={...e,timestamp:Date.now(),channelId:this.channelName};this.lastTimestamp=n.timestamp,this.channel.postMessage(n)}subscribe(e){return this.handlers.add(e),()=>this.handlers.delete(e)}onConnectionChange(e){return this.connectionHandlers.add(e),e(this.isConnected),()=>this.connectionHandlers.delete(e)}get connected(){return this.isConnected}ping(){this.send({action:"ping"})}notifyClose(){this.send({action:"close"})}startHeartbeat(){this.ping(),this.heartbeatInterval=setInterval(()=>{(this.handlers.size>0||this.connectionHandlers.size>0)&&this.ping()},5e3)}setConnected(e){this.isConnected!==e&&(this.isConnected=e,this.connectionHandlers.forEach(n=>n(e)))}destroy(){this.notifyClose(),this.heartbeatInterval&&(clearInterval(this.heartbeatInterval),this.heartbeatInterval=null),this.channel&&(this.channel.close(),this.channel=null),this.handlers.clear(),this.connectionHandlers.clear(),Mt.instances.delete(this.channelName)}static destroyAll(){Mt.instances.forEach(e=>e.destroy()),Mt.instances.clear()}};et(Mt,"instances",new Map);let ki=Mt;class _x{constructor(e,n={}){et(this,"app");et(this,"store");et(this,"speakerWindow",null);et(this,"speakerChannel",null);et(this,"speakerChannelId");et(this,"speakerUnsubscribe",null);this.selector=e,this.speakerChannelId=`lumina-speaker-${Date.now()}-${Math.random().toString(36).slice(2,8)}`,this.store=qv(n),n.theme&&px.inject(n.theme),this.app=$p(Yf),this.app.provide(li,this.store),this.app.component("layout-statement",Lb),this.app.component("layout-half",Jb),this.app.component("layout-features",qb),this.app.component("layout-timeline",ix),this.app.component("layout-steps",ax),this.app.component("layout-flex",ux),this.app.component("layout-auto",fx),this.app.component("layout-custom",hx),On.on("action",r=>{this.store.recordAction(r)}),this.app.mount(this.selector)}load(e){this.store.loadDeck(e),On.emit("ready",e),this.syncSpeakerNotes()}patch(e){this.store.patchDeck(e),this.syncSpeakerNotes()}exportState(){const{currentIndex:e,deck:n,actionHistory:r}=this.store.state,i=n==null?void 0:n.slides[e],s=r.map(a=>`User ${a.type}ed on ${a.label||a.value}`).join(" -> "),o=r.length>5?"High Engagement":"Low Engagement";return Object.freeze({status:"active",currentSlide:{index:e,id:(i==null?void 0:i.id)||e,type:i==null?void 0:i.type,title:(i&&"title"in i?i.title:null)||"(No Title)"},narrative:`User is currently on slide ${e+1}. Session Flow: ${s||"Just started"}.`,engagementLevel:o,history:[...r]})}on(e,n){On.on(e,n)}off(e,n){On.off(e,n)}destroy(){this.closeSpeakerNotes(),this.app&&(this.app.unmount(),this.app=null),On.clear()}get currentSlideIndex(){return this.store.state.currentIndex}goTo(e){this.store.goto(e),this.syncSpeakerNotes()}next(){this.store.next(),this.syncSpeakerNotes()}prev(){this.store.prev(),this.syncSpeakerNotes()}openSpeakerNotes(){if(this.speakerWindow&&!this.speakerWindow.closed)return this.speakerWindow.focus(),this.speakerWindow;if(!ki.isSupported())return console.error("[Lumina] BroadcastChannel not supported. Speaker notes require a modern browser."),null;const e=600,n=800,r=window.screenX+window.outerWidth,i=window.screenY,o=`/speaker-notes.html?channel=${encodeURIComponent(this.speakerChannelId)}`;return this.speakerWindow=window.open(o,`lumina-speaker-notes-${this.speakerChannelId}`,`width=${e},height=${n},left=${r},top=${i},resizable=yes,scrollbars=yes`),this.speakerWindow?(this.initSpeakerChannel(),this.speakerWindow):(console.warn("[Lumina] Popup blocked. Please allow popups for speaker notes."),null)}closeSpeakerNotes(){this.speakerUnsubscribe&&(this.speakerUnsubscribe(),this.speakerUnsubscribe=null),this.speakerChannel&&(this.speakerChannel.notifyClose(),this.speakerChannel.destroy(),this.speakerChannel=null),this.speakerWindow&&!this.speakerWindow.closed&&this.speakerWindow.close(),this.speakerWindow=null}get isSpeakerNotesOpen(){return this.speakerWindow!==null&&!this.speakerWindow.closed}initSpeakerChannel(){this.speakerChannel=ki.getInstance(this.speakerChannelId),this.speakerUnsubscribe=this.speakerChannel.subscribe(n=>{switch(n.action){case"next":this.store.next(),this.syncSpeakerNotes();break;case"prev":this.store.prev(),this.syncSpeakerNotes();break;case"goto":n.index!==void 0&&(this.store.goto(n.index),this.syncSpeakerNotes());break;case"ping":this.syncSpeakerNotes();break}}),this.syncSpeakerNotes();const e=setInterval(()=>{var n;(n=this.speakerWindow)!=null&&n.closed&&(clearInterval(e),this.closeSpeakerNotes())},1e3)}syncSpeakerNotes(){if(!this.speakerChannel)return;const{currentIndex:e,deck:n}=this.store.state;if(!n)return;const r=n.slides[e],i=n.slides[e+1],s=o=>{if(o&&"title"in o&&typeof o.title=="string")return o.title};this.speakerChannel.send({action:"state",index:e,totalSlides:n.slides.length,currentNotes:r==null?void 0:r.notes,nextSlidePreview:i?{title:s(i),type:i.type}:void 0})}}Je.Lumina=_x,Je.LuminaDeck=Yf,Je.SpeakerChannel=ki,Je.bus=On,Object.defineProperty(Je,Symbol.toStringTag,{value:"Module"})});
|
|
55
|
+
*/var Af,Mn,Mr,fa,nr,If,da,qy=function(){return typeof window<"u"},mn={},rr=180/Math.PI,Nr=Math.PI/180,Rr=Math.atan2,Df=1e8,ha=/([A-Z])/g,Yy=/(left|right|width|margin|padding|x)/i,Gy=/[\s,\(]\S/,Gt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},pa=function(e,n){return n.set(n.t,n.p,Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},Xy=function(e,n){return n.set(n.t,n.p,e===1?n.e:Math.round((n.s+n.c*e)*1e4)/1e4+n.u,n)},Qy=function(e,n){return n.set(n.t,n.p,e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},eb=function(e,n){return n.set(n.t,n.p,e===1?n.e:e?Math.round((n.s+n.c*e)*1e4)/1e4+n.u:n.b,n)},tb=function(e,n){var r=n.s+n.c*e;n.set(n.t,n.p,~~(r+(r<0?-.5:.5))+n.u,n)},Mf=function(e,n){return n.set(n.t,n.p,e?n.e:n.b,n)},Nf=function(e,n){return n.set(n.t,n.p,e!==1?n.b:n.e,n)},nb=function(e,n,r){return e.style[n]=r},rb=function(e,n,r){return e.style.setProperty(n,r)},ib=function(e,n,r){return e._gsap[n]=r},sb=function(e,n,r){return e._gsap.scaleX=e._gsap.scaleY=r},ob=function(e,n,r,i,s){var o=e._gsap;o.scaleX=o.scaleY=r,o.renderTransform(s,o)},ab=function(e,n,r,i,s){var o=e._gsap;o[n]=r,o.renderTransform(s,o)},ze="transform",lt=ze+"Origin",lb=function t(e,n){var r=this,i=this.target,s=i.style,o=i._gsap;if(e in mn&&s){if(this.tfm=this.tfm||{},e!=="transform")e=Gt[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return r.tfm[a]=gn(i,a)}):this.tfm[e]=o.x?o[e]:gn(i,e),e===lt&&(this.tfm.zOrigin=o.zOrigin);else return Gt.transform.split(",").forEach(function(a){return t.call(r,a,n)});if(this.props.indexOf(ze)>=0)return;o.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(lt,n,"")),e=ze}(s||n)&&this.props.push(e,n,s[e])},Rf=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},cb=function(){var e=this.props,n=this.target,r=n.style,i=n._gsap,s,o;for(s=0;s<e.length;s+=3)e[s+1]?e[s+1]===2?n[e[s]](e[s+2]):n[e[s]]=e[s+2]:e[s+2]?r[e[s]]=e[s+2]:r.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(ha,"-$1").toLowerCase());if(this.tfm){for(o in this.tfm)i[o]=this.tfm[o];i.svg&&(i.renderTransform(),n.setAttribute("data-svg-origin",this.svgo||"")),s=da(),(!s||!s.isStart)&&!r[ze]&&(Rf(r),i.zOrigin&&r[lt]&&(r[lt]+=" "+i.zOrigin+"px",i.zOrigin=0,i.renderTransform()),i.uncache=1)}},Ff=function(e,n){var r={target:e,props:[],revert:cb,save:lb};return e._gsap||at.core.getCache(e),n&&e.style&&e.nodeType&&n.split(",").forEach(function(i){return r.save(i)}),r},Zf,_a=function(e,n){var r=Mn.createElementNS?Mn.createElementNS((n||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):Mn.createElement(e);return r&&r.style?r:Mn.createElement(e)},bt=function t(e,n,r){var i=getComputedStyle(e);return i[n]||i.getPropertyValue(n.replace(ha,"-$1").toLowerCase())||i.getPropertyValue(n)||!r&&t(e,Fr(n)||n,1)||""},Lf="O,Moz,ms,Ms,Webkit".split(","),Fr=function(e,n,r){var i=n||nr,s=i.style,o=5;if(e in s&&!r)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);o--&&!(Lf[o]+e in s););return o<0?null:(o===3?"ms":o>=0?Lf[o]:"")+e},ma=function(){qy()&&window.document&&(Af=window,Mn=Af.document,Mr=Mn.documentElement,nr=_a("div")||{style:{}},_a("div"),ze=Fr(ze),lt=ze+"Origin",nr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Zf=!!Fr("perspective"),da=at.core.reverting,fa=1)},jf=function(e){var n=e.ownerSVGElement,r=_a("svg",n&&n.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=e.cloneNode(!0),s;i.style.display="block",r.appendChild(i),Mr.appendChild(r);try{s=i.getBBox()}catch{}return r.removeChild(i),Mr.removeChild(r),s},Uf=function(e,n){for(var r=n.length;r--;)if(e.hasAttribute(n[r]))return e.getAttribute(n[r])},Bf=function(e){var n,r;try{n=e.getBBox()}catch{n=jf(e),r=1}return n&&(n.width||n.height)||r||(n=jf(e)),n&&!n.width&&!n.x&&!n.y?{x:+Uf(e,["x","cx","x1"])||0,y:+Uf(e,["y","cy","y1"])||0,width:0,height:0}:n},Vf=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Bf(e))},Nn=function(e,n){if(n){var r=e.style,i;n in mn&&n!==lt&&(n=ze),r.removeProperty?(i=n.substr(0,2),(i==="ms"||n.substr(0,6)==="webkit")&&(n="-"+n),r.removeProperty(i==="--"?n:n.replace(ha,"-$1").toLowerCase())):r.removeAttribute(n)}},Rn=function(e,n,r,i,s,o){var a=new ot(e._pt,n,r,0,1,o?Nf:Mf);return e._pt=a,a.b=i,a.e=s,e._props.push(r),a},Hf={deg:1,rad:1,turn:1},ub={grid:1,flex:1},Fn=function t(e,n,r,i){var s=parseFloat(r)||0,o=(r+"").trim().substr((s+"").length)||"px",a=nr.style,l=Yy.test(n),c=e.tagName.toLowerCase()==="svg",u=(c?"client":"offset")+(l?"Width":"Height"),f=100,h=i==="px",d=i==="%",m,p,b,w;if(i===o||!s||Hf[i]||Hf[o])return s;if(o!=="px"&&!h&&(s=t(e,n,r,"px")),w=e.getCTM&&Vf(e),(d||o==="%")&&(mn[n]||~n.indexOf("adius")))return m=w?e.getBBox()[l?"width":"height"]:e[u],Pe(d?s/m*f:s/100*m);if(a[l?"width":"height"]=f+(h?o:i),p=i!=="rem"&&~n.indexOf("adius")||i==="em"&&e.appendChild&&!c?e:e.parentNode,w&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===Mn||!p.appendChild)&&(p=Mn.body),b=p._gsap,b&&d&&b.width&&l&&b.time===yt.time&&!b.uncache)return Pe(s/b.width*f);if(d&&(n==="height"||n==="width")){var k=e.style[n];e.style[n]=f+i,m=e[u],k?e.style[n]=k:Nn(e,n)}else(d||o==="%")&&!ub[bt(p,"display")]&&(a.position=bt(e,"position")),p===e&&(a.position="static"),p.appendChild(nr),m=nr[u],p.removeChild(nr),a.position="absolute";return l&&d&&(b=Gn(p),b.time=yt.time,b.width=p[u]),Pe(h?m*s/f:m&&s?f/m*s:0)},gn=function(e,n,r,i){var s;return fa||ma(),n in Gt&&n!=="transform"&&(n=Gt[n],~n.indexOf(",")&&(n=n.split(",")[0])),mn[n]&&n!=="transform"?(s=ki(e,i),s=n!=="transformOrigin"?s[n]:s.svg?s.origin:$s(bt(e,lt))+" "+s.zOrigin+"px"):(s=e.style[n],(!s||s==="auto"||i||~(s+"").indexOf("calc("))&&(s=Ps[n]&&Ps[n](e,n,r)||bt(e,n)||Ju(e,n)||(n==="opacity"?1:0))),r&&!~(s+"").trim().indexOf(" ")?Fn(e,n,s,r)+r:s},fb=function(e,n,r,i){if(!r||r==="none"){var s=Fr(n,e,1),o=s&&bt(e,s,1);o&&o!==r?(n=s,r=o):n==="borderColor"&&(r=bt(e,"borderTopColor"))}var a=new ot(this._pt,e.style,n,0,1,Of),l=0,c=0,u,f,h,d,m,p,b,w,k,T,x,y;if(a.b=r,a.e=i,r+="",i+="",i.substring(0,6)==="var(--"&&(i=bt(e,i.substring(4,i.indexOf(")")))),i==="auto"&&(p=e.style[n],e.style[n]=i,i=bt(e,n)||i,p?e.style[n]=p:Nn(e,n)),u=[r,i],vf(u),r=u[0],i=u[1],h=r.match(Or)||[],y=i.match(Or)||[],y.length){for(;f=Or.exec(i);)b=f[0],k=i.substring(l,f.index),m?m=(m+1)%5:(k.substr(-5)==="rgba("||k.substr(-5)==="hsla(")&&(m=1),b!==(p=h[c++]||"")&&(d=parseFloat(p)||0,x=p.substr((d+"").length),b.charAt(1)==="="&&(b=Er(d,b)+x),w=parseFloat(b),T=b.substr((w+"").length),l=Or.lastIndex-T.length,T||(T=T||pt.units[n]||x,l===i.length&&(i+=T,a.e+=T)),x!==T&&(d=Fn(e,n,p,T)||0),a._pt={_next:a._pt,p:k||c===1?k:",",s:d,c:w-d,m:m&&m<4||n==="zIndex"?Math.round:0});a.c=l<i.length?i.substring(l,i.length):""}else a.r=n==="display"&&i==="none"?Nf:Mf;return ju.test(i)&&(a.e=0),this._pt=a,a},Wf={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},db=function(e){var n=e.split(" "),r=n[0],i=n[1]||"50%";return(r==="top"||r==="bottom"||i==="left"||i==="right")&&(e=r,r=i,i=e),n[0]=Wf[r]||r,n[1]=Wf[i]||i,n.join(" ")},hb=function(e,n){if(n.tween&&n.tween._time===n.tween._dur){var r=n.t,i=r.style,s=n.u,o=r._gsap,a,l,c;if(s==="all"||s===!0)i.cssText="",l=1;else for(s=s.split(","),c=s.length;--c>-1;)a=s[c],mn[a]&&(l=1,a=a==="transformOrigin"?lt:ze),Nn(r,a);l&&(Nn(r,ze),o&&(o.svg&&r.removeAttribute("transform"),i.scale=i.rotate=i.translate="none",ki(r,1),o.uncache=1,Rf(i)))}},Ps={clearProps:function(e,n,r,i,s){if(s.data!=="isFromStart"){var o=e._pt=new ot(e._pt,n,r,0,0,hb);return o.u=i,o.pr=-10,o.tween=s,e._props.push(r),1}}},Si=[1,0,0,1,0,0],Jf={},Kf=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},qf=function(e){var n=bt(e,ze);return Kf(n)?Si:n.substr(7).match(Lu).map(Pe)},ga=function(e,n){var r=e._gsap||Gn(e),i=e.style,s=qf(e),o,a,l,c;return r.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?Si:s):(s===Si&&!e.offsetParent&&e!==Mr&&!r.svg&&(l=i.display,i.display="block",o=e.parentNode,(!o||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,a=e.nextElementSibling,Mr.appendChild(e)),s=qf(e),l?i.display=l:Nn(e,"display"),c&&(a?o.insertBefore(e,a):o?o.appendChild(e):Mr.removeChild(e))),n&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},va=function(e,n,r,i,s,o){var a=e._gsap,l=s||ga(e,!0),c=a.xOrigin||0,u=a.yOrigin||0,f=a.xOffset||0,h=a.yOffset||0,d=l[0],m=l[1],p=l[2],b=l[3],w=l[4],k=l[5],T=n.split(" "),x=parseFloat(T[0])||0,y=parseFloat(T[1])||0,E,P,I,v;r?l!==Si&&(P=d*b-m*p)&&(I=x*(b/P)+y*(-p/P)+(p*k-b*w)/P,v=x*(-m/P)+y*(d/P)-(d*k-m*w)/P,x=I,y=v):(E=Bf(e),x=E.x+(~T[0].indexOf("%")?x/100*E.width:x),y=E.y+(~(T[1]||T[0]).indexOf("%")?y/100*E.height:y)),i||i!==!1&&a.smooth?(w=x-c,k=y-u,a.xOffset=f+(w*d+k*p)-w,a.yOffset=h+(w*m+k*b)-k):a.xOffset=a.yOffset=0,a.xOrigin=x,a.yOrigin=y,a.smooth=!!i,a.origin=n,a.originIsAbsolute=!!r,e.style[lt]="0px 0px",o&&(Rn(o,a,"xOrigin",c,x),Rn(o,a,"yOrigin",u,y),Rn(o,a,"xOffset",f,a.xOffset),Rn(o,a,"yOffset",h,a.yOffset)),e.setAttribute("data-svg-origin",x+" "+y)},ki=function(e,n){var r=e._gsap||new wf(e);if("x"in r&&!n&&!r.uncache)return r;var i=e.style,s=r.scaleX<0,o="px",a="deg",l=getComputedStyle(e),c=bt(e,lt)||"0",u,f,h,d,m,p,b,w,k,T,x,y,E,P,I,v,S,N,O,B,Y,ie,Q,G,ee,At,Qt,xt,Ne,Ci,Rt,vn;return u=f=h=p=b=w=k=T=x=0,d=m=1,r.svg=!!(e.getCTM&&Vf(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(i[ze]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[ze]!=="none"?l[ze]:"")),i.scale=i.rotate=i.translate="none"),P=ga(e,r.svg),r.svg&&(r.uncache?(ee=e.getBBox(),c=r.xOrigin-ee.x+"px "+(r.yOrigin-ee.y)+"px",G=""):G=!n&&e.getAttribute("data-svg-origin"),va(e,G||c,!!G||r.originIsAbsolute,r.smooth!==!1,P)),y=r.xOrigin||0,E=r.yOrigin||0,P!==Si&&(N=P[0],O=P[1],B=P[2],Y=P[3],u=ie=P[4],f=Q=P[5],P.length===6?(d=Math.sqrt(N*N+O*O),m=Math.sqrt(Y*Y+B*B),p=N||O?Rr(O,N)*rr:0,k=B||Y?Rr(B,Y)*rr+p:0,k&&(m*=Math.abs(Math.cos(k*Nr))),r.svg&&(u-=y-(y*N+E*B),f-=E-(y*O+E*Y))):(vn=P[6],Ci=P[7],Qt=P[8],xt=P[9],Ne=P[10],Rt=P[11],u=P[12],f=P[13],h=P[14],I=Rr(vn,Ne),b=I*rr,I&&(v=Math.cos(-I),S=Math.sin(-I),G=ie*v+Qt*S,ee=Q*v+xt*S,At=vn*v+Ne*S,Qt=ie*-S+Qt*v,xt=Q*-S+xt*v,Ne=vn*-S+Ne*v,Rt=Ci*-S+Rt*v,ie=G,Q=ee,vn=At),I=Rr(-B,Ne),w=I*rr,I&&(v=Math.cos(-I),S=Math.sin(-I),G=N*v-Qt*S,ee=O*v-xt*S,At=B*v-Ne*S,Rt=Y*S+Rt*v,N=G,O=ee,B=At),I=Rr(O,N),p=I*rr,I&&(v=Math.cos(I),S=Math.sin(I),G=N*v+O*S,ee=ie*v+Q*S,O=O*v-N*S,Q=Q*v-ie*S,N=G,ie=ee),b&&Math.abs(b)+Math.abs(p)>359.9&&(b=p=0,w=180-w),d=Pe(Math.sqrt(N*N+O*O+B*B)),m=Pe(Math.sqrt(Q*Q+vn*vn)),I=Rr(ie,Q),k=Math.abs(I)>2e-4?I*rr:0,x=Rt?1/(Rt<0?-Rt:Rt):0),r.svg&&(G=e.getAttribute("transform"),r.forceCSS=e.setAttribute("transform","")||!Kf(bt(e,ze)),G&&e.setAttribute("transform",G))),Math.abs(k)>90&&Math.abs(k)<270&&(s?(d*=-1,k+=p<=0?180:-180,p+=p<=0?180:-180):(m*=-1,k+=k<=0?180:-180)),n=n||r.uncache,r.x=u-((r.xPercent=u&&(!n&&r.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-u)?-50:0)))?e.offsetWidth*r.xPercent/100:0)+o,r.y=f-((r.yPercent=f&&(!n&&r.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*r.yPercent/100:0)+o,r.z=h+o,r.scaleX=Pe(d),r.scaleY=Pe(m),r.rotation=Pe(p)+a,r.rotationX=Pe(b)+a,r.rotationY=Pe(w)+a,r.skewX=k+a,r.skewY=T+a,r.transformPerspective=x+o,(r.zOrigin=parseFloat(c.split(" ")[2])||!n&&r.zOrigin||0)&&(i[lt]=$s(c)),r.xOffset=r.yOffset=0,r.force3D=pt.force3D,r.renderTransform=r.svg?_b:Zf?Yf:pb,r.uncache=0,r},$s=function(e){return(e=e.split(" "))[0]+" "+e[1]},ya=function(e,n,r){var i=We(n);return Pe(parseFloat(n)+parseFloat(Fn(e,"x",r+"px",i)))+i},pb=function(e,n){n.z="0px",n.rotationY=n.rotationX="0deg",n.force3D=0,Yf(e,n)},ir="0deg",Ti="0px",sr=") ",Yf=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.z,c=r.rotation,u=r.rotationY,f=r.rotationX,h=r.skewX,d=r.skewY,m=r.scaleX,p=r.scaleY,b=r.transformPerspective,w=r.force3D,k=r.target,T=r.zOrigin,x="",y=w==="auto"&&e&&e!==1||w===!0;if(T&&(f!==ir||u!==ir)){var E=parseFloat(u)*Nr,P=Math.sin(E),I=Math.cos(E),v;E=parseFloat(f)*Nr,v=Math.cos(E),o=ya(k,o,P*v*-T),a=ya(k,a,-Math.sin(E)*-T),l=ya(k,l,I*v*-T+T)}b!==Ti&&(x+="perspective("+b+sr),(i||s)&&(x+="translate("+i+"%, "+s+"%) "),(y||o!==Ti||a!==Ti||l!==Ti)&&(x+=l!==Ti||y?"translate3d("+o+", "+a+", "+l+") ":"translate("+o+", "+a+sr),c!==ir&&(x+="rotate("+c+sr),u!==ir&&(x+="rotateY("+u+sr),f!==ir&&(x+="rotateX("+f+sr),(h!==ir||d!==ir)&&(x+="skew("+h+", "+d+sr),(m!==1||p!==1)&&(x+="scale("+m+", "+p+sr),k.style[ze]=x||"translate(0, 0)"},_b=function(e,n){var r=n||this,i=r.xPercent,s=r.yPercent,o=r.x,a=r.y,l=r.rotation,c=r.skewX,u=r.skewY,f=r.scaleX,h=r.scaleY,d=r.target,m=r.xOrigin,p=r.yOrigin,b=r.xOffset,w=r.yOffset,k=r.forceCSS,T=parseFloat(o),x=parseFloat(a),y,E,P,I,v;l=parseFloat(l),c=parseFloat(c),u=parseFloat(u),u&&(u=parseFloat(u),c+=u,l+=u),l||c?(l*=Nr,c*=Nr,y=Math.cos(l)*f,E=Math.sin(l)*f,P=Math.sin(l-c)*-h,I=Math.cos(l-c)*h,c&&(u*=Nr,v=Math.tan(c-u),v=Math.sqrt(1+v*v),P*=v,I*=v,u&&(v=Math.tan(u),v=Math.sqrt(1+v*v),y*=v,E*=v)),y=Pe(y),E=Pe(E),P=Pe(P),I=Pe(I)):(y=f,I=h,E=P=0),(T&&!~(o+"").indexOf("px")||x&&!~(a+"").indexOf("px"))&&(T=Fn(d,"x",o,"px"),x=Fn(d,"y",a,"px")),(m||p||b||w)&&(T=Pe(T+m-(m*y+p*P)+b),x=Pe(x+p-(m*E+p*I)+w)),(i||s)&&(v=d.getBBox(),T=Pe(T+i/100*v.width),x=Pe(x+s/100*v.height)),v="matrix("+y+","+E+","+P+","+I+","+T+","+x+")",d.setAttribute("transform",v),k&&(d.style[ze]=v)},mb=function(e,n,r,i,s){var o=360,a=Me(s),l=parseFloat(s)*(a&&~s.indexOf("rad")?rr:1),c=l-i,u=i+c+"deg",f,h;return a&&(f=s.split("_")[1],f==="short"&&(c%=o,c!==c%(o/2)&&(c+=c<0?o:-o)),f==="cw"&&c<0?c=(c+o*Df)%o-~~(c/o)*o:f==="ccw"&&c>0&&(c=(c-o*Df)%o-~~(c/o)*o)),e._pt=h=new ot(e._pt,n,r,i,c,Xy),h.e=u,h.u="deg",e._props.push(r),h},Gf=function(e,n){for(var r in n)e[r]=n[r];return e},gb=function(e,n,r){var i=Gf({},r._gsap),s="perspective,force3D,transformOrigin,svgOrigin",o=r.style,a,l,c,u,f,h,d,m;i.svg?(c=r.getAttribute("transform"),r.setAttribute("transform",""),o[ze]=n,a=ki(r,1),Nn(r,ze),r.setAttribute("transform",c)):(c=getComputedStyle(r)[ze],o[ze]=n,a=ki(r,1),o[ze]=c);for(l in mn)c=i[l],u=a[l],c!==u&&s.indexOf(l)<0&&(d=We(c),m=We(u),f=d!==m?Fn(r,l,c,m):parseFloat(c),h=parseFloat(u),e._pt=new ot(e._pt,a,l,f,h-f,pa),e._pt.u=m||0,e._props.push(l));Gf(a,i)};st("padding,margin,Width,Radius",function(t,e){var n="Top",r="Right",i="Bottom",s="Left",o=(e<3?[n,r,i,s]:[n+s,n+r,i+r,i+s]).map(function(a){return e<2?t+a:"border"+a+t});Ps[e>1?"border"+t:t]=function(a,l,c,u,f){var h,d;if(arguments.length<4)return h=o.map(function(m){return gn(a,m,c)}),d=h.join(" "),d.split(h[0]).length===5?h[0]:d;h=(u+"").split(" "),d={},o.forEach(function(m,p){return d[m]=h[p]=h[p]||h[(p-1)/2|0]}),a.init(l,d,f)}});var Xf={name:"css",register:ma,targetTest:function(e){return e.style&&e.nodeType},init:function(e,n,r,i,s){var o=this._props,a=e.style,l=r.vars.startAt,c,u,f,h,d,m,p,b,w,k,T,x,y,E,P,I,v;fa||ma(),this.styles=this.styles||Ff(e),I=this.styles.props,this.tween=r;for(p in n)if(p!=="autoRound"&&(u=n[p],!(mt[p]&&Sf(p,n,r,i,e,s)))){if(d=typeof u,m=Ps[p],d==="function"&&(u=u.call(r,i,e,s),d=typeof u),d==="string"&&~u.indexOf("random(")&&(u=gi(u)),m)m(this,e,p,u,r)&&(P=1);else if(p.substr(0,2)==="--")c=(getComputedStyle(e).getPropertyValue(p)+"").trim(),u+="",In.lastIndex=0,In.test(c)||(b=We(c),w=We(u),w?b!==w&&(c=Fn(e,p,c,w)+w):b&&(u+=b)),this.add(a,"setProperty",c,u,i,s,0,0,p),o.push(p),I.push(p,0,a[p]);else if(d!=="undefined"){if(l&&p in l?(c=typeof l[p]=="function"?l[p].call(r,i,e,s):l[p],Me(c)&&~c.indexOf("random(")&&(c=gi(c)),We(c+"")||c==="auto"||(c+=pt.units[p]||We(gn(e,p))||""),(c+"").charAt(1)==="="&&(c=gn(e,p))):c=gn(e,p),h=parseFloat(c),k=d==="string"&&u.charAt(1)==="="&&u.substr(0,2),k&&(u=u.substr(2)),f=parseFloat(u),p in Gt&&(p==="autoAlpha"&&(h===1&&gn(e,"visibility")==="hidden"&&f&&(h=0),I.push("visibility",0,a.visibility),Rn(this,a,"visibility",h?"inherit":"hidden",f?"inherit":"hidden",!f)),p!=="scale"&&p!=="transform"&&(p=Gt[p],~p.indexOf(",")&&(p=p.split(",")[0]))),T=p in mn,T){if(this.styles.save(p),v=u,d==="string"&&u.substring(0,6)==="var(--"){if(u=bt(e,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var S=e.style.perspective;e.style.perspective=u,u=bt(e,"perspective"),S?e.style.perspective=S:Nn(e,"perspective")}f=parseFloat(u)}if(x||(y=e._gsap,y.renderTransform&&!n.parseTransform||ki(e,n.parseTransform),E=n.smoothOrigin!==!1&&y.smooth,x=this._pt=new ot(this._pt,a,ze,0,1,y.renderTransform,y,0,-1),x.dep=1),p==="scale")this._pt=new ot(this._pt,y,"scaleY",y.scaleY,(k?Er(y.scaleY,k+f):f)-y.scaleY||0,pa),this._pt.u=0,o.push("scaleY",p),p+="X";else if(p==="transformOrigin"){I.push(lt,0,a[lt]),u=db(u),y.svg?va(e,u,0,E,0,this):(w=parseFloat(u.split(" ")[2])||0,w!==y.zOrigin&&Rn(this,y,"zOrigin",y.zOrigin,w),Rn(this,a,p,$s(c),$s(u)));continue}else if(p==="svgOrigin"){va(e,u,1,E,0,this);continue}else if(p in Jf){mb(this,y,p,h,k?Er(h,k+u):u);continue}else if(p==="smoothOrigin"){Rn(this,y,"smooth",y.smooth,u);continue}else if(p==="force3D"){y[p]=u;continue}else if(p==="transform"){gb(this,u,e);continue}}else p in a||(p=Fr(p)||p);if(T||(f||f===0)&&(h||h===0)&&!Gy.test(u)&&p in a)b=(c+"").substr((h+"").length),f||(f=0),w=We(u)||(p in pt.units?pt.units[p]:b),b!==w&&(h=Fn(e,p,c,w)),this._pt=new ot(this._pt,T?y:a,p,h,(k?Er(h,k+f):f)-h,!T&&(w==="px"||p==="zIndex")&&n.autoRound!==!1?tb:pa),this._pt.u=w||0,T&&v!==u?(this._pt.b=c,this._pt.e=v,this._pt.r=eb):b!==w&&w!=="%"&&(this._pt.b=c,this._pt.r=Qy);else if(p in a)fb.call(this,e,p,c,k?k+u:u);else if(p in e)this.add(e,p,c||e[p],k?k+u:u,i,s);else if(p!=="parseTransform"){jo(p,u);continue}T||(p in a?I.push(p,0,a[p]):typeof e[p]=="function"?I.push(p,2,e[p]()):I.push(p,1,c||e[p])),o.push(p)}}P&&Ef(this)},render:function(e,n){if(n.tween._time||!da())for(var r=n._pt;r;)r.r(e,r.d),r=r._next;else n.styles.revert()},get:gn,aliases:Gt,getSetter:function(e,n,r){var i=Gt[n];return i&&i.indexOf(",")<0&&(n=i),n in mn&&n!==lt&&(e._gsap.x||gn(e,"x"))?r&&If===r?n==="scale"?sb:ib:(If=r||{})&&(n==="scale"?ob:ab):e.style&&!No(e.style[n])?nb:~n.indexOf("-")?rb:oa(e,n)},core:{_removeProperty:Nn,_getMatrix:ga}};at.utils.checkPrefix=Fr,at.core.getStyleSaver=Ff,function(t,e,n,r){var i=st(t+","+e+","+n,function(s){mn[s]=1});st(e,function(s){pt.units[s]="deg",Jf[s]=1}),Gt[i[13]]=t+","+e,st(r,function(s){var o=s.split(":");Gt[o[1]]=i[o[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),st("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){pt.units[t]="px"}),at.registerPlugin(Xf);var Xt=at.registerPlugin(Xf)||at;Xt.core.Tween;const vb={class:"h-full w-full relative flex flex-col bg-[#030303] text-white overflow-hidden"},yb={class:"absolute inset-0 z-0 overflow-hidden pointer-events-none"},bb={key:0,class:"absolute top-0 right-0 p-6 z-50 flex gap-4 pointer-events-auto"},xb={class:"relative h-full w-full md:w-[450px] bg-[#0a0a0a]/95 border-l border-white/10 shadow-2xl overflow-auto text-left flex flex-col transform transition-transform duration-300"},wb={class:"p-6 pb-2 border-b border-white/5 flex items-center justify-between shrink-0"},Sb={class:"p-6"},kb={class:"text-[10px] font-mono text-green-400 whitespace-pre-wrap"},Tb={class:"flex-1 w-full relative overflow-y-auto overflow-x-hidden z-10 scroll-smooth"},zb={key:1,class:"absolute bottom-0 left-0 w-full z-40 px-8 py-6 bg-gradient-to-t from-black via-black/80 to-transparent flex justify-between items-end pointer-events-none"},Cb={key:0,class:"pointer-events-auto text-left"},Ob={class:"text-[10px] font-bold text-gray-500 tracking-[0.2em] uppercase mb-1"},Eb={class:"flex items-center gap-2 text-white/50 text-sm font-mono"},Pb={key:0,class:"h-px w-8 bg-white/20"},$b={key:1,class:"flex-1"},Ab={key:2,class:"pointer-events-auto flex gap-3"},Ib=["disabled"],Db=["disabled"],Qf=Ae({__name:"LuminaDeck",setup(t){const{slide:e,index:n,total:r,next:i,prev:s,options:o}=Gv(),a=Sn(fi),l=Ee(()=>a.hasNext()),c=Ee(()=>a.hasPrev()),u=Ee(()=>{var x,y;return(y=(x=a.state.deck)==null?void 0:x.meta)==null?void 0:y.title}),f=Ee(()=>a.state.options.ui),h=Ee(()=>a.state.options.navigation);Xv();const d=Mt({showJson:!1}),m=Ee(()=>o.debug),p=Ee(()=>!e.value||!e.value.type?null:`layout-${e.value.type}`),b=Ee(()=>{var x,y,E,P,I,v,S,N;return{backgroundColor:((y=(x=e.value)==null?void 0:x.meta)==null?void 0:y.orbColor)||"#3b82f6",width:"60vw",height:"60vw",top:((I=(P=(E=e.value)==null?void 0:E.meta)==null?void 0:P.orbPos)==null?void 0:I.top)||"-20%",left:((N=(S=(v=e.value)==null?void 0:v.meta)==null?void 0:S.orbPos)==null?void 0:N.left)||"-10%"}}),w=x=>{hn.emit("action",x)},k=(x,y)=>{const E=x;E.style.opacity="1",y()},T=(x,y)=>{var S,N,O;const{options:E}=a.state;if(((S=E.animation)==null?void 0:S.enabled)===!1){y();return}const P=((N=E.animation)==null?void 0:N.durationOut)||.5,I=((O=E.animation)==null?void 0:O.type)||"cascade",v=Xt.timeline({onComplete:y});I==="fade"?v.to(x,{opacity:0,duration:P}):I==="zoom"?v.to(x,{opacity:0,scale:1.1,duration:P}):v.to(x,{opacity:0,y:-20,duration:P,ease:"power2.in"})};return(x,y)=>{var E,P,I,v;return J(),se("div",vb,[M("div",yb,[M("div",{class:"ambient-orb",style:Zt(b.value)},null,4),y[6]||(y[6]=M("div",{class:"absolute inset-0 opacity-[0.04]",style:{"background-image":"url('https://grainy-gradients.vercel.app/noise.svg')"}},null,-1))]),m.value?(J(),se("div",bb,[M("button",{onClick:y[0]||(y[0]=S=>d.value.showJson=!d.value.showJson),class:"w-8 h-8 rounded-full glass-panel flex items-center justify-center text-gray-400 hover:text-white transition",title:"JSON"},[...y[7]||(y[7]=[M("i",{class:"fa-solid fa-code text-xs"},null,-1)])])])):zt("",!0),Fe(oc,{name:"fade"},{default:Vt(()=>[d.value.showJson?(J(),se("div",{key:0,class:"fixed inset-0 z-[100] flex justify-end",onClick:y[3]||(y[3]=wc(S=>d.value.showJson=!1,["self"]))},[M("div",{class:"absolute inset-0 bg-black/20 backdrop-blur-sm transition-opacity",onClick:y[1]||(y[1]=S=>d.value.showJson=!1)}),M("div",xb,[M("div",wb,[y[9]||(y[9]=M("span",{class:"text-xs font-bold text-gray-400 uppercase tracking-widest"},"Slide Data",-1)),M("button",{onClick:y[2]||(y[2]=S=>d.value.showJson=!1),class:"w-8 h-8 rounded-full bg-white/5 hover:bg-white/10 flex items-center justify-center text-white/50 hover:text-white transition"},[...y[8]||(y[8]=[M("i",{class:"fa-solid fa-xmark"},null,-1)])])]),M("div",Sb,[M("pre",kb,ce(JSON.stringify(Ut(e),null,2)),1)])])])):zt("",!0)]),_:1}),M("main",Tb,[Fe(oc,{css:!1,onLeave:T,onEnter:k,mode:"out-in"},{default:Vt(()=>[p.value?(J(),nt(Xi(p.value),{key:Ut(n),data:Ut(e),onAction:w,class:"min-h-full w-full"},null,40,["data"])):zt("",!0)]),_:1})]),(E=f.value)!=null&&E.visible?(J(),se("div",zb,[(P=f.value)!=null&&P.showSlideCount?(J(),se("div",Cb,[M("h2",Ob,ce(u.value),1),M("div",Eb,[M("span",null,ce((Ut(n)+1).toString().padStart(2,"0")),1),(I=f.value)!=null&&I.showProgressBar?(J(),se("div",Pb)):zt("",!0),M("span",null,ce(Ut(r).toString().padStart(2,"0")),1)])])):(J(),se("div",$b)),(v=f.value)!=null&&v.showControls?(J(),se("div",Ab,[M("button",{onClick:y[4]||(y[4]=(...S)=>Ut(s)&&Ut(s)(...S)),class:X(["w-12 h-12 rounded-full glass-panel hover:bg-white/10 flex items-center justify-center transition active:scale-95",!c.value||!h.value?"opacity-30 cursor-not-allowed":""]),disabled:!c.value||!h.value},[...y[10]||(y[10]=[M("i",{class:"fa-solid fa-arrow-left"},null,-1)])],10,Ib),M("button",{onClick:y[5]||(y[5]=(...S)=>Ut(i)&&Ut(i)(...S)),class:X(["w-12 h-12 rounded-full bg-white text-black hover:scale-105 flex items-center justify-center transition shadow-lg active:scale-95",!l.value||!h.value?"opacity-30 cursor-not-allowed":""]),disabled:!l.value||!h.value},[...y[11]||(y[11]=[M("i",{class:"fa-solid fa-arrow-right"},null,-1)])],10,Db)])):zt("",!0)])):zt("",!0)])}}}),$t=class $t{constructor(e){et(this,"channel",null);et(this,"handlers",new Set);et(this,"lastTimestamp",0);et(this,"heartbeatInterval",null);et(this,"isConnected",!1);et(this,"connectionHandlers",new Set);this.channelName=e,this.initChannel()}static getInstance(e,n=!1){return n?new $t(e):($t.instances.has(e)||$t.instances.set(e,new $t(e)),$t.instances.get(e))}static isSupported(){return typeof BroadcastChannel<"u"}initChannel(){if(!$t.isSupported()){console.warn("[SpeakerChannel] BroadcastChannel not supported in this environment");return}try{this.channel=new BroadcastChannel(this.channelName),this.channel.onmessage=e=>{const n=e.data;if(!(n.timestamp&&n.timestamp===this.lastTimestamp)){if(n.action==="ping"){this.send({action:"pong"}),this.handlers.forEach(r=>{try{r(n)}catch(i){console.error("[SpeakerChannel] Handler error:",i)}});return}if(n.action==="pong"){this.setConnected(!0);return}if(n.action==="close"){this.setConnected(!1);return}this.handlers.forEach(r=>{try{r(n)}catch(i){console.error("[SpeakerChannel] Handler error:",i)}})}},this.channel.onmessageerror=e=>{console.error("[SpeakerChannel] Message error:",e)},this.startHeartbeat()}catch(e){console.error("[SpeakerChannel] Failed to initialize:",e)}}send(e){if(!this.channel)return;const n={...e,timestamp:Date.now(),channelId:this.channelName};this.lastTimestamp=n.timestamp,this.channel.postMessage(n)}subscribe(e){return this.handlers.add(e),()=>this.handlers.delete(e)}onConnectionChange(e){return this.connectionHandlers.add(e),e(this.isConnected),()=>this.connectionHandlers.delete(e)}get connected(){return this.isConnected}ping(){this.send({action:"ping"})}notifyClose(){this.send({action:"close"})}startHeartbeat(){this.ping(),this.heartbeatInterval=setInterval(()=>{(this.handlers.size>0||this.connectionHandlers.size>0)&&this.ping()},5e3)}setConnected(e){this.isConnected!==e&&(this.isConnected=e,this.connectionHandlers.forEach(n=>n(e)))}destroy(){this.notifyClose(),this.heartbeatInterval&&(clearInterval(this.heartbeatInterval),this.heartbeatInterval=null),this.channel&&(this.channel.close(),this.channel=null),this.handlers.clear(),this.connectionHandlers.clear(),$t.instances.delete(this.channelName)}static destroyAll(){$t.instances.forEach(e=>e.destroy()),$t.instances.clear()}};et($t,"instances",new Map);let Zr=$t;const Mb={class:"speaker-notes"},Nb={class:"sn-header"},Rb={class:"sn-status"},Fb={class:"sn-slide-count"},Zb={class:"sn-content"},Lb={class:"sn-notes-section"},jb=["innerHTML"],Ub={key:1,class:"sn-notes-empty"},Bb={class:"sn-footer"},Vb={class:"sn-nav-controls"},Hb=["disabled"],Wb={class:"sn-timer-value"},Jb=["disabled"],Kb=Ae({__name:"LuminaSpeakerNotes",props:{channelId:{}},setup(t){const e=t,n=Mt(0),r=Mt(0),i=Mt(""),s=Mt(null),o=Mt(!1),a=Mt(null),l=Mt(0),c=Mt(!1),u=Mt(null),f=Ee(()=>r.value===0?"No slides loaded":`Slide ${n.value+1} / ${r.value}`),h=Ee(()=>{const v=Math.floor(l.value/3600),S=Math.floor(l.value%3600/60),N=l.value%60;return v>0?`${v.toString().padStart(2,"0")}:${S.toString().padStart(2,"0")}:${N.toString().padStart(2,"0")}`:`${S.toString().padStart(2,"0")}:${N.toString().padStart(2,"0")}`}),d=Ee(()=>n.value<r.value-1),m=Ee(()=>n.value>0);function p(v){return v?v.replace(/\*\*(.*?)\*\*/g,"<strong>$1</strong>").replace(/__(.*?)__/g,"<strong>$1</strong>").replace(new RegExp("(?<!\\*)\\*(?!\\*)(.*?)(?<!\\*)\\*(?!\\*)","g"),"<em>$1</em>").replace(new RegExp("(?<!_)_(?!_)(.*?)(?<!_)_(?!_)","g"),"<em>$1</em>").replace(/\n/g,"<br>").replace(/^[-*]\s+(.*)$/gm,"<li>$1</li>").replace(/(<li>.*<\/li>)/gs,"<ul>$1</ul>").replace(/<\/ul>\s*<ul>/g,""):""}function b(){const v=new URLSearchParams(window.location.search),S=e.channelId||v.get("channel")||"lumina-speaker-default";a.value=Zr.getInstance(S,!0),a.value.onConnectionChange(Y=>{o.value=Y}),a.value.subscribe(w);let N=0;const O=10,B=setInterval(()=>{var Y;if(r.value>0||N>=O){clearInterval(B);return}(Y=a.value)==null||Y.ping(),N++},300);a.value.ping()}function w(v){switch(v.action){case"state":v.index!==void 0&&(n.value=v.index),v.totalSlides!==void 0&&(r.value=v.totalSlides),v.currentNotes!==void 0&&(i.value=v.currentNotes),v.nextSlidePreview&&(s.value=v.nextSlidePreview);break;case"goto":v.index!==void 0&&(n.value=v.index);break}}function k(){var v;d.value&&((v=a.value)==null||v.send({action:"next"}))}function T(){var v;m.value&&((v=a.value)==null||v.send({action:"prev"}))}function x(){c.value||(c.value=!0,u.value=setInterval(()=>{l.value++},1e3))}function y(){c.value=!1,u.value&&(clearInterval(u.value),u.value=null)}function E(){c.value?y():x()}function P(){y(),l.value=0}function I(v){switch(v.key){case"ArrowRight":case" ":case"Enter":v.preventDefault(),k();break;case"ArrowLeft":case"Backspace":v.preventDefault(),T();break;case"t":case"T":v.preventDefault(),E();break;case"r":case"R":if(v.ctrlKey||v.metaKey)return;v.preventDefault(),P();break}}return _r(()=>{b(),window.addEventListener("keydown",I),window.addEventListener("beforeunload",()=>{var v;(v=a.value)==null||v.notifyClose()})}),mr(()=>{var v;y(),window.removeEventListener("keydown",I),(v=a.value)==null||v.destroy()}),(v,S)=>(J(),se("div",Mb,[M("header",Nb,[S[0]||(S[0]=Jh('<div class="sn-title" data-v-63b98fd9><svg class="sn-logo" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-63b98fd9><path d="M12 2L2 7l10 5 10-5-10-5z" data-v-63b98fd9></path><path d="M2 17l10 5 10-5" data-v-63b98fd9></path><path d="M2 12l10 5 10-5" data-v-63b98fd9></path></svg><span data-v-63b98fd9>Lumina Speaker Notes</span></div>',1)),M("div",Rb,[M("span",{class:X(["sn-indicator",{connected:o.value}])},null,2),M("span",Fb,ce(f.value),1)])]),M("main",Zb,[M("section",Lb,[S[2]||(S[2]=M("h2",{class:"sn-section-title"},"Notes",-1)),i.value?(J(),se("div",{key:0,class:"sn-notes-content",innerHTML:p(i.value)},null,8,jb)):(J(),se("div",Ub,[...S[1]||(S[1]=[M("p",null,"No notes for this slide",-1)])]))])]),M("footer",Bb,[M("div",Vb,[M("button",{class:"sn-btn sn-btn-nav",disabled:!m.value,onClick:T,title:"Previous (← or Backspace)"},[...S[3]||(S[3]=[M("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[M("polyline",{points:"15 18 9 12 15 6"})],-1),M("span",null,"Prev",-1)])],8,Hb),M("div",{class:"sn-timer",onClick:E,title:"Click to start/pause (T)"},[M("span",{class:X(["sn-timer-icon",{running:c.value}])},ce(c.value?"⏸":"▶"),3),M("span",Wb,ce(h.value),1),M("button",{class:"sn-timer-reset",onClick:wc(P,["stop"]),title:"Reset timer (R)"},"↻")]),M("button",{class:"sn-btn sn-btn-nav sn-btn-primary",disabled:!d.value,onClick:k,title:"Next (→, Space, or Enter)"},[...S[4]||(S[4]=[M("span",null,"Next",-1),M("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[M("polyline",{points:"9 18 15 12 9 6"})],-1)])],8,Jb)])])]))}}),ba=(t,e)=>{const n=t.__vccOpts||t;for(const[r,i]of e)n[r]=i;return n},qb=ba(Kb,[["__scopeId","data-v-63b98fd9"]]);function Yb(t,e){const n=Sn(fi);let r=null;const i=()=>{if(!t.value||!n)return;r==null||r.revert();const{enabled:s,type:o,durationIn:a,stagger:l,ease:c}=n.state.options.animation||{};if(s===!1){Xt.set(t.value.querySelectorAll(".reveal-up, .reveal-zoom, .reveal-content > *, .reveal-card, .reveal-img"),{opacity:1,y:0,scale:1,visibility:"visible"});return}r=Xt.context(()=>{const u=t.value,f=o==="fade",h=o==="slide",d=o==="zoom",m=f?0:h?80:40,p=d?.8:o==="cascade"?.95:1;u.querySelector(".reveal-up")&&Xt.set(".reveal-up",{y:m,opacity:0}),u.querySelector(".reveal-zoom")&&Xt.set(".reveal-zoom",{scale:p,opacity:0}),u.querySelector(".reveal-content > *")&&Xt.set(".reveal-content > *",{y:f?0:30,opacity:0}),u.querySelector(".reveal-card")&&Xt.set(".reveal-card",{y:f?0:50,opacity:0,scale:p}),u.querySelector(".reveal-img")&&Xt.set(".reveal-img",{scale:1.1,opacity:0});const b=Xt.timeline({defaults:{ease:c||"power3.out",duration:a||.8},onComplete:e});u.querySelector(".reveal-img")&&b.to(".reveal-img",{scale:1,opacity:1,duration:(a||1)*1.2,ease:"expo.out"},0);const w=a||.8,k=l||.1;u.querySelectorAll(".reveal-card").length&&b.to(".reveal-card",{y:0,opacity:1,scale:1,duration:w,stagger:k,ease:h?"expo.out":"back.out(1.2)"},.2);const T=u.querySelectorAll(".reveal-content > *");T.length&&b.to(T,{y:0,opacity:1,duration:w,stagger:k/2},.3),u.querySelectorAll(".reveal-up").length&&b.to(".reveal-up",{y:0,opacity:1,duration:w,stagger:k},.2),u.querySelector(".reveal-zoom")&&b.to(".reveal-zoom",{scale:1,opacity:1,duration:w*1.2,ease:"expo.out"},.1)},t)};return _r(()=>{Qa(()=>{i()})}),mr(()=>{r==null||r.revert()}),{animateIn:i}}const Gb={class:"absolute inset-0 z-0 pointer-events-none"},Xb={class:"relative z-10 w-full h-full"},or=Ae({__name:"BaseSlide",props:{data:{},customClass:{}},setup(t){const e=Mt(null);return Yb(e),(n,r)=>(J(),se("div",{ref_key:"container",ref:e,class:X(["w-full min-h-full relative text-white",t.customClass])},[M("div",Gb,[bl(n.$slots,"background")]),M("div",Xb,[bl(n.$slots,"default")])],2))}}),Qb={class:"reveal-zoom max-w-5xl z-10"},e1={key:0,class:"inline-block px-4 py-1 rounded-full border border-white/10 bg-white/5 text-sm font-medium tracking-widest uppercase mb-10 text-[var(--lumina-primary)]",style:{color:"var(--lumina-colors-primary, #3b82f6)"}},t1={key:1,class:"text-xl md:text-3xl font-light max-w-3xl mx-auto leading-normal",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},n1=Ae({__name:"LayoutStatement",props:{data:{}},setup(t){return(e,n)=>(J(),nt(or,{data:t.data},{default:Vt(()=>[M("div",{class:X(["flex flex-col justify-center items-center text-center p-8 relative",t.data.sizing==="container"?"h-full":"min-h-screen"])},[M("div",Qb,[t.data.tag?(J(),se("span",e1,ce(t.data.tag),1)):zt("",!0),M("h1",{class:"font-heading font-bold leading-[0.9] tracking-tight mb-8 text-transparent bg-clip-text bg-gradient-to-b from-white to-gray-500",style:Zt(t.data.sizing==="container"?"font-size: 3.5rem;":"font-size: clamp(3rem, 10vw, 8rem);")},ce(t.data.title),5),t.data.subtitle?(J(),se("p",t1,ce(t.data.subtitle),1)):zt("",!0)])],2)]),_:1},8,["data"]))}}),r1=["src"],i1={class:"reveal-content max-w-xl"},s1={class:"text-xs font-bold uppercase tracking-[0.2em] mb-6 block",style:{color:"var(--lumina-colors-primary, #3b82f6)"}},o1={class:"text-4xl lg:text-6xl font-heading font-bold leading-tight mb-8 text-white"},a1={class:"space-y-6 text-lg leading-relaxed font-light mb-10",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},l1={key:0,class:"pt-6 border-t border-white/10"},c1=Ae({__name:"LayoutHalf",props:{data:{}},emits:["action"],setup(t){return(e,n)=>(J(),nt(or,{data:t.data,customClass:"bg-[var(--lumina-bg)]"},{default:Vt(()=>[M("div",{class:X(["w-full flex flex-col lg:block relative",t.data.sizing==="container"?"min-h-full":"min-h-screen"])},[M("div",{class:X(["relative h-[40vh] lg:h-full lg:w-1/2 overflow-hidden z-0",t.data.sizing==="container"?"lg:absolute lg:top-0":"lg:fixed lg:top-0",t.data.imageSide==="right"?"lg:right-0 order-1":"lg:left-0 order-1"])},[n[1]||(n[1]=M("div",{class:"absolute inset-0 bg-black/20 z-10"},null,-1)),M("img",{src:t.data.image,class:"w-full h-full object-cover reveal-img scale-110 origin-center",alt:"Slide Image"},null,8,r1)],2),M("div",{class:X(["relative z-10 w-full lg:w-1/2 min-h-[60vh] flex flex-col justify-center p-8 lg:p-24 order-2 bg-[#050505]",t.data.imageSide==="right"?"lg:mr-[50%]":"lg:ml-[50%]",t.data.sizing==="container"?"lg:min-h-full":"lg:min-h-screen"])},[M("div",i1,[M("span",s1,ce(t.data.tag),1),M("h1",o1,ce(t.data.title),1),M("div",a1,[(J(!0),se(Oe,null,gr(t.data.paragraphs,(r,i)=>(J(),se("p",{key:i},ce(r),1))),128))]),t.data.cta?(J(),se("div",l1,[M("button",{onClick:n[0]||(n[0]=r=>e.$emit("action",{type:"cta",label:t.data.cta})),class:"px-8 py-4 bg-white text-black font-bold rounded-lg hover:bg-gray-200 transition flex items-center gap-3"},[Kl(ce(t.data.cta)+" ",1),n[2]||(n[2]=M("i",{class:"fa-solid fa-arrow-right"},null,-1))])])):zt("",!0)])],2)],2)]),_:1},8,["data"]))}}),u1={class:"mb-16 reveal-up text-center lg:text-left max-w-6xl"},f1=Ae({__name:"LayoutFeatures",props:{data:{}},setup(t){return(e,n)=>(J(),nt(or,{data:t.data},{default:Vt(()=>[M("div",{class:X(["w-full flex flex-col justify-center p-8 lg:p-24",t.data.sizing==="container"?"min-h-full":"min-h-screen"])},[M("div",u1,[M("h2",{class:X(["font-heading font-bold mb-4",t.data.sizing==="container"?"text-3xl":"text-5xl"])},ce(t.data.title),3),M("p",{class:X([t.data.sizing==="container"?"text-sm":"text-xl"]),style:{color:"var(--lumina-colors-muted, #9ca3af)"}},ce(t.data.description),3)]),M("div",{class:X(["grid w-full",t.data.sizing==="container"?"grid-cols-1 gap-3":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"])},[(J(!0),se(Oe,null,gr(t.data.features,(r,i)=>(J(),se("div",{key:i,class:X(["glass-panel rounded-3xl hover:bg-white/5 transition duration-500 reveal-card group border-t border-white/5 hover:border-blue-500/50",t.data.sizing==="container"?"p-6":"p-8"])},[M("div",{class:X(["rounded-xl bg-white/5 flex items-center justify-center text-xl mb-6 group-hover:scale-110 transition duration-300",t.data.sizing==="container"?"w-10 h-10 mb-4":"w-12 h-12 mb-6"]),style:{color:"var(--lumina-colors-primary, #3b82f6)"}},[M("i",{class:X(["fa-solid",r.icon.startsWith("fa-")?r.icon:`fa-${r.icon}`])},null,2)],2),M("h3",{class:X(["font-bold mb-3 text-white",t.data.sizing==="container"?"text-lg":"text-2xl"])},ce(r.title),3),M("p",{class:X(["leading-relaxed",[t.data.sizing==="container"?"text-sm":""]]),style:{color:"var(--lumina-colors-muted, #9ca3af)"}},ce(r.desc),3)],2))),128))],2)],2)]),_:1},8,["data"]))}}),d1={class:"text-center mb-16 reveal-up"},h1={class:"text-5xl font-heading font-bold mb-4"},p1={key:0,class:"text-xl opacity-60"},_1={class:"relative max-w-6xl mx-auto w-full"},m1={class:"space-y-12"},g1={class:"text-sm font-bold tracking-widest uppercase text-blue-400 mb-1"},v1={class:"text-2xl font-bold"},y1={class:"text-lg opacity-60 leading-relaxed"},b1=Ae({__name:"LayoutTimeline",props:{data:{}},setup(t){return(e,n)=>(J(),nt(or,{data:t.data},{default:Vt(()=>[M("div",{class:X(["w-full flex flex-col justify-center p-8 lg:p-24",t.data.sizing==="container"?"min-h-full py-12 lg:py-16":"min-h-screen"])},[M("div",d1,[M("h2",h1,ce(t.data.title),1),t.data.subtitle?(J(),se("p",p1,ce(t.data.subtitle),1)):zt("",!0)]),M("div",_1,[n[1]||(n[1]=M("div",{class:"absolute left-4 md:left-1/2 top-0 bottom-0 w-0.5 bg-white/20 -translate-x-1/2 reveal-zoom origin-top"},null,-1)),M("div",m1,[(J(!0),se(Oe,null,gr(t.data.timeline,(r,i)=>(J(),se("div",{key:i,class:X(["relative flex flex-col md:flex-row gap-8 md:gap-0 items-start md:items-center reveal-card",i%2===0?"":"md:flex-row-reverse"])},[M("div",{class:X(["w-full md:w-1/2 pl-12 md:pl-0 flex flex-col justify-center",i%2===0?"md:pr-12 md:text-right md:items-end":"md:pl-12 md:text-left md:items-start"])},[M("span",g1,ce(r.date),1),M("h3",v1,ce(r.title||r.t),1)],2),n[0]||(n[0]=M("div",{class:"absolute left-4 md:left-1/2 -translate-x-1/2 w-4 h-4 rounded-full bg-blue-500 shadow-[0_0_20px_rgba(59,130,246,0.5)] border-4 border-[#030303] z-10"},null,-1)),M("div",{class:X(["w-full md:w-1/2 pl-12 md:pl-0",i%2===0?"md:pl-12":"md:pr-12 md:text-right"])},[M("p",y1,ce(r.description||r.desc),1)],2)],2))),128))])])],2)]),_:1},8,["data"]))}}),x1={key:0,class:"hidden lg:block absolute top-[2.5rem] left-0 right-0 h-0.5 bg-gradient-to-r from-transparent via-white/20 to-transparent reveal-zoom origin-left"},w1={class:"text-transparent bg-clip-text bg-gradient-to-br from-white to-gray-600"},S1=Ae({__name:"LayoutSteps",props:{data:{}},setup(t){return(e,n)=>(J(),nt(or,{data:t.data},{default:Vt(()=>[M("div",{class:X(["w-full flex flex-col justify-center overflow-hidden",t.data.sizing==="container"?"min-h-full p-4":"min-h-screen p-8 lg:p-12"])},[M("div",{class:X(["text-center reveal-up",t.data.sizing==="container"?"mb-6":"mb-20"])},[M("h2",{class:X(["font-heading font-bold mb-2",t.data.sizing==="container"?"text-2xl":"text-5xl"])},ce(t.data.title),3),t.data.subtitle?(J(),se("p",{key:0,class:X(["opacity-60 max-w-2xl mx-auto",t.data.sizing==="container"?"text-sm":"text-xl"])},ce(t.data.subtitle),3)):zt("",!0)],2),M("div",{class:X(["grid gap-4 w-full mx-auto relative",t.data.sizing==="container"?"grid-cols-3 max-w-xl":"grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 max-w-7xl"])},[t.data.sizing!=="container"?(J(),se("div",x1)):zt("",!0),(J(!0),se(Oe,null,gr(t.data.steps,(r,i)=>(J(),se("div",{key:i,class:X(["relative glass-panel rounded-xl border border-white/5 reveal-card group hover:bg-white/5 transition duration-500",t.data.sizing==="container"?"p-3 text-center":"p-8 rounded-2xl"])},[M("div",{class:X(["rounded-xl bg-[#111] border border-white/10 flex items-center justify-center font-bold relative z-10 group-hover:scale-105 transition duration-300 shadow-xl mx-auto",t.data.sizing==="container"?"w-12 h-12 text-lg mb-3":"w-20 h-20 text-2xl mb-6 lg:mx-0"])},[M("span",w1,ce(r.step),1)],2),M("h3",{class:X(["font-bold",t.data.sizing==="container"?"text-sm mb-1":"text-xl mb-3"])},ce(r.title),3),M("p",{class:X(["leading-relaxed opacity-60",t.data.sizing==="container"?"text-[10px]":"text-sm"])},ce(r.description),3)],2))),128))],2)],2)]),_:1},8,["data"]))}}),k1=["src","alt"],T1=ba(Ae({__name:"LayoutFlex",props:{data:{}},emits:["action"],setup(t,{emit:e}){const n=t,r=e,i={none:"0",xs:"0.5rem",sm:"0.75rem",md:"1rem",lg:"1.5rem",xl:"2rem","2xl":"3rem"},s={auto:"auto",quarter:"25%",third:"33.333%",half:"50%","two-thirds":"66.666%","three-quarters":"75%",full:"100%"},o={top:"flex-start",center:"center",bottom:"flex-end"},a={left:"flex-start",center:"center",right:"flex-end"},l=Ee(()=>({padding:i[n.data.padding||"none"]})),c=Ee(()=>n.data.direction==="vertical"?"flex-col":"flex-row"),u=Ee(()=>({gap:i[n.data.gap||"none"]})),f=S=>!S||S==="auto"?"flex-1":"",h=S=>{const N=S.size||"auto";return N==="auto"?{flex:"1 1 auto"}:{flex:`0 0 ${s[N]}`,maxWidth:n.data.direction!=="vertical"?s[N]:void 0,maxHeight:n.data.direction==="vertical"?s[N]:void 0}},d=S=>{const N=S.valign||"center",O=S.halign||"left",B=S.gap||"md",Y=S.padding||"lg",ie=S.size||"auto";return{flex:ie==="auto"?"1 1 auto":`0 0 ${s[ie]}`,justifyContent:o[N],alignItems:a[O],gap:i[B],padding:i[Y]}},m=()=>({display:"flex",alignItems:"center",padding:i.lg}),p=(S,N)=>N!==!1&&!S?"":{none:"rounded-none",sm:"rounded-sm",md:"rounded-md",lg:"rounded-lg",xl:"rounded-xl",full:"rounded-full"}[S||"lg"]||"rounded-lg",b=S=>{r("action",S),hn.emit("action",S)},w=Ae({props:["text","size","align"],setup(S){const N={lg:"text-3xl lg:text-4xl",xl:"text-4xl lg:text-5xl","2xl":"text-5xl lg:text-6xl","3xl":"text-6xl lg:text-7xl"}[S.size||"xl"]||"text-4xl lg:text-5xl",O={left:"text-left",center:"text-center",right:"text-right"}[S.align||"left"]||"text-left";return()=>me("h2",{class:`font-heading font-bold leading-tight ${N} ${O} w-full`},S.text)}}),k=Ae({props:["text","align","muted"],setup(S){const N={left:"text-left",center:"text-center",right:"text-right"}[S.align||"left"]||"text-left";return()=>me("p",{class:`text-lg lg:text-xl leading-relaxed w-full ${N} ${S.muted?"opacity-60":"opacity-80"}`},S.text)}}),T=Ae({props:["items"],setup(S){return()=>me("ul",{class:"space-y-3 w-full"},(S.items||[]).map(N=>me("li",{class:"flex items-start gap-3 text-lg opacity-80"},[me("span",{class:"w-2 h-2 rounded-full bg-blue-500 mt-2 flex-shrink-0 shadow-[0_0_10px_rgba(59,130,246,0.5)]"}),me("span",{},N)])))}}),x=Ae({props:["items"],setup(S){return()=>me("ol",{class:"space-y-3 w-full"},(S.items||[]).map((N,O)=>me("li",{class:"flex items-start gap-3 text-lg opacity-80"},[me("span",{class:"w-7 h-7 rounded-lg bg-white/10 flex items-center justify-center text-sm font-bold flex-shrink-0"},O+1),me("span",{},N)])))}}),y=Ae({props:["label","action","variant","fullWidth"],emits:["action"],setup(S,{emit:N}){const O={primary:"bg-gradient-to-r from-blue-500 to-purple-600 text-white shadow-lg hover:shadow-xl",secondary:"bg-white/10 text-white border border-white/20 hover:bg-white/20",outline:"bg-transparent text-white border-2 border-white/50 hover:border-white hover:bg-white/5",ghost:"bg-transparent text-white/70 hover:text-white hover:bg-white/5"}[S.variant||"primary"]||"bg-gradient-to-r from-blue-500 to-purple-600 text-white",B=()=>{N("action",{type:"click",label:S.label,value:S.action||S.label,origin:"flex-button"})};return()=>me("button",{class:`px-8 py-4 rounded-full font-bold text-lg transition-all duration-300 cursor-pointer hover:scale-105 ${O} ${S.fullWidth?"w-full":""}`,onClick:B},S.label)}}),E=Ae({props:["items","compact"],setup(S){return()=>me("div",{class:"w-full space-y-4"},(S.items||[]).map(N=>me("div",{class:"flex gap-4 items-start border-l-2 border-blue-500/30 pl-4"},[me("div",{class:"flex-shrink-0 w-3 h-3 rounded-full bg-blue-500 -ml-[22px] mt-1.5 shadow-[0_0_10px_rgba(59,130,246,0.5)]"}),me("div",{},[me("span",{class:"text-xs text-blue-400 font-bold uppercase tracking-wider"},N.date),me("h4",{class:"font-bold text-lg"},N.title||N.t),me("p",{class:"text-sm opacity-60"},N.description||N.desc)])])))}}),P=Ae({props:["items","compact"],setup(S){return()=>me("div",{class:"w-full space-y-4"},(S.items||[]).map(N=>me("div",{class:"flex gap-4 items-start p-4 rounded-lg bg-white/5 border border-white/10"},[me("div",{class:"flex-shrink-0 w-10 h-10 rounded-lg bg-gradient-to-br from-blue-500/20 to-purple-500/20 flex items-center justify-center font-bold text-blue-400"},N.step),me("div",{},[me("h4",{class:"font-bold"},N.title||N.t),me("p",{class:"text-sm opacity-60"},N.description||N.desc)])])))}}),I=Ae({props:["size"],setup(S){const N=i[S.size||"md"]||i.md;return()=>me("div",{style:{height:N,width:"100%"}})}}),v=S=>({title:w,text:k,bullets:T,ordered:x,button:y,timeline:E,stepper:P,spacer:I})[S]||"div";return(S,N)=>(J(),nt(or,{data:t.data},{default:Vt(()=>[M("div",{class:"flex-layout w-full min-h-screen flex items-center justify-center",style:Zt(l.value)},[M("div",{class:X(["flex w-full h-full max-w-7xl mx-auto",c.value]),style:Zt(u.value)},[(J(!0),se(Oe,null,gr(t.data.elements,(O,B)=>(J(),se(Oe,{key:B},[O.type==="image"?(J(),se("div",{key:0,class:X(f(O.size)),style:Zt(h(O))},[M("img",{src:O.src,alt:O.alt||"",class:X(["w-full h-full",O.fill!==!1?"object-cover":"object-contain",p(O.rounded,O.fill)])},null,10,k1)],6)):O.type==="content"?(J(),se("div",{key:1,class:X(["flex flex-col",f(O.size)]),style:Zt(d(O))},[(J(!0),se(Oe,null,gr(O.elements,(Y,ie)=>(J(),nt(Xi(v(Y.type)),uo({key:ie,ref_for:!0},Y,{onAction:b}),null,16))),128))],6)):(J(),se("div",{key:2,class:X(f(O.size)),style:Zt(m())},[(J(),nt(Xi(v(O.type)),uo({ref_for:!0},O,{onAction:b}),null,16))],6))],64))),128))],6)],4)]),_:1},8,["data"]))}}),[["__scopeId","data-v-eccf62e4"]]),z1=Ae({__name:"LayoutAuto",props:{data:{}},emits:["action"],setup(t,{emit:e}){const n=t,r=Ee(()=>{var u,f,h;const i=n.data||{},s=Array.isArray(i.timeline)&&i.timeline.length>0,o=Array.isArray(i.steps)&&i.steps.length>0,a=Array.isArray(i.features)&&i.features.length>0,l=!!i.image;let c="layout-statement";return s?c="layout-timeline":o?c="layout-steps":a?c="layout-features":l?c="layout-half":(((u=i.title)==null?void 0:u.length)||0)+(((f=i.subtitle)==null?void 0:f.length)||0)+(((h=i.paragraphs)==null?void 0:h.join("").length)||0),c});return(i,s)=>(J(),nt(Xi(r.value),{data:t.data,onAction:s[0]||(s[0]=o=>i.$emit("action",o))},null,40,["data"]))}}),C1=["innerHTML"],O1=ba(Ae({__name:"LayoutCustom",props:{data:{}},setup(t){const e=t,n=`custom-slide-${Math.random().toString(36).slice(2,10)}`;function r(){if(i(),!e.data.css)return;const o=document.createElement("style");o.id=n,o.textContent=e.data.css,document.head.appendChild(o)}function i(){const o=document.getElementById(n);o&&o.remove()}_r(()=>{r()}),Kr(()=>e.data.css,()=>{r()}),mr(()=>{i()});const s=Ee(()=>e.data.html?e.data.html.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/on\w+\s*=\s*["'][^"']*["']/gi,"").replace(/javascript:/gi,""):"");return(o,a)=>(J(),nt(or,{data:t.data},{default:Vt(()=>[M("div",{class:X(["custom-slide-wrapper relative w-full overflow-hidden",t.data.sizing==="container"?"h-full":"min-h-screen"])},[M("div",{class:"custom-html-content w-full h-full",innerHTML:s.value},null,8,C1)],2)]),_:1},8,["data"]))}}),[["__scopeId","data-v-b8b91621"]]),zi={default:{colors:{primary:"#3b82f6",background:"#030303",text:"#ffffff",muted:"#9ca3af"},fonts:{heading:"Inter, sans-serif",body:"Inter, sans-serif",mono:"monospace"}},ocean:{colors:{primary:"#06b6d4",background:"#0f172a",text:"#f0f9ff",muted:"#94a3b8"},fonts:{heading:"Outfit, sans-serif",body:"Inter, sans-serif"}},midnight:{colors:{primary:"#6366f1",background:"#000000",text:"#e0e7ff",muted:"#6b7280"}},forest:{colors:{primary:"#10b981",background:"#022c22",text:"#ecfdf5",muted:"#6ee7b7"}},cyber:{colors:{primary:"#f472b6",background:"#18181b",text:"#ffffff",muted:"#a1a1aa"},fonts:{heading:"Orbitron, sans-serif",body:"Rajdhani, sans-serif"}},latte:{colors:{primary:"#d97706",background:"#fffbeb",text:"#451a03",muted:"#92400e"},fonts:{heading:"Playfair Display, serif",body:"Lato, sans-serif"}}},ed="lumina-theme-styles";class E1{static inject(e){let n;typeof e=="string"?n=zi[e]||zi.default:(n={...zi.default,...e},e.colors&&(n.colors={...zi.default.colors,...e.colors}),e.fonts&&(n.fonts={...zi.default.fonts,...e.fonts}));let r=document.getElementById(ed);r||(r=document.createElement("style"),r.id=ed,document.head.appendChild(r));const i=this.generateVars(n);r.innerHTML=`:root { ${i} }`}static generateVars(e){const n=[];if(e.colors){for(const[r,i]of Object.entries(e.colors))if(i){n.push(`--lumina-${r}: ${i};`);const s=this.hexToRgb(i);s&&n.push(`--lumina-${r}-rgb: ${s.r}, ${s.g}, ${s.b};`)}}if(e.fonts)for(const[r,i]of Object.entries(e.fonts))i&&n.push(`--lumina-font-${r}: ${i};`);return n.join(" ")}static hexToRgb(e){const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return n?{r:parseInt(n[1],16),g:parseInt(n[2],16),b:parseInt(n[3],16)}:null}}class P1{constructor(e,n={}){et(this,"app");et(this,"store");et(this,"speakerWindow",null);et(this,"speakerChannel",null);et(this,"speakerChannelId");et(this,"speakerUnsubscribe",null);this.selector=e,this.speakerChannelId=`lumina-speaker-${Date.now()}-${Math.random().toString(36).slice(2,8)}`,this.store=Yv(n),n.theme&&E1.inject(n.theme),this.app=kc(Qf),this.app.provide(fi,this.store),Kr(()=>this.store.state.currentIndex,(r,i)=>{var o;const s=(o=this.store.state.deck)==null?void 0:o.slides[r];s&&hn.emit("slideChange",{index:r,previousIndex:i??0,slide:s}),this.syncSpeakerNotes()}),this.app.component("layout-statement",n1),this.app.component("layout-half",c1),this.app.component("layout-features",f1),this.app.component("layout-timeline",b1),this.app.component("layout-steps",S1),this.app.component("layout-flex",T1),this.app.component("layout-auto",z1),this.app.component("layout-custom",O1),hn.on("action",r=>{this.store.recordAction(r)}),this.app.mount(this.selector)}load(e){this.store.loadDeck(e),hn.emit("ready",e),this.syncSpeakerNotes()}patch(e){this.store.patchDeck(e),this.syncSpeakerNotes()}exportState(){const{currentIndex:e,deck:n,actionHistory:r}=this.store.state,i=n==null?void 0:n.slides[e],s=r.map(a=>`User ${a.type}ed on ${a.label||a.value}`).join(" -> "),o=r.length>5?"High Engagement":"Low Engagement";return Object.freeze({status:"active",currentSlide:{index:e,id:(i==null?void 0:i.id)||e,type:i==null?void 0:i.type,title:(i&&"title"in i?i.title:null)||"(No Title)"},narrative:`User is currently on slide ${e+1}. Session Flow: ${s||"Just started"}.`,engagementLevel:o,history:[...r]})}on(e,n){hn.on(e,n)}off(e,n){hn.off(e,n)}destroy(){this.closeSpeakerNotes(),this.app&&(this.app.unmount(),this.app=null),hn.clear()}get currentSlideIndex(){return this.store.state.currentIndex}goTo(e){this.store.goto(e),this.syncSpeakerNotes()}next(){this.store.next(),this.syncSpeakerNotes()}prev(){this.store.prev(),this.syncSpeakerNotes()}openSpeakerNotes(){if(this.speakerWindow&&!this.speakerWindow.closed)return this.speakerWindow.focus(),this.speakerWindow;if(!Zr.isSupported())return console.error("[Lumina] BroadcastChannel not supported. Speaker notes require a modern browser."),null;const e=600,n=800,r=window.screenX+window.outerWidth,i=window.screenY;if(this.speakerWindow=window.open("about:blank",`lumina-speaker-notes-${this.speakerChannelId}`,`width=${e},height=${n},left=${r},top=${i},resizable=yes,scrollbars=yes`),!this.speakerWindow)return console.warn("[Lumina] Popup blocked. Please allow popups for speaker notes."),null;const s=this.speakerWindow;return s.document.open(),s.document.write(`
|
|
56
|
+
<!DOCTYPE html>
|
|
57
|
+
<html lang="en">
|
|
58
|
+
<head>
|
|
59
|
+
<meta charset="UTF-8">
|
|
60
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
61
|
+
<title>Speaker Notes - Lumina</title>
|
|
62
|
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
63
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
64
|
+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
65
|
+
</head>
|
|
66
|
+
<body>
|
|
67
|
+
<div id="speaker-notes-root"></div>
|
|
68
|
+
</body>
|
|
69
|
+
</html>
|
|
70
|
+
`),s.document.close(),setTimeout(()=>{if(s.closed)return;Array.from(document.querySelectorAll('style, link[rel="stylesheet"]')).forEach(a=>{s.document.head.appendChild(a.cloneNode(!0))});const o=s.document.getElementById("speaker-notes-root");if(o){const a=kc(qb,{channelId:this.speakerChannelId});a.mount(o),s.addEventListener("unload",()=>{a.unmount()})}},0),this.initSpeakerChannel(),this.speakerWindow}closeSpeakerNotes(){this.speakerUnsubscribe&&(this.speakerUnsubscribe(),this.speakerUnsubscribe=null),this.speakerChannel&&(this.speakerChannel.notifyClose(),this.speakerChannel.destroy(),this.speakerChannel=null),this.speakerWindow&&!this.speakerWindow.closed&&this.speakerWindow.close(),this.speakerWindow=null}get isSpeakerNotesOpen(){return this.speakerWindow!==null&&!this.speakerWindow.closed}initSpeakerChannel(){this.speakerChannel=Zr.getInstance(this.speakerChannelId),this.speakerUnsubscribe=this.speakerChannel.subscribe(n=>{switch(n.action){case"next":this.store.next(),this.syncSpeakerNotes();break;case"prev":this.store.prev(),this.syncSpeakerNotes();break;case"goto":n.index!==void 0&&(this.store.goto(n.index),this.syncSpeakerNotes());break;case"ping":this.syncSpeakerNotes();break}}),this.syncSpeakerNotes();const e=setInterval(()=>{var n;(n=this.speakerWindow)!=null&&n.closed&&(clearInterval(e),this.closeSpeakerNotes())},1e3)}syncSpeakerNotes(){if(!this.speakerChannel)return;const{currentIndex:e,deck:n}=this.store.state;if(!n)return;const r=n.slides[e],i=n.slides[e+1],s=o=>{if(o&&"title"in o&&typeof o.title=="string")return o.title};this.speakerChannel.send({action:"state",index:e,totalSlides:n.slides.length,currentNotes:r==null?void 0:r.notes,nextSlidePreview:i?{title:s(i),type:i.type}:void 0})}}Je.Lumina=P1,Je.LuminaDeck=Qf,Je.SpeakerChannel=Zr,Je.bus=hn,Object.defineProperty(Je,Symbol.toStringTag,{value:"Module"})});
|