1import{j as r}from"./mod-04ce686a-D36Dt90E.js";import{e as p}from"./mod-7150b8be-DCi3gwYs.js";import"./mod-1bc04b52-B13Jk2YU.js";import{w as u,D as h,S as d}from"./mod-f0ebbd1b-qvMAs5dL.js";import{L as g,b as j,c as C,S as b,E as f,J as x,I as A,F as I,B,d as L,e as S,T as y,f as G,g as T,h as k,H as v,R as H,i as P,j as D,k as F,A as R,l as _,m as E,n as N,o as q,p as M,q as O,G as V,r as J,s as W,t as $}from"./mod-81fd67d0-W6cJ99qw.js";import{G as K}from"./mod-1bc04b52-B53UWLlk.js";import{a as Q}from"./mod-1bc04b52-DX-UGzSz.js";function U(t,s){if(!t.length||!s.length)return null;const o=t.filter(a=>(a.customerGroups?.customerGroups?.map(e=>e.id)??[]).some(e=>s.includes(e)));return o.length?(o.sort((a,n)=>{const e=Number.parseInt(a.customerGroups?.rank??"999",10),c=Number.parseInt(n.customerGroups?.rank??"999",10);return e-c}),o[0].contentItems??null):null}const X={"https://www.sees.com/content/content-text.json":$,"https://www.sees.com/content/content-headline.json":W,"https://www.sees.com/content/content-button.json":J,"https://www.sees.com/content/global-countdown-banner.json":V,"https://www.sees.com/content/alert-banner.json":O,"https://www.sees.com/content/global-header-banner.json":K,"https://www.sees.com/content/category-banner.json":M,"https://www.sees.com/content/feature-with-products.json":q,"https://www.sees.com/content/content-accordion.json":N,"https://www.sees.com/content/faq-with-image.json":E,"https://www.sees.com/content/alternating-text-image.json":_,"https://www.sees.com/content/alternating-text-image-list.json":R,"https://www.sees.com/content/recipe-card-list.json":F,"https://www.sees.com/content/side-bar-nav.json":Q,"https://www.sees.com/content/category-card-list.json":D,"https://www.sees.com/content/recipe-ingedient-banner.json":P,"https://www.sees.com/content/recipe.json":H,"https://www.sees.com/content/hero-banner.json":v,"https://www.sees.com/content/content-video.json":k,"https://www.sees.com/content/content-video-grid.json":T,"https://www.sees.com/content/single-in-grid-tile.json":d,"https://www.sees.com/content/double-in-grid-tile.json":h,"https://www.sees.com/content/product-carousel.json":G,"https://www.sees.com/content/thin-banner.json":y,"https://www.sees.com/content/hero-carousel.json":S,"https://www.sees.com/content/blog-card.json":L,"https://www.sees.com/content/blog-card-list.json":B,"https://www.sees.com/content/feature-cards-list.json":I,"https://www.sees.com/content/info-card-list.json":A,"https://www.sees.com/content/content-job-list.json":x,"https://www.sees.com/content/einstein-carousel.json":f,"https://www.sees.com/content/social-component.json":b,"https://sees.com/content/custom-html-component.json":C,"https://www.sees.com/content/product-highlight-carousel.json":j,"https://www.sees.com/content/app-component-placeholder-campaign-data-collection":g};function Y(t){return X[t]??null}function w({items:t,slotName:s,lazyImages:o,customerGroups:a}){return r.jsx(r.Fragment,{children:t.map((n,e)=>r.jsx(Z,{item:n,index:e,slotName:s,lazyImages:o,customerGroups:a},n._meta?.deliveryId??`slot-${e}`))})}function Z({item:t,index:s,slotName:o,lazyImages:a,customerGroups:n}){const e=t.variations,c=t.default;if(e?.length&&n?.length){const i=U(e,n);if(i)return r.jsx(w,{items:i,slotName:o,lazyImages:a,customerGroups:n})}if(c){const i=Array.isArray(c)?c:[c];return r.jsx(w,{items:i,slotName:o,lazyImages:a,customerGroups:n})}const l=t._meta?.schema;if(!l)return null;const m=Y(l);return m?u(t,r.jsx(m,{content:t,lazyImages:a,slotName:o})):(Object.keys(t).some(i=>i!=="_meta"),null)}function z({content:t,customerGroups:s}){return t?r.jsx(w,{items:[t],slotName:"global-alert",customerGroups:s}):null}function ct({customerGroups:t}){const s=p("routes/_app");return r.jsx(z,{content:s?.globalPlacements?.globalAlert??null,customerGroups:t})}export{ct as P,w as S};
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.