1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9743],{73387:(t,e,i)=>{i.d(e,{u0:()=>H});var s=i(69532),o=i(15315),a=i(91364),r=i(56970),n=i(79342),h=i(55494),l=i(77436),u=i(27881),d=i(58864),c=i(12786),p=i(36058),m=i(7057),g=i(47062),y=i(61962),v=i(78731),f=i(68015),T=i(2371),P=i(55456),D=i(56007),x=i(40150),j=i(62413),S=i(56093),A=i(105),R=i(62816),B=i(67530),k=i(62618),w=i(69681);let V={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},U="undefined"!=typeof window&&void 0!==window.MotionDebug,L=["","X","Y","Z"],F={visibility:"hidden"},E=0;function C(t,e,i,s){let{latestValues:o}=e;o[t]&&(i[t]=o[t],e.setStaticValue(t,0),s&&(s[t]=0))}function H({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:o,resetTransform:m}){return class{constructor(t={},i=null==e?void 0:e()){this.id=E++,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,U&&(V.totalNodes=V.resolvedTargetDeltas=V.recalculatedProjection=0),this.nodes.forEach(M),this.nodes.forEach(X),this.nodes.forEach(Y),this.nodes.forEach(N),U&&window.MotionDebug.record(V)},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 d.Y)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new g.v),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,u.x)(e),this.instance=e;let{layoutId:o,layout:a,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(a||o)&&(this.isLayoutDirty=!0),t){let i,s=()=>this.root.updateBlockedByResize=!1;t(e,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=(0,p.c)(s,250),w.w.hasAnimatedSinceResize&&(w.w.hasAnimatedSinceResize=!1,this.nodes.forEach(Q))})}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&r&&(o||a)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeTargetChanged:i,layout:o})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||r.getDefaultTransition()||K,{onLayoutAnimationStart:n,onLayoutAnimationComplete:h}=r.getProps(),l=!this.targetLayout||!(0,j.mG)(this.targetLayout,o)||i,u=!e&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(t,u);let e={...(0,s.rU)(a,"layout"),onPlay:n,onComplete:h};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||Q(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,n.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h($),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,r.P)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",n.Gt,!(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.forEach(I);return}this.isUpdating||this.nodes.forEach(G),this.isUpdating=!1,this.nodes.forEach(W),this.nodes.forEach(O),this.nodes.forEach(b),this.clearAllSnapshots();let t=l.k.now();n.uv.delta=(0,c.q)(0,1e3/60,t-n.uv.timestamp),n.uv.timestamp=t,n.uv.isProcessing=!0,n.PP.update.process(n.uv),n.PP.preRender.process(n.uv),n.PP.render.process(n.uv),n.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,h.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(z),this.sharedNodes.forEach(_)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,n.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){n.Gt.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,x.ge)(),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(!m)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!(0,j.XY)(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,o=s!==this.prevTransformTemplateValue;t&&(e||(0,k.HD)(this.latestValues)||o)&&(m(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)),ti((e=s).x),ti(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,x.ge)();let i=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(to))){let{scroll:t}=this.root;t&&((0,T.Ql)(i.x,t.offset.x),(0,T.Ql)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,x.ge)();if((0,f.Hy)(i,t),null==(e=this.scroll)?void 0:e.wasRoot)return i;for(let e=0;e<this.path.length;e++){let s=this.path[e],{scroll:o,options:a}=s;s!==this.root&&o&&a.layoutScroll&&(o.wasRoot&&(0,f.Hy)(i,t),(0,T.Ql)(i.x,o.offset.x),(0,T.Ql)(i.y,o.offset.y))}return i}applyTransform(t,e=!1){let i=(0,x.ge)();(0,f.Hy)(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,T.Ww)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,k.HD)(s.latestValues)&&(0,T.Ww)(i,s.latestValues)}return(0,k.HD)(this.latestValues)&&(0,T.Ww)(i,this.latestValues),i}removeTransform(t){let e=(0,x.ge)();(0,f.Hy)(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,k.HD)(i.latestValues))continue;(0,k.vk)(i.latestValues)&&i.updateSnapshot();let s=(0,x.ge)(),o=i.measurePageBox();(0,f.Hy)(s,o),(0,D.px)(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,k.HD)(this.latestValues)&&(0,D.px)(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!==n.uv.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.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:o,layoutId:a}=this.options;
1if(this.layout&&(o||a)){if(this.resolvedRelativeTargetAt=n.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,x.ge)(),this.relativeTargetOrigin=(0,x.ge)(),(0,P.jA)(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),(0,f.Hy)(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,x.ge)(),this.targetWithTransforms=(0,x.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,P.N)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):(0,f.Hy)(this.target,this.layout.layoutBox),(0,T.o4)(this.target,this.targetDelta)):(0,f.Hy)(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,x.ge)(),this.relativeTargetOrigin=(0,x.ge)(),(0,P.jA)(this.relativeTargetOrigin,this.target,t.target),(0,f.Hy)(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}U&&V.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,k.vk)(this.parent.latestValues)||(0,k.vF)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,s=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(s=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(s=!1),this.resolvedRelativeTargetAt===n.uv.timestamp&&(s=!1),s)return;let{layout:o,layoutId:a}=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||a))return;(0,f.Hy)(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,h=this.treeScale.y;(0,T.OU)(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,x.ge)());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?((0,f.xD)(this.prevProjectionDelta.x,this.projectionDelta.x),(0,f.xD)(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,P.vb)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===r&&this.treeScale.y===h&&(0,j.t$)(this.projectionDelta.x,this.prevProjectionDelta.x)&&(0,j.t$)(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),U&&V.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){var e;if(null==(e=this.options.visualElement)||e.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,x.xU)(),this.projectionDelta=(0,x.xU)(),this.projectionDeltaWithTransform=(0,x.xU)()}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,o=s?s.latestValues:{},a={...this.latestValues},r=(0,x.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let n=(0,x.ge)(),h=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(h&&!u&&!0===this.options.crossfade&&!this.path.some(J));this.animationProgress=0,this.mixTargetDelta=e=>{var s,l,c,p;let m=e/1e3;Z(r.x,t.x,m),Z(r.y,t.y,m),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&((0,P.jA)(n,this.layout.layoutBox,this.relativeParent.layout.layoutBox),s=this.relativeTarget,l=this.relativeTargetOrigin,c=n,p=m,q(s.x,l.x,c.x,p),q(s.y,l.y,c.y,p),i&&(0,j.zo)(this.relativeTarget,i)&&(this.isProjectionDirty=!1),i||(i=(0,x.ge)()),(0,f.Hy)(i,this.relativeTarget)),h&&(this.animationValues=a,(0,v.v)(a,o,this.latestValues,m,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=m},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,n.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=n.Gt.update(()=>
1{w.w.hasAnimatedSinceResize=!0,this.currentAnimation=(0,a.z)(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&&ts(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,x.ge)();let e=(0,P.CQ)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=(0,P.CQ)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}(0,f.Hy)(e,i),(0,T.Ww)(e,o),(0,P.vb)(this.projectionDeltaWithTransform,this.layoutCorrected,e,o)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new S.P),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.lead)||this}getPrevLead(){var t;let{layoutId:e}=this.options;return e?null==(t=this.getStack())?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&&C("z",t,s,this.animationValues);for(let e=0;e<L.length;e++)C(`rotate${L[e]}`,t,s,this.animationValues),C(`skew${L[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 F;let s={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=(0,y.u)(null==t?void 0:t.pointerEvents)||"",s.transform=o?o(this.latestValues,""):"none",s;let a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){let e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=(0,y.u)(null==t?void 0:t.pointerEvents)||""),this.hasProjected&&!(0,k.HD)(this.latestValues)&&(e.transform=o?o({},""):"none",this.hasProjected=!1),e}let r=a.animationValues||a.latestValues;this.applyTransformsToTarget(),s.transform=(0,R.I)(this.projectionDeltaWithTransform,this.treeScale,r),o&&(s.transform=o(r,s.transform));let{x:n,y:h}=this.projectionDelta;for(let t in s.transformOrigin=`${100*n.origin}% ${100*h.origin}% 0`,a.animationValues?s.opacity=a===this?null!=(i=null!=(e=r.opacity)?e:this.latestValues.opacity)?i:1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:s.opacity=a===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,A.H){if(void 0===r[t])continue;let{correct:e,applyTo:i}=A.H[t],o="none"===s.transform?r[t]:e(r[t],a);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=a===this?(0,y.u)(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.stop()}),this.root.nodes.forEach(I),this.root.sharedNodes.clear()}}}function O(t){t.updateLayout()}function b(t){var e;let i=(null==(e=t.resumeFrom)?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,a=i.source!==t.layout.source;"size"===o?(0,B.X)(t=>{let s=a?i.measuredBox[t]:i.layoutBox[t],o=(0,P.CQ)(s);s.min=e[t].min,s.max=s.min+o}):ts(o,i.layoutBox,e)&&(0,B.X)(s=>{let o=a?i.measuredBox[s]:i.layoutBox[s],r=(0,P.CQ)(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,x.xU)();(0,P.vb)(r,e,i.layoutBox);let n=(0,x.xU)();a?(0,P.vb)(n,t.applyTransform(s,!0),i.measuredBox):(0,P.vb)(n,e,i.layoutBox);let h=!(0,j.XY)(r),l=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:o,layout:a}=s;if(o&&a){let r=(0,x.ge)();(0,P.jA)(r,i.layoutBox,o.layoutBox);let n=(0,x.ge)();(0,P.jA)(n,e,a.layoutBox),(0,j.mG)(r,n)||(l=!0),s.options.layoutRoot&&(t.relativeTarget=n,t.relativeTargetOrigin=r,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:n,layoutDelta:r,hasLayoutChanged:h,hasRelativeTargetChanged:l})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function M(t){U&&V.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 N(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function z(t){t.clearSnapshot()}function I(t){t.clearMeasurements()}function G(t){t.isLayoutDirty=!1}function W(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Q(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function X(t){t.resolveTargetDelta()}function Y(t){t.calcProjection()}function $(t){t.resetSkewAndRotation()}function _(t){t.removeLeadSnapshot()}function Z(t,e,i){t.translate=(0,m.k)(e.translate,0,i),t.scale=(0,m.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function q(t,e,i,s){t.min=(0,m.k)(e.min,i.min,s),t.max=(0,m.k)(e.max,i.max,s)}function J(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let K={duration:.45,ease:[.4,0,.1,1]},tt=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),te=tt("applewebkit/")&&!tt("chrome/")?Math.round:o.l;function ti(t){t.min=te(t.min),t.max=te(t.max)}function ts(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,P.HQ)((0,j.cH)(e),(0,j.cH)(i),.2)}function to(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}}}]);
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.