PageSourceSearch

https://schnucks.com/_next/static/chunks/689-fb6f33a439781ea1.js

js schnucks.com collected 2026-10-01 11:36:02 UTC 11,255 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[689],{26198:function(e,t,r){r.d(t,{p:function(){return c}});var n=r(85893),l=r(80054),a=r(8527),s=r(93967),i=r.n(s);function c(e){var t,r;let{className:s,disclaimer:c}=e,u=null!=c&&null!==(t=c[0].children)&&void 0!==t&&!!t.length&&(1!==c.length||null!=c&&null!==(r=c[0].children[0])&&void 0!==r&&!!r.text);return(0,n.jsx)("div",{className:i()("mt-7 w-full",s),children:u?"object"==typeof c?(0,n.jsx)(a.V,{value:c}):c:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{children:l.F.ACCEPTED_PAYMENT_DISCLAIMER}),(0,n.jsx)("p",{children:l.F.ACCEPTED_PAYMENT_METHODS})]})})}},94742:function(e,t,r){r.d(t,{F:function(){return a},R:function(){return l}});var n=r(67294);let l=(0,n.createContext)(void 0),a=()=>(0,n.useContext)(l)},85491:function(e,t,r){r.d(t,{O:function(){return f}});var n=r(85893),l=r(68092),a=r(24189),s=r(80407),i=r(58013),c=r(67294);let u=(0,c.forwardRef)(function(e,t){let{className:r="",id:l,label:a,error:s,value:i,onChange:u,...o}=e,[d,m]=(0,c.useState)(""),h=(0,c.useId)(),f=null!=l?l:h,x=i||d,p=(0,c.useCallback)(e=>{m(e.currentTarget.value),null==u||u(e)},[u]);return(0,n.jsxs)("div",{className:"flex flex-col-reverse text-left ".concat(r),children:[(0,n.jsx)("p",{className:"mt-0.5 min-h-3 text-[0.6875rem] leading-3 text-red",children:s}),(0,n.jsx)("input",{ref:t,className:"peer h-10 w-full border px-1.5 text-sm outline-0 placeholder:text-sm placeholder:uppercase placeholder:text-black focus:border-[#0058C1] focus:shadow-[0rem_0rem_0.5rem_#0009] focus:placeholder:opacity-0 ".concat(s?"border-red":""),id:f,placeholder:a,value:i,onChange:p,...o}),(0,n.jsx)("label",{className:"px-2.5 text-xs uppercase leading-[0.875rem] ".concat(x?"":"opacity-0 peer-focus:opacity-100"),htmlFor:f,children:a})]})});var o=r(84585),d=r(87536),m=r(43704),h=r(39902);function f(e){let{className:t,hideTitle:r=!1,showFsa:f=!1,submitButtonLabel:x="Save Payment Method",disableSubmit:p=!1,onSubmit:v}=e,j=(0,c.useRef)(null),[w,y]=(0,c.useState)(!1),[g,N]=(0,c.useState)("0px"),[C,b]=(0,c.useState)(!1),[S,k]=(0,c.useState)(!1),{session:_,fetchSession:E}=function(){let[e,t]=(0,c.useState)(),[r,n]=(0,c.useState)(),l=(0,c.useCallback)(async()=>{t(void 0);let[e,r]=await (0,m.Y)((0,h.sg)({url:"payment-api/v1/payment-method-sessions",body:{},authenticated:!1}));r?(t(null),n(r)):t(e.SessionResponse)},[]);return(0,c.useEffect)(()=>
1{l()},[l]),{session:e,sessionError:r,fetchSession:l}}(),{register:A,trigger:P,watch:T,resetField:F,formState:{errors:R,isValid:I}}=(0,d.cI)(),M=T("zipCode"),L="fsa/hsa"===T("type"),z=p||w||!_||!C||!I,O=(0,c.useCallback)(async e=>{let t=_&&new URL(_.IFrameUrl);if(e.origin!==(null==t?void 0:t.origin)||"string"!=typeof e.data)return;let[r,n]=e.data.split("=");switch(r){case"enablePlaceOrder":b("true"===n);break;case"response":y(!0);try{await (null==v?void 0:v(JSON.parse(n),L,M))}catch(e){E(),k(!1),F("zipCode")}y(!1);break;case"iframeHeight":N(n)}},[E,L,v,_,M,F]);return(0,c.useEffect)(()=>(window.addEventListener("message",O),()=>window.removeEventListener("message",O)),[O]),(0,n.jsxs)("section",{className:t,children:[!r&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.J,{className:"mx-auto w-fit",name:"Lock",size:"2.5rem"}),(0,n.jsx)("p",{className:"text-center",children:"Transaction secured by"}),(0,n.jsx)("h1",{className:"text-center text-h3",children:"Aurus"})]}),f&&(0,n.jsxs)("div",{className:"my-2 space-y-2",children:[(0,n.jsxs)("div",{className:"flex gap-4",children:[(0,n.jsx)(i.X,{type:"radio",defaultChecked:!0,value:"credit/debit",...A("type"),children:"Credit/Debit Card"}),(0,n.jsx)(i.X,{type:"radio",value:"fsa/hsa",...A("type"),children:"*FSA/HSA Card"})]}),(0,n.jsx)("p",{className:"text-center text-[0.875rem]",children:"*Select FSA/HSA to register your medical expense account card for qualified in-store purchases."})]}),_&&(0,n.jsx)("iframe",{ref:j,className:"-mx-1 w-full",title:"Payment Method Window",id:"GCframe_carddetails",name:"GCframe_carddetails",onLoad:()=>k(!0),height:g,src:_.IFrameUrl}),S?(0,n.jsx)(u,{className:"-mt-3 mb-8 ml-0.5 mr-2",...o._.address.zipCode({register:A,errors:R,onBlur:()=>P("zipCode")}),label:"Billing Zip Code"}):(0,n.jsx)("div",{className:"flex min-h-96 items-center justify-center",children:(0,n.jsx)(s.P,{})}),(0,n.jsx)(l.z,{disabled:z,width:"full",onClick:()=>{var e;let t=null===(e=j.current)||void 0===e?void 0:e.contentWindow;if(!t)throw Error("Missing iframe content window");if(!_)throw Error("Missing Aurus Session data");let r=new URL(_.IFrameUrl);t.postMessage("aurus-token",r.origin)},children:x})]})}},97562:function(e,t,r){r.d(t,{W:function(){return d}});var n=r(85893),l=r(92340),a=r(32639),s=r(43704),i=r(26816),c=r(85491),u=r(74032),o=r(1005);function d(e){let{open:t,onClose:r}=e,{fulfillmentType:d}=(0,o.s)(),m=async(e,t,n)=>{let[,l]=await (0,s.Y)((0,u.I)({maskedCardNumber:e.masked_card_num,expiration:e.card_expiry_date,paymentMethodType:e.card_type,lowValueToken:e.one_time_token,application:"MOBILE_APP",fsa:t,transactionDescription:"Register payment method",billingZipCode:n}));if(l){(0,a.m)(l.message),null==r||r();return}(0,i.R)("Click Payment Method Saved",d),null==r||r()};return(0,n.jsxs)(l.u,{width:"sm",open:t,onClose:r,children:[(0,n.jsx)(l.u.Header,{title:"New Card",onClose:r}),(0,n.jsx)(l.u.Content,{className:"p-5",children:(0,n.jsx)(c.O,{onSubmit:m})})]})}},74032:function(e,t,r){r.d(t,{I:function(){return a}});var n=r(39902),l=r(97927);async function a(e,t){let r=await (0,n._0)({...t?{url:"payment-api/v1/users/authenticated/payment-methods",authenticated:!1,includeAuthorization:!1,extraHeaders:{"X-SCHNUCKS-SKIP-INTERCEPT":"true","X-SSO-SCHNUCKS-TOKEN":t}}:{url:"payment-api/v1/payment-methods",authenticated:!0,includeAuthorization:!0},method:"POST",body:e});return(0,l.j)(e=>"payment-api/v1/payment-methods"===e.url),r}},8527:function(e,t,r){r.d(t,{V:function(){return G}});var n={};r.r(n),r.d(n,{disclaimer:function(){return v},h1:function(){return o},h2:function(){return d},h3:function(){return m},h4:function(){return h},h5:function(){return f},h6:function(){return x},normal:function(){return p}});var l={};r.r(l),r.d(l,{bullet:function(){return w},number:function(){return y}});var a={};r.r(a),r.d(a,{TextReplacement:function(){return E},center:function(){return P},color:function(){return F},left:function(){return A},link:function(){return R},right:function(){return T}});var s={};r.r(s),r.d(s,{button:function(){return U},buttonsGroup:function(){return K},imageField:function(){return X}});var i=r(85893),c=r(16889),u=r(17206);let o=e=>{var t;let{children:r,value:n}=e;return null!==(t=j(r,n))&&void 0!==t?t:(0,i.jsx)("h2",{className:"text-h1",children:r})},d=e=>{var t;let{children:r,value:n}=e;return null!==(t=j(r,n))&&void 0!==t?t:(0,i.jsx)("h3",{className:"text-h2",children:r})},m=e=>{var t;let{children:r,value:n}=e;return null!==(t=j(r,n))&&void 0!==t?t:(0,i.jsx)("h4",{className:"text-h3",children:r})},h=e=>{var t;let{children:r,value:n}=e;return null!==(t=j(r,n))&&void 0!==t?t:(0,i.jsx)("h5",{className:"text-h4",children:r})},f=e=>{var t;let{children:r,value:n}=e;return null!==(t=j(r,n))&&void 0!==t?t:(0,i.jsx)("h6",{className:"text-h5",children:r})},x=e=>{var t;let{children:r,value:n}=e;return null!==(t=j(r,n))&&void 0!==t?t:(0,i.jsx)("h6",{className:"text-h6",children:r})}
1,p=e=>{var t;let{children:r,value:n}=e;return null!==(t=j(r,n))&&void 0!==t?t:(0,i.jsx)("p",{className:"text-body",children:r})},v=e=>{var t;let{children:r,value:n}=e;return null!==(t=j(r,n))&&void 0!==t?t:(0,i.jsx)("p",{className:"text-body-small",children:r})};function j(e,t){if(t){var r;if(!(null===(r=t.children)||void 0===r?void 0:r.some(e=>"span"!==e._type))&&!(0,u.Kv)(t).trim())return(0,i.jsx)("br",{})}if(Array.isArray(e)&&1===e.length&&""===e[0])return(0,i.jsx)("br",{})}let w=e=>{let{children:t}=e;return(0,i.jsx)("ul",{className:"list-disc pl-8 font-normal",children:t})},y=e=>{var t,r,n,l;let{children:a}=e,s="list-decimal";if(Array.isArray(a)&&a.length>0&&!isNaN(null===(r=a[0].props)||void 0===r?void 0:null===(t=r.value)||void 0===t?void 0:t.level)&&(null===(l=a[0].props)||void 0===l?void 0:null===(n=l.value)||void 0===n?void 0:n.level)>0){let e=a[0].props.value.level%3;0===e&&(s="list-[lower-roman]"),1===e&&(s="list-decimal"),2===e&&(s="list-[lower-alpha]")}return(0,i.jsx)("ol",{className:"pl-8 font-normal ".concat(s),children:a})};var g=r(42332),N=r(94742),C=r(41664),b=r.n(C);let S={left:"text-left",center:"text-center",right:"text-right",unset:""},k={unset:"",sm:"drop-shadow-text-sm",md:"drop-shadow-text-md",lg:"drop-shadow-text-lg"};var _=r(13891);let E=e=>{let{children:t,value:r}=e,n=(0,N.F)(),l=r&&n&&n[r.token];return(0,i.jsx)("span",{children:l||t})},A=e=>{let{children:t}=e;return(0,i.jsx)("span",{className:"block text-left",children:t})},P=e=>{let{children:t}=e;return(0,i.jsx)("span",{className:"block text-center",children:t})},T=e=>{let{children:t}=e;return(0,i.jsx)("span",{className:"block text-right",children:t})},F=e=>{let{children:t,value:r}=e;return r?(0,i.jsx)("span",{className:k[r.dropShadow],style:{color:(0,_.JT)(r,!0)},children:t}):(0,i.jsx)(i.Fragment,{children:t})},R=e=>{let{children:t,value:r}=e;return(0,i.jsx)(b(),{className:"underline ".concat((0,g.y)({variant:"text",color:"navy",width:"fit",size:"fit",defaultProps:!1})),...(0,_.LR)(r),children:t})};var I=r(20265),M=r(93967),L=r.n(M);let z={xs:"max-w-[6rem]",sm:"max-w-[12rem]",md:"max-w-[18rem]",lg:"max-w-[24rem]",xl:"max-w-[30rem]"},O={row:"flex-row",column:"flex-col"};function H(e){let{className:t="",link:r,color:n,variant:l,width:a,customWidth:s}=e;return(0,i.jsx)(I.r,{className:"".concat("custom"===a?z[s]:""," ").concat(t),variant:l,color:n,width:a,...(0,_.LR)(r),children:r.title})}let U=e=>{let{value:t}=e;return(0,i.jsx)("div",{className:S[t.alignment],children:(0,i.jsx)(H,{...t})})},D={left:"mr-auto",center:"mx-auto",right:"ml-auto",unset:""},K=e=>{let{value:{direction:t,buttons:r}}=e;return(0,i.jsx)("div",{className:"flex flex-wrap gap-4 ".concat(O[t]),children:r.map(e=>{let t=L()("whitespace-nowrap",D[e.alignment],{"w-full md:w-fit":"fit"===e.width});return(0,i.jsx)(H,{className:t,...e},e._key)})})};var Y=r(48763);let V={sharp:"rounded-none",sm:"rounded-md",md:"rounded-xl",lg:"rounded-3xl",full:"rounded-full"},X=e=>{var t;let{value:{source:r,size:n,customSize:l,aspectRatio:a,display:s,alignment:c,corners:u="sharp",isLink:o,link:d}}=e,m=function(e,t){switch(e){case"lg":return 512;case"md":return 256;case"sm":return 128;case"custom":return null!=t?t:"auto";default:return"auto"}}(n,l),h=(0,i.jsx)("img",{className:"object-cover ".concat(V[u]," ").concat(function(e,t){switch(e){case"block":switch(t){case"left":return"mr-auto";case"center":return"mx-auto";case"right":return"ml-auto";default:return""}case"inline":switch(t){case"left":return"float-left mr-2";case"right":return"float-right ml-2";default:return""}}}(s,c)),src:function(e,t){let r=(0,Y.u)(e);return"auto"===t?r.url():r.width(t).height(t).url()}(r,m),alt:null!==(t=r.alt)&&void 0!==t?t:"",width:m,height:m,loading:"lazy",style:{aspectRatio:a}});return o?(0,i.jsx)(b(),{...(0,_.LR)(d),children:h}):h},B={block:n,marks:a,list:l,types:s};function G(e){let{value:t}=e;return(0,i.jsx)(c.YI,{components:B,onMissingComponent:!1,value:t})}}}]);

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.