@xcpcio/board-app 0.53.0 → 0.53.2

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.
Files changed (62) hide show
  1. package/dist/404.html +1 -1
  2. package/dist/assets/Balloon.vue_vue_type_script_setup_true_lang-CNaNh1cd.js +1 -0
  3. package/dist/assets/Board-D7W2MZ4t.js +1 -0
  4. package/dist/assets/Board-_AOcbImO.css +1 -0
  5. package/dist/assets/{ContestStateBadge-SaSIRVZw.js → ContestStateBadge-fTJw-IjF.js} +1 -1
  6. package/dist/assets/Countdown-1A-2QJ7m.js +1 -0
  7. package/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-CXts-riZ.js +1 -0
  8. package/dist/assets/{Footer.vue_vue_type_script_setup_true_lang-DtriOyxw.js → Footer.vue_vue_type_script_setup_true_lang-Bk0nFBfB.js} +1 -1
  9. package/dist/assets/{NavBar-CTO09sVc.js → NavBar-C6sQ5txU.js} +1 -1
  10. package/dist/assets/Resolver-A6qSPE_R.js +25 -0
  11. package/dist/assets/{RightArrowIcon-93I3m1Dg.js → RightArrowIcon-ClOVVo1B.js} +1 -1
  12. package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-Bstp0Uq6.js → TheInput.vue_vue_type_script_setup_true_lang-D5spkHqx.js} +1 -1
  13. package/dist/assets/{Tooltip.vue_vue_type_script_setup_true_lang-IVJ6kO8Y.js → Tooltip.vue_vue_type_script_setup_true_lang-FgOX36Lq.js} +1 -1
  14. package/dist/assets/{_...all_-CajB1u6j.js → _...all_-BSvAEkM-.js} +1 -1
  15. package/dist/assets/_...all_-DmfbP4Ao.js +1 -0
  16. package/dist/assets/{_name_-CKcXFscu.js → _name_-AmLA_ZW6.js} +1 -1
  17. package/dist/assets/{about-Bt1E61e1.js → about-tPNAra1j.js} +1 -1
  18. package/dist/assets/board-D0VTebOf.js +1 -0
  19. package/dist/assets/{board-layout-BDGSSQnD.js → board-layout-C2v-fo1W.js} +1 -1
  20. package/dist/assets/{constant-D5AETBoS.js → constant-b2ZZlr_Y.js} +1 -1
  21. package/dist/assets/{default-g2FZdb_E.js → default-D4907N0j.js} +1 -1
  22. package/dist/assets/{headless-AGI21K3d.js → headless-C_cFBCtG.js} +1 -1
  23. package/dist/assets/{home-CIo2SGx9.js → home-CRZ6rGwZ.js} +1 -1
  24. package/dist/assets/{index-Ci3FURub.css → index-BjCWriHl.css} +1 -1
  25. package/dist/assets/{index-CsD1PvIl.js → index-BnOiKE-V.js} +1 -1
  26. package/dist/assets/index-Bvki346r.js +1 -0
  27. package/dist/assets/{index-Bqug296L.js → index-CVZtA3I-.js} +3 -3
  28. package/dist/assets/{index-CDb5YJlm.js → index-ClcpF-3G.js} +1 -1
  29. package/dist/assets/index-D5Eq7tNN.js +1 -0
  30. package/dist/assets/{index-B0AiC33S.js → index-DQYGiW5A.js} +1 -1
  31. package/dist/assets/{index-BJlHNlHk.js → index-Dar9HUtt.js} +1 -1
  32. package/dist/assets/{index-eEOWm26O.js → index-XjAdtRAz.js} +1 -1
  33. package/dist/assets/index-cu4LZbd6.js +1 -0
  34. package/dist/assets/{index-layout-B9ZsHAPN.js → index-layout-Bp7ERlAB.js} +1 -1
  35. package/dist/assets/{pagination-SF0231GF.js → pagination-CHOfWwrE.js} +1 -1
  36. package/dist/assets/query-C-pLpLZb.js +1 -0
  37. package/dist/assets/{test-BmgsMNrG.js → test-Bw2mUsPy.js} +1 -1
  38. package/dist/assets/{use-vmodel-DKmkNt1c.js → use-vmodel-BKVjZ-1P.js} +1 -1
  39. package/dist/assets/{user-DVMgLOCG.js → user-o9hs8HNN.js} +1 -1
  40. package/dist/assets/{virtual_pwa-register-G08q8i_v.js → virtual_pwa-register-8shrxAmh.js} +1 -1
  41. package/dist/index.html +1 -1
  42. package/dist/sw.js +1 -1
  43. package/package.json +3 -3
  44. package/src/components/board/Board.vue +10 -5
  45. package/src/components/board/Standings.less +4 -4
  46. package/src/components/board/Utility.vue +18 -3
  47. package/src/composables/useQueryBoardData.ts +28 -14
  48. package/src/pages/[...all].vue +15 -4
  49. package/src/shims.d.ts +1 -0
  50. package/src/styles/color.css +10 -0
  51. package/vite.config.ts +8 -8
  52. package/dist/assets/Board--Fj0eIxn.css +0 -1
  53. package/dist/assets/Board-DVycq7Hb.js +0 -1
  54. package/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-ButnX5NG.js +0 -1
  55. package/dist/assets/_...all_-DkFLHLY4.js +0 -1
  56. package/dist/assets/board-BuZxK-RS.js +0 -1
  57. package/dist/assets/index-BVqqkkh8.js +0 -25
  58. package/dist/assets/index-ByBDbX-Q.js +0 -1
  59. package/dist/assets/index-DtIE9gnq.js +0 -1
  60. package/dist/assets/useQueryBoardData-MYqwKv9X.js +0 -1
  61. /package/dist/assets/{index-De6dfmWB.css → Countdown-De6dfmWB.css} +0 -0
  62. /package/dist/assets/{index-DRiWpQTB.css → Resolver-DRiWpQTB.css} +0 -0
@@ -0,0 +1,25 @@
1
+ import{_ as gn}from"./Tooltip.vue_vue_type_script_setup_true_lang-FgOX36Lq.js";import{d as ar,g as Ke,p as mt,o as Z,c as J,n as si,h as R,b as Q,k as pt,a as oi,w as ai,F as Zt,E as ur,j as Ae,s as he,A as yn,u as xn,m as vn,C as je,Y as Tn,a3 as De,W as wn,T as bn}from"./index-CVZtA3I-.js";import{_ as lr}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{a as Pn,b as Sn,d as kn,m as On}from"./index-Dar9HUtt.js";import{d as Yi}from"./constant-b2ZZlr_Y.js";import{u as Cn}from"./query-C-pLpLZb.js";const Mn={"w-20":"",flex:"","flex-shrink-0":"","justify-center":"","items-center":""},An={flex:"","flex-1":"","flex-col":"","justify-center":"","items-start":"","gap-y-3":""},Dn={class:"resolver-team-name",truncate:"","overflow-hidden":""},Rn={flex:"","flex-row":"","text-sm":"","items-start":"","gap-x-2":""},En={"w-48":"",flex:"","flex-shrink-0":"","flex-row":"","justify-start":"","items-center":""},Fn={class:"w-1/3"},zn={class:"w-2/3"},In=ar({__name:"ResolverTeamRow",props:{index:null,team:null,resolver:null},setup(u){const t=u,e=Ke(()=>t.index),i=Ke(()=>t.team),r=Ke(()=>t.resolver),n=mt(null);function s(o){return[o.organization,o.name].filter(l=>l).join(" - ")}return(o,a)=>{const l=gn;return Z(),J("div",{ref_key:"el",ref:n,"h-24":""},[(Z(),J("div",{key:0,"h-24":"",flex:"","flex-row":"","gap-x-4":"","font-mono":"","text-4xl":"",class:si([R(e)%2===0?"bg-resolver-bg-zero":"bg-resolver-bg-one",R(r).duringAnimation&&R(r).currentTeamId===R(i).id?"bg-resolver-selected":"",!R(r).duringAnimation&&R(e)===R(r).currentIndex?"bg-resolver-selected":""])},[Q("div",Mn,[Q("div",null,pt(R(i).rank),1)]),Q("div",An,[oi(l,null,{popper:ai(()=>[Q("div",null,pt(s(R(i))),1)]),default:ai(()=>[Q("div",Dn,pt(s(R(i))),1)]),_:1}),Q("div",Rn,[(Z(!0),J(Zt,null,ur(R(i).problemStatistics,(f,h)=>(Z(),J("div",{key:f.problem.id,class:si(["rounded w-22 h-7 flex justify-center items-center",[f.isAccepted?"bg-resolver-ac":"",f.isWrongAnswer?"bg-resolver-wa":"",f.isPending?"bg-resolver-pending":"",f.isUnSubmitted?"bg-resolver-untouched":"",R(r).problemFlashingEnded===!1&&R(e)===R(r).currentIndex&&R(r).currentProblemIndex===h?"resolver-uncover":""]])},[f.isAccepted?(Z(),J(Zt,{key:0},[Ae(pt(`${f.failedCount+Number(f.isAccepted)}/${Math.floor(f.lastSubmitTimestamp/60)}`),1)],64)):he("",!0),f.isWrongAnswer?(Z(),J(Zt,{key:1},[Ae(pt(`${f.failedCount}/${Math.floor(f.lastSubmitTimestamp/60)}`),1)],64)):he("",!0),f.isPending?(Z(),J(Zt,{key:2},[Ae(pt(`${f.failedCount} + ${f.pendingCount}`),1)],64)):he("",!0),f.isUnSubmitted?(Z(),J(Zt,{key:3},[Ae(pt(f.problem.label),1)],64)):he("",!0)],2))),128))])]),Q("div",En,[Q("div",Fn,pt(R(i).solvedProblemNum),1),Q("div",zn,pt(R(i).penaltyToMinute),1)])],2))],512)}}}),Ln=lr(In,[["__scopeId","data-v-d1b6b438"]]);function Pt(u){if(u===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u}function fr(u,t){u.prototype=Object.create(t.prototype),u.prototype.constructor=u,u.__proto__=t}/*!
2
+ * GSAP 3.12.5
3
+ * https://gsap.com
4
+ *
5
+ * @license Copyright 2008-2024, GreenSock. All rights reserved.
6
+ * Subject to the terms at https://gsap.com/standard-license or for
7
+ * Club GSAP members, the agreement issued with that membership.
8
+ * @author: Jack Doyle, jack@greensock.com
9
+ */var ut={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},ne={duration:.5,overwrite:!1,delay:0},bi,q,F,_t=1e8,D=1/_t,ui=Math.PI*2,Bn=ui/4,Nn=0,_r=Math.sqrt,Vn=Math.cos,Yn=Math.sin,$=function(t){return typeof t=="string"},L=function(t){return typeof t=="function"},Ot=function(t){return typeof t=="number"},Pi=function(t){return typeof t>"u"},wt=function(t){return typeof t=="object"},tt=function(t){return t!==!1},Si=function(){return typeof window<"u"},Re=function(t){return L(t)||$(t)},hr=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},K=Array.isArray,li=/(?:-?\.?\d|\.)+/gi,cr=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Jt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,He=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,dr=/[+-]=-?[.\d]+/,pr=/[^,'"\[\]\s]+/gi,Un=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,z,gt,fi,ki,lt={},Be={},mr,gr=function(t){return(Be=Kt(t,lt))&&nt},Oi=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ye=function(t,e){return!e&&console.warn(t)},yr=function(t,e){return t&&(lt[t]=e)&&Be&&(Be[t]=e)||lt},xe=function(){return 0},Xn={suppressEvents:!0,isStart:!0,kill:!1},Fe={suppressEvents:!0,kill:!1},$n={suppressEvents:!0},Ci={},Rt=[],_i={},xr,st={},Qe={},Ui=30,ze=[],Mi="",Ai=function(t){var e=t[0],i,r;if(wt(e)||L(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(r=ze.length;r--&&!ze[r].targetTest(e););i=ze[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Xr(t[r],i)))||t.splice(r,1);return t},$t=function(t){return t._gsap||Ai(ht(t))[0]._gsap},vr=function(t,e,i){return(i=t[e])&&L(i)?t[e]():Pi(i)&&t.getAttribute&&t.getAttribute(e)||i},et=function(t,e){return(t=t.split(",")).forEach(e)||t},B=function(t){return Math.round(t*1e5)/1e5||0},X=function(t){return Math.round(t*1e7)/1e7||0},ee=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},Gn=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++r<i;);return r<i},Ne=function(){var t=Rt.length,e=Rt.slice(0),i,r;for(_i={},Rt.length=0,i=0;i<t;i++)r=e[i],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},Tr=function(t,e,i,r){Rt.length&&!q&&Ne(),t.render(e,i,q&&e<0&&(t._initted||t._startAt)),Rt.length&&!q&&Ne()},wr=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(pr).length<2?e:$(t)?t.trim():t},br=function(t){return t},ct=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},Wn=function(t){return function(e,i){for(var r in i)r in e||r==="duration"&&t||r==="ease"||(e[r]=i[r])}},Kt=function(t,e){for(var i in e)t[i]=e[i];return t},Xi=function u(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=wt(e[i])?u(t[i]||(t[i]={}),e[i]):e[i]);return t},Ve=function(t,e){var i={},r;for(r in t)r in e||(i[r]=t[r]);return i},pe=function(t){var e=t.parent||z,i=t.keyframes?Wn(K(t.keyframes)):ct;if(tt(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},qn=function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0},Pr=function(t,e,i,r,n){var s=t[r],o;if(n)for(o=e[n];s&&s[n]>o;)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},Ge=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},zt=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Gt=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},Kn=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},hi=function(t,e,i,r){return t._startAt&&(q?t._startAt.revert(Fe):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},jn=function u(t){return!t||t._ts&&u(t.parent)},$i=function(t){return t._repeat?se(t._tTime,t=t.duration()+t._rDelay)*t:0},se=function(t,e){var i=Math.floor(t/=e);return t&&i===t?i-1:i},Ye=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},We=function(t){return t._end=X(t._start+(t._tDur/Math.abs(t._ts||t._rts||D)||0))},qe=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=X(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),We(t),i._dirty||Gt(i,t)),t},Sr=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=Ye(t.rawTime(),e),(!e._dur||Oe(0,e.totalDuration(),i)-e._tTime>D)&&e.render(i,!0)),Gt(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=-D}},yt=function(t,e,i,r){return e.parent&&zt(e),e._start=X((Ot(i)?i:i||t!==z?ft(t,i,e):t._time)+e._delay),e._end=X(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Pr(t,e,"_first","_last",t._sort?"_start":0),ci(e)||(t._recent=e),r||Sr(t,e),t._ts<0&&qe(t,t._tTime),t},kr=function(t,e){return(lt.ScrollTrigger||Oi("scrollTrigger",e))&&lt.ScrollTrigger.create(e,t)},Or=function(t,e,i,r,n){if(Ri(t,e,n),!t._initted)return 1;if(!i&&t._pt&&!q&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&xr!==ot.frame)return Rt.push(t),t._lazy=[n,r],1},Hn=function u(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||u(e))},ci=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},Qn=function(t,e,i,r){var n=t.ratio,s=e<0||!e&&(!t._start&&Hn(t)&&!(!t._initted&&ci(t))||(t._ts<0||t._dp._ts<0)&&!ci(t))?0:1,o=t._rDelay,a=0,l,f,h;if(o&&t._repeat&&(a=Oe(0,t._tDur,e),f=se(a,o),t._yoyo&&f&1&&(s=1-s),f!==se(t._tTime,o)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||q||r||t._zTime===D||!e&&t._zTime){if(!t._initted&&Or(t,e,r,i,a))return;for(h=t._zTime,t._zTime=e||(i?D:0),i||(i=e&&!h),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=a,l=t._pt;l;)l.r(s,l.d),l=l._next;e<0&&hi(t,e,i,!0),t._onUpdate&&!i&&at(t,"onUpdate"),a&&t._repeat&&!i&&t.parent&&at(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&zt(t,1),!i&&!q&&(at(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},Zn=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}},oe=function(t,e,i,r){var n=t._repeat,s=X(e)||0,o=t._tTime/t._tDur;return o&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:X(s*(n+1)+t._rDelay*n):s,o>0&&!r&&qe(t,t._tTime=t._tDur*o),t.parent&&We(t),i||Gt(t.parent,t),t},Gi=function(t){return t instanceof j?Gt(t):oe(t,t._dur)},Jn={_start:0,endTime:xe,totalDuration:xe},ft=function u(t,e,i){var r=t.labels,n=t._recent||Jn,s=t.duration()>=_t?n.endTime(!1):t._dur,o,a,l;return $(e)&&(isNaN(e)||e in r)?(a=e.charAt(0),l=e.substr(-1)==="%",o=e.indexOf("="),a==="<"||a===">"?(o>=0&&(e=e.replace(/=/,"")),(a==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(l?(o<0?n:i).totalDuration()/100:1)):o<0?(e in r||(r[e]=s),r[e]):(a=parseFloat(e.charAt(o-1)+e.substr(o+1)),l&&i&&(a=a/100*(K(i)?i[0]:i).totalDuration()),o>1?u(t,e.substr(0,o-1),i)+a:s+a)):e==null?s:+e},me=function(t,e,i){var r=Ot(e[1]),n=(r?2:1)+(t<2?0:1),s=e[n],o,a;if(r&&(s.duration=e[1]),s.parent=i,t){for(o=s,a=i;a&&!("immediateRender"in o);)o=a.vars.defaults||{},a=tt(a.vars.inherit)&&a.parent;s.immediateRender=tt(o.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new V(e[0],s,e[n+1])},Lt=function(t,e){return t||t===0?e(t):e},Oe=function(t,e,i){return i<t?t:i>e?e:i},W=function(t,e){return!$(t)||!(e=Un.exec(t))?"":e[1]},ts=function(t,e,i){return Lt(i,function(r){return Oe(t,e,r)})},di=[].slice,Cr=function(t,e){return t&&wt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&wt(t[0]))&&!t.nodeType&&t!==gt},es=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(r){var n;return $(r)&&!e||Cr(r,1)?(n=i).push.apply(n,ht(r)):i.push(r)})||i},ht=function(t,e,i){return F&&!e&&F.selector?F.selector(t):$(t)&&!i&&(fi||!ae())?di.call((e||ki).querySelectorAll(t),0):K(t)?es(t,i):Cr(t)?di.call(t,0):t?[t]:[]},pi=function(t){return t=ht(t)[0]||ye("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return ht(e,i.querySelectorAll?i:i===t?ye("Invalid scope")||ki.createElement("div"):t)}},Mr=function(t){return t.sort(function(){return .5-Math.random()})},Ar=function(t){if(L(t))return t;var e=wt(t)?t:{each:t},i=Wt(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},o=r>0&&r<1,a=isNaN(r)||o,l=e.axis,f=r,h=r;return $(r)?f=h={center:.5,edges:.5,end:1}[r]||0:!o&&a&&(f=r[0],h=r[1]),function(c,d,m){var _=(m||e).length,p=s[_],x,g,v,T,y,b,P,S,w;if(!p){if(w=e.grid==="auto"?0:(e.grid||[1,_t])[1],!w){for(P=-_t;P<(P=m[w++].getBoundingClientRect().left)&&w<_;);w<_&&w--}for(p=s[_]=[],x=a?Math.min(w,_)*f-.5:r%w,g=w===_t?0:a?_*h/w-.5:r/w|0,P=0,S=_t,b=0;b<_;b++)v=b%w-x,T=g-(b/w|0),p[b]=y=l?Math.abs(l==="y"?T:v):_r(v*v+T*T),y>P&&(P=y),y<S&&(S=y);r==="random"&&Mr(p),p.max=P-S,p.min=S,p.v=_=(parseFloat(e.amount)||parseFloat(e.each)*(w>_?_-1:l?l==="y"?_/w:w:Math.max(w,_/w))||0)*(r==="edges"?-1:1),p.b=_<0?n-_:n,p.u=W(e.amount||e.each)||0,i=i&&_<0?Vr(i):i}return _=(p[c]-p.min)/p.max||0,X(p.b+(i?i(_):_)*p.v)+p.u}},mi=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=X(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(Ot(i)?0:W(i))}},Dr=function(t,e){var i=K(t),r,n;return!i&&wt(t)&&(r=i=t.radius||_t,t.values?(t=ht(t.values),(n=!Ot(t[0]))&&(r*=r)):t=mi(t.increment)),Lt(e,i?L(t)?function(s){return n=t(s),Math.abs(n-s)<=r?n:s}:function(s){for(var o=parseFloat(n?s.x:s),a=parseFloat(n?s.y:0),l=_t,f=0,h=t.length,c,d;h--;)n?(c=t[h].x-o,d=t[h].y-a,c=c*c+d*d):c=Math.abs(t[h]-o),c<l&&(l=c,f=h);return f=!r||l<=r?t[f]:s,n||f===s||Ot(s)?f:f+W(s)}:mi(t))},Rr=function(t,e,i,r){return Lt(K(t)?!e:i===!0?!!(i=0):!r,function(){return K(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})},is=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)}},rs=function(t,e){return function(i){return t(parseFloat(i))+(e||W(i))}},ns=function(t,e,i){return Fr(t,e,0,1,i)},Er=function(t,e,i){return Lt(i,function(r){return t[~~e(r)]})},ss=function u(t,e,i){var r=e-t;return K(t)?Er(t,u(0,t.length),e):Lt(i,function(n){return(r+(n-t)%r)%r+t})},os=function u(t,e,i){var r=e-t,n=r*2;return K(t)?Er(t,u(0,t.length-1),e):Lt(i,function(s){return s=(n+(s-t)%n)%n||0,t+(s>r?n-s:s)})},ve=function(t){for(var e=0,i="",r,n,s,o;~(r=t.indexOf("random(",e));)s=t.indexOf(")",r),o=t.charAt(r+7)==="[",n=t.substr(r+7,s-r-7).match(o?pr:li),i+=t.substr(e,r-e)+Rr(o?n:+n[0],o?0:+n[1],+n[2]||1e-5),e=s+1;return i+t.substr(e,t.length-e)},Fr=function(t,e,i,r,n){var s=e-t,o=r-i;return Lt(n,function(a){return i+((a-t)/s*o||0)})},as=function u(t,e,i,r){var n=isNaN(t+e)?0:function(d){return(1-d)*t+d*e};if(!n){var s=$(t),o={},a,l,f,h,c;if(i===!0&&(r=1)&&(i=null),s)t={p:t},e={p:e};else if(K(t)&&!K(e)){for(f=[],h=t.length,c=h-2,l=1;l<h;l++)f.push(u(t[l-1],t[l]));h--,n=function(m){m*=h;var _=Math.min(c,~~m);return f[_](m-_)},i=e}else r||(t=Kt(K(t)?[]:{},t));if(!f){for(a in e)Di.call(o,t,a,"get",e[a]);n=function(m){return zi(m,o)||(s?t.p:t)}}}return Lt(i,n)},Wi=function(t,e,i){var r=t.labels,n=_t,s,o,a;for(s in r)o=r[s]-e,o<0==!!i&&o&&n>(o=Math.abs(o))&&(a=s,n=o);return a},at=function(t,e,i){var r=t.vars,n=r[e],s=F,o=t._ctx,a,l,f;if(n)return a=r[e+"Params"],l=r.callbackScope||t,i&&Rt.length&&Ne(),o&&(F=o),f=a?n.apply(l,a):n.call(l),F=s,f},ce=function(t){return zt(t),t.scrollTrigger&&t.scrollTrigger.kill(!!q),t.progress()<1&&at(t,"onInterrupt"),t},te,zr=[],Ir=function(t){if(t)if(t=!t.name&&t.default||t,Si()||t.headless){var e=t.name,i=L(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:xe,render:zi,add:Di,kill:bs,modifier:ws,rawVars:0},s={targetTest:0,get:0,getSetter:Fi,aliases:{},register:0};if(ae(),t!==r){if(st[e])return;ct(r,ct(Ve(t,n),s)),Kt(r.prototype,Kt(n,Ve(t,s))),st[r.prop=e]=r,t.targetTest&&(ze.push(r),Ci[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}yr(e,r),t.register&&t.register(nt,r,it)}else zr.push(t)},C=255,de={aqua:[0,C,C],lime:[0,C,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,C],navy:[0,0,128],white:[C,C,C],olive:[128,128,0],yellow:[C,C,0],orange:[C,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[C,0,0],pink:[C,192,203],cyan:[0,C,C],transparent:[C,C,C,0]},Ze=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)*C+.5|0},Lr=function(t,e,i){var r=t?Ot(t)?[t>>16,t>>8&C,t&C]:0:de.black,n,s,o,a,l,f,h,c,d,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),o=t.charAt(3),t="#"+n+n+s+s+o+o+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return r=parseInt(t.substr(1,6),16),[r>>16,r>>8&C,r&C,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),r=[t>>16,t>>8&C,t&C]}else if(t.substr(0,3)==="hsl"){if(r=m=t.match(li),!e)a=+r[0]%360/360,l=+r[1]/100,f=+r[2]/100,s=f<=.5?f*(l+1):f+l-f*l,n=f*2-s,r.length>3&&(r[3]*=1),r[0]=Ze(a+1/3,n,s),r[1]=Ze(a,n,s),r[2]=Ze(a-1/3,n,s);else if(~t.indexOf("="))return r=t.match(cr),i&&r.length<4&&(r[3]=1),r}else r=t.match(li)||de.transparent;r=r.map(Number)}return e&&!m&&(n=r[0]/C,s=r[1]/C,o=r[2]/C,h=Math.max(n,s,o),c=Math.min(n,s,o),f=(h+c)/2,h===c?a=l=0:(d=h-c,l=f>.5?d/(2-h-c):d/(h+c),a=h===n?(s-o)/d+(s<o?6:0):h===s?(o-n)/d+2:(n-s)/d+4,a*=60),r[0]=~~(a+.5),r[1]=~~(l*100+.5),r[2]=~~(f*100+.5)),i&&r.length<4&&(r[3]=1),r},Br=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},qi=function(t,e,i){var r="",n=(t+r).match(Et),s=e?"hsla(":"rgba(",o=0,a,l,f,h;if(!n)return t;if(n=n.map(function(c){return(c=Lr(c,e,1))&&s+(e?c[0]+","+c[1]+"%,"+c[2]+"%,"+c[3]:c.join(","))+")"}),i&&(f=Br(t),a=i.c,a.join(r)!==f.c.join(r)))for(l=t.replace(Et,"1").split(Jt),h=l.length-1;o<h;o++)r+=l[o]+(~a.indexOf(o)?n.shift()||s+"0,0,0,0)":(f.length?f:n.length?n:i).shift());if(!l)for(l=t.split(Et),h=l.length-1;o<h;o++)r+=l[o]+n[o];return r+l[h]},Et=function(){var u="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in de)u+="|"+t+"\\b";return new RegExp(u+")","gi")}(),us=/hsl[a]?\(/,Nr=function(t){var e=t.join(" "),i;if(Et.lastIndex=0,Et.test(e))return i=us.test(e),t[1]=qi(t[1],i),t[0]=qi(t[0],i,Br(t[1])),!0},Te,ot=function(){var u=Date.now,t=500,e=33,i=u(),r=i,n=1e3/240,s=n,o=[],a,l,f,h,c,d,m=function _(p){var x=u()-r,g=p===!0,v,T,y,b;if((x>t||x<0)&&(i+=x-e),r+=x,y=r-i,v=y-s,(v>0||g)&&(b=++h.frame,c=y-h.time*1e3,h.time=y=y/1e3,s+=v+(v>=n?4:n-v),T=1),g||(a=l(_)),T)for(d=0;d<o.length;d++)o[d](y,c,b,p)};return h={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(p){return c/(1e3/(p||60))},wake:function(){mr&&(!fi&&Si()&&(gt=fi=window,ki=gt.document||{},lt.gsap=nt,(gt.gsapVersions||(gt.gsapVersions=[])).push(nt.version),gr(Be||gt.GreenSockGlobals||!gt.gsap&&gt||{}),zr.forEach(Ir)),f=typeof requestAnimationFrame<"u"&&requestAnimationFrame,a&&h.sleep(),l=f||function(p){return setTimeout(p,s-h.time*1e3+1|0)},Te=1,m(2))},sleep:function(){(f?cancelAnimationFrame:clearTimeout)(a),Te=0,l=xe},lagSmoothing:function(p,x){t=p||1/0,e=Math.min(x||33,t)},fps:function(p){n=1e3/(p||240),s=h.time*1e3+n},add:function(p,x,g){var v=x?function(T,y,b,P){p(T,y,b,P),h.remove(v)}:p;return h.remove(p),o[g?"unshift":"push"](v),ae(),v},remove:function(p,x){~(x=o.indexOf(p))&&o.splice(x,1)&&d>=x&&d--},_listeners:o},h}(),ae=function(){return!Te&&ot.wake()},k={},ls=/^[\d.\-M][\d.\-,\s]/,fs=/["']/g,_s=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),r=i[0],n=1,s=i.length,o,a,l;n<s;n++)a=i[n],o=n!==s-1?a.lastIndexOf(","):a.length,l=a.substr(0,o),e[r]=isNaN(l)?l.replace(fs,"").trim():+l,r=a.substr(o+1).trim();return e},hs=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)},cs=function(t){var e=(t+"").split("("),i=k[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[_s(e[1])]:hs(t).split(",").map(wr)):k._CE&&ls.test(t)?k._CE("",t):i},Vr=function(t){return function(e){return 1-t(1-e)}},Yr=function u(t,e){for(var i=t._first,r;i;)i instanceof j?u(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?u(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next},Wt=function(t,e){return t&&(L(t)?t:k[t]||cs(t))||e},Ht=function(t,e,i,r){i===void 0&&(i=function(a){return 1-e(1-a)}),r===void 0&&(r=function(a){return a<.5?e(a*2)/2:1-e((1-a)*2)/2});var n={easeIn:e,easeOut:i,easeInOut:r},s;return et(t,function(o){k[o]=lt[o]=n,k[s=o.toLowerCase()]=i;for(var a in n)k[s+(a==="easeIn"?".in":a==="easeOut"?".out":".inOut")]=k[o+"."+a]=n[a]}),n},Ur=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},Je=function u(t,e,i){var r=e>=1?e:1,n=(i||(t?.3:.45))/(e<1?e:1),s=n/ui*(Math.asin(1/r)||0),o=function(f){return f===1?1:r*Math.pow(2,-10*f)*Yn((f-s)*n)+1},a=t==="out"?o:t==="in"?function(l){return 1-o(1-l)}:Ur(o);return n=ui/n,a.config=function(l,f){return u(t,l,f)},a},ti=function u(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)}:Ur(i);return r.config=function(n){return u(t,n)},r};et("Linear,Quad,Cubic,Quart,Quint,Strong",function(u,t){var e=t<5?t+1:t;Ht(u+",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})});k.Linear.easeNone=k.none=k.Linear.easeIn;Ht("Elastic",Je("in"),Je("out"),Je());(function(u,t){var e=1/t,i=2*e,r=2.5*e,n=function(o){return o<e?u*o*o:o<i?u*Math.pow(o-1.5/t,2)+.75:o<r?u*(o-=2.25/t)*o+.9375:u*Math.pow(o-2.625/t,2)+.984375};Ht("Bounce",function(s){return 1-n(1-s)},n)})(7.5625,2.75);Ht("Expo",function(u){return u?Math.pow(2,10*(u-1)):0});Ht("Circ",function(u){return-(_r(1-u*u)-1)});Ht("Sine",function(u){return u===1?1:-Vn(u*Bn)+1});Ht("Back",ti("in"),ti("out"),ti());k.SteppedEase=k.steps=lt.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-D;return function(o){return((r*Oe(0,s,o)|0)+n)*i}}};ne.ease=k["quad.out"];et("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(u){return Mi+=u+","+u+"Params,"});var Xr=function(t,e){this.id=Nn++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:vr,this.set=e?e.getSetter:Fi},we=function(){function u(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,oe(this,+e.duration,1,1),this.data=e.data,F&&(this._ctx=F,F.data.push(this)),Te||ot.wake()}var t=u.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,oe(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,r){if(ae(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(qe(this,i),!n._dp||n.parent||Sr(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)&&yt(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===D||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),Tr(this,i,r)),this},t.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+$i(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?1:0},t.progress=function(i,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+$i(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?se(this._tTime,n)+1:1},t.timeScale=function(i,r){if(!arguments.length)return this._rts===-D?0:this._rts;if(this._rts===i)return this;var n=this.parent&&this._ts?Ye(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-D?0:this._rts,this.totalTime(Oe(-Math.abs(this._delay),this._tDur,n),r!==!1),We(this),Kn(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):(ae(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==D&&(this._tTime-=D)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=i;var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&yt(r,this,i-this._delay),this}return this._start},t.endTime=function(i){return this._start+(tt(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?Ye(r.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=$n);var r=q;return q=i,(this._initted||this._startAt)&&(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,Gi(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,Gi(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(ft(this,i),tt(r))},t.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,tt(r))},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?-D:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-D,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)-D)},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;return new Promise(function(n){var s=L(i)?i:br,o=function(){var l=r.then;r.then=null,L(s)&&(s=s(r))&&(s.then||s===r)&&(r.then=l),n(s),r.then=l};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?o():r._prom=o})},t.kill=function(){ce(this)},u}();ct(we.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:-D,_prom:0,_ps:!1,_rts:1});var j=function(u){fr(t,u);function t(i,r){var n;return i===void 0&&(i={}),n=u.call(this,i)||this,n.labels={},n.smoothChildTiming=!!i.smoothChildTiming,n.autoRemoveChildren=!!i.autoRemoveChildren,n._sort=tt(i.sortChildren),z&&yt(i.parent||z,Pt(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&kr(Pt(n),i.scrollTrigger),n}var e=t.prototype;return e.to=function(r,n,s){return me(0,arguments,this),this},e.from=function(r,n,s){return me(1,arguments,this),this},e.fromTo=function(r,n,s,o){return me(2,arguments,this),this},e.set=function(r,n,s){return n.duration=0,n.parent=this,pe(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new V(r,n,ft(this,s),1),this},e.call=function(r,n,s){return yt(this,V.delayedCall(0,r,n),s)},e.staggerTo=function(r,n,s,o,a,l,f){return s.duration=n,s.stagger=s.stagger||o,s.onComplete=l,s.onCompleteParams=f,s.parent=this,new V(r,s,ft(this,a)),this},e.staggerFrom=function(r,n,s,o,a,l,f){return s.runBackwards=1,pe(s).immediateRender=tt(s.immediateRender),this.staggerTo(r,n,s,o,a,l,f)},e.staggerFromTo=function(r,n,s,o,a,l,f,h){return o.startAt=s,pe(o).immediateRender=tt(o.immediateRender),this.staggerTo(r,n,o,a,l,f,h)},e.render=function(r,n,s){var o=this._time,a=this._dirty?this.totalDuration():this._tDur,l=this._dur,f=r<=0?0:X(r),h=this._zTime<0!=r<0&&(this._initted||!l),c,d,m,_,p,x,g,v,T,y,b,P;if(this!==z&&f>a&&r>=0&&(f=a),f!==this._tTime||s||h){if(o!==this._time&&l&&(f+=this._time-o,r+=this._time-o),c=f,T=this._start,v=this._ts,x=!v,h&&(l||(o=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(b=this._yoyo,p=l+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(p*100+r,n,s);if(c=X(f%p),f===a?(_=this._repeat,c=l):(_=~~(f/p),_&&_===f/p&&(c=l,_--),c>l&&(c=l)),y=se(this._tTime,p),!o&&this._tTime&&y!==_&&this._tTime-y*p-this._dur<=0&&(y=_),b&&_&1&&(c=l-c,P=1),_!==y&&!this._lock){var S=b&&y&1,w=S===(b&&_&1);if(_<y&&(S=!S),o=S?0:f%l?l:f,this._lock=1,this.render(o||(P?0:X(_*p)),n,!l)._lock=0,this._tTime=f,!n&&this.parent&&at(this,"onRepeat"),this.vars.repeatRefresh&&!P&&(this.invalidate()._lock=1),o&&o!==this._time||x!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(l=this._dur,a=this._tDur,w&&(this._lock=2,o=S?l:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!P&&this.invalidate()),this._lock=0,!this._ts&&!x)return this;Yr(this,P)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(g=Zn(this,X(o),X(c)),g&&(f-=c-(c=g._start))),this._tTime=f,this._time=c,this._act=!v,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,o=0),!o&&c&&!n&&!_&&(at(this,"onStart"),this._tTime!==f))return this;if(c>=o&&r>=0)for(d=this._first;d;){if(m=d._next,(d._act||c>=d._start)&&d._ts&&g!==d){if(d.parent!==this)return this.render(r,n,s);if(d.render(d._ts>0?(c-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(c-d._start)*d._ts,n,s),c!==this._time||!this._ts&&!x){g=0,m&&(f+=this._zTime=-D);break}}d=m}else{d=this._last;for(var O=r<0?r:c;d;){if(m=d._prev,(d._act||O<=d._end)&&d._ts&&g!==d){if(d.parent!==this)return this.render(r,n,s);if(d.render(d._ts>0?(O-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(O-d._start)*d._ts,n,s||q&&(d._initted||d._startAt)),c!==this._time||!this._ts&&!x){g=0,m&&(f+=this._zTime=O?-D:D);break}}d=m}}if(g&&!n&&(this.pause(),g.render(c>=o?0:-D)._zTime=c>=o?1:-1,this._ts))return this._start=T,We(this),this.render(r,n,s);this._onUpdate&&!n&&at(this,"onUpdate",!0),(f===a&&this._tTime>=this.totalDuration()||!f&&o)&&(T===this._start||Math.abs(v)!==Math.abs(this._ts))&&(this._lock||((r||!l)&&(f===a&&this._ts>0||!f&&this._ts<0)&&zt(this,1),!n&&!(r<0&&!o)&&(f||o||!a)&&(at(this,f===a&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(f<a&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(r,n){var s=this;if(Ot(n)||(n=ft(this,n,r)),!(r instanceof we)){if(K(r))return r.forEach(function(o){return s.add(o,n)}),this;if($(r))return this.addLabel(r,n);if(L(r))r=V.delayedCall(0,r);else return this}return this!==r?yt(this,r,n):this},e.getChildren=function(r,n,s,o){r===void 0&&(r=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),o===void 0&&(o=-_t);for(var a=[],l=this._first;l;)l._start>=o&&(l instanceof V?n&&a.push(l):(s&&a.push(l),r&&a.push.apply(a,l.getChildren(!0,n,s)))),l=l._next;return a},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 $(r)?this.removeLabel(r):L(r)?this.killTweensOf(r):(Ge(this,r),r===this._recent&&(this._recent=this._last),Gt(this))},e.totalTime=function(r,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=X(ot.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),u.prototype.totalTime.call(this,r,n),this._forcing=0,this):this._tTime},e.addLabel=function(r,n){return this.labels[r]=ft(this,n),this},e.removeLabel=function(r){return delete this.labels[r],this},e.addPause=function(r,n,s){var o=V.delayedCall(0,n||xe,s);return o.data="isPause",this._hasPause=1,yt(this,o,ft(this,r))},e.removePause=function(r){var n=this._first;for(r=ft(this,r);n;)n._start===r&&n.data==="isPause"&&zt(n),n=n._next},e.killTweensOf=function(r,n,s){for(var o=this.getTweensOf(r,s),a=o.length;a--;)Mt!==o[a]&&o[a].kill(r,n);return this},e.getTweensOf=function(r,n){for(var s=[],o=ht(r),a=this._first,l=Ot(n),f;a;)a instanceof V?Gn(a._targets,o)&&(l?(!Mt||a._initted&&a._ts)&&a.globalTime(0)<=n&&a.globalTime(a.totalDuration())>n:!n||a.isActive())&&s.push(a):(f=a.getTweensOf(o,n)).length&&s.push.apply(s,f),a=a._next;return s},e.tweenTo=function(r,n){n=n||{};var s=this,o=ft(s,r),a=n,l=a.startAt,f=a.onStart,h=a.onStartParams,c=a.immediateRender,d,m=V.to(s,ct({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:n.duration||Math.abs((o-(l&&"time"in l?l.time:s._time))/s.timeScale())||D,onStart:function(){if(s.pause(),!d){var p=n.duration||Math.abs((o-(l&&"time"in l?l.time:s._time))/s.timeScale());m._dur!==p&&oe(m,p,0,1).render(m._time,!0,!0),d=1}f&&f.apply(m,h||[])}},n));return c?m.render(0):m},e.tweenFromTo=function(r,n,s){return this.tweenTo(n,ct({startAt:{time:ft(this,r)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(r){return r===void 0&&(r=this._time),Wi(this,ft(this,r))},e.previousLabel=function(r){return r===void 0&&(r=this._time),Wi(this,ft(this,r),1)},e.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+D)},e.shiftChildren=function(r,n,s){s===void 0&&(s=0);for(var o=this._first,a=this.labels,l;o;)o._start>=s&&(o._start+=r,o._end+=r),o=o._next;if(n)for(l in a)a[l]>=s&&(a[l]+=r);return Gt(this)},e.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return u.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={}),Gt(this)},e.totalDuration=function(r){var n=0,s=this,o=s._last,a=_t,l,f,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;o;)l=o._prev,o._dirty&&o.totalDuration(),f=o._start,f>a&&s._sort&&o._ts&&!s._lock?(s._lock=1,yt(s,o,f-o._delay,1)._lock=0):a=f,f<0&&o._ts&&(n-=f,(!h&&!s._dp||h&&h.smoothChildTiming)&&(s._start+=f/s._ts,s._time-=f,s._tTime-=f),s.shiftChildren(-f,!1,-1/0),a=0),o._end>n&&o._ts&&(n=o._end),o=l;oe(s,s===z&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(r){if(z._ts&&(Tr(z,Ye(r,z)),xr=ot.frame),ot.frame>=Ui){Ui+=ut.autoSleep||120;var n=z._first;if((!n||!n._ts)&&ut.autoSleep&&ot._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||ot.sleep()}}},t}(we);ct(j.prototype,{_lock:0,_hasPause:0,_forcing:0});var ds=function(t,e,i,r,n,s,o){var a=new it(this._pt,t,e,0,1,jr,null,n),l=0,f=0,h,c,d,m,_,p,x,g;for(a.b=i,a.e=r,i+="",r+="",(x=~r.indexOf("random("))&&(r=ve(r)),s&&(g=[i,r],s(g,t,e),i=g[0],r=g[1]),c=i.match(He)||[];h=He.exec(r);)m=h[0],_=r.substring(l,h.index),d?d=(d+1)%5:_.substr(-5)==="rgba("&&(d=1),m!==c[f++]&&(p=parseFloat(c[f-1])||0,a._pt={_next:a._pt,p:_||f===1?_:",",s:p,c:m.charAt(1)==="="?ee(p,m)-p:parseFloat(m)-p,m:d&&d<4?Math.round:0},l=He.lastIndex);return a.c=l<r.length?r.substring(l,r.length):"",a.fp=o,(dr.test(r)||x)&&(a.e=0),this._pt=a,a},Di=function(t,e,i,r,n,s,o,a,l,f){L(r)&&(r=r(n||0,t,s));var h=t[e],c=i!=="get"?i:L(h)?l?t[e.indexOf("set")||!L(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():h,d=L(h)?l?xs:qr:Ei,m;if($(r)&&(~r.indexOf("random(")&&(r=ve(r)),r.charAt(1)==="="&&(m=ee(c,r)+(W(c)||0),(m||m===0)&&(r=m))),!f||c!==r||gi)return!isNaN(c*r)&&r!==""?(m=new it(this._pt,t,e,+c||0,r-(c||0),typeof h=="boolean"?Ts:Kr,0,d),l&&(m.fp=l),o&&m.modifier(o,this,t),this._pt=m):(!h&&!(e in t)&&Oi(e,r),ds.call(this,t,e,c,r,d,a||ut.stringFilter,l))},ps=function(t,e,i,r,n){if(L(t)&&(t=ge(t,n,e,i,r)),!wt(t)||t.style&&t.nodeType||K(t)||hr(t))return $(t)?ge(t,n,e,i,r):t;var s={},o;for(o in t)s[o]=ge(t[o],n,e,i,r);return s},$r=function(t,e,i,r,n,s){var o,a,l,f;if(st[t]&&(o=new st[t]).init(n,o.rawVars?e[t]:ps(e[t],r,n,s,i),i,r,s)!==!1&&(i._pt=a=new it(i._pt,n,t,0,1,o.render,o,0,o.priority),i!==te))for(l=i._ptLookup[i._targets.indexOf(n)],f=o._props.length;f--;)l[o._props[f]]=a;return o},Mt,gi,Ri=function u(t,e,i){var r=t.vars,n=r.ease,s=r.startAt,o=r.immediateRender,a=r.lazy,l=r.onUpdate,f=r.runBackwards,h=r.yoyoEase,c=r.keyframes,d=r.autoRevert,m=t._dur,_=t._startAt,p=t._targets,x=t.parent,g=x&&x.data==="nested"?x.vars.targets:p,v=t._overwrite==="auto"&&!bi,T=t.timeline,y,b,P,S,w,O,E,M,A,G,Y,N,U;if(T&&(!c||!n)&&(n="none"),t._ease=Wt(n,ne.ease),t._yEase=h?Vr(Wt(h===!0?n:h,ne.ease)):0,h&&t._yoyo&&!t._repeat&&(h=t._yEase,t._yEase=t._ease,t._ease=h),t._from=!T&&!!r.runBackwards,!T||c&&!r.stagger){if(M=p[0]?$t(p[0]).harness:0,N=M&&r[M.prop],y=Ve(r,Ci),_&&(_._zTime<0&&_.progress(1),e<0&&f&&o&&!d?_.render(-1,!0):_.revert(f&&m?Fe:Xn),_._lazy=0),s){if(zt(t._startAt=V.set(p,ct({data:"isStart",overwrite:!1,parent:x,immediateRender:!0,lazy:!_&&tt(a),startAt:null,delay:0,onUpdate:l&&function(){return at(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(q||!o&&!d)&&t._startAt.revert(Fe),o&&m&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(f&&m&&!_){if(e&&(o=!1),P=ct({overwrite:!1,data:"isFromStart",lazy:o&&!_&&tt(a),immediateRender:o,stagger:0,parent:x},y),N&&(P[M.prop]=N),zt(t._startAt=V.set(p,P)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(q?t._startAt.revert(Fe):t._startAt.render(-1,!0)),t._zTime=e,!o)u(t._startAt,D,D);else if(!e)return}for(t._pt=t._ptCache=0,a=m&&tt(a)||a&&!m,b=0;b<p.length;b++){if(w=p[b],E=w._gsap||Ai(p)[b]._gsap,t._ptLookup[b]=G={},_i[E.id]&&Rt.length&&Ne(),Y=g===p?b:g.indexOf(w),M&&(A=new M).init(w,N||y,t,Y,g)!==!1&&(t._pt=S=new it(t._pt,w,A.name,0,1,A.render,A,0,A.priority),A._props.forEach(function(dt){G[dt]=S}),A.priority&&(O=1)),!M||N)for(P in y)st[P]&&(A=$r(P,y,t,Y,w,g))?A.priority&&(O=1):G[P]=S=Di.call(t,w,P,"get",y[P],Y,g,0,r.stringFilter);t._op&&t._op[b]&&t.kill(w,t._op[b]),v&&t._pt&&(Mt=t,z.killTweensOf(w,G,t.globalTime(e)),U=!t.parent,Mt=0),t._pt&&a&&(_i[E.id]=1)}O&&Hr(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!U,c&&e<=0&&T.render(_t,!0,!0)},ms=function(t,e,i,r,n,s,o,a){var l=(t._pt&&t._ptCache||(t._ptCache={}))[e],f,h,c,d;if(!l)for(l=t._ptCache[e]=[],c=t._ptLookup,d=t._targets.length;d--;){if(f=c[d][e],f&&f.d&&f.d._pt)for(f=f.d._pt;f&&f.p!==e&&f.fp!==e;)f=f._next;if(!f)return gi=1,t.vars[e]="+=0",Ri(t,o),gi=0,a?ye(e+" not eligible for reset"):1;l.push(f)}for(d=l.length;d--;)h=l[d],f=h._pt||h,f.s=(r||r===0)&&!n?r:f.s+(r||0)+s*f.c,f.c=i-f.s,h.e&&(h.e=B(i)+W(h.e)),h.b&&(h.b=f.s+W(h.b))},gs=function(t,e){var i=t[0]?$t(t[0]).harness:0,r=i&&i.aliases,n,s,o,a;if(!r)return e;n=Kt({},e);for(s in r)if(s in n)for(a=r[s].split(","),o=a.length;o--;)n[a[o]]=n[s];return n},ys=function(t,e,i,r){var n=e.ease||r||"power1.inOut",s,o;if(K(e))o=i[t]||(i[t]=[]),e.forEach(function(a,l){return o.push({t:l/(e.length-1)*100,v:a,e:n})});else for(s in e)o=i[s]||(i[s]=[]),s==="ease"||o.push({t:parseFloat(t),v:e[s],e:n})},ge=function(t,e,i,r,n){return L(t)?t.call(e,i,r,n):$(t)&&~t.indexOf("random(")?ve(t):t},Gr=Mi+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Wr={};et(Gr+",id,stagger,delay,duration,paused,scrollTrigger",function(u){return Wr[u]=1});var V=function(u){fr(t,u);function t(i,r,n,s){var o;typeof r=="number"&&(n.duration=r,r=n,n=null),o=u.call(this,s?r:pe(r))||this;var a=o.vars,l=a.duration,f=a.delay,h=a.immediateRender,c=a.stagger,d=a.overwrite,m=a.keyframes,_=a.defaults,p=a.scrollTrigger,x=a.yoyoEase,g=r.parent||z,v=(K(i)||hr(i)?Ot(i[0]):"length"in r)?[i]:ht(i),T,y,b,P,S,w,O,E;if(o._targets=v.length?Ai(v):ye("GSAP target "+i+" not found. https://gsap.com",!ut.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=d,m||c||Re(l)||Re(f)){if(r=o.vars,T=o.timeline=new j({data:"nested",defaults:_||{},targets:g&&g.data==="nested"?g.vars.targets:v}),T.kill(),T.parent=T._dp=Pt(o),T._start=0,c||Re(l)||Re(f)){if(P=v.length,O=c&&Ar(c),wt(c))for(S in c)~Gr.indexOf(S)&&(E||(E={}),E[S]=c[S]);for(y=0;y<P;y++)b=Ve(r,Wr),b.stagger=0,x&&(b.yoyoEase=x),E&&Kt(b,E),w=v[y],b.duration=+ge(l,Pt(o),y,w,v),b.delay=(+ge(f,Pt(o),y,w,v)||0)-o._delay,!c&&P===1&&b.delay&&(o._delay=f=b.delay,o._start+=f,b.delay=0),T.to(w,b,O?O(y,w,v):0),T._ease=k.none;T.duration()?l=f=0:o.timeline=0}else if(m){pe(ct(T.vars.defaults,{ease:"none"})),T._ease=Wt(m.ease||r.ease||"none");var M=0,A,G,Y;if(K(m))m.forEach(function(N){return T.to(v,N,">")}),T.duration();else{b={};for(S in m)S==="ease"||S==="easeEach"||ys(S,m[S],b,m.easeEach);for(S in b)for(A=b[S].sort(function(N,U){return N.t-U.t}),M=0,y=0;y<A.length;y++)G=A[y],Y={ease:G.e,duration:(G.t-(y?A[y-1].t:0))/100*l},Y[S]=G.v,T.to(v,Y,M),M+=Y.duration;T.duration()<l&&T.to({},{duration:l-T.duration()})}}l||o.duration(l=T.duration())}else o.timeline=0;return d===!0&&!bi&&(Mt=Pt(o),z.killTweensOf(v),Mt=0),yt(g,Pt(o),n),r.reversed&&o.reverse(),r.paused&&o.paused(!0),(h||!l&&!m&&o._start===X(g._time)&&tt(h)&&jn(Pt(o))&&g.data!=="nested")&&(o._tTime=-D,o.render(Math.max(0,-f)||0)),p&&kr(Pt(o),p),o}var e=t.prototype;return e.render=function(r,n,s){var o=this._time,a=this._tDur,l=this._dur,f=r<0,h=r>a-D&&!f?a:r<D?0:r,c,d,m,_,p,x,g,v,T;if(!l)Qn(this,r,n,s);else if(h!==this._tTime||!r||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==f){if(c=h,v=this.timeline,this._repeat){if(_=l+this._rDelay,this._repeat<-1&&f)return this.totalTime(_*100+r,n,s);if(c=X(h%_),h===a?(m=this._repeat,c=l):(m=~~(h/_),m&&m===X(h/_)&&(c=l,m--),c>l&&(c=l)),x=this._yoyo&&m&1,x&&(T=this._yEase,c=l-c),p=se(this._tTime,_),c===o&&!s&&this._initted&&m===p)return this._tTime=h,this;m!==p&&(v&&this._yEase&&Yr(v,x),this.vars.repeatRefresh&&!x&&!this._lock&&this._time!==_&&this._initted&&(this._lock=s=1,this.render(X(_*m),!0).invalidate()._lock=0))}if(!this._initted){if(Or(this,f?r:c,s,n,h))return this._tTime=0,this;if(o!==this._time&&!(s&&this.vars.repeatRefresh&&m!==p))return this;if(l!==this._dur)return this.render(r,n,s)}if(this._tTime=h,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=g=(T||this._ease)(c/l),this._from&&(this.ratio=g=1-g),c&&!o&&!n&&!m&&(at(this,"onStart"),this._tTime!==h))return this;for(d=this._pt;d;)d.r(g,d.d),d=d._next;v&&v.render(r<0?r:v._dur*v._ease(c/this._dur),n,s)||this._startAt&&(this._zTime=r),this._onUpdate&&!n&&(f&&hi(this,r,n,s),at(this,"onUpdate")),this._repeat&&m!==p&&this.vars.onRepeat&&!n&&this.parent&&at(this,"onRepeat"),(h===this._tDur||!h)&&this._tTime===h&&(f&&!this._onUpdate&&hi(this,r,!0,!0),(r||!l)&&(h===this._tDur&&this._ts>0||!h&&this._ts<0)&&zt(this,1),!n&&!(f&&!o)&&(h||o||x)&&(at(this,h===a?"onComplete":"onReverseComplete",!0),this._prom&&!(h<a&&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),u.prototype.invalidate.call(this,r)},e.resetTo=function(r,n,s,o,a){Te||ot.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),f;return this._initted||Ri(this,l),f=this._ease(l/this._dur),ms(this,r,n,s,o,f,l,a)?this.resetTo(r,n,s,o,1):(qe(this,0),this.parent||Pr(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?ce(this):this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,Mt&&Mt.vars.overwrite!==!0)._first||ce(this),this.parent&&s!==this.timeline.totalDuration()&&oe(this,this._dur*this.timeline._tDur/s,0,1),this}var o=this._targets,a=r?ht(r):o,l=this._ptLookup,f=this._pt,h,c,d,m,_,p,x;if((!n||n==="all")&&qn(o,a))return n==="all"&&(this._pt=0),ce(this);for(h=this._op=this._op||[],n!=="all"&&($(n)&&(_={},et(n,function(g){return _[g]=1}),n=_),n=gs(o,n)),x=o.length;x--;)if(~a.indexOf(o[x])){c=l[x],n==="all"?(h[x]=n,m=c,d={}):(d=h[x]=h[x]||{},m=n);for(_ in m)p=c&&c[_],p&&((!("kill"in p.d)||p.d.kill(_)===!0)&&Ge(this,p,"_pt"),delete c[_]),d!=="all"&&(d[_]=1)}return this._initted&&!this._pt&&f&&ce(this),this},t.to=function(r,n){return new t(r,n,arguments[2])},t.from=function(r,n){return me(1,arguments)},t.delayedCall=function(r,n,s,o){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:o})},t.fromTo=function(r,n,s){return me(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 z.killTweensOf(r,n,s)},t}(we);ct(V.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});et("staggerTo,staggerFrom,staggerFromTo",function(u){V[u]=function(){var t=new j,e=di.call(arguments,0);return e.splice(u==="staggerFromTo"?5:4,0,0),t[u].apply(t,e)}});var Ei=function(t,e,i){return t[e]=i},qr=function(t,e,i){return t[e](i)},xs=function(t,e,i,r){return t[e](r.fp,i)},vs=function(t,e,i){return t.setAttribute(e,i)},Fi=function(t,e){return L(t[e])?qr:Pi(t[e])&&t.setAttribute?vs:Ei},Kr=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},Ts=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},jr=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)},zi=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},ws=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},bs=function(t){for(var e=this._pt,i,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?Ge(this,e,"_pt"):e.dep||(i=1),e=r;return!i},Ps=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},Hr=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},it=function(){function u(e,i,r,n,s,o,a,l,f){this.t=i,this.s=n,this.c=s,this.p=r,this.r=o||Kr,this.d=a||this,this.set=l||Ei,this.pr=f||0,this._next=e,e&&(e._prev=this)}var t=u.prototype;return t.modifier=function(i,r,n){this.mSet=this.mSet||this.set,this.set=Ps,this.m=i,this.mt=n,this.tween=r},u}();et(Mi+"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(u){return Ci[u]=1});lt.TweenMax=lt.TweenLite=V;lt.TimelineLite=lt.TimelineMax=j;z=new j({sortChildren:!1,defaults:ne,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});ut.stringFilter=Nr;var qt=[],Ie={},Ss=[],Ki=0,ks=0,ei=function(t){return(Ie[t]||Ss).map(function(e){return e()})},yi=function(){var t=Date.now(),e=[];t-Ki>2&&(ei("matchMediaInit"),qt.forEach(function(i){var r=i.queries,n=i.conditions,s,o,a,l;for(o in r)s=gt.matchMedia(r[o]).matches,s&&(a=1),s!==n[o]&&(n[o]=s,l=1);l&&(i.revert(),a&&e.push(i))}),ei("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(r){return i.add(null,r)})}),Ki=t,ei("matchMedia"))},Qr=function(){function u(e,i){this.selector=i&&pi(i),this.data=[],this._r=[],this.isReverted=!1,this.id=ks++,e&&this.add(e)}var t=u.prototype;return t.add=function(i,r,n){L(i)&&(n=r,r=i,i=L);var s=this,o=function(){var l=F,f=s.selector,h;return l&&l!==s&&l.data.push(s),n&&(s.selector=pi(n)),F=s,h=r.apply(s,arguments),L(h)&&s._r.push(h),F=l,s.selector=f,s.isReverted=!1,h};return s.last=o,i===L?o(s,function(a){return s.add(null,a)}):i?s[i]=o:o},t.ignore=function(i){var r=F;F=null,i(this),F=r},t.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof u?i.push.apply(i,r.getTweens()):r instanceof V&&!(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 o=n.getTweens(),a=n.data.length,l;a--;)l=n.data[a],l.data==="isFlip"&&(l.revert(),l.getChildren(!0,!0,!1).forEach(function(f){return o.splice(o.indexOf(f),1)}));for(o.map(function(f){return{g:f._dur||f._delay||f._sat&&!f._sat.vars.immediateRender?f.globalTime(0):-1/0,t:f}}).sort(function(f,h){return h.g-f.g||-1/0}).forEach(function(f){return f.t.revert(i)}),a=n.data.length;a--;)l=n.data[a],l instanceof j?l.data!=="nested"&&(l.scrollTrigger&&l.scrollTrigger.revert(),l.kill()):!(l instanceof V)&&l.revert&&l.revert(i);n._r.forEach(function(f){return f(i,n)}),n.isReverted=!0}():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),r)for(var s=qt.length;s--;)qt[s].id===this.id&&qt.splice(s,1)},t.revert=function(i){this.kill(i||{})},u}(),Os=function(){function u(e){this.contexts=[],this.scope=e,F&&F.data.push(this)}var t=u.prototype;return t.add=function(i,r,n){wt(i)||(i={matches:i});var s=new Qr(0,n||this.scope),o=s.conditions={},a,l,f;F&&!s.selector&&(s.selector=F.selector),this.contexts.push(s),r=s.add("onMatch",r),s.queries=i;for(l in i)l==="all"?f=1:(a=gt.matchMedia(i[l]),a&&(qt.indexOf(s)<0&&qt.push(s),(o[l]=a.matches)&&(f=1),a.addListener?a.addListener(yi):a.addEventListener("change",yi)));return f&&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)})},u}(),Ue={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 Ir(r)})},timeline:function(t){return new j(t)},getTweensOf:function(t,e){return z.getTweensOf(t,e)},getProperty:function(t,e,i,r){$(t)&&(t=ht(t)[0]);var n=$t(t||{}).get,s=i?br:wr;return i==="native"&&(i=""),t&&(e?s((st[e]&&st[e].get||n)(t,e,i,r)):function(o,a,l){return s((st[o]&&st[o].get||n)(t,o,a,l))})},quickSetter:function(t,e,i){if(t=ht(t),t.length>1){var r=t.map(function(f){return nt.quickSetter(f,e,i)}),n=r.length;return function(f){for(var h=n;h--;)r[h](f)}}t=t[0]||{};var s=st[e],o=$t(t),a=o.harness&&(o.harness.aliases||{})[e]||e,l=s?function(f){var h=new s;te._pt=0,h.init(t,i?f+i:f,te,0,[t]),h.render(1,h),te._pt&&zi(1,te)}:o.set(t,a);return s?l:function(f){return l(t,a,i?f+i:f,o,1)}},quickTo:function(t,e,i){var r,n=nt.to(t,Kt((r={},r[e]="+=0.1",r.paused=!0,r),i||{})),s=function(a,l,f){return n.resetTo(e,a,l,f)};return s.tween=n,s},isTweening:function(t){return z.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Wt(t.ease,ne.ease)),Xi(ne,t||{})},config:function(t){return Xi(ut,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,r=t.plugins,n=t.defaults,s=t.extendTimeline;(r||"").split(",").forEach(function(o){return o&&!st[o]&&!lt[o]&&ye(e+" effect requires "+o+" plugin.")}),Qe[e]=function(o,a,l){return i(ht(o),ct(a||{},n),l)},s&&(j.prototype[e]=function(o,a,l){return this.add(Qe[e](o,wt(a)?a:(l=a)&&{},this),l)})},registerEase:function(t,e){k[t]=Wt(e)},parseEase:function(t,e){return arguments.length?Wt(t,e):k},getById:function(t){return z.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new j(t),r,n;for(i.smoothChildTiming=tt(t.smoothChildTiming),z.remove(i),i._dp=0,i._time=i._tTime=z._time,r=z._first;r;)n=r._next,(e||!(!r._dur&&r instanceof V&&r.vars.onComplete===r._targets[0]))&&yt(i,r,r._start-r._delay),r=n;return yt(z,i,0),i},context:function(t,e){return t?new Qr(t,e):F},matchMedia:function(t){return new Os(t)},matchMediaRefresh:function(){return qt.forEach(function(t){var e=t.conditions,i,r;for(r in e)e[r]&&(e[r]=!1,i=1);i&&t.revert()})||yi()},addEventListener:function(t,e){var i=Ie[t]||(Ie[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=Ie[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:ss,wrapYoyo:os,distribute:Ar,random:Rr,snap:Dr,normalize:ns,getUnit:W,clamp:ts,splitColor:Lr,toArray:ht,selector:pi,mapRange:Fr,pipe:is,unitize:rs,interpolate:as,shuffle:Mr},install:gr,effects:Qe,ticker:ot,updateRoot:j.updateRoot,plugins:st,globalTimeline:z,core:{PropTween:it,globals:yr,Tween:V,Timeline:j,Animation:we,getCache:$t,_removeLinkedListItem:Ge,reverting:function(){return q},context:function(t){return t&&F&&(F.data.push(t),t._ctx=F),F},suppressOverwrites:function(t){return bi=t}}};et("to,from,fromTo,delayedCall,set,killTweensOf",function(u){return Ue[u]=V[u]});ot.add(j.updateRoot);te=Ue.to({},{duration:0});var Cs=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},Ms=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=Cs(s,r)),s&&s.modifier&&s.modifier(e[r],t,i[n],r))},ii=function(t,e){return{name:t,rawVars:1,init:function(r,n,s){s._onInit=function(o){var a,l;if($(n)&&(a={},et(n,function(f){return a[f]=1}),n=a),e){a={};for(l in n)a[l]=e(n[l]);n=a}Ms(o,n)}}}},nt=Ue.registerPlugin({name:"attr",init:function(t,e,i,r,n){var s,o,a;this.tween=i;for(s in e)a=t.getAttribute(s)||"",o=this.add(t,"setAttribute",(a||0)+"",e[s],r,n,0,0,s),o.op=s,o.b=a,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",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)}},ii("roundProps",mi),ii("modifiers"),ii("snap",Dr))||Ue;V.version=j.version=nt.version="3.12.5";mr=1;Si()&&ae();k.Power0;k.Power1;k.Power2;k.Power3;k.Power4;k.Linear;k.Quad;k.Cubic;k.Quart;k.Quint;k.Strong;k.Elastic;k.Back;k.SteppedEase;k.Bounce;k.Sine;k.Expo;k.Circ;/*!
10
+ * CSSPlugin 3.12.5
11
+ * https://gsap.com
12
+ *
13
+ * Copyright 2008-2024, GreenSock. All rights reserved.
14
+ * Subject to the terms at https://gsap.com/standard-license or for
15
+ * Club GSAP members, the agreement issued with that membership.
16
+ * @author: Jack Doyle, jack@greensock.com
17
+ */var ji,At,ie,Ii,Xt,Hi,Li,As=function(){return typeof window<"u"},Ct={},Ut=180/Math.PI,re=Math.PI/180,Qt=Math.atan2,Qi=1e8,Bi=/([A-Z])/g,Ds=/(left|right|width|margin|padding|x)/i,Rs=/[\s,\(]\S/,xt={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)},Es=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)},Fs=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)},zs=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Zr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Jr=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},Is=function(t,e,i){return t.style[e]=i},Ls=function(t,e,i){return t.style.setProperty(e,i)},Bs=function(t,e,i){return t._gsap[e]=i},Ns=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},Vs=function(t,e,i,r,n){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(n,s)},Ys=function(t,e,i,r,n){var s=t._gsap;s[e]=i,s.renderTransform(n,s)},I="transform",rt=I+"Origin",Us=function u(t,e){var i=this,r=this.target,n=r.style,s=r._gsap;if(t in Ct&&n){if(this.tfm=this.tfm||{},t!=="transform")t=xt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(o){return i.tfm[o]=St(r,o)}):this.tfm[t]=s.x?s[t]:St(r,t),t===rt&&(this.tfm.zOrigin=s.zOrigin);else return xt.transform.split(",").forEach(function(o){return u.call(i,o,e)});if(this.props.indexOf(I)>=0)return;s.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(rt,e,"")),t=I}(n||e)&&this.props.push(t,e,n[t])},tn=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Xs=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]?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(Bi,"-$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=Li(),(!n||!n.isStart)&&!i[I]&&(tn(i),r.zOrigin&&i[rt]&&(i[rt]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},en=function(t,e){var i={target:t,props:[],revert:Xs,save:Us};return t._gsap||nt.core.getCache(t),e&&e.split(",").forEach(function(r){return i.save(r)}),i},rn,vi=function(t,e){var i=At.createElementNS?At.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):At.createElement(t);return i&&i.style?i:At.createElement(t)},Tt=function u(t,e,i){var r=getComputedStyle(t);return r[e]||r.getPropertyValue(e.replace(Bi,"-$1").toLowerCase())||r.getPropertyValue(e)||!i&&u(t,ue(e)||e,1)||""},Zi="O,Moz,ms,Ms,Webkit".split(","),ue=function(t,e,i){var r=e||Xt,n=r.style,s=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Zi[s]+t in n););return s<0?null:(s===3?"ms":s>=0?Zi[s]:"")+t},Ti=function(){As()&&window.document&&(ji=window,At=ji.document,ie=At.documentElement,Xt=vi("div")||{style:{}},vi("div"),I=ue(I),rt=I+"Origin",Xt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",rn=!!ue("perspective"),Li=nt.core.reverting,Ii=1)},ri=function u(t){var e=vi("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,r=this.nextSibling,n=this.style.cssText,s;if(ie.appendChild(e),e.appendChild(this),this.style.display="block",t)try{s=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=u}catch{}else this._gsapBBox&&(s=this._gsapBBox());return i&&(r?i.insertBefore(this,r):i.appendChild(this)),ie.removeChild(e),this.style.cssText=n,s},Ji=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},nn=function(t){var e;try{e=t.getBBox()}catch{e=ri.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===ri||(e=ri.call(t,!0)),e&&!e.width&&!e.x&&!e.y?{x:+Ji(t,["x","cx","x1"])||0,y:+Ji(t,["y","cy","y1"])||0,width:0,height:0}:e},sn=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&nn(t))},jt=function(t,e){if(e){var i=t.style,r;e in Ct&&e!==rt&&(e=I),i.removeProperty?(r=e.substr(0,2),(r==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(r==="--"?e:e.replace(Bi,"-$1").toLowerCase())):i.removeAttribute(e)}},Dt=function(t,e,i,r,n,s){var o=new it(t._pt,e,i,0,1,s?Jr:Zr);return t._pt=o,o.b=r,o.e=n,t._props.push(i),o},tr={deg:1,rad:1,turn:1},$s={grid:1,flex:1},It=function u(t,e,i,r){var n=parseFloat(i)||0,s=(i+"").trim().substr((n+"").length)||"px",o=Xt.style,a=Ds.test(e),l=t.tagName.toLowerCase()==="svg",f=(l?"client":"offset")+(a?"Width":"Height"),h=100,c=r==="px",d=r==="%",m,_,p,x;if(r===s||!n||tr[r]||tr[s])return n;if(s!=="px"&&!c&&(n=u(t,e,i,"px")),x=t.getCTM&&sn(t),(d||s==="%")&&(Ct[e]||~e.indexOf("adius")))return m=x?t.getBBox()[a?"width":"height"]:t[f],B(d?n/m*h:n/100*m);if(o[a?"width":"height"]=h+(c?s:r),_=~e.indexOf("adius")||r==="em"&&t.appendChild&&!l?t:t.parentNode,x&&(_=(t.ownerSVGElement||{}).parentNode),(!_||_===At||!_.appendChild)&&(_=At.body),p=_._gsap,p&&d&&p.width&&a&&p.time===ot.time&&!p.uncache)return B(n/p.width*h);if(d&&(e==="height"||e==="width")){var g=t.style[e];t.style[e]=h+r,m=t[f],g?t.style[e]=g:jt(t,e)}else(d||s==="%")&&!$s[Tt(_,"display")]&&(o.position=Tt(t,"position")),_===t&&(o.position="static"),_.appendChild(Xt),m=Xt[f],_.removeChild(Xt),o.position="absolute";return a&&d&&(p=$t(_),p.time=ot.time,p.width=_[f]),B(c?m*n/h:m&&n?h/m*n:0)},St=function(t,e,i,r){var n;return Ii||Ti(),e in xt&&e!=="transform"&&(e=xt[e],~e.indexOf(",")&&(e=e.split(",")[0])),Ct[e]&&e!=="transform"?(n=Pe(t,r),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:$e(Tt(t,rt))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=Xe[e]&&Xe[e](t,e,i)||Tt(t,e)||vr(t,e)||(e==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?It(t,e,n,i)+i:n},Gs=function(t,e,i,r){if(!i||i==="none"){var n=ue(e,t,1),s=n&&Tt(t,n,1);s&&s!==i?(e=n,i=s):e==="borderColor"&&(i=Tt(t,"borderTopColor"))}var o=new it(this._pt,t.style,e,0,1,jr),a=0,l=0,f,h,c,d,m,_,p,x,g,v,T,y;if(o.b=i,o.e=r,i+="",r+="",r==="auto"&&(_=t.style[e],t.style[e]=r,r=Tt(t,e)||r,_?t.style[e]=_:jt(t,e)),f=[i,r],Nr(f),i=f[0],r=f[1],c=i.match(Jt)||[],y=r.match(Jt)||[],y.length){for(;h=Jt.exec(r);)p=h[0],g=r.substring(a,h.index),m?m=(m+1)%5:(g.substr(-5)==="rgba("||g.substr(-5)==="hsla(")&&(m=1),p!==(_=c[l++]||"")&&(d=parseFloat(_)||0,T=_.substr((d+"").length),p.charAt(1)==="="&&(p=ee(d,p)+T),x=parseFloat(p),v=p.substr((x+"").length),a=Jt.lastIndex-v.length,v||(v=v||ut.units[e]||T,a===r.length&&(r+=v,o.e+=v)),T!==v&&(d=It(t,e,_,v)||0),o._pt={_next:o._pt,p:g||l===1?g:",",s:d,c:x-d,m:m&&m<4||e==="zIndex"?Math.round:0});o.c=a<r.length?r.substring(a,r.length):""}else o.r=e==="display"&&r==="none"?Jr:Zr;return dr.test(r)&&(o.e=0),this._pt=o,o},er={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},Ws=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]=er[i]||i,e[1]=er[r]||r,e.join(" ")},qs=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,o,a,l;if(n==="all"||n===!0)r.cssText="",a=1;else for(n=n.split(","),l=n.length;--l>-1;)o=n[l],Ct[o]&&(a=1,o=o==="transformOrigin"?rt:I),jt(i,o);a&&(jt(i,I),s&&(s.svg&&i.removeAttribute("transform"),Pe(i,1),s.uncache=1,tn(r)))}},Xe={clearProps:function(t,e,i,r,n){if(n.data!=="isFromStart"){var s=t._pt=new it(t._pt,e,i,0,0,qs);return s.u=r,s.pr=-10,s.tween=n,t._props.push(i),1}}},be=[1,0,0,1,0,0],on={},an=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},ir=function(t){var e=Tt(t,I);return an(e)?be:e.substr(7).match(cr).map(B)},Ni=function(t,e){var i=t._gsap||$t(t),r=t.style,n=ir(t),s,o,a,l;return i.svg&&t.getAttribute("transform")?(a=t.transform.baseVal.consolidate().matrix,n=[a.a,a.b,a.c,a.d,a.e,a.f],n.join(",")==="1,0,0,1,0,0"?be:n):(n===be&&!t.offsetParent&&t!==ie&&!i.svg&&(a=r.display,r.display="block",s=t.parentNode,(!s||!t.offsetParent)&&(l=1,o=t.nextElementSibling,ie.appendChild(t)),n=ir(t),a?r.display=a:jt(t,"display"),l&&(o?s.insertBefore(t,o):s?s.appendChild(t):ie.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 o=t._gsap,a=n||Ni(t,!0),l=o.xOrigin||0,f=o.yOrigin||0,h=o.xOffset||0,c=o.yOffset||0,d=a[0],m=a[1],_=a[2],p=a[3],x=a[4],g=a[5],v=e.split(" "),T=parseFloat(v[0])||0,y=parseFloat(v[1])||0,b,P,S,w;i?a!==be&&(P=d*p-m*_)&&(S=T*(p/P)+y*(-_/P)+(_*g-p*x)/P,w=T*(-m/P)+y*(d/P)-(d*g-m*x)/P,T=S,y=w):(b=nn(t),T=b.x+(~v[0].indexOf("%")?T/100*b.width:T),y=b.y+(~(v[1]||v[0]).indexOf("%")?y/100*b.height:y)),r||r!==!1&&o.smooth?(x=T-l,g=y-f,o.xOffset=h+(x*d+g*_)-x,o.yOffset=c+(x*m+g*p)-g):o.xOffset=o.yOffset=0,o.xOrigin=T,o.yOrigin=y,o.smooth=!!r,o.origin=e,o.originIsAbsolute=!!i,t.style[rt]="0px 0px",s&&(Dt(s,o,"xOrigin",l,T),Dt(s,o,"yOrigin",f,y),Dt(s,o,"xOffset",h,o.xOffset),Dt(s,o,"yOffset",c,o.yOffset)),t.setAttribute("data-svg-origin",T+" "+y)},Pe=function(t,e){var i=t._gsap||new Xr(t);if("x"in i&&!e&&!i.uncache)return i;var r=t.style,n=i.scaleX<0,s="px",o="deg",a=getComputedStyle(t),l=Tt(t,rt)||"0",f,h,c,d,m,_,p,x,g,v,T,y,b,P,S,w,O,E,M,A,G,Y,N,U,dt,Me,le,fe,Bt,Vi,bt,Nt;return f=h=c=_=p=x=g=v=T=0,d=m=1,i.svg=!!(t.getCTM&&sn(t)),a.translate&&((a.translate!=="none"||a.scale!=="none"||a.rotate!=="none")&&(r[I]=(a.translate!=="none"?"translate3d("+(a.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(a.rotate!=="none"?"rotate("+a.rotate+") ":"")+(a.scale!=="none"?"scale("+a.scale.split(" ").join(",")+") ":"")+(a[I]!=="none"?a[I]:"")),r.scale=r.rotate=r.translate="none"),P=Ni(t,i.svg),i.svg&&(i.uncache?(dt=t.getBBox(),l=i.xOrigin-dt.x+"px "+(i.yOrigin-dt.y)+"px",U=""):U=!e&&t.getAttribute("data-svg-origin"),wi(t,U||l,!!U||i.originIsAbsolute,i.smooth!==!1,P)),y=i.xOrigin||0,b=i.yOrigin||0,P!==be&&(E=P[0],M=P[1],A=P[2],G=P[3],f=Y=P[4],h=N=P[5],P.length===6?(d=Math.sqrt(E*E+M*M),m=Math.sqrt(G*G+A*A),_=E||M?Qt(M,E)*Ut:0,g=A||G?Qt(A,G)*Ut+_:0,g&&(m*=Math.abs(Math.cos(g*re))),i.svg&&(f-=y-(y*E+b*A),h-=b-(y*M+b*G))):(Nt=P[6],Vi=P[7],le=P[8],fe=P[9],Bt=P[10],bt=P[11],f=P[12],h=P[13],c=P[14],S=Qt(Nt,Bt),p=S*Ut,S&&(w=Math.cos(-S),O=Math.sin(-S),U=Y*w+le*O,dt=N*w+fe*O,Me=Nt*w+Bt*O,le=Y*-O+le*w,fe=N*-O+fe*w,Bt=Nt*-O+Bt*w,bt=Vi*-O+bt*w,Y=U,N=dt,Nt=Me),S=Qt(-A,Bt),x=S*Ut,S&&(w=Math.cos(-S),O=Math.sin(-S),U=E*w-le*O,dt=M*w-fe*O,Me=A*w-Bt*O,bt=G*O+bt*w,E=U,M=dt,A=Me),S=Qt(M,E),_=S*Ut,S&&(w=Math.cos(S),O=Math.sin(S),U=E*w+M*O,dt=Y*w+N*O,M=M*w-E*O,N=N*w-Y*O,E=U,Y=dt),p&&Math.abs(p)+Math.abs(_)>359.9&&(p=_=0,x=180-x),d=B(Math.sqrt(E*E+M*M+A*A)),m=B(Math.sqrt(N*N+Nt*Nt)),S=Qt(Y,N),g=Math.abs(S)>2e-4?S*Ut:0,T=bt?1/(bt<0?-bt:bt):0),i.svg&&(U=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!an(Tt(t,I)),U&&t.setAttribute("transform",U))),Math.abs(g)>90&&Math.abs(g)<270&&(n?(d*=-1,g+=_<=0?180:-180,_+=_<=0?180:-180):(m*=-1,g+=g<=0?180:-180)),e=e||i.uncache,i.x=f-((i.xPercent=f&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-f)?-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=c+s,i.scaleX=B(d),i.scaleY=B(m),i.rotation=B(_)+o,i.rotationX=B(p)+o,i.rotationY=B(x)+o,i.skewX=g+o,i.skewY=v+o,i.transformPerspective=T+s,(i.zOrigin=parseFloat(l.split(" ")[2])||!e&&i.zOrigin||0)&&(r[rt]=$e(l)),i.xOffset=i.yOffset=0,i.force3D=ut.force3D,i.renderTransform=i.svg?js:rn?un:Ks,i.uncache=0,i},$e=function(t){return(t=t.split(" "))[0]+" "+t[1]},ni=function(t,e,i){var r=W(e);return B(parseFloat(e)+parseFloat(It(t,"x",i+"px",r)))+r},Ks=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,un(t,e)},Vt="0deg",_e="0px",Yt=") ",un=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,o=i.y,a=i.z,l=i.rotation,f=i.rotationY,h=i.rotationX,c=i.skewX,d=i.skewY,m=i.scaleX,_=i.scaleY,p=i.transformPerspective,x=i.force3D,g=i.target,v=i.zOrigin,T="",y=x==="auto"&&t&&t!==1||x===!0;if(v&&(h!==Vt||f!==Vt)){var b=parseFloat(f)*re,P=Math.sin(b),S=Math.cos(b),w;b=parseFloat(h)*re,w=Math.cos(b),s=ni(g,s,P*w*-v),o=ni(g,o,-Math.sin(b)*-v),a=ni(g,a,S*w*-v+v)}p!==_e&&(T+="perspective("+p+Yt),(r||n)&&(T+="translate("+r+"%, "+n+"%) "),(y||s!==_e||o!==_e||a!==_e)&&(T+=a!==_e||y?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+Yt),l!==Vt&&(T+="rotate("+l+Yt),f!==Vt&&(T+="rotateY("+f+Yt),h!==Vt&&(T+="rotateX("+h+Yt),(c!==Vt||d!==Vt)&&(T+="skew("+c+", "+d+Yt),(m!==1||_!==1)&&(T+="scale("+m+", "+_+Yt),g.style[I]=T||"translate(0, 0)"},js=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,o=i.y,a=i.rotation,l=i.skewX,f=i.skewY,h=i.scaleX,c=i.scaleY,d=i.target,m=i.xOrigin,_=i.yOrigin,p=i.xOffset,x=i.yOffset,g=i.forceCSS,v=parseFloat(s),T=parseFloat(o),y,b,P,S,w;a=parseFloat(a),l=parseFloat(l),f=parseFloat(f),f&&(f=parseFloat(f),l+=f,a+=f),a||l?(a*=re,l*=re,y=Math.cos(a)*h,b=Math.sin(a)*h,P=Math.sin(a-l)*-c,S=Math.cos(a-l)*c,l&&(f*=re,w=Math.tan(l-f),w=Math.sqrt(1+w*w),P*=w,S*=w,f&&(w=Math.tan(f),w=Math.sqrt(1+w*w),y*=w,b*=w)),y=B(y),b=B(b),P=B(P),S=B(S)):(y=h,S=c,b=P=0),(v&&!~(s+"").indexOf("px")||T&&!~(o+"").indexOf("px"))&&(v=It(d,"x",s,"px"),T=It(d,"y",o,"px")),(m||_||p||x)&&(v=B(v+m-(m*y+_*P)+p),T=B(T+_-(m*b+_*S)+x)),(r||n)&&(w=d.getBBox(),v=B(v+r/100*w.width),T=B(T+n/100*w.height)),w="matrix("+y+","+b+","+P+","+S+","+v+","+T+")",d.setAttribute("transform",w),g&&(d.style[I]=w)},Hs=function(t,e,i,r,n){var s=360,o=$(n),a=parseFloat(n)*(o&&~n.indexOf("rad")?Ut:1),l=a-r,f=r+l+"deg",h,c;return o&&(h=n.split("_")[1],h==="short"&&(l%=s,l!==l%(s/2)&&(l+=l<0?s:-s)),h==="cw"&&l<0?l=(l+s*Qi)%s-~~(l/s)*s:h==="ccw"&&l>0&&(l=(l-s*Qi)%s-~~(l/s)*s)),t._pt=c=new it(t._pt,e,i,r,l,Es),c.e=f,c.u="deg",t._props.push(i),c},rr=function(t,e){for(var i in e)t[i]=e[i];return t},Qs=function(t,e,i){var r=rr({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=i.style,o,a,l,f,h,c,d,m;r.svg?(l=i.getAttribute("transform"),i.setAttribute("transform",""),s[I]=e,o=Pe(i,1),jt(i,I),i.setAttribute("transform",l)):(l=getComputedStyle(i)[I],s[I]=e,o=Pe(i,1),s[I]=l);for(a in Ct)l=r[a],f=o[a],l!==f&&n.indexOf(a)<0&&(d=W(l),m=W(f),h=d!==m?It(i,a,l,m):parseFloat(l),c=parseFloat(f),t._pt=new it(t._pt,o,a,h,c-h,xi),t._pt.u=m||0,t._props.push(a));rr(o,r)};et("padding,margin,Width,Radius",function(u,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(o){return t<2?u+o:"border"+o+u});Xe[t>1?"border"+u:u]=function(o,a,l,f,h){var c,d;if(arguments.length<4)return c=s.map(function(m){return St(o,m,l)}),d=c.join(" "),d.split(c[0]).length===5?c[0]:d;c=(f+"").split(" "),d={},s.forEach(function(m,_){return d[m]=c[_]=c[_]||c[(_-1)/2|0]}),o.init(a,d,h)}});var ln={name:"css",register:Ti,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,n){var s=this._props,o=t.style,a=i.vars.startAt,l,f,h,c,d,m,_,p,x,g,v,T,y,b,P,S;Ii||Ti(),this.styles=this.styles||en(t),S=this.styles.props,this.tween=i;for(_ in e)if(_!=="autoRound"&&(f=e[_],!(st[_]&&$r(_,e,i,r,t,n)))){if(d=typeof f,m=Xe[_],d==="function"&&(f=f.call(i,r,t,n),d=typeof f),d==="string"&&~f.indexOf("random(")&&(f=ve(f)),m)m(this,t,_,f,i)&&(P=1);else if(_.substr(0,2)==="--")l=(getComputedStyle(t).getPropertyValue(_)+"").trim(),f+="",Et.lastIndex=0,Et.test(l)||(p=W(l),x=W(f)),x?p!==x&&(l=It(t,_,l,x)+x):p&&(f+=p),this.add(o,"setProperty",l,f,r,n,0,0,_),s.push(_),S.push(_,0,o[_]);else if(d!=="undefined"){if(a&&_ in a?(l=typeof a[_]=="function"?a[_].call(i,r,t,n):a[_],$(l)&&~l.indexOf("random(")&&(l=ve(l)),W(l+"")||l==="auto"||(l+=ut.units[_]||W(St(t,_))||""),(l+"").charAt(1)==="="&&(l=St(t,_))):l=St(t,_),c=parseFloat(l),g=d==="string"&&f.charAt(1)==="="&&f.substr(0,2),g&&(f=f.substr(2)),h=parseFloat(f),_ in xt&&(_==="autoAlpha"&&(c===1&&St(t,"visibility")==="hidden"&&h&&(c=0),S.push("visibility",0,o.visibility),Dt(this,o,"visibility",c?"inherit":"hidden",h?"inherit":"hidden",!h)),_!=="scale"&&_!=="transform"&&(_=xt[_],~_.indexOf(",")&&(_=_.split(",")[0]))),v=_ in Ct,v){if(this.styles.save(_),T||(y=t._gsap,y.renderTransform&&!e.parseTransform||Pe(t,e.parseTransform),b=e.smoothOrigin!==!1&&y.smooth,T=this._pt=new it(this._pt,o,I,0,1,y.renderTransform,y,0,-1),T.dep=1),_==="scale")this._pt=new it(this._pt,y,"scaleY",y.scaleY,(g?ee(y.scaleY,g+h):h)-y.scaleY||0,xi),this._pt.u=0,s.push("scaleY",_),_+="X";else if(_==="transformOrigin"){S.push(rt,0,o[rt]),f=Ws(f),y.svg?wi(t,f,0,b,0,this):(x=parseFloat(f.split(" ")[2])||0,x!==y.zOrigin&&Dt(this,y,"zOrigin",y.zOrigin,x),Dt(this,o,_,$e(l),$e(f)));continue}else if(_==="svgOrigin"){wi(t,f,1,b,0,this);continue}else if(_ in on){Hs(this,y,_,c,g?ee(c,g+f):f);continue}else if(_==="smoothOrigin"){Dt(this,y,"smooth",y.smooth,f);continue}else if(_==="force3D"){y[_]=f;continue}else if(_==="transform"){Qs(this,f,t);continue}}else _ in o||(_=ue(_)||_);if(v||(h||h===0)&&(c||c===0)&&!Rs.test(f)&&_ in o)p=(l+"").substr((c+"").length),h||(h=0),x=W(f)||(_ in ut.units?ut.units[_]:p),p!==x&&(c=It(t,_,l,x)),this._pt=new it(this._pt,v?y:o,_,c,(g?ee(c,g+h):h)-c,!v&&(x==="px"||_==="zIndex")&&e.autoRound!==!1?zs:xi),this._pt.u=x||0,p!==x&&x!=="%"&&(this._pt.b=l,this._pt.r=Fs);else if(_ in o)Gs.call(this,t,_,l,g?g+f:f);else if(_ in t)this.add(t,_,l||t[_],g?g+f:f,r,n);else if(_!=="parseTransform"){Oi(_,f);continue}v||(_ in o?S.push(_,0,o[_]):S.push(_,1,l||t[_])),s.push(_)}}P&&Hr(this)},render:function(t,e){if(e.tween._time||!Li())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:St,aliases:xt,getSetter:function(t,e,i){var r=xt[e];return r&&r.indexOf(",")<0&&(e=r),e in Ct&&e!==rt&&(t._gsap.x||St(t,"x"))?i&&Hi===i?e==="scale"?Ns:Bs:(Hi=i||{})&&(e==="scale"?Vs:Ys):t.style&&!Pi(t.style[e])?Is:~e.indexOf("-")?Ls:Fi(t,e)},core:{_removeProperty:jt,_getMatrix:Ni}};nt.utils.checkPrefix=ue;nt.core.getStyleSaver=en;(function(u,t,e,i){var r=et(u+","+t+","+e,function(n){Ct[n]=1});et(t,function(n){ut.units[n]="deg",on[n]=1}),xt[r[13]]=u+","+t,et(i,function(n){var s=n.split(":");xt[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");et("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(u){ut.units[u]="px"});nt.registerPlugin(ln);var Le=nt.registerPlugin(ln)||nt;Le.core.Tween;/*!
18
+ * ScrollToPlugin 3.12.5
19
+ * https://gsap.com
20
+ *
21
+ * @license Copyright 2008-2024, GreenSock. All rights reserved.
22
+ * Subject to the terms at https://gsap.com/standard-license or for
23
+ * Club GSAP members, the agreement issued with that membership.
24
+ * @author: Jack Doyle, jack@greensock.com
25
+ */var H,fn,kt,vt,Ft,_n,hn,Ee,cn=function(){return typeof window<"u"},dn=function(){return H||cn()&&(H=window.gsap)&&H.registerPlugin&&H},pn=function(t){return typeof t=="string"},nr=function(t){return typeof t=="function"},Se=function(t,e){var i=e==="x"?"Width":"Height",r="scroll"+i,n="client"+i;return t===kt||t===vt||t===Ft?Math.max(vt[r],Ft[r])-(kt["inner"+i]||vt[n]||Ft[n]):t[r]-t["offset"+i]},ke=function(t,e){var i="scroll"+(e==="x"?"Left":"Top");return t===kt&&(t.pageXOffset!=null?i="page"+e.toUpperCase()+"Offset":t=vt[i]!=null?vt:Ft),function(){return t[i]}},Zs=function(t,e,i,r){if(nr(t)&&(t=t(e,i,r)),typeof t!="object")return pn(t)&&t!=="max"&&t.charAt(1)!=="="?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var n={},s;for(s in t)n[s]=s!=="onAutoKill"&&nr(t[s])?t[s](e,i,r):t[s];return n},mn=function(t,e){if(t=_n(t)[0],!t||!t.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var i=t.getBoundingClientRect(),r=!e||e===kt||e===Ft,n=r?{top:vt.clientTop-(kt.pageYOffset||vt.scrollTop||Ft.scrollTop||0),left:vt.clientLeft-(kt.pageXOffset||vt.scrollLeft||Ft.scrollLeft||0)}:e.getBoundingClientRect(),s={x:i.left-n.left,y:i.top-n.top};return!r&&e&&(s.x+=ke(e,"x")(),s.y+=ke(e,"y")()),s},sr=function(t,e,i,r,n){return!isNaN(t)&&typeof t!="object"?parseFloat(t)-n:pn(t)&&t.charAt(1)==="="?parseFloat(t.substr(2))*(t.charAt(0)==="-"?-1:1)+r-n:t==="max"?Se(e,i)-n:Math.min(Se(e,i),mn(t,e)[i]-n)},or=function(){H=dn(),cn()&&H&&typeof document<"u"&&document.body&&(kt=window,Ft=document.body,vt=document.documentElement,_n=H.utils.toArray,H.config({autoKillThreshold:7}),hn=H.config(),fn=1)},Ce={version:"3.12.5",name:"scrollTo",rawVars:1,register:function(t){H=t,or()},init:function(t,e,i,r,n){fn||or();var s=this,o=H.getProperty(t,"scrollSnapType");s.isWin=t===kt,s.target=t,s.tween=i,e=Zs(e,r,t,n),s.vars=e,s.autoKill=!!e.autoKill,s.getX=ke(t,"x"),s.getY=ke(t,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),Ee||(Ee=H.core.globals().ScrollTrigger),H.getProperty(t,"scrollBehavior")==="smooth"&&H.set(t,{scrollBehavior:"auto"}),o&&o!=="none"&&(s.snap=1,s.snapInline=t.style.scrollSnapType,t.style.scrollSnapType="none"),e.x!=null?(s.add(s,"x",s.x,sr(e.x,t,"x",s.x,e.offsetX||0),r,n),s._props.push("scrollTo_x")):s.skipX=1,e.y!=null?(s.add(s,"y",s.y,sr(e.y,t,"y",s.y,e.offsetY||0),r,n),s._props.push("scrollTo_y")):s.skipY=1},render:function(t,e){for(var i=e._pt,r=e.target,n=e.tween,s=e.autoKill,o=e.xPrev,a=e.yPrev,l=e.isWin,f=e.snap,h=e.snapInline,c,d,m,_,p;i;)i.r(t,i.d),i=i._next;c=l||!e.skipX?e.getX():o,d=l||!e.skipY?e.getY():a,m=d-a,_=c-o,p=hn.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),s&&(!e.skipX&&(_>p||_<-p)&&c<Se(r,"x")&&(e.skipX=1),!e.skipY&&(m>p||m<-p)&&d<Se(r,"y")&&(e.skipY=1),e.skipX&&e.skipY&&(n.kill(),e.vars.onAutoKill&&e.vars.onAutoKill.apply(n,e.vars.onAutoKillParams||[]))),l?kt.scrollTo(e.skipX?c:e.x,e.skipY?d:e.y):(e.skipY||(r.scrollTop=e.y),e.skipX||(r.scrollLeft=e.x)),f&&(t===1||t===0)&&(d=r.scrollTop,c=r.scrollLeft,h?r.style.scrollSnapType=h:r.style.removeProperty("scroll-snap-type"),r.scrollTop=d+1,r.scrollLeft=c+1,r.scrollTop=d,r.scrollLeft=c),e.xPrev=e.x,e.yPrev=e.y,Ee&&Ee.update()},kill:function(t){var e=t==="scrollTo",i=this._props.indexOf(t);return(e||t==="scrollTo_x")&&(this.skipX=1),(e||t==="scrollTo_y")&&(this.skipY=1),i>-1&&this._props.splice(i,1),!this._props.length}};Ce.max=Se;Ce.getOffset=mn;Ce.buildGetter=ke;dn()&&H.registerPlugin(Ce);const Js={"text-gray-200":"","w-screen":"","h-screen":""},to={key:0},eo={flex:"","flex-col":"","justify-center":"","items-center":"","w-screen":"","h-screen":"","text-xl":"",italic:"",class:"bg-[#323443]"},io={key:0},ro={key:1},no={class:"bg-resolver-bg-1",flex:"","flex-col":"","justify-between":"","font-mono":"","w-screen":"","h-screen":"","overflow-hidden":""},so=ar({__name:"Resolver",props:{dataSourceUrl:null},setup(u){const t=u;Le.registerPlugin(Ce);const e=yn(Yi),{t:i}=xn(),r=mt(!1),n=mt(!1),s=mt(!1),o=mt({}),a=mt([]),l=mt([]),f=mt({}),h=vn();function c(){const g=new On(o.value,a.value,l.value);g.buildResolver(),f.value=g}const{data:d,isError:m,error:_}=Cn(t.dataSourceUrl,h,!0);je(d,async()=>{var g,v,T;d.value===null||d.value===void 0||(o.value=Pn((g=d.value)==null?void 0:g.contest),e.value=`${o.value.name} | ${Yi}`,a.value=Sn((v=d.value)==null?void 0:v.teams),l.value=kn((T=d.value)==null?void 0:T.submissions),c(),r.value=!0)},{immediate:!0}),Tn([" "],g=>{g.preventDefault()}),De(["n"," "],()=>{if(!s.value){n.value=!0;return}f.value.next()},{dedupe:!0}),De(["r"],()=>{f.value.rewind()},{dedupe:!0}),De(["w"],()=>{f.value.currentIndex--}),De(["s"],()=>{f.value.currentIndex++});const p=mt(null),x=mt(null);return wn(()=>{je(()=>n.value,async()=>{if(!s.value&&n.value&&p.value){const g=p.value.scrollHeight,v=p.value.clientHeight;Le.to(p.value,{duration:Math.round(f.value.teams.length*.5),scrollTop:g-v,ease:"power1.inOut",onComplete:()=>{s.value=!0}})}},{immediate:!0}),je(()=>f.value.currentIndex,async()=>{if(s.value&&p.value&&x.value){const g=p.value.getBoundingClientRect(),v=g.height,T=x.value.getBoundingClientRect(),y=T.height,b=v-3*y,S=T.top-g.top-b;Le.to(p.value,{duration:2.5,ease:"power1.out",scrollTop:`+=${S}`})}},{flush:"post"})}),(g,v)=>{const T=Ln;return Z(),J("div",Js,[R(r)?(Z(),J("div",ro,[Q("div",null,[Q("div",no,[Q("div",{ref_key:"resolverRef",ref:p,"h-full":"","overflow-y-auto":""},[oi(bn,{name:"resolver",tag:"ul"},{default:ai(()=>[(Z(!0),J(Zt,null,ur(R(f).teams,(y,b)=>(Z(),J("div",{key:y.id,ref_for:!0,ref:P=>{b===R(f).currentIndex&&(x.value=P)},class:si([y.id===R(f).currentTeamId?"z-999":"z-0"]),"position-relative":""},[oi(T,{index:b,team:y,resolver:R(f)},null,8,["index","team","resolver"])],2))),128))]),_:1})],512)])])])):(Z(),J("div",to,[Q("div",eo,[Q("div",null,pt(R(i)("common.loading"))+"... ",1),R(m)?(Z(),J("div",io,pt(R(_)),1)):he("",!0)])]))])}}}),ho=lr(so,[["__scopeId","data-v-8e4ac916"]]);export{ho as _};
@@ -1 +1 @@
1
- import{_ as t}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as l,b as o}from"./index-Bqug296L.js";const s={},n={class:"color-gray-700 dark:color-gray-200"};function a(c,r){return e(),l("div",n,r[0]||(r[0]=[o("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1161",width:"30",height:"30"},[o("path",{d:"M837.9904 570.0608H124.5696a29.0304 29.0304 0 0 1-29.0304-29.0304V482.9696a29.0304 29.0304 0 0 1 29.0304-29.0304h713.4208z",fill:"currentColor","p-id":"1162"}),o("path",{d:"M561.3056 808.96l-40.96-40.96a28.928 28.928 0 0 1 0-40.96l215.04-215.04-215.04-215.04a28.9792 28.9792 0 0 1 0-40.96l40.96-40.96a28.9792 28.9792 0 0 1 40.96 0l296.96 296.96-296.96 296.96a28.9792 28.9792 0 0 1-40.96 0z",fill:"currentColor","p-id":"1163"})],-1)]))}const d=t(s,[["render",a]]);export{d as _};
1
+ import{_ as t}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{o as e,c as l,b as o}from"./index-CVZtA3I-.js";const s={},n={class:"color-gray-700 dark:color-gray-200"};function a(c,r){return e(),l("div",n,r[0]||(r[0]=[o("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1161",width:"30",height:"30"},[o("path",{d:"M837.9904 570.0608H124.5696a29.0304 29.0304 0 0 1-29.0304-29.0304V482.9696a29.0304 29.0304 0 0 1 29.0304-29.0304h713.4208z",fill:"currentColor","p-id":"1162"}),o("path",{d:"M561.3056 808.96l-40.96-40.96a28.928 28.928 0 0 1 0-40.96l215.04-215.04-215.04-215.04a28.9792 28.9792 0 0 1 0-40.96l40.96-40.96a28.9792 28.9792 0 0 1 40.96 0l296.96 296.96-296.96 296.96a28.9792 28.9792 0 0 1-40.96 0z",fill:"currentColor","p-id":"1163"})],-1)]))}const d=t(s,[["render",a]]);export{d as _};
@@ -1 +1 @@
1
- import{d as r,v as s,av as u,h as p,o as i,c as d,y as m,z as c}from"./index-Bqug296L.js";import{_}from"./use-vmodel-DKmkNt1c.js";const x=["type","text"],g=r({__name:"TheInput",props:{textAlign:null,textType:null,modelValue:null},emits:["update:modelValue"],setup(o){const t=o,{modelValue:e}=_("modelValue");return(l,n)=>s((i(),d("input",m({id:"input","onUpdate:modelValue":n[0]||(n[0]=a=>c(e)?e.value=a:null)},l.$attrs,{type:t.textType??"text",text:t.textAlign??"center",p:"x-4 y-2","w-full":"",bg:"transparent",border:"~ rounded gray-200 dark:gray-700",outline:"none active:none"}),null,16,x)),[[u,p(e)]])}});export{g as _};
1
+ import{d as r,v as s,av as u,h as p,o as i,c as d,y as m,z as c}from"./index-CVZtA3I-.js";import{_}from"./use-vmodel-BKVjZ-1P.js";const x=["type","text"],g=r({__name:"TheInput",props:{textAlign:null,textType:null,modelValue:null},emits:["update:modelValue"],setup(o){const t=o,{modelValue:e}=_("modelValue");return(l,n)=>s((i(),d("input",m({id:"input","onUpdate:modelValue":n[0]||(n[0]=a=>c(e)?e.value=a:null)},l.$attrs,{type:t.textType??"text",text:t.textAlign??"center",p:"x-4 y-2","w-full":"",bg:"transparent",border:"~ rounded gray-200 dark:gray-700",outline:"none active:none"}),null,16,x)),[[u,p(e)]])}});export{g as _};