"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[63],{29:(e,t,i)=>{i.d(t,{a:()=>o});const o={container:"zZYXATlU",arrowLeft:"T3zumHX1",arrowRight:"mCzHjUji",collectionTitle:"BtjVOEsI",bestSeller:"kwgJR5Zg __bite_extend __bite_theme_bestSeller",textWrapper:"vhyT1_Ow",colorSwatchContainer:"VtFAkf4R",link:"RZRR9V1h",box:"tSvIqLRS",heroImageContainer:"tK5FSRVg",heroImage:"vvSCjQFx",title:"b1hb0tgk __bite_extend __bite_plpTitle",subtitle:"h5UYv_8A __bite_extend __bite_plpSubtitle",cardTags:"d_gLwJcI __bite_extend __bite_plpCardTags",cardTag:"huSs142o __bite_extend __bite_plpCardTag",price:"d9xb3vfY __bite_extend __bite_plpPrice",originalPrice:"PtH37qZj",plpPromoText:"cGil5j0b __bite_extend __bite_plpPromoText",collectionItems:"NYNuDbQO",sliderDots:"VM0oZ3MO",desktopItemsSlider:"RIlpuMoZ",mobileItemsSlider:"fN3ZpeWM",dot:"xbTpGfqs",dotActive:"cqyxTRes",vendor:"oPFTGBbi __bite_extend __bite_plpVendor",selectedOptions:"_Vfepnri",empty:"e4Rdzvrr",quickshopIconButton:"nQMawdb3 __bite_extend __bite_theme_quickshopIconButton",quickshopIcon:"ZZqp37FZ",quickshopOverlay:"SF7MZ_jU __bite_extend __bite_theme_quickshopOverlay"}},56:(e,t,i)=>{i.d(t,{a:()=>o});const o={card:"FsH1Ogqo",media:"Njgd3A19",title:"Ck6mKdCz",body:"CtyUETPR",cta:"DxUkP_hh",cta_primary:"Or2GoXCW",cta_secondary:"Pw8Yz41b",cta_tertiary:"Kwk2DRS_"}},39:(e,t,i)=>{i.d(t,{a:()=>o});const o={container:"C9VtQ9xK",mainTitle:"Xpg4TNVK",subTitle:"EYcD112D",optionsRow:"jXINhOsm",optionButton:"Y6e_uY66",active:"znv4P3xK",children:"wlNhqnBL"}},35:(e,t,i)=>{i.d(t,{a:()=>o});const o={container:"LixAkx1y",imageContainer:"gclOIT5L",image:"Y5wVMJ4Q",details:"A4FyDY7j",title:"cMcEwdYe",subDetails:"McFQUCvJ",stylesAvailable:"bAroljYu",inStock:"to5yoRvj",dropdownIcon:"dqjUwhJm",legend:"fFjN7VDe",swatchLabel:"nfY_i_Nk",checked:"uAsxnra9"}},14:(e,t,i)=>{i.d(t,{a:()=>o});const o={accordion:"fmJEoApf",noTopBorder:"Vkp0_3He",section:"ZJCsmW3Z",toggle:"NM_YOWAF",labelAccordian:"gMfWhlvk",sectionHeading:"UXHjrgo4",arrow:"iVRau9iH",content:"Yn9kwIny",contentWithGap:"QZ6IQcPi",iconCaret:"UgDfblcC"}},27:(e,t,i)=>{i.d(t,{a:()=>o});const o={container:"O9IcGWrR",sizeGuideContainer:"Sjgd8MXw __bite_extend __bite_theme_sizeGuideContainer",compact:"PMfnO_UZ",sizeGuideLabel:"maXcOloV",modalOverlay:"o3JfeQ8Y",modal:"rDogYdZh",modalImage:"UWyRdhCC",modalBackground:"nsap7aGo",closeBtn:"LeKie3P2",closeIconSVG:"twjfhJqJ",optionLabels:"v26a1W51",optionLabelsMoreColors:"ffMQMNB_",small:"vzwk4W6S",colorOptionLabels:"sSQma0jm",styled:"uyfJAMOS",oneLine:"OXuRyDa7",scrollable:"HmwBzsc0",scrollContainer:"BOTReWr_",scrollIndicator:"Q9SKBA7T",left:"pzmk77FP",right:"RJxu02cY",scrollIndicatorRight:"sxGsPWUu",optionLabelsSlideUpModal:"KxvdnHon",colorOptionSlideUpModal:"sRhGufaC",moreColors:"TUQP7fb6",moreColorsHasSelection:"Z2pwKPx4",colorOption:"BSnU3jak __bite_extend __bite_theme_productHeroOptions_colorOption",colorOptionSmall:"ueI1yDi4 __bite_extend __bite_theme_productHeroOptions_colorOptionSmall",styleSelector:"iEeSm8vy",isStyleOption:"F9WAUe61",saleLabel:"V4w7fowI __bite_extend __bite_theme_saleLabel",priceLabel:"tczX4obk",noSwatchImage:"XSvSsyWQ",colorOptionSelected:"QMl69tAx __bite_extend __bite_theme_productHeroOptions_colorOptionSelected",styleOptionSelected:"G7hdFyhC",styleOptionNotSelected:"rxLxwecl",sizeOption:"MSGuc0os __bite_extend __bite_theme_sizeOption",sizeOptionSmall:"_LAImWda __bite_extend __bite_theme_sizeOptionSmall",soldOut:"z_5wn5b_",soldOutLineThrough:"tCLVYX2m sold-out-line-through",sizeOptionSelected:"UXdMckXt __bite_extend __bite_theme_sizeOptionSelected",swatch:"ac9ZfQJE __bite_extend __bite_theme_swatch",label:"EIfulk0V",smallOptionLabel:"UixcHeUq",optionContainer:"SJQFNexH",visuallyHidden:"zkx8p4KR",divider:"pWq23Myu",resetLinkStyles:"N1cHTXJ7",swatchCell:"bX4zn5yp",swatchLink:"rT_t40hf",swatchLabel:"zeFIfsbj",visuallyHiddenInput:"nsPObcoG",dropdown:"TkYtS_aR",notSelected:"tqz2GDVR",modalOptionVariantTitle:"S2HQLJv3",modalOptionVariantSubtitle:"jEgvypoO",modalOptionTag:"xFTwvVaz",preOrderTag:"S18UQ2my",priceChange:"QVHi26tH",preOrderPriceChange:"VmMY_ekm",sizeGuidePage:"H_xKFYaR","sizeGuide-cta":"tnXtDZXh","sizeGuide-desc":"YrAAd0Fq"}},41:(e,t,i)=>{i.d(t,{a:()=>o});const o={drawerBody:"tMqn4SDE",sizeGuide:"ZQyI2ABK",heading:"DAtXzW7T",tabs:"Igd6r_gc",tab:"mXHw8ef3",active:"OWsnWHan",content:"xjW5aPjH",imageWrapper:"eIfc67LG",imageDescription:"KZWcm0S3",image:"lPZy47WR",measurementInfo:"MFNX6UfK",description:"CRYJWq1V",fit:"kxt5nirV",staticSlider:"B3L5PNeJ",thumb:"__81auOz",sliderLabels:"knR9kYRM",sliderLabelsStrong:"fQQek48H",tableWrapper:"khwhlJbP",table:"jj9_9SdG",unit:"pmcLV3ib",colHover:"vJGDGOyU",rowHover:"p1kJN6rn",cellActive:"XOZBsEtn",toggleMobile:"W_b8LS3M",toggleDesktop:"vfb0QF4V",unitToggle:"agLBlxdF",selected:"G0YhMsDK",switch:"mR2g0p0l",sliderSwitch:"AXFKAlss",slider:"lds10kV9"}},20:(e,t,i)=>{i.d(t,{a:()=>o});const o={container:"lJdQwzYh",small:"FZXIRNTB",productPriceDefault:"R2JvcJin __bite_extend __bite_theme_productHeroPrice_productPriceDefault",productPrice:"pVzkKcC7 __bite_extend __bite_theme_productHeroPrice_productPrice",compareAtPrice:"f7Y7WbCg __bite_extend __bite_theme_productHeroPrice_compareAtPrice",competitorPrice:"aftQXg8T __bite_extend __bite_theme_productHeroPrice_compPrice",login:"IBT6ZD4a",memberLink:"NgDvddjN",pricePill:"hVEOmGAB",pricingPolicyLabel:"YOXiFwY8",pricingPolicyCheckbox:"rSlb7WVn",modalOverlay:"ZbyY7W6Y",modal:"pqAtdOx3",modalImage:"R32tPmBt",modalBackground:"kC5EZFzk",closeBtn:"cquYxt54",pricingPolicy:"zHE03LgR",pricingHeader:"BgIIdEbc",pricingText:"eFFesRir",pricePolicyInnercontainer:"MtaJsqe8",header:"kMgZV8eq",toggleButton:"JjXXJ26g",content:"mt3p8uus",afterpayContainer:"wAydGs49 __bite_extend __bite_theme_productHeroPrice_afterpay",afterpayText:"bZV9yDQ6",afterpayLogo:"v0eOLlo0",afterpayLink:"cy2sGp9N",traditionalLayout:"fOMJZwV_",traditionalPriceColumn:"nY257Bp9 __bite_extend __bite_theme_traditionalPriceColumn",traditionalCompareColumn:"UZO1lxhO __bite_extend __bite_theme_traditionalCompareColumn",traditionalCompareDisplay:"vgSHdAvB",savingsText:"JnJwLcGt __bite_extend __bite_theme_productHeroPrice_savingsText",traditionalRetailText:"sYvTWUx2 __bite_extend __bite_theme_productHeroPrice_traditionalRetailText"}},50:(e,t,i)=>{i.d(t,{a:()=>o});const o={container:"bKnb2nke"}},49:(e,t,i)=>{i.d(t,{a:()=>o});const o={reviews:"TpY2McXS",cardReviews:"nuUq8YWl",reviewStars:"bbZRGjDa",star:"_QGknYr3",reviewCount:"ZkmEKtRN",reviewCountText:"NUYrNV6R",reviewCountParenthesized:"eNCwmy_6"}},23:(e,t,i)=>{i.d(t,{a:()=>o});const o={gallery:"utYziQAE",imageContainer:"u7hALhRV",image:"HRX192Oq",imageMessage:"C0mfa5lU",review:"jT_XY_1t",reviewHeader:"c37mM92e",title:"pfrMrpCr",author:"EcdUmPEh",truncated:"YcyRuLBB",expanded:"IomlcWA2",modal:"EQpOtFeT",fadeIn:"sVWQQ9or",fadeOut:"sZfxzYzK",modalInner:"Lg4GX5Y4",modalContent:"OpbIhP35",modalOverlay:"iZzCdFwp",modalHeader:"wek3E8S1",fullBleedImage:"i2zolDuA",slideUp:"u96mNKND",slideDown:"jAr2PKY3",closeButton:"MvI_gVPT",modalTextContent:"bihC0FqM",modalBodyText:"ksR2mAtx",loadMoreButton:"QklUYRZO",reviewsHeader:"KjJxq4iV"}},42:(e,t,i)=>{i.d(t,{a:()=>o});const o={overlay:"vmeqUaCA",overlayVisible:"cf6ygfG7",backdrop:"CMWNg6LH",overlayHidden:"bcQJu1zm",drawer:"AksvsL_M",drawerRight:"m1PQiRXi",drawerLeft:"z4QWGWao",drawerOpen:"ynKZs_wS",drawerHeader:"aM7Wpnhn",closeButton:"TbIQ7vqR",drawerContent:"iV4jkhA6"}},16:(e,t,i)=>{i.d(t,{a:()=>o});const o={modalOverlay:"pKklj6A7",modalOverlayHidden:"FbGOep4Z",modalBackground:"srpRGD58",modal:"L76vEo7G",fitContent:"dC1D3FxI",closeBtn:"E2U6v0rP",closeIconSVG:"SMOJf3ND",modalImage:"v3EoYlrW",sizeGuidePage:"tZxZJ5xu",modalOverlayBottomSheet:"aTeBB3HC",modalBottomSheet:"rRLnrN0A __bite_extend __bite_theme_modalBottomSheet",slideUp:"woWeB2Ks",fadeIn:"rXVUk9Yk",large:"shRTi3NB",closing:"oitbq3f8",slideDown:"GC4NNj4H",fadeOut:"jtefEfQd",bottomSheetHeader:"pfc5sVVL",bottomSheetTitle:"WYgR_YWU",bottomSheetCloseBtn:"Ti_CbCl8",bottomSheetCloseBtnFloating:"PDrsEZxz",bottomSheetContent:"VI6yo2BU"}},18:(e,t,i)=>{i.d(t,{a:()=>o});const o={wishlistContainer:"jRlsVCot __bite_extend __bite_theme_wishlistContainer",wishlistButton:"ctbTZqfr jRlsVCot __bite_extend __bite_theme_wishlistContainer __bite_extend __bite_theme_wishlistButton",wishlistButtonIcon:"Iss5I7uB",wishlistButtonPDP:"FdsXzuwl ctbTZqfr jRlsVCot __bite_extend __bite_theme_wishlistContainer __bite_extend __bite_theme_wishlistButton",pdpImageDesktop:"cJBLNq_Q",pdpImageMobile:"VJdwZWfE",wishlistButtonPLP:"X4YRRsog ctbTZqfr jRlsVCot __bite_extend __bite_theme_wishlistContainer __bite_extend __bite_theme_wishlistButton",menuItemLink:"KCUcKOJW menuItemLink __bite_extend __bite_theme_menuItemLink",wishlistNav:"hYyHs83Q jRlsVCot __bite_extend __bite_theme_wishlistContainer",wishlistNavIcon:"jrjh9AQB",wishlistNavLabel:"hryykMDx",wishlistNavCount:"Y5u0ouJF"}},281:(e,t,i)=>{var o=i(0),n=i(142),r=i(222),l=i(1);function a({device:e,disableLazyLoad:t,apps:{product:i}}){var a;const[s,c]=(0,l.useState)(null!=t&&t);(0,l.useEffect)((()=>{const e=document.getElementById("cart-toggle");if(!e)return;const t=()=>{e.checked&&!s&&(c(!0),e.removeEventListener("change",t))};return e.addEventListener("change",t),e.checked&&!s&&c(!0),()=>{e.removeEventListener("change",t)}}),[s]);const d={handle:"insider-recommendations",title:"Recommendations",products:[]};return s?(0,o.jsx)(r.a.Provider,{value:"fullLine",children:(0,o.jsx)(n.a,{collection:d,display_name:null!==(a=d.title)&&void 0!==a?a:"",desktop_product_limit:10,desktop_slider:2.5,mobile_product_limit:10,mobile_slider:"2.5",recommendation_algorithm:"insider-recommendations",device:e,apps:{product:i}})}):null}var s=i(2),c=i(5),d=i(9);const _=[d.a];s.BentoUI.feature({featureId:"cart_recommendations",variations:[s.BentoUI.variation({variationId:"default",hydrate:!0,component:a,apps:_,render(e){return t=this,i=arguments,n=function*({context:e}){const t=new URL(e.request.url),{strippedPathname:i}=(0,c.h)(t.pathname);return{props:{device:e.device,disableLazyLoad:i.startsWith("/cart")}}},new((o=void 0)||(o=Promise))((function(e,r){function l(e){try{s(n.next(e))}catch(e){r(e)}}function a(e){try{s(n.throw(e))}catch(e){r(e)}}function s(t){var i;t.done?e(t.value):(i=t.value,i instanceof o?i:new o((function(e){e(i)}))).then(l,a)}s((n=n.apply(t,i||[])).next())}));var t,i,o,n}})]}),(0,s.createEntrypoint)("cart_recommendations",a,_)},28:(e,t,i)=>{i.d(t,{a:()=>n,b:()=>o,c:()=>r});const o=28,n="https://shalom-development-worker-may-2024.digitaloptgroup.workers.dev";function r(e){return function(e){return 100*Math.round(e)!==Math.round(100*e)?e.toFixed(2):Math.round(e).toString()}("number"==typeof e?e:parseFloat(e))}},108:(e,t,i)=>{i.d(t,{a:()=>_});var o=i(0),n=i(4),r=i(29),l=i(52),a=i(1),s=i(82);function c({filterList:e}){const t=(0,a.useMemo)((()=>function(e){return null==e?void 0:e.some((e=>{var t;return null===(t=e.values)||void 0===t?void 0:t.some((e=>e.selected))}))}(e)),[e]);return(0,o.jsxs)("div",{class:r.a.empty,children:[(0,o.jsx)("h2",{children:"No Results"}),(0,o.jsx)("button",{"data-has-selected-filters":t,onClick:()=>{(0,s.c)(e)},children:"Clear Filters"})]})}var d=i(64);function _({collection:e,mobile_slider:t="disabled",desktop_slider:i="disabled",device:s,collectionApp:_,productApp:u,processedDisruptors:p}){var m,h,b,f;const v=null!==(m=null==_?void 0:_.collection.value)&&void 0!==m?m:e,g=null!==(h=null==v?void 0:v.products)&&void 0!==h?h:[],x=null!==(b=null==v?void 0:v.handle)&&void 0!==b?b:"",y=null==_?void 0:_.filterList.value,C=null!=p?p:null===(f=null==v?void 0:v.transformedMetafields)||void 0===f?void 0:f.disruptors,[w,k]=(0,a.useState)(0),[O,S]=(0,a.useState)(!0),[I,L]=(0,a.useState)(!1),j=(0,a.useRef)(null),R=(0,a.useRef)(null),P=()=>{const e=j.current,t=R.current;if(!e||!t)return;const i=e.scrollWidth-e.clientWidth,o=i>0?e.scrollLeft/i:0;t.style.setProperty("--scroll-progress",o.toString()),S(e.scrollLeft<=0),L(i<=0||e.scrollLeft>=i-1)},B=()=>{const e=j.current;if(!e)return;P();const t=e.getBoundingClientRect(),i=Array.from(e.children),o=i[i.length-1].getBoundingClientRect().right-t.right<45;let n=1/0;i.forEach(((e,i)=>{const r=e.getBoundingClientRect();if(o&&r.left<0)return;const l=Math.abs(r.left-t.left)+(r.left<0?20:0);lt?e.flatMap(((e,i)=>{const o=t.find((e=>e.position===i+1));return o?[o,e]:e})):e),[e,t])}(g,C);return(0,a.useEffect)((()=>{const e=j.current;if(e)return e.addEventListener("scroll",B),P(),()=>{e.removeEventListener("scroll",B)}}),[j.current]),0===T.length?(0,o.jsx)(c,{filterList:y}):(t=function(e,t){return 1===e||"1.5"===t?"1.5":2===e?"disabled":t}(T.length,t),(0,o.jsxs)(n.Fragment,{children:[(0,o.jsxs)("div",{class:r.a.container,ref:R,children:["disabled"!==i&&"desktop"===s?(0,o.jsx)(d.a,{direction:"left",onClick:()=>{const e=j.current;if(!e)return;const t=.8*e.offsetWidth;e.scrollBy({left:-t,behavior:"smooth"})},className:r.a.arrowLeft,ariaLabel:"Previous products",disabled:O}):null,(0,o.jsx)("div",{class:[r.a.collectionItems,"disabled"!==i&&r.a.desktopItemsSlider,"disabled"!==t&&r.a.mobileItemsSlider].join(" "),style:{"--collection-desktop-slider-size":i,"--collection-mobile-slider-size":t},ref:j,"data-slider":"disabled"!==t||"disabled"!==i?"true":void 0,children:T.map(((e,t)=>{if(!e)return null;const i="defaultVariantId"in e?`${e.handle}${e.defaultVariantId}`:`${e.handle}${t}`;return(0,o.jsx)(l.b,{product:e,collectionHandle:x,productApp:u},i)}))}),"disabled"!==i&&"desktop"===s?(0,o.jsx)(d.a,{direction:"right",onClick:()=>{const e=j.current;if(!e)return;const t=.8*e.offsetWidth;e.scrollBy({left:t,behavior:"smooth"})},className:r.a.arrowRight,ariaLabel:"Next products",disabled:I}):null]}),"disabled"!==t&&T.length>=parseFloat(t)&&(0,o.jsx)("div",{class:r.a.sliderDots,children:g.slice(0,["2.0","2.5"].includes(t)?g.length-1:g.length).map(((e,t)=>(0,o.jsx)("button",{type:"button",class:[r.a.dot,t===w&&r.a.dotActive].join(" "),onClick:()=>(e=>{const t=j.current;if(!t)return;const i=Array.from(t.children)[e];i&&i.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})})(t),"aria-label":`Go to product ${t+1}`},t)))})]}))}},64:(e,t,i)=>{i.d(t,{a:()=>n});var o=i(0);function n({direction:e,onClick:t,className:i,ariaLabel:n,disabled:r}){return(0,o.jsx)("button",{className:i,onClick:t,disabled:r,"data-orly-type":"left"===e?"carousel-prev-btn":"carousel-next-btn","aria-label":n||("left"===e?"Previous":"Next")+" slide",children:(0,o.jsx)("svg",{width:"6",height:"10",viewBox:"0 0 6 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{transform:"right"===e?"rotate(180deg)":"none"},"aria-hidden":"true",children:(0,o.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.35408 9.2621C5.40065 9.21566 5.43759 9.16048 5.4628 9.09974C5.488 9.03899 5.50098 8.97387 5.50098 8.9081C5.50098 8.84233 5.488 8.77721 5.4628 8.71647C5.43759 8.65572 5.40065 8.60055 5.35408 8.5541L1.70708 4.9081L5.35408 1.2621C5.44797 1.16822 5.50071 1.04088 5.50071 0.908102C5.50071 0.775327 5.44797 0.647989 5.35408 0.554102C5.2602 0.460216 5.13286 0.407471 5.00008 0.407471C4.86731 0.407471 4.73997 0.460216 4.64608 0.554102L0.646083 4.5541C0.59952 4.60055 0.562577 4.65572 0.53737 4.71647C0.512164 4.77721 0.499189 4.84234 0.499189 4.9081C0.499189 4.97387 0.512164 5.03899 0.53737 5.09974C0.562577 5.16048 0.59952 5.21566 0.646083 5.2621L4.64608 9.2621C4.69253 9.30867 4.7477 9.34561 4.80845 9.37081C4.86919 9.39602 4.93432 9.409 5.00008 9.409C5.06585 9.409 5.13097 9.39602 5.19172 9.37081C5.25246 9.34561 5.30764 9.30867 5.35408 9.2621Z",fill:"currentColor"})})})}},142:(e,t,i)=>{i.d(t,{a:()=>u});var o=i(0),n=i(4);const r={container:"TSbXzNCe",titleContainer:"vMPtAMR0",title:"RUZvNR_L",link:"yIerFuKr",button:"TMNTDv1E"};var l=i(108),a=i(1),s=i(2),c=function(e,t,i,o){return new(i||(i=Promise))((function(n,r){function l(e){try{s(o.next(e))}catch(e){r(e)}}function a(e){try{s(o.throw(e))}catch(e){r(e)}}function s(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(l,a)}s((o=o.apply(e,t||[])).next())}))};function d(){try{const e=localStorage.getItem("spUID");return e?JSON.parse(e).data:null}catch(e){return console.error("Error getting insider user id:",e),null}}var _=function(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(o=Object.getOwnPropertySymbols(e);n{if(!t||!["shopify-related","shopify-complementary","insider-recommendations"].includes(t))return;if("insider-recommendations"!==t&&!i)return;if(r-e.filter(Boolean).length<=0)return;const o=new AbortController;return(()=>{c(this,void 0,void 0,(function*(){try{const n=yield(0,s.getLazyState)("recommendations",{productId:i||"",recommendationAlgorithm:t,limit:r,payload:"insider-recommendations"===t?{insiderUserId:d(),insiderRecommendationAlgorithmVariation:(0,s.getAssignment)("bite_cart_upsells_algorithm")}:void 0});if(!o.signal.aborted&&(null==n?void 0:n.products)){const t=[...e,...n.products];_(function(e,t){const i=[];for(const o of e)if(i.find((({id:e})=>o.id===e))||i.push(o),i.length>=t)break;return i}(t,r)),p(n.title)}}catch(e){console.error("Failed to fetch product recommendations:",e)}}))})(),()=>o.abort()}),[t,i,o,r,n,e]),{products:l,title:u}}({initialProducts:i.collection.products,recommendationAlgorithm:i.recommendation_algorithm,productId:i.productId,variantId:i.selectedVariantId,device:i.device,limit:u}),h=(0,a.useMemo)((()=>Object.assign(Object.assign({},i.collection),{products:p})),[i.collection,p]);return 0===p.length?(0,o.jsx)(n.Fragment,{}):(0,o.jsxs)("section",{class:r.container,"aria-label":"Related Products",style:{"--collection-desktop-product-limit":i.desktop_product_limit},children:[(0,o.jsxs)("div",{class:r.titleContainer,children:["#"!==i.display_name&&(0,o.jsx)("h2",{class:r.title,children:m||i.display_name}),i.call_to_action&&i.call_to_action_destination_link?(0,o.jsx)("a",{class:r.link,href:i.call_to_action_destination_link,children:(0,o.jsx)("button",{class:r.button,children:i.call_to_action})}):(0,o.jsx)(n.Fragment,{})]}),(0,o.jsx)(l.a,Object.assign({},i,{collection:h,productApp:t}))]})}}},e=>{e.O(0,[1,2,3,4,5,6,7,8,9,10,11,13,26,30,32,33,34,41],(()=>e(e.s=281))),e.O()}]);