@alook/app 0.0.9 → 0.0.11

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 (25) hide show
  1. package/bundled/web/.open-next/.build/durable-objects/queue.js +4 -4
  2. package/bundled/web/.open-next/assets/BUILD_ID +1 -1
  3. package/bundled/web/.open-next/assets/_next/static/chunks/{06yb1u3ed7750.js → 0sp16c8-thn5e.js} +1 -1
  4. package/bundled/web/.open-next/cache/{PLUcMYZhokRnY3NrNfI3o → -U0s21SulnwDUuHPkNOWK}/_global-error.cache +1 -1
  5. package/bundled/web/.open-next/cache/{PLUcMYZhokRnY3NrNfI3o → -U0s21SulnwDUuHPkNOWK}/_not-found.cache +1 -1
  6. package/bundled/web/.open-next/cache/{PLUcMYZhokRnY3NrNfI3o → -U0s21SulnwDUuHPkNOWK}/sitemap.xml.cache +1 -1
  7. package/bundled/web/.open-next/cloudflare/cache-assets-manifest.sql +1 -1
  8. package/bundled/web/.open-next/cloudflare/init.js +1 -1
  9. package/bundled/web/.open-next/dynamodb-provider/dynamodb-cache.json +1 -1
  10. package/bundled/web/.open-next/middleware/handler.mjs +2 -2
  11. package/bundled/web/.open-next/server-functions/default/src/web/.next/BUILD_ID +1 -1
  12. package/bundled/web/.open-next/server-functions/default/src/web/.next/build-manifest.json +3 -3
  13. package/bundled/web/.open-next/server-functions/default/src/web/.next/server/app/page_client-reference-manifest.js +1 -1
  14. package/bundled/web/.open-next/server-functions/default/src/web/.next/server/chunks/ssr/src_web_src_components_home_home-page_tsx_0to84tv._.js +1 -1
  15. package/bundled/web/.open-next/server-functions/default/src/web/.next/server/middleware-build-manifest.js +3 -3
  16. package/bundled/web/.open-next/server-functions/default/src/web/.next/server/middleware-manifest.json +1 -1
  17. package/bundled/web/.open-next/server-functions/default/src/web/handler.mjs +3 -3
  18. package/bundled/web/.open-next/server-functions/default/src/web/handler.mjs.meta.json +103 -103
  19. package/bundled/web/.open-next/server-functions/default/src/web/index.mjs +2 -2
  20. package/dist/index.js +8 -8
  21. package/package.json +1 -1
  22. /package/bundled/web/.open-next/assets/_next/static/{PLUcMYZhokRnY3NrNfI3o → -U0s21SulnwDUuHPkNOWK}/_buildManifest.js +0 -0
  23. /package/bundled/web/.open-next/assets/_next/static/{PLUcMYZhokRnY3NrNfI3o → -U0s21SulnwDUuHPkNOWK}/_clientMiddlewareManifest.js +0 -0
  24. /package/bundled/web/.open-next/assets/_next/static/{PLUcMYZhokRnY3NrNfI3o → -U0s21SulnwDUuHPkNOWK}/_ssgManifest.js +0 -0
  25. /package/bundled/web/.open-next/cache/{PLUcMYZhokRnY3NrNfI3o → -U0s21SulnwDUuHPkNOWK}/robots.txt.cache +0 -0
@@ -180,7 +180,7 @@ var DOQueueHandler = class extends DurableObject {
180
180
  "INSERT OR REPLACE INTO sync (id, lastSuccess, buildId) VALUES (?, unixepoch(), ?)",
181
181
  // We cannot use the deduplication id because it's not unique per route - every time a route is revalidated, the deduplication id is different.
182
182
  `${host}${url}`,
183
- "PLUcMYZhokRnY3NrNfI3o"
183
+ "-U0s21SulnwDUuHPkNOWK"
184
184
  );
185
185
  }
186
186
  this.routeInFailedState.delete(msg.MessageDeduplicationId);
@@ -232,7 +232,7 @@ var DOQueueHandler = class extends DurableObject {
232
232
  }
233
233
  this.routeInFailedState.set(msg.MessageDeduplicationId, updatedFailedState);
234
234
  if (!this.disableSQLite) {
235
- this.sql.exec("INSERT OR REPLACE INTO failed_state (id, data, buildId) VALUES (?, ?, ?)", msg.MessageDeduplicationId, JSON.stringify(updatedFailedState), "PLUcMYZhokRnY3NrNfI3o");
235
+ this.sql.exec("INSERT OR REPLACE INTO failed_state (id, data, buildId) VALUES (?, ?, ?)", msg.MessageDeduplicationId, JSON.stringify(updatedFailedState), "-U0s21SulnwDUuHPkNOWK");
236
236
  }
237
237
  await this.addAlarm();
238
238
  }
@@ -256,8 +256,8 @@ var DOQueueHandler = class extends DurableObject {
256
256
  return;
257
257
  this.sql.exec("CREATE TABLE IF NOT EXISTS failed_state (id TEXT PRIMARY KEY, data TEXT, buildId TEXT)");
258
258
  this.sql.exec("CREATE TABLE IF NOT EXISTS sync (id TEXT PRIMARY KEY, lastSuccess INTEGER, buildId TEXT)");
259
- this.sql.exec("DELETE FROM failed_state WHERE buildId != ?", "PLUcMYZhokRnY3NrNfI3o");
260
- this.sql.exec("DELETE FROM sync WHERE buildId != ?", "PLUcMYZhokRnY3NrNfI3o");
259
+ this.sql.exec("DELETE FROM failed_state WHERE buildId != ?", "-U0s21SulnwDUuHPkNOWK");
260
+ this.sql.exec("DELETE FROM sync WHERE buildId != ?", "-U0s21SulnwDUuHPkNOWK");
261
261
  const failedStateCursor = this.sql.exec("SELECT * FROM failed_state");
262
262
  for (const row of failedStateCursor) {
263
263
  this.routeInFailedState.set(row.id, JSON.parse(row.data));
@@ -1 +1 @@
1
- PLUcMYZhokRnY3NrNfI3o
1
+ -U0s21SulnwDUuHPkNOWK
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,371836,e=>{"use strict";var t=e.i(368075),r=e.i(298699),n=e.i(732919),o=e.i(455012),a,i,s,l,c,u,d,p,f,g,h,m,x,v=function(){return a||"u">typeof window&&(a=window.gsap)&&a.registerPlugin&&a},y=1,b=[],w=[],k=[],j=Date.now,S=function(e,t){return t},N=function(){var e=f.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,w),n.push.apply(n,k),w=r,k=n,S=function(e,r){return t[e](r)}},C=function(e,t){return~k.indexOf(e)&&k[k.indexOf(e)+1][t]},A=function(e){return!!~g.indexOf(e)},T=function(e,t,r,n,o){return e.addEventListener(t,r,{passive:!1!==n,capture:!!o})},E=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},_="scrollLeft",P="scrollTop",M=function(){return h&&h.isPressed||w.cache++},O=function(e,t){var r=function r(n){if(n||0===n){y&&(s.history.scrollRestoration="manual");var o=h&&h.isPressed;e(n=r.v=Math.round(n)||(h&&h.iOS?1:0)),r.cacheID=w.cache,o&&S("ss",n)}else(t||w.cache!==r.cacheID||S("ref"))&&(r.cacheID=w.cache,r.v=e());return r.v+r.offset};return r.offset=0,e&&r},R={s:_,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:O(function(e){return arguments.length?s.scrollTo(e,F.sc()):s.pageXOffset||l[_]||c[_]||u[_]||0})},F={s:P,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:R,sc:O(function(e){return arguments.length?s.scrollTo(R.sc(),e):s.pageYOffset||l[P]||c[P]||u[P]||0})},D=function(e,t){return(t&&t._ctx&&t._ctx.selector||a.utils.toArray)(e)[0]||("string"==typeof e&&!1!==a.config().nullTargetWarn?console.warn("Element not found:",e):null)},I=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},Y=function(e,t){var r=t.s,n=t.sc;A(e)&&(e=l.scrollingElement||c);var o=w.indexOf(e),i=n===F.sc?1:2;~o||(o=w.push(e)-1),w[o+i]||T(e,"scroll",M);var s=w[o+i],u=s||(w[o+i]=O(C(e,r),!0)||(A(e)?n:O(function(t){return arguments.length?e[r]=t:e[r]})));return u.target=e,s||(u.smooth="smooth"===a.getProperty(e,"scrollBehavior")),u},z=function(e,t,r){var n=e,o=e,a=j(),i=a,s=t||50,l=Math.max(500,3*s),c=function(e,t){var l=j();t||l-a>s?(o=n,n=e,i=a,a=l):r?n+=e:n=o+(e-o)/(l-i)*(a-i)};return{update:c,reset:function(){o=n=r?0:n,i=a=0},getVelocity:function(e){var t=i,s=o,u=j();return(e||0===e)&&e!==n&&c(e),a===i||u-i>l?0:(n+(r?s:-s))/((r?u:a)-t)*1e3}}},L=function(e,t){return t&&!e._gsapAllow&&!1!==e.cancelable&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},B=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},H=function(){(f=a.core.globals().ScrollTrigger)&&f.core&&N()},W=function(e){return a=e||v(),!i&&a&&"u">typeof document&&document.body&&(s=window,c=(l=document).documentElement,u=l.body,g=[s,l,c,u],a.utils.clamp,x=a.core.context||function(){},p="onpointerenter"in u?"pointer":"mouse",d=X.isTouch=s.matchMedia&&s.matchMedia("(hover: none), (pointer: coarse)").matches?1:2*("ontouchstart"in s||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),m=X.eventTypes=("ontouchstart"in c?"touchstart,touchmove,touchcancel,touchend":!("onpointerdown"in c)?"mousedown,mousemove,mouseup,mouseup":"pointerdown,pointermove,pointercancel,pointerup").split(","),setTimeout(function(){return y=0},500),i=1),f||H(),i};R.op=F,w.cache=0;var X=function(){var e;function t(e){this.init(e)}return t.prototype.init=function(e){i||W(a)||console.warn("Please gsap.registerPlugin(Observer)"),f||H();var t=e.tolerance,r=e.dragMinimum,n=e.type,o=e.target,g=e.lineHeight,v=e.debounce,y=e.preventDefault,w=e.onStop,k=e.onStopDelay,S=e.ignore,N=e.wheelSpeed,C=e.event,_=e.onDragStart,P=e.onDragEnd,O=e.onDrag,X=e.onPress,U=e.onRelease,V=e.onRight,G=e.onLeft,q=e.onUp,K=e.onDown,$=e.onChangeX,Z=e.onChangeY,J=e.onChange,Q=e.onToggleX,ee=e.onToggleY,et=e.onHover,er=e.onHoverEnd,en=e.onMove,eo=e.ignoreCheck,ea=e.isNormalizer,ei=e.onGestureStart,es=e.onGestureEnd,el=e.onWheel,ec=e.onEnable,eu=e.onDisable,ed=e.onClick,ep=e.scrollSpeed,ef=e.capture,eg=e.allowClicks,eh=e.lockAxis,em=e.onLockAxis;this.target=o=D(o)||c,this.vars=e,S&&(S=a.utils.toArray(S)),t=t||1e-9,r=r||0,N=N||1,ep=ep||1,n=n||"wheel,touch,pointer",v=!1!==v,g||(g=parseFloat(s.getComputedStyle(u).lineHeight)||22);var ex,ev,ey,eb,ew,ek,ej,eS=this,eN=0,eC=0,eA=e.passive||!y&&!1!==e.passive,eT=Y(o,R),eE=Y(o,F),e_=eT(),eP=eE(),eM=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===m[0],eO=A(o),eR=o.ownerDocument||l,eF=[0,0,0],eD=[0,0,0],eI=0,eY=function(){return eI=j()},ez=function(e,t){return(eS.event=e)&&S&&I(e.target,S)||t&&eM&&"touch"!==e.pointerType||eo&&eo(e,t)},eL=function(){var e=eS.deltaX=B(eF),r=eS.deltaY=B(eD),n=Math.abs(e)>=t,o=Math.abs(r)>=t;J&&(n||o)&&J(eS,e,r,eF,eD),n&&(V&&eS.deltaX>0&&V(eS),G&&eS.deltaX<0&&G(eS),$&&$(eS),Q&&eS.deltaX<0!=eN<0&&Q(eS),eN=eS.deltaX,eF[0]=eF[1]=eF[2]=0),o&&(K&&eS.deltaY>0&&K(eS),q&&eS.deltaY<0&&q(eS),Z&&Z(eS),ee&&eS.deltaY<0!=eC<0&&ee(eS),eC=eS.deltaY,eD[0]=eD[1]=eD[2]=0),(eb||ey)&&(en&&en(eS),ey&&(_&&1===ey&&_(eS),O&&O(eS),ey=0),eb=!1),ek&&(ek=!1,1)&&em&&em(eS),ew&&(el(eS),ew=!1),ex=0},eB=function(e,t,r){eF[r]+=e,eD[r]+=t,eS._vx.update(e),eS._vy.update(t),v?ex||(ex=requestAnimationFrame(eL)):eL()},eH=function(e,t){eh&&!ej&&(eS.axis=ej=Math.abs(e)>Math.abs(t)?"x":"y",ek=!0),"y"!==ej&&(eF[2]+=e,eS._vx.update(e,!0)),"x"!==ej&&(eD[2]+=t,eS._vy.update(t,!0)),v?ex||(ex=requestAnimationFrame(eL)):eL()},eW=function(e){if(!ez(e,1)){var t=(e=L(e,y)).clientX,n=e.clientY,o=t-eS.x,a=n-eS.y,i=eS.isDragging;eS.x=t,eS.y=n,(i||(o||a)&&(Math.abs(eS.startX-t)>=r||Math.abs(eS.startY-n)>=r))&&(ey||(ey=i?2:1),i||(eS.isDragging=!0),eH(o,a))}},eX=eS.onPress=function(e){ez(e,1)||e&&e.button||(eS.axis=ej=null,ev.pause(),eS.isPressed=!0,e=L(e),eN=eC=0,eS.startX=eS.x=e.clientX,eS.startY=eS.y=e.clientY,eS._vx.reset(),eS._vy.reset(),T(ea?o:eR,m[1],eW,eA,!0),eS.deltaX=eS.deltaY=0,X&&X(eS))},eU=eS.onRelease=function(e){if(!ez(e,1)){E(ea?o:eR,m[1],eW,!0);var t=!isNaN(eS.y-eS.startY),r=eS.isDragging,n=r&&(Math.abs(eS.x-eS.startX)>3||Math.abs(eS.y-eS.startY)>3),i=L(e);!n&&t&&(eS._vx.reset(),eS._vy.reset(),y&&eg&&a.delayedCall(.08,function(){if(j()-eI>300&&!e.defaultPrevented){if(e.target.click)e.target.click();else if(eR.createEvent){var t=eR.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,s,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}})),eS.isDragging=eS.isGesturing=eS.isPressed=!1,w&&r&&!ea&&ev.restart(!0),ey&&eL(),P&&r&&P(eS),U&&U(eS,n)}},eV=function(e){return e.touches&&e.touches.length>1&&(eS.isGesturing=!0)&&ei(e,eS.isDragging)},eG=function(){return eS.isGesturing=!1,es(eS)},eq=function(e){if(!ez(e)){var t=eT(),r=eE();eB((t-e_)*ep,(r-eP)*ep,1),e_=t,eP=r,w&&ev.restart(!0)}},eK=function(e){if(!ez(e)){e=L(e,y),el&&(ew=!0);var t=(1===e.deltaMode?g:2===e.deltaMode?s.innerHeight:1)*N;eB(e.deltaX*t,e.deltaY*t,0),w&&!ea&&ev.restart(!0)}},e$=function(e){if(!ez(e)){var t=e.clientX,r=e.clientY,n=t-eS.x,o=r-eS.y;eS.x=t,eS.y=r,eb=!0,w&&ev.restart(!0),(n||o)&&eH(n,o)}},eZ=function(e){eS.event=e,et(eS)},eJ=function(e){eS.event=e,er(eS)},eQ=function(e){return ez(e)||L(e,y)&&ed(eS)};ev=eS._dc=a.delayedCall(k||.25,function(){eS._vx.reset(),eS._vy.reset(),ev.pause(),w&&w(eS)}).pause(),eS.deltaX=eS.deltaY=0,eS._vx=z(0,50,!0),eS._vy=z(0,50,!0),eS.scrollX=eT,eS.scrollY=eE,eS.isDragging=eS.isGesturing=eS.isPressed=!1,x(this),eS.enable=function(e){return!eS.isEnabled&&(T(eO?eR:o,"scroll",M),n.indexOf("scroll")>=0&&T(eO?eR:o,"scroll",eq,eA,ef),n.indexOf("wheel")>=0&&T(o,"wheel",eK,eA,ef),(n.indexOf("touch")>=0&&d||n.indexOf("pointer")>=0)&&(T(o,m[0],eX,eA,ef),T(eR,m[2],eU),T(eR,m[3],eU),eg&&T(o,"click",eY,!0,!0),ed&&T(o,"click",eQ),ei&&T(eR,"gesturestart",eV),es&&T(eR,"gestureend",eG),et&&T(o,p+"enter",eZ),er&&T(o,p+"leave",eJ),en&&T(o,p+"move",e$)),eS.isEnabled=!0,eS.isDragging=eS.isGesturing=eS.isPressed=eb=ey=!1,eS._vx.reset(),eS._vy.reset(),e_=eT(),eP=eE(),e&&e.type&&eX(e),ec&&ec(eS)),eS},eS.disable=function(){eS.isEnabled&&(b.filter(function(e){return e!==eS&&A(e.target)}).length||E(eO?eR:o,"scroll",M),eS.isPressed&&(eS._vx.reset(),eS._vy.reset(),E(ea?o:eR,m[1],eW,!0)),E(eO?eR:o,"scroll",eq,ef),E(o,"wheel",eK,ef),E(o,m[0],eX,ef),E(eR,m[2],eU),E(eR,m[3],eU),E(o,"click",eY,!0),E(o,"click",eQ),E(eR,"gesturestart",eV),E(eR,"gestureend",eG),E(o,p+"enter",eZ),E(o,p+"leave",eJ),E(o,p+"move",e$),eS.isEnabled=eS.isPressed=eS.isDragging=!1,eu&&eu(eS))},eS.kill=eS.revert=function(){eS.disable();var e=b.indexOf(eS);e>=0&&b.splice(e,1),h===eS&&(h=0)},b.push(eS),ea&&A(o)&&(h=eS),eS.enable(C)},e=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),t}();X.version="3.15.0",X.create=function(e){return new X(e)},X.register=W,X.getAll=function(){return b.slice()},X.getById=function(e){return b.filter(function(t){return t.vars.id===e})[0]},v()&&a.registerPlugin(X);var U,V,G,q,K,$,Z,J,Q,ee,et,er,en,eo,ea,ei,es,el,ec,eu,ed,ep,ef,eg,eh,em,ex,ev,ey,eb,ew,ek,ej,eS,eN,eC,eA,eT,eE=1,e_=Date.now,eP=e_(),eM=0,eO=0,eR=function(e,t,r){var n=eq(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},eF=function(e,t){return t&&(!eq(e)||"clamp("!==e.substr(0,6))?"clamp("+e+")":e},eD=function(){return eo=1},eI=function(){return eo=0},eY=function(e){return e},ez=function(e){return Math.round(1e5*e)/1e5||0},eL=function(){return"u">typeof window},eB=function(){return U||eL()&&(U=window.gsap)&&U.registerPlugin&&U},eH=function(e){return!!~Z.indexOf(e)},eW=function(e){return("Height"===e?ew:G["inner"+e])||K["client"+e]||$["client"+e]},eX=function(e){return C(e,"getBoundingClientRect")||(eH(e)?function(){return tZ.width=G.innerWidth,tZ.height=ew,tZ}:function(){return ti(e)})},eU=function(e,t,r){var n=r.d,o=r.d2,a=r.a;return(a=C(e,"getBoundingClientRect"))?function(){return a()[n]}:function(){return(t?eW(o):e["client"+o])||0}},eV=function(e,t){var r=t.s,n=t.d2,o=t.d,a=t.a;return Math.max(0,(a=C(e,r="scroll"+n))?a()-eX(e)()[o]:eH(e)?(K[r]||$[r])-eW(n):e[r]-e["offset"+n])},eG=function(e,t){for(var r=0;r<ec.length;r+=3)(!t||~t.indexOf(ec[r+1]))&&e(ec[r],ec[r+1],ec[r+2])},eq=function(e){return"string"==typeof e},eK=function(e){return"function"==typeof e},e$=function(e){return"number"==typeof e},eZ=function(e){return"object"==typeof e},eJ=function(e,t,r){return e&&e.progress(+!t)&&r&&e.pause()},eQ=function(e,t,r){if(e.enabled){var n=e._ctx?e._ctx.add(function(){return t(e,r)}):t(e,r);n&&n.totalTime&&(e.callbackAnimation=n)}},e0=Math.abs,e1="left",e2="right",e5="bottom",e3="width",e4="height",e6="Right",e8="Left",e7="Bottom",e9="padding",te="margin",tt="Width",tr="Height",tn=function(e){return G.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},to=function(e){var t=tn(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative"},ta=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},ti=function(e,t){var r=t&&"matrix(1, 0, 0, 1, 0, 0)"!==tn(e)[ea]&&U.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return r&&r.progress(0).kill(),n},ts=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},tl=function(e){var t,r=[],n=e.labels,o=e.duration();for(t in n)r.push(n[t]/o);return r},tc=function(e){var t=U.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(e,t){return e-t});return r?function(e,n,o){var a;if(void 0===o&&(o=.001),!n)return t(e);if(n>0){for(e-=o,a=0;a<r.length;a++)if(r[a]>=e)return r[a];return r[a-1]}for(a=r.length,e+=o;a--;)if(r[a]<=e)return r[a];return r[0]}:function(r,n,o){void 0===o&&(o=.001);var a=t(r);return!n||Math.abs(a-r)<o||a-r<0==n<0?a:t(n<0?r-e:r+e)}},tu=function(e,t,r,n){return r.split(",").forEach(function(r){return e(t,r,n)})},td=function(e,t,r,n,o){return e.addEventListener(t,r,{passive:!n,capture:!!o})},tp=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},tf=function(e,t,r){(r=r&&r.wheelHandler)&&(e(t,"wheel",r),e(t,"touchmove",r))},tg={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},th={toggleActions:"play",anticipatePin:0},tm={top:0,left:0,center:.5,bottom:1,right:1},tx=function(e,t){if(eq(e)){var r=e.indexOf("="),n=~r?(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in tm?tm[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},tv=function(e,t,r,n,o,a,i,s){var l=o.startColor,c=o.endColor,u=o.fontSize,d=o.indent,p=o.fontWeight,f=q.createElement("div"),g=eH(r)||"fixed"===C(r,"pinType"),h=-1!==e.indexOf("scroller"),m=g?$:"IFRAME"===r.tagName?r.contentDocument.body:r,x=-1!==e.indexOf("start"),v=x?l:c,y="border-color:"+v+";font-size:"+u+";color:"+v+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((h||s)&&g?"fixed;":"absolute;"),(h||s||!g)&&(y+=(n===F?e2:e5)+":"+(a+parseFloat(d))+"px;"),i&&(y+="box-sizing:border-box;text-align:left;width:"+i.offsetWidth+"px;"),f._isStart=x,f.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),f.style.cssText=y,f.innerText=t||0===t?e+"-"+t:e,m.children[0]?m.insertBefore(f,m.children[0]):m.appendChild(f),f._offset=f["offset"+n.op.d2],ty(f,0,n,x),f},ty=function(e,t,r,n){var o={display:"block"},a=r[n?"os2":"p2"],i=r[n?"p2":"os2"];e._isFlipped=n,o[r.a+"Percent"]=n?-100:0,o[r.a]=n?"1px":0,o["border"+a+tt]=1,o["border"+i+tt]=0,o[r.p]=t+"px",U.set(e,o)},tb=[],tw={},tk=function(){return e_()-eM>34&&(eN||(eN=requestAnimationFrame(tH)))},tj=function(){ef&&ef.isPressed&&!(ef.startX>$.clientWidth)||(w.cache++,ef?eN||(eN=requestAnimationFrame(tH)):tH(),eM||tE("scrollStart"),eM=e_())},tS=function(){em=G.innerWidth,eh=G.innerHeight},tN=function(e){w.cache++,(!0===e||!en&&!ep&&!q.fullscreenElement&&!q.webkitFullscreenElement&&(!eg||em!==G.innerWidth||Math.abs(G.innerHeight-eh)>.25*G.innerHeight))&&J.restart(!0)},tC={},tA=[],tT=function e(){return tp(t3,"scrollEnd",e)||tz(!0)},tE=function(e){return tC[e]&&tC[e].map(function(e){return e()})||tA},t_=[],tP=function(e){for(var t=0;t<t_.length;t+=5)(!e||t_[t+4]&&t_[t+4].query===e)&&(t_[t].style.cssText=t_[t+1],t_[t].getBBox&&t_[t].setAttribute("transform",t_[t+2]||""),t_[t+3].uncache=1)},tM=function(){return w.forEach(function(e){return eK(e)&&++e.cacheID&&(e.rec=e())})},tO=function(e,t){var r;for(ei=0;ei<tb.length;ei++)(r=tb[ei])&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));ek=!0,t&&tP(t),t||tE("revert")},tR=function(e,t){w.cache++,(t||!eC)&&w.forEach(function(e){return eK(e)&&e.cacheID++&&(e.rec=0)}),eq(e)&&(G.history.scrollRestoration=ey=e)},tF=0,tD=function(){if(eA!==tF){var e=eA=tF;requestAnimationFrame(function(){return e===tF&&tz(!0)})}},tI=function(){$.appendChild(eb),ew=!ef&&eb.offsetHeight||G.innerHeight,$.removeChild(eb)},tY=function(e){return Q(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},tz=function(e,t){if(K=q.documentElement,$=q.body,Z=[G,q,K,$],eM&&!e&&!ek)return void td(t3,"scrollEnd",tT);tI(),eC=t3.isRefreshing=!0,ek||tM();var r=tE("refreshInit");eu&&t3.sort(),t||tO(),w.forEach(function(e){eK(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))}),tb.slice(0).forEach(function(e){return e.refresh()}),ek=!1,tb.forEach(function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?"offsetWidth":"offsetHeight",r=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-r),e.refresh()}}),ej=1,tY(!0),tb.forEach(function(e){var t=eV(e.scroller,e._dir),r="max"===e.vars.end||e._endClamp&&e.end>t,n=e._startClamp&&e.start>=t;(r||n)&&e.setPositions(n?t-1:e.start,r?Math.max(n?t:e.start+1,t):e.end,!0)}),tY(!1),ej=0,r.forEach(function(e){return e&&e.render&&e.render(-1)}),w.forEach(function(e){eK(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior="smooth"}),e.rec&&e(e.rec))}),tR(ey,1),J.pause(),tF++,eC=2,tH(2),tb.forEach(function(e){return eK(e.vars.onRefresh)&&e.vars.onRefresh(e)}),eC=t3.isRefreshing=!1,tE("refresh")},tL=0,tB=1,tH=function(e){if(2===e||!eC&&!ek){t3.isUpdating=!0,eT&&eT.update(0);var t=tb.length,r=e_(),n=r-eP>=50,o=t&&tb[0].scroll();if(tB=tL>o?-1:1,eC||(tL=o),n&&(eM&&!eo&&r-eM>200&&(eM=0,tE("scrollEnd")),et=eP,eP=r),tB<0){for(ei=t;ei-- >0;)tb[ei]&&tb[ei].update(0,n);tB=1}else for(ei=0;ei<t;ei++)tb[ei]&&tb[ei].update(0,n);t3.isUpdating=!1}eN=0},tW=[e1,"top",e5,e2,te+e7,te+e6,te+"Top",te+e8,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],tX=tW.concat([e3,e4,"boxSizing","max"+tt,"max"+tr,"position",te,e9,e9+"Top",e9+e6,e9+e7,e9+e8]),tU=function(e,t,r){tq(r);var n=e._gsap;if(n.spacerIsNative)tq(n.spacerState);else if(e._gsap.swappedIn){var o=t.parentNode;o&&(o.insertBefore(e,t),o.removeChild(t))}e._gsap.swappedIn=!1},tV=function(e,t,r,n){if(!e._gsap.swappedIn){for(var o,a=tW.length,i=t.style,s=e.style;a--;)i[o=tW[a]]=r[o];i.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(i.display="inline-block"),s[e5]=s[e2]="auto",i.flexBasis=r.flexBasis||"auto",i.overflow="visible",i.boxSizing="border-box",i[e3]=ts(e,R)+"px",i[e4]=ts(e,F)+"px",i[e9]=s[te]=s.top=s[e1]="0",tq(n),s[e3]=s["max"+tt]=r[e3],s[e4]=s["max"+tr]=r[e4],s[e9]=r[e9],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},tG=/([A-Z])/g,tq=function(e){if(e){var t,r,n=e.t.style,o=e.length,a=0;for((e.t._gsap||U.core.getCache(e.t)).uncache=1;a<o;a+=2)r=e[a+1],t=e[a],r?n[t]=r:n[t]&&n.removeProperty(t.replace(tG,"-$1").toLowerCase())}},tK=function(e){for(var t=tX.length,r=e.style,n=[],o=0;o<t;o++)n.push(tX[o],r[tX[o]]);return n.t=e,n},t$=function(e,t,r){for(var n,o=[],a=e.length,i=8*!!r;i<a;i+=2)n=e[i],o.push(n,n in t?t[n]:e[i+1]);return o.t=e.t,o},tZ={left:0,top:0},tJ=function(e,t,r,n,o,a,i,s,l,c,u,d,p,f){eK(e)&&(e=e(s)),eq(e)&&"max"===e.substr(0,3)&&(e=d+("="===e.charAt(4)?tx("0"+e.substr(3),r):0));var g,h,m,x=p?p.time():0;if(p&&p.seek(0),isNaN(e)||(e*=1),e$(e))p&&(e=U.utils.mapRange(p.scrollTrigger.start,p.scrollTrigger.end,0,d,e)),i&&ty(i,r,n,!0);else{eK(t)&&(t=t(s));var v,y,b,w,k=(e||"0").split(" ");(v=ti(m=D(t,s)||$)||{}).left||v.top||"none"!==tn(m).display||(w=m.style.display,m.style.display="block",v=ti(m),w?m.style.display=w:m.style.removeProperty("display")),y=tx(k[0],v[n.d]),b=tx(k[1]||"0",r),e=v[n.p]-l[n.p]-c+y+o-b,i&&ty(i,b,n,r-b<20||i._isStart&&b>20),r-=r-b}if(f&&(s[f]=e||-.001,e<0&&(e=0)),a){var j=e+r,S=a._isStart;g="scroll"+n.d2,ty(a,j,n,S&&j>20||!S&&(u?Math.max($[g],K[g]):a.parentNode[g])<=j+1),u&&(l=ti(i),u&&(a.style[n.op.p]=l[n.op.p]-n.op.m-a._offset+"px"))}return p&&m&&(g=ti(m),p.seek(d),h=ti(m),p._caScrollDist=g[n.p]-h[n.p],e=e/p._caScrollDist*d),p&&p.seek(x),p?e:Math.round(e)},tQ=/(webkit|moz|length|cssText|inset)/i,t0=function(e,t,r,n){if(e.parentNode!==t){var o,a,i=e.style;if(t===$){for(o in e._stOrig=i.cssText,a=tn(e))+o||tQ.test(o)||!a[o]||"string"!=typeof i[o]||"0"===o||(i[o]=a[o]);i.top=r,i.left=n}else i.cssText=e._stOrig;U.core.getCache(e).uncache=1,t.appendChild(e)}},t1=function(e,t,r){var n=t,o=n;return function(t){var a=Math.round(e());return a!==n&&a!==o&&Math.abs(a-n)>3&&Math.abs(a-o)>3&&(t=a,r&&r()),o=n,n=Math.round(t)}},t2=function(e,t,r){var n={};n[t.p]="+="+r,U.set(e,n)},t5=function(e,t){var r=Y(e,t),n="_scroll"+t.p2,o=function t(o,a,i,s,l){var c=t.tween,u=a.onComplete,d={};i=i||r();var p=t1(r,i,function(){c.kill(),t.tween=0});return l=s&&l||0,s=s||o-i,c&&c.kill(),a[n]=o,a.inherit=!1,a.modifiers=d,d[n]=function(){return p(i+s*c.ratio+l*c.ratio*c.ratio)},a.onUpdate=function(){w.cache++,t.tween&&tH()},a.onComplete=function(){t.tween=0,u&&u.call(c)},c=t.tween=U.to(e,a)};return e[n]=r,r.wheelHandler=function(){return o.tween&&o.tween.kill()&&(o.tween=0)},td(e,"wheel",r.wheelHandler),t3.isTouch&&td(e,"touchmove",r.wheelHandler),o},t3=function(){function e(t,r){V||e.register(U)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ev(this),this.init(t,r)}return e.prototype.init=function(t,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!eO){this.update=this.refresh=this.kill=eY;return}var n,o,a,i,s,l,c,u,d,p,f,g,h,m,x,v,y,b,j,S,N,A,T,E,_,P,M,O,I,z,L,B,H,W,X,V,Z,J,er,ea,es,el=t=ta(eq(t)||e$(t)||t.nodeType?{trigger:t}:t,th),ec=el.onUpdate,ep=el.toggleClass,ef=el.id,eg=el.onToggle,eh=el.onRefresh,em=el.scrub,ex=el.trigger,ev=el.pin,ey=el.pinSpacing,eb=el.invalidateOnRefresh,ew=el.anticipatePin,ek=el.onScrubComplete,eN=el.onSnapComplete,eA=el.once,eP=el.snap,eD=el.pinReparent,eI=el.pinSpacer,eL=el.containerAnimation,eB=el.fastScrollEnd,eW=el.preventOverlaps,eG=t.horizontal||t.containerAnimation&&!1!==t.horizontal?R:F,e1=!em&&0!==em,e2=D(t.scroller||G),e5=U.core.getCache(e2),tu=eH(e2),tf=("pinType"in t?t.pinType:C(e2,"pinType")||tu&&"fixed")==="fixed",tm=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],ty=e1&&t.toggleActions.split(" "),tk="markers"in t?t.markers:th.markers,tS=tu?0:parseFloat(tn(e2)["border"+eG.p2+tt])||0,tC=this,tA=t.onRefreshInit&&function(){return t.onRefreshInit(tC)},tE=eU(e2,tu,eG),t_=!tu||~k.indexOf(e2)?eX(e2):function(){return tZ},tP=0,tM=0,tO=0,tR=Y(e2,eG);if(tC._startClamp=tC._endClamp=!1,tC._dir=eG,ew*=45,tC.scroller=e2,tC.scroll=eL?eL.time.bind(eL):tR,l=tR(),tC.vars=t,r=r||t.animation,"refreshPriority"in t&&(eu=1,-9999===t.refreshPriority&&(eT=tC)),e5.tweenScroll=e5.tweenScroll||{top:t5(e2,F),left:t5(e2,R)},tC.tweenTo=a=e5.tweenScroll[eG.p],tC.scrubDuration=function(e){(X=e$(e)&&e)?W?W.duration(e):W=U.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:X,paused:!0,onComplete:function(){return ek&&ek(tC)}}):(W&&W.progress(1).kill(),W=0)},r&&(r.vars.lazy=!1,r._initted&&!tC.isReverted||!1!==r.vars.immediateRender&&!1!==t.immediateRender&&r.duration()&&r.render(0,!0,!0),tC.animation=r.pause(),r.scrollTrigger=tC,tC.scrubDuration(em),B=0,ef||(ef=r.vars.id)),eP&&((!eZ(eP)||eP.push)&&(eP={snapTo:eP}),"scrollBehavior"in $.style&&U.set(tu?[$,K]:e2,{scrollBehavior:"auto"}),w.forEach(function(e){return eK(e)&&e.target===(tu?q.scrollingElement||K:e2)&&(e.smooth=!1)}),s=eK(eP.snapTo)?eP.snapTo:"labels"===eP.snapTo?(n=r,function(e){return U.utils.snap(tl(n),e)}):"labelsDirectional"===eP.snapTo?(o=r,function(e,t){return tc(tl(o))(e,t.direction)}):!1!==eP.directional?function(e,t){return tc(eP.snapTo)(e,e_()-tM<500?0:t.direction)}:U.utils.snap(eP.snapTo),V=eZ(V=eP.duration||{min:.1,max:2})?ee(V.min,V.max):ee(V,V),Z=U.delayedCall(eP.delay||X/2||.1,function(){var e=tR(),t=e_()-tM<500,n=a.tween;if((t||10>Math.abs(tC.getVelocity()))&&!n&&!eo&&tP!==e){var o,i,l=(e-u)/v,c=r&&!e1?r.totalProgress():l,p=t?0:(c-H)/(e_()-et)*1e3||0,f=U.utils.clamp(-l,1-l,e0(p/2)*p/.185),g=l+(!1===eP.inertia?0:f),h=eP,m=h.onStart,x=h.onInterrupt,y=h.onComplete;if(e$(o=s(g,tC))||(o=g),i=Math.max(0,Math.round(u+o*v)),e<=d&&e>=u&&i!==e){if(n&&!n._initted&&n.data<=e0(i-e))return;!1===eP.inertia&&(f=o-l),a(i,{duration:V(e0(.185*Math.max(e0(g-c),e0(o-c))/p/.05||0)),ease:eP.ease||"power3",data:e0(i-e),onInterrupt:function(){return Z.restart(!0)&&x&&eQ(tC,x)},onComplete:function(){tC.update(),tP=tR(),r&&!e1&&(W?W.resetTo("totalProgress",o,r._tTime/r._tDur):r.progress(o)),B=H=r&&!e1?r.totalProgress():tC.progress,eN&&eN(tC),y&&eQ(tC,y)}},e,f*v,i-e-f*v),m&&eQ(tC,m,a.tween)}}else tC.isActive&&tP!==e&&Z.restart(!0)}).pause()),ef&&(tw[ef]=tC),(es=(ex=tC.trigger=D(ex||!0!==ev&&ev))&&ex._gsap&&ex._gsap.stRevert)&&(es=es(tC)),ev=!0===ev?ex:D(ev),eq(ep)&&(ep={targets:ex,className:ep}),ev&&(!1===ey||ey===te||(ey=(!!ey||!ev.parentNode||!ev.parentNode.style||"flex"!==tn(ev.parentNode).display)&&e9),tC.pin=ev,(i=U.core.getCache(ev)).spacer?y=i.pinState:(eI&&((eI=D(eI))&&!eI.nodeType&&(eI=eI.current||eI.nativeElement),i.spacerIsNative=!!eI,eI&&(i.spacerState=tK(eI))),i.spacer=S=eI||q.createElement("div"),S.classList.add("pin-spacer"),ef&&S.classList.add("pin-spacer-"+ef),i.pinState=y=tK(ev)),!1!==t.force3D&&U.set(ev,{force3D:!0}),tC.spacer=S=i.spacer,P=(L=tn(ev))[ey+eG.os2],A=U.getProperty(ev),T=U.quickSetter(ev,eG.a,"px"),tV(ev,S,L),j=tK(ev)),tk){m=eZ(tk)?ta(tk,tg):tg,g=tv("scroller-start",ef,e2,eG,m,0),h=tv("scroller-end",ef,e2,eG,m,0,g),N=g["offset"+eG.op.d2];var tF=D(C(e2,"content")||e2);p=this.markerStart=tv("start",ef,tF,eG,m,N,0,eL),f=this.markerEnd=tv("end",ef,tF,eG,m,N,0,eL),eL&&(ea=U.quickSetter([p,f],eG.a,"px")),tf||k.length&&!0===C(e2,"fixedMarkers")||(to(tu?$:e2),U.set([g,h],{force3D:!0}),O=U.quickSetter(g,eG.a,"px"),z=U.quickSetter(h,eG.a,"px"))}if(eL){var tI=eL.vars.onUpdate,tY=eL.vars.onUpdateParams;eL.eventCallback("onUpdate",function(){tC.update(0,0,1),tI&&tI.apply(eL,tY||[])})}if(tC.previous=function(){return tb[tb.indexOf(tC)-1]},tC.next=function(){return tb[tb.indexOf(tC)+1]},tC.revert=function(e,t){if(!t)return tC.kill(!0);var n=!1!==e||!tC.enabled,o=en;n!==tC.isReverted&&(n&&(J=Math.max(tR(),tC.scroll.rec||0),tO=tC.progress,er=r&&r.progress()),p&&[p,f,g,h].forEach(function(e){return e.style.display=n?"none":"block"}),n&&(en=tC,tC.update(n)),!ev||eD&&tC.isActive||(n?tU(ev,S,y):tV(ev,S,tn(ev),M)),n||tC.update(n),en=o,tC.isReverted=n)},tC.refresh=function(n,o,i,s){if(!en&&tC.enabled||o){if(ev&&n&&eM)return void td(e,"scrollEnd",tT);!eC&&tA&&tA(tC),en=tC,a.tween&&!i&&(a.tween.kill(),a.tween=0),W&&W.pause(),eb&&r&&(r.revert({kill:!1}).invalidate(),r.getChildren?r.getChildren(!0,!0,!1).forEach(function(e){return e.vars.immediateRender&&e.render(0,!0,!0)}):r.vars.immediateRender&&r.render(0,!0,!0)),tC.isReverted||tC.revert(!0,!0),tC._subPinOffset=!1;var m,w,k,N,C,T,P,O,z,L,B,H,X,V=tE(),G=t_(),Q=eL?eL.duration():eV(e2,eG),ee=v<=.01||!v,et=0,eo=s||0,ea=eZ(i)?i.end:t.end,ei=t.endTrigger||ex,es=eZ(i)?i.start:t.start||(0!==t.start&&ex?ev?"0 0":"0 100%":0),el=tC.pinnedContainer=t.pinnedContainer&&D(t.pinnedContainer,tC),ec=ex&&Math.max(0,tb.indexOf(tC))||0,eu=ec;for(tk&&eZ(i)&&(H=U.getProperty(g,eG.p),X=U.getProperty(h,eG.p));eu-- >0;)(T=tb[eu]).end||T.refresh(0,1)||(en=tC),(P=T.pin)&&(P===ex||P===ev||P===el)&&!T.isReverted&&(L||(L=[]),L.unshift(T),T.revert(!0,!0)),T!==tb[eu]&&(ec--,eu--);for(eK(es)&&(es=es(tC)),u=tJ(es=eR(es,"start",tC),ex,V,eG,tR(),p,g,tC,G,tS,tf,Q,eL,tC._startClamp&&"_startClamp")||(ev?-.001:0),eK(ea)&&(ea=ea(tC)),eq(ea)&&!ea.indexOf("+=")&&(~ea.indexOf(" ")?ea=(eq(es)?es.split(" ")[0]:"")+ea:(et=tx(ea.substr(2),V),ea=eq(es)?es:(eL?U.utils.mapRange(0,eL.duration(),eL.scrollTrigger.start,eL.scrollTrigger.end,u):u)+et,ei=ex)),ea=eR(ea,"end",tC),d=Math.max(u,tJ(ea||(ei?"100% 0":Q),ei,V,eG,tR()+et,f,h,tC,G,tS,tf,Q,eL,tC._endClamp&&"_endClamp"))||-.001,et=0,eu=ec;eu--;)(P=(T=tb[eu]||{}).pin)&&T.start-T._pinPush<=u&&!eL&&T.end>0&&(m=T.end-(tC._startClamp?Math.max(0,T.start):T.start),(P===ex&&T.start-T._pinPush<u||P===el)&&isNaN(es)&&(et+=m*(1-T.progress)),P===ev&&(eo+=m));if(u+=et,d+=et,tC._startClamp&&(tC._startClamp+=et),tC._endClamp&&!eC&&(tC._endClamp=d||-.001,d=Math.min(d,eV(e2,eG))),v=d-u||(u-=.01)&&.001,ee&&(tO=U.utils.clamp(0,1,U.utils.normalize(u,d,J))),tC._pinPush=eo,p&&et&&((m={})[eG.a]="+="+et,el&&(m[eG.p]="-="+tR()),U.set([p,f],m)),ev&&!(ej&&tC.end>=eV(e2,eG)))m=tn(ev),N=eG===F,k=tR(),E=parseFloat(A(eG.a))+eo,!Q&&d>1&&(B={style:B=(tu?q.scrollingElement||K:e2).style,value:B["overflow"+eG.a.toUpperCase()]},tu&&"scroll"!==tn($)["overflow"+eG.a.toUpperCase()]&&(B.style["overflow"+eG.a.toUpperCase()]="scroll")),tV(ev,S,m),j=tK(ev),w=ti(ev,!0),O=tf&&Y(e2,N?R:F)(),ey?((M=[ey+eG.os2,v+eo+"px"]).t=S,(eu=ey===e9?ts(ev,eG)+v+eo:0)&&(M.push(eG.d,eu+"px"),"auto"!==S.style.flexBasis&&(S.style.flexBasis=eu+"px")),tq(M),el&&tb.forEach(function(e){e.pin===el&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)}),tf&&tR(J)):(eu=ts(ev,eG))&&"auto"!==S.style.flexBasis&&(S.style.flexBasis=eu+"px"),tf&&((C={top:w.top+(N?k-u:O)+"px",left:w.left+(N?O:k-u)+"px",boxSizing:"border-box",position:"fixed"})[e3]=C["max"+tt]=Math.ceil(w.width)+"px",C[e4]=C["max"+tr]=Math.ceil(w.height)+"px",C[te]=C[te+"Top"]=C[te+e6]=C[te+e7]=C[te+e8]="0",C[e9]=m[e9],C[e9+"Top"]=m[e9+"Top"],C[e9+e6]=m[e9+e6],C[e9+e7]=m[e9+e7],C[e9+e8]=m[e9+e8],b=t$(y,C,eD),eC&&tR(0)),r?(z=r._initted,ed(1),r.render(r.duration(),!0,!0),_=A(eG.a)-E+v+eo,I=Math.abs(v-_)>1,tf&&I&&b.splice(b.length-2,2),r.render(0,!0,!0),z||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),ed(0)):_=v,B&&(B.value?B.style["overflow"+eG.a.toUpperCase()]=B.value:B.style.removeProperty("overflow-"+eG.a));else if(ex&&tR()&&!eL)for(w=ex.parentNode;w&&w!==$;)w._pinOffset&&(u-=w._pinOffset,d-=w._pinOffset),w=w.parentNode;L&&L.forEach(function(e){return e.revert(!1,!0)}),tC.start=u,tC.end=d,l=c=eC?J:tR(),eL||eC||(l<J&&tR(J),tC.scroll.rec=0),tC.revert(!1,!0),tM=e_(),Z&&(tP=-1,Z.restart(!0)),en=0,r&&e1&&(r._initted||er)&&r.progress()!==er&&r.progress(er||0,!0).render(r.time(),!0,!0),(ee||tO!==tC.progress||eL||eb||r&&!r._initted)&&(r&&!e1&&(r._initted||tO||!1!==r.vars.immediateRender)&&r.totalProgress(eL&&u<-.001&&!tO?U.utils.normalize(u,d,0):tO,!0),tC.progress=ee||(l-u)/v===tO?0:tO),ev&&ey&&(S._pinOffset=Math.round(tC.progress*_)),W&&W.invalidate(),isNaN(H)||(H-=U.getProperty(g,eG.p),X-=U.getProperty(h,eG.p),t2(g,eG,H),t2(p,eG,H-(s||0)),t2(h,eG,X),t2(f,eG,X-(s||0))),ee&&!eC&&tC.update(),!eh||eC||x||(x=!0,eh(tC),x=!1)}},tC.getVelocity=function(){return(tR()-c)/(e_()-et)*1e3||0},tC.endAnimation=function(){eJ(tC.callbackAnimation),r&&(W?W.progress(1):r.paused()?e1||eJ(r,tC.direction<0,1):eJ(r,r.reversed()))},tC.labelToScroll=function(e){return r&&r.labels&&(u||tC.refresh()||u)+r.labels[e]/r.duration()*v||0},tC.getTrailing=function(e){var t=tb.indexOf(tC),r=tC.direction>0?tb.slice(0,t).reverse():tb.slice(t+1);return(eq(e)?r.filter(function(t){return t.vars.preventOverlaps===e}):r).filter(function(e){return tC.direction>0?e.end<=u:e.start>=d})},tC.update=function(e,t,n){if(!eL||n||e){var o,i,s,p,f,h,m,x=!0===eC?J:tC.scroll(),y=e?0:(x-u)/v,w=y<0?0:y>1?1:y||0,k=tC.progress;if(t&&(c=l,l=eL?tR():x,eP&&(H=B,B=r&&!e1?r.totalProgress():w)),ew&&ev&&!en&&!eE&&eM&&(!w&&u<x+(x-c)/(e_()-et)*ew?w=1e-4:1===w&&d>x+(x-c)/(e_()-et)*ew&&(w=.9999)),w!==k&&tC.enabled){if(p=(f=(o=tC.isActive=!!w&&w<1)!=(!!k&&k<1))||!!w!=!!k,tC.direction=w>k?1:-1,tC.progress=w,p&&!en&&(i=w&&!k?0:1===w?1:1===k?2:3,e1&&(s=!f&&"none"!==ty[i+1]&&ty[i+1]||ty[i],m=r&&("complete"===s||"reset"===s||s in r))),eW&&(f||m)&&(m||em||!r)&&(eK(eW)?eW(tC):tC.getTrailing(eW).forEach(function(e){return e.endAnimation()})),!e1&&(!W||en||eE?r&&r.totalProgress(w,!!(en&&(tM||e))):(W._dp._time-W._start!==W._time&&W.render(W._dp._time-W._start),W.resetTo?W.resetTo("totalProgress",w,r._tTime/r._tDur):(W.vars.totalProgress=w,W.invalidate().restart()))),ev)if(e&&ey&&(S.style[ey+eG.os2]=P),tf){if(p){if(h=!e&&w>k&&d+1>x&&x+1>=eV(e2,eG),eD)if(!e&&(o||h)){var N=ti(ev,!0),C=x-u;t0(ev,$,N.top+(eG===F?C:0)+"px",N.left+(eG===F?0:C)+"px")}else t0(ev,S);tq(o||h?b:j),I&&w<1&&o||T(E+(1!==w||h?0:_))}}else T(ez(E+_*w));!eP||a.tween||en||eE||Z.restart(!0),ep&&(f||eA&&w&&(w<1||!eS))&&Q(ep.targets).forEach(function(e){return e.classList[o||eA?"add":"remove"](ep.className)}),!ec||e1||e||ec(tC),p&&!en?(e1&&(m&&("complete"===s?r.pause().totalProgress(1):"reset"===s?r.restart(!0).pause():"restart"===s?r.restart(!0):r[s]()),ec&&ec(tC)),(f||!eS)&&(eg&&f&&eQ(tC,eg),tm[i]&&eQ(tC,tm[i]),eA&&(1===w?tC.kill(!1,1):tm[i]=0),!f&&tm[i=1===w?1:3]&&eQ(tC,tm[i])),eB&&!o&&Math.abs(tC.getVelocity())>(e$(eB)?eB:2500)&&(eJ(tC.callbackAnimation),W?W.progress(1):eJ(r,"reverse"===s?1:!w,1))):e1&&ec&&!en&&ec(tC)}if(z){var A=eL?x/eL.duration()*(eL._caScrollDist||0):x;O(A+ +!!g._isFlipped),z(A)}ea&&ea(-x/eL.duration()*(eL._caScrollDist||0))}},tC.enable=function(t,r){tC.enabled||(tC.enabled=!0,td(e2,"resize",tN),tu||td(e2,"scroll",tj),tA&&td(e,"refreshInit",tA),!1!==t&&(tC.progress=tO=0,l=c=tP=tR()),!1!==r&&tC.refresh())},tC.getTween=function(e){return e&&a?a.tween:W},tC.setPositions=function(e,t,r,n){if(eL){var o=eL.scrollTrigger,a=eL.duration(),i=o.end-o.start;e=o.start+i*e/a,t=o.start+i*t/a}tC.refresh(!1,!1,{start:eF(e,r&&!!tC._startClamp),end:eF(t,r&&!!tC._endClamp)},n),tC.update()},tC.adjustPinSpacing=function(e){if(M&&e){var t=M.indexOf(eG.d)+1;M[t]=parseFloat(M[t])+e+"px",M[1]=parseFloat(M[1])+e+"px",tq(M)}},tC.disable=function(t,r){if(!1!==t&&tC.revert(!0,!0),tC.enabled&&(tC.enabled=tC.isActive=!1,r||W&&W.pause(),J=0,i&&(i.uncache=1),tA&&tp(e,"refreshInit",tA),Z&&(Z.pause(),a.tween&&a.tween.kill()&&(a.tween=0)),!tu)){for(var n=tb.length;n--;)if(tb[n].scroller===e2&&tb[n]!==tC)return;tp(e2,"resize",tN),tu||tp(e2,"scroll",tj)}},tC.kill=function(e,n){tC.disable(e,n),W&&!n&&W.kill(),ef&&delete tw[ef];var o=tb.indexOf(tC);o>=0&&tb.splice(o,1),o===ei&&tB>0&&ei--,o=0,tb.forEach(function(e){return e.scroller===tC.scroller&&(o=1)}),o||eC||(tC.scroll.rec=0),r&&(r.scrollTrigger=null,e&&r.revert({kill:!1}),n||r.kill()),p&&[p,f,g,h].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),eT===tC&&(eT=0),ev&&(i&&(i.uncache=1),o=0,tb.forEach(function(e){return e.pin===ev&&o++}),o||(i.spacer=0)),t.onKill&&t.onKill(tC)},tb.push(tC),tC.enable(!1,!1),es&&es(tC),r&&r.add&&!v){var tz=tC.update;tC.update=function(){tC.update=tz,w.cache++,u||d||tC.refresh()},U.delayedCall(.01,tC.update),v=.01,u=d=0}else tC.refresh();ev&&tD()},e.register=function(t){return V||(U=t||eB(),eL()&&window.document&&e.enable(),V=eO),V},e.defaults=function(e){if(e)for(var t in e)th[t]=e[t];return th},e.disable=function(e,t){eO=0,tb.forEach(function(r){return r[t?"kill":"disable"](e)}),tp(G,"wheel",tj),tp(q,"scroll",tj),clearInterval(er),tp(q,"touchcancel",eY),tp($,"touchstart",eY),tu(tp,q,"pointerdown,touchstart,mousedown",eD),tu(tp,q,"pointerup,touchend,mouseup",eI),J.kill(),eG(tp);for(var r=0;r<w.length;r+=3)tf(tp,w[r],w[r+1]),tf(tp,w[r],w[r+2])},e.enable=function(){if(G=window,K=(q=document).documentElement,$=q.body,U)if(Q=U.utils.toArray,ee=U.utils.clamp,ev=U.core.context||eY,ed=U.core.suppressOverwrites||eY,ey=G.history.scrollRestoration||"auto",tL=G.pageYOffset||0,U.core.globals("ScrollTrigger",e),$){eO=1,(eb=document.createElement("div")).style.height="100vh",eb.style.position="absolute",tI(),function e(){return eO&&requestAnimationFrame(e)}(),X.register(U),e.isTouch=X.isTouch,ex=X.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),eg=1===X.isTouch,td(G,"wheel",tj),Z=[G,q,K,$],U.matchMedia?(e.matchMedia=function(e){var t,r=U.matchMedia();for(t in e)r.add(t,e[t]);return r},U.addEventListener("matchMediaInit",function(){tM(),tO()}),U.addEventListener("matchMediaRevert",function(){return tP()}),U.addEventListener("matchMedia",function(){tz(0,1),tE("matchMedia")}),U.matchMedia().add("(orientation: portrait)",function(){return tS(),tS})):console.warn("Requires GSAP 3.11.0 or later"),tS(),td(q,"scroll",tj);var t,r,n=$.hasAttribute("style"),o=$.style,a=o.borderTopStyle,i=U.core.Animation.prototype;for(i.revert||Object.defineProperty(i,"revert",{value:function(){return this.time(-.01,!0)}}),o.borderTopStyle="solid",F.m=Math.round((t=ti($)).top+F.sc())||0,R.m=Math.round(t.left+R.sc())||0,a?o.borderTopStyle=a:o.removeProperty("border-top-style"),n||($.setAttribute("style",""),$.removeAttribute("style")),er=setInterval(tk,250),U.delayedCall(.5,function(){return eE=0}),td(q,"touchcancel",eY),td($,"touchstart",eY),tu(td,q,"pointerdown,touchstart,mousedown",eD),tu(td,q,"pointerup,touchend,mouseup",eI),ea=U.utils.checkPrefix("transform"),tX.push(ea),V=e_(),J=U.delayedCall(.2,tz).pause(),ec=[q,"visibilitychange",function(){var e=G.innerWidth,t=G.innerHeight;q.hidden?(es=e,el=t):(es!==e||el!==t)&&tN()},q,"DOMContentLoaded",tz,G,"load",tz,G,"resize",tN],eG(td),tb.forEach(function(e){return e.enable(0,1)}),r=0;r<w.length;r+=3)tf(tp,w[r],w[r+1]),tf(tp,w[r],w[r+2])}else q&&q.addEventListener("DOMContentLoaded",function t(){e.enable(),q.removeEventListener("DOMContentLoaded",t)})},e.config=function(t){"limitCallbacks"in t&&(eS=!!t.limitCallbacks);var r=t.syncInterval;r&&clearInterval(er)||(er=r)&&setInterval(tk,r),"ignoreMobileResize"in t&&(eg=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(eG(tp)||eG(td,t.autoRefreshEvents||"none"),ep=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var r=D(e),n=w.indexOf(r),o=eH(r);~n&&w.splice(n,o?6:2),t&&(o?k.unshift(G,t,$,t,K,t):k.unshift(r,t))},e.clearMatchMedia=function(e){tb.forEach(function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)})},e.isInViewport=function(e,t,r){var n=(eq(e)?D(e):e).getBoundingClientRect(),o=n[r?e3:e4]*t||0;return r?n.right-o>0&&n.left+o<G.innerWidth:n.bottom-o>0&&n.top+o<G.innerHeight},e.positionInViewport=function(e,t,r){eq(e)&&(e=D(e));var n=e.getBoundingClientRect(),o=n[r?e3:e4],a=null==t?o/2:t in tm?tm[t]*o:~t.indexOf("%")?parseFloat(t)*o/100:parseFloat(t)||0;return r?(n.left+a)/G.innerWidth:(n.top+a)/G.innerHeight},e.killAll=function(e){if(tb.slice(0).forEach(function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()}),!0!==e){var t=tC.killAll||[];tC={},t.forEach(function(e){return e()})}},e}();t3.version="3.15.0",t3.saveStyles=function(e){return e?Q(e).forEach(function(e){if(e&&e.style){var t=t_.indexOf(e);t>=0&&t_.splice(t,5),t_.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),U.core.getCache(e),ev())}}):t_},t3.revert=function(e,t){return tO(!e,t)},t3.create=function(e,t){return new t3(e,t)},t3.refresh=function(e){return e?tN(!0):(V||t3.register())&&tz(!0)},t3.update=function(e){return++w.cache&&tH(2*(!0===e))},t3.clearScrollMemory=tR,t3.maxScroll=function(e,t){return eV(e,t?R:F)},t3.getScrollFunc=function(e,t){return Y(D(e),t?R:F)},t3.getById=function(e){return tw[e]},t3.getAll=function(){return tb.filter(function(e){return"ScrollSmoother"!==e.vars.id})},t3.isScrolling=function(){return!!eM},t3.snapDirectional=tc,t3.addEventListener=function(e,t){var r=tC[e]||(tC[e]=[]);~r.indexOf(t)||r.push(t)},t3.removeEventListener=function(e,t){var r=tC[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},t3.batch=function(e,t){var r,n=[],o={},a=t.interval||.016,i=t.batchMax||1e9,s=function(e,t){var r=[],n=[],o=U.delayedCall(a,function(){t(r,n),r=[],n=[]}).pause();return function(e){r.length||o.restart(!0),r.push(e.trigger),n.push(e),i<=r.length&&o.progress(1)}};for(r in t)o[r]="on"===r.substr(0,2)&&eK(t[r])&&"onRefreshInit"!==r?s(r,t[r]):t[r];return eK(i)&&(i=i(),td(t3,"refresh",function(){return i=t.batchMax()})),Q(e).forEach(function(e){var t={};for(r in o)t[r]=o[r];t.trigger=e,n.push(t3.create(t))}),n};var t4,t6=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},t8=function e(t,r){!0===r?t.style.removeProperty("touch-action"):t.style.touchAction=!0===r?"auto":r?"pan-"+r+(X.isTouch?" pinch-zoom":""):"none",t===K&&e($,r)},t7={auto:1,scroll:1},t9=function(e){var t,r=e.event,n=e.target,o=e.axis,a=(r.changedTouches?r.changedTouches[0]:r).target,i=a._gsap||U.core.getCache(a),s=e_();if(!i._isScrollT||s-i._isScrollT>2e3){for(;a&&a!==$&&(a.scrollHeight<=a.clientHeight&&a.scrollWidth<=a.clientWidth||!(t7[(t=tn(a)).overflowY]||t7[t.overflowX]));)a=a.parentNode;i._isScroll=a&&a!==n&&!eH(a)&&(t7[(t=tn(a)).overflowY]||t7[t.overflowX]),i._isScrollT=s}(i._isScroll||"x"===o)&&(r.stopPropagation(),r._gsapAllow=!0)},re=function(e,t,r,n){return X.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&t9,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&td(q,X.eventTypes[0],rr,!1,!0)},onDisable:function(){return tp(q,X.eventTypes[0],rr,!0)}})},rt=/(input|label|select|textarea)/i,rr=function(e){var t=rt.test(e.target.tagName);(t||t4)&&(e._gsapAllow=!0,t4=t)},rn=function(e){eZ(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,r,n,o,a,i,s,l,c=e,u=c.normalizeScrollX,d=c.momentum,p=c.allowNestedScroll,f=c.onRelease,g=D(e.target)||K,h=U.core.globals().ScrollSmoother,m=h&&h.get(),x=ex&&(e.content&&D(e.content)||m&&!1!==e.content&&!m.smooth()&&m.content()),v=Y(g,F),y=Y(g,R),b=1,k=(X.isTouch&&G.visualViewport?G.visualViewport.scale*G.visualViewport.width:G.outerWidth)/G.innerWidth,j=0,S=eK(d)?function(){return d(t)}:function(){return d||2.8},N=re(g,e.type,!0,p),C=function(){return o=!1},A=eY,T=eY,E=function(){r=eV(g,F),T=ee(+!!ex,r),u&&(A=ee(0,eV(g,R))),n=tF},_=function(){x._gsap.y=ez(parseFloat(x._gsap.y)+v.offset)+"px",x.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(x._gsap.y)+", 0, 1)",v.offset=v.cacheID=0},P=function(){if(o){requestAnimationFrame(C);var e=ez(t.deltaY/2),r=T(v.v-e);if(x&&r!==v.v+v.offset){v.offset=r-v.v;var n=ez((parseFloat(x&&x._gsap.y)||0)-v.offset);x.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",x._gsap.y=n+"px",v.cacheID=w.cache,tH()}return!0}v.offset&&_(),o=!0},M=function(){E(),a.isActive()&&a.vars.scrollY>r&&(v()>r?a.progress(1)&&v(r):a.resetTo("scrollY",r))};return x&&U.set(x,{y:"+=0"}),e.ignoreCheck=function(e){return ex&&"touchmove"===e.type&&P(e)||b>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){o=!1;var e=b;b=ez((G.visualViewport&&G.visualViewport.scale||1)/k),a.pause(),e!==b&&t8(g,b>1.01||!u&&"x"),i=y(),s=v(),E(),n=tF},e.onRelease=e.onGestureStart=function(e,t){if(v.offset&&_(),t){w.cache++;var n,o,i=S();u&&(o=(n=y())+-(.05*i*e.velocityX)/.227,i*=t6(y,n,o,eV(g,R)),a.vars.scrollX=A(o)),o=(n=v())+-(.05*i*e.velocityY)/.227,i*=t6(v,n,o,eV(g,F)),a.vars.scrollY=T(o),a.invalidate().duration(i).play(.01),(ex&&a.vars.scrollY>=r||n>=r-1)&&U.to({},{onUpdate:M,duration:i})}else l.restart(!0);f&&f(e)},e.onWheel=function(){a._ts&&a.pause(),e_()-j>1e3&&(n=0,j=e_())},e.onChange=function(e,t,r,o,a){if(tF!==n&&E(),t&&u&&y(A(o[2]===t?i+(e.startX-e.x):y()+t-o[1])),r){v.offset&&_();var l=a[2]===r,c=l?s+e.startY-e.y:v()+r-a[1],d=T(c);l&&c!==d&&(s+=d-c),v(d)}(r||t)&&tH()},e.onEnable=function(){t8(g,!u&&"x"),t3.addEventListener("refresh",M),td(G,"resize",M),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),N.enable()},e.onDisable=function(){t8(g,!0),tp(G,"resize",M),t3.removeEventListener("refresh",M),N.kill()},e.lockAxis=!1!==e.lockAxis,(t=new X(e)).iOS=ex,ex&&!v()&&v(1),ex&&U.ticker.add(eY),l=t._dc,a=U.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:u?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:t1(v,v(),function(){return a.pause()})},onUpdate:tH,onComplete:l.vars.onComplete}),t};t3.sort=function(e){if(eK(e))return tb.sort(e);var t=G.pageYOffset||0;return t3.getAll().forEach(function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+G.innerHeight}),tb.sort(e||function(e,t){return -1e6*(e.vars.refreshPriority||0)+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+-1e6*(t.vars.refreshPriority||0))})},t3.observe=function(e){return new X(e)},t3.normalizeScroll=function(e){if(void 0===e)return ef;if(!0===e&&ef)return ef.enable();if(!1===e){ef&&ef.kill(),ef=e;return}var t=e instanceof X?e:rn(e);return ef&&ef.target===t.target&&ef.kill(),eH(t.target)&&(ef=t),t},t3.core={_getVelocityProp:z,_inputObserver:re,_scrollers:w,_proxies:k,bridge:{ss:function(){eM||tE("scrollStart"),eM=e_()},ref:function(){return en}}},eB()&&U.registerPlugin(t3);var ro=e.i(736956),ra=e.i(789994),ri=e.i(438342),rs=e.i(795379),rl=e.i(855372);function rc({isLoggedIn:e}){let a=(0,r.useRef)(null),i=(0,r.useRef)(null),s=(0,r.useRef)(null),l=(0,r.useRef)(null);return(0,o.useGSAP)(()=>{i.current&&s.current&&l.current&&n.default.timeline({delay:.3}).from(".hero-brand",{y:-20,opacity:0,duration:.5,ease:"power3.out"}).from(i.current,{opacity:0,duration:.4,ease:"power2.out"},.2).from(s.current,{opacity:0,duration:.3,ease:"power2.out"},"-=0.1").from(".hero-specs",{y:15,opacity:0,duration:.5,ease:"power2.out"},"-=0.1").from(".hero-providers",{y:10,opacity:0,duration:.4,ease:"power2.out"},"-=0.2").from(l.current,{y:15,opacity:0,duration:.4,ease:"power2.out"},"-=0.2")},{scope:a}),(0,t.jsxs)("section",{ref:a,className:"hero-section relative flex min-h-screen items-center justify-center overflow-hidden",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 opacity-[0.03]",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E\")",backgroundRepeat:"repeat",backgroundSize:"256px 256px"}}),(0,t.jsxs)("div",{className:"hero-content relative z-10 mx-auto flex w-full max-w-4xl flex-col items-center px-4 sm:px-6",children:[(0,t.jsxs)("div",{className:"hero-brand mb-6 flex flex-col sm:flex-row items-center gap-1.5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)(ro.default,{src:"/alook.svg",alt:"Alook",width:28,height:28}),(0,t.jsx)("span",{className:"text-xl tracking-tight",style:{fontFamily:"var(--font-brand)",color:"var(--landing-text)",fontWeight:700},children:"Alook"})]}),(0,t.jsx)("span",{className:"sm:ml-4 text-xs tracking-widest uppercase",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"Your Personal Company"})]}),(0,t.jsxs)("div",{className:"relative w-full h-105 sm:h-125 md:h-142.5",children:[(0,t.jsxs)("div",{className:"absolute top-0 left-0 right-0 z-10 flex flex-col items-center pt-2",children:[(0,t.jsx)("h1",{ref:i,className:"mb-1 text-center leading-[1.2] px-2",style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(26px, 4vw, 44px)",letterSpacing:"-0.01em"},children:"Run Your Personal Company"}),(0,t.jsx)("p",{ref:s,className:"hidden sm:block max-w-lg text-center leading-relaxed px-2",style:{fontFamily:"var(--font-crt)",color:"var(--landing-text-muted)",fontSize:"clamp(14px, 2vw, 20px)"},children:"Agents that collaborate, stay always on, and learn from every task — orchestrated by Alook."})]}),(0,t.jsx)(rs.TypewriterVisual,{interactive:!0,entranceDelay:1.2,className:"absolute! inset-0"})]}),(0,t.jsx)("div",{className:"hero-specs mt-8 flex flex-wrap items-center justify-center gap-x-6 gap-y-2",children:["Collaboration","Always-On","Self-Learning"].map(e=>(0,t.jsx)("span",{className:"text-sm uppercase tracking-[0.15em] font-bold",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:e},e))}),(0,t.jsxs)("div",{className:"hero-providers mt-5 flex items-center justify-center gap-4",children:[(0,t.jsx)("span",{className:"text-xs uppercase tracking-[0.15em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"Use with"}),[{provider:"claude",comingSoon:!1},{provider:"codex",comingSoon:!1},{provider:"opencode",comingSoon:!1},{provider:"cursor",comingSoon:!0},{provider:"hermes",comingSoon:!0},{provider:"openclaw",comingSoon:!0}].map(({provider:e,comingSoon:r})=>(0,t.jsx)("div",{className:"flex items-center justify-center",style:{opacity:r?.45:1,color:"var(--landing-text)"},children:(0,t.jsx)(rl.ProviderLogo,{provider:e,className:"h-5 w-5"})},e))]}),(0,t.jsxs)("div",{ref:l,className:"mt-8 flex flex-wrap items-center justify-center gap-3",children:[(0,t.jsxs)(ra.default,{href:"/templates",className:"inline-flex items-center gap-2 px-6 py-2.5 text-sm transition-all duration-200 hover:opacity-80",style:{fontFamily:"var(--font-mono)",color:"var(--landing-bg)",backgroundColor:"var(--landing-text)",letterSpacing:"0.05em"},children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"3",y:"3",width:"7",height:"7"}),(0,t.jsx)("rect",{x:"14",y:"3",width:"7",height:"7"}),(0,t.jsx)("rect",{x:"3",y:"14",width:"7",height:"7"}),(0,t.jsx)("rect",{x:"14",y:"14",width:"7",height:"7"})]}),"TEMPLATES"]}),e?(0,t.jsxs)("a",{href:"/workspaces?auto",className:"inline-flex items-center gap-2 px-6 py-2.5 text-sm transition-all duration-200 hover:opacity-80",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text)",border:"1px solid var(--landing-text)",letterSpacing:"0.05em"},children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"}),(0,t.jsx)("polyline",{points:"10 17 15 12 10 7"}),(0,t.jsx)("line",{x1:"15",y1:"12",x2:"3",y2:"12"})]}),"APP"]}):(0,t.jsxs)("a",{href:"/sign-in",className:"inline-flex items-center gap-2 px-6 py-2.5 text-sm transition-all duration-200 hover:opacity-80",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text)",border:"1px solid var(--landing-text)",letterSpacing:"0.05em"},children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"}),(0,t.jsx)("polyline",{points:"10 17 15 12 10 7"}),(0,t.jsx)("line",{x1:"15",y1:"12",x2:"3",y2:"12"})]}),"GET STARTED"]})]}),(0,t.jsx)("p",{className:"mt-4 sm:hidden text-center text-xs",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"For the full experience, open on a desktop browser."})]})]})}n.default.registerPlugin(t3,ri.SplitText),n.default.registerPlugin(t3);let ru=[{number:"I",title:"Collaboration",spec:"DEFINE YOUR COMPANY STRUCTURE",description:"You're the CEO. Assign agents to roles — dev, ops, research — and let them coordinate. Define your org chart, and Alook keeps everyone in sync.",terminal:["▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓","▓ YOU ▓░░░░░░░░░░░▓ DEV ▓░░░░░░░░░░░▓ OPS ▓","▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓"," ░ ░ ░ "," ░ ░ ░ ","▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓","▓ R&D ▓░░░░░░░░░░░▓ SALES ▓░░░░░░░░░░░▓ BIZ ▓","▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓"]},{number:"II",title:"Traceable",spec:"EVERY INTERACTION · RECORDED · AUDITABLE",description:"Agents communicate through email and work on your local machine. Every instruction, decision, and reply is recorded — in your inbox or in local files. Full accountability, no black boxes.",terminal:["█████████████████████████","█▓▒ ▒▓█","█ ▓▒░ ░▒▓ █","█ ▓▒░ ░▒▓ █","█ ▓▒░ ░▒▓ █","█ ▓▒░ ░▒▓ █","█ ▓▒█▒▓ █","█ ▒█▒ █","█ █","█████████████████████████"]},{number:"III",title:"Calendar",spec:"SHOWS UP AT THE RIGHT TIME",description:"Your agent manages its own schedule. It knows when to work, when to follow up, and when to wait — always on time, never in the way.",terminal:["▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓","▓ M T W T F S S ▓","▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓","▓ ░ ░ ░ ░ ░ ░ ░ ▓","▓ ░ ░ ░ ░ ░ ░ ░ ▓","▓ ░ ░ ▒ ▓ ░ ░ ░ ▓","▓ ░ ░ ░ ░ █ ░ ░ ▓","▓ ░ ░ ░ ░ ░ ░ ░ ▓","▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓"]},{number:"IV",title:"Always-On",spec:"YOUR COMPANY NEVER SLEEPS",description:"A persistent daemon keeps every agent running around the clock — picking up tasks, responding to emails, shipping work while you sleep.",terminal:[" "," "," █ "," █ █ "," ▒▓ █ ","░░░░░░░░░ ▓ ▒░░░░░░"," █ ▓ "," ▓ "," "," "]},{number:"V",title:"Self-Learning",spec:"EVERY TASK MAKES THE TEAM SMARTER",description:"Agents build memory from past work — decisions, preferences, context. Your company gets sharper with every conversation, every task, every day.",terminal:[" "," █ "," ▓█▓ "," ▒▓█▓▒ "," ░▒▓█▓▒░ "," ░░▒▓█▓▒░░ "," ░░░▒▓█▓▒░░░ "," ░░░░▒▓█▓▒░░░░ "," ░░░░░▒▓█▓▒░░░░░ "," "]}];function rd(){let e=(0,r.useRef)(null);return(0,o.useGSAP)(()=>{n.default.from(".feature-hero",{y:30,opacity:0,duration:.6,scrollTrigger:{trigger:e.current,start:"top 75%",toggleActions:"play none none none"}}),n.default.utils.toArray(".feature-row").forEach(e=>{n.default.from(e,{y:40,opacity:0,duration:.6,ease:"power2.out",scrollTrigger:{trigger:e,start:"top 80%",toggleActions:"play none none none"}})})},{scope:e}),(0,t.jsxs)("section",{ref:e,className:"relative overflow-hidden py-24 lg:py-32",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsxs)("div",{className:"feature-hero mx-auto mb-20 max-w-4xl px-6 text-center lg:mb-28",children:[(0,t.jsx)("div",{className:"mb-3 text-xs uppercase tracking-[0.3em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"Features"}),(0,t.jsx)("h2",{style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(1.75rem, 4vw, 3rem)"},children:"Your Company, Your Agents"}),(0,t.jsx)("p",{className:"mx-auto mt-3 max-w-xl",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",fontSize:"0.85rem"},children:"Define roles, assign agents, and let them run. Alook is the orchestration layer that turns agents into a company."})]}),(0,t.jsx)("div",{className:"mx-auto flex max-w-5xl flex-col gap-24 px-6 lg:gap-32 lg:px-12",children:ru.map((e,r)=>(0,t.jsx)(rp,{feature:e,reversed:r%2==1},e.number))})]})}function rp({feature:e,reversed:r}){return(0,t.jsxs)("div",{className:`feature-row grid w-full grid-cols-1 items-center gap-8 lg:grid-cols-2 lg:gap-16 ${r?"lg:[direction:rtl]":""}`,children:[(0,t.jsxs)("div",{className:`panel-text text-center lg:text-left ${r?"lg:[direction:ltr]":""}`,children:[(0,t.jsxs)("div",{className:"mb-2 flex items-baseline justify-center gap-3 lg:justify-start",children:[(0,t.jsxs)("span",{className:"text-3xl",style:{fontFamily:"var(--font-crt)",color:"var(--landing-text-muted)"},children:[e.number,"."]}),(0,t.jsx)("h2",{className:"leading-tight",style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(2rem, 4vw, 3rem)"},children:e.title})]}),(0,t.jsx)("div",{className:"mt-2 text-[10px] uppercase tracking-[0.2em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:e.spec}),(0,t.jsx)("p",{className:"mx-auto mt-4 max-w-md leading-relaxed text-[0.8125rem] sm:text-[0.875rem] lg:mx-0",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:e.description})]}),(0,t.jsx)("div",{className:`panel-crt rounded-lg p-2 ${r?"lg:[direction:ltr]":""}`,style:{backgroundColor:"oklch(0.82 0.02 75)",boxShadow:"0 4px 16px oklch(0.15 0.01 55 / 15%), inset 0 1px 0 oklch(0.95 0.01 80 / 40%)"},children:(0,t.jsxs)("div",{className:"relative overflow-hidden rounded p-5",style:{backgroundColor:"var(--landing-crt-bg)",boxShadow:"inset 0 0 40px oklch(0.04 0.003 55)"},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 z-10",style:{backgroundImage:"repeating-linear-gradient(to bottom, transparent 0px, transparent 1px, oklch(0 0 0 / 6%) 1px, oklch(0 0 0 / 6%) 2px)",backgroundSize:"100% 2px"}}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(ellipse at center, transparent 60%, oklch(0.04 0.003 55 / 50%) 100%)"}}),(0,t.jsx)("div",{className:"relative z-20 flex items-center justify-center min-h-35",children:(0,t.jsx)(rg,{lines:e.terminal})})]})})]})}let rf=[" ","░","▒","▓","█"];function rg({lines:e}){let n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let t;if(!n.current||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let r=e.join("\n"),o=[...r].map((e,t)=>{let n=rf.indexOf(e),o=0,a=0;for(let e=0;e<t;e++)"\n"===r[e]?(o++,a=0):a++;return{orig:e,level:n,row:o,col:a}}),a=0,i=!1,s=new IntersectionObserver(([e])=>{i=e.isIntersecting},{threshold:.1});s.observe(n.current);let l=()=>{if(i&&++a%2==0){let e=[];for(let t=0;t<o.length;t++){let r=o[t];if(r.level<=0){e.push(r.orig);continue}let n=Math.sin(.015*a+.45*r.row+.1*r.col),i=Math.max(1,Math.min(4,r.level+Math.round(n)));e.push(rf[i])}n.current&&(n.current.textContent=e.join(""))}t=requestAnimationFrame(l)};return t=requestAnimationFrame(l),()=>{cancelAnimationFrame(t),s.disconnect()}},[e]),(0,t.jsx)("pre",{ref:n,className:"text-[10px] sm:text-[13px]",style:{fontFamily:"'Menlo', 'Consolas', 'DejaVu Sans Mono', monospace",color:"var(--landing-phosphor)",textShadow:"0 0 8px oklch(0.75 0.18 80 / 40%)",opacity:.8,lineHeight:1.35,overflowX:"hidden"},children:e.join("\n")})}n.default.registerPlugin(t3);let rh=[{label:"AI Agent",detail:"Runs tasks on your machine"},{label:"Your Codebase",detail:"Full access, nothing leaves"},{label:"Local Tools",detail:"Git, shell, editors — all yours"}],rm=[{label:"Email Inbox",detail:"Receives emails for your agent"},{label:"Dashboard",detail:"Monitor and review in real-time"},{label:"Sync Layer",detail:"Keeps everything connected"}];function rx({title:e,subtitle:r,items:n,className:o}){return(0,t.jsxs)("div",{className:`arch-zone rounded-2xl p-6 ${o??""}`,style:{backgroundColor:"var(--landing-surface)",border:"1px solid var(--landing-border)"},children:[(0,t.jsxs)("div",{className:"mb-5",children:[(0,t.jsx)("h3",{className:"text-lg",style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)"},children:e}),(0,t.jsx)("div",{className:"mt-1 text-xs",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:r})]}),(0,t.jsx)("div",{className:"space-y-2.5",children:n.map(e=>(0,t.jsx)("div",{className:"rounded-lg p-1.5",style:{backgroundColor:"oklch(0.82 0.02 75)",boxShadow:"0 2px 8px oklch(0.15 0.01 55 / 10%), inset 0 1px 0 oklch(0.95 0.01 80 / 40%)"},children:(0,t.jsxs)("div",{className:"relative overflow-hidden rounded px-4 py-3",style:{backgroundColor:"var(--landing-crt-bg)",boxShadow:"inset 0 0 20px oklch(0.04 0.003 55)"},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 z-10",style:{backgroundImage:"repeating-linear-gradient(to bottom, transparent 0px, transparent 1px, oklch(0 0 0 / 6%) 1px, oklch(0 0 0 / 6%) 2px)",backgroundSize:"100% 2px"}}),(0,t.jsxs)("div",{className:"relative z-20",children:[(0,t.jsx)("div",{className:"text-xs font-medium",style:{fontFamily:"var(--font-crt)",color:"var(--landing-phosphor)",textShadow:"0 0 6px oklch(0.75 0.18 80 / 30%)"},children:e.label}),(0,t.jsx)("div",{className:"mt-0.5 text-[11px] leading-relaxed",style:{fontFamily:"var(--font-crt)",color:"var(--landing-phosphor)",textShadow:"0 0 6px oklch(0.75 0.18 80 / 30%)",opacity:.55},children:e.detail})]})]})},e.label))})]})}function rv(){return(0,t.jsxs)("div",{className:"arch-arrows flex flex-col items-center justify-center py-4 lg:py-0",children:[(0,t.jsxs)("div",{className:"hidden lg:flex flex-col items-center gap-3",children:[(0,t.jsx)("span",{className:"text-[10px]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",opacity:.6},children:"tasks & results"}),(0,t.jsxs)("svg",{width:"120",height:"20",viewBox:"0 0 120 20",style:{overflow:"visible"},children:[(0,t.jsx)("polygon",{points:"4,6 0,10 4,14",fill:"var(--landing-text-muted)",opacity:"0.4"}),(0,t.jsx)("line",{x1:"6",y1:"10",x2:"114",y2:"10",stroke:"var(--landing-text-muted)",strokeWidth:"1",strokeDasharray:"4 3",opacity:"0.35"}),(0,t.jsx)("polygon",{points:"116,6 120,10 116,14",fill:"var(--landing-text-muted)",opacity:"0.4"})]}),(0,t.jsx)("span",{className:"text-[10px]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",opacity:.6},children:"email in · updates out"})]}),(0,t.jsxs)("div",{className:"flex lg:hidden flex-row items-center gap-3",children:[(0,t.jsxs)("span",{className:"text-[10px] text-right",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",opacity:.6},children:["tasks &",(0,t.jsx)("br",{}),"results"]}),(0,t.jsxs)("svg",{width:"20",height:"60",viewBox:"0 0 20 60",style:{overflow:"visible"},children:[(0,t.jsx)("polygon",{points:"6,4 10,0 14,4",fill:"var(--landing-text-muted)",opacity:"0.4"}),(0,t.jsx)("line",{x1:"10",y1:"6",x2:"10",y2:"54",stroke:"var(--landing-text-muted)",strokeWidth:"1",strokeDasharray:"4 3",opacity:"0.35"}),(0,t.jsx)("polygon",{points:"6,56 10,60 14,56",fill:"var(--landing-text-muted)",opacity:"0.4"})]}),(0,t.jsxs)("span",{className:"text-[10px]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",opacity:.6},children:["email in ·",(0,t.jsx)("br",{}),"updates out"]})]})]})}function ry(){let e=(0,r.useRef)(null);return(0,o.useGSAP)(()=>{n.default.from(".arch-title",{y:30,opacity:0,duration:.6,scrollTrigger:{trigger:e.current,start:"top 75%",toggleActions:"play none none none"}}),n.default.from(".arch-zone",{y:40,opacity:0,duration:.7,stagger:.2,scrollTrigger:{trigger:".arch-diagram",start:"top 70%",toggleActions:"play none none none"}}),n.default.from(".arch-arrows",{opacity:0,duration:.5,delay:.3,scrollTrigger:{trigger:".arch-diagram",start:"top 65%",toggleActions:"play none none none"}})},{scope:e}),(0,t.jsxs)("section",{ref:e,className:"relative flex min-h-screen flex-col items-center justify-center px-6 py-32",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsxs)("div",{className:"arch-title mb-16 text-center",children:[(0,t.jsx)("div",{className:"mb-3 text-xs uppercase tracking-[0.3em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"How It Works"}),(0,t.jsx)("h2",{style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(1.75rem, 4vw, 3rem)"},children:"Local Agent, Global Reach"}),(0,t.jsx)("p",{className:"mt-2 max-w-lg mx-auto",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",fontSize:"0.85rem"},children:"Your agent runs on your machine with full access to your tools. Alook connects it to email, dashboards, and the outside world."})]}),(0,t.jsxs)("div",{className:"arch-diagram mx-auto flex w-full max-w-4xl flex-col items-center gap-6 lg:flex-row lg:items-stretch lg:gap-8",children:[(0,t.jsx)("div",{className:"w-full lg:flex-1",children:(0,t.jsx)(rx,{title:"Your Machine",subtitle:"Private · Local files · full control",items:rh})}),(0,t.jsx)(rv,{}),(0,t.jsx)("div",{className:"w-full lg:flex-1",children:(0,t.jsx)(rx,{title:"Alook Cloud",subtitle:"Always on · globally reachable",items:rm})})]})]})}function rb({isLoggedIn:e}){return(0,t.jsx)("nav",{className:"marketing-nav fixed top-0 right-0 left-0 z-50 invisible opacity-0",style:{backgroundColor:"oklch(0.93 0.015 80 / 90%)",backdropFilter:"blur(8px)",borderBottom:"1px solid var(--landing-border)"},children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-5xl items-center justify-between px-6 py-2.5",children:[(0,t.jsxs)(ra.default,{href:"/",className:"flex items-center gap-2",children:[(0,t.jsx)(ro.default,{src:"/alook.svg",alt:"Alook",width:22,height:22}),(0,t.jsx)("span",{className:"text-lg tracking-tight",style:{fontFamily:"var(--font-brand)",color:"var(--landing-text)",fontWeight:700},children:"Alook"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(ra.default,{href:"/templates",className:"px-3 py-1.5 text-xs uppercase tracking-widest transition-opacity duration-150 hover:opacity-70",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text)"},children:"Templates"}),e&&(0,t.jsxs)(ra.default,{href:"/workspaces?auto",className:"inline-flex items-center gap-1.5 px-4 py-1.5 text-xs uppercase tracking-widest transition-opacity duration-150 hover:opacity-70",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text)",border:"1px solid var(--landing-text)"},children:["App",(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M5 12h14M12 5l7 7-7 7"})})]})]})]})})}n.default.registerPlugin(t3);let rw=[{href:"/templates",label:"Templates"},{href:"https://discord.gg/24PHyEHU3M",label:"Discord",external:!0},{href:"mailto:support@alook.ai",label:"Contact",external:!0}];function rk(){let e=(0,r.useRef)(null);(0,o.useGSAP)(()=>{n.default.from(e.current,{y:20,opacity:0,duration:.6,ease:"power2.out",scrollTrigger:{trigger:e.current,start:"top 90%",toggleActions:"play none none none"}})},{scope:e});let a={fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",fontSize:"11px",textTransform:"uppercase",letterSpacing:"0.15em"};return(0,t.jsx)("footer",{ref:e,className:"px-6 py-12",style:{backgroundColor:"var(--landing-surface)",borderTop:"1px solid var(--landing-border)"},children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-5xl flex-col items-center justify-between gap-6 md:flex-row",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(ro.default,{src:"/alook.svg",alt:"Alook",width:20,height:20}),(0,t.jsx)("span",{className:"text-lg tracking-tight",style:{fontFamily:"var(--font-brand)",color:"var(--landing-text)",fontWeight:700},children:"Alook"})]}),(0,t.jsx)("span",{className:"text-[10px] uppercase tracking-[0.2em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"Your Personal Company"})]}),(0,t.jsx)("nav",{className:"flex items-center gap-5","aria-label":"Footer navigation",children:rw.map(e=>e.external?(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"transition-opacity hover:opacity-70",style:a,children:e.label},e.label):(0,t.jsx)(ra.default,{href:e.href,className:"transition-opacity hover:opacity-70",style:a,children:e.label},e.label))}),(0,t.jsx)("div",{className:"flex items-center gap-6",children:(0,t.jsxs)("span",{className:"text-[10px] uppercase tracking-[0.2em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",opacity:.5},children:["© ",new Date().getFullYear()," Alook AI"]})})]})})}n.default.registerPlugin(t3);let rj=[{name:"Claude Code",provider:"claude",detail:"Anthropic's CLI agent"},{name:"Codex",provider:"codex",detail:"OpenAI's coding agent"},{name:"OpenCode",provider:"opencode",detail:"Open-source coding agent"},{name:"Cursor",provider:"cursor",detail:"AI-powered code editor",comingSoon:!0},{name:"Hermes",provider:"hermes",detail:"Autonomous coding agent",comingSoon:!0},{name:"OpenClaw",provider:"openclaw",detail:"Open-source AI agent",comingSoon:!0}];function rS({agent:e}){let r=e.comingSoon;return(0,t.jsx)("div",{className:"byoa-card rounded-lg p-1.5",style:{backgroundColor:"oklch(0.82 0.02 75)",boxShadow:"0 2px 8px oklch(0.15 0.01 55 / 10%), inset 0 1px 0 oklch(0.95 0.01 80 / 40%)",opacity:r?.55:1},children:(0,t.jsxs)("div",{className:"relative overflow-hidden rounded px-5 py-4",style:{backgroundColor:"var(--landing-crt-bg)",boxShadow:"inset 0 0 20px oklch(0.04 0.003 55)"},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 z-10",style:{backgroundImage:"repeating-linear-gradient(to bottom, transparent 0px, transparent 1px, oklch(0 0 0 / 6%) 1px, oklch(0 0 0 / 6%) 2px)",backgroundSize:"100% 2px"}}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(ellipse at center, transparent 60%, oklch(0.04 0.003 55 / 50%) 100%)"}}),(0,t.jsx)("div",{className:"relative z-20",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"flex shrink-0 items-center justify-center rounded",style:{opacity:r?.45:.85},children:(0,t.jsx)(rl.ProviderLogo,{provider:e.provider,className:"h-5 w-5 text-white"})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)("div",{className:"text-sm font-medium",style:{fontFamily:"var(--font-crt)",color:"var(--landing-phosphor)",textShadow:r?"none":"0 0 6px oklch(0.75 0.18 80 / 30%)",opacity:r?.5:1},children:e.name}),r&&(0,t.jsx)("span",{className:"text-[9px] uppercase tracking-[0.15em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-phosphor)",opacity:.4},children:"Soon"}),!r&&(0,t.jsx)("span",{className:"inline-block h-1.5 w-1.5 rounded-full",style:{backgroundColor:"var(--landing-phosphor)",boxShadow:"0 0 6px oklch(0.75 0.18 80 / 50%)"}})]}),(0,t.jsx)("div",{className:"mt-0.5 text-[11px] leading-relaxed",style:{fontFamily:"var(--font-crt)",color:"var(--landing-phosphor)",textShadow:r?"none":"0 0 6px oklch(0.75 0.18 80 / 30%)",opacity:r?.35:.55},children:e.detail})]})]})})]})})}function rN(){let e=(0,r.useRef)(null);return(0,o.useGSAP)(()=>{n.default.from(".byoa-title",{y:30,opacity:0,duration:.6,scrollTrigger:{trigger:e.current,start:"top 75%",toggleActions:"play none none none"}}),n.default.from(".byoa-card",{y:30,opacity:0,duration:.5,stagger:.1,scrollTrigger:{trigger:".byoa-grid",start:"top 80%",toggleActions:"play none none none"}})},{scope:e}),(0,t.jsxs)("section",{ref:e,className:"relative px-6 py-24 lg:py-32",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsxs)("div",{className:"byoa-title mx-auto mb-12 max-w-4xl text-center lg:mb-16",children:[(0,t.jsx)("div",{className:"mb-3 text-xs uppercase tracking-[0.3em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"Agent Agnostic"}),(0,t.jsx)("h2",{style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(1.75rem, 4vw, 3rem)"},children:"Bring Your Own Agent"}),(0,t.jsx)("p",{className:"mx-auto mt-2 max-w-lg",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",fontSize:"0.85rem"},children:"Alook is the orchestration layer. Pick the agents you trust — we give them roles, inboxes, and an always-on runtime."})]}),(0,t.jsx)("div",{className:"byoa-grid mx-auto grid max-w-3xl grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",children:rj.map(e=>(0,t.jsx)(rS,{agent:e},e.name))})]})}n.default.registerPlugin(o.useGSAP,t3),window.matchMedia("(prefers-reduced-motion: reduce)").matches&&n.default.globalTimeline.timeScale(20),e.s(["HomePage",0,function({isLoggedIn:e}){let a=(0,r.useRef)(null);return(0,o.useGSAP)(()=>{t3.create({trigger:".hero-section",start:"bottom top",onEnterBack:()=>{n.default.to(".marketing-nav",{autoAlpha:0,duration:.3,ease:"power2.out"})},onLeave:()=>{n.default.to(".marketing-nav",{autoAlpha:1,duration:.3,ease:"power2.out"})}})},{scope:a}),(0,t.jsxs)("div",{ref:a,className:"landing relative flex-1 overflow-x-clip",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsx)(rb,{isLoggedIn:e}),(0,t.jsx)(rc,{isLoggedIn:e}),(0,t.jsx)(rN,{}),(0,t.jsx)(rd,{}),(0,t.jsx)(ry,{}),(0,t.jsx)(rk,{})]})}],371836)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,371836,e=>{"use strict";var t=e.i(368075),r=e.i(298699),n=e.i(732919),o=e.i(455012),a,i,s,l,c,u,d,p,f,g,h,m,x,v=function(){return a||"u">typeof window&&(a=window.gsap)&&a.registerPlugin&&a},y=1,b=[],w=[],k=[],j=Date.now,S=function(e,t){return t},N=function(){var e=f.core,t=e.bridge||{},r=e._scrollers,n=e._proxies;r.push.apply(r,w),n.push.apply(n,k),w=r,k=n,S=function(e,r){return t[e](r)}},C=function(e,t){return~k.indexOf(e)&&k[k.indexOf(e)+1][t]},A=function(e){return!!~g.indexOf(e)},T=function(e,t,r,n,o){return e.addEventListener(t,r,{passive:!1!==n,capture:!!o})},E=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},_="scrollLeft",P="scrollTop",M=function(){return h&&h.isPressed||w.cache++},O=function(e,t){var r=function r(n){if(n||0===n){y&&(s.history.scrollRestoration="manual");var o=h&&h.isPressed;e(n=r.v=Math.round(n)||(h&&h.iOS?1:0)),r.cacheID=w.cache,o&&S("ss",n)}else(t||w.cache!==r.cacheID||S("ref"))&&(r.cacheID=w.cache,r.v=e());return r.v+r.offset};return r.offset=0,e&&r},R={s:_,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:O(function(e){return arguments.length?s.scrollTo(e,F.sc()):s.pageXOffset||l[_]||c[_]||u[_]||0})},F={s:P,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:R,sc:O(function(e){return arguments.length?s.scrollTo(R.sc(),e):s.pageYOffset||l[P]||c[P]||u[P]||0})},D=function(e,t){return(t&&t._ctx&&t._ctx.selector||a.utils.toArray)(e)[0]||("string"==typeof e&&!1!==a.config().nullTargetWarn?console.warn("Element not found:",e):null)},I=function(e,t){for(var r=t.length;r--;)if(t[r]===e||t[r].contains(e))return!0;return!1},Y=function(e,t){var r=t.s,n=t.sc;A(e)&&(e=l.scrollingElement||c);var o=w.indexOf(e),i=n===F.sc?1:2;~o||(o=w.push(e)-1),w[o+i]||T(e,"scroll",M);var s=w[o+i],u=s||(w[o+i]=O(C(e,r),!0)||(A(e)?n:O(function(t){return arguments.length?e[r]=t:e[r]})));return u.target=e,s||(u.smooth="smooth"===a.getProperty(e,"scrollBehavior")),u},z=function(e,t,r){var n=e,o=e,a=j(),i=a,s=t||50,l=Math.max(500,3*s),c=function(e,t){var l=j();t||l-a>s?(o=n,n=e,i=a,a=l):r?n+=e:n=o+(e-o)/(l-i)*(a-i)};return{update:c,reset:function(){o=n=r?0:n,i=a=0},getVelocity:function(e){var t=i,s=o,u=j();return(e||0===e)&&e!==n&&c(e),a===i||u-i>l?0:(n+(r?s:-s))/((r?u:a)-t)*1e3}}},L=function(e,t){return t&&!e._gsapAllow&&!1!==e.cancelable&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},B=function(e){var t=Math.max.apply(Math,e),r=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(r)?t:r},W=function(){(f=a.core.globals().ScrollTrigger)&&f.core&&N()},H=function(e){return a=e||v(),!i&&a&&"u">typeof document&&document.body&&(s=window,c=(l=document).documentElement,u=l.body,g=[s,l,c,u],a.utils.clamp,x=a.core.context||function(){},p="onpointerenter"in u?"pointer":"mouse",d=X.isTouch=s.matchMedia&&s.matchMedia("(hover: none), (pointer: coarse)").matches?1:2*("ontouchstart"in s||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0),m=X.eventTypes=("ontouchstart"in c?"touchstart,touchmove,touchcancel,touchend":!("onpointerdown"in c)?"mousedown,mousemove,mouseup,mouseup":"pointerdown,pointermove,pointercancel,pointerup").split(","),setTimeout(function(){return y=0},500),i=1),f||W(),i};R.op=F,w.cache=0;var X=function(){var e;function t(e){this.init(e)}return t.prototype.init=function(e){i||H(a)||console.warn("Please gsap.registerPlugin(Observer)"),f||W();var t=e.tolerance,r=e.dragMinimum,n=e.type,o=e.target,g=e.lineHeight,v=e.debounce,y=e.preventDefault,w=e.onStop,k=e.onStopDelay,S=e.ignore,N=e.wheelSpeed,C=e.event,_=e.onDragStart,P=e.onDragEnd,O=e.onDrag,X=e.onPress,U=e.onRelease,V=e.onRight,G=e.onLeft,q=e.onUp,K=e.onDown,$=e.onChangeX,Z=e.onChangeY,J=e.onChange,Q=e.onToggleX,ee=e.onToggleY,et=e.onHover,er=e.onHoverEnd,en=e.onMove,eo=e.ignoreCheck,ea=e.isNormalizer,ei=e.onGestureStart,es=e.onGestureEnd,el=e.onWheel,ec=e.onEnable,eu=e.onDisable,ed=e.onClick,ep=e.scrollSpeed,ef=e.capture,eg=e.allowClicks,eh=e.lockAxis,em=e.onLockAxis;this.target=o=D(o)||c,this.vars=e,S&&(S=a.utils.toArray(S)),t=t||1e-9,r=r||0,N=N||1,ep=ep||1,n=n||"wheel,touch,pointer",v=!1!==v,g||(g=parseFloat(s.getComputedStyle(u).lineHeight)||22);var ex,ev,ey,eb,ew,ek,ej,eS=this,eN=0,eC=0,eA=e.passive||!y&&!1!==e.passive,eT=Y(o,R),eE=Y(o,F),e_=eT(),eP=eE(),eM=~n.indexOf("touch")&&!~n.indexOf("pointer")&&"pointerdown"===m[0],eO=A(o),eR=o.ownerDocument||l,eF=[0,0,0],eD=[0,0,0],eI=0,eY=function(){return eI=j()},ez=function(e,t){return(eS.event=e)&&S&&I(e.target,S)||t&&eM&&"touch"!==e.pointerType||eo&&eo(e,t)},eL=function(){var e=eS.deltaX=B(eF),r=eS.deltaY=B(eD),n=Math.abs(e)>=t,o=Math.abs(r)>=t;J&&(n||o)&&J(eS,e,r,eF,eD),n&&(V&&eS.deltaX>0&&V(eS),G&&eS.deltaX<0&&G(eS),$&&$(eS),Q&&eS.deltaX<0!=eN<0&&Q(eS),eN=eS.deltaX,eF[0]=eF[1]=eF[2]=0),o&&(K&&eS.deltaY>0&&K(eS),q&&eS.deltaY<0&&q(eS),Z&&Z(eS),ee&&eS.deltaY<0!=eC<0&&ee(eS),eC=eS.deltaY,eD[0]=eD[1]=eD[2]=0),(eb||ey)&&(en&&en(eS),ey&&(_&&1===ey&&_(eS),O&&O(eS),ey=0),eb=!1),ek&&(ek=!1,1)&&em&&em(eS),ew&&(el(eS),ew=!1),ex=0},eB=function(e,t,r){eF[r]+=e,eD[r]+=t,eS._vx.update(e),eS._vy.update(t),v?ex||(ex=requestAnimationFrame(eL)):eL()},eW=function(e,t){eh&&!ej&&(eS.axis=ej=Math.abs(e)>Math.abs(t)?"x":"y",ek=!0),"y"!==ej&&(eF[2]+=e,eS._vx.update(e,!0)),"x"!==ej&&(eD[2]+=t,eS._vy.update(t,!0)),v?ex||(ex=requestAnimationFrame(eL)):eL()},eH=function(e){if(!ez(e,1)){var t=(e=L(e,y)).clientX,n=e.clientY,o=t-eS.x,a=n-eS.y,i=eS.isDragging;eS.x=t,eS.y=n,(i||(o||a)&&(Math.abs(eS.startX-t)>=r||Math.abs(eS.startY-n)>=r))&&(ey||(ey=i?2:1),i||(eS.isDragging=!0),eW(o,a))}},eX=eS.onPress=function(e){ez(e,1)||e&&e.button||(eS.axis=ej=null,ev.pause(),eS.isPressed=!0,e=L(e),eN=eC=0,eS.startX=eS.x=e.clientX,eS.startY=eS.y=e.clientY,eS._vx.reset(),eS._vy.reset(),T(ea?o:eR,m[1],eH,eA,!0),eS.deltaX=eS.deltaY=0,X&&X(eS))},eU=eS.onRelease=function(e){if(!ez(e,1)){E(ea?o:eR,m[1],eH,!0);var t=!isNaN(eS.y-eS.startY),r=eS.isDragging,n=r&&(Math.abs(eS.x-eS.startX)>3||Math.abs(eS.y-eS.startY)>3),i=L(e);!n&&t&&(eS._vx.reset(),eS._vy.reset(),y&&eg&&a.delayedCall(.08,function(){if(j()-eI>300&&!e.defaultPrevented){if(e.target.click)e.target.click();else if(eR.createEvent){var t=eR.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,s,1,i.screenX,i.screenY,i.clientX,i.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}})),eS.isDragging=eS.isGesturing=eS.isPressed=!1,w&&r&&!ea&&ev.restart(!0),ey&&eL(),P&&r&&P(eS),U&&U(eS,n)}},eV=function(e){return e.touches&&e.touches.length>1&&(eS.isGesturing=!0)&&ei(e,eS.isDragging)},eG=function(){return eS.isGesturing=!1,es(eS)},eq=function(e){if(!ez(e)){var t=eT(),r=eE();eB((t-e_)*ep,(r-eP)*ep,1),e_=t,eP=r,w&&ev.restart(!0)}},eK=function(e){if(!ez(e)){e=L(e,y),el&&(ew=!0);var t=(1===e.deltaMode?g:2===e.deltaMode?s.innerHeight:1)*N;eB(e.deltaX*t,e.deltaY*t,0),w&&!ea&&ev.restart(!0)}},e$=function(e){if(!ez(e)){var t=e.clientX,r=e.clientY,n=t-eS.x,o=r-eS.y;eS.x=t,eS.y=r,eb=!0,w&&ev.restart(!0),(n||o)&&eW(n,o)}},eZ=function(e){eS.event=e,et(eS)},eJ=function(e){eS.event=e,er(eS)},eQ=function(e){return ez(e)||L(e,y)&&ed(eS)};ev=eS._dc=a.delayedCall(k||.25,function(){eS._vx.reset(),eS._vy.reset(),ev.pause(),w&&w(eS)}).pause(),eS.deltaX=eS.deltaY=0,eS._vx=z(0,50,!0),eS._vy=z(0,50,!0),eS.scrollX=eT,eS.scrollY=eE,eS.isDragging=eS.isGesturing=eS.isPressed=!1,x(this),eS.enable=function(e){return!eS.isEnabled&&(T(eO?eR:o,"scroll",M),n.indexOf("scroll")>=0&&T(eO?eR:o,"scroll",eq,eA,ef),n.indexOf("wheel")>=0&&T(o,"wheel",eK,eA,ef),(n.indexOf("touch")>=0&&d||n.indexOf("pointer")>=0)&&(T(o,m[0],eX,eA,ef),T(eR,m[2],eU),T(eR,m[3],eU),eg&&T(o,"click",eY,!0,!0),ed&&T(o,"click",eQ),ei&&T(eR,"gesturestart",eV),es&&T(eR,"gestureend",eG),et&&T(o,p+"enter",eZ),er&&T(o,p+"leave",eJ),en&&T(o,p+"move",e$)),eS.isEnabled=!0,eS.isDragging=eS.isGesturing=eS.isPressed=eb=ey=!1,eS._vx.reset(),eS._vy.reset(),e_=eT(),eP=eE(),e&&e.type&&eX(e),ec&&ec(eS)),eS},eS.disable=function(){eS.isEnabled&&(b.filter(function(e){return e!==eS&&A(e.target)}).length||E(eO?eR:o,"scroll",M),eS.isPressed&&(eS._vx.reset(),eS._vy.reset(),E(ea?o:eR,m[1],eH,!0)),E(eO?eR:o,"scroll",eq,ef),E(o,"wheel",eK,ef),E(o,m[0],eX,ef),E(eR,m[2],eU),E(eR,m[3],eU),E(o,"click",eY,!0),E(o,"click",eQ),E(eR,"gesturestart",eV),E(eR,"gestureend",eG),E(o,p+"enter",eZ),E(o,p+"leave",eJ),E(o,p+"move",e$),eS.isEnabled=eS.isPressed=eS.isDragging=!1,eu&&eu(eS))},eS.kill=eS.revert=function(){eS.disable();var e=b.indexOf(eS);e>=0&&b.splice(e,1),h===eS&&(h=0)},b.push(eS),ea&&A(o)&&(h=eS),eS.enable(C)},e=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(t.prototype,e),t}();X.version="3.15.0",X.create=function(e){return new X(e)},X.register=H,X.getAll=function(){return b.slice()},X.getById=function(e){return b.filter(function(t){return t.vars.id===e})[0]},v()&&a.registerPlugin(X);var U,V,G,q,K,$,Z,J,Q,ee,et,er,en,eo,ea,ei,es,el,ec,eu,ed,ep,ef,eg,eh,em,ex,ev,ey,eb,ew,ek,ej,eS,eN,eC,eA,eT,eE=1,e_=Date.now,eP=e_(),eM=0,eO=0,eR=function(e,t,r){var n=eq(e)&&("clamp("===e.substr(0,6)||e.indexOf("max")>-1);return r["_"+t+"Clamp"]=n,n?e.substr(6,e.length-7):e},eF=function(e,t){return t&&(!eq(e)||"clamp("!==e.substr(0,6))?"clamp("+e+")":e},eD=function(){return eo=1},eI=function(){return eo=0},eY=function(e){return e},ez=function(e){return Math.round(1e5*e)/1e5||0},eL=function(){return"u">typeof window},eB=function(){return U||eL()&&(U=window.gsap)&&U.registerPlugin&&U},eW=function(e){return!!~Z.indexOf(e)},eH=function(e){return("Height"===e?ew:G["inner"+e])||K["client"+e]||$["client"+e]},eX=function(e){return C(e,"getBoundingClientRect")||(eW(e)?function(){return tZ.width=G.innerWidth,tZ.height=ew,tZ}:function(){return ti(e)})},eU=function(e,t,r){var n=r.d,o=r.d2,a=r.a;return(a=C(e,"getBoundingClientRect"))?function(){return a()[n]}:function(){return(t?eH(o):e["client"+o])||0}},eV=function(e,t){var r=t.s,n=t.d2,o=t.d,a=t.a;return Math.max(0,(a=C(e,r="scroll"+n))?a()-eX(e)()[o]:eW(e)?(K[r]||$[r])-eH(n):e[r]-e["offset"+n])},eG=function(e,t){for(var r=0;r<ec.length;r+=3)(!t||~t.indexOf(ec[r+1]))&&e(ec[r],ec[r+1],ec[r+2])},eq=function(e){return"string"==typeof e},eK=function(e){return"function"==typeof e},e$=function(e){return"number"==typeof e},eZ=function(e){return"object"==typeof e},eJ=function(e,t,r){return e&&e.progress(+!t)&&r&&e.pause()},eQ=function(e,t,r){if(e.enabled){var n=e._ctx?e._ctx.add(function(){return t(e,r)}):t(e,r);n&&n.totalTime&&(e.callbackAnimation=n)}},e0=Math.abs,e1="left",e2="right",e5="bottom",e3="width",e4="height",e6="Right",e8="Left",e7="Bottom",e9="padding",te="margin",tt="Width",tr="Height",tn=function(e){return G.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},to=function(e){var t=tn(e).position;e.style.position="absolute"===t||"fixed"===t?t:"relative"},ta=function(e,t){for(var r in t)r in e||(e[r]=t[r]);return e},ti=function(e,t){var r=t&&"matrix(1, 0, 0, 1, 0, 0)"!==tn(e)[ea]&&U.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return r&&r.progress(0).kill(),n},ts=function(e,t){var r=t.d2;return e["offset"+r]||e["client"+r]||0},tl=function(e){var t,r=[],n=e.labels,o=e.duration();for(t in n)r.push(n[t]/o);return r},tc=function(e){var t=U.utils.snap(e),r=Array.isArray(e)&&e.slice(0).sort(function(e,t){return e-t});return r?function(e,n,o){var a;if(void 0===o&&(o=.001),!n)return t(e);if(n>0){for(e-=o,a=0;a<r.length;a++)if(r[a]>=e)return r[a];return r[a-1]}for(a=r.length,e+=o;a--;)if(r[a]<=e)return r[a];return r[0]}:function(r,n,o){void 0===o&&(o=.001);var a=t(r);return!n||Math.abs(a-r)<o||a-r<0==n<0?a:t(n<0?r-e:r+e)}},tu=function(e,t,r,n){return r.split(",").forEach(function(r){return e(t,r,n)})},td=function(e,t,r,n,o){return e.addEventListener(t,r,{passive:!n,capture:!!o})},tp=function(e,t,r,n){return e.removeEventListener(t,r,!!n)},tf=function(e,t,r){(r=r&&r.wheelHandler)&&(e(t,"wheel",r),e(t,"touchmove",r))},tg={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},th={toggleActions:"play",anticipatePin:0},tm={top:0,left:0,center:.5,bottom:1,right:1},tx=function(e,t){if(eq(e)){var r=e.indexOf("="),n=~r?(e.charAt(r-1)+1)*parseFloat(e.substr(r+1)):0;~r&&(e.indexOf("%")>r&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in tm?tm[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},tv=function(e,t,r,n,o,a,i,s){var l=o.startColor,c=o.endColor,u=o.fontSize,d=o.indent,p=o.fontWeight,f=q.createElement("div"),g=eW(r)||"fixed"===C(r,"pinType"),h=-1!==e.indexOf("scroller"),m=g?$:"IFRAME"===r.tagName?r.contentDocument.body:r,x=-1!==e.indexOf("start"),v=x?l:c,y="border-color:"+v+";font-size:"+u+";color:"+v+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((h||s)&&g?"fixed;":"absolute;"),(h||s||!g)&&(y+=(n===F?e2:e5)+":"+(a+parseFloat(d))+"px;"),i&&(y+="box-sizing:border-box;text-align:left;width:"+i.offsetWidth+"px;"),f._isStart=x,f.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),f.style.cssText=y,f.innerText=t||0===t?e+"-"+t:e,m.children[0]?m.insertBefore(f,m.children[0]):m.appendChild(f),f._offset=f["offset"+n.op.d2],ty(f,0,n,x),f},ty=function(e,t,r,n){var o={display:"block"},a=r[n?"os2":"p2"],i=r[n?"p2":"os2"];e._isFlipped=n,o[r.a+"Percent"]=n?-100:0,o[r.a]=n?"1px":0,o["border"+a+tt]=1,o["border"+i+tt]=0,o[r.p]=t+"px",U.set(e,o)},tb=[],tw={},tk=function(){return e_()-eM>34&&(eN||(eN=requestAnimationFrame(tW)))},tj=function(){ef&&ef.isPressed&&!(ef.startX>$.clientWidth)||(w.cache++,ef?eN||(eN=requestAnimationFrame(tW)):tW(),eM||tE("scrollStart"),eM=e_())},tS=function(){em=G.innerWidth,eh=G.innerHeight},tN=function(e){w.cache++,(!0===e||!en&&!ep&&!q.fullscreenElement&&!q.webkitFullscreenElement&&(!eg||em!==G.innerWidth||Math.abs(G.innerHeight-eh)>.25*G.innerHeight))&&J.restart(!0)},tC={},tA=[],tT=function e(){return tp(t3,"scrollEnd",e)||tz(!0)},tE=function(e){return tC[e]&&tC[e].map(function(e){return e()})||tA},t_=[],tP=function(e){for(var t=0;t<t_.length;t+=5)(!e||t_[t+4]&&t_[t+4].query===e)&&(t_[t].style.cssText=t_[t+1],t_[t].getBBox&&t_[t].setAttribute("transform",t_[t+2]||""),t_[t+3].uncache=1)},tM=function(){return w.forEach(function(e){return eK(e)&&++e.cacheID&&(e.rec=e())})},tO=function(e,t){var r;for(ei=0;ei<tb.length;ei++)(r=tb[ei])&&(!t||r._ctx===t)&&(e?r.kill(1):r.revert(!0,!0));ek=!0,t&&tP(t),t||tE("revert")},tR=function(e,t){w.cache++,(t||!eC)&&w.forEach(function(e){return eK(e)&&e.cacheID++&&(e.rec=0)}),eq(e)&&(G.history.scrollRestoration=ey=e)},tF=0,tD=function(){if(eA!==tF){var e=eA=tF;requestAnimationFrame(function(){return e===tF&&tz(!0)})}},tI=function(){$.appendChild(eb),ew=!ef&&eb.offsetHeight||G.innerHeight,$.removeChild(eb)},tY=function(e){return Q(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(t){return t.style.display=e?"none":"block"})},tz=function(e,t){if(K=q.documentElement,$=q.body,Z=[G,q,K,$],eM&&!e&&!ek)return void td(t3,"scrollEnd",tT);tI(),eC=t3.isRefreshing=!0,ek||tM();var r=tE("refreshInit");eu&&t3.sort(),t||tO(),w.forEach(function(e){eK(e)&&(e.smooth&&(e.target.style.scrollBehavior="auto"),e(0))}),tb.slice(0).forEach(function(e){return e.refresh()}),ek=!1,tb.forEach(function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?"offsetWidth":"offsetHeight",r=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-r),e.refresh()}}),ej=1,tY(!0),tb.forEach(function(e){var t=eV(e.scroller,e._dir),r="max"===e.vars.end||e._endClamp&&e.end>t,n=e._startClamp&&e.start>=t;(r||n)&&e.setPositions(n?t-1:e.start,r?Math.max(n?t:e.start+1,t):e.end,!0)}),tY(!1),ej=0,r.forEach(function(e){return e&&e.render&&e.render(-1)}),w.forEach(function(e){eK(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior="smooth"}),e.rec&&e(e.rec))}),tR(ey,1),J.pause(),tF++,eC=2,tW(2),tb.forEach(function(e){return eK(e.vars.onRefresh)&&e.vars.onRefresh(e)}),eC=t3.isRefreshing=!1,tE("refresh")},tL=0,tB=1,tW=function(e){if(2===e||!eC&&!ek){t3.isUpdating=!0,eT&&eT.update(0);var t=tb.length,r=e_(),n=r-eP>=50,o=t&&tb[0].scroll();if(tB=tL>o?-1:1,eC||(tL=o),n&&(eM&&!eo&&r-eM>200&&(eM=0,tE("scrollEnd")),et=eP,eP=r),tB<0){for(ei=t;ei-- >0;)tb[ei]&&tb[ei].update(0,n);tB=1}else for(ei=0;ei<t;ei++)tb[ei]&&tb[ei].update(0,n);t3.isUpdating=!1}eN=0},tH=[e1,"top",e5,e2,te+e7,te+e6,te+"Top",te+e8,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],tX=tH.concat([e3,e4,"boxSizing","max"+tt,"max"+tr,"position",te,e9,e9+"Top",e9+e6,e9+e7,e9+e8]),tU=function(e,t,r){tq(r);var n=e._gsap;if(n.spacerIsNative)tq(n.spacerState);else if(e._gsap.swappedIn){var o=t.parentNode;o&&(o.insertBefore(e,t),o.removeChild(t))}e._gsap.swappedIn=!1},tV=function(e,t,r,n){if(!e._gsap.swappedIn){for(var o,a=tH.length,i=t.style,s=e.style;a--;)i[o=tH[a]]=r[o];i.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(i.display="inline-block"),s[e5]=s[e2]="auto",i.flexBasis=r.flexBasis||"auto",i.overflow="visible",i.boxSizing="border-box",i[e3]=ts(e,R)+"px",i[e4]=ts(e,F)+"px",i[e9]=s[te]=s.top=s[e1]="0",tq(n),s[e3]=s["max"+tt]=r[e3],s[e4]=s["max"+tr]=r[e4],s[e9]=r[e9],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},tG=/([A-Z])/g,tq=function(e){if(e){var t,r,n=e.t.style,o=e.length,a=0;for((e.t._gsap||U.core.getCache(e.t)).uncache=1;a<o;a+=2)r=e[a+1],t=e[a],r?n[t]=r:n[t]&&n.removeProperty(t.replace(tG,"-$1").toLowerCase())}},tK=function(e){for(var t=tX.length,r=e.style,n=[],o=0;o<t;o++)n.push(tX[o],r[tX[o]]);return n.t=e,n},t$=function(e,t,r){for(var n,o=[],a=e.length,i=8*!!r;i<a;i+=2)n=e[i],o.push(n,n in t?t[n]:e[i+1]);return o.t=e.t,o},tZ={left:0,top:0},tJ=function(e,t,r,n,o,a,i,s,l,c,u,d,p,f){eK(e)&&(e=e(s)),eq(e)&&"max"===e.substr(0,3)&&(e=d+("="===e.charAt(4)?tx("0"+e.substr(3),r):0));var g,h,m,x=p?p.time():0;if(p&&p.seek(0),isNaN(e)||(e*=1),e$(e))p&&(e=U.utils.mapRange(p.scrollTrigger.start,p.scrollTrigger.end,0,d,e)),i&&ty(i,r,n,!0);else{eK(t)&&(t=t(s));var v,y,b,w,k=(e||"0").split(" ");(v=ti(m=D(t,s)||$)||{}).left||v.top||"none"!==tn(m).display||(w=m.style.display,m.style.display="block",v=ti(m),w?m.style.display=w:m.style.removeProperty("display")),y=tx(k[0],v[n.d]),b=tx(k[1]||"0",r),e=v[n.p]-l[n.p]-c+y+o-b,i&&ty(i,b,n,r-b<20||i._isStart&&b>20),r-=r-b}if(f&&(s[f]=e||-.001,e<0&&(e=0)),a){var j=e+r,S=a._isStart;g="scroll"+n.d2,ty(a,j,n,S&&j>20||!S&&(u?Math.max($[g],K[g]):a.parentNode[g])<=j+1),u&&(l=ti(i),u&&(a.style[n.op.p]=l[n.op.p]-n.op.m-a._offset+"px"))}return p&&m&&(g=ti(m),p.seek(d),h=ti(m),p._caScrollDist=g[n.p]-h[n.p],e=e/p._caScrollDist*d),p&&p.seek(x),p?e:Math.round(e)},tQ=/(webkit|moz|length|cssText|inset)/i,t0=function(e,t,r,n){if(e.parentNode!==t){var o,a,i=e.style;if(t===$){for(o in e._stOrig=i.cssText,a=tn(e))+o||tQ.test(o)||!a[o]||"string"!=typeof i[o]||"0"===o||(i[o]=a[o]);i.top=r,i.left=n}else i.cssText=e._stOrig;U.core.getCache(e).uncache=1,t.appendChild(e)}},t1=function(e,t,r){var n=t,o=n;return function(t){var a=Math.round(e());return a!==n&&a!==o&&Math.abs(a-n)>3&&Math.abs(a-o)>3&&(t=a,r&&r()),o=n,n=Math.round(t)}},t2=function(e,t,r){var n={};n[t.p]="+="+r,U.set(e,n)},t5=function(e,t){var r=Y(e,t),n="_scroll"+t.p2,o=function t(o,a,i,s,l){var c=t.tween,u=a.onComplete,d={};i=i||r();var p=t1(r,i,function(){c.kill(),t.tween=0});return l=s&&l||0,s=s||o-i,c&&c.kill(),a[n]=o,a.inherit=!1,a.modifiers=d,d[n]=function(){return p(i+s*c.ratio+l*c.ratio*c.ratio)},a.onUpdate=function(){w.cache++,t.tween&&tW()},a.onComplete=function(){t.tween=0,u&&u.call(c)},c=t.tween=U.to(e,a)};return e[n]=r,r.wheelHandler=function(){return o.tween&&o.tween.kill()&&(o.tween=0)},td(e,"wheel",r.wheelHandler),t3.isTouch&&td(e,"touchmove",r.wheelHandler),o},t3=function(){function e(t,r){V||e.register(U)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ev(this),this.init(t,r)}return e.prototype.init=function(t,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!eO){this.update=this.refresh=this.kill=eY;return}var n,o,a,i,s,l,c,u,d,p,f,g,h,m,x,v,y,b,j,S,N,A,T,E,_,P,M,O,I,z,L,B,W,H,X,V,Z,J,er,ea,es,el=t=ta(eq(t)||e$(t)||t.nodeType?{trigger:t}:t,th),ec=el.onUpdate,ep=el.toggleClass,ef=el.id,eg=el.onToggle,eh=el.onRefresh,em=el.scrub,ex=el.trigger,ev=el.pin,ey=el.pinSpacing,eb=el.invalidateOnRefresh,ew=el.anticipatePin,ek=el.onScrubComplete,eN=el.onSnapComplete,eA=el.once,eP=el.snap,eD=el.pinReparent,eI=el.pinSpacer,eL=el.containerAnimation,eB=el.fastScrollEnd,eH=el.preventOverlaps,eG=t.horizontal||t.containerAnimation&&!1!==t.horizontal?R:F,e1=!em&&0!==em,e2=D(t.scroller||G),e5=U.core.getCache(e2),tu=eW(e2),tf=("pinType"in t?t.pinType:C(e2,"pinType")||tu&&"fixed")==="fixed",tm=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],ty=e1&&t.toggleActions.split(" "),tk="markers"in t?t.markers:th.markers,tS=tu?0:parseFloat(tn(e2)["border"+eG.p2+tt])||0,tC=this,tA=t.onRefreshInit&&function(){return t.onRefreshInit(tC)},tE=eU(e2,tu,eG),t_=!tu||~k.indexOf(e2)?eX(e2):function(){return tZ},tP=0,tM=0,tO=0,tR=Y(e2,eG);if(tC._startClamp=tC._endClamp=!1,tC._dir=eG,ew*=45,tC.scroller=e2,tC.scroll=eL?eL.time.bind(eL):tR,l=tR(),tC.vars=t,r=r||t.animation,"refreshPriority"in t&&(eu=1,-9999===t.refreshPriority&&(eT=tC)),e5.tweenScroll=e5.tweenScroll||{top:t5(e2,F),left:t5(e2,R)},tC.tweenTo=a=e5.tweenScroll[eG.p],tC.scrubDuration=function(e){(X=e$(e)&&e)?H?H.duration(e):H=U.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:X,paused:!0,onComplete:function(){return ek&&ek(tC)}}):(H&&H.progress(1).kill(),H=0)},r&&(r.vars.lazy=!1,r._initted&&!tC.isReverted||!1!==r.vars.immediateRender&&!1!==t.immediateRender&&r.duration()&&r.render(0,!0,!0),tC.animation=r.pause(),r.scrollTrigger=tC,tC.scrubDuration(em),B=0,ef||(ef=r.vars.id)),eP&&((!eZ(eP)||eP.push)&&(eP={snapTo:eP}),"scrollBehavior"in $.style&&U.set(tu?[$,K]:e2,{scrollBehavior:"auto"}),w.forEach(function(e){return eK(e)&&e.target===(tu?q.scrollingElement||K:e2)&&(e.smooth=!1)}),s=eK(eP.snapTo)?eP.snapTo:"labels"===eP.snapTo?(n=r,function(e){return U.utils.snap(tl(n),e)}):"labelsDirectional"===eP.snapTo?(o=r,function(e,t){return tc(tl(o))(e,t.direction)}):!1!==eP.directional?function(e,t){return tc(eP.snapTo)(e,e_()-tM<500?0:t.direction)}:U.utils.snap(eP.snapTo),V=eZ(V=eP.duration||{min:.1,max:2})?ee(V.min,V.max):ee(V,V),Z=U.delayedCall(eP.delay||X/2||.1,function(){var e=tR(),t=e_()-tM<500,n=a.tween;if((t||10>Math.abs(tC.getVelocity()))&&!n&&!eo&&tP!==e){var o,i,l=(e-u)/v,c=r&&!e1?r.totalProgress():l,p=t?0:(c-W)/(e_()-et)*1e3||0,f=U.utils.clamp(-l,1-l,e0(p/2)*p/.185),g=l+(!1===eP.inertia?0:f),h=eP,m=h.onStart,x=h.onInterrupt,y=h.onComplete;if(e$(o=s(g,tC))||(o=g),i=Math.max(0,Math.round(u+o*v)),e<=d&&e>=u&&i!==e){if(n&&!n._initted&&n.data<=e0(i-e))return;!1===eP.inertia&&(f=o-l),a(i,{duration:V(e0(.185*Math.max(e0(g-c),e0(o-c))/p/.05||0)),ease:eP.ease||"power3",data:e0(i-e),onInterrupt:function(){return Z.restart(!0)&&x&&eQ(tC,x)},onComplete:function(){tC.update(),tP=tR(),r&&!e1&&(H?H.resetTo("totalProgress",o,r._tTime/r._tDur):r.progress(o)),B=W=r&&!e1?r.totalProgress():tC.progress,eN&&eN(tC),y&&eQ(tC,y)}},e,f*v,i-e-f*v),m&&eQ(tC,m,a.tween)}}else tC.isActive&&tP!==e&&Z.restart(!0)}).pause()),ef&&(tw[ef]=tC),(es=(ex=tC.trigger=D(ex||!0!==ev&&ev))&&ex._gsap&&ex._gsap.stRevert)&&(es=es(tC)),ev=!0===ev?ex:D(ev),eq(ep)&&(ep={targets:ex,className:ep}),ev&&(!1===ey||ey===te||(ey=(!!ey||!ev.parentNode||!ev.parentNode.style||"flex"!==tn(ev.parentNode).display)&&e9),tC.pin=ev,(i=U.core.getCache(ev)).spacer?y=i.pinState:(eI&&((eI=D(eI))&&!eI.nodeType&&(eI=eI.current||eI.nativeElement),i.spacerIsNative=!!eI,eI&&(i.spacerState=tK(eI))),i.spacer=S=eI||q.createElement("div"),S.classList.add("pin-spacer"),ef&&S.classList.add("pin-spacer-"+ef),i.pinState=y=tK(ev)),!1!==t.force3D&&U.set(ev,{force3D:!0}),tC.spacer=S=i.spacer,P=(L=tn(ev))[ey+eG.os2],A=U.getProperty(ev),T=U.quickSetter(ev,eG.a,"px"),tV(ev,S,L),j=tK(ev)),tk){m=eZ(tk)?ta(tk,tg):tg,g=tv("scroller-start",ef,e2,eG,m,0),h=tv("scroller-end",ef,e2,eG,m,0,g),N=g["offset"+eG.op.d2];var tF=D(C(e2,"content")||e2);p=this.markerStart=tv("start",ef,tF,eG,m,N,0,eL),f=this.markerEnd=tv("end",ef,tF,eG,m,N,0,eL),eL&&(ea=U.quickSetter([p,f],eG.a,"px")),tf||k.length&&!0===C(e2,"fixedMarkers")||(to(tu?$:e2),U.set([g,h],{force3D:!0}),O=U.quickSetter(g,eG.a,"px"),z=U.quickSetter(h,eG.a,"px"))}if(eL){var tI=eL.vars.onUpdate,tY=eL.vars.onUpdateParams;eL.eventCallback("onUpdate",function(){tC.update(0,0,1),tI&&tI.apply(eL,tY||[])})}if(tC.previous=function(){return tb[tb.indexOf(tC)-1]},tC.next=function(){return tb[tb.indexOf(tC)+1]},tC.revert=function(e,t){if(!t)return tC.kill(!0);var n=!1!==e||!tC.enabled,o=en;n!==tC.isReverted&&(n&&(J=Math.max(tR(),tC.scroll.rec||0),tO=tC.progress,er=r&&r.progress()),p&&[p,f,g,h].forEach(function(e){return e.style.display=n?"none":"block"}),n&&(en=tC,tC.update(n)),!ev||eD&&tC.isActive||(n?tU(ev,S,y):tV(ev,S,tn(ev),M)),n||tC.update(n),en=o,tC.isReverted=n)},tC.refresh=function(n,o,i,s){if(!en&&tC.enabled||o){if(ev&&n&&eM)return void td(e,"scrollEnd",tT);!eC&&tA&&tA(tC),en=tC,a.tween&&!i&&(a.tween.kill(),a.tween=0),H&&H.pause(),eb&&r&&(r.revert({kill:!1}).invalidate(),r.getChildren?r.getChildren(!0,!0,!1).forEach(function(e){return e.vars.immediateRender&&e.render(0,!0,!0)}):r.vars.immediateRender&&r.render(0,!0,!0)),tC.isReverted||tC.revert(!0,!0),tC._subPinOffset=!1;var m,w,k,N,C,T,P,O,z,L,B,W,X,V=tE(),G=t_(),Q=eL?eL.duration():eV(e2,eG),ee=v<=.01||!v,et=0,eo=s||0,ea=eZ(i)?i.end:t.end,ei=t.endTrigger||ex,es=eZ(i)?i.start:t.start||(0!==t.start&&ex?ev?"0 0":"0 100%":0),el=tC.pinnedContainer=t.pinnedContainer&&D(t.pinnedContainer,tC),ec=ex&&Math.max(0,tb.indexOf(tC))||0,eu=ec;for(tk&&eZ(i)&&(W=U.getProperty(g,eG.p),X=U.getProperty(h,eG.p));eu-- >0;)(T=tb[eu]).end||T.refresh(0,1)||(en=tC),(P=T.pin)&&(P===ex||P===ev||P===el)&&!T.isReverted&&(L||(L=[]),L.unshift(T),T.revert(!0,!0)),T!==tb[eu]&&(ec--,eu--);for(eK(es)&&(es=es(tC)),u=tJ(es=eR(es,"start",tC),ex,V,eG,tR(),p,g,tC,G,tS,tf,Q,eL,tC._startClamp&&"_startClamp")||(ev?-.001:0),eK(ea)&&(ea=ea(tC)),eq(ea)&&!ea.indexOf("+=")&&(~ea.indexOf(" ")?ea=(eq(es)?es.split(" ")[0]:"")+ea:(et=tx(ea.substr(2),V),ea=eq(es)?es:(eL?U.utils.mapRange(0,eL.duration(),eL.scrollTrigger.start,eL.scrollTrigger.end,u):u)+et,ei=ex)),ea=eR(ea,"end",tC),d=Math.max(u,tJ(ea||(ei?"100% 0":Q),ei,V,eG,tR()+et,f,h,tC,G,tS,tf,Q,eL,tC._endClamp&&"_endClamp"))||-.001,et=0,eu=ec;eu--;)(P=(T=tb[eu]||{}).pin)&&T.start-T._pinPush<=u&&!eL&&T.end>0&&(m=T.end-(tC._startClamp?Math.max(0,T.start):T.start),(P===ex&&T.start-T._pinPush<u||P===el)&&isNaN(es)&&(et+=m*(1-T.progress)),P===ev&&(eo+=m));if(u+=et,d+=et,tC._startClamp&&(tC._startClamp+=et),tC._endClamp&&!eC&&(tC._endClamp=d||-.001,d=Math.min(d,eV(e2,eG))),v=d-u||(u-=.01)&&.001,ee&&(tO=U.utils.clamp(0,1,U.utils.normalize(u,d,J))),tC._pinPush=eo,p&&et&&((m={})[eG.a]="+="+et,el&&(m[eG.p]="-="+tR()),U.set([p,f],m)),ev&&!(ej&&tC.end>=eV(e2,eG)))m=tn(ev),N=eG===F,k=tR(),E=parseFloat(A(eG.a))+eo,!Q&&d>1&&(B={style:B=(tu?q.scrollingElement||K:e2).style,value:B["overflow"+eG.a.toUpperCase()]},tu&&"scroll"!==tn($)["overflow"+eG.a.toUpperCase()]&&(B.style["overflow"+eG.a.toUpperCase()]="scroll")),tV(ev,S,m),j=tK(ev),w=ti(ev,!0),O=tf&&Y(e2,N?R:F)(),ey?((M=[ey+eG.os2,v+eo+"px"]).t=S,(eu=ey===e9?ts(ev,eG)+v+eo:0)&&(M.push(eG.d,eu+"px"),"auto"!==S.style.flexBasis&&(S.style.flexBasis=eu+"px")),tq(M),el&&tb.forEach(function(e){e.pin===el&&!1!==e.vars.pinSpacing&&(e._subPinOffset=!0)}),tf&&tR(J)):(eu=ts(ev,eG))&&"auto"!==S.style.flexBasis&&(S.style.flexBasis=eu+"px"),tf&&((C={top:w.top+(N?k-u:O)+"px",left:w.left+(N?O:k-u)+"px",boxSizing:"border-box",position:"fixed"})[e3]=C["max"+tt]=Math.ceil(w.width)+"px",C[e4]=C["max"+tr]=Math.ceil(w.height)+"px",C[te]=C[te+"Top"]=C[te+e6]=C[te+e7]=C[te+e8]="0",C[e9]=m[e9],C[e9+"Top"]=m[e9+"Top"],C[e9+e6]=m[e9+e6],C[e9+e7]=m[e9+e7],C[e9+e8]=m[e9+e8],b=t$(y,C,eD),eC&&tR(0)),r?(z=r._initted,ed(1),r.render(r.duration(),!0,!0),_=A(eG.a)-E+v+eo,I=Math.abs(v-_)>1,tf&&I&&b.splice(b.length-2,2),r.render(0,!0,!0),z||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),ed(0)):_=v,B&&(B.value?B.style["overflow"+eG.a.toUpperCase()]=B.value:B.style.removeProperty("overflow-"+eG.a));else if(ex&&tR()&&!eL)for(w=ex.parentNode;w&&w!==$;)w._pinOffset&&(u-=w._pinOffset,d-=w._pinOffset),w=w.parentNode;L&&L.forEach(function(e){return e.revert(!1,!0)}),tC.start=u,tC.end=d,l=c=eC?J:tR(),eL||eC||(l<J&&tR(J),tC.scroll.rec=0),tC.revert(!1,!0),tM=e_(),Z&&(tP=-1,Z.restart(!0)),en=0,r&&e1&&(r._initted||er)&&r.progress()!==er&&r.progress(er||0,!0).render(r.time(),!0,!0),(ee||tO!==tC.progress||eL||eb||r&&!r._initted)&&(r&&!e1&&(r._initted||tO||!1!==r.vars.immediateRender)&&r.totalProgress(eL&&u<-.001&&!tO?U.utils.normalize(u,d,0):tO,!0),tC.progress=ee||(l-u)/v===tO?0:tO),ev&&ey&&(S._pinOffset=Math.round(tC.progress*_)),H&&H.invalidate(),isNaN(W)||(W-=U.getProperty(g,eG.p),X-=U.getProperty(h,eG.p),t2(g,eG,W),t2(p,eG,W-(s||0)),t2(h,eG,X),t2(f,eG,X-(s||0))),ee&&!eC&&tC.update(),!eh||eC||x||(x=!0,eh(tC),x=!1)}},tC.getVelocity=function(){return(tR()-c)/(e_()-et)*1e3||0},tC.endAnimation=function(){eJ(tC.callbackAnimation),r&&(H?H.progress(1):r.paused()?e1||eJ(r,tC.direction<0,1):eJ(r,r.reversed()))},tC.labelToScroll=function(e){return r&&r.labels&&(u||tC.refresh()||u)+r.labels[e]/r.duration()*v||0},tC.getTrailing=function(e){var t=tb.indexOf(tC),r=tC.direction>0?tb.slice(0,t).reverse():tb.slice(t+1);return(eq(e)?r.filter(function(t){return t.vars.preventOverlaps===e}):r).filter(function(e){return tC.direction>0?e.end<=u:e.start>=d})},tC.update=function(e,t,n){if(!eL||n||e){var o,i,s,p,f,h,m,x=!0===eC?J:tC.scroll(),y=e?0:(x-u)/v,w=y<0?0:y>1?1:y||0,k=tC.progress;if(t&&(c=l,l=eL?tR():x,eP&&(W=B,B=r&&!e1?r.totalProgress():w)),ew&&ev&&!en&&!eE&&eM&&(!w&&u<x+(x-c)/(e_()-et)*ew?w=1e-4:1===w&&d>x+(x-c)/(e_()-et)*ew&&(w=.9999)),w!==k&&tC.enabled){if(p=(f=(o=tC.isActive=!!w&&w<1)!=(!!k&&k<1))||!!w!=!!k,tC.direction=w>k?1:-1,tC.progress=w,p&&!en&&(i=w&&!k?0:1===w?1:1===k?2:3,e1&&(s=!f&&"none"!==ty[i+1]&&ty[i+1]||ty[i],m=r&&("complete"===s||"reset"===s||s in r))),eH&&(f||m)&&(m||em||!r)&&(eK(eH)?eH(tC):tC.getTrailing(eH).forEach(function(e){return e.endAnimation()})),!e1&&(!H||en||eE?r&&r.totalProgress(w,!!(en&&(tM||e))):(H._dp._time-H._start!==H._time&&H.render(H._dp._time-H._start),H.resetTo?H.resetTo("totalProgress",w,r._tTime/r._tDur):(H.vars.totalProgress=w,H.invalidate().restart()))),ev)if(e&&ey&&(S.style[ey+eG.os2]=P),tf){if(p){if(h=!e&&w>k&&d+1>x&&x+1>=eV(e2,eG),eD)if(!e&&(o||h)){var N=ti(ev,!0),C=x-u;t0(ev,$,N.top+(eG===F?C:0)+"px",N.left+(eG===F?0:C)+"px")}else t0(ev,S);tq(o||h?b:j),I&&w<1&&o||T(E+(1!==w||h?0:_))}}else T(ez(E+_*w));!eP||a.tween||en||eE||Z.restart(!0),ep&&(f||eA&&w&&(w<1||!eS))&&Q(ep.targets).forEach(function(e){return e.classList[o||eA?"add":"remove"](ep.className)}),!ec||e1||e||ec(tC),p&&!en?(e1&&(m&&("complete"===s?r.pause().totalProgress(1):"reset"===s?r.restart(!0).pause():"restart"===s?r.restart(!0):r[s]()),ec&&ec(tC)),(f||!eS)&&(eg&&f&&eQ(tC,eg),tm[i]&&eQ(tC,tm[i]),eA&&(1===w?tC.kill(!1,1):tm[i]=0),!f&&tm[i=1===w?1:3]&&eQ(tC,tm[i])),eB&&!o&&Math.abs(tC.getVelocity())>(e$(eB)?eB:2500)&&(eJ(tC.callbackAnimation),H?H.progress(1):eJ(r,"reverse"===s?1:!w,1))):e1&&ec&&!en&&ec(tC)}if(z){var A=eL?x/eL.duration()*(eL._caScrollDist||0):x;O(A+ +!!g._isFlipped),z(A)}ea&&ea(-x/eL.duration()*(eL._caScrollDist||0))}},tC.enable=function(t,r){tC.enabled||(tC.enabled=!0,td(e2,"resize",tN),tu||td(e2,"scroll",tj),tA&&td(e,"refreshInit",tA),!1!==t&&(tC.progress=tO=0,l=c=tP=tR()),!1!==r&&tC.refresh())},tC.getTween=function(e){return e&&a?a.tween:H},tC.setPositions=function(e,t,r,n){if(eL){var o=eL.scrollTrigger,a=eL.duration(),i=o.end-o.start;e=o.start+i*e/a,t=o.start+i*t/a}tC.refresh(!1,!1,{start:eF(e,r&&!!tC._startClamp),end:eF(t,r&&!!tC._endClamp)},n),tC.update()},tC.adjustPinSpacing=function(e){if(M&&e){var t=M.indexOf(eG.d)+1;M[t]=parseFloat(M[t])+e+"px",M[1]=parseFloat(M[1])+e+"px",tq(M)}},tC.disable=function(t,r){if(!1!==t&&tC.revert(!0,!0),tC.enabled&&(tC.enabled=tC.isActive=!1,r||H&&H.pause(),J=0,i&&(i.uncache=1),tA&&tp(e,"refreshInit",tA),Z&&(Z.pause(),a.tween&&a.tween.kill()&&(a.tween=0)),!tu)){for(var n=tb.length;n--;)if(tb[n].scroller===e2&&tb[n]!==tC)return;tp(e2,"resize",tN),tu||tp(e2,"scroll",tj)}},tC.kill=function(e,n){tC.disable(e,n),H&&!n&&H.kill(),ef&&delete tw[ef];var o=tb.indexOf(tC);o>=0&&tb.splice(o,1),o===ei&&tB>0&&ei--,o=0,tb.forEach(function(e){return e.scroller===tC.scroller&&(o=1)}),o||eC||(tC.scroll.rec=0),r&&(r.scrollTrigger=null,e&&r.revert({kill:!1}),n||r.kill()),p&&[p,f,g,h].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),eT===tC&&(eT=0),ev&&(i&&(i.uncache=1),o=0,tb.forEach(function(e){return e.pin===ev&&o++}),o||(i.spacer=0)),t.onKill&&t.onKill(tC)},tb.push(tC),tC.enable(!1,!1),es&&es(tC),r&&r.add&&!v){var tz=tC.update;tC.update=function(){tC.update=tz,w.cache++,u||d||tC.refresh()},U.delayedCall(.01,tC.update),v=.01,u=d=0}else tC.refresh();ev&&tD()},e.register=function(t){return V||(U=t||eB(),eL()&&window.document&&e.enable(),V=eO),V},e.defaults=function(e){if(e)for(var t in e)th[t]=e[t];return th},e.disable=function(e,t){eO=0,tb.forEach(function(r){return r[t?"kill":"disable"](e)}),tp(G,"wheel",tj),tp(q,"scroll",tj),clearInterval(er),tp(q,"touchcancel",eY),tp($,"touchstart",eY),tu(tp,q,"pointerdown,touchstart,mousedown",eD),tu(tp,q,"pointerup,touchend,mouseup",eI),J.kill(),eG(tp);for(var r=0;r<w.length;r+=3)tf(tp,w[r],w[r+1]),tf(tp,w[r],w[r+2])},e.enable=function(){if(G=window,K=(q=document).documentElement,$=q.body,U)if(Q=U.utils.toArray,ee=U.utils.clamp,ev=U.core.context||eY,ed=U.core.suppressOverwrites||eY,ey=G.history.scrollRestoration||"auto",tL=G.pageYOffset||0,U.core.globals("ScrollTrigger",e),$){eO=1,(eb=document.createElement("div")).style.height="100vh",eb.style.position="absolute",tI(),function e(){return eO&&requestAnimationFrame(e)}(),X.register(U),e.isTouch=X.isTouch,ex=X.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),eg=1===X.isTouch,td(G,"wheel",tj),Z=[G,q,K,$],U.matchMedia?(e.matchMedia=function(e){var t,r=U.matchMedia();for(t in e)r.add(t,e[t]);return r},U.addEventListener("matchMediaInit",function(){tM(),tO()}),U.addEventListener("matchMediaRevert",function(){return tP()}),U.addEventListener("matchMedia",function(){tz(0,1),tE("matchMedia")}),U.matchMedia().add("(orientation: portrait)",function(){return tS(),tS})):console.warn("Requires GSAP 3.11.0 or later"),tS(),td(q,"scroll",tj);var t,r,n=$.hasAttribute("style"),o=$.style,a=o.borderTopStyle,i=U.core.Animation.prototype;for(i.revert||Object.defineProperty(i,"revert",{value:function(){return this.time(-.01,!0)}}),o.borderTopStyle="solid",F.m=Math.round((t=ti($)).top+F.sc())||0,R.m=Math.round(t.left+R.sc())||0,a?o.borderTopStyle=a:o.removeProperty("border-top-style"),n||($.setAttribute("style",""),$.removeAttribute("style")),er=setInterval(tk,250),U.delayedCall(.5,function(){return eE=0}),td(q,"touchcancel",eY),td($,"touchstart",eY),tu(td,q,"pointerdown,touchstart,mousedown",eD),tu(td,q,"pointerup,touchend,mouseup",eI),ea=U.utils.checkPrefix("transform"),tX.push(ea),V=e_(),J=U.delayedCall(.2,tz).pause(),ec=[q,"visibilitychange",function(){var e=G.innerWidth,t=G.innerHeight;q.hidden?(es=e,el=t):(es!==e||el!==t)&&tN()},q,"DOMContentLoaded",tz,G,"load",tz,G,"resize",tN],eG(td),tb.forEach(function(e){return e.enable(0,1)}),r=0;r<w.length;r+=3)tf(tp,w[r],w[r+1]),tf(tp,w[r],w[r+2])}else q&&q.addEventListener("DOMContentLoaded",function t(){e.enable(),q.removeEventListener("DOMContentLoaded",t)})},e.config=function(t){"limitCallbacks"in t&&(eS=!!t.limitCallbacks);var r=t.syncInterval;r&&clearInterval(er)||(er=r)&&setInterval(tk,r),"ignoreMobileResize"in t&&(eg=1===e.isTouch&&t.ignoreMobileResize),"autoRefreshEvents"in t&&(eG(tp)||eG(td,t.autoRefreshEvents||"none"),ep=-1===(t.autoRefreshEvents+"").indexOf("resize"))},e.scrollerProxy=function(e,t){var r=D(e),n=w.indexOf(r),o=eW(r);~n&&w.splice(n,o?6:2),t&&(o?k.unshift(G,t,$,t,K,t):k.unshift(r,t))},e.clearMatchMedia=function(e){tb.forEach(function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)})},e.isInViewport=function(e,t,r){var n=(eq(e)?D(e):e).getBoundingClientRect(),o=n[r?e3:e4]*t||0;return r?n.right-o>0&&n.left+o<G.innerWidth:n.bottom-o>0&&n.top+o<G.innerHeight},e.positionInViewport=function(e,t,r){eq(e)&&(e=D(e));var n=e.getBoundingClientRect(),o=n[r?e3:e4],a=null==t?o/2:t in tm?tm[t]*o:~t.indexOf("%")?parseFloat(t)*o/100:parseFloat(t)||0;return r?(n.left+a)/G.innerWidth:(n.top+a)/G.innerHeight},e.killAll=function(e){if(tb.slice(0).forEach(function(e){return"ScrollSmoother"!==e.vars.id&&e.kill()}),!0!==e){var t=tC.killAll||[];tC={},t.forEach(function(e){return e()})}},e}();t3.version="3.15.0",t3.saveStyles=function(e){return e?Q(e).forEach(function(e){if(e&&e.style){var t=t_.indexOf(e);t>=0&&t_.splice(t,5),t_.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),U.core.getCache(e),ev())}}):t_},t3.revert=function(e,t){return tO(!e,t)},t3.create=function(e,t){return new t3(e,t)},t3.refresh=function(e){return e?tN(!0):(V||t3.register())&&tz(!0)},t3.update=function(e){return++w.cache&&tW(2*(!0===e))},t3.clearScrollMemory=tR,t3.maxScroll=function(e,t){return eV(e,t?R:F)},t3.getScrollFunc=function(e,t){return Y(D(e),t?R:F)},t3.getById=function(e){return tw[e]},t3.getAll=function(){return tb.filter(function(e){return"ScrollSmoother"!==e.vars.id})},t3.isScrolling=function(){return!!eM},t3.snapDirectional=tc,t3.addEventListener=function(e,t){var r=tC[e]||(tC[e]=[]);~r.indexOf(t)||r.push(t)},t3.removeEventListener=function(e,t){var r=tC[e],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)},t3.batch=function(e,t){var r,n=[],o={},a=t.interval||.016,i=t.batchMax||1e9,s=function(e,t){var r=[],n=[],o=U.delayedCall(a,function(){t(r,n),r=[],n=[]}).pause();return function(e){r.length||o.restart(!0),r.push(e.trigger),n.push(e),i<=r.length&&o.progress(1)}};for(r in t)o[r]="on"===r.substr(0,2)&&eK(t[r])&&"onRefreshInit"!==r?s(r,t[r]):t[r];return eK(i)&&(i=i(),td(t3,"refresh",function(){return i=t.batchMax()})),Q(e).forEach(function(e){var t={};for(r in o)t[r]=o[r];t.trigger=e,n.push(t3.create(t))}),n};var t4,t6=function(e,t,r,n){return t>n?e(n):t<0&&e(0),r>n?(n-t)/(r-t):r<0?t/(t-r):1},t8=function e(t,r){!0===r?t.style.removeProperty("touch-action"):t.style.touchAction=!0===r?"auto":r?"pan-"+r+(X.isTouch?" pinch-zoom":""):"none",t===K&&e($,r)},t7={auto:1,scroll:1},t9=function(e){var t,r=e.event,n=e.target,o=e.axis,a=(r.changedTouches?r.changedTouches[0]:r).target,i=a._gsap||U.core.getCache(a),s=e_();if(!i._isScrollT||s-i._isScrollT>2e3){for(;a&&a!==$&&(a.scrollHeight<=a.clientHeight&&a.scrollWidth<=a.clientWidth||!(t7[(t=tn(a)).overflowY]||t7[t.overflowX]));)a=a.parentNode;i._isScroll=a&&a!==n&&!eW(a)&&(t7[(t=tn(a)).overflowY]||t7[t.overflowX]),i._isScrollT=s}(i._isScroll||"x"===o)&&(r.stopPropagation(),r._gsapAllow=!0)},re=function(e,t,r,n){return X.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:n=n&&t9,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return r&&td(q,X.eventTypes[0],rr,!1,!0)},onDisable:function(){return tp(q,X.eventTypes[0],rr,!0)}})},rt=/(input|label|select|textarea)/i,rr=function(e){var t=rt.test(e.target.tagName);(t||t4)&&(e._gsapAllow=!0,t4=t)},rn=function(e){eZ(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t,r,n,o,a,i,s,l,c=e,u=c.normalizeScrollX,d=c.momentum,p=c.allowNestedScroll,f=c.onRelease,g=D(e.target)||K,h=U.core.globals().ScrollSmoother,m=h&&h.get(),x=ex&&(e.content&&D(e.content)||m&&!1!==e.content&&!m.smooth()&&m.content()),v=Y(g,F),y=Y(g,R),b=1,k=(X.isTouch&&G.visualViewport?G.visualViewport.scale*G.visualViewport.width:G.outerWidth)/G.innerWidth,j=0,S=eK(d)?function(){return d(t)}:function(){return d||2.8},N=re(g,e.type,!0,p),C=function(){return o=!1},A=eY,T=eY,E=function(){r=eV(g,F),T=ee(+!!ex,r),u&&(A=ee(0,eV(g,R))),n=tF},_=function(){x._gsap.y=ez(parseFloat(x._gsap.y)+v.offset)+"px",x.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(x._gsap.y)+", 0, 1)",v.offset=v.cacheID=0},P=function(){if(o){requestAnimationFrame(C);var e=ez(t.deltaY/2),r=T(v.v-e);if(x&&r!==v.v+v.offset){v.offset=r-v.v;var n=ez((parseFloat(x&&x._gsap.y)||0)-v.offset);x.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+n+", 0, 1)",x._gsap.y=n+"px",v.cacheID=w.cache,tW()}return!0}v.offset&&_(),o=!0},M=function(){E(),a.isActive()&&a.vars.scrollY>r&&(v()>r?a.progress(1)&&v(r):a.resetTo("scrollY",r))};return x&&U.set(x,{y:"+=0"}),e.ignoreCheck=function(e){return ex&&"touchmove"===e.type&&P(e)||b>1.05&&"touchstart"!==e.type||t.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){o=!1;var e=b;b=ez((G.visualViewport&&G.visualViewport.scale||1)/k),a.pause(),e!==b&&t8(g,b>1.01||!u&&"x"),i=y(),s=v(),E(),n=tF},e.onRelease=e.onGestureStart=function(e,t){if(v.offset&&_(),t){w.cache++;var n,o,i=S();u&&(o=(n=y())+-(.05*i*e.velocityX)/.227,i*=t6(y,n,o,eV(g,R)),a.vars.scrollX=A(o)),o=(n=v())+-(.05*i*e.velocityY)/.227,i*=t6(v,n,o,eV(g,F)),a.vars.scrollY=T(o),a.invalidate().duration(i).play(.01),(ex&&a.vars.scrollY>=r||n>=r-1)&&U.to({},{onUpdate:M,duration:i})}else l.restart(!0);f&&f(e)},e.onWheel=function(){a._ts&&a.pause(),e_()-j>1e3&&(n=0,j=e_())},e.onChange=function(e,t,r,o,a){if(tF!==n&&E(),t&&u&&y(A(o[2]===t?i+(e.startX-e.x):y()+t-o[1])),r){v.offset&&_();var l=a[2]===r,c=l?s+e.startY-e.y:v()+r-a[1],d=T(c);l&&c!==d&&(s+=d-c),v(d)}(r||t)&&tW()},e.onEnable=function(){t8(g,!u&&"x"),t3.addEventListener("refresh",M),td(G,"resize",M),v.smooth&&(v.target.style.scrollBehavior="auto",v.smooth=y.smooth=!1),N.enable()},e.onDisable=function(){t8(g,!0),tp(G,"resize",M),t3.removeEventListener("refresh",M),N.kill()},e.lockAxis=!1!==e.lockAxis,(t=new X(e)).iOS=ex,ex&&!v()&&v(1),ex&&U.ticker.add(eY),l=t._dc,a=U.to(t,{ease:"power4",paused:!0,inherit:!1,scrollX:u?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:t1(v,v(),function(){return a.pause()})},onUpdate:tW,onComplete:l.vars.onComplete}),t};t3.sort=function(e){if(eK(e))return tb.sort(e);var t=G.pageYOffset||0;return t3.getAll().forEach(function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+G.innerHeight}),tb.sort(e||function(e,t){return -1e6*(e.vars.refreshPriority||0)+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+-1e6*(t.vars.refreshPriority||0))})},t3.observe=function(e){return new X(e)},t3.normalizeScroll=function(e){if(void 0===e)return ef;if(!0===e&&ef)return ef.enable();if(!1===e){ef&&ef.kill(),ef=e;return}var t=e instanceof X?e:rn(e);return ef&&ef.target===t.target&&ef.kill(),eW(t.target)&&(ef=t),t},t3.core={_getVelocityProp:z,_inputObserver:re,_scrollers:w,_proxies:k,bridge:{ss:function(){eM||tE("scrollStart"),eM=e_()},ref:function(){return en}}},eB()&&U.registerPlugin(t3);var ro=e.i(736956),ra=e.i(789994),ri=e.i(438342),rs=e.i(795379),rl=e.i(855372);function rc({isLoggedIn:e}){let a=(0,r.useRef)(null),i=(0,r.useRef)(null),s=(0,r.useRef)(null),l=(0,r.useRef)(null);return(0,o.useGSAP)(()=>{i.current&&s.current&&l.current&&n.default.timeline({delay:.3}).from(".hero-brand",{y:-20,opacity:0,duration:.5,ease:"power3.out"}).from(i.current,{opacity:0,duration:.4,ease:"power2.out"},.2).from(s.current,{opacity:0,duration:.3,ease:"power2.out"},"-=0.1").from(".hero-specs",{y:15,opacity:0,duration:.5,ease:"power2.out"},"-=0.1").from(".hero-providers",{y:10,opacity:0,duration:.4,ease:"power2.out"},"-=0.2").from(l.current,{y:15,opacity:0,duration:.4,ease:"power2.out"},"-=0.2")},{scope:a}),(0,t.jsxs)("section",{ref:a,className:"hero-section relative flex min-h-screen items-center justify-center overflow-hidden",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 opacity-[0.03]",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E\")",backgroundRepeat:"repeat",backgroundSize:"256px 256px"}}),(0,t.jsxs)("div",{className:"hero-content relative z-10 mx-auto flex w-full max-w-4xl flex-col items-center px-4 sm:px-6",children:[(0,t.jsxs)("div",{className:"hero-brand mb-6 flex flex-col sm:flex-row items-center gap-1.5",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,t.jsx)(ro.default,{src:"/alook.svg",alt:"Alook",width:28,height:28}),(0,t.jsx)("span",{className:"text-xl tracking-tight",style:{fontFamily:"var(--font-brand)",color:"var(--landing-text)",fontWeight:700},children:"Alook"})]}),(0,t.jsx)("span",{className:"sm:ml-4 text-xs tracking-widest uppercase",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"Your Personal Company"})]}),(0,t.jsxs)("div",{className:"relative w-full h-105 sm:h-125 md:h-142.5",children:[(0,t.jsxs)("div",{className:"absolute top-0 left-0 right-0 z-10 flex flex-col items-center pt-2",children:[(0,t.jsx)("h1",{ref:i,className:"mb-1 text-center leading-[1.2] px-2",style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(26px, 4vw, 44px)",letterSpacing:"-0.01em"},children:"Run Your Personal Company"}),(0,t.jsx)("p",{ref:s,className:"hidden sm:block max-w-lg text-center leading-relaxed px-2",style:{fontFamily:"var(--font-crt)",color:"var(--landing-text-muted)",fontSize:"clamp(14px, 2vw, 20px)"},children:"Agents that collaborate, stay always on, and learn from every task — orchestrated by Alook."})]}),(0,t.jsx)(rs.TypewriterVisual,{interactive:!0,entranceDelay:1.2,className:"absolute! inset-0"})]}),(0,t.jsx)("div",{className:"hero-specs mt-8 flex flex-wrap items-center justify-center gap-x-6 gap-y-2",children:["Collaboration","Always-On","Self-Learning"].map(e=>(0,t.jsx)("span",{className:"text-sm uppercase tracking-[0.15em] font-bold",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:e},e))}),(0,t.jsxs)("div",{className:"hero-providers mt-5 flex items-center justify-center gap-4",children:[(0,t.jsx)("span",{className:"text-xs uppercase tracking-[0.15em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"Use with"}),[{provider:"claude",comingSoon:!1},{provider:"codex",comingSoon:!1},{provider:"opencode",comingSoon:!1},{provider:"cursor",comingSoon:!0},{provider:"hermes",comingSoon:!0},{provider:"openclaw",comingSoon:!0}].map(({provider:e,comingSoon:r})=>(0,t.jsx)("div",{className:"flex items-center justify-center",style:{opacity:r?.45:1,color:"var(--landing-text)"},children:(0,t.jsx)(rl.ProviderLogo,{provider:e,className:"h-5 w-5"})},e))]}),(0,t.jsxs)("div",{ref:l,className:"mt-8 flex flex-wrap items-center justify-center gap-3",children:[(0,t.jsxs)(ra.default,{href:"/templates",className:"inline-flex items-center gap-2 px-6 py-2.5 text-sm transition-all duration-200 hover:opacity-80",style:{fontFamily:"var(--font-mono)",color:"var(--landing-bg)",backgroundColor:"var(--landing-text)",letterSpacing:"0.05em"},children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"3",y:"3",width:"7",height:"7"}),(0,t.jsx)("rect",{x:"14",y:"3",width:"7",height:"7"}),(0,t.jsx)("rect",{x:"3",y:"14",width:"7",height:"7"}),(0,t.jsx)("rect",{x:"14",y:"14",width:"7",height:"7"})]}),"TEMPLATES"]}),e?(0,t.jsxs)("a",{href:"/workspaces?auto",className:"inline-flex items-center gap-2 px-6 py-2.5 text-sm transition-all duration-200 hover:opacity-80",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text)",border:"1px solid var(--landing-text)",letterSpacing:"0.05em"},children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"}),(0,t.jsx)("polyline",{points:"10 17 15 12 10 7"}),(0,t.jsx)("line",{x1:"15",y1:"12",x2:"3",y2:"12"})]}),"APP"]}):(0,t.jsxs)("a",{href:"/sign-in",className:"inline-flex items-center gap-2 px-6 py-2.5 text-sm transition-all duration-200 hover:opacity-80",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text)",border:"1px solid var(--landing-text)",letterSpacing:"0.05em"},children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4"}),(0,t.jsx)("polyline",{points:"10 17 15 12 10 7"}),(0,t.jsx)("line",{x1:"15",y1:"12",x2:"3",y2:"12"})]}),"GET STARTED"]})]}),(0,t.jsx)("p",{className:"mt-4 sm:hidden text-center text-xs",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"For the full experience, open on a desktop browser."})]})]})}n.default.registerPlugin(t3,ri.SplitText),n.default.registerPlugin(t3);let ru=[{number:"I",title:"Collaboration",spec:"DEFINE YOUR COMPANY STRUCTURE",description:"You're the CEO. Assign agents to roles — dev, ops, research — and let them coordinate. Define your org chart, and Alook keeps everyone in sync.",terminal:["▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓","▓ YOU ▓░░░░░░░░░░░▓ DEV ▓░░░░░░░░░░░▓ OPS ▓","▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓"," ░ ░ ░ "," ░ ░ ░ ","▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓","▓ R&D ▓░░░░░░░░░░░▓ SALES ▓░░░░░░░░░░░▓ BIZ ▓","▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓ ▓▓▓▓▓▓▓▓▓"]},{number:"II",title:"Traceable",spec:"EVERY INTERACTION · RECORDED · AUDITABLE",description:"Agents communicate through email and work on your local machine. Every instruction, decision, and reply is recorded — in your inbox or in local files. Full accountability, no black boxes.",terminal:["█████████████████████████","█▓▒ ▒▓█","█ ▓▒░ ░▒▓ █","█ ▓▒░ ░▒▓ █","█ ▓▒░ ░▒▓ █","█ ▓▒░ ░▒▓ █","█ ▓▒█▒▓ █","█ ▒█▒ █","█ █","█████████████████████████"]},{number:"III",title:"Calendar",spec:"SHOWS UP AT THE RIGHT TIME",description:"Your agent manages its own schedule. It knows when to work, when to follow up, and when to wait — always on time, never in the way.",terminal:["▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓","▓ M T W T F S S ▓","▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓","▓ ░ ░ ░ ░ ░ ░ ░ ▓","▓ ░ ░ ░ ░ ░ ░ ░ ▓","▓ ░ ░ ▒ ▓ ░ ░ ░ ▓","▓ ░ ░ ░ ░ █ ░ ░ ▓","▓ ░ ░ ░ ░ ░ ░ ░ ▓","▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓"]},{number:"IV",title:"Always-On",spec:"YOUR COMPANY NEVER SLEEPS",description:"A persistent daemon keeps every agent running around the clock — picking up tasks, responding to emails, shipping work while you sleep.",terminal:[" "," "," █ "," █ █ "," ▒▓ █ ","░░░░░░░░░ ▓ ▒░░░░░░"," █ ▓ "," ▓ "," "," "]},{number:"V",title:"Self-Learning",spec:"EVERY TASK MAKES THE TEAM SMARTER",description:"Agents build memory from past work — decisions, preferences, context. Your company gets sharper with every conversation, every task, every day.",terminal:[" "," █ "," ▓█▓ "," ▒▓█▓▒ "," ░▒▓█▓▒░ "," ░░▒▓█▓▒░░ "," ░░░▒▓█▓▒░░░ "," ░░░░▒▓█▓▒░░░░ "," ░░░░░▒▓█▓▒░░░░░ "," "]}];function rd(){let e=(0,r.useRef)(null);return(0,o.useGSAP)(()=>{n.default.from(".feature-hero",{y:30,opacity:0,duration:.6,scrollTrigger:{trigger:e.current,start:"top 75%",toggleActions:"play none none none"}}),n.default.utils.toArray(".feature-row").forEach(e=>{n.default.from(e,{y:40,opacity:0,duration:.6,ease:"power2.out",scrollTrigger:{trigger:e,start:"top 80%",toggleActions:"play none none none"}})})},{scope:e}),(0,t.jsxs)("section",{ref:e,className:"relative overflow-hidden py-24 lg:py-32",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsxs)("div",{className:"feature-hero mx-auto mb-20 max-w-4xl px-6 text-center lg:mb-28",children:[(0,t.jsx)("div",{className:"mb-3 text-xs uppercase tracking-[0.3em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"Features"}),(0,t.jsx)("h2",{style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(1.75rem, 4vw, 3rem)"},children:"Your Company, Your Agents"}),(0,t.jsx)("p",{className:"mx-auto mt-3 max-w-xl",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",fontSize:"0.85rem"},children:"Define roles, assign agents, and let them run. Alook is the orchestration layer that turns agents into a company."})]}),(0,t.jsx)("div",{className:"mx-auto flex max-w-5xl flex-col gap-24 px-6 lg:gap-32 lg:px-12",children:ru.map((e,r)=>(0,t.jsx)(rp,{feature:e,reversed:r%2==1},e.number))})]})}function rp({feature:e,reversed:r}){return(0,t.jsxs)("div",{className:`feature-row grid w-full grid-cols-1 items-center gap-8 lg:grid-cols-2 lg:gap-16 ${r?"lg:[direction:rtl]":""}`,children:[(0,t.jsxs)("div",{className:`panel-text text-center lg:text-left ${r?"lg:[direction:ltr]":""}`,children:[(0,t.jsxs)("div",{className:"mb-2 flex items-baseline justify-center gap-3 lg:justify-start",children:[(0,t.jsxs)("span",{className:"text-3xl",style:{fontFamily:"var(--font-crt)",color:"var(--landing-text-muted)"},children:[e.number,"."]}),(0,t.jsx)("h2",{className:"leading-tight",style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(2rem, 4vw, 3rem)"},children:e.title})]}),(0,t.jsx)("div",{className:"mt-2 text-[10px] uppercase tracking-[0.2em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:e.spec}),(0,t.jsx)("p",{className:"mx-auto mt-4 max-w-md leading-relaxed text-[0.8125rem] sm:text-[0.875rem] lg:mx-0",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:e.description})]}),(0,t.jsx)("div",{className:`panel-crt rounded-lg p-2 ${r?"lg:[direction:ltr]":""}`,style:{backgroundColor:"oklch(0.82 0.02 75)",boxShadow:"0 4px 16px oklch(0.15 0.01 55 / 15%), inset 0 1px 0 oklch(0.95 0.01 80 / 40%)"},children:(0,t.jsxs)("div",{className:"relative overflow-hidden rounded p-5",style:{backgroundColor:"var(--landing-crt-bg)",boxShadow:"inset 0 0 40px oklch(0.04 0.003 55)"},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 z-10",style:{backgroundImage:"repeating-linear-gradient(to bottom, transparent 0px, transparent 1px, oklch(0 0 0 / 6%) 1px, oklch(0 0 0 / 6%) 2px)",backgroundSize:"100% 2px"}}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(ellipse at center, transparent 60%, oklch(0.04 0.003 55 / 50%) 100%)"}}),(0,t.jsx)("div",{className:"relative z-20 flex items-center justify-center min-h-35",children:(0,t.jsx)(rg,{lines:e.terminal})})]})})]})}let rf=[" ","░","▒","▓","█"];function rg({lines:e}){let n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let t;if(!n.current||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let r=e.join("\n"),o=[...r].map((e,t)=>{let n=rf.indexOf(e),o=0,a=0;for(let e=0;e<t;e++)"\n"===r[e]?(o++,a=0):a++;return{orig:e,level:n,row:o,col:a}}),a=0,i=!1,s=new IntersectionObserver(([e])=>{i=e.isIntersecting},{threshold:.1});s.observe(n.current);let l=()=>{if(i&&++a%2==0){let e=[];for(let t=0;t<o.length;t++){let r=o[t];if(r.level<=0){e.push(r.orig);continue}let n=Math.sin(.015*a+.45*r.row+.1*r.col),i=Math.max(1,Math.min(4,r.level+Math.round(n)));e.push(rf[i])}n.current&&(n.current.textContent=e.join(""))}t=requestAnimationFrame(l)};return t=requestAnimationFrame(l),()=>{cancelAnimationFrame(t),s.disconnect()}},[e]),(0,t.jsx)("pre",{ref:n,className:"text-[10px] sm:text-[13px]",style:{fontFamily:"'Menlo', 'Consolas', 'DejaVu Sans Mono', monospace",color:"var(--landing-phosphor)",textShadow:"0 0 8px oklch(0.75 0.18 80 / 40%)",opacity:.8,lineHeight:1.35,overflowX:"hidden"},children:e.join("\n")})}n.default.registerPlugin(t3);let rh=[{label:"AI Agent",detail:"Runs tasks on your machine"},{label:"Your Codebase",detail:"Full access, nothing leaves"},{label:"Local Tools",detail:"Git, shell, editors — all yours"}],rm=[{label:"Email Inbox",detail:"Receives emails for your agent"},{label:"Dashboard",detail:"Monitor and review in real-time"},{label:"Sync Layer",detail:"Keeps everything connected"}];function rx({title:e,subtitle:r,items:n,className:o}){return(0,t.jsxs)("div",{className:`arch-zone rounded-2xl p-6 ${o??""}`,style:{backgroundColor:"var(--landing-surface)",border:"1px solid var(--landing-border)"},children:[(0,t.jsxs)("div",{className:"mb-5",children:[(0,t.jsx)("h3",{className:"text-lg",style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)"},children:e}),(0,t.jsx)("div",{className:"mt-1 text-xs",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:r})]}),(0,t.jsx)("div",{className:"space-y-2.5",children:n.map(e=>(0,t.jsx)("div",{className:"rounded-lg p-1.5",style:{backgroundColor:"oklch(0.82 0.02 75)",boxShadow:"0 2px 8px oklch(0.15 0.01 55 / 10%), inset 0 1px 0 oklch(0.95 0.01 80 / 40%)"},children:(0,t.jsxs)("div",{className:"relative overflow-hidden rounded px-4 py-3",style:{backgroundColor:"var(--landing-crt-bg)",boxShadow:"inset 0 0 20px oklch(0.04 0.003 55)"},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 z-10",style:{backgroundImage:"repeating-linear-gradient(to bottom, transparent 0px, transparent 1px, oklch(0 0 0 / 6%) 1px, oklch(0 0 0 / 6%) 2px)",backgroundSize:"100% 2px"}}),(0,t.jsxs)("div",{className:"relative z-20",children:[(0,t.jsx)("div",{className:"text-xs font-medium",style:{fontFamily:"var(--font-crt)",color:"var(--landing-phosphor)",textShadow:"0 0 6px oklch(0.75 0.18 80 / 30%)"},children:e.label}),(0,t.jsx)("div",{className:"mt-0.5 text-[11px] leading-relaxed",style:{fontFamily:"var(--font-crt)",color:"var(--landing-phosphor)",textShadow:"0 0 6px oklch(0.75 0.18 80 / 30%)",opacity:.55},children:e.detail})]})]})},e.label))})]})}function rv(){return(0,t.jsxs)("div",{className:"arch-arrows flex flex-col items-center justify-center py-4 lg:py-0",children:[(0,t.jsxs)("div",{className:"hidden lg:flex flex-col items-center gap-3",children:[(0,t.jsx)("span",{className:"text-[10px]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",opacity:.6},children:"tasks & results"}),(0,t.jsxs)("svg",{width:"120",height:"20",viewBox:"0 0 120 20",style:{overflow:"visible"},children:[(0,t.jsx)("polygon",{points:"4,6 0,10 4,14",fill:"var(--landing-text-muted)",opacity:"0.4"}),(0,t.jsx)("line",{x1:"6",y1:"10",x2:"114",y2:"10",stroke:"var(--landing-text-muted)",strokeWidth:"1",strokeDasharray:"4 3",opacity:"0.35"}),(0,t.jsx)("polygon",{points:"116,6 120,10 116,14",fill:"var(--landing-text-muted)",opacity:"0.4"})]}),(0,t.jsx)("span",{className:"text-[10px]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",opacity:.6},children:"email in · updates out"})]}),(0,t.jsxs)("div",{className:"flex lg:hidden flex-row items-center gap-3",children:[(0,t.jsxs)("span",{className:"text-[10px] text-right",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",opacity:.6},children:["tasks &",(0,t.jsx)("br",{}),"results"]}),(0,t.jsxs)("svg",{width:"20",height:"60",viewBox:"0 0 20 60",style:{overflow:"visible"},children:[(0,t.jsx)("polygon",{points:"6,4 10,0 14,4",fill:"var(--landing-text-muted)",opacity:"0.4"}),(0,t.jsx)("line",{x1:"10",y1:"6",x2:"10",y2:"54",stroke:"var(--landing-text-muted)",strokeWidth:"1",strokeDasharray:"4 3",opacity:"0.35"}),(0,t.jsx)("polygon",{points:"6,56 10,60 14,56",fill:"var(--landing-text-muted)",opacity:"0.4"})]}),(0,t.jsxs)("span",{className:"text-[10px]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",opacity:.6},children:["email in ·",(0,t.jsx)("br",{}),"updates out"]})]})]})}function ry(){let e=(0,r.useRef)(null);return(0,o.useGSAP)(()=>{n.default.from(".arch-title",{y:30,opacity:0,duration:.6,scrollTrigger:{trigger:e.current,start:"top 75%",toggleActions:"play none none none"}}),n.default.from(".arch-zone",{y:40,opacity:0,duration:.7,stagger:.2,scrollTrigger:{trigger:".arch-diagram",start:"top 70%",toggleActions:"play none none none"}}),n.default.from(".arch-arrows",{opacity:0,duration:.5,delay:.3,scrollTrigger:{trigger:".arch-diagram",start:"top 65%",toggleActions:"play none none none"}})},{scope:e}),(0,t.jsxs)("section",{ref:e,className:"relative flex min-h-screen flex-col items-center justify-center px-6 py-32",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsxs)("div",{className:"arch-title mb-16 text-center",children:[(0,t.jsx)("div",{className:"mb-3 text-xs uppercase tracking-[0.3em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"How It Works"}),(0,t.jsx)("h2",{style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(1.75rem, 4vw, 3rem)"},children:"Local Agent, Global Reach"}),(0,t.jsx)("p",{className:"mt-2 max-w-lg mx-auto",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",fontSize:"0.85rem"},children:"Your agent runs on your machine with full access to your tools. Alook connects it to email, dashboards, and the outside world."})]}),(0,t.jsxs)("div",{className:"arch-diagram mx-auto flex w-full max-w-4xl flex-col items-center gap-6 lg:flex-row lg:items-stretch lg:gap-8",children:[(0,t.jsx)("div",{className:"w-full lg:flex-1",children:(0,t.jsx)(rx,{title:"Your Machine",subtitle:"Private · Local files · full control",items:rh})}),(0,t.jsx)(rv,{}),(0,t.jsx)("div",{className:"w-full lg:flex-1",children:(0,t.jsx)(rx,{title:"Alook Cloud",subtitle:"Always on · globally reachable",items:rm})})]})]})}function rb({isLoggedIn:e}){return(0,t.jsx)("nav",{className:"marketing-nav fixed top-0 right-0 left-0 z-50 invisible opacity-0",style:{backgroundColor:"oklch(0.93 0.015 80 / 90%)",backdropFilter:"blur(8px)",borderBottom:"1px solid var(--landing-border)"},children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-5xl items-center justify-between px-6 py-2.5",children:[(0,t.jsxs)(ra.default,{href:"/",className:"flex items-center gap-2",children:[(0,t.jsx)(ro.default,{src:"/alook.svg",alt:"Alook",width:22,height:22}),(0,t.jsx)("span",{className:"text-lg tracking-tight",style:{fontFamily:"var(--font-brand)",color:"var(--landing-text)",fontWeight:700},children:"Alook"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(ra.default,{href:"/templates",className:"px-3 py-1.5 text-xs uppercase tracking-widest transition-opacity duration-150 hover:opacity-70",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text)"},children:"Templates"}),e&&(0,t.jsxs)(ra.default,{href:"/workspaces?auto",className:"inline-flex items-center gap-1.5 px-4 py-1.5 text-xs uppercase tracking-widest transition-opacity duration-150 hover:opacity-70",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text)",border:"1px solid var(--landing-text)"},children:["App",(0,t.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M5 12h14M12 5l7 7-7 7"})})]})]})]})})}n.default.registerPlugin(t3);let rw=[{href:"/templates",label:"Templates"},{href:"https://discord.alook.ai",label:"Discord",external:!0},{href:"mailto:support@alook.ai",label:"Contact",external:!0}];function rk(){let e=(0,r.useRef)(null);(0,o.useGSAP)(()=>{n.default.from(e.current,{y:20,opacity:0,duration:.6,ease:"power2.out",scrollTrigger:{trigger:e.current,start:"top 90%",toggleActions:"play none none none"}})},{scope:e});let a={fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",fontSize:"11px",textTransform:"uppercase",letterSpacing:"0.15em"};return(0,t.jsx)("footer",{ref:e,className:"px-6 py-12",style:{backgroundColor:"var(--landing-surface)",borderTop:"1px solid var(--landing-border)"},children:(0,t.jsxs)("div",{className:"mx-auto flex max-w-5xl flex-col items-center justify-between gap-6 md:flex-row",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(ro.default,{src:"/alook.svg",alt:"Alook",width:20,height:20}),(0,t.jsx)("span",{className:"text-lg tracking-tight",style:{fontFamily:"var(--font-brand)",color:"var(--landing-text)",fontWeight:700},children:"Alook"})]}),(0,t.jsx)("span",{className:"text-[10px] uppercase tracking-[0.2em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"Your Personal Company"})]}),(0,t.jsx)("nav",{className:"flex items-center gap-5","aria-label":"Footer navigation",children:rw.map(e=>e.external?(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"transition-opacity hover:opacity-70",style:a,children:e.label},e.label):(0,t.jsx)(ra.default,{href:e.href,className:"transition-opacity hover:opacity-70",style:a,children:e.label},e.label))}),(0,t.jsx)("div",{className:"flex items-center gap-6",children:(0,t.jsxs)("span",{className:"text-[10px] uppercase tracking-[0.2em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",opacity:.5},children:["© ",new Date().getFullYear()," Alook AI"]})})]})})}n.default.registerPlugin(t3);let rj=[{name:"Claude Code",provider:"claude",detail:"Anthropic's CLI agent"},{name:"Codex",provider:"codex",detail:"OpenAI's coding agent"},{name:"OpenCode",provider:"opencode",detail:"Open-source coding agent"},{name:"Cursor",provider:"cursor",detail:"AI-powered code editor",comingSoon:!0},{name:"Hermes",provider:"hermes",detail:"Autonomous coding agent",comingSoon:!0},{name:"OpenClaw",provider:"openclaw",detail:"Open-source AI agent",comingSoon:!0}];function rS({agent:e}){let r=e.comingSoon;return(0,t.jsx)("div",{className:"byoa-card rounded-lg p-1.5",style:{backgroundColor:"oklch(0.82 0.02 75)",boxShadow:"0 2px 8px oklch(0.15 0.01 55 / 10%), inset 0 1px 0 oklch(0.95 0.01 80 / 40%)",opacity:r?.55:1},children:(0,t.jsxs)("div",{className:"relative overflow-hidden rounded px-5 py-4",style:{backgroundColor:"var(--landing-crt-bg)",boxShadow:"inset 0 0 20px oklch(0.04 0.003 55)"},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 z-10",style:{backgroundImage:"repeating-linear-gradient(to bottom, transparent 0px, transparent 1px, oklch(0 0 0 / 6%) 1px, oklch(0 0 0 / 6%) 2px)",backgroundSize:"100% 2px"}}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(ellipse at center, transparent 60%, oklch(0.04 0.003 55 / 50%) 100%)"}}),(0,t.jsx)("div",{className:"relative z-20",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"flex shrink-0 items-center justify-center rounded",style:{opacity:r?.45:.85},children:(0,t.jsx)(rl.ProviderLogo,{provider:e.provider,className:"h-5 w-5 text-white"})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsx)("div",{className:"text-sm font-medium",style:{fontFamily:"var(--font-crt)",color:"var(--landing-phosphor)",textShadow:r?"none":"0 0 6px oklch(0.75 0.18 80 / 30%)",opacity:r?.5:1},children:e.name}),r&&(0,t.jsx)("span",{className:"text-[9px] uppercase tracking-[0.15em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-phosphor)",opacity:.4},children:"Soon"}),!r&&(0,t.jsx)("span",{className:"inline-block h-1.5 w-1.5 rounded-full",style:{backgroundColor:"var(--landing-phosphor)",boxShadow:"0 0 6px oklch(0.75 0.18 80 / 50%)"}})]}),(0,t.jsx)("div",{className:"mt-0.5 text-[11px] leading-relaxed",style:{fontFamily:"var(--font-crt)",color:"var(--landing-phosphor)",textShadow:r?"none":"0 0 6px oklch(0.75 0.18 80 / 30%)",opacity:r?.35:.55},children:e.detail})]})]})})]})})}function rN(){let e=(0,r.useRef)(null);return(0,o.useGSAP)(()=>{n.default.from(".byoa-title",{y:30,opacity:0,duration:.6,scrollTrigger:{trigger:e.current,start:"top 75%",toggleActions:"play none none none"}}),n.default.from(".byoa-card",{y:30,opacity:0,duration:.5,stagger:.1,scrollTrigger:{trigger:".byoa-grid",start:"top 80%",toggleActions:"play none none none"}})},{scope:e}),(0,t.jsxs)("section",{ref:e,className:"relative px-6 py-24 lg:py-32",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsxs)("div",{className:"byoa-title mx-auto mb-12 max-w-4xl text-center lg:mb-16",children:[(0,t.jsx)("div",{className:"mb-3 text-xs uppercase tracking-[0.3em]",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)"},children:"Agent Agnostic"}),(0,t.jsx)("h2",{style:{fontFamily:"var(--font-crt)",color:"var(--landing-text)",fontSize:"clamp(1.75rem, 4vw, 3rem)"},children:"Bring Your Own Agent"}),(0,t.jsx)("p",{className:"mx-auto mt-2 max-w-lg",style:{fontFamily:"var(--font-mono)",color:"var(--landing-text-muted)",fontSize:"0.85rem"},children:"Alook is the orchestration layer. Pick the agents you trust — we give them roles, inboxes, and an always-on runtime."})]}),(0,t.jsx)("div",{className:"byoa-grid mx-auto grid max-w-3xl grid-cols-1 gap-3 sm:grid-cols-2 lg:grid-cols-3",children:rj.map(e=>(0,t.jsx)(rS,{agent:e},e.name))})]})}n.default.registerPlugin(o.useGSAP,t3),window.matchMedia("(prefers-reduced-motion: reduce)").matches&&n.default.globalTimeline.timeScale(20),e.s(["HomePage",0,function({isLoggedIn:e}){let a=(0,r.useRef)(null);return(0,o.useGSAP)(()=>{t3.create({trigger:".hero-section",start:"bottom top",onEnterBack:()=>{n.default.to(".marketing-nav",{autoAlpha:0,duration:.3,ease:"power2.out"})},onLeave:()=>{n.default.to(".marketing-nav",{autoAlpha:1,duration:.3,ease:"power2.out"})}})},{scope:a}),(0,t.jsxs)("div",{ref:a,className:"landing relative flex-1 overflow-x-clip",style:{backgroundColor:"var(--landing-bg)"},children:[(0,t.jsx)(rb,{isLoggedIn:e}),(0,t.jsx)(rc,{isLoggedIn:e}),(0,t.jsx)(rN,{}),(0,t.jsx)(rd,{}),(0,t.jsx)(ry,{}),(0,t.jsx)(rk,{})]})}],371836)}]);