PageSourceSearch

https://www.esquire.com/_assets/fre/scopes/hdm/_next/static/chunks/78610-92a833ce8de12a75.js

js esquire.com collected 2026-10-01 07:48:09 UTC 14,018 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[78610],{2464:(e,t,r)=>{r.d(t,{f:()=>u});var o=r(53225),n=r(30184),i=r(800),l=r(78860),a=r(59221),d=r(4093);function u(e){let{product:t,mediaType:r=null}=e,u=(0,i.BV)("lang_tag"),c=(0,i.BV)("layoutContextProps.siteData.metadata.showExactProductPrice"),s=(0,o._P)("fre.commerce.use-list-price-strikethrough")&&t.product_metadata?.show_price!==!1,p=(0,n.A)(),m="";return s&&(m=(0,d.zH)(t,u,c,p)),{cta:(0,a.z)({product:t,mediaType:r}),rel:(0,l.z)(t?.product_metadata?.isInternal)?"":"nofollow",saleListPriceText:m}}},22705:(e,t,r)=>{r.d(t,{A:()=>s});var o=r(1873),n=r(53520),i=r(39288),l=r(80444),a=r(2464),d=r(9954),u=r(71055);let c=["product","mediaType","themeOptions","sxProps","buttonLabelOverride"];function s(e){let{product:t,mediaType:r=null,themeOptions:s={},sxProps:p={},buttonLabelOverride:m=null}=e,b=(0,n.A)(e,c),{cta:f,rel:h,saleListPriceText:y}=(0,a.f)(e);return(0,d.Y)(l.mL,(0,o.A)({},b,{product:t,target:"_blank",rel:h,mediaType:r},s.EmbeddedProductButton,{sx:p.EmbeddedProductButton,[i.uN]:i.Rh}),y&&!m?(0,d.Y)(u.Fragment,null,(0,d.Y)(l.Qy,null,y)," "):null,m||f)}},28634:(e,t,r)=>{r.d(t,{I3:()=>u,NP:()=>d,oU:()=>s,pZ:()=>c});var o=r(78860),n=r(53225),i=r(800),l=r(86385);let a={amazon:{width:60,height:20,marginTop:"0.03rem",marginLeft:"0"},walmart:{width:70,height:20},bazaarvoice:{width:80,height:20}},d="commerce_product_card_star_ratings",u=e=>a[e]||{width:60,height:14};function c(){let e=(0,o.z)((0,n._P)("commerce.product.ratings")),t=(0,l.A)(d),r=(0,o.z)((0,i.BV)("data.content.0.metadata.commerce.ratings.enabled",!1));return e&&r&&"on"===t}function s(e){let{retailer:t}=e,{reviews_count:r,customer_rating:o}=t||{};return r&&r>9&&o}},36984:(e,t,r)=>{r.d(t,{A:()=>c});var o=r(1873),n=r(71055),i=r(88988),l=r(800),a=r(20339),d=r(14807),u=r(9954);let c=function({headline:e="",code:t="",dateEnd:r="",themeOptions:c={},sxProps:s={}}){let{0:p,1:m}=(0,n.useState)(!1),[b,f]=(0,a.Bd)(["content.product.coupon.tap-to-copy","date.format"]),h=(0,l.BV)("lang_tag");return t?(0,u.Y)(i.k2,(0,o.A)({},c.CouponWrapper,{sx:s.CouponWrapper}),(0,u.Y)(i.CY,c.CouponTagLabelWrapper,(0,u.Y)(i.o9,(0,o.A)({},c.CouponTagIcon,{title:"Coupon icon"})),(0,u.Y)(i.ZW,c.CouponTagLabel,e)),(0,u.Y)(i.hu,(0,o.A)({},c.CouponСopiedButton,{isVisible:p,"aria-label":"Coupon Code Copied!"}),"Copied!"),(0,u.Y)(i.p$,(0,o.A)({},c.CouponButton,{isVisible:!p,"aria-label":t,onClick:()=>navigator?.clipboard?.writeText(t)?.then(()=>{m(!0),setTimeout(()=>m(!1),1e3)})}),t),r?(0,u.Y)(i.sI,c.CouponTagText,b?.replace("{date}",(0,d.Te)({publishFrom:r,langTag:h,dateFormat:f}))):null):null}},55132:(e,t,r)=>{r.d(t,{J:()=>p});var o=r(93682),n=r(71055),i=r(12625),l=r(22730),a=r(800),d=r(87301),u=r(22433);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){(0,o.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e){let[t,r]=(0,i.fp)(u.TP),o=(0,l.Ay)("<sm"),c=o?d.Gf:d.Zx,p=(0,a.BV)("data.content.0.id"),m=t[p]||{selected:[],visible:null},b=m.selected||[],f=m.visible,h=b.includes(e),y=b.length>=c&&!h;return(0,n.useEffect)(()=>{o&&p&&(b.length<=d.Gf||r(e=>{let t=e[p]||{selected:[],visible:null},r=t.selected||[];return r.length<=d.Gf?e:s(s({},e),{},{[p]:s(s({},t),{},{selected:r.slice(0,d.Gf)})})}))},[o,p,b.length,r]),{selectedItems:t,currentlyVisibleProduct:f,isLimitReached:y,setSelectedItems:r,isChecked:h,handleToggleProduct:t=>{let o=e||t;r(e=>{let t=e[p]||{selected:[],visible:null},r=t.selected||[],n=[...r],i=t.visible;return r.includes(o)?n=n.filter(e=>e!==o):o&&n.length<c&&(n.push(o),i===o&&(i=null)),s(s({},e),{},{[p]:s(s({},t),{},{selected:n,visible:i})})})},handleAddProductToComparison:e=>{null!=e&&("string"==typeof e||"number"==typeof e)&&r(t=>{let r=t[p]||{selected:[],visible:null},o=r.selected||[];if(o.includes(e)||o.length>=c)return t;let n=[...o,e],i=r.visible;return i===e&&(i=null),s(s({},t),{},{[p]:s(s({},r),{},{selected:n,visible:i})})})},currentArticleList:b,articleId:p}}},62987:(e,t,r)=>{r.d(t,{T:()=>j,u:()=>I});var o=r(93682),n=r(71055),i=r(12625),l=r(45025),a=r(18952),d=r(59830),u=r(38815),c=r(3666),s=r(86385),p=r(7144),m=r(68036),b=r(83222),f=r(174),h=r(5647),y=r(28634),g=r(89205),v=r(55132),A=r(50804),P=r(82981),k=r(33911),x=r
1(7855);function _(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?_(Object(r),!0).forEach(function(t){(0,o.A)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}let O=["product-btn-link"];function C({isRatings:e}){return{$opt_event_properties:{primaryUx:e?"rrb":""}}}function I(e){let{layoutType:t,onClick:r,product:o}=e,i=(0,c.A)(o),d=(0,u.IC)(i),{inView:f,ref:h}=(0,b.A)({rootMargin:"0px 0px",threshold:.5}),{inView:v,observer:A,ref:P}=(0,b.A)({rootMargin:"0px 0px",threshold:.5}),k=(0,n.useCallback)(e=>{e!==h.current&&h(e),e!==P.current&&P(e)},[]),x=`${O.concat(d).join(" ")}`,_=`${O.concat("product-btn-link-multi-retailer",d).join(" ")}`,w=(0,y.pZ)(),I=(0,y.oU)(o),j=w&&I,T=(0,a.vC)(o),B=[t===l.OC.productSummaryView&&"psv",!!j&&"rrb",!!T&&"bdb"].filter(Boolean).join("|"),Y=(0,s.A)("gift_guide"),z=(0,s.A)("gift_module"),E=!!(0,s.A)(g.l),S=(0,s.A)(y.NP),W=Y||z,D=W||E,V=!!o?.ecm_affiliate_experiment,U=o?.retailer?.price,[,L]=(0,p.A)("product_click_total"),[,N]=(0,p.A)("ProdClick"),[,R]=(0,p.A)("prod_click_star_ratings"),[,M]=(0,p.A)("affiliate_item_click"),[,$]=(0,p.A)("ProdPrimaryRetailerClick"),[,G]=(0,p.A)("ProdMultiRetailerClick"),[,F]=(0,p.A)(m.Bk),Z=(0,n.useCallback)(e=>{if(W&&L(),D&&(N(),M()),S){let t=C({isRatings:j});R(e,t),$(e,t)}V&&F(e,{value:U}),r?.(e)},[D,V,W,j,r,S,U,M,F,$,R,N,L]);return{buttonClassName:x,halfInView:v,halfInViewRef:P,halfObserver:A,handleMultiRetailerClick:(0,n.useCallback)(e=>{if(W&&L(),D&&(N(),M()),S){let t=C({isRatings:j});R(e,t),G(e,t)}r?.(e)},[D,W,j,r,S,M,G,R,N,L]),handleProductButtonClick:Z,inView:f,isRatings:j,mrButtonClassName:_,primaryButtonType:B,updateRefs:k}}function j(e){let{inView:t,halfInView:r,halfInViewRef:o,halfObserver:l,product:a,mediaRole:u,mediaType:c,isRatings:m,alternatives:b,setViewButtons:_=()=>{},setEventData:O=()=>{},carouselPosition:I,primaryUx:j,productPosition:T,recommendationUnitId:B,disableViewableProductTracking:Y=!1}=e,z=(0,i.md)(h.H),{0:E,1:S}=(0,n.useState)(null),{setSelectedItems:W,isLimitReached:D,isChecked:V,articleId:U}=(0,v.J)(a?.id),L=(0,P.Ay)(),{isControl:N,isDisplayGrid:R}=(0,A.ho)(),M=(0,s.A)(y.NP),$=(0,s.A)("gift_module"),G=!!(0,s.A)("breaker_ads"),{isAboveTheFoldFeatureOn:F}=(0,k.a)(),Z=!!(0,s.A)(g.l),H=!!(0,s.A)(x.HX),J=C({isRatings:m}),[,K]=(0,p.A)("viewable_product_impression"),[,Q]=(0,p.A)("viewable_product_impression_star_ratings"),X=(0,d.du)({galleryId:a?.contentProps?.galleryId,mediaRole:u,mediaType:c,product:a,type:m?"rrb":""}),q={affLink:X["data-affiliate"],linkTreatment:X["data-vars-ga-link-treatment"],mediaRole:u,mediaType:c,prodBrnd:a?.product?.brand,rovProdId:X["data-vars-ga-product-id"],recommendationUnitId:B,sem3Id:a?.retailer?.sem3_id,swappedRetailerProdId:X["data-vars-ga-swapped-product-retailer-id"],sem3Cat:X["data-vars-ga-product-sem3-category"],sem3Brnd:X["data-vars-ga-product-sem3-brand"],itemId:a?.product?.id,itemName:a?.product?.name,offerId:a?.retailer?.id,offerPos:0,pos:T??I},ee=()=>{let e=w({},q);return e.affLink=!0,j?e.primaryUx=j:z?.[e.rovProdId]?.primaryUx&&(e.primaryUx=z[e.rovProdId].primaryUx),e};(0,n.useEffect)(()=>{r?null===E&&S(setTimeout(e=>{let t;S(null),t=ee(),Y||((0,f.A)("viewableProductImpression","Viewable Product Card",t),(0,f.A)("viewableOfferImpression","Viewable Product MR button",t)),l.current.unobserve(o.current),l.current.reset(),!Y&&b?.length&&b.forEach((e,r)=>{let o=w(w({},t),{},{offerId:e?.retailer?.id,offerPos:r+1});(0,f.A)("viewableOfferImpression","Viewable Product MR button",o)}),!Y&&($||G||N||R||Z||F||H)&&K(),!Y&&M&&Q(e,J)},1e3)):null!==E&&(clearTimeout(E),S(null))},[r]),(0,n.useEffect)(()=>(t?(D||V||!L||W(e=>{let t=e[U]||{selected:[],visible:null};return w(w({},e),{},{[U]:w(w({},t),{},{visible:a?.id})})}),O(ee()),_(!0)):L&&W(e=>{let t=e[U];return t&&t.visible===a?.id?w(w({},e),{},{[U]:w(w({},t),{},{visible:null})}):e}),()=>{_(!1),L&&W(e=>{let t=e[U];return t&&t.visible===a?.id?w(w({},e),{},{[U]:w(w({},t),{},{visible:null})}):e})}),[t])}},69391:(e,t,r)=>{r.d(t,{A:()=>m});var o=r(1873),n=r(53520),i=r(66726);let l=(0,r(5921).A)(i.A,{__themeKey:"product-button",sx:{textDecoration:"none",transition:"color, background 0.3s ease-in-out",display:"inline-block","&:focus-visible":{outlineColor:"body-cta-btn-link-focus"}}});var a=r(7144),d=r(49444),u=r(86385),c=r(3666),s=r(9954);let p=["children","onClick","product"],m=function(e){let{children:t,onClick:r,product:i}=e,m=(0,n.A)(e,p),[,b,f]=(0,a.A)("ProdClick"),[,h]=(0,a.A)("affiliate_item_click"),y=(0,c.A)(i),{trackRYAffiliate
1Click:g}=(0,d.r3)(y),[,v]=(0,a.A)("ProdClickAdBreaker"),A=!!(0,u.A)("breaker_ads");return(0,s.Y)(l,(0,o.A)({onClick:e=>{b(),h(),g(e),A&&v(),r&&r(e)},product:i},m,f),t)}},78610:(e,t,r)=>{r.d(t,{A:()=>w});var o=r(1873),n=r(42757),i=r(45025),l=r(80444),a=r(6913),d=r(59830),u=r(53995),c=r.n(u),s=r(36984),p=r(53225),m=r(22705),b=r(72635),f=r(44091),h=r(20339),y=r(68014),g=r.n(y),v=r(62987),A=r(9954);let P=g()(()=>r.e(83055).then(r.bind(r,83055)),{id:"bac6d80",loadableGenerated:{webpack:()=>[83055]}}),k=g()(()=>r.e(90875).then(r.bind(r,90875)),{id:"7f415d0",loadableGenerated:{webpack:()=>[90875]}}),{center:x}=n.aS,{large:_}=n.gS,w=function(e){let{align:t=x,galleryId:r="",layoutType:n=i.OC.single,mediaRole:u=null,mediaType:y=null,product:g,customDataThemeKey:w,disableMultiRetailer:O=!1,isProductCardRefreshEnabled:C=!1,size:I=_,sxProps:j={},themeOptions:T={},setViewButtons:B=()=>{},setEventData:Y=()=>{},carouselPosition:z,articleId:E=null,primaryUx:S=null,productPosition:W=null,recommendationUnitId:D=null,disableViewableProductTracking:V=!1}=e,{buttonClassName:U,halfInView:L,halfInViewRef:N,halfObserver:R,handleMultiRetailerClick:M,handleProductButtonClick:$,inView:G,isRatings:F,mrButtonClassName:Z,primaryButtonType:H,updateRefs:J}=(0,v.u)(e),K=(0,p._P)("product.content-product.couponing"),Q=(0,f.xP)(g,O),X=(0,h.Bd)("content.productButton.separatorMultiRetailer");if((0,v.T)({inView:G,halfInView:L,halfInViewRef:N,halfObserver:R,product:g,mediaRole:u,mediaType:y,isRatings:F,alternatives:Q,setViewButtons:B,setEventData:Y,carouselPosition:z,articleId:E,primaryUx:S,productPosition:W,recommendationUnitId:D,disableViewableProductTracking:V}),!g.retailer)return null;let q=(0,a.e)(i.OC.single,t).ProductButtons,ee=c()(q,T),et=C?P:m.A,er=C?k:m.A;return(0,A.Y)(l.ov,(0,o.A)({size:I,className:`size-${I}`},ee.ProductButtonsContainer,{sx:j.ProductButtonsContainer,"data-theme-key":"embedded-product-buttons-container","data-fp-embedded-product-buttons-container":!0,ref:J}),(0,A.Y)(et,(0,o.A)({product:g,className:U,galleryId:r,layoutType:n,mediaRole:u,mediaType:y,articleId:E,primaryUx:S,productPosition:W,recommendationUnitId:D,themeOptions:ee},w&&{"data-theme-key":w},{sxProps:j,type:H,onClick:$})),K&&g?.coupon?(0,A.Y)(s.A,(0,o.A)({sxProps:j.ProductCoupon,themeOptions:T?.ProductCoupon},g?.coupon)):null,!(0,b.I)(Q)&&C?(0,A.Y)(l.pI,{"data-theme-key":"separator-multi-retailer","data-fp-separator-multi-retailer":!0},X):null,(0,b.I)(Q)?null:(0,A.Y)(l.zL,null,Q.map((e,t)=>(0,A.Y)(er,{key:e.retailer.url,product:e,className:Z,galleryId:r,layoutType:n,mediaRole:u,mediaType:y,articleId:E,primaryUx:S,productPosition:W,recommendationUnitId:D,themeOptions:ee,sxProps:j,type:(0,d.aI)(e,t,F),onClick:M}))))}},80444:(e,t,r)=>{r.d(t,{Qy:()=>h,mL:()=>f,ov:()=>b,pI:()=>y,zL:()=>g});var o=r(38536),n=r(28270),i=r(69391),l=r(5921);let a=["[data-theme-key='embedded-product-button-v2-text-part']","[data-theme-key='embedded-product-multi-retailer-button-text-part']"],d=e=>e.map(e=>`&& ${e}`).join(", "),u=d(["[data-theme-key='embedded-product-button-v2']","[data-theme-key='embedded-product-multi-retailer-button']"]),c=d(["[data-theme-key='embedded-product-button-v2-price-part']","[data-theme-key='embedded-product-multi-retailer-button-price-part']"]),s=d(a),p=d(a.flatMap(e=>[`${e}:not(.no-price)`,`${e}:has(.sale-list-price)`])),m=d(["[data-theme-key='embedded-product-button-v2-text']","[data-theme-key='embedded-product-multi-retailer-button-text']"]),b=(0,o.A)("div",{target:"e1nsrss03"})((0,n.Ay)("embedded-product-button-container",{mb:"xs",display:"flex",flexDirection:"column",alignItems:"center",width:"100%",maxWidth:"100%",minWidth:0,[u]:{boxSizing:"border-box",width:"max-content",maxWidth:"100%",minWidth:0},[c]:{flexShrink:0},[s]:{boxSizing:"border-box",flex:"0 1 auto",width:"max-content",maxWidth:"none",minWidth:0},[p]:{maxWidth:"none"},[m]:{display:"block",width:"max-content",maxWidth:"100%",minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}),""),f=(0,l.A)(i.A,{sx:{"&:focus-visible":{outlineColor:"body-cta-btn-link-focus"}},__themeKey:"embedded-product-button"}),h=(0,o.A)("s",{target:"e1nsrss02"})((0,n.Ay)("embedded-product-sale-list-price",{textDecorationThickness:"1.5px"}),""),y=(0,o.A)("span",{target:"e1nsrss01"})((0,n.Ay)("separator-multi-retailer",{}),""),g=(0,o.A)("div",{target:"e1nsrss00"})((0,n.Ay)("product-multi-retailers-container",{display:"contents"}),"")}}]);

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.