(window.webpackWcBlocksJsonp=window.webpackWcBlocksJsonp||[]).push([[13],{454:function(t,e,c){"use strict";c.r(e);var a=c(4),n=c.n(a),r=c(0),o=(c(2),c(1)),s=c(7),u=c.n(s),i=c(43),l=c(75),p=(c(495),function(t){var e=parseFloat(t.average_rating);return Number.isFinite(e)&&e>0?e:0});e.default=Object(l.withProductDataContext)((function(t){var e=t.className,c=Object(i.useInnerBlockLayoutContext)().parentClassName,a=Object(i.useProductDataContext)().product,s=p(a);if(!s)return null;var l={width:s/5*100+"%"},b=Object(o.sprintf)(
/* translators: %f is referring to the average rating value */
Object(o.__)("Rated %f out of 5",'woocommerce'),s);return Object(r.createElement)("div",{className:u()(e,"wc-block-components-product-rating",n()({},"".concat(c,"__product-rating"),c))},Object(r.createElement)("div",{className:u()("wc-block-components-product-rating__stars","".concat(c,"__product-rating__stars")),role:"img","aria-label":b},Object(r.createElement)("span",{style:l},b)))}))},495:function(t,e){}}]);