`;type.indexOf("Groomsmen")!==-1&&(showFitSliderMessage=!1),showFitSliderMessage&&(fitSlider='
Be sure to check the fit slider on each dress to see if it\u2019s running big or small. For the best fit, we recommend choosing a size based on your waist measurements, especially if your bust and hip measurements fall into different size ranges.
'),chart.forEach((item,index)=>{let classes="p-3 flex items-center justify-center text-center",theStyle="height:calc(100% - 1.5rem); padding-left: 0.25rem; padding-right: 0.25rem;";index%2!==0?theStyle+="background-color: var(--darkCream);":theStyle+="background-color: var(--liteCream);",index===0&&(content+=`
`,classes+=" font-semibold uppercase"),item.data.forEach((griditem,gridIdx)=>{let dataCm="";if(index>0&&gridIdx>dataStartIndex){let measurements=griditem.split("-");for(let i=0;i
1?dataCm=`data-cm="${measurements[0]} - ${measurements[1]}"`:dataCm=`data-cm="${measurements[0]}"`}content+=`${griditem.replace("-"," - ")}
`})});const sizeChartHowToMeasure=document.querySelector("#size-chart__measure_details");if(type==="Bridesmaid Dress"||type==="Little White Dress"){const isJuniorDress=e.target.dataset.juniorDress==="true";tabs=`
${sizeChartHowToMeasure.innerHTML}
Please Note: We intentionally design our dresses to be extra-long so even your tallest bridesmaids can wear them! There\u2019s a chance you\u2019ll need to have the length altered.
${isJuniorDress?"":`
Pregnant? Here's What We Recommend
+
We recommend a dress with an empire waist or one without a defined waistline. Discover all of our bump-friendly styles here.
`}
`}content+=`