1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bd548cdc-59f0-5c5b-b3df-79c8a3848c82")}catch(e){}}(); 3import{ba as l,c as f,ka as h}from"/build/_shared/chunk-IZAJ4USX.js";import{b as g}from"/build/_shared/chunk-S6YNIAQM.js";import{a as b,b as p}from"/build/_shared/chunk-RNXME2XQ.js";import{d as m}from"/build/_shared/chunk-MOBXQPLJ.js";var o=m(b());var t=m(p()),A=320,R=({leftAction:n,rightAction:c,leftDisabled:i=!1,rightDisabled:a=!1,large:r=!1,children:s})=>(0,t.jsxs)("div",{className:"carousel-navigation",children:[(0,t.jsx)(l,{action:n,disabled:i,className:r?"nav-large":"",children:(0,t.jsx)(f,{style:{transform:"rotate(180deg)"}})}),s,(0,t.jsx)(l,{action:c,disabled:a,className:r?"nav-large":"",children:(0,t.jsx)(f,{})})]}),w=({title:n,articles:c})=>{let i=(0,o.useRef)(null),[a,r]=(0,o.useState)(0),[s,u]=(0,o.useState)(0),{getArticle:v}=h();(0,o.useEffect)(()=>{let e=()=>{if(i.current){let{width:N}=i.current.getBoundingClientRect();r(Math.floor(N/A))}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let d=c.map(e=>v(e)).filter(Boolean);return(0,t.jsxs)("div",{className:"carousel rounded",ref:i,children:[(0,t.jsxs)("div",{className:"carousel-header",children:[(0,t.jsx)("h2",{children:n}),(0,t.jsx)(R,{leftAction:()=>u(e=>Math.max(e-a,0)),rightAction:()=>u(e=>Math.min(e+a,d.length)),leftDisabled:s===0,rightDisabled:s+a>=d.length})]}),(0,t.jsx)("div",{className:"flex-container items",children:d.slice(s,s+a).map(e=>e?(0,t.jsxs)(l,{className:"carousel-item",action:g(e),children:[(0,t.jsx)("p",{className:"default-bold teal-500",children:e.title}),(0,t.jsxs)("p",{className:"small grey",children:[e.ttr||1," min read"]})]},e.pageid):null)})]})},x=w;export{R as a,x as b}; 4//# sourceMappingURL=/build/_shared/chunk-2WE7N4TF.js.map 5 6//# debugId=bd548cdc-59f0-5c5b-b3df-79c8a3848c82
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.