1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="a0dda111-1941-4b18-8fc1-f224a0d0e02b",t._sentryDebugIdIdentifier="sentry-dbid-a0dda111-1941-4b18-8fc1-f224a0d0e02b")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4281],{96361:function(t,e,i){i.d(e,{D:function(){return r}});var s=i(29006),o=i(28959),n=i(30182);function r(t,e,i){const r=(0,n.i)(t)?t:(0,o.BX)(t);return r.start((0,s.v)("",r,e,i)),r.animation}},97337:function(t,e,i){i.d(e,{hO:function(){return r},oO:function(){return n}});var s=i(28192),o=i(96778);function n(){const t=(0,s.useContext)(o.O);if(null===t)return[!0,null];const{isPresent:e,onExitComplete:i,register:n}=t,r=(0,s.useId)();(0,s.useEffect)((()=>n(r)),[]);return!e&&i?[!1,()=>i&&i(r)]:[!0]}function r(){return null===(t=(0,s.useContext)(o.O))||t.isPresent;var t}},39525:function(t,e,i){i.d(e,{S:function(){return c}});var s=i(30826),o=i(28192),n=i(27160),r=i(41019),a=i(62609);const h=t=>!t.isLayoutDirty&&t.willUpdate(!1);function l(){const t=new Set,e=new WeakMap,i=()=>t.forEach(h);return{add:s=>{t.add(s),e.set(s,s.addEventListener("willUpdate",i))},remove:s=>{t.delete(s);const o=e.get(s);o&&(o(),e.delete(s)),i()},dirty:i}}const u=t=>!0===t,c=({children:t,id:e,inherit:i=!0})=>{const h=(0,o.useContext)(n.p),c=(0,o.useContext)(r.p),[d,m]=(0,a.N)(),p=(0,o.useRef)(null),g=h.id||c;null===p.current&&((t=>u(!0===t)||"id"===t)(i)&&g&&(e=e?g+"-"+e:g),p.current={id:e,group:u(i)&&h.group||l()});const f=(0,o.useMemo)((()=>({...p.current,forceRender:d})),[m]);return(0,s.jsx)(n.p.Provider,{value:f,children:t})}},41019:function(t,e,i){i.d(e,{p:function(){return s}});const s=(0,i(28192).createContext)(null)},69316:function(t,e,i){i.d(e,{o:function(){return H}});var s=i(71921),o=i(59611),n=i(92785),r=i(15110),a=i(97369),h=i(88615),l=i(45771),u=i(15559),c=i(884),d=i(33702);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=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=f(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=(0,u.y)(t.offset,{x:0,y:0})>=3;if(!e&&!i)return;const{point:s}=t,{timestamp:o}=d.frameData;this.history.push({...s,timestamp:o});const{onStart:n,onMove:r}=this.handlers;e||(n&&n(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),r&&r(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=p(e,this.transformPagePoint),d.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:i,onSessionEnd:s,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const n=f("pointercancel"===t.type?this.lastMoveEventInfo:p(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),s&&s(t,n)},!(0,c.D)(t))return;this.dragSnapToOrigin=o,this.handlers=e,this.transformPagePoint=i,this.contextWindow=s||window;const n=p((0,r.Q)(t),this.transformPagePoint),{point:a}=n,{timestamp:m}=d.frameData;this.history=[{...a,timestamp:m}];const{onSessionStart:g}=e;g&&g(t,f(n,this.history)),this.removeListeners=(0,l.z)((0,h.a)(this.contextWindow,"pointermove",this.handlePointerMove),(0,h.a)(this.contextWindow,"pointerup",this.handlePointerUp),(0,h.a)(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,d.Pn)(this.updatePoint)}}function p(t,e){return e?{point:e(t.point)}:t}function g(t,e){return{x:t.x-e.x,y:t.y-e.y}}function f({point:t},e){return{point:t,delta:g(t,v(e)),offset:g(t,y(e)),velocity:x(e,.1)}}function y(t){return t[0]}function v(t){return t[t.length-1]}function x(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null;const o=v(t);for(;i>=0&&(s=t[i],!(o.timestamp-s.timestamp>(0,a.w)(e)));)i--;if(!s)return{x:0,y:0};const n=(0,a.X)(o.timestamp-s.timestamp);if(0===n)return{x:0,y:0};const 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}var P=i(9224),T=i(74637),D=i(31436),E=i(69031),S=i(50219),R=i(19545);function L(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 A(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}}const j=.35;function w(t,e,i){return{min:b(t,e),max:b(t,i)}}function b(t,e){return"number"===typeof t?t:t[e]||0}var B=i(40584),C=i(56221),V=i(23383),M=i(38989),k=i(40687),U=i(6146),O=i(29006);const F=({current:t})=>t?t.ownerDocument.defaultView:null,I=new WeakMap;class W{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,B.dO)(),this.visualElement=t}start(t,{snapToCursor:e=!1}={}){const{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;const{dragSnapToOrigin:s}=this.getProps();this.panSession=new m(t,{onSessionStart:t=>{const{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor((0,r.Q)(t,"page").point)},onStart:(t,e)=>{const{drag:i,dragPropagation:s,onDragStart:o}=this.getProps();if(i&&!s&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=(0,P.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(U.aQ.test(e)){const{projection:i}=this.visualElement;if(i&&i.layout){const s=i.layout.layoutBox[t];if(s){e=(0,E.JO)(s)*(parseFloat(e)/100)}}}this.originPoint[t]=e})),o&&d.Wi.postRender((()=>o(t,e)));const{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},onMove:(t,e)=>{const{dragPropagation:i,dragDirectionLock:s,onDirectionLock:o,onDrag:n}=this.getProps();if(!i&&!this.openGlobalLock)return;const{offset:r}=e;if(s&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let i=null;Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x");return i}(r),void(null!==this.currentDirection&&o&&o(this.currentDirection));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:F(this.visualElement)})}stop(t,e){const i=this.isDragging;if(this.cancel(),!i)return;const{velocity:s}=e;this.startAnimation(s);const{onDragEnd:o}=this.getProps();o&&d.Wi.postRender((()=>o(t,e)))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){const{drag:s}=this.getProps();if(!i||!$(t,s,this.currentDirection))return;const o=this.getAxisMotionValue(t);let 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,R.t)(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?(0,R.t)(i,t,s.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),o.set(n)}resolveConstraints(){var t;const{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,T.I)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!s)&&function(t,{top:e,left:i,bottom:s,right:o}){return{x:L(t.x,i,o),y:L(t.y,e,s)}}(s.layoutBox,e),this.elastic=function(t=j){return!1===t?t=0:!0===t&&(t=j),{x:w(t,"left","right"),y:w(t,"top","bottom")}}(i),o!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&(0,C.U)((t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const 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(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!(0,T.I)(t))return!1;const i=t.current;(0,n.k)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const o=(0,V.z)(i,s.root,this.visualElement.getTransformPagePoint());let r=function(t,e){return{x:A(t.x,e.x),y:A(t.y,e.y)}}(s.layout.layoutBox,o);if(e){const t=e((0,M.z2)(r));this.hasMutatedConstraints=!!t,t&&(r=(0,M.i8)(t))}return r}startAnimation(t){const{drag:e,dragMomentum:i,dragElastic:s,dragTransition:o,dragSnapToOrigin:n,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},h=(0,C.U)((r=>{if(!$(r,e,this.currentDirection))return;let h=a&&a[r]||{};n&&(h={min:0,max:0});const l=s?200:1e6,u=s?40:1e7,c={type:"inertia",velocity:i?t[r]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...h};return this.startAxisValueAnimation(r,c)}));return Promise.all(h).then(r)}startAxisValueAnimation(t,e){const i=this.getAxisMotionValue(t);return i.start((0,O.v)(t,i,0,e,this.visualElement))}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){const e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps(),s=i[e];return s||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){(0,C.U)((e=>{const{drag:i}=this.getProps();if(!$(e,i,this.currentDirection))return;const{projection:s}=this.visualElement,o=this.getAxisMotionValue(e);if(s&&s.layout){const{min:i,max:n}=s.layout.layoutBox[e];o.set(t[e]-(0,R.t)(i,n,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,T.I)(e)||!i||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};(0,C.U)((t=>{const e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){const i=e.get();s[t]=function(t,e){let i=.5;const s=(0,E.JO)(t),o=(0,E.JO)(e);return o>s?i=(0,D.Y)(e.min,e.max-s,t.min):s>o&&(i=(0,D.Y)(t.min,t.max-o,e.min)),(0,S.u)(0,1,i)}({min:i,max:i},this.constraints[t])}}));const{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(!$(e,t,null))return;const i=this.getAxisMotionValue(e),{min:o,max:n}=this.constraints[e];i.set((0,R.t)(o,n,s[e]))}))}addListeners(){if(!this.visualElement.current)return;I.set(this.visualElement,this);const t=this.visualElement.current,e=(0,h.a)(t,"pointerdown",(t=>{const{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)})),i=()=>{const{dragConstraints:t}=this.getProps();(0,T.I)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,o=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),d.Wi.read(i);const n=(0,k.E)(window,"resize",(()=>this.scalePositionWithinConstraints())),r=s.addEventListener("didUpdate",(({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&((0,C.U)((e=>{const 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(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:n=j,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:o,dragElastic:n,dragMomentum:r}}}function $(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class G extends s.L{constructor(t){super(t),this.removeGroupControls=o.Z,this.removeListeners=o.Z,this.controls=new W(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||o.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}const N=t=>(e,i)=>{t&&d.Wi.postRender((()=>t(e,i)))};class z extends s.L{constructor(){super(...arguments),this.removePointerDownListener=o.Z}onPointerDown(t){this.session=new m(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:F(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:N(t),onStart:N(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&d.Wi.postRender((()=>s(t,e)))}}}mount(){this.removePointerDownListener=(0,h.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 Y=i(3153);const H={pan:{Feature:z},drag:{Feature:G,ProjectionNode:i(90909).u,MeasureLayout:Y.q}}},33963:function(t,e,i){i.d(e,{b:function(){return n}});var s=i(90909),o=i(3153);const n={layout:{ProjectionNode:s.u,MeasureLayout:o.q}}},3153:function(t,e,i){i.d(e,{q:function(){return x}});var s=i(30826),o=i(28192),n=i(97337),r=i(27160),a=i(72970),h=i(96906),l=i(6146);function u(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const c={correct:(t,e)=>{if(!e.target)return t;if("string"===typeof t){if(!l.px.test(t))return t;t=parseFloat(t)}return`${u(t,e.target.x)}% ${u(t,e.target.y)}%`}};var d=i(19545),m=i(64154);const p={correct:(t,{treeScale:e,projectionDelta:i})=>{const s=t,o=m.P.parse(t);if(o.length>5)return s;const n=m.P.createTransformer(t),r="number"!==typeof o[0]?1:0,a=i.x.scale*e.x,h=i.y.scale*e.y;o[0+r]/=a,o[1+r]/=h;const l=(0,d.t)(a,h,.5);return"number"===typeof o[2+r]&&(o[2+r]/=l),"number"===typeof o[3+r]&&(o[3+r]/=l),n(o)}};var g=i(8383),f=i(79883),y=i(33702);class v extends o.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:o}=t;(0,g.B)(P),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()})),h.V.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{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()||y.Wi.postRender((()=>{const t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),f.g.postRender((()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{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(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function x(t){const[e,i]=(0,n.oO)(),h=(0,o.useContext)(r.p);return(0,s.jsx)(v,{...t,layoutGroup:h,switchLayoutGroup:(0,o.useContext)(a.g),isPresent:e,safeToRemove:i})}const P={borderRadius:{...c,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:c,borderTopRightRadius:c,borderBottomLeftRadius:c,borderBottomRightRadius:c,boxShadow:p}}
1,69031:function(t,e,i){i.d(e,{JO:function(){return o},b3:function(){return c},tf:function(){return l},wS:function(){return n},y$:function(){return a}});var s=i(19545);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.t)(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.t)(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 h(t,e,i){t.min=i.min+e.min,t.max=t.min+o(e)}function l(t,e,i){h(t.x,e.x,i.x),h(t.y,e.y,i.y)}function u(t,e,i){t.min=e.min-i.min,t.max=t.min+o(e)}function c(t,e,i){u(t.x,e.x,i.x),u(t.y,e.y,i.y)}},90909:function(t,e,i){i.d(e,{u:function(){return Lt},J:function(){return Rt}});var s=i(52600),o=i(78825),n=i(31436),r=i(19545),a=i(59611),h=i(6146);const l=["TopLeft","TopRight","BottomLeft","BottomRight"],u=l.length,c=t=>"string"===typeof t?parseFloat(t):t,d=t=>"number"===typeof t||h.px.test(t);function m(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const p=f(0,.5,o.Bn),g=f(.5,.95,a.Z);function f(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 v(t,e){y(t.x,e.x),y(t.y,e.y)}var x=i(95562),P=i(69031);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){h.aQ.test(e)&&(e=parseFloat(e),e=(0,r.t)(a.min,a.max,e/100)-a.min);if("number"!==typeof e)return;let l=(0,r.t)(n.min,n.max,s);t===n&&(l-=e),t.min=T(t.min,e,i,l,o),t.max=T(t.max,e,i,l,o)}(t,e[i],e[s],e[o],e.scale,n,a)}const 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(40584),A=i(83772);function j(t){return 0===t.translate&&1===t.scale}function w(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 C=i(48441);class V{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){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex((e=>t===e));if(0===e)return!1;let i;for(let s=e;s>=0;s--){const t=this.members[s];if(!1!==t.isPresent){i=t;break}}return!!i&&(this.promote(i),!0)}promote(t,e){const 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);const{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach((t=>{const{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(8383);function k(t,e,i){let s="";const o=t.x.translate/e.x,n=t.y.translate/e.y,r=(null===i||void 0===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){const{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) `)}const a=t.x.scale*e.x,h=t.y.scale*e.y;return 1===a&&1===h||(s+=`scale(${a}, ${h})`),s||"none"}var U=i(56221),O=i(44909),F=i(10553),I=i(15970),W=i(96906),$=i(22527);var G=i(9192),N=i(96361),z=i(50219),Y=i(33702),H=i(59095),X=i(79883),J=i(24582);const _=["","X","Y","Z"],Z={visibility:"hidden"};let q=0;const Q={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function K(t,e,i,s){const{latestValues:o}=e;o[t]&&(i[t]=o[t],e.setStaticValue(t,0),s&&(s[t]=0))}function tt(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return!1;const{visualElement:e}=t.options;return!!e&&(!!(0,J.s)(e)||!(!t.parent||t.parent.hasCheckedOptimisedAppear)&&tt(t.parent))}function et({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:o,resetTransform:n}){return class{constructor(t={},i=(null===e||void 0===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.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=()=>{var t;this.projectionUpdateScheduled=!1,Q.totalNodes=Q.resolvedTargetDeltas=Q.recalculatedProjection=0,this.nodes.forEac
1h(ot),this.nodes.forEach(ct),this.nodes.forEach(dt),this.nodes.forEach(nt),t=Q,window.MotionDebug&&window.MotionDebug.record(t)},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 e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new F.E)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new s.L),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const 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;const{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;const s=()=>this.root.updateBlockedByResize=!1;t(e,(()=>{this.root.updateBlockedByResize=!0,i&&i(),i=(0,$.g)(s,250),W.V.hasAnimatedSinceResize&&(W.V.hasAnimatedSinceResize=!1,this.nodes.forEach(ut))}))}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())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||n.getDefaultTransition()||vt,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=n.getProps(),h=!this.targetLayout||!b(this.targetLayout,s)||i,l=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||l||e&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,l);const 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||ut(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,Y.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(mt),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.HandoffCancelAllAnimations&&tt(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let o=0;o<this.path.length;o++){const t=this.path[o];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;const s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(at);this.isUpdating||this.nodes.forEach(ht),this.isUpdating=!1,this.nodes.forEach(lt),this.nodes.forEach(it),this.nodes.forEach(st),this.clearAllSnapshots();const t=H.X.now();Y.frameData.delta=(0,z.u)(0,1e3/60,t-Y.frameData.timestamp),Y.frameData.timestamp=t,Y.frameData.isProcessing=!0,Y.S6.update.process(Y.frameData),Y.S6.preRender.process(Y.frameData),Y.S6.render.process(Y.frameData),Y.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,X.g.read(this.scheduleUpdate))}
1clearAllSnapshots(){this.nodes.forEach(rt),this.sharedNodes.forEach(pt)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Y.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Y.Wi.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),(!this.options.alwaysMeasureLayout||!this.isLead())&&!this.isLayoutDirty)return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let i=0;i<this.path.length;i++){this.path[i].updateScroll()}const 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);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(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;const t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!w(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,o=s!==this.prevTransformTemplateValue;t&&(e||(0,O.ud)(this.latestValues)||o)&&(n(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let i=this.removeElementScroll(e);var s;return t&&(i=this.removeTransform(i)),Tt((s=i).x),Tt(s.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:t}=this.options;if(!t)return(0,L.dO)();const 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){const e=(0,L.dO)();v(e,t);for(let i=0;i<this.path.length;i++){const s=this.path[i],{scroll:o,options:n}=s;if(s!==this.root&&o&&n.layoutScroll){if(o.isRoot){v(e,t);const{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){const i=(0,L.dO)();v(i,t);for(let s=0;s<this.path.length;s++){const t=this.path[s];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&(0,x.D2)(i,{x:-t.scroll.offset.x,y:-t.scroll.offset.y}),(0,O.ud)(t.latestValues)&&(0,x.D2)(i,t.latestValues)}return(0,O.ud)(this.latestValues)&&(0,x.D2)(i,this.latestValues),i}removeTransform(t){const e=(0,L.dO)();v(e,t);for(let i=0;i<this.path.length;i++){const t=this.path[i];if(!t.instance)continue;if(!(0,O.ud)(t.latestValues))continue;(0,O.Lj)(t.latestValues)&&t.updateSnapshot();const s=(0,L.dO)();v(s,t.measurePageBox()),R(e,t.latestValues,t.snapshot?t.snapshot.layoutBox:void 0,s)}return(0,O.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!==Y.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){var e;const i=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=i.isSharedProjectionDirty);const s=Boolean(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;const{layout:o,layoutId:n}=this.options;if(this.layout&&(o||n)){if(this.resolvedRelativeTargetAt=Y.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){const 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),v(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?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):v(this.target,this.layout.layoutBox),(0,x.o2)(this.target,this.targetDelta)):v(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const t=this.getClosestProjectingParent();t&&Boolean(t.resumingFrom)===Boolean(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),v(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Q.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!(0,O.Lj)(this.parent.latestValues)&&!(0,O.D_)(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;const e=this.getLead(),i=Boolean(this.resumingFrom)||this!==e;let 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===Y.frameData.timestamp&&(s=!1),s)return;const{layout:o,layoutId:n}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!n)return;v(this.layoutCorrected,this.layout.layoutBox);const 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,e.targetWithTransforms=(0,L.dO)());const{target:h}=e;if(!h)return void(this.projectionTransform&&(this.projectionDelta=(0,L.wc)(),this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta=(0,L.wc)(),this.projectionDeltaWithTransform=(0,L.wc)());const l=this.projectionTransform;(0,P.y$)(this.projectionDelta,this.layoutCorrected,h,this.latestValues),this.projectionTransform=k(this.projectionDelta,this.treeScale),this.projectionTransform===l&&this.treeScale.x===r&&this.treeScale.y===a||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h)),Q.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t,e=!1){const i=this.snapshot,s=i?i.latestValues:{},o={...this.latestValues},n=(0,L.wc)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const a=(0,L.dO)(),f=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),y=this.getStack(),x=!y||y.members.length<=1,T=Boolean(f&&!x&&!0===this.options.crossfade&&!this.path.some(yt));let D;this.animationProgress=0,this.mixTargetDelta=e=>{const i=e/1e3;var y,E,S,R,A,j;gt(n.x,t.x,i),gt(n.y,t.y,i),this.setTargetDelta(n),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&((0,P.b3)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),S=this.relativeTarget,R=this.relativeTargetOrigin,A=a,j=i,ft(S.x,R.x,A.x,j),ft(S.y,R.y,A.y,j),D&&(y=this.relativeTarget,E=D,y.x.min===E.x.min&&y.x.max===E.x.max&&y.y.min===E.y.min&&y.y.max===E.y.max)&&(this.isProjectionDirty=!1),D||(D=(0,L.dO)()),v(D,this.relativeTarget)),f&&(this.animationValues=o,function(t,e,
1i,s,o,n){o?(t.opacity=(0,r.t)(0,void 0!==i.opacity?i.opacity:1,p(s)),t.opacityExit=(0,r.t)(void 0!==e.opacity?e.opacity:1,0,g(s))):n&&(t.opacity=(0,r.t)(void 0!==e.opacity?e.opacity:1,void 0!==i.opacity?i.opacity:1,s));for(let a=0;a<u;a++){const o=`border${l[a]}Radius`;let n=m(e,o),u=m(i,o);void 0===n&&void 0===u||(n||(n=0),u||(u=0),0===n||0===u||d(n)===d(u)?(t[o]=Math.max((0,r.t)(c(n),c(u),s),0),(h.aQ.test(u)||h.aQ.test(n))&&(t[o]+="%")):t[o]=u)}(e.rotate||i.rotate)&&(t.rotate=(0,r.t)(e.rotate||0,i.rotate||0,s))}(o,s,this.latestValues,i,T,x)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},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,Y.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Y.Wi.update((()=>{W.V.hasAnimatedSinceResize=!0,this.currentAnimation=(0,N.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);const 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(){const t=this.getLead();let{targetWithTransforms:e,target:i,layout:s,latestValues:o}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&Dt(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,L.dO)();const e=(0,P.JO)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;const s=(0,P.JO)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}v(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);const i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){const s=this.getStack();s&&s.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;const s={};i.z&&K("z",t,s,this.animationValues);for(let o=0;o<_.length;o++)K(`rotate${_[o]}`,t,s,this.animationValues),K(`skew${_[o]}`,t,s,this.animationValues);t.render();for(const o in s)t.setStaticValue(o,s[o]),this.animationValues&&(this.animationValues[o]=s[o]);t.scheduleRender()}getProjectionStyles(t){var e,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return Z;const s={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=(0,I.b)(null===t||void 0===t?void 0:t.pointerEvents)||"",s.transform=o?o(this.latestValues,""):"none",s;const n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){const e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=(0,I.b)(null===t||void 0===t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,O.ud)(this.latestValues)&&(e.transform=o?o({},""):"none",this.hasProjected=!1),e}const r=n.animationValues||n.latestValues;this.applyTransformsToTarget(),s.transform=k(this.projectionDeltaWithTransform,this.treeScale,r),o&&(s.transform=o(r,s.transform));const{x:a,y:h}=this.projectionDelta;s.transformOrigin=`${100*a.origin}% ${100*h.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;for(const l in M.P){if(void 0===r[l])continue;const{correct:t,applyTo:e}=M.P[l],i="none"===s.transform?r[l]:t(r[l],n);if(e){const t=e.length;for(let o=0;o<t;o++)s[e[o]]=i}else s[l]=i}return this.options.layoutId&&(s.pointerEvents=n===this?(0,I.b)(null===t||void 0===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(at),this.root.sharedNodes.clear()}}}function it(t){t.updateLayout()}function st(t){var e;const i=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&i&&t.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:s}=t.layout,{animationType:o}=t.options,n=i.source!==t.layout.source;"size"===o?(0,U.U)((t=>{const s=n?i.measuredBox[t]:i.layoutBox[t],o=(0,P.JO)(s);s.min=e[t].min,s.max=s.min+o})):Dt(o,i.layoutBox,e)&&(0,U.U)((s=>{const 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)}));const r=(0,L.wc)();(0,P.y$)(r,e,i.layoutBox);const a=(0,L.wc)();n?(0,P.y$)(a,t.applyTransform(s,!0),i.measuredBox):(0,P.y$)(a,e,i.layoutBox);const h=!w(r);let l=!1;if(!t.resumeFrom){const s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){const{snapshot:o,layout:n}=s;if(o&&n){const r=(0,L.dO)();(0,P.b3)(r,i.layoutBox,o.layoutBox);const a=(0,L.dO)();(0,P.b3)(a,e,n.layoutBox),b(r,a)||(l=!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:h,hasRelativeTargetChanged:l})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function ot(t){Q.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function nt(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function rt(t){t.clearSnapshot()}function at(t){t.clearMeasurements()}function ht(t){t.isLayoutDirty=!1}function lt(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function ut(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function ct(t){t.resolveTargetDelta()}function dt(t){t.calcProjection()}function mt(t){t.resetSkewAndRotation()}function pt(t){t.removeLeadSnapshot()}function gt(t,e,i){t.translate=(0,r.t)(e.translate,0,i),t.scale=(0,r.t)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function ft(t,e,i,s){t.min=(0,r.t)(e.min,i.min,s),t.max=(0,r.t)(e.max,i.max,s)}function yt(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const vt={duration:.45,ease:[.4,0,.1,1]},xt=t=>"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Pt=xt("applewebkit/")&&!xt("chrome/")?Math.round:a.Z;function Tt(t){t.min=Pt(t.min),t.max=Pt(t.max)}function Dt(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,P.wS)(B(e),B(i),.2)}var Et=i(40687);const St=et({attachResizeListener:(t,e)=>(0,Et.E)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Rt={current:void 0},Lt=et({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Rt.current){const t=new St({});t.mount(window),t.setOptions({layoutScroll:!0}),Rt.current=t}return Rt.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)})},96906:function(t,e,i){i.d(e,{V:function(){return s}});const s={hasAnimatedSinceResize:!0,hasEverUpdated:!1}},56221:function(t,e,i){function s(t){return[t("x"),t("y")]}i.d(e,{U:function(){return s}})},28642:function(t,e,i){i.d(e,{g:function(){return n}});var s=i(69316),o=i(33963);const n={...i(88084).H,...s.o,...o.b}},9192:function(t,e,i){function s(t){return t instanceof SVGElement&&"svg"!==t.tagName}i.d(e,{v:function(){return s}})},10553:function(t,e,i){i.d(e,{E:function(){return n}});var s=i(48441);const o=(t,e)=>t.depth-e.depth;class n{constructor(){this.children=[],this.isDirty=!1}add(t){(0,s.y4)(this.children,t),this.isDirty=!0}remove(t){(0,s.cl)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(o),this.isDirty=!1,this.children.forEac
1h(t)}}},22527:function(t,e,i){i.d(e,{g:function(){return n}});var s=i(59095),o=i(33702);function n(t,e){const i=s.X.now(),n=({timestamp:s})=>{const r=s-i;r>=e&&((0,o.Pn)(n),t(r-e))};return o.Wi.read(n,!0),()=>(0,o.Pn)(n)}},15559:function(t,e,i){i.d(e,{T:function(){return s},y:function(){return o}});const s=(t,e)=>Math.abs(t-e);function o(t,e){const i=s(t.x,e.x),o=s(t.y,e.y);return Math.sqrt(i**2+o**2)}}}]);
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.