PageSourceSearch

https://www.konstperspektiv.nu/_next/static/chunks/7562-fa41c8a41b…?dpl=dpl_AiJsPkMKxeFy2CkUFUgWjZ9iUNQn

js konstperspektiv.nu collected 2026-10-02 13:31:42 UTC 50,353 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7562],{2832:(t,e,i)=>{i.d(e,{I:()=>s,w:()=>n});let s=(t,e)=>Math.abs(t-e);function n(t,e){return Math.sqrt(s(t.x,e.x)**2+s(t.y,e.y)**2)}},7562:(t,e,i)=>{i.d(e,{P:()=>u});var s=i(87761),n=i(36063),o=i(10389),r=i(37694),a=i(92839),l=i(87570);let h={...o.W,...a.n,...r.$,...l.Z},u=(0,n.H)(h,s.J)},13365:(t,e,i)=>{i.d(e,{W:()=>s});let s={}},14536:(t,e,i)=>{i.d(e,{KG:()=>l,OQ:()=>h,bt:()=>a});var s=i(92912),n=i(72757),o=i(34591),r=i(62081);let a={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=o.k.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=o.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new s.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),r.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=o.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,n.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function h(t,e){return new l(t,e)}},18168:(t,e,i)=>{i.d(e,{x:()=>n});var s=i(3533);function n(t){return(0,s.G)(t)&&"ownerSVGElement"in t}}
1,19607:(t,e,i)=>{i.d(e,{h:()=>o});var s=i(68408),n=i(38660);function o(t,e,i,o){return(0,s.k)(t,e,(0,n.F)(i),o)}},21138:(t,e,i)=>{i.d(e,{Q:()=>s});let s={value:null,addProjectionMetrics:null}},30646:(t,e,i)=>{i.d(e,{q:()=>s});let s=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"]},32093:(t,e,i)=>{i.d(e,{$:()=>p});var s=i(54568),n=i(62081),o=i(34461),r=i(7620),a=i(26472),l=i(95971),h=i(31943),u=i(98599);let d=!1;class c extends r.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:n}=t;n&&(e.group&&e.group.add(n),i&&i.register&&s&&i.register(n),d&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),u.w.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:o}=this.props,{projection:r}=i;return r&&(r.isPresent=o,d=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==o?r.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?r.promote():r.relegate()||n.Gt.postRender(()=>{let t=r.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),o.k.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;d=!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 p(t){let[e,i]=(0,a.xQ)(),n=(0,r.useContext)(l.L);return(0,s.jsx)(c,{...t,layoutGroup:n,switchLayoutGroup:(0,r.useContext)(h.N),isPresent:e,safeToRemove:i})}},34591:(t,e,i)=>{let s;i.d(e,{k:()=>a});var n=i(13365),o=i(62081);function r(){s=void 0}let a={now:()=>(void 0===s&&a.set(o.uv.isProcessing||n.W.useManualTiming?o.uv.timestamp:performance.now()),s),set:t=>{s=t,queueMicrotask(r)}}},37694:(t,e,i)=>{i.d(e,{$:()=>X});var s=i(33680),n=i(97037),o=i(53693),r=i(89484),a=i(62081),l=i(32288),h=i(18928),u=i(12307),d=i(68408),c=i(19607),p=i(38660),m=i(42250),v=i(51086),g=i(78912),f=i(94516),y=i(14731);let x=t=>{let{current:e}=t;return e?e.ownerDocument.defaultView:null};var P=i(29097),T=i(43425),D=i(92998),A=i(48981),E=i(75313),w=i(2832);class S{updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,a.WG)(this.updatePoint)}constructor(t,e,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:n=!1,distanceThreshold:o=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=j(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=(0,w.w)(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:s}=t,{timestamp:n}=a.uv;this.history.push({...s,timestamp:n});let{onStart:o,onMove:r}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),r&&r(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=k(e,this.transformPagePoint),a.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=j("pointercancel"===t.type?this.lastMoveEventInfo:k(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,o),s&&s(t,o)},!(0,D.M)(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=o,this.contextWindow=s||window;let r=k((0,p.e)(t),this.transformPagePoint),{point:l}=r,{timestamp:h}=a.uv;this.history=[{...l,timestamp:h}];let{onSessionStart:u}=e;u&&u(t,j(r,this.history)),this.removeListeners=(0,A.F)((0,c.h)(this.contextWindow,"pointermove",this.handlePointerMove),(0,c.h)(this.contextWindow,"pointerup",this.handlePointerUp),(0,c.h)(this.contextWindow,"pointercancel",this.handlePointerUp))}}function k(t,e){return e?{point:e(t.point)}:t}function R(t,e){return{x:t.x-e.x,y:t.y-e.y}}function j(t,e){let{point:i}=t;return{point:i,delta:R(i,V(e)),offset:R(i,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null,n=V(t);for(;i>=0&&(s=t[i],!(n.timestamp-s.timestamp>(0,E.f)(.1)));)i--;if(!s)return{x:0,y:0};let o=(0,E.X)(n.timestamp-s.timestamp);if(0===o)return{x:0,y:0};let r={x:(n.x-s.x)/o,y:(n.y-s.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e,.1)}}function V(t){return t[t.length-1]}var L=i(85696),C=i(90252);function M(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 B(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 U(t,e,i){return{min:b(t,e),max:b(t,i)}}function b(t,e){return"number"==typeof t?t:t[e]||0}let F=new WeakMap;class I{start(t){let{snapToCursor:e=!1,distanceThreshold:i}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{presenceContext:s}=this.visualElement;if(s&&!1===s.isPresent)return;let n=t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor((0,p.e)(t).point)},l=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:n}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,o.W)(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),(0,f.X)(t=>{let e=this.getAxisMotionValue(t).get()||0;if(r.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=(0,v.CQ)(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&a.Gt.postRender(()=>n(t,e)),(0,T.g)(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:n,onDrag:o}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:r}=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}(r),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),o&&o(t,e)},u=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},d=()=>(0,f.X)(t=>{var e;return"paused"===this.getAnimationState(t)&&(null==(e=this.getAxisMotionValue(t).animation)?void 0:e.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new S(t,{onSessionStart:n,onStart:l,onMove:h,onSessionEnd:u,resumeAnimation:d},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:i,contextWindow:x(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,s=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!s||!i)return;let{velocity:o}=s;this.startAnimation(o);let{onDragEnd:r}=this.getProps();r&&a.Gt.postRender(()=>r(i,s))}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||!W(t,s,this.currentDirection))return;let n=this.getAxisMotionValue(t),o=this.originPoint[t]+i[t];
1this.constraints&&this.constraints[t]&&(o=function(t,e,i){let{min:s,max:n}=e;return void 0!==s&&t<s?t=i?(0,l.k)(s,t,i.min):Math.max(t,s):void 0!==n&&t>n&&(t=i?(0,l.k)(n,t,i.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),n.set(o)}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,n=this.constraints;e&&(0,P.X)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&s?this.constraints=function(t,e){let{top:i,left:s,bottom:n,right:o}=e;return{x:M(t.x,s,o),y:M(t.y,i,n)}}(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:U(t,"left","right"),y:U(t,"top","bottom")}}(i),n!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&(0,f.X)(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(s.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,P.X)(e))return!1;let s=e.current;(0,h.V)(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:n}=this.visualElement;if(!n||!n.layout)return!1;let o=(0,y.L)(s,n.root,this.visualElement.getTransformPagePoint()),r=(t=n.layout.layoutBox,{x:B(t.x,o.x),y:B(t.y,o.y)});if(i){let t=i((0,m.pA)(r));this.hasMutatedConstraints=!!t,t&&(r=(0,m.FY)(t))}return r}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:n,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{};return Promise.all((0,f.X)(r=>{if(!W(r,e,this.currentDirection))return;let l=a&&a[r]||{};o&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[r]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(r,h)})).then(r)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,T.g)(this.visualElement,t),i.start((0,u.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){(0,f.X)(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){(0,f.X)(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".concat(t.toUpperCase()),i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){(0,f.X)(e=>{let{drag:i}=this.getProps();if(!W(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,n=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:o}=s.layout.layoutBox[e];n.set(t[e]-(0,l.k)(i,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,P.X)(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};(0,f.X)(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();s[t]=function(t,e){let i=.5,s=(0,v.CQ)(t),n=(0,v.CQ)(e);return n>s?i=(0,L.q)(e.min,e.max-s,t.min):s>n&&(i=(0,L.q)(t.min,t.max-n,e.min)),(0,C.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),(0,f.X)(e=>{if(!W(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:o}=this.constraints[e];i.set((0,l.k)(n,o,s[e]))})}addListeners(){if(!this.visualElement.current)return;F.set(this.visualElement,this);let t=this.visualElement.current,e=(0,c.h)(t,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&this.start(t)}),i=()=>{let{dragConstraints:t}=this.getProps();(0,P.X)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,n=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),a.Gt.read(i);let o=(0,d.k)(window,"resize",()=>this.scalePositionWithinConstraints()),r=s.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i}=t;this.isDragging&&i&&((0,f.X)(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),e(),n(),r&&r()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:n=!1,dragElastic:o=.35,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:n,dragElastic:o,dragMomentum:r}}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,g.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}}function W(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class O extends s.X{mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||n.l}unmount(){this.removeGroupControls(),this.removeListeners()}constructor(t){super(t),this.removeGroupControls=n.l,this.removeListeners=n.l,this.controls=new I(t)}}let G=t=>(e,i)=>{t&&a.Gt.postRender(()=>t(e,i))};class N extends s.X{onPointerDown(t){this.session=new S(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:x(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:G(t),onStart:G(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&a.Gt.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=(0,c.h)(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=n.l}}var Q=i(32093);let X={pan:{Feature:N},drag:{Feature:O,ProjectionNode:i(60731).P,MeasureLayout:Q.$}}},43172:(t,e,i)=>{i.d(e,{c:()=>o});var s=i(34591),n=i(62081);function o(t,e){let i=s.k.now(),o=s=>{let{timestamp:r}=s,a=r-i;a>
1=e&&((0,n.WG)(o),t(a-e))};return n.Gt.setup(o,!0),()=>(0,n.WG)(o)}},47771:(t,e,i)=>{i.d(e,{I:()=>r});var s=i(13365),n=i(30646),o=i(21138);function r(t,e){let i=!1,r=!0,a={delta:0,timestamp:0,isProcessing:!1},l=()=>i=!0,h=n.q.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,s=new Set,n=!1,r=!1,a=new WeakSet,l={delta:0,timestamp:0,isProcessing:!1},h=0;function u(e){a.has(e)&&(d.schedule(e),t()),h++,e(l)}let d={schedule:(t,e=!1,o=!1)=>{let r=o&&n?i:s;return e&&a.add(t),r.has(t)||r.add(t),t},cancel:t=>{s.delete(t),a.delete(t)},process:t=>{if(l=t,n){r=!0;return}n=!0,[i,s]=[s,i],i.forEach(u),e&&o.Q.value&&o.Q.value.frameloop[e].push(h),h=0,i.clear(),n=!1,r&&(r=!1,d.process(t))}};return d}(l,e?i:void 0),t),{}),{setup:u,read:d,resolveKeyframes:c,preUpdate:p,update:m,preRender:v,render:g,postRender:f}=h,y=()=>{let n=s.W.useManualTiming?a.timestamp:performance.now();i=!1,s.W.useManualTiming||(a.delta=r?1e3/60:Math.max(Math.min(n-a.timestamp,40),1)),a.timestamp=n,a.isProcessing=!0,u.process(a),d.process(a),c.process(a),p.process(a),m.process(a),v.process(a),g.process(a),f.process(a),a.isProcessing=!1,i&&e&&(r=!1,t(y))};return{schedule:n.q.reduce((e,s)=>{let n=h[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,r=!0,a.isProcessing||t(y)),n.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;e<n.q.length;e++)h[n.q[e]].cancel(t)},state:a,steps:h}}},51086:(t,e,i)=>{i.d(e,{CQ:()=>n,HQ:()=>o,N:()=>h,jA:()=>d,vb:()=>a});var s=i(32288);function n(t){return t.max-t.min}function o(t,e,i){return Math.abs(t-e)<=i}function r(t,e,i){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=o,t.originPoint=(0,s.k)(e.min,e.max,t.origin),t.scale=n(i)/n(e),t.translate=(0,s.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function a(t,e,i,s){r(t.x,e.x,i.x,s?s.originX:void 0),r(t.y,e.y,i.y,s?s.originY:void 0)}function l(t,e,i){t.min=i.min+e.min,t.max=t.min+n(e)}function h(t,e,i){l(t.x,e.x,i.x),l(t.y,e.y,i.y)}function u(t,e,i){t.min=e.min-i.min,t.max=t.min+n(e)}function d(t,e,i){u(t.x,e.x,i.x),u(t.y,e.y,i.y)}},53693:(t,e,i)=>{i.d(e,{W:()=>n});var s=i(2847);function n(t){if("x"===t||"y"===t)if(s.I[t])return null;else return s.I[t]=!0,()=>{s.I[t]=!1};return s.I.x||s.I.y?null:(s.I.x=s.I.y=!0,()=>{s.I.x=s.I.y=!1})}},60731:(t,e,i)=>{i.d(e,{P:()=>tM,i:()=>tC});var s=i(62081),n=i(18168),o=i(82133),r=i(86915),a=i(34591),l=i(34461),h=i(21138),u=i(86494),d=i(14536),c=i(32288),p=i(92912),m=i(90252),v=i(97037),g=i(88118),f=i(63432),y=i(76430);let x=(t,e)=>t.depth-e.depth;class P{add(t){(0,y.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,y.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(x),this.isDirty=!1,this.children.forEach(t)}constructor(){this.children=[],this.isDirty=!1}}var T=i(43172),D=i(87200),A=i(89484),E=i(32846),w=i(85696);let S=["TopLeft","TopRight","BottomLeft","BottomRight"],k=S.length,R=t=>"string"==typeof t?parseFloat(t):t,j=t=>"number"==typeof t||A.px.test(t);function V(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let L=M(0,.5,E.yT),C=M(.5,.95,v.l);function M(t,e,i){return s=>s<t?0:s>e?1:i((0,w.q)(t,e,s))}function B(t,e){t.min=e.min,t.max=e.max}function U(t,e){B(t.x,e.x),B(t.y,e.y)}function b(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var F=i(59925),I=i(51086);function W(t,e,i,s,n){return t-=e,t=(0,F.hq)(t,1/i,s),void 0!==n&&(t=(0,F.hq)(t,1/n,s)),t}function O(t,e,i,s,n){let[o,r,a]=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,n=arguments.length>4?arguments[4]:void 0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;if(A.KN.test(e)&&(e=parseFloat(e),e=(0,c.k)(r.min,r.max,e/100)-r.min),"number"!=typeof e)return;let a=(0,c.k)(o.min,o.max,s);t===o&&(a-=e),t.min=W(t.min,e,i,a,n),t.max=W(t.max,e,i,a,n)}(t,e[o],e[r],e[a],e.scale,s,n)}let G=["x","scaleX","originX"],N=["y","scaleY","originY"];function Q(t,e,i,s){O(t.x,e,G,i?i.x:void 0,s?s.x:void 0),O(t.y,e,N,i?i.y:void 0,s?s.y:void 0)}var X=i(78912);function H(t){return 0===t.translate&&1===t.scale}function q(t){return H(t.x)&&H(t.y)}function z(t,e){return t.min===e.min&&t.max===e.max}function K(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Y(t,e){return K(t.x,e.x)&&K(t.y,e.y)}function $(t){return(0,I.CQ)(t.x)/(0,I.CQ)(t.y)}function _(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class Z{add(t){(0,y.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,y.Ai)(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)}
1}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 J=i(91547),tt=i(94516),te=i(67152),ti=i(98599);let ts={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},tn=["","X","Y","Z"],to=0;function tr(t,e,i,s){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),s&&(s[t]=0))}function ta(t){let{attachResizeListener:e,defaultParent:i,measureScroll:v,checkIsScrollRoot:y,resetTransform:x}=t;return class{addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new p.v),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 n=this.eventHandlers.get(t);n&&n.notify(...i)}hasListeners(t){return this.eventHandlers.has(t)}mount(t){if(this.instance)return;this.isSVG=(0,n.x)(t)&&!(0,o.h)(t),this.instance=t;let{layoutId:i,layout:a,visualElement:l}=this.options;if(l&&!l.current&&l.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(a||i)&&(this.isLayoutDirty=!0),e){let i,n=0,o=()=>this.root.updateBlockedByResize=!1;s.Gt.read(()=>{n=window.innerWidth}),e(t,()=>{let t=window.innerWidth;t!==n&&(n=t,this.root.updateBlockedByResize=!0,i&&i(),i=(0,T.c)(o,250),ti.w.hasAnimatedSinceResize&&(ti.w.hasAnimatedSinceResize=!1,this.nodes.forEach(tg)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&l&&(i||a)&&this.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:i,hasRelativeLayoutChanged:s,layout:n}=t;if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let o=this.options.transition||l.getDefaultTransition()||tE,{onLayoutAnimationStart:a,onLayoutAnimationComplete:h}=l.getProps(),u=!this.targetLayout||!Y(this.targetLayout,n),d=!i&&s;if(this.options.layoutRoot||this.resumeFrom||d||i&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...(0,r.r)(o,"layout"),onPlay:a,onComplete:h};(l.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,d)}else i||tg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}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.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.forEach(tx),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 n=(0,f.P)(i);if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",s.Gt,!(t||i))}let{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&t(o)}
1(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 n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(tp);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(tm);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(tv),this.nodes.forEach(tl),this.nodes.forEach(th)):this.nodes.forEach(tm),this.clearAllSnapshots();let t=a.k.now();s.uv.delta=(0,m.q)(0,1e3/60,t-s.uv.timestamp),s.uv.timestamp=t,s.uv.isProcessing=!0,s.PP.update.process(s.uv),s.PP.preRender.process(s.uv),s.PP.render.process(s.uv),s.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,l.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(tc),this.sharedNodes.forEach(tP)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,s.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){s.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,I.CQ)(this.snapshot.measuredBox.x)||(0,I.CQ)(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.layoutVersion++,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(){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=y(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:v(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!x)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!q(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,te.HD)(this.latestValues)||n)&&(x(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)),tk((t=s).x),tk(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,X.ge)();let i=e.measureViewportBox();if(!((null==(t=this.scroll)?void 0:t.wasRoot)||this.path.some(tj))){let{scroll:t}=this.root;t&&((0,F.Ql)(i.x,t.offset.x),(0,F.Ql)(i.y,t.offset.y))}return i}removeElementScroll(t){var e;let i=(0,X.ge)();if(U(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:n,options:o}=s;s!==this.root&&n&&o.layoutScroll&&(n.wasRoot&&U(i,t),(0,F.Ql)(i.x,n.offset.x),(0,F.Ql)(i.y,n.offset.y))}return i}applyTransform(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=(0,X.ge)();U(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,F.Ww)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,te.HD)(s.latestValues)&&(0,F.Ww)(i,s.latestValues)}return(0,te.HD)(this.latestValues)&&(0,F.Ww)(i,this.latestValues),i}removeTransform(t){let e=(0,X.ge)();U(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,te.HD)(i.latestValues))continue;(0,te.vk)(i.latestValues)&&i.updateSnapshot();let s=(0,X.ge)();U(s,i.measurePageBox()),Q(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,te.HD)(this.latestValues)&&Q(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.uv.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 n=!!this.resumingFrom||this!==i;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:o,layoutId:r}=this.options;if(!this.layout||!(o||r))return;this.resolvedRelativeTargetAt=s.uv.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,X.ge)(),this.targetWithTransforms=(0,X.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,I.N)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):U(this.target,this.layout.layoutBox),(0,F.o4)(this.target,this.targetDelta)):U(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&1!==this.animationProgress?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),h.Q.value&&ts.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,te.vk)(this.parent.latestValues)||(0,te.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)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,X.ge)(),this.relativeTargetOrigin=(0,X.ge)(),(0,I.jA)(this.relativeTargetOrigin,e,i),U(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var t;let e=this.getLead(),i=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===s.uv.timestamp&&(n=!1),n)return;let{layout:o,layoutId:r}=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||r))return;U(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,l=this.treeScale.y;(0,F.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:u}=e;if(!u){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(b(this.prevProjectionDelta.x,this.projectionDelta.x),b(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,I.vb)(this.projectionDelta,this.layoutCorrected,u,this.latestValues),this.treeScale.x===a&&this.treeScale.y===l&&_(this.projectionDelta.x,this.prevProjectionDelta.x)&&_(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",u)),h.Q.value&&ts.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,X.xU)(),this.projectionDelta=(0,X.xU)(),this.projectionDeltaWithTransform=(0,X.xU)()}setAnimationOrigin(t){let e,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=this.snapshot,n=s?s.latestValues:{},o={...this.latestValues},r=(0,X.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!i;let a=(0,X.ge)(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),u=!h||h.members.length<=1,d=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(tA));this.animationProgress=0,this.mixTargetDelta=i=>{let s=i/1e3;if(tT(r.x,t.x,s),tT(r.y,t.y,s),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,p,m,v,g,f;(0,I.jA)(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),m=this.relativeTarget,v=this.relativeTargetOrigin,g=a,f=s,tD(m.x,v.x,g.x,f),tD(m.
1y,v.y,g.y,f),e&&(h=this.relativeTarget,p=e,z(h.x,p.x)&&z(h.y,p.y))&&(this.isProjectionDirty=!1),e||(e=(0,X.ge)()),U(e,this.relativeTarget)}l&&(this.animationValues=o,function(t,e,i,s,n,o){var r,a,l,h;n?(t.opacity=(0,c.k)(0,null!=(r=i.opacity)?r:1,L(s)),t.opacityExit=(0,c.k)(null!=(a=e.opacity)?a:1,0,C(s))):o&&(t.opacity=(0,c.k)(null!=(l=e.opacity)?l:1,null!=(h=i.opacity)?h:1,s));for(let n=0;n<k;n++){let o="border".concat(S[n],"Radius"),r=V(e,o),a=V(i,o);(void 0!==r||void 0!==a)&&(r||(r=0),a||(a=0),0===r||0===a||j(r)===j(a)?(t[o]=Math.max((0,c.k)(R(r),R(a),s),0),(A.KN.test(a)||A.KN.test(r))&&(t[o]+="%")):t[o]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,c.k)(e.rotate||0,i.rotate||0,s))}(o,n,this.latestValues,s,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){var e,i,n;this.notifyListeners("animationStart"),null==(e=this.currentAnimation)||e.stop(),null==(n=this.resumingFrom)||null==(i=n.currentAnimation)||i.stop(),this.pendingAnimation&&((0,s.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=s.Gt.update(()=>{ti.w.hasAnimatedSinceResize=!0,u.q.layout++,this.motionValue||(this.motionValue=(0,d.OQ)(0)),this.currentAnimation=(0,g.z)(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{u.q.layout--},onComplete:()=>{u.q.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:n}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&tR(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,X.ge)();let e=(0,I.CQ)(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=(0,I.CQ)(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}U(e,i),(0,F.Ww)(e,n),(0,I.vb)(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Z),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&&tr("z",t,s,this.animationValues);for(let e=0;e<tn.length;e++)tr("rotate".concat(tn[e]),t,s,this.animationValues),tr("skew".concat(tn[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,D.u)(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,D.u)(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!(0,te.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=s.animationValues||s.latestValues;this.applyTransformsToTarget();
1let o=function(t,e,i){let s="",n=t.x.translate/e.x,o=t.y.translate/e.y,r=(null==i?void 0:i.z)||0;if((n||o||r)&&(s="translate3d(".concat(n,"px, ").concat(o,"px, ").concat(r,"px) ")),(1!==e.x||1!==e.y)&&(s+="scale(".concat(1/e.x,", ").concat(1/e.y,") ")),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:o,skewX:r,skewY:a}=i;t&&(s="perspective(".concat(t,"px) ").concat(s)),e&&(s+="rotate(".concat(e,"deg) ")),n&&(s+="rotateX(".concat(n,"deg) ")),o&&(s+="rotateY(".concat(o,"deg) ")),r&&(s+="skewX(".concat(r,"deg) ")),a&&(s+="skewY(".concat(a,"deg) "))}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(s+="scale(".concat(a,", ").concat(l,")")),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(o=i(n,o)),t.transform=o;let{x:r,y:a}=this.projectionDelta;if(t.transformOrigin="".concat(100*r.origin,"% ").concat(100*a.origin,"% 0"),s.animationValues){var l,h;t.opacity=s===this?null!=(h=null!=(l=n.opacity)?l:this.latestValues.opacity)?h:1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit}else t.opacity=s===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0;for(let e in J.H){if(void 0===n[e])continue;let{correct:i,applyTo:r,isCSSVariable:a}=J.H[e],l="none"===o?n[e]:i(n[e],s);if(r){let e=r.length;for(let i=0;i<e;i++)t[r[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=s===this?(0,D.u)(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(tp),this.root.sharedNodes.clear()}constructor(t={},e=null==i?void 0:i()){this.id=to++,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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,h.Q.value&&(ts.nodes=ts.calculatedTargetDeltas=ts.calculatedProjections=0),this.nodes.forEach(tu),this.nodes.forEach(tf),this.nodes.forEach(ty),this.nodes.forEach(td),h.Q.addProjectionMetrics&&h.Q.addProjectionMetrics(ts)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=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 P)}}}function tl(t){t.updateLayout()}function th(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:n}=t.options,o=i.source!==t.layout.source;"size"===n?(0,tt.X)(t=>{let s=o?i.measuredBox[t]:i.layoutBox[t],n=(0,I.CQ)(s);s.min=e[t].min,s.max=s.min+n}):tR(n,i.layoutBox,e)&&(0,tt.X)(s=>{let n=o?i.measuredBox[s]:i.layoutBox[s],r=(0,I.CQ)(e[s]);n.max=n.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+r)});let r=(0,X.xU)();(0,I.vb)(r,e,i.layoutBox);let a=(0,X.xU)();o?(0,I.vb)(a,t.applyTransform(s,!0),i.measuredBox):(0,I.vb)(a,e,i.layoutBox);let l=!q(r),h=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:n,layout:o}=s;if(n&&o){let r=(0,X.ge)();(0,I.jA)(r,i.layoutBox,n.layoutBox);let a=(0,X.ge)();(0,I.jA)(a,e,o.layoutBox),Y(r,a)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=r,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:i,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function tu(t){h.Q.value&&ts.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 td(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tc(t){t.clearSnapshot()}function tp(t){t.clearMeasurements()}function tm(t){t.isLayoutDirty=!1}function tv(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function tg(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function tf(t){t.resolveTargetDelta()}function ty(t){t.calcProjection()}function tx(t){t.resetSkewAndRotation()}function tP(t){t.removeLeadSnapshot()}function tT(t,e,i){t.translate=(0,c.k)(e.translate,0,i),t.scale=(0,c.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function tD(t,e,i,s){t.min=(0,c.k)(e.min,i.min,s),t.max=(0,c.k)(e.max,i.max,s)}function tA(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let tE={duration:.45,ease:[.4,0,.1,1]},tw=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),tS=tw("applewebkit/")&&!tw("chrome/")?Math.round:v.l;function tk(t){t.min=tS(t.min),t.max=tS(t.max)}function tR(t,e,i){return"position"===t||"preserve-aspect"===t&&!(0,I.HQ)($(e),$(i),.2)}function tj(t){var e;return t!==t.root&&(null==(e=t.scroll)?void 0:e.wasRoot)}var tV=i(68408);let tL=ta({attachResizeListener:(t,e)=>(0,tV.k)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),tC={current:void 0},tM=ta({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!tC.current){let t=new tL({});t.mount(window),t.setOptions({layoutScroll:!0}),tC.current=t}return tC.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position})},62081:(t,e,i)=>{i.d(e,{Gt:()=>n,PP:()=>a,WG:()=>o,uv:()=>r});var s=i(97037);let{schedule:n,cancel:o,state:r,steps:a}=(0,i(47771).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:s.l,!0)},72757:(t,e,i)=>{i.d(e,{f:()=>s});function s(t,e){return e?1e3/e*t:0}},76430:(t,e,i)=>{function s(t,e){-1===t.indexOf(e)&&t.push(e)}function n(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}function o([...t],e,i){let s=e<0?t.length+e:e;if(s>=0&&s<t.length){let s=i<0?t.length+i:i,[n]=t.splice(e,1);t.splice(s,0,n)}return t}i.d(e,{Ai:()=>n,Kq:()=>s,Pe:()=>o})},82133:(t,e,i)=>{i.d(e,{h:()=>n});var s=i(18168);function n(t){return(0,s.x)(t)&&"svg"===t.tagName}},87570:(t,e,i)=>{i.d(e,{Z:()=>o});var s=i(60731),n=i(32093);let o={layout:{ProjectionNode:s.P,MeasureLayout:n.$}}},88118:(t,e,i)=>{i.d(e,{z:()=>r});var s=i(37441),n=i(14536),o=i(12307);function r(t,e,i){let r=(0,s.S)(t)?t:(0,n.OQ)(t);return r.start((0,o.f)("",r,e,i)),r.animation}},92912:(t,e,i)=>{i.d(e,{v:()=>n});var s=i(76430);class n{constructor(){this.subscriptions=[]}add(t){return(0,s.Kq)(this.subscriptions,t),()=>(0,s.Ai)(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,i);else for(let n=0;n<s;n++){let s=this.subscriptions[n];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},94516:(t,e,i)=>{i.d(e,{X:()=>s});function s(t){return[t("x"),t("y")]}},97037:(t,e,i)=>{i.d(e,{l:()=>s});let s=t=>t},98599:(t,e,i)=>{i.d(e,{w:()=>s});let s={hasAnimatedSinceResize:!0,hasEverUpdated:!1}}}]);

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.