PageSourceSearch

https://starborn-elevate-hub.lovable.app/assets/index-CkEgiqc1.js

js starborn-elevate-hub.lovable.app collected 2026-10-03 03:36:01 UTC 173,359 bytes, 9 lines download raw bytes

vendor: 57,954 bytes, line 1
1import{r as y,j as a}from"./main-C9qoe6gq.js";const rs=y.createContext({});function os(e){const t=y.useRef(null);return t.current===null&&(t.current=e()),t.current}const zr=typeof window<"u",si=zr?y.useLayoutEffect:y.useEffect,ht=y.createContext(null);function as(e,t){e.indexOf(t)===-1&&e.push(t)}function nt(e,t){const s=e.indexOf(t);s>-1&&e.splice(s,1)}const te=(e,t,s)=>s>t?t:s<e?e:s;let ls=()=>{};const ae={},ni=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function ii(e){return typeof e=="object"&&e!==null}const ri=e=>/^0[^.\s]+$/u.test(e);function oi(e){let t;return()=>(t===void 0&&(t=e()),t)}const _=e=>e,Hr=(e,t)=>s=>t(e(s)),Fe=(...e)=>e.reduce(Hr),Re=(e,t,s)=>{const n=t-e;return n===0?1:(s-e)/n};class cs{constructor(){this.subscriptions=[]}add(t){return as(this.subscriptions,t),()=>nt(this.subscriptions,t)}notify(t,s,n){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,s,n);else for(let o=0;o<i;o++){const r=this.subscriptions[o];r&&r(t,s,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const U=e=>e*1e3,H=e=>e/1e3;function ai(e,t){return t?e*(1e3/t):0}const li=(e,t,s)=>(((1-3*s+3*t)*e+(3*s-6*t))*e+3*t)*e,_r=1e-7,Gr=12;function Yr(e,t,s,n,i){let o,r,l=0;do r=t+(s-t)/2,o=li(r,n,i)-e,o>0?s=r:t=r;while(Math.abs(o)>_r&&++l<Gr);return r}function Oe(e,t,s,n){if(e===t&&s===n)return _;const i=o=>Yr(o,0,1,e,s);return o=>o===0||o===1?o:li(i(o),t,n)}const ci=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,ui=e=>t=>1-e(1-t),di=Oe(.33,1.53,.69,.99),us=ui(di),hi=ci(us),fi=e=>e>=1?1:(e*=2)<1?.5*us(e):.5*(2-Math.pow(2,-10*(e-1))),ds=e=>1-Math.sin(Math.acos(e)),mi=ui(ds),pi=ci(ds),qr=Oe(.42,0,1,1),Xr=Oe(0,0,.58,1),gi=Oe(.42,0,.58,1),Zr=e=>Array.isArray(e)&&typeof e[0]!="number",xi=e=>Array.isArray(e)&&typeof e[0]=="number",Qr={linear:_,easeIn:qr,easeInOut:gi,easeOut:Xr,circIn:ds,circInOut:pi,circOut:mi,backIn:us,backInOut:hi,backOut:di,anticipate:fi},Jr=e=>typeof e=="string",Is=e=>{if(xi(e)){ls(e.length===4);const[t,s,n,i]=e;return Oe(t,s,n,i)}else if(Jr(e))return Qr[e];return e},Ke=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function eo(e,t){let s=new Set,n=new Set,i=!1,o=!1;const r=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1};function u(c){r.has(c)&&(d.schedule(c),e()),c(l)}const d={schedule:(c,h=!1,f=!1)=>{const p=f&&i?s:n;return h&&r.add(c),p.add(c),c},cancel:c=>{n.delete(c),r.delete(c)},process:c=>{if(l=c,i){o=!0;return}i=!0;const h=s;s=n,n=h,s.forEach(u),s.clear(),i=!1,o&&(o=!1,d.process(c))}};return d}const to=40;function yi(e,t){let s=!1,n=!0;const i={delta:0,timestamp:0,isProcessing:!1},o=()=>s=!0,r=Ke.reduce((w,k)=>(w[k]=eo(o),w),{}),{setup:l,read:u,resolveKeyframes:d,preUpdate:c,update:h,preRender:f,render:m,postRender:p}=r,g=()=>{const w=ae.useManualTiming,k=w?i.timestamp:performance.now();s=!1,w||(i.delta=n?1e3/60:Math.max(Math.min(k-i.timestamp,to),1)),i.timestamp=k,i.isProcessing=!0,l.process(i),u.process(i),d.process(i),c.process(i),h.process(i),f.process(i),m.process(i),p.process(i),i.isProcessing=!1,s&&t&&(n=!1,e(g))},x=()=>{s=!0,n=!0,i.isProcessing||e(g)};return{schedule:Ke.reduce((w,k)=>{const S=r[k];return w[k]=(D,I=!1,P=!1)=>(s||x(),S.schedule(D,I,P)),w},{}),cancel:w=>{for(let k=0;k<Ke.length;k++)r[Ke[k]].cancel(w)},state:i,steps:r}}const{schedule:M,cancel:le,state:O,steps:yt}=yi(typeof requestAnimationFrame<"u"?requestAnimationFrame:_,!0);let Ye;function so(){Ye=void 0}const $={now:()=>(Ye===void 0&&$.set(O.isProcessing||ae.useManualTiming?O.timestamp:performance.now()),Ye),set:e=>{Ye=e,queueMicrotask(so)}},vi=e=>t=>typeof t=="string"&&t.startsWith(e),wi=vi("--"),no=vi("var(--"),hs=e=>no(e)?io.test(e.split("/*")[0].trim()):!1,io=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Bs(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const je={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Le={...je,transform:e=>te(0,1,e)},Ue={...je,default:1},Ne=e=>Math.round(e*1e5)/1e5,fs=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function ro(e){return e==null}const oo=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ms=(e,t)=>s=>!!(typeof s=="string"&&oo.test(s)&&s.startsWith(e)||t&&!ro(s)&&Object.prototype.hasOwnProperty.call(s,t)),bi=(e,t,s)=>n=>{if(typeof n!="string")return n;const[i,o,r,l]=n.match(fs);return{[e]:parseFloat(i),[t]:parseFloat(o),[s]:parseFloat(r),alpha:l!==void 0?parseFloat(l):1}},ao=e=>te(0,255,e),vt={...je,transform:e=>Math.round(ao(e))},fe={test:ms("rgb","red"),parse:bi("red","green","blue"),transform:({red:e,green:t,blue:s,alpha:n=1})=>"rgba("+vt.transform(e)+", "+vt.transform(t)+", "+vt.transform(s)+", "+Ne(Le.transform(n))+")"};function lo(e){let t="",s="",n="",i="";return e.length>5?(t=e.substring(1,3),s=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),s=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,s+=s,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(s,16),blue:parseInt(n,16),alpha:i?parseInt(i,16)/255:1}}const Lt={test:ms("#"),parse:lo,transform:fe.transform},We=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),re=We("deg"),ee=We("%"),T=We("px"),co=We("vh"),uo=We("vw"),Fs={...ee,parse:e=>ee.parse(e)/100,transform:e=>ee.transform(e*100)},ve={test:ms("hsl","hue"),parse:bi("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:s,alpha:n=1})=>"hsla("+Math.round(e)+", "+ee.transform(Ne(t))+", "+ee.transform(Ne(s))+", "+Ne(Le.transform(n))+")"},R={test:e=>fe.test(e)||Lt.test(e)||ve.test(e),parse:e=>fe.test(e)?fe.parse(e):ve.test(e)?ve.parse(e):Lt.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?fe.transform(e):ve.transform(e),getAnimatableNone:e=>{const t=R.parse(e);return t.alpha=0,R.transform(t)}},ho=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function fo(e){return isNaN(e)&&typeof e=="string"&&(e.match(fs)?.length||0)+(e.match(ho)?.length||0)>0}const ki="number",Ti="color",mo="var",po="var(",Os="${}",go=/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 ke(e){const t=e.toString(),s=[],n={color:[],number:[],var:[]},i=[];let o=0;const l=t.replace(go,u=>(R.test(u)?(n.color.push(o),i.push(Ti),s.push(R.parse(u))):u.startsWith(po)?(n.var.push(o),i.push(mo),s.push(u)):(n.number.push(o),i.push(ki),s.push(parseFloat(u))),++o,Os)).split(Os);return{values:s,split:l,indexes:n,types:i}}function xo(e){return ke(e).values}function ji({split:e,types:t}){const s=e.length;return n=>{let i="";for(let o=0;o<s;o++)if(i+=e[o],n[o]!==void 0){const r=t[o];r===ki?i+=Ne(n[o]):r===Ti?i+=R.transform(n[o]):i+=n[o]}return i}}function yo(e){return ji(ke(e))}const vo=e=>typeof e=="number"?0:R.test(e)?R.getAnimatableNone(e):e,wo=(e,t)=>typeof e=="number"?t?.trim().endsWith("/")?e:0:vo(e);function bo(e){const t=ke(e);return ji(t)(t.values.map((n,i)=>wo(n,t.split[i])))}const q={test:fo,parse:xo,createTransformer:yo,getAnimatableNone:bo};function wt(e,t,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?e+(t-e)*6*s:s<1/2?t:s<2/3?e+(t-e)*(2/3-s)*6:e}function ko({hue:e,saturation:t,lightness:s,alpha:n}){e/=360,t/=100,s/=100;let i=0,o=0,r=0;if(!t)i=o=r=s;else{const l=s<.5?s*(1+t):s+t-s*t,u=2*s-l;i=wt(u,l,e+1/3),o=wt(u,l,e),r=wt(u,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(o*255),blue:Math.round(r*255),alpha:n}}function it(e,t){return s=>s>0?t:e}const N=(e,t,s)=>e+(t-e)*s,bt=(e,t,s)=>{const n=e*e,i=s*(t*t-n)+n;return i<0?0:Math.sqrt(i)},To=[Lt,fe,ve],jo=e=>To.find(t=>t.test(e));function Ws(e){const t=jo(e);if(!t)return!1;let s=t.parse(e);return t===ve&&(s=ko(s)),s}const $s=(e,t)=>{const s=Ws(e),n=Ws(t);if(!s||!n)return it(e,t);const i={...s};return o=>(i.red=bt(s.red,n.red,o),i.green=bt(s.green,n.green,o),i.blue=bt(s.blue,n.blue,o),i.alpha=N(s.alpha,n.alpha,o),fe.transform(i))},It=new Set(["none","hidden"]);function So(e,t){return It.has(e)?s=>s<=0?e:t:s=>s>=1?t:e}function Po(e,t){return s=>N(e,t,s)}function ps(e){return typeof e=="number"?Po:typeof e=="string"?hs(e)?it:R.test(e)?$s:Mo:Array.isArray(e)?Si:typeof e=="object"?R.test(e)?$s:Co:it}function Si(e,t){const s=[...e],n=s.length,i=e.map((o,r)=>ps(o)(o,t[r]));return o=>{for(let r=0;r<n;r++)s[r]=i[r](o);return s}}function Co(e,t){const s={...e,...t},n={};for(const i in s)e[i]!==void 0&&t[i]!==void 0&&(n[i]=ps(e[i])(e[i],t[i]));return i=>{for(const o in n)s[o]=n[o](i);return s}}function Ao(e,t){const s=[],n={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const o=t.types[i],r=e.indexes[o][n[o]],l=e.values[r]??0;s[i]=l,n[o]++}return s}const Mo=(e,t)=>{const s=q.createTransformer(t),n=ke(e),i=ke(t);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?It.has(e)&&!i.values.length||It.has(t)&&!n.values.length?So(e,t):Fe(Si(Ao(n,i),i.values),s):it(e,t)};function Pi(e,t,s){return typeof e=="number"&&typeof t=="number"&&typeof s=="number"?N(e,t,s):ps(e)(e,t)}const No=e=>{const t=({timestamp:s})=>e(s);return{start:(s=!0)=>M.update(t,s),stop:()=>le(t),now:()=>O.isProcessing?O.timestamp:$.now()}},Ci=(e,t,s=10)=>{let n="";const i=Math.max(Math.round(t/s),2);for(let o=0;o<i;o++)n+=Math.round(e(o/(i-1))*1e4)/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},rt=2e4;function gs(e){let t=0;const s=50;let n=e.next(t);for(;!n.done&&t<rt;)t+=s,n=e.next(t);return t>=rt?1/0:t}function Vo(e,t=100,s){const n=s({...e,keyframes:[0,t]}),i=Math.min(gs(n),rt);return{type:"keyframes",ease:o=>n.next(i*o).value/t,duration:H(i)}}const E={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function Bt(e,t){return e*Math.sqrt(1-t*t)}const Do=12;function Eo(e,t,s){let n=s;for(let i=1;i<Do;i++)n=n-e(n)/t(n);return n}const kt=.001;function Ro({duration:e=E.duration,bounce:t=E.bounce,velocity:s=E.velocity,mass:n=E.mass}){let i,o,r=1-t;r=te(E.minDamping,E.maxDamping,r),e=te(E.minDuration,E.maxDuration,H(e)),r<1?(i=d=>{const c=d*r,h=c*e,f=c-s,m=Bt(d,r),p=Math.exp(-h);return kt-f/m*p},o=d=>{const h=d*r*e,f=h*s+s,m=Math.pow(r,2)*Math.pow(d,2)*e,p=Math.exp(-h),g=Bt(Math.pow(d,2),r);return(-i(d)+kt>0?-1:1)*((f-m)*p)/g}):(i=d=>{const c=Math.exp(-d*e),h=(d-s)*e+1;return-kt+c*h},o=d=>{const c=Math.exp(-d*e),h=(s-d)*(e*e);return c*h});const l=5/e,u=Eo(i,o,l);if(e=U(e),isNaN(u))return{stiffness:E.stiffness,damping:E.damping,duration:e};{const d=Math.pow(u,2)*n;return{stiffness:d,damping:r*2*Math.sqrt(n*d),duration:e}}}const Lo=["duration","bounce"],Io=["stiffness","damping","mass"];function Ks(e,t){return t.some(s=>e[s]!==void 0)}function Bo(e){let t={velocity:E.velocity,stiffness:E.stiffness,damping:E.damping,mass:E.mass,isResolvedFromDuration:!1,...e};if(!Ks(e,Io)&&Ks(e,Lo))if(t.velocity=0,e.visualDuration){const s=e.visualDuration,n=2*Math.PI/(s*1.2),i=n*n,o=2*te(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:E.mass,stiffness:i,damping:o}}else{const s=Ro({...e,velocity:0});t={...t,...s,mass:E.mass},t.isResolvedFromDuration=!0}return t}function ot(e=E.visualDuration,t=E.bounce){const s=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:n,restDelta:i}=s;const o=s.keyframes[0],r=s.keyframes[s.keyframes.length-1],l={done:!1,value:o},{stiffness:u,damping:d,mass:c,duration:h,velocity:f,isResolvedFromDuration:m}=Bo({...s,velocity:-H(s.velocity||0)}),p=f||0,g=d/(2*Math.sqrt(u*c)),x=r-o,v=H(Math.sqrt(u/c)),b=Math.abs(x)<5;n||(n=b?E.restSpeed.granular:E.restSpeed.default),i||(i=b?E.restDelta.granular:E.restDelta.default);let w,k,S,D,I,P;if(g<1)S=Bt(v,g),D=(p+g*v*x)/S,w=j=>{const V=Math.exp(-g*v*j);return r-V*(D*Math.sin(S*j)+x*Math.cos(S*j))},I=g*v*D+x*S,P=g*v*x-D*S,k=j=>Math.exp(-g*v*j)*(I*Math.sin(S*j)+P*Math.cos(S*j));else if(g===1){w=V=>r-Math.exp(-v*V)*(x+(p+v*x)*V);const j=p+v*x;k=V=>Math.exp(-v*V)*(v*j*V-p)}else{const j=v*Math.sqrt(g*g-1);w=X=>{const ne=Math.exp(-g*v*X),Z=Math.min(j*X,300);return r-ne*((p+g*v*x)*Math.sinh(Z)+j*x*Math.cosh(Z))/j};const V=(p+g*v*x)/j,B=g*v*V-x*j,se=g*v*x-V*j;k=X=>{const ne=Math.exp(-g*v*X),Z=Math.min(j*X,300);return ne*(B*Math.sinh(Z)+se*Math.cosh(Z))}}const C={calculatedDuration:m&&h||null,velocity:j=>U(k(j)),next:j=>{if(!m&&g<1){const B=Math.exp(-g*v*j),se=Math.sin(S*j),X=Math.cos(S*j),ne=r-B*(D*se+x*X),Z=U(B*(I*se+P*X));return l.done=Math.abs(Z)<=n&&Math.abs(r-ne)<=i,l.value=l.done?r:ne,l}const V=w(j);if(m)l.done=j>=h;else{const B=U(k(j));l.done=Math.abs(B)<=n&&Math.abs(r-V)<=i}return l.value=l.done?r:V,l},toString:()=>{const j=Math.min(gs(C),rt),V=Ci(B=>C.next(j*B).value,j,30);return j+"ms "+V},toTransition:()=>{}};return C}ot.applyToOptions=e=>{const t=Vo(e,100,ot);return e.ease=t.ease,e.duration=U(t.duration),e.type="keyframes",e};const Fo=5;function Ai(e,t,s){const n=Math.max(t-Fo,0);return ai(s-e(n),t-n)}function Ft({keyframes:e,velocity:t=0,power:s=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:r,min:l,max:u,restDelta:d=.5,restSpeed:c}){const h=e[0],f={done:!1,value:h},m=P=>l!==void 0&&P<l||u!==void 0&&P>u,p=P=>l===void 0?u:u===void 0||Math.abs(l-P)<Math.abs(u-P)?l:u;let g=s*t;const x=h+g,v=r===void 0?x:r(x);v!==x&&(g=v-h);const b=P=>-g*Math.exp(-P/n),w=P=>v+b(P),k=P=>{const C=b(P),j=w(P);f.done=Math.abs(C)<=d,f.value=f.done?v:j};let S,D;const I=P=>{m(f.value)&&(S=P,D=ot({keyframes:[f.value,p(f.value)],velocity:Ai(w,P,f.value),damping:i,stiffness:o,restDelta:d,restSpeed:c}))};return I(0),{calculatedDuration:null,next:P=>{let C=!1;return!D&&S===void 0&&(C=!0,k(P),I(P)),S!==void 0&&P>=S?D.next(P-S):(!C&&k(P),f)}}}function Oo(e,t,s){const n=[],i=s||ae.mix||Pi,o=e.length-1;for(let r=0;r<o;r++){let l=i(e[r],e[r+1]);if(t){const u=Array.isArray(t)?t[r]||_:t;l=Fe(u,l)}n.push(l)}return n}function Wo(e,t,{clamp:s=!0,ease:n,mixer:i}={}){const o=e.length;if(ls(o===t.length),o===1)return()=>t[0];if(o===2&&t[0]===t[1])return()=>t[1];const r=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=Oo(t,n,i),u=l.length,d=c=>{if(r&&c<e[0])return t[0];let h=0;if(u>1)for(;h<e.length-2&&!(c<e[h+1]);h++);const f=Re(e[h],e[h+1],c);return l[h](f)};return s?c=>d(te(e[0],e[o-1],c)):d}function $o(e,t){const s=e[e.length-1];for(let n=1;n<=t;n++){const i=Re(0,t,n);e.push(N(s,1,i))}}function Ko(e){const t=[0];return $o(t,e.length-1),t}function Uo(e,t){return e.map(s=>s*t)}function zo(e,t){return e.map(()=>t||gi).splice(0,e.length-1)}function Ve({duration:e=300,keyframes:t,times:s,ease:n="easeInOut"}){const i=Zr(n)?n.map(Is):Is(n),o={done:!1,value:t[0]},r=Uo(s&&s.length===t.length?s:Ko(t),e),l=Wo(r,t,{ease:Array.isArray(i)?i:zo(t,i)});return{calculatedDuration:e,next:u=>(o.value=l(u),o.done=u>=e,o)}}const Ho=e=>e!==null;function ft(e,{repeat:t,repeatType:s="loop"},n,i=1){const o=e.filter(Ho),l=i<0||t&&s!=="loop"&&t%2===1?0:o.length-1;return!l||n===void 0?o[l]:n}const _o={decay:Ft,inertia:Ft,tween:Ve,keyframes:Ve,spring:ot};function Mi(e){typeof e.type=="string"&&(e.type=_o[e.type])}class xs{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,s){return this.finished.then(t,s)}}const Go=e=>e/100;class at extends xs{constructor(t){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=()=>{const{motionValue:s}=this.options;s&&s.updatedAt!==$.now()&&this.tick($.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Mi(t);const{type:s=Ve,repeat:n=0,repeatDelay:i=0,repeatType:o,velocity:r=0}=t;let{keyframes:l}=t;const u=s||Ve;u!==Ve&&typeof l[0]!="number"&&(this.mixKeyframes=Fe(Go,Pi(l[0],l[1])),l=[0,100]);const d=u({...t,keyframes:l});o==="mirror"&&(this.mirroredGenerator=u({...t,keyframes:[...l].reverse(),velocity:-r})),d.calculatedDuration===null&&(d.calculatedDuration=gs(d));const{calculatedDuration:c}=d;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=d}updateTime(t){const s=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(t,s=!1){const{generator:n,totalDuration:i,mixKeyframes:o,mirroredGenerator:r,resolvedDuration:l,calculatedDuration:u}=this;if(this.startTime===null)return n.next(0);const{delay:d=0,keyframes:c,repeat:h,repeatType:f,repeatDelay:m,type:p,onUpdate:g,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),s?this.currentTime=t:this.updateTime(t);const v=this.currentTime-d*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?v<0:v>i;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let w=this.currentTime,k=n;if(h){const P=Math.min(this.currentTime,i)/l;let C=Math.floor(P),j=P%1;!j&&P>=1&&(j=1),j===1&&C--,C=Math.min(C,h+1),C%2&&(f==="reverse"?(j=1-j,m&&(j-=m/l)):f==="mirror"&&(k=r)),w=te(0,1,j)*l}let S;b?(this.delayState.value=c[0],S=this.delayState):S=k.next(w),o&&!b&&(S.value=o(S.value));let{done:D}=S;!b&&u!==null&&(D=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const I=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&D);return I&&p!==Ft&&(S.value=ft(c,this.options,x,this.speed)),g&&g(S.value),I&&this.finish(),S}then(t,s){return this.finished.then(t,s)}get duration(){return H(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+H(t)}get time(){return H(this.currentTime)}set time(t){t=U(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const s=this.generator.next(t).value;return Ai(n=>this.generator.next(n).value,t,s)}get speed(){return this.playbackSpeed}set speed(t){const s=this.playbackSpeed!==t;s&&this.driver&&this.updateTime($.now()),this.playbackSpeed=t,s&&this.driver&&(this.time=H(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=No,startTime:s}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const n=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=n):this.holdTime!==null?this.startTime=n-this.holdTime:this.startTime||(this.startTime=s??n),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime($.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&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(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function Yo(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const me=e=>e*180/Math.PI,Ot=e=>{const t=me(Math.atan2(e[1],e[0]));return Wt(t)},qo={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Ot,rotateZ:Ot,skewX:e=>me(Math.atan(e[1])),skewY:e=>me(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Wt=e=>(e=e%360,e<0&&(e+=360),e),Us=Ot,zs=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Hs=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Xo={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:zs,scaleY:Hs,scale:e=>(zs(e)+Hs(e))/2,rotateX:e=>Wt(me(Math.atan2(e[6],e[5]))),rotateY:e=>Wt(me(Math.atan2(-e[2],e[0]))),rotateZ:Us,rotate:Us,skewX:e=>me(Math.atan(e[4])),skewY:e=>me(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function $t(e){return e.includes("scale")?1:0}function Kt(e,t){if(!e||e==="none")return $t(t);const s=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let n,i;if(s)n=Xo,i=s;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);n=qo,i=l}if(!i)return $t(t);const o=n[t],r=i[1].split(",").map(Qo);return typeof o=="function"?o(r):r[o]}const Zo=(e,t)=>{const{transform:s="none"}=getComputedStyle(e);return Kt(s,t)};function Qo(e){return parseFloat(e.trim())}const Se=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Pe=new Set(Se),_s=e=>e===je||e===T,Jo=new Set(["x","y","z"]),ea=Se.filter(e=>!Jo.has(e));function ta(e){const t=[];return ea.forEach(s=>{const n=e.getValue(s);n!==void 0&&(t.push([s,n.get()]),n.set(s.startsWith("scale")?1:0))}),t}const oe={width:({x:e},{paddingLeft:t="0",paddingRight:s="0",boxSizing:n})=>{const i=e.max-e.min;return n==="border-box"?i:i-parseFloat(t)-parseFloat(s)},height:({y:e},{paddingTop:t="0",paddingBottom:s="0",boxSizing:n})=>{const i=e.max-e.min;return n==="border-box"?i:i-parseFloat(t)-parseFloat(s)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Kt(t,"x"),y:(e,{transform:t})=>Kt(t,"y")};oe.translateX=oe.x;oe.translateY=oe.y;const pe=new Set;let Ut=!1,zt=!1,Ht=!1;function Ni(){if(zt){const e=Array.from(pe).filter(n=>n.needsMeasurement),t=new Set(e.map(n=>n.element)),s=new Map;t.forEach(n=>{const i=ta(n);i.length&&(s.set(n,i),n.render())}),e.forEach(n=>n.measureInitialState()),t.forEach(n=>{n.render();const i=s.get(n);i&&i.forEach(([o,r])=>{n.getValue(o)?.set(r)})}),e.forEach(n=>n.measureEndState()),e.forEach(n=>{n.suspendedScrollY!==void 0&&window.scrollTo(0,n.suspendedScrollY)})}zt=!1,Ut=!1,pe.forEach(e=>e.complete(Ht)),pe.clear()}function Vi(){pe.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(zt=!0)})}function sa(){Ht=!0,Vi(),Ni(),Ht=!1}class ys{constructor(t,s,n,i,o,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=s,this.name=n,this.motionValue=i,this.element=o,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(pe.add(this),Ut||(Ut=!0,M.read(Vi),M.resolveKeyframes(Ni))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:s,element:n,motionValue:i}=this;if(t[0]===null){const o=i?.get(),r=t[t.length-1];if(o!==void 0)t[0]=o;else if(n&&s){const l=n.readValue(s,r);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=r),i&&o===void 0&&i.set(t[0])}Yo(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),pe.delete(this)}cancel(){this.state==="scheduled"&&(pe.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const na=e=>e.startsWith("--");function Di(e,t,s){na(t)?e.style.setProperty(t,s):e.style[t]=s}const ia={};function Ei(e,t){const s=oi(e);return()=>ia[t]??s()}const ra=Ei(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Ri=Ei(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Me=([e,t,s,n])=>`cubic-bezier(${e}, ${t}, ${s}, ${n})`,Gs={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Me([0,.65,.55,1]),circOut:Me([.55,0,1,.45]),backIn:Me([.31,.01,.66,-.59]),backOut:Me([.33,1.53,.69,.99])};function Li(e,t){if(e)return typeof e=="function"?Ri()?Ci(e,t):"ease-out":xi(e)?Me(e):Array.isArray(e)?e.map(s=>Li(s,t)||Gs.easeOut):Gs[e]}function oa(e,t,s,{delay:n=0,duration:i=300,repeat:o=0,repeatType:r="loop",ease:l="easeOut",times:u}={},d=void 0){const c={[t]:s};u&&(c.offset=u);const h=Li(l,i);Array.isArray(h)&&(c.easing=h);const f={delay:n,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:o+1,direction:r==="reverse"?"alternate":"normal"};return d&&(f.pseudoElement=d),e.animate(c,f)}function Ii(e){return typeof e=="function"&&"applyToOptions"in e}function aa({type:e,...t}){return Ii(e)&&Ri()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Bi extends xs{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:s,name:n,keyframes:i,pseudoElement:o,allowFlatten:r=!1,finalKeyframe:l,onComplete:u}=t;this.isPseudoElement=!!o,this.allowFlatten=r,this.options=t,ls(typeof t.type!="string");const d=aa(t);this.animation=oa(s,n,i,d,o),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!o){const c=ft(i,this.options,l,this.speed);this.updateMotionValue&&this.updateMotionValue(c),Di(s,n,c),this.animation.cancel()}u?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return H(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+H(t)}get time(){return H(Number(this.animation.currentTime)||0)}set time(t){const s=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=U(t),s&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:s,rangeEnd:n,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&ra()?(this.animation.timeline=t,s&&(this.animation.rangeStart=s),n&&(this.animation.rangeEnd=n),_):i(this)}}const Fi={anticipate:fi,backInOut:hi,circInOut:pi};function la(e){return e in Fi}function ca(e){typeof e.ease=="string"&&la(e.ease)&&(e.ease=Fi[e.ease])}const Tt=10;class ua extends Bi{constructor(t){ca(t),Mi(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:s,onUpdate:n,onComplete:i,element:o,...r}=this.options;if(!s)return;if(t!==void 0){s.set(t);return}const l=new at({...r,autoplay:!1}),u=Math.max(Tt,$.now()-this.startTime),d=te(0,Tt,u-Tt),c=l.sample(u).value,{name:h}=this.options;o&&h&&Di(o,h,c),s.setWithVelocity(l.sample(Math.max(0,u-d)).value,c,d),l.stop()}}const Ys=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(q.test(e)||e==="0")&&!e.startsWith("url("));function da(e){const t=e[0];if(e.length===1)return!0;for(let s=0;s<e.length;s++)if(e[s]!==t)return!0}function ha(e,t,s,n){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const o=e[e.length-1],r=Ys(i,t),l=Ys(o,t);return!r||!l?!1:da(e)||(s==="spring"||Ii(s))&&n}function _t(e){e.duration=0,e.type="keyframes"}const Oi=new Set(["opacity","clipPath","filter","transform"]),fa=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function ma(e){for(let t=0;t<e.length;t++)if(typeof e[t]=="string"&&fa.test(e[t]))return!0;return!1}const pa=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),ga=oi(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function xa(e){const{motionValue:t,name:s,repeatDelay:n,repeatType:i,damping:o,type:r,keyframes:l}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:d,transformTemplate:c}=t.owner.getProps();return ga()&&s&&(Oi.has(s)||pa.has(s)&&ma(l))&&(s!=="transform"||!c)&&!d&&!n&&i!=="mirror"&&o!==0&&r!=="inertia"}const ya=40;class va extends xs{constructor({autoplay:t=!0,delay:s=0,type:n="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:r="loop",keyframes:l,name:u,motionValue:d,element:c,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=$.now();const f={autoplay:t,delay:s,type:n,repeat:i,repeatDelay:o,repeatType:r,name:u,motionValue:d,element:c,...h},m=c?.KeyframeResolver||ys;this.keyframeResolver=new m(l,(p,g,x)=>this.onKeyframesResolved(p,g,f,!x),u,d,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,s,n,i){this.keyframeResolver=void 0;const{name:o,type:r,velocity:l,delay:u,isHandoff:d,onUpdate:c}=n;this.resolvedAt=$.now();let h=!0;ha(t,o,r,l)||(h=!1,(ae.instantAnimations||!u)&&c?.(ft(t,n,s)),t[0]=t[t.length-1],_t(n),n.repeat=0);const m={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>ya?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...n,keyframes:t},p=h&&!d&&xa(m),g=m.motionValue?.owner?.current;let x;if(p)try{x=new ua({...m,element:g})}catch{x=new at(m)}else x=new at(m);x.finished.then(()=>{this.notifyFinished()}).catch(_),this.pendingTimeline&&(this.stopTimeline=x.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=x}get finished(){return this._animation?this.animation.finished:this._finished}then(t,s){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),sa()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function Wi(e,t,s,n=0,i=1){const o=Array.from(e).sort((d,c)=>d.sortNodePosition(c)).indexOf(t),r=e.size,l=(r-1)*n;return typeof s=="function"?s(o,r):i===1?o*n:l-o*n}const wa=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function ba(e){const t=wa.exec(e);if(!t)return[,];const[,s,n,i]=t;return[`--${s??n}`,i]}function $i(e,t,s=1){const[n,i]=ba(e);if(!n)return;const o=window.getComputedStyle(t).getPropertyValue(n);if(o){const r=o.trim();return ni(r)?parseFloat(r):r}return hs(i)?$i(i,t,s+1):i}const ka={type:"spring",stiffness:500,damping:25,restSpeed:10},Ta=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ja={type:"keyframes",duration:.8},Sa={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Pa=(e,{keyframes:t})=>t.length>2?ja:Pe.has(e)?e.startsWith("scale")?Ta(t[1]):ka:Sa;function Ki(e,t){if(e?.inherit&&t){const{inherit:s,...n}=e;return{...t,...n}}return e}function vs(e,t){const s=e?.[t]??e?.default??e;return s!==e?Ki(s,e):s}const Ca=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function Aa(e){for(const t in e)if(!Ca.has(t))return!0;return!1}const ws=(e,t,s,n={},i,o)=>r=>{const l=vs(n,e)||{},u=l.delay||n.delay||0;let{elapsed:d=0}=n;d=d-U(u);const c={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-d,onUpdate:f=>{t.set(f),l.onUpdate&&l.onUpdate(f)},onComplete:()=>{r(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:o?void 0:i};Aa(l)||Object.assign(c,Pa(e,c)),c.duration&&(c.duration=U(c.duration)),c.repeatDelay&&(c.repeatDelay=U(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let h=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(_t(c),c.delay===0&&(h=!0)),(ae.instantAnimations||ae.skipAnimations||i?.shouldSkipAnimations)&&(h=!0,_t(c),c.delay=0),c.allowFlatten=!l.type&&!l.ease,h&&!o&&t.get()!==void 0){const f=ft(c.keyframes,l);if(f!==void 0){M.update(()=>{c.onUpdate(f),c.onComplete()});return}}return l.isSync?new at(c):new va(c)};function qs(e){const t=[{},{}];return e?.values.forEach((s,n)=>{t[0][n]=s.get(),t[1][n]=s.getVelocity()}),t}function bs(e,t,s,n){if(typeof t=="function"){const[i,o]=qs(n);t=t(s!==void 0?s:e.custom,i,o)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,o]=qs(n);t=t(s!==void 0?s:e.custom,i,o)}return t}function ge(e,t,s){const n=e.getProps();return bs(n,t,s!==void 0?s:n.custom,e)}const Ui=new Set(["width","height","top","left","right","bottom",...Se]),Xs=30,Ma=e=>!isNaN(parseFloat(e));class Na{constructor(t,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=n=>{const i=$.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(n),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=s.owner}setCurrent(t){this.current=t,this.updatedAt=$.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Ma(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,s){this.events[t]||(this.events[t]=new cs);const n=this.events[t].add(s);return t==="change"?()=>{n(),M.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,s){this.passiveEffect=t,this.stopPassiveEffect=s}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,s,n){this.set(s),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}jump(t,s=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=$.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Xs)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,Xs);return ai(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(t){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=t(s),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Te(e,t){return new Na(e,t)}const Gt=e=>Array.isArray(e);function Va(e,t,s){e.hasValue(t)?e.getValue(t).set(s):e.addValue(t,Te(s))}function Da(e){return Gt(e)?e[e.length-1]||0:e}function Ea(e,t){const s=ge(e,t);let{transitionEnd:n={},transition:i={},...o}=s||{};o={...o,...n};for(const r in o){const l=Da(o[r]);Va(e,r,l)}}const W=e=>!!(e&&e.getVelocity);function Ra(e){return!!(W(e)&&e.add)}function Yt(e,t){const s=e.getValue("willChange");if(Ra(s))return s.add(t);if(!s&&ae.WillChange){const n=new ae.WillChange("auto");e.addValue("willChange",n),n.add(t)}}function ks(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const La="framerAppearId",zi="data-"+ks(La);function Hi(e){return e.props[zi]}function Ia({protectedKeys:e,needsAnimating:t},s){const n=e.hasOwnProperty(s)&&t[s]!==!0;return t[s]=!1,n}function _i(e,t,{delay:s=0,transitionOverride:n,type:i}={}){let{transition:o,transitionEnd:r,...l}=t;const u=e.getDefaultTransition();o=o?Ki(o,u):u;const d=o?.reduceMotion;n&&(o=n);const c=[],h=i&&e.animationState&&e.animationState.getState()[i];for(const f in l){const m=e.getValue(f,e.latestValues[f]??null),p=l[f];if(p===void 0||h&&Ia(h,f))continue;const g={delay:s,...vs(o||{},f)},x=m.get();if(x!==void 0&&!m.isAnimating()&&!Array.isArray(p)&&p===x&&!g.velocity){M.update(()=>m.set(p));continue}let v=!1;if(window.MotionHandoffAnimation){const k=Hi(e);if(k){const S=window.MotionHandoffAnimation(k,f,M);S!==null&&(g.startTime=S,v=!0)}}Yt(e,f);const b=d??e.shouldReduceMotion;m.start(ws(f,m,p,b&&Ui.has(f)?{type:!1}:g,e,v));const w=m.animation;w&&c.push(w)}if(r){const f=()=>M.update(()=>{r&&Ea(e,r)});c.length?Promise.all(c).then(f):f()}return c}function qt(e,t,s={}){const n=ge(e,t,s.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=n||{};s.transitionOverride&&(i=s.transitionOverride);const o=n?()=>Promise.all(_i(e,n,s)):()=>Promise.resolve(),r=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:d=0,staggerChildren:c,staggerDirection:h}=i;return Ba(e,t,u,d,c,h,s)}:()=>Promise.resolve(),{when:l}=i;if(l){const[u,d]=l==="beforeChildren"?[o,r]:[r,o];return u().then(()=>d())}else return Promise.all([o(),r(s.delay)])}function Ba(e,t,s=0,n=0,i=0,o=1,r){const l=[];for(const u of e.variantChildren)u.notify("AnimationStart",t),l.push(qt(u,t,{...r,delay:s+(typeof n=="function"?0:n)+Wi(e.variantChildren,u,n,i,o)}).then(()=>u.notify("AnimationComplete",t)));return Promise.all(l)}function Fa(e,t,s={}){e.notify("AnimationStart",t);let n;if(Array.isArray(t)){const i=t.map(o=>qt(e,o,s));n=Promise.all(i)}else if(typeof t=="string")n=qt(e,t,s);else{const i=typeof t=="function"?ge(e,t,s.custom):t;n=Promise.all(_i(e,i,s))}return n.then(()=>{e.notify("AnimationComplete",t)})}const Oa={test:e=>e==="auto",parse:e=>e},Gi=e=>t=>t.test(e),Yi=[je,T,ee,re,uo,co,Oa],Zs=e=>Yi.find(Gi(e));function Wa(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||ri(e):!0}const $a=new Set(["brightness","contrast","saturate","opacity"]);function Ka(e){const[t,s]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=s.match(fs)||[];if(!n)return e;const i=s.replace(n,"");let o=$a.has(t)?1:0;return n!==s&&(o*=100),t+"("+o+i+")"}const Ua=/\b([a-z-]*)\(.*?\)/gu,Xt={...q,getAnimatableNone:e=>{const t=e.match(Ua);return t?t.map(Ka).join(" "):e}},Zt={...q,getAnimatableNone:e=>{const t=q.parse(e);return q.createTransformer(e)(t.map(n=>typeof n=="number"?0:typeof n=="object"?{...n,alpha:1}:n))}},Qs={...je,transform:Math.round},za={rotate:re,rotateX:re,rotateY:re,rotateZ:re,scale:Ue,scaleX:Ue,scaleY:Ue,scaleZ:Ue,skew:re,skewX:re,skewY:re,distance:T,translateX:T,translateY:T,translateZ:T,x:T,y:T,z:T,perspective:T,transformPerspective:T,opacity:Le,originX:Fs,originY:Fs,originZ:T},Ts={borderWidth:T,borderTopWidth:T,borderRightWidth:T,borderBottomWidth:T,borderLeftWidth:T,borderRadius:T,borderTopLeftRadius:T,borderTopRightRadius:T,borderBottomRightRadius:T,borderBottomLeftRadius:T,width:T,maxWidth:T,height:T,maxHeight:T,top:T,right:T,bottom:T,left:T,inset:T,insetBlock:T,insetBlockStart:T,insetBlockEnd:T,insetInline:T,insetInlineStart:T,insetInlineEnd:T,padding:T,paddingTop:T,paddingRight:T,paddingBottom:T,paddingLeft:T,paddingBlock:T,paddingBlockStart:T,paddingBlockEnd:T,paddingInline:T,paddingInlineStart:T,paddingInlineEnd:T,margin:T,marginTop:T,marginRight:T,marginBottom:T,marginLeft:T,marginBlock:T,marginBlockStart:T,marginBlockEnd:T,marginInline:T,marginInlineStart:T,marginInlineEnd:T,fontSize:T,backgroundPositionX:T,backgroundPositionY:T,...za,zIndex:Qs,fillOpacity:Le,strokeOpacity:Le,numOctaves:Qs},Ha={...Ts,color:R,backgroundColor:R,outlineColor:R,fill:R,stroke:R,borderColor:R,borderTopColor:R,borderRightColor:R,borderBottomColor:R,borderLeftColor:R,filter:Xt,WebkitFilter:Xt,mask:Zt,WebkitMask:Zt},qi=e=>Ha[e],_a=new Set([Xt,Zt]);function Xi(e,t){let s=qi(e);return _a.has(s)||(s=q),s.getAnimatableNone?s.getAnimatableNone(t):void 0}const Ga=new Set(["auto","none","0"]);function Ya(e,t,s){let n=0,i;for(;n<e.length&&!i;){const o=e[n];typeof o=="string"&&!Ga.has(o)&&ke(o).values.length&&(i=e[n]),n++}if(i&&s)for(const o of t)e[o]=Xi(s,i)}class qa extends ys{constructor(t,s,n,i,o){super(t,s,n,i,o,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:s,name:n}=this;if(!s||!s.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let h=t[c];if(typeof h=="string"&&(h=h.trim(),hs(h))){const f=$i(h,s.current);f!==void 0&&(t[c]=f),c===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!Ui.has(n)||t.length!==2)return;const[i,o]=t,r=Zs(i),l=Zs(o),u=Bs(i),d=Bs(o);if(u!==d&&oe[n]){this.needsMeasurement=!0;return}if(r!==l)if(_s(r)&&_s(l))for(let c=0;c<t.length;c++){const h=t[c];typeof h=="string"&&(t[c]=parseFloat(h))}else oe[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:s}=this,n=[];for(let i=0;i<t.length;i++)(t[i]===null||Wa(t[i]))&&n.push(i);n.length&&Ya(t,n,s)}measureInitialState(){const{element:t,unresolvedKeyframes:s,name:n}=this;if(!t||!t.current)return;n==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=oe[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s[0]=this.measuredOrigin;const i=s[s.length-1];i!==void 0&&t.getValue(n,i).jump(i,!1)}measureEndState(){const{element:t,name:s,unresolvedKeyframes:n}=this;if(!t||!t.current)return;const i=t.getValue(s);i&&i.jump(this.measuredOrigin,!1);const o=n.length-1,r=n[o];n[o]=oe[s](t.measureViewportBox(),window.getComputedStyle(t.current)),r!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEach(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function js(e,t,s){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(n=>n!=null)}const Zi=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function qe(e){return ii(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Ss}=yi(queueMicrotask,!1),Y={x:!1,y:!1};function Qi(){return Y.x||Y.y}function Xa(e){return e==="x"||e==="y"?Y[e]?null:(Y[e]=!0,()=>{Y[e]=!1}):Y.x||Y.y?null:(Y.x=Y.y=!0,()=>{Y.x=Y.y=!1})}function Ji(e,t){const s=js(e),n=new AbortController,i={passive:!0,...t,signal:n.signal};return[s,i,()=>n.abort()]}function Za(e){return!(e.pointerType==="touch"||Qi())}function Qa(e,t,s={}){const[n,i,o]=Ji(e,s);return n.forEach(r=>{let l=!1,u=!1,d;const c=()=>{r.removeEventListener("pointerleave",p)},h=x=>{d&&(d(x),d=void 0),c()},f=x=>{l=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),u&&(u=!1,h(x))},m=()=>{l=!0,window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",f,i)},p=x=>{if(x.pointerType!=="touch"){if(l){u=!0;return}h(x)}},g=x=>{if(!Za(x))return;u=!1;const v=t(r,x);typeof v=="function"&&(d=v,r.addEventListener("pointerleave",p,i))};r.addEventListener("pointerenter",g,i),r.addEventListener("pointerdown",m,i)}),o}const er=(e,t)=>t?e===t?!0:er(e,t.parentElement):!1,Ps=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Ja=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function el(e){return Ja.has(e.tagName)||e.isContentEditable===!0}const tl=new Set(["INPUT","SELECT","TEXTAREA"]);function sl(e){return tl.has(e.tagName)||e.isContentEditable===!0}const Xe=new WeakSet;function Js(e){return t=>{t.key==="Enter"&&e(t)}}function jt(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const nl=(e,t)=>{const s=e.currentTarget;if(!s)return;const n=Js(()=>{if(Xe.has(s))return;jt(s,"down");const i=Js(()=>{jt(s,"up")}),o=()=>jt(s,"cancel");s.addEventListener("keyup",i,t),s.addEventListener("blur",o,t)});s.addEventListener("keydown",n,t),s.addEventListener("blur",()=>s.removeEventListener("keydown",n),t)};function en(e){return Ps(e)&&!Qi()}const tn=new WeakSet;function il(e,t,s={}){const[n,i,o]=Ji(e,s),r=l=>{const u=l.currentTarget;if(!en(l)||tn.has(l))return;Xe.add(u),s.stopPropagation&&tn.add(l);const d=t(u,l),c=(m,p)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",f),Xe.has(u)&&Xe.delete(u),en(m)&&typeof d=="function"&&d(m,{success:p})},h=m=>{c(m,u===window||u===document||s.useGlobalTarget||er(u,m.target))},f=m=>{c(m,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",f,i)};return n.forEach(l=>{(s.useGlobalTarget?window:l).addEventListener("pointerdown",r,i),qe(l)&&(l.addEventListener("focus",d=>nl(d,i)),!el(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),o}function Cs(e){return ii(e)&&"ownerSVGElement"in e}const Ze=new WeakMap;let Qe;const tr=(e,t,s)=>(n,i)=>i&&i[0]?i[0][e+"Size"]:Cs(n)&&"getBBox"in n?n.getBBox()[t]:n[s],rl=tr("inline","width","offsetWidth"),ol=tr("block","height","offsetHeight");function al({target:e,borderBoxSize:t}){Ze.get(e)?.forEach(s=>{s(e,{get width(){return rl(e,t)},get height(){return ol(e,t)}})})}function ll(e){e.forEach(al)}function cl(){typeof ResizeObserver>"u"||(Qe=new ResizeObserver(ll))}function ul(e,t){Qe||cl();const s=js(e);return s.forEach(n=>{let i=Ze.get(n);i||(i=new Set,Ze.set(n,i)),i.add(t),Qe?.observe(n)}),()=>{s.forEach(n=>{const i=Ze.get(n);i?.delete(t),i?.size||Qe?.unobserve(n)})}}const Je=new Set;let we;function dl(){we=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Je.forEach(t=>t(e))},window.addEventListener("resize",we)}function hl(e){return Je.add(e),we||dl(),()=>{Je.delete(e),!Je.size&&typeof we=="function"&&(window.removeEventListener("resize",we),we=void 0)}}function sn(e,t){return typeof e=="function"?hl(e):ul(e,t)}function fl(e){return Cs(e)&&e.tagName==="svg"}const ml=[...Yi,R,q],pl=e=>ml.find(Gi(e)),nn=()=>({translate:0,scale:1,origin:0,originPoint:0}),be=()=>({x:nn(),y:nn()}),rn=()=>({min:0,max:0}),L=()=>({x:rn(),y:rn()}),gl=new WeakMap;function mt(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function Ie(e){return typeof e=="string"||Array.isArray(e)}const As=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ms=["initial",...As];function pt(e){return mt(e.animate)||Ms.some(t=>Ie(e[t]))}function sr(e){return!!(pt(e)||e.variants)}function xl(e,t,s){for(const n in t){const i=t[n],o=s[n];if(W(i))e.addValue(n,i);else if(W(o))e.addValue(n,Te(i,{owner:e}));else if(o!==i)if(e.hasValue(n)){const r=e.getValue(n);r.liveStyle===!0?r.jump(i):r.hasAnimated||r.set(i)}else{const r=e.getStaticValue(n);e.addValue(n,Te(r!==void 0?r:i,{owner:e}))}}for(const n in s)t[n]===void 0&&e.removeValue(n);return t}const Qt={current:null},nr={current:!1},yl=typeof window<"u";function vl(){if(nr.current=!0,!!yl)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Qt.current=e.matches;e.addEventListener("change",t),t()}else Qt.current=!1}const on=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let lt={};function ir(e){lt=e}function wl(){return lt}class bl{scrapeMotionValuesFromProps(t,s,n){return{}}constructor({parent:t,props:s,presenceContext:n,reducedMotionConfig:i,skipAnimations:o,blockInitialAnimation:r,visualState:l},u={}){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=ys,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=()=>{const m=$.now();this.renderScheduledAt<m&&(this.renderScheduledAt=m,M.render(this.render,!1,!0))};const{latestValues:d,renderState:c}=l;this.latestValues=d,this.baseTarget={...d},this.initialValues=s.initial?{...d}:{},this.renderState=c,this.parent=t,this.props=s,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=o,this.options=u,this.blockInitialAnimation=!!r,this.isControllingVariants=pt(s),this.isVariantNode=sr(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...f}=this.scrapeMotionValuesFromProps(s,{},this);for(const m in f){const p=f[m];d[m]!==void 0&&W(p)&&p.set(d[m])}}mount(t){if(this.hasBeenMounted)for(const s in this.initialValues)this.values.get(s)?.jump(this.initialValues[s]),this.latestValues[s]=this.initialValues[s];this.current=t,gl.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((s,n)=>this.bindToMotionValue(n,s)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(nr.current||vl(),this.shouldReduceMotion=Qt.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),le(this.notifyUpdate),le(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const s=this.features[t];s&&(s.unmount(),s.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,s){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),s.accelerate&&Oi.has(t)&&this.current instanceof HTMLElement){const{factory:r,keyframes:l,times:u,ease:d,duration:c}=s.accelerate,h=new Bi({element:this.current,name:t,keyframes:l,times:u,ease:d,duration:U(c)}),f=r(h);this.valueSubscriptions.set(t,()=>{f(),h.cancel()});return}const n=Pe.has(t);n&&this.onBindTransform&&this.onBindTransform();const i=s.on("change",r=>{this.latestValues[t]=r,this.props.onUpdate&&M.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;typeof window<"u"&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,s)),this.valueSubscriptions.set(t,()=>{i(),o&&o(),s.owner&&s.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in lt){const s=lt[t];if(!s)continue;const{isEnabled:n,Feature:i}=s;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){const o=this.features[t];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):L()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,s){this.latestValues[t]=s}update(t,s){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let n=0;n<on.length;n++){const i=on[n];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const o="on"+i,r=t[o];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=xl(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]: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(t){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(t),()=>s.variantChildren.delete(t)}addValue(t,s){const n=this.values.get(t);s!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,s),this.values.set(t,s),this.latestValues[t]=s.get())}removeValue(t){this.values.delete(t);const s=this.valueSubscriptions.get(t);s&&(s(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,s){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return n===void 0&&s!==void 0&&(n=Te(s===null?void 0:s,{owner:this}),this.addValue(t,n)),n}readValue(t,s){let n=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return n!=null&&(typeof n=="string"&&(ni(n)||ri(n))?n=parseFloat(n):!pl(n)&&q.test(s)&&(n=Xi(t,s)),this.setBaseTarget(t,W(n)?n.get():n)),W(n)?n.get():n}setBaseTarget(t,s){this.baseTarget[t]=s}getBaseTarget(t){const{initial:s}=this.props;let n;if(typeof s=="string"||typeof s=="object"){const o=bs(this.props,s,this.presenceContext?.custom);o&&(n=o[t])}if(s&&n!==void 0)return n;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!W(i)?i:this.initialValues[t]!==void 0&&n===void 0?void 0:this.baseTarget[t]}on(t,s){return this.events[t]||(this.events[t]=new cs),this.events[t].add(s)}notify(t,...s){this.events[t]&&this.events[t].notify(...s)}scheduleRenderMicrotask(){Ss.render(this.render)}}class rr extends bl{constructor(){super(...arguments),this.KeyframeResolver=qa}sortInstanceNodePosition(t,s){return t.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(t,s){const n=t.style;return n?n[s]:void 0}removeValueFromRenderState(t,{vars:s,style:n}){delete s[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;W(t)&&(this.childSubscription=t.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}class ce{constructor(t){this.isMounted=!1,this.node=t}update(){}}function or({top:e,left:t,right:s,bottom:n}){return{x:{min:t,max:s},y:{min:e,max:n}}}function kl({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Tl(e,t){if(!t)return e;const s=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:s.y,left:s.x,bottom:n.y,right:n.x}}function St(e){return e===void 0||e===1}function Jt({scale:e,scaleX:t,scaleY:s}){return!St(e)||!St(t)||!St(s)}function he(e){return Jt(e)||ar(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ar(e){return an(e.x)||an(e.y)}function an(e){return e&&e!=="0%"}function ct(e,t,s){const n=e-s,i=t*n;return s+i}function ln(e,t,s,n,i){return i!==void 0&&(e=ct(e,i,n)),ct(e,s,n)+t}function es(e,t=0,s=1,n,i){e.min=ln(e.min,t,s,n,i),e.max=ln(e.max,t,s,n,i)}function lr(e,{x:t,y:s}){es(e.x,t.translate,t.scale,t.originPoint),es(e.y,s.translate,s.scale,s.originPoint)}const cn=.999999999999,un=1.0000000000001;function jl(e,t,s,n=!1){const i=s.length;if(!i)return;t.x=t.y=1;let o,r;for(let l=0;l<i;l++){o=s[l],r=o.projectionDelta;const{visualElement:u}=o.options;u&&u.props.style&&u.props.style.display==="contents"||(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&(J(e.x,-o.scroll.offset.x),J(e.y,-o.scroll.offset.y)),r&&(t.x*=r.x.scale,t.y*=r.y.scale,lr(e,r)),n&&he(o.latestValues)&&et(e,o.latestValues,o.layout?.layoutBox))}t.x<un&&t.x>cn&&(t.x=1),t.y<un&&t.y>cn&&(t.y=1)}function J(e,t){e.min+=t,e.max+=t}function dn(e,t,s,n,i=.5){const o=N(e.min,e.max,i);es(e,t,s,o,n)}function hn(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function et(e,t,s){const n=s??e;dn(e.x,hn(t.x,n.x),t.scaleX,t.scale,t.originX),dn(e.y,hn(t.y,n.y),t.scaleY,t.scale,t.originY)}function cr(e,t){return or(Tl(e.getBoundingClientRect(),t))}function Sl(e,t,s){const n=cr(e,s),{scroll:i}=t;return i&&(J(n.x,i.offset.x),J(n.y,i.offset.y)),n}const Pl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Cl=Se.length;
vendor: 4,440 bytes, line 1
1function Al(e,t,s){let n="",i=!0;for(let o=0;o<Cl;o++){const r=Se[o],l=e[r];if(l===void 0)continue;let u=!0;if(typeof l=="number")u=l===(r.startsWith("scale")?1:0);else{const d=parseFloat(l);u=r.startsWith("scale")?d===1:d===0}if(!u||s){const d=Zi(l,Ts[r]);if(!u){i=!1;const c=Pl[r]||r;n+=`${c}(${d}) `}s&&(t[r]=d)}}return n=n.trim(),s?n=s(t,i?"":n):i&&(n="none"),n}function Ns(e,t,s){const{style:n,vars:i,transformOrigin:o}=e;let r=!1,l=!1;for(const u in t){const d=t[u];if(Pe.has(u)){r=!0;continue}else if(wi(u)){i[u]=d;continue}else{const c=Zi(d,Ts[u]);u.startsWith("origin")?(l=!0,o[u]=c):n[u]=c}}if(t.transform||(r||s?n.transform=Al(t,e.transform,s):n.transform&&(n.transform="none")),l){const{originX:u="50%",originY:d="50%",originZ:c=0}=o;n.transformOrigin=`${u} ${d} ${c}`}}function ur(e,{style:t,vars:s},n,i){const o=e.style;let r;for(r in t)o[r]=t[r];i?.applyProjectionStyles(o,n);for(r in s)o.setProperty(r,s[r])}function fn(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ae={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(T.test(e))e=parseFloat(e);else return e;const s=fn(e,t.target.x),n=fn(e,t.target.y);return`${s}% ${n}%`}},Ml={correct:(e,{treeScale:t,projectionDelta:s})=>{const n=e,i=q.parse(e);if(i.length>5)return n;const o=q.createTransformer(e),r=typeof i[0]!="number"?1:0,l=s.x.scale*t.x,u=s.y.scale*t.y;i[0+r]/=l,i[1+r]/=u;const d=N(l,u,.5);return typeof i[2+r]=="number"&&(i[2+r]/=d),typeof i[3+r]=="number"&&(i[3+r]/=d),o(i)}},ts={borderRadius:{...Ae,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ae,borderTopRightRadius:Ae,borderBottomLeftRadius:Ae,borderBottomRightRadius:Ae,boxShadow:Ml};function dr(e,{layout:t,layoutId:s}){return Pe.has(e)||e.startsWith("origin")||(t||s!==void 0)&&(!!ts[e]||e==="opacity")}function Vs(e,t,s){const n=e.style,i=t?.style,o={};if(!n)return o;for(const r in n)(W(n[r])||i&&W(i[r])||dr(r,e)||s?.getValue(r)?.liveStyle!==void 0)&&(o[r]=n[r]);return o}function Nl(e){return window.getComputedStyle(e)}class Vl extends rr{constructor(){super(...arguments),this.type="html",this.renderInstance=ur}readValueFromInstance(t,s){if(Pe.has(s))return this.projection?.isProjecting?$t(s):Zo(t,s);{const n=Nl(t),i=(wi(s)?n.getPropertyValue(s):n[s])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:s}){return cr(t,s)}build(t,s,n){Ns(t,s,n.transformTemplate)}scrapeMotionValuesFromProps(t,s,n){return Vs(t,s,n)}}const Dl={offset:"stroke-dashoffset",array:"stroke-dasharray"},El={offset:"strokeDashoffset",array:"strokeDasharray"};function Rl(e,t,s=1,n=0,i=!0){e.pathLength=1;const o=i?Dl:El;e[o.offset]=`${-n}`,e[o.array]=`${t} ${s}`}const Ll=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function hr(e,{attrX:t,attrY:s,attrScale:n,pathLength:i,pathSpacing:o=1,pathOffset:r=0,...l},u,d,c){if(Ns(e,l,d),u){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:f}=e;h.transform&&(f.transform=h.transform,delete h.transform),(f.transform||h.transformOrigin)&&(f.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),f.transform&&(f.transformBox=c?.transformBox??"fill-box",delete h.transformBox);for(const m of Ll)h[m]!==void 0&&(f[m]=h[m],delete h[m]);t!==void 0&&(h.x=t),s!==void 0&&(h.y=s),n!==void 0&&(h.scale=n),i!==void 0&&Rl(h,i,o,r,!1)}const fr=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"]),mr=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Il(e,t,s,n){ur(e,t,void 0,n);for(const i in t.attrs)e.setAttribute(fr.has(i)?i:ks(i),t.attrs[i])}function pr(e,t,s){const n=Vs(e,t,s);for(const i in e)if(W(e[i])||W(t[i])){const o=Se.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;n[o]=e[i]}return n}class Bl extends rr{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=L}getBaseTargetFromProps(t,s){return t[s]}readValueFromInstance(t,s){if(Pe.has(s)){const n=qi(s);return n&&n.default||0}return s=fr.has(s)?s:ks(s),t.getAttribute(s)}scrapeMotionValuesFromProps(t,s,n){return pr(t,s,n)}
vendor: 9,920 bytes, line 1
1build(t,s,n){hr(t,s,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,s,n,i){Il(t,s,n,i)}mount(t){this.isSVGTag=mr(t.tagName),super.mount(t)}}const Fl=Ms.length;function gr(e){if(!e)return;if(!e.isControllingVariants){const s=e.parent?gr(e.parent)||{}:{};return e.props.initial!==void 0&&(s.initial=e.props.initial),s}const t={};for(let s=0;s<Fl;s++){const n=Ms[s],i=e.props[n];(Ie(i)||i===!1)&&(t[n]=i)}return t}function xr(e,t){if(!Array.isArray(t))return!1;const s=t.length;if(s!==e.length)return!1;for(let n=0;n<s;n++)if(t[n]!==e[n])return!1;return!0}const Ol=[...As].reverse(),Wl=As.length;function $l(e){return t=>Promise.all(t.map(({animation:s,options:n})=>Fa(e,s,n)))}function Kl(e){let t=$l(e),s=mn(),n=!0,i=!1;const o=d=>(c,h)=>{const f=ge(e,h,d==="exit"?e.presenceContext?.custom:void 0);if(f){const{transition:m,transitionEnd:p,...g}=f;c={...c,...g,...p}}return c};function r(d){t=d(e)}function l(d){const{props:c}=e,h=gr(e.parent)||{},f=[],m=new Set;let p={},g=1/0;for(let v=0;v<Wl;v++){const b=Ol[v],w=s[b],k=c[b]!==void 0?c[b]:h[b],S=Ie(k),D=b===d?w.isActive:null;D===!1&&(g=v);let I=k===h[b]&&k!==c[b]&&S;if(I&&(n||i)&&e.manuallyAnimateOnMount&&(I=!1),w.protectedKeys={...p},!w.isActive&&D===null||!k&&!w.prevProp||mt(k)||typeof k=="boolean")continue;if(b==="exit"&&w.isActive&&D!==!0){w.prevResolvedValues&&(p={...p,...w.prevResolvedValues});continue}const P=Ul(w.prevProp,k);let C=P||b===d&&w.isActive&&!I&&S||v>g&&S,j=!1;const V=Array.isArray(k)?k:[k];let B=V.reduce(o(b),{});D===!1&&(B={});const{prevResolvedValues:se={}}=w,X={...se,...B},ne=F=>{C=!0,m.has(F)&&(j=!0,m.delete(F)),w.needsAnimating[F]=!0;const z=e.getValue(F);z&&(z.liveStyle=!1)};for(const F in X){const z=B[F],ue=se[F];if(p.hasOwnProperty(F))continue;let xe=!1;Gt(z)&&Gt(ue)?xe=!xr(z,ue):xe=z!==ue,xe?z!=null?ne(F):m.add(F):z!==void 0&&m.has(F)?ne(F):w.protectedKeys[F]=!0}w.prevProp=k,w.prevResolvedValues=B,w.isActive&&(p={...p,...B}),(n||i)&&e.blockInitialAnimation&&(C=!1);const Z=I&&P;C&&(!Z||j)&&f.push(...V.map(F=>{const z={type:b};if(typeof F=="string"&&(n||i)&&!Z&&e.manuallyAnimateOnMount&&e.parent){const{parent:ue}=e,xe=ge(ue,F);if(ue.enteringChildren&&xe){const{delayChildren:Ur}=xe.transition||{};z.delay=Wi(ue.enteringChildren,e,Ur)}}return{animation:F,options:z}}))}if(m.size){const v={};if(typeof c.initial!="boolean"){const b=ge(e,Array.isArray(c.initial)?c.initial[0]:c.initial);b&&b.transition&&(v.transition=b.transition)}m.forEach(b=>{const w=e.getBaseTarget(b),k=e.getValue(b);k&&(k.liveStyle=!0),v[b]=w??null}),f.push({animation:v})}let x=!!f.length;return n&&(c.initial===!1||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(x=!1),n=!1,i=!1,x?t(f):Promise.resolve()}function u(d,c){if(s[d].isActive===c)return Promise.resolve();e.variantChildren?.forEach(f=>f.animationState?.setActive(d,c)),s[d].isActive=c;const h=l(d);for(const f in s)s[f].protectedKeys={};return h}return{animateChanges:l,setActive:u,setAnimateFunction:r,getState:()=>s,reset:()=>{s=mn(),i=!0}}}function Ul(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!xr(t,e):!1}function de(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function mn(){return{animate:de(!0),whileInView:de(),whileHover:de(),whileTap:de(),whileDrag:de(),whileFocus:de(),exit:de()}}function ss(e,t){e.min=t.min,e.max=t.max}function G(e,t){ss(e.x,t.x),ss(e.y,t.y)}function pn(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const yr=1e-4,zl=1-yr,Hl=1+yr,vr=.01,_l=0-vr,Gl=0+vr;function K(e){return e.max-e.min}function Yl(e,t,s){return Math.abs(e-t)<=s}function gn(e,t,s,n=.5){e.origin=n,e.originPoint=N(t.min,t.max,e.origin),e.scale=K(s)/K(t),e.translate=N(s.min,s.max,e.origin)-e.originPoint,(e.scale>=zl&&e.scale<=Hl||isNaN(e.scale))&&(e.scale=1),(e.translate>=_l&&e.translate<=Gl||isNaN(e.translate))&&(e.translate=0)}function De(e,t,s,n){gn(e.x,t.x,s.x,n?n.originX:void 0),gn(e.y,t.y,s.y,n?n.originY:void 0)}function xn(e,t,s,n=0){const i=n?N(s.min,s.max,n):s.min;e.min=i+t.min,e.max=e.min+K(t)}function ql(e,t,s,n){xn(e.x,t.x,s.x,n?.x),xn(e.y,t.y,s.y,n?.y)}function yn(e,t,s,n=0){const i=n?N(s.min,s.max,n):s.min;e.min=t.min-i,e.max=e.min+K(t)}function ut(e,t,s,n){yn(e.x,t.x,s.x,n?.x),yn(e.y,t.y,s.y,n?.y)}function vn(e,t,s,n,i){return e-=t,e=ct(e,1/s,n),i!==void 0&&(e=ct(e,1/i,n)),e}function Xl(e,t=0,s=1,n=.5,i,o=e,r=e){if(ee.test(t)&&(t=parseFloat(t),t=N(r.min,r.max,t/100)-r.min),typeof t!="number")return;let l=N(o.min,o.max,n);e===o&&(l-=t),e.min=vn(e.min,t,s,l,i),e.max=vn(e.max,t,s,l,i)}function wn(e,t,[s,n,i],o,r){Xl(e,t[s],t[n],t[i],t.scale,o,r)}const Zl=["x","scaleX","originX"],Ql=["y","scaleY","originY"];function bn(e,t,s,n){wn(e.x,t,Zl,s?s.x:void 0,n?n.x:void 0),wn(e.y,t,Ql,s?s.y:void 0,n?n.y:void 0)}function kn(e){return e.translate===0&&e.scale===1}function wr(e){return kn(e.x)&&kn(e.y)}function Tn(e,t){return e.min===t.min&&e.max===t.max}function Jl(e,t){return Tn(e.x,t.x)&&Tn(e.y,t.y)}function jn(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function br(e,t){return jn(e.x,t.x)&&jn(e.y,t.y)}function Sn(e){return K(e.x)/K(e.y)}function Pn(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Q(e){return[e("x"),e("y")]}function ec(e,t,s){let n="";const i=e.x.translate/t.x,o=e.y.translate/t.y,r=s?.z||0;if((i||o||r)&&(n=`translate3d(${i}px, ${o}px, ${r}px) `),(t.x!==1||t.y!==1)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),s){const{transformPerspective:d,rotate:c,rotateX:h,rotateY:f,skewX:m,skewY:p}=s;d&&(n=`perspective(${d}px) ${n}`),c&&(n+=`rotate(${c}deg) `),h&&(n+=`rotateX(${h}deg) `),f&&(n+=`rotateY(${f}deg) `),m&&(n+=`skewX(${m}deg) `),p&&(n+=`skewY(${p}deg) `)}const l=e.x.scale*t.x,u=e.y.scale*t.y;return(l!==1||u!==1)&&(n+=`scale(${l}, ${u})`),n||"none"}const kr=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],tc=kr.length,Cn=e=>typeof e=="string"?parseFloat(e):e,An=e=>typeof e=="number"||T.test(e);function sc(e,t,s,n,i,o){i?(e.opacity=N(0,s.opacity??1,nc(n)),e.opacityExit=N(t.opacity??1,0,ic(n))):o&&(e.opacity=N(t.opacity??1,s.opacity??1,n));for(let r=0;r<tc;r++){const l=kr[r];let u=Mn(t,l),d=Mn(s,l);if(u===void 0&&d===void 0)continue;u||(u=0),d||(d=0),u===0||d===0||An(u)===An(d)?(e[l]=Math.max(N(Cn(u),Cn(d),n),0),(ee.test(d)||ee.test(u))&&(e[l]+="%")):e[l]=d}(t.rotate||s.rotate)&&(e.rotate=N(t.rotate||0,s.rotate||0,n))}function Mn(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const nc=Tr(0,.5,mi),ic=Tr(.5,.95,_);function Tr(e,t,s){return n=>n<e?0:n>t?1:s(Re(e,t,n))}function rc(e,t,s){const n=W(e)?e:Te(e);return n.start(ws("",n,t,s)),n.animation}function Be(e,t,s,n={passive:!0}){return e.addEventListener(t,s,n),()=>e.removeEventListener(t,s)}const oc=(e,t)=>e.depth-t.depth;class ac{constructor(){this.children=[],this.isDirty=!1}add(t){as(this.children,t),this.isDirty=!0}remove(t){nt(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(oc),this.isDirty=!1,this.children.forEach(t)}}function lc(e,t){const s=$.now(),n=({timestamp:i})=>{const o=i-s;o>=t&&(le(n),e(o-t))};return M.setup(n,!0),()=>le(n)}function tt(e){return W(e)?e.get():e}class cc{constructor(){this.members=[]}add(t){as(this.members,t);for(let s=this.members.length-1;s>=0;s--){const n=this.members[s];if(n===t||n===this.lead||n===this.prevLead)continue;const i=n.instance;(!i||i.isConnected===!1)&&!n.snapshot&&(nt(this.members,n),n.unmount())}t.scheduleRender()}remove(t){if(nt(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(t){for(let s=this.members.indexOf(t)-1;s>=0;s--){const n=this.members[s];if(n.isPresent!==!1&&n.instance?.isConnected!==!1)return this.promote(n),!0}return!1}promote(t,s){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.updateSnapshot(),t.scheduleRender();const{layoutDependency:i}=n.options,{layoutDependency:o}=t.options;(i===void 0||i!==o)&&(t.resumeFrom=n,s&&(n.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const st={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Pt=["","X","Y","Z"],uc=1e3;let dc=0;function Ct(e,t,s,n){const{latestValues:i}=t;i[e]&&(s[e]=i[e],t.setStaticValue(e,0),n&&(n[e]=0))}function jr(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const s=Hi(t);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:i,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",M,!(i||o))}const{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&jr(n)}function Sr({attachResizeListener:e,defaultParent:t,measureScroll:s,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(r={},l=t?.()){this.id=dc++,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=()=>
vendor: 1,495 bytes, line 1
1{this.projectionUpdateScheduled=!1,this.nodes.forEach(mc),this.nodes.forEach(wc),this.nodes.forEach(bc),this.nodes.forEach(pc)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=r,this.root=l?l.root||l:this,this.path=l?[...l.path,l]:[],this.parent=l,this.depth=l?l.depth+1:0;for(let u=0;u<this.path.length;u++)this.path[u].shouldResetTransform=!0;this.root===this&&(this.nodes=new ac)}addEventListener(r,l){return this.eventHandlers.has(r)||this.eventHandlers.set(r,new cs),this.eventHandlers.get(r).add(l)}notifyListeners(r,...l){const u=this.eventHandlers.get(r);u&&u.notify(...l)}hasListeners(r){return this.eventHandlers.has(r)}mount(r){if(this.instance)return;this.isSVG=Cs(r)&&!fl(r),this.instance=r;const{layoutId:l,layout:u,visualElement:d}=this.options;if(d&&!d.current&&d.mount(r),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(u||l)&&(this.isLayoutDirty=!0),e){let c,h=0;const f=()=>this.root.updateBlockedByResize=!1;M.read(()=>{h=window.innerWidth}),e(r,()=>{const m=window.innerWidth;m!==h&&(h=m,this.root.updateBlockedByResize=!0,c&&c(),c=lc(f,250),st.hasAnimatedSinceResize&&(st.hasAnimatedSinceResize=!1,this.nodes.forEach(Dn)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&d&&(l||u)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:h,hasRelativeLayoutChanged:f,layout:m})=>
vendor: 18,949 bytes, line 1
1{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const p=this.options.transition||d.getDefaultTransition()||Pc,{onLayoutAnimationStart:g,onLayoutAnimationComplete:x}=d.getProps(),v=!this.targetLayout||!br(this.targetLayout,m),b=!h&&f;if(this.options.layoutRoot||this.resumeFrom||b||h&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const w={...vs(p,"layout"),onPlay:g,onComplete:x};(d.shouldReduceMotion||this.options.layoutRoot)&&(w.delay=0,w.type=!1),this.startAnimation(w),this.setAnimationOrigin(c,b)}else h||Dn(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const r=this.getStack();r&&r.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),le(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(kc),this.animationId++)}getTransformTemplate(){const{visualElement:r}=this.options;return r&&r.getProps().transformTemplate}willUpdate(r=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&jr(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const h=this.path[c];h.shouldResetTransform=!0,(typeof h.latestValues.x=="string"||typeof h.latestValues.y=="string")&&(h.isLayoutDirty=!0),h.updateScroll("snapshot"),h.options.layoutRoot&&h.willUpdate(!1)}const{layoutId:l,layout:u}=this.options;if(l===void 0&&!u)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),r&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){const u=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),u&&this.nodes.forEach(xc),this.nodes.forEach(Nn);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Vn);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(yc),this.nodes.forEach(vc),this.nodes.forEach(hc),this.nodes.forEach(fc)):this.nodes.forEach(Vn),this.clearAllSnapshots();const l=$.now();O.delta=te(0,1e3/60,l-O.timestamp),O.timestamp=l,O.isProcessing=!0,yt.update.process(O),yt.preRender.process(O),yt.render.process(O),O.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Ss.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(gc),this.sharedNodes.forEach(Tc)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,M.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){M.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!K(this.snapshot.measuredBox.x)&&!K(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 u=0;u<this.path.length;u++)this.path[u].updateScroll();const r=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=L()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:l}=this.options;l&&l.notify("LayoutMeasure",this.layout.layoutBox,r?r.layoutBox:void 0)}updateScroll(r="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===r&&(l=!1),l&&this.instance){const u=n(this.instance);this.scroll={animationId:this.root.animationId,phase:r,isRoot:u,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:u}}}resetTransform(){if(!i)return;const r=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!wr(this.projectionDelta),u=this.getTransformTemplate(),d=u?u(this.latestValues,""):void 0,c=d!==this.prevTransformTemplateValue;r&&this.instance&&(l||he(this.latestValues)||c)&&(i(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(r=!0){const l=this.measurePageBox();let u=this.removeElementScroll(l);return r&&(u=this.removeTransform(u)),Cc(u),{animationId:this.root.animationId,measuredBox:l,layoutBox:u,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:r}=this.options;if(!r)return L();const l=r.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Ac))){const{scroll:d}=this.root;d&&(J(l.x,d.offset.x),J(l.y,d.offset.y))}return l}removeElementScroll(r){const l=L();if(G(l,r),this.scroll?.wasRoot)return l;for(let u=0;u<this.path.length;u++){const d=this.path[u],{scroll:c,options:h}=d;d!==this.root&&c&&h.layoutScroll&&(c.wasRoot&&G(l,r),J(l.x,c.offset.x),J(l.y,c.offset.y))}return l}applyTransform(r,l=!1,u){const d=u||L();G(d,r);for(let c=0;c<this.path.length;c++){const h=this.path[c];!l&&h.options.layoutScroll&&h.scroll&&h!==h.root&&(J(d.x,-h.scroll.offset.x),J(d.y,-h.scroll.offset.y)),he(h.latestValues)&&et(d,h.latestValues,h.layout?.layoutBox)}return he(this.latestValues)&&et(d,this.latestValues,this.layout?.layoutBox),d}removeTransform(r){const l=L();G(l,r);for(let u=0;u<this.path.length;u++){const d=this.path[u];if(!he(d.latestValues))continue;let c;d.instance&&(Jt(d.latestValues)&&d.updateSnapshot(),c=L(),G(c,d.measurePageBox())),bn(l,d.latestValues,d.snapshot?.layoutBox,c)}return he(this.latestValues)&&bn(l,this.latestValues),l}setTargetDelta(r){this.targetDelta=r,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(r){this.options={...this.options,...r,crossfade:r.crossfade!==void 0?r.crossfade:!0}}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!==O.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(r=!1){const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==l;if(!(r||u&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:h}=this.options;if(!this.layout||!(c||h))return;this.resolvedRelativeTargetAt=O.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=L(),this.targetWithTransforms=L()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ql(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):G(this.target,this.layout.layoutBox),lr(this.target,this.targetDelta)):G(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Jt(this.parent.latestValues)||ar(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(r,l,u){this.relativeParent=r,this.linkedParentVersion=r.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=L(),this.relativeTargetOrigin=L(),ut(this.relativeTargetOrigin,l,u,this.options.layoutAnchor||void 0),G(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const r=this.getLead(),l=!!this.resumingFrom||this!==r;let u=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===O.timestamp&&(u=!1),u)return;const{layout:d,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(d||c))return;G(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,f=this.treeScale.y;jl(this.layoutCorrected,this.treeScale,this.path,l),r.layout&&!r.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(r.target=r.layout.layoutBox,r.targetWithTransforms=L());const{target:m}=r;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(pn(this.prevProjectionDelta.x,this.projectionDelta.x),pn(this.prevProjectionDelta.y,this.projectionDelta.y)),De(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==f||!Pn(this.projectionDelta.x,this.prevProjectionDelta.x)||!Pn(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(r=!0){if(this.options.visualElement?.scheduleRender(),r){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=be(),this.projectionDelta=be(),this.projectionDeltaWithTransform=be()}setAnimationOrigin(r,l=!1){const u=this.snapshot,d=u?u.latestValues:{},c={...this.latestValues},h=be();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const f=L(),m=u?u.source:void 0,p=this.layout?this.layout.source:void 0,g=m!==p,x=this.getStack(),v=!x||x.members.length<=1,b=!!(g&&!v&&this.options.crossfade===!0&&!this.path.some(Sc));this.animationProgress=0;let w;this.mixTargetDelta=k=>{const S=k/1e3;En(h.x,r.x,S),En(h.y,r.y,S),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ut(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),jc(this.relativeTarget,this.relativeTargetOrigin,f,S),w&&Jl(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=L()),G(w,this.relativeTarget)),g&&(this.animationValues=c,sc(c,d,this.latestValues,S,b,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(r){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(le(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=M.update(()=>{st.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Te(0)),this.motionValue.jump(0,!1),this.currentAnimation=rc(this.motionValue,[0,1e3],{...r,velocity:0,isSync:!0,onUpdate:l=>{this.mixTargetDelta(l),r.onUpdate&&r.onUpdate(l)},onStop:()=>{},onComplete:()=>{r.onComplete&&r.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const r=this.getStack();r&&r.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(uc),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const r=this.getLead();let{targetWithTransforms:l,target:u,layout:d,latestValues:c}=r;if(!(!l||!u||!d)){if(this!==r&&this.layout&&d&&Pr(this.options.animationType,this.layout.layoutBox,d.layoutBox)){u=this.target||L();const h=K(this.layout.layoutBox.x);u.x.min=r.target.x.min,u.x.max=u.x.min+h;const f=K(this.layout.layoutBox.y);u.y.min=r.target.y.min,u.y.max=u.y.min+f}G(l,u),et(l,c),De(this.projectionDeltaWithTransform,this.layoutCorrected,l,c)}}registerSharedNode(r,l){this.sharedNodes.has(r)||this.sharedNodes.set(r,new cc),this.sharedNodes.get(r).add(l);const d=l.options.initialPromotionConfig;l.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(l):void 0})}isLead(){const r=this.getStack();return r?r.lead===this:!0}getLead(){const{layoutId:r}=this.options;return r?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:r}=this.options;return r?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:r}=this.options;if(r)return this.root.sharedNodes.get(r)}promote({needsReset:r,transition:l,preserveFollowOpacity:u}={}){const d=this.getStack();d&&d.promote(this,u),r&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const r=this.getStack();return r?r.relegate(this):!1}resetSkewAndRotation(){const{visualElement:r}=this.options;if(!r)return;let l=!1;const{latestValues:u}=r;if((u.z||u.rotate||u.rotateX||u.rotateY||u.rotateZ||u.skewX||u.skewY)&&(l=!0),!l)return;const d={};u.z&&Ct("z",r,d,this.animationValues);for(let c=0;c<Pt.length;c++)Ct(`rotate${Pt[c]}`,r,d,this.animationValues),Ct(`skew${Pt[c]}`,r,d,this.animationValues);r.render();for(const c in d)r.setStaticValue(c,d[c]),this.animationValues&&(this.animationValues[c]=d[c]);r.scheduleRender()}applyProjectionStyles(r,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){r.visibility="hidden";return}const u=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,r.visibility="",r.opacity="",r.pointerEvents=tt(l?.pointerEvents)||"",r.transform=u?u(this.latestValues,""):"none";return}const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){this.options.layoutId&&(r.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,r.pointerEvents=tt(l?.pointerEvents)||""),this.hasProjected&&!he(this.latestValues)&&(r.transform=u?u({},""):"none",this.hasProjected=!1);return}r.visibility="";const c=d.animationValues||d.latestValues;this.applyTransformsToTarget();let h=ec(this.projectionDeltaWithTransform,this.treeScale,c);u&&(h=u(c,h)),r.transform=h;const{x:f,y:m}=this.projectionDelta;r.transformOrigin=`${f.origin*100}% ${m.origin*100}% 0`,d.animationValues?r.opacity=d===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:r.opacity=d===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const p in ts){if(c[p]===void 0)continue;const{correct:g,applyTo:x,isCSSVariable:v}=ts[p],b=h==="none"?c[p]:g(c[p],d);if(x){const w=x.length;for(let k=0;k<w;k++)r[x[k]]=b}else v?this.options.visualElement.renderState.vars[p]=b:r[p]=b}this.options.layoutId&&(r.pointerEvents=d===this?tt(l?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(r=>r.currentAnimation?.stop()),this.root.nodes.forEach(Nn),this.root.sharedNodes.clear()}}}function hc(e){e.updateLayout()}function fc(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:n}=e.layout,{animationType:i}=e.options,o=t.source!==e.layout.source;if(i==="size")Q(c=>{const h=o?t.measuredBox[c]:t.layoutBox[c],f=K(h);h.min=s[c].min,h.max=h.min+f});else if(i==="x"||i==="y"){const c=i==="x"?"y":"x";ss(o?t.measuredBox[c]:t.layoutBox[c],s[c])}else Pr(i,t.layoutBox,s)&&Q(c=>{const h=o?t.measuredBox[c]:t.layoutBox[c],f=K(s[c]);h.max=h.min+f,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[c].max=e.relativeTarget[c].min+f)});const r=be();De(r,s,t.layoutBox);const l=be();o?De(l,e.applyTransform(n,!0),t.measuredBox):De(l,s,t.layoutBox);const u=!wr(r);let d=!1;if(!e.resumeFrom){const c=e.getClosestProjectingParent();if(c&&!c.resumeFrom){const{snapshot:h,layout:f}=c;if(h&&f){const m=e.options.layoutAnchor||void 0,p=L();ut(p,t.layoutBox,h.layoutBox,m);const g=L();ut(g,s,f.layoutBox,m),br(p,g)||(d=!0),c.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=p,e.relativeParent=c)}}}e.notifyListeners("didUpdate",{layout:s,snapshot:t,delta:l,layoutDelta:r,hasLayoutChanged:u,hasRelativeLayoutChanged:d})}else if(e.isLead()){const{onExitComplete:s}=e.options;s&&s()}e.options.transition=void 0}function mc(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 pc(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function gc(e){e.clearSnapshot()}function Nn(e){e.clearMeasurements()}function xc(e){e.isLayoutDirty=!0,e.updateLayout()}function Vn(e){e.isLayoutDirty=!1}function yc(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function vc(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Dn(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function wc(e){e.resolveTargetDelta()}function bc(e){e.calcProjection()}
vendor: 7,077 bytes, lines 1-9
1function kc(e){e.resetSkewAndRotation()}function Tc(e){e.removeLeadSnapshot()}function En(e,t,s){e.translate=N(t.translate,0,s),e.scale=N(t.scale,1,s),e.origin=t.origin,e.originPoint=t.originPoint}function Rn(e,t,s,n){e.min=N(t.min,s.min,n),e.max=N(t.max,s.max,n)}function jc(e,t,s,n){Rn(e.x,t.x,s.x,n),Rn(e.y,t.y,s.y,n)}function Sc(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Pc={duration:.45,ease:[.4,0,.1,1]},Ln=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),In=Ln("applewebkit/")&&!Ln("chrome/")?Math.round:_;function Bn(e){e.min=In(e.min),e.max=In(e.max)}function Cc(e){Bn(e.x),Bn(e.y)}function Pr(e,t,s){return e==="position"||e==="preserve-aspect"&&!Yl(Sn(t),Sn(s),.2)}function Ac(e){return e!==e.root&&e.scroll?.wasRoot}const Mc=Sr({attachResizeListener:(e,t)=>Be(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),At={current:void 0},Cr=Sr({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!At.current){const e=new Mc({});e.mount(window),e.setOptions({layoutScroll:!0}),At.current=e}return At.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Ds=y.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Fn(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Nc(...e){return t=>{let s=!1;const n=e.map(i=>{const o=Fn(i,t);return!s&&typeof o=="function"&&(s=!0),o});if(s)return()=>{for(let i=0;i<n.length;i++){const o=n[i];typeof o=="function"?o():Fn(e[i],null)}}}}function Vc(...e){return y.useCallback(Nc(...e),e)}class Dc extends y.Component{getSnapshotBeforeUpdate(t){const s=this.props.childRef.current;if(qe(s)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const n=s.offsetParent,i=qe(n)&&n.offsetWidth||0,o=qe(n)&&n.offsetHeight||0,r=getComputedStyle(s),l=this.props.sizeRef.current;l.height=parseFloat(r.height),l.width=parseFloat(r.width),l.top=s.offsetTop,l.left=s.offsetLeft,l.right=i-l.width-l.left,l.bottom=o-l.height-l.top}return null}componentDidUpdate(){}render(){return this.props.children}}function Ec({children:e,isPresent:t,anchorX:s,anchorY:n,root:i,pop:o}){const r=y.useId(),l=y.useRef(null),u=y.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:d}=y.useContext(Ds),c=e.props?.ref??e?.ref,h=Vc(l,c);return y.useInsertionEffect(()=>{const{width:f,height:m,top:p,left:g,right:x,bottom:v}=u.current;if(t||o===!1||!l.current||!f||!m)return;const b=s==="left"?`left: ${g}`:`right: ${x}`,w=n==="bottom"?`bottom: ${v}`:`top: ${p}`;l.current.dataset.motionPopId=r;const k=document.createElement("style");d&&(k.nonce=d);const S=i??document.head;return S.appendChild(k),k.sheet&&k.sheet.insertRule(`
2          [data-motion-pop-id="${r}"] {
3            position: absolute !important;
4            width: ${f}px !important;
5            height: ${m}px !important;
6            ${b}px !important;
7            ${w}px !important;
8          }
9        `),()=>{l.current?.removeAttribute("data-motion-pop-id"),S.contains(k)&&S.removeChild(k)}},[t]),a.jsx(Dc,{isPresent:t,childRef:l,sizeRef:u,pop:o,children:o===!1?e:y.cloneElement(e,{ref:h})})}const Rc=({children:e,initial:t,isPresent:s,onExitComplete:n,custom:i,presenceAffectsLayout:o,mode:r,anchorX:l,anchorY:u,root:d})=>{const c=os(Lc),h=y.useId();let f=!0,m=y.useMemo(()=>(f=!1,{id:h,initial:t,isPresent:s,custom:i,onExitComplete:p=>{c.set(p,!0);for(const g of c.values())if(!g)return;n&&n()},register:p=>(c.set(p,!1),()=>c.delete(p))}),[s,c,n]);return o&&f&&(m={...m}),y.useMemo(()=>{c.forEach((p,g)=>c.set(g,!1))},[s]),y.useEffect(()=>{!s&&!c.size&&n&&n()},[s]),e=a.jsx(Ec,{pop:r==="popLayout",isPresent:s,anchorX:l,anchorY:u,root:d,children:e}),a.jsx(ht.Provider,{value:m,children:e})};function Lc(){return new Map}function Ar(e=!0){const t=y.useContext(ht);if(t===null)return[!0,null];const{isPresent:s,onExitComplete:n,register:i}=t,o=y.useId();y.useEffect(()=>{if(e)return i(o)},[e]);const r=y.useCallback(()=>e&&n&&n(o),[o,n,e]);return!s&&n?[!1,r]:[!0]}const ze=e=>e.key||"";function On(e){const t=[];return y.Children.forEach(e,s=>{y.isValidElement(s)&&t.push(s)}),t}const Ic=({children:e,custom:t,initial:s=!0,onExitComplete:n,presenceAffectsLayout:i=!0,mode:o="sync",propagate:r=!1,anchorX:l="left",anchorY:u="top",root:d})=>{const[c,h]=Ar(r),f=y.useMemo(()=>On(e),[e]),m=r&&!c?[]:f.map(ze),p=y.useRef(!0),g=y.useRef(f),x=os(()=>new Map),v=y.useRef(new Set),[b,w]=y.useState(f),[k,S]=y.useState(f);si(()=>{p.current=!1,g.current=f;for(let P=0;P<k.length;P++){const C=ze(k[P]);m.includes(C)?(x.delete(C),v.current.delete(C)):x.get(C)!==!0&&x.set(C,!1)}},[k,m.length,m.join("-")]);const D=[];if(f!==b){let P=[...f];for(let C=0;C<k.length;C++){const j=k[C],V=ze(j);m.includes(V)||(P.splice(C,0,j),D.push(j))}return o==="wait"&&D.length&&(P=D),S(On(P)),w(f),null}const{forceRender:I}=y.useContext(rs);return a.jsx(a.Fragment,{children:k.map(P=>{const C=ze(P),j=r&&!c?!1:f===k||m.includes(C),V=()=>{if(v.current.has(C))return;if(x.has(C))v.current.add(C),x.set(C,!0);else return;let B=!0;x.forEach(se=>{se||(B=!1)}),B&&(I?.(),S(g.current),r&&h?.(),n&&n())};return a.jsx(Rc,{isPresent:j,initial:!p.current||s?void 0:!1,custom:t,presenceAffectsLayout:i,mode:o,root:d,onExitComplete:j?void 0:V,anchorX:l,anchorY:u,children:P},C)})})},Mr=y.createContext({strict:!1}),Wn={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"]};let $n=!1;function Bc(){if($n)return;const e={};for(const t in Wn)e[t]={isEnabled:s=>Wn[t].some(n=>!!s[n])};ir(e),$n=!0}function Nr(){return Bc(),wl()}function Fc(e){const t=Nr();for(const s in e)t[s]={...t[s],...e[s]};ir(t)}const Oc=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 dt(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Oc.has(e)}let Vr=e=>!dt(e);function Wc(e){typeof e=="function"&&(Vr=t=>t.startsWith("on")?!dt(t):e(t))}try{Wc(require("@emotion/is-prop-valid").default)}catch{}function $c(e,t,s){const n={};for(const i in e)i==="values"&&typeof e.values=="object"||W(e[i])||
vendor: 4,794 bytes, line 9
9(Vr(i)||s===!0&&dt(i)||!t&&!dt(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}const gt=y.createContext({});function Kc(e,t){if(pt(e)){const{initial:s,animate:n}=e;return{initial:s===!1||Ie(s)?s:void 0,animate:Ie(n)?n:void 0}}return e.inherit!==!1?t:{}}function Uc(e){const{initial:t,animate:s}=Kc(e,y.useContext(gt));return y.useMemo(()=>({initial:t,animate:s}),[Kn(t),Kn(s)])}function Kn(e){return Array.isArray(e)?e.join(" "):e}const Es=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Dr(e,t,s){for(const n in t)!W(t[n])&&!dr(n,s)&&(e[n]=t[n])}function zc({transformTemplate:e},t){return y.useMemo(()=>{const s=Es();return Ns(s,t,e),Object.assign({},s.vars,s.style)},[t])}function Hc(e,t){const s=e.style||{},n={};return Dr(n,s,e),Object.assign(n,zc(e,t)),n}function _c(e,t){const s={},n=Hc(e,t);return e.drag&&e.dragListener!==!1&&(s.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(s.tabIndex=0),s.style=n,s}const Er=()=>({...Es(),attrs:{}});function Gc(e,t,s,n){const i=y.useMemo(()=>{const o=Er();return hr(o,t,mr(n),e.transformTemplate,e.style),{...o.attrs,style:{...o.style}}},[t]);if(e.style){const o={};Dr(o,e.style,e),i.style={...o,...i.style}}return i}const Yc=["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 Rs(e){return typeof e!="string"||e.includes("-")?!1:!!(Yc.indexOf(e)>-1||/[A-Z]/u.test(e))}function qc(e,t,s,{latestValues:n},i,o=!1,r){const u=(r??Rs(e)?Gc:_c)(t,n,i,e),d=$c(t,typeof e=="string",o),c=e!==y.Fragment?{...d,...u,ref:s}:{},{children:h}=t,f=y.useMemo(()=>W(h)?h.get():h,[h]);return y.createElement(e,{...c,children:f})}function Xc({scrapeMotionValuesFromProps:e,createRenderState:t},s,n,i){return{latestValues:Zc(s,n,i,e),renderState:t()}}function Zc(e,t,s,n){const i={},o=n(e,{});for(const f in o)i[f]=tt(o[f]);let{initial:r,animate:l}=e;const u=pt(e),d=sr(e);t&&d&&!u&&e.inherit!==!1&&(r===void 0&&(r=t.initial),l===void 0&&(l=t.animate));let c=s?s.initial===!1:!1;c=c||r===!1;const h=c?l:r;if(h&&typeof h!="boolean"&&!mt(h)){const f=Array.isArray(h)?h:[h];for(let m=0;m<f.length;m++){const p=bs(e,f[m]);if(p){const{transitionEnd:g,transition:x,...v}=p;for(const b in v){let w=v[b];if(Array.isArray(w)){const k=c?w.length-1:0;w=w[k]}w!==null&&(i[b]=w)}for(const b in g)i[b]=g[b]}}}return i}const Rr=e=>(t,s)=>{const n=y.useContext(gt),i=y.useContext(ht),o=()=>Xc(e,t,n,i);return s?o():os(o)},Qc=Rr({scrapeMotionValuesFromProps:Vs,createRenderState:Es}),Jc=Rr({scrapeMotionValuesFromProps:pr,createRenderState:Er}),eu=Symbol.for("motionComponentSymbol");function tu(e,t,s){const n=y.useRef(s);y.useInsertionEffect(()=>{n.current=s});const i=y.useRef(null);return y.useCallback(o=>{o&&e.onMount?.(o);const r=n.current;if(typeof r=="function")if(o){const l=r(o);typeof l=="function"&&(i.current=l)}else i.current?(i.current(),i.current=null):r(o);else r&&(r.current=o);t&&(o?t.mount(o):t.unmount())},[t])}const Lr=y.createContext({});function ye(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function su(e,t,s,n,i,o){const{visualElement:r}=y.useContext(gt),l=y.useContext(Mr),u=y.useContext(ht),d=y.useContext(Ds),c=d.reducedMotion,h=d.skipAnimations,f=y.useRef(null),m=y.useRef(!1);n=n||l.renderer,!f.current&&n&&(f.current=n(e,{visualState:t,parent:r,props:s,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:c,skipAnimations:h,isSVG:o}),m.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const p=f.current,g=y.useContext(Lr);p&&!p.projection&&i&&(p.type==="html"||p.type==="svg")&&nu(f.current,s,i,g);const x=y.useRef(!1);y.useInsertionEffect(()=>{p&&x.current&&p.update(s,u)});const v=s[zi],b=y.useRef(!!v&&typeof window<"u"&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return si(()=>{m.current=!0,p&&(x.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),b.current&&p.animationState&&p.animationState.animateChanges())}),y.useEffect(()=>{p&&(!b.current&&p.animationState&&p.animationState.animateChanges(),b.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),b.current=!1),p.enteringChildren=void 0)}),p}function nu(e,t,s,n){const{layoutId:i,layout:o,drag:r,dragConstraints:l,layoutScroll:u,layoutRoot:d,layoutAnchor:c,layoutCrossfade:h}=t;e.projection=new s(e.latestValues,t["data-framer-portal-id"]?void 0:Ir(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!r||l&&ye(l),visualElement:e,animationType:typeof o=="str
9ing"?o:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:u,layoutRoot:d,layoutAnchor:c})}function Ir(e){if(e)return e.options.allowProjection!==!1?e.projection:Ir(e.parent)}function Mt(e,{forwardMotionProps:t=!1,type:s}={},n,i){n&&Fc(n);const o=s?s==="svg":Rs(e),r=o?Jc:Qc;function l(d,c){let h;const f={...y.useContext(Ds),...d,layoutId:iu(d)},{isStatic:m}=f,p=Uc(d),g=r(d,m);if(!m&&typeof window<"u"){ru();const x=ou(f);h=x.MeasureLayout,p.visualElement=su(e,g,f,i,x.ProjectionNode,o)}return a.jsxs(gt.Provider,{value:p,children:[h&&p.visualElement?a.jsx(h,{visualElement:p.visualElement,...f}):null,qc(e,d,tu(g,p.visualElement,c),g,m,t,o)]})}l.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const u=y.forwardRef(l);return u[eu]=e,u}function iu({layoutId:e}){const t=y.useContext(rs).id;return t&&e!==void 0?t+"-"+e:e}function ru(e,t){y.useContext(Mr).strict}function ou(e){const t=Nr(),{drag:s,layout:n}=t;if(!s&&!n)return{};const i={...s,...n};return{MeasureLayout:s?.isEnabled(e)||n?.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function au(e,t){if(typeof Proxy>"u")return Mt;const s=new Map,n=(o,r)=>Mt(o,r,e,t),i=(o,r)=>n(o,r);return new Proxy(i,{get:(o,r)=>r==="create"?n:(s.has(r)||s.set(r,Mt(r,void 0,e,t)),s.get(r))})}const lu=(e,t)=>t.isSVG??Rs(e)?new Bl(t):new Vl(t,{allowProjection:e!==y.Fragment});class cu extends ce{constructor(t){super(t),t.animationState||(t.animationState=Kl(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();mt(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:s}=this.node.prevProps||{};t!==s&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let uu=0;class du extends ce{constructor(){super(...arguments),this.id=uu++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:s}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;if(t&&n===!1){if(this.isExitComplete){const{initial:o,custom:r}=this.node.getProps();if(typeof o=="string"){const l=ge(this.node,o,r);if(l){const{transition:u,transitionEnd:d,...c}=l;for(const h in c)this.node.getValue(h)?.jump(c[h])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}const i=this.node.animationState.setActive("exit",!t);s&&!t&&i.then(()=>{this.isExitComplete=!0,s(this.id)})}mount(){const{register:t,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const hu={animation:{Feature:cu},exit:{Feature:du}};function $e(e){return{point:{x:e.pageX,y:e.pageY}}}const fu=e=>t=>Ps(t)&&e(t,$e(t));function Ee(e,t,s,n){return Be(e,t,fu(s),n)}const Br=({current:e})=>e?e.ownerDocument.defaultView:null,Un=(e,t)=>Math.abs(e-t);function mu(e,t){const s=Un(e.x,t.x),n=Un(e.y,t.y);return Math.sqrt(s**2+n**2)}const zn=new Set(["auto","scroll"]);class Fr{constructor(t,s,{transformPagePoint:n,contextWindow:i=window,dragSnapToOrigin:o=!1,distanceThreshold:r=3,element:l}={}){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=m=>{this.handleScroll(m.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=He(this.lastRawMoveEventInfo,this.transformPagePoint));const m=Nt(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,g=mu(m.offset,{x:0,y:0})>=this.distanceThreshold;if(!p&&!g)return;const{point:x}=m,{timestamp:v}=O;this.history.push({...x,timestamp:v});const{onStart:b,onMove:w}=this.handlers;p||(b&&b(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),w&&w(this.lastMoveEvent,m)},this.handlePointerMove=(m,p)=>{this.lastMoveEvent=m,this.lastRawMoveEventInfo=p,this.lastMoveEventInfo=He(p,this.transformPagePoint),M.update(this.updatePoint,!0)},this.handlePointerUp=(m,p)=>{this.end();const{onEnd:g,onSessionEnd:x,resumeAnimation:v}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const b=Nt(m.type==="pointercancel"?this.lastMoveEventInfo:He(p,this.transformPagePoint),this.history);this.startEvent&&g&&g(m,b),x&&x(m,b)},!Ps(t))return;this.dragSnapToOrigin=o,this.handlers=s,this.transformPagePoint=n,this.distanceThreshold=r,this.contextWindow=i||window;const u=$e(t),d=He(u,this.transformPagePoint),{point:c}=d,{timestamp:h}=O;this.history=[{...c,timestamp:h}];const{onSessionStart:f}=s;f&&f(t,Nt(d,this.history)),this.removeListeners=Fe(Ee(this.contextWindow,"pointermove",this.handlePointerMove),Ee(this.contextWindow,"pointerup",this.handlePointerUp),Ee(this.contextWindow,"pointercancel",this.handlePointerUp)),l&&this.startScrollTracking(l)}startScrollTracking(t){let s=t.parentElement;for(;s;){const n=getComputedStyle(s);(zn.has(n.overflowX)||zn.has(n.overflowY))&&this.scrollPositions.set(s,{x:s.scrollLeft,y:s.scrollTop}),s=s.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(t){const s=this.scrollPositions.get(t);if(!s)return;const n=t===window,i=n?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},o={x:i.x-s.x,y:i.y-s.y};o.x===0&&o.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o.x,this.lastMoveEventInfo.point.y+=o.y):this.history.length>0&&(this.history[0].x-=o.x,this.history[0].y-=o.y),this.scrollPositions.set(t,i),M.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),le(this.updatePoint)}}function He(e,t){return t?{point:t(e.point)}:e}function Hn(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Nt({point:e},t){return{point:e,delta:Hn(e,Or(t)),offset:Hn(e,pu(t)),velocity:gu(t,.1)}}function pu(e){return e[0]}function Or(e){return e[e.length-1]}function gu(e,t){if(e.length<2)return{x:0,y:0};let s=e.length-1,n=null;const i=Or(e);for(;s>=0&&(n=e[s],!(i.timestamp-n.timestamp>U(t)));)s--;if(!n)return{x:0,y:0};n===e[0]&&e.length>2&&i.timestamp-n.timestamp>U(t)*2&&(n=e[1]);const o=H(i.timestamp-n.timestamp);if(o===0)return{x:0,y:0};const r={x:(i.x-n.x)/o,y:(i.y-n.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}function xu(e,{min:t,max:s},n){return t!==void 0&&e<t?e=n?N(t,e,n.min):Math.max(e,t):s!==void 0&&e>s&&(e=n?N(s,e,n.max):Math.min(e,s)),e}function _n(e,t,s){return{min:t!==void 0?e.min+t:void 0,max:s!==void 0?e.max+s-(e.max-e.min):void 0}}function yu(e,{top:t,left:s,bottom:n,right:i}){return{x:_n(e.x,s,i),y:_n(e.y,t,n)}}function Gn(e,t){let s=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([s,n]=[n,s]),{min:s,max:n}}function vu(e,t){return{x:Gn(e.x,t.x),y:Gn(e.y,t.y)}}function wu(e,t){let s=.5;const n=K(e),i=K(t);return i>n?s=Re(t.min,t.max-n,e.min):n>i&&(s=Re(e.min,e.max-i,t.min)),te(0,1,s)}function bu(e,t){const s={};return t.min!==void 0&&(s.min=t.min-e.min),t.max!==void 0&&(s.max=t.max-e.min),s}const ns=.35;function ku(e=ns){return e===!1?e=0:e===!0&&(e=ns),{x:Yn(e,"left","right"),y:Yn(e,"top","bottom")}}function Yn(e,t,s){return{min:qn(e,t),max:qn(e,s)}}function qn(e,t){return typeof e=="number"?e:e[t]||0}const Tu=new WeakMap;
vendor: 11,424 bytes, line 9
9class ju{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=L(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:s=!1,distanceThreshold:n}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const o=h=>{s&&this.snapToCursor($e(h).point),this.stopAnimation()},r=(h,f)=>{const{drag:m,dragPropagation:p,onDragStart:g}=this.getProps();if(m&&!p&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Xa(m),!this.openDragLock))return;this.latestPointerEvent=h,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Q(v=>{let b=this.getAxisMotionValue(v).get()||0;if(ee.test(b)){const{projection:w}=this.visualElement;if(w&&w.layout){const k=w.layout.layoutBox[v];k&&(b=K(k)*(parseFloat(b)/100))}}this.originPoint[v]=b}),g&&M.update(()=>g(h,f),!1,!0),Yt(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},l=(h,f)=>{this.latestPointerEvent=h,this.latestPanInfo=f;const{dragPropagation:m,dragDirectionLock:p,onDirectionLock:g,onDrag:x}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:v}=f;if(p&&this.currentDirection===null){this.currentDirection=Pu(v),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",f.point,v),this.updateAxis("y",f.point,v),this.visualElement.render(),x&&M.update(()=>x(h,f),!1,!0)},u=(h,f)=>{this.latestPointerEvent=h,this.latestPanInfo=f,this.stop(h,f),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>{const{dragSnapToOrigin:h}=this.getProps();(h||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new Fr(t,{onSessionStart:o,onStart:r,onMove:l,onSessionEnd:u,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:n,contextWindow:Br(this.visualElement),element:this.visualElement.current})}stop(t,s){const n=t||this.latestPointerEvent,i=s||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!i||!n)return;const{velocity:r}=i;this.startAnimation(r);const{onDragEnd:l}=this.getProps();l&&M.postRender(()=>l(n,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:s}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,s,n){const{drag:i}=this.getProps();if(!n||!_e(t,i,this.currentDirection))return;const o=this.getAxisMotionValue(t);let r=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(r=xu(r,this.constraints[t],this.elastic[t])),o.set(r)}resolveConstraints(){const{dragConstraints:t,dragElastic:s}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&ye(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=yu(n.layoutBox,t):this.constraints=!1,this.elastic=ku(s),i!==this.constraints&&!ye(t)&&n&&this.constraints&&!this.hasMutatedConstraints&&Q(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=bu(n.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:s}=this.getProps();if(!t||!ye(t))return!1;const n=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const o=Sl(n,i.root,this.visualElement.getTransformPagePoint());let r=vu(i.layout.layoutBox,o);if(s){const l=s(kl(r));this.hasMutatedConstraints=!!l,l&&(r=or(l))}return r}startAnimation(t){const{drag:s,dragMomentum:n,dragElastic:i,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:l}=this.getProps(),u=this.constraints||{},d=Q(c=>{if(!_e(c,s,this.currentDirection))return;let h=u&&u[c]||{};(r===!0||r===c)&&(h={min:0,max:0});const f=i?200:1e6,m=i?40:1e7,p={type:"inertia",velocity:n?t[c]:0,bounceStiffness:f,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...o,...h};return this.startAxisValueAnimation(c,p)});return Promise.all(d).then(l)}startAxisValueAnimation(t,s){const n=this.getAxisMotionValue(t);return Yt(this.visualElement,t),n.start(ws(t,n,0,s,this.visualElement,!1))}stopAnimation(){Q(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const s=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps(),i=n[s];return i||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Q(s=>{const{drag:n}=this.getProps();if(!_e(s,n,this.currentDirection))return;const{projection:i}=this.visualElement,o=this.getAxisMotionValue(s);if(i&&i.layout){const{min:r,max:l}=i.layout.layoutBox[s],u=o.get()||0;o.set(t[s]-N(r,l,.5)+u)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:s}=this.getProps(),{projection:n}=this.visualElement;if(!ye(s)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Q(r=>{const l=this.getAxisMotionValue(r);if(l&&this.constraints!==!1){const u=l.get();i[r]=wu({min:u,max:u},this.constraints[r])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),Q(r=>{if(!_e(r,t,null))return;const l=this.getAxisMotionValue(r),{min:u,max:d}=this.constraints[r];l.set(N(u,d,i[r]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Tu.set(this.visualElement,this);const t=this.visualElement.current,s=Ee(t,"pointerdown",d=>{const{drag:c,dragListener:h=!0}=this.getProps(),f=d.target,m=f!==t&&sl(f);c&&h&&!m&&this.start(d)});let n;const i=()=>{const{dragConstraints:d}=this.getProps();ye(d)&&d.current&&(this.constraints=this.resolveRefConstraints(),n||(n=Su(t,d.current,()=>this.scalePositionWithinConstraints())))},{projection:o}=this.visualElement,r=o.addEventListener("measure",i);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),M.read(i);const l=Be(window,"resize",()=>this.scalePositionWithinConstraints()),u=o.addEventListener("didUpdate",(({delta:d,hasLayoutChanged:c})=>{this.isDragging&&c&&(Q(h=>{const f=this.getAxisMotionValue(h);f&&(this.originPoint[h]+=d[h].translate,f.set(f.get()+d[h].translate))}),this.visualElement.render())}));return()=>{l(),s(),r(),u&&u(),n&&n()}}getProps(){const t=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:o=!1,dragElastic:r=ns,dragMomentum:l=!0}=t;return{...t,drag:s,dragDirectionLock:n,dragPropagation:i,dragConstraints:o,dragElastic:r,dragMomentum:l}}}function Xn(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function Su(e,t,s){const n=sn(e,Xn(s)),i=sn(t,Xn(s));return()=>{n(),i()}}function _e(e,t,s){return(t===!0||t===e)&&(s===null||s===e)}function Pu(e,t=10){let s=null;return Math.abs(e.y)>t?s="y":Math.abs(e.x)>t&&(s="x"),s}class Cu extends ce{constructor(t){super(t),this.removeGroupControls=_,this.removeListeners=_,this.controls=new ju(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||_}update(){const{dragControls:t}=this.node.getProps(),{dragControls:s}=this.node.prevProps||{};t!==s&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Vt=e=>(t,s)=>{e&&M.update(()=>e(t,s),!1,!0)};class Au extends ce{constructor(){super(...arguments),this.removePointerDownListener=_}onPointerDown(t){this.session=new Fr(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Br(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:s,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:Vt(t),onStart:Vt(s),onMove:Vt(n),onEnd:(o,r)=>{delete this.session,i&&M.postRender(()=>i(o,r))}}}mount(){this.removePointerDownListener=Ee(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Dt=!1;class Mu extends y.Component{componentDidMount(){const{visualElement:t,layoutGroup:s,switchLayoutGroup:n,layoutId:i}=this.props,{projection:o}=t;o&&(s.group&&s.group.add(o),n&&n.register&&i&&n.register(o),Dt&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),st.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:s,visualElement:n,drag:i,isPresent:o}=this.props,{projection:r}=n;return r&&(r.isPresent=o,t.layoutDependency!==s&&r.setOptions({...r.options,layoutDependency:s}),Dt=!0,i||t.layoutDependency!==s||s===void 0||t.isPresent!==o?r.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?r.promote():r.relegate()||M.postRender(()=>{const l=r.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{visualElement:t,layoutAnchor:s}=this.props,{projection:n}=t;n&&(n.options.layoutAnchor=s,n.root.didUpdate(),Ss.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:s,switchLayoutGroup:n}=this.props,{projection:i}=t;Dt=!0,i&&(i.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Wr(e){const[t,s]=Ar(),n=y.useContext(rs);return a.jsx(Mu,{...e,layoutGroup:n,switchLayoutGroup:y.useContext(Lr),isPresent:t,safeToRemove:s})}const Nu={pan:{Feature:Au},drag:{Feature:Cu,ProjectionNode:Cr,MeasureLayout:Wr}};function Zn(e,t,s){const{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover",s==="Start");const i="onHover"+s,o=n[i];o&&M.postRender(()=>o(t,$e(t)))}class Vu extends ce{mount(){const{current:t}=this.node;t&&(this.unmount=Qa(t,(s,n)=>(Zn(this.node,n,"Start"),i=>Zn(this.node,i,"End"))))}unmount(){}}class Du extends ce{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!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=Fe(Be(this.node.current,"focus",()=>this.onFocus()),Be(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Qn(e,t,s){const{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap",s==="Start");const i="onTap"+(s==="End"?"":s),o=n[i];o&&M.postRender(()=>o(t,$e(t)))}class Eu extends ce{mount(){const{current:t}=this.node;if(!t)return;
9const{globalTapTarget:s,propagate:n}=this.node.props;this.unmount=il(t,(i,o)=>(Qn(this.node,o,"Start"),(r,{success:l})=>Qn(this.node,r,l?"End":"Cancel")),{useGlobalTarget:s,stopPropagation:n?.tap===!1})}unmount(){}}const is=new WeakMap,Et=new WeakMap,Ru=e=>{const t=is.get(e.target);t&&t(e)},Lu=e=>{e.forEach(Ru)};function Iu({root:e,...t}){const s=e||document;Et.has(s)||Et.set(s,{});const n=Et.get(s),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(Lu,{root:e,...t})),n[i]}function Bu(e,t,s){const n=Iu(t);return is.set(e,s),n.observe(e),()=>{is.delete(e),n.unobserve(e)}}const Fu={some:0,all:1};class Ou extends ce{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();const{viewport:t={}}=this.node.getProps(),{root:s,margin:n,amount:i="some",once:o}=t,r={root:s?s.current:void 0,rootMargin:n,threshold:typeof i=="number"?i:Fu[i]},l=u=>{const{isIntersecting:d}=u;if(this.isInView===d||(this.isInView=d,o&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:c,onViewportLeave:h}=this.node.getProps(),f=d?c:h;f&&f(u)};this.stopObserver=Bu(this.node.current,r,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:s}=this.node;["amount","margin","root"].some(Wu(t,s))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function Wu({viewport:e={}},{viewport:t={}}={}){return s=>e[s]!==t[s]}const $u={inView:{Feature:Ou},tap:{Feature:Eu},focus:{Feature:Du},hover:{Feature:Vu}},Ku={layout:{ProjectionNode:Cr,MeasureLayout:Wr}},Uu={...hu,...$u,...Nu,...Ku},$r=au(Uu,lu),zu={some:0,all:1};function Hu(e,t,{root:s,margin:n,amount:i="some"}={}){const o=js(e),r=new WeakMap,l=d=>{d.forEach(c=>{const h=r.get(c.target);if(c.isIntersecting!==!!h)if(c.isIntersecting){const f=t(c.target,c);typeof f=="function"?r.set(c.target,f):u.unobserve(c.target)}else typeof h=="function"&&(h(c),r.delete(c.target))})},u=new IntersectionObserver(l,{root:s,rootMargin:n,threshold:typeof i=="number"?i:zu[i]});return o.forEach(d=>u.observe(d)),()=>u.disconnect()}function _u(e,{root:t,margin:s,amount:n,once:i=!1,initial:o=!1}={}){const[r,l]=y.useState(o);return y.useEffect(()=>{if(!e.current||i&&r)return;const u=()=>(l(!0),i?void 0:()=>l(!1)),d={root:t&&t.current||void 0,margin:s,amount:n};return Hu(e.current,u,d)},[t,e,s,i,n]),r}function A({children:e,delay:t=0,className:s="",y:n=12}){const i=y.useRef(null),o=_u(i,{once:!0,margin:"-10% 0px"});return a.jsx($r.div,{ref:i,initial:{opacity:0,y:n},animate:o?{opacity:1,y:0}:{},transition:{duration:.6,delay:t,ease:[.22,1,.36,1]},className:s,children:e})}function Gu({className:e=""}){return a.jsxs("div",{className:`flex items-baseline gap-1 ${e}`,children:[a.jsx("span",{className:"text-[19px] font-extrabold tracking-tight text-[var(--ink)]",style:{letterSpacing:"-0.04em"},children:"Starborn"}),a.jsx("span",{className:"text-acid text-[19px] font-extrabold leading-none",children:"."})]})}function Yu(){const[e,t]=y.useState(!1);return y.useEffect(()=>{const s=()=>t(window.scrollY>12);return s(),window.addEventListener("scroll",s,{passive:!0}),()=>window.removeEventListener("scroll",s)},[]),a.jsx("header",{className:`fixed top-0 inset-x-0 z-50 transition-all duration-300 ${e?"bg-[oklch(0.975_0.008_80/0.85)] backdrop-blur-xl border-b border-[var(--rule)]":"bg-transparent"}`,children:a.jsxs("div",{className:"mx-auto max-w-[1200px] px-6 lg:px-10 h-16 flex items-center justify-between",children:[a.jsx("a",{href:"#hero",className:"flex-shrink-0",children:a.jsx(Gu,{})}),a.jsx("nav",{className:"hidden md:flex items-center gap-8 absolute left-1/2 -translate-x-1/2",children:[{label:"Work",href:"#work"},{label:"Process",href:"#method"},{label:"Offer",href:"#offer"},{label:"Studio",href:"#studio"},{label:"FAQ",href:"#faq"}].map(s=>a.jsx("a",{href:s.href,className:"text-[13.5px] font-medium text-[var(--ink)]/70 hover:text-[var(--ink)] transition-colors",children:s.label},s.href))}),a.jsxs("a",{href:"#book",className:"cta-premium group inline-flex min-h-10 items-center gap-2 rounded-[999px] px-3 py-1.5 pl-4 text-[13px] font-semibold tracking-[0.01em] transition-all duration-300 ease-out hover:-translate-y-0.5 active:translate-y-0",children:["Book a Call",a.jsx("span",{className:"cta-arrow-cell relative grid h-7 w-7 shrink-0 place-items-center rounded-full transition-transform duration-300 ease-out group-hover:rotate-45",children:a.jsx("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:"h-3.5 w-3.5",children:a.jsx("path",{d:"M7 17L17 7M9 7h8v8"})})})]})]})})}const Kr=(...e)=>e.filter((t,s,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===s).join(" ").trim();const qu=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const Xu=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,s,n)=>n?n.toUpperCase():s.toLowerCase());const Jn=e=>{const t=Xu(e);return t.charAt(0).toUpperCase()+t.slice(1)};var Rt={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Zu=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},Qu=y.createContext({}),Ju=()=>y.useContext(Qu),ed=y.forwardRef(({color:e,size:t,strokeWidth:s,absoluteStrokeWidth:n,className:i="",children:o,iconNode:r,...l},u)=>{const{size:d=24,strokeWidth:c=2,absoluteStrokeWidth:h=!1,color:f="currentColor",className:m=""}=Ju()??{},p=n??h?Number(s??c)*24/Number(t??d):s??c;return y.createElement("svg",{ref:u,...Rt,width:t??d??Rt.width,height:t??d??Rt.height,stroke:e??f,strokeWidth:p,className:Kr("lucide",m,i),...!o&&!Zu(l)&&{"aria-hidden":"true"},...l},[...r.map(([g,x])=>y.createElement(g,x)),...Array.isArray(o)?o:[o]])});const ie=(e,t)=>{const s=y.forwardRef(({className:n,...i},o)=>y.createElement(ed,{ref:o,iconNode:t,className:Kr(`lucide-${qu(Jn(e))}`,`lucide-${e}`,n),...i}));return s.displayName=Jn(e),s};const td=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],xt=ie("arrow-up-right",td);const sd=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],nd=ie("calendar",sd);const id=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Ls=ie("check",id);const rd=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],od=ie("clock",rd);const ad=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],ld=ie("mail",ad);const cd=[["path",{d:"M5 12h14",key:"1ays0h"}]],ud=ie("minus",cd);const dd=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],hd=ie("plus",dd);const fd=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
9y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],md=ie("shield-check",fd);const pd=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],gd=ie("x",pd);function Ce({micro:e=null,label:t="Book your free strategy call",centered:s=!0,className:n=""}){return a.jsxs("div",{className:`${s?"flex flex-col items-center":"flex flex-col items-start"} gap-4 ${n}`,children:[a.jsxs("a",{href:"#book",className:"cta-premium group inline-flex min-h-14 items-center gap-3 rounded-[999px] px-5 py-2 pl-6 transition-all duration-300 ease-out hover:-translate-y-0.5 active:translate-y-0",children:[a.jsx("span",{className:"text-[14px] font-semibold tracking-[0.01em] sm:text-[15px]",children:t}),a.jsx("span",{className:"cta-arrow-cell relative grid h-9 w-9 shrink-0 place-items-center overflow-hidden rounded-full transition-transform duration-300 ease-out group-hover:rotate-45",children:a.jsx(xt,{className:"h-4 w-4 transition-transform duration-300 ease-out group-hover:scale-95",strokeWidth:2.4})})]}),e&&a.jsxs("div",{className:"flex items-center gap-2 text-[13px] text-[var(--mute)]",children:[a.jsxs("span",{className:"relative flex h-1.5 w-1.5",children:[a.jsx("span",{className:"absolute inset-0 rounded-full bg-acid opacity-60 animate-ping"}),a.jsx("span",{className:"relative inline-flex h-1.5 w-1.5 rounded-full bg-acid"})]}),a.jsx("span",{className:"font-medium",children:e})]})]})}const xd="/assets/prosp-ai-BlvWfjYu.svg",yd="/assets/william-brown-C6aBxc8f.jpg",vd="/assets/agency-operators-DR6f9A9z.png",wd="/assets/kakiyo-BD7Pp6Fo.png",bd="/assets/spacem-CuywUdOK.png",kd="/assets/gojiberry-BZ-M02V1.png",Td="wistia-player";function ei(e){if(document.querySelector(`script[src="${e}"]`))return;const t=document.createElement("script");t.src=e,t.async=!0,e.includes("/embed/")&&(t.type="module"),document.head.appendChild(t)}const jd=[{name:"Prosp.ai",src:xd,height:26},{name:"William Brown",src:yd,height:40,multiply:!0},{name:"Kakiyo",src:wd,height:28,multiply:!0},{name:"Gojiberry",src:kd,height:30,multiply:!0},{name:"Agency Operators",src:vd,height:44},{name:"SpaceM",src:bd,height:36,invert:!0}];function Sd(){return y.useEffect(()=>{ei("https://fast.wistia.com/player.js"),ei("https://fast.wistia.com/embed/bz35725cbo.js")},[]),a.jsx("section",{id:"hero",className:"relative bg-paper pt-32 lg:pt-36 pb-20",children:a.jsxs("div",{className:"relative mx-auto max-w-[1100px] px-6 lg:px-10 text-center",children:[a.jsx(A,{children:a.jsxs("div",{className:"inline-flex items-center gap-2.5 pl-2 pr-4 py-1.5 rounded-full border border-[var(--ink)]/12 bg-[var(--ink)]/[0.03] backdrop-blur-sm text-[var(--ink)]/75 text-[11.5px] font-semibold uppercase tracking-[0.18em]",children:[a.jsxs("span",{className:"relative flex h-1.5 w-1.5",children:[a.jsx("span",{className:"absolute inline-flex h-full w-full rounded-full bg-acid opacity-60 animate-ping"}),a.jsx("span",{className:"relative inline-flex h-1.5 w-1.5 rounded-full bg-acid"})]}),a.jsx("span",{children:"For B2B SaaS"}),a.jsx("span",{className:"h-3 w-px bg-[var(--ink)]/15"}),a.jsx("span",{children:"Agency Founders"})]})}),a.jsx(A,{delay:.05,children:a.jsxs("h1",{className:"mt-7 t-display text-[clamp(2.6rem,6.4vw,5.4rem)] text-[var(--ink)] max-w-[18ch] mx-auto",children:["Add"," ",a.jsx("span",{className:"t-serif text-acid font-normal italic",children:"$15K–$50K MRR"})," ","in 90 days using LinkedIn alone."]})}),a.jsx(A,{delay:.12,children:a.jsx("p",{className:"mt-7 mx-auto max-w-2xl text-[18px] leading-[1.55] text-[var(--mute)]",children:"We write your posts, run your DMs, and book 20–30 qualified sales calls onto your calendar every month. Done-for-you."})}),a.jsx(A,{delay:.18,y:20,children:a.jsx("div",{className:"mt-12 mx-auto max-w-3xl",children:a.jsx("div",{className:"relative aspect-video overflow-hidden rounded-2xl bg-ink",style:{boxShadow:"0 30px 80px -20px oklch(0 0 0 / 0.18)"},children:a.jsx(Td,{"media-id":"bz35725cbo",seo:"false",aspect:"1.7777777777777777",style:{position:"absolute",inset:0,width:"100%",height:"100%"}})})})}),a.jsx(A,{delay:.25,children:a.jsx("div",{className:"mt-10",children:a.jsx(Ce,{})})}),a.jsx(A,{delay:.32,children:a.jsxs("div",{className:"mt-20",children:[a.jsx("div",{className:"text-[12px] font-bold uppercase tracking-[0.16em] text-[var(--mute-2)] mb-6",children:"Trusted by founders at"}),a.jsx("div",{className:"flex flex-wrap items-center justify-center gap-x-12 gap-y-6",children:jd.map(e=>a.jsx("img",{src:e.src,alt:e.name,loading:"lazy",style:{height:e.height,width:"auto",mixBlendMode:e.multiply?"multiply":"normal",filter:e.invert?"invert(1) brightness(0.2)":"none"}},e.name))})]})})]})})}const Pd=[{value:"$4M+",label:"Tracked client revenue"},{value:"100+",label:"B2B founders served"},{value:"50M+",label:"Impressions written"}];function Cd(){return a.jsx("section",{"aria-label":"Results in numbers",className:"relative bg-paper border-y border-[var(--ink)]/10",children:a.jsx("div",{className:"mx-auto max-w-[1200px] px-6 lg:px-10 py-10 lg:py-14",children:a.jsx(A,{children:a.jsx("dl",{className:"grid grid-cols-1 sm:grid-cols-3 gap-y-8 sm:gap-x-6 text-center sm:text-left divide-y sm:divide-y-0 sm:divide-x divide-[var(--ink)]/10",children:Pd.map(e=>a.jsxs("div",{className:"flex flex-col items-center sm:items-start sm:px-8 first:sm:pl-0 last:sm:pr-0 pt-8 first:pt-0 sm:pt-0",children:[a.jsx("dt",{className:"t-display text-acid leading-none text-[clamp(2.2rem,3.6vw,3rem)] tracking-tight",children:e.value}),a.jsx("dd",{className:"mt-3 text-[12px] font-bold uppercase tracking-[0.14em] text-[var(--mute-2)]",children:e.label})]},e.label))})})})})}const Ad=["You're tired of cold outbound campaigns where reply rates are below 1% and your SDR team is burning c
9ash.","Paid ads are 60% more expensive than two years ago and the lead quality keeps dropping.","You know LinkedIn inbound is the answer, but you don't have time to write posts, run DMs, and chase leads on top of running the business.","You hired an agency before. They sent you generic posts written overseas. Your pipeline stayed empty."];function Md(){return a.jsx("section",{className:"relative py-24 lg:py-32 bg-cream",children:a.jsxs("div",{className:"mx-auto max-w-[820px] px-6 lg:px-10",children:[a.jsxs(A,{children:[a.jsx("div",{className:"t-eyebrow text-center",children:"Sound familiar?"}),a.jsxs("h2",{className:"mt-4 t-display text-[clamp(2.2rem,4.6vw,3.4rem)] text-center text-[var(--ink)] max-w-[22ch] mx-auto",children:["If any of this ",a.jsx("span",{className:"t-serif text-acid",children:"sounds like you"}),", keep reading."]})]}),a.jsx("div",{className:"mt-14 space-y-6",children:Ad.map((e,t)=>a.jsx(A,{delay:t*.05,children:a.jsxs("div",{className:"flex gap-5 items-start",children:[a.jsx("span",{className:"flex-shrink-0 mt-1.5 h-2.5 w-2.5 rounded-full bg-acid"}),a.jsx("p",{className:"text-[19px] lg:text-[20px] leading-[1.5] text-[var(--ink)]/85",children:e})]})},e))}),a.jsx(A,{delay:.25,children:a.jsx("p",{className:"mt-14 text-center text-[18px] font-semibold text-[var(--ink)]",children:"There's a better way. And it's working for 100+ B2B founders right now."})})]})})}const Ge=["Full ICP, offer & competitor positioning audit","Complete LinkedIn profile rebuild: banner, headline, About, Featured","Custom lead magnet engineered to convert profile views","3–5 done-for-you posts per week, written and scheduled","Daily strategic engagement on your behalf","DM playbook & qualification scripts that book calls","Pre-call sequences, intake forms, post-call follow-up","Weekly performance review with a senior strategist","Direct Slack line to Paolo and your operator","Monthly reporting on pipeline, calls booked, and revenue"];function Nd(){return a.jsx("section",{id:"offer",className:"relative py-24 lg:py-32 bg-paper",children:a.jsxs("div",{className:"mx-auto max-w-[1000px] px-6 lg:px-10",children:[a.jsxs(A,{children:[a.jsx("div",{className:"t-eyebrow text-center",children:"Here's what you get"}),a.jsxs("h2",{className:"mt-4 t-display text-[clamp(2.2rem,4.6vw,3.4rem)] text-center text-[var(--ink)] max-w-[22ch] mx-auto",children:["One ",a.jsx("span",{className:"t-serif text-acid",children:"complete"})," system. Done for you."]}),a.jsx("p",{className:"mt-6 text-[17px] text-[var(--mute)] leading-relaxed text-center max-w-xl mx-auto font-medium",children:"A 90-day engagement that installs the entire inbound machine inside your business."})]}),a.jsx(A,{delay:.1,children:a.jsx("ul",{className:"mt-16 grid md:grid-cols-2 md:gap-x-14",children:Ge.map((e,t)=>{const s=t>=Ge.length-(Ge.length%2===0?2:1);return a.jsxs("li",{className:`flex items-start gap-4 py-5 border-t border-[var(--ink)]/10 ${s?"md:border-b":""} ${t===Ge.length-1?"border-b":""}`,children:[a.jsx(Ls,{className:"flex-shrink-0 h-4 w-4 text-acid mt-[7px]",strokeWidth:3}),a.jsx("span",{className:"text-[16px] text-[var(--ink)]/90 leading-[1.5] font-medium",children:e})]},e)})})}),a.jsx(A,{delay:.15,children:a.jsx("div",{className:"mt-12",children:a.jsx(Ce,{})})})]})})}const Vd=[{name:"Starborn",sub:"Done-for-you"},{name:"Ghostwriter",sub:"$1–3K / mo"},{name:"In-house hire",sub:"$8–15K + equity"},{name:"DIY",sub:"Founder-led"}],Dd=[{label:"Time from you / week",values:["~1 hr review","3–5 hrs","5–10 hrs managing","15–20 hrs"]},{label:"Strategy + ICP work",values:["yes","no","maybe","maybe"]},{label:"DM / inbound system",values:["yes","no","no","no"]},{label:"Senior writers on the account",values:["yes","no","rarely","no"]},{label:"Time to first booked calls",values:["~30 days","60–90 days","90–120 days","6+ months"]}];function Ed({value:e,accent:t}){return e==="yes"?a.jsx(Ls,{className:`inline-block h-[18px] w-[18px] ${t?"text-acid":"text-[var(--ink)]/55"}`,strokeWidth:2.5}):e==="no"?a.jsx(gd,{className:"inline-block h-[18px] w-[18px] text-[var(--ink)]/25",strokeWidth:2}):e==="maybe"?a.jsx("span",{className:"text-[13px] italic text-[var(--ink)]/45 tracking-tight",children:"sometimes"}):a.jsx("span",{className:`text-[13.5px] ${t?"font-semibold text-[var(--ink)]":"text-[var(--ink)]/55"}`,children:e})}function Rd(){return a.jsx("section",{id:"compare",className:"relative bg-cream py-24 lg:py-32",children:a.jsxs("div",{className:"mx-auto max-w-[1100px] px-6 lg:px-10",children:[a.jsx(A,{children:a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"t-eyebrow",children:"The honest comparison"}),a.jsxs("h2",{className:"mt-4 t-display text-[clamp(2.2rem,4.6vw,3.4rem)] text-[var(--ink)] max-w-[22ch] mx-auto leading-[1.05]",children:["Why not just hire a"," ",a.jsx("span",{className:"t-serif text-acid italic",children:"ghostwriter?"})]}),a.jsx("p",{className:"mt-6 text-[16.5px] text-[var(--mute)] leading-relaxed max-w-xl mx-auto",children:"We've watched foun
9ders try every shortcut. Here's how the math actually plays out over a 90-day window."})]})}),a.jsx(A,{delay:.08,children:a.jsxs("div",{className:"mt-16 lg:mt-20",children:[a.jsxs("div",{className:"grid grid-cols-[1.4fr_repeat(4,1fr)] items-end gap-x-3 lg:gap-x-6 pb-5 border-b border-[var(--ink)]/15",children:[a.jsx("div",{}),Vd.map((e,t)=>{const s=t===0;return a.jsxs("div",{className:`text-center ${s?"relative pt-3 pb-1":""}`,children:[s&&a.jsx("span",{"aria-hidden":!0,className:"absolute -top-2 left-1/2 -translate-x-1/2 h-1 w-8 rounded-full bg-acid"}),a.jsx("div",{className:`text-[13px] sm:text-[15px] font-bold tracking-tight leading-tight ${s?"text-[var(--ink)]":"text-[var(--ink)]/55"}`,children:e.name}),a.jsx("div",{className:"mt-1 text-[10.5px] sm:text-[11px] uppercase tracking-[0.1em] text-[var(--mute-2)] leading-tight",children:e.sub})]},e.name)})]}),a.jsx("div",{children:Dd.map(e=>a.jsxs("div",{className:"grid grid-cols-[1.4fr_repeat(4,1fr)] items-center gap-x-3 lg:gap-x-6 py-5 lg:py-6 border-b border-[var(--ink)]/10",children:[a.jsx("div",{className:"text-[13.5px] sm:text-[15px] font-medium text-[var(--ink)]/85 tracking-tight pr-2",children:e.label}),e.values.map((t,s)=>a.jsxs("div",{className:`text-center ${s===0?"relative":""}`,children:[s===0&&a.jsx("span",{"aria-hidden":!0,className:"absolute inset-y-0 left-1/2 -translate-x-1/2 w-[calc(100%+1.5rem)] bg-acid/[0.04] -z-0 pointer-events-none"}),a.jsx("span",{className:"relative z-10",children:a.jsx(Ed,{value:t,accent:s===0})})]},s))]},e.label))}),a.jsx("p",{className:"mt-8 text-center text-[12.5px] text-[var(--ink)]/50 tracking-[0.04em]",children:"Pricing benchmarks pulled from publicly listed agency rates and average B2B content marketer salaries (US, 2025)."})]})})]})})}const Ld=[{n:"1",title:"Content that builds trust",body:"We write 3–5 posts a week that make your buyer trust you before they ever DM."},{n:"2",title:"Profile that converts",body:"We rebuild your profile so visitors know what you do, who it's for, and how to book in ten seconds."},{n:"3",title:"DMs that book calls",body:"A simple 5-message flow turns commenters and profile views into qualified calls on your calendar."},{n:"4",title:"Daily engine, run by us",body:"We post, comment, and DM every day. You stay in your zone. We track what's working in one dashboard."},{n:"5",title:"Sales process that closes",body:"Pre-call nurture, structured calls, and follow-up cadences that turn warm calls into signed clients."}];function Id(){return a.jsx("section",{id:"method",className:"relative py-24 lg:py-32 bg-cream",children:a.jsxs("div",{className:"mx-auto max-w-[1000px] px-6 lg:px-10",children:[a.jsxs(A,{children:[a.jsx("div",{className:"t-eyebrow text-center",children:"How it works"}),a.jsxs("h2",{className:"mt-4 t-display text-[clamp(2.2rem,4.6vw,3.4rem)] text-center text-[var(--ink)] max-w-[22ch] mx-auto",children:["Five steps. ",a.jsx("span",{className:"t-serif text-acid",children:"One system."})," Done for you."]}),a.jsx("p",{className:"mt-6 text-center text-[17px] leading-[1.6] text-[var(--mute)] max-w-[52ch] mx-auto font-medium",children:"The same playbook we run for every client, built to compound week over week."})]}),a.jsx("div",{className:"mt-16 border-t border-[var(--ink)]/10",children:Ld.map((e,t)=>a.jsx(A,{delay:t*.05,children:a.jsxs("div",{className:"group grid grid-cols-12 gap-6 lg:gap-10 py-9 lg:py-11 border-b border-[var(--ink)]/10",children:[a.jsx("div",{className:"col-span-2 md:col-span-2",children:a.jsx("div",{className:"t-serif italic text-[clamp(2rem,3.4vw,2.8rem)] text-acid leading-none",children:e.n.padStart(2,"0")})}),a.jsxs("div",{className:"col-span-10 md:col-span-10 md:grid md:grid-cols-12 md:gap-10",children:[a.jsx("h3",{className:"md:col-span-5 t-display text-[clamp(1.4rem,2.2vw,1.85rem)] text-[var(--ink)] leading-[1.15]",children:e.title}),a.jsx("p",{className:"md:col-span-7 mt-3 md:mt-1 text-[16.5px] leading-[1.6] text-[var(--mute)] max-w-[55ch]",children:e.body})]})]})},e.n))}),a.jsx(A,{delay:.1,children:a.jsx("div",{className:"mt-14",children:a.jsx(Ce,{})})})]})})}const Bd="/assets/nick-_dCOw5HF.png",Fd="/assets/calendly-Uoq2a4ZW.png",Od="/assets/ariel-BAQZiwbK.png",Wd="/assets/kyle-mrmG4tyr.png",$d="/assets/gojiberry-Dj-BJ5xH.png",Kd="/assets/anon-agency-OBCrbqmB.png",Ud="/assets/post-1-BHnnpduB.png",zd="/assets/post-2-CF7yx9cL.png",Hd="/assets/post-3-pSWv1s0c.png",_d="/assets/post-4-pzoL26hj.png",Gd="/assets/post-5-4HCTPnKK.png",Yd="/assets/post-6-CxZ3OApw.png",qd="/assets/post-7-DYIodjrK.png",Xd="/assets/post-8-BuZSx6rb.png",Zd="/assets/post-9-BnqUEf-7.png",Qd="/assets/post-10-Bs5Zzc1R.png",Jd=[{client:"Nick Mihailou",industry:"B2B SaaS",headline:"200 meetings booked in 3 weeks.",stats:[{value:"200",label:"Meetings booked"},{value:"$60K",label:"Revenue generated"},{value:"3M+",label:"Impressions"}],proofKind:"LinkedIn post",linkLabel:"linkedin.com/in/nicholas-mihailou",linkHref:"https://linkedin.com/in/nicholas-mihailou",image:Bd,imageAlt:"Viral LinkedIn post by Nick Mihailou with 3M+ impressions",width:1056,height:1074},{client:"Prosp.ai",industry:"B2B SaaS",headline:"672 demos booked in 30 days.",stats:[{value:"$46.6K",label:"MRR added"},{value:"30K+",label:"Followers"},{value:"672",label:"Demos booked"}],proofKind:"Calendly analytics",linkLabel:"linkedin.com/in/yanndine",linkHref:"https://www.linkedin.com/in/yanndine/",image:Fd,imageAlt:"Calendly analytics dashboard showing 672 demos booked",width:512,height:441},{client:"Ariel Cohen",industry:"AI Creator",headline:"Biggest AI creator on LinkedIn in 3 months.",stats:[{value:"3.2M+",label:"Impressions"},{value:"20K+",label:"New followers (10x)"},{value:"5–10",label:"Inbound leads / week"}],proofKind:"LinkedIn profile",linkLabel:"linkedin.com/in/arielcohen-aigrowth",linkHref:"https://linkedin.com/in/arielcohen-aigrowth",image:Od,imageAlt:"Ariel Cohen LinkedIn profile growth in 3 months",width:1074,height:1198},{client:"Kyle Hunt",industry:"B2B Consulting",headline:"$36K MRR added in 16 weeks.",stats:[{value:"$36K",label:"MRR added"},{value:"2–4K",label:"Leads per post"},{value:"20K+",label:"Followers"}],proofKind:"LinkedIn post",linkLabel:"linkedin.com/in/kyle-a-hunt",linkHref:"https://linkedin.com/in/kyle-a-hunt",image:Wd,imageAlt:"Viral LinkedIn post by Kyle Hunt",width:1050,height:1338},{client:"Gojiberry.ai",industry:"AI SaaS",headline:"$35K in monthly revenue added in 30 days.",stats:[{value:"$35K",label:"MRR added"},{value:"1,736",label:"New trials"}
9,{value:"571",label:"New customers"}],proofKind:"Revenue dashboard",linkLabel:"gojiberry.ai",linkHref:"https://gojiberry.ai",image:$d,imageAlt:"Gojiberry.ai revenue dashboard showing $47,999.95 from new customers in 30 days",width:512,height:271},{client:"B2B Cold Email Agency",industry:"Confidential · Agency",headline:"72 booked calls and 2.8M impressions in 26 days.",stats:[{value:"72",label:"Booked calls (26 days)"},{value:"2.8M",label:"Impressions"},{value:"+269%",label:"vs. prior 90 days"}],proofKind:"LinkedIn analytics",linkLabel:"",linkHref:"",image:Kd,imageAlt:"LinkedIn content performance dashboard showing 2.8M impressions, up 269% over prior 90 days",width:512,height:356}],eh=[Ud,zd,Hd,_d,Gd],th=[Yd,qd,Xd,Zd,Qd];function sh(){return a.jsxs("section",{id:"work",className:"relative py-24 lg:py-32 bg-paper overflow-hidden",children:[a.jsxs("div",{className:"mx-auto max-w-[1200px] px-6 lg:px-10",children:[a.jsxs(A,{children:[a.jsx("div",{className:"t-eyebrow text-center",children:"Proof, not promises"}),a.jsxs("h2",{className:"mt-4 t-display text-[clamp(2.2rem,4.6vw,3.4rem)] text-center text-[var(--ink)] max-w-[20ch] mx-auto leading-[1.05]",children:["Best Results"," ",a.jsx("span",{className:"t-serif text-acid",children:"In The Game."})]}),a.jsx("p",{className:"mt-6 text-center text-[16.5px] leading-relaxed text-[var(--mute)] max-w-xl mx-auto",children:"Receipts pulled straight from client LinkedIn analytics, Calendly dashboards, and viral posts."})]}),a.jsx("div",{className:"mt-20 lg:mt-24 border-t border-[var(--ink)]/10",children:Jd.map((e,t)=>{const s=t%2===1;return a.jsx(A,{delay:.05,children:a.jsxs("article",{className:"grid grid-cols-12 gap-8 lg:gap-14 py-16 lg:py-24 border-b border-[var(--ink)]/10 items-center",children:[a.jsxs("div",{className:`col-span-12 lg:col-span-5 ${s?"lg:order-2":""}`,children:[a.jsxs("div",{className:"flex items-center gap-3 text-[11px] font-bold uppercase tracking-[0.16em] text-[var(--mute-2)]",children:[a.jsxs("span",{children:["Case Study / 0",t+1]}),a.jsx("span",{className:"h-px w-8 bg-[var(--ink)]/15"}),a.jsx("span",{children:e.industry})]}),a.jsx("h3",{className:"mt-5 t-display text-[clamp(1.6rem,2.6vw,2.2rem)] text-[var(--ink)] leading-[1.1] max-w-[16ch]",children:e.headline}),a.jsx("dl",{className:"mt-9 grid grid-cols-3 gap-4 lg:gap-6 max-w-md",children:e.stats.map(n=>a.jsxs("div",{className:"border-l border-[var(--ink)]/15 pl-3 lg:pl-4",children:[a.jsx("dt",{className:"t-display text-acid text-[clamp(1.4rem,2vw,1.9rem)] leading-none tracking-tight",children:n.value}),a.jsx("dd",{className:"mt-2 text-[11.5px] font-semibold uppercase tracking-[0.08em] text-[var(--ink)]/55 leading-tight",children:n.label})]},n.label))}),a.jsxs("div",{className:"mt-10 flex flex-wrap items-baseline gap-x-5 gap-y-2",children:[a.jsx("div",{className:"text-[15px] font-bold text-[var(--ink)]",children:e.client}),e.linkHref&&a.jsxs("a",{href:e.linkHref,target:"_blank",rel:"noreferrer",className:"group inline-flex items-center gap-1.5 text-[12.5px] font-medium text-[var(--ink)]/60 hover:text-acid transition-colors",children:[a.jsx("span",{className:"underline underline-offset-4 decoration-[var(--ink)]/20 group-hover:decoration-acid",children:e.linkLabel}),a.jsx(xt,{className:"h-3.5 w-3.5"})]})]})]}),a.jsx("div",{className:`col-span-12 lg:col-span-7 ${s?"lg:order-1":""}`,children:a.jsxs("figure",{className:"relative",children:[a.jsxs("figcaption",{className:"absolute -top-3 left-4 z-10 inline-flex items-center gap-1.5 rounded-full bg-[var(--ink)] px-3 py-1.5 text-[10.5px] font-bold uppercase tracking-[0.14em] text-paper",children:[a.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-acid"}),e.proofKind]}),a.jsx("div",{className:"relative overflow-hidden rounded-[14px] bg-[var(--ink)]/5",style:{aspectRatio:`${e.width} / ${e.height}`,boxShadow:"0 24px 50px -28px oklch(0 0 0 / 0.32), 0 6px 18px -10px oklch(0 0 0 / 0.12)"},children:a.jsx("img",{src:e.image,alt:e.imageAlt,width:e.width,height:e.height,loading:t===0?"eager":"lazy",decoding:t===0?"sync":"async",fetchPriority:t===0?"high":"auto",className:"block w-full h-full object-cover"})})]})})]})},e.client)})})]}),a.jsxs("div",{className:"mt-24 lg:mt-32",children:[a.jsx("div",{className:"mx-auto max-w-[1200px] px-6 lg:px-10",children:a.jsx(A,{children:a.jsxs("div",{className:"flex flex-col md:flex-row md:items-end md:justify-between gap-6",children:[a.jsxs("div",{children:[a.jsx("div",{className:"t-eyebrow",children:"Content showcase"}),a.jsxs("h3",{className:"mt-3 t-display text-[clamp(1.8rem,3.2vw,2.6rem)] text-[var(--ink)] leading-[1.05] max-w-[18ch]",children:["A glimpse of the posts"," ",a.jsx("span",{className:"t-serif text-acid",children:"we ship every week."})]})]}),a.jsx("p",{className:"text-[14.5px] text-[var(--mute)] max-w-sm leading-relaxed",children:"Every post written, designed, and shipped by our team."})]})})}),a.jsxs("div",{className:"mt-12 lg:mt-16 space-y-6 lg:space-y-8",children:[a.jsx(ti,{images:eh,reverse:!1}),a.jsx(ti,{images:th,reverse:!0})]})]}),a.jsx("div",{className:"mx-auto max-w-[1200px] px-6 lg:px-10 mt-20 lg:mt-24",children:a.jsx(A,{delay:.1,children:a.jsx("div",{className:"text-center",children:a.jsx(Ce,{})})})})]})}function ti({images:e,reverse:t}){const s=[...e,...e];return a.jsx("div",{className:"relative w-full overflow-hidden",style:{maskImage:"linear-gradient(90deg, transparent, black 6%, black 94%, transparent)",WebkitMaskImage:"linear-gradient(90deg, transparent, black 6%, black 94%, transparent)"},children:a.jsx("div",{className:`flex gap-5 lg:gap-7 w-max ${t?"animate-marquee-reverse":"animate-marquee"}`,children:s.map((n,i)=>a.jsx("div",{className:"w-[260px] sm:w-[300px] lg:w-[340px] shrink-0",children:a.jsx("div",{className:"overflow-hidden rounded-[12px] bg-[var(--ink)]/5",style:{boxShadow:"0 16px 36px -22px oklch(0 0 0 / 0.28), 0 4px 12px -6px oklch(0 0 0 / 0.08)"},children:a.jsx("img",{src:n,alt:"LinkedIn post crafted by Starborn Studio",loading:"lazy",className:"block w-full h-auto"})})},i))})})}const nh="/assets/founder-editorial-ByBFOWbu.jpg";function ih(){return a.jsx("section",{id:"studio",className:"relative py-24 lg:py-32 bg-cream",children:a.jsx("div",{className:"mx-auto max-w-[1100px] px-6 lg:px-10",children:a.jsxs("div",{className:"grid md:grid-cols-12 gap-10 lg:gap-16 items-center",children:[a.jsx(A,{className:"md:col-span-5",children:a.jsx("div",{className:"rounded-2xl overflow-hidden aspect-[4/5]",style:{boxShadow:"0 30px 80px -20px oklch(0 0 0 / 0.2)"},children:a.jsx("img",{src:nh,alt:"Paolo Trivellato · Founder of Starborn",loading:"lazy",width:1024,height:1280,className:"w-full h-full object-cover"})})}),a.jsxs(A,{delay:.1,className:"md:col-span-7",children:[a.jsx("div",{className:"t-eyebrow",children:"Meet your operator"}),a.jsxs("h2",{className:"mt-3 t-display text-[clamp(2rem,4vw,3.2rem)] text-[var(--ink)]",children:["Built by a team that's ",a.jsx("span",{className:"t-serif text-acid",children:"done this before."})]}),a.jsxs("div",{className:"mt-7 space-y-5 text-[17px] leading-[1.65] text-[var(--ink)]/80",children:[a.jsxs("p",{children:["I'm Paolo. I've spent the last decade getting B2B founders paid from LinkedIn. ",a.jsx("span",{className:"font-bold text-[var(--ink)]",children:"$4M+ in tracked client revenue"})," across 100+ accounts, and a seat as the in-house LinkedIn coach for two of the largest founder programs in the category."]}),a.jsx("p",{children:"Starborn is the team I assembled to scale that work. Senior ghostwriters, strategists, and DM operators who have written for some of the most respected personal brands in B2B SaaS, consulting, and venture. Every account is run by people who have already done this at the highest level."}),a.jsx("p",{children:"Book the call and we'll tell you honestly whether we're the right team to put behind your name."})]}),a.jsx("div",{className:"mt-10",children:a.jsx(Ce,{centered:!1})})]})]})})})}
9const rh=["B2B SaaS and agency founders doing $30K+ MRR ready to scale","Operators who can take 20–30 sales calls per month","Founders who want to own a category, not chase trends","Teams ready to commit to a 90-day window"],oh=["Pre-revenue founders without a validated offer","B2C, e-commerce, or affiliate plays","Founders who want to write every post personally","Anyone shopping for viral hacks without a strategy"];function ah(){return a.jsx("section",{id:"fit",className:"relative bg-paper py-24 lg:py-32",children:a.jsxs("div",{className:"mx-auto max-w-[1100px] px-6 lg:px-10",children:[a.jsx(A,{children:a.jsxs("div",{className:"text-center max-w-2xl mx-auto",children:[a.jsx("div",{className:"t-eyebrow",children:"Who this is for"}),a.jsxs("h2",{className:"mt-4 t-display text-[clamp(2rem,4.4vw,3.2rem)] text-[var(--ink)] leading-[1.05]",children:["This isn't for everyone."," ",a.jsx("span",{className:"t-serif text-acid italic",children:"On purpose."})]}),a.jsx("p",{className:"mt-6 text-[16.5px] text-[var(--mute)] leading-relaxed",children:"We turn down more accounts than we take. It keeps the work honest, the team focused, and the case studies real."})]})}),a.jsxs("div",{className:"mt-16 lg:mt-20 grid lg:grid-cols-2 gap-12 lg:gap-16",children:[a.jsxs(A,{children:[a.jsx("div",{className:"t-eyebrow text-acid",children:"Built for"}),a.jsx("ul",{className:"mt-7 space-y-5",children:rh.map(e=>a.jsxs("li",{className:"flex gap-4",children:[a.jsx("span",{className:"mt-1 flex-shrink-0 h-5 w-5 rounded-full bg-acid flex items-center justify-center",children:a.jsx(Ls,{className:"h-3 w-3 text-white",strokeWidth:3})}),a.jsx("span",{className:"text-[15.5px] leading-[1.55] text-[var(--ink)]/85",children:e})]},e))})]}),a.jsxs(A,{delay:.08,children:[a.jsx("div",{className:"t-eyebrow text-[var(--ink)]/45",children:"Not built for"}),a.jsx("ul",{className:"mt-7 space-y-5",children:oh.map(e=>a.jsxs("li",{className:"flex gap-4",children:[a.jsx("span",{className:"mt-1 flex-shrink-0 h-5 w-5 rounded-full border border-[var(--ink)]/15 flex items-center justify-center",children:a.jsx(ud,{className:"h-3 w-3 text-[var(--ink)]/40",strokeWidth:3})}),a.jsx("span",{className:"text-[15.5px] leading-[1.55] text-[var(--ink)]/55 line-through decoration-[var(--ink)]/15 decoration-1",children:e})]},e))})]})]})]})})}const lh=[{q:"What kind of results can I realistically expect?",a:"Outcomes vary by offer and market, but our typical client sees 20–30 qualified inbound leads per month once the system is fully implemented. Documented case studies range from $11K to $48K MRR added in 60–120 days, with several clients hitting six-figure months from LinkedIn alone."},{q:"How long until I start seeing results?",a:"Most clients see booked calls inside the first 30 days. The system compounds. Months two and three are where the curves bend sharply."},{q:"What do you actually need from me?",a:"An initial strategy session, access to past case studies or proof, and 2–3 hours per month for c
9ontent review and recording founder talking points. We do everything else."},{q:"What if I already have an in-house marketing team?",a:"We integrate with them. Most of our clients have internal marketing focused on email, paid, content ops and product marketing. We own LinkedIn end-to-end and hand over frameworks so internal teams can amplify what's working."},{q:"What makes Starborn different from other LinkedIn agencies?",a:"A proven, LinkedIn-specific methodology built only for B2B SaaS and high-ticket service businesses. Full-funnel implementation, not just posts. Most agencies are ghostwriters. We are operators."},{q:"Is there a minimum commitment?",a:"No long-term lock-in. Most clients re-sign voluntarily. Discounts available for upfront multi-month commitments."}];function ch(){const[e,t]=y.useState(0);return a.jsx("section",{id:"faq",className:"relative py-24 lg:py-32 bg-paper",children:a.jsxs("div",{className:"mx-auto max-w-[860px] px-6 lg:px-10",children:[a.jsxs(A,{children:[a.jsx("div",{className:"t-eyebrow text-center",children:"FAQ"}),a.jsxs("h2",{className:"mt-4 t-display text-[clamp(2.2rem,4.6vw,3.4rem)] text-center text-[var(--ink)] max-w-[22ch] mx-auto",children:["Questions, ",a.jsx("span",{className:"t-serif text-acid",children:"answered."})]})]}),a.jsx("div",{className:"mt-14 space-y-3",children:lh.map((s,n)=>{const i=e===n;return a.jsx(A,{delay:n*.03,children:a.jsxs("div",{className:`card-soft transition-all ${i?"ring-2 ring-acid/30":""}`,children:[a.jsxs("button",{onClick:()=>t(i?null:n),className:"w-full flex items-center gap-6 p-6 lg:p-7 text-left","aria-expanded":i,children:[a.jsx("span",{className:"flex-1 text-[17px] lg:text-[18px] font-bold text-[var(--ink)]",children:s.q}),a.jsx("span",{className:`flex-shrink-0 h-8 w-8 rounded-full flex items-center justify-center transition-all ${i?"bg-acid text-white rotate-45":"bg-cream text-[var(--ink)]"}`,children:a.jsx(hd,{className:"h-4 w-4",strokeWidth:2.5})})]}),a.jsx(Ic,{initial:!1,children:i&&a.jsx($r.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:[.22,1,.36,1]},className:"overflow-hidden",children:a.jsx("div",{className:"px-6 lg:px-7 pb-6 lg:pb-7 max-w-2xl",children:a.jsx("p",{className:"text-[16px] leading-[1.65] text-[var(--mute)]",children:s.a})})})})]})},n)})}),a.jsx(A,{delay:.1,children:a.jsx("div",{className:"mt-14",children:a.jsx(Ce,{})})})]})})}const uh=[{n:"01",title:"Audit",body:"We pull apart your current LinkedIn presence, offer, and ICP in real time."},{n:"02",title:"Map",body:"You leave with a custom 90-day plan to 20+ qualified calls, written in front of you."},{n:"03",title:"Decide",body:"An honest read on whether we're the right partner. No pitch, no pressure."}],dh=[{Icon:od,label:"45 minutes"},{Icon:nd,label:"Zoom or Google Meet"},{Icon:md,label:"Free. No obligation."}];function hh(){return y.useEffect(()=>{const e="calendly-widget-script";
9if(document.getElementById(e))return;const t=document.createElement("script");t.id=e,t.src="https://assets.calendly.com/assets/external/widget.js",t.async=!0,document.body.appendChild(t)},[]),a.jsxs("section",{id:"book",className:"relative bg-cream overflow-hidden",children:[a.jsx("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 top-0 h-[520px]",style:{background:"radial-gradient(ellipse 60% 70% at 50% 0%, oklch(0.66 0.215 32 / 0.08), transparent 70%)"}}),a.jsxs("div",{className:"relative mx-auto max-w-[1280px] px-6 lg:px-10 pt-24 lg:pt-32 pb-24 lg:pb-32",children:[a.jsx(A,{children:a.jsxs("div",{className:"text-center",children:[a.jsx("div",{className:"t-eyebrow",children:"Final step"}),a.jsxs("h2",{className:"mt-4 t-display text-[clamp(2.2rem,4.6vw,3.4rem)] text-[var(--ink)] max-w-[22ch] mx-auto leading-[1.05]",children:["Pick a time. ",a.jsx("span",{className:"t-serif text-acid",children:"Let's talk."})]}),a.jsx("p",{className:"mt-6 text-[16.5px] text-[var(--mute)] leading-relaxed max-w-xl mx-auto",children:"Forty-five minutes with the team. You walk away with a plan whether we work together or not."})]})}),a.jsxs("div",{className:"mt-16 lg:mt-20 grid lg:grid-cols-12 gap-10 lg:gap-14 items-start",children:[a.jsxs(A,{className:"lg:col-span-5 lg:sticky lg:top-28",children:[a.jsx("div",{className:"t-eyebrow text-[var(--ink)]/55",children:"What to expect"}),a.jsx("ol",{className:"mt-7 space-y-7",children:uh.map(e=>a.jsxs("li",{className:"flex gap-5",children:[a.jsxs("div",{className:"flex flex-col items-center pt-1",children:[a.jsx("span",{className:"t-serif text-acid text-[22px] leading-none",children:e.n}),a.jsx("span",{"aria-hidden":!0,className:"mt-2 w-px flex-1 bg-[var(--ink)]/10"})]}),a.jsxs("div",{className:"pb-1",children:[a.jsx("div",{className:"text-[15px] font-semibold tracking-tight text-[var(--ink)]",children:e.title}),a.jsx("p",{className:"mt-1.5 text-[14.5px] leading-[1.6] text-[var(--mute)]",children:e.body})]})]},e.n))}),a.jsx("div",{className:"mt-10 pt-8 border-t border-[var(--ink)]/10",children:a.jsx("ul",{className:"space-y-3",children:dh.map(({Icon:e,label:t})=>a.jsxs("li",{className:"flex items-center gap-3 text-[13.5px] text-[var(--ink)]/75",children:[a.jsx(e,{className:"h-4 w-4 text-acid",strokeWidth:1.75}),a.jsx("span",{className:"font-medium",children:t})]},t))})}),a.jsxs("div",{className:"mt-10 flex items-center gap-3",children:[a.jsx("div",{"aria-hidden":!0,className:"h-9 w-9 rounded-full bg-gradient-to-br from-acid to-[oklch(0.55_0.19_30)] ring-2 ring-cream"}),a.jsxs("div",{className:"text-[13px] leading-tight",children:[a.jsx("div",{className:"font-semibold text-[var(--ink)]",children:"Paolo Trivellato"}),a.jsx("div",{className:"text-[var(--mute)]",children:"Founder, Starborn Studio"})]})]})]}),a.jsxs(A,{delay:.1,className:"lg:col-span-7",children:[a.jsx("div",{className:"calendly-inline-widget w-full h-[820px] sm:h-[760px] md:h-[700px] lg:h-[720px]","data-url":"https://calendly.com/starborn/20min-linkedin?hide_event_type_details=1&hide_gdpr_banner=1&background_color=f8f5ee&text_color=2a2018&primary_color=fc5436",style:{minWidth:"320px"}}),a.jsxs("p",{className:"mt-5 text-center text-[12.5px] text-[var(--ink)]/45 tracking-[0.04em]",children:["Don't see a time that works?"," ",a.jsx("a",{href:"mailto:[email protected]",className:"text-[var(--ink)]/70 underline underline-offset-4 decoration-[var(--ink)]/20 hover:text-acid hover:decoration-acid transition-colors",children:"Email Paolo directly"})]})]})]})]})]})}const fh=e=>a.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",...e,children:a.jsx("path",{d:"M20.45 20.45h-3.56v-5.57c0-1.33-.02-3.04-1.85-3.04-1.86 0-2.14 1.45-2.14 2.95v5.66H9.34V9h3.42v1.56h.05c.48-.9 1.64-1.85 3.37-1.85 3.6 0 4.27 2.37 4.27 5.46v6.28zM5.34 7.43a2.07 2.07 0 1 1 0-4.13 2.07 2.07 0 0 1 0 4.13zM7.12 20.45H3.56V9h3.56v11.45zM22.22 0H1.77C.79 0 0 .77 0 1.72v20.56C0 23.23.79 24 1.77 24h20.45c.98 0 1.78-.77 1.78-1.72V1.72C24 .77 23.2 0 22.22 0z"})}),mh=e=>a.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",...e,children:a.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231L18.244 2.25zm-1.16 17.52h1.833L7.084 4.126H5.117l11.967 15.644z"})}),ph=e=>
9a.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",...e,children:a.jsx("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})}),gh={Company:[{label:"About",href:"#studio"},{label:"Case Studies",href:"#work"},{label:"The Process",href:"#method"}],Resources:[{label:"FAQ",href:"#faq"},{label:"Newsletter",href:"#"}],Legal:[{label:"Privacy Policy",href:"/privacy"},{label:"Terms of Service",href:"/terms"}]},xh=[{Icon:fh,href:"https://www.linkedin.com/in/leadgenwiz/",label:"LinkedIn"},{Icon:mh,href:"https://x.com/paolo_scales",label:"X"},{Icon:ph,href:"https://www.youtube.com/@paolotrivellato",label:"YouTube"}];function yh(){return a.jsxs("footer",{className:"relative bg-ink text-white overflow-hidden",children:[a.jsx("div",{className:"absolute left-1/2 -translate-x-1/2 top-0 w-[1200px] max-w-full h-[600px] pointer-events-none",style:{background:"radial-gradient(ellipse 50% 70% at 50% 0%, oklch(0.66 0.215 32 / 0.10), transparent 65%)"},"aria-hidden":!0}),a.jsx("div",{className:"relative mx-auto max-w-[1200px] px-6 lg:px-10 pt-24 lg:pt-32 pb-16",children:a.jsxs("div",{className:"grid lg:grid-cols-12 gap-12 lg:gap-16",children:[a.jsxs("div",{className:"lg:col-span-7",children:[a.jsx("div",{className:"t-eyebrow",style:{color:"oklch(0.66 0.215 32)"},children:"Starborn Studio"}),a.jsxs("h3",{className:"mt-5 t-display text-[clamp(2rem,4vw,3.4rem)] text-white leading-[1.05] max-w-[18ch]",children:["The done-for-you LinkedIn engine for"," ",a.jsx("span",{className:"t-serif text-acid",children:"serious founders."})]}),a.jsx("p",{className:"mt-7 max-w-md text-[16px] leading-[1.6] text-white/60",children:"We've generated $4M+ in tracked client revenue across 100+ B2B founders."}),a.jsxs("a",{href:"#book",className:"group mt-10 inline-flex items-center gap-3 text-white text-[16px] font-semibold border-b border-white/30 hover:border-acid hover:text-acid transition-colors pb-2",children:["Book your free strategy call",a.jsx(xt,{className:"h-4 w-4 transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5"})]})]}),a.jsx("div",{className:"lg:col-span-5 grid grid-cols-3 gap-8",children:Object.entries(gh).map(([e,t])=>a.jsxs("div",{children:[a.jsx("div",{className:"text-[12px] font-semibold uppercase tracking-[0.14em] text-white/40 mb-5",children:e}),a.jsx("ul",{className:"space-y-3",children:t.map(s=>a.jsx("li",{children:a.jsx("a",{href:s.href,className:"text-[14.5px] text-white/80 hover:text-acid transition-colors",children:s.label})},s.label))})]},e))})]})}),a.jsx("div",{className:"relative mx-auto max-w-[1200px] px-6 lg:px-10",children:a.jsx("div",{className:"h-px w-full bg-white/10"})}),a.jsxs("div",{className:"relative mx-auto max-w-[1200px] px-6 lg:px-10 py-8 flex flex-wrap items-center justify-between gap-6",children:[a.jsxs("div",{className:"flex items-center gap-5",children:[a.jsxs("a",{href:"mailto:[email protected]",className:"inline-flex items-center gap-2 text-[14px] text-white/70 hover:text-white transition-colors",children:[a.jsx(ld,{className:"h-4 w-4"}),"[email protected]"]}),a.jsxs("span",{className:"hidden sm:inline-flex items-center gap-2 text-[13px] text-white/40",children:[a.jsxs("span",{className:"relative flex h-1.5 w-1.5",children:[a.jsx("span",{className:"absolute inset-0 rounded-full bg-acid opacity-60 animate-ping"}),a.jsx("span",{className:"relative inline-flex h-1.5 w-1.5 rounded-full bg-acid"})]}),"Currently accepting new clients"]})]}),a.jsx("div",{className:"flex items-center gap-2",children:xh.map(({Icon:e,href:t,label:s})=>a.jsx("a",{href:t,target:"_blank",rel:"noreferrer","aria-label":s,className:"h-9 w-9 inline-flex items-center justify-center rounded-full border border-white/15 text-white/70 hover:text-white hover:border-acid hover:bg-acid/10 transition-all",children:a.jsx(e,{className:"h-4 w-4"})},s))})]}),a.jsx("div",{className:"relative border-t border-white/5",children:a.jsx("div",{className:"mx-auto max-w-[1200px] px-6 lg:px-10 py-6 flex flex-wrap items-center justify-between gap-3 text-[12px] text-white/40",children:a.jsxs("div",{className:"flex items-center gap-3",children:[a.jsxs("span",{className:"font-semibold tracking-tight text-white/60",children:["Starborn",a.jsx("span",{className:"text-acid",children:"."})]}),a.jsxs("span",{children:["© ",new Date().getFullYear()," Starborn Studio. All rights reserved."]})]})})}),a.jsx("div",{className:"relative overflow-hidden border-t border-white/5",children:a.jsxs("div",{"aria-hidden":!0,
9className:"select-none text-center font-extrabold leading-none text-transparent",style:{fontSize:"clamp(5rem, 18vw, 16rem)",letterSpacing:"-0.06em",WebkitTextStroke:"1px oklch(1 0 0 / 0.08)",paddingTop:"1.5rem",paddingBottom:"1rem"},children:["STARBORN",a.jsx("span",{style:{color:"oklch(0.66 0.215 32 / 0.5)",WebkitTextStroke:"0"},children:"."})]})})]})}function vh(){const[e,t]=y.useState(!1);return y.useEffect(()=>{const s=document.getElementById("hero"),n=document.getElementById("book");if(!s||!n)return;let i=!1,o=!1;const r=()=>t(i&&!o),l=new IntersectionObserver(([d])=>{i=!d.isIntersecting,r()},{threshold:0,rootMargin:"0px 0px -80% 0px"}),u=new IntersectionObserver(([d])=>{o=d.isIntersecting,r()},{threshold:.05});return l.observe(s),u.observe(n),()=>{l.disconnect(),u.disconnect()}},[]),a.jsx("div",{"aria-hidden":!e,className:`md:hidden fixed inset-x-0 bottom-0 z-40 transition-all duration-300 ${e?"translate-y-0 opacity-100":"translate-y-full opacity-0 pointer-events-none"}`,children:a.jsx("div",{className:"border-t border-[var(--ink)]/10 px-4 py-3",style:{background:"color-mix(in oklab, var(--paper) 88%, transparent)",backdropFilter:"blur(14px)",WebkitBackdropFilter:"blur(14px)",paddingBottom:"calc(0.75rem + env(safe-area-inset-bottom))"},children:a.jsxs("a",{href:"#book",className:"cta-premium group relative inline-flex w-full items-center justify-center gap-2 min-h-12 rounded-full px-5 text-paper font-semibold text-[14px] tracking-[0.01em]",children:[a.jsx("span",{children:"Book your free strategy call"}),a.jsx("span",{className:"cta-arrow-cell h-7 w-7 rounded-full inline-flex items-center justify-center transition-transform duration-300 group-hover:rotate-45",children:a.jsx(xt,{className:"h-3.5 w-3.5",strokeWidth:2.25})})]})})})}function Th(){return a.jsxs("main",{className:"relative bg-paper text-[var(--ink)]",children:[a.jsx(Yu,{}),a.jsx(Sd,{}),a.jsx(Cd,{}),a.jsx(Md,{}),a.jsx(sh,{}),a.jsx(Nd,{}),a.jsx(Rd,{}),a.jsx(Id,{}),a.jsx(ih,{}),a.jsx(ah,{}),a.jsx(ch,{}),a.jsx(hh,{}),a.jsx(yh,{}),a.jsx(vh,{})]})}export{Th as component};

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.