PageSourceSearch

https://www.off---white.com/mobify/bundle/5750/WishlistFlyout.js

js off---white.com collected 2026-09-24 17:58:07 UTC 6,015 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[476],{53656:(t,s,l)=>{l.r(s),l.d(s,{default:()=>W});var i=l(8108),e=l(42512),a=l(76664),o=l.n(a),_=l(33840),u=l(92568),y=l(41820),r=l(16719),n=l(59812),m=l(32364),h=l(57699),d=l(6136),p=l(61089),f=l(45616),c=l(10360);const w=(0,c.Os)({move:{id:"flyouts.wishlist.moveToBag",defaultMessage:[{type:0,value:"Add to Bag"}]},wishlistTitle:{id:"flyouts.wishlist.wishlistTitle",defaultMessage:[{type:0,value:"Wishlist"}]},notifyMe:{id:"flyouts.wishlist.notifyMe",defaultMessage:[{type:0,value:"Notify Me"}]},empty:{id:"flyouts.wishlist.empty",defaultMessage:[{type:0,value:"Your Wishlist is empty."}]},continue:{id:"flyouts.wishlist.continue",defaultMessage:[{type:0,value:"Continue Shopping"}]}}),g=(0,c.Os)({itemsCount:{id:"flyout.wishlist.totals.itemsCount",defaultMessage:[{type:6,value:"itemsCount",options:{one:{value:[{type:1,value:"itemsCount"},{type:0,value:" item in Wishlist"}]},other:{value:[{type:1,value:"itemsCount"},{type:0,value:" items in Wishlist"}]}},offset:0,pluralType:"cardinal"}]},wishlistLink:{id:"flyout.wishlist.totals.wishlistLink",defaultMessage:[{type:0,value:"View wishlist"}]}}),v=({classNames:t,total:s})=>{const l=(0,e.c)();return i.createElement("div",{className:o()(t,"WishlistFlyoutButtons__wishlist-flyout__buttons--R6Hpm")},i.createElement("span",{className:"WishlistFlyoutButtons__wishlist-flyout__buttons-total--KkYDR"},l.formatMessage(g.itemsCount,{itemsCount:s})),i.createElement(n.c,{url:"/wishlist",classNames:"WishlistFlyoutButtons__wishlist-flyout__buttons__view-wishlist--RyyoQ",variant:"primary"},l.formatMessage(g.wishlistLink)))},x={"display-from-extra-small":"WishlistFlyout__display-from-extra-small--zCjU1","display-above-extra-small":"WishlistFlyout__display-above-extra-small--sbV05","display-from-small":"WishlistFlyout__display-from-small--zo4ML","display-above-small":"WishlistFlyout__display-above-small--SC7FL","display-from-medium":"WishlistFlyout__display-from-medium--xj21Q","display-above-medium":"WishlistFlyout__display-above-medium--w1pQm","display-from-large":"WishlistFlyout__display-from-large--V4e5x","display-above-large":"WishlistFlyout__display-above-large--MBRS1","display-from-x-large":"WishlistFlyout__display-from-x-large--Faqt3","display-above-x-large":"WishlistFlyout__display-above-x-large--ZcZb2","display-from-xx-large":"WishlistFlyout__display-from-xx-large--sbSX5","display-above-xx-large":"WishlistFlyout__display-above-xx-large--x1yOo","display-from-xxx-large":"WishlistFlyout__display-from-xxx-large--Zj4_9","display-above-xxx-large":"WishlistFlyout__display-above-xxx-large--bgvTg","display-from-xxxx-large":"WishlistFlyout__display-from-xxxx-large--TuaRF","display-above-xxxx-large":"WishlistFlyout__display-above-xxxx-large--RfZ0l","wishlist-flyout":"WishlistFlyout__wishlist-flyout--ZfrPE","wishlist-flyout__wrapper":"WishlistFlyout__wishlist-flyout__wrapper--WW3Zy","wishlist-flyout__wrapper__empty":"WishlistFlyout__wishlist-flyout__wrapper__empty--pS5cz","empty-message":"WishlistFlyout__empty-message--uzUNT","wishlist-flyout__bottom-side":"WishlistFlyout__wishlist-flyout__bottom-side--wWn2e","wishlist-flyout__bottom-side__hidden":"WishlistFlyout__wishlist-flyout__bottom-side__hidden--fKQQR","wishlist-flyout__contents":"WishlistFlyout__wishlist-flyout__contents--x3tdY","wishlist-flyout__contents__title-wrapper":"WishlistFlyout__wishlist-flyout__contents__title-wrapper--c4bdV","wishlist-title":"WishlistFlyout__wishlist-title--Ldqa_","wishlist-flyout__contents-full":"WishlistFlyout__wishlist-flyout__contents-full--wToPJ","wishlist-flyout__contents-items":"WishlistFlyout__wishlist-flyout__contents-items--PB14a","wishlist-flyout__contents-wishlist__button":"WishlistFlyout__wishlist-flyout__contents-wishlist__button--RILhK","wishlist-flyout-items":"WishlistFlyout__wishlist-flyout-items--KHmQY"},W=({classNames:t})=>{const{managerRepository:s}=(0,y.w)(),{items:l,data:a}=(0,f.Oe)(),c=(0,e.c)(),[g,W]=(0,i.useState)(!0),b=a,F=(0,u.Mj)(l.map((t=>t.productId))).filter((t=>!t.isOffline())),N=(0,i.useCallback)((t=>{W((()=>t))}),[]),{handleScrollBottomRefSet:E}=(0,f.e4)(N),M=(0,i.useMemo)((()=>null!=b&&b.customerProductListItems?null==b?void 0:b.customerProductListItems.filter((t=>F.some((s=>s.getProductId()===t.productId)))).slice(0):[]),[l,F]);return i.createElement(m.c,{id:"wishlist",className:o()(t,"wishlist-flyout",x["wishlist-flyout"]),ref:E,showCloseButton:!0,withNavigationDSK:!0},F.length?i.createElement("div",{className:o()(x["wishlist-flyout__wrapper"])}
1,i.createElement("div",{className:o()(x["wishlist-flyout__contents"])},i.createElement("div",{className:x["wishlist-flyout__contents__title-wrapper"]},i.createElement("span",{className:x["wishlist-title"]},c.formatMessage(w.wishlistTitle))),i.createElement("div",{className:o()(x["wishlist-flyout__contents-full"],x["wishlist-flyout__contents-items"])},null==M?void 0:M.map(((t,s)=>{const l=F[s],e=l.isOrderable(),a=c.formatMessage(w[e?"move":"notifyMe"]);return i.createElement(h.c,{key:t.id,classNames:o()(x["wishlist-flyout__add-to-cart__button"],{"notify-me":!e,"long-message":a.length>15}),productID:t.productId,quantity:t.quantity,variationGroupID:t.c_variationGroupId,type:d._.WISHLIST,actionElement:i.createElement(r.c,{source:_.U3.WISHLIST,product:l,variant:"link-underline",classNames:{generalButton:o()(x["wishlist-flyout__contents-wishlist__button"])},overrideButtonsConfigurations:{buyNow:!1,moveFromWishlist:!0},labels:{addToCart:a}})})})))),i.createElement("div",{className:o()(x["wishlist-flyout__bottom-side"],{[x["wishlist-flyout__bottom-side__hidden"]]:!g})},i.createElement(v,{total:M.length}))):i.createElement("div",{className:o()(x["wishlist-flyout__wrapper__empty"])},i.createElement(p.c,{variant:"span",classNames:o()(x["empty-message"])},c.formatMessage(w.empty)),i.createElement(n.c,{classNames:o()(x["continue-shopping"]),onClick:()=>s.getFlyoutsMgr().closeFlyout("wishlist"),variant:"primary"},c.formatMessage(w.continue))))}}}]);

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.