1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,76525,68877,e=>{"use strict";var t=e.i(43476),i=e.i(22016);let r=(0,e.i(56420).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);e.s(["ArrowRight",0,r],68877);var n=e.i(46932),s=e.i(72328),o=e.i(47163),a=e.i(42295);let l=n.motion.create(i.default),u={primary:"bg-brand text-white hover:bg-brand-strong",dark:"bg-ink text-white hover:bg-ink-soft",light:"bg-paper text-graphite border border-line hover:border-line-strong",outline:"border border-line text-graphite hover:border-line-strong hover:bg-sand-deep/45",outlineDark:"border border-line-dark text-white backdrop-blur-md hover:border-line-dark-strong hover:bg-white/10",quiet:"text-graphite hover:text-brand"},h={sm:"h-9 px-4 text-[13px]",md:"h-11 px-5 text-[14px]",lg:"h-13 px-6.5 text-[15px]"};e.s(["Button",0,function(e){let{children:i,variant:c="primary",size:d="md",arrow:p=!1,className:m,fullWidth:f=!1,...g}=e,v=(0,s.useReducedMotion)(),y=(0,o.cn)("group/btn relative inline-flex items-center justify-center gap-2.5 rounded-full font-medium tracking-[-0.01em] whitespace-nowrap select-none transition-colors duration-300 ease-[cubic-bezier(0.16,1,0.3,1)] disabled:pointer-events-none disabled:opacity-50",u[c],h[d],f&&"w-full",m),x=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:i}),p?(0,t.jsx)(r,{"aria-hidden":!0,className:"size-4 shrink-0 transition-transform duration-400 ease-[
1cubic-bezier(0.16,1,0.3,1)] group-hover/btn:translate-x-[5px]",strokeWidth:1.75}):null]}),b=v?{}:{whileHover:{scale:1.015},whileTap:{scale:.98},transition:a.softSpring};if("string"==typeof e.href){let{href:e,...i}=g;return(0,t.jsx)(l,{href:e,className:y,...b,...i,children:x})}return(0,t.jsx)(n.motion.button,{type:"button",className:y,...b,...g,children:x})}],76525)},51028,e=>{"use strict";let t=(e,t)=>({src:`/fotos/${e}`,alt:t}),i={hero:t("hero-team-waermepumpe.jpg","Das ThermoVision Team vor einer neu installierten Bosch Wärmepumpe"),manifesto:t("energie-haus.png","Einfamilienhaus mit Photovoltaikanlage, Wärmepumpe, Speicher und Wallbox"),services:{photovoltaik:t("leistung-photovoltaik.jpg","Photovoltaikanlage auf dem Ziegeldach eines Hamburger Wohnhauses"),waermepumpen:t("leistung-waermepumpe.jpg","Installierte Bosch Luft-Wasser-Wärmepumpe im Garten eines Wohnhauses")},waermepumpeProdukt:{aussen:t("waermepumpe-aussen.png","Drei Bosch Luft-Wasser-Wärmepumpen als AuÃeneinheiten"),speicher:t("waermepumpe-speicher.png","Zwei Bosch Wärmepumpenspeicher in unterschiedlichen BaugröÃen"),innen:t("waermepumpe-innen.png","Bosch Inneneinheit zur Wandmontage mit Bedienelement")},mobil:{startseite:t("hero-mobil-startseite.jpg","Das ThermoVision Team vor einer neu installierten Bosch Wärmepumpe"),karriere:t("hero-karriere-mobil.jpg","Zwei ThermoVision Kollegen im Gespräch vor dem Servicefahrzeug"),energieberatung:t("hero-mobil-energieberatung.jpg","ThermoVision Mitarbeiter mit Tablet vor einem Einfamilienhaus mit Photovoltaikanlage und Wärmepumpe"),waermepumpe:t("hero-mobil-waermepumpe.jpg","Bosch Luft-Wasser-Wärmepumpe im Garten eines Wohnhauses"),photovoltaik:t("hero-mobil-solaranlage.jpg","Einfamilienhaus mit Photovoltaikanlage auf dem Dach"),klimaanlage:t("hero-mobil-klimaanlage.jpg","Bosch Klimasplitgerät an der Wand eines Wohnzimmers"),heizungstechnik:t("hero-mobil-heizungstechnik.jpg","Bosch Wärmeerzeuger im Technikraum eines Wohnhauses")},seiten:{heroWaermepumpe:t("hero-waermepumpe.jpg","Bosch Luft-Wasser-Wärmepumpe an der AuÃenwand eines Wohnhauses"),heroPhotovoltaik:t("hero-solaranlage.jpg","Photovoltaikmodule auf dem Ziegeldach eines Einfamilienhauses"),heroKlimaanlage:t("hero-klimaanlage.jpg","Bosch Klimasplitgerät an der Wand eines hellen Wohnzimmers"),heroHeizungstechnik:t("hero-heizungstechnik.jpg","Bosch Wärmeerzeuger mit Anbindeleitungen im Technikraum"),heroKarriere:t("hero-karriere.jpg","Zwei ThermoVision Kollegen im Gespräch vor dem Servicefahrzeug"),fachbetriebWaermepumpe:t("fachbetrieb-waermepumpe.jpg","AuÃeneinheit einer Bosch Wärmepumpe neben der Terrasse eines Wohnhauses"),fachbetriebKlimaanlage:t("fachbetrieb-klimaanlage.jpg","Bosch Klimasplitgerät in einem Büroraum mit Fensterfront"),fachbetriebHeizungstechnik:t("fachbetrieb-heizungstechnik.jpg","Bosch Wärmeerzeuger mit Ausdehnungsgefäà und Verrohrung")},process:{beratung:t("prozess-01-beratung.jpg","ThermoVision Mitarbeiter mit Tablet vor einem Wohnhaus mit Photovoltaikanlage"),planung:t("prozess-02-planung.jpg","Planung der Wärmepumpen-Lösung am Tablet im Servicefahrzeug"),installation:t("prozess-03-installation.jpg","ThermoVision Monteur bei der Installation einer Bosch Luft-Wasser-Wärmepumpe"),optimierung:t("prozess-04-optimierung.jpg","Bedienung der Wärmepumpensteuerung mit Betriebsstunden für Heizung, Kühlung und Warmwasser")},finalCta:t("cta-monteur.jpg","ThermoVision Monteur bei der Inbetriebnahme einer Wärmepumpe an einem Wohnhaus"),team:{timo:t("team-timo-melchert.jpg","Timo Melchert, Geschäftsführer und Heizungsbauer bei ThermoVision"),mike:t("team-mike-peterson.jpg","Mike Peterson, Geschäftsführer sowie Heizungs- und Kältetechniker bei ThermoVision"),dirk:t("team-dirk-peterson.jpg","Dirk Peterson, Technikleiter und Heizungsbaumeister bei ThermoVision")},hausPvWaermepumpe:t("haus-pv-waermepumpe.jpg","Wohnhaus mit Photovoltaikanlage auf dem Dach und neu installierter Wärmepumpe")};e.s(["images",0,i])},42295,e=>{"use strict";let t=[.16,1,.3,1];e.s(["EASE_PREMIUM",0,t,"headlineLineVariants",0,{hidden:{y:"115%"},visible:{y:"0%",transition:{duration:.95,ease:t}}}
1,"softSpring",0,{type:"spring",stiffness:320,damping:34,mass:.7},"viewportOnce",0,{once:!0,amount:.25,margin:"0px 0px -8% 0px"}])},47163,e=>{"use strict";e.s(["clamp",0,function(e,t,i){return Math.min(Math.max(e,t),i)},"cn",0,function(...e){return e.filter(Boolean).join(" ")}])},64978,e=>{"use strict";var t=e.i(71645),i=e.i(21476);e.s(["usePresence",0,function(e=!0){let r=(0,t.useContext)(i.PresenceContext);if(null===r)return[!0,null];let{isPresent:n,onExitComplete:s,register:o}=r,a=(0,t.useId)();(0,t.useEffect)(()=>{if(e)return o(a)},[e]);let l=(0,t.useCallback)(()=>e&&s&&s(a),[a,s,e]);return!n&&s?[!1,l]:[!0]}])},31178,e=>{"use strict";let t=(0,e.i(71645).createContext)({});e.s(["LayoutGroupContext",0,t])},48070,e=>{"use strict";let t=(0,e.i(71645).createContext)({strict:!1});e.s(["LazyContext",0,t])},37806,e=>{"use strict";let t=(0,e.i(71645).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});e.s(["MotionConfigContext",0,t])},88291,82474,86549,98001,8576,30665,33871,e=>{"use strict";var t=e.i(71645);let i=(0,t.createContext)({});e.s(["MotionContext",0,i],88291);var r=e.i(87576),n=e.i(32525);function s(e){return Array.isArray(e)?e.join(" "):e}e.s(["useCreateMotionContext",0,function(e){let{initial:o,animate:a}=function(e,t){if((0,r.isControllingVariants)(e)){let{initial:t,animate:i}=e;return{initial:!1===t||(0,n.isVariantLabel)(t)?t:void 0,animate:(0,n.isVariantLabel)(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,t.useContext)(i));return(0,t.useMemo)(()=>({initial:o,animate:a}),[s(o),s(a)])}],82474);var o=e.i(83411),a=e.i(30789),l=e.i(44947);let u=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function h(e,t,i){for(let r in t)(0,o.isMotionValue)(t[r])||(0,a.isForcedMotionValue)(r,i)||(e[r]=t[r])}e.s(["createHtmlRenderState",0,u],86549);var c=e.i(81261),d=e.i(99951);let p=()=>({...u(),attrs:{}});e.s(["createSvgRenderState",0,p],98001);let m=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function f(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||m.has(e)}var g=e.i(44966);e.s(["useRender",0,function(e,i,r,{latestValues:n},s,a=!1,m,v){let y=(m??(0,g.isSVGComponent)(e)?function(e,i,r,n){let s=(0,t.useMemo)(()=>{let t=p();return(0,c.buildSVGAttrs)(t,i,(0,d.isSVGTag)(n),e.transformTemplate,e.style),{...t.attrs,style:{...t.style}}},[i]);if(e.style){let t={};h(t,e.style,e),s.style={...t,...s.style}}return s}:function(e,i){let r,n,s={},o=(r=e.style||{},h(n={},r,e),Object.assign(n,function({transformTemplate:e},i){return(0,t.useMemo)(()=>{let t=u();return(0,l.buildHTMLStyles)(t,i,e),Object.assign({},t.vars,t.style)},[i])}(e,i)),n);return e.drag&&!1!==e.dragListener&&(s.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(s.tabIndex=0),s.style=o,s})(i,n,s,e),x=function(e,t,i,r){let n={};for(let s in e)("values"!==s||"object"!=typeof e.values)&&!(0,o.isMotionValue)(e[s])&&((s.startsWith("on")?!f(s):r?.(s)??!f(s))||!0===i&&f(s)||!t&&!f(s)||e.draggable&&s.startsWith("onDrag"))&&(n[s]=e[s]);return n}(i,"string"==typeof e,a,v),b=e!==t.Fragment?{...x,...y,ref:r}:{},{children:T}=i,w=(0,t.useMemo)(()=>(0,o.isMotionValue)(T)?T.get():T,[T]);return(0,t.createElement)(e,{...b,children:w})}],8576);var v=e.i(84049);e.s(["scrapeHTMLMotionValuesFromProps",()=>v.scrapeMotionValuesFromProps],30665),e.s(["resolveMotionValue",0,function(e){return(0,o.isMotionValue)(e)?e.get():e}],33871)},21476,e=>{"use strict";let t=(0,e.i(71645).createContext)(null);e.s(["PresenceContext",0,t])},4035,25522,e=>{"use strict";
1let t=(0,e.i(71645).createContext)({});e.s(["SwitchLayoutGroupContext",0,t],4035),e.s(["isRefObject",0,function(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}],25522)},33986,61327,19880,41327,65536,85651,7230,e=>{"use strict";let t,i;var r=e.i(42098),n=e.i(60830),s=e.i(30162),o=e.i(87022),a=e.i(55559),l=e.i(53689),u=e.i(27677),h=e.i(80538),c=e.i(39011),d=e.i(706),p=e.i(82774),m=e.i(37541),f=e.i(65091),g=e.i(52101),v=e.i(89026),y=e.i(49652);let x=new WeakMap,b=(e,t,i)=>(r,n)=>n&&n[0]?n[0][e+"Size"]:(0,v.isSVGElement)(r)&&"getBBox"in r?r.getBBox()[t]:r[i],T=b("inline","width","offsetWidth"),w=b("block","height","offsetHeight");function S({target:e,borderBoxSize:t}){x.get(e)?.forEach(i=>{i(e,{get width(){return T(e,t)},get height(){return w(e,t)}})})}function P(e){e.forEach(S)}let M=new Set;function V(e,r){let n;return"function"==typeof e?(M.add(e),i||(i=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};M.forEach(t=>t(e))},window.addEventListener("resize",i)),()=>{M.delete(e),M.size||"function"!=typeof i||(window.removeEventListener("resize",i),i=void 0)}):(!t&&"u">typeof ResizeObserver&&(t=new ResizeObserver(P)),(n=(0,y.resolveElements)(e)).forEach(e=>{let i=x.get(e);i||(i=new Set,x.set(e,i)),i.add(r),t?.observe(e)}),()=>{n.forEach(e=>{let i=x.get(e);i?.delete(r),i?.size||t?.unobserve(e)})})}e.s(["resize",0,V],61327);let E=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),A=new Set(["INPUT","SELECT","TEXTAREA"]);function C(e){return A.has(e.tagName)||!0===e.isContentEditable}e.s(["isElementKeyboardAccessible",0,function(e){return E.has(e.tagName)||!0===e.isContentEditable},"isElementTextInput",0,C],19880);var k=e.i(65566);let D=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function R(e){return{point:{x:e.pageX,y:e.pageY}}}e.s(["isPrimaryPointer",0,D],41327);let j=e=>t=>D(t)&&e(t,R(t));function L(e,t,i,r){return(0,p.addDomEvent)(e,t,j(i),r)}e.s(["addPointerInfo",0,j,"extractEventInfo",0,R],65536);let B=({current:e})=>e?e.ownerDocument.defaultView:null;var O=e.i(25522),F=e.i(38638),I=e.i(63074);let N=(e,t)=>Math.abs(e-t),W=new Set(["auto","scroll"]);class _{constructor(e,t,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=z(this.lastRawMoveEventInfo,this.transformPagePoint));let i=$(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(e=i.offset,t={x:0,y:0},Math.sqrt(N(e.x,t.x)**2+N(e.y,t.y)**2)>=this.distanceThreshold);if(!r&&!n)return;let{point:s}=i,{timestamp:a}=o.frameData;this.history.push({...s,timestamp:a});let{onStart:l,onMove:u}=this.handlers;r||(l&&l(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),u&&u(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=z(t,this.transformPagePoint),o.frame.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=$("pointercancel"===e.type?this.lastMoveEventInfo:z(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,s),r&&r(e,s)},!D(e))return;this.dragSnapToOrigin=n,this.handlers=t,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;const l=z(R(e),this.transformPagePoint),{point:u}=l,{timestamp:h}=o.frameData;this.history=[{...u,timestamp:h}];const{onSessionStart:c}=t;c&&c(e,$(l,this.history));const d={passive:!0,capture:!0};this.removeListeners=(0,F.pipe)(L(this.contextWindow,"pointermove",this.handlePointerMove,d),L(this.contextWindow,"pointerup",this.handlePointerUp,d),L(this.contextWindow,"pointercancel",this.handlePointerUp,d)),a&&this.startScrollTracking(a)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(W.has(e.overflowX)||W.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let i=e===window,r=i?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},n={x:r.x-t.x,y:r.y-t.y};(0!==n.x||0!==n.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(e,r),o.frame.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,o.cancelFrame)(this.updatePoint)}}function z(e,t){return t?{point:t(e.point)}:e}function U(e,t){return{x:e.x-t.x,y:e.y-t.y}}function $({point:e},t){return{point:e,delta:U(e,G(t)),offset:U(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,i=null,r=G(e);for(;t>=0&&(i=e[t],!(r.timestamp-i.timestamp>(0,I.secondsToMilliseconds)(.1)));)t--;if(!i)return{x:0,y:0};i===e[0]&&e.length>2&&r.timestamp-i.timestamp>
12*(0,I.secondsToMilliseconds)(.1)&&(i=e[1]);let n=(0,I.millisecondsToSeconds)(r.timestamp-i.timestamp);if(0===n)return{x:0,y:0};let s={x:(r.x-i.x)/n,y:(r.y-i.y)/n};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t)}}function G(e){return e[e.length-1]}var H=e.i(83920),K=e.i(76959);function X(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function Y(e,t){let i=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,r]=[r,i]),{min:i,max:r}}function q(e,t,i){return{min:Z(e,t),max:Z(e,i)}}function Z(e,t){return"number"==typeof e?e:e[t]||0}let J=new WeakMap;class Q{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,s.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=e=>{t&&this.snapToCursor(R(e).point),this.stopAnimation()},s=(e,t)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,m.setDragLock)(i),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,a.eachAxis)(e=>{let t=this.getAxisMotionValue(e).get()||0;if(f.percent.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[e];r&&(t=(0,g.calcLength)(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),n&&o.frame.update(()=>n(e,t),!1,!0),(0,h.addValueToWillChange)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},l=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(a),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),s&&o.frame.update(()=>s(e,t),!1,!0)},u=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new _(e,{onSessionStart:n,onStart:s,onMove:l,onSessionEnd:u,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:i,contextWindow:B(this.visualElement),element:this.visualElement.current})}stop(e,t){let i=e||this.latestPointerEvent,r=t||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!r||!i)return;let{velocity:s}=r;this.startAnimation(s);let{onDragEnd:a}=this.getProps();a&&o.frame.postRender(()=>a(i,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,i){let{drag:r}=this.getProps();if(!i||!et(e,r,this.currentDirection))return;let n=this.getAxisMotionValue(e),s=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:i},r){return void 0!==t&&e<t?e=r?(0,d.mixNumber)(t,e,r.min):Math.max(e,t):void 0!==i&&e>i&&(e=r?(0,d.mixNumber)(i,e,r.max):Math.min(e,i)),e}(s,this.constraints[e],this.elastic[e])),n.set(s)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&(0,O.isRefObject)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:r,right:n}){return{x:X(e.x,i,n),y:X(e.y,t,r)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:q(e,"left","right"),y:q(e,"top","bottom")}}(t),r!==this.constraints&&!(0,O.isRefObject)(e)&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,a.eachAxis)(e=>{var t,r;let n;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=i.layoutBox[e],r=this.constraints[e],n={},void 0!==r.min&&(n.min=r.min-t.min),void 0!==r.max&&(n.max=r.max-t.min),n))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!(0,O.isRefObject)(t))return!1;let r=t.current;(0,k.invariant)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;n.root&&(n.root.scroll=void 0,n.root.updateScroll());let s=(0,l.measurePageBox)(r,n.root,this.visualElement.getTransformPagePoint()),o=(e=n.layout.layoutBox,{x:Y(e.x,s.x),y:Y(e.y,s.y)});if(i){let e=i((0,u.convertBoxToBoundingBox)(o));this.hasMutatedConstraints=!!e,e&&(o=(0,u.convertBoundingBoxToBox)(e))}return o}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),l=this.constraints||{};return Promise.all((0,a.eachAxis)(o=>{if(!et(o,t,this.currentDirection))return;let a=l&&l[o]||{};(!0===s||s===o)&&(a={min:0,max:0});let u={type:"inertia",velocity:i?e[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...a};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return(0,h.addValueToWillChange)(this.visualElement,e),i.start((0,c.animateMotionValue)(e,i,0,t,this.visualElement,!1))}stopAnimation(){(0,a.eachAxis)(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){(0,a.eachAxis)(t=>{let{drag:i}=this.getProps();
1if(!et(t,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(t);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[t],o=n.get()||0;n.set(e[t]-(0,d.mixNumber)(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!(0,O.isRefObject)(t)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};(0,a.eachAxis)(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var i,n;let s,o,a,l=t.get();r[e]=(i={min:l,max:l},n=this.constraints[e],s=.5,o=(0,g.calcLength)(i),(a=(0,g.calcLength)(n))>o?s=(0,H.progress)(n.min,n.max-o,i.min):o>a&&(s=(0,H.progress)(i.min,i.max-a,n.min)),(0,K.clamp)(0,1,s))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,a.eachAxis)(t=>{if(!et(t,e,null))return;let i=this.getAxisMotionValue(t),{min:n,max:s}=this.constraints[t];i.set((0,d.mixNumber)(n,s,r[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;J.set(this.visualElement,this);let t=this.visualElement.current,i=L(t,"pointerdown",e=>{let{drag:i,dragListener:r=!0}=this.getProps(),n=e.target,s=n!==t&&C(n);i&&r&&!s&&this.start(e)}),r=()=>{var i,r,n;let s,o,{dragConstraints:a}=this.getProps();(0,O.isRefObject)(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),e||(i=t,r=a.current,s=V(i,ee(n=()=>this.scalePositionWithinConstraints())),o=V(r,ee(n)),e=()=>{s(),o()}))},{projection:n}=this.visualElement,s=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),o.frame.read(r);let l=(0,p.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),u=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&((0,a.eachAxis)(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{l(),i(),s(),u&&u(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function ee(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function et(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}class ei extends r.Feature{constructor(e){super(e),this.removeGroupControls=n.noop,this.removeListeners=n.noop,this.controls=new Q(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||n.noop}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}e.s(["DragGesture",0,ei],33986);var er=r;let en=e=>(t,i)=>{e&&o.frame.update(()=>e(t,i),!1,!0)};class es extends er.Feature{constructor(){super(...arguments),this.removePointerDownListener=n.noop}onPointerDown(e){this.session=new _(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:B(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:en(e),onStart:en(t),onMove:en(i),onEnd:(e,t)=>{delete this.session,r&&o.frame.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=L(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}e.s(["PanGesture",0,es],85651),e.s(["globalProjectionState",0,{hasAnimatedSinceResize:!0,hasEverUpdated:!1}],7230)},23070,55559,82774,39676,37541,52101,e=>{"use strict";var t=e.i(42098),i=e.i(18812),r=e.i(72323);function n(e,t,i,r=0,s=1){let o=Array.from(e).sort((e,t)=>
1e.sortNodePosition(t)).indexOf(t),a=e.size,l=(a-1)*r;return"function"==typeof i?i(o,a):1===s?o*r:l-o*r}function s(e,t,o={}){let a=(0,i.resolveVariant)(e,t,"exit"===o.type?e.presenceContext?.custom:void 0),{transition:l=e.getDefaultTransition()||{}}=a||{};o.transitionOverride&&(l=o.transitionOverride);let u=a?()=>Promise.all((0,r.animateTarget)(e,a,o)):()=>Promise.resolve(),h=e.variantChildren&&e.variantChildren.size?(i=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:u}=l;return function(e,t,i=0,r=0,o=0,a=1,l){let u=[];for(let h of e.variantChildren)h.notify("AnimationStart",t),u.push(s(h,t,{...l,delay:i+("function"==typeof r?0:r)+n(e.variantChildren,h,r,o,a)}).then(()=>h.notify("AnimationComplete",t)));return Promise.all(u)}(e,t,i,r,a,u,o)}:()=>Promise.resolve(),{when:c}=l;if(!c)return Promise.all([u(),h(o.delay)]);{let[e,t]="beforeChildren"===c?[u,h]:[h,u];return e().then(()=>t())}}var o=e.i(32525),a=e.i(6840);let l=a.variantProps.length;var u=e.i(85983),h=e.i(73615);function c(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let r=0;r<i;r++)if(t[r]!==e[r])return!1;return!0}let d=[...a.variantPriorityOrder].reverse(),p=a.variantPriorityOrder.length;function m(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function f(){return{animate:m(!0),whileInView:m(),whileHover:m(),whileTap:m(),whileDrag:m(),whileFocus:m(),exit:m()}}class g extends t.Feature{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let o;if(e.notify("AnimationStart",t),Array.isArray(t))o=Promise.all(t.map(t=>s(e,t,n)));else if("string"==typeof t)o=s(e,t,n);else{let s="function"==typeof t?(0,i.resolveVariant)(e,t,n.custom):t;o=Promise.all((0,r.animateTarget)(e,s,n))}return o.then(()=>{e.notify("AnimationComplete",t)})})(e,t,n))),m=f(),g=!0,v=!1,y=t=>(r,n)=>{let s=(0,i.resolveVariant)(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(s){let{transition:e,transitionEnd:t,...i}=s;r={...r,...i,...t}}return r};function x(r){let{props:s}=e,f=function e(t){if(!t)return;if(!t.isControllingVariants){let i=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(i.initial=t.props.initial),i}let i={};for(let e=0;e<l;e++){let r=a.variantProps[e],n=t.props[r];((0,o.isVariantLabel)(n)||!1===n)&&(i[r]=n)}return i}(e.parent)||{},x=[],b=new Set,T={},w=1/0;for(let t=0;t<p;t++){var S,P;let a=d[t],l=m[a],p=void 0!==s[a]?s[a]:f[a],M=(0,o.isVariantLabel)(p),V=a===r?l.isActive:null;!1===V&&(w=t);let E=p===f[a]&&p!==s[a]&&M;if(E&&(g||v)&&e.manuallyAnimateOnMount&&(E=!1),l.protectedKeys={...T},!l.isActive&&null===V||!p&&!l.prevProp||(0,u.isAnimationControls)(p)||"boolean"==typeof p)continue;if("exit"===a&&l.isActive&&!0!==V){l.prevResolvedValues&&(T={...T,...l.prevResolvedValues});continue}let A=(S=l.prevProp,"string"==typeof(P=p)?P!==S:!!Array.isArray(P)&&!c(P,S)),C=A||a===r&&l.isActive&&!E&&M||t>w&&M,k=!1,D=Array.isArray(p)?p:[p],R=D.reduce(y(a),{});!1===V&&(R={});let{prevResolvedValues:j={}}=l,L={...j,...R},B=t=>{C=!0,b.has(t)&&(k=!0,b.delete(t)),l.needsAnimating[t]=!0;let i=e.getValue(t);i&&(i.liveStyle=!1)};for(let e in L){let t=R[e],i=j[e];if(!T.hasOwnProperty(e))((0,h.isKeyframesTarget)(t)&&(0,h.isKeyframesTarget)(i)?!c(t,i)||A:t!==i)?null!=t?B(e):b.add(e):void 0!==t&&b.has(e)?B(e):l.protectedKeys[e]=!0}l.prevProp=p,l.prevResolvedValues=R,l.isActive&&(T={...T,...R}),(g||v)&&e.blockInitialAnimation&&(C=!1);let O=E&&A,F=!O||k;C&&F&&x.push(...D.map(t=>{let r={type:a};if("string"==typeof t&&(g||v)&&!O&&e.manuallyAnimateOnMount&&e.parent){let{parent:s}=e,o=(0,i.resolveVariant)(s,t);if(s.enteringChildren&&o){let{delayChildren:t}=o.transition||{};r.delay=n(s.enteringChildren,e,t)}}return{animation:t,options:r}}))}if(b.size){let t={};if("boolean"!=typeof s.initial){let r=(0,i.resolveVariant)(e,Array.isArray(s.initial)?s.initial[0]:s.initial);r&&r.transition&&(t.transition=r.transition)}b.forEach(i=>{let r=e.getBaseTarget(i),n=e.getValue(i);n&&(n.liveStyle=!0),t[i]=r??null}),x.push({animation:t})}let M=!!x.length;return g&&(!1===s.initial||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(M=!1),g=!1,v=!1,M?t(x):Promise.resolve()}return{animateChanges:x,setActive:function(t,i){if(m[t].isActive===i)return Promise.resolve();
1e.variantChildren?.forEach(e=>e.animationState?.setActive(t,i)),m[t].isActive=i;let r=x(t);for(let e in m)m[e].protectedKeys={};return r},setAnimateFunction:function(i){t=i(e)},getState:()=>m,reset:()=>{m=f(),v=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,u.isAnimationControls)(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}var v=t;let y=0;class x extends v.Feature{constructor(){super(...arguments),this.id=y++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;if(e&&!1===r){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){let r=(0,i.resolveVariant)(this.node,e,t);if(r){let{transition:e,transitionEnd:t,...i}=r;for(let e in i)this.node.getValue(e)?.jump(i[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}e.s(["animations",0,{animation:{Feature:g},exit:{Feature:x}}],23070),e.s(["eachAxis",0,function(e){return[e("x"),e("y")]}],55559),e.s(["addDomEvent",0,function(e,t,i,r={passive:!0}){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}],82774);let b={x:!1,y:!1};e.s(["isDragActive",0,function(){return b.x||b.y},"isDragging",0,b],39676),e.s(["setDragLock",0,function(e){if("x"===e||"y"===e)if(b[e])return null;else return b[e]=!0,()=>{b[e]=!1};return b.x||b.y?null:(b.x=b.y=!0,()=>{b.x=b.y=!1})}],37541);var T=e.i(706);function w(e){return e.max-e.min}function S(e,t,i,r=.5){e.origin=r,e.originPoint=(0,T.mixNumber)(t.min,t.max,e.origin),e.scale=w(i)/w(t),e.translate=(0,T.mixNumber)(i.min,i.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function P(e,t,i,r=0){e.min=(r?(0,T.mixNumber)(i.min,i.max,r):i.min)+t.min,e.max=e.min+w(t)}function M(e,t,i,r=0){let n=r?(0,T.mixNumber)(i.min,i.max,r):i.min;e.min=t.min-n,e.max=e.min+w(t)}e.s(["calcBoxDelta",0,function(e,t,i,r){S(e.x,t.x,i.x,r?r.originX:void 0),S(e.y,t.y,i.y,r?r.originY:void 0)},"calcLength",0,w,"calcRelativeBox",0,function(e,t,i,r){P(e.x,t.x,i.x,r?.x),P(e.y,t.y,i.y,r?.y)},"calcRelativePosition",0,function(e,t,i,r){M(e.x,t.x,i.x,r?.x),M(e.y,t.y,i.y,r?.y)},"isNear",0,function(e,t,i){return Math.abs(e-t)<=i}],52101)},46816,17871,73089,57512,99642,e=>{"use strict";var t=e.i(33986),i=e.i(85651),r=e.i(77397),n=e.i(70596),s=e.i(76959),o=e.i(60830),a=e.i(68705),l=e.i(16896),u=e.i(87333),h=e.i(60140),c=e.i(96173),d=e.i(24463),p=e.i(80248),m=e.i(67807),f=e.i(89026),g=e.i(36331),v=e.i(706),y=e.i(86427),x=e.i(33871),b=e.i(65091),T=e.i(83920),w=e.i(17851),S=e.i(95051);let P=S.cornerRadiusProps.length,M=e=>"string"==typeof e?parseFloat(e):e,V=e=>"number"==typeof e||b.px.test(e);function E(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let A=k(0,.5,w.circOut),C=k(.5,.95,o.noop);function k(e,t,i){return r=>r<e?0:r>t?1:i((0,T.progress)(e,t,r))}function D(e,t){e.min=t.min,e.max=t.max}function R(e,t){D(e.x,t.x),D(e.y,t.y)}function j(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var L=e.i(35636),B=e.i(52101);function O(e,t,i,r,n){return e-=t,e=(0,L.scalePoint)(e,1/i,r),void 0!==n&&(e=(0,L.scalePoint)(e,1/n,r)),e}function F(e,t,[i,r,n],s,o){!function(e,t=0,i=1,r=.5,n,s=e,o=e){if(b.percent.test(t)&&(t=parseFloat(t),t=(0,v.mixNumber)(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let a=(0,v.mixNumber)(s.min,s.max,r);e===s&&(a-=t),e.min=O(e.min,t,i,a,n),e.max=O(e.max,t,i,a,n)}(e,t[i],t[r],t[n],t.scale,s,o)}let I=["x","scaleX","originX"],N=["y","scaleY","originY"];function W(e,t,i,r){F(e.x,t,I,i?i.x:void 0,r?r.x:void 0),F(e.y,t,N,i?i.y:void 0,r?r.y:void 0)}var _=e.i(30162);function z(e){return 0===e.translate&&1===e.scale}function U(e){return z(e.x)&&z(e.y)}function $(e,t){return e.min===t.min&&e.max===t.max}function G(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function H(e,t){return G(e.x,t.x)&&G(e.y,t.y)}function K(e){return(0,B.calcLength)(e.x)/(0,B.calcLength)(e.y)}function X(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var Y=e.i(33887);class q{constructor(){this.members=[]}add(e){(0,Y.addUniqueItem)(this.members,e);for(let t=this.members.length-1;t>=0;t--){let i=this.members[t];if(i===e||i===this.lead||i===this.prevLead)continue;let r=i.instance;r&&!1!==r.isConnected||i.snapshot||((0,Y.removeItem)(this.members,i),i.unmount())}e.scheduleRender()}remove(e){if((0,Y.removeItem)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=i.options,{layoutDependency:n}=e.options;(void 0===r||r!==n)&&(e.resumeFrom=i,t&&(i.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root?.isU
1pdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}var Z=e.i(55559);let J=(e,t)=>e.depth-t.depth;class Q{constructor(){this.children=[],this.isDirty=!1}add(e){(0,Y.addUniqueItem)(this.children,e),this.isDirty=!0}remove(e){(0,Y.removeItem)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(J),this.isDirty=!1,this.children.forEach(e)}}var ee=e.i(77777),et=e.i(7230),ei=e.i(87022);let er={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},en=["","X","Y","Z"],es=0;function eo(e,t,i,r){let{latestValues:n}=t;n[e]&&(i[e]=n[e],t.setStaticValue(e,0),r&&(r[e]=0))}function ea({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},i=t?.()){this.id=es++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,p.statsBuffer.value&&(er.nodes=er.calculatedTargetDeltas=er.calculatedProjections=0),this.nodes.forEach(eh),this.nodes.forEach(ex),this.nodes.forEach(eb),this.nodes.forEach(ec),p.statsBuffer.addProjectionMetrics&&p.statsBuffer.addProjectionMetrics(er)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,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 e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Q)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new n.SubscriptionManager),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let i=this.eventHandlers.get(e);i&&i.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=(0,f.isSVGElement)(t)&&!(0,g.isSVGSVGElement)(t),this.instance=t;let{layoutId:i,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),e){let i,r=0,n=()=>this.root.updateBlockedByResize=!1;ei.frame.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,i&&i(),i=(0,m.delay)(n,250),et.globalProjectionState.hasAnimatedSinceResize&&(et.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(ey)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||eV,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!H(this.targetLayout,r),h=!t&&i;if(this.options.layoutRoot||this.resumeFrom||h||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...(0,u.getValueTransition)(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,h,t.path)}else t||ey(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,ei.cancelFrame)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(eT),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:i}=t.options;if(!i)return;let r=(0,l.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",ei.frame,!(e||i))}let{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&e(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:i}=this.options;if(void 0===t&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(em),this.nodes.forEach(ep);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(ef);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(eg),this.nodes.forEach(ev),this.nodes.forEach(el),this.nodes.forEach(eu)):this.nodes.forEach(ef),this.clearAllSnapshots();let e=c.time.now();ei.frameData.delta=(0,s.clamp)(0,1e3/60,e-ei.frameData.timestamp),ei.frameData.timestamp=e,ei.frameData.isProcessing=!0,ei.frameSteps.update.process(ei.frameData),ei.frameSteps.preRender.process(ei.frameData),ei.frameSteps.render.process(ei.frameData),ei.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,h.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ed),this.sharedNodes.forEach(ew)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ei.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ei.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,B.calcLength)(this.snapshot.measuredBox.x)||(0,B.calcLength)(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 e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,_.createBox)()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!o)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!U(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,n=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||(0,ee.hasTransform)(this.latestValues)||n)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let i=this.measurePageBox(),r=this.removeElementScroll(i);return e&&(r=this.removeTransform(r)),eC((t=r).x),eC(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return(0,_.createBox)();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(eD))){let{scroll:e}=this.root;e&&((0,L.translateAxis)(t.x,e.offset.x),(0,L.translateAxis)(t.y,e.offset.y))}return t}removeElementScroll(e){let t=(0,_.createBox)();if(R(t,e),this.scroll?.wasRoot)return t;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&R(t,e),(0,L.translateAxis)(t.x,n.offset.x),(0,L.translateAxis)(t.y,n.offset.y))}return t}applyTransform(e,t=!1,i){let r=i||(0,_.createBox)();R(r,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&((0,L.translateAxis)(r.x,-i.scroll.offset.x),(0,L.translateAxis)(r.y,-i.scroll.offset.y)),(0,ee.hasTransform)(i.latestValues)&&(0,L.transformBox)(r,i.latestValues,i.layout?.layoutBox)}return(0,ee.hasTransform)(this.latestValues)&&(0,L.transformBox)(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=(0,_.createBox)();R(t,e);for(let e=0;e<this.path.length;e++){let i,r=this.path[e];(0,ee.hasTransform)(r.latestValues)&&(r.instance&&((0,ee.hasScale)(r.latestValues)&&r.updateSnapshot(),R(i=(0,_.createBox)(),r.measurePageBox())),W(t,r.latestValues,r.snapshot?.layoutBox,i))}return(0,ee.hasTransform)(this.latestValues)&&W(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.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!==ei.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
1isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==t;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;if(!this.layout||!(r||n))return;this.resolvedRelativeTargetAt=ei.frameData.timestamp;let s=this.getClosestProjectingParent();s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,_.createBox)(),this.targetWithTransforms=(0,_.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,B.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):R(this.target,this.layout.layoutBox),(0,L.applyBoxDelta)(this.target,this.targetDelta)):R(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0),p.statsBuffer.value&&er.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,ee.hasScale)(this.parent.latestValues)||(0,ee.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,i){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,_.createBox)(),this.relativeTargetOrigin=(0,_.createBox)(),(0,B.calcRelativePosition)(this.relativeTargetOrigin,t,i,this.options.layoutAnchor||void 0),R(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===ei.frameData.timestamp&&(i=!1),i)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;R(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;(0,L.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,_.createBox)());let{target:a}=e;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(j(this.prevProjectionDelta.x,this.projectionDelta.x),j(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,B.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&X(this.projectionDelta.x,this.prevProjectionDelta.x)&&X(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),p.statsBuffer.value&&er.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,_.createDelta)(),this.projectionDelta=(0,_.createDelta)(),this.projectionDeltaWithTransform=(0,_.createDelta)()}setAnimationOrigin(e,t=!1,i){let r,n=this.snapshot,s=n?n.latestValues:{},o={...this.latestValues},a=(0,_.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let l=(0,_.createBox)(),u=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),c=!h||h.members.length<=1,d=!!(u&&!c&&!0===this.options.crossfade&&!this.path.some(eM));this.animationProgress=0;let p=i?.interpolateProjection(e);this.mixTargetDelta=t=>{let i=t/1e3,n=p?.(i);if(n?(a.x.translate=n.x,a.x.scale=(0,v.mixNumber)(e.x.scale,1,i),a.x.origin=e.x.origin,a.x.originPoint=e.x.originPoint,a.y.translate=n.y,a.y.scale=(0,v.mixNumber)(e.y.scale,1,i),a.y.origin=e.y.origin,a.y.originPoint=e.y.originPoint):(eS(a.x,e.x,i),eS(a.y,e.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,m,f,g,y,x;(0,B.calcRelativePosition)(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,g=this.relativeTargetOrigin,y=l,x=i,eP(f.x,g.x,y.x,x),eP(f.y,g.y,y.y,x),r&&(h=this.relativeTarget,m=r,$(h.x,m.x)&&$(h.y,m.y))&&(this.isProjectionDirty=!1),r||(r=(0,_.createBox)()),R(r,this.relativeTarget)}u&&(this.animationValues=o,function(e,t,i,r,n,s){n?(e.opacity=(0,v.mixNumber)(0,i.opacity??1,A(r)),e.o
1pacityExit=(0,v.mixNumber)(t.opacity??1,0,C(r))):s&&(e.opacity=(0,v.mixNumber)(t.opacity??1,i.opacity??1,r));for(let n=0;n<P;n++){let s=S.cornerRadiusProps[n],o=E(t,s),a=E(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||V(o)===V(a)?(e[s]=Math.max((0,v.mixNumber)(M(o),M(a),r),0),(b.percent.test(a)||b.percent.test(o))&&(e[s]+="%")):e[s]=a)}(t.rotate||i.rotate)&&(e.rotate=(0,v.mixNumber)(t.rotate||0,i.rotate||0,r))}(o,s,this.latestValues,i,d,c)),n&&void 0!==n.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=n.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,ei.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ei.frame.update(()=>{et.globalProjectionState.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,y.motionValue)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(0,a.animateSingleValue)(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.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 e=this.getStack();e&&e.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 e=this.getLead(),{targetWithTransforms:t,target:i,layout:r,latestValues:n}=e;if(t&&i&&r){if(this!==e&&this.layout&&r&&ek(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||(0,_.createBox)();let t=(0,B.calcLength)(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let r=(0,B.calcLength)(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+r}R(t,i),(0,L.transformBox)(t,n),(0,B.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,t,n)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new q),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(t=!0),!t)return;let r={};i.z&&eo("z",e,r,this.animationValues);for(let t=0;t<en.length;t++)eo(`rotate${en[t]}`,e,r,this.animationValues),eo(`skew${en[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=(0,x.resolveMotionValue)(t?.pointerEvents)||"",e.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=(0,x.resolveMotionValue)(t?.pointerEvents)||""),this.hasProjected&&!(0,ee.hasTransform)(this.latestValues)&&(e.transform=i?i({},""):"none",this.hasProjected=!1);return}e.visibility="";let n=r.animationValues||r.latestValues;this.applyTransformsToTarget();let s=function(e,t,i){let r="",n=e.x.translate/t.x,s=e.y.translate/t.y,o=i?.z||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),i){let{transformPerspective:e,rotate:t,pathRotation:n,rotateX:s,rotateY:o,skewX:a,skewY:l}=i;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),n&&(r+=`rotate(${n}deg) `),s&&(r+=`rotateX(${s}deg) `),o&&(r+=`rotateY(${o}deg) `),a&&(r+=`skewX(${a}deg) `),l&&(r+=`skewY(${l}deg) `)}let a=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l}
1)`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(s=i(n,s)),e.transform=s;let{x:o,y:a}=this.projectionDelta;for(let t in e.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?e.opacity=r===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:e.opacity=r===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,d.scaleCorrectors){if(void 0===n[t])continue;let{correct:i,applyTo:o,isCSSVariable:a}=d.scaleCorrectors[t],l="none"===s?n[t]:i(n[t],r);if(o){let t=o.length;for(let i=0;i<t;i++)e[o[i]]=l}else a?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=r===this?(0,x.resolveMotionValue)(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(ep),this.root.sharedNodes.clear()}}}function el(e){e.updateLayout()}function eu(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=e.layout,{animationType:n}=e.options,s=t.source!==e.layout.source;if("size"===n)(0,Z.eachAxis)(e=>{let r=s?t.measuredBox[e]:t.layoutBox[e],n=(0,B.calcLength)(r);r.min=i[e].min,r.max=r.min+n});else if("x"===n||"y"===n){let e="x"===n?"y":"x";D(s?t.measuredBox[e]:t.layoutBox[e],i[e])}else ek(n,t.layoutBox,i)&&(0,Z.eachAxis)(r=>{let n=s?t.measuredBox[r]:t.layoutBox[r],o=(0,B.calcLength)(i[r]);n.max=n.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=(0,_.createDelta)();(0,B.calcBoxDelta)(o,i,t.layoutBox);let a=(0,_.createDelta)();s?(0,B.calcBoxDelta)(a,e.applyTransform(r,!0),t.measuredBox):(0,B.calcBoxDelta)(a,i,t.layoutBox);let l=!U(o),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=e.options.layoutAnchor||void 0,a=(0,_.createBox)();(0,B.calcRelativePosition)(a,t.layoutBox,n.layoutBox,o);let l=(0,_.createBox)();(0,B.calcRelativePosition)(l,i,s.layoutBox,o),H(a,l)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:i,snapshot:t,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function eh(e){p.statsBuffer.value&&er.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function ec(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ed(e){e.clearSnapshot()}function ep(e){e.clearMeasurements()}function em(e){e.isLayoutDirty=!0,e.updateLayout()}function ef(e){e.isLayoutDirty=!1}function eg(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function ev(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ey(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ex(e){e.resolveTargetDelta()}function eb(e){e.calcProjection()}function eT(e){e.resetSkewAndRotation()}function ew(e){e.removeLeadSnapshot()}function eS(e,t,i){e.translate=(0,v.mixNumber)(t.translate,0,i),e.scale=(0,v.mixNumber)(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function eP(e,t,i,r){e.min=(0,v.mixNumber)(t.min,i.min,r),e.max=(0,v.mixNumber)(t.max,i.max,r)}function eM(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let eV={duration:.45,ease:[.4,0,.1,1]},eE=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),eA=eE("applewebkit/")&&!eE("chrome/")?Math.round:o.noop;function eC(e){e.min=eA(e.min),e.max=eA(e.max)}function ek(e,t,i){return"position"===e||"preserve-aspect"===e&&!(0,B.isNear)(K(t),K(i),.2)}function eD(e){return e!==e.root&&e.scroll?.wasRoot}var eR=e.i(82774);let ej=ea({attachResizeListener:(e,t)=>(0,eR.addDomEvent)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),eL={current:void 0},eB=ea({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!eL.current){let e=new ej({});e.mount(window),e.setOptions({layoutScroll:!0}),eL.current=e}return eL.current},resetTransform:(e,t)=>
1{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});e.s(["HTMLProjectionNode",0,eB],17871);let eO={pan:{Feature:i.PanGesture},drag:{Feature:t.DragGesture,ProjectionNode:eB,MeasureLayout:r.MeasureLayout}};e.s(["drag",0,eO],46816);var eF=e.i(42098),eI=e.i(39676),eN=e.i(49652);function eW(e,t){let i=(0,eN.resolveElements)(e),r=new AbortController;return[i,{passive:!0,...t,signal:r.signal},()=>r.abort()]}e.s(["setupGesture",0,eW],73089);var e_=e.i(65536);function ez(e,t,i){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&ei.frame.postRender(()=>n(t,(0,e_.extractEventInfo)(t)))}class eU extends eF.Feature{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,i={}){let[r,n,s]=eW(e,i);return r.forEach(e=>{let i,r=!1,s=!1,o=t=>{i&&(i(t),i=void 0),e.removeEventListener("pointerleave",l)},a=e=>{r=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(e))},l=e=>{if("touch"!==e.pointerType){if(r){s=!0;return}o(e)}};e.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||(0,eI.isDragActive)())return;s=!1;let o=t(e,r);"function"==typeof o&&(i=o,e.addEventListener("pointerleave",l,n))},n),e.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",a,n)},n)}),s}(e,(e,t)=>(ez(this.node,t,"Start"),e=>ez(this.node,e,"End"))))}unmount(){}}e.s(["HoverGesture",0,eU],57512);var e$=eF,eG=e.i(38638);class eH extends e$.Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,eG.pipe)((0,eR.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,eR.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}e.s(["FocusGesture",0,eH],99642)},77397,e=>{"use strict";var t=e.i(43476),i=e.i(7230),r=e.i(87022),n=e.i(60140),s=e.i(71645),o=e.i(64978),a=e.i(31178),l=e.i(4035);let u=!1;class h extends s.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:s}=e;s&&(t.group&&t.group.add(s),r&&r.register&&n&&r.register(s),u&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),i.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:n,isPresent:s}=this.props,{projection:o}=i;return o&&(o.isPresent=s,e.layoutDependency!==t&&o.setOptions({...o.options,layoutDependency:t}),u=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==s?o.willUpdate():this.safeToRemove(),e.isPresent!==s&&(s?o.promote():o.relegate()||r.frame.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:i}=e;i&&(i.options.layoutAnchor=t,i.root.didUpdate(),n.microtask.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:r}=e;u=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}e.s(["MeasureLayout",0,function(e){let[i,r]=(0,o.usePresence)(),n=(0,s.useContext)(a.LayoutGroupContext);return(0,t.jsx)(h,{...e,layoutGroup:n,switchLayoutGroup:(0,s.useContext)(l.SwitchLayoutGroupContext),isPresent:i,safeToRemove:r})}])},7051,42098,e=>{"use strict";var t=e.i(43476),i=e.i(71645),r=e.i(31178),n=e.i(48070),s=e.i(37806),o=e.i(88291),a=e.i(82474),l=e.i(8576),u=e.i(44966),h=e.i(11805),c=e.i(1664),d=e.i(76948),p=e.i(13565),m=e.i(21967),f=e.i(83640),g=e.i(35043),v=e.i(21476),y=e.i(4035),x=e.i(25522),b=e.i(74008);function T(e,{forwardMotionProps:w=!1,type:S}={},P,M){P&&(0,p.loadFeatures)(P);let V=S?"svg"===S:(0,u.isSVGComponent)(e),E=V?c.useSVGVisualState:h.useHTMLVisualState;function A(u,h){let c,p={...(0,i.useContext)(s.MotionConfigContext),...u,layoutId:function({layoutId:e}){let t=(0,i.useContext)(r.LayoutGroupContext).id;return t&&void 0!==e?t+"-"+e:e}(u)},{isStatic:m,isValidProp:T}=p,S=(0,a.useCreateMotionContext)(u),P=E(u,m);if(!m&&"u">typeof window){(0,i.useContext)(n.LazyContext).strict;let t=function(e){let{drag:t,layout:i}=(0,d.getInitializedFeatureDefinitions)();if(!t&&!i)return{};let r={...t,...i};return{MeasureLayout:t?.isEnabled(e)||i?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
1(p);c=t.MeasureLayout,S.visualElement=function(e,t,r,a,l,u){let{visualElement:h}=(0,i.useContext)(o.MotionContext),c=(0,i.useContext)(n.LazyContext),d=(0,i.useContext)(v.PresenceContext),p=(0,i.useContext)(s.MotionConfigContext),m=p.reducedMotion,f=p.skipAnimations,T=(0,i.useRef)(null),w=(0,i.useRef)(!1);a=a||c.renderer,!T.current&&a&&(T.current=a(e,{visualState:t,parent:h,props:r,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:m,skipAnimations:f,isSVG:u}),w.current&&T.current&&(T.current.manuallyAnimateOnMount=!0));let S=T.current,P=(0,i.useContext)(y.SwitchLayoutGroupContext);S&&!S.projection&&l&&("html"===S.type||"svg"===S.type)&&function(e,t,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:h,layoutCrossfade:c}=t;e.projection=new i(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&(0,x.isRefObject)(a),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(T.current,r,l,P);let M=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{S&&M.current&&S.update(r,d)});let V=r[g.optimizedAppearDataAttribute],E=(0,i.useRef)(!!V&&"u">typeof window&&!window.MotionHandoffIsComplete?.(V)&&window.MotionHasOptimisedAnimation?.(V));return(0,b.useIsomorphicLayoutEffect)(()=>{w.current=!0,S&&(M.current=!0,window.MotionIsMounted=!0,S.updateFeatures(),S.scheduleRenderMicrotask(),E.current&&S.animationState&&S.animationState.animateChanges())}),(0,i.useEffect)(()=>{S&&(!E.current&&S.animationState&&S.animationState.animateChanges(),E.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(V)}),E.current=!1),S.enteringChildren=void 0)}),S}(e,P,p,M,t.ProjectionNode,V)}return(0,t.jsxs)(o.MotionContext.Provider,{value:S,children:[c&&S.visualElement?(0,t.jsx)(c,{visualElement:S.visualElement,...p}):null,(0,l.useRender)(e,u,(0,f.useMotionRef)(P,S.visualElement,h),P,m,w,V,T)]})}A.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let C=(0,i.forwardRef)(A);return C[m.motionComponentSymbol]=e,C}e.s(["createMotionProxy",0,function(e,t){if("u"<typeof Proxy)return T;let i=new Map,r=(i,r)=>T(i,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(n,s)=>"create"===s?r:(i.has(s)||i.set(s,T(s,void 0,e,t)),i.get(s))})}],7051),e.s(["Feature",0,class{constructor(e){this.isMounted=!1,this.node=e}update(){}}],42098)},46932,72328,e=>{"use strict";var t=e.i(54505),i=e.i(7051),r=e.i(23070),n=e.i(46816),s=e.i(57512),o=e.i(99642),a=e.i(42098),l=e.i(72846),u=e.i(39676);let h=(e,t)=>!!t&&(e===t||h(e,t.parentElement));var c=e.i(41327),d=e.i(73089),p=e.i(19880);let m=new WeakSet;function f(e){return t=>{"Enter"===t.key&&e(t)}}function g(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function v(e){return(0,c.isPrimaryPointer)(e)&&!(0,u.isDragActive)()}let y=new WeakSet;var x=e.i(87022),b=e.i(65536);function T(e,t,i){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&x.frame.postRender(()=>n(t,(0,b.extractEventInfo)(t)))}class w extends a.Feature{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:i}=this.node.props;this.unmount=function(e,t,i={}){let[r,n,s]=(0,d.setupGesture)(e,i),o=e=>{let r=e.currentTarget;if(!v(e)||y.has(e))return;m.add(r),i.stopPropagation&&y.add(e);let s=t(r,e),o={...n,capture:!0},a=(e,t)=>{window.removeEventListener("pointerup",l,o),window.removeEventListener("pointercancel",u,o),m.has(r)&&m.delete(r),v(e)&&"function"==typeof s&&s(e,{success:t})},l=e=>{a(e,r===window||r===document||i.useGlobalTarget||h(r,e.target))},u=e=>{a(e,!1)};window.addEventListener("pointerup",l,o),window.addEventListener("pointercancel",u,o)};return r.forEach(e=>{(i.useGlobalTarget?window:e).addEventListener("pointerdown",o,n),(0,l.isHTMLElement)(e)&&(e.addEventListener("focus",e=>((e,t)=>{let i=e.currentTarget;if(!i)return;let r=f(()=>{if(m.has(i))return;g(i,"down");let e=f(()=>{g(i,"up")});i.addEventListener("keyup",e,t),i.addEventListener("blur",()=>g(i,"cancel"),t)});i.addEventListener("keydown",r,t),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),t)})(e,n)),(0,p.isElementKeyboardAccessible)(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))}),s}(e,(e,t)=>(T(this.node,t,"Start"),(e,{success:t})=>T(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:i?.tap===!1})}unmount(){}}var S=a;let P=new WeakMap,M=new WeakMap,V=e=>{let t=P.get(e.target);t&&t(e)},E=e=>{e.forEach(V)},A={some:0,all:1};class C extends S.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:r,margin:n,amount:s="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:n,threshold:"number"==typeof s?s:A[s]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,o&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),n=t?i:r;n&&n(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let i=e||document;M.has(i)||M.set(i,{});let r=M.get(i),n=JSON.stringify(t);return r[n]||(r[n]=new IntersectionObserver(E,{root:e,...t})),r[n]}(a),P.set(e,l),t.observe(e),()=>{P.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let k={inView:{Feature:C},tap:{Feature:w},focus:{Feature:o.FocusGesture},hover:{Feature:s.HoverGesture}};var D=e.i(17871),R=e.i(77397);let j={layout:{ProjectionNode:D.HTMLProjectionNode,MeasureLayout:R.MeasureLayout}},L={...r.animations,...k,...n.drag,...j},B=(0,i.createMotionProxy)(L,t.createDomVisualElement);e.s(["motion",0,B],46932);var O=e.i(71164),F=e.i(38544),I=e.i(71645);e.s(["useReducedMotion",0,function(){O.hasReducedMotionListener.current||(0,F.initPrefersReducedMotion)();let[e]=(0,I.useState)(O.prefersReducedMotion.current);return e}],72328)},54505,24463,30789,84049,67926,75737,27677,77777,35636,53689,86783,44966,e=>{"use strict";var t=e.i(57788),i=e.i(3973),r=e.i(30162),n=e.i(94978),s=e.i(93787),o=e.i(81261),a=e.i(38698),l=e.i(99951),u=e.i(88826),h=e.i(83411),c=e.i(19928),d=e.i(95051),p=e.i(91018),m=e.i(69577),f=e.i(706);let g={borderRadius:{...p.correctBorderRadius,applyTo:[...d.cornerRadiusProps]},borderTopLeftRadius:p.correctBorderRadius,borderTopRightRadius:p.correctBorderRadius,borderBottomLeftRadius:p.correctBorderRadius,borderBottomRightRadius:p.correctBorderRadius,boxSh
1adow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let r=m.complex.parse(e);if(r.length>5)return e;let n=m.complex.createTransformer(e),s=+("number"!=typeof r[0]),o=i.x.scale*t.x,a=i.y.scale*t.y;r[0+s]/=o,r[1+s]/=a;let l=(0,f.mixNumber)(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};function v(e,{layout:i,layoutId:r}){return t.transformProps.has(e)||e.startsWith("origin")||(i||void 0!==r)&&(!!g[e]||"opacity"===e)}function y(e,t,i){let r=e.style,n=t?.style,s={};if(!r)return s;for(let t in r)((0,h.isMotionValue)(r[t])||n&&(0,h.isMotionValue)(n[t])||v(t,e)||i?.getValue(t)?.liveStyle!==void 0)&&(s[t]=r[t]);return s}function x(e,i,r){let n=y(e,i,r);for(let r in e)((0,h.isMotionValue)(e[r])||(0,h.isMotionValue)(i[r]))&&(n[-1!==t.transformPropOrder.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}e.s(["scaleCorrectors",0,g],24463),e.s(["isForcedMotionValue",0,v],30789),e.s(["scrapeMotionValuesFromProps",0,y],84049),e.s(["scrapeMotionValuesFromProps",0,x],67926);class b extends n.DOMVisualElement{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=r.createBox}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,r){if(t.transformProps.has(r)){let e=(0,i.getDefaultValueType)(r);return e&&e.default||0}if(o.cssStyleProperties.includes(r)){let t=getComputedStyle(e)[r];if("string"==typeof t&&t)return t.trim()}return r=a.camelCaseAttributes.has(r)?r:(0,s.camelToDash)(r),e.getAttribute(r)}scrapeMotionValuesFromProps(e,t,i){return x(e,t,i)}build(e,t,i){(0,o.buildSVGAttrs)(e,t,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(e,t,i,r){(0,u.renderSVG)(e,t,i,r)}mount(e){this.isSVGTag=(0,l.isSVGTag)(e.tagName),super.mount(e)}}e.s(["SVGVisualElement",0,b],75737);var T=e.i(65566),w=e.i(81296);function S({top:e,left:t,right:i,bottom:r}){return{x:{min:t,max:i},y:{min:e,max:r}}}function P(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}function M(e){return void 0===e||1===e}function V({scale:e,scaleX:t,scaleY:i}){return!M(e)||!M(t)||!M(i)}function E(e){return V(e)||A(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function A(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}e.s(["convertBoundingBoxToBox",0,S,"convertBoxToBoundingBox",0,function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}},"transformBoxPoints",0,P],27677);function C(e,t,i){return i+t*(e-i)}function k(e,t,i,r,n){return void 0!==n&&(e=C(e,n,r)),C(e,i,r)+t}function D(e,t=0,i=1,r,n){e.min=k(e.min,t,i,r,n),e.max=k(e.max,t,i,r,n)}function R(e,{x:t,y:i}){D(e.x,t.translate,t.scale,t.originPoint),D(e.y,i.translate,i.scale,i.originPoint)}function j(e,t){e.min+=t,e.max+=t}function L(e,t,i,r,n=.5){let s=(0,f.mixNumber)(e.min,e.max,n);D(e,t,i,s,r)}function B(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function O(e,t,i){let r=i??e;L(e.x,B(t.x,r.x),t.scaleX,t.scale,t.originX),L(e.y,B(t.y,r.y),t.scaleY,t.scale,t.originY)}function F(e,t){return S(P(e.getBoundingClientRect(),t))}e.s(["has2DTranslate",0,A,"hasScale",0,V,"hasTransform",0,E],77777),e.s(["applyBoxDelta",0,R,"applyTreeDeltas",0,function(e,t,i,r=!1){let n,s,o=i.length;if(o){t.x=t.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(j(e.x,-n.scroll.offset.x),j(e.y,-n.scroll.offset.y)),s&&(t.x*=s.x.scale,t.y*=s.y.scale,R(e,s)),r&&E(n.latestValues)&&O(e,n.latestValues,n.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}},"scalePoint",0,C,"transformBox",0,O,"translateAxis",0,j],35636),e.s(["measurePageBox",0,function(e,t,i){let r=F(e,i),{scroll:n}=t;return n&&(j(r.x,n.offset.x),j(r.y,n.offset.y)),r},"measureViewportBox",0,F],53689);var I=n,N=e.i(44947),W=e.i(49095);class _ extends I.DOMVisualElement{constructor(){super(...arguments),this.type="html",this.renderInstance=W.renderHTML}mount(e){(0,T.invariant)(!!e.style,"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(e)}readValueFromInstance(e,i){if(t.transformProps.has(i))return this.projection?.isProjecting?(0,w.defaultTransformValue)(i):(0,w.readTransformValue)(e,i);{let t=window.getComputedStyle(e),r=((0,c.isCSSVariableName)(i)?t.getPropertyValue(i):t[i])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return F(e,t)}build(e,t,i){(0,N.buildHTMLStyles)(e,t,i.transformTemplate)}scrapeMotionValuesFromProps(e,t,i){return y(e,t,i)}}e.s(["HTMLVisualElement",0,_],86783);var z=e.i(71645);let U=["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 $(e){if("string"!=typeof e||e.includes("-"));else if(U.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}e.s(["isSVGComponent",0,$],44966),e.s(["createDomVisualElement",0,(e,t)=>t.isSVG??$(e)?new b(t):new _(t,{allowProjection:e!==z.Fragment})],54505)},11805,1664,76948,13565,21967,83640,e=>{"use strict";var t=e.i(30665),i=e.i(33871),r=e.i(87576),n=e.i(85983),s=e.i(86579),o=e.i(71645),a=e.i(88291),l=e.i(21476),u=e.i(47414);let h=e=>(t,h)=>{let c=(0,o.useContext)(a.MotionContext),d=(0,o.useContext)(l.PresenceContext),p=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},o,a,l){return{latestValues:function(e,t,o,a){let l={},u=a(e,{});for(let e in u)l[e]=(0,i.resolveMotionValue)(u[e]);let{initial:h,animate:c}=e,d=(0,r.isControllingVariants)(e),p=(0,r.isVariantNode)(e);t&&p&&!d&&!1!==e.inherit&&(void 0===h&&(h=t.initial),void 0===c&&(c=t.animate));let m=!!o&&!1===o.initial,f=(m=m||!1===h)?c:h;if(f&&"boolean"!=typeof f&&!(0,n.isAnimationControls)(f)){let t=Array.isArray(f)?f:[f];for(let i=0;i<t.length;i++){let r=(0,s.resolveVariantFromProps)(e,t[i]);if(r){let{transitionEnd:e,transition:t,...i}=r;for(let e in i){let t=i[e];if(Array.isArray(t)){let e=m?t.length-1:0;t=t[e]}null!==t&&(l[e]=t)}for(let t in e)l[t]=e[t]}}}return l}(o,a,l,e),renderState:t()}})(e,t,c,d);
1return h?p():(0,u.useConstant)(p)};var c=e.i(86549);let d=h({scrapeMotionValuesFromProps:t.scrapeHTMLMotionValuesFromProps,createRenderState:c.createHtmlRenderState});e.s(["useHTMLVisualState",0,d],11805);var p=e.i(67926),p=p,m=e.i(98001);let f=h({scrapeMotionValuesFromProps:p.scrapeMotionValuesFromProps,createRenderState:m.createSvgRenderState});e.s(["useSVGVisualState",0,f],1664);var g=e.i(17218);let v={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"]},y=!1;function x(){return!function(){if(y)return;let e={};for(let t in v)e[t]={isEnabled:e=>v[t].some(t=>!!e[t])};(0,g.setFeatureDefinitions)(e),y=!0}(),(0,g.getFeatureDefinitions)()}e.s(["getInitializedFeatureDefinitions",0,x],76948),e.s(["loadFeatures",0,function(e){let t=x();for(let i in e)t[i]={...t[i],...e[i]};(0,g.setFeatureDefinitions)(t)}],13565);let b=Symbol.for("motionComponentSymbol");e.s(["motionComponentSymbol",0,b],21967),e.s(["useMotionRef",0,function(e,t,i){let r=(0,o.useRef)(i);(0,o.useInsertionEffect)(()=>{r.current=i});let n=(0,o.useRef)(null);return(0,o.useCallback)(i=>{i&&e.onMount?.(i),t&&(i?t.mount(i):t.unmount());let s=r.current;if("function"==typeof s)if(i){let e=s(i);"function"==typeof e&&(n.current=e)}else n.current?(n.current(),n.current=null):s(i);else s&&(s.current=i)},[t])}],83640)},47414,e=>{"use strict";var t=e.i(71645);e.s(["useConstant",0,function(e){let i=(0,t.useRef)(null);return null===i.current&&(i.current=e()),i.current}])},74008,e=>{"use strict";var t=e.i(71645);let i="u">typeof window?t.useLayoutEffect:t.useEffect;e.s(["useIsomorphicLayoutEffect",0,i],74008)},56420,e=>{"use strict";var t=e.i(71645),i=e.i(96661);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,i)=>i?i.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var n=e.i(5014);e.s(["default",0,(e,s)=>{let o=(0,t.forwardRef)(({className:o,...a},l)=>(0,t.createElement)(n.default,{ref:l,iconNode:s,className:(0,i.mergeClasses)(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,o),...a}));return o.displayName=r(e),o}],56420)},42062,e=>{"use strict";var t=e.i(46791),i=e.i(60830),r=e.i(96173),n=e.i(83352),s=e.i(14229),o=e.i(21012),a=e.i(92464),l=e.i(55489),u=e.i(43116),h=e.i(79294),c=e.i(60900),d=e.i(62118);let p=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,m=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),f=(0,c.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class g extends h.WithPromise{constructor({autoplay:e=!0,delay:t=0,type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:a="loop",keyframes:l,name:u,motionValue:h,element:c,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=r.time.now();const p={autoplay:e,delay:t,type:i,repeat:n,repeatDelay:s,repeatType:a,name:u,motionValue:h,element:c,...d},m=c?.KeyframeResolver||o.KeyframeResolver;this.keyframeResolver=new m(l,(e,t,i)=>this.onKeyframesResolved(e,t,p,!i),u,h,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,o,h,c){let g;this.keyframeResolver=void 0;let{name:v,type:y,velocity:x,delay:b,isHandoff:T,onUpdate:w}=h;this.resolvedAt=r.time.now();let S=!0;(0,l.canAnimate)(e,v,y,x)||(S=!1,(t.MotionGlobalConfig.instantAnimations||!b)&&w?.((0,s.getFinalKeyframe)(e,h,o)),e[0]=e[e.length-1],(0,u.makeAnimationInstant)(h),h.repeat=0);let P={startTime:c?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:o,...h,keyframes:e},M=S&&!T&&function(e){let{motionValue:t,name:i,repeatDelay:r,repeatType:n,damping:s,type:o,keyframes:a}=e,l=t?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;
1let{onUpdate:u,transformTemplate:h}=t.owner.getProps();return f()&&i&&(d.acceleratedValues.has(i)||m.has(i)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&p.test(e[t]))return!0;return!1}(a))&&("transform"!==i||!h)&&!u&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(P),V=P.motionValue?.owner?.current;if(M)try{g=new a.NativeAnimationExtended({...P,element:V})}catch{g=new n.JSAnimation(P)}else g=new n.JSAnimation(P);g.finished.then(()=>{this.notifyFinished()}).catch(i.noop),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,o.flushKeyframeResolvers)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}e.s(["AsyncMotionValueAnimation",0,g],42062)},83352,e=>{"use strict";e.i(47167);var t=e.i(38638),i=e.i(76959),r=e.i(63074),n=e.i(96173),s=e.i(3163),o=e.i(69308),a=e.i(29462),l=e.i(68514),u=e.i(66857),h=e.i(12008),c=e.i(14229),d=e.i(44573),p=e.i(79294);let m=e=>e/100;class f extends p.WithPromise{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==n.time.now()&&this.tick(n.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;(0,d.replaceTransitionType)(e);let{type:i=l.keyframes,repeat:r=0,repeatDelay:n=0,repeatType:o,velocity:a=0}=e,{keyframes:h}=e,c=i||l.keyframes;c!==l.keyframes&&"number"!=typeof h[0]&&(this.mixKeyframes=(0,t.pipe)(m,(0,s.mix)(h[0],h[1])),h=[0,100]);let p=c({...e,keyframes:h});"mirror"===o&&(this.mirroredGenerator=c({...e,keyframes:[...h].reverse(),velocity:-a})),null===p.calculatedDuration&&(p.calculatedDuration=(0,u.calcGeneratorDuration)(p));let{calculatedDuration:f}=p;this.calculatedDuration=f,this.resolvedDuration=f+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=p}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let r,{generator:n,totalDuration:s,mixKeyframes:o,mirroredGenerator:l,resolvedDuration:u,calculatedDuration:h}=this;if(null===this.startTime)return n.next(0);let{delay:d=0,keyframes:p,repeat:m,repeatType:f,repeatDelay:g,type:v,onUpdate:y,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-s/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let b=this.currentTime-d*(this.playbackSpeed>=0?1:-1),T=this.playbackSpeed>=0?b<0:b>s;this.currentTime=Math.max(b,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let w=this.currentTime,S=n;if(m){let e=Math.min(this.currentTime,s)/u,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,m+1))%2&&("reverse"===f?(r=1-r,g&&(r-=g/u)):"mirror"===f&&(S=l)),w=(0,i.clamp)(0,1,r)*u}T?(this.delayState.value=p[0],r=this.delayState):r=S.next(w),o&&!T&&(r.value=o(r.value));let{done:P}=r;T||null===h||(P=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let M=null===this.holdTime&&("finished"===this.state||"running"===this.state&&P);return M&&v!==a.inertia&&(r.value=(0,c.getFinalKeyframe)(p,this.options,x,this.speed)),y&&y(r.value),M&&this.finish(),r}then(e,t){return this.finished.then(e,t)}get duration(){return(0,r.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,r.millisecondsToSeconds)(e)}get time(){return(0,r.millisecondsToSeconds)(this.currentTime)}set time(e){e=(0,r.secondsToMilliseconds)(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return(0,h.getGeneratorVelocity)(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(n.time.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=(0,r.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=o.frameloopDriver,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=t??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(n.time.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}e.s(["JSAnimation",0,f])},68e3,e=>{"use strict";var t=e.i(65566),i=e.i(63074),r=e.i(60830),n=e.i(94581),s=e.i(30551),o=e.i(14229),a=e.i(79294),l=e.i(35474),u=e.i(53396),h=e.i(97307);class c extends a.WithPromise{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:i,name:r,keyframes:s,pseudoElement:a,allowFlatten:c=!1,finalKeyframe:d,onComplete:p}=e;this.isPseudoElement=!!a,this.allowFlatten=c,this.options=e,(0,t.invariant)("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const m=function({type:e,...t}){return(0,h.isGenerator)(e)&&(0,u.supportsLinearEasing)()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=(0,l.startWaapiAnimation)(i,r,s,m,a),!1===m.autoplay&&this.animation.pause(),this.animation.onfinish=()=>
1{if(this.finishedTime=this.time,!a){let e=(0,o.getFinalKeyframe)(s,this.options,d,this.speed);this.updateMotionValue&&this.updateMotionValue(e),(0,n.setStyle)(i,r,e),this.animation.cancel()}p?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return(0,i.millisecondsToSeconds)(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,i.millisecondsToSeconds)(e)}get time(){return(0,i.millisecondsToSeconds)(Number(this.animation.currentTime)||0)}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,i.secondsToMilliseconds)(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:i,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&(0,s.supportsScrollTimeline)())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),i&&(this.animation.rangeEnd=i),r.noop):n(this)}}e.s(["NativeAnimation",0,c],68e3)},92464,55489,43116,e=>{"use strict";var t=e.i(76959),i=e.i(96173),r=e.i(94581),n=e.i(83352),s=e.i(68e3),o=e.i(44573),a=e.i(17851),l=e.i(41980);let u={anticipate:e.i(78047).anticipate,backInOut:l.backInOut,circInOut:a.circInOut};class h extends s.NativeAnimation{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in u&&(e.ease=u[e.ease])}(e),(0,o.replaceTransitionType)(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:s,onUpdate:o,onComplete:a,element:l,...u}=this.options;if(!s)return;if(void 0!==e)return void s.set(e);let h=new n.JSAnimation({...u,autoplay:!1}),c=Math.max(10,i.time.now()-this.startTime),d=(0,t.clamp)(0,10,c-10),p=h.sample(c).value,{name:m}=this.options;l&&m&&(0,r.setStyle)(l,m,p),s.setWithVelocity(h.sample(Math.max(0,c-d)).value,p,d),h.stop()}}e.s(["NativeAnimationExtended",0,h],92464);var c=e.i(65566),d=e.i(97307),p=e.i(69577);let m=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(p.complex.test(e)||"0"===e)&&!e.startsWith("url("));e.s(["canAnimate",0,function(e,t,i,r){let n=e[0];if(null===n)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],o=m(n,t),a=m(s,t);return(0,c.warning)(o===a,`You are trying to animate ${t} from "${n}" to "${s}". "${o?s:n}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let i=0;i<e.length;i++)if(e[i]!==t)return!0}(e)||("spring"===i||(0,d.isGenerator)(i))&&r)}],55489),e.s(["makeAnimationInstant",0,function(e){e.duration=0,e.type="keyframes"}],43116)},68705,e=>{"use strict";var t=e.i(39011),i=e.i(86427),r=e.i(83411);e.s(["animateSingleValue",0,function(e,n,s){let o=(0,r.isMotionValue)(e)?e:(0,i.motionValue)(e);return o.start((0,t.animateMotionValue)("",o,n,s)),o.animation}])},29462,12008,40254,37025,e=>{"use strict";var t=e.i(28409),i=e.i(25791);function r(e,t,r){let n=Math.max(t-5,0);return(0,i.velocityPerSecond)(r-e(n),t-n)}e.s(["getGeneratorVelocity",0,r],12008),e.s(["inertia",0,function({keyframes:e,velocity:i=0,power:n=.8,timeConstant:s=325,bounceDamping:o=10,bounceStiffness:a=
1500,modifyTarget:l,min:u,max:h,restDelta:c=.5,restSpeed:d}){let p,m,f=e[0],g={done:!1,value:f},v=n*i,y=f+v,x=void 0===l?y:l(y);x!==y&&(v=x-f);let b=e=>-v*Math.exp(-e/s),T=e=>x+b(e),w=e=>{let t=b(e),i=T(e);g.done=Math.abs(t)<=c,g.value=g.done?x:i},S=e=>{let i;if(i=g.value,void 0!==u&&i<u||void 0!==h&&i>h){var n;p=e,m=(0,t.spring)({keyframes:[g.value,(n=g.value,void 0===u?h:void 0===h||Math.abs(u-n)<Math.abs(h-n)?u:h)],velocity:r(T,e,g.value),damping:o,stiffness:a,restDelta:c,restSpeed:d})}};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return(m||void 0!==p||(t=!0,w(e),S(e)),void 0!==p&&e>=p)?m.next(e-p):(t||w(e),g)}}}],29462);var n=e.i(60830);let s=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function o(e,t,i,r){return e===t&&i===r?n.noop:n=>0===n||1===n?n:s(function(e,t,i,r,n){let o,a,l=0;do(o=s(a=t+(i-t)/2,r,n)-e)>0?i=a:t=a;while(Math.abs(o)>1e-7&&++l<12)return a}(n,0,1,e,i),t,r)}e.s(["cubicBezier",0,o],40254);let a=o(.42,0,1,1),l=o(0,0,.58,1),u=o(.42,0,.58,1);e.s(["easeIn",0,a,"easeInOut",0,u,"easeOut",0,l],37025)},68514,e=>{"use strict";var t=e.i(37025),i=e.i(93544),r=e.i(32943),n=e.i(44230),s=e.i(15923);e.s(["keyframes",0,function({duration:e=300,keyframes:o,times:a,ease:l="easeInOut"}){var u;let h=(0,i.isEasingArray)(l)?l.map(r.easingDefinitionToFunction):(0,r.easingDefinitionToFunction)(l),c={done:!1,value:o[0]},d=(u=a&&a.length===o.length?a:(0,s.defaultOffset)(o),u.map(t=>t*e)),p=(0,n.interpolate)(d,o,{ease:Array.isArray(h)?h:o.map(()=>h||t.easeInOut).splice(0,o.length-1)});return{calculatedDuration:e,next:t=>(c.value=p(t),c.done=t>=e,c)}}],68514)},28409,66857,21748,e=>{"use strict";var t=e.i(63074),i=e.i(76959),r=e.i(65566),n=e.i(56512);function s(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}function o(e,i=100,r){let n=r({...e,keyframes:[0,i]}),a=Math.min(s(n),2e4);return{type:"keyframes",ease:e=>n.next(a*e).value/i,duration:(0,t.millisecondsToSeconds)(a)}}e.s(["calcGeneratorDuration",0,s,"maxGeneratorDuration",0,2e4],66857),e.s(["createGeneratorEasing",0,o],21748);let a=.01,l=2,u=.005,h=.5;function c(e,t){return e*Math.sqrt(1-t*t)}let d=["duration","bounce"],p=["stiffness","damping","mass"];function m(e,t){return t.some(t=>void 0!==e[t])}function f(e=.3,o=.3){let g,v,y,x,b,T,w="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:o}:e,{restSpeed:S,restDelta:P}=w,M=w.keyframes[0],V=w.keyframes[w.keyframes.length-1],E={done:!1,value:M},{stiffness:A,damping:C,mass:k,duration:D,velocity:R,isResolvedFromDuration:j}=function(e){let n={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!m(e,p)&&m(e,d))if(n.velocity=0,e.visualDuration){let t=2*Math.PI/(1.2*e.visualDuration),r=t*t,s=2*(0,i.clamp)(.05,1,1-(e.bounce||0))*Math.sqrt(r);n={...n,mass:1,stiffness:r,damping:s}}else{let s=function({duration:e=800,bounce:n=.3,velocity:s=0,mass:o=1}){let a,l;(0,r.warning)(e<=(0,t.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let u=1-n;u=(0,i.clamp)(.05,1,u),e=(0,i.clamp)(.01,10,(0,t.millisecondsToSeconds)(e)),u<1?(a=t=>{let i=t*u,r=i*e;return .001-(i-s)/c(t,u)*Math.exp(-r)},l=t=>{let i=t*u*e,r=Math.pow(u,2)*Math.pow(t,2)*e,n=Math.exp(-i),o=c(Math.pow(t,2),u);return(i*s+s-r)*n*(-a(t)+.001>0?-1:1)/o}):(a=t=>-.001+Math.exp(-t*e)*((t-s)*e+1),l=t=>e*e*(s-t)*Math.exp(-t*e));let h=function(e,t,i){let r=i;for(let i=1;i<12;i++)r-=e(r)/t(r);return r}(a,l,5/e);if(e=(0,t.secondsToMilliseconds)(e),isNaN(h))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(h,2)*o;return{stiffness:t,damping:2*u*Math.sqrt(o*t),duration:e}}}({...e,velocity:0});(n={...n,...s,mass:1}).isResolvedFromDuration=!0}return n}({...w,velocity:-(0,t.millisecondsToSeconds)(w.velocity||0)}),L=R||0,B=C/(2*Math.sqrt(A*k)),O=V-M,F=(0,t.millisecondsToSeconds)(Math.sqrt(A/k)),I=5>Math.abs(O);if(S||(S=I?a:l),P||(P=I?u:h),B<1)y=c(F,B),x=(L+B*F*O)/y,g=e=>V-Math.exp(-B*F*e)*(x*Math.sin(y*e)+O*Math.cos(y*e)),b=B*F*x+O*y,T=B*F*O-x*y,v=e=>Math.exp(-B*F*e)*(b*Math.sin(y*e)+T*Math.cos(y*e));else if(1===B){g=e=>V-Math.exp(-F*e)*(O+(L+F*O)*e);let e=L+F*O;v=t=>Math.exp(-F*t)*(F*e*t-L)}else{let e=F*Math.sqrt(B*B-1);g=t=>{let i=Math.exp(-B*F*t),r=Math.min(e*t,300);return V-i*((L+B*F*O)*Math.sinh(r)+e*O*Math.cosh(r))/e};let t=(L+B*F*O)/e,i=B*F*t-O*e,r=B*F*O-t*e;v=t=>{let n=Math.exp(-B*F*t),s=Math.min(e*t,300);return n*(i*Math.sinh(s)+r*Math.cosh(s))}}let N={calculatedDuration:j&&D||null,velocity:e=>(0,t.secondsToMilliseconds)(v(e)),next:e=>{if(!j&&B<1){let i=Math.exp(-B*F*e),r=Math.sin(y*e),n=Math.cos(y*e),s=V-i*(x*r+O*n);return E.done=Math.abs((0,t.secondsToMilliseconds)(i*(b*r+T*n)))<=S&&Math.abs(V-s)<=P,E.value=E.done?V:s,E}let i=g(e);return j?E.done=e>=D:E.done=Math.abs((0,t.secondsToMilliseconds)(v(e)))<=S&&Math.abs(V-i)<=P,E.value=E.done?V:i,E},toString:()=>{let e=Math.min(s(N),2e4),t=(0,n.generateLinearEasing)(t=>N.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return N}f.applyToOptions=e=>{let i=o(e,100,f);return e.ease=i.ease,e.duration=(0,t.secondsToMilliseconds)(i.duration),e.type="keyframes",e},e.s(["spring",0,f],28409)},97307,e=>{"use strict";e.s(["isGenerator",0,function(e){return"function"==typeof e&&"applyToOptions"in e}])},39011,e=>{"use strict";var t=e.i(63074),i=e.i(46791),r=e.i(42062),n=e.i(83352),s=e.i(87333),o=e.i(43116),a=e.i(57788);let l={type:"spring",stiffness:500,damping:25,restSpeed:10},u={type:"keyframes",duration:.8},h={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};var c=e.i(14229);let d=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);var p=e.i(87022);e.s(["animateMotionValue",0,(e,m,f,g={},v,y)=>x=>{let b=(0,s.getValueTransition)(g,e)||{},T=b.delay||g.delay||0,{elapsed:w=0}=g;w-=(0,t.secondsToMilliseconds)(T);let S={keyframes:Array.isArray(f)?f:[null,f],ease:"easeOut",velocity:m.getVelocity(),...b,delay:-w,onUpdate:e=>{m.set(e),b.onUpdate&&b.onUpdate(e)},onComplete:()=>{x(),b.onComplete&&b.onComplete()},name:e,motionValue:m,element:y?void 0:v};!function(e){for(let t in e)if(!d.has(t))return!0;return!1}(b)&&Object.assign(S,((e,{keyframes:t})=>t.length>2?u:a.transformProps.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:l:h)(e,S)),S.duration&&(S.duration=(0,t.secondsToMilliseconds)(S.duration)),S.repeatDelay&&(S.repeatDelay=(0,t.secondsToMilliseconds)(S.repeatDelay)),void 0!==S.from&&(S.keyframes[0]=S.from);let P=!1;if(!1!==S.type&&(0!==S.duration||S.repeatDelay)||((0,o.makeAnimationInstant)(S),0===S.delay&&(P=!0)),(i.MotionGlobalConfig.instantAnimations||i.MotionGlobalConfig.skipAnimations||v?.shouldSkipAnimations||b.skipAnimations)&&(P=!0,(0,o.makeAnimationInstant)(S),S.delay=0),S.allowFlatten=!b.type&&!b.ease,P&&!y&&void 0!==m.get()){let e=(0,c.getFinalKeyframe)(S.keyframes,b);if(void 0!==e)return void p.frame.update(()=>{S.onUpdate(e),S.onComplete()})}return b.isSync?new n.JSAnimation(S):new r.AsyncMotionValueAnimation(S)}],39011)},72323,e=>{"use strict";var t=e.i(87333),i=e.i(53034),r=e.i(64440),n=e.i(47834),s=e.i(80538),o=e.i(16896),a=e.i(39011),l=e.i(87022);let u="u">typeof window;e.s(["animateTarget",0,function(e,h,{delay:c=0,transitionOverride:d,type:p}={}){let{transition:m,transitionEnd:f,...g}=h,v=e.getDefaultTransition();m=m?(0,i.resolveTransition)(m,v):v;let y=m?.reduceMotion,x=m?.skipAnimations;d&&(m=d);let b=[],T=p&&e.animationState&&e.animationState.getState()[p],w=m?.path;for(let i in w&&w.animateVisualElement(e,g,m,c,b),g){let n=e.getValue(i,e.latestValues[i]??null),h=g[i];if(void 0===h||T&&function({protectedKeys:e,needsAnimating:t},i){let r=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,r}(T,i))continue;let d={delay:c,...(0,t.getValueTransition)(m||{},i)};x&&(d.skipAnimations=!0);let p=n.get();if(void 0!==p&&!n.isAnimating()&&!Array.isArray(h)&&h===p&&!d.velocity){l.frame.update(()=>n.set(h));continue}let f=!1;if(u&&window.MotionHandoffAnimation){let t=(0,o.getOptimisedAppearId)(e);if(t){let e=window.MotionHandoffAnimation(t,i,l.frame);null!==e&&(d.startTime=e,f=!0)}}(0,s.addValueToWillChange)(e,i);let v=y??e.shouldReduceMotion;n.start((0,a.animateMotionValue)(i,n,h,v&&r.positionalKeys.has(i)?{type:!1}:d,e,f));let w=n.animation;w&&b.push(w)}if(f){let t=()=>l.frame.update(()=>{f&&(0,n.setTarget)(e,f)});b.length?Promise.all(b).then(t):t()}return b}])},46436,47507,75554,e=>{"use strict";var t=e.i(64440),i=e.i(77942),r=e.i(84015),n=e.i(19928),s=e.i(21012);let o=e=>/^0[^.\s]+$/u.test(e);e.s(["isZeroValueString",0,o],47507);var a=e.i(69577),l=e.i(8792),u=e.i(19991),h=e.i(3973);let c=new Set([l.filter,u.mask]);function d(e,t){let i=(0,h.getDefaultValueType)(e);return c.has(i)||(i=a.complex),i.getAnimatableNone?i.getAnimatableNone(t):void 0}e.s(["getAnimatableNone",0,d],75554);
1let p=new Set(["auto","none","0"]);var m=e.i(44493);class f extends s.KeyframeResolver{constructor(e,t,i,r,n){super(e,t,i,r,n,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:s,name:o}=this;if(!s||!s.current)return;super.readKeyframes();for(let t=0;t<e.length;t++){let i=e[t];if("string"==typeof i&&(i=i.trim(),(0,n.isCSSVariableToken)(i))){let n=(0,r.getVariableValue)(i,s.current);void 0!==n&&(e[t]=n),t===e.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!t.positionalKeys.has(o)||2!==e.length)return;let[a,l]=e,u=(0,i.findDimensionValueType)(a),h=(0,i.findDimensionValueType)(l);if((0,n.containsCSSVariable)(a)!==(0,n.containsCSSVariable)(l)&&m.positionalValues[o]){this.needsMeasurement=!0;return}if(u!==h)if((0,m.isNumOrPxType)(u)&&(0,m.isNumOrPxType)(h))for(let t=0;t<e.length;t++){let i=e[t];"string"==typeof i&&(e[t]=parseFloat(i))}else m.positionalValues[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,i=[];for(let t=0;t<e.length;t++){var r;(null===e[t]||("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||o(r)))&&i.push(t)}i.length&&function(e,t,i){let r,n=0;for(;n<e.length&&!r;){let t=e[n];"string"==typeof t&&!p.has(t)&&(0,a.analyseComplexValue)(t).values.length&&(r=e[n]),n++}if(r&&i)for(let n of t)e[n]=d(i,r)}(e,i,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:i}=this;if(!e||!e.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=m.positionalValues[i](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(i,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:i}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let n=i.length-1,s=i[n];i[n]=m.positionalValues[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,i])=>{e.getValue(t).set(i)}),this.resolveNoneKeyframes()}}e.s(["DOMKeyframesResolver",0,f],46436)},21012,e=>{"use strict";var t=e.i(11485),i=e.i(44493),r=e.i(87022);let n=new Set,s=!1,o=!1,a=!1;function l(){if(o){let e=Array.from(n).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t=(0,i.removeNonTranslationalTransform)(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,i])=>{e.getValue(t)?.set(i)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}o=!1,s=!1,n.forEach(e=>e.complete(a)),n.clear()}function u(){n.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(o=!0)})}e.s(["KeyframeResolver",0,class{constructor(e,t,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(n.add(this),s||(s=!0,r.frame.read(u),r.frame.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:i,element:r,motionValue:n}=this;if(null===e[0]){let t=n?.get(),s=e[e.length-1];if(void 0!==t)e[0]=t;else if(r&&i){let t=r.readValue(i,s);null!=t&&(e[0]=t)}void 0===e[0]&&(e[0]=s),n&&void 0===t&&n.set(e[0])}(0,t.fillWildcards)(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),n.delete(this)}cancel(){"scheduled"===this.state&&(n.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}},"flushKeyframeResolvers",0,function(){a=!0,u(),l(),a=!1}])},14229,e=>{"use strict";let t=e=>null!==e;e.s(["getFinalKeyframe",0,function(e,{repeat:i,repeatType:r="loop"},n,s=1){let o=e.filter(t),a=s<0||i&&"loop"!==r&&i%2==1?0:o.length-1;return a&&void 0!==n?n:o[a]}])},15923,15932,e=>{"use strict";var t=e.i(83920),i=e.i(706);function r(e,r){let n=e[e.length-1];for(let s=1;s<=r;s++){let o=(0,t.progress)(0,r,s);e.push((0,i.mixNumber)(n,1,o))}}e.s(["fillOffset",0,r],15932),e.s(["defaultOffset",0,function(e){let t=[0];return r(t,e.length-1),t}],15923)},11485,81296,e=>{"use strict";e.s(["fillWildcards",0,function(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}],11485);let t=e=>180*e/Math.PI,i=e=>n(t(Math.atan2(e[1],e[0]))),r={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:i,rotateZ:i,skewX:e=>t(Math.atan(e[1])),skewY:e=>t(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},n=e=>((e%=360)<0&&(e+=360),e),s=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),o=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),a={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:s,scaleY:o,scale:e=>(s(e)+o(e))/2,rotateX:e=>n(t(Math.atan2(e[6],e[5]))),rotateY:e=>n(t(Math.atan2(-e[2],e[0]))),rotateZ:i,rotate:i,skewX:e=>t(Math.atan(e[4])),skewY:e=>t(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function l(e){return+!!e.includes("scale")}function u(e,t){let i,n;if(!e||"none"===e)return l(t);let s=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(s)i=a,n=s;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=r,n=t}if(!n)return l(t);let o=i[t],u=n[1].split(",").map(h);return"function"==typeof o?o(u):u[o]}function h(e){return parseFloat(e.trim())}e.s(["defaultTransformValue",0,l,"parseValueFromTransform",0,u,"readTransformValue",0,(e,t)=>{let{transform:i="none"}=getComputedStyle(e);return u(i,t)}],81296)},44493,e=>{"use strict";
1var t=e.i(81296),i=e.i(57788),r=e.i(76307),n=e.i(65091);let s=new Set(["x","y","z"]),o=i.transformPropOrder.filter(e=>!s.has(e)),a={width:({x:e},{paddingLeft:t="0",paddingRight:i="0",boxSizing:r})=>{let n=e.max-e.min;return"border-box"===r?n:n-parseFloat(t)-parseFloat(i)},height:({y:e},{paddingTop:t="0",paddingBottom:i="0",boxSizing:r})=>{let n=e.max-e.min;return"border-box"===r?n:n-parseFloat(t)-parseFloat(i)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:i})=>(0,t.parseValueFromTransform)(i,"x"),y:(e,{transform:i})=>(0,t.parseValueFromTransform)(i,"y")};a.translateX=a.x,a.translateY=a.y,e.s(["isNumOrPxType",0,e=>e===r.number||e===n.px,"positionalValues",0,a,"removeNonTranslationalTransform",0,function(e){let t=[];return o.forEach(i=>{let r=e.getValue(i);void 0!==r&&(t.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),t}])},35043,e=>{"use strict";let t="data-"+(0,e.i(93787).camelToDash)("framerAppearId");e.s(["optimizedAppearDataAttribute",0,t])},16896,e=>{"use strict";var t=e.i(35043);e.s(["getOptimisedAppearId",0,function(e){return e.props[t.optimizedAppearDataAttribute]}])},79294,e=>{"use strict";e.s(["WithPromise",0,class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}])},84015,e=>{"use strict";var t=e.i(65566),i=e.i(72590),r=e.i(19928);let n=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;e.s(["getVariableValue",0,function e(s,o,a=1){(0,t.invariant)(a<=4,`Max CSS variable fallback depth detected in property "${s}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[l,u]=function(e){let t=n.exec(e);if(!t)return[,];let[,i,r,s]=t;return[`--${i??r}`,s]}(s);if(!l)return;let h=window.getComputedStyle(o).getPropertyValue(l);if(h){let e=h.trim();return(0,i.isNumericalString)(e)?parseFloat(e):e}return(0,r.isCSSVariableToken)(u)?e(u,o,a+1):u}])},87333,53034,e=>{"use strict";function t(e,t){if(e?.inherit&&t){let{inherit:i,...r}=e;return{...t,...r}}return e}e.s(["resolveTransition",0,t],53034),e.s(["getValueTransition",0,function(e,i){let r=e?.[i]??e?.default??e;return r!==e?t(r,e):r}],87333)},19928,e=>{"use strict";let t=e=>t=>"string"==typeof t&&t.startsWith(e),i=t("--"),r=t("var(--"),n=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;e.s(["containsCSSVariable",0,function(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")},"isCSSVariableName",0,i,"isCSSVariableToken",0,e=>!!r(e)&&n.test(e.split("/*")[0].trim())])},44573,e=>{"use strict";var t=e.i(29462),i=e.i(68514),r=e.i(28409);let n={decay:t.inertia,inertia:t.inertia,tween:i.keyframes,keyframes:i.keyframes,spring:r.spring};e.s(["replaceTransitionType",0,function(e){"string"==typeof e.type&&(e.type=n[e.type])}])},35474,e=>{"use strict";var t=e.i(60855),i=e.i(53396),r=e.i(56512);let n=([e,t,i,r])=>`cubic-bezier(${e}, ${t}, ${i}, ${r})`,s={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:n([0,.65,.55,1]),circOut:n([.55,0,1,.45]),backIn:n([.31,.01,.66,-.59]),backOut:n([.33,1.53,.69,.99])};e.s(["startWaapiAnimation",0,function(e,o,a,{delay:l=0,duration:u=300,repeat:h=0,repeatType:c="loop",ease:d="easeOut",times:p}={},m){let f={[o]:a};p&&(f.offset=p);let g=function e(o,a){if(o)return"function"==typeof o?(0,i.supportsLinearEasing)()?(0,r.generateLinearEasing)(o,a):"ease-out":(0,t.isBezierDefinition)(o)?n(o):Array.isArray(o)?o.map(t=>e(t,a)||s.easeOut):s[o]}(d,u);Array.isArray(g)&&(f.easing=g);let v={delay:l,duration:u,easing:Array.isArray(g)?"linear":g,fill:"both",iterations:h+1,direction:"reverse"===c?"alternate":"normal"};return m&&(v.pseudoElement=m),e.animate(f,v)}],35474)},62118,e=>{"use strict";let t=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);e.s(["acceleratedValues",0,t])},56512,e=>{"use strict";e.s(["generateLinearEasing",0,(e,t,i=10)=>{let r="",n=Math.max(Math.round(t/i),2);for(let t=0;t<n;t++)r+=Math.round(1e4*e(t/(n-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`}])},87022,51571,e=>{"use strict";var t=e.i(60830),i=e.i(46791);let r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function n(e,t){let n=!1,s=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,l=r.reduce((e,t)=>
1(e[t]=function(e){let t=new Set,i=new Set,r=!1,n=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(t){s.has(t)&&(l.schedule(t),e()),t(o)}let l={schedule:(e,n=!1,o=!1)=>{let a=o&&r?t:i;return n&&s.add(e),a.add(e),e},cancel:e=>{i.delete(e),s.delete(e)},process:e=>{if(o=e,r){n=!0;return}r=!0;let s=t;t=i,i=s,t.forEach(a),t.clear(),r=!1,n&&(n=!1,l.process(e))}};return l}(a),e),{}),{setup:u,read:h,resolveKeyframes:c,preUpdate:d,update:p,preRender:m,render:f,postRender:g}=l,v=()=>{let r=i.MotionGlobalConfig.useManualTiming,a=r?o.timestamp:performance.now();n=!1,r||(o.delta=s?1e3/60:Math.max(Math.min(a-o.timestamp,40),1)),o.timestamp=a,o.isProcessing=!0,u.process(o),h.process(o),c.process(o),d.process(o),p.process(o),m.process(o),f.process(o),g.process(o),o.isProcessing=!1,n&&t&&(s=!1,e(v))};return{schedule:r.reduce((t,i)=>{let r=l[i];return t[i]=(t,i=!1,a=!1)=>(!n&&(n=!0,s=!0,o.isProcessing||e(v)),r.schedule(t,i,a)),t},{}),cancel:e=>{for(let t=0;t<r.length;t++)l[r[t]].cancel(e)},state:o,steps:l}}e.s(["createRenderBatcher",0,n],51571);let{schedule:s,cancel:o,state:a,steps:l}=n("u">typeof requestAnimationFrame?requestAnimationFrame:t.noop,!0);e.s(["cancelFrame",0,o,"frame",0,s,"frameData",0,a,"frameSteps",0,l],87022)},60140,e=>{"use strict";let{schedule:t,cancel:i}=(0,e.i(51571).createRenderBatcher)(queueMicrotask,!1);e.s(["cancelMicrotask",0,i,"microtask",0,t])},96173,e=>{"use strict";let t;var i=e.i(46791),r=e.i(87022);function n(){t=void 0}let s={now:()=>(void 0===t&&s.set(r.frameData.isProcessing||i.MotionGlobalConfig.useManualTiming?r.frameData.timestamp:performance.now()),t),set:e=>{t=e,queueMicrotask(n)}};e.s(["time",0,s])},94978,17218,e=>{"use strict";var t=e.i(83411),i=e.i(46436),r=e.i(63074),n=e.i(72590),s=e.i(47507),o=e.i(70596),a=e.i(21012),l=e.i(68e3),u=e.i(62118),h=e.i(60140),c=e.i(96173),d=e.i(30162),p=e.i(86427),m=e.i(69577),f=e.i(75554),g=e.i(66538),v=e.i(72094),y=e.i(87576),x=e.i(57788),b=e.i(58163),T=e.i(38544),w=e.i(86579),S=e.i(71164),P=e.i(87022);let M=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],V={};class E{scrapeMotionValuesFromProps(e,t,i){return{}}constructor({parent:e,props:i,presenceContext:r,reducedMotionConfig:n,skipAnimations:s,blockInitialAnimation:o,visualState:l},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=a.KeyframeResolver,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=c.time.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,P.frame.render(this.render,!1,!0))};const{latestValues:h,renderState:d}=l;this.latestValues=h,this.baseTarget={...h},this.initialValues=i.initial?{...h}:{},this.renderState=d,this.parent=e,this.props=i,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=s,this.options=u,this.blockInitialAnimation=!!o,this.isControllingVariants=(0,y.isControllingVariants)(i),this.isVariantNode=(0,y.isVariantNode)(i),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:p,...m}=this.scrapeMotionValuesFromProps(i,{},this);for(const e in m){const i=m[e];void 0!==h[e]&&(0,t.isMotionValue)(i)&&i.set(h[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,v.visualElementStore.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(S.hasReducedMotionListener.current||(0,T.initPrefersReducedMotion)(),this.shouldReduceMotion=S.prefersReducedMotion.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),(0,P.cancelFrame)(this.notifyUpdate),(0,P.cancelFrame)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let i;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&u.acceleratedValues.has(e)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:s,ease:o,duration:a}=t.accelerate,u=new l.NativeAnimation({element:this.current,name:e,keyframes:n,times:s,ease:o,duration:(0,r.secondsToMilliseconds)(a)}),h=i(u);this.valueSubscriptions.set(e,()=>{h(),u.cancel()});return}let n=x.transformProps.has(e);n&&this.onBindTransform&&this.onBindTransform();let s=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&P.frame.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{s(),i&&i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in V){let t=V[e];if(!t)continue;let{isEnabled:i,Feature:r}=t;if(!this.features[e]&&r&&i(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,d.createBox)()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<M.length;t++){let i=M[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=e["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=(0,b.updateMotionValuesFromProps)(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let i=this.values.get(e);t!==i&&(i&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=(0,p.motionValue)(null===t?void 0:t,{owner:this}),this.addValue(e,i)),i}readValue(e,i){let r=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&((0,n.isNumericalString)(r)||(0,s.isZeroValueString)(r))?r=parseFloat(r):!(0,g.findValueType)(r)&&m.complex.test(i)&&(r=(0,f.getAnimatableNone)(e,i)),this.setBaseTarget(e,(0,t.isMotionValue)(r)?r.get():r)),(0,t.isMotionValue)(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let i,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let t=(0,w.resolveVariantFromProps)(this.props,r,this.presenceContext?.custom);t&&(i=t[e])}if(r&&void 0!==i)return i;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||(0,t.isMotionValue)(n)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new o.SubscriptionManager),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){h.microtask.render(this.render)}}e.s(["VisualElement",0,E,"getFeatureDefinitions",0,function(){return V},"setFeatureDefinitions",0,function(e){V=e}
1],17218),e.s(["DOMVisualElement",0,class extends E{constructor(){super(...arguments),this.KeyframeResolver=i.DOMKeyframesResolver}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let i=e.style;return i?i[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,t.isMotionValue)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}],94978)},94581,60900,86902,30551,e=>{"use strict";function t(e){let t;return()=>(void 0===t&&(t=e()),t)}e.s(["setStyle",0,function(e,t,i){t.startsWith("--")?e.style.setProperty(t,i):e.style[t]=i}],94581),e.s(["memo",0,t],60900);let i={};function r(e,r){let n=t(e);return()=>i[r]??n()}e.s(["memoSupports",0,r],86902);let n=r(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),s=r(()=>void 0!==window.ViewTimeline,"viewTimeline");e.s(["supportsScrollTimeline",0,n,"supportsViewTimeline",0,s],30551)},93787,e=>{"use strict";e.s(["camelToDash",0,function(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}])},72094,e=>{"use strict";let t=new WeakMap;e.s(["visualElementStore",0,t])},81261,44947,38698,99951,49095,88826,95051,91018,e=>{"use strict";let t=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var i=e.i(34929),r=e.i(57788),n=e.i(19928);let s={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},o=r.transformPropOrder.length;function a(e,a,l){let{style:u,vars:h,transformOrigin:c}=e,d=!1,p=!1;for(let e in a){let s=a[e];if(r.transformProps.has(e)){d=!0;continue}if((0,n.isCSSVariableName)(e)){h[e]=s;continue}{let r=t(s,i.numberValueTypes[e]);e.startsWith("origin")?(p=!0,c[e]=r):u[e]=r}}if(!a.transform&&(d||l?u.transform=function(e,n,a){let l="",u=!0;for(let h=0;h<o;h++){let o=r.transformPropOrder[h],c=e[o];if(void 0===c)continue;let d=!0;if("number"==typeof c)d=c===+!!o.startsWith("scale");else{let e=parseFloat(c);d=o.startsWith("scale")?1===e:0===e}if(!d||a){let e=t(c,i.numberValueTypes[o]);if(!d){u=!1;let t=s[o]||o;l+=`${t}(${e}) `}a&&(n[o]=e)}}let h=e.pathRotation;return h&&(u=!1,l+=`rotate(${t(h,i.numberValueTypes.pathRotation)}) `),l=l.trim(),a?l=a(n,u?"":l):u&&(l="none"),l}(a,e.transform,l):u.transform&&(u.transform="none")),p){let{originX:e="50%",originY:t="50%",originZ:i=0}=c;u.transformOrigin=`${e} ${t} ${i}`}}e.s(["buildHTMLStyles",0,a],44947);let l={offset:"stroke-dashoffset",array:"stroke-dasharray"},u={offset:"strokeDashoffset",array:"strokeDasharray"},h=["transform","opacity","offsetDistance","offsetPath","offsetRotate","offsetAnchor"];e.s(["buildSVGAttrs",0,function(e,{attrX:t,attrY:i,attrScale:r,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...c},d,p,m){if(a(e,c,p),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:f,style:g}=e;for(let e of h)void 0!==f[e]&&(g[e]=f[e],delete f[e]);(g.transform||f.transformOrigin)&&(g.transformOrigin=f.transformOrigin??"50% 50%",delete f.transformOrigin),g.transform&&(g.transformBox=m?.transformBox??"fill-box",delete f.transformBox),void 0!==t&&(f.x=t),void 0!==i&&(f.y=i),void 0!==r&&(f.scale=r),void 0!==n&&function(e,t,i=1,r=0,n=!0){e.pathLength=1;let s=n?l:u;e[s.offset]=`${-r}`,e[s.array]=`${t} ${i}`}(f,n,s,o,!1)},"cssStyleProperties",0,h],81261);let c=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"]);e.s(["camelCaseAttributes",0,c],38698),e.s(["isSVGTag",0,e=>"string"==typeof e&&"svg"===e.toLowerCase()],99951);var d=e.i(93787);function p(e,{style:t,vars:i},r,n){let s,o=e.style;for(s in t)o[s]=t[s];for(s in n?.applyProjectionStyles(o,r),i)o.setProperty(s,i[s])}e.s(["renderHTML",0,p],49095),e.s(["renderSVG",0,function(e,t,i,r){for(let i in p(e,t,void 0,r),t.attrs)e.setAttribute(c.has(i)?i:(0,d.camelToDash)(i),t.attrs[i])}],88826),e.s(["cornerRadiusProps",0,["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"]],95051);var m=e.i(65091);function f(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let g={correct:(e,t)=>
1{if(!t.target)return e;if("string"==typeof e)if(!m.px.test(e))return e;else e=parseFloat(e);let i=f(e,t.target.x),r=f(e,t.target.y);return`${i}% ${r}%`}};e.s(["correctBorderRadius",0,g],91018)},87576,85983,32525,6840,58163,71164,38544,e=>{"use strict";function t(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function i(e){return"string"==typeof e||Array.isArray(e)}e.s(["isAnimationControls",0,t],85983),e.s(["isVariantLabel",0,i],32525);let r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],n=["initial",...r];function s(e){return t(e.animate)||n.some(t=>i(e[t]))}e.s(["variantPriorityOrder",0,r,"variantProps",0,n],6840),e.s(["isControllingVariants",0,s,"isVariantNode",0,function(e){return!!(s(e)||e.variants)}],87576);var o=e.i(86427),a=e.i(83411);e.s(["updateMotionValuesFromProps",0,function(e,t,i){for(let r in t){let n=t[r],s=i[r];if((0,a.isMotionValue)(n))e.addValue(r,n);else if((0,a.isMotionValue)(s))e.addValue(r,(0,o.motionValue)(n,{owner:e}));else if(s!==n)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(n):t.hasAnimated||t.set(n)}else{let t=e.getStaticValue(r);e.addValue(r,(0,o.motionValue)(void 0!==t?t:n,{owner:e}))}}for(let r in i)void 0===t[r]&&e.removeValue(r);return t}],58163);let l={current:null},u={current:!1};e.s(["hasReducedMotionListener",0,u,"prefersReducedMotion",0,l],71164);let h="u">typeof window;e.s(["initPrefersReducedMotion",0,function(){if(u.current=!0,h)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>l.current=e.matches;e.addEventListener("change",t),t()}else l.current=!1}],38544)},64440,e=>{"use strict";let t=new Set(["width","height","top","left","right","bottom",...e.i(57788).transformPropOrder]);e.s(["positionalKeys",0,t])},57788,e=>{"use strict";let t=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set([...t,"pathRotation"]);e.s(["transformPropOrder",0,t,"transformProps",0,i])},18812,e=>{"use strict";var t=e.i(86579);e.s(["resolveVariant",0,function(e,i,r){let n=e.getProps();return(0,t.resolveVariantFromProps)(n,i,void 0!==r?r:n.custom,e)}])},86579,e=>{"use strict";function t(e){let t=[{},{}];return e?.values.forEach((e,i)=>{t[0][i]=e.get(),t[1][i]=e.getVelocity()}),t}e.s(["resolveVariantFromProps",0,function(e,i,r,n){if("function"==typeof i){let[s,o]=t(n);i=i(void 0!==r?r:e.custom,s,o)}if("string"==typeof i&&(i=e.variants&&e.variants[i]),"function"==typeof i){let[s,o]=t(n);i=i(void 0!==r?r:e.custom,s,o)}return i}])},47834,73615,80538,e=>{"use strict";var t=e.i(86427),i=e.i(18812);let r=e=>Array.isArray(e);e.s(["isKeyframesTarget",0,r],73615),e.s(["setTarget",0,function(e,n){let{transitionEnd:s={},transition:o={},...a}=(0,i.resolveVariant)(e,n)||{};for(let i in a={...a,...s}){var l;let n=r(l=a[i])?l[l.length-1]||0:l;e.hasValue(i)?e.getValue(i).set(n):e.addValue(i,(0,t.motionValue)(n))}}],47834);var n=e.i(46791),s=e.i(83411);e.s(["addValueToWillChange",0,function(e,t){let i=e.getValue("willChange");if((0,s.isMotionValue)(i)&&i.add)return i.add(t);if(!i&&n.MotionGlobalConfig.WillChange){let i=new n.MotionGlobalConfig.WillChange("auto");e.addValue("willChange",i),i.add(t)}}],80538)},80248,67807,e=>{"use strict";e.s(["statsBuffer",0,{value:null,addProjectionMetrics:null}],80248);var t=e.i(96173);e.i(63074);var i=e.i(87022);e.s(["delay",0,function(e,r){let n=t.time.now(),s=({timestamp:t})=>{let o=t-n;o>=r&&((0,i.cancelFrame)(s),e(o-r))};return i.frame.setup(s,!0),()=>(0,i.cancelFrame)(s)}],67807)},44230,e=>{"use strict";var t=e.i(65566),i=e.i(76959),r=e.i(46791),n=e.i(60830),s=e.i(38638),o=e.i(83920),a=e.i(3163);e.s(["interpolate",0,function(e,l,{clamp:u=!0,ease:h,mixer:c}={}){let d=e.length;if((0,t.invariant)(d===l.length,"Both input and output ranges must be the same length","range-length"),1===d)return()=>l[0];if(2===d&&l[0]===l[1])return()=>l[1];let p=e[0]===e[1];e[0]>e[d-1]&&(e=[...e].reverse(),l=[...l].reverse());let m=function(e,t,i){let o=[],l=i||r.MotionGlobalConfig.mix||a.mix,u=e.length-1;for(let i=0;i<u;i++){let r=l(e[i],e[i+1]);if(t){let e=Array.isArray(t)?t[i]||n.noop:t;r=(0,s.pipe)(e,r)}o.push(r)}return o}(l,h,c),f=m.length,g=t=>
1{if(p&&t<e[0])return l[0];let i=0;if(f>1)for(;i<e.length-2&&!(t<e[i+1]);i++);let r=(0,o.progress)(e[i],e[i+1],t);return m[i](r)};return u?t=>g((0,i.clamp)(e[0],e[d-1],t)):g}])},72846,e=>{"use strict";var t=e.i(42824);e.s(["isHTMLElement",0,function(e){return(0,t.isObject)(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}])},89026,e=>{"use strict";var t=e.i(42824);e.s(["isSVGElement",0,function(e){return(0,t.isObject)(e)&&"ownerSVGElement"in e}])},36331,e=>{"use strict";var t=e.i(89026);e.s(["isSVGSVGElement",0,function(e){return(0,t.isSVGElement)(e)&&"svg"===e.tagName}])},3163,69308,e=>{"use strict";var t=e.i(38638),i=e.i(65566),r=e.i(19928),n=e.i(79444),s=e.i(69577),o=e.i(63011),a=e.i(22660);function l(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}var u=e.i(66820);function h(e,t){return i=>i>0?t:e}var c=e.i(706);let d=(e,t,i)=>{let r=e*e,n=i*(t*t-r)+r;return n<0?0:Math.sqrt(n)},p=[o.hex,u.rgba,a.hsla];function m(e){let t=p.find(t=>t.test(e));if((0,i.warning)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===a.hsla&&(r=function({hue:e,saturation:t,lightness:i,alpha:r}){e/=360,i/=100;let n=0,s=0,o=0;if(t/=100){let r=i<.5?i*(1+t):i+t-i*t,a=2*i-r;n=l(a,r,e+1/3),s=l(a,r,e),o=l(a,r,e-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(r)),r}let f=(e,t)=>{let i=m(e),r=m(t);if(!i||!r)return h(e,t);let n={...i};return e=>(n.red=d(i.red,r.red,e),n.green=d(i.green,r.green,e),n.blue=d(i.blue,r.blue,e),n.alpha=(0,c.mixNumber)(i.alpha,r.alpha,e),u.rgba.transform(n))},g=new Set(["none","hidden"]);function v(e,t){return i=>(0,c.mixNumber)(e,t,i)}function y(e){return"number"==typeof e?v:"string"==typeof e?(0,r.isCSSVariableToken)(e)?h:n.color.test(e)?f:T:Array.isArray(e)?x:"object"==typeof e?n.color.test(e)?f:b:h}function x(e,t){let i=[...e],r=i.length,n=e.map((e,i)=>y(e)(e,t[i]));return e=>{for(let t=0;t<r;t++)i[t]=n[t](e);return i}}function b(e,t){let i={...e,...t},r={};for(let n in i)void 0!==e[n]&&void 0!==t[n]&&(r[n]=y(e[n])(e[n],t[n]));return e=>{for(let t in r)i[t]=r[t](e);return i}}let T=(e,r)=>{let n=s.complex.createTransformer(r),o=(0,s.analyseComplexValue)(e),a=(0,s.analyseComplexValue)(r);if(!(o.indexes.var.length===a.indexes.var.length&&o.indexes.color.length===a.indexes.color.length&&o.indexes.number.length>=a.indexes.number.length))return(0,i.warning)(!0,`Complex values '${e}' and '${r}' 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"),h(e,r);if(g.has(e)&&!a.values.length||g.has(r)&&!o.values.length)return g.has(e)?t=>t<=0?e:r:t=>t>=1?r:e;return(0,t.pipe)(x(function(e,t){let i=[],r={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let s=t.types[n],o=e.indexes[s][r[s]],a=e.values[o]??0;i[n]=a,r[s]++}return i}(o,a),a.values),n)};e.s(["mix",0,function(e,t,i){return"number"==typeof e&&"number"==typeof t&&"number"==typeof i?(0,c.mixNumber)(e,t,i):y(e)(e,t)}],3163);var w=e.i(96173),S=e.i(87022);e.s(["frameloopDriver",0,e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>S.frame.update(t,e),stop:()=>(0,S.cancelFrame)(t),now:()=>S.frameData.isProcessing?S.frameData.timestamp:w.time.now()}}],69308)},706,e=>{"use strict";e.s(["mixNumber",0,(e,t,i)=>e+(t-e)*i])},49652,e=>{"use strict";e.s(["resolveElements",0,function(e,t,i){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let r=document;t&&(r=t.current);let n=i?.[e]??r.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e).filter(e=>null!=e)}])},53396,e=>{"use strict";
1let t=(0,e.i(86902).memoSupports)(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing");e.s(["supportsLinearEasing",0,t])},86427,e=>{"use strict";e.i(47167);var t=e.i(70596),i=e.i(25791),r=e.i(96173),n=e.i(87022);let s={current:void 0};class o{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=r.time.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=r.time.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,i){this.events[e]||(this.events[e]=new t.SubscriptionManager);let r=this.events[e].add(i);return"change"===e?()=>{r(),n.frame.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,i){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-i}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return s.current&&s.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=r.time.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,i.velocityPerSecond)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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()}}e.s(["collectMotionValues",0,s,"motionValue",0,function(e,t){return new o(e,t)}])},79444,76307,30677,66820,63011,65091,22660,69577,e=>{"use strict";var t=e.i(76959);let i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},r={...i,transform:e=>(0,t.clamp)(0,1,e)},n={...i,default:1};e.s(["alpha",0,r,"number",0,i,"scale",0,n],76307);let s=e=>Math.round(1e5*e)/1e5,o=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;e.s(["floatRegex",0,o],30677);let a=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,l=(e,t)=>i=>!!("string"==typeof i&&a.test(i)&&i.startsWith(e)||t&&null!=i&&Object.prototype.hasOwnProperty.call(i,t)),u=(e,t,i)=>r=>{if("string"!=typeof r)return r;let[n,s,a,l]=r.match(o);return{[e]:parseFloat(n),[t]:parseFloat(s),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}},h={...i,transform:e=>Math.round((0,t.clamp)(0,255,e))},c={test:l("rgb","red"),parse:u("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:n=1})=>"rgba("+h.transform(e)+", "+h.transform(t)+", "+h.transform(i)+", "+s(r.transform(n))+")"};e.s(["rgba",0,c],66820);let d={test:l("#"),parse:function(e){let t="",i="",r="",n="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),r=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),r=e.substring(3,4),n=e.substring(4,5),t+=t,i+=i,r+=r,n+=n),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(r,16),alph
1a:n?parseInt(n,16)/255:1}},transform:c.transform};e.s(["hex",0,d],63011);let p=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),m=p("deg"),f=p("%"),g=p("px"),v=p("vh"),y=p("vw"),x={...f,parse:e=>f.parse(e)/100,transform:e=>f.transform(100*e)};e.s(["degrees",0,m,"percent",0,f,"progressPercentage",0,x,"px",0,g,"vh",0,v,"vw",0,y],65091);let b={test:l("hsl","hue"),parse:u("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:n=1})=>"hsla("+Math.round(e)+", "+f.transform(s(t))+", "+f.transform(s(i))+", "+s(r.transform(n))+")"};e.s(["hsla",0,b],22660);let T={test:e=>c.test(e)||d.test(e)||b.test(e),parse:e=>c.test(e)?c.parse(e):b.test(e)?b.parse(e):d.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?c.transform(e):b.transform(e),getAnimatableNone:e=>{let t=T.parse(e);return t.alpha=0,T.transform(t)}};e.s(["color",0,T],79444);let w=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,S="number",P="color",M=/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 V(e){let t=e.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,o=t.replace(M,e=>(T.test(e)?(r.color.push(s),n.push(P),i.push(T.parse(e))):e.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(e)):(r.number.push(s),n.push(S),i.push(parseFloat(e))),++s,"${}")).split("${}");return{values:i,split:o,indexes:r,types:n}}function E({split:e,types:t}){let i=e.length;return r=>{let n="";for(let o=0;o<i;o++)if(n+=e[o],void 0!==r[o]){let e=t[o];e===S?n+=s(r[o]):e===P?n+=T.transform(r[o]):n+=r[o]}return n}}e.s(["analyseComplexValue",0,V,"complex",0,{test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(o)?.length||0)+(e.match(w)?.length||0)>0},parse:function(e){return V(e).values},createTransformer:function(e){return E(V(e))},getAnimatableNone:function(e){let t=V(e);return E(t)(t.values.map((e,i)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:T.test(e)?T.getAnimatableNone(e):e)(e,t.split[i])))}}],69577)},77942,84061,e=>{"use strict";var t=e.i(76307),i=e.i(65091);let r=e=>t=>t.test(e);e.s(["testValueType",0,r],84061);let n=[t.number,i.px,i.percent,i.degrees,i.vw,i.vh,{test:e=>"auto"===e,parse:e=>e}];e.s(["dimensionValueTypes",0,n,"findDimensionValueType",0,e=>n.find(r(e))],77942)},3973,8792,19991,34929,30162,e=>{"use strict";var t=e.i(79444),i=e.i(69577),r=e.i(30677);let n=new Set(["brightness","contrast","saturate","opacity"]);function s(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[s]=i.match(r.floatRegex)||[];if(!s)return e;let o=i.replace(s,""),a=+!!n.has(t);return s!==i&&(a*=100),t+"("+a+o+")"}let o=/\b([a-z-]*)\(.*?\)/gu,a={...i.complex,getAnimatableNone:e=>{let t=e.match(o);return t?t.map(s).join(" "):e}};e.s(["filter",0,a],8792);let l={...i.complex,getAnimatableNone:e=>{let t=i.complex.parse(e);return i.complex.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}};e.s(["mask",0,l],19991);var u=e.i(76307);let h={...u.number,transform:Math.round};var c=e.i(65091);let d={rotate:c.degrees,pathRotation:c.degrees,rotateX:c.degrees,rotateY:c.degrees,rotateZ:c.degrees,scale:u.scale,scaleX:u.scale,scaleY:u.scale,scaleZ:u.scale,skew:c.degrees,skewX:c.degrees,skewY:c.degrees,distance:c.px,translateX:c.px,translateY:c.px,translateZ:c.px,x:c.px,y:c.px,z:c.px,perspective:c.px,transformPerspective:c.px,opacity:u.alpha,originX:c.progressPercentage,originY:c.progressPercentage,originZ:c.px},p={borderWidth:c.px,borderTopWidth:c.px,borderRightWidth:c.px,borderBottomWidth:c.px,borderLeftWidth:c.px,borderRadius:c.px,borderTopLeftRadius:c.px,borderTopRightRadius:c.px,borderBottomRightRadius:c.px,borderBottomLeftRadius:c.px,width:c.px,maxWidth:c.px,height:c.px,maxHeight:c.px,top:c.px,right:c.px,bottom:c.px,left:c.px,inset:c.px,insetBlock:c.px,insetBlockStart:c.px,insetBlockEnd:c.px,insetInline:c.px,insetInlineStart:c.px,insetInlineEnd:c.px,padding:c.px,paddingTop:c.px,paddingRight:c.px,paddingBottom:c.px,paddingLeft:c.px,paddingBlock:c.px,paddingBlockStart:c.px,paddingBlockEnd:c.px,paddingInline:c.px,paddingInlineStart:c.px,paddingInlineEnd:c.px,margin:c.px,marginTop:c.px,marginRight:c.px,marginBottom:c.px,marginLeft:c.px,marginBlock:c.px,marginBlockStart:c.px,marginBlockEnd:c.px,marginInline:c.px,marginInlineStart:c.px,marginInlineEnd:c.px,fontSize:c.px,backgroundPositionX:c.px,backgroundPositionY:c.px,...d,zIndex:h,fillOpacity:u.alpha,strokeOpacity:u.alpha,numOctaves:h};e.s(["numberValueTypes",0,p],34929);let m={...p,color:t.color,backgroundColor:t.color,outlineColor:t.color,fill:t.color,stroke:t.color,borderColor:t.color,borderTopColor:t.color,borderRightColor:t.color,borderBottomColor:t.color,borderLeftColor:t.color,filter:a,WebkitFilter:a,mask:l,WebkitMask:l};
1e.s(["getDefaultValueType",0,e=>m[e]],3973);let f=()=>({translate:0,scale:1,origin:0,originPoint:0}),g=()=>({min:0,max:0});e.s(["createBox",0,()=>({x:g(),y:g()}),"createDelta",0,()=>({x:f(),y:f()})],30162)},66538,e=>{"use strict";var t=e.i(79444),i=e.i(69577),r=e.i(77942),n=e.i(84061);let s=[...r.dimensionValueTypes,t.color,i.complex];e.s(["findValueType",0,e=>s.find((0,n.testValueType)(e))])},83411,e=>{"use strict";e.s(["isMotionValue",0,e=>!!(e&&e.getVelocity)])},76959,e=>{"use strict";e.s(["clamp",0,(e,t,i)=>i>t?t:i<e?e:i])},78047,41980,17851,e=>{"use strict";var t=e.i(40254),i=e.i(70165),r=e.i(30151);let n=(0,t.cubicBezier)(.33,1.53,.69,.99),s=(0,r.reverseEasing)(n),o=(0,i.mirrorEasing)(s);e.s(["backIn",0,s,"backInOut",0,o,"backOut",0,n],41980),e.s(["anticipate",0,e=>e>=1?1:(e*=2)<1?.5*s(e):.5*(2-Math.pow(2,-10*(e-1)))],78047);let a=e=>1-Math.sin(Math.acos(e)),l=(0,r.reverseEasing)(a),u=(0,i.mirrorEasing)(a);e.s(["circIn",0,a,"circInOut",0,u,"circOut",0,l],17851)},70165,e=>{"use strict";e.s(["mirrorEasing",0,e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2])},30151,e=>{"use strict";e.s(["reverseEasing",0,e=>t=>1-e(1-t)])},60855,e=>{"use strict";e.s(["isBezierDefinition",0,e=>Array.isArray(e)&&"number"==typeof e[0]])},93544,e=>{"use strict";e.s(["isEasingArray",0,e=>Array.isArray(e)&&"number"!=typeof e[0]])},32943,e=>{"use strict";var t=e.i(65566),i=e.i(60830),r=e.i(78047),n=e.i(41980),s=e.i(17851),o=e.i(40254),a=e.i(37025),l=e.i(60855);let u={linear:i.noop,easeIn:a.easeIn,easeInOut:a.easeInOut,easeOut:a.easeOut,circIn:s.circIn,circInOut:s.circInOut,circOut:s.circOut,backIn:n.backIn,backInOut:n.backInOut,backOut:n.backOut,anticipate:r.anticipate};e.s(["easingDefinitionToFunction",0,e=>{if((0,l.isBezierDefinition)(e)){(0,t.invariant)(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[i,r,n,s]=e;return(0,o.cubicBezier)(i,r,n,s)}return"string"==typeof e?((0,t.invariant)(void 0!==u[e],`Invalid easing type '${e}'`,"invalid-easing-type"),u[e]):e}])},65566,e=>{"use strict";e.i(47167).default,e.s(["invariant",0,()=>{},"warning",0,()=>{}],65566)},46791,e=>{"use strict";e.s(["MotionGlobalConfig",0,{}])},72590,e=>{"use strict";e.s(["isNumericalString",0,e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)])},42824,e=>{"use strict";e.s(["isObject",0,e=>"object"==typeof e&&null!==e])},60830,e=>{"use strict";e.s(["noop",0,e=>e])},38638,e=>{"use strict";e.s(["pipe",0,(...e)=>e.reduce((e,t)=>i=>t(e(i)))])},83920,e=>{"use strict";e.s(["progress",0,(e,t,i)=>{let r=t-e;return r?(i-e)/r:1}])},70596,33887,e=>{"use strict";function t(e,t){-1===e.indexOf(t)&&e.push(t)}function i(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}e.s(["addUniqueItem",0,t,"removeItem",0,i],33887),e.s(["SubscriptionManager",0,class{constructor(){this.subscriptions=[]}add(e){return t(this.subscriptions,e),()=>i(this.subscriptions,e)}notify(e,t,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(e,t,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}],70596)},63074,e=>{"use strict";e.s(["millisecondsToSeconds",0,e=>e/1e3,"secondsToMilliseconds",0,e=>1e3*e])},25791,e=>{"use strict";e.s(["velocityPerSecond",0,(e,t)=>t?1e3/t*e:0])},22016,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return v},useLinkStatus:function(){return x}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=e.r(90809),o=e.r(43476),a=s._(e.r(71645)),l=e.r(95057),u=e.r(8372),h=e.r(18581),c=e.r(18967),d=e.r(5550),p=e.r(88540),m=e.r(91949),f=e.r(73668),g=e.r(9396);function v(t){var i;let r,n,s,[v,x]=(0,a.useOptimistic)(m.IDLE_LINK_STATUS),b=(0,a.useRef)(null),{href:T,as:w,children:S,prefetch:P=null,passHref:M,replace:V,shallow:E,scroll:A,onClick:C,onMouseEnter:k,onTouchStart:D,legacyBehavior:R=!1,onNavigate:j,transitionTypes:L,ref:B,unstable_dynamicOnHover:O,...F}=t;r=S,R&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let I=a.default.useContext(u.AppRouterContext),N=!1!==P,W=!1===P?"none":!0===P?"full":"auto",_="none"!==W?"auto"===W?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,z="string"==typeof(i=w||T)?i:(0,l.formatUrl)(i);if(R){if(r?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>
1` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});n=a.default.Children.only(r)}let U=R?n&&"object"==typeof n&&n.ref:B,$,G=a.default.useCallback(e=>(null!==I&&(b.current=(0,m.mountLinkInstance)(e,z,I,_,N,x,$)),()=>{b.current&&((0,m.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,m.unmountPrefetchableInstance)(e)}),[N,z,I,_,x,$]),H={ref:(0,h.useMergedRef)(G,U),onClick(t){R||"function"!=typeof C||C(t),R&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(t),!I||t.defaultPrevented||function(t,i,r,n,s,o,l,u="none"){if("u">typeof window){let h,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((h=t.currentTarget.getAttribute("target"))&&"_self"!==h||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,f.isLocalURL)(i)){n&&(t.preventDefault(),location.replace(i));return}if(t.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:d}=e.r(99781);a.default.startTransition(()=>{d(i,n?"replace":"push",!1===s?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,r.current,l,u)})}}(t,z,b,V,A,j,L,W)},onMouseEnter(e){R||"function"!=typeof k||k(e),R&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),I&&N&&(0,m.onNavigationIntent)(e.currentTarget,!0===O)},onTouchStart:function(e){R||"function"!=typeof D||D(e),R&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),I&&N&&(0,m.onNavigationIntent)(e.currentTarget,!0===O)}};return(0,c.isAbsoluteUrl)(z)?H.href=z:R&&!M&&("a"!==n.type||"href"in n.props)||(H.href=(0,d.addBasePath)(z)),s=R?a.default.cloneElement(n,H):(0,o.jsx)("a",{...F,...H,children:r}),(0,o.jsx)(y.Provider,{value:v,children:s})}let y=(0,a.createContext)(m.IDLE_LINK_STATUS),x=()=>(0,a.useContext)(y);("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},85437,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"Image",{enumerable:!0,get:function(){return T}});let r=e.r(55682),n=e.r(90809),s=e.r(43476),o=n._(e.r(71645)),a=r._(e.r(74080)),l=r._(e.r(25633)),u=e.r(8927),h=e.r(87690),c=e.r(18556),d=e.r(65856),p=r._(e.r(1948)),m=e.r(18581),f={deviceSizes:[375,430,640,768,1024,1280,1440,1920,2560],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,i,r,n,s,o){let a=e?.src;e&&e["data-loaded-src"]!==a&&(e["data-loaded-src"]=a,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&n(!0),i?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,n=!1;i.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>n,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{n=!0,t.stopPropagation()}})}r?.current&&r.current(e)}}))}function v(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let y="u"<typeof window?o.useEffect:o.useLayoutEffect,x=(0,o.forwardRef)(({src:e,srcSet:t,sizes:i,height:r,width:n,decoding:a,className:l,style:u,fetchPriority:h,placeholder:c,loading:d,unoptimized:p,fill:f,onLoadRef:x,onLoadingCompleteRef:b,setBlurComplete:T,setShowAltText:w,sizesInput:S,onLoad:P,onError:M,...V},E)=>{let A=(0,o.useRef)(!1),C=(0,o.useRef)(null);y(()=>{let{current:e}=A,{current:t}=C;e||null===t||(M&&(t.src=t.src),t.complete&&g(t,c,x,b,T,p,S),A.current=!0)},[e,c,x,b,M,p,S]);let k=(0,m.useMergedRef)(E,C);return(0,s.jsx)("img",{...V,...v(h),loading:d,width:n,height:r,decoding:a,"data-nimg":f?"fill":"1",className:l,style:u,sizes:i,srcSet:t,src:e,ref:k,onLoad:e=>{g(e.currentTarget,c,x,b,T,p,S)},onError:e=>{w(!0),"empty"!==c&&T(!0),M&&M(e)}})});function b({isAppRouter:e,imgAttributes:t}){let i={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...v(t.fetchPriority)};return e&&a.default.preload?(a.default.preload(t.src,i),null):(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...i},"__nimg-"+t.src+t.srcSet+t.sizes)})}let T=(0,o.forwardRef)((e,t)=>{let i=(0,o.useContext)(d.RouterContext),r=(0,o.useContext)(c.ImageConfigContext),n=(0,o.useMemo)(()=>{let e=f||r||h.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>
1e-t),i=e.deviceSizes.sort((e,t)=>e-t),n=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:i,qualities:n,localPatterns:"u"<typeof window?r?.localPatterns:e.localPatterns}},[r]),{onLoad:a,onLoadingComplete:l}=e,m=(0,o.useRef)(a);(0,o.useEffect)(()=>{m.current=a},[a]);let g=(0,o.useRef)(l);(0,o.useEffect)(()=>{g.current=l},[l]);let[v,y]=(0,o.useState)(!1),[T,w]=(0,o.useState)(!1),{props:S,meta:P}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:n,blurComplete:v,showAltText:T});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(x,{...S,unoptimized:P.unoptimized,placeholder:P.placeholder,fill:P.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:y,setShowAltText:w,sizesInput:e.sizes,ref:t}),P.preload?(0,s.jsx)(b,{isAppRouter:!i,imgAttributes:S}):null]})});("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},18581,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return n}});let r=e.r(71645);function n(e,t){let i=(0,r.useRef)(null),n=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=i.current;e&&(i.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(i.current=s(e,r)),t&&(n.current=s(t,r))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let i=e(t);return"function"==typeof i?i:()=>e(null)}}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},70965,(e,t,i)=>{"use strict";function r(e,t){let i=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-i)<Math.abs(e-i)?t:e,t.qualities[0]):i}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"findClosestQuality",{enumerable:!0,get:function(){return r}})},8927,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImgProps",{enumerable:!0,get:function(){return u}});let r=e.r(43369),n=e.r(88143),s=e.r(87690),o=["-moz-initial","fill","none","scale-down",void 0];function a(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:i=!1,priority:h=!1,preload:c=!1,loading:d,className:p,quality:m,width:f,height:g,fill:v=!1,style:y,overrideSrc:x,onLoad:b,onLoadingComplete:T,placeholder:w="empty",blurDataURL:S,fetchPriority:P,decoding:M="async",layout:V,objectFit:E,objectPosition:A,lazyBoundary:C,lazyRoot:k,...D},R){var j;let L,B,O,{imgConf:F,showAltText:I,blurComplete:N,defaultLoader:W}=R,_=F||s.imageConfigDefault;if("allSizes"in _)L=_;else{let e=[..._.deviceSizes,..._.imageSizes].sort((e,t)=>e-t),t=_.deviceSizes.sort((e,t)=>e-t),i=_.qualities?.sort((e,t)=>e-t);L={..._,allSizes:e,deviceSizes:t,qualities:i}}if(void 0===W)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let z=D.loader||W;delete D.loader,delete D.srcSet;let U="__next_img_default"in z;if(U){if("custom"===L.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop. 2Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=z;z=t=>{let{config:i,...r}=t;return e(r)}}if(V){"fill"===V&&(v=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[V];e&&(y={...y,...e});let i={responsive:"100vw",fill:"100vw"}[V];i&&!t&&(t=i)}
2let $="",G=l(f),H=l(g),K=!1;if((j=e)&&"object"==typeof j&&(a(j)||void 0!==j.src)){let t=a(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(B=t.blurWidth,O=t.blurHeight,S=S||t.blurDataURL,$=t.src,K=/\.avif(?:\?|$)/i.test($),!v)if(G||H){if(G&&!H){let e=G/t.width;H=Math.round(t.height*e)}else if(!G&&H){let e=H/t.height;G=Math.round(t.width*e)}}else G=t.width,H=t.height}K&&"blur"===w&&!S&&(w="empty");let X=!h&&!c&&("lazy"===d||void 0===d);(!(e="string"==typeof e?e:$)||e.startsWith("data:")||e.startsWith("blob:"))&&(i=!0,X=!1),L.unoptimized&&(i=!0),U&&!L.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(i=!0);let Y=l(m),q=Object.assign(v?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:E,objectPosition:A}:{},I?{}:{color:"transparent"},y),Z=N||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,n.getImageBlurSvg)({widthInt:G,heightInt:H,blurWidth:B,blurHeight:O,blurDataURL:S||"",objectFit:q.objectFit})}")`:`url("${w}")`,J=o.includes(q.objectFit)?"fill"===q.objectFit?"100% 100%":"cover":q.objectFit,Q=Z?{backgroundSize:J,backgroundPosition:q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Z}:{},ee=function({config:e,src:t,unoptimized:i,width:n,quality:s,sizes:o,loader:a}){if(i){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,r.getDeploymentId)();if(t.includes("/_next/static/immutable")&&!(0,r.getAssetToken)())e=void 0;else if(e){let i=t.indexOf("?");if(-1!==i){let r=new URLSearchParams(t.slice(i+1));r.get("dpl")||(r.append("dpl",e),t=t.slice(0,i)+"?"+r.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},i,r){if(r){let i=/(^|\s)(1?\d?\d)vw/g,n=[];for(let e;e=i.exec(r);)n.push(parseInt(e[2]));if(n.length){let i=.01*Math.min(...n);return{widths:t.filter(t=>t>=e[0]*i),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof i?{widths:e,kind:"w"}:{widths:[...new Set([i,2*i].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,n,o),h=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((i,r)=>`${a({config:e,src:t,quality:s,width:i})} ${"w"===u?i:r+1}${u}`).join(", "),src:a({config:e,src:t,quality:s,width:l[h]})}}({config:L,src:e,unoptimized:i,width:G,quality:Y,sizes:t,loader:z}),et=X?"lazy":d;return{props:{...D,loading:et,fetchPriority:P,width:G,height:H,decoding:M,className:p,style:{...q,...Q},sizes:ee.sizes,srcSet:ee.srcSet,src:x||ee.src},meta:{unoptimized:i,preload:c||h,placeholder:w,fill:v}}}},25633,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0});var r={default:function(){return f},defaultHead:function(){return c}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=e.r(55682),o=e.r(90809),a=e.r(43476),l=o._(e.r(71645)),u=s._(e.r(98879)),h=e.r(42732);function c(){return[(0,a.jsx)("meta",{charSet:"utf-8"},"charset"),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function d(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}let p=["name","httpEquiv","charSet","itemProp"];function m(e){let t,i,r,n;return e.reduce(d,[]).reverse().concat(c().reverse()).filter((t=new Set,i=new Set,r=new Set,n={},e=>{let s=!0,o=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){o=!0;let i=e.key.slice(e.key.indexOf("$")+1);t.has(i)?s=!1:t.add(i)}switch(e.type){case"title":case"base":i.has(e.type)?s=!1:i.add(e.type);break;case"meta":for(let t=0,i=p.length;t<i;t++){let i=p[t];if(e.props.hasOwnProperty(i))if("charSet"===i)r.has(i)?s=!1:r.add(i);else{let t=e.props[i],r=n[i]||new Set;("name"!==i||!o)&&r.has(t)?s=!1:(r.add(t),n[i]=r)}}}return s})).reverse().map((e,t)=>{let i=e.key||t;return l.default.cloneElement(e,{key:i})})}let f=function({children:e}){let t=(0,l.useContext)(h.HeadManagerContext);return(0,a.jsx)(u.default,{reduceComponentsToState:m,headManager:t,children:e})};("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
2dule",{value:!0}),Object.assign(i.default,i),t.exports=i.default)},88143,(e,t,i)=>{"use strict";function r({widthInt:e,heightInt:t,blurWidth:i,blurHeight:n,blurDataURL:s,objectFit:o}){let a=i?40*i:e,l=n?40*n:t,u=a&&l?`viewBox='0 0 ${a} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${s}'/%3E%3C/svg%3E`}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},18556,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ImageConfigContext",{enumerable:!0,get:function(){return s}});let r=e.r(55682)._(e.r(71645)),n=e.r(87690),s=r.default.createContext(n.imageConfigDefault)},65856,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"RouterContext",{enumerable:!0,get:function(){return r}});let r=e.r(55682)._(e.r(71645)).default.createContext(null)},87690,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return s},imageConfigDefault:function(){return o}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},1948,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return o}});let r=e.r(70965),n=e.r(43369);function s({config:e,src:t,width:i,quality:o}){let a=(0,n.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//"))if(t.includes("/_next/static/immutable")&&!(0,n.getAssetToken)())a=void 0;else{let e=t.indexOf("?");if(-1!==e){let i=new URLSearchParams(t.slice(e+1)),r=i.get("dpl");if(r){a=r,i.delete("dpl");let n=i.toString();t=t.slice(0,e)+(n?"?"+n:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns. 3Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,r.findClosestQuality)(o,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${i}&q=${l}${t.startsWith("/")&&a?`&dpl=${a}`:""}`}s.__next_img_default=!0;let o=s},73668,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isLocalURL",{enumerable:!0,get:function(){return s}});let r=e.r(18967),n=e.r(52817);function s(e){if(!(0,r.isAbsoluteUrl)(e))return!0;try{let t=(0,r.getLocationOrigin)(),i=new URL(e,t);return i.origin===t&&(0,n.hasBasePath)(i.pathname)}catch(e){return!1}}},98183,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r={assign:function(){return l},searchParamsToUrlQuery:function(){return s},urlQueryToSearchParams:function(){return a}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});function s(e){let t={};for(let[i,r]of e.entries()){let e=t[i];void 0===e?t[i]=r:Array.isArray(e)?e.push(r):t[i]=[e,r]}return t}function o(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function a(e){let t=new URLSearchParams;for(let[i,r]of Object.entries(e))if(Array.isArray(r))for(let e of r)t.append(i,o(e));else t.set(i,o(r));return t}function l(e,...t){for(let i of t){for(let t of i.keys())e.delete(t);for(let[t,r]of i.entries())e.append(t,r)}return e}},95057,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0});var r={formatUrl:function(){return a},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=e.r(90809)._(e.r(98183)),o=/https?|ftp|gopher|file/;function a(e){let{auth:t,hostname:i}=e,r=e.protocol||"",n=e.pathname||"",a=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:i&&(u=t+(~i.indexOf(":")?`[${i}]`:i),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(s.urlQueryToSearchParams(l)));let h=e.search||l&&`?${l}`||"";return r&&!r.endsWith(":")&&(r+=":"),e.slashes||(!r||o.test(r))&&!1!==u?(u="//"+(u||""),n&&"/"!==n[0]&&(n="/"+n)):u||(u=""),a&&"#"!==a[0]&&(a="#"+a),h&&"?"!==h[0]&&(h="?"+h),n=n.replace(/[?#]/g,encodeURIComponent),h=h.replace("#","%23"),`${r}${u}${n}${h}${a}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return a(e)}},98879,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return a}});let r=e.r(71645),n="u"<typeof window,s=n?()=>{}:r.useLayoutEffect,o=n?()=>{}:r.useEffect;function a(e){let{headManager:t,reduceComponentsToState:i}=e;function a(){if(t&&t.mountedInstances){let e=r.Children.toArray(Array.from(t.mountedInstances).filter(
3Boolean));t.updateHead(i(e))}}return n&&(t?.mountedInstances?.add(e.children),a()),s(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),s(()=>(t&&(t._pendingUpdate=a),()=>{t&&(t._pendingUpdate=a)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},18967,(e,t,i)=>{"use strict";e.i(47167),Object.defineProperty(i,"__esModule",{value:!0});var r={DecodeError:function(){return v},MiddlewareNotFoundError:function(){return T},MissingStaticPage:function(){return b},NormalizeError:function(){return y},PageNotFoundError:function(){return x},SP:function(){return f},ST:function(){return g},WEB_VITALS:function(){return s},execOnce:function(){return o},getDisplayName:function(){return c},getLocationOrigin:function(){return u},getURL:function(){return h},isAbsoluteUrl:function(){return l},isResSent:function(){return d},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return w}};for(var n in r)Object.defineProperty(i,n,{enumerable:!0,get:r[n]});let s=["CLS","FCP","FID","INP","LCP","TTFB"];function o(e){let t,i=!1;return(...r)=>(i||(i=!0,t=e(...r)),t)}let a=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&a.test(e)};function u(){let{protocol:e,hostname:t,port:i}=window.location;return`${e}//${t}${i?":"+i:""}`}function h(){let{href:e}=window.location,t=u();return e.substring(t.length)}function c(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let i=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(i&&d(i))return r;if(!r)throw Object.defineProperty(Error(`"${c(e)}.getInitialProps()" should resolve to an object. But found "${r}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return r}let f="u">typeof performance,g=f&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class v extends Error{}class y extends Error{}class x extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class b extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class T extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(e){return JSON.stringify({message:e.message,stack:e.stack})}}]);
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.