PageSourceSearch

https://watchmoviezone.com/_next/static/chunks/21h_k--9t-01u.js

js watchmoviezone.com collected 2026-10-07 20:41:41 UTC 46,566 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,646816,137541,61175,461054,583662,889026,836331,969122,457355,891305,49048,454292,t=>{"use strict";var e=t.i(311129),i=t.i(260830),s=t.i(287022),o=t.i(100706),r=t.i(439676);function n(t){if("x"===t||"y"===t)if(r.isDragging[t])return null;else return r.isDragging[t]=!0,()=>{r.isDragging[t]=!1};return r.isDragging.x||r.isDragging.y?null:(r.isDragging.x=r.isDragging.y=!0,()=>{r.isDragging.x=r.isDragging.y=!1})}t.s(["setDragLock",0,n],137541);var a=t.i(265091),l=t.i(965566),h=t.i(982363),u=t.i(426368),c=t.i(665536);function d(t,e,i,s){return(0,u.addDomEvent)(t,e,(0,c.addPointerInfo)(i),s)}t.s(["addPointerEvent",0,d],61175);var m=t.i(149587);function p(t){return t.max-t.min}function g(t,e,i){return Math.abs(t-e)<=i}function v(t,e,i){let s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=s,t.originPoint=(0,o.mixNumber)(e.min,e.max,t.origin),t.scale=p(i)/p(e),t.translate=(0,o.mixNumber)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function f(t,e,i,s){v(t.x,e.x,i.x,s?s.originX:void 0),v(t.y,e.y,i.y,s?s.originY:void 0)}function y(t,e,i){t.min=i.min+e.min,t.max=t.min+p(e)}function x(t,e,i){y(t.x,e.x,i.x),y(t.y,e.y,i.y)}function P(t,e,i){t.min=e.min-i.min,t.max=t.min+p(e)}function T(t,e,i){P(t.x,e.x,i.x),P(t.y,e.y,i.y)}t.s(["calcBoxDelta",0,f,"calcLength",0,p,"calcRelativeBox",0,x,"calcRelativePosition",0,T,"isNear",0,g],461054);var D=t.i(181699);function E(t){return[t("x"),t("y")]}var B=t.i(245504);let S=t=>{let{current:e}=t;return e?e.ownerDocument.defaultView:null};var R=t.i(325522),A=t.i(593521),j=t.i(341327),L=t.i(738638),V=t.i(763074);let w=(t,e)=>Math.abs(t-e);function b(t,e){return Math.sqrt(w(t.x,e.x)**2+w(t.y,e.y)**2)}t.s(["distance",0,w,"distance2D",0,b],583662);class M{updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,s.cancelFrame)(this.updatePoint)}constructor(t,e,{transformPagePoint:i,contextWindow:o=window,dragSnapToOrigin:r=!1,distanceThreshold:n=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=U(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=b(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:o}=t,{timestamp:r}=s.frameData;this.history.push({...o,timestamp:r});let{onStart:n,onMove:a}=this.handlers;e||(n&&n(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=C(e,this.transformPagePoint),s.frame.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 r=U("pointercancel"===t.type?this.lastMoveEventInfo:C(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),s&&s(t,r)},!(0,j.isPrimaryPointer)(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=n,this.contextWindow=o||window;const a=C((0,c.extractEventInfo)(t),this.transformPagePoint),{point:l}=a,{timestamp:h}=s.frameData;this.history=[{...l,timestamp:h}];const{onSessionStart:u}=e;u&&u(t,U(a,this.history)),this.removeListeners=(0,L.pipe)(d(this.contextWindow,"pointermove",this.handlePointerMove),d(this.contextWindow,"pointerup",this.handlePointerUp),d(this.contextWindow,"pointercancel",this.handlePointerUp))}}function C(t,e){return e?{point:e(t.point)}:t}function k(t,e){return{x:t.x-e.x,y:t.y-e.y}}function U(t,e){let{point:i}=t;return{point:i,delta:k(i,F(e)),offset:k(i,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,s=F(t);for(;e>=0&&(i=t[e],!(s.timestamp-i.timestamp>(0,V.secondsToMilliseconds)(.1)));)e--;if(!i)return{x:0,y:0};let o=(0,V.millisecondsToSeconds)(s.timestamp-i.timestamp);if(0===o)return{x:0,y:0};let r={x:(s.x-i.x)/o,y:(s.y-i.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e)}}function F(t){return t[t.length-1]}var O=t.i(783920),I=t.i(476959);function N(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function $(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}function W(t,e,i){return{min:z(t,e),max:z(t,i)}}function z(t,e){return"number"==typeof t?t:t[e]||0}let G=new WeakMap;class H{start(t){let{snapToCursor:e=!1,distanceThreshold:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{presenceContext:o}=this.visualElement;if(o&&!1===o.isPresent)return;let r=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor((0,c.extractEventInfo)(t).point)},l=(t,e)=>{let{drag:i,dragPropagation:o,onDragStart:r}=this.getProps();if(i&&!o&&(this.openDragLock&&this.openDragLock(),this.openDragLock=n(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),E(t=>{let e=this.getAxisMotionValue(t).get()||0;if(a.percent.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=p(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&s.frame.postRender(()=>r(t,e)),(0,A.addValueToWillChange)(this.visualElement,"transform");let{animationState:l}=this.visualElement;l&&l.setActive("whileDrag",!0)},h=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:o,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:n}=e;if(s&&null===this.currentDirection){this.currentDirection=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(n),null!==this.currentDirection&&o&&o(this.currentDirection);return}this.updateAxis("x",e.point,n),this.updateAxis("y",e.point,n),this.visualElement.render(),r&&r(t,e)},u=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>E(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())}),{dragSnapToOrigin:m}=this.getProps();this.panSession=new M(t,{onSessionStart:r,onStart:l,onMove:h,onSessionEnd:u,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:m,distanceThreshold:i,contextWindow:S(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,o=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!o||!i)return;let{velocity:n}=o;this.startAnimation(n);let{onDragEnd:a}=this.getProps();a&&s.frame.postRender(()=>a(i,o))}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||!X(t,s,this.currentDirection))return;let r=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];
1this.constraints&&this.constraints[t]&&(n=function(t,e,i){let{min:s,max:r}=e;return void 0!==s&&t<s?t=i?(0,o.mixNumber)(s,t,i.min):Math.max(t,s):void 0!==r&&t>r&&(t=i?(0,o.mixNumber)(r,t,i.max):Math.min(t,r)),t}(n,this.constraints[t],this.elastic[t])),r.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.layout,o=this.constraints;e&&(0,R.isRefObject)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&s?this.constraints=function(t,e){let{top:i,left:s,bottom:o,right:r}=e;return{x:N(t.x,s,r),y:N(t.y,i,o)}}(s.layoutBox,e):this.constraints=!1,this.elastic=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.35;return!1===t?t=0:!0===t&&(t=.35),{x:W(t,"left","right"),y:W(t,"top","bottom")}}(i),o!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&E(t=>{var e,i;let o;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=s.layoutBox[t],i=this.constraints[t],o={},void 0!==i.min&&(o.min=i.min-e.min),void 0!==i.max&&(o.max=i.max-e.min),o))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,R.isRefObject)(e))return!1;let s=e.current;(0,l.invariant)(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:o}=this.visualElement;if(!o||!o.layout)return!1;let r=(0,B.measurePageBox)(s,o.root,this.visualElement.getTransformPagePoint()),n=(t=o.layout.layoutBox,{x:$(t.x,r.x),y:$(t.y,r.y)});if(i){let t=i((0,m.convertBoxToBoundingBox)(n));this.hasMutatedConstraints=!!t,t&&(n=(0,m.convertBoundingBoxToBox)(t))}return n}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:o,dragSnapToOrigin:r,onDragTransitionEnd:n}=this.getProps(),a=this.constraints||{};return Promise.all(E(n=>{if(!X(n,e,this.currentDirection))return;let l=a&&a[n]||{};r&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[n]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(n,h)})).then(n)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,A.addValueToWillChange)(this.visualElement,t),i.start((0,h.animateMotionValue)(t,i,0,e,this.visualElement,!1))}stopAnimation(){E(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){E(t=>{var e;return null==(e=this.getAxisMotionValue(t).animation)?void 0:e.pause()})}getAnimationState(t){var e;return null==(e=this.getAxisMotionValue(t).animation)?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){E(e=>{let{drag:i}=this.getProps();if(!X(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,r=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:n}=s.layout.layoutBox[e];r.set(t[e]-(0,o.mixNumber)(i,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,R.isRefObject)(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};E(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,o;let r,n,a,l=e.get();s[t]=(i={min:l,max:l},o=this.constraints[t],r=.5,n=p(i),(a=p(o))>n?r=(0,O.progress)(o.min,o.max-n,i.min):n>a&&(r=(0,O.progress)(i.min,i.max-a,o.min)),(0,I.clamp)(0,1,r))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),E(e=>{if(!X(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:n}=this.constraints[e];i.set((0,o.mixNumber)(r,n,s[e]))})}addListeners(){if(!this.visualElement.current)return;G.set(this.visualElement,this);let t=d(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,R.isRefObject)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,o=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),s.frame.read(e);let r=(0,u.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),n=i.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i}=t;this.isDragging&&i&&(E(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),t(),o(),n&&n()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:r=.35,dragMomentum:n=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:o,dragElastic:r,dragMomentum:n}}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,D.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}}function X(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class Y extends e.Feature{mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||i.noop}unmount(){this.removeGroupControls(),this.removeListeners()}
1constructor(t){super(t),this.removeGroupControls=i.noop,this.removeListeners=i.noop,this.controls=new H(t)}}var q=e;let K=t=>(e,i)=>{t&&s.frame.postRender(()=>t(e,i))};class Z extends q.Feature{onPointerDown(t){this.session=new M(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:S(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:o}=this.node.getProps();return{onSessionStart:K(t),onStart:K(e),onMove:i,onEnd:(t,e)=>{delete this.session,o&&s.frame.postRender(()=>o(t,e))}}}mount(){this.removePointerDownListener=d(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}constructor(){super(...arguments),this.removePointerDownListener=i.noop}}var _=t.i(843476),J=t.i(560140),Q=t.i(271645),tt=t.i(464978),te=t.i(231178),ti=t.i(104035);let ts={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function to(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let tr={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!a.px.test(t))return t;else t=parseFloat(t);let i=to(t,e.target.x),s=to(t,e.target.y);return`${i}% ${s}%`}};var tn=t.i(569577),ta=t.i(852383);let tl=!1;class th extends Q.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:o}=t;(0,ta.addScaleCorrector)(tc),o&&(e.group&&e.group.add(o),i&&i.register&&s&&i.register(o),tl&&o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),ts.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:o,isPresent:r}=this.props,{projection:n}=i;return n&&(n.isPresent=r,tl=!0,o||t.layoutDependency!==e||void 0===e||t.isPresent!==r?n.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?n.promote():n.relegate()||s.frame.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),J.microtask.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;tl=!0,s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function tu(t){let[e,i]=(0,tt.usePresence)(),s=(0,Q.useContext)(te.LayoutGroupContext);return(0,_.jsx)(th,{...t,layoutGroup:s,switchLayoutGroup:(0,Q.useContext)(ti.SwitchLayoutGroupContext),isPresent:e,safeToRemove:i})}let tc={borderRadius:{...tr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tr,borderTopRightRadius:tr,borderBottomLeftRadius:tr,borderBottomRightRadius:tr,boxShadow:{correct:(t,e)=>{let{treeScale:i,projectionDelta:s}=e,r=tn.complex.parse(t);if(r.length>5)return t;let n=tn.complex.createTransformer(t),a=+("number"!=typeof r[0]),l=s.x.scale*i.x,h=s.y.scale*i.y;r[0+a]/=l,r[1+a]/=h;let u=(0,o.mixNumber)(l,h,.5);return"number"==typeof r[2+a]&&(r[2+a]/=u),"number"==typeof r[3+a]&&(r[3+a]/=u),n(r)}}};var td=t.i(880248),tm=t.i(642824);function tp(t){return(0,tm.isObject)(t)&&"ownerSVGElement"in t}function tg(t){return tp(t)&&"svg"===t.tagName}t.s(["isSVGElement",0,tp],889026),t.s(["isSVGSVGElement",0,tg],836331);var tv=t.i(987333),tf=t.i(496173),ty=t.i(504169),tx=t.i(486427),tP=t.i(570596),tT=t.i(83411);function tD(t,e,i){let s=(0,tT.isMotionValue)(t)?t:(0,tx.motionValue)(t);return s.start((0,h.animateMotionValue)("",s,e,i)),s.animation}t.s(["animateSingleValue",0,tD],969122);var tE=t.i(767369),tB=t.i(133887);let tS=(t,e)=>t.depth-e.depth;class tR{add(t){(0,tB.addUniqueItem)(this.children,t),this.isDirty=!0}remove(t){(0,tB.removeItem)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(tS),this.isDirty=!1,this.children.forEac
1h(t)}constructor(){this.children=[],this.isDirty=!1}}function tA(t,e){let i=tf.time.now(),o=r=>{let{timestamp:n}=r,a=n-i;a>=e&&((0,s.cancelFrame)(o),t(a-e))};return s.frame.setup(o,!0),()=>(0,s.cancelFrame)(o)}t.s(["FlatTree",0,tR],457355),t.s(["delay",0,tA],891305);var tj=t.i(528987),tL=t.i(791559);let tV=["TopLeft","TopRight","BottomLeft","BottomRight"],tw=tV.length,tb=t=>"string"==typeof t?parseFloat(t):t,tM=t=>"number"==typeof t||a.px.test(t);function tC(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let tk=tF(0,.5,tL.circOut),tU=tF(.5,.95,i.noop);function tF(t,e,i){return s=>s<t?0:s>e?1:i((0,O.progress)(t,e,s))}function tO(t,e){t.min=e.min,t.max=e.max}function tI(t,e){tO(t.x,e.x),tO(t.y,e.y)}function tN(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var t$=t.i(789234);function tW(t,e,i,s,o){return t-=e,t=(0,t$.scalePoint)(t,1/i,s),void 0!==o&&(t=(0,t$.scalePoint)(t,1/o,s)),t}function tz(t,e,i,s,r){let[n,l,h]=i;!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,r=arguments.length>4?arguments[4]:void 0,n=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;if(a.percent.test(e)&&(e=parseFloat(e),e=(0,o.mixNumber)(l.min,l.max,e/100)-l.min),"number"!=typeof e)return;let h=(0,o.mixNumber)(n.min,n.max,s);t===n&&(h-=e),t.min=tW(t.min,e,i,h,r),t.max=tW(t.max,e,i,h,r)}(t,e[n],e[l],e[h],e.scale,s,r)}let tG=["x","scaleX","originX"],tH=["y","scaleY","originY"];function tX(t,e,i,s){tz(t.x,e,tG,i?i.x:void 0,s?s.x:void 0),tz(t.y,e,tH,i?i.y:void 0,s?s.y:void 0)}function tY(t){return 0===t.translate&&1===t.scale}function tq(t){return tY(t.x)&&tY(t.y)}function tK(t,e){return t.min===e.min&&t.max===e.max}function tZ(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function t_(t,e){return tZ(t.x,e.x)&&tZ(t.y,e.y)}function tJ(t){return p(t.x)/p(t.y)}function tQ(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class t0{add(t){(0,tB.addUniqueItem)(this.members,t),t.scheduleRender()}remove(t){if((0,tB.removeItem)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,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)}constructor(){this.members=[]}}var t1=t.i(672696);let t3={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},t5=["","X","Y","Z"],t6=0;function t2(t,e,i,s){let{latestValues:o}=e;o[t]&&(i[t]=o[t],e.setStaticValue(t,0),s&&(s[t]=0))}function t4(t){let{attachResizeListener:e,defaultParent:i,measureScroll:r,checkIsScrollRoot:n,resetTransform:l}=t;return class{addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tP.SubscriptionManager),this.eventHandlers.get(t).add(e)}notifyListeners(t){for(var e=arguments.length,i=Array(e>1?e-1:0),s=1;s<e;s++)i[s-1]=arguments[s];let o=this.eventHandlers.get(t);o&&o.notify(...i)}hasListeners(t){return this.eventHandlers.has(t)}mount(t){if(this.instance)return;this.isSVG=tp(t)&&!tg(t),this.instance=t;let{layoutId:i,layout:o,visualElement:r}=this.options;if(r&&!r.current&&r.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(o||i)&&(this.isLayoutDirty=!0),e){let i,o=0,r=()=>this.root.updateBlockedByResize=!1;s.frame.read(()=>{o=window.innerWidth}),e(t,()=>{let t=window.innerWidth;t!==o&&(o=t,this.root.updateBlockedByResize=!0,i&&i(),i=tA(r,250),ts.hasAnimatedSinceResize&&(ts.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(er)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||o)&&this.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i,hasRelativeLayoutChanged:s,layout:o}=t;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||r.getDefaultTransition()||em,{onLayoutAnimationStart:a,onLayoutAnimationComplete:l}=r.getProps(),h=!this.targetLayout||!t_(this.targetLayout,o),u=!i&&s;if(this.options.layoutRoot||this.resumeFrom||u||i&&(h||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...(0,tv.getValueTransition)(n,"layout"),onPlay:a,onComplete:l};(r.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u)}else i||er(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,this.eventHandlers.clear(),(0,s.cancelFrame)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(el),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[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 o=(0,tE.getOptimisedAppearId)(i);if(window.MotionHasOptimisedAnimation(o,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(o,"transform",s.frame,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(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 o=this.getTransformTemplate();this.prevTransformTemplateValue=o?o(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ei);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(es);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(eo),this.nodes.forEach(t9),this.nodes.forEach(t8)):this.nodes.forEach(es),this.clearAllSnapshots();let t=tf.time.now();s.frameData.delta=(0,I.clamp)(0,1e3/60,t-s.frameData.timestamp),s.frameData.timestamp=t,s.frameData.isProcessing=!0,s.frameSteps.update.process(s.frameData),s.frameSteps.preRender.process(s.frameData),s.frameSteps.render.process(s.frameData),s.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,J.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ee),this.sharedNodes.forEach(eh)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,s.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){s.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||p(this.snapshot.measuredBox.x)||p(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,D.createBox)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!l)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!tq(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,o=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,t1.hasTransform)(this.latestValues)||o)&&(l(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(){var t;let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],i=this.measurePageBox(),s=this.removeElementScroll(i);return e&&(s=this.removeTransform(s)),ev((t=s).x),ev(t.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,D.createBox)();let i=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(ey))){let{scroll:t}=this.root;t&&((0,t$.translateAxis)(i.x,t.offset.x),(0,t$.translateAxis)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,D.createBox)();if(tI(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:r}=s;s!==this.root&&o&&r.layoutScroll&&(o.wasRoot&&tI(i,t),(0,t$.translateAxis)(i.x,o.offset.x),(0,t$.translateAxis)(i.y,o.offset.y))}return i}applyTransform(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=(0,D.createBox)();tI(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$.transformBox)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,t1.hasTransform)(s.latestValues)&&(0,t$.transformBox)(i,s.latestValues)}return(0,t1.hasTransform)(this.latestValues)&&(0,t$.transformBox)(i,this.latestValues),i}removeTransform(t){let e=(0,D.createBox)();tI(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,t1.hasTransform)(i.latestValues))continue;(0,t1.hasScale)(i.latestValues)&&i.updateSnapshot();let s=(0,D.createBox)();tI(s,i.measurePageBox()),tX(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,t1.hasTransform)(this.latestValues)&&tX(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!==s.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(){var t;let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=i.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=i.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=i.isSharedProjectionDirty);let o=!!this.resumingFrom||this!==i;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;if(this.layout&&(r||n)){if(this.resolvedRelativeTargetAt=s.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,D.createBox)(),this.relativeTargetOrigin=(0,D.createBox)(),T(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),tI(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,D.createBox)(),this.targetWithTransforms=(0,D.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),x(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):tI(this.target,this.layout.layoutBox),(0,t$.applyBoxDelta)(this.target,this.targetDelta)):tI(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,D.createBox)(),this.relativeTargetOrigin=(0,D.createBox)(),T(this.relativeTargetOrigin,this.target,t.target),tI(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}td.statsBuffer.value&&t3.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||(0,t1.hasScale)(this.parent.latestValues)||(0,t1.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,o=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(o=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(o=!1),this.resolvedRelativeTargetAt===s.frameData.timestamp&&(o=!1),o)return;let{layout:r,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||!(r||n))return;tI(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,l=this.treeScale.y;(0,t$.applyTreeDeltas)(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,D.createBox)());let{target:h}=e;if(!h){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(tN(this.prevProjectionDelta.x,this.projectionDelta.x),tN(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),f(this.projectionDelta,this.layoutCorrected,h,this.latestValues),this.treeScale.x===a&&this.treeScale.y===l&&tQ(this.projectionDelta.x,this.prevProjectionDelta.x)&&tQ(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h)),td.statsBuffer.value&&t3.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){var t;let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(null==(t=this.options.visualElement)||t.scheduleRender(),e){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,D.createDelta)(),this.projectionDelta=(0,D.createDelta)(),this.projectionDeltaWithTransform=(0,D.createDelta)()}setAnimationOrigin(t){let e,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=this.snapshot,r=s?s.latestValues:{},n={...this.latestValues},l=(0,D.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let h=(0,D.createBox)(),u=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),d=!c||c.members.length<=1,m=!!(u&&!d&&!0===this.options.crossfade&&!this.path.some(ed));this.animationProgress=0,this.mixTargetDelta=i=>{let s=i/1e3;if(eu(l.x,t.x,s),eu(l.y,t.y,s),this.setTargetDelta(l),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var c,p,g,v,f,y;T(h,this.layout.layoutBox,this.relativeParent.layout.layoutBox),g=this.relativeTarget,v=this.relativeTargetOrigin,f=h,y=s,ec(g.x,v.x,f.x,y),ec(g.y,v.y,f.y,y),e&&(c=this.relativeTarget,p=e,tK(c.x,p.x)&&tK(c.y,p.y))&&(this.isProjectionDirty=!1),e||(e=(0,D.createBox)()),tI(e,this.relativeTarget)}
1u&&(this.animationValues=n,function(t,e,i,s,r,n){r?(t.opacity=(0,o.mixNumber)(0,i.opacity??1,tk(s)),t.opacityExit=(0,o.mixNumber)(e.opacity??1,0,tU(s))):n&&(t.opacity=(0,o.mixNumber)(e.opacity??1,i.opacity??1,s));for(let r=0;r<tw;r++){let n=`border${tV[r]}Radius`,l=tC(e,n),h=tC(i,n);(void 0!==l||void 0!==h)&&(l||(l=0),h||(h=0),0===l||0===h||tM(l)===tM(h)?(t[n]=Math.max((0,o.mixNumber)(tb(l),tb(h),s),0),(a.percent.test(h)||a.percent.test(l))&&(t[n]+="%")):t[n]=h)}(e.rotate||i.rotate)&&(t.rotate=(0,o.mixNumber)(e.rotate||0,i.rotate||0,s))}(n,r,this.latestValues,s,m,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){var e,i,o;this.notifyListeners("animationStart"),null==(e=this.currentAnimation)||e.stop(),null==(o=this.resumingFrom)||null==(i=o.currentAnimation)||i.stop(),this.pendingAnimation&&((0,s.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=s.frame.update(()=>{ts.hasAnimatedSinceResize=!0,ty.activeAnimations.layout++,this.motionValue||(this.motionValue=(0,tx.motionValue)(0)),this.currentAnimation=tD(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{ty.activeAnimations.layout--},onComplete:()=>{ty.activeAnimations.layout--,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&&ef(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,D.createBox)();let e=p(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=p(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}tI(e,i),(0,t$.transformBox)(e,o),f(this.projectionDeltaWithTransform,this.layoutCorrected,e,o)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new t0),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(){let{needsReset:t,transition:e,preserveFollowOpacity:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},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&&t2("z",t,s,this.animationValues);for(let e=0;e<t5.length;e++)t2(`rotate${t5[e]}`,t,s,this.animationValues),t2(`skew${t5[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=(0,tj.resolveMotionValue)(null==e?void 0:e.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,tj.resolveMotionValue)(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!(0,t1.hasTransform)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let o=s.animationValues||s.latestValues;this.applyTransformsToTarget();
1let r=function(t,e,i){let s="",o=t.x.translate/e.x,r=t.y.translate/e.y,n=(null==i?void 0:i.z)||0;if((o||r||n)&&(s=`translate3d(${o}px, ${r}px, ${n}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:o,rotateY:r,skewX:n,skewY:a}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),o&&(s+=`rotateX(${o}deg) `),r&&(s+=`rotateY(${r}deg) `),n&&(s+=`skewX(${n}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,o);i&&(r=i(o,r)),t.transform=r;let{x:n,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*n.origin}% ${100*a.origin}% 0`,s.animationValues?t.opacity=s===this?o.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:t.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,ta.scaleCorrectors){if(void 0===o[e])continue;let{correct:i,applyTo:n,isCSSVariable:a}=ta.scaleCorrectors[e],l="none"===r?o[e]:i(o[e],s);if(n){let e=n.length;for(let i=0;i<e;i++)t[n[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=s===this?(0,tj.resolveMotionValue)(null==e?void 0:e.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null==(e=t.currentAnimation)?void 0:e.stop()}),this.root.nodes.forEach(ei),this.root.sharedNodes.clear()}constructor(t={},e=null==i?void 0:i()){this.id=t6++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,td.statsBuffer.value&&(t3.nodes=t3.calculatedTargetDeltas=t3.calculatedProjections=0),this.nodes.forEach(t7),this.nodes.forEach(en),this.nodes.forEach(ea),this.nodes.forEach(et),td.statsBuffer.addProjectionMetrics&&td.statsBuffer.addProjectionMetrics(t3)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=e?e.root||e:this,this.path=e?[...e.path,e]:[],this.parent=e,this.depth=e?e.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new tR)}}}function t9(t){t.updateLayout()}function t8(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,r=i.source!==t.layout.source;"size"===o?E(t=>{let s=r?i.measuredBox[t]:i.layoutBox[t],o=p(s);s.min=e[t].min,s.max=s.min+o}):ef(o,i.layoutBox,e)&&E(s=>{let o=r?i.measuredBox[s]:i.layoutBox[s],n=p(e[s]);o.max=o.min+n,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+n)});let n=(0,D.createDelta)();f(n,e,i.layoutBox);let a=(0,D.createDelta)();r?f(a,t.applyTransform(s,!0),i.measuredBox):f(a,e,i.layoutBox);let l=!tq(n),h=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:o,layout:r}=s;if(o&&r){let n=(0,D.createBox)();T(n,i.layoutBox,o.layoutBox);let a=(0,D.createBox)();T(a,e,r.layoutBox),t_(n,a)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=n,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:n,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function t7(t){td.statsBuffer.value&&t3.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function et(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ee(t){t.clearSnapshot()}function ei(t){t.clearMeasurements()}function es(t){t.isLayoutDirty=!1}function eo(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function er(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function en(t){t.resolveTargetDelta()}function ea(t){t.calcProjection()}function el(t){t.resetSkewAndRotation()}function eh(t){t.removeLeadSnapshot()}function eu(t,e,i){t.translate=(0,o.mixNumber)(e.translate,0,i),t.scale=(0,o.mixNumber)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function ec(t,e,i,s){t.min=(0,o.mixNumber)(e.min,i.min,s),t.max=(0,o.mixNumber)(e.max,i.max,s)}function ed(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let em={duration:.45,ease:[.4,0,.1,1]},ep=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),eg=ep("applewebkit/")&&!ep("chrome/")?Math.round:i.noop;function ev(t){t.min=eg(t.min),t.max=eg(t.max)}function ef(t,e,i){return"position"===t||"preserve-aspect"===t&&!g(tJ(e),tJ(i),.2)}function ey(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}let ex=t4({attachResizeListener:(t,e)=>(0,u.addDomEvent)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),eP={current:void 0},eT=t4({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!eP.current){let t=new ex({});t.mount(window),t.setOptions({layoutScroll:!0}),eP.current=t}return eP.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});t.s(["HTMLProjectionNode",0,eT,"rootProjectionNode",0,eP],49048),t.s(["drag",0,{pan:{Feature:Z},drag:{Feature:Y,ProjectionNode:eT,MeasureLayout:tu}}],646816),t.s(["layout",0,{layout:{ProjectionNode:eT,MeasureLayout:tu}}],454292)}]);

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.