const basePlanOrder = ['primary', 'secondary'] as const; const secondaryFirstPlanOrder = ['secondary', 'primary'] as const; const secondaryFirstCountries = ['PT', 'DE'] as const; export const defaultPaywallPlanOrder = [...basePlanOrder]; export const defaultPaywallPlanKey = basePlanOrder[0]; export const secondaryFirstPaywallPlanOrder = [...secondaryFirstPlanOrder]; export const secondaryFirstPaywallPlanKey = secondaryFirstPlanOrder[0]; export const paywallCountryOverrides = Object.fromEntries( secondaryFirstCountries.map((countryCode) => [ countryCode, { defaultOfferKey: secondaryFirstPaywallPlanKey, offerOrder: secondaryFirstPaywallPlanOrder, }, ]), );