PageSourceSearch

https://neuratic.ai/assets/ExpoDeck-D5iV7Dq3.js

js neuratic.ai collected 2026-10-05 13:06:01 UTC 210,454 bytes, 229 lines download raw bytes

vendor: 9,639 bytes, line 1
1import{r as y,j as a}from"./index-6O7X83yl.js";const vn=y.createContext({});function wn(e){const t=y.useRef(null);return t.current===null&&(t.current=e()),t.current}const Cr=typeof window<"u",Ai=Cr?y.useLayoutEffect:y.useEffect,bt=y.createContext(null);function bn(e,t){e.indexOf(t)===-1&&e.push(t)}function mt(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const ie=(e,t,n)=>n>t?t:n<e?e:n;let kt=()=>{},Me=()=>{};const ue={},Ti=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Ni(e){return typeof e=="object"&&e!==null}const Ci=e=>/^0[^.\s]+$/u.test(e);function Si(e){let t;return()=>(t===void 0&&(t=e()),t)}const q=e=>e,Sr=(e,t)=>n=>t(e(n)),Ge=(...e)=>e.reduce(Sr),He=(e,t,n)=>{const s=t-e;return s===0?1:(n-e)/s};class kn{constructor(){this.subscriptions=[]}add(t){return bn(this.subscriptions,t),()=>mt(this.subscriptions,t)}notify(t,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,s);else for(let r=0;r<i;r++){const o=this.subscriptions[r];o&&o(t,n,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const G=e=>e*1e3,Y=e=>e/1e3;function Mi(e,t){return t?e*(1e3/t):0}const Pi=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Mr=1e-7,Pr=12;function Er(e,t,n,s,i){let r,o,l=0;do o=t+(n-t)/2,r=Pi(o,s,i)-e,r>0?n=o:t=o;while(Math.abs(r)>Mr&&++l<Pr);return o}function Xe(e,t,n,s){if(e===t&&n===s)return q;const i=r=>Er(r,0,1,e,n);return r=>r===0||r===1?r:Pi(i(r),t,s)}const Ei=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Vi=e=>t=>1-e(1-t),Ri=Xe(.33,1.53,.69,.99),jn=Vi(Ri),Di=Ei(jn),Bi=e=>e>=1?1:(e*=2)<1?.5*jn(e):.5*(2-Math.pow(2,-10*(e-1))),An=e=>1-Math.sin(Math.acos(e)),Ii=Vi(An),Li=Ei(An),Vr=Xe(.42,0,1,1),Rr=Xe(0,0,.58,1),Oi=Xe(.42,0,.58,1),Dr=e=>Array.isArray(e)&&typeof e[0]!="number",Fi=e=>Array.isArray(e)&&typeof e[0]=="number",os={linear:q,easeIn:Vr,easeInOut:Oi,easeOut:Rr,circIn:An,circInOut:Li,circOut:Ii,backIn:jn,backInOut:Di,backOut:Ri,anticipate:Bi},Br=e=>typeof e=="string",rs=e=>{if(Fi(e)){Me(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,s,i]=e;return Xe(t,n,s,i)}else if(Br(e))return Me(os[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),os[e];return e},tt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],as={value:null,addProjectionMetrics:null};function Ir(e,t){let n=new Set,s=new Set,i=!1,r=!1;const o=new WeakSet;let l={delta:0,timestamp:0,isProcessing:!1},c=0;function d(h){o.has(h)&&(u.schedule(h),e()),c++,h(l)}const u={schedule:(h,m=!1,f=!1)=>{const g=f&&i?n:s;return m&&o.add(h),g.add(h),h},cancel:h=>{s.delete(h),o.delete(h)},process:h=>{if(l=h,i){r=!0;return}i=!0;const m=n;n=s,s=m,n.forEach(d),t&&as.value&&as.value.frameloop[t].push(c),c=0,n.clear(),i=!1,r&&(r=!1,u.process(h))}};return u}const Lr=40;function Ui(e,t){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,o=tt.reduce((k,T)=>(k[T]=Ir(r,t?T:void 0),k),{}),{setup:l,read:c,resolveKeyframes:d,preUpdate:u,update:h,preRender:m,render:f,postRender:p}=o,g=()=>{const k=ue.useManualTiming,T=k?i.timestamp:performance.now();n=!1,k||(i.delta=s?1e3/60:Math.max(Math.min(T-i.timestamp,Lr),1)),i.timestamp=T,i.isProcessing=!0,l.process(i),c.process(i),d.process(i),u.process(i),h.process(i),m.process(i),f.process(i),p.process(i),i.isProcessing=!1,n&&t&&(s=!1,e(g))},x=()=>{n=!0,s=!0,i.isProcessing||e(g)};return{schedule:tt.reduce((k,T)=>{const b=o[T];return k[T]=(M,P=!1,C=!1)=>(n||x(),b.schedule(M,P,C)),k},{}),cancel:k=>{for(let T=0;T<tt.length;T++)o[tt[T]].cancel(k)},state:i,steps:o}}const{schedule:R,cancel:de,state:$,steps:Pt}=Ui(typeof requestAnimationFrame<"u"?requestAnimationFrame:q,!0);let rt;function Or(){rt=void 0}const _={now:()=>(rt===void 0&&_.set($.isProcessing||ue.useManualTiming?$.timestamp:performance.now()),rt),set:e=>{rt=e,queueMicrotask(Or)}},Wi=e=>t=>typeof t=="string"&&t.startsWith(e),$i=Wi("--"),Fr=Wi("var(--"),Tn=e=>Fr(e)?Ur.test(e.split("/*")[0].trim()):!1,Ur=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ls(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const Re={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},ze={...Re,transform:e=>ie(0,1,e)},nt={...Re,default:1},Fe=e=>Math.round(e*1e5)/1e5,Nn=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Wr(e){return e==null}const $r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Cn=(e,t)=>n=>!!(typeof n=="string"&&$r.test(n)&&n.startsWith(e)||t&&!Wr(n)&&Object.prototype.hasOwnProperty.call(n,t)),Hi=(e,t,n)=>s=>{if(typeof s!="string")return s;const[i,r,o,l]=s.match(Nn);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(o),alpha:l!==void 0?parseFloat(l):1}},Hr=e=>ie(0,255,e),Et={...Re,transform:e=>Math.round(Hr(e))},ge={test:Cn("rgb","red"),parse:Hi("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+Et.transform(e)+", "+Et.transform(t)+", "+Et.transform(n)+", "+Fe(ze.transform(s))+")"};function zr(e){let t="",n="",s="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),s=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),s=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,s+=s,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const Xt={test:Cn("#"),parse:zr,transform:ge.transform},Ye=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),ae=Ye("deg"),se=Ye("%"),N=Ye("px"),_r=Ye("vh"),Kr=Ye("vw"),cs={...se,parse:e=>se.parse(e)/100,transform:e=>se.transform(e*100)},Ae={test:Cn("hsl","hue"),parse:Hi("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+se.transform(Fe(t))+", "+se.transform(Fe(n))+", "+Fe(ze.transform(s))+")"},L={test:e=>ge.test(e)||Xt.test(e)||Ae.test(e),parse:e=>ge.test(e)?ge.parse(e):Ae.test(e)?Ae.parse(e):Xt.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?ge.transform(e):Ae.transform(e),getAnimatableNone:e=>{const t=L.parse(e);return t.alpha=0,L.transform(t)}},Gr=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Xr(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Nn))==null?void 0:t.length)||0)+(((n=e.match(Gr))==null?void 0:n.length)||0)>0}const zi="number",_i="color",Yr="var",qr="var(",us="${}",Zr=/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 Pe(e){const t=e.toString(),n=[],s={color:[],number:[],var:[]},i=[];let r=0;const l=t.replace(Zr,c=>(L.test(c)?(s.color.push(r),i.push(_i),n.push(L.parse(c))):c.startsWith(qr)?(s.var.push(r),i.push(Yr),n.push(c)):(s.number.push(r),i.push(zi),n.push(parseFloat(c))),++r,us)).split(us);return{values:n,split:l,indexes:s,types:i}}function Qr(e){return Pe(e).values}function Ki({split:e,types:t}){const n=e.length;return s=>{let i="";for(let r=0;r<n;r++)if(i+=e[r],s[r]!==void 0){const o=t[r];o===zi?i+=Fe(s[r]):o===_i?i+=L.transform(s[r]):i+=s[r]}return i}}function Jr(e){return Ki(Pe(e))}const ea=e=>typeof e=="number"?0:L.test(e)?L.getAnimatableNone(e):e,ta=(e,t)=>typeof e=="number"?t!=null&&t.trim().endsWith("/")?e:0:ea(e);function na(e){const t=Pe(e);return Ki(t)(t.values.map((s,i)=>ta(s,t.split[i])))}const J={test:Xr,parse:Qr,createTransformer:Jr,getAnimatableNone:na};function Vt(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function sa({hue:e,saturation:t,lightness:n,alpha:s}){e/=360,t/=100,n/=100;let i=0,r=0,o=0;if(!t)i=r=o=n;else{const l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;i=Vt(c,l,e+1/3),r=Vt(c,l,e),o=Vt(c,l,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(o*255),alpha:s}}function ft(e,t){return n=>n>0?t:e}const I=(e,t,n)=>e+(t-e)*n,Rt=(e,t,n)=>{const s=e*e,i=n*(t*t-s)+s;return i<0?0:Math.sqrt(i)},ia=[Xt,ge,Ae],oa=e=>ia.find(t=>t.test(e));function ds(e){const t=oa(e);if(kt(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Ae&&(n=sa(n)),n}const hs=(e,t)=>{const n=ds(e),s=ds(t);if(!n||!s)return ft(e,t);const i={...n};return r=>(i.red=Rt(n.red,s.red,r),i.green=Rt(n.green,s.green,r),i.blue=Rt(n.blue,s.blue,r),i.alpha=I(n.alpha,s.alpha,r),ge.transform(i))},Yt=new Set(["none","hidden"]);function ra(e,t){return Yt.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function aa(e,t){return n=>I(e,t,n)}function Sn(e){return typeof e=="number"?aa:typeof e=="string"?Tn(e)?ft:L.test(e)?hs:ua:Array.isArray(e)?Gi:typeof e=="object"?L.test(e)?hs:la:ft}function Gi(e,t){const n=[...e],s=n.length,i=e.map((r,o)=>Sn(r)(r,t[o]));return r=>{for(let o=0;o<s;o++)n[o]=i[o](r);return n}}function la(e,t){const n={...e,...t},s={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(s[i]=Sn(e[i])(e[i],t[i]));return i=>{for(const r in s)n[r]=s[r](i);return n}}function ca(e,t){const n=[],s={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const r=t.types[i],o=e.indexes[r][s[r]],l=e.values[o]??0;n[i]=l,s[r]++}return n}const ua=(e,t)=>{const n=J.createTransformer(t),s=Pe(e),i=Pe(t);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?Yt.has(e)&&!i.values.length||Yt.has(t)&&!s.values.length?ra(e,t):Ge(Gi(ca(s,i),i.values),n):(kt(!0,`Complex values '${e}' and '${t}
1' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),ft(e,t))};function Xi(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?I(e,t,n):Sn(e)(e,t)}const da=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>R.update(t,n),stop:()=>de(t),now:()=>$.isProcessing?$.timestamp:_.now()}},Yi=(e,t,n=10)=>{let s="";const i=Math.max(Math.round(t/n),2);for(let r=0;r<i;r++)s+=Math.round(e(r/(i-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},pt=2e4;function Mn(e){let t=0;const n=50;let s=e.next(t);for(;!s.done&&t<pt;)t+=n,s=e.next(t);return t>=pt?1/0:t}function ha(e,t=100,n){const s=n({...e,keyframes:[0,t]}),i=Math.min(Mn(s),pt);return{type:"keyframes",ease:r=>s.next(i*r).value/t,duration:Y(i)}}const B={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 qt(e,t){return e*Math.sqrt(1-t*t)}const ma=12;function fa(e,t,n){let s=n;for(let i=1;i<ma;i++)s=s-e(s)/t(s);return s}const Dt=.001;function pa({duration:e=B.duration,bounce:t=B.bounce,velocity:n=B.velocity,mass:s=B.mass}){let i,r;kt(e<=G(B.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=ie(B.minDamping,B.maxDamping,o),e=ie(B.minDuration,B.maxDuration,Y(e)),o<1?(i=d=>{const u=d*o,h=u*e,m=u-n,f=qt(d,o),p=Math.exp(-h);return Dt-m/f*p},r=d=>{const h=d*o*e,m=h*n+n,f=Math.pow(o,2)*Math.pow(d,2)*e,p=Math.exp(-h),g=qt(Math.pow(d,2),o);return(-i(d)+Dt>0?-1:1)*((m-f)*p)/g}):(i=d=>{const u=Math.exp(-d*e),h=(d-n)*e+1;return-Dt+u*h},r=d=>{const u=Math.exp(-d*e),h=(n-d)*(e*e);return u*h});const l=5/e,c=fa(i,r,l);if(e=G(e),isNaN(c))return{stiffness:B.stiffness,damping:B.damping,duration:e};{const d=Math.pow(c,2)*s;return{stiffness:d,damping:o*2*Math.sqrt(s*d),duration:e}}}const xa=["duration","bounce"],ga=["stiffness","damping","mass"];function ms(e,t){return t.some(n=>e[n]!==void 0)}function ya(e){let t={velocity:B.velocity,stiffness:B.stiffness,damping:B.damping,mass:B.mass,isResolvedFromDuration:!1,...e};if(!ms(e,ga)&&ms(e,xa))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,s=2*Math.PI/(n*1.2),i=s*s,r=2*ie(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:B.mass,stiffness:i,damping:r}}else{const n=pa({...e,velocity:0});t={...t,...n,mass:B.mass},t.isResolvedFromDuration=!0}return t}function xt(e=B.visualDuration,t=B.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:s,restDelta:i}=n;const r=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],l={done:!1,value:r},{stiffness:c,damping:d,mass:u,duration:h,velocity:m,isResolvedFromDuration:f}=ya({...n,velocity:-Y(n.velocity||0)}),p=m||0,g=d/(2*Math.sqrt(c*u)),x=o-r,w=Y(Math.sqrt(c/u)),j=Math.abs(x)<5;s||(s=j?B.restSpeed.granular:B.restSpeed.default),i||(i=j?B.restDelta.granular:B.restDelta.default);let k,T,b,M,P,C;if(g<1)b=qt(w,g),M=(p+g*w*x)/b,k=S=>{const D=Math.exp(-g*w*S);return o-D*(M*Math.sin(b*S)+x*Math.cos(b*S))},P=g*w*M+x*b,C=g*w*x-M*b,T=S=>Math.exp(-g*w*S)*(P*Math.sin(b*S)+C*Math.cos(b*S));else if(g===1){k=D=>o-Math.exp(-w*D)*(x+(p+w*x)*D);const S=p+w*x;T=D=>Math.exp(-w*D)*(w*S*D-p)}else{const S=w*Math.sqrt(g*g-1);k=ee=>{const re=Math.exp(-g*w*ee),te=Math.min(S*ee,300);return o-re*((p+g*w*x)*Math.sinh(te)+S*x*Math.cosh(te))/S};const D=(p+g*w*x)/S,U=g*w*D-x*S,oe=g*w*x-D*S;T=ee=>{const re=Math.exp(-g*w*ee),te=Math.min(S*ee,300);return re*(U*Math.sinh(te)+oe*Math.cosh(te))}}const V={calculatedDuration:f&&h||null,velocity:S=>G(T(S)),next:S=>{if(!f&&g<1){const U=Math.exp(-g*w*S),oe=Math.sin(b*S),ee=Math.cos(b*S),re=o-U*(M*oe+x*ee),te=G(U*(P*oe+C*ee));return l.done=Math.abs(te)<=s&&Math.abs(o-re)<=i,l.value=l.done?o:re,l}const D=k(S);if(f)l.done=S>=h;else{const U=G(T(S));l.done=Math.abs(U)<=s&&Math.abs(o-D)<=i}return l.value=l.done?o:D,l},toString:()=>{const S=Math.min(Mn(V),pt),D=Yi(U=>V.next(S*U).value,S,30);return S+"ms "+D},toTransition:()=>{}};return V}xt.applyToOptions=e=>{const t=ha(e,100,xt);return e.ease=t.ease,e.duration=G(t.duration),e.type="keyframes",e};const va=5;
vendor: 5,396 bytes, line 1
1function qi(e,t,n){const s=Math.max(t-va,0);return Mi(n-e(s),t-s)}function Zt({keyframes:e,velocity:t=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:o,min:l,max:c,restDelta:d=.5,restSpeed:u}){const h=e[0],m={done:!1,value:h},f=C=>l!==void 0&&C<l||c!==void 0&&C>c,p=C=>l===void 0?c:c===void 0||Math.abs(l-C)<Math.abs(c-C)?l:c;let g=n*t;const x=h+g,w=o===void 0?x:o(x);w!==x&&(g=w-h);const j=C=>-g*Math.exp(-C/s),k=C=>w+j(C),T=C=>{const V=j(C),S=k(C);m.done=Math.abs(V)<=d,m.value=m.done?w:S};let b,M;const P=C=>{f(m.value)&&(b=C,M=xt({keyframes:[m.value,p(m.value)],velocity:qi(k,C,m.value),damping:i,stiffness:r,restDelta:d,restSpeed:u}))};return P(0),{calculatedDuration:null,next:C=>{let V=!1;return!M&&b===void 0&&(V=!0,T(C),P(C)),b!==void 0&&C>=b?M.next(C-b):(!V&&T(C),m)}}}function wa(e,t,n){const s=[],i=n||ue.mix||Xi,r=e.length-1;for(let o=0;o<r;o++){let l=i(e[o],e[o+1]);if(t){const c=Array.isArray(t)?t[o]||q:t;l=Ge(c,l)}s.push(l)}return s}function ba(e,t,{clamp:n=!0,ease:s,mixer:i}={}){const r=e.length;if(Me(r===t.length,"Both input and output ranges must be the same length","range-length"),r===1)return()=>t[0];if(r===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=wa(t,s,i),c=l.length,d=u=>{if(o&&u<e[0])return t[0];let h=0;if(c>1)for(;h<e.length-2&&!(u<e[h+1]);h++);const m=He(e[h],e[h+1],u);return l[h](m)};return n?u=>d(ie(e[0],e[r-1],u)):d}function ka(e,t){const n=e[e.length-1];for(let s=1;s<=t;s++){const i=He(0,t,s);e.push(I(n,1,i))}}function ja(e){const t=[0];return ka(t,e.length-1),t}function Aa(e,t){return e.map(n=>n*t)}function Ta(e,t){return e.map(()=>t||Oi).splice(0,e.length-1)}function Ue({duration:e=300,keyframes:t,times:n,ease:s="easeInOut"}){const i=Dr(s)?s.map(rs):rs(s),r={done:!1,value:t[0]},o=Aa(n&&n.length===t.length?n:ja(t),e),l=ba(o,t,{ease:Array.isArray(i)?i:Ta(t,i)});return{calculatedDuration:e,next:c=>(r.value=l(c),r.done=c>=e,r)}}const Na=e=>e!==null;function Pn(e,{repeat:t,repeatType:n="loop"},s,i=1){const r=e.filter(Na),l=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!l||s===void 0?r[l]:s}const Ca={decay:Zt,inertia:Zt,tween:Ue,keyframes:Ue,spring:xt};function Zi(e){typeof e.type=="string"&&(e.type=Ca[e.type])}class En{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const Sa=e=>e/100;class Vn extends En{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var s,i;const{motionValue:n}=this.options;n&&n.updatedAt!==_.now()&&this.tick(_.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(s=this.options).onStop)==null||i.call(s))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Zi(t);const{type:n=Ue,repeat:s=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=t;let{keyframes:l}=t;const c=n||Ue;c!==Ue&&typeof l[0]!="number"&&(this.mixKeyframes=Ge(Sa,Xi(l[0],l[1])),l=[0,100]);const d=c({...t,keyframes:l});r==="mirror"&&(this.mirroredGenerator=c({...t,keyframes:[...l].reverse(),velocity:-o})),d.calculatedDuration===null&&(d.calculatedDuration=Mn(d));const{calculatedDuration:u}=d;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(s+1)-i,this.generator=d}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:s,totalDuration:i,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:l,calculatedDuration:c}=this;if(this.startTime===null)return s.next(0);const{delay:d=0,keyframes:u,repeat:h,repeatType:m,repeatDelay:f,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)),n?this.currentTime=t:this.updateTime(t);const w=this.currentTime-d*(this.playbackSpeed>=0?1:-1),j=this.playbackSpeed>=0?w<0:w>i;this.currentTime=Math.max(w,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let k=this.currentTime,T=s;if(h){const C=Math.min(this.currentTime,i)/l;let V=Math.floor(C),S=C%1;!S&&C>=1&&(S=1),S===1&&V--,V=Math.min(V,h+1),!!(V%2)&&(m==="reverse"?(S=1-S,f&&(S-=f/l)):m==="mirror"&&(T=o)),k=ie(0,1,S)*l}const b=j?{done:!1,value:u[0]}:T.next(k);r&&!j&&(b.value=r(b.value));let{done:M}=b;!j&&c!==null&&(M=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&M);return P&&p!==Zt&&(b.value=Pn(u,this.options,x,this.speed)),g&&g(b.value),P&&this.finish(),b}then(t,n){return this.finished.then(t,n)}get duration(){return Y(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Y(t)}get time(){return Y(this.currentTime)}set time(t){t=G(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;
1if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);const n=this.generator.next(t).value;return qi(s=>this.generator.next(s).value,t,n)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;n&&this.driver&&this.updateTime(_.now()),this.playbackSpeed=t,n&&this.driver&&(this.time=Y(this.currentTime))}play(){var i,r;if(this.isStopped)return;const{driver:t=da,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(r=(i=this.options).onPlay)==null||r.call(i);const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=n??s),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(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}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){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function Ma(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const ye=e=>e*180/Math.PI,Qt=e=>{const t=ye(Math.atan2(e[1],e[0]));return Jt(t)},Pa={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Qt,rotateZ:Qt,skewX:e=>ye(Math.atan(e[1])),skewY:e=>ye(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Jt=e=>(e=e%360,e<0&&(e+=360),e),fs=Qt,ps=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),xs=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Ea={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:ps,scaleY:xs,scale:e=>(ps(e)+xs(e))/2,rotateX:e=>Jt(ye(Math.atan2(e[6],e[5]))),rotateY:e=>Jt(ye(Math.atan2(-e[2],e[0]))),rotateZ:fs,rotate:fs,skewX:e=>ye(Math.atan(e[4])),skewY:e=>ye(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function en(e){return e.includes("scale")?1:0}function tn(e,t){if(!e||e==="none")return en(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,i;if(n)s=Ea,i=n;else{const l=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=Pa,i=l}if(!i)return en(t);const r=s[t],o=i[1].split(",").map(Ra);return typeof r=="function"?r(o):o[r]}const Va=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return tn(n,t)};function Ra(e){return parseFloat(e.trim())}const De=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Be=new Set(De),gs=e=>e===Re||e===N,Da=new Set(["x","y","z"]),Ba=De.filter(e=>!Da.has(e));function Ia(e){const t=[];return Ba.forEach(n=>{const s=e.getValue(n);s!==void 0&&(t.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),t}const ce={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:s})=>{const i=e.max-e.min;return s==="border-box"?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:s})=>{const i=e.max-e.min;return s==="border-box"?i:i-parseFloat(t)-parseFloat(n)},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})=>tn(t,"x"),y:(e,{transform:t})=>tn(t,"y")};ce.translateX=ce.x;ce.translateY=ce.y;const ve=new Set;let nn=!1,sn=!1,on=!1;function Qi(){if(sn){const e=Array.from(ve).filter(s=>s.needsMeasurement),t=new Set(e.map(s=>s.element)),n=new Map;t.forEach(s=>{const i=Ia(s);i.length&&(n.set(s,i),s.render())}),e.forEach(s=>s.measureInitialState()),t.forEach(s=>{s.render();const i=n.get(s);
1i&&i.forEach(([r,o])=>{var l;(l=s.getValue(r))==null||l.set(o)})}),e.forEach(s=>s.measureEndState()),e.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}sn=!1,nn=!1,ve.forEach(e=>e.complete(on)),ve.clear()}function Ji(){ve.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(sn=!0)})}function La(){on=!0,Ji(),Qi(),on=!1}class Rn{constructor(t,n,s,i,r,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=s,this.motionValue=i,this.element=r,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(ve.add(this),nn||(nn=!0,R.read(Ji),R.resolveKeyframes(Qi))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:s,motionValue:i}=this;if(t[0]===null){const r=i==null?void 0:i.get(),o=t[t.length-1];if(r!==void 0)t[0]=r;else if(s&&n){const l=s.readValue(n,o);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=o),i&&r===void 0&&i.set(t[0])}Ma(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),ve.delete(this)}cancel(){this.state==="scheduled"&&(ve.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Oa=e=>e.startsWith("--");function eo(e,t,n){Oa(t)?e.style.setProperty(t,n):e.style[t]=n}const Fa={};function to(e,t){const n=Si(e);return()=>Fa[t]??n()}const Ua=to(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),no=to(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Oe=([e,t,n,s])=>`cubic-bezier(${e}, ${t}, ${n}, ${s})`,ys={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Oe([0,.65,.55,1]),circOut:Oe([.55,0,1,.45]),backIn:Oe([.31,.01,.66,-.59]),backOut:Oe([.33,1.53,.69,.99])};function so(e,t){if(e)return typeof e=="function"?no()?Yi(e,t):"ease-out":Fi(e)?Oe(e):Array.isArray(e)?e.map(n=>so(n,t)||ys.easeOut):ys[e]}function Wa(e,t,n,{delay:s=0,duration:i=300,repeat:r=0,repeatType:o="loop",ease:l="easeOut",times:c}={},d=void 0){const u={[t]:n};c&&(u.offset=c);const h=so(l,i);Array.isArray(h)&&(u.easing=h);const m={delay:s,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:r+1,direction:o==="reverse"?"alternate":"normal"};return d&&(m.pseudoElement=d),e.animate(u,m)}function io(e){return typeof e=="function"&&"applyToOptions"in e}function $a({type:e,...t}){return io(e)&&no()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class oo extends En{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:s,keyframes:i,pseudoElement:r,allowFlatten:o=!1,finalKeyframe:l,onComplete:c}=t;this.isPseudoElement=!!r,this.allowFlatten=o,this.options=t,Me(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const d=$a(t);this.animation=Wa(n,s,i,d,r),d.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=Pn(i,this.options,l,this.speed);this.updateMotionValue&&this.updateMotionValue(u),eo(n,s,u),this.animation.cancel()}c==null||c(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}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(){var n,s,i;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((i=(s=this.animation).commitStyles)==null||i.call(s))}get duration(){var n,s;const t=((s=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:s.call(n).duration)||0;return Y(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Y(t)}get time(){return Y(Number(this.animation.currentTime)||0)}set time(t){const n=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=G(t),n&&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:n,rangeEnd:s,observe:i}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&Ua()?(this.animation.timeline=t,n&&(this.animation.rangeStart=n),s&&(this.animation.rangeEnd=s),q):i(this)}}const ro={anticipate:Bi,backInOut:Di,circInOut:Li};function Ha(e){return e in ro}function za(e){typeof e.ease=="string"&&Ha(e.ease)&&(e.ease=ro[e.ease])}const Bt=10;class _a extends oo{constructor(t){za(t),Zi(t),super(t),t.startTime!==void 0&&t.autoplay!==!1&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:s,onComplete:i,element:r,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const l=new Vn({...o,autoplay:!1}),c=Math.max(Bt,_.now()-this.startTime),d=ie(0,Bt,c-Bt),u=l.sample(c).value,{name:h}=this.options;r&&h&&eo(r,h,u),n.setWithVelocity(l.sample(Math.max(0,c-d)).value,u,d),l.stop()}}const vs=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(J.test(e)||e==="0")&&!e.startsWith("url("));function Ka(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function Ga(e,t,n,s){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],o=vs(i,t),l=vs(r,t);return kt(o===l,`You are trying to animate ${t} from "${i}" to "${r}". "${o?r:i}" is not an animatable value.`,"value-not-animatable"),!o||!l?!1:Ka(e)||(n==="spring"||io(n))&&s}function rn(e){e.duration=0,e.type="keyframes"}const Xa=new Set(["opacity","clipPath","filter","transform"]),Ya=Si(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function qa(e){var u;const{motionValue:t,name:n,repeatDelay:s,repeatType:i,damping:r,type:o}=e;if(!(((u=t==null?void 0:t.owner)==null?void 0:u.current)instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:d}=t.owner.getProps();return Ya()&&n&&Xa.has(n)&&(n!=="transform"||!d)&&!c&&!s&&i!=="mirror"&&r!==0&&o!=="inertia"}const Za=40;
1class Qa extends En{constructor({autoplay:t=!0,delay:n=0,type:s="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:o="loop",keyframes:l,name:c,motionValue:d,element:u,...h}){var p;super(),this.stop=()=>{var g,x;this._animation&&(this._animation.stop(),(g=this.stopTimeline)==null||g.call(this)),(x=this.keyframeResolver)==null||x.cancel()},this.createdAt=_.now();const m={autoplay:t,delay:n,type:s,repeat:i,repeatDelay:r,repeatType:o,name:c,motionValue:d,element:u,...h},f=(u==null?void 0:u.KeyframeResolver)||Rn;this.keyframeResolver=new f(l,(g,x,w)=>this.onKeyframesResolved(g,x,m,!w),c,d,u),(p=this.keyframeResolver)==null||p.scheduleResolve()}onKeyframesResolved(t,n,s,i){var w,j;this.keyframeResolver=void 0;const{name:r,type:o,velocity:l,delay:c,isHandoff:d,onUpdate:u}=s;this.resolvedAt=_.now();let h=!0;Ga(t,r,o,l)||(h=!1,(ue.instantAnimations||!c)&&(u==null||u(Pn(t,s,n))),t[0]=t[t.length-1],rn(s),s.repeat=0);const f={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Za?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...s,keyframes:t},p=h&&!d&&qa(f),g=(j=(w=f.motionValue)==null?void 0:w.owner)==null?void 0:j.current,x=p?new _a({...f,element:g}):new Vn(f);x.finished.then(()=>{this.notifyFinished()}).catch(q),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,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),La()),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(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function ao(e,t,n,s=0,i=1){const r=Array.from(e).sort((d,u)=>d.sortNodePosition(u)).indexOf(t),o=e.size,l=(o-1)*s;return typeof n=="function"?n(r,o):i===1?r*s:l-r*s}const Ja=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function el(e){const t=Ja.exec(e);if(!t)return[,];const[,n,s,i]=t;return[`--${n??s}`,i]}const tl=4;function lo(e,t,n=1){Me(n<=tl,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[s,i]=el(e);if(!s)return;const r=window.getComputedStyle(t).getPropertyValue(s);if(r){const o=r.trim();return Ti(o)?parseFloat(o):o}return Tn(i)?lo(i,t,n+1):i}const nl={type:"spring",stiffness:500,damping:25,restSpeed:10},sl=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),il={type:"keyframes",duration:.8},ol={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rl=(e,{keyframes:t})=>t.length>2?il:Be.has(e)?e.startsWith("scale")?sl(t[1]):nl:ol,al=e=>e!==null;function ll(e,{repeat:t,repeatType:n="loop"},s){const i=e.filter(al),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return!r||s===void 0?i[r]:s}function co(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...s}=e;return{...t,...s}}return e}function Dn(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?co(n,e):n}function cl({when:e,delay:t,delayChildren:n,staggerChildren:s,staggerDirection:i,repeat:r,repeatType:o,repeatDelay:l,from:c,elapsed:d,...u}){return!!Object.keys(u).length}const Bn=(e,t,n,s={},i,r)=>o=>{const l=Dn(s,e)||{},c=l.delay||s.delay||0;let{elapsed:d=0}=s;d=d-G(c);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-d,onUpdate:m=>{t.set(m),l.onUpdate&&l.onUpdate(m)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:e,motionValue:t,element:r?void 0:i};cl(l)||Object.assign(u,rl(e,u)),u.duration&&(u.duration=G(u.duration)),u.repeatDelay&&(u.repeatDelay=G(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let h=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(rn(u),u.delay===0&&(h=!0)),(ue.instantAnimations||ue.skipAnimations||i!=null&&i.shouldSkipAnimations)&&(h=!0,rn(u),u.delay=0),u.allowFlatten=!l.type&&!l.ease,h&&!r&&t.get()!==void 0){const m=ll(u.keyframes,l);if(m!==void 0){R.update(()=>{u.onUpdate(m),u.onComplete()});return}}return l.isSync?new Vn(u):new Qa(u)};function ws(e){const t=[{},{}];
1return e==null||e.values.forEach((n,s)=>{t[0][s]=n.get(),t[1][s]=n.getVelocity()}),t}function In(e,t,n,s){if(typeof t=="function"){const[i,r]=ws(s);t=t(n!==void 0?n:e.custom,i,r)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,r]=ws(s);t=t(n!==void 0?n:e.custom,i,r)}return t}function we(e,t,n){const s=e.getProps();return In(s,t,n!==void 0?n:s.custom,e)}const uo=new Set(["width","height","top","left","right","bottom",...De]),bs=30,ul=e=>!isNaN(parseFloat(e));class dl{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{var r;const i=_.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&((r=this.events.change)==null||r.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=_.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=ul(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new kn);const s=this.events[t].add(n);return t==="change"?()=>{s(),R.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-s}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var t;(t=this.events.change)==null||t.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>bs)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,bs);return Mi(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),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(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Ee(e,t){return new dl(e,t)}const an=e=>Array.isArray(e);function hl(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Ee(n))}function ml(e){return an(e)?e[e.length-1]||0:e}function fl(e,t){const n=we(e,t);let{transitionEnd:s={},transition:i={},...r}=n||{};r={...r,...s};for(const o in r){const l=ml(r[o]);hl(e,o,l)}}const H=e=>!!(e&&e.getVelocity);function pl(e){return!!(H(e)&&e.add)}function ln(e,t){const n=e.getValue("willChange");if(pl(n))return n.add(t);if(!n&&ue.WillChange){const s=new ue.WillChange("auto");e.addValue("willChange",s),s.add(t)}}function Ln(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const xl="framerAppearId",ho="data-"+Ln(xl);function mo(e){return e.props[ho]}function gl({protectedKeys:e,needsAnimating:t},n){const s=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,s}function fo(e,t,{delay:n=0,transitionOverride:s,type:i}={}){let{transition:r,transitionEnd:o,...l}=t;const c=e.getDefaultTransition();r=r?co(r,c):c;const d=r==null?void 0:r.reduceMotion;s&&(r=s);const u=[],h=i&&e.animationState&&e.animationState.getState()[i];for(const m in l){const f=e.getValue(m,e.latestValues[m]??null),p=l[m];if(p===void 0||h&&gl(h,m))continue;const g={delay:n,...Dn(r||{},m)},x=f.get();if(x!==void 0&&!f.isAnimating&&!Array.isArray(p)&&p===x&&!g.velocity)continue;let w=!1;if(window.MotionHandoffAnimation){const T=mo(e);if(T){const b=window.MotionHandoffAnimation(T,m,R);b!==null&&(g.startTime=b,w=!0)}}ln(e,m);const j=d??e.shouldReduceMotion;f.start(Bn(m,f,p,j&&uo.has(m)?{type:!1}:g,e,w));const k=f.animation;k&&u.push(k)}if(o){const m=()=>R.update(()=>{o&&fl(e,o)});u.length?Promise.all(u).then(m):m()}return u}function cn(e,t,n={}){var c;const s=we(e,t,n.type==="exit"?(c=e.presenceContext)==null?void 0:c.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=s||{};
vendor: 3,799 bytes, line 1
1n.transitionOverride&&(i=n.transitionOverride);const r=s?()=>Promise.all(fo(e,s,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(d=0)=>{const{delayChildren:u=0,staggerChildren:h,staggerDirection:m}=i;return yl(e,t,d,u,h,m,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[d,u]=l==="beforeChildren"?[r,o]:[o,r];return d().then(()=>u())}else return Promise.all([r(),o(n.delay)])}function yl(e,t,n=0,s=0,i=0,r=1,o){const l=[];for(const c of e.variantChildren)c.notify("AnimationStart",t),l.push(cn(c,t,{...o,delay:n+(typeof s=="function"?0:s)+ao(e.variantChildren,c,s,i,r)}).then(()=>c.notify("AnimationComplete",t)));return Promise.all(l)}function vl(e,t,n={}){e.notify("AnimationStart",t);let s;if(Array.isArray(t)){const i=t.map(r=>cn(e,r,n));s=Promise.all(i)}else if(typeof t=="string")s=cn(e,t,n);else{const i=typeof t=="function"?we(e,t,n.custom):t;s=Promise.all(fo(e,i,n))}return s.then(()=>{e.notify("AnimationComplete",t)})}const wl={test:e=>e==="auto",parse:e=>e},po=e=>t=>t.test(e),xo=[Re,N,se,ae,Kr,_r,wl],ks=e=>xo.find(po(e));function bl(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Ci(e):!0}const kl=new Set(["brightness","contrast","saturate","opacity"]);function jl(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=n.match(Nn)||[];if(!s)return e;const i=n.replace(s,"");let r=kl.has(t)?1:0;return s!==n&&(r*=100),t+"("+r+i+")"}const Al=/\b([a-z-]*)\(.*?\)/gu,un={...J,getAnimatableNone:e=>{const t=e.match(Al);return t?t.map(jl).join(" "):e}},dn={...J,getAnimatableNone:e=>{const t=J.parse(e);return J.createTransformer(e)(t.map(s=>typeof s=="number"?0:typeof s=="object"?{...s,alpha:1}:s))}},js={...Re,transform:Math.round},Tl={rotate:ae,rotateX:ae,rotateY:ae,rotateZ:ae,scale:nt,scaleX:nt,scaleY:nt,scaleZ:nt,skew:ae,skewX:ae,skewY:ae,distance:N,translateX:N,translateY:N,translateZ:N,x:N,y:N,z:N,perspective:N,transformPerspective:N,opacity:ze,originX:cs,originY:cs,originZ:N},On={borderWidth:N,borderTopWidth:N,borderRightWidth:N,borderBottomWidth:N,borderLeftWidth:N,borderRadius:N,borderTopLeftRadius:N,borderTopRightRadius:N,borderBottomRightRadius:N,borderBottomLeftRadius:N,width:N,maxWidth:N,height:N,maxHeight:N,top:N,right:N,bottom:N,left:N,inset:N,insetBlock:N,insetBlockStart:N,insetBlockEnd:N,insetInline:N,insetInlineStart:N,insetInlineEnd:N,padding:N,paddingTop:N,paddingRight:N,paddingBottom:N,paddingLeft:N,paddingBlock:N,paddingBlockStart:N,paddingBlockEnd:N,paddingInline:N,paddingInlineStart:N,paddingInlineEnd:N,margin:N,marginTop:N,marginRight:N,marginBottom:N,marginLeft:N,marginBlock:N,marginBlockStart:N,marginBlockEnd:N,marginInline:N,marginInlineStart:N,marginInlineEnd:N,fontSize:N,backgroundPositionX:N,backgroundPositionY:N,...Tl,zIndex:js,fillOpacity:ze,strokeOpacity:ze,numOctaves:js},Nl={...On,color:L,backgroundColor:L,outlineColor:L,fill:L,stroke:L,borderColor:L,borderTopColor:L,borderRightColor:L,borderBottomColor:L,borderLeftColor:L,filter:un,WebkitFilter:un,mask:dn,WebkitMask:dn},go=e=>Nl[e],Cl=new Set([un,dn]);function yo(e,t){let n=go(e);return Cl.has(n)||(n=J),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Sl=new Set(["auto","none","0"]);function Ml(e,t,n){let s=0,i;for(;s<e.length&&!i;){const r=e[s];typeof r=="string"&&!Sl.has(r)&&Pe(r).values.length&&(i=e[s]),s++}if(i&&n)for(const r of t)e[r]=yo(n,i)}class Pl extends Rn{constructor(t,n,s,i,r){super(t,n,s,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:s}=this;if(!n||!n.current)return;super.readKeyframes();for(let u=0;u<t.length;u++){let h=t[u];if(typeof h=="string"&&(h=h.trim(),Tn(h))){const m=lo(h,n.current);m!==void 0&&(t[u]=m),u===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!uo.has(s)||t.length!==2)return;const[i,r]=t,o=ks(i),l=ks(r),c=ls(i),d=ls(r);
1if(c!==d&&ce[s]){this.needsMeasurement=!0;return}if(o!==l)if(gs(o)&&gs(l))for(let u=0;u<t.length;u++){const h=t[u];typeof h=="string"&&(t[u]=parseFloat(h))}else ce[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,s=[];for(let i=0;i<t.length;i++)(t[i]===null||bl(t[i]))&&s.push(i);s.length&&Ml(t,s,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:s}=this;if(!t||!t.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ce[s](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(s,i).jump(i,!1)}measureEndState(){var l;const{element:t,name:n,unresolvedKeyframes:s}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=s.length-1,o=s[r];s[r]=ce[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(l=this.removedTransforms)!=null&&l.length&&this.removedTransforms.forEac
vendor: 21,936 bytes, line 1
1h(([c,d])=>{t.getValue(c).set(d)}),this.resolveNoneKeyframes()}}const El=new Set(["opacity","clipPath","filter","transform"]);function vo(e,t,n){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(s=>s!=null)}const wo=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function at(e){return Ni(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const{schedule:Fn,cancel:Eh}=Ui(queueMicrotask,!1),Q={x:!1,y:!1};function bo(){return Q.x||Q.y}function Vl(e){return e==="x"||e==="y"?Q[e]?null:(Q[e]=!0,()=>{Q[e]=!1}):Q.x||Q.y?null:(Q.x=Q.y=!0,()=>{Q.x=Q.y=!1})}function ko(e,t){const n=vo(e),s=new AbortController,i={passive:!0,...t,signal:s.signal};return[n,i,()=>s.abort()]}function Rl(e){return!(e.pointerType==="touch"||bo())}function Dl(e,t,n={}){const[s,i,r]=ko(e,n);return s.forEach(o=>{let l=!1,c=!1,d;const u=()=>{o.removeEventListener("pointerleave",p)},h=x=>{d&&(d(x),d=void 0),u()},m=x=>{l=!1,window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",m),c&&(c=!1,h(x))},f=()=>{l=!0,window.addEventListener("pointerup",m,i),window.addEventListener("pointercancel",m,i)},p=x=>{if(x.pointerType!=="touch"){if(l){c=!0;return}h(x)}},g=x=>{if(!Rl(x))return;c=!1;const w=t(o,x);typeof w=="function"&&(d=w,o.addEventListener("pointerleave",p,i))};o.addEventListener("pointerenter",g,i),o.addEventListener("pointerdown",f,i)}),r}const jo=(e,t)=>t?e===t?!0:jo(e,t.parentElement):!1,Un=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Bl=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Il(e){return Bl.has(e.tagName)||e.isContentEditable===!0}const Ll=new Set(["INPUT","SELECT","TEXTAREA"]);function Ol(e){return Ll.has(e.tagName)||e.isContentEditable===!0}const lt=new WeakSet;function As(e){return t=>{t.key==="Enter"&&e(t)}}function It(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Fl=(e,t)=>{const n=e.currentTarget;if(!n)return;const s=As(()=>{if(lt.has(n))return;It(n,"down");const i=As(()=>{It(n,"up")}),r=()=>It(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",s,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),t)};function Ts(e){return Un(e)&&!bo()}const Ns=new WeakSet;function Ul(e,t,n={}){const[s,i,r]=ko(e,n),o=l=>{const c=l.currentTarget;if(!Ts(l)||Ns.has(l))return;lt.add(c),n.stopPropagation&&Ns.add(l);const d=t(c,l),u=(f,p)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",m),lt.has(c)&&lt.delete(c),Ts(f)&&typeof d=="function"&&d(f,{success:p})},h=f=>{u(f,c===window||c===document||n.useGlobalTarget||jo(c,f.target))},m=f=>{u(f,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",m,i)};return s.forEach(l=>{(n.useGlobalTarget?window:l).addEventListener("pointerdown",o,i),at(l)&&(l.addEventListener("focus",d=>Fl(d,i)),!Il(l)&&!l.hasAttribute("tabindex")&&(l.tabIndex=0))}),r}function Wn(e){return Ni(e)&&"ownerSVGElement"in e}const ct=new WeakMap;let le;const Ao=(e,t,n)=>(s,i)=>i&&i[0]?i[0][e+"Size"]:Wn(s)&&"getBBox"in s?s.getBBox()[t]:s[n],Wl=Ao("inline","width","offsetWidth"),$l=Ao("block","height","offsetHeight");function Hl({target:e,borderBoxSize:t}){var n;(n=ct.get(e))==null||n.forEach(s=>{s(e,{get width(){return Wl(e,t)},get height(){return $l(e,t)}})})}function zl(e){e.forEach(Hl)}function _l(){typeof ResizeObserver>"u"||(le=new ResizeObserver(zl))}function Kl(e,t){le||_l();const n=vo(e);return n.forEach(s=>{let i=ct.get(s);i||(i=new Set,ct.set(s,i)),i.add(t),le==null||le.observe(s)}),()=>{n.forEach(s=>{const i=ct.get(s);i==null||i.delete(t),i!=null&&i.size||le==null||le.unobserve(s)})}}const ut=new Set;let Te;function Gl(){Te=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};ut.forEach(t=>t(e))},window.addEventListener("resize",Te)}function Xl(e){return ut.add(e),Te||Gl(),()=>{ut.delete(e),!ut.size&&typeof Te=="function"&&(window.removeEventListener("resize",Te),Te=void 0)}}function Cs(e,t){return typeof e=="function"?Xl(e):Kl(e,t)}function Yl(e){return Wn(e)&&e.tagName==="svg"}const ql=[...xo,L,J],Zl=e=>ql.find(po(e)),Ss=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ne=()=>({x:Ss(),y:Ss()}),Ms=()=>({min:0,max:0}),O=()=>({x:Ms(),y:Ms()}),Ql=new WeakMap;function jt(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function _e(e){return typeof e=="string"||Array.isArray(e)}const $n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Hn=["initial",...$n];function At(e){return jt(e.animate)||Hn.some(t=>_e(e[t]))}function To(e){return!!(At(e)||e.variants)}function Jl(e,t,n){for(const s in t){const i=t[s],r=n[s];if(H(i))e.addValue(s,i);else if(H(r))e.addValue(s,Ee(i,{owner:e}));else if(r!==i)if(e.hasValue(s)){const o=e.getValue(s);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(s);e.addValue(s,Ee(o!==void 0?o:i,{owner:e}))}}for(const s in n)t[s]===void 0&&e.removeValue(s);return t}const hn={current:null},No={current:!1},ec=typeof window<"u";function tc(){if(No.current=!0,!!ec)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>hn.current=e.matches;e.addEventListener("change",t),t()}else hn.current=!1}const Ps=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let gt={};function Co(e){gt=e}function nc(){return gt}class sc{scrapeMotionValuesFromProps(t,n,s){return{}}constructor({parent:t,props:n,presenceContext:s,reducedMotionConfig:i,skipAnimations:r,blockInitialAnimation:o,visualState:l},c={}){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=Rn,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 f=_.now();this.renderScheduledAt<f&&(this.renderScheduledAt=f,R.render(this.render,!1,!0))};const{latestValues:d,renderState:u}=l;this.latestValues=d,this.baseTarget={...d},this.initialValues=n.initial?{...d}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=s,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=r,this.options=c,this.blockInitialAnimation=!!o,this.isControllingVariants=At(n),this.isVariantNode=To(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...m}=this.scrapeMotionValuesFromProps(n,{},this);for(const f in m){const p=m[f];d[f]!==void 0&&H(p)&&p.set(d[f])}}mount(t){var n,s;if(this.hasBeenMounted)for(const i in this.initialValues)(n=this.values.get(i))==null||n.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=t,Ql.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((i,r)=>this.bindToMotionValue(r,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(No.current||tc(),this.shouldReduceMotion=hn.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(s=this.parent)==null||s.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),de(this.notifyUpdate),de(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const s=this.features[n];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,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&El.has(t)&&this.current instanceof HTMLElement){const{factory:o,keyframes:l,times:c,ease:d,duration:u}=n.accelerate,h=new oo({element:this.current,name:t,keyframes:l,times:c,ease:d,duration:G(u)}),m=o(h);this.valueSubscriptions.set(t,()=>{m(),h.cancel()});return}const s=Be.has(t);s&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&R.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;typeof window<"u"&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),r&&r(),n.owner&&n.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 gt){const n=gt[t];if(!n)continue;const{isEnabled:s,Feature:i}=n;if(!this.features[t]&&i&&s(this.props)&&(this.features[t]=new i(this)),this.features[t]){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):O()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;s<Ps.length;s++){const i=Ps[s];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const r="on"+i,o=t[r];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=Jl(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 n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const s=this.values.get(t);n!==s&&(s&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let s=this.values.get(t);return s===void 0&&n!==void 0&&(s=Ee(n===null?void 0:n,{owner:this}),this.addValue(t,s)),s}readValue(t,n){let s=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return s!=null&&(typeof s=="string"&&(Ti(s)||Ci(s))?s=parseFloat(s):!Zl(s)&&J.test(n)&&(s=yo(t,n)),this.setBaseTarget(t,H(s)?s.get():s)),H(s)?s.get():s}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var r;const{initial:n}=this.props;let s;if(typeof n=="string"||typeof n=="object"){const o=In(this.props,n,(r=this.presenceContext)==null?void 0:r.custom);o&&(s=o[t])}if(n&&s!==void 0)return s;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!H(i)?i:this.initialValues[t]!==void 0&&s===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new kn),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Fn.render(this.render)}}class So extends sc{constructor(){super(...arguments),this.KeyframeResolver=Pl}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const s=t.style;return s?s[n]:void 0}removeValueFromRenderState(t,{vars:n,style:s}){delete n[t],delete s[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;H(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class me{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Mo({top:e,left:t,right:n,bottom:s}){return{x:{min:t,max:n},y:{min:e,max:s}}}function ic({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function oc(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),s=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function Lt(e){return e===void 0||e===1}function mn({scale:e,scaleX:t,scaleY:n}){return!Lt(e)||!Lt(t)||!Lt(n)}function xe(e){return mn(e)||Po(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Po(e){return Es(e.x)||Es(e.y)}function Es(e){return e&&e!=="0%"}function yt(e,t,n){const s=e-n,i=t*s;return n+i}function Vs(e,t,n,s,i){return i!==void 0&&(e=yt(e,i,s)),yt(e,n,s)+t}function fn(e,t=0,n=1,s,i){e.min=Vs(e.min,t,n,s,i),e.max=Vs(e.max,t,n,s,i)}function Eo(e,{x:t,y:n}){fn(e.x,t.translate,t.scale,t.originPoint),fn(e.y,n.translate,n.scale,n.originPoint)}const Rs=.999999999999,Ds=1.0000000000001;function rc(e,t,n,s=!1){var l;const i=n.length;if(!i)return;t.x=t.y=1;let r,o;for(let c=0;c<i;c++){r=n[c],o=r.projectionDelta;const{visualElement:d}=r.options;d&&d.props.style&&d.props.style.display==="contents"||(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Se(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,Eo(e,o)),s&&xe(r.latestValues)&&Se(e,r.latestValues,(l=r.layout)==null?void 0:l.layoutBox))}t.x<Ds&&t.x>Rs&&(t.x=1),t.y<Ds&&t.y>Rs&&(t.y=1)}function Ce(e,t){e.min=e.min+t,e.max=e.max+t}function Bs(e,t,n,s,i=.5){const r=I(e.min,e.max,i);fn(e,t,n,r,s)}function Is(e,t){return typeof e=="string"?parseFloat(e)/100*(t.max-t.min):e}function Se(e,t,n){const s=n??e;Bs(e.x,Is(t.x,s.x),t.scaleX,t.scale,t.originX),Bs(e.y,Is(t.y,s.y),t.scaleY,t.scale,t.originY)}function Vo(e,t){return Mo(oc(e.getBoundingClientRect(),t))}function ac(e,t,n){const s=Vo(e,n),{scroll:i}=t;return i&&(Ce(s.x,i.offset.x),Ce(s.y,i.offset.y)),s}const lc={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},cc=De.length;function uc(e,t,n){let s="",i=!0;for(let r=0;r<cc;r++){const o=De[r],l=e[o];if(l===void 0)continue;let c=!0;if(typeof l=="number")c=l===(o.startsWith("scale")?1:0);else{const d=parseFloat(l);c=o.startsWith("scale")?d===1:d===0}if(!c||n){const d=wo(l,On[o]);if(!c){i=!1;const u=lc[o]||o;s+=`${u}(${d}) `}n&&(t[o]=d)}}return s=s.trim(),n?s=n(t,i?"":s):i&&(s="none"),s}function zn(e,t,n){const{style:s,vars:i,transformOrigin:r}=e;let o=!1,l=!1;for(const c in t){const d=t[c];if(Be.has(c)){o=!0;continue}else if($i(c)){i[c]=d;continue}else{const u=wo(d,On[c]);c.startsWith("origin")?(l=!0,r[c]=u):s[c]=u}}if(t.transform||(o||n?s.transform=uc(t,e.transform,n):s.transform&&(s.transform="none")),l){const{originX:c="50%",originY:d="50%",originZ:u=0}=r;s.transformOrigin=`${c} ${d} ${u}`}}function Ro(e,{style:t,vars:n},s,i){const r=e.style;let o;for(o in t)r[o]=t[o];i==null||i.applyProjectionStyles(r,s);for(o in n)r.setProperty(o,n[o])}function Ls(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Le={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(N.test(e))e=parseFloat(e);else return e;const n=Ls(e,t.target.x),s=Ls(e,t.target.y);return`${n}% ${s}%`}},dc={correct:(e,{treeScale:t,projectionDelta:n})=>{const s=e,i=J.parse(e);if(i.length>5)return s;const r=J.createTransformer(e),o=typeof i[0]!="number"?1:0,l=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=l,i[1+o]/=c;const d=I(l,c,.5);return typeof i[2+o]=="number"&&(i[2+o]/=d),typeof i[3+o]=="number"&&(i[3+o]/=d),r(i)}},pn={borderRadius:{...Le,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Le,borderTopRightRadius:Le,borderBottomLeftRadius:Le,borderBottomRightRadius:Le,boxShadow:dc};function Do(e,{layout:t,layoutId:n}){return Be.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!pn[e]||e==="opacity")}function _n(e,t,n){var o;const s=e.style,i=t==null?void 0:t.style,r={};if(!s)return r;for(const l in s)(H(s[l])||i&&H(i[l])||Do(l,e)||((o=n==null?void 0:n.getValue(l))==null?void 0:o.liveStyle)!==void 0)&&(r[l]=s[l]);return r}function hc(e){return window.getComputedStyle(e)}class mc extends So{constructor(){super(...arguments),this.type="html",this.renderInstance=Ro}readValueFromInstance(t,n){var s;if(Be.has(n))return(s=this.projection)!=null&&s.isProjecting?en(n):Va(t,n);{const i=hc(t),r=($i(n)?i.getPropertyValue(n):i[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Vo(t,n)}build(t,n,s){zn(t,n,s.transformTemplate)}scrapeMotionValuesFromProps(t,n,s){return _n(t,n,s)}}const fc={offset:"stroke-dashoffset",array:"stroke-dasharray"},pc={offset:"strokeDashoffset",array:"strokeDasharray"};function xc(e,t,n=1,s=0,i=!0){e.pathLength=1;const r=i?fc:pc;e[r.offset]=`${-s}`,e[r.array]=`${t} ${n}`}const gc=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Bo(e,{attrX:t,attrY:n,attrScale:s,pathLength:i,pathSpacing:r=1,pathOffset:o=0,...l},c,d,u){if(zn(e,l,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:h,style:m}=e;h.transform&&(m.transform=h.transform,delete h.transform),(m.transform||h.transformOrigin)&&(m.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),m.transform&&(m.transformBox=(u==null?void 0:u.transformBox)??"fill-box",delete h.transformBox);for(const f of gc)h[f]!==void 0&&(m[f]=h[f],delete h[f]);t!==void 0&&(h.x=t),n!==void 0&&(h.y=n),s!==void 0&&(h.scale=s),i!==void 0&&xc(h,i,r,o,!1)}const Io=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"]),Lo=e=>typeof e=="string"&&e.toLowerCase()==="svg";function yc(e,t,n,s){Ro(e,t,void 0,s);for(const i in t.attrs)e.setAttribute(Io.has(i)?i:Ln(i),t.attrs[i])}function Oo(e,t,n){const s=_n(e,t,n);for(const i in e)if(H(e[i])||H(t[i])){const r=De.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;s[r]=e[i]}return s}class vc extends So{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=O}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Be.has(n)){const s=go(n);return s&&s.default||0}return n=Io.has(n)?n:Ln(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,s){return Oo(t,n,s)}build(t,n,s){Bo(t,n,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(t,n,s,i){yc(t,n,s,i)}mount(t){this.isSVGTag=Lo(t.tagName),super.mount(t)}}const wc=Hn.length;function Fo(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Fo(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<wc;n++){const s=Hn[n],i=e.props[s];(_e(i)||i===!1)&&(t[s]=i)}return t}function Uo(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let s=0;s<n;s++)if(t[s]!==e[s])return!1;return!0}const bc=[...$n].reverse(),kc=$n.length;function jc(e){return t=>Promise.all(t.map(({animation:n,options:s})=>vl(e,n,s)))}function Ac(e){let t=jc(e),n=Os(),s=!0,i=!1;const r=d=>(u,h)=>{var f;const m=we(e,h,d==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);if(m){const{transition:p,transitionEnd:g,...x}=m;u={...u,...x,...g}}return u};function o(d){t=d(e)}function l(d){const{props:u}=e,h=Fo(e.parent)||{},m=[],f=new Set;let p={},g=1/0;for(let w=0;w<kc;w++){const j=bc[w],k=n[j],T=u[j]!==void 0?u[j]:h[j],b=_e(T),M=j===d?k.isActive:null;M===!1&&(g=w);let P=T===h[j]&&T!==u[j]&&b;if(P&&(s||i)&&e.manuallyAnimateOnMount&&(P=!1),k.protectedKeys={...p},!k.isActive&&M===null||!T&&!k.prevProp||jt(T)||typeof T=="boolean")continue;if(j==="exit"&&k.isActive&&M!==!0){k.prevResolvedValues&&(p={...p,...k.prevResolvedValues});continue}const C=Tc(k.prevProp,T);let V=C||j===d&&k.isActive&&!P&&b||w>g&&b,S=!1;const D=Array.isArray(T)?T:[T];let U=D.reduce(r(j),{});M===!1&&(U={});const{prevResolvedValues:oe={}}=k,ee={...oe,...U},re=W=>{V=!0,f.has(W)&&(S=!0,f.delete(W)),k.needsAnimating[W]=!0;const X=e.getValue(W);X&&(X.liveStyle=!1)};for(const W in ee){const X=U[W],fe=oe[W];if(p.hasOwnProperty(W))continue;let be=!1;an(X)&&an(fe)?be=!Uo(X,fe):be=X!==fe,be?X!=null?re(W):f.add(W):X!==void 0&&f.has(W)?re(W):k.protectedKeys[W]=!0}k.prevProp=T,k.prevResolvedValues=U,k.isActive&&(p={...p,...U}),(s||i)&&e.blockInitialAnimation&&(V=!1);const te=P&&C;V&&(!te||S)&&m.push(...D.map(W=>{const X={type:j};if(typeof W=="string"&&(s||i)&&!te&&e.manuallyAnimateOnMount&&e.parent){const{parent:fe}=e,be=we(fe,W);if(fe.enteringChildren&&be){const{delayChildren:Nr}=be.transition||{};X.delay=ao(fe.enteringChildren,e,Nr)}}return{animation:W,options:X}}
vendor: 4,274 bytes, line 1
1))}if(f.size){const w={};if(typeof u.initial!="boolean"){const j=we(e,Array.isArray(u.initial)?u.initial[0]:u.initial);j&&j.transition&&(w.transition=j.transition)}f.forEach(j=>{const k=e.getBaseTarget(j),T=e.getValue(j);T&&(T.liveStyle=!0),w[j]=k??null}),m.push({animation:w})}let x=!!m.length;return s&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(x=!1),s=!1,i=!1,x?t(m):Promise.resolve()}function c(d,u){var m;if(n[d].isActive===u)return Promise.resolve();(m=e.variantChildren)==null||m.forEach(f=>{var p;return(p=f.animationState)==null?void 0:p.setActive(d,u)}),n[d].isActive=u;const h=l(d);for(const f in n)n[f].protectedKeys={};return h}return{animateChanges:l,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Os(),i=!0}}}function Tc(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Uo(t,e):!1}function pe(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Os(){return{animate:pe(!0),whileInView:pe(),whileHover:pe(),whileTap:pe(),whileDrag:pe(),whileFocus:pe(),exit:pe()}}function xn(e,t){e.min=t.min,e.max=t.max}function Z(e,t){xn(e.x,t.x),xn(e.y,t.y)}function Fs(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const Wo=1e-4,Nc=1-Wo,Cc=1+Wo,$o=.01,Sc=0-$o,Mc=0+$o;function K(e){return e.max-e.min}function Pc(e,t,n){return Math.abs(e-t)<=n}function Us(e,t,n,s=.5){e.origin=s,e.originPoint=I(t.min,t.max,e.origin),e.scale=K(n)/K(t),e.translate=I(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Nc&&e.scale<=Cc||isNaN(e.scale))&&(e.scale=1),(e.translate>=Sc&&e.translate<=Mc||isNaN(e.translate))&&(e.translate=0)}function We(e,t,n,s){Us(e.x,t.x,n.x,s?s.originX:void 0),Us(e.y,t.y,n.y,s?s.originY:void 0)}function Ws(e,t,n){e.min=n.min+t.min,e.max=e.min+K(t)}function Ec(e,t,n){Ws(e.x,t.x,n.x),Ws(e.y,t.y,n.y)}function $s(e,t,n){e.min=t.min-n.min,e.max=e.min+K(t)}function vt(e,t,n){$s(e.x,t.x,n.x),$s(e.y,t.y,n.y)}function Hs(e,t,n,s,i){return e-=t,e=yt(e,1/n,s),i!==void 0&&(e=yt(e,1/i,s)),e}function Vc(e,t=0,n=1,s=.5,i,r=e,o=e){if(se.test(t)&&(t=parseFloat(t),t=I(o.min,o.max,t/100)-o.min),typeof t!="number")return;let l=I(r.min,r.max,s);e===r&&(l-=t),e.min=Hs(e.min,t,n,l,i),e.max=Hs(e.max,t,n,l,i)}function zs(e,t,[n,s,i],r,o){Vc(e,t[n],t[s],t[i],t.scale,r,o)}const Rc=["x","scaleX","originX"],Dc=["y","scaleY","originY"];function _s(e,t,n,s){zs(e.x,t,Rc,n?n.x:void 0,s?s.x:void 0),zs(e.y,t,Dc,n?n.y:void 0,s?s.y:void 0)}function Ks(e){return e.translate===0&&e.scale===1}function Ho(e){return Ks(e.x)&&Ks(e.y)}function Gs(e,t){return e.min===t.min&&e.max===t.max}function Bc(e,t){return Gs(e.x,t.x)&&Gs(e.y,t.y)}function Xs(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function zo(e,t){return Xs(e.x,t.x)&&Xs(e.y,t.y)}function Ys(e){return K(e.x)/K(e.y)}function qs(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function ne(e){return[e("x"),e("y")]}function Ic(e,t,n){let s="";const i=e.x.translate/t.x,r=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||r||o)&&(s=`translate3d(${i}px, ${r}px, ${o}px) `),(t.x!==1||t.y!==1)&&(s+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:d,rotate:u,rotateX:h,rotateY:m,skewX:f,skewY:p}=n;d&&(s=`perspective(${d}px) ${s}`),u&&(s+=`rotate(${u}deg) `),h&&(s+=`rotateX(${h}deg) `),m&&(s+=`rotateY(${m}deg) `),f&&(s+=`skewX(${f}deg) `),p&&(s+=`skewY(${p}deg) `)}const l=e.x.scale*t.x,c=e.y.scale*t.y;return(l!==1||c!==1)&&(s+=`scale(${l}, ${c})`),s||"none"}const _o=["TopLeft","TopRight","BottomLeft","BottomRight"],Lc=_o.length,Zs=e=>typeof e=="string"?parseFloat(e):e,Qs=e=>typeof e=="number"||N.test(e);function Oc(e,t,n,s,i,r){i?(e.opacity=I(0,n.opacity??1,Fc(s)),e.opacityExit=I(t.opacity??1,0,Uc(s))):r&&(e.opacity=I(t.opacity??1,n.opacity??1,s));for(let o=0;o<Lc;o++){const l=`border${_o[o]}Radius`;let c=Js(t,l),d=Js(n,l);if(c===void 0&&d===void 0)continue;c||(c=0),d||(d=0),c===0||d===0||Qs(c)===Qs(d)?(e[l]=Math.max(I(Zs(c),Zs(d),s),0),(se.test(d)||se.test(c))&&(e[l]+="%")):e[l]=d}(t.rotate||n.rotate)&&(e.rotate=I(t.rotate||0,n.rotate||0,s))}function Js(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const Fc=Ko(0,.5,Ii),Uc=Ko(.5,.95,q);function Ko(e,t,n){return s=>s<e?0:s>t?1:n(He(e,t,s))}
1function Wc(e,t,n){const s=H(e)?e:Ee(e);return s.start(Bn("",s,t,n)),s.animation}function Ke(e,t,n,s={passive:!0}){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n)}const $c=(e,t)=>e.depth-t.depth;class Hc{constructor(){this.children=[],this.isDirty=!1}add(t){bn(this.children,t),this.isDirty=!0}remove(t){mt(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort($c),this.isDirty=!1,this.children.forEach(t)}}function zc(e,t){const n=_.now(),s=({timestamp:i})=>{const r=i-n;r>=t&&(de(s),e(r-t))};return R.setup(s,!0),()=>de(s)}function dt(e){return H(e)?e.get():e}class _c{constructor(){this.members=[]}add(t){bn(this.members,t);for(let n=this.members.length-1;n>=0;n--){const s=this.members[n];if(s===t||s===this.lead||s===this.prevLead)continue;const i=s.instance;(!i||i.isConnected===!1)&&!s.snapshot&&(mt(this.members,s),s.unmount())}t.scheduleRender()}remove(t){if(mt(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){var n;for(let s=this.members.indexOf(t)-1;s>=0;s--){const i=this.members[s];if(i.isPresent!==!1&&((n=i.instance)==null?void 0:n.isConnected)!==!1)return this.promote(i),!0}return!1}promote(t,n){var i;const s=this.lead;if(t!==s&&(this.prevLead=s,this.lead=t,t.show(),s)){s.updateSnapshot(),t.scheduleRender();const{layoutDependency:r}=s.options,{layoutDependency:o}=t.options;(r===void 0||r!==o)&&(t.resumeFrom=s,n&&(s.preserveOpacity=!0),s.snapshot&&(t.snapshot=s.snapshot,t.snapshot.latestValues=s.animationValues||s.latestValues),(i=t.root)!=null&&i.isUpdating&&(t.isLayoutDirty=!0)),t.options.crossfade===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(t=>{var n,s,i,r,o;(s=(n=t.options).onExitComplete)==null||s.call(n),(o=(i=t.resumingFrom)==null?void 0:(r=i.options).onExitComplete)==null||o.call(r)})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){var t;(t=this.lead)!=null&&t.snapshot&&(this.lead.snapshot=void 0)}}const ht={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Ot=["","X","Y","Z"],Kc=1e3;let Gc=0;function Ft(e,t,n,s){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),s&&(s[e]=0))}function Go(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=mo(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",R,!(i||r))}const{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&Go(s)}function Xo({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(o={},l=t==null?void 0:t()){this.id=Gc++,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=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(qc),this.nodes.forEach(eu),this.nodes.forEach(tu),this.nodes.forEach(Zc)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,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 c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new Hc)}addEventListener(o,l){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new kn),this.eventHandlers.get(o).add(l)}notifyListeners(o,...l){const c=this.eventHandlers.get(o);c&&c.notify(...l)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=Wn(o)&&!Yl(o),this.instance=o;const{layoutId:l,layout:c,visualElement:d}=this.options;if(d&&!d.current&&d.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||l)&&(this.isLayoutDirty=!0),e){let u,h=0;const m=()=>this.root.updateBlockedByResize=!1;R.read(()=>{h=window.innerWidth}),e(o,()=>{const f=window.innerWidth;
vendor: 4,525 bytes, line 1
1f!==h&&(h=f,this.root.updateBlockedByResize=!0,u&&u(),u=zc(m,250),ht.hasAnimatedSinceResize&&(ht.hasAnimatedSinceResize=!1,this.nodes.forEach(ni)))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&d&&(l||c)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:h,hasRelativeLayoutChanged:m,layout:f})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const p=this.options.transition||d.getDefaultTransition()||ru,{onLayoutAnimationStart:g,onLayoutAnimationComplete:x}=d.getProps(),w=!this.targetLayout||!zo(this.targetLayout,f),j=!h&&m;if(this.options.layoutRoot||this.resumeFrom||j||h&&(w||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const k={...Dn(p,"layout"),onPlay:g,onComplete:x};(d.shouldReduceMotion||this.options.layoutRoot)&&(k.delay=0,k.type=!1),this.startAnimation(k),this.setAnimationOrigin(u,j)}else h||ni(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=f})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),de(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(nu),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Go(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const h=this.path[u];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:c}=this.options;if(l===void 0&&!c)return;const d=this.getTransformTemplate();this.prevTransformTemplateValue=d?d(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ei);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(ti);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Jc),this.nodes.forEach(Xc),this.nodes.forEach(Yc)):this.nodes.forEach(ti),this.clearAllSnapshots();const l=_.now();$.delta=ie(0,1e3/60,l-$.timestamp),$.timestamp=l,$.isProcessing=!0,Pt.update.process($),Pt.preRender.process($),Pt.render.process($),$.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Fn.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Qc),this.sharedNodes.forEach(su)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,R.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){R.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 c=0;c<this.path.length;c++)this.path[c].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=O(),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,o?o.layoutBox:void 0)}updateScroll(o="measure"){let l=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(l=!1),l&&this.instance){const c=s(this.instance);
1this.scroll={animationId:this.root.animationId,phase:o,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,l=this.projectionDelta&&!Ho(this.projectionDelta),c=this.getTransformTemplate(),d=c?c(this.latestValues,""):void 0,u=d!==this.prevTransformTemplateValue;o&&this.instance&&(l||xe(this.latestValues)||u)&&(i(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const l=this.measurePageBox();let c=this.removeElementScroll(l);return o&&(c=this.removeTransform(c)),au(c),{animationId:this.root.animationId,measuredBox:l,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){var d;const{visualElement:o}=this.options;if(!o)return O();const l=o.measureViewportBox();if(!(((d=this.scroll)==null?void 0:d.wasRoot)||this.path.some(lu))){const{scroll:u}=this.root;u&&(Ce(l.x,u.offset.x),Ce(l.y,u.offset.y))}return l}removeElementScroll(o){var c;const l=O();if(Z(l,o),(c=this.scroll)!=null&&c.wasRoot)return l;for(let d=0;d<this.path.length;d++){const u=this.path[d],{scroll:h,options:m}=u;u!==this.root&&h&&m.layoutScroll&&(h.wasRoot&&Z(l,o),Ce(l.x,h.offset.x),Ce(l.y,h.offset.y))}return l}applyTransform(o,l=!1){var d,u;const c=O();Z(c,o);for(let h=0;h<this.path.length;h++){const m=this.path[h];!l&&m.options.layoutScroll&&m.scroll&&m!==m.root&&Se(c,{x:-m.scroll.offset.x,y:-m.scroll.offset.y}),xe(m.latestValues)&&Se(c,m.latestValues,(d=m.layout)==null?void 0:d.layoutBox)}return xe(this.latestValues)&&Se(c,this.latestValues,(u=this.layout)==null?void 0:u.layoutBox),c}removeTransform(o){var c;const l=O();Z(l,o);for(let d=0;d<this.path.length;d++){const u=this.path[d];if(!xe(u.latestValues))continue;let h;u.instance&&(mn(u.latestValues)&&u.updateSnapshot(),h=O(),Z(h,u.measurePageBox())),_s(l,u.latestValues,(c=u.snapshot)==null?void 0:c.layoutBox,h)}return xe(this.latestValues)&&_s(l,this.latestValues),l}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.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!==$.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var f;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==l;if(!(o||c&&this.isSharedProjectionDirty||this.isProjectionDirty||(f=this.parent)!=null&&f.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:h}=this.options;if(!this.layout||!(u||h))return;this.resolvedRelativeTargetAt=$.timestamp;const m=this.getClosestProjectingParent();m&&this.linkedParentVersion!==m.layoutVersion&&!m.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(m&&m.layout?this.createRelativeTarget(m,this.layout.layoutBox,m.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=O(),this.targetWithTransforms=O()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Ec(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Z(this.target,this.layout.layoutBox),Eo(this.target,this.targetDelta)):Z(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,m&&!!m.resumingFrom==!!this.resumingFrom&&!m.options.layoutScroll&&m.target&&this.animationProgress!==1?this.createRelativeTarget(m,this.target,m.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||mn(this.parent.latestValues)||Po(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,l,c){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=O(
vendor: 4,522 bytes, line 1
1),this.relativeTargetOrigin=O(),vt(this.relativeTargetOrigin,l,c),Z(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var p;const o=this.getLead(),l=!!this.resumingFrom||this!==o;let c=!0;if((this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty)&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===$.timestamp&&(c=!1),c)return;const{layout:d,layoutId:u}=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||u))return;Z(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,m=this.treeScale.y;rc(this.layoutCorrected,this.treeScale,this.path,l),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=O());const{target:f}=o;if(!f){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Fs(this.prevProjectionDelta.x,this.projectionDelta.x),Fs(this.prevProjectionDelta.y,this.projectionDelta.y)),We(this.projectionDelta,this.layoutCorrected,f,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==m||!qs(this.projectionDelta.x,this.prevProjectionDelta.x)||!qs(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",f))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var l;if((l=this.options.visualElement)==null||l.scheduleRender(),o){const c=this.getStack();c&&c.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Ne(),this.projectionDelta=Ne(),this.projectionDeltaWithTransform=Ne()}setAnimationOrigin(o,l=!1){const c=this.snapshot,d=c?c.latestValues:{},u={...this.latestValues},h=Ne();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!l;const m=O(),f=c?c.source:void 0,p=this.layout?this.layout.source:void 0,g=f!==p,x=this.getStack(),w=!x||x.members.length<=1,j=!!(g&&!w&&this.options.crossfade===!0&&!this.path.some(ou));this.animationProgress=0;let k;this.mixTargetDelta=T=>{const b=T/1e3;si(h.x,o.x,b),si(h.y,o.y,b),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(vt(m,this.layout.layoutBox,this.relativeParent.layout.layoutBox),iu(this.relativeTarget,this.relativeTargetOrigin,m,b),k&&Bc(this.relativeTarget,k)&&(this.isProjectionDirty=!1),k||(k=O()),Z(k,this.relativeTarget)),g&&(this.animationValues=u,Oc(u,d,this.latestValues,b,j,w)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=b},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var l,c,d;this.notifyListeners("animationStart"),(l=this.currentAnimation)==null||l.stop(),(d=(c=this.resumingFrom)==null?void 0:c.currentAnimation)==null||d.stop(),this.pendingAnimation&&(de(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=R.update(()=>{ht.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Ee(0)),this.motionValue.jump(0,!1),this.currentAnimation=Wc(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:u=>{this.mixTargetDelta(u),o.onUpdate&&o.onUpdate(u)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.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 o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Kc),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:l,target:c,layout:d,latestValues:u}=o;if(!(!l||!c||!d)){if(this!==o&&this.layout&&d&&Yo(this.options.animationType,this.layout.layoutBox,d.layoutBox)){c=this.target||O();const h=K(this.layout.layoutBox.x);
1c.x.min=o.target.x.min,c.x.max=c.x.min+h;const m=K(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+m}Z(l,c),Se(l,u),We(this.projectionDeltaWithTransform,this.layoutCorrected,l,u)}}registerSharedNode(o,l){this.sharedNodes.has(o)||this.sharedNodes.set(o,new _c),this.sharedNodes.get(o).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 o=this.getStack();return o?o.lead===this:!0}getLead(){var l;const{layoutId:o}=this.options;return o?((l=this.getStack())==null?void 0:l.lead)||this:this}getPrevLead(){var l;const{layoutId:o}=this.options;return o?(l=this.getStack())==null?void 0:l.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:l,preserveFollowOpacity:c}={}){const d=this.getStack();d&&d.promote(this,c),o&&(this.projectionDelta=void 0,this.needsReset=!0),l&&this.setOptions({transition:l})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let l=!1;const{latestValues:c}=o;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(l=!0),!l)return;const d={};c.z&&Ft("z",o,d,this.animationValues);for(let u=0;u<Ot.length;u++)Ft(`rotate${Ot[u]}`,o,d,this.animationValues),Ft(`skew${Ot[u]}`,o,d,this.animationValues);o.render();for(const u in d)o.setStaticValue(u,d[u]),this.animationValues&&(this.animationValues[u]=d[u]);o.scheduleRender()}applyProjectionStyles(o,l){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=dt(l==null?void 0:l.pointerEvents)||"",o.transform=c?c(this.latestValues,""):"none";return}const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=dt(l==null?void 0:l.pointerEvents)||""),this.hasProjected&&!xe(this.latestValues)&&(o.transform=c?c({},""):"none",this.hasProjected=!1);return}o.visibility="";const u=d.animationValues||d.latestValues;this.applyTransformsToTarget();let h=Ic(this.projectionDeltaWithTransform,this.treeScale,u);c&&(h=c(u,h)),o.transform=h;const{x:m,y:f}=this.projectionDelta;o.transformOrigin=`${m.origin*100}% ${f.origin*100}% 0`,d.animationValues?o.opacity=d===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:o.opacity=d===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const p in pn){if(u[p]===void 0)continue;const{correct:g,applyTo:x,isCSSVariable:w}=pn[p],j=h==="none"?u[p]:g(u[p],d);if(x){const k=x.length;for(let T=0;T<k;T++)o[x[T]]=j}else w?this.options.visualElement.renderState.vars[p]=j:o[p]=j}this.options.layoutId&&(o.pointerEvents=d===this?dt(l==null?void 0:l.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var l;return(l=o.currentAnimation)==null?void 0:l.stop()}),this.root.nodes.forEach(ei),this.root.sharedNodes.clear()}}}function Xc(e){e.updateLayout()}function Yc(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:i}=e.layout,{animationType:r}=e.options,o=t.source!==e.layout.source;if(r==="size")ne(h=>{const m=o?t.measuredBox[h]:t.layoutBox[h],f=K(m);m.min=s[h].min,m.max=m.min+f});else if(r==="x"||r==="y"){const h=r==="x"?"y":"x";xn(o?t.measuredBox[h]:t.layoutBox[h],s[h])}else Yo(r,t.layoutBox,s)&&ne(h=>{const m=o?t.measuredBox[h]:t.layoutBox[h],f=K(s[h]);m.max=m.min+f,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[h].max=e.relativeTarget[h].min+f)});const l=Ne();We(l,s,t.layoutBox);const c=Ne();o?We(c,e.applyTransform(i,!0),t.measuredBox):We(c,s,t.layoutBox);const d=!Ho(l);let u=!1;if(!e.resumeFrom){const h=e.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:m,layout:f}=h;if(m&&f){const p=O();vt(p,t.layoutBox,m.layoutBox);
1const g=O();vt(g,s,f.layoutBox),zo(p,g)||(u=!0),h.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=p,e.relativeParent=h)}}}e.notifyListeners("didUpdate",{layout:s,snapshot:t,delta:c,layoutDelta:l,hasLayoutChanged:d,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:s}=e.options;s&&s()}e.options.transition=void 0}function qc(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 Zc(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Qc(e){e.clearSnapshot()}function ei(e){e.clearMeasurements()}function ti(e){e.isLayoutDirty=!1}function Jc(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ni(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function eu(e){e.resolveTargetDelta()}function tu(e){e.calcProjection()}function nu(e){e.resetSkewAndRotation()}function su(e){e.removeLeadSnapshot()}function si(e,t,n){e.translate=I(t.translate,0,n),e.scale=I(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ii(e,t,n,s){e.min=I(t.min,n.min,s),e.max=I(t.max,n.max,s)}function iu(e,t,n,s){ii(e.x,t.x,n.x,s),ii(e.y,t.y,n.y,s)}function ou(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const ru={duration:.45,ease:[.4,0,.1,1]},oi=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ri=oi("applewebkit/")&&!oi("chrome/")?Math.round:q;function ai(e){e.min=ri(e.min),e.max=ri(e.max)}function au(e){ai(e.x),ai(e.y)}function Yo(e,t,n){return e==="position"||e==="preserve-aspect"&&!Pc(Ys(t),Ys(n),.2)}function lu(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const cu=Xo({attachResizeListener:(e,t)=>Ke(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Ut={current:void 0},qo=Xo({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Ut.current){const e=new cu({});e.mount(window),e.setOptions({layoutScroll:!0}),Ut.current=e}return Ut.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Kn=y.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function li(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function uu(...e){return t=>{let n=!1;const s=e.map(i=>{const r=li(i,t);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let i=0;i<s.length;i++){const r=s[i];typeof r=="function"?r():li(e[i],null)}}}}function du(...e){return y.useCallback(uu(...e),e)}class hu extends y.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(at(n)&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const s=n.offsetParent,i=at(s)&&s.offsetWidth||0,r=at(s)&&s.offsetHeight||0,o=getComputedStyle(n),l=this.props.sizeRef.current;l.height=parseFloat(o.height),l.width=parseFloat(o.width),l.top=n.offsetTop,l.left=n.offsetLeft,l.right=i-l.width-l.left,l.bottom=r-l.height-l.top}return null}componentDidUpdate(){}render(){return this.props.children}}function mu({children:e,isPresent:t,anchorX:n,anchorY:s,root:i,pop:r}){var m;const o=y.useId(),l=y.useRef(null),c=y.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:d}=y.useContext(Kn),u=((m=e.props)==null?void 0:m.ref)??(e==null?void 0:e.ref),h=du(l,u);return y.useInsertionEffect(()=>{const{width:f,height:p,top:g,left:x,right:w,bottom:j}=c.current;if(t||r===!1||!l.current||!f||!p)return;const k=n==="left"?`left: ${x}`:`right: ${w}`,T=s==="bottom"?`bottom: ${j}`:`top: ${g}`;l.current.dataset.motionPopId=o;const b=document.createElement("style");d&&(b.nonce=d);const M=i??document.head;return M.appendChild(b),b.sheet&&b.sheet.insertRule(`
2          [data-motion-pop-id="${o}"] {
3            position: absolute !important;
4            width: ${f}px !important;
5            height: ${p}px !important;
6            ${k}px !important;
7            ${T}px !important;
8          }
9        `),()=>{var P;(P=l.current)==null||P.removeAttribute("data-motion-pop-id"),M.contains(b)&&M.removeChild(b)}},[t]),a.jsx(hu,{isPresent:t,childRef:l,sizeRef:c,pop:r,children:r===!1?e:y.cloneElement(e,{ref:h})})}const fu=({children:e,initial:t,isPresent:n,onExitComplete:s,custom:i,presenceAffectsLayout:r,mode:o,anchorX:l,anchorY:c,root:d})=>{const u=wn(pu),h=y.useId();let m=!0,f=y.useMemo(()=>(m=!1,{id:h,initial:t,isPresent:n,custom:i,onExitComplete:p=>{u.set(p,!0);for(const g of u.values())if(!g)return;s&&s()},register:p=>(u.set(p,!1),()=>u.delete(p))}),[n,u,s]);return r&&m&&(f={...f}),y.useMemo(()=>{u.forEach((p,g)=>u.set(g,!1))},[n]),y.useEffect(()=>{!n&&!u.size&&s&&s()},[n]),e=a.jsx(mu,{pop:o==="popLayout",isPresent:n,anchorX:l,anchorY:c,root:d,children:e}),a.jsx(bt.Provider,{value:f,children:e})};function pu(){return new Map}function Zo(e=!0){const t=y.useContext(bt);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:s,register:i}=t,r=y.useId();y.useEffect(()=>{if(e)return i(r)},[e]);const o=y.useCallback(()=>e&&s&&s(r),[r,s,e]);return!n&&s?[!1,o]:[!0]}const st=e=>e.key||"";function ci(e){const t=[];
vendor: 4,503 bytes, line 9
9return y.Children.forEach(e,n=>{y.isValidElement(n)&&t.push(n)}),t}const xu=({children:e,custom:t,initial:n=!0,onExitComplete:s,presenceAffectsLayout:i=!0,mode:r="sync",propagate:o=!1,anchorX:l="left",anchorY:c="top",root:d})=>{const[u,h]=Zo(o),m=y.useMemo(()=>ci(e),[e]),f=o&&!u?[]:m.map(st),p=y.useRef(!0),g=y.useRef(m),x=wn(()=>new Map),w=y.useRef(new Set),[j,k]=y.useState(m),[T,b]=y.useState(m);Ai(()=>{p.current=!1,g.current=m;for(let C=0;C<T.length;C++){const V=st(T[C]);f.includes(V)?(x.delete(V),w.current.delete(V)):x.get(V)!==!0&&x.set(V,!1)}},[T,f.length,f.join("-")]);const M=[];if(m!==j){let C=[...m];for(let V=0;V<T.length;V++){const S=T[V],D=st(S);f.includes(D)||(C.splice(V,0,S),M.push(S))}return r==="wait"&&M.length&&(C=M),b(ci(C)),k(m),null}const{forceRender:P}=y.useContext(vn);return a.jsx(a.Fragment,{children:T.map(C=>{const V=st(C),S=o&&!u?!1:m===T||f.includes(V),D=()=>{if(w.current.has(V))return;if(x.has(V))w.current.add(V),x.set(V,!0);else return;let U=!0;x.forEach(oe=>{oe||(U=!1)}),U&&(P==null||P(),b(g.current),o&&(h==null||h()),s&&s())};return a.jsx(fu,{isPresent:S,initial:!p.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:d,onExitComplete:S?void 0:D,anchorX:l,anchorY:c,children:C},V)})})},Qo=y.createContext({strict:!1}),ui={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 di=!1;function gu(){if(di)return;const e={};for(const t in ui)e[t]={isEnabled:n=>ui[t].some(s=>!!n[s])};Co(e),di=!0}function Jo(){return gu(),nc()}function yu(e){const t=Jo();for(const n in e)t[n]={...t[n],...e[n]};Co(t)}const vu=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 wt(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||vu.has(e)}let er=e=>!wt(e);function wu(e){typeof e=="function"&&(er=t=>t.startsWith("on")?!wt(t):e(t))}try{wu(require("@emotion/is-prop-valid").default)}catch{}function bu(e,t,n){const s={};for(const i in e)i==="values"&&typeof e.values=="object"||H(e[i])||(er(i)||n===!0&&wt(i)||!t&&!wt(i)||e.draggable&&i.startsWith("onDrag"))&&(s[i]=e[i]);return s}const Tt=y.createContext({});function ku(e,t){if(At(e)){const{initial:n,animate:s}=e;return{initial:n===!1||_e(n)?n:void 0,animate:_e(s)?s:void 0}}return e.inherit!==!1?t:{}}function ju(e){const{initial:t,animate:n}=ku(e,y.useContext(Tt));return y.useMemo(()=>({initial:t,animate:n}),[hi(t),hi(n)])}function hi(e){return Array.isArray(e)?e.join(" "):e}const Gn=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function tr(e,t,n){for(const s in t)!H(t[s])&&!Do(s,n)&&(e[s]=t[s])}function Au({transformTemplate:e},t){return y.useMemo(()=>{const n=Gn();return zn(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Tu(e,t){const n=e.style||{},s={};return tr(s,n,e),Object.assign(s,Au(e,t)),s}function Nu(e,t){const n={},s=Tu(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=s,n}const nr=()=>({...Gn(),attrs:{}});function Cu(e,t,n,s){const i=y.useMemo(()=>{const r=nr();return Bo(r,t,Lo(s),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};tr(r,e.style,e),i.style={...r,...i.style}}return i}const Su=["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 Xn(e){return typeof e!="string"||e.includes("-")?!1:!!(Su.indexOf(e)>-1||/[A-Z]/u.test(e))}function Mu(e,t,n,{latestValues:s}
vendor: 21,335 bytes, line 9
9,i,r=!1,o){const c=(o??Xn(e)?Cu:Nu)(t,s,i,e),d=bu(t,typeof e=="string",r),u=e!==y.Fragment?{...d,...c,ref:n}:{},{children:h}=t,m=y.useMemo(()=>H(h)?h.get():h,[h]);return y.createElement(e,{...u,children:m})}function Pu({scrapeMotionValuesFromProps:e,createRenderState:t},n,s,i){return{latestValues:Eu(n,s,i,e),renderState:t()}}function Eu(e,t,n,s){const i={},r=s(e,{});for(const m in r)i[m]=dt(r[m]);let{initial:o,animate:l}=e;const c=At(e),d=To(e);t&&d&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),l===void 0&&(l=t.animate));let u=n?n.initial===!1:!1;u=u||o===!1;const h=u?l:o;if(h&&typeof h!="boolean"&&!jt(h)){const m=Array.isArray(h)?h:[h];for(let f=0;f<m.length;f++){const p=In(e,m[f]);if(p){const{transitionEnd:g,transition:x,...w}=p;for(const j in w){let k=w[j];if(Array.isArray(k)){const T=u?k.length-1:0;k=k[T]}k!==null&&(i[j]=k)}for(const j in g)i[j]=g[j]}}}return i}const sr=e=>(t,n)=>{const s=y.useContext(Tt),i=y.useContext(bt),r=()=>Pu(e,t,s,i);return n?r():wn(r)},Vu=sr({scrapeMotionValuesFromProps:_n,createRenderState:Gn}),Ru=sr({scrapeMotionValuesFromProps:Oo,createRenderState:nr}),Du=Symbol.for("motionComponentSymbol");function Bu(e,t,n){const s=y.useRef(n);y.useInsertionEffect(()=>{s.current=n});const i=y.useRef(null);return y.useCallback(r=>{var l;r&&((l=e.onMount)==null||l.call(e,r));const o=s.current;if(typeof o=="function")if(r){const c=o(r);typeof c=="function"&&(i.current=c)}else i.current?(i.current(),i.current=null):o(r);else o&&(o.current=r);t&&(r?t.mount(r):t.unmount())},[t])}const ir=y.createContext({});function ke(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function Iu(e,t,n,s,i,r){var k,T;const{visualElement:o}=y.useContext(Tt),l=y.useContext(Qo),c=y.useContext(bt),d=y.useContext(Kn),u=d.reducedMotion,h=d.skipAnimations,m=y.useRef(null),f=y.useRef(!1);s=s||l.renderer,!m.current&&s&&(m.current=s(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:h,isSVG:r}),f.current&&m.current&&(m.current.manuallyAnimateOnMount=!0));const p=m.current,g=y.useContext(ir);p&&!p.projection&&i&&(p.type==="html"||p.type==="svg")&&Lu(m.current,n,i,g);const x=y.useRef(!1);y.useInsertionEffect(()=>{p&&x.current&&p.update(n,c)});const w=n[ho],j=y.useRef(!!w&&typeof window<"u"&&!((k=window.MotionHandoffIsComplete)!=null&&k.call(window,w))&&((T=window.MotionHasOptimisedAnimation)==null?void 0:T.call(window,w)));return Ai(()=>{f.current=!0,p&&(x.current=!0,window.MotionIsMounted=!0,p.updateFeatures(),p.scheduleRenderMicrotask(),j.current&&p.animationState&&p.animationState.animateChanges())}),y.useEffect(()=>{p&&(!j.current&&p.animationState&&p.animationState.animateChanges(),j.current&&(queueMicrotask(()=>{var b;(b=window.MotionHandoffMarkAsComplete)==null||b.call(window,w)}),j.current=!1),p.enteringChildren=void 0)}),p}function Lu(e,t,n,s){const{layoutId:i,layout:r,drag:o,dragConstraints:l,layoutScroll:c,layoutRoot:d,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:or(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!o||l&&ke(l),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:s,crossfade:u,layoutScroll:c,layoutRoot:d})}function or(e){if(e)return e.options.allowProjection!==!1?e.projection:or(e.parent)}function Wt(e,{forwardMotionProps:t=!1,type:n}={},s,i){s&&yu(s);const r=n?n==="svg":Xn(e),o=r?Ru:Vu;function l(d,u){let h;const m={...y.useContext(Kn),...d,layoutId:Ou(d)},{isStatic:f}=m,p=ju(d),g=o(d,f);if(!f&&typeof window<"u"){Fu();const x=Uu(m);h=x.MeasureLayout,p.visualElement=Iu(e,g,m,i,x.ProjectionNode,r)}return a.jsxs(Tt.Provider,{value:p,children:[h&&p.visualElement?a.jsx(h,{visualElement:p.visualElement,...m}):null,Mu(e,d,Bu(g,p.visualElement,u),g,f,t,r)]})}l.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const c=y.forwardRef(l);return c[Du]=e,c}function Ou({layoutId:e}){const t=y.useContext(vn).id;return t&&e!==void 0?t+"-"+e:e}function Fu(e,t){y.useContext(Qo).strict}function Uu(e){const t=Jo(),{drag:n,layout:s}=t;if(!n&&!s)return{};const i={...n,...s};return{MeasureLayout:n!=null&&n.isEnabled(e)||s!=null&&s.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function Wu(e,t){if(typeof Proxy>"u")return Wt;const n=new Map,s=(r,o)=>Wt(r,o,e,t),i=(r,o)=>s(r,o);return new Proxy(i,{get:(r,o)=>o==="create"?s:(n.has(o)||n.set(o,Wt(o,void 0,e,t)),n.get(o))})}const $u=(e,t)=>t.isSVG??Xn(e)?new vc(t):new mc(t,{allowProjection:e!==y.Fragment});class Hu extends me{constructor(t){super(t),t.animationState||(t.animationState=Ac(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();jt(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)==null||t.call(this)}}let zu=0;class _u extends me{constructor(){super(...arguments),this.id=zu++,this.isExitComplete=!1}update(){var r;if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;if(t&&s===!1){if(this.isExitComplete){const{initial:o,custom:l}=this.node.getProps();if(typeof o=="string"){const c=we(this.node,o,l);if(c){const{transition:d,transitionEnd:u,...h}=c;for(const m in h)(r=this.node.getValue(m))==null||r.jump(h[m])}}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);n&&!t&&i.then(()=>{this.isExitComplete=!0,n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const Ku={animation:{Feature:Hu},exit:{Feature:_u}};function qe(e){return{point:{x:e.pageX,y:e.pageY}}}const Gu=e=>t=>Un(t)&&e(t,qe(t));function $e(e,t,n,s){return Ke(e,t,Gu(n),s)}const rr=({current:e})=>e?e.ownerDocument.defaultView:null,mi=(e,t)=>Math.abs(e-t);function Xu(e,t){const n=mi(e.x,t.x),s=mi(e.y,t.y);return Math.sqrt(n**2+s**2)}const fi=new Set(["auto","scroll"]);class ar{constructor(t,n,{transformPagePoint:s,contextWindow:i=window,dragSnapToOrigin:r=!1,distanceThreshold:o=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=f=>{this.handleScroll(f.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=it(this.lastRawMoveEventInfo,this.transformPagePoint));const f=$t(this.lastMoveEventInfo,this.history),p=this.startEvent!==null,g=Xu(f.offset,{x:0,y:0})>=this.distanceThreshold;if(!p&&!g)return;const{point:x}=f,{timestamp:w}=$;this.history.push({...x,timestamp:w});const{onStart:j,onMove:k}=this.handlers;p||(j&&j(this.lastMoveEvent,f),this.startEvent=this.lastMoveEvent),k&&k(this.lastMoveEvent,f)},this.handlePointerMove=(f,p)=>{this.lastMoveEvent=f,this.lastRawMoveEventInfo=p,this.lastMoveEventInfo=it(p,this.transformPagePoint),R.update(this.updatePoint,!0)},this.handlePointerUp=(f,p)=>{this.end();const{onEnd:g,onSessionEnd:x,resumeAnimation:w}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&w&&w(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const j=$t(f.type==="pointercancel"?this.lastMoveEventInfo:it(p,this.transformPagePoint),this.history);this.startEvent&&g&&g(f,j),x&&x(f,j)},!Un(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=s,this.distanceThreshold=o,this.contextWindow=i||window;const c=qe(t),d=it(c,this.transformPagePoint),{point:u}=d,{timestamp:h}=$;this.history=[{...u,timestamp:h}];const{onSessionStart:m}=n;m&&m(t,$t(d,this.history)),this.removeListeners=Ge($e(this.contextWindow,"pointermove",this.handlePointerMove),$e(this.contextWindow,"pointerup",this.handlePointerUp),$e(this.contextWindow,"pointercancel",this.handlePointerUp)),l&&this.startScrollTracking(l)}startScrollTracking(t){let n=t.parentElement;for(;n;){const s=getComputedStyle(n);(fi.has(s.overflowX)||fi.has(s.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.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 n=this.scrollPositions.get(t);if(!n)return;const s=t===window,i=s?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:i.x-n.x,y:i.y-n.y};r.x===0&&r.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,i),R.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),de(this.updatePoint)}}function it(e,t){return t?{point:t(e.point)}:e}function pi(e,t){return{x:e.x-t.x,y:e.y-t.y}}function $t({point:e},t){return{point:e,delta:pi(e,lr(t)),offset:pi(e,Yu(t)),velocity:qu(t,.1)}}function Yu(e){return e[0]}function lr(e){return e[e.length-1]}function qu(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,s=null;const i=lr(e);for(;n>=0&&(s=e[n],!(i.timestamp-s.timestamp>G(t)));)n--;if(!s)return{x:0,y:0};s===e[0]&&e.length>2&&i.timestamp-s.timestamp>G(t)*2&&(s=e[1]);const r=Y(i.timestamp-s.timestamp);if(r===0)return{x:0,y:0};const o={x:(i.x-s.x)/r,y:(i.y-s.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Zu(e,{min:t,max:n},s){return t!==void 0&&e<t?e=s?I(t,e,s.min):Math.max(e,t):n!==void 0&&e>n&&(e=s?I(n,e,s.max):Math.min(e,n)),e}function xi(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Qu(e,{top:t,left:n,bottom:s,right:i}){return{x:xi(e.x,n,i),y:xi(e.y,t,s)}}function gi(e,t){let n=t.min-e.min,s=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,s]=[s,n]),{min:n,max:s}}function Ju(e,t){return{x:gi(e.x,t.x),y:gi(e.y,t.y)}}function ed(e,t){let n=.5;const s=K(e),i=K(t);return i>s?n=He(t.min,t.max-s,e.min):s>i&&(n=He(e.min,e.max-i,t.min)),ie(0,1,n)}function td(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const gn=.35;function nd(e=gn){return e===!1?e=0:e===!0&&(e=gn),{x:yi(e,"left","right"),y:yi(e,"top","bottom")}}function yi(e,t,n){return{min:vi(e,t),max:vi(e,n)}}function vi(e,t){return typeof e=="number"?e:e[t]||0}const sd=new WeakMap;class id{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=O(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:s}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=h=>{n&&this.snapToCursor(qe(h).point),this.stopAnimation()},o=(h,m)=>{const{drag:f,dragPropagation:p,onDragStart:g}=this.getProps();if(f&&!p&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Vl(f),!this.openDragLock))return;this.latestPointerEvent=h,this.latestPanInfo=m,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ne(w=>{let j=this.getAxisMotionValue(w).get()||0;if(se.test(j)){const{projection:k}=this.visualElement;if(k&&k.layout){const T=k.layout.layoutBox[w];T&&(j=K(T)*(parseFloat(j)/100))}}this.originPoint[w]=j}),g&&R.update(()=>g(h,m),!1,!0),ln(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},l=(h,m)=>{this.latestPointerEvent=h,this.latestPanInfo=m;const{dragPropagation:f,dragDirectionLock:p,onDirectionLock:g,onDrag:x}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:w}=m;if(p&&this.currentDirection===null){this.currentDirection=rd(w),this.currentDirection!==null&&g&&g(this.currentDirection);return}this.updateAxis("x",m.point,w),this.updateAxis("y",m.point,w),this.visualElement.render(),x&&R.update(()=>x(h,m),!1,!0)},c=(h,m)=>{this.latestPointerEvent=h,this.latestPanInfo=m,this.stop(h,m),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>{const{dragSnapToOrigin:h}=this.getProps();(h||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new ar(t,{onSessionStart:r,onStart:o,onMove:l,onSessionEnd:c,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:s,contextWindow:rr(this.visualElement),element:this.visualElement.current})}stop(t,n){const s=t||this.latestPointerEvent,i=n||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!s)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:l}=this.getProps();l&&R.postRender(()=>l(s,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,s){const{drag:i}=this.getProps();if(!s||!ot(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let o=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(o=Zu(o,this.constraints[t],this.elastic[t])),r.set(o)}resolveConstraints(){var r;const{dragConstraints:t,dragElastic:n}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(r=this.visualElement.projection)==null?void 0:r.layout,i=this.constraints;t&&ke(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&s?this.constraints=Qu(s.layoutBox,t):this.constraints=!1,this.elastic=nd(n),i!==this.constraints&&!ke(t)&&s&&this.constraints&&!this.hasMutatedConstraints&&ne(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=td(s.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ke(t))return!1;const s=t.current;Me(s!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=ac(s,i.root,this.visualElement.getTransformPagePoint());let o=Ju(i.layout.layoutBox,r);if(n){const l=n(ic(o));this.hasMutatedConstraints=!!l,l&&(o=Mo(l))}return o}startAnimation(t){const{drag:n,dragMomentum:s,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:l}=this.getProps(),c=this.constraints||{},d=ne(u=>{if(!ot(u,n,this.currentDirection))return;let h=c&&c[u]||{};(o===!0||o===u)&&(h={min:0,max:0});const m=i?200:1e6,f=i?40:1e7,p={type:"inertia",velocity:s?t[u]:0,bounceStiffness:m,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10,...r,...h};return this.startAxisValueAnimation(u,p)});return Promise.all(d).then(l)}startAxisValueAnimation(t,n){const s=this.getAxisMotionValue(t);return ln(this.visualElement,t),s.start(Bn(t,s,0,n,this.visualElement,!1))}stopAnimation(){ne(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,s=this.visualElement.getProps(),i=s[n];return i||this.visualElement.getValue(t,(s.initial?s.initial[t]:void 0)||0)}snapToCursor(t){ne(n=>{const{drag:s}=this.getProps();if(!ot(n,s,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:l}=i.layout.layoutBox[n],c=r.get()||0;r.set(t[n]-I(o,l,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!ke(n)||!s||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};ne(o=>{const l=this.getAxisMotionValue(o);if(l&&this.constraints!==!1){const c=l.get();i[o]=ed({min:c,max:c},this.constraints[o])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.constraints=!1,this.resolveConstraints(),ne(o=>{if(!ot(o,t,null))return;const l=this.getAxisMotionValue(o),{min:c,max:d}=this.constraints[o];l.set(I(c,d,i[o]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;sd.set(this.visualElement,this);const t=this.visualElement.current,n=$e(t,"pointerdown",d=>{const{drag:u,dragListener:h=!0}=this.getProps(),m=d.target,f=m!==t&&Ol(m);u&&h&&!f&&this.start(d)});let s;const i=()=>{const{dragConstraints:d}=this.getProps();ke(d)&&d.current&&(this.constraints=this.resolveRefConstraints(),s||(s=od(t,d.current,()=>this.scalePositionWithinConstraints())))},{projection:r}=this.visualElement,o=r.addEventListener("measure",i);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),R.read(i);const l=Ke(window,"resize",()=>this.scalePositionWithinConstraints()),c=r.addEventListener("didUpdate",({delta:d,hasLayoutChanged:u})=>{this.isDragging&&u&&(ne(h=>{const m=this.getAxisMotionValue(h);m&&(this.originPoint[h]+=d[h].translate,m.set(m.get()+d[h].translate))}),this.visualElement.render())});return()=>{l(),n(),o(),c&&c(),s&&s()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=gn,dragMomentum:l=!0}=t;return{...t,drag:n,dragDirectionLock:s,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:l}}}function wi(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function od(e,t,n){const s=Cs(e,wi(n)),i=Cs(t,wi(n));return()=>{s(),i()}}function ot(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function rd(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class ad extends me{constructor(t){super(t),this.removeGroupControls=q,this.removeListeners=q,this.controls=new id(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||q}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Ht=e=>(t,n)=>{e&&R.update(()=>e(t,n),!1,!0)};class ld extends me{constructor(){super(...arguments),this.removePointerDownListener=q}onPointerDown(t){this.session=new ar(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rr(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:s,onPanEnd:i}=this.node.getProps();return{onSessionStart:Ht(t),onStart:Ht(n),onMove:Ht(s),onEnd:(r,o)=>{delete this.session,i&&R.postRender(()=>i(r,o))}}}mount(){this.removePointerDownListener=$e(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 zt=!1;class cd extends y.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:s,layoutId:i}=this.props,{projection:r}=t;r&&(n.group&&n.group.add(r),s&&s.register&&i&&s.register(r),zt&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ht.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:s,drag:i,isPresent:r}=this.props,{projection:o}=s;return o&&(o.isPresent=r,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),zt=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?o.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?o.promote():o.relegate()||R.postRender(()=>{const l=o.getStack();(!l||!l.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Fn.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:i}=t;zt=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),s&&s.deregister&&s.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}
vendor: 8,128 bytes, lines 9-73
9function cr(e){const[t,n]=Zo(),s=y.useContext(vn);return a.jsx(cd,{...e,layoutGroup:s,switchLayoutGroup:y.useContext(ir),isPresent:t,safeToRemove:n})}const ud={pan:{Feature:ld},drag:{Feature:ad,ProjectionNode:qo,MeasureLayout:cr}};function bi(e,t,n){const{props:s}=e;e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=s[i];r&&R.postRender(()=>r(t,qe(t)))}class dd extends me{mount(){const{current:t}=this.node;t&&(this.unmount=Dl(t,(n,s)=>(bi(this.node,s,"Start"),i=>bi(this.node,i,"End"))))}unmount(){}}class hd extends me{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=Ge(Ke(this.node.current,"focus",()=>this.onFocus()),Ke(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function ki(e,t,n){const{props:s}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&s.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=s[i];r&&R.postRender(()=>r(t,qe(t)))}class md extends me{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:n,propagate:s}=this.node.props;this.unmount=Ul(t,(i,r)=>(ki(this.node,r,"Start"),(o,{success:l})=>ki(this.node,o,l?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(s==null?void 0:s.tap)===!1})}unmount(){}}const yn=new WeakMap,_t=new WeakMap,fd=e=>{const t=yn.get(e.target);t&&t(e)},pd=e=>{e.forEach(fd)};function xd({root:e,...t}){const n=e||document;_t.has(n)||_t.set(n,{});const s=_t.get(n),i=JSON.stringify(t);return s[i]||(s[i]=new IntersectionObserver(pd,{root:e,...t})),s[i]}function gd(e,t,n){const s=xd(t);return yn.set(e,n),s.observe(e),()=>{yn.delete(e),s.unobserve(e)}}const yd={some:0,all:1};class vd extends me{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:s,amount:i="some",once:r}=t,o={root:n?n.current:void 0,rootMargin:s,threshold:typeof i=="number"?i:yd[i]},l=c=>{const{isIntersecting:d}=c;if(this.isInView===d||(this.isInView=d,r&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:u,onViewportLeave:h}=this.node.getProps(),m=d?u:h;m&&m(c)};return gd(this.node.current,o,l)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(wd(t,n))&&this.startObserver()}unmount(){}}function wd({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const bd={inView:{Feature:vd},tap:{Feature:md},focus:{Feature:hd},hover:{Feature:dd}},kd={layout:{ProjectionNode:qo,MeasureLayout:cr}},jd={...Ku,...bd,...ud,...kd},v=Wu(jd,$u);/**
10 * @license lucide-react v0.462.0 - ISC
11 *
12 * This source code is licensed under the ISC license.
13 * See the LICENSE file in the root directory of this source tree.
14 */const Ad=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ur=(...e)=>e.filter((t,n,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===n).join(" ").trim();/**
15 * @license lucide-react v0.462.0 - ISC
16 *
17 * This source code is licensed under the ISC license.
18 * See the LICENSE file in the root directory of this source tree.
19 */var Td={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"};/**
20 * @license lucide-react v0.462.0 - ISC
21 *
22 * This source code is licensed under the ISC license.
23 * See the LICENSE file in the root directory of this source tree.
24 */const Nd=y.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:s,className:i="",children:r,iconNode:o,...l},c)=>y.createElement("svg",{ref:c,...Td,width:t,height:t,stroke:e,strokeWidth:s?Number(n)*24/Number(t):n,className:ur("lucide",i),...l},[...o.map(([d,u])=>y.createElement(d,u)),...Array.isArray(r)?r:[r]]));/**
25 * @license lucide-react v0.462.0 - ISC
26 *
27 * This source code is licensed under the ISC license.
28 * See the LICENSE file in the root directory of this source tree.
29 */const E=(e,t)=>{const n=y.forwardRef(({className:s,...i},r)=>y.createElement(Nd,{ref:r,iconNode:t,className:ur(`lucide-${Ad(e)}`,s),...i}));return n.displayName=`${e}`,n};/**
30 * @license lucide-react v0.462.0 - ISC
31 *
32 * This source code is licensed under the ISC license.
33 * See the LICENSE file in the root directory of this source tree.
34 */const dr=E("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
35 * @license lucide-react v0.462.0 - ISC
36 *
37 * This source code is licensed under the ISC license.
38 * See the LICENSE file in the root directory of this source tree.
39 */const Cd=E("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
40 * @license lucide-react v0.462.0 - ISC
41 *
42 * This source code is licensed under the ISC license.
43 * See the LICENSE file in the root directory of this source tree.
44 */const Sd=E("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);/**
45 * @license lucide-react v0.462.0 - ISC
46 *
47 * This source code is licensed under the ISC license.
48 * See the LICENSE file in the root directory of this source tree.
49 */const Md=E("Calculator",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",key:"1nb95v"}],["line",{x1:"8",x2:"16",y1:"6",y2:"6",key:"x4nwl0"}],["line",{x1:"16",x2:"16",y1:"14",y2:"18",key:"wjye3r"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M8 18h.01",key:"lrp35t"}]]);/**
50 * @license lucide-react v0.462.0 - ISC
51 *
52 * This source code is licensed under the ISC license.
53 * See the LICENSE file in the root directory of this source tree.
54 */const hr=E("CalendarCheck",[["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"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]]);/**
55 * @license lucide-react v0.462.0 - ISC
56 *
57 * This source code is licensed under the ISC license.
58 * See the LICENSE file in the root directory of this source tree.
59 */const Nt=E("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
60 * @license lucide-react v0.462.0 - ISC
61 *
62 * This source code is licensed under the ISC license.
63 * See the LICENSE file in the root directory of this source tree.
64 */const Pd=E("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
65 * @license lucide-react v0.462.0 - ISC
66 *
67 * This source code is licensed under the ISC license.
68 * See the LICENSE file in the root directory of this source tree.
69 */const Ed=E("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
70 * @license lucide-react v0.462.0 - ISC
71 *
72 * This source code is licensed under the ISC license.
73 * See the LICENSE file in the root directory of this source tree.
74 */const Ct=E("ClipboardCheck",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"m9 14 2 2 4-4",key:"df797q"}]]);/**
75 * @license lucide-react v0.462.0 - ISC
76 *
77 * This source code is licensed under the ISC license.
78 * See the LICENSE file in the root directory of this source tree.
79 */const Ze=E("Clock3",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16.5 12",key:"1aq6pp"}]]);/**
80 * @license lucide-react v0.462.0 - ISC
81 *
82 * This source code is licensed under the ISC license.
83 * See the LICENSE file in the root directory of this source tree.
84 */const Vd=E("Cloud",[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]]);/**
85 * @license lucide-react v0.462.0 - ISC
86 *
87 * This source code is licensed under the ISC license.
88 * See the LICENSE file in the root directory of this source tree.
89 */const Rd=E("Coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]]);/**
90 * @license lucide-react v0.462.0 - ISC
91 *
92 * This source code is licensed under the ISC license.
93 * See the LICENSE file in the root directory of this source tree.
94 */const Yn=E("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}
94],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
95 * @license lucide-react v0.462.0 - ISC
96 *
97 * This source code is licensed under the ISC license.
98 * See the LICENSE file in the root directory of this source tree.
99 */const Ve=E("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/**
100 * @license lucide-react v0.462.0 - ISC
101 *
102 * This source code is licensed under the ISC license.
103 * See the LICENSE file in the root directory of this source tree.
104 */const Dd=E("FileWarning",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
105 * @license lucide-react v0.462.0 - ISC
106 *
107 * This source code is licensed under the ISC license.
108 * See the LICENSE file in the root directory of this source tree.
109 */const mr=E("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
110 * @license lucide-react v0.462.0 - ISC
111 *
112 * This source code is licensed under the ISC license.
113 * See the LICENSE file in the root directory of this source tree.
114 */const fr=E("Headphones",[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]]);/**
115 * @license lucide-react v0.462.0 - ISC
116 *
117 * This source code is licensed under the ISC license.
118 * See the LICENSE file in the root directory of this source tree.
119 */const pr=E("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
120 * @license lucide-react v0.462.0 - ISC
121 *
122 * This source code is licensed under the ISC license.
123 * See the LICENSE file in the root directory of this source tree.
124 */const Bd=E("Laptop",[["path",{d:"M20 16V7a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v9m16 0H4m16 0 1.28 2.55a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45L4 16",key:"tarvll"}]]);/**
125 * @license lucide-react v0.462.0 - ISC
126 *
127 * This source code is licensed under the ISC license.
128 * See the LICENSE file in the root directory of this source tree.
129 */const St=E("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/**
130 * @license lucide-react v0.462.0 - ISC
131 *
132 * This source code is licensed under the ISC license.
133 * See the LICENSE file in the root directory of this source tree.
134 */const qn=E("LifeBuoy",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]]);/**
135 * @license lucide-react v0.462.0 - ISC
136 *
137 * This source code is licensed under the ISC license.
138 * See the LICENSE file in the root directory of this source tree.
139 */const xr=E("LockKeyhole",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]]);/**
140 * @license lucide-react v0.462.0 - ISC
141 *
142 * This source code is licensed under the ISC license.
143 * See the LICENSE file in the root directory of this source tree.
144 */const Id=E("Maximize",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v3",key:"1dcmit"}],["path",{d:"M21 8V5a2 2 0 0 0-2-2h-3",key:"1e4gt3"}],["path",{d:"M3 16v3a2 2 0 0 0 2 2h3",key:"wsl5sc"}],["path",{d:"M16 21h3a2 2 0 0 0 2-2v-3",key:"18trek"}]]);/**
145 * @license lucide-react v0.462.0 - ISC
146 *
147 * This source code is licensed under the ISC license.
148 * See the LICENSE file in the root directory of this source tree.
149 */const Ld=E("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]]);/**
150 * @license lucide-react v0.462.0 - ISC
151 *
152 * This source code is licensed under the ISC license.
153 * See the LICENSE file in the root directory of this source tree.
154 */const Od=E("Minimize",[["path",{d:"M8 3v3a2 2 0 0 1-2 2H3",key:"hohbtr"}],["path",{d:"M21 8h-3a2 2 0 0 1-2-2V3",key:"5jw1f3"}],["path",{d:"M3 16h3a2 2 0 0 1 2 2v3",key:"198tvr"}],["path",{d:"M16 21v-3a2 2 0 0 1 2-2h3",key:"ph8mxp"}]]);/**
155 * @license lucide-react v0.462.0 - ISC
156 *
157 * This source code is licensed under the ISC license.
158 * See the LICENSE file in the root directory of this source tree.
159 */const Zn=E("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
160 * @license lucide-react v0.462.0 - ISC
161 *
162 * This source code is licensed under the ISC license.
163 * See the LICENSE file in the root directory of this source tree.
164 */const Fd=E("MousePointerClick",[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.
164074z",key:"s0h3yz"}]]);/**
165 * @license lucide-react v0.462.0 - ISC
166 *
167 * This source code is licensed under the ISC license.
168 * See the LICENSE file in the root directory of this source tree.
169 */const Ud=E("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
170 * @license lucide-react v0.462.0 - ISC
171 *
172 * This source code is licensed under the ISC license.
173 * See the LICENSE file in the root directory of this source tree.
174 */const gr=E("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
175 * @license lucide-react v0.462.0 - ISC
176 *
177 * This source code is licensed under the ISC license.
178 * See the LICENSE file in the root directory of this source tree.
179 */const Wd=E("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
180 * @license lucide-react v0.462.0 - ISC
181 *
182 * This source code is licensed under the ISC license.
183 * See the LICENSE file in the root directory of this source tree.
184 */const $d=E("Plug",[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]]);/**
185 * @license lucide-react v0.462.0 - ISC
186 *
187 * This source code is licensed under the ISC license.
188 * See the LICENSE file in the root directory of this source tree.
189 */const yr=E("ShieldCheck",[["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",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
190 * @license lucide-react v0.462.0 - ISC
191 *
192 * This source code is licensed under the ISC license.
193 * See the LICENSE file in the root directory of this source tree.
194 */const Qe=E("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
195 * @license lucide-react v0.462.0 - ISC
196 *
197 * This source code is licensed under the ISC license.
198 * See the LICENSE file in the root directory of this source tree.
199 */const Hd=E("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
200 * @license lucide-react v0.462.0 - ISC
201 *
202 * This source code is licensed under the ISC license.
203 * See the LICENSE file in the root directory of this source tree.
204 */const Qn=E("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);/**
205 * @license lucide-react v0.462.0 - ISC
206 *
207 * This source code is licensed under the ISC license.
208 * See the LICENSE file in the root directory of this source tree.
209 */const zd=E("UserMinus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);/**
210 * @license lucide-react v0.462.0 - ISC
211 *
212 * This source code is licensed under the ISC license.
213 * See the LICENSE file in the root directory of this source tree.
214 */const _d=E("UserRound",[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]]);/**
215 * @license lucide-react v0.462.0 - ISC
216 *
217 * This source code is licensed under the ISC license.
218 * See the LICENSE file in the root directory of this source tree.
219 */const Kd=E("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
220 * @license lucide-react v0.462.0 - ISC
221 *
222 * This source code is licensed under the ISC license.
223 * See the LICENSE file in the root directory of this source tree.
224 */const Jn=E("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]);/**
225 * @license lucide-react v0.462.0 - ISC
226 *
227 * This source code is licensed under the ISC license.
228 * See the LICENSE file in the root directory of this source tree.
229 */const Je=E("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Mt="/assets/neurabox-marketing-CZPQGFVC.webp",es="/assets/neurabox-accounting-BybILKh2.webp",ts="/assets/neurabox-operations-C-cSjhrx.webp",he="/assets/neuratic-device-BNW5uMKy.webp",ns="/assets/neurabox-custom-BI0JrCh7.webp",vr="/assets/hitl-expert-1-CHNR0A0j.jpg",wr="/assets/hitl-expert-2-BgcowDPO.jpg",br="/assets/hitl-expert-3-BUPO3B-i.jpg",kr="/assets/hitl-expert-4-D_8IGRos.jpg",jr="/assets/neurabox-human-working-BOdGeifj.webp",Ar="/assets/neuratic-logo-mark-DUyXIn1y.png",Gd=/(NEURA\s?BOX(?:ES)?|NEURA\s?VOICE|NEURA\s?ASSIST|NEURA\s?CARE|NEURA\s?CUSTOM|NEURA\s?MANAGED|NEURA\s?CLOUD)/gi,Xd=/^(NEURA\s?BOX(?:ES)?|NEURA\s?VOICE|NEURA\s?ASSIST|NEURA\s?CARE|NEURA\s?CUSTOM|NEURA\s?MANAGED|NEURA\s?CLOUD)$/i,Yd=["BOXES","BOX","VOICE","ASSIST","CARE","CUSTOM","MANAGED","CLOUD"],F=({children:e="NEURABOX"})=>{const t=e.replace(/\s+/g,"").toUpperCase(),n=Yd.find(s=>t===`NEURA${s}`);return n?a.jsxs("span",{className:"neura-wordmark","aria-label":`Neura ${n.toLowerCase()}`,children:[a.jsx("span",{className:"neura-wordmark-prefix",children:"NEURA"}),a.jsx("span",{className:"neura-wordmark-suffix",children:n})]}):a.jsx("span",{children:e})},je=({children:e=""})=>{const t=e.split(Gd);return a.jsx(a.Fragment,{children:t.map((n,s)=>Xd.test(n)?a.jsx(F,{children:n},s):a.jsx(y.Fragment,{children:n},s))})},qd="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAYwAAAGMAQMAAADz9wcJAAAABlBMVEUAAAD///+l2Z/dAAAAAnRSTlP//8i138cAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAGkSURBVHic7dhBkoQwCIVhbuD9b+kNMqPAC7E3HXqmqhc/ZVka+VxRELWxHQaBQCDfRkxx3Ev3eZzX7e/aSwIEsk+OLLjjyoyb80rx2yUBAmkRLzk/Qu
229U51jMBAvmQPOvQIJB/I3W8QiAfkyjCI0vxHqxrphIgkH2i8C73epQECKRBaph3v3X/9kiBQHZJFOQsvJyq3gC1eEAgTTLqn40crDPHb+fnAwSyT1SH2sLVPdu5bOcgkAbxfJWl2mAk6w3xRxcC2SYj92zKV/IkWZwQSINYhq6H159K9GW8QiBbRLdWh6w+Qs9ZqxBIk+R6XKjjZVmOkf1wQCAdMjtbaXriDp/jFQLZIVFvZ0nL7jdyyEYDhEBaJK5zjHoMhQpyrWQI5H2ylKLNDZsy5zEgkA7RuuVUjVotH6f+QgikR2oEL9eWozYhBLJNTHHMUevrI3duuoZAOiTbWs2/4pxPbW7qIJAOWWpSL8ni9KcQyJ8Q38hZ+VVrOWQTQiAfEaXNyixfEBBIm0RTk33EMnYhkH1SH90R79F4VVc8IJAO2QwIBAL5KvIDAt+PRDt0R9kAAAAASUVORK5CYII=",Tr="https://calendly.com/raghu-neuratic/30min",Zd=()=>a.jsxs(a.Fragment,{children:[a.jsx("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(ellipse_70%_55%_at_50%_-10%,hsl(var(--glow-primary)/0.22),transparent_70%)]"}),a.jsx("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(ellipse_50%_45%_at_85%_110%,hsl(var(--claw-blue)/0.18),transparent_70%)]"}),a.jsx("div",{className:"pointer-events-none absolute inset-0 opacity-[0.18]",style:{backgroundImage:"linear-gradient(hsl(var(--expo-text)/0.06) 1px,transparent 1px),linear-gradient(90deg,hsl(var(--expo-text)/0.06) 1px,transparent 1px)",backgroundSize:"6vmin 6vmin"}})]}),z=({children:e,kicker:t})=>a.jsxs("div",{className:"relative flex h-full w-full flex-col items-center justify-center overflow-hidden px-[6vmin] py-[8vmin] text-expo-text",children:[a.jsx(Zd,{}),t&&a.jsx(v.div,{initial:{opacity:0,y:-12},animate:{opacity:1,y:0},transition:{duration:.5},className:"expo-kicker absolute left-0 right-0 top-[2.4vmin] mx-auto flex w-fit max-w-[94%] items-center rounded-full border border-glow-primary/45 bg-expo-surface/85 px-[3vmin] py-[1.3vmin] text-center font-semibold text-glow-primary shadow-[0_0_30px_hsl(var(--glow-primary)/0.2)] md:top-[3.4vmin]",children:t}),a.jsx("div",{className:"relative z-10 flex w-full max-w-[1400px] flex-1 items-center justify-center",children:e})]}),A=(e=0)=>({initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.6,delay:e,ease:[.22,1,.36,1]}}),ss=({text:e,delay:t})=>a.jsxs(v.li,{...A(t),className:"expo-body flex items-start gap-[1.4vmin] text-expo-muted",children:[a.jsx("span",{className:"mt-[0.35em] flex h-[2vmin] w-[2vmin] min-h-[14px] min-w-[14px] shrink-0 items-center justify-center rounded-full bg-glow-primary/20",children:a.jsx(Nt,{className:"h-[60%] w-[60%] text-glow-primary"})}),a.jsx("span",{children:e})]}),is=({src:e,alt:t,badge:n=!0,big:s=!0})=>a.jsxs(v.div,{initial:{opacity:0,scale:.88},animate:{opacity:1,scale:1},transition:{duration:.7,ease:[.22,1,.36,1]},className:"relative flex w-full flex-col items-center justify-center gap-[2.6vmin]",children:[a.jsx("div",{className:"absolute h-[62%] w-[62%] rounded-full bg-[radial-gradient(circle,hsl(var(--glow-primary)/0.25),transparent_70%)]"}),a.jsx("img",{src:e,alt:t,loading:"eager",decoding:"async",className:`relative w-[75%] max-w-[240px] object-contain md:w-auto md:max-w-none ${s?"md:h-[32vmin]":"md:h-[25vmin]"}`,style:{animation:"expoFloat 6s ease-in-out infinite",willChange:"transform"}}),n&&a.jsxs("div",{className:"expo-small relative z-10 flex items-center gap-[1vmin] rounded-full border border-glow-primary/40 bg-expo-bg/80 px-[2vmin] py-[0.9vmin]",children:[a.jsx(Qe,{className:"h-[1.6vmin] w-[1.6vmin] min-h-[11px] min-w-[11px] text-glow-primary"}),a.jsx("span",{className:"font-bold uppercase tracking-[0.2em] text-glow-primary",children:"Powered by Anthropic"})]})]}),Qd=()=>a.jsxs("svg",{viewBox:"0 0 30 20",className:"h-[1.8vmin] w-auto min-h-[12px] rounded-[2px]","aria-hidden":"true",children:[a.jsx("rect",{width:"30",height:"20",fill:"#B22234"}),[1,3,5,7,9,11].map(e=>a.jsx("rect",{y:e*20/13,width:"30",height:20/13,fill:"#fff"},e)),a.jsx("rect",{width:"12.5",height:20/13*7,fill:"#3C3B6E"}),a.jsx("circle",{cx:"3",cy:"3",r:"0.7",fill:"#fff"}),a.jsx("circle",{cx:"7",cy:"3",r:"0.7",fill:"#fff"}),a.jsx("circle",{cx:"11",cy:"3",r:"0.7",fill:"#fff"}),a.jsx("circle",{cx:"5",cy:"5.4",r:"0.7",fill:"#fff"}),a.jsx("circle",{cx:"9",cy:"5.4",r:"0.7",fill:"#fff"})]}),Jd=()=>a.jsxs("svg",{viewBox:"0 0 30 20",className:"h-[1.8vmin] w-auto min-h-[12px] rounded-[2px]","aria-hidden":"true",children:[a.jsx("rect",{width:"30",height:"6.67",fill:"#FF9933"}),a.jsx("rect",{y:"6.67",width:"30",height:"6.67",fill:"#fff"}),a.jsx("rect",{y:"13.33",width:"30",height:"6.67",fill:"#138808"}),a.jsx("circle",{cx:"15",cy:"10",r:"2.3",fill:"none",stroke:"#000080",strokeWidth:"0.7"}),a.jsx("circle",{cx:"15",cy:"10",r:"0.5",fill:"#000080"})]}),eh=()=>a.jsx(z,{children:a.jsxs("div",{className:"flex flex-col items-center text-center",children:[a.jsx(v.img,{...A(0),src:Ar,alt:"Neuratic logo",className:"mb-[2.4vmin] h-[13vmin] min-h-[64px] w-auto object-contain",style:{animation:"expoFloat 6s ease-in-out infinite",willChange:"transform"}}),a.jsx(v.div,{...A(0),className:"expo-kicker mb-[3vmin] rounded-full border border-expo-border bg-expo-surface/70 px-[2.6vmin] py-[1.1vmin] font-semibold text-expo-muted",children:"Welcome to Neuratic"}),a.jsxs(v.h1,{...A(.1),className:"expo-title font-bold",children:[a.jsx("span",{className:"neura-wordmark text-[1.28em]",children:a.jsx("span",{className:"text-glow-primary",children:"NEURATIC"})}),a.jsx("br",{}),"Custom AI. Human Oversight."]}),a.jsx(v.p,{...A(.25),className:"expo-lead mt-[3.5vmin] max-w-[70ch] text-expo-muted",children:"The power of frontier AI, with real subject matter experts checking the work. Practical AI your business can actually put to use — on day one."}),a.jsx(v.div,{...A(.4),className:"mt-[5vmin] flex flex-wrap items-center justify-center gap-[1.8vmin]",children:[{t:"Built for your business",c:"text-glow-primary"},{t:"Runs on your own machine",c:"text-claw-blue"},{t:"Reviewed by real experts",c:"text-glow-primary"}].map(({t:e,c:t})=>a.jsx("span",{className:`expo-lead rounded-full border border-expo-border bg-expo-surface/70 px-[3vmin] py-[1.5vmin] font-semibold ${t}`,children:e},e))})]})}),Kt=[{label:"NEURAVOICE",note:"Front office",icon:gr},{label:"NEURABOX",note:"AI workforce",icon:Yn},{label:"NEURAMANAGED",note:"We run it for you",icon:yr},{label:"NEURACUSTOM",note:"Your workflows",icon:Jn},{label:"NEURACLOUD",note:"Business in the cloud",icon:Vd},{label:"NEURACARE",note:"Support & updates",icon:qn}],th=()=>a.jsx(z,{kicker:"The Neuratic Ecosystem",children:a.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-[3vmin]",children:[a.jsxs(v.div,{...A(0),className:"expo-subtitle max-w-[26ch] text-center font-semibold md:max-w-[48ch]",children:[a.jsxs("p",{children:["From ",a.jsx("span",{className:"text-glow-primary",children:"front office"})," to"," ",a.jsx("span",{className:"text-claw-blue",children:"back office"})," and everything in between"]}),a.jsx("p",{className:"mt-[1vmin] text-expo-muted",children:"We help businesses implement AI in a practical way."})]}),a.jsx("div",{className:"grid w-full grid-cols-1 gap-[2vmin] sm:hidden",children:Kt.map((e,t)=>{const n=e.icon;return a.jsxs(v.div,{...A(.15+t*.09),className:"flex items-center gap-4 roun
229ded-2xl border border-expo-border bg-expo-surface/85 px-4 py-3",children:[a.jsx("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-glow-primary/15",children:a.jsx(n,{className:"h-5 w-5 text-glow-primary"})}),a.jsxs("span",{className:"flex flex-col items-start",children:[a.jsx(F,{children:e.label}),a.jsx("span",{className:"expo-small text-expo-muted",children:e.note})]})]},e.label)})}),a.jsxs(v.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.7},className:"relative hidden aspect-square w-[62vmin] max-w-full sm:block",children:[a.jsx("div",{className:"absolute inset-0 rounded-full border border-expo-border"}),a.jsx("div",{className:"absolute inset-[14%] rounded-full border border-dashed border-glow-primary/25"}),a.jsx("div",{className:"absolute inset-[7%] rounded-full border border-glow-primary/20",style:{animation:"expoOrbit 26s linear infinite"},children:a.jsx("span",{className:"absolute -top-[0.6vmin] left-1/2 h-[1.2vmin] w-[1.2vmin] -translate-x-1/2 rounded-full bg-glow-primary shadow-[0_0_2vmin_hsl(var(--glow-primary))]"})}),a.jsxs("div",{className:"absolute inset-[30%] flex flex-col items-center justify-center rounded-full border border-glow-primary/30 bg-expo-surface/80 text-center ",children:[a.jsx("div",{className:"absolute inset-0 rounded-full bg-[radial-gradient(circle,hsl(var(--glow-primary)/0.20),transparent_70%)]"}),a.jsx("span",{className:"relative expo-body font-light uppercase tracking-[0.14em] text-glow-primary",children:"NEURATIC"}),a.jsx("span",{className:"relative expo-subtitle font-semibold uppercase text-expo-text",children:"ECOSYSTEM"})]}),a.jsx("div",{className:"absolute inset-0",style:{animation:"expoOrbit 34s linear infinite"},children:Kt.map((e,t)=>{const n=t/Kt.length*2*Math.PI-Math.PI/2,s=46,i=50+s*Math.cos(n),r=50+s*Math.sin(n),o=e.icon;return a.jsx("div",{className:"absolute -translate-x-1/2 -translate-y-1/2",style:{left:`${i}%`,top:`${r}%`},children:a.jsx("div",{style:{animation:"expoOrbitCounter 34s linear infinite"},children:a.jsxs("div",{className:"flex w-[20vmin] flex-col items-center gap-[0.8vmin] rounded-2xl border border-expo-border bg-expo-surface/90 px-[1.2vmin] py-[1.4vmin] text-center shadow-[0_1vmin_4vmin_rgba(0,0,0,0.45)] ",children:[a.jsx(o,{className:"h-[2.4vmin] w-[2.4vmin] min-h-[16px] min-w-[16px] text-glow-primary"}),a.jsx(F,{children:e.label}),a.jsx("span",{className:"expo-small text-expo-muted",children:e.note})]})})},e.label)})})]})]})}),ji=({photos:e,people:t,alt:n})=>{const s=t??(e==null?void 0:e.map(l=>({photo:l,name:"",role:""})))??[],[i,r]=y.useState(0);y.useEffect(()=>{const l=setInterval(()=>r(c=>(c+1)%s.length),3500);return()=>clearInterval(l)},[s.length]);const o=s[i];return a.jsxs(v.div,{initial:{opacity:0,scale:.92},animate:{opacity:1,scale:1},transition:{duration:.7},className:"flex w-[88%] max-w-[340px] flex-col items-center gap-[1.2vmin] max-sm:w-[68%] max-sm:max-w-[230px] md:w-[80%] md:max-w-[52vmin]",children:[t&&a.jsx(v.span,{initial:{opacity:0}
229,animate:{opacity:1},transition:{duration:.6},className:"expo-small rounded-full border border-expo-border bg-expo-surface/80 px-[2.2vmin] py-[0.8vmin] font-bold uppercase tracking-[0.16em] text-expo-text text-center max-sm:px-3 max-sm:text-[0.65rem]",children:o.name},`name-${i}`),a.jsxs("div",{className:"relative w-full overflow-hidden rounded-3xl border border-expo-border max-sm:max-h-[290px]",children:[a.jsx("img",{src:s[0].photo,alt:n,className:"h-full w-full object-cover"}),s.slice(1).map((l,c)=>a.jsx(v.img,{src:l.photo,alt:n,className:"absolute inset-0 h-full w-full object-cover",animate:{opacity:i===c+1?1:0},transition:{duration:1.2}},l.photo)),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-expo-bg via-transparent to-transparent"})]}),t&&a.jsx(v.span,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.6},className:"expo-small rounded-full border border-glow-primary/40 bg-glow-primary/10 px-[2.2vmin] py-[0.8vmin] font-bold uppercase tracking-[0.16em] text-glow-primary text-center max-sm:px-3 max-sm:text-[0.65rem]",children:o.role},`role-${i}`)]})},Ie=({kicker:e,wordmark:t,title:n,blurb:s,points:i,stat:r,image:o,photo:l,photos:c,people:d,icon:u,badge:h=!0,ribbon:m,footer:f,mediaClassName:p=""})=>a.jsx(z,{kicker:e,children:a.jsxs("div",{className:"grid w-full grid-cols-1 items-center gap-[6vmin] md:grid-cols-[54%_46%] md:gap-[2vmin]",children:[a.jsxs("div",{className:"order-2 md:order-1",children:[a.jsxs(v.div,{...A(0),className:"mb-[2vmin] flex items-center gap-[1.6vmin]",children:[a.jsx("span",{className:"flex h-[5vmin] w-[5vmin] min-h-[30px] min-w-[30px] items-center justify-center rounded-xl bg-glow-primary/15",children:a.jsx(u,{className:"h-[55%] w-[55%] text-glow-primary"})}),m&&a.jsx("span",{className:"expo-small rounded-full border border-glow-primary/40 bg-glow-primary/10 px-[1.8vmin] py-[0.7vmin] font-bold uppercase tracking-[0.18em] text-glow-primary",children:m})]}),a.jsx(v.h2,{...A(.05),className:"expo-title font-bold",children:a.jsx(F,{children:t})}),a.jsx(v.p,{...A(.12),className:"expo-subtitle mt-[1.2vmin] font-semibold text-expo-text",children:n}),a.jsx(v.p,{...A(.18),className:"expo-lead mt-[2vmin] max-w-[46ch] text-expo-muted",children:s}),a.jsx("ul",{className:"mt-[3vmin] space-y-[1.4vmin]",children:i.map((g,x)=>a.jsx(ss,{text:g,delay:.26+x*.07},g))}),r&&a.jsxs(v.div,{...A(.6),className:"mt-[3.2vmin] inline-flex items-baseline gap-[1.4vmin] rounded-2xl border border-expo-border bg-expo-surface/70 px-[2.6vmin] py-[1.6vmin]",children:[a.jsx("span",{className:"expo-subtitle font-bold text-glow-primary",children:r.value}),a.jsx("span",{className:"expo-small text-expo-muted",children:r.label})]}),f]}),a.jsxs("div",{className:`order-1 flex items-center justify-center md:order-2 md:-translate-x-[6vmin] ${p}`,children:[o&&a.jsx(is,{src:o,alt:n,badge:h}),c&&a.jsx(ji,{photos:c,alt:n}),d&&a.jsx(ji,{people:d,alt:n}),!c&&l&&a.jsxs(v.div,{initial:{opacity:0,scale:.92},animate:{opacity:1,scale:1},transition:{duration:.7},className:"relative w-[88%] max-w-[340px] overflow-hidden rounded-3xl border border-expo-border max-sm:w-[68%] max-sm:max-w-[230px] max-sm:max-h-[290px] md:w-[80%] md:max-w-[52vmin]",children:[a.jsx("img",{src:l,alt:n,className:"h-full w-full object-cover"}),a.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-expo-bg via-transparent to-transparent"})]})]})]})}),nh=()=>a.jsx(z,{kicker:"Front office",children:a.jsxs("div",{className:"grid w-full grid-cols-1 items-center gap-[2vmin] md:grid-cols-[54%_46%]",children:[a.jsxs("div",{className:"order-2 md:order-1",children:[a.jsx(v.h2,{...A(0),className:"expo-title font-bold",children:a.jsx(F,{children:"NEURAVOICE"})}),a.jsx(v.p,{...A(.08),className:"expo-subtitle mt-[1.2vmin] font-semibold",children:"Your phone, answered every single time."}),a.jsx(v.p,{...A(.15),className:"expo-lead mt-[2vmin] max-w-[46ch] text-expo-muted",children:"A natural-sounding receptionist that picks up day or night, books the appointment and passes the message on — so no caller ever hits voicemail again."}),a.jsx("ul",{className:"mt-[3vmin] space-y-[1.4vmin]",children:["Answers 24/7, including weekends and holidays","Books appointments straight into your calendar","Routes urgent calls to the right person","Sends you a summary of every conversation"].map((e,t)=>a.jsx(ss,{text:e,delay:.24+t*.07},e))}),a.jsxs(v.div,{...A(.6),className:"mt-[3.2vmin] inline-flex flex-wrap items-baseline gap-x-[1.4vmin] gap-y-[0.6vmin] rounded-2xl border border-expo-border bg-expo-surface/70 px-[2.6vmin] py-[1.6vmin]",children:[a.jsx("span",{className:"expo-subtitle font-bold text-glow-primary",children:"From $49"}),a.jsx("span",{className:"expo-small text-expo-muted",children:"per month"}),a.jsxs("span",{className:"w-full expo-small text-expo-muted",children:["+ ",a.jsx("span",{className:"font-bold text-glow-primary",children:"$1,000 one-time setup"}
229)," — we build your call flows, connections and testing"]})]})]}),a.jsx("div",{className:"order-1 flex items-center justify-center md:order-2 md:translate-x-[2vmin] lg:-translate-x-[7vmin]",children:a.jsxs(v.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.7},className:"relative flex aspect-square w-[52vmin] max-w-full items-center justify-center",children:[[0,1,2].map(e=>a.jsx(v.span,{className:"absolute rounded-full border border-glow-primary/30",initial:{width:"30%",height:"30%",opacity:.8},animate:{width:"100%",height:"100%",opacity:0},transition:{duration:3,repeat:1/0,delay:e*1,ease:"easeOut"}},e)),a.jsx("div",{className:"absolute h-[45%] w-[45%] rounded-full bg-[radial-gradient(circle,hsl(var(--glow-primary)/0.25),transparent_70%)]"}),a.jsx("div",{className:"relative flex h-[34%] w-[34%] items-center justify-center rounded-full border border-glow-primary/40 bg-expo-surface",children:a.jsx(gr,{className:"h-[45%] w-[45%] text-glow-primary"})}),a.jsx("div",{className:"absolute bottom-0 flex items-end gap-[0.8vmin]",children:[.4,.8,.55,1,.65,.9,.45].map((e,t)=>a.jsx(v.span,{className:"w-[1vmin] rounded-full bg-claw-blue",animate:{height:[`${e*3}vmin`,`${e*7}vmin`,`${e*3}vmin`]},transition:{duration:1.1,repeat:1/0,delay:t*.12}},t))})]})}),a.jsx(v.div,{...A(.7),className:"col-span-full order-3 mt-[2.4vmin] flex w-full items-center justify-center md:mt-[1vmin]",children:a.jsxs("div",{className:"expo-small flex items-center gap-[1vmin] rounded-full border border-glow-primary/40 bg-expo-bg/80 px-[2.2vmin] py-[0.9vmin]",children:[a.jsx(Qe,{className:"h-[1.6vmin] w-[1.6vmin] min-h-[11px] min-w-[11px] text-glow-primary"}),a.jsx("span",{className:"font-bold uppercase tracking-[0.2em] text-glow-primary",children:"Powered by ElevenLabs"})]})})]})}),sh=()=>a.jsx(z,{kicker:"Back office",children:a.jsxs("div",{className:"grid w-full grid-cols-1 items-center gap-[2vmin] md:grid-cols-[54%_46%]",children:[a.jsxs("div",{className:"order-2 md:order-1",children:[a.jsx(v.p,{...A(0),className:"expo-kicker font-semibold text-expo-muted",children:"Introducing"}),a.jsx(v.h2,{...A(.05),className:"expo-title font-bold",children:a.jsx(F,{children:"NEURABOX"})}),a.jsxs(v.p,{...A(.12),className:"expo-subtitle mt-[1.2vmin] font-semibold",children:["An AI workforce in a box — powered by ",a.jsx("span",{className:"text-glow-primary",children:"Anthropic"}),"."]}),a.jsx(v.p,{...A(.2),className:"expo-lead mt-[2vmin] max-w-[46ch] text-expo-muted",children:"We set the machine up in Malibu, load it with assistants built for your business, and ship it to your door. Plug it in and it's working in minutes."}),a.jsx("ul",{className:"mt-[3vmin] space-y-[1.4vmin]",children:["Runs Claude Cowork from Anthropic","Your machine, your office, your data","Windows PC or Apple M6 — $1,000 hardware","$5,000 per department implementation"].map((e,t)=>a.jsx(ss,{text:e,delay:.28+t*.07},e))})]}),a.jsx("div",{className:"order-1 md:order-2 md:translate-x-[2vmin] lg:-translate-x-[5vmin]",children:a.jsx(is,{src:he,alt:"NeuraBox device"})})]})}),ih=()=>a.jsx(z,{kicker:"Pick your hardware",children:a.jsxs("div",{className:"flex w-full flex-col items-center text-center",children:[a.jsxs(v.h2,{...A(0),className:"expo-title font-bold",children:["One ",a.jsx(F,{children:"NEURABOX"}),". Two excellent choices."]}),a.jsx(v.p,{...A(.1),className:"expo-lead mt-[2vmin] max-w-[64ch] text-expo-muted",children:"Choose the platform your business prefers. We configure, test and ship either version from Malibu."}),a.jsx("div",{className:"mt-[4vmin] grid w-full max-w-[1180px] grid-cols-1 gap-[2.5vmin] sm:grid-cols-2",children:[{option:"Option 1",icon:Zn,name:"Windows PC",spec:"Ryzen 7 · 48GB DDR5 · 1TB SSD",points:["Windows 11 Pro","Strong performance for daily business workloads","Easy fit for Windows-based teams"]},{option:"Option 2",icon:Bd,name:"Apple Mac",spec:"M6 · 12-core CPU/GPU · Dual Neural Engine",points:["Compact Apple hardware","Fast, efficient AI-ready performance","Easy fit for Apple-based teams"]}].map((e,t)=>{const n=e.icon;return a.jsxs(v.div,{...A(.2+t*.12),className:"relative flex flex-col items-start overflow-hidden rounded-3xl border border-expo-border bg-expo-surface/80 p-[3vmin] text-left",children:[a.jsx("span",{className:"expo-small absolute right-0 top-0 rounded-bl-2xl border-b border-l border-glow-primary/40 bg-glow-primary/15 px-[2vmin] py-[0.9vmin] font-bold uppercase text-glow-primary",children:e.option}),a.jsx("span",{className:"flex h-[6vmin] w-[6vmin] min-h-[42px] min-w-[42px] items-center justify-center rounded-2xl bg-glow-primary/15",children:a.jsx(n,{className:"h-[55%] w-[55%] text-glow-primary"})}),a.jsx("h3",{className:"expo-subtitle mt-[2vmin] font-bold",children:e.name}
229),a.jsx("p",{className:"expo-body mt-[0.8vmin] font-semibold text-claw-blue",children:e.spec}),a.jsx("ul",{className:"mt-[2.5vmin] space-y-[1.2vmin]",children:e.points.map(s=>a.jsxs("li",{className:"expo-body flex items-start gap-[1vmin] text-expo-muted",children:[a.jsx(Nt,{className:"mt-[0.25em] h-[1.8vmin] w-[1.8vmin] min-h-[13px] min-w-[13px] shrink-0 text-glow-primary"}),s]},s))}),a.jsx("span",{className:"expo-lead mt-[2.5vmin] font-bold text-glow-primary",children:"$1,000 hardware"})]},e.name)})}),a.jsx(v.p,{...A(.55),className:"expo-body mt-[2.4vmin] font-semibold text-expo-text",children:"Both run the same Neuratic-built workflows. Pick the device—not a compromise."})]})}),oh=()=>a.jsx(Ie,{kicker:"NeuraBox editions — 1 of 5",wordmark:"NEURABOX",title:"Marketing Machine",blurb:"A full go-to-market team pre-installed and trained on your offer, your audience and your tone of voice.",ribbon:"Most popular",icon:Ld,image:Mt,stat:{value:"100",label:"marketing assistants, ready on day one"},points:["Campaign planning, content calendars and publishing","SEO pages, ad copy and email sequences","Lead research, qualification and follow-ups","Brand voice trained on your own material"]}),rh=()=>a.jsx(Ie,{kicker:"NeuraBox editions — 2 of 5",wordmark:"NEURABOX",title:"Accounting Machine",blurb:"Your books prepared before you sit down, set up around your chart of accounts and the way your firm already works.",ribbon:"2nd most popular",icon:Md,image:es,mediaClassName:"md:!translate-x-[2vmin] lg:!-translate-x-[6vmin]",stat:{value:"34",label:"accounting assistants across the full cycle"},points:["Invoice capture, coding and approval prep","Bank feed categorisation and reconciliation","Payables, receivables and chase-up emails","Month-end packs and tax work papers"]}),ah=()=>a.jsx(Ie,{kicker:"NeuraBox editions — 3 of 5",wordmark:"NEURABOX",title:"Operations & HR",blurb:"The internal work that keeps a company moving — hiring, onboarding, policies, vendors and daily coordination.",icon:Kd,image:ts,stat:{value:"27",label:"operations and people assistants"},points:["Job posts, resume screening and scheduling","Onboarding plans and handbook Q&A","Procedure writing and process documentation","Vendor correspondence and task routing"]}),lh=()=>a.jsx(Ie,{kicker:"NeuraBox editions — 4 of 5",wordmark:"NEURABOX",title:"AI Workforce",blurb:"The combined edition — the full marketing fleet and the full accounting fleet on one machine, sharing the same picture of your business.",icon:St,image:he,mediaClassName:"md:!translate-x-[2vmin] lg:!-translate-x-[6vmin]",stat:{value:"134",label:"assistants on a single machine"},points:["Everything in Marketing Machine","Everything in Accounting Machine","One shared view of clients, deals and invoices","Higher-spec hardware for heavier daily load"]}),ch=()=>a.jsx(Ie,{kicker:"NeuraBox editions — 5 of 5",wordmark:"NEURABOX",title:"Custom Build",blurb:"Built around the way your business actually runs. We map your process first, then build the assistants to match it.",ribbon:"3rd most popular",icon:Jn,image:ns,mediaClassName:"md:!translate-x-[2vmin] lg:!-translate-x-[6vmin]",stat:{value:"Quoted",label:"priced to the work involved"},points:["We start by mapping your real process","Assistants built for your exact steps","Connected to the tools you already use","Tuned with your own documents and data"]}),et=({kicker:e,title:t,image:n,headline:s,impact:i,benefits:r})=>a.jsx(z,{kicker:e,children:a.jsxs("div",{className:"flex w-full flex-col items-center",children:[a.jsx(v.img,{...A(0),src:n,alt:t,loading:"eager",decoding:"async",className:"h-auto w-[75%] max-w-[240px] object-contain md:h-[25vmin] md:w-auto md:max-w-none",style:{animation:"expoFloat 6s ease-in-out infinite",willChange:"transform"}}),a.jsxs(v.h2,{...A(.06),className:"expo-subtitle mt-[1.4vmin] text-center font-bold",children:[a.jsx(F,{children:"NEURABOX"})," ",t," — ",a.jsx("span",{className:"text-glow-primary",children:"what you get out of it"})]}),a.jsx(v.p,{...A(.12),className:"expo-lead mt-[1vmin] max-w-[62ch] text-center text-expo-muted",children:s}),a.jsx("div",{className:"mt-[2.6vmin] grid w-full max-w-[1180px] grid-cols-1 gap-[1.4vmin] md:grid-cols-2",children:r.map((o,l)=>{const c=o.icon;return a.jsxs(v.div,{...A(.2+l*.08),className:"flex items-start gap-[1.8vmin] rounded-2xl border border-expo-border bg-expo-surface/80 px-[2.2vmin] py-[1.6vmin]",children:[a.jsx("span",{className:"flex h-[4.6vmin] w-[4.6vmin] min-h-[30px] min-w-[30px] shrink-0 items-center justify-center rounded-xl bg-glow-primary/15",children:a.jsx(c,{className:"h-[2.3vmin] w-[2.3vmin] min-h-[15px] min-w-[15px] text-glow-primary"})}),a.jsxs("div",{className:"min-w-0",children:[a.jsx("div",{className:"expo-body font-semibold text-expo-text",children:o.title}),a.jsx("div",{className:"expo-small mt-[0.4vmin] text-expo-muted",children:o.text})]})]},o.title)})}),a.jsx(v.div,{...A(.55),className:"expo-body mt-[2.4vmin] rounded-full border border-glow-primary/40 bg-glow-primary/10 px-[3vmin] py-[1.2vmin] text-center font-bold text-glow-primary",children:i})]})}),uh=()=>a.jsx(et,{kicker:"Marketing Machine — the payoff",title:"Marketing Machine",image:Mt,headline:"What this actually changes in your business, week to week.",impact:"Replaces a $5,000+/month agency — one-time cost, no payroll",benefits:[{icon:Ve,title:"Cut the agency retainer",text:"Campaigns, ads, email and SEO produced in-house instead of billed monthly."},{icon:Ze,title:"Marketing never stops",text:"Research, outreach and follow-ups keep running nights and weekends."},{icon:Je,title:"Weeks of work in an afternoon",text:"Content calendars, landing pages and ad variations ready the same day."},{icon:Qe,title:"Always sounds like you",text:"Trained on your own material, so nothing reads like generic AI copy."}]}),dh=()=>a.jsx(et,{kicker:"Accounting Machine — the payoff",title:"Accounting Machine",image:es,headline:"What this actually changes in your books, week to week.",impact:"Saves 20+ hours of bookkeeping every week",benefits:[{icon:Ze,title:"No more month-end scramble",text:"Coding and reconciliation happen daily, so close is almost done already."},{icon:Ve,title:"Protects your cash flow",text:"Tracks what's owed, flags overdue invoices and drafts the chase-up emails."},{icon:Ct,title:"Clean books, audit ready",text:"Every receipt and bill coded to your chart of accounts, with the paper trail."},{icon:Qn,title:"Your accountant does real work",text:"Time goes to advice and planning instead of data entry."}]}),hh=()=>a.jsx(et,{kicker:"Operations & HR — the payoff",title:"Operations & HR",image:ts,headline:"What this actually changes in the day-to-day running of the business.",impact:"Removes the admin bottleneck without another back-office hire",benefits:[{icon:Je,title:"Hiring moves fast",text:"Job posts written, resumes screened and interviews scheduled the same day."},{icon:mr,title:"New people productive sooner",text:"Onboarding plans ready and handbook questions answered on demand."},{icon:Ct,title:"Knowledge stays in the business",text:"Procedures written down, so nothing walks out when someone leaves."},{icon:Ze,title:"Less chasing, more doing",text:"Vendor emails, status checks and task routing handled in the background."}]}),mh=()=>a.jsx(et,{kicker:"AI Workforce — the payoff",title:"AI Workforce",image:he,headline:"Two departments on one machine — and they actually talk to each other.",impact:"A whole front-and-back office for less than one salary",benefits:[{icon:Ve,title:"Two teams, no payroll",text:"134 assistants covering marketing and accounting for a one-time cost."},{icon:St,title:"Lead to invoice in one place",text:"The same machine knows the deal and the billing behind it."},{icon:Je,title:"No hand-off delays",text:"Nothing gets lost between sales, marketing and finance."},{icon:Yn,title:"Built for the heavier load",text:"Higher-spec hardware so both sides run all day without slowing down."}]}),fh=()=>a.jsx(et,{kicker:"Custom Build — the payoff",title:"Custom Build",image:ns,headline:"For the work that no off-the-shelf software has ever fitted properly.",impact:"Built around your process — and it stays entirely yours",benefits:[{icon:Jn,title:"Fits how you actually work",text:"Built around your steps, your tools and your exceptions — not a template."},{icon:Je,title:"Automates the awkward jobs",text:"The manual hand-offs your current software has never been able to cover."},{icon:xr,title:"Your data stays in your office",text:"Runs on your own machine, so sensitive work never leaves the building."},{icon:St,title:"Grow without hiring",text:"Take on more volume without adding more admin people."}]}),Gt=[{icon:Zn,title:"Hardware",text:"A full Windows PC or Apple M6 workstation — yours outright"},{icon:Cd,title:"Your assistants",text:"Pre-installed and tuned to your edition before it ships"},{icon:Sd,title:"Intelligence",text:"Powered by Claude Cowork, by Anthropic"},{icon:$d,title:"Connectors",text:"Gmail, Outlook, QuickBooks, Slack, HubSpot and more"}],ph=()=>a.jsx(z,{kicker:"What's under the hood",children:a.jsxs("div",{className:"grid w-full items-center gap-[4vmin] md:grid-cols-[1.15fr_1fr]",children:[a.jsxs("div",{className:"flex flex-col gap-[1.4vmin]",children:[a.jsxs(v.h2,{...A(0),className:"expo-title font-bold leading-tight",children:["What's ",a.jsx("span",{className:"text-glow-primary",children:"under"})," ",a.jsx("span",{className:"text-claw-blue",children:"the hood."})]}),a.jsx(v.p,{...A(.1),className:"expo-lead text-expo-muted",children:"Open the box and every layer is already working together."}),a.jsx("div",{className:"mt-[0.6vmin] flex flex-col gap-[1.2vmin]",children:Gt.map((e,t)=>{const n=e.icon;return a.jsxs(v.div,{...A(.2+t*.1),className:"flex items-center gap-[1.8vmin] rounded-2xl border border-expo-border bg-expo-surface/80 px-[2vmin] py-[1.2vmin]",children:[a.jsx("span",{className:"flex h-[4.2vmin] w-[4.2vmin] min-h-[26px] min-w-[26px] shrink-0 items-center justify-center rounded-xl bg-glow-primary/15",children:a.jsx(n,{className:"h-[2.2vmin] w-[2.2vmin] min-h-[14px] min-w-[14px] text-glow-primary"})}),a.jsxs("div",{className:"min-w-0",children:[a.jsx("div",{className:"expo-body font-semibold text-expo-text",children:e.title}),a.jsx("div",{className:"expo-small text-expo-muted",children:e.text})]})]},e.title)})})]}),a.jsxs(v.div,{initial:{opacity:0,scale:.9}
229,animate:{opacity:1,scale:1},transition:{duration:.7},className:"relative mx-auto hidden aspect-square w-[56vmin] max-w-full sm:block",children:[a.jsx("div",{className:"absolute inset-0 rounded-full border border-expo-border"}),a.jsx("div",{className:"absolute inset-[12%] rounded-full border border-dashed border-glow-primary/25"}),a.jsx("div",{className:"absolute inset-[5%] rounded-full border border-glow-primary/20",style:{animation:"expoOrbit 22s linear infinite"},children:a.jsx("span",{className:"absolute -top-[0.6vmin] left-1/2 h-[1.2vmin] w-[1.2vmin] -translate-x-1/2 rounded-full bg-glow-primary shadow-[0_0_2vmin_hsl(var(--glow-primary))]"})}),a.jsxs("div",{className:"absolute inset-[26%] flex items-center justify-center",children:[a.jsx("div",{className:"absolute inset-0 rounded-full bg-[radial-gradient(circle,hsl(var(--glow-primary)/0.22),transparent_70%)]"}),a.jsx("img",{src:he,alt:"NeuraBox device",loading:"eager",decoding:"async",className:"relative w-[92%] object-contain",style:{animation:"expoFloat 6s ease-in-out infinite",willChange:"transform"}})]}),a.jsx("div",{className:"absolute inset-0",style:{animation:"expoOrbit 30s linear infinite"},children:Gt.map((e,t)=>{const n=t/Gt.length*2*Math.PI-Math.PI/2,s=47,i=50+s*Math.cos(n),r=50+s*Math.sin(n),o=e.icon;return a.jsx("div",{className:"absolute -translate-x-1/2 -translate-y-1/2",style:{left:`${i}%`,top:`${r}%`},children:a.jsx("div",{style:{animation:"expoOrbitCounter 30s linear infinite"},children:a.jsxs("div",{className:"flex w-[17vmin] flex-col items-center gap-[0.7vmin] rounded-2xl border border-expo-border bg-expo-surface/90 px-[1.2vmin] py-[1.2vmin] text-center shadow-[0_1vmin_4vmin_rgba(0,0,0,0.45)]",children:[a.jsx(o,{className:"h-[2.4vmin] w-[2.4vmin] min-h-[16px] min-w-[16px] text-glow-primary"}),a.jsx("span",{className:"expo-small font-semibold text-expo-text",children:e.title})]})})},e.title)})})]}),a.jsx("div",{className:"order-first mx-auto w-full max-w-[70vmin] sm:hidden",children:a.jsx(is,{src:he,alt:"NeuraBox device",big:!1})})]})}),xh=()=>a.jsx(z,{kicker:"NeuraBox vs. a human hire",children:a.jsxs("div",{className:"flex w-full flex-col items-center text-center",children:[a.jsxs(v.h2,{...A(0),className:"expo-title font-bold",children:["More capacity. ",a.jsx("span",{className:"text-glow-primary",children:"Less payroll pressure."})]}),a.jsx(v.p,{...A(.08),className:"expo-lead mt-[1.5vmin] max-w-[62ch] text-expo-muted",children:"A NeuraBox does not replace human judgment. It removes repetitive workload so peo
229ple can focus on decisions."}),a.jsxs("div",{className:"relative mt-[3vmin] grid w-full max-w-[1240px] grid-cols-1 gap-[2vmin] sm:grid-cols-2",children:[a.jsxs(v.div,{...A(.18),className:"flex min-h-0 flex-col rounded-3xl border border-glow-primary/50 bg-expo-surface/80 p-[2.6vmin] text-left",children:[a.jsxs("div",{className:"flex items-center gap-[2vmin]",children:[a.jsx("img",{src:he,alt:"NeuraBox",loading:"eager",className:"h-[12vmin] w-[15vmin] min-h-[76px] min-w-[96px] object-contain"}),a.jsxs("div",{children:[a.jsx(F,{children:"NEURABOX"}),a.jsx("p",{className:"expo-body mt-[0.5vmin] font-semibold text-glow-primary",children:"Built to multiply your team's output"})]})]}),a.jsx("div",{className:"mt-[2vmin] grid grid-cols-2 gap-[1.2vmin]",children:[[Ve,"No salary or benefits"],[Ze,"Works around the clock"],[Je,"Ready in minutes"],[Nt,"Consistent processes"]].map(([e,t])=>a.jsxs("div",{className:"expo-body flex items-center gap-[1vmin] rounded-2xl bg-glow-primary/10 p-[1.4vmin] text-expo-text",children:[a.jsx(e,{className:"h-[2.3vmin] w-[2.3vmin] min-h-[16px] min-w-[16px] shrink-0 text-glow-primary"}),a.jsx("span",{children:t})]},t))}),a.jsx("p",{className:"expo-body mt-[2vmin] text-expo-muted",children:"One-time hardware and setup, with only the support and oversight you choose."})]}),a.jsxs(v.div,{...A(.3),className:"flex min-h-0 flex-col rounded-3xl border border-expo-border bg-expo-surface/80 p-[2.6vmin] text-left",children:[a.jsxs("div",{className:"flex items-center gap-[2vmin]",children:[a.jsx("img",{src:jr,alt:"Employee working at a desk",loading:"eager",className:"h-[12vmin] w-[15vmin] min-h-[76px] min-w-[96px] rounded-2xl object-cover"}),a.jsxs("div",{children:[a.jsx("span",{className:"expo-kicker font-bold uppercase text-claw-blue",children:"A human hire"}),a.jsx("p",{className:"expo-body mt-[0.5vmin] font-semibold text-expo-muted",children:"Essential judgment—with ongoing employment costs"})]})]}),a.jsx("div",{className:"mt-[2vmin] grid grid-cols-2 gap-[1.2vmin]",children:[[Ve,"Salary, benefits and taxes"],[Rd,"Breaks, leave and sick days"],[mr,"Training and ramp-up time"],[zd,"May leave at any time"]].map(([e,t])=>a.jsxs("div",{className:"expo-body flex items-center gap-[1vmin] rounded-2xl bg-expo-text/5 p-[1.4vmin] text-expo-muted",children:[a.jsx(e,{className:"h-[2.3vmin] w-[2.3vmin] min-h-[16px] min-w-[16px] shrink-0 text-claw-blue"}),a.jsx("span",{children:t})]},t))}),a.jsx("p",{className:"expo-body mt-[2vmin] text-expo-muted",children:"Keep people where their experience matters most—not buried in repeatable tasks."})]}),a.jsx("div",{className:"absolute left-1/2 top-1/2 z-10 hidden -translate-x-1/2 -translate-y-1/2 sm:block",children:a.jsx(v.div,{...A(.42),className:"expo-body flex h-[6vmin] w-[6vmin] min-h-[46px] min-w-[46px] items-center justify-center rounded-full border-4 border-expo-bg bg-glow-primary font-black text-expo-text",children:"VS"})})]})]})}),gh=()=>a.jsx(z,{kicker:"Three ways to put it to work",children:a.jsxs("div",{className:"flex w-full flex-col items-center text-center",children:[a.jsxs(v.h2,{...A(0),className:"expo-title max-w-[20ch] font-bold",children:["A ",a.jsx(F,{children:"NEURABOX"})," fits however you like to operate."]}),a.jsx(v.p,{...A(.08),className:"expo-lead mt-[1.8vmin] max-w-[70ch] text-expo-muted",children:"Give it to a team member, run it yourself, or let us run it for you."}),a.jsx("div",{className:"mt-[4vmin] grid w-full max-w-[1240px] grid-cols-1 gap-[2vmin] sm:grid-cols-3",children:[{n:"01",icon:_d,title:"Give it to your team",text:"Put the box beside an employee and let them produce more without adding repetitive work to their day.",tag:"Your people · AI speed"},{n:"02",icon:Fd,title:"Run it yourself",text:"Open the assistant you need, describe the task and get to work—without learning complicated AI tools.",tag:"Direct · Simple · On demand"},{n:"03",icon:fr,title:"Let us run it",text:"Own the NeuraBox while our experts operate it remotely, review the output and report back daily.",tag:"Managed · from $1,050/mo"}].map((e,t)=>{const n=e.icon;return a.jsxs(v.div,{...A(.18+t*.12),className:"relative flex flex-col items-center rounded-3xl border border-expo-border bg-expo-surface/80 px-[2.5vmin] py-[3vmin]",children:[a.jsx("span",{className:"expo-small absolute left-[1.5vmin] top-[1.3vmin] font-black text-glow-primary",children:e.n}),a.jsx(v.span,{animate:{y:[0,-5,0]},transition:{duration:2.8,repeat:1/0,delay:t*.35},className:"flex h-[7vmin] w-[7vmin] min-h-[48px] min-w-[48px] items-center justify-center rounded-2xl bg-glow-primary/15",children:a.jsx(n,{className:"h-[52%] w-[52%] text-glow-primary"})}),a.jsx("h3",{className:"expo-subtitle mt-[2vmin] font-bold",children:e.title}),a.jsx("p",{className:"expo-body mt-[1.3vmin] text-expo-muted",children:e.text}),a.jsx("span",{className:"expo-small mt-auto pt-[2.2vmin] font-bold uppercase text-claw-blue",children:e.tag})]},e.n)})})]})}),yh=()=>
229a.jsx(z,{kicker:"NEURAMANAGED — in a nutshell",children:a.jsxs("div",{className:"flex w-full flex-col items-center text-center",children:[a.jsxs(v.h2,{...A(0),className:"expo-title max-w-[20ch] font-bold",children:["You own the box. ",a.jsx("span",{className:"text-glow-primary",children:"We run it for you."})]}),a.jsx(v.p,{...A(.08),className:"expo-lead mt-[1.5vmin] max-w-[64ch] text-expo-muted",children:"No time or no one to operate it? Our experts work your NeuraBox every day and send you finished, checked work."}),a.jsx("div",{className:"mt-[3vmin] grid w-full max-w-[1240px] grid-cols-1 gap-[2vmin] sm:grid-cols-4",children:[{icon:Yn,step:"01",title:"You buy the box",text:"One-time hardware and setup — the NeuraBox sits in your office, on your accounts."},{icon:pr,step:"02",title:"We log in securely",text:"A dedicated expert works it 2, 4 or 8 hours a day through secure remote access."},{icon:Ct,step:"03",title:"Every output is checked",text:"A human verifies the work before it ever reaches you — no unreviewed AI mistakes."},{icon:hr,step:"04",title:"You get a daily report",text:"What was done, what was checked, what needs your decision — plus a direct line to your reviewer."}].map((e,t)=>{const n=e.icon;return a.jsxs(v.div,{...A(.18+t*.12),className:"relative flex flex-col items-center rounded-3xl border border-expo-border bg-expo-surface/80 px-[2vmin] py-[2.6vmin] text-left",children:[a.jsx("span",{className:"expo-small absolute left-[1.4vmin] top-[1.2vmin] font-black text-glow-primary",children:e.step}),a.jsx(v.span,{animate:{y:[0,-5,0]},transition:{duration:2.6,repeat:1/0,delay:t*.3},className:"flex h-[6.5vmin] w-[6.5vmin] min-h-[46px] min-w-[46px] items-center justify-center rounded-2xl bg-glow-primary/15",children:a.jsx(n,{className:"h-[52%] w-[52%] text-glow-primary"})}),a.jsx("h3",{className:"expo-subtitle mt-[1.6vmin] font-bold",children:e.title}),a.jsx("p",{className:"expo-body mt-[1vmin] text-expo-muted",children:e.text})]},e.step)})}),a.jsx(v.div,{...A(.66),className:"mt-[3vmin] flex flex-wrap items-center justify-center gap-[1.4vmin] max-sm:flex-col max-sm:gap-2",children:[{icon:Ze,label:"2 · 4 · 8 hours a day"},{icon:Ve,label:"From $1,050/mo"},{icon:Nt,label:"Cancel anytime — you keep the box"}].map(e=>a.jsxs("span",{className:"expo-body flex items-center gap-[0.8vmin] rounded-full border border-glow-primary/30 bg-glow-primary/10 px-[2vmin] py-[1vmin] font-bold text-expo-text max-sm:px-3 max-sm:py-1.5",children:[a.jsx(e.icon,{className:"h-[2.2vmin] w-[2.2vmin] min-h-[15px] min-w-[15px] shrink-0 text-glow-primary"}),e.label]},e.label))})]})}),vh=()=>a.jsx(z,{kicker:"The quality checkpoint",children:a.jsxs("div",{className:"flex w-full flex-col items-center text-center",children:[a.jsxs(v.h2,{...A(0),className:"expo-title max-w-[18ch] font-bold",children:["AI can do the job. ",a.jsx("span",{className:"text-glow-primary",children:"Someone still has to check it."})]}),a.jsx(v.p,{...A(.1),className:"expo-lead mt-[2vmin] max-w-[62ch] text-expo-muted max-sm:text-sm",children:"AI can produce a polished answer that sounds certain and is still wrong. That is a hallucination — and one unchecked mistake can reach a customer, a campaign or your books."}),a.jsx("div",{className:"mt-4 flex w-full max-w-[1180px] flex-col items-stretch gap-2 md:mt-[4vmin] md:flex-row md:items-center md:gap-[1.5vmin]",children:[{icon:Dd,step:"01",title:"AI creates",text:"A confident answer is produced in seconds.",tone:"text-claw-blue"},{icon:Hd,step:"02",title:"A mistake slips in",text:"A source, number or claim may be invented.",tone:"text-glow-primary"},{icon:Qn,step:"03",title:"A human verifies",text:"The work is checked, corrected and approved.",tone:"text-claw-green"}].map((e,t)=>{const n=e.icon;return a.jsxs(y.Fragment,{children:[a.jsxs(v.div,{...A(.2+t*.16),className:"flex flex-1 flex-row items-center gap-3 rounded-2xl border border-expo-border bg-expo-surface/80 px-3 py-2.5 text-left md:min-h-[24vmin] md:flex-col md:justify-center md:gap-0 md:rounded-3xl md:p-[2.5vmin] md:text-center",children:[a.jsx(v.span,{animate:t===1?{rotate:[-2,2,-2],scale:[1,1.08,1]}:{y:[0,-5,0]},transition:{duration:t===1?.7:2.4,repeat:1/0},className:`flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-expo-text/5 md:h-[6vmin] md:w-[6vmin] md:min-
229h-[42px] md:min-w-[42px] md:rounded-2xl ${e.tone}`,children:a.jsx(n,{className:"h-[55%] w-[55%]"})}),a.jsxs("div",{children:[a.jsx("span",{className:"expo-small font-bold text-glow-primary md:mt-[1.4vmin]",children:e.step}),a.jsx("h3",{className:"text-base font-bold md:mt-[0.5vmin] md:text-[clamp(1.1rem,3.4vmin,2.4rem)]",children:e.title}),a.jsx("p",{className:"mt-0.5 text-xs leading-snug text-expo-muted md:mt-[1vmin] md:text-[clamp(0.85rem,1.95vmin,1.3rem)] md:leading-[1.4]",children:e.text})]})]}),t<2&&a.jsx(v.div,{initial:{scaleX:0},animate:{scaleX:1},transition:{duration:.6,delay:.45+t*.16},className:"hidden h-[2px] w-[5vmin] origin-left bg-gradient-to-r from-glow-primary to-claw-blue md:block"})]},e.step)})}),a.jsxs(v.p,{...A(.8),className:"mt-3 text-base font-semibold md:mt-[3vmin] md:text-[clamp(1.1rem,3.4vmin,2.4rem)]",children:["Your team or our ",a.jsx(F,{children:"NEURAMANAGED"})," experts — ",a.jsx("span",{className:"text-glow-primary",children:"somebody should check the work."})]})]})}),wh=()=>a.jsx(Ie,{kicker:"NEURAMANAGED",wordmark:"NEURAMANAGED",title:"Buy the box once. We run it every day.",blurb:"No time or no one on your team? Our subject matter experts log in securely, do the daily work, check every output and send you a daily report.",icon:yr,people:[{photo:vr,name:"Priya Sharma",role:"Bookkeeping"},{photo:wr,name:"Mike Reynolds",role:"Operations"},{photo:br,name:"Sarah Mitchell",role:"Marketing"},{photo:kr,name:"Arjun Patel",role:"Customer Service"}],mediaClassName:"md:!translate-x-[2vmin] lg:!-translate-x-[6vmin]",stat:{value:"$1,050/mo",label:"2 hrs/day · $1,850 for 4 hrs · $3,450 for 8 hrs"},points:["151-person team of subject matter experts","Accountants, marketers and operations people","Secure remote access to your own machine","Daily report, direct line to your reviewer"],footer:a.jsxs(v.div,{...A(.7),className:"mt-[2.6vmin] inline-flex items-center justify-center gap-[1.4vmin] whitespace-nowrap rounded-full border border-expo-border bg-expo-surface/70 px-[2.4vmin] py-[1.1vmin] text-center max-sm:gap-2 max-sm:px-3 md:w-full lg:w-auto",children:[a.jsx(Qd,{}),a.jsx(Jd,{}),a.jsx("span",{className:"expo-small font-bold uppercase tracking-[0.14em] text-expo-text max-sm:text-[0.65rem] max-sm:tracking-[0.04em] md:text-[clamp(0.9rem,1.8vmin,1.2rem)]",children:"India or US based resource options"})]})}),bh=()=>a.jsx(z,{kicker:a.jsxs("span",{className:"inline-flex items-baseline gap-[0.8vmin]",children:["How ",a.jsx(F,{children:"NEURAMANAGED"})," works"]}),children:a.jsxs("div",{className:"flex w-full flex-col items-center pt-8 text-center sm:pt-0",children:[a.jsxs(v.h2,{...A(0),className:"expo-title max-sm:text-[1.8rem] max-sm:leading-[1.05] font-bold",children:["Your ",a.jsx(F,{children:"NEURABOX"}),". Our experts",a.jsx("br",{}),"run it every day."]}),a.jsx(v.p,{...A(.08),className:"expo-lead mt-[1.6vmin] max-w-[70ch] text-expo-muted max-sm:text-sm max-sm:leading-snug",children:a.jsx(je,{children:"Every NeuraBox arrives preconfigured with secure remote access. With NEURAMANAGED, that same approved connection lets your assigned expert do the daily work directly on your box."})}),a.jsx("div",{className:"mt-2 grid w-full max-w-[1240px] grid-cols-1 gap-1.5 sm:mt-[4vmin] sm:grid-cols-4 sm:gap-[1.5vmin]",children:[{step:"01",icon:xr,title:"Secure access included",text:"Remote-access software is installed and tested before your NeuraBox leaves Malibu."},{step:"02",icon:pr,title:"You authorize access",text:"You control the device and approve the secure connection used for support or daily work."},{step:"03",icon:fr,title:"Your expert logs in",text:"Your assigned subject matter expert works during the 2, 4, 6 or 8 hours you select."},{step:"04",icon:Ct,title:"You receive the results",text:"The expert reviews the output, completes the work and sends you a clear daily report."}].map((e,t)=>{const n=e.icon;return a.jsxs(y.Fragment,{children:[a.jsxs(v.div,{...A(.18+t*.12),className:"relative flex flex-col items-center rounded-2xl border border-expo-border bg-expo-surface/80 px-3 py-2 sm:rounded-3xl sm:p-[2.2vmin]",children:[a.jsx("span",{className:"expo-small absolute left-[1.4vmin] top-[1.2vmin] font-black text-glow-primary",children:e.step}),a.jsx(v.span,{animate:{y:[0,-5,0]},transition:{duration:2.6,repeat:1/0,delay:t*.25},className:"flex h-9 w-9 items-center justify-center rounded-xl bg-glow-primary/15 sm:h-[6vmin] sm:w-[6vmin] sm:min-h-[42px] sm:min-w-[42px] sm:rou
229nded-2xl",children:a.jsx(n,{className:"h-[52%] w-[52%] text-glow-primary"})}),a.jsx("h3",{className:"mt-1 text-base font-bold sm:expo-subtitle sm:mt-[1.7vmin]",children:e.title}),a.jsx("p",{className:"mt-0.5 text-xs leading-snug text-expo-muted sm:expo-body sm:mt-[1vmin]",children:e.text})]}),t<3&&a.jsx(v.div,{initial:{scaleX:0},animate:{scaleX:1},transition:{duration:.45,delay:.42+t*.12},className:"absolute hidden h-[2px] w-[2vmin] origin-left bg-gradient-to-r from-glow-primary to-claw-blue sm:block",style:{left:`${24.35+t*25.3}%`,top:"61%"}})]},e.step)})}),a.jsxs(v.p,{...A(.75),className:"mt-[2.6vmin] hidden font-semibold text-expo-text sm:expo-body sm:block",children:["The connection supports both ",a.jsx(F,{children:"NEURACARE"})," maintenance and your ",a.jsx(F,{children:"NEURAMANAGED"})," expert's daily work—without moving your box or your data."]})]})}),kh=()=>a.jsx(z,{kicker:"Support & maintenance",children:a.jsxs("div",{className:"flex w-full flex-col items-center text-center",children:[a.jsx(v.h2,{...A(0),className:"expo-title font-bold",children:a.jsx(F,{children:"NEURACARE"})}),a.jsxs(v.p,{...A(.08),className:"expo-subtitle mt-[1.2vmin] font-semibold",children:["Keeps your ",a.jsx(F,{children:"NEURABOX"})," at its best."]}),a.jsx(v.p,{...A(.15),className:"expo-lead mt-[2vmin] max-w-[60ch] text-expo-muted",children:"Three months included with every box. After that, one simple monthly plan covers fixes, tuning and upgrades — so your assistants keep getting better."}),a.jsx("div",{className:"mt-[4.5vmin] grid w-full grid-cols-1 gap-[2.4vmin] sm:grid-cols-3",children:[{v:"3 months",l:"free with every box",i:qn},{v:"$250",l:"per month after that",i:hr},{v:"Any issue",l:"assistant fixes and upgrades",i:Qe}].map((e,t)=>{const n=e.i;return a.jsxs(v.div,{...A(.25+t*.1),className:"flex flex-col items-center gap-[1.2vmin] rounded-3xl border border-expo-border bg-expo-surface/70 px-[2.4vmin] py-[3.4vmin]",children:[a.jsx(n,{className:"h-[3.4vmin] w-[3.4vmin] min-h-[20px] min-w-[20px] text-glow-primary"}),a.jsx("span",{className:"expo-subtitle font-bold text-glow-primary",children:e.v}),a.jsx("span",{className:"expo-body text-expo-muted",children:e.l})]},e.v)})})]})}),jh=[{step:"1",icon:Zn,title:"Pick your hardware",price:"$1,000",note:"Windows PC or Apple Mac — same price"},{step:"2",icon:St,title:"Pick your edition",price:"$5,000",note:"Per department · AI Workforce $10,000"},{step:"3",icon:Qe,title:"Extra assistants",price:"$250 each",note:"Add more within the same department"},{step:"4",icon:qn,title:"NEURACARE support",price:"3 months free",note:"Then $250/month — optional"},{step:"5",icon:Qn,title:"NEURAMANAGED",price:"From $1,050/mo",note:"Optional · we run it daily · support included"}],Ah=()=>a.jsx(z,{kicker:"Simple Pricing",children:a.jsxs("div",{className:"grid w-full items-center gap-[3vmin] md:grid-cols-[1.25fr_1fr]",children:[a.jsxs("div",{className:"flex flex-col gap-[1.4vmin]",children:[a.jsxs(v.h2,{...A(0),className:"expo-title font-bold leading-tight",children:["Build your ",a.jsx(F,{children:"NEURABOX"})," ",a.jsx("span",{className:"text-glow-primary",children:"in five steps."})]}),jh.map((e,t)=>a.jsxs(v.div,{...A(.1+t*.08),className:"flex items-center gap-[2vmin] rounded-2xl border border-expo-border bg-expo-surface/80 px-[2.2vmin] py-[1.3vmin]",children:[a.jsx("span",{className:"expo-small flex h-[4.4vmin] w-[4.4vmin] min-h-[28px] min-w-[28px] shrink-0 items-center justify-center rounded-full bg-glow-primary font-bold text-expo-text",children:e.step}),a.jsx(e.icon,{className:"h-[3.2vmin] w-[3.2vmin] min-h-[18px] min-w-[18px] shrink-0 text-claw-blue"}),a.jsxs("div",{className:"min-w-0 flex-1",children:[a.jsx("div",{className:"expo-body font-semibold text-expo-text",children:a.jsx(je,{children:e.title})}),a.jsx("div",{className:"expo-small text-expo-muted",children:e.note})]}),a.jsx("div",{className:"expo-body shrink-0 font-bold text-glow-primary",children:e.price})]},e.step))]}),a.jsxs(v.div,{...A(.5),className:"flex flex-col items-center gap-[1.6vmin] rounded-3xl border border-glow-primary/45 bg-expo-surface/85 p-[3vmin] text-center shadow-[0_0_40px_hsl(var(--glow-primary)/0.18)]",children:[a.jsx("div",{className:"expo-small font-semibold uppercase tracking-[0.2em] text-expo-muted",children:"Most popular setup"}),a.jsx("div",{className:"expo-lead font-semibold",children:"Marketing Machine"}),a.jsx("img",{src:Mt,alt:"NeuraBox Marketing Machine",loading:"eager",decoding:"sync",className:"w-[80%] max-w-[300px] object-contain md:h-[20vmin] md:w-auto"}),a.jsx("div",{className:"expo-small text-expo-muted",children:"$1,000 hardware + $5,000 implementation"}),a.jsx("div",{className:"font-bold text-glow-primary",style:{fontSize:"clamp(2rem, 8vmin, 6rem)",lineHeight:1},children:"$6,000"}),a.jsxs("div",{className:"expo-small text-expo-muted",children:["one time · 3 months of ",a.jsx(je,{children:"NEURACARE"})," included"]}),a.jsxs("div",{className:"expo-small mt-[0.6vmin] rounded-full border border-expo-border px-[2vmin] py-[0.8vmin] text-expo-muted",children:["Also: ",a.jsxs("span",{className:"text-expo-text",children:[a.jsx(je,{children:"NEURAVOICE"})," from $49/mo"]})," · ",a.jsxs("span",{className:"text-expo-text",children:[a.jsx(je,{children:"NEURACLOUD"})," $2,500 + $50/mo"]})," · ",a.jsxs("span",{className:"text-expo-text",children:[a.jsx(je,{children:"NEURACUSTOM"})," from $10,000"]})]})]})]})}),Th=()=>a.jsx(z,{children:a.jsxs("div",{className:"flex w-full flex-col items-center text-center",children:[a.jsx(v.div,{...A(0),className:"expo-kicker mb-[3vmin] rounded-full border border-expo-border bg-expo-surface/80 px-[2.6vmin] py-[1.1vmin] font-bold uppercase tracking-[0.2em] text-expo-muted",children:"Not sure where to begin?"}),a.jsxs(v.h2,{...A(.08),className:"expo-title font-bold",children:["Confused where",a.jsx("br",{}),"to ",a.jsx("span",{className:"text-glow-primary",children:"start"}),"?"]}),a.jsx(v.p,{...A(.18),className:"expo-lead mt-[3vmin] max-w-[58ch] text-expo-muted",children:"Don't worry — we're here to help you decide."}),a.jsxs(v.p,{...A(.26),className:"expo-body mt-[2vmin] max-w-[62
229ch] text-expo-text",children:["We can deep dive into your operations and come up with the right solution for you — normally for a small fee, ",a.jsx("span",{className:"font-bold text-glow-primary",children:"free for a limited time"}),"."]}),a.jsxs(v.div,{...A(.36),className:"mt-[4.5vmin] flex flex-wrap items-center justify-center gap-[2vmin]",children:[a.jsxs("a",{href:Tr,target:"_blank",rel:"noopener noreferrer",className:"expo-body inline-flex items-center gap-[1.2vmin] rounded-full bg-glow-primary px-[3.6vmin] py-[1.8vmin] font-bold text-expo-text transition-transform hover:scale-[1.03]",children:["Book your free deep dive ",a.jsx(dr,{className:"h-[2vmin] w-[2vmin] min-h-[14px] min-w-[14px]"})]}),a.jsx("span",{className:"expo-small rounded-full border border-glow-primary/45 bg-glow-primary/10 px-[2.4vmin] py-[1.2vmin] font-bold uppercase tracking-[0.16em] text-glow-primary",children:"Limited-time offer"})]})]})}),Nh=()=>a.jsx(z,{children:a.jsxs("div",{className:"flex w-full flex-col items-center text-center",children:[a.jsx(v.div,{...A(0),className:"expo-kicker mb-[3vmin] rounded-full border border-glow-primary/40 bg-glow-primary/10 px-[2.6vmin] py-[1.1vmin] font-bold text-glow-primary",children:"Thank you for your time"}),a.jsxs(v.h2,{...A(.08),className:"expo-title font-bold",children:["Let's put AI to work",a.jsx("br",{}),"in your business."]}),a.jsx(v.p,{...A(.18),className:"expo-lead mt-[3vmin] max-w-[58ch] text-expo-muted",children:"Book a 30-minute call and we'll map out exactly which part of your business to start with."}),a.jsxs(v.div,{...A(.3),className:"mt-[4.5vmin] flex flex-col items-center gap-[2.4vmin]",children:[a.jsxs("div",{className:"relative rounded-3xl border border-glow-primary/40 bg-expo-surface p-[2vmin]",children:[a.jsx("div",{className:"absolute inset-0 overflow-hidden rounded-3xl",children:a.jsx("span",{className:"absolute inset-y-0 w-1/3 bg-gradient-to-r from-transparent via-glow-primary/15 to-transparent",style:{animation:"expoSweep 3.4s ease-in-out infinite"}})}),a.jsx("img",{src:qd,alt:"Scan to schedule a call with Neuratic",className:"relative h-[24vmin] w-[24vmin] min-h-[130px] min-w-[130px] rounded-xl bg-expo-text p-[1vmin]"})]}),a.jsx("span",{className:"expo-small uppercase tracking-[0.25em] text-expo-muted",children:"Scan to book your call"}),a.jsxs("a",{href:Tr,target:"_blank",rel:"noopener noreferrer",className:"expo-body inline-flex items-center gap-[1.2vmin] rounded-full bg-glow-primary px-[3.6vmin] py-[1.8vmin] font-bold text-expo-text transition-transform hover:scale-[1.03]",children:["Schedule a call ",a.jsx(dr,{className:"h-[2vmin] w-[2vmin] min-h-[14px] min-w-[14px]"})]}),a.jsx("span",{className:"expo-small text-expo-muted",children:"neuratic.ai · Malibu, California"})]}),a.jsx(v.p,{...A(.4),className:"mt-[3vmin] max-w-[80ch] px-[2vmin] text-[clamp(0.8rem,1.6vmin,1.05rem)] leading-snug text-expo-muted",children:"Anthropic® and the Anthropic logo are trademarks of Anthropic, PBC. Neuratic is an independent company with no direct partnership with Anthropic — we implement Anthropic's AI products for our clients."})]})}),Ch=[{id:"intro",label:"Welcome",Component:eh,duration:9e3},{id:"ecosystem",label:"Ecosystem",Component:th,duration:13e3},{id:"voice",label:"NeuraVoice",Component:nh,duration:11e3},{id:"neurabox",label:"NeuraBox",Component:sh,duration:11e3},{id:"hardware",label:"Pick Your Hardware",Component:ih,duration:12e3},{id:"under-the-hood",label:"Under the Hood",Component:ph,duration:13e3},{id:"marketing",label:"Marketing Machine",Component:oh,duration:11e3},{id:"marketing-benefits",label:"Marketing — Payoff",Component:uh,duration:12e3},{id:"accounting",label:"Accounting Machine",Component:rh,duration:11e3},{id:"accounting-benefits",label:"Accounting — Payoff",Component:dh,duration:12e3},{id:"operations",label:"Operations & HR",Component:ah,duration:11e3},{id:"operations-benefits",label:"Operations — Payoff",Component:hh,duration:12e3},{id:"workforce",label:"AI Workforce",Component:lh,duration:11e3},{id:"workforce-benefits",label:"AI Workforce — Payoff",Component:mh,duration:12e3},{id:"custom-box",label:"Custom Build",Component:ch,duration:11e3},{id:"custom-benefits",label:"Custom Build — Payoff",Component:fh,duration:12e3},{id:"box-vs-human",label:"NeuraBox vs. Human",Component:xh,duration:13e3},{id:"three-ways",label:"Three Ways to Use It",Component:gh,duration:13e3},{id:"managed-nutshell",label:"NEURAMANAGED in a Nutshell",Component:yh,duration:13e3},{id:"oversight",label:"Why NEURAMANAGED",Component:vh,duration:13e3},{id:"assist",label:"NEURAMANAGED",Component:wh,duration:16e3},{id:"assist-process",label:"How Managed Works",Component:bh,duration:14e3},{id:"care",label:"NeuraCare",Component:kh,duration:1e4},{id:"pricing",label:"Pricing",Component:Ah,duration:15e3},{id:"start-here",label:"Confused Where to Start",Component:Th,duration:13e3}
229,{id:"thanks",label:"Thank you",Component:Nh,duration:16e3}],Sh=({deck:e=Ch})=>{const t=e,[n,s]=y.useState(0),[i,r]=y.useState(1),[o,l]=y.useState(!0),[c,d]=y.useState(!1),[u,h]=y.useState(!0),[m,f]=y.useState(!1),p=y.useRef(),g=y.useRef(null);y.useEffect(()=>{const b=[Mt,es,ts,he,ns,he,vr,wr,br,kr,jr,Ar];let M=!0;return Promise.all(b.map(P=>new Promise(C=>{const V=new Image;V.src=P,(V.decode?V.decode():Promise.resolve()).then(()=>C(),()=>C())}))).then(()=>{M&&f(!0)}),()=>{M=!1}},[]);const x=y.useCallback(b=>{r(b),s(M=>(M+b+t.length)%t.length)},[t.length]),w=y.useCallback(b=>{r(b>n?1:-1),s(b)},[n]);y.useEffect(()=>{const b=M=>{var P;M.origin===window.location.origin&&((P=M.data)==null?void 0:P.type)==="deck-play"&&l(!!M.data.playing)};return window.addEventListener("message",b),()=>window.removeEventListener("message",b)},[]),y.useEffect(()=>{if(!o||!m)return;const b=window.setTimeout(()=>x(1),t[n].duration);return()=>window.clearTimeout(b)},[o,m,n,x]);const j=y.useCallback(()=>{var b,M,P;document.fullscreenElement?(P=document.exitFullscreen)==null||P.call(document):(M=(b=document.documentElement).requestFullscreen)==null||M.call(b)},[]);y.useEffect(()=>{const b=P=>{P.key==="ArrowRight"&&(P.preventDefault(),x(1)),P.key==="ArrowLeft"&&(P.preventDefault(),x(-1)),P.key===" "&&(P.preventDefault(),l(C=>!C)),(P.key==="f"||P.key==="F")&&j()},M=()=>d(!!document.fullscreenElement);return window.addEventListener("keydown",b),document.addEventListener("fullscreenchange",M),()=>{window.removeEventListener("keydown",b),document.removeEventListener("fullscreenchange",M)}},[x,j]);const k=y.useCallback(()=>{h(!0),window.clearTimeout(p.current),p.current=window.setTimeout(()=>h(!1),3500)},[]);y.useEffect(()=>(k(),()=>window.clearTimeout(p.current)),[k]),y.useEffect(()=>{document.title=`${n+1}/${t.length} — ${t[n].label} · Neuratic`},[n]);const T=t[n].Component;return a.jsxs("div",{className:"relative h-[100dvh] w-screen select-none overflow-hidden bg-expo-bg",onMouseMove:k,onTouchStart:b=>{k(),g.current={x:b.touches[0].clientX,y:b.touches[0].clientY}},onTouchEnd:b=>{const M=g.current;if(!M)return;const P=b.changedTouches[0].clientX-M.x,C=b.changedTouches[0].clientY-M.y;Math.abs(P)>55&&Math.abs(P)>Math.abs(C)&&x(P<0?1:-1),g.current=null},children:[a.jsx(xu,{mode:"wait",custom:i,children:a.jsx(v.div,{custom:i,initial:{opacity:0,x:i>=0?70:-70,scale:.99},animate:{opacity:1,x:0,scale:1},exit:{opacity:0,x:i>=0?-70:70,scale:.99},transition:{duration:.35,ease:[.22,1,.36,1]},className:"h-full w-full",style:{willChange:"transform, opacity"},children:a.jsx(T,{})},t[n].id)}),a.jsx("button",{"aria-label":"Previous slide",onClick:()=>x(-1),className:"absolute inset-y-0 left-0 z-20 w-[12%] cursor-default opacity-0"}),a.jsx("button",{"aria-label":"Next slide",onClick:()=>x(1),className:"absolute inset-y-0 right-0 z-20 w-[12%] cursor-default opacity-0"}),a.jsxs("div",{className:`absolute bottom-[3vmin] left-1/2 z-40 flex -translate-x-1/2 items-center gap-[1.4vmin] rounded-full border border-expo-border bg-expo-surface/85 px-[2vmin] py-[1.2vmin] transition-opacity duration-500 ${u?"opacity-100":"opacity-0"}`,children:[a.jsx("button",{onClick:()=>x(-1),"aria-label":"Previous",className:"flex h-[4vmin] w-[4vmin] min-h-[34px] min-w-[34px] items-center justify-center rounded-full bg-expo-text/10 text-expo-text transition-colors hover:bg-expo-text/20",children:a.jsx(Pd,{className:"h-[55%] w-[55%]"})}),a.jsx("button",{onClick:()=>l(b=>!b),"aria-label":o?"Pause":"Play",className:"flex h-[5vmin] w-[5vmin] min-h-[40px] min-w-[40px] items-center justify-center rounded-full bg-glow-primary text-expo-text transition-transform hover:scale-105",children:o?a.jsx(Ud,{className:"h-[50%] w-[50%]"}):a.jsx(Wd,{className:"h-[50%] w-[50%]"})}),a.jsx("button",{onClick:()=>x(1),"aria-label":"Next",className:"flex h-[4vmin] w-[4vmin] min-h-[34px] min-w-[34px] items-center justify-center rounded-full bg-expo-text/10 text-expo-text transition-colors hover:bg-expo-text/20",children:a.jsx(Ed,{className:"h-[55%] w-[55%]"})}),a.jsxs("span",{className:"expo-small min-w-[6vmin] text-center font-semibold tabular-nums text-expo-muted",children:[n+1," / ",t.length]}),a.jsx("button",{onClick:j,"aria-label":"Fullscreen",className:"flex h-[4vmin] w-[4vmin] min-h-[34px] min-w-[34px] items-center justify-center rounded-full bg-expo-text/10 text-expo-text transition-colors hover:bg-expo-text/20",children:c?a.jsx(Od,{className:"h-[50%] w-[50%]"}):a.jsx(Id,{className:"h-[50%] w-[50%]"})})]}
229),a.jsx("div",{className:`absolute bottom-[10.5vmin] left-1/2 z-40 hidden -translate-x-1/2 items-center gap-[0.9vmin] transition-opacity duration-500 md:flex ${u?"opacity-100":"opacity-0"}`,children:t.map((b,M)=>a.jsx("button",{onClick:()=>w(M),"aria-label":b.label,className:`h-[0.9vmin] min-h-[6px] rounded-full transition-all ${M===n?"w-[3.5vmin] min-w-[24px] bg-glow-primary":"w-[0.9vmin] min-w-[6px] bg-expo-text/25"}`},b.id))}),a.jsx("div",{className:"absolute inset-x-0 bottom-0 z-40 h-[0.5vmin] min-h-[3px] bg-expo-text/10",children:a.jsx(v.div,{className:"h-full bg-gradient-to-r from-glow-primary to-claw-blue",initial:{width:"0%"},animate:{width:o?"100%":"0%"},transition:{duration:o?t[n].duration/1e3:0,ease:"linear"}},`${n}-${o}`)})]})},Rh=Object.freeze(Object.defineProperty({__proto__:null,default:Sh},Symbol.toStringTag,{value:"Module"}));export{ts as $,dr as A,Cd as B,Md as C,is as D,Sh as E,hr as F,mr as G,fr as H,Hd as I,Ve as J,pr as K,St as L,Ld as M,F as N,gr as O,Wd as P,Pd as Q,Ed as R,z as S,Nh as T,Kd as U,Od as V,Jn as W,Id as X,he as Y,Je as Z,es as _,Mt as a,ns as a0,$d as a1,Zn as a2,jr as a3,qn as a4,eh as a5,Rh as a6,Fd as b,E as c,_d as d,Tr as e,A as f,ih as g,ph as h,uh as i,No as j,tc as k,xu as l,v as m,Qe as n,Ze as o,hn as p,Nt as q,vo as r,Vd as s,Ct as t,je as u,Ud as v,yr as w,Qn as x,Sd as y,Yn as z};

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.