PageSourceSearch

https://ielectrify.com/_next/static/immutable/chunks/3pv3wday15x_-.js

js ielectrify.com collected 2026-09-25 18:20:15 UTC 78,747 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="b2563320-0124-6e1d-e7bb-018e960dcc2a")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,888975,251502,327191,278780,188414,789784,126470,998700,901432,724505,t=>{"use strict";var e=t.i(756888),i=t.i(344063),s=t.i(422405),n=t.i(262448),o=t.i(267798),r=t.i(604955),a=t.i(60541),l=t.i(585406),h=t.i(948544),u=t.i(566651);function c(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i,s)}t.s(["addDomEvent",0,c],251502);let m={x:!1,y:!1};t.s(["isDragActive",0,function(){return m.x||m.y},"isDragging",0,m],327191);var d=t.i(921006);function p(t){return t.max-t.min}function f(t,e,i,s=.5){t.origin=s,t.originPoint=(0,u.mixNumber)(e.min,e.max,t.origin),t.scale=p(i)/p(e),t.translate=(0,u.mixNumber)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function y(t,e,i,s=0){t.min=(s?(0,u.mixNumber)(i.min,i.max,s):i.min)+e.min,t.max=t.min+p(e)}function v(t,e,i,s=0){let n=s?(0,u.mixNumber)(i.min,i.max,s):i.min;t.min=e.min-n,t.max=t.min+p(e)}t.s(["calcBoxDelta",0,function(t,e,i,s){f(t.x,e.x,i.x,s?s.originX:void 0),f(t.y,e.y,i.y,s?s.originY:void 0)},"calcLength",0,p,"calcRelativeBox",0,function(t,e,i,s){y(t.x,e.x,i.x,s?.x),y(t.y,e.y,i.y,s?.y)},"calcRelativePosition",0,function(t,e,i,s){v(t.x,e.x,i.x,s?.x),v(t.y,e.y,i.y,s?.y)},"isNear",0,function(t,e,i){return Math.abs(t-e)<=i}],278780);var g=t.i(922098);let x=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),P=new Set(["INPUT","SELECT","TEXTAREA"]);function T(t){return P.has(t.tagName)||!0===t.isContentEditable}t.s(["isElementKeyboardAccessible",0,function(t){return x.has(t.tagName)||!0===t.isContentEditable},"isElementTextInput",0,T],188414);var S=t.i(388905);let w=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function A(t){return{point:{x:t.pageX,y:t.pageY}}}t.s(["isPrimaryPointer",0,w],789784);let V=t=>e=>w(e)&&t(e,A(e));function E(t,e,i,s){return c(t,e,V(i),s)}t.s(["addPointerInfo",0,V,"extractEventInfo",0,A],126470);let D=({current:t})=>t?t.ownerDocument.defaultView:null;var b=t.i(243392),C=t.i(804681),L=t.i(727524);let B=(t,e)=>Math.abs(t-e),R=new Set(["auto","scroll"]);class M{constructor(t,e,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:o=!1,distanceThreshold:r=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=k(this.lastRawMoveEventInfo,this.transformPagePoint));let i=F(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,o=(t=i.offset,e={x:0,y:0},Math.sqrt(B(t.x,e.x)**2+B(t.y,e.y)**2)>=this.distanceThreshold);if(!s&&!o)return;let{point:r}=i,{timestamp:a}=n.frameData;this.history.push({...r,timestamp:a});let{onStart:l,onMove:h}=this.handlers;s||(l&&l(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),h&&h(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=k(e,this.transformPagePoint),n.frame.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=F("pointercancel"===t.type?this.lastMoveEventInfo:k(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,o),s&&s(t,o)},!w(t))return;this.dragSnapToOrigin=o,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=s||window;const l=k(A(t),this.transformPagePoint),{point:h}=l,{timestamp:u}=n.frameData;this.history=[{...h,timestamp:u}];const{onSessionStart:c}=e;c&&c(t,F(l,this.history));const m={passive:!0,capture:!0};this.removeListeners=(0,C.pipe)(E(this.contextWindow,"pointermove",this.handlePointerMove,m),E(this.contextWindow,"pointerup",this.handlePointerUp,m),E(this.contextWindow,"pointercancel",this.handlePointerUp,m)),a&&this.startScrollTracking(a)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(R.has(t.overflowX)||R.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,s=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},o={x:s.x-e.x,y:s.y-e.y};(0!==o.x||0!==o.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=o.x,this.lastMoveEventInfo.point.y+=o.y):this.history.length>0&&(this.history[0].x-=o.x,this.history[0].y-=o.y),this.scrollPositions.set(t,s),n.frame.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,n.cancelFrame)(this.updatePoint)}}function k(t,e){return e?{point:e(t.point)}:t}function j(t,e){return{x:t.x-e.x,y:t.y-e.y}}function F({point:t},e){return{point:t,delta:j(t,O(e)),offset:j(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,s=O(t);for(;e>=0&&(i=t[e],!(s.timestamp-i.timestamp>(0,L.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&s.timestamp-i.timestamp>
22*(0,L.secondsToMilliseconds)(.1)&&(i=t[1]);let n=(0,L.millisecondsToSeconds)(s.timestamp-i.timestamp);if(0===n)return{x:0,y:0};let o={x:(s.x-i.x)/n,y:(s.y-i.y)/n};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(e)}}function O(t){return t[t.length-1]}var I=t.i(661064),U=t.i(371955);function N(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function G(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function W(t,e,i){return{min:K(t,e),max:K(t,i)}}function K(t,e){return"number"==typeof t?t:t[e]||0}let H=new WeakMap;class z{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,s.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:s}=this.visualElement;if(s&&!1===s.isPresent)return;let r=t=>{e&&this.snapToCursor(A(t).point),this.stopAnimation()},a=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:r}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(m[t])return null;else return m[t]=!0,()=>{m[t]=!1};return m.x||m.y?null:(m.x=m.y=!0,()=>{m.x=m.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,o.eachAxis)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(d.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=p(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&n.frame.update(()=>r(t,e),!1,!0),(0,l.addValueToWillChange)(this.visualElement,"transform");let{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},h=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:o,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(s&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&o&&o(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),r&&n.frame.update(()=>r(t,e),!1,!0)},u=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:f}=this.getProps();this.panSession=new M(t,{onSessionStart:r,onStart:a,onMove:h,onSessionEnd:u,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:f,distanceThreshold:i,contextWindow:D(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,s=e||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!s||!i)return;let{velocity:r}=s;this.startAnimation(r);let{onDragEnd:a}=this.getProps();a&&n.frame.postRender(()=>a(i,s))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!Y(t,s,this.currentDirection))return;let n=this.getAxisMotionValue(t),o=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?(0,u.mixNumber)(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?(0,u.mixNumber)(i,t,s.max):Math.min(t,i)),t}(o,this.constraints[t],this.elastic[t])),n.set(o)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;t&&(0,b.isRefObject)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:s,right:n}){return{x:N(t.x,i,n),y:N(t.y,e,s)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:W(t,"left","right"),y:W(t,"top","bottom")}}(e),s!==this.constraints&&!(0,b.isRefObject)(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,o.eachAxis)(t=>{var e,s;let n;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],s=this.constraints[t],n={},void 0!==s.min&&(n.min=s.min-e.min),void 0!==s.max&&(n.max=s.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,b.isRefObject)(e))return!1;let s=e.current;(0,S.invariant)(null!==s,"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 o=(0,r.measurePageBox)(s,n.root,this.visualElement.getTransformPagePoint()),l=(t=n.layout.layoutBox,{x:G(t.x,o.x),y:G(t.y,o.y)});if(i){let t=i((0,a.convertBoxToBoundingBox)(l));this.hasMutatedConstraints=!!t,t&&(l=(0,a.convertBoundingBoxToBox)(t))}return l}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:n,dragSnapToOrigin:r,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{};return Promise.all((0,o.eachAxis)(o=>{if(!Y(o,e,this.currentDirection))return;let a=l&&l[o]||{};(!0===r||r===o)&&(a={min:0,max:0});let h={type:"inertia",velocity:i?t[o]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...a};return this.startAxisValueAnimation(o,h)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,l.addValueToWillChange)(this.visualElement,t),i.start((0,h.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,o.eachAxis)(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){(0,o.eachAxis)(e=>{let{drag:i}=this.getProps();if(!Y(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,n=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:o}=s.layout.layoutBox[e],r=n.get()||0;n.set(t[e]-(0,u.mixNumber)(i,o,.5)+r)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,b.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};(0,o.eachAxis)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let o,r,a,l=e.get();s[t]=(i={min:l,max:l},n=this.constraints[t],o=.5,r=p(i),(a=p(n))>r?o=(0,I.progress)(n.min,n.max-r,i.min):r>a&&(o=(0,I.progress)(i.min,i.max-a,n.min)),(0,U.clamp)(0,1,o))}});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,o.eachAxis)(e=>{if(!Y(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:o}=this.constraints[e];i.set((0,u.mixNumber)(n,o,s[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;H.set(this.visualElement,this);let e=this.visualElement.current,i=E(e,"pointerdown",t=>{let{drag:i,dragListener:s=!0}
2=this.getProps(),n=t.target,o=n!==e&&T(n);i&&s&&!o&&this.start(t)}),s=()=>{var i,s,n;let o,r,{dragConstraints:a}=this.getProps();(0,b.isRefObject)(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,s=a.current,n=()=>this.scalePositionWithinConstraints(),o=(0,g.resize)(i,$(n)),r=(0,g.resize)(s,$(n)),t=()=>{o(),r()}))},{projection:r}=this.visualElement,a=r.addEventListener("measure",s);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),n.frame.read(s);let l=c(window,"resize",()=>this.scalePositionWithinConstraints()),h=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&((0,o.eachAxis)(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{l(),i(),a(),h&&h(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:n=!1,dragElastic:o=.35,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:n,dragElastic:o,dragMomentum:r}}}function $(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function Y(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class X extends e.Feature{constructor(t){super(t),this.removeGroupControls=i.no
2op,this.removeListeners=i.noop,this.controls=new z(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||i.noop}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}t.s(["DragGesture",0,X],888975);var _=e;let q=t=>(e,i)=>{t&&n.frame.update(()=>t(e,i),!1,!0)};class J extends _.Feature{constructor(){super(...arguments),this.removePointerDownListener=i.noop}onPointerDown(t){this.session=new M(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:D(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:q(t),onStart:q(e),onMove:q(i),onEnd:(t,e)=>{delete this.session,s&&n.frame.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=E(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}t.s(["PanGesture",0,J],998700);var Z=t.i(391398);let Q={hasAnimatedSinceResize:!0,hasEverUpdated:!1};t.s(["globalProjectionState",0,Q],901432);var tt=t.i(533592),te=t.i(191788),ti=t.i(986398),ts=t.i(811535),tn=t.i(422469);let to=!1;class tr extends te.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:n}=t;n&&(e.group&&e.group.add(n),i&&i.register&&s&&i.register(n),to&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Q.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:o}=this.props,{projection:r}=i;return r&&(r.isPresent=o,t.layoutDependency!==e&&r.setOptions({...r.options,layoutDependency:e}),to=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==o?r.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?r.promote():r.relegate()||n.frame.postRender(()=>{let t=r.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),tt.microtask.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;to=!0,s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}t.s(["MeasureLayout",0,function(t){let[e,i]=(0,ti.usePresence)(),s=(0,te.useContext)(ts.LayoutGroupContext);return(0,Z.jsx)(tr,{...t,layoutGroup:s,switchLayoutGroup:(0,te.useContext)(tn.SwitchLayoutGroupContext),isPresent:e,safeToRemove:i})}],724505)},630519,t=>{"use strict";var e=t.i(756888),i=t.i(247652),s=t.i(514452);function n(t,e,i,s=0,o=1){let r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,l=(a-1)*s;return"function"==typeof i?i(r,a):1===o?r*s:l-r*s}function o(t,e,r={}){let a=(0,i.resolveVariant)(t,e,"exit"===r.type?t.presenceContext?.custom:void 0),{transition:l=t.getDefaultTransition()||{}}=a||{};r.transitionOverride&&(l=r.transitionOverride);let h=a?()=>Promise.all((0,s.animateTarget)(t,a,r)):()=>Promise.resolve(),u=t.variantChildren&&t.variantChildren.size?(i=0)=>{let{delayChildren:s=0,staggerChildren:a,staggerDirection:h}=l;return function(t,e,i=0,s=0,r=0,a=1,l){let h=[];for(let u of t.variantChildren)u.notify("AnimationStart",e),h.push(o(u,e,{...l,delay:i+("function"==typeof s?0:s)+n(t.variantChildren,u,s,r,a)}).then(()=>u.notify("AnimationComplete",e)));return Promise.all(h)}(t,e,i,s,a,h,r)}:()=>Promise.resolve(),{when:c}=l;if(!c)return Promise.all([h(),u(r.delay)]);{let[t,e]="beforeChildren"===c?[h,u]:[u,h];return t().then(()=>e())}}
2var r=t.i(719708),a=t.i(547477);let l=a.variantProps.length;var h=t.i(890516),u=t.i(429353);function c(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(e[s]!==t[s])return!1;return!0}let m=[...a.variantPriorityOrder].reverse(),d=a.variantPriorityOrder.length;function p(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function f(){return{animate:p(!0),whileInView:p(),whileHover:p(),whileTap:p(),whileDrag:p(),whileFocus:p(),exit:p()}}class y extends e.Feature{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:n})=>(function(t,e,n={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>o(t,e,n)));else if("string"==typeof e)r=o(t,e,n);else{let o="function"==typeof e?(0,i.resolveVariant)(t,e,n.custom):e;r=Promise.all((0,s.animateTarget)(t,o,n))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,n))),p=f(),y=!0,v=!1,g=e=>(s,n)=>{let o=(0,i.resolveVariant)(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(o){let{transition:t,transitionEnd:e,...i}=o;s={...s,...i,...e}}return s};function x(s){let{props:o}=t,f=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<l;t++){let s=a.variantProps[t],n=e.props[s];((0,r.isVariantLabel)(n)||!1===n)&&(i[s]=n)}return i}(t.parent)||{},x=[],P=new Set,T={},S=1/0;for(let e=0;e<d;e++){var w,A;let a=m[e],l=p[a],d=void 0!==o[a]?o[a]:f[a],V=(0,r.isVariantLabel)(d),E=a===s?l.isActive:null;!1===E&&(S=e);let D=d===f[a]&&d!==o[a]&&V;if(D&&(y||v)&&t.manuallyAnimateOnMount&&(D=!1),l.protectedKeys={...T},!l.isActive&&null===E||!d&&!l.prevProp||(0,h.isAnimationControls)(d)||"boolean"==typeof d)continue;if("exit"===a&&l.isActive&&!0!==E){l.prevResolvedValues&&(T={...T,...l.prevResolvedValues});continue}let b=(w=l.prevProp,"string"==typeof(A=d)?A!==w:!!Array.isArray(A)&&!c(A,w)),C=b||a===s&&l.isActive&&!D&&V||e>S&&V,L=!1,B=Array.isArray(d)?d:[d],R=B.reduce(g(a),{});!1===E&&(R={});let{prevResolvedValues:M={}}=l,k={...M,...R},j=e=>{C=!0,P.has(e)&&(L=!0,P.delete(e)),l.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in k){let e=R[t],i=M[t];if(!T.hasOwnProperty(t))((0,u.isKeyframesTarget)(e)&&(0,u.isKeyframesTarget)(i)?!c(e,i)||b:e!==i)?null!=e?j(t):P.add(t):void 0!==e&&P.has(t)?j(t):l.protectedKeys[t]=!0}l.prevProp=d,l.prevResolvedValues=R,l.isActive&&(T={...T,...R}),(y||v)&&t.blockInitialAnimation&&(C=!1);let F=D&&b,O=!F||L;C&&O&&x.push(...B.map(e=>{let s={type:a};if("string"==typeof e&&(y||v)&&!F&&t.manuallyAnimateOnMount&&t.parent){let{parent:o}=t,r=(0,i.resolveVariant)(o,e);if(o.enteringChildren&&r){let{delayChildren:e}=r.transition||{};s.delay=n(o.enteringChildren,t,e)}}return{animation:e,options:s}}))}if(P.size){let e={};if("boolean"!=typeof o.initial){let s=(0,i.resolveVariant)(t,Array.isArray(o.initial)?o.initial[0]:o.initial);s&&s.transition&&(e.transition=s.transition)}P.forEach(i=>{let s=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=s??null}),x.push({animation:e})}let V=!!x.length;return y&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(V=!1),y=!1,v=!1,V?e(x):Promise.resolve()}return{animateChanges:x,setActive:function(e,i){if(p[e].isActive===i)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,i)),p[e].isActive=i;let s=x(e);for(let t in p)p[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>p,reset:()=>{p=f(),v=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();(0,h.isAnimationControls)(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}var v=e;let g=0;class x extends v.Feature{constructor(){super(...arguments),this.id=g++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;
2if(t&&!1===s){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let s=(0,i.resolveVariant)(this.node,t,e);if(s){let{transition:t,transitionEnd:e,...i}=s;for(let t in i)this.node.getValue(t)?.jump(i[t])}}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",!t);e&&!t&&n.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}t.s(["animations",0,{animation:{Feature:y},exit:{Feature:x}}],630519)},119655,423482,t=>{"use strict";var e=t.i(888975),i=t.i(998700),s=t.i(724505),n=t.i(178892),o=t.i(371955),r=t.i(344063),a=t.i(310389),l=t.i(231234),h=t.i(64699),u=t.i(533592),c=t.i(286791),m=t.i(391770),d=t.i(542827),p=t.i(429600),f=t.i(720972),y=t.i(570856),v=t.i(566651),g=t.i(83026),x=t.i(532866),P=t.i(921006),T=t.i(661064),S=t.i(855023),w=t.i(97974);let A=w.cornerRadiusProps.length,V=t=>"string"==typeof t?parseFloat(t):t,E=t=>"number"==typeof t||P.px.test(t);function D(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let b=L(0,.5,S.circOut),C=L(.5,.95,r.noop);function L(t,e,i){return s=>s<t?0:s>e?1:i((0,T.progress)(t,e,s))}function B(t,e){t.min=e.min,t.max=e.max}function R(t,e){B(t.x,e.x),B(t.y,e.y)}function M(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var k=t.i(781057),j=t.i(278780);function F(t,e,i,s,n){return t-=e,t=(0,k.scalePoint)(t,1/i,s),void 0!==n&&(t=(0,k.scalePoint)(t,1/n,s)),t}function O(t,e,[i,s,n],o,r){!function(t,e=0,i=1,s=.5,n,o=t,r=t){if(P.percent.test(e)&&(e=parseFloat(e),e=(0,v.mixNumber)(r.min,r.max,e/100)-r.min),"number"!=typeof e)return;let a=(0,v.mixNumber)(o.min,o.max,s);t===o&&(a-=e),t.min=F(t.min,e,i,a,n),t.max=F(t.max,e,i,a,n)}(t,e[i],e[s],e[n],e.scale,o,r)}let I=["x","scaleX","originX"],U=["y","scaleY","originY"];function N(t,e,i,s){O(t.x,e,I,i?i.x:void 0,s?s.x:void 0),O(t.y,e,U,i?i.y:void 0,s?s.y:void 0)}var G=t.i(422405);function W(t){return 0===t.translate&&1===t.scale}function K(t){return W(t.x)&&W(t.y)}function H(t,e){return t.min===e.min&&t.max===e.max}function z(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function $(t,e){return z(t.x,e.x)&&z(t.y,e.y)}function Y(t){return(0,j.calcLength)(t.x)/(0,j.calcLength)(t.y)}function X(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var _=t.i(193709);class q{constructor(){this.members=[]}add(t){(0,_.addUniqueItem)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let s=i.instance;s&&!1!==s.isConnected||i.snapshot||((0,_.removeItem)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,_.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:s}=i.options,{layoutDependency:n}=t.options;(void 0===s||s!==n)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}var J=t.i(267798);let Z=(t,e)=>t.depth-e.depth;class Q{constructor(){this.children=[],this.isDirty=!1}add(t){(0,_.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,_.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Z),this.isDirty=!1,this.children.forEac
2h(t)}}var tt=t.i(735403),te=t.i(901432),ti=t.i(262448);let ts={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},tn=["","X","Y","Z"],to=0;function tr(t,e,i,s){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),s&&(s[t]=0))}function ta({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=to++,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,d.statsBuffer.value&&(ts.nodes=ts.calculatedTargetDeltas=ts.calculatedProjections=0),this.nodes.forEach(tu),this.nodes.forEach(tx),this.nodes.forEach(tP),this.nodes.forEach(tc),d.statsBuffer.addProjectionMetrics&&d.statsBuffer.addProjectionMetrics(ts)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new Q)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new n.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,f.isSVGElement)(e)&&!(0,y.isSVGSVGElement)(e),this.instance=e;let{layoutId:i,layout:s,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),t){let i,s=0,n=()=>this.root.updateBlockedByResize=!1;ti.frame.read(()=>{s=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==s&&(s=t,this.root.updateBlockedByResize=!0,i&&i(),i=(0,p.delay)(n,250),te.globalProjectionState.hasAnimatedSinceResize&&(te.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEach(tg)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||n.getDefaultTransition()||tE,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!$(this.targetLayout,s),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,h.getValueTransition)(o,"layout"),onPlay:r,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u,e.path)}else e||tg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,ti.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
2h(tT),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let s=(0,l.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",ti.frame,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(tp),this.nodes.forEach(td);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tf);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ty),this.nodes.forEach(tv),this.nodes.forEach(tl),this.nodes.forEach(th)):this.nodes.forEach(tf),this.clearAllSnapshots();let t=c.time.now();ti.frameData.delta=(0,o.clamp)(0,1e3/60,t-ti.frameData.timestamp),ti.frameData.timestamp=t,ti.frameData.isProcessing=!0,ti.frameSteps.update.process(ti.frameData),ti.frameSteps.preRender.process(ti.frameData),ti.frameSteps.render.process(ti.frameData),ti.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,u.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tm),this.sharedNodes.forEach(tS)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ti.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ti.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,j.calcLength)(this.snapshot.measuredBox.x)||(0,j.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 t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,G.createBox)()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=s(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!K(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,tt.hasTransform)(this.latestValues)||n)&&(r(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),s=this.removeElementScroll(i);return t&&(s=this.removeTransform(s)),tC((e=s).x),tC(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,G.createBox)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tB))){let{scroll:t}=this.root;t&&((0,k.translateAxis)(e.x,t.offset.x),(0,k.translateAxis)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,G.createBox)();if(R(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:n,options:o}=s;s!==this.root&&n&&o.layoutScroll&&(n.wasRoot&&R(e,t),(0,k.translateAxis)(e.x,n.offset.x),(0,k.translateAxis)(e.y,n.offset.y))}return e}applyTransform(t,e=!1,i){let s=i||(0,G.createBox)();R(s,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&((0,k.translateAxis)(s.x,-i.scroll.offset.x),(0,k.translateAxis)(s.y,-i.scroll.offset.y)),(0,tt.hasTransform)(i.latestValues)&&(0,k.transformBox)(s,i.latestValues,i.layout?.layoutBox)}return(0,tt.hasTransform)(this.latestValues)&&(0,k.transformBox)(s,this.latestValues,this.layout?.layoutBox),s}removeTransform(t){let e=(0,G.createBox)();R(e,t);for(let t=0;t<this.path.length;t++){let i,s=this.path[t];(0,tt.hasTransform)(s.latestValues)&&(s.instance&&((0,tt.hasScale)(s.latestValues)&&s.updateSnapshot(),R(i=(0,G.createBox)(),s.measurePageBox())),N(e,s.latestValues,s.snapshot?.layoutBox,i))}return(0,tt.hasTransform)(this.latestValues)&&N(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==ti.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:n}=this.options;if(!this.layout||!(s||n))return;this.resolvedRelativeTargetAt=ti.frameData.timestamp;let o=this.getClosestProjectingParent();o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,G.createBox)(),this.targetWithTransforms=(0,G.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,j.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,k.applyBoxDelta)(this.target,this.targetDelta)):R(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&o&&!!o.resumingFrom==!!this.resumingFrom&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0),d.statsBuffer.value&&ts.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,tt.hasScale)(this.parent.latestValues)||(0,tt.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(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,G.createBox)(),this.relativeTargetOrigin=(0,G.createBox)(),(0,j.calcRelativePosition)(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),R(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
2if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===ti.frameData.timestamp&&(i=!1),i)return;let{layout:s,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||!(s||n))return;R(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,r=this.treeScale.y;(0,k.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,G.createBox)());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(M(this.prevProjectionDelta.x,this.projectionDelta.x),M(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,j.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===r&&X(this.projectionDelta.x,this.prevProjectionDelta.x)&&X(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),d.statsBuffer.value&&ts.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,G.createDelta)(),this.projectionDelta=(0,G.createDelta)(),this.projectionDeltaWithTransform=(0,G.createDelta)()}setAnimationOrigin(t,e=!1,i){let s,n=this.snapshot,o=n?n.latestValues:{},r={...this.latestValues},a=(0,G.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=(0,G.createBox)(),h=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,m=!!(h&&!c&&!0===this.options.crossfade&&!this.path.some(tV));this.animationProgress=0;let d=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,n=d?.(i);if(n?(a.x.translate=n.x,a.x.scale=(0,v.mixNumber)(t.x.scale,1,i),a.x.origin=t.x.origin,a.x.originPoint=t.x.originPoint,a.y.translate=n.y,a.y.scale=(0,v.mixNumber)(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(tw(a.x,t.x,i),tw(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,p,f,y,g,x;(0,j.calcRelativePosition)(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,y=this.relativeTargetOrigin,g=l,x=i,tA(f.x,y.x,g.x,x),tA(f.y,y.y,g.y,x),s&&(u=this.relativeTarget,p=s,H(u.x,p.x)&&H(u.y,p.y))&&(this.isProjectionDirty=!1),s||(s=(0,G.createBox)()),R(s,this.relativeTarget)}h&&(this.animationValues=r,function(t,e,i,s,n,o){n?(t.opacity=(0,v.mixNumber)(0,i.opacity??1,b(s)),t.opacityExit=(0,v.mixNumber)(e.opacity??1,0,C(s))):o&&(t.opacity=(0,v.mixNumber)(e.opacity??1,i.opacity??1,s));for(let n=0;n<A;n++){let o=w.cornerRadiusProps[n],r=D(e,o),a=D(i,o);(void 0!==r||void 0!==a)&&(r||(r=0),a||(a=0),0===r||0===a||E(r)===E(a)?(t[o]=Math.max((0,v.mixNumber)(V(r),V(a),s),0),(P.percent.test(a)||P.percent.test(r))&&(t[o]+="%")):t[o]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,v.mixNumber)(e.rotate||0,i.rotate||0,s))}(r,o,this.latestValues,i,m,c)),n&&void 0!==n.rotate&&(this.animationValues||(this.animationValues=r),this.animationValues.pathRotation=n.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,ti.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ti.frame.update(()=>{te.globalProjectionState.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,g.motionValue)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(0,a.animateSingleValue)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:s,latestValues:n}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&tL(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,G.createBox)();let e=(0,j.calcLength)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=(0,j.calcLength)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}R(e,i),(0,k.transformBox)(e,n),(0,j.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new q),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
2return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let s=this.getStack();s&&s.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let s={};i.z&&tr("z",t,s,this.animationValues);for(let e=0;e<tn.length;e++)tr(`rotate${tn[e]}`,t,s,this.animationValues),tr(`skew${tn[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,x.resolveMotionValue)(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,x.resolveMotionValue)(e?.pointerEvents)||""),this.hasProjected&&!(0,tt.hasTransform)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=s.animationValues||s.latestValues;this.applyTransformsToTarget();let o=function(t,e,i){let s="",n=t.x.translate/e.x,o=t.y.translate/e.y,r=i?.z||0;if((n||o||r)&&(s=`translate3d(${n}px, ${o}px, ${r}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:n,rotateX:o,rotateY:r,skewX:a,skewY:l}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),n&&(s+=`rotate(${n}deg) `),o&&(s+=`rotateX(${o}deg) `),r&&(s+=`rotateY(${r}deg) `),a&&(s+=`skewX(${a}deg) `),l&&(s+=`skewY(${l}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(s+=`scale(${a}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(o=i(n,o)),t.transform=o;let{x:r,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*r.origin}% ${100*a.origin}% 0`,s.animationValues?t.opacity=s===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=s===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,m.scaleCorrectors){if
2(void 0===n[e])continue;let{correct:i,applyTo:r,isCSSVariable:a}=m.scaleCorrectors[e],l="none"===o?n[e]:i(n[e],s);if(r){let e=r.length;for(let i=0;i<e;i++)t[r[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=s===this?(0,x.resolveMotionValue)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(td),this.root.sharedNodes.clear()}}}function tl(t){t.updateLayout()}function th(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=t.layout,{animationType:n}=t.options,o=e.source!==t.layout.source;if("size"===n)(0,J.eachAxis)(t=>{let s=o?e.measuredBox[t]:e.layoutBox[t],n=(0,j.calcLength)(s);s.min=i[t].min,s.max=s.min+n});else if("x"===n||"y"===n){let t="x"===n?"y":"x";B(o?e.measuredBox[t]:e.layoutBox[t],i[t])}else tL(n,e.layoutBox,i)&&(0,J.eachAxis)(s=>{let n=o?e.measuredBox[s]:e.layoutBox[s],r=(0,j.calcLength)(i[s]);n.max=n.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+r)});let r=(0,G.createDelta)();(0,j.calcBoxDelta)(r,i,e.layoutBox);let a=(0,G.createDelta)();o?(0,j.calcBoxDelta)(a,t.applyTransform(s,!0),e.measuredBox):(0,j.calcBoxDelta)(a,i,e.layoutBox);let l=!K(r),h=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:n,layout:o}=s;if(n&&o){let r=t.options.layoutAnchor||void 0,a=(0,G.createBox)();(0,j.calcRelativePosition)(a,e.layoutBox,n.layoutBox,r);let l=(0,G.createBox)();(0,j.calcRelativePosition)(l,i,o.layoutBox,r),$(a,l)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function tu(t){d.statsBuffer.value&&ts.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function tc(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tm(t){t.clearSnapshot()}function td(t){t.clearMeasurements()}function tp(t){t.isLayoutDirty=!0,t.updateLayout()}function tf(t){t.isLayoutDirty=!1}function ty(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function tv(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tg(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tx(t){t.resolveTargetDelta()}function tP(t){t.calcProjection()}function tT(t){t.resetSkewAndRotation()}function tS(t){t.removeLeadSnapshot()}function tw(t,e,i){t.translate=(0,v.mixNumber)(e.translate,0,i),t.scale=(0,v.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tA(t,e,i,s){t.min=(0,v.mixNumber)(e.min,i.min,s),t.max=(0,v.mixNumber)(e.max,i.max,s)}function tV(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tE={duration:.45,ease:[.4,0,.1,1]},tD=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tb=tD("applewebkit/")&&!tD("chrome/")?Math.round:r.noop;function tC(t){t.min=tb(t.min),t.max=tb(t.max)}function tL(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,j.isNear)(Y(e),Y(i),.2)}function tB(t){return t!==t.root&&t.scroll?.wasRoot}var tR=t.i(251502);let tM=ta({attachResizeListener:(t,e)=>(0,tR.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),tk={current:void 0},tj=ta({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tk.current){let t=new tM({});t.mount(window),t.setOptions({layoutScroll:!0}),tk.current=t}return tk.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});t.s(["HTMLProjectionNode",0,tj],423482);let tF={pan:{Feature:i.PanGesture},drag:{Feature:e.DragGesture,ProjectionNode:tj,MeasureLayout:s.MeasureLayout}};t.s(["drag",0,tF],119655)},296643,t=>{"use strict";var e=t.i(756888),i=t.i(327191),s=t.i(798715);function n(t,e){let i=(0,s.resolveElements)(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}var o=t.i(262448),r=t.i(126470);function a(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=s["onHover"+i];n&&o.frame.postRender(()=>n(e,(0,r.extractEventInfo)(e)))}class l extends e.Feature{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,s={}){let[o,r,a]=n(t,s);return o.forEach(t=>{let s,n=!1,o=!1,a=e=>{s&&(s(e),s=void 0),t.removeEventListener("pointerleave",h)},l=t=>{n=!1,window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",l),o&&(o=!1,a(t))},h=t=>{if("touch"!==t.pointerType){if(n){o=!0;return}a(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||(0,i.isDragActive)())return;o=!1;let a=e(t,n);"function"==typeof a&&(s=a,t.addEventListener("pointerleave",h,r))},r),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",l,r),window.addEventListener("pointercancel",l,r)},r)}),a}(t,(t,e)=>(a(this.node,e,"Start"),t=>a(this.node,t,"End"))))}unmount(){}}var h=e,u=t.i(251502),c=t.i(804681);class m extends h.Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}
2mount(){this.unmount=(0,c.pipe)((0,u.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,u.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var d=e,p=t.i(251723);let f=(t,e)=>!!e&&(t===e||f(t,e.parentElement));var y=t.i(789784),v=t.i(188414);let g=new WeakSet;function x(t){return e=>{"Enter"===e.key&&t(e)}}function P(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function T(t){return(0,y.isPrimaryPointer)(t)&&!(0,i.isDragActive)()}let S=new WeakSet;function w(t,e,i){let{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=s["onTap"+("End"===i?"":i)];n&&o.frame.postRender(()=>n(e,(0,r.extractEventInfo)(e)))}class A extends d.Feature{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[s,o,r]=n(t,i),a=t=>{let s=t.currentTarget;if(!T(t)||S.has(t))return;g.add(s),i.stopPropagation&&S.add(t);let n=e(s,t),r={...o,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,r),window.removeEventListener("pointercancel",h,r),g.has(s)&&g.delete(s),T(t)&&"function"==typeof n&&n(t,{success:e})},l=t=>{a(t,s===window||s===document||i.useGlobalTarget||f(s,t.target))},h=t=>{a(t,!1)};window.addEventListener("pointerup",l,r),window.addEventListener("pointercancel",h,r)};return s.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",a,o),(0,p.isHTMLElement)(t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let s=x(()=>{if(g.has(i))return;P(i,"down");let t=x(()=>{P(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>P(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)})(t,o)),(0,v.isElementKeyboardAccessible)(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(w(this.node,e,"Start"),(t,{success:e})=>w(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}var V=e;let E=new WeakMap,D=new WeakMap,b=t=>{let e=E.get(t.target);e&&e(t)},C=t=>{t.forEach(b)},L={some:0,all:1};class B extends V.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:s,margin:n,amount:o="some",once:r}=i,a={root:s?s.current:void 0,rootMargin:n,threshold:"number"==typeof o?o:L[o]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),n=e?i:s;n&&n(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;D.has(i)||D.set(i,{});let s=D.get(i),n=JSON.stringify(e);return s[n]||(s[n]=new IntersectionObserver(C,{root:t,...e})),s[n]}(a),E.set(t,l),e.observe(t),()=>{E.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}t.s(["gestureAnimations",0,{inView:{Feature:B},tap:{Feature:A},focus:{Feature:m},hover:{Feature:l}}],296643)},695739,t=>{"use strict";var e=t.i(423482),i=t.i(724505);let s={layout:{ProjectionNode:e.HTMLProjectionNode,MeasureLayout:i.MeasureLayout}};t.s(["layout",0,s])},414503,906627,t=>{"use strict";var e=t.i(899994),i=t.i(388905),s=t.i(119744),n=t.i(555810),o=t.i(54389),r=t.i(604955),a=t.i(203851),l=t.i(225346),h=t.i(757325),u=t.i(668782);class c extends a.DOMVisualElement{constructor(){super(...arguments),this.type="html",this.renderInstance=h.renderHTML}mount(t){(0,i.invariant)(!!t.style,"motion.create() components must forward their ref to a HTML or SVG element","custom-component-ref"),super.mount(t)}readValueFromInstance(t,e){if(n.transformProps.has(e))return this.projection?.isProjecting?(0,o.defaultTransformValue)(e):(0,o.readTransformValue)(t,e);{let i=window.getComputedStyle(t),n=((0,s.isCSSVariableName)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return(0,r.measureViewportBox)(t,e)}build(t,e,i){(0,l.buildHTMLStyles)(t,e,i.transformTemplate)}
2scrapeMotionValuesFromProps(t,e,i){return(0,u.scrapeMotionValuesFromProps)(t,e,i)}}t.s(["HTMLVisualElement",0,c],906627);var m=t.i(191788),d=t.i(304606);t.s(["createDomVisualElement",0,(t,i)=>i.isSVG??(0,d.isSVGComponent)(t)?new e.SVGVisualElement(i):new c(i,{allowProjection:t!==m.Fragment})],414503)},203838,448095,t=>{"use strict";var e=t.i(450180),i=t.i(344063),s=t.i(286791),n=t.i(464669),o=t.i(55974),r=t.i(846164),a=t.i(371955),l=t.i(404995),h=t.i(612179),u=t.i(591905),c=t.i(855023),m=t.i(518218);let d={anticipate:t.i(579870).anticipate,backInOut:m.backInOut,circInOut:c.circInOut};class p extends h.NativeAnimation{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in d&&(t.ease=d[t.ease])}(t),(0,u.replaceTransitionType)(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:o,element:r,...h}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let u=new n.JSAnimation({...h,autoplay:!1}),c=Math.max(10,s.time.now()-this.startTime),m=(0,a.clamp)(0,10,c-10),d=u.sample(c).value,{name:p}=this.options;r&&p&&(0,l.setStyle)(r,p,d),e.setWithVelocity(u.sample(Math.max(0,c-m)).value,d,m),u.stop()}}var f=t.i(388905),y=t.i(525778),v=t.i(803595);let g=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(v.complex.test(t)||"0"===t)&&!t.startsWith("url("));function x(t){t.duration=0,t.type="keyframes"}t.s(["makeAnimationInstant",0,x],448095);var P=t.i(525412),T=t.i(468445),S=t.i(249350);let w=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,A=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),V=(0,T.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class E extends P.WithPromise{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:o=0,repeatType:a="loop",keyframes:l,name:h,motionValue:u,element:c,...m}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=s.time.now();const d={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:o,repeatType:a,name:h,motionValue:u,element:c,...m},p=c?.KeyframeResolver||r.KeyframeResolver;this.keyframeResolver=new p(l,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),h,u,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,r,a,l){let h;this.keyframeResolver=void 0;let{name:u,type:c,velocity:m,delay:d,isHandoff:v,onUpdate:P}=a;this.resolvedAt=s.time.now();let T=!0;!function(t,e,i,s){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let o=t[t.length-1],r=g(n,e),a=g(o,e);return(0,f.warning)(r===a,`You are trying to animate ${e} from "${n}" to "${o}". "${r?o:n}" is not an animatable value.`,"value-not-animatable"),!!r&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||(0,y.isGenerator)(i))&&s)}(t,u,c,m)&&(T=!1,(e.MotionGlobalConfig.instantAnimations||!d)&&P?.((0,o.getFinalKeyframe)(t,a,r)),t[0]=t[t.length-1],x(a),a.repeat=0);let E={startTime:l?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:r,...a,keyframes:t},D=T&&!v&&function(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:n,damping:o,type:r,keyframes:a}=t,l=e?.owner?.current;if(!(l instanceof HTMLElement)&&!(l instanceof SVGElement))return!1;let{onUpdate:h,transformTemplate:u}=e.owner.getProps();return V()&&i&&(S.acceleratedValues.has(i)||A.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&w.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!u)&&!h&&!s&&"mirror"!==n&&0!==o&&"inertia"!==r}(E),b=E.motionValue?.owner?.current;if(D)try{h=new p({...E,element:b})}catch{h=new n.JSAnimation(E)}else h=new n.JSAnimation(E);h.finished.then(()=>{this.notifyFinished()}).catch(i.noop),this.pendingTimeline&&(this.stopTimeline=h.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=h}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,r.flushKeyframeResolvers)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}t.s(["AsyncMotionValueAnimation",0,E],203838)},310389,t=>{"use strict";var e=t.i(948544),i=t.i(83026),s=t.i(665907);t.s(["animateSingleValue",0,function(t,n,o){let r=(0,s.isMotionValue)(t)?t:(0,i.motionValue)(t);return r.start((0,e.animateMotionValue)("",r,n,o)),r.animation}])},948544,t=>{"use strict";var e=t.i(727524),i=t.i(450180),s=t.i(203838),n=t.i(464669),o=t.i(64699),r=t.i(448095),a=t.i(555810);let l={type:"spring",stiffness:500,damping:25,restSpeed:10},h={type:"keyframes",duration:.8},u={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};var c=t.i(55974);let m=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);var d=t.i(262448);t.s(["animateMotionValue",0,(t,p,f,y={},v,g)=>x=>{let P=(0,o.getValueTransition)(y,t)||{},T=P.delay||y.delay||0,{elapsed:S=0}=y;S-=(0,e.secondsToMilliseconds)(T);let w={keyframes:Array.isArray(f)?f:[null,f],ease:"easeOut",velocity:p.getVelocity(),...P,delay:-S,onUpdate:t=>{p.set(t),P.onUpdate&&P.onUpdate(t)},onComplete:()=>{x(),P.onComplete&&P.onComplete()},name:t,motionValue:p,element:g?void 0:v};!function(t){for(let e in t)if(!m.has(e))return!0;return!1}(P)&&Object.assign(w,((t,{keyframes:e})=>e.length>2?h:a.transformProps.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:l:u)(t,w)),w.duration&&(w.duration=(0,e.secondsToMilliseconds)(w.duration)),w.repeatDelay&&(w.repeatDelay=(0,e.secondsToMilliseconds)(w.repeatDelay)),void 0!==w.from&&(w.keyframes[0]=w.from);let A=!1;if(!1!==w.type&&(0!==w.duration||w.repeatDelay)||((0,r.makeAnimationInstant)(w),0===w.delay&&(A=!0)),(i.MotionGlobalConfig.instantAnimations||i.MotionGlobalConfig.skipAnimations||v?.shouldSkipAnimations||P.skipAnimations)&&(A=!0,(0,r.makeAnimationInstant)(w),w.delay=0),w.allowFlatten=!P.type&&!P.ease,A&&!g&&void 0!==p.get()){let t=(0,c.getFinalKeyframe)(w.keyframes,P);if(void 0!==t)return void d.frame.update(()=>{w.onUpdate(t),w.onComplete()})}return P.isSync?new n.JSAnimation(w):new s.AsyncMotionValueAnimation(w)}],948544)},514452,t=>{"use strict";var e=t.i(64699),i=t.i(487314),s=t.i(451233),n=t.i(794364),o=t.i(585406),r=t.i(231234),a=t.i(948544),l=t.i(262448);let h="u">typeof window;t.s(["animateTarget",0,function(t,u,{delay:c=0,transitionOverride:m,type:d}={}){let{transition:p,transitionEnd:f,...y}=u,v=t.getDefaultTransition();p=p?(0,i.resolveTransition)(p,v):v;let g=p?.reduceMotion,x=p?.skipAnimations;m&&(p=m);let P=[],T=d&&t.animationState&&t.animationState.getState()[d],S=p?.path;for(let i in S&&S.animateVisualElement(t,y,p,c,P),y){let n=t.getValue(i,t.latestValues[i]??null),u=y[i];if(void 0===u||T&&function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,s}(T,i))continue;let m={delay:c,...(0,e.getValueTransition)(p||{},i)};x&&(m.skipAnimations=!0);let d=n.get();if(void 0!==d&&!n.isAnimating()&&!Array.isArray(u)&&u===d&&!m.velocity){l.frame.update(()=>n.set(u));continue}let f=!1;if(h&&window.MotionHandoffAnimation){let e=(0,r.getOptimisedAppearId)(t);if(e){let t=window.MotionHandoffAnimation(e,i,l.frame);null!==t&&(m.startTime=t,f=!0)}}(0,o.addValueToWillChange)(t,i);let v=g??t.shouldReduceMotion;n.start((0,a.animateMotionValue)(i,n,u,v&&s.positionalKeys.has(i)?{type:!1}:m,t,f));let S=n.animation;S&&P.push(S)}if(f){let e=()=>l.frame.update(()=>{f&&(0,n.setTarget)(t,f)});P.length?Promise.all(P).then(e):e()}return P}])},231234,t=>{"use strict";var e=t.i(332914);t.s(["getOptimisedAppearId",0,function(t){return t.props[e.optimizedAppearDataAttribute]}])},64699,t=>{"use strict";var e=t.i(487314);t.s(["getValueTransition",0,function(t,i){let s=t?.[i]??t?.default??t;return s!==t?(0,e.resolveTransition)(s,t):s}])},487314,t=>{"use strict";t.s(["resolveTransition",0,function(t,e){if(t?.inherit&&e){let{inherit:i,...s}=t;return{...e,...s}}return t}])},267798,t=>{"use strict";t.s(["eachAxis",0,function(t){return[t("x"),t("y")]}])},604955,60541,735403,781057,t=>{"use strict";function e({top:t,left:i,right:s,bottom:n}){return{x:{min:i,max:s},y:{min:t,max:n}}}function i(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}t.s(["convertBoundingBoxToBox",0,e,"convertBoxToBoundingBox",0,function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}},"transformBoxPoints",0,i],60541);var s=t.i(566651);function n(t){return void 0===t||1===t}function o({scale:t,scaleX:e,scaleY:i}){return!n(t)||!n(e)||!n(i)}function r(t){return o(t)||a(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function a(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function l(t,e,i){return i+e*(t-i)}
2function h(t,e,i,s,n){return void 0!==n&&(t=l(t,n,s)),l(t,i,s)+e}function u(t,e=0,i=1,s,n){t.min=h(t.min,e,i,s,n),t.max=h(t.max,e,i,s,n)}function c(t,{x:e,y:i}){u(t.x,e.translate,e.scale,e.originPoint),u(t.y,i.translate,i.scale,i.originPoint)}function m(t,e){t.min+=e,t.max+=e}function d(t,e,i,n,o=.5){let r=(0,s.mixNumber)(t.min,t.max,o);u(t,e,i,r,n)}function p(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function f(t,e,i){let s=i??t;d(t.x,p(e.x,s.x),e.scaleX,e.scale,e.originX),d(t.y,p(e.y,s.y),e.scaleY,e.scale,e.originY)}function y(t,s){return e(i(t.getBoundingClientRect(),s))}t.s(["has2DTranslate",0,a,"hasScale",0,o,"hasTransform",0,r],735403),t.s(["applyBoxDelta",0,c,"applyTreeDeltas",0,function(t,e,i,s=!1){let n,o,a=i.length;if(a){e.x=e.y=1;for(let l=0;l<a;l++){o=(n=i[l]).projectionDelta;let{visualElement:a}=n.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(s&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(m(t.x,-n.scroll.offset.x),m(t.y,-n.scroll.offset.y)),o&&(e.x*=o.x.scale,e.y*=o.y.scale,c(t,o)),s&&r(n.latestValues)&&f(t,n.latestValues,n.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}},"scalePoint",0,l,"transformBox",0,f,"translateAxis",0,m],781057),t.s(["measurePageBox",0,function(t,e,i){let s=y(t,i),{scroll:n}=e;return n&&(m(s.x,n.offset.x),m(s.y,n.offset.y)),s},"measureViewportBox",0,y],604955)},756888,t=>{"use strict";t.s(["Feature",0,class{constructor(t){this.isMounted=!1,this.node=t}update(){}}])},899994,203851,757325,t=>{"use strict";var e=t.i(555810),i=t.i(424291),s=t.i(422405),n=t.i(665907),o=t.i(451233),r=t.i(987888),a=t.i(388905),l=t.i(789114),h=t.i(119744);let u=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var c=t.i(846164),m=t.i(519879),d=t.i(803595),p=t.i(245004);let f=new Set(["auto","none","0"]);var y=t.i(489655);class v extends c.KeyframeResolver{constructor(t,e,i,s,n){super(t,e,i,s,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let s=t[i];if("string"==typeof s&&(s=s.trim(),(0,h.isCSSVariableToken)(s))){let n=function t(e,i,s=1){(0,a.invariant)(s<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,o]=function(t){let e=u.exec(t);if(!e)return[,];let[,i,s,n]=e;return[`--${i??s}`,n]}(e);if(!n)return;let r=window.getComputedStyle(i).getPropertyValue(n);if(r){let t=r.trim();return(0,l.isNumericalString)(t)?parseFloat(t):t}return(0,h.isCSSVariableToken)(o)?t(o,i,s+1):o}(s,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!o.positionalKeys.has(i)||2!==t.length)return;let[s,n]=t,c=(0,r.findDimensionValueType)(s),m=(0,r.findDimensionValueType)(n);if((0,h.containsCSSVariable)(s)!==(0,h.containsCSSVariable)(n)&&y.positionalValues[i]){this.needsMeasurement=!0;return}if(c!==m)if((0,y.isNumOrPxType)(c)&&(0,y.isNumOrPxType)(m))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else y.positionalValues[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var s;(null===t[e]||("number"==typeof(s=t[e])?0===s:null===s||"none"===s||"0"===s||(0,m.isZeroValueString)(s)))&&i.push(e)}i.length&&function(t,e,i){let s,n=0;for(;n<t.length&&!s;){let e=t[n];"string"==typeof e&&!f.has(e)&&(0,d.analyseComplexValue)(e).values.length&&(s=t[n]),n++}if(s&&i)for(let n of e)t[n]=(0,p.getAnimatableNone)(i,s)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=y.positionalValues[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&&t.getValue(i,s).jump(s,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let s=t.getValue(e);s&&s.jump(this.measuredOrigin,!1);let n=i.length-1,o=i[n];i[n]=y.positionalValues[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEac
2h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var g=t.i(971188);class x extends g.VisualElement{constructor(){super(...arguments),this.KeyframeResolver=v}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,n.isMotionValue)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}t.s(["DOMVisualElement",0,x],203851);var P=t.i(646768),T=t.i(125052);let S=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);var w=t.i(220007);function A(t,{style:e,vars:i},s,n){let o,r=t.style;for(o in e)r[o]=e[o];for(o in n?.applyProjectionStyles(r,s),i)r.setProperty(o,i[o])}t.s(["renderHTML",0,A],757325);var V=t.i(449276);t.s(["SVGVisualElement",0,class extends x{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.createBox}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,s){if(e.transformProps.has(s)){let t=(0,i.getDefaultValueType)(s);return t&&t.default||0}if(T.cssStyleProperties.includes(s)){let e=getComputedStyle(t)[s];if("string"==typeof e&&e)return e.trim()}return s=S.has(s)?s:(0,P.camelToDash)(s),t.getAttribute(s)}scrapeMotionValuesFromProps(t,e,i){return(0,V.scrapeMotionValuesFromProps)(t,e,i)}build(t,e,i){(0,T.buildSVGAttrs)(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,s){for(let i in A(t,e,void 0,s),e.attrs)t.setAttribute(S.has(i)?i:(0,P.camelToDash)(i),e.attrs[i])}mount(t){this.isSVGTag=(0,w.isSVGTag)(t.tagName),super.mount(t)}}],899994)},451233,t=>{"use strict";let e=new Set(["width","height","top","left","right","bottom",...t.i(555810).transformPropOrder]);t.s(["positionalKeys",0,e])},247652,t=>{"use strict";var e=t.i(800801);t.s(["resolveVariant",0,function(t,i,s){let n=t.getProps();return(0,e.resolveVariantFromProps)(n,i,void 0!==s?s:n.custom,t)}])},794364,429353,t=>{"use strict";var e=t.i(83026),i=t.i(247652);let s=t=>Array.isArray(t);t.s(["isKeyframesTarget",0,s],429353),t.s(["setTarget",0,function(t,n){let{transitionEnd:o={},transition:r={},...a}=(0,i.resolveVariant)(t,n)||{};for(let i in a={...a,...o}){var l;let n=s(l=a[i])?l[l.length-1]||0:l;t.hasValue(i)?t.getValue(i).set(n):t.addValue(i,(0,e.motionValue)(n))}}],794364)},542827,429600,t=>{"use strict";t.s(["statsBuffer",0,{value:null,addProjectionMetrics:null}],542827);var e=t.i(286791);t.i(727524);var i=t.i(262448);t.s(["delay",0,function(t,s){let n=e.time.now(),o=({timestamp:e})=>{let r=e-n;r>=s&&((0,i.cancelFrame)(o),t(r-s))};return i.frame.setup(o,!0),()=>(0,i.cancelFrame)(o)}],429600)},570856,t=>{"use strict";var e=t.i(720972);t.s(["isSVGSVGElement",0,function(t){return(0,e.isSVGElement)(t)&&"svg"===t.tagName}])},585406,t=>{"use strict";var e=t.i(450180),i=t.i(665907);t.s(["addValueToWillChange",0,function(t,s){let n=t.getValue("willChange");if((0,i.isMotionValue)(n)&&n.add)return n.add(s);if(!n&&e.MotionGlobalConfig.WillChange){let i=new e.MotionGlobalConfig.WillChange("auto");t.addValue("willChange",i),i.add(s)}}],585406)}]);
3
4//# debugId=b2563320-0124-6e1d-e7bb-018e960dcc2a

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.