1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,62108,t=>{t.v({addressLink:"FooterSection-module-scss-module__fh9KSW__addressLink",desktopLinkedIn:"FooterSection-module-scss-module__fh9KSW__desktopLinkedIn",footer:"FooterSection-module-scss-module__fh9KSW__footer",footerAddress:"FooterSection-module-scss-module__fh9KSW__footerAddress",footerContent:"FooterSection-module-scss-module__fh9KSW__footerContent",footerCopyright:"FooterSection-module-scss-module__fh9KSW__footerCopyright",footerLeft:"FooterSection-module-scss-module__fh9KSW__footerLeft",footerLink:"FooterSection-module-scss-module__fh9KSW__footerLink",footerLinks:"FooterSection-module-scss-module__fh9KSW__footerLinks",footerLogo:"FooterSection-module-scss-module__fh9KSW__footerLogo",footerLogoContainer:"FooterSection-module-scss-module__fh9KSW__footerLogoContainer",footerRight:"FooterSection-module-scss-module__fh9KSW__footerRight",linkedinIcon:"FooterSection-module-scss-module__fh9KSW__linkedinIcon",mobileLinkedIn:"FooterSection-module-scss-module__fh9KSW__mobileLinkedIn"})},46932,76959,83411,65566,60830,87022,30551,25791,86427,31178,37806,21476,47414,74008,83920,44230,15923,49652,61327,64978,72846,t=>{"use strict";let e,i,n,r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=new Set(r),o=(t,e,i)=>i>e?e:i<t?t:i;t.s(["clamp",()=>o],76959);let a={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},l={...a,transform:t=>o(0,1,t)},u={...a,default:1},h=t=>Math.round(1e5*t)/1e5,c=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,d=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,p=(t,e)=>i=>!!("string"==typeof i&&d.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),f=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[r,s,o,a]=n.match(c);return{[t]:parseFloat(r),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},m={...a,transform:t=>Math.round(o(0,255,t))},g={test:p("rgb","red"),parse:f("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+m.transform(t)+", "+m.transform(e)+", "+m.transform(i)+", "+h(l.transform(n))+")"},y={test:p("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:g.transform},v=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),x=v("deg"),w=v("%"),b=v("px"),P=v("vh"),S=v("vw"),T={...w,parse:t=>w.parse(t)/100,transform:t=>w.transform(100*t)},E={test:p("hsl","hue"),parse:f("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+w.transform(h(e))+", "+w.transform(h(i))+", "+h(l.transform(n))+")"},C={test:t=>g.test(t)||y.test(t)||E.test(t),parse:t=>g.test(t)?g.parse(t):E.test(t)?E.parse(t):y.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?g.transform(t):E.transform(t),getAnimatableNone:t=>{let e=C.parse(t);return e.alpha=0,C.transform(e)}},A=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,M="number",k="color",R=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function j(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],s=0,o=e.replace(R,t=>(C.test(t)?(n.color.push(s),r.push(k),i.push(C.parse(t))):t.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(t)):(n.number.push(s),r.push(M),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:n,types:r}}function V(t){return j(t).values}function L(t){let{split:e,types:i}=j(t),n=e.length;return t=>{let r="";for(let s=0;s<n;s++)if(r+=e[s],void 0!==t[s]){let e=i[s];e===M?r+=h(t[s]):e===k?r+=C.transform(t[s]):r+=t[s]}return r}}let D=t=>"number"==typeof t?0:C.test(t)?C.getAnimatableNone(t):t,O={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(c)?.length||0)+(t.match(A)?.length||0)>0},parse:V,createTransformer:L,getAnimatableNone:function(t){let e=V(t);return L(t)(e.map(D))}},_=new Set(["brightness","contrast","saturate","opacity"]);function F(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(c)||[];
1if(!n)return t;let r=i.replace(n,""),s=+!!_.has(e);return n!==i&&(s*=100),e+"("+s+r+")"}let I=/\b([a-z-]*)\(.*?\)/gu,B={...O,getAnimatableNone:t=>{let e=t.match(I);return e?e.map(F).join(" "):t}},$={...O,getAnimatableNone:t=>{let e=O.parse(t);return O.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},N={...a,transform:Math.round},U={borderWidth:b,borderTopWidth:b,borderRightWidth:b,borderBottomWidth:b,borderLeftWidth:b,borderRadius:b,borderTopLeftRadius:b,borderTopRightRadius:b,borderBottomRightRadius:b,borderBottomLeftRadius:b,width:b,maxWidth:b,height:b,maxHeight:b,top:b,right:b,bottom:b,left:b,inset:b,insetBlock:b,insetBlockStart:b,insetBlockEnd:b,insetInline:b,insetInlineStart:b,insetInlineEnd:b,padding:b,paddingTop:b,paddingRight:b,paddingBottom:b,paddingLeft:b,paddingBlock:b,paddingBlockStart:b,paddingBlockEnd:b,paddingInline:b,paddingInlineStart:b,paddingInlineEnd:b,margin:b,marginTop:b,marginRight:b,marginBottom:b,marginLeft:b,marginBlock:b,marginBlockStart:b,marginBlockEnd:b,marginInline:b,marginInlineStart:b,marginInlineEnd:b,fontSize:b,backgroundPositionX:b,backgroundPositionY:b,rotate:x,rotateX:x,rotateY:x,rotateZ:x,scale:u,scaleX:u,scaleY:u,scaleZ:u,skew:x,skewX:x,skewY:x,distance:b,translateX:b,translateY:b,translateZ:b,x:b,y:b,z:b,perspective:b,transformPerspective:b,opacity:l,originX:T,originY:T,originZ:b,zIndex:N,fillOpacity:l,strokeOpacity:l,numOctaves:N},W={...U,color:C,backgroundColor:C,outlineColor:C,fill:C,stroke:C,borderColor:C,borderTopColor:C,borderRightColor:C,borderBottomColor:C,borderLeftColor:C,filter:B,WebkitFilter:B,mask:$,WebkitMask:$},z=t=>W[t],H=()=>({translate:0,scale:1,origin:0,originPoint:0}),K=()=>({x:H(),y:H()}),X=()=>({min:0,max:0}),Y=()=>({x:X(),y:X()}),q=t=>!!(t&&t.getVelocity);t.s(["isMotionValue",()=>q],83411);let G=new Set(["width","height","top","left","right","bottom",...r]),Z=t=>e=>e.test(t),J=[a,b,w,x,S,P,{test:t=>"auto"===t,parse:t=>t}],Q=t=>J.find(Z(t));var tt,te=t.i(47167);let ti=()=>{},tn=()=>{};te.default,t.s(["invariant",()=>tn,"warning",()=>ti],65566);let tr=t=>e=>"string"==typeof e&&e.startsWith(t),ts=tr("--"),to=tr("var(--"),ta=t=>!!to(t)&&tl.test(t.split("/*")[0].trim()),tl=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tu(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let th=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tc=t=>180*t/Math.PI,td=t=>tf(tc(Math.atan2(t[1],t[0]))),tp={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=>tc(Math.atan(t[1])),skewY:t=>tc(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tf=t=>((t%=360)<0&&(t+=360),t),tm=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tg=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),ty={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tm,scaleY:tg,scale:t=>(tm(t)+tg(t))/2,rotateX:t=>tf(tc(Math.atan2(t[6],t[5]))),rotateY:t=>tf(tc(Math.atan2(-t[2],t[0]))),rotateZ:td,rotate:td,skewX:t=>tc(Math.atan(t[4])),skewY:t=>tc(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tv(t){return+!!t.includes("scale")}function tx(t,e){let i,n;if(!t||"none"===t)return tv(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=ty,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=tp,n=e}if(!n)return tv(e);let s=i[e],o=n[1].split(",").map(tw);return"function"==typeof s?s(o):o[s]}function tw(t){return parseFloat(t.trim())}let tb=t=>t===a||t===b,tP=new Set(["x","y","z"]),tS=r.filter(t=>!tP.has(t)),tT={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-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})=>tx(e,"x"),y:(t,{transform:e})=>tx(e,"y")};tT.translateX=tT.x,tT.translateY=tT.y;let tE=t=>t;t.s(["noop",()=>tE],60830);let tC={},tA=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tM(t,e){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=tA.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(h.schedule(e),t()),l++,e(a)}let h={schedule:(t,e=!1,s=!1)=>{let a=s&&r?i:n;return e&&o.add(t),a.has(t)||a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(a=t,r){s=!0;return}
1r=!0,[i,n]=[n,i],i.forEach(u),e,l=0,i.clear(),r=!1,s&&(s=!1,h.process(t))}};return h}(s,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:p,postRender:f}=o,m=()=>{let s=tC.useManualTiming?r.timestamp:performance.now();i=!1,tC.useManualTiming||(r.delta=n?1e3/60:Math.max(Math.min(s-r.timestamp,40),1)),r.timestamp=s,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),h.process(r),c.process(r),d.process(r),p.process(r),f.process(r),r.isProcessing=!1,i&&e&&(n=!1,t(m))};return{schedule:tA.reduce((e,s)=>{let a=o[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,n=!0,r.isProcessing||t(m)),a.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;e<tA.length;e++)o[tA[e]].cancel(t)},state:r,steps:o}}let{schedule:tk,cancel:tR,state:tj,steps:tV}=tM("u">typeof requestAnimationFrame?requestAnimationFrame:tE,!0);t.s(["cancelFrame",()=>tR,"frame",()=>tk,"frameData",()=>tj,"frameSteps",()=>tV],87022);let tL=new Set,tD=!1,tO=!1,t_=!1;function tF(){if(tO){let t=Array.from(tL).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,n=(e=[],tS.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e);n.length&&(i.set(t,n),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)})}tO=!1,tD=!1,tL.forEach(t=>t.complete(t_)),tL.clear()}function tI(){tL.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tO=!0)})}class tB{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(tL.add(this),tD||(tD=!0,tk.read(tI),tk.resolveKeyframes(tF))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.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),tL.delete(this)}cancel(){"scheduled"===this.state&&(tL.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let t$=new Set([B,$]);function tN(t,e){let i=z(t);return t$.has(i)||(i=O),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tU=new Set(["auto","none","0"]);class tW extends tB{constructor(t,e,i,n,r){super(t,e,i,n,r,!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 n=t[i];if("string"==typeof n&&ta(n=n.trim())){let r=function t(e,i,n=1){tn(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(t){let e=th.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let o=window.getComputedStyle(i).getPropertyValue(r);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return ta(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!G.has(i)||2!==t.length)return;let[n,r]=t,s=Q(n),o=Q(r);if(tu(n)!==tu(r)&&tT[i]){this.needsMeasurement=!0;return}if(s!==o)if(tb(s)&&tb(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tT[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 n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!tU.has(e)&&j(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=tN(i,n)}(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=tT[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=tT[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let tz=t=>1e3*t;function tH(t,e){-1===t.indexOf(e)&&t.push(e)}function tK(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class tX{constructor(){this.subscriptions=[]}add(t){return tH(this.subscriptions,t),()=>tK(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function tY(t){let e;return()=>(void 0===e&&(e=t()),e)}let tq={};function tG(t,e){let i=tY(t);return()=>tq[e]??i()}let tZ=tG(()=>void 0!==window.ScrollTimeline,"scrollTimeline");t.s(["supportsScrollTimeline",()=>tZ],30551);let tJ=t=>null!==t;function tQ(t,{repeat:e,repeatType:i="loop"},n,r=1){let s=t.filter(tJ),o=r<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==n?n:s[o]}class t0{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 t1={layout:0,mainThread:0,waapi:0},t2=t=>Array.isArray(t)&&"number"==typeof t[0],t3=tG(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),t5=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},t4=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,t9={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t4([0,.65,.55,1]),circOut:t4([.55,0,1,.45]),backIn:t4([.31,.01,.66,-.59]),backOut:t4([.33,1.53,.69,.99])};function t6(t){return"function"==typeof t&&"applyToOptions"in t}class t8 extends t0{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,tn("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return t6(t)&&t3()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?t3()?t5(e,i):"ease-out":t2(e)?t4(e):Array.isArray(e)?e.map(e=>t(e,i)||t9.easeOut):t9[e]}(a,r);Array.isArray(c)&&(h.easing=c);let d={delay:n,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(d.pseudoElement=u);let p=t.animate(h,d);return p}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=tQ(n,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):i.startsWith("--")?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}a?.(),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){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=tz(t)}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,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&tZ())?(this.animation.timeline=t,tE):e(this)}}let t7=new Set(["opacity","clipPath","filter","transform"]),{schedule:et}=tM(queueMicrotask,!1);function ee(){e=void 0}let ei={now:()=>(void 0===e&&ei.set(tj.isProcessing||tC.useManualTiming?tj.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(ee)}};function en(t,e){return e?1e3/e*t:0}t.s(["velocityPerSecond",()=>en],25791);let er={current:void 0};class es{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=ei.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=ei.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 tX);let i=this.events[t].add(e);return"change"===t?()=>{i(),tk.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 er.current&&er.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=ei.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return en(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 eo(t,e){return new es(t,e)}t.s(["collectMotionValues",()=>er,"motionValue",()=>eo],86427);let ea=[...J,C,O],el=new WeakMap;function eu(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function eh(t){return"string"==typeof t||Array.isArray(t)}let ec=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ed=["initial",...ec];function ep(t){return eu(t.animate)||ed.some(e=>eh(t[e]))}function ef(t){return!!(ep(t)||t.variants)}let em={current:null},eg={current:!1},ey="u">typeof window;function ev(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function ex(t,e,i,n){if("function"==typeof e){let[r,s]=ev(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=ev(n);e=e(void 0!==i?i:t.custom,r,s)}return e}let ew=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],eb={};class eP{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:r,blockInitialAnimation:s,visualState:o},a={}){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=tB,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=ei.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tk.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=o;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=n,this.skipAnimationsConfig=r,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=ep(e),this.isVariantNode=ef(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]&&q(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,el.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:(eg.current||function(){if(eg.current=!0,ey)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>em.current=t.matches;t.addEventListener("change",e),e()}else em.current=!1}(),this.shouldReduceMotion=em.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(),tR(this.notifyUpdate),tR(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&&t7.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:r,ease:s,duration:o}=e.accelerate,a=new t8({element:this.current,name:t,keyframes:n,times:r,ease:s,duration:tz(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let n=s.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tk.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i(),e.owner&&e.stop()})}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 eb){let e=eb[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(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):Y()}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 n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if(q(r))t.addValue(n,r);else if(q(s))t.addValue(n,eo(r,{owner:t}));else if(s!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,eo(void 0!==e?e:r,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);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=eo(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 n,r;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(r=i,/^0[^.\s]+$/u.test(r))))i=parseFloat(i);else{let n;n=i,!ea.find(Z(n))&&O.test(e)&&(i=tN(t,e))}this.setBaseTarget(t,q(i)?i.get():i)}return q(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 n=ex(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||q(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new tX),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){et.render(this.render)}}class eS extends eP{constructor(){super(...arguments),this.KeyframeResolver=tW}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;q(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function eT(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let eE=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eC={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eA=r.length;function eM(t,e,i){let{style:n,vars:o,transformOrigin:a}=t,l=!1,u=!1;for(let t in e){let i=e[t];if(s.has(t)){l=!0;continue}if(ts(t)){o[t]=i;continue}{let e=eE(i,U[t]);t.startsWith("origin")?(u=!0,a[t]=e):n[t]=e}}
1if(!e.transform&&(l||i?n.transform=function(t,e,i){let n="",s=!0;for(let o=0;o<eA;o++){let a=r[o],l=t[a];if(void 0===l)continue;let u=!0;if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let t=parseFloat(l);u=a.startsWith("scale")?1===t:0===t}if(!u||i){let t=eE(l,U[a]);if(!u){s=!1;let e=eC[a]||a;n+=`${e}(${t}) `}i&&(e[a]=t)}}return n=n.trim(),i?n=i(e,s?"":n):s&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;n.transformOrigin=`${t} ${e} ${i}`}}let ek={offset:"stroke-dashoffset",array:"stroke-dasharray"},eR={offset:"strokeDashoffset",array:"strokeDasharray"},ej=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function eV(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:o=0,...a},l,u,h){if(eM(t,a,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!==n&&(c.scale=n),void 0!==r&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?ek:eR;t[s.offset]=`${-n}`,t[s.array]=`${e} ${i}`}(c,r,s,o,!1)}let eL=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"]),eD=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eO(t,{style:e,vars:i},n,r){let s,o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}function e_(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let eF={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!b.test(t))return t;else t=parseFloat(t);let i=e_(t,e.target.x),n=e_(t,e.target.y);return`${i}% ${n}%`}},eI=(t,e,i)=>t+(e-t)*i,eB={borderRadius:{...eF,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eF,borderTopRightRadius:eF,borderBottomLeftRadius:eF,borderBottomRightRadius:eF,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=O.parse(t);if(n.length>5)return t;let r=O.createTransformer(t),s=+("number"!=typeof n[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=eI(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};function e$(t,{layout:e,layoutId:i}){return s.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eB[t]||"opacity"===t)}function eN(t,e,i){let n=t.style,r=e?.style,s={};if(!n)return s;for(let e in n)(q(n[e])||r&&q(r[e])||e$(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(s[e]=n[e]);return s}function eU(t,e,i){let n=eN(t,e,i);for(let i in t)(q(t[i])||q(e[i]))&&(n[-1!==r.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class eW extends eS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Y}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(s.has(e)){let t=z(e);return t&&t.default||0}return e=eL.has(e)?e:eT(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eU(t,e,i)}build(t,e,i){eV(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in eO(t,e,void 0,n),e.attrs)t.setAttribute(eL.has(i)?i:eT(i),e.attrs[i])}mount(t){this.isSVGTag=eD(t.tagName),super.mount(t)}}function ez({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function eH(t){return void 0===t||1===t}function eK({scale:t,scaleX:e,scaleY:i}){return!eH(t)||!eH(e)||!eH(i)}function eX(t){return eK(t)||eY(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eY(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function eq(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function eG(t,e=0,i=1,n,r){t.min=eq(t.min,e,i,n,r),t.max=eq(t.max,e,i,n,r)}function eZ(t,{x:e,y:i}){eG(t.x,e.translate,e.scale,e.originPoint),eG(t.y,i.translate,i.scale,i.originPoint)}function eJ(t,e){t.min=t.min+e,t.max=t.max+e}function eQ(t,e,i,n,r=.5){let s=eI(t.min,t.max,r);eG(t,e,i,s,n)}function e0(t,e){eQ(t.x,e.x,e.scaleX,e.scale,e.originX),eQ(t.y,e.y,e.scaleY,e.scale,e.originY)}function e1(t,e){return ez(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}class e2 extends eS{constructor(){super(...arguments),this.type="html",this.renderInstance=eO}readValueFromInstance(t,e){if(s.has(e))return this.projection?.isProjecting?tv(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tx(i,e)})(t,e);{let i=window.getComputedStyle(t),n=(ts(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return e1(t,e)}build(t,e,i){eM(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return eN(t,e,i)}}var e3=t.i(71645);let e5=["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 e4(t){if("string"!=typeof t||t.includes("-"));else if(e5.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var e9=t.i(43476);let e6=(0,e3.createContext)({});t.s(["LayoutGroupContext",()=>e6],31178);let e8=(0,e3.createContext)({strict:!1}),e7=(0,e3.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",()=>e7],37806);let it=(0,e3.createContext)({});function ie(t){return Array.isArray(t)?t.join(" "):t}let ii=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ir(t,e,i){for(let n in e)q(e[n])||e$(n,i)||(t[n]=e[n])}let is=()=>({...ii(),attrs:{}}),io=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 ia(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||io.has(t)}let il=t=>!ia(t);try{tt=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof tt&&(il=t=>t.startsWith("on")?!ia(t):tt(t))}catch{}function iu(t){return q(t)?t.get():t}let ih=(0,e3.createContext)(null);function ic(t){let e=(0,e3.useRef)(null);return null===e.current&&(e.current=t()),e.current}t.s(["PresenceContext",()=>ih],21476),t.s(["useConstant",()=>ic],47414);let id=t=>(e,i)=>{let n=(0,e3.useContext)(it),r=(0,e3.useContext)(ih),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,n,r){return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=iu(s[t]);let{initial:o,animate:a}=t,l=ep(t),u=ef(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!eu(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let n=ex(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;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&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,n,r,t),renderState:e()}})(t,e,n,r);return i?s():ic(s)},ip=id({scrapeMotionValuesFromProps:eN,createRenderState:ii}),im=id({scrapeMotionValuesFromProps:eU,createRenderState:is}),ig="u">typeof window,iy={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"]},iv=!1;function ix(){return!function(){if(iv)return;let t={};for(let e in iy)t[e]={isEnabled:t=>iy[e].some(e=>!!t[e])};eb=t,iv=!0}(),eb}let iw=Symbol.for("motionComponentSymbol"),ib="data-"+eT("framerAppearId"),iP=(0,e3.createContext)({});function iS(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let iT=ig?e3.useLayoutEffect:e3.useEffect;function iE(t,{forwardMotionProps:e=!1,type:i}={},n,r){n&&function(t){let e=ix();for(let i in t)e[i]={...e[i],...t[i]};eb=e}(n);let s=i?"svg"===i:e4(t),o=s?im:ip;function a(i,n){var a;let l,u,h,c={...(0,e3.useContext)(e7),...i,layoutId:function({layoutId:t}){let e=(0,e3.useContext)(e6).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:d}=c,p=function(t){let{initial:e,animate:i}=function(t,e){if(ep(t)){let{initial:e,animate:i}=t;return{initial:!1===e||eh(e)?e:void 0,animate:eh(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e3.useContext)(it));return(0,e3.useMemo)(()=>({initial:e,animate:i}),[ie(e),ie(i)])}(i),f=o(i,d);if(!d&&ig){(0,e3.useContext)(e8).strict;let e=function(t){let{drag:e,layout:i}=ix();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
1(c);l=e.MeasureLayout,p.visualElement=function(t,e,i,n,r,s){let{visualElement:o}=(0,e3.useContext)(it),a=(0,e3.useContext)(e8),l=(0,e3.useContext)(ih),u=(0,e3.useContext)(e7),h=u.reducedMotion,c=u.skipAnimations,d=(0,e3.useRef)(null),p=(0,e3.useRef)(!1);n=n||a.renderer,!d.current&&n&&(d.current=n(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:h,skipAnimations:c,isSVG:s}),p.current&&d.current&&(d.current.manuallyAnimateOnMount=!0));let f=d.current,m=(0,e3.useContext)(iP);f&&!f.projection&&r&&("html"===f.type||"svg"===f.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=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:r,layout:s,alwaysMeasureLayout:!!o||a&&iS(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:u})}(d.current,i,r,m);let g=(0,e3.useRef)(!1);(0,e3.useInsertionEffect)(()=>{f&&g.current&&f.update(i,l)});let y=i[ib],v=(0,e3.useRef)(!!y&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return iT(()=>{p.current=!0,f&&(g.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),v.current&&f.animationState&&f.animationState.animateChanges())}),(0,e3.useEffect)(()=>{f&&(!v.current&&f.animationState&&f.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),v.current=!1),f.enteringChildren=void 0)}),f}(t,f,c,r,e.ProjectionNode,s)}return(0,e9.jsxs)(it.Provider,{value:p,children:[l&&p.visualElement?(0,e9.jsx)(l,{visualElement:p.visualElement,...c}):null,function(t,e,i,{latestValues:n},r,s=!1,o){let a=(o??e4(t)?function(t,e,i,n){let r=(0,e3.useMemo)(()=>{let i=is();return eV(i,e,eD(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};ir(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i,n,r={},s=(i=t.style||{},ir(n={},i,t),Object.assign(n,function({transformTemplate:t},e){return(0,e3.useMemo)(()=>{let i=ii();return eM(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=s,r})(e,n,r,t),l=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(il(r)||!0===i&&ia(r)||!e&&!ia(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,s),u=t!==e3.Fragment?{...l,...a,ref:i}
1:{},{children:h}=e,c=(0,e3.useMemo)(()=>q(h)?h.get():h,[h]);return(0,e3.createElement)(t,{...u,children:c})}(t,i,(a=p.visualElement,u=(0,e3.useRef)(n),(0,e3.useInsertionEffect)(()=>{u.current=n}),h=(0,e3.useRef)(null),(0,e3.useCallback)(t=>{t&&f.onMount?.(t),a&&(t?a.mount(t):a.unmount());let e=u.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(h.current=i)}else h.current?(h.current(),h.current=null):e(t);else e&&(e.current=t)},[a])),f,d,e,s)]})}a.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let l=(0,e3.forwardRef)(a);return l[iw]=t,l}t.s(["useIsomorphicLayoutEffect",()=>iT],74008);class iC{constructor(t){this.isMounted=!1,this.node=t}update(){}}function iA(t,e,i){let n=t.getProps();return ex(n,e,void 0!==i?i:n.custom,t)}function iM(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}function ik(t,e){let i=t?.[e]??t?.default??t;return i!==t?iM(i,t):i}let iR=t=>Array.isArray(t);function ij(t,e){let i=t.getValue("willChange");if(q(i)&&i.add)return i.add(e);if(!i&&tC.WillChange){let i=new tC.WillChange("auto");t.addValue("willChange",i),i.add(e)}}let iV=(t,e)=>i=>e(t(i)),iL=(...t)=>t.reduce(iV);function iD(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 iO(t,e){return i=>i>0?e:t}let i_=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},iF=[y,g,E];function iI(t){let e=iF.find(e=>e.test(t));if(ti(!!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===E&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;r=iD(a,n,t+1/3),s=iD(a,n,t),o=iD(a,n,t-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let iB=(t,e)=>{let i=iI(t),n=iI(e);if(!i||!n)return iO(t,e);let r={...i};return t=>(r.red=i_(i.red,n.red,t),r.green=i_(i.green,n.green,t),r.blue=i_(i.blue,n.blue,t),r.alpha=eI(i.alpha,n.alpha,t),g.transform(r))},i$=new Set(["none","hidden"]);function iN(t,e){return i=>eI(t,e,i)}function iU(t){return"number"==typeof t?iN:"string"==typeof t?ta(t)?iO:C.test(t)?iB:iH:Array.isArray(t)?iW:"object"==typeof t?C.test(t)?iB:iz:iO}function iW(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>iU(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function iz(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=iU(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let iH=(t,e)=>{let i=O.createTransformer(e),n=j(t),r=j(e);if(!(n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length))return ti(!0,`Complex values '${t}' and '${e}' 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"),iO(t,e);if(i$.has(t)&&!r.values.length||i$.has(e)&&!n.values.length)return i$.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return iL(iW(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],o=t.indexes[s][n[s]],a=t.values[o]??0;i[r]=a,n[s]++}return i}(n,r),r.values),i)};function iK(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?eI(t,e,i):iU(t)(t,e)}let iX=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tk.update(e,t),stop:()=>tR(e),now:()=>tj.isProcessing?tj.timestamp:ei.now()}};function iY(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}function iq(t,e,i){let n=Math.max(e-5,0);return en(i-t(n),e-n)}let iG=.01,iZ=2,iJ=.005,iQ=.5;function i0(t,e){return t*Math.sqrt(1-e*e)}let i1=["duration","bounce"],i2=["stiffness","damping","mass"];function i3(t,e){return e.some(e=>void 0!==t[e])}function i5(t=.3,e=.3){let i,n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:r,restDelta:s}=n,a=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],u={done:!1,value:a},{stiffness:h,damping:c,mass:d,duration:p,velocity:f,isResolvedFromDuration:m}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!i3(t,i2)&&i3(t,i1))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*o(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:1,stiffness:n,damping:r}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:n=1}){let r,s;ti(t<=tz(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=o(.05,1,a),t=o(.01,10,t/1e3),a<1?(r=e=>{let n=e*a,r=n*t;return .001-(n-i)/i0(e,a)*Math.exp(-r)},s=e=>{let n=e*a*t,s=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-n),l=i0(Math.pow(e,2),a);return(n*i+i-s)*o*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));
1let l=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,s,5/t);if(t=tz(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(l,2)*n;return{stiffness:e,damping:2*a*Math.sqrt(n*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...n,velocity:-((n.velocity||0)/1e3)}),g=f||0,y=c/(2*Math.sqrt(h*d)),v=l-a,x=Math.sqrt(h/d)/1e3,w=5>Math.abs(v);if(r||(r=w?iG:iZ),s||(s=w?iJ:iQ),y<1){let t=i0(x,y);i=e=>l-Math.exp(-y*x*e)*((g+y*x*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===y)i=t=>l-Math.exp(-x*t)*(v+(g+x*v)*t);else{let t=x*Math.sqrt(y*y-1);i=e=>{let i=Math.exp(-y*x*e),n=Math.min(t*e,300);return l-i*((g+y*x*v)*Math.sinh(n)+t*v*Math.cosh(n))/t}}let b={calculatedDuration:m&&p||null,next:t=>{let e=i(t);if(m)u.done=t>=p;else{let n=0===t?g:0;y<1&&(n=0===t?tz(g):iq(i,t,e));let o=Math.abs(l-e)<=s;u.done=Math.abs(n)<=r&&o}return u.value=u.done?l:e,u},toString:()=>{let t=Math.min(iY(b),2e4),e=t5(e=>b.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return b}function i4({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,p=t[0],f={done:!1,value:p},m=i*e,g=p+m,y=void 0===o?g:o(g);y!==g&&(m=y-p);let v=t=>-m*Math.exp(-t/n),x=t=>y+v(t),w=t=>{let e=v(t),i=x(t);f.done=Math.abs(e)<=u,f.value=f.done?y:i},b=t=>{let e;if(e=f.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;c=t,d=i5({keyframes:[f.value,(i=f.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:iq(x,t,f.value),damping:r,stiffness:s,restDelta:u,restSpeed:h})}};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,w(t),b(t)),void 0!==c&&t>=c)?d.next(t-c):(e||w(t),f)}}}i5.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),r=Math.min(iY(n),2e4);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:r/1e3}}(t,100,i5);return t.ease=e.ease,t.duration=tz(e.duration),t.type="keyframes",t};let i9=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function i6(t,e,i,n){return t===e&&i===n?tE:r=>0===r||1===r?r:i9(function(t,e,i,n,r){let s,o,a=0;do(s=i9(o=e+(i-e)/2,n,r)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12)return o}(r,0,1,t,i),e,n)}let i8=i6(.42,0,1,1),i7=i6(0,0,.58,1),nt=i6(.42,0,.58,1),ne=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,ni=t=>e=>1-t(1-e),nn=i6(.33,1.53,.69,.99),nr=ni(nn),ns=ne(nr),no=t=>(t*=2)<1?.5*nr(t):.5*(2-Math.pow(2,-10*(t-1))),na=t=>1-Math.sin(Math.acos(t)),nl=ni(na),nu=ne(na),nh={linear:tE,easeIn:i8,easeInOut:nt,easeOut:i7,circIn:na,circInOut:nu,circOut:nl,backIn:nr,backInOut:ns,backOut:nn,anticipate:no},nc=t=>{if(t2(t)){tn(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return i6(e,i,n,r)}return"string"==typeof t?(tn(void 0!==nh[t],`Invalid easing type '${t}'`,"invalid-easing-type"),nh[t]):t},nd=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n};function np(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let s=t.length;if(tn(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let l=function(t,e,i){let n=[],r=i||tC.mix||iK,s=t.length-1;for(let i=0;i<s;i++){let s=r(t[i],t[i+1]);e&&(s=iL(Array.isArray(e)?e[i]||tE:e,s)),n.push(s)}return n}(e,n,r),u=l.length,h=i=>{if(a&&i<t[0])return e[0];let n=0;if(u>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=nd(t[n],t[n+1],i);return l[n](r)};return i?e=>h(o(t[0],t[s-1],e)):h}function nf(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=nd(0,e,n);t.push(eI(i,1,r))}}(e,t.length-1),e}function nm({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(nc):nc(n),o={done:!1,value:e[0]},a=np((r=i&&i.length===e.length?i:nf(e),r.map(e=>e*t)),e,{ease:Array.isArray(s)?s:e.map(()=>s||nt).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=a(e),o.done=e>=t,o)}}t.s(["progress",()=>nd],83920),t.s(["interpolate",()=>np],44230),t.s(["defaultOffset",()=>nf],15923);let ng={decay:i4,inertia:i4,tween:nm,keyframes:nm,spring:i5};function ny(t){"string"==typeof t.type&&(t.type=ng[t.type])}let nv=t=>t/100;class nx extends t0{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==ei.now()&&this.tick(ei.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},t1.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;
1ny(t);let{type:e=nm,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:o}=t,a=e||nm;a!==nm&&"number"!=typeof o[0]&&(this.mixKeyframes=iL(nv,iK(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===r&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=iY(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,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{generator:i,totalDuration:n,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:h,repeat:c,repeatType:d,repeatDelay:p,type:f,onUpdate:m,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let y=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>n;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let x=this.currentTime,w=i;if(c){let t=Math.min(this.currentTime,n)/a,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/a)):"mirror"===d&&(w=s)),x=o(0,1,i)*a}let b=v?{done:!1,value:h[0]}:w.next(x);r&&(b.value=r(b.value));let{done:P}=b;v||null===l||(P=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return S&&f!==i4&&(b.value=tQ(h,this.options,g,this.speed)),m&&m(b.value),S&&this.finish(),b}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=tz(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?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(ei.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=iX,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(ei.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,t1.mainThread--}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 nw={anticipate:no,backInOut:ns,circInOut:nu};class nb extends t8{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in nw&&(t.ease=nw[t.ease])}(t),ny(t),super(t),void 0!==t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new nx({...s,autoplay:!1}),l=Math.max(10,ei.now()-this.startTime),u=o(0,10,l-10);e.setWithVelocity(a.sample(Math.max(0,l-u)).value,a.sample(l).value,u),a.stop()}}let nP=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(O.test(t)||"0"===t)&&!t.startsWith("url("));function nS(t){t.duration=0,t.type="keyframes"}let nT=new Set(["opacity","clipPath","filter","transform"]),nE=tY(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));
1class nC extends t0{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ei.now();const c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:a,motionValue:l,element:u,...h},d=u?.KeyframeResolver||tB;this.keyframeResolver=new d(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:r,type:s,velocity:o,delay:a,isHandoff:l,onUpdate:u}=i;this.resolvedAt=ei.now(),!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=nP(r,e),a=nP(s,e);return ti(o===a,`You are trying to animate ${e} from "${r}" to "${s}". "${o?s:r}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(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||t6(i))&&n)}(t,r,s,o)&&((tC.instantAnimations||!a)&&u?.(tQ(t,i,e)),t[0]=t[t.length-1],nS(i),i.repeat=0);let h={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},c=!l&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:a,transformTemplate:l}=e.owner.getProps();return nE()&&i&&nT.has(i)&&("transform"!==i||!l)&&!a&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(h),d=h.motionValue?.owner?.current,p=c?new nb({...h,element:d}):new nx(h);p.finished.then(()=>{this.notifyFinished()}).catch(tE),this.pendingTimeline&&(this.stopTimeline=p.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=p}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(),t_=!0,tI(),tF(),t_=!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 nA={type:"spring",stiffness:500,damping:25,restSpeed:10},nM={type:"keyframes",duration:.8},nk={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nR=t=>null!==t,nj=(t,e,i,n={},r,o)=>a=>{let l=ik(n,t)||{},u=l.delay||n.delay||0,{elapsed:h=0}=n;h-=tz(u);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:o?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(l)&&Object.assign(c,((t,{keyframes:e})=>e.length>2?nM:s.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:nA:nk)(t,c)),c.duration&&(c.duration=tz(c.duration)),c.repeatDelay&&(c.repeatDelay=tz(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(nS(c),0===c.delay&&(d=!0)),(tC.instantAnimations||tC.skipAnimations||r?.shouldSkipAnimations)&&(d=!0,nS(c),c.delay=0),c.allowFlatten=!l.type&&!l.ease,d&&!o&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(nR),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return r[s]}(c.keyframes,l);if(void 0!==t)return void tk.update(()=>{c.onUpdate(t),c.onComplete()})}return l.isSync?new nx(c):new nC(c)};function nV(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s,transitionEnd:o,...a}=e,l=t.getDefaultTransition();s=s?iM(s,l):l;let u=s?.reduceMotion;n&&(s=n);let h=[],c=r&&t.animationState&&t.animationState.getState()[r];for(let e in a){let n=t.getValue(e,t.latestValues[e]??null),r=a[e];if(void 0===r||c&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(c,e))continue;let o={delay:i,...ik(s||{},e)},l=n.get();if(void 0!==l&&!n.isAnimating&&!Array.isArray(r)&&r===l&&!o.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let i=t.props[ib];if(i){let t=window.MotionHandoffAnimation(i,e,tk);null!==t&&(o.startTime=t,d=!0)}}ij(t,e);let p=u??t.shouldReduceMotion;n.start(nj(e,n,r,p&&G.has(e)?{type:!1}:o,t,d));let f=n.animation;f&&h.push(f)}if(o){let e=()=>tk.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=iA(t,e)||{};for(let e in r={...r,...i}){var s;let i=iR(s=r[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,eo(i))}}(t,o)});h.length?Promise.all(h).then(e):e()}return h}
1function nL(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(s,o):1===r?s*n:a-s*n}function nD(t,e,i={}){let n=iA(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>Promise.all(nV(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;return function(t,e,i=0,n=0,r=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(nD(l,e,{...o,delay:i+("function"==typeof n?0:n)+nL(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,s,o,a,i)}:()=>Promise.resolve(),{when:a}=r;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}let nO=ed.length;function n_(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let nF=[...ec].reverse(),nI=ec.length;function nB(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function n$(){return{animate:nB(!0),whileInView:nB(),whileHover:nB(),whileTap:nB(),whileDrag:nB(),whileFocus:nB(),exit:nB()}}let nN=0;function nU(t){return[t("x"),t("y")]}let nW=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),nz=new Set(["INPUT","SELECT","TEXTAREA"]);function nH(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let nK={x:!1,y:!1};function nX(t){return t.max-t.min}function nY(t,e,i,n=.5){t.origin=n,t.originPoint=eI(e.min,e.max,t.origin),t.scale=nX(i)/nX(e),t.translate=eI(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 nq(t,e,i,n){nY(t.x,e.x,i.x,n?n.originX:void 0),nY(t.y,e.y,i.y,n?n.originY:void 0)}function nG(t,e,i){t.min=i.min+e.min,t.max=t.min+nX(e)}function nZ(t,e,i){t.min=e.min-i.min,t.max=t.min+nX(e)}function nJ(t,e,i){nZ(t.x,e.x,i.x),nZ(t.y,e.y,i.y)}function nQ(t){return"object"==typeof t&&null!==t}function n0(t){return nQ(t)&&"ownerSVGElement"in t}function n1(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let r=i?.[t]??n.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}t.s(["resolveElements",()=>n1],49652);let n2=new WeakMap,n3=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:n0(n)&&"getBBox"in n?n.getBBox()[e]:n[i],n5=n3("inline","width","offsetWidth"),n4=n3("block","height","offsetHeight");function n9({target:t,borderBoxSize:e}){n2.get(t)?.forEach(i=>{i(t,{get width(){return n5(t,e)},get height(){return n4(t,e)}})})}function n6(t){t.forEach(n9)}let n8=new Set;function n7(t,e){let r;return"function"==typeof t?(n8.add(t),n||(n=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};n8.forEach(e=>e(t))},window.addEventListener("resize",n)),()=>{n8.delete(t),n8.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(n6)),(r=n1(t)).forEach(t=>{let n=n2.get(t);n||(n=new Set,n2.set(t,n)),n.add(e),i?.observe(t)}),()=>{r.forEach(t=>{let n=n2.get(t);n?.delete(e),n?.size||i?.unobserve(t)})})}t.s(["resize",()=>n7],61327);let rt=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function re(t){return{point:{x:t.pageX,y:t.pageY}}}function ri(t,e,i,n){return nH(t,e,t=>rt(t)&&i(t,re(t)),n)}let rn=({current:t})=>t?t.ownerDocument.defaultView:null,rr=(t,e)=>Math.abs(t-e),rs=new Set(["auto","scroll"]);class ro{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=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;let i=ru(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(rr(t.x,e.x)**2+rr(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=tj;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=ra(e,this.transformPagePoint),tk.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=ru("pointercancel"===t.type?this.lastMoveEventInfo:ra(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!rt(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;const a=ra(re(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=tj;this.history=[{...l,timestamp:u}];const{onSessionStart:h}=e;h&&h(t,ru(a,this.history)),this.removeListeners=iL(ri(this.contextWindow,"pointermove",this.handlePointerMove),ri(this.contextWindow,"pointerup",this.handlePointerUp),ri(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(rs.has(t.overflowX)||rs.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,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:n.x-e.x,y:n.y-e.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,n),tk.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tR(this.updatePoint)}}function ra(t,e){return e?{point:e(t.point)}:t}function rl(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ru({point:t},e){return{point:t,delta:rl(t,rh(e)),offset:rl(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=rh(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>tz(.1)));)i--;if(!n)return{x:0,y:0};n===t[0]&&t.length>2&&r.timestamp-n.timestamp>2*tz(.1)&&(n=t[1]);let s=(r.timestamp-n.timestamp)/1e3;if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s}
1;return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,.1)}}function rh(t){return t[t.length-1]}function rc(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 rd(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function rp(t,e,i){return{min:rf(t,e),max:rf(t,i)}}function rf(t,e){return"number"==typeof t?t:t[e]||0}let rm=new WeakMap;class rg{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=Y(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=t=>{e&&this.snapToCursor(re(t).point),this.stopAnimation()},s=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(nK[t])return null;else return nK[t]=!0,()=>{nK[t]=!1};return nK.x||nK.y?null:(nK.x=nK.y=!0,()=>{nK.x=nK.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),nU(t=>{let e=this.getAxisMotionValue(t).get()||0;if(w.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=nX(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&tk.update(()=>r(t,e),!1,!0),ij(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&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}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&tk.update(()=>s(t,e),!1,!0)},a=(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 ro(t,{onSessionStart:r,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:rn(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&tk.postRender(()=>o(i,n))}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:n}=this.getProps();if(!i||!rv(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?eI(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?eI(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}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,n=this.constraints;t&&iS(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:rc(t.x,i,r),y:rc(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:rp(t,"left","right"),y:rp(t,"top","bottom")}}(e),n!==this.constraints&&!iS(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&nU(t=>{var e,n;let r;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],n=this.constraints[t],r={},void 0!==n.min&&(r.min=n.min-e.min),void 0!==n.max&&(r.max=n.max-e.min),r))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!iS(e))return!1;let n=e.current;tn(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;
1let s=function(t,e,i){let n=e1(t,i),{scroll:r}=e;return r&&(eJ(n.x,r.offset.x),eJ(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o=(t=r.layout.layoutBox,{x:rd(t.x,s.x),y:rd(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=ez(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(nU(o=>{if(!rv(o,e,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return ij(this.visualElement,t),i.start(nj(t,i,0,e,this.visualElement,!1))}stopAnimation(){nU(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){nU(e=>{let{drag:i}=this.getProps();if(!rv(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e],o=r.get()||0;r.set(t[e]-eI(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iS(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nU(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,r;let s,a,l,u=e.get();n[t]=(i={min:u,max:u},r=this.constraints[t],s=.5,a=nX(i),(l=nX(r))>a?s=nd(r.min,r.max-a,i.min):a>l&&(s=nd(i.min,i.max-l,r.min)),o(0,1,s))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),nU(e=>{if(!rv(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set(eI(r,s,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;rm.set(this.visualElement,this);let e=this.visualElement.current,i=ri(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}=this.getProps(),r=t.target,s=r!==e&&(nz.has(r.tagName)||!0===r.isContentEditable);i&&n&&!s&&this.start(t)}),n=()=>{var i,n,r;let s,o,{dragConstraints:a}=this.getProps();iS(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,n=a.current,s=n7(i,ry(r=()=>this.scalePositionWithinConstraints())),o=n7(n,ry(r)),t=()=>{s(),o()}))},{projection:r}=this.visualElement,s=r.addEventListener("measure",n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),tk.read(n);let o=nH(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(nU(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),i(),s(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function ry(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function rv(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let rx=t=>(e,i)=>{t&&tk.update(()=>t(e,i),!1,!0)},rw={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var rb=e3;function rP(t=!0){let e=(0,e3.useContext)(ih);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:n,register:r}=e,s=(0,e3.useId)();(0,e3.useEffect)(()=>{if(t)return r(s)},[t]);let o=(0,e3.useCallback)(()=>t&&n&&n(s),[s,n,t]);return!i&&n?[!1,o]:[!0]}t.s(["usePresence",()=>rP],64978);let rS=!1;class rT extends rb.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),rS&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),rw.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,t.layoutDependency!==e&&s.setOptions({...s.options,layoutDependency:e}),rS=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||tk.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),et.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;rS=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function rE(t){let[e,i]=rP(),n=(0,rb.useContext)(e6);return(0,e9.jsx)(rT,{...t,layoutGroup:n,switchLayoutGroup:(0,rb.useContext)(iP),isPresent:e,safeToRemove:i})}let rC=["TopLeft","TopRight","BottomLeft","BottomRight"],rA=rC.length,rM=t=>"string"==typeof t?parseFloat(t):t,rk=t=>"number"==typeof t||b.test(t);function rR(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rj=rL(0,.5,nl),rV=rL(.5,.95,tE);function rL(t,e,i){return n=>n<t?0:n>e?1:i(nd(t,e,n))}function rD(t,e){t.min=e.min,t.max=e.max}function rO(t,e){rD(t.x,e.x),rD(t.y,e.y)}function r_(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}
1function rF(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function rI(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(w.test(e)&&(e=parseFloat(e),e=eI(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=eI(s.min,s.max,n);t===s&&(a-=e),t.min=rF(t.min,e,i,a,r),t.max=rF(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let rB=["x","scaleX","originX"],r$=["y","scaleY","originY"];function rN(t,e,i,n){rI(t.x,e,rB,i?i.x:void 0,n?n.x:void 0),rI(t.y,e,r$,i?i.y:void 0,n?n.y:void 0)}function rU(t){return 0===t.translate&&1===t.scale}function rW(t){return rU(t.x)&&rU(t.y)}function rz(t,e){return t.min===e.min&&t.max===e.max}function rH(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function rK(t,e){return rH(t.x,e.x)&&rH(t.y,e.y)}function rX(t){return nX(t.x)/nX(t.y)}function rY(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class rq{constructor(){this.members=[]}add(t){tH(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 n=i.instance;n&&!1===n.isConnected&&!1!==i.isPresent&&!i.snapshot&&tK(this.members,i)}t.scheduleRender()}remove(t){if(tK(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)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t],n=i.instance;if(!1!==i.isPresent&&(!n||!1!==n.isConnected)){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender();let n=i.options.layoutDependency,r=t.options.layoutDependency;if(void 0===n||void 0===r||n!==r){let n=i.instance;!(n&&!1===n.isConnected&&!i.snapshot)&&(t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0))}let{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rG=(t,e)=>t.depth-e.depth;class rZ{constructor(){this.children=[],this.isDirty=!1}add(t){tH(this.children,t),this.isDirty=!0}remove(t){tK(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rG),this.isDirty=!1,this.children.forEach(t)}}let rJ=["","X","Y","Z"],rQ=0;function r0(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function r1({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=rQ++,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(r5),this.nodes.forEach(se),this.nodes.forEach(si),this.nodes.forEach(r4)},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 rZ)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tX),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=n0(e)&&!(n0(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,r=()=>this.root.updateBlockedByResize=!1;tk.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==n){let e,s;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=ei.now(),s=({timestamp:t})=>{let i=t-e;i>=250&&(tR(s),r(i-250))},tk.setup(s,!0),i=()=>
1tR(s),rw.hasAnimatedSinceResize&&(rw.hasAnimatedSinceResize=!1,this.nodes.forEach(st))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||sl,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!rK(this.targetLayout,n),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(s,"layout"),onPlay:o,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||st(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}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(),tR(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(sn),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 n=i.props[ib];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tk,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(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,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(r6);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(r8);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(r7),this.nodes.forEach(r2),this.nodes.forEach(r3)):this.nodes.forEach(r8),this.clearAllSnapshots();let t=ei.now();tj.delta=o(0,1e3/60,t-tj.timestamp),tj.timestamp=t,tj.isProcessing=!0,tV.update.process(tj),tV.preRender.process(tj),tV.render.process(tj),tj.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,et.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(r9),this.sharedNodes.forEach(sr)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tk.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tk.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nX(this.snapshot.measuredBox.x)||nX(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=Y(),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=n(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(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!rW(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||eX(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),sc((e=n).x),sc(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return Y();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(sp))){let{scroll:t}=this.root;t&&(eJ(e.x,t.offset.x),eJ(e.y,t.offset.y))}return e}removeElementScroll(t){let e=Y();if(rO(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&rO(e,t),eJ(e.x,r.offset.x),eJ(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let i=Y();rO(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&e0(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),eX(n.latestValues)&&e0(i,n.latestValues)}return eX(this.latestValues)&&e0(i,this.latestValues),i}removeTransform(t){let e=Y();rO(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!eX(i.latestValues))continue;eK(i.latestValues)&&i.updateSnapshot();let n=Y();rO(n,i.measurePageBox()),rN(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return eX(this.latestValues)&&rN(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:n,layoutId:r}=this.options;if(!this.layout||!(n||r))return;this.resolvedRelativeTargetAt=tj.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=Y(),this.targetWithTransforms=Y()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,nG(o.x,a.x,l.x),nG(o.y,a.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rO(this.target,this.layout.layoutBox),eZ(this.target,this.targetDelta)):rO(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||eK(this.parent.latestValues)||eY(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=Y(),this.relativeTargetOrigin=Y(),nJ(this.relativeTargetOrigin,e,i),rO(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:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;rO(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,n=!1){let r,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let{visualElement:o}=r.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&e0(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,eZ(t,s)),n&&eX(r.latestValues)&&e0(t,r.latestValues))}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=Y());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(r_(this.prevProjectionDelta.x,this.projectionDelta.x),r_(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nq(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&rY(this.projectionDelta.x,this.prevProjectionDelta.x)&&rY(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}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=K(),this.projectionDelta=K(),this.projectionDeltaWithTransform=K()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=K();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=Y(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,c=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(sa));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(ss(o.x,t.x,n),ss(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f,m,g;nJ(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,m=a,g=n,so(p.x,f.x,m.x,g),so(p.y,f.y,m.y,g),i&&(u=this.relativeTarget,d=i,rz(u.x,d.x)&&rz(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=Y()),rO(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=eI(0,i.opacity??1,rj(n)),t.opacityExit=eI(e.opacity??1,0,rV(n))):s&&(t.opacity=eI(e.opacity??1,i.opacity??1,n));for(let r=0;r<rA;r++){let s=`border${rC[r]}Radius`,o=rR(e,s),a=rR(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||rk(o)===rk(a)?(t[s]=Math.max(eI(rM(o),rM(a),n),0),(w.test(a)||w.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=eI(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tR(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tk.update(()=>{var e,i,n;let r;rw.hasAnimatedSinceResize=!0,t1.layout++,this.motionValue||(this.motionValue=eo(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],n={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{t1.layout--},onComplete:()=>{t1.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(r=q(e)?e:eo(e)).start(nj("",r,i,n)),r.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:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&sd(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||Y();let e=nX(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=nX(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}rO(e,i),e0(e,r),nq(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rq),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 n=this.getStack();n&&n.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 n={};i.z&&r0("z",t,n,this.animationValues);for(let e=0;e<rJ.length;e++)r0(`rotate${rJ[e]}`,t,n,this.animationValues),r0(`skew${rJ[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[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=iu(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=iu(e?.pointerEvents)||""),this.hasProjected&&!eX(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((r||s||o)&&(n=`translate3d(${r}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:o,skewY:a}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),o&&(n+=`skewX(${o}deg) `),a&&(n+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,eB){if(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=eB[e],l="none"===s?r[e]:i(r[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?iu(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(r6),this.root.sharedNodes.clear()}}}function r2(t){t.updateLayout()}function r3(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;"size"===r?nU(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=nX(n);n.min=i[t].min,n.max=n.min+r}):sd(r,e.layoutBox,i)&&nU(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=nX(i[n]);r.max=r.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=K();nq(o,i,e.layoutBox);let a=K();s?nq(a,t.applyTransform(n,!0),e.measuredBox):nq(a,i,e.layoutBox);let l=!rW(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=Y();nJ(o,e.layoutBox,r.layoutBox);let a=Y();nJ(a,i,s.layoutBox),rK(o,a)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=o,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function r5(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function r4(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function r9(t){t.clearSnapshot()}function r6(t){t.clearMeasurements()}function r8(t){t.isLayoutDirty=!1}function r7(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function st(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function se(t){t.resolveTargetDelta()}function si(t){t.calcProjection()}function sn(t){t.resetSkewAndRotation()}function sr(t){t.removeLeadSnapshot()}function ss(t,e,i){t.translate=eI(e.translate,0,i),t.scale=eI(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function so(t,e,i,n){t.min=eI(e.min,i.min,n),t.max=eI(e.max,i.max,n)}function sa(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let sl={duration:.45,ease:[.4,0,.1,1]},su=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),sh=su("applewebkit/")&&!su("chrome/")?Math.round:tE;function sc(t){t.min=sh(t.min),t.max=sh(t.max)}function sd(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(rX(e)-rX(i)))}function sp(t){return t!==t.root&&t.scroll?.wasRoot}let sf=r1({attachResizeListener:(t,e)=>nH(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),sm={current:void 0},sg=r1({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!sm.current){let t=new sf({});t.mount(window),t.setOptions({layoutScroll:!0}),sm.current=t}return sm.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function sy(t,e){let i=n1(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function sv(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&tk.postRender(()=>r(e,re(e)))}function sx(t){return nQ(t)&&"offsetHeight"in t}t.s(["isHTMLElement",()=>sx],72846);let sw=(t,e)=>!!e&&(t===e||sw(t,e.parentElement)),sb=new WeakSet;function sP(t){return e=>{"Enter"===e.key&&t(e)}}function sS(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function sT(t){return rt(t)&&!(nK.x||nK.y)}let sE=new WeakSet;function sC(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&tk.postRender(()=>r(e,re(e)))}let sA=new WeakMap,sM=new WeakMap,sk=t=>{let e=sA.get(t.target);e&&e(t)},sR=t=>{t.forEach(sk)},sj={some:0,all:1},sV=function(t,e){if("u"<typeof Proxy)return iE;let i=new Map,n=(i,n)=>iE(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,iE(s,void 0,t,e)),i.get(s))})}({animation:{Feature:class extends iC{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 n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>nD(t,e,i)));else if("string"==typeof e)n=nD(t,e,i);else{let r="function"==typeof e?iA(t,e,i.custom):e;n=Promise.all(nV(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=n$(),n=!0,r=e=>(i,n)=>{let r=iA(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function s(s){let{props:o}=t,a=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<nO;t++){let n=ed[t],r=e.props[n];(eh(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},l=[],u=new Set,h={},c=1/0;for(let e=0;e<nI;e++){var d,p;let f=nF[e],m=i[f],g=void 0!==o[f]?o[f]:a[f],y=eh(g),v=f===s?m.isActive:null;!1===v&&(c=e);let x=g===a[f]&&g!==o[f]&&y;if(x&&n&&t.manuallyAnimateOnMount&&(x=!1),m.protectedKeys={...h},!m.isActive&&null===v||!g&&!m.prevProp||eu(g)||"boolean"==typeof g)continue;if("exit"===f&&m.isActive&&!0!==v){m.prevResolvedValues&&(h={...h,...m.prevResolvedValues});continue}let w=(d=m.prevProp,"string"==typeof(p=g)?p!==d:!!Array.isArray(p)&&!n_(p,d)),b=w||f===s&&m.isActive&&!x&&y||e>c&&y,P=!1,S=Array.isArray(g)?g:[g],T=S.reduce(r(f),{});!1===v&&(T={});let{prevResolvedValues:E={}}=m,C={...E,...T},A=e=>{b=!0,u.has(e)&&(P=!0,u.delete(e)),m.needsAnimating[e]=!0;let i=t.getValue(e);
1i&&(i.liveStyle=!1)};for(let t in C){let e=T[t],i=E[t];if(!h.hasOwnProperty(t))(iR(e)&&iR(i)?n_(e,i):e===i)?void 0!==e&&u.has(t)?A(t):m.protectedKeys[t]=!0:null!=e?A(t):u.add(t)}m.prevProp=g,m.prevResolvedValues=T,m.isActive&&(h={...h,...T}),n&&t.blockInitialAnimation&&(b=!1);let M=x&&w,k=!M||P;b&&k&&l.push(...S.map(e=>{let i={type:f};if("string"==typeof e&&n&&!M&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=iA(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=nL(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let i=iA(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),l.push({animation:e})}let f=!!l.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,f?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=s(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=n$()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();eu(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 iC{constructor(){super(...arguments),this.id=nN++}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;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{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 iC{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:o}=i,a={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof s?s:sj[s]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=e?i:n;r&&r(t)};return t=this.node.current,e=function({root:t,...e}){let i=t||document;sM.has(i)||sM.set(i,{});let n=sM.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(sR,{root:t,...e})),n[r]}(a),sA.set(t,l),e.observe(t),()=>{sA.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(){}}},tap:{Feature:class extends iC{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[n,r,s]=sy(t,i),o=t=>{let n=t.currentTarget;if(!sT(t)||sE.has(t))return;sb.add(n),i.stopPropagation&&sE.add(t);let s=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),sb.has(n)&&sb.delete(n),sT(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,n===window||n===document||i.useGlobalTarget||sw(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,r),sx(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=sP(()=>{if(sb.has(i))return;sS(i,"down");let t=sP(()=>{sS(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>sS(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),nW.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(sC(this.node,e,"Start"),(t,{success:e})=>sC(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends iC{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=iL(nH(this.node.current,"focus",()=>this.onFocus()),nH(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends iC{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=sy(t,i);return n.forEach(t=>{let i,n=!1,s=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(n){s=!0;return}o(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||nK.x||nK.y)return;s=!1;let o=e(t,n);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,r))},r),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",a,r)},r)}),s}(t,(t,e)=>(sv(this.node,e,"Start"),t=>sv(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends iC{constructor(){super(...arguments),this.removePointerDownListener=tE}onPointerDown(t){this.session=new ro(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:rn(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:rx(t),onStart:rx(e),onMove:rx(i),onEnd:(t,e)=>{delete this.session,n&&tk.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=ri(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 iC{constructor(t){super(t),this.removeGroupControls=tE,this.removeListeners=tE,this.controls=new rg(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tE}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:sg,MeasureLayout:rE},layout:{ProjectionNode:sg,MeasureLayout:rE}},(t,e)=>e.isSVG??e4(t)?new eW(e):new e2(e,{allowProjection:t!==e3.Fragment}));t.s(["motion",()=>sV],46932)},88143,(t,e,i)=>{"use strict";function n({widthInt:t,heightInt:e,blurWidth:i,blurHeight:n,blurDataURL:r,objectFit:s}){let o=i?40*i:t,a=n?40*n:e,l=o&&a?`viewBox='0 0 ${o} ${a}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${l}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3Cfe
1ColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${l?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${r}'/%3E%3C/svg%3E`}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},87690,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return s},imageConfigDefault:function(){return o}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1}},8927,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImgProps",{enumerable:!0,get:function(){return u}}),t.r(33525);let n=t.r(43369),r=t.r(88143),s=t.r(87690),o=["-moz-initial","fill","none","scale-down",void 0];function a(t){return void 0!==t.default}function l(t){return void 0===t?t:"number"==typeof t?Number.isFinite(t)?t:NaN:"string"==typeof t&&/^[0-9]+$/.test(t)?parseInt(t,10):NaN}function u({src:t,sizes:e,unoptimized:i=!1,priority:u=!1,preload:h=!1,loading:c,className:d,quality:p,width:f,height:m,fill:g=!1,style:y,overrideSrc:v,onLoad:x,onLoadingComplete:w,placeholder:b="empty",blurDataURL:P,fetchPriority:S,decoding:T="async",layout:E,objectFit:C,objectPosition:A,lazyBoundary:M,lazyRoot:k,...R},j){var V;let L,D,O,{imgConf:_,showAltText:F,blurComplete:I,defaultLoader:B}=j,$=_||s.imageConfigDefault;if("allSizes"in $)L=$;else{let t=[...$.deviceSizes,...$.imageSizes].sort((t,e)=>t-e),e=$.deviceSizes.sort((t,e)=>t-e),i=$.qualities?.sort((t,e)=>t-e);L={...$,allSizes:t,deviceSizes:e,qualities:i}}if(void 0===B)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let N=R.loader||B;delete R.loader,delete R.srcSet;let U="__next_img_default"in N;if(U){if("custom"===L.loader)throw Object.defineProperty(Error(`Image with src "${t}" is missing "loader" prop. 2Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let t=N;N=e=>{let{config:i,...n}=e;return t(n)}}if(E){"fill"===E&&(g=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[E];t&&(y={...y,...t});let i={responsive:"100vw",fill:"100vw"}[E];i&&!e&&(e=i)}let W="",z=l(f),H=l(m);if((V=t)&&"object"==typeof V&&(a(V)||void 0!==V.src)){let e=a(t)?t.default:t;if(!e.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(e)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(e)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(D=e.blurWidth,O=e.blurHeight,P=P||e.blurDataURL,W=e.src,!g)if(z||H){if(z&&!H){let t=z/e.width;H=Math.round(e.height*t)}else if(!z&&H){let t=H/e.height;z=Math.round(e.width*t)}}else z=e.width,H=e.height}let K=!u&&!h&&("lazy"===c||void 0===c);(!(t="string"==typeof t?t:W)||t.startsWith("data:")||t.startsWith("blob:"))&&(i=!0,K=!1),L.unoptimized&&(i=!0),U&&
2!L.dangerouslyAllowSVG&&t.split("?",1)[0].endsWith(".svg")&&(i=!0);let X=l(p),Y=Object.assign(g?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:C,objectPosition:A}:{},F?{}:{color:"transparent"},y),q=I||"empty"===b?null:"blur"===b?`url("data:image/svg+xml;charset=utf-8,${(0,r.getImageBlurSvg)({widthInt:z,heightInt:H,blurWidth:D,blurHeight:O,blurDataURL:P||"",objectFit:Y.objectFit})}")`:`url("${b}")`,G=o.includes(Y.objectFit)?"fill"===Y.objectFit?"100% 100%":"cover":Y.objectFit,Z=q?{backgroundSize:G,backgroundPosition:Y.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:q}:{},J=function({config:t,src:e,unoptimized:i,width:r,quality:s,sizes:o,loader:a}){if(i){let t=(0,n.getDeploymentId)();if(e.startsWith("/")&&!e.startsWith("//")&&t){let i=e.includes("?")?"&":"?";e=`${e}${i}dpl=${t}`}return{src:e,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:t,allSizes:e},i,n){if(n){let i=/(^|\s)(1?\d?\d)vw/g,r=[];for(let t;t=i.exec(n);)r.push(parseInt(t[2]));if(r.length){let i=.01*Math.min(...r);return{widths:e.filter(e=>e>=t[0]*i),kind:"w"}}return{widths:e,kind:"w"}}return"number"!=typeof i?{widths:t,kind:"w"}:{widths:[...new Set([i,2*i].map(t=>e.find(e=>e>=t)||e[e.length-1]))],kind:"x"}}(t,r,o),h=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((i,n)=>`${a({config:t,src:e,quality:s,width:i})} ${"w"===u?i:n+1}${u}`).join(", "),src:a({config:t,src:e,quality:s,width:l[h]})}}({config:L,src:t,unoptimized:i,width:z,quality:X,sizes:e,loader:N}),Q=K?"lazy":c;return{props:{...R,loading:Q,fetchPriority:S,width:z,height:H,decoding:T,className:d,style:{...Y,...Z},sizes:J.sizes,srcSet:J.srcSet,src:v||J.src},meta:{unoptimized:i,preload:h||u,placeholder:b,fill:g}}}},98879,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return a}});let n=t.r(71645),r="u"<typeof window,s=r?()=>{}:n.useLayoutEffect,o=r?()=>{}:n.useEffect;function a(t){let{headManager:e,reduceComponentsToState:i}=t;function a(){if(e&&e.mountedInstances){let t=n.Children.toArray(Array.from(e.mountedInstances).filter(Boolean));e.updateHead(i(t))}}return r&&(e?.mountedInstances?.add(t.children),a()),s(()=>(e?.mountedInstances?.add(t.children),()=>{e?.mountedInstances?.delete(t.children)})),s(()=>(e&&(e._pendingUpdate=a),()=>{e&&(e._pendingUpdate=a)})),o(()=>(e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null),()=>{e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null)})),null}},25633,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return m},defaultHead:function(){return c}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=t.r(55682),o=t.r(90809),a=t.r(43476),l=o._(t.r(71645)),u=s._(t.r(98879)),h=t.r(42732);function c(){return[(0,a.jsx)("meta",{charSet:"utf-8"},"charset"),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function d(t,e){return"string"==typeof e||"number"==typeof e?t:e.type===l.default.Fragment?t.concat(l.default.Children.toArray(e.props.children).reduce((t,e)=>"string"==typeof e||"number"==typeof e?t:t.concat(e),[])):t.concat(e)}t.r(33525);let p=["name","httpEquiv","charSet","itemProp"];function f(t){let e,i,n,r;return t.reduce(d,[]).reverse().concat(c().reverse()).filter((e=new Set,i=new Set,n=new Set,r={},t=>{let s=!0,o=!1;if(t.key&&"number"!=typeof t.key&&t.key.indexOf("$")>0){o=!0;let i=t.key.slice(t.key.indexOf("$")+1);e.has(i)?s=!1:e.add(i)}switch(t.type){case"title":case"base":i.has(t.type)?s=!1:i.add(t.type);break;case"meta":for(let e=0,i=p.length;e<i;e++){let i=p[e];if(t.props.hasOwnProperty(i))if("charSet"===i)n.has(i)?s=!1:n.add(i);else{let e=t.props[i],n=r[i]||new Set;("name"!==i||!o)&&n.has(e)?s=!1:(n.add(e),r[i]=n)}}}return s})).reverse().map((t,e)=>{let i=t.key||e;return l.default.cloneElement(t,{key:i})})}let m=function({children:t}){let e=(0,l.useContext)(h.HeadManagerContext);return(0,a.jsx)(u.default,{reduceComponentsToState:f,headManager:e,children:t})};("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
2dule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},18556,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let n=t.r(55682)._(t.r(71645)),r=t.r(87690),s=n.default.createContext(r.imageConfigDefault)},65856,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"RouterContext",{enumerable:!0,get:function(){return n}});let n=t.r(55682)._(t.r(71645)).default.createContext(null)},70965,(t,e,i)=>{"use strict";function n(t,e){let i=t||75;return e?.qualities?.length?e.qualities.reduce((t,e)=>Math.abs(e-i)<Math.abs(t-i)?e:t,0):i}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"findClosestQuality",{enumerable:!0,get:function(){return n}})},1948,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return o}});let n=t.r(70965),r=t.r(43369);function s({config:t,src:e,width:i,quality:s}){if(e.startsWith("/")&&e.includes("?")&&t.localPatterns?.length===1&&"**"===t.localPatterns[0].pathname&&""===t.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${e}" is using a query string which is not configured in images.localPatterns. 3Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let o=(0,n.findClosestQuality)(s,t),a=(0,r.getDeploymentId)();return`${t.path}?url=${encodeURIComponent(e)}&w=${i}&q=${o}${e.startsWith("/")&&a?`&dpl=${a}`:""}`}s.__next_img_default=!0;let o=s},18581,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return r}});let n=t.r(71645);function r(t,e){let i=(0,n.useRef)(null),r=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let t=i.current;t&&(i.current=null,t());let e=r.current;e&&(r.current=null,e())}else t&&(i.current=s(t,n)),e&&(r.current=s(e,n))},[t,e])}function s(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let i=t(e);return"function"==typeof i?i:()=>t(null)}}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},85437,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"Image",{enumerable:!0,get:function(){return w}});let n=t.r(55682),r=t.r(90809),s=t.r(43476),o=r._(t.r(71645)),a=n._(t.r(74080)),l=n._(t.r(25633)),u=t.r(8927),h=t.r(87690),c=t.r(18556);t.r(33525);let d=t.r(65856),p=n._(t.r(1948)),f=t.r(18581),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(t,e,i,n,r,s,o){let a=t?.src;t&&t["data-loaded-src"]!==a&&(t["data-loaded-src"]=a,("decode"in t?t.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(t.parentElement&&t.isConnected){if("empty"!==e&&r(!0),i?.current){let e=new Event("load");Object.defineProperty(e,"target",{writable:!1,value:t});let n=!1,r=!1;i.current({...e,nativeEvent:e,currentTarget:t,target:t,isDefaultPrevented:()=>n,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{n=!0,e.preventDefault()},stopPropagation:()=>{r=!0,e.stopPropagation()}})}n?.current&&n.current(t)}}))}function y(t){return o.use?{fetchPriority:t}:{fetchpriority:t}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,o.forwardRef)(({src:t,srcSet:e,sizes:i,height:n,width:r,decoding:a,className:l,style:u,fetchPriority:h,placeholder:c,loading:d,unoptimized:p,fill:m,onLoadRef:v,onLoadingCompleteRef:x,setBlurComplete:w,setShowAltText:b,sizesInput:P,onLoad:S,onError:T,...E},C)=>{let A=(0,o.useCallback)(t=>{t&&(T&&(t.src=t.src),t.complete&&g(t,c,v,x,w,p,P))},[t,c,v,x,w,T,p,P]),M=(0,f.useMergedRef)(C,A);return(0,s.jsx)("img",{...E,...y(h),loading:d,width:r,height:n,decoding:a,"data-nimg":m?"fill":"1",className:l,style:u,sizes:i,srcSet:e,src:t,ref:M,onLoad:t=>{g(t.currentTarget,c,v,x,w,p,P)},onError:t=>{b(!0),"empty"!==c&&w(!0),T&&T(t)}})});function x({isAppRouter:t,imgAttributes:e}){let i={as:"image",imageSrcSet:e.srcSet,imageSizes:e.sizes,crossOrigin:e.crossOrigin,referrerPolicy:e.referrerPolicy,...y(e.fetchPriority)};return t&&a.default.preload?(a.default.preload(e.src,i),null):(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",href:e.srcSet?void 0:e.src,...i},"__nimg-"+e.src+e.srcSet+e.sizes)})}let w=(0,o.forwardRef)((t,e)=>{let i=(0,o.useContext)(d.RouterContext),n=(0,o.useContext)(c.ImageConfigContext),r=(0,o.useMemo)(()=>{let t=m||n||h.imageConfigDefault,e=[...t.deviceSizes,...t.imageSizes].sort((t,e)=>t-e),i=t.deviceSizes.sort((t,e)=>t-e),r=t.qualities?.sort((t,e)=>t-e);return{...t,allSizes:e,deviceSizes:i,qualities:r,localPatterns:"u"<typeof window?n?.localPatterns:t.localPatterns}
3},[n]),{onLoad:a,onLoadingComplete:l}=t,f=(0,o.useRef)(a);(0,o.useEffect)(()=>{f.current=a},[a]);let g=(0,o.useRef)(l);(0,o.useEffect)(()=>{g.current=l},[l]);let[y,w]=(0,o.useState)(!1),[b,P]=(0,o.useState)(!1),{props:S,meta:T}=(0,u.getImgProps)(t,{defaultLoader:p.default,imgConf:r,blurComplete:y,showAltText:b});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(v,{...S,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:f,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:P,sizesInput:t.sizes,ref:e}),T.preload?(0,s.jsx)(x,{isAppRouter:!i,imgAttributes:S}):null]})});("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},94909,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return h},getImageProps:function(){return u}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=t.r(55682),o=t.r(8927),a=t.r(85437),l=s._(t.r(1948));function u(t){let{props:e}=(0,o.getImgProps)(t,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[t,i]of Object.entries(e))void 0===i&&delete e[t];return{props:e}}let h=a.Image},57688,(t,e,i)=>{e.exports=t.r(94909)},98183,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return s},urlQueryToSearchParams:function(){return a}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});function s(t){let e={};for(let[i,n]of t.entries()){let t=e[i];void 0===t?e[i]=n:Array.isArray(t)?t.push(n):e[i]=[t,n]}return e}function o(t){return"string"==typeof t?t:("number"!=typeof t||isNaN(t))&&"boolean"!=typeof t?"":String(t)}function a(t){let e=new URLSearchParams;for(let[i,n]of Object.entries(t))if(Array.isArray(n))for(let t of n)e.append(i,o(t));else e.set(i,o(n));return e}function l(t,...e){for(let i of e){for(let e of i.keys())t.delete(e);for(let[e,n]of i.entries())t.append(e,n)}return t}},95057,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={formatUrl:function(){return a},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=t.r(90809)._(t.r(98183)),o=/https?|ftp|gopher|file/;function a(t){let{auth:e,hostname:i}=t,n=t.protocol||"",r=t.pathname||"",a=t.hash||"",l=t.query||"",u=!1;e=e?encodeURIComponent(e).replace(/%3A/i,":")+"@":"",t.host?u=e+t.host:i&&(u=e+(~i.indexOf(":")?`[${i}]`:i),t.port&&(u+=":"+t.port)),l&&"object"==typeof l&&(l=String(s.urlQueryToSearchParams(l)));let h=t.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),t.slashes||(!n||o.test(n))&&!1!==u?(u="//"+(u||""),r&&"/"!==r[0]&&(r="/"+r)):u||(u=""),a&&"#"!==a[0]&&(a="#"+a),h&&"?"!==h[0]&&(h="?"+h),r=r.replace(/[?#]/g,encodeURIComponent),h=h.replace("#","%23"),`${n}${u}${r}${h}${a}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(t){return a(t)}},18967,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return w},NormalizeError:function(){return v},PageNotFoundError:function(){return x},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return s},execOnce:function(){return o},getDisplayName:function(){return c},getLocationOrigin:function(){return u},getURL:function(){return h},isAbsoluteUrl:function(){return l},isResSent:function(){return d},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return P}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=["CLS","FCP","FID","INP","LCP","TTFB"];function o(t){let e,i=!1;return(...n)=>(i||(i=!0,e=t(...n)),e)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=t=>a.test(t);function u(){let{protocol:t,hostname:e,port:i}=window.location;return`${t}//${e}${i?":"+i:""}`}function h(){let{href:t}=window.location,e=u();return t.substring(e.length)}function c(t){return"string"==typeof t?t:t.displayName||t.name||"Unknown"}function d(t){return t.finished||t.headersSent}function p(t){let e=t.split("?");return e[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(e[1]?`?${e.slice(1).join("?")}`:"")}async function f(t,e){let i=e.res||e.ctx&&e.ctx.res;if(!t.getInitialProps)return e.ctx&&e.Component?{pageProps:await f(e.Component,e.ctx)}:{};let n=await t.getInitialProps(e);if(i&&d(i))return n;if(!n)throw Object.defineProperty(Error(`"${c(t)}.getInitialProps()" should resolve to an object. But found "${n}
3" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(t=>"function"==typeof performance[t]);class y extends Error{}class v extends Error{}class x extends Error{constructor(t){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${t}`}}class w extends Error{constructor(t,e){super(),this.message=`Failed to load static file for page: ${t} ${e}`}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(t){return JSON.stringify({message:t.message,stack:t.stack})}},73668,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isLocalURL",{enumerable:!0,get:function(){return s}});let n=t.r(18967),r=t.r(52817);function s(t){if(!(0,n.isAbsoluteUrl)(t))return!0;try{let e=(0,n.getLocationOrigin)(),i=new URL(t,e);return i.origin===e&&(0,r.hasBasePath)(i.pathname)}catch(t){return!1}}},84508,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"errorOnce",{enumerable:!0,get:function(){return n}});let n=t=>{}},22016,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return x}};for(var r in n)Object.defineProperty(i,r,{enumerable:!0,get:n[r]});let s=t.r(90809),o=t.r(43476),a=s._(t.r(71645)),l=t.r(95057),u=t.r(8372),h=t.r(18581),c=t.r(18967),d=t.r(5550);t.r(33525);let p=t.r(91949),f=t.r(73668),m=t.r(9396);function g(t){return"string"==typeof t?t:(0,l.formatUrl)(t)}function y(e){var i;let n,r,s,[l,y]=(0,a.useOptimistic)(p.IDLE_LINK_STATUS),x=(0,a.useRef)(null),{href:w,as:b,children:P,prefetch:S=null,passHref:T,replace:E,shallow:C,scroll:A,onClick:M,onMouseEnter:k,onTouchStart:R,legacyBehavior:j=!1,onNavigate:V,ref:L,unstable_dynamicOnHover:D,...O}=e;n=P,j&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let _=a.default.useContext(u.AppRouterContext),F=!1!==S,I=!1!==S?null===(i=S)||"auto"===i?m.FetchStrategy.PPR:m.FetchStrategy.Full:m.FetchStrategy.PPR,{href:B,as:$}=a.default.useMemo(()=>{let t=g(w);return{href:t,as:b?g(b):t}},[w,b]);if(j){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});r=a.default.Children.only(n)}let N=j?r&&"object"==typeof r&&r.ref:L,U=a.default.useCallback(t=>(null!==_&&(x.current=(0,p.mountLinkInstance)(t,B,_,I,F,y)),()=>{x.current&&((0,p.unmountLinkForCurrentNavigation)(x.current),x.current=null),(0,p.unmountPrefetchableInstance)(t)}),[F,B,_,I,y]),W={ref:(0,h.useMergedRef)(U,N),onClick(e){j||"function"!=typeof M||M(e),j&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),!_||e.defaultPrevented||function(e,i,n,r,s,o,l){if("u">typeof window){let u,{nodeName:h}=e.currentTarget;if("A"===h.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,f.isLocalURL)(i)){s&&(e.preventDefault(),location.replace(i));return}if(e.preventDefault(),l){let t=!1;if(l({preventDefault:()=>{t=!0}}),t)return}let{dispatchNavigateAction:c}=t.r(99781);a.default.startTransition(()=>{c(n||i,s?"replace":"push",o??!0,r.current)})}}(e,B,$,x,E,A,V)},onMouseEnter(t){j||"function"!=typeof k||k(t),j&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(t),_&&F&&(0,p.onNavigationIntent)(t.currentTarget,!0===D)},onTouchStart:function(t){j||"function"!=typeof R||R(t),j&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(t),_&&F&&(0,p.onNavigationIntent)(t.currentTarget,!0===D)}};return(0,c.isAbsoluteUrl)($)?W.href=$:j&&!T&&("a"!==r.type||"href"in r.props)||(W.href=(0,d.addBasePath)($)),s=j?a.default.cloneElement(r,W):(0,o.jsx)("a",{...O,...W,children:n}),(0,o.jsx)(v.Provider,{value:l,children:s})}t.r(84508);let v=(0,a.createContext)(p.IDLE_LINK_STATUS),x=()=>(0,a.useContext)(v);("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
3dule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},66733,t=>{"use strict";var e=t.i(43476),i=t.i(71645),n=t.i(62108),r=t.i(46932),s=t.i(57688),o=t.i(61745),a=t.i(48148),l=t.i(18566),u=i["use".trim()],h=t.i(47167);function c(t){let e;return("object"==typeof t?null==t.host&&null==t.hostname:!/^[a-z]+:/i.test(t))&&(null==(e="object"==typeof t?t.pathname:t)||!!e.startsWith("/"))}function d(t,e){return t.replace(RegExp(`^${e}`),"")||"/"}function p(t,e){return e===t||e.startsWith(`${t}/`)}function f(t,e,i){return"string"==typeof t?t:t[e]||i}function m(t){let e=function(){try{return"true"===h.default.env._next_intl_trailing_slash}catch{return!1}}(),[i,...n]=t.split("#"),r=n.join("#"),s=i;if("/"!==s){let t=s.endsWith("/");e&&!t?s+="/":!e&&t&&(s=s.slice(0,-1))}return r&&(s+="#"+r),s}function g(t,e){let i,n=m(t),r=m(e);return(i=n.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${i}$`)).test(r)}function y(t,e){return"never"!==e.mode&&e.prefixes?.[t]||"/"+t}function v(t){return t.includes("[[...")}function x(t){return t.includes("[...")}function w(t){return t.includes("[")}function b(t,e){let i=t.split("/"),n=e.split("/"),r=Math.max(i.length,n.length);for(let t=0;t<r;t++){let e=i[t],r=n[t];if(!e&&r)return -1;if(e&&!r)return 1;if(e||r){if(!w(e)&&w(r))return -1;if(w(e)&&!w(r))return 1;if(!x(e)&&x(r))return -1;if(x(e)&&!x(r))return 1;if(!v(e)&&v(r))return -1;if(v(e)&&!v(r))return 1}}return 0}var P=t.i(22016);function S(t){let e=new URLSearchParams;for(let[i,n]of Object.entries(t))Array.isArray(n)?n.forEach(t=>{e.append(i,String(t))}):e.set(i,String(n));return"?"+e.toString()}function T(t,e,i,n){if(!t||n===i||null==n||!e)return;let r=function(t,e=window.location.pathname){return"/"===t?e:e.replace(t,"")}(e),{name:s,...o}=t;o.path||(o.path=""!==r?r:"/");let a=`${s}=${n};`;for(let[t,e]of Object.entries(o))a+=`${"maxAge"===t?"max-age":t}`,"boolean"!=typeof e&&(a+="="+e),a+=";";document.cookie=a}var E=(0,i.forwardRef)(function({href:t,locale:i,localeCookie:n,onClick:r,prefetch:s,...a},u){let h=(0,o.useLocale)(),c=null!=i&&i!==h,d=(0,l.usePathname)();return c&&(s=!1),(0,e.jsx)(P.default,{ref:u,href:t,hrefLang:c?i:void 0,onClick:function(t){T(n,d,h,i),r&&r(t)},prefetch:s,...a})}
3),C=t.i(44705);let{Link:A,redirect:M,usePathname:k,useRouter:R,getPathname:j}=function(t){let{Link:n,config:r,getPathname:s,...a}=function(t,n){var r,s,o;let a={...r=n||{},localePrefix:"object"==typeof(o=r.localePrefix)?o:{mode:o||"always"},localeCookie:!!((s=r.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof s&&s},localeDetection:r.localeDetection??!0,alternateLinks:r.alternateLinks??!0},h=a.pathnames,d=(0,i.forwardRef)(function({href:i,locale:n,...r},s){let o,l;"object"==typeof i?(o=i.pathname,l=i.params):o=i;let d=c(i),f=t(),m="function"==typeof f.then?u(f):f,g=d?p({locale:n||m,href:null==h?o:{pathname:o,params:l},forcePrefix:null!=n||void 0}):o;return(0,e.jsx)(E,{ref:s,href:"object"==typeof i?{...i,pathname:g}:g,locale:n,localeCookie:a.localeCookie,...r})});function p(t){let e,{forcePrefix:i,href:n,locale:r}=t;return null==h?"object"==typeof n?(e=n.pathname,n.query&&(e+=S(n.query))):e=n:e=function({pathname:t,locale:e,params:i,pathnames:n,query:r}){function s(t){let s,o=n[t];return o?(s=f(o,e,t),i&&Object.entries(i).forEach(([t,e])=>{let i,n;Array.isArray(e)?(i=`(\\[)?\\[...${t}\\](\\])?`,n=e.map(t=>String(t)).join("/")):(i=`\\[${t}\\]`,n=String(e)),s=s.replace(RegExp(i,"g"),n)}),s=new URL(s=s.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):s=t,s=m(s),r&&(s+=S(r)),s}if("string"==typeof t)return s(t);{let{pathname:e,...i}=t;return{...i,pathname:s(e)}}}({locale:r,..."string"==typeof n?{pathname:n}:n,pathnames:a.pathnames}),function(t,e,i,n){var r,s;let o,a,{mode:l}=i.localePrefix;if(void 0!==n)o=n;else if(c(t)){let t=i.domains?.find(t=>t.locales.includes(e)),n=t?.localePrefix||l;"always"===n?o=!0:"as-needed"===n&&(o=t?e!==t.defaultLocale:e!==i.defaultLocale)}return o?(r=y(e,i.localePrefix),s=t,a=r,/^\/(\?.*)?$/.test(s)&&(s=s.slice(1)),a+=s):t}(e,r,a,i)}function g(t){return function(e,...i){return t(p(e),...i)}}return{config:a,Link:d,redirect:g(l.redirect),permanentRedirect:g(l.permanentRedirect),getPathname:p}}(o.useLocale,t);return{...a,Link:n,usePathname:function(){let t,e,n=(t=(0,l.usePathname)(),e=(0,o.useLocale)(),(0,i.useMemo)(()=>{if(!t)return t;let i=t,n=y(e,r.localePrefix);if(p(n,t))i=d(t,n);else if("never"!==r.localePrefix.mode&&r.localePrefix.prefixes){let n="/"+e;p(n,t)&&(i=d(t,n))}return i},[r.localePrefix,e,t])),s=(0,o.useLocale)();return(0,i.useMemo)(()=>n&&r.pathnames?function(t,e,i){let n=Object.keys(i).sort(b),r=decodeURI(e);for(let e of n){let n=i[e];if("string"==typeof n){if(g(n,r))return e}else if(g(f(n,t,e),r))return e}return e}(s,n,r.pathnames):n,[s,n])},useRouter:function(){let t=(0,l.useRouter)(),e=(0,o.useLocale)(),n=(0,l.usePathname)();return(0,i.useMemo)(()=>{function i(t){return function(i,o){let{locale:a,...l}=o||{},u=[s({href:i,locale:a||e,forcePrefix:null!=a||void 0})];Object.keys(l).length>0&&u.push(l),T(r.localeCookie,n,e,a),t(...u)}}return{...t,push:i(t.push),replace:i(t.replace),prefetch:i(t.prefetch)}},[e,n,t])},getPathname:s}}(C.routing),V=({className:t})=>(0,e.jsx)("svg",{className:t,viewBox:"0 12 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,e.jsx)("path",{d:"M22.2234 12H1.77187C0.792187 12 0 12.7734 0 13.7297V34.2656C0 35.2219 0.792187 36 1.77187 36H22.2234C23.2031 36 24 35.2219 24 34.2703V13.7297C24 12.7734 23.2031 12 22.2234 12ZM7.12031 32.4516H3.55781V20.9953H7.12031V32.4516ZM5.33906 19.4344C4.19531 19.4344 3.27188 18.5109 3.27188 17.3719C3.27188 16.2328 4.19531 15.3094 5.33906 15.3094C6.47813 15.3094 7.40156 16.2328 7.40156 17.3719C7.40156 18.5062 6.47813 19.4344 5.33906 19.4344ZM20.4516 32.4516H16.8937V26.8828C16.8937 25.5563 16.8703 23.8453 15.0422 23.8453C13.1906 23.8453 12.9094 25.2938 12.9094 26.7891V32.4516H9.35625V20.9953H12.7687V22.5609H12.8156C13.2891 21.6609 14.4516 20.7094 16.1813 20.7094C19.7859 20.7094 20.4516 23.0813 20.4516 26.1656V32.4516V32.4516Z",fill:"currentColor"})}),L=()=>()=>{};t.s(["FooterSection",0,({animated:t=!0})=>{var u;let h=(0,a.useTranslations)("footer"),c=(0,a.useTranslations)("common"),d=(0,o.useLocale)(),p=(0,l.usePathname)(),f=d===C.routing.defaultLocale?"/":`/${d}`,m=/\/(privacy|terms)$/.test(p),g=(0,i.useSyncExternalStore)(L,()=>!0,()=>!1),y=m?g?((u=new URLSearchParams(window.location.search).get("from"))&&"/"===u[0]&&"/"!==u[1]&&"\\"!==u[1]?u:null)??f:f:p,v=()=>{if(!m)try{sessionStorage.setItem("legalReturn",JSON.stringify({path:p,y:Math.round(window.scrollY)}))}catch{}};return(0,e.jsx)(r.motion.footer,{className:n.default.footer,...t?{initial:{opacity:0,y:20}
3,animate:{opacity:1,y:0},transition:{duration:.8,ease:"easeOut"}}:{},children:(0,e.jsxs)("div",{className:n.default.footerContent,children:[(0,e.jsxs)("div",{className:n.default.footerLeft,children:[(0,e.jsxs)("div",{className:n.default.footerLogoContainer,children:[(0,e.jsx)("div",{className:n.default.footerLogo,children:(0,e.jsx)(s.default,{src:"/images/factory-logo.svg",alt:"Omni Factory",width:140,height:40})}),(0,e.jsx)("a",{href:"https://www.linkedin.com/company/omnireasoning/",target:"_blank",rel:"noopener noreferrer",className:n.default.mobileLinkedIn,"aria-label":"LinkedIn",children:(0,e.jsx)(V,{className:n.default.linkedinIcon})})]}),(0,e.jsxs)("div",{className:n.default.footerAddress,children:[(0,e.jsxs)("p",{children:["Omni Factory is a product of"," ",(0,e.jsx)("a",{href:"https://omnireasoning.ai/",className:n.default.addressLink,children:"Omni Reasoning"})]}),(0,e.jsx)("p",{children:"Operated by Serhii Hryhorash"})]})]}),(0,e.jsxs)("div",{className:n.default.footerRight,children:[(0,e.jsx)("a",{href:"https://www.linkedin.com/company/omnireasoning/",target:"_blank",rel:"noopener noreferrer",className:n.default.desktopLinkedIn,"aria-label":"LinkedIn",children:(0,e.jsx)(V,{className:n.default.linkedinIcon})}),(0,e.jsxs)("div",{className:n.default.footerLinks,children:[(0,e.jsx)(A,{href:{pathname:"/privacy",query:{from:y}},replace:m,onClick:v,className:n.default.footerLink,children:h("privacyPolicy")}),(0,e.jsx)(A,{href:{pathname:"/terms",query:{from:y}},replace:m,onClick:v,className:n.default.footerLink,children:h("termsOfService")})]}),(0,e.jsxs)("p",{className:n.default.footerCopyright,children:["© 2023â2026 Omni Reasoning. ",c("allRightsReserved")]})]})]})})}],66733)},2344,t=>{"use strict";var e=t.i(44705);function i(t){for(let i of e.routing.locales)if(i!==e.routing.defaultLocale){if(t===`/${i}`)return"/";if(t.startsWith(`/${i}/`))return t.slice(i.length+1)}return t||"/"}function n(t,n){let r=i(t);return n===e.routing.defaultLocale?r:"/"===r?`/${n}`:`/${n}${r}`}t.s(["pathForLocale",()=>n,"stripLocalePrefix",()=>i])}]);
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.