PageSourceSearch

https://www.dierbergs.com/_next/static/chunks/0x57z3ngtrr7f.js

js dierbergs.com collected 2026-10-03 23:44:33 UTC 52,426 bytes, 552 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="8f8453ec-d481-79be-d462-3c33e8f3db08")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,139978,e=>{"use strict";var t=e.i(391398),a=e.i(191788),r=e.i(877341),i=e.i(280463),n=e.i(33485),s=e.i(159080);let o=s.default`
3  query Footer {
4    webFooter {
5      id
6      copyrightText
7      familyQuoteAttribution
8      familyQuote
9      linkSections {
10        id
11        label
12        links {
13          id
14          isExternal
15          title
16          uri
17          slug
18        }
19      }
20      smallFooterLinks {
21        edges {
22          node {
23            id
24            isExternal
25            uri
26            title
27            slug
28          }
29        }
30      }
31      socialLinks {
32        id
33        iconUrl
34        link {
35          id
36          uri
37          isExternal
38        }
39      }
40    }
41  }
42`;var l=e.i(905027),c=e.i(45007),d=e.i(126019),u=e.i(819195),p=e.i(27138),m=e.i(698613);let g=l.default.div(({$instacartSearch:e,theme:{c:t,bp:a}})=>`
43    overflow: hidden;
44    background-color: ${t.tan3};
45    @media (max-width: ${e?`calc(${p.INSTACART_SEARCH_STACK_BP} - 1px)`:a.mob_md}) {
46      text-align: center;
47    }
48  `),h=l.default.div(({$instacartSearch:e,theme:{bp:t}})=>`
49    position: relative;
50    margin: 0 auto;
51    padding: 50px 20px;
52
53    @media (min-width: ${e?`${p.INSTACART_SEARCH_STACK_BP}`:t.tbl_sm}) {
54      padding: 50px;
55    }
56
57    @media (min-width: ${t.dsk_sm}) {
58      padding: 50px 70px;
59      max-width: 1340px;
60    }
61
62    @media (min-width: ${t.dsk_lg}) {
63      padding: 50px 0;
64    }
65  `),f=l.default.div(({$instacartSearch:e,theme:{bp:t,f:a}})=>`
66  padding-bottom: 1rem;
67  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
68  margin-bottom: 2rem;
69
70  @media (min-width: ${e?`${p.INSTACART_SEARCH_STACK_BP}`:t.tbl_sm}) {
71    text-align: center;
72  }
73
74  .familyQuote {
75    width: fit-content;
76    justify-self: center;
77    font-family: ${a.caveat};
78    font-size: 1.5rem;
79    margin-bottom: 0.5rem;
80
81    @media (min-width: ${e?`${p.INSTACART_SEARCH_STACK_BP}`:t.tbl_sm}) {
82      font-size: 1.75rem;
83      margin-bottom: 0.75rem;
84    }
85  }
86
87  .familyQuoteAttribution {
88    width: fit-content;
89    justify-self: center;
90    font-family: ${a.laBelleAurore};
91    font-size: 1.5rem;
92    margin-bottom: 0.5rem;
93
94    @media (min-width: ${e?`${p.INSTACART_SEARCH_STACK_BP}`:t.tbl_sm}) {
95      font-size: 2.25rem;
96      margin-bottom: 1rem;
97    }
98  }
99`),b=l.default.div(({$instacartSearch:e,theme:{bp:t}})=>`
100    display: flex;
101    flex-direction: column;
102    flex-wrap: wrap;
103    margin: -20px -25px;
104
105    @media (min-width: ${e?`${p.INSTACART_SEARCH_STACK_BP}`:t.tbl_sm}) {
106      flex-direction: row;
107    }
108
109    .footer-section {
110      padding: 20px 25px;
111    }
112
113    .footer-section--logo {
114      flex-basis: 100%;
115
116      @media (min-width: ${e?`${p.INSTACART_SEARCH_STACK_BP}`:t.tbl_sm}) {
117        padding: 35px 25px;
118      }
119
120      @media (min-width: ${t.dsk_sm}) {
121        flex-basis: initial;
122      }
123    }
124
125    .footer-section--links {
126      @media (min-width: ${e?`${p.INSTACART_SEARCH_STACK_BP}`:t.tbl_sm}) {
127        flex: 1 0;
128      }
129
130      @media (max-width: ${e?`calc(${p.INSTACART_SEARCH_STACK_BP} - 1px)`:t.mob_md}) {
131        display: flex;
132        flex-direction: column;
133        text-align: center;
134        width: 100%;
135      }
136    }
137
138    .footer-section--subscription {
139      @media (min-width: ${e?`${p.INSTACART_SEARCH_STACK_BP}`:t.tbl_sm}) {
140        flex: 1 0;
141        min-width: 530px;
142      }
143    }
144  `),x=l.default.div(({$instacartSearch:e,theme:{bp:t}})=>`
145    svg {
146      width: 161px;
147      height: 40px;
148
149      @media (min-width: ${e?`${p.INSTACART_SEARCH_STACK_BP}`:t.tbl_sm}) {
150        width: 193px;
151        height: 47px;
152      }
153    }
154  `),y=l.default.div(({$instacartSearch:e,theme:{bp:t,f:a,c:r}})=>`
155    display: flex;
156    flex-direction: row;
157    margin: 0 -15px;
158    padding-bottom: 10px;
159    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
160
161    @media (min-width: ${e?`${p.INSTACART_SEARCH_STACK_BP}`:t.tbl_sm}) {
162      border: none;
163    }
164
165    @media (max-width: ${e?`calc(${p.INSTACART_SEARCH_STACK_BP} - 1px)`:t.mob_md}) {
166      flex-direction: column;
167    }
168
169    .link-section {
170      padding: 0 15px;
171    }
172
173    .link-text {
174      font-family: ${a.overlock};
175      font-size: 24px;
176      font-weight: bold;
177    }
178
179    a {
180      display: block;
181      font-family: ${a.overlock};
182      font-size: 18px;
183      color: ${r.camoGreen};
184      padding: 5px 0;
185    }
186  `),v=l.default.div(({$instacartSearch:e,theme:{bp:t}})=>`
187    display: flex;
188    flex-direction: row;
189    align-items: center;
190    margin: -10px;
191    justify-content: center;
192
193    @media (min-width: ${e?`${p.INSTACART_SEARCH_STACK_BP}`:t.tbl_sm}) {
194      flex-direction: column;
195    }
196
197    div {
198      width: 18px;
199      height: 18px;
200      margin: 10px;
201      position: relative;
202      margin-right: 14px;
203    }
204
205    a {
206      display: block;
207      position: absolute;
208      width: 100%;
209      height: 100%;
210      top: 0px;
211      left: 0px;
212    }
213
214    img {
215      object-fit: contain;
216      object-position: center;
217      margin: auto;
218    }
219  `),j=l.default.div(({$instacartSearch:e,theme:{bp:t}})=>`
220  font-size: 0.75rem;
221  margin-top: 50px;
222
223  @media (min-width: ${e?`${p.INSTACART_SEARCH_STACK_BP}`:t.tbl_sm}) {
224    text-align: center;
225  }
226
227  @media (max-width: ${t.mob_lg}) {
228    flex-direction: column;
229    display: flex;
230    align-items: center;
231  }
232
233  a {
234    display: inline-block;
235    margin: 0 2rem 1.5rem 0;
236    color: black;
237    text-decoration: underline;
238
239    @media (max-width: ${t.mob_lg}) {
240      margin: 0 0 1.5rem 0;
241    }
242  }
243
244  .copyrightText {
245    display: block;
246    margin-bottom: 1rem;
247
248    @media (min-width: ${e?`${p.INSTACART_SEARCH_STACK_BP}`:t.tbl_sm}) {
249      display: inline-block;
250    }
251  }
252`);e.s(["default",0,()=>{let e,[s,l]=a.default.useState(0),{currentAuthToken:p}=(0,c.default)(),[w,_]=a.default.useState(!1),[S,{loading:k,error:M,data:P}]=(0,r.useLazyQuery)(o),I=(0,m.isInstacartWidgetSearchEnabled)();a.default.useEffect(()=>{_(!!(0,u.safeLocalStorageGet)("isAWebView"))},[]),a.default.useEffect(()=>{P||S()},[p]),a.default.useEffect(()=>{M||P||k||S()},[P,M,k]),a.default.useEffect(()=>{function e(){l(window.innerWidth||300)}window.addEventListener("resize",e),e()});let T=s<=1024;if(M||w)return(0,t.jsx)(t.Fragment,{});if(!P)return(0,t.jsx)(n.default,{});let{webFooter:A}=P,{familyQuote:C,familyQuoteAttribution:R,linkSections:E,socialLinks:D,smallFooterLinks:N}=A;return(0,t.jsx)(g,{$instacartSearch:I,children:(0,t.jsxs)(h,{$instacartSearch:I,children:[(0,t.jsx)(d.default,{alt:"",style:{position:"absolute",right:0,bottom:0},color:"white",src:"/assets/svg/leaf.svg",width:110,height:138}),(0,t.jsxs)(f,{$instacartSearch:I,children:[(0,t.jsxs)("p",{className:"familyQuote",children:["“",C,"”"]}
252),(0,t.jsx)("p",{className:"familyQuoteAttribution",children:R})]}),(0,t.jsxs)(b,{$instacartSearch:I,children:[(0,t.jsx)("div",{className:"footer-section footer-section--logo",children:(0,t.jsx)(x,{$instacartSearch:I,children:(0,t.jsx)(i.default,{})})}),(0,t.jsx)("div",{className:"footer-section footer-section--links",children:(0,t.jsx)(y,{$instacartSearch:I,children:E.map(e=>{let a;return(0,t.jsxs)("div",{className:"link-section",children:[(0,t.jsx)("h3",{className:"link-text",children:e.label}),(a=e.links||[],a.map(e=>(0,t.jsx)("a",{href:e?.uri||e?.slug,target:e?.uri&&!T?"_blank":"",children:e?.title},e?.id)))]},e.label)})})}),(0,t.jsx)("div",{className:"footer-section",children:(0,t.jsx)(v,{$instacartSearch:I,children:D.map(({link:e,iconUrl:a})=>(0,t.jsx)("div",{style:{display:"flex"},children:(0,t.jsx)("a",{href:e.uri,target:"blank",children:(0,t.jsx)(d.default,{alt:e.uri||"",width:18,height:18,src:a||"/assets/svg/placeholderImage.svg"})})},e.id))})})]}),(0,t.jsxs)(j,{$instacartSearch:I,children:[(e=N.edges,e.map(e=>(e||{}).node).filter(e=>!!e).map(e=>(0,t.jsx)("a",{href:e.uri||e.slug,target:e.uri&&!T?"_blank":"",children:e.title},e.id))),(0,t.jsx)("span",{className:"copyrightText",children:A.copyrightText})]})]})})}],139978)},400251,e=>{"use strict";var t=e.i(391398),a=e.i(191788);e.s(["default",0,({children:e,...r})=>{let[i,n]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{n(!0)},[]),i)?(0,t.jsx)("div",{style:{width:"100%"},...r,children:e}):null}])},432171,e=>{"use strict";var t,a=e.i(524669),r=e.i(191788),i=e.i(189280),n=e.i(887268),s=1,o={};function l(e){return e in o&&(delete o[e],!0)}var c=function(e){var a=s++;return o[a]=!0,t||(t=Promise.resolve()),t.then(function(){return l(a)&&e()}),a},d=function(e){l(e)},u={setImmediate:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var a=u.delegate;return((null==a?void 0:a.setImmediate)||c).apply(void 0,(0,i.__spreadArray)([],(0,i.__read)(e)))},clearImmediate:function(e){var t=u.delegate;return((null==t?void 0:t.clearImmediate)||d)(e)},delegate:void 0},p=function(e){function t(t,a){var r=e.call(this,t,a)||this;return r.scheduler=t,r.work=a,r}return(0,i.__extends)(t,e),t.prototype.requestAsyncId=function(t,a,r){return(void 0===r&&(r=0),null!==r&&r>0)?e.prototype.requestAsyncId.call(this,t,a,r):(t.actions.push(this),t._scheduled||(t._scheduled=u.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,a,r){if(void 0===r&&(r=0),null!=r?r>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,a,r);var i,n=t.actions;null!=a&&(null==(i=n[n.length-1])?void 0:i.id)!==a&&(u.clearImmediate(a),t._scheduled===a&&(t._scheduled=void 0))},t}(n.AsyncAction),m=new(function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,i.__extends)(t,e),t.prototype.flush=function(e){this._active=!0;var t,a=this._scheduled;this._scheduled=void 0;var r=this.actions;e=e||r.shift();do if(t=e.execute(e.state,e.delay))break;while((e=r[0])&&e.id===a&&r.shift())if(this._active=!1,t){for(;(e=r[0])&&e.id===a&&r.shift();)e.unsubscribe();throw t}},t}(e.i(812884).AsyncScheduler))(p),g=e.i(232106),h=e.i(76810),f=e.i(191584),b=e.i(630928),x=e.i(315953);let y=Symbol.for("apollo.skipToken");var v=e.i(628775);let j=Symbol.for("apollo.hook.wrappers");var w=e.i(521805),_=e.i(98926),S=e.i(632854);let k=Symbol();function M(e,...[t]){return(function(e,t,a){let i=[a.queryManager,e.startsWith("use")?r.useContext((0,w.getApolloContext)()):void 0],n=t;for(let t of i){let a=t?.[j]?.[e];a&&(n=a(n))}return n})("useQuery",P,(0,_.useApolloClient)("object"==typeof t?t.client:void 0))(e,t)}function P(e,t={}){var i,n,s,o,l,c,d,u;let p=(0,_.useApolloClient)("object"==typeof t?t.client:void 0),{ssr:h}="object"==typeof t?t:{},f=(i=e,n=t,s=p.defaultOptions.watchQuery,(0,v.useDeepMemo)(()=>{if(n===y){let e={...(0,b.mergeOptions)(s,{query:i,fetchPolicy:"standby"}),[x.variablesUnknownSymbol]:!0};return e[I]=!0,e}let e=(0,b.mergeOptions)(s,{...n,query:i});return n.skip&&(e.initialFetchPolicy=n.initialFetchPolicy||n.fetchPolicy,e.fetchPolicy="standby"),e},[i,n,s]));function j(t){let a=p.watchQuery(f);return{client:p,query:e,observable:a,resultData:{current:a.getCurrentResult(),previousData:t?.resultData.current.data,variables:a.variables}}}let[w,T]=r.useState(j);(p!==w.client||e!==w.query)&&T(w=j(w));let{observable:A,resultData:C}=w;o=f,l=A,o.fetchPolicy||(o.fetchPolicy=l.options.initialFetchPolicy),function(e,t,r){if(t[k]&&!(0,a.equal)(t[k],r)){var i,n;t[k][I]&&!r.initialFetchPolicy&&(r.initialFetchPolicy=r.fetchPolicy),(i=t[k],n=r,i.query===n.query&&(0,a.equal)(i.variables,n.variables)&&(i.fetchPolicy===n.fetchPolicy||"standby"!==n.fetchPolicy&&"standby"!==i.fetchPolicy))?t.applyOptions(r):t.reobserve(r);let s=t.getCurrentResult();(0,a.equal)(s.data,e.current.data)||(e.previousData=e.current.data||e.previousData),e.current=s,e.variables=t.variables}t[k]=r}(C,A,f);let R=(c=A,d=C,u=h,(0,S.useSyncExternalStore)(r.useCallback(e=>{let t=c.pipe((0,g.observeOn)(m)).subscribe(t=>{let r=d.current;(0,a.equal)(r,t)&&(0,a.equal)(d.variables,c.variables)||(d.variables=c.variables,r.data&&!(0,a.equal)(r.data,t.data)&&(d.previousData=r.data),d.current=t,e())});return()=>{setTimeout(()=>t.unsubscribe())}},[c,d]),()=>d.current,()=>!1===u?M.ssrDisabledResult:d.current)),E=r.useMemo(()=>({refetch:A.refetch.bind(A),fetchMore:A.fetchMore.bind(A),updateQuery:A.updateQuery.bind(A),startPolling:A.startPolling.bind(A),stopPolling:A.stopPolling.bind(A),subscribeToMore:A.subscribeToMore.bind(A)}),[A]),D=C.previousData;return r.useMemo(()=>{let{partial:e,...t}=R;return{...t,client:p,observable:A,variables:A.variables,previousData:D,...E}},[R,p,A,D,E])}let I=Symbol();M.ssrDisabledResult=(0,f.maybeDeepFreeze)({loading:!0,data:void 0,dataState:"empty",error:void 0,networkStatus:h.NetworkStatus.loading,partial:!0}),e.s(["useQuery",0,M],432171)},586966,e=>{"use strict";var t=e.i(391398),a=e.i(958678),r=e.i(432171),i=e.i(159080);let n=i.default`
253  query GeneralMetadata {
254    generalMetadata {
255      id
256      subject
257      copyright
258      language
259      robots
260      uri
261      identifierUri
262      metaPropertyOgSiteName
263      metaPropertyOgDescription
264      metaPropertyFbPageId
265      metaPropertyOgPhoneNumber
266      metaPropertyOgFaxNumber
267      creator
268      site
269      appleTouchIcon
270      appleTouchIcon72
271      appleTouchIcon114
272      appleTouchStartupImage
273      appleMobileWebAppCapable
274      appleMobileWebAppStatusBarStyle
275      formatDetection
276      pageEnter
277      pageExit
278      mssmarttagspreventparsing
279      xUaCompatible
280      msapplicationStarturl
281      msapplicationWindow
282      msapplicationNavbuttonColor
283      applicationName
284      msapplicationTooltip
285      shortcutIcon
286    }
287  }
288`,s=({children:e,visible:r})=>r?(0,t.jsx)(a.default,{children:e}):(0,t.jsx)(t.Fragment,{});e.s(["MetaWrapper",0,s,"default",0,({children:e})=>{let{data:a,loading:i,error:o}=(0,r.useQuery)(n,{fetchPolicy:"no-cache"});return i||o||!a?.generalMetadata?(0,t.jsx)(t.Fragment,{children:e}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s,{visible:!!a.generalMetadata.subject,children:(0,t.jsx)("meta",{name:"subject",content:a?.generalMetadata.subject||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.copyright,children:(0,t.jsx)("meta",{name:"copyright",content:a?.generalMetadata.copyright||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.language,children:(0,t.jsx)("meta",{name:"language",content:a?.generalMetadata.language||"EN"})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.robots,children:(0,t.jsx)("meta",{name:"robots",content:a?.generalMetadata.robots||"index,follow"})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.uri,children:(0,t.jsx)("meta",{name:"url",content:a?.generalMetadata.uri||"https://www.dierbergs.com"})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.identifierUri,children:(0,t.jsx)("meta",{name:"identifier-URL",content:a?.generalMetadata.identifierUri||"https://www.dierbergs.com"})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.metaPropertyOgSiteName,children:(0,t.jsx)("meta",{name:"og:site_name",content:a?.generalMetadata.metaPropertyOgSiteName||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.metaPropertyOgDescription,children:(0,t.jsx)("meta",{name:"og:description",content:a?.generalMetadata.metaPropertyOgDescription||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.metaPropertyFbPageId,children:(0,t.jsx)("meta",{name:"fb:page_id",content:a?.generalMetadata.metaPropertyFbPageId||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.metaPropertyOgPhoneNumber,children:(0,t.jsx)("meta",{name:"og:phone_number",content:a?.generalMetadata.metaPropertyOgPhoneNumber||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.metaPropertyOgFaxNumber,children:(0,t.jsx)("meta",{name:"og:fax_number",content:a?.generalMetadata.metaPropertyOgFaxNumber||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.appleTouchIcon,children:(0,t.jsx)("link",{rel:"apple-touch-icon",href:a?.generalMetadata.appleTouchIcon||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.appleTouchIcon72,children:(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"72x72",href:a?.generalMetadata.appleTouchIcon72||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.appleTouchIcon114,children:(0,t.jsx)("link",{rel:"apple-touch-icon",sizes:"114x114",href:a?.generalMetadata.appleTouchIcon114||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.appleTouchStartupImage,children:(0,t.jsx)("link",{rel:"apple-touch-startup-image",href:a?.generalMetadata.appleTouchStartupImage||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.appleMobileWebAppCapable,children:(0,t.jsx)("meta",{name:"apple-mobile-web-app-capable",content:a?.generalMetadata.appleMobileWebAppCapable||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.appleMobileWebAppStatusBarStyle,children:(0,t.jsx)("meta",{name:"apple-mobile-web-app-status-bar-style",content:a?.generalMetadata.appleMobileWebAppStatusBarStyle||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.formatDetection,children:(0,t.jsx)("meta",{name:"format-detection",content:a?.generalMetadata.formatDetection||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.pageEnter,children:(0,t.jsx)("meta",{httpEquiv:"Page-Enter",content:a?.generalMetadata.pageEnter||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.pageExit,children:(0,t.jsx)("meta",{httpEquiv:"Page-Exit",content:a?.generalMetadata.pageExit||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.mssmarttagspreventparsing,children:(0,t.jsx)("meta",{name:"mssmarttagspreventparsing",content:a?.generalMetadata.mssmarttagspreventparsing||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.xUaCompatible,children:(0,t.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:a?.generalMetadata.xUaCompatible||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.msapplicationStarturl,children:(0,t.jsx)("meta",{name:"msapplication-starturl",content:a?.generalMetadata.msapplicationStarturl||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.msapplicationWindow,children:(0,t.jsx)("meta",{name:"msapplication-window",content:a?.generalMetadata.msapplicationWindow||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.msapplicationNavbuttonColor,children:(0,t.jsx)("meta",{name:"msapplication-navbutton-color",content:a?.generalMetadata.msapplicationNavbuttonColor||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.applicationName,children:(0,t.jsx)("meta",{name:"application-name",content:a?.generalMetadata.applicationName||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.msapplicationTooltip,children:(0,t.jsx)("meta",{name:"msapplication-tooltip",content:a?.generalMetadata.msapplicationTooltip||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.shortcutIcon,children:(0,t.jsx)("link",{rel:"shortcut icon",href:a?.generalMetadata.shortcutIcon||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.site,children:(0,t.jsx)("meta",{name:"twitter:site",content:a?.generalMetadata.site||""})}),(0,t.jsx)(s,{visible:!!a.generalMetadata.creator,children:(0,t.jsx)("meta",{name:"twitter:creator",content:a?.generalMetadata.creator||""})}),e]})}])},149748,e=>{"use strict";var t=e.i(391398),a=e.i(958678),r=e.i(400251),i=e.i(586966);let n={"store-locations/":"store-locations/*"},s=(e,t)=>{if(!t&&!e)return;if(t.default)return o(t).default;let a=Object.keys(n).find(t=>e.includes(t));return a?o(t)[n[a]]:o(t)[e]},o=e=>({"account/my-list":{title:"Learn About Our Dierbergs Rewards | Dierbergs Mar
288kets",description:"Learn about the perks we have currently available in our Dierbergs Rewards member program."},"account/rewards/browse":{title:"Learn About Our Associates Dierbergs Rewards | Dierbergs  Markets",description:"Learn about the perks we have currently available in our Associates Dierbergs Rewards member program."},"account/rewards/earn":{title:"Earn Points | Dierbergs Markets",description:"Complete activities and earn points that can be exchanged by amazing rewards on Dierbergs Market"},"account/rewards/history":{title:"My Rewards History | Dierbergs Markets",description:"Take a quick look of the history of your Points Earned, Rewards, In-Store Purchases and Points Expiration on Dierbergs."},"account/rewards/my-rewards":{title:"My Rewards | Dierbergs Markets",description:"Take a quick look to the Rewards you have on your account to enjoy all the benefits of the Dierbergs Member program."},cart:{title:"Shopping Cart | Dierbergs Markets",description:"Enjoy all your bakery, florist, & deli shopping on Dierbergs, your local grocery market in St. Louis metropolitan-area."},checkout:{title:"Checkout | Dierbergs Markets",description:"Complete your order information to Enjoy all your bakery, florist, & deli shopping on Dierbergs."},"contact-us":{title:"Dierbergs Markets - Contact Us",description:"Please feel free to share your questions, comments and suggestions with our team.  Thank you for contacting us and thank you  for shopping at Dierbergs."},coupons:{title:"Dierbergs Digital Coupons &  Coupon Policies |  Dierbergs Markets",description:"Save on your grocery purchases with Dierbergs digital coupons. Browse and clip hundreds of offers to save on your groceries and find our coupon policy."},default:{title:`${e.name} | Dierbergs Markets`,description:"Dierbergs, your local grocery market in the St. Louis metropolitan-area & Missouri’s Lake of the  Ozarks."},index:{title:"Dierbergs Markets - Bakery  |  Deli  |  Florist  |  Grocery Store",description:"Your local grocery market in the St. Louis  metropolitan-area & Missouri’s Lake of the  Ozarks. Dierbergs has food shopping & a  pharmacy, bakery, florist, & deli."},"my-orders":{title:"My Orders | Dierbergs Markets",description:"A preview of all the orders made by you in the last period will be always available for you!"},recipes:{title:"Dierbergs Recipes & Recipe Finder Tool | Dierbergs Markets",description:"Check here for favorite recipes from the  Dierbergs team. Use our recipe finder tool to  set your criteria and pair the right dish with the correct occasion."},rewards:{title:"Learn About Dierbergs  Rewards | Dierbergs Markets",description:"Learn more about the perks of being a Dierbergs Rewards member."},"rewards/associates":{title:"Learn About Our Associates Dierbergs Rewards | Dierbergs Markets",description:"Learn about the perks we have currently available in our Associates Dierbergs Rewards member program."},"rewards/list":{title:"Learn About Our Dierbergs Rewards | Dierbergs Markets",description:"Learn about the perks we have currently available in our Dierbergs Rewards member program."},"sign-in":{title:"Sign into Dierbergs Rewards | Dierbergs Markets",description:"Your local grocery market in the St. Louis metropolitan-area & Missouri’s Lake of the Ozarks. Dierbergs has food shopping & a  pharmacy, bakery, florist, & deli."},"sign-up":{title:"Sign up for Dierbergs Rewards | Dierbergs Markets",description:"Start earning rewards on your local grocery market in the St. Louis  metropolitan-area & Missouri’s Lake of the  Ozarks."},"store-locations":{title:"Dierbergs Store Locations & Hours | Dierbergs Markets",description:"Use this page to see which of our grocery  stores near your location in the St. Louis metropolitan-area or Missouri’s Lake of the  Ozarks is closest to you."},"store-locations/*":{title:`${e.name} Store | Dierbergs Markets`,description:`Working hours & general details of the ${e.name} Dierbergs Store.`},"weekly-ads":{title:"Weekly Dierbergs Ads |  Dierbergs Markets",description:"Click here to see the Dierbergs Markets  weekly grocery ads. Dierbergs ads from this  week will be featured on this page, remember to bookmark & check back often."}});e.s(["default",0,({children:e,pageTitle:n,path:o,params:l,seo:c})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.default,{children:(0,t.jsx)("title",{children:c?.metaTitle||s(o||"",l)?.title||n})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.keywords,children:(0,t.jsx)("meta",{name:"keywords",content:c?.keywords||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.metaTitle||!!s(o||"",l)?.title,children:(0,t.jsx)("meta",{name:"title",content:c?.metaTitle||s(o||"",l)?.title||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.metaNameDescription||!!s(o||"",l)?.description,children:(0,t.jsx)("meta",{name:"description",content:c?.metaNameDescription||s(o||"",l)?.description||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.metaNameRevised,children:(0,t.jsx)("meta",{name:"revised",content:c?.metaNameRevised||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.metaPropertyOgTitle||s(o||"",l)?.title,children:(0,t.jsx)("meta",{property:"og:title",content:c?.metaPropertyOgTitle||s(o||"",l)?.title||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.metaPropertyOgType,children:(0,t.jsx)("meta",{property:"og:type",content:c?.metaPropertyOgType||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.metaPropertyOgDescription||!!s(o||"",l)?.description,children:(0,t.jsx)("meta",{property:"og:description",content:c?.metaPropertyOgDescription||s(o||"",l)?.description||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.metaPropertyOgImage,children:(0,t.jsx)("meta",{property:"og:image",content:c?.metaPropertyOgImage||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.metaPropertyOgImageHeight,children:(0,t.jsx)("meta",{property:"og:image:height",content:c?.metaPropertyOgImageHeight||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.metaPropertyOgImageWidth,children:(0,t.jsx)("meta",{property:"og:image:width",content:c?.metaPropertyOgImageWidth||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.image,children:(0,t.jsx)("meta",{name:"twitter:image",content:c?.image||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.imageAlt,children:(0,t.jsx)("meta",{name:"twitter:image:alt",content:c?.imageAlt||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.card,children:(0,t.jsx)("meta",{name:"twitter:card",content:c?.card||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.appCountry,children:(0,t.jsx)("meta",{name:"twitter:app:country",content:c?.appCountry||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.appNameIphone,children:(0,t.jsx)("meta",{name:"twitter:app:name:iphone",content:c?.appNameIphone||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.appIdIphone,children:(0,t.jsx)("meta",{name:"twitter:app:id:iphone",content:c?.appIdIphone||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.appUrlIphone,children:(0,t.jsx)("meta",{name:"twitter:app:url:iphone",content:c?.appUrlIphone||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.appNameIpad,children:(0,t.jsx)("meta",{name:"twitter:app:name:ipad",content:c?.appNameIpad||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.appIdIpad,children:(0,t.jsx)("meta",{name:"twitter:app:id:ipad",content:c?.appIdIpad||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.appUrlIpad,children:(0,t.jsx)("meta",{name:"twitter:app:url:ipad",content:c?.appUrlIpad||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.appNameGoogleplay,children:(0,t.jsx)("meta",{name:"twitter:app:name:googleplay",content:c?.appNameGoogleplay||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.appIdGoogleplay,children:(0,t.jsx)("meta",{name:"twitter:app:id:googleplay",content:c?.appIdGoogleplay||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.appUrlGoogleplay,children:(0,t.jsx)("meta",{name:"twitter:app:url:googleplay",content:c?.appUrlGoogleplay||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.imageAlt,children:(0,t.jsx)("meta",{name:"og:image:alt",content:c?.imageAlt||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.metaPropertyOgImageType,children:(0,t.jsx)("meta",{property:"og:image:type",content:c?.metaPropertyOgImageType||""})}),(0,t.jsx)(i.MetaWrapper,{visible:!!c?.metaPropertyOgUrl,children:(0,t.jsx)("meta",{property:"og:url",content:c?.metaPropertyOgUrl||""})}),(0,t.jsx)(r.default,{children:e})]})],149748)},527714,e=>{"use strict";var t=e.i(391398),a=e.i(191788),r=e.i(159080),i=e.i(877341),n=e.i(203828),s=e.i(429811),o=e.i(799523);let l=r.default`
289  query getPotentialPoints(
290    $items: [PurchasePotentialPointItemInput!]!
291    $datePurchased: String!
292  ) {
293    purchasePotentialPoints(items: $items, datePurchased: $datePurchased) {
294      totalPointsAwarded
295      bonusPointsAwarded
296    }
297  }
298`,c=a.createContext({});e.s(["SignUpContext",0,c,"SignUpProvider",0,({children:e})=>
298{let[r,d]=a.useState(),[u,p]=a.useState(),[m,g]=a.useState(!1),[h,f]=a.useState(!1),[b,x]=a.useState(!1),[y,v]=a.useState(0),[j,w]=a.useState(""),[_,S]=a.useState("email"),{cartItems:k}=(0,s.default)(),{push:M,route:P}=(0,n.useRouter)(),[I,{data:T}]=(0,i.useLazyQuery)(l,{fetchPolicy:"no-cache"});a.useEffect(()=>{T&&v(T.purchasePotentialPoints?.totalPointsAwarded||0)},[T]);let A=P.includes("/cart"),C=P.includes("verification-information")||P.includes("send-verification");return a.useEffect(()=>{!r&&C&&M("/sign-up")},[C,r]),a.useEffect(()=>{A&&I({variables:{datePurchased:(0,o.default)().format("YYYY-MM-DDT00:00:00.511-04:00"),items:k.map(e=>({price:e.subtotalAmount,quantity:e.quantity,sku:`${e.item.sku}`}))}})},[A,k]),(0,t.jsx)(c.Provider,{value:{setNewUserFields:d,pointsToEarn:y,pointsEarned:b,setPointsEarned:x,newCheckoutUserFields:u,setNewCheckoutUserFields:p,setIsNewUser:g,previousUrl:j,setPreviousUrl:w,setDisable:f,isDisable:h,isNewUser:m,newUserFields:r,selectedVerificationMode:_,setSelectedVerificationMode:S},children:e})},"default",0,function(){return a.useContext(c)}])},701085,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={AppRouterContext:function(){return s},GlobalLayoutRouterContext:function(){return l},LayoutRouterContext:function(){return o},MissingSlotContext:function(){return d},TemplateContext:function(){return c}};for(var i in r)Object.defineProperty(a,i,{enumerable:!0,get:r[i]});let n=e.r(741705)._(e.r(191788)),s=n.default.createContext(null),o=n.default.createContext(null),l=n.default.createContext(null),c=n.default.createContext(null),d=n.default.createContext(new Set)},531430,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"ReadonlyURLSearchParams",{enumerable:!0,get:function(){return i}});class r extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class i extends URLSearchParams{append(){throw new r}delete(){throw new r}set(){throw new r}sort(){throw new r}}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},470008,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={NavigationPromisesContext:function(){return d},PathParamsContext:function(){return c},PathnameContext:function(){return l},ReadonlyURLSearchParams:function(){return s.ReadonlyURLSearchParams},SearchParamsContext:function(){return o},createDevToolsInstrumentedPromise:function(){return u}};for(var i in r)Object.defineProperty(a,i,{enumerable:!0,get:r[i]});let n=e.r(191788),s=e.r(531430),o=(0,n.createContext)(null),l=(0,n.createContext)(null),c=(0,n.createContext)(null),d=(0,n.createContext)(null);
298function u(e,t){let a=Promise.resolve(t);return a.status="fulfilled",a.value=t,a.displayName=`${e} (SSR)`,a}},991622,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={HTTPAccessErrorStatus:function(){return n},HTTP_ERROR_FALLBACK_ERROR_CODE:function(){return o},getAccessFallbackErrorTypeByStatus:function(){return d},getAccessFallbackHTTPStatus:function(){return c},isHTTPAccessFallbackError:function(){return l}};for(var i in r)Object.defineProperty(a,i,{enumerable:!0,get:r[i]});let n={NOT_FOUND:404,FORBIDDEN:403,UNAUTHORIZED:401},s=new Set(Object.values(n)),o="NEXT_HTTP_ERROR_FALLBACK";function l(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,a]=e.digest.split(";");return t===o&&s.has(Number(a))}function c(e){return Number(e.digest.split(";")[1])}function d(e){switch(e){case 401:return"unauthorized";case 403:return"forbidden";case 404:return"not-found";default:return}}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},40184,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"RedirectStatusCode",{enumerable:!0,get:function(){return i}});var r,i=((r={})[r.SeeOther=303]="SeeOther",r[r.TemporaryRedirect=307]="TemporaryRedirect",r[r.PermanentRedirect=308]="PermanentRedirect",r);("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},301939,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={REDIRECT_ERROR_CODE:function(){return s},isRedirectError:function(){return o}};for(var i in r)Object.defineProperty(a,i,{enumerable:!0,get:r[i]});let n=e.r(40184),s="NEXT_REDIRECT";function o(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let t=e.digest.split(";"),[a,r]=t,i=t.slice(2,-2).join(";"),o=Number(t.at(-2));return a===s&&("replace"===r||"push"===r)&&"string"==typeof i&&!isNaN(o)&&o in n.RedirectStatusCode}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},68934,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"isNextRouterError",{enumerable:!0,get:function(){return n}});let r=e.r(991622),i=e.r(301939);function n(e){return(0,i.isRedirectError)(e)||(0,r.isHTTPAccessFallbackError)(e)}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},14760,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var r={BailoutToCSRError:function(){return s},isBailoutToCSRError:function(){return o}};for(var i in r)Object.defineProperty(a,i,{enumerable:!0,get:r[i]});let n="BAILOUT_TO_CLIENT_SIDE_RENDERING";class s extends Error{constructor(e){super(`Bail out to client-side rendering: ${e}`),this.reason=e,this.digest=n}}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}},213609,e=>{"use strict";var t=e.i(498170),a=e.i(635113);e.s(["getDaysInMonth",0,function(e,r){let i=(0,a.toDate)(e,r?.in),n=i.getFullYear(),s=i.getMonth(),o=(0,t.constructFrom)(i,0);return o.setFullYear(n,s+1,0),o.setHours(0,0,0,0),o.getDate()}])},42889,e=>{"use strict";var t=e.i(494905);e.s(["getFulfillmentTypes",0,function(){return t.default.get("/fulfillmenttype")},"getInitialPrecart",0,function(e,a,r){return t.default.get(`/precart/locationnumber/${e}/sku/${a}?cartId=${r}`)},"getItem",0,function({storeLocationNumber:e,sku:a,fulfillmentTypeId:r},i){return t.default.get(`/item/locationnumber/${e}/sku/${a}/searchtype/1?${i?`cartId=${i}`:""}${r?`${i?"&":""}fulfillmentTypeId=${r}`:""}`)},"getListOfItemsSellableOffline",0,function({storeLocationNumber:e,skus:a}){return t.default.get(`/item/locationnumber/${e}
298/skus/${a.join(",")}/searchtype/0`)},"validatePrecart",0,function(e,a){return t.default.post("/precart/validate",{...e,cartId:a})}])},993993,(e,t,a)=>{var r=e.r(931952),i=e.r(448684);t.exports=function(e,t,a,n){return null==e?[]:(i(t)||(t=null==t?[]:[t]),i(a=n?void 0:a)||(a=null==a?[]:[a]),r(e,t,a))}},537513,e=>{"use strict";var t=e.i(391398),a=e.i(191788),r=e.i(993993),i=e.i(776204),n=e.i(877341),s=e.i(159080);let o=s.default`
299  query UserShoppingList {
300    account {
301      shoppingList {
302        id
303        items {
304          ... on ShoppingListTextItem {
305            id
306            isCollected
307            text
308            quantity
309          }
310          ... on ShoppingListProductItem {
311            id
312            isCollected
313            name
314            sku
315            quantity
316          }
317        }
318      }
319    }
320  }
321`,l=s.default`
322  mutation SetShoppingListTextItemQuantity(
323    $textItemInput: ShoppingListTextInput!
324  ) {
325    setShoppingListTextItemQuantity(textItemInput: $textItemInput) {
326      shoppingListTextItem {
327        id
328        isCollected
329        text
330        shoppingList {
331          id
332        }
333      }
334    }
335  }
336`,c=s.default`
337  mutation SetShoppingListProductItemQuantity(
338    $productItemInput: ShoppingListProductInput!
339  ) {
340    setShoppingListProductItemQuantity(productItemInput: $productItemInput) {
341      shoppingListProductItem {
342        id
343        isCollected
344        sku
345        name
346        shoppingList {
347          id
348        }
349      }
350    }
351  }
352`,d=s.default`
353  mutation removeShoppingListItem($itemId: ID!) {
354    removeShoppingListItem(itemId: $itemId) {
355      ok
356    }
357  }
358`,u=s.default`
359  mutation toggleShoppingListItemState($itemId: ID!, $state: Boolean!) {
360    toggleShoppingListItemState(itemId: $itemId, state: $state) {
361      isCollected
362    }
363  }
364`,p=s.default`
365  mutation clearShoppingList {
366    clearShoppingList {
367      newShoppingList {
368        id
369      }
370    }
371  }
372`;var m=e.i(42889),g=e.i(837720),h=e.i(470816);let f=(0,a.createContext)({shoppingItems:[],completedItems:[],incompleteItems:[],sortByItems:"ALPHA",setSortByItems:()=>{},refetchList:()=>{},upsertItem:()=>Promise.resolve(),findItemIndex:()=>-1,isTextItemInList:()=>!1,markAsComplete:()=>{},markAsIncomplete:()=>{},markAllAsIncomplete:()=>{},removeItem:()=>Promise.resolve(),clearSelectedItems:()=>Promise.resolve(),addClearedItems:()=>Promise.resolve(),addAllCompletedItems:()=>Promise.resolve(),clearList:()=>Promise.resolve(),storeProductsData:[],allProductsData:[]}),b=(e,t="")=>t.substr(0,e-1);e.s(["ShoppingListContext",0,f,"ShoppingListProvider",0,({children:e})=>{let{authUser:s}=(0,h.default)(),{userStoreLocation:x}=(0,g.default)(),[y,v]=(0,a.useState)("ALPHA"),[j,w]=(0,a.useState)([]),[_,S]=(0,a.useState)([]),[k,M]=(0,a.useState)([]),[P,I]=j.reduce(([e,t],a)=>[e.concat(a.isCollected?a:[]),t.concat(a.isCollected?[]:a)],[[],[]]),[T,{loading:A,data:C,error:R}]=(0,n.useLazyQuery)(o,{fetchPolicy:"no-cache"});a.default.useEffect(()=>{let e=C?.account?.shoppingList?.items;e&&w(e.map((e,t)=>{let[a,r]=e.name?[e.name,""]:[e.text,""];return{order:t,id:e?.id||"",isCollected:e?.isCollected||!1,sku:e.sku||"",size:r||"",quantity:e?.quantity||1,textName:a||""}}))},[C]),a.default.useEffect(()=>{R&&console.log("Error trying to fetch Shopping List",R)},[R]);let[E]=(0,i.useMutation)(l),[D]=(0,i.useMutation)(c),[N]=(0,i.useMutation)(d),[O]=(0,i.useMutation)(u),[$]=(0,i.useMutation)(p),L=j.filter(e=>e.sku),W=(e,t,a)=>j.findIndex(r=>t&&r.id===t||a&&r.sku===a||!a&&b(100,r.textName||"")===b(100,e||"")),F=async e=>{let t=await D({variables:{productItemInput:e}});return t.data?.setShoppingListProductItemQuantity?.shoppingListProductItem?.id||""},U=async e=>{let t=await E({variables:{textItemInput:e}});return t.data?.setShoppingListTextItemQuantity?.shoppingListTextItem?.id||""},q=async e=>{if(!s)return;let{sku:t,textName:a,quantity:r}=e,i=b(100,a);try{let n=t?await F({sku:t,quantity:r,name:`${b(100,a)}`||""}):await U({text:i,quantity:r});T();let s=W(i,n,t),o=s>-1?j.map((e,t)=>({...e,order:e.order,quantity:t===s?r:e.quantity})):j.concat({id:n,...e,textName:i});w(o)}catch(e){console.log("There was an error adding item to list",e)}},B=async e=>{s&&(e.id&&await N({variables:{itemId:e.id}}),w(j.filter(t=>t.id!==e.id)))},z=e=>t=>{if(!t.id)return;let a="Complete"===e;O({variables:{itemId:t.id,state:a},refetchQueries:["CurrentUser"]}),w(j.map(e=>({...e,isCollected:t.textName===e.textName?a:e.isCollected})))},H=async()=>{try{await $(),w([])}catch(e){console.log("There was an error clearing the shopping list",e)}},Q=async e=>{try{await Promise.all(e.map(B));let t=e.map(e=>e.textName);w(j.filter(e=>!t.includes(e.textName)))}catch(e){console.log("There was an error cleaning selected list items",e)}},K=async e=>{try{await Promise.all(e.map(q))}catch(e){console.log("There was an error adding cleaned items to list",e)}},Y=async()=>{},G=async e=>{let t=e.filter(e=>!!e.id);if(0!==t.length)try{await Promise.all(t.map(e=>O({variables:{itemId:e.id,state:!1},refetchQueries:["CurrentUser"]})));let a=e.map(e=>e.textName);w(j.map(e=>({...e,isCollected:!a.includes(e.textName)&&e.isCollected})))}catch(e){console.log("There was an error marking as uncompleted a list item",e)}};return(0,a.useEffect)(()=>{let e=async()=>{try{let e=await (0,m.getListOfItemsSellableOffline)({storeLocationNumber:x?.number||19,skus:L.map(e=>(e.sku||"").toString())||[]}),t=e.data.storeItems,a=e.data.allItems;S(t),M(a)}catch(e){w(j.map((e,t)=>({textName:e.textName,quantity:e.quantity,order:t,id:e.id,isCollected:e.isCollected})))}},t=L.map(e=>(e.sku||"").toString()).join(",");!A&&j.length&&t&&e()},[x,L.map(e=>e.id).join(","),A]),(0,a.useEffect)(()=>{s?T():w([])},[s?.customerId]),(0,t.jsx)(f.Provider,{value:{storeProductsData:_,allProductsData:k,sortByItems:y,shoppingItems:(0,r.default)(j,["order"],["desc"]),completedItems:(0,r.default)(P,["order"],["desc"]),incompleteItems:(0,r.default)(I,["order"],["desc"]),setSortByItems:e=>v(e),addAllCompletedItems:Y,refetchList:T,upsertItem:q,findItemIndex:W,isTextItemInList:e=>W(e)>-1,markAsComplete:z("Complete"),markAsIncomplete:z("Incomplete"),markAllAsIncomplete:G,removeItem:B,clearList:H,clearSelectedItems:Q,addClearedItems:K},children:e})},"default",0,function(){return(0,a.useContext)(f)}],537513)},101541,e=>{"use strict";var t=e.i(498170),a=e.i(213609),r=e.i(635113);e.s(["set",0,function(e,i,n){var s,o;let l,c,d,u,p,m=(0,r.toDate)(e,n?.in);return isNaN(+m)?(0,t.constructFrom)(n?.in||e,NaN):(null!=i.year&&m.setFullYear(i.year),null!=i.month&&(s=m,o=i.month,c=(l=(0,r.toDate)(s,void 0)).getFullYear(),d=l.getDate(),(u=(0,t.constructFrom)(s,0)).setFullYear(c,o,15),u.setHours(0,0,0,0),p=(0,a.getDaysInMonth)(u),l.setMonth(o,Math.min(d,p)),m=l),null!=i.date&&m.setDate(i.date),null!=i.hours&&m.setHours(i.hours),null!=i.minutes&&m.setMinutes(i.minutes),null!=i.seconds&&m.setSeconds(i.seconds),null!=i.milliseconds&&m.setMilliseconds(i.milliseconds),m)}],101541)},600825,e=>{"use strict";var t=e.i(391398),a=e.i(203828),r=e.i(126019),i=e.i(214567),n=e.i(905027);let s=n.default.div`
373  display: flex;
374  align-items: center;
375  padding: 10px 0;
376
377  .see-also-link__img {
378    width: 46px !important;
379    height: 46px !important;
380    margin-right: 10px;
381  }
382
383  .see-also-link__img--small {
384    width: 40px !important;
385    height: 40px !important;
386    margin-bottom: 4px;
387    margin-right: 10px;
388  }
389`,o=({data:{title:e,imgSrc:a,url:n,smallIcon:o},className:l})=>(0,t.jsxs)(s,{className:l,children:[(0,t.jsx)(r.default,{className:o?"see-also-link__img--small":"see-also-link__img",alt:"",src:a,width:o?40:46,height:o?40:46}),(0,t.jsx)(i.default,{withChevron:!0,isInternal:!0,text:e,url:n})]},e),l=n.default.div(({theme:{f:e,bp:t}})=>`
390    width: 100%;
391    display: flex;
392    flex-direction: column;
393    justify-content: center;
394    align-items: center;
395    font-size: 18px;
396    font-weight: bold;
397    font-family: ${e.overlock};
398    margin: auto;
399    padding-top: 48px;
400    padding-bottom: 40px;
401
402    @media (min-width: ${t.tbl_sm}) {
403      max-width: 800px;
404    }
405
406    .save-nav__title {
407      font-family: ${e.default};
408      font-weight: normal;
409      font-size: 18px;
410      text-align: center;
411      width: 100%;
412      max-width: 515px;
413      margin-bottom: 16px;
414    }
415
416    .save-nav__links {
417      width: 100%;
418      display: flex;
419      flex-direction: column;
420      justify-content: center;
421      align-items: center;
422      margin: 0 -16px;
423
424      @media (min-width: ${t.tbl_sm}) {
425        flex-direction: row;
426      }
427    }
428
429    .save-nav__link {
430      padding: 0 16px;
431    }
432  `);e.s(["default",0,({variant:e,className:r,storeNumber:i})=>{let n=(0,a.useRouter)(),s=Object.values({WEEKLY_AD:{title:"View Weekly Ad",url:i?`/weekly-ads?store_code=${i}`:"/weekly-ads",type:"WEEKLY_AD",imgSrc:"/assets/img/waysToSave/link-icon-1.png"},COUPONS:{title:"This Week’s Coupons",url:"/coupons",type:"COUPONS",imgSrc:"/assets/img/waysToSave/link-icon-2.png"},REWARDS:{title:"Dierbergs Rewards",url:"/rewards",type:"REWARDS",imgSrc:"/assets/img/waysToSave/link-icon-3.png"}}),c=e?s.filter(t=>t.type!==e):s,d=n.pathname.includes("/weekly-ads");return(0,t.jsxs)(l,{className:r,children:[!d&&(0,t.jsx)("div",{className:"save-nav__title",children:"Find more savings and deals"}),(0,t.jsxs)("div",{className:"save-nav__links",children:[d&&(0,t.jsx)("div",{className:"save-nav__link",children:(0,t.jsx)(o,{data:{title:"View Ad as PDF & Print",url:"https://urldefense.com/v3/__https://www.dierbergs.com/pages/printable-weekly-ad__;!!MQSK0qoE9zZdDCVH3w!1HJnrx2M_aWLtHueTr3YFhRmY8CuMWqMiGUgr8Agd-f1X06YgbGrYkFdmi50xUrmsQj5mc9s8Jh9yTmgFQ$",imgSrc:"/assets/img/waysToSave/link-icon-4.png",smallIcon:!0}})},"pdf"),c.map(({type:e,...a})=>(0,t.jsx)("div",{className:"save-nav__link",children:(0,t.jsx)(o,{data:{...a}})},e))]})]})}],600825)},974174,e=>{"use strict";var t=e.i(124323),a=e.i(849543);e.s(["isSameDay",0,function(e,r,i){let[n,s]=(0,t.normalizeDates)(i?.in,e,r);return+(0,a.startOfDay)(n)==+(0,a.startOfDay)(s)}])},116607,e=>{"use strict";var t=e.i(635113);e.s(["isAfter",0,function(e,a){return+(0,t.toDate)(e)>+(0,t.toDate)(a)}])},344545,e=>{"use strict";var t=e.i(391398),a=e.i(432171),r=e.i(159080),i=e.i(203828),n=e.i(905027),s=e.i(548747),o=e.i(837720);let l=r.default`
433  query EcommerceAlert($slug: String!, $locationNumber: Int!) {
434    ecommerceAlert(locationNumber: $locationNumber, slug: $slug) {
435      title
436      ctaText
437      pages
438      ctaUrl
439    }
440  }
441`,c=n.default.div`
442  background-color: ${({theme:{c:e}})=>e.rustyRed};
443  padding: 26px 5%;
444  width: 100%;
445  align-items: center;
446  justify-content: center;
447  flex-direction: column;
448  margin: 18px 0%;
449  display: flex;
450  border-radius: 8px;
451  color: white;
452
453  .message {
454    font-family: ${({theme:{f:e}})=>e.overlock};
455    font-weight: bold;
456    text-align: center;
457    font-size: 18px;
458    font-weight: bold;
459    font-stretch: normal;
460    font-style: normal;
461    color: ${({theme:{c:e}})=>e.white};
462    line-height: 1.39;
463  }
464  .cta {
465    font-size: 15px;
466    cursor: pointer;
467    line-height: 2;
468    margin: 7px 0 0;
469    color: white;
470    border: 0px;
471    background-color: transparent;
472  }
473
474  @media (min-width: ${({theme:{bp:e}})=>e.dsk_sm}) {
475    padding: 16px
476      ${({fullWidth:e,isKiosk:t})=>e||t?"10%":"15%"};
477    width: ${({fullWidth:e,isKiosk:t})=>e||t?"100%":"90%"};
478    flex-direction: row;
479    justify-content: space-between;
480    margin: 33px
481      ${({fullWidth:e,isKiosk:t})=>e||t?"0%":"5%"};
482
483    .message {
484      font-size: 26px;
485      text-align: left;
486      line-height: 1.53;
487    }
488    .center-text {
489      width: 100%;
490      text-align: center;
491    }
492
493    .cta {
494      font-size: 16px;
495      line-height: 1.88;
496      margin: 0 8px;
497      min-width: 100px;
498    }
499  }
500`;e.s(["default",0,({fullWidth:e})=>{let{userStoreLocation:r}=(0,o.default)(),{pathname:n,query:{slug:d}}=(0,i.useRouter)(),u=n.includes("/shop"),p=d?.join("/")||"",{data:m}=(0,a.useQuery)(l,{fetchPolicy:"no-cache",variables:{slug:u?p:"home",locationNumber:r.number||0}}),g=m?.ecommerceAlert,{isKiosk:h}=(0,s.default)();return g?(0,t.jsxs)(c,{isKiosk:h,fullWidth:e,children:[(0,t.jsx)("div",{className:g.ctaText?"message":"message center-text",children:g.title}),!!g.ctaText&&(0,t.jsx)("button",{type:"button",onClick:()=>{window.open(g?.ctaUrl,"_blank")},className:"cta",children:`${g.ctaText} >`})]}):(0,t.jsx)(t.Fragment,{})}])},310103,e=>{"use strict";var t=e.i(391398),a=e.i(126019);let r=e.i(905027).default.div(()=>`
501    display: flex;
502    flex-direction: row;
503    justify-content: flex-start;
504    align-items: center;
505    width: 100%;
506
507    .user__photo {
508      display: inline-block;
509      width: 50px;
510      height: 50px;
511      float: left;
512      border: 2px solid white;
513      border-radius: 50%;
514      box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.1);
515      margin: 0 10px 0 0;
516    }
517
518    .user__info {
519      max-width: 53%;
520
521      * {
522        font-size: 14px;
523        text-overflow: ellipsis;
524        white-space: nowrap;
525        overflow: hidden;
526        text-transform: capitalize;
527      }
528    }
529
530    .user__name {
531      font-weight: 700;
532      padding-right: 4px;
533    }
534
535    .user__role {
536      font-style: italic;
537      padding-right: 4px;
538    }
539
540    .user__arrow {
541      margin-left: 5px;
542      background-image: url('/assets/img/arrow-down-here.png');
543      background-position: center center;
544      background-size: contain;
545      background-repeat: no-repeat;
546      width: 30px;
547      height: 26px;
548    }
549  `);e.s(["default",0,({photo:e,name:i,role:n,className:s})=>(0,t.jsxs)(r,{className:s,children:[(0,t.jsx)(a.default,{className:"user__photo",src:e,alt:i,width:50,height:50}),(0,t.jsxs)("div",{className:"user__info",children:[(0,t.jsx)("h1",{className:"user__name",children:i}),(0,t.jsx)("p",{className:"user__role",children:n})]}),(0,t.jsx)("div",{className:"user__arrow"})]})])},548558,e=>{"use strict";var t=e.i(350461),a=e.i(451048),r=e.i(275885);let i={enabled:!0,environment:"production",release:t.default.env.NEXT_PUBLIC_SENTRY_RELEASE||t.default.env.GIT_COMMIT_SHA||"",dsn:"https://[email protected]/5493801",tracesSampleRate:.1,ignoreErrors:["TypeError","_handler"],beforeSend:(e,t)=>{if(t){let e=t.originalException,a="",r="";"string"==typeof e?a=e:e instanceof Error&&(a=e.message,r=e.name||"");let i=["AxiosError","TypeError","Error","ReferenceError","SecurityError"].some(e=>0===r.indexOf(e)),n=!!["Failed to execute 'postMessage' on 'Window':","TypeError","SecurityError","_handler","Flipp","Load failed","Unexpected token","Failed to fetch","Expected identifier","The operation was aborted","attempting to fetch resource.","- Message: None","- Message: Internal server error","- Message: You do not have permission to perform this action"].find(e=>a.indexOf(e)>-1||r.indexOf(e)>-1);if(i||n)return null}return e.contexts={...e.contexts,storageDebug:{hasLocalStorage:!!window.localStorage,canUseLocalStorage:(()=>{try{return localStorage.setItem("__test","1"),localStorage.removeItem("__test"),!0}catch{return!1}})()}},e}};e.s(["default",0,(e,t,i)=>{a.withScope(a=>{a.setExtras(i),r.captureMessage(e,t)})},"sentryConfig",0,i])},897990,e=>{"use strict";var t=e.i(101541);let a=(0,e.i(686923).convertToFP)(t.set,2);e.s(["set",0,a])},707065,e=>{"use strict";var t,a,r=e.i(400474),i=e.i(191788),n=e.i(809440),s=e.i(468162),o=e.i(984110);e.i(734980);var l=function(e,t){var a=arguments;if(null==t||!r.h.call(t,"css"))return i.createElement.apply(void 0,a);var n=a.length,s=Array(n);s[0]=r.E,s[1]=(0,r.c)(e,t);for(var o=2;o<n;o++)s[o]=a[o];return i.createElement.apply(null,s)};t=l||(l={}),a||(a=t.JSX||(t.JSX={}));var c=(0,r.w)(function(e,t){var a=e.styles,l=(0,o.serializeStyles)([a],void 0,i.useContext(r.T)),c=i.useRef();return(0,s.useInsertionEffectWithLayoutFallback)(function(){var e=t.key+"-global",a=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",e),a.hydrate([i])),c.current=[a,r],function(){a.flush()}},[t]),(0,s.useInsertionEffectWithLayoutFallback)(function(){var e=c.current,a=e[0];if(e[1]){e[1]=!1;return}if(void 0!==l.next&&(0,n.insertStyles)(t,l.next,!0),a.tags.length){var r=a.tags[a.tags.length-1].nextElementSibling;a.before=r,a.flush()}t.insert("",l,a,!1)},[t,l.name]),null});function d(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,o.serializeStyles)(t)}e.s(["Global",0,c,"css",0,d,"keyframes",0,function(){var e=d.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}])},648761,e=>{e.v(t=>Promise.all(["static/chunks/010u~sewxmgu-.js"].map(t=>e.l(t))).then(()=>t(493594)))},828805,e=>{e.v(t=>Promise.all(["static/chunks/143769ic0sa2~.js"].map(t=>e.l(t))).then(()=>t(879466)))},854172,e=>{e.v(t=>Promise.all(["static/chunks/0w-.6il1zjic..js"].map(t=>e.l(t))).then(()=>t(202295)))}]);
550
551//# debugId=8f8453ec-d481-79be-d462-3c33e8f3db08
552//# sourceMappingURL=0x81rr_44jlc-.js.map

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.