1import{K as b}from"./chunk-XO5N3QWO.js";import{Dd as x,Nb as u,Pb as p,Wc as v,Yb as d,Zb as l,ha as c,ib as r,jc as f,ma as m,tc as i,wc as g,yc as C,zb as s}from"./chunk-PLFNQRAH.js";function w(n,_){if(n&1&&(d(0,"div",1)(1,"p"),g(2),l()()),n&2){let e=f();i("background-color",e.announcement().background_color),r(),i("color",e.announcement().text_color),r(),C(" ",e.announcement().message," ")}}var k=(()=>{class n{announcement=v(null);static \u0275fac=function(t){return new(t||n)};static \u0275cmp=s({type:n,selectors:[["announcement-bar"]],inputs:{announcement:[1,"announcement"]},decls:1,vars:1,consts:[[1,"announcement-bar-wrapper",3,"background-color"],[1,"announcement-bar-wrapper"]],template:function(t,a){if(t&1&&u(0,w,3,5,"div",0),t&2){let o;p((o=a.announcement())!=null&&o.message?0:-1)}},dependencies:[x],styles:[".announcement-bar-wrapper[_ngcontent-%COMP%]{padding:12px;width:100%;text-align:center;background-color:var(--ThemeColor);max-width:1500px;margin:auto}.announcement-bar-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.875rem;color:#fff}@media (min-width: 275px) and (max-width: 767px){.announcement-bar-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:.75rem}}"],changeDetection:0})}return n})();var I=(()=>{class n{storeConfigurationRepositoryService=m(b);getAnnouncement(e){return this.storeConfigurationRepositoryService.storeConfigurations()?.announcements?.find(o=>o.page.includes(e))??null}getBadges(){return this.storeConfigurationRepositoryService.storeConfigurations()?.badges||[]}static \u0275fac=function(t){return new(t||n)};static \u0275prov=c({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();export{k as a,I as b};
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.