PageSourceSearch

https://comparefoodsnc.com/build/_shared/chunk-RJDNA47Q.js

js comparefoodsnc.com collected 2026-10-04 05:50:53 UTC 5,261 bytes, 1 lines download raw bytes

1import{a as q}from"/build/_shared/chunk-LXNHYBM7.js";import{b as D}from"/build/_shared/chunk-LAOPLM43.js";import{b as w}from"/build/_shared/chunk-GLNX7PBK.js";import{g as $,x as j}from"/build/_shared/chunk-ZQZP2RIC.js";import{b as L,n as Z}from"/build/_shared/chunk-XHXRPQY5.js";import{G as E,K as I,O as H,fa as g,qa as C,sa as F}from"/build/_shared/chunk-FES3B5QL.js";import{a as y}from"/build/_shared/chunk-G3QUQOKW.js";import{a as N}from"/build/_shared/chunk-F3RAJA4O.js";import{e as u}from"/build/_shared/chunk-O3BUCIVF.js";var Q=u(N());var v=u(N());var J="/build/_assets/styles-AERJGK7R.css";var i=u(y()),k=()=>[{rel:"stylesheet",href:J}],R=({"aria-label":o,asMenu:r=!1,children:d,className:m,disabled:a=!1,externalUrl:t,hasToggleIcon:l=!1,icon:s,link:e,loading:c=!1,onClick:p,showAsExternalLink:T=!1,tabIndex:te=0,text:x,...W})=>{let h=L(),X=(0,v.useMemo)(()=>l?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(j,{className:"mobile-icon menu-item-toggle-icon",role:"presentation",size:14})}):null,[l]),b=(0,v.useMemo)(()=>e?(h==null?void 0:h.pathname)===e:!1,[e,h==null?void 0:h.pathname]),V=(0,v.useMemo)(()=>{var G;if(c)return(0,i.jsxs)(I,{align:"center",gap:"md",children:[(0,i.jsx)(C,{className:"menu-item-icon-skeleton",width:20,height:20,radius:4}),(0,i.jsx)(C,{className:"menu-item-text-skeleton",width:96,height:12,radius:2})]});let M=(0,i.jsxs)(I,{align:"center",gap:"8px",className:"menu-item-content",children:[s&&(0,i.jsx)("div",{className:"menu-item-icon",role:"presentation",children:s}),(0,i.jsxs)("div",{className:"menu-item-text-and-external-icon",children:[(0,i.jsxs)("div",{className:"menu-item-text",children:[x,d]}),(t||T)&&(0,i.jsx)("div",{className:"menu-item-external-icon",role:"presentation",children:(0,i.jsx)($,{size:16})})]})]});return r&&e||!e&&!t?M:(0,i.jsx)(q,{to:e!=null?e:"",onClick:!c&&!a?p:void 0,tabIndex:0,ariaLabel:(G=o!=null?o:x)!=null?G:"",className:w("swiftly-menu-item","menu-item-link",m,a&&"disabled-menu-item",c&&"loading-menu-item",b&&"active-menu-item"),withText:!1,href:t!=null?t:"",children:M})},[c,s,x,d,t,T,r,e,a,p,o,m,b]);return r?(0,i.jsx)(g.Item,{className:w("swiftly-menu-item",m,a&&"disabled-menu-item",c&&"loading-menu-item",b&&"active-menu-item"),onClick:!c&&!a?p:void 0,disabled:a,tabIndex:-1,"aria-label":o,component:e?Z:void 0,to:e!=null?e:"",prefetch:e?"intent":void 0,role:"menuitem",rightSection:X,...W,children:V}):(0,i.jsx)("li",{children:V})};var S=u(N());var P=u(y()),_=({fillColor:o="#046630",size:r=24,...d})=>(0,P.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 24 24",fill:"none",children:(0,P.jsx)("path",{d:"M11 18H13V16H11V18ZM12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM12 6C9.79 6 8 7.79 8 10H10C10 8.9 10.9 8 12 8C13.1 8 14 8.9 14 10C14 12 11 11.75 11 15H13C13 12.75 16 12.5 16 10C16 7.79 14.21 6 12 6Z",fill:o})}),K=_;var O="/build/_assets/styles-QFQJ3THZ.css";var n=u(y()),z=()=>[{rel:"stylesheet",href:O}],A=({"aria-label":o,asMenu:r=!1,className:d,customRightButtonText:m,onRightButtonClick:a,rightSectionType:t="none",tabIndex:l=0,text:s})=>{let e=(0,S.useMemo)(()=>t==="info-icon"?(0,n.jsx)("div",{className:"header-right-placeholder info-icon-placeholder","aria-hidden":"true"}):t==="button"?(0,n.jsx)("div",{className:"header-right-placeholder","aria-hidden":"true",children:(0,n.jsx)("span",{className:"sr-only",children:m||"About"})}):null,[t,m]),c=(0,S.useMemo)(()=>t==="info-icon"?(0,n.jsx)("div",{className:"header-right-flying",children:(0,n.jsx)(E,{size:"40px",variant:"transparent",onClick:a,children:(0,n.jsx)(K,{size:24,"aria-label":"About","data-testid":"menu-header-help-icon"})})}):t==="button"?(0,n.jsx)("div",{className:"header-right-flying",children:(0,n.jsx)(D,{size:"xs",variant:"subtle",buttonType:"tertiary",onClick:a,radius:"0","aria-label":m||"About",children:m||"About"})}):null,[t,a,m]),p=(0,S.useMemo)(()=>`header-${s}`,[s]);return r?(0,n.jsxs)("div",{className:"swiftly-menu-section-header-container",children:[(0,n.jsx)(g.Item,{className:w("swiftly-menu-section-header",d),tabIndex:l!=null?l:0,"aria-label":o,"aria-labelledby":o?void 0:p,role:"menuitem",rightSection:e,"data-testid":"menu-section-header",children:(0,n.jsx)(H,{className:"header-text",id:p,fw:600,fz:"sm",children:s})}),c]}):(0,n.jsxs)("div",{className:"swiftly-menu-section-header-container",children:[(0,n.jsx)("div",{role:"listitem",className:w("swiftly-menu-section-header",d),"aria-label":o,"aria-labelledby":o?void 0:p,tabIndex:l!=null?l:0,children:(0,n.jsx)(H,{component:"h2",className:"header-text",fw:600,fz:"sm",role:"heading",id:p,children:s})}),c]})};var f=u(y()),U=()=>[...z(),...k()],ee=({"aria-label":o,asMenu:r=!1,className:d,headerRightSectionType:m,headerText:a,items:t,sectionHeaderProps:l={}})=>{let s=(0,Q.useMemo)(()=>t==null?void 0:t.map((e,c)=>(0,f.jsx)(R,{asMenu:r,...e,children:e==null?void 0:e.children},c)),[t,r]);return(0,f.jsxs)(F,{className:d,"aria-label":o,gap:0,children:[a&&(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(A,{asMenu:r,...l!=null?l:{},rightSectionType:m,text:a})}),r?s:(0,f.jsx)("ul",{style:{listStyle:"none",margin:0,padding:0},children:s})]})};export{U as a,ee 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.