// Representatives Display Module class RepresentativesDisplay { constructor() { this.container = document.getElementById('representatives-container'); } displayRepresentatives(representatives) { if (!representatives || representatives.length === 0) { this.container.innerHTML = `
No representatives were found for this postal code. This might be due to:
Please try again later or verify your postal code.
Office: ${office}
District: ${district}
${party !== 'Party not specified' ? `Party: ${party}
` : ''} ${email ? `Email: ${email}
` : ''} ${primaryPhone ? `Phone: ${primaryPhone.number} ${primaryPhone.type ? `(${primaryPhone.type})` : ''}
` : ''}