1import{c as E}from"./chunk-L7T3VYHM.js";import{a as g}from"./chunk-SHD7ZT4O.js";import{a as c}from"./chunk-TPDW35KC.js";import{R as a,Z as m,ba as v,mf as S,na as u,nf as p,p as l,sa as f,td as b,v as s,va as o}from"./chunk-ZIECK5QA.js";var j=(()=>{let r=class r{constructor(e){this.occEndpoints=e}resolveEndpointUrl(e,t){let h=!c.bffBaseUrl?.includes("localhost"),d=c.bffPrefix,i=this.occEndpoints.buildUrl(e,t,{baseUrl:h,prefix:!1,baseSite:!0});return i=S(d,i),c.bffBaseUrl&&(i=c.bffBaseUrl.replace(/\/$/,"")+(i.startsWith("/")?i:`/${i}`)),i}};r.\u0275fac=function(t){return new(t||r)(o(p))},r.\u0275prov=f({token:r,factory:r.\u0275fac,providedIn:"root"});let n=r;return n})();var w=(()=>{let r=class r{constructor(e,t,h,d){this.cmsService=e,this.http=t,this.occEndpointsService=h,this.bffEndpointsService=d,this.header$=this.cmsService.getContentSlot("contentStack").pipe(s(i=>{if("header"in i)return i?.header}),a(1)),this.headerExists=null}hasContentStackHeader(){return this.header$.pipe(s(e=>!!e))}setHeader(e){this.header$=l(e),this.headerExists=e}getHeaderComponentInfo(e){return this.header$.pipe(u(t=>t&&t[e]?E(t,[e]):null),m(t=>t!==null),a(1))}getBlueCategoriesList(){return this.header$.pipe(v("shop_menu"),s(e=>e&&e?.shop_menu_category_navigation&&e?.shop_menu_category_navigation?.length>=1?e:null),a(1))}loadCSHeader(){return this.headerExists?l(void 0):this.fetchCSHeader().pipe(s(()=>{}))}fetchCSHeader(){let e=this.bffEndpointsService.resolveEndpointUrl("/cms/csheader");return this.http.get(e).pipe(a(1),u(t=>{t?.header&&this.setHeader(t.header)}))}};r.\u0275fac=function(t){return new(t||r)(o(g),o(b),o(p),o(j))},r.\u0275prov=f({token:r,factory:r.\u0275fac,providedIn:"root"});let n=r;return n})();export{j as a,w 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.