1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,860307,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(3485),s=e.i(262686),a=e.i(296533),r=e.i(129426),o=e.i(662825),l=e.i(408465);let c={action:"signup",label:"Sign up"},d={action:"login",label:"Sign in"},u=e=>(window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)),h=()=>((0,r.useAtomValue)(o.currentUserAtom),(0,n.useSyncExternalStore)(u,m,p)?d:c);function m(){return!!(0,l.getStoreValue)("hasUserEverLoggedIn")}function p(){return!1}var f=e.i(212378);let g=f.NOVA_PROGRAM_LINKS,v=f.NOVA_RESOURCE_LINKS,x=f.NOVA_COMPANY_LINKS;f.NOVA_LEGAL_LINKS;let y=[{name:"LinkedIn",src:"social-linkedin.svg",w:24},{name:"YouTube",src:"social-youtube.svg",w:34.18},{name:"Instagram",src:"social-instagram.svg",w:24},{name:"X",src:"social-x.svg",w:26.56}].map(e=>({...e,href:f.NOVA_SOCIAL_LINKS[e.name]}));var b=e.i(568535),w=e.i(995105);function j(e){let n,s,a,r,o,l=(0,i.c)(12),{label:c,items:d,width:u}=e;return l[0]!==u?(n={width:u},l[0]=u,l[1]=n):n=l[1],l[2]!==c?(s=(0,t.jsx)("p",{className:"leading-nova-body text-nova-grey-72 text-[14px] font-medium uppercase",children:c}),l[2]=c,l[3]=s):s=l[3],l[4]!==d?(a=d.map(N),l[4]=d,l[5]=a):a=l[5],l[6]!==a?(r=(0,t.jsx)("div",{className:"flex flex-col items-start gap-2",children:a}),l[6]=a,l[7]=r):r=l[7],l[8]!==n||l[9]!==s||l[10]!==r?(o=(0,t.jsxs)("div",{className:"flex flex-col gap-4",style:n,children:[s,r]}),l[8]=n,l[9]=s,l[10]=r,l[11]=o):o=l[11],o}function N(e){return(0,t.jsx)("a",{href:e.href,target:e.target,rel:e.target?"noreferrer noopener":void 0,className:"leading-nova-body text-nova-grey-99 cursor-pointer text-[16px] font-medium whitespace-nowrap transition-colors hover:text-white",children:e.label},e.href)}function k(e){let n,s,a,r,o=(0,i.c)(9),{label:l,items:c}=e;return o[0]!==l?(n=(0,t.jsx)("p",{className:"font-nova-display leading-nova-display text-nova-grey-72 text-[14px]",children:l}),o[0]=l,o[1]=n):n=o[1],o[2]!==c?(s=c.map(S),o[2]=c,o[3]=s):s=o[3],o[4]!==s?(a=(0,t.jsx)("div",{className:"flex flex-col items-start gap-3",children:s}),o[4]=s,o[5]=a):a=o[5],o[6]!==n||o[7]!==a?(r=(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[n,a]}),o[6]=n,o[7]=a,o[8]=r):r=o[8],r}function S(e){return(0,t.jsx)("a",{href:e.href,target:e.target,rel:e.target?"noreferrer noopener":void 0,className:"leading-nova-body text-nova-guide-light cursor-pointer text-[14px] font-medium transition-colors hover:text-white",children:e.label},e.href)}function T(e){let a,r,o,l,c,d,u,m,p,f,N,S,T,P,_,R,D,I,$,L,V,F,B,O,z,U,W,q,H,X,G,Y,K,J=(0,i.c)(64),{open:Z,onClose:Q}=e,ee=(0,s.usePathname)()||"";J[0]!==ee?(a=ee.includes("/courses/"),J[0]=ee,J[1]=a):a=J[1];let et=!a,ei=h();J[2]!==Q?(r=()=>Q(),J[2]=Q,J[3]=r):r=J[3];let en=(0,n.useEffectEvent)(r);J[4]!==en||J[5]!==Z?(o=()=>{if(!Z)return;let e=e=>{"Escape"===e.key&&en()};document.addEventListener("keydown",e);let t=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.body.style.overflow=t}},J[4]=en,J[5]=Z,J[6]=o):o=J[6],J[7]!==Z?(l=[Z],J[7]=Z,J[8]=l):l=J[8],(0,n.useEffect)(o,l);let es=!Z&&"pointer-events-none";J[9]!==es?(c=(0,b.default)("fixed inset-0 z-90 overflow-hidden",es),J[9]=es,J[10]=c):c=J[10];let ea=!Z,er=Z?"opacity-100":"opacity-0";J[11]!==er?(d=(0,b.default)("nova-desktop:block absolute inset-0 hidden bg-black/40 transition-opacity duration-[550ms] ease-out",er),J[11]=er,J[12]=d):d=J[12],J[13]!==Q||J[14]!==d?(u=(0,t.jsx)("div",{"aria-hidden":!0,className:d,onClick:Q}),J[13]=Q,J[14]=d,J[15]=u):u=J[15];let eo=Z?"translate-x-0":"translate-x-full";J[16]!==eo?(m=(0,b.default)("border-nova-guide nova-desktop:flex absolute top-0 right-0 hidden h-screen w-119 max-w-[92vw] flex-col overflow-y-auto border-l bg-black transition-transform duration-[550ms] ease-[cubic-bezier(0.32,0.72,0,1)]",eo),J[16]=eo,J[17]=m):m=J[17],J[18]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)("p",{className:"font-nova-display text-nova-grey-e6 text-[32px] leading-[1.17]",children:"Menu"}),J[18]=p):p=J[18],J[19]!==ei||J[20]!==et?(f=et&&(0,t.jsx)(w.default,{action:ei.action,children:ei.label}),J[19]=ei,J[20]=et,J[21]=f):f=J[21],J[22]===Symbol.for("react.memo_cache_sentinel")?(N=(0,t.jsx)("img",{src:"/images/nova/nav2/close.svg",alt:"",style:{width:24.88,height:24.88}}),J[22]=N):N=J[22],J[23]!==Q?(S=(0,t.jsx)("button",{type:"button","aria-label":"Close menu",onClick:Q,className:"flex size-8 shrink-0 cursor-pointer items-center justify-center",children:N}),J[23]=Q,J[24]=S):S=J[24],J[25]!==f||J[26]!==S?(T=(0,t.jsxs)("div",{className:"border-nova-guide flex shrink-0 items-center justify-between border-b py-5 pr-7 pl-8",children:[p,(0,t.jsxs)("div",{className:"flex min-h-12 items-center gap-6",children:[f,S]})]}),J[25]=f,J[26]=S,J[27]=T):T=J[27],J[28]===Symbol.for("react.memo_cache_sentinel")?(P=(0,t.jsx)("p",{className:"leading-nova-body text-nova-grey-72 text-[14px] font-medium uppercase",children:"Programs"}),J[28]=P):P=J[28],J[29]===Symbol.for("react.memo_cache_sentinel")?(_=(0,t.jsxs)("div",{className:"flex w-82 flex-col gap-4",children:[P,(0,t.jsx)("div",{className:"flex flex-col items-start gap-4",children:g.map(A)})]}),J[29]=_):_=J[29],J[30]===Symbol.for("react.memo_cache_sentinel")?(R=(0,t.jsxs)("div",{className:"flex gap-12",children:[(0,t.jsx)(j,{label:"Resources",items:v,width:162}),(0,t.jsx)(j,{label:"Company",items:x,width:132})]}),J[30]=R):R=J[30],J[31]===Symbol.for("react.memo_cache_sentinel")?(D=(0,t.jsx)("p",{className:"leading-nova-body text-nova-grey-72 text-[14px] font-medium uppercase",children:"Socials"}),J[31]=D):D=J[31],J[32]===Symbol.for("react.memo_cache_sentinel")?(I=(0,t.jsxs)("nav",{"aria-label":"Menu",className:"flex flex-col gap-18 pt-13 pr-6 pb-12 pl-8",children:[_,R,(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[D,(0,t.jsx)("div",{className:"flex items-center gap-6",children:y.map(C)})]})]}),J[32]=I):I=J[32],J[33]!==m||J[34]!==T?($=(0,t.jsxs)("aside",{className:m,children:[T,I]}),J[33]=m,J[34]=T,J[35]=$):$=J[35];let el=Z?"translate-x-0":"translate-x-full";return J[36]!==el?(L=(0,b.default)("nova-desktop:hidden absolute inset-0 flex flex-col overflow-y-auto overscroll-contain bg-black pb-[calc(48px+env(safe-area-inset-bottom))] transition-transform duration-[400ms] ease-[cubic-bezier(0.32,0.72,0,1)]",el),J[36]=el,J[37]=L):L=J[37],J[38]===Symbol.for("react.memo_cache_sentinel")?(V=(0,t.jsx)(w.default,{action:"apply",widthClass:"w-48",borderClass:"border-white/10",children:"Apply now"}),J[38]=V):V=J[38],J[39]!==ei||J[40]!==et?(F=et&&(0,t.jsx)(w.default,{action:ei.action,variant:"secondary",tone:"bare",className:"w-48",children:ei.label}),J[39]=ei,J[40]=et,J[41]=F):F=J[41],J[42]!==F?(B=(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[V,F]}),J[42]=F,J[43]=B):B=J[43],J[44]===Symbol.for("react.memo_cache_sentinel")?(O=(0,t.jsx)("img",{src:"/images/nova/nav2/close.svg",alt:"",style:{width:16.5,height:16.5}}),J[44]=O):O=J[44],J[45]!==Q?(z=(0,t.jsx)("button",{type:"button","aria-label":"Close menu",onClick:Q,className:"mt-4 flex size-4 shrink-0 cursor-pointer items-center justify-center",children:O}),J[45]=Q,J[46]=z):z=J[46],J[47]!==B||J[48]!==z?(U=(0,t.jsxs)("div",{className:"border-nova-guide flex shrink-0 items-start justify-between gap-4 border-b px-6 py-3 pt-[calc(12px+env(safe-area-inset-top))]",children:[B,z]}),J[47]=B,J[48]=z,J[49]=U):U=J[49],J[50]===Symbol.for("react.memo_cache_sentinel")?(W=(0,t.jsx)("p",{className:"font-nova-display leading-nova-body text-nova-grey-72 text-[14px]",children:"Programs"}),J[50]=W):W=J[50],J[51]===Symbol.for("react.memo_cache_sentinel")?(q=(0,t.jsxs)("div",{className:"border-nova-guide flex flex-col gap-4 border-b px-6 py-6",children:[W,(0,t.jsx)("div",{className:"flex flex-col items-start gap-4",children:g.map(M)})]}),J[51]=q):q=J[51],J[52]===Symbol.for("react.memo_cache_sentinel")?(H=(0,t.jsxs)("div",{className:"border-nova-guide flex justify-between gap-6 border-b px-6 py-6",children:[(0,t.jsx)(k,{label:"Resources",items:v}),(0,t.jsx)(k,{label:"Company",items:x})]}),J[52]=H):H=J[52],J[53]===Symbol.for("react.memo_cache_sentinel")?(X=(0,t.jsx)("p",{className:"leading-nova-body text-nova-grey-72 text-[14px] font-medium uppercase",children:"Socials"}),J[53]=X):X=J[53],J[54]===Symbol.for("react.memo_cache_sentinel")?(G=(0,t.jsxs)("nav",{"aria-label":"Menu",className:"flex flex-col",children:[q,H,(0,t.jsxs)("div",{className:"flex flex-col gap-4 px-6 py-6",children:[X,(0,t.jsx)("div",{className:"flex items-center gap-6",children:y.map(E)})]})]}),J[54]=G):G=J[54],J[55]!==L||J[56]!==U?(Y=(0,t.jsxs)("div",{className:L,children:[U,G]}),J[55]=L,J[56]=U,J[57]=Y):Y=J[57],J[58]!==u||J[59]!==$||J[60]!==Y||J[61]!==c||J[62]!==ea?(K=(0,t.jsxs)("div",{id:"site-menu",className:c,inert:ea,children:[u,$,Y]}),J[58]=u,J[59]=$,J[60]=Y,J[61]=c,J[62]=ea,J[63]=K):K=J[63],K}function E(e){return(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noreferrer noopener","aria-label":e.name,className:"cursor-pointer opacity-80 transition-opacity hover:opacity-100",children:(0,t.jsx)("img",{src:`/images/nova/nav2/${e.src}`,alt:"",style:{width:e.w,height:24}})},e.name)}function M(e){return(0,t.jsxs)("a",{href:e.href,className:"leading-nova-body text-nova-grey-99 flex cursor-pointer items-center gap-2 text-[20px] font-medium whitespace-nowrap transition-colors hover:text-white",children:[e.label,(0,t.jsx)("img",{src:"/images/nova/nav2/arrow-up-right.svg",alt:"",style:{width:16,height:18}})]},e.href)}function C(e){return(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noreferrer noopener","aria-label":e.name,className:"cursor-pointer opacity-80 transition-opacity hover:opacity-100",children:(0,t.jsx)("img",{src:`/images/nova/nav2/${e.src}`,alt:"",style:{width:e.w,height:24}})},e.name)}function A(e){return(0,t.jsxs)("a",{href:e.href,className:"leading-nova-body text-nova-grey-99 flex cursor-pointer items-center gap-2 text-[24px] font-medium whitespace-nowrap transition-colors hover:text-white",children:[e.label,(0,t.jsx)("img",{src:"/images/nova/nav2/arrow-up-right.svg",alt:"",style:{width:16,height:18}})]},e.href)}var P=e.i(780260);let _="font-nova-sans text-[16px] font-medium leading-nova-body text-white";function R(){let e,s,a,r,o,l,c,d,u,h,m=(0,i.c)(17),[p,g]=(0,n.use
1State)(!1);m[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>g(!0),s=()=>g(!1),a=()=>g(!0),r=e=>{e.currentTarget.contains(e.relatedTarget)||g(!1)},m[0]=e,m[1]=s,m[2]=a,m[3]=r):(e=m[0],s=m[1],a=m[2],r=m[3]),m[4]===Symbol.for("react.memo_cache_sentinel")?(o=(0,b.default)(_,"flex cursor-pointer items-center gap-2"),m[4]=o):o=m[4];let v=p&&"-scale-y-100";return m[5]!==v?(l=(0,b.default)("origin-center scale-y-100 transition-transform duration-180 ease-[cubic-bezier(0.25,0.46,0.45,0.94)] [transform-box:fill-box] motion-reduce:transition-none",v),m[5]=v,m[6]=l):l=m[6],m[7]!==l?(c=(0,t.jsx)("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none","aria-hidden":"true",className:"shrink-0",children:(0,t.jsx)("path",{d:"M1 1L5 5L9 1",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke",className:l})}),m[7]=l,m[8]=c):c=m[8],m[9]!==p||m[10]!==c?(d=(0,t.jsxs)("button",{type:"button","aria-haspopup":"true","aria-expanded":p,className:o,children:["Programs",c]}),m[9]=p,m[10]=c,m[11]=d):d=m[11],m[12]!==p?(u=p&&(0,t.jsx)("div",{className:"absolute top-full left-0 pt-3",children:(0,t.jsx)("div",{className:"border-nova-guide flex min-w-64 flex-col border bg-black py-2",children:f.NOVA_PROGRAM_LINKS.map(D)})}),m[12]=p,m[13]=u):u=m[13],m[14]!==d||m[15]!==u?(h=(0,t.jsxs)("div",{className:"relative",onMouseEnter:e,onMouseLeave:s,onFocus:a,onBlur:r,children:[d,u]}),m[14]=d,m[15]=u,m[16]=h):h=m[16],h}function D(e){return(0,t.jsx)("a",{href:e.href,className:"font-nova-sans leading-nova-body text-nova-grey-99 hover:bg-nova-surface block px-5 py-3 text-[16px] font-medium whitespace-nowrap transition-colors hover:text-white",children:e.label},e.href)}let I={site:{header:"z-50 w-full border-b border-nova-guide bg-black nova-desktop:sticky nova-desktop:top-0",hide:"nova-desktop:-translate-y-full",desktopRow:"mx-auto hidden w-full max-w-360 grid-cols-[1fr_auto_1fr] items-center px-15 py-5 nova-desktop:grid",cta:"Sign in",ctaAction:"login",fluidPhoneBar:!1},program:{header:"sticky top-0 z-50 w-full border-b border-nova-guide bg-black",hide:"-translate-y-full",desktopRow:"mx-auto hidden w-full max-w-360 grid-cols-[1fr_auto_1fr] items-center px-(--gutter,60px) py-5 nova-desktop:grid",cta:"Apply now",ctaAction:"apply",fluidPhoneBar:!0}};function $(e){return(0,t.jsx)("a",{href:e.href,className:_,children:e.label},e.href)}e.s(["default",0,function(e){let r,o,l,c,d,u,m,p,g,v,x,y,j,N,k,S,E,M=(0,i.c)(44),{variant:C}=void 0===e?{}:e,[A,_]=(0,n.useState)(!1),D=I[void 0===C?"site":C],L=(0,s.usePathname)()||"";M[0]!==L?(r=L.includes("/courses/"),M[0]=L,M[1]=r):r=M[1];let V=r,F="login"===D.ctaAction,B=h(),O=(0,P.useNavHidden)();M[2]!==A?(o=(e,i)=>(0,t.jsx)("button",{type:"button","aria-label":"Menu","aria-expanded":A,"aria-controls":"site-menu",onClick:()=>_(!0),className:e,children:i}),M[2]=A,M[3]=o):o=M[3];let z=o,U=O&&D.hide;M[4]!==U||M[5]!==D.header?(l=(0,b.default)(D.header,"transition-transform duration-500 ease-out motion-reduce:transition-none",U),M[4]=U,M[5]=D.header,M[6]=l):l=M[6],M[7]!==z||M[8]!==D.fluidPhoneBar?(c=D.fluidPhoneBar?(0,t.jsxs)("nav",{"aria-label":"Main",className:"nova-desktop:hidden mx-auto flex h-15 w-full max-w-360 items-center justify-between px-(--gutter,16px)",children:[(0,t.jsx)(a.default,{h:18.1,href:f.NOVA_HOME_HREF}),z("relative flex h-4 w-5 shrink-0 cursor-pointer items-center justify-center after:absolute after:-inset-x-3.5 after:-inset-y-3.5 after:content-['']",(0,t.jsx)("img",{src:"/images/nova/nav2/menu.svg",alt:"",className:"size-full"}))]}):null,M[7]=z,M[8]=D.fluidPhoneBar,M[9]=c):c=M[9];let W=D.desktopRow;return M[10]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)(a.default,{h:24,href:f.NOVA_HOME_HREF}),M[10]=d):d=M[10],M[11]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsxs)("div",{className:"flex items-center gap-12",children:[(0,t.jsx)(R,{}),f.NOVA_NAV_LINKS.map($)]}),M[11]=u):u=M[11],M[12]!==F||M[13]!==D.cta||M[14]!==D.ctaAction?(m=!F&&(0,t.jsx)(w.default,{action:D.ctaAction,children:D.cta}),M[12]=F,M[13]=D.cta,M[14]=D.ctaAction,M[15]=m):m=M[15],M[16]!==B||M[17]!==F||M[18]!==V?(p=F&&!V&&(0,t.jsx)(w.default,{action:B.action,children:B.label}),M[16]=B,M[17]=F,M[18]=V,M[19]=p):p=M[19],M[20]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)("img",{src:"/images/nova/nav2/menu.svg",alt:"",style:{width:32,height:25.54}}),M[20]=g):g=M[20],M[21]!==z?(v=z("flex size-8 shrink-0 cursor-pointer items-center justify-center",g),M[21]=z,M[22]=v):v=M[22],M[23]!==m||M[24]!==p||M[25]!==v?(x=(0,t.jsxs)("div",{className:"flex min-h-12 items-center gap-8 justify-self-end",children:[m,p,v]}),M[23]=m,M[24]=p,M[25]=v,M[26]=x):x=M[26],M[27]!==x||M[28]!==D.desktopRow?(y=(0,t.jsxs)("nav",{"aria-label":"Main",className:W,children:[d,u,x]}),M[27]=x,M[28]=D.desktopRow,M[29]=y):y=M[29],M[30]!==z||M[31]!==D.fluidPhoneBar?(j=D.fluidPhoneBar?null:(0,t.jsxs)("nav",{"aria-label":"Main",className:"nova-desktop:hidden flex items-center justify-between px-4 py-5",children:[(0,t.jsx)("a",{href:f.NOVA_HOME_HREF,"aria-label":"Airtribe",className:"block h-4.5 w-29.5 shrink-0",children:(0,t.jsx)("img",{src:"/images/nova/nav2/logo-mobile.svg",alt:"",className:"size-full"})}),z("flex h-4 w-5 shrink-0 cursor-pointer items-center justify-center",(0,t.jsx)("img",{src:"/images/nova/nav2/menu.svg",alt:"",className:"size-full"}))]}),M[30]=z,M[31]=D.fluidPhoneBar,M[32]=j):j=M[32],M[33]!==y||M[34]!==j||M[35]!==l||M[36]!==c?(N=(0,t.jsxs)("header",{className:l,children:[c,y,j]}),M[33]=y,M[34]=j,M[35]=l,M[36]=c,M[37]=N):N=M[37],M[38]===Symbol.for("react.memo_cache_sentinel")?(k=()=>_(!1),M[38]=k):k=M[38],M[39]!==A?(S=(0,t.jsx)(T,{open:A,onClose:k}),M[39]=A,M[40]=S):S=M[40],M[41]!==N||M[42]!==S?(E=(0,t.jsxs)(t.Fragment,{children:[N,S]}),M[41]=N,M[42]=S,M[43]=E):E=M[43],E}],860307)},703558,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(761399);let s=[{title:"Core session",session:"CORE",desc:"Live, hands-on sessions led by your mentor",descWPhone:227,cards:[{time:"Sat, 11:00 AM - 1:00 PM (IST)",color:"#9DE1E3"},{time:"Sun, 11:00 AM - 1:00 PM (IST)",color:"#F9F707"},{time:"Sat, 5:00 PM - 7:00 PM (IST)",color:"#997AFF"},{time:"Sun, 5:00 PM - 7:00 PM (IST)",color:"#FF725A"}]},{title:"Hands-on projects",desc:"Real-world projects where you build, ship, and get feedback on your work",descWPhone:295,cards:[{time:"Module-level assignments",color:"#9DE1E3"}]}];var a=e.i(198890);let r="radial-gradient(ellipse 60% 64% at 50% 50%, #000 34%, transparent 80%)";function o(e){let n,s,o,l,c,d=(0,i.c)(13),{boxW:u,boxH:h,top:m}=e;return d[0]!==h||d[1]!==u||d[2]!==m?(n={width:u,height:h,top:m,WebkitMaskImage:r,maskImage:r},d[0]=h,d[1]=u,d[2]=m,d[3]=n):n=d[3],d[4]!==h||d[5]!==u?(s={width:h,height:u},d[4]=h,d[5]=u,d[6]=s):s=d[6],d[7]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:`${a.CDN}/genai/commitment/hands.7759e65e.webp`,alt:"",className:"h-[111.14%] w-[100.15%] max-w-none -translate-y-[11.14%] object-cover"}),d[7]=o):o=d[7],d[8]!==s?(l=(0,t.jsx)("div",{className:"rotate-90",children:(0,t.jsx)("div",{className:"overflow-hidden",style:s,children:o})}),d[8]=s,d[9]=l):l=d[9],d[10]!==n||d[11]!==l?(c=(0,t.jsx)("div",{className:"pointer-events-none absolute left-1/2 flex -translate-x-1/2 items-center justify-center opacity-[0.11]",style:n,children:l}),d[10]=n,d[11]=l,d[12]=c):c=d[12],c}function l(e){return(0,t.jsxs)("div",{className:"border-nova-guide flex flex-col border-t px-(--gutter,16px) pt-6",style:{paddingBottom:e.cards.length>1?34:32},children:[(0,t.jsx)("h3",{className:"font-nova-display leading-nova-display text-[20px] font-semibold",children:e.title}),(0,t.jsx)("p",{className:"text-nova-body-sm text-nova-guide-light mt-1.5",style:{maxWidth:e.descWPhone},children:e.desc}),(0,t.jsx)("div",{className:"mt-4 flex flex-col gap-4",children:e.cards.map(c)})]},e.title)}function c(e){return(0,t.jsxs)("div",{className:"bg-nova-surface relative flex min-h-12.5 items-center overflow-hidden pr-4 pl-7",children:[(0,t.jsx)("span",{"aria-hidden":!0,
1className:"absolute inset-y-0 left-0 w-1",style:{backgroundColor:e.color}}),(0,t.jsx)("span",{className:"leading-nova-body text-nova-guide-light text-[16px]",children:e.time})]},e.time)}function d(e){return(0,t.jsxs)("div",{className:"border-nova-guide flex min-h-39 border-t",children:[(0,t.jsxs)("div",{className:"border-nova-guide flex w-96 shrink-0 flex-col gap-4 border-r p-8",children:[(0,t.jsx)("h3",{className:"font-nova-display leading-nova-display text-[28px] font-semibold",children:e.title}),(0,t.jsx)("p",{className:"leading-nova-body text-nova-guide-light w-80 text-[18px] tracking-[0.16px]",children:e.desc})]}),(0,t.jsx)("div",{className:"nova-desktop:px-12 flex flex-1 flex-col justify-center gap-6 px-6 py-10",children:e.cards.map(u)})]},e.title)}function u(e){return(0,t.jsxs)("div",{className:"bg-nova-surface relative flex h-18 items-center overflow-hidden pl-6",children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"absolute inset-y-0 left-0 w-1",style:{backgroundColor:e.color}}),(0,t.jsx)("span",{className:"leading-nova-body text-nova-guide-light nova-desktop:text-[20px] text-[18px]",children:e.time})]},e.time)}e.s(["default",0,function(e){let r,c,u,h,m,p,f,g,v,x,y,b,w,j=(0,i.c)(20),{rows:N,title:k,sub:S}=void 0===e?{}:e,T=void 0===k?"Your commitment":k,E=void 0===S?"Here's what a week in the program looks like: live sessions on weekends, projects in between.":S,{sessions:M}=(0,n.useNovaSchedule)();j[0]!==M?(r=e=>{if(!e.session)return[e];let t=M?.[e.session];if(!t)return[];let i=t.map((t,i)=>({time:t,color:e.cards[i%e.cards.length].color}));return[{...e,cards:i}]},j[0]=M,j[1]=r):r=j[1];let C=(void 0===N?s:N).flatMap(r);j[2]===Symbol.for("react.memo_cache_sentinel")?(c=(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0",style:{backgroundImage:`url(${a.CDN}/genai/commitment/dots.9ca4b40f.webp)`,backgroundRepeat:"no-repeat",backgroundPosition:"center top",backgroundSize:"1290px 928px"}}),u=(0,t.jsx)(o,{boxW:1002,boxH:626,top:-99}),h=(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 w-63.5 bg-gradient-to-r from-white to-transparent"}),m=(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 right-0 w-63.5 bg-gradient-to-l from-white to-transparent"}),j[2]=c,j[3]=u,j[4]=h,j[5]=m):(c=j[2],u=j[3],h=j[4],m=j[5]),j[6]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0",style:{backgroundImage:`url(${a.CDN}/genai/commitment/dots.9ca4b40f.webp)`,backgroundRepeat:"no-repeat",backgroundPosition:"center top",backgroundSize:"845px 608px"}}),f=(0,t.jsx)(o,{boxW:458,boxH:286,top:-42}),g=(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 w-11 bg-gradient-to-r from-white to-transparent"}),v=(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 right-0 w-11 bg-gradient-to-l from-white to-transparent"}),j[6]=p,j[7]=f,j[8]=g,j[9]=v):(p=j[6],f=j[7],g=j[8],v=j[9]),j[10]!==T?(x=(0,t.jsx)("h2",{className:"font-nova-display-tight leading-nova-display text-center text-[32px] text-black",children:T}),j[10]=T,j[11]=x):x=j[11],j[12]!==E?(y=(0,t.jsx)("p",{className:"text-nova-body-sm text-nova-grey-2b mt-2 w-full max-w-67 text-center font-medium",children:E}),j[12]=E,j[13]=y):y=j[13],j[14]!==x||j[15]!==y?(b=(0,t.jsxs)("div",{className:"relative overflow-hidden bg-white",children:[p,f,g,v,(0,t.jsxs)("div",{className:"relative flex flex-col items-center px-(--gutter,16px) pt-46 pb-18",children:[x,y]})]}),j[14]=x,j[15]=y,j[16]=b):b=j[16];let A=C.map(l);return j[17]!==b||j[18]!==A?(w=(0,t.jsxs)("div",{className:"nova-tablet:hidden",children:[b,A]}),j[17]=b,j[18]=A,j[19]=w):w=j[19],(0,t.jsxs)("section",{className:"bg-black",children:[(0,t.jsxs)("div",{className:"nova-tablet:block hidden",children:[(0,t.jsxs)("div",{className:"relative overflow-hidden bg-white",children:[c,u,h,m,(0,t.jsxs)("div",{className:"relative flex flex-col items-center px-8 pt-90 pb-16.5",children:[(0,t.jsx)("h2",{className:"font-nova-display-tight leading-nova-display text-center text-[48px] text-black",children:T}),(0,t.jsx)("p",{className:"text-nova-body text-nova-grey-2b mt-3.5 w-full max-w-137 text-center font-medium",children:E})]})]}),(0,t.jsx)("div",{className:"border-nova-guide border-b",children:C.map(d)})]}),w]})}],703558)},738313,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(3485),s=e.i(821113),a=e.i(743689),r=e.i(670178),o=e.i(568535),l=e.i(516365),c=e.i(646975),d=e.i(457617),u=e.i(198890);
1let h=`520ms ${l.EASE_IN_OUT_STRONG}`,m=[{blur:1,start:45},{blur:3,start:66},{blur:8,start:84}];function p(e,i){return(0,t.jsxs)("div",{className:(0,o.default)("pcm-card border-nova-guide-light bg-nova-surface-light border px-4 pt-6 pb-5",i>0&&"-mt-px"),style:{animation:"pcm-card-in 300ms ease both",animationDelay:`${45*i}ms`},children:[e.no&&(0,t.jsx)("p",{className:"leading-nova-body tracking-nova-display text-nova-grey-52 text-[14px] font-bold uppercase",children:e.no}),(0,t.jsxs)("div",{className:(0,o.default)("flex flex-col gap-1.5",e.no&&"mt-3"),children:[(0,t.jsx)("h3",{className:"font-nova-display-tight leading-nova-display text-nova-guide text-[18px] font-semibold",children:e.title}),(0,t.jsx)("p",{className:"leading-nova-body text-nova-grey-52 text-[14px] font-medium",children:e.desc})]})]},e.title)}function f(e,i){return(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 right-0 w-26",style:{backdropFilter:`blur(${e.blur}px)`,WebkitBackdropFilter:`blur(${e.blur}px)`,maskImage:`linear-gradient(to right, transparent ${e.start}%, #000 100%)`,WebkitMaskImage:`linear-gradient(to right, transparent ${e.start}%, #000 100%)`}},i)}e.s(["default",0,function(e){let l,g,v,x,y,b,w,j,N,k,S,T,E,M=(0,i.c)(40),{phases:C,subhead:A}=void 0===e?{}:e,P=void 0===C?a.PHASES:C,_=void 0===A?a.CURRICULUM_SUBLINE:A,R=P.length,D=(0,n.useId)(),[I,$]=(0,n.useState)(0),L=(0,d.useReducedMotion)(),[V,F]=(0,n.useState)(!0),B=V&&!L,[O,z]=(0,n.useState)(!1),U=(0,n.useRef)(null),W=(0,s.useInView)(U,c.IN_VIEW),q=(0,n.useRef)(0);M[0]!==I||M[1]!==R||M[2]!==L?(l=()=>{let e=U.current;if(!e)return;let t=I<q.current&&q.current===R-1;e.scrollTo({left:278*I,behavior:t||L?"auto":"smooth"}),q.current=I},g=[I,R,L],M[0]=I,M[1]=R,M[2]=L,M[3]=l,M[4]=g):(l=M[3],g=M[4]),(0,n.useEffect)(l,g);let[H,X]=(0,n.useState)(0),G=P[I],Y=(0,r.phaseModules)(G,H),K=Y.length>3,J=O?Y:Y.slice(0,3),Z=!O&&K,Q=O&&K;M[5]!==z?(v=e=>{$(e),F(!1),z(!1)},M[5]=z,M[6]=v):v=M[6];let ee=v;M[7]!==z?(x=()=>{z(!0),F(!1)},M[7]=z,M[8]=x):x=M[8];let et=x;M[9]!==z?(y=e=>{X(e),F(!1),z(!1)},M[9]=z,M[10]=y):y=M[10];let ei=y;M[11]===Symbol.for("react.memo_cache_sentinel")?(b=(0,t.jsx)("style",{children:"\n @keyframes pcm-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }\n @keyframes pcm-card-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }\n @media (prefers-reduced-motion: reduce) { .pcm-card { animation: none !important; } }\n "}),M[11]=b):b=M[11],M[12]===Symbol.for("react.memo_cache_sentinel")?(w=(0,t.jsx)("h2",{className:"font-nova-display-tight text-[32px] leading-[1.05] font-semibold text-black",children:"Program curriculum"}),M[12]=w):w=M[12],M[13]!==B?(j=()=>B&&F(!1),M[13]=B,M[14]=j):j=M[14],M[15]!==B||M[16]!==I||M[17]!==W||M[18]!==R||M[19]!==ee||M[20]!==H||M[21]!==D?(N=(e,i)=>{let n=i===I;return(0,t.jsxs)("button",{type:"button","aria-pressed":n,"aria-controls":`${D}-mods`,onClick:()=>ee(i),style:{width:277,backgroundColor:n?"#000000":"#f0f0f0",transition:`background-color ${h}`},className:"relative flex h-43 shrink-0 snap-start flex-col overflow-hidden px-4 pt-6 pb-4 text-left",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:`url(${u.CDN}/program/curriculum/dither-dark.78911f93.webp)`,opacity:+!!n,transition:`opacity ${h}`}}),n&&B&&(0,t.jsx)("div",{"aria-hidden":!0,onAnimationEnd:()=>$(e=>(e+1)%R),className:"absolute top-0 left-0 h-1 w-full origin-left",style:{backgroundImage:"linear-gradient(-79.55deg, rgb(202,206,255) 19.05%, rgb(125,85,255) 126.69%)",animation:"pcm-progress 6000ms linear",animationPlayState:W?"running":"paused"}},`bar-${I}`),(0,t.jsx)("p",{className:"font-nova-display-tight leading-nova-body relative text-[22px] font-semibold",style:{color:n?"#ffffff":"#121212",transition:`color ${h}`},children:e.label}),(0,t.jsx)("p",{className:"leading-nova-body relative mt-2 line-clamp-2 text-[16px] font-medium",style:{color:n?"#eeeeee":"#333333",transition:`color ${h}`},children:e.blurb}),(0,t.jsxs)("p",{className:"leading-nova-body tracking-nova-display relative mt-auto text-[14px] font-medium uppercase",style:{color:n?"#cacaca":"#333333",transition:`color ${h}`},children:["[ ",(0,r.phaseCount)(e,H)," ",e.unit??"Modules"," ]"]})]},e.title)},M[15]=B,M[16]=I,M[17]=W,M[18]=R,M[19]=ee,M[20]=H,M[21]=D,M[22]=N):N=M[22],M[23]===Symbol.for("react.memo_cache_sentinel")?(k=m.map(f),M[23]=k):k=M[23];let en=`${D}-mods`,es=G.tracks?"mt-4":"mt-8";M[24]!==es?(S=(0,o.default)("flex flex-col",es),M[24]=es,M[25]=S):S=M[25];let ea=J.map(p);return M[26]!==Y||M[27]!==G||M[28]!==O||M[29]!==z||M[30]!==Z||M[31]!==Q||M[32]!==D||M[33]!==et?(T=(Z||Q)&&(0,t.jsxs)("button",{type:"button","aria-expanded":O,"aria-controls":`${D}-mods`,onClick:Z?et:()=>z(!1),className:"border-nova-grey-7c mt-6 flex items-center justify-center gap-2.5 self-center border px-6 py-3",children:[(0,t.jsx)("span",{className:"tracking-nova-body text-nova-guide text-[16px] font-bold",children:Z?`View all ${Y.length} ${(G.unit??"Modules").toLowerCase()}`:"View less"}),(0,t.jsx)("svg",{width:"12",height:"8",viewBox:"0 0 12 8",fill:"none","aria-hidden":!0,
1className:Q?"rotate-180":"",children:(0,t.jsx)("path",{d:"M1.5 1.5 6 6l4.5-4.5",stroke:"#333",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})})]}),M[26]=Y,M[27]=G,M[28]=O,M[29]=z,M[30]=Z,M[31]=Q,M[32]=D,M[33]=et,M[34]=T):T=M[34],M[35]!==en||M[36]!==S||M[37]!==ea||M[38]!==T?(E=(0,t.jsxs)("div",{id:en,className:S,children:[ea,T]}),M[35]=en,M[36]=S,M[37]=ea,M[38]=T,M[39]=E):E=M[39],(0,t.jsxs)("section",{className:"bg-white py-10",children:[b,(0,t.jsxs)("header",{className:"flex flex-col gap-2 px-4",children:[w,(0,t.jsx)("p",{className:"text-nova-body-sm text-nova-guide font-medium",children:_})]}),(0,t.jsxs)("div",{className:"relative mt-10",children:[(0,t.jsx)("div",{ref:U,onPointerDown:j,className:"border-nova-guide-light bg-nova-guide-light flex snap-x snap-mandatory gap-px overflow-x-auto overscroll-x-contain border-y",children:P.map(N)}),k]}),G.tracks&&(0,t.jsx)("div",{className:"border-nova-guide-light mt-8 flex border-y",children:G.tracks.map((e,i)=>{let n=i===H;return(0,t.jsx)("button",{type:"button","aria-pressed":n,"aria-controls":`${D}-mods`,onClick:()=>ei(i),className:(0,o.default)("leading-nova-body flex flex-1 items-center justify-center px-3 py-3.5 text-center text-[14px] font-medium transition-colors",n?"bg-nova-purple-74 text-nova-surface-light":"text-nova-grey-7a",i<G.tracks.length-1&&"border-nova-guide-light border-r"),children:e.label},e.key)})}),E]})}])},34466,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(3485),s=e.i(400755),a=e.i(890416),r=e.i(821113),o=e.i(743689),l=e.i(670178),c=e.i(568535),d=e.i(516365),u=e.i(646975),h=e.i(457617),m=e.i(198890),p=e.i(995105);function f(e){let n,s,a,r,o,l,d=(0,i.c)(16),{m:u,count:h,i:m}=e;if(d[0]!==h||d[1]!==m){let e;e=h%2==1&&m===h-1,n=(0,c.default)("flex flex-col gap-6 bg-nova-surface-light p-8 border-b border-nova-guide-light",0!=m%2||e?"":"border-r border-nova-guide-light",e?"col-span-2":""),d[0]=h,d[1]=m,d[2]=n}else n=d[2];return d[3]!==u.no?(s=u.no&&(0,t.jsx)("p",{className:"text-nova-body-lg text-nova-grey-52 font-bold uppercase",children:u.no}),d[3]=u.no,d[4]=s):s=d[4],d[5]!==u.title?(a=(0,t.jsx)("h3",{className:"font-nova-display-tight leading-nova-display text-nova-guide text-[24px] font-semibold",children:u.title}),d[5]=u.title,d[6]=a):a=d[6],d[7]!==u.desc?(r=(0,t.jsx)("p",{className:"leading-nova-body text-nova-grey-52 text-[18px] font-medium",children:u.desc}),d[7]=u.desc,d[8]=r):r=d[8],d[9]!==a||d[10]!==r?(o=(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[a,r]}),d[9]=a,d[10]=r,d[11]=o):o=d[11],d[12]!==n||d[13]!==s||d[14]!==o?(l=(0,t.jsxs)("div",{className:n,children:[s,o]}),d[12]=n,d[13]=s,d[14]=o,d[15]=l):l=d[15],l}function g(e){let n,s,a,r=(0,i.c)(5),{up:o}=e,l=void 0!==o&&o&&"rotate-180";return r[0]!==l?(n=(0,c.default)("size-4",l),r[0]=l,r[1]=n):n=r[1],r[2]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("path",{d:"M4 6l4 4 4-4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),r[2]=s):s=r[2],r[3]!==n?(a=(0,t.jsx)("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":!0,className:n,children:s}),r[3]=n,r[4]=a):a=r[4],a}function v(){}function x(){}function y(e){return e?e.offsetHeight:0}function b(e){return e?e.offsetHeight:0}function w(e){let n,s,a=(0,i.c)(8),{phases:r,cap:o,peekH:c,leftColRefs:d,capGridRefs:u}=e;return a[0]!==o||a[1]!==u||a[2]!==d||a[3]!==c||a[4]!==r?(n=r.map((e,i)=>(0,t.jsxs)("div",{className:"flex w-full",children:[(0,t.jsx)("div",{ref:e=>{d.current[i]=e},className:"flex w-75 shrink-0 flex-col",children:r.map((e,n)=>n===i?(0,t.jsx)("div",{className:"flex flex-col gap-12 bg-black py-8 pl-6",children:(0,t.jsxs)("div",{className:"flex w-63 flex-col gap-12",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsxs)("p",{className:"font-nova-display-tight leading-nova-body text-[24px]",children:[(0,t.jsxs)("span",{className:"",children:[e.label,": "]}),(0,t.jsx)("span",{className:"font-bold",children:e.title})]}),(0,t.jsx)("p",{className:"leading-nova-body text-[16px] font-medium",children:e.blurb})]}),(0,t.jsxs)("p",{className:"text-nova-body-lg font-medium uppercase",children:["[ ",(0,l.phaseCount)(e)," ",e.unit??"Modules"," ]"]})]})},e.label):(0,t.jsx)("div",{className:"flex items-center p-4",children:(0,t.jsx)("p",{className:"font-nova-display-tight leading-nova-body text-[24px] font-semibold",children:e.label})},e.label))}),(0,t.jsxs)("div",{className:"flex flex-1 flex-col",children:[e.tracks&&(0,t.jsx)("div",{style:{height:69}}),(0,t.jsx)("div",{ref:e=>{u.current[i]=e},className:"grid auto-rows-min grid-cols-2 content-start",children:(0,l.phaseModules)(e,0).slice(0,o).map((i,n)=>(0,t.jsx)(f,{m:i,count:Math.min((0,l.phaseModules)(e,0).length,o),i:n},i.title))}),(0,l.phaseModules)(e,0).length>o&&(0,t.jsx)("div",{style:{height:c}})]})]},e.label)),a[0]=o,a[1]=u,a[2]=d,a[3]=c,a[4]=r,a[5]=n):n=a[5],a[6]!==n?(s=(0,t.jsx)("div",{"aria-hidden":!0,
1className:"pointer-events-none invisible absolute inset-x-0 top-0 -z-10",children:n}),a[6]=n,a[7]=s):s=a[7],s}function j(e){let n,r,o,d=(0,i.c)(35),{phases:u,active:h,activeTrack:p,wrap:f,auto:g,playing:v,rm:x,uid:y,layoutT:b,panelV:w,onPick:j,onAdvance:N,onWrapSettled:k}=e,S=u[h];if(d[0]!==f?(n={wrap:f},d[0]=f,d[1]=n):n=d[1],d[2]!==h||d[3]!==p||d[4]!==g||d[5]!==b||d[6]!==N||d[7]!==j||d[8]!==k||d[9]!==w||d[10]!==S||d[11]!==u||d[12]!==v||d[13]!==x||d[14]!==y||d[15]!==f){let e;d[17]!==h||d[18]!==p||d[19]!==g||d[20]!==b||d[21]!==N||d[22]!==j||d[23]!==k||d[24]!==w||d[25]!==S||d[26]!==u.length||d[27]!==v||d[28]!==x||d[29]!==y||d[30]!==f?(e=(e,i)=>{let n=i<u.length-1?"border-b border-nova-guide-light":"";return i!==h?(0,t.jsx)(a.motion.button,{type:"button",layout:"position",initial:{opacity:0},animate:{opacity:1},transition:{layout:b,opacity:{duration:x?.12:.2}},"aria-expanded":!1,"aria-controls":`${y}-phase`,onClick:()=>j(i),className:(0,c.default)("group bg-nova-surface-muted hover:bg-nova-grey-e8 flex items-center p-4 text-left transition-colors",n),children:(0,t.jsx)("p",{className:"font-nova-display-tight leading-nova-body text-nova-grey-7a group-hover:text-nova-guide text-[24px] font-semibold transition-colors",children:e.label})},e.label):(0,t.jsxs)(a.motion.div,{id:`${y}-phase`,role:"region","aria-label":e.label,layoutId:f?void 0:"phase-panel",layout:!f&&"position",custom:{wrap:f},variants:w,initial:!!f&&"initial",animate:"animate",exit:"exit",transition:{layout:b},onAnimationComplete:()=>{f&&k()},className:(0,c.default)("relative flex flex-col gap-12 overflow-hidden bg-black py-8 pl-6",n),children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:`url(${m.CDN}/program/curriculum/dither-dark.78911f93.webp)`}}),g&&(0,t.jsx)("div",{"aria-hidden":!0,onAnimationEnd:N,className:"absolute top-0 left-0 h-2 w-full origin-left motion-reduce:hidden",style:{backgroundImage:"linear-gradient(-84.73deg, rgb(202,206,255) 19.05%, rgb(125,85,255) 126.69%)",animation:"curriculum-progress 6000ms linear",animationPlayState:v?"running":"paused"}},h),(0,t.jsxs)("div",{className:"relative flex w-63 flex-col gap-12",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsxs)("p",{className:"font-nova-display-tight leading-nova-body text-[24px] text-white",children:[(0,t.jsxs)("span",{className:"",children:[e.label,": "]}),(0,t.jsx)("span",{className:"font-bold",children:e.title})]}),(0,t.jsx)("p",{className:"leading-nova-body text-nova-grey-ee text-[16px] font-medium",children:e.blurb})]}),(0,t.jsxs)("p",{className:"text-nova-body-lg text-nova-guide-light font-medium uppercase",children:["[ ",(0,l.phaseCount)(S,p)," ",S.unit??"Modules"," ]"]})]})]},e.label)},d[17]=h,d[18]=p,d[19]=g,d[20]=b,d[21]=N,d[22]=j,d[23]=k,d[24]=w,d[25]=S,d[26]=u.length,d[27]=v,d[28]=x,d[29]=y,d[30]=f,d[31]=e):e=d[31],r=u.map(e),d[2]=h,d[3]=p,d[4]=g,d[5]=b,d[6]=N,d[7]=j,d[8]=k,d[9]=w,d[10]=S,d[11]=u,d[12]=v,d[13]=x,d[14]=y,d[15]=f,d[16]=r}else r=d[16];return d[32]!==n||d[33]!==r?(o=(0,t.jsx)("div",{className:"border-nova-guide-light flex w-75 shrink-0 flex-col border-r",children:(0,t.jsx)(s.AnimatePresence,{mode:"popLayout",initial:!1,custom:n,children:r})}),d[32]=n,d[33]=r,d[34]=o):o=d[34],o}function N(e){let n,r,o,l,d,u,h,m,p,v,x,y,b=(0,i.c)(55),{phase:w,activeTrack:j,hasTracks:N,allMods:k,peekH:S,expanded:T,hasMore:E,viewportH:M,heightTransition:C,fullProbeRef:A,gridKey:P,dir:_,gridLayerV:R,rm:D,uid:I,onPickTrack:$,onExpand:L,onCollapse:V}=e;b[0]!==j||b[1]!==N||b[2]!==$||b[3]!==w?(n=N&&(0,t.jsx)("div",{className:"border-nova-guide-light flex h-17 shrink-0 border-b",children:w.tracks.map((e,i)=>{let n=i===j;return(0,t.jsx)("button",{type:"button",onClick:()=>$(i),className:(0,c.default)("font-nova-sans leading-nova-body flex flex-1 items-center justify-center px-9 py-5 text-[20px] font-medium transition-colors",n?"bg-nova-purple-74 text-nova-surface-light":"text-nova-grey-7a hover:text-nova-guide",i<w.tracks.length-1&&"border-nova-guide-light border-r"),children:e.label},e.key)})}),b[0]=j,b[1]=N,b[2]=$,b[3]=w,b[4]=n):n=b[4];let F=`${I}-mods`;if(b[5]!==C||b[6]!==M?(r={height:M,transition:C},b[5]=C,b[6]=M,b[7]=r):r=b[7],b[8]!==k){let e;b[10]!==k.length?(e=(e,i)=>(0,t.jsx)(f,{m:e,count:k.length,i:i},e.title),b[10]=k.length,b[11]=e):e=b[11],o=k.map(e),b[8]=k,b[9]=o}else o=b[9];b[12]!==_||b[13]!==P||b[14]!==R||b[15]!==o?(l=(0,t.jsx)(a.motion.div,{custom:_,variants:R,initial:"enter",animate:"center",exit:"exit",className:"absolute inset-x-0 top-0 grid grid-cols-2",children:o},P),b[12]=_,b[13]=P,b[14]=R,b[15]=o,b[16]=l):l=b[16],b[17]!==_||b[18]!==l?(d=(0,t.jsx)(s.AnimatePresence,{initial:!1,custom:_,children:l}),b[17]=_,b[18]=l,b[19]=d):d=b[19];let B=E&&!T?1:0,O=D?"none":"opacity 0.2s ease";if(b[20]!==S||b[21]!==B||b[22]!==O?(u=(0,t.jsx)("div",{"aria-hidden":!0,
1className:"pointer-events-none absolute inset-x-0 bottom-0 z-1",style:{height:S,background:"linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 92%)",opacity:B,transition:O}}),b[20]=S,b[21]=B,b[22]=O,b[23]=u):u=b[23],b[24]!==k.length||b[25]!==T||b[26]!==E||b[27]!==L||b[28]!==S||b[29]!==w||b[30]!==I?(h=E&&!T&&(0,t.jsx)("div",{className:"absolute inset-x-0 bottom-0 z-2 flex items-center justify-center",style:{height:S},children:(0,t.jsxs)("button",{type:"button","aria-expanded":!1,"aria-controls":`${I}-mods`,onClick:L,className:"border-nova-guide-light tracking-nova-body hover:bg-nova-surface-light flex items-center gap-2 border bg-white px-6 py-3 text-[16px] font-medium text-black shadow-[0_2px_12px_rgba(0,0,0,0.08)] transition-colors",children:["View all ",k.length," ",(w.unit??"Modules").toLowerCase(),(0,t.jsx)(g,{})]})}),b[24]=k.length,b[25]=T,b[26]=E,b[27]=L,b[28]=S,b[29]=w,b[30]=I,b[31]=h):h=b[31],b[32]!==k){let e;b[34]!==k.length?(e=(e,i)=>(0,t.jsx)(f,{m:e,count:k.length,i:i},e.title),b[34]=k.length,b[35]=e):e=b[35],m=k.map(e),b[32]=k,b[33]=m}else m=b[33];return b[36]!==A||b[37]!==m?(p=(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none invisible absolute inset-x-0 top-0 -z-10",children:(0,t.jsx)("div",{ref:A,className:"grid grid-cols-2",children:m})}),b[36]=A,b[37]=m,b[38]=p):p=b[38],b[39]!==h||b[40]!==p||b[41]!==F||b[42]!==r||b[43]!==d||b[44]!==u?(v=(0,t.jsxs)("div",{id:F,className:"relative overflow-hidden",style:r,children:[d,u,h,p]}),b[39]=h,b[40]=p,b[41]=F,b[42]=r,b[43]=d,b[44]=u,b[45]=v):v=b[45],b[46]!==T||b[47]!==E||b[48]!==V||b[49]!==I?(x=E&&T&&(0,t.jsx)("div",{className:"flex shrink-0 justify-center py-6",children:(0,t.jsxs)("button",{type:"button","aria-expanded":!0,"aria-controls":`${I}-mods`,onClick:V,className:"border-nova-guide-light font-nova-sans tracking-nova-body hover:bg-nova-surface-light flex items-center gap-2 border bg-white px-6 py-3 text-[16px] font-medium text-black transition-colors",children:["View less",(0,t.jsx)(g,{up:!0})]})}),b[46]=T,b[47]=E,b[48]=V,b[49]=I,b[50]=x):x=b[50],b[51]!==n||b[52]!==v||b[53]!==x?(y=(0,t.jsxs)("div",{className:"relative flex flex-1 flex-col",children:[n,v,x]}),b[51]=n,b[52]=v,b[53]=x,b[54]=y):y=b[54],y}function k(e){return!!e.tracks}e.s(["default",0,function(e){let s,a,f,g,S,T,E,M,C,A,P,_,R,D,I,$,L,V,F,B,O,z,U,W,q,H,X,G,Y,K=(0,i.c)(96);K[0]!==e?(s=void 0===e?{}:e,K[0]=e,K[1]=s):s=K[1];let{phases:J,subhead:Z,cap:Q,peekH:ee,inRails:et,ctaFlush:ei,reserveTrackBar:en}=s,es=void 0===J?o.PHASES:J,ea=void 0===Z?o.CURRICULUM_SUBLINE:Z,er=void 0===Q?6:Q,eo=void 0===ee?96:ee,el=(0,n.useId)(),[ec,ed]=(0,n.useState)(0),[eu,eh]=(0,n.useState)(1),[em,ep]=(0,n.useState)(!1),[ef,eg]=(0,n.useState)(!1),[ev,ex]=(0,n.useState)(0),[ey,eb]=(0,n.useState)(!0),ew=(0,h.useReducedMotion)(),ej=(0,n.useRef)(null),eN=(0,r.useInView)(ej,u.IN_VIEW);K[2]!==es||K[3]!==en?(a=en??es.some(k),K[2]=es,K[3]=en,K[4]=a):a=K[4];let ek=a;K[5]!==ec||K[6]!==ev||K[7]!==ek||K[8]!==eo?(f={hasAnyTracks:ek,peekH:eo,active:ec,activeTrack:ev},K[5]=ec,K[6]=ev,K[7]=ek,K[8]=eo,K[9]=f):f=K[9];let{leftColRefs:eS,capGridRefs:eT,fullProbeRef:eE,boxMinH:eM,collapsedVH:eC,fullH:eA,heightReady:eP}=function(e){let t,s,a,r,o,l,c,d,u,h=(0,i.c)(19),{hasAnyTracks:m,peekH:p,active:f,activeTrack:g}=e;h[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],h[0]=t):t=h[0];let w=(0,n.useRef)(t);h[1]===Symbol.for("react.memo_cache_sentinel")?(s=[],h[1]=s):s=h[1];let j=(0,n.useRef)(s),N=(0,n.useRef)(null),[k,S]=(0,n.useState)(0),[T,E]=(0,n.useState)(0),[M,C]=(0,n.useState)(0),[A,P]=(0,n.useState)(!1);return h[2]!==m||h[3]!==p?(a=()=>{let e=()=>{let e=j.current.map(b),t=w.current.map(y),i=e.length?Math.max(...e)+p:0,n=t.length?Math.max(...t):0;E(i),S(Math.max(n,69*!!m+i))};return e(),document.fonts?.ready?.then(e).catch(x),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},r=[m,p],h[2]=m,h[3]=p,h[4]=a,h[5]=r):(a=h[4],r=h[5]),(0,n.useLayoutEffect)(a,r),h[6]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{let e=()=>{N.current&&C(N.current.offsetHeight)};return e(),document.fonts?.ready?.then(e).catch(v),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},h[6]=o):o=h[6],h[7]!==f||h[8]!==g?(l=[f,g],h[7]=f,h[8]=g,h[9]=l):l=h[9],(0,n.useLayoutEffect)(o,l),h[10]!==T||h[11]!==A?(c=()=>
1{if(T>0&&!A){let e=requestAnimationFrame(()=>P(!0));return()=>cancelAnimationFrame(e)}},d=[T,A],h[10]=T,h[11]=A,h[12]=c,h[13]=d):(c=h[12],d=h[13]),(0,n.useEffect)(c,d),h[14]!==k||h[15]!==T||h[16]!==M||h[17]!==A?(u={leftColRefs:w,capGridRefs:j,fullProbeRef:N,boxMinH:k,collapsedVH:T,fullH:M,heightReady:A},h[14]=k,h[15]=T,h[16]=M,h[17]=A,h[18]=u):u=h[18],u}(f);K[10]!==ec||K[11]!==es.length?(g=e=>{if(e===ec)return;let t=ec===es.length-1&&0===e;ep(t),eh(t?-1:e>ec?1:-1),eg(!1),ed(e)},K[10]=ec,K[11]=es.length,K[12]=g):g=K[12];let e_=g;K[13]!==e_?(S=e=>{e_(e),eb(!1)},K[13]=e_,K[14]=S):S=K[14];let eR=S;K[15]!==ev?(T=e=>{e!==ev&&(ex(e),eg(!1),eb(!1))},K[15]=ev,K[16]=T):T=K[16];let eD=T;K[17]!==ew?(E=ew?{duration:.12}:{duration:.45,ease:d.EASE_OUT},K[17]=ew,K[18]=E):E=K[18];let eI=E;if(K[19]!==ew){let e;M={initial:t=>({opacity:0,y:e||!t.wrap?0:-220}),animate:{opacity:1,y:0,transition:{duration:(e=ew)?.12:.45,ease:d.EASE_OUT}},exit:t=>({opacity:0,y:e||!t.wrap?0:220,transition:{duration:e?.12:.45,ease:d.EASE_OUT}})},K[19]=ew,K[20]=M}else M=K[20];let e$=M;if(K[21]!==ew){let e;C={enter:t=>({opacity:0,y:e?0:t>=0?6:-6}),center:{opacity:1,y:0,transition:(e=ew)?{duration:.12}:{duration:.3,ease:d.EASE_OUT,delay:.09}},exit:t=>({opacity:0,y:e?0:t>=0?-6:6,transition:e?{duration:.12}:{duration:.2,ease:d.EASE_OUT}})},K[21]=ew,K[22]=C}else C=K[22];let eL=C,eV=es[ec],eF=!!eV.tracks;K[23]!==ev||K[24]!==eV?(A=(0,l.phaseModules)(eV,ev),K[23]=ev,K[24]=eV,K[25]=A):A=K[25];let eB=A,eO=eB.length>er,ez=`${ec}-${ev}`,eU=(ef?eA:eC)||void 0,eW=ew||!eP?"none":`height 0.42s ${d.EASE_OUT_CSS} ${ef?"0s":"0.05s"}`,eq=void 0!==et&&et?"pointer-events-none absolute inset-0 bg-white":"pointer-events-none absolute inset-y-0 left-1/2 w-screen -translate-x-1/2 bg-white";K[26]!==eq?(P=(0,t.jsx)("div",{"aria-hidden":!0,className:eq}),K[26]=eq,K[27]=P):P=K[27],K[28]===Symbol.for("react.memo_cache_sentinel")?(_=(0,t.jsx)("style",{children:"\n @keyframes curriculum-progress {\n from { transform: scaleX(0); }\n to { transform: scaleX(1); }\n }\n "}),K[28]=_):_=K[28],K[29]===Symbol.for("react.memo_cache_sentinel")?(R=(0,t.jsx)("h2",{className:"font-nova-display-tight text-[48px] leading-[0.97] font-semibold text-black",children:"Program curriculum"}),K[29]=R):R=K[29],K[30]!==ea?(D=(0,t.jsxs)("header",{className:"flex w-full max-w-101 flex-col items-center gap-4 text-center",children:[R,(0,t.jsx)("p",{className:"text-nova-body text-nova-guide font-medium",children:ea})]}),K[30]=ea,K[31]=D):D=K[31];let eH=!(void 0!==ei&&ei)&&"gap-12";K[32]!==eH?(I=(0,c.default)("flex w-full flex-col",eH),K[32]=eH,K[33]=I):I=K[33];let eX=eM||void 0;return K[34]!==eX?($={minHeight:eX},K[34]=eX,K[35]=$):$=K[35],K[36]!==er||K[37]!==eT||K[38]!==eS||K[39]!==eo||K[40]!==es?(L=(0,t.jsx)(w,{phases:es,cap:er,peekH:eo,leftColRefs:eS,capGridRefs:eT}),K[36]=er,K[37]=eT,K[38]=eS,K[39]=eo,K[40]=es,K[41]=L):L=K[41],K[42]!==ec||K[43]!==e_||K[44]!==es.length?(V=()=>e_((ec+1)%es.length),K[42]=ec,K[43]=e_,K[44]=es.length,K[45]=V):V=K[45],K[46]===Symbol.for("react.memo_cache_sentinel")?(F=()=>ep(!1),K[46]=F):F=K[46],K[47]!==ec||K[48]!==ev||K[49]!==ey||K[50]!==eN||K[51]!==eI||K[52]!==e$||K[53]!==es||K[54]!==eR||K[55]!==ew||K[56]!==V||K[57]!==el||K[58]!==em?(B=(0,t.jsx)(j,{phases:es,active:ec,activeTrack:ev,wrap:em,auto:ey,playing:eN,rm:ew,uid:el,layoutT:eI,panelV:e$,onPick:eR,onAdvance:V,onWrapSettled:F}),K[47]=ec,K[48]=ev,K[49]=ey,K[50]=eN,K[51]=eI,K[52]=e$,K[53]=es,K[54]=eR,K[55]=ew,K[56]=V,K[57]=el,K[58]=em,K[59]=B):B=K[59],K[60]===Symbol.for("react.memo_cache_sentinel")?(O=()=>{eg(!0),eb(!1)},z=()=>eg(!1),K[60]=O,K[61]=z):(O=K[60],z=K[61]),K[62]!==ev||K[63]!==eB||K[64]!==eu||K[65]!==ef||K[66]!==eE||K[67]!==ez||K[68]!==eL||K[69]!==eO||K[70]!==eF||K[71]!==eW||K[72]!==eo||K[73]!==eV||K[74]!==eD||K[75]!==ew||K[76]!==el||K[77]!==eU?(U=(0,t.jsx)(N,{phase:eV,activeTrack:ev,hasTracks:eF,allMods:eB,peekH:eo,expanded:ef,hasMore:eO,viewportH:eU,heightTransition:eW,fullProbeRef:eE,gridKey:ez,dir:eu,gridLayerV:eL,rm:ew,uid:el,onPickTrack:eD,onExpand:O,onCollapse:z}),K[62]=ev,K[63]=eB,K[64]=eu,K[65]=ef,K[66]=eE,K[67]=ez,K[68]=eL,K[69]=eO,K[70]=eF,K[71]=eW,K[72]=eo,K[73]=eV,K[74]=eD,K[75]=ew,K[76]=el,K[77]=eU,K[78]=U):U=K[78],K[79]!==B||K[80]!==U?(W=(0,t.jsxs)("div",{className:"flex w-full flex-1",children:[B,U]}),K[79]=B,K[80]=U,K[81]=W):W=K[81],K[82]!==$||K[83]!==L||K[84]!==W?(q=(0,t.jsxs)("div",{className:"border-nova-guide-light relative flex w-full flex-col overflow-hidden border-y bg-white",style:$,children:[L,W]}),K[82]=$,K[83]=L,K[84]=W,K[85]=q):q=K[85],K[86]===Symbol.for("react.memo_cache_sentinel")?(H=(0,t.jsxs)("div",{className:"bg-nova-purple-7c relative flex w-full flex-wrap items-center justify-between gap-6 overflow-hidden px-12 py-6",children:[(0,t.jsx)("div",{"aria-hidden":!0,
1className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:`url(${m.CDN}/program/curriculum/dither-purple.6d5566a8.webp)`}}),(0,t.jsx)("p",{className:"font-nova-display-tight leading-nova-display relative text-[32px] font-semibold text-white",children:"Want to dive deeper into the details?"}),(0,t.jsx)(p.default,{action:"brochure",widthClass:"w-60.5",className:"relative !border-white/10",children:"Get the full curriculum"})]}),K[86]=H):H=K[86],K[87]!==I||K[88]!==q?(X=(0,t.jsxs)("div",{className:I,children:[q,H]}),K[87]=I,K[88]=q,K[89]=X):X=K[89],K[90]!==D||K[91]!==X?(G=(0,t.jsx)("div",{className:"relative w-full",children:(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"border-nova-guide-light flex flex-col items-center gap-15 border-x pt-20",children:[D,X]})})}),K[90]=D,K[91]=X,K[92]=G):G=K[92],K[93]!==P||K[94]!==G?(Y=(0,t.jsxs)("section",{ref:ej,className:"text-nova-guide relative w-full",children:[P,_,G]}),K[93]=P,K[94]=G,K[95]=Y):Y=K[95],Y}])},924278,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(3485);let s={heading:"Still got doubts about this program?",blurb:"Lorem ipsum dolor sit amet consectetur. Id enim sed sapien arcu facilisi fermentum.",cta:"Request a Callback"};var a=e.i(568535),r=e.i(198890),o=e.i(995105),l=e.i(62266),c=e.i(634822),d=e.i(761399),u=e.i(114228);function h(e){let n,s,r,o=(0,i.c)(6),{open:l,className:c}=e,d=void 0===c?"size-4":c,u=l&&"rotate-45";return o[0]!==d||o[1]!==u?(n=(0,a.default)(d,"text-nova-guide-light shrink-0 transition-transform duration-300",u),o[0]=d,o[1]=u,o[2]=n):n=o[2],o[3]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("path",{d:"M8 1.5v13M1.5 8h13",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),o[3]=s):s=o[3],o[4]!==n?(r=(0,t.jsx)("svg",{viewBox:"0 0 16 16",className:n,fill:"none","aria-hidden":!0,children:s}),o[4]=n,o[5]=r):r=o[5],r}e.s(["default",0,function(e){let m,p,f,g,v,x,y,b,w,j,N,k,S,T,E,M,C,A,P,_,R,D,I,$,L,V,F,B=(0,i.c)(73),{heading:O,callback:z}=e,U=void 0===O?"Frequently Asked Questions":O,W=void 0===z?s:z,q=(0,n.useId)(),[H,X]=(0,n.useState)(0),[G,Y]=(0,n.use
1State)(0),K=(0,d.useNovaFaq)()??[],J=K[H]??K[0];B[0]===Symbol.for("react.memo_cache_sentinel")?(m=e=>{X(e),Y(0)},B[0]=m):m=B[0];let Z=m;if(!J)return null;if(B[1]!==U?(p=(0,t.jsx)("h2",{className:"font-nova-display-tight leading-nova-display w-full max-w-101 pl-8 text-[48px]",children:U}),B[1]=U,B[2]=p):p=B[2],B[3]!==W.heading?(f=(0,t.jsx)("p",{className:"leading-nova-display text-nova-grey-ee text-[20px] font-bold",children:W.heading}),B[3]=W.heading,B[4]=f):f=B[4],B[5]!==W.blurb?(g=(0,t.jsx)("p",{className:"text-nova-body text-nova-guide-light",children:W.blurb}),B[5]=W.blurb,B[6]=g):g=B[6],B[7]!==f||B[8]!==g?(v=(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[f,g]}),B[7]=f,B[8]=g,B[9]=v):v=B[9],B[10]!==W.cta?(x=(0,t.jsx)(o.default,{variant:"secondary",tone:"bare",asChild:!0,children:(0,t.jsx)(l.default,{action:"counsellor",children:W.cta})}),B[10]=W.cta,B[11]=x):x=B[11],B[12]===Symbol.for("react.memo_cache_sentinel")?(y=(0,t.jsx)(o.IconButton,{label:"WhatsApp",tone:"bare",asChild:!0,children:(0,t.jsx)(l.default,{action:"whatsapp",children:(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:"/images/nova/program/faq/whatsapp.svg",alt:"",className:"size-6"})})}),B[12]=y):y=B[12],B[13]!==x?(b=(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[x,y]}),B[13]=x,B[14]=b):b=B[14],B[15]!==b||B[16]!==v?(w=(0,t.jsxs)("div",{className:"border-nova-guide mt-auto flex w-full flex-col gap-12 border-t bg-black p-8",children:[v,b]}),B[15]=b,B[16]=v,B[17]=w):w=B[17],B[18]!==w||B[19]!==p?(j=(0,t.jsxs)("div",{className:"border-nova-guide flex w-[clamp(332px,calc(100%_-_838px),480px)] shrink-0 flex-col border-r pt-12",children:[p,w]}),B[18]=w,B[19]=p,B[20]=j):j=B[20],B[21]!==H||B[22]!==K){let e;B[24]!==H?(e=(e,i)=>{let n=i===H;return(0,t.jsxs)("button",{type:"button","aria-pressed":n,onClick:()=>Z(i),className:"flex items-center gap-4",children:[n&&(0,t.jsx)("span",{className:"h-8 w-0.5 bg-white"}),(0,t.jsx)("span",{className:(0,a.default)("font-nova-display-tight leading-nova-display text-[24px]",n?"text-white":"text-nova-grey-7a"),children:e.label})]},e.id)},B[24]=H,B[25]=e):e=B[25],N=K.map(e),B[21]=H,B[22]=K,B[23]=N}else N=B[23];if(B[26]!==N?(k=(0,t.jsx)("div",{className:"flex shrink-0 items-center gap-7 pl-8",children:N}),B[26]=N,B[27]=k):k=B[27],B[28]!==J.items||B[29]!==G||B[30]!==q){let e;B[32]!==G||B[33]!==q?(e=(e,i)=>{let n=i===G;return(0,t.jsxs)("div",{className:(0,a.default)("border-nova-guide border-b pb-8 transition-colors duration-300",n&&"bg-nova-surface"),children:[(0,t.jsxs)("button",{type:"button",id:`${q}-d-q-${i}`,"aria-expanded":n,"aria-controls":`${q}-d-a-${i}`,onClick:()=>Y(n?-1:i),className:(0,a.default)("relative flex w-full cursor-pointer items-start justify-between gap-6 px-8 pt-8 text-left",!n&&"after:absolute after:inset-x-0 after:top-full after:h-8 after:content-['']"),children:[(0,t.jsx)("p",{className:"font-nova-display-tight leading-nova-display text-nova-grey-ee min-w-0 flex-1 text-[20px] font-semibold",children:e.q}),(0,t.jsx)("span",{className:"pt-1",children:(0,t.jsx)(h,{open:n})})]}),(0,t.jsx)(u.default,{id:`${q}-d-a-${i}`,open:n,children:(0,t.jsx)("div",{role:"region","aria-labelledby":`${q}-d-q-${i}`,className:"pt-5 pr-18 pl-8",children:(0,t.jsx)(c.default,{html:e.a,className:"nova-faq-answer text-nova-body text-nova-guide-light"})})})]},e.q)},B[32]=G,B[33]=q,B[34]=e):e=B[34],S=J.items.map(e),B[28]=J.items,B[29]=G,B[30]=q,B[31]=S}else S=B[31];if(B[35]!==S?(T=(0,t.jsx)("div",{className:"border-nova-guide mt-8 flex-1 overflow-y-auto border-t",children:S}),B[35]=S,B[36]=T):T=B[36],B[37]!==k||B[38]!==T?(E=(0,t.jsxs)("div",{className:"-mr-0.5 flex h-202 min-w-0 flex-1 flex-col pt-12",children:[k,T]}),B[37]=k,B[38]=T,B[39]=E):E=B[39],B[40]!==j||B[41]!==E?(M=(0,t.jsx)("div",{className:"nova-desktop:block hidden",children:(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"border-nova-guide flex h-202 border",children:[j,E]})})}),B[40]=j,B[41]=E,B[42]=M):M=B[42],B[43]!==U?(C=(0,t.jsx)("h2",{className:"font-nova-display-tight leading-nova-display px-5 text-[32px]",children:U}),B[43]=U,B[44]=C):C=B[44],B[45]!==H||B[46]!==K){let e;B[48]!==H?(e=(e,i)=>{let n=i===H;return(0,t.jsxs)("button",{type:"button","aria-pressed":n,onClick:()=>Z(i),className:"flex items-center gap-4",children:[n&&(0,t.jsx)("span",{className:"h-7.5 w-0.5 bg-white"}),(0,t.jsx)("span",{className:(0,a.default)("font-nova-display leading-nova-display text-[24px]",n?"text-white":"text-nova-grey-7a"),children:e.label})]},e.id)},B[48]=H,B[49]=e):e=B[49],A=K.map(e),B[45]=H,B[46]=K,B[47]=A}else A=B[47];if(B[50]!==A?(P=(0,t.jsx)("div",{className:"flex items-center gap-6",children:A}),B[50]=A,B[51]=P):P=B[51],B[52]!==J.items||B[53]!==G||B[54]!==q){let e;B[56]!==G||B[57]!==q?(e=(e,i)=>{let n=i===G;return(0,t.jsxs)("div",{className:(0,a.default)("border-nova-guide border pb-4 transition-colors duration-300",i>0&&"-mt-px",n?"bg-nova-surface relative z-10":"bg-black"),children:[(0,t.jsxs)("button",{type:"button",id:`${q}-m-q-${i}`,"aria-expanded":n,"aria-controls":`${q}-m-a-${i}`,onClick:()=>Y(n?-1:i),className:(0,a.default)("relative flex w-full cursor-pointer items-start justify-between gap-4 px-4.5 pt-4 text-left",!n&&"after:absolute after:inset-x-0 after:top-full after:h-4 after:content-['']"),children:[(0,t.jsx)("p",{className:(0,a.default)("font-nova-display text-[16px] leading-[1.2] font-semibold",n?"text-nova-guide-light":"text-nova-grey-9f"),children:e.q}),(0,t.jsx)("span",{className:"pt-1",children:(0,t.jsx)(h,{open:n,className:"size-3"})})]}),(0,t.jsx)(u.default,{id:`${q}-m-a-${i}`,open:n,children:(0,t.jsx)("div",{role:"region","aria-labelledby":`${q}-m-q-${i}`,className:"pt-4 pr-11.5 pl-4.5",children:(0,t.jsx)(c.default,{html:e.a,className:"nova-faq-answer text-nova-body-sm text-nova-guide-light"})})})]},e.q)},B[56]=G,B[57]=q,B[58]=e):e=B[58],_=J.items.map(e),B[52]=J.items,B[53]=G,B[54]=q,B[55]=_}
1else _=B[55];return B[59]!==_?(R=(0,t.jsx)("div",{className:"flex flex-col",children:_}),B[59]=_,B[60]=R):R=B[60],B[61]!==P||B[62]!==R?(D=(0,t.jsxs)("div",{className:"border-nova-guide mt-8 flex flex-col gap-8 border-y bg-black px-6 py-8",children:[P,R]}),B[61]=P,B[62]=R,B[63]=D):D=B[63],B[64]===Symbol.for("react.memo_cache_sentinel")?(I=(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:`${r.CDN}/program/faq/callback-bg.f4e40658.webp`,alt:"",className:"pointer-events-none absolute inset-0 size-full object-cover"}),$=(0,t.jsx)("p",{className:"font-nova-display leading-nova-display relative max-w-72 text-[32px] font-semibold",children:"Still got doubts about this program?"}),B[64]=I,B[65]=$):(I=B[64],$=B[65]),B[66]===Symbol.for("react.memo_cache_sentinel")?(L=(0,t.jsxs)("div",{className:"relative flex flex-col items-start gap-4 overflow-hidden px-8 py-10",children:[I,$,(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)(o.default,{action:"counsellor",widthClass:"w-60.5",borderClass:"border-white/10",children:"Talk to our counsellor"})})]}),B[66]=L):L=B[66],B[67]!==C||B[68]!==D?(V=(0,t.jsxs)("div",{className:"nova-desktop:hidden",children:[C,D,L]}),B[67]=C,B[68]=D,B[69]=V):V=B[69],B[70]!==M||B[71]!==V?(F=(0,t.jsxs)("section",{className:"bg-nova-bg",children:[M,V]}),B[70]=M,B[71]=V,B[72]=F):F=B[72],F}],924278)},502852,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(3485),s=e.i(568535),a=e.i(100158);function r(e){let t=navigator;return matchMedia(e).matches||!!t.connection?.saveData||/2g|3g/.test(t.connection?.effectiveType??"")||(t.deviceMemory??8)<4||(t.hardwareConcurrency??8)<4}let o=`(function(v){if(!v||(${r})(${JSON.stringify(a.REDUCED_MOTION_QUERY)}))return;v.addEventListener("playing",function(){v.style.opacity="1";var p=v.previousElementSibling;if(p&&p.tagName==="PICTURE")p.style.display="none"},{once:true});v.play().catch(function(){})})(document.currentScript.previousElementSibling)`,l='video/mp4; codecs="av01.0.08M.08"';function c(){}e.s(["default",0,function(e){let d,u,h,m,p,f,g,v,x,y,b,w,j=(0,i.c)(32),{video:N,className:k}=e,{desktop:S,mobile:T}=N,E=(0,n.useRef)(null),[M,C]=(0,n.useState)(!1);j[0]===Symbol.for("react.memo_cache_sentinel")?(d=()=>{let e=E.current;if(e){if(!e.paused&&e.readyState>=HTMLMediaElement.HAVE_FUTURE_DATA)return void C(!0);e.paused&&!r(a.REDUCED_MOTION_QUERY)&&e.play().catch(c)}},u=[],j[0]=d,j[1]=u):(d=j[0],u=j[1]),(0,n.useEffect)(d,u),j[2]!==k||j[3]!==S.poster||j[4]!==T.media||j[5]!==T.poster||j[6]!==M?(h=!M&&(0,t.jsxs)("picture",{suppressHydrationWarning:!0,className:"contents",children:[(0,t.jsx)("source",{media:T.media,srcSet:T.poster}),(0,t.jsx)("img",{src:S.poster,alt:"","aria-hidden":!0,fetchPriority:"high",className:k})]}),j[2]=k,j[3]=S.poster,j[4]=T.media,j[5]=T.poster,j[6]=M,j[7]=h):h=j[7];let A=!M&&"opacity-0";return j[8]!==k||j[9]!==A?(m=(0,s.default)(k,A),j[8]=k,j[9]=A,j[10]=m):m=j[10],j[11]===Symbol.for("react.memo_cache_sentinel")?(p=()=>C(!0),j[11]=p):p=j[11],j[12]!==T.av1||j[13]!==T.media?(f=(0,t.jsx)("source",{media:T.media,src:T.av1,type:l}),j[12]=T.av1,j[13]=T.media,j[14]=f):f=j[14],j[15]!==T.h264||j[16]!==T.media?(g=(0,t.jsx)("source",{media:T.media,src:T.h264,type:"video/mp4"}),j[15]=T.h264,j[16]=T.media,j[17]=g):g=j[17],j[18]!==S.av1?(v=(0,t.jsx)("source",{src:S.av1,type:l}),j[18]=S.av1,j[19]=v):v=j[19],j[20]!==S.h264?(x=(0,t.jsx)("source",{src:S.h264,type:"video/mp4"}),j[20]=S.h264,j[21]=x):x=j[21],j[22]!==x||j[23]!==m||j[24]!==f||j[25]!==g||j[26]!==v?(y=(0,t.jsxs)("video",{ref:E,suppressHydrationWarning:!0,"aria-hidden":!0,className:m,loop:!0,muted:!0,playsInline:!0,preload:"none",onPlaying:p,children:[f,g,v,x]}),j[22]=x,j[23]=m,j[24]=f,j[25]=g,j[26]=v,j[27]=y):y=j[27],j[28]===Symbol.for("react.memo_cache_sentinel")?(b=(0,t.jsx)("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:o}}),j[28]=b):b=j[28],j[29]!==y||j[30]!==h?(w=(0,t.jsxs)(t.Fragment,{children:[h,y,b]}),j[29]=y,j[30]=h,j[31]=w):w=j[31],w}],502852)},143595,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(198890);n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN,n.CDN;let s={name:"Ben George",role:"Design Director @",company:{name:"Plum",src:`${n.CDN}/program/mentor/plum.e9c61b83.svg`,grayscale:!0},photo:`${n.CDN}/program/mentor/portrait.e7795d3d.webp`,line1:"After a decade in the craft, I've learned that tools change but taste is what endures, and that's what I want to pass on.",line2:"The field is evolving faster than ever. The edge now isn't knowing more, it's refining your taste and evolving fast enough to keep up.",years:"10+ years of experience includes:",experience:[{name:"Shopify",src:`${n.CDN}/program/mentor/shopify.9227e78b.webp`,grayscale:!0},{name:"Trade Republic",src:`${n.CDN}/program/mentor/traderepublic.d1361917.svg`,grayscale:!0},{name:"ReferralCandy",src:`${n.CDN}/program/mentor/referralcandy.fea7eeae.svg`,grayscale:!0}],linkedin:""};var a=e.i(568535),r=e.i(516365);function o(e){let n,s,r=(0,i.c)(13),{logo:o,h:l,small:c}=e;if(!o.src){let e,i,n=void 0!==c&&c?"text-[9px]":"text-[12px]";return r[0]!==n?(e=(0,a.default)("border-nova-guide font-nova-sans text-nova-grey-9f border px-2 leading-[2] tracking-[0.08em] whitespace-nowrap uppercase",n),r[0]=n,r[1]=e):e=r[1],r[2]!==o.name||r[3]!==e?(i=(0,t.jsx)("span",{className:e,children:o.name}),r[2]=o.name,r[3]=e,r[4]=i):i=r[4],i}let d=o.h??(void 0===l?24:l)*(o.scale??1),u=o.scale?"none":void 0,h=o.invert?"grayscale(1) invert(1)":o.grayscale?"grayscale(1)":void 0;return r[5]!==d||r[6]!==u||r[7]!==h?(n={height:d,maxWidth:u,filter:h},r[5]=d,r[6]=u,r[7]=h,r[8]=n):n=r[8],r[9]!==o.name||r[10]!==o.src||r[11]!==n?(s=(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:o.src,alt:o.name,style:n,className:"w-auto max-w-30 object-contain"}),r[9]=o.name,r[10]=o.src,r[11]=n,r[12]=s):s=r[12],s}function l(e){let n,s,r,l,c,d,u=(0,i.c)(19),{mentor:h,h:m,small:p,className:f}=e,g=void 0!==p&&p;if(u[0]!==h.role){let e;u[2]===Symbol.for("react.memo_cache_sentinel")?(e=/\s*@$/,u[2]=e):e=u[2],n=h.role.replace(e,""),u[0]=h.role,u[1]=n}else n=u[1];let v=g?"gap-1":"gap-2";return u[3]!==v?(s=(0,a.default)("inline-flex items-center align-middle whitespace-nowrap",v),u[3]=v,u[4]=s):s=u[4],u[5]!==m?(r={height:m},u[5]=m,u[6]=r):r=u[6],u[7]!==m||u[8]!==h.company||u[9]!==g?(l=(0,t.jsx)(o,{logo:h.company,h:m,small:g}),u[7]=m,u[8]=h.company,u[9]=g,u[10]=l):l=u[10],u[11]!==s||u[12]!==r||u[13]!==l?(c=(0,t.jsxs)("span",{className:s,style:r,children:["@",l]}),u[11]=s,u[12]=r,u[13]=l,u[14]=c):c=u[14],u[15]!==f||u[16]!==n||u[17]!==c?(d=(0,t.jsxs)("p",{className:f,children:[n," ",c]}),u[15]=f,u[16]=n,u[17]=c,u[18]=d):d=u[18],d}function c(e){return(0,t.jsx)(o,{logo:e},e.name)}e.s(["LogoMark",0,o,"RoleLine",0,l,"default",0,function(e){let n,a,o,d,u,h,m,p,f,g,v,x,y,b,w,j,N,k,S=(0,i.c)(46);S[0]!==e?(n=void 0===e?{}:e,S[0]=e,S[1]=n):n=S[1];let{mentor:T,active:E,width:M}=n,C=void 0!==E&&E,A=void 0===M?929:M,P=void 0===T?s:T,_=Math.min(419,A-508);return S[2]!==A?(a={width:A},S[2]=A,S[3]=a):a=S[3],S[4]!==C?(o=C&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"aria-hidden":!0,
1className:"mentor-ring pointer-events-none absolute -inset-px z-20 p-px"}),(0,t.jsx)("style",{children:` 2 @property --mentor-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; } 3 @keyframes mentor-spin { to { --mentor-angle: 360deg; } } 4 .mentor-ring { 5 background: conic-gradient(from var(--mentor-angle), #333333 0deg, #333333 145deg, #525252 180deg, #333333 215deg, #333333 360deg); 6 -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); 7 mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); 8 -webkit-mask-composite: xor; 9 mask-composite: exclude; 10 animation: mentor-spin 4.8s ${r.EASE_IN_OUT_STRONG} infinite; 11 } 12 @media (prefers-reduced-motion: reduce) { .mentor-ring { animation: none; } } 13 `})]}),S[4]=C,S[5]=o):o=S[5],S[6]!==_?(d={width:_},S[6]=_,S[7]=d):d=S[7],S[8]!==P.name||S[9]!==P.photo?(u=(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:P.photo,alt:P.name,className:"absolute inset-0 size-full object-cover object-top grayscale"}),S[8]=P.name,S[9]=P.photo,S[10]=u):u=S[10],S[11]!==d||S[12]!==u?(h=(0,t.jsx)("div",{className:"relative h-122 shrink-0 overflow-hidden",style:d,children:u}),S[11]=d,S[12]=u,S[13]=h):h=S[13],S[14]!==P.name?(m=(0,t.jsx)("p",{className:"font-nova-display leading-nova-display text-[32px]",children:P.name}),S[14]=P.name,S[15]=m):m=S[15],S[16]!==P?(p=(0,t.jsx)(l,{mentor:P,h:24,className:"leading-nova-body text-nova-grey-ee text-[18px] font-medium"}),S[16]=P,S[17]=p):p=S[17],S[18]!==m||S[19]!==p?(f=(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[m,p]}),S[18]=m,S[19]=p,S[20]=f):f=S[20],S[21]!==P.line1?(g=(0,t.jsx)("p",{className:"leading-nova-body text-nova-grey-9f",children:P.line1}),S[21]=P.line1,S[22]=g):g=S[22],S[23]!==P.line2?(v=(0,t.jsx)("p",{className:"leading-nova-body text-nova-guide-light font-medium",children:P.line2}),S[23]=P.line2,S[24]=v):v=S[24],S[25]!==g||S[26]!==v?(x=(0,t.jsxs)("div",{className:"tracking-nova-body flex flex-col gap-4 text-[16px]",children:[g,v]}),S[25]=g,S[26]=v,S[27]=x):x=S[27],S[28]!==f||S[29]!==x?(y=(0,t.jsxs)("div",{className:"flex flex-col gap-8",children:[f,x]}),S[28]=f,S[29]=x,S[30]=y):y=S[30],S[31]!==P.years?(b=(0,t.jsx)("p",{className:"text-nova-body text-nova-grey-7a",children:P.years}),S[31]=P.years,S[32]=b):b=S[32],S[33]!==P.experience?(w=P.experience.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-6",children:P.experience.map(c)}),S[33]=P.experience,S[34]=w):w=S[34],S[35]!==b||S[36]!==w?(j=(0,t.jsxs)("div",{className:"flex w-108.5 flex-col gap-4",children:[b,w]}),S[35]=b,S[36]=w,S[37]=j):j=S[37],S[38]!==y||S[39]!==j?(N=(0,t.jsxs)("div",{className:"flex w-115.5 shrink-0 flex-col gap-12 pl-8",children:[y,j]}),S[38]=y,S[39]=j,S[40]=N):N=S[40],S[41]!==N||S[42]!==a||S[43]!==o||S[44]!==h?(k=(0,t.jsxs)("article",{className:"border-nova-guide bg-nova-bg relative flex items-center border pr-12",style:a,children:[o,h,N]}),S[41]=N,S[42]=a,S[43]=o,S[44]=h,S[45]=k):k=S[45],k}],143595)},23799,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(3485),s=e.i(143595),a=e.i(568535);function r(e){let n,s,r,o,l,c,d=(0,i.c)(18),{side:u,width:h}=e,m=void 0===h?200:h,p="left"===u?"right":"left";d[0]!==m?(n={width:m},d[0]=m,d[1]=n):n=d[1];let f="left"===u?"left-0":"right-0";d[2]!==f?(s=(0,a.default)("pointer-events-none absolute inset-y-0 z-10",f),d[2]=f,d[3]=s):s=d[3];let g=`linear-gradient(to ${p}, #000, transparent)`,v=`linear-gradient(to ${p}, #000, transparent)`;d[4]!==g||d[5]!==v?(r=(0,t.jsx)("div",{className:"absolute inset-0",style:{backdropFilter:"blur(3px)",WebkitBackdropFilter:"blur(3px)",maskImage:g,WebkitMaskImage:v}}),d[4]=g,d[5]=v,d[6]=r):r=d[6];let x=`linear-gradient(to ${p}, #000 0%, #000 18%, transparent 55%)`,y=`linear-gradient(to ${p}, #000 0%, #000 18%, transparent 55%)`;d[7]!==x||d[8]!==y?(o=(0,t.jsx)("div",{className:"absolute inset-0",style:{backdropFilter:"blur(14px)",WebkitBackdropFilter:"blur(14px)",maskImage:x,WebkitMaskImage:y}}),d[7]=x,d[8]=y,d[9]=o):o=d[9];let b=`linear-gradient(to ${p}, #000 0%, rgba(0,0,0,0.6) 38%, rgba(0,0,0,0) 80%)`;return d[10]!==b?(l=(0,t.jsx)("div",{className:"absolute inset-0",style:{background:b}}),d[10]=b,d[11]=l):l=d[11],d[12]!==o||d[13]!==l||d[14]!==n||d[15]!==s||d[16]!==r?(c=(0,t.jsxs)("div",{"aria-hidden":!0,style:n,className:s,children:[r,o,l]}),d[12]=o,d[13]=l,d[14]=n,d[15]=s,d[16]=r,d[17]=c):c=d[17],c}var o=e.i(516365),l=e.i(100158),c=e.i(821113),d=e.i(995105),u=e.i(646975);function h(e){return e+1}function m(e){return e-1}function p(e){return e+1}function f(e){return e+1}e.s(["default",0,function(e){let a,g,v,x,y,b,w,j,N,k,S,T,E,M,C,A,P=(0,i.c)(40),{showArrows:_,mentors:R}
13=e,D=void 0!==_&&_,I=R.length,$=3*I,[L,V]=(0,n.useState)(I),[F,B]=(0,n.useState)(!0),[O,z]=(0,n.useState)(!1),U=(0,n.useRef)(3e3),W=(0,n.useRef)(null),q=(0,c.useInView)(W,u.IN_VIEW),[H,X]=(0,n.useState)(null);P[0]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{let e=W.current;if(!e)return;let t=-1,i=()=>{let i=Math.round(e.clientWidth);0!==i&&i!==t&&(t=i,B(!1),X(i),requestAnimationFrame(()=>requestAnimationFrame(()=>B(!0))))};i();let n=new ResizeObserver(i);return n.observe(e),()=>n.disconnect()},g=[],P[0]=a,P[1]=g):(a=P[0],g=P[1]),(0,n.useEffect)(a,g);let G=null===H?929:Math.min(929,H-120),Y=Math.round(G/2+16+.8*G/2),K=null===H?100:Math.min(100,Math.floor((H-G)/2));P[2]!==q||P[3]!==O?(v=()=>{let e;if((0,l.prefersReducedMotion)())return;if(O){U.current=1e3;return}if(!q)return;let t=setTimeout(()=>{V(f),e=setInterval(()=>V(p),3e3)},U.current);return U.current=3e3,()=>{clearTimeout(t),clearInterval(e)}},x=[O,q],P[2]=q,P[3]=O,P[4]=v,P[5]=x):(v=P[4],x=P[5]),(0,n.useEffect)(v,x),P[6]!==I||P[7]!==L||P[8]!==I?(y=()=>{if(L>=I&&L<I+I)return;let e=setTimeout(()=>{B(!1),V(e=>e>=I+I?e-I:e+I),requestAnimationFrame(()=>requestAnimationFrame(()=>B(!0)))},933);return()=>clearTimeout(e)},b=[L,I,I],P[6]=I,P[7]=L,P[8]=I,P[9]=y,P[10]=b):(y=P[9],b=P[10]),(0,n.useEffect)(y,b),P[11]===Symbol.for("react.memo_cache_sentinel")?(w=()=>z(!0),j=()=>z(!1),P[11]=w,P[12]=j):(w=P[11],j=P[12]);let J=`translateX(${-L*Y}px)`,Z=F?`transform 933ms ${o.EASE_IN_OUT_STRONG}`:"none";return P[13]!==J||P[14]!==Z?(N={transform:J,transition:Z},P[13]=J,P[14]=Z,P[15]=N):N=P[15],P[16]!==$?(k=Array.from({length:$}),P[16]=$,P[17]=k):k=P[17],P[18]!==F||P[19]!==L||P[20]!==G||P[21]!==R||P[22]!==O||P[23]!==Y||P[24]!==k||P[25]!==I?(S=k.map((e,i)=>{let n=i===L;return(0,t.jsx)("div",{"aria-hidden":!n,className:"absolute top-1/2",style:{left:i*Y,transform:`translate(-50%, -50%) scale(${n?1:.8})`,opacity:n?1:.6,transition:F?`transform 933ms ${o.EASE_IN_OUT_STRONG}, opacity 933ms ${o.EASE_IN_OUT_STRONG}`:"none"},children:(0,t.jsx)(s.default,{mentor:R[i%I],active:n&&O,width:G})},i)}),P[18]=F,P[19]=L,P[20]=G,P[21]=R,P[22]=O,P[23]=Y,P[24]=k,P[25]=I,P[26]=S):S=P[26],P[27]!==N||P[28]!==S?(T=(0,t.jsx)("div",{className:"absolute top-0 left-1/2 h-full",style:N,children:S}),P[27]=N,P[28]=S,P[29]=T):T=P[29],P[30]!==K?(E=(0,t.jsx)(r,{side:"left",width:K}),M=(0,t.jsx)(r,{side:"right",width:K}),P[30]=K,P[31]=E,P[32]=M):(E=P[31],M=P[32]),P[33]!==D?(C=D&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.IconButton,{label:"Previous mentor",tone:"translucent",asChild:!0,className:"absolute top-1/2 left-8 z-30 -translate-y-1/2 backdrop-blur-sm",children:(0,t.jsx)("button",{type:"button",onClick:()=>V(m),children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,className:"size-4.5",children:(0,t.jsx)("path",{d:"M15 18l-6-6 6-6"})})})}),(0,t.jsx)(d.IconButton,{label:"Next mentor",tone:"translucent",asChild:!0,className:"absolute top-1/2 right-8 z-30 -translate-y-1/2 backdrop-blur-sm",children:(0,t.jsx)("button",{type:"button",onClick:()=>V(h),children:(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,className:"size-4.5",children:(0,t.jsx)("path",{d:"M9 18l6-6-6-6"})})})})]}),P[33]=D,P[34]=C):C=P[34],P[35]!==T||P[36]!==E||P[37]!==M||P[38]!==C?(A=(0,t.jsxs)("div",{ref:W,className:"relative h-134 w-full overflow-hidden",onMouseEnter:w,onMouseLeave:j,children:[T,E,M,C]}),P[35]=T,P[36]=E,P[37]=M,P[38]=C,P[39]=A):A=P[39],A}],23799)},12207,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(3485),s=e.i(143595);function a(e){let n,a,o,l,c,d,u,h,m,p,f,g=(0,i.c)(27),{mentor:v}=e;return g[0]!==v.name||g[1]!==v.photo?(n=(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:v.photo,alt:v.name,className:"absolute inset-0 size-full object-cover object-top grayscale"}),g[0]=v.name,g[1]=v.photo,g[2]=n):n=g[2],g[3]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)("div",{className:"absolute inset-0",style:{backgroundImage:"linear-gradient(217.69deg, rgba(0,0,0,0) 68.648%, rgb(0,0,0) 89.551%), linear-gradient(127.09deg, rgba(0,0,0,0) 60.425%, rgb(0,0,0) 90.147%)"}}),g[3]=a):a=g[3],g[4]!==n?(o=(0,t.jsxs)("div",{className:"absolute -top-1 left-8.5 h-77 w-65 overflow-hidden",children:[n,a]}),g[4]=n,g[5]=o):o=g[5],g[6]!==v.name?(l=(0,t.jsx)("p",{className:"font-nova-display leading-nova-display text-[22px]",children:v.name}),g[6]=v.name,g[7]=l):l=g[7],g[8]!==v?(c=(0,t.jsx)(s.RoleLine,{mentor:v,h:17,small:!0,className:"leading-nova-body text-nova-grey-ee text-[13.154px] font-medium"}),g[8]=v,g[9]=c):c=g[9],g[10]!==l||g[11]!==c?(d=(0,t.jsxs)("div",{className:"relative flex flex-col gap-1",children:[l,c]}),g[10]=l,g[11]=c,g[12]=d):d=g[12],g[13]!==v.line1?(u=(0,t.jsx)("p",{className:"text-nova-body-sm text-nova-guide-light mt-6 line-clamp-4 font-medium",children:v.line1}),g[13]=v.line1,g[14]=u):u=g[14],g[15]!==v.years?(h=(0,t.jsx)("p",{className:"text-nova-body-sm text-nova-grey-7a",children:v.years}),g[15]=v.years,g[16]=h):h=g[16],g[17]!==v.experience?(m=v.experience.length>0&&(0,t.jsx)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1.5",children:v.experience.map(r)}),g[17]=v.experience,g[18]=m):m=g[18],g[19]!==h||g[20]!==m?(p=(0,t.jsxs)("div",{className:"mt-auto flex flex-col gap-2 pt-2.5",children:[h,m]}),g[19]=h,g[20]=m,g[21]=p):p=g[21],g[22]!==p||g[23]!==o||g[24]!==d||g[25]!==u?(f=(0,t.jsxs)("div",{className:"border-nova-guide relative flex h-135
13w-82 flex-col border bg-black px-5 pt-71.5 pb-5",children:[o,d,u,p]}),g[22]=p,g[23]=o,g[24]=d,g[25]=u,g[26]=f):f=g[26],f}function r(e){return(0,t.jsx)(s.LogoMark,{logo:e,h:16,small:!0},e.name)}var o=e.i(516365),l=e.i(100158),c=e.i(821113),d=e.i(995105),u=e.i(646975);function h(e){return e+1}function m(e){return e+1}e.s(["default",0,function(e){let s,r,p,f,g,v,x,y,b,w,j,N,k,S,T,E,M,C=(0,i.c)(39),{mentors:A,autoplay:P,showArrows:_}=e,R=void 0!==P&&P,D=void 0===_||_,I=A.length,$=3*I,[L,V]=(0,n.useState)(I),[F,B]=(0,n.useState)(!0),[O,z]=(0,n.useState)(!1),U=(0,n.useRef)(3e3),W=(0,n.useRef)(null),q=(0,c.useInView)(W,u.IN_VIEW),H=(0,n.useRef)(null);C[0]===Symbol.for("react.memo_cache_sentinel")?(s=e=>{B(!(0,l.prefersReducedMotion)()),V(t=>t+e)},C[0]=s):s=C[0];let X=s;C[1]!==R||C[2]!==q||C[3]!==O?(r=()=>{let e;if(!R||(0,l.prefersReducedMotion)())return;if(O){U.current=1e3;return}if(!q)return;let t=setTimeout(()=>{V(m),e=setInterval(()=>V(h),3e3)},U.current);return U.current=3e3,()=>{clearTimeout(t),clearInterval(e)}},p=[R,O,q],C[1]=R,C[2]=q,C[3]=O,C[4]=r,C[5]=p):(r=C[4],p=C[5]),(0,n.useEffect)(r,p),C[6]!==I||C[7]!==L||C[8]!==I?(f=()=>{if(L>=I&&L<I+I)return;let e=setTimeout(()=>{B(!1),V(e=>e>=I+I?e-I:e+I),requestAnimationFrame(()=>requestAnimationFrame(()=>B(!0)))},933*!(0,l.prefersReducedMotion)());return()=>clearTimeout(e)},g=[L,I,I],C[6]=I,C[7]=L,C[8]=I,C[9]=f,C[10]=g):(f=C[9],g=C[10]),(0,n.useEffect)(f,g),C[11]===Symbol.for("react.memo_cache_sentinel")?(v=e=>{H.current=e.touches[0].clientX},C[11]=v):v=C[11];let G=v;C[12]===Symbol.for("react.memo_cache_sentinel")?(x=e=>{if(null===H.current)return;let t=e.changedTouches[0].clientX-H.current;H.current=null,t<=-40?X(1):t>=40&&X(-1)},C[12]=x):x=C[12];let Y=x;C[13]===Symbol.for("react.memo_cache_sentinel")?(y=()=>z(!0),b=()=>z(!1),C[13]=y,C[14]=b):(y=C[13],b=C[14]),C[15]!==A[0]?(w=(0,t.jsx)("div",{"aria-hidden":!0,className:"invisible flex justify-center py-4",children:(0,t.jsx)(a,{mentor:A[0]})}),C[15]=A[0],C[16]=w):w=C[16];let K=`translateX(${-(312*L)}px)`,J=F?`transform 933ms ${o.EASE_IN_OUT_STRONG}`:"none";return C[17]!==K||C[18]!==J?(j={transform:K,transition:J},C[17]=K,C[18]=J,C[19]=j):j=C[19],C[20]!==$?(N=Array.from({length:$}),C[20]=$,C[21]=N):N=C[21],C[22]!==F||C[23]!==L||C[24]!==A||C[25]!==N||C[26]!==I?(k=N.map((e,i)=>{let n=i===L;return(0,t.jsx)("div",{"aria-hidden":!n,className:"absolute top-1/2",style:{left:312*i,transform:`translate(-50%, -50%) scale(${n?1:.8})`,opacity:n?1:.6,transition:F?`transform 933ms ${o.EASE_IN_OUT_STRONG}, opacity 933ms ${o.EASE_IN_OUT_STRONG}`:"none"},children:(0,t.jsx)(a,{mentor:A[i%I]})},i)}),C[22]=F,C[23]=L,C[24]=A,C[25]=N,C[26]=I,C[27]=k):k=C[27],C[28]!==j||C[29]!==k?(S=(0,t.jsx)("div",{className:"absolute top-0 left-1/2 h-full",style:j,children:k}),C[28]=j,C[29]=k,C[30]=S):S=C[30],C[31]!==w||C[32]!==S?(T=(0,t.jsxs)("div",{className:"relative w-full touch-pan-y overflow-hidden",onMouseEnter:y,onMouseLeave:b,onTouchStart:G,onTouchEnd:Y,children:[w,S]}),C[31]=w,C[32]=S,C[33]=T):T=C[33],C[34]!==D?(E=D&&(0,t.jsxs)("div",{className:"flex items-center gap-6",children:[(0,t.jsx)(d.IconButton,{label:"Previous mentor",tone:"bare",asChild:!0,children:(0,t.jsx)("button",{type:"button",onClick:()=>X(-1),children:(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:"/images/nova/program/mentor/arrow.svg",alt:"","aria-hidden":!0,className:"size-5 rotate-180"})})}),(0,t.jsx)(d.IconButton,{label:"Next mentor",tone:"bare",asChild:!0,children:(0,t.jsx)("button",{type:"button",onClick:()=>X(1),children:(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:"/images/nova/program/mentor/arrow.svg",alt:"","aria-hidden":!0,className:"size-5"})})})]}),C[34]=D,C[35]=E):E=C[35],C[36]!==T||C[37]!==E?(M=(0,t.jsxs)("div",{ref:W,className:"flex w-full flex-col items-center gap-8",children:[T,E]}),C[36]=T,C[37]=E,C[38]=M):M=C[38],M}],12207)},280841,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(3485),s=e.i(568535),a=e.i(181811),r=e.i(821113),o=e.i(100158),l=e.i(646975);function c(e){let s,a,c,u,h,m,p,f,g=(0,i.c)(27),{logos:v,orientation:x,slot:y,centreSquare:b,outerScale:w,intervalMs:j,stepMs:N}=e,k=void 0===y?88:y,S=void 0===b?82:b,T=void 0===w?.715:w,E=void 0===j?1900:j,M=void 0===N?550:N,C="horizontal"===(void 0===x?"vertical":x
13),A=v.length,P=(0,n.useRef)(null),_=(0,r.useInView)(P,l.IN_VIEW),[R,D]=(0,n.useState)(A),[I,$]=(0,n.useState)(!0);g[0]!==_||g[1]!==E?(s=()=>{if((0,o.prefersReducedMotion)()||!_)return;let e=setInterval(()=>D(d),E);return()=>clearInterval(e)},a=[E,_],g[0]=_,g[1]=E,g[2]=s,g[3]=a):(s=g[2],a=g[3]),(0,n.useEffect)(s,a),g[4]!==A||g[5]!==R||g[6]!==M?(u=()=>{if(R<2*A)return;let e=setTimeout(()=>{$(!1),D(e=>e-A),requestAnimationFrame(()=>requestAnimationFrame(()=>$(!0)))},M);return()=>clearTimeout(e)},c=[R,M,A],g[4]=A,g[5]=R,g[6]=M,g[7]=c,g[8]=u):(c=g[7],u=g[8]),(0,n.useEffect)(u,c);let L=-(R*k+k/2),V=I?`transform ${M}ms cubic-bezier(0.5,0,0.2,1)`:"none",F=C?"absolute inset-y-0 left-1/2 flex items-center":"absolute inset-x-0 top-1/2",B=C?`translateX(${L}px)`:`translateY(${L}px)`;return g[9]!==B||g[10]!==V?(h={transform:B,transition:V},g[9]=B,g[10]=V,g[11]=h):h=g[11],g[12]===Symbol.for("react.memo_cache_sentinel")?(m=[0,1,2],g[12]=m):m=g[12],g[13]!==A||g[14]!==I||g[15]!==S||g[16]!==R||g[17]!==C||g[18]!==v||g[19]!==T||g[20]!==k||g[21]!==M?(p=m.map(e=>v.map((i,n)=>{let s=e*A+n===R,a=i.padded?S/.7363:S;return(0,t.jsx)("div",{"aria-hidden":1!==e||void 0,className:"flex items-center justify-center",style:C?{width:k,height:"100%"}:{height:k},children:(0,t.jsx)("div",{style:{transform:`scale(${s?1:T})`,transition:I?`transform ${M}ms cubic-bezier(0.5,0,0.2,1)`:"none"},children:(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:i.src,alt:i.alt,className:"block max-w-none",style:{width:a,height:a}})})},`${e}-${i.src}`)})),g[13]=A,g[14]=I,g[15]=S,g[16]=R,g[17]=C,g[18]=v,g[19]=T,g[20]=k,g[21]=M,g[22]=p):p=g[22],g[23]!==F||g[24]!==h||g[25]!==p?(f=(0,t.jsx)("div",{ref:P,className:"pointer-events-none absolute inset-0",children:(0,t.jsx)("div",{className:F,style:h,children:p})}),g[23]=F,g[24]=h,g[25]=p,g[26]=f):f=g[26],f}function d(e){return e+1}function u(e){let a,c,d,u,h,m=(0,i.c)(17),{images:p,intervalMs:f,fadeMs:g,className:v}=e,x=void 0===f?3800:f,y=void 0===g?1100:g,b=void 0===v?"":v,w=(0,n.useRef)(null),j=(0,r.useInView)(w,l.IN_VIEW),[N,k]=(0,n.useState)(0);if(m[0]!==p.length||m[1]!==j||m[2]!==x?(a=()=>{if(p.length<2||(0,o.prefersReducedMotion)()||!j)return;let e=setInterval(()=>k(e=>(e+1)%p.length),x);return()=>clearInterval(e)},c=[p.length,x,j],m[0]=p.length,m[1]=j,m[2]=x,m[3]=a,m[4]=c):(a=m[3],c=m[4]),(0,n.useEffect)(a,c),m[5]!==b?(d=(0,s.default)("absolute inset-0",b),m[5]=b,m[6]=d):d=m[6],m[7]!==N||m[8]!==y||m[9]!==p){let e;m[11]!==N||m[12]!==y?(e=(e,i)=>(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:e,alt:"","aria-hidden":!0,className:"pointer-events-none absolute inset-0 size-full object-cover",style:{opacity:+(i===N),transition:`opacity ${y}ms ease-in-out`}},e+i),m[11]=N,m[12]=y,m[13]=e):e=m[13],u=p.map(e),m[7]=N,m[8]=y,m[9]=p,m[10]=u}else u=m[10];return m[14]!==d||m[15]!==u?(h=(0,t.jsx)("div",{ref:w,className:d,children:u}),m[14]=d,m[15]=u,m[16]=h):h=m[16],h}var h=e.i(198890);function m(e){let n,s,a,r=(0,i.c)(4),{small:o}=e,l=void 0!==o&&o;r[0]===Symbol.for("react.memo_cache_sentinel")?(n=[{rot:-6,x:8,y:14,label:"n8n workflow"},{rot:3,x:34,y:26,label:"Prompt template"},{rot:-2,x:20,y:44,label:"Cheat sheet"}],r[0]=n):n=r[0];let c=n;return r[1]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0 opacity-60",style:{backgroundImage:"radial-gradient(circle, #3a3a3a 1px, transparent 1.4px)",backgroundSize:"14px 14px"}}),r[1]=s):s=r[1],r[2]!==l?(a=(0,t.jsxs)("div",{className:"bg-nova-grey-11 relative size-full overflow-hidden",children:[s,c.map(e=>(0,t.jsx)("div",{className:"border-nova-grey-3a bg-nova-grey-1a absolute border shadow-[0_8px_24px_rgba(0,0,0,0.5)]",style:{left:`${e.x}%`,top:`${e.y}%`,width:l?150:176,height:l?96:118,transform:`rotate(${e.rot}deg)`},children:(0,t.jsxs)("div",{className:"flex h-full flex-col gap-2 p-3",children:[(0,t.jsx)("span",{className:"border-nova-purple-5d bg-nova-purple-5d/30 font-nova-sans text-nova-purple-cf w-fit border px-1.5 text-[9px] leading-[1.8] tracking-[0.08em] uppercase",children:e.label}),[70,90,55,80].map(p)]})},e.label))]}),r[2]=l,r[3]=a):a=r[3],a}function p(e,i){return(0,t.jsx)("span",{className:"bg-nova-guide block h-1",style:{width:`${e}%`}},i)}let f={w:312,h:369,pos:[{x:96,y:54},{x:214,y:100},{x:96,y:172},{x:214,y:218},{x:96,y:290},{x:214,y:336}]},g={w:324,h:232,pos:[{x:60,y:78},{x:162,y:78},{x:264,y:78},{x:264,y:158},{x:162,y:158},{x:60,y:158}]};function v(e){let n,s,a,r,o,l,c,d,u,h,m,p=(0,i.c)(31),{label:f,scale:g}=e,v=void 0===g?1:g;p[0]!==v?(n=e=>e*v,p[0]=v,p[1]=n):n=p[1];let x=n,y=x(68),b=x(40),w=x(7.5),j=x(7.5);p[2]!==y||p[3]!==b||p[4]!==w||p[5]!==j?(s={width:y,height:b,borderTopLeftRadius:w,borderTopRightRadius:j},p[2]=y,p[3]=b,p[4]=w,p[5]=j,p[6]=s):s=p[6];let N=x(11),k=x(5),S=x(2);p[7]!==S||p[8]!==N||p[9]!==k?(a={height:N,paddingLeft:k,gap:S},p[7]=S,p[8]=N,p[9]=k,p[10]=a):a=p[10],p[11]===Symbol.for("react.memo_cache_sentinel")?(r=[0,1,2],p[11]=r):r=p[11],p[12]!==x?(o=r.map(e=>(0,t.jsx)("span",{className:"rounded-full bg-black/25",style:{width:x(3.7),height:x(3.7)}},e)),p[12]=x,p[13]=o):o=p[13],p[14]!==a||p[15]!==o?(l=(0,t.jsx)("div",{className:"bg-nova-grey-ec flex shrink-0 items-center",style:a,children:o}),p[14]=a,p[15]=o,p[16]=l):l=p[16];let T=x(6);p[17]!==T?(c={paddingInline:T},p[17]=T,p[18]=c):c=p[18];let E=x(12);return p[19]!==E?(d={fontSize:E},p[19]=E,p[20]=d):d=p[20],p[21]!==f||p[22]!==d?(u=(0,t.jsx)("p",{className:"font-nova-display-tight leading-none whitespace-nowrap text-black",style:d,children:f}),p[21]=f,p[22]=d,p[23]=u):u=p[23],p[24]!==c||p[25]!==u?(h=(0,t.jsx)("div",{className:"flex flex-1 items-center justify-center",style:c,children:u}),p[24]=c,p[25]=u,p[26]=h):h=p[26],p[27]!==l||p[28]!==h||p[29]!==s?(m=(0,t.jsxs)("div",{className:"relative flex flex-col overflow-hidden border-x-[0.5px] border-t-[0.5px] border-black/15 bg-white",style:s,children:[l,h]}),p[27]=l,p[28]=h,p[29]=s,p[30]=m):m=p[30],m}function x(e){let n,s,a,r,o,l,c,d,u,m,p,x,y=(0,i.c)(39),{steps:b,small:w}=e,j=void 0!==w&&w,N=j?g:f;if(y[0]!==N.h||y[1]!==N.pos||y[2]!==N.w||y[3]!==j||y[4]!==b){let e;y[14]!==N.pos?(e=(e,t)=>N.pos[t%N.pos.length],y[14]=N.pos,y[15]=e):e=y[15],n=b.map(e);let i=34*(u=j?1.05:1.25),m=20*u;c="relative size-full overflow-hidden bg-black",y[16]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("video",{src:`${h.CDN}/genai/perks/marketing-flow.6ede4fb9.mp4`,autoPlay:!0,muted:!0,loop:!0,playsInl
13ine:!0,"aria-hidden":!0,className:"pointer-events-none absolute inset-0 z-10 size-full object-cover [filter:brightness(1.6)_saturate(1.1)]"}),y[16]=d):d=y[16],s=!0,a="absolute inset-0 z-20 size-full",r=`0 0 ${N.w} ${N.h}`,o="none",l=n.slice(0,-1).map((e,s)=>(function(e,i,n,s,a){let r,o,l,c,d=8>Math.abs(i.y-e.y),u=8>Math.abs(i.x-e.x);if(d){let t=Math.sign(i.x-e.x);r=[[e.x+s*t,e.y],[i.x-s*t,i.y]],[o,l]=r[1],c=t>0?"right":"left"}else if(u){let t=Math.sign(i.y-e.y);r=[[e.x,e.y+a*t],[i.x,i.y-a*t]],[o,l]=r[1],c=t>0?"down":"up"}else{let t=Math.sign(i.x-e.x),n=Math.sign(i.y-e.y);r=[[e.x+s*t,e.y],[i.x,e.y],[i.x,i.y-a*n]],[o,l]=r[2],c=n>0?"down":"up"}let h="down"===c?`${o-3.5},${l-5} ${o+3.5},${l-5} ${o},${l}`:"up"===c?`${o-3.5},${l+5} ${o+3.5},${l+5} ${o},${l}`:"right"===c?`${o-5},${l-3.5} ${o-5},${l+3.5} ${o},${l}`:`${o+5},${l-3.5} ${o+5},${l+3.5} ${o},${l}`;return(0,t.jsxs)("g",{children:[(0,t.jsx)("polyline",{points:r.map(([e,t])=>`${e},${t}`).join(" "),fill:"none",stroke:"rgba(255,255,255,0.5)",strokeWidth:"1.3"}),(0,t.jsx)("polygon",{points:h,fill:"rgba(255,255,255,0.75)"})]},n)})(e,n[s+1],`c${s}`,i,m)),y[0]=N.h,y[1]=N.pos,y[2]=N.w,y[3]=j,y[4]=b,y[5]=n,y[6]=s,y[7]=a,y[8]=r,y[9]=o,y[10]=l,y[11]=c,y[12]=d,y[13]=u}else n=y[5],s=y[6],a=y[7],r=y[8],o=y[9],l=y[10],c=y[11],d=y[12],u=y[13];if(y[17]!==s||y[18]!==a||y[19]!==r||y[20]!==o||y[21]!==l?(m=(0,t.jsx)("svg",{"aria-hidden":s,className:a,viewBox:r,preserveAspectRatio:o,children:l}),y[17]=s,y[18]=a,y[19]=r,y[20]=o,y[21]=l,y[22]=m):m=y[22],y[23]!==N.h||y[24]!==N.w||y[25]!==n||y[26]!==b||y[27]!==u){let e;y[29]!==N.h||y[30]!==N.w||y[31]!==n||y[32]!==u?(e=(e,i)=>(0,t.jsx)("div",{className:"absolute z-30 -translate-x-1/2 -translate-y-1/2",style:{left:`${n[i].x/N.w*100}%`,top:`${n[i].y/N.h*100}%`},children:(0,t.jsx)(v,{label:e,scale:u})},e),y[29]=N.h,y[30]=N.w,y[31]=n,y[32]=u,y[33]=e):e=y[33],p=b.map(e),y[23]=N.h,y[24]=N.w,y[25]=n,y[26]=b,y[27]=u,y[28]=p}else p=y[28];return y[34]!==p||y[35]!==c||y[36]!==d||y[37]!==m?(x=(0,t.jsxs)("div",{className:c,children:[d,m,p]}),y[34]=p,y[35]=c,y[36]=d,y[37]=m,y[38]=x):x=y[38],x}function y(e){let n,s=(0,i.c)(20),{panel:a,small:r}=e,o=void 0!==r&&r;if("reel"in a){let e,i,n,r=o?"pointer-events-none absolute inset-0 size-full object-cover [filter:saturate(0.85)]":"pointer-events-none absolute -top-51.5 -left-34 h-195 w-146 max-w-none object-cover [filter:saturate(0.85)]";return s[0]!==r?(e=(0,t.jsx)("video",{src:`${h.CDN}/program-perks/burst.942b166e.mp4`,poster:`${h.CDN}/program-perks/burst-poster.c08935fe.jpg`,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,"aria-hidden":!0,className:r}),s[0]=r,s[1]=e):e=s[1],s[2]!==a.reel||s[3]!==o?(i=o?(0,t.jsx)(c,{logos:a.reel,orientation:"horizontal",slot:106,centreSquare:112,outerScale:.58}):(0,t.jsx)(c,{logos:a.reel}),s[2]=a.reel,s[3]=o,s[4]=i):i=s[4],s[5]!==e||s[6]!==i?(n=(0,t.jsxs)(t.Fragment,{children:[e,i]}),s[5]=e,s[6]=i,s[7]=n):n=s[7],n}if("slides"in a){let e;return s[8]!==a.slides?(e=(0,t.jsx)(u,{images:a.slides}),s[8]=a.slides,s[9]=e):e=s[9],e}if("flow"in a){let e;return s[10]!==a.flow||s[11]!==o?(e=(0,t.jsx)(x,{steps:a.flow,small:o}),s[10]=a.flow,s[11]=o,s[12]=e):e=s[12],e}if("video"in a){let e;return s[13]!==a.video?(e=(0,t.jsx)(b,{src:a.video}),s[13]=a.video,s[14]=e):e=s[14],e}if("image"in a){let e;return s[15]!==a.alt||s[16]!==a.image?(e=(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:a.image,alt:a.alt,className:"absolute inset-0 size-full object-cover"}),s[15]=a.alt,s[16]=a.image,s[17]=e):e=s[17],e}return s[18]!==o?(n=(0,t.jsx)(m,{small:o}),s[18]=o,s[19]=n):n=s[19],n}function b(e){let n,s=(0,i.c)(2),{src:a}=e;return s[0]!==a?(n=(0,t.jsx)("video",{src:a,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,"aria-hidden":!0,className:"pointer-events-none absolute inset-0 size-full object-cover"}),s[0]=a,s[1]=n):n=s[1],n}e.s(["Collage",0,m,"Flow",0,x,"Panel",0,y,"default",0,function(e){let r,o,l,c,d,u,h,m,p,f,g,v,x,b,w=(0,i.c)(38),{perk:j,className:N}=e,k=void 0===N?"":N,S=(0,n.useRef)(null);(0,a.useDither)(S);let T="purple"===j.tone,E="flow"in j.panel,M="video"in j.panel||"image"in j.panel,C=T?"bg-nova-purple-5d":"bg-black";w[0]!==k||w[1]!==C?(r=(0,s.default)("relative min-h-101 w-150 overflow-hidden transition-transform duration-500 ease-out will-change-transform hover:scale-[1.02] motion-reduce:transition-none motion-reduce:hover:scale-100",C,k),w[0]=k,w[1]=C,w[2]=r):r=w[2],w[3]!==j.eyebrow?(o=j.eyebrow&&(0,t.jsx)("p",{className:"text-[12px] leading-[1.5] font-bold tracking-[0.08em] text-white/70 uppercase",children:j.eyebrow}),w[3]=j.eyebrow,w[4]=o):o=w[4],w[5]!==j.figure?(l=j.figure&&(0,t.jsx)("p",{className:"font-nova-display-tight text-[44px] leading-[0.97] font-semibold",children:j.figure}),w[5]=j.figure,w[6]=l):l=w[6];let A=j.figure?"font-nova-sans text-[16px] leading-[1.32] font-bold tracking-[-0.32px]":"text-[28px]";w[7]!==A?(c=(0,s.default)("font-nova-display-tight leading-[1.05]",A),w[7]=A,w[8]=c):c=w[8],w[9]!==j.title||w[10]!==c?(d=(0,t.jsx)("h3",{className:c,children:j.title}),w[9]=j.title,w[10]=c,w[11]=d):d=w[11],w[12]!==j.subtitle?(u=j.subtitle&&(0,t.jsx)("p",{className:"tracking-nova-display text-[15px] leading-[1.32] font-bold text-white/90",children:j.subtitle}),w[12]=j.subtitle,w[13]=u):u=w[13],w[14]!==d||w[15]!==u?(h=(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[d,u]}),w[14]=d,w[15]=u,w[16]=h):h=w[16],w[17]!==j.body?(m=(0,t.jsx)("p",{className:"text-[14px] leading-[1.3] tracking-[-0.2px] text-white/90",children:j.body}),w[17]=j.body,w[18]=m):m=w[18],w[19]!==j.note?(p=j.note&&(0,t.jsx)("p",{className:"text-[12px] leading-[1.3] text-white/60",children:j.note}),w[19]=j.note,w[20]=p):p=w[20],w[21]!==h||w[22]!==m||w[23]!==p||w[24]!==o||w[25]!==l?(f=(0,t.jsxs)("div",{className:"relative z-10 my-8 ml-8 flex w-53 flex-col gap-4",children:[o,l,h,m,p]}),w[21]=h,w[22]=m,w[23]=p,w[24]=o,w[25]=l,w[26]=f):f=w[26];let P=!(T||E||M)&&"border-nova-grey-d7 border border-solid";return w[27]!==P?(g=(0,s.default)("bg-nova-grey-11 absolute top-4 bottom-5 left-67 z-10 w-78 overflow-hidden",P),w[27]=P,w[28]=g):g=w[28],w[29]!==j.panel?(v=(0,t.jsx)(y,{panel:j.panel}),w[29]=j.panel,w[30]=v):v=w[30],w[31]!==g||w[32]!==v?(x=(0,t.jsx)("div",{className:g,children:v}),w[31]=g,w[32]=v,w[33]=x):x=w[33],w[34]!==f||w[35]!==x||w[36]!==r?(b=(0,t.jsxs)("article",{ref:S,className:r,children:[f,x]}),w[34]=f,w[35]=x,w[36]=r,w[37]=b):b=w[37],b}],280841)},596534,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(3485),s=e.i(568535),a=e.i(181811),r=e.i(280841);e.s(["default",0,function(e){let o,l,c,d,u,h,m,p,f,g,v,x,y,b=(0,i.c)(36),{perk:w,className:j}=e,N=void 0===j?"":j,k=(0,n.useRef)(null);(0,a.useDither)(k);let S="purple"===w.tone,T="flow"in w.panel,E="video"in w.panel||"image"in w.panel,M=!!w.eyebrow,C=S?"bg-nova-purple-5d":"bg-black";b[0]!==N||b[1]!==C?(o=(0,s.default)("border-nova-grey-d7 relative flex min-h-99 w-full flex-col overflow-hidden border-[0.603px] border-solid transition-transform duration-500 ease-out will-change-transform hover:scale-[1.02] motion-reduce:transition-none motion-reduce:hover:scale-100",C,N),b[0]=N,b[1]=C,b[2]=o):o=b[2];let A=!(T||E)&&"border-nova-grey-d7 border-[0.603px] border-solid";b[3]!==A?(l=(0,s.default)("bg-nova-grey-11 relative z-10 mx-4.5 mt-4.5 h-58 shrink-0 overflow-hidden",A),b[3]=A,b[4]=l):l=b[4],b[5]!==w.panel?(c=(0,t.jsx)(r.Panel,{panel:w.panel,small:!0}),b[5]=w.panel,b[6]=c):c=b[6],b[7]!==l||b[8]!==c?(d=(0,t.jsx)("div",{className:l,children:c}),b[7]=l,b[8]=c,b[9]=d):d=b[9],b[10]!==w.eyebrow?(u=w.eyebrow&&(0,t.jsx)("p",{className:"text-[10px] leading-[1.5] font-bold tracking-[0.08em] text-white/70 uppercase",children:w.eyebrow}
13),b[10]=w.eyebrow,b[11]=u):u=b[11];let P=M?"text-[22px]":"text-[26px]";b[12]!==P?(h=(0,s.default)("font-nova-display-tight leading-[0.97] font-semibold",P),b[12]=P,b[13]=h):h=b[13];let _=w.figure??w.title;b[14]!==h||b[15]!==_?(m=(0,t.jsx)("p",{className:h,children:_}),b[14]=h,b[15]=_,b[16]=m):m=b[16];let R=M?"text-[12px]":"text-[13px]";b[17]!==R?(p=(0,s.default)("font-nova-sans leading-[1.3] font-bold text-white/90",R),b[17]=R,b[18]=p):p=b[18];let D=w.figure?w.title:w.subtitle;b[19]!==p||b[20]!==D?(f=(0,t.jsx)("p",{className:p,children:D}),b[19]=p,b[20]=D,b[21]=f):f=b[21];let I=M?"line-clamp-2 text-[12px]":"line-clamp-3 text-[13px]";return b[22]!==I?(g=(0,s.default)("font-nova-sans leading-[1.25] text-white/85",I),b[22]=I,b[23]=g):g=b[23],b[24]!==w.body||b[25]!==g?(v=(0,t.jsx)("p",{className:g,children:w.body}),b[24]=w.body,b[25]=g,b[26]=v):v=b[26],b[27]!==m||b[28]!==f||b[29]!==v||b[30]!==u?(x=(0,t.jsxs)("div",{className:"relative z-10 mx-5 mt-2.5 mb-3 flex flex-col gap-1.5",children:[u,m,f,v]}),b[27]=m,b[28]=f,b[29]=v,b[30]=u,b[31]=x):x=b[31],b[32]!==x||b[33]!==o||b[34]!==d?(y=(0,t.jsxs)("article",{ref:k,className:o,children:[d,x]}),b[32]=x,b[33]=o,b[34]=d,b[35]=y):y=b[35],y}])},389249,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(3485),s=e.i(198890),a=e.i(568535);function r(){let e,n,a,r,o=(0,i.c)(4);return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:"/images/nova/bel-main/stories/play-bounding.png",alt:"","aria-hidden":!0,className:"absolute top-1.5 left-1.5 size-8.5"}),o[0]=e):e=o[0],o[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("div",{className:"absolute top-0.5 left-0.5 flex size-10.5 items-center justify-center",children:(0,t.jsx)("div",{className:"-scale-y-100 rotate-180",children:(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:`${s.CDN}/bel-main/stories/play-outer.3b00b637.webp`,alt:"","aria-hidden":!0,className:"block size-10.5"})})}),a=(0,t.jsx)("div",{"aria-hidden":!0,className:"absolute inset-1.5 rounded-full bg-white opacity-0 transition-opacity duration-300 ease-out group-hover:opacity-100 motion-reduce:transition-none"}),o[1]=n,o[2]=a):(n=o[1],a=o[2]),o[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsxs)("div",{className:"absolute top-1/2 left-1/2 size-11 -translate-x-1/2 -translate-y-1/2",children:[e,n,a,(0,t.jsx)("div",{className:"absolute top-1/2 left-1/2 size-4.5 -translate-x-1/2 -translate-y-1/2",children:(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:"/images/nova/bel-main/stories/play.svg",alt:"","aria-hidden":!0,className:"absolute",style:{inset:"14.57% 17.36%"}})})]}),o[3]=r):r=o[3],r}function o(e){let n,s,a,r,o,l,c=(0,i.c)(16),{avatar:d,name:u,role:h,roleLogo:m}=e;return c[0]!==d||c[1]!==u?(n=d?(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:d,alt:"",className:"size-12 shrink-0 rounded-full object-cover"}):(0,t.jsx)("div",{"aria-hidden":!0,className:"border-nova-grey-ee/40 text-nova-grey-ee flex size-12 shrink-0 items-center justify-center rounded-full border text-[16px] font-medium",children:u.split(/\s+/).slice(0,2).map(e=>e[0]).join("").toUpperCase()}),c[0]=d,c[1]=u,c[2]=n):n=c[2],c[3]!==u?(s=(0,t.jsx)("p",{className:"tracking-nova-display text-[18px] leading-[1.5] font-bold whitespace-nowrap",children:u}),c[3]=u,c[4]=s):s=c[4],c[5]!==m?(a=m&&(0,t.jsxs)(t.Fragment,{children:[" ",(0,t.jsx)("span",{className:"inline-flex h-[1.5em] items-center align-top",children:m})]}),c[5]=m,c[6]=a):a=c[6],c[7]!==h||c[8]!==a?(r=(0,t.jsxs)("div",{className:"tracking-nova-display min-h-10.5 text-[14px] leading-[1.5] whitespace-pre-wrap",children:[h,a]}),c[7]=h,c[8]=a,c[9]=r):r=c[9],c[10]!==s||c[11]!==r?(o=(0,t.jsxs)("div",{className:"flex flex-col",children:[s,r]}),c[10]=s,c[11]=r,c[12]=o):o=c[12],c[13]!==n||c[14]!==o?(l=(0,t.jsxs)("div",{className:"flex w-full items-start gap-6 px-8",children:[n,o]}),c[13]=n,c[14]=o,c[15]=l):l=c[15],l}function l(e){let n,l,c,d,u=(0,i.c)(14),{story:h,onPlay:m}=e,p=("quote"===h.kind||"switch"===h.kind)&&!!h.from&&!!h.to&&h.from!==h.to;return u[0]!==h.bg?(n=(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:h.bg,alt:"","aria-hidden":!0,
13className:"pointer-events-none absolute -inset-1 size-[calc(100%+6px)] max-w-none object-cover"}),u[0]=h.bg,u[1]=n):n=u[1],u[2]!==p||u[3]!==h.from||u[4]!==h.to?(l=p&&(0,t.jsxs)("div",{className:"bg-nova-guide relative flex w-full items-center justify-between px-4 py-2",children:[(0,t.jsx)("p",{className:"leading-nova-body text-[16px] font-medium whitespace-nowrap",children:h.from}),(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:"/images/nova/bel-main/stories/arrow.svg",alt:"","aria-hidden":!0,className:"h-1.5 w-8.5 shrink-0"}),(0,t.jsx)("p",{className:"leading-nova-body text-[16px] font-medium whitespace-nowrap",children:h.to})]}),u[2]=p,u[3]=h.from,u[4]=h.to,u[5]=l):l=u[5],u[6]!==p||u[7]!==m||u[8]!==h?(c="quote"===h.kind?(0,t.jsxs)("div",{className:(0,a.default)("relative flex flex-1 flex-col px-8 pb-8",p?"justify-end":"justify-between pt-8",h.attribution?"gap-4":"gap-6"),children:[(0,t.jsx)("p",{className:"leading-nova-display w-67 text-[48px] font-medium tracking-[-2.4px]",children:h.quote}),(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[h.attribution&&(0,t.jsx)("p",{className:"tracking-nova-display w-67 text-[14px] leading-[1.5] text-white",children:h.attribution}),(0,t.jsxs)("div",{className:"flex w-full items-center justify-between gap-4",children:[h.logo,h.exp&&(0,t.jsx)("p",{className:"leading-nova-display text-nova-grey-ee text-[16px] font-bold tracking-[-0.8px] whitespace-nowrap",children:h.exp})]})]})]}):"switch"===h.kind?(0,t.jsxs)("div",{className:"relative flex flex-1 flex-col",children:[h.stat?(0,t.jsx)("p",{className:"leading-nova-display text-nova-grey-ee mt-8 px-8 text-[48px] font-medium tracking-[-2.4px] whitespace-nowrap",children:h.stat}):(0,t.jsx)("div",{className:"mt-8 px-8",children:(0,t.jsx)("p",{className:"leading-nova-body text-nova-grey-ee w-67 text-[18px] font-medium tracking-[-0.9px]",children:h.lead})}),(0,t.jsxs)("div",{className:"mt-auto flex flex-col items-center gap-6 pb-8",children:[(0,t.jsxs)("div",{className:"border-nova-guide flex w-full items-stretch border-y",children:[(0,t.jsx)("div",{className:"border-nova-guide flex h-12.5 w-36 items-center justify-center border-r",children:h.c1}),(0,t.jsx)("div",{className:"border-nova-guide flex h-12.5 w-10 items-center justify-center border-r",children:(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:`${s.CDN}/bel-main/stories/switch-chevron.0e2f8548.webp`,alt:"","aria-hidden":!0,className:"size-5.5"})}),(0,t.jsx)("div",{className:"flex h-12.5 flex-1 items-center justify-center",children:h.c2})]}),(0,t.jsx)(o,{avatar:h.avatar,name:h.name,role:h.role,roleLogo:h.roleLogo})]})]}):"testimonial"===h.kind?(0,t.jsxs)("div",{className:"relative flex flex-1 flex-col items-center justify-between py-8",children:[(0,t.jsx)("p",{className:"leading-nova-body text-nova-grey-ee w-67 text-[24px] font-medium tracking-[-1.2px]",children:h.quote}),(0,t.jsx)(o,{avatar:h.avatar,name:h.name,role:h.role,roleLogo:h.roleLogo})]}):(0,t.jsxs)("div",{className:"relative flex flex-1 flex-col items-center justify-between pt-4 pb-8",children:[(0,t.jsxs)("div",{className:"flex w-75.5 flex-col gap-4",children:[(0,t.jsxs)("button",{type:"button",tabIndex:-1,disabled:!h.href||!m,onClick:()=>h.href&&m?.(h),className:(0,a.default)("relative aspect-[626/352] w-full cursor-pointer overflow-hidden disabled:cursor-default",h.href&&m&&"group"),children:[(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:h.thumb,alt:"",className:"absolute inset-0 size-full object-cover"}),(0,t.jsx)(r,{})]}),h.quote&&(0,t.jsx)("p",{className:"leading-nova-body text-nova-grey-ee w-67.5 text-[16px] font-medium tracking-[-0.8px]",children:h.quote})]}),(0,t.jsx)(o,{avatar:h.avatar,name:h.name,role:h.role,roleLogo:h.roleLogo})]}),u[6]=p,u[7]=m,u[8]=h,u[9]=c):c=u[9],u[10]!==n||u[11]!==l||u[12]!==c?(d=(0,t.jsxs)("div",{className:"border-nova-guide relative flex h-100.5 w-83.5 shrink-0 flex-col overflow-hidden border",children:[n,l,c]}),u[10]=n,u[11]=l,u[12]=c,u[13]=d):d=u[13],d}var c=e.i(995105);let d=/(?:youtu\.be\/|[?&]v=|\/embed\/)([\w-]{11})/;function u(e){let s,a,r,o,l,u,p,f,g=(0,i.c)(18),{href:v,title:x,onClose:y}=e,b=(0,n.useRef)(null);g[0]!==v?(s=(e=>{let t=e.match(d)?.[1];if(t)return`https://www.youtube-nocookie.com/embed/${t}?autoplay=1&rel=0&modestbranding=1`})(v),g[0]=v,g[1]=s):s=g[1];let w=s;return(g[2]!==y?(a=()=>{let e=b.current;if(!e)return;let t=document.activeElement;e.focus();let i=t=>{if("Escape"===t.key)return void y();if("Tab"!==t.key)return;let i=[...e.querySelectorAll('a[href], button, iframe, [tabindex]:not
13([tabindex="-1"])')].filter(m);if(!i.length)return;let n=i.indexOf(document.activeElement);t.shiftKey&&n<=0?(t.preventDefault(),i[i.length-1].focus()):t.shiftKey||-1!==n&&n!==i.length-1||(t.preventDefault(),i[0].focus())},{overflow:n}=document.body.style;return document.body.style.overflow="hidden",window.addEventListener("keydown",i),()=>{window.removeEventListener("keydown",i),document.body.style.overflow=n,t?.focus()}},r=[y],g[2]=y,g[3]=a,g[4]=r):(a=g[3],r=g[4]),(0,n.useEffect)(a,r),w)?(g[5]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("div",{className:"absolute inset-0 bg-black/70 backdrop-blur-[40px]"}),g[5]=o):o=g[5],g[6]!==w||g[7]!==x?(l=(0,t.jsx)("div",{className:"border-nova-guide aspect-video w-full overflow-hidden border bg-black",children:(0,t.jsx)("iframe",{src:w,title:x,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,className:"size-full"})}),g[6]=w,g[7]=x,g[8]=l):l=g[8],g[9]!==y?(u=(0,t.jsx)(c.default,{variant:"secondary",tone:"bare",asChild:!0,children:(0,t.jsx)("button",{type:"button",onClick:y,children:"Close"})}),g[9]=y,g[10]=u):u=g[10],g[11]!==l||g[12]!==u?(p=(0,t.jsxs)("div",{className:"relative flex w-full max-w-5xl flex-col items-center gap-6",onClick:h,children:[l,u]}),g[11]=l,g[12]=u,g[13]=p):p=g[13],g[14]!==y||g[15]!==p||g[16]!==x?(f=(0,t.jsxs)("div",{ref:b,tabIndex:-1,role:"dialog","aria-modal":"true","aria-label":x,onClick:y,className:"fixed inset-0 z-50 flex items-center justify-center px-5 outline-none",children:[o,p]}),g[14]=y,g[15]=p,g[16]=x,g[17]=f):f=g[17],f):null}function h(e){return e.stopPropagation()}function m(e){return null!==e.offsetParent}var p=e.i(100158),f=e.i(821113);let g=[{src:`${s.CDN}/program/companies/google.afd4bc44.webp`,alt:"Google",cls:"size-full"},{src:`${s.CDN}/program/companies/microsoft.5850aabe.webp`,alt:"Microsoft",cls:"size-full"},{src:`${s.CDN}/program/companies/meta.bfa98d97.webp`,alt:"Meta",cls:"size-full"},{src:`${s.CDN}/program/companies/apple.3422326c.webp`,alt:"Apple",cls:"size-full"},{src:`${s.CDN}/program/companies/netflix.d38c71a0.webp`,alt:"Netflix",cls:"size-full"},{src:`${s.CDN}/program/companies/uber.19b6260e.webp`,alt:"Uber",cls:"size-full"},{src:`${s.CDN}/program/companies/adobe.79479e3d.webp`,alt:"Adobe",cls:"size-full"},{src:`${s.CDN}/program/companies/shopify.786e1841.webp`,alt:"Shopify",cls:"size-full"},{src:`${s.CDN}/program/companies/flipkart.600cc75b.webp`,alt:"Flipkart",cls:"size-full"},{src:`${s.CDN}/program/companies/razorpay.18b0c32f.webp`,alt:"Razorpay",cls:"size-full"},{src:`${s.CDN}/program/companies/phonepe.a21c03c3.webp`,alt:"PhonePe",cls:"size-full"},{src:`${s.CDN}/program/companies/cred.d1b44845.webp`,alt:"CRED",cls:"size-full"},{src:`${s.CDN}/program/companies/groww.254c056a.webp`,alt:"Groww",cls:"size-full"},{src:`${s.CDN}/program/companies/zepto.a70f9f38.webp`,alt:"Zepto",cls:"size-full"},{src:`${s.CDN}/program/companies/meesho.25371ed5.webp`,alt:"Meesho",cls:"size-full"},{src:`${s.CDN}/program/companies/paytm.a74370b6.webp`,alt:"Paytm",cls:"size-full"},{src:`${s.CDN}/program/companies/oyo.bf15604e.webp`,alt:"OYO",cls:"size-full"},{src:`${s.CDN}/program/companies/rapido.01bff05a.svg`,alt:"Rapido",cls:"h-6 w-14"},{src:`${s.CDN}/program/companies/lenskart.2b57995b.webp`,alt:"Lenskart",cls:"size-full"},{src:`${s.CDN}/program/companies/sarvam-ai.bda16558.webp`,alt:"Sarvam AI",cls:"size-full"},{src:`${s.CDN}/program/companies/emergent.55cc88af.webp`,alt:"Emergent",cls:"size-full"},{src:`${s.CDN}/program/companies/smallest-ai.d42d77d3.webp`,alt:"smallest.ai",cls:"size-full"},{src:`${s.CDN}/program/companies/linkedin.382c80cc.svg`,alt:"LinkedIn",cls:"size-8"}];function v(e){let n,s,r,o=(0,i.c)(9),{src:l,alt:c,cls:d,hidden:u}=e,h=u||void 0;return o[0]!==d?(n=(0,a.default)("block object-contain",d),o[0]=d,o[1]=n):n=o[1],o[2]!==c||o[3]!==l||o[4]!==n?(s=(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:l,alt:c,className:n}),o[2]=c,o[3]=l,o[4]=n,o[5]=s):s=o[5],o[6]!==h||o[7]!==s?(r=(0,t.jsx)("div",{"aria-hidden":h,className:"border-nova-surface flex size-18 shrink-0 items-center justify-center border",children:s}),o[6]=h,o[7]=s,o[8]=r):r=o[8],r}let x=(0,t.jsxs)("div",{className:"relative h-8 w-29 shrink-0","aria-label":"Groww",children:[(0,t.jsx)("img",{src:`${s.CDN}/bel-main/stories/groww-icon.de081d39.svg`,alt:"","aria-hidden":!0,
13className:"absolute object-contain",style:{inset:"0 72.43% 0 0"}}),(0,t.jsx)("img",{src:`${s.CDN}/bel-main/stories/groww-word.5d16ce05.svg`,alt:"","aria-hidden":!0,className:"absolute object-contain",style:{inset:"21.56% 0 21.56% 34.62%"}})]}),y=[{kind:"quote",bg:`${s.CDN}/bel-main/stories/highlight-card.10288cd4.webp`,from:"UX Designer",to:"Growth PM",quote:"I actually build now",exp:"7+ yrs experience",logo:x},{kind:"switch",bg:`${s.CDN}/bel-main/stories/card-debayan-bg.7c8f6041.webp`,from:"UX Designer",to:"Growth PM",stat:"250% hike",c1:(0,t.jsx)("img",{src:`${s.CDN}/bel-main/stories/cognizant.09140ca0.svg`,alt:"Cognizant",className:"h-4 w-22.5"}),c2:(0,t.jsx)("img",{src:`${s.CDN}/bel-main/stories/google.233a67c2.svg`,alt:"Google",className:"h-5 w-16"}),avatar:`${s.CDN}/bel-main/stories/debayan.234129b8.webp`,name:"Debayan",role:"Associate PM @",roleLogo:(0,t.jsx)("img",{src:`${s.CDN}/bel-main/stories/google.233a67c2.svg`,alt:"Google",className:"h-4 w-13"})},{kind:"testimonial",bg:`${s.CDN}/bel-main/stories/card-debayan-bg.7c8f6041.webp`,quote:"I was already a PM, but AI was my blind spot. Now I'm shipping AI features my team used to outsource.",avatar:`${s.CDN}/bel-main/stories/kunal.8c7ad534.webp`,name:"Kunal Agarwal",role:"AI PM @",roleLogo:(0,t.jsx)("div",{className:"relative h-4 w-18 overflow-hidden",children:(0,t.jsx)("img",{src:`${s.CDN}/bel-main/stories/razorpay.c7b96644.webp`,alt:"Razorpay",className:"absolute max-w-none",style:{top:"-26.92%",left:"-2.77%",width:"105.55%",height:"153.85%"}})})},{kind:"switch",bg:`${s.CDN}/bel-main/stories/card-debayan-bg.7c8f6041.webp`,from:"Marketer",to:"Associate PM",lead:"I came from marketing with zero PM experience. The capstone gave me proof to show, not just a resume.",c1:(0,t.jsx)("img",{src:`${s.CDN}/bel-main/stories/tech-mahindra.57e11339.svg`,alt:"Tech Mahindra",className:"h-5 w-20"}),c2:(0,t.jsx)("img",{src:`${s.CDN}/bel-main/stories/microsoft.6af401df.svg`,alt:"Microsoft",className:"h-5 w-23.5"}),avatar:`${s.CDN}/bel-main/stories/shreya.83ca4328.webp`,name:"Shreya Singh",role:"PM Intern @",roleLogo:(0,t.jsx)("div",{className:"relative h-4 w-19 overflow-hidden",children:(0,t.jsx)("img",{src:`${s.CDN}/bel-main/stories/microsoft-role.99041d0b.svg`,alt:"Microsoft",className:"absolute",style:{inset:"-2.5% 2.6% 2.5% 0"}})})},{kind:"video",bg:`${s.CDN}/bel-main/stories/card-debayan-bg.7c8f6041.webp`,thumb:`${s.CDN}/bel-main/stories/kanupriya-video.3e2f8186.webp`,quote:"I came from marketing with zero PM experience. The capstone gave me proof to show, not just a resume.",avatar:`${s.CDN}/bel-main/stories/kanupriya.389ea477.webp`,name:"Kanupriya",role:"Product Manager @",roleLogo:(0,t.jsx)("img",{src:`${s.CDN}/bel-main/stories/matiks.09ae661c.svg`,alt:"Matiks",className:"h-3.5 w-17.5"})}],b=[{name:"Priya",from:"Social Media Manager",to:"Product Manager",company:"Netcore Cloud"},{name:"Rahul",from:"Business Analyst",to:"Associate PM",company:"Swiggy"},{name:"Ananya",from:"Software Engineer",to:"Product Manager",company:"Razorpay"}];var w=e.i(646975);function j(e){let t,s,a,r=(0,i.c)(8),{gap:o,pxPerSec:l,direction:c,hoverSpeed:d}=e,u=void 0===c?-1:c,h=void 0===d?.2:d,m=(0,n.useRef)(null),g=(0,n.useRef)(!1),v=(0,n.useRef)(null),x=(0,f.useInView)(m,w.IN_VIEW);return r[0]!==u||r[1]!==o||r[2]!==h||r[3]!==x||r[4]!==l?(t=()=>{let e=m.current;if(!e||(0,p.prefersReducedMotion)()||!x)return;let t=(e.scrollWidth+o)/2,i=()=>{t=(e.scrollWidth+o)/2};window.addEventListener("resize",i);let n=v.current??(u>0?-t:0),s=1,a=performance.now(),r=0,c=i=>{let o=Math.min(.05,(i-a)/1e3);a=i;let d=g.current?h:1;s+=(d-s)*Math.min(1,6*o),(n+=u*l*s*o)<=-t&&(n+=t),n>0&&(n-=t),e.style.transform=`translate3d(${n}px,0,0)`,r=requestAnimationFrame(c)};return r=requestAnimationFrame(c),()=>{v.current=n,cancelAnimationFrame(r),window.removeEventListener("resize",i)}},s=[o,l,u,h,x],r[0]=u,r[1]=o,r[2]=h,r[3]=x,r[4]=l,r[5]=t,r[6]=s):(t=r[5],s=r[6]),(0,n.useEffect)(t,s),r[7]===Symbol.for("react.memo_cache_sentinel")?(a={trackRef:m,hoverProps:{onMouseEnter:()=>{g.current=!0},onMouseLeave:()=>{g.current=!1}}},r[7]=a):a=r[7],a}function N(e){return g.map(i=>(0,t.jsx)(v,{...i,hidden:1===e},`${e}-${i.alt}`))}function k(e,i){return(0,t.jsxs)("li",{children:["name"in e?`${e.name}, ${e.role}. `:"","switch"===e.kind?e.stat??e.lead??"":e.quote??"","video"===e.kind&&e.href?(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noreferrer",children:` Watch ${e.name}'s story`}):null]},i)}e.s(["default",0,function(e){let r,o,c,d,h,m,g,v,x,S,T,E,M,C,A,P,_,R,D,I,$,L,V,F,B,O=(0,i.c)(60);O[0]!==e?(r=void 0===e?{}:e,O[0]=e,O[1]=r):r=O[1];
13let{stories:z,subhead:U,outcomeVerb:W,outcomes:q,companiesLabel:H,blurEdges:X,edgeClass:G,bottomRowInset:Y}=r,K=void 0===z?y:z,J=void 0===U?"Career switches, promotions, and a new way of working":U,Z=void 0===W?"moved from":W,Q=void 0===q?b:q,ee=void 0===H?"Where our community works":H,et=void 0===X||X,ei=void 0===G?"w-14 nova-desktop:w-40":G;O[2]===Symbol.for("react.memo_cache_sentinel")?(o={gap:16,pxPerSec:64},O[2]=o):o=O[2];let{trackRef:en,hoverProps:es}=j(o);O[3]===Symbol.for("react.memo_cache_sentinel")?(c={gap:6,pxPerSec:64,direction:1},O[3]=c):c=O[3];let{trackRef:ea,hoverProps:er}=j(c),[eo,el]=(0,n.useState)(0),[ec,ed]=(0,n.useState)(!0),eu=(0,n.useRef)(!1),eh=(0,n.useRef)(null),em=(0,f.useInView)(eh,w.IN_VIEW);O[4]!==Q.length||O[5]!==em?(d=()=>{let e;if(Q.length<2||(0,p.prefersReducedMotion)()||!em)return;let t=setInterval(()=>{eu.current||(ed(!1),e=setTimeout(()=>{el(e=>(e+1)%Q.length),ed(!0)},450))},4500);return()=>{clearInterval(t),clearTimeout(e),ed(!0)}},h=[em,Q.length],O[4]=Q.length,O[5]=em,O[6]=d,O[7]=h):(d=O[6],h=O[7]),(0,n.useEffect)(d,h);let ep=Q.length>0?Q[eo%Q.length]:null,[ef,eg]=(0,n.useState)(null);O[8]!==K?(m=Array.from({length:Math.max(1,Math.ceil(8/K.length))},()=>K).flat(),O[8]=K,O[9]=m):m=O[9];let ev=m;O[10]!==ev?(g=[...ev,...ev].map((e,i)=>(0,t.jsx)(l,{story:e,onPlay:eg},i)),O[10]=ev,O[11]=g):g=O[11],O[12]!==g||O[13]!==en?(v=(0,t.jsx)("div",{ref:en,"aria-hidden":!0,className:"flex w-max gap-4 will-change-transform",children:g}),O[12]=g,O[13]=en,O[14]=v):v=O[14],O[15]!==K?(x=K.map(k),O[15]=K,O[16]=x):x=O[16],O[17]!==x?(S=(0,t.jsx)("ul",{className:"sr-only",children:x}),O[17]=x,O[18]=S):S=O[18],O[19]!==v||O[20]!==S?(T=(0,t.jsxs)("div",{className:"nova-desktop:scale-100 origin-top-left scale-[0.8]",children:[v,S]}),O[19]=v,O[20]=S,O[21]=T):T=O[21];let ex=T;O[22]!==ef?(E=ef?.kind==="video"&&ef.href&&(0,t.jsx)(u,{href:ef.href,title:`${ef.name} — ${ef.role}`,onClose:()=>eg(null)}),O[22]=ef,O[23]=E):E=O[23],O[24]===Symbol.for("react.memo_cache_sentinel")?(M=(0,t.jsx)("h2",{className:"font-nova-display-tight leading-nova-display nova-desktop:text-[48px] text-[32px]",children:"Real stories from the tribe"}),O[24]=M):M=O[24],O[25]!==J?(C=(0,t.jsxs)("header",{className:"nova-desktop:px-0 flex flex-col items-center gap-4 px-5 text-center",children:[M,(0,t.jsx)("p",{className:"text-nova-body text-nova-grey-9f",children:J})]}),O[25]=J,O[26]=C):C=O[26],O[27]!==et||O[28]!==ex||O[29]!==ei||O[30]!==es?(A=et?(0,t.jsxs)("div",{className:"nova-desktop:mt-15 nova-desktop:h-auto relative mt-10 h-80.5 overflow-hidden",...es,children:[ex,(0,t.jsx)("div",{"aria-hidden":!0,className:(0,a.default)("bg-nova-bg pointer-events-none absolute inset-y-0 left-0 z-10",ei),style:{backdropFilter:"blur(8px)",WebkitBackdropFilter:"blur(8px)",maskImage:"linear-gradient(to right, #000 0%, #000 25%, transparent 100%)",WebkitMaskImage:"linear-gradient(to right, #000 0%, #000 25%, transparent 100%)"}}),(0,t.jsx)("div",{"aria-hidden":!0,className:(0,a.default)("bg-nova-bg pointer-events-none absolute inset-y-0 right-0 z-10",ei),style:{backdropFilter:"blur(8px)",WebkitBackdropFilter:"blur(8px)",maskImage:"linear-gradient(to left, #000 0%, #000 25%, transparent 100%)",WebkitMaskImage:"linear-gradient(to left, #000 0%, #000 25%, transparent 100%)"}})]}):(0,t.jsx)("div",{className:"nova-desktop:mt-15 nova-desktop:px-0 mt-10 px-4",...es,children:(0,t.jsx)("div",{className:"nova-desktop:h-auto relative h-80.5 overflow-hidden",children:ex})}),O[27]=et,O[28]=ex,O[29]=ei,O[30]=es,O[31]=A):A=O[31];let ey=void 0===Y||Y?"nova-desktop:px-6":"nova-desktop:px-0";O[32]!==ey?(P=(0,a.default)("nova-desktop:flex-row nova-desktop:items-stretch mt-6 flex flex-col gap-4 px-4",ey),O[32]=ey,O[33]=P):P=O[33],O[34]!==ep||O[35]!==ec||O[36]!==Z?(_=ep&&(0,t.jsxs)("div",{className:"border-nova-grey-22 nova-desktop:w-147.5 nova-desktop:px-12 nova-desktop:py-8 relative flex w-full shrink-0 flex-col gap-6 overflow-hidden border p-6",onMouseEnter:()=>{eu.current=!0},onMouseLeave:()=>{eu.current=!1},children:[(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:`${s.CDN}/bel-main/stories/career-outcomes-bg.32d30265.webp`,alt:"","aria-hidden":!0,
13className:"pointer-events-none absolute -inset-1 size-[calc(100%+8px)] max-w-none object-cover"}),(0,t.jsx)("p",{className:"leading-nova-body text-nova-grey-9f relative text-[16px]",children:"Career outcomes"}),(0,t.jsx)("div",{className:"relative",style:{opacity:+!!ec,transition:"opacity 450ms ease"},children:(0,t.jsxs)("p",{className:"leading-nova-body text-nova-guide-light nova-desktop:max-w-113 nova-desktop:text-[20px] nova-desktop:tracking-[-1px] max-w-73 text-[16px] tracking-[-0.8px]",children:[ep.name," ",Z," ",(0,t.jsx)("span",{className:"font-medium text-white",children:ep.from})," ","to ",(0,t.jsx)("span",{className:"font-medium text-white",children:ep.to})," ","at ",ep.company]})})]}),O[34]=ep,O[35]=ec,O[36]=Z,O[37]=_):_=O[37];let eb=!ep&&"nova-desktop:pb-8";return O[38]!==eb?(R=(0,a.default)("border-nova-grey-22 nova-desktop:h-auto nova-desktop:flex-1 nova-desktop:pt-8 relative flex h-34 w-full flex-col overflow-hidden border bg-black pt-6",eb),O[38]=eb,O[39]=R):R=O[39],O[40]!==ee?(D=(0,t.jsx)("p",{className:"leading-nova-body text-nova-grey-9f nova-desktop:px-12 px-6 text-[16px]",children:ee}),O[40]=ee,O[41]=D):D=O[41],O[42]===Symbol.for("react.memo_cache_sentinel")?(I={maskImage:"linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%)",WebkitMaskImage:"linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%)"},O[42]=I):I=O[42],O[43]===Symbol.for("react.memo_cache_sentinel")?($=[0,1].map(N),O[43]=$):$=O[43],O[44]!==ea?(L=(0,t.jsx)("div",{className:"relative mt-4 flex flex-1 items-center overflow-hidden",style:I,children:(0,t.jsx)("div",{className:"nova-desktop:scale-100 origin-left scale-[0.744]",children:(0,t.jsx)("div",{ref:ea,className:"flex w-max items-center gap-1.5 will-change-transform",children:$})})}),O[44]=ea,O[45]=L):L=O[45],O[46]!==er||O[47]!==R||O[48]!==D||O[49]!==L?(V=(0,t.jsxs)("div",{className:R,...er,children:[D,L]}),O[46]=er,O[47]=R,O[48]=D,O[49]=L,O[50]=V):V=O[50],O[51]!==P||O[52]!==_||O[53]!==V?(F=(0,t.jsxs)("div",{className:P,children:[_,V]}),O[51]=P,O[52]=_,O[53]=V,O[54]=F):F=O[54],O[55]!==E||O[56]!==C||O[57]!==A||O[58]!==F?(B=(0,t.jsxs)("section",{ref:eh,className:"bg-nova-bg overflow-hidden",children:[E,C,A,F]}),O[55]=E,O[56]=C,O[57]=A,O[58]=F,O[59]=B):B=O[59],B}],389249)},569852,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(3485);function s(e){let n,s,a,r,o,l=(0,i.c)(13),{s:c}=e;return l[0]!==c.img?(n=(0,t.jsx)("img",{loading:"lazy",decoding:"async",src:c.img,alt:"","aria-hidden":!0,className:"pointer-events-none absolute inset-0 size-full object-cover opacity-70"}),l[0]=c.img,l[1]=n):n=l[1],l[2]!==c.title?(s=(0,t.jsx)("h3",{className:"font-nova-display-tight leading-nova-display absolute top-6.5 left-6 max-w-52.5 text-[20px]",children:c.title}),l[2]=c.title,l[3]=s):s=l[3],l[4]!==c.no?(a=(0,t.jsx)("span",{className:"tracking-nova-display absolute top-6 right-6 text-[18px] font-medium uppercase",children:c.no}),l[4]=c.no,l[5]=a):a=l[5],l[6]!==c.desc?(r=(0,t.jsx)("p",{className:"text-nova-body-sm text-nova-grey-ee absolute bottom-6 left-6 w-62",children:c.desc}),l[6]=c.desc,l[7]=r):r=l[7],l[8]!==n||l[9]!==s||l[10]!==a||l[11]!==r?(o=(0,t.jsxs)("div",{className:"border-nova-guide relative h-71 w-74.5 shrink-0 overflow-hidden border-[0.8px]",children:[n,s,a,r]}),l[8]=n,l[9]=s,l[10]=a,l[11]=r,l[12]=o):o=l[12],o}var a=e.i(198890);let r=[{no:"01",title:"Merit Master",desc:"A scholarship for those who score above 70% on our quiz and prove their merit",img:`${a.CDN}/bel-main/scholarships/merit-master.e9830170.webp`},{no:"02",title:"Bridge the Gap",desc:"A scholarship for those who need help with the cost of the program",img:`${a.CDN}/bel-main/scholarships/bridge-the-gap.82d89720.webp`},{no:"03",title:"Elevate Her",desc:"A scholarship for women building careers in tech",img:`${a.CDN}/bel-main/scholarships/elevate-her.fdbb28db.webp`},{no:"04",title:"Future Shapers",desc:"A scholarship for students stepping into the industry",img:`${a.CDN}/bel-main/scholarships/future-shapers.ac1afc08.webp`}];var o=e.i(516365),l=e.i(100158),c=e.i(821113),d=e.i(646975);let u=Array.from({length:5*r.length},(e,t)=>r[t%r.length]),h=r.length;function m(e){return e-r.length}function p(e){return e+1}e.s(["default",0,function(){let e,a,f,g,v,x,y,b=(0,i.c)(15),w=(0,n.useRef)(null),j=(0,c.useInView)(w,d.IN_VIEW),[N,k]=(0,n.use
13State)(h),[S,T]=(0,n.useState)(!0);b[0]!==j?(e=()=>{if((0,l.prefersReducedMotion)()||!j)return;let e=setInterval(()=>k(p),3e3);return()=>clearInterval(e)},a=[j],b[0]=j,b[1]=e,b[2]=a):(e=b[1],a=b[2]),(0,n.useEffect)(e,a),b[3]!==N?(f=()=>{if(N<h+r.length)return;let e=setTimeout(()=>{T(!1),k(m),requestAnimationFrame(()=>requestAnimationFrame(()=>T(!0)))},933);return()=>clearTimeout(e)},g=[N],b[3]=N,b[4]=f,b[5]=g):(f=b[4],g=b[5]),(0,n.useEffect)(f,g);let E=`translateX(${-(276.56*N)}px)`,M=S?`transform 933ms ${o.EASE_IN_OUT_STRONG}`:"none";return b[6]!==E||b[7]!==M?(v={transform:E,transition:M},b[6]=E,b[7]=M,b[8]=v):v=b[8],b[9]!==S||b[10]!==N?(x=u.map((e,i)=>{let n=i===N;return(0,t.jsx)("div",{"aria-hidden":!n,className:"absolute top-1/2",style:{left:276.56*i,zIndex:n?2:1,transform:`translate(-50%, -50%) scale(${n?1:.8})`,opacity:n?1:.8,filter:n?"none":"blur(1.5px)",transition:S?`transform 933ms ${o.EASE_IN_OUT_STRONG}, opacity 933ms ${o.EASE_IN_OUT_STRONG}, filter 933ms ${o.EASE_IN_OUT_STRONG}`:"none"},children:(0,t.jsx)(s,{s:e})},i)}),b[9]=S,b[10]=N,b[11]=x):x=b[11],b[12]!==v||b[13]!==x?(y=(0,t.jsx)("div",{ref:w,className:"relative h-75 w-full overflow-hidden",children:(0,t.jsx)("div",{className:"absolute top-0 left-1/2 h-full",style:v,children:x})}),b[12]=v,b[13]=x,b[14]=y):y=b[14],y}],569852)},37101,e=>{"use strict";e.i(809801);var t=e.i(519834),i=e.i(585732),n=e.i(3485),s=e.i(568535),a=e.i(995105),r=e.i(761399),o=e.i(780260);function l(e){let n,a,r,o,l=(0,i.c)(10),{label:c,value:d,widthClass:u}=e;return l[0]!==u?(n=(0,s.default)("flex shrink-0 flex-col items-start",u),l[0]=u,l[1]=n):n=l[1],l[2]!==c?(a=(0,t.jsx)("p",{className:"font-nova-sans text-nova-grey-a3 text-[14px] leading-6",children:c}),l[2]=c,l[3]=a):a=l[3],l[4]!==d?(r=(0,t.jsx)("p",{className:"font-nova-sans text-[20px] leading-6 font-medium text-white",children:d}),l[4]=d,l[5]=r):r=l[5],l[6]!==n||l[7]!==a||l[8]!==r?(o=(0,t.jsxs)("div",{className:n,children:[a,r]}),l[6]=n,l[7]=a,l[8]=r,l[9]=o):o=l[9],o}function c(e){return(0,t.jsx)(l,{...e},e.label)}function d(e,t){if(!e)return u;let i=new IntersectionObserver(e=>{let[i]=e;return t(i.isIntersecting)},{threshold:0});return i.observe(e),()=>i.disconnect()}function u(){}function h(){return(0,o.setNavHidden)(!1)}e.s(["default",0,function(e){let l,u,m,p,f,g,v,x,y,b,w,j,N,k,S,T,E,M,C,A,P=(0,i.c)(46),{heroSelector:_,pricingSelector:R}=e,[D,I]=(0,n.useState)(!1),[$,L]=(0,n.useState)(!1),[V,F]=(0,n.useState)(!1),[B,O]=(0,n.useState)(1),z=(0,n.useRef)(null),U=D&&!$&&!V,W=(0,r.useNovaSchedule)();if(P[0]!==W.enrolmentEndsLong||P[1]!==W.enrolmentEndsVerb||P[2]!==W.startsLong||P[3]!==W.timeCommitment){if(l=[],W.enrolmentEndsLong){let e,t=`Enrolment ${W.enrolmentEndsVerb??"ends"} on`;P[5]!==W.enrolmentEndsLong||P[6]!==t?(e={label:t,value:W.enrolmentEndsLong,widthClass:"w-[133px]"},P[5]=W.enrolmentEndsLong,P[6]=t,P[7]=e):e=P[7],l.push(e)}if(W.startsLong){let e;P[8]!==W.startsLong?(e={label:"Course starting on",value:W.startsLong,widthClass:"w-[133px]"},P[8]=W.startsLong,P[9]=e):e=P[9],l.push(e)}if(W.timeCommitment){let e,t=`${W.timeCommitment} hrs/week`;P[10]!==t?(e={label:"Your commitment",value:t},P[10]=t,P[11]=e):e=P[11],l.push(e)}P[0]=W.enrolmentEndsLong,P[1]=W.enrolmentEndsVerb,P[2]=W.startsLong,P[3]=W.timeCommitment,P[4]=l}else l=P[4];P[12]!==D?(u=()=>((0,o.setNavHidden)(D),h),m=[D],P[12]=D,P[13]=u,P[14]=m):(u=P[13],m=P[14]),(0,n.useEffect)(u,m),P[15]!==_||P[16]!==R?(p=()=>{let e=d(document.querySelector(_),e=>I(!e)),t=d(document.querySelector(R),L),i=d(document.querySelector("footer"),F);return()=>{e(),t(),i()}},f=[_,R],P[15]=_,P[16]=R,P[17]=p,P[18]=f):(p=P[17],f=P[18]),(0,n.useEffect)(p,f),P[19]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{let e=()=>{let e=z.current;if(!e)return;let t=window.innerWidth-24,i=e.scrollWidth;O(i>0?Math.min(1,t/i):1)};e();let t=new ResizeObserver(e);return z.current&&t.observe(z.current),window.addEventListener("resize",e),()=>{t.disconnect(),window.removeEventListener("resize",e)}},v=[],P[19]=g,P[20]=v):(g=P[19],v=P[20]),(0,n.useEffect)(g,v);let q=D?"translate-y-0":"translate-y-full";P[21]!==q?(x=(0,s.default)("border-nova-guide nova-desktop:block fixed inset-x-0 bottom-0 z-50 hidden border-t bg-black transition-transform duration-300 ease-out",q),P[21]=q,P[22]=x):x=P[22],P[23]!==l?
13(y=(0,t.jsx)("div",{className:"flex items-center gap-[clamp(40px,11.9vw,172px)]",children:l.map(c)}),P[23]=l,P[24]=y):y=P[24],P[25]===Symbol.for("react.memo_cache_sentinel")?(b=(0,t.jsxs)("div",{className:"flex shrink-0 items-center gap-4",children:[(0,t.jsx)("p",{className:"font-nova-sans text-[16px] leading-6 whitespace-nowrap text-white",children:"Limited seats available"}),(0,t.jsx)(a.default,{action:"apply",widthClass:"w-47.5",borderClass:"border-white/10",children:"Apply now"})]}),P[25]=b):b=P[25],P[26]!==y?(w=(0,t.jsxs)("div",{className:"mx-auto flex h-21 w-full max-w-360 items-center justify-between px-(--gutter,60px)",children:[y,b]}),P[26]=y,P[27]=w):w=P[27],P[28]!==w||P[29]!==x?(j=(0,t.jsx)("div",{className:x,children:w}),P[28]=w,P[29]=x,P[30]=j):j=P[30];let H=U?"translate-y-0":"translate-y-full";P[31]!==H?(N=(0,s.default)("border-nova-grey-4e bg-nova-grey-09 nova-desktop:hidden fixed inset-x-0 bottom-0 z-50 flex justify-center border-[0.5px] px-3 pt-2.5 pb-[calc(10px+env(safe-area-inset-bottom))] transition-transform duration-300 ease-out",H),P[31]=H,P[32]=N):N=P[32];let X=`scale(${B})`;return P[33]!==X?(k={transform:X,transformOrigin:"center"},P[33]=X,P[34]=k):k=P[34],P[35]===Symbol.for("react.memo_cache_sentinel")?(S=(0,t.jsx)(a.default,{action:"brochure",variant:"secondary",tone:"translucent",className:"shrink-0",children:"Download brochure"}),T=(0,t.jsx)(a.default,{action:"apply",widthClass:"w-47.5",borderClass:"border-white/10",children:"Apply now"}),P[35]=S,P[36]=T):(S=P[35],T=P[36]),P[37]!==k?(E=(0,t.jsxs)("div",{ref:z,className:"flex items-center justify-center gap-2",style:k,children:[S,T]}),P[37]=k,P[38]=E):E=P[38],P[39]!==N||P[40]!==E?(M=(0,t.jsx)("div",{className:N,children:E}),P[39]=N,P[40]=E,P[41]=M):M=P[41],P[42]===Symbol.for("react.memo_cache_sentinel")?(C=(0,t.jsx)("div",{"aria-hidden":!0,className:"nova-desktop:h-21.25 h-25"}),P[42]=C):C=P[42],P[43]!==j||P[44]!==M?(A=(0,t.jsxs)(t.Fragment,{children:[j,M,C]}),P[43]=j,P[44]=M,P[45]=A):A=P[45],A}])},581985,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(3485),s=e.i(568535),a=e.i(210134),r=e.i(100158),o=e.i(198890);let l=[`${o.CDN}/program/tools/tool-10.9f4ea6bf.webp`,`${o.CDN}/program/tools/tool-06.deac66d7.webp`,`${o.CDN}/program/tools/tool-02.21ba86ca.webp`,`${o.CDN}/program/tools/tool-07.49dc381b.webp`,`${o.CDN}/program/tools/tool-14.55247bd1.webp`,`${o.CDN}/program/tools/tool-01.ab98eeec.webp`,`${o.CDN}/program/tools/tool-13.bdea8518.webp`,`${o.CDN}/program/tools/tool-16.f8cca105.webp`,`${o.CDN}/program/tools/tool-15.6cbe71aa.webp`,`${o.CDN}/program/tools/tool-03.283a1fd6.webp`,`${o.CDN}/program/tools/tool-09.eead5db3.webp`,`${o.CDN}/program/tools/tool-08.b6262b49.webp`,`${o.CDN}/program/tools/tool-11.4c4208bf.webp`,`${o.CDN}/program/tools/tool-12.8a77b540.webp`,`${o.CDN}/program/tools/tool-04.78673e12.webp`,`${o.CDN}/program/tools/tool-05.4711edf6.webp`],c=e=>1-Math.pow(1-e,3),d=e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,u=[{x:9.2,y:6,d:1,delay:0},{x:32.3,y:2,d:1,delay:.06},{x:58.1,y:2.5,d:1,delay:.1},{x:88.2,y:7,d:1,delay:.14},{x:70.2,y:17,d:.73,delay:.18},{x:24.1,y:24,d:.73,delay:.22},{x:47.1,y:20,d:.73,delay:.26},{x:86.8,y:36,d:1,delay:.3},{x:13.2,y:42,d:1,delay:.2},{x:41.6,y:76,d:1,delay:.38},{x:69.4,y:75,d:.73,delay:.42},{x:93.3,y:68,d:1,delay:.46},{x:6.6,y:78,d:.73,delay:.34},{x:24.7,y:88,d:1,delay:.5},{x:57.3,y:90,d:1,delay:.28},{x:82.6,y:88,d:.73,delay:.55},{x:78,y:5,d:.73,delay:.12},{x:97,y:30,d:.73,delay:.24},{x:3,y:63,d:1,delay:.36},{x:31,y:61,d:.73,delay:.44},{x:60,y:62,d:.73,delay:.48},{x:94,y:56,d:.73,delay:.52}],h={program:{iconScale:.8,headline:"max-w-260 font-nova-display text-[48px]",ground:"opacity-40",titleShift:20},genai:{iconScale:.92,headline:"max-w-260 font-nova-display text-[60px]",ground:"opacity-40",titleShift:20},bel:{iconScale:.6673846153846154,headline:"max-w-260 font-nova-display text-[48px]",ground:"opacity-20",titleShift:20}};function m(e,t,i,n){return t+(e-t)*Math.pow(2,-i/n)}function p(e,t){e.style.opacity=`${t}`,e.style.transform=`translateY(${(1-t)*22}px)`}function f(e,t){return{x:e.x,y:e.y,d:1,delay:u[t]?.delay??0}}function g(e,t){return{text:e,id:`${t}-${e}`}}e.s(["default",0,function(e){var v;let x,y,b,w,j,N,k,S,T,E,M,C,A,P,_,R,D,I,$,L,V,F,B,O,z,U,W,q,H,X=(0,i.c)(33),{headline:G,subline:Y,finale:K,icons:J,field:Z,variant:Q}=void 0===e?{}:e,ee=void 0===K?"and 50+ more tools":K,et=void 0===J?l:J,{iconScale:ei,headline:en,ground:es,titleShift:ea}=h[void 0===Q?"program":Q],er=(void 0===G?"Learn In-Demand Technologies & AI Tools to Build Production-Ready Applications":G).split(" ").map(g),eo=er.length,{sectionRef:el,titleRef:ec,subRef:ed,text2Ref:eu,stageRef:eh,wordRefs:em,iconRefs:ep}=(v=et.length,(L=(0,i.c)(13))[0]!==Z||L[1]!==v?(A=Z?Z.map(f):u.slice(0,v),L[0]=Z,L[1]=v,L[2]=A):A=L[2],V=A,F=(0,n.useRef)(null),B=(0,n.useRef)(null),O=(0,n.useRef)(null),z=(0,n.useRef)(null),U=(0,n.useRef)(null),L[3]===Symbol.for("react.memo_cache_sentinel")?(P=[],L[3]=P):P=L[3],W=(0,n.useRef)(P),L[4]===Symbol.for("react.memo_cache_sentinel")?(_=[],L[4]=_):_
13=L[4],q=(0,n.useRef)(_),L[5]===Symbol.for("react.memo_cache_sentinel")?(R=[],L[5]=R):R=L[5],H=(0,n.useRef)(R),L[6]!==V||L[7]!==Z||L[8]!==ei||L[9]!==eo?(D=()=>{let e=F.current,t=B.current,i=z.current;if(!e||!t||!i)return;let n=(0,r.prefersReducedMotion)(),s={tx:0,ty:0,cx:0,cy:0},o=(e,t,i,n,a)=>{let r=c(i);e.style.opacity=`${i}`;let o=t.d*(.9+.1*r)*ei,l=6*s.cx*t.d,d=6*s.cy*t.d;e.style.transform=`translate(-50%, -50%) translate(${n*(1-r)+l}px, ${a*(1-r)+d}px) scale(${o})`},l=e=>{i.style.opacity=`${e}`,i.style.transform=`translate(-50%, -50%) translateY(${(1-e)*46}px)`},u=()=>{let e=U.current;if(!e)return;let t=e.clientWidth,i=e.clientHeight;if(!t||!i)return;let n=60*!Z,s=Math.max(1,i-n-60*!Z),r=V.map(e=>({x:e.x/100*t,y:n+e.y/100*s,r:78*e.d/2})),o=.24*t,l=.76*t,c=.41*i,d=.59*i;for(let e=0;e<200*!Z;e++){for(let e=0;e<r.length;e++)for(let t=e+1;t<r.length;t++){let i=r[e],n=r[t],s=n.x-i.x,a=n.y-i.y,o=Math.hypot(s,a)||.001,l=s/o,c=a/o;if(o<240){let e=0*(1-o/240)/2;i.x=i.x-l*e,i.y=i.y-c*e,n.x=n.x+l*e,n.y=n.y+c*e}let d=i.r+n.r+48;if(o<d){let e=(d-o)/2;i.x=i.x-l*e,i.y=i.y-c*e,n.x=n.x+l*e,n.y=n.y+c*e}}for(let e of r){if(e.x+e.r>o&&e.x-e.r<l&&e.y+e.r>c&&e.y-e.r<d){let t=e.x+e.r-o,i=l-(e.x-e.r),n=e.y+e.r-c,s=d-(e.y-e.r),a=Math.min(t,i,n,s);a===t?e.x=e.x-t:a===i?e.x=e.x+i:a===n?e.y=e.y-n:e.y=e.y+s}e.x=Math.max(e.r,Math.min(t-e.r,e.x)),e.y=Math.max(60+e.r,Math.min(i-60-e.r,e.y))}}let u=1/Math.SQRT2;H.current=r.map(e=>{let n=(e.x<t/2?-1:1)*150*u,s=(e.y<i/2?-1:1)*150*u,r=1;return n<0?r=Math.min(1,-((e.x-(e.r+16))/n)):n>0&&(r=Math.min(1,(t-e.r-16-e.x)/n)),s<0?r=Math.min(r,-((e.y-(e.r+16))/s)):s>0&&(r=Math.min(r,(i-e.r-16-e.y)/s)),[n*(r=(0,a.clamp01)(r)),s*r]}),r.forEach((e,t)=>{let i=q.current[t];i&&(i.style.left=`${e.x}px`,i.style.top=`${e.y}px`)})},h=e=>{let i=eo>1?.1/(eo-1):0;W.current.forEach((t,n)=>{t&&p(t,c((0,a.clamp01)((e-n*i)/.06)))}),O.current&&(O.current.style.opacity=`${c((0,a.clamp01)((e-.1)/.1))}`);let n=1-.28*d((0,a.clamp01)((e-.2)/.26)),s=d((0,a.clamp01)((e-.6)/.16000000000000003));t.style.opacity=`${1-s}`,t.style.transform=`translateY(${-(60*s)}px) scale(${n})`;let r=(0,a.clamp01)((e-.2)/.36000000000000004);V.forEach((e,t)=>{let i=q.current[t];if(!i)return;let n=H.current[t]??[0,0];o(i,e,(0,a.clamp01)((r-e.delay)/.42),n[0],n[1])}),l(c((0,a.clamp01)((e-.78)/.15999999999999992)))};if(u(),n){W.current.forEach(e=>e&&p(e,1)),O.current&&(O.current.style.opacity="1"),t.style.transform="scale(0.72)",t.style.opacity="1",V.forEach((e,t)=>{let i=q.current[t];i&&o(i,e,1,0,0)}),l(0);return}let f=0,g=0,v=0,x=()=>{f=e.getBoundingClientRect().top+window.scrollY,g=e.offsetHeight,v=window.innerHeight},y=0,b=0,w=0,j=0,N=()=>{let e=.3*v,t=g-v+e;y=t>0?(0,a.clamp01)((window.scrollY-(f-e))/t):0},k=e=>{let t=Math.min(e-j,100);j=e,b=m(b,y,t,80),s.cx=m(s.cx,s.tx,t,90),s.cy=m(s.cy,s.ty,t,90);let i=2e-4>Math.abs(y-b)&&5e-4>Math.abs(s.tx-s.cx)&&5e-4>Math.abs(s.ty-s.cy);i&&(b=y,s.cx=s.tx,s.cy=s.ty),h(b),w=i?0:requestAnimationFrame(k)},S=()=>{w||(j=performance.now(),w=requestAnimationFrame(k))},T=()=>{N(),S()},E=()=>{u(),x(),N(),S()},M=e=>{let t=U.current;if(!t)return;let i=t.getBoundingClientRect();if(!i.width||!i.height)return;let n=e.clientX>=i.left&&e.clientX<=i.right&&e.clientY>=i.top&&e.clientY<=i.bottom;s.tx=n?Math.max(-1,Math.min(1,(e.clientX-(i.left+i.width/2))/(i.width/2))):0,s.ty=n?Math.max(-1,Math.min(1,(e.clientY-(i.top+i.height/2))/(i.height/2))):0,S()};return window.addEventListener("scroll",T,{passive:!0}),window.addEventListener("resize",E),window.addEventListener("mousemove",M,{passive:!0}),x(),N(),h(b=y),()=>{window.removeEventListener("scroll",T),window.removeEventListener("resize",E),window.removeEventListener("mousemove",M),cancelAnimationFrame(w)}},I=[eo,ei,V,Z],L[6]=V,L[7]=Z,L[8]=ei,L[9]=eo,L[10]=D,L[11]=I):(D=L[10],I=L[11]),(0,n.useEffect)(D,I),L[12]===Symbol.for("react.memo_cache_sentinel")?($={sectionRef:F,titleRef:B,subRef:O,text2Ref:z,stageRef:U,wordRefs:W,iconRefs:q},L[12]=$):$=L[12],$),ef=(0,s.default)("px-6 text-center",en,"leading-[1.5] tracking-[-0.01em] text-balance");X[0]!==eo||X[1]!==em?(x=(e,i)=>(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)("span",{ref:e=>{em.current[i]=e},className:"inline-block opacity-0 will-change-[transform,opacity]",children:e.text}),i<eo-1?" ":""]},e.id),X[0]=eo,X[1]=em,X[2]=x):x=X[2];let eg=er.map(x);if(X[3]!==es?(y=(0,s.default)("absolute inset-0 bg-center bg-no-repeat",es),X[3]=es,X[4]=y):y=X[4],X[5]===Symbol.for("react.memo_cache_sentinel")?(b={backgroundImage:`url(${o.CDN}/genai/hero/halftone.f20c0522.webp)`,backgroundSize:"cover"}
13,X[5]=b):b=X[5],X[6]!==y?(w=(0,t.jsx)("div",{"aria-hidden":!0,className:y,style:b}),X[6]=y,X[7]=w):w=X[7],X[8]!==ep||X[9]!==et){let e;X[11]!==ep?(e=(e,i)=>(0,t.jsx)("img",{loading:"lazy",decoding:"async",ref:e=>{ep.current[i]=e},src:e,alt:"",style:{width:78,height:78},className:"absolute block opacity-0 will-change-[transform,opacity]"},i),X[11]=ep,X[12]=e):e=X[12],j=et.map(e),X[8]=ep,X[9]=et,X[10]=j}else j=X[10];X[13]!==eh||X[14]!==j?(N=(0,t.jsx)("div",{ref:eh,"aria-hidden":!0,className:"absolute inset-0 z-0",children:j}),X[13]=eh,X[14]=j,X[15]=N):N=X[15];let ev=`translateY(${ea}px)`;X[16]!==ev?(k={transform:ev},X[16]=ev,X[17]=k):k=X[17];let ex=Y?(0,t.jsxs)("div",{ref:e=>{ec.current=e},className:"flex flex-col items-center gap-4 will-change-transform",children:[(0,t.jsx)("h2",{className:ef,children:eg}),(0,t.jsx)("p",{ref:ed,className:"leading-nova-body tracking-nova-body text-nova-grey-9f max-w-140 px-6 text-center text-[18px] opacity-0",children:Y})]}):(0,t.jsx)("h2",{ref:e=>{ec.current=e},className:(0,s.default)(ef,"will-change-transform"),children:eg});return X[18]===Symbol.for("react.memo_cache_sentinel")?(S={transform:"translate(-50%, -50%)"},X[18]=S):S=X[18],X[19]!==ee||X[20]!==eu?(T=(0,t.jsx)("p",{ref:eu,style:S,className:"font-nova-display absolute top-1/2 left-1/2 text-[44px] tracking-[-0.01em] whitespace-nowrap opacity-0 will-change-[transform,opacity]",children:ee}),X[19]=ee,X[20]=eu,X[21]=T):T=X[21],X[22]!==k||X[23]!==ex||X[24]!==T?(E=(0,t.jsxs)("div",{className:"absolute inset-0 z-10 flex items-center justify-center",style:k,children:[ex,T]}),X[22]=k,X[23]=ex,X[24]=T,X[25]=E):E=X[25],X[26]!==w||X[27]!==N||X[28]!==E?(M=(0,t.jsx)("div",{className:"nova-desktop:h-[calc(100vh_-_85px)] sticky top-0 h-[calc(100vh_-_70px_-_env(safe-area-inset-bottom))] overflow-hidden",children:(0,t.jsx)("div",{className:"size-full",children:(0,t.jsx)("div",{className:"h-full",children:(0,t.jsxs)("div",{className:"border-nova-guide relative h-full overflow-hidden border",children:[w,N,E]})})})}),X[26]=w,X[27]=N,X[28]=E,X[29]=M):M=X[29],X[30]!==el||X[31]!==M?(C=(0,t.jsx)("section",{ref:el,className:"bg-nova-bg relative h-[260vh]",children:M}),X[30]=el,X[31]=M,X[32]=C):C=X[32],C}],581985)},62266,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(761399),s=e.i(114222);e.s(["default",0,e=>{let a,r,o,l,c,d,u,h=(0,i.c)(23);h[0]!==e?({action:a,className:l,ariaLabel:r,children:o,...c}=e,h[0]=e,h[1]=a,h[2]=r,h[3]=o,h[4]=l,h[5]=c):(a=h[1],r=h[2],o=h[3],l=h[4],c=h[5]);let m=(0,n.useNovaCta)(a);if(m.hidden)return null;h[6]!==o||h[7]!==m.label?(d=(0,s.default)(o,m.label),h[6]=o,h[7]=m.label,h[8]=d):d=h[8];let p=d;if(m.href){let e,i="_blank"===m.target?"noreferrer noopener":void 0;return h[9]!==r||h[10]!==l||h[11]!==p||h[12]!==m.href||h[13]!==m.target||h[14]!==c||h[15]!==i?(e=(0,t.jsx)("a",{href:m.href,target:m.target,rel:i,"aria-label":r,className:l,...c,children:p}),h[9]=r,h[10]=l,h[11]=p,h[12]=m.href,h[13]=m.target,h[14]=c,h[15]=i,h[16]=e):e=h[16],e}let f=`cursor-pointer ${l??""}`;return h[17]!==r||h[18]!==p||h[19]!==m.onClick||h[20]!==c||h[21]!==f?(u=(0,t.jsx)("button",{type:"button",onClick:m.onClick,"aria-label":r,className:f,...c,children:p}),h[17]=r,h[18]=p,h[19]=m.onClick,h[20]=c,h[21]=f,h[22]=u):u=h[22],u}])},656603,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(3485),s=e.i(821113),a=e.i(761399);let r=e=>String(Math.max(0,e)).padStart(2,"0"),o=e=>{let t=Math.max(0,Math.floor((e-Date.now())/1e3)),i=Math.floor(t/86400),n=Math.floor(t%86400/3600),s=Math.floor(t%3600/60);return`${r(i)}:${r(n)}:${r(s)}:${r(t%60)}`};function l(e){let r,l,c,d,u,h,m,p=(0,i.c)(15),{className:f}=e,{enrolmentEndsAt:g}=(0,a.useNovaSchedule)();p[0]!==g?(l=Number.isFinite(r=g?Date.parse(g):NaN),p[0]=g,p[1]=r,p[2]=l):(r=p[1],l=p[2]);let v=l,x=(0,n.useRef)(null);p[3]===Symbol.for("react.memo_cache_sentinel")?(c={margin:"200px"},p[3]=c):c=p[3];let y=(0,s.useInView)(x,c),b=(0,n.useRef)(null);p[4]!==r||p[5]!==v?(d=()=>v?o(r):"",p[4]=r,p[5]=v,p[6]=d):d=p[6];let[w,j]=(0,n.useState)(d);return(p[7]!==r||p[8]!==v||p[9]!==y?(u=()=>{if(!v)return;null===b.current&&(b.current=r);let e=()=>j(o(b.current));if(e(),!y)return;let t=setInterval(e,1e3);return()=>clearInterval(t)},h=[y,r,v],p[7]=r,p[8]=v,p[9]=y,p[10]=u,p[11]=h):(u=p[10],h=p[11]),(0,n.useEffect)(u,h),v)?(p[12]!==f||p[13]!==w?(m=(0,t.jsx)("span",{ref:x,className:f,suppressHydrationWarning:!0,children:w}),p[12]=f,p[13]=w,p[14]=m):m=p[14],m):null}e.s(["default",0,e=>{let n,s,r,o=(0,i.c)(10),{labelClassName:c,countdownClassName:d,closedLabel:u}=e,{enrolmentClosed:h,enrolmentEndsAt:m}=(0,a.useNovaSchedule)();if(!m)return null;if(h){let e;return u?(o[0]!==u||o[1]!==c?(e=(0,t.jsx)("span",{className:c,children:u}),o[0]=u,o[1]=c,o[2]=e):e=o[2],e):null}return o[3]!==c?(n=(0,t.jsx)("span",{className:c,children:"enrolment ends in "}),o[3]=c,o[4]=n):n=o[4],o[5]!==d?(s=(0,t.jsx)(l,{className:d}),o[5]=d,o[6]=s):s=o[6],o[7]!==n||o[8]!==s?(r=(0,t.jsxs)(t.Fragment,{children:[n,s]}),o[7]=n,o[8]=s,o[9]=r):r=o[9],r}],656603)},226679,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(761399);e.s(["PriceWhen",0,e=>{let s,a=(0,i.c)(4),{field:r,children:o}=e,l=(0,n.useNovaPricing)();return a[0]!==o||a[1]!==r||a[2]!==l?(s=void 0===l[r]?null:(0,t.jsx)(t.Fragment,{children:o}),a[0]=o,a[1]=r,a[2]=l,a[3]=s):s=a[3],s},"default",0,e=>{let s,a=(0,i.c)(2),{field:r}=e,o=(0,n.useNovaPricing)()[r];return a[0]!==o?(s=void 0===o?null:(0,t.jsx)(t.Fragment,{children:o}),a[0]=o,a[1]=s):s=a[1],s}])},894072,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(3485),s=e.i(516365),a=e.i(457617);e.s(["default",0,function(e){let r,o,l,c,d,u=(0,i.c)(15),{children:h,className:m,y:p,delay:f,duration:g,threshold:v,once:x}=e,y=void 0===m?"":m,b=void 0===f?0:f,w=void 0===g?.6:g,j=void 0===v?.1:v,N=void 0===x||x,k=(0,n.useRef)(null),S=(0,a.useReducedMotion)(),[T,E]=(0,n.use
13State)(!1),[M,C]=(0,n.useState)(!1),A=T||S;u[0]!==N||u[1]!==S||u[2]!==j?(r=()=>{let e=k.current;if(!e||S)return;let t=new IntersectionObserver(e=>{let i=e[e.length-1];i.isIntersecting&&i.intersectionRatio>=j?(E(!0),N&&t.disconnect()):N||0!==i.intersectionRatio||(E(!1),C(!1))},{threshold:[0,j],rootMargin:"0px 0px -8% 0px"});return t.observe(e),()=>t.disconnect()},o=[j,N,S],u[0]=N,u[1]=S,u[2]=j,u[3]=r,u[4]=o):(r=u[3],o=u[4]),(0,n.useEffect)(r,o);let P=+!!A,_=A?"none":`translate3d(0, ${void 0===p?28:p}px, 0)`,R=T?`opacity ${w}s ${s.EASE_IN_OUT} ${b}s, transform ${w}s ${s.EASE_IN_OUT} ${b}s`:"none",D=S||M?void 0:"opacity, transform";return u[5]!==_||u[6]!==R||u[7]!==D||u[8]!==P?(l={opacity:P,transform:_,transition:R,willChange:D},u[5]=_,u[6]=R,u[7]=D,u[8]=P,u[9]=l):l=u[9],u[10]===Symbol.for("react.memo_cache_sentinel")?(c=e=>{e.target===e.currentTarget&&C(!0)},u[10]=c):c=u[10],u[11]!==h||u[12]!==y||u[13]!==l?(d=(0,t.jsx)("div",{ref:k,className:y,style:l,onTransitionEnd:c,children:h}),u[11]=h,u[12]=y,u[13]=l,u[14]=d):d=u[14],d}])},938445,e=>{"use strict";var t=e.i(519834),i=e.i(585732),n=e.i(761399);e.s(["ScheduleWhen",0,e=>{let s,a,r,o=(0,i.c)(10),{field:l,children:c}=e,d=(0,n.useNovaSchedule)();o[0]!==l?(s=Array.isArray(l)?l:[l],o[0]=l,o[1]=s):s=o[1];let u=s;if(o[2]!==u||o[3]!==d){let e;o[5]!==d?(e=e=>void 0!==d[e],o[5]=d,o[6]=e):e=o[6],a=u.every(e),o[2]=u,o[3]=d,o[4]=a}else a=o[4];let h=a;return o[7]!==c||o[8]!==h?(r=h?(0,t.jsx)(t.Fragment,{children:c}):null,o[7]=c,o[8]=h,o[9]=r):r=o[9],r},"default",0,e=>{let s,a=(0,i.c)(2),{field:r}=e,o=(0,n.useNovaSchedule)()[r];return a[0]!==o?(s=void 0===o?null:(0,t.jsx)(t.Fragment,{children:o}),a[0]=o,a[1]=s):s=a[1],s}])},743689,670178,e=>{"use strict";let t=[{label:"Phase 1",title:"Build backend systems",blurb:"Core backend engineering with AI-assisted development",tracks:[{key:"java",label:"Java & Spring Boot",modules:[{no:"Module 01",title:"Backend systems & the Java runtime",desc:"HTTP, web architecture, JVM and memory"},{no:"Module 02",title:"Object-oriented Java",desc:"Classes, interfaces, encapsulation, inheritance and polymorphism"},{no:"Module 03",title:"API development with Spring Boot",desc:"Controllers, services and dependency injection"},{no:"Module 04",title:"Relational data with JPA",desc:"Entity modeling, Hibernate, queries and transactions"},{no:"Module 05",title:"API contracts",desc:"Validation, error handling and pagination"},{no:"Module 06",title:"Testing Java services",desc:"JUnit, Mockito, Spring Test and integration testing"},{no:"Module 07",title:"Authentication & application security",desc:"JWT, OAuth, RBAC and secure API design"},{no:"Module 08",title:"Working with AI coding agents",desc:"Repository context, change plans, tests and diff review"},{no:"Module 09",title:"Concurrency & performance",desc:"Threads, async processing, caching and profiling"},{no:"Module 10",title:"Taking a Java service live",desc:"Logging, health checks and deployment"}]},{key:"node",label:"Node.js",modules:[{no:"Module 01",title:"Backend systems & the Node.js runtime",desc:"HTTP, modules, event loop and non-blocking I/O"},{no:"Module 02",title:"Modern JavaScript",desc:"Functions, closures, promises, async/await and error handling"},{no:"Module 03",title:"Building services with Node.js & Express",desc:"Routing, middleware and service structure"},{no:"Module 04",title:"Data modeling with MongoDB",desc:"Schemas, Mongoose, indexes and query design"},{no:"Module 05",title:"API contracts",desc:"Validation, error handling, pagination and OpenAPI documentation"},{no:"Module 06",title:"Authentication & application security",desc:"JWT, RBAC, rate limiting and input security"},{no:"Module 07",title:"Testing Node.js services",desc:"Jest, Supertest, mocks and integration testing"},{no:"Module 08",title:"Working with AI coding agents",desc:"Codebase navigation, change plans, tests and diff review"},{no:"Module 09",title:"Event-driven backend systems",desc:"Streams and WebSockets"},{no:"Module 10",title:"Taking a Node.js service live",desc:"Performance, logging, health checks and deployment"}]},{key:"python",label:"Python & Django",modules:[{no:"Module 01",title:"Python for backend engineering",desc:"OOP, iterators, packaging and environments"},{no:"Module 02",title:"Django architecture",desc:"Applications, settings, middleware and request lifecycle"},{no:"Module 03",title:"API development with Django REST Framework",desc:"Seri
13alizers, views and validation"},{no:"Module 04",title:"Building with FastAPI",desc:"Routing, Pydantic schemas, dependency injection and automatic API documentation"},{no:"Module 05",title:"Relational data with Django ORM",desc:"Models, relations, migrations and transactions"},{no:"Module 06",title:"API contracts",desc:"Filtering, pagination, error handling and OpenAPI documentation"},{no:"Module 07",title:"Authentication & application security",desc:"JWT, permissions, RBAC and rate limiting"},{no:"Module 08",title:"Testing Django services",desc:"Pytest, fixtures, factories and integration testing"},{no:"Module 09",title:"Working with AI coding agents",desc:"Repository context, change plans, tests and diff review"},{no:"Module 10",title:"Background work & performance",desc:"Celery, Redis, retries, caching and query profiling"},{no:"Module 11",title:"Taking a Python service live",desc:"Performance, logging, health checks and deployment"}]}]},{label:"Phase 2",title:"Design maintainable software",blurb:"Low-level design and AI-assisted engineering",modules:[{no:"Module 01",title:"Requirement clarification & domain modeling",desc:"Actors, use cases, entities and invariants"},{no:"Module 02",title:"Object-oriented design",desc:"Responsibilities, abstractions, cohesion and coupling"},{no:"Module 03",title:"Designing stable software",desc:"SOLID, composition, interfaces and dependency management"},{no:"Module 04",title:"Design patterns in context",desc:"Selection, trade-offs, anti-patterns and practical usage"},{no:"Module 05",title:"Applied LLD & machine coding",desc:"State, persistence, concurrency and failure handling"},{no:"Module 06",title:"Spec-driven engineering with AI agents",desc:"Plan, implement, refactor and verify"}]},{label:"Phase 3",title:"Build AI capabilities",blurb:"Applied AI engineering",modules:[{no:"Module 01",title:"Agentic software development",desc:"Planning, task delegation, code review and verification"},{no:"Module 02",title:"LLM application foundations",desc:"Model behavior, tokens, model selection, prompting and structured outputs"},{no:"Module 03",title:"Context engineering",desc:"System instructions, context assembly, memory, tool outputs, context compression and token budgets"},{no:"Module 04",title:"Reliable model integrations",desc:"Streaming, schema validation, timeouts, retries, rate limits and provider fallbacks"},{no:"Module 05",title:"Retrieval-augmented generation",desc:"Embeddings, chunking, hybrid search, reranking and citations"},{no:"Module 06",title:"Agents & tool use",desc:"Function calling, MCP, orchestration, state and human approval"},{no:"Module 07",title:"AI evals & quality measurement",desc:"Golden datasets, task-specific metrics, LLM-as-judge, human review and regression gates"},{no:"Module 08",title:"AI safety, observability & operations",desc:"Guardrails, prompt injection, data security, tracing, monitoring, latency and cost"}]},{label:"Phase 4",title:"Engineer the data layer",blurb:"Data modeling, databases and retrieval systems",modules:[{no:"Module 01",title:"Data modeling for production systems",desc:"Entities, relationships, normalization and constraints"},{no:"Module 02",title:"Transactions & consistency",desc:"ACID, isolation levels, locking and concurrent updates"},{no:"Module 03",title:"Advanced SQL & query performance",desc:"Joins, window functions, indexes and execution plans"},{no:"Module 04",title:"Scaling data systems",desc:"Caching, replication, partitioning, NoSQL and read/write trade-offs"},{no:"Module 05",title:"Retrieval systems for AI",desc:"Vector indexes, hybrid search, metadata filtering and permissions"}]},{label:"Phase 5",title:"Architect for scale",blurb:"High-level system design",modules:[{no:"Module 01",title:"System design foundations",desc:"Requirements, capacity estimation, API and data flows, and bottleneck analysis"},{no:"Module 02",title:"Scaling web systems",desc:"Horizontal and vertical scaling, load balancing, caching, CDNs and rate limiting"},{no:"Module 03",title:"Data stores & distributed data",desc:"SQL versus NoSQL, replication, sharding, consistent hashing and CAP trade-offs"},{no:"Module 04",title:"Service architecture & real-time systems",desc:"Service boundaries, microservices, API gateways, queues, streams and WebSockets"},{no:"Module 05",title:"Reliability & failure recovery",desc:"Timeouts, retries, idempotency, circuit breakers, failover and disaster recovery"},{no:"Module 06",title:"Architecting AI-integrated systems",desc:"Model gateways, retrieval services, agent runtimes, eval pipelines and long-running workflows"},{no:"Module 07",title:"Production architecture & operations",desc:"Multi-tenancy, security, observability, SLOs, cost controls and incident response"},{no:"Module 08",title:"System design case studies",desc:"High-concurrency booking, personalized feeds, real-time messaging and production RAG"}]},{label:"Phase 6",title:"Deploy for a customer",blurb:"Forward deployed engineering and applied AI systems",modules:[{no:"Module 01",title:"FDE discovery, scope & applied AI architecture",desc:"Map the customer workflow, define success metrics, and decide where rules, automation, RAG or agents fit"}
13,{no:"Module 02",title:"Customer workflow build",desc:"APIs, ingestion pipelines, retrieval and tool-calling workflows, integrated with external systems and enterprise data"},{no:"Module 03",title:"Deployment readiness",desc:"Evaluation datasets, failure-case testing, approval boundaries, and monitoring for quality, latency and cost"},{no:"Module 04",title:"Production deployment & handoff",desc:"Containerize and deploy, run a pilot, prepare rollback and incident procedures, and hand over ownership"}]},{label:"DSA",title:"Java / Python",blurb:"Data structures, algorithms and interview problem solving, in the language you pick",unit:"Topics",tracks:[{key:"java",label:"Java",modules:[{no:"Topic 01",title:"Complexity & brute-to-optimal thinking",desc:"Time and space complexity, trade-offs and a repeatable framework for improving brute-force solutions"},{no:"Topic 02",title:"Core linear patterns",desc:"Arrays, hashing, prefix sums, two pointers, sliding windows, binary search, stacks, queues and deques"},{no:"Topic 03",title:"Linked structures, recursion & backtracking",desc:"Linked-list transformations, slow/fast pointers, recursion trees, subsets, permutations and pruning"},{no:"Topic 04",title:"Trees, BSTs & tries",desc:"Traversals, BFS/DFS, tree decomposition, lowest common ancestor, BST validation and prefix search"},{no:"Topic 05",title:"Heaps, intervals, greedy & bit manipulation",desc:"Top-K selection, two-heap patterns, sweep-line reasoning, scheduling, greedy proofs and compact state"},{no:"Topic 06",title:"Graph algorithms & connectivity",desc:"Graph modeling, BFS/DFS, topological sorting, cycle detection, Dijkstra and union-find"},{no:"Topic 07",title:"Dynamic programming",desc:"State design, memoization, tabulation, knapsack variants, string and grid DP, and tree DP"},{no:"Topic 08",title:"Integrated interview practice",desc:"Mixed-pattern problem solving, machine-coding framing, complexity defense and timed practice"},{no:"Topic 09",title:"Optional advanced DSA",desc:"Bellman-Ford, minimum spanning trees, interval DP, bitmasking, KMP and Rabin-Karp, Fenwick trees, segment-tree fundamentals and tree serialization"}]},{key:"python",label:"Python",modules:[{no:"Topic 01",title:"Complexity & brute-to-optimal thinking",desc:"Time and space complexity, trade-offs and a repeatable framework for improving brute-force solutions"},{no:"Topic 02",title:"Core linear patterns",desc:"Arrays, hashing, prefix sums, two pointers, sliding windows, binary search, stacks, queues and deques"},{no:"Topic 03",title:"Linked structures, recursion & backtracking",desc:"Linked-list transformations, slow/fast pointers, recursion trees, subsets, permutations and pruning"},{no:"Topic 04",title:"Trees, BSTs & tries",desc:"Traversals, BFS/DFS, tree decomposition, lowest common ancestor, BST validation and prefix search"},{no:"Topic 05",title:"Heaps, intervals, greedy & bit manipulation",desc:"Top-K selection, two-heap patterns, sweep-line reasoning, scheduling, greedy proofs and compact state"},{no:"Topic 06",title:"Graph algorithms & connectivity",desc:"Graph modeling, BFS/DFS, topological sorting, cycle detection, Dijkstra and union-find"},{no:"Topic 07",title:"Dynamic programming",desc:"State design, memoization, tabulation, knapsack variants, string and grid DP, and tree DP"},{no:"Topic 08",title:"Integrated interview practice",desc:"Mixed-pattern problem solving, machine-coding framing, complexity defense and timed practice"},{no:"Topic 09",title:"Optional advanced DSA",desc:"Bellman-Ford, minimum spanning trees, interval DP, bitmasking, KMP and Rabin-Karp, Fenwick trees, segment-tree fundamentals and tree serialization"}]}]}];function i(e,t=0){return e.tracks&&e.tracks.length?e.tracks[Math.min(t,e.tracks.length-1)].modules:e.modules??[]}e.s(["CURRICULUM_SUBLINE",0,"40+ modules · 6 phases + DSA · one AI-first path","PHASES",0,t],743689),e.s(["phaseCount",0,function(e,t=0){return e.count??i(e,t).length},"phaseModules",0,i],670178)},935654,e=>{"use strict";e.s(["LG",0,1024])},516365,e=>{"use strict";let t=[.22,1,.36,1],i=`cubic-bezier(${t.join(", ")})`;
13e.s(["EASE_IN_OUT",0,"cubic-bezier(0.65, 0, 0.35, 1)","EASE_IN_OUT_STRONG",0,"cubic-bezier(0.77, 0, 0.175, 1)","EASE_OUT",0,t,"EASE_OUT_CSS",0,i])},181811,e=>{"use strict";var t=e.i(585732),i=e.i(3485),n=e.i(935654);let s=`#version 300 es 14in vec2 a; void main(){ gl_Position = vec4(a,0.,1.); }`,a=`#version 300 es 15precision highp float; 16out vec4 o; 17uniform sampler2D u_prev; 18uniform vec2 u_hres; 19uniform vec2 u_mouse; 20uniform float u_radius, u_decay, u_gain; 21void main(){ 22 vec2 uv = gl_FragCoord.xy / u_hres; 23 vec2 px = 1.5 / u_hres; 24 float h = texture(u_prev, uv).r * 0.40 25 + texture(u_prev, uv + vec2( px.x, 0.0)).r * 0.15 26 + texture(u_prev, uv + vec2(-px.x, 0.0)).r * 0.15 27 + texture(u_prev, uv + vec2(0.0, px.y)).r * 0.15 28 + texture(u_prev, uv + vec2(0.0, -px.y)).r * 0.15; 29 h *= u_decay; 30 float d = distance(gl_FragCoord.xy, u_mouse); 31 float sigma = max(u_radius, 1.0) * 0.55; 32 h += exp(-(d*d) / (2.0*sigma*sigma)) * u_gain; 33 o = vec4(clamp(h, 0.0, 1.0), 0.0, 0.0, 1.0); 34}`,r=`#version 300 es 35precision highp float; 36out vec4 outColor; 37uniform vec2 u_res; 38uniform float u_time; 39uniform sampler2D u_heat; 40uniform float u_scale, u_dot, u_contrast, u_nspeed, u_nscale, u_gamma; 41uniform float u_maskMode; // 0 = triangle, 1 = fill 42uniform vec3 u_color; 43uniform vec3 u_accent; 44uniform float u_accentAmt; 45uniform float u_holo; // 0 = flat accent tint, 1 = holographic iridescence 46 47float hash(vec2 p){ p=fract(p*vec2(123.34,456.21)); p+=dot(p,p+45.32); return fract(p.x*p.y); } 48float vnoise(vec2 p){ 49 vec2 i=floor(p), f=fract(p); f=f*f*(3.0-2.0*f); 50 return mix(mix(hash(i),hash(i+vec2(1,0)),f.x), mix(hash(i+vec2(0,1)),hash(i+vec2(1,1)),f.x), f.y); 51} 52float fbm(vec2 p){ 53 float v=0.0, a=0.5; 54 for(int i=0;i<5;i++){ v+=a*vnoise(p); p=p*2.03+vec2(11.7,7.3); a*=0.5; } 55 return v; 56} 57float sdTri(vec2 p, float r){ 58 const float k = sqrt(3.0); 59 p.x = abs(p.x) - r; 60 p.y = p.y + r/k; 61 if(p.x + k*p.y > 0.0) p = vec2(p.x - k*p.y, -k*p.x - p.y)/2.0; 62 p.x -= clamp(p.x, -2.0*r, 0.0); 63 return -length(p)*sign(p.y); 64} 65const int bayer[16] = int[16](0,8,2,10, 12,4,14,6, 3,11,1,9, 15,7,13,5); 66 67// Iridescent foil colour — hue cycles with position, time and heat. 68vec3 hsv2rgb(vec3 c){ 69 vec4 K = vec4(1.0, 2.0/3.0, 1.0/3.0, 3.0); 70 vec3 pp = abs(fract(c.xxx + K.xyz) * 6.0 - K.www); 71 return c.z * mix(K.xxx, clamp(pp - K.xxx, 0.0, 1.0), c.y); 72} 73 74void main(){ 75 float ds = max(u_dot, 1.0); 76 vec2 frag = gl_FragCoord.xy; 77 vec2 cell = floor(frag/ds); 78 vec2 cc = (cell + 0.5) * ds; 79 vec2 p = (cc - 0.5*u_res) / min(u_res.x, u_res.y); 80 81 float r = 0.20 * u_scale; 82 float sd = sdTri(vec2(p.x, p.y + 0.02), r); 83 float mask = mix(step(sd, 0.0), 1.0, u_maskMode); 84 85 float t = u_time * u_nspeed * 0.14; 86 vec2 q = p * u_nscale; 87 float v = fbm(q + vec2(t*0.4, -t) + 1.5*fbm(q*0.6 + vec2(-t*0.3, t*0.2))); 88 v += (vnoise(q*7.0 + vec2(t*1.5, t)) - 0.5) * 0.12; 89 90 vec2 warp = (vec2(fbm(q*1.4 + vec2(7.1, 2.3)), 91 fbm(q*1.4 + vec2(-3.7, 5.9))) - 0.5) * u_res.y * 0.18; 92 float h = texture(u_heat, (cc + warp) / u_res).r; 93 h *= 0.55 + 0.95 * fbm(q*1.8 + vec2(t*0.6, -t*0.4)); 94 v += pow(h, 1.6) * 0.30; 95 96 v = clamp((v - 0.5) * u_contrast + 0.34, 0.0, 1.0); 97 v = pow(v, u_gamma); 98 99 ivec2 bc = ivec2(int(mod(cell.x,4.0)), int(mod(cell.y,4.0))); 100 float thr = (float(bayer[bc.y*4+bc.x]) + 0.5) / 16.0; 101 float lit = step(thr, v) * mask; 102 103 vec2 lp = (fract(frag/ds) - 0.5) * ds; 104 float dr = ds * 0.30; 105 float dot_a = 1.0 - smoothstep(dr - 1.0, dr, length(lp)); 106 107 float c = lit * dot_a; 108 // accent tints dots by heat — strongest at the bleed core, fading with it 109 vec3 col; 110 if (u_holo > 0.5) { 111 // holographic: rainbow bands across the field, drifting with time + intensified by cursor heat 112 float hue = fract(2.4 * p.x - 1.7 * p.y + 0.10 * u_time + 0.6 * h); 113 vec3 holo = hsv2rgb(vec3(hue, 0.9, 1.0)); 114 col = mix(u_color, holo, clamp(0.9 + 0.1 * h, 0.0, 1.0) * u_accentAmt); 115 } else { 116 col = mix(u_color, u_accent, clamp(h, 0.0, 1.0) * u_accentAmt); 117 } 118 outColor = vec4(col * c, c); // premultiplied — transparent between dots 119}`,o={scale:1.4,dotSize:4,contrast:3,noiseSpeed:2.3,noiseScale:3,gamma:1.85,mouseRadius:250,decay:.9,gain:.14,mask:"triangle",color:[204,204,204],accentColor:null,accentOpacity:1,holographic:!1,blend:"normal",opacity:1};function l(e,t,i){let n=e.createShader(t);if(e.shaderSource(n,i),e.compileShader(n),!e.getShaderParameter(n,e.COMPILE_STATUS))throw Error("DitherEffect shader: "+e.getShaderInfoLog(n));return n}function c(e,t){let i=e.createProgram();
119if(e.attachShader(i,l(e,e.VERTEX_SHADER,s)),e.attachShader(i,l(e,e.FRAGMENT_SHADER,t)),e.linkProgram(i),!e.getProgramParameter(i,e.LINK_STATUS))throw Error("DitherEffect link: "+e.getProgramInfoLog(i));return i}let d={scale:2.37,dotSize:3,contrast:2.16,noiseSpeed:2.3,noiseScale:6.27,gamma:1.66,mouseRadius:110,mask:"fill",color:[204,204,204],accentColor:"#ffffff",accentOpacity:1,blend:"normal",opacity:.4};e.s(["useDither",0,function(e){let s,l,u=(0,t.c)(3);u[0]!==e?(s=()=>{let t=e.current;if(!t)return;let i=null;try{i=function(e,t){if(window.innerWidth<n.LG)return{destroy(){}};let i=Object.assign({},o,t||{}),s=null,l=!1,d=new IntersectionObserver(t=>{if(l)return;let n=t.some(e=>e.isIntersecting);n&&!s?s=function(){"static"===getComputedStyle(e).position&&(e.style.position="relative");let t=document.createElement("canvas");t.style.cssText="position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;z-index:0;",e.appendChild(t);let n=t.getContext("webgl2",{antialias:!1,alpha:!0,premultipliedAlpha:!0});if(!n)return t.remove(),null;t.addEventListener("webglcontextlost",e=>{e.preventDefault(),p=!0,t.style.visibility="hidden"});let s=c(n,r),o=c(n,a),l=n.createBuffer();for(let e of(n.bindBuffer(n.ARRAY_BUFFER,l),n.bufferData(n.ARRAY_BUFFER,new Float32Array([-1,-1,3,-1,-1,3]),n.STATIC_DRAW),[s,o])){let t=n.getAttribLocation(e,"a");n.enableVertexAttribArray(t),n.vertexAttribPointer(t,2,n.FLOAT,!1,0,0)}let d={},u={};["u_res","u_time","u_heat","u_scale","u_dot","u_contrast","u_nspeed","u_nscale","u_gamma","u_maskMode","u_color","u_accent","u_accentAmt","u_holo"].forEach(e=>d[e]=n.getUniformLocation(s,e)),["u_prev","u_hres","u_mouse","u_radius","u_decay","u_gain"].forEach(e=>u[e]=n.getUniformLocation(o,e));let h=1,m=null,p=!1,f=0,g=[.8,.8,.8];function v(){var e;let n;g=i.accentColor?(3===(e=String(e=i.accentColor).replace("#","")).length&&(e=e.split("").map(e=>e+e).join("")),[((n=parseInt(e,16))>>16&255)/255,(n>>8&255)/255,(255&n)/255]):[i.color[0]/255,i.color[1]/255,i.color[2]/255],t.style.mixBlendMode=i.blend&&"normal"!==i.blend?i.blend:"",t.style.opacity=i.opacity}function x(){let i,s,a;h=Math.min(devicePixelRatio||1,2);let r=e.getBoundingClientRect();t.width=Math.max(1,Math.round(r.width*h)),t.height=Math.max(1,Math.round(r.height*h)),i=Math.max(1,Math.floor(t.width/4)),s=Math.max(1,Math.floor(t.height/4)),a=()=>{let e=n.createTexture();n.bindTexture(n.TEXTURE_2D,e),n.texImage2D(n.TEXTURE_2D,0,n.R8,i,s,0,n.RED,n.UNSIGNED_BYTE,null),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.L
119INEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE);let t=n.createFramebuffer();return n.bindFramebuffer(n.FRAMEBUFFER,t),n.framebufferTexture2D(n.FRAMEBUFFER,n.COLOR_ATTACHMENT0,n.TEXTURE_2D,e,0),n.clearColor(0,0,0,1),n.clear(n.COLOR_BUFFER_BIT),{t:e,f:t}},n.bindFramebuffer(n.FRAMEBUFFER,null),m={w:i,h:s,a:a(),b:a()}}v();let y=new ResizeObserver(x);y.observe(e),x();let b=-1e4,w=-1e4,j=-1e4,N=-1e4;function k(t){let i=e.getBoundingClientRect(),n=t.touches?t.touches[0]:t;j=n.clientX-i.left,N=n.clientY-i.top}e.addEventListener("pointermove",k),e.addEventListener("touchmove",k,{passive:!0});let S=performance.now();return!function e(){if(p)return;b+=(j-b)*.14,w+=(N-w)*.14,n.useProgram(o),n.bindFramebuffer(n.FRAMEBUFFER,m.b.f),n.viewport(0,0,m.w,m.h),n.activeTexture(n.TEXTURE0),n.bindTexture(n.TEXTURE_2D,m.a.t),n.uniform1i(u.u_prev,0),n.uniform2f(u.u_hres,m.w,m.h),n.uniform2f(u.u_mouse,b*h/4,(t.height-w*h)/4),n.uniform1f(u.u_radius,i.mouseRadius*h/4),n.uniform1f(u.u_decay,i.decay),n.uniform1f(u.u_gain,i.gain),n.drawArrays(n.TRIANGLES,0,3);let a=m.a;m.a=m.b,m.b=a,n.useProgram(s),n.bindFramebuffer(n.FRAMEBUFFER,null),n.viewport(0,0,t.width,t.height),n.activeTexture(n.TEXTURE0),n.bindTexture(n.TEXTURE_2D,m.a.t),n.uniform1i(d.u_heat,0),n.uniform2f(d.u_res,t.width,t.height),n.uniform1f(d.u_time,(performance.now()-S)/1e3),n.uniform1f(d.u_scale,i.scale),n.uniform1f(d.u_dot,i.dotSize*h),n.uniform1f(d.u_contrast,i.contrast),n.uniform1f(d.u_nspeed,i.noiseSpeed),n.uniform1f(d.u_nscale,i.noiseScale),n.uniform1f(d.u_gamma,i.gamma),n.uniform1f(d.u_maskMode,+("fill"===i.mask)),n.uniform3f(d.u_color,i.color[0]/255,i.color[1]/255,i.color[2]/255),n.uniform3f(d.u_accent,g[0],g[1],g[2]),n.uniform1f(d.u_accentAmt,i.accentOpacity),n.uniform1f(d.u_holo,+!!i.holographic),n.drawArrays(n.TRIANGLES,0,3),f=requestAnimationFrame(e)}(),{set(e){Object.assign(i,e||{}),v()},destroy(){p=!0,cancelAnimationFrame(f),y.disconnect(),e.removeEventListener("pointermove",k),e.removeEventListener("touchmove",k);let i=n.getExtension("WEBGL_lose_context");i&&i.loseContext(),t.remove()}}}():!n&&s&&(s.destroy(),s=null)},{rootMargin:"600px 0px",threshold:0});return d.observe(e),{set(e){Object.assign(i,e||{}),s&&s.set(e)},destroy(){l=!0,d.disconnect(),s&&(s.destroy(),s=null)}}}(t,d);let e=t.querySelector("canvas");e&&(e.style.zIndex="0")}catch{i=null}return()=>i?.destroy()},l=[e],u[0]=e,u[1]=s,u[2]=l):(s=u[1],l=u[2]),(0,i.useEffect)(s,l)}],181811)},673128,e=>{"use strict";var t=e.i(585732),i=e.i(3485),n=e.i(821113);e.s(["useIdlePreload",0,(e,s)=>{let a,r,o,l=(0,t.c)(5);l[0]===Symbol.for("react.memo_cache_sentinel")?(a={once:!0,margin:"1500px"},l[0]=a):a=l[0];let c=(0,n.useInView)(e,a);l[1]!==s||l[2]!==c?(r=()=>{if(!c)return;if(!("requestIdleCallback"in window))return void s();let e=requestIdleCallback(()=>s(),{timeout:2e3});return()=>cancelIdleCallback(e)},o=[c,s],l[1]=s,l[2]=c,l[3]=r,l[4]=o):(r=l[3],o=l[4]),(0,i.useEffect)(r,o)}])},457617,e=>{"use strict";var t=e.i(3485),i=e.i(100158);let n=e=>{let t=window.matchMedia(i.REDUCED_MOTION_QUERY);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)};function s(){return!1}e.s(["useReducedMotion",0,()=>(0,t.useSyncExternalStore)(n,i.prefersReducedMotion,s)])},646975,e=>{"use strict";e.s(["IN_VIEW",0,{margin:"-20% 0px"}])},210134,e=>{"use strict";e.s(["clamp01",0,e=>Math.min(1,Math.max(0,e))])},780260,e=>{"use strict";var t=e.i(3485);let i=!1,n=new Set,s=e=>(n.add(e),()=>{n.delete(e)});function a(){return!1}function r(){return i}e.s(["setNavHidden",0,function(e){e!==i&&(i=e,n.forEach(e=>e()))},"useNavHidden",0,function(){return(0,t.useSyncExternalStore)(s,r,a)}])},100158,e=>{"use strict";let t="(prefers-reduced-motion: reduce)";e.s(["REDUCED_MOTION_QUERY",0,t,"prefersReducedMotion",0,()=>!!window.matchMedia?.(t).matches])},400755,890416,e=>{"use strict";let t,i,n;var s=e.i(809801),a=e.i(519834),r=e.i(3485);let o=(0,r.createContext)({});function l(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}let c="u">typeof window?r.useLayoutEffect:r.useEffect,d=(0,r.createContext)(null),u=e=>"object"==typeof e&&null!==e;function h(e){return u(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}var m=r;let p=(0,r.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function f(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class g extends m.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(h(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,
119i=h(e)&&e.offsetWidth||0,n=h(e)&&e.offsetHeight||0,s=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(s.height),a.width=parseFloat(s.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=i-a.width-a.left,a.bottom=n-a.height-a.top,a.direction=s.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function v({children:e,isPresent:t,anchorX:i,anchorY:n,root:s,pop:o}){let l=(0,m.useId)(),c=(0,m.useRef)(null),d=(0,m.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:u}=(0,m.useContext)(p),h=function(...e){return r.useCallback(function(...e){return t=>{let i=!1,n=e.map(e=>{let n=f(e,t);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let t=0;t<n.length;t++){let i=n[t];"function"==typeof i?i():f(e[t],null)}}}}(...e),e)}(c,!1!==o?e.props?.ref??e?.ref:void 0);return(0,m.useInsertionEffect)(()=>{let{width:e,height:a,top:r,left:h,right:m,bottom:p,direction:f}=d.current;if(t||!1===o||!c.current||!e||!a)return;let g="rtl"===f,v="left"===i?g?`right: ${m}`:`left: ${h}`:g?`left: ${h}`:`right: ${m}`,x="bottom"===n?`bottom: ${p}`:`top: ${r}`;c.current.dataset.motionPopId=l;let y=document.createElement("style");u&&(y.nonce=u);let b=s??document.head;return b.appendChild(y),y.sheet&&y.sheet.insertRule(` 120 [data-motion-pop-id="${l}"] { 121 position: absolute !important; 122 width: ${e}px !important; 123 height: ${a}px !important; 124 ${v}px !important; 125 ${x}px !important; 126 } 127 `),()=>{c.current?.removeAttribute("data-motion-pop-id"),b.contains(y)&&b.removeChild(y)}},[t]),(0,a.jsx)(g,{isPresent:t,childRef:c,sizeRef:d,pop:o,children:!1===o?e:m.cloneElement(e,{ref:h})})}let x=({children:e,initial:t,isPresent:i,onExitComplete:n,custom:s,presenceAffectsLayout:o,mode:u,anchorX:h,anchorY:m,root:p})=>{let f=l(y),g=(0,r.useId)(),x=(0,r.useRef)(i),b=(0,r.useRef)(n);c(()=>{x.current=i,b.current=n});let w=!0,j=(0,r.useMemo)(()=>(w=!1,{id:g,initial:t,isPresent:i,custom:s,onExitComplete:e=>{for(let t of(f.set(e,!0),f.values()))if(!t)return;n&&n()},register:e=>(f.set(e,!1),()=>{f.delete(e),x.current||f.size||b.current?.()})}),[i,f,n]);return o&&w&&(j={...j}),(0,r.useMemo)(()=>{f.forEach((e,t)=>f.set(t,!1))},[i]),r.useEffect(()=>{i||f.size||!n||n()},[i]),e=(0,a.jsx)(v,{pop:"popLayout"===u,isPresent:i,anchorX:h,anchorY:m,root:p,children:e}),(0,a.jsx)(d.Provider,{value:j,children:e})};function y(){return new Map}function b(e=!0){let t=(0,r.useContext)(d);if(null===t)return[!0,null];let{isPresent:i,onExitComplete:n,register:s}=t,a=(0,r.useId)();(0,r.useEffect)(()=>{if(e)return s(a)},[e]);let o=(0,r.useCallback)(()=>e&&n&&n(a),[a,n,e]);return!i&&n?[!1,o]:[!0]}let w=e=>e.key||"";function j(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:t,initial:i=!0,onExitComplete:n,presenceAffectsLayout:s=!0,mode:d="sync",propagate:u=!1,anchorX:h="left",anchorY:m="top",root:p})=>{let[f,g]=b(u),v=(0,r.useMemo)(()=>j(e),[e]),y=u&&!f?[]:v.map(w),N=(0,r.useRef)(!0),k=(0,r.useRef)(v),S=l(()=>new Map),T=(0,r.useRef)(new Set),[E,M]=(0,r.useState)(v),[C,A]=(0,r.useState)(v);c(()=>{!u||f||C.length||g?.()},[f,u,C.length,g]),c(()=>{N.current=!1,k.current=v;for(let e=0;e<C.length;e++){let t=w(C[e]);y.includes(t)?(S.delete(t),T.current.delete(t)):!0!==S.get(t)&&S.set(t,!1)}},[C,y.length,y.join("-")]);let P=[];if(v!==E){let e=[...v],t=0;for(let i of C){let n=y.indexOf(w(i));-1===n?(e.splice(t++,0,i),P.push(i)):t=n+P.length+1}return"wait"===d&&P.length&&(e=P),A(j(e)),M(v),null}let{forceRender:_}=(0,r.useContext)(o);return(0,a.jsx)(a.Fragment,{children:C.map(e=>{let r=w(e),o=(!u||!!f)&&(v===C||y.includes(r));return(0,a.jsx)(x,{isPresent:o,initial:(!N.current||!!i)&&void 0,custom:t,presenceAffectsLayout:s,mode:d,root:p,onExitComplete:o?void 0:()=>{if(T.current.has(r)||!S.has(r))return;T.current.add(r),S.set(r,!0);let e=!0;S.forEach(t=>{t||(e=!1)}),e&&(_?.(),A(k.current),u&&g?.(),n&&n())},anchorX:h,anchorY:m,children:e},r)})})}],400755);let N=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],k=new Set([...N,"pathRotation"]),S=(e,t,i)=>i>t?t:i<e?e:i,T={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},E={...T,transform:e=>S(0,1,e)},M={...T,default:1},C=e=>Math.round(1e5*e)/1e5,A=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,P=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,_=(e,t)=>
127i=>!!("string"==typeof i&&P.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),R=(e,t,i)=>n=>{if("string"!=typeof n)return n;let[s,a,r,o]=n.match(A);return{[e]:parseFloat(s),[t]:parseFloat(a),[i]:parseFloat(r),alpha:void 0!==o?parseFloat(o):1}},D={...T,transform:e=>Math.round(S(0,255,e))},I={test:_("rgb","red"),parse:R("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:n=1})=>"rgba("+D.transform(e)+", "+D.transform(t)+", "+D.transform(i)+", "+C(E.transform(n))+")"},$={test:_("#"),parse:function(e){let t="",i="",n="",s="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),n=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),n=e.substring(3,4),s=e.substring(4,5),t+=t,i+=i,n+=n,s+=s),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:s?parseInt(s,16)/255:1}},transform:I.transform},L=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),V=L("deg"),F=L("%"),B=L("px"),O=L("vh"),z=L("vw"),U={...F,parse:e=>F.parse(e)/100,transform:e=>F.transform(100*e)},W={test:_("hsl","hue"),parse:R("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:n=1})=>"hsla("+Math.round(e)+", "+F.transform(C(t))+", "+F.transform(C(i))+", "+C(E.transform(n))+")"},q={test:e=>I.test(e)||$.test(e)||W.test(e),parse:e=>I.test(e)?I.parse(e):W.test(e)?W.parse(e):$.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?I.transform(e):W.transform(e),getAnimatableNone:e=>{let t=q.parse(e);return t.alpha=0,q.transform(t)}},H=new RegExp(A.source),X=RegExp(/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu.source,"i"),G="number",Y="color",K=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function J(e){let t=e.toString(),i=[],n={color:[],number:[],var:[]},s=[],a=0,r=t.replace(K,e=>(q.test(e)?(n.color.push(a),s.push(Y),i.push(q.parse(e))):e.startsWith("var(")?(n.var.push(a),s.push("var"),i.push(e)):(n.number.push(a),s.push(G),i.push(parseFloat(e))),++a,"${}")).split("${}");return{values:i,split:r,indexes:n,types:s}}function Z({split:e,types:t}){let i=e.length;return n=>{let s="";for(let a=0;a<i;a++)if(s+=e[a],void 0!==n[a]){let e=t[a];e===G?s+=C(n[a]):e===Y?s+=q.transform(n[a]):s+=n[a]}return s}}let Q={test:function(e){return isNaN(e)&&"string"==typeof e&&(H.test(e)||X.test(e))},parse:function(e){return J(e).values},createTransformer:function(e){return Z(J(e))},getAnimatableNone:function(e){let t=J(e);return Z(t)(t.values.map((e,i)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:q.test(e)?q.getAnimatableNone(e):e)(e,t.split[i])))}},ee=new Set(["brightness","contrast","saturate","opacity"]);function et(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=i.match(A)||[];if(!n)return e;let s=i.replace(n,""),a=+!!ee.has(t);return n!==i&&(a*=100),t+"("+a+s+")"}let ei=/\b([a-z-]*)\(.*?\)/gu,en={...Q,getAnimatableNone:e=>{let t=e.match(ei);return t?t.map(et).join(" "):e}},es={...Q,getAnimatableNone:e=>{let t=Q.parse(e);return Q.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},ea={...T,transform:Math.round},er={borderWidth:B,borderTopWidth:B,borderRightWidth:B,borderBottomWidth:B,borderLeftWidth:B,borderRadius:B,borderTopLeftRadius:B,borderTopRightRadius:B,borderBottomRightRadius:B,borderBottomLeftRadius:B,width:B,maxWidth:B,height:B,maxHeight:B,top:B,right:B,bottom:B,left:B,inset:B,insetBlock:B,insetBlockStart:B,insetBlockEnd:B,insetInline:B,insetInlineStart:B,insetInlineEnd:B,padding:B,paddingTop:B,paddingRight:B,paddingBottom:B,paddingLeft:B,paddingBlock:B,paddingBlockStart:B,paddingBlockEnd:B,paddingInline:B,paddingInlineStart:B,paddingInlineEnd:B,margin:B,marginTop:B,marginRight:B,marginBottom:B,marginLeft:B,marginBlock:B,marginBlockStart:B,marginBlockEnd:B,marginInline:B,marginInlineStart:B,marginInlineEnd:B,fontSize:B,backgroundPositionX:B,backgroundPositionY:B,rotate:V,pathRotation:V,rotateX:V,rotateY:V,rotateZ:V,scale:M,scaleX:M,scaleY:M,scaleZ:M,skew:V,skewX:V,skewY:V,distance:B,translateX:B,translateY:B,translateZ:B,x:B,y:B,z:B,perspective:B,transformPerspective:B,opacity:E,originX:U,originY:U,originZ:B,zIndex:ea,fillOpacity:E,strokeOpacity:E,numOctaves:ea},eo={...er,color:q,backgroundColor:q,outlineColor:q,fill:q,stroke:q,borderColor:q,borderTopColor:q,borderRightColor:q,borderBottomColor:q,borderLeftColor:q,filter:en,WebkitFilter:en,mask:es,WebkitMask:es},el=e=>eo[e],ec=()=>({translate:0,scale:1,origin:0,originPoint:0}),ed=()=>({x:ec(),y:ec()}),eu=()=>({min:0,max:0}),eh=()=>({x:eu(),y:eu()}),em=e=>!!(e&&e.getVelocity),ep=new Set(["width","height","top","left","right","bottom",...N]),ef=[T,B,F,V,z,O,{test:e=>"auto"===e,parse:e=>e}],eg=e=>ef.find(t=>t.test(e)),ev=()=>{},ex=()=>{};s.default;let ey=e=>t=>"string"==typeof t&&t.startsWith(e),eb=ey("--"),ew=ey("var(--"),ej=e=>!!ew(e)&&eN.test(e.split("/*")[0].trim()),eN=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ek(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let eS=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,eT=new Set([en,es]);function eE(e,t){let i=el(e);return eT.has(i)||(i=Q),i.getAnimatableNone?i.getAnimatableNone(t):void 0}let eM=e=>180*e/Math.PI,eC=e=>eP(eM(Math.atan2(e[1],e[0]))),eA={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:eC,rotateZ:eC,skewX:e=>eM(Math.atan(e[1])),skewY:e=>eM(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},eP=e=>((e%=360)<0&&(e+=360),e),e_=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),eR=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),eD={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:e_,scaleY:eR,scale:e=>(e_(e)+eR(e))/2,rotateX:e=>eP(eM(Math.atan2(e[6],e[5]))),rotateY:e=>eP(eM(Math.atan2(-e[2],e[0]))),rotateZ:eC,rotate:eC,skewX:e=>eM(Math.atan(e[4])),skewY:e=>eM(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function eI(e){return+!!e.includes("scale")}function e$(e,t){let i,n;if(!e||"none"===e)return eI(t);let s=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(s)i=eD,n=s;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=eA,n=t}if(!n)return eI(t);let a=i[t],r=n[1].split(",").map(eL);return"function"==typeof a?a(r):r[a]}function eL(e){return parseFloat(e.trim())}let eV=e=>e===T||e===B,eF=new Set(["x","y","z"]),eB=N.filter(e=>
127!eF.has(e)),eO=new Set(["bottom","right"]);function ez(e,t,i,n,s,a){let r=parseFloat(e);if(!isNaN(r))return r;let{min:o,max:l}=t()[i],c=l-o;return"border-box"===a?c:c-parseFloat(n)-parseFloat(s)}let eU={width:({width:e,paddingLeft:t="0",paddingRight:i="0",boxSizing:n},s)=>ez(e,s,"x",t,i,n),height:({height:e,paddingTop:t="0",paddingBottom:i="0",boxSizing:n},s)=>ez(e,s,"y",t,i,n),top:({top:e})=>parseFloat(e),left:({left:e})=>parseFloat(e),bottom:({top:e},t)=>{let{y:i}=t();return parseFloat(e)+(i.max-i.min)},right:({left:e},t)=>{let{x:i}=t();return parseFloat(e)+(i.max-i.min)},x:({transform:e})=>e$(e,"x"),y:({transform:e})=>e$(e,"y")};eU.translateX=eU.x,eU.translateY=eU.y;let eW=e=>e,eq={},eH=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function eX(e,t){let i=!1,n=!0,s={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,r=eH.reduce((e,t)=>(e[t]=function(e){let t=new Set,i=new Set,n=!1,s=!1,a=new Set,r={delta:0,timestamp:0,isProcessing:!1};function o(t){a.has(t)&&(i.add(t),e()),t(r)}let l={schedule:(e,s=!1,r=!1)=>{let o=r&&n?t:i;return s&&a.add(e),o.add(e),e},cancel:e=>{i.delete(e),a.delete(e)},process:e=>{if(r=e,n){s=!0;return}n=!0;let a=t;t=i,i=a,t.forEach(o),t.clear(),n=!1,s&&(s=!1,l.process(e))}};return l}(a),e),{}),{setup:o,read:l,resolveKeyframes:c,preUpdate:d,update:u,preRender:h,render:m,postRender:p}=r,f=()=>{let a=eq.useManualTiming,r=a?s.timestamp:performance.now();i=!1,a||(s.delta=n?1e3/60:Math.max(Math.min(r-s.timestamp,40),1)),s.timestamp=r,s.isProcessing=!0,o.process(s),l.process(s),c.process(s),d.process(s),u.process(s),h.process(s),m.process(s),p.process(s),s.isProcessing=!1,i&&t&&(n=!1,e(f))};return{schedule:eH.reduce((t,a)=>{let o=r[a];return t[a]=(t,a=!1,r=!1)=>(!i&&(i=!0,n=!0,s.isProcessing||e(f)),o.schedule(t,a,r)),t},{}),cancel:e=>{for(let t=0;t<eH.length;t++)r[eH[t]].cancel(e)},state:s,steps:r}}let{schedule:eG,cancel:eY,state:eK,steps:eJ}=eX("u">typeof requestAnimationFrame?requestAnimationFrame:eW,!0),eZ=new Set,eQ=!1,e0=!1,e1=!1;function e2(){if(e0){let e=[],t=new Set,i=new Set;eZ.forEach(n=>{n.needsMeasurement&&(e.push(n),t.add(n.element),eO.has(n.name)&&i.add(n.element))});let n=new Map;i.forEach(e=>{let t,i=(t=[],eB.forEach(i=>{let n=e.getValue(i);if(void 0!==n){let e=n.get(),s=+!!i.startsWith("scale");if(e===s)return;t.push([i,e]),n.set(s)}}),t);i.length&&(n.set(e,i),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,i])=>{e.getValue(t)?.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}e0=!1,eQ=!1,eZ.forEach(e=>e.complete(e1)),eZ.clear()}function e3(){eZ.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(e0=!0)})}class e5{constructor(e,t,i,n,s,a=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=n,this.element=s,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(eZ.add(this),eQ||(eQ=!0,eG.read(e3),eG.resolveKeyframes(e2))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:i,motionValue:n}=this;if(null===e[0]){let s=n?.get(),a=e[e.length-1];if(void 0!==s)e[0]=s;else if(i&&t){let n=function(e,t,i){if("string"==typeof e){if(/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)||/^0[^.\s]+$/u.test(e))return parseFloat(e);if(!Q.test(e)&&Q.test(i))return eE(t,i)}return e??void 0}(i.readValue(t,a),t,a);void 0!==n&&(e[0]=n)}void 0===e[0]&&(e[0]=a),n&&void 0===s&&n.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),eZ.delete(this)}cancel(){"scheduled"===this.state&&(eZ.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let e4=new Set(["auto","none","0"]);class e6 extends e5{constructor(e,t,i,n,s){super(e,t,i,n,s,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:i}=this;if(!t||!t.current)return;super.readKeyframes();for(let i=0;i<e.length;i++){let n=e[i];if("string"==typeof n&&ej(n=n.trim())){let s=function e(t,i,n=1){ex(`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[s,a]=function(e){let t=eS.exec(e);if(!t)return[,];let[,i,n,s]=t;return[`--${i??n}`,s]}(t);if(!s)return;let r=window.getComputedStyle(i).getPropertyValue(s);if(r){let e=r.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return ej(a)?e(a,i,n+1):a}(n,t.current);void 0!==s&&(e[i]=s),i===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!ep.has(i)||2!==e.length)return;let[n,s]=e;if("number"==typeof n&&"number"==typeof s)return;let a=eg(n),r=eg(s);if(ek(n)!==ek(s)&&eU[i]){this.needsMeasurement=!0;return}if(a!==r)if(eV(a)&&eV(r))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else eU[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,i=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&i.push(t);i.length&&function(e,t,i){let n,s=0;for(;s<e.length&&!n;){let t=e[s];"string"==typeof t&&!e4.has(t)&&function(e){let t=e.toString();return H.test(t)||X.test(t)}(t)&&(n=e[s]),s++}if(n&&i)for(let s of t)e[s]!==n&&(e[s]=eE(i,n))}(e,i,t)}measure(){let{element:e,name:t}=this;return eU[t](window.getComputedStyle(e.current),()=>e.measureViewportBox())}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=this.measure(),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&this.motionValue?.jump(n,!1)}measureEndState(){let{element:e,unresolvedKeyframes:t}=this;if(!e||!e.current)return;this.motionValue?.jump(this.measuredOrigin,!1);let i=t.length-1,n=t[i];t[i]=this.measure(),null!==n&&void 0===this.finalKeyframe&&(this.finalKeyframe=n),this.removedTransforms?.length&&this.removedTransforms.forEac
127h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}let e8=e=>1e3*e;function e9(e,t){-1===e.indexOf(t)&&e.push(t)}function e7(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}class te{constructor(){this.subscriptions=[]}add(e){return e9(this.subscriptions,e),()=>this.remove(e)}remove(e){e7(this.subscriptions,e)}notify(e,t,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,i);else for(let s=0;s<n;s++){let n=this.subscriptions[s];n&&n(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function tt(e,t,i){t.startsWith("--")?e.style.setProperty(t,i):e.style[t]=i}function ti(e){let t;return()=>(void 0===t&&(t=e()),t)}let tn={};function ts(e,t){let i=ti(e);return()=>tn[t]??i()}let ta=ts(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),tr=e=>null!==e;function to(e,{repeat:t,repeatType:i="loop"},n,s=1){let a=e.filter(tr),r=s<0||t&&"loop"!==i&&t%2==1?0:a.length-1;return r&&void 0!==n?n:a[r]}class tl{constructor(){this.isResolved=!1}get finished(){return this._finished||(this._finished=this.isResolved?Promise.resolve():new Promise(e=>{this._resolve=e})),this._finished}updateFinished(){this._finished=this._resolve=void 0,this.isResolved=!1}notifyFinished(){this.isResolved=!0,this._resolve?.()}then(e,t){return this.finished.then(e,t)}}function tc(){t=void 0}let td={now:()=>(void 0===t&&td.set(eK.isProcessing||eq.useManualTiming?eK.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(tc)}};function tu(e,t){return{kind:e,animation:t,timestamp:td.now(),frameTimestamp:eK.timestamp,frameIsProcessing:eK.isProcessing}}function th(e,t,i){let n=globalThis.__MOTION_INSPECT__;if(n)try{n({...tu("animation-start",e),options:i?{...t,...i}:t})}catch{}}let tm=e=>Array.isArray(e)&&"number"==typeof e[0],tp=ts(()=>{try{document.createElement("div").animate({opacity:0}
127,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),tf=(e,t,i=10)=>{let n="",s=Math.max(Math.round(t/i),2);for(let t=0;t<s;t++)n+=Math.round(1e4*e(t/(s-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},tg=([e,t,i,n])=>`cubic-bezier(${e}, ${t}, ${i}, ${n})`,tv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tg([0,.65,.55,1]),circOut:tg([.55,0,1,.45]),backIn:tg([.31,.01,.66,-.59]),backOut:tg([.33,1.53,.69,.99])};function tx(e){return"function"==typeof e&&"applyToOptions"in e}class ty extends tl{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:i,keyframes:n,pseudoElement:s,allowFlatten:a=!1,finalKeyframe:r,onComplete:o}=e;this.isPseudoElement=!!s,this.allowFlatten=a,this.options=e,ex(e.type);const l=function({type:e,...t}){return tx(e)&&tp()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,i,{delay:n=0,duration:s=300,repeat:a=0,repeatType:r="loop",ease:o="easeOut",times:l}={},c){let d={[t]:i};l&&(d.offset=l);let u=function e(t,i){if(t)return"function"==typeof t?tp()?tf(t,i):"ease-out":tm(t)?tg(t):Array.isArray(t)?t.map(t=>e(t,i)||tv.easeOut):tv[t]}(o,s);Array.isArray(u)&&(d.easing=u);let h={delay:n,duration:s,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:a+1,direction:"reverse"===r?"alternate":"normal"};return c&&(h.pseudoElement=c),e.animate(d,h)}(t,i,n,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let e=to(n,this.options,r,this.speed);this.updateMotionValue&&this.updateMotionValue(e),tt(t,i,e),this.animation.cancel()}o?.(),this.notifyFinished()},th(this,e,l)}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=e8(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:i,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&ta())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),i&&(this.animation.rangeEnd=i),eW):n(this)}}let tb=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),{schedule:tw}=eX(queueMicrotask,!1),tj=(e,t)=>t?1e3/t*e:0,tN;class tk{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=td.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.notifyChange(),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=td.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){var i;return"change"===e?this.onChangeSubscribe(t):((i=this.events)[e]||(i[e]=new te)).add(t)}onChangeSubscribe(e){let{events:t}=this;return t.change||this.changeSubscriber?(t.change||(t.change=new te,t.change.add(this.changeSubscriber),this.changeSubscriber=void 0),t.change.add(e)):this.changeSubscriber=e,()=>{this.changeSubscriber===e?this.changeSubscriber=void 0:t.change?.remove(e),this.stopIfUnobserved()}}stopIfUnobserved(){eG.read(()=>{this.changeSubscriber||this.events.change?.getSize()||this.stop()})}clearListeners(){for(let e in this.changeSubscriber=void 0,this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.notifyChange()}notifyChange(){let{current:e,changeSubscriber:t}=this;t?t(e):this.events.change?.notify(e)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return tN&&tN.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=td.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return tj(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{let i;this.hasAnimated=!0;let n=!1;i=e(()=>{n=!0,this.events.animationComplete?.notify(),this.animation===i&&this.clearAnimation(),t()}),n||(this.animation=i),this.events.animationStart?.notify()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){this.animation=void 0}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function tS(e,t){return new tk(e,t)}let tT=new WeakMap;function tE(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tM(e){return"string"==typeof e||Array.isArray(e)}let tC=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tA=["initial",...tC];function tP(e){if(tE(e.animate))return!0;for(let t=0;t<tA.length;t++)if(tM(e[tA[t]]))return!0;return!1}function t_(e){return!!(tP(e)||e.variants)}let tR={current:null},tD={current:!1},tI="u">typeof window;function t$(e){let t=[{},{}];
127return e?.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}function tL(e,t,i,n){if("function"==typeof t){let[s,a]=t$(n);t=t(void 0!==i?i:e.custom,s,a)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[s,a]=t$(n);t=t(void 0!==i?i:e.custom,s,a)}return t}let tV=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tF={};class tB{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:n,skipAnimations:s,blockInitialAnimation:a,visualState:r},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=e5,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=td.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eG.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=r;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=s,this.options=o,this.blockInitialAnimation=!!a,this.isControllingVariants=tP(t),this.isVariantNode=t_(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:d,...u}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in u){const t=u[e];void 0!==l[e]&&em(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,tT.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tD.current||function(){if(tD.current=!0,tI)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tR.current=e.matches;e.addEventListener("change",t),t()}else tR.current=!1}(),this.shouldReduceMotion=tR.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),eY(this.notifyUpdate),eY(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let i;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&tb.has(e)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:s,ease:a,duration:r}=t.accelerate,o=new ty({element:this.current,name:e,keyframes:n,times:s,ease:a,duration:e8(r)}),l=i(o);this.valueSubscriptions.set(e,()=>{l(),o.cancel()});return}let n=k.has(e);n&&this.onBindTransform&&this.onBindTransform();let s=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eG.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{s(),i&&i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in tF){let t=tF[e];if(!t)continue;let{isEnabled:i,Feature:n}=t;if(!this.features[e]&&n&&i(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];
127t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):eh()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<tV.length;t++){let i=tV[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=e["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(e,t,i){for(let n in t){let s=t[n],a=i[n];if(em(s))e.addValue(n,s);else if(em(a))e.addValue(n,tS(s,{owner:e}));else if(a!==s)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(s):t.hasAnimated||t.set(s)}else{let t=e.getStaticValue(n);e.addValue(n,tS(void 0!==t?t:s,{owner:e}))}}for(let n in i)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let i=this.values.get(e);t!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=tS(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,t){let i=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=i){let n,s;"string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(s=i,/^0[^.\s]+$/u.test(s)))?i=parseFloat(i):"number"!=typeof i&&!Q.test(i)&&Q.test(t)&&(i=eE(e,t)),this.setBaseTarget(e,em(i)?i.get():i)}return em(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=tL(this.props,i,this.presenceContext?.custom);n&&(t=n[e])}if(i&&void 0!==t)return t;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||em(n)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new te),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){tw.render(this.render)}}class tO extends tB{constructor(){super(...arguments),this.KeyframeResolver=e6}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let i=e.style;return i?i[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;em(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tz(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let tU=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tW={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tq=N.length;function tH(e,t,i){let{style:n,vars:s,transformOrigin:a}=e,r=!1,o=!1;for(let e in t){let i=t[e];if(k.has(e)){r=!0;continue}if(eb(e)){s[e]=i;continue}{let t=tU(i,er[e]);e.startsWith("origin")?(o=!0,a[e]=t):n[e]=t}}if(!t.transform&&(r||i?n.transform=function(e,t,i){let n="",s=!0;for(let a=0;a<tq;a++){let r=N[a],o=e[r];if(void 0===o)continue;let l=!0;if("number"==typeof o)l=o===+!!r.startsWith("scale");else{let e=parseFloat(o);l=r.startsWith("scale")?1===e:0===e}if(!l||i){let e=tU(o,er[r]);if(!l){s=!1;let t=tW[r]||r;n+=`${t}(${e}) `}i&&(t[r]=e)}}let a=e.pathRotation;return a&&(s=!1,n+=`rotate(${tU(a,er.pathRotation)}) `),n=n.trim(),i?n=i(t,s?"":n):s&&(n="none"),n}(t,e.transform,i):n.transform&&(n.transform="none")),o){let{originX:e="50%",originY:t="50%",originZ:i=0}=a;n.transformOrigin=`${e} ${t} ${i}`}}let tX={offset:"stroke-dashoffset",array:"stroke-dasharray"},tG={offset:"strokeDashoffset",array:"strokeDasharray"},tY=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tK(e,{attrX:t,attrY:i,attrScale:n,pathLength:s,pathSpacing:a=1,pathOffset:r=0,...o}
127,l,c,d){if(tH(e,o,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:u,style:h}=e;for(let e of tY)void 0!==u[e]&&(h[e]=u[e],delete u[e]);(h.transform||u.transformOrigin)&&(h.transformOrigin=u.transformOrigin??"50% 50%",delete u.transformOrigin),h.transform&&(h.transformBox=d?.transformBox??"fill-box",delete u.transformBox),void 0!==t&&(u.x=t),void 0!==i&&(u.y=i),void 0!==n&&(u.scale=n),void 0!==s&&function(e,t,i=1,n=0,s=!0){e.pathLength=1;let a=s?tX:tG;e[a.offset]=`${-n}`,e[a.array]=`${t} ${i}`}(u,s,a,r,!1)}let tJ=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),tZ=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tQ(e,{style:t,vars:i},n,s){let a,r=e.style;for(a in t)r[a]=t[a];for(a in s?.applyProjectionStyles(r,n),i)r.setProperty(a,i[a])}let t0=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function t1(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let t2={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!B.test(e))return e;else e=parseFloat(e);let i=t1(e,t.target.x),n=t1(e,t.target.y);return`${i}% ${n}%`}},t3=(e,t,i)=>e+(t-e)*i,t5={borderRadius:{...t2,applyTo:[...t0]},borderTopLeftRadius:t2,borderTopRightRadius:t2,borderBottomLeftRadius:t2,borderBottomRightRadius:t2,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let n=Q.parse(e);if(n.length>5)return e;let s=Q.createTransformer(e),a=+("number"!=typeof n[0]),r=i.x.scale*t.x,o=i.y.scale*t.y;n[0+a]/=r,n[1+a]/=o;let l=t3(r,o,.5);return"number"==typeof n[2+a]&&(n[2+a]/=l),"number"==typeof n[3+a]&&(n[3+a]/=l),s(n)}}};function t4(e,{layout:t,layoutId:i}){return k.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!t5[e]||"opacity"===e)}function t6(e,t,i){let n=e.style,s=t?.style,a={};if(!n)return a;for(let t in n)(em(n[t])||s&&em(s[t])||t4(t,e)||i?.getValue(t)?.liveStyle!==void 0)&&(a[t]=n[t]);return a}function t8(e,t,i){let n=t6(e,t,i);for(let i in e)(em(e[i])||em(t[i]))&&(n[-1!==N.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return n}class t9 extends tO{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=eh}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(k.has(t)){let e=el(t);return e&&e.default||0}if(tY.includes(t)){let i=getComputedStyle(e)[t];if("string"==typeof i&&i)return i.trim()}return t=tJ.has(t)?t:tz(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return t8(e,t,i)}build(e,t,i){tK(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,n){for(let i in tQ(e,t,void 0,n),t.attrs)e.setAttribute(tJ.has(i)?i:tz(i),t.attrs[i])}mount(e){this.isSVGTag=tZ(e.tagName),super.mount(e)}}function t7({top:e,left:t,right:i,bottom:n}){return{x:{min:t,max:i},y:{min:e,max:n}}}function ie(e){return void 0===e||1===e}function it({scale:e,scaleX:t,scaleY:i}){return!ie(e)||!ie(t)||!ie(i)}function ii(e){return it(e)||is(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function is(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function ia(e,t,i,n,s){return void 0!==s&&(e=n+s*(e-n)),n+i*(e-n)+t}function ir(e,t=0,i=1,n,s){e.min=ia(e.min,t,i,n,s),e.max=ia(e.max,t,i,n,s)}function io(e,{x:t,y:i}){ir(e.x,t.translate,t.scale,t.originPoint),ir(e.y,i.translate,i.scale,i.originPoint)}function il(e,t){e.min+=t,e.max+=t}function ic(e,t,i,n,s=.5){let a=t3(e.min,e.max,s);ir(e,t,i,a,n)}function id(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function iu(e,t,i){let n=i??e;ic(e.x,id(t.x,n.x),t.scaleX,t.scale,t.originX),ic(e.y,id(t.y,n.y),t.scaleY,t.scale,t.originY)}function ih(e,t){return t7(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}
127class im extends tO{constructor(){super(...arguments),this.type="html",this.renderInstance=tQ}mount(e){ex(e.style),super.mount(e)}readValueFromInstance(e,t){if(k.has(t))return this.projection?.isProjecting?eI(t):((e,t)=>{let{transform:i="none"}=getComputedStyle(e);return e$(i,t)})(e,t);{let i=window.getComputedStyle(e),n=(eb(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ih(e,t)}build(e,t,i){tH(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return t6(e,t,i)}}let ip=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ig(e){if("string"!=typeof e||e.includes("-"));else if(ip.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let iv=(0,r.createContext)({strict:!1}),ix=(0,r.createContext)({});function iy(e){return Array.isArray(e)?e.join(" "):e}let ib=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function iw(e,t,i){for(let n in t)em(t[n])||t4(n,i)||(e[n]=t[n])}let ij=()=>({...ib(),attrs:{}}),iN=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function ik(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||iN.has(e)}function iS(e){return em(e)?e.get():e}let iT=e=>(t,i)=>{let n=(0,r.useContext)(ix),s=(0,r.useContext)(d),a=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},i,n,s){return{latestValues:function(e,t,i,n){let s={},a=n(e,{});for(let e in a)s[e]=iS(a[e]);let{initial:r,animate:o}=e,l=tP(e),c=t_(e);t&&c&&!l&&!1!==e.inherit&&(void 0===r&&(r=t.initial),void 0===o&&(o=t.animate));let d=!!i&&!1===i.initial,u=(d=d||!1===r)?o:r;if(u&&"boolean"!=typeof u&&!tE(u)){let t=Array.isArray(u)?u:[u];for(let i=0;i<t.length;i++){let n=tL(e,t[i]);if(n){let{transitionEnd:e,transition:t,...i}=n;for(let e in i){let t=i[e];if(Array.isArray(t)){let e=d?t.length-1:0;t=t[e]}null!==t&&(s[e]=t)}for(let t in e)s[t]=e[t]}}}return s}(i,n,s,e),renderState:t()}})(e,t,n,s);return i?a():l(a)},iE=iT({scrapeMotionValuesFromProps:t6,createRenderState:ib}),iM=iT({scrapeMotionValuesFromProps:t8,createRenderState:ij}),iC={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},iA=!1;function iP(){return!function(){if(iA)return;let e={};for(let t in iC)e[t]={isEnabled:e=>iC[t].some(t=>!!e[t])};tF=e,iA=!0}(),tF}let i_=Symbol.for("motionComponentSymbol"),iR="data-"+tz("framerAppearId"),iD=(0,r.createContext)({});function iI(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function i$(e,{forwardMotionProps:t=!1,type:i}={},n,s){n&&function(e){let t=iP();for(let i in e)t[i]={...t[i],...e[i]};tF=t}(n);let l=i?"svg"===i:ig(e),u=l?iM:iE;function h(i,n){var h;let m,f,g,v={...(0,r.useContext)(p),...i,layoutId:function({layoutId:e}){let t=(0,r.useContext)(o).id;return t&&void 0!==e?t+"-"+e:e}(i)},{isStatic:x,isValidProp:y}=v,b=function(e){let{initial:t,animate:i}=function(e,t){if(tP(e)){let{initial:t,animate:i}=e;return{initial:!1===t||tM(t)?t:void 0,animate:tM(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,r.useContext)(ix));return(0,r.useMemo)(()=>({initial:t,animate:i}),[iy(t),iy(i)])}(i),w=u(i,x);if(!x&&"u">typeof window){(0,r.useContext)(iv).strict;let t=function(e){let{drag:t,layout:i}=iP();if(!t&&!i)return{};let n={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
127(v);m=t.MeasureLayout,b.visualElement=function(e,t,i,n,s,a){let{visualElement:o}=(0,r.useContext)(ix),l=(0,r.useContext)(iv),u=(0,r.useContext)(d),h=(0,r.useContext)(p),m=h.reducedMotion,f=h.skipAnimations,g=(0,r.useRef)(null),v=(0,r.useRef)(!1);n=n||l.renderer,!g.current&&n&&(g.current=n(e,{visualState:t,parent:o,props:i,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:m,skipAnimations:f,isSVG:a}),v.current&&g.current&&(g.current.manuallyAnimateOnMount=!0));let x=g.current,y=(0,r.useContext)(iD);x&&!x.projection&&s&&("html"===x.type||"svg"===x.type)&&function(e,t,i,n){let{layoutId:s,layout:a,drag:r,dragConstraints:o,layoutScroll:l,layoutRoot:c,layoutAnchor:d,layoutCrossfade:u}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:s,layout:a,alwaysMeasureLayout:!!r||o&&iI(o),visualElement:e,animationType:"string"==typeof a?a:"both",initialPromotionConfig:n,crossfade:u,layoutScroll:l,layoutRoot:c,layoutAnchor:d})}(g.current,i,s,y);let b=(0,r.useRef)(!1);(0,r.useInsertionEffect)(()=>{x&&b.current&&x.update(i,u)});let w=i[iR],j=(0,r.useRef)(!!w&&"u">typeof window&&!window.MotionHandoffIsComplete?.(w)&&window.MotionHasOptimisedAnimation?.(w));return c(()=>{v.current=!0,x&&(b.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),x.scheduleRenderMicrotask(),j.current&&x.animationState&&x.animationState.animateChanges())}),(0,r.useEffect)(()=>{x&&(!j.current&&x.animationState&&x.animationState.animateChanges(),j.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(w)}),j.current=!1),x.enteringChildren=void 0)}),x}(e,w,v,s,t.ProjectionNode,l)}return(0,a.jsxs)(ix.Provider,{value:b,children:[m&&b.visualElement?(0,a.jsx)(m,{visualElement:b.visualElement,...v}):null,function(e,t,i,{latestValues:n},s,a=!1,o,l){let c=(o??ig(e)?function(e,t,i,n){let s=(0,r.useMemo)(()=>{let i=ij();return tK(i,t,tZ(n),e.transformTemplate,e.style),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};iw(t,e.style,e),s.style={...t,...s.style}}return s}:function(e,t){let i,n,s={},a=(i=e.style||{},iw(n={},i,e),Object.assign(n,function({transformTemplate:e},t){return(0,r.useMemo)(()=>{let i=ib();return tH(i,t,e),Object.assign({},i.vars,i.style)},[t])}(e,t)),n);return e.drag&&!1!==e.dragListener&&(s.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(s.tabIndex=0),s.style=a,s})(t,n,s,e),d=function(e,t,i,n){let s={};for(let a in e)("values"!==a||"object"!=typeof e.values)&&!em(e[a])&&((a.startsWith("on")?!ik(a):n?.(a)??!ik(a))||!0===i&&ik(a)||!t&&!ik(a)||e.draggable&&a.startsWith("onDrag"))&&(s[a]=e[a]);return s}(t,"string"==typeof e,a,l),u=e!==r.Fragment?{...d,...c,ref:i}:{},{children:h}=t,m=(0,r.useMemo)(()=>em(h)?h.get():h,[h]);return(0,r.createElement)(e,{...u,children:m})}(e,i,(h=b.visualElement,f=(0,r.useRef)(n),(0,r.useInsertionEffect)(()=>{f.current=n}),g=(0,r.useRef)(null),(0,r.useCallback)(e=>{e&&w.onMount?.(e),h&&(e?h.mount(e):h.unmount());let t=f.current;if("function"==typeof t)if(e){let i=t(e);"function"==typeof i&&(g.current=i)}else g.current?(g.current(),g.current=null):t(e);else t&&(t.current=e)},[h])),w,x,t,l,y)]})}h.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let m=(0,r.forwardRef)(h);return m[i_]=e,m}class iL{constructor(e){this.isMounted=!1,this.node=e}update(){}}function iV(e,t,i){let n=e.getProps();return tL(n,t,void 0!==i?i:n.custom,e)}function iF(e,t){if(e?.inherit&&t){let{inherit:i,...n}=e;return{...t,...n}}return e}function iB(e,t){let i=e?.[t]??e?.default??e;return i!==e?iF(i,e):i}let iO=e=>Array.isArray(e);function iz(e,t){let i=e.getValue("willChange");if(em(i)&&i.add)return i.add(t);if(!i&&eq.WillChange){let i=new eq.WillChange("auto");e.addValue("willChange",i),i.add(t)}}let iU=(...e)=>e.reduce((e,t)=>i=>t(e(i)));function iW(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function iq(e,t){return i=>i>0?t:e}let iH=(e,t,i)=>{let n=e*e,s=i*(t*t-n)+n;return s<0?0:Math.sqrt(s)},iX=[$,I,W];function iG(e){let t=iX.find(t=>t.test(e));if(!t)return ev(`'${e}' is not an animatable color. Use the equivalent color code instead.`),!1;let i=t.parse(e);return t===W&&(i=function({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,i/=100;let s=0,a=0,r=0;if(t/=100){let n=i<.5?i*(1+t):i+t-i*t,o=2*i-n;s=iW(o,n,e+1/3),a=iW(o,n,e),r=iW(o,n,e-1/3)}else s=a=r=i;return{red:Math.round(255*s),green:Math.round(255*a),blue:Math.round(255*r),alpha:n}}(i)),i}let iY=(e,t)=>{let i=iG(e),n=iG(t);if(!i||!n)return iq(e,t);let s={...i};return e=>(s.red=iH(i.red,n.red,e),s.green=iH(i.green,n.green,e),s.blue=iH(i.blue,n.blue,e),s.alpha=t3(i.alpha,n.alpha,e),I.transform(s))},iK=new Set(["none","hidden"]);function iJ(e,t){return i=>t3(e,t,i)}function iZ(e){return"number"==typeof e?iJ:"string"==typeof e?ej(e)?iq:q.test(e)?iY:i1:Array.isArray(e)?iQ:"object"==typeof e?q.test(e)?iY:i0:iq}function iQ(e,t){let i=[...e],n=i.length,s=e.map((e,i)=>iZ(e)(e,t[i]));return e=>{for(let t=0;t<n;t++)i[t]=s[t](e);return i}}function i0(e,t){let i={...e,...t},n={};for(let s in i)void 0!==e[s]&&void 0!==t[s]&&(n[s]=iZ(e[s])(e[s],t[s]));return e=>{for(let t in n)i[t]=n[t](e);return i}}let i1=(e,t)=>{let i=Q.createTransformer(t),n=J(e),s=J(t);if(!(n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length))return ev(`Complex values '${e}' and '${t}
127' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),iq(e,t);if(iK.has(e)&&!s.values.length||iK.has(t)&&!n.values.length)return iK.has(e)?i=>i<=0?e:t:i=>i>=1?t:e;return iU(iQ(function(e,t){let i=[],n={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){let a=t.types[s],r=e.indexes[a][n[a]],o=e.values[r]??0;i[s]=o,n[a]++}return i}(n,s),s.values),i)},i2=/^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;function i3(e,t,i){if("number"==typeof e&&"number"==typeof t&&"number"==typeof i)return t3(e,t,i);if("string"==typeof e&&"string"==typeof t){let i=function(e,t){let i=i2.exec(e);if(!i)return;let n=i2.exec(t);if(!n||i[2]!==n[2])return;let s=i[2],a=parseFloat(i[1]),r=parseFloat(n[1]);return e=>C(t3(a,r,e))+s}(e,t);if(i)return i}return iZ(e)(e,t)}let i5=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eG.update(t,e),stop:()=>eY(t),now:()=>eK.isProcessing?eK.timestamp:td.now()}};function i4(e,t=50,i=2e4,n){let s=0,a=e.next(s);for(n?.push(a.value);!a.done&&s<i;)s+=t,a=e.next(s),n?.push(a.value);return s>=i?1/0:s}let i6=.01,i8=2,i9=.005,i7=.5;function ne(e,t){return e*Math.sqrt(1-t*t)}let nt=["duration","bounce"],ni=["stiffness","damping","mass"];function nn(e,t){return t.some(t=>void 0!==e[t])}function ns(e=.3,t=.3){let i,n,s,a="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,r=a.keyframes[0],o=a.keyframes[a.keyframes.length-1],l={done:!1,value:r},{stiffness:c,damping:d,mass:u,duration:h,velocity:m,isResolvedFromDuration:p}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!nn(e,ni)&&nn(e,nt))if(t.velocity=0,e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),n=i*i,s=2*S(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:1,stiffness:n,damping:s}}else{let i=function({duration:e=800,bounce:t=.3,velocity:i=0,mass:n=1}){let s,a;ev(e8(10));let r=1-t;r=S(.05,1,r),e=S(.01,10,e/1e3),r<1?(s=t=>{let n=t*r,s=n*e;return .001-(n-i)/ne(t,r)*Math.exp(-s)},a=t=>{let n=t*r*e,a=r*r*t*t*e,o=Math.exp(-n),l=ne(t*t,r);return(n*i+i-a)*o*(-s(t)+.001>0?-1:1)/l}):(s=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),a=t=>e*e*(i-t)*Math.exp(-t*e));let o=function(e,t,i){let n=i;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(s,a,5/e);if(e=e8(e),isNaN(o))return{stiffness:100,damping:10,duration:e};{let t=o*o*n;return{stiffness:t,damping:2*r*Math.sqrt(n*t),duration:e}}}({...e,velocity:0});(t={...t,...i,mass:1}).isResolvedFromDuration=!0}return t}({...a,velocity:-((a.velocity||0)/1e3)}),f=d/(2*Math.sqrt(c*u)),g=Math.sqrt(c/u)/1e3,v=f*g,x={target:o,delta:o-r,velocity:m||0,restSpeed:0,restDelta:0},y=()=>{let e=5>Math.abs(x.delta);x.restSpeed=a.restSpeed||(e?i6:i8),x.restDelta=a.restDelta||(e?i9:i7)};if(y(),f<1){let e=ne(g,f),t={A:0,sinC:0,cosC:0,t:-1,env:0,sin:0,cos:0};s=()=>{t.A=(x.velocity+v*x.delta)/e,t.sinC=v*t.A+x.delta*e,t.cosC=v*x.delta-t.A*e};let a=i=>{i!==t.t&&(t.t=i,t.env=Math.exp(-v*i),t.sin=Math.sin(e*i),t.cos=Math.cos(e*i))};i=e=>(a(e),x.target-t.env*(t.A*t.sin+x.delta*t.cos)),n=e=>(a(e),t.env*(t.sinC*t.sin+t.cosC*t.cos))}else if(1===f){i=e=>x.target-Math.exp(-g*e)*(x.delta+(x.velocity+g*x.delta)*e);let e={C:0};s=()=>{e.C=x.velocity+g*x.delta},n=t=>Math.exp(-g*t)*(g*e.C*t-x.velocity)}else{let e=g*Math.sqrt(f*f-1);i=t=>{let i=Math.exp(-v*t),n=Math.min(e*t,300);return x.target-i*((x.velocity+v*x.delta)*Math.sinh(n)+e*x.delta*Math.cosh(n))/e};let t={P:0,sinh:0,cosh:0};s=()=>{t.P=(x.velocity+v*x.delta)/e,t.sinh=v*t.P-x.delta*e,t.cosh=v*x.delta-t.P*e},n=i=>{let n=Math.exp(-v*i),s=Math.min(e*i,300);return n*(t.sinh*Math.sinh(s)+t.cosh*Math.cosh(s))}}s();let b=!nn(a,ni)&&nn(a,nt),w=p&&h||null,j={calculatedDuration:w,retarget:(e,t)=>{x.target=e[e.length-1],x.delta=x.target-e[0],x.velocity=b?0:-(t/1e3),a.restSpeed&&a.restDelta||y(),j.calculatedDuration=w,l.done=!1,s()},velocity:e=>e8(n(e)),next:e=>{let t=i(e);return p?l.done=e>=h:l.done=Math.abs(e8(n(e)))<=x.restSpeed&&Math.abs(x.target-t)<=x.restDelta,l.value=l.done?x.target:t,l},toString:()=>{let e=Math.min(i4(j),2e4),t=tf(t=>j.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return j}
127function na({keyframes:e,velocity:t=0,power:i=.8,timeConstant:n=325,bounceDamping:s=10,bounceStiffness:a=500,modifyTarget:r,min:o,max:l,restDelta:c=.5,restSpeed:d}){let u,h,m=e[0],p={done:!1,value:m},f=i*t,g=m+f,v=void 0===r?g:r(g);v!==g&&(f=v-m);let x=e=>-f*Math.exp(-e/n),y=e=>{let t=x(e);p.done=Math.abs(t)<=c,p.value=p.done?v:v+t},b=e=>{let t;if((t=p.value)<o||t>l){var i;u=e,h=ns({keyframes:[p.value,(i=p.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:-x(e)/n*1e3,damping:s,stiffness:a,restDelta:c,restSpeed:d})}};return b(0),{calculatedDuration:null,next:e=>{let t=!1;return(h||void 0!==u||(t=!0,y(e),b(e)),void 0!==u&&e>=u)?h.next(e-u):(t||y(e),p)}}}ns.applyToOptions=e=>{let t=function(e,t=100,i){let n=i({...e,keyframes:[0,t]}),s=Math.min(i4(n),2e4);return{type:"keyframes",ease:e=>n.next(s*e).value/t,duration:s/1e3}}(e,100,ns);return e.ease=t.ease,e.duration=e8(t.duration),e.type="keyframes",e};let nr=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function no(e,t,i,n){return e===t&&i===n?eW:s=>0===s||1===s?s:nr(function(e,t,i,n,s){let a,r,o=0;do(a=nr(r=t+(i-t)/2,n,s)-e)>0?i=r:t=r;while(Math.abs(a)>1e-7&&++o<12)return r}(s,0,1,e,i),t,n)}let nl=no(.42,0,1,1),nc=no(0,0,.58,1),nd=no(.42,0,.58,1),nu=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,nh=e=>t=>1-e(1-t),nm=no(.33,1.53,.69,.99),np=nh(nm),nf=nu(np),ng=e=>e>=1?1:(e*=2)<1?.5*np(e):.5*(2-Math.pow(2,-10*(e-1))),nv=e=>1-Math.sin(Math.acos(e)),nx=nh(nv),ny=nu(nv),nb={linear:eW,easeIn:nl,easeInOut:nd,easeOut:nc,circIn:nv,circInOut:ny,circOut:nx,backIn:np,backInOut:nf,backOut:nm,anticipate:ng},nw=e=>{if(tm(e)){ex(e.length);let[t,i,n,s]=e;return no(t,i,n,s)}return"string"==typeof e?(ex(nb[e],`Invalid easing type '${e}'`),nb[e]):e},nj=(e,t,i)=>{let n=t-e;return n?(i-e)/n:1};function nN({duration:e=300,keyframes:t,times:i,ease:n="easeInOut"}){var s;let a,r=Array.isArray(n)&&"number"!=typeof n[0]?n.map(nw):nw(n),o={done:!1,value:t[0]};if(2===t.length&&!Array.isArray(r)&&(!i||2!==i.length||0===i[0]&&1===i[1])){let[i,n]=t,s=i===n?void 0:(eq.mix||i3)(i,n);return{calculatedDuration:e,next:t=>(o.value=s?s(r(e>0?S(0,1,t/e):1)):n,o.done=t>=e,o)}}let l=function(e,t,{clamp:i=!0,ease:n,mixer:s}={}){let a=e.length;if(ex(t.length),1===a)return()=>t[0];if(2===a&&t[0]===t[1])return()=>t[1];let r=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let o=function(e,t,i){let n=[],s=i||eq.mix||i3,a=e.length-1;for(let i=0;i<a;i++){let a=s(e[i],e[i+1]);t&&(a=iU(Array.isArray(t)?t[i]||eW:t,a)),n.push(a)}return n}(t,n,s),l=o.length,c=i=>{if(r&&i<e[0])return t[0];let n=0;if(l>1)for(;n<e.length-2&&!(i<e[n+1]);n++);let s=nj(e[n],e[n+1],i);return o[n](s)};return i?t=>c(S(e[0],e[a-1],t)):c}((s=i&&i.length===t.length?i:(!function(e,t){let i=e[e.length-1];for(let n=1;n<=t;n++){let s=nj(0,t,n);e.push(t3(i,1,s))}}(a=[0],t.length-1),a),s.map(t=>t*e)),t,{ease:Array.isArray(r)?r:t.map(()=>r||nd).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=l(t),o.done=t>=e,o)}}let nk={decay:na,inertia:na,tween:nN,keyframes:nN,spring:ns};function nS(e){"string"==typeof e.type&&(e.type=nk[e.type])}let nT=e=>e/100;class nE extends tl{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==td.now()&&this.tick(td.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause(),th(this,this.options)}initAnimation(){let{options:e}=this;nS(e);let{type:t=nN,repeat:i=0,repeatDelay:n=0,repeatType:s,velocity:a=0}=e,{keyframes:r}=e,o=t||nN;o!==nN&&"number"!=typeof r[0]&&(this.mixKeyframes=iU(nT,i3(r[0],r[1])),r=[0,100]);let l=o(r===e.keyframes?e:{...e,keyframes:r});"mirror"===s&&(this.mirroredGenerator=o({...e,keyframes:[...r].reverse(),velocity:-a})),null===l.calculatedDuration&&(l.calculatedDuration=i4(l));let{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let i,{generator:n,totalDuration:s,mixKeyframes:a,mirroredGenerator:r,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);let{delay:c=0,keyframes:d,repeat:u,repeatType:h,repeatDelay:m,type:p,onUpdate:f,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-s/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let v=this.currentTime-c*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?v<0:v>s;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let y=this.currentTime,b=n;if(u){let e=Math.min(this.currentTime,s)/o,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,u+1))%2&&("reverse"===h?(i=1-i,m&&(i-=m/o)):"mirror"===h&&(b=r)),y=S(0,1,i)*o}x?(this.delayState.value=d[0],i=this.delayState):i=b.next(y),a&&!x&&(i.value=a(i.value));let{done:w}=i;x||null===l||(w=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let j=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return j&&p!==na&&(i.value=to(d,this.options,g,this.speed)),f&&f(i.value),j&&this.finish(),i}then(e,t){return this.finished.then(e,t)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+e/1e3}get time(){return this.currentTime/1e3}set time(e){e=e8(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){return function(e,t,i=0){var n,s;let a;return t<=0?i:e.velocity?e.velocity(t):(n=t=>e.next(t).value,s=e.next(t).value,tj(s-n(a=Math.max(t-5,0)),t-a))}(this.generator,this.currentTime,this.options.velocity)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(td.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:e=i5,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=t??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(td.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let nM={anticipate:ng,backInOut:nf,circInOut:ny};
127class nC extends ty{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in nM&&(e.ease=nM[e.ease])}(e),nS(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:i,onComplete:n,element:s,...a}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let r=new nE({...a,autoplay:!1}),o=Math.max(10,td.now()-this.startTime),l=S(0,10,o-10),c=r.sample(o).value,{name:d}=this.options;s&&d&&tt(s,d,c),t.setWithVelocity(r.sample(Math.max(0,o-l)).value,c,l),r.stop()}}let nA=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(Q.test(e)||"0"===e)&&!e.startsWith("url("));function nP(e){e.duration=0,e.type="keyframes"}let n_=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,nR=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),nD=ti(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class nI extends tl{constructor(e){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=td.now();const{keyframes:t,name:i,motionValue:n,element:s}=e;e.autoplay??(e.autoplay=!0),e.delay??(e.delay=0),e.type??(e.type="keyframes"),e.repeat??(e.repeat=0),e.repeatDelay??(e.repeatDelay=0),e.repeatType??(e.repeatType="loop");const a=s?.KeyframeResolver||e5;this.keyframeResolver=new a(t,(t,i,n)=>this.onKeyframesResolved(t,i,e,!n),i,n,s),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,i,n){let s;this.keyframeResolver=void 0;let{name:a,type:r,velocity:o,delay:l,isHandoff:c,onUpdate:d}=i;this.resolvedAt=td.now();let u=!0;!function(e,t,i,n){let s=e[0];if(null===s)return!1;if("display"===t||"visibility"===t)return!0;let a=e[e.length-1],r=nA(s,t),o=nA(a,t);return r&&o?function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(e)||("spring"===i||tx(i))&&n:(r!==o&&ev(`You are trying to animate ${t} from "${s}" to "${a}". "${r?a:s}" is not an animatable value.`),!1)}(e,a,r,o)&&(u=!1,(eq.instantAnimations||!l)&&d?.(to(e,i,t)),e[0]=e[e.length-1],nP(i),i.repeat=0);let h=n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,{onComplete:m}=i;if(i.startTime??(i.startTime=h),i.finalKeyframe=t,i.keyframes=e,i.onComplete=()=>{m?.(),this.notifyFinished()},u&&!c&&function(e){let{motionValue:t,name:i,repeatDelay:n,repeatType:s,damping:a,type:r,keyframes:o}=e;if(!i||!(tb.has(i)||nR.has(i)))return!1;let l=t?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;let{onUpdate:c,transformTemplate:d}=t.owner.getProps();return nD()&&(tb.has(i)||nR.has(i)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&n_.test(e[t]))return!0;return!1}(o))&&("transform"!==i||!d)&&!c&&!n&&"mirror"!==s&&0!==a&&"inertia"!==r}(i)){i.element=i.motionValue?.owner?.current;try{s=new nC(i)}catch{s=new nE(i)}}else s=new nE(i);this.pendingTimeline&&(this.stopTimeline=s.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=s}get finished(){return this._animation?this._animation.finished:super.finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),e1=!0,e3(),e2(),e1=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let n$={type:"spring",stiffness:500,damping:25,restSpeed:10},nL={type:"keyframes",duration:.8},nV={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nF=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),nB=(e,t,i,n={},s,a)=>r=>{let o=iB(n,e)||{},l=o.delay||n.delay||0,{elapsed:c=0}=n;c-=e8(l);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-c,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{r(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:a?void 0:s};!function(e){for(let t in e)if(!nF.has(t))return!0;return!1}(o)&&Object.assign(d,((e,{keyframes:t})=>t.length>2?nL:k.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:n$:nV)(e,d)),d.duration&&(d.duration=e8(d.duration)),d.repeatDelay&&(d.repeatDelay=e8(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let u=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(nP(d),0===d.delay&&(u=!0)),(eq.instantAnimations||eq.skipAnimations||s?.shouldSkipAnimations||o.skipAnimations)&&(u=!0,nP(d),d.delay=0),d.allowFlatten=!o.type&&!o.ease,u&&!a&&void 0!==t.get()){let e=to(d.keyframes,o);if(void 0!==e)return void eG.update(()=>{d.onUpdate(e),d.onComplete()})}return o.isSync?new nE(d):new nI(d)},nO="u">typeof window;function nz(e,t,{delay:i=0,transitionOverride:n,type:s}={}){let{transition:a,transitionEnd:r,...o}=t,l=e.getDefaultTransition();a=a?iF(a,l):l;let c=a?.reduceMotion,d=a?.skipAnimations;n&&(a=n);let u=[],h=s&&e.animationState&&e.animationState.getState()[s],m=a?.path;for(let t in m&&m.animateVisualElement(e,o,a,i,u),o){let n=e.getValue(t,e.latestValues[t]??null),s=o[t];if(void 0===s||h&&function({protectedKeys:e,needsAnimating:t},i){let n=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,n}(h,t))continue;let r={delay:i,...iB(a||{},t)};d&&(r.skipAnimations=!0);let l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(s)&&s===l&&!r.velocity){eG.update(()=>n.set(s));continue}let m=!1;if(nO&&window.MotionHandoffAnimation){let i=e.props[iR];if(i){let e=window.MotionHandoffAnimation(i,t,eG);null!==e&&(r.startTime=e,m=!0)}}iz(e,t);let p=c??e.shouldReduceMotion;n.start(nB(t,n,s,p&&ep.has(t)?{type:!1}:r,e,m));let f=n.animation;f&&u.push(f)}if(r){let t=()=>eG.update(()=>{r&&function(e,t){let{transitionEnd:i={},transition:n={},...s}=iV(e,t)||{};for(let t in s={...s,...i}){var a;let i=iO(a=s[t])?a[a.length-1]||0:a;e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,tS(i))}}(e,r)});u.length?Promise.all(u).then(t):t()}return u}function nU(e,t,i,n=0,s=1){let a=Array.from(e).sort((e,t)=>
127e.sortNodePosition(t)).indexOf(t),r=e.size,o=(r-1)*n;return"function"==typeof i?i(a,r):1===s?a*n:o-a*n}function nW(e,t,i={}){let n=iV(e,t,"exit"===i.type?e.presenceContext?.custom:void 0),{transition:s=e.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(s=i.transitionOverride);let a=n?()=>Promise.all(nz(e,n,i)):()=>Promise.resolve(),r=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:a=0,staggerChildren:r,staggerDirection:o}=s;return function(e,t,i=0,n=0,s=0,a=1,r){let o=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),o.push(nW(l,t,{...r,delay:i+("function"==typeof n?0:n)+nU(e.variantChildren,l,n,s,a)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(o)}(e,t,n,a,r,o,i)}:()=>Promise.resolve(),{when:o}=s;if(!o)return Promise.all([a(),r(i.delay)]);{let[e,t]="beforeChildren"===o?[a,r]:[r,a];return e().then(()=>t())}}let nq=tA.length;function nH(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}let nX=[...tC].reverse(),nG=tC.length;function nY(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nK(){return{animate:nY(!0),whileInView:nY(),whileHover:nY(),whileTap:nY(),whileDrag:nY(),whileFocus:nY(),exit:nY()}}let nJ=0;function nZ(e){return[e("x"),e("y")]}function nQ(e,t,i,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}let n0={x:!1,y:!1};function n1(e){return e.max-e.min}function n2(e,t,i,n=.5){e.origin=n,e.originPoint=t3(t.min,t.max,e.origin),e.scale=n1(i)/n1(t),e.translate=t3(i.min,i.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function n3(e,t,i,n){n2(e.x,t.x,i.x,n?n.originX:void 0),n2(e.y,t.y,i.y,n?n.originY:void 0)}function n5(e,t,i,n=0){e.min=(n?t3(i.min,i.max,n):i.min)+t.min,e.max=e.min+n1(t)}function n4(e,t,i,n=0){let s=n?t3(i.min,i.max,n):i.min;e.min=t.min-s,e.max=e.min+n1(t)}function n6(e,t,i,n){n4(e.x,t.x,i.x,n?.x),n4(e.y,t.y,i.y,n?.y)}function n8(e){return u(e)&&"ownerSVGElement"in e}var n9=e.i(727844);let n7=new WeakMap,se=(e,t,i)=>(n,s)=>s&&s[0]?s[0][e+"Size"]:n8(n)&&"getBBox"in n?n.getBBox()[t]:n[i],st=se("inline","width","offsetWidth"),si=se("block","height","offsetHeight");function sn({target:e,borderBoxSize:t}){n7.get(e)?.forEach(i=>{i(e,{get width(){return st(e,t)},get height(){return si(e,t)}})})}function ss(e){e.forEach(sn)}let sa=new Set;function sr(e,t){let s;return"function"==typeof e?(sa.add(e),n||(n=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};sa.forEach(t=>t(e))},window.addEventListener("resize",n)),()=>{sa.delete(e),sa.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(ss)),(s=(0,n9.resolveElements)(e)).forEach(e=>{let n=n7.get(e);n||(n=new Set,n7.set(e,n)),n.add(t),i?.observe(e)}),()=>{s.forEach(e=>{let n=n7.get(e);n?.delete(t),n?.size||i?.unobserve(e)})})}let so=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),sl=new Set(["INPUT","SELECT","TEXTAREA"]),sc=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function sd(e){return{point:{x:e.pageX,y:e.pageY}}}function su(e,t,i,n){return nQ(e,t,e=>sc(e)&&i(e,sd(e)),n)}let sh=({current:e})=>e?e.ownerDocument.defaultView:null,sm=(e,t)=>Math.abs(e-t),sp=new Set(["auto","scroll"]);class sf{constructor(e,t,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:s=!1,distanceThreshold:a=3,element:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=sg(this.lastRawMoveEventInfo,this.transformPagePoint));let i=sx(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,s=(e=i.offset,t={x:0,y:0},Math.sqrt(sm(e.x,t.x)**2+sm(e.y,t.y)**2)>=this.distanceThreshold);if(!n&&!s)return;let{point:a}=i,{timestamp:r}=eK;this.history.push({...a,timestamp:r});
127let{onStart:o,onMove:l}=this.handlers;n||(o&&o(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=sg(t,this.transformPagePoint),eG.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:s}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=sx("pointercancel"===e.type?this.lastMoveEventInfo:sg(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,a),n&&n(e,a)},!sc(e))return;this.dragSnapToOrigin=s,this.handlers=t,this.transformPagePoint=i,this.distanceThreshold=a,this.contextWindow=n||window;const o=sg(sd(e),this.transformPagePoint),{point:l}=o,{timestamp:c}=eK;this.history=[{...l,timestamp:c}];const{onSessionStart:d}=t;d&&d(e,sx(o,this.history));const u={passive:!0,capture:!0};this.removeListeners=iU(su(this.contextWindow,"pointermove",this.handlePointerMove,u),su(this.contextWindow,"pointerup",this.handlePointerUp,u),su(this.contextWindow,"pointercancel",this.handlePointerUp,u)),r&&this.startScrollTracking(r)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(sp.has(e.overflowX)||sp.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let i=e===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},s={x:n.x-t.x,y:n.y-t.y};(0!==s.x||0!==s.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(e,n),eG.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),eY(this.updatePoint)}}function sg(e,t){return t?{point:t(e.point)}:e}function sv(e,t){return{x:e.x-t.x,y:e.y-t.y}}function sx({point:e},t){return{point:e,delta:sv(e,sy(t)),offset:sv(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,i=null,n=sy(e);for(;t>=0&&(i=e[t],!(n.timestamp-i.timestamp>e8(.1)));)t--;if(!i)return{x:0,y:0};i===e[0]&&e.length>2&&n.timestamp-i.timestamp>2*e8(.1)&&(i=e[1]);let s=(n.timestamp-i.timestamp)/1e3;if(0===s)return{x:0,y:0};let a={x:(n.x-i.x)/s,y:(n.y-i.y)/s};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t)}}function sy(e){return e[e.length-1]}function sb(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function sw(e,t){let i=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,n]=[n,i]),{min:i,max:n}}function sj(e,t,i){return{min:sN(e,t),max:sN(e,i)}}function sN(e,t){return"number"==typeof e?e:e[t]||0}let sk=new WeakMap;class sS{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=eh(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let s=e=>{t&&this.snapToCursor(sd(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(e){if("x"===e||"y"===e)if(n0[e])return null;else return n0[e]=!0,()=>{n0[e]=!1};return n0.x||n0.y?null:(n0.x=n0.y=!0,()=>{n0.x=n0.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nZ(e=>{let t=this.getAxisMotionValue(e).get()||0;if(F.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[e];n&&(t=n1(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),s&&eG.update(()=>s(e,t),!1,!0),iz(this.visualElement,"transform");let{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},r=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:s,onDrag:a}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:r}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(r),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",t.point,r),this.updateAxis("y",t.point,r),this.visualElement.render(),a&&eG.update(()=>a(e,t),!1,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new sf(e,{onSessionStart:s,onStart:a,onMove:r,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:i,contextWindow:sh(this.visualElement),element:this.visualElement.current})}stop(e,t){let i=e||this.latestPointerEvent,n=t||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!n||!i)return;let{velocity:a}=n;this.startAnimation(a);let{onDragEnd:r}=this.getProps();r&&eG.postRender(()=>r(i,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,i){let{drag:n}=this.getProps();if(!i||!sE(e,n,this.currentDirection))return;let s=this.getAxisMotionValue(e),a=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(a=function(e,{min:t,max:i},n){return void 0!==t&&e<t?e=n?t3(t,e,n.min):Math.max(e,t):void 0!==i&&e>i&&(e=n?t3(i,e,n.max):Math.min(e,i)),e}(a,this.constraints[e],this.elastic[e])),s.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&iI(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:n,right:s}){return{x:sb(e.x,i,s),y:sb(e.y,t,n)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:sj(e,"left","right"),y:sj(e,"to
127p","bottom")}}(t),n!==this.constraints&&!iI(e)&&i&&this.constraints&&!this.hasMutatedConstraints&&nZ(e=>{var t,n;let s;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=i.layoutBox[e],n=this.constraints[e],s={},void 0!==n.min&&(s.min=n.min-t.min),void 0!==n.max&&(s.max=n.max-t.min),s))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!iI(t))return!1;let n=t.current;ex();let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;s.root&&(s.root.scroll=void 0,s.root.updateScroll());let a=function(e,t,i){let n=ih(e,i),{scroll:s}=t;return s&&(il(n.x,s.offset.x),il(n.y,s.offset.y)),n}(n,s.root,this.visualElement.getTransformPagePoint()),r=(e=s.layout.layoutBox,{x:sw(e.x,a.x),y:sw(e.y,a.y)});if(i){let e=i(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(r));this.hasMutatedConstraints=!!e,e&&(r=t7(e))}return r}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:n,dragTransition:s,dragSnapToOrigin:a,onDragTransitionEnd:r}=this.getProps(),o=this.constraints||{};return Promise.all(nZ(r=>{if(!sE(r,t,this.currentDirection))return;let l=o&&o[r]||{};(!0===a||a===r)&&(l={min:0,max:0});let c={type:"inertia",velocity:i?e[r]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(r,c)})).then(r)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return iz(this.visualElement,e),i.start(nB(e,i,0,t,this.visualElement,!1))}stopAnimation(){nZ(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){nZ(t=>{let{drag:i}=this.getProps();if(!sE(t,i,this.currentDirection))return;let{projection:n}=this.visualElement,s=this.getAxisMotionValue(t);if(n&&n.layout){let{min:i,max:a}=n.layout.layoutBox[t],r=s.get()||0;s.set(e[t]-t3(i,a,.5)+r)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!iI(t)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nZ(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var i,s;let a,r,o,l=t.get();n[e]=(i={min:l,max:l},s=this.constraints[e],a=.5,r=n1(i),(o=n1(s))>r?a=nj(s.min,s.max-r,i.min):r>o&&(a=nj(i.min,i.max-o,s.min)),S(0,1,a))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),nZ(t=>{if(!sE(t,e,null))return;let i=this.getAxisMotionValue(t),{min:s,max:a}=this.constraints[t];i.set(t3(s,a,n[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;sk.set(this.visualElement,this);let t=this.visualElement.current,i=su(t,"pointerdown",e=>{let{drag:i,dragListener:n=!0}=this.getProps(),s=e.target,a=s!==t&&(sl.has(s.tagName)||!0===s.isContentEditable);i&&n&&!a&&this.start(e)}),n=()=>{var i,n,s;let a,r,{dragConstraints:o}=this.getProps();iI(o)&&o.current&&(this.constraints=this.resolveRefConstraints(),e||(i=t,n=o.current,a=sr(i,sT(s=()=>this.scalePositionWithinConstraints())),r=sr(n,sT(s)),e=()=>{a(),r()}))},{projection:s}=this.visualElement,a=s.addEventListener("measure",n);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),eG.read(n);let r=nQ(window,"resize",()=>this.scalePositionWithinConstraints()),o=s.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(nZ(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),i(),a(),o&&o(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:a=.35,dragMomentum:r=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:n,dragConstraints:s,dragElastic:a,dragMomentum:r}}}function sT(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function sE(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}let sM=e=>(t,i)=>{e&&eG.update(()=>e(t,i),!1,!0)},sC={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var sA=r;let sP=!1;class s_ extends sA.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:n}=this.props,{projection:s}=e;s&&(t.group&&t.group.add(s),i&&i.register&&n&&i.register(s),sP&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),sC.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:n,isPresent:s}=this.props,{projection:a}=i;return a&&(a.isPresent=s,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),sP=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==s?a.willUpdate():this.safeToRemove(),e.isPresent!==s&&(s?a.promote():a.relegate()||eG.postRender(()=>{let e=a.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:i}=e;i&&(i.options.layoutAnchor=t,i.root.didUpdate(),tw.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:n}=e;sP=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}
127function sR(e){let[t,i]=b(),n=(0,sA.useContext)(o);return(0,a.jsx)(s_,{...e,layoutGroup:n,switchLayoutGroup:(0,sA.useContext)(iD),isPresent:t,safeToRemove:i})}let sD=t0.length,sI=e=>"string"==typeof e?parseFloat(e):e,s$=e=>"number"==typeof e||B.test(e);function sL(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let sV=sB(0,.5,nx),sF=sB(.5,.95,eW);function sB(e,t,i){return n=>n<e?0:n>t?1:i(nj(e,t,n))}function sO(e,t){e.min=t.min,e.max=t.max}function sz(e,t){sO(e.x,t.x),sO(e.y,t.y)}function sU(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function sW(e,t,i,n,s){return e-=t,e=n+1/i*(e-n),void 0!==s&&(e=n+1/s*(e-n)),e}function sq(e,t,[i,n,s],a,r){!function(e,t=0,i=1,n=.5,s,a=e,r=e){if(F.test(t)&&(t=parseFloat(t),t=t3(r.min,r.max,t/100)-r.min),"number"!=typeof t)return;let o=t3(a.min,a.max,n);e===a&&(o-=t),e.min=sW(e.min,t,i,o,s),e.max=sW(e.max,t,i,o,s)}(e,t[i],t[n],t[s],t.scale,a,r)}let sH=["x","scaleX","originX"],sX=["y","scaleY","originY"];function sG(e,t,i,n){sq(e.x,t,sH,i?i.x:void 0,n?n.x:void 0),sq(e.y,t,sX,i?i.y:void 0,n?n.y:void 0)}function sY(e){return 0===e.translate&&1===e.scale}function sK(e){return sY(e.x)&&sY(e.y)}function sJ(e,t){return e.min===t.min&&e.max===t.max}function sZ(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function sQ(e,t){return sZ(e.x,t.x)&&sZ(e.y,t.y)}function s0(e){return n1(e.x)/n1(e.y)}function s1(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class s2{constructor(){this.members=[]}add(e){e9(this.members,e);for(let t=this.members.length-1;t>=0;t--){let i=this.members[t];if(i===e||i===this.lead||i===this.prevLead)continue;let n=i.instance;n&&!1!==n.isConnected||i.snapshot||(e7(this.members,i),i.unmount())}e.scheduleRender()}remove(e){if(e7(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.updateSnapshot(),e.scheduleRender();let{layoutDependency:n}=i.options,{layoutDependency:s}=e.options;(void 0===n||n!==s)&&(e.resumeFrom=i,t&&(i.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let s3=(e,t)=>e.depth-t.depth;class s5{constructor(){this.children=[],this.isDirty=!1}add(e){e9(this.children,e),this.isDirty=!0}remove(e){e7(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(s3),this.isDirty=!1,this.children.forEach(e)}}let s4=["","X","Y","Z"],s6=0;function s8(e,t,i,n){let{latestValues:s}=t;s[e]&&(i[e]=s[e],t.setStaticValue(e,0),n&&(n[e]=0))}function s9({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:n,resetTransform:s}){return class{constructor(e={},i=t?.()){this.id=s6++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
127{this.projectionUpdateScheduled=!1,this.nodes.forEach(at),this.nodes.forEach(ad),this.nodes.forEach(au),this.nodes.forEach(ai)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new s5)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new te),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let i=this.eventHandlers.get(e);i&&i.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=n8(t)&&!(n8(t)&&"svg"===t.tagName),this.instance=t;let{layoutId:i,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),e){let i,n=0,s=()=>this.root.updateBlockedByResize=!1;eG.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==n){let t,a;n=e,this.root.updateBlockedByResize=!0,i&&i(),t=td.now(),a=({timestamp:e})=>{let i=e-t;i>=250&&(eY(a),s())},eG.setup(a,!0),i=()=>eY(a),sC.hasAnimatedSinceResize&&(sC.hasAnimatedSinceResize=!1,this.nodes.forEach(ac))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||s.getDefaultTransition()||av,{onLayoutAnimationStart:r,onLayoutAnimationComplete:o}=s.getProps(),l=!this.targetLayout||!sQ(this.targetLayout,n),c=!t&&i;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...iB(a,"layout"),onPlay:r,onComplete:o};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c,t.path)}else t||ac(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),eY(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ah),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:i}=t.options;if(!i)return;let n=i.props[iR];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",eG,!(e||i))}let{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&e(s)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:i}=this.options;if(void 0===t&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEac
127h(aa),this.nodes.forEach(as);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(ar);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ao),this.nodes.forEach(al),this.nodes.forEach(s7),this.nodes.forEach(ae)):this.nodes.forEach(ar),this.clearAllSnapshots();let e=td.now();eK.delta=S(0,1e3/60,e-eK.timestamp),eK.timestamp=e,eK.isProcessing=!0,eJ.update.process(eK),eJ.preRender.process(eK),eJ.render.process(eK),eK.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(an),this.sharedNodes.forEach(am)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eG.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eG.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||n1(this.snapshot.measuredBox.x)||n1(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=eh()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!s)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!sK(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,a=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||ii(this.latestValues)||a)&&(s(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let i=this.measurePageBox(),n=this.removeElementScroll(i);return e&&(n=this.removeTransform(n)),ab((t=n).x),ab(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return eh();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(aj))){let{scroll:e}=this.root;e&&(il(t.x,e.offset.x),il(t.y,e.offset.y))}return t}removeElementScroll(e){let t=eh();if(sz(t,e),this.scroll?.wasRoot)return t;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:s,options:a}=n;n!==this.root&&s&&a.layoutScroll&&(s.wasRoot&&sz(t,e),il(t.x,s.offset.x),il(t.y,s.offset.y))}return t}applyTransform(e,t=!1,i){let n=i||eh();sz(n,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(il(n.x,-i.scroll.offset.x),il(n.y,-i.scroll.offset.y)),ii(i.latestValues)&&iu(n,i.latestValues,i.layout?.layoutBox)}return ii(this.latestValues)&&iu(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(e){let t=eh();sz(t,e);for(let e=0;e<this.path.length;e++){let i,n=this.path[e];ii(n.latestValues)&&(n.instance&&(it(n.latestValues)&&n.updateSnapshot(),sz(i=eh(),n.measurePageBox())),sG(t,n.latestValues,n.snapshot?.layoutBox,i))}return ii(this.latestValues)&&sG(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eK.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
127isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==t;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:s}=this.options;if(!this.layout||!(n||s))return;this.resolvedRelativeTargetAt=eK.timestamp;let a=this.getClosestProjectingParent();if(a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=eh(),this.targetWithTransforms=eh()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var r,o,l,c;this.forceRelativeParentToResolveTarget(),r=this.target,o=this.relativeTarget,l=this.relativeParent.target,c=this.options.layoutAnchor||void 0,n5(r.x,o.x,l.x,c?.x),n5(r.y,o.y,l.y,c?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):sz(this.target,this.layout.layoutBox),io(this.target,this.targetDelta)):sz(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&1!==this.animationProgress?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||it(this.parent.latestValues)||is(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,i){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=eh(),this.relativeTargetOrigin=eh(),n6(this.relativeTargetOrigin,t,i,this.options.layoutAnchor||void 0),sz(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===eK.timestamp&&(i=!1),i)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;sz(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,r=this.treeScale.y;!function(e,t,i,n=!1){let s,a,r=i.length;if(r){t.x=t.y=1;for(let o=0;o<r;o++){a=(s=i[o]).projectionDelta;let{visualElement:r}=s.options;(!r||!r.props.style||"contents"!==r.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(il(e.x,-s.scroll.offset.x),il(e.y,-s.scroll.offset.y)),a&&(t.x*=a.x.scale,t.y*=a.y.scale,io(e,a)),n&&ii(s.latestValues)&&iu(e,s.latestValues,s.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=eh());let{target:o}=e;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(sU(this.prevProjectionDelta.x,this.projectionDelta.x),sU(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),n3(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===a&&this.treeScale.y===r&&s1(this.projectionDelta.x,this.prevProjectionDelta.x)&&s1(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ed(),this.projectionDelta=ed(),this.projectionDeltaWithTransform=ed()}setAnimationOrigin(e,t=!1,i){let n,s=this.snapshot,a=s?s.latestValues:{},r={...this.latestValues},o=ed();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let l=eh(),c=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),d=this.getStack(),u=!d||d.members.length<=1,h=!!(c&&!u&&!0===this.options.crossfade&&!this.path.some(ag));this.animationProgress=0;let m=i?.interpolateProjection(e);this.mixTargetDelta=t=>{let i=t/1e3,s=m?.(i);if(s?(o.x.translate=s.x,o.x.scale=t3(e.x.scale,1,i),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=s.y,o.y.scale=t3(e.y.scale,1,i),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(ap(o.x,e.x,i),ap(o.y,e.y,i)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var d,p,f,g,v,x;n6(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,g=this.relativeTargetOrigin,v=l,x=i,af(f.x,g.x,v.x,x),af(f.y,g.y,v.y,x),n&&(d=this.relativeTarget,p=n,sJ(d.x,p.x)&&sJ(d.y,p.y))&&(this.isProjectionDirty=!1),n||(n=eh()),sz(n,this.relativeTarget)}c&&(this.animationValues=r,function(e,t,i,n,s,a){s?(e.opacity=t3(0,i.opacity??1,sV(n)),e.opacityExit=t3(t.opacity??1,0,sF(n))):a&&(e.opacity=t3(t.opacity??1,i.opacity??1,n));for(let s=0;s<sD;s++){let a=t0[s],r=sL(t,a),o=sL(i,a);(void 0!==r||void 0!==o)&&(r||(r=0),o||(o=0),0===r||0===o||s$(r)===s$(o)?(e[a]=Math.max(t3(sI(r),sI(o),n),0),(F.test(o)||F.test(r))&&(e[a]+="%")):e[a]=o)}(t.rotate||i.rotate)&&(e.rotate=t3(t.rotate||0,i.rotate||0,n))}(r,a,this.latestValues,i,h,u)),s&&void 0!==s.rotate&&(this.animationValues||(this.animationValues=r),this.animationValues.pathRotation=s.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(eY(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eG.update(()=>{var t,i,n;let s;sC.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=tS(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,i=[0,1e3],n={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}},(s=em(t)?t:tS(t)).start(nB("",s,i,n)),s.animation),function(e,t){let i=globalThis.__MOTION_INSPECT__;if(i)try{i({...tu("layout-animation-start",e),node:t})}catch{}}(this.currentAnimation,this),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,layout:i,latestValues:n}=e,{target:s}=e;
127if(t&&s&&i){if(this!==e&&this.layout&&i&&aw(this.options.animationType,this.layout.layoutBox,i.layoutBox)){s=this.target||eh();let t=n1(this.layout.layoutBox.x);s.x.min=e.target.x.min,s.x.max=s.x.min+t;let i=n1(this.layout.layoutBox.y);s.y.min=e.target.y.min,s.y.max=s.y.min+i}sz(t,s),iu(t,n),n3(this.projectionDeltaWithTransform,this.layoutCorrected,t,n)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new s2),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let n={};i.z&&s8("z",e,n,this.animationValues);for(let t=0;t<s4.length;t++)s8(`rotate${s4[t]}`,e,n,this.animationValues),s8(`skew${s4[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=iS(t?.pointerEvents)||"",e.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=iS(t?.pointerEvents)||""),this.hasProjected&&!ii(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1);return}e.visibility="";let s=n.animationValues||n.latestValues;this.applyTransformsToTarget();let a=function(e,t,i){let n="",s=e.x.translate/t.x,a=e.y.translate/t.y,r=i?.z||0;if((s||a||r)&&(n=`translate3d(${s}px, ${a}px, ${r}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),i){let{transformPerspective:e,rotate:t,pathRotation:s,rotateX:a,rotateY:r,skewX:o,skewY:l}=i;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),s&&(n+=`rotate(${s}deg) `),a&&(n+=`rotateX(${a}deg) `),r&&(n+=`rotateY(${r}deg) `),o&&(n+=`skewX(${o}deg) `),l&&(n+=`skewY(${l}deg) `)}let o=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==o||1!==l)&&(n+=`scale(${o}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(a=i(s,a)),e.transform=a;let{x:r,y:o}=this.projectionDelta;for(let t in e.transformOrigin=`${100*r.origin}% ${100*o.origin}% 0`,n.animationValues?e.opacity=n===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:e.opacity=n===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,t5){if(void 0===s[t])continue;let{correct:i,applyTo:r,isCSSVariable:o}=t5[t],l="none"===a?s[t]:i(s[t],n);if(r){let t=r.length;for(let i=0;i<t;i++)e[r[i]]=l}else o?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?iS(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(as),this.root.sharedNodes.clear()}}}function s7(e){e.updateLayout()}function ae(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=e.layout,{animationType:s}=e.options,a=t.source!==e.layout.source;if("size"===s)nZ(e=>{let n=a?t.measuredBox[e]:t.layoutBox[e],s=n1(n);n.min=i[e].min,n.max=n.min+s});else if("x"===s||"y"===s){let e="x"===s?"y":"x";sO(a?t.measuredBox[e]:t.layoutBox[e],i[e])}else aw(s,t.layoutBox,i)&&nZ(n=>{let s=a?t.measuredBox[n]:t.layoutBox[n],r=n1(i[n]);s.max=s.min+r,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+r)});let r=ed();n3(r,i,t.layoutBox);let o=ed();a?n3(o,e.applyTransform(n,!0),t.measuredBox):n3(o,i,t.layoutBox);let l=!sK(r),c=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:s,layout:a}=n;
127if(s&&a){let r=e.options.layoutAnchor||void 0,o=eh();n6(o,t.layoutBox,s.layoutBox,r);let l=eh();n6(l,i,a.layoutBox,r),sQ(o,l)||(c=!0),n.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=o,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:o,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function at(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function ai(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function an(e){e.clearSnapshot()}function as(e){e.clearMeasurements()}function aa(e){e.isLayoutDirty=!0,e.updateLayout()}function ar(e){e.isLayoutDirty=!1}function ao(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function al(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ac(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ad(e){e.resolveTargetDelta()}function au(e){e.calcProjection()}function ah(e){e.resetSkewAndRotation()}function am(e){e.removeLeadSnapshot()}function ap(e,t,i){e.translate=t3(t.translate,0,i),e.scale=t3(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function af(e,t,i,n){e.min=t3(t.min,i.min,n),e.max=t3(t.max,i.max,n)}function ag(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let av={duration:.45,ease:[.4,0,.1,1]},ax=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ay=ax("applewebkit/")&&!ax("chrome/")?Math.round:eW;function ab(e){e.min=ay(e.min),e.max=ay(e.max)}function aw(e,t,i){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(s0(t)-s0(i)))}function aj(e){return e!==e.root&&e.scroll?.wasRoot}let aN=s9({attachResizeListener:(e,t)=>nQ(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),ak={current:void 0},aS=s9({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ak.current){let e=new aN({});e.mount(window),e.setOptions({layoutScroll:!0}),ak.current=e}return ak.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function aT(e,t){let i=(0,n9.resolveElements)(e),n=new AbortController;return[i,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function aE(e,t,i){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&eG.postRender(()=>s(t,sd(t)))}let aM=(e,t)=>!!t&&(e===t||aM(e,t.parentElement)),aC=new WeakSet;function aA(e){return t=>{"Enter"===t.key&&e(t)}}function aP(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function a_(e){return sc(e)&&!(n0.x||n0.y)}let aR=new WeakSet;function aD(e,t,i){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===i);let s=n["onTap"+("End"===i?"":i)];s&&eG.postRender(()=>s(t,sd(t)))}let aI=new WeakMap,a$=new WeakMap,aL=e=>{let t=aI.get(e.target);t&&t(e)},aV=e=>{e.forEach(aL)},aF={some:0,all:1},aB=function(e,t){if("u"<typeof Proxy)return i$;let i=new Map,n=(i,n)=>i$(i,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(s,a)=>"create"===a?n:(i.has(a)||i.set(a,i$(a,void 0,e,t)),i.get(a))})}({animation:{Feature:class extends iL{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:i})=>(function(e,t,i={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>nW(e,t,i)));else if("string"==typeof t)n=nW(e,t,i);else{let s="function"==typeof t?iV(e,t,i.custom):t;n=Promise.all(nz(e,s,i))}return n.then(()=>
127{e.notify("AnimationComplete",t)})})(e,t,i))),i=nK(),n=!0,s=!1,a=t=>(i,n)=>{let s=iV(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(s){let{transition:e,transitionEnd:t,...n}=s;i={...i,...n,...t}}return i};function r(r){let{props:o}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;e<nq;e++){let n=tA[e],s=t.props[n];(tM(s)||!1===s)&&(i[n]=s)}return i}(e.parent)||{},c=[],d=new Set,u={},h=1/0;for(let t=0;t<nG;t++){var m,p;let f=nX[t],g=i[f],v=void 0!==o[f]?o[f]:l[f],x=tM(v),y=f===r?g.isActive:null;!1===y&&(h=t);let b=v===l[f]&&v!==o[f]&&x;if(b&&(n||s)&&e.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...u},!g.isActive&&null===y||!v&&!g.prevProp||tE(v)||"boolean"==typeof v)continue;if("exit"===f&&g.isActive&&!0!==y){g.prevResolvedValues&&(u={...u,...g.prevResolvedValues});continue}let w=(m=g.prevProp,"string"==typeof(p=v)?p!==m:!!Array.isArray(p)&&!nH(p,m)),j=w||f===r&&g.isActive&&!b&&x||t>h&&x,N=!1,k=Array.isArray(v)?v:[v],S=k.reduce(a(f),{});!1===y&&(S={});let{prevResolvedValues:T={}}=g,E={...T,...S},M=t=>{j=!0,d.has(t)&&(N=!0,d.delete(t)),g.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in E){let t=S[e],i=T[e];if(!u.hasOwnProperty(e))(iO(t)&&iO(i)?!nH(t,i)||w:t!==i)?null!=t?M(e):d.add(e):void 0!==t&&d.has(e)?M(e):g.protectedKeys[e]=!0}g.prevProp=v,g.prevResolvedValues=S,g.isActive&&(u={...u,...S}),(n||s)&&e.blockInitialAnimation&&(j=!1);let C=b&&w,A=!C||N;j&&A&&c.push(...k.map(t=>{let i={type:f};if("string"==typeof t&&(n||s)&&!C&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,s=iV(n,t);if(n.enteringChildren&&s){let{delayChildren:t}=s.transition||{};i.delay=nU(n.enteringChildren,e,t)}}return{animation:t,options:i}}))}if(d.size){let t={};if("boolean"!=typeof o.initial){let i=iV(e,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(t.transition=i.transition)}d.forEach(i=>{let n=e.getBaseTarget(i),s=e.getValue(i);s&&(s.liveStyle=!0),t[i]=n??null}),c.push({animation:t})}let f=!!c.length;return n&&(!1===o.initial||o.initial===o.animate)&&!e.manuallyAnimateOnMount&&(f=!1),n=!1,s=!1,f?t(c):Promise.resolve()}return{animateChanges:r,setActive:function(t,n){if(i[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),i[t].isActive=n;let s=r(t);for(let e in i)i[e].protectedKeys={};return s},setAnimateFunction:function(i){t=i(e)},getState:()=>i,reset:()=>{i=nK(),s=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();tE(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends iL{constructor(){super(...arguments),this.id=nJ++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;if(e&&!1===i){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){let i=iV(this.node,e,t);if(i){let{transition:e,transitionEnd:t,...n}=i;for(let e in n)this.node.getValue(e)?.jump(n[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends iL{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:n,margin:s,amount:a="some",once:r}=i,o={root:n?n.current:void 0,rootMargin:s,threshold:"number"==typeof a?a:aF[a]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,r&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=t?i:n;s&&s(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let i=e||document;a$.has(i)||a$.set(i,{});let n=a$.get(i),s=JSON.stringify(t);return n[s]||(n[s]=new IntersectionObserver(aV,{root:e,...t})),n[s]}(o),aI.set(e,l),t.observe(e),()=>{aI.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends iL{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:i}=this.node.props;this.unmount=function(e,t,i={}){let[n,s,a]=aT(e,i),r=e=>{let n=e.currentTarget;if(!a_(e)||aR.has(e))return;aC.add(n),i.stopPropagation&&aR.add(e);let a=t(n,e),r={...s,capture:!0},o=(e,t)=>{window.removeEventListener("pointerup",l,r),window.removeEventListener("pointercancel",c,r),aC.has(n)&&aC.delete(n),a_(e)&&"function"==typeof a&&a(e,{success:t})},l=e=>{o(e,n===window||n===document||i.useGlobalTarget||aM(n,e.target))},c=e=>{o(e,!1)};window.addEventListener("pointerup",l,r),window.addEventListener("pointercancel",c,r)};
127return n.forEach(e=>{((i.useGlobalTarget?window:e).addEventListener("pointerdown",r,s),h(e))&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let n=aA(()=>{if(aC.has(i))return;aP(i,"down");let e=aA(()=>{aP(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>aP(i,"cancel"),t)});i.addEventListener("keydown",n,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),t)})(e,s)),so.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),a}(e,(e,t)=>(aD(this.node,t,"Start"),(e,{success:t})=>aD(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends iL{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=iU(nQ(this.node.current,"focus",()=>this.onFocus()),nQ(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends iL{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[n,s,a]=aT(e,i);return n.forEach(e=>{let i,n=!1,a=!1,r=t=>{i&&(i(t),i=void 0),e.removeEventListener("pointerleave",l)},o=e=>{n=!1,window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",o),a&&(a=!1,r(e))},l=e=>{if("touch"!==e.pointerType){if(n){a=!0;return}r(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||n0.x||n0.y)return;a=!1;let r=t(e,n);"function"==typeof r&&(i=r,e.addEventListener("pointerleave",l,s))},s),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",o,s),window.addEventListener("pointercancel",o,s)},s)}),a}(e,(e,t)=>(aE(this.node,t,"Start"),e=>aE(this.node,e,"End"))))}unmount(){}}},pan:{Feature:class extends iL{constructor(){super(...arguments),this.removePointerDownListener=eW}onPointerDown(e){this.session=new sf(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:sh(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:sM(e),onStart:sM(t),onMove:sM(i),onEnd:(e,t)=>{delete this.session,n&&eG.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=su(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends iL{constructor(e){super(e),this.removeGroupControls=eW,this.removeListeners=eW,this.controls=new sS(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eW}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:aS,MeasureLayout:sR},layout:{ProjectionNode:aS,MeasureLayout:sR}},(e,t)=>t.isSVG??ig(e)?new t9(t):new im(t,{allowProjection:e!==r.Fragment}));e.s(["motion",0,aB],890416)},821113,727844,e=>{"use strict";var t=e.i(3485);function i(e,t,i){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let n=document;t&&(n=t.current);let s=i?.[e]??n.querySelectorAll(e);return s?Array.from(s):[]}return Array.from(e).filter(e=>null!=e)}e.s(["resolveElements",0,i],727844);let n={some:0,all:1};e.s(["useInView",0,function(e,{root:s,margin:a,amount:r,once:o=!1,initial:l=!1}={}){let[c,d]=(0,t.useState)(l);return(0,t.useEffect)(()=>{if(!e.current||o&&c)return;let t={root:s&&s.current||void 0,margin:a,amount:r};return function(e,t,{root:s,margin:a,amount:r="some"}={}){let o=i(e),l=new WeakMap,c=new IntersectionObserver(e=>
127{e.forEach(e=>{let i=l.get(e.target);if(!!i!==e.isIntersecting)if(e.isIntersecting){let i=t(e.target,e);"function"==typeof i?l.set(e.target,i):c.unobserve(e.target)}else"function"==typeof i&&(i(e),l.delete(e.target))})},{root:s,rootMargin:a,threshold:"number"==typeof r?r:n[r]});return o.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(d(!0),o?void 0:()=>d(!1)),t)},[s,e,a,o,r]),c}],821113)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.