"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[26],{111:(e,s,r)=>{r.d(s,{a:()=>u});var l=r(0),n=r(3),t=r(38),d=r(4),i=r(24),a=r(75);function o({vendor:e,showVendor:s=!0}){return s&&e?(0,l.jsx)("div",{className:a.a.vendorHero,children:(0,l.jsx)("a",{href:`/collections/${e.toLowerCase().replace(/[^a-z0-9\s-]/g,"").trim().replace(/\s+/g,"-")}`,children:e})}):(0,l.jsx)(n.Fragment,{})}var c=r(99);function u({heroTitle:e,headingLevel:s,isBundle:r}){const{selectedVariant:t,product:i,showVendor:a}=(0,d.c)((e=>({product:e.product,selectedVariant:e.selectedVariant,showVendor:e.showVendor})));return i?(0,l.jsx)(h,{heroTitle:e,product:i,selectedVariant:t,headingLevel:s,showVendor:a,isBundle:r}):(0,l.jsx)(n.Fragment,{})}function h({heroTitle:e,product:s,selectedVariant:r,headingLevel:d="1",showVendor:a=!0,isBundle:u}){var h;const{subtitle:p,title:V}=(0,i.a)(null!==(h=null!=e?e:null==r?void 0:r.productTitle)&&void 0!==h?h:null==s?void 0:s.title);return(0,l.jsxs)(n.Fragment,{children:[(0,l.jsx)(o,{vendor:s.vendor,showVendor:a}),(0,l.jsxs)("div",{class:t.a.titleRow,children:[(0,l.jsx)(v,{level:d,cssClass:t.a.productTitle,children:V}),(0,l.jsx)(c.a,{appearance:"pdp",product:s,selectedVariant:r,ariaLabel:"Add to wishlist",isBundle:u})]}),(null==r?void 0:r.subtitle)&&(0,l.jsx)(v,{level:(j=d,String(parseInt(j)+1)),cssClass:t.a.productSubtitle,children:p})]});var j}function v({level:e="1",cssClass:s,children:r}){const n=`h${e}`;return(0,l.jsx)(n,{class:s,children:r})}}}]);