PageSourceSearch

https://www.madewell.com/_next/static/chunks/2843.835dd4fcb634dcba.js

js madewell.com collected 2026-09-24 15:19:37 UTC 1,800 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2843],{42843:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>k});var o=n(89435),a=n(22172),i=n(89382),c=n(69950),d=n(20026),l=n(31768),s=n(90170),r=n(70311),m=n(15629),u=n(57940),C=n(61730),g=n(78963),f=n.n(g),p=n(91052),R=n(81461),h=n(5602),N=n(43753),j=n(58730),x=n.n(j);let O=e=>{let{form:t,onClick:n,amount:a,label:i}=e;return(0,o.jsx)(h.B,{onClick:()=>{t.change("amount","".concat(a)),n()},ariaLabel:i,className:x().gcButton,children:i})},_=(0,m.o)({countryCode:r.q.getCountryCode,giftCardOptionRecommendation:s.J.giftCardOptionRecommendation}),k=function(e){let{toggleGiftCardRecommendation:t,getGiftCardOptionRecommendationModel:n}=(()=>{let e=(0,u.w)(l.p),t=(0,u.w)(d.c);return{toggleGiftCardRecommendation:e.toggleGiftCardRecommendation,getGiftCardOptionRecommendationModel:t.getGiftCardOptionRecommendationModel}})(),{countryCode:s,giftCardOptionRecommendation:r}=(0,m.Z)(_);return(0,c.useEffect)(()=>{n()},[n]),i.M$.registerComponent(n=>(0,o.jsx)(O,{...e,...n,onClick:t}),{name:"GiftCardRecommendationButton",inputs:[{name:"amount",type:"number",required:!0},{name:"label",type:"string",required:!0}]}),(0,o.jsx)(N.default,{isOpen:!0,portalClassName:"giftCardRecommendationsModal",onClose:t,children:(0,o.jsxs)("div",{className:f().gcRecommendations,children:[(0,o.jsx)("div",{className:f().gcRecommendationsTitle,children:(0,o.jsx)(h.B,{ariaLabel:"Close",onClick:t,className:f().closeIcon,children:(0,o.jsx)(a.default,{src:p.A,alt:"Close"})})}),r&&Object.keys(r).length>0&&(0,o.jsx)("div",{className:f().gcRecommendationsContainer,children:(0,o.jsx)(R.BuilderContent,{model:C.zA.GIFTCARD_OPTION_RECOMMENDATION.id,content:r,countryCode:s})})]})})}},58730:e=>{e.exports={gcButton:"GiftCardRecommendationButton_gcButton__zz5T9"}}}]);

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.