1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[63582],{63582:(t,o,e)=>{e.r(o),e.d(o,{default:()=>a});var n=e(95155),l=e(12115);function r(){return window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth"}function s(t){let{direction:o}=t;return(0,n.jsxs)("svg",{className:"ans-scroll-shortcuts__icon",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",focusable:"false",children:[(0,n.jsx)("path",{d:"M12 5v14",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round"}),(0,n.jsx)("path",{d:"up"===o?"m5 12 7-7 7 7":"m5 12 7 7 7-7",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function a(t){let{mobileOffset:o="default",tone:e="light"}=t,[a,c]=(0,l.useState)({atTop:!0,canScrollDown:!1,canScrollUp:!1});if((0,l.useEffect)(()=>{let t=0,o=()=>{let o;t=0,c((o=Math.max(document.documentElement.scrollHeight-window.innerHeight,0),{atTop:window.scrollY<48,canScrollUp:window.scrollY>72,canScrollDown:window.scrollY<o-72}))},e=()=>{0===t&&(t=window.requestAnimationFrame(o))};return o(),window.addEventListener("scroll",e,{passive:!0}),window.addEventListener("resize",e,{passive:!0}),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e),0!==t&&window.cancelAnimationFrame(t)}},[]),!a.canScrollUp&&!a.canScrollDown)return null;let i=a.canScrollUp,d=a.canScrollDown;return(0,n.jsxs)("div",{className:"ans-scroll-shortcuts","data-ans-mobile-offset":o,"data-ans-at-top":a.atTop?"true":"false","data-ans-tone":e,"aria-label":"Scroll shortcuts",children:[i?(0,n.jsx)("button",{type:"button",className:"ans-scroll-shortcuts__button ans-scroll-shortcuts__button--top",onClick:()=>{window.scrollTo({top:0,behavior:r()})},"aria-label":"Back to top",children:(0,n.jsx)(s,{direction:"up"})}):null,d?(0,n.jsx)("button",{type:"button",className:"ans-scroll-shortcuts__button ans-scroll-shortcuts__button--end",onClick:()=>{let t=window.scrollY,o=Array.from(document.querySelectorAll("main section[id], main section")).find(t=>t.getBoundingClientRect().top>96),e=o?t+o.getBoundingClientRect().top-24:document.documentElement.scrollHeight;window.scrollTo({top:Math.max(e,0),behavior:r()})},"aria-label":"Jump to next section",children:(0,n.jsx)(s,{direction:"down"})}):null]})}}}]);
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.