(window.webpackJsonpvtex_product_summary_2_91_2=window.webpackJsonpvtex_product_summary_2_91_2||[]).push([["ProductSummaryName"],{0:function(e,t){e.exports=React},10:function(e,t){e.exports=ReactIntl},33:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.store-components@3.x/ProductName"]},39:function(e,t,a){"use strict";t.a=function(e,t,a){var o,r;return(!!(null===(o=null==e?void 0:e.advertisement)||void 0===o?void 0:o.adId)||!!(null===(r=e.advertisement)||void 0===r?void 0:r.eventParameters))&&t===a}},5:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.css-handles@1.x/useCssHandles"]},6:function(e,t){e.exports=__RENDER_8_COMPONENTS__["vtex.product-summary-context@0.x/ProductSummaryContext"]},92:function(e,t,a){"use strict";a.r(t),function(e){var t=a(4);a.p=Object(t.getPublicPath)("vtex.product-summary@2.91.2");var o=Object(t.register)((function(){return a(93)}),e,"vtex.product-summary@2.91.2","vtex.product-summary@2.x","ProductSummaryName");o.renderHotReload,o.setupHMR}.call(this,a(13)(e))},93:function(e,t,a){"use strict";a.r(t);var o=a(9),r=a(0),n=a.n(r),s=a(33),c=a.n(s),u=a(5),d=a.n(u),m=a(6),i=a.n(m),l=a(10),p=a(39),v=i.a.useProductSummary,N=["nameContainer","nameWrapper","brandName","skuName","productReference","productNameLoader"],_={showProductReference:!1,showBrandName:!1,showSku:!1};function f(e){var t,a=e.showFieldsProps,r=void 0===a?_:a,s=e.tag,u=void 0===s?"h3":s,m=e.classes,i=v(),f=i.product,b=i.sponsoredBadge,x=d()(N,{classes:m}).handles,h=null==f?void 0:f.productName,y=null===(t=null==f?void 0:f.sku)||void 0===t?void 0:t.name,w=null==f?void 0:f.brand,P=Object(p.a)(f,null==b?void 0:b.position,"titleTop"),R="".concat(x.nameContainer," flex items-start justify-center pv6"),C="".concat(x.nameWrapper," overflow-hidden c-on-base f5"),E="".concat(x.brandName," t-body"),O="".concat(x.skuName," t-small"),S="".concat(x.productNameLoader," pt5 overflow-hidden"),g=Object(l.useIntl)();return n.a.createElement("div",{className:R,"aria-label":g.formatMessage({id:"store/product-summary.name.aria-label"},{productName:f.productName})},n.a.createElement(c.a,Object(o.a)({className:C,brandNameClass:E,skuNameClass:O,loaderClass:S,showSponsoredBadge:P,sponsoredBadgeLabel:null==b?void 0:b.label,productReferenceClass:x.productReference,name:h,skuName:y,brandName:w,tag:u},r)))}f.schema={title:"admin/editor.productSummaryName.title",type:"object",properties:{showFieldsProps:c.a.schema}},t.default=f}},[[92,"common"]]]);