(self.webpackChunkui=self.webpackChunkui||[]).push([[35],{96:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={btn:"CQ_ZZtgb",btnCrossedPrice:"Dee9BGxK",notAllowed:"DrzPaKvc",btnDisabled:"VfX6lSHx",bold:"djhpYKeA",tiny:"PVT9Ca9t",btnBusy:"RF2AjqAl",spinner:"ZhnlXGgN",rotate:"G2TcirXw",spinnerPath:"uIc2AdTa",dash:"QvAGxhQZ",spinnerPathDark:"zSpmvWOr"}},161:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={afterPayBar:"jvYIWyHk",afterPayLabel:"y31F6Zwa"}},163:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={collapsibleWrapperInnerDescription:"L__RbqPE",collapsibleContentAndCareText:"pTNzGgSS",collapsibleTitle:"YtN26W3a",collapsibleWrapperInner:"_CqYmv6J"}},164:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={collapsible:"YhkfGoRq",collapsibleTitle:"VVD8nwGv",collapsibleWrapper:"yw_A5JCa",collapsibleWrapperActive:"H1rpeH04",collapsibleWrapperInner:"uDxfh3yZ",collapsibleWrapperInnerDescription:"Zl_D2Uzs",collapsibleWrapperInnerDescriptionList:"obq015w2",collapsibleWrapperInnerDescriptionSKU:"bBUQC4l0",collapsibleDivider:"s9onKzI7"}},176:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"ghsnobSi",wrapperProductTitleBelowMobile:"u1ilq2P6",wrapperSticky:"ICc12DSv"}},165:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={details:"xAgBekXW"}},168:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"p6K1ap6n",wrapperBundlePrice:"g1kTlNB3",wrapperPercentage:"TadeDCd7",wrapperPercentageDisabled:"dpjYSdBU",wrapperActualPrice:"msT0OQTY",wrapperComparePrice:"UKX54RtY",wrapperActualPriceSmallerFont:"ZsbBdcAY",wrapperComparePriceSmallerFont:"psdz31c4",wrapperActualPriceRed:"m160rXu4",wrapperCrossedPrice:"XhyK4KN6",wrapperFinalSaleLabel:"_TvHSqcU",wrapperFinalSaleLabelDesktop:"Ro5okKC7",wrapperFinalSaleLabelMobile:"EggIVb9b",wrapperFinalSaleLabelWithMargin:"digkICXM"}},169:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"UkBrMjdb",wrapperIcon:"QlQdbb0I",wrapperIconModal:"a8XfbRya",wrapperIconModalPercentageDiff:"xqS8UkSP"}},33:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={container:"H9Gs8LBn",fontSizeSmaller:"w5myypLn",containerRating:"TnEmKOtz",star:"mVpstgEK",specialHeightLine:"qCGa8jSH",starLarge:"mf90K9Nw",starMedium:"KRjmCNcj"}},167:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"Zo4ZMaBx",wrapperProductTitleBelowMobile:"Fe8e_Hxg",wrapperPercentage:"sEo7y4hl",wrapperFinalSaleLabel:"Rxrt0hfX",wrapperProductLabel:"nz0oOlxY",wrapperPriceMobile:"vhYbV4B9",wrapperPriceDesktop:"BihqCV9f",wrapperProductInfo:"pT6v1fOQ",wrapperProductInfoName:"Ean9FU9P",wrapperProductInfoNameSmallerFont:"fJoAx5Ma"}},174:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"dnEUVXib",wrapperGlass:"fWBLyQcm"}},173:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"ukh2NueH",wrapperMagnifier:"ZjnK86rB"}},172:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"OYjTPPsM",wrapperDisabled:"j96MQGmd",wrapperImage:"Le92aAjg",wrapperImageActive:"tF1pYGC3",wrapperNextSlideBtn:"_byHUpoQ"}},175:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"Rl6fxNjd",wrapperSlider:"b0nBURKf",wrapperTitleContainer:"vulikLZK",wrapperTitleContainerClose:"VxT_13Je",wrapperClose:"Od121rrk",dots:"z2rJ8NNz",dot:"j5YHqsg2",active:"gaM5vDE4",overlay:"zkfQuZ3c",wrapperDesktop:"APgQtoPY",wrapperDesktopSlider:"bj0GgJfY",wrapperDesktopImageContainer:"jWuUNGzd",wrapperDesktopImageContainerGlass:"o8Gmb3mn",wrapperDesktopSlide:"cgASjzSN",wrapperDesktopArrowsLeft:"wD2AdxlU",wrapperDesktopArrowsRight:"yByuc78t"}},171:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"SrD8rExi",wrapperSlider:"TPFPJ8y4",zoomContainer:"zxvzhEwF",wrapperBig:"mhqvVIqm",wrapperNoJs:"EQOWl5LY",wrapperSticky:"nA8eOR_f",wrapperImg:"YDM3nO4f"}},178:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={afterPayBar:"Bx1NvT8A",afterPayLabel:"PiUtSbbv"}},27:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"VGPyjsVF",wrapperReviewStar:"NpX2iCws",wrapperReview:"sAGO5rK7",wrapperTitle:"kei0Cp7n",wrapperStars:"ZAFPte6M",wrapperStarsNoReviews:"NMbmkwf5",wrapperDescription:"NWCgDp3b",wrapperBreakLine:"_LrslPj9"}},44:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"_uQh2faA",wrapperInfo:"YRFVfMnn",wrapperInfoStars:"OQfCNSvn",wrapperInfoDate:"y4awx3Xv",wrapperDescription:"VhJzAnIL",wrapperImages:"iEJLgCM_",wrapperImage:"jtfbTNSh"}},47:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"AkIWJaoE",wrapperInfo:"WCQe59L8",wrapperInfoStars:"rXBHVafT",wrapperInfoDate:"S8skVdvK",wrapperDescription:"IT5914Yy",skeletonText:"vYU4T5_n",shimmer:"eYbs96OP",skeletonStars:"bLU8P0Ia",skeletonTextDesktop:"UMgYSQp2",wrapperDate:"xiZsmJ_j"}},43:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"AF93HDN8",arrowRight:"wZEJ10Sb",arrowLeft:"N4eBm4gz",disable:"BfjzwTFB"}},42:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapperTopBar:"OTyG0vw_",wrapperTopBarTitle:"datpCWlr",wrapperDrawer:"bCu9wahj",wrapperDrawerOpen:"cpjEg3gT",wrapperDrawerCloseBtn:"HOw6An0E",wrapperReview:"rM0h0CBZ",wrapperReviewHeader:"Vm7lj7fo",wrapperReviewDescription:"RSQiEu7h",wrapperReviewFooter:"SdnXIfMu",wrapperReviewFooterAuthor:"WxvNi0Kz",wrapperReviewFooterVerifiedBuyer:"cMDwuLPn",wrapperBackdrop:"KqGxZdow",wrapperBackdropVisible:"EbxtZNXJ"}},46:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"ZRoVh4cG",wrapperActive:"TQTmuJVK",wrapperLabels:"URDvtREI",wrapperLabel:"j2VRQxDs",wrapperLabelActive:"XlFXAFEk"}},48:(e,a,r)=>{"use strict";r.d(a,{a:()=>t});const t={wrapper:"hmJRqVI6",wrapperIcon:"eU0HcOkE",wrapperIconOpen:"cPkR4Rso",wrapperHeading:"pfUsGi0p",wrapperHeadingReviewsPage:"uEuUdTlm",wrapperHeadingTitle:"D0H4p7CR",wrapperHeadingTitleReviewsPage:"k6M0fvXL",wrapperHeadingAverageRating:"kSZ1k4yh",wrapperHeadingAverageRatingTitle:"gK73QY_P",wrapperHeadingAverageRatingTitleReviewsPage:"P7iaB7of",wrapperHeadingAverageRatingCount:"cOiP1ycy",wrapperCustomerReviews:"bqjgBTZL",wrapperCustomerReviewsSort:"fEeBXHKa",wrapperCustomerReviewsSortDisabled:"vLJ3HZcw",wrapperReviewCards:"cVOupSgH",wrapperBtn:"z0lyHJNJ",disabledClick:"am1GUM4H",wrapperCustomerReviewsSortDesktop:"c1hSqfs3"}},245:(e,a,r)=>{"use strict";var t=r(0),i=r(1),s=r(2),n=r(292),p=r(160),o=r(97),l=r(162),c=r(166),d=r(170),u=function(e,a,r,t){return new(r||(r=Promise))((function(i,s){function n(e){try{o(t.next(e))}catch(e){s(e)}}function p(e){try{o(t.throw(e))}catch(e){s(e)}}function o(e){var a;e.done?i(e.value):(a=e.value,a instanceof r?a:new r((function(e){e(a)}))).then(n,p)}o((t=t.apply(e,a||[])).next())}))};function w(e,a,r){const t=(0,s.useRef)(null),[i,n]=(0,s.useState)(e),[p,o]=(0,s.useState)(!0),[l,c]=(0,s.useState)(""),d=(w=i["Recipient email"],/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(String(w).toLowerCase())&&i["Recipient name"]&&p);var w;(0,s.useEffect)((()=>{r(Boolean(d))}),[d]);const m=()=>u(this,void 0,void 0,(function*(){yield a(i),fetch("/cart",{method:"POST",headers:{"Content-Type":"application/json"}}).then((e=>{e.ok&&t.current&&t.current.click()}))}));return{values:i,isDateValid:p,dateErrorMessage:l,handleChange:e=>{"Send on"!==e.target.name||((e=>{if("Send on"===e.target.name){const a=e.target.value,r=new Date(a),t=7776e6,i=(new Date).getTime(),s=r.getTime();s>i+t?(c("Send on date can be max 90 days in future."),o(!1)):s{e.preventDefault()},addToCartHandle:(e=!1)=>u(this,void 0,void 0,(function*(){d&&e?a(i):d&&(yield m())})),ref:t}}var m=r(177);const{wrapper:b,wrapperField:g,wrapperInput:v,wrapperLabel:h,wrapperTextarea:f,wrapperDate:j,wrapperDateError:P,wrapperAfterpay:x,wrapperForm:y,wrapperDateMessage:S,wrapperDateField:C,wrapperInputTextarea:T,spinner:D,spinnerPath:M,wrapperBtn:V,wrapperBtnBusy:k,wrapperBtnDisabled:O,wrapperDateInput:N}={wrapper:"NndVggrE",wrapperDateInput:"c7SQs0ax",wrapperAfterpay:"_THpEJ89",wrapperField:"Q5MQEoYu",wrapperForm:"sl0ITXMq",wrapperLabel:"IYdJKSu4",wrapperInput:"ti43n9ou",wrapperTextarea:"mEJDBtPl",wrapperInputTextarea:"jZsMRU68",wrapperDate:"hfS2EfBJ",wrapperDateField:"c0UQt__f",wrapperDateMessage:"mbymL1yY",wrapperDateError:"xjXixLBj",wrapperBtn:"a5GNlxzO",wrapperBtnDisabled:"r4d0cqei",wrapperBtnBusy:"AHEu8gfa",spinner:"O_KfMh4v",rotate:"X8r8IX1E",spinnerPath:"vGa8Hp1O",dash:"fh3q_JQk",spinnerPathDark:"uVsrlSUD"},R=({isVariantAvailable:e,addToCart:a,addToCartText:r,formValues:s,afterpayPrice:p,currency:l,afterPayText:c,isBusy:d,handleValidationState:u,PDPHideAfterPayment:R,PDPShopPay:A})=>{const{values:B,isDateValid:I,dateErrorMessage:L,handleChange:H,handleSubmit:F,addToCartHandle:E,ref:_}=w({"Recipient name":"","Recipient email":"","Send on":"",Message:"",__shopify_send_gift_card_to_recipient:"on"},a,u);return(0,t.jsx)(i.Fragment,{children:(0,t.jsx)("div",Object.assign({className:b},{children:(0,t.jsxs)("form",Object.assign({className:y,onSubmit:F},{children:[s.map((({id:e,name:a,type:r,label:s})=>(0,t.jsxs)("div",Object.assign({className:g},{children:["textarea"!==r&&"date"!==r&&(0,t.jsxs)(i.Fragment,{children:[(0,t.jsx)("label",Object.assign({htmlFor:e,className:h},{children:s})),(0,t.jsx)("input",{className:v,type:r,name:a,id:a,value:B[a],onChange:H,required:!0})]}),"textarea"===r&&(0,t.jsxs)("div",Object.assign({className:T},{children:[(0,t.jsx)("label",Object.assign({htmlFor:e,className:h},{children:s})),(0,t.jsx)("textarea",{onChange:H,className:f,id:e,value:B[a],name:a})]})),"date"===r&&(0,t.jsxs)("div",Object.assign({className:j},{children:[(0,t.jsxs)("div",{children:[!I&&(0,t.jsx)("p",Object.assign({className:P},{children:L})),(0,t.jsx)("p",Object.assign({className:S},{children:"If no date is specified, the gift card will be sent immediately."}))]}),(0,t.jsxs)("div",Object.assign({className:C},{children:[(0,t.jsx)("label",Object.assign({htmlFor:e,className:h},{children:s})),(0,t.jsx)("input",{className:(0,n.a)(v,N),type:r,name:a,id:a,value:B[a],onChange:H})]}))]}))]})))),(0,t.jsxs)("div",Object.assign({className:x},{children:[(0,t.jsxs)("button",Object.assign({id:(0,n.a)(e&&"hidden"),className:e?V:(0,n.a)(V,O),disabled:!e,onClick:()=>E(!0)},{children:[r,d&&(0,t.jsxs)(i.Fragment,{children:[(0,t.jsx)("svg",Object.assign({className:D,viewBox:"0 0 50 50"},{children:(0,t.jsx)("circle",{className:(0,n.a)(M),cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5"})})),(0,t.jsx)("span",{className:k})]})]})),R&&(0,t.jsx)(o.a,{currency:l,afterpayPrice:p,afterPayText:c}),A&&(0,t.jsx)(m.a,{currency:l,afterpayPrice:p,afterPayText:c})]}))]}))}))})},{wrapper:A,active:B,disabled:I}={wrapper:"xBTfSGxC",active:"ps48MwfW",disabled:"qaXs9wXY"},L=({actualValue:e,valueLabel:a,unavailableValues:r,setCurrentVariantByValue:p,currentVariant:o})=>{const[l,c]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{if(e.toLowerCase()===a.toLowerCase())return c(!0);c(!1)}),[e,o]),(0,t.jsx)(i.Fragment,{children:r.includes(a)?(0,t.jsx)("div",Object.assign({className:(0,n.a)(A,I)},{children:a})):(0,t.jsx)("div",Object.assign({onClick:()=>p(a),className:l?(0,n.a)(A,B):A},{children:a}))})},{wrapper:H,title:F,titleText:E,titleLabel:_,wrapperValues:Y}={wrapper:"j3lbG0l7",wrapperValues:"XEH1i4mB",title:"Frwmm3b8",titleText:"k1h6f31j",titleLabel:"SvQfX4hE",headerMobile:"eH8WLaIh",headerDesktop:"uuRFxd68",wrapperHeroSlider:"Oc9_M8Ke"},q=({product:e,currentVariant:a,setCurrentVariantByValue:r,currency:s,labelText:n,values:p,currentValue:o,unavailableValues:l})=>(0,t.jsx)("div",Object.assign({className:H},{children:(0,t.jsxs)("div",{children:[(0,t.jsx)("div",Object.assign({className:F},{children:"brand-ambassador-flyer"===e.handle?(0,t.jsxs)("p",Object.assign({className:E},{children:[s,e.price]})):(0,t.jsx)(i.Fragment,{children:(0,t.jsx)("span",Object.assign({className:E},{children:"Value"}))})})),"brand-ambassador-flyer"===e.handle?(0,t.jsx)("div",{}):(0,t.jsx)("div",Object.assign({className:Y},{children:p.map(((e,i)=>(0,t.jsx)(L,{actualValue:o,valueLabel:e,setCurrentVariantByValue:r,unavailableValues:l,currentVariant:a},`${e}-${i}`)))}))]})}));var z=r(62),Q=r(179),X=r(9),G=r(26);const{wrapper:K,wrapperHeroSlider:U,wrapperHeroSliderMaxHeight:W,headerMobile:J,headerDesktop:Z,brandFlyerFlex:$,wrapperImage:ee,wrapperStickyAddToCart:ae,wrapperRight:re}={headerMobile:"M1e7xk_t",headerDesktop:"_jw0Twqe",wrapper:"x0cafDaj",wrapperImage:"Yxc_pBJV",wrapperStickyAddToCart:"VH__TnMR",wrapperHeroSlider:"Pmmw2tdd",wrapperHeroSliderMaxHeight:"C_Tw47ZV",brandFlyerFlex:"Sljq5uzg",wrapperRight:"ukL1nDa8"},te=({productHeader:e,heroSlider:a,productValues:r,productInfo:u,giftForm:w,isFormVisible:m,addToCart:b,afterpay:g,setIsStickyAddToCart:v,isStickAddToCart:h,PDPMoveReviewsToBottom:f,PDPStickyAddToCart:j,PDPShopPay:P,PDPHideAfterPayment:x})=>{var y;const[S,C]=(0,s.useState)(!1),{product:T}=r,{handle:D}=T,M=e.reviews.reviewsCount>0,{width:V}=(0,X.a)(),k=V<1200,O=!f;return(0,Q.b)(!1,v,k,j&&S),(0,t.jsxs)(i.Fragment,{children:[(0,t.jsxs)("section",Object.assign({className:(0,n.a)(K,"brand-ambassador-flyer"===D||"routeins"===D&&$)},{children:[(0,t.jsxs)("div",Object.assign({className:(0,n.a)(U,m&&W)},{children:[(0,t.jsx)("div",Object.assign({className:J},{children:(0,t.jsx)(c.a,Object.assign({},e))})),m?(0,t.jsx)("div",Object.assign({className:ee},{children:(0,t.jsx)("img",{src:null===(y=a.heroSliderImages[0])||void 0===y?void 0:y.src.original,alt:"gift card",loading:"lazy"})})):(0,t.jsx)(d.a,Object.assign({},a))]})),(0,t.jsxs)("div",Object.assign({className:re},{children:[(0,t.jsx)("div",Object.assign({className:Z},{children:(0,t.jsx)(c.a,Object.assign({},e))})),(0,t.jsx)(q,Object.assign({},r)),m&&(0,t.jsx)(R,Object.assign({},w,g,{handleValidationState:e=>{C(e)},PDPHideAfterPayment:x,PDPShopPay:P})),!m&&(0,t.jsx)(p.a,Object.assign({},b)),!m&&(0,t.jsx)(o.a,Object.assign({},g)),(0,t.jsx)(l.a,Object.assign({},u))]})),h&&S&&(0,t.jsx)("div",Object.assign({className:ae},{children:(0,t.jsx)(p.a,Object.assign({},b))}))]})),O&&(0,t.jsxs)(i.Fragment,{children:[M&&(0,t.jsx)(z.a,Object.assign({},u.productReviews)),!M&&(0,t.jsx)(G.a,{})]})]})};var ie=r(20),se=r(21),ne=r(45);(0,r(3).createEntrypoint)("custom-page-feature",(({useSharedState:e,productHeader:a,sliderImages:r,productInfo:i,addToCart:n,afterpay:p,customProduct:o,isMobile:l,PDPMoveReviewsToBottom:c,PDPStickyAddToCart:d,PDPAddToCartWithPrice:u,PDPHideAfterPayment:w,PDPShopPay:m})=>{const b=e(),{product:g,context:v,currentVariant:h,cart:f,quantity:j,variants:P,addProductToCart:x,setCurrentVariantByValue:y,isBusy:S,removeFromCart:C,setIsStickyAddToCart:T,isStickAddToCart:D}=b((e=>({product:e.product,context:e.context,currentVariant:e.currentVariant,cart:e.cart,quantity:e.quantity,variants:e.variants,addProductToCart:e.addToCart,setCurrentVariantByValue:e.setCurrentVariantByValue,isBusy:e.isBusy,removeFromCart:e.removeFromCart,setIsStickyAddToCart:e.setIsStickyAddToCart,isStickAddToCart:e.isStickyAddToCart}))),{reviewsCount:M,reviewsRating:V,hasEmptyStars:k,hasHalf:O,filledStars:N,emptyStars:R,noReviewsLabel:A,reviewsCountSuffix:B}=a,{productDetailsTitle:I,productInformationTitle:L,reviewsTitle:H,reviewsViewMoreText:F,sortOptions:E,sortLabel:_,averageRatingLabel:Y,customerReviewsLabel:q,hideLabel:z,loadingLabel:Q,PDPDrawersOpen:X}=i,{formValues:G}=o,[,K]=(0,ie.c)(h.optionMap),[U,W]=(0,ie.b)(h.optionMap),[J,Z]=(0,s.useState)(f.item_count),$=f.items.find((e=>{const a="Route"===e.vendor;return e.url.match(/^\/products\/routeins\?/)&&a})),ee=(0,s.useCallback)((()=>{{const[e,a]=(0,ie.b)(h.optionMap);if(0===Object.values(g.imageMap).length)return[];if(void 0===r[h.optionMap.Color]){if(void 0===r[h.optionMap[e]]){const e=Object.values(r);return e.length>0?[{src:{small:e[0][0].small,original:e[0][0].original},alt:e[0].alt}]:[]}const a=r[h.optionMap[e]].map((a=>({src:{small:a.small,original:a.original},alt:h.optionMap[e]})));return a.length>0?[a[0]]:[]}return void 0===r[h.optionMap[e]]?void 0===r[h.optionMap.Color]?[]:r[h.optionMap.Color].map((e=>({src:{small:e.small,original:e.original},alt:h.optionMap.Color}))):[]}}),[h,g]),ae=(0,s.useMemo)((()=>g.tag&&g.tag.length>1?g.tag:""),[g.tag]),re=(0,s.useMemo)((()=>({heroSliderImages:ee(),tag:ae,isMobile:l,title:g.title,PDPStickyMobileSlider:!1,modelSize:{currentModelSize:"",isModelSizeEnabled:!1}})),[h]),pe=(0,s.useCallback)((()=>{const[,e]=(0,ie.b)(h.optionMap);return e||""}),[g,h]),[oe]=(0,ie.b)(h.optionMap),le=oe||"",ce=(0,s.useCallback)((()=>"routeins"===g.handle?[""]:g.options.reduce(((e,a)=>(a.name.toLowerCase()===le.toLowerCase()&&e.push(...a.values),e)),[])),[g]),de=(0,s.useMemo)((()=>"gift-card"===g.handle||"rbx-active-electronic-gift-card"===g.handle?[]:g.variants.reduce(((e,a)=>{const r="string"==typeof a.optionMap[le];return a.soldOut&&r&&e.push(a.optionMap[le]),e}),[])),[g]),ue=(0,s.useMemo)((()=>({productLabel:g.tag||"",productName:g.title,reviews:{reviewsCount:M,averageRating:V,reviewsCountSuffix:B,noReviewsLabel:A,shouldDisplayRatingValue:!1,filledStars:N,hasHalf:O,emptyStars:R,hasEmptyStars:k},price:Number(h.priceV2.amount),compareAtPrice:g.compareAtPrice?Number(g.compareAtPrice):Number(h.priceV2.amount),currency:v.currency.symbol,saleMessage:g.saleMessage,finalSaleLabel:"",priceExplanationPopupMessage:"",PDPDynamicPricing:!1})),[h]),we=(0,s.useMemo)((()=>({product:g,currentVariant:h,currency:v.currency.symbol,setCurrentVariantByValue:y,currentValue:pe(),unavailableValues:de,values:ce(),labelText:le})),[h]),me=g.reviews.inlineReviews.map((e=>({rating:(0,se.a)(e.stars),author:e.username,date:(0,ne.d)(e.date),stars:e.stars,description:e.content,comfort:e.comfort,fit:e.fit,verifiedBuyer:e.verifiedBuyer,images:[]}))),be=[{title:L.title,description:g.metafields},{title:I.title,description:g.description}],ge=`${K} / ${W}`,ve=g.imageMap[K]&&Object.keys(g.imageMap).length>0?g.imageMap[K][0]:void 0===g.imageMap[W]?"":g.imageMap[W][0],he=(0,s.useMemo)((()=>{var e;return{isBusy:S,product:g,addToCartText:n.addToCartText,notifyMeWhenAvailableText:"",isVariantAvailable:"routeins"===g.handle?void 0===$&&0!==f.items.length:!!h.availableForSale,PDPAddToCartWithPrice:u,currentVariantPrice:h.priceV2.amount,compareAtPrice:Number(null===(e=h.compareAtPrice)||void 0===e?void 0:e.amount)||Number(g.compareAtPrice)||Number(h.priceV2.amount),addToCart:e=>x({items:[{id:h.id,image:ve,variant_id:Number(h.id),variant_title:ge,price:100*Number(h.priceV2.amount),product_title:g.title,vendor:g.vendor,url:`/products/${g.handle}?variant=${h.id}`,quantity:j,final_price:100*Number(h.priceV2.amount),properties:e}]})}}),[h,f.items,S]),fe={productDetails:be,productReviews:{title:H.title,averageRating:g.reviews.rating,reviewsCount:g.reviews.count,reviews:me,isMoreThanTwoReviews:g.reviews.isMoreThanTwoReviews,CTALabel:F.CTALabel,productID:g.id,starReviews:ue.reviews,sortOptions:E,sortLabel:_,averageRatingLabel:Y,customerReviewsLabel:q,hideLabel:z,loadingLabel:Q},PDPDrawersOpen:X},je=(0,s.useMemo)((()=>"rbx-active-electronic-gift-card"===g.handle||"gift-card"===g.handle),[g]),Pe={afterPayText:p.afterPayText,afterpayPrice:isNaN(p.afterpayPrice)?35:p.afterpayPrice,currency:v.currency.symbol},xe=Object.assign(Object.assign({},he),{formValues:G});return(0,t.jsx)(te,{productHeader:ue,heroSlider:re,productValues:we,productInfo:fe,giftForm:xe,afterpay:Pe,isFormVisible:je,addToCart:he,productHandle:g.handle,setIsStickyAddToCart:T,isStickAddToCart:D,PDPMoveReviewsToBottom:c,PDPStickyAddToCart:d,PDPHideAfterPayment:w,PDPShopPay:m})}))},19:(e,a,r)=>{"use strict";r.d(a,{a:()=>i});var t=r(0);function i(e){return(0,t.jsx)("svg",Object.assign({},e,{"aria-hidden":"true",focusable:"false"},{children:(0,t.jsx)("use",{xlinkHref:`#${e.icon}`})}))}r(1)},14:()=>{}},e=>{e.O(0,[1,2,3,4,5,6,7,9,10,8,11,14,15,20],(()=>(245,e(e.s=245)))),e.O()}]);