1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,44948,t=>{t.v({successArrow:"CaseStudiesCarousel-module__6TRvrW__successArrow",successBottom:"CaseStudiesCarousel-module__6TRvrW__successBottom",successCard:"CaseStudiesCarousel-module__6TRvrW__successCard",successCardHiddenMobile:"CaseStudiesCarousel-module__6TRvrW__successCardHiddenMobile",successCardInner:"CaseStudiesCarousel-module__6TRvrW__successCardInner",successChip:"CaseStudiesCarousel-module__6TRvrW__successChip",successChips:"CaseStudiesCarousel-module__6TRvrW__successChips",successControls:"CaseStudiesCarousel-module__6TRvrW__successControls",successCta:"CaseStudiesCarousel-module__6TRvrW__successCta",successDivider:"CaseStudiesCarousel-module__6TRvrW__successDivider",successDot:"CaseStudiesCarousel-module__6TRvrW__successDot",successDotActive:"CaseStudiesCarousel-module__6TRvrW__successDotActive",successDots:"CaseStudiesCarousel-module__6TRvrW__successDots",successFooter:"CaseStudiesCarousel-module__6TRvrW__successFooter",successGrad:"CaseStudiesCarousel-module__6TRvrW__successGrad",successHeader:"CaseStudiesCarousel-module__6TRvrW__successHeader",successHeadline:"CaseStudiesCarousel-module__6TRvrW__successHeadline",successImage:"CaseStudiesCarousel-module__6TRvrW__successImage",successImageContained:"CaseStudiesCarousel-module__6TRvrW__successImageContained",successIntro:"CaseStudiesCarousel-module__6TRvrW__successIntro",successKicker:"CaseStudiesCarousel-module__6TRvrW__successKicker",successLeft:"CaseStudiesCarousel-module__6TRvrW__successLeft",successLeftContent:"CaseStudiesCarousel-module__6TRvrW__successLeftContent",successResult:"CaseStudiesCarousel-module__6TRvrW__successResult",successResultLabel:"CaseStudiesCarousel-module__6TRvrW__successResultLabel",successRight:"CaseStudiesCarousel-module__6TRvrW__successRight",successSection:"CaseStudiesCarousel-module__6TRvrW__successSection",successShell:"CaseStudiesCarousel-module__6TRvrW__successShell",successStage:"CaseStudiesCarousel-module__6TRvrW__successStage",successStat:"CaseStudiesCarousel-module__6TRvrW__successStat",successSupport:"CaseStudiesCarousel-module__6TRvrW__successSupport",successTag:"CaseStudiesCarousel-module__6TRvrW__successTag",successTagDot:"CaseStudiesCarousel-module__6TRvrW__successTagDot",successTitle:"CaseStudiesCarousel-module__6TRvrW__successTitle"})},45254,t=>{"use strict";let e,i,r;var s,n,a=t.i(43476),o=t.i(67723),l=t.i(59675),u=t.i(71645);function h(){let t=(0,l.useAppMessages)(),e=t.home.aboutSection.introText,i=t.home.aboutSection.animatedText.split("\n").map(t=>t.length>0?t.split(" "):[]),r=i.reduce((t,e)=>t+e.length,0),s=i.map((t,e)=>i.slice(0,e).reduce((t,e)=>t+e.length,0)),n=(0,u.useRef)(null),h=(0,u.useRef)(null),[c,d]=(0,u.useState)(!1),[p,m]=(0,u.useState)(0),[f,g]=(0,u.useState)(0);(0,u.useEffect)(()=>{let t=0,e=()=>{t=0;let e=window.innerWidth;if(g(e),!n.current||!h.current||e<1281){d(!1),m(0);return}d(!0);let i=h.current.getBoundingClientRect(),r=window.innerHeight;m(Math.max(0,Math.min(1,(r-i.top)/Math.max(r,320))))},i=()=>{t||(t=window.requestAnimationFrame(e))};return i(),window.addEventListener("scroll",i,{passive:!0}),window.addEventListener("resize",i),()=>{t&&window.cancelAnimationFrame(t),window.removeEventListener("scroll",i),window.removeEventListener("resize",i)}},[]);let v=c?Math.round((f>1281&&f<1370?101:f>1727?-26:68)+212*p):0,y=c?Math.max(0,v)-40:0;return(0,a.jsxs)("section",{ref:n,className:"mx-auto flex w-full max-w-[1376px] mt-5 flex-col gap-10 px-4 sm:px-6 md:px-8 lg:px-12 xl:px-4 min-[1281px]:grid min-[1281px]:grid-cols-[minmax(0,1fr)_minmax(240px,368px)_minmax(24px,55px)_minmax(0,954px)_minmax(0,1fr)] min-[1281px]:grid-rows-[163px_auto_417px] min-[1281px]:gap-0 min-[1728px]:grid-cols-[175px_368px_55px_954px_176px] min-[1728px]:grid-rows-[163px_193px_417px] min-[1728px]:gap-0 min-[1728px]:px-0","data-node-id":"1:705",style:{fontFamily:"var(--font-satoshi), sans-serif",marginBottom:y>0?-y:void 0,transition:"margin-bottom 80ms linear"},children:[(0,a.jsx)("div",{ref:h,className:"w-full min-w-0 max-w-[954px] max-[1281px]:max-w-full text-[clamp(24px,3.2vw,32px)] leading-[1.12] tracking-[-1.2px] max-[1281px]:text-white text-[rgba(255,255,255,0.8)] min-[1281px]:col-start-4 min-[1281px]:row-start-2 min-[1281px]:w-full min-[1281px]:leading-[36px] min-[1728px]:w-[954px]",children:(0,a.jsxs)("p",{className:"flex flex-col gap-y-[0.5em]",children:[(0,a.jsx)("span",{className:"block",children:e}),i.map((t,e)=>{if(0===t.length)return(0,a.jsx)("span",{"aria-hidden":"true",className:"block"},e);let i=t.includes("|");return(0,a.jsx)("span",{className:i?"mt-3 block font-bold tracking-[0.06em] text-white":"block",children:t.map((n,o)=>{let l=Math.max(0,Math.min(1,(p-.75*((s[e]+o)/Math.max(r-1,1)))/.25));return(0,a.jsxs)("span",{style:i?void 0:{color:`rgba(255,255,255,${c&&f>1280?.3+.5*l:1})`},children:[n,o<t.length-1?" ":""]},`${e}-${n}-${o}`)})},e)})]})}),(0,a.jsx)("div",{className:"w-full min-w-0 max-w-[368px] min-[1281px]:col-start-2 min-[1281px]:row-start-3 min-[1281px]:h-[417px] min-[1281px]:w-full min-[1728px]:w-[368px]",style:{transform:c?`translateY(-${v}px)`:void 0,transition:"transform 80ms linear",willChange:c?"transform":void 0},children:(0,a.jsx)("img",{alt:"Onedrops transformation strategy visual",className:"h-full w-full object-cover",src:o.introImage})})]})}var c=t.i(48148),d=t.i(31009),p=t.i(77648);function m(){let t=(0,l.useAppMessages)(),e=(0,c.useTranslations)("home.capabilitiesSection"),i=(0,p.getHomeCapabilityItems)(t),r=(0,u.useRef)(null),[s,n]=(0,u.useState)(0);(0,u.useEffect)(()=>{let t=0,e=()=>{t=0;let e=r.current;if(!e)return;let i=e.getBoundingClientRect(),s=window.innerHeight||1,a=.9*s;n(Math.max(0,Math.min(1,(a-i.top)/Math.max(a-.32*s,1))))},i=()=>{t||(t=window.requestAnimationFrame(e))};return e(),window.addEventListener("scroll",i,{passive:!0}),window.addEventListener("resize",i),()=>{window.removeEventListener("scroll",i),window.removeEventListener("resize",i),t&&window.cancelAnimationFrame(t)}},[]);let o=[e("titleLineOne"),e("titleLineTwo")].map(t=>t.split(" ")),h=o.reduce((t,e)=>t+e.length,0),m=0;return(0,a.jsx)("section",{className:"mx-auto w-full max-w-[1376px] mt-16 scroll-mt-24 px-4 sm:px-6 md:scroll-mt-28 md:px-8 lg:px-12 xl:px-4",id:"capabilities",style:{fontFamily:"var(--font-satoshi-variable)"},children:(0,a.jsxs)("div",{className:"mx-auto flex h-full w-full max-w-[1376px] flex-col",children:[(0,a.jsxs)("div",{className:"flex flex-col items-start gap-6 text-left md:items-end md:text-right",children:[(0,a.jsxs)("p",{className:"flex items-center gap-2.5 text-[12px] font-semibold uppercase tracking-[0.22em] text-[#C9A96E]",children:[(0,a.jsx)("span",{className:"h-px w-7 bg-[#C9A96E]/50","aria-hidden":"true"}),e("eyebrow")]}),(0,a.jsx)("div",{ref:r,className:"flex w-full max-w-[1115px] flex-col justify-center text-[clamp(42px,6vw,64px)] leading-[0.95] font-bold tracking-[-1.5px] xl:h-[257px] xl:leading-[64px]",children:o.map((t,e)=>(0,a.jsx)("p",{children:t.map((i,r)=>{let n=m;m+=1;let o=Math.max(0,Math.min(1,(s-n/Math.max(h-1,1)*.6)/.4));return(0,a.jsxs)("span",{style:{color:`rgba(244,240,232,${.3+.7*o})`},children:[i,r<t.length-1?" ":""]},`${e}-${r}`)})},e))})]}),(0,a.jsx)(d.default,{items:i})]})})}function f({description:t,number:e,title:i}){return(0,a.jsxs)("div",{className:"grid h-full grid-cols-[38px_1fr] items-start border-t border-[rgba(255,255,255,0.1)] pl-2 pr-8 pt-6",children:[(0,a.jsx)("p",{className:"text-[18px] leading-[16.5px] font-medium text-[rgba(255,255,255,0.4)]",children:e}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-[18px] leading-[24px] font-medium text-[rgba(255,255,255,0.6)]",children:i}),(0,a.jsx)("p",{className:"mt-[6px] text-[14px] leading-[21px] font-normal text-[rgba(255,255,255,0.4)]",children:t})]})]})}function g(){let t=(0,l.useAppMessages)(),e=(0,c.useTranslations)("home.identifiedChallenges"),i=t.home.identifiedChallenges.items;return(0,a.jsx)("section",{className:"bg-[#0E0D0B] w-full",style:{fontFamily:"var(--font-satoshi-variable)"},children:(0,a.jsxs)("div",{className:"mx-auto flex w-full max-w-[1376px] scroll-mt-24 flex-col gap-10 px-4 py-16 sm:px-6 md:scroll-mt-28 md:px-8 lg:px-12 xl:gap-14 xl:px-4",id:"identified-challenges",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-[16px] leading-[18px] font-bold text-[rgba(255,255,255,0.6)]",children:e("eyebrow")}),(0,a.jsxs)("div",{className:"mt-6 flex flex-col gap-6 xl:flex-row xl:items-center xl:gap-10",children:[(0,a.jsxs)("div",{className:"w-full max-w-[912px] text-[clamp(42px,6vw,64px)] leading-[0.95] font-bold tracking-[-1.2px] text-[rgba(255,255,255,0.6)] xl:leading-[64px]",children:[(0,a.jsx)("p",{children:e("titleLineOne")}),(0,a.jsx)("p",{children:e("titleLineTwo")})]}),(0,a.jsx)("p",{className:"flex-1 text-[16px] leading-[18px] font-normal text-[rgba(255,255,255,0.6)]",children:e("description")})]})]}),(0,a.jsx)("div",{className:"grid gap-0 md:grid-cols-2 xl:h-[500px] xl:grid-rows-5",children:i.map(t=>(0,a.jsx)(f,{...t},t.number))})]})})}var v=t.i(16149);function y(){let t=(0,c.useTranslations)("home.contactSection");return(0,a.jsx)("section",{className:"mx-auto w-full max-w-[1728px] px-4 sm:px-6 md:px-8 lg:px-12 xl:px-4 mt-8",id:"c
1ontact-us",style:{fontFamily:"var(--font-satoshi-variable)"},children:(0,a.jsxs)("div",{className:"flex h-full flex-col items-center pt-4",children:[(0,a.jsxs)("div",{className:"flex w-full max-w-[1312px] flex-col items-center gap-4",children:[(0,a.jsx)("h2",{className:"text-center text-[clamp(40px,5vw,56px)] leading-[0.95] font-normal tracking-[-1.2px] text-[#eff1ed] xl:leading-[64px]",children:t("title")}),(0,a.jsx)("p",{className:"text-center text-[16px] leading-[24px] font-normal text-[#bcc9c4]",children:t("description")})]}),(0,a.jsx)(v.default,{variant:"embedded"})]})})}var x=t.i(41413),_=t.i(20133),w=t.i(44948);function b(){return(0,a.jsxs)("svg",{"aria-hidden":"true",fill:"none",height:"22",viewBox:"0 0 24 24",width:"22",children:[(0,a.jsx)("path",{d:"M5 12h14",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.2"}),(0,a.jsx)("path",{d:"m13 6 6 6-6 6",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.2"})]})}function T(){return(0,a.jsxs)("svg",{"aria-hidden":"true",fill:"none",height:"22",viewBox:"0 0 24 24",width:"22",children:[(0,a.jsx)("path",{d:"M7 17 17 7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.2"}),(0,a.jsx)("path",{d:"M8 7h9v9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.2"})]})}function S(){let t=(0,c.useTranslations)("home.caseStudiesSection"),e=(0,l.useAppMessages)(),i=(0,u.useMemo)(()=>(0,x.getUploadedCaseStudyProjects)(e),[e]),[r,s]=(0,u.useState)(3),[n,o]=(0,u.useState)(!1),h=(0,u.useRef)(null),d=(0,u.useRef)(0),p=i[r],m=(0,u.useMemo)(()=>i.map((t,e)=>{var s;let n,a=(s=i.length,(n=e-r)>s/2&&(n-=s),n<-s/2&&(n+=s),n),o=Math.abs(a),l=0===a;return l?{index:e,isCentered:l,study:t,style:{cursor:"default",filter:"none",opacity:1,pointerEvents:"auto",transform:"translate(-50%, -50%) scale(1)",zIndex:30}}:1===o?{index:e,isCentered:l,study:t,style:{cursor:"pointer",filter:"blur(4px) brightness(0.72)",opacity:.5,pointerEvents:"auto",transform:`translate(-50%, -50%) translateX(${70*a}%) scale(0.82)`,zIndex:20}}:{index:e,isCentered:l,study:t,style:{cursor:"default",filter:"blur(7px) brightness(0.55)",opacity:0,pointerEvents:"none",transform:`translate(-50%, -50%) translateX(${98*Math.sign(a)}%) scale(0.66)`,zIndex:10}}}),[r,i]),f=t=>{s((t%i.length+i.length)%i.length)},g=t=>{f(r+t)},v=t=>{if(null===h.current)return;let e=t-h.current;h.current=null,Math.abs(e)>=50&&g(e<0?1:-1)};return(0,a.jsxs)("section",{"aria-labelledby":"home-case-studies-title",className:w.default.successSection,children:[(0,a.jsxs)("div",{className:w.default.successShell,children:[(0,a.jsxs)("div",{className:w.default.successHeader,children:[(0,a.jsx)("p",{className:w.default.successKicker,children:t("kicker")}),(0,a.jsx)("h2",{id:"home-case-studies-title",className:w.default.successTitle,children:t("title")}),(0,a.jsx)("p",{className:w.default.successIntro,children:t("intro")})]}),(0,a.jsx)("div",{"aria-label":t("carouselAriaLabel"),className:w.default.successStage,onKeyDown:t=>{(n||t.currentTarget===document.activeElement)&&("ArrowRight"===t.key&&(t.preventDefault(),g(1)),"ArrowLeft"===t.key&&(t.preventDefault(),g(-1)))},onPointerCancel:t=>v(t.clientX),onPointerDown:t=>{h.current=t.clientX},onPointerEnter:()=>o(!0),onPointerLeave:t=>{o(!1),v(t.clientX)},onPointerUp:t=>v(t.clientX),onWheel:t=>{if(Math.abs(t.deltaX)<=Math.abs(t.deltaY)||12>Math.abs(t.deltaX))return;let e=Date.now();e-d.current<480||(d.current=e,t.preventDefault(),g(t.deltaX>0?1:-1))},tabIndex:0,children:m.map(({index:e,isCentered:i,study:r,style:s})=>(0,a.jsx)("article",{className:`${w.default.successCard} ${i?"":w.default.successCardHiddenMobile}`,"data-center":i,onClick:()=>{i||f(e)},style:s,children:(0,a.jsxs)("div",{className:w.default.successCardInner,children:[(0,a.jsxs)("div",{className:w.default.successLeft,children:[(0,a.jsx)("div",{className:w.default.successGrad,style:{background:r.grad}}),(0,a.jsxs)("div",{className:w.default.successLeftContent,children:[(0,a.jsxs)("span",{className:w.default.successTag,children:[(0,a.jsx)("span",{className:w.default.successTagDot}),r.category]}),(0,a.jsx)("h3",{className:w.default.successHeadline,children:r.headline}),(0,a.jsx)("p",{className:w.default.successSupport,children:r.supp
1ort}),(0,a.jsxs)("div",{className:w.default.successBottom,children:[(0,a.jsx)("div",{className:w.default.successDivider}),(0,a.jsxs)("div",{className:w.default.successFooter,children:[(0,a.jsxs)("div",{className:w.default.successStat,children:[(0,a.jsx)("p",{className:w.default.successResult,children:r.result}),(0,a.jsx)("p",{className:w.default.successResultLabel,children:r.resultLabel})]}),(0,a.jsxs)(_.Link,{"aria-label":t("readFullCaseStudyAriaLabel"),className:w.default.successCta,href:`/case-studies/${r.slug}`,onClick:t=>{i||t.preventDefault()},children:[(0,a.jsxs)("span",{className:"sr-only",children:[t("readFullCaseStudyAriaLabel"),": ",r.headline]}),(0,a.jsx)(T,{})]})]})]})]})]}),(0,a.jsx)("div",{className:w.default.successRight,style:{background:r.imgBg},children:(0,a.jsx)("img",{alt:r.imageAlt,className:`${w.default.successImage} ${"contain"===r.fit?w.default.successImageContained:""}`,src:r.image,style:{objectFit:r.fit,objectPosition:r.objPos}})})]})},r.headline))}),(0,a.jsxs)("div",{"aria-label":t("navigationAriaLabel"),className:w.default.successControls,children:[(0,a.jsx)("button",{"aria-label":t("previousAriaLabel"),className:w.default.successArrow,onClick:()=>g(-1),type:"button",children:(0,a.jsx)(b,{})}),(0,a.jsx)("div",{className:w.default.successDots,children:i.map((e,i)=>(0,a.jsx)("button",{"aria-current":i===r?"true":void 0,"aria-label":t("goToCaseStudyAriaLabel",{number:i+1}),className:`${w.default.successDot} ${i===r?w.default.successDotActive:""}`,onClick:()=>f(i),type:"button"},`${e.headline}-dot`))}),(0,a.jsx)("button",{"aria-label":t("nextAriaLabel"),className:w.default.successArrow,onClick:()=>g(1),type:"button",children:(0,a.jsx)(b,{})})]})]}),(0,a.jsxs)("span",{"aria-live":"polite",className:"sr-only",children:["Showing ",p.headline]})]})}let C=["h-[143px]","h-[100px]","h-[100px]","h-[100px]"];function M({description:t,number:e,rowClassName:i,title:r}){return(0,a.jsxs)("div",{className:`grid grid-cols-[38px_1fr] items-start border-t border-[rgba(255,255,255,0.1)] pl-2 pr-8 pt-6 ${i}`,children:[(0,a.jsx)("p",{className:"text-[18px] leading-[16.5px] font-medium text-[rgba(255,255,255,0.4)]",children:e}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-[18px] leading-[24px] font-medium text-[rgba(255,255,255,0.6)]",children:r}),(0,a.jsx)("p",{className:"mt-[6px] max-w-[577px] text-[14px] leading-[21px] font-normal text-[rgba(255,255,255,0.4)]",children:t})]})]})}function A(){let t=(0,l.useAppMessages)(),e=(0,c.useTranslations)("home.transformationWorkflow"),i=t.home.transformationWorkflow.items.map((t,e)=>({...t,rowClassName:C[e]??"h-[100px]"}));return(0,a.jsx)("section",{className:"bg-[#1c1b1b] w-full",style:{fontFamily:"var(--font-satoshi-variable)"},children:(0,a.jsxs)("div",{className:"mx-auto flex w-full max-w-[1376px] flex-col justify-center gap-10 px-4 py-16 sm:px-6 md:px-8 lg:px-12 xl:h-[652px] xl:gap-14 xl:px-4 xl:py-0",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-6 xl:flex-row xl:items-center xl:gap-10",children:[(0,a.jsxs)("div",{className:"w-full max-w-[912px] text-[clamp(42px,6vw,64px)] leading-[0.95] font-bold tracking-[-1.2px] text-[rgba(255,255,255,0.6)] xl:leading-[64px]",children:[(0,a.jsx)("p",{children:e("titleLineOne")}),(0,a.jsx)("p",{children:e("titleLineTwo")})]}),(0,a.jsx)("p",{className:"flex-1 text-[16px] leading-[18px] font-normal text-[rgba(255,255,255,0.6)]",children:e("description")})]}),(0,a.jsx)("div",{className:"grid gap-0 md:grid-cols-2",children:i.map(t=>(0,a.jsx)(M,{...t},t.number))})]})})}var j=t.i(28572);let k=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],P=new Set([...k,"pathRotation"]),E=(t,e,i)=>i>e?e:i<t?t:i,R={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},N={...R,transform:t=>E(0,1,t)},D={...R,default:1},F=t=>Math.round(1e5*t)/1e5,L=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,V=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,O=(t,e)=>i=>!!("string"==typeof i&&V.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),B=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,n,a,o]=r.match(L);return{[t]:parseFloat(s),[e]:parseFloat(n),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},I={...R,transform:t=>Math.round(E(0,255,t))},z={test:O("rgb","red"),parse:B("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+I.transform(t)+", "+I.transform(e)+", "+I.transform(i)+", "+F(N.transform(r))+")"},W={test:O("#"),parse:function(t){let e="",i="",r="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,r+=r,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alph
1a:s?parseInt(s,16)/255:1}},transform:z.transform},$=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),U=$("deg"),Y=$("%"),X=$("px"),q=$("vh"),H=$("vw"),G={...Y,parse:t=>Y.parse(t)/100,transform:t=>Y.transform(100*t)},K={test:O("hsl","hue"),parse:B("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+Y.transform(F(e))+", "+Y.transform(F(i))+", "+F(N.transform(r))+")"},Z={test:t=>z.test(t)||W.test(t)||K.test(t),parse:t=>z.test(t)?z.parse(t):K.test(t)?K.parse(t):W.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?z.transform(t):K.transform(t),getAnimatableNone:t=>{let e=Z.parse(t);return e.alpha=0,Z.transform(e)}},Q=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,J="number",tt="color",te=/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 ti(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],n=0,a=e.replace(te,t=>(Z.test(t)?(r.color.push(n),s.push(tt),i.push(Z.parse(t))):t.startsWith("var(")?(r.var.push(n),s.push("var"),i.push(t)):(r.number.push(n),s.push(J),i.push(parseFloat(t))),++n,"${}")).split("${}");return{values:i,split:a,indexes:r,types:s}}function tr({split:t,types:e}){let i=t.length;return r=>{let s="";for(let n=0;n<i;n++)if(s+=t[n],void 0!==r[n]){let t=e[n];t===J?s+=F(r[n]):t===tt?s+=Z.transform(r[n]):s+=r[n]}return s}}let ts={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(L)?.length||0)+(t.match(Q)?.length||0)>0},parse:function(t){return ti(t).values},createTransformer:function(t){return tr(ti(t))},getAnimatableNone:function(t){let e=ti(t);return tr(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:Z.test(t)?Z.getAnimatableNone(t):t)(t,e.split[i])))}},tn=new Set(["brightness","contrast","saturate","opacity"]);function ta(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(L)||[];if(!r)return t;let s=i.replace(r,""),n=+!!tn.has(e);return r!==i&&(n*=100),e+"("+n+s+")"}let to=/\b([a-z-]*)\(.*?\)/gu,tl={...ts,getAnimatableNone:t=>{let e=t.match(to);return e?e.map(ta).join(" "):t}},tu={...ts,getAnimatableNone:t=>{let e=ts.parse(t);return ts.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},th={...R,transform:Math.round},tc={borderWidth:X,borderTopWidth:X,borderRightWidth:X,borderBottomWidth:X,borderLeftWidth:X,borderRadius:X,borderTopLeftRadius:X,borderTopRightRadius:X,borderBottomRightRadius:X,borderBottomLeftRadius:X,width:X,maxWidth:X,height:X,maxHeight:X,top:X,right:X,bottom:X,left:X,inset:X,insetBlock:X,insetBlockStart:X,insetBlockEnd:X,insetInline:X,insetInlineStart:X,insetInlineEnd:X,padding:X,paddingTop:X,paddingRight:X,paddingBottom:X,paddingLeft:X,paddingBlock:X,paddingBlockStart:X,paddingBlockEnd:X,paddingInline:X,paddingInlineStart:X,paddingInlineEnd:X,margin:X,marginTop:X,marginRight:X,marginBottom:X,marginLeft:X,marginBlock:X,marginBlockStart:X,marginBlockEnd:X,marginInline:X,marginInlineStart:X,marginInlineEnd:X,fontSize:X,backgroundPositionX:X,backgroundPositionY:X,rotate:U,pathRotation:U,rotateX:U,rotateY:U,rotateZ:U,scale:D,scaleX:D,scaleY:D,scaleZ:D,skew:U,skewX:U,skewY:U,distance:X,translateX:X,translateY:X,translateZ:X,x:X,y:X,z:X,perspective:X,transformPerspective:X,opacity:N,originX:G,originY:G,originZ:X,zIndex:th,fillOpacity:N,strokeOpacity:N,numOctaves:th},td={...tc,color:Z,backgroundColor:Z,outlineColor:Z,fill:Z,stroke:Z,borderColor:Z,borderTopColor:Z,borderRightColor:Z,borderBottomColor:Z,borderLeftColor:Z,filter:tl,WebkitFilter:tl,mask:tu,WebkitMask:tu},tp=t=>td[t],tm=()=>({translate:0,scale:1,origin:0,originPoint:0}),tf=()=>({x:tm(),y:tm()}),tg=()=>({min:0,max:0}),tv=()=>({x:tg(),y:tg()}),ty=t=>!!(t&&t.getVelocity),tx=new Set(["width","height","top","left","right","bottom",...k]),t_=t=>e=>e.test(t),tw=[R,X,Y,U,H,q,{test:t=>"auto"===t,parse:t=>t}],tb=t=>tw.find(t_(t));var tT=t.i(47167);let tS=()=>{},tC=()=>{};tT.default;let tM=t=>e=>"string"==typeof e&&e.startsWith(t),tA=tM("--"),tj=tM("var(--"),tk=t=>
1!!tj(t)&&tP.test(t.split("/*")[0].trim()),tP=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tE(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let tR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tN=t=>180*t/Math.PI,tD=t=>tL(tN(Math.atan2(t[1],t[0]))),tF={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:tD,rotateZ:tD,skewX:t=>tN(Math.atan(t[1])),skewY:t=>tN(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tL=t=>((t%=360)<0&&(t+=360),t),tV=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tO=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tB={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tV,scaleY:tO,scale:t=>(tV(t)+tO(t))/2,rotateX:t=>tL(tN(Math.atan2(t[6],t[5]))),rotateY:t=>tL(tN(Math.atan2(-t[2],t[0]))),rotateZ:tD,rotate:tD,skewX:t=>tN(Math.atan(t[4])),skewY:t=>tN(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tI(t){return+!!t.includes("scale")}function tz(t,e){let i,r;if(!t||"none"===t)return tI(e);let s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(s)i=tB,r=s;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=tF,r=e}if(!r)return tI(e);let n=i[e],a=r[1].split(",").map(tW);return"function"==typeof n?n(a):a[n]}function tW(t){return parseFloat(t.trim())}let t$=t=>t===R||t===X,tU=new Set(["x","y","z"]),tY=k.filter(t=>!tU.has(t)),tX={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:r})=>{let s=t.max-t.min;return"border-box"===r?s:s-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:r})=>{let s=t.max-t.min;return"border-box"===r?s:s-parseFloat(e)-parseFloat(i)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>tz(e,"x"),y:(t,{transform:e})=>tz(e,"y")};tX.translateX=tX.x,tX.translateY=tX.y;let tq=t=>t,tH={},tG=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tK(t,e){let i=!1,r=!0,s={delta:0,timestamp:0,isProcessing:!1},n=()=>i=!0,a=tG.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,r=!1,s=!1,n=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function o(e){n.has(e)&&(l.schedule(e),t()),e(a)}let l={schedule:(t,s=!1,a=!1)=>{let o=a&&r?e:i;return s&&n.add(t),o.add(t),t},cancel:t=>{i.delete(t),n.delete(t)},process:t=>{if(a=t,r){s=!0;return}r=!0;let n=e;e=i,i=n,e.forEach(o),e.clear(),r=!1,s&&(s=!1,l.process(t))}};return l}(n),t),{}),{setup:o,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:p,postRender:m}=a,f=()=>{let n=tH.useManualTiming,a=n?s.timestamp:performance.now();i=!1,n||(s.delta=r?1e3/60:Math.max(Math.min(a-s.timestamp,40),1)),s.timestamp=a,s.isProcessing=!0,o.process(s),l.process(s),u.process(s),h.process(s),c.process(s),d.process(s),p.process(s),m.process(s),s.isProcessing=!1,i&&e&&(r=!1,t(f))};return{schedule:tG.reduce((e,n)=>{let o=a[n];return e[n]=(e,n=!1,a=!1)=>(!i&&(i=!0,r=!0,s.isProcessing||t(f)),o.schedule(e,n,a)),e},{}),cancel:t=>{for(let e=0;e<tG.length;e++)a[tG[e]].cancel(t)},state:s,steps:a}}let{schedule:tZ,cancel:tQ,state:tJ,steps:t0}=tK("u">typeof requestAnimationFrame?requestAnimationFrame:tq,!0),t1=new Set,t2=!1,t5=!1,t3=!1;function t6(){if(t5){let t=Array.from(t1).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,r=(e=[],tY.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e);r.length&&(i.set(t,r),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}t5=!1,t2=!1,t1.forEach(t=>t.complete(t3)),t1.clear()}function t8(){t1.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(t5=!0)})}class t4{constructor(t,e,i,r,s,n=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=s,this.isAsync=n}scheduleResolve(){this.state="scheduled",this.isAsync?(t1.add(this),t2||(t2=!0,tZ.read(t8),tZ.resolveKeyframes(t6))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;if(null===t[0]){let s=r?.get(),n=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){let r=i.readValue(e,n);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=n),r&&void 0===s&&r.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),t1.delete(this)}cancel(){"scheduled"===this.state&&(t1.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let t9=new Set([tl,tu]);function t7(t,e){let i=tp(t);return t9.has(i)||(i=ts),i.getAnimatableNone?i.getAnimatableNone(e):void 0}
1let et=new Set(["auto","none","0"]);class ee extends t4{constructor(t,e,i,r,s){super(t,e,i,r,s,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let r=t[i];if("string"==typeof r&&tk(r=r.trim())){let s=function t(e,i,r=1){tC(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[s,n]=function(t){let e=tR.exec(t);if(!e)return[,];let[,i,r,s]=e;return[`--${i??r}`,s]}(e);if(!s)return;let a=window.getComputedStyle(i).getPropertyValue(s);if(a){let t=a.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return tk(n)?t(n,i,r+1):n}(r,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!tx.has(i)||2!==t.length)return;let[r,s]=t,n=tb(r),a=tb(s);if(tE(r)!==tE(s)&&tX[i]){this.needsMeasurement=!0;return}if(n!==a)if(t$(n)&&t$(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tX[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let r,s=0;for(;s<t.length&&!r;){let e=t[s];"string"==typeof e&&!et.has(e)&&ti(e).values.length&&(r=t[s]),s++}if(r&&i)for(let s of e)t[s]=t7(i,r)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tX[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let s=i.length-1,n=i[s];i[s]=tX[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==n&&void 0===this.finalKeyframe&&(this.finalKeyframe=n),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let ei=t=>1e3*t;function er(t,e){-1===t.indexOf(e)&&t.push(e)}function es(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class en{constructor(){this.subscriptions=[]}add(t){return er(this.subscriptions,t),()=>es(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let s=0;s<r;s++){let r=this.subscriptions[s];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function ea(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}function eo(t){let e;return()=>(void 0===e&&(e=t()),e)}let el={};function eu(t,e){let i=eo(t);return()=>el[e]??i()}let eh=eu(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),ec=t=>null!==t;function ed(t,{repeat:e,repeatType:i="loop"},r,s=1){let n=t.filter(ec),a=s<0||e&&"loop"!==i&&e%2==1?0:n.length-1;return a&&void 0!==r?r:n[a]}class ep{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let em=t=>Array.isArray(t)&&"number"==typeof t[0],ef=eu(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),eg=(t,e,i=10)=>{let r="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)r+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},ev=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,ey={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ev([0,.65,.55,1]),circOut:ev([.55,0,1,.45]),backIn:ev([.31,.01,.66,-.59]),backOut:ev([.33,1.53,.69,.99])};function ex(t){return"function"==typeof t&&"applyToOptions"in t}class e_ extends ep{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:r,pseudoElement:s,allowFlatten:n=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!s,this.allowFlatten=n,this.options=t,tC("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return ex(t)&&ef()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:r=0,duration:s=300,repeat:n=0,repeatType:a="loop",ease:o="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?ef()?eg(e,i):"ease-out":em(e)?ev(e):Array.isArray(e)?e.map(e=>t(e,i)||ey.easeOut):ey[e]}(o,s);Array.isArray(c)&&(h.easing=c);let d={delay:r,duration:s,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:n+1,direction:"reverse"===a?"alternate":"normal"};return u&&(d.pseudoElement=u),t.animate(h,d)}(e,i,r,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=ed(r,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(t),ea(e,i,t),this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=ei(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"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:e,rangeEnd:i,observe:r}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&eh())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),tq):r(this)}}let ew=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),{schedule:eb}=tK(queueMicrotask,!1);function eT(){e=void 0}let eS={now:()=>(void 0===e&&eS.set(tJ.isProcessing||tH.useManualTiming?tJ.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(eT)}},eC=(t,e)=>e?1e3/e*t:0,eM;class eA{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=eS.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=eS.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new en);let i=this.events[t].add(e);return"change"===t?()=>{i(),tZ.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return eM&&eM.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=eS.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return eC(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ej(t,e){return new eA(t,e)}let ek=[...tw,Z,ts],eP=new WeakMap;function eE(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function eR(t){return"string"==typeof t||Array.isArray(t)}let eN=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],eD=["initial",...eN];function eF(t){return eE(t.animate)||eD.some(e=>eR(t[e]))}function eL(t){return!!(eF(t)||t.variants)}let eV={current:null},eO={current:!1},eB="u">typeof window;function eI(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function ez(t,e,i,r){if("function"==typeof e){let[s,n]=eI(r);e=e(void 0!==i?i:t.custom,s,n)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,n]=eI(r);e=e(void 0!==i?i:t.custom,s,n)}return e}let eW=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],e$={};class eU{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,skipAnimations:s,blockInitialAnimation:n,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=t4,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=eS.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tZ.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=s,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=eF(e),this.isVariantNode=eL(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in c){const e=c[t];void 0!==l[t]&&ty(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,eP.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((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(eO.current||function(){if(eO.current=!0,eB)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>eV.current=t.matches;t.addEventListener("change",e),e()}else eV.current=!1}(),this.shouldReduceMotion=eV.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),tQ(this.notifyUpdate),tQ(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.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,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&ew.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:r,times:s,ease:n,duration:a}=e.accelerate,o=new e_({element:this.current,name:t,keyframes:r,times:s,ease:n,duration:ei(a)}),l=i(o);this.valueSubscriptions.set(t,()=>{l(),o.cancel()});return}let r=P.has(t);r&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tZ.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),i&&i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in e$){let e=e$[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):tv()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<eW.length;e++){let i=eW[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(t,e,i){for(let r in e){let s=e[r],n=i[r];if(ty(s))t.addValue(r,s);else if(ty(n))t.addValue(r,ej(s,{owner:t}));else if(n!==s)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(r);t.addValue(r,ej(void 0!==e?e:s,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}(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){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=ej(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let r,s;if("string"==typeof i&&(r=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r)||(s=i,/^0[^.\s]+$/u.test(s))))i=parseFloat(i);else{let r;r=i,!ek.find(t_(r))&&ts.test(e)&&(i=t7(t,e))}this.setBaseTarget(t,ty(i)?i.get():i)}return ty(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=ez(this.props,i,this.presenceContext?.custom);r&&(e=r[t])}if(i&&void 0!==e)return e;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||ty(r)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new en),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){eb.render(this.render)}}class eY extends eU{constructor(){super(...arguments),this.KeyframeResolver=ee}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;ty(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function eX(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let eq=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eH={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eG=k.length;function eK(t,e,i){let{style:r,vars:s,transformOrigin:n}=t,a=!1,o=!1;for(let t in e){let i=e[t];if(P.has(t)){a=!0;continue}if(tA(t)){s[t]=i;continue}{let e=eq(i,tc[t]);t.startsWith("origin")?(o=!0,n[t]=e):r[t]=e}}
1if(!e.transform&&(a||i?r.transform=function(t,e,i){let r="",s=!0;for(let n=0;n<eG;n++){let a=k[n],o=t[a];if(void 0===o)continue;let l=!0;if("number"==typeof o)l=o===+!!a.startsWith("scale");else{let t=parseFloat(o);l=a.startsWith("scale")?1===t:0===t}if(!l||i){let t=eq(o,tc[a]);if(!l){s=!1;let e=eH[a]||a;r+=`${e}(${t}) `}i&&(e[a]=t)}}let n=t.pathRotation;return n&&(s=!1,r+=`rotate(${eq(n,tc.pathRotation)}) `),r=r.trim(),i?r=i(e,s?"":r):s&&(r="none"),r}(e,t.transform,i):r.transform&&(r.transform="none")),o){let{originX:t="50%",originY:e="50%",originZ:i=0}=n;r.transformOrigin=`${t} ${e} ${i}`}}let eZ={offset:"stroke-dashoffset",array:"stroke-dasharray"},eQ={offset:"strokeDashoffset",array:"strokeDasharray"},eJ=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function e0(t,{attrX:e,attrY:i,attrScale:r,pathLength:s,pathSpacing:n=1,pathOffset:a=0,...o},l,u,h){if(eK(t,o,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:d}=t;for(let t of(c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=h?.transformBox??"fill-box",delete c.transformBox),eJ))void 0!==c[t]&&(d[t]=c[t],delete c[t]);void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==r&&(c.scale=r),void 0!==s&&function(t,e,i=1,r=0,s=!0){t.pathLength=1;let n=s?eZ:eQ;t[n.offset]=`${-r}`,t[n.array]=`${e} ${i}`}(c,s,n,a,!1)}let e1=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"]),e2=t=>"string"==typeof t&&"svg"===t.toLowerCase();function e5(t,{style:e,vars:i},r,s){let n,a=t.style;for(n in e)a[n]=e[n];for(n in s?.applyProjectionStyles(a,r),i)a.setProperty(n,i[n])}let e3=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function e6(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let e8={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!X.test(t))return t;else t=parseFloat(t);let i=e6(t,e.target.x),r=e6(t,e.target.y);return`${i}% ${r}%`}},e4=(t,e,i)=>t+(e-t)*i,e9={borderRadius:{...e8,applyTo:[...e3]},borderTopLeftRadius:e8,borderTopRightRadius:e8,borderBottomLeftRadius:e8,borderBottomRightRadius:e8,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=ts.parse(t);if(r.length>5)return t;let s=ts.createTransformer(t),n=+("number"!=typeof r[0]),a=i.x.scale*e.x,o=i.y.scale*e.y;r[0+n]/=a,r[1+n]/=o;let l=e4(a,o,.5);return"number"==typeof r[2+n]&&(r[2+n]/=l),"number"==typeof r[3+n]&&(r[3+n]/=l),s(r)}}};function e7(t,{layout:e,layoutId:i}){return P.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!e9[t]||"opacity"===t)}function it(t,e,i){let r=t.style,s=e?.style,n={};if(!r)return n;for(let e in r)(ty(r[e])||s&&ty(s[e])||e7(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(n[e]=r[e]);return n}function ie(t,e,i){let r=it(t,e,i);for(let i in t)(ty(t[i])||ty(e[i]))&&(r[-1!==k.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}class ii extends eY{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tv}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(P.has(e)){let t=tp(e);return t&&t.default||0}return e=e1.has(e)?e:eX(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return ie(t,e,i)}build(t,e,i){e0(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){for(let i in e5(t,e,void 0,r),e.attrs)t.setAttribute(e1.has(i)?i:eX(i),e.attrs[i])}mount(t){this.isSVGTag=e2(t.tagName),super.mount(t)}}function ir({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function is(t){return void 0===t||1===t}function ia({scale:t,scaleX:e,scaleY:i}){return!is(t)||!is(e)||!is(i)}function io(t){return ia(t)||il(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function il(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function iu(t,e,i,r,s){return void 0!==s&&(t=r+s*(t-r)),r+i*(t-r)+e}function ih(t,e=0,i=1,r,s){t.min=iu(t.min,e,i,r,s),t.max=iu(t.max,e,i,r,s)}function ic(t,{x:e,y:i}){ih(t.x,e.translate,e.scale,e.originPoint),ih(t.y,i.translate,i.scale,i.originPoint)}function id(t,e){t.min+=e,t.max+=e}function ip(t,e,i,r,s=.5){let n=e4(t.min,t.max,s);ih(t,e,i,n,r)}function im(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function ig(t,e,i){let r=i??t;ip(t.x,im(e.x,r.x),e.scaleX,e.scale,e.originX),ip(t.y,im(e.y,r.y),e.scaleY,e.scale,e.originY)}function iv(t,e){return ir(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}class iy extends eY{constructor(){super(...arguments),this.type="html",this.renderInstance=e5}mount(t){tC(!!t.style,"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(t)}readValueFromInstance(t,e){if(P.has(e))return this.projection?.isProjecting?tI(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tz(i,e)})(t,e);{let i=window.getComputedStyle(t),r=(tA(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return iv(t,e)}build(t,e,i){eK(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return it(t,e,i)}}let ix=["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 i_(t){if("string"!=typeof t||t.includes("-"));else if(ix.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let iw=(0,u.createContext)({}),ib=(0,u.createContext)({strict:!1}),iT=(0,u.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),iS=(0,u.createContext)({});function iC(t){return Array.isArray(t)?t.join(" "):t}let iM=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function iA(t,e,i){for(let r in e)ty(e[r])||e7(r,i)||(t[r]=e[r])}let ij=()=>({...iM(),attrs:{}}),ik=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 iP(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ik.has(t)}let iE=t=>!iP(t);try{aa=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof aa&&(iE=t=>t.startsWith("on")?!iP(t):aa(t))}catch{}function iR(t){return ty(t)?t.get():t}let iN=(0,u.createContext)(null);function iD(t){let e=(0,u.useRef)(null);return null===e.current&&(e.current=t()),e.current}let iF=t=>(e,i)=>{let r=(0,u.useContext)(iS),s=(0,u.useContext)(iN),n=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,r,s){return{latestValues:function(t,e,i,r){let s={},n=r(t,{});for(let t in n)s[t]=iR(n[t]);let{initial:a,animate:o}=t,l=eF(t),u=eL(t);e&&u&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===a)?o:a;if(c&&"boolean"!=typeof c&&!eE(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let r=ez(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(i,r,s,t),renderState:e()}})(t,e,r,s);return i?n():iD(n)},iL=iF({scrapeMotionValuesFromProps:it,createRenderState:iM}),iV=iF({scrapeMotionValuesFromProps:ie,createRenderState:ij}),iO={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"]},iB=!1;function iI(){return!function(){if(iB)return;let t={};for(let e in iO)t[e]={isEnabled:t=>iO[e].some(e=>!!t[e])};e$=t,iB=!0}(),e$}let iz=Symbol.for("motionComponentSymbol"),iW="data-"+eX("framerAppearId"),i$=(0,u.createContext)({});function iU(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let iY="u">typeof window?u.useLayoutEffect:u.useEffect;function iX(t,{forwardMotionProps:e=!1,type:i}={},r,s){r&&function(t){let e=iI();for(let i in t)e[i]={...e[i],...t[i]};e$=e}(r);let n=i?"svg"===i:i_(t),o=n?iV:iL;function l(i,r){var l;let h,c,d,p={...(0,u.useContext)(iT),...i,layoutId:function({layoutId:t}){let e=(0,u.useContext)(iw).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:m}=p,f=function(t){let{initial:e,animate:i}=function(t,e){if(eF(t)){let{initial:e,animate:i}=t;return{initial:!1===e||eR(e)?e:void 0,animate:eR(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,u.useContext)(iS));return(0,u.useMemo)(()=>({initial:e,animate:i}),[iC(e),iC(i)])}(i),g=o(i,m);if(!m&&"u">typeof window){(0,u.useContext)(ib).strict;let e=function(t){let{drag:e,layout:i}=iI();if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
1(p);h=e.MeasureLayout,f.visualElement=function(t,e,i,r,s,n){let{visualElement:a}=(0,u.useContext)(iS),o=(0,u.useContext)(ib),l=(0,u.useContext)(iN),h=(0,u.useContext)(iT),c=h.reducedMotion,d=h.skipAnimations,p=(0,u.useRef)(null),m=(0,u.useRef)(!1);r=r||o.renderer,!p.current&&r&&(p.current=r(t,{visualState:e,parent:a,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:c,skipAnimations:d,isSVG:n}),m.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));let f=p.current,g=(0,u.useContext)(i$);f&&!f.projection&&s&&("html"===f.type||"svg"===f.type)&&function(t,e,i,r){let{layoutId:s,layout:n,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u,layoutAnchor:h,layoutCrossfade:c}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:s,layout:n,alwaysMeasureLayout:!!a||o&&iU(o),visualElement:t,animationType:"string"==typeof n?n:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(p.current,i,s,g);let v=(0,u.useRef)(!1);(0,u.useInsertionEffect)(()=>{f&&v.current&&f.update(i,l)});let y=i[iW],x=(0,u.useRef)(!!y&&"u">typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return iY(()=>{m.current=!0,f&&(v.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),x.current&&f.animationState&&f.animationState.animateChanges())}),(0,u.useEffect)(()=>{f&&(!x.current&&f.animationState&&f.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),x.current=!1),f.enteringChildren=void 0)}),f}(t,g,p,s,e.ProjectionNode,n)}return(0,a.jsxs)(iS.Provider,{value:f,children:[h&&f.visualElement?(0,a.jsx)(h,{visualElement:f.visualElement,...p}):null,function(t,e,i,{latestValues:r},s,n=!1,a){let o=(a??i_(t)?function(t,e,i,r){let s=(0,u.useMemo)(()=>{let i=ij();return e0(i,e,e2(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};iA(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i,r,s={},n=(i=t.style||{},iA(r={},i,t),Object.assign(r,function({transformTemplate:t},e){return(0,u.useMemo)(()=>{let i=iM();return eK(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r);return t.drag&&!1!==t.dragListener&&(s.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=n,s})(e,r,s,t),l=function(t,e,i){let r={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&!ty(t[s])&&(iE(s)||!0===i&&iP(s)||!e&&!iP(s)||t.draggable&&s.startsWith("onDrag"))&&(r[s]=t[s]);return r}(e,"string"==typeof t,n),h=t!==u.Fragment?{...l,...o,ref:i}:{},{children:c}=e,d=(0,u.useMemo)(()=>ty(c)?c.get():c,[c]);return(0,u.createElement)(t,{...h,children:d})}(t,i,(l=f.visualElement,c=(0,u.useRef)(r),(0,u.useInsertionEffect)(()=>{c.current=r}),d=(0,u.useRef)(null),(0,u.useCallback)(t=>{t&&g.onMount?.(t),l&&(t?l.mount(t):l.unmount());let e=c.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(d.current=i)}else d.current?(d.current(),d.current=null):e(t);else e&&(e.current=t)},[l])),g,m,e,n)]})}l.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let h=(0,u.forwardRef)(l);return h[iz]=t,h}class iq{constructor(t){this.isMounted=!1,this.node=t}update(){}}function iH(t,e,i){let r=t.getProps();return ez(r,e,void 0!==i?i:r.custom,t)}function iG(t,e){if(t?.inherit&&e){let{inherit:i,...r}=t;return{...e,...r}}return t}function iK(t,e){let i=t?.[e]??t?.default??t;return i!==t?iG(i,t):i}let iZ=t=>Array.isArray(t);function iQ(t,e){let i=t.getValue("willChange");if(ty(i)&&i.add)return i.add(e);if(!i&&tH.WillChange){let i=new tH.WillChange("auto");t.addValue("willChange",i),i.add(e)}}let iJ=(...t)=>t.reduce((t,e)=>i=>e(t(i)));function i0(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function i1(t,e){return i=>i>0?e:t}let i2=(t,e,i)=>{let r=t*t,s=i*(e*e-r)+r;return s<0?0:Math.sqrt(s)},i5=[W,z,K];function i3(t){let e=i5.find(e=>e.test(t));if(tS(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===K&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let s=0,n=0,a=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,o=2*i-r;s=i0(o,r,t+1/3),n=i0(o,r,t),a=i0(o,r,t-1/3)}else s=n=a=i;return{red:Math.round(255*s),green:Math.round(255*n),blue:Math.round(255*a),alpha:r}}(i)),i}let i6=(t,e)=>{let i=i3(t),r=i3(e);if(!i||!r)return i1(t,e);let s={...i};return t=>(s.red=i2(i.red,r.red,t),s.green=i2(i.green,r.green,t),s.blue=i2(i.blue,r.blue,t),s.alpha=e4(i.alpha,r.alpha,t),z.transform(s))},i8=new Set(["none","hidden"]);function i4(t,e){return i=>e4(t,e,i)}function i9(t){return"number"==typeof t?i4:"string"==typeof t?tk(t)?i1:Z.test(t)?i6:re:Array.isArray(t)?i7:"object"==typeof t?Z.test(t)?i6:rt:i1}function i7(t,e){let i=[...t],r=i.length,s=t.map((t,i)=>i9(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=s[e](t);return i}}function rt(t,e){let i={...t,...e},r={};for(let s in i)void 0!==t[s]&&void 0!==e[s]&&(r[s]=i9(t[s])(t[s],e[s]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let re=(t,e)=>{let i=ts.createTransformer(e),r=ti(t),s=ti(e);if(!(r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length))return tS(!0,`Complex values '${t}' and '${e}
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"),i1(t,e);if(i8.has(t)&&!s.values.length||i8.has(e)&&!r.values.length)return i8.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return iJ(i7(function(t,e){let i=[],r={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let n=e.types[s],a=t.indexes[n][r[n]],o=t.values[a]??0;i[s]=o,r[n]++}return i}(r,s),s.values),i)};function ri(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?e4(t,e,i):i9(t)(t,e)}let rr=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tZ.update(e,t),stop:()=>tQ(e),now:()=>tJ.isProcessing?tJ.timestamp:eS.now()}};function rs(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}let rn=.01,ra=2,ro=.005,rl=.5;function ru(t,e){return t*Math.sqrt(1-e*e)}let rh=["duration","bounce"],rc=["stiffness","damping","mass"];function rd(t,e){return e.some(e=>void 0!==t[e])}function rp(t=.3,e=.3){let i,r,s,n,a,o,l="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:u,restDelta:h}=l,c=l.keyframes[0],d=l.keyframes[l.keyframes.length-1],p={done:!1,value:c},{stiffness:m,damping:f,mass:g,duration:v,velocity:y,isResolvedFromDuration:x}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!rd(t,rc)&&rd(t,rh))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,s=2*E(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:1,stiffness:r,damping:s}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:r=1}){let s,n;tS(t<=ei(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=E(.05,1,a),t=E(.01,10,t/1e3),a<1?(s=e=>{let r=e*a,s=r*t;return .001-(r-i)/ru(e,a)*Math.exp(-s)},n=e=>{let r=e*a*t,n=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-r),l=ru(Math.pow(e,2),a);return(r*i+i-n)*o*(-s(e)+.001>0?-1:1)/l}):(s=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),n=e=>t*t*(i-e)*Math.exp(-e*t));let o=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(s,n,5/t);if(t=ei(t),isNaN(o))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(o,2)*r;return{stiffness:e,damping:2*a*Math.sqrt(r*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...l,velocity:-((l.velocity||0)/1e3)}),_=y||0,w=f/(2*Math.sqrt(m*g)),b=d-c,T=Math.sqrt(m/g)/1e3,S=5>Math.abs(b);if(u||(u=S?rn:ra),h||(h=S?ro:rl),w<1)s=ru(T,w),n=(_+w*T*b)/s,i=t=>d-Math.exp(-w*T*t)*(n*Math.sin(s*t)+b*Math.cos(s*t)),a=w*T*n+b*s,o=w*T*b-n*s,r=t=>Math.exp(-w*T*t)*(a*Math.sin(s*t)+o*Math.cos(s*t));else if(1===w){i=t=>d-Math.exp(-T*t)*(b+(_+T*b)*t);let t=_+T*b;r=e=>Math.exp(-T*e)*(T*t*e-_)}else{let t=T*Math.sqrt(w*w-1);i=e=>{let i=Math.exp(-w*T*e),r=Math.min(t*e,300);return d-i*((_+w*T*b)*Math.sinh(r)+t*b*Math.cosh(r))/t};let e=(_+w*T*b)/t,s=w*T*e-b*t,n=w*T*b-e*t;r=e=>{let i=Math.exp(-w*T*e),r=Math.min(t*e,300);return i*(s*Math.sinh(r)+n*Math.cosh(r))}}let C={calculatedDuration:x&&v||null,velocity:t=>ei(r(t)),next:t=>{if(!x&&w<1){let e=Math.exp(-w*T*t),i=Math.sin(s*t),r=Math.cos(s*t),l=d-e*(n*i+b*r);return p.done=Math.abs(ei(e*(a*i+o*r)))<=u&&Math.abs(d-l)<=h,p.value=p.done?d:l,p}let e=i(t);return x?p.done=t>=v:p.done=Math.abs(ei(r(t)))<=u&&Math.abs(d-e)<=h,p.value=p.done?d:e,p},toString:()=>{let t=Math.min(rs(C),2e4),e=eg(e=>C.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return C}function rm(t,e,i){let r=Math.max(e-5,0);return eC(i-t(r),e-r)}function rf({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:n=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:h}){let c,d,p=t[0],m={done:!1,value:p},f=i*e,g=p+f,v=void 0===a?g:a(g);v!==g&&(f=v-p);let y=t=>-f*Math.exp(-t/r),x=t=>v+y(t),_=t=>{let e=y(t),i=x(t);m.done=Math.abs(e)<=u,m.value=m.done?v:i},w=t=>{let e;if(e=m.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;c=t,d=rp({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:rm(x,t,m.value),damping:s,stiffness:n,restDelta:u,restSpeed:h})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,_(t),w(t)),void 0!==c&&t>=c)?d.next(t-c):(e||_(t),m)}}}rp.applyToOptions=t=>{let e=function(t,e=100,i){let r=i({...t,keyframes:[0,e]}),s=Math.min(rs(r),2e4);return{type:"keyframes",ease:t=>r.next(s*t).value/e,duration:s/1e3}}(t,100,rp);return t.ease=e.ease,t.duration=ei(e.duration),t.type="keyframes",t};let rg=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function rv(t,e,i,r){return t===e&&i===r?tq:s=>
10===s||1===s?s:rg(function(t,e,i,r,s){let n,a,o=0;do(n=rg(a=e+(i-e)/2,r,s)-t)>0?i=a:e=a;while(Math.abs(n)>1e-7&&++o<12)return a}(s,0,1,t,i),e,r)}let ry=rv(.42,0,1,1),rx=rv(0,0,.58,1),r_=rv(.42,0,.58,1),rw=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,rb=t=>e=>1-t(1-e),rT=rv(.33,1.53,.69,.99),rS=rb(rT),rC=rw(rS),rM=t=>t>=1?1:(t*=2)<1?.5*rS(t):.5*(2-Math.pow(2,-10*(t-1))),rA=t=>1-Math.sin(Math.acos(t)),rj=rb(rA),rk=rw(rA),rP={linear:tq,easeIn:ry,easeInOut:r_,easeOut:rx,circIn:rA,circInOut:rk,circOut:rj,backIn:rS,backInOut:rC,backOut:rT,anticipate:rM},rE=t=>{if(em(t)){tC(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,s]=t;return rv(e,i,r,s)}return"string"==typeof t?(tC(void 0!==rP[t],`Invalid easing type '${t}'`,"invalid-easing-type"),rP[t]):t},rR=(t,e,i)=>{let r=e-t;return r?(i-t)/r:1};function rN({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var s;let n,a=Array.isArray(r)&&"number"!=typeof r[0]?r.map(rE):rE(r),o={done:!1,value:e[0]},l=function(t,e,{clamp:i=!0,ease:r,mixer:s}={}){let n=t.length;if(tC(n===e.length,"Both input and output ranges must be the same length","range-length"),1===n)return()=>e[0];if(2===n&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[n-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,i){let r=[],s=i||tH.mix||ri,n=t.length-1;for(let i=0;i<n;i++){let n=s(t[i],t[i+1]);e&&(n=iJ(Array.isArray(e)?e[i]||tq:e,n)),r.push(n)}return r}(e,r,s),l=o.length,u=i=>{if(a&&i<t[0])return e[0];let r=0;if(l>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let s=rR(t[r],t[r+1],i);return o[r](s)};return i?e=>u(E(t[0],t[n-1],e)):u}((s=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let s=rR(0,e,r);t.push(e4(i,1,s))}}(n=[0],e.length-1),n),s.map(e=>e*t)),e,{ease:Array.isArray(a)?a:e.map(()=>a||r_).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=l(e),o.done=e>=t,o)}}let rD={decay:rf,inertia:rf,tween:rN,keyframes:rN,spring:rp};function rF(t){"string"==typeof t.type&&(t.type=rD[t.type])}let rL=t=>t/100;class rV extends ep{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==eS.now()&&this.tick(eS.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;rF(t);let{type:e=rN,repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:n=0}=t,{keyframes:a}=t,o=e||rN;o!==rN&&"number"!=typeof a[0]&&(this.mixKeyframes=iJ(rL,ri(a[0],a[1])),a=[0,100]);let l=o({...t,keyframes:a});"mirror"===s&&(this.mirroredGenerator=o({...t,keyframes:[...a].reverse(),velocity:-n})),null===l.calculatedDuration&&(l.calculatedDuration=rs(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:r,totalDuration:s,mixKeyframes:n,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return r.next(0);let{delay:u=0,keyframes:h,repeat:c,repeatType:d,repeatDelay:p,type:m,onUpdate:f,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>s;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let x=this.currentTime,_=r;if(c){let t=Math.min(this.currentTime,s)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,c+1))%2&&("reverse"===d?(i=1-i,p&&(i-=p/o)):"mirror"===d&&(_=a)),x=E(0,1,i)*o}y?(this.delayState.value=h[0],i=this.delayState):i=_.next(x),n&&!y&&(i.value=n(i.value));let{done:w}=i;y||null===l||(w=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return b&&m!==rf&&(i.value=ed(h,this.options,g,this.speed)),f&&f(i.value),b&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return this.currentTime/1e3}set time(t){t=ei(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?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(){let t=this.currentTime;
1if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return rm(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(eS.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=rr,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),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=e??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(eS.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}let rO={anticipate:rM,backInOut:rC,circInOut:rk};class rB extends e_{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in rO&&(t.ease=rO[t.ease])}(t),rF(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:r,element:s,...n}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new rV({...n,autoplay:!1}),o=Math.max(10,eS.now()-this.startTime),l=E(0,10,o-10),u=a.sample(o).value,{name:h}=this.options;s&&h&&ea(s,h,u),e.setWithVelocity(a.sample(Math.max(0,o-l)).value,u,l),a.stop()}}let rI=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(ts.test(t)||"0"===t)&&!t.startsWith("url("));function rz(t){t.duration=0,t.type="keyframes"}let rW=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,r$=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),rU=eo(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class rY extends ep{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:n="loop",keyframes:a,name:o,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=eS.now();const c={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:s,repeatType:n,name:o,motionValue:l,element:u,...h},d=u?.KeyframeResolver||t4;this.keyframeResolver=new d(a,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,r){let s;this.keyframeResolver=void 0;let{name:n,type:a,velocity:o,delay:l,isHandoff:u,onUpdate:h}=i;this.resolvedAt=eS.now();let c=!0;!function(t,e,i,r){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let n=t[t.length-1],a=rI(s,e),o=rI(n,e);return tS(a===o,`You are trying to animate ${e} from "${s}" to "${n}". "${a?n:s}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||ex(i))&&r)}(t,n,a,o)&&(c=!1,(tH.instantAnimations||!l)&&h?.(ed(t,i,e)),t[0]=t[t.length-1],rz(i),i.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=c&&!u&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:s,damping:n,type:a,keyframes:o}=t,l=e?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;
1let{onUpdate:u,transformTemplate:h}=e.owner.getProps();return rU()&&i&&(ew.has(i)||r$.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&rW.test(t[e]))return!0;return!1}(o))&&("transform"!==i||!h)&&!u&&!r&&"mirror"!==s&&0!==n&&"inertia"!==a}(d),m=d.motionValue?.owner?.current;if(p)try{s=new rB({...d,element:m})}catch{s=new rV(d)}else s=new rV(d);s.finished.then(()=>{this.notifyFinished()}).catch(tq),this.pendingTimeline&&(this.stopTimeline=s.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=s}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),t3=!0,t8(),t6(),t3=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let rX={type:"spring",stiffness:500,damping:25,restSpeed:10},rq={type:"keyframes",duration:.8},rH={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rG=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),rK=(t,e,i,r={},s,n)=>a=>{let o=iK(r,t)||{},l=o.delay||r.delay||0,{elapsed:u=0}=r;u-=ei(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...o,delay:-u,onUpdate:t=>{e.set(t),o.onUpdate&&o.onUpdate(t)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:t,motionValue:e,element:n?void 0:s};!function(t){for(let e in t)if(!rG.has(e))return!0;return!1}(o)&&Object.assign(h,((t,{keyframes:e})=>e.length>2?rq:P.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:rX:rH)(t,h)),h.duration&&(h.duration=ei(h.duration)),h.repeatDelay&&(h.repeatDelay=ei(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(rz(h),0===h.delay&&(c=!0)),(tH.instantAnimations||tH.skipAnimations||s?.shouldSkipAnimations||o.skipAnimations)&&(c=!0,rz(h),h.delay=0),h.allowFlatten=!o.type&&!o.ease,c&&!n&&void 0!==e.get()){let t=ed(h.keyframes,o);if(void 0!==t)return void tZ.update(()=>{h.onUpdate(t),h.onComplete()})}return o.isSync?new rV(h):new rY(h)};function rZ(t,e,{delay:i=0,transitionOverride:r,type:s}={}){let{transition:n,transitionEnd:a,...o}=e,l=t.getDefaultTransition();n=n?iG(n,l):l;let u=n?.reduceMotion,h=n?.skipAnimations;r&&(n=r);let c=[],d=s&&t.animationState&&t.animationState.getState()[s],p=n?.path;for(let e in p&&p.animateVisualElement(t,o,n,i,c),o){let r=t.getValue(e,t.latestValues[e]??null),s=o[e];if(void 0===s||d&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(d,e))continue;let a={delay:i,...iK(n||{},e)};h&&(a.skipAnimations=!0);let l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(s)&&s===l&&!a.velocity){tZ.update(()=>r.set(s));continue}let p=!1;if(window.MotionHandoffAnimation){let i=t.props[iW];if(i){let t=window.MotionHandoffAnimation(i,e,tZ);null!==t&&(a.startTime=t,p=!0)}}iQ(t,e);let m=u??t.shouldReduceMotion;r.start(rK(e,r,s,m&&tx.has(e)?{type:!1}:a,t,p));let f=r.animation;f&&c.push(f)}if(a){let e=()=>tZ.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:r={},...s}=iH(t,e)||{};for(let e in s={...s,...i}){var n;let i=iZ(n=s[e])?n[n.length-1]||0:n;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,ej(i))}}(t,a)});c.length?Promise.all(c).then(e):e()}return c}function rQ(t,e,i,r=0,s=1){let n=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,o=(a-1)*r;return"function"==typeof i?i(n,a):1===s?n*r:o-n*r}function rJ(t,e,i={}){let r=iH(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(s=i.transitionOverride);let n=r?()=>Promise.all(rZ(t,r,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:n=0,staggerChildren:a,staggerDirection:o}=s;
1return function(t,e,i=0,r=0,s=0,n=1,a){let o=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),o.push(rJ(l,e,{...a,delay:i+("function"==typeof r?0:r)+rQ(t.variantChildren,l,r,s,n)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}(t,e,r,n,a,o,i)}:()=>Promise.resolve(),{when:o}=s;if(!o)return Promise.all([n(),a(i.delay)]);{let[t,e]="beforeChildren"===o?[n,a]:[a,n];return t().then(()=>e())}}let r0=eD.length;function r1(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}let r2=[...eN].reverse(),r5=eN.length;function r3(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function r6(){return{animate:r3(!0),whileInView:r3(),whileHover:r3(),whileTap:r3(),whileDrag:r3(),whileFocus:r3(),exit:r3()}}let r8=0;function r4(t){return[t("x"),t("y")]}function r9(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)}let r7={x:!1,y:!1};function st(t){return t.max-t.min}function se(t,e,i,r=.5){t.origin=r,t.originPoint=e4(e.min,e.max,t.origin),t.scale=st(i)/st(e),t.translate=e4(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function si(t,e,i,r){se(t.x,e.x,i.x,r?r.originX:void 0),se(t.y,e.y,i.y,r?r.originY:void 0)}function sr(t,e,i,r=0){t.min=(r?e4(i.min,i.max,r):i.min)+e.min,t.max=t.min+st(e)}
1function ss(t,e,i,r=0){let s=r?e4(i.min,i.max,r):i.min;t.min=e.min-s,t.max=t.min+st(e)}function sn(t,e,i,r){ss(t.x,e.x,i.x,r?.x),ss(t.y,e.y,i.y,r?.y)}let sa=t=>"object"==typeof t&&null!==t;function so(t){return sa(t)&&"ownerSVGElement"in t}function sl(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let s=i?.[t]??r.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t).filter(t=>null!=t)}let su=new WeakMap,sh=(t,e,i)=>(r,s)=>s&&s[0]?s[0][t+"Size"]:so(r)&&"getBBox"in r?r.getBBox()[e]:r[i],sc=sh("inline","width","offsetWidth"),sd=sh("block","height","offsetHeight");function sp({target:t,borderBoxSize:e}){su.get(t)?.forEach(i=>{i(t,{get width(){return sc(t,e)},get height(){return sd(t,e)}})})}function sm(t){t.forEach(sp)}let sf=new Set;function sg(t,e){let s;return"function"==typeof t?(sf.add(t),r||(r=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};sf.forEach(e=>e(t))},window.addEventListener("resize",r)),()=>{sf.delete(t),sf.size||"function"!=typeof r||(window.removeEventListener("resize",r),r=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(sm)),(s=sl(t)).forEach(t=>{let r=su.get(t);r||(r=new Set,su.set(t,r)),r.add(e),i?.observe(t)}),()=>{s.forEach(t=>{let r=su.get(t);r?.delete(e),r?.size||i?.unobserve(t)})})}let sv=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),sy=new Set(["INPUT","SELECT","TEXTAREA"]),sx=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function s_(t){return{point:{x:t.pageX,y:t.pageY}}}function sw(t,e,i,r){return r9(t,e,t=>sx(t)&&i(t,s_(t)),r)}let sb=({current:t})=>t?t.ownerDocument.defaultView:null,sT=(t,e)=>Math.abs(t-e),sS=new Set(["auto","scroll"]);class sC{constructor(t,e,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:s=!1,distanceThreshold:n=3,element:a}={}){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=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=sM(this.lastRawMoveEventInfo,this.transformPagePoint));let i=sj(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(sT(t.x,e.x)**2+sT(t.y,e.y)**2)>=this.distanceThreshold);if(!r&&!s)return;let{point:n}=i,{timestamp:a}=tJ;this.history.push({...n,timestamp:a});let{onStart:o,onMove:l}=this.handlers;r||(o&&o(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=sM(e,this.transformPagePoint),tZ.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:s}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=sj("pointercancel"===t.type?this.lastMoveEventInfo:sM(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),r&&r(t,n)},!sx(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=n,this.contextWindow=r||window;const o=sM(s_(t),this.transformPagePoint),{point:l}=o,{timestamp:u}=tJ;this.history=[{...l,timestamp:u}];const{onSessionStart:h}=e;h&&h(t,sj(o,this.history));const c={passive:!0,capture:!0};this.removeListeners=iJ(sw(this.contextWindow,"pointermove",this.handlePointerMove,c),sw(this.contextWindow,"pointerup",this.handlePointerUp,c),sw(this.contextWindow,"pointercancel",this.handlePointerUp,c)),a&&this.startScrollTracking(a)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(sS.has(t.overflowX)||sS.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.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){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,r=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:r.x-e.x,y:r.y-e.y};(0!==s.x||0!==s.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,r),tZ.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tQ(this.updatePoint)}}function sM(t,e){return e?{point:e(t.point)}:t}function sA(t,e){return{x:t.x-e.x,y:t.y-e.y}}function sj({point:t},e){return{point:t,delta:sA(t,sk(e)),offset:sA(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,r=sk(t);for(;e>=0&&(i=t[e],!(r.timestamp-i.timestamp>ei(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&r.timestamp-i.timestamp>2*ei(.1)&&(i=t[1]);let s=(r.timestamp-i.timestamp)/1e3;if(0===s)return{x:0,y:0};let n={x:(r.x-i.x)/s,y:(r.y-i.y)/s}
1;return n.x===1/0&&(n.x=0),n.y===1/0&&(n.y=0),n}(e)}}function sk(t){return t[t.length-1]}function sP(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function sE(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function sR(t,e,i){return{min:sN(t,e),max:sN(t,i)}}function sN(t,e){return"number"==typeof t?t:t[e]||0}let sD=new WeakMap;class sF{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=tv(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let s=t=>{e&&this.snapToCursor(s_(t).point),this.stopAnimation()},n=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:s}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(r7[t])return null;else return r7[t]=!0,()=>{r7[t]=!1};return r7.x||r7.y?null:(r7.x=r7.y=!0,()=>{r7.x=r7.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),r4(t=>{let e=this.getAxisMotionValue(t).get()||0;if(Y.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=st(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&tZ.update(()=>s(t,e),!1,!0),iQ(this.visualElement,"transform");let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:s,onDrag:n}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),n&&tZ.update(()=>n(t,e),!1,!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new sC(t,{onSessionStart:s,onStart:n,onMove:a,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:sb(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,r=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!r||!i)return;let{velocity:n}=r;this.startAnimation(n);let{onDragEnd:a}=this.getProps();a&&tZ.postRender(()=>a(i,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!sV(t,r,this.currentDirection))return;let s=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?e4(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?e4(i,t,r.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),s.set(n)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&iU(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:s}){return{x:sP(t.x,i,s),y:sP(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:sR(t,"left","right"),y:sR(t,"top","bottom")}}(e),r!==this.constraints&&!iU(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&r4(t=>{var e,r;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],r=this.constraints[t],s={},void 0!==r.min&&(s.min=r.min-e.min),void 0!==r.max&&(s.max=r.max-e.min),s))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!iU(e))return!1;let r=e.current;tC(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;s.root&&(s.root.scroll=void 0,s.root.updateScroll());
1let n=function(t,e,i){let r=iv(t,i),{scroll:s}=e;return s&&(id(r.x,s.offset.x),id(r.y,s.offset.y)),r}(r,s.root,this.visualElement.getTransformPagePoint()),a=(t=s.layout.layoutBox,{x:sE(t.x,n.x),y:sE(t.y,n.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(a));this.hasMutatedConstraints=!!t,t&&(a=ir(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:s,dragSnapToOrigin:n,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(r4(a=>{if(!sV(a,e,this.currentDirection))return;let l=o&&o[a]||{};(!0===n||n===a)&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[a]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return iQ(this.visualElement,t),i.start(rK(t,i,0,e,this.visualElement,!1))}stopAnimation(){r4(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){r4(e=>{let{drag:i}=this.getProps();if(!sV(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,s=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:n}=r.layout.layoutBox[e],a=s.get()||0;s.set(t[e]-e4(i,n,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iU(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};r4(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,s;let n,a,o,l=e.get();r[t]=(i={min:l,max:l},s=this.constraints[t],n=.5,a=st(i),(o=st(s))>a?n=rR(s.min,s.max-a,i.min):a>o&&(n=rR(i.min,i.max-o,s.min)),E(0,1,n))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),r4(e=>{if(!sV(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:n}=this.constraints[e];i.set(e4(s,n,r[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;sD.set(this.visualElement,this);let e=this.visualElement.current,i=sw(e,"pointerdown",t=>{let{drag:i,dragListener:r=!0}=this.getProps(),s=t.target,n=s!==e&&(sy.has(s.tagName)||!0===s.isContentEditable);i&&r&&!n&&this.start(t)}),r=()=>{var i,r,s;let n,a,{dragConstraints:o}=this.getProps();iU(o)&&o.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,r=o.current,n=sg(i,sL(s=()=>this.scalePositionWithinConstraints())),a=sg(r,sL(s)),t=()=>{n(),a()}))},{projection:s}=this.visualElement,n=s.addEventListener("measure",r);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),tZ.read(r);let a=r9(window,"resize",()=>this.scalePositionWithinConstraints()),o=s.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(r4(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{a(),i(),n(),o&&o(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:s=!1,dragElastic:n=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:s,dragElastic:n,dragMomentum:a}}}function sL(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function sV(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let sO=t=>(e,i)=>{t&&tZ.update(()=>t(e,i),!1,!0)},sB={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var sI=u;function sz(t=!0){let e=(0,u.useContext)(iN);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:r,register:s}=e,n=(0,u.useId)();(0,u.useEffect)(()=>{if(t)return s(n)},[t]);let a=(0,u.useCallback)(()=>t&&r&&r(n),[n,r,t]);return!i&&r?[!1,a]:[!0]}let sW=!1;class s$ extends sI.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:s}=t;s&&(e.group&&e.group.add(s),i&&i.register&&r&&i.register(s),sW&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),sB.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:s}=this.props,{projection:n}=i;return n&&(n.isPresent=s,t.layoutDependency!==e&&n.setOptions({...n.options,layoutDependency:e}),sW=!0,r||t.layoutDependency!==e||void 0===e||t.isPresent!==s?n.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?n.promote():n.relegate()||tZ.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),eb.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;sW=!0,r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function sU(t){let[e,i]=sz(),r=(0,sI.useContext)(iw);return(0,a.jsx)(s$,{...t,layoutGroup:r,switchLayoutGroup:(0,sI.useContext)(i$),isPresent:e,safeToRemove:i})}let sY=e3.length,sX=t=>"string"==typeof t?parseFloat(t):t,sq=t=>"number"==typeof t||X.test(t);function sH(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let sG=sZ(0,.5,rj),sK=sZ(.5,.95,tq);function sZ(t,e,i){return r=>r<t?0:r>e?1:i(rR(t,e,r))}function sQ(t,e){t.min=e.min,t.max=e.max}function sJ(t,e){sQ(t.x,e.x),sQ(t.y,e.y)}function s0(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function s1(t,e,i,r,s){return t-=e,t=r+1/i*(t-r),void 0!==s&&(t=r+1/s*(t-r)),t}function s2(t,e,[i,r,s],n,a){!function(t,e=0,i=1,r=.5,s,n=t,a=t){if(Y.test(e)&&(e=parseFloat(e),e=e4(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=e4(n.min,n.max,r);t===n&&(o-=e),t.min=s1(t.min,e,i,o,s),t.max=s1(t.max,e,i,o,s)}(t,e[i],e[r],e[s],e.scale,n,a)}let s5=["x","scaleX","originX"],s3=["y","scaleY","originY"];function s6(t,e,i,r){s2(t.x,e,s5,i?i.x:void 0,r?r.x:void 0),s2(t.y,e,s3,i?i.y:void 0,r?r.y:void 0)}function s8(t){return 0===t.translate&&1===t.scale}function s4(t){return s8(t.x)&&s8(t.y)}function s9(t,e){return t.min===e.min&&t.max===e.max}function s7(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function nt(t,e){return s7(t.x,e.x)&&s7(t.y,e.y)}function ne(t){return st(t.x)/st(t.y)}function ni(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class nr{constructor(){this.members=[]}add(t){er(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let r=i.instance;r&&!1!==r.isConnected||i.snapshot||(es(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if(es(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
1}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:r}=i.options,{layoutDependency:s}=t.options;(void 0===r||r!==s)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let ns=(t,e)=>t.depth-e.depth;class nn{constructor(){this.children=[],this.isDirty=!1}add(t){er(this.children,t),this.isDirty=!0}remove(t){es(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ns),this.isDirty=!1,this.children.forEach(t)}}let na=["","X","Y","Z"],no=0;function nl(t,e,i,r){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),r&&(r[t]=0))}function nu({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(t={},i=e?.()){this.id=no++,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(nd),this.nodes.forEach(nw),this.nodes.forEach(nb),this.nodes.forEach(np)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new nn)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new en),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=so(e)&&!(so(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let i,r=0,s=()=>this.root.updateBlockedByResize=!1;tZ.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==r){let e,n;r=t,this.root.updateBlockedByResize=!0,i&&i(),e=eS.now(),n=({timestamp:t})=>{let i=t-e;i>=250&&(tQ(n),s(i-250))},tZ.setup(n,!0),i=()=>tQ(n),sB.hasAnimatedSinceResize&&(sB.hasAnimatedSinceResize=!1,this.nodes.forEach(n_))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||nj,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=s.getProps(),l=!this.targetLayout||!nt(this.targetLayout,r),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...iK(n,"layout"),onPlay:a,onComplete:o};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u,e.path)}else e||n_(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tQ(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.forEac
1h(nT),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let r=i.props[iW];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",tZ,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(ng),this.nodes.forEach(nf);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(nv);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ny),this.nodes.forEach(nx),this.nodes.forEach(nh),this.nodes.forEach(nc)):this.nodes.forEach(nv),this.clearAllSnapshots();let t=eS.now();tJ.delta=E(0,1e3/60,t-tJ.timestamp),tJ.timestamp=t,tJ.isProcessing=!0,t0.update.process(tJ),t0.preRender.process(tJ),t0.render.process(tJ),tJ.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,eb.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nm),this.sharedNodes.forEach(nS)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tZ.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tZ.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||st(this.snapshot.measuredBox.x)||st(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 t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=tv()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!s4(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,n=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||io(this.latestValues)||n)&&(s(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),nE((e=r).x),nE(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return tv();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(nN))){let{scroll:t}=this.root;t&&(id(e.x,t.offset.x),id(e.y,t.offset.y))}return e}removeElementScroll(t){let e=tv();if(sJ(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:s,options:n}=r;r!==this.root&&s&&n.layoutScroll&&(s.wasRoot&&sJ(e,t),id(e.x,s.offset.x),id(e.y,s.offset.y))}return e}applyTransform(t,e=!1,i){let r=i||tv();sJ(r,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(id(r.x,-i.scroll.offset.x),id(r.y,-i.scroll.offset.y)),io(i.latestValues)&&ig(r,i.latestValues,i.layout?.layoutBox)}return io(this.latestValues)&&ig(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(t){let e=tv();sJ(e,t);for(let t=0;t<this.path.length;t++){let i,r=this.path[t];io(r.latestValues)&&(r.instance&&(ia(r.latestValues)&&r.updateSnapshot(),sJ(i=tv(),r.measurePageBox())),s6(e,r.latestValues,r.snapshot?.layoutBox,i))}return io(this.latestValues)&&s6(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tJ.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:s}=this.options;if(!this.layout||!(r||s))return;this.resolvedRelativeTargetAt=tJ.timestamp;let n=this.getClosestProjectingParent();if(n&&this.linkedParentVersion!==n.layoutVersion&&!n.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&n&&n.layout?this.createRelativeTarget(n,this.layout.layoutBox,n.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=tv(),this.targetWithTransforms=tv()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var a,o,l,u;this.forceRelativeParentToResolveTarget(),a=this.target,o=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,sr(a.x,o.x,l.x,u?.x),sr(a.y,o.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):sJ(this.target,this.layout.layoutBox),ic(this.target,this.targetDelta)):sJ(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&n&&!!n.resumingFrom==!!this.resumingFrom&&!n.options.layoutScroll&&n.target&&1!==this.animationProgress?this.createRelativeTarget(n,this.target,n.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||ia(this.parent.latestValues)||il(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tv(),this.relativeTargetOrigin=tv(),sn(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),sJ(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tJ.timestamp&&(i=!1),i)return;let{layout:r,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||s))return;sJ(this.layoutCorrected,this.layout.layoutBox);let n=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,r=!1){let s,n,a=i.length;if(a){e.x=e.y=1;for(let o=0;o<a;o++){n=(s=i[o]).projectionDelta;let{visualElement:a}=s.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(id(t.x,-s.scroll.offset.x),id(t.y,-s.scroll.offset.y)),n&&(e.x*=n.x.scale,e.y*=n.y.scale,ic(t,n)),r&&io(s.latestValues)&&ig(t,s.latestValues,s.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=tv());let{target:o}=t;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(s0(this.prevProjectionDelta.x,this.projectionDelta.x),s0(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),si(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===n&&this.treeScale.y===a&&ni(this.projectionDelta.x,this.prevProjectionDelta.x)&&ni(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=tf(),this.projectionDelta=tf(),this.projectionDeltaWithTransform=tf()}setAnimationOrigin(t,e=!1,i){let r,s=this.snapshot,n=s?s.latestValues:{},a={...this.latestValues},o=tf();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=tv(),u=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),c=!h||h.members.length<=1,d=!!(u&&!c&&!0===this.options.crossfade&&!this.path.some(nA));this.animationProgress=0;let p=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,s=p?.(i);if(s?(o.x.translate=s.x,o.x.scale=e4(t.x.scale,1,i),o.x.origin=t.x.origin,o.x.originPoint=t.x.originPoint,o.y.translate=s.y,o.y.scale=e4(t.y.scale,1,i),o.y.origin=t.y.origin,o.y.originPoint=t.y.originPoint):(nC(o.x,t.x,i),nC(o.y,t.y,i)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,m,f,g,v,y;sn(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,g=this.relativeTargetOrigin,v=l,y=i,nM(f.x,g.x,v.x,y),nM(f.y,g.y,v.y,y),r&&(h=this.relativeTarget,m=r,s9(h.x,m.x)&&s9(h.y,m.y))&&(this.isProjectionDirty=!1),r||(r=tv()),sJ(r,this.relativeTarget)}u&&(this.animationValues=a,function(t,e,i,r,s,n){s?(t.opacity=e4(0,i.opacity??1,sG(r)),t.opacityExit=e4(e.opacity??1,0,sK(r))):n&&(t.opacity=e4(e.opacity??1,i.opacity??1,r));for(let s=0;s<sY;s++){let n=e3[s],a=sH(e,n),o=sH(i,n);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||sq(a)===sq(o)?(t[n]=Math.max(e4(sX(a),sX(o),r),0),(Y.test(o)||Y.test(a))&&(t[n]+="%")):t[n]=o)}(e.rotate||i.rotate)&&(t.rotate=e4(e.rotate||0,i.rotate||0,r))}(a,n,this.latestValues,i,d,c)),s&&void 0!==s.rotate&&(this.animationValues||(this.animationValues=a),this.animationValues.pathRotation=s.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tQ(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tZ.update(()=>{var e,i,r;let s;sB.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ej(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],r={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}},(s=ty(e)?e:ej(e)).start(rK("",s,i,r)),s.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:s}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&nR(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||tv();let e=st(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=st(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}sJ(e,i),ig(e,s),si(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nr),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let r={};i.z&&nl("z",t,r,this.animationValues);for(let e=0;e<na.length;e++)nl(`rotate${na[e]}`,t,r,this.animationValues),nl(`skew${na[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=iR(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=iR(e?.pointerEvents)||""),this.hasProjected&&!io(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=r.animationValues||r.latestValues;this.applyTransformsToTarget();let n=function(t,e,i){let r="",s=t.x.translate/e.x,n=t.y.translate/e.y,a=i?.z||0;if((s||n||a)&&(r=`translate3d(${s}px, ${n}px, ${a}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:s,rotateX:n,rotateY:a,skewX:o,skewY:l}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),s&&(r+=`rotate(${s}deg) `),n&&(r+=`rotateX(${n}deg) `),a&&(r+=`rotateY(${a}deg) `),o&&(r+=`skewX(${o}deg) `),l&&(r+=`skewY(${l}deg) `)}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(r+=`scale(${o}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(n=i(s,n)),t.transform=n;let{x:a,y:o}=this.projectionDelta;for(let e in t.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,r.animationValues?t.opacity=r===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=r===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,e9){if(void 0===s[e])continue;let{correct:i,applyTo:a,isCSSVariable:o}=e9[e],l="none"===n?s[e]:i(s[e],r);if(a){let e=a.length;for(let i=0;i<e;i++)t[a[i]]=l}else o?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=r===this?iR(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(nf),this.root.sharedNodes.clear()}}}function nh(t){t.updateLayout()}function nc(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=t.layout,{animationType:s}=t.options,n=e.source!==t.layout.source;if("size"===s)r4(t=>{let r=n?e.measuredBox[t]:e.layoutBox[t],s=st(r);r.min=i[t].min,r.max=r.min+s});else if("x"===s||"y"===s){let t="x"===s?"y":"x";sQ(n?e.measuredBox[t]:e.layoutBox[t],i[t])}else nR(s,e.layoutBox,i)&&r4(r=>{let s=n?e.measuredBox[r]:e.layoutBox[r],a=st(i[r]);s.max=s.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+a)});let a=tf();si(a,i,e.layoutBox);let o=tf();n?si(o,t.applyTransform(r,!0),e.measuredBox):si(o,i,e.layoutBox);let l=!s4(a),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:s,layout:n}=r;if(s&&n){let a=t.options.layoutAnchor||void 0,o=tv();sn(o,e.layoutBox,s.layoutBox,a);let l=tv();sn(l,i,n.layoutBox,a),nt(o,l)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=o,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}
1function nd(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function np(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function nm(t){t.clearSnapshot()}function nf(t){t.clearMeasurements()}function ng(t){t.isLayoutDirty=!0,t.updateLayout()}function nv(t){t.isLayoutDirty=!1}function ny(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function nx(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function n_(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function nw(t){t.resolveTargetDelta()}function nb(t){t.calcProjection()}function nT(t){t.resetSkewAndRotation()}function nS(t){t.removeLeadSnapshot()}function nC(t,e,i){t.translate=e4(e.translate,0,i),t.scale=e4(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function nM(t,e,i,r){t.min=e4(e.min,i.min,r),t.max=e4(e.max,i.max,r)}function nA(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let nj={duration:.45,ease:[.4,0,.1,1]},nk=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),nP=nk("applewebkit/")&&!nk("chrome/")?Math.round:tq;function nE(t){t.min=nP(t.min),t.max=nP(t.max)}function nR(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(ne(e)-ne(i)))}function nN(t){return t!==t.root&&t.scroll?.wasRoot}let nD=nu({attachResizeListener:(t,e)=>r9(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),nF={current:void 0},nL=nu({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!nF.current){let t=new nD({});t.mount(window),t.setOptions({layoutScroll:!0}),nF.current=t}return nF.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function nV(t,e){let i=sl(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function nO(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=r["onHover"+i];s&&tZ.postRender(()=>s(e,s_(e)))}function nB(t){return sa(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}let nI=(t,e)=>!!e&&(t===e||nI(t,e.parentElement)),nz=new WeakSet;function nW(t){return e=>{"Enter"===e.key&&t(e)}}function n$(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function nU(t){return sx(t)&&!(r7.x||r7.y)}let nY=new WeakSet;function nX(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=r["onTap"+("End"===i?"":i)];s&&tZ.postRender(()=>s(e,s_(e)))}let nq=new WeakMap,nH=new WeakMap,nG=t=>{let e=nq.get(t.target);e&&e(t)},nK=t=>{t.forEach(nG)},nZ={some:0,all:1},nQ=function(t,e){if("u"<typeof Proxy)return iX;let i=new Map,r=(i,r)=>iX(i,r,t,e);return new Proxy((t,e)=>r(t,e),{get:(s,n)=>"create"===n?r:(i.has(n)||i.set(n,iX(n,void 0,t,e)),i.get(n))})}({animation:{Feature:class extends iq{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>rJ(t,e,i)));else if("string"==typeof e)r=rJ(t,e,i);else{let s="function"==typeof e?iH(t,e,i.custom):e;r=Promise.all(rZ(t,s,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=r6(),r=!0,s=!1,n=e=>(i,r)=>{let s=iH(t,r,"exit"===e?t.presenceContext?.custom:void 0);if(s){let{transition:t,transitionEnd:e,...r}=s;i={...i,...r,...e}}return i};function a(a){let{props:o}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<r0;t++){let r=eD[t],s=e.props[r];
1(eR(s)||!1===s)&&(i[r]=s)}return i}(t.parent)||{},u=[],h=new Set,c={},d=1/0;for(let e=0;e<r5;e++){var p,m;let f=r2[e],g=i[f],v=void 0!==o[f]?o[f]:l[f],y=eR(v),x=f===a?g.isActive:null;!1===x&&(d=e);let _=v===l[f]&&v!==o[f]&&y;if(_&&(r||s)&&t.manuallyAnimateOnMount&&(_=!1),g.protectedKeys={...c},!g.isActive&&null===x||!v&&!g.prevProp||eE(v)||"boolean"==typeof v)continue;if("exit"===f&&g.isActive&&!0!==x){g.prevResolvedValues&&(c={...c,...g.prevResolvedValues});continue}let w=(p=g.prevProp,"string"==typeof(m=v)?m!==p:!!Array.isArray(m)&&!r1(m,p)),b=w||f===a&&g.isActive&&!_&&y||e>d&&y,T=!1,S=Array.isArray(v)?v:[v],C=S.reduce(n(f),{});!1===x&&(C={});let{prevResolvedValues:M={}}=g,A={...M,...C},j=e=>{b=!0,h.has(e)&&(T=!0,h.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in A){let e=C[t],i=M[t];if(!c.hasOwnProperty(t))(iZ(e)&&iZ(i)?!r1(e,i)||w:e!==i)?null!=e?j(t):h.add(t):void 0!==e&&h.has(t)?j(t):g.protectedKeys[t]=!0}g.prevProp=v,g.prevResolvedValues=C,g.isActive&&(c={...c,...C}),(r||s)&&t.blockInitialAnimation&&(b=!1);let k=_&&w,P=!k||T;b&&P&&u.push(...S.map(e=>{let i={type:f};if("string"==typeof e&&(r||s)&&!k&&t.manuallyAnimateOnMount&&t.parent){let{parent:r}=t,s=iH(r,e);if(r.enteringChildren&&s){let{delayChildren:e}=s.transition||{};i.delay=rQ(r.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof o.initial){let i=iH(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let r=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=r??null}),u.push({animation:e})}let f=!!u.length;return r&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(f=!1),r=!1,s=!1,f?e(u):Promise.resolve()}return{animateChanges:a,setActive:function(e,r){if(i[e].isActive===r)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,r)),i[e].isActive=r;let s=a(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=r6(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();eE(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends iq{constructor(){super(...arguments),this.id=r8++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=iH(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...r}=i;for(let t in r)this.node.getValue(t)?.jump(r[t])}}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",!t);e&&!t&&r.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends iq{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:r,margin:s,amount:n="some",once:a}=i,o={root:r?r.current:void 0,rootMargin:s,threshold:"number"==typeof n?n:nZ[n]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,a&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),s=e?i:r;s&&s(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;nH.has(i)||nH.set(i,{});let r=nH.get(i),s=JSON.stringify(e);return r[s]||(r[s]=new IntersectionObserver(nK,{root:t,...e})),r[s]}(o),nq.set(t,l),e.observe(t),()=>{nq.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends iq{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[r,s,n]=nV(t,i),a=t=>{let r=t.currentTarget;if(!nU(t)||nY.has(t))return;nz.add(r),i.stopPropagation&&nY.add(t);let n=e(r,t),a={...s,capture:!0},o=(t,e)=>{window.removeEventListener("pointerup",l,a),window.removeEventListener("pointercancel",u,a),nz.has(r)&&nz.delete(r),nU(t)&&"function"==typeof n&&n(t,{success:e})},l=t=>{o(t,r===window||r===document||i.useGlobalTarget||nI(r,t.target))},u=t=>{o(t,!1)};window.addEventListener("pointerup",l,a),window.addEventListener("pointercancel",u,a)};return r.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",a,s),nB(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=nW(()=>{if(nz.has(i))return;n$(i,"down");let t=nW(()=>{n$(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>n$(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,s)),sv.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),n}(t,(t,e)=>(nX(this.node,e,"Start"),(t,{success:e})=>nX(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends iq{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){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=iJ(r9(this.node.current,"focus",()=>this.onFocus()),r9(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends iq{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,s,n]=nV(t,i);return r.forEach(t=>{let i,r=!1,n=!1,a=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},o=t=>{r=!1,window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",o),n&&(n=!1,a(t))},l=t=>{if("touch"!==t.pointerType){if(r){n=!0;return}a(t)}};t.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||r7.x||r7.y)return;n=!1;let a=e(t,r);"function"==typeof a&&(i=a,t.addEventListener("pointerleave",l,s))},s),t.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",o,s),window.addEventListener("pointercancel",o,s)},s)}),n}(t,(t,e)=>(nO(this.node,e,"Start"),t=>nO(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends iq{constructor(){super(...arguments),this.removePointerDownListener=tq}onPointerDown(t){this.session=new sC(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:sb(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:sO(t),onStart:sO(e),onMove:sO(i),onEnd:(t,e)=>{delete this.session,r&&tZ.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=sw(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends iq{constructor(t){super(t),this.removeGroupControls=tq,this.removeListeners=tq,this.controls=new sF(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tq}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:nL,MeasureLayout:sU},layout:{ProjectionNode:nL,MeasureLayout:sU}},(t,e)=>e.isSVG??i_(t)?new ii(e):new iy(e,{allowProjection:t!==u.Fragment}));var nJ=t.i(75254);let n0=(0,nJ.default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]),n1=[.22,1,.36,1],n2=(t=0)=>({initial:{opacity:0,y:22}
1,animate:{opacity:1,y:0},transition:{duration:.8,ease:n1,delay:t}}),n5=[{name:"Inc. 5000",src:"/images/trusted/inc5000.webp",className:"h-8 w-[4.6rem]"},{name:"HSCO",src:"/images/trusted/hsco.webp",className:"h-8 w-[5.6rem]"},{name:"JETRO",src:"/images/trusted/jetro.webp",className:"h-8 w-[6rem]"},{name:"VACAN",src:"/images/trusted/vacan.webp",className:"h-7 w-[7rem]"}];function n3(){let t=(0,c.useTranslations)("home.heroSlider");return(0,a.jsxs)("section",{className:"relative isolate min-h-screen overflow-hidden bg-[#08080A]",children:[(0,a.jsxs)("div",{className:"absolute inset-0",children:[(0,a.jsx)("video",{className:"h-full w-full scale-[1.04] object-cover",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"auto",children:(0,a.jsx)("source",{src:"/videos/hero-transformation.mp4",type:"video/mp4"})}),(0,a.jsx)("div",{className:"absolute inset-0 bg-[linear-gradient(95deg,rgba(6,6,8,0.98)_0%,rgba(6,6,8,0.92)_30%,rgba(6,6,8,0.6)_64%,rgba(6,6,8,0.42)_100%)]"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(circle_at_84%_14%,rgba(255,255,255,0.14),transparent_34%),radial-gradient(circle_at_72%_78%,rgba(201,169,110,0.12),transparent_36%)]"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-[linear-gradient(180deg,rgba(6,6,8,0.72)_0%,transparent_22%,transparent_68%,rgba(6,6,8,0.9)_100%)]"}),(0,a.jsx)("div",{className:"absolute inset-0 shadow-[inset_0_0_220px_60px_rgba(0,0,0,0.7)]"}),(0,a.jsx)("div",{className:"absolute inset-0 opacity-[0.06] mix-blend-overlay",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E\")",backgroundSize:"230px 230px"}})]}),(0,a.jsx)("div",{className:"relative z-10 mx-auto flex min-h-screen w-full max-w-[1376px] items-center justify-start px-4 pb-52 pt-28 sm:px-6 sm:pb-44 md:px-8 lg:px-12 xl:px-4",children:(0,a.jsxs)("div",{className:"max-w-[34rem] text-left md:max-w-[40rem] lg:max-w-[46rem]",children:[(0,a.jsxs)(nQ.h1,{className:"mb-7 font-display text-[3rem] leading-[0.94] tracking-[-0.04em] text-[#F4F0E8] [text-shadow:0_2px_40px_rgba(0,0,0,0.4)] sm:text-[3.45rem] md:text-[4.15rem] lg:text-[5.1rem]",...n2(.18),children:[(0,a.jsxs)("span",{className:"block",children:[t("transformation.headlineBefore"),(0,a.jsx)("span",{className:"text-[#a89470]",children:t("transformation.headlineAccent")}),t("transformation.headlineAfter")]}),(0,a.jsx)("span",{className:"mt-2.5 block"})]}),(0,a.jsx)(nQ.p,{className:"mb-10 max-w-[28rem] font-body text-[0.98rem] leading-[1.7] text-[#F0F0F0]/60 md:max-w-[29rem] md:text-[1.04rem]",...n2(.28),children:t("transformation.description")}),(0,a.jsx)(nQ.div,{className:"flex flex-wrap items-center justify-start gap-5 md:gap-6",...n2(.38),children:(0,a.jsxs)("a",{href:"#clients",className:"group relative inline-flex items-center gap-3 overflow-hidden rounded-full bg-[#C9A96E] px-8 py-3.5 font-heading text-[13px] font-semibold text-[#0A0A0B] shadow-[0_22px_50px_-12px_rgba(201,169,110,0.5)] transition-all duration-300 hover:shadow-[0_26px_60px_-10px_rgba(201,169,110,0.7)]",children:[(0,a.jsx)("span",{className:"absolute inset-0 -translate-x-full bg-[linear-gradient(110deg,transparent,rgba(255,255,255,0.55),transparent)] transition-transform duration-700 ease-out group-hover:translate-x-full"}),(0,a.jsx)("span",{className:"relative",children:t("ctaLabel")}),(0,a.jsx)(n0,{className:"relative h-4 w-4 transition-transform duration-300 group-hover:-translate-y-0.5 group-hover:translate-x-0.5"})]})})]})}),(0,a.jsx)(nQ.div,{className:"absolute inset-x-0 bottom-7 z-10",initial:{opacity:0,y:14},animate:{opacity:1,y:0},transition:{duration:.8,delay:.55,ease:n1},children:(0,a.jsxs)("div",{className:"mx-auto w-full max-w-[1376px] px-4 sm:px-6 md:px-8 lg:px-12 xl:px-4",children:[(0,a.jsx)("p",{className:"mb-4 font-heading text-[10px] font-medium uppercase tracking-[0.28em] text-[#F0F0F0]/40",children:t("transformation.trustedByLabel")}),(0,a.jsx)("div",{className:"grid w-fit grid-cols-2 items-center gap-x-9 gap-y-4 sm:flex sm:gap-10 md:gap-12",children:n5.map(t=>(0,a.jsx)("img",{src:t.src,alt:t.name,className:`${t.className} object-contain object-left opacity-55 grayscale`},t.name))})]})})]})}var n6=t.i(39453);function n8(t){let e,i,r,{container:s,canvas:n,ctx:a,img:o}=t;if(!s||!a||!t.sourceReady)return;let l=s.clientWidth,u=s.clientHeight;if(!l||!u)return;let h=t.off||(t.off=document.createElement("canvas")),c=t.offCtx||(t.offCtx=h.getContext("2d",{willReadFrequently:!0}));if("ai"===t.shape)i=900,h.width=e=1300,h.height=i,c.clearRect(0,0,e,i),c.fillStyle="#fff",c.textAlign="center",c.textBaseline="middle",c.font='510 680px "Helvetica Neue", Arial, sans-serif',c.save(),c.translate(e/2,i/2+18),c.scale(.7,.9),c.fillText("AI",0,0),c.restore(
1);else{if(!o)return;let t=(o.width||120)/(o.height||31);t>=1?(e=1300,i=Math.max(1,Math.round(1300/t))):(i=1300,e=Math.max(1,Math.round(1300*t))),h.width=e,h.height=i,c.clearRect(0,0,e,i),c.drawImage(o,0,0,e,i)}try{r=c.getImageData(0,0,e,i).data}catch{return}let d=e,p=i,m=0,f=0,g=!1;for(let t=0;t<i;t+=1)for(let i=0;i<e;i+=1)r[(t*e+i)*4+3]>60&&(g=!0,i<d&&(d=i),i>m&&(m=i),t<p&&(p=t),t>f&&(f=t));if(!g){t.particles=[];return}let v=m-d||1,y=f-p||1,x=d+v/2,_=p+y/2,w=l<640?{gap:7,max:1800,dotScale:1.08}:l<1024?{gap:6,max:3200,dotScale:1.2}:{gap:5,max:5200,dotScale:1.3},b=l<640,T=l>=640&&l<1024,S=Math.min((b?.78*l:T?.54*l:l*("ai"===t.shape?.34:.44))/v,u*(b?.48:"ai"===t.shape?.68:.82)/y),C=.5*l,M=u*(b?.46:.5),A=[];for(let t=p;t<=f;t+=w.gap)for(let i=d;i<=m;i+=w.gap){if(r[(t*e+i)*4+3]<=60||Math.random()>.92)continue;let s=C+(i-x)*S,n=M+(t-_)*S;A.push(function(t,e,i,r,s){let n,a,o=(n=Math.floor(4*Math.random()),a=48+130*Math.random(),{x:0===n?-a:1===n?r+a:Math.random()*r,y:2===n?-a:3===n?s+a:Math.random()*s}),l=.012+.008*Math.random();return{hx:t,hy:e,x:o.x,y:o.y,vx:(t-o.x)*l,vy:(e-o.y)*l,size:(1+.48*Math.random())*i.dotScale,baseA:.74+.22*Math.random(),ph:Math.random()*Math.PI*2,phY:Math.random()*Math.PI*2,freq:.9+.4*Math.random(),freqY:.82+.4*Math.random(),fx:3.8+1.7*Math.random(),fy:3.8+1.7*Math.random()}}(s,n,w,l,u))}if(A.length>w.max){for(let t=A.length-1;t>0;t-=1){let e=Math.floor(Math.random()*(t+1));[A[t],A[e]]=[A[e],A[t]]}A.length=w.max}let j=Math.min(window.devicePixelRatio||1,2);t.W=l,t.H=u,n.width=Math.round(l*j),n.height=Math.round(u*j),n.style.width=`${l}px`,n.style.height=`${u}px`,a.setTransform(j,0,0,j,0,0),t.particles=A,t.introAt=performance.now(),t.built=!0}function n4(t){let{ctx:e,W:i,H:r,particles:s}=t;if(e&&t.built){for(let t of(e.clearRect(0,0,i,r),e.fillStyle="#C9A96E",s))e.globalAlpha=t.baseA,e.beginPath(),e.arc(t.hx,t.hy,t.size,0,2*Math.PI),e.fill();e.globalAlpha=1}}function n9(t){if(t.raf)return;let e=performance.now();t.startTime||(t.startTime=e),t.lastFrame=e,t.raf=requestAnimationFrame(e=>(function t(e,i){let{ctx:r,W:s,H:n,particles:a}=e,o=(i-e.startTime)/1e3,l=1-Math.pow(1-Math.min((i-e.introAt)/1500,1),3),u=Math.min(Math.max((i-(e.lastFrame||i))/(1e3/60),0),2);for(let t of(e.lastFrame=i,r.clearRect(0,0,s,n),r.fillStyle="#C9A96E",a)){let i=t.hx+Math.sin(o*t.freq+t.ph)*t.fx,s=t.hy+Math.cos(o*t.freqY+t.phY)*t.fy,n=i-e.pointer.x,a=s-e.pointer.y,h=n*n+a*a;if(l>.7&&e.pointer.active&&h<5184){let e=Math.sqrt(h)||1,r=Math.pow((72-e)/72,2);t.vx+=n/e*r*5.5*u,t.vy+=a/e*r*5.5*u,t.vx+=(i-t.x)*.04*u,t.vy+=(s-t.y)*.04*u}else{let e=l<1?.066:.052;t.vx+=(i-t.x)*e*u,t.vy+=(s-t.y)*e*u}let c=Math.pow(l<1?.84:.76,u);t.vx*=c,t.vy*=c,t.x+=t.vx*u,t.y+=t.vy*u;let d=t.baseA*Math.min(1.6*l,1);d<=.012||(r.globalAlpha=d,r.beginPath(),r.arc(t.x,t.y,t.size,0,2*Math.PI),r.fill())}r.globalAlpha=1,e.raf=requestAnimationFrame(i=>t(e,i))})(t,e))}function n7(t){t.raf&&(cancelAnimationFrame(t.raf),t.raf=null)}function at({active:t,reducedMotion:e,variant:i="engineering"}){let r="ai"===i,s=(0,c.useTranslations)("home.heroSlider"),n=r?"ai":"engineering",o=(0,u.useRef)(null),l=(0,u.useRef)(null),h=(0,u.useRef)(null);null===h.current&&(h.current={raf:null,particles:[],W:0,H:0,startTime:0,introAt:0,lastFrame:0,built:!1,sourceReady:!1,shape:r?"ai":"logo",active:!1,reduced:!1,pointer:{x:-9999,y:-9999,active:!1}}),(0,u.useEffect)(()=>{let i,s=h.current;s.container=o.current,s.canvas=l.current,s.ctx=s.canvas.getContext("2d"),s.shape=r?"ai":"logo",s.active=t,s.reduced=e;let n=!1,a=()=>{s.reduced?(n7(s),n4(s)):s.active?n9(s):n4(s)};if(r)s.sourceReady=!0,n8(s),a();else{let t=new Image;s.img=t,t.onload=()=>{n||(s.sourceReady=!0,n8(s),a())},fetch("/logo/logo-particle-source.svg").then(t=>t.text()).then(e=>{n||(t.src=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(e)}`)}).catch(()=>{})}let u=t=>{if(!s.active||s.reduced||"touch"===t.pointerType)return;let e=s.container.getBoundingClientRect();s.pointer.x=t.clientX-e.left,s.pointer.y=t.clientY-e.top,s.pointer.active=!0},c=()=>{s.pointer.active=!1,s.pointer.x=-9999,s.pointer.y=-9999};s.container.addEventListener("pointermove",u,{passive:!0}),s.container.addEventListener("pointerleave",c);let d=new ResizeObserver(()=>{clearTimeout(i),i=setTimeout(()=>{n||(n8(s),s.active&&!s.reduced||n4(s))},160)});return d.observe(s.container),()=>{n=!0,n7(s),clearTimeout(i),d.disconnect(),s.container.removeEventListener("pointermove",u),s.container.removeEventListener("pointerleave",c)}},[]),(0,u.useEffect)(()=>{let i=h.current;i.active=t,i.reduced=e,(!t||e)&&(i.pointer.active=!1,i.pointer.x=-9999,i.pointer.y=-9999),i.built&&(e?(n7(i),n4(i)):t?n9(i):(n7(i),n4(i)))},[t,e]);let d={hidden:{opacity:0,y:26*!e},show:{opacity:1,y:0}};return(0,a.jsxs)("section",{ref:o,className:"relative isolate h-full min-h-screen w-full overflow-hidden bg-[#08080A]",children:[(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_52%_49%,rgba(201,169,110,0.14),transparent_52%)]"}),r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(nQ.div,{className:"pointer-events-none absolute right-[8%] top-[12%] h-72 w-72 rounded-full bg-[#C9A96E]/12 blur-[90px]",animate:e?void 0:{x:[0,-28,0],y:[0,24,0],scale:[1,1.12,1]},transition:{duration:9,repeat:1/0,ease:"easeInOut"}}),(0,a.jsx)(nQ.div,{className:"pointer-events-none absolute bottom-[7%] left-[38%] h-60 w-60 rounded-full bg-[#C9A96E]/10 blur-[85px]",animate:e?void 0:{x:[0,34,0],y:[0,-20,0],scale:[1.08,.94,1.08]},transition:{duration:11,repeat:1/0,ease:"easeInOut"}})]}),(0,a.jsx)("canvas",{ref:l,"aria-hidden":"true",className:"pointer-events-none absolute inset-0 h-full w-full"}),(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[linear-gradient(90deg,#08080A_0%,rgba(8,8,10,0.9)_28%,rgba(8,8,10,0.45)_52%,transparent_78%)]"}),(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[linear-gradient(180deg,rgba(8,8,10,0.55)_0%,transparent_24%,transparent_70%,rgba(8,8,10,0.7)_100%)]"}),(0,a.jsx)("div",{className:"relative z-10 mx-auto flex min-h-screen w-full max-w-[1480px] items-center px-[5.5vw] pb-28 pt-28 md:px-[6.5vw] lg:px-[9vw]",children:(0,a.jsxs)("div",{className:"max-w-[34rem] md:max-w-[40rem] lg:max-w-[46rem]",children:[(0,a.jsxs)(nQ.h2,{className:"mb-7 font-heading text-[2.65rem] font-bold leading-[1.04] tracking-[-0.035em] text-[#F4F0E8] [text-shadow:0_2px_40px_rgba(0,0,0,0.5)] sm:text-[3.3rem] md:text-[4.1rem] lg:text-[4.9rem]",variants:d,initial:"hidden",animate:t?"show":"hidden",transition:{duration:.8,ease:[.22,1,.36,1],delay:.1},children:[s(`${n}.headlineBefore`),(0,a.jsx)("span",{className:"text-[#a89470]",children:s(`${n}.headlineAccent`)}),s(`${n}.headlineAfter`)]}),(0,a.jsx)(nQ.p,{className:"mb-10 max-w-[33rem] font-body text-[1rem] leading-[1.7] text-[#F0F0F0]/62 md:text-[1.08rem]",variants:d,initial:"hidden",animate:t?"show":"hidden",transition:{duration:.8,ease:[.22,1,.36,1],delay:.22}
1,children:s(`${n}.description`)}),(0,a.jsx)(nQ.div,{variants:d,initial:"hidden",animate:t?"show":"hidden",transition:{duration:.8,ease:[.22,1,.36,1],delay:.34},children:(0,a.jsxs)("a",{href:"#clients",className:"group relative inline-flex items-center gap-3 overflow-hidden rounded-full bg-[#C9A96E] px-8 py-3.5 font-heading text-[13px] font-semibold text-[#0A0A0B] shadow-[0_22px_50px_-12px_rgba(201,169,110,0.5)] transition-all duration-300 hover:shadow-[0_26px_60px_-10px_rgba(201,169,110,0.7)]",children:[(0,a.jsx)("span",{className:"absolute inset-0 -translate-x-full bg-[linear-gradient(110deg,transparent,rgba(255,255,255,0.55),transparent)] transition-transform duration-700 ease-out group-hover:translate-x-full"}),(0,a.jsx)("span",{className:"relative",children:s("ctaLabel")}),(0,a.jsx)(n0,{className:"relative h-4 w-4 transition-transform duration-300 group-hover:-translate-y-0.5 group-hover:translate-x-0.5"})]})})]})}),(0,a.jsx)("div",{className:"absolute bottom-7 left-[5.5vw] z-10 md:left-[6.5vw] lg:left-[9vw]",children:(0,a.jsx)("img",{src:n6.onedropsLogoWhite,alt:"Onedrops",className:"h-5 w-auto object-contain opacity-90 sm:h-6"})})]})}let ae=[{id:"transformation",theme:"dark",accent:"bg-[#C9A96E]"},{id:"engineering",theme:"dark",accent:"bg-[#C9A96E]"},{id:"ai",theme:"dark",accent:"bg-[#C9A96E]"}],ai=ae.length;function ar(){let[t,e]=(0,u.useState)(0),[i,r]=(0,u.useState)(!1),[s,n]=(0,u.useState)(0),[o,l]=(0,u.useState)(!1),h=(0,u.useRef)(null),c=(0,u.useRef)(0);(0,u.useEffect)(()=>{let t=window.matchMedia("(prefers-reduced-motion: reduce)"),e=()=>l(t.matches);return e(),t.addEventListener("change",e),()=>t.removeEventListener("change",e)},[]);let d=(0,u.useCallback)(()=>{c.current=0,n(0)},[]),p=(0,u.useCallback)(t=>{d(),e((t%ai+ai)%ai)},[d]),m=(0,u.useCallback)(()=>{d(),e(t=>(t+1)%ai)},[d]),f=(0,u.useCallback)(()=>{d(),e(t=>(t-1+ai)%ai)},[d]);return(0,u.useEffect)(()=>{let t;if(o){c.current=0;let t=window.requestAnimationFrame(()=>{n(0)});return()=>window.cancelAnimationFrame(t)}if(i)return;let r=performance.now(),s=i=>{if(c.current+=i-r,r=i,c.current>=5e3){c.current=0,n(0),e(t=>(t+1)%ai);return}n(c.current/5e3),t=window.requestAnimationFrame(s)};return t=window.requestAnimationFrame(s),()=>window.cancelAnimationFrame(t)},[t,i,o]),(0,u.useEffect)(()=>{let t=h.current;if(!t)return;let e=t=>{"ArrowRight"===t.key?m():"ArrowLeft"===t.key&&f()};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[m,f]),(0,a.jsxs)("div",{ref:h,className:"relative isolate h-screen min-h-[640px] w-full overflow-hidden bg-[#08080A]",role:"region","aria-roledescription":"carousel","aria-label":"Hero highlights",tabIndex:-1,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:[(0,a.jsx)("div",{className:"flex h-full w-full transition-transform duration-700 ease-premium motion-reduce:transition-none",style:{transform:`translateX(-${100*t}%)`},children:ae.map((e,i)=>(0,a.jsx)("div",{className:`h-full w-full shrink-0 basis-full transition-opacity duration-700 ease-premium motion-reduce:transition-none ${t===i?"opacity-100":"opacity-45"}`,role:"group","aria-roledescription":"slide","aria-label":`Slide ${i+1} of ${ai}`,"aria-hidden":t!==i,children:"transformation"===e.id?(0,a.jsx)(n3,{}):(0,a.jsx)(at,{active:t===i,reducedMotion:o,variant:e.id})},e.id))}),(0,a.jsx)("div",{className:"absolute bottom-7 right-[5.5vw] z-30 md:bottom-9 md:right-[6.5vw] lg:right-[9vw]",children:(0,a.jsx)("div",{className:"flex items-center gap-2",children:ae.map((e,i)=>{let r=t===i,n=Math.ceil(5e3*(1-s)/1e3);return(0,a.jsx)("button",{type:"button",onClick:()=>p(i),"aria-label":r?`Slide ${i+1}, next slide in ${n} seconds`:`Go to slide ${i+1}`,"aria-current":r,className:"flex h-6 items-center",children:(0,a.jsx)("span",{className:`relative block h-1.5 overflow-hidden rounded-full transition-[width,background-color] duration-300 ${r?"w-8 bg-white/20":"w-1.5 bg-white/40 hover:bg-white/70"}`,children:r&&(0,a.jsx)("span",{role:"progressbar","aria-label":`Time remaining on slide ${i+1}`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(100*s),className:`absolute inset-y-0 left-0 rounded-full ${e.accent}`,style:{width:`${100*s}%`}})})},e.id)})})})]})}function as(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function an(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var aa,ao,al,au,ah,ac,ad,ap,am,af,ag,av,ay,ax,a_,aw,ab,aT,aS,aC,aM,aA,aj,ak,aP,aE,aR,aN={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},aD={duration:.5,overwrite:!1,delay:0},aF=2*Math.PI,aL=aF/4,aV=0,aO=Math.sqrt,aB=Math.cos,aI=Math.sin,az=function(t){return"string"==typeof t},aW=function(t){return"function"==typeof t},a$=function(t){return"number"==typeof t},aU=function(t){return void 0===t},aY=function(t){return"object"==typeof t},aX=function(t){return!1!==t},aq=function(){return"u">typeof window},aH=function(t){return aW(t)||az(t)},aG="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},aK=Array.isArray,aZ=/random\([^)]+\)/g,aQ=/,\s*/g,aJ=/(?:-?\.?\d|\.)+/gi,a0=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,a1=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,a2=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,a5=/[+-]=-?[.\d]+/,a3=/[^,'"\[\]\s]+/gi,a6=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,a8={},a4={},a9=function(t){return(a4=oj(t,a8))&&ux},a7=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ot=function(t,e){return!e&&console.warn(t)},oe=function(t,e){return t&&(a8[t]=e)&&a4&&(a4[t]=e)||a8},oi=function(){return 0},or={suppressEvents:!0,isStart:!0,kill:!1},os={suppressEvents:!0,kill:!1},on={suppressEvents:!0},oa={},oo=[],ol={},ou={},oh={},oc=30,od=[],op="",om=function(t){var e,i,r=t[0];if(aY(r)||aW(r)||(t=[t]),!(e=(r._gsap||{}).harness)){for(i=od.length;i--&&!od[i].targetTest(r););e=od[i]}for(i=t.length;i--;)t[i]&&(t[i]._gsap||(t[i]._gsap=new lF(t[i],e)))||t.splice(i,1);return t},of=function(t){return t._gsap||om(o9(t))[0]._gsap}
1,og=function(t,e,i){return(i=t[e])&&aW(i)?t[e]():aU(i)&&t.getAttribute&&t.getAttribute(e)||i},ov=function(t,e){return(t=t.split(",")).forEach(e)||t},oy=function(t){return Math.round(1e5*t)/1e5||0},ox=function(t){return Math.round(1e7*t)/1e7||0},o_=function(t,e){var i=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),"+"===i?t+r:"-"===i?t-r:"*"===i?t*r:t/r},ow=function(t,e){for(var i=e.length,r=0;0>t.indexOf(e[r])&&++r<i;);return r<i},ob=function(){var t,e,i=oo.length,r=oo.slice(0);for(t=0,ol={},oo.length=0;t<i;t++)(e=r[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},oT=function(t){return!!(t._initted||t._startAt||t.add)},oS=function(t,e,i,r){oo.length&&!aT&&ob(),t.render(e,i,r||!!(aT&&e<0&&oT(t))),oo.length&&!aT&&ob()},oC=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(a3).length<2?e:az(t)?t.trim():t},oM=function(t){return t},oA=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},oj=function(t,e){for(var i in e)t[i]=e[i];return t},ok=function t(e,i){for(var r in i)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(e[r]=aY(i[r])?t(e[r]||(e[r]={}),i[r]):i[r]);return e},oP=function(t,e){var i,r={};for(i in t)i in e||(r[i]=t[i]);return r},oE=function(t){var e,i=t.parent||aC,r=t.keyframes?(e=aK(t.keyframes),function(t,i){for(var r in i)r in t||"duration"===r&&e||"ease"===r||(t[r]=i[r])}):oA;if(aX(t.inherit))for(;i;)r(t,i.vars.defaults),i=i.parent||i._dp;return t},oR=function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0},oN=function(t,e,i,r,s){void 0===i&&(i="_first"),void 0===r&&(r="_last");var n,a=t[r];if(s)for(n=e[s];a&&a[s]>n;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=t[i],t[i]=e),e._next?e._next._prev=e:t[r]=e,e._prev=a,e.parent=e._dp=t,e},oD=function(t,e,i,r){void 0===i&&(i="_first"),void 0===r&&(r="_last");var s=e._prev,n=e._next;s?s._next=n:t[i]===e&&(t[i]=n),n?n._prev=s:t[r]===e&&(t[r]=s),e._next=e._prev=e.parent=null},oF=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},oL=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t},oV=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},oO=function(t,e,i,r){return t._startAt&&(aT?t._startAt.revert(os):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},oB=function(t){return t._repeat?oI(t._tTime,t=t.duration()+t._rDelay)*t:0},oI=function(t,e){var i=Math.floor(t=ox(t/e));return t&&i===t?i-1:i},oz=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},oW=function(t){return t._end=ox(t._start+(t._tDur/Math.abs(t._ts||t._rts||1e-8)||0))},o$=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=ox(i._time-(t._ts>0?e/t._ts:-(((t._dirty?t.totalDuration():t._tDur)-e)/t._ts))),oW(t),i._dirty||oL(i,t)),t},oU=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=oz(t.rawTime(),e),(!e._dur||o3(0,e.totalDuration(),i)-e._tTime>1e-8)&&e.render(i,!0)),oL(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-1e-8}},oY=function(t,e,i,r){return e.parent&&oF(e),e._start=ox((a$(i)?i:i||t!==aC?o1(t,i,e):t._time)+e._delay),e._end=ox(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),oN(t,e,"_first","_last",t._sort?"_start":0),oG(e)||(t._recent=e),r||oU(t,e),t._ts<0&&o$(t,t._tTime),t},oX=function(t,e){return(a8.ScrollTrigger||a7("scrollTrigger",e))&&a8.ScrollTrigger.create(e,t)},oq=function(t,e,i,r,s){return(lH(t,e,s),t._initted)?!i&&t._pt&&!aT&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&aP!==lw.frame?(oo.push(t),t._lazy=[s,r],1):void 0:1},oH=function t(e){var i=e.parent;return i&&i._ts&&i._initted&&!i._lock&&(0>i.rawTime()||t(i))},oG=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},oK=function(t,e,i,r){var s,n,a,o=t.ratio,l=e<0||!e&&(!t._start&&oH(t)&&!(!t._initted&&oG(t))||(t._ts<0||t._dp._ts<0)&&!oG(t))?0:1,u=t._rDelay,h=0;if(u&&t._repeat&&(n=oI(h=o3(0,t._tDur,e),u),t._yoyo&&1&n&&(l=1-l),n!==oI(t._tTime,u)&&(o=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==o||aT||r||1e-8===t._zTime||!e&&t._zTime){if(!t._initted&&oq(t,e,r,i,h))return;
1for(a=t._zTime,t._zTime=e||1e-8*!!i,i||(i=e&&!a),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=h,s=t._pt;s;)s.r(l,s.d),s=s._next;e<0&&oO(t,e,i,!0),t._onUpdate&&!i&&lu(t,"onUpdate"),h&&t._repeat&&!i&&t.parent&&lu(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&oF(t,1),i||aT||(lu(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},oZ=function(t,e,i){var r;if(i>e)for(r=t._first;r&&r._start<=i;){if("isPause"===r.data&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=i;){if("isPause"===r.data&&r._start<e)return r;r=r._prev}},oQ=function(t,e,i,r){var s=t._repeat,n=ox(e)||0,a=t._tTime/t._tDur;return a&&!r&&(t._time*=n/t._dur),t._dur=n,t._tDur=s?s<0?1e10:ox(n*(s+1)+t._rDelay*s):n,a>0&&!r&&o$(t,t._tTime=t._tDur*a),t.parent&&oW(t),i||oL(t.parent,t),t},oJ=function(t){return t instanceof lV?oL(t):oQ(t,t._dur)},o0={_start:0,endTime:oi,totalDuration:oi},o1=function t(e,i,r){var s,n,a,o=e.labels,l=e._recent||o0,u=e.duration()>=1e8?l.endTime(!1):e._dur;return az(i)&&(isNaN(i)||i in o)?(n=i.charAt(0),a="%"===i.substr(-1),s=i.indexOf("="),"<"===n||">"===n)?(s>=0&&(i=i.replace(/=/,"")),("<"===n?l._start:l.endTime(l._repeat>=0))+(parseFloat(i.substr(1))||0)*(a?(s<0?l:r).totalDuration()/100:1)):s<0?(i in o||(o[i]=u),o[i]):(n=parseFloat(i.charAt(s-1)+i.substr(s+1)),a&&r&&(n=n/100*(aK(r)?r[0]:r).totalDuration()),s>1?t(e,i.substr(0,s-1),r)+n:u+n):null==i?u:+i},o2=function(t,e,i){var r,s,n=a$(e[1]),a=(n?2:1)+(t<2?0:1),o=e[a];if(n&&(o.duration=e[1]),o.parent=i,t){for(r=o,s=i;s&&!("immediateRender"in r);)r=s.vars.defaults||{},s=aX(s.vars.inherit)&&s.parent;o.immediateRender=aX(r.immediateRender),t<2?o.runBackwards=1:o.startAt=e[a-1]}return new l1(e[0],o,e[a+1])},o5=function(t,e){return t||0===t?e(t):e},o3=function(t,e,i){return i<t?t:i>e?e:i},o6=function(t,e){return az(t)&&(e=a6.exec(t))?e[1]:""},o8=[].slice,o4=function(t,e){return t&&aY(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&aY(t[0]))&&!t.nodeType&&t!==aM},o9=function(t,e,i){var r;return aS&&!e&&aS.selector?aS.selector(t):az(t)&&!i&&(aA||!lb())?o8.call((e||aj).querySelectorAll(t),0):aK(t)?(void 0===r&&(r=[]),t.forEach(function(t){var e;return az(t)&&!i||o4(t,1)?(e=r).push.apply(e,o9(t)):r.push(t)})||r):o4(t)?o8.call(t,0):t?[t]:[]},o7=function(t){return t=o9(t)[0]||ot("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return o9(e,i.querySelectorAll?i:i===t?ot("Invalid scope")||aj.createElement("div"):t)}},lt=function(t){return t.sort(function(){return .5-Math.random()})},le=function(t){if(aW(t))return t;var e=aY(t)?t:{each:t},i=lP(e.ease),r=e.from||0,s=parseFloat(e.base)||0,n={},a=r>0&&r<1,o=isNaN(r)||a,l=e.axis,u=r,h=r;return az(r)?u=h=({center:.5,edges:.5,end:1})[r]||0:!a&&o&&(u=r[0],h=r[1]),function(t,a,c){var d,p,m,f,g,v,y,x,_,w=(c||e).length,b=n[w];if(!b){if(!(_="auto"===e.grid?0:(e.grid||[1,1e8])[1])){for(y=-1e8;y<(y=c[_++].getBoundingClientRect().left)&&_<w;);_<w&&_--}for(v=0,b=n[w]=[],d=o?Math.min(_,w)*u-.5:r%_,p=1e8===_?0:o?w*h/_-.5:r/_|0,y=0,x=1e8;v<w;v++)m=v%_-d,f=p-(v/_|0),b[v]=g=l?Math.abs("y"===l?f:m):aO(m*m+f*f),g>y&&(y=g),g<x&&(x=g);"random"===r&<(b),b.max=y-x,b.min=x,b.v=w=(parseFloat(e.amount)||parseFloat(e.each)*(_>w?w-1:l?"y"===l?w/_:_:Math.max(_,w/_))||0)*("edges"===r?-1:1),b.b=w<0?s-w:s,b.u=o6(e.amount||e.each)||0,i=i&&w<0?lk(i):i}return w=(b[t]-b.min)/b.max||0,ox(b.b+(i?i(w):w)*b.v)+b.u}},li=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=ox(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(a$(i)?0:o6(i))}},lr=function(t,e){var i,r,s=aK(t);return!s&&aY(t)&&(i=s=t.radius||1e8,t.values?(r=!a$((t=o9(t.values))[0]))&&(i*=i):t=li(t.increment)),o5(e,s?aW(t)?function(e){return Math.abs((r=t(e))-e)<=i?r:e}:function(e){for(var s,n,a=parseFloat(r?e.x:e),o=parseFloat(r?e.y:0),l=1e8,u=0,h=t.length;h--;)(s=r?(s=t[h].x-a)*s+(n=t[h].y-o)*n:Math.abs(t[h]-a))<l&&(l=s,u=h);return u=!i||l<=i?t[u]:e,r||u===e||a$(e)?u:u+o6(e)}:li(t))},ls=function(t,e,i,r){return o5(aK(t)?!e:!0===i?(i=0,!1):!r,function(){return aK(t)?t[~~(Math.random()*t.length)]:(r=(i=i||1e-5)<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+.99*i))/i)*i*r)/r})}
1,ln=function(t,e,i){return o5(i,function(i){return t[~~e(i)]})},la=function(t){return t.replace(aZ,function(t){var e=t.indexOf("[")+1,i=t.substring(e||7,e?t.indexOf("]"):t.length-1).split(aQ);return ls(e?i:+i[0],e?0:+i[1],+i[2]||1e-5)})},lo=function(t,e,i,r,s){var n=e-t,a=r-i;return o5(s,function(e){return i+((e-t)/n*a||0)})},ll=function(t,e,i){var r,s,n,a=t.labels,o=1e8;for(r in a)(s=a[r]-e)<0==!!i&&s&&o>(s=Math.abs(s))&&(n=r,o=s);return n},lu=function(t,e,i){var r,s,n,a=t.vars,o=a[e],l=aS,u=t._ctx;if(o)return r=a[e+"Params"],s=a.callbackScope||t,i&&oo.length&&ob(),u&&(aS=u),n=r?o.apply(s,r):o.call(s),aS=l,n},lh=function(t){return oF(t),t.scrollTrigger&&t.scrollTrigger.kill(!!aT),1>t.progress()&&lu(t,"onInterrupt"),t},lc=[],ld=function(t){if(t)if(t=!t.name&&t.default||t,aq()||t.headless){var e=t.name,i=aW(t),r=e&&!i&&t.init?function(){this._props=[]}:t,s={init:oi,render:ut,add:lY,kill:ui,modifier:ue,rawVars:0},n={targetTest:0,get:0,getSetter:l8,aliases:{},register:0};if(lb(),t!==r){if(ou[e])return;oA(r,oA(oP(t,s),n)),oj(r.prototype,oj(s,oP(t,n))),ou[r.prop=e]=r,t.targetTest&&(od.push(r),oa[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}oe(e,r),t.register&&t.register(ux,r,un)}else lc.push(t)},lp={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},lm=function(t,e,i){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)*255+.5|0},lf=function(t,e,i){var r,s,n,a,o,l,u,h,c,d,p=t?a$(t)?[t>>16,t>>8&255,255&t]:0:lp.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),lp[t])p=lp[t];else if("#"===t.charAt(0)){if(t.length<6&&(r=t.charAt(1),t="#"+r+r+(s=t.charAt(2))+s+(n=t.charAt(3))+n+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&255,255&p,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t]}else if("hsl"===t.substr(0,3))if(p=d=t.match(aJ),e){if(~t.indexOf("="))return p=t.match(a0),i&&p.length<4&&(p[3]=1),p}else a=p[0]%360/360,o=p[1]/100,s=(l=p[2]/100)<=.5?l*(o+1):l+o-l*o,r=2*l-s,p.length>3&&(p[3]*=1),p[0]=lm(a+1/3,r,s),p[1]=lm(a,r,s),p[2]=lm(a-1/3,r,s);else p=t.match(aJ)||lp.transparent;p=p.map(Number)}return e&&!d&&(r=p[0]/255,l=((u=Math.max(r,s=p[1]/255,n=p[2]/255))+(h=Math.min(r,s,n)))/2,u===h?a=o=0:(c=u-h,o=l>.5?c/(2-u-h):c/(u+h),a=(u===r?(s-n)/c+6*(s<n):u===s?(n-r)/c+2:(r-s)/c+4)*60),p[0]=~~(a+.5),p[1]=~~(100*o+.5),p[2]=~~(100*l+.5)),i&&p.length<4&&(p[3]=1),p},lg=function(t){var e=[],i=[],r=-1;return t.split(ly).forEach(function(t){var s=t.match(a1)||[];e.push.apply(e,s),i.push(r+=s.length+1)}),e.c=i,e},lv=function(t,e,i){var r,s,n,a,o="",l=(t+o).match(ly),u=e?"hsla(":"rgba(",h=0;if(!l)return t;if(l=l.map(function(t){return(t=lf(t,e,1))&&u+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),i&&(n=lg(t),(r=i.c).join(o)!==n.c.join(o)))for(a=(s=t.replace(ly,"1").split(a1)).length-1;h<a;h++)o+=s[h]+(~r.indexOf(h)?l.shift()||u+"0,0,0,0)":(n.length?n:l.length?l:i).shift());if(!s)for(a=(s=t.split(ly)).length-1;h<a;h++)o+=s[h]+l[h];return o+s[a]},ly=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in lp)e+="|"+t+"\\b";return RegExp(e+")","gi")}(),lx=/hsl[a]?\(/,l_=function(t){var e,i=t.join(" ");if(ly.lastIndex=0,ly.test(i))return e=lx.test(i),t[1]=lv(t[1],e),t[0]=lv(t[0],e,lg(t[1])),!0},lw=(ap=Date.now,am=500,af=33,av=ag=ap(),ay=1e3/240,ax=1e3/240,a_=[],aw=function t(e){var i,r,s,n,a=ap()-av,o=!0===e;if((a>am||a<0)&&(ag+=a-af),av+=a,((i=(s=av-ag)-ax)>0||o)&&(n=++ah.frame,ac=s-1e3*ah.time,ah.time=s/=1e3,ax+=i+(i>=ay?4:ay-i),r=1),o||(ao=al(t)),r)for(ad=0;ad<a_.length;ad++)a_[ad](s,ac,n,e)},ah={time:0,frame:0,tick:function(){aw(!0)},deltaRatio:function(t){return ac/(1e3/(t||60))},wake:function(){ak&&(!aA&&aq()&&(aj=(aM=aA=window).document||{},a8.gsap=ux,(aM.gsapVersions||(aM.gsapVersions=[])).push(ux.version),a9(a4||aM.GreenSockGlobals||!aM.gsap&&aM||{}
1),lc.forEach(ld)),au="u">typeof requestAnimationFrame&&requestAnimationFrame,ao&&ah.sleep(),al=au||function(t){return setTimeout(t,ax-1e3*ah.time+1|0)},aR=1,aw(2))},sleep:function(){(au?cancelAnimationFrame:clearTimeout)(ao),aR=0,al=oi},lagSmoothing:function(t,e){af=Math.min(e||33,am=t||1/0)},fps:function(t){ay=1e3/(t||240),ax=1e3*ah.time+ay},add:function(t,e,i){var r=e?function(e,i,s,n){t(e,i,s,n),ah.remove(r)}:t;return ah.remove(t),a_[i?"unshift":"push"](r),lb(),r},remove:function(t,e){~(e=a_.indexOf(t))&&a_.splice(e,1)&&ad>=e&&ad--},_listeners:a_}),lb=function(){return!aR&&lw.wake()},lT={},lS=/^[\d.\-M][\d.\-,\s]/,lC=/["']/g,lM=function(t){for(var e,i,r,s={},n=t.substr(1,t.length-3).split(":"),a=n[0],o=1,l=n.length;o<l;o++)i=n[o],e=o!==l-1?i.lastIndexOf(","):i.length,r=i.substr(0,e),s[a]=isNaN(r)?r.replace(lC,"").trim():+r,a=i.substr(e+1).trim();return s},lA=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<i?t.indexOf(")",i+1):i)},lj=function(t){var e=(t+"").split("("),i=lT[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[lM(e[1])]:lA(t).split(",").map(oC)):lT._CE&&lS.test(t)?lT._CE("",t):i},lk=function(t){return function(e){return 1-t(1-e)}},lP=function(t,e){return t&&(aW(t)?t:lT[t]||lj(t))||e},lE=function(t,e,i,r){void 0===i&&(i=function(t){return 1-e(1-t)}),void 0===r&&(r=function(t){return t<.5?e(2*t)/2:1-e((1-t)*2)/2});var s,n={easeIn:e,easeOut:i,easeInOut:r};return ov(t,function(t){for(var e in lT[t]=a8[t]=n,lT[s=t.toLowerCase()]=i,n)lT[s+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=lT[t+"."+e]=n[e]}),n},lR=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t((e-.5)*2)/2}},lN=function t(e,i,r){var s=i>=1?i:1,n=(r||(e?.3:.45))/(i<1?i:1),a=n/aF*(Math.asin(1/s)||0),o=function(t){return 1===t?1:s*Math.pow(2,-10*t)*aI((t-a)*n)+1},l="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:lR(o);return n=aF/n,l.config=function(i,r){return t(e,i,r)},l},lD=function t(e,i){void 0===i&&(i=1.70158);var r=function(t){return t?--t*t*((i+1)*t+i)+1:0},s="out"===e?r:"in"===e?function(t){return 1-r(1-t)}:lR(r);return s.config=function(i){return t(e,i)},s};ov("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var i=e<5?e+1:e;lE(t+",Power"+(i-1),e?function(t){return Math.pow(t,i)}:function(t){return t},function(t){return 1-Math.pow(1-t,i)},function(t){return t<.5?Math.pow(2*t,i)/2:1-Math.pow((1-t)*2,i)/2})}),lT.Linear.easeNone=lT.none=lT.Linear.easeIn,lE("Elastic",lN("in"),lN("out"),lN()),lB=2*(lO=1/2.75),lI=2.5*lO,lE("Bounce",function(t){return 1-lz(1-t)},lz=function(t){return t<lO?7.5625*t*t:t<lB?7.5625*Math.pow(t-1.5/2.75,2)+.75:t<lI?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*Math.pow(t-2.625/2.75,2)+.984375}),lE("Expo",function(t){return Math.pow(2,10*(t-1))*t+t*t*t*t*t*t*(1-t)}),lE("Circ",function(t){return-(aO(1-t*t)-1)}),lE("Sine",function(t){return 1===t?1:-aB(t*aL)+1}),lE("Back",lD("in"),lD("out"),lD()),lT.SteppedEase=lT.steps=a8.SteppedEase={config:function(t,e){void 0===t&&(t=1);var i=1/t,r=t+ +!e,s=+!!e,n=.99999999;return function(t){return((r*o3(0,n,t)|0)+s)*i}}},aD.ease=lT["quad.out"],ov("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return op+=t+","+t+"Params,"});var lF=function(t,e){this.id=aV++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:og,this.set=e?e.getSetter:l8},lL=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,oQ(this,+t.duration,1,1),this.data=t.data,aS&&(this._ctx=aS,aS.data.push(this)),aR||lw.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,oQ(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(lb(),!arguments.length)return this._tTime;var i=this._dp;if(i&&i.smoothChildTiming&&this._ts){for(o$(this,t),!i._dp||i.parent||oU(i,this);i&&i.parent;)i.parent._time!==i._start+(i._ts>=0?i._tTime/i._ts:-((i.totalDuration()-i._tTime)/i._ts))&&i.totalTime(i._tTime,!0),i=i.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&oY(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&1e-8===Math.abs(this._zTime)||!this._initted&&this._dur&&t||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),oS(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+oB(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(1&this.iteration())?1-t:t)+oB(this),e):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},e.iteration=function(t,e){var i=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*i,e):this._repeat?oI(this._tTime,i)+1:1},e.timeScale=function(t,e){if(!arguments.length)return -1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var i=this.parent&&this._ts?oz(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(o3(-Math.abs(this._delay),this.totalDuration(),i),!1!==e),oW(this),oV(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(lb(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&1e-8!==Math.abs(this._zTime)&&(this._tTime-=1e-8)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=ox(t);var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&oY(e,this,this._start-this._delay),this}return this._start},e.endTime=function(t){return this._start+(aX(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&1>this.totalProgress())?this._tTime%(this._dur+this._rDelay):this._ts?oz(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=on);var e=aT;return aT=t,oT(this)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),aT=e,this},e.globalTime=function(t){for(var e=this,i=arguments.length?t:e.rawTime();e;)i=e._start+i/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):i},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,oJ(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,oJ(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(o1(this,t),aX(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,aX(e)),this._dur||(this._zTime=-1e-8),this},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0}
vendor: 4,426 bytes, line 1
1,e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,i=this._start;return!!(!e||this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<this.endTime(!0)-1e-8)},e.eventCallback=function(t,e,i){var r=this.vars;return arguments.length>1?(e?(r[t]=e,i&&(r[t+"Params"]=i),"onUpdate"===t&&(this._onUpdate=e)):delete r[t],this):r[t]},e.then=function(t){var e=this,i=e._prom;return new Promise(function(r){var s=aW(t)?t:oM,n=function(){var t=e.then;e.then=null,i&&i(),aW(s)&&(s=s(e))&&(s.then||s===e)&&(e.then=t),r(s),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?n():e._prom=n})},e.kill=function(){lh(this)},t}();oA(lL.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var lV=function(t){function e(e,i){var r;return void 0===e&&(e={}),(r=t.call(this,e)||this).labels={},r.smoothChildTiming=!!e.smoothChildTiming,r.autoRemoveChildren=!!e.autoRemoveChildren,r._sort=aX(e.sortChildren),aC&&oY(e.parent||aC,as(r),i),e.reversed&&r.reverse(),e.paused&&r.paused(!0),e.scrollTrigger&&oX(as(r),e.scrollTrigger),r}an(e,t);var i=e.prototype;return i.to=function(t,e,i){return o2(0,arguments,this),this},i.from=function(t,e,i){return o2(1,arguments,this),this},i.fromTo=function(t,e,i,r){return o2(2,arguments,this),this},i.set=function(t,e,i){return e.duration=0,e.parent=this,oE(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new l1(t,e,o1(this,i),1),this},i.call=function(t,e,i){return oY(this,l1.delayedCall(0,t,e),i)},i.staggerTo=function(t,e,i,r,s,n,a){return i.duration=e,i.stagger=i.stagger||r,i.onComplete=n,i.onCompleteParams=a,i.parent=this,new l1(t,i,o1(this,s)),this},i.staggerFrom=function(t,e,i,r,s,n,a){return i.runBackwards=1,oE(i).immediateRender=aX(i.immediateRender),this.staggerTo(t,e,i,r,s,n,a)},i.staggerFromTo=function(t,e,i,r,s,n,a,o){return r.startAt=i,oE(r).immediateRender=aX(r.immediateRender),this.staggerTo(t,e,r,s,n,a,o)},i.render=function(t,e,i){var r,s,n,a,o,l,u,h,c,d,p,m,f=this._time,g=this._dirty?this.totalDuration():this._tDur,v=this._dur,y=t<=0?0:ox(t),x=this._zTime<0!=t<0&&(this._initted||!v);if(this!==aC&&y>g&&t>=0&&(y=g),y!==this._tTime||i||x){if(f!==this._time&&v&&(y+=this._time-f,t+=this._time-f),r=y,c=this._start,l=!(h=this._ts),x&&(v||(f=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,o=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,i);if(r=ox(y%o),y===g?(a=this._repeat,r=v):((a=~~(d=ox(y/o)))&&a===d&&(r=v,a--),r>v&&(r=v)),d=oI(this._tTime,o),!f&&this._tTime&&d!==a&&this._tTime-d*o-this._dur<=0&&(d=a),p&&1&a&&(r=v-r,m=1),a!==d&&!this._lock){var _=p&&1&d,w=_===(p&&1&a);if(a<d&&(_=!_),f=_?0:y%v?v:y,this._lock=1,this.render(f||(m?0:ox(a*o)),e,!v)._lock=0,this._tTime=y,!e&&this.parent&&lu(this,"onRepeat"),this.vars.repeatRefresh&&!m&&(this.invalidate()._lock=1,d=a),f&&f!==this._time||!this._ts!==l||this.vars.onRepeat&&!this.parent&&!this._act||(v=this._dur,g=this._tDur,w&&(this._lock=2,f=_?v:-1e-4,this.render(f,!0),this.vars.repeatRefresh&&!m&&this.invalidate()),this._lock=0,!this._ts&&!l))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(u=oZ(this,ox(f),ox(r)))&&(y-=r-(r=u._start)),this._tTime=y,this._time=r,this._act=!!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,f=0),!f&&y&&v&&!e&&!d&&(lu(this,"onStart"),this._tTime!==y))return this;if(r>=f&&t>=0)for(s=this._first;s;){if(n=s._next,(s._act||r>=s._start)&&s._ts&&u!==s){if(s.parent!==this)return this.render(t,e,i);if(s.render(s._ts>0?(r-s._start)*s._ts:(s._dirty?s.totalDuration():s._tDur)+(r-s._start)*s._ts,e,i),r!==this._time||!this._ts&&!l){u=0,n&&(y+=this._zTime=-1e-8);break}}s=n}else{s=this._last;for(var b=t<0?t:r;s;){if(n=s._prev,(s._act||b<=s._end)&&s._ts&&u!==s){if(s.parent!==this)return this.render(t,e,i);if(s.render(s._ts>0?(b-s._start)*s._ts:(s._dirty?s.totalDuration():s._tDur)+(b-s._start)*s._ts,e,i||aT&&oT(s)),r!==this._time||!this._ts&&!l){u=0,n&&(y+=this._zTime=b?-1e-8:1e-8);break}}s=n}}if(u&&!e&&(this.pause(),u.render(r>=f?0:-1e-8)._zTime=r>=f?1:-1,this._ts))return this._start=c,oW(this),this.render(t,e,i);this._onUpdate&&!e&&lu(this,"onUpdate",!0),(y===g&&this._tTime>=this.totalDuration()||!y&&f)&&(c===this._start||Math.abs(h)!==Math.abs(this._ts
1))&&!this._lock&&((t||!v)&&(y===g&&this._ts>0||!y&&this._ts<0)&&oF(this,1),e||t<0&&!f||!y&&!f&&g||(lu(this,y===g&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(y<g&&this.timeScale()>0)&&this._prom()))}return this},i.add=function(t,e){var i=this;if(a$(e)||(e=o1(this,e,t)),!(t instanceof lL)){if(aK(t))return t.forEach(function(t){return i.add(t,e)}),this;if(az(t))return this.addLabel(t,e);if(!aW(t))return this;t=l1.delayedCall(0,t)}return this!==t?oY(this,t,e):this},i.getChildren=function(t,e,i,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===i&&(i=!0),void 0===r&&(r=-1e8);for(var s=[],n=this._first;n;)n._start>=r&&(n instanceof l1?e&&s.push(n):(i&&s.push(n),t&&s.push.apply(s,n.getChildren(!0,e,i)))),n=n._next;return s},i.getById=function(t){for(var e=this.getChildren(1,1,1),i=e.length;i--;)if(e[i].vars.id===t)return e[i]},i.remove=function(t){return az(t)?this.removeLabel(t):aW(t)?this.killTweensOf(t):(t.parent===this&&oD(this,t),t===this._recent&&(this._recent=this._last),oL(this))},i.totalTime=function(e,i){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ox(lw.time-(this._ts>0?e/this._ts:-((this.totalDuration()-e)/this._ts)))),t.prototype.totalTime.call(this,e,i),this._forcing=0,this):this._tTime},i.addLabel=function(t,e){return this.labels[t]=o1(this,e),this},i.removeLabel=function(t){return delete this.labels[t],this},i.addPause=function(t,e,i){var r=l1.delayedCall(0,e||oi,i);return r.data="isPause",this._hasPause=1,oY(this,r,o1(this,t))},i.removePause=function(t){var e=this._first;for(t=o1(this,t);e;)e._start===t&&"isPause"===e.data&&oF(e),e=e._next},i.killTweensOf=function(t,e,i){for(var r=this.getTweensOf(t,i),s=r.length;s--;)lW!==r[s]&&r[s].kill(t,e);return this},i.getTweensOf=function(t,e){for(var i,r=[],s=o9(t),n=this._first,a=a$(e);n;)n instanceof l1?ow(n._targets,s)&&(a?(!lW||n._initted&&n._ts)&&n.globalTime(0)<=e&&n.globalTime(n.totalDuration())>e:!e||n.isActive())&&r.push(n):(i=n.getTweensOf(s,e)).length&&r.push.apply(r,i),n=n._next;return r},i.tweenTo=function(t,e){e=e||{};var i,r=this,s=o1(r,t),n=e,a=n.startAt,o=n.onStart,l=n.onStartParams,u=n.immediateRender,h=l1.to(r,oA({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:s,overwrite:"auto",duration:e.duration||Math.abs((s-(a&&"time"in a?a.time:r._time))/r.timeScale())||1e-8,onStart:function(){if(r.pause(),!i){var t=e.duration||Math.abs((s-(a&&"time"in a?a.time:r._time))/r.timeScale());h._dur!==t&&oQ(h,t,0,1).render(h._time,!0,!0),i=1}o&&o.apply(h,l||[])}},e));return u?h.render(0):h},i.tweenFromTo=function(t,e,i){return this.tweenTo(e,oA({startAt:{time:o1(this,t)}},i))},i.recent=function(){return this._recent},i.nextLabel=function(t){return void 0===t&&(t=this._time),ll(this,o1(this,t))},i.previousLabel=function(t){return void 0===t&&(t=this._time),ll(this,o1(this,t),1)},i.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+1e-8)},i.shiftChildren=function(t,e,i){void 0===i&&(i=0);var r,s=this._first,n=this.labels;for(t=ox(t);s;)s._start>=i&&(s._start+=t,s._end+=t),s=s._next;if(e)for(r in n)n[r]>=i&&(n[r]+=t);return oL(this)},i.invalidate=function(e){var i=this._first;for(this._lock=0;i;)i.invalidate(e),i=i._next;return t.prototype.invalidate.call(this,e)},i.clear=function(t){void 0===t&&(t=!0);for(var e,i=this._first;i;)e=i._next,this.remove(i),i=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),oL(this)},i.totalDuration=function(t){var e,i,r,s=0,n=this._last,a=1e8;if(arguments.length)return this.timeScale((this._repeat<0?this.duration():this.totalDuration())/(this.reversed()?-t:t));if(this._dirty){for(r=this.parent;n;)e=n._prev,n._dirty&&n.totalDuration(),(i=n._start)>a&&this._sort&&n._ts&&!this._lock?(this._lock=1,oY(this,n,i-n._delay,1)._lock=0):a=i,i<0&&n._ts&&(s-=i,(!r&&!this._dp||r&&r.smoothChildTiming)&&(this._start+=ox(i/this._ts),this._time-=i,this._tTime-=i),this.shiftChildren(-i,!1,-Infinity),a=0),n._end>s&&n._ts&&(s=n._end),n=e;oQ(this,this===aC&&this._time>s?this._time:s,1,1),this._dirty=0}return this._tDur},e.updateRoot=function(t){if(aC._ts&&(oS(aC,oz(t,aC)),aP=lw.frame),lw.frame>=oc){oc+=aN.autoSleep||120;var e=aC._first;if((!e||!e._ts)&&aN.autoSleep&&lw._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||lw.sleep()}}},e}(lL);oA(lV.prototype,{_lock:0,_hasPause:0,_forcing:0});
1var lO,lB,lI,lz,lW,l$,lU=function(t,e,i,r,s,n,a){var o,l,u,h,c,d,p,m,f=new un(this._pt,t,e,0,1,l7,null,s),g=0,v=0;for(f.b=i,f.e=r,i+="",r+="",(p=~r.indexOf("random("))&&(r=la(r)),n&&(n(m=[i,r],t,e),i=m[0],r=m[1]),l=i.match(a2)||[];o=a2.exec(r);)h=o[0],c=r.substring(g,o.index),u?u=(u+1)%5:"rgba("===c.substr(-5)&&(u=1),h!==l[v++]&&(d=parseFloat(l[v-1])||0,f._pt={_next:f._pt,p:c||1===v?c:",",s:d,c:"="===h.charAt(1)?o_(d,h)-d:parseFloat(h)-d,m:u&&u<4?Math.round:0},g=a2.lastIndex);return f.c=g<r.length?r.substring(g,r.length):"",f.fp=a,(a5.test(r)||p)&&(f.e=0),this._pt=f,f},lY=function(t,e,i,r,s,n,a,o,l,u){aW(r)&&(r=r(s||0,t,n));var h,c=t[e],d="get"!==i?i:aW(c)?l?t[e.indexOf("set")||!aW(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():c,p=aW(c)?l?l3:l5:l2;if(az(r)&&(~r.indexOf("random(")&&(r=la(r)),"="===r.charAt(1)&&((h=o_(d,r)+(o6(d)||0))||0===h)&&(r=h)),!u||d!==r||l$)return isNaN(d*r)||""===r?(c||e in t||a7(e,r),lU.call(this,t,e,d,r,p,o||aN.stringFilter,l)):(h=new un(this._pt,t,e,+d||0,r-(d||0),"boolean"==typeof c?l9:l4,0,p),l&&(h.fp=l),a&&h.modifier(a,this,t),this._pt=h)},lX=function(t,e,i,r,s){if(aW(t)&&(t=lQ(t,s,e,i,r)),!aY(t)||t.style&&t.nodeType||aK(t)||aG(t))return az(t)?lQ(t,s,e,i,r):t;var n,a={};for(n in t)a[n]=lQ(t[n],s,e,i,r);return a},lq=function(t,e,i,r,s,n){var a,o,l,u;if(ou[t]&&!1!==(a=new ou[t]).init(s,a.rawVars?e[t]:lX(e[t],r,s,n,i),i,r,n)&&(i._pt=o=new un(i._pt,s,t,0,1,a.render,a,0,a.priority),i!==aE))for(l=i._ptLookup[i._targets.indexOf(s)],u=a._props.length;u--;)l[a._props[u]]=o;return a},lH=function t(e,i,r){var s,n,a,o,l,u,h,c,d,p,m,f,g,v=e.vars,y=v.ease,x=v.startAt,_=v.immediateRender,w=v.lazy,b=v.onUpdate,T=v.runBackwards,S=v.yoyoEase,C=v.keyframes,M=v.autoRevert,A=e._dur,j=e._startAt,k=e._targets,P=e.parent,E=P&&"nested"===P.data?P.vars.targets:k,R="auto"===e._overwrite&&!ab,N=e.timeline,D=v.easeReverse||S;if(!N||C&&y||(y="none"),e._ease=lP(y,aD.ease),e._rEase=D&&(lP(D)||e._ease),e._from=!N&&!!v.runBackwards,e._from&&(e.ratio=1),!N||C&&!v.stagger){if(f=(c=k[0]?of(k[0]).harness:0)&&v[c.prop],s=oP(v,oa),j&&(j._zTime<0&&j.progress(1),i<0&&T&&_&&!M?j.render(-1,!0):j.revert(T&&A?os:or),j._lazy=0),x){if(oF(e._startAt=l1.set(k,oA({data:"isStart",overwrite:!1,parent:P,immediateRender:!0,lazy:!j&&aX(w),startAt:null,delay:0,onUpdate:b&&function(){return lu(e,"onUpdate")},stagger:0},x))),e._startAt._dp=0,e._startAt._sat=e,i<0&&(aT||!_&&!M)&&e._startAt.revert(os),_&&A&&i<=0&&r<=0){i&&(e._zTime=i);return}}else if(T&&A&&!j)if(i&&(_=!1),a=oA({overwrite:!1,data:"isFromStart",lazy:_&&!j&&aX(w),immediateRender:_,stagger:0,parent:P},s),f&&(a[c.prop]=f),oF(e._startAt=l1.set(k,a)),e._startAt._dp=0,e._startAt._sat=e,i<0&&(aT?e._startAt.revert(os):e._startAt.render(-1,!0)),e._zTime=i,_){if(!i)return}else t(e._startAt,1e-8,1e-8);for(n=0,e._pt=e._ptCache=0,w=A&&aX(w)||w&&!A;n<k.length;n++){if(h=(l=k[n])._gsap||om(k)[n]._gsap,e._ptLookup[n]=p={},ol[h.id]&&oo.length&&ob(),m=E===k?n:E.indexOf(l),c&&!1!==(d=new c).init(l,f||s,e,m,E)&&(e._pt=o=new un(e._pt,l,d.name,0,1,d.render,d,0,d.priority),d._props.forEach(function(t){p[t]=o}),d.priority&&(u=1)),!c||f)for(a in s)ou[a]&&(d=lq(a,s,e,m,l,E))?d.priority&&(u=1):p[a]=o=lY.call(e,l,a,"get",s[a],m,E,0,v.stringFilter);e._op&&e._op[n]&&e.kill(l,e._op[n]),R&&e._pt&&(lW=e,aC.killTweensOf(l,p,e.globalTime(i)),g=!e.parent,lW=0),e._pt&&w&&(ol[h.id]=1)}u&&us(e),e._onInit&&e._onInit(e)}e._onUpdate=b,e._initted=(!e._op||e._pt)&&!g,C&&i<=0&&N.render(1e8,!0,!0)},lG=function(t,e,i,r,s,n,a,o){var l,u,h,c,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],h=t._ptLookup,c=t._targets.length;c--;){if((l=h[c][e])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return l$=1,t.vars[e]="+=0",lH(t,a),l$=0,o?ot(e+" not eligible for reset. Try splitting into individual properties"):1;d.push(l)}for(c=d.length;c--;)(l=(u=d[c])._pt||u).s=(r||0===r)&&!s?r:l.s+(r||0)+n*l.c,l.c=i-l.s,u.e&&(u.e=oy(i)+o6(u.e)),u.b&&(u.b=l.s+o6(u.b))},lK=function(t,e){var i,r,s,n,a=t[0]?of(t[0]).harness:0,o=a&&a.aliases;if(!o)return e;for(r in i=oj({},e),o)if(r in i)for(s=(n=o[r].split(",")).length;s--;)i[n[s]]=i[r];return i}
1,lZ=function(t,e,i,r){var s,n,a=e.ease||r||"power1.inOut";if(aK(e))n=i[t]||(i[t]=[]),e.forEach(function(t,i){return n.push({t:i/(e.length-1)*100,v:t,e:a})});else for(s in e)n=i[s]||(i[s]=[]),"ease"===s||n.push({t:parseFloat(t),v:e[s],e:a})},lQ=function(t,e,i,r,s){return aW(t)?t.call(e,i,r,s):az(t)&&~t.indexOf("random(")?la(t):t},lJ=op+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",l0={};ov(lJ+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return l0[t]=1});var l1=function(t){function e(e,i,r,s){"number"==typeof i&&(r.duration=i,i=r,r=null);var n,a,o,l,u,h,c,d,p=t.call(this,s?i:oE(i))||this,m=p.vars,f=m.duration,g=m.delay,v=m.immediateRender,y=m.stagger,x=m.overwrite,_=m.keyframes,w=m.defaults,b=m.scrollTrigger,T=i.parent||aC,S=(aK(e)||aG(e)?a$(e[0]):"length"in i)?[e]:o9(e);if(p._targets=S.length?om(S):ot("GSAP target "+e+" not found. https://gsap.com",!aN.nullTargetWarn)||[],p._ptLookup=[],p._overwrite=x,_||y||aH(f)||aH(g)){var C=(i=p.vars).easeReverse||i.yoyoEase;if((n=p.timeline=new lV({data:"nested",defaults:w||{},targets:T&&"nested"===T.data?T.vars.targets:S})).kill(),n.parent=n._dp=as(p),n._start=0,y||aH(f)||aH(g)){if(l=S.length,c=y&&le(y),aY(y))for(u in y)~lJ.indexOf(u)&&(d||(d={}),d[u]=y[u]);for(a=0;a<l;a++)(o=oP(i,l0)).stagger=0,C&&(o.easeReverse=C),d&&oj(o,d),h=S[a],o.duration=+lQ(f,as(p),a,h,S),o.delay=(+lQ(g,as(p),a,h,S)||0)-p._delay,!y&&1===l&&o.delay&&(p._delay=g=o.delay,p._start+=g,o.delay=0),n.to(h,o,c?c(a,h,S):0),n._ease=lT.none;n.duration()?f=g=0:p.timeline=0}else if(_){oE(oA(n.vars.defaults,{ease:"none"})),n._ease=lP(_.ease||i.ease||"none");var M,A,j,k=0;if(aK(_))_.forEach(function(t){return n.to(S,t,">")}),n.duration();else{for(u in o={},_)"ease"===u||"easeEach"===u||lZ(u,_[u],o,_.easeEach);for(u in o)for(a=0,M=o[u].sort(function(t,e){return t.t-e.t}),k=0;a<M.length;a++)(j={ease:(A=M[a]).e,duration:(A.t-(a?M[a-1].t:0))/100*f})[u]=A.v,n.to(S,j,k),k+=j.duration;n.duration()<f&&n.to({},{duration:f-n.duration()})}}f||p.duration(f=n.duration())}else p.timeline=0;return!0!==x||ab||(lW=as(p),aC.killTweensOf(S),lW=0),oY(T,as(p),r),i.reversed&&p.reverse(),i.paused&&p.paused(!0),(v||!f&&!_&&p._start===ox(T._time)&&aX(v)&&function t(e){return!e||e._ts&&t(e.parent)}(as(p))&&"nested"!==T.data)&&(p._tTime=-1e-8,p.render(Math.max(0,-g)||0)),b&&oX(as(p),b),p}an(e,t);var i=e.prototype;return i.render=function(t,e,i){var r,s,n,a,o,l,u,h,c=this._time,d=this._tDur,p=this._dur,m=t<0,f=t>d-1e-8&&!m?d:t<1e-8?0:t;if(p){if(f!==this._tTime||!t||i||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m||this._lazy){if(r=f,h=this.timeline,this._repeat){if(a=p+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*a+t,e,i);if(r=ox(f%a),f===d?(n=this._repeat,r=p):(n=~~(o=ox(f/a)))&&n===o?(r=p,n--):r>p&&(r=p),(l=this._yoyo&&1&n)&&(r=p-r),o=oI(this._tTime,a),r===c&&!i&&this._initted&&n===o)return this._tTime=f,this;n!==o&&this.vars.repeatRefresh&&!l&&!this._lock&&r!==a&&this._initted&&(this._lock=i=1,this.render(ox(a*n),!0).invalidate()._lock=0)}if(!this._initted){if(oq(this,m?t:r,i,e,f))return this._tTime=0,this;if(c!==this._time&&!(i&&this.vars.repeatRefresh&&n!==o))return this;if(p!==this._dur)return this.render(t,e,i)}if(this._rEase){var g=r<c;if(g!==this._inv){var v=g?c:p-c;this._inv=g,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=c,this._invRecip=v?(g?-1:1)/v:0,this._invScale=g?-this.ratio:1-this.ratio,this._invEase=g?this._rEase:this._ease}this.ratio=u=this._invRatio+this._invScale*this._invEase((r-this._invTime)*this._invRecip)}else this.ratio=u=this._ease(r/p);if(this._from&&(this.ratio=u=1-u),this._tTime=f,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),!c&&f&&!e&&!o&&(lu(this,"onStart"),this._tTime!==f))return this;for(s=this._pt;s;)s.r(u,s.d),s=s._next;h&&h.render(t<0?t:h._dur*h._ease(r/this._dur),e,i)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(m&&oO(this,t,e,i),lu(this,"onUpdate")),this._repeat&&n!==o&&this.vars.onRepeat&&!e&&this.parent&&lu(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(m&&!this._onUpdate&&oO(this,t,!0,!0),(t||!p)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&oF(this,1),!e&&!(m&&!c)&&(f||c||l)&&(lu(this,f===d?"onComplete":"onReverseComplete",!0),this._prom&&!(f<d&&this.timeScale()>0)&&this._prom()))}}else oK(this,t,e,i);return this},i.targets=function(){return this._targets},i.invalidate=function(e){return e&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)}
1,i.resetTo=function(t,e,i,r,s){aR||lw.wake(),this._ts||this.play();var n=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return(this._initted||lH(this,n),lG(this,t,e,i,r,this._ease(n/this._dur),n,s))?this.resetTo(t,e,i,r,1):(o$(this,0),this.parent||oN(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},i.kill=function(t,e){if(void 0===e&&(e="all"),!t&&(!e||"all"===e))return this._lazy=this._pt=0,this.parent?lh(this):this.scrollTrigger&&this.scrollTrigger.kill(!!aT),this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,lW&&!0!==lW.vars.overwrite)._first||lh(this),this.parent&&i!==this.timeline.totalDuration()&&oQ(this,this._dur*this.timeline._tDur/i,0,1),this}var r,s,n,a,o,l,u,h=this._targets,c=t?o9(t):h,d=this._ptLookup,p=this._pt;if((!e||"all"===e)&&oR(h,c))return"all"===e&&(this._pt=0),lh(this);for(r=this._op=this._op||[],"all"!==e&&(az(e)&&(o={},ov(e,function(t){return o[t]=1}),e=o),e=lK(h,e)),u=h.length;u--;)if(~c.indexOf(h[u]))for(o in s=d[u],"all"===e?(r[u]=e,a=s,n={}):(n=r[u]=r[u]||{},a=e),a)(l=s&&s[o])&&("kill"in l.d&&!0!==l.d.kill(o)||oD(this,l,"_pt"),delete s[o]),"all"!==n&&(n[o]=1);return this._initted&&!this._pt&&p&&lh(this),this},e.to=function(t,i){return new e(t,i,arguments[2])},e.from=function(t,e){return o2(1,arguments)},e.delayedCall=function(t,i,r,s){return new e(i,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:i,onReverseComplete:i,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:s})},e.fromTo=function(t,e,i){return o2(2,arguments)},e.set=function(t,i){return i.duration=0,i.repeatDelay||(i.repeat=0),new e(t,i)},e.killTweensOf=function(t,e,i){return aC.killTweensOf(t,e,i)},e}(lL);oA(l1.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ov("staggerTo,staggerFrom,staggerFromTo",function(t){l1[t]=function(){var e=new lV,i=o8.call(arguments,0);return i.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,i)}});var l2=function(t,e,i){return t[e]=i},l5=function(t,e,i){return t[e](i)},l3=function(t,e,i,r){return t[e](r.fp,i)},l6=function(t,e,i){return t.setAttribute(e,i)},l8=function(t,e){return aW(t[e])?l5:aU(t[e])&&t.setAttribute?l6:l2},l4=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},l9=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},l7=function(t,e){var i=e._pt,r="";if(!t&&e.b)r=e.b;else if(1===t&&e.e)r=e.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+r,i=i._next;r+=e.c}e.set(e.t,e.p,r,e)},ut=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},ue=function(t,e,i,r){for(var s,n=this._pt;n;)s=n._next,n.p===r&&n.modifier(t,e,i),n=s},ui=function(t){for(var e,i,r=this._pt;r;)i=r._next,(r.p!==t||r.op)&&r.op!==t?r.dep||(e=1):oD(this,r,"_pt"),r=i;return!e},ur=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},us=function(t){for(var e,i,r,s,n=t._pt;n;){for(e=n._next,i=r;i&&i.pr>n.pr;)i=i._next;(n._prev=i?i._prev:s)?n._prev._next=n:r=n,(n._next=i)?i._prev=n:s=n,n=e}t._pt=r},un=function(){function t(t,e,i,r,s,n,a,o,l){this.t=e,this.s=r,this.c=s,this.p=i,this.r=n||l4,this.d=a||this,this.set=o||l2,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,i){this.mSet=this.mSet||this.set,this.set=ur,this.m=t,this.mt=i,this.tween=e},t}();ov(op+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse",function(t){return oa[t]=1}),a8.TweenMax=a8.TweenLite=l1,a8.TimelineLite=a8.TimelineMax=lV,aC=new lV({sortChildren:!1,defaults:aD,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),aN.stringFilter=l_;var ua=[],uo={},ul=[],uu=0,uh=0,uc=function(t){return(uo[t]||ul).map(function(t){return t()})},ud=function(){var t=Date.now(),e=[];t-uu>2&&(uc("matchMediaInit"),ua.forEach(function(t){var i,r,s,n,a=t.queries,o=t.conditions;for(r in a)(i=aM.matchMedia(a[r]).matches)&&(s=1),i!==o[r]&&(o[r]=i,n=1);n&&(t.revert(),s&&e.push(t))}),uc("matchMediaRevert"),e.forEach(function(t){return t.onMatch(t,function(e){return t.add(null,e)})}),uu=t,uc("matchMedia"))},up=function(){function t(t,e){this.selector=e&&o7(e),this.data=[],this._r=[],this.isReverted=!1,this.id=uh++,t&&this.add(t)}var e=t.prototype;
1return e.add=function(t,e,i){aW(t)&&(i=e,e=t,t=aW);var r=this,s=function(){var t,s=aS,n=r.selector;return s&&s!==r&&s.data.push(r),i&&(r.selector=o7(i)),aS=r,t=e.apply(r,arguments),aW(t)&&r._r.push(t),aS=s,r.selector=n,r.isReverted=!1,t};return r.last=s,t===aW?s(r,function(t){return r.add(null,t)}):t?r[t]=s:s},e.ignore=function(t){var e=aS;aS=null,t(this),aS=e},e.getTweens=function(){var e=[];return this.data.forEach(function(i){return i instanceof t?e.push.apply(e,i.getTweens()):i instanceof l1&&!(i.parent&&"nested"===i.parent.data)&&e.push(i)}),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var i=this;if(t){for(var r,s=i.getTweens(),n=i.data.length;n--;)"isFlip"===(r=i.data[n]).data&&(r.revert(),r.getChildren(!0,!0,!1).forEach(function(t){return s.splice(s.indexOf(t),1)}));for(s.map(function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(e){return e.t.revert(t)}),n=i.data.length;n--;)(r=i.data[n])instanceof lV?"nested"!==r.data&&(r.scrollTrigger&&r.scrollTrigger.revert(),r.kill()):r instanceof l1||!r.revert||r.revert(t);i._r.forEach(function(e){return e(t,i)}),i.isReverted=!0}else this.data.forEach(function(t){return t.kill&&t.kill()});if(this.clear(),e)for(var a=ua.length;a--;)ua[a].id===this.id&&ua.splice(a,1)},e.revert=function(t){this.kill(t||{})},t}(),um=function(){function t(t){this.contexts=[],this.scope=t,aS&&aS.data.push(this)}var e=t.prototype;return e.add=function(t,e,i){aY(t)||(t={matches:t});var r,s,n,a=new up(0,i||this.scope),o=a.conditions={};for(s in aS&&!a.selector&&(a.selector=aS.selector),this.contexts.push(a),e=a.add("onMatch",e),a.queries=t,t)"all"===s?
vendor: 9,550 bytes, line 1
1n=1:(r=aM.matchMedia(t[s]))&&(0>ua.indexOf(a)&&ua.push(a),(o[s]=r.matches)&&(n=1),r.addListener?r.addListener(ud):r.addEventListener("change",ud));return n&&e(a,function(t){return a.add(null,t)}),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach(function(e){return e.kill(t,!0)})},t}(),uf={registerPlugin:function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(t){return ld(t)})},timeline:function(t){return new lV(t)},getTweensOf:function(t,e){return aC.getTweensOf(t,e)},getProperty:function(t,e,i,r){az(t)&&(t=o9(t)[0]);var s=of(t||{}).get,n=i?oM:oC;return"native"===i&&(i=""),t?e?n((ou[e]&&ou[e].get||s)(t,e,i,r)):function(e,i,r){return n((ou[e]&&ou[e].get||s)(t,e,i,r))}:t},quickSetter:function(t,e,i){if((t=o9(t)).length>1){var r=t.map(function(t){return ux.quickSetter(t,e,i)}),s=r.length;return function(t){for(var e=s;e--;)r[e](t)}}t=t[0]||{};var n=ou[e],a=of(t),o=a.harness&&(a.harness.aliases||{})[e]||e,l=n?function(e){var r=new n;aE._pt=0,r.init(t,i?e+i:e,aE,0,[t]),r.render(1,r),aE._pt&&ut(1,aE)}:a.set(t,o);return n?l:function(e){return l(t,o,i?e+i:e,a,1)}},quickTo:function(t,e,i){var r,s=ux.to(t,oA(((r={})[e]="+=0.1",r.paused=!0,r.stagger=0,r),i||{})),n=function(t,i,r){return s.resetTo(e,t,i,r)};return n.tween=s,n},isTweening:function(t){return aC.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=lP(t.ease,aD.ease)),ok(aD,t||{})},config:function(t){return ok(aN,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,r=t.plugins,s=t.defaults,n=t.extendTimeline;(r||"").split(",").forEach(function(t){return t&&!ou[t]&&!a8[t]&&ot(e+" effect requires "+t+" plugin.")}),oh[e]=function(t,e,r){return i(o9(t),oA(e||{},s),r)},n&&(lV.prototype[e]=function(t,i,r){return this.add(oh[e](t,aY(i)?i:(r=i)&&{},this),r)})},registerEase:function(t,e){lT[t]=lP(e)},parseEase:function(t,e){return arguments.length?lP(t,e):lT},getById:function(t){return aC.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var i,r,s=new lV(t);for(s.smoothChildTiming=aX(t.smoothChildTiming),aC.remove(s),s._dp=0,s._time=s._tTime=aC._time,i=aC._first;i;)r=i._next,(e||!(!i._dur&&i instanceof l1&&i.vars.onComplete===i._targets[0]))&&oY(s,i,i._start-i._delay),i=r;return oY(aC,s,0),s},context:function(t,e){return t?new up(t,e):aS},matchMedia:function(t){return new um(t)},matchMediaRefresh:function(){return ua.forEach(function(t){var e,i,r=t.conditions;for(i in r)r[i]&&(r[i]=!1,e=1);e&&t.revert()})||ud()},addEventListener:function(t,e){var i=uo[t]||(uo[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=uo[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:function t(e,i,r){var s=i-e;return aK(e)?ln(e,t(0,e.length),i):o5(r,function(t){return(s+(t-e)%s)%s+e})},wrapYoyo:function t(e,i,r){var s=i-e,n=2*s;return aK(e)?ln(e,t(0,e.length-1),i):o5(r,function(t){return t=(n+(t-e)%n)%n||0,e+(t>s?n-t:t)})},distribute:le,random:ls,snap:lr,normalize:function(t,e,i){return lo(t,e,0,1,i)},getUnit:o6,clamp:function(t,e,i){return o5(i,function(i){return o3(t,e,i)})},splitColor:lf,toArray:o9,selector:o7,mapRange:lo,pipe:function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function(t,e){return function(i){return t(parseFloat(i))+(e||o6(i))}},interpolate:function t(e,i,r,s){var n=isNaN(e+i)?0:function(t){return(1-t)*e+t*i};if(!n){var a,o,l,u,h,c=az(e),d={};if(!0===r&&(s=1)&&(r=null),c)e={p:e},i={p:i};else if(aK(e)&&!aK(i)){for(o=1,l=[],h=(u=e.length)-2;o<u;o++)l.push(t(e[o-1],e[o]));u--,n=function(t){var e=Math.min(h,~~(t*=u));return l[e](t-e)},r=i}else s||(e=oj(aK(e)?[]:{},e));if(!l){for(a in i)lY.call(d,e,a,"get",i[a]);n=function(t){return ut(t,d)||(c?e.p:e)}}}return o5(r,n)},shuffle:lt},install:a9,effects:oh,ticker:lw,updateRoot:lV.updateRoot,plugins:ou,globalTimeline:aC,core:{PropTween:un,globals:oe,Tween:l1,Timeline:lV,Animation:lL,getCache:of,_removeLinkedListItem:oD,reverting:function(){return aT},context:function(t){return t&&aS&&(aS.data.push(t),t._ctx=aS),aS},suppressOverwrites:function(t){return ab=t}}};ov("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return uf[t]=l1[t]}),lw.add(lV.updateRoot),aE=uf.to({},{duration:0});var ug=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},uv=function(t,e){var i,r,s,n=t._targets;for(i in e)for(r=n.length;r--;)(s=t._ptLookup[r][i])&&(s=s.d)&&(s._pt&&(s=ug(s,i)),s&&s.modifier&&s.modifier(e[i],t,n[r],i))},uy=function(t,e){return{name:t,headless:1,rawVars:1,init:function(t,i,r){r._onInit=function(t){var r,s;if(az(i)&&(r={},ov(i,function(t){return r[t]=1}),i=r),e){for(s in r={},i)r[s]=e(i[s]);i=r}uv(t,i)}}}},ux=uf.registerPlugin({name:"attr",init:function(t,e,i,r,s){var n,a,o;for(n in this.tween=i,e)o=t.getAttribute(n)||"",(a=this.add(t,"setAttribute",(o||0)+"",e[n],r,s,0,0,n)).op=n,a.b=o,this._props.push(n)},render:function(t,e){for(var i=e._pt;i;)aT?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",headless:1,init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},uy("roundProps",li),uy("modifiers"),uy("snap",lr))||uf;l1.version=lV.version=ux.version="3.15.0",ak=1,aq()&&lb(),lT.Power0,lT.Power1,lT.Power2,lT.Power3,lT.Power4,lT.Linear,lT.Quad,lT.Cubic,lT.Quart,lT.Quint,lT.Strong,lT.Elastic,lT.Back,lT.SteppedEase,lT.Bounce,lT.Sine,lT.Expo,lT.Circ;var u_,uw,ub,uT,uS,uC,uM,uA={},uj=180/Math.PI,uk=Math.PI/180,uP=Math.atan2,uE=/([A-Z])/g,uR=/(left|right|width|margin|padding|x)/i,uN=/[\s,\(]\S/,uD={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},uF=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},uL=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},uV=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},uO=function(t,e){return e.set(e.t,e.p,1===t?e.e:t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},uB=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},uI=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},uz=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},uW=function(t,e,i){return t.style[e]=i},u$=function(t,e,i){return t.style.setProperty(e,i)},uU=function(t,e,i){return t._gsap[e]=i},uY=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},uX=function(t,e,i,r,s){var n=t._gsap;n.scaleX=n.scaleY=i,n.renderTransform(s,n)},uq=function(t,e,i,r,s){var n=t._gsap;n[e]=i,n.renderTransform(s,n)},uH="transform",uG=uH+"Origin",uK=function t(e,i){var r=this,s=this.target,n=s.style,a=s._gsap;if(e in uA&&n){if(this.tfm=this.tfm||{},"transform"===e)return uD.transform.split(",").forEach(function(e){return t.call(r,e,i)});if(~(e=uD[e]||e).indexOf(",")?e.split(",").forEach(function(t){return r.tfm[t]=hs(s,t)}):this.tfm[e]=a.x?a[e]:hs(s,e),e===uG&&(this.tfm.zOrigin=a.zOrigin),this.props.indexOf(uH)>=0)return;a.svg&&(this.svgo=s.getAttribute("data-svg-origin"),this.props.push(uG,i,"")),e=uH}(n||i)&&this.props.push(e,i,n[e])},uZ=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},uQ=function(){var t,e,i=this.props,r=this.target,s=r.style,n=r._gsap;for(t=0;t<i.length;t+=3)i[t+1]?2===i[t+1]?r[i[t]](i[t+2]):r[i[t]]=i[t+2]:i[t+2]?s[i[t]]=i[t+2]:s.removeProperty("--"===i[t].substr(0,2)?i[t]:i[t].replace(uE,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)n[e]=this.tfm[e];n.svg&&(n.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),(t=uC())&&t.isStart||s[uH]||(uZ(s),n.zOrigin&&s[uG]&&(s[uG]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},uJ=function(t,e){var i={target:t,props:[],revert:uQ,save:uK};return t._gsap||ux.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(t){return i.save(t)}),i},u0=function(t,e){var i=u_.createElementNS?u_.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):u_.createElement(t);return i&&i.style?i:u_.createElement(t)},u1=function t(e,i,r){var s=getComputedStyle(e);return s[i]||s.getPropertyValue(i.replace(uE,"-$1").toLowerCase())||s.getPropertyValue(i)||!r&&t(e,u5(i)||i,1)||""},u2="O,Moz,ms,Ms,Webkit".split(","),u5=function(t,e,i){var r=(e||uT).style,s=5;if(t in r&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(u2[s]+t in r););return s<0?null:(3===s?"ms":s>=0?u2[s]:"")+t},u3=function(){"u">typeof window&&window.document&&(uw=(u_=window.document).documentElement,uT=u0("div")||{style:{}},u0("div"),uG=(uH=u5(uH))+"Origin",uT.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",uM=!!u5("perspective"),uC=ux.core.reverting,ub=1)},u6=function(t){var e,i=t.ownerSVGElement,r=u0("svg",i&&i.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),s=t.cloneNode(!0);s.style.display="block",r.appendChild(s),uw.appendChild(r);try{e=s.getBBox()}catch(t){}return r.removeChild(s),uw.removeChild(r),e},u8=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},u4=function(t){var e,i;try{e=t.getBBox()}catch(r){e=u6(t),i=1}return e&&(e.width||e.height)||i||(e=u6(t)),!e||e.width||e.x||e.y?e:{x:+u8(t,["x","cx","x1"])||0,y:+u8(t,["y","cy","y1"])||0,width:0,height:0}},u9=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&u4(t))},u7=function(t,e){if(e){var i,r=t.style;e in uA&&e!==uG&&(e=uH),r.removeProperty?(("ms"===(i=e.substr(0,2))||"webkit"===e.substr(0,6))&&(e="-"+e),r.removeProperty("--"===i?e:e.replace(uE,"-$1").toLowerCase())):r.removeAttribute(e)}}
1,ht=function(t,e,i,r,s,n){var a=new un(t._pt,e,i,0,1,n?uz:uI);return t._pt=a,a.b=r,a.e=s,t._props.push(i),a},he={deg:1,rad:1,turn:1},hi={grid:1,flex:1},hr=function t(e,i,r,s){var n,a,o,l,u=parseFloat(r)||0,h=(r+"").trim().substr((u+"").length)||"px",c=uT.style,d=uR.test(i),p="svg"===e.tagName.toLowerCase(),m=(p?"client":"offset")+(d?"Width":"Height"),f="px"===s,g="%"===s;if(s===h||!u||he[s]||he[h])return u;if("px"===h||f||(u=t(e,i,r,"px")),l=e.getCTM&&u9(e),(g||"%"===h)&&(uA[i]||~i.indexOf("adius")))return n=l?e.getBBox()[d?"width":"height"]:e[m],oy(g?u/n*100:u/100*n);if(c[d?"width":"height"]=100+(f?h:s),a="rem"!==s&&~i.indexOf("adius")||"em"===s&&e.appendChild&&!p?e:e.parentNode,l&&(a=(e.ownerSVGElement||{}).parentNode),a&&a!==u_&&a.appendChild||(a=u_.body),(o=a._gsap)&&g&&o.width&&d&&o.time===lw.time&&!o.uncache)return oy(u/o.width*100);if(g&&("height"===i||"width"===i)){var v=e.style[i];e.style[i]=100+s,n=e[m],v?e.style[i]=v:u7(e,i)}else(g||"%"===h)&&!hi[u1(a,"display")]&&(c.position=u1(e,"position")),a===e&&(c.position="static"),a.appendChild(uT),n=uT[m],a.removeChild(uT),c.position="absolute";return d&&g&&((o=of(a)).time=lw.time,o.width=a[m]),oy(f?n*u/100:n&&u?100/n*u:0)},hs=function(t,e,i,r){var s;return ub||u3(),e in uD&&"transform"!==e&&~(e=uD[e]).indexOf(",")&&(e=e.split(",")[0]),uA[e]&&"transform"!==e?(s=hg(t,r),s="transformOrigin"!==e?s[e]:s.svg?s.origin:hv(u1(t,uG))+" "+s.zOrigin+"px"):(!(s=t.style[e])||"auto"===s||r||~(s+"").indexOf("calc("))&&(s=hu[e]&&hu[e](t,e,i)||u1(t,e)||og(t,e)||+("opacity"===e)),i&&!~(s+"").trim().indexOf(" ")?hr(t,e,s,i)+i:s},hn=function(t,e,i,r){if(!i||"none"===i){var s=u5(e,t,1),n=s&&u1(t,s,1);n&&n!==i?(e=s,i=n):"borderColor"===e&&(i=u1(t,"borderTopColor"))}var a,o,l,u,h,c,d,p,m,f,g,v=new un(this._pt,t.style,e,0,1,l7),y=0,x=0;if(v.b=i,v.e=r,i+="","var(--"===(r+="").substring(0,6)&&(r=u1(t,r.substring(4,r.indexOf(")")))),"auto"===r&&(c=t.style[e],t.style[e]=r,r=u1(t,e)||r,c?t.style[e]=c:u7(t,e)),l_(a=[i,r]),i=a[0],r=a[1],l=i.match(a1)||[],(r.match(a1)||[]).length){for(;o=a1.exec(r);)d=o[0],m=r.substring(y,o.index),h?h=(h+1)%5:("rgba("===m.substr(-5)||"hsla("===m.substr(-5))&&(h=1),d!==(c=l[x++]||"")&&(u=parseFloat(c)||0,g=c.substr((u+"").length),"="===d.charAt(1)&&(d=o_(u,d)+g),p=parseFloat(d),f=d.substr((p+"").length),y=a1.lastIndex-f.length,f||(f=f||aN.units[e]||g,y===r.length&&(r+=f,v.e+=f)),g!==f&&(u=hr(t,e,c,f)||0),v._pt={_next:v._pt,p:m||1===x?m:",",s:u,c:p-u,m:h&&h<4||"zIndex"===e?Math.round:0});v.c=y<r.length?r.substring(y,r.length):""}else v.r="display"===e&&"none"===r?uz:uI;return a5.test(r)&&(v.e=0),this._pt=v,v},ha={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ho=function(t){var e=t.split(" "),i=e[0],r=e[1]||"50%";return("top"===i||"bottom"===i||"left"===r||"right"===r)&&(t=i,i=r,r=t),e[0]=ha[i]||i,e[1]=ha[r]||r,e.join(" ")},hl=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i,r,s,n=e.t,a=n.style,o=e.u,l=n._gsap;if("all"===o||!0===o)a.cssText="",r=1;else for(s=(o=o.split(",")).length;--s>-1;)uA[i=o[s]]&&(r=1,i="transformOrigin"===i?uG:uH),u7(n,i);r&&(u7(n,uH),l&&(l.svg&&n.removeAttribute("transform"),a.scale=a.rotate=a.translate="none",hg(n,1),l.uncache=1,uZ(a)))}},hu={clearProps:function(t,e,i,r,s){if("isFromStart"!==s.data){var n=t._pt=new un(t._pt,e,i,0,0,hl);return n.u=r,n.pr=-10,n.tween=s,t._props.push(i),1}}},hh=[1,0,0,1,0,0],hc={},hd=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},hp=function(t){var e=u1(t,uH);return hd(e)?hh:e.substr(7).match(a0).map(oy)},hm=function(t,e){var i,r,s,n,a=t._gsap||of(t),o=t.style,l=hp(t);return a.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(s=t.transform.baseVal.consolidate().matrix).a,s.b,s.c,s.d,s.e,s.f]).join(",")?hh:l:(l!==hh||t.offsetParent||t===uw||a.svg||(s=o.display,o.display="block",(i=t.parentNode)&&(t.offsetParent||t.getBoundingClientRect().width)||(n=1,r=t.nextElementSibling,uw.appendChild(t)),l=hp(t),s?o.display=s:u7(t,"display"),n&&(r?i.insertBefore(t,r):i?i.appendChild(t):uw.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},hf=function(t,e,i,r,s,n){var a,o,l,u,h=t._gsap,c=s||hm(t,!0),d=h.xOrigin||0,p=
1h.yOrigin||0,m=h.xOffset||0,f=h.yOffset||0,g=c[0],v=c[1],y=c[2],x=c[3],_=c[4],w=c[5],b=e.split(" "),T=parseFloat(b[0])||0,S=parseFloat(b[1])||0;i?c!==hh&&(o=g*x-v*y)&&(l=x/o*T+-y/o*S+(y*w-x*_)/o,u=-v/o*T+g/o*S-(g*w-v*_)/o,T=l,S=u):(T=(a=u4(t)).x+(~b[0].indexOf("%")?T/100*a.width:T),S=a.y+(~(b[1]||b[0]).indexOf("%")?S/100*a.height:S)),r||!1!==r&&h.smooth?(h.xOffset=m+((_=T-d)*g+(w=S-p)*y)-_,h.yOffset=f+(_*v+w*x)-w):h.xOffset=h.yOffset=0,h.xOrigin=T,h.yOrigin=S,h.smooth=!!r,h.origin=e,h.originIsAbsolute=!!i,t.style[uG]="0px 0px",n&&(ht(n,h,"xOrigin",d,T),ht(n,h,"yOrigin",p,S),ht(n,h,"xOffset",m,h.xOffset),ht(n,h,"yOffset",f,h.yOffset)),t.setAttribute("data-svg-origin",T+" "+S)},hg=function(t,e){var i=t._gsap||new lF(t);if("x"in i&&!e&&!i.uncache)return i;var r,s,n,a,o,l,u,h,c,d,p,m,f,g,v,y,x,_,w,b,T,S,C,M,A,j,k,P,E,R,N,D,F=t.style,L=i.scaleX<0,V=getComputedStyle(t),O=u1(t,uG)||"0";return r=s=n=l=u=h=c=d=p=0,a=o=1,i.svg=!!(t.getCTM&&u9(t)),V.translate&&(("none"!==V.translate||"none"!==V.scale||"none"!==V.rotate)&&(F[uH]=("none"!==V.translate?"translate3d("+(V.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==V.rotate?"rotate("+V.rotate+") ":"")+("none"!==V.scale?"scale("+V.scale.split(" ").join(",")+") ":"")+("none"!==V[uH]?V[uH]:"")),F.scale=F.rotate=F.translate="none"),g=hm(t,i.svg),i.svg&&(i.uncache?(A=t.getBBox(),O=i.xOrigin-A.x+"px "+(i.yOrigin-A.y)+"px",M=""):M=!e&&t.getAttribute("data-svg-origin"),hf(t,M||O,!!M||i.originIsAbsolute,!1!==i.smooth,g)),m=i.xOrigin||0,f=i.yOrigin||0,g!==hh&&(_=g[0],w=g[1],b=g[2],T=g[3],r=S=g[4],s=C=g[5],6===g.length?(a=Math.sqrt(_*_+w*w),o=Math.sqrt(T*T+b*b),l=_||w?uP(w,_)*uj:0,(c=b||T?uP(b,T)*uj+l:0)&&(o*=Math.abs(Math.cos(c*uk))),i.svg&&(r-=m-(m*_+f*b),s-=f-(m*w+f*T))):(D=g[6],R=g[7],k=g[8],P=g[9],E=g[10],N=g[11],r=g[12],s=g[13],n=g[14],u=(v=uP(D,E))*uj,v&&(M=S*(y=Math.cos(-v))+k*(x=Math.sin(-v)),A=C*y+P*x,j=D*y+E*x,k=-(S*x)+k*y,P=-(C*x)+P*y,E=-(D*x)+E*y,N=-(R*x)+N*y,S=M,C=A,D=j),h=(v=uP(-b,E))*uj,v&&(M=_*(y=Math.cos(-v))-k*(x=Math.sin(-v)),A=w*y-P*x,j=b*y-E*x,N=T*x+N*y,_=M,w=A,b=j),l=(v=uP(w,_))*uj,v&&(M=_*(y=Math.cos(v))+w*(x=Math.sin(v)),A=S*y+C*x,w=w*y-_*x,C=C*y-S*x,_=M,S=A),u&&Math.abs(u)+Math.abs(l)>359.9&&(u=l=0,h=180-h),a=oy(Math.sqrt(_*_+w*w+b*b)),o=oy(Math.sqrt(C*C+D*D)),c=Math.abs(v=uP(S,C))>2e-4?v*uj:0,p=N?1/(N<0?-N:N):0),i.svg&&(M=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!hd(u1(t,uH)),M&&t.setAttribute("transform",M))),Math.abs(c)>90&&270>Math.abs(c)&&(L?(a*=-1,c+=l<=0?180:-180,l+=l<=0?180:-180):(o*=-1,c+=c<=0?180:-180)),e=e||i.uncache,i.x=r-((i.xPercent=r&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-r)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+"px",i.y=s-((i.yPercent=s&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-s)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+"px",i.z=n+"px",i.scaleX=oy(a),i.scaleY=oy(o),i.rotation=oy(l)+"deg",i.rotationX=oy(u)+"deg",i.rotationY=oy(h)+"deg",i.skewX=c+"deg",i.skewY=d+"deg",i.transformPerspective=p+"px",(i.zOrigin=parseFloat(O.split(" ")[2])||!e&&i.zOrigin||0)&&(F[uG]=hv(O)),i.xOffset=i.yOffset=0,i.force3D=aN.force3D,i.renderTransform=i.svg?hb:uM?hw:hx,i.uncache=0,i},hv=function(t){return(t=t.split(" "))[0]+" "+t[1]},hy=function(t,e,i){var r=o6(e);return oy(parseFloat(e)+parseFloat(hr(t,"x",i+"px",r)))+r},hx=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,hw(t,e)},h_="0deg",hw=function(t,e){var i=e||this,r=i.xPercent,s=i.yPercent,n=i.x,a=i.y,o=i.z,l=i.rotation,u=i.rotationY,h=i.rotationX,c=i.skewX,d=i.skewY,p=i.scaleX,m=i.scaleY,f=i.transformPerspective,g=i.force3D,v=i.target,y=i.zOrigin,x="",_="auto"===g&&t&&1!==t||!0===g;if(y&&(h!==h_||u!==h_)){var w,b=parseFloat(u)*uk,T=Math.sin(b),S=Math.cos(b);n=hy(v,n,-(T*(w=Math.cos(b=parseFloat(h)*uk))*y)),a=hy(v,a,-(-Math.sin(b)*y)),o=hy(v,o,-(S*w*y)+y)}"0px"!==f&&(x+="perspective("+f+") "),(r||s)&&(x+="translate("+r+"%, "+s+"%) "),(_||"0px"!==n||"0px"!==a||"0px"!==o)&&(x+="0px"!==o||_?"translate3d("+n+", "+a+", "+o+") ":"translate("+n+", "+a+") "),l!==h_&&(x+="rotate("+l+") "),u!==h_&&(x+="rotateY("+u+") "),h!==h_&&(x+="rotateX("+h+") "),(c!==h_||d!==h_)&&(x+="skew("+c+", "+d+") "),(1!==p||1!==m)&&(x+="scale("+p+", "+m+") "),v.style[uH]=x||"translate(0, 0)"},hb=function(t,e){var i,r,s,n,a,o=e||this,l=o.xPercent,u=o.yPercent,h=o.x,c=o.y,d=o.rotation,p=o.skewX,m=o.skewY,f=o.scaleX,g=o.scaleY,v=o.target,y=o.xOrigin,x=o.yOrigin,_=o.xOffset,w=o.yOffset,b=o.forceCSS,T=parseFloat(h),S=parseFloat(c);d=parseFloat(d),p=parseFloat(p),(m=parseFloat(m))&&(p+=m=parseFloat(m),d+=m),d||p?(d*=uk,p*=uk,i=Math.cos(d)*f,r=Math.sin(d)*f,s=-(Math.sin(d-p)*g),n=Math.cos(d-p)*g,p&&(m*=uk,s*=a=Math.sqrt(1+(a=Math.tan(p-m))*a),n*=a,m&&(i*=a=Math.sqrt(1+(a=Math.tan(m))*a),r*=a)),i=oy(i),r=oy(r),s=oy(s),n=oy(n)):(i=f,n=g,r=s=0),(T&&!~(h+"").indexOf("px")||S&&!~(c+"").indexOf("px"))&&(T=hr(v,"x",h,"px"),S=hr(v,"y",c,"px")),(y||x||_||w)&&(T=oy(T+y-(y*i+x*s)+_),S=oy(S+x-(y*r+x*n)+w)),(l||u)&&(T=oy(T+l/100*(a=v.getBBox()).width),S=oy(S+u/100*a.height)),a="matrix("+i+","+r+","+s+","+n+","+T+","+S+")",v.setAttribute("transform",a),b&&(v.style[uH]=a)}
1,hT=function(t,e,i,r,s){var n,a,o=az(s),l=parseFloat(s)*(o&&~s.indexOf("rad")?uj:1)-r,u=r+l+"deg";return o&&("short"===(n=s.split("_")[1])&&(l%=360)!=l%180&&(l+=l<0?360:-360),"cw"===n&&l<0?l=(l+36e9)%360-360*~~(l/360):"ccw"===n&&l>0&&(l=(l-36e9)%360-360*~~(l/360))),t._pt=a=new un(t._pt,e,i,r,l,uL),a.e=u,a.u="deg",t._props.push(i),a},hS=function(t,e){for(var i in e)t[i]=e[i];return t},hC=function(t,e,i){var r,s,n,a,o,l,u,h=hS({},i._gsap),c=i.style;for(s in h.svg?(n=i.getAttribute("transform"),i.setAttribute("transform",""),c[uH]=e,r=hg(i,1),u7(i,uH),i.setAttribute("transform",n)):(n=getComputedStyle(i)[uH],c[uH]=e,r=hg(i,1),c[uH]=n),uA)(n=h[s])!==(a=r[s])&&0>"perspective,force3D,transformOrigin,svgOrigin".indexOf(s)&&(o=o6(n)!==(u=o6(a))?hr(i,s,n,u):parseFloat(n),l=parseFloat(a),t._pt=new un(t._pt,r,s,o,l-o,uF),t._pt.u=u||0,t._props.push(s));hS(r,h)};ov("padding,margin,Width,Radius",function(t,e){var i="Right",r="Bottom",s="Left",n=(e<3?["Top",i,r,s]:["Top"+s,"Top"+i,r+i,r+s]).map(function(i){return e<2?t+i:"border"+i+t});hu[e>1?"border"+t:t]=function(t,e,i,r,s){var a,o;if(arguments.length<4)return 5===(o=(a=n.map(function(e){return hs(t,e,i)})).join(" ")).split(a[0]).length?a[0]:o;a=(r+"").split(" "),o={},n.forEach(function(t,e){return o[t]=a[e]=a[e]||a[(e-1)/2|0]}),t.init(e,o,s)}});var hM={name:"css",register:u3,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,s){var n,a,o,l,u,h,c,d,p,m,f,g,v,y,x,_,w,b=this._props,T=t.style,S=i.vars.startAt;for(c in ub||u3(),this.styles=this.styles||uJ(t),_=this.styles.props,this.tween=i,e)if("autoRound"!==c&&(a=e[c],!(ou[c]&&lq(c,e,i,r,t,s)))){if(u=typeof a,h=hu[c],"function"===u&&(u=typeof(a=a.call(i,r,t,s))),"string"===u&&~a.indexOf("random(")&&(a=la(a)),h)h(this,t,c,a,i)&&(x=1);else if("--"===c.substr(0,2))n=(getComputedStyle(t).getPropertyValue(c)+"").trim(),a+="",ly.lastIndex=0,!ly.test(n)&&(d=o6(n),(p=o6(a))?d!==p&&(n=hr(t,c,n,p)+p):d&&(a+=d)),this.add(T,"setProperty",n,a,r,s,0,0,c),b.push(c),_.push(c,0,T[c]);else if("undefined"!==u){if(S&&c in S?(az(n="function"==typeof S[c]?S[c].call(i,r,t,s):S[c])&&~n.indexOf("random(")&&(n=la(n)),o6(n+"")||"auto"===n||(n+=aN.units[c]||o6(hs(t,c))||""),"="===(n+"").charAt(1)&&(n=hs(t,c))):n=hs(t,c),l=parseFloat(n),(m="string"===u&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),o=parseFloat(a),c in uD&&("autoAlpha"===c&&(1===l&&"hidden"===hs(t,"visibility")&&o&&(l=0),_.push("visibility",0,T.visibility),ht(this,T,"visibility",l?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==c&&"transform"!==c&&~(c=uD[c]).indexOf(",")&&(c=c.split(",")[0])),f=c in uA){if(this.styles.save(c),w=a,"string"===u&&"var(--"===a.substring(0,6)){if("calc("===(a=u1(t,a.substring(4,a.indexOf(")")))).substring(0,5)){var C=t.style.perspective;t.style.perspective=a,a=u1(t,"perspective"),C?t.style.perspective=C:u7(t,"perspective")}o=parseFloat(a)}if(g||((v=t._gsap).renderTransform&&!e.parseTransform||hg(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new un(this._pt,T,uH,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===c)this._pt=new un(this._pt,v,"scaleY",v.scaleY,(m?o_(v.scaleY,m+o):o)-v.scaleY||0,uF),this._pt.u=0,b.push("scaleY",c),c+="X";else if("transformOrigin"===c){_.push(uG,0,T[uG]),a=ho(a),v.svg?hf(t,a,0,y,0,this):((p=parseFloat(a.split(" ")[2])||0)!==v.zOrigin&&ht(this,v,"zOrigin",v.zOrigin,p),ht(this,T,c,hv(n),hv(a)));continue}else if("svgOrigin"===c){hf(t,a,1,y,0,this);continue}else if(c in hc){hT(this,v,c,l,m?o_(l,m+a):a);continue}else if("smoothOrigin"===c){ht(this,v,"smooth",v.smooth,a);continue}else if("force3D"===c){v[c]=a;continue}else if("transform"===c){hC(this,a,t);continue}}else c in T||(c=u5(c)||c);if(f||(o||0===o)&&(l||0===l)&&!uN.test(a)&&c in T)d=(n+"").substr((l+"").length),o||(o=0),p=o6(a)||(c in aN.units?aN.units[c]:d),d!==p&&(l=hr(t,c,n,p)),this._pt=new un(this._pt,f?v:T,c,l,(m?o_(l,m+o):o)-l,!f&&("px"===p||"zIndex"===c)&&!1!==e.autoRound?uB:uF),this._pt.u=p||0,f&&w!==a?(this._pt.b=n,this._pt.e=w,this._pt.r=uO):d!==p&&"%"!==p&&(this._pt.b=n,this._pt.r=uV);else if(c in T)hn.call(this,t,c,n,m?m+a:a);else if(c in t)this.add(t,c,n||t[c],m?m+a:a,r,s);else if("parseTransform"!==c){a7(c,a);continue}f||(c in T?_.push(c,0,T[c]):"function"==typeof t[c]?_.push(c,2,t[c]()):_.push(c,1,n||t[c])),b.pu
1sh(c)}}x&&us(this)},render:function(t,e){if(e.tween._time||!uC())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:hs,aliases:uD,getSetter:function(t,e,i){var r=uD[e];return r&&0>r.indexOf(",")&&(e=r),e in uA&&e!==uG&&(t._gsap.x||hs(t,"x"))?i&&uS===i?"scale"===e?uY:uU:(uS=i||{},"scale"===e?uX:uq):t.style&&!aU(t.style[e])?uW:~e.indexOf("-")?u$:l8(t,e)},core:{_removeProperty:u7,_getMatrix:hm}};ux.utils.checkPrefix=u5,ux.core.getStyleSaver=uJ,n=ov("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(s="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){uA[t]=1}),ov(s,function(t){aN.units[t]="deg",hc[t]=1}),uD[n[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+s,ov("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");uD[e[1]]=n[e[0]]}),ov("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){aN.units[t]="px"}),ux.registerPlugin(hM);var hA=ux.registerPlugin(hM)||ux;hA.core.Tween;var hj=t.i(61745);let hk={sense:"/images/home-capability/home-capability-showcase-section-sense-image.webp",human:"/images/home-capability/home-capability-showcase-section-human-image.webp",tech:"/images/home-capability/home-capability-showcase-section-tech-image.webp"},hP=["sense","human","tech"].map(t=>({id:t,image:hk[t]}));function hE(t,e,i){return Math.min(i,Math.max(e,t))}function hR(t){return"mobile"===t?{viewBox:"0 0 600 940",floorX:300,floorY:315,dropStartY:20,rippleRx:190,rippleRy:46,restRx:122,restRy:28,surfaceRx:175,surfaceRy:24,cardRippleRx:118,cardRippleRy:24,cardSeeds:[{x:300,y:205,rippleY:370},{x:300,y:520,rippleY:685},{x:300,y:835,rippleY:900}]}:{viewBox:"0 0 1000 540",floorX:500,floorY:330,dropStartY:-36,rippleRx:300,rippleRy:58,restRx:150,restRy:30,surfaceRx:205,surfaceRy:28,cardRippleRx:116,cardRippleRy:24,cardSeeds:[{x:220,y:290,rippleY:500},{x:500,y:215,rippleY:425},{x:780,y:290,rippleY:500}]}}function hN(){let t=(0,c.useTranslations)("home.philosophySection"),e=(0,hj.useLocale)(),i=(0,u.useRef)(null);return(0,u.useEffect)(()=>{let t,e=i.current;if(!e)return;let r=e.querySelector(".intro"),s=e.querySelector(".eyebrow"),n=e.querySelector(".catalyst-stage"),a=e.querySelector(".catalyst"),o=Array.from(e.querySelectorAll(".panel")),l=window.matchMedia("(max-width: 1059px)"),u=window.matchMedia("(prefers-reduced-motion: reduce)").matches,h=e.querySelector("#dropGroup"),c=e.querySelector("#trail"),d=e.querySelector("#flash"),p=e.querySelector("#restRipple"),m=e.querySelector("#impactSurface"),f=e.querySelector("#spray"),g=[e.querySelector("#mini0"),e.querySelector("#mini1"),e.querySelector("#mini2")].filter(t=>!!t),v=[e.querySelector("#ripple0"),e.querySelector("#ripple1"),e.querySelector("#ripple2")].filter(t=>!!t),y=[e.querySelector("#cardRipple0"),e.querySelector("#cardRipple1"),e.querySelector("#cardRipple2")].filter(t=>!!t);if(!r||!s||!n||!a||!h||!c||!d||!p||!m||!f||o.length!==hP.length||g.length!==hP.length||v.length!==hP.length||y.length!==hP.length)return;let x=n.clientWidth<720?"mobile":"desktop",_=hR(x),w=1,b=0,T=0,S=!1;function C(){let[t,e,i,r]=_.viewBox.split(/\s+/).map(Number);return{x:t,y:e,width:i,height:r}}function M(t){r.classList.toggle("is-intro-visible",t)}function A(){let t;_=hR(x),a.setAttribute("viewBox",_.viewBox),t=C(),_.cardSeeds.forEach((e,i)=>{let r=o[i];r&&(r.style.left=`${((e.x-t.x)/t.width*100).toFixed(4)}%`,r.style.top=`${((e.y-t.y)/t.height*100).toFixed(4)}%`)})}function j(t){y.forEach((e,i)=>{let r=_.cardSeeds[i];hA.set(e,{attr:{cx:r.x,cy:r.rippleY,rx:t?8:_.cardRippleRx,ry:t?1.8:_.cardRippleRy},opacity:.46*!t,strokeWidth:t?1.5:1})})}function k(){t&&(t.kill(),t=void 0),hA.killTweensOf([a,h,c,d,p,m,...o,...g,...v,...y,...Array.from(f.childNodes)])}function P(i){let r=hE(i,0,1);l.matches?(e.classList.remove("motion-ready"),hA.set(o,{clearProps:"left,top,opacity,transform,clipPath,scale,y,willChange"}),hA.set(a,{clearProps:"opacity"})):t&&(e.classList.add("motion-ready"),t.progress(r).pause()),M(r>=w)}function E(){P(b=Math.max(b,function(){let e=n.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight,a=i-e.top,o=i+e.height-.2*i,l=C(),u=(_.floorY-l.y)/l.height*e.height+28,h=t?hE((t.labels.impact??0)/Math.max(t.duration(),.001),0,1):.36,c=t?hE((t.labels.morph??0)/M
1ath.max(t.duration(),.001),0,1):.62,d=s.getBoundingClientRect(),p=hE(i-(e.top-d.bottom),u+1,o-1),m=r.getBoundingClientRect(),f=hE(i-(e.top-m.top)-.05*i,p+1,o);if(a<=u)return hE(a/Math.max(u,1)*h,0,h);if(a<=p)return hE(h+(a-u)/Math.max(p-u,1)*(c-h),h,c);let g=Math.max(f-p,1);return hE(c+(a-p)/g*(1-c),c,1)}()))}function R(){T||(T=window.requestAnimationFrame(()=>{T=0,E()}))}function N(){let i;if(x=n.clientWidth<720?"mobile":"desktop",A(),u){e.classList.remove("motion-ready"),A(),f.innerHTML="",k(),hA.set(h,{opacity:0}),hA.set(p,{opacity:.42,attr:{cx:_.floorX,cy:_.floorY,rx:_.restRx,ry:_.restRy}}),hA.set(m,{opacity:.24,strokeWidth:1,attr:{cx:_.floorX,cy:_.floorY,rx:_.surfaceRx,ry:_.surfaceRy}}),j(!1),hA.set(y,{opacity:0}),hA.set(o,{opacity:1,y:0,scale:1,clipPath:"inset(0% 0% 0% 0% round 0px)"}),M(!0);return}k(),A(),f.innerHTML="",hA.set(h,{x:_.floorX,y:_.dropStartY,opacity:1,scaleX:1,scaleY:1,transformOrigin:"50% 100%"}),hA.set(c,{opacity:0,scaleY:.25,transformOrigin:"50% 100%"}),hA.set(d,{opacity:0,scale:.22,transformOrigin:"50% 50%",attr:{cx:_.floorX,cy:_.floorY}}),hA.set(p,{opacity:0,attr:{cx:_.floorX,cy:_.floorY,rx:_.restRx,ry:_.restRy}}),hA.set(m,{opacity:.24,strokeWidth:1,attr:{cx:_.floorX,cy:_.floorY,rx:_.surfaceRx,ry:_.surfaceRy}}),j(!0),hA.set(a,{opacity:1}),hA.set(o,{opacity:0,y:28,scale:.94,clipPath:"inset(46% 46% 46% 46% round 72px)",transformOrigin:"50% 0%"}),g.forEach(t=>{hA.set(t,{x:_.floorX,y:_.floorY,opacity:0,scale:1,transformOrigin:"50% 50%"})}),v.forEach(t=>{hA.set(t,{attr:{cx:_.floorX,cy:_.floorY,rx:8,ry:1.8},opacity:0,strokeWidth:1.8})}),i=function(){let t=[];f.innerHTML="";for(let e=0;e<13;e+=1){let e=document.createElementNS("http://www.w3.org/2000/svg","circle"),i=1.2+2.4*Math.random(),r=-Math.PI/2+(Math.random()-.5)*2.1,s=54+138*Math.random();e.setAttribute("r",i.toFixed(2)),e.setAttribute("fill","url(#dropGradient)"),e.setAttribute("opacity","0"),f.appendChild(e),t.push({el:e,x:_.floorX+Math.cos(r)*s,y:_.floorY+Math.sin(r)*s*.52+24*Math.random()})}return t}(),(t=hA.timeline({paused:!0,defaults:{ease:"power2.out"}})).to(h,{y:_.floorY,duration:.9,ease:"power2.in"},0),t.fromTo(c,{opacity:0,scaleY:.25},{opacity:.62,scaleY:1,duration:.62,ease:"power2.in"},.18),t.addLabel("impact",.9),t.to(h,{scaleX:1.62,scaleY:.32,duration:.1,ease:"power2.out"},"impact"),t.to(h,{opacity:0,duration:.18,ease:"power1.out"},"impact+=0.05"),t.to(c,{opacity:0,duration:.13},"impact"),t.fromTo(m,{opacity:.2,strokeWidth:1,attr:{rx:.72*_.surfaceRx,ry:.72*_.surfaceRy}},{opacity:.68,strokeWidth:2,attr:{rx:1.1*_.surfaceRx,ry:1.08*_.surfaceRy},duration:.18,ease:"power2.out"},"impact"),t.to(m,{opacity:.24,strokeWidth:1,attr:{rx:_.surfaceRx,ry:_.surfaceRy},duration:.55,ease:"power2.out"},"impact+=0.18"),t.fromTo(d,{opacity:.5,scale:.22},{opacity:0,scale:1.16,duration:.58,ease:"power2.out"},"impact"),t.fromTo(v,{attr:{rx:8,ry:1.8},opacity:.64,strokeWidth:1.8},{attr:{rx:_.rippleRx,ry:_.rippleRy},opacity:0,strokeWidth:.45,duration:1.35,ease:"power2.out",stagger:.14},"impact"),i.forEach((e,i)=>{t?.fromTo(e.el,{x:_.floorX,y:_.floorY,opacity:1,scale:1},{x:e.x,y:e.y,opacity:0,scale:.36,duration:.58+.28*Math.random(),ease:"power2.out"},`impact+=${.01*i}`)}),g.forEach((e,i)=>{let r=`impact+=${.045*i}`;t?.set(e,{opacity:1,scale:1,x:_.floorX,y:_.floorY},r),t?.to(e,{x:_.cardSeeds[i].x,duration:.78,ease:"power2.out"},r),t?.to(e,{y:_.cardSeeds[i].y,duration:.78,ease:"power3.out"},r)}),t.addLabel("morph","impact+=0.72"),[1,0,2].forEach((e,i)=>{let r=.11*i,s=`morph+=${r}`;t?.to(g[e],{opacity:0,scale:2.5,duration:.25,ease:"power2.out"},s),t?.fromTo(y[e],{opacity:0,attr:{rx:8,ry:1.8}},{opacity:.46,attr:{rx:_.cardRippleRx,ry:_.cardRippleRy},strokeWidth:1,duration:.64,ease:"power2.out"},`morph+=${r+.02}`),t?.to(o[e],{opacity:1,y:0,scale:1,clipPath:"inset(0% 0% 0% 0% round 0px)",duration:.78,ease:"power3.out"},`morph+=${r+.04}`)}),t.set(y,{opacity:0},"morph+=1.04"),t.fromTo(p,{opacity:0,attr:{rx:_.restRx,ry:_.restRy}},{opacity:.42,duration:.9,ease:"power2.out"},"morph+=0.25"),w=function(){let e,i,s,a,o,l,u;if(!t)return 1;let c=t.progress(),d=(e=n.getBoundingClientRect(),i=r.getBoundingClientRect(),a=(s=C()).height/Math.max(e.height,1),o=(i.top+i.height/2-e.top)*a+s.y,hE(Math.max((l=n.getBoundingClientRect(),u=C().height/Math.max(l.height,1),_.dropStartY+80*u),o),_.dropStartY,_.floorY)),p=hE(.9/Math.max(t.duration(),.001),0,1),m=0,f=p;for(let e=0;e<18;e+=1){let e=(m+f)/2;t.progress(e).pause(),Number(hA.getProperty(h,"y"))>=d?f=e:m=e}return t.progress(c).pause(),f}(),P(b)}function D(){N(),R()}return M(!1),N(),E(),window.addEventListener("scroll",R,{passive:!0}),window.addEventListener("resize",D),document.fonts?.ready.then(()=>{!S&&e.isConnected&&(N(),E())}),()=>{S=!0,window.removeEventListener("scroll",R),window.removeEventListener("resize",D),T&&window.cancelAnimationFrame(T),k(),f.innerHTML=""}}
1,[]),(0,a.jsx)("section",{className:`philosophy${"ja"===e?" philosophy--ja":""}`,ref:i,"aria-labelledby":"philosophy-title",children:(0,a.jsxs)("div",{className:"philosophy__inner",children:[(0,a.jsxs)("header",{className:"philosophy__header",children:[(0,a.jsx)("p",{className:"eyebrow",children:t("eyebrow")}),(0,a.jsx)("h2",{id:"philosophy-title",className:"headline",children:t("headline").split("Ã").map((t,e,i)=>(0,a.jsxs)(u.Fragment,{children:[t,e<i.length-1&&(0,a.jsx)("span",{className:"cross",children:"Ã"})]},e))}),(0,a.jsx)("p",{className:"intro",children:t("intro")})]}),(0,a.jsxs)("div",{className:"catalyst-stage",children:[(0,a.jsxs)("svg",{className:"catalyst",viewBox:"0 0 1000 540","aria-hidden":"true",children:[(0,a.jsxs)("defs",{children:[(0,a.jsxs)("linearGradient",{id:"dropGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,a.jsx)("stop",{offset:"0%",stopColor:"var(--water)"}),(0,a.jsx)("stop",{offset:"58%",stopColor:"var(--water-mid)"}),(0,a.jsx)("stop",{offset:"100%",stopColor:"var(--water-deep)"})]}),(0,a.jsxs)("linearGradient",{id:"trailGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,a.jsx)("stop",{offset:"0%",stopColor:"var(--water)",stopOpacity:"0"}),(0,a.jsx)("stop",{offset:"100%",stopColor:"var(--water)",stopOpacity:"0.65"})]}),(0,a.jsxs)("radialGradient",{id:"flashGradient",cx:"50%",cy:"50%",r:"50%",children:[(0,a.jsx)("stop",{offset:"0%",stopColor:"var(--water)",stopOpacity:"0.48"}),(0,a.jsx)("stop",{offset:"72%",stopColor:"var(--water-mid)",stopOpacity:"0.12"}),(0,a.jsx)("stop",{offset:"100%",stopColor:"var(--water-mid)",stopOpacity:"0"})]})]}),(0,a.jsx)("ellipse",{id:"restRipple",className:"rest-ripple",cx:"500",cy:"218",rx:"160",ry:"30",opacity:"0"}),(0,a.jsx)("ellipse",{id:"impactSurface",className:"impact-surface",cx:"500",cy:"360",rx:"205",ry:"28",opacity:"0.2"}),(0,a.jsx)("circle",{id:"flash",className:"impact-flash",cx:"500",cy:"218",r:"118",opacity:"0"}),(0,a.jsxs)("g",{id:"ripples",children:[(0,a.jsx)("ellipse",{id:"ripple0",className:"ripple",cx:"500",cy:"218",rx:"8",ry:"1.8",strokeWidth:"1.8",opacity:"0"}),(0,a.jsx)("ellipse",{id:"ripple1",className:"ripple",cx:"500",cy:"218",rx:"8",ry:"1.8",strokeWidth:"1.8",opacity:"0"}),(0,a.jsx)("ellipse",{id:"ripple2",className:"ripple",cx:"500",cy:"218",rx:"8",ry:"1.8",strokeWidth:"1.8",opacity:"0"})]}),(0,a.jsxs)("g",{id:"cardRipples",children:[(0,a.jsx)("ellipse",{id:"cardRipple0",className:"card-ripple",cx:"0",cy:"0",rx:"8",ry:"1.8",strokeWidth:"1.5",opacity:"0"}),(0,a.jsx)("ellipse",{id:"cardRipple1",className:"card-ripple",cx:"0",cy:"0",rx:"8",ry:"1.8",strokeWidth:"1.5",opacity:"0"}),(0,a.jsx)("ellipse",{id:"cardRipple2",className:"card-ripple",cx:"0",cy:"0",rx:"8",ry:"1.8",strokeWidth:"1.5",opacity:"0"})]}),(0,a.jsx)("g",{id:"spray"}),(0,a.jsxs)("g",{id:"miniDrops",children:[(0,a.jsx)("circle",{id:"mini0",className:"mini-drop",cx:"0",cy:"0",r:"7",opacity:"0"}),(0,a.jsx)("circle",{id:"mini1",className:"mini-drop",cx:"0",cy:"0",r:"7",opacity:"0"}),(0,a.jsx)("circle",{id:"mini2",className:"mini-drop",cx:"0",cy:"0",r:"7",opacity:"0"})]}),(0,a.jsxs)("g",{id:"dropGroup",transform:"translate(500 218)",opacity:"0",children:[(0,a.jsx)("rect",{id:"trail",className:"trail",x:"-2",y:"-118",width:"4",height:"78",rx:"2",opacity:"0"}),(0,a.jsx)("path",{id:"mainDrop",className:"drop",d:"M0 0 C9 0 15 -7 15 -16 C15 -34 6 -48 0 -60 C-6 -48 -15 -34 -15 -16 C-15 -7 -9 0 0 0 Z"})]})]}),(0,a.jsx)("div",{className:"panels","aria-label":"Onedrops service dimensions",children:hP.map(e=>(0,a.jsxs)("article",{className:"panel",id:e.id,children:[(0,a.jsx)("img",{className:"panel-media",src:e.image,alt:`${t(`panels.${e.id}.kicker`)} visual`,loading:"lazy"}),(0,a.jsx)("p",{className:"panel-kicker",children:t(`panels.${e.id}.kicker`)}),(0,a.jsx)("p",{className:"panel-copy",children:t(`panels.${e.id}.copy`)})]},e.id))})]})]})})}function hD({sector:t,isActive:e,onActivate:i,totalCount:r}){let s=(0,c.useTranslations)("home.sectorGallery"),n=`${45/(r-1)}%`;return(0,a.jsxs)(nQ.div,{className:"relative h-full overflow-hidden cursor-pointer group",animate:{width:e?"55%":n},transition:{duration:.7,ease:[.22,1,.36,1]},onMouseEnter:i,children:[(0,a.jsxs)(nQ.div,{className:"absolute inset-0",animate:{scale:e?1.05:1.15},transition:{duration:.9,ease:[.22,1,.36,1]},children:[(0,a.jsx)("img",{src:t.image,alt:t.title,className:"w-full h-full object-cover"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0A0A0B] via-[#0A0A0B]/70 to-transparent"}),(0,a.jsx)(nQ.div,{className:"absolute inset-0 bg-[#0A0A0B]",animate:{o
1pacity:.35*!e},transition:{duration:.5}})]}),(0,a.jsxs)(nQ.div,{className:"absolute inset-0 z-20 flex flex-col items-center",animate:{opacity:+!e},transition:{duration:.3},children:[(0,a.jsx)("div",{className:"flex min-h-0 flex-1 items-end pb-4",children:(0,a.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[(0,a.jsx)("span",{className:"text-[#F0F0F0]/40 font-heading text-xs tracking-[0.3em] uppercase",children:t.number}),(0,a.jsx)("h3",{className:"text-[#F0F0F0]/80 font-heading text-lg font-semibold tracking-tight whitespace-nowrap",style:{writingMode:"vertical-rl",textOrientation:"mixed"},children:t.title})]})}),(0,a.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none h-[28%] w-px flex-none bg-gradient-to-b from-[#C9A96E]/45 via-[#C9A96E]/25 to-transparent"})]}),(0,a.jsx)(nQ.div,{className:"absolute inset-0 z-20 flex flex-col justify-end p-8 md:p-12",animate:{opacity:+!!e},transition:{duration:.4,delay:.2*!!e},children:(0,a.jsxs)("div",{className:"max-w-lg",children:[(0,a.jsx)("span",{className:"text-[#C9A96E] font-mono text-xs tracking-[0.3em] uppercase mb-4 block",children:t.number}),(0,a.jsx)("h3",{className:"text-white font-heading text-3xl md:text-4xl font-bold tracking-[-0.04em] mb-4 leading-tight drop-shadow-lg",children:t.title}),(0,a.jsx)("p",{className:"text-white/60 font-heading text-xs tracking-[0.15em] uppercase mb-5",children:t.tags}),(0,a.jsx)("p",{className:"text-white/85 font-body text-sm md:text-base leading-relaxed mb-8 drop-shadow-md",children:t.description}),(0,a.jsxs)(nQ.button,{className:"group/btn flex items-center gap-3 text-[#F0F0F0] font-heading text-sm font-medium tracking-[0.05em] uppercase border border-[#F0F0F0]/20 px-6 py-3 rounded-full hover:bg-[#F0F0F0]/5 hover:border-[#C9A96E]/50 transition-all duration-300",whileHover:{x:4},children:[s("viewDossier"),(0,a.jsx)(n0,{className:"w-4 h-4 transition-transform duration-300 group-hover/btn:translate-x-0.5 group-hover/btn:-translate-y-0.5"})]})]})}),(0,a.jsx)(nQ.div,{className:"absolute bottom-0 left-0 right-0 z-30 h-[2px] bg-[#C9A96E]",animate:{scaleX:+!!e},transition:{duration:.5,ease:[.22,1,.36,1]},style:{transformOrigin:"left"}})]})}var hF=u;function hL(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class hV extends hF.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(nB(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,i=nB(t)&&t.offsetWidth||0,r=nB(t)&&t.offsetHeight||0,s=getComputedStyle(e),n=this.props.sizeRef.current;n.height=parseFloat(s.height),n.width=parseFloat(s.width),n.top=e.offsetTop,n.left=e.offsetLeft,n.right=i-n.width-n.left,n.bottom=r-n.height-n.top,n.direction=s.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function hO({children:t,isPresent:e,anchorX:i,anchorY:r,root:s,pop:n}){let o=(0,hF.useId)(),l=(0,hF.useRef)(null),h=(0,hF.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:c}=(0,hF.useContext)(iT),d=function(...t){return u.useCallback(function(...t){return e=>{let i=!1,r=t.map(t=>{let r=hL(t,e);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let e=0;e<r.length;e++){let i=r[e];"function"==typeof i?i():hL(t[e],null)}}}}(...t),t)}(l,!1!==n?t.props?.ref??t?.ref:void 0);return(0,hF.useInsertionEffect)(()=>{let{width:t,height:a,top:u,left:d,right:p,bottom:m,direction:f}=h.current;if(e||!1===n||!l.current||!t||!a)return;let g="rtl"===f,v="left"===i?g?`right: ${p}`:`left: ${d}`:g?`left: ${d}`:`right: ${p}`,y="bottom"===r?`bottom: ${m}`:`top: ${u}`;l.current.dataset.motionPopId=o;let x=document.createElement("style");c&&(x.nonce=c);let _=s??document.head;return _.appendChild(x),x.sheet&&x.sheet.insertRule(` 2 [data-motion-pop-id="${o}"] { 3 position: absolute !important; 4 width: ${t}px !important; 5 height: ${a}px !important; 6 ${v}px !important; 7 ${y}px !important; 8 } 9 `),()=>{l.current?.removeAttribute("data-motion-pop-id"),_.contains(x)&&_.removeChild(x)}},[e]),(0,a.jsx)(hV,{isPresent:e,childRef:l,sizeRef:h,pop:n,children:!1===n?t:hF.cloneElement(t,{ref:d})})}let hB=({children:t,initial:e,isPresent:i,onExitComplete:r,custom:s,presenceAffectsLayout:n,mode:o,anchorX:l,anchorY:h,root:c})=>{let d=iD(hI),p=(0,u.useId)(),m=(0,u.useRef)(i),f=(0,u.useRef)(r);iY(()=>{m.current=i,f.current=r});let g=!0,v=(0,u.useMemo)(()=>(g=!1,{id:p,initial:e,isPresent:i,custom:s,onExitComplete:t=>
9{for(let e of(d.set(t,!0),d.values()))if(!e)return;r&&r()},register:t=>(d.set(t,!1),()=>{d.delete(t),m.current||d.size||f.current?.()})}),[i,d,r]);return n&&g&&(v={...v}),(0,u.useMemo)(()=>{d.forEach((t,e)=>d.set(e,!1))},[i]),u.useEffect(()=>{i||d.size||!r||r()},[i]),t=(0,a.jsx)(hO,{pop:"popLayout"===o,isPresent:i,anchorX:l,anchorY:h,root:c,children:t}),(0,a.jsx)(iN.Provider,{value:v,children:t})};function hI(){return new Map}let hz=t=>t.key||"";function hW(t){let e=[];return u.Children.forEach(t,t=>{(0,u.isValidElement)(t)&&e.push(t)}),e}let h$=({children:t,custom:e,initial:i=!0,onExitComplete:r,presenceAffectsLayout:s=!0,mode:n="sync",propagate:o=!1,anchorX:l="left",anchorY:h="top",root:c})=>{let[d,p]=sz(o),m=(0,u.useMemo)(()=>hW(t),[t]),f=o&&!d?[]:m.map(hz),g=(0,u.useRef)(!0),v=(0,u.useRef)(m),y=iD(()=>new Map),x=(0,u.useRef)(new Set),[_,w]=(0,u.useState)(m),[b,T]=(0,u.useState)(m);iY(()=>{g.current=!1,v.current=m;for(let t=0;t<b.length;t++){let e=hz(b[t]);f.includes(e)?(y.delete(e),x.current.delete(e)):!0!==y.get(e)&&y.set(e,!1)}},[b,f.length,f.join("-")]);let S=[];if(m!==_){let t=[...m];for(let e=0;e<b.length;e++){let i=b[e],r=hz(i);f.includes(r)||(t.splice(e,0,i),S.push(i))}return"wait"===n&&S.length&&(t=S),T(hW(t)),w(m),null}let{forceRender:C}=(0,u.useContext)(iw);return(0,a.jsx)(a.Fragment,{children:b.map(t=>{let u=hz(t),_=(!o||!!d)&&(m===b||f.includes(u));return(0,a.jsx)(hB,{isPresent:_,initial:(!g.current||!!i)&&void 0,custom:e,presenceAffectsLayout:s,mode:n,root:c,onExitComplete:_?void 0:()=>{if(x.current.has(u)||!y.has(u))return;x.current.add(u),y.set(u,!0);let t=!0;y.forEach(e=>{e||(t=!1)}),t&&(C?.(),T(v.current),o&&p?.(),r&&r())},anchorX:l,anchorY:h,children:t},u)})})},hU=(0,nJ.default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);function hY({sector:t,isActive:e,onToggle:i}){let r=(0,c.useTranslations)("home.sectorGallery");return(0,a.jsxs)("div",{className:"border-b border-[#F0F0F0]/6",children:[(0,a.jsxs)("button",{onClick:i,className:"w-full flex items-center justify-between py-6 px-5 text-left",children:[(0,a.jsxs)("div",{className:"flex items-center gap-5",children:[(0,a.jsx)("span",{className:"text-[#C9A96E] font-mono text-xs tracking-[0.3em]",children:t.number}),(0,a.jsx)("h3",{className:"text-[#F0F0F0] font-heading text-lg font-semibold tracking-[-0.02em]",children:t.title})]}),(0,a.jsx)(nQ.div,{animate:{rotate:180*!!e},transition:{duration:.3},children:(0,a.jsx)(hU,{className:"w-5 h-5 text-[#F0F0F0]/40"})})]}),(0,a.jsx)(h$,{children:e&&(0,a.jsx)(nQ.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.4,ease:[.22,1,.36,1]},className:"overflow-hidden",children:(0,a.jsxs)("div",{className:"px-5 pb-8",children:[(0,a.jsxs)("div",{className:"relative rounded-xl overflow-hidden mb-6 aspect-[4/3]",children:[(0,a.jsx)("img",{src:t.image,alt:t.title,className:"w-full h-full object-cover"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0A0A0B] via-transparent to-transparent"})]}),(0,a.jsx)("p",{className:"text-[#F0F0F0]/40 font-heading text-[10px] tracking-[0.2em] uppercase mb-4",children:t.tags}),(0,a.jsx)("p",{className:"text-[#F0F0F0]/70 font-body text-sm leading-relaxed mb-6",children:t.description}),(0,a.jsxs)("button",{className:"flex items-center gap-2 text-[#F0F0F0] font-heading text-xs font-medium tracking-[0.05em] uppercase border border-[#F0F0F0]/20 px-5 py-2.5 rounded-full",children:[r("viewDossier"),(0,a.jsx)(n0,{className:"w-3.5 h-3.5"})]})]})})})]})}let hX=["globalEnterprises","challengerCompanies","globalProfessionalFirms","publicSectorDefense"],hq={globalEnterprises:"01",challengerCompanies:"02",globalProfessionalFirms:"03",publicSectorDefense:"04"},hH={globalEnterprises:"https://media.base44.com/images/public/6a39c1d9b5a9218380d510db/b46c6e91d_generated_image.png",challengerCompanies:"https://media.base44.com/images/public/6a39c1d9b5a9218380d510db/8196ed98b_generated_78f3a346.png",globalProfessionalFirms:"https://media.base44.com/images/public/6a39c1d9b5a9218380d510db/e3eb8a049_generated_c2b6e4ba.png",publicSectorDefense:"https://media.base44.com/images/public/6a39c1d9b5a9218380d510db/84d8e4a61_generated_4ead55d1.png"};function hG(){let t=(0,c.useTranslations)("home.sectorGallery"),[e,i]=(0,u.useState)(0),[r,s]=(0,u.useState)(null),n=hX.map(e=>({number:hq[e],title:t(`sectors.${e}.title`),tags:t(`sectors.${e}.tags`),description:t(`sectors.${e}.description`),image:hH[e]}));return(0,a.jsxs)("section",{id:"clients",className:"relative bg-[#0A0A0B] overflow-hidden",children:[(0,a.jsx)("div",{className:"relative px-[6vw] md:px-[10vw] pt-24 md:pt-32 pb-16 md:pb-24",children:(0,a.jsxs)(nQ.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.8,ease:[.22,1,.36,1]},children:[(0,a.jsx)("span",{className:"text-[#F0F0F0]/40 font-heading text-xs tracking-[0.3em] uppercase block mb-8",children:t("eyebrow")}),(0,a.jsx)("h2",{className:"font-display text-3xl md:text-5xl lg:text-6xl text-[#F0F0F0] leading-[1.15] tracking-[-0.02em] max-w-4xl italic",children:t("headline")}),(0,a.jsx)("p",{className:"text-[#F0F0F0]/50 font-heading text-lg md:text-xl mt-6 tracking-[-0.01em] font-light",children:t("subtext")})]})}),(0,a.jsx)("div",{className:"hidden lg:block",children:(0,a.jsx)(nQ.div,{className:"flex h-[85vh] mx-[3vw]",initial:{opacity:0}
9,whileInView:{opacity:1},viewport:{once:!0,margin:"-50px"},transition:{duration:.6},children:n.map((t,r)=>(0,a.jsx)(hD,{sector:t,isActive:e===r,onActivate:()=>i(r),totalCount:n.length},t.number))})}),(0,a.jsx)("div",{className:"lg:hidden px-4",children:(0,a.jsx)("div",{className:"border-t border-[#F0F0F0]/6",children:n.map((t,e)=>(0,a.jsx)(hY,{sector:t,isActive:r===e,onToggle:()=>s(r===e?null:e)},t.number))})}),(0,a.jsx)("div",{className:"h-24 md:h-32 bg-gradient-to-b from-[#0A0A0B] to-[#0A0A0B]"})]})}let hK=[{id:"leo",name:"Leo",location:"",img:"/images/team-member/team-member-leo.webp"},{id:"ehtisham",name:"Ehtisham",location:"",img:"/images/team-member/team-member-ehtisham.webp"},{id:"carey",name:"Carey",location:"",img:"/images/team-member/team-member-carey.webp"}];function hZ(){let t=(0,c.useTranslations)("home.airCompanySection"),e=(0,u.useRef)(null),[i,r]=(0,u.useState)(!1);return(0,u.useEffect)(()=>{let t=e.current;if(!t)return;if(!("IntersectionObserver"in window)){let t=globalThis.requestAnimationFrame(()=>{r(!0)});return()=>globalThis.cancelAnimationFrame(t)}let i=new IntersectionObserver(t=>{let[e]=t;e?.isIntersecting&&(r(!0),i.disconnect())},{threshold:.2});return i.observe(t),()=>i.disconnect()},[]),(0,a.jsxs)("section",{ref:e,className:`od-air${i?" in":""}`,id:"airCompany","aria-labelledby":"air-title",children:[(0,a.jsx)("div",{className:"top-rule"}),(0,a.jsxs)("div",{className:"inner",children:[(0,a.jsxs)("div",{className:"head",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"eyebrow",children:t("eyebrow")}),(0,a.jsxs)("h2",{className:"title",id:"air-title",children:[t("titleBefore"),(0,a.jsx)("em",{children:t("titleEmphasis")})]})]}),(0,a.jsxs)("div",{className:"head-right",children:[(0,a.jsx)("p",{className:"lede",children:t("lede")}),(0,a.jsxs)("div",{className:"model",children:[(0,a.jsx)("p",{className:"kicker",children:t("modelKicker")}),(0,a.jsxs)("p",{children:[t("modelIntro"),(0,a.jsx)("b",{children:t("modelBold1")}),t("modelMiddle"),(0,a.jsx)("b",{children:t("modelBold2")}),t("modelEnd")]})]})]})]}),(0,a.jsxs)("div",{className:"net","aria-hidden":"true",children:[(0,a.jsx)("span",{className:"wire"}),(0,a.jsx)("span",{className:"node n1",style:{left:"16.66%"}}),(0,a.jsx)("span",{className:"node n2",style:{left:"50%"}}),(0,a.jsx)("span",{className:"node n3",style:{left:"83.33%"}}),(0,a.jsxs)("span",{className:"tag",children:[t("networkTagBefore"),(0,a.jsx)("b",{children:t("networkTagBold")}),t("networkTagAfter")]})]}),(0,a.jsx)("div",{className:"gallery",children:hK.map(e=>(0,a.jsxs)("article",{className:"member",tabIndex:0,children:[(0,a.jsxs)("div",{className:"photo",children:[(0,a.jsx)("span",{className:"corner",children:t("memberCorner")}),(0,a.jsx)("img",{src:e.img,alt:`Onedrops Air Company member ${e.name}`,loading:"lazy",onError:t=>{t.currentTarget.onerror=null,t.currentTarget.src=e.img}})]}),(0,a.jsxs)("div",{className:"cap",children:[(0,a.jsx)("p",{className:"role",children:t("memberRole")}),(0,a.jsx)("p",{className:"name",children:e.name}),e.location?(0,a.jsx)("p",{className:"loc",children:e.location}):null]})]},e.id))})]})]})}t.s(["default",0,function(){return(0,a.jsx)("main",{className:"bg-[#0E0D0B] w-full",children:(0,a.jsxs)("div",{className:"flex w-full flex-col bg-[#0E0D0B]",style:{fontFamily:"var(--font-satoshi)"},children:[(0,a.jsx)(ar,{}),(0,a.jsx)(h,{}),(0,a.jsx)(hN,{}),(0,a.jsx)(hG,{}),(0,a.jsx)(S,{}),(0,a.jsx)(hZ,{}),(0,a.jsx)(m,{}),(0,a.jsx)(g,{}),(0,a.jsx)(j.default,{className:"mx-auto bg-[#050505] w-full"}),(0,a.jsx)(A,{}),(0,a.jsx)(y,{})]})})}],45254)}]);
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.