1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9513],{27409:()=>{},29513:(e,t,n)=>{"use strict";n.r(t),n.d(t,{NotificationBanner:()=>c});var r=n(95155),o=n(19749),i=n(12115);n(27409);let s=e=>{let t,n=(0,o.c)(3),{status:i}=e;if("critical"===i){let e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,r.jsx)("path",{d:"M12 2 1 21h22L12 2Z",stroke:"currentColor",strokeWidth:"2",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M12 9v5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M12 17h.01",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round"})]}),n[0]=e):e=n[0],e}if("warning"===i){let e;return n[1]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),(0,r.jsx)("path",{d:"M12 8v4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M12 16h.01",stroke:"currentColor",strokeWidth:"2.4",strokeLinecap:"round"})]}),n[1]=e):e=n[1],e}return n[2]===Symbol.for("react.memo_cache_sentinel")?(t=(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),(0,r.jsx)("path",{d:"m8.5 12.5 2.3 2.3 4.7-5.1",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}),n[2]=t):t=n[2],t},l="--notification-height",c=e=>{let{items:t}=e,n=(null!=t?t:[]).filter(e=>!!((null==e?void 0:e.enabled)&&(null==e?void 0:e.text))),[o,c]=(0,i.useState)(null),a=(0,i.useRef)(null);return((0,i.useEffect)(()=>{if(0===n.length)return void document.documentElement.style.setProperty(l,"0px");let e=document.querySelector(".header-shell"),t=()=>{let t=null==e?void 0:e.getBoundingClientRect();c(t?t.bottom+16:96)};t();let r=e?new ResizeObserver(t):null;null==r||r.observe(e);let o=new MutationObserver(t);return o.observe(document.documentElement,{attributes:!0,attributeFilter:["style"]}),window.addEventListener("resize",t),()=>{null==r||r.disconnect(),o.disconnect(),window.removeEventListener("resize",t),document.documentElement.style.setProperty(l,"0px")}},[n.length]),(0,i.useEffect)(()=>{let e=a.current;if(!e||0===n.length||null===o)return;let t=()=>{document.documentElement.style.setProperty(l,"".concat(e.offsetHeight+16,"px"))};t();let r=new ResizeObserver(t);return r.observe(e),()=>r.disconnect()},[n.length,o]),0===n.length||null===o)?null:(0,r.jsx)("div",{ref:a,className:"notification-banner-stack",style:{to
1p:"".concat(o,"px")},children:n.map((e,t)=>{var n;return(0,r.jsxs)("div",{className:"notification-banner notification-banner--".concat(e.status),role:"alert",children:[(0,r.jsx)("span",{className:"notification-banner-icon",children:(0,r.jsx)(s,{status:e.status})}),(0,r.jsx)("span",{className:"notification-banner-text",children:e.text})]},null!=(n=e.id)?n:t)})})}}}]);
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.