PageSourceSearch

https://www.blackrock.com/_astro/masthead-Wtp4eMhL.js

js blackrock.com collected 2026-09-24 07:32:08 UTC 5,216 bytes, 1 lines download raw bytes

1import{j as a}from"./jsx-runtime-BgjmLhhW.js";import{r as o}from"./index-BqkNX_XC.js";import{n as _}from"./isSsr-CKRBkAvO-CXwf3Nhs.js";const f=(e,i)=>{var s;if(_())return;let t;t=window;const[d,n]=o.useState(((s=t?.matchMedia(e))==null?void 0:s.matches)||!1);return o.useEffect(()=>{const l=t?.matchMedia(e),h=c=>{n(c.matches)};return l?.addEventListener("change",h),()=>{l?.removeEventListener("change",h)}},[]),d},m=e=>e==="_blank"?"noreferrer":void 0,x=()=>a.jsxs("svg",{className:"svg-beta",width:"37",height:"16",viewBox:"0 0 37 16",fill:"none","aria-hidden":!0,focusable:"false",children:[a.jsx("rect",{y:"1",width:"37",height:"14",fill:"#EF6CE5"}),a.jsx("path",{d:"M3.924 12H7.961C9.677 12 10.546 11.252 10.546 9.778C10.546 8.975 10.216 8.205 9.391 7.963C9.996 7.677 10.37 7.094 10.37 6.379C10.37 5.158 9.655 4.3 8.071 4.3H3.924L3.924 12ZM7.521 5.917C7.95 5.917 8.225 6.192 8.225 6.654C8.225 7.061 7.994 7.38 7.499 7.38H6.069V5.917H7.521ZM7.653 8.931C8.148 8.931 8.379 9.228 8.379 9.657C8.379 10.13 8.126 10.416 7.587 10.416H6.069V8.931H7.653ZM11.8517 12L18.0447 12V10.284L14.0187 10.284V8.975H17.3847V7.248H14.0187V6.005H17.9347V4.3H11.8517V12ZM18.7197 4.3V6.17H20.9967V12H23.2077V6.17L25.4847 6.17V4.3L18.7197 4.3ZM28.9163 6.478L29.7743 9.316H28.0583L28.9163 6.478ZM30.5773 12H32.8433L30.2803 4.3H27.6293L25.0663 12H27.2663L27.5743 10.966H30.2583L30.5773 12Z",fill:"black"})]}),g=()=>a.jsx("svg",{className:"aldh-masthead__chevron aldh-masthead__chevron--desktop",viewBox:"0 0 24 24",width:"1em",height:"1em",fill:"currentColor","aria-hidden":!0,focusable:"false",children:a.jsx("path",{d:"M7 10l5 5 5-5z"})}),j=()=>a.jsx("svg",{className:"aldh-masthead__chevron aldh-masthead__chevron--mobile",viewBox:"0 0 24 24",width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,focusable:"false",children:a.jsx("polyline",{points:"6 9 12 15 18 9"})}),p=()=>a.jsx("svg",{className:"aldh-masthead__hamburger-icon",viewBox:"0 0 24 24",width:"24",height:"24",fill:"currentColor","aria-hidden":!0,focusable:"false",children:a.jsx("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"})}),b=()=>a.jsx("svg",{className:"aldh-masthead__close-icon",viewBox:"0 0 24 24",width:"24",height:"24",fill:"currentColor","aria-hidden":!0,focusable:"false",children:a.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})}),v=({item:e})=>{var i;const s=(i=e.iconClass)==null?void 0:i.trim();return s&&s!=="svg-beta"&&s!=="NONE"?a.jsx("i",{className:s,"aria-hidden":"true"}):!s&&e.icon?a.jsx("img",{className:"aldh-masthead__icon",src:e.icon,alt:e.iconAlt??"","aria-hidden":e.iconAlt?void 0:!0}):null},N=({link:e,isMobile:i=!1})=>{var s,t;const[d,n]=o.useState(!1),l=!!((s=e.children)!=null&&s.length),h=`aldh-masthead-dropdown-${e.id}`,c=r=>{i&&l&&(r.preventDefault(),n(!d))};return a.jsxs("li",{className:`aldh-masthead__item${l?" aldh-masthead__item--has-children":""}${d?" is-open":""}`,onMouseEnter:()=>!i&&l&&n(!0),onMouseLeave:()=>!i&&l&&n(!1),children:[a.jsxs("a",{href:e.url,target:e.target??"_self",rel:m(e.target),"aria-label":e.ariaLabel??e.title,className:"aldh-masthead__link","aria-haspopup":l||void 0,"aria-expanded":l?d:void 0,"aria-controls":l?h:void 0,onClick:c,children:[a.jsx(v,{item:e}),a.jsx("span",{className:"aldh-masthead__title",children:e.title}),((t=e.iconClass)==null?void 0:t.trim())==="svg-beta"&&a.jsx(x,{}),l&&a.jsxs(a.Fragment,{children:[a.jsx(g,{}),a.jsx(j,{})]})]}),l&&a.jsx("ul",{id:h,className:"aldh-masthead__dropdown","aria-hidden":!d,children:e.children.map(r=>{var u;return a.jsx("li",{className:"aldh-masthead__child-item",children:a.jsxs("a",{href:r.url,target:r.target??"_self",rel:m(r.target),"aria-label":r.ariaLabel??r.title,className:"aldh-masthead__child-link",children:[a.jsx(v,{item:r}),a.jsx("span",{className:"aldh-masthead__child-title",children:r.title}),((u=r.iconClass)==null?void 0:u.trim())==="svg-beta"&&a.jsx(x,{})]})},r.id)})})]})},H=({logo:e})=>{const i=`aldh-masthead__logo${e.url?" aldh-masthead__logo--link":""}`,s=e.src?a.jsx("img",{className:"aldh-masthead__logo-img",src:e.src,alt:e.alt}):a.jsx("span",{className:"aldh-masthead__logo-text",children:e.alt});return e.url?a.jsx("a",{href:e.url,target:e.target??"_self",rel:m(e.target),className:i,"aria-label":e.alt,children:s}):a.jsx("div",{className:i,children:s})},M=({links:e,logo:i,ariaLabel:s="Aladdin Hub Masthead"})=>
1{const[t,d]=o.useState(!1),n=f("(max-width: 1023px)");return o.useEffect(()=>{const{body:l}=document,h=l.style.overflow;return t&&(l.style.overflow="hidden"),()=>{l.style.overflow=h}},[t]),a.jsxs(a.Fragment,{children:[a.jsxs("nav",{"data-brand":"aladdin-hub","aria-label":s,className:`aldh-masthead${t?" aldh-masthead--menu-open":""}`,children:[a.jsx("button",{className:"aldh-masthead__hamburger","aria-label":"Toggle menu","aria-expanded":t,onClick:()=>d(!t),children:t?a.jsx(b,{}):a.jsx(p,{})}),i&&a.jsx(H,{logo:i}),a.jsx("ul",{className:"aldh-masthead__list",children:e.map(l=>a.jsx(N,{link:l,isMobile:n},l.id))})]}),t&&a.jsx("div",{className:"aldh-masthead__overlay",onClick:()=>d(!1),"aria-hidden":"true"})]})};export{M as default};

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.