1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[52165],{52165:function(e,t,l){l.r(t);var a=l(85893),n=l(45697),o=l.n(n),i=l(5152),r=l.n(i),d=l(19521),u=l(93610),s=l(53418),v=l(49205),b=l(67294),h=l(23202),m=l(35611);let p=r()(()=>Promise.all([l.e(85115),l.e(54720),l.e(4514),l.e(68546)]).then(l.bind(l,68546)).then(e=>e.GlobalHeader),{loadableGenerated:{webpack:()=>[68546]}}),c=e=>{var t,l;let{model:n,alternates:o,...i}=e,r=(0,d.useTheme)(),m=(0,b.useContext)(h.z),{updateComponentState:c}=(0,v.j1)();o||(o=m.alternates);let{colorTheme:f,id:g,isSticky:C,variant:T}=n,_=(0,u.getColorTheme)(r,f),j=[(null===(t=m.headerButtons)||void 0===t?void 0:t.button1)||n.button1,(null===(l=m.headerButtons)||void 0===l?void 0:l.button2)||n.button2].filter(e=>!!e),w={...(0,s.Mw)("GlobalHeader"),...i,alternates:o,ctaOverride:j.length>0&&j.map(e=>k(e,c,null==m?void 0:m.path)),id:g,themeOverride:_,variant:"minimal"===T?"simple":"main",isSticky:C};return(0,a.jsx)(p,{...w})};c.propTypes={model:o().shape({button1:o().object,button2:o().object,colorTheme:o().oneOf(["light","lightAlt","dark"]),id:o().string,variant:o().oneOf(["default","minimal"])}).isRequired},t.default=c;let k=(e,t,l)=>{var a,n;let o=e.buttonLink.url,i=null==o?void 0:o.startsWith("#modal."),r=i?o.replace("#modal.",""):e.modalId,d=i?(0,m.Rh)(r,l):void 0;return{title:e.text,url:d||o,modalId:r,onClick:t&&r?e=>{d&&(null==e||e.preventDefault()),t("modal",r,{isVisible:!0})}:null,"data-type":e["data-type"]||null,variant:e.variant,isExternal:(null===(n=e.buttonLink)||void 0===n?void 0:null===(a=n.attributes)||void 0===a?void 0:a.target)==="_blank"}}}}]);
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.