PageSourceSearch

https://settlin.in/_next/static/chunks/0qhxcrn8lto0j.js

js settlin.in collected 2026-10-06 20:28:09 UTC 48,685 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,486976,e=>{"use strict";e.i(435791);var t=e.i(198615),i=e.i(752331),n=e.i(582227),r=e.i(537526),a=e.i(420851),s=e.i(772245),o=e.i(546121),l=e.i(451944),u=e.i(966601),h=e.i(600616);let d=[{img:"/images/home/hero/home_list_search.png",alt:"Search/List",label:"Search/List",width:790/3,height:234},{img:"/images/home/hero/home_visit.png",alt:"Visit",label:"Visit",width:289.5,height:281.5},{img:"/images/home/hero/legal_loan.png",alt:"Legal & Loan",label:"Legal & Loan",width:286,height:344.5},{img:"/images/home/hero/home_settled.png",alt:"Settled",label:"✔︎ Settled",width:335.5,height:338}],c=()=>{let e,n,r,s,l=(0,i.c)(11),[c,p]=(0,o.useState)(0),[f,v]=(0,o.useState)(!0),[g,y]=(0,o.useState)(!1),[x,b]=(0,o.useState)(!1),w=(0,u.useLCPDetection)();l[0]!==w?(e=()=>{let e,t;if(!w)return;let i=()=>y(!0);"requestIdleCallback"in window?t=window.requestIdleCallback(i,{timeout:1200}):e=globalThis.setTimeout(i,300);let n=setTimeout(()=>v(!1),100),r=setInterval(()=>{p(m),b(!1)},3e3);return()=>{clearInterval(r),clearTimeout(n),void 0!==t&&"cancelIdleCallback"in window&&window.cancelIdleCallback(t),void 0!==e&&globalThis.clearTimeout(e)}},n=[w],l[0]=w,l[1]=e,l[2]=n):(e=l[1],n=l[2]),(0,o.useEffect)(e,n);let T=w&&!f,S=T&&g;return l[3]!==c||l[4]!==x||l[5]!==w||l[6]!==T||l[7]!==S?(r=d.map((e,i)=>(0,t.jsx)("div",{className:(0,a.cn)("absolute inset-0 transform transform-gpu",w||0!==i?w?i===c?"opacity-100 translate-x-0 z-20":i<c?"opacity-0 -translate-x-full z-10":"opacity-0 translate-x-full z-10":"opacity-0 translate-x-full z-10":"opacity-100 translate-x-0 z-20"),onMouseEnter:()=>b(!0),onMouseLeave:()=>b(!1),style:{transition:T?"all 1200ms cubic-bezier(0.25, 0.46, 0.45, 0.94)":"none",willChange:T&&i===c?"transform, opacity":"auto"},children:(0,t.jsx)("div",{className:"flex items-center md:items-end justify-center md:justify-end h-full",children:(0,t.jsxs)("div",{className:(0,a.cn)("group/card relative isolate transform-gpu","flex flex-col items-center justify-center","w-[90%] h-[350px] md:h-[400px] lg:h-[450px]","rounded-3xl","border-2 border-accent/30","bg-gradient-to-br from-background via-background/95 to-accent/10","overflow-hidden",S&&"hover:scale-[1.02] hover:border-accent","before:absolute before:inset-0 before:bg-gradient-to-br before:from-accent/5 before:via-accent/10 before:to-accent/20","before:opacity-0",S&&"hover:before:opacity-100",S&&"transition-[transform,border-color,opacity] duration-400"),style:{transition:T?"transform 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94)":"none"},children:[(0,t.jsx)("div",{className:"absolute inset-0 -z-10 bg-[size:200%_200%] opacity-30 transform-gpu",style:{backgroundImage:"linear-gradient(45deg, oklch(var(--accent) / 0.2), oklch(var(--primary) / 0.1), oklch(var(--accent) / 0.2))",animation:T?"gradient-shift 12s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite":"none",willChange:T?"background-position":"auto"}}),(0,t.jsxs)("div",{className:"relative z-10 flex flex-col items-center gap-8",children:[(0,t.jsx)("div",{className:(0,a.cn)("relative w-[150px] md:w-[180px] lg:w-[200px] aspect-square transform-gpu",S&&"transition-transform duration-400"),style:{transition:T?"transform 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94)":"none",transform:S&&x&&i===c?"scale(1.10) rotate(3deg)":"none"},children:(0,t.jsx)(h.default,{src:e.img,alt:e.alt,width:e.width,height:e.height,className:(0,a.cn)("object-contain",S&&"drop-shadow-lg group-hover/card:drop-shadow-2xl transition-[filter] duration-400"),style:{transition:S?"filter 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94)":"none"},priority:0===i,fetchPriority:0===i?"high":"low",loading:0===i?"eager":"lazy",sizes:"(max-width: 768px) 150px, (max-width: 1024px) 180px, 200px",quality:85})}),(0,t.jsx)("span",{className:(0,a.cn)("text-lg md:text-2xl lg:text-3xl font-semibold text-center text-foreground/90",S&&"group-hover/card:font-bold transition-colors duration-400"),style:{transition:S?"color 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94)":"none"},children:e.label})]})]})})},e.label)),l[3]=c,l[4]=x,l[5]=w,l[6]=T,l[7]=S,l[8]=r):r=l[8],l[9]!==r?(s=(0,t.jsx)("div",{className:"relative w-full h-[400px] md:h-[450px] lg:h-[500px] transform-gpu",children:r}),l[9]=r,l[10]=s):s=l[10],s};function m(e){return(e+1)%d.length}var p=e.i(6407),f=e.i(671670);let v=[{value:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"text-base",children:"₹"}),(0,t.jsx)("span",{children:"3,000"})]}),suffix:"cr+",label:"Worth homes sold"},{value:"8,000",suffix:"+",label:"Satisfied customers"},{value:"2 Lakh",suffix:"+",label:"Professional visits"},{value:"4.6",suffix:"/5",label:"Google ratings"}];function g(e,i){return(0,t.jsxs)("div",{className:"text-center md:text-left transform-gpu",role:"group","aria-label":e.label,children:[(0,t.jsx)("div",{className:"flex items-baseline justify-center md:justify-start",children:(0,t.jsxs)("div",{className:"flex items-baseline whitespace-nowrap",children:[(0,t.jsx)("span",{className:"text-2xl sm:text-3xl font-bold text-foreground",children:e.value}),(0,t.jsx)("span",{className:"text-sm sm:text-base font-bold text-primary-700 ml-1",children:e.suffix})]})}),(0,t.jsx)("p",{className:"text-xs sm:text-sm text-foreground mt-1 md:mt-2 leading-tight",children:e.label})]},i)}e.s(["HeroSection",0,()=>{let e,u,h,d,m,y,x,b,w,T,S=(0,i.c)(17),{isAuthenticated:M,isLoading:A}=(0,n.useAuth)(),[C,k]=(0,o.useState)(!1);return S[0]===Symbol.for("react.memo_cache_sentinel")?(e={width:"90dvw",transform:"translateX(calc(50dvw - 50%)) translateZ(0)",color:"oklch(var(--accent) / 0.4)",willChange:"auto"},S[0]=e):e=S[0],S[1]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)("div",{className:"absolute top-0 right-0 h-[300px] sm:h-[400px] md:h-[500px] lg:h-full z-10 pointer-events-none transform-gpu",style:e,children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"995",height:"761",viewBox:"0 0 995 761",fill:"currentColor",className:"absolute top-0 right-0 w-auto h-full min-w-[400px] md:min-w-[600px] lg:min-w-[995px]",preserveAspectRatio:"xMaxYMin meet",children:(0,t.jsx)("path",{opacity:"0.7",d:"M242 294C-13.6122 245.186 -23.1432 98.5289 19.7281 0H995V760.5C758 760.5 567 702 497 584.5C427 467 497.613 342.814 242 294Z"})})}),S[1]=u):u=S[1],S[2]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsxs)("div",{className:"mb-4 md:mb-6",children:[(0,t.jsx)("h1",{className:(0,a.cn)("text-3xl md:text-5xl font-semibold leading-tight md:leading-none mb-2 text-center md:text-left","bg-linear-to-r from-primary to-accent bg-clip-text text-transparent","animate-[fade-in-up_0.8s_ease-out_forwards]"),children:"Buy or Sell"}),(0,t.jsx)("h2",{className:(0,a.cn)("text-xl md:text-2xl font-semibold text-foreground leading-tight md:leading-none text-center md:text-left","animate-[fade-in-up_1s_ease-out_forwards]"),children:"property easily with Settlin"})]}),S[2]=h):h=S[2],S[3]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("span",{className:"text-xs text-primary-700/80 font-normal",children:"-"}),S[3]=d):d=S[3],S[4]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)("div",{className:"flex flex-col h-full pt-4 md:pt-12 lg:pt-16 md:col-start-1 md:row-start-1",children:(0,t.jsxs)("div",{className:"flex-1 flex flex-col relative z-40",children:[h,(0,t.jsxs)("p",{className:"text-base md:text-lg font-bold mb-6 max-w-[635px] text-center md:text-left",children:[(0,t.jsxs)("span",{className:"text-primary-700",children:["Settl",d,"in or Settl",(0,t.jsx)("span",{className:"text-xs text-primary-700/80 font-normal",children:"-"}),"it."," "]}),(0,t.jsx)("span",{className:"text-foreground",children:"Search to Sale-deed"})]})]})}),S[4]=m):m=S[4],S[5]===Symbol.for("react.memo_cache_sentinel")?(y=(0,t.jsx)("div",{className:"w-full md:col-start-2 md:row-span-2 md:flex md:flex-col md:max-w-[600px] md:pt-12 lg:pt-16",children:(0,t.jsx)(c,{})}),S[5]=y):y=S[5],S[6]!==C||S[7]!==A||S[8]!==M?(x=(0,t.jsx)("div",{className:"mb-8",children:C?(0,t.jsx)("div",{className:"max-w-[746px] animate-[fade-in-up_0.25s_ease-out_forwards]",children:(0,t.jsx)(r.UrlFiltersProvider,{children:(0,t.jsx)(l.NaturalLanguageSearch,{})})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(f.SearchSection,{isLoggedIn:!A&&M}),(0,t.jsx)("div",{className:"mt-3",children:(0,t.jsxs)("button",{type:"button",onClick:()=>k(!0),className:(0,a.cn)("inline-flex items-center gap-2 px-4 py-2 rounded-full text-sm font-medium","border border-primary/40 text-primary hover:bg-primary/5 transition-colors"),children:[(0,t.jsx)(s.Sparkles,{className:"w-4 h-4","aria-hidden":"true"}),"Try AI Search",(0,t.jsx)("span",{className:"text-[10px] font-semibold uppercase tracking-wide bg-primary/10 text-primary px-1.5 py-0.5 rounded-full",children:"Beta"})]})})]})}),S[6]=C,S[7]=A,S[8]=M,S[9]=x):x=S[9],S[10]!==A||S[11]!==M?(b=!A&&M&&(0,t.jsx)("div",{className:"mb-8",children:(0,t.jsx)(p.DynamicHeroPreferencesSection,{})}),S[10]=A,S[11]=M,S[12]=b):b=S[12],S[13]===Symbol.for("react.memo_cache_sentinel")?(w=(0,t.jsx)("div",{className:"mb-8 -z-10",id:"statistics",children:(0,t.jsx)("div",{className:"grid grid-cols-2 xl:grid-cols-4 gap-3 md:gap-6 xl:gap-6",children:v.map(g)})}),S[13]=w):w=S[13],S[14]!==x||S[15]!==b?(T=(0,t.jsxs)("section",{className:"w-full min-h-[calc(100vh-64px)] md:min-
1h-[calc(100vh-80px)] bg-background mx-auto overflow-hidden transform-gpu",children:[u,(0,t.jsxs)("div",{className:"relative z-30 h-full max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4 md:py-8 grid grid-cols-1 md:grid-cols-[minmax(0,1fr)_minmax(320px,600px)] md:items-start md:gap-8",children:[m,y,(0,t.jsxs)("div",{className:"flex flex-col relative z-40 md:col-start-1 md:row-start-2",children:[x,b,w]})]})]}),S[14]=x,S[15]=b,S[16]=T):T=S[16],T}],486976)},734422,e=>{"use strict";var t=e.i(198615),i=e.i(546121),n=e.i(399765),r=e.i(927353);function a(e){return"function"==typeof e}e.s(["LazyMotion",0,function({children:e,features:s,strict:o=!1}){let[,l]=(0,i.useState)(!a(s)),u=(0,i.useRef)(void 0);if(!a(s)){let{renderer:e,...t}=s;u.current=e,(0,r.loadFeatures)(t)}return(0,i.useEffect)(()=>{a(s)&&s().then(({renderer:e,...t})=>{(0,r.loadFeatures)(t),u.current=e,l(!0)})},[]),(0,t.jsx)(n.LazyContext.Provider,{value:{renderer:u.current,strict:o},children:e})}])},849060,e=>{"use strict";class t{constructor(e){this.isMounted=!1,this.node=e}update(){}}var i=e.i(161560);function n(e,t,n){let r=e.getProps();return(0,i.resolveVariantFromProps)(r,t,void 0!==n?n:r.custom,e)}function r(e,t){if(e?.inherit&&t){let{inherit:i,...n}=e;return{...t,...n}}return e}function a(e,t){let i=e?.[t]??e?.default??e;return i!==e?r(i,e):i}var s=e.i(324032);let o=new Set(["width","height","top","left","right","bottom",...s.transformPropOrder]);var l=e.i(702915);let u=e=>Array.isArray(e);var h=e.i(926490),d=e.i(236585),c=e.i(329957),m=e.i(490692),p=e.i(470919),f=e.i(957798);e.i(435791);let v=(e,t)=>i=>t(e(i)),g=(...e)=>e.reduce(v);var y=e.i(493858),x=e.i(431772),b=e.i(26809),w=e.i(282466),T=e.i(33795),S=e.i(929289),M=e.i(831388),A=e.i(369844);function C(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}var k=e.i(919496);function V(e,t){return i=>i>0?t:e}var P=e.i(870820);let j=(e,t,i)=>{let n=e*e,r=i*(t*t-n)+n;return r<0?0:Math.sqrt(r)},N=[M.hex,k.rgba,A.hsla];function E(e){let t=N.find(t=>t.test(e));if((0,b.warning)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let i=t.parse(e);return t===A.hsla&&(i=function({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,i/=100;let r=0,a=0,s=0;if(t/=100){let n=i<.5?i*(1+t):i+t-i*t,o=2*i-n;r=C(o,n,e+1/3),a=C(o,n,e),s=C(o,n,e-1/3)}else r=a=s=i;return{red:Math.round(255*r),green:Math.round(255*a),blue:Math.round(255*s),alpha:n}}(i)),i}let L=(e,t)=>{let i=E(e),n=E(t);if(!i||!n)return V(e,t);let r={...i};return e=>(r.red=j(i.red,n.red,e),r.green=j(i.green,n.green,e),r.blue=j(i.blue,n.blue,e),r.alpha=(0,P.mixNumber)(i.alpha,n.alpha,e),k.rgba.transform(r))},O=new Set(["none","hidden"]);function D(e,t){return i=>(0,P.mixNumber)(e,t,i)}function F(e){return"number"==typeof e?D:"string"==typeof e?(0,w.isCSSVariableToken)(e)?V:T.color.test(e)?L:z:Array.isArray(e)?I:"object"==typeof e?T.color.test(e)?L:_:V}function I(e,t){let i=[...e],n=i.length,r=e.map((e,i)=>F(e)(e,t[i]));return e=>{for(let t=0;t<n;t++)i[t]=r[t](e);return i}}function _(e,t){let i={...e,...t},n={};for(let r in i)void 0!==e[r]&&void 0!==t[r]&&(n[r]=F(e[r])(e[r],t[r]));return e=>{for(let t in n)i[t]=n[t](e);return i}}let z=(e,t)=>{let i=S.complex.createTransformer(t),n=(0,S.analyseComplexValue)(e),r=(0,S.analyseComplexValue)(t);if(!(n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length))return(0,b.warning)(!0,`Complex values '${e}' and '${t}' 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"),V(e,t);if(O.has(e)&&!r.values.length||O.has(t)&&!n.values.length)return O.has(e)?i=>i<=0?e:t:i=>i>=1?t:e;return g(I(function(e,t){let i=[],n={color:0,var:0,number:0};for(let r=0;r<t.values.length;r++){let a=t.types[r],s=e.indexes[a][n[a]],o=e.values[s]??0;i[r]=o,n[a]++}return i}(n,r),r.values),i)};function R(e,t,i){return"number"==typeof e&&"number"==typeof t&&"number"==typeof i?(0,P.mixNumber)(e,t,i):F(e)(e,t)}var K=e.i(967682);let B=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>K.frame.update(t,e),stop:()=>(0,K.cancelFrame)(t),now:()=>K.frameData.isProcessing?K.frameData.timestamp:f.time.now()}};var G=e.i(560926);function q(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}let H=.01,W=2,U=.005,$=.5;function Y(e,t){return e*Math.sqrt(1-t*t)}let X=["duration","bounce"],Z=["stiffness","damping","mass"];function J(e,t){return t.some(t=>void 0!==e[t])}function Q(e=.3,t=.3){let i,n,r,a,s,o,l="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:u,restDelta:h}
1=l,d=l.keyframes[0],c=l.keyframes[l.keyframes.length-1],p={done:!1,value:d},{stiffness:f,damping:v,mass:g,duration:x,velocity:w,isResolvedFromDuration:T}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!J(e,Z)&&J(e,X))if(t.velocity=0,e.visualDuration){let i=2*Math.PI/(1.2*e.visualDuration),n=i*i,r=2*(0,y.clamp)(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:1,stiffness:n,damping:r}}else{let i=function({duration:e=800,bounce:t=.3,velocity:i=0,mass:n=1}){let r,a;(0,b.warning)(e<=(0,m.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=(0,y.clamp)(.05,1,s),e=(0,y.clamp)(.01,10,(0,m.millisecondsToSeconds)(e)),s<1?(r=t=>{let n=t*s,r=n*e;return .001-(n-i)/Y(t,s)*Math.exp(-r)},a=t=>{let n=t*s*e,a=Math.pow(s,2)*Math.pow(t,2)*e,o=Math.exp(-n),l=Y(Math.pow(t,2),s);return(n*i+i-a)*o*(-r(t)+.001>0?-1:1)/l}):(r=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),a=t=>e*e*(i-t)*Math.exp(-t*e));let o=function(e,t,i){let n=i;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(r,a,5/e);if(e=(0,m.secondsToMilliseconds)(e),isNaN(o))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(o,2)*n;return{stiffness:t,damping:2*s*Math.sqrt(n*t),duration:e}}}({...e,velocity:0});(t={...t,...i,mass:1}).isResolvedFromDuration=!0}return t}({...l,velocity:-(0,m.millisecondsToSeconds)(l.velocity||0)}),S=w||0,M=v/(2*Math.sqrt(f*g)),A=c-d,C=(0,m.millisecondsToSeconds)(Math.sqrt(f/g)),k=5>Math.abs(A);if(u||(u=k?H:W),h||(h=k?U:$),M<1)r=Y(C,M),a=(S+M*C*A)/r,i=e=>c-Math.exp(-M*C*e)*(a*Math.sin(r*e)+A*Math.cos(r*e)),s=M*C*a+A*r,o=M*C*A-a*r,n=e=>Math.exp(-M*C*e)*(s*Math.sin(r*e)+o*Math.cos(r*e));else if(1===M){i=e=>c-Math.exp(-C*e)*(A+(S+C*A)*e);let e=S+C*A;n=t=>Math.exp(-C*t)*(C*e*t-S)}else{let e=C*Math.sqrt(M*M-1);i=t=>{let i=Math.exp(-M*C*t),n=Math.min(e*t,300);return c-i*((S+M*C*A)*Math.sinh(n)+e*A*Math.cosh(n))/e};let t=(S+M*C*A)/e,r=M*C*t-A*e,a=M*C*A-t*e;n=t=>{let i=Math.exp(-M*C*t),n=Math.min(e*t,300);return i*(r*Math.sinh(n)+a*Math.cosh(n))}}let V={calculatedDuration:T&&x||null,velocity:e=>(0,m.secondsToMilliseconds)(n(e)),next:e=>{if(!T&&M<1){let t=Math.exp(-M*C*e),i=Math.sin(r*e),n=Math.cos(r*e),l=c-t*(a*i+A*n);return p.done=Math.abs((0,m.secondsToMilliseconds)(t*(s*i+o*n)))<=u&&Math.abs(c-l)<=h,p.value=p.done?c:l,p}let t=i(e);return T?p.done=e>=x:p.done=Math.abs((0,m.secondsToMilliseconds)(n(e)))<=u&&Math.abs(c-t)<=h,p.value=p.done?c:t,p},toString:()=>{let e=Math.min(q(V),2e4),t=(0,G.generateLinearEasing)(t=>V.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return V}Q.applyToOptions=e=>{let t=function(e,t=100,i){let n=i({...e,keyframes:[0,t]}),r=Math.min(q(n),2e4);return{type:"keyframes",ease:e=>n.next(r*e).value/t,duration:(0,m.millisecondsToSeconds)(r)}}(e,100,Q);return e.ease=t.ease,e.duration=(0,m.secondsToMilliseconds)(t.duration),e.type="keyframes",e};var ee=e.i(921692);function et(e,t,i){let n=Math.max(t-5,0);return(0,ee.velocityPerSecond)(i-e(n),t-n)}function ei({keyframes:e,velocity:t=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:a=500,modifyTarget:s,min:o,max:l,restDelta:u=.5,restSpeed:h}){let d,c,m=e[0],p={done:!1,value:m},f=i*t,v=m+f,g=void 0===s?v:s(v);g!==v&&(f=g-m);let y=e=>-f*Math.exp(-e/n),x=e=>g+y(e),b=e=>{let t=y(e),i=x(e);p.done=Math.abs(t)<=u,p.value=p.done?g:i},w=e=>{let t;if(t=p.value,void 0!==o&&t<o||void 0!==l&&t>l){var i;d=e,c=Q({keyframes:[p.value,(i=p.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:et(x,e,p.value),damping:r,stiffness:a,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return(c||void 0!==d||(t=!0,b(e),w(e)),void 0!==d&&e>=d)?c.next(e-d):(t||b(e),p)}}}let en=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function er(e,t,i,n){return e===t&&i===n?p.noop:r=>0===r||1===r?r:en(function(e,t,i,n,r){let a,s,o=0;do(a=en(s=t+(i-t)/2,n,r)-e)>0?i=s:t=s;while(Math.abs(a)>1e-7&&++o<12)return s}(r,0,1,e,i),t,n)}let ea=er(.42,0,1,1),es=er(0,0,.58,1),eo=er(.42,0,.58,1),el=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,eu=e=>t=>1-e(1-t),eh=er(.33,1.53,.69,.99),ed=eu(eh),ec=el(ed),em=e=>e>=1?1:(e*=2)<1?.5*ed(e):.5*(2-Math.pow(2,-10*(e-1))),ep=e=>1-Math.sin(Math.acos(e)),ef=eu(ep),ev=el(ep);var eg=e.i(828301);let ey={linear:p.noop,easeIn:ea,easeInOut:eo,easeOut:es,circIn:ep,circInOut:ev,circOut:ef,backIn:ed,backInOut:ec,backOut:eh,anticipate:em},ex=e=>{if((0,eg.isBezierDefinition)(e)){(0,b.invariant)(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,i,n,r]=e;
1return er(t,i,n,r)}return"string"==typeof e?((0,b.invariant)(void 0!==ey[e],`Invalid easing type '${e}'`,"invalid-easing-type"),ey[e]):e},eb=(e,t,i)=>{let n=t-e;return 0===n?1:(i-e)/n};function ew({duration:e=300,keyframes:t,times:i,ease:n="easeInOut"}){var r;let a,s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(ex):ex(n),o={done:!1,value:t[0]},l=function(e,t,{clamp:i=!0,ease:n,mixer:r}={}){let a=e.length;if((0,b.invariant)(a===t.length,"Both input and output ranges must be the same length","range-length"),1===a)return()=>t[0];if(2===a&&t[0]===t[1])return()=>t[1];let s=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let o=function(e,t,i){let n=[],r=i||h.MotionGlobalConfig.mix||R,a=e.length-1;for(let i=0;i<a;i++){let a=r(e[i],e[i+1]);t&&(a=g(Array.isArray(t)?t[i]||p.noop:t,a)),n.push(a)}return n}(t,n,r),l=o.length,u=i=>{if(s&&i<e[0])return t[0];let n=0;if(l>1)for(;n<e.length-2&&!(i<e[n+1]);n++);let r=eb(e[n],e[n+1],i);return o[n](r)};return i?t=>u((0,y.clamp)(e[0],e[a-1],t)):u}((r=i&&i.length===t.length?i:(!function(e,t){let i=e[e.length-1];for(let n=1;n<=t;n++){let r=eb(0,t,n);e.push((0,P.mixNumber)(i,1,r))}}(a=[0],t.length-1),a),r.map(t=>t*e)),t,{ease:Array.isArray(s)?s:t.map(()=>s||eo).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=l(t),o.done=t>=e,o)}}var eT=e.i(168741);let eS={decay:ei,inertia:ei,tween:ew,keyframes:ew,spring:Q};function eM(e){"string"==typeof e.type&&(e.type=eS[e.type])}var eA=e.i(796402);let eC=e=>e/100;class ek extends eA.WithPromise{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==f.time.now()&&this.tick(f.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},x.activeAnimations.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;eM(e);let{type:t=ew,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:a=0}=e,{keyframes:s}=e,o=t||ew;o!==ew&&"number"!=typeof s[0]&&(this.mixKeyframes=g(eC,R(s[0],s[1])),s=[0,100]);let l=o({...e,keyframes:s});"mirror"===r&&(this.mirroredGenerator=o({...e,keyframes:[...s].reverse(),velocity:-a})),null===l.calculatedDuration&&(l.calculatedDuration=q(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let i,{generator:n,totalDuration:r,mixKeyframes:a,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:h,repeat:d,repeatType:c,repeatDelay:m,type:p,onUpdate:f,finalKeyframe:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let b=this.currentTime,w=n;if(d){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,d+1))%2&&("reverse"===c?(i=1-i,m&&(i-=m/o)):"mirror"===c&&(w=s)),b=(0,y.clamp)(0,1,i)*o}x?(this.delayState.value=h[0],i=this.delayState):i=w.next(b),a&&!x&&(i.value=a(i.value));let{done:T}=i;x||null===l||(T=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&T);return S&&p!==ei&&(i.value=(0,eT.getFinalKeyframe)(h,this.options,v,this.speed)),f&&f(i.value),S&&this.finish(),i}then(e,t){return this.finished.then(e,t)}get duration(){return(0,m.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,m.millisecondsToSeconds)(e)}get time(){return(0,m.millisecondsToSeconds)(this.currentTime)}set time(e){e=(0,m.secondsToMilliseconds)(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return et(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(f.time.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=(0,m.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=B,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=t??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(f.time.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,x.activeAnimations.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}var eV=e.i(369379),eP=e.i(119058),ej=e.i(105110);let eN={anticipate:em,backInOut:ec,circInOut:ev};class eE extends ej.NativeAnimation{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in eN&&(e.ease=eN[e.ease])}(e),eM(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:i,onComplete:n,element:r,...a}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let s=new ek({...a,autoplay:!1}),o=Math.max(10,f.time.now()-this.startTime),l=(0,y.clamp)(0,10,o-10),u=s.sample(o).value,{name:h}=this.options;r&&h&&(0,eP.setStyle)(r,h,u),t.setWithVelocity(s.sample(Math.max(0,o-l)).value,u,l),s.stop()}}var eL=e.i(181142);let eO=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(S.complex.test(e)||"0"===e)&&!e.startsWith("url("));function eD(e){e.duration=0,e.type="keyframes"}var eF=eA,eI=e.i(287120),e_=e.i(290932);let ez=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,eR=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),eK=(0,eI.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class eB extends eF.WithPromise{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:a="loop",keyframes:s,name:o,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=f.time.now();const d={autoplay:e,delay:t,type:i,repeat:n,repeatDelay:r,repeatType:a,name:o,motionValue:l,element:u,...h},c=u?.KeyframeResolver||eV.KeyframeResolver;this.keyframeResolver=new c(s,(e,t,i)=>this.onKeyframesResolved(e,t,d,!i),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,i,n){let r;this.keyframeResolver=void 0;let{name:a,type:s,velocity:o,delay:l,isHandoff:u,onUpdate:d}=i;this.resolvedAt=f.time.now();let c=!0;!function(e,t,i,n){let r=e[0];if(null===r)return!1;if("display"===t||"visibility"===t)return!0;let a=e[e.length-1],s=eO(r,t),o=eO(a,t);return(0,b.warning)(s===o,`You are trying to animate ${t} from "${r}" to "${a}". "${s?a:r}" is not an animatable value.`,"value-not-animatable"),!!s&&!!o&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(e)||("spring"===i||(0,eL.isGenerator)(i))&&n)}(e,a,s,o)&&(c=!1,(h.MotionGlobalConfig.instantAnimations||!l)&&d?.((0,eT.getFinalKeyframe)(e,i,t)),e[0]=e[e.length-1],eD(i),i.repeat=0);let m={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...i,keyframes:e},v=c&&!u&&function(e){let{motionValue:t,name:i,repeatDelay:n,repeatType:r,damping:a,type:s,keyframes:o}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;
1let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return eK()&&i&&(e_.acceleratedValues.has(i)||eR.has(i)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&ez.test(e[t]))return!0;return!1}(o))&&("transform"!==i||!u)&&!l&&!n&&"mirror"!==r&&0!==a&&"inertia"!==s}(m),g=m.motionValue?.owner?.current;if(v)try{r=new eE({...m,element:g})}catch{r=new ek(m)}else r=new ek(m);r.finished.then(()=>{this.notifyFinished()}).catch(p.noop),this.pendingTimeline&&(this.stopTimeline=r.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=r}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,eV.flushKeyframeResolvers)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let eG={type:"spring",stiffness:500,damping:25,restSpeed:10},eq={type:"keyframes",duration:.8},eH={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},eW=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),eU=(e,t,i,n={},r,o)=>l=>{let u=a(n,e)||{},d=u.delay||n.delay||0,{elapsed:c=0}=n;c-=(0,m.secondsToMilliseconds)(d);let p={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:t.getVelocity(),...u,delay:-c,onUpdate:e=>{t.set(e),u.onUpdate&&u.onUpdate(e)},onComplete:()=>{l(),u.onComplete&&u.onComplete()},name:e,motionValue:t,element:o?void 0:r};!function(e){for(let t in e)if(!eW.has(t))return!0;return!1}(u)&&Object.assign(p,((e,{keyframes:t})=>t.length>2?eq:s.transformProps.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:eG:eH)(e,p)),p.duration&&(p.duration=(0,m.secondsToMilliseconds)(p.duration)),p.repeatDelay&&(p.repeatDelay=(0,m.secondsToMilliseconds)(p.repeatDelay)),void 0!==p.from&&(p.keyframes[0]=p.from);let f=!1;if(!1!==p.type&&(0!==p.duration||p.repeatDelay)||(eD(p),0===p.delay&&(f=!0)),(h.MotionGlobalConfig.instantAnimations||h.MotionGlobalConfig.skipAnimations||r?.shouldSkipAnimations)&&(f=!0,eD(p),p.delay=0),p.allowFlatten=!u.type&&!u.ease,f&&!o&&void 0!==t.get()){let e=(0,eT.getFinalKeyframe)(p.keyframes,u);if(void 0!==e)return void K.frame.update(()=>{p.onUpdate(e),p.onComplete()})}return u.isSync?new ek(p):new eB(p)};function e$(e,t,{delay:i=0,transitionOverride:s,type:m}={}){let{transition:p,transitionEnd:f,...v}=t,g=e.getDefaultTransition();p=p?r(p,g):g;let y=p?.reduceMotion;s&&(p=s);let x=[],b=m&&e.animationState&&e.animationState.getState()[m];for(let t in v){let n=e.getValue(t,e.latestValues[t]??null),r=v[t];if(void 0===r||b&&function({protectedKeys:e,needsAnimating:t},i){let n=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,n}(b,t))continue;let s={delay:i,...a(p||{},t)},l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(r)&&r===l&&!s.velocity){K.frame.update(()=>n.set(r));continue}let u=!1;if(window.MotionHandoffAnimation){let i=e.props[c.optimizedAppearDataAttribute];if(i){let e=window.MotionHandoffAnimation(i,t,K.frame);null!==e&&(s.startTime=e,u=!0)}}!function(e,t){let i=e.getValue("willChange");if((0,d.isMotionValue)(i)&&i.add)return i.add(t);if(!i&&h.MotionGlobalConfig.WillChange){let i=new h.MotionGlobalConfig.WillChange("auto");e.addValue("willChange",i),i.add(t)}}(e,t);let m=y??e.shouldReduceMotion;n.start(eU(t,n,r,m&&o.has(t)?{type:!1}:s,e,u));let f=n.animation;f&&x.push(f)}if(f){let t=()=>K.frame.update(()=>{f&&function(e,t){let{transitionEnd:i={},transition:r={},...a}=n(e,t)||{};for(let t in a={...a,...i}){var s;let i=u(s=a[t])?s[s.length-1]||0:s;e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,(0,l.motionValue)(i))}}(e,f)});x.length?Promise.all(x).then(t):t()}return x}function eY(e,t,i,n=0,r=1){let a=Array.from(e).sort((e,t)=>
1e.sortNodePosition(t)).indexOf(t),s=e.size,o=(s-1)*n;return"function"==typeof i?i(a,s):1===r?a*n:o-a*n}function eX(e,t,i={}){let r=n(e,t,"exit"===i.type?e.presenceContext?.custom:void 0),{transition:a=e.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(a=i.transitionOverride);let s=r?()=>Promise.all(e$(e,r,i)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:s,staggerDirection:o}=a;return function(e,t,i=0,n=0,r=0,a=1,s){let o=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),o.push(eX(l,t,{...s,delay:i+("function"==typeof n?0:n)+eY(e.variantChildren,l,n,r,a)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(o)}(e,t,n,r,s,o,i)}:()=>Promise.resolve(),{when:l}=a;if(!l)return Promise.all([s(),o(i.delay)]);{let[e,t]="beforeChildren"===l?[s,o]:[o,s];return e().then(()=>t())}}var eZ=e.i(786843),eJ=e.i(16919);let eQ=eJ.variantProps.length;var e0=e.i(991363);function e1(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}let e2=[...eJ.variantPriorityOrder].reverse(),e4=eJ.variantPriorityOrder.length;function e5(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function e3(){return{animate:e5(!0),whileInView:e5(),whileHover:e5(),whileTap:e5(),whileDrag:e5(),whileFocus:e5(),exit:e5()}}let e6=0;var e9=e.i(427772);function e8(e,t){let i=(0,e9.resolveElements)(e),n=new AbortController;return[i,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function e7(e){return{point:{x:e.pageX,y:e.pageY}}}function te(e,t,i){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&K.frame.postRender(()=>r(t,e7(t)))}function tt(e,t,i,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i)}var ti=e.i(250438);let tn=(e,t)=>!!t&&(e===t||tn(e,t.parentElement)),tr=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),ta=new WeakSet;function ts(e){return t=>{"Enter"===t.key&&e(t)}}function to(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function tl(e){return"mouse"===e.pointerType?"number"!=typeof e.button||!!(e.button<=0):!1!==e.isPrimary}let tu=new WeakSet;function th(e,t,i){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&K.frame.postRender(()=>r(t,e7(t)))}let td=new WeakMap,tc=new WeakMap,tm=e=>{let t=td.get(e.target);t&&t(e)},tp=e=>{e.forEach(tm)},tf={some:0,all:1};var tv=e.i(707273),tg=e.i(427684),ty=e.i(339484),tx=e.i(932255);let tb=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var tw=eV,tT=e.i(735142),tS=e.i(808557);let tM=new Set(["auto","none","0"]);var tA=e.i(189863);class tC extends tw.KeyframeResolver{constructor(e,t,i,n,r){super(e,t,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:i}=this;if(!t||!t.current)return;super.readKeyframes();for(let i=0;i<e.length;i++){let n=e[i];if("string"==typeof n&&(n=n.trim(),(0,w.isCSSVariableToken)(n))){let r=function e(t,i,n=1){(0,b.invariant)(n<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,a]=function(e){let t=tb.exec(e);if(!t)return[,];let[,i,n,r]=t;return[`--${i??n}`,r]}(t);if(!r)return;let s=window.getComputedStyle(i).getPropertyValue(r);if(s){let e=s.trim();return(0,tx.isNumericalString)(e)?parseFloat(e):e}return(0,w.isCSSVariableToken)(a)?e(a,i,n+1):a}(n,t.current);void 0!==r&&(e[i]=r),i===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!o.has(i)||2!==e.length)return;let[n,r]=e,a=(0,ty.findDimensionValueType)(n),s=(0,ty.findDimensionValueType)(r);if((0,w.containsCSSVariable)(n)!==(0,w.containsCSSVariable)(r)&&tA.positionalValues[i]){this.needsMeasurement=!0;return}if(a!==s)if((0,tA.isNumOrPxType)(a)&&(0,tA.isNumOrPxType)(s))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else tA.positionalValues[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,i=[];for(let t=0;t<e.length;t++){var n;(null===e[t]||("number"==typeof(n=e[t])?0===n:null===n||"none"===n||"0"===n||(0,tT.isZeroValueString)(n)))&&i.push(t)}i.length&&function(e,t,i){let n,r=0;for(;r<e.length&&!n;){let t=e[r];"string"==typeof t&&!tM.has(t)&&(0,S.analyseComplexValue)(t).values.length&&(n=e[r]),r++}if(n&&i)for(let r of t)e[r]=(0,tS.getAnimatableNone)(i,n)}(e,i,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tA.positionalValues[i](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(i,n).jump(n,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,a=i[r];i[r]=tA.positionalValues[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}var tk=e.i(96819);class tV extends tk.VisualElement{constructor(){super(...arguments),this.KeyframeResolver=tC}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let i=e.style;return i?i[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,d.isMotionValue)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}var tP=e.i(488599),tj=e.i(348971);let tN=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"]);var tE=e.i(604445);function tL(e,{style:t,vars:i},n,r){let a,s=e.style;for(a in t)s[a]=t[a];for(a in r?.applyProjectionStyles(s,n),i)s.setProperty(a,i[a])}var tO=e.i(742917);class tD extends tV{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tg.createBox}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(s.transformProps.has(t)){let e=(0,tv.getDefaultValueType)(t);return e&&e.default||0}return t=tN.has(t)?t:(0,tP.camelToDash)(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,i){return(0,tO.scrapeMotionValuesFromProps)(e,t,i)}build(e,t,i){(0,tj.buildSVGAttrs)(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,n){for(let i in tL(e,t,void 0,n),t.attrs)e.setAttribute(tN.has(i)?i:(0,tP.camelToDash)(i),t.attrs[i])}mount(e){this.isSVGTag=(0,tE.isSVGTag)(e.tagName),super.mount(e)}}var tF=e.i(433639),tI=e.i(19563),t_=e.i(645744);class tz extends tV{constructor(){super(...arguments),this.type="html",this.renderInstance=tL}readValueFromInstance(e,t){if(s.transformProps.has(t))return this.projection?.isProjecting?(0,tF.defaultTransformValue)(t):(0,tF.readTransformValue)(e,t);{let i=window.getComputedStyle(e),n=((0,w.isCSSVariableName)(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return function({top:e,left:t,right:i,bottom:n}){return{x:{min:t,max:i},y:{min:e,max:n}}}(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}build(e,t,i){(0,tI.buildHTMLStyles)(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return(0,t_.scrapeMotionValuesFromProps)(e,t,i)}}var tR=e.i(546121),tK=e.i(442609);e.s(["domAnimation",0,{renderer:(e,t)=>t.isSVG??(0,tK.isSVGComponent)(e)?new tD(t):new tz(t,{allowProjection:e!==tR.Fragment}),animation:{Feature:class extends t{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:i})=>(function(e,t,i={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>eX(e,t,i)));else if("string"==typeof t)r=eX(e,t,i);else{let a="function"==typeof t?n(e,t,i.custom):t;r=Promise.all(e$(e,a,i))}return r.then(()=>{e.notify("AnimationComplete",t)})})(e,t,i))),i=e3(),r=!0,a=!1,s=t=>(i,r)=>{let a=n(e,r,"exit"===t?e.presenceContext?.custom:void 0);if(a){let{transition:e,transitionEnd:t,...n}=a;i={...i,...n,...t}}return i};function o(o){let{props:l}=e,h=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;e<eQ;e++){let n=eJ.variantProps[e],r=t.props[n];((0,eZ.isVariantLabel)(r)||!1===r)&&(i[n]=r)}return i}(e.parent)||{},d=[],c=new Set,m={},p=1/0;for(let t=0;t<e4;t++){var f,v;let g=e2[t],y=i[g],x=void 0!==l[g]?l[g]:h[g],b=(0,eZ.isVariantLabel)(x),w=g===o?y.isActive:null;!1===w&&(p=t);let T=x===h[g]&&x!==l[g]&&b;if(T&&(r||a)&&e.manuallyAnimateOnMount&&(T=!1),y.protectedKeys={...m},!y.isActive&&null===w||!x&&!y.prevProp||(0,e0.isAnimationControls)(x)||"boolean"==typeof x)continue;if("exit"===g&&y.isActive&&!0!==w){y.prevResolvedValues&&(m={...m,...y.prevResolvedValues});continue}let S=(f=y.prevProp,"string"==typeof(v=x)?v!==f:!!Array.isArray(v)&&!e1(v,f)),M=S||g===o&&y.isActive&&!T&&b||t>p&&b,A=!1,C=Array.isArray(x)?x:[x],k=C.reduce(s(g),{});!1===w&&(k={});let{prevResolvedValues:V={}}=y,P={...V,...k},j=t=>{M=!0,c.has(t)&&(A=!0,c.delete(t)),y.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in P){let t=k[e],i=V[e];if(!m.hasOwnProperty(e))(u(t)&&u(i)?e1(t,i):t===i)?void 0!==t&&c.has(e)?j(e):y.protectedKeys[e]=!0:null!=t?j(e):c.add(e)}y.prevProp=x,y.prevResolvedValues=k,y.isActive&&(m={...m,...k}),(r||a)&&e.blockInitialAnimation&&(M=!1);let N=T&&S,E=!N||A;M&&E&&d.push(...C.map(t=>{let i={type:g};if("string"==typeof t&&(r||a)&&!N&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,a=n(r,t);if(r.enteringChildren&&a){let{delayChildren:t}=a.transition||{};i.delay=eY(r.enteringChildren,e,t)}}return{animation:t,options:i}}))}if(c.size){let t={};if("boolean"!=typeof l.initial){let i=n(e,Array.isArray(l.initial)?l.initial[0]:l.initial);i&&i.transition&&(t.transition=i.transition)}c.forEach(i=>
1{let n=e.getBaseTarget(i),r=e.getValue(i);r&&(r.liveStyle=!0),t[i]=n??null}),d.push({animation:t})}let g=!!d.length;return r&&(!1===l.initial||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,a=!1,g?t(d):Promise.resolve()}return{animateChanges:o,setActive:function(t,n){if(i[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),i[t].isActive=n;let r=o(t);for(let e in i)i[e].protectedKeys={};return r},setAnimateFunction:function(i){t=i(e)},getState:()=>i,reset:()=>{i=e3(),a=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,e0.isAnimationControls)(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends t{constructor(){super(...arguments),this.id=e6++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===i)return;if(e&&!1===i){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e){let i=n(this.node,e,t);if(i){let{transition:e,transitionEnd:t,...n}=i;for(let e in n)this.node.getValue(e)?.jump(n[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}},inView:{Feature:class extends t{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:a="some",once:s}=i,o={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof a?a:tf[a]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,s&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=t?i:n;r&&r(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let i=e||document;tc.has(i)||tc.set(i,{});let n=tc.get(i),r=JSON.stringify(t);return n[r]||(n[r]=new IntersectionObserver(tp,{root:e,...t})),n[r]}(o),td.set(e,l),t.observe(e),()=>{td.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends t{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:i}=this.node.props;this.unmount=function(e,t,i={}){let[n,r,a]=e8(e,i),s=e=>{let n=e.currentTarget;if(!tl(e)||tu.has(e))return;ta.add(n),i.stopPropagation&&tu.add(e);let a=t(n,e),s=(e,t)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),ta.has(n)&&ta.delete(n),tl(e)&&"function"==typeof a&&a(e,{success:t})},o=e=>{s(e,n===window||n===document||i.useGlobalTarget||tn(n,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",o,r),window.addEventListener("pointercancel",l,r)};return n.forEach(e=>{((i.useGlobalTarget?window:e).addEventListener("pointerdown",s,r),(0,ti.isHTMLElement)(e))&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let n=ts(()=>{if(ta.has(i))return;to(i,"down");let e=ts(()=>{to(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>to(i,"cancel"),t)});i.addEventListener("keydown",n,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),t)}
1)(e,r)),tr.has(e.tagName)||!0===e.isContentEditable||e.hasAttribute("tabindex")||(e.tabIndex=0))}),a}(e,(e,t)=>(th(this.node,t,"Start"),(e,{success:t})=>th(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends t{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=g(tt(this.node.current,"focus",()=>this.onFocus()),tt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends t{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[n,r,a]=e8(e,i);return n.forEach(e=>{let i,n=!1,a=!1,s=t=>{i&&(i(t),i=void 0),e.removeEventListener("pointerleave",l)},o=e=>{n=!1,window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",o),a&&(a=!1,s(e))},l=e=>{if("touch"!==e.pointerType){if(n){a=!0;return}s(e)}};e.addEventListener("pointerenter",n=>{if("touch"===n.pointerType)return;a=!1;let s=t(e,n);"function"==typeof s&&(i=s,e.addEventListener("pointerleave",l,r))},r),e.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",o,r),window.addEventListener("pointercancel",o,r)},r)}),a}(e,(e,t)=>(te(this.node,t,"Start"),e=>te(this.node,e,"End"))))}unmount(){}}}}],849060)}]);

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.