1import{ai as m,j as g,r as o,i as r,aC as v,c as h,aD as p,w as A}from"./entry.kc5avEVQ.js";const b=function(e=null,n=!1){if(!e){const a=g();e=a.$store,n=a.$isExternalEmbedded}return m("alert bar",()=>{const a=o(null),u=o(!1),l=r(()=>e.getters["configuration/alert/getAlert"]),s=r(()=>e.getters["user/index/disabledAlert"]),c=r(()=>e.getters["configuration/theme/theme"]),{height:d}=v(a),i=r(()=>`${d.value}px`),f=r(()=>!u.value||n?!1:(c.value.alert?.variant??"default")==="fallback"?!0:l.value&&s.value!==`${l.value.id}.${l.value.updatedAt}`);return h(()=>{const t=p("alert").value;t&&t!==s.value&&e.dispatch("user/index/disableAlert",String(t)),u.value=!0}),A(i,t=>{document.documentElement.style.setProperty("--alert-bar-height-for-external-override-use",t)},{immediate:!0}),{alert:l,alertElement:a,alertElementHeight:i,showAlert:f}})};export{b as u};
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.