Build 545032stable
Module 400669
983 characters · in ec147d0378713e7c.jsDependencies
Source Raw
function(t,e,i){i.d(e,{g:()=>A,l:()=>_});var r=i(627968),s=i(64700),l=i(17928),n=i(554146),a=i(139146),u=i(895360),o=i(152472),d=i(558845),c=i(909536),p=i(561794),h=i(495544),S=i(274681),I=i(788868),f=i(375708);let A={type:"image",src:i(201682).A},_=s.forwardRef(function(t,e){let{className:i,disabled:s,size:_,variant:E,location:m,forceDarkTheme:T}=t,y=I.pe.TIER_2,g=f.intl.string(f.t.lG6a5x),R=(0,c.Gh)("premium-wishlist-button-nux"),k=(0,l.bG)([h.default],()=>h.default.getId());(0,p.pE)();let{isWishlisted:C,isBusy:v,isFirstTimeWishlister:w,handleToggle:L}=(0,o.c)({userId:k,location:m,skuId:y,nuxGraphic:R?A:void 0,onNuxShow:R?u.D:void 0,onAddSuccess:S.w}),F=(0,d.mB)(n.M.PREMIUM_WISHLIST_COACHMARK);return(0,r.jsx)("div",{ref:e,className:T?"theme-dark":void 0,children:(0,r.jsx)(a._,{skuId:y,productName:g,className:i,disabled:s,size:_,variant:E,isWishlisted:C,isBusy:v,isFirstTimeWishlister:w,onClick:L,shouldShowTooltip:!F,tooltipConfig:{add:f.intl.string(f.t.cjmnm6)}})})})}