1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1855],{2389:function(t,e,i){i.d(e,{Z:function(){return l}});var n=i(7653);let r=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),s=function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return e.filter((t,e,i)=>!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim()};var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,n.forwardRef)((t,e)=>{let{color:i="currentColor",size:r=24,strokeWidth:a=2,absoluteStrokeWidth:l,className:u="",children:h,iconNode:c,...d}=t;return(0,n.createElement)("svg",{ref:e,...o,width:r,height:r,stroke:i,strokeWidth:l?24*Number(a)/Number(r):a,className:s("lucide",u),...d},[...c.map(t=>{let[e,i]=t;return(0,n.createElement)(e,i)}),...Array.isArray(h)?h:[h]])}),l=(t,e)=>{let i=(0,n.forwardRef)((i,o)=>{let{className:l,...u}=i;return(0,n.createElement)(a,{ref:o,iconNode:e,className:s("lucide-".concat(r(t)),l),...u})});return i.displayName="".concat(t),i}},70548:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},99886:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]])},62441:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]])},8647:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]])},21296:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},57968:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},77842:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("Cookie",[["path",{d:"M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5",key:"laymnq"}],["path",{d:"M8.5 8.5v.01",key:"ue8clq"}],["path",{d:"M16 15.5v.01",key:"14dtrp"}],["path",{d:"M12 12v.01",key:"u5ubse"}],["path",{d:"M11 17v.01",key:"1hyl5a"}],["path",{d:"M7 14v.01",key:"uct60s"}]])},18177:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]])},4719:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("FileCheck",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]])},64924:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("GitCompare",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["path",{d:"M11 18H8a2 2 0 0 1-2-2V9",key:"19pyzm"}]])}
1,34078:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},40135:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]])},35453:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]])},47686:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},61569:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},99776:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("Map",[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]])},96887:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]])},28122:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("Puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]])},86548:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]])},26302:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]])},92482:function(t,e,i){i.d(e,{Z:function(){return n}});let n=(0,i(2389).Z)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},98882:function(t,e,i){i.d(e,{M:function(){return x}});var n=i(27573),r=i(7653),s=i(50728),o=i(2415),a=i(98739),l=i(14),u=i(79240),h=i(11668);function c(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class d extends r.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;
1if(e&&t.isPresent&&!this.props.isPresent){let t=e.offsetParent,i=(0,u.R)(t)&&t.offsetWidth||0,n=this.props.sizeRef.current;n.height=e.offsetHeight||0,n.width=e.offsetWidth||0,n.top=e.offsetTop,n.left=e.offsetLeft,n.right=i-n.width-n.left}return null}componentDidUpdate(){}render(){return this.props.children}}function p(t){let{children:e,isPresent:i,anchorX:s,root:o}=t,a=(0,r.useId)(),l=(0,r.useRef)(null),u=(0,r.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:p}=(0,r.useContext)(h._),f=function(...t){return r.useCallback(function(...t){return e=>{let i=!1,n=t.map(t=>{let n=c(t,e);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let e=0;e<n.length;e++){let i=n[e];"function"==typeof i?i():c(t[e],null)}}}}(...t),t)}(l,null==e?void 0:e.ref);return(0,r.useInsertionEffect)(()=>{let{width:t,height:e,top:n,left:r,right:h}=u.current;if(i||!l.current||!t||!e)return;l.current.dataset.motionPopId=a;let c=document.createElement("style");p&&(c.nonce=p);let d=null!=o?o:document.head;return d.appendChild(c),c.sheet&&c.sheet.insertRule('\n [data-motion-pop-id="'.concat(a,'"] {\n position: absolute !important;\n width: ').concat(t,"px !important;\n height: ").concat(e,"px !important;\n ").concat("left"===s?"left: ".concat(r):"right: ".concat(h),"px !important;\n top: ").concat(n,"px !important;\n }\n ")),()=>{d.contains(c)&&d.removeChild(c)}},[i]),(0,n.jsx)(d,{isPresent:i,childRef:l,sizeRef:u,children:r.cloneElement(e,{ref:f})})}let f=t=>{let{children:e,initial:i,isPresent:s,onExitComplete:a,custom:u,presenceAffectsLayout:h,mode:c,anchorX:d,root:f}=t,g=(0,o.h)(m),y=(0,r.useId)(),v=!0,x=(0,r.useMemo)(()=>(v=!1,{id:y,initial:i,isPresent:s,custom:u,onExitComplete:t=>{for(let e of(g.set(t,!0),g.values()))if(!e)return;a&&a()},register:t=>(g.set(t,!1),()=>g.delete(t))}),[s,g,a]);return h&&v&&(x={...x}),(0,r.useMemo)(()=>{g.forEach((t,e)=>g.set(e,!1))},[s]),r.useEffect(()=>{s||g.size||!a||a()},[s]),"popLayout"===c&&(e=(0,n.jsx)(p,{isPresent:s,anchorX:d,root:f,children:e})),(0,n.jsx)(l.O.Provider,{value:x,children:e})};function m(){return new Map}var g=i(19235);let y=t=>t.key||"";function v(t){let e=[];return r.Children.forEach(t,t=>{(0,r.isValidElement)(t)&&e.push(t)}),e}let x=t=>{let{children:e,custom:i,initial:l=!0,onExitComplete:u,presenceAffectsLayout:h=!0,mode:c="sync",propagate:d=!1,anchorX:p="left",root:m}=t,[x,w]=(0,g.oO)(d),P=(0,r.useMemo)(()=>v(e),[e]),T=d&&!x?[]:P.map(y),b=(0,r.useRef)(!0),S=(0,r.useRef)(P),M=(0,o.h)(()=>new Map),[k,A]=(0,r.useState)(P),[E,C]=(0,r.useState)(P);(0,a.L)(()=>{b.current=!1,S.current=P;for(let t=0;t<E.length;t++){let e=y(E[t]);T.includes(e)?M.delete(e):!0!==M.get(e)&&M.set(e,!1)}},[E,T.length,T.join("-")]);let V=[];if(P!==k){let t=[...P];for(let e=0;e<E.length;e++){let i=E[e],n=y(i);T.includes(n)||(t.splice(e,0,i),V.push(i))}return"wait"===c&&V.length&&(t=V),C(v(t)),A(P),null}let{forceRender:D}=(0,r.useContext)(s.p);return(0,n.jsx)(n.Fragment,{children:E.map(t=>{let e=y(t),r=(!d||!!x)&&(P===E||T.includes(e));return(0,n.jsx)(f,{isPresent:r,initial:(!b.current||!!l)&&void 0,custom:i,presenceAffectsLayout:h,mode:c,root:m,onExitComplete:r?void 0:()=>{if(!M.has(e))return;M.set(e,!0);let t=!0;M.forEach(e=>{e||(t=!1)}),t&&(null==D||D(),C(S.current),d&&(null==w||w()),u&&u())},anchorX:p,children:t},e)})})}},19235:function(t,e,i){i.d(e,{oO:function(){return s}});var n=i(7653),r=i(14);function s(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,n.useContext)(r.O);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:o}=e,a=(0,n.useId)();(0,n.useEffect)(()=>{if(t)return o(a)},[t]);let l=(0,n.useCallback)(()=>t&&s&&s(a),[a,s,t]);return!i&&s?[!1,l]:[!0]}},50728:function(t,e,i){i.d(e,{p:function(){return n}});let n=(0,i(7653).createContext)({})},11668:function(t,e,i){i.d(e,{_:function(){return n}});let n=(0,i(7653).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},14:function(t,e,i){i.d(e,{O:function(){return n}});let n=(0,i(7653).createContext)(null)}
1,96683:function(t,e,i){i.d(e,{E:function(){return rs}});var n=i(7653);let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=new Set(r),o=t=>180*t/Math.PI,a=t=>u(o(Math.atan2(t[1],t[0]))),l={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:a,rotateZ:a,skewX:t=>o(Math.atan(t[1])),skewY:t=>o(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},u=t=>((t%=360)<0&&(t+=360),t),h=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),c=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),d={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:h,scaleY:c,scale:t=>(h(t)+c(t))/2,rotateX:t=>u(o(Math.atan2(t[6],t[5]))),rotateY:t=>u(o(Math.atan2(-t[2],t[0]))),rotateZ:a,rotate:a,skewX:t=>o(Math.atan(t[4])),skewY:t=>o(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function p(t){return t.includes("scale")?1:0}function f(t,e){let i,n;if(!t||"none"===t)return p(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=d,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=l,n=e}if(!n)return p(e);let s=i[e],o=n[1].split(",").map(g);return"function"==typeof s?s(o):o[s]}let m=(t,e)=>{let{transform:i="none"}=getComputedStyle(t);return f(i,e)};function g(t){return parseFloat(t.trim())}var y=i(63341);function v({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}var x=i(37600);function w(t){return void 0===t||1===t}function P({scale:t,scaleX:e,scaleY:i}){return!w(t)||!w(e)||!w(i)}function T(t){return P(t)||b(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function b(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function S(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function M(t,e=0,i=1,n,r){t.min=S(t.min,e,i,n,r),t.max=S(t.max,e,i,n,r)}function k(t,{x:e,y:i}){M(t.x,e.translate,e.scale,e.originPoint),M(t.y,i.translate,i.scale,i.originPoint)}function A(t,e){t.min=t.min+e,t.max=t.max+e}function E(t,e,i,n,r=.5){let s=(0,x.t)(t.min,t.max,r);M(t,e,i,s,n)}function C(t,e){E(t.x,e.x,e.scaleX,e.scale,e.originX),E(t.y,e.y,e.scaleY,e.scale,e.originY)}function V(t,e){return v(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))}let D=new Set(["width","height","top","left","right","bottom",...r]);var R=i(3791),L=i(58207);let j=t=>e=>e.test(t),B=[R.Rx,L.px,L.aQ,L.RW,L.vw,L.vh,{test:t=>"auto"===t,parse:t=>t}],F=t=>B.find(j(t));var O=i(11151);let W=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),I=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,$=t=>t===R.Rx||t===L.px,X=new Set(["x","y","z"]),U=r.filter(t=>!X.has(t)),Z={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})=>f(e,"x"),y:(t,{transform:e})=>f(e,"y")};Z.translateX=Z.x,Z.translateY=Z.y;var N=i(4238);let z=new Set,H=!1,Y=!1,q=!1;function K(){if(Y){let t=Array.from(z).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];return U.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),e}(t);e.length&&(i.set(t,e),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)})}Y=!1,H=!1,z.forEach(t=>t.complete(q)),z.clear()}function _(){z.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Y=!0)})}class G{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?(z.add(this),H||(H=!0,N.Wi.read(_),N.Wi.resolveKeyframes(K))):(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])}!function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),z.delete(this)}cancel(){"scheduled"===this.state&&(z.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let J=t=>/^0[^.\s]+$/u.test(t);var Q=i(7336),tt=i(24689);let te=new Set(["brightness","contrast","saturate","opacity"]);function ti(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(tt.K)||[];if(!n)return t;let r=i.replace(n,""),s=te.has(e)?1:0;return n!==i&&(s*=100),e+"("+s+r+")"}let tn=/\b([a-z-]*)\(.*?\)/gu,tr={...Q.P,getAnimatableNone:t=>{let e=t.match(tn);return e?e.map(ti).join(" "):t}};var ts=i(33883);let to={...R.Rx,transform:Math.round},ta={rotate:L.RW,rotateX:L.RW,rotateY:L.RW,rotateZ:L.RW,scale:R.bA,scaleX:R.bA,scaleY:R.bA,scaleZ:R.bA,skew:L.RW,skewX:L.RW,skewY:L.RW,distance:L.px,translateX:L.px,translateY:L.px,translateZ:L.px,x:L.px,y:L.px,z:L.px,perspective:L.px,transformPerspective:L.px,opacity:R.Fq,originX:L.$C,originY:L.$C,originZ:L.px},tl={borderWidth:L.px,borderTopWidth:L.px,borderRightWidth:L.px,borderBottomWidth:L.px,borderLeftWidth:L.px,borderRadius:L.px,radius:L.px,borderTopLeftRadius:L.px,borderTopRightRadius:L.px,borderBottomRightRadius:L.px,borderBottomLeftRadius:L.px,width:L.px,maxWidth:L.px,height:L.px,maxHeight:L.px,top:L.px,right:L.px,bottom:L.px,left:L.px,padding:L.px,paddingTop:L.px,paddingRight:L.px,paddingBottom:L.px,paddingLeft:L.px,margin:L.px,marginTop:L.px,marginRight:L.px,marginBottom:L.px,marginLeft:L.px,backgroundPositionX:L.px,backgroundPositionY:L.px,...ta,zIndex:to,fillOpacity:R.Fq,strokeOpacity:R.Fq,numOctaves:to},tu={...tl,color:ts.$,backgroundColor:ts.$,outlineColor:ts.$,fill:ts.$,stroke:ts.$,borderColor:ts.$,borderTopColor:ts.$,borderRightColor:ts.$,borderBottomColor:ts.$,borderLeftColor:ts.$,filter:tr,WebkitFilter:tr},th=t=>tu[t];function tc(t,e){let i=th(t);return i!==tr&&(i=Q.P),i.getAnimatableNone?i.getAnimatableNone(e):void 0}
1let td=new Set(["auto","none","0"]);class tp extends G{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&&(n=n.trim(),(0,y.t)(n))){let r=function t(e,i,n=1){(0,O.k)(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=I.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 W(t)?parseFloat(t):t}return(0,y.t)(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(),!D.has(i)||2!==t.length)return;let[n,r]=t,s=F(n),o=F(r);if(s!==o){if($(s)&&$(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else Z[i]&&(this.needsMeasurement=!0)}}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||J(n)))&&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&&!td.has(e)&&(0,Q.V)(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=tc(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=Z[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]=Z[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()}}var tf=i(30876),tm=i(91451),tg=i(36204);let ty=[...B,ts.$,Q.P],tv=t=>ty.find(j(t)),{schedule:tx,cancel:tw}=(0,i(17425).Z)(queueMicrotask,!1);var tP=i(72859);let tT={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"]},tb={};for(let t in tT)tb[t]={isEnabled:e=>tT[t].some(t=>!!e[t])};let tS=()=>({translate:0,scale:1,origin:0,originPoint:0}),tM=()=>({x:tS(),y:tS()}),tk=()=>({min:0,max:0}),tA=()=>({x:tk(),y:tk()});var tE=i(80226);let tC={current:null},tV={current:!1},tD=new WeakMap;function tR(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function tL(t){return"string"==typeof t||Array.isArray(t)}let tj=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tB=["initial",...tj];function tF(t){return tR(t.animate)||tB.some(e=>tL(t[e]))}function tO(t){return!!(tF(t)||t.variants)}function tW(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function tI(t,e,i,n){if("function"==typeof e){let[r,s]=tW(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]=tW(n);e=e(void 0!==i?i:t.custom,r,s)}return e}let t$=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class tX{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:r,visualState:s},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=G,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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=tm.X.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,N.Wi.render(this.render,!1,!0))};let{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=e.initial?{...a}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.blockInitialAnimation=!!r,this.isControllingVariants=tF(e),this.isVariantNode=tO(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in h){let e=h[t];void 0!==a[t]&&(0,tf.i)(e)&&e.set(a[t])}}mount(t){this.current=t,tD.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)),tV.current||function(){if(tV.current=!0,tE.j){if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>tC.current=t.matches;t.addEventListener("change",e),e()}else tC.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||tC.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,N.Pn)(this.notifyUpdate),(0,N.Pn)(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;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=s.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&N.Wi.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});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 tb){let e=tb[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):tA()}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<t$.length;e++){let i=t$[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((0,tf.i)(r))t.addValue(n,r);else if((0,tf.i)(s))t.addValue(n,(0,tg.BX)(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,(0,tg.BX)(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=(0,tg.BX)(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];return null!=i&&("string"==typeof i&&(W(i)||J(i))?i=parseFloat(i):!tv(i)&&Q.P.test(e)&&(i=tc(t,e)),this.setBaseTarget(t,(0,tf.i)(i)?i.get():i)),(0,tf.i)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e;let{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=tI(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||(0,tf.i)(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 tP.L),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){tx.render(this.render)}}class tU extends tX{constructor(){super(...arguments),this.KeyframeResolver=tp}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[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;(0,tf.i)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}let tZ=(t,e)=>e&&"number"==typeof t?e.transform(t):t,tN={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tz=r.length;function tH(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((0,y.f)(t)){o[t]=i;continue}{let e=tZ(i,tl[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<tz;o++){let a=r[o],l=t[a];if(void 0===l)continue;let u=!0;if(!(u="number"==typeof l?l===(a.startsWith("scale")?1:0):0===parseFloat(l))||i){let t=tZ(l,tl[a]);if(!u){s=!1;let e=tN[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}`}}function tY(t,{style:e,vars:i},n,r){let s;let o=t.style;for(s in e)o[s]=e[s];for(s in r?.applyProjectionStyles(o,n),i)o.setProperty(s,i[s])}let tq={};function tK(t,{layout:e,layoutId:i}){return s.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!tq[t]||"opacity"===t)}function t_(t,e,i){let{style:n}=t,r={};for(let s in n)((0,tf.i)(n[s])||e.style&&(0,tf.i)(e.style[s])||tK(s,t)||i?.getValue(s)?.liveStyle!==void 0)&&(r[s]=n[s]);return r}class tG extends tU{constructor(){super(...arguments),this.type="html",this.renderInstance=tY}readValueFromInstance(t,e){if(s.has(e))return this.projection?.isProjecting?p(e):m(t,e);{let i=window.getComputedStyle(t),n=((0,y.f)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return V(t,e)}build(t,e,i){tH(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return t_(t,e,i)}}let tJ=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),tQ={offset:"stroke-dashoffset",array:"stroke-dasharray"},t0={offset:"strokeDashoffset",array:"strokeDasharray"};function t1(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:o=0,...a},l,u,h){if(tH(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;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),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?tQ:t0;t[s.offset]=L.px.transform(-n);let o=L.px.transform(e),a=L.px.transform(i);t[s.array]=`${o} ${a}`}(c,r,s,o,!1)}let t2=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"]),t5=t=>"string"==typeof t&&"svg"===t.toLowerCase();function t3(t,e,i){let n=t_(t,e,i);for(let i in t)((0,tf.i)(t[i])||(0,tf.i)(e[i]))&&(n[-1!==r.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class t4 extends tU{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=tA}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(s.has(e)){let t=th(e);return t&&t.default||0}return e=t2.has(e)?e:tJ(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return t3(t,e,i)}build(t,e,i){t1(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){!function(t,e,i,n){for(let i in tY(t,e,void 0,n),e.attrs)t.setAttribute(t2.has(i)?i:tJ(i),e.attrs[i])}(t,e,0,n)}mount(t){this.isSVGTag=t5(t.tagName),super.mount(t)}}let t8=["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 t6(t){if("string"!=typeof t||t.includes("-"));else if(t8.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var t9=i(27573),t7=i(50728);let et=(0,n.createContext)({strict:!1});var ee=i(11668);let ei=(0,n.createContext)({});function en(t){return Array.isArray(t)?t.join(" "):t}let er=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function es(t,e,i){for(let n in e)(0,tf.i)(e[n])||tK(n,i)||(t[n]=e[n])}let eo=()=>({...er(),attrs:{}});var ea=i(82652),el=i(14),eu=i(2415);function eh(t){return(0,tf.i)(t)?t.get():t}let ec=t=>(e,i)=>{let r=(0,n.useContext)(ei),s=(0,n.useContext)(el.O),o=()=>
1(function(t,e,i,n){let{scrapeMotionValuesFromProps:r,createRenderState:s}=t;return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=eh(s[t]);let{initial:o,animate:a}=t,l=tF(t),u=tO(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&&!tR(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let n=tI(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}(e,i,n,r),renderState:s()}})(t,e,r,s);return i?o():(0,eu.h)(o)},ed=ec({scrapeMotionValuesFromProps:t_,createRenderState:er}),ep=ec({scrapeMotionValuesFromProps:t3,createRenderState:eo}),ef=Symbol.for("motionComponentSymbol");function em(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let eg="data-"+tJ("framerAppearId"),ey=(0,n.createContext)({});var ev=i(98739);function ex(t){var e,i;let{forwardMotionProps:r=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;s&&function(t){for(let e in t)tb[e]={...tb[e],...t[e]}}(s);let a=t6(t)?ep:ed;function l(e,i){var s;let l;let u={...(0,n.useContext)(ee._),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,n.useContext)(t7.p).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:h}=u,c=function(t){let{initial:e,animate:i}=function(t,e){if(tF(t)){let{initial:e,animate:i}=t;return{initial:!1===e||tL(e)?e:void 0,animate:tL(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,n.useContext)(ei));return(0,n.useMemo)(()=>({initial:e,animate:i}),[en(e),en(i)])}(e),d=a(e,h);if(!h&&tE.j){(0,n.useContext)(et).strict;let e=function(t){let{drag:e,layout:i}=tb;if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(u);l=e.MeasureLayout,c.visualElement=function(t,e,i,r,s){var o,a,l,u;let{visualElement:h}=(0,n.useContext)(ei),c=(0,n.useContext)(et),d=(0,n.useContext)(el.O),p=(0,n.useContext)(ee._).reducedMotion,f=(0,n.useRef)(null);r=r||c.renderer,!f.current&&r&&(f.current=r(t,{visualState:e,parent:h,props:i,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:p}));let m=f.current,g=(0,n.useContext)(ey);m&&!m.projection&&s&&("html"===m.type||"svg"===m.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&&em(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:u})}(f.current,i,s,g);let y=(0,n.useRef)(!1);(0,n.useInsertionEffect)(()=>{m&&y.current&&m.update(i,d)});let v=i[eg],x=(0,n.useRef)(!!v&&!(null===(o=(a=window).MotionHandoffIsComplete)||void 0===o?void 0:o.call(a,v))&&(null===(l=(u=window).MotionHasOptimisedAnimation)||void 0===l?void 0:l.call(u,v)));return(0,ev.L)(()=>{m&&(y.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),x.current&&m.animationState&&m.animationState.animateChanges())}),(0,n.useEffect)(()=>{m&&(!x.current&&m.animationState&&m.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{var t,e;null===(t=(e=window).MotionHandoffMarkAsComplete)||void 0===t||t.call(e,v)}),x.current=!1),m.enteringChildren=void 0)}),m}(t,d,u,o,e.ProjectionNode)}return(0,t9.jsxs)(ei.Provider,{value:c,children:[l&&c.visualElement?(0,t9.jsx)(l,{visualElement:c.visualElement,...u}):null,function(t,e,i,r,s){let{latestValues:o}=r,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=(t6(t)?function(t,e,i,r){let s=(0,n.useMemo)(()=>{let i=eo();return t1(i,e,t5(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};es(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i={},r=function(t,e){let i=t.style||{},r={};return es(r,i,t),Object.assign(r,function(t,e){let{transformTemplate:i}=t;return(0,n.useMemo)(()=>{let t=er();
1return tH(t,e,i),Object.assign({},t.vars,t.style)},[e])}(t,e)),r}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=r,i})(e,o,s,t),u=(0,ea.L)(e,"string"==typeof t,a),h=t!==n.Fragment?{...u,...l,ref:i}:{},{children:c}=e,d=(0,n.useMemo)(()=>(0,tf.i)(c)?c.get():c,[c]);return(0,n.createElement)(t,{...h,children:d})}(t,e,(s=c.visualElement,(0,n.useCallback)(t=>{t&&d.onMount&&d.onMount(t),s&&(t?s.mount(t):s.unmount()),i&&("function"==typeof i?i(t):em(i)&&(i.current=t))},[s])),d,h,r)]})}l.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!==(i=null!==(e=t.displayName)&&void 0!==e?e:t.name)&&void 0!==i?i:"",")"));let u=(0,n.forwardRef)(l);return u[ef]=t,u}function ew(t,e,i){let n=t.getProps();return tI(n,e,void 0!==i?i:n.custom,t)}function eP(t,e){return t?.[e]??t?.default??t}let eT=t=>Array.isArray(t);var eb=i(48386);function eS(t,e){let i=t.getValue("willChange");if((0,tf.i)(i)&&i.add)return i.add(e);if(!i&&eb.c.WillChange){let i=new eb.c.WillChange("auto");t.addValue("willChange",i),i.add(e)}}function eM(t){t.duration=0,t.type="keyframes"}var ek=i(78922),eA=i(19676),eE=i(39425),eC=i(53348);let eV=t=>t.startsWith("--");var eD=i(81721),eR=i(50617),eL=i(9205),ej=i(86792),eB=i(69128),eF=i(8603);let eO={},eW=function(t,e){let i=(0,eF.X)(t);return()=>eO[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var eI=i(61901);let e$=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,eX={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e$([0,.65,.55,1]),circOut:e$([.55,0,1,.45]),backIn:e$([.31,.01,.66,-.59]),backOut:e$([.33,1.53,.69,.99])};function eU(t){return"function"==typeof t&&"applyToOptions"in t}class eZ extends eR.T{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;let{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,(0,O.k)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return eU(t)&&eW()?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?eW()?(0,eI.w)(e,i):"ease-out":(0,eB.q)(e)?e$(e):Array.isArray(e)?e.map(e=>t(e,i)||eX.easeOut):eX[e]}(a,r);Array.isArray(c)&&(h.easing=c),ej.f.value&&eL.P.waapi++;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 ej.f.value&&p.finished.finally(()=>{eL.P.waapi--}),p}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=(0,eE.$)(n,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(t):eV(i)?e.style.setProperty(i,t):e.style[i]=t,this.animation.cancel()}a?.(),this.notifyFinished()}}play(){this.isStopped||(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(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,eC.X)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,eC.X)(t)}get time(){return(0,eC.X)(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=(0,eC.w)(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 Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,eD.t)())?(this.animation.timeline=t,eA.Z):e(this)}}var eN=i(374),ez=i(85790),eH=i(11856),eY=i(38994);let eq={anticipate:ez.L,backInOut:eH.XL,circInOut:eY.X7};class eK extends eZ{constructor(t){"string"==typeof t.ease&&t.ease in eq&&(t.ease=eq[t.ease]),(0,eN.f)(t),super(t),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){e.set(t);return}let o=new ek.L({...s,autoplay:!1}),a=(0,eC.w)(this.finishedTime??this.time);e.setWithVelocity(o.sample(a-10).value,o.sample(a).value,10),o.stop()}}let e_=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(Q.P.test(t)||"0"===t)&&!t.startsWith("url(")),eG=new Set(["opacity","clipPath","filter","transform"]),eJ=(0,eF.X)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class eQ extends eR.T{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=tm.X.now();let c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:a,motionValue:l,element:u,...h},d=u?.KeyframeResolver||G;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;
1this.resolvedAt=tm.X.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=e_(r,e),a=e_(s,e);return(0,O.K)(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||eU(i))&&n)}(t,r,s,o)&&((eb.c.instantAnimations||!a)&&u?.(eE.$(t,i,e)),t[0]=t[t.length-1],eM(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 eJ()&&i&&eG.has(i)&&("transform"!==i||!l)&&!a&&!n&&"mirror"!==r&&0!==s&&"inertia"!==o}(h)?new eK({...h,element:h.motionValue.owner.current}):new ek.L(h);c.finished.then(()=>this.notifyFinished()).catch(eA.Z),this.pendingTimeline&&(this.stopTimeline=c.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=c}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(),q=!0,_(),K(),q=!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 e0=t=>null!==t,e1={type:"spring",stiffness:500,damping:25,restSpeed:10},e2=t=>({type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}),e5={type:"keyframes",duration:.8},e3={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},e4=(t,{keyframes:e})=>e.length>2?e5:s.has(t)?t.startsWith("scale")?e2(e[1]):e1:e3,e8=(t,e,i,n={},r,s)=>o=>{let a=eP(n,t)||{},l=a.delay||n.delay||0,{elapsed:u=0}=n;u-=(0,eC.w)(l);let h={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?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}(a)&&Object.assign(h,e4(t,h)),h.duration&&(h.duration=(0,eC.w)(h.duration)),h.repeatDelay&&(h.repeatDelay=(0,eC.w)(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let c=!1;if(!1!==h.type&&(0!==h.duration||h.repeatDelay)||(eM(h),0!==h.delay||(c=!0)),(eb.c.instantAnimations||eb.c.skipAnimations)&&(c=!0,eM(h),h.delay=0),h.allowFlatten=!a.type&&!a.ease,c&&!s&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(e0),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return r[s]}(h.keyframes,a);if(void 0!==t){N.Wi.update(()=>{h.onUpdate(t),h.onComplete()});return}}return a.isSync?new ek.L(h):new eQ(h)};function e6(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:o,...a}=e;n&&(s=n);let l=[],u=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||u&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(u,e))continue;let o={delay:i,...eP(s||{},e)},h=n.get();if(void 0!==h&&!n.isAnimating&&!Array.isArray(r)&&r===h&&!o.velocity)continue;let c=!1;if(window.MotionHandoffAnimation){let i=t.props[eg];if(i){let t=window.MotionHandoffAnimation(i,e,N.Wi);null!==t&&(o.startTime=t,c=!0)}}eS(t,e),n.start(e8(e,n,r,t.shouldReduceMotion&&D.has(e)?{type:!1}:o,t,c));let d=n.animation;d&&l.push(d)}return o&&Promise.all(l).then(()=>{N.Wi.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=ew(t,e)||{};for(let e in r={...r,...i}){var s;let i=eT(s=r[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,tg.BX)(i))}}(t,o)})}),l}function e9(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 e7(t,e,i={}){let n=ew(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(e6(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=r;
1return 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(e7(l,e,{...o,delay:i+("function"==typeof n?0:n)+e9(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())}}function it(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 ie=tB.length,ii=[...tj].reverse(),ir=tj.length;function is(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function io(){return{animate:is(!0),whileInView:is(),whileHover:is(),whileTap:is(),whileDrag:is(),whileFocus:is(),exit:is()}}class ia{constructor(t){this.isMounted=!1,this.node=t}update(){}}class il extends ia{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=>e7(t,e,i)));else if("string"==typeof e)n=e7(t,e,i);else{let r="function"==typeof e?ew(t,e,i.custom):e;n=Promise.all(e6(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=io(),n=!0,r=e=>(i,n)=>{let r=ew(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<ie;t++){let n=tB[t],r=e.props[n];(tL(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},l=[],u=new Set,h={},c=1/0;for(let e=0;e<ir;e++){var d;let p=ii[e],f=i[p],m=void 0!==o[p]?o[p]:a[p],g=tL(m),y=p===s?f.isActive:null;!1===y&&(c=e);let v=m===a[p]&&m!==o[p]&&g;if(v&&n&&t.manuallyAnimateOnMount&&(v=!1),f.protectedKeys={...h},!f.isActive&&null===y||!m&&!f.prevProp||tR(m)||"boolean"==typeof m)continue;let x=(d=f.prevProp,"string"==typeof m?m!==d:!!Array.isArray(m)&&!it(m,d)),w=x||p===s&&f.isActive&&!v&&g||e>c&&g,P=!1,T=Array.isArray(m)?m:[m],b=T.reduce(r(p),{});!1===y&&(b={});let{prevResolvedValues:S={}}=f,M={...S,...b},k=e=>{w=!0,u.has(e)&&(P=!0,u.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in M){let e=b[t],i=S[t];if(!h.hasOwnProperty(t))(eT(e)&&eT(i)?it(e,i):e===i)?void 0!==e&&u.has(t)?k(t):f.protectedKeys[t]=!0:null!=e?k(t):u.add(t)}f.prevProp=m,f.prevResolvedValues=b,f.isActive&&(h={...h,...b}),n&&t.blockInitialAnimation&&(w=!1);let A=v&&x,E=!A||P;w&&E&&l.push(...T.map(e=>{let i={type:p};if("string"==typeof e&&n&&!A&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=ew(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=e9(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof o.initial){let i=ew(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 p=!!l.length;return n&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(p=!1),n=!1,p?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=io()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();tR(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?.()}}let iu=0;class ih extends ia{constructor(){super(...arguments),this.id=iu++}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(()=>
1{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let ic={x:!1,y:!1};function id(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let ip=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function im(t){return{point:{x:t.pageX,y:t.pageY}}}let ig=t=>e=>ip(e)&&t(e,im(e));function iy(t,e,i,n){return id(t,e,ig(i),n)}function iv(t){return t.max-t.min}function ix(t,e,i,n=.5){t.origin=n,t.originPoint=(0,x.t)(e.min,e.max,t.origin),t.scale=iv(i)/iv(e),t.translate=(0,x.t)(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 iw(t,e,i,n){ix(t.x,e.x,i.x,n?n.originX:void 0),ix(t.y,e.y,i.y,n?n.originY:void 0)}function iP(t,e,i){t.min=i.min+e.min,t.max=t.min+iv(e)}function iT(t,e,i){t.min=e.min-i.min,t.max=t.min+iv(e)}function ib(t,e,i){iT(t.x,e.x,i.x),iT(t.y,e.y,i.y)}function iS(t){return[t("x"),t("y")]}let iM=({current:t})=>t?t.ownerDocument.defaultView:null;var ik=i(47857);let iA=(t,e)=>Math.abs(t-e);class iE{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=iD(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(iA(t.x,e.x)**2+iA(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=N.frameData;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=iC(e,this.transformPagePoint),N.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=iD("pointercancel"===t.type?this.lastMoveEventInfo:iC(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!ip(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;let o=iC(im(t),this.transformPagePoint),{point:a}=o,{timestamp:l}=N.frameData;this.history=[{...a,timestamp:l}];let{onSessionStart:u}=e;u&&u(t,iD(o,this.history)),this.removeListeners=(0,ik.z)(iy(this.contextWindow,"pointermove",this.handlePointerMove),iy(this.contextWindow,"pointerup",this.handlePointerUp),iy(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,N.Pn)(this.updatePoint)}}function iC(t,e){return e?{point:e(t.point)}:t}function iV(t,e){return{x:t.x-e.x,y:t.y-e.y}}function iD({point:t},e){return{point:t,delta:iV(t,iR(e)),offset:iV(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=iR(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>(0,eC.w)(.1)));)i--;if(!n)return{x:0,y:0};let s=(0,eC.X)(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e,0)}}function iR(t){return t[t.length-1]}var iL=i(22063),ij=i(970);function iB(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 iF(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 iO(t,e,i){return{min:iW(t,e),max:iW(t,i)}}function iW(t,e){return"number"==typeof t?t:t[e]||0}let iI=new WeakMap;class i${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=tA(),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{dragSnapToOrigin:r}=this.getProps();this.panSession=new iE(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(im(t).point)},onStart:(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===i||"y"===i?ic[i]?null:(ic[i]=!0,()=>{ic[i]=!1}):ic.x||ic.y?null:(ic.x=ic.y=!0,()=>{ic.x=ic.y=!1}),!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),iS(t=>{let e=this.getAxisMotionValue(t).get()||0;if(L.aQ.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];if(n){let t=iv(n);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),r&&N.Wi.postRender(()=>r(t,e)),eS(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(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&&s(t,e)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>iS(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,distanceThreshold:i,contextWindow:iM(this.visualElement)})}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&&N.Wi.postRender(()=>o(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!iX(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?(0,x.t)(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?(0,x.t)(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&&em(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:iB(t.x,i,r),y:iB(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:iO(t,"left","right"),y:iO(t,"top","bottom")}}(e),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&iS(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!em(e))return!1;let n=e.current;(0,O.k)(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=V(t,i),{scroll:r}=e;return r&&(A(n.x,r.offset.x),A(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o={x:iF((t=r.layout.layoutBox).x,s.x),y:iF(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=v(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(iS(o=>{if(!iX(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 eS(this.visualElement,t),i.start(e8(t,i,0,e,this.visualElement,!1))}stopAnimation(){iS(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){iS(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}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){iS(e=>{let{drag:i}=this.getProps();if(!iX(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];r.set(t[e]-(0,x.t)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!em(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};iS(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=iv(t),r=iv(e);return r>n?i=(0,iL.Y)(e.min,e.max-n,t.min):n>r&&(i=(0,iL.Y)(t.min,t.max-r,e.min)),(0,ij.u)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),iS(e=>{if(!iX(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set((0,x.t)(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;iI.set(this.visualElement,this);let t=iy(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();em(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),N.Wi.read(e);let r=id(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(iS(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),n(),s&&s()}}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 iX(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class iU extends ia{constructor(t){super(t),this.removeGroupControls=eA.Z,this.removeListeners=eA.Z,this.controls=new i$(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eA.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let iZ=t=>(e,i)=>{t&&N.Wi.postRender(()=>t(e,i))};class iN extends ia{constructor(){super(...arguments),this.removePointerDownListener=eA.Z}onPointerDown(t){this.session=new iE(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:iM(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:iZ(t),onStart:iZ(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&N.Wi.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=iy(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var iz=i(19235);let iH={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function iY(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let iq={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!L.px.test(t))return t;t=parseFloat(t)}let i=iY(t,e.target.x),n=iY(t,e.target.y);return`${i}% ${n}%`}},iK=!1;class i_ extends n.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;!function(t){for(let e in t)tq[e]=t[e],(0,y.f)(e)&&(tq[e].isCSSVariable=!0)}(iJ),r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),iK&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),iH.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,iK=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent===r||(r?s.promote():s.relegate()||N.Wi.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tx.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;iK=!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 iG(t){let[e,i]=(0,iz.oO)(),r=(0,n.useContext)(t7.p);return(0,t9.jsx)(i_,{...t,layoutGroup:r,switchLayoutGroup:(0,n.useContext)(ey),isPresent:e,safeToRemove:i})}let iJ={borderRadius:{...iq,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:iq,borderTopRightRadius:iq,borderBottomLeftRadius:iq,borderBottomRightRadius:iq,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=Q.P.parse(t);if(n.length>5)return t;let r=Q.P.createTransformer(t),s="number"!=typeof n[0]?1:0,o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+s]/=o,n[1+s]/=a;let l=(0,x.t)(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};var iQ=i(74802),i0=i(12268);let i1=(t,e)=>t.depth-e.depth;class i2{constructor(){this.children=[],this.isDirty=!1}add(t){(0,i0.y4)(this.children,t),this.isDirty=!0}remove(t){(0,i0.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(i1),this.isDirty=!1,this.children.forEac
1h(t)}}let i5=["TopLeft","TopRight","BottomLeft","BottomRight"],i3=i5.length,i4=t=>"string"==typeof t?parseFloat(t):t,i8=t=>"number"==typeof t||L.px.test(t);function i6(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let i9=nt(0,.5,eY.Bn),i7=nt(.5,.95,eA.Z);function nt(t,e,i){return n=>n<t?0:n>e?1:i((0,iL.Y)(t,e,n))}function ne(t,e){t.min=e.min,t.max=e.max}function ni(t,e){ne(t.x,e.x),ne(t.y,e.y)}function nn(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nr(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 ns(t,e,[i,n,r],s,o){!function(t,e=0,i=1,n=.5,r,s=t,o=t){if(L.aQ.test(e)&&(e=parseFloat(e),e=(0,x.t)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,x.t)(s.min,s.max,n);t===s&&(a-=e),t.min=nr(t.min,e,i,a,r),t.max=nr(t.max,e,i,a,r)}(t,e[i],e[n],e[r],e.scale,s,o)}let no=["x","scaleX","originX"],na=["y","scaleY","originY"];function nl(t,e,i,n){ns(t.x,e,no,i?i.x:void 0,n?n.x:void 0),ns(t.y,e,na,i?i.y:void 0,n?n.y:void 0)}function nu(t){return 0===t.translate&&1===t.scale}function nh(t){return nu(t.x)&&nu(t.y)}function nc(t,e){return t.min===e.min&&t.max===e.max}function nd(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function np(t,e){return nd(t.x,e.x)&&nd(t.y,e.y)}function nf(t){return iv(t.x)/iv(t.y)}function nm(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class ng{constructor(){this.members=[]}add(t){(0,i0.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,i0.cl)(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;let i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){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(),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:n}=t.options;!1===n&&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 ny={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},nv=["","X","Y","Z"],nx=0;function nw(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function nP({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=nx++,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.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ej.f.value&&(ny.nodes=ny.calculatedTargetDeltas=ny.calculatedProjections=0),this.nodes.forEach(nS),this.nodes.forEach(nD),this.nodes.forEach(nR),this.nodes.forEach(nM),ej.f.addProjectionMetrics&&ej.f.addProjectionMetrics(ny)},this.resolvedRelativeTargetAt=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 i2)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tP.L),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=(0,iQ.v)(e)&&(!(0,iQ.v)(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;let n=0,r=()=>this.root.updateBlockedByResize=!1;N.Wi.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==n&&(n=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=tm.X.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&((0,N.Pn)(n),t(r-250))};return N.Wi.setup(n,!0),()=>(0,N.Pn)(n)}
1(r,0),iH.hasAnimatedSinceResize&&(iH.hasAnimatedSinceResize=!1,this.nodes.forEach(nV)))})}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()||nW,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!np(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={...eP(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||nV(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(),(0,N.Pn)(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(nL),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[eg];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",N.Wi,!(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(nA);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(nE);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nC),this.nodes.forEach(nT),this.nodes.forEach(nb)):this.nodes.forEach(nE),this.clearAllSnapshots();let t=tm.X.now();N.frameData.delta=(0,ij.u)(0,1e3/60,t-N.frameData.timestamp),N.frameData.timestamp=t,N.frameData.isProcessing=!0,N.yL.update.process(N.frameData),N.yL.preRender.process(N.frameData),N.yL.render.process(N.frameData),N.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tx.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nk),this.sharedNodes.forEach(nj)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,N.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){N.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),!this.snapshot||iv(this.snapshot.measuredBox.x)||iv(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.layoutCorrected=tA(),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&&!nh(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||T(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)),nX((e=n).x),nX(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return tA();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(nZ))){let{scroll:t}=this.root;t&&(A(e.x,t.offset.x),A(e.y,t.offset.y))}return e}removeElementScroll(t){let e=tA();if(ni(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&&ni(e,t),A(e.x,r.offset.x),A(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let i=tA();ni(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&&C(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),T(n.latestValues)&&C(i,n.latestValues)}return T(this.latestValues)&&C(i,this.latestValues),i}removeTransform(t){let e=tA();ni(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!T(i.latestValues))continue;P(i.latestValues)&&i.updateSnapshot();let n=tA();ni(n,i.measurePageBox()),nl(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return T(this.latestValues)&&nl(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!==N.frameData.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)){if(this.resolvedRelativeTargetAt=N.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tA(),this.relativeTargetOrigin=tA(),ib(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),ni(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=tA(),this.targetWithTransforms=tA()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var s,o,a;this.forceRelativeParentToResolveTarget(),s=this.target,o=this.relativeTarget,a=this.relativeParent.target,iP(s.x,o.x,a.x),iP(s.y,o.y,a.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ni(this.target,this.layout.layoutBox),k(this.target,this.targetDelta)):ni(this.target,this.layout.layoutBox);if(this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=tA(),this.relativeTargetOrigin=tA(),ib(this.relativeTargetOrigin,this.target,t.target),ni(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ej.f.value&&ny.calculatedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||P(this.parent.latestValues)||b(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}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===N.frameData.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;ni(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,n=!1){let r,s;let 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&&C(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,k(t,s)),n&&T(r.latestValues)&&C(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=tA());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nn(this.prevProjectionDelta.x,this.projectionDelta.x),nn(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),iw(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&nm(this.projectionDelta.x,this.prevProjectionDelta.x)&&nm(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),ej.f.value&&ny.calculatedProjections++}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=tM(),this.projectionDelta=tM(),this.projectionDeltaWithTransform=tM()}setAnimationOrigin(t,e=!1){let i;let n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=tM();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=tA(),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(nO));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(nB(o.x,t.x,n),nB(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,d,p,f;ib(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,nF(p.x,f.x,a.x,n),nF(p.y,f.y,a.y,n),i&&(u=this.relativeTarget,d=i,nc(u.x,d.x)&&nc(u.y,d.y))&&(this.isProjectionDirty=!1),i||(i=tA()),ni(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=(0,x.t)(0,i.opacity??1,i9(n)),t.opacityExit=(0,x.t)(e.opacity??1,0,i7(n))):s&&(t.opacity=(0,x.t)(e.opacity??1,i.opacity??1,n));for(let r=0;r<i3;r++){let s=`border${i5[r]}Radius`,o=i6(e,s),a=i6(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||i8(o)===i8(a)?(t[s]=Math.max((0,x.t)(i4(o),i4(a),n),0),(L.aQ.test(a)||L.aQ.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,x.t)(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,c,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,N.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=N.Wi.update(()=>{iH.hasAnimatedSinceResize=!0,eL.P.layout++,this.motionValue||(this.motionValue=(0,tg.BX)(0)),this.currentAnimation=function(t,e,
1i){let n=(0,tf.i)(t)?t:(0,tg.BX)(t);return n.start(e8("",n,e,i)),n.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{eL.P.layout--},onComplete:()=>{eL.P.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);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&&nU(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||tA();let e=iv(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=iv(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}ni(e,i),C(e,r),iw(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new ng),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&&nw("z",t,n,this.animationValues);for(let e=0;e<nv.length;e++)nw(`rotate${nv[e]}`,t,n,this.animationValues),nw(`skew${nv[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=eh(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=eh(e?.pointerEvents)||""),this.hasProjected&&!T(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,tq){if(void 0===r[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=tq[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?eh(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(nA),this.root.sharedNodes.clear()}}}function nT(t){t.updateLayout()}function nb(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?iS(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=iv(n);n.min=i[t].min,n.max=n.min+r}):nU(r,e.layoutBox,i)&&iS(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],o=iv(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=tM();iw(o,i,e.layoutBox);let a=tM();s?iw(a,t.applyTransform(n,!0),e.measuredBox):iw(a,i,e.layoutBox);let l=!nh(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=tA();ib(o,e.layoutBox,r.layoutBox);let a=tA();ib(a,i,s.layoutBox),np(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 nS(t){ej.f.value&&ny.nodes++,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 nM(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function nk(t){t.clearSnapshot()}function nA(t){t.clearMeasurements()}function nE(t){t.isLayoutDirty=!1}function nC(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function nV(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function nD(t){t.resolveTargetDelta()}function nR(t){t.calcProjection()}function nL(t){t.resetSkewAndRotation()}function nj(t){t.removeLeadSnapshot()}function nB(t,e,i){t.translate=(0,x.t)(e.translate,0,i),t.scale=(0,x.t)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function nF(t,e,i,n){t.min=(0,x.t)(e.min,i.min,n),t.max=(0,x.t)(e.max,i.max,n)}function nO(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let nW={duration:.45,ease:[.4,0,.1,1]},nI=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),n$=nI("applewebkit/")&&!nI("chrome/")?Math.round:eA.Z;function nX(t){t.min=n$(t.min),t.max=n$(t.max)}function nU(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(nf(e)-nf(i)))}function nZ(t){return t!==t.root&&t.scroll?.wasRoot}let nN=nP({attachResizeListener:(t,e)=>id(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nz={current:void 0},nH=nP({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!nz.current){let t=new nN({});t.mount(window),t.setOptions({layoutScroll:!0}),nz.current=t}return nz.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var nY=i(73278);function nq(t,e){let i=(0,nY.I)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function nK(t){return!("touch"===t.pointerType||ic.x||ic.y)}function n_(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&N.Wi.postRender(()=>r(e,im(e)))}class nG extends ia{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=nq(t,i),o=t=>{if(!nK(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let s=t=>{nK(t)&&(n(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,r)};return n.forEach(t=>{t.addEventListener("pointerenter",o,r)}),s}(t,(t,e)=>(n_(this.node,e,"Start"),t=>n_(this.node,t,"End"))))}unmount(){}}class nJ extends ia{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=(0,ik.z)(id(this.node.current,"focus",()=>this.onFocus()),id(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var nQ=i(79240);let n0=(t,e)=>!!e&&(t===e||n0(t,e.parentElement)),n1=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),n2=new WeakSet;function n5(t){return e=>{"Enter"===e.key&&t(e)}}function n3(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}let n4=(t,e)=>{let i=t.currentTarget;if(!i)return;let n=n5(()=>{if(n2.has(i))return;n3(i,"down");let t=n5(()=>{n3(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>n3(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)};function n8(t){return ip(t)&&!(ic.x||ic.y)}function n6(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&&N.Wi.postRender(()=>r(e,im(e)))}class n9 extends ia{mount(){let{current:t}=this.node;
1t&&(this.unmount=function(t,e,i={}){let[n,r,s]=nq(t,i),o=t=>{let n=t.currentTarget;if(!n8(t))return;n2.add(n);let s=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),n2.has(n)&&n2.delete(n),n8(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,n===window||n===document||i.useGlobalTarget||n0(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),(0,nQ.R)(t)&&(t.addEventListener("focus",t=>n4(t,r)),n1.has(t.tagName)||-1!==t.tabIndex||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(n6(this.node,e,"Start"),(t,{success:e})=>n6(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let n7=new WeakMap,rt=new WeakMap,re=t=>{let e=n7.get(t.target);e&&e(t)},ri=t=>{t.forEach(re)},rn={some:0,all:1};class rr extends ia{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:rn[n]};return function(t,e,i){let n=function({root:t,...e}){let i=t||document;rt.has(i)||rt.set(i,{});
1let n=rt.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(ri,{root:t,...e})),n[r]}(e);return n7.set(t,i),n.observe(t),()=>{n7.delete(t),n.unobserve(t)}}(this.node.current,s,t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!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(),s=e?i:n;s&&s(t)})}mount(){this.startObserver()}update(){if("undefined"==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(){}}let rs=function(t,e){if("undefined"==typeof Proxy)return ex;let i=new Map,n=(i,n)=>ex(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,ex(s,void 0,t,e)),i.get(s))})}({animation:{Feature:il},exit:{Feature:ih},inView:{Feature:rr},tap:{Feature:n9},focus:{Feature:nJ},hover:{Feature:nG},pan:{Feature:iN},drag:{Feature:iU,ProjectionNode:nH,MeasureLayout:iG},layout:{ProjectionNode:nH,MeasureLayout:iG}},(t,e)=>t6(t)?new t4(e):new tG(e,{allowProjection:t!==n.Fragment}))},82652:function(t,e,i){i.d(e,{L:function(){return a},K:function(){return o}});let n=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","ignoreStrict","viewport"]);function r(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||n.has(t)}let s=t=>!r(t);function o(t){"function"==typeof t&&(s=e=>e.startsWith("on")?!r(e):t(e))}try{o(require("@emotion/is-prop-valid").default)}catch{}function a(t,e,i){let n={};for(let o in t)("values"!==o||"object"!=typeof t.values)&&(s(o)||!0===i&&r(o)||!e&&!r(o)||t.draggable&&o.startsWith("onDrag"))&&(n[o]=t[o]);return n}},80226:function(t,e,i){i.d(e,{j:function(){return n}});let n="undefined"!=typeof window},2415:function(t,e,i){i.d(e,{h:function(){return r}});var n=i(7653);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},98739:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(7653);let r=i(80226).j?n.useLayoutEffect:n.useEffect},90379:function(t,e,i){i.d(e,{c:function(){return a}});var n=i(36204),r=i(7653),s=i(11668),o=i(2415);function a(t){let e=(0,o.h)(()=>(0,n.BX)(t)),{isStatic:i}=(0,r.useContext)(s._);if(i){let[,i]=(0,r.useState)(t);(0,r.useEffect)(()=>e.on("change",i),[])}return e}},64700:function(t,e,i){let n,r;i.d(e,{v:function(){return Y}});var s=i(36204),o=i(11151),a=i(7653),l=i(19676),u=i(4238);function h(t,e){let i;let n=()=>{let{currentTime:n}=e,r=(null===n?0:n.value)/100;i!==r&&t(r),i=r};return u.Wi.preUpdate(n,!0),()=>(0,u.Pn)(n)}var c=i(81721),d=i(74802),p=i(73278);let f=new WeakMap,m=(t,e,i)=>(n,r)=>r&&r[0]?r[0][t+"Size"]:(0,d.v)(n)&&"getBBox"in n?n.getBBox()[e]:n[i],g=m("inline","width","offsetWidth"),y=m("block","height","offsetHeight");function v({target:t,borderBoxSize:e}){f.get(t)?.forEach(i=>{i(t,{get width(){return g(t,e)},get height(){return y(t,e)}})})}function x(t){t.forEach(v)}let w=new Set;var P=i(22063),T=i(91660);let b=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),S=()=>({time:0,x:b(),y:b()}),M={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function k(t,e,i,n){let r=i[e],{length:s,position:o}=M[e],a=r.current,l=i.time;r.current=t[`scroll${o}`],r.scrollLength=t[`scroll${s}`]-t[`client${s}`],r.offset.length=0,r.offset[0]=0,r.offset[1]=r.scrollLength,r.progress=(0,P.Y)(0,r.scrollLength,r.current);let u=n-l;r.velocity=u>50?0:(0,T.R)(r.current-a,u)}var A=i(64605),E=i(87413),C=i(970),V=i(79240);let D={start:0,center:.5,end:1};function R(t,e,i=0){let n=0;if(t in D&&(t=D[t]),"string"==typeof t){let e=parseFloat(t);t.endsWith("px")?n=e:t.endsWith("%")?t=e/100:t.endsWith("vw")?n=e/100*document.documentElement.clientWidth:t.endsWith("vh")?n=e/100*document.documentElement.clientHeight:t=e}return"number"==typeof t&&(n=e*t),i+n}let L=[0,0],j=[[0,0],[1,1]],B={x:0,y:0},F=new WeakMap,O=new WeakMap,W=new WeakMap,I=t=>t===document.scrollingElement?window:t;function $(t,{container:e=document.scrollingElement,...i}={}){if(!e)return l.Z;let s=W.get(e);s||(s=new Set,W.set(e,s));
1let o=function(t,e,i,n={}){return{measure:e=>{!function(t,e=t,i){if(i.x.targetOffset=0,i.y.targetOffset=0,e!==t){let n=e;for(;n&&n!==t;)i.x.targetOffset+=n.offsetLeft,i.y.targetOffset+=n.offsetTop,n=n.offsetParent}i.x.targetLength=e===t?e.scrollWidth:e.clientWidth,i.y.targetLength=e===t?e.scrollHeight:e.clientHeight,i.x.containerLength=t.clientWidth,i.y.containerLength=t.clientHeight}(t,n.target,i),k(t,"x",i,e),k(t,"y",i,e),i.time=e,(n.offset||n.target)&&function(t,e,i){let{offset:n=j}=i,{target:r=t,axis:s="y"}=i,o="y"===s?"height":"width",a=r!==t?function(t,e){let i={x:0,y:0},n=t;for(;n&&n!==e;)if((0,V.R)(n))i.x+=n.offsetLeft,i.y+=n.offsetTop,n=n.offsetParent;else if("svg"===n.tagName){let t=n.getBoundingClientRect(),e=(n=n.parentElement).getBoundingClientRect();i.x+=t.left-e.left,i.y+=t.top-e.top}else if(n instanceof SVGGraphicsElement){let{x:t,y:e}=n.getBBox();i.x+=t,i.y+=e;let r=null,s=n.parentNode;for(;!r;)"svg"===s.tagName&&(r=s),s=n.parentNode;n=r}else break;return i}(r,t):B,l=r===t?{width:t.scrollWidth,height:t.scrollHeight}:"getBBox"in r&&"svg"!==r.tagName?r.getBBox():{width:r.clientWidth,height:r.clientHeight},u={width:t.clientWidth,height:t.clientHeight};e[s].offset.length=0;let h=!e[s].interpolate,c=n.length;for(let t=0;t<c;t++){let i=function(t,e,i,n){let r=Array.isArray(t)?t:L,s=0;return"number"==typeof t?r=[t,t]:"string"==typeof t&&(r=(t=t.trim()).includes(" ")?t.split(" "):[t,D[t]?t:"0"]),R(r[0],i,n)-R(r[1],e)}(n[t],u[o],l[o],a[s]);h||i===e[s].interpolatorOffsets[t]||(h=!0),e[s].offset[t]=i}h&&(e[s].interpolate=(0,A.s)(e[s].offset,(0,E.Y)(n),{clamp:!1}),e[s].interpolatorOffsets=[...e[s].offset]),e[s].progress=(0,C.u)(0,1,e[s].interpolate(e[s].current))}(t,i,n)},notify:()=>e(i)}}(e,t,S(),i);if(s.add(o),!F.has(e)){let t=()=>{for(let t of s)t.measure(u.frameData.timestamp);u.Wi.preUpdate(i)},i=()=>{for(let t of s)t.notify()},o=()=>u.Wi.read(t);F.set(e,o);let a=I(e);window.addEventListener("resize",o,{passive:!0}),e!==document.documentElement&&O.set(e,"function"==typeof e?(w.add(e),r||(r=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};w.forEach(e=>e(t))},window.addEventListener("resize",r)),()=>{w.delete(e),w.size||"function"!=typeof r||(window.removeEventListener("resize",r),r=void 0)}):function(t,e){n||"undefined"==typeof ResizeObserver||(n=new ResizeObserver(x));let i=(0,p.I)(t);return i.forEach(t=>{let i=f.get(t);i||(i=new Set,f.set(t,i)),i.add(e),n?.observe(t)}),()=>{i.forEach(t=>{let i=f.get(t);i?.delete(e),i?.size||n?.unobserve(t)})}}(e,o)),a.addEventListener("scroll",o,{passive:!0}),o()}let a=F.get(e);return u.Wi.read(a,!1,!0),()=>{(0,u.Pn)(a);let t=W.get(e);if(!t||(t.delete(o),t.size))return;let i=F.get(e);F.delete(e),i&&(I(e).removeEventListener("scroll",i),O.get(e)?.(),window.removeEventListener("resize",i))}}let X=new Map;function U({source:t,container:e,...i}){let{axis:n}=i;t&&(e=t);let r=X.get(e)??new Map;X.set(e,r);let s=i.target??"self",o=r.get(s)??{},a=n+(i.offset??[]).join(",");return o[a]||(o[a]=!i.target&&(0,c.t)()?new ScrollTimeline({source:e,axis:n}):function(t){let e={value:0},i=$(i=>{e.value=100*i[t.axis].progress},t);return{currentTime:e,cancel:i}}({container:e,...i})),o[a]}var Z=i(2415),N=i(98739);let z=()=>({scrollX:(0,s.BX)(0),scrollY:(0,s.BX)(0),scrollXProgress:(0,s.BX)(0),scrollYProgress:(0,s.BX)(0)}),H=t=>!!t&&!t.current;function Y(){let{container:t,target:e,...i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,Z.h)(z),r=(0,a.useRef)(null),s=(0,a.useRef)(!1),u=(0,a.useCallback)(()=>(r.current=function(t,{axis:e="y",container:i=document.scrollingElement,...n}={}){if(!i)return l.Z;let r={axis:e,container:i,...n};return"function"==typeof t?2===t.length?$(e=>{t(e[r.axis].progress,e)},r):h(t,U(r)):function(t,e){let i=U(e);return t.attachTimeline({timeline:e.target?void 0:i,observe:t=>(t.pause(),h(e=>{t.time=t.iterationDuration*e},i))})}(t,r)}((t,e)=>{let{x:i,y:r}=e;n.scrollX.set(i.current),n.scrollXProgress.set(i.progress),n.scrollY.set(r.current),n.scrollYProgress.set(r.progress)},{...i,container:(null==t?void 0:t.current)||void 0,target:(null==e?void 0:e.current)||void 0}),()=>{var t;null===(t=r.current)||void 0===t||t.call(r)}),[t,e,JSON.stringify(i.offset)]);return(0,N.L)(()=>
1{if(s.current=!1,!(H(t)||H(e)))return u();s.current=!0},[u]),(0,a.useEffect)(()=>s.current?((0,o.k)(!H(t),"Container ref is defined but not hydrated","use-scroll-ref"),(0,o.k)(!H(e),"Target ref is defined but not hydrated","use-scroll-ref"),u()):void 0,[u]),n}},36537:function(t,e,i){i.d(e,{q:function(){return c}});var n=i(30876),r=i(78922),s=i(4238);function o(t){return"number"==typeof t?t:parseFloat(t)}var a=i(7653),l=i(11668),u=i(90379),h=i(97044);function c(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{isStatic:i}=(0,a.useContext)(l._),c=()=>(0,n.i)(t)?t.get():t;if(i)return(0,h.H)(c);let d=(0,u.c)(c());return(0,a.useInsertionEffect)(()=>(function(t,e,i){let a;let l=t.get(),u=null,h=l,c="string"==typeof l?l.replace(/[\d.-]/g,""):void 0,d=()=>{u&&(u.stop(),u=null)},p=()=>{d(),u=new r.L({keyframes:[o(t.get()),o(h)],velocity:t.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...i,onUpdate:a})};if(t.attach((t,e)=>{h=t,a=t=>e(c?t+c:t),s.Wi.postRender(p)},d),(0,n.i)(e)){let i=e.on("change",e=>t.set(c?e+c:e)),n=t.on("destroy",i);return()=>{i(),n()}}return d})(d,t,e),[d,JSON.stringify(e)]),d}},97044:function(t,e,i){i.d(e,{H:function(){return h}});var n=i(64605),r=i(2415),s=i(4238),o=i(98739),a=i(90379);function l(t,e){let i=(0,a.c)(e()),n=()=>i.set(e());return n(),(0,o.L)(()=>{let e=()=>s.Wi.preRender(n,!1,!0),i=t.map(t=>t.on("change",e));return()=>{i.forEach(t=>t()),(0,s.Pn)(n)}}),i}var u=i(36204);function h(t,e,i,r){if("function"==typeof t)return function(t){u.S1.current=[],t();let e=l(u.S1.current,t);return u.S1.current=void 0,e}(t);let s="function"==typeof e?e:function(...t){let e=!Array.isArray(t[0]),i=e?0:-1,r=t[0+i],s=t[1+i],o=t[2+i],a=t[3+i],l=(0,n.s)(s,o,a);return e?l(r):l}(e,i,r);return Array.isArray(t)?c(t,s):c([t],t=>{let[e]=t;return s(e)})}function c(t,e){let i=(0,r.h)(()=>[]);return l(t,()=>{i.length=0;let n=t.length;for(let e=0;e<n;e++)i[e]=t[e].get();return e(i)})}},78922:function(t,e,i){i.d(e,{L:function(){return v}});var n=i(47857),r=i(970),s=i(53348),o=i(91451),a=i(9205),l=i(28532),u=i(4238);let h=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>u.Wi.update(e,t),stop:()=>(0,u.Pn)(e),now:()=>u.frameData.isProcessing?u.frameData.timestamp:o.X.now()}};var c=i(12189),d=i(27955),p=i(51602),f=i(39425),m=i(374),g=i(50617);let y=t=>t/100;class v extends g.T{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!==o.X.now()&&this.tick(o.X.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},a.P.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;(0,m.f)(t);let{type:e=d.F,repeat:i=0,repeatDelay:r=0,repeatType:s,velocity:o=0}=t,{keyframes:a}=t,u=e||d.F;u!==d.F&&"number"!=typeof a[0]&&(this.mixKeyframes=(0,n.z)(y,(0,l.C)(a[0],a[1])),a=[0,100]);let h=u({...t,keyframes:a});"mirror"===s&&(this.mirroredGenerator=u({...t,keyframes:[...a].reverse(),velocity:-o})),null===h.calculatedDuration&&(h.calculatedDuration=(0,p.i)(h));let{calculatedDuration:c}=h;this.calculatedDuration=c,this.resolvedDuration=c+r,this.totalDuration=this.resolvedDuration*(i+1)-r,this.generator=h}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:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:h,repeat:d,repeatType:p,repeatDelay:m,type:g,onUpdate:y,finalKeyframe:v}=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 x=this.currentTime-u*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?x<0:x>n;this.currentTime=Math.max(x,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let P=this.currentTime,T=i;if(d){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,d+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/a)):"mirror"===p&&(T=o)),P=(0,r.u)(0,1,i)*a}let b=w?{done:!1,value:h[0]}:T.next(P);s&&(b.value=s(b.value));let{done:S}=b;w||null===l||(S=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let M=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return M&&g!==c.I&&(b.value=(0,f.$)(h,this.options,v,this.speed)),y&&y(b.value),M&&this.finish(),b}then(t,e){return this.finished.then(t,e)}get duration(){return(0,s.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,s.X)(t)}get time(){return(0,s.X)(this.currentTime)}set time(t){t=(0,s.w)(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(o.X.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=(0,s.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=h,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(o.X.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,a.P.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)}}}
1,12189:function(t,e,i){i.d(e,{I:function(){return s}});var n=i(58012),r=i(46545);function s({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:o=10,bounceStiffness:a=500,modifyTarget:l,min:u,max:h,restDelta:c=.5,restSpeed:d}){let p,f;let m=t[0],g={done:!1,value:m},y=t=>void 0!==u&&t<u||void 0!==h&&t>h,v=t=>void 0===u?h:void 0===h?u:Math.abs(u-t)<Math.abs(h-t)?u:h,x=i*e,w=m+x,P=void 0===l?w:l(w);P!==w&&(x=P-m);let T=t=>-x*Math.exp(-t/s),b=t=>P+T(t),S=t=>{let e=T(t),i=b(t);g.done=Math.abs(e)<=c,g.value=g.done?P:i},M=t=>{y(g.value)&&(p=t,f=(0,n.S)({keyframes:[g.value,v(g.value)],velocity:(0,r.P)(b,t,g.value),damping:o,stiffness:a,restDelta:c,restSpeed:d}))};return M(0),{calculatedDuration:null,next:t=>{let e=!1;return(f||void 0!==p||(e=!0,S(t),M(t)),void 0!==p&&t>=p)?f.next(t-p):(e||S(t),g)}}}},27955:function(t,e,i){i.d(e,{F:function(){return x}});var n=i(1858);let r=(0,n._)(.42,0,1,1),s=(0,n._)(0,0,.58,1),o=(0,n._)(.42,0,.58,1),a=t=>Array.isArray(t)&&"number"!=typeof t[0];var l=i(11151),u=i(19676),h=i(85790),c=i(11856),d=i(38994),p=i(69128);let f={linear:u.Z,easeIn:r,easeInOut:o,easeOut:s,circIn:d.Z7,circInOut:d.X7,circOut:d.Bn,backIn:c.G2,backInOut:c.XL,backOut:c.CG,anticipate:h.L},m=t=>"string"==typeof t,g=t=>{if((0,p.q)(t)){(0,l.k)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,s]=t;return(0,n._)(e,i,r,s)}return m(t)?((0,l.k)(void 0!==f[t],`Invalid easing type '${t}'`,"invalid-easing-type"),f[t]):t};var y=i(64605),v=i(87413);function x({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){let r=a(n)?n.map(g):g(n),s={done:!1,value:e[0]},l=(i&&i.length===e.length?i:(0,v.Y)(e)).map(e=>e*t),u=(0,y.s)(l,e,{ease:Array.isArray(r)?r:e.map(()=>r||o).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(s.value=u(e),s.done=e>=t,s)}}},58012:function(t,e,i){i.d(e,{S:function(){return f}});var n=i(970),r=i(53348),s=i(61901),o=i(51602),a=i(46545);let l={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var u=i(11151);function h(t,e){return t*Math.sqrt(1-e*e)}let c=["duration","bounce"],d=["stiffness","damping","mass"];function p(t,e){return e.some(e=>void 0!==t[e])}function f(t=l.visualDuration,e=l.bounce){let i;let f="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:m,restDelta:g}=f,y=f.keyframes[0],v=f.keyframes[f.keyframes.length-1],x={done:!1,value:y},{stiffness:w,damping:P,mass:T,duration:b,velocity:S,isResolvedFromDuration:M}=function(t){let e={velocity:l.velocity,stiffness:l.stiffness,damping:l.damping,mass:l.mass,isResolvedFromDuration:!1,...t};if(!p(t,d)&&p(t,c)){if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,s=2*(0,n.u)(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:l.mass,stiffness:r,damping:s}}else{let i=function({duration:t=l.duration,bounce:e=l.bounce,velocity:i=l.velocity,mass:s=l.mass}){let o,a;(0,u.K)(t<=(0,r.w)(l.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let c=1-e;c=(0,n.u)(l.minDamping,l.maxDamping,c),t=(0,n.u)(l.minDuration,l.maxDuration,(0,r.X)(t)),c<1?(o=e=>{let n=e*c,r=n*t;return .001-(n-i)/h(e,c)*Math.exp(-r)},a=e=>{let n=e*c*t,r=Math.pow(c,2)*Math.pow(e,2)*t,s=h(Math.pow(e,2),c);return(n*i+i-r)*Math.exp(-n)*(-o(e)+.001>0?-1:1)/s}):(o=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),a=e=>t*t*(i-e)*Math.exp(-e*t));let d=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(o,a,5/t);if(t=(0,r.w)(t),isNaN(d))return{stiffness:l.stiffness,damping:l.damping,duration:t};{let e=Math.pow(d,2)*s;return{stiffness:e,damping:2*c*Math.sqrt(s*e),duration:t}}}(t);(e={...e,...i,mass:l.mass}).isResolvedFromDuration=!0}}return e}({...f,velocity:-(0,r.X)(f.velocity||0)}),k=S||0,A=P/(2*Math.sqrt(w*T)),E=v-y,C=(0,r.X)(Math.sqrt(w/T)),V=5>Math.abs(E);if(m||(m=V?l.restSpeed.granular:l.restSpeed.default),g||(g=V?l.restDelta.granular:l.restDelta.default),A<1){let t=h(C,A);i=e=>v-Math.exp(-A*C*e)*((k+A*C*E)/t*Math.sin(t*e)+E*Math.cos(t*e))}else if(1===A)i=t=>v-Math.exp(-C*t)*(E+(k+C*E)*t);else{let t=C*Math.sqrt(A*A-1);i=e=>{let i=Math.exp(-A*C*e),n=Math.min(t*e,300);return v-i*((k+A*C*E)*Math.sinh(n)+t*E*Math.cosh(n))/t}}let D={calculatedDuration:M&&b||null,next:t=>{let e=i(t);
1if(M)x.done=t>=b;else{let n=0===t?k:0;A<1&&(n=0===t?(0,r.w)(k):(0,a.P)(i,t,e));let s=Math.abs(n)<=m,o=Math.abs(v-e)<=g;x.done=s&&o}return x.value=x.done?v:e,x},toString:()=>{let t=Math.min((0,o.i)(D),o.E),e=(0,s.w)(e=>D.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return D}f.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),s=Math.min((0,o.i)(n),o.E);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:(0,r.X)(s)}}(t,100,f);return t.ease=e.ease,t.duration=(0,r.w)(e.duration),t.type="keyframes",t}},51602:function(t,e,i){i.d(e,{E:function(){return n},i:function(){return r}});let n=2e4;function r(t){let e=0,i=t.next(e);for(;!i.done&&e<n;)e+=50,i=t.next(e);return e>=n?1/0:e}},46545:function(t,e,i){i.d(e,{P:function(){return r}});var n=i(91660);function r(t,e,i){let r=Math.max(e-5,0);return(0,n.R)(i-t(r),e-r)}},39425:function(t,e,i){i.d(e,{$:function(){return r}});let n=t=>null!==t;function r(t,{repeat:e,repeatType:i="loop"},r,s=1){let o=t.filter(n),a=s<0||e&&"loop"!==i&&e%2==1?0:o.length-1;return a&&void 0!==r?r:o[a]}},87413:function(t,e,i){i.d(e,{Y:function(){return s}});var n=i(22063),r=i(37600);function s(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,n.Y)(0,e,s);t.push((0,r.t)(i,1,o))}}(e,t.length-1),e}},50617:function(t,e,i){i.d(e,{T:function(){return n}});class n{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)}}},63341:function(t,e,i){i.d(e,{f:function(){return r},t:function(){return o}});let n=t=>e=>"string"==typeof e&&e.startsWith(t),r=n("--"),s=n("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},374:function(t,e,i){i.d(e,{f:function(){return a}});var n=i(12189),r=i(27955),s=i(58012);let o={decay:n.I,inertia:n.I,tween:r.F,keyframes:r.F,spring:s.S};function a(t){"string"==typeof t.type&&(t.type=o[t.type])}},61901:function(t,e,i){i.d(e,{w:function(){return n}});let n=(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)})`}},17425:function(t,e,i){i.d(e,{Z:function(){return o}});var n=i(48386);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];var s=i(86792);function o(t,e){let i=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,u=r.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,o=!1,a=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},u=0;function h(e){a.has(e)&&(c.schedule(e),t()),u++,e(l)}let c={schedule:(t,e=!1,s=!1)=>{let o=s&&r?i:n;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{n.delete(t),a.delete(t)},process:t=>{if(l=t,r){o=!0;return}r=!0,[i,n]=[n,i],i.forEach(h),e&&s.f.value&&s.f.value.frameloop[e].push(u),u=0,i.clear(),r=!1,o&&(o=!1,c.process(t))}};return c}(l,e?i:void 0),t),{}),{setup:h,read:c,resolveKeyframes:d,preUpdate:p,update:f,preRender:m,render:g,postRender:y}=u,v=()=>{let r=n.c.useManualTiming?a.timestamp:performance.now();i=!1,n.c.useManualTiming||(a.delta=o?1e3/60:Math.max(Math.min(r-a.timestamp,40),1)),a.timestamp=r,a.isProcessing=!0,h.process(a),c.process(a),d.process(a),p.process(a),f.process(a),m.process(a),g.process(a),y.process(a),a.isProcessing=!1,i&&e&&(o=!1,t(v))},x=()=>{i=!0,o=!0,a.isProcessing||t(v)};return{schedule:r.reduce((t,e)=>{let n=u[e];return t[e]=(t,e=!1,r=!1)=>(i||x(),n.schedule(t,e,r)),t},{}),cancel:t=>{for(let e=0;e<r.length;e++)u[r[e]].cancel(t)},state:a,steps:u}}},4238:function(t,e,i){i.d(e,{Pn:function(){return s},Wi:function(){return r},frameData:function(){return o},yL:function(){return a}});var n=i(19676);let{schedule:r,cancel:s,state:o,steps:a}=(0,i(17425).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},91451:function(t,e,i){let n;i.d(e,{X:function(){return a}});var r=i(48386),s=i(4238);function o(){n=void 0}let a={now:()=>(void 0===n&&a.set(s.frameData.isProcessing||r.c.useManualTiming?s.frameData.timestamp:performance.now()),n),set
1:t=>{n=t,queueMicrotask(o)}}},9205:function(t,e,i){i.d(e,{P:function(){return n}});let n={layout:0,mainThread:0,waapi:0}},86792:function(t,e,i){i.d(e,{f:function(){return n}});let n={value:null,addProjectionMetrics:null}},64605:function(t,e,i){i.d(e,{s:function(){return h}});var n=i(48386),r=i(19676),s=i(47857),o=i(11151),a=i(22063),l=i(970),u=i(28532);function h(t,e,{clamp:i=!0,ease:h,mixer:c}={}){let d=t.length;if((0,o.k)(d===e.length,"Both input and output ranges must be the same length","range-length"),1===d)return()=>e[0];if(2===d&&e[0]===e[1])return()=>e[1];let p=t[0]===t[1];t[0]>t[d-1]&&(t=[...t].reverse(),e=[...e].reverse());let f=function(t,e,i){let o=[],a=i||n.c.mix||u.C,l=t.length-1;for(let i=0;i<l;i++){let n=a(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||r.Z:e;n=(0,s.z)(t,n)}o.push(n)}return o}(e,h,c),m=f.length,g=i=>{if(p&&i<t[0])return e[0];let n=0;if(m>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=(0,a.Y)(t[n],t[n+1],i);return f[n](r)};return i?e=>g((0,l.u)(t[0],t[d-1],e)):g}},79240:function(t,e,i){i.d(e,{R:function(){return r}});var n=i(6667);function r(t){return(0,n.K)(t)&&"offsetHeight"in t}},74802:function(t,e,i){i.d(e,{v:function(){return r}});var n=i(6667);function r(t){return(0,n.K)(t)&&"ownerSVGElement"in t}},28532:function(t,e,i){i.d(e,{C:function(){return M}});var n=i(47857),r=i(11151),s=i(63341),o=i(33883),a=i(7336),l=i(75802),u=i(94193);function h(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}var c=i(99781);function d(t,e){return i=>i>0?e:t}var p=i(37600);let f=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},m=[l.$,c.m,u.J],g=t=>m.find(e=>e.test(t));function y(t){let e=g(t);if((0,r.K)(!!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===u.J&&(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=h(a,n,t+1/3),s=h(a,n,t),o=h(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 v=(t,e)=>{let i=y(t),n=y(e);if(!i||!n)return d(t,e);let r={...i};return t=>(r.red=f(i.red,n.red,t),r.green=f(i.green,n.green,t),r.blue=f(i.blue,n.blue,t),r.alpha=(0,p.t)(i.alpha,n.alpha,t),c.m.transform(r))},x=new Set(["none","hidden"]);function w(t,e){return i=>(0,p.t)(t,e,i)}function P(t){return"number"==typeof t?w:"string"==typeof t?(0,s.t)(t)?d:o.$.test(t)?v:S:Array.isArray(t)?T:"object"==typeof t?o.$.test(t)?v:b:d}function T(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>P(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function b(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=P(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let S=(t,e)=>{let i=a.P.createTransformer(e),s=(0,a.V)(t),o=(0,a.V)(e);return s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length?x.has(t)&&!o.values.length||x.has(e)&&!s.values.length?x.has(t)?i=>i<=0?t:e:i=>i>=1?e:t:(0,n.z)(T(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}(s,o),o.values),i):((0,r.K)(!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"),d(t,e))};function M(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,p.t)(t,e,i):P(t)(t,e)}},37600:function(t,e,i){i.d(e,{t:function(){return n}});let n=(t,e,i)=>t+(e-t)*i},73278:function(t,e,i){i.d(e,{I:function(){return n}});function n(t,e,i){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)}},81721:function(t,e,i){i.d(e,{t:function(){return n}});let n=(0,i(8603).X)(()=>void 0!==window.ScrollTimeline)}
1,36204:function(t,e,i){i.d(e,{BX:function(){return h},S1:function(){return l}});var n=i(72859),r=i(91660),s=i(91451),o=i(4238);let a=t=>!isNaN(parseFloat(t)),l={current:void 0};class u{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.X.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=s.X.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=a(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 n.L);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Wi.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 l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,r.R)(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 h(t,e){return new u(t,e)}},75802:function(t,e,i){i.d(e,{$:function(){return r}});var n=i(99781);let r={test:(0,i(80603).i)("#"),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:n.m.transform}},94193:function(t,e,i){i.d(e,{J:function(){return a}});var n=i(3791),r=i(58207),s=i(38599),o=i(80603);let a={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+r.aQ.transform((0,s.N)(e))+", "+r.aQ.transform((0,s.N)(i))+", "+(0,s.N)(n.Fq.transform(o))+")"}},33883:function(t,e,i){i.d(e,{$:function(){return o}});var n=i(75802),r=i(94193),s=i(99781);let o={test:t=>s.m.test(t)||n.$.test(t)||r.J.test(t),parse:t=>s.m.test(t)?s.m.parse(t):r.J.test(t)?r.J.parse(t):n.$.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.m.transform(t):r.J.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},99781:function(t,e,i){i.d(e,{m:function(){return u}});var n=i(970),r=i(3791),s=i(38599),o=i(80603);let a=t=>(0,n.u)(0,255,t),l={...r.Rx,transform:t=>Math.round(a(t))},u={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+l.transform(t)+", "+l.transform(e)+", "+l.transform(i)+", "+(0,s.N)(r.Fq.transform(n))+")"}}
1,80603:function(t,e,i){i.d(e,{i:function(){return s},d:function(){return o}});var n=i(24689);let r=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&r.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[s,o,a,l]=r.match(n.K);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},7336:function(t,e,i){i.d(e,{V:function(){return h},P:function(){return f}});var n=i(33883);let r=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(24689),o=i(38599);let a="number",l="color",u=/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 h(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},s=[],o=0,h=e.replace(u,t=>(n.$.test(t)?(r.color.push(o),s.push(l),i.push(n.$.parse(t))):t.startsWith("var(")?(r.var.push(o),s.push("var"),i.push(t)):(r.number.push(o),s.push(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:h,indexes:r,types:s}}function c(t){return h(t).values}function d(t){let{split:e,types:i}=h(t),r=e.length;return t=>{let s="";for(let u=0;u<r;u++)if(s+=e[u],void 0!==t[u]){let e=i[u];e===a?s+=(0,o.N)(t[u]):e===l?s+=n.$.transform(t[u]):s+=t[u]}return s}}let p=t=>"number"==typeof t?0:n.$.test(t)?n.$.getAnimatableNone(t):t,f={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.K)?.length||0)+(t.match(r)?.length||0)>0},parse:c,createTransformer:d,getAnimatableNone:function(t){let e=c(t);return d(t)(e.map(p))}}},3791:function(t,e,i){i.d(e,{Fq:function(){return s},Rx:function(){return r},bA:function(){return o}});var n=i(970);let r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...r,transform:t=>(0,n.u)(0,1,t)},o={...r,default:1}},58207:function(t,e,i){i.d(e,{$C:function(){return u},RW:function(){return r},aQ:function(){return s},px:function(){return o},vh:function(){return a},vw:function(){return l}});let n=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),r=n("deg"),s=n("%"),o=n("px"),a=n("vh"),l=n("vw"),u={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},24689:function(t,e,i){i.d(e,{K:function(){return n}});let n=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},38599:function(t,e,i){i.d(e,{N:function(){return n}});let n=t=>Math.round(1e5*t)/1e5},30876:function(t,e,i){i.d(e,{i:function(){return n}});let n=t=>!!(t&&t.getVelocity)},12268:function(t,e,i){function n(t,e){-1===t.indexOf(e)&&t.push(e)}function r(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{cl:function(){return r},y4:function(){return n}})},970:function(t,e,i){i.d(e,{u:function(){return n}});let n=(t,e,i)=>i>e?e:i<t?t:i},85790:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(11856);let r=t=>(t*=2)<1?.5*(0,n.G2)(t):.5*(2-Math.pow(2,-10*(t-1)))},11856:function(t,e,i){i.d(e,{CG:function(){return o},G2:function(){return a},XL:function(){return l}});var n=i(1858),r=i(80941),s=i(95714);let o=(0,n._)(.33,1.53,.69,.99),a=(0,s.M)(o),l=(0,r.o)(a)},38994:function(t,e,i){i.d(e,{Bn:function(){return o},X7:function(){return a},Z7:function(){return s}});var n=i(80941),r=i(95714);let s=t=>1-Math.sin(Math.acos(t)),o=(0,r.M)(s),a=(0,n.o)(s)},1858:function(t,e,i){i.d(e,{_:function(){return s}});var n=i(19676);let r=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function s(t,e,i,s){if(t===e&&i===s)return n.Z;let o=e=>(function(t,e,i,n,s){let o,a;let l=0;do(o=r(a=e+(i-e)/2,n,s)-t)>0?i=a:e=a;while(Math.abs(o)>1e-7&&++l<12);return a})(e,0,1,t,i);return t=>0===t||1===t?t:r(o(t),e,s)}},80941:function(t,e,i){i.d(e,{o:function(){return n}});let n=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},95714:function(t,e,i){i.d(e,{M:function(){return n}});let n=t=>e=>1-t(1-e)},69128:function(t,e,i){i.d(e,{q:function(){return n}});let n=t=>Array.isArray(t)&&"number"==typeof t[0]}
1,11151:function(t,e,i){i.d(e,{K:function(){return n},k:function(){return r}});let n=()=>{},r=()=>{}},48386:function(t,e,i){i.d(e,{c:function(){return n}});let n={}},6667:function(t,e,i){i.d(e,{K:function(){return n}});function n(t){return"object"==typeof t&&null!==t}},8603:function(t,e,i){i.d(e,{X:function(){return n}});function n(t){let e;return()=>(void 0===e&&(e=t()),e)}},19676:function(t,e,i){i.d(e,{Z:function(){return n}});let n=t=>t},47857:function(t,e,i){i.d(e,{z:function(){return r}});let n=(t,e)=>i=>e(t(i)),r=(...t)=>t.reduce(n)},22063:function(t,e,i){i.d(e,{Y:function(){return n}});let n=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n}},72859:function(t,e,i){i.d(e,{L:function(){return r}});var n=i(12268);class r{constructor(){this.subscriptions=[]}add(t){return(0,n.y4)(this.subscriptions,t),()=>(0,n.cl)(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}}},53348:function(t,e,i){i.d(e,{X:function(){return r},w:function(){return n}});let n=t=>1e3*t,r=t=>t/1e3},91660:function(t,e,i){i.d(e,{R:function(){return n}});function n(t,e){return e?1e3/e*t:0}}}]);
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.