1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5866],{84370:function(t,e,i){i.d(e,{t:function(){return s}});let s=new Set(["opacity","clipPath","filter","transform"])},71889:function(t,e,i){let s;i.d(e,{X:function(){return a}});var o=i(15209),n=i(72114);function r(){s=void 0}let a={now:()=>(void 0===s&&a.set(n.frameData.isProcessing||o.c.useManualTiming?n.frameData.timestamp:performance.now()),s),set:t=>{s=t,queueMicrotask(r)}}},42589:function(t,e,i){i.d(e,{o:function(){return z}});var s=i(51635),o=i(25838),n=i(81102),r=i(79329),a=i(34849),l=i(38075),h=i(18525);function u(t,e,i,s){return(0,l.E)(t,e,(0,h.s)(i),s)}let d=(t,e)=>Math.abs(t-e);var c=i(31237),p=i(72114);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=g(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,o=(t=i.offset,e={x:0,y:0},Math.sqrt(d(t.x,e.x)**2+d(t.y,e.y)**2)>=3);if(!s&&!o)return;let{point:n}=i,{timestamp:r}=p.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=v(e,this.transformPagePoint),p.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=g("pointercancel"===t.type?this.lastMoveEventInfo:v(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),s&&s(t,n)},!(0,r.DJ)(t))return;this.dragSnapToOrigin=o,this.handlers=e,this.transformPagePoint=i,this.contextWindow=s||window;let n=v((0,h.Q)(t),this.transformPagePoint),{point:a}=n,{timestamp:l}=p.frameData;this.history=[{...a,timestamp:l}];let{onSessionStart:m}=e;m&&m(t,g(n,this.history)),this.removeListeners=(0,c.z)(u(this.contextWindow,"pointermove",this.handlePointerMove),u(this.contextWindow,"pointerup",this.handlePointerUp),u(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,p.Pn)(this.updatePoint)}}function v(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 g({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 x=i(53137),P=i(30463),D=i(38160),T=i(54375),A=i(5974);function E(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 S(t,e,i){return{min:w(t,e),max:w(t,i)}}function w(t,e){return"number"==typeof t?t:t[e]||0}var L=i(51191),j=i(55784),V=i(93264),B=i(7797),b=i(71315),k=i(96263);let U=({current:t})=>t?t.ownerDocument.defaultView:null;var M=i(25630);let C=new WeakMap;class O{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,L.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,h.Q)(t).point)},onStart:(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:o}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,r.KV)(i),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,j.U)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(b.aQ.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];if(s){let t=(0,D.JO)(s);e=parseFloat(e)/100*t}}}this.originPoint[t]=e}),o&&p.Wi.postRender(()=>o(t,e)),(0,M.K)(this.visualElement,"transform");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.openDragLock)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,j.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&&p.Wi.postRender(()=>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.openDragLock&&(this.openDragLock(),this.openDragLock=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,A.t)(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?(0,A.t)(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:E(t.x,i,o),y:E(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:S(t,"left","right"),y:S(t,"top","bottom")}}(i),o!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&(0,j.U)(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(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,V.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,j.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(0,M.K)(this.visualElement,t),i.start((0,k.v)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,j.U)(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){(0,j.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,j.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,A.t)(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,j.U)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();s[t]=function(t,e){let i=.5,s=(0,D.JO)(t),o=(0,D.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,T.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,j.U)(e=>{if(!F(e,t,null))return;let i=this.getAxisMotionValue(e),{min:o,max:n}=this.constraints[e];i.set((0,A.t)(o,n,s[e]))})}addListeners(){if(!this.visualElement.current)return;C.set(this.visualElement,this);let t=u(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();(0,x.I)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),p.Wi.read(e);let o=(0,l.E)(window,"resize",()=>this.scalePositionWithinConstraints()),n=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&((0,j.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()=>{o(),t(),s(),n&&n()}}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 W extends s.L{constructor(t){super(t),this.removeGroupControls=o.Z,this.removeListeners=o.Z,this.controls=new O(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 $=t=>(e,i)=>{t&&p.Wi.postRender(()=>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:$(t),onStart:$(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&p.Wi.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=u(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=i(88072);let z={pan:{Feature:N},drag:{Feature:W,ProjectionNode:i(22670).u,MeasureLayout:I.q}}},89183:function(t,e,i){i.d(e,{b:function(){return n}});var s=i(22670),o=i(88072);let n={layout:{ProjectionNode:s.u,MeasureLayout:o.q}}},88072:function(t,e,i){i.d(e,{q:function(){return y}});var s=i(15311),o=i(20132),n=i(49774),r=i(35324),a=i(42314),l=i(9319),h=i(71315);function u(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let d={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!h.px.test(t))return t;t=parseFloat(t)}let i=u(t,e.target.x),s=u(t,e.target.y);return`${i}% ${s}%`}};var c=i(5974),p=i(61684),m=i(83496),v=i(40987),f=i(72114);class g extends o.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:o}=t;(0,m.B)(x),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()})),l.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()||f.Wi.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),v.g.postRender(()=>{!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 y(t){let[e,i]=(0,n.oO)(),l=(0,o.useContext)(r.p);return(0,s.jsx)(g,{...t,layoutGroup:l,switchLayoutGroup:(0,o.useContext)(a.g),isPresent:e,safeToRemove:i})}let x={borderRadius:{...d,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:d,borderTopRightRadius:d,borderBottomLeftRadius:d,borderBottomRightRadius:d,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=p.P.parse(t);if(s.length>5)return t;let o=p.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,c.t)(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,38160: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(5974);function o(t){return t.max-t.min}function n(t,e,i){return Math.abs(t-e)<=i}function r(t,e,i,n=.5){t.origin=n,t.originPoint=(0,s.t)(e.min,e.max,t.origin),t.scale=o(i)/o(e),t.translate=(0,s.t)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function 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)}},22670:function(t,e,i){i.d(e,{u:function(){return tB}});var s=i(79329),o=i(25838),n=i(63622),r=i(60362),a=i(96263),l=i(52764),h=i(72114),u=i(40987),d=i(71889),c=i(32602);let p=(t,e)=>t.depth-e.depth;class m{constructor(){this.children=[],this.isDirty=!1}add(t){(0,c.y4)(this.children,t),this.isDirty=!0}remove(t){(0,c.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(p),this.isDirty=!1,this.children.forEach(t)}}var v=i(54375),f=i(5974),g=i(60897),y=i(18691),x=i(30463),P=i(60387),D=i(71315);let T=["TopLeft","TopRight","BottomLeft","BottomRight"],A=T.length,E=t=>"string"==typeof t?parseFloat(t):t,R=t=>"number"==typeof t||D.px.test(t);function S(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let w=j(0,.5,P.Bn),L=j(.5,.95,o.Z);function j(t,e,i){return s=>s<t?0:s>e?1:i((0,x.Y)(t,e,s))}function V(t,e){t.min=e.min,t.max=e.max}function B(t,e){V(t.x,e.x),V(t.y,e.y)}function b(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var k=i(85174),U=i(38160);function M(t,e,i,s,o){return t-=e,t=(0,k.q2)(t,1/i,s),void 0!==o&&(t=(0,k.q2)(t,1/o,s)),t}function C(t,e,[i,s,o],n,r){!function(t,e=0,i=1,s=.5,o,n=t,r=t){if(D.aQ.test(e)&&(e=parseFloat(e),e=(0,f.t)(r.min,r.max,e/100)-r.min),"number"!=typeof e)return;let a=(0,f.t)(n.min,n.max,s);t===n&&(a-=e),t.min=M(t.min,e,i,a,o),t.max=M(t.max,e,i,a,o)}(t,e[i],e[s],e[o],e.scale,n,r)}let O=["x","scaleX","originX"],F=["y","scaleY","originY"];function W(t,e,i,s){C(t.x,e,O,i?i.x:void 0,s?s.x:void 0),C(t.y,e,F,i?i.y:void 0,s?s.y:void 0)}var $=i(51191);function N(t){return 0===t.translate&&1===t.scale}function I(t){return N(t.x)&&N(t.y)}function z(t,e){return t.min===e.min&&t.max===e.max}function X(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function H(t,e){return X(t.x,e.x)&&X(t.y,e.y)}function Y(t){return(0,U.JO)(t.x)/(0,U.JO)(t.y)}function J(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class G{constructor(){this.members=[]}add(t){(0,c.y4)(this.members,t),t.scheduleRender()}remove(t){if((0,c.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 q=i(83496),Z=i(55784),Q=i(17368),_=i(9319);let K={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},tt="undefined"!=typeof window&&void 0!==window.MotionDebug,te=["","X","Y","Z"],ti={visibility:"hidden"},ts=0;function to(t,e,i,s){let{latestValues:o}=e;o[t]&&(i[t]=o[t],e.setStaticValue(t,0),s&&(s[t]=0))}function tn({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:o,resetTransform:c}){return class{constructor(t={},i=null==e?void 0:e()){this.id=ts++,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.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,tt&&(K.totalNodes=K.resolvedTargetDeltas=K.recalculatedProjection=0),this.nodes.forEac
1h(tl),this.nodes.forEach(tv),this.nodes.forEach(tf),this.nodes.forEach(th),tt&&window.MotionDebug.record(K)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new m)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new g.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=e instanceof SVGElement&&"svg"!==e.tagName,this.instance=e;let{layoutId:o,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(n||o)&&(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=d.X.now(),s=({timestamp:e})=>{let o=e-i;o>=250&&((0,h.Pn)(s),t(o-250))};return h.Wi.read(s,!0),()=>(0,h.Pn)(s)}(s,0),_.V.hasAnimatedSinceResize&&(_.V.hasAnimatedSinceResize=!1,this.nodes.forEach(tm))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&r&&(o||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:o})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||r.getDefaultTransition()||tT,{onLayoutAnimationStart:a,onLayoutAnimationComplete:l}=r.getProps(),h=!this.targetLayout||!H(this.targetLayout,o)||i,u=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...(0,s.ev)(n,"layout"),onPlay:a,onComplete:l};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||tm(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}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,h.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(tg),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.s)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",h.Wi,!(t||i))}let{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&t(o)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let 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.forEac
1h(td);return}this.isUpdating||this.nodes.forEach(tc),this.isUpdating=!1,this.nodes.forEach(tp),this.nodes.forEach(tr),this.nodes.forEach(ta),this.clearAllSnapshots();let t=d.X.now();h.frameData.delta=(0,v.u)(0,1e3/60,t-h.frameData.timestamp),h.frameData.timestamp=t,h.frameData.isProcessing=!0,h.yL.update.process(h.frameData),h.yL.preRender.process(h.frameData),h.yL.render.process(h.frameData),h.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,u.g.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tu),this.sharedNodes.forEach(ty)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,h.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){h.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,$.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);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e){let e=o(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(!c)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!I(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,o=s!==this.prevTransformTemplateValue;t&&(e||(0,Q.ud)(this.latestValues)||o)&&(c(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)),tR((e=s).x),tR(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){var t;let{visualElement:e}=this.options;if(!e)return(0,$.dO)();let i=e.measureViewportBox();if(!((null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)||this.path.some(tw))){let{scroll:t}=this.root;t&&((0,k.am)(i.x,t.offset.x),(0,k.am)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,$.dO)();if(B(i,t),null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let s=this.path[e],{scroll:o,options:n}=s;s!==this.root&&o&&n.layoutScroll&&(o.wasRoot&&B(i,t),(0,k.am)(i.x,o.offset.x),(0,k.am)(i.y,o.offset.y))}return i}applyTransform(t,e=!1){let i=(0,$.dO)();B(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,k.D2)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,Q.ud)(s.latestValues)&&(0,k.D2)(i,s.latestValues)}return(0,Q.ud)(this.latestValues)&&(0,k.D2)(i,this.latestValues),i}removeTransform(t){let e=(0,$.dO)();B(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,Q.ud)(i.latestValues))continue;(0,Q.Lj)(i.latestValues)&&i.updateSnapshot();let s=(0,$.dO)();B(s,i.measurePageBox()),W(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,Q.ud)(this.latestValues)&&W(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!==h.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||this.root.updateBlockedByResize))return;let{layout:o,layoutId:n}=this.options;if(this.layout&&(o||n)){if(this.resolvedRelativeTargetAt=h.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,$.dO)(),this.relativeTargetOrigin=(0,$.dO)(),(0,U.b3)(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),B(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,$.dO)(),this.targetWithTransforms=(0,$.dO)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,U.tf)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):B(this.target,this.layout.layoutBox),(0,k.o2)(this.target,this.targetDelta)):B(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,$.dO)(),this.relativeTargetOrigin=(0,$.dO)(),(0,U.b3)(this.relativeTargetOrigin,this.target,t.target),B(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}tt&&K.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||(0,Q.Lj)(this.parent.latestValues)||(0,Q.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===h.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;B(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,a=this.treeScale.y;(0,k.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,e.targetWithTransforms=(0,$.dO)());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(b(this.prevProjectionDelta.x,this.projectionDelta.x),b(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,U.y$)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===r&&this.treeScale.y===a&&J(this.projectionDelta.x,this.prevProjectionDelta.x)&&J(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),tt&&K.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null===(e=this.options.visualElement)||void 0===e||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,$.wc)(),this.projectionDelta=(0,$.wc)(),this.projectionDeltaWithTransform=(0,$.wc)()}setAnimationOrigin(t,e=!1){let i;let s=this.snapshot,o=s?s.latestValues:{},n={...this.latestValues},r=(0,$.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,$.dO)(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),u=!h||h.members.length<=1,d=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(tD));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(tx(r.x,t.x,s),tx(r.y,t.y,s),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,c,p,m;(0,U.b3)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,tP(p.x,m.x,a.x,s),tP(p.y,m.y,a.y,s),i&&(h=this.relativeTarget,c=i,z(h.x,c.x)&&z(h.y,c.y))&&(this.isProjectionDirty=!1),i||(i=(0,$.dO)()),B(i,this.relativeTarget)}
1l&&(this.animationValues=n,function(t,e,i,s,o,n){o?(t.opacity=(0,f.t)(0,void 0!==i.opacity?i.opacity:1,w(s)),t.opacityExit=(0,f.t)(void 0!==e.opacity?e.opacity:1,0,L(s))):n&&(t.opacity=(0,f.t)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,s));for(let o=0;o<A;o++){let n=`border${T[o]}Radius`,r=S(e,n),a=S(i,n);(void 0!==r||void 0!==a)&&(r||(r=0),a||(a=0),0===r||0===a||R(r)===R(a)?(t[n]=Math.max((0,f.t)(E(r),E(a),s),0),(D.aQ.test(a)||D.aQ.test(r))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,f.t)(e.rotate||0,i.rotate||0,s))}(n,o,this.latestValues,s,d,u)),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,h.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=h.Wi.update(()=>{_.V.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,i){let s=(0,r.i)(0)?0:(0,n.BX)(0);return s.start((0,a.v)("",s,1e3,i)),s.animation}(0,0,{...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&&tS(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,$.dO)();let e=(0,U.JO)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=(0,U.JO)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}B(e,i),(0,k.D2)(e,o),(0,U.y$)(this.projectionDeltaWithTransform,this.layoutCorrected,e,o)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new G),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)}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&&to("z",t,s,this.animationValues);for(let e=0;e<te.length;e++)to(`rotate${te[e]}`,t,s,this.animationValues),to(`skew${te[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()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ti;let s={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=(0,y.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,y.b)(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,Q.ud)(this.latestValues)&&(e.transform=o?o({},""):"none",this.hasProjected=!1),e}let r=n.animationValues||n.latestValues;
1this.applyTransformsToTarget(),s.transform=function(t,e,i){let s="",o=t.x.translate/e.x,n=t.y.translate/e.y,r=(null==i?void 0:i.z)||0;if((o||n||r)&&(s=`translate3d(${o}px, ${n}px, ${r}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:o,rotateY:n,skewX:r,skewY:a}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),o&&(s+=`rotateX(${o}deg) `),n&&(s+=`rotateY(${n}deg) `),r&&(s+=`skewX(${r}deg) `),a&&(s+=`skewY(${a}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,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,q.P){if(void 0===r[t])continue;let{correct:e,applyTo:i}=q.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,y.b)(null==t?void 0:t.pointerEvents)||"":"none"),s}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(td),this.root.sharedNodes.clear()}}}function tr(t){t.updateLayout()}function ta(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,Z.U)(t=>{let s=n?i.measuredBox[t]:i.layoutBox[t],o=(0,U.JO)(s);s.min=e[t].min,s.max=s.min+o}):tS(o,i.layoutBox,e)&&(0,Z.U)(s=>{let o=n?i.measuredBox[s]:i.layoutBox[s],r=(0,U.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,$.wc)();(0,U.y$)(r,e,i.layoutBox);let a=(0,$.wc)();n?(0,U.y$)(a,t.applyTransform(s,!0),i.measuredBox):(0,U.y$)(a,e,i.layoutBox);let l=!I(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,$.dO)();(0,U.b3)(r,i.layoutBox,o.layoutBox);let a=(0,$.dO)();(0,U.b3)(a,e,n.layoutBox),H(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 tl(t){tt&&K.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 th(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tu(t){t.clearSnapshot()}function td(t){t.clearMeasurements()}function tc(t){t.isLayoutDirty=!1}function tp(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tm(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tv(t){t.resolveTargetDelta()}function tf(t){t.calcProjection()}function tg(t){t.resetSkewAndRotation()}function ty(t){t.removeLeadSnapshot()}function tx(t,e,i){t.translate=(0,f.t)(e.translate,0,i),t.scale=(0,f.t)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tP(t,e,i,s){t.min=(0,f.t)(e.min,i.min,s),t.max=(0,f.t)(e.max,i.max,s)}function tD(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tT={duration:.45,ease:[.4,0,.1,1]},tA=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tE=tA("applewebkit/")&&!tA("chrome/")?Math.round:o.Z;function tR(t){t.min=tE(t.min),t.max=tE(t.max)}function tS(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,U.wS)(Y(e),Y(i),.2)}function tw(t){var e;return t!==t.root&&(null===(e=t.scroll)||void 0===e?void 0:e.wasRoot)}var tL=i(38075);let tj=tn({attachResizeListener:(t,e)=>(0,tL.E)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tV={current:void 0},tB=tn({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tV.current){let t=new tj({});t.mount(window),t.setOptions({layoutScroll:!0}),tV.current=t}return tV.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position})}
1,9319:function(t,e,i){i.d(e,{V:function(){return s}});let s={hasAnimatedSinceResize:!0,hasEverUpdated:!1}},55784:function(t,e,i){i.d(e,{U:function(){return s}});function s(t){return[t("x"),t("y")]}},32602:function(t,e,i){function s(t,e){-1===t.indexOf(e)&&t.push(e)}function o(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{cl:function(){return o},y4:function(){return s}})},60897:function(t,e,i){i.d(e,{L:function(){return o}});var s=i(32602);class o{constructor(){this.subscriptions=[]}add(t){return(0,s.y4)(this.subscriptions,t),()=>(0,s.cl)(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s){if(1===s)this.subscriptions[0](t,e,i);else for(let o=0;o<s;o++){let s=this.subscriptions[o];s&&s(t,e,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},74913:function(t,e,i){i.d(e,{R:function(){return s}});function s(t,e){return e?1e3/e*t:0}},63622:function(t,e,i){i.d(e,{BX:function(){return u},Hg:function(){return h}});var s=i(71889),o=i(60897),n=i(74913),r=i(72114);let a=t=>!isNaN(parseFloat(t)),l={current:void 0};class h{constructor(t,e={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(t,e=!0)=>{let i=s.X.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.X.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=a(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new o.L);let i=this.events[t].add(e);return"change"===t?()=>{i(),r.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t,e=!0){e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.X.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,n.R)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(t,e){return new h(t,e)}}}]);
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.