language; $formName = $address_data->formNameForJs(); if (!isset($prefix)) { $prefix = ''; } AddressWidget::addDataForJsItem(['prefix' => $prefix, 'formName' => $formName]); $homeless_color_class = null; $not_found_color_class = null; $postal_index_color_class = null; $flat_number_color_class = null; $housing_number_color_class = null; $house_number_color_class = null; $street_name_color_class = null; $town_name_color_class = null; $city_name_color_class = null; $area_name_color_class = null; $region_name_color_class = null; $country_name_color_class = null; if ($comparison_helper) { [$_, $homeless_color_class] = $comparison_helper->getRenderedDifference('homeless'); [$_, $not_found_color_class] = $comparison_helper->getRenderedDifference('not_found'); [$_, $postal_index_color_class] = $comparison_helper->getRenderedDifference('postal_index'); [$_, $flat_number_color_class] = $comparison_helper->getRenderedDifference('flat_number'); [$_, $housing_number_color_class] = $comparison_helper->getRenderedDifference('housing_number'); [$_, $house_number_color_class] = $comparison_helper->getRenderedDifference('house_number'); [$_, $street_name_color_class] = $comparison_helper->getRenderedDifference('streetName'); [$_, $town_name_color_class] = $comparison_helper->getRenderedDifference('townName'); [$_, $city_name_color_class] = $comparison_helper->getRenderedDifference('cityName'); [$_, $area_name_color_class] = $comparison_helper->getRenderedDifference('areaName'); [$_, $region_name_color_class] = $comparison_helper->getRenderedDifference('regionName'); [$_, $country_name_color_class] = $comparison_helper->getRenderedDifference('countryName'); } $postal_index_required_classes = ''; $postalIndexRequiredClassesForLabel = ''; $showRequiredSymbols = $address_data->showRequiredSymbols(); if ($showRequiredSymbols) { $postal_index_required_classes = 'index-block'; if ($address_data->isPostalIndexRequired()) { $postal_index_required_classes .= ' required'; $postalIndexRequiredClassesForLabel = 'has-star'; } } $addressWrapperId = "address-wrapper-id-{$prefix}"; ?>