(window.webpackJsonpvtex_product_summary_2_90_2=window.webpackJsonpvtex_product_summary_2_90_2||[]).push([["ProductSummaryName"],{0:function(e,t){e.exports=React},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;return!!(null===(o=null==e?void 0:e.advertisement)||void 0===o?void 0:o.adId)&&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.90.2");var o=Object(t.register)((function(){return a(93)}),e,"vtex.product-summary@2.90.2","vtex.product-summary@2.x","ProductSummaryName");o.renderHotReload,o.setupHMR}.call(this,a(12)(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(39),p=i.a.useProductSummary,v=["nameContainer","nameWrapper","brandName","skuName","productReference","productNameLoader"],_={showProductReference:!1,showBrandName:!1,showSku:!1};function N(e){var t,a=e.showFieldsProps,r=void 0===a?_:a,s=e.tag,u=void 0===s?"h3":s,m=e.classes,i=p(),N=i.product,f=i.sponsoredBadge,x=d()(v,{classes:m}).handles,b=null==N?void 0:N.productName,h=null===(t=null==N?void 0:N.sku)||void 0===t?void 0:t.name,w=null==N?void 0:N.brand,y=Object(l.a)(N,null==f?void 0:f.position,"titleTop"),P="".concat(x.nameContainer," flex items-start justify-center pv6"),R="".concat(x.nameWrapper," overflow-hidden c-on-base f5"),C="".concat(x.brandName," t-body"),E="".concat(x.skuName," t-small"),O="".concat(x.productNameLoader," pt5 overflow-hidden");return n.a.createElement("div",{className:P},n.a.createElement(c.a,Object(o.a)({className:R,brandNameClass:C,skuNameClass:E,loaderClass:O,showSponsoredBadge:y,sponsoredBadgeLabel:null==f?void 0:f.label,productReferenceClass:x.productReference,name:b,skuName:h,brandName:w,tag:u},r)))}N.schema={title:"admin/editor.productSummaryName.title",type:"object",properties:{showFieldsProps:c.a.schema}},t.default=N}},[[92,"common"]]]);