1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7017],{89334:function(t,e,i){i.d(e,{D:function(){return r}});var s=i(6873),o=i(20804),n=i(77599);function r(t,e,i){let r=(0,n.i)(t)?t:(0,o.BX)(t);return r.start((0,s.v)("",r,e,i)),r.animation}},73241:function(t,e,i){i.d(e,{hO:function(){return r},oO:function(){return n}});var s=i(2265),o=i(67797);function n(){let t=(0,s.useContext)(o.O);if(null===t)return[!0,null];let{isPresent:e,onExitComplete:i,register:n}=t,r=(0,s.useId)();return(0,s.useEffect)(()=>n(r),[]),!e&&i?[!1,()=>i&&i(r)]:[!0]}function r(){var t;return null===(t=(0,s.useContext)(o.O))||t.isPresent}},44591:function(t,e,i){i.d(e,{o:function(){return G}});var s=i(20847),o=i(69276),n=i(19047),r=i(63280),a=i(80557),l=i(33787),h=i(89654);let u=(t,e)=>Math.abs(t-e);var d=i(83414),c=i(39630);class m{constructor(t,e,{transformPagePoint:i,contextWindow:s,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=v(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,o=(t=i.offset,e={x:0,y:0},Math.sqrt(u(t.x,e.x)**2+u(t.y,e.y)**2)>=3);if(!s&&!o)return;let{point:n}=i,{timestamp:r}=c.frameData;this.history.push({...n,timestamp:r});let{onStart:a,onMove:l}=this.handlers;s||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=p(e,this.transformPagePoint),c.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=v("pointercancel"===t.type?this.lastMoveEventInfo:p(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),s&&s(t,n)},!(0,d.D)(t))return;this.dragSnapToOrigin=o,this.handlers=e,this.transformPagePoint=i,this.contextWindow=s||window;let n=p((0,r.Q)(t),this.transformPagePoint),{point:a}=n,{timestamp:m}=c.frameData;this.history=[{...a,timestamp:m}];let{onSessionStart:f}=e;f&&f(t,v(n,this.history)),this.removeListeners=(0,h.z)((0,l.a)(this.contextWindow,"pointermove",this.handlePointerMove),(0,l.a)(this.contextWindow,"pointerup",this.handlePointerUp),(0,l.a)(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,c.Pn)(this.updatePoint)}}function p(t,e){return e?{point:e(t.point)}:t}function f(t,e){return{x:t.x-e.x,y:t.y-e.y}}function v({point:t},e){return{point:t,delta:f(t,y(e)),offset:f(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null,o=y(t);for(;i>=0&&(s=t[i],!(o.timestamp-s.timestamp>(0,a.w)(.1)));)i--;if(!s)return{x:0,y:0};let n=(0,a.X)(o.timestamp-s.timestamp);if(0===n)return{x:0,y:0};let r={x:(o.x-s.x)/n,y:(o.y-s.y)/n};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e,0)}}function y(t){return t[t.length-1]}var g=i(75153),x=i(17576),P=i(33217),T=i(86910),D=i(51506),E=i(85303);function S(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 R(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 L(t,e,i){return{min:A(t,e),max:A(t,i)}}function A(t,e){return"number"==typeof t?t:t[e]||0}var j=i(58250),C=i(12601),b=i(77684),B=i(33005),w=i(23731),V=i(75480),M=i(6873);let U=({current:t})=>t?t.ownerDocument.defaultView:null,O=new WeakMap;class k{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,j.dO)(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:s}=this.getProps();this.panSession=new m(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor((0,r.Q)(t,"page").point)},onStart:(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:o}=this.getProps();if(i&&!s&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=(0,g.fJ)(i),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,C.U)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(V.aQ.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];if(s){let t=(0,T.JO)(s);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}
1),o&&c.Wi.update(()=>o(t,e),!1,!0);let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},onMove:(t,e)=>{let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:o,onDrag:n}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:r}=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}(r),null!==this.currentDirection&&o&&o(this.currentDirection);return}this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),n&&n(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>(0,C.U)(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:s,contextWindow:U(this.visualElement)})}stop(t,e){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:s}=e;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&c.Wi.update(()=>o(t,e))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!F(t,s,this.currentDirection))return;let o=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?(0,E.C)(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?(0,E.C)(i,t,s.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),o.set(n)}resolveConstraints(){var t;let{dragConstraints:e,dragElastic:i}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,o=this.constraints;e&&(0,x.I)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&s?this.constraints=function(t,{top:e,left:i,bottom:s,right:o}){return{x:S(t.x,i,o),y:S(t.y,e,s)}}(s.layoutBox,e):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:L(t,"left","right"),y:L(t,"top","bottom")}}(i),o!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&(0,C.U)(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(s.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,x.I)(e))return!1;let s=e.current;(0,n.k)(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let r=(0,b.z)(s,o.root,this.visualElement.getTransformPagePoint()),a={x:R((t=o.layout.layoutBox).x,r.x),y:R(t.y,r.y)};if(i){let t=i((0,B.z2)(a));this.hasMutatedConstraints=!!t,t&&(a=(0,B.i8)(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:o,dragSnapToOrigin:n,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{};return Promise.all((0,C.U)(r=>{if(!F(r,e,this.currentDirection))return;let l=a&&a[r]||{};n&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[r]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(r,h)})).then(r)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return i.start((0,M.v)(t,i,0,e))}stopAnimation(){(0,C.U)(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){(0,C.U)(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){let e="_drag"+t.toUpperCase(),i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){(0,C.U)(e=>{let{drag:i}=this.getProps();if(!F(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,o=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:n}=s.layout.layoutBox[e];o.set(t[e]-(0,E.C)(i,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,x.I)(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};(0,C.U)(t=>{let e=this.getAxisMotionValue(t);if(e){let i=e.get();s[t]=function(t,e){let i=.5,s=(0,T.JO)(t),o=(0,T.JO)(e);return o>s?i=(0,P.Y)(e.min,e.max-s,t.min):s>o&&(i=(0,P.Y)(t.min,t.max-o,e.min)),(0,D.u)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),(0,C.U)(e=>{if(!F(e,t,null))return;let i=this.getAxisMotionValue(e),{min:o,max:n}=this.constraints[e];i.set((0,E.C)(o,n,s[e]))})}addListeners(){if(!this.visualElement.current)return;O.set(this.visualElement,this);let t=this.visualElement.current,e=(0,l.a)(t,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),i=()=>{let{dragConstraints:t}=this.getProps();(0,x.I)(t)&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,o=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),i();let n=(0,w.E)(window,"resize",()=>this.scalePositionWithinConstraints()),r=s.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&((0,C.U)(e=>{let i=this.getAxisMotionValue(e);
1i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{n(),e(),o(),r&&r()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:n=.35,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:o,dragElastic:n,dragMomentum:r}}}function F(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class I extends s.L{constructor(t){super(t),this.removeGroupControls=o.Z,this.removeListeners=o.Z,this.controls=new k(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||o.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let W=t=>(e,i)=>{t&&c.Wi.update(()=>t(e,i))};class N extends s.L{constructor(){super(...arguments),this.removePointerDownListener=o.Z}onPointerDown(t){this.session=new m(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:U(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:W(t),onStart:W(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&c.Wi.update(()=>s(t,e))}}}mount(){this.removePointerDownListener=(0,l.a)(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var $=i(71810);let G={pan:{Feature:N},drag:{Feature:I,ProjectionNode:i(13691).u,MeasureLayout:$.q}}},61865:function(t,e,i){i.d(e,{b:function(){return n}});var s=i(13691),o=i(71810);let n={layout:{ProjectionNode:s.u,MeasureLayout:o.q}}},71810:function(t,e,i){i.d(e,{q:function(){return v}});var s=i(2265),o=i(73241),n=i(5050),r=i(86094),a=i(19103),l=i(75480);function h(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let u={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!l.px.test(t))return t;t=parseFloat(t)}let i=h(t,e.target.x),s=h(t,e.target.y);return`${i}% ${s}%`}};var d=i(85303),c=i(83646),m=i(57290),p=i(39630);class f extends s.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:o}=t;(0,m.B)(y),o&&(e.group&&e.group.add(o),i&&i.register&&s&&i.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),a.V.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:o}=this.props,n=i.projection;return n&&(n.isPresent=o,s||t.layoutDependency!==e||void 0===e?n.willUpdate():this.safeToRemove(),t.isPresent===o||(o?n.promote():n.relegate()||p.Wi.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;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}}function v(t){let[e,i]=(0,o.oO)(),a=(0,s.useContext)(n.p);return s.createElement(f,{...t,layoutGroup:a,switchLayoutGroup:(0,s.useContext)(r.g),isPresent:e,safeToRemove:i})}let y={borderRadius:{...u,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:u,borderTopRightRadius:u,borderBottomLeftRadius:u,borderBottomRightRadius:u,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=c.P.parse(t);if(s.length>5)return t;let o=c.P.createTransformer(t),n="number"!=typeof s[0]?1:0,r=i.x.scale*e.x,a=i.y.scale*e.y;s[0+n]/=r,s[1+n]/=a;let l=(0,d.C)(r,a,.5);return"number"==typeof s[2+n]&&(s[2+n]/=l),"number"==typeof s[3+n]&&(s[3+n]/=l),o(s)}}}}
1,86910:function(t,e,i){i.d(e,{JO:function(){return o},b3:function(){return d},tf:function(){return h},wS:function(){return n},y$:function(){return a}});var s=i(85303);function o(t){return t.max-t.min}function n(t,e=0,i=.01){return Math.abs(t-e)<=i}function r(t,e,i,r=.5){t.origin=r,t.originPoint=(0,s.C)(e.min,e.max,t.origin),t.scale=o(i)/o(e),(n(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=(0,s.C)(i.min,i.max,t.origin)-t.originPoint,(n(t.translate)||isNaN(t.translate))&&(t.translate=0)}function a(t,e,i,s){r(t.x,e.x,i.x,s?s.originX:void 0),r(t.y,e.y,i.y,s?s.originY:void 0)}function l(t,e,i){t.min=i.min+e.min,t.max=t.min+o(e)}function h(t,e,i){l(t.x,e.x,i.x),l(t.y,e.y,i.y)}function u(t,e,i){t.min=e.min-i.min,t.max=t.min+o(e)}function d(t,e,i){u(t.x,e.x,i.x),u(t.y,e.y,i.y)}},13691:function(t,e,i){i.d(e,{u:function(){return tT}});var s=i(72428),o=i(68536),n=i(33217),r=i(85303),a=i(69276),l=i(75480);let h=["TopLeft","TopRight","BottomLeft","BottomRight"],u=h.length,d=t=>"string"==typeof t?parseFloat(t):t,c=t=>"number"==typeof t||l.px.test(t);function m(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let p=v(0,.5,o.Bn),f=v(.5,.95,a.Z);function v(t,e,i){return s=>s<t?0:s>e?1:i((0,n.Y)(t,e,s))}function y(t,e){t.min=e.min,t.max=e.max}function g(t,e){y(t.x,e.x),y(t.y,e.y)}var x=i(46711),P=i(86910);function T(t,e,i,s,o){return t-=e,t=(0,x.q2)(t,1/i,s),void 0!==o&&(t=(0,x.q2)(t,1/o,s)),t}function D(t,e,[i,s,o],n,a){!function(t,e=0,i=1,s=.5,o,n=t,a=t){if(l.aQ.test(e)&&(e=parseFloat(e),e=(0,r.C)(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let h=(0,r.C)(n.min,n.max,s);t===n&&(h-=e),t.min=T(t.min,e,i,h,o),t.max=T(t.max,e,i,h,o)}(t,e[i],e[s],e[o],e.scale,n,a)}let E=["x","scaleX","originX"],S=["y","scaleY","originY"];function R(t,e,i,s){D(t.x,e,E,i?i.x:void 0,s?s.x:void 0),D(t.y,e,S,i?i.y:void 0,s?s.y:void 0)}var L=i(58250),A=i(69792);function j(t){return 0===t.translate&&1===t.scale}function C(t){return j(t.x)&&j(t.y)}function b(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function B(t){return(0,P.JO)(t.x)/(0,P.JO)(t.y)}var w=i(28746);class V{constructor(){this.members=[]}add(t){(0,w.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,w.cl)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e;let i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var M=i(57290);function U(t,e,i){let s="",o=t.x.translate/e.x,n=t.y.translate/e.y;if((o||n)&&(s=`translate3d(${o}px, ${n}px, 0) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{rotate:t,rotateX:e,rotateY:o}=i;t&&(s+=`rotate(${t}deg) `),e&&(s+=`rotateX(${e}deg) `),o&&(s+=`rotateY(${o}deg) `)}let r=t.x.scale*e.x,a=t.y.scale*e.y;return(1!==r||1!==a)&&(s+=`scale(${r}, ${a})`),s||"none"}var O=i(12601),k=i(98107);let F=(t,e)=>t.depth-e.depth;class I{constructor(){this.children=[],this.isDirty=!1}add(t){(0,w.y4)(this.children,t),this.isDirty=!0}remove(t){(0,w.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(F),this.isDirty=!1,this.children.forEach(t)}}var W=i(32404),N=i(19103),$=i(39630),G=i(48170),z=i(89334),H=i(51506);let J=["","X","Y","Z"],Y={visibility:"hidden"},q=0,X={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Z({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:o,resetTransform:n}){return class{constructor(t={},i=null==e?void 0:e()){this.id=q++,this.animationId=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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,X.totalNodes=X.resolvedTargetDeltas=X.recalculatedProjection=0,this.nodes.forEac
1h(K),this.nodes.forEach(tr),this.nodes.forEach(ta),this.nodes.forEach(tt),window.MotionDebug&&window.MotionDebug.record(X)},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 I)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new s.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=(0,G.v)(e),this.instance=e;let{layoutId:s,layout:o,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(o||s)&&(this.isLayoutDirty=!0),t){let i;let s=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=performance.now(),s=({timestamp:e})=>{let o=e-i;o>=250&&((0,$.Pn)(s),t(o-250))};return $.Wi.read(s,!0),()=>(0,$.Pn)(s)}(s,0),N.V.hasAnimatedSinceResize&&(N.V.hasAnimatedSinceResize=!1,this.nodes.forEach(tn))})}s&&this.root.registerSharedNode(s,this),!1!==this.options.animate&&n&&(s||o)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||n.getDefaultTransition()||tm,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!b(this.targetLayout,s)||i,h=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,h);let e={...(0,A.e)(o,"layout"),onPlay:r,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||tn(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,(0,$.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(tl),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(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ti);return}this.isUpdating||this.nodes.forEach(ts),this.isUpdating=!1,this.nodes.forEach(to),this.nodes.forEach(Q),this.nodes.forEach(_),this.clearAllSnapshots();let t=performance.now();$.frameData.delta=(0,H.u)(0,1e3/60,t-$.frameData.timestamp),$.frameData.timestamp=t,$.frameData.isProcessing=!0,$.S6.update.process($.frameData),$.S6.preRender.process($.frameData),$.S6.render.process($.frameData),$.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}
1clearAllSnapshots(){this.nodes.forEach(te),this.sharedNodes.forEach(th)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,$.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){$.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,L.dO)(),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);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:o(this.instance),offset:i(this.instance)})}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!C(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,o=s!==this.prevTransformTemplateValue;t&&(e||(0,k.ud)(this.latestValues)||o)&&(n(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)),tv((e=s).x),tv(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,L.dO)();let e=t.measureViewportBox(),{scroll:i}=this.root;return i&&((0,x.am)(e.x,i.offset.x),(0,x.am)(e.y,i.offset.y)),e}removeElementScroll(t){let e=(0,L.dO)();g(e,t);for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:o,options:n}=s;if(s!==this.root&&o&&n.layoutScroll){if(o.isRoot){g(e,t);let{scroll:i}=this.root;i&&((0,x.am)(e.x,-i.offset.x),(0,x.am)(e.y,-i.offset.y))}(0,x.am)(e.x,o.offset.x),(0,x.am)(e.y,o.offset.y)}}return e}applyTransform(t,e=!1){let i=(0,L.dO)();g(i,t);for(let t=0;t<this.path.length;t++){let s=this.path[t];!e&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(0,x.D2)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,k.ud)(s.latestValues)&&(0,x.D2)(i,s.latestValues)}return(0,k.ud)(this.latestValues)&&(0,x.D2)(i,this.latestValues),i}removeTransform(t){let e=(0,L.dO)();g(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,k.ud)(i.latestValues))continue;(0,k.Lj)(i.latestValues)&&i.updateSnapshot();let s=(0,L.dO)();g(s,i.measurePageBox()),R(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,k.ud)(this.latestValues)&&R(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!==$.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e;let i=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=i.isSharedProjectionDirty);let s=!!this.resumingFrom||this!==i;if(!(t||s&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:o,layoutId:n}=this.options;if(this.layout&&(o||n)){if(this.resolvedRelativeTargetAt=$.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,L.dO)(),this.relativeTargetOrigin=(0,L.dO)(),(0,P.b3)(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),g(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,L.dO)(),this.targetWithTransforms=(0,L.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,P.tf)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):g(this.target,this.layout.layoutBox),(0,x.o2)(this.target,this.targetDelta)):g(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let t=this.getClosestProjectingParent();t&&!!t.resumingFrom==!!this.resumingFrom&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,L.dO)(),this.relativeTargetOrigin=(0,L.dO)(),(0,P.b3)(this.relativeTargetOrigin,this.target,t.target),g(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}X.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||(0,k.Lj)(this.parent.latestValues)||(0,k.D_)(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,s=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(s=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(s=!1),this.resolvedRelativeTargetAt===$.frameData.timestamp&&(s=!1),s)return;let{layout:o,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||!(o||n))return;g(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,a=this.treeScale.y;(0,x.YY)(this.layoutCorrected,this.treeScale,this.path,i),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox);let{target:l}=e;if(!l){this.projectionTransform&&(this.projectionDelta=(0,L.wc)(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=(0,L.wc)(),this.projectionDeltaWithTransform=(0,L.wc)());let h=this.projectionTransform;(0,P.y$)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=U(this.projectionDelta,this.treeScale),(this.projectionTransform!==h||this.treeScale.x!==r||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),X.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){let i;let s=this.snapshot,o=s?s.latestValues:{},n={...this.latestValues},a=(0,L.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let v=(0,L.dO)(),y=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),x=this.getStack(),T=!x||x.members.length<=1,D=!!(y&&!T&&!0===this.options.crossfade&&!this.path.some(tc));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(tu(a.x,t.x,s),tu(a.y,t.y,s),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var x,E,S,R;(0,P.b3)(v,this.layout.layoutBox,this.relativeParent.layout.layoutBox),S=this.relativeTarget,R=this.relativeTargetOrigin,td(S.x,R.x,v.x,s),td(S.y,R.y,v.y,s),i&&(x=this.relativeTarget,E=i,x.x.min===E.x.min&&x.x.max===E.x.max&&x.y.min===E.y.min&&x.y.max===E.y.max)&&(this.isProjectionDirty=!1),i||(i=(0,L.dO)()),g(i,this.relativeTarget)}
1y&&(this.animationValues=n,function(t,e,i,s,o,n){o?(t.opacity=(0,r.C)(0,void 0!==i.opacity?i.opacity:1,p(s)),t.opacityExit=(0,r.C)(void 0!==e.opacity?e.opacity:1,0,f(s))):n&&(t.opacity=(0,r.C)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,s));for(let o=0;o<u;o++){let n=`border${h[o]}Radius`,a=m(e,n),u=m(i,n);(void 0!==a||void 0!==u)&&(a||(a=0),u||(u=0),0===a||0===u||c(a)===c(u)?(t[n]=Math.max((0,r.C)(d(a),d(u),s),0),(l.aQ.test(u)||l.aQ.test(a))&&(t[n]+="%")):t[n]=u)}(e.rotate||i.rotate)&&(t.rotate=(0,r.C)(e.rotate||0,i.rotate||0,s))}(n,o,this.latestValues,s,D,T)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,$.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=$.Wi.update(()=>{N.V.hasAnimatedSinceResize=!0,this.currentAnimation=(0,z.D)(0,1e3,{...t,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:o}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&ty(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,L.dO)();let e=(0,P.JO)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=(0,P.JO)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}g(e,i),(0,x.D2)(e,o),(0,P.y$)(this.projectionDeltaWithTransform,this.layoutCorrected,e,o)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new V),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(){var t;let{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.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)}resetRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.rotate||i.rotateX||i.rotateY||i.rotateZ)&&(e=!0),!e)return;let s={};for(let e=0;e<J.length;e++){let o="rotate"+J[e];i[o]&&(s[o]=i[o],t.setStaticValue(o,0))}for(let e in t.render(),s)t.setStaticValue(e,s[e]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Y;let s={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=(0,W.b)(null==t?void 0:t.pointerEvents)||"",s.transform=o?o(this.latestValues,""):"none",s;let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=(0,W.b)(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,k.ud)(this.latestValues)&&(e.transform=o?o({},""):"none",this.hasProjected=!1),e}let r=n.animationValues||n.latestValues;this.applyTransformsToTarget(),s.transform=U(this.projectionDeltaWithTransform,this.treeScale,r),o&&(s.transform=o(r,s.transform));let{x:a,y:l}=this.projectionDelta;for(let t in s.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,n.animationValues?s.opacity=n===this?null!==(i=null!==(e=r.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:s.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,M.P){if(void 0===r[t])continue;let{correct:e,applyTo:i}=M.P[t],o="none"===s.transform?r[t]:e(r[t],n);if(i){let t=i.length;for(let e=0;e<t;e++)s[i[e]]=o}else s[t]=o}return this.options.layoutId&&(s.pointerEvents=n===this?(0,W.b)(null==t?void 0:t.pointerEvents)||"":"none"),s}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
1resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(ti),this.root.sharedNodes.clear()}}}function Q(t){t.updateLayout()}function _(t){var e;let i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){let{layoutBox:e,measuredBox:s}=t.layout,{animationType:o}=t.options,n=i.source!==t.layout.source;"size"===o?(0,O.U)(t=>{let s=n?i.measuredBox[t]:i.layoutBox[t],o=(0,P.JO)(s);s.min=e[t].min,s.max=s.min+o}):ty(o,i.layoutBox,e)&&(0,O.U)(s=>{let o=n?i.measuredBox[s]:i.layoutBox[s],r=(0,P.JO)(e[s]);o.max=o.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+r)});let r=(0,L.wc)();(0,P.y$)(r,e,i.layoutBox);let a=(0,L.wc)();n?(0,P.y$)(a,t.applyTransform(s,!0),i.measuredBox):(0,P.y$)(a,e,i.layoutBox);let l=!C(r),h=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:o,layout:n}=s;if(o&&n){let r=(0,L.dO)();(0,P.b3)(r,i.layoutBox,o.layoutBox);let a=(0,L.dO)();(0,P.b3)(a,e,n.layoutBox),b(r,a)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=r,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeTargetChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function K(t){X.totalNodes++,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 tt(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function te(t){t.clearSnapshot()}function ti(t){t.clearMeasurements()}function ts(t){t.isLayoutDirty=!1}function to(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tn(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tr(t){t.resolveTargetDelta()}function ta(t){t.calcProjection()}function tl(t){t.resetRotation()}function th(t){t.removeLeadSnapshot()}function tu(t,e,i){t.translate=(0,r.C)(e.translate,0,i),t.scale=(0,r.C)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function td(t,e,i,s){t.min=(0,r.C)(e.min,i.min,s),t.max=(0,r.C)(e.max,i.max,s)}function tc(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tm={duration:.45,ease:[.4,0,.1,1]},tp=t=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(t),tf=tp("applewebkit/")&&!tp("chrome/")?Math.round:a.Z;function tv(t){t.min=tf(t.min),t.max=tf(t.max)}function ty(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,P.wS)(B(e),B(i),.2)}var tg=i(23731);let tx=Z({attachResizeListener:(t,e)=>(0,tg.E)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tP={current:void 0},tT=Z({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tP.current){let t=new tx({});t.mount(window),t.setOptions({layoutScroll:!0}),tP.current=t}return tP.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position})},19103:function(t,e,i){i.d(e,{V:function(){return s}});let s={hasAnimatedSinceResize:!0,hasEverUpdated:!1}},12601:function(t,e,i){i.d(e,{U:function(){return s}});function s(t){return[t("x"),t("y")]}},48170:function(t,e,i){i.d(e,{v:function(){return s}});function s(t){return t instanceof SVGElement&&"svg"!==t.tagName}}}]);
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.