const ui=function(){function populatePlansUI(planType){let html="";const planTypeContainer=document.getElementById("plans-container");dataModel.pricingPlans.forEach((item=>{const{isCustom:isCustom,planTitle:planTitle,planSubtitle:planSubtitle,monthlyPrice:monthlyPrice,annualPrice:annualPrice,featuresPlan:featuresPlan,infoText:infoText,link:link,buttonText:buttonText}=item;let plansSpecificationsHTML="";let infoTextHTML="";let buttonHTML="";if(featuresPlan){featuresPlan.forEach((item=>{plansSpecificationsHTML+=`

${item}

`}))}if(link){buttonHTML=!isCustom?`\n ${buttonText}\n `:`\n \n `}if(infoText){infoTextHTML+=`

${infoText}

`}html+=`\n
\n

${planTitle}

\n\n

${planSubtitle}

\n\n
\n

${!isCustom?"$":""}${planType==="annual"?annualPrice:monthlyPrice}

\n \n ${!isCustom?`

/ ${planType}

`:""}\n
\n\n
\n ${plansSpecificationsHTML}\n
\n \n
\n ${infoTextHTML}\n \n ${buttonHTML}\n
\n
\n `}));if(planTypeContainer){planTypeContainer.innerHTML=html}}return{populatePlansUI:populatePlansUI}}();