PageSourceSearch

https://kevinsmarketmn.com/assets/Departments-DH30hRK8.js

js kevinsmarketmn.com collected 2026-09-30 13:59:29 UTC 2,784 bytes, 1 lines download raw bytes

1import{k as C,ao as I,r as n,e as v,l as $,j as e,aN as y}from"./index-DuYcMUNu.js";import{f as w}from"./Aside-vCw9D8CZ.js";function k(){const{department:s}=C(),{getSiteContentLocationGroupsForSlug:c}=I(),[x,l]=n.useState(!1),[r,_]=n.useState(""),m=v(),d=$();n.useEffect(()=>{l(!1)},[s]);const g=(()=>{const o=s??c(s).siteContent.slug.toLocaleLowerCase();switch(o){case"meat":case"deli":case"produce":case"frozenfoods":case"dairy":case"grocery":case"hbc":case"gm":case"service":case"bakery":case"liquor":case"bulkfoods":return`/${o}.jpg`;case"liquordepartment":case"callawayservices":case"onlineshopping":default:return null}})(),j=()=>{l(!0)},t=c(s);n.useEffect(()=>{(async()=>{const i=await y(m,d,t?.site_content_id),N=i==null?g:`https://files.mschost.net/wave/images/site_content/${i?.siteContentImage?.directory}/${i?.siteContentImage?.filename}`;_(N??"")})()},[s,t?.site_content_id,m,d,g]);const u=t?.siteContent?.image_filename!==void 0&&t?.siteContent?.image_filename!=null&&t?.siteContent?.image_filename!="",h=`https://files.mschost.net/wave/images/site_content/${t?.siteContent?.directory}/${t?.siteContent?.image_filename}`,p=t?.siteContent?.content==null?"Loading...":`${t?.siteContent?.content} <hr class="dotted" />`,a=t?.site_content_id,f=t?.siteContent?.title;return e.jsxs("div",{className:"row mx-0 mx-lg-5 mt-2 mt-md-5",children:[e.jsxs("div",{className:"col-12 col-lg-9 order-lg-2 departments",children:[!u&&e.jsxs("main",{className:"departments default_image row",id:`department_${a}`,children:[r&&!x&&e.jsx("div",{className:"main_image_container col-lg-9",children:e.jsx("div",{className:"main-image-container col-lg-9",children:e.jsx("img",{className:"main-image",src:r,"aria-hidden":"true",alt:"",role:"presentation",onError:j})})}),e.jsx("div",{className:"col-lg-9 col-12",children:e.jsx("h1",{className:"fancy text-theme-header",children:f})}),e.jsx("div",{className:`col-lg-9 col-12 department-content ${a}`,dangerouslySetInnerHTML:{__html:p}})]}),u&&e.jsxs("main",{className:"departments site_content_image row",id:`department_${a}`,children:[e.jsx("div",{className:"col-lg-8 col-12",children:e.jsx("h1",{className:"fancy text-theme-header",children:f})}),e.jsx("div",{className:`col-lg-8 department-content ${a}`,dangerouslySetInnerHTML:{__html:p}}),e.jsx("div",{className:"side-image-container col-lg-4 d-none d-lg-block",children:e.jsx("img",{className:"side-image",src:h,"aria-hidden":"true",role:"presentation",alt:""})}),e.jsx("div",{className:"side-image-container col-6 offset-3 col-sm-4 offset-sm-4 d-lg-none text-end",children:e.jsx("img",{className:"side-image",src:h,"aria-hidden":"true",role:"presentation",alt:""})})]})]}),e.jsx("div",{className:"col-12 col-lg-3 order-lg-1 content-left",children:e.jsx(w,{dept:s})})]})}export{k as default};

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.