PageSourceSearch

https://braveoshop.com.br/_next/static/chunks/6810-a4ac95b7d84f4b68.js?dpl=dpl_7Jt1e6bjA6kp6fiPHTXKUZa5Xm1W

js braveoshop.com.br collected 2026-10-09 04:50:23 UTC 47,962 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6810],{75886:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});let s=(0,i(2267).A)("BaggageClaim",[["path",{d:"M22 18H6a2 2 0 0 1-2-2V7a2 2 0 0 0-2-2",key:"4irg2o"}],["path",{d:"M17 14V4a2 2 0 0 0-2-2h-1a2 2 0 0 0-2 2v10",key:"14fcyx"}],["rect",{width:"13",height:"8",x:"8",y:"6",rx:"1",key:"o6oiis"}],["circle",{cx:"18",cy:"20",r:"2",key:"t9985n"}],["circle",{cx:"9",cy:"20",r:"2",key:"e5v82j"}]])},21728:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});let s=(0,i(2267).A)("Box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]])},7864:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});let s=(0,i(2267).A)("Boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]])},77724:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});let s=(0,i(2267).A)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},13004:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});let s=(0,i(2267).A)("CircleUserRound",[["path",{d:"M18 20a6 6 0 0 0-12 0",key:"1qehca"}],["circle",{cx:"12",cy:"10",r:"4",key:"1h16sb"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},92152:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});let s=(0,i(2267).A)("ImageOff",[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["path",{d:"M10.41 10.41a2 2 0 1 1-2.83-2.83",key:"1bzlo9"}],["line",{x1:"13.5",x2:"6",y1:"13.5",y2:"21",key:"1q0aeu"}],["line",{x1:"18",x2:"21",y1:"12",y2:"15",key:"5mozeu"}],["path",{d:"M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59",key:"mmje98"}],["path",{d:"M21 15V5a2 2 0 0 0-2-2H9",key:"43el77"}]])},85184:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});let s=(0,i(2267).A)("Milk",[["path",{d:"M8 2h8",key:"1ssgc1"}],["path",{d:"M9 2v2.789a4 4 0 0 1-.672 2.219l-.656.984A4 4 0 0 0 7 10.212V20a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-9.789a4 4 0 0 0-.672-2.219l-.656-.984A4 4 0 0 1 15 4.788V2",key:"qtp12x"}],["path",{d:"M7 15a6.472 6.472 0 0 1 5 0 6.47 6.47 0 0 0 5 0",key:"ygeh44"}]])},48920:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});let s=(0,i(2267).A)("PackageOpen",[["path",{d:"M12 22v-9",key:"x3hkom"}],["path",{d:"M15.17 2.21a1.67 1.67 0 0 1 1.63 0L21 4.57a1.93 1.93 0 0 1 0 3.36L8.82 14.79a1.655 1.655 0 0 1-1.64 0L3 12.43a1.93 1.93 0 0 1 0-3.36z",key:"2ntwy6"}],["path",{d:"M20 13v3.87a2.06 2.06 0 0 1-1.11 1.83l-6 3.08a1.93 1.93 0 0 1-1.78 0l-6-3.08A2.06 2.06 0 0 1 4 16.87V13",key:"1pmm1c"}],["path",{d:"M21 12.43a1.93 1.93 0 0 0 0-3.36L8.83 2.2a1.64 1.64 0 0 0-1.63 0L3 4.57a1.93 1.93 0 0 0 0 3.36l12.18 6.86a1.636 1.636 0 0 0 1.63 0z",key:"12ttoo"}]])},92755:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});let s=(0,i(2267).A)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},12108:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});let s=(0,i(2267).A)("SquareSlash",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]])},73487:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});let s=(0,i(2267).A)("Weight",[["circle",{cx:"12",cy:"5",r:"3",key:"rqqgnr"}],["path",{d:"M6.5 8a2 2 0 0 0-1.905 1.46L2.1 18.5A2 2 0 0 0 4 21h16a2 2 0 0 0 1.925-2.54L19.4 9.5A2 2 0 0 0 17.48 8Z",key:"56o5sh"}]])},15514:()=>{},14588:(t,e,i)=>{"use strict";i.d(e,{xQ:()=>n});var s=i(3660),o=i(55003);function n(t=!0){let e=(0,s.useContext)(o.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:r,register:a}=e,l=(0,s.useId)();(0,s.useEffect)(()=>
1{if(t)return a(l)},[t]);let h=(0,s.useCallback)(()=>t&&r&&r(l),[l,r,t]);return!i&&r?[!1,h]:[!0]}},61581:(t,e,i)=>{"use strict";i.d(e,{P:()=>ev});var s=i(39015),o=i(19193),n=i(58859),r=i(99372),a=i(96826),l=i(21064),h=i(82139),u=i(16086),d=i(51625),c=i(25711),p=i(52724),m=i(85476),y=i(29456);function g(t,e,i,s){return(0,m.k)(t,e,(0,y.F)(i),s)}var v=i(61310);function f(t){return t.max-t.min}function x(t,e,i,s=.5){t.origin=s,t.originPoint=(0,d.k)(e.min,e.max,t.origin),t.scale=f(i)/f(e),t.translate=(0,d.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 P(t,e,i,s){x(t.x,e.x,i.x,s?s.originX:void 0),x(t.y,e.y,i.y,s?s.originY:void 0)}function k(t,e,i){t.min=i.min+e.min,t.max=t.min+f(e)}function T(t,e,i){t.min=e.min-i.min,t.max=t.min+f(e)}function D(t,e,i){T(t.x,e.x,i.x),T(t.y,e.y,i.y)}var A=i(13260);function E(t){return[t("x"),t("y")]}var S=i(21719);let R=({current:t})=>t?t.ownerDocument.defaultView:null;var w=i(21509),j=i(18738),V=i(94941),M=i(17530),L=i(81168);let B=(t,e)=>Math.abs(t-e);class C{constructor(t,e,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:o=!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=I(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(B(t.x,e.x)**2+B(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:s}=t,{timestamp:o}=u.uv;this.history.push({...s,timestamp:o});let{onStart:n,onMove:r}=this.handlers;e||(n&&n(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),r&&r(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=U(e,this.transformPagePoint),u.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=I("pointercancel"===t.type?this.lastMoveEventInfo:U(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),s&&s(t,n)},!(0,V.M)(t))return;this.dragSnapToOrigin=o,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=n,this.contextWindow=s||window;let r=U((0,y.e)(t),this.transformPagePoint),{point:a}=r,{timestamp:l}=u.uv;this.history=[{...a,timestamp:l}];let{onSessionStart:h}=e;h&&h(t,I(r,this.history)),this.removeListeners=(0,M.F)(g(this.contextWindow,"pointermove",this.handlePointerMove),g(this.contextWindow,"pointerup",this.handlePointerUp),g(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,u.WG)(this.updatePoint)}}function U(t,e){return e?{point:e(t.point)}:t}function b(t,e){return{x:t.x-e.x,y:t.y-e.y}}function I({point:t},e){return{point:t,delta:b(t,F(e)),offset:b(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,s=null,o=F(t);for(;i>=0&&(s=t[i],!(o.timestamp-s.timestamp>(0,L.f)(.1)));)i--;if(!s)return{x:0,y:0};let n=(0,L.X)(o.timestamp-s.timestamp);if(0===n)return{x:0,y:0};let r={x:(o.x-s.x)/n,y:(o.y-s.y)/n};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e,0)}}function F(t){return t[t.length-1]}var O=i(74275),W=i(57361);function G(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 z(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 H(t,e,i){return{min:N(t,e),max:N(t,i)}}function N(t,e){return"number"==typeof t?t:t[e]||0}let $=new WeakMap;class q{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,A.ge)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:s}=this.visualElement;if(s&&!1===s.isPresent)return;let{dragSnapToOrigin:o}=this.getProps();this.panSession=new C(t,{onSessionStart:t=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor((0,y.e)(t).point)},onStart:(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:o}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===i||"y"===i?l.I[i]?null:(l.I[i]=!0,()=>{l.I[i]=!1}):l.I.x||l.I.y?null:(l.I.x=l.I.y=!0,()=>{l.I.x=l.I.y=!1}),!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(h.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=f(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),o&&u.Gt.postRender(()=>o(t,e)),(0,j.g)(this.visualElement,"transform");let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:o,onDrag:n}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:r}=e;if(s&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(r),null!==this.currentDirection&&o&&o(this.currentDirection);return}this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),n&&n(t,e)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>E(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play())},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:o,distanceThreshold:i,contextWindow:R(this.visualElement)})}stop(t,e){let i=t||this.latestPointerEvent,s=e||this.latestPanInfo,o=this.isDragging;if(this.cancel(),!o||!s||!i)return;let{velocity:n}=s;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&u.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||!X(t,s,this.currentDirection))return;let o=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?(0,d.k)(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?(0,d.k)(i,t,s.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),o.set(n)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;t&&(0,w.X)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:s,right:o}){return{x:G(t.x,i,o),y:G(t.y,e,s)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:H(t,"left","right"),y:H(t,"top","bottom")}}(e),s!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&E(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}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!(0,w.X)(e))return!1;let s=e.current;(0,c.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:o}=this.visualElement;if(!o||!o.layout)return!1;let n=(0,S.L)(s,o.root,this.visualElement.getTransformPagePoint()),r={x:z((t=o.layout.layoutBox).x,n.x),y:z(t.y,n.y)};if(i){let t=i((0,v.pA)(r));this.hasMutatedConstraints=!!t,t&&(r=(0,v.FY)(t))}return r}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:o,dragSnapToOrigin:n,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{};return Promise.all(E(r=>{if(!X(r,e,this.currentDirection))return;let l=a&&a[r]||{};n&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[r]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(r,h)})).then(r)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return(0,j.g)(this.visualElement,t),i.start((0,p.f)(t,i,0,e,this.visualElement,!1))}stopAnimation(){E(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){E(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.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,o=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:n}=s.layout.layoutBox[e];o.set(t[e]-(0,d.k)(i,n,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!(0,w.X)(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){let i=e.get();s[t]=function(t,e){let i=.5,s=f(t),o=f(e);return o>s?i=(0,O.q)(e.min,e.max-s,t.min):s>o&&(i=(0,O.q)(t.min,t.max-o,e.min)),(0,W.q)(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),E(e=>{if(!X(e,t,null))return;let i=this.getAxisMotionValue(e),{min:o,max:n}=this.constraints[e];i.set((0,d.k)(o,n,s[e]))})}addListeners(){if(!this.visualElement.current)return;$.set(this.visualElement,this);let t=g(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,w.X)(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,s=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),u.Gt.read(e);let o=(0,m.k)(window,"resize",()=>this.scalePositionWithinConstraints()),n=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(E(e=>{let i=this.getAxisMotionValue(e);
1i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),t(),s(),n&&n()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:o=!1,dragElastic:n=.35,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:o,dragElastic:n,dragMomentum:r}}}function X(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class Q extends r.X{constructor(t){super(t),this.removeGroupControls=a.l,this.removeListeners=a.l,this.controls=new q(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||a.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let Y=t=>(e,i)=>{t&&u.Gt.postRender(()=>t(e,i))};class Z extends r.X{constructor(){super(...arguments),this.removePointerDownListener=a.l}onPointerDown(t){this.session=new C(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:R(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:Y(t),onStart:Y(e),onMove:i,onEnd:(t,e)=>{delete this.session,s&&u.Gt.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=g(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var K=i(50016),_=i(43758),J=i(3660),tt=i(14588),te=i(41023),ti=i(83651);let ts={hasAnimatedSinceResize:!0,hasEverUpdated:!1},to=!1;class tn extends J.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:o}=t;o&&(e.group&&e.group.add(o),i&&i.register&&s&&i.register(o),to&&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:s,isPresent:o}=this.props,{projection:n}=i;return n&&(n.isPresent=o,to=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==o?n.willUpdate():this.safeToRemove(),t.isPresent===o||(o?n.promote():n.relegate()||u.Gt.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),_.k.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;to=!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 tr(t){let[e,i]=(0,tt.xQ)(),s=(0,J.useContext)(te.L);return(0,K.jsx)(tn,{...t,layoutGroup:s,switchLayoutGroup:(0,J.useContext)(ti.N),isPresent:e,safeToRemove:i})}var ta=i(30403),tl=i(56264);function th(t){return(0,tl.G)(t)&&"ownerSVGElement"in t}var tu=i(45586),td=i(1576),tc=i(91149),tp=i(33807),tm=i(35087),ty=i(55942),tg=i(77852),tv=i(55927);let tf=(t,e)=>t.depth-e.depth;class tx{constructor(){this.children=[],this.isDirty=!1}add(t){(0,tv.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,tv.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(tf),this.isDirty=!1,this.children.forEach(t)}}var tP=i(51540),tk=i(80115);let tT=["TopLeft","TopRight","BottomLeft","BottomRight"],tD=tT.length,tA=t=>"string"==typeof t?parseFloat(t):t,tE=t=>"number"==typeof t||h.px.test(t);function tS(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let tR=tj(0,.5,tk.yT),tw=tj(.5,.95,a.l);function tj(t,e,i){return s=>s<t?0:s>e?1:i((0,O.q)(t,e,s))}function tV(t,e){t.min=e.min,t.max=e.max}function tM(t,e){tV(t.x,e.x),tV(t.y,e.y)}function tL(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}var tB=i(88209);function tC(t,e,i,s,o){return t-=e,t=(0,tB.hq)(t,1/i,s),void 0!==o&&(t=(0,tB.hq)(t,1/o,s)),t}function tU(t,e,[i,s,o],n,r){!function(t,e=0,i=1,s=.5,o,n=t,r=t){if(h.KN.test(e)&&(e=parseFloat(e),e=(0,d.k)(r.min,r.max,e/100)-r.min),"number"!=typeof e)return;let a=(0,d.k)(n.min,n.max,s);t===n&&(a-=e),t.min=tC(t.min,e,i,a,o),t.max=tC(t.max,e,i,a,o)}(t,e[i],e[s],e[o],e.scale,n,r)}let tb=["x","scaleX","originX"],tI=["y","scaleY","originY"];function tF(t,e,i,s){tU(t.x,e,tb,i?i.x:void 0,s?s.x:void 0),tU(t.y,e,tI,i?i.y:void 0,s?s.y:void 0)}function tO(t){return 0===t.translate&&1===t.scale}function tW(t){return tO(t.x)&&tO(t.y)}function tG(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 tH(t,e){return tz(t.x,e.x)&&tz(t.y,e.y)}
1function tN(t){return f(t.x)/f(t.y)}function t$(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class tq{constructor(){this.members=[]}add(t){(0,tv.Kq)(this.members,t),t.scheduleRender()}remove(t){if((0,tv.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)}}relegate(t){let e;let i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:s}=t.options;!1===s&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var tX=i(71901),tQ=i(46748);let tY={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},tZ=["","X","Y","Z"],tK=0;function t_(t,e,i,s){let{latestValues:o}=e;o[t]&&(i[t]=o[t],e.setStaticValue(t,0),s&&(s[t]=0))}function tJ({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:o}){return class{constructor(t={},i=e?.()){this.id=tK++,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,ta.Q.value&&(tY.nodes=tY.calculatedTargetDeltas=tY.calculatedProjections=0),this.nodes.forEach(t2),this.nodes.forEach(t9),this.nodes.forEach(et),this.nodes.forEach(t5),ta.Q.addProjectionMetrics&&ta.Q.addProjectionMetrics(tY)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new tx)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tm.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=th(e)&&!(th(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:s,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),t){let i;let s=0,o=()=>this.root.updateBlockedByResize=!1;u.Gt.read(()=>{s=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==s&&(s=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=td.k.now(),s=({timestamp:e})=>{let o=e-i;o>=250&&((0,u.WG)(s),t(o-250))};return u.Gt.setup(s,!0),()=>(0,u.WG)(s)}(o,250),ts.hasAnimatedSinceResize&&(ts.hasAnimatedSinceResize=!1,this.nodes.forEach(t4)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||o.getDefaultTransition()||er,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!tH(this.targetLayout,s),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...(0,tu.r)(n,"layout"),onPlay:r,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h)}else e||t4(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}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,u.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
1h(ee),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let s=(0,tg.P)(i);if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",u.Gt,!(t||i))}let{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&t(o)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(t3);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(t7);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(t8),this.nodes.forEach(t0),this.nodes.forEach(t1)):this.nodes.forEach(t7),this.clearAllSnapshots();let t=td.k.now();u.uv.delta=(0,W.q)(0,1e3/60,t-u.uv.timestamp),u.uv.timestamp=t,u.uv.isProcessing=!0,u.PP.update.process(u.uv),u.PP.preRender.process(u.uv),u.PP.render.process(u.uv),u.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,_.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(t6),this.sharedNodes.forEach(ei)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,u.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){u.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),!this.snapshot||f(this.snapshot.measuredBox.x)||f(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,A.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=s(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!o)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!tW(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||(0,tQ.HD)(this.latestValues)||n)&&(o(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),s=this.removeElementScroll(i);return t&&(s=this.removeTransform(s)),eh((e=s).x),eh(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return(0,A.ge)();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ed))){let{scroll:t}=this.root;t&&((0,tB.Ql)(e.x,t.offset.x),(0,tB.Ql)(e.y,t.offset.y))}return e}removeElementScroll(t){let e=(0,A.ge)();if(tM(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:o,options:n}=s;s!==this.root&&o&&n.layoutScroll&&(o.wasRoot&&tM(e,t),(0,tB.Ql)(e.x,o.offset.x),(0,tB.Ql)(e.y,o.offset.y))}return e}applyTransform(t,e=!1){let i=(0,A.ge)();tM(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,tB.Ww)(i,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),(0,tQ.HD)(s.latestValues)&&(0,tB.Ww)(i,s.latestValues)}return(0,tQ.HD)(this.latestValues)&&(0,tB.Ww)(i,this.latestValues),i}removeTransform(t){let e=(0,A.ge)();tM(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!(0,tQ.HD)(i.latestValues))continue;(0,tQ.vk)(i.latestValues)&&i.updateSnapshot();let s=(0,A.ge)();tM(s,i.measurePageBox()),tF(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,s)}return(0,tQ.HD)(this.latestValues)&&tF(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!==u.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:o}=this.options;if(!this.layout||!(s||o))return;this.resolvedRelativeTargetAt=u.uv.timestamp;let n=this.getClosestProjectingParent();if(n&&this.linkedParentVersion!==n.layoutVersion&&!n.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(n&&n.layout?this.createRelativeTarget(n,this.layout.layoutBox,n.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,A.ge)(),this.targetWithTransforms=(0,A.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var r,a,l;this.forceRelativeParentToResolveTarget(),r=this.target,a=this.relativeTarget,l=this.relativeParent.target,k(r.x,a.x,l.x),k(r.y,a.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):tM(this.target,this.layout.layoutBox),(0,tB.o4)(this.target,this.targetDelta)):tM(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,n&&!!n.resumingFrom==!!this.resumingFrom&&!n.options.layoutScroll&&n.target&&1!==this.animationProgress?this.createRelativeTarget(n,this.target,n.target):this.relativeParent=this.relativeTarget=void 0),ta.Q.value&&tY.calculatedTargetDeltas++}}getClosestProjectingParent(){return!this.parent||(0,tQ.vk)(this.parent.latestValues)||(0,tQ.vF)(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent: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,A.ge)(),this.relativeTargetOrigin=(0,A.ge)(),D(this.relativeTargetOrigin,e,i),tM(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===u.uv.timestamp&&(i=!1),i)return;let{layout:s,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||o))return;tM(this.layoutCorrected,this.layout.layoutBox);let n=this.treeScale.x,r=this.treeScale.y;(0,tB.OU)(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,A.ge)());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(tL(this.prevProjectionDelta.x,this.projectionDelta.x),tL(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),P(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===n&&this.treeScale.y===r&&t$(this.projectionDelta.x,this.prevProjectionDelta.x)&&t$(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),ta.Q.value&&tY.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,A.xU)(),this.projectionDelta=(0,A.xU)(),this.projectionDeltaWithTransform=(0,A.xU)()}setAnimationOrigin(t,e=!1){let i;let s=this.snapshot,o=s?s.latestValues:{},n={...this.latestValues},r=(0,A.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=(0,A.ge)(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,p=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(en));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(es(r.x,t.x,s),es(r.y,t.y,s),this.setTargetDelta(r),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,m,y,g;D(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),y=this.relativeTarget,g=this.relativeTargetOrigin,eo(y.x,g.x,a.x,s),eo(y.y,g.y,a.y,s),i&&(u=this.relativeTarget,m=i,tG(u.x,m.x)&&tG(u.y,m.y))&&(this.isProjectionDirty=!1),i||(i=(0,A.ge)()),tM(i,this.relativeTarget)}l&&(this.animationValues=n,function(t,e,i,s,o,n){o?(t.opacity=(0,d.k)(0,i.opacity??1,tR(s)),t.opacityExit=(0,d.k)(e.opacity??1,0,tw(s))):n&&(t.opacity=(0,d.k)(e.opacity??1,i.opacity??1,s));for(let o=0;o<tD;o++){let n=`border${tT[o]}Radius`,r=tS(e,n),a=tS(i,n);(void 0!==r||void 0!==a)&&(r||(r=0),a||(a=0),0===r||0===a||tE(r)===tE(a)?(t[n]=Math.max((0,d.k)(tA(r),tA(a),s),0),(h.KN.test(a)||h.KN.test(r))&&(t[n]+="%")):t[n]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,d.k)(e.rotate||0,i.rotate||0,s))}(n,o,this.latestValues,s,p,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,u.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=u.Gt.update(()=>{ts.hasAnimatedSinceResize=!0,tc.q.layout++,this.motionValue||(this.motionValue=(0,tp.OQ)(0)),this.currentAnimation=function(t,e,i){let s=(0,ty.S)(t)?t:(0,tp.OQ)(t);return s.start((0,p.f)("",s,e,i)),s.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{tc.q.layout--},onComplete:()=>{tc.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:o}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&eu(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||(0,A.ge)();let e=f(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=f(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}tM(e,i),(0,tB.Ww)(e,o),P(this.projectionDeltaWithTransform,this.layoutCorrected,e,o)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new tq),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(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let s=this.getStack();s&&s.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let s={};i.z&&t_("z",t,s,this.animationValues);for(let e=0;e<tZ.length;e++)t_(`rotate${tZ[e]}`,t,s,this.animationValues),t_(`skew${tZ[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,tP.u)(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,tP.u)(e?.pointerEvents)||""),this.hasProjected&&!(0,tQ.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let o=s.animationValues||s.latestValues;this.applyTransformsToTarget();let n=function(t,e,i){let s="",o=t.x.translate/e.x,n=t.y.translate/e.y,r=i?.z||0;if((o||n||r)&&(s=`translate3d(${o}px, ${n}px, ${r}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:o,rotateY:n,skewX:r,skewY:a}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),o&&(s+=`rotateX(${o}deg) `),n&&(s+=`rotateY(${n}deg) `),r&&(s+=`skewX(${r}deg) `),a&&(s+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(s+=`scale(${a}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,o);i&&(n=i(o,n)),t.transform=n;let{x:r,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*r.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,tX.H){if(void 0===o[e])continue;let{correct:i,applyTo:r,isCSSVariable:a}=tX.H[e],l="none"===n?o[e]:i(o[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,tP.u)(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(t3),this.root.sharedNodes.clear()}}}function t0(t){t.updateLayout()}function t1(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=t.layout,{animationType:o}=t.options,n=e.source!==t.layout.source;"size"===o?E(t=>{let s=n?e.measuredBox[t]:e.layoutBox[t],o=f(s);s.min=i[t].min,s.max=s.min+o}):eu(o,e.layoutBox,i)&&E(s=>{let o=n?e.measuredBox[s]:e.layoutBox[s],r=f(i[s]);o.max=o.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+r)});let r=(0,A.xU)();P(r,i,e.layoutBox);let a=(0,A.xU)();n?P(a,t.applyTransform(s,!0),e.measuredBox):P(a,i,e.layoutBox);let l=!tW(r),h=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:o,layout:n}=s;if(o&&n){let r=(0,A.ge)();D(r,e.layoutBox,o.layoutBox);let a=(0,A.ge)();D(a,i,n.layoutBox),tH(r,a)||(h=!0),s.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=r,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,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 t2(t){ta.Q.value&&tY.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 t5(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function t6(t){t.clearSnapshot()}function t3(t){t.clearMeasurements()}function t7(t){t.isLayoutDirty=!1}function t8(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function t4(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function t9(t){t.resolveTargetDelta()}function et(t){t.calcProjection()}function ee(t){t.resetSkewAndRotation()}function ei(t){t.removeLeadSnapshot()}function es(t,e,i){t.translate=(0,d.k)(e.translate,0,i),t.scale=(0,d.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function eo(t,e,i,s){t.min=(0,d.k)(e.min,i.min,s),t.max=(0,d.k)(e.max,i.max,s)}function en(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let er={duration:.45,ease:[.4,0,.1,1]},ea=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),el=ea("applewebkit/")&&!ea("chrome/")?Math.round:a.l;function eh(t){t.min=el(t.min),t.max=el(t.max)}function eu(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(tN(e)-tN(i)))}function ed(t){return t!==t.root&&t.scroll?.wasRoot}let ec=tJ({attachResizeListener:(t,e)=>(0,m.k)(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ep={current:void 0},em=tJ({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!ep.current){let t=new ec({});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});var ey=i(19319);let eg={...n.W,...ey.n,pan:{Feature:Z},drag:{Feature:Q,ProjectionNode:em,MeasureLayout:tr},layout:{ProjectionNode:em,MeasureLayout:tr}},ev=(0,o.H)(eg,s.J)},35968:(t,e,i)=>{"use strict";i.d(e,{Wx:()=>h});var s=i(3660),o=Object.defineProperty,n=new Map,r=new WeakMap,a=0,l=void 0;function h({threshold:t,delay:e,trackVisibility:i,rootMargin:o,root:u,triggerOnce:d,skip:c,initialInView:p,fallbackInView:m,onChange:y}={}){var g;let[v,f]=s.useState(null),x=s.useRef(y),[P,k]=s.useState({inView:!!p,entry:void 0});x.current=y,s.useEffect(()=>{let s;if(!c&&v)return s=function(t,e,i={},s=l){if(void 0===window.IntersectionObserver&&void 0!==s){let o=t.getBoundingClientRect();return e(s,{isIntersecting:s,target:t,intersectionRatio:"number"==typeof i.threshold?i.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}let{id:o,observer:h,elements:u}=function(t){let e=Object.keys(t).sort().filter(e=>void 0!==t[e]).map(e=>{var i;return`${e}_${"root"===e?(i=t.root)?(r.has(i)||(a+=1,r.set(i,a.toString())),r.get(i)):"0":t[e]}`}).toString(),i=n.get(e);if(!i){let s;let o=new Map,r=new IntersectionObserver(e=>{e.forEach(e=>{var i;let n=e.isIntersecting&&s.some(t=>e.intersectionRatio>=t);t.trackVisibility&&void 0===e.isVisible&&(e.isVisible=n),null==(i=o.get(e.target))||i.forEach(t=>{t(n,e)})})},t);s=r.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),i={id:e,observer:r,elements:o},n.set(e,i)}return i}(i),d=u.get(t)||[];return u.has(t)||u.set(t,d),d.push(e),h.observe(t),function(){d.splice(d.indexOf(e),1),0===d.length&&(u.delete(t),h.unobserve(t)),0===u.size&&(h.disconnect(),n.delete(o))}}(v,(t,e)=>{k({inView:t,entry:e}),x.current&&x.current(t,e),e.isIntersecting&&d&&s&&(s(),s=void 0)},{root:u,rootMargin:o,threshold:t,trackVisibility:i,delay:e},m),()=>{s&&s()}},[Array.isArray(t)?t.toString():t,v,u,o,d,c,i,m,e]);let T=null==(g=P.entry)?void 0:g.target,D=s.useRef(void 0);v||!T||d||c||D.current===T||(D.current=T,k({inView:!!p,entry:void 0}));let A=[f,P.inView,P.entry];return A.ref=A[0],A.inView=A[1],A.entry=A[2],A}s.Component}}]);

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.