${c} ${a} ${y?`${i.Price} ${i.OldPrice}`:`${i.Price}`}
${l>1?`
${l} options available
`:""}
`}).join("");$("#trunk-bike-racks").replaceWith(i);n.forEach(n=>{const i=$(`#${t}-${n.Id}`).find(".ra-product-reviews-overview");if(!n.Id){i.find(".typo-body-small").text("No reviews yet");i.removeClass("no-opacity");return}fetch(`https://api.reviews.io/reviews?store=rackattack&sku=${n.Id}`).then(async n=>{const u=await n.json(),r=u.review_count,t=r&&r>0;i.find(".ra-rating-stars").css("width",`${u.average_rating*14}px`);i.find(".typo-body-small").text(t?`(${r})`:"No reviews yet");i.find(".typo-body-small").addClass("content-primary",t);i.find(".typo-body-small").addClass("content-secondary",!t);i.find(".ra-product-reviews-overview__stars").css("margin-right",`${t?8:0}px`);i.removeClass("no-opacity")}).catch(()=>{i.find(".typo-body-small").text("No reviews yet"),i.removeClass("no-opacity")})})}})