"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[27],{123:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.availableOptionsState=void 0,t.availableOptionsState=function({product:e,optionName:t,selectedOptions:s,selectSingleOption:i,updateOptionDefaults:l}){var n;const a=null==e?void 0:e.variants.filter((e=>1===(null==s?void 0:s.length)?e.availableForSale&&e.selectedOptions[0].name===t:e.availableForSale&&e.selectedOptions.some((e=>{var i;return!(!Array.isArray(s)&&0===Object.keys(s).length)&&(Array.isArray(s)||0===Object.keys(s).length||(s=Object.values(s)),(null===(i=null==s?void 0:s.find((e=>e.name!==t)))||void 0===i?void 0:i.value)===e.value)}))));let o=e.options.find((({name:e})=>e===t));return o?(o=null===(n=[...null==o?void 0:o.values])||void 0===n?void 0:n.map((e=>{const n=null==a?void 0:a.some((s=>s.selectedOptions.find((({name:s,value:i})=>s===t&&i===e))));if(!Array.isArray(s)&&0===Object.keys(s).length)return{option:e,availableForSale:n,selected:!1,selectOption:()=>{const s={name:t,value:e};i(s),l(s)}};Array.isArray(s)||0===Object.keys(s).length||(s=Object.values(s));const o=null==s?void 0:s.some((({name:s,value:i})=>t===s&&i===e));return{option:e,availableForSale:n,selected:o,selectOption:()=>{const s={name:t,value:e};i(s),l(s)}}})),null!=o?o:[]):[]}},37:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getVariant=void 0,t.getVariant=function(e,t){var s,i;const l=e.variants.find((({selectedOptions:e})=>t.every((t=>e.find((({name:e,value:s})=>e===t.name&&s===t.value))))));if(!l){console.error("Could not find variant with selected options");const t=(null===(s=e.compareAtPrice)||void 0===s?void 0:s.maxVariantPrice.amount)||(null===(i=e.compareAtPrice)||void 0===i?void 0:i.minVariantPrice.amount);return Object.assign({id:e.id,price:{amount:e.price.toString()},selectedOptions:[],sku:e.id,title:e.title},"undefined"!==t?{compareAtPrice:{amount:t||"0"}}:{})}return l}},46:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.useSelectedOptionsState=t.firstAvailableVariant=void 0;const i=s(3),l=s(17),n=s(19),a=s(37);function o(e){return e.variants.find((({availableForSale:e})=>e))||e.variants[0]}t.firstAvailableVariant=o,t.useSelectedOptionsState=function({product:e,variantId:t}){const[s,r]=(0,i.useState)(function(e,t){var s,i;if(!e.variants)return[];const l=t&&null!==(i=null===(s=null==e?void 0:e.variants)||void 0===s?void 0:s.find((({id:e})=>e===t)))&&void 0!==i?i:o(e);return(null==l?void 0:l.selectedOptions)?[...null==l?void 0:l.selectedOptions]:[]}(e,t)),[c,d]=(0,i.useState)((0,a.getVariant)(e,s)),[u,m]=(0,i.useState)(0),f=(0,i.useMemo)((()=>{const e=s.find((({name:e})=>"Color"===e));if(e)return e.value}),[s]),p=(0,i.useMemo)((()=>{const t=(null==e?void 0:e.images)||[],s=t.filter((({altText:e})=>e===f));return s.length>0?s:t}),[e,f]),g=c?null==p?void 0:p.findIndex((e=>{var t;return e.src===(null===(t=c.image)||void 0===t?void 0:t.src)})):0;m(g);const h=(0,i.useMemo)((()=>{const e=s.find((({name:e})=>"Size"===e));if(e)return e.value}),[s]);return(0,l.useLogViewContent)(e,c),{selectedOptions:s,selectSingleOption:function(t){const i=[...(0,n.addOption)(s,t)];if(!(0,n.optionListsAreEqual)(i,s)){r(i);const t=(0,a.getVariant)(e,i),s=t?null==p?void 0:p.findIndex((e=>{var s;return e.src===(null===(s=t.image)||void 0===s?void 0:s.src)})):0;d(Object.assign({},t)),m(s)}},setSelectedOptions:r,images:p,getColor:()=>f,getSize:()=>h,variant:c,initialImageIdx:u}}},66:function(e,t,s){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=s(103);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i(l).default}})},38:function(e,t,s){var i=this&&this.__createBinding||(Object.create?function(e,t,s,i){void 0===i&&(i=s);var l=Object.getOwnPropertyDescriptor(t,s);l&&!("get"in l?!t.__esModule:l.writable||l.configurable)||(l={enumerable:!0,get:function(){return t[s]}}),Object.defineProperty(e,i,l)}:function(e,t,s,i){void 0===i&&(i=s),e[i]=t[s]}),l=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.prototype.hasOwnProperty.call(e,s)&&i(t,e,s);return l(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const o=s(0),r=n(s(3)),c=(s(64),a(s(64)));t.default=({show:e,backdropClose:t=!0,onClose:s,contentClass:i=c.default.content,customCss:l={},keepInDom:n=!1,children:a})=>{function d(e){"Escape"===e.key&&(e.preventDefault(),s(e))}return(0,r.useEffect)((()=>{e||(document.documentElement.style.overflow="",document.documentElement.style.marginRight="")}),[e]),(0,r.useEffect)((()=>(document.addEventListener("keydown",d),()=>{document.removeEventListener("keydown",d)})),[]),n||e?(0,o.jsx)("div",Object.assign({className:`${e?c.default.modal:c.default.hiddenModal}`,style:l.backdrop,onClick:t?s:null},{children:(0,o.jsxs)("div",Object.assign({className:i,style:l.content,onClick:e=>e.stopPropagation()},{children:[a,(0,o.jsx)("button",Object.assign({title:"Close (Esc)",className:c.default.closeBtn,onClick:s,style:l.closeBtn},{children:"×"}))]}))})):null}},164:function(e,t,s){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=s(0),n=s(3),a=i(s(38)),o=s(8),r=s(7);t.default=function({sizeGuide:e,fitGuideImage:t}){const[s,i]=(0,n.useState)(!1),c=function({sizeGuide:e,fitGuideImage:t}){var s;if(t)return(0,r.getImageUrl)(t,960);const i=(0,o.getEnvConfig)().site.prefix,l=null===(s=null==e?void 0:e.body)||void 0===s?void 0:s.__html,n=/src="(https?:\/\/[^"]+)"/.exec(l);if(n)return n[1];switch(i){case"bd":return(0,r.getImageUrl)("/fast-image/summit-golf/bdraddy/sizeguide.jpg",720);case"zr":return(0,r.getImageUrl)("/fast-image/summit-golf/zero/sizeguide.jpg",720);case"ep":return(0,r.getImageUrl)("/fast-image/summit-golf/epny/sizeguide.jpg",720);case"fg":return(0,r.getImageUrl)("/fast-image/summit-golf/fairway/sizeguide.jpg",720)}return(0,r.getImageUrl)("/fast-image/summit-golf/sizeguide.jpg",720)}({sizeGuide:e,fitGuideImage:t});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("button",Object.assign({className:"relative inline-flex items-center p-2 text-sm space-x-2 sm:px-4 sm:py-2 sm:text-base",onClick:e=>{i(!0),e.stopPropagation(),e.preventDefault()}},{children:[(0,l.jsx)("svg",Object.assign({className:"w-5 h-5 stroke-current",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},{children:(0,l.jsx)("path",{d:"M224 192c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64zm400 224H380.6c41.5-40.7 67.4-97.3 67.4-160 0-123.7-100.3-224-224-224S0 132.3 0 256s100.3 224 224 224h400c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zm-400-64c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z"})})),(0,l.jsx)("span",{children:"Fit Guide"})]})),(0,l.jsx)(a.default,Object.assign({show:s,onClose:()=>i(!1)},{children:(0,l.jsx)("div",Object.assign({className:""},{children:(0,l.jsx)("img",{style:{minHeight:"375px",objectFit:"contain"},className:"m-auto",src:c,alt:"Size Chart"})}))}))]})}},50:function(e,t,s){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=s(0),n=(i(s(2)),i(s(1))),a=i(s(270)),o=s(23),r=s(123),c=s(7);t.default=function({product:e,selectedOptions:t,selectSingleOption:s,updateOptionDefaults:i,isNewPDPoptimization:d}){var u;const m=(0,r.availableOptionsState)({product:e,optionName:"Color",selectedOptions:t,selectSingleOption:s,updateOptionDefaults:i}),f=null==m?void 0:m.map((({option:e,availableForSale:t,selected:s,selectOption:i})=>({color:e,cssClass:(0,o.camelize)(e),name:(0,o.toTitleCase)(e),checked:s,selectOption:i,colorIsLight:(0,o.colorIsLight)(e),availableForSale:t})));return(0,l.jsxs)("div",Object.assign({className:"flex flex-col items-center sm:items-start colorControl"},{children:[(0,l.jsxs)("div",Object.assign({className:"pb-2 pt-2 text-xs tracking-extrawide uppercase sm:text-sm",style:d?{paddingTop:"0px"}:{}},{children:["Color —",(0,l.jsx)("span",Object.assign({className:"tracking-normal"},{children:null===(u=f.find((e=>e.checked)))||void 0===u?void 0:u.color}))]})),(0,l.jsx)("ul",Object.assign({className:"flex flex-wrap justify-center"},{children:null==f?void 0:f.map(((e,t)=>{const s=e.color.split(" "),i=s[s.length-1],o=(0,c.getColorImageUrl)(e.color),r=(0,c.getColorImageUrl2)(e.color),u=(0,c.getColorImageUrl3)(e.color);return(0,l.jsx)("li",Object.assign({className:"ProductColor relative flex"},{children:(0,l.jsx)("span",Object.assign({title:e.color,onClick:e.selectOption,className:(0,n.default)("inline-block mb-2 mr-2 rounded-full cursor-pointer",e.checked&&"border-2 border-black",a.default.colorLink,d&&a.default.noZindex),style:{backgroundImage:`url(${o}), url(${r}), url(${u})`,backgroundColor:i}},{children:!e.availableForSale&&(d?(0,l.jsx)("svg",Object.assign({className:(0,n.default)("absolute left-0 top-0 w-full h-full",a.default.svgPDPnewOpti),xmlns:"http://www.w3.org/2000/svg",width:"37",height:"37",viewBox:"0 0 37 37",fill:"none"},{children:(0,l.jsx)("rect",{x:"1.81638",y:"4.93774",width:"4",height:"43.0233",transform:"rotate(-45 1.81638 4.93774)",fill:"black",stroke:"white","stroke-width":"2"})})):(0,l.jsx)("svg",Object.assign({className:"absolute left-0 top-0 w-full h-full",width:"49",height:"49",viewBox:"0 0 49 49",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,l.jsx)("line",{x1:"0.955764",y1:"1.29289",x2:"47.4585",y2:"47.7956",stroke:"#6A6A6A",strokeWidth:"2"})})))}))}),t)}))}))]}))}},167:function(e,t,s){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.CarouselDot=void 0;const l=s(0),n=i(s(1)),a=s(7),o=(e,t,s)=>0===t&&0===e||s<=3&&e===t||s>=3&&t2||s>=3&&0===e&&t>=0&&t<=2||s>=3&&t>=s-2-1&&2===e;t.CarouselDot=({activeSlideIdx:e,current:t,handleThumbClick:s,length:i,media:c})=>{const d=e>=2,u=e>=1,m=e<=i-2-1,f=e<=i-2,p=i>=3?3:i;return(0,l.jsxs)(l.Fragment,{children:[d?(0,l.jsx)(r,{tinyDot:!0,smallDot:!1,isActive:!1,idx:e-2,handleThumbClick:s}):null,u?(0,l.jsx)(r,{tinyDot:!1,smallDot:!0,isActive:!1,idx:e-1,handleThumbClick:s}):null,Array.from({length:p},((e,t)=>t)).map((t=>(0,l.jsx)(r,{tinyDot:!1,smallDot:!1,isActive:o(t,e,i),activeSlideIdx:e,handleThumbClick:s,length:i,idx:t},t))),m?(0,l.jsx)(r,{tinyDot:!1,smallDot:!0,isActive:!1,handleThumbClick:s,idx:e+1}):null,f?(0,l.jsx)(r,{tinyDot:!0,smallDot:!1,isActive:!1,handleThumbClick:s,idx:e+2}):null,c.map(((t,i)=>(0,l.jsx)("button",Object.assign({className:(0,n.default)("cursor-pointer thumb flex-shrink-0 mb-2 mx-1.5 rounded-full hidden sm:block",e===i?"bg-black sm:border-black":"bg-gray-300 sm:border-white","sm:mx-0 sm:w-auto sm:h-auto sm:bg-transparent sm:border-2 sm:rounded-none"),onClick:e=>s(i,e)},{children:(0,l.jsxs)("div",Object.assign({className:"relative"},{children:["video"===t.mediaContentType.toLowerCase()&&(0,l.jsx)("span",Object.assign({className:(0,n.default)("absolute right-2 top-2 hidden p-1","sm:block")},{children:(0,l.jsx)("svg",Object.assign({"aria-hidden":"true",focusable:"false",role:"presentation",className:"w-2.5 h-2.5 text-white fill-current stroke-current stroke-4",viewBox:"18.24 17.35 24.52 28.3"},{children:(0,l.jsx)("path",{d:"M22.1 19.151v25.5l20.4-13.489-20.4-12.011z"})}))})),(0,l.jsx)("img",{className:(0,n.default)("hidden select-none","sm:block"),src:(0,a.getImageUrl)(t.previewImage.originalSrc,75),width:75,height:75,draggable:"false",alt:""})]}))}),i)))]})};const r=({tinyDot:e,smallDot:t,isActive:s,current:i,handleThumbClick:a,idx:o,activeSlideIdx:r,length:c})=>(0,l.jsx)("button",Object.assign({className:(0,n.default)("thumb flex-shrink-0 mb-2 mx-1.5 rounded-full",e?"w-1.5 h-1.5":"",t?"w-2 h-2":"",t||e?"":"w-2.5 h-2.5",s?"bg-black sm:border-black":"bg-gray-300 sm:border-white","sm:mx-0 sm:w-auto sm:h-auto sm:bg-transparent sm:border-2 sm:rounded-none sm:hidden"),onClick:e=>{let t=r>=0?r:0;r?r>=0&&(t=r=0?o:0,a(t,e)},type:"button"},{children:(0,l.jsxs)("span",Object.assign({className:"sr-only"},{children:["Go to photo ",o+1]}))}),o)},65:function(e,t,s){var i=this&&this.__awaiter||function(e,t,s,i){return new(s||(s=Promise))((function(l,n){function a(e){try{r(i.next(e))}catch(e){n(e)}}function o(e){try{r(i.throw(e))}catch(e){n(e)}}function r(e){var t;e.done?l(e.value):(t=e.value,t instanceof s?t:new s((function(e){e(t)}))).then(a,o)}r((i=i.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0}),t.useCoupon=void 0;const l=s(3);t.useCoupon=({product:e,activeCoupons:t,getAppliedCoupons:s,setCouponActive:n})=>{const a=t[`products/${e.handle}`],o=t=>{n(`products/${e.handle}`),function(){i(this,void 0,void 0,(function*(){const e=yield s();localStorage.setItem("coupons",e)}))}()};return(0,l.useEffect)((()=>{const e=localStorage.getItem("coupons");e&&(console.log("coupons",e),e.split(",").map((e=>o())))}),[]),{currentActiveCoupons:a,applyCoupon:o}}},281:(e,t,s)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LogoCustomization=void 0;const i=s(0);t.LogoCustomization=({logoCustomizationSelected:e,setLogoCustomizationSelected:t,image:s})=>{const l=e=>{t(e)};return(0,i.jsx)("div",{children:(0,i.jsxs)("div",Object.assign({className:"flex flex-col items-center sm:items-start"},{children:[(0,i.jsx)("div",Object.assign({className:"pb-2 pt-4 text-xs tracking-extrawide uppercase sm:text-sm"},{children:"MONOGRAM"})),(0,i.jsxs)("ul",Object.assign({className:"flex flex-wrap justify-center -m-1 sm:justify-start"},{children:[(0,i.jsx)("li",Object.assign({style:{boxShadow:e?"0 0 0 2px #000":"0 0 0 1px #e8e8e1"},className:"flex m-1 cursor-pointer",onClick:()=>l(!0)},{children:(0,i.jsx)("span",Object.assign({className:"relative p-2 text-sm sm:px-4 sm:py-2 sm:text-base"},{children:(0,i.jsx)("span",{children:(0,i.jsx)("img",{style:{maxWidth:"20px"},src:s,alt:"monogram_1"})})}))})),(0,i.jsx)("li",Object.assign({style:{boxShadow:e?"0 0 0 1px #e8e8e1":"0 0 0 2px #000"},className:"flex m-1 cursor-pointer",onClick:()=>l(!1)},{children:(0,i.jsx)("span",Object.assign({className:"relative p-2 text-sm sm:px-4 sm:py-2 sm:text-base"},{children:(0,i.jsx)("span",{children:"NONE"})}))}))]}))]}))})}},52:function(e,t,s){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PhotoCarousel=void 0;const l=s(0),n=s(3),a=s(7),o=s(42),r=i(s(1)),c=i(s(165)),d=i(s(166)),u=i(s(274)),m=i(s(124)),f=s(16),p=s(167);t.PhotoCarousel=function({media:e,initialIdx:t,slideHeight:s,setSlideHeight:i,isNewPDPoptimization:g}){e&&0!==e.length||(e=[f.NO_MEDIA]);let h=0;const[v,x]=(0,n.useState)([t,...(null==e?void 0:e.length)>t+1?[t+1]:[0]]),[b,j]=(0,n.useState)(null),O=(0,n.useRef)(null),[w,y]=(0,n.useState)(t),[_,k]=(0,o.useKeenSlider)({initial:t,duration:1e3,spacing:g?0:4,slidesPerView:g?1:1.4,centered:!g,breakpoints:{"(min-width: 768px)":{spacing:10,slidesPerView:1}},slideChanged(e){h=e.details().relativeSlide,y(h)},dragEnd(e){!function(e){const t=O.current;if(!t)return;const s=t.querySelector(`button:nth-child(${e})`);s&&t.scrollTo(null==s?void 0:s.offsetLeft,100)}(e.details().relativeSlide)},mounted(e){j(e)}});function C(){if(!_.current)return;const e=_.current.querySelectorAll(".keen-slider__slide")[t];if(e){const t=e.getBoundingClientRect();i(t.height)}}const S=(e,t)=>{t.preventDefault(),b&&b.moveToSlide(e),k&&(k.moveToSlideRelative(e),y(e))};return(0,n.useEffect)((()=>{y(t)}),[t]),(0,n.useEffect)((()=>{const t=setTimeout((()=>x(null==e?void 0:e.map(((e,t)=>t)))),500);return C(),()=>clearTimeout(t)}),[]),(0,n.useEffect)((()=>{const e=(0,m.default)(C,250);return window.addEventListener("resize",e),()=>{e.cancel(),window.removeEventListener("resize",e)}}),[]),(0,l.jsxs)("div",Object.assign({className:(0,r.default)("PhotoCarousel flex flex-col",u.default.carouselContainer,g&&u.default.translateX)},{children:[(0,l.jsx)("div",Object.assign({className:u.default.carouselWrapper,style:{height:s?`${s}px`:"auto"}},{children:(0,l.jsx)("div",Object.assign({className:u.default.carouselInner},{children:(0,l.jsx)("div",Object.assign({ref:_,className:(0,r.default)(u.default.carousel,"keen-slider")},{children:null==e?void 0:e.map(((t,s)=>{const i=s===w;return"image"===t.mediaContentType.toLowerCase()?(0,l.jsx)(c.default,{img:t.previewImage,preload:v.includes(s),isActive:i,showHint:i},s):(0,l.jsx)(d.default,{media:t,mediaCount:e.length,isActive:i},s)}))}))}))})),(0,l.jsx)("div",Object.assign({className:"mt-3 overflow-x-auto",ref:O},{children:(0,l.jsx)("div",Object.assign({className:(0,r.default)("relative flex flex-wrap justify-center mb-1","sm:flex-nowrap sm:justify-start sm:mb-0 sm:space-x-3",g&&"items-center")},{children:g?(0,l.jsx)(p.CarouselDot,{activeSlideIdx:w,handleThumbClick:S,media:e,length:e.length}):null==e?void 0:e.map(((e,t)=>(0,l.jsxs)("button",Object.assign({className:(0,r.default)("thumb flex-shrink-0 mb-2 mx-1.5 w-2.5 h-2.5 rounded-full",t===w?"bg-black sm:border-black":"bg-gray-300 sm:border-white","sm:mx-0 sm:w-auto sm:h-auto sm:bg-transparent sm:border-2 sm:rounded-none"),onClick:e=>S(t,e),type:"button"},{children:[(0,l.jsxs)("div",Object.assign({className:"relative"},{children:["video"===e.mediaContentType.toLowerCase()&&(0,l.jsx)("span",Object.assign({className:(0,r.default)("absolute right-2 top-2 hidden p-1","sm:block")},{children:(0,l.jsx)("svg",Object.assign({"aria-hidden":"true",focusable:"false",role:"presentation",className:"w-2.5 h-2.5 text-white fill-current stroke-current stroke-4",viewBox:"18.24 17.35 24.52 28.3"},{children:(0,l.jsx)("path",{d:"M22.1 19.151v25.5l20.4-13.489-20.4-12.011z"})}))})),(0,l.jsx)("img",{className:(0,r.default)("hidden select-none","sm:block"),src:(0,a.getImageUrl)(e.previewImage.originalSrc,75),width:75,height:75,draggable:"false",alt:""})]})),(0,l.jsxs)("span",Object.assign({className:"sr-only"},{children:["Go to photo ",t+1]}))]}),t)))}))}))]}))}},165:function(e,t,s){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=s(0),n=i(s(358));s(360);const a=s(7),o=i(s(273)),r=i(s(1));t.default=function({img:e,isActive:t,preload:s,showHint:i}){return(0,l.jsxs)("div",Object.assign({className:(0,r.default)("keen-slider__slide w-full h-full",o.default.slide,i&&o.default.showHint,t&&o.default.active)},{children:[(0,l.jsx)("div",{className:o.default.imgSpaceReserver}),(0,l.jsx)("div",Object.assign({onClickCapture:function(e){t||e.stopPropagation()}},{children:s&&(0,l.jsx)(n.default,{src:(0,a.getImageUrl)(e.originalSrc,843),srcSet:(0,a.getFullscreenImageSrcSet)(e.originalSrc),sizes:"50vw",zoomSrc:(0,a.getImageUrl)(e.originalSrc,1700),fullscreenOnMobile:!0,alt:s&&e.altText||"",fadeDuration:0,imgAttributes:{alt:e.originalSrc}})}))]}))}},103:function(e,t,s){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=s(0),n=i(s(27)),a=i(s(102)),o=s(8);t.default=function({regularPrice:e,salePrice:t,discountedPrice:s,enabled:i=!0,justify:r="justify-start"}){const c=s(0,l.jsx)("source",{src:e.url,type:e.mimeType},t))),"Your browser does not support the video tag."]}))}))}))}},51:function(e,t,s){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=s(0),n=(s(3),i(s(163))),a=s(123),o=i(s(164));t.default=function({sizeGuide:e,product:t,optionName:s="Size",sizeParent:i,selectedOptions:r,selectSingleOption:c,updateOptionDefaults:d,fitGuideImage:u,isNewPDPoptimization:m}){const f=(0,a.availableOptionsState)({product:t,optionName:s,selectedOptions:r,selectSingleOption:c,updateOptionDefaults:d}),p=null==f?void 0:f.map((({option:e,availableForSale:t,selected:s,selectOption:i})=>({name:e.toUpperCase(),availableForSale:t,checked:s,selectOption:i})));return(0,l.jsxs)("div",Object.assign({className:"flex flex-col items-center sm:items-start sizeControl"},{children:[(0,l.jsx)("div",Object.assign({className:"pb-2 pt-2 text-xs tracking-extrawide uppercase sm:text-sm"},{children:s})),(0,l.jsxs)("ul",Object.assign({className:"flex flex-wrap justify-center -m-1 sm:justify-start"},{children:[null==p?void 0:p.map((e=>(0,l.jsx)("li",Object.assign({className:"flex m-1 cursor-pointer",style:{boxShadow:e.checked?"0 0 0 2px #000":"0 0 0 1px #e8e8e1"}},{children:(0,l.jsx)(n.default,{available:e.availableForSale,swatchType:"sizeSwatch",sizeParent:i,sizeText:e.name,onClick:t=>{e.selectOption(t)}})}),e.name))),!m&&(0,l.jsx)("li",Object.assign({className:"m-1"},{children:(0,l.jsx)(o.default,{sizeGuide:e,fitGuideImage:u,product:t})}))]})),m&&(0,l.jsx)("div",Object.assign({className:"m-1"},{children:(0,l.jsx)(o.default,{sizeGuide:e,fitGuideImage:u,product:t})}))]}))}},163:function(e,t,s){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const l=s(0),n=(i(s(2)),i(s(1)));t.default=function({available:e=!0,sizeText:t,onClick:s}){return(0,l.jsxs)("span",Object.assign({className:(0,n.default)("relative p-2 text-sm sm:px-4 sm:py-2 sm:text-base",e?"":"text-gray-400"),onClick:s},{children:[(0,l.jsx)("span",Object.assign({className:""},{children:t})),!e&&(0,l.jsx)("svg",Object.assign({className:"absolute left-0 top-0 w-full h-full",width:"64",height:"40",viewBox:"0 0 64 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:(0,l.jsx)("line",{y1:"-1",x2:"72.7186",y2:"-1",transform:"matrix(0.852601 0.522562 -0.537459 0.84329 0 2)",stroke:"#6A6A6A",strokeWidth:"2"})}))]}))}}}]);