{"version":3,"file":"index-CCnahKCh.js","sources":["../../Client/shared/Constants/index.tsx"],"sourcesContent":["import { ProductLine } from '@business/CommonSets';\r\n\r\nexport enum PremiumTypes {\r\n    Monthly = 'monthly',\r\n    MonthlyTwoMonthDownPayment = 'monthly 2 mo down nb',\r\n    Annual = 'annual',\r\n    Escrow = 'escrow',\r\n}\r\n\r\nexport enum AvailablePaymentTypes {\r\n    AnnualOnly = 'AnnualOnly',\r\n    MonthlyAndAnnual = 'MonthlyAndAnnual',\r\n}\r\n\r\nexport enum PaymentTypes {\r\n    CreditCard = 'creditcard',\r\n    ECheck = 'echeck',\r\n}\r\n\r\nexport namespace ElementDisplayFormatTypes {\r\n    export const Boolean = 'b';\r\n    export const Year = '00';\r\n    export const Percentage = '0%';\r\n    export const Wind = 'w';\r\n    export const Int = '0,0';\r\n    export const Float = '0,0.00';\r\n    export const Text = 't';\r\n    export const Currency = '$0,0.00';\r\n    //Special type, DisplayFormat \"mixed\" cannot be set with decimal limits so it must come down from the BE with 2 decimals. For non-percentage values, we need to format as currency but WITHOUT decimals.\r\n    export const MixedCurrency = '$0,0';\r\n    //Special type, used by values that need 1 floating point instead of 2 (Grade, NumStories)\r\n    export const Float1Point = '0,0.0';\r\n    export const Mixed = 'm';\r\n    export const ChoiceText = 'choiceText';\r\n    export const Stub = 'stub';\r\n    export const TextArea = 'ta';\r\n    export const Date = 'date';\r\n}\r\n\r\nexport namespace QuoteFeeTypes {\r\n    export const Annual = 'Annual';\r\n    export const Monthly = 'Monthly';\r\n    export const EMPA = 'EMPAFee';\r\n    export const MGA = 'MGAFee';\r\n    export const MonthlyInstallment = 'MonthlyInstallmentFee';\r\n    export const CreditCardFee = 'CreditCardFee';\r\n}\r\n\r\nexport namespace ElementNames {\r\n    export const construction = 'Construction';\r\n    export const constructionGrade1Weight = 'ConstructionGrade1Weight';\r\n    export const constructionGrade1 = 'ConstructionGrade1';\r\n    export const constructionGrade2 = 'ConstructionGrade2';\r\n    export const coverageBLimit = 'CoverageBLimit';\r\n    export const coverageBLimitDefault = 'CoverageBLimitDefault';\r\n    export const coverageCLimit = 'CoverageCLimit';\r\n    export const coverageCLimitDefault = 'CoverageCLimitDefault';\r\n    export const coverageDLimit = 'CoverageDLimit';\r\n    export const coverageDLimitDefault = 'CoverageDLimitDefault';\r\n    export const coverageELimit = 'CoverageELimit';\r\n    export const coverageELimitDefault = 'CoverageELimitDefault';\r\n    export const coverageFLimit = 'CoverageFLimit';\r\n    export const coverageFLimitDefault = 'CoverageFLimitDefault';\r\n    export const declinedAdmittedCompany = 'DeclinedAdmittedCompany';\r\n    export const deductible = 'Deductible';\r\n    export const nonHurricaneDeductible = 'Deductible';\r\n    export const hurricaneDeductible = 'HurricaneDeductible';\r\n    export const garageDoor = 'GarageDoor';\r\n    export const grade = 'Grade';\r\n    export const identityFraudCoverage = 'IdentityFraudCoverage';\r\n    export const insuredType = 'InsuredType';\r\n    export const latitude = 'Latitude';\r\n    export const limitedWaterBackupLimit = 'LimitedWaterBackupLimit';\r\n    export const livingSpace = 'LivingSpace';\r\n    export const longitude = 'Longitude';\r\n    export const numLosses = 'NumLosses';\r\n    export const numStories = 'NumStories';\r\n    export const personalInjuryCoverage = 'PersonalInjuryCoverage';\r\n    export const personalPropertyEnhancementLimit = 'PersonalPropertyEnhancementLimit';\r\n    export const replacementCostAlgorithm = 'ReplacementCostAlgorithm';\r\n    export const EscapedLiquidFuelLeadLiabilityCoverage = 'EscapedLiquidFuelLeadLiabilityCoverage';\r\n    export const LiquidFuelRiskClass = 'LiquidFuelRiskClass';\r\n    export const LeadRiskClass = 'LeadRiskClass';\r\n    export const PrivateResidenceEstateFullTimeInservantCount = 'PrivateResidenceEstateFullTimeInservantCount';\r\n    export const PrivateResidenceFullTimeOutservantCount = 'PrivateResidenceFullTimeOutservantCount';\r\n    export const PrivateEstateFullTimeOutservantCount = 'PrivateEstateFullTimeOutservantCount';\r\n    export const OccasionalServantCount = 'OccasionalServantCount';\r\n    export const protectionClass = 'ProtectionClass';\r\n    export const protectiveDevicesAlarms = 'ProtectiveDevicesAlarms';\r\n    export const protectiveDevicesFireAlarms = 'ProtectiveDevicesFireAlarms';\r\n    export const protectiveDevicesBurglarAlarms = 'ProtectiveDevicesBurglarAlarms';\r\n    export const protectiveDevicesSprinklers = 'ProtectiveDevicesSprinklers';\r\n    export const replacementCost = 'ReplacementCost';\r\n    export const roofAge = 'RoofAge';\r\n    export const roofShape = 'RoofShape';\r\n    export const shutters = 'Shutters';\r\n    export const sinkholeCollapseLimit = 'SinkholeCollapseLimit';\r\n    export const stateAbbreviation = 'StateAbbreviation';\r\n    export const straps = 'Straps';\r\n    export const territoryId = 'TerritoryId';\r\n    export const territoryMultiplier = 'TerritoryMultiplier';\r\n    export const treeRisk = 'TreeRisk';\r\n    export const windConstructionProgram = 'WindConstructionProgram';\r\n    export const windLossCostDeductible = 'WindLossCostDeductible';\r\n    export const windHailDeductible = 'WindHailDeductible';\r\n    export const yearBuilt = 'YearBuilt';\r\n    export const zipCode = 'ZipCode';\r\n    export const MALiquidFuel = 'MALiquidFuel';\r\n    export const MAEscapedFuelCoverage = 'MAEscapedFuelCoverage';\r\n    export const TXHarveySafe = 'HarveySafe';\r\n    export const TXLauraSafe = 'LauraSafe';\r\n    export const ALNateSafe = 'NateSafe';\r\n    export const HurricaneDamageConfirmation = 'HurricaneDamageConfirmation';\r\n    export const LargeDogBreed = 'LargeDogBreed';\r\n    export const ByPerilScreenedEnclosures = 'ByPerilScreenedEnclosures';\r\n    export const DeclineContentsCoverage = 'DeclineContentsCoverage';\r\n    export const NewPurchase = 'NewPurchase';\r\n    export const PremiumType = 'PremiumType';\r\n    export const FirstNameInsured = 'InsuredNameFirst';\r\n    export const MiddleNameInsured = 'InsuredNameMiddle';\r\n    export const LastNameInsured = 'InsuredNameLast';\r\n    export const InsuranceScore = 'InsuranceScore';\r\n    export const InsuranceScoreRetrievedOn = 'InsuranceScoreRetrievedOn';\r\n    export const ProbableEffectiveDate = 'ProbableEffectiveDate';\r\n    export const AdditionalPremium = 'AdditionalPremium';\r\n    export const PriorClaims = 'PriorClaimsStub';\r\n    export const InsuredNameDetails = 'ChangeInsuredNameStub';\r\n    export const EnablePrimaryInsuredNameChange = 'EnablePrimaryInsuredNameChange';\r\n    export const InsuranceScoreAddressKey = 'InsuranceScoreAddressKey';\r\n    export const InsuranceScoreAddress = 'InsuranceScoreAddress';\r\n    export const LimitedFungiLimits = 'LimitedFungi';\r\n    export const ChangeInsuranceScoreAddressStub = 'ChangeInsuranceScoreAddressStub';\r\n    export const ElectricType = 'ElectricType';\r\n    export const HasFloodInsurance = 'HasFloodInsurance';\r\n    export const MepAcknowledgement = 'MepAcknowledgement';\r\n    export const PremiumAdjustment = 'PremiumAdjustment';\r\n    export const NamedStormDeductible = 'NamedStormDeductible';\r\n    export const windExclusion = 'WindExclusion';\r\n    export const LossAssessment = 'LossAssessment';\r\n    export const LossAssessmentEarthquake = 'LossAssessmentEarthquake';\r\n    export const UpcomingLoanClosingDate = 'UpcomingLoanClosingDate';\r\n    export const ExistingNfipPolicyExpirationDate = 'ExistingNfipPolicyExpirationDate';\r\n\r\n    /** This element is only added on the frontend for the rater quote page and is not a real element. */\r\n    export const ManualPremiumAdjustment = 'ManualPremiumAdjustment';\r\n    export const CalculatedMinimumReplacementCost = 'CalculatedMinReplacementCost';\r\n    export const BuildingPropertyLimit = 'BuildingPropertyLimit';\r\n    export const OutdoorSignsCovers = 'OutdoorSignsCovers';\r\n}\r\n\r\nexport namespace CommercialElementNames {\r\n    export const lossHistory = 'LossHistoryClaimType';\r\n    export const propertyBroadening = 'PropertyBroadeningFormCoverage';\r\n    export const propertyBroadeningChoices = 'PropertyBroadeningFormChoice';\r\n    export const crime = 'CrimeCoverage';\r\n    export const crimeLimit = 'CrimeCoverageLimit';\r\n    export const ordinanceOrLawCoverage = 'OrdinanceOrLawCoverage';\r\n    export const ordinanceOrLawLimit = 'OrdinanceOrLawLimit';\r\n    export const ordinanceOrLawBLimit = 'OrdinanceOrLawBLimit';\r\n    export const ordinanceOrLawCLimit = 'OrdinanceOrLawCLimit';\r\n    export const useCombinedOrdinanceOrLawBC = 'UseCombinedOrdinanceOrLawBC';\r\n    export const ordinanceOrLawCombinedBCLimits = 'OrdinanceOrLawCombinedBCLimits';\r\n    export const hiredAuto = 'HiredNonOwnedAutoCoverage';\r\n    export const effectiveDate = 'EffectiveDate';\r\n    export const buildingType = 'BuildingType';\r\n    export const buildingValue = 'BuildingValue';\r\n    export const businessIncomeLimit = 'BusinessIncomeLimit';\r\n    export const yearBuilt = 'YearBuilt';\r\n    export const sqFootage = 'SquareFootage';\r\n    export const units = 'NumberOfUnits';\r\n    export const stories = 'NumberOfStories';\r\n    export const businessPersonalPropertyLimit = 'BusinessPersonalPropertyLimit';\r\n    export const equipmentBreakdown = 'EquipmentBreakdownCoverage';\r\n    export const terrorism = 'TerrorismCoverage';\r\n    export const employeeBenefits = 'EmployeeBenefitsCoverage';\r\n    export const swimmingPools = 'SwimmingPoolCount';\r\n    export const constructionType = 'ConstructionType';\r\n    export const deductible = 'Deductible';\r\n    export const hurricaneDeductible = 'HurricaneDeductible';\r\n    export const irpmTotal = 'IrpmTotal';\r\n    export const additionalPropertyPremium = 'AdditionalPropertyPremium';\r\n    export const additionalLiabilityPremium = 'AdditionalLiabilityPremium';\r\n    export const additionalCrimePremium = 'AdditionalCrimePremium';\r\n    export const generalLiabilityInfo = 'GeneralLiabilityInfo';\r\n    export const softMaximumTotalInsurableValue = 'SoftMaximumTotalInsurableValue';\r\n    export const overrideRoughnessLengthDecline = 'OverrideRoughnessLengthDecline';\r\n    export const windExclusion = 'WindExclusion';\r\n    export const prospectiveInsuredName = 'ProspectiveInsuredName';\r\n    export const manualDecline = 'ManualDecline';\r\n    export const manualDeclineReason = 'ManualDeclineReason';\r\n    export const roofAge = 'RoofAge';\r\n    export const roofType = 'RoofType';\r\n    export const roofGeometry = 'RoofGeometry';\r\n    export const probableEffectiveDate = 'ProbableEffectiveDate';\r\n    export const numberOfBuildings = 'NumberOfBuildings';\r\n    export const targetAnnualPremium = 'TargetAnnualPremium';\r\n    export const generalLiabilityCoverage = 'GeneralLiabilityCoverage';\r\n    export const earthquakeCoverage = 'EarthquakeCoverage';\r\n    export const floodCoverage = 'FloodCoverage';\r\n    export const earthquakeCoverageSublimit = 'EarthquakeSublimit';\r\n    export const floodCoverageSublimit = 'FloodSublimit';\r\n    export const IrpmAdmin = 'IrpmAdmin';\r\n    export const IrpmReason = 'IrpmReason';\r\n    export const IrpmAdminReason = 'IrpmAdminReason';\r\n    export const BroadeningASewerLimit = 'BroadeningASewerLimit';\r\n    export const BroadeningBSewerLimit = 'BroadeningBSewerLimit';\r\n    export const NewPurchase = 'NewPurchase';\r\n    export const minAllowedBuildingValue = 'MinAllowedBuildingValue';\r\n    export const minOwnerOccupied = 'MinOwnerOccupied';\r\n    export const hurricaneDamageConfirmation = 'HurricaneDamageConfirmation';\r\n    export const stopGapCoverage = 'StopGapCoverage';\r\n    export const waterDamageDeductible = 'WaterDamageDeductible';\r\n    export const waterDamageDeductibleFrequency = 'WaterDamageDeductibleFrequency';\r\n    export const expiresOn = 'ExpiresOn';\r\n}\r\n\r\nexport const vaveClaimTypes = [\r\n    { value: 'Earth Movement' },\r\n    { value: 'Escape of Water' },\r\n    { value: 'Fire' },\r\n    { value: 'Flood' },\r\n    { value: 'Hail' },\r\n    { value: 'Hurricane' },\r\n    { value: 'Liability' },\r\n    { value: 'Lightning' },\r\n    { value: 'Medical Expenses' },\r\n    { value: 'Mold' },\r\n    { value: 'Other' },\r\n    { value: 'Rain' },\r\n    { value: 'Roof Damage' },\r\n    { value: 'Sewer Backup' },\r\n    { value: 'Sinkhole' },\r\n    { value: 'Snow' },\r\n    { value: 'Theft' },\r\n    { value: 'Tornado' },\r\n    { value: 'Tree Fall' },\r\n    { value: 'Unknown' },\r\n    { value: 'Vandalism' },\r\n    { value: 'Wind' },\r\n];\r\n\r\nexport const commercialElementDisplayNames = {\r\n    LossHistory: 'Loss History',\r\n    PropertyBroadening: 'Property Broadening Form Coverage',\r\n    PropertyBroadeningChoices: 'Property Broadening Form Choices',\r\n    Crime: 'Crime Coverage',\r\n    CrimeLimit: 'Crime Limit',\r\n    OrdinanceOrLaw: 'Ordinance Or Law Coverage',\r\n    OrdinanceOrLawCombinedLimits: 'Ordinance Or Law Combined Limits',\r\n    HiredAuto: 'Hired Non-Owned Auto Coverage',\r\n    EffectiveDate: 'Effective Date',\r\n    BuildingType: 'Occupancy',\r\n    BuildingValue: 'Building Value',\r\n    BusinessIncomeLimit: 'Business Income Limit',\r\n    YearBuilt: 'Year Built',\r\n    SqFootage: 'Square Footage',\r\n    Units: 'Number Of Units',\r\n    Stories: 'Number Of Stories',\r\n    BusinessPersonalPropertyLimit: 'Business Personal Property Limit',\r\n    EquipmentBreakdown: 'Equipment Breakdown Coverage',\r\n    Terrorism: 'Terrorism Coverage',\r\n    EmployeeBenefits: 'Employee Benefits Coverage',\r\n    SwimmingPools: 'Swimming Pool Count',\r\n    ConstructionType: 'Construction Type',\r\n    Deductible: 'Deductible',\r\n    IrpmTotal: 'Irpm Total',\r\n    IrpmAdminTotal: 'Admin Adjustment',\r\n    AdditionalPropertyPremium: 'Additional Property Premium',\r\n    AdditionalLiabilityPremium: 'Additional Liability Premium',\r\n    AdditionalCrimePremium: 'Additional Crime Premium',\r\n    SoftMaximumTotalInsurableValue: 'Maximum Total Insurable Value',\r\n    OverrideRoughnessLengthDecline: 'Accept Catastrophic Exposure Risk',\r\n    WindExclusion: 'Wind Exclusion',\r\n    RoofAge: 'Roof Age',\r\n    RoofType: 'Roof Type',\r\n    RoofGeometry: 'Roof Geometry',\r\n    ProbableEffectiveDate: 'Probable Effective Date',\r\n    NumberOfBuildings: 'Number Of Buildings',\r\n    EarthquakeCoverage: 'Earthquake Coverage',\r\n    FloodCoverage: 'Flood Coverage',\r\n    EarthquakeCoverageSublimit: 'Earthquake Coverage Sublimit',\r\n    FloodCoverageSublimit: 'Flood Coverage Sublimit',\r\n    NewPurchase: 'New Purchase',\r\n    BusinessPersonalProperty: 'Business Personal Property Limit',\r\n    MinOwnerOccupied: 'Owner Occupancy',\r\n    HurricaneDamageConfirmation: 'Previous Damage',\r\n    StopGapCoverage: 'Employers Liability Coverage Stop Gap',\r\n    WaterDamageDeductible: 'Water Damage Deductible',\r\n    WaterDamageDeductibleFrequency: 'Water Damage Deductible Frequency',\r\n};\r\n\r\nexport const commercialCustomDropdownElementNames = [\r\n    CommercialElementNames.buildingType,\r\n    CommercialElementNames.constructionType,\r\n    CommercialElementNames.targetAnnualPremium,\r\n    CommercialElementNames.prospectiveInsuredName,\r\n    CommercialElementNames.probableEffectiveDate,\r\n    CommercialElementNames.roofType,\r\n    CommercialElementNames.roofGeometry,\r\n];\r\n\r\nexport const commercialCustomValueFormatElements = [\r\n    CommercialElementNames.effectiveDate,\r\n    CommercialElementNames.ordinanceOrLawLimit,\r\n    CommercialElementNames.generalLiabilityInfo,\r\n    CommercialElementNames.probableEffectiveDate,\r\n];\r\n\r\n//Validation failures for these elements result in a FE-driven soft-decline, with no patch attempt.\r\nexport const softDeclineCommercialElements = [\r\n    CommercialElementNames.buildingValue,\r\n    CommercialElementNames.businessPersonalPropertyLimit,\r\n    CommercialElementNames.businessIncomeLimit,\r\n    CommercialElementNames.yearBuilt,\r\n    CommercialElementNames.numberOfBuildings,\r\n    CommercialElementNames.stories,\r\n    CommercialElementNames.roofAge,\r\n    CommercialElementNames.units,\r\n];\r\n\r\nexport const commercialErrorSeverityTypes = {\r\n    Error: 'error',\r\n    Warning: 'warning',\r\n};\r\n\r\nexport const exceptionLevel = {\r\n    Error: 'ERROR',\r\n    Warn: 'WARN',\r\n};\r\n\r\nexport const commercialErrorElementWarnings = {\r\n    EffectiveDate: 'Please enter a valid Effective Date',\r\n};\r\n\r\nexport const swyfftProducts = {\r\n    Homeowner: 'homeowner',\r\n    Commercial: 'commercial',\r\n};\r\n\r\n/** @deprecated @app/Business/CommonSets/RatingType */\r\nexport const ratingTypes = {\r\n    Admitted: 'Admitted',\r\n    EAndS: 'EAndS',\r\n};\r\n\r\nexport const calculationMethodologies = {\r\n    ByPeril: 'ByPeril',\r\n    Iso: 'ISO',\r\n};\r\n\r\nexport enum endorsementCalculationType {\r\n    None,\r\n    ProRata,\r\n    ShortRate,\r\n    Flat,\r\n    MinimumEarned,\r\n}\r\n\r\nexport const emailTokens = {\r\n    Address: 'address',\r\n    AgentContact: 'agentContact',\r\n    AgentFirstName: 'agentFirstName',\r\n    AgentSetPassword: 'agentSetPassword',\r\n    AgentMessage: 'agentMessage',\r\n    AgentName: 'agentName',\r\n    AgentUserName: 'username',\r\n    AnnualPremium: 'annualPremium',\r\n    CancelDate: 'cancelDate',\r\n    ContactUrl: 'contactUrl',\r\n    CurrentYear: 'currentYear',\r\n    Date: 'date',\r\n    EarthquakeMessage: 'earthquakeMessage',\r\n    EditUrl: 'editUrl',\r\n    EffectiveDate: 'effectiveDate',\r\n    EffectiveTime: 'effectiveTime',\r\n    Email: 'email',\r\n    ErrorMessage: 'errorMessage',\r\n    ExcelAnnualPremium: 'excelAnnualPremium',\r\n    FaxText: 'faxText',\r\n    GrossAnnualPayment: 'grossAnnualPayment',\r\n    Hazards: 'hazards',\r\n    ImageBaseUrl: 'imageBaseUrl',\r\n    Insured: 'insured',\r\n    InsuredFirstName: 'firstName',\r\n    FooterAgentContact: 'footerAgentContact',\r\n    FooterPlain: 'footerPlain',\r\n    InsuredPhoneNumber: 'insuredPhoneNumber',\r\n    IntervalNote: 'intervalNote',\r\n    Message: 'message',\r\n    ModifyQuoteUrl: 'modifyQuoteUrl',\r\n    MonthlyPayment: 'monthlyPayment',\r\n    Name: 'name',\r\n    Owner1: 'owner1',\r\n    Owner2: 'owner2',\r\n    PaymentMessage: 'paymentMessage',\r\n    Phone: 'phone',\r\n    PhysicalAddress: 'physicalAddress',\r\n    PolicyNumber: 'policyNumber',\r\n    Property: 'property',\r\n    PurchasedOn: 'purchasedOn',\r\n    PurchaseQuoteUrl: 'purchaseQuoteUrl',\r\n    QuoteAnnualPremium: 'quoteAnnualPremium',\r\n    QuoteId: 'quoteId',\r\n    QuoteUrl: 'quoteUrl',\r\n    Reason: 'reason',\r\n    Recommendations: 'recommendations',\r\n    RenewalDate: 'renewalDate',\r\n    Reply: 'reply',\r\n    ResetPasswordUrl: 'resetPasswordUrl',\r\n    SwyfftStreetAddress: 'swyfftStreetAddress',\r\n    SwyfftCity: 'swyfftCity',\r\n    SwyfftState: 'swyfftState',\r\n    SwyfftZipCode: 'swyfftZipCode',\r\n    SwyfftPhone: 'swyfftPhone',\r\n    SwyfftPhoneUnformatted: 'swyfftPhoneUnformatted',\r\n    SwyfftCustomerSupportEmail: 'swyfftCustomerSupportEmail',\r\n    SwyfftMarketingTeamEmail: 'swyfftMarketingTeamEmail',\r\n    UpdatePayment: 'updatePayment',\r\n    UploadEoUrl: 'uploadEoUrl',\r\n    UploadProducerContactUrl: 'uploadProducerContactUrl',\r\n    UploadLocationLicenseUrl: 'uploadLocationLicenseUrl',\r\n    UploadContactLicenseUrl: 'uploadContactLicenseUrl',\r\n    UpdateIvansUrl: 'updateIvansUrl',\r\n};\r\n\r\nlet tokens = emailTokens;\r\nexport let emailTokenNames = Object.keys(tokens).map(key => tokens[key]);\r\n\r\n/**\r\n * Defines the possible types of access roles a user might have in the system.\r\n * Must correspond exactly to the C# Swyfft.Services.Authentication.AccessRole.\r\n */\r\nexport enum AccessRole {\r\n    AnonymousUser = 0,\r\n    Agent = 1,\r\n    Admin = 2,\r\n\r\n    /** @deprecated Use Agent instead */\r\n    IndependentAgent = 3,\r\n\r\n    CaptiveAgent = 4,\r\n    AgencyAdmin = 5,\r\n    AgencyLocationAdmin = 6,\r\n    LimitedAgent = 7,\r\n}\r\n\r\nexport enum AlertFooterType {\r\n    CustomerSupport,\r\n    MarketingTeam,\r\n    Commercial,\r\n    None,\r\n}\r\n\r\nexport const statesByName = {\r\n    alabama: 'AL',\r\n    alaska: 'AK',\r\n    arizona: 'AZ',\r\n    arkansas: 'AR',\r\n    california: 'CA',\r\n    colorado: 'CO',\r\n    connecticut: 'CT',\r\n    delaware: 'DE',\r\n    florida: 'FL',\r\n    georgia: 'GA',\r\n    hawaii: 'HI',\r\n    idaho: 'ID',\r\n    illinois: 'IL',\r\n    indiana: 'IN',\r\n    iowa: 'IA',\r\n    kansas: 'KS',\r\n    kentucky: 'KY',\r\n    louisiana: 'LA',\r\n    maine: 'ME',\r\n    maryland: 'MD',\r\n    massachusetts: 'MA',\r\n    michigan: 'MI',\r\n    minnesota: 'MN',\r\n    mississippi: 'MS',\r\n    missouri: 'MO',\r\n    montana: 'MT',\r\n    nebraska: 'NE',\r\n    nevada: 'NV',\r\n    'new hampshire': 'NH',\r\n    'new jersey': 'NJ',\r\n    'new mexico': 'NM',\r\n    'new york': 'NY',\r\n    'north carolina': 'NC',\r\n    'north dakota': 'ND',\r\n    ohio: 'OH',\r\n    oklahoma: 'OK',\r\n    oregon: 'OR',\r\n    pennsylvania: 'PA',\r\n    'rhode island': 'RI',\r\n    'south carolina': 'SC',\r\n    'south dakota': 'SD',\r\n    tennessee: 'TN',\r\n    texas: 'TX',\r\n    utah: 'UT',\r\n    vermont: 'VT',\r\n    virginia: 'VA',\r\n    washington: 'WA',\r\n    'west virginia': 'WV',\r\n    wisconsin: 'WI',\r\n    wyoming: 'WY',\r\n    'american samoa': 'AS',\r\n    'district of columbia': 'DC',\r\n    'federated states of micronesia': 'FM',\r\n    guam: 'GU',\r\n    'marshall islands': 'MH',\r\n    'northern mariana islands': 'MP',\r\n    palau: 'PW',\r\n    'puerto rico': 'PR',\r\n    'virgin islands': 'VI',\r\n};\r\n\r\n/** @deprecated Use app/Business/CommonSets/StateCode instead */\r\nexport const statesByCode = {\r\n    al: 'Alabama',\r\n    ak: 'Alaska',\r\n    az: 'Arizona',\r\n    ar: 'Arkansas',\r\n    ca: 'California',\r\n    co: 'Colorado',\r\n    ct: 'Connecticut',\r\n    de: 'Delaware',\r\n    fl: 'Florida',\r\n    ga: 'Georgia',\r\n    hi: 'Hawaii',\r\n    id: 'Idaho',\r\n    il: 'Illinois',\r\n    in: 'Indiana',\r\n    ia: 'Iowa',\r\n    ks: 'Kansas',\r\n    ky: 'Kentucky',\r\n    la: 'Louisiana',\r\n    me: 'Maine',\r\n    md: 'Maryland',\r\n    ma: 'Massachusetts',\r\n    mi: 'Michigan',\r\n    mn: 'Minnesota',\r\n    ms: 'Mississippi',\r\n    mo: 'Missouri',\r\n    mt: 'Montana',\r\n    ne: 'Nebraska',\r\n    nv: 'Nevada',\r\n    nh: 'New Hampshire',\r\n    nj: 'New Jersey',\r\n    nm: 'New Mexico',\r\n    ny: 'New York',\r\n    nc: 'North Carolina',\r\n    nd: 'North Dakota',\r\n    oh: 'Ohio',\r\n    ok: 'Oklahoma',\r\n    or: 'Oregon',\r\n    pa: 'Pennsylvania',\r\n    ri: 'Rhode Island',\r\n    sc: 'South Carolina',\r\n    sd: 'South Dakota',\r\n    tn: 'Tennessee',\r\n    tx: 'Texas',\r\n    ut: 'Utah',\r\n    vt: 'Vermont',\r\n    va: 'Virginia',\r\n    wa: 'Washington',\r\n    wv: 'West Virginia',\r\n    wi: 'Wisconsin',\r\n    wy: 'Wyoming',\r\n    as: 'American Samoa',\r\n    dc: 'District of Columbia',\r\n    fm: 'Federated States of Micronesia',\r\n    gu: 'Guam',\r\n    mh: 'Marshall Islands',\r\n    mp: 'Northern Mariana Islands',\r\n    pw: 'Palau',\r\n    pr: 'Puerto Rico',\r\n    vi: 'Virgin Islands',\r\n};\r\n\r\nexport const w9BusinessTypes = {\r\n    '1': 'C or S Corporation',\r\n    '2': 'LLC',\r\n    '3': 'Single-member LLC',\r\n    '4': 'Sole Proprietor',\r\n};\r\n\r\n/** @deprecated Use app/Business/CommonSets/StateCode instead */\r\nexport enum StateCode {\r\n    AL = 'AL',\r\n    AK = 'AK',\r\n    AZ = 'AZ',\r\n    AR = 'AR',\r\n    CA = 'CA',\r\n    CO = 'CO',\r\n    CT = 'CT',\r\n    DE = 'DE',\r\n    FL = 'FL',\r\n    GA = 'GA',\r\n    HI = 'HI',\r\n    ID = 'ID',\r\n    IL = 'IL',\r\n    IN = 'IN',\r\n    IA = 'IA',\r\n    KS = 'KS',\r\n    KY = 'KY',\r\n    LA = 'LA',\r\n    ME = 'ME',\r\n    MD = 'MD',\r\n    MA = 'MA',\r\n    MI = 'MI',\r\n    MN = 'MN',\r\n    MS = 'MS',\r\n    MO = 'MO',\r\n    MT = 'MT',\r\n    NE = 'NE',\r\n    NV = 'NV',\r\n    NH = 'NH',\r\n    NJ = 'NJ',\r\n    NM = 'NM',\r\n    NY = 'NY',\r\n    NC = 'NC',\r\n    ND = 'ND',\r\n    OH = 'OH',\r\n    OK = 'OK',\r\n    OR = 'OR',\r\n    PA = 'PA',\r\n    RI = 'RI',\r\n    SC = 'SC',\r\n    SD = 'SD',\r\n    TN = 'TN',\r\n    TX = 'TX',\r\n    UT = 'UT',\r\n    VT = 'VT',\r\n    VA = 'VA',\r\n    WA = 'WA',\r\n    WV = 'WV',\r\n    WI = 'WI',\r\n    WY = 'WY',\r\n    AS = 'AS',\r\n    DC = 'DC',\r\n    FM = 'FM',\r\n    GU = 'GU',\r\n    MH = 'MH',\r\n    MP = 'MP',\r\n    PW = 'PW',\r\n    PR = 'PR',\r\n    VI = 'VI',\r\n}\r\n\r\nlet states = statesByCode;\r\nexport let statesByNameAndValue = Object.keys(states).map(code => {\r\n    return {\r\n        name: states[code],\r\n        value: code.toUpperCase(),\r\n    };\r\n});\r\n\r\nexport const contactReasons = {\r\n    signupAgent: 'New Agent Signup',\r\n    changeMortgagee: 'Change Mortgagee Information',\r\n    changeMailingAddress: 'Change Mailing Address',\r\n    changeCancelPolicy: 'Cancel Policy',\r\n    verifyPolicy: 'Get Copy of Policy',\r\n    claim: 'Report a Claim',\r\n    other: 'Other',\r\n};\r\n\r\nlet contacts = contactReasons;\r\nexport let contactReasonsByNameAndValue = Object.keys(contacts).map(code => {\r\n    return {\r\n        name: contacts[code],\r\n        value: code,\r\n    };\r\n});\r\n\r\nexport const updateAgentReasons = {\r\n    updateEmail: \"Update agent's email\",\r\n    updatePolicy: 'Change the agent assigned to this policy',\r\n    updateAllPolicies: \"Assign a different agent to all this agent's policies\",\r\n    other: 'Other',\r\n};\r\n\r\nlet updates = updateAgentReasons;\r\nexport let updateAgentReasonsByNameAndValue = Object.keys(updates).map(code => {\r\n    return {\r\n        name: updates[code],\r\n        value: code,\r\n    };\r\n});\r\n\r\nexport const taskTypeDescriptions = {\r\n    renew: 'Renewal',\r\n    prerenewalCheck: 'Precheck',\r\n    nonrenew: 'Nonrenew',\r\n    nocUnderwriting: 'NOC - Underwriting',\r\n    nocNonPay: 'NOC - NonPay',\r\n    validateBindingRequirements: 'Validate Binding Requirements',\r\n};\r\n\r\nlet tasktypes = taskTypeDescriptions;\r\nexport let taskTypesByNameAndValue = Object.keys(tasktypes).map(code => {\r\n    return {\r\n        name: tasktypes[code],\r\n        value: code,\r\n    };\r\n});\r\n\r\n//From lstSalutations in IMS\r\nexport const salutationsByNumber = {\r\n    '3': 'Mr',\r\n    '5': 'Ms',\r\n    '4': 'Mrs',\r\n    '1': 'Dr',\r\n    '2': 'Miss',\r\n    '6': 'Rev',\r\n};\r\n\r\nlet salutations = salutationsByNumber;\r\nexport let salutationsByNameAndNumber = Object.keys(salutations).map(code => {\r\n    return {\r\n        name: salutations[code],\r\n        value: code,\r\n    };\r\n});\r\n\r\nexport const emailRoutingValues = {\r\n    '0': 'Agent',\r\n    '1': 'Agency',\r\n    '2': 'Agent and Agency',\r\n};\r\n\r\nlet routingValues = emailRoutingValues;\r\n\r\nexport let emailRoutingValuesByNameAndValue = Object.keys(routingValues).map(code => {\r\n    return {\r\n        name: routingValues[code],\r\n        value: code,\r\n    };\r\n});\r\n\r\nexport const additionalInterestTypes = {\r\n    I: 'Additional Insured',\r\n    M: 'Mortgagee',\r\n};\r\n\r\nlet aiTypes = additionalInterestTypes;\r\nexport let additionalInterestTypesByNameAndValue = Object.keys(aiTypes).map(code => {\r\n    return {\r\n        name: aiTypes[code],\r\n        value: code.toUpperCase(),\r\n    };\r\n});\r\n\r\nexport const elementWarnings = {\r\n    'Harvey Damage':\r\n        'We are not insuring homes with unrepaired damages that are the result of Hurricane or Tropical Storm Harvey and the related rain and flooding at this time. Once repairs are completed, the home should regain its eligibility.',\r\n    'Nate Damage':\r\n        'We are not insuring homes with unrepaired damages that are the result of Hurricane or Tropical Storm Nate, Tropical Storm Alberto, or Tropical Storm Gordon and the related rain and flooding at this time. Once repairs are completed, the home should regain its eligibility.',\r\n    'Animal Liability': 'We are not insuring homes that do not meet our animal liability underwriting guidelines.',\r\n};\r\n\r\nexport namespace ElementCustomDescriptions {\r\n    export const replacementCostByPeril =\r\n        'This is how much it would cost to rebuild your home from scratch. This is not the same thing as how much your home would sell for (the two can be very different).';\r\n    export const premiumTypeByPeril =\r\n        'Select \"Annual\" if the insured will be paying for the entire premium up-front with a credit card or eCheck. Select \"Escrow\" if the premium will be paid out of an escrow account by a mortgagee.';\r\n}\r\n\r\nexport enum ElementTemplateTypes {\r\n    Boolean = 'b',\r\n    Choice = 'c',\r\n    Collection = 'l',\r\n    Date = 'd',\r\n    Empty = 'emptyTemplate',\r\n    Index = 'i',\r\n    Info = 'o',\r\n    MultiSelect = 'm',\r\n    Number = 'n',\r\n    Percent = 'p',\r\n    Range = 'r',\r\n    Text = 't',\r\n}\r\n\r\nexport const commercialValidationParameters = {\r\n    lossClaimYearMin: 1900,\r\n    YearBuiltMin: 1700,\r\n    livingSpaceAdmittedMin: 1200,\r\n    livingSpaceSurplusMin: 500,\r\n    BusinessPersonalPropertyLimitMin: 0,\r\n    BusinessPersonalPropertyLimitMax: 100000000,\r\n    BuildingValueMin: 1,\r\n    BuildingValueMax: 10000000000,\r\n    BusinessIncomeLimitMin: 0,\r\n    BusinessIncomeLimitMax: 100000000,\r\n    NumberOfUnitsMin: 0,\r\n    NumberOfUnitsMax: 10000,\r\n};\r\n\r\nexport const commercialElementGroups = {\r\n    policyEffectiveDate: 'PolicyEffectiveDate',\r\n    propertyCoverages: 'Coverages',\r\n    lossHistory: 'LossHistory',\r\n    deductibleLimits: 'DeductibleAndLimits',\r\n    buildingDetails: 'BuildingDetails',\r\n    irpmSurplus: 'IRPM',\r\n    irpmAdmitted: 'Risk Modification',\r\n    windRelatedFactors: 'WindRelatedFactors',\r\n    targetAnnualPremium: 'TargetAnnualPremium',\r\n    admin: 'Admin',\r\n    purchaseMoratoriumFactors: 'PurchaseMoratoriumFactors',\r\n    activeBrushfireFactors: 'ActiveBrushfireFactors',\r\n};\r\n\r\nexport const commercialElementGroupDisplayNames = {\r\n    PolicyEffectiveDate: 'Policy Effective Date',\r\n    Coverages: 'Coverages',\r\n    LossHistory: 'Loss History',\r\n    DeductibleAndLimits: 'Deductible & Limits',\r\n    BuildingDetails: 'Building Details',\r\n    irpmSurplus: 'IRPM',\r\n    irpmAdmitted: 'Risk Modification',\r\n    WindRelatedFactors: 'Wind-Related Factors',\r\n    TargetAnnualPremium: ' ',\r\n    Admin: 'Admin',\r\n};\r\n\r\nexport const commercialSurplusBuildingTypeValues = {\r\n    ApartmentNoRetail: 'Apartment without Retail',\r\n    ApartmentYesRetail: 'Apartment with Retail',\r\n    CondoNoRetail: 'Condo',\r\n    CondoYesRetail: 'Condo with Retail',\r\n    OfficeAndServices: 'Office and Professional Services',\r\n    ShoppingRetail: 'Shopping Center/Retail',\r\n};\r\n\r\nexport const commercialAdmittedBuildingTypeValues = {\r\n    ApartmentYesRetail: 'Apartment with Retail',\r\n    ApartmentNoRetail: 'Apartment without Retail',\r\n    CondoNoRetail: 'Condo',\r\n    CondoYesRetail: 'Condo with Retail',\r\n};\r\n\r\nexport const commercialAllBuildingTypeValues = {\r\n    ApartmentNoRetail: 'Apartment without Retail',\r\n    ApartmentYesRetail: 'Apartment with Retail',\r\n    CondoNoRetail: 'Condo',\r\n    CondoYesRetail: 'Condo with Retail',\r\n    OfficeAndServices: 'Office and Professional Services',\r\n    ShoppingRetail: 'Shopping Center/Retail',\r\n};\r\n\r\nexport const commercialBuildingTypeDisplayTexts = {\r\n    ApartmentYesRetail: 'Apartment Building Owners/Operations (with retail)',\r\n    ApartmentNoRetail: 'Apartment Building Owners/Operations',\r\n    CondoNoRetail: 'Residential Condo Associations',\r\n    OfficeAndServices: 'Office/Professional Building Owners (Lessors Only)',\r\n    ShoppingRetail: 'Retail/Shopping Center Owners (Lessors Only)',\r\n    CondoYesRetail: 'Residential Condo Associations (with retail)',\r\n};\r\n\r\nexport const commercialBuildingTypeDisplayTextsByValues = {\r\n    'Apartment with Retail': 'Apartment Building Owners/Operations (with retail)',\r\n    'Apartment without Retail': 'Apartment Building Owners/Operations',\r\n    Condo: 'Residential Condo Associations',\r\n    'Condo with Retail': 'Residential Condo Associations (with retail)',\r\n    'Office and Professional Services': 'Office/Professional Building Owners (Lessors Only)',\r\n    'Shopping Center/Retail': 'Retail/Shopping Center Owners (Lessors Only)',\r\n};\r\n\r\n/** @deprecated These types should be fetched from the server-side ByPerilConstructionType set instead of hard-coded here. This is left in place for legacy code. */\r\nexport const commercialSurplusConstructionTypes = {\r\n    Frame: 'Frame',\r\n    JoistedMasonry: 'Joisted Masonry',\r\n    NonCombustible: 'Non-Combustible',\r\n    MasonryNonCombustible: 'Masonry Non-Combustible',\r\n    ModifiedFireResistive: 'Modified Fire Resistive',\r\n    FireResistive: 'Fire Resistive',\r\n};\r\n\r\nexport const commercialGeneralLiabilityTypes = {\r\n    NoCoverage: 'No Coverage',\r\n    OneMillionTwoMillion: '$1MM/2MM',\r\n};\r\n\r\nexport const commercialGeneralLiabilityLimits = {\r\n    lowerLimit: 1000000,\r\n    upperLimit: 2000000,\r\n};\r\n\r\nexport const commercialMinOwnerOccupancyValues = {\r\n    lessThan65Percent: '< 65%',\r\n    greaterThan65Percent: '>= 65%',\r\n};\r\n\r\nexport const customCommercialElements = [\r\n    'LossHistoryClaimType',\r\n    'PropertyBroadeningFormCoverage',\r\n    'CrimeCoverage',\r\n    'OrdinanceOrLawCoverage',\r\n    'EarthquakeCoverage',\r\n    'FloodCoverage',\r\n    'ManualDecline',\r\n];\r\n\r\nexport const additionalCommercialChoiceElements = [\r\n    'CrimeCoverage',\r\n    'PropertyBroadeningFormCoverage',\r\n    'CrimeCoverageLimit',\r\n    'PropertyBroadeningFormChoice',\r\n    'EarthquakeCoverage',\r\n    'EarthquakeSublimit',\r\n    'FloodCoverage',\r\n    'FloodSublimit',\r\n    'OrdinanceOrLawCoverage',\r\n    'OrdinanceOrLawBLimit',\r\n    'OrdinanceOrLawCLimit',\r\n    'OrdinanceOrLawCombinedBCLimit',\r\n    'UseCombinedOrdinanceOrLawBC',\r\n    'ManualDecline',\r\n];\r\n\r\nexport const commercialSurplusCoveredRisks = [\r\n    'Meets all local zoning codes',\r\n    'Fire extinguishers per local ordinances',\r\n    'Two means of egress for all living units (or units that discharge directly outside). Every exit clearly visible or the route to the exit conspicuously indicated. Exit access and exits themselves marked and lighted, as required by local code. All means of egress free and unobstructed. Exit doors arranged to open readily when the building is occupied.',\r\n    'Powered doors designed and installed to be functional even in the event of power failures.',\r\n    'Smoke detectors in every living unit, all common areas. If battery operated a formal battery replacement program must exist. ',\r\n    'Emergency lighting for all units in buildings over 4 stories. Lighting units should be placed in corridors, passageways, stairwells and remote areas.',\r\n    'Exit signs that are properly located and illuminated. Both emergency lighting and exit lighting should be on a regular maintenance program.',\r\n    'Operating fire alarm system, along with posted evacuation procedures.',\r\n    'If a sprinkler system is present, the sprinkler system(s) must be inspected annually by a licensed sprinkler contractor and all appropriate testing of the system be performed including flow tests and pressure testing.',\r\n    'Any pools are fully fenced (4’ or more) with a self-latching gate, no diving boards or slides, no direct public access, rules and hours prominently posted, life-saving equipment is present and depth markers are clearly visible.',\r\n    'HVAC, plumbing, electrical and roofing systems are current and adequate.',\r\n    'If bars on windows are present, they are equipped with quick release mechanisms.',\r\n    'Subcontractors to provide a certificate of insurance prior to commencing work on the property.',\r\n    'Risks with commercial cooking in compliance with NFPA 96',\r\n    <span>\r\n        Risks greater than 10 stories and up to 25 stories{' '}\r\n        <strong>\r\n            must be of fire resistive construction, fully sprinklered and have a central station alarm system\r\n        </strong>\r\n        .\r\n    </span>,\r\n    'Buildings over 4 stories and 50 units equipped with manual and pull stations in appropriate locations in corridors and hallways, that alarm locally and to a 24-hour monitoring service.',\r\n    'Obtain a Certificate of Insurance for all Mercantile Occupancies with a minimum $1M GL limit',\r\n];\r\n\r\nexport const commercialSurplusNonCoveredRisks = [\r\n    'Fuses for overcurrent protection',\r\n    'Federal Pacific Stab-lok or Zinsco circuit breakers and/or panels',\r\n    'Aluminum wiring, even if pig-tailed/retrofitted with copalum connectors',\r\n    'Charcoal grilling on balconies or within 10 feet of any structure',\r\n    'Wood shake roof',\r\n    'EIFS cladding',\r\n    'Barbed wire on fences or barriers in use',\r\n    'Docks, marinas or boat slips- this applies if you are writing Package/GL (already excluded on Property)',\r\n    'Railings with greater than 6-inch openings and no horizontal railings on risks above 2 stories',\r\n    'Medical, food or transportation services provided BY THE INSURED; senior living or independent care, assisted living or nursing home operations or tenants.',\r\n    'Armed security',\r\n    'More than 30% subsidized, student or senior housing. NOTE: subsidized means any subsidy program, including USDA Rural Housing (515) properties',\r\n    'Occupancy rate below 80%; newly built must be at /exceed 80% occupancy within 120 days.',\r\n    'Any facility on the premises that involves the care or custody of children- this applies to all Swyfft classes and all lessors as respects locations with these types of tenants/lessees',\r\n    'Short Term Rental occupancy- no daily, monthly or seasonal rentals and no time shares, whether these are direct by owner of through rental programs such as Airbnb, VRBO, HomeAway or other similar rental websites',\r\n    'Historical Landmark Designation',\r\n    'Builders’ Risk or significant Renovation/ Rehab Exposures',\r\n    'Commercial Condominium Association, except if building is zoned and licensed for OFFICES ONLY.',\r\n    'Industrial, Manufacturing, Fabrication, Warehouse/Distribution or Self Storage occupancies',\r\n    'Airport Hangars',\r\n    'Over 25 stories in height',\r\n    'Own/operate any of the Commercial/Mercantile businesses located on the premises',\r\n    'Single Room Occupancies, Boarding or Rooming Houses',\r\n];\r\n\r\nexport const commercialSurplusAdditionalNonCoveredRisks =\r\n    'Short Term Rental occupancy (defined as any rental lease for less than 12 months)- no daily, monthly or seasonal rentals, no hotels and no time shares, whether these are direct by owner or through rental programs such as Airbnb, VRBO, HomeAway or other similar rental websites.';\r\n\r\nexport const commercialAdmittedCoveredRisks = [\r\n    'Meets all local zoning codes',\r\n    'Fire extinguishers per local ordinances',\r\n    'Two means of egress for all living units (or units that discharge directly outside). Every exit clearly visible or the route to the exit conspicuously indicated. Exit access and exits themselves marked and lighted, as required by local code.  All means of egress free and unobstructed.  Exit doors arranged to open readily when the building is occupied.',\r\n    'Smoke detectors in every living unit, all common areas. If battery operated a formal battery replacement program must exist.',\r\n    'Emergency lighting for all units in buildings over 4 stories. Lighting units should be placed in corridors, passageways, stairwells and remote areas.',\r\n    'Exit signs that are properly located and illuminated.  Both emergency lighting and exit lighting should be on a regular maintenance program.',\r\n    'If a sprinkler system is present, sprinkler system must be inspected annually by a licensed sprinkler contractor and all appropriate testing of the system be performed including flow tests and pressure testing.',\r\n    'Any pools are fully fenced (4’ or more) with a self-latching gate, no diving boards or slides, no direct public access, rules and hours prominently posted, life-saving equipment is present and depth markers are clearly visible',\r\n    'HVAC, plumbing, electrical and roofing systems are current and adequate',\r\n    'Subcontractors to provide a certificate of insurance prior to commencing work on the property',\r\n    'Risks with commercial cooking in compliance with NFPA 96',\r\n    'Risks greater than 10 stories and up to 25 stories must be of fire resistive construction, fully sprinklered and have a central station alarm system.  Posted evacuation procedures are present.',\r\n    'Buildings over 4 stories and 50 units equipped with manual and pull stations in appropriate locations in corridors and hallways, that alarm locally and to a 24-hour monitoring service',\r\n    'If bars on windows are present, they are equipped with quick release mechanisms',\r\n    'Carbon monoxide detectors in every living unit',\r\n    'Obtain a Certificate of Insurance for all Mercantile Occupancies with a minimum $1M GL limit',\r\n];\r\n\r\nexport const commercialAdmittedNonCoveredRisks = [\r\n    'Fuses for overcurrent protection',\r\n    'Federal Pacific Stab-lok circuit breakers',\r\n    'Aluminum wiring, even if pig-tailed/retrofitted with copalum connectors',\r\n    'Charcoal grilling on balconies or within 10 feet of any structure',\r\n    'Wood shake roof',\r\n    'EIFS cladding',\r\n    'Docks, marinas or boat slips',\r\n    'Railings with greater than 6 inch openings and no horizontal railings when risk is above 2 stories',\r\n    'Medical, food or transportation services provided',\r\n    'Armed security',\r\n    'More than 30% subsidized, student and/or senior housing',\r\n    'Occupancy rate below 80%; newly built must be at/exceed 80% occupancy within 120 days.',\r\n    'Any facility on the premises that involves the care or custody of children',\r\n    'Barbed wire on fences or barriers',\r\n    'Listed on Historical registry',\r\n    'Developer owned units if condominium',\r\n    'Sponsor owned units if co-op',\r\n    'Own/operate any of the Commercial/Mercantile businesses located on the premises',\r\n    'Single Room Occupancies, Boarding or Rooming Houses',\r\n];\r\n\r\nexport const commercialAdmittedMercantileRisks = [\r\n    'Adhesives Manufacturing',\r\n    'Adult Daycare',\r\n    'Adult Entertainment Clubs, Strip Clubs',\r\n    'Auto Repair/Auto Body',\r\n    'Banquet Halls',\r\n    'Battery Manufacturing - Dry Cell',\r\n    'Battery Manufacturing - Wet Cell',\r\n    'Biofuel Production',\r\n    'Box Manufacturing - Corrugated',\r\n    'Box Manufacturing - Paperboard',\r\n    'Breeding Farms - Horses',\r\n    'Breweries',\r\n    'Broom and Brush Manufacturing',\r\n    'Building Material Dealers',\r\n    'Car Dealers',\r\n    'Car Washes',\r\n    'Churches/Houses of Worship',\r\n    'Clinics - Critical Care',\r\n    'Cloning Clinics',\r\n    'Confectionery Manufacturing',\r\n    'Converted Paper Products Manufacturing',\r\n    'Daycare Centers',\r\n    'Department Stores',\r\n    'Direct Selling Organizations',\r\n    'Distilleries',\r\n    'Dry Cleaners with On Premises Cleaning and Chemicals',\r\n    'Dye and Pigment Manufacturing',\r\n    'Electric and Acoustic Guitar Manufacturing',\r\n    'Electroplating Contractors',\r\n    'Farming - Dairy',\r\n    'Farming - Orchards',\r\n    'Fireworks Manufacturing and Exhibiting',\r\n    'Flavoring and Fragrance Manufacturing',\r\n    'Food Distributors',\r\n    'Furniture Manufacturing – Wood',\r\n    'Furniture Stores',\r\n    'Gasoline Stations - Full-Service and Self-Service',\r\n    'Grain Elevator Operations',\r\n    'Gun Ranges',\r\n    'Heat Treating Contractors',\r\n    'Hog Confinement Facilities',\r\n    'Industrial Warehousing',\r\n    'Kitchen Remodeling Contractors',\r\n    'Lamp Manufacturing – Electric',\r\n    'Mattress Stores',\r\n    'Meat Packing Plants',\r\n    'Meat Products Processing',\r\n    'Media Storage Centers',\r\n    'Medical Facilities/Urgent Care',\r\n    'Paint Manufacturing',\r\n    'Pallet Manufacturing and Recycling',\r\n    'Particleboard Manufacturing',\r\n    'Pharmaceutical Manufacturing',\r\n    'Plastics Fabricating and Finishing',\r\n    'Plastics Molding, Forming and Extruding',\r\n    'Plywood Manufacturing',\r\n    'Printing - Commercial',\r\n    'Public Warehouses',\r\n    'Pulp and Paper Mills',\r\n    'Sawmills and Planing Mills',\r\n    'Schools',\r\n    'Screen Printing Stores',\r\n    'Semiconductor Manufacturing',\r\n    'Silversmiths',\r\n    'Skate Manufacturing',\r\n    'Spice, Herb and Extract Processing',\r\n    'Sports Amusement/Funplexes',\r\n    'Sports Facilities/Entertainment',\r\n    'Stables and Riding Academies',\r\n    'Stadiums, Arenas and Racetracks',\r\n    'Steel Mills',\r\n    'Textile Mills - Finishing and Coating',\r\n    'Textile Mills - Yarn Spinning and Weaving',\r\n    'Thrift Stores',\r\n    'Tire Stores',\r\n    'Upholstery Stores',\r\n    'Warehouse Stores-Superstores',\r\n    'Writing Instruments Manufacturing',\r\n];\r\n\r\nexport const commercialCrimeDeductibleTypes = {\r\n    EmployeeTheft: 'Employee Theft',\r\n    ForgeryOrAlteration: 'Forgery Or Alteration',\r\n    InsidePremisesTheft: 'Inside the Premises - Theft Of Money And Securities',\r\n    InsidePremisesRobbery: 'Inside the Premises - Robbery or Safe Burglary',\r\n    OutsidePremises: 'Outside the Premises',\r\n    ComputerFundsFraud: 'Computer And Funds Transfer Fraud',\r\n    CounterfeitMoney: 'Money Orders And Counterfeit Money',\r\n};\r\n\r\nexport const commercialCrimeDeductibleAmounts = [1000, 2500, 5000, 10000, 25000];\r\n\r\nexport const commercialCrimeLimitAmounts = [1000, 2500, 5000, 10000, 25000, 50000, 100000];\r\n\r\nexport const commercialPropertyBroadeningForms = {\r\n    CoverageA: 'Coverage A',\r\n    CoverageB: 'Coverage B',\r\n};\r\n\r\nexport const commercialPropertyBroadeningFormBaseValues = {\r\n    CoverageABaseSewerLimit: 25000,\r\n    CoverageBBaseSewerLimit: 10000,\r\n};\r\n\r\nexport const commercialOrdinanceOrLawCoverageTypes = {\r\n    CombinedCoverage: 'OrdinanceOrLawCombinedBAndCCoverage',\r\n    SeparateCoverage: 'OrdinanceOrLawSeparateBAndCCoverage',\r\n};\r\n\r\nexport const commercialValidationStates = {\r\n    success: 'success',\r\n    error: 'error',\r\n};\r\n\r\n/**\r\n * Constants representing agency names needed for UI boolean checks\r\n */\r\n\r\nexport const agencyNames = {\r\n    HubInternational: 'hub international',\r\n};\r\n\r\nexport const races = [\r\n    'African American',\r\n    'American Indian / Alaskan Native',\r\n    'Asian / Pacific Islander',\r\n    'Latino',\r\n    'White',\r\n    'Other',\r\n];\r\n\r\nexport const genders = ['Female', 'Male'];\r\n\r\n/**\r\n * Constants representing the URLs of the various pages in the application\r\n */\r\nexport const pages = {\r\n    About: '/about',\r\n    Admin: '/admin',\r\n    AgentResources:\r\n        'https://agentresources.swyfft.com/?utm_source=Swyfft.com&utm_medium=arc+top+nav+link&utm_campaign=arc+nav',\r\n    Blog: 'https://blog.swyfft.com/',\r\n    BindingRequirements: (productLine: ProductLine, policyNumber: string) =>\r\n        `/${productLine.lowercaseName}/binding-requirements/${policyNumber}`,\r\n    CatCodes: '/cat-codes',\r\n    Careers: '/careers',\r\n    Claims: '/claims',\r\n    ClaimsCenter: '/ClaimsCenter',\r\n    CommBindQuote: '/commercial/bind',\r\n    CommComplete: '/commercial/bind/complete',\r\n    CommQuoteModify: '/commercial/quotemodify',\r\n    CommercialLanding_Admitted: '/commercial/admitted-package',\r\n    ContactUs: '/contact',\r\n    Crm: '/crm',\r\n    DeductibleSavings: '/deductiblesavings',\r\n    EditBillableInterests: '/Policy/PolicyBank',\r\n    EquipmentBreakdown: '/equipmentbreakdown',\r\n    Error: '/error',\r\n    FAQs: '/faq',\r\n    Flood: '/flood',\r\n    History: (productLine?: ProductLine) => (productLine ? `/history/${productLine.lowercaseName}` : '/history'),\r\n    Inspections: '/inspections',\r\n    LegacyCommercialQuote: (quoteId: string) => `/commercial/quotemodify?quoteid=${quoteId}`,\r\n    Login: '/login',\r\n    LoginWithReturnUrl: `/login?ReturnUrl=${encodeURIComponent(window.location.pathname)}`,\r\n    MakeAPayment: '/MakeAPayment',\r\n    Map: '/map',\r\n    OkAgents: '/OKAgents',\r\n    PolicyDashboardDetails: (policyNumber: string) => `/admin/policies/details/${policyNumber}`,\r\n    Privacy: '/privacy',\r\n    Purchase: '/purchase',\r\n    PurchaseWithProduct: (productLine: ProductLine, quoteId: string) =>\r\n        `/purchase?product=${productLine.lowercaseName}&quoteId=${quoteId}`,\r\n    QuoteWithParams: (productLine: ProductLine, quoteId: string) =>\r\n        `/${productLine.lowercaseName}/${quoteId}/compare-customize`,\r\n    Root: '/',\r\n    StormPrep: '/storm-prep',\r\n    TermsAndConditions: '/privacy',\r\n    UpdateCreditCard: '/payments/updatecreditcard',\r\n    UpdateECheck: '/payments/updateecheck',\r\n    UpdateInsuredEmail: '/Email/UpdateEmail',\r\n    Verify: '/verify',\r\n    NewAgent: '/new-agent-signup',\r\n    Notifications: '/notifications',\r\n};\r\n\r\nexport const supportEmailAddresses = {\r\n    commercialEmail: 'commercialnonad@swyfft.com',\r\n    homeownerEmail: 'homeowner@swyfft.com',\r\n};\r\n\r\n//used when rendering an alternate element value in a collapsed element row on the HO UI.\r\nexport const elementChoiceStatus = {\r\n    NotAvailable: 'N/A',\r\n};\r\n\r\nexport const reentries = {\r\n    renew: 'renew',\r\n    rewrite: 'rewrite',\r\n    reprice: 'reprice',\r\n};\r\n\r\nexport interface IProgressBar {\r\n    start(): any;\r\n\r\n    done(forceShow?: boolean): any;\r\n}\r\n\r\n// See http://stackoverflow.com/a/18475706/68231\r\nexport interface ISwyfftWindow extends Window {\r\n    swyfftApiCalls: number;\r\n}\r\n\r\n// Same as Api\\Exceptions\\SwyfftErrorCodes.cs\r\nexport enum ErrorCodes {\r\n    LoginInvalid = 110,\r\n    QuoteNotFound = 400,\r\n    PolicyBillingIssue = 402,\r\n    CouldNotLoadPolicy = 405,\r\n    PolicyNumberZipCodeMismatch = 411,\r\n    PropertyInvalid = 412,\r\n    PropertyMissingPreciseLocation = 413,\r\n    PropertyNotCovered = 415,\r\n    ConfirmLivingSpace = 430,\r\n    ConfirmYearBuiltAndRoofAge = 431,\r\n    ConfirmLivingSpaceAndYearBuiltAndRoofAge = 432,\r\n    ConfirmCreationData = 433,\r\n    QuoteForNonSingleFamilyResidence = 481,\r\n    QuoteExpired = 482,\r\n    ImsQuoteWrongState = 483,\r\n    StateNotSupported = 484,\r\n    QuoteDeclinedOfferEAndS = 490,\r\n    QuoteDeclinedOfferExistingEAndS = 492,\r\n    DisplayAdverseActionNotice = 493,\r\n    UpcomingRenewalQuoteAlreadyExists = 494,\r\n    AgentUnlicensed = 496,\r\n    GeneralUnknown = 850,\r\n    GeneralKnown = 851,\r\n    ImsQuoteNotFound = 920,\r\n    ImsPolicyExpired = 921,\r\n    MissingInsuredAddress = 922,\r\n}\r\n\r\n//Quote errors that require a redirect to the landing page after dismissing the rendered error modal instance.\r\nexport const landingRedirectErrorCodes = [ErrorCodes.QuoteNotFound, ErrorCodes.QuoteExpired];\r\n\r\nexport namespace ErrorMessages {\r\n    export const noQuote = 'NoQuote';\r\n    export const authFailed = 'AuthFailed';\r\n}\r\n\r\nexport namespace HttpStatusCodes {\r\n    export const aborted = '0';\r\n    export const ok = '200';\r\n    export const authenticationFailed = '401';\r\n    export const badGateway = '502';\r\n    export const serverUnavailable = '503';\r\n    export const forbidden = '403';\r\n}\r\n\r\nexport let PolicyRenewalPeriodsByState = {\r\n    AL: 60,\r\n    CA: 60,\r\n    FL: 90,\r\n    IL: 60,\r\n    MA: 60,\r\n    NJ: 60,\r\n    NY: 60,\r\n    TX: 60,\r\n    NV: 70,\r\n};\r\n\r\nexport enum PolicyState {\r\n    Bound = 'Bound',\r\n    ReadyForRenewal = 'ReadyForRenewal',\r\n    ReadyForNonRenewal = 'ReadyForNonRenewal',\r\n    NonRenewed = 'NonRenewed',\r\n    Renewed = 'Renewed',\r\n    NonRenewFailed = 'NonRenewFailed',\r\n    ReviewRenewal = 'ReviewRenewal',\r\n    ReviewNewBusiness = 'ReviewNewBusiness',\r\n    ReviewUnderwriting = 'ReviewUnderwriting',\r\n    CancellationNeeded = 'CancellationNeeded',\r\n    CancellationIssued = 'CancellationIssued',\r\n    NoticeOfCancellationNeeded = 'NoticeOfCancellationNeeded',\r\n    NoticeOfCancellationIssued = 'NoticeOfCancellationIssued',\r\n    NoticeOfCancellationFailed = 'NoticeOfCancellationFailed',\r\n}\r\n\r\nexport enum PolicySubstate {\r\n    NocUnderwriting = 'Underwriting',\r\n    NocNonPayment = 'Nonpayment',\r\n    NocNonRenewal = 'Nonrenewal',\r\n    None = 'none',\r\n}\r\n\r\nexport enum PolicyReviewStatusOptions {\r\n    'Underwriting Review Needed' = PolicyState.ReviewUnderwriting,\r\n    'Renewal Review Needed' = PolicyState.ReviewRenewal,\r\n    'Ready For Renewal' = PolicyState.ReadyForRenewal,\r\n    'Ready For Nonrenewal' = PolicyState.ReadyForNonRenewal,\r\n    'Notice of Cancellation Needed' = PolicyState.NoticeOfCancellationNeeded,\r\n    'Notice of Cancellation Issued' = PolicyState.NoticeOfCancellationIssued,\r\n    'Ready For Cancel' = PolicyState.CancellationNeeded,\r\n    'Non-Renewed' = PolicyState.NonRenewed,\r\n    'Non-Renew Failed' = PolicyState.NonRenewFailed,\r\n    'Notice of Cancellation Issued Failed' = PolicyState.NoticeOfCancellationFailed,\r\n}\r\n\r\nexport let dateFormat = 'MM/DD/YYYY';\r\n\r\nexport let dateFormatWithHyphens = 'MM-DD-YYYY';\r\n\r\nexport let dateTimeFormat = 'M/D/YY @ h:mm a';\r\n\r\nexport let simpleDateFormat = 'M/D/YYYY';\r\n\r\nexport let yearMonthDayFormat = 'YYYYMMDD';\r\n\r\nexport const dateTimeLocalizedFormat = 'MM/DD/YYYY LT';\r\n\r\nexport enum agentStatuses {\r\n    'Active Agents' = 0,\r\n    'Active and Removed Agents' = 1,\r\n    'Removed Agents' = 2,\r\n}\r\n\r\nexport enum locationStatuses {\r\n    'Active Locations' = 0,\r\n    'All Locations' = 1,\r\n}\r\n\r\nexport const passwordRegex = /^(?=.*[^a-zA-Z])[\\w!@#$%^&*()\\-_=+[{\\]};:'\",<.>\\/? ]{8,}$/;\r\n\r\nexport const passwordErrorMessage =\r\n    'Please enter a password at least eight characters long and containing one number or symbol.';\r\n\r\nexport const SwyfftProducerCode = 1490;\r\n\r\nexport enum UnderwritingReviewConditions {\r\n    'Roof Review',\r\n    'Maintenance',\r\n    'Existing Exterior Damages',\r\n    'Foundational Structural Issues',\r\n    'Risk Ineligible',\r\n    'Business on Premises',\r\n    'Property Hazard',\r\n    'Construction Type',\r\n}\r\n\r\nexport enum UnderwritingReviewPolicyState {\r\n    'Bound',\r\n    'Expired',\r\n    'Cancellation Needed',\r\n    'Cancellation Issued',\r\n    'Notice Of Cancellation Needed',\r\n    'Notice Of Cancellation Issued',\r\n    'Notice Of Cancellation Failed',\r\n    'Rescind NOC Failed',\r\n}\r\n\r\nexport enum UnderwritingReviewRenewalState {\r\n    'Issued',\r\n    'Ready for Renewal',\r\n    'Non Renewed',\r\n    'Renewed',\r\n    'Non Renew Failed',\r\n}\r\n\r\nexport const CancellationReason = {\r\n    'Underwriting Decision': 13,\r\n    \"Insured's Request\": 16,\r\n    'Rewrite (Agency Reason)': 17,\r\n    'Rewrite (Company Reason)': 18,\r\n    'Correction Entry': 19,\r\n    'Minimum Earned': 29,\r\n    'Non-Payment': 36,\r\n    'Finance Company Request': 42,\r\n    'Incorrect Location Address Entry by Agent': 43,\r\n};\r\n\r\nexport const CancellationReasonArray = Object.keys(CancellationReason).map(key => {\r\n    return { Reason: key, Id: CancellationReason[key] as number };\r\n});\r\n\r\nexport const MarketingPages = {\r\n    About: 'https://agents.swyfft.com/our-company',\r\n    ClaimsCenter: 'https://agents.swyfft.com/claims-center',\r\n    FAQ: 'https://agents.swyfft.com/customer-faqs',\r\n    EquipmentBreakdown: 'https://agents.swyfft.com/equipment-breakdown-coverage',\r\n    StormPrep: 'https://swyfftmarketingpro.com/storm-prep-2',\r\n    Inspections: 'https://swyfftmarketingpro.com/inspection-program',\r\n    DeductibleSavings: 'https://swyfftmarketingpro.com/deductible-savings-program-2',\r\n    WhatMakesUsSwyfft: 'https://swyfftmarketingpro.com/what-makes-us-swyfft/',\r\n    OkAgents: 'https://swyfftmarketingpro.com/sign-with-swyfft-ok/',\r\n    NewAgent: 'https://swyfftmarketingpro.com/new-agent-signup/',\r\n};\r\n\r\nexport const ElementDisplayNames = {\r\n    AdditionalReplacementCost: 'Additional Replacement Cost (Admin Only)',\r\n    ConstructionByPeril: 'Construction Type',\r\n    RoofShape: 'Roof Geometry',\r\n    RoofGeometry: 'Roof Geometry',\r\n    RoofType: 'Roof Type',\r\n    YearBuilt: 'Year of Construction',\r\n    HasHurricaneWindRatedRoofCovering: 'Hurricane Wind-Rated Roof Covering',\r\n    OpeningProtection: 'Opening Protection',\r\n    RoofAge: 'Roof Age',\r\n    SecondaryWaterResistance: 'Secondary Water Resistance',\r\n    ElectricType: 'Electric Type',\r\n    HasFloodInsurance: 'Has Flood Insurance',\r\n    NamedStormDeductible: 'Named Storm Deductible',\r\n    /** This element is only added on the frontend for the rater quote page and is not a real element. */\r\n    ManualPremiumAdjustment: 'Manual Premium Adjustment',\r\n    MinimumProbableEffectiveDateOffset: 'Minimum Probable Effective Date Offset (Admin Only)',\r\n};\r\n\r\n/** list of icon image relative paths. */\r\nconst baseImagePath = '/images/';\r\nexport const iconPaths = {\r\n    add: `${baseImagePath}add.svg`,\r\n    arrowLeft: `${baseImagePath}arrow-left.svg`,\r\n    arrowRight: `${baseImagePath}arrow-right.svg`,\r\n    arrowUp: `${baseImagePath}arrow-up.svg`,\r\n    arrowDown: `${baseImagePath}arrow-down.svg`,\r\n    badge: `${baseImagePath}badge.svg`,\r\n    calendar: `${baseImagePath}calendar-icon.svg`,\r\n    checkMark: `${baseImagePath}checkmark.svg`,\r\n    checkMarkSolid: `${baseImagePath}checkmark-solid.svg`,\r\n    chevronDown: `${baseImagePath}chevron-down.svg`,\r\n    chevronDownSolid: `${baseImagePath}chevron-down-solid.svg`,\r\n    clearBlueLogo: `${baseImagePath}clear-blue-logo.png`,\r\n    close: `${baseImagePath}close.svg`,\r\n    closeFat: `${baseImagePath}close-fat.svg`,\r\n    closeSolid: `${baseImagePath}close-solid.svg`,\r\n    delete: `${baseImagePath}delete.svg`,\r\n    edit: `${baseImagePath}edit.svg`,\r\n    envelope: `${baseImagePath}icon-envelope.svg`,\r\n    error: `${baseImagePath}error-icon.svg`,\r\n    goto: `${baseImagePath}go-to.svg`,\r\n    info: `${baseImagePath}info.svg`,\r\n    infoGray: `${baseImagePath}info-gray.svg`,\r\n    largeChevronDownSolid: `${baseImagePath}large-solid-chevron-down.svg`,\r\n    link: `${baseImagePath}link.svg`,\r\n    lloydsLogo: `${baseImagePath}lloyds-logo.webp`,\r\n    lloydsCoverholderLogo: `${baseImagePath}lloyds-coverholder-logo.webp`,\r\n    print: `${baseImagePath}print.svg`,\r\n    range: `${baseImagePath}range.svg`,\r\n    readonly: `${baseImagePath}read-only.svg`,\r\n    swyfftShieldLogo: `${baseImagePath}logo-svg.svg`,\r\n    undo: `${baseImagePath}undo-outline.svg`,\r\n    undoFill: `${baseImagePath}undo-fill.svg`,\r\n    user: `${baseImagePath}user.svg`,\r\n    viewQuote: `${baseImagePath}view-quote.svg`,\r\n    warning: `${baseImagePath}warning_element.svg`,\r\n    wordMarkLogoWhite: `${baseImagePath}logo-white.svg`,\r\n    wordMarkLogoMultiColor: `${baseImagePath}wordmark-logo-multi.svg`,\r\n    mailQuote: `${baseImagePath}mail-quote-icon.svg`,\r\n    printQuote: `${baseImagePath}print-quote-icon.svg`,\r\n    search: `${baseImagePath}outline-search.svg`,\r\n    document: `${baseImagePath}document.svg`,\r\n};\r\n\r\n/** Regex patterns */\r\nexport const regExPatterns = {\r\n    allEnDashes: /[-]/g,\r\n    spacesBetweenCapWords: /([a-z])([A-Z])/g,\r\n    allSpecialCharacters: /[^a-z\\d\\s]+/gi,\r\n    zChar: /.Z/g,\r\n};\r\n\r\n/** List of supported mime types by file extension. */\r\nexport const supportedFileTypes = {\r\n    doc: '.doc',\r\n    docx: '.docx',\r\n    gif: '.gif',\r\n    jpeg: '.jpeg',\r\n    jpg: '.jpg',\r\n    odt: '.odt',\r\n    pdf: '.pdf',\r\n    png: '.png',\r\n    tiff: '.tiff',\r\n    tif: '.tif',\r\n    txt: '.txt',\r\n    xls: '.xls',\r\n    xlsx: '.xlsx',\r\n};\r\n\r\nexport enum MimeType {\r\n    image = 'image/*',\r\n    pdf = 'application/pdf',\r\n}\r\n\r\n/** List of common file-type validations. */\r\nexport const fileTypeValidations = {\r\n    allSupportedFiles: Object.keys(supportedFileTypes).map((key: string) => supportedFileTypes[key]),\r\n    supportedDocumentFiles: [\r\n        supportedFileTypes.doc,\r\n        supportedFileTypes.docx,\r\n        supportedFileTypes.odt,\r\n        supportedFileTypes.pdf,\r\n        supportedFileTypes.txt,\r\n        supportedFileTypes.xls,\r\n        supportedFileTypes.xlsx,\r\n    ],\r\n    supportedImageFiles: [\r\n        supportedFileTypes.gif,\r\n        supportedFileTypes.jpeg,\r\n        supportedFileTypes.jpg,\r\n        supportedFileTypes.png,\r\n        supportedFileTypes.tiff,\r\n        supportedFileTypes.tif,\r\n    ],\r\n    pdfFiles: [supportedFileTypes.pdf],\r\n};\r\n\r\n/** Storage value keys for the HO property details modal. */\r\nexport enum propertyDetailsStorageKeys {\r\n    yearBuilt = 'yearBuilt',\r\n    roofAge = 'roofAge',\r\n    livingSpace = 'livingSpace',\r\n}\r\n\r\nexport const propertyDetailsStorageKeysArray = Object.keys(propertyDetailsStorageKeys).map(\r\n    key => propertyDetailsStorageKeys[key]\r\n);\r\n\r\nexport const APP_VERSION_STORAGE_KEY = 'appVersion';\r\n\r\n/** The Underwriting Guidelines for Vave quotes. */\r\nexport const VaveUnderwritingGuidelines = {\r\n    Required: [\r\n        'Meets all local zoning codes.',\r\n        'Fire extinguishers per local ordinances.',\r\n        'Two means of egress for all living units (or units that discharge directly outside). Every exit clearly visible or the route to the exit conspicuously indicated. Exit access and exits themselves marked and lighted, as required by local code. All means of egress free and unobstructed. Exit doors arranged to open readily when the building is occupied.',\r\n        'Smoke detectors in every living unit, all common areas. If battery operated a formal battery replacement program must exist.',\r\n        'If a sprinkler system is present, the sprinkler system(s) must be inspected annually by a licensed sprinkler contractor and all appropriate testing of the system be performed including flow tests and pressure testing.',\r\n        'HVAC, plumbing, electrical and roofing systems are current and adequate.',\r\n        'If bars on windows are present, they are equipped with quick release mechanisms.',\r\n        'Subcontractors to provide a certificate of insurance prior to commencing work on the property.',\r\n    ],\r\n    Prohibited: [\r\n        'Property (Coverage A) insured for less than 100% replacement cost.',\r\n        'Acreage over 10.',\r\n        'Farm.',\r\n        'Insured bankrupt.',\r\n        'Foreclosure proceedings.',\r\n        'More than 2 mortgages.',\r\n        'Lapses in prior coverage over 180 days.',\r\n        'More than 4 families in the property.',\r\n        'Mobile or modular homes.',\r\n        \"Builder's risk, vacant homes, or undergoing renovation.\",\r\n        'More than 50% student housing.',\r\n        'Day care/assisted living at premises.',\r\n        'Developers speculation home.',\r\n        'Scheduled for demolition.',\r\n        'Heating from wood burning stoves or supplemental devices.',\r\n        'Galvanized, steel or polybutylene plumbing.',\r\n        'Electrical system protected by any sort of fuses.',\r\n        'Swimming pool not meeting local code requirements.',\r\n        'Building using Exterior Insulating and Finishing Systems (EIFS) or any form of synthetic stucco.',\r\n        'Tesla Solar Panels.',\r\n        'Trampoline on property.',\r\n        'Prior carrier nonrenewed or cancelled policy.',\r\n        'Protection Class of 9 or 10.',\r\n        'If the named insured is an LLC, LLP, or Corporation, there must not be more than 6 unrelated principles, and the LLC, LLP, or Corp does not: own more than 10 properties, own any fractional ownership properties (time shares), or engage in any business other than real estate.',\r\n    ],\r\n};\r\n\r\n/* Vave Flood uses the same QRG file for all states. See SW-26585 */\r\nconst vaveFloodQrgUrl = 'http://agentresources.swyfft.com/wp-content/uploads/2023/09/Swyfft-Flood-QRG.pdf';\r\n\r\n/* Hiscox Flood also uses the same QRG for all states. */\r\nconst hiscoxFloodQrgUrl = 'https://agentresources.swyfft.com/wp-content/uploads/2024/04/Swyfft-Hiscox-Flood-QRG.pdf';\r\n\r\n/* Brit Flood uses the same QRG for all states. */\r\nconst britFloodQrgUrl =\r\n    'http://agentresources.swyfft.com/wp-content/uploads/2025/01/Swyfft-BRIT-Flood-QRG-2.1.2025.pdf';\r\n\r\n// TODO: Update this or replace it with a server side method that returns the correct URL for the state and product. The numbers in the object\r\n// indexer correspond to product line IDs: 1 for homeowner, 2 for commercial and 3 for flood.\r\nexport const QrgLinks: Record<number, { [index: string]: Record<string, string> }> = {\r\n    [1]: {\r\n        AL: {\r\n            BIC: 'https://agentresources.swyfft.com/wp-content/uploads/2019/11/AL-Homeowners-Quick-Reference-Guide.pdf',\r\n            BSIC: 'http://agentresources.swyfft.com/wp-content/uploads/2024/11/Swyfft-AL-BSIC-ES-QRG-12_1_24.pdf',\r\n            Vave: 'https://agentresources.swyfft.com/wp-content/uploads/2023/01/Swyfft-AL-HO-3-ES-Lloyds-QRG_1_18_23-1.pdf',\r\n            ClearBSpec: '',\r\n            ClearBlue:\r\n                'https://agentresources.swyfft.com/wp-content/uploads/2019/11/AL-Homeowners-Quick-Reference-Guide.pdf',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: '',\r\n            Topa: 'https://agentresources.swyfft.com/wp-content/uploads/2023/03/Swyfft-AL-HO-3-TOPA-QRG-3_9_23.pdf',\r\n        },\r\n        CA: {\r\n            BIC: '',\r\n            BSIC: '',\r\n            Vave: 'https://agentresources.swyfft.com/wp-content/uploads/2024/05/Swyfft-CA-HO-3-ES-Lloyds-QRG.pdf',\r\n            ClearBlue: '',\r\n            ClearBSpec: '',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: '',\r\n            Topa: '',\r\n        },\r\n        FL: {\r\n            BIC: 'https://agentresources.swyfft.com/wp-content/uploads/2019/11/Homeowners-Quick-Reference-Guide-Florida.pdf',\r\n            BSIC: '',\r\n            Vave: 'https://agentresources.swyfft.com/wp-content/uploads/2022/05/ES-Home-FL-Lloyds-QRG.pdf',\r\n            ClearBlue:\r\n                'https://agentresources.swyfft.com/wp-content/uploads/2019/11/Homeowners-Quick-Reference-Guide-Florida.pdf',\r\n            ClearBSpec: 'https://agentresources.swyfft.com/wp-content/uploads/2022/05/ES-Home-FL-CBS-QRG.pdf',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: '',\r\n            Topa: 'https://agentresources.swyfft.com/wp-content/uploads/2023/03/Swyfft-FL-HO-3-ES-TOPA.pdf',\r\n        },\r\n        LA: {\r\n            BIC: '',\r\n            BSIC: 'http://agentresources.swyfft.com/wp-content/uploads/2024/11/Swyfft-LA-BSIC-ES-12_1_24.pdf',\r\n            Vave: 'https://agentresources.swyfft.com/wp-content/uploads/2023/01/Swyfft-LA-HO-3-ES-Lloyds-QRG_11_21_22.pdf',\r\n            ClearBlue: '',\r\n            ClearBSpec: '',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: '',\r\n            Topa: 'https://agentresources.swyfft.com/wp-content/uploads/2023/12/Swyfft-LA-HO-3-ES-TOPA.pdf',\r\n        },\r\n        MA: {\r\n            BIC: 'https://agentresources.swyfft.com/wp-content/uploads/2019/11/Homeowners-Quick-Reference-Guide-Massachusetts.pdf',\r\n            BSIC: 'http://agentresources.swyfft.com/wp-content/uploads/2024/11/Swyfft-MA-BSIC-ES-QRG-12_1_24.pdf',\r\n            Vave: 'https://agentresources.swyfft.com/wp-content/uploads/2023/06/Swyfft-MA-HO-3-ES-Lloyds-QRG_6_1_23.pdf',\r\n            ClearBlue:\r\n                'https://agentresources.swyfft.com/wp-content/uploads/2019/11/Homeowners-Quick-Reference-Guide-Massachusetts.pdf',\r\n            ClearBSpec: '',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: '',\r\n            Topa: 'https://agentresources.swyfft.com/wp-content/uploads/2023/03/Swyfft-MA-HO-3-TOPA-QRG-3_9_23.pdf',\r\n        },\r\n        MS: {\r\n            BIC: '',\r\n            BSIC: '',\r\n            Vave: 'https://agentresources.swyfft.com/wp-content/uploads/2024/10/Swyfft-MS-HO-3-ES-Lloyds-QRG_11_1_2024.pdf',\r\n            ClearBlue: '',\r\n            ClearBSpec: '',\r\n            Dorchester:\r\n                'https://agentresources.swyfft.com/wp-content/uploads/2024/08/Swyfft-MS-HO-3-ES-Dorchester-8.30.24.pdf',\r\n            FEMA: '',\r\n            Hiscox: '',\r\n            Topa: '',\r\n        },\r\n        NC: {\r\n            BIC: '',\r\n            BSIC: '',\r\n            Vave: 'https://agentresources.swyfft.com/wp-content/uploads/2023/01/Swyfft-NC-HO-3-ES-Lloyds-QRG_11_21_22.pdf',\r\n            ClearBlue: '',\r\n            ClearBSpec: '',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: '',\r\n            Topa: '',\r\n        },\r\n        NJ: {\r\n            BIC: 'https://agentresources.swyfft.com/wp-content/uploads/2019/11/Homeowners-Quick-Reference-Guide-New-Jersey.pdf',\r\n            BSIC: '',\r\n            Vave: '',\r\n            ClearBlue:\r\n                'https://agentresources.swyfft.com/wp-content/uploads/2019/11/Homeowners-Quick-Reference-Guide-New-Jersey.pdf',\r\n            ClearBSpec: '',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: '',\r\n            Topa: '',\r\n        },\r\n        NY: {\r\n            BIC: 'https://agentresources.swyfft.com/wp-content/uploads/2019/11/Homeowners-Quick-Reference-Guide-New-York.pdf',\r\n            BSIC: '',\r\n            Vave: '',\r\n            ClearBlue:\r\n                'https://agentresources.swyfft.com/wp-content/uploads/2019/11/Homeowners-Quick-Reference-Guide-New-York.pdf',\r\n            ClearBSpec: '',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: '',\r\n            Topa: '',\r\n        },\r\n        SC: {\r\n            BIC: '',\r\n            BSIC: 'https://agentresources.swyfft.com/wp-content/uploads/2025/02/Swyfft-SC-BSIC-ES-3.8.25.pdf',\r\n            Vave: 'https://agentresources.swyfft.com/wp-content/uploads/2023/01/Swyfft-SC-HO-3-ES-Lloyds-QRG_11_21_22.pdf',\r\n            ClearBlue: '',\r\n            ClearBSpec: '',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: '',\r\n            Topa: '',\r\n        },\r\n        TX: {\r\n            BIC: 'https://agentresources.swyfft.com/wp-content/uploads/2019/11/Homeowners-Quick-Reference-Guide-Texas.pdf',\r\n            BSIC: 'http://agentresources.swyfft.com/wp-content/uploads/2024/11/Swyfft-TX-BSIC-ES-1_1_25.pdf',\r\n            Vave: 'https://agentresources.swyfft.com/wp-content/uploads/2022/05/ES-Home-TX-Lloyds-QRG.pdf',\r\n            ClearBlue:\r\n                'https://agentresources.swyfft.com/wp-content/uploads/2019/11/Homeowners-Quick-Reference-Guide-Texas.pdf',\r\n            ClearBSpec: 'https://agentresources.swyfft.com/wp-content/uploads/2022/05/ES-Home-TX-CBS-QRG.pdf',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: '',\r\n            Topa: 'https://agentresources.swyfft.com/wp-content/uploads/2023/03/Swyfft-TX-HO-3-ES-TOPA.pdf',\r\n        },\r\n    },\r\n    [2]: {},\r\n    [3]: {\r\n        AL: {\r\n            BIC: '',\r\n            Vave: vaveFloodQrgUrl,\r\n            ClearBlue: '',\r\n            ClearBSpec: '',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: hiscoxFloodQrgUrl,\r\n            Topa: '',\r\n            Brit: britFloodQrgUrl,\r\n        },\r\n        FL: {\r\n            BIC: '',\r\n            Vave: vaveFloodQrgUrl,\r\n            ClearBlue: '',\r\n            ClearBSpec: '',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: hiscoxFloodQrgUrl,\r\n            Topa: '',\r\n            Brit: britFloodQrgUrl,\r\n        },\r\n        LA: {\r\n            BIC: '',\r\n            Vave: '',\r\n            ClearBlue: '',\r\n            ClearBSpec: '',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: hiscoxFloodQrgUrl,\r\n            Topa: '',\r\n            Brit: britFloodQrgUrl,\r\n        },\r\n        MA: {\r\n            BIC: '',\r\n            Vave: vaveFloodQrgUrl,\r\n            ClearBlue: '',\r\n            ClearBSpec: '',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: hiscoxFloodQrgUrl,\r\n            Topa: '',\r\n            Brit: britFloodQrgUrl,\r\n        },\r\n        TX: {\r\n            BIC: '',\r\n            Vave: vaveFloodQrgUrl,\r\n            ClearBlue: '',\r\n            ClearBSpec: '',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: hiscoxFloodQrgUrl,\r\n            Topa: '',\r\n            Brit: britFloodQrgUrl,\r\n        },\r\n        SC: {\r\n            BIC: '',\r\n            Vave: vaveFloodQrgUrl,\r\n            ClearBlue: '',\r\n            ClearBSpec: '',\r\n            Dorchester: '',\r\n            FEMA: '',\r\n            Hiscox: hiscoxFloodQrgUrl,\r\n            Topa: '',\r\n            Brit: britFloodQrgUrl,\r\n        },\r\n    },\r\n    [4]: {},\r\n};\r\n\r\nexport { isKeyName } from './KeyName/IsKeyName';\r\nexport { KeyName } from './KeyName/KeyName';\r\n\r\nexport const reviewUndoStrings = {\r\n    accepted: {\r\n        altText: 'Undo Accepted',\r\n        altTextDisabled: '',\r\n        confirmationText: 'If you continue, the \"Accepted\" state will be removed.',\r\n    },\r\n    cancelled: {\r\n        altText: 'Undo Cancelled',\r\n        altTextDisabled:\r\n            'To undo, policy state must be \"Bound\" or \"NoticeOfCancellationNeeded\" and the associated jobs must still be pending',\r\n        confirmationText:\r\n            'If you continue, the \"Cancelled\" state will be removed and a Notice of Cancellation will not be issued.',\r\n    },\r\n    nonRenewed: {\r\n        altText: 'Undo Nonrenewed',\r\n        altTextDisabled:\r\n            'To undo, renewal state must be \"Issued\" or \"ReadyForNonRenewal\" and the associated jobs must still be pending',\r\n        confirmationText:\r\n            'If you continue, the \"Nonrenewed\" state will be removed and a Nonrenewal Notification will not be issued.',\r\n    },\r\n};\r\n\r\nexport const MailingPurposeDescriptions = {\r\n    'mailing_purpose.NOC': 'Notice of Cancellation',\r\n    'mailing_purpose.NonRenewal': 'Nonrenewal',\r\n    'mailing_purpose.unknown': 'Unknown',\r\n};\r\n\r\nexport { ElementGroupNames } from './ElementGroupNames';\r\n\r\nexport const QuoteElementAdminLabelPart = ' (Admin Only)';\r\nexport const QuoteElementStubLabelPart = ' Stub (Ignore)';\r\n\r\nexport const SignalR = {\r\n    ProgressHubAddress: '/progressReportHub',\r\n};\r\n\r\nexport const QuotePremiumErrorHeaders = {\r\n    PurchaseMoratorium: 'Active Binding Moratorium',\r\n};\r\n"],"names":["PremiumTypes","AvailablePaymentTypes","PaymentTypes","ElementDisplayFormatTypes","QuoteFeeTypes","ElementNames","CommercialElementNames","commercialElementDisplayNames","commercialCustomDropdownElementNames","commercialCustomValueFormatElements","softDeclineCommercialElements","commercialErrorSeverityTypes","exceptionLevel","swyfftProducts","ratingTypes","endorsementCalculationType","endorsementCalculationType2","emailTokens","tokens","key","AccessRole","AlertFooterType","AlertFooterType2","statesByName","statesByCode","w9BusinessTypes","states","statesByNameAndValue","code","contactReasons","contacts","contactReasonsByNameAndValue","updateAgentReasons","updates","updateAgentReasonsByNameAndValue","taskTypeDescriptions","tasktypes","taskTypesByNameAndValue","salutationsByNumber","salutations","emailRoutingValues","routingValues","additionalInterestTypes","aiTypes","additionalInterestTypesByNameAndValue","ElementCustomDescriptions","ElementTemplateTypes","commercialValidationParameters","commercialElementGroups","commercialElementGroupDisplayNames","commercialSurplusBuildingTypeValues","commercialAllBuildingTypeValues","commercialBuildingTypeDisplayTextsByValues","commercialGeneralLiabilityTypes","commercialGeneralLiabilityLimits","commercialMinOwnerOccupancyValues","customCommercialElements","additionalCommercialChoiceElements","commercialSurplusCoveredRisks","jsx","commercialSurplusNonCoveredRisks","commercialSurplusAdditionalNonCoveredRisks","commercialAdmittedCoveredRisks","commercialAdmittedNonCoveredRisks","commercialAdmittedMercantileRisks","commercialPropertyBroadeningFormBaseValues","commercialOrdinanceOrLawCoverageTypes","commercialValidationStates","agencyNames","races","genders","pages","productLine","policyNumber","quoteId","supportEmailAddresses","elementChoiceStatus","reentries","ErrorCodes","landingRedirectErrorCodes","ErrorMessages","HttpStatusCodes","PolicyState","PolicySubstate","PolicyReviewStatusOptions","dateFormat","dateFormatWithHyphens","dateTimeFormat","simpleDateFormat","yearMonthDayFormat","dateTimeLocalizedFormat","locationStatuses","passwordRegex","SwyfftProducerCode","UnderwritingReviewPolicyState","UnderwritingReviewPolicyState2","UnderwritingReviewRenewalState","UnderwritingReviewRenewalState2","CancellationReason","CancellationReasonArray","MarketingPages","ElementDisplayNames","baseImagePath","iconPaths","regExPatterns","supportedFileTypes","MimeType","fileTypeValidations","propertyDetailsStorageKeys","APP_VERSION_STORAGE_KEY","VaveUnderwritingGuidelines","vaveFloodQrgUrl","hiscoxFloodQrgUrl","britFloodQrgUrl","QrgLinks","reviewUndoStrings","MailingPurposeDescriptions","QuoteElementAdminLabelPart","QuoteElementStubLabelPart","QuotePremiumErrorHeaders"],"mappings":"wCAEY,IAAAA,GAAAA,IACRA,EAAA,QAAU,UACVA,EAAA,2BAA6B,uBAC7B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ACpB,oBAAqB,IACrB,MAAO,OACX,EAEaC,GAAsC,CAC/C,kBAAmB,2BACnB,mBAAoB,wBACpB,cAAe,QACf,eAAgB,oBAChB,kBAAmB,mCACnB,eAAgB,wBACpB,EASaC,GAAkC,CAC3C,kBAAmB,2BACnB,mBAAoB,wBACpB,cAAe,QACf,eAAgB,oBAChB,kBAAmB,mCACnB,eAAgB,wBACpB,EAWaC,GAA6C,CACtD,wBAAyB,qDACzB,2BAA4B,uCAC5B,MAAO,iCACP,oBAAqB,+CACrB,mCAAoC,qDACpC,yBAA0B,8CAC9B,EAYaC,GAAkC,CAC3C,WAAY,cACZ,qBAAsB,UAC1B,EAEaC,GAAmC,CAC5C,WAAY,IACZ,WAAY,GAChB,EAEaC,GAAoC,CAC7C,kBAAmB,QACnB,qBAAsB,QAC1B,EAEaC,GAA2B,CACpC,uBACA,iCACA,gBACA,yBACA,qBACA,gBACA,eACJ,EAEaC,GAAqC,CAC9C,gBACA,iCACA,qBACA,+BACA,qBACA,qBACA,gBACA,gBACA,yBACA,uBACA,uBACA,gCACA,8BACA,eACJ,EAEaC,GAAgC,CACzC,+BACA,0CACA,kWACA,6FACA,gIACA,wJACA,8IACA,wEACA,4NACA,sOACA,2EACA,mFACA,iGACA,kEACC,OAAK,CAAA,SAAA,CAAA,qDACiD,IACnDC,EAAAA,IAAC,UAAO,SAER,mGAAA,CAAA,EAAS,GAAA,EAEb,EACA,2LACA,8FACJ,EAEaC,GAAmC,CAC5C,mCACA,oEACA,0EACA,oEACA,kBACA,gBACA,2CACA,0GACA,iGACA,8JACA,iBACA,iJACA,0FACA,2LACA,sNACA,kCACA,4DACA,iGACA,6FACA,kBACA,4BACA,kFACA,qDACJ,EAEaC,GACT,wRAESC,GAAiC,CAC1C,+BACA,0CACA,oWACA,+HACA,wJACA,+IACA,qNACA,qOACA,0EACA,gGACA,2DACA,mMACA,0LACA,kFACA,iDACA,8FACJ,EAEaC,GAAoC,CAC7C,mCACA,4CACA,0EACA,oEACA,kBACA,gBACA,+BACA,qGACA,oDACA,iBACA,0DACA,yFACA,6EACA,oCACA,gCACA,uCACA,+BACA,kFACA,qDACJ,EAEaC,GAAoC,CAC7C,0BACA,gBACA,yCACA,wBACA,gBACA,mCACA,mCACA,qBACA,iCACA,iCACA,0BACA,YACA,gCACA,4BACA,cACA,aACA,6BACA,0BACA,kBACA,8BACA,yCACA,kBACA,oBACA,+BACA,eACA,uDACA,gCACA,6CACA,6BACA,kBACA,qBACA,yCACA,wCACA,oBACA,iCACA,mBACA,oDACA,4BACA,aACA,4BACA,6BACA,yBACA,iCACA,gCACA,kBACA,sBACA,2BACA,wBACA,iCACA,sBACA,qCACA,8BACA,+BACA,qCACA,0CACA,wBACA,wBACA,oBACA,uBACA,6BACA,UACA,yBACA,8BACA,eACA,sBACA,qCACA,6BACA,kCACA,+BACA,kCACA,cACA,wCACA,4CACA,gBACA,cACA,oBACA,+BACA,mCACJ,EAqBaC,GAA6C,CACtD,wBAAyB,KACzB,wBAAyB,GAC7B,EAEaC,GAAwC,CACjD,iBAAkB,sCAClB,iBAAkB,qCACtB,EAEaC,GAA6B,CACtC,QAAS,UACT,MAAO,OACX,EAMaC,GAAc,CACvB,iBAAkB,mBACtB,EAEaC,GAAQ,CACjB,mBACA,mCACA,2BACA,SACA,QACA,OACJ,EAEaC,GAAU,CAAC,SAAU,MAAM,EAK3BC,GAAQ,CACjB,MAAO,SACP,MAAO,SACP,eACI,4GACJ,KAAM,2BACN,oBAAqB,CAACC,EAA0BC,IAC5C,IAAID,EAAY,aAAa,yBAAyBC,CAAY,GACtE,SAAU,aACV,QAAS,WACT,OAAQ,UACR,aAAc,gBACd,cAAe,mBACf,aAAc,4BACd,gBAAiB,0BACjB,2BAA4B,+BAC5B,UAAW,WACX,IAAK,OACL,kBAAmB,qBACnB,sBAAuB,qBACvB,mBAAoB,sBACpB,MAAO,SACP,KAAM,OACN,MAAO,SACP,QAAUD,GAA+BA,EAAc,YAAYA,EAAY,aAAa,GAAK,WACjG,YAA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