"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[49842],{49842:(t,n,e)=>{e.d(n,{A:()=>b});var r=e(81631),i=e(14232),a=e(80782),o=e.n(a),l=e(50044),s=e(67906),u=e(52929),c=e(93974),d=e(24054);let f={timer:null,startTime:null,raf:null,percentage:0,duration:1e3,targetY:null,callback:null,easing:{outQuint:function(t,n,e,r,i){return r*((n=n/i-1)*n*n*n*n+1)+e}},stop:function(){window.cancelAnimationFrame(this.raf)},scrollTo:function(t,n,e){var r=document.getElementById(t).getBoundingClientRect();this.callback=e,this.targetY=r.top-(n||0),this.startTime=performance.now(),this.percentage=0,this.initialPosition=window.scrollY,this.raf&&this.stop(),this.raf=window.requestAnimationFrame(this.step.bind(this))},step:function(t){var n=t-this.startTime,e=n/this.duration;if(n>this.duration&&this.stop(),e>1)this.stop(),this.callback&&this.callback();else{var r=this.easing.outQuint(0,n,this.initialPosition,this.targetY,this.duration);window.scrollTo(0,r),window.requestAnimationFrame(this.step.bind(this))}}};var h=e(54935),g=e.n(h),p=e(92522),m=e(50588),v=e(18153);function w(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);etypeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return w(t,void 0);var e=({}).toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?w(t,void 0):void 0}}(t))){e&&(t=e);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,l=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return o=t.done,t},e:function(t){l=!0,a=t},f:function(){try{o||null==e.return||e.return()}finally{if(l)throw a}}}}(t.map(function(t){return{top:t.getBoundingClientRect().top,id:t.id}}).sort(function(t,n){return n.top-t.top}));try{for(e.s();!(n=e.n()).done;){var r=n.value;if(r.top<=80)return r.id}}catch(t){e.e(t)}finally{e.f()}return null}(t);n!==E&&k(n)},100);return window.addEventListener("scroll",n),function(){window.removeEventListener("scroll",n)}},[e]);var S=(0,l.Ay)().isDesktop,N=(0,i.useState)(null),_=N[0],I=N[1],T=(0,i.useCallback)(function(t){window&&null!==t&&I(t.getBoundingClientRect().width)},[]),x=(0,i.useState)(null),Y=x[0],G=x[1],L=(0,i.useCallback)(function(t){window&&null!==t&&G(t.getBoundingClientRect())},[]),q=!(g()(_)||g()(Y))&&Y.width>_;return(0,v.FD)(c.Q9,{ref:T,children:[(0,v.Y)("span",{css:(0,d.Gg)("caps-small"),children:n}),(0,v.Y)(c.iN,{children:Object.keys(e).map(function(t){return(0,v.Y)("li",{children:(0,v.FD)(c.Fs,{href:"#"+t,active:t===E,onClick:function(n){f.scrollTo(t,70),n.preventDefault()},children:[(0,v.Y)(c.tT,{active:t===E}),e[t]]})},t)})}),S&&r&&a&&s&&u&&h&&(0,v.Y)(c.eG,{children:(0,v.FD)(p.A.Provider,{value:!0,children:[(0,v.Y)(A,{ref:L,height:(null==Y?void 0:Y.height)||0,href:s,text:a,shouldWrap:q,size:"regular",isButton:!0}),(0,v.Y)(c.oY,{children:C["resources.sidebar_ctas_divider"]}),(0,v.Y)(A,{ref:L,height:(null==Y?void 0:Y.height)||0,href:h,text:u,shouldWrap:q,variant:"linkWithArrow",size:"regular",css:y})]})})]})};var A=(0,r.A)(s.default,{target:"e93gm420"})("white-space:",function(t){return t.shouldWrap?"normal":"nowrap"},";",(0,d.Gg)("p2")," ",(0,u.mq)(u.EA.DESKTOP_1440),"{",function(t){var n=t.shouldWrap,e=t.height;return n&&"\n display: flex;\n justify-content: center;\n align-items: center;\n white-space: normal;\n padding: 0 24px;\n height: ".concat(e,"px;\n ")},";}")},93974:(t,n,e)=>{e.d(n,{Fs:()=>f,Q9:()=>c,eG:()=>g,iN:()=>d,oY:()=>p,tT:()=>h});var r=e(81631),i=e(88994),a=e(24054),o=e(43516),l=e(52929),s=e(86184),u=e(70975),c=(0,r.A)("nav",{target:"e5kwoqa5"})("grid-column:1/4;grid-row:span 3;position:sticky;top:",o.E.SPACING_128,";margin-bottom:",o.E.SPACING_64,";align-self:flex-start;display:none;margin-top:",o.E.SPACING_4,";",(0,l.mq)(l.EA.TABLET_768),"{display:block;}",(0,l.mq)(l.EA.DESKTOP_1440),"{grid-column:1/3;}"),d=(0,r.A)("ol",{target:"e5kwoqa4"})({name:"1hcx8jb",styles:"padding:0"}),f=(0,r.A)("a",{target:"e5kwoqa3"})((0,a.Gg)("p3")," display:inline-block;margin-bottom:",o.E.SPACING_24,";color:",function(t){return t.active?u.Nu.LINKS.LINK_HOVER:i.l.NEUTRAL_8},";text-decoration:",function(t){return t.active?"none":"underline"},";:hover{text-decoration:underline;color:",u.Nu.LINKS.LINK_HOVER,";border-bottom:none;}"),h=(0,r.A)(s.sN,{target:"e5kwoqa2"})("position:absolute;left:-",o.E.SPACING_16,";top:",o.E.SPACING_4,";width:12px;height:12px;transition:opacity 200ms linear,transform 300ms cubic-bezier(0.65, 0.05, 0.36, 1);opacity:",function(t){return t.active?"1":"0"},";transform:translateX(",function(t){return t.active?"":"-10px"},");path{fill:",u.Nu.LINKS.LINK_HOVER,";}"),g=(0,r.A)("div",{target:"e5kwoqa1"})("display:grid;grid-auto-flow:row;align-items:center;justify-content:start;gap:",o.E.SPACING_4,";",(0,l.mq)(l.EA.TABLET_960),"{a:first-of-type{margin-left:auto;margin-right:auto;}}"),p=(0,r.A)("span",{target:"e5kwoqa0"})("margin-left:auto;margin-right:auto;",(0,a.Gg)("p3"),";")}}]);