lumina-slides 8.1.0 → 8.2.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/README.md +71 -84
- package/dist/lumina-slides.js +1087 -956
- package/dist/lumina-slides.umd.cjs +3 -3
- package/dist/style.css +1 -1
- package/package.json +18 -4
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(H,u){typeof exports=="object"&&typeof module<"u"?u(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],u):(H=typeof globalThis<"u"?globalThis:H||self,u(H.LuminaSlides={},H.Vue))})(this,function(H,u){"use strict";var ma=Object.defineProperty;var ga=(H,u,Mt)=>u in H?ma(H,u,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):H[u]=Mt;var Ie=(H,u,Mt)=>ga(H,typeof u!="symbol"?u+"":u,Mt);const Mt={"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 qr(o){return o in Mt?Mt[o]:o}const ne=Symbol("LuminaStore"),Xr={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 qt(o){if(typeof o=="string")return qr(o);if(Array.isArray(o))return o.map(qt);if(o&&typeof o=="object"){const t={};for(const e in o)t[e]=qt(o[e]);return t}return o}function Si(o,t){if(typeof o!="object"||o===null||typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(qt);const e={...o};for(const i in t)t[i]===Object(t[i])?i in o?e[i]=Si(o[i],t[i]):Object.assign(e,{[i]:qt(t[i])}):Object.assign(e,{[i]:qt(t[i])});return e}function Wr(o={}){const t=u.reactive({deck:null,currentIndex:0,options:{...Xr,...o},isReady:!1,actionHistory:[]}),e=()=>!t.deck||t.deck.slides.length===0?null:t.deck.slides[t.currentIndex]||null,i=()=>t.deck?t.options.loop?!0:t.currentIndex<t.deck.slides.length-1:!1,r=()=>t.deck?t.options.loop?!0:t.currentIndex>0:!1,n=()=>!t.deck||t.deck.slides.length<=1?0:t.currentIndex/(t.deck.slides.length-1);function s(_){t.options={...t.options,..._},_.theme&&(_.theme,t.options.theme=_.theme),_.ui&&(t.options.ui={...t.options.ui,..._.ui}),_.keys&&(t.options.keys={...t.options.keys,..._.keys}),_.animation&&(t.options.animation={...t.options.animation,..._.animation})}function a(_){if(!_||!Array.isArray(_.slides)){console.error("[LuminaStore] Invalid deck format");return}t.deck=qt(_),t.currentIndex=0,t.isReady=!0,t.actionHistory=[]}function l(_){t.deck&&(t.deck=Si(t.deck,_))}function f(_){t.actionHistory.push(_),t.actionHistory.length>50&&t.actionHistory.shift()}function c(){var m;if(!i())return;const _=((m=t.deck)==null?void 0:m.slides.length)||0;t.options.loop?t.currentIndex=(t.currentIndex+1)%_:t.currentIndex++}function h(){var m;if(!r())return;const _=((m=t.deck)==null?void 0:m.slides.length)||0;t.options.loop?t.currentIndex=(t.currentIndex-1+_)%_:t.currentIndex--}function p(_){t.deck&&_>=0&&_<t.deck.slides.length&&(t.currentIndex=_)}return{state:u.readonly(t),currentSlide:e,hasNext:i,hasPrev:r,progress:n,setOptions:s,loadDeck:a,patchDeck:l,recordAction:f,next:c,prev:h,goto:p}}function Gr(){const o=u.inject(ne);if(!o)throw new Error("Lumina: Component must be used within a Lumina instance.");return{slide:u.computed(()=>o.currentSlide()),index:u.computed(()=>o.state.currentIndex),total:u.computed(()=>{var t;return((t=o.state.deck)==null?void 0:t.slides.length)||0}),next:o.next,prev:o.prev,goto:o.goto,options:o.state.options}}function Hr(){const o=u.inject(ne);if(!o)return;let t=0;const e=300,i=r=>{var f,c;const{options:n}=o.state;if(!n.keyboard||!n.navigation)return;const s=Date.now();if(s-t<e)return;const a=((f=n.keys)==null?void 0:f.next)||[],l=((c=n.keys)==null?void 0:c.prev)||[];a.includes(r.key)?(o.next(),t=s):l.includes(r.key)&&(o.prev(),t=s)};u.onMounted(()=>{window.addEventListener("keydown",i)}),u.onUnmounted(()=>{window.removeEventListener("keydown",i)})}class Kr{constructor(){Ie(this,"handlers",new Map)}on(t,e){this.handlers.has(t)||this.handlers.set(t,new Set),this.handlers.get(t).add(e)}off(t,e){const i=this.handlers.get(t);i&&i.delete(e)}emit(t,e){const i=this.handlers.get(t);i&&i.forEach(r=>{try{r(e)}catch(n){console.error(`[LuminaBus] Error in handler for event "${t}":`,n)}})}clear(){this.handlers.clear()}}const Nt=new Kr;function yt(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function Ci(o,t){o.prototype=Object.create(t.prototype),o.prototype.constructor=o,o.__proto__=t}/*!
|
|
2
2
|
* GSAP 3.14.2
|
|
3
3
|
* https://gsap.com
|
|
4
4
|
*
|
|
5
5
|
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
|
6
6
|
* Subject to the terms at https://gsap.com/standard-license
|
|
7
7
|
* @author: Jack Doyle, jack@greensock.com
|
|
8
|
-
*/var it={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Xt={duration:.5,overwrite:!1,delay:0},Be,X,A,ft=1e8,z=1/ft,Fe=Math.PI*2,Wr=Fe/4,Gr=0,vi=Math.sqrt,Kr=Math.cos,Hr=Math.sin,U=function(t){return typeof t=="string"},F=function(t){return typeof t=="function"},bt=function(t){return typeof t=="number"},Le=function(t){return typeof t>"u"},_t=function(t){return typeof t=="object"},Q=function(t){return t!==!1},Ie=function(){return typeof window<"u"},we=function(t){return F(t)||U(t)},Si=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},W=Array.isArray,Qr=/random\([^)]+\)/g,Zr=/,\s*/g,Ci=/(?:-?\.?\d|\.)+/gi,Ei=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,jt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,$e=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Pi=/[+-]=-?[.\d]+/,Jr=/[^,'"\[\]\s]+/gi,tn=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,V,pt,Ue,Ye,rt={},ke={},Oi,Di=function(t){return(ke=Gt(t,rt))&&tt},qe=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},re=function(t,e){return!e&&console.warn(t)},zi=function(t,e){return t&&(rt[t]=e)&&ke&&(ke[t]=e)||rt},ne=function(){return 0},en={suppressEvents:!0,isStart:!0,kill:!1},Te={suppressEvents:!0,kill:!1},rn={suppressEvents:!0},Xe={},vt=[],je={},Mi,nt={},We={},Ni=30,ve=[],Ge="",Ke=function(t){var e=t[0],i,r;if(_t(e)||F(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(r=ve.length;r--&&!ve[r].targetTest(e););i=ve[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new lr(t[r],i)))||t.splice(r,1);return t},Nt=function(t){return t._gsap||Ke(ct(t))[0]._gsap},Ai=function(t,e,i){return(i=t[e])&&F(i)?t[e]():Le(i)&&t.getAttribute&&t.getAttribute(e)||i},Z=function(t,e){return(t=t.split(",")).forEach(e)||t},L=function(t){return Math.round(t*1e5)/1e5||0},R=function(t){return Math.round(t*1e7)/1e7||0},Wt=function(t,e){var i=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),i==="+"?t+r:i==="-"?t-r:i==="*"?t*r:t/r},nn=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++r<i;);return r<i},Se=function(){var t=vt.length,e=vt.slice(0),i,r;for(je={},vt.length=0,i=0;i<t;i++)r=e[i],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},He=function(t){return!!(t._initted||t._startAt||t.add)},Vi=function(t,e,i,r){vt.length&&!X&&Se(),t.render(e,i,!!(X&&e<0&&He(t))),vt.length&&!X&&Se()},Ri=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(Jr).length<2?e:U(t)?t.trim():t},Bi=function(t){return t},st=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},sn=function(t){return function(e,i){for(var r in i)r in e||r==="duration"&&t||r==="ease"||(e[r]=i[r])}},Gt=function(t,e){for(var i in e)t[i]=e[i];return t},Fi=function o(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=_t(e[i])?o(t[i]||(t[i]={}),e[i]):e[i]);return t},Ce=function(t,e){var i={},r;for(r in t)r in e||(i[r]=t[r]);return i},se=function(t){var e=t.parent||V,i=t.keyframes?sn(W(t.keyframes)):st;if(Q(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},an=function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0},Li=function(t,e,i,r,n){var s=t[r],a;if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[r]=e,e._prev=s,e.parent=e._dp=t,e},Ee=function(t,e,i,r){i===void 0&&(i="_first"),r===void 0&&(r="_last");var n=e._prev,s=e._next;n?n._next=s:t[i]===e&&(t[i]=s),s?s._prev=n:t[r]===e&&(t[r]=n),e._next=e._prev=e.parent=null},St=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},At=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t},on=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Qe=function(t,e,i,r){return t._startAt&&(X?t._startAt.revert(Te):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},ln=function o(t){return!t||t._ts&&o(t.parent)},Ii=function(t){return t._repeat?Kt(t._tTime,t=t.duration()+t._rDelay)*t:0},Kt=function(t,e){var i=Math.floor(t=R(t/e));return t&&i===t?i-1:i},Pe=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Oe=function(t){return t._end=R(t._start+(t._tDur/Math.abs(t._ts||t._rts||z)||0))},De=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=R(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Oe(t),i._dirty||At(i,t)),t},$i=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=Pe(t.rawTime(),e),(!e._dur||oe(0,e.totalDuration(),i)-e._tTime>z)&&e.render(i,!0)),At(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-z}},mt=function(t,e,i,r){return e.parent&&St(e),e._start=R((bt(i)?i:i||t!==V?ut(t,i,e):t._time)+e._delay),e._end=R(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Li(t,e,"_first","_last",t._sort?"_start":0),Ze(e)||(t._recent=e),r||$i(t,e),t._ts<0&&De(t,t._tTime),t},Ui=function(t,e){return(rt.ScrollTrigger||qe("scrollTrigger",e))&&rt.ScrollTrigger.create(e,t)},Yi=function(t,e,i,r,n){if(oi(t,e,n),!t._initted)return 1;if(!i&&t._pt&&!X&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&Mi!==ot.frame)return vt.push(t),t._lazy=[n,r],1},fn=function o(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||o(e))},Ze=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},un=function(t,e,i,r){var n=t.ratio,s=e<0||!e&&(!t._start&&fn(t)&&!(!t._initted&&Ze(t))||(t._ts<0||t._dp._ts<0)&&!Ze(t))?0:1,a=t._rDelay,l=0,f,u,h;if(a&&t._repeat&&(l=oe(0,t._tDur,e),u=Kt(l,a),t._yoyo&&u&1&&(s=1-s),u!==Kt(t._tTime,a)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||X||r||t._zTime===z||!e&&t._zTime){if(!t._initted&&Yi(t,e,r,i,l))return;for(h=t._zTime,t._zTime=e||(i?z:0),i||(i=e&&!h),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=l,f=t._pt;f;)f.r(s,f.d),f=f._next;e<0&&Qe(t,e,i,!0),t._onUpdate&&!i&&at(t,"onUpdate"),l&&t._repeat&&!i&&t.parent&&at(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&St(t,1),!i&&!X&&(at(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},cn=function(t,e,i){var r;if(i>e)for(r=t._first;r&&r._start<=i;){if(r.data==="isPause"&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=i;){if(r.data==="isPause"&&r._start<e)return r;r=r._prev}},Ht=function(t,e,i,r){var n=t._repeat,s=R(e)||0,a=t._tTime/t._tDur;return a&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:R(s*(n+1)+t._rDelay*n):s,a>0&&!r&&De(t,t._tTime=t._tDur*a),t.parent&&Oe(t),i||At(t.parent,t),t},qi=function(t){return t instanceof H?At(t):Ht(t,t._dur)},hn={_start:0,endTime:ne,totalDuration:ne},ut=function o(t,e,i){var r=t.labels,n=t._recent||hn,s=t.duration()>=ft?n.endTime(!1):t._dur,a,l,f;return U(e)&&(isNaN(e)||e in r)?(l=e.charAt(0),f=e.substr(-1)==="%",a=e.indexOf("="),l==="<"||l===">"?(a>=0&&(e=e.replace(/=/,"")),(l==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(f?(a<0?n:i).totalDuration()/100:1)):a<0?(e in r||(r[e]=s),r[e]):(l=parseFloat(e.charAt(a-1)+e.substr(a+1)),f&&i&&(l=l/100*(W(i)?i[0]:i).totalDuration()),a>1?o(t,e.substr(0,a-1),i)+l:s+l)):e==null?s:+e},ae=function(t,e,i){var r=bt(e[1]),n=(r?2:1)+(t<2?0:1),s=e[n],a,l;if(r&&(s.duration=e[1]),s.parent=i,t){for(a=s,l=i;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=Q(l.vars.inherit)&&l.parent;s.immediateRender=Q(a.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new I(e[0],s,e[n+1])},Ct=function(t,e){return t||t===0?e(t):e},oe=function(t,e,i){return i<t?t:i>e?e:i},G=function(t,e){return!U(t)||!(e=tn.exec(t))?"":e[1]},dn=function(t,e,i){return Ct(i,function(r){return oe(t,e,r)})},Je=[].slice,Xi=function(t,e){return t&&_t(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&_t(t[0]))&&!t.nodeType&&t!==pt},_n=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(r){var n;return U(r)&&!e||Xi(r,1)?(n=i).push.apply(n,ct(r)):i.push(r)})||i},ct=function(t,e,i){return A&&!e&&A.selector?A.selector(t):U(t)&&!i&&(Ue||!Zt())?Je.call((e||Ye).querySelectorAll(t),0):W(t)?_n(t,i):Xi(t)?Je.call(t,0):t?[t]:[]},ti=function(t){return t=ct(t)[0]||re("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return ct(e,i.querySelectorAll?i:i===t?re("Invalid scope")||Ye.createElement("div"):t)}},ji=function(t){return t.sort(function(){return .5-Math.random()})},Wi=function(t){if(F(t))return t;var e=_t(t)?t:{each:t},i=Vt(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},a=r>0&&r<1,l=isNaN(r)||a,f=e.axis,u=r,h=r;return U(r)?u=h={center:.5,edges:.5,end:1}[r]||0:!a&&l&&(u=r[0],h=r[1]),function(_,p,g){var d=(g||e).length,m=s[d],x,b,T,w,y,v,S,C,k;if(!m){if(k=e.grid==="auto"?0:(e.grid||[1,ft])[1],!k){for(S=-ft;S<(S=g[k++].getBoundingClientRect().left)&&k<d;);k<d&&k--}for(m=s[d]=[],x=l?Math.min(k,d)*u-.5:r%k,b=k===ft?0:l?d*h/k-.5:r/k|0,S=0,C=ft,v=0;v<d;v++)T=v%k-x,w=b-(v/k|0),m[v]=y=f?Math.abs(f==="y"?w:T):vi(T*T+w*w),y>S&&(S=y),y<C&&(C=y);r==="random"&&ji(m),m.max=S-C,m.min=C,m.v=d=(parseFloat(e.amount)||parseFloat(e.each)*(k>d?d-1:f?f==="y"?d/k:k:Math.max(k,d/k))||0)*(r==="edges"?-1:1),m.b=d<0?n-d:n,m.u=G(e.amount||e.each)||0,i=i&&d<0?sr(i):i}return d=(m[_]-m.min)/m.max||0,R(m.b+(i?i(d):d)*m.v)+m.u}},ei=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=R(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(bt(i)?0:G(i))}},Gi=function(t,e){var i=W(t),r,n;return!i&&_t(t)&&(r=i=t.radius||ft,t.values?(t=ct(t.values),(n=!bt(t[0]))&&(r*=r)):t=ei(t.increment)),Ct(e,i?F(t)?function(s){return n=t(s),Math.abs(n-s)<=r?n:s}:function(s){for(var a=parseFloat(n?s.x:s),l=parseFloat(n?s.y:0),f=ft,u=0,h=t.length,_,p;h--;)n?(_=t[h].x-a,p=t[h].y-l,_=_*_+p*p):_=Math.abs(t[h]-a),_<f&&(f=_,u=h);return u=!r||f<=r?t[u]:s,n||u===s||bt(s)?u:u+G(s)}:ei(t))},Ki=function(t,e,i,r){return Ct(W(t)?!e:i===!0?!!(i=0):!r,function(){return W(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(r=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+i*.99))/i)*i*r)/r})},pn=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(r){return e.reduce(function(n,s){return s(n)},r)}},mn=function(t,e){return function(i){return t(parseFloat(i))+(e||G(i))}},gn=function(t,e,i){return Qi(t,e,0,1,i)},Hi=function(t,e,i){return Ct(i,function(r){return t[~~e(r)]})},yn=function o(t,e,i){var r=e-t;return W(t)?Hi(t,o(0,t.length),e):Ct(i,function(n){return(r+(n-t)%r)%r+t})},xn=function o(t,e,i){var r=e-t,n=r*2;return W(t)?Hi(t,o(0,t.length-1),e):Ct(i,function(s){return s=(n+(s-t)%n)%n||0,t+(s>r?n-s:s)})},le=function(t){return t.replace(Qr,function(e){var i=e.indexOf("[")+1,r=e.substring(i||7,i?e.indexOf("]"):e.length-1).split(Zr);return Ki(i?r:+r[0],i?0:+r[1],+r[2]||1e-5)})},Qi=function(t,e,i,r,n){var s=e-t,a=r-i;return Ct(n,function(l){return i+((l-t)/s*a||0)})},bn=function o(t,e,i,r){var n=isNaN(t+e)?0:function(p){return(1-p)*t+p*e};if(!n){var s=U(t),a={},l,f,u,h,_;if(i===!0&&(r=1)&&(i=null),s)t={p:t},e={p:e};else if(W(t)&&!W(e)){for(u=[],h=t.length,_=h-2,f=1;f<h;f++)u.push(o(t[f-1],t[f]));h--,n=function(g){g*=h;var d=Math.min(_,~~g);return u[d](g-d)},i=e}else r||(t=Gt(W(t)?[]:{},t));if(!u){for(l in e)si.call(a,t,l,"get",e[l]);n=function(g){return ui(g,a)||(s?t.p:t)}}}return Ct(i,n)},Zi=function(t,e,i){var r=t.labels,n=ft,s,a,l;for(s in r)a=r[s]-e,a<0==!!i&&a&&n>(a=Math.abs(a))&&(l=s,n=a);return l},at=function(t,e,i){var r=t.vars,n=r[e],s=A,a=t._ctx,l,f,u;if(n)return l=r[e+"Params"],f=r.callbackScope||t,i&&vt.length&&Se(),a&&(A=a),u=l?n.apply(f,l):n.call(f),A=s,u},fe=function(t){return St(t),t.scrollTrigger&&t.scrollTrigger.kill(!!X),t.progress()<1&&at(t,"onInterrupt"),t},Qt,Ji=[],tr=function(t){if(t)if(t=!t.name&&t.default||t,Ie()||t.headless){var e=t.name,i=F(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:ne,render:ui,add:si,kill:Rn,modifier:Vn,rawVars:0},s={targetTest:0,get:0,getSetter:fi,aliases:{},register:0};if(Zt(),t!==r){if(nt[e])return;st(r,st(Ce(t,n),s)),Gt(r.prototype,Gt(n,Ce(t,s))),nt[r.prop=e]=r,t.targetTest&&(ve.push(r),Xe[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}zi(e,r),t.register&&t.register(tt,r,J)}else Ji.push(t)},M=255,ue={aqua:[0,M,M],lime:[0,M,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,M],navy:[0,0,128],white:[M,M,M],olive:[128,128,0],yellow:[M,M,0],orange:[M,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[M,0,0],pink:[M,192,203],cyan:[0,M,M],transparent:[M,M,M,0]},ii=function(t,e,i){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(i-e)*t*6:t<.5?i:t*3<2?e+(i-e)*(2/3-t)*6:e)*M+.5|0},er=function(t,e,i){var r=t?bt(t)?[t>>16,t>>8&M,t&M]:0:ue.black,n,s,a,l,f,u,h,_,p,g;if(!r){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),ue[t])r=ue[t];else if(t.charAt(0)==="#"){if(t.length<6&&(n=t.charAt(1),s=t.charAt(2),a=t.charAt(3),t="#"+n+n+s+s+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return r=parseInt(t.substr(1,6),16),[r>>16,r>>8&M,r&M,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),r=[t>>16,t>>8&M,t&M]}else if(t.substr(0,3)==="hsl"){if(r=g=t.match(Ci),!e)l=+r[0]%360/360,f=+r[1]/100,u=+r[2]/100,s=u<=.5?u*(f+1):u+f-u*f,n=u*2-s,r.length>3&&(r[3]*=1),r[0]=ii(l+1/3,n,s),r[1]=ii(l,n,s),r[2]=ii(l-1/3,n,s);else if(~t.indexOf("="))return r=t.match(Ei),i&&r.length<4&&(r[3]=1),r}else r=t.match(Ci)||ue.transparent;r=r.map(Number)}return e&&!g&&(n=r[0]/M,s=r[1]/M,a=r[2]/M,h=Math.max(n,s,a),_=Math.min(n,s,a),u=(h+_)/2,h===_?l=f=0:(p=h-_,f=u>.5?p/(2-h-_):p/(h+_),l=h===n?(s-a)/p+(s<a?6:0):h===s?(a-n)/p+2:(n-s)/p+4,l*=60),r[0]=~~(l+.5),r[1]=~~(f*100+.5),r[2]=~~(u*100+.5)),i&&r.length<4&&(r[3]=1),r},ir=function(t){var e=[],i=[],r=-1;return t.split(Et).forEach(function(n){var s=n.match(jt)||[];e.push.apply(e,s),i.push(r+=s.length+1)}),e.c=i,e},rr=function(t,e,i){var r="",n=(t+r).match(Et),s=e?"hsla(":"rgba(",a=0,l,f,u,h;if(!n)return t;if(n=n.map(function(_){return(_=er(_,e,1))&&s+(e?_[0]+","+_[1]+"%,"+_[2]+"%,"+_[3]:_.join(","))+")"}),i&&(u=ir(t),l=i.c,l.join(r)!==u.c.join(r)))for(f=t.replace(Et,"1").split(jt),h=f.length-1;a<h;a++)r+=f[a]+(~l.indexOf(a)?n.shift()||s+"0,0,0,0)":(u.length?u:n.length?n:i).shift());if(!f)for(f=t.split(Et),h=f.length-1;a<h;a++)r+=f[a]+n[a];return r+f[h]},Et=function(){var o="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in ue)o+="|"+t+"\\b";return new RegExp(o+")","gi")}(),wn=/hsl[a]?\(/,nr=function(t){var e=t.join(" "),i;if(Et.lastIndex=0,Et.test(e))return i=wn.test(e),t[1]=rr(t[1],i),t[0]=rr(t[0],i,ir(t[1])),!0},ce,ot=function(){var o=Date.now,t=500,e=33,i=o(),r=i,n=1e3/240,s=n,a=[],l,f,u,h,_,p,g=function d(m){var x=o()-r,b=m===!0,T,w,y,v;if((x>t||x<0)&&(i+=x-e),r+=x,y=r-i,T=y-s,(T>0||b)&&(v=++h.frame,_=y-h.time*1e3,h.time=y=y/1e3,s+=T+(T>=n?4:n-T),w=1),b||(l=f(d)),w)for(p=0;p<a.length;p++)a[p](y,_,v,m)};return h={time:0,frame:0,tick:function(){g(!0)},deltaRatio:function(m){return _/(1e3/(m||60))},wake:function(){Oi&&(!Ue&&Ie()&&(pt=Ue=window,Ye=pt.document||{},rt.gsap=tt,(pt.gsapVersions||(pt.gsapVersions=[])).push(tt.version),Di(ke||pt.GreenSockGlobals||!pt.gsap&&pt||{}),Ji.forEach(tr)),u=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&h.sleep(),f=u||function(m){return setTimeout(m,s-h.time*1e3+1|0)},ce=1,g(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(l),ce=0,f=ne},lagSmoothing:function(m,x){t=m||1/0,e=Math.min(x||33,t)},fps:function(m){n=1e3/(m||240),s=h.time*1e3+n},add:function(m,x,b){var T=x?function(w,y,v,S){m(w,y,v,S),h.remove(T)}:m;return h.remove(m),a[b?"unshift":"push"](T),Zt(),T},remove:function(m,x){~(x=a.indexOf(m))&&a.splice(x,1)&&p>=x&&p--},_listeners:a},h}(),Zt=function(){return!ce&&ot.wake()},P={},kn=/^[\d.\-M][\d.\-,\s]/,Tn=/["']/g,vn=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),r=i[0],n=1,s=i.length,a,l,f;n<s;n++)l=i[n],a=n!==s-1?l.lastIndexOf(","):l.length,f=l.substr(0,a),e[r]=isNaN(f)?f.replace(Tn,"").trim():+f,r=l.substr(a+1).trim();return e},Sn=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<i?t.indexOf(")",i+1):i)},Cn=function(t){var e=(t+"").split("("),i=P[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[vn(e[1])]:Sn(t).split(",").map(Ri)):P._CE&&kn.test(t)?P._CE("",t):i},sr=function(t){return function(e){return 1-t(1-e)}},ar=function o(t,e){for(var i=t._first,r;i;)i instanceof H?o(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?o(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next},Vt=function(t,e){return t&&(F(t)?t:P[t]||Cn(t))||e},Rt=function(t,e,i,r){i===void 0&&(i=function(l){return 1-e(1-l)}),r===void 0&&(r=function(l){return l<.5?e(l*2)/2:1-e((1-l)*2)/2});var n={easeIn:e,easeOut:i,easeInOut:r},s;return Z(t,function(a){P[a]=rt[a]=n,P[s=a.toLowerCase()]=i;for(var l in n)P[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=P[a+"."+l]=n[l]}),n},or=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},ri=function o(t,e,i){var r=e>=1?e:1,n=(i||(t?.3:.45))/(e<1?e:1),s=n/Fe*(Math.asin(1/r)||0),a=function(u){return u===1?1:r*Math.pow(2,-10*u)*Hr((u-s)*n)+1},l=t==="out"?a:t==="in"?function(f){return 1-a(1-f)}:or(a);return n=Fe/n,l.config=function(f,u){return o(t,f,u)},l},ni=function o(t,e){e===void 0&&(e=1.70158);var i=function(s){return s?--s*s*((e+1)*s+e)+1:0},r=t==="out"?i:t==="in"?function(n){return 1-i(1-n)}:or(i);return r.config=function(n){return o(t,n)},r};Z("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,t){var e=t<5?t+1:t;Rt(o+",Power"+(e-1),t?function(i){return Math.pow(i,e)}:function(i){return i},function(i){return 1-Math.pow(1-i,e)},function(i){return i<.5?Math.pow(i*2,e)/2:1-Math.pow((1-i)*2,e)/2})}),P.Linear.easeNone=P.none=P.Linear.easeIn,Rt("Elastic",ri("in"),ri("out"),ri()),function(o,t){var e=1/t,i=2*e,r=2.5*e,n=function(a){return a<e?o*a*a:a<i?o*Math.pow(a-1.5/t,2)+.75:a<r?o*(a-=2.25/t)*a+.9375:o*Math.pow(a-2.625/t,2)+.984375};Rt("Bounce",function(s){return 1-n(1-s)},n)}(7.5625,2.75),Rt("Expo",function(o){return Math.pow(2,10*(o-1))*o+o*o*o*o*o*o*(1-o)}),Rt("Circ",function(o){return-(vi(1-o*o)-1)}),Rt("Sine",function(o){return o===1?1:-Kr(o*Wr)+1}),Rt("Back",ni("in"),ni("out"),ni()),P.SteppedEase=P.steps=rt.SteppedEase={config:function(t,e){t===void 0&&(t=1);var i=1/t,r=t+(e?0:1),n=e?1:0,s=1-z;return function(a){return((r*oe(0,s,a)|0)+n)*i}}},Xt.ease=P["quad.out"],Z("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(o){return Ge+=o+","+o+"Params,"});var lr=function(t,e){this.id=Gr++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Ai,this.set=e?e.getSetter:fi},he=function(){function o(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Ht(this,+e.duration,1,1),this.data=e.data,A&&(this._ctx=A,A.data.push(this)),ce||ot.wake()}var t=o.prototype;return t.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},t.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},t.totalDuration=function(i){return arguments.length?(this._dirty=0,Ht(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,r){if(Zt(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(De(this,i),!n._dp||n.parent||$i(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&mt(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===z||!this._initted&&this._dur&&i||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Vi(this,i,r)),this},t.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+Ii(this))%(this._dur+this._rDelay)||(i?this._dur:0),r):this._time},t.totalProgress=function(i,r){return arguments.length?this.totalTime(this.totalDuration()*i,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(i,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+Ii(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(i,r){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*n,r):this._repeat?Kt(this._tTime,n)+1:1},t.timeScale=function(i,r){if(!arguments.length)return this._rts===-z?0:this._rts;if(this._rts===i)return this;var n=this.parent&&this._ts?Pe(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-z?0:this._rts,this.totalTime(oe(-Math.abs(this._delay),this.totalDuration(),n),r!==!1),Oe(this),on(this)},t.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Zt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==z&&(this._tTime-=z)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=R(i);var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&mt(r,this,this._start-this._delay),this}return this._start},t.endTime=function(i){return this._start+(Q(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(i){var r=this.parent||this._dp;return r?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Pe(r.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=rn);var r=X;return X=i,He(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),X=r,this},t.globalTime=function(i){for(var r=this,n=arguments.length?i:r.rawTime();r;)n=r._start+n/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(i):n},t.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,qi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,qi(this),r?this.time(r):this}return this._rDelay},t.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},t.seek=function(i,r){return this.totalTime(ut(this,i),Q(r))},t.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,Q(r)),this._dur||(this._zTime=-z),this},t.play=function(i,r){return i!=null&&this.seek(i,r),this.reversed(!1).paused(!1)},t.reverse=function(i,r){return i!=null&&this.seek(i||this.totalDuration(),r),this.reversed(!0).paused(!1)},t.pause=function(i,r){return i!=null&&this.seek(i,r),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-z:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-z,this},t.isActive=function(){var i=this.parent||this._dp,r=this._start,n;return!!(!i||this._ts&&this._initted&&i.isActive()&&(n=i.rawTime(!0))>=r&&n<this.endTime(!0)-z)},t.eventCallback=function(i,r,n){var s=this.vars;return arguments.length>1?(r?(s[i]=r,n&&(s[i+"Params"]=n),i==="onUpdate"&&(this._onUpdate=r)):delete s[i],this):s[i]},t.then=function(i){var r=this,n=r._prom;return new Promise(function(s){var a=F(i)?i:Bi,l=function(){var u=r.then;r.then=null,n&&n(),F(a)&&(a=a(r))&&(a.then||a===r)&&(r.then=u),s(a),r.then=u};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?l():r._prom=l})},t.kill=function(){fe(this)},o}();st(he.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:-z,_prom:0,_ps:!1,_rts:1});var H=function(o){Ti(t,o);function t(i,r){var n;return i===void 0&&(i={}),n=o.call(this,i)||this,n.labels={},n.smoothChildTiming=!!i.smoothChildTiming,n.autoRemoveChildren=!!i.autoRemoveChildren,n._sort=Q(i.sortChildren),V&&mt(i.parent||V,xt(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&Ui(xt(n),i.scrollTrigger),n}var e=t.prototype;return e.to=function(r,n,s){return ae(0,arguments,this),this},e.from=function(r,n,s){return ae(1,arguments,this),this},e.fromTo=function(r,n,s,a){return ae(2,arguments,this),this},e.set=function(r,n,s){return n.duration=0,n.parent=this,se(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new I(r,n,ut(this,s),1),this},e.call=function(r,n,s){return mt(this,I.delayedCall(0,r,n),s)},e.staggerTo=function(r,n,s,a,l,f,u){return s.duration=n,s.stagger=s.stagger||a,s.onComplete=f,s.onCompleteParams=u,s.parent=this,new I(r,s,ut(this,l)),this},e.staggerFrom=function(r,n,s,a,l,f,u){return s.runBackwards=1,se(s).immediateRender=Q(s.immediateRender),this.staggerTo(r,n,s,a,l,f,u)},e.staggerFromTo=function(r,n,s,a,l,f,u,h){return a.startAt=s,se(a).immediateRender=Q(a.immediateRender),this.staggerTo(r,n,a,l,f,u,h)},e.render=function(r,n,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,f=this._dur,u=r<=0?0:R(r),h=this._zTime<0!=r<0&&(this._initted||!f),_,p,g,d,m,x,b,T,w,y,v,S;if(this!==V&&u>l&&r>=0&&(u=l),u!==this._tTime||s||h){if(a!==this._time&&f&&(u+=this._time-a,r+=this._time-a),_=u,w=this._start,T=this._ts,x=!T,h&&(f||(a=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(v=this._yoyo,m=f+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(m*100+r,n,s);if(_=R(u%m),u===l?(d=this._repeat,_=f):(y=R(u/m),d=~~y,d&&d===y&&(_=f,d--),_>f&&(_=f)),y=Kt(this._tTime,m),!a&&this._tTime&&y!==d&&this._tTime-y*m-this._dur<=0&&(y=d),v&&d&1&&(_=f-_,S=1),d!==y&&!this._lock){var C=v&&y&1,k=C===(v&&d&1);if(d<y&&(C=!C),a=C?0:u%f?f:u,this._lock=1,this.render(a||(S?0:R(d*m)),n,!f)._lock=0,this._tTime=u,!n&&this.parent&&at(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,y=d),a&&a!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(f=this._dur,l=this._tDur,k&&(this._lock=2,a=C?f:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!x)return this;ar(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(b=cn(this,R(a),R(_)),b&&(u-=_-(_=b._start))),this._tTime=u,this._time=_,this._act=!T,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,a=0),!a&&u&&f&&!n&&!y&&(at(this,"onStart"),this._tTime!==u))return this;if(_>=a&&r>=0)for(p=this._first;p;){if(g=p._next,(p._act||_>=p._start)&&p._ts&&b!==p){if(p.parent!==this)return this.render(r,n,s);if(p.render(p._ts>0?(_-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(_-p._start)*p._ts,n,s),_!==this._time||!this._ts&&!x){b=0,g&&(u+=this._zTime=-z);break}}p=g}else{p=this._last;for(var E=r<0?r:_;p;){if(g=p._prev,(p._act||E<=p._end)&&p._ts&&b!==p){if(p.parent!==this)return this.render(r,n,s);if(p.render(p._ts>0?(E-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(E-p._start)*p._ts,n,s||X&&He(p)),_!==this._time||!this._ts&&!x){b=0,g&&(u+=this._zTime=E?-z:z);break}}p=g}}if(b&&!n&&(this.pause(),b.render(_>=a?0:-z)._zTime=_>=a?1:-1,this._ts))return this._start=w,Oe(this),this.render(r,n,s);this._onUpdate&&!n&&at(this,"onUpdate",!0),(u===l&&this._tTime>=this.totalDuration()||!u&&a)&&(w===this._start||Math.abs(T)!==Math.abs(this._ts))&&(this._lock||((r||!f)&&(u===l&&this._ts>0||!u&&this._ts<0)&&St(this,1),!n&&!(r<0&&!a)&&(u||a||!l)&&(at(this,u===l&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(u<l&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(r,n){var s=this;if(bt(n)||(n=ut(this,n,r)),!(r instanceof he)){if(W(r))return r.forEach(function(a){return s.add(a,n)}),this;if(U(r))return this.addLabel(r,n);if(F(r))r=I.delayedCall(0,r);else return this}return this!==r?mt(this,r,n):this},e.getChildren=function(r,n,s,a){r===void 0&&(r=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),a===void 0&&(a=-ft);for(var l=[],f=this._first;f;)f._start>=a&&(f instanceof I?n&&l.push(f):(s&&l.push(f),r&&l.push.apply(l,f.getChildren(!0,n,s)))),f=f._next;return l},e.getById=function(r){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===r)return n[s]},e.remove=function(r){return U(r)?this.removeLabel(r):F(r)?this.killTweensOf(r):(r.parent===this&&Ee(this,r),r===this._recent&&(this._recent=this._last),At(this))},e.totalTime=function(r,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=R(ot.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),o.prototype.totalTime.call(this,r,n),this._forcing=0,this):this._tTime},e.addLabel=function(r,n){return this.labels[r]=ut(this,n),this},e.removeLabel=function(r){return delete this.labels[r],this},e.addPause=function(r,n,s){var a=I.delayedCall(0,n||ne,s);return a.data="isPause",this._hasPause=1,mt(this,a,ut(this,r))},e.removePause=function(r){var n=this._first;for(r=ut(this,r);n;)n._start===r&&n.data==="isPause"&&St(n),n=n._next},e.killTweensOf=function(r,n,s){for(var a=this.getTweensOf(r,s),l=a.length;l--;)Pt!==a[l]&&a[l].kill(r,n);return this},e.getTweensOf=function(r,n){for(var s=[],a=ct(r),l=this._first,f=bt(n),u;l;)l instanceof I?nn(l._targets,a)&&(f?(!Pt||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&s.push(l):(u=l.getTweensOf(a,n)).length&&s.push.apply(s,u),l=l._next;return s},e.tweenTo=function(r,n){n=n||{};var s=this,a=ut(s,r),l=n,f=l.startAt,u=l.onStart,h=l.onStartParams,_=l.immediateRender,p,g=I.to(s,st({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(f&&"time"in f?f.time:s._time))/s.timeScale())||z,onStart:function(){if(s.pause(),!p){var m=n.duration||Math.abs((a-(f&&"time"in f?f.time:s._time))/s.timeScale());g._dur!==m&&Ht(g,m,0,1).render(g._time,!0,!0),p=1}u&&u.apply(g,h||[])}},n));return _?g.render(0):g},e.tweenFromTo=function(r,n,s){return this.tweenTo(n,st({startAt:{time:ut(this,r)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(r){return r===void 0&&(r=this._time),Zi(this,ut(this,r))},e.previousLabel=function(r){return r===void 0&&(r=this._time),Zi(this,ut(this,r),1)},e.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+z)},e.shiftChildren=function(r,n,s){s===void 0&&(s=0);var a=this._first,l=this.labels,f;for(r=R(r);a;)a._start>=s&&(a._start+=r,a._end+=r),a=a._next;if(n)for(f in l)l[f]>=s&&(l[f]+=r);return At(this)},e.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return o.prototype.invalidate.call(this,r)},e.clear=function(r){r===void 0&&(r=!0);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),At(this)},e.totalDuration=function(r){var n=0,s=this,a=s._last,l=ft,f,u,h;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-r:r));if(s._dirty){for(h=s.parent;a;)f=a._prev,a._dirty&&a.totalDuration(),u=a._start,u>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,mt(s,a,u-a._delay,1)._lock=0):l=u,u<0&&a._ts&&(n-=u,(!h&&!s._dp||h&&h.smoothChildTiming)&&(s._start+=R(u/s._ts),s._time-=u,s._tTime-=u),s.shiftChildren(-u,!1,-1/0),l=0),a._end>n&&a._ts&&(n=a._end),a=f;Ht(s,s===V&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(r){if(V._ts&&(Vi(V,Pe(r,V)),Mi=ot.frame),ot.frame>=Ni){Ni+=it.autoSleep||120;var n=V._first;if((!n||!n._ts)&&it.autoSleep&&ot._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||ot.sleep()}}},t}(he);st(H.prototype,{_lock:0,_hasPause:0,_forcing:0});var En=function(t,e,i,r,n,s,a){var l=new J(this._pt,t,e,0,1,_r,null,n),f=0,u=0,h,_,p,g,d,m,x,b;for(l.b=i,l.e=r,i+="",r+="",(x=~r.indexOf("random("))&&(r=le(r)),s&&(b=[i,r],s(b,t,e),i=b[0],r=b[1]),_=i.match($e)||[];h=$e.exec(r);)g=h[0],d=r.substring(f,h.index),p?p=(p+1)%5:d.substr(-5)==="rgba("&&(p=1),g!==_[u++]&&(m=parseFloat(_[u-1])||0,l._pt={_next:l._pt,p:d||u===1?d:",",s:m,c:g.charAt(1)==="="?Wt(m,g)-m:parseFloat(g)-m,m:p&&p<4?Math.round:0},f=$e.lastIndex);return l.c=f<r.length?r.substring(f,r.length):"",l.fp=a,(Pi.test(r)||x)&&(l.e=0),this._pt=l,l},si=function(t,e,i,r,n,s,a,l,f,u){F(r)&&(r=r(n||0,t,s));var h=t[e],_=i!=="get"?i:F(h)?f?t[e.indexOf("set")||!F(t["get"+e.substr(3)])?e:"get"+e.substr(3)](f):t[e]():h,p=F(h)?f?Mn:hr:li,g;if(U(r)&&(~r.indexOf("random(")&&(r=le(r)),r.charAt(1)==="="&&(g=Wt(_,r)+(G(_)||0),(g||g===0)&&(r=g))),!u||_!==r||ai)return!isNaN(_*r)&&r!==""?(g=new J(this._pt,t,e,+_||0,r-(_||0),typeof h=="boolean"?An:dr,0,p),f&&(g.fp=f),a&&g.modifier(a,this,t),this._pt=g):(!h&&!(e in t)&&qe(e,r),En.call(this,t,e,_,r,p,l||it.stringFilter,f))},Pn=function(t,e,i,r,n){if(F(t)&&(t=de(t,n,e,i,r)),!_t(t)||t.style&&t.nodeType||W(t)||Si(t))return U(t)?de(t,n,e,i,r):t;var s={},a;for(a in t)s[a]=de(t[a],n,e,i,r);return s},fr=function(t,e,i,r,n,s){var a,l,f,u;if(nt[t]&&(a=new nt[t]).init(n,a.rawVars?e[t]:Pn(e[t],r,n,s,i),i,r,s)!==!1&&(i._pt=l=new J(i._pt,n,t,0,1,a.render,a,0,a.priority),i!==Qt))for(f=i._ptLookup[i._targets.indexOf(n)],u=a._props.length;u--;)f[a._props[u]]=l;return a},Pt,ai,oi=function o(t,e,i){var r=t.vars,n=r.ease,s=r.startAt,a=r.immediateRender,l=r.lazy,f=r.onUpdate,u=r.runBackwards,h=r.yoyoEase,_=r.keyframes,p=r.autoRevert,g=t._dur,d=t._startAt,m=t._targets,x=t.parent,b=x&&x.data==="nested"?x.vars.targets:m,T=t._overwrite==="auto"&&!Be,w=t.timeline,y,v,S,C,k,E,O,D,N,j,Y,$,q;if(w&&(!_||!n)&&(n="none"),t._ease=Vt(n,Xt.ease),t._yEase=h?sr(Vt(h===!0?n:h,Xt.ease)):0,h&&t._yoyo&&!t._repeat&&(h=t._yEase,t._yEase=t._ease,t._ease=h),t._from=!w&&!!r.runBackwards,!w||_&&!r.stagger){if(D=m[0]?Nt(m[0]).harness:0,$=D&&r[D.prop],y=Ce(r,Xe),d&&(d._zTime<0&&d.progress(1),e<0&&u&&a&&!p?d.render(-1,!0):d.revert(u&&g?Te:en),d._lazy=0),s){if(St(t._startAt=I.set(m,st({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!d&&Q(l),startAt:null,delay:0,onUpdate:f&&function(){return at(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(X||!a&&!p)&&t._startAt.revert(Te),a&&g&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(u&&g&&!d){if(e&&(a=!1),S=st({overwrite:!1,data:"isFromStart",lazy:a&&!d&&Q(l),immediateRender:a,stagger:0,parent:x},y),$&&(S[D.prop]=$),St(t._startAt=I.set(m,S)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(X?t._startAt.revert(Te):t._startAt.render(-1,!0)),t._zTime=e,!a)o(t._startAt,z,z);else if(!e)return}for(t._pt=t._ptCache=0,l=g&&Q(l)||l&&!g,v=0;v<m.length;v++){if(k=m[v],O=k._gsap||Ke(m)[v]._gsap,t._ptLookup[v]=j={},je[O.id]&&vt.length&&Se(),Y=b===m?v:b.indexOf(k),D&&(N=new D).init(k,$||y,t,Y,b)!==!1&&(t._pt=C=new J(t._pt,k,N.name,0,1,N.render,N,0,N.priority),N._props.forEach(function(ht){j[ht]=C}),N.priority&&(E=1)),!D||$)for(S in y)nt[S]&&(N=fr(S,y,t,Y,k,b))?N.priority&&(E=1):j[S]=C=si.call(t,k,S,"get",y[S],Y,b,0,r.stringFilter);t._op&&t._op[v]&&t.kill(k,t._op[v]),T&&t._pt&&(Pt=t,V.killTweensOf(k,j,t.globalTime(e)),q=!t.parent,Pt=0),t._pt&&l&&(je[O.id]=1)}E&&pr(t),t._onInit&&t._onInit(t)}t._onUpdate=f,t._initted=(!t._op||t._pt)&&!q,_&&e<=0&&w.render(ft,!0,!0)},On=function(t,e,i,r,n,s,a,l){var f=(t._pt&&t._ptCache||(t._ptCache={}))[e],u,h,_,p;if(!f)for(f=t._ptCache[e]=[],_=t._ptLookup,p=t._targets.length;p--;){if(u=_[p][e],u&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return ai=1,t.vars[e]="+=0",oi(t,a),ai=0,l?re(e+" not eligible for reset"):1;f.push(u)}for(p=f.length;p--;)h=f[p],u=h._pt||h,u.s=(r||r===0)&&!n?r:u.s+(r||0)+s*u.c,u.c=i-u.s,h.e&&(h.e=L(i)+G(h.e)),h.b&&(h.b=u.s+G(h.b))},Dn=function(t,e){var i=t[0]?Nt(t[0]).harness:0,r=i&&i.aliases,n,s,a,l;if(!r)return e;n=Gt({},e);for(s in r)if(s in n)for(l=r[s].split(","),a=l.length;a--;)n[l[a]]=n[s];return n},zn=function(t,e,i,r){var n=e.ease||r||"power1.inOut",s,a;if(W(e))a=i[t]||(i[t]=[]),e.forEach(function(l,f){return a.push({t:f/(e.length-1)*100,v:l,e:n})});else for(s in e)a=i[s]||(i[s]=[]),s==="ease"||a.push({t:parseFloat(t),v:e[s],e:n})},de=function(t,e,i,r,n){return F(t)?t.call(e,i,r,n):U(t)&&~t.indexOf("random(")?le(t):t},ur=Ge+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",cr={};Z(ur+",id,stagger,delay,duration,paused,scrollTrigger",function(o){return cr[o]=1});var I=function(o){Ti(t,o);function t(i,r,n,s){var a;typeof r=="number"&&(n.duration=r,r=n,n=null),a=o.call(this,s?r:se(r))||this;var l=a.vars,f=l.duration,u=l.delay,h=l.immediateRender,_=l.stagger,p=l.overwrite,g=l.keyframes,d=l.defaults,m=l.scrollTrigger,x=l.yoyoEase,b=r.parent||V,T=(W(i)||Si(i)?bt(i[0]):"length"in r)?[i]:ct(i),w,y,v,S,C,k,E,O;if(a._targets=T.length?Ke(T):re("GSAP target "+i+" not found. https://gsap.com",!it.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=p,g||_||we(f)||we(u)){if(r=a.vars,w=a.timeline=new H({data:"nested",defaults:d||{},targets:b&&b.data==="nested"?b.vars.targets:T}),w.kill(),w.parent=w._dp=xt(a),w._start=0,_||we(f)||we(u)){if(S=T.length,E=_&&Wi(_),_t(_))for(C in _)~ur.indexOf(C)&&(O||(O={}),O[C]=_[C]);for(y=0;y<S;y++)v=Ce(r,cr),v.stagger=0,x&&(v.yoyoEase=x),O&&Gt(v,O),k=T[y],v.duration=+de(f,xt(a),y,k,T),v.delay=(+de(u,xt(a),y,k,T)||0)-a._delay,!_&&S===1&&v.delay&&(a._delay=u=v.delay,a._start+=u,v.delay=0),w.to(k,v,E?E(y,k,T):0),w._ease=P.none;w.duration()?f=u=0:a.timeline=0}else if(g){se(st(w.vars.defaults,{ease:"none"})),w._ease=Vt(g.ease||r.ease||"none");var D=0,N,j,Y;if(W(g))g.forEach(function($){return w.to(T,$,">")}),w.duration();else{v={};for(C in g)C==="ease"||C==="easeEach"||zn(C,g[C],v,g.easeEach);for(C in v)for(N=v[C].sort(function($,q){return $.t-q.t}),D=0,y=0;y<N.length;y++)j=N[y],Y={ease:j.e,duration:(j.t-(y?N[y-1].t:0))/100*f},Y[C]=j.v,w.to(T,Y,D),D+=Y.duration;w.duration()<f&&w.to({},{duration:f-w.duration()})}}f||a.duration(f=w.duration())}else a.timeline=0;return p===!0&&!Be&&(Pt=xt(a),V.killTweensOf(T),Pt=0),mt(b,xt(a),n),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(h||!f&&!g&&a._start===R(b._time)&&Q(h)&&ln(xt(a))&&b.data!=="nested")&&(a._tTime=-z,a.render(Math.max(0,-u)||0)),m&&Ui(xt(a),m),a}var e=t.prototype;return e.render=function(r,n,s){var a=this._time,l=this._tDur,f=this._dur,u=r<0,h=r>l-z&&!u?l:r<z?0:r,_,p,g,d,m,x,b,T,w;if(!f)un(this,r,n,s);else if(h!==this._tTime||!r||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==u||this._lazy){if(_=h,T=this.timeline,this._repeat){if(d=f+this._rDelay,this._repeat<-1&&u)return this.totalTime(d*100+r,n,s);if(_=R(h%d),h===l?(g=this._repeat,_=f):(m=R(h/d),g=~~m,g&&g===m?(_=f,g--):_>f&&(_=f)),x=this._yoyo&&g&1,x&&(w=this._yEase,_=f-_),m=Kt(this._tTime,d),_===a&&!s&&this._initted&&g===m)return this._tTime=h,this;g!==m&&(T&&this._yEase&&ar(T,x),this.vars.repeatRefresh&&!x&&!this._lock&&_!==d&&this._initted&&(this._lock=s=1,this.render(R(d*g),!0).invalidate()._lock=0))}if(!this._initted){if(Yi(this,u?r:_,s,n,h))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&g!==m))return this;if(f!==this._dur)return this.render(r,n,s)}if(this._tTime=h,this._time=_,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=b=(w||this._ease)(_/f),this._from&&(this.ratio=b=1-b),!a&&h&&!n&&!m&&(at(this,"onStart"),this._tTime!==h))return this;for(p=this._pt;p;)p.r(b,p.d),p=p._next;T&&T.render(r<0?r:T._dur*T._ease(_/this._dur),n,s)||this._startAt&&(this._zTime=r),this._onUpdate&&!n&&(u&&Qe(this,r,n,s),at(this,"onUpdate")),this._repeat&&g!==m&&this.vars.onRepeat&&!n&&this.parent&&at(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(u&&!this._onUpdate&&Qe(this,r,!0,!0),(r||!f)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&St(this,1),!n&&!(u&&!a)&&(h||a||x)&&(at(this,h===l?"onComplete":"onReverseComplete",!0),this._prom&&!(h<l&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),o.prototype.invalidate.call(this,r)},e.resetTo=function(r,n,s,a,l){ce||ot.wake(),this._ts||this.play();var f=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||oi(this,f),u=this._ease(f/this._dur),On(this,r,n,s,a,u,f,l)?this.resetTo(r,n,s,a,1):(De(this,0),this.parent||Li(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(r,n){if(n===void 0&&(n="all"),!r&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?fe(this):this.scrollTrigger&&this.scrollTrigger.kill(!!X),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,Pt&&Pt.vars.overwrite!==!0)._first||fe(this),this.parent&&s!==this.timeline.totalDuration()&&Ht(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=r?ct(r):a,f=this._ptLookup,u=this._pt,h,_,p,g,d,m,x;if((!n||n==="all")&&an(a,l))return n==="all"&&(this._pt=0),fe(this);for(h=this._op=this._op||[],n!=="all"&&(U(n)&&(d={},Z(n,function(b){return d[b]=1}),n=d),n=Dn(a,n)),x=a.length;x--;)if(~l.indexOf(a[x])){_=f[x],n==="all"?(h[x]=n,g=_,p={}):(p=h[x]=h[x]||{},g=n);for(d in g)m=_&&_[d],m&&((!("kill"in m.d)||m.d.kill(d)===!0)&&Ee(this,m,"_pt"),delete _[d]),p!=="all"&&(p[d]=1)}return this._initted&&!this._pt&&u&&fe(this),this},t.to=function(r,n){return new t(r,n,arguments[2])},t.from=function(r,n){return ae(1,arguments)},t.delayedCall=function(r,n,s,a){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},t.fromTo=function(r,n,s){return ae(2,arguments)},t.set=function(r,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(r,n)},t.killTweensOf=function(r,n,s){return V.killTweensOf(r,n,s)},t}(he);st(I.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Z("staggerTo,staggerFrom,staggerFromTo",function(o){I[o]=function(){var t=new H,e=Je.call(arguments,0);return e.splice(o==="staggerFromTo"?5:4,0,0),t[o].apply(t,e)}});var li=function(t,e,i){return t[e]=i},hr=function(t,e,i){return t[e](i)},Mn=function(t,e,i,r){return t[e](r.fp,i)},Nn=function(t,e,i){return t.setAttribute(e,i)},fi=function(t,e){return F(t[e])?hr:Le(t[e])&&t.setAttribute?Nn:li},dr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},An=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},_r=function(t,e){var i=e._pt,r="";if(!t&&e.b)r=e.b;else if(t===1&&e.e)r=e.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+r,i=i._next;r+=e.c}e.set(e.t,e.p,r,e)},ui=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},Vn=function(t,e,i,r){for(var n=this._pt,s;n;)s=n._next,n.p===r&&n.modifier(t,e,i),n=s},Rn=function(t){for(var e=this._pt,i,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?Ee(this,e,"_pt"):e.dep||(i=1),e=r;return!i},Bn=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},pr=function(t){for(var e=t._pt,i,r,n,s;e;){for(i=e._next,r=n;r&&r.pr>e.pr;)r=r._next;(e._prev=r?r._prev:s)?e._prev._next=e:n=e,(e._next=r)?r._prev=e:s=e,e=i}t._pt=n},J=function(){function o(e,i,r,n,s,a,l,f,u){this.t=i,this.s=n,this.c=s,this.p=r,this.r=a||dr,this.d=l||this,this.set=f||li,this.pr=u||0,this._next=e,e&&(e._prev=this)}var t=o.prototype;return t.modifier=function(i,r,n){this.mSet=this.mSet||this.set,this.set=Bn,this.m=i,this.mt=n,this.tween=r},o}();Z(Ge+"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(o){return Xe[o]=1}),rt.TweenMax=rt.TweenLite=I,rt.TimelineLite=rt.TimelineMax=H,V=new H({sortChildren:!1,defaults:Xt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),it.stringFilter=nr;var Bt=[],ze={},Fn=[],mr=0,Ln=0,ci=function(t){return(ze[t]||Fn).map(function(e){return e()})},hi=function(){var t=Date.now(),e=[];t-mr>2&&(ci("matchMediaInit"),Bt.forEach(function(i){var r=i.queries,n=i.conditions,s,a,l,f;for(a in r)s=pt.matchMedia(r[a]).matches,s&&(l=1),s!==n[a]&&(n[a]=s,f=1);f&&(i.revert(),l&&e.push(i))}),ci("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(r){return i.add(null,r)})}),mr=t,ci("matchMedia"))},gr=function(){function o(e,i){this.selector=i&&ti(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Ln++,e&&this.add(e)}var t=o.prototype;return t.add=function(i,r,n){F(i)&&(n=r,r=i,i=F);var s=this,a=function(){var f=A,u=s.selector,h;return f&&f!==s&&f.data.push(s),n&&(s.selector=ti(n)),A=s,h=r.apply(s,arguments),F(h)&&s._r.push(h),A=f,s.selector=u,s.isReverted=!1,h};return s.last=a,i===F?a(s,function(l){return s.add(null,l)}):i?s[i]=a:a},t.ignore=function(i){var r=A;A=null,i(this),A=r},t.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof o?i.push.apply(i,r.getTweens()):r instanceof I&&!(r.parent&&r.parent.data==="nested")&&i.push(r)}),i},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(i,r){var n=this;if(i?function(){for(var a=n.getTweens(),l=n.data.length,f;l--;)f=n.data[l],f.data==="isFlip"&&(f.revert(),f.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,h){return h.g-u.g||-1/0}).forEach(function(u){return u.t.revert(i)}),l=n.data.length;l--;)f=n.data[l],f instanceof H?f.data!=="nested"&&(f.scrollTrigger&&f.scrollTrigger.revert(),f.kill()):!(f instanceof I)&&f.revert&&f.revert(i);n._r.forEach(function(u){return u(i,n)}),n.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var s=Bt.length;s--;)Bt[s].id===this.id&&Bt.splice(s,1)},t.revert=function(i){this.kill(i||{})},o}(),In=function(){function o(e){this.contexts=[],this.scope=e,A&&A.data.push(this)}var t=o.prototype;return t.add=function(i,r,n){_t(i)||(i={matches:i});var s=new gr(0,n||this.scope),a=s.conditions={},l,f,u;A&&!s.selector&&(s.selector=A.selector),this.contexts.push(s),r=s.add("onMatch",r),s.queries=i;for(f in i)f==="all"?u=1:(l=pt.matchMedia(i[f]),l&&(Bt.indexOf(s)<0&&Bt.push(s),(a[f]=l.matches)&&(u=1),l.addListener?l.addListener(hi):l.addEventListener("change",hi)));return u&&r(s,function(h){return s.add(null,h)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(r){return r.kill(i,!0)})},o}(),Me={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(r){return tr(r)})},timeline:function(t){return new H(t)},getTweensOf:function(t,e){return V.getTweensOf(t,e)},getProperty:function(t,e,i,r){U(t)&&(t=ct(t)[0]);var n=Nt(t||{}).get,s=i?Bi:Ri;return i==="native"&&(i=""),t&&(e?s((nt[e]&&nt[e].get||n)(t,e,i,r)):function(a,l,f){return s((nt[a]&&nt[a].get||n)(t,a,l,f))})},quickSetter:function(t,e,i){if(t=ct(t),t.length>1){var r=t.map(function(u){return tt.quickSetter(u,e,i)}),n=r.length;return function(u){for(var h=n;h--;)r[h](u)}}t=t[0]||{};var s=nt[e],a=Nt(t),l=a.harness&&(a.harness.aliases||{})[e]||e,f=s?function(u){var h=new s;Qt._pt=0,h.init(t,i?u+i:u,Qt,0,[t]),h.render(1,h),Qt._pt&&ui(1,Qt)}:a.set(t,l);return s?f:function(u){return f(t,l,i?u+i:u,a,1)}},quickTo:function(t,e,i){var r,n=tt.to(t,st((r={},r[e]="+=0.1",r.paused=!0,r.stagger=0,r),i||{})),s=function(l,f,u){return n.resetTo(e,l,f,u)};return s.tween=n,s},isTweening:function(t){return V.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Vt(t.ease,Xt.ease)),Fi(Xt,t||{})},config:function(t){return Fi(it,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,r=t.plugins,n=t.defaults,s=t.extendTimeline;(r||"").split(",").forEach(function(a){return a&&!nt[a]&&!rt[a]&&re(e+" effect requires "+a+" plugin.")}),We[e]=function(a,l,f){return i(ct(a),st(l||{},n),f)},s&&(H.prototype[e]=function(a,l,f){return this.add(We[e](a,_t(l)?l:(f=l)&&{},this),f)})},registerEase:function(t,e){P[t]=Vt(e)},parseEase:function(t,e){return arguments.length?Vt(t,e):P},getById:function(t){return V.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new H(t),r,n;for(i.smoothChildTiming=Q(t.smoothChildTiming),V.remove(i),i._dp=0,i._time=i._tTime=V._time,r=V._first;r;)n=r._next,(e||!(!r._dur&&r instanceof I&&r.vars.onComplete===r._targets[0]))&&mt(i,r,r._start-r._delay),r=n;return mt(V,i,0),i},context:function(t,e){return t?new gr(t,e):A},matchMedia:function(t){return new In(t)},matchMediaRefresh:function(){return Bt.forEach(function(t){var e=t.conditions,i,r;for(r in e)e[r]&&(e[r]=!1,i=1);i&&t.revert()})||hi()},addEventListener:function(t,e){var i=ze[t]||(ze[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=ze[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:yn,wrapYoyo:xn,distribute:Wi,random:Ki,snap:Gi,normalize:gn,getUnit:G,clamp:dn,splitColor:er,toArray:ct,selector:ti,mapRange:Qi,pipe:pn,unitize:mn,interpolate:bn,shuffle:ji},install:Di,effects:We,ticker:ot,updateRoot:H.updateRoot,plugins:nt,globalTimeline:V,core:{PropTween:J,globals:zi,Tween:I,Timeline:H,Animation:he,getCache:Nt,_removeLinkedListItem:Ee,reverting:function(){return X},context:function(t){return t&&A&&(A.data.push(t),t._ctx=A),A},suppressOverwrites:function(t){return Be=t}}};Z("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Me[o]=I[o]}),ot.add(H.updateRoot),Qt=Me.to({},{duration:0});var $n=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},Un=function(t,e){var i=t._targets,r,n,s;for(r in e)for(n=i.length;n--;)s=t._ptLookup[n][r],s&&(s=s.d)&&(s._pt&&(s=$n(s,r)),s&&s.modifier&&s.modifier(e[r],t,i[n],r))},di=function(t,e){return{name:t,headless:1,rawVars:1,init:function(r,n,s){s._onInit=function(a){var l,f;if(U(n)&&(l={},Z(n,function(u){return l[u]=1}),n=l),e){l={};for(f in n)l[f]=e(n[f]);n=l}Un(a,n)}}}},tt=Me.registerPlugin({name:"attr",init:function(t,e,i,r,n){var s,a,l;this.tween=i;for(s in e)l=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(l||0)+"",e[s],r,n,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(t,e){for(var i=e._pt;i;)X?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",headless:1,init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},di("roundProps",ei),di("modifiers"),di("snap",Gi))||Me;I.version=H.version=tt.version="3.14.2",Oi=1,Ie()&&Zt(),P.Power0,P.Power1,P.Power2,P.Power3,P.Power4,P.Linear,P.Quad,P.Cubic,P.Quart,P.Quint,P.Strong,P.Elastic,P.Back,P.SteppedEase,P.Bounce,P.Sine,P.Expo,P.Circ;/*!
|
|
8
|
+
*/var it={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Xt={duration:.5,overwrite:!1,delay:0},Le,q,A,ft=1e8,z=1/ft,Fe=Math.PI*2,Jr=Fe/4,Qr=0,Ei=Math.sqrt,Zr=Math.cos,tn=Math.sin,U=function(t){return typeof t=="string"},I=function(t){return typeof t=="function"},xt=function(t){return typeof t=="number"},$e=function(t){return typeof t>"u"},ht=function(t){return typeof t=="object"},J=function(t){return t!==!1},Ue=function(){return typeof window<"u"},Te=function(t){return I(t)||U(t)},Oi=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},W=Array.isArray,en=/random\([^)]+\)/g,rn=/,\s*/g,Pi=/(?:-?\.?\d|\.)+/gi,Di=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Wt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ye=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,zi=/[+-]=-?[.\d]+/,nn=/[^,'"\[\]\s]+/gi,sn=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,V,_t,je,qe,rt={},ve={},Mi,Ni=function(t){return(ve=Ht(t,rt))&&tt},Xe=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},se=function(t,e){return!e&&console.warn(t)},Ai=function(t,e){return t&&(rt[t]=e)&&ve&&(ve[t]=e)||rt},ae=function(){return 0},an={suppressEvents:!0,isStart:!0,kill:!1},Se={suppressEvents:!0,kill:!1},on={suppressEvents:!0},We={},Tt=[],Ge={},Vi,nt={},He={},Ri=30,Ce=[],Ke="",Je=function(t){var e=t[0],i,r;if(ht(e)||I(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(r=Ce.length;r--&&!Ce[r].targetTest(e););i=Ce[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new ur(t[r],i)))||t.splice(r,1);return t},At=function(t){return t._gsap||Je(ut(t))[0]._gsap},Bi=function(t,e,i){return(i=t[e])&&I(i)?t[e]():$e(i)&&t.getAttribute&&t.getAttribute(e)||i},Q=function(t,e){return(t=t.split(",")).forEach(e)||t},L=function(t){return Math.round(t*1e5)/1e5||0},R=function(t){return Math.round(t*1e7)/1e7||0},Gt=function(t,e){var i=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),i==="+"?t+r:i==="-"?t-r:i==="*"?t*r:t/r},ln=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++r<i;);return r<i},Ee=function(){var t=Tt.length,e=Tt.slice(0),i,r;for(Ge={},Tt.length=0,i=0;i<t;i++)r=e[i],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},Qe=function(t){return!!(t._initted||t._startAt||t.add)},Ii=function(t,e,i,r){Tt.length&&!q&&Ee(),t.render(e,i,!!(q&&e<0&&Qe(t))),Tt.length&&!q&&Ee()},Li=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(nn).length<2?e:U(t)?t.trim():t},Fi=function(t){return t},st=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},fn=function(t){return function(e,i){for(var r in i)r in e||r==="duration"&&t||r==="ease"||(e[r]=i[r])}},Ht=function(t,e){for(var i in e)t[i]=e[i];return t},$i=function o(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=ht(e[i])?o(t[i]||(t[i]={}),e[i]):e[i]);return t},Oe=function(t,e){var i={},r;for(r in t)r in e||(i[r]=t[r]);return i},oe=function(t){var e=t.parent||V,i=t.keyframes?fn(W(t.keyframes)):st;if(J(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},cn=function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0},Ui=function(t,e,i,r,n){var s=t[r],a;if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[r]=e,e._prev=s,e.parent=e._dp=t,e},Pe=function(t,e,i,r){i===void 0&&(i="_first"),r===void 0&&(r="_last");var n=e._prev,s=e._next;n?n._next=s:t[i]===e&&(t[i]=s),s?s._prev=n:t[r]===e&&(t[r]=n),e._next=e._prev=e.parent=null},vt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Vt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t},un=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Ze=function(t,e,i,r){return t._startAt&&(q?t._startAt.revert(Se):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},dn=function o(t){return!t||t._ts&&o(t.parent)},Yi=function(t){return t._repeat?Kt(t._tTime,t=t.duration()+t._rDelay)*t:0},Kt=function(t,e){var i=Math.floor(t=R(t/e));return t&&i===t?i-1:i},De=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},ze=function(t){return t._end=R(t._start+(t._tDur/Math.abs(t._ts||t._rts||z)||0))},Me=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=R(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),ze(t),i._dirty||Vt(i,t)),t},ji=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=De(t.rawTime(),e),(!e._dur||fe(0,e.totalDuration(),i)-e._tTime>z)&&e.render(i,!0)),Vt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-z}},pt=function(t,e,i,r){return e.parent&&vt(e),e._start=R((xt(i)?i:i||t!==V?ct(t,i,e):t._time)+e._delay),e._end=R(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ui(t,e,"_first","_last",t._sort?"_start":0),ti(e)||(t._recent=e),r||ji(t,e),t._ts<0&&Me(t,t._tTime),t},qi=function(t,e){return(rt.ScrollTrigger||Xe("scrollTrigger",e))&&rt.ScrollTrigger.create(e,t)},Xi=function(t,e,i,r,n){if(fi(t,e,n),!t._initted)return 1;if(!i&&t._pt&&!q&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&Vi!==ot.frame)return Tt.push(t),t._lazy=[n,r],1},hn=function o(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||o(e))},ti=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},_n=function(t,e,i,r){var n=t.ratio,s=e<0||!e&&(!t._start&&hn(t)&&!(!t._initted&&ti(t))||(t._ts<0||t._dp._ts<0)&&!ti(t))?0:1,a=t._rDelay,l=0,f,c,h;if(a&&t._repeat&&(l=fe(0,t._tDur,e),c=Kt(l,a),t._yoyo&&c&1&&(s=1-s),c!==Kt(t._tTime,a)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||q||r||t._zTime===z||!e&&t._zTime){if(!t._initted&&Xi(t,e,r,i,l))return;for(h=t._zTime,t._zTime=e||(i?z:0),i||(i=e&&!h),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=l,f=t._pt;f;)f.r(s,f.d),f=f._next;e<0&&Ze(t,e,i,!0),t._onUpdate&&!i&&at(t,"onUpdate"),l&&t._repeat&&!i&&t.parent&&at(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&vt(t,1),!i&&!q&&(at(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},pn=function(t,e,i){var r;if(i>e)for(r=t._first;r&&r._start<=i;){if(r.data==="isPause"&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=i;){if(r.data==="isPause"&&r._start<e)return r;r=r._prev}},Jt=function(t,e,i,r){var n=t._repeat,s=R(e)||0,a=t._tTime/t._tDur;return a&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:R(s*(n+1)+t._rDelay*n):s,a>0&&!r&&Me(t,t._tTime=t._tDur*a),t.parent&&ze(t),i||Vt(t.parent,t),t},Wi=function(t){return t instanceof K?Vt(t):Jt(t,t._dur)},mn={_start:0,endTime:ae,totalDuration:ae},ct=function o(t,e,i){var r=t.labels,n=t._recent||mn,s=t.duration()>=ft?n.endTime(!1):t._dur,a,l,f;return U(e)&&(isNaN(e)||e in r)?(l=e.charAt(0),f=e.substr(-1)==="%",a=e.indexOf("="),l==="<"||l===">"?(a>=0&&(e=e.replace(/=/,"")),(l==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(f?(a<0?n:i).totalDuration()/100:1)):a<0?(e in r||(r[e]=s),r[e]):(l=parseFloat(e.charAt(a-1)+e.substr(a+1)),f&&i&&(l=l/100*(W(i)?i[0]:i).totalDuration()),a>1?o(t,e.substr(0,a-1),i)+l:s+l)):e==null?s:+e},le=function(t,e,i){var r=xt(e[1]),n=(r?2:1)+(t<2?0:1),s=e[n],a,l;if(r&&(s.duration=e[1]),s.parent=i,t){for(a=s,l=i;l&&!("immediateRender"in a);)a=l.vars.defaults||{},l=J(l.vars.inherit)&&l.parent;s.immediateRender=J(a.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new F(e[0],s,e[n+1])},St=function(t,e){return t||t===0?e(t):e},fe=function(t,e,i){return i<t?t:i>e?e:i},G=function(t,e){return!U(t)||!(e=sn.exec(t))?"":e[1]},gn=function(t,e,i){return St(i,function(r){return fe(t,e,r)})},ei=[].slice,Gi=function(t,e){return t&&ht(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&ht(t[0]))&&!t.nodeType&&t!==_t},yn=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(r){var n;return U(r)&&!e||Gi(r,1)?(n=i).push.apply(n,ut(r)):i.push(r)})||i},ut=function(t,e,i){return A&&!e&&A.selector?A.selector(t):U(t)&&!i&&(je||!Zt())?ei.call((e||qe).querySelectorAll(t),0):W(t)?yn(t,i):Gi(t)?ei.call(t,0):t?[t]:[]},ii=function(t){return t=ut(t)[0]||se("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return ut(e,i.querySelectorAll?i:i===t?se("Invalid scope")||qe.createElement("div"):t)}},Hi=function(t){return t.sort(function(){return .5-Math.random()})},Ki=function(t){if(I(t))return t;var e=ht(t)?t:{each:t},i=Rt(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},a=r>0&&r<1,l=isNaN(r)||a,f=e.axis,c=r,h=r;return U(r)?c=h={center:.5,edges:.5,end:1}[r]||0:!a&&l&&(c=r[0],h=r[1]),function(p,_,m){var d=(m||e).length,y=s[d],x,b,T,w,g,v,S,C,k;if(!y){if(k=e.grid==="auto"?0:(e.grid||[1,ft])[1],!k){for(S=-ft;S<(S=m[k++].getBoundingClientRect().left)&&k<d;);k<d&&k--}for(y=s[d]=[],x=l?Math.min(k,d)*c-.5:r%k,b=k===ft?0:l?d*h/k-.5:r/k|0,S=0,C=ft,v=0;v<d;v++)T=v%k-x,w=b-(v/k|0),y[v]=g=f?Math.abs(f==="y"?w:T):Ei(T*T+w*w),g>S&&(S=g),g<C&&(C=g);r==="random"&&Hi(y),y.max=S-C,y.min=C,y.v=d=(parseFloat(e.amount)||parseFloat(e.each)*(k>d?d-1:f?f==="y"?d/k:k:Math.max(k,d/k))||0)*(r==="edges"?-1:1),y.b=d<0?n-d:n,y.u=G(e.amount||e.each)||0,i=i&&d<0?lr(i):i}return d=(y[p]-y.min)/y.max||0,R(y.b+(i?i(d):d)*y.v)+y.u}},ri=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=R(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(xt(i)?0:G(i))}},Ji=function(t,e){var i=W(t),r,n;return!i&&ht(t)&&(r=i=t.radius||ft,t.values?(t=ut(t.values),(n=!xt(t[0]))&&(r*=r)):t=ri(t.increment)),St(e,i?I(t)?function(s){return n=t(s),Math.abs(n-s)<=r?n:s}:function(s){for(var a=parseFloat(n?s.x:s),l=parseFloat(n?s.y:0),f=ft,c=0,h=t.length,p,_;h--;)n?(p=t[h].x-a,_=t[h].y-l,p=p*p+_*_):p=Math.abs(t[h]-a),p<f&&(f=p,c=h);return c=!r||f<=r?t[c]:s,n||c===s||xt(s)?c:c+G(s)}:ri(t))},Qi=function(t,e,i,r){return St(W(t)?!e:i===!0?!!(i=0):!r,function(){return W(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(r=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+i*.99))/i)*i*r)/r})},xn=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(r){return e.reduce(function(n,s){return s(n)},r)}},bn=function(t,e){return function(i){return t(parseFloat(i))+(e||G(i))}},wn=function(t,e,i){return tr(t,e,0,1,i)},Zi=function(t,e,i){return St(i,function(r){return t[~~e(r)]})},kn=function o(t,e,i){var r=e-t;return W(t)?Zi(t,o(0,t.length),e):St(i,function(n){return(r+(n-t)%r)%r+t})},Tn=function o(t,e,i){var r=e-t,n=r*2;return W(t)?Zi(t,o(0,t.length-1),e):St(i,function(s){return s=(n+(s-t)%n)%n||0,t+(s>r?n-s:s)})},ce=function(t){return t.replace(en,function(e){var i=e.indexOf("[")+1,r=e.substring(i||7,i?e.indexOf("]"):e.length-1).split(rn);return Qi(i?r:+r[0],i?0:+r[1],+r[2]||1e-5)})},tr=function(t,e,i,r,n){var s=e-t,a=r-i;return St(n,function(l){return i+((l-t)/s*a||0)})},vn=function o(t,e,i,r){var n=isNaN(t+e)?0:function(_){return(1-_)*t+_*e};if(!n){var s=U(t),a={},l,f,c,h,p;if(i===!0&&(r=1)&&(i=null),s)t={p:t},e={p:e};else if(W(t)&&!W(e)){for(c=[],h=t.length,p=h-2,f=1;f<h;f++)c.push(o(t[f-1],t[f]));h--,n=function(m){m*=h;var d=Math.min(p,~~m);return c[d](m-d)},i=e}else r||(t=Ht(W(t)?[]:{},t));if(!c){for(l in e)oi.call(a,t,l,"get",e[l]);n=function(m){return di(m,a)||(s?t.p:t)}}}return St(i,n)},er=function(t,e,i){var r=t.labels,n=ft,s,a,l;for(s in r)a=r[s]-e,a<0==!!i&&a&&n>(a=Math.abs(a))&&(l=s,n=a);return l},at=function(t,e,i){var r=t.vars,n=r[e],s=A,a=t._ctx,l,f,c;if(n)return l=r[e+"Params"],f=r.callbackScope||t,i&&Tt.length&&Ee(),a&&(A=a),c=l?n.apply(f,l):n.call(f),A=s,c},ue=function(t){return vt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!q),t.progress()<1&&at(t,"onInterrupt"),t},Qt,ir=[],rr=function(t){if(t)if(t=!t.name&&t.default||t,Ue()||t.headless){var e=t.name,i=I(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:ae,render:di,add:oi,kill:Fn,modifier:Ln,rawVars:0},s={targetTest:0,get:0,getSetter:ui,aliases:{},register:0};if(Zt(),t!==r){if(nt[e])return;st(r,st(Oe(t,n),s)),Ht(r.prototype,Ht(n,Oe(t,s))),nt[r.prop=e]=r,t.targetTest&&(Ce.push(r),We[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}Ai(e,r),t.register&&t.register(tt,r,Z)}else ir.push(t)},M=255,de={aqua:[0,M,M],lime:[0,M,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,M],navy:[0,0,128],white:[M,M,M],olive:[128,128,0],yellow:[M,M,0],orange:[M,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[M,0,0],pink:[M,192,203],cyan:[0,M,M],transparent:[M,M,M,0]},ni=function(t,e,i){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(i-e)*t*6:t<.5?i:t*3<2?e+(i-e)*(2/3-t)*6:e)*M+.5|0},nr=function(t,e,i){var r=t?xt(t)?[t>>16,t>>8&M,t&M]:0:de.black,n,s,a,l,f,c,h,p,_,m;if(!r){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),de[t])r=de[t];else if(t.charAt(0)==="#"){if(t.length<6&&(n=t.charAt(1),s=t.charAt(2),a=t.charAt(3),t="#"+n+n+s+s+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return r=parseInt(t.substr(1,6),16),[r>>16,r>>8&M,r&M,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),r=[t>>16,t>>8&M,t&M]}else if(t.substr(0,3)==="hsl"){if(r=m=t.match(Pi),!e)l=+r[0]%360/360,f=+r[1]/100,c=+r[2]/100,s=c<=.5?c*(f+1):c+f-c*f,n=c*2-s,r.length>3&&(r[3]*=1),r[0]=ni(l+1/3,n,s),r[1]=ni(l,n,s),r[2]=ni(l-1/3,n,s);else if(~t.indexOf("="))return r=t.match(Di),i&&r.length<4&&(r[3]=1),r}else r=t.match(Pi)||de.transparent;r=r.map(Number)}return e&&!m&&(n=r[0]/M,s=r[1]/M,a=r[2]/M,h=Math.max(n,s,a),p=Math.min(n,s,a),c=(h+p)/2,h===p?l=f=0:(_=h-p,f=c>.5?_/(2-h-p):_/(h+p),l=h===n?(s-a)/_+(s<a?6:0):h===s?(a-n)/_+2:(n-s)/_+4,l*=60),r[0]=~~(l+.5),r[1]=~~(f*100+.5),r[2]=~~(c*100+.5)),i&&r.length<4&&(r[3]=1),r},sr=function(t){var e=[],i=[],r=-1;return t.split(Ct).forEach(function(n){var s=n.match(Wt)||[];e.push.apply(e,s),i.push(r+=s.length+1)}),e.c=i,e},ar=function(t,e,i){var r="",n=(t+r).match(Ct),s=e?"hsla(":"rgba(",a=0,l,f,c,h;if(!n)return t;if(n=n.map(function(p){return(p=nr(p,e,1))&&s+(e?p[0]+","+p[1]+"%,"+p[2]+"%,"+p[3]:p.join(","))+")"}),i&&(c=sr(t),l=i.c,l.join(r)!==c.c.join(r)))for(f=t.replace(Ct,"1").split(Wt),h=f.length-1;a<h;a++)r+=f[a]+(~l.indexOf(a)?n.shift()||s+"0,0,0,0)":(c.length?c:n.length?n:i).shift());if(!f)for(f=t.split(Ct),h=f.length-1;a<h;a++)r+=f[a]+n[a];return r+f[h]},Ct=function(){var o="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in de)o+="|"+t+"\\b";return new RegExp(o+")","gi")}(),Sn=/hsl[a]?\(/,or=function(t){var e=t.join(" "),i;if(Ct.lastIndex=0,Ct.test(e))return i=Sn.test(e),t[1]=ar(t[1],i),t[0]=ar(t[0],i,sr(t[1])),!0},he,ot=function(){var o=Date.now,t=500,e=33,i=o(),r=i,n=1e3/240,s=n,a=[],l,f,c,h,p,_,m=function d(y){var x=o()-r,b=y===!0,T,w,g,v;if((x>t||x<0)&&(i+=x-e),r+=x,g=r-i,T=g-s,(T>0||b)&&(v=++h.frame,p=g-h.time*1e3,h.time=g=g/1e3,s+=T+(T>=n?4:n-T),w=1),b||(l=f(d)),w)for(_=0;_<a.length;_++)a[_](g,p,v,y)};return h={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(y){return p/(1e3/(y||60))},wake:function(){Mi&&(!je&&Ue()&&(_t=je=window,qe=_t.document||{},rt.gsap=tt,(_t.gsapVersions||(_t.gsapVersions=[])).push(tt.version),Ni(ve||_t.GreenSockGlobals||!_t.gsap&&_t||{}),ir.forEach(rr)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&h.sleep(),f=c||function(y){return setTimeout(y,s-h.time*1e3+1|0)},he=1,m(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(l),he=0,f=ae},lagSmoothing:function(y,x){t=y||1/0,e=Math.min(x||33,t)},fps:function(y){n=1e3/(y||240),s=h.time*1e3+n},add:function(y,x,b){var T=x?function(w,g,v,S){y(w,g,v,S),h.remove(T)}:y;return h.remove(y),a[b?"unshift":"push"](T),Zt(),T},remove:function(y,x){~(x=a.indexOf(y))&&a.splice(x,1)&&_>=x&&_--},_listeners:a},h}(),Zt=function(){return!he&&ot.wake()},O={},Cn=/^[\d.\-M][\d.\-,\s]/,En=/["']/g,On=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),r=i[0],n=1,s=i.length,a,l,f;n<s;n++)l=i[n],a=n!==s-1?l.lastIndexOf(","):l.length,f=l.substr(0,a),e[r]=isNaN(f)?f.replace(En,"").trim():+f,r=l.substr(a+1).trim();return e},Pn=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<i?t.indexOf(")",i+1):i)},Dn=function(t){var e=(t+"").split("("),i=O[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[On(e[1])]:Pn(t).split(",").map(Li)):O._CE&&Cn.test(t)?O._CE("",t):i},lr=function(t){return function(e){return 1-t(1-e)}},fr=function o(t,e){for(var i=t._first,r;i;)i instanceof K?o(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?o(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next},Rt=function(t,e){return t&&(I(t)?t:O[t]||Dn(t))||e},Bt=function(t,e,i,r){i===void 0&&(i=function(l){return 1-e(1-l)}),r===void 0&&(r=function(l){return l<.5?e(l*2)/2:1-e((1-l)*2)/2});var n={easeIn:e,easeOut:i,easeInOut:r},s;return Q(t,function(a){O[a]=rt[a]=n,O[s=a.toLowerCase()]=i;for(var l in n)O[s+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=O[a+"."+l]=n[l]}),n},cr=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},si=function o(t,e,i){var r=e>=1?e:1,n=(i||(t?.3:.45))/(e<1?e:1),s=n/Fe*(Math.asin(1/r)||0),a=function(c){return c===1?1:r*Math.pow(2,-10*c)*tn((c-s)*n)+1},l=t==="out"?a:t==="in"?function(f){return 1-a(1-f)}:cr(a);return n=Fe/n,l.config=function(f,c){return o(t,f,c)},l},ai=function o(t,e){e===void 0&&(e=1.70158);var i=function(s){return s?--s*s*((e+1)*s+e)+1:0},r=t==="out"?i:t==="in"?function(n){return 1-i(1-n)}:cr(i);return r.config=function(n){return o(t,n)},r};Q("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,t){var e=t<5?t+1:t;Bt(o+",Power"+(e-1),t?function(i){return Math.pow(i,e)}:function(i){return i},function(i){return 1-Math.pow(1-i,e)},function(i){return i<.5?Math.pow(i*2,e)/2:1-Math.pow((1-i)*2,e)/2})}),O.Linear.easeNone=O.none=O.Linear.easeIn,Bt("Elastic",si("in"),si("out"),si()),function(o,t){var e=1/t,i=2*e,r=2.5*e,n=function(a){return a<e?o*a*a:a<i?o*Math.pow(a-1.5/t,2)+.75:a<r?o*(a-=2.25/t)*a+.9375:o*Math.pow(a-2.625/t,2)+.984375};Bt("Bounce",function(s){return 1-n(1-s)},n)}(7.5625,2.75),Bt("Expo",function(o){return Math.pow(2,10*(o-1))*o+o*o*o*o*o*o*(1-o)}),Bt("Circ",function(o){return-(Ei(1-o*o)-1)}),Bt("Sine",function(o){return o===1?1:-Zr(o*Jr)+1}),Bt("Back",ai("in"),ai("out"),ai()),O.SteppedEase=O.steps=rt.SteppedEase={config:function(t,e){t===void 0&&(t=1);var i=1/t,r=t+(e?0:1),n=e?1:0,s=1-z;return function(a){return((r*fe(0,s,a)|0)+n)*i}}},Xt.ease=O["quad.out"],Q("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(o){return Ke+=o+","+o+"Params,"});var ur=function(t,e){this.id=Qr++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:Bi,this.set=e?e.getSetter:ui},_e=function(){function o(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Jt(this,+e.duration,1,1),this.data=e.data,A&&(this._ctx=A,A.data.push(this)),he||ot.wake()}var t=o.prototype;return t.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},t.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},t.totalDuration=function(i){return arguments.length?(this._dirty=0,Jt(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,r){if(Zt(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Me(this,i),!n._dp||n.parent||ji(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&pt(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===z||!this._initted&&this._dur&&i||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Ii(this,i,r)),this},t.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+Yi(this))%(this._dur+this._rDelay)||(i?this._dur:0),r):this._time},t.totalProgress=function(i,r){return arguments.length?this.totalTime(this.totalDuration()*i,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(i,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+Yi(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(i,r){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*n,r):this._repeat?Kt(this._tTime,n)+1:1},t.timeScale=function(i,r){if(!arguments.length)return this._rts===-z?0:this._rts;if(this._rts===i)return this;var n=this.parent&&this._ts?De(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-z?0:this._rts,this.totalTime(fe(-Math.abs(this._delay),this.totalDuration(),n),r!==!1),ze(this),un(this)},t.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Zt(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==z&&(this._tTime-=z)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=R(i);var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&pt(r,this,this._start-this._delay),this}return this._start},t.endTime=function(i){return this._start+(J(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(i){var r=this.parent||this._dp;return r?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?De(r.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=on);var r=q;return q=i,Qe(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),q=r,this},t.globalTime=function(i){for(var r=this,n=arguments.length?i:r.rawTime();r;)n=r._start+n/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(i):n},t.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,Wi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,Wi(this),r?this.time(r):this}return this._rDelay},t.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},t.seek=function(i,r){return this.totalTime(ct(this,i),J(r))},t.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,J(r)),this._dur||(this._zTime=-z),this},t.play=function(i,r){return i!=null&&this.seek(i,r),this.reversed(!1).paused(!1)},t.reverse=function(i,r){return i!=null&&this.seek(i||this.totalDuration(),r),this.reversed(!0).paused(!1)},t.pause=function(i,r){return i!=null&&this.seek(i,r),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-z:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-z,this},t.isActive=function(){var i=this.parent||this._dp,r=this._start,n;return!!(!i||this._ts&&this._initted&&i.isActive()&&(n=i.rawTime(!0))>=r&&n<this.endTime(!0)-z)},t.eventCallback=function(i,r,n){var s=this.vars;return arguments.length>1?(r?(s[i]=r,n&&(s[i+"Params"]=n),i==="onUpdate"&&(this._onUpdate=r)):delete s[i],this):s[i]},t.then=function(i){var r=this,n=r._prom;return new Promise(function(s){var a=I(i)?i:Fi,l=function(){var c=r.then;r.then=null,n&&n(),I(a)&&(a=a(r))&&(a.then||a===r)&&(r.then=c),s(a),r.then=c};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?l():r._prom=l})},t.kill=function(){ue(this)},o}();st(_e.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:-z,_prom:0,_ps:!1,_rts:1});var K=function(o){Ci(t,o);function t(i,r){var n;return i===void 0&&(i={}),n=o.call(this,i)||this,n.labels={},n.smoothChildTiming=!!i.smoothChildTiming,n.autoRemoveChildren=!!i.autoRemoveChildren,n._sort=J(i.sortChildren),V&&pt(i.parent||V,yt(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&qi(yt(n),i.scrollTrigger),n}var e=t.prototype;return e.to=function(r,n,s){return le(0,arguments,this),this},e.from=function(r,n,s){return le(1,arguments,this),this},e.fromTo=function(r,n,s,a){return le(2,arguments,this),this},e.set=function(r,n,s){return n.duration=0,n.parent=this,oe(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new F(r,n,ct(this,s),1),this},e.call=function(r,n,s){return pt(this,F.delayedCall(0,r,n),s)},e.staggerTo=function(r,n,s,a,l,f,c){return s.duration=n,s.stagger=s.stagger||a,s.onComplete=f,s.onCompleteParams=c,s.parent=this,new F(r,s,ct(this,l)),this},e.staggerFrom=function(r,n,s,a,l,f,c){return s.runBackwards=1,oe(s).immediateRender=J(s.immediateRender),this.staggerTo(r,n,s,a,l,f,c)},e.staggerFromTo=function(r,n,s,a,l,f,c,h){return a.startAt=s,oe(a).immediateRender=J(a.immediateRender),this.staggerTo(r,n,a,l,f,c,h)},e.render=function(r,n,s){var a=this._time,l=this._dirty?this.totalDuration():this._tDur,f=this._dur,c=r<=0?0:R(r),h=this._zTime<0!=r<0&&(this._initted||!f),p,_,m,d,y,x,b,T,w,g,v,S;if(this!==V&&c>l&&r>=0&&(c=l),c!==this._tTime||s||h){if(a!==this._time&&f&&(c+=this._time-a,r+=this._time-a),p=c,w=this._start,T=this._ts,x=!T,h&&(f||(a=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(v=this._yoyo,y=f+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(y*100+r,n,s);if(p=R(c%y),c===l?(d=this._repeat,p=f):(g=R(c/y),d=~~g,d&&d===g&&(p=f,d--),p>f&&(p=f)),g=Kt(this._tTime,y),!a&&this._tTime&&g!==d&&this._tTime-g*y-this._dur<=0&&(g=d),v&&d&1&&(p=f-p,S=1),d!==g&&!this._lock){var C=v&&g&1,k=C===(v&&d&1);if(d<g&&(C=!C),a=C?0:c%f?f:c,this._lock=1,this.render(a||(S?0:R(d*y)),n,!f)._lock=0,this._tTime=c,!n&&this.parent&&at(this,"onRepeat"),this.vars.repeatRefresh&&!S&&(this.invalidate()._lock=1,g=d),a&&a!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(f=this._dur,l=this._tDur,k&&(this._lock=2,a=C?f:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!S&&this.invalidate()),this._lock=0,!this._ts&&!x)return this;fr(this,S)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(b=pn(this,R(a),R(p)),b&&(c-=p-(p=b._start))),this._tTime=c,this._time=p,this._act=!T,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,a=0),!a&&c&&f&&!n&&!g&&(at(this,"onStart"),this._tTime!==c))return this;if(p>=a&&r>=0)for(_=this._first;_;){if(m=_._next,(_._act||p>=_._start)&&_._ts&&b!==_){if(_.parent!==this)return this.render(r,n,s);if(_.render(_._ts>0?(p-_._start)*_._ts:(_._dirty?_.totalDuration():_._tDur)+(p-_._start)*_._ts,n,s),p!==this._time||!this._ts&&!x){b=0,m&&(c+=this._zTime=-z);break}}_=m}else{_=this._last;for(var E=r<0?r:p;_;){if(m=_._prev,(_._act||E<=_._end)&&_._ts&&b!==_){if(_.parent!==this)return this.render(r,n,s);if(_.render(_._ts>0?(E-_._start)*_._ts:(_._dirty?_.totalDuration():_._tDur)+(E-_._start)*_._ts,n,s||q&&Qe(_)),p!==this._time||!this._ts&&!x){b=0,m&&(c+=this._zTime=E?-z:z);break}}_=m}}if(b&&!n&&(this.pause(),b.render(p>=a?0:-z)._zTime=p>=a?1:-1,this._ts))return this._start=w,ze(this),this.render(r,n,s);this._onUpdate&&!n&&at(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&a)&&(w===this._start||Math.abs(T)!==Math.abs(this._ts))&&(this._lock||((r||!f)&&(c===l&&this._ts>0||!c&&this._ts<0)&&vt(this,1),!n&&!(r<0&&!a)&&(c||a||!l)&&(at(this,c===l&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(r,n){var s=this;if(xt(n)||(n=ct(this,n,r)),!(r instanceof _e)){if(W(r))return r.forEach(function(a){return s.add(a,n)}),this;if(U(r))return this.addLabel(r,n);if(I(r))r=F.delayedCall(0,r);else return this}return this!==r?pt(this,r,n):this},e.getChildren=function(r,n,s,a){r===void 0&&(r=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),a===void 0&&(a=-ft);for(var l=[],f=this._first;f;)f._start>=a&&(f instanceof F?n&&l.push(f):(s&&l.push(f),r&&l.push.apply(l,f.getChildren(!0,n,s)))),f=f._next;return l},e.getById=function(r){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===r)return n[s]},e.remove=function(r){return U(r)?this.removeLabel(r):I(r)?this.killTweensOf(r):(r.parent===this&&Pe(this,r),r===this._recent&&(this._recent=this._last),Vt(this))},e.totalTime=function(r,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=R(ot.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),o.prototype.totalTime.call(this,r,n),this._forcing=0,this):this._tTime},e.addLabel=function(r,n){return this.labels[r]=ct(this,n),this},e.removeLabel=function(r){return delete this.labels[r],this},e.addPause=function(r,n,s){var a=F.delayedCall(0,n||ae,s);return a.data="isPause",this._hasPause=1,pt(this,a,ct(this,r))},e.removePause=function(r){var n=this._first;for(r=ct(this,r);n;)n._start===r&&n.data==="isPause"&&vt(n),n=n._next},e.killTweensOf=function(r,n,s){for(var a=this.getTweensOf(r,s),l=a.length;l--;)Et!==a[l]&&a[l].kill(r,n);return this},e.getTweensOf=function(r,n){for(var s=[],a=ut(r),l=this._first,f=xt(n),c;l;)l instanceof F?ln(l._targets,a)&&(f?(!Et||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&s.push(l):(c=l.getTweensOf(a,n)).length&&s.push.apply(s,c),l=l._next;return s},e.tweenTo=function(r,n){n=n||{};var s=this,a=ct(s,r),l=n,f=l.startAt,c=l.onStart,h=l.onStartParams,p=l.immediateRender,_,m=F.to(s,st({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(f&&"time"in f?f.time:s._time))/s.timeScale())||z,onStart:function(){if(s.pause(),!_){var y=n.duration||Math.abs((a-(f&&"time"in f?f.time:s._time))/s.timeScale());m._dur!==y&&Jt(m,y,0,1).render(m._time,!0,!0),_=1}c&&c.apply(m,h||[])}},n));return p?m.render(0):m},e.tweenFromTo=function(r,n,s){return this.tweenTo(n,st({startAt:{time:ct(this,r)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(r){return r===void 0&&(r=this._time),er(this,ct(this,r))},e.previousLabel=function(r){return r===void 0&&(r=this._time),er(this,ct(this,r),1)},e.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+z)},e.shiftChildren=function(r,n,s){s===void 0&&(s=0);var a=this._first,l=this.labels,f;for(r=R(r);a;)a._start>=s&&(a._start+=r,a._end+=r),a=a._next;if(n)for(f in l)l[f]>=s&&(l[f]+=r);return Vt(this)},e.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return o.prototype.invalidate.call(this,r)},e.clear=function(r){r===void 0&&(r=!0);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),Vt(this)},e.totalDuration=function(r){var n=0,s=this,a=s._last,l=ft,f,c,h;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-r:r));if(s._dirty){for(h=s.parent;a;)f=a._prev,a._dirty&&a.totalDuration(),c=a._start,c>l&&s._sort&&a._ts&&!s._lock?(s._lock=1,pt(s,a,c-a._delay,1)._lock=0):l=c,c<0&&a._ts&&(n-=c,(!h&&!s._dp||h&&h.smoothChildTiming)&&(s._start+=R(c/s._ts),s._time-=c,s._tTime-=c),s.shiftChildren(-c,!1,-1/0),l=0),a._end>n&&a._ts&&(n=a._end),a=f;Jt(s,s===V&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(r){if(V._ts&&(Ii(V,De(r,V)),Vi=ot.frame),ot.frame>=Ri){Ri+=it.autoSleep||120;var n=V._first;if((!n||!n._ts)&&it.autoSleep&&ot._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||ot.sleep()}}},t}(_e);st(K.prototype,{_lock:0,_hasPause:0,_forcing:0});var zn=function(t,e,i,r,n,s,a){var l=new Z(this._pt,t,e,0,1,gr,null,n),f=0,c=0,h,p,_,m,d,y,x,b;for(l.b=i,l.e=r,i+="",r+="",(x=~r.indexOf("random("))&&(r=ce(r)),s&&(b=[i,r],s(b,t,e),i=b[0],r=b[1]),p=i.match(Ye)||[];h=Ye.exec(r);)m=h[0],d=r.substring(f,h.index),_?_=(_+1)%5:d.substr(-5)==="rgba("&&(_=1),m!==p[c++]&&(y=parseFloat(p[c-1])||0,l._pt={_next:l._pt,p:d||c===1?d:",",s:y,c:m.charAt(1)==="="?Gt(y,m)-y:parseFloat(m)-y,m:_&&_<4?Math.round:0},f=Ye.lastIndex);return l.c=f<r.length?r.substring(f,r.length):"",l.fp=a,(zi.test(r)||x)&&(l.e=0),this._pt=l,l},oi=function(t,e,i,r,n,s,a,l,f,c){I(r)&&(r=r(n||0,t,s));var h=t[e],p=i!=="get"?i:I(h)?f?t[e.indexOf("set")||!I(t["get"+e.substr(3)])?e:"get"+e.substr(3)](f):t[e]():h,_=I(h)?f?Rn:pr:ci,m;if(U(r)&&(~r.indexOf("random(")&&(r=ce(r)),r.charAt(1)==="="&&(m=Gt(p,r)+(G(p)||0),(m||m===0)&&(r=m))),!c||p!==r||li)return!isNaN(p*r)&&r!==""?(m=new Z(this._pt,t,e,+p||0,r-(p||0),typeof h=="boolean"?In:mr,0,_),f&&(m.fp=f),a&&m.modifier(a,this,t),this._pt=m):(!h&&!(e in t)&&Xe(e,r),zn.call(this,t,e,p,r,_,l||it.stringFilter,f))},Mn=function(t,e,i,r,n){if(I(t)&&(t=pe(t,n,e,i,r)),!ht(t)||t.style&&t.nodeType||W(t)||Oi(t))return U(t)?pe(t,n,e,i,r):t;var s={},a;for(a in t)s[a]=pe(t[a],n,e,i,r);return s},dr=function(t,e,i,r,n,s){var a,l,f,c;if(nt[t]&&(a=new nt[t]).init(n,a.rawVars?e[t]:Mn(e[t],r,n,s,i),i,r,s)!==!1&&(i._pt=l=new Z(i._pt,n,t,0,1,a.render,a,0,a.priority),i!==Qt))for(f=i._ptLookup[i._targets.indexOf(n)],c=a._props.length;c--;)f[a._props[c]]=l;return a},Et,li,fi=function o(t,e,i){var r=t.vars,n=r.ease,s=r.startAt,a=r.immediateRender,l=r.lazy,f=r.onUpdate,c=r.runBackwards,h=r.yoyoEase,p=r.keyframes,_=r.autoRevert,m=t._dur,d=t._startAt,y=t._targets,x=t.parent,b=x&&x.data==="nested"?x.vars.targets:y,T=t._overwrite==="auto"&&!Le,w=t.timeline,g,v,S,C,k,E,P,D,N,X,Y,$,j;if(w&&(!p||!n)&&(n="none"),t._ease=Rt(n,Xt.ease),t._yEase=h?lr(Rt(h===!0?n:h,Xt.ease)):0,h&&t._yoyo&&!t._repeat&&(h=t._yEase,t._yEase=t._ease,t._ease=h),t._from=!w&&!!r.runBackwards,!w||p&&!r.stagger){if(D=y[0]?At(y[0]).harness:0,$=D&&r[D.prop],g=Oe(r,We),d&&(d._zTime<0&&d.progress(1),e<0&&c&&a&&!_?d.render(-1,!0):d.revert(c&&m?Se:an),d._lazy=0),s){if(vt(t._startAt=F.set(y,st({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!d&&J(l),startAt:null,delay:0,onUpdate:f&&function(){return at(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(q||!a&&!_)&&t._startAt.revert(Se),a&&m&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(c&&m&&!d){if(e&&(a=!1),S=st({overwrite:!1,data:"isFromStart",lazy:a&&!d&&J(l),immediateRender:a,stagger:0,parent:x},g),$&&(S[D.prop]=$),vt(t._startAt=F.set(y,S)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(q?t._startAt.revert(Se):t._startAt.render(-1,!0)),t._zTime=e,!a)o(t._startAt,z,z);else if(!e)return}for(t._pt=t._ptCache=0,l=m&&J(l)||l&&!m,v=0;v<y.length;v++){if(k=y[v],P=k._gsap||Je(y)[v]._gsap,t._ptLookup[v]=X={},Ge[P.id]&&Tt.length&&Ee(),Y=b===y?v:b.indexOf(k),D&&(N=new D).init(k,$||g,t,Y,b)!==!1&&(t._pt=C=new Z(t._pt,k,N.name,0,1,N.render,N,0,N.priority),N._props.forEach(function(dt){X[dt]=C}),N.priority&&(E=1)),!D||$)for(S in g)nt[S]&&(N=dr(S,g,t,Y,k,b))?N.priority&&(E=1):X[S]=C=oi.call(t,k,S,"get",g[S],Y,b,0,r.stringFilter);t._op&&t._op[v]&&t.kill(k,t._op[v]),T&&t._pt&&(Et=t,V.killTweensOf(k,X,t.globalTime(e)),j=!t.parent,Et=0),t._pt&&l&&(Ge[P.id]=1)}E&&yr(t),t._onInit&&t._onInit(t)}t._onUpdate=f,t._initted=(!t._op||t._pt)&&!j,p&&e<=0&&w.render(ft,!0,!0)},Nn=function(t,e,i,r,n,s,a,l){var f=(t._pt&&t._ptCache||(t._ptCache={}))[e],c,h,p,_;if(!f)for(f=t._ptCache[e]=[],p=t._ptLookup,_=t._targets.length;_--;){if(c=p[_][e],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==e&&c.fp!==e;)c=c._next;if(!c)return li=1,t.vars[e]="+=0",fi(t,a),li=0,l?se(e+" not eligible for reset"):1;f.push(c)}for(_=f.length;_--;)h=f[_],c=h._pt||h,c.s=(r||r===0)&&!n?r:c.s+(r||0)+s*c.c,c.c=i-c.s,h.e&&(h.e=L(i)+G(h.e)),h.b&&(h.b=c.s+G(h.b))},An=function(t,e){var i=t[0]?At(t[0]).harness:0,r=i&&i.aliases,n,s,a,l;if(!r)return e;n=Ht({},e);for(s in r)if(s in n)for(l=r[s].split(","),a=l.length;a--;)n[l[a]]=n[s];return n},Vn=function(t,e,i,r){var n=e.ease||r||"power1.inOut",s,a;if(W(e))a=i[t]||(i[t]=[]),e.forEach(function(l,f){return a.push({t:f/(e.length-1)*100,v:l,e:n})});else for(s in e)a=i[s]||(i[s]=[]),s==="ease"||a.push({t:parseFloat(t),v:e[s],e:n})},pe=function(t,e,i,r,n){return I(t)?t.call(e,i,r,n):U(t)&&~t.indexOf("random(")?ce(t):t},hr=Ke+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",_r={};Q(hr+",id,stagger,delay,duration,paused,scrollTrigger",function(o){return _r[o]=1});var F=function(o){Ci(t,o);function t(i,r,n,s){var a;typeof r=="number"&&(n.duration=r,r=n,n=null),a=o.call(this,s?r:oe(r))||this;var l=a.vars,f=l.duration,c=l.delay,h=l.immediateRender,p=l.stagger,_=l.overwrite,m=l.keyframes,d=l.defaults,y=l.scrollTrigger,x=l.yoyoEase,b=r.parent||V,T=(W(i)||Oi(i)?xt(i[0]):"length"in r)?[i]:ut(i),w,g,v,S,C,k,E,P;if(a._targets=T.length?Je(T):se("GSAP target "+i+" not found. https://gsap.com",!it.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=_,m||p||Te(f)||Te(c)){if(r=a.vars,w=a.timeline=new K({data:"nested",defaults:d||{},targets:b&&b.data==="nested"?b.vars.targets:T}),w.kill(),w.parent=w._dp=yt(a),w._start=0,p||Te(f)||Te(c)){if(S=T.length,E=p&&Ki(p),ht(p))for(C in p)~hr.indexOf(C)&&(P||(P={}),P[C]=p[C]);for(g=0;g<S;g++)v=Oe(r,_r),v.stagger=0,x&&(v.yoyoEase=x),P&&Ht(v,P),k=T[g],v.duration=+pe(f,yt(a),g,k,T),v.delay=(+pe(c,yt(a),g,k,T)||0)-a._delay,!p&&S===1&&v.delay&&(a._delay=c=v.delay,a._start+=c,v.delay=0),w.to(k,v,E?E(g,k,T):0),w._ease=O.none;w.duration()?f=c=0:a.timeline=0}else if(m){oe(st(w.vars.defaults,{ease:"none"})),w._ease=Rt(m.ease||r.ease||"none");var D=0,N,X,Y;if(W(m))m.forEach(function($){return w.to(T,$,">")}),w.duration();else{v={};for(C in m)C==="ease"||C==="easeEach"||Vn(C,m[C],v,m.easeEach);for(C in v)for(N=v[C].sort(function($,j){return $.t-j.t}),D=0,g=0;g<N.length;g++)X=N[g],Y={ease:X.e,duration:(X.t-(g?N[g-1].t:0))/100*f},Y[C]=X.v,w.to(T,Y,D),D+=Y.duration;w.duration()<f&&w.to({},{duration:f-w.duration()})}}f||a.duration(f=w.duration())}else a.timeline=0;return _===!0&&!Le&&(Et=yt(a),V.killTweensOf(T),Et=0),pt(b,yt(a),n),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(h||!f&&!m&&a._start===R(b._time)&&J(h)&&dn(yt(a))&&b.data!=="nested")&&(a._tTime=-z,a.render(Math.max(0,-c)||0)),y&&qi(yt(a),y),a}var e=t.prototype;return e.render=function(r,n,s){var a=this._time,l=this._tDur,f=this._dur,c=r<0,h=r>l-z&&!c?l:r<z?0:r,p,_,m,d,y,x,b,T,w;if(!f)_n(this,r,n,s);else if(h!==this._tTime||!r||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c||this._lazy){if(p=h,T=this.timeline,this._repeat){if(d=f+this._rDelay,this._repeat<-1&&c)return this.totalTime(d*100+r,n,s);if(p=R(h%d),h===l?(m=this._repeat,p=f):(y=R(h/d),m=~~y,m&&m===y?(p=f,m--):p>f&&(p=f)),x=this._yoyo&&m&1,x&&(w=this._yEase,p=f-p),y=Kt(this._tTime,d),p===a&&!s&&this._initted&&m===y)return this._tTime=h,this;m!==y&&(T&&this._yEase&&fr(T,x),this.vars.repeatRefresh&&!x&&!this._lock&&p!==d&&this._initted&&(this._lock=s=1,this.render(R(d*m),!0).invalidate()._lock=0))}if(!this._initted){if(Xi(this,c?r:p,s,n,h))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&m!==y))return this;if(f!==this._dur)return this.render(r,n,s)}if(this._tTime=h,this._time=p,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=b=(w||this._ease)(p/f),this._from&&(this.ratio=b=1-b),!a&&h&&!n&&!y&&(at(this,"onStart"),this._tTime!==h))return this;for(_=this._pt;_;)_.r(b,_.d),_=_._next;T&&T.render(r<0?r:T._dur*T._ease(p/this._dur),n,s)||this._startAt&&(this._zTime=r),this._onUpdate&&!n&&(c&&Ze(this,r,n,s),at(this,"onUpdate")),this._repeat&&m!==y&&this.vars.onRepeat&&!n&&this.parent&&at(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(c&&!this._onUpdate&&Ze(this,r,!0,!0),(r||!f)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&vt(this,1),!n&&!(c&&!a)&&(h||a||x)&&(at(this,h===l?"onComplete":"onReverseComplete",!0),this._prom&&!(h<l&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),o.prototype.invalidate.call(this,r)},e.resetTo=function(r,n,s,a,l){he||ot.wake(),this._ts||this.play();var f=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||fi(this,f),c=this._ease(f/this._dur),Nn(this,r,n,s,a,c,f,l)?this.resetTo(r,n,s,a,1):(Me(this,0),this.parent||Ui(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(r,n){if(n===void 0&&(n="all"),!r&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?ue(this):this.scrollTrigger&&this.scrollTrigger.kill(!!q),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,Et&&Et.vars.overwrite!==!0)._first||ue(this),this.parent&&s!==this.timeline.totalDuration()&&Jt(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,l=r?ut(r):a,f=this._ptLookup,c=this._pt,h,p,_,m,d,y,x;if((!n||n==="all")&&cn(a,l))return n==="all"&&(this._pt=0),ue(this);for(h=this._op=this._op||[],n!=="all"&&(U(n)&&(d={},Q(n,function(b){return d[b]=1}),n=d),n=An(a,n)),x=a.length;x--;)if(~l.indexOf(a[x])){p=f[x],n==="all"?(h[x]=n,m=p,_={}):(_=h[x]=h[x]||{},m=n);for(d in m)y=p&&p[d],y&&((!("kill"in y.d)||y.d.kill(d)===!0)&&Pe(this,y,"_pt"),delete p[d]),_!=="all"&&(_[d]=1)}return this._initted&&!this._pt&&c&&ue(this),this},t.to=function(r,n){return new t(r,n,arguments[2])},t.from=function(r,n){return le(1,arguments)},t.delayedCall=function(r,n,s,a){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},t.fromTo=function(r,n,s){return le(2,arguments)},t.set=function(r,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(r,n)},t.killTweensOf=function(r,n,s){return V.killTweensOf(r,n,s)},t}(_e);st(F.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Q("staggerTo,staggerFrom,staggerFromTo",function(o){F[o]=function(){var t=new K,e=ei.call(arguments,0);return e.splice(o==="staggerFromTo"?5:4,0,0),t[o].apply(t,e)}});var ci=function(t,e,i){return t[e]=i},pr=function(t,e,i){return t[e](i)},Rn=function(t,e,i,r){return t[e](r.fp,i)},Bn=function(t,e,i){return t.setAttribute(e,i)},ui=function(t,e){return I(t[e])?pr:$e(t[e])&&t.setAttribute?Bn:ci},mr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},In=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},gr=function(t,e){var i=e._pt,r="";if(!t&&e.b)r=e.b;else if(t===1&&e.e)r=e.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+r,i=i._next;r+=e.c}e.set(e.t,e.p,r,e)},di=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},Ln=function(t,e,i,r){for(var n=this._pt,s;n;)s=n._next,n.p===r&&n.modifier(t,e,i),n=s},Fn=function(t){for(var e=this._pt,i,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?Pe(this,e,"_pt"):e.dep||(i=1),e=r;return!i},$n=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},yr=function(t){for(var e=t._pt,i,r,n,s;e;){for(i=e._next,r=n;r&&r.pr>e.pr;)r=r._next;(e._prev=r?r._prev:s)?e._prev._next=e:n=e,(e._next=r)?r._prev=e:s=e,e=i}t._pt=n},Z=function(){function o(e,i,r,n,s,a,l,f,c){this.t=i,this.s=n,this.c=s,this.p=r,this.r=a||mr,this.d=l||this,this.set=f||ci,this.pr=c||0,this._next=e,e&&(e._prev=this)}var t=o.prototype;return t.modifier=function(i,r,n){this.mSet=this.mSet||this.set,this.set=$n,this.m=i,this.mt=n,this.tween=r},o}();Q(Ke+"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(o){return We[o]=1}),rt.TweenMax=rt.TweenLite=F,rt.TimelineLite=rt.TimelineMax=K,V=new K({sortChildren:!1,defaults:Xt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),it.stringFilter=or;var It=[],Ne={},Un=[],xr=0,Yn=0,hi=function(t){return(Ne[t]||Un).map(function(e){return e()})},_i=function(){var t=Date.now(),e=[];t-xr>2&&(hi("matchMediaInit"),It.forEach(function(i){var r=i.queries,n=i.conditions,s,a,l,f;for(a in r)s=_t.matchMedia(r[a]).matches,s&&(l=1),s!==n[a]&&(n[a]=s,f=1);f&&(i.revert(),l&&e.push(i))}),hi("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(r){return i.add(null,r)})}),xr=t,hi("matchMedia"))},br=function(){function o(e,i){this.selector=i&&ii(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Yn++,e&&this.add(e)}var t=o.prototype;return t.add=function(i,r,n){I(i)&&(n=r,r=i,i=I);var s=this,a=function(){var f=A,c=s.selector,h;return f&&f!==s&&f.data.push(s),n&&(s.selector=ii(n)),A=s,h=r.apply(s,arguments),I(h)&&s._r.push(h),A=f,s.selector=c,s.isReverted=!1,h};return s.last=a,i===I?a(s,function(l){return s.add(null,l)}):i?s[i]=a:a},t.ignore=function(i){var r=A;A=null,i(this),A=r},t.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof o?i.push.apply(i,r.getTweens()):r instanceof F&&!(r.parent&&r.parent.data==="nested")&&i.push(r)}),i},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(i,r){var n=this;if(i?function(){for(var a=n.getTweens(),l=n.data.length,f;l--;)f=n.data[l],f.data==="isFlip"&&(f.revert(),f.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,h){return h.g-c.g||-1/0}).forEach(function(c){return c.t.revert(i)}),l=n.data.length;l--;)f=n.data[l],f instanceof K?f.data!=="nested"&&(f.scrollTrigger&&f.scrollTrigger.revert(),f.kill()):!(f instanceof F)&&f.revert&&f.revert(i);n._r.forEach(function(c){return c(i,n)}),n.isReverted=!0}():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var s=It.length;s--;)It[s].id===this.id&&It.splice(s,1)},t.revert=function(i){this.kill(i||{})},o}(),jn=function(){function o(e){this.contexts=[],this.scope=e,A&&A.data.push(this)}var t=o.prototype;return t.add=function(i,r,n){ht(i)||(i={matches:i});var s=new br(0,n||this.scope),a=s.conditions={},l,f,c;A&&!s.selector&&(s.selector=A.selector),this.contexts.push(s),r=s.add("onMatch",r),s.queries=i;for(f in i)f==="all"?c=1:(l=_t.matchMedia(i[f]),l&&(It.indexOf(s)<0&&It.push(s),(a[f]=l.matches)&&(c=1),l.addListener?l.addListener(_i):l.addEventListener("change",_i)));return c&&r(s,function(h){return s.add(null,h)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(r){return r.kill(i,!0)})},o}(),Ae={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(r){return rr(r)})},timeline:function(t){return new K(t)},getTweensOf:function(t,e){return V.getTweensOf(t,e)},getProperty:function(t,e,i,r){U(t)&&(t=ut(t)[0]);var n=At(t||{}).get,s=i?Fi:Li;return i==="native"&&(i=""),t&&(e?s((nt[e]&&nt[e].get||n)(t,e,i,r)):function(a,l,f){return s((nt[a]&&nt[a].get||n)(t,a,l,f))})},quickSetter:function(t,e,i){if(t=ut(t),t.length>1){var r=t.map(function(c){return tt.quickSetter(c,e,i)}),n=r.length;return function(c){for(var h=n;h--;)r[h](c)}}t=t[0]||{};var s=nt[e],a=At(t),l=a.harness&&(a.harness.aliases||{})[e]||e,f=s?function(c){var h=new s;Qt._pt=0,h.init(t,i?c+i:c,Qt,0,[t]),h.render(1,h),Qt._pt&&di(1,Qt)}:a.set(t,l);return s?f:function(c){return f(t,l,i?c+i:c,a,1)}},quickTo:function(t,e,i){var r,n=tt.to(t,st((r={},r[e]="+=0.1",r.paused=!0,r.stagger=0,r),i||{})),s=function(l,f,c){return n.resetTo(e,l,f,c)};return s.tween=n,s},isTweening:function(t){return V.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Rt(t.ease,Xt.ease)),$i(Xt,t||{})},config:function(t){return $i(it,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,r=t.plugins,n=t.defaults,s=t.extendTimeline;(r||"").split(",").forEach(function(a){return a&&!nt[a]&&!rt[a]&&se(e+" effect requires "+a+" plugin.")}),He[e]=function(a,l,f){return i(ut(a),st(l||{},n),f)},s&&(K.prototype[e]=function(a,l,f){return this.add(He[e](a,ht(l)?l:(f=l)&&{},this),f)})},registerEase:function(t,e){O[t]=Rt(e)},parseEase:function(t,e){return arguments.length?Rt(t,e):O},getById:function(t){return V.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new K(t),r,n;for(i.smoothChildTiming=J(t.smoothChildTiming),V.remove(i),i._dp=0,i._time=i._tTime=V._time,r=V._first;r;)n=r._next,(e||!(!r._dur&&r instanceof F&&r.vars.onComplete===r._targets[0]))&&pt(i,r,r._start-r._delay),r=n;return pt(V,i,0),i},context:function(t,e){return t?new br(t,e):A},matchMedia:function(t){return new jn(t)},matchMediaRefresh:function(){return It.forEach(function(t){var e=t.conditions,i,r;for(r in e)e[r]&&(e[r]=!1,i=1);i&&t.revert()})||_i()},addEventListener:function(t,e){var i=Ne[t]||(Ne[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=Ne[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:kn,wrapYoyo:Tn,distribute:Ki,random:Qi,snap:Ji,normalize:wn,getUnit:G,clamp:gn,splitColor:nr,toArray:ut,selector:ii,mapRange:tr,pipe:xn,unitize:bn,interpolate:vn,shuffle:Hi},install:Ni,effects:He,ticker:ot,updateRoot:K.updateRoot,plugins:nt,globalTimeline:V,core:{PropTween:Z,globals:Ai,Tween:F,Timeline:K,Animation:_e,getCache:At,_removeLinkedListItem:Pe,reverting:function(){return q},context:function(t){return t&&A&&(A.data.push(t),t._ctx=A),A},suppressOverwrites:function(t){return Le=t}}};Q("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Ae[o]=F[o]}),ot.add(K.updateRoot),Qt=Ae.to({},{duration:0});var qn=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},Xn=function(t,e){var i=t._targets,r,n,s;for(r in e)for(n=i.length;n--;)s=t._ptLookup[n][r],s&&(s=s.d)&&(s._pt&&(s=qn(s,r)),s&&s.modifier&&s.modifier(e[r],t,i[n],r))},pi=function(t,e){return{name:t,headless:1,rawVars:1,init:function(r,n,s){s._onInit=function(a){var l,f;if(U(n)&&(l={},Q(n,function(c){return l[c]=1}),n=l),e){l={};for(f in n)l[f]=e(n[f]);n=l}Xn(a,n)}}}},tt=Ae.registerPlugin({name:"attr",init:function(t,e,i,r,n){var s,a,l;this.tween=i;for(s in e)l=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(l||0)+"",e[s],r,n,0,0,s),a.op=s,a.b=l,this._props.push(s)},render:function(t,e){for(var i=e._pt;i;)q?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",headless:1,init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},pi("roundProps",ri),pi("modifiers"),pi("snap",Ji))||Ae;F.version=K.version=tt.version="3.14.2",Mi=1,Ue()&&Zt(),O.Power0,O.Power1,O.Power2,O.Power3,O.Power4,O.Linear,O.Quad,O.Cubic,O.Quart,O.Quint,O.Strong,O.Elastic,O.Back,O.SteppedEase,O.Bounce,O.Sine,O.Expo,O.Circ;/*!
|
|
9
9
|
* CSSPlugin 3.14.2
|
|
10
10
|
* https://gsap.com
|
|
11
11
|
*
|
|
12
12
|
* Copyright 2008-2025, GreenSock. All rights reserved.
|
|
13
13
|
* Subject to the terms at https://gsap.com/standard-license
|
|
14
14
|
* @author: Jack Doyle, jack@greensock.com
|
|
15
|
-
*/var yr,Ot,Jt,_i,Ft,xr,pi,Yn=function(){return typeof window<"u"},wt={},Lt=180/Math.PI,te=Math.PI/180,ee=Math.atan2,br=1e8,mi=/([A-Z])/g,qn=/(left|right|width|margin|padding|x)/i,Xn=/[\s,\(]\S/,gt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},gi=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},jn=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},Wn=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},Gn=function(t,e){return e.set(e.t,e.p,t===1?e.e:t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},Kn=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},wr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},kr=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},Hn=function(t,e,i){return t.style[e]=i},Qn=function(t,e,i){return t.style.setProperty(e,i)},Zn=function(t,e,i){return t._gsap[e]=i},Jn=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},ts=function(t,e,i,r,n){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(n,s)},es=function(t,e,i,r,n){var s=t._gsap;s[e]=i,s.renderTransform(n,s)},B="transform",et=B+"Origin",is=function o(t,e){var i=this,r=this.target,n=r.style,s=r._gsap;if(t in wt&&n){if(this.tfm=this.tfm||{},t!=="transform")t=gt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return i.tfm[a]=kt(r,a)}):this.tfm[t]=s.x?s[t]:kt(r,t),t===et&&(this.tfm.zOrigin=s.zOrigin);else return gt.transform.split(",").forEach(function(a){return o.call(i,a,e)});if(this.props.indexOf(B)>=0)return;s.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(et,e,"")),t=B}(n||e)&&this.props.push(t,e,n[t])},Tr=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},rs=function(){var t=this.props,e=this.target,i=e.style,r=e._gsap,n,s;for(n=0;n<t.length;n+=3)t[n+1]?t[n+1]===2?e[t[n]](t[n+2]):e[t[n]]=t[n+2]:t[n+2]?i[t[n]]=t[n+2]:i.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(mi,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)r[s]=this.tfm[s];r.svg&&(r.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=pi(),(!n||!n.isStart)&&!i[B]&&(Tr(i),r.zOrigin&&i[et]&&(i[et]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},vr=function(t,e){var i={target:t,props:[],revert:rs,save:is};return t._gsap||tt.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(r){return i.save(r)}),i},Sr,yi=function(t,e){var i=Ot.createElementNS?Ot.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ot.createElement(t);return i&&i.style?i:Ot.createElement(t)},lt=function o(t,e,i){var r=getComputedStyle(t);return r[e]||r.getPropertyValue(e.replace(mi,"-$1").toLowerCase())||r.getPropertyValue(e)||!i&&o(t,ie(e)||e,1)||""},Cr="O,Moz,ms,Ms,Webkit".split(","),ie=function(t,e,i){var r=e||Ft,n=r.style,s=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Cr[s]+t in n););return s<0?null:(s===3?"ms":s>=0?Cr[s]:"")+t},xi=function(){Yn()&&window.document&&(yr=window,Ot=yr.document,Jt=Ot.documentElement,Ft=yi("div")||{style:{}},yi("div"),B=ie(B),et=B+"Origin",Ft.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Sr=!!ie("perspective"),pi=tt.core.reverting,_i=1)},Er=function(t){var e=t.ownerSVGElement,i=yi("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=t.cloneNode(!0),n;r.style.display="block",i.appendChild(r),Jt.appendChild(i);try{n=r.getBBox()}catch{}return i.removeChild(r),Jt.removeChild(i),n},Pr=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Or=function(t){var e,i;try{e=t.getBBox()}catch{e=Er(t),i=1}return e&&(e.width||e.height)||i||(e=Er(t)),e&&!e.width&&!e.x&&!e.y?{x:+Pr(t,["x","cx","x1"])||0,y:+Pr(t,["y","cy","y1"])||0,width:0,height:0}:e},Dr=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Or(t))},Dt=function(t,e){if(e){var i=t.style,r;e in wt&&e!==et&&(e=B),i.removeProperty?(r=e.substr(0,2),(r==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(r==="--"?e:e.replace(mi,"-$1").toLowerCase())):i.removeAttribute(e)}},zt=function(t,e,i,r,n,s){var a=new J(t._pt,e,i,0,1,s?kr:wr);return t._pt=a,a.b=r,a.e=n,t._props.push(i),a},zr={deg:1,rad:1,turn:1},ns={grid:1,flex:1},Mt=function o(t,e,i,r){var n=parseFloat(i)||0,s=(i+"").trim().substr((n+"").length)||"px",a=Ft.style,l=qn.test(e),f=t.tagName.toLowerCase()==="svg",u=(f?"client":"offset")+(l?"Width":"Height"),h=100,_=r==="px",p=r==="%",g,d,m,x;if(r===s||!n||zr[r]||zr[s])return n;if(s!=="px"&&!_&&(n=o(t,e,i,"px")),x=t.getCTM&&Dr(t),(p||s==="%")&&(wt[e]||~e.indexOf("adius")))return g=x?t.getBBox()[l?"width":"height"]:t[u],L(p?n/g*h:n/100*g);if(a[l?"width":"height"]=h+(_?s:r),d=r!=="rem"&&~e.indexOf("adius")||r==="em"&&t.appendChild&&!f?t:t.parentNode,x&&(d=(t.ownerSVGElement||{}).parentNode),(!d||d===Ot||!d.appendChild)&&(d=Ot.body),m=d._gsap,m&&p&&m.width&&l&&m.time===ot.time&&!m.uncache)return L(n/m.width*h);if(p&&(e==="height"||e==="width")){var b=t.style[e];t.style[e]=h+r,g=t[u],b?t.style[e]=b:Dt(t,e)}else(p||s==="%")&&!ns[lt(d,"display")]&&(a.position=lt(t,"position")),d===t&&(a.position="static"),d.appendChild(Ft),g=Ft[u],d.removeChild(Ft),a.position="absolute";return l&&p&&(m=Nt(d),m.time=ot.time,m.width=d[u]),L(_?g*n/h:g&&n?h/g*n:0)},kt=function(t,e,i,r){var n;return _i||xi(),e in gt&&e!=="transform"&&(e=gt[e],~e.indexOf(",")&&(e=e.split(",")[0])),wt[e]&&e!=="transform"?(n=pe(t,r),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Ae(lt(t,et))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=Ne[e]&&Ne[e](t,e,i)||lt(t,e)||Ai(t,e)||(e==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?Mt(t,e,n,i)+i:n},ss=function(t,e,i,r){if(!i||i==="none"){var n=ie(e,t,1),s=n&<(t,n,1);s&&s!==i?(e=n,i=s):e==="borderColor"&&(i=lt(t,"borderTopColor"))}var a=new J(this._pt,t.style,e,0,1,_r),l=0,f=0,u,h,_,p,g,d,m,x,b,T,w,y;if(a.b=i,a.e=r,i+="",r+="",r.substring(0,6)==="var(--"&&(r=lt(t,r.substring(4,r.indexOf(")")))),r==="auto"&&(d=t.style[e],t.style[e]=r,r=lt(t,e)||r,d?t.style[e]=d:Dt(t,e)),u=[i,r],nr(u),i=u[0],r=u[1],_=i.match(jt)||[],y=r.match(jt)||[],y.length){for(;h=jt.exec(r);)m=h[0],b=r.substring(l,h.index),g?g=(g+1)%5:(b.substr(-5)==="rgba("||b.substr(-5)==="hsla(")&&(g=1),m!==(d=_[f++]||"")&&(p=parseFloat(d)||0,w=d.substr((p+"").length),m.charAt(1)==="="&&(m=Wt(p,m)+w),x=parseFloat(m),T=m.substr((x+"").length),l=jt.lastIndex-T.length,T||(T=T||it.units[e]||w,l===r.length&&(r+=T,a.e+=T)),w!==T&&(p=Mt(t,e,d,T)||0),a._pt={_next:a._pt,p:b||f===1?b:",",s:p,c:x-p,m:g&&g<4||e==="zIndex"?Math.round:0});a.c=l<r.length?r.substring(l,r.length):""}else a.r=e==="display"&&r==="none"?kr:wr;return Pi.test(r)&&(a.e=0),this._pt=a,a},Mr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},as=function(t){var e=t.split(" "),i=e[0],r=e[1]||"50%";return(i==="top"||i==="bottom"||r==="left"||r==="right")&&(t=i,i=r,r=t),e[0]=Mr[i]||i,e[1]=Mr[r]||r,e.join(" ")},os=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,r=i.style,n=e.u,s=i._gsap,a,l,f;if(n==="all"||n===!0)r.cssText="",l=1;else for(n=n.split(","),f=n.length;--f>-1;)a=n[f],wt[a]&&(l=1,a=a==="transformOrigin"?et:B),Dt(i,a);l&&(Dt(i,B),s&&(s.svg&&i.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",pe(i,1),s.uncache=1,Tr(r)))}},Ne={clearProps:function(t,e,i,r,n){if(n.data!=="isFromStart"){var s=t._pt=new J(t._pt,e,i,0,0,os);return s.u=r,s.pr=-10,s.tween=n,t._props.push(i),1}}},_e=[1,0,0,1,0,0],Nr={},Ar=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Vr=function(t){var e=lt(t,B);return Ar(e)?_e:e.substr(7).match(Ei).map(L)},bi=function(t,e){var i=t._gsap||Nt(t),r=t.style,n=Vr(t),s,a,l,f;return i.svg&&t.getAttribute("transform")?(l=t.transform.baseVal.consolidate().matrix,n=[l.a,l.b,l.c,l.d,l.e,l.f],n.join(",")==="1,0,0,1,0,0"?_e:n):(n===_e&&!t.offsetParent&&t!==Jt&&!i.svg&&(l=r.display,r.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(f=1,a=t.nextElementSibling,Jt.appendChild(t)),n=Vr(t),l?r.display=l:Dt(t,"display"),f&&(a?s.insertBefore(t,a):s?s.appendChild(t):Jt.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},wi=function(t,e,i,r,n,s){var a=t._gsap,l=n||bi(t,!0),f=a.xOrigin||0,u=a.yOrigin||0,h=a.xOffset||0,_=a.yOffset||0,p=l[0],g=l[1],d=l[2],m=l[3],x=l[4],b=l[5],T=e.split(" "),w=parseFloat(T[0])||0,y=parseFloat(T[1])||0,v,S,C,k;i?l!==_e&&(S=p*m-g*d)&&(C=w*(m/S)+y*(-d/S)+(d*b-m*x)/S,k=w*(-g/S)+y*(p/S)-(p*b-g*x)/S,w=C,y=k):(v=Or(t),w=v.x+(~T[0].indexOf("%")?w/100*v.width:w),y=v.y+(~(T[1]||T[0]).indexOf("%")?y/100*v.height:y)),r||r!==!1&&a.smooth?(x=w-f,b=y-u,a.xOffset=h+(x*p+b*d)-x,a.yOffset=_+(x*g+b*m)-b):a.xOffset=a.yOffset=0,a.xOrigin=w,a.yOrigin=y,a.smooth=!!r,a.origin=e,a.originIsAbsolute=!!i,t.style[et]="0px 0px",s&&(zt(s,a,"xOrigin",f,w),zt(s,a,"yOrigin",u,y),zt(s,a,"xOffset",h,a.xOffset),zt(s,a,"yOffset",_,a.yOffset)),t.setAttribute("data-svg-origin",w+" "+y)},pe=function(t,e){var i=t._gsap||new lr(t);if("x"in i&&!e&&!i.uncache)return i;var r=t.style,n=i.scaleX<0,s="px",a="deg",l=getComputedStyle(t),f=lt(t,et)||"0",u,h,_,p,g,d,m,x,b,T,w,y,v,S,C,k,E,O,D,N,j,Y,$,q,ht,Ve,xe,be,Ut,$r,Tt,Yt;return u=h=_=d=m=x=b=T=w=0,p=g=1,i.svg=!!(t.getCTM&&Dr(t)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(r[B]=(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[B]!=="none"?l[B]:"")),r.scale=r.rotate=r.translate="none"),S=bi(t,i.svg),i.svg&&(i.uncache?(ht=t.getBBox(),f=i.xOrigin-ht.x+"px "+(i.yOrigin-ht.y)+"px",q=""):q=!e&&t.getAttribute("data-svg-origin"),wi(t,q||f,!!q||i.originIsAbsolute,i.smooth!==!1,S)),y=i.xOrigin||0,v=i.yOrigin||0,S!==_e&&(O=S[0],D=S[1],N=S[2],j=S[3],u=Y=S[4],h=$=S[5],S.length===6?(p=Math.sqrt(O*O+D*D),g=Math.sqrt(j*j+N*N),d=O||D?ee(D,O)*Lt:0,b=N||j?ee(N,j)*Lt+d:0,b&&(g*=Math.abs(Math.cos(b*te))),i.svg&&(u-=y-(y*O+v*N),h-=v-(y*D+v*j))):(Yt=S[6],$r=S[7],xe=S[8],be=S[9],Ut=S[10],Tt=S[11],u=S[12],h=S[13],_=S[14],C=ee(Yt,Ut),m=C*Lt,C&&(k=Math.cos(-C),E=Math.sin(-C),q=Y*k+xe*E,ht=$*k+be*E,Ve=Yt*k+Ut*E,xe=Y*-E+xe*k,be=$*-E+be*k,Ut=Yt*-E+Ut*k,Tt=$r*-E+Tt*k,Y=q,$=ht,Yt=Ve),C=ee(-N,Ut),x=C*Lt,C&&(k=Math.cos(-C),E=Math.sin(-C),q=O*k-xe*E,ht=D*k-be*E,Ve=N*k-Ut*E,Tt=j*E+Tt*k,O=q,D=ht,N=Ve),C=ee(D,O),d=C*Lt,C&&(k=Math.cos(C),E=Math.sin(C),q=O*k+D*E,ht=Y*k+$*E,D=D*k-O*E,$=$*k-Y*E,O=q,Y=ht),m&&Math.abs(m)+Math.abs(d)>359.9&&(m=d=0,x=180-x),p=L(Math.sqrt(O*O+D*D+N*N)),g=L(Math.sqrt($*$+Yt*Yt)),C=ee(Y,$),b=Math.abs(C)>2e-4?C*Lt:0,w=Tt?1/(Tt<0?-Tt:Tt):0),i.svg&&(q=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Ar(lt(t,B)),q&&t.setAttribute("transform",q))),Math.abs(b)>90&&Math.abs(b)<270&&(n?(p*=-1,b+=d<=0?180:-180,d+=d<=0?180:-180):(g*=-1,b+=b<=0?180:-180)),e=e||i.uncache,i.x=u-((i.xPercent=u&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-u)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+s,i.y=h-((i.yPercent=h&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-h)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+s,i.z=_+s,i.scaleX=L(p),i.scaleY=L(g),i.rotation=L(d)+a,i.rotationX=L(m)+a,i.rotationY=L(x)+a,i.skewX=b+a,i.skewY=T+a,i.transformPerspective=w+s,(i.zOrigin=parseFloat(f.split(" ")[2])||!e&&i.zOrigin||0)&&(r[et]=Ae(f)),i.xOffset=i.yOffset=0,i.force3D=it.force3D,i.renderTransform=i.svg?fs:Sr?Rr:ls,i.uncache=0,i},Ae=function(t){return(t=t.split(" "))[0]+" "+t[1]},ki=function(t,e,i){var r=G(e);return L(parseFloat(e)+parseFloat(Mt(t,"x",i+"px",r)))+r},ls=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Rr(t,e)},It="0deg",me="0px",$t=") ",Rr=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,l=i.z,f=i.rotation,u=i.rotationY,h=i.rotationX,_=i.skewX,p=i.skewY,g=i.scaleX,d=i.scaleY,m=i.transformPerspective,x=i.force3D,b=i.target,T=i.zOrigin,w="",y=x==="auto"&&t&&t!==1||x===!0;if(T&&(h!==It||u!==It)){var v=parseFloat(u)*te,S=Math.sin(v),C=Math.cos(v),k;v=parseFloat(h)*te,k=Math.cos(v),s=ki(b,s,S*k*-T),a=ki(b,a,-Math.sin(v)*-T),l=ki(b,l,C*k*-T+T)}m!==me&&(w+="perspective("+m+$t),(r||n)&&(w+="translate("+r+"%, "+n+"%) "),(y||s!==me||a!==me||l!==me)&&(w+=l!==me||y?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+$t),f!==It&&(w+="rotate("+f+$t),u!==It&&(w+="rotateY("+u+$t),h!==It&&(w+="rotateX("+h+$t),(_!==It||p!==It)&&(w+="skew("+_+", "+p+$t),(g!==1||d!==1)&&(w+="scale("+g+", "+d+$t),b.style[B]=w||"translate(0, 0)"},fs=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,l=i.rotation,f=i.skewX,u=i.skewY,h=i.scaleX,_=i.scaleY,p=i.target,g=i.xOrigin,d=i.yOrigin,m=i.xOffset,x=i.yOffset,b=i.forceCSS,T=parseFloat(s),w=parseFloat(a),y,v,S,C,k;l=parseFloat(l),f=parseFloat(f),u=parseFloat(u),u&&(u=parseFloat(u),f+=u,l+=u),l||f?(l*=te,f*=te,y=Math.cos(l)*h,v=Math.sin(l)*h,S=Math.sin(l-f)*-_,C=Math.cos(l-f)*_,f&&(u*=te,k=Math.tan(f-u),k=Math.sqrt(1+k*k),S*=k,C*=k,u&&(k=Math.tan(u),k=Math.sqrt(1+k*k),y*=k,v*=k)),y=L(y),v=L(v),S=L(S),C=L(C)):(y=h,C=_,v=S=0),(T&&!~(s+"").indexOf("px")||w&&!~(a+"").indexOf("px"))&&(T=Mt(p,"x",s,"px"),w=Mt(p,"y",a,"px")),(g||d||m||x)&&(T=L(T+g-(g*y+d*S)+m),w=L(w+d-(g*v+d*C)+x)),(r||n)&&(k=p.getBBox(),T=L(T+r/100*k.width),w=L(w+n/100*k.height)),k="matrix("+y+","+v+","+S+","+C+","+T+","+w+")",p.setAttribute("transform",k),b&&(p.style[B]=k)},us=function(t,e,i,r,n){var s=360,a=U(n),l=parseFloat(n)*(a&&~n.indexOf("rad")?Lt:1),f=l-r,u=r+f+"deg",h,_;return a&&(h=n.split("_")[1],h==="short"&&(f%=s,f!==f%(s/2)&&(f+=f<0?s:-s)),h==="cw"&&f<0?f=(f+s*br)%s-~~(f/s)*s:h==="ccw"&&f>0&&(f=(f-s*br)%s-~~(f/s)*s)),t._pt=_=new J(t._pt,e,i,r,f,jn),_.e=u,_.u="deg",t._props.push(i),_},Br=function(t,e){for(var i in e)t[i]=e[i];return t},cs=function(t,e,i){var r=Br({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,l,f,u,h,_,p,g;r.svg?(f=i.getAttribute("transform"),i.setAttribute("transform",""),s[B]=e,a=pe(i,1),Dt(i,B),i.setAttribute("transform",f)):(f=getComputedStyle(i)[B],s[B]=e,a=pe(i,1),s[B]=f);for(l in wt)f=r[l],u=a[l],f!==u&&n.indexOf(l)<0&&(p=G(f),g=G(u),h=p!==g?Mt(i,l,f,g):parseFloat(f),_=parseFloat(u),t._pt=new J(t._pt,a,l,h,_-h,gi),t._pt.u=g||0,t._props.push(l));Br(a,r)};Z("padding,margin,Width,Radius",function(o,t){var e="Top",i="Right",r="Bottom",n="Left",s=(t<3?[e,i,r,n]:[e+n,e+i,r+i,r+n]).map(function(a){return t<2?o+a:"border"+a+o});Ne[t>1?"border"+o:o]=function(a,l,f,u,h){var _,p;if(arguments.length<4)return _=s.map(function(g){return kt(a,g,f)}),p=_.join(" "),p.split(_[0]).length===5?_[0]:p;_=(u+"").split(" "),p={},s.forEach(function(g,d){return p[g]=_[d]=_[d]||_[(d-1)/2|0]}),a.init(l,p,h)}});var Fr={name:"css",register:xi,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,n){var s=this._props,a=t.style,l=i.vars.startAt,f,u,h,_,p,g,d,m,x,b,T,w,y,v,S,C,k;_i||xi(),this.styles=this.styles||vr(t),C=this.styles.props,this.tween=i;for(d in e)if(d!=="autoRound"&&(u=e[d],!(nt[d]&&fr(d,e,i,r,t,n)))){if(p=typeof u,g=Ne[d],p==="function"&&(u=u.call(i,r,t,n),p=typeof u),p==="string"&&~u.indexOf("random(")&&(u=le(u)),g)g(this,t,d,u,i)&&(S=1);else if(d.substr(0,2)==="--")f=(getComputedStyle(t).getPropertyValue(d)+"").trim(),u+="",Et.lastIndex=0,Et.test(f)||(m=G(f),x=G(u),x?m!==x&&(f=Mt(t,d,f,x)+x):m&&(u+=m)),this.add(a,"setProperty",f,u,r,n,0,0,d),s.push(d),C.push(d,0,a[d]);else if(p!=="undefined"){if(l&&d in l?(f=typeof l[d]=="function"?l[d].call(i,r,t,n):l[d],U(f)&&~f.indexOf("random(")&&(f=le(f)),G(f+"")||f==="auto"||(f+=it.units[d]||G(kt(t,d))||""),(f+"").charAt(1)==="="&&(f=kt(t,d))):f=kt(t,d),_=parseFloat(f),b=p==="string"&&u.charAt(1)==="="&&u.substr(0,2),b&&(u=u.substr(2)),h=parseFloat(u),d in gt&&(d==="autoAlpha"&&(_===1&&kt(t,"visibility")==="hidden"&&h&&(_=0),C.push("visibility",0,a.visibility),zt(this,a,"visibility",_?"inherit":"hidden",h?"inherit":"hidden",!h)),d!=="scale"&&d!=="transform"&&(d=gt[d],~d.indexOf(",")&&(d=d.split(",")[0]))),T=d in wt,T){if(this.styles.save(d),k=u,p==="string"&&u.substring(0,6)==="var(--"){if(u=lt(t,u.substring(4,u.indexOf(")"))),u.substring(0,5)==="calc("){var E=t.style.perspective;t.style.perspective=u,u=lt(t,"perspective"),E?t.style.perspective=E:Dt(t,"perspective")}h=parseFloat(u)}if(w||(y=t._gsap,y.renderTransform&&!e.parseTransform||pe(t,e.parseTransform),v=e.smoothOrigin!==!1&&y.smooth,w=this._pt=new J(this._pt,a,B,0,1,y.renderTransform,y,0,-1),w.dep=1),d==="scale")this._pt=new J(this._pt,y,"scaleY",y.scaleY,(b?Wt(y.scaleY,b+h):h)-y.scaleY||0,gi),this._pt.u=0,s.push("scaleY",d),d+="X";else if(d==="transformOrigin"){C.push(et,0,a[et]),u=as(u),y.svg?wi(t,u,0,v,0,this):(x=parseFloat(u.split(" ")[2])||0,x!==y.zOrigin&&zt(this,y,"zOrigin",y.zOrigin,x),zt(this,a,d,Ae(f),Ae(u)));continue}else if(d==="svgOrigin"){wi(t,u,1,v,0,this);continue}else if(d in Nr){us(this,y,d,_,b?Wt(_,b+u):u);continue}else if(d==="smoothOrigin"){zt(this,y,"smooth",y.smooth,u);continue}else if(d==="force3D"){y[d]=u;continue}else if(d==="transform"){cs(this,u,t);continue}}else d in a||(d=ie(d)||d);if(T||(h||h===0)&&(_||_===0)&&!Xn.test(u)&&d in a)m=(f+"").substr((_+"").length),h||(h=0),x=G(u)||(d in it.units?it.units[d]:m),m!==x&&(_=Mt(t,d,f,x)),this._pt=new J(this._pt,T?y:a,d,_,(b?Wt(_,b+h):h)-_,!T&&(x==="px"||d==="zIndex")&&e.autoRound!==!1?Kn:gi),this._pt.u=x||0,T&&k!==u?(this._pt.b=f,this._pt.e=k,this._pt.r=Gn):m!==x&&x!=="%"&&(this._pt.b=f,this._pt.r=Wn);else if(d in a)ss.call(this,t,d,f,b?b+u:u);else if(d in t)this.add(t,d,f||t[d],b?b+u:u,r,n);else if(d!=="parseTransform"){qe(d,u);continue}T||(d in a?C.push(d,0,a[d]):typeof t[d]=="function"?C.push(d,2,t[d]()):C.push(d,1,f||t[d])),s.push(d)}}S&&pr(this)},render:function(t,e){if(e.tween._time||!pi())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:kt,aliases:gt,getSetter:function(t,e,i){var r=gt[e];return r&&r.indexOf(",")<0&&(e=r),e in wt&&e!==et&&(t._gsap.x||kt(t,"x"))?i&&xr===i?e==="scale"?Jn:Zn:(xr=i||{})&&(e==="scale"?ts:es):t.style&&!Le(t.style[e])?Hn:~e.indexOf("-")?Qn:fi(t,e)},core:{_removeProperty:Dt,_getMatrix:bi}};tt.utils.checkPrefix=ie,tt.core.getStyleSaver=vr,function(o,t,e,i){var r=Z(o+","+t+","+e,function(n){wt[n]=1});Z(t,function(n){it.units[n]="deg",Nr[n]=1}),gt[r[13]]=o+","+t,Z(i,function(n){var s=n.split(":");gt[s[1]]=r[s[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"),Z("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){it.units[o]="px"}),tt.registerPlugin(Fr);var yt=tt.registerPlugin(Fr)||tt;yt.core.Tween;const hs={class:"h-full w-full relative flex flex-col bg-[#030303] text-white overflow-hidden"},ds={class:"absolute inset-0 z-0 overflow-hidden pointer-events-none"},_s={key:0,class:"absolute top-0 right-0 p-6 z-50 flex gap-4 pointer-events-auto"},ps={key:0,class:"absolute right-0 top-0 h-full w-full md:w-[450px] bg-[#0a0a0a]/95 backdrop-blur-2xl border-l border-white/10 z-[100] p-6 shadow-2xl overflow-auto text-left"},ms={class:"text-[10px] font-mono text-green-400 whitespace-pre-wrap"},gs={class:"flex-1 w-full relative overflow-y-auto overflow-x-hidden z-10 scroll-smooth"},ys={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"},xs={key:0,class:"pointer-events-auto text-left"},bs={class:"text-[10px] font-bold text-gray-500 tracking-[0.2em] uppercase mb-1"},ws={class:"flex items-center gap-2 text-white/50 text-sm font-mono"},ks={key:0,class:"h-px w-8 bg-white/20"},Ts={key:1,class:"flex-1"},vs={key:2,class:"pointer-events-auto flex gap-3"},Ss=["disabled"],Cs=["disabled"],Lr=c.defineComponent({__name:"LuminaDeck",setup(o){const{slide:t,index:e,total:i,next:r,prev:n,options:s}=qr(),a=c.inject(dt),l=c.computed(()=>a.hasNext()),f=c.computed(()=>a.hasPrev()),u=c.computed(()=>{var w,y;return(y=(w=a.state.deck)==null?void 0:w.meta)==null?void 0:y.title}),h=c.computed(()=>a.state.options.ui),_=c.computed(()=>a.state.options.navigation);Xr();const p=c.ref({showJson:!1}),g=c.computed(()=>s.debug),d=c.computed(()=>!t.value||!t.value.type?null:`layout-${t.value.type}`),m=c.computed(()=>{var w,y,v,S,C,k,E,O;return{backgroundColor:((y=(w=t.value)==null?void 0:w.meta)==null?void 0:y.orbColor)||"#3b82f6",width:"60vw",height:"60vw",top:((C=(S=(v=t.value)==null?void 0:v.meta)==null?void 0:S.orbPos)==null?void 0:C.top)||"-20%",left:((O=(E=(k=t.value)==null?void 0:k.meta)==null?void 0:E.orbPos)==null?void 0:O.left)||"-10%"}}),x=w=>{qt.emit("action",w)},b=(w,y)=>{const v=w;v.style.opacity="1",y()},T=(w,y)=>{var E,O,D;const{options:v}=a.state;if(((E=v.animation)==null?void 0:E.enabled)===!1){y();return}const S=((O=v.animation)==null?void 0:O.durationOut)||.5,C=((D=v.animation)==null?void 0:D.type)||"cascade",k=yt.timeline({onComplete:y});C==="fade"?k.to(w,{opacity:0,duration:S}):C==="zoom"?k.to(w,{opacity:0,scale:1.1,duration:S}):k.to(w,{opacity:0,y:-20,duration:S,ease:"power2.in"})};return(w,y)=>{var v,S,C,k;return c.openBlock(),c.createElementBlock("div",hs,[c.createElementVNode("div",ds,[c.createElementVNode("div",{class:"ambient-orb",style:c.normalizeStyle(m.value)},null,4),y[3]||(y[3]=c.createElementVNode("div",{class:"absolute inset-0 opacity-[0.04]",style:{"background-image":"url('https://grainy-gradients.vercel.app/noise.svg')"}},null,-1))]),g.value?(c.openBlock(),c.createElementBlock("div",_s,[c.createElementVNode("button",{onClick:y[0]||(y[0]=E=>p.value.showJson=!p.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[4]||(y[4]=[c.createElementVNode("i",{class:"fa-solid fa-code text-xs"},null,-1)])])])):c.createCommentVNode("",!0),c.createVNode(c.Transition,{name:"slide-fade"},{default:c.withCtx(()=>[p.value.showJson?(c.openBlock(),c.createElementBlock("div",ps,[c.createElementVNode("pre",ms,c.toDisplayString(JSON.stringify(c.unref(t),null,2)),1)])):c.createCommentVNode("",!0)]),_:1}),c.createElementVNode("main",gs,[c.createVNode(c.Transition,{css:!1,onLeave:T,onEnter:b,mode:"out-in"},{default:c.withCtx(()=>[d.value?(c.openBlock(),c.createBlock(c.resolveDynamicComponent(d.value),{key:c.unref(e),data:c.unref(t),onAction:x,class:"min-h-full w-full"},null,40,["data"])):c.createCommentVNode("",!0)]),_:1})]),(v=h.value)!=null&&v.visible?(c.openBlock(),c.createElementBlock("div",ys,[(S=h.value)!=null&&S.showSlideCount?(c.openBlock(),c.createElementBlock("div",xs,[c.createElementVNode("h2",bs,c.toDisplayString(u.value),1),c.createElementVNode("div",ws,[c.createElementVNode("span",null,c.toDisplayString((c.unref(e)+1).toString().padStart(2,"0")),1),(C=h.value)!=null&&C.showProgressBar?(c.openBlock(),c.createElementBlock("div",ks)):c.createCommentVNode("",!0),c.createElementVNode("span",null,c.toDisplayString(c.unref(i).toString().padStart(2,"0")),1)])])):(c.openBlock(),c.createElementBlock("div",Ts)),(k=h.value)!=null&&k.showControls?(c.openBlock(),c.createElementBlock("div",vs,[c.createElementVNode("button",{onClick:y[1]||(y[1]=(...E)=>c.unref(n)&&c.unref(n)(...E)),class:c.normalizeClass(["w-12 h-12 rounded-full glass-panel hover:bg-white/10 flex items-center justify-center transition active:scale-95",!f.value||!_.value?"opacity-30 cursor-not-allowed":""]),disabled:!f.value||!_.value},[...y[5]||(y[5]=[c.createElementVNode("i",{class:"fa-solid fa-arrow-left"},null,-1)])],10,Ss),c.createElementVNode("button",{onClick:y[2]||(y[2]=(...E)=>c.unref(r)&&c.unref(r)(...E)),class:c.normalizeClass(["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||!_.value?"opacity-30 cursor-not-allowed":""]),disabled:!l.value||!_.value},[...y[6]||(y[6]=[c.createElementVNode("i",{class:"fa-solid fa-arrow-right"},null,-1)])],10,Cs)])):c.createCommentVNode("",!0)])):c.createCommentVNode("",!0)])}}});function Es(o,t){const e=c.inject(dt);let i=null;const r=()=>{if(!o.value||!e)return;i==null||i.revert();const{enabled:n,type:s,durationIn:a,stagger:l,ease:f}=e.state.options.animation||{};if(n===!1){yt.set(o.value.querySelectorAll(".reveal-up, .reveal-zoom, .reveal-content > *, .reveal-card, .reveal-img"),{opacity:1,y:0,scale:1,visibility:"visible"});return}i=yt.context(()=>{const u=o.value,h=s==="fade",_=s==="slide",p=s==="zoom",g=h?0:_?80:40,d=p?.8:s==="cascade"?.95:1;yt.set(".reveal-up",{y:g,opacity:0}),yt.set(".reveal-zoom",{scale:d,opacity:0}),yt.set(".reveal-content > *",{y:h?0:30,opacity:0}),yt.set(".reveal-card",{y:h?0:50,opacity:0,scale:d}),yt.set(".reveal-img",{scale:1.1,opacity:0});const m=yt.timeline({defaults:{ease:f||"power3.out",duration:a||.8},onComplete:t});u.querySelector(".reveal-img")&&m.to(".reveal-img",{scale:1,opacity:1,duration:(a||1)*1.2,ease:"expo.out"},0);const x=a||.8,b=l||.1;u.querySelectorAll(".reveal-card").length&&m.to(".reveal-card",{y:0,opacity:1,scale:1,duration:x,stagger:b,ease:_?"expo.out":"back.out(1.2)"},.2);const T=u.querySelectorAll(".reveal-content > *");T.length&&m.to(T,{y:0,opacity:1,duration:x,stagger:b/2},.3),u.querySelectorAll(".reveal-up").length&&m.to(".reveal-up",{y:0,opacity:1,duration:x,stagger:b},.2),u.querySelector(".reveal-zoom")&&m.to(".reveal-zoom",{scale:1,opacity:1,duration:x*1.2,ease:"expo.out"},.1)},o)};return c.onMounted(()=>{c.nextTick(()=>{r()})}),c.onUnmounted(()=>{i==null||i.revert()}),{animateIn:r}}const Ps={class:"absolute inset-0 z-0 pointer-events-none"},Os={class:"relative z-10 w-full h-full"},ge=c.defineComponent({__name:"BaseSlide",props:{data:{},customClass:{}},setup(o){const t=c.ref(null);return Es(t),(e,i)=>(c.openBlock(),c.createElementBlock("div",{ref_key:"container",ref:t,class:c.normalizeClass(["w-full min-h-full relative text-white",o.customClass])},[c.createElementVNode("div",Ps,[c.renderSlot(e.$slots,"background")]),c.createElementVNode("div",Os,[c.renderSlot(e.$slots,"default")])],2))}}),Ds={class:"reveal-zoom max-w-5xl z-10"},zs={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)"}},Ms={key:1,class:"text-xl md:text-3xl font-light max-w-3xl mx-auto leading-normal",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},Ns=c.defineComponent({__name:"LayoutStatement",props:{data:{}},setup(o){return(t,e)=>(c.openBlock(),c.createBlock(ge,{data:o.data},{default:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass(["flex flex-col justify-center items-center text-center p-8 relative",o.data.sizing==="container"?"min-h-full":"min-h-screen"])},[c.createElementVNode("div",Ds,[o.data.tag?(c.openBlock(),c.createElementBlock("span",zs,c.toDisplayString(o.data.tag),1)):c.createCommentVNode("",!0),c.createElementVNode("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:c.normalizeStyle(o.data.sizing==="container"?"font-size: 3.5rem;":"font-size: clamp(3rem, 10vw, 8rem);")},c.toDisplayString(o.data.title),5),o.data.subtitle?(c.openBlock(),c.createElementBlock("p",Ms,c.toDisplayString(o.data.subtitle),1)):c.createCommentVNode("",!0)])],2)]),_:1},8,["data"]))}}),As=["src"],Vs={class:"reveal-content max-w-xl"},Rs={class:"text-xs font-bold uppercase tracking-[0.2em] mb-6 block",style:{color:"var(--lumina-colors-primary, #3b82f6)"}},Bs={class:"text-4xl lg:text-6xl font-heading font-bold leading-tight mb-8 text-white"},Fs={class:"space-y-6 text-lg leading-relaxed font-light mb-10",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},Ls={key:0,class:"pt-6 border-t border-white/10"},Is=c.defineComponent({__name:"LayoutHalf",props:{data:{}},emits:["action"],setup(o){return(t,e)=>(c.openBlock(),c.createBlock(ge,{data:o.data,customClass:"bg-[var(--lumina-bg)]"},{default:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass(["w-full flex flex-col lg:block relative",o.data.sizing==="container"?"min-h-full":"min-h-screen"])},[c.createElementVNode("div",{class:c.normalizeClass(["relative h-[40vh] lg:h-full lg:w-1/2 lg:fixed lg:top-0 overflow-hidden z-0",o.data.imageSide==="right"?"lg:right-0 order-1":"lg:left-0 order-1"])},[e[1]||(e[1]=c.createElementVNode("div",{class:"absolute inset-0 bg-black/20 z-10"},null,-1)),c.createElementVNode("img",{src:o.data.image,class:"w-full h-full object-cover reveal-img scale-110 origin-center",alt:"Slide Image"},null,8,As)],2),c.createElementVNode("div",{class:c.normalizeClass(["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]",o.data.imageSide==="right"?"lg:mr-[50%]":"lg:ml-[50%]",o.data.sizing==="container"?"lg:min-h-full":"lg:min-h-screen"])},[c.createElementVNode("div",Vs,[c.createElementVNode("span",Rs,c.toDisplayString(o.data.tag),1),c.createElementVNode("h1",Bs,c.toDisplayString(o.data.title),1),c.createElementVNode("div",Fs,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.data.paragraphs,(i,r)=>(c.openBlock(),c.createElementBlock("p",{key:r},c.toDisplayString(i),1))),128))]),o.data.cta?(c.openBlock(),c.createElementBlock("div",Ls,[c.createElementVNode("button",{onClick:e[0]||(e[0]=i=>t.$emit("action",{type:"cta",label:o.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"},[c.createTextVNode(c.toDisplayString(o.data.cta)+" ",1),e[2]||(e[2]=c.createElementVNode("i",{class:"fa-solid fa-arrow-right"},null,-1))])])):c.createCommentVNode("",!0)])],2)],2)]),_:1},8,["data"]))}}),$s={class:"mb-16 reveal-up text-center lg:text-left max-w-4xl"},Us=c.defineComponent({__name:"LayoutFeatures",props:{data:{}},setup(o){return(t,e)=>(c.openBlock(),c.createBlock(ge,{data:o.data},{default:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass(["w-full flex flex-col justify-center p-8 lg:p-24",o.data.sizing==="container"?"min-h-full":"min-h-screen"])},[c.createElementVNode("div",$s,[c.createElementVNode("h2",{class:c.normalizeClass(["font-heading font-bold mb-4",o.data.sizing==="container"?"text-3xl":"text-5xl"])},c.toDisplayString(o.data.title),3),c.createElementVNode("p",{class:c.normalizeClass([o.data.sizing==="container"?"text-sm":"text-xl"]),style:{color:"var(--lumina-colors-muted, #9ca3af)"}},c.toDisplayString(o.data.description),3)]),c.createElementVNode("div",{class:c.normalizeClass(["grid w-full",o.data.sizing==="container"?"grid-cols-1 gap-3":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"])},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.data.features,(i,r)=>(c.openBlock(),c.createElementBlock("div",{key:r,class:c.normalizeClass(["glass-panel rounded-3xl hover:bg-white/5 transition duration-500 reveal-card group border-t border-white/5 hover:border-blue-500/50",o.data.sizing==="container"?"p-6":"p-8"])},[c.createElementVNode("div",{class:c.normalizeClass(["rounded-xl bg-white/5 flex items-center justify-center text-xl mb-6 group-hover:scale-110 transition duration-300",o.data.sizing==="container"?"w-10 h-10 mb-4":"w-12 h-12 mb-6"]),style:{color:"var(--lumina-colors-primary, #3b82f6)"}},[c.createElementVNode("i",{class:c.normalizeClass(["fa-solid",i.icon])},null,2)],2),c.createElementVNode("h3",{class:c.normalizeClass(["font-bold mb-3 text-white",o.data.sizing==="container"?"text-lg":"text-2xl"])},c.toDisplayString(i.title),3),c.createElementVNode("p",{class:c.normalizeClass(["leading-relaxed",[o.data.sizing==="container"?"text-sm":""]]),style:{color:"var(--lumina-colors-muted, #9ca3af)"}},c.toDisplayString(i.desc),3)],2))),128))],2)],2)]),_:1},8,["data"]))}}),Ys={class:"text-center mb-16 reveal-up"},qs={class:"text-5xl font-heading font-bold mb-4"},Xs={key:0,class:"text-xl opacity-60"},js={class:"relative max-w-4xl mx-auto w-full"},Ws={class:"space-y-12"},Gs={class:"text-sm font-bold tracking-widest uppercase text-blue-400 mb-1"},Ks={class:"text-2xl font-bold"},Hs={class:"text-lg opacity-60 leading-relaxed"},Qs=c.defineComponent({__name:"LayoutTimeline",props:{data:{}},setup(o){return(t,e)=>(c.openBlock(),c.createBlock(ge,{data:o.data},{default:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass(["w-full flex flex-col justify-center p-8 lg:p-24",o.data.sizing==="container"?"min-h-full py-12 lg:py-16":"min-h-screen"])},[c.createElementVNode("div",Ys,[c.createElementVNode("h2",qs,c.toDisplayString(o.data.title),1),o.data.subtitle?(c.openBlock(),c.createElementBlock("p",Xs,c.toDisplayString(o.data.subtitle),1)):c.createCommentVNode("",!0)]),c.createElementVNode("div",js,[e[1]||(e[1]=c.createElementVNode("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)),c.createElementVNode("div",Ws,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.data.timeline,(i,r)=>(c.openBlock(),c.createElementBlock("div",{key:r,class:c.normalizeClass(["relative flex flex-col md:flex-row gap-8 md:gap-0 items-start md:items-center reveal-card",r%2===0?"":"md:flex-row-reverse"])},[c.createElementVNode("div",{class:c.normalizeClass(["w-full md:w-1/2 pl-12 md:pl-0 flex flex-col justify-center",r%2===0?"md:pr-12 md:text-right md:items-end":"md:pl-12 md:text-left md:items-start"])},[c.createElementVNode("span",Gs,c.toDisplayString(i.date),1),c.createElementVNode("h3",Ks,c.toDisplayString(i.title),1)],2),e[0]||(e[0]=c.createElementVNode("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)),c.createElementVNode("div",{class:c.normalizeClass(["w-full md:w-1/2 pl-12 md:pl-0",r%2===0?"md:pl-12":"md:pr-12 md:text-right"])},[c.createElementVNode("p",Hs,c.toDisplayString(i.description),1)],2)],2))),128))])])],2)]),_:1},8,["data"]))}}),Zs={class:"mb-20 text-center reveal-up"},Js={class:"text-5xl font-heading font-bold mb-4"},ta={key:0,class:"text-xl opacity-60 max-w-2xl mx-auto"},ea={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 w-full max-w-7xl mx-auto relative"},ia={class:"w-20 h-20 rounded-2xl bg-[#111] border border-white/10 flex items-center justify-center text-2xl font-bold mb-6 relative z-10 group-hover:scale-110 transition duration-300 shadow-2xl mx-auto lg:mx-0"},ra={class:"text-transparent bg-clip-text bg-gradient-to-br from-white to-gray-600"},na={class:"text-xl font-bold mb-3"},sa={class:"text-sm leading-relaxed opacity-60"},aa=c.defineComponent({__name:"LayoutSteps",props:{data:{}},setup(o){return(t,e)=>(c.openBlock(),c.createBlock(ge,{data:o.data},{default:c.withCtx(()=>[c.createElementVNode("div",{class:c.normalizeClass(["w-full flex flex-col justify-center p-8 lg:p-12",o.data.sizing==="container"?"min-h-full":"min-h-screen"])},[c.createElementVNode("div",Zs,[c.createElementVNode("h2",Js,c.toDisplayString(o.data.title),1),o.data.subtitle?(c.openBlock(),c.createElementBlock("p",ta,c.toDisplayString(o.data.subtitle),1)):c.createCommentVNode("",!0)]),c.createElementVNode("div",ea,[e[0]||(e[0]=c.createElementVNode("div",{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"},null,-1)),(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.data.steps,(i,r)=>(c.openBlock(),c.createElementBlock("div",{key:r,class:"relative glass-panel p-8 rounded-2xl border border-white/5 reveal-card group hover:bg-white/5 transition duration-500"},[c.createElementVNode("div",ia,[c.createElementVNode("span",ra,c.toDisplayString(i.step),1)]),c.createElementVNode("h3",na,c.toDisplayString(i.title),1),c.createElementVNode("p",sa,c.toDisplayString(i.description),1)]))),128))])],2)]),_:1},8,["data"]))}}),ye={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"}}},Ir="lumina-theme-styles";class oa{static inject(t){let e;typeof t=="string"?e=ye[t]||ye.default:(e={...ye.default,...t},t.colors&&(e.colors={...ye.default.colors,...t.colors}),t.fonts&&(e.fonts={...ye.default.fonts,...t.fonts}));let i=document.getElementById(Ir);i||(i=document.createElement("style"),i.id=Ir,document.head.appendChild(i));const r=this.generateVars(e);i.innerHTML=`:root { ${r} }`}static generateVars(t){const e=[];if(t.colors){for(const[i,r]of Object.entries(t.colors))if(r){e.push(`--lumina-${i}: ${r};`);const n=this.hexToRgb(r);n&&e.push(`--lumina-${i}-rgb: ${n.r}, ${n.g}, ${n.b};`)}}if(t.fonts)for(const[i,r]of Object.entries(t.fonts))r&&e.push(`--lumina-font-${i}: ${r};`);return e.join(" ")}static hexToRgb(t){const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}}class la{constructor(t,e={}){Re(this,"app");Re(this,"store");this.selector=t,this.store=Yr(e),e.theme&&oa.inject(e.theme),this.app=c.createApp(Lr),this.app.provide(dt,this.store),this.app.component("layout-statement",Ns),this.app.component("layout-half",Is),this.app.component("layout-features",Us),this.app.component("layout-timeline",Qs),this.app.component("layout-steps",aa),this.app.mount(this.selector)}load(t){this.store.loadDeck(t),qt.emit("ready",t)}on(t,e){qt.on(t,e)}off(t,e){qt.off(t,e)}destroy(){this.app&&(this.app.unmount(),this.app=null),qt.clear()}}K.Lumina=la,K.LuminaDeck=Lr,K.bus=qt,Object.defineProperty(K,Symbol.toStringTag,{value:"Module"})});
|
|
15
|
+
*/var wr,Ot,te,mi,Lt,kr,gi,Wn=function(){return typeof window<"u"},bt={},Ft=180/Math.PI,ee=Math.PI/180,ie=Math.atan2,Tr=1e8,yi=/([A-Z])/g,Gn=/(left|right|width|margin|padding|x)/i,Hn=/[\s,\(]\S/,mt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},xi=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},Kn=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},Jn=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},Qn=function(t,e){return e.set(e.t,e.p,t===1?e.e:t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},Zn=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},vr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Sr=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},ts=function(t,e,i){return t.style[e]=i},es=function(t,e,i){return t.style.setProperty(e,i)},is=function(t,e,i){return t._gsap[e]=i},rs=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},ns=function(t,e,i,r,n){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(n,s)},ss=function(t,e,i,r,n){var s=t._gsap;s[e]=i,s.renderTransform(n,s)},B="transform",et=B+"Origin",as=function o(t,e){var i=this,r=this.target,n=r.style,s=r._gsap;if(t in bt&&n){if(this.tfm=this.tfm||{},t!=="transform")t=mt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return i.tfm[a]=wt(r,a)}):this.tfm[t]=s.x?s[t]:wt(r,t),t===et&&(this.tfm.zOrigin=s.zOrigin);else return mt.transform.split(",").forEach(function(a){return o.call(i,a,e)});if(this.props.indexOf(B)>=0)return;s.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(et,e,"")),t=B}(n||e)&&this.props.push(t,e,n[t])},Cr=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},os=function(){var t=this.props,e=this.target,i=e.style,r=e._gsap,n,s;for(n=0;n<t.length;n+=3)t[n+1]?t[n+1]===2?e[t[n]](t[n+2]):e[t[n]]=t[n+2]:t[n+2]?i[t[n]]=t[n+2]:i.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(yi,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)r[s]=this.tfm[s];r.svg&&(r.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=gi(),(!n||!n.isStart)&&!i[B]&&(Cr(i),r.zOrigin&&i[et]&&(i[et]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},Er=function(t,e){var i={target:t,props:[],revert:os,save:as};return t._gsap||tt.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(r){return i.save(r)}),i},Or,bi=function(t,e){var i=Ot.createElementNS?Ot.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Ot.createElement(t);return i&&i.style?i:Ot.createElement(t)},lt=function o(t,e,i){var r=getComputedStyle(t);return r[e]||r.getPropertyValue(e.replace(yi,"-$1").toLowerCase())||r.getPropertyValue(e)||!i&&o(t,re(e)||e,1)||""},Pr="O,Moz,ms,Ms,Webkit".split(","),re=function(t,e,i){var r=e||Lt,n=r.style,s=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Pr[s]+t in n););return s<0?null:(s===3?"ms":s>=0?Pr[s]:"")+t},wi=function(){Wn()&&window.document&&(wr=window,Ot=wr.document,te=Ot.documentElement,Lt=bi("div")||{style:{}},bi("div"),B=re(B),et=B+"Origin",Lt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Or=!!re("perspective"),gi=tt.core.reverting,mi=1)},Dr=function(t){var e=t.ownerSVGElement,i=bi("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=t.cloneNode(!0),n;r.style.display="block",i.appendChild(r),te.appendChild(i);try{n=r.getBBox()}catch{}return i.removeChild(r),te.removeChild(i),n},zr=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Mr=function(t){var e,i;try{e=t.getBBox()}catch{e=Dr(t),i=1}return e&&(e.width||e.height)||i||(e=Dr(t)),e&&!e.width&&!e.x&&!e.y?{x:+zr(t,["x","cx","x1"])||0,y:+zr(t,["y","cy","y1"])||0,width:0,height:0}:e},Nr=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Mr(t))},Pt=function(t,e){if(e){var i=t.style,r;e in bt&&e!==et&&(e=B),i.removeProperty?(r=e.substr(0,2),(r==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(r==="--"?e:e.replace(yi,"-$1").toLowerCase())):i.removeAttribute(e)}},Dt=function(t,e,i,r,n,s){var a=new Z(t._pt,e,i,0,1,s?Sr:vr);return t._pt=a,a.b=r,a.e=n,t._props.push(i),a},Ar={deg:1,rad:1,turn:1},ls={grid:1,flex:1},zt=function o(t,e,i,r){var n=parseFloat(i)||0,s=(i+"").trim().substr((n+"").length)||"px",a=Lt.style,l=Gn.test(e),f=t.tagName.toLowerCase()==="svg",c=(f?"client":"offset")+(l?"Width":"Height"),h=100,p=r==="px",_=r==="%",m,d,y,x;if(r===s||!n||Ar[r]||Ar[s])return n;if(s!=="px"&&!p&&(n=o(t,e,i,"px")),x=t.getCTM&&Nr(t),(_||s==="%")&&(bt[e]||~e.indexOf("adius")))return m=x?t.getBBox()[l?"width":"height"]:t[c],L(_?n/m*h:n/100*m);if(a[l?"width":"height"]=h+(p?s:r),d=r!=="rem"&&~e.indexOf("adius")||r==="em"&&t.appendChild&&!f?t:t.parentNode,x&&(d=(t.ownerSVGElement||{}).parentNode),(!d||d===Ot||!d.appendChild)&&(d=Ot.body),y=d._gsap,y&&_&&y.width&&l&&y.time===ot.time&&!y.uncache)return L(n/y.width*h);if(_&&(e==="height"||e==="width")){var b=t.style[e];t.style[e]=h+r,m=t[c],b?t.style[e]=b:Pt(t,e)}else(_||s==="%")&&!ls[lt(d,"display")]&&(a.position=lt(t,"position")),d===t&&(a.position="static"),d.appendChild(Lt),m=Lt[c],d.removeChild(Lt),a.position="absolute";return l&&_&&(y=At(d),y.time=ot.time,y.width=d[c]),L(p?m*n/h:m&&n?h/m*n:0)},wt=function(t,e,i,r){var n;return mi||wi(),e in mt&&e!=="transform"&&(e=mt[e],~e.indexOf(",")&&(e=e.split(",")[0])),bt[e]&&e!=="transform"?(n=ge(t,r),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Re(lt(t,et))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=Ve[e]&&Ve[e](t,e,i)||lt(t,e)||Bi(t,e)||(e==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?zt(t,e,n,i)+i:n},fs=function(t,e,i,r){if(!i||i==="none"){var n=re(e,t,1),s=n&<(t,n,1);s&&s!==i?(e=n,i=s):e==="borderColor"&&(i=lt(t,"borderTopColor"))}var a=new Z(this._pt,t.style,e,0,1,gr),l=0,f=0,c,h,p,_,m,d,y,x,b,T,w,g;if(a.b=i,a.e=r,i+="",r+="",r.substring(0,6)==="var(--"&&(r=lt(t,r.substring(4,r.indexOf(")")))),r==="auto"&&(d=t.style[e],t.style[e]=r,r=lt(t,e)||r,d?t.style[e]=d:Pt(t,e)),c=[i,r],or(c),i=c[0],r=c[1],p=i.match(Wt)||[],g=r.match(Wt)||[],g.length){for(;h=Wt.exec(r);)y=h[0],b=r.substring(l,h.index),m?m=(m+1)%5:(b.substr(-5)==="rgba("||b.substr(-5)==="hsla(")&&(m=1),y!==(d=p[f++]||"")&&(_=parseFloat(d)||0,w=d.substr((_+"").length),y.charAt(1)==="="&&(y=Gt(_,y)+w),x=parseFloat(y),T=y.substr((x+"").length),l=Wt.lastIndex-T.length,T||(T=T||it.units[e]||w,l===r.length&&(r+=T,a.e+=T)),w!==T&&(_=zt(t,e,d,T)||0),a._pt={_next:a._pt,p:b||f===1?b:",",s:_,c:x-_,m:m&&m<4||e==="zIndex"?Math.round:0});a.c=l<r.length?r.substring(l,r.length):""}else a.r=e==="display"&&r==="none"?Sr:vr;return zi.test(r)&&(a.e=0),this._pt=a,a},Vr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},cs=function(t){var e=t.split(" "),i=e[0],r=e[1]||"50%";return(i==="top"||i==="bottom"||r==="left"||r==="right")&&(t=i,i=r,r=t),e[0]=Vr[i]||i,e[1]=Vr[r]||r,e.join(" ")},us=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,r=i.style,n=e.u,s=i._gsap,a,l,f;if(n==="all"||n===!0)r.cssText="",l=1;else for(n=n.split(","),f=n.length;--f>-1;)a=n[f],bt[a]&&(l=1,a=a==="transformOrigin"?et:B),Pt(i,a);l&&(Pt(i,B),s&&(s.svg&&i.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",ge(i,1),s.uncache=1,Cr(r)))}},Ve={clearProps:function(t,e,i,r,n){if(n.data!=="isFromStart"){var s=t._pt=new Z(t._pt,e,i,0,0,us);return s.u=r,s.pr=-10,s.tween=n,t._props.push(i),1}}},me=[1,0,0,1,0,0],Rr={},Br=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Ir=function(t){var e=lt(t,B);return Br(e)?me:e.substr(7).match(Di).map(L)},ki=function(t,e){var i=t._gsap||At(t),r=t.style,n=Ir(t),s,a,l,f;return i.svg&&t.getAttribute("transform")?(l=t.transform.baseVal.consolidate().matrix,n=[l.a,l.b,l.c,l.d,l.e,l.f],n.join(",")==="1,0,0,1,0,0"?me:n):(n===me&&!t.offsetParent&&t!==te&&!i.svg&&(l=r.display,r.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(f=1,a=t.nextElementSibling,te.appendChild(t)),n=Ir(t),l?r.display=l:Pt(t,"display"),f&&(a?s.insertBefore(t,a):s?s.appendChild(t):te.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Ti=function(t,e,i,r,n,s){var a=t._gsap,l=n||ki(t,!0),f=a.xOrigin||0,c=a.yOrigin||0,h=a.xOffset||0,p=a.yOffset||0,_=l[0],m=l[1],d=l[2],y=l[3],x=l[4],b=l[5],T=e.split(" "),w=parseFloat(T[0])||0,g=parseFloat(T[1])||0,v,S,C,k;i?l!==me&&(S=_*y-m*d)&&(C=w*(y/S)+g*(-d/S)+(d*b-y*x)/S,k=w*(-m/S)+g*(_/S)-(_*b-m*x)/S,w=C,g=k):(v=Mr(t),w=v.x+(~T[0].indexOf("%")?w/100*v.width:w),g=v.y+(~(T[1]||T[0]).indexOf("%")?g/100*v.height:g)),r||r!==!1&&a.smooth?(x=w-f,b=g-c,a.xOffset=h+(x*_+b*d)-x,a.yOffset=p+(x*m+b*y)-b):a.xOffset=a.yOffset=0,a.xOrigin=w,a.yOrigin=g,a.smooth=!!r,a.origin=e,a.originIsAbsolute=!!i,t.style[et]="0px 0px",s&&(Dt(s,a,"xOrigin",f,w),Dt(s,a,"yOrigin",c,g),Dt(s,a,"xOffset",h,a.xOffset),Dt(s,a,"yOffset",p,a.yOffset)),t.setAttribute("data-svg-origin",w+" "+g)},ge=function(t,e){var i=t._gsap||new ur(t);if("x"in i&&!e&&!i.uncache)return i;var r=t.style,n=i.scaleX<0,s="px",a="deg",l=getComputedStyle(t),f=lt(t,et)||"0",c,h,p,_,m,d,y,x,b,T,w,g,v,S,C,k,E,P,D,N,X,Y,$,j,dt,Be,we,ke,Yt,jr,kt,jt;return c=h=p=d=y=x=b=T=w=0,_=m=1,i.svg=!!(t.getCTM&&Nr(t)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(r[B]=(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[B]!=="none"?l[B]:"")),r.scale=r.rotate=r.translate="none"),S=ki(t,i.svg),i.svg&&(i.uncache?(dt=t.getBBox(),f=i.xOrigin-dt.x+"px "+(i.yOrigin-dt.y)+"px",j=""):j=!e&&t.getAttribute("data-svg-origin"),Ti(t,j||f,!!j||i.originIsAbsolute,i.smooth!==!1,S)),g=i.xOrigin||0,v=i.yOrigin||0,S!==me&&(P=S[0],D=S[1],N=S[2],X=S[3],c=Y=S[4],h=$=S[5],S.length===6?(_=Math.sqrt(P*P+D*D),m=Math.sqrt(X*X+N*N),d=P||D?ie(D,P)*Ft:0,b=N||X?ie(N,X)*Ft+d:0,b&&(m*=Math.abs(Math.cos(b*ee))),i.svg&&(c-=g-(g*P+v*N),h-=v-(g*D+v*X))):(jt=S[6],jr=S[7],we=S[8],ke=S[9],Yt=S[10],kt=S[11],c=S[12],h=S[13],p=S[14],C=ie(jt,Yt),y=C*Ft,C&&(k=Math.cos(-C),E=Math.sin(-C),j=Y*k+we*E,dt=$*k+ke*E,Be=jt*k+Yt*E,we=Y*-E+we*k,ke=$*-E+ke*k,Yt=jt*-E+Yt*k,kt=jr*-E+kt*k,Y=j,$=dt,jt=Be),C=ie(-N,Yt),x=C*Ft,C&&(k=Math.cos(-C),E=Math.sin(-C),j=P*k-we*E,dt=D*k-ke*E,Be=N*k-Yt*E,kt=X*E+kt*k,P=j,D=dt,N=Be),C=ie(D,P),d=C*Ft,C&&(k=Math.cos(C),E=Math.sin(C),j=P*k+D*E,dt=Y*k+$*E,D=D*k-P*E,$=$*k-Y*E,P=j,Y=dt),y&&Math.abs(y)+Math.abs(d)>359.9&&(y=d=0,x=180-x),_=L(Math.sqrt(P*P+D*D+N*N)),m=L(Math.sqrt($*$+jt*jt)),C=ie(Y,$),b=Math.abs(C)>2e-4?C*Ft:0,w=kt?1/(kt<0?-kt:kt):0),i.svg&&(j=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Br(lt(t,B)),j&&t.setAttribute("transform",j))),Math.abs(b)>90&&Math.abs(b)<270&&(n?(_*=-1,b+=d<=0?180:-180,d+=d<=0?180:-180):(m*=-1,b+=b<=0?180:-180)),e=e||i.uncache,i.x=c-((i.xPercent=c&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-c)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+s,i.y=h-((i.yPercent=h&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-h)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+s,i.z=p+s,i.scaleX=L(_),i.scaleY=L(m),i.rotation=L(d)+a,i.rotationX=L(y)+a,i.rotationY=L(x)+a,i.skewX=b+a,i.skewY=T+a,i.transformPerspective=w+s,(i.zOrigin=parseFloat(f.split(" ")[2])||!e&&i.zOrigin||0)&&(r[et]=Re(f)),i.xOffset=i.yOffset=0,i.force3D=it.force3D,i.renderTransform=i.svg?hs:Or?Lr:ds,i.uncache=0,i},Re=function(t){return(t=t.split(" "))[0]+" "+t[1]},vi=function(t,e,i){var r=G(e);return L(parseFloat(e)+parseFloat(zt(t,"x",i+"px",r)))+r},ds=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Lr(t,e)},$t="0deg",ye="0px",Ut=") ",Lr=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,l=i.z,f=i.rotation,c=i.rotationY,h=i.rotationX,p=i.skewX,_=i.skewY,m=i.scaleX,d=i.scaleY,y=i.transformPerspective,x=i.force3D,b=i.target,T=i.zOrigin,w="",g=x==="auto"&&t&&t!==1||x===!0;if(T&&(h!==$t||c!==$t)){var v=parseFloat(c)*ee,S=Math.sin(v),C=Math.cos(v),k;v=parseFloat(h)*ee,k=Math.cos(v),s=vi(b,s,S*k*-T),a=vi(b,a,-Math.sin(v)*-T),l=vi(b,l,C*k*-T+T)}y!==ye&&(w+="perspective("+y+Ut),(r||n)&&(w+="translate("+r+"%, "+n+"%) "),(g||s!==ye||a!==ye||l!==ye)&&(w+=l!==ye||g?"translate3d("+s+", "+a+", "+l+") ":"translate("+s+", "+a+Ut),f!==$t&&(w+="rotate("+f+Ut),c!==$t&&(w+="rotateY("+c+Ut),h!==$t&&(w+="rotateX("+h+Ut),(p!==$t||_!==$t)&&(w+="skew("+p+", "+_+Ut),(m!==1||d!==1)&&(w+="scale("+m+", "+d+Ut),b.style[B]=w||"translate(0, 0)"},hs=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,l=i.rotation,f=i.skewX,c=i.skewY,h=i.scaleX,p=i.scaleY,_=i.target,m=i.xOrigin,d=i.yOrigin,y=i.xOffset,x=i.yOffset,b=i.forceCSS,T=parseFloat(s),w=parseFloat(a),g,v,S,C,k;l=parseFloat(l),f=parseFloat(f),c=parseFloat(c),c&&(c=parseFloat(c),f+=c,l+=c),l||f?(l*=ee,f*=ee,g=Math.cos(l)*h,v=Math.sin(l)*h,S=Math.sin(l-f)*-p,C=Math.cos(l-f)*p,f&&(c*=ee,k=Math.tan(f-c),k=Math.sqrt(1+k*k),S*=k,C*=k,c&&(k=Math.tan(c),k=Math.sqrt(1+k*k),g*=k,v*=k)),g=L(g),v=L(v),S=L(S),C=L(C)):(g=h,C=p,v=S=0),(T&&!~(s+"").indexOf("px")||w&&!~(a+"").indexOf("px"))&&(T=zt(_,"x",s,"px"),w=zt(_,"y",a,"px")),(m||d||y||x)&&(T=L(T+m-(m*g+d*S)+y),w=L(w+d-(m*v+d*C)+x)),(r||n)&&(k=_.getBBox(),T=L(T+r/100*k.width),w=L(w+n/100*k.height)),k="matrix("+g+","+v+","+S+","+C+","+T+","+w+")",_.setAttribute("transform",k),b&&(_.style[B]=k)},_s=function(t,e,i,r,n){var s=360,a=U(n),l=parseFloat(n)*(a&&~n.indexOf("rad")?Ft:1),f=l-r,c=r+f+"deg",h,p;return a&&(h=n.split("_")[1],h==="short"&&(f%=s,f!==f%(s/2)&&(f+=f<0?s:-s)),h==="cw"&&f<0?f=(f+s*Tr)%s-~~(f/s)*s:h==="ccw"&&f>0&&(f=(f-s*Tr)%s-~~(f/s)*s)),t._pt=p=new Z(t._pt,e,i,r,f,Kn),p.e=c,p.u="deg",t._props.push(i),p},Fr=function(t,e){for(var i in e)t[i]=e[i];return t},ps=function(t,e,i){var r=Fr({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,l,f,c,h,p,_,m;r.svg?(f=i.getAttribute("transform"),i.setAttribute("transform",""),s[B]=e,a=ge(i,1),Pt(i,B),i.setAttribute("transform",f)):(f=getComputedStyle(i)[B],s[B]=e,a=ge(i,1),s[B]=f);for(l in bt)f=r[l],c=a[l],f!==c&&n.indexOf(l)<0&&(_=G(f),m=G(c),h=_!==m?zt(i,l,f,m):parseFloat(f),p=parseFloat(c),t._pt=new Z(t._pt,a,l,h,p-h,xi),t._pt.u=m||0,t._props.push(l));Fr(a,r)};Q("padding,margin,Width,Radius",function(o,t){var e="Top",i="Right",r="Bottom",n="Left",s=(t<3?[e,i,r,n]:[e+n,e+i,r+i,r+n]).map(function(a){return t<2?o+a:"border"+a+o});Ve[t>1?"border"+o:o]=function(a,l,f,c,h){var p,_;if(arguments.length<4)return p=s.map(function(m){return wt(a,m,f)}),_=p.join(" "),_.split(p[0]).length===5?p[0]:_;p=(c+"").split(" "),_={},s.forEach(function(m,d){return _[m]=p[d]=p[d]||p[(d-1)/2|0]}),a.init(l,_,h)}});var $r={name:"css",register:wi,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,n){var s=this._props,a=t.style,l=i.vars.startAt,f,c,h,p,_,m,d,y,x,b,T,w,g,v,S,C,k;mi||wi(),this.styles=this.styles||Er(t),C=this.styles.props,this.tween=i;for(d in e)if(d!=="autoRound"&&(c=e[d],!(nt[d]&&dr(d,e,i,r,t,n)))){if(_=typeof c,m=Ve[d],_==="function"&&(c=c.call(i,r,t,n),_=typeof c),_==="string"&&~c.indexOf("random(")&&(c=ce(c)),m)m(this,t,d,c,i)&&(S=1);else if(d.substr(0,2)==="--")f=(getComputedStyle(t).getPropertyValue(d)+"").trim(),c+="",Ct.lastIndex=0,Ct.test(f)||(y=G(f),x=G(c),x?y!==x&&(f=zt(t,d,f,x)+x):y&&(c+=y)),this.add(a,"setProperty",f,c,r,n,0,0,d),s.push(d),C.push(d,0,a[d]);else if(_!=="undefined"){if(l&&d in l?(f=typeof l[d]=="function"?l[d].call(i,r,t,n):l[d],U(f)&&~f.indexOf("random(")&&(f=ce(f)),G(f+"")||f==="auto"||(f+=it.units[d]||G(wt(t,d))||""),(f+"").charAt(1)==="="&&(f=wt(t,d))):f=wt(t,d),p=parseFloat(f),b=_==="string"&&c.charAt(1)==="="&&c.substr(0,2),b&&(c=c.substr(2)),h=parseFloat(c),d in mt&&(d==="autoAlpha"&&(p===1&&wt(t,"visibility")==="hidden"&&h&&(p=0),C.push("visibility",0,a.visibility),Dt(this,a,"visibility",p?"inherit":"hidden",h?"inherit":"hidden",!h)),d!=="scale"&&d!=="transform"&&(d=mt[d],~d.indexOf(",")&&(d=d.split(",")[0]))),T=d in bt,T){if(this.styles.save(d),k=c,_==="string"&&c.substring(0,6)==="var(--"){if(c=lt(t,c.substring(4,c.indexOf(")"))),c.substring(0,5)==="calc("){var E=t.style.perspective;t.style.perspective=c,c=lt(t,"perspective"),E?t.style.perspective=E:Pt(t,"perspective")}h=parseFloat(c)}if(w||(g=t._gsap,g.renderTransform&&!e.parseTransform||ge(t,e.parseTransform),v=e.smoothOrigin!==!1&&g.smooth,w=this._pt=new Z(this._pt,a,B,0,1,g.renderTransform,g,0,-1),w.dep=1),d==="scale")this._pt=new Z(this._pt,g,"scaleY",g.scaleY,(b?Gt(g.scaleY,b+h):h)-g.scaleY||0,xi),this._pt.u=0,s.push("scaleY",d),d+="X";else if(d==="transformOrigin"){C.push(et,0,a[et]),c=cs(c),g.svg?Ti(t,c,0,v,0,this):(x=parseFloat(c.split(" ")[2])||0,x!==g.zOrigin&&Dt(this,g,"zOrigin",g.zOrigin,x),Dt(this,a,d,Re(f),Re(c)));continue}else if(d==="svgOrigin"){Ti(t,c,1,v,0,this);continue}else if(d in Rr){_s(this,g,d,p,b?Gt(p,b+c):c);continue}else if(d==="smoothOrigin"){Dt(this,g,"smooth",g.smooth,c);continue}else if(d==="force3D"){g[d]=c;continue}else if(d==="transform"){ps(this,c,t);continue}}else d in a||(d=re(d)||d);if(T||(h||h===0)&&(p||p===0)&&!Hn.test(c)&&d in a)y=(f+"").substr((p+"").length),h||(h=0),x=G(c)||(d in it.units?it.units[d]:y),y!==x&&(p=zt(t,d,f,x)),this._pt=new Z(this._pt,T?g:a,d,p,(b?Gt(p,b+h):h)-p,!T&&(x==="px"||d==="zIndex")&&e.autoRound!==!1?Zn:xi),this._pt.u=x||0,T&&k!==c?(this._pt.b=f,this._pt.e=k,this._pt.r=Qn):y!==x&&x!=="%"&&(this._pt.b=f,this._pt.r=Jn);else if(d in a)fs.call(this,t,d,f,b?b+c:c);else if(d in t)this.add(t,d,f||t[d],b?b+c:c,r,n);else if(d!=="parseTransform"){Xe(d,c);continue}T||(d in a?C.push(d,0,a[d]):typeof t[d]=="function"?C.push(d,2,t[d]()):C.push(d,1,f||t[d])),s.push(d)}}S&&yr(this)},render:function(t,e){if(e.tween._time||!gi())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:wt,aliases:mt,getSetter:function(t,e,i){var r=mt[e];return r&&r.indexOf(",")<0&&(e=r),e in bt&&e!==et&&(t._gsap.x||wt(t,"x"))?i&&kr===i?e==="scale"?rs:is:(kr=i||{})&&(e==="scale"?ns:ss):t.style&&!$e(t.style[e])?ts:~e.indexOf("-")?es:ui(t,e)},core:{_removeProperty:Pt,_getMatrix:ki}};tt.utils.checkPrefix=re,tt.core.getStyleSaver=Er,function(o,t,e,i){var r=Q(o+","+t+","+e,function(n){bt[n]=1});Q(t,function(n){it.units[n]="deg",Rr[n]=1}),mt[r[13]]=o+","+t,Q(i,function(n){var s=n.split(":");mt[s[1]]=r[s[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"),Q("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){it.units[o]="px"}),tt.registerPlugin($r);var gt=tt.registerPlugin($r)||tt;gt.core.Tween;const ms={class:"h-full w-full relative flex flex-col bg-[#030303] text-white overflow-hidden"},gs={class:"absolute inset-0 z-0 overflow-hidden pointer-events-none"},ys={key:0,class:"absolute top-0 right-0 p-6 z-50 flex gap-4 pointer-events-auto"},xs={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"},bs={class:"p-6 pb-2 border-b border-white/5 flex items-center justify-between shrink-0"},ws={class:"p-6"},ks={class:"text-[10px] font-mono text-green-400 whitespace-pre-wrap"},Ts={class:"flex-1 w-full relative overflow-y-auto overflow-x-hidden z-10 scroll-smooth"},vs={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"},Ss={key:0,class:"pointer-events-auto text-left"},Cs={class:"text-[10px] font-bold text-gray-500 tracking-[0.2em] uppercase mb-1"},Es={class:"flex items-center gap-2 text-white/50 text-sm font-mono"},Os={key:0,class:"h-px w-8 bg-white/20"},Ps={key:1,class:"flex-1"},Ds={key:2,class:"pointer-events-auto flex gap-3"},zs=["disabled"],Ms=["disabled"],Ur=u.defineComponent({__name:"LuminaDeck",setup(o){const{slide:t,index:e,total:i,next:r,prev:n,options:s}=Gr(),a=u.inject(ne),l=u.computed(()=>a.hasNext()),f=u.computed(()=>a.hasPrev()),c=u.computed(()=>{var w,g;return(g=(w=a.state.deck)==null?void 0:w.meta)==null?void 0:g.title}),h=u.computed(()=>a.state.options.ui),p=u.computed(()=>a.state.options.navigation);Hr();const _=u.ref({showJson:!1}),m=u.computed(()=>s.debug),d=u.computed(()=>!t.value||!t.value.type?null:`layout-${t.value.type}`),y=u.computed(()=>{var w,g,v,S,C,k,E,P;return{backgroundColor:((g=(w=t.value)==null?void 0:w.meta)==null?void 0:g.orbColor)||"#3b82f6",width:"60vw",height:"60vw",top:((C=(S=(v=t.value)==null?void 0:v.meta)==null?void 0:S.orbPos)==null?void 0:C.top)||"-20%",left:((P=(E=(k=t.value)==null?void 0:k.meta)==null?void 0:E.orbPos)==null?void 0:P.left)||"-10%"}}),x=w=>{Nt.emit("action",w)},b=(w,g)=>{const v=w;v.style.opacity="1",g()},T=(w,g)=>{var E,P,D;const{options:v}=a.state;if(((E=v.animation)==null?void 0:E.enabled)===!1){g();return}const S=((P=v.animation)==null?void 0:P.durationOut)||.5,C=((D=v.animation)==null?void 0:D.type)||"cascade",k=gt.timeline({onComplete:g});C==="fade"?k.to(w,{opacity:0,duration:S}):C==="zoom"?k.to(w,{opacity:0,scale:1.1,duration:S}):k.to(w,{opacity:0,y:-20,duration:S,ease:"power2.in"})};return(w,g)=>{var v,S,C,k;return u.openBlock(),u.createElementBlock("div",ms,[u.createElementVNode("div",gs,[u.createElementVNode("div",{class:"ambient-orb",style:u.normalizeStyle(y.value)},null,4),g[6]||(g[6]=u.createElementVNode("div",{class:"absolute inset-0 opacity-[0.04]",style:{"background-image":"url('https://grainy-gradients.vercel.app/noise.svg')"}},null,-1))]),m.value?(u.openBlock(),u.createElementBlock("div",ys,[u.createElementVNode("button",{onClick:g[0]||(g[0]=E=>_.value.showJson=!_.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"},[...g[7]||(g[7]=[u.createElementVNode("i",{class:"fa-solid fa-code text-xs"},null,-1)])])])):u.createCommentVNode("",!0),u.createVNode(u.Transition,{name:"fade"},{default:u.withCtx(()=>[_.value.showJson?(u.openBlock(),u.createElementBlock("div",{key:0,class:"fixed inset-0 z-[100] flex justify-end",onClick:g[3]||(g[3]=u.withModifiers(E=>_.value.showJson=!1,["self"]))},[u.createElementVNode("div",{class:"absolute inset-0 bg-black/20 backdrop-blur-sm transition-opacity",onClick:g[1]||(g[1]=E=>_.value.showJson=!1)}),u.createElementVNode("div",xs,[u.createElementVNode("div",bs,[g[9]||(g[9]=u.createElementVNode("span",{class:"text-xs font-bold text-gray-400 uppercase tracking-widest"},"Slide Data",-1)),u.createElementVNode("button",{onClick:g[2]||(g[2]=E=>_.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"},[...g[8]||(g[8]=[u.createElementVNode("i",{class:"fa-solid fa-xmark"},null,-1)])])]),u.createElementVNode("div",ws,[u.createElementVNode("pre",ks,u.toDisplayString(JSON.stringify(u.unref(t),null,2)),1)])])])):u.createCommentVNode("",!0)]),_:1}),u.createElementVNode("main",Ts,[u.createVNode(u.Transition,{css:!1,onLeave:T,onEnter:b,mode:"out-in"},{default:u.withCtx(()=>[d.value?(u.openBlock(),u.createBlock(u.resolveDynamicComponent(d.value),{key:u.unref(e),data:u.unref(t),onAction:x,class:"min-h-full w-full"},null,40,["data"])):u.createCommentVNode("",!0)]),_:1})]),(v=h.value)!=null&&v.visible?(u.openBlock(),u.createElementBlock("div",vs,[(S=h.value)!=null&&S.showSlideCount?(u.openBlock(),u.createElementBlock("div",Ss,[u.createElementVNode("h2",Cs,u.toDisplayString(c.value),1),u.createElementVNode("div",Es,[u.createElementVNode("span",null,u.toDisplayString((u.unref(e)+1).toString().padStart(2,"0")),1),(C=h.value)!=null&&C.showProgressBar?(u.openBlock(),u.createElementBlock("div",Os)):u.createCommentVNode("",!0),u.createElementVNode("span",null,u.toDisplayString(u.unref(i).toString().padStart(2,"0")),1)])])):(u.openBlock(),u.createElementBlock("div",Ps)),(k=h.value)!=null&&k.showControls?(u.openBlock(),u.createElementBlock("div",Ds,[u.createElementVNode("button",{onClick:g[4]||(g[4]=(...E)=>u.unref(n)&&u.unref(n)(...E)),class:u.normalizeClass(["w-12 h-12 rounded-full glass-panel hover:bg-white/10 flex items-center justify-center transition active:scale-95",!f.value||!p.value?"opacity-30 cursor-not-allowed":""]),disabled:!f.value||!p.value},[...g[10]||(g[10]=[u.createElementVNode("i",{class:"fa-solid fa-arrow-left"},null,-1)])],10,zs),u.createElementVNode("button",{onClick:g[5]||(g[5]=(...E)=>u.unref(r)&&u.unref(r)(...E)),class:u.normalizeClass(["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||!p.value?"opacity-30 cursor-not-allowed":""]),disabled:!l.value||!p.value},[...g[11]||(g[11]=[u.createElementVNode("i",{class:"fa-solid fa-arrow-right"},null,-1)])],10,Ms)])):u.createCommentVNode("",!0)])):u.createCommentVNode("",!0)])}}});function Ns(o,t){const e=u.inject(ne);let i=null;const r=()=>{if(!o.value||!e)return;i==null||i.revert();const{enabled:n,type:s,durationIn:a,stagger:l,ease:f}=e.state.options.animation||{};if(n===!1){gt.set(o.value.querySelectorAll(".reveal-up, .reveal-zoom, .reveal-content > *, .reveal-card, .reveal-img"),{opacity:1,y:0,scale:1,visibility:"visible"});return}i=gt.context(()=>{const c=o.value,h=s==="fade",p=s==="slide",_=s==="zoom",m=h?0:p?80:40,d=_?.8:s==="cascade"?.95:1;gt.set(".reveal-up",{y:m,opacity:0}),gt.set(".reveal-zoom",{scale:d,opacity:0}),gt.set(".reveal-content > *",{y:h?0:30,opacity:0}),gt.set(".reveal-card",{y:h?0:50,opacity:0,scale:d}),gt.set(".reveal-img",{scale:1.1,opacity:0});const y=gt.timeline({defaults:{ease:f||"power3.out",duration:a||.8},onComplete:t});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,b=l||.1;c.querySelectorAll(".reveal-card").length&&y.to(".reveal-card",{y:0,opacity:1,scale:1,duration:x,stagger:b,ease:p?"expo.out":"back.out(1.2)"},.2);const T=c.querySelectorAll(".reveal-content > *");T.length&&y.to(T,{y:0,opacity:1,duration:x,stagger:b/2},.3),c.querySelectorAll(".reveal-up").length&&y.to(".reveal-up",{y:0,opacity:1,duration:x,stagger:b},.2),c.querySelector(".reveal-zoom")&&y.to(".reveal-zoom",{scale:1,opacity:1,duration:x*1.2,ease:"expo.out"},.1)},o)};return u.onMounted(()=>{u.nextTick(()=>{r()})}),u.onUnmounted(()=>{i==null||i.revert()}),{animateIn:r}}const As={class:"absolute inset-0 z-0 pointer-events-none"},Vs={class:"relative z-10 w-full h-full"},xe=u.defineComponent({__name:"BaseSlide",props:{data:{},customClass:{}},setup(o){const t=u.ref(null);return Ns(t),(e,i)=>(u.openBlock(),u.createElementBlock("div",{ref_key:"container",ref:t,class:u.normalizeClass(["w-full min-h-full relative text-white",o.customClass])},[u.createElementVNode("div",As,[u.renderSlot(e.$slots,"background")]),u.createElementVNode("div",Vs,[u.renderSlot(e.$slots,"default")])],2))}}),Rs={class:"reveal-zoom max-w-5xl z-10"},Bs={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)"}},Is={key:1,class:"text-xl md:text-3xl font-light max-w-3xl mx-auto leading-normal",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},Ls=u.defineComponent({__name:"LayoutStatement",props:{data:{}},setup(o){return(t,e)=>(u.openBlock(),u.createBlock(xe,{data:o.data},{default:u.withCtx(()=>[u.createElementVNode("div",{class:u.normalizeClass(["flex flex-col justify-center items-center text-center p-8 relative",o.data.sizing==="container"?"h-full":"min-h-screen"])},[u.createElementVNode("div",Rs,[o.data.tag?(u.openBlock(),u.createElementBlock("span",Bs,u.toDisplayString(o.data.tag),1)):u.createCommentVNode("",!0),u.createElementVNode("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:u.normalizeStyle(o.data.sizing==="container"?"font-size: 3.5rem;":"font-size: clamp(3rem, 10vw, 8rem);")},u.toDisplayString(o.data.title),5),o.data.subtitle?(u.openBlock(),u.createElementBlock("p",Is,u.toDisplayString(o.data.subtitle),1)):u.createCommentVNode("",!0)])],2)]),_:1},8,["data"]))}}),Fs=["src"],$s={class:"reveal-content max-w-xl"},Us={class:"text-xs font-bold uppercase tracking-[0.2em] mb-6 block",style:{color:"var(--lumina-colors-primary, #3b82f6)"}},Ys={class:"text-4xl lg:text-6xl font-heading font-bold leading-tight mb-8 text-white"},js={class:"space-y-6 text-lg leading-relaxed font-light mb-10",style:{color:"var(--lumina-colors-muted, #9ca3af)"}},qs={key:0,class:"pt-6 border-t border-white/10"},Xs=u.defineComponent({__name:"LayoutHalf",props:{data:{}},emits:["action"],setup(o){return(t,e)=>(u.openBlock(),u.createBlock(xe,{data:o.data,customClass:"bg-[var(--lumina-bg)]"},{default:u.withCtx(()=>[u.createElementVNode("div",{class:u.normalizeClass(["w-full flex flex-col lg:block relative",o.data.sizing==="container"?"min-h-full":"min-h-screen"])},[u.createElementVNode("div",{class:u.normalizeClass(["relative h-[40vh] lg:h-full lg:w-1/2 overflow-hidden z-0",o.data.sizing==="container"?"lg:absolute lg:top-0":"lg:fixed lg:top-0",o.data.imageSide==="right"?"lg:right-0 order-1":"lg:left-0 order-1"])},[e[1]||(e[1]=u.createElementVNode("div",{class:"absolute inset-0 bg-black/20 z-10"},null,-1)),u.createElementVNode("img",{src:o.data.image,class:"w-full h-full object-cover reveal-img scale-110 origin-center",alt:"Slide Image"},null,8,Fs)],2),u.createElementVNode("div",{class:u.normalizeClass(["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]",o.data.imageSide==="right"?"lg:mr-[50%]":"lg:ml-[50%]",o.data.sizing==="container"?"lg:min-h-full":"lg:min-h-screen"])},[u.createElementVNode("div",$s,[u.createElementVNode("span",Us,u.toDisplayString(o.data.tag),1),u.createElementVNode("h1",Ys,u.toDisplayString(o.data.title),1),u.createElementVNode("div",js,[(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(o.data.paragraphs,(i,r)=>(u.openBlock(),u.createElementBlock("p",{key:r},u.toDisplayString(i),1))),128))]),o.data.cta?(u.openBlock(),u.createElementBlock("div",qs,[u.createElementVNode("button",{onClick:e[0]||(e[0]=i=>t.$emit("action",{type:"cta",label:o.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"},[u.createTextVNode(u.toDisplayString(o.data.cta)+" ",1),e[2]||(e[2]=u.createElementVNode("i",{class:"fa-solid fa-arrow-right"},null,-1))])])):u.createCommentVNode("",!0)])],2)],2)]),_:1},8,["data"]))}}),Ws={class:"mb-16 reveal-up text-center lg:text-left max-w-4xl"},Gs=u.defineComponent({__name:"LayoutFeatures",props:{data:{}},setup(o){return(t,e)=>(u.openBlock(),u.createBlock(xe,{data:o.data},{default:u.withCtx(()=>[u.createElementVNode("div",{class:u.normalizeClass(["w-full flex flex-col justify-center p-8 lg:p-24",o.data.sizing==="container"?"min-h-full":"min-h-screen"])},[u.createElementVNode("div",Ws,[u.createElementVNode("h2",{class:u.normalizeClass(["font-heading font-bold mb-4",o.data.sizing==="container"?"text-3xl":"text-5xl"])},u.toDisplayString(o.data.title),3),u.createElementVNode("p",{class:u.normalizeClass([o.data.sizing==="container"?"text-sm":"text-xl"]),style:{color:"var(--lumina-colors-muted, #9ca3af)"}},u.toDisplayString(o.data.description),3)]),u.createElementVNode("div",{class:u.normalizeClass(["grid w-full",o.data.sizing==="container"?"grid-cols-1 gap-3":"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"])},[(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(o.data.features,(i,r)=>(u.openBlock(),u.createElementBlock("div",{key:r,class:u.normalizeClass(["glass-panel rounded-3xl hover:bg-white/5 transition duration-500 reveal-card group border-t border-white/5 hover:border-blue-500/50",o.data.sizing==="container"?"p-6":"p-8"])},[u.createElementVNode("div",{class:u.normalizeClass(["rounded-xl bg-white/5 flex items-center justify-center text-xl mb-6 group-hover:scale-110 transition duration-300",o.data.sizing==="container"?"w-10 h-10 mb-4":"w-12 h-12 mb-6"]),style:{color:"var(--lumina-colors-primary, #3b82f6)"}},[u.createElementVNode("i",{class:u.normalizeClass(["fa-solid",i.icon.startsWith("fa-")?i.icon:`fa-${i.icon}`])},null,2)],2),u.createElementVNode("h3",{class:u.normalizeClass(["font-bold mb-3 text-white",o.data.sizing==="container"?"text-lg":"text-2xl"])},u.toDisplayString(i.title),3),u.createElementVNode("p",{class:u.normalizeClass(["leading-relaxed",[o.data.sizing==="container"?"text-sm":""]]),style:{color:"var(--lumina-colors-muted, #9ca3af)"}},u.toDisplayString(i.desc),3)],2))),128))],2)],2)]),_:1},8,["data"]))}}),Hs={class:"text-center mb-16 reveal-up"},Ks={class:"text-5xl font-heading font-bold mb-4"},Js={key:0,class:"text-xl opacity-60"},Qs={class:"relative max-w-4xl mx-auto w-full"},Zs={class:"space-y-12"},ta={class:"text-sm font-bold tracking-widest uppercase text-blue-400 mb-1"},ea={class:"text-2xl font-bold"},ia={class:"text-lg opacity-60 leading-relaxed"},ra=u.defineComponent({__name:"LayoutTimeline",props:{data:{}},setup(o){return(t,e)=>(u.openBlock(),u.createBlock(xe,{data:o.data},{default:u.withCtx(()=>[u.createElementVNode("div",{class:u.normalizeClass(["w-full flex flex-col justify-center p-8 lg:p-24",o.data.sizing==="container"?"min-h-full py-12 lg:py-16":"min-h-screen"])},[u.createElementVNode("div",Hs,[u.createElementVNode("h2",Ks,u.toDisplayString(o.data.title),1),o.data.subtitle?(u.openBlock(),u.createElementBlock("p",Js,u.toDisplayString(o.data.subtitle),1)):u.createCommentVNode("",!0)]),u.createElementVNode("div",Qs,[e[1]||(e[1]=u.createElementVNode("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)),u.createElementVNode("div",Zs,[(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(o.data.timeline,(i,r)=>(u.openBlock(),u.createElementBlock("div",{key:r,class:u.normalizeClass(["relative flex flex-col md:flex-row gap-8 md:gap-0 items-start md:items-center reveal-card",r%2===0?"":"md:flex-row-reverse"])},[u.createElementVNode("div",{class:u.normalizeClass(["w-full md:w-1/2 pl-12 md:pl-0 flex flex-col justify-center",r%2===0?"md:pr-12 md:text-right md:items-end":"md:pl-12 md:text-left md:items-start"])},[u.createElementVNode("span",ta,u.toDisplayString(i.date),1),u.createElementVNode("h3",ea,u.toDisplayString(i.title||i.t),1)],2),e[0]||(e[0]=u.createElementVNode("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)),u.createElementVNode("div",{class:u.normalizeClass(["w-full md:w-1/2 pl-12 md:pl-0",r%2===0?"md:pl-12":"md:pr-12 md:text-right"])},[u.createElementVNode("p",ia,u.toDisplayString(i.description||i.desc),1)],2)],2))),128))])])],2)]),_:1},8,["data"]))}}),na={class:"mb-20 text-center reveal-up"},sa={class:"text-5xl font-heading font-bold mb-4"},aa={key:0,class:"text-xl opacity-60 max-w-2xl mx-auto"},oa={class:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 w-full max-w-7xl mx-auto relative"},la={class:"w-20 h-20 rounded-2xl bg-[#111] border border-white/10 flex items-center justify-center text-2xl font-bold mb-6 relative z-10 group-hover:scale-110 transition duration-300 shadow-2xl mx-auto lg:mx-0"},fa={class:"text-transparent bg-clip-text bg-gradient-to-br from-white to-gray-600"},ca={class:"text-xl font-bold mb-3"},ua={class:"text-sm leading-relaxed opacity-60"},da=u.defineComponent({__name:"LayoutSteps",props:{data:{}},setup(o){return(t,e)=>(u.openBlock(),u.createBlock(xe,{data:o.data},{default:u.withCtx(()=>[u.createElementVNode("div",{class:u.normalizeClass(["w-full flex flex-col justify-center p-8 lg:p-12",o.data.sizing==="container"?"min-h-full":"min-h-screen"])},[u.createElementVNode("div",na,[u.createElementVNode("h2",sa,u.toDisplayString(o.data.title),1),o.data.subtitle?(u.openBlock(),u.createElementBlock("p",aa,u.toDisplayString(o.data.subtitle),1)):u.createCommentVNode("",!0)]),u.createElementVNode("div",oa,[e[0]||(e[0]=u.createElementVNode("div",{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"},null,-1)),(u.openBlock(!0),u.createElementBlock(u.Fragment,null,u.renderList(o.data.steps,(i,r)=>(u.openBlock(),u.createElementBlock("div",{key:r,class:"relative glass-panel p-8 rounded-2xl border border-white/5 reveal-card group hover:bg-white/5 transition duration-500"},[u.createElementVNode("div",la,[u.createElementVNode("span",fa,u.toDisplayString(i.step),1)]),u.createElementVNode("h3",ca,u.toDisplayString(i.title),1),u.createElementVNode("p",ua,u.toDisplayString(i.description),1)]))),128))])],2)]),_:1},8,["data"]))}}),ha=u.defineComponent({__name:"LayoutAuto",props:{data:{}},emits:["action"],setup(o,{emit:t}){const e=o,i=u.computed(()=>{var c,h,p;const r=e.data||{},n=Array.isArray(r.timeline)&&r.timeline.length>0,s=Array.isArray(r.steps)&&r.steps.length>0,a=Array.isArray(r.features)&&r.features.length>0,l=!!r.image;let f="layout-statement";return n?f="layout-timeline":s?f="layout-steps":a?f="layout-features":l?f="layout-half":(((c=r.title)==null?void 0:c.length)||0)+(((h=r.subtitle)==null?void 0:h.length)||0)+(((p=r.paragraphs)==null?void 0:p.join("").length)||0),f});return(r,n)=>(u.openBlock(),u.createBlock(u.resolveDynamicComponent(i.value),{data:o.data,onAction:n[0]||(n[0]=s=>r.$emit("action",s))},null,40,["data"]))}}),be={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"}}},Yr="lumina-theme-styles";class _a{static inject(t){let e;typeof t=="string"?e=be[t]||be.default:(e={...be.default,...t},t.colors&&(e.colors={...be.default.colors,...t.colors}),t.fonts&&(e.fonts={...be.default.fonts,...t.fonts}));let i=document.getElementById(Yr);i||(i=document.createElement("style"),i.id=Yr,document.head.appendChild(i));const r=this.generateVars(e);i.innerHTML=`:root { ${r} }`}static generateVars(t){const e=[];if(t.colors){for(const[i,r]of Object.entries(t.colors))if(r){e.push(`--lumina-${i}: ${r};`);const n=this.hexToRgb(r);n&&e.push(`--lumina-${i}-rgb: ${n.r}, ${n.g}, ${n.b};`)}}if(t.fonts)for(const[i,r]of Object.entries(t.fonts))r&&e.push(`--lumina-font-${i}: ${r};`);return e.join(" ")}static hexToRgb(t){const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?{r:parseInt(e[1],16),g:parseInt(e[2],16),b:parseInt(e[3],16)}:null}}class pa{constructor(t,e={}){Ie(this,"app");Ie(this,"store");this.selector=t,this.store=Wr(e),e.theme&&_a.inject(e.theme),this.app=u.createApp(Ur),this.app.provide(ne,this.store),this.app.component("layout-statement",Ls),this.app.component("layout-half",Xs),this.app.component("layout-features",Gs),this.app.component("layout-timeline",ra),this.app.component("layout-steps",da),this.app.component("layout-auto",ha),Nt.on("action",i=>{this.store.recordAction(i)}),this.app.mount(this.selector)}load(t){this.store.loadDeck(t),Nt.emit("ready",t)}patch(t){this.store.patchDeck(t)}exportState(){const{currentIndex:t,deck:e,actionHistory:i}=this.store.state,r=e==null?void 0:e.slides[t],n=i.map(a=>`User ${a.type}ed on ${a.label||a.value}`).join(" -> "),s=i.length>5?"High Engagement":"Low Engagement";return Object.freeze({status:"active",currentSlide:{index:t,id:(r==null?void 0:r.id)||t,type:r==null?void 0:r.type,title:(r==null?void 0:r.title)||"(No Title)"},narrative:`User is currently on slide ${t+1}. Session Flow: ${n||"Just started"}.`,engagementLevel:s,history:[...i]})}on(t,e){Nt.on(t,e)}off(t,e){Nt.off(t,e)}destroy(){this.app&&(this.app.unmount(),this.app=null),Nt.clear()}get currentSlideIndex(){return this.store.state.currentIndex}goTo(t){this.store.goto(t)}next(){this.store.next()}prev(){this.store.prev()}}H.Lumina=pa,H.LuminaDeck=Ur,H.bus=Nt,Object.defineProperty(H,Symbol.toStringTag,{value:"Module"})});
|