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O9jB,EAAS6O,MAAM,GAAGiV,KAC/B,OAAIA,IAAS+qC,GAAUC,QACrBrpD,GAAMD,QAAU,4CACPse,IAAS+qC,GAAUE,aAC5BtpD,GAAMD,QAAU,kDACPse,IAAS+qC,GAAUG,WAC5BvpD,GAAMD,QAAU,8CAElBC,GAAMqe,KAAOA,EACNre,EACT,KACD,EAEDJ,KAAYC,KACS,MAAfA,EAAI6B,QAAiC,MAAf7B,EAAI6B,UAC5B1B,GAAMD,QAAU,6CAElBC,GAAMqe,KAAOxe,EAAI6B,OAAO+4B,YAAQ,EACzBr3B,MAAGpD,MAGhB,CAEQ4pD,WAAWjhC,GACjB,MAAO,GAAGA,EAAKuhC,aAAS,EAAGC,OAAIxhC,EAAKyhC,eAAW,EAAGD,OAAIxhC,EAAK0hC,eAC7D,CAAC1oD,SAAAzI,KAAA,mBAAA0I,iBApEUsnD,IAA0BrnD,OAAAC,MAAAD,OAAAE,QAAA,EAAAJ,SAAAzI,KAAA,WAAAoxD,GAAAloD,IAAA,OAA1B8mD,GAA0B7mD,QAA1B6mD,GAA0B5mD,mBAA1B4mD,EAA0B","names":["shareReplay","configOrBufferSize","windowTime","scheduler","bufferSize","refCount","Infinity","share","connector","ReplaySubject","resetOnError","resetOnComplete","resetOnRefCountZero","PaymentCards","AX","VI","DC","CA","TP","JC","PersonalInformationFormFields","DATE_OF_BIRTH","EMAIL","COUNTRY_CODE","NATIONAL_NUMBER","MOBILE_PHONE","GENDER","TravelProfileFormField","HOUSEHOLD_SIZE","CHILDREN_BIRTH_YEARS","TOPICS_OF_INTEREST","SEAT_PREF","MEAL_PREF","SeatPreferenceOption","NO_PREFERENCE","AISLE","WINDOW","MealPreferenceOption","BLML","DBML","GFML","LCML","LFML","LSML","NLML","HNML","AVML","KSML","MOML","CHML","FPML","VGML","VLML","VJML","SPML","TopicOfInterest","FOD","SPE","MUE","BEF","HOD","BUL","HEW","HOT","CAR","CIH","BEH","SPH","ACH","TOH","CRU","ENR","MailingAddressFormField","BUILDING_NAME_OR_PREFECTURE","CITY","COMPANY_NAME","COUNTRY","POSTAL_CODE","PRIMARY","STATE_OR_PROVINCE","STREET_ADDRESS","ADDRESS_TYPE","PassportInformationFormFields","NUMBER","EXPIRY_DATE","ISSUE_DATE","ProfileService","constructor","http","sentryLogger","store$","configService","languageService","this","supportedLanguages","profile$","pipe","profile","take","memberNumber$","map","memberProfile","memberNumber","accessToken$","loginToken","filter","Boolean","fullProfile$","fetchProfile","updatePersonalInformation","formValues","parsedMobilePhone","combineLatest","memberServiceRequest","response","newProfile","dateOfBirth","email","mobilePhone","phoneNumber","gender","LoginGender","MALE","FEMALE","undefined","isPresent","dispatch","LoginActions","updateMailingAddress","addresses","updateMarketingLanguage","updatePassportInformation","passport","travelProfile","passportInformation","updateGuardianInformation","isJuniorMember","Error","switchMap","guardianName","guardianPhoneNumber","guardianEmail","guardianMemberNumber","updateTravelProfile","householdSize","childrenBirthYears","topicsOfInterest","preferredSeatType","seatPreference","preferredMealType","mealPreference","getProfile","getFullProfile","cache","getCountryOptions","defaultOption","options","option","SIEBEL_SUPPORTED_COUNTRY_CODES","includes","value","toLowerCase","getCountryRegionOptions","countryCode","translate","regions","Object","keys","region","toUpperCase","name","getLanguageOptions","languages","lang","getParsedPaymentCards","getPaymentCards","result","tokens","card","svgName","vendor","lastDigits","token","slice","expiryDate","expiry","substr","apiUrl","cfg","oneClickPaymentUrl","keyId","oneClickPaymentApiKey","httpOptions","headers","HttpHeaders","KeyId","oauth_token","AYUID","get","catchError","err","warn","message","error","throwError","deletePaymentCard","cardToken","accessToken","post","observe","ok","loyaltyServices","legacy","apiProfileUrl","profileRequest","type","ProfileRequestType","FULL","ProfileRequestCache","REFRESH","Accept","o","partStatus","isSuccessResponse","parsedProfile","parseProfile","data","loyaltyMemberUrl","put","status","static","__ngFactoryType__","i0","i1","i2","i3","i4","i5","core","jDH","factory","ɵfac","TwoFactorAuthStatus","LOADING","DISABLED","ENABLED","TwoFactorAuthType","SMS","APP","TwoFactorAuthService","updateStatus$","BehaviorSubject","status$","distinctUntilChanged","updateStatus","of","getStatus","smsAuthenticator","secretKey","validated","startWith","finShare","gAuthRequest","enableSMSAuth","next","tap","enableGAuthValidated","disableGAuth","getQRCodeImageUrl","casHost","casEnv","validateGAuth","securityCode","path","loginToken$","t","memberService","gauthApiKey","gauthUrl","Date","now","ProfileModule","$C","G2t","imports","CommonModule","ComponentsModule","DirectiveModule","GtmModule","PipesModule","CommonServiceFormsModule","ServiceFormsModule","ReactiveFormsModule","withConfig","callSetDisabledState","UiTranslateModule","UiComponentsModule","CmsModule","selectLoyaltyState","createFeatureSelector","LOYALTY_FEATURE_KEY","selectTripsState","createSelector","state","trips","selectMilestonesState","milestones","dismissedWithPointsSelector","dismissedWithPoints","safeSelect","ctx_r0","LoaderTheme","INLINE_TEXT","_r2","Status","INITIAL","NotificationTheme","ALERT","NotificationLayout","BLOCK","SvgLibraryIcon","INFO","_c0","trip_r3","scheduledDateTime","departure","arrival","passengerAmount","bookingRef","mmbLink","LoyaltyUpcomingTripsComponent_ng_container_4_ng_container_2_ng_container_11_tr_1_Template","i_r4","lastVisibleIndex","_r5","onRevealRows","ButtonTheme","LIGHT_SECONDARY_OUTLINE","_c1","PLUS","IconPosition","RIGHT","ButtonType","BUTTON","trips_r6","length","LoyaltyUpcomingTripsComponent_ng_container_4_ng_container_2_ng_container_11_Template","LoyaltyUpcomingTripsComponent_ng_container_4_ng_container_2_div_12_Template","visibleRows","LoyaltyUpcomingTripsComponent_ng_container_4_fcom_notification_1_Template","LoyaltyUpcomingTripsComponent_ng_container_4_ng_container_2_Template","LoyaltyUpcomingTripsComponent_ng_container_4_p_3_Template","ERROR","EMPTY","COMPLETE","LoyaltyUpcomingTripsComponent","element","ngDestroyed$","Subject","first","tripState$","select","ngOnInit","TripsActions","trips$","getTrips","ngOnDestroy","revealRows","tripState","FetchTripsStatus","OK","sortBy","parseOutboundJourneys","trip","scheduledDateTimeUnix","a","b","checkTripDistinction","outboundJourney","journeys","municipality","getTime","recLoc","generateMmbLink","lastName","langValue","RootPaths","MANAGE_BOOKING_ROOT","serializeParams","setTimeout","rowElements","nativeElement","querySelectorAll","interval","index","takeUntil","subscribe","classList","add","compareAsJson","sort","VBU","selectors","decls","vars","consts","template","rf","ctx","LoyaltyUpcomingTripsComponent_div_3_Template","LoyaltyUpcomingTripsComponent_ng_container_4_Template","_r1","ctx_r1","hideError","validationMessages$","INLINE","formStatus","FormStatus","CHECKMARK","messageLabel","LoyaltyAddTripsComponent","formBuilder","paxTripService","pattern","required","form","group","bookingReference","pnrFormatValidator","Validators","onSubmit","valid","addTrip","controls","verifyAddedTrip","tripAdded","AddFrequentFlyerError","BOOKING_NOT_FOUND","PASSENGER_NOT_FOUND","GROUP_BOOKING","LoyaltyAddTripsComponent_fcom_floating_input_10_Template","LoyaltyAddTripsComponent_div_11_Template","LoyaltyAddTripsComponent_fcom_notification_15_Template","SUBMIT","LoyaltySectionNavigationComponent_div_0_nav_1_ng_container_3_Template","itemList_r3","menuItems_r1","LoyaltySectionNavigationComponent_div_0_fin_expand_2_ng_container_13_Template","activeMenuItemTitle$","expandNav_r4","isOpen$","CHEVRON_DOWN","LoyaltySectionNavigationComponent_div_0_nav_1_Template","LoyaltySectionNavigationComponent_div_0_fin_expand_2_Template","mobile","EXTERNAL_TAB","item_r6","$implicit","toggleDetails","external","LoyaltySectionNavigationComponent_ng_template_2_li_0_fcom_icon_3_Template","_c2","active","link","teaserTitle","LoyaltySectionNavigationComponent_ng_template_2_li_0_Template","LoyaltySectionNavigationComponent","loyaltyNavigationService","profileType","ProfileType","FPLUS","CORPORATE","FINNAIR_ACCOUNT","menuItems$","getMenuItemsForProfileType","getActiveMenuItemTitle","expandNav","viewQuery","LoyaltySectionNavigationComponent_div_0_Template","LoyaltySectionNavigationComponent_ng_template_2_Template","AnnouncementCardComponent","fragmentService","PromoTheme","promoCta$","NEVER","promoData$","getFragment","related","item","target","title","FULL_BG","formatMemberNumber","test","replace","aviosLogo_r1","alt","oneworldLogo_r2","plusCardData_r3","cardExpirationDate","PlusCardComponent_ng_container_0_div_16_Template","PlusCardComponent_ng_container_0_div_18_Template","PlusCardComponent_ng_container_0_span_21_Template","ctx_r3","fontSize$","isStartingTier","cardTierFullName","memberNumberFormatted","firstName","aviosLogo$","oneworldLogo$","IconLibrary","CUSTOM","TIER_DATA_MAP","cardTier","cardIcon","showCardExpirationDateIfApplicable","cardLifetimeTierFlag","PlusCardComponent","host","loyaltyTierService","cmsDataService","platform","AspectRatios","ProfileTier","BASE_WIDTH","BASE_FONT_SIZE","logos$","aviosLogoName","BASIC","JUNIOR","CmsTaxonomyPicture","FINNAIR_AVIOS_KEYLINE_NAVY","FINNAIR_AVIOS_KEYLINE_WHITE","taxonomyTags","tier","oneworldLogo","getPicturesByTaxonomyTags","localeValue","p","logos","withLatestFrom","plusCardData$","getMemberTierDetails","firstname","lastname","isPlatformBrowser","resizeObserver","ResizeObserver","entries","contentRect","width","disconnect","PLATFORM_ID","PlusCardComponent_ng_container_0_Template","LoyaltyViewComponent","showPlusCard","showAnnouncementCard","inputs","pageTitle","ngContentSelectors","LoyaltyViewComponent_fcom_plus_card_8_Template","LoyaltyViewComponent_fin_announcement_card_10_Template","LoyaltyMyTripsComponent","cmsTemplateService","pageMetaService","subscriptions","Subscription","enableShowingSAF","template$","load","LoyaltyRoutesPath","MY_TRIPS","pageTitle$","header","ngAfterViewInit","setPageMetadata","unsubscribe","LoyaltyMyTripsComponent_fin_sustainability_review_card_8_Template","onCloseNotification","EDGE_TO_EDGE","notificationData_r3","LoyaltyGlobalNotificationComponent_ng_container_0_ng_container_1_ng_container_1_fcom_notification_1_Template","hidden","LoyaltyGlobalNotificationComponent_ng_container_0_ng_container_1_ng_container_1_Template","notificationData$","LoyaltyGlobalNotificationComponent_ng_container_0_ng_container_1_Template","profileTier$","LOYALTY_GLOBAL_NOTIFICATION_STORAGE_KEY","LoyaltyGlobalNotificationComponent","storageService","finLocalization","destroy$","showNotification$","pluck","profileType$","showNotification","isInitiallyHidden","transform","SILVER","GOLD","PLATINUM","LUMO","LOCAL","set","onDestroy","complete","LoyaltyGlobalNotificationComponent_ng_container_0_Template","NO_CMS_CONTENT_PATHS","CAMPAIGN_ENROLL","LoyaltyLayoutComponent","navigationMenuService","router","scrollService","breadcrumbService","path$","enablePageFeedback","events","isNavigationEvent","event","url","routerState","snapshot","scrollTop","sanitizeWhiteListedPath","isFooterOpen$","some","noCmsPath","endsWith","navigationPathList","isNotEmpty","pathList","setBreadcrumbNormal","enableQualtricsPageFeedback","LoyaltyLayoutComponent_Conditional_8_Template","main_r1","GuardianInformationFormField","GUARDIAN_NAME","GUARDIAN_PHONE_NUMBER","GUARDIAN_EMAIL","GUARDIAN_MEMBER_NUMBER","GUARDIAN_CONSENT","TransactionsResponsePartStatusCode","SUCCESS","RETRY_LATER","OTHER_ERROR","TransactionStatus","PROCESSED","CANCELLED","VERIFIED","MANUALLY_CANCELLED","PARTNER_APPROVED","PARTNER_PENDING","PARTNER_VERIFIED","PARTNER_REJECT","TransactionProductType","AIRLINE_AWARD","AIRLINE_FLIGHT","POINTS_AND_CASH","HOTEL_AWARD","ELECTRONIC_VOUCHER","TOUR_OPERATOR","OTHER_AWARD","MERCHANDISE","GOODWILL","SERVICES","VoucherProductName","LONG_HAUL_UPGRADE","UPGRADE_BENEFIT","EUROPE_UPGRADE","GOLD_CARD_GIFT","AY_LOUNGE_PASS","MILESTONE_200K","ALL_LOADED","TransactionService","transactionsStore","getTransactions","xApiKey","apiProfileApiKey","continuationToken","payload","transactionsRequest","handleResponse","retryWhen","attempts","mergeMap","i","timer","transactions","code","UpgradeBenefitsState","COMPLETED","VoucherService","getVouchers","vouchers","vouchersRequest","expiringTravelClassUpgradeVouchers","isUpgradeVoucher","isExpiringVoucher","sortByExpirationDate","voucher","productName","before","expirationDate","TimeUnit","month","day","voucherA","voucherB","profile_r3","hideZeroPtsTiersMsg","show_r2","show_r5","expirationDate$","tmp_4_0","tierName","PointsBalanceComponent_div_0_p_11_Template","ctaClicked","emit","PointsBalanceComponent_div_0_div_20_Template","AVIOS_CURRENCY","awardPoints","showPointExpiry$","INFO_BLOCK","PointsBalanceComponent","profileService","ButtonSize","TagTheme","EventEmitter","NON_EXPIRING","NON_POINTS_HIDE_MESSAGE","LocalDate","plusMonths","outputs","PointsBalanceComponent_div_0_Template","progressText","targetText","ProgressIndicatorComponent_div_0_span_1_Template","ProgressIndicatorComponent_div_0_span_2_Template","_c3","ProgressIndicatorComponent","progress","total","fillColor","max","isOverMax","percentage","getPercentage","onProgressFill","ngOnChanges","progressScaleX","ariaLabel","features","ProgressIndicatorComponent_div_0_Template","trigger","style","params","transition","animate","showLifetime_r2","finLet","ctx_r2","showLifetime$","LIGHT_TERTIARY_GHOST","ARROW_LEFT","LEFT","_r4","ARROW_RIGHT","lifetimeProgressData_r5","lifetimeTier","tierProgressData_r6","trackingPeriodEnd","TierProgressComponent_ng_container_0_div_1_fcom_button_9_Template","TierProgressComponent_ng_container_0_div_1_fcom_button_10_Template","TierProgressComponent_ng_container_0_div_1_div_11_Template","tierProgress_r8","progressContainer_r7","clientHeight","lifetimeProgress_r9","lifetimeProgressData$","TierProgressComponent_ng_container_0_div_1_Template","tierProgressData_r10","tierProgress","tierState","TierState","GAIN","targetTierName","_c5","TierProgressComponent_ng_template_2_ng_container_2_div_4_span_4_ng_container_3_Template","TierProgressComponent_ng_template_2_ng_container_2_div_4_span_4_ng_template_4_Template","AIRCRAFT_TILTED","HIGHEST","highestPercentageText_r11","_c6","targetTierLimit","aySecretTierPointsRequired","aySecretTierPoints","TierProgressComponent_ng_template_2_ng_container_2_div_4_span_4_Template","TierProgressComponent_ng_template_2_ng_container_2_div_4_p_5_Template","TierProgressComponent_ng_template_2_ng_container_2_div_4_p_6_Template","TierProgressComponent_ng_template_2_ng_container_2_div_4_p_8_Template","_c4","isMobile_r12","tierAndPoints_r13","targetTier","isGainingMaintainingOrHighestLumo","trackingPeriodStart","tierPointsCollected","TierProgressComponent_ng_template_2_ng_container_2_div_4_Template","TierProgressComponent_ng_template_2_ng_container_2_ng_template_6_Template","isMobile$","TierProgressComponent_ng_template_2_ng_container_2_Template","cardHeader_r14","tierProgressData$","targetPlusIcon_r17","_c7","isMobile_r15","lifetimeProgressData_r16","lifetimeTargetTier","qualifyingLifetimeTierPoints","lifetimeTargetTierLimit","_c8","FINNAIR_EMBLEM_BLOCK","TierProgressComponent_ng_template_4_div_0_div_3_Template","TierProgressComponent_ng_template_4_div_0_ng_template_5_Template","TierProgressComponent_ng_template_4_div_0_Template","lifetimeProgressData_r18","TierProgressComponent_ng_template_6_div_0_fcom_tag_3_Template","title_r19","TierProgressComponent_ng_template_6_div_0_Template","TierProgressComponent","mediaQueryService","isBreakpoint$","getMemberTierDetails$","memberTierDetails","targetTierFlightLimit","qualifyingFlights","TierProgressComponent_ng_container_0_Template","TierProgressComponent_ng_template_2_Template","TierProgressComponent_ng_template_4_Template","TierProgressComponent_ng_template_6_Template","$event","openInfoModal","HELP_BLOCK","transaction_r4","isAviosTransaction","tierPoints","_r3","openTransactionModal","TransactionHistoryComponent_div_5_div_1_ng_container_15_span_10_Template","TransactionHistoryComponent_div_5_div_1_ng_container_15_span_12_Template","TransactionHistoryComponent_div_5_div_1_ng_container_15_span_13_Template","TransactionHistoryComponent_div_5_div_1_ng_container_15_span_14_Template","last_r5","id","date","description","TransactionHistoryComponent_div_5_div_1_ng_container_15_Template","hiddenCaptionText","visibleTransactions_r6","_r7","_r8","ngIf","onLoadMoreTransactions","status_r9","TransactionHistoryComponent_div_5_ng_container_2_fcom_notification_1_Template","TransactionHistoryComponent_div_5_ng_container_2_div_2_Template","loadingDisabled","currentLanguage$","BALANCE_AND_TRANSACTIONS","TransactionHistoryComponent_div_5_div_1_Template","TransactionHistoryComponent_div_5_ng_container_2_Template","TransactionHistoryComponent_div_5_div_4_Template","showFullHistoryLink","a11yStatusAddedRowsAmount","LoaderType","templateTransaction_r12","origin","destination","partnerName","flight","TransactionHistoryComponent_fcom_modal_14_div_5_tr_26_th_1_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_26_th_2_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_26_th_3_Template","productType","partner","ticketNumber","fareFamily","travelClass","bookingClass","TransactionHistoryComponent_fcom_modal_14_div_5_tr_32_span_6_Template","tmp_10_0","detailText","TransactionHistoryComponent_fcom_modal_14_div_5_ng_template_36_fcom_notification_3_ng_container_1_Template","TransactionHistoryComponent_fcom_modal_14_div_5_ng_template_36_fcom_notification_3_ng_template_2_Template","WARNING","context_r14","NotificationContextType","BetweenAvios","notAviosBookingTransaction_r13","TransactionHistoryComponent_fcom_modal_14_div_5_ng_template_36_fcom_notification_3_Template","transactionAvios$","TierPointTransaction","Avios","TransactionHistoryComponent_fcom_modal_14_div_5_tr_23_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_24_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_25_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_26_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_27_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_28_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_29_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_30_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_31_Template","TransactionHistoryComponent_fcom_modal_14_div_5_tr_32_Template","TransactionHistoryComponent_fcom_modal_14_div_5_ng_template_36_Template","TransactionHistoryComponent_fcom_modal_14_div_5_ng_container_38_Template","aviosContent_r15","getNotificationContext","_r10","isTransactionModalOpen","transaction_r11","closeTransactionModal","TransactionHistoryComponent_fcom_modal_14_fin_loader_1_Template","TransactionHistoryComponent_fcom_modal_14_fcom_notification_3_Template","TransactionHistoryComponent_fcom_modal_14_div_5_Template","ModalButtons","CLOSE","templateTransaction$","tmp_6_0","TransactionHistoryComponent","transactionService","locationRouteCffService","DISPLAYED_TRANSACTIONS","initialVisibleTransactionAmount","visibleTransactions$","modalTransaction$","allLoaded","isInfoModalOpen","airlines","PARTNER_AIRLINES","aviosCutOfDate","enableAviosOverhaul","isAviosCuttoffDateEffective","visibleRowsAmount","getTransactionFragment","updateVisibleTransactions","formatModalTransaction","visibleTransactions","storeHasEnoughRows","loadMoreToStore","newRows","mapAnimationOrderToNewRows","transaction","stopPropagation","transactionId","transactionRows","find","focus","closeInfoModal","openInfoModalButton","formatDescription","translation","newTransaction","modalPartner","airline","originationAirport","destinationAirport","locationCodeToLocation","locationCode","getTransactionsNewTransactions$","mappedTransaction","formatPoints","orig","dest","createTransactionDescription","formatted","newTransactions","push","newVisibleTransactions","cityName","bestGuessFor","charAt","parseInt","currentRows","row","animationOrder","ayBookingDate","transactionDate","cutOffDate","transactionProductType","context","contextType","ElementRef","TransactionHistoryComponent_button_0_Template","TransactionHistoryComponent_p_1_Template","TransactionHistoryComponent_div_3_Template","TransactionHistoryComponent_div_5_Template","TransactionHistoryComponent_ng_container_9_Template","TransactionHistoryComponent_ng_container_10_Template","TransactionHistoryComponent_ng_container_11_Template","TransactionHistoryComponent_ng_container_12_Template","TransactionHistoryComponent_ng_container_13_Template","TransactionHistoryComponent_fcom_modal_14_Template","hideTooltip","expiringVouchers_r3","ExpiringVoucherNotificationComponent_ng_container_0_div_1_ng_container_6_ng_container_1_Template","ExpiringVoucherNotificationComponent_ng_container_0_div_1_ng_container_6_ng_container_2_Template","ExpiringVoucherNotificationComponent_ng_container_0_div_1_ng_container_5_Template","ExpiringVoucherNotificationComponent_ng_container_0_div_1_ng_container_6_Template","oneUpgradeUrl$","TRACKING_ELEMENT_NAME","GTM_TRACKING_CONTEXT","ElementTypes","BANNER","ExpiringVoucherNotificationComponent_ng_container_0_div_1_Template","ExpiringVoucherNotificationComponent","gtmService","voucherService","GaContext","FINNAIR_PLUS","ONE_UPGRADE_ROOT","expiringVouchers$","vouchers$","trackElement","ElementActions","VIEW","ExpiringVoucherNotificationComponent_ng_container_0_Template","UpgradeBenefitsComponent_ng_container_0_ng_container_1_Template","UpgradeBenefitsComponent_ng_container_0_ng_container_3_Template","showLoading$","state_r2","benefitTemplate_r4","upgradeVouchers_r3","BenefitCategory","UPGRADE","otherVouchers_r5","OTHER","UpgradeBenefitsComponent_ng_container_2_ng_container_1_Template","UpgradeBenefitsComponent_ng_container_2_ng_container_3_Template","upgradeVouchers$","otherVouchers$","voucher_r6","expand_r7","v_r8","amount","UpgradeBenefitsComponent_ng_template_4_ng_template_5_ng_container_1_fin_expand_1_ng_container_13_div_1_Template","UpgradeBenefitsComponent_ng_template_4_ng_template_5_ng_container_1_fin_expand_1_span_8_Template","UpgradeBenefitsComponent_ng_template_4_ng_template_5_ng_container_1_fin_expand_1_div_9_Template","UpgradeBenefitsComponent_ng_template_4_ng_template_5_ng_container_1_fin_expand_1_ng_template_10_Template","UpgradeBenefitsComponent_ng_template_4_ng_template_5_ng_container_1_fin_expand_1_ng_container_13_Template","oneVoucher_r9","i_r12","count_r14","last_r13","benefitCategory_r15","benefitName","changed","multipleVouchers_r10","UpgradeBenefitsComponent_ng_template_4_ng_template_5_ng_container_1_fin_expand_1_Template","_r16","displayedCount_r17","displayedVoucherCount$","UpgradeBenefitsComponent_ng_template_4_ng_template_5_div_3_fcom_button_1_Template","benefits_r19","UpgradeBenefitsComponent_ng_template_4_ng_template_5_ng_container_1_Template","UpgradeBenefitsComponent_ng_template_4_ng_template_5_div_3_Template","finnairShopUrl","UpgradeBenefitsComponent_ng_template_4_ng_template_7_div_3_Template","noBenefitsText_r20","UpgradeBenefitsComponent_ng_template_4_div_4_Template","UpgradeBenefitsComponent_ng_template_4_ng_template_5_Template","UpgradeBenefitsComponent_ng_template_4_ng_template_7_Template","benefitTitle_r21","benefitList_r22","noBenefits_r23","UpgradeBenefitsComponent","tier$","x","upgradeState$","benefits$","groupVouchersByName","getVoucherAmountsGroupedByDate","flat","groupVouchersByBenefitName","lan","landingPageUrl$","BOOKING_ROOT","langKeyValue","values","reduce","vouchersByName","dates","existing","all","benefit","concat","UpgradeBenefitsComponent_ng_container_0_Template","UpgradeBenefitsComponent_ng_container_2_Template","UpgradeBenefitsComponent_ng_template_4_Template","MilestoneComponent","hostClassFlexBasisFull","isTabletDownBreakpoint","hostStylesFlexBasis","changeDetectorRef","hostClass","isUnlocked","tierPointsCurrentPeriod","content","localSettings","milestonePoints","isTabledDownBreakpoint","detectChanges","hostVars","hostBindings","LOCK_OPEN","LOCK_CLOSED","tierPoints_r2","dismissMilestones","newUnlockedMilestone_r4","milestone_r5","MilestonesComponent_ng_container_0_fcom_notification_9_Template","MilestonesComponent_ng_container_0_fin_milestone_12_Template","MILESTONE","newUnlockedMilestones$","milestoneItems$","trackByFn","MilestonesComponent","currentPeriod","currentDismissedWithPoints","MilestonesActions","points","tierPointsCurrentPeriod$","tierPointsAfterConversion","fragmentUrl","getFragmentJson","items","cmsArticle","currentPoints","milestoneItems","_index","contentId","toString","MilestonesComponent_ng_container_0_Template","item_r1","article","text","invertedColors","link_r2","openInNewTab","TierBenefitsComponent_div_1_span_6_Template","TierBenefitsComponent_div_1_cms_unstyled_fragment_7_Template","TierBenefitsComponent_div_1_ng_template_8_Template","TierBenefitsComponent_div_1_a_10_Template","icon","category","itemText_r4","TierBenefitsComponent","TierBenefitsComponent_div_1_Template","button_r2","navigateTo","DARK_PRIMARY_NORDIC_BLUE","LIGHT_PRIMARY_NORDIC_BLUE","BenefitBannerComponent","ButtonMode","buttons","navigateByUrl","BenefitBannerComponent_div_10_Template","sidebar_r1","PromotionSegmentComponent_fin_benefit_banner_0_ng_container_5_Template","cta$","articles$","PromotionSegmentComponent","content$","fragmentParams","safeMap","contentType","CmsContentType","CMPersonalized","sidebar$","articles","iconCategory","PAYMENTS","TAILS","SVG_LIBRARY","iconName","PromotionSegmentComponent_fin_benefit_banner_0_Template","sidebarContent_r3","bannerCta$","benefits_r4","params_r5","PlusDashboardComponent_fin_loyalty_view_0_ng_container_20_fin_benefit_banner_1_Template","PlusDashboardComponent_fin_loyalty_view_0_ng_container_20_fin_promotion_segment_3_Template","sideBarContent$","creditCardBannerParams$","goUsePoints","PlusDashboardComponent_fin_loyalty_view_0_ng_container_20_Template","profile_r6","transactionsAndBenefitsLoading$","tierBenefits$","PlusDashboardComponent","tierBenefitService","HIDE_BENEFITS","BenefitItemKeyEnum","SnackDrink","EasyBookings","transactionsStatus","vouchersStatus","ddsLocale","ddsLocaleValue","CreditCardPersonalizationParameter","AKTIA_CREDIT_CARD","hasAktiaVisaCreditCard","enableVisaLightCreditCardBanner","AKTIA_LIGHT_CREDIT_CARD","hasAktiaVisaLightCreditCard","articleToTarget","welcomeTextWithLink$","symbolToLangPath","getBenefitJson","benefits","filterBenefits","benefitItemKey","generalDescription","tags","displayTags","split","replaceUrl","i6","i7","i8","i9","PlusDashboardComponent_fin_loyalty_view_0_Template","consent_r2","consentTextId","reactiveForm","DirectMarketingPreferencesFormComponent_ng_container_4_div_13_Template","DirectMarketingPreferencesFormComponent_ng_container_4_cms_unstyled_fragment_19_Template","languages$","consentGroupIntroductionText$","consents$","consentGroupProfileAfterwordText$","MARKETING_LANGUAGES","UPDATE_DIRECT_MARKETING_PREFERENCES","DirectMarketingPreferencesFormComponent","notificationElem","notification","fb","consentService","cdRef","ConsentTextId","v","accountType$","consentGroup$","getMarketingConsents","introductionText","profileAfterwordText","consents","userProfile","createForm","trackFormState","consentsRequest$","updatedConsents","consent","consentStatus","ConsentStatus","ACCEPTED","DECLINED","sendConsents","marketingLanguage","updateMarketingLanguageRequest$","autoScrollToNotification","scrollIntoView","behavior","block","consentFields","fields","DirectMarketingPreferencesFormComponent_div_1_Template","DirectMarketingPreferencesFormComponent_div_2_Template","DirectMarketingPreferencesFormComponent_ng_container_4_Template","DirectMarketingPreferencesFormComponent_div_5_Template","LoginAddressType","HOME","JOB","homeAddressForm_r3","selectedCountryText","onCountrySelect","LoyaltyMailingAddressFormComponent_div_7_div_2_fin_form_input_select_3_Template","LoyaltyMailingAddressFormComponent_div_7_div_2_fin_form_input_text_4_Template","onValueChange","countries$","enabled","workAddressForm_r5","LoyaltyMailingAddressFormComponent_div_7_div_3_fin_form_input_text_1_Template","LoyaltyMailingAddressFormComponent_div_7_div_3_fin_form_input_select_4_Template","LoyaltyMailingAddressFormComponent_div_7_div_3_fin_form_input_text_5_Template","LoyaltyMailingAddressFormComponent_div_7_div_1_Template","LoyaltyMailingAddressFormComponent_div_7_div_2_Template","LoyaltyMailingAddressFormComponent_div_7_div_3_Template","_r6","onCancel","MAILING_ADDRESS_FORM","LoyaltyMailingAddressFormComponent","enableCancel","cancel","success","activeForm","countryCodes$","countryCodes","selectOptions","countryCodeData","unshift","AU","US","JP","GB","markAllAsTouched","primary","country","updateConditionalFields","reset","disableConditionalFields","enableConditionalFields","field","setValue","trimAndReplaceWhitespace","primaryAddress","address","homeAddress","jobAddress","NONE","disabled","createAddressForm","workAddress","profileTier","requiredValidator","ACCOUNT","companyName","streetAddress","LATIN_ADDRESS_PATTERN","postalCode","city","LATIN_ALPHA_PATTERN","stateOrProvince","buildingNameOrPrefecture","LoyaltyMailingAddressFormComponent_div_1_Template","LoyaltyMailingAddressFormComponent_div_5_Template","LoyaltyMailingAddressFormComponent_div_7_Template","LoyaltyMailingAddressFormComponent_fcom_button_9_Template","LoyaltyPersonalInfoFormComponent_div_8_div_4_Template","LoyaltyPersonalInfoFormComponent_div_8_div_5_Template","maxDate","minDate","CALENDAR","LoyaltyPersonalInfoFormComponent_div_10_fin_datepicker_1_Template","tooltipOptions","contentTooltip_r3","phonePrefixes$","genders","PERSONAL_INFORMATION_FORM","LoyaltyPersonalInfoFormComponent","phonePrefixService","loginService","maxYear","minYear","enableOnClick","showCloseButton","tooltipWidth","minOffsetLeft","setupPhonePrefixes","profileStatus","memberStatus","parseName","changePasswordUrl","createChangePasswordUrl","EMAIL_PATTERN","parseCountryCode","regionCodes","nationalNumber","PHONE_PATTERN","parsePhoneNumber","capitalize","localDate","generateParsedMobilePhone","isNotBlank","res","minusYears","regionCode","LoyaltyPersonalInfoFormComponent_fcom_notification_3_Template","LoyaltyPersonalInfoFormComponent_div_7_Template","LoyaltyPersonalInfoFormComponent_div_8_Template","LoyaltyPersonalInfoFormComponent_div_10_Template","LoyaltyPersonalInfoFormComponent_ng_template_20_Template","AviosPartner","BAEC","LinkingStatus","ACTIVE","INACTIVE","AviosAccountLinkingStatus","AviosLinkingService","getAviosLinkedAccounts","linkedAccount","linkingStatus","loyaltyAviosLinkingUrl","Authorization","btoa","linkedAccounts","onCloseError","aviosLinkingStatus_r6","isMFAModalOpened","onBackButtonLinkClick","LoyaltyTwoFactorAuthToggleComponent_div_3_div_5_Template","NotificationButtonStyle","LINK","enabledBackButtonUrl","aviosLinkingStatus$","selectTwoFactorAuthType","qrCodeImageUrl_r9","authState","AuthState","VERIFY","INCORRECT_CODE","validateCode","LoyaltyTwoFactorAuthToggleComponent_fcom_tabs_7_form_6_div_12_Template","LoyaltyTwoFactorAuthToggleComponent_fcom_tabs_7_form_6_fcom_notification_19_Template","resetAuthState","validateGAuthForm","qrCodeImageUrl$","_r11","openConfirmModal","LoyaltyTwoFactorAuthToggleComponent_fcom_tabs_7_ng_container_5_Template","LoyaltyTwoFactorAuthToggleComponent_fcom_tabs_7_form_6_Template","LoyaltyTwoFactorAuthToggleComponent_fcom_tabs_7_ng_container_9_Template","TabTheme","DEFAULT","CHOOSE_TYPE","phoneNumber_r12","LoyaltyTwoFactorAuthToggleComponent","twoFactorAuthService","aviosLinkingService","isConfirmModalOpen","hasError","twoFactorAuthStatus$","setFocus","appFirstStep","authType","trackGTM","appThirdStep","parsedMobilePhone$","SERVICE_FORMS","MODAL","NOTIFICATION","CLICK","LoyaltyTwoFactorAuthToggleComponent_ng_container_0_Template","LoyaltyTwoFactorAuthToggleComponent_div_2_Template","LoyaltyTwoFactorAuthToggleComponent_div_3_Template","LoyaltyTwoFactorAuthToggleComponent_div_5_Template","LoyaltyTwoFactorAuthToggleComponent_fcom_tabs_7_Template","LoyaltyTwoFactorAuthToggleComponent_p_16_Template","LoyaltyTwoFactorAuthToggleComponent_p_18_Template","modal_r13","onClose","onConfirm","disableConfirmationWhenAviosLinkedAccountsModal_r14","open","forceRemainOpen","confirmEnabled","openModal","expiryMinDate","currentDate","expiryMaxDate","PASSPORT_FORM","LoyaltyPassportFormComponent","modalOpen","plusYears","passportNumber","passportIssueDate","dateValidator","passportExpirationDate","passportCountry","closeModal","openModalButton","LoyaltyPassportFormComponent_div_1_Template","LoyaltyPassportFormComponent_div_5_Template","LoyaltyPassportFormComponent_ng_container_7_Template","DONE","CardsStatus","card_r5","i_r6","onOpenModal","cardType","corporate","cardHolder","LoyaltyPaymentCardsComponent_ng_container_6_div_1_Template","cardTokens","LoyaltyPaymentCardsComponent","selectedToken","selectedId","onRemoveCard","splice","cardsHeading","cards","LoyaltyPaymentCardsComponent_div_0_Template","LoyaltyPaymentCardsComponent_div_1_Template","LoyaltyPaymentCardsComponent_ng_container_6_Template","LoyaltyPaymentCardsComponent_ng_template_7_Template","noSavedCardsText_r7","CONTINUE_CANCEL","article_r3","subjectTaxonomyTags","join","travelProfileDescription$","parentBirthYear_r4","birthYears","index_r5","LoyaltyTravelProfileFormComponent_ng_container_6_ng_template_13_Template","seatPreferenceOptions","mealPreferenceOptions","householdSizeOptions","contentTooltip_r6","childrenBirthYearsFormGroupConfig","maxChildren","topicsOfInterestControls","ANALYTICS_FORM_NAME","LoyaltyTravelProfileFormComponent","birthYear","label","initialMaxChildren","generateSelectOptionIntRange","MAX_CHILD_BIRTH_YEAR","getFullYear","onHouseholdSizeChange","parseSubmissionData","AnalyticsFormStatus","SEND_ATTEMPT","birthYearsArray","control","UntypedFormControl","enumValues","meal","setHouseHoldSize","array","UntypedFormArray","prefillChildrenBirthYears","valueChanges","val","setMaxChildLimit","Math","years","forEach","year","rangeEnd","Array","from","int","prop","parseSelectedTopics","topics","_topic","checked","j","topic","LoyaltyTravelProfileFormComponent_div_1_Template","LoyaltyTravelProfileFormComponent_cms_rich_text_2_Template","LoyaltyTravelProfileFormComponent_div_4_Template","LoyaltyTravelProfileFormComponent_ng_container_6_Template","LoyaltyTravelProfileFormComponent_ng_template_10_Template","GuardianInformationFormComponent_ng_container_7_div_6_Template","hostingComponent","GuardianInformationHostingComponent","LOST_CARD","UPDATE_PROFILE","GuardianInformationFormComponent","submitButtonText","scrollToNotification","formConfig","NAME_PATTERN","finnairPlusNumberValidator","requiredTrue","GuardianInformationFormComponent_div_1_Template","GuardianInformationFormComponent_div_5_Template","GuardianInformationFormComponent_ng_container_7_Template","expandHeader_r3","_c14","expandGuardianInformation_r2","PlusProfileComponent_ng_container_4_fin_expand_17_Template","expandTwoFactorAuth_r5","tmp_18_0","routerParams$","PlusProfileQueryParams","TwoFactorAuthEnabledBackButtonUrl","profile_r4","_c9","expandMailingAddress_r6","_c10","expandMarketingPreferences_r7","_c11","expandTravelProfile_r8","_c12","expandPaymentCards_r9","_c13","expandPassportInformation_r10","label_r12","isOpen_r11","Section","PlusProfileQueryParamSectionValue","TwoFactorAuth","MailingAddress","MarketingPreferences","TravelProfileAndInterests","PlusProfileComponent","queryParams","PROFILE","delay","expandComponentData","expand","expandMailingAddress","expandMailingAddressTrigger","expandMarketingPreferences","expandMarketingPreferencesTrigger","expandTravelProfile","expandTravelProfileTrigger","expandTwoFactorAuth","expandTwoFactorAuthTrigger","section","scrollToImmediate","isOpen","PlusProfileComponent_div_3_Template","PlusProfileComponent_ng_container_4_Template","PlusProfileComponent_ng_template_6_Template","article_r2","transferBetweenAccountsFragment$","onUnlinkAccountClickBtn","twoFactorAuthStatus_r5","onEnable2FAAuthenticationClickBtn","AviosLinkingAndExchangeComponent_div_5_fcom_button_12_Template","AviosLinkingAndExchangeComponent_div_5_fcom_notification_14_Template","CustomIcon","BAEC_EMBLEM","FINNAIR_LOGO_PLUS","SWITCH_FLIGHTS","BAEC_LOGO","onTransferAviosClickBtn","twoFactorAuthStatus_r8","AviosLinkingAndExchangeComponent_div_9_fcom_button_1_Template","twoFactorAuthStatus_r11","AviosLinkingAndExchangeComponent_ng_template_11_ng_container_2_ng_container_3_div_5_Template","AviosLinkingAndExchangeComponent_ng_template_11_ng_container_2_ng_container_3_ng_template_7_Template","AviosLinkingAndExchangeComponent_ng_template_11_ng_container_2_ng_container_3_fcom_button_9_Template","stepper_r13","steps","activeStepIndex","enable2Fa_r12","_r14","onLinkAccountsClickBtn","aviosLinkingStatus_r15","AviosLinkingAndExchangeComponent_ng_template_11_ng_container_2_ng_container_4_fcom_button_7_Template","_r9","onStepperClicked","AviosLinkingAndExchangeComponent_ng_template_11_ng_container_2_ng_container_3_Template","AviosLinkingAndExchangeComponent_ng_template_11_ng_container_2_ng_container_4_Template","activeStep","LinkAccountsFlowStep","ENABLE_TWO_FACTOR_AUTH","LINK_ACCOUNTS","AviosLinkingAndExchangeComponent_ng_template_11_ng_container_2_Template","stepperActiveStep$","stepperActiveStepIndex$","stepperSteps$","AviosLinkingAndExchangeModal","LinkAccounts","TransferAvios","UnlinkAccount","AviosLinkingAndExchangeComponent","isModalOpened","modalOpened","windowRef","modalFragments","aviosLinkingStatus","step","findIndex","stepperStep","isTwoFactorAuthEnabled","navigate","onModalConfirm","trackGtm","elementName","nativeWindow","britishAirwaysExchangeUrl","AviosLinkingAndExchangeComponent_cms_rich_text_3_Template","AviosLinkingAndExchangeComponent_div_5_Template","AviosLinkingAndExchangeComponent_ng_template_7_Template","AviosLinkingAndExchangeComponent_div_9_Template","AviosLinkingAndExchangeComponent_ng_template_11_Template","AviosLinkingAndExchangeComponent_ng_container_22_Template","modal_r16","aviosLinkingAndExchangeInfoRightInactive_r17","stepsToLinkAccount_r18","tmp_9_0","tmp_12_0","awardAndTierPointsExpandOpen","BalanceAndTransactionsComponent_ng_container_5_ng_container_7_Template","awardAndTierPoints_r3","scrollToPoints","BalanceAndTransactionsComponent","activatedRoute","pageViewType$","showSideTitle$","smoothScroll","usePointsContent","fragment","BalanceAndTransactionsComponent_ng_container_5_Template","BalanceAndTransactionsComponent_ng_template_7_Template","BalanceAndTransactionsComponent_fin_avios_linking_and_exchange_9_Template","tmp_7_0","TierProgressAndBenefitsComponent","isEligible$","TIER_PROGRESS_AND_BENEFITS","TierProgressAndBenefitsComponent_ng_container_2_Template","TierProgressAndBenefitsComponent_div_5_Template","LEGACY_SITE_TIER_CODES","BuyPointsComponent","BUY_POINTS","iframeUrl$","createIframeUrl","ssoSource","ssoProduct","FinnairPlusMember","Firstname","Lastname","AccountBalance","Country","Zip","Language","MemberTier","MemberEmail","MemberJoinDate","joinDate","MemberStatus","substring","CoBrandCard","sebCard","buyPointsIframeUrl","BuyPointsComponent_div_2_Template","date_r3","selectedDate","getFlightList","dateStringArray","UpgradeAvailabilityComponent_div_11_fcom_tab_7_Template","tmp_2_0","flightList$","segment_r4","available_seats","UpgradeAvailabilityComponent_div_12_tbody_4_ng_container_1_tr_1_span_11_Template","UpgradeAvailabilityComponent_div_12_tbody_4_ng_container_1_tr_1_span_12_Template","UpgradeAvailabilityComponent_div_12_tbody_4_ng_container_1_tr_1_span_13_Template","UpgradeAvailabilityComponent_div_12_tbody_4_ng_container_1_tr_1_span_14_Template","UpgradeAvailabilityComponent_div_12_tbody_4_ng_container_1_tr_1_span_15_Template","flight_r6","list_segment","i_r5","airline_code","flight_number","b_location","time","e_location","operated_by","UpgradeAvailabilityComponent_div_12_tbody_4_ng_container_1_tr_1_Template","UpgradeAvailabilityComponent_div_12_tbody_4_ng_container_1_Template","bookNow","LARGE","UpgradeAvailabilityComponent_div_12_thead_3_Template","UpgradeAvailabilityComponent_div_12_tbody_4_Template","UpgradeAvailabilityComponent_div_12_tfoot_5_Template","UpgradeAvailabilityComponent_div_12_ng_container_6_Template","tmp_5_0","errorMessage","item_r8","UpgradeAvailabilityComponent","upgradeAvailabilityService","destinationLoading$","departureLoading$","destinationLocations$","departureLocations$","getDates","list","tabs","scrollToSelectedTab","storeProfile","onDestinationChanges","onDepartureChanges","departureDate","locale","getUpgradeAvailability","countrySite","language","UPGRADE_AVAILABILITY_SEARCH","SEARCH","filteredFlights","flights","display","flightListSegment","segment","startDate","stopDate","dateArray","lte","plusDays","window","locationFormatValidator","queryLocations","queryString","locations$","loading$","locationMatchesFor","matchedLocations","debounceTime","AUTOCOMPLETE_DEBOUNCE_TIME","ReactiveFormStatus","INVALID","UpgradeAvailabilityComponent_div_11_Template","UpgradeAvailabilityComponent_div_12_Template","UpgradeAvailabilityComponent_div_13_Template","UpgradeAvailabilityComponent_li_18_Template","link_r1","UpgradeTravelClassComponent","upgradeUrl","upgradeTermsLink$","UPGRADE_AVAILABILITY","main","isUpgradeTermsTeaser","upgradeTo","UpgradeTravelClassComponent_span_30_Template","PlusUserGuard","GET_LOGIN_STATUS_TIMEOUT","canActivate","route","isPlatformServer","recurseLangParam","loginStatus","timeout","LoginStatus","NOT_LOGGED_IN","LOGGED_IN","e","deny","reject","redirectPath","redirectToLogin","BuyPointsGuard","_state","enableBuyPoints","UpgradeTravelClassGuard","enableUpgradeTravelClass","CampaignService","enrollToCampaign","campaignId","mni","CampaignEnrollComponent","toasterService","campaignService","navigateToFrontpageWithMessage","navigateToError","addMessageToQueue","contentKey","keepMessageAfterNavigation","theme","skipLocationChange","EMBEDDED","LoyaltyOverhaulGuard","plusRoutes","component","children","HeaderComponent","outlet","CmsFooterComponent","createRoute","ErrorComponent","PlusRouteModule","NavigationModule","RouterModule","forChild","PlusModule","localizationProvider","triggerLazyLocalizations","I18nKey","LOYALTY","UpgradeAvailabilityService","LoyaltyCoreModule","ErrorCode","TIMEOUT","SAMELOCATION","NOTFOUND","httpClient","officeId","upgradeAvailabilityUrl","HttpParams","formatDate","avail","list_flight","JSON","parse","stringify","localYear","pad","localMonth","localDay","_angular_core__WEBPACK_IMPORTED_MODULE_6__"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./node_modules/.pnpm/rxjs@7.8.2/node_modules/rxjs/src/internal/operators/shareReplay.ts","./src/modules/loyalty-profile/interfaces/payment-cards.interface.ts","./src/modules/loyalty-profile/interfaces/profile.interface.ts","./src/modules/loyalty-profile/services/profile.service.ts","./src/modules/loyalty-profile/services/two-factor-auth.service.ts","./src/modules/loyalty-profile/profile.module.ts","./src/modules/loyalty-core/store/selectors/index.ts","./src/modules/loyalty-core/components/loyalty-upcoming-trips/loyalty-upcoming-trips.component.html","./src/modules/loyalty-core/components/loyalty-upcoming-trips/loyalty-upcoming-trips.component.ts","./src/modules/loyalty-core/components/loyalty-add-trips/loyalty-add-trips.component.html","./src/modules/loyalty-core/components/loyalty-add-trips/loyalty-add-trips.component.ts","./src/modules/loyalty-core/components/loyalty-section-navigation/loyalty-section-navigation.component.html","./src/modules/loyalty-core/components/loyalty-section-navigation/loyalty-section-navigation.component.ts","./src/modules/loyalty-core/components/announcement-card/announcement-card.component.ts","./src/modules/loyalty-core/components/announcement-card/announcement-card.component.html","./src/modules/loyalty-core/utils/member.utils.ts","./src/modules/loyalty-core/components/plus-card/plus-card.component.html","./src/modules/loyalty-core/components/plus-card/plus-card.component.ts","./src/modules/loyalty-core/views/loyalty-view/loyalty-view.component.html","./src/modules/loyalty-core/views/loyalty-view/loyalty-view.component.ts","./src/modules/loyalty-core/views/loyalty-my-trips/loyalty-my-trips.component.html","./src/modules/loyalty-core/views/loyalty-my-trips/loyalty-my-trips.component.ts","./src/modules/loyalty-core/components/loyalty-global-notification/loyalty-global-notification.component.html","./src/modules/loyalty-core/components/loyalty-global-notification/loyalty-global-notification.component.ts","./src/modules/loyalty-core/views/loyalty-layout/loyalty-layout.component.html","./src/modules/loyalty-core/views/loyalty-layout/loyalty-layout.component.ts","./src/modules/loyalty-plus/interfaces/guardian-information.ts","./src/modules/loyalty-plus/interfaces/transaction.interface.ts","./src/modules/loyalty-plus/interfaces/voucher.interface.ts","./src/modules/loyalty-plus/services/transaction.service.ts","./src/modules/loyalty-plus/services/voucher.service.ts","./src/modules/loyalty-plus/components/points-balance/points-balance.component.html","./src/modules/loyalty-plus/components/points-balance/points-balance.component.ts","./src/modules/ui-components/components/progress-indicator/progress-indicator.component.html","./src/modules/ui-components/components/progress-indicator/progress-indicator.component.ts","./src/modules/loyalty-plus/components/tier-progress/tier-progress.component.html","./src/modules/loyalty-plus/components/tier-progress/tier-progress.component.ts","./src/modules/loyalty-plus/components/transaction-history/transaction-history.component.html","./src/modules/loyalty-plus/components/transaction-history/transaction-history.component.ts","./src/modules/loyalty-plus/components/expiring-voucher-notification/expiring-voucher-notification.component.html","./src/modules/loyalty-plus/components/expiring-voucher-notification/expiring-voucher-notification.component.ts","./src/modules/loyalty-plus/components/upgrade-benefits/upgrade-benefits.component.html","./src/modules/loyalty-plus/components/upgrade-benefits/upgrade-benefits.component.ts","./src/modules/loyalty-plus/components/milestone/milestone.component.ts","./src/modules/loyalty-plus/components/milestone/milestone.component.html","./src/modules/loyalty-plus/components/milestones/milestones.component.html","./src/modules/loyalty-plus/components/milestones/milestones.component.ts","./src/modules/loyalty-plus/components/tier-benefits/tier-benefits.component.html","./src/modules/loyalty-plus/components/tier-benefits/tier-benefits.component.ts","./src/modules/loyalty-plus/components/benefit-banner/benefit-banner.component.html","./src/modules/loyalty-plus/components/benefit-banner/benefit-banner.component.ts","./src/modules/loyalty-plus/components/promotion-segment/promotion-segment.component.html","./src/modules/loyalty-plus/components/promotion-segment/promotion-segment.component.ts","./src/modules/loyalty-plus/views/plus-dashboard/plus-dashboard.component.html","./src/modules/loyalty-plus/views/plus-dashboard/plus-dashboard.component.ts","./src/modules/loyalty-profile/components/direct-marketing-preferences-form/direct-marketing-preferences-form.component.html","./src/modules/loyalty-profile/components/direct-marketing-preferences-form/direct-marketing-preferences-form.component.ts","./src/modules/loyalty-profile/components/loyalty-mailing-address-form/loyalty-mailing-address-form.component.html","./src/modules/loyalty-profile/components/loyalty-mailing-address-form/loyalty-mailing-address-form.component.ts","./src/modules/loyalty-profile/components/loyalty-personal-information-form/loyalty-personal-information-form.component.html","./src/modules/loyalty-profile/components/loyalty-personal-information-form/loyalty-personal-information-form.component.ts","./src/modules/loyalty-plus/interfaces/avios-linking-and-exchange.interface.ts","./src/modules/loyalty-plus/services/avios-linking.service.ts","./src/modules/loyalty-profile/components/loyalty-two-factor-auth-toggle/loyalty-two-factor-auth-toggle.component.html","./src/modules/loyalty-profile/components/loyalty-two-factor-auth-toggle/loyalty-two-factor-auth-toggle.component.ts","./src/modules/loyalty-profile/components/loyalty-passport-information-form/loyalty-passport-information-form.component.html","./src/modules/loyalty-profile/components/loyalty-passport-information-form/loyalty-passport-information-form.component.ts","./src/modules/loyalty-profile/components/loyalty-payment-cards/loyalty-payment-cards.component.html","./src/modules/loyalty-profile/components/loyalty-payment-cards/loyalty-payment-cards.component.ts","./src/modules/loyalty-profile/components/loyalty-travel-profile-form/loyalty-travel-profile-form.component.html","./src/modules/loyalty-profile/components/loyalty-travel-profile-form/loyalty-travel-profile-form.component.ts","./src/modules/loyalty-plus/components/guardian-information-form/guardian-information-form.component.html","./src/modules/loyalty-plus/components/guardian-information-form/guardian-information-form.component.ts","./src/modules/loyalty-plus/views/plus-profile/plus-profile.component.html","./src/modules/loyalty-plus/views/plus-profile/plus-profile.component.ts","./src/modules/loyalty-plus/components/avios-linking-and-exchange/avios-linking-and-exchange.component.html","./src/modules/loyalty-plus/components/avios-linking-and-exchange/avios-linking-and-exchange.component.ts","./src/modules/loyalty-plus/views/balance-and-transactions/balance-and-transactions.component.html","./src/modules/loyalty-plus/views/balance-and-transactions/balance-and-transactions.component.ts","./src/modules/loyalty-plus/views/tier-progress-and-benefits/tier-progress-and-benefits.component.html","./src/modules/loyalty-plus/views/tier-progress-and-benefits/tier-progress-and-benefits.component.ts","./src/modules/loyalty-plus/constants.ts","./src/modules/loyalty-plus/views/buy-points/buy-points.component.html","./src/modules/loyalty-plus/views/buy-points/buy-points.component.ts","./src/modules/loyalty-plus/components/upgrade-availability/upgrade-availability.component.html","./src/modules/loyalty-plus/components/upgrade-availability/upgrade-availability.component.ts","./src/modules/loyalty-plus/views/upgrade-travel-class/upgrade-travel-class.component.html","./src/modules/loyalty-plus/views/upgrade-travel-class/upgrade-travel-class.component.ts","./src/modules/loyalty-plus/services/plus-user.guard.ts","./src/modules/loyalty-plus/services/buy-points.guard.ts","./src/modules/loyalty-plus/services/upgrade-travel-class.guard.ts","./src/modules/loyalty-plus/services/campaign.service.ts","./src/modules/loyalty-plus/views/campaign-enroll/campaign-enroll.component.ts","./src/modules/loyalty-plus/views/campaign-enroll/campaign-enroll.component.html","./src/modules/loyalty-plus/services/loyalty-overhaul.guard.ts","./src/modules/loyalty-plus/plus.routes.ts","./src/modules/loyalty-plus/plus.module.ts","./src/modules/loyalty-plus/services/upgrade-availability.service.ts"],"sourcesContent":["import { ReplaySubject } from '../ReplaySubject';\nimport { MonoTypeOperatorFunction, SchedulerLike } from '../types';\nimport { share } from './share';\n\nexport interface ShareReplayConfig {\n bufferSize?: number;\n windowTime?: number;\n refCount: boolean;\n scheduler?: SchedulerLike;\n}\n\nexport function shareReplay(config: ShareReplayConfig): MonoTypeOperatorFunction;\nexport function shareReplay(bufferSize?: number, windowTime?: number, scheduler?: SchedulerLike): MonoTypeOperatorFunction;\n\n/**\n * Share source and replay specified number of emissions on subscription.\n *\n * This operator is a specialization of `replay` that connects to a source observable\n * and multicasts through a `ReplaySubject` constructed with the specified arguments.\n * A successfully completed source will stay cached in the `shareReplay`ed observable forever,\n * but an errored source can be retried.\n *\n * ## Why use `shareReplay`?\n *\n * You generally want to use `shareReplay` when you have side-effects or taxing computations\n * that you do not wish to be executed amongst multiple subscribers.\n * It may also be valuable in situations where you know you will have late subscribers to\n * a stream that need access to previously emitted values.\n * This ability to replay values on subscription is what differentiates {@link share} and `shareReplay`.\n *\n * ## Reference counting\n *\n * By default `shareReplay` will use `refCount` of false, meaning that it will _not_ unsubscribe the\n * source when the reference counter drops to zero, i.e. the inner `ReplaySubject` will _not_ be unsubscribed\n * (and potentially run for ever).\n * This is the default as it is expected that `shareReplay` is often used to keep around expensive to setup\n * observables which we want to keep running instead of having to do the expensive setup again.\n *\n * As of RXJS version 6.4.0 a new overload signature was added to allow for manual control over what\n * happens when the operators internal reference counter drops to zero.\n * If `refCount` is true, the source will be unsubscribed from once the reference count drops to zero, i.e.\n * the inner `ReplaySubject` will be unsubscribed. All new subscribers will receive value emissions from a\n * new `ReplaySubject` which in turn will cause a new subscription to the source observable.\n *\n * ## Examples\n *\n * Example with a third subscriber coming late to the party\n *\n * ```ts\n * import { interval, take, shareReplay } from 'rxjs';\n *\n * const shared$ = interval(2000).pipe(\n * take(6),\n * shareReplay(3)\n * );\n *\n * shared$.subscribe(x => console.log('sub A: ', x));\n * shared$.subscribe(y => console.log('sub B: ', y));\n *\n * setTimeout(() => {\n * shared$.subscribe(y => console.log('sub C: ', y));\n * }, 11000);\n *\n * // Logs:\n * // (after ~2000 ms)\n * // sub A: 0\n * // sub B: 0\n * // (after ~4000 ms)\n * // sub A: 1\n * // sub B: 1\n * // (after ~6000 ms)\n * // sub A: 2\n * // sub B: 2\n * // (after ~8000 ms)\n * // sub A: 3\n * // sub B: 3\n * // (after ~10000 ms)\n * // sub A: 4\n * // sub B: 4\n * // (after ~11000 ms, sub C gets the last 3 values)\n * // sub C: 2\n * // sub C: 3\n * // sub C: 4\n * // (after ~12000 ms)\n * // sub A: 5\n * // sub B: 5\n * // sub C: 5\n * ```\n *\n * Example for `refCount` usage\n *\n * ```ts\n * import { Observable, tap, interval, shareReplay, take } from 'rxjs';\n *\n * const log = (name: string, source: Observable) => source.pipe(\n * tap({\n * subscribe: () => console.log(`${ name }: subscribed`),\n * next: value => console.log(`${ name }: ${ value }`),\n * complete: () => console.log(`${ name }: completed`),\n * finalize: () => console.log(`${ name }: unsubscribed`)\n * })\n * );\n *\n * const obs$ = log('source', interval(1000));\n *\n * const shared$ = log('shared', obs$.pipe(\n * shareReplay({ bufferSize: 1, refCount: true }),\n * take(2)\n * ));\n *\n * shared$.subscribe(x => console.log('sub A: ', x));\n * shared$.subscribe(y => console.log('sub B: ', y));\n *\n * // PRINTS:\n * // shared: subscribed <-- reference count = 1\n * // source: subscribed\n * // shared: subscribed <-- reference count = 2\n * // source: 0\n * // shared: 0\n * // sub A: 0\n * // shared: 0\n * // sub B: 0\n * // source: 1\n * // shared: 1\n * // sub A: 1\n * // shared: completed <-- take(2) completes the subscription for sub A\n * // shared: unsubscribed <-- reference count = 1\n * // shared: 1\n * // sub B: 1\n * // shared: completed <-- take(2) completes the subscription for sub B\n * // shared: unsubscribed <-- reference count = 0\n * // source: unsubscribed <-- replaySubject unsubscribes from source observable because the reference count dropped to 0 and refCount is true\n *\n * // In case of refCount being false, the unsubscribe is never called on the source and the source would keep on emitting, even if no subscribers\n * // are listening.\n * // source: 2\n * // source: 3\n * // source: 4\n * // ...\n * ```\n *\n * @see {@link publish}\n * @see {@link share}\n * @see {@link publishReplay}\n *\n * @param configOrBufferSize Maximum element count of the replay buffer or {@link ShareReplayConfig configuration}\n * object.\n * @param windowTime Maximum time length of the replay buffer in milliseconds.\n * @param scheduler Scheduler where connected observers within the selector function\n * will be invoked on.\n * @return A function that returns an Observable sequence that contains the\n * elements of a sequence produced by multicasting the source sequence within a\n * selector function.\n */\nexport function shareReplay(\n configOrBufferSize?: ShareReplayConfig | number,\n windowTime?: number,\n scheduler?: SchedulerLike\n): MonoTypeOperatorFunction {\n let bufferSize: number;\n let refCount = false;\n if (configOrBufferSize && typeof configOrBufferSize === 'object') {\n ({ bufferSize = Infinity, windowTime = Infinity, refCount = false, scheduler } = configOrBufferSize);\n } else {\n bufferSize = (configOrBufferSize ?? Infinity) as number;\n }\n return share({\n connector: () => new ReplaySubject(bufferSize, windowTime, scheduler),\n resetOnError: true,\n resetOnComplete: false,\n resetOnRefCountZero: refCount,\n });\n}\n","import { PaymentsIcon } from '@finnairoyj/fcom-ui-styles/enums';\n\nexport enum PaymentCards {\n AX = 'amex',\n VI = 'visa',\n DC = 'dinersclub',\n CA = 'mastercard',\n TP = 'uatp',\n JC = 'jcb',\n}\n\nexport interface PaymentCardData {\n token: string;\n expiry: string;\n vendor: string;\n cardType: string;\n corporate?: boolean;\n cardHolder: string;\n billingAddress: string;\n postCode: string;\n city: string;\n country: string;\n name: string;\n logo: {\n alt: string;\n href: string;\n };\n expiryDate?: string;\n lastDigits?: string;\n svgName?: PaymentsIcon;\n}\n\nexport interface PaymentCardsResponse {\n tokens: PaymentCardData[];\n}\n","import { LoginAddressType, ProfileTier } from '@fcom/core-api/login';\n\nexport interface MailingAddressData {\n city: string;\n companyName?: string;\n country: string;\n postalCode: string;\n primary: boolean;\n stateOrProvince: string;\n buildingNameOrPrefecture: string;\n streetAddress: string;\n type: LoginAddressType;\n}\n\nexport interface MailingAddressSubmissionData {\n countryCode: string;\n addresses: MailingAddressData[];\n}\n\nexport enum PersonalInformationFormFields {\n DATE_OF_BIRTH = 'dateOfBirth',\n EMAIL = 'email',\n COUNTRY_CODE = 'countryCode',\n NATIONAL_NUMBER = 'nationalNumber',\n MOBILE_PHONE = 'mobilePhone',\n GENDER = 'gender',\n}\n\nexport interface TravelProfileSubmissionData {\n householdSize?: number;\n childrenBirthYears?: string[];\n topicsOfInterest?: string[];\n travelProfile: {\n seatPreference?: string;\n mealPreference?: string;\n };\n}\n\nexport enum TravelProfileFormField {\n HOUSEHOLD_SIZE = 'householdSize',\n CHILDREN_BIRTH_YEARS = 'childrenBirthYears',\n TOPICS_OF_INTEREST = 'topicsOfInterest',\n SEAT_PREF = 'seatPreference',\n MEAL_PREF = 'mealPreference',\n}\n\nexport enum SeatPreferenceOption {\n NO_PREFERENCE = 'Remove',\n AISLE = 'Aisle',\n WINDOW = 'Window',\n}\n\nexport enum MealPreferenceOption {\n NO_PREFERENCE = 'Remove',\n BLML = 'BLML',\n DBML = 'DBML',\n GFML = 'GFML',\n LCML = 'LCML',\n LFML = 'LFML',\n LSML = 'LSML',\n NLML = 'NLML',\n HNML = 'HNML',\n AVML = 'AVML',\n KSML = 'KSML',\n MOML = 'MOML',\n CHML = 'CHML',\n FPML = 'FPML',\n VGML = 'VGML',\n VLML = 'VLML',\n VJML = 'VJML',\n SPML = 'SPML',\n}\n\nexport enum TopicOfInterest {\n FOD = 'FOD',\n SPE = 'SPE',\n MUE = 'MUE',\n BEF = 'BEF',\n HOD = 'HOD',\n BUL = 'BUL',\n HEW = 'HEW',\n HOT = 'HOT',\n CAR = 'CAR',\n CIH = 'CIH',\n BEH = 'BEH',\n SPH = 'SPH',\n ACH = 'ACH',\n TOH = 'TOH',\n CRU = 'CRU',\n ENR = 'ENR',\n}\n\nexport enum MailingAddressFormField {\n BUILDING_NAME_OR_PREFECTURE = 'buildingNameOrPrefecture',\n CITY = 'city',\n COMPANY_NAME = 'companyName',\n COUNTRY = 'country',\n POSTAL_CODE = 'postalCode',\n PRIMARY = 'primary',\n STATE_OR_PROVINCE = 'stateOrProvince',\n STREET_ADDRESS = 'streetAddress',\n ADDRESS_TYPE = 'addressType',\n}\n\nexport enum MarketingPreferencesFormField {\n PREFERRED_LANGUAGE = 'preferredLanguage',\n RECEIVE_ALL_EMAILS = 'receiveAllEmails',\n RECEIVE_PARTNER_PROMOTIONS = 'receivePartnerPromotions',\n RECEIVE_SMS_PROMOS = 'receiveSmsPromos',\n RECEIVE_MAIL_WEEKLY_OFFERS = 'receiveMailWeeklyOffers',\n}\n\nexport enum PassportInformationFormFields {\n NUMBER = 'passportNumber',\n EXPIRY_DATE = 'passportExpirationDate',\n ISSUE_DATE = 'passportIssueDate',\n COUNTRY = 'passportCountry',\n}\n\nexport interface MarketingLanguageSubmissionData {\n marketingLanguage: string;\n}\n\nexport interface PersonalInformationSubmissionData {\n email: string;\n phoneNumber: string;\n gender: string;\n dateOfBirth?: string;\n}\nexport interface PassportInformationSubmissionData {\n travelProfile: {\n passportInformation: {\n passportNumber: string;\n passportIssueDate: string;\n passportExpirationDate: string;\n passportCountry: string;\n };\n };\n}\n\nexport interface GuardianInformationSubmissionData {\n guardianName: string;\n guardianPhoneNumber: string;\n guardianEmail: string;\n guardianMemberNumber: string;\n}\n\nexport interface UpdateProfileResponseData {\n status: {\n message: string;\n };\n}\n\nexport interface UpdateToPlusSubmissionData {\n memberTier: ProfileTier.BASIC;\n}\n\nexport type UpdateProfileSubmissionData =\n | MailingAddressSubmissionData\n | MarketingLanguageSubmissionData\n | PersonalInformationSubmissionData\n | PassportInformationSubmissionData\n | GuardianInformationSubmissionData\n | TravelProfileSubmissionData\n | UpdateToPlusSubmissionData;\n","import { Injectable } from '@angular/core';\nimport { HttpHeaders, HttpClient, HttpResponse } from '@angular/common/http';\n\nimport { Store } from '@ngrx/store';\nimport { throwError, combineLatest, Observable } from 'rxjs';\nimport { map, catchError, take, filter, switchMap, shareReplay } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { AppState, ConfigService } from '@fcom/core';\nimport { LoginActions } from '@fcom/core/actions';\nimport { SentryLogger } from '@fcom/core/services/sentry/sentry.logger';\nimport { loginToken, profile } from '@fcom/core/selectors';\nimport {\n Profile,\n LoginGender,\n CasLoginResponse,\n LoginResponse,\n ProfileRequestType,\n ProfileRequestCache,\n ParsedPhone,\n} from '@fcom/core-api/login';\nimport { parseProfile } from '@fcom/common/login/services';\nimport { getCountryOptions } from '@fcom/service-forms/services/utils';\nimport { SIEBEL_SUPPORTED_COUNTRY_CODES } from '@fcom/loyalty-core/interfaces';\nimport { isPresent } from '@fcom/core/utils';\nimport { SelectOption } from '@fcom/common';\n\nimport {\n UpdateProfileResponseData,\n UpdateProfileSubmissionData,\n MailingAddressSubmissionData,\n MarketingLanguageSubmissionData,\n PersonalInformationSubmissionData,\n PassportInformationSubmissionData,\n GuardianInformationSubmissionData,\n PaymentCards,\n PaymentCardsResponse,\n PaymentCardData,\n TravelProfileSubmissionData,\n} from '../interfaces';\n\nconst isSuccessResponse = (o: any): o is LoginResponse => !!o && o.profile && o.profile.partStatus;\n\n@Injectable()\nexport class ProfileService {\n supportedLanguages = ['CH', 'EN', 'FI', 'FR', 'DE', 'IT', 'JA', 'KO', 'RU', 'ES', 'SV'];\n private accessToken$: Observable;\n private memberNumber$: Observable;\n private profile$: Observable;\n private fullProfile$: Observable;\n\n constructor(\n private http: HttpClient,\n private sentryLogger: SentryLogger,\n private store$: Store,\n private configService: ConfigService,\n private languageService: LanguageService\n ) {\n this.profile$ = this.store$.pipe(profile(), take(1));\n this.memberNumber$ = this.profile$.pipe(map((memberProfile: Profile) => memberProfile.memberNumber));\n this.accessToken$ = this.store$.pipe(loginToken(), filter(Boolean), take(1)) as Observable;\n // eslint-disable-next-line rxjs/no-sharereplay\n this.fullProfile$ = this.fetchProfile().pipe(shareReplay(1));\n }\n\n updatePersonalInformation(\n formValues: PersonalInformationSubmissionData,\n parsedMobilePhone: ParsedPhone\n ): Observable {\n return combineLatest([this.profile$, this.memberServiceRequest(formValues)]).pipe(\n map(([memberProfile, response]) => {\n const newProfile = {\n ...memberProfile,\n dateOfBirth: formValues.dateOfBirth,\n email: formValues.email,\n mobilePhone: formValues.phoneNumber,\n gender:\n formValues.gender === LoginGender.MALE\n ? LoginGender.MALE\n : formValues.gender === LoginGender.FEMALE\n ? LoginGender.FEMALE\n : undefined,\n };\n\n if (isPresent(parsedMobilePhone)) {\n newProfile.parsedMobilePhone = parsedMobilePhone;\n }\n\n this.store$.dispatch(LoginActions.setProfile({ profile: newProfile }));\n return response;\n })\n );\n }\n\n updateMailingAddress(formValues: MailingAddressSubmissionData): Observable {\n return combineLatest([this.profile$, this.memberServiceRequest(formValues)]).pipe(\n map(([memberProfile, response]) => {\n const newProfile = {\n ...memberProfile,\n addresses: [formValues.addresses[0]],\n };\n this.store$.dispatch(LoginActions.setProfile({ profile: newProfile }));\n return response;\n })\n );\n }\n\n updateMarketingLanguage(formValues: MarketingLanguageSubmissionData): Observable {\n return this.memberServiceRequest(formValues);\n }\n\n updatePassportInformation(formValues: PassportInformationSubmissionData): Observable {\n return combineLatest([this.profile$, this.memberServiceRequest(formValues)]).pipe(\n map(([memberProfile, response]) => {\n const newProfile = {\n ...memberProfile,\n passport: formValues.travelProfile.passportInformation,\n };\n this.store$.dispatch(LoginActions.setProfile({ profile: newProfile }));\n return response;\n })\n );\n }\n\n updateGuardianInformation(formValues: GuardianInformationSubmissionData): Observable {\n return this.profile$.pipe(\n map((memberProfile) => {\n if (!memberProfile.isJuniorMember) {\n throw new Error('Tried to update guardian information on non-Junior profile');\n }\n return memberProfile;\n }),\n switchMap((memberProfile: Profile) =>\n this.memberServiceRequest(formValues).pipe(\n map((response) => {\n const newProfile = {\n ...memberProfile,\n guardianName: formValues.guardianName,\n guardianPhoneNumber: formValues.guardianPhoneNumber,\n guardianEmail: formValues.guardianEmail,\n guardianMemberNumber: formValues.guardianMemberNumber,\n };\n this.store$.dispatch(LoginActions.setProfile({ profile: newProfile }));\n return response;\n })\n )\n )\n );\n }\n\n updateTravelProfile(formValues: TravelProfileSubmissionData): Observable {\n return combineLatest([this.profile$, this.memberServiceRequest(formValues)]).pipe(\n map(([memberProfile, response]) => {\n const newProfile = {\n ...memberProfile,\n householdSize: formValues.householdSize,\n childrenBirthYears: formValues.childrenBirthYears,\n topicsOfInterest: formValues.topicsOfInterest,\n preferredSeatType: formValues.travelProfile.seatPreference,\n preferredMealType: formValues.travelProfile.mealPreference,\n };\n this.store$.dispatch(LoginActions.setProfile({ profile: newProfile }));\n return response;\n })\n );\n }\n\n getProfile(): Observable {\n return this.store$.pipe(profile(), filter(Boolean), take(1)) as Observable;\n }\n\n getFullProfile(cache = true): Observable {\n if (!cache) {\n // eslint-disable-next-line rxjs/no-sharereplay\n this.fullProfile$ = this.fetchProfile().pipe(shareReplay(1));\n }\n return this.fullProfile$;\n }\n\n getCountryOptions(defaultOption?: SelectOption): Observable {\n return getCountryOptions(this.languageService, defaultOption).pipe(\n map((options) => options.filter((option) => SIEBEL_SUPPORTED_COUNTRY_CODES.includes(option.value.toLowerCase())))\n );\n }\n\n getCountryRegionOptions(countryCode: string): Observable {\n return this.languageService.translate(`COUNTRY_REGIONS.${countryCode}`).pipe(\n map((regions) =>\n regions\n ? Object.keys(regions).map(\n (region) =>\n ({\n value: region.toUpperCase(),\n name: regions[region],\n }) as SelectOption\n )\n : []\n )\n );\n }\n\n getLanguageOptions(): Observable {\n return this.languageService.translate('SERVICE_FORMS.serviceForms.fields.language').pipe(\n map((languages) =>\n this.supportedLanguages.map(\n (lang) =>\n ({\n value: lang.toUpperCase(),\n name: languages[lang],\n }) as SelectOption\n )\n )\n );\n }\n\n getParsedPaymentCards(): Observable {\n return this.getPaymentCards().pipe(\n map((result: PaymentCardsResponse) =>\n result.tokens.map((card: PaymentCardData) => {\n return {\n ...card,\n svgName: PaymentCards[card.vendor],\n lastDigits: card.token.slice(-4),\n expiryDate: `${card.expiry.substr(0, 2)}/${card.expiry.substr(2)}`,\n };\n })\n )\n );\n }\n\n getPaymentCards(): Observable {\n const apiUrl = `${this.configService.cfg.oneClickPaymentUrl}/tokens`;\n const keyId = this.configService.cfg.oneClickPaymentApiKey;\n const accessToken$ = this.accessToken$;\n const memberNumber$ = this.memberNumber$;\n\n return combineLatest([accessToken$, memberNumber$]).pipe(\n switchMap(([token, memberNumber]) => {\n /* eslint-disable camelcase */\n const httpOptions = {\n headers: new HttpHeaders({\n KeyId: keyId,\n oauth_token: token,\n AYUID: memberNumber,\n }),\n };\n /* eslint-enable camelcase */\n\n return this.http.get(apiUrl, httpOptions).pipe(\n map((response) => {\n if (response.tokens) {\n return response;\n }\n throw new Error('Error when requesting payment cards');\n }),\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((err) => {\n this.sentryLogger.warn(err.message, { error: err });\n return throwError(() => err);\n })\n );\n })\n );\n }\n\n deletePaymentCard(cardToken: string): Observable> {\n const apiUrl = `${this.configService.cfg.oneClickPaymentUrl}/delete`;\n const keyId = this.configService.cfg.oneClickPaymentApiKey;\n const accessToken$ = this.accessToken$;\n const memberNumber$ = this.memberNumber$;\n\n return combineLatest([accessToken$, memberNumber$]).pipe(\n switchMap(([accessToken, memberNumber]) => {\n /* eslint-disable camelcase */\n const headers = new HttpHeaders({\n KeyId: keyId,\n oauth_token: accessToken,\n AYUID: memberNumber,\n });\n /* eslint-enable camelcase */\n\n const data = {\n token: cardToken,\n };\n\n return this.http.post(apiUrl, data, { headers, observe: 'response' }).pipe(\n map((response) => {\n if (response.ok) {\n return response;\n }\n throw new Error('Error when deleting payment card');\n }),\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((err) => {\n this.sentryLogger.warn(err.message, { error: err });\n return throwError(() => err);\n })\n );\n })\n );\n }\n\n fetchProfile(): Observable {\n return this.http\n .post(\n this.configService.cfg.loyaltyServices.legacy.apiProfileUrl,\n {\n profileRequest: {\n type: ProfileRequestType.FULL,\n cache: ProfileRequestCache.REFRESH,\n },\n },\n {\n headers: new HttpHeaders({\n Accept: 'application/json',\n }),\n }\n )\n .pipe(\n map((response: CasLoginResponse) => {\n if (isSuccessResponse(response)) {\n const parsedProfile = parseProfile(response.profile);\n this.store$.dispatch(LoginActions.setProfile({ profile: parsedProfile }));\n return parsedProfile;\n } else {\n throw new Error('Fetching profile failed');\n }\n }),\n // eslint-disable-next-line rxjs/no-sharereplay\n shareReplay(1),\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((err) => {\n this.sentryLogger.warn(err.message, { error: err });\n return throwError(() => err);\n })\n );\n }\n\n private memberServiceRequest(data: UpdateProfileSubmissionData): Observable {\n const apiUrl = this.configService.cfg.loyaltyServices.legacy.loyaltyMemberUrl;\n const accessToken$ = this.accessToken$;\n\n return accessToken$.pipe(\n switchMap((token) => {\n const httpOptions = {\n headers: new HttpHeaders({\n oauth_token: token,\n }),\n };\n\n return this.http.put(apiUrl, data, httpOptions).pipe(\n map((response) => {\n if (response.status.message === 'OK') {\n return response;\n }\n throw new Error('Error submitting update profile request');\n }),\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((err) => {\n this.sentryLogger.warn(err.message, { error: err });\n return throwError(() => err);\n })\n );\n })\n );\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpHeaders, HttpClient } from '@angular/common/http';\n\nimport { Store } from '@ngrx/store';\nimport { BehaviorSubject, combineLatest, Observable, of, throwError } from 'rxjs';\nimport { map, take, filter, switchMap, catchError, tap, distinctUntilChanged, startWith } from 'rxjs/operators';\n\nimport { AppState, ConfigService, SentryLogger } from '@fcom/core';\nimport { Profile } from '@fcom/core-api/login';\nimport { profile, loginToken } from '@fcom/core/selectors';\nimport { finShare } from '@fcom/rx';\n\nexport enum TwoFactorAuthStatus {\n LOADING = 'loading',\n DISABLED = 'disabled',\n ENABLED = 'enabled',\n}\n\nexport interface EnableGAuthValidatedResponse {\n secretKey: string;\n}\n\nexport interface GetGAuthStatusResponse {\n secretKey?: string;\n validationCode: number;\n scratchCodes?: number[];\n smsAuthenticator: boolean;\n validated?: boolean;\n}\n\nexport interface ValidateGAuthResponse {\n valid: boolean;\n}\n\nexport enum TwoFactorAuthType {\n SMS = 'sms',\n APP = 'app',\n}\n\nconst STATUS_PATH = 'getgauth';\nconst ENABLE_SMS_PATH = 'enablesmsauth';\nconst ENABLE_VALIDATED_PATH = 'enablegauthvalidated';\nconst VALIDATE_PATH = 'validategauth';\nconst DISABLE_PATH = 'disablegauth';\n\n@Injectable()\nexport class TwoFactorAuthService {\n private updateStatus$ = new BehaviorSubject<'loading' | 'refresh'>('refresh');\n private memberNumber$: Observable;\n\n status$: Observable = this.updateStatus$.pipe(\n distinctUntilChanged(),\n switchMap((updateStatus) => {\n if (updateStatus === 'loading') {\n return of(TwoFactorAuthStatus.LOADING);\n }\n\n return this.getStatus().pipe(\n map((status) => {\n if (status.smsAuthenticator || (status.secretKey && status.validated !== false)) {\n return TwoFactorAuthStatus.ENABLED;\n } else {\n return TwoFactorAuthStatus.DISABLED;\n }\n })\n );\n }),\n startWith(TwoFactorAuthStatus.LOADING),\n finShare()\n );\n\n constructor(\n private http: HttpClient,\n private configService: ConfigService,\n private store$: Store,\n private sentryLogger: SentryLogger\n ) {\n this.memberNumber$ = this.store$.pipe(\n profile(),\n take(1),\n map((memberProfile: Profile) => memberProfile.memberNumber)\n );\n }\n\n getStatus(): Observable {\n return this.gAuthRequest(STATUS_PATH);\n }\n\n enableSMSAuth(): Observable {\n this.updateStatus$.next('loading');\n return this.gAuthRequest(ENABLE_SMS_PATH).pipe(tap(() => this.updateStatus$.next('refresh')));\n }\n\n enableGAuthValidated(): Observable {\n return this.gAuthRequest(ENABLE_VALIDATED_PATH);\n }\n\n disableGAuth(): Observable {\n this.updateStatus$.next('loading');\n return this.gAuthRequest(DISABLE_PATH).pipe(tap(() => this.updateStatus$.next('refresh')));\n }\n\n getQRCodeImageUrl(secretKey: string): Observable {\n return this.memberNumber$.pipe(\n map(\n (memberNumber) =>\n `https://${this.configService.cfg.casHost}/cas/gauth/qrgen?key=otpauth://totp/www.finnair.com${\n this.configService.cfg.casEnv === 'preprod' ? '(preprod)' : ''\n }:${memberNumber}?secret=${secretKey}&issuer=Finnair`\n )\n );\n }\n\n validateGAuth(securityCode: string): Observable {\n this.updateStatus$.next('loading');\n return this.gAuthRequest(`${VALIDATE_PATH}/${securityCode}`).pipe(\n tap(() => this.updateStatus$.next('refresh'))\n );\n }\n\n private gAuthRequest(path: string): Observable {\n const loginToken$ = this.store$.pipe(\n loginToken(),\n filter((t) => !!t),\n take(1)\n );\n return combineLatest([loginToken$, this.memberNumber$]).pipe(\n switchMap(([token, memberNumber]) => {\n const httpOptions = {\n headers: new HttpHeaders({\n oauth_token: token,\n 'x-api-key': this.configService.cfg.loyaltyServices.memberService.gauthApiKey,\n }),\n };\n return this.http.get(\n `${this.configService.cfg.loyaltyServices.memberService.gauthUrl}/${path}/${memberNumber}?_=${Date.now()}`,\n httpOptions\n );\n }),\n catchError((err: unknown) => {\n this.sentryLogger.warn('Error submitting GAuth request', { error: err });\n return throwError(() => err);\n })\n );\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { UiTranslateModule } from '@fcom/ui-translate';\nimport { UiComponentsModule } from '@fcom/ui-components';\nimport { ComponentsModule } from '@fcom/common/components/components.module';\nimport { DirectiveModule } from '@fcom/common/directives';\nimport { GtmModule } from '@fcom/common/gtm/gtm.module';\nimport { PipesModule } from '@fcom/common/pipes/pipes.module';\nimport { ServiceFormsModule } from '@fcom/service-forms';\nimport { CommonServiceFormsModule } from '@fcom/service-forms/components/common/common-service-forms.module';\n\nimport { ProfileService } from './services/profile.service';\nimport { TwoFactorAuthService } from './services/two-factor-auth.service';\nimport { LoyaltyMailingAddressFormComponent } from './components/loyalty-mailing-address-form/loyalty-mailing-address-form.component';\nimport { LoyaltyPersonalInfoFormComponent } from './components/loyalty-personal-information-form/loyalty-personal-information-form.component';\nimport { LoyaltyTwoFactorAuthToggleComponent } from './components/loyalty-two-factor-auth-toggle/loyalty-two-factor-auth-toggle.component';\nimport { LoyaltyPassportFormComponent } from './components/loyalty-passport-information-form/loyalty-passport-information-form.component';\nimport { LoyaltyPaymentCardsComponent } from './components/loyalty-payment-cards/loyalty-payment-cards.component';\nimport { LoyaltyTravelProfileFormComponent } from './components/loyalty-travel-profile-form/loyalty-travel-profile-form.component';\nimport { DirectMarketingPreferencesFormComponent } from './components/direct-marketing-preferences-form/direct-marketing-preferences-form.component';\nimport { CmsModule } from '../cms';\n\n@NgModule({\n imports: [\n CommonModule,\n ComponentsModule,\n DirectiveModule,\n GtmModule,\n PipesModule,\n CommonServiceFormsModule,\n ServiceFormsModule,\n ReactiveFormsModule.withConfig({\n callSetDisabledState: 'whenDisabledForLegacyCode',\n }),\n UiTranslateModule,\n UiComponentsModule,\n CmsModule,\n ],\n declarations: [\n DirectMarketingPreferencesFormComponent,\n LoyaltyMailingAddressFormComponent,\n LoyaltyPersonalInfoFormComponent,\n LoyaltyTwoFactorAuthToggleComponent,\n LoyaltyPassportFormComponent,\n LoyaltyPaymentCardsComponent,\n LoyaltyTravelProfileFormComponent,\n ],\n exports: [\n DirectMarketingPreferencesFormComponent,\n LoyaltyMailingAddressFormComponent,\n LoyaltyPersonalInfoFormComponent,\n LoyaltyTwoFactorAuthToggleComponent,\n LoyaltyPassportFormComponent,\n LoyaltyPaymentCardsComponent,\n LoyaltyTravelProfileFormComponent,\n ],\n providers: [ProfileService, TwoFactorAuthService],\n})\nexport class ProfileModule {}\n","import { createFeatureSelector, createSelector } from '@ngrx/store';\nimport { pipe } from 'rxjs';\nimport { distinctUntilChanged } from 'rxjs/operators';\n\nimport { safeSelect, StateSelector } from '@fcom/core/selectors/selector-utils';\n\nimport { LoyaltyState, MilestoneState, State } from '../../interfaces/store.interface';\nimport { LOYALTY_FEATURE_KEY } from '../../constants';\n\nexport const selectLoyaltyState = createFeatureSelector(LOYALTY_FEATURE_KEY);\n\nexport const selectTripsState = createSelector(selectLoyaltyState, (state: LoyaltyState) => state.trips);\nexport const selectMilestonesState = createSelector(selectLoyaltyState, (state: LoyaltyState) => state.milestones);\nexport const dismissedWithPointsSelector = createSelector(\n selectMilestonesState,\n (milestones: MilestoneState) => milestones.dismissedWithPoints\n);\n\nexport const dismissedWithPoints = (): StateSelector =>\n pipe(safeSelect(dismissedWithPointsSelector), distinctUntilChanged());\n","

{{ 'myTrips.table.intro' | finLocalization }}

\n
\n

{{ 'myTrips.table.loading' | finLocalization }}

\n \n
\n\n \n {{ 'myTrips.table.error' | finLocalization }}\n \n 0\">\n \n \n \n \n {{ 'myTrips.table.bookingRef' | finLocalization }}\n \n \n \n \n \n \n \n \n \n \n
\n {{ 'myTrips.table.tripDetails' | finLocalization }}\n
\n
\n {{ trip.scheduledDateTime | finDateFormat: 'DATE' }}\n \n {{ trip.departure }} - {{ trip.arrival }}\n \n \n \n {{ 'myTrips.table.passenger' | finPluralLocalization: trip.passengerAmount : 'amount' }}\n \n \n
\n
\n \n \n {{ trip.bookingRef }}\n \n {{\n 'myTrips.table.viewTrip' | finLocalization\n }}\n \n \n \n
\n
visibleRows\" class=\"ms-large-t ms-xxlarge-b flex flex--middle flex--end\">\n \n \n
\n
\n

\n {{ 'myTrips.table.noTrips' | finLocalization }}\n

\n
\n","import { Component, OnInit, ElementRef, OnDestroy } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Store, select } from '@ngrx/store';\nimport { Observable, interval, combineLatest, Subject } from 'rxjs';\nimport { map, take, tap, first, takeUntil, distinctUntilChanged } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport {\n ButtonTheme,\n ButtonType,\n NotificationTheme,\n NotificationLayout,\n LoaderTheme,\n IconPosition,\n} from '@fcom/ui-components';\nimport { RootPaths } from '@fcom/core';\nimport { sortBy, compareAsJson, serializeParams } from '@fcom/core/utils';\nimport { Profile } from '@fcom/core-api/login';\nimport { profile } from '@fcom/core/selectors';\n\nimport { TripsActions } from '../../store/actions';\nimport { State, TripsState, FetchTripsStatus } from '../../interfaces/store.interface';\nimport { selectTripsState } from '../../store/selectors';\nimport { Trip, OutboundJourney } from '../../interfaces/pax-trip.interface';\n\nenum Status {\n INITIAL,\n LOADING,\n COMPLETE,\n EMPTY,\n ERROR,\n}\n\n@Component({\n selector: 'fin-loyalty-upcoming-trips',\n templateUrl: './loyalty-upcoming-trips.component.html',\n styleUrls: ['./loyalty-upcoming-trips.component.scss'],\n})\nexport class LoyaltyUpcomingTripsComponent implements OnInit, OnDestroy {\n readonly ButtonTheme = ButtonTheme;\n readonly ButtonType = ButtonType;\n readonly IconPosition = IconPosition;\n readonly LoaderTheme = LoaderTheme;\n readonly NotificationLayout = NotificationLayout;\n readonly NotificationTheme = NotificationTheme;\n readonly Status = Status;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n trips$: Observable;\n visibleRows = 15;\n lastVisibleIndex: number;\n status: Status;\n tripState$: Observable;\n\n private profile$: Observable;\n private memberNumber$: Observable;\n private ngDestroyed$ = new Subject();\n\n constructor(\n private store$: Store,\n private languageService: LanguageService,\n private element: ElementRef\n ) {\n this.profile$ = this.store$.pipe(profile(), first());\n this.memberNumber$ = this.profile$.pipe(map((memberProfile: Profile) => memberProfile.memberNumber));\n this.tripState$ = this.store$.pipe(select(selectTripsState));\n }\n\n ngOnInit(): void {\n this.lastVisibleIndex = this.visibleRows - 1;\n this.store$.dispatch(TripsActions.fetchTrips());\n this.trips$ = this.getTrips();\n this.status = Status.INITIAL;\n }\n\n ngOnDestroy(): void {\n this.ngDestroyed$.next(true);\n }\n\n onRevealRows(): void {\n this.lastVisibleIndex = this.lastVisibleIndex + this.visibleRows;\n this.revealRows();\n }\n\n private getTrips(): Observable {\n this.status = Status.LOADING;\n return combineLatest([this.tripState$, this.memberNumber$]).pipe(\n map(([tripState]) => {\n if (tripState.status === FetchTripsStatus.ERROR) {\n this.status = Status.ERROR;\n } else if (tripState.status === FetchTripsStatus.OK) {\n this.status = Status.COMPLETE;\n return sortBy(this.parseOutboundJourneys(tripState.trips), (trip) => trip.scheduledDateTimeUnix) || [];\n }\n return [];\n }),\n tap((trips: OutboundJourney[]) => {\n if (this.status === Status.COMPLETE && trips.length > 0) {\n this.revealRows();\n } else if (this.status !== Status.ERROR && this.status !== Status.LOADING) {\n this.status = Status.EMPTY;\n }\n }),\n distinctUntilChanged((a: OutboundJourney[], b: OutboundJourney[]): boolean => this.checkTripDistinction(a, b))\n );\n }\n\n private parseOutboundJourneys(trips: Trip[]): OutboundJourney[] {\n return trips.map((trip: Trip): OutboundJourney => {\n const outboundJourney = trip.journeys[0];\n return {\n departure: outboundJourney.departure.municipality,\n arrival: outboundJourney.arrival.municipality,\n scheduledDateTime: outboundJourney.departure.scheduledDateTime,\n scheduledDateTimeUnix: new Date(outboundJourney.departure.scheduledDateTime).getTime(),\n passengerAmount: outboundJourney.passengerAmount,\n bookingRef: trip.recLoc,\n mmbLink: this.generateMmbLink(trip.lastName, trip.recLoc),\n };\n });\n }\n\n private generateMmbLink(lastName: string, bookingRef: string): string {\n const bookingData = {\n lastName: lastName,\n recLoc: bookingRef,\n };\n\n return `/${this.languageService.langValue}/${RootPaths.MANAGE_BOOKING_ROOT}?${serializeParams(bookingData)}`;\n }\n\n private revealRows(): void {\n setTimeout(() => {\n const rowElements = this.element.nativeElement.querySelectorAll('.fade-up:not(.fade-up--animate)');\n interval(150)\n .pipe(\n take(rowElements.length),\n map((index) => rowElements[index]),\n takeUntil(this.ngDestroyed$)\n )\n .subscribe((value) => {\n value.classList.add('fade-up--animate');\n });\n }, 0);\n }\n\n private checkTripDistinction(a: OutboundJourney[], b: OutboundJourney[]): boolean {\n return compareAsJson(\n a.map((trip: OutboundJourney) => trip.bookingRef).sort(),\n b.map((trip: OutboundJourney) => trip.bookingRef).sort()\n );\n }\n}\n","
\n

\n {{ 'myTrips.addTrips.title' | finLocalization }}\n

\n

{{ 'myTrips.addTrips.description' | finLocalization }}

\n
\n
\n
\n \n \n
\n \n
\n
\n
\n \n
\n
\n
\n \n {{ messageLabel | finLocalization }}\n \n
\n","import { Component, OnInit, OnDestroy } from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, Subject } from 'rxjs';\nimport { map, takeUntil, switchMap } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { ButtonType, LoaderTheme, NotificationTheme } from '@fcom/ui-components';\nimport { FormStatus } from '@fcom/service-forms/interfaces';\nimport { pnrFormatValidator } from '@fcom/service-forms/services/form-validators';\n\nimport { PaxTripService } from '../../services';\nimport { AddFrequentFlyerResponse, AddFrequentFlyerError } from '../../interfaces/pax-trip.interface';\n\n@Component({\n selector: 'fin-loyalty-add-trips',\n templateUrl: './loyalty-add-trips.component.html',\n styleUrls: ['../../assets/styles/common.scss'],\n})\nexport class LoyaltyAddTripsComponent implements OnInit, OnDestroy {\n readonly FormStatus = FormStatus;\n readonly ButtonType = ButtonType;\n readonly NotificationTheme = NotificationTheme;\n readonly LoaderTheme = LoaderTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n hideError = true;\n validationMessages$: Observable<{ [key: string]: string }>;\n formStatus: FormStatus = FormStatus.INITIAL;\n form: UntypedFormGroup;\n messageLabel: string;\n\n private ngDestroyed$ = new Subject();\n\n constructor(\n private formBuilder: UntypedFormBuilder,\n private languageService: LanguageService,\n private paxTripService: PaxTripService\n ) {\n this.validationMessages$ = this.languageService\n .translate('SERVICE_FORMS.serviceForms.fields.reservationNumber')\n .pipe(\n map(({ pattern, required }) => ({\n pattern,\n required,\n }))\n );\n }\n\n ngOnInit() {\n this.form = this.formBuilder.group({\n bookingReference: ['', [pnrFormatValidator(), Validators.required]],\n });\n }\n\n ngOnDestroy() {\n this.ngDestroyed$.next(true);\n }\n\n onSubmit() {\n if (this.form.valid) {\n this.formStatus = FormStatus.LOADING;\n this.paxTripService\n .addTrip(this.form.controls.bookingReference.value)\n .pipe(\n switchMap((response: AddFrequentFlyerResponse) =>\n this.paxTripService.verifyAddedTrip(this.form.controls.bookingReference.value).pipe(\n map((tripAdded: boolean) => {\n if (!tripAdded) {\n throw new Error('Added trip not found on the bookings list');\n }\n return tripAdded && response;\n })\n )\n ),\n takeUntil(this.ngDestroyed$)\n )\n .subscribe({\n next: () => {\n this.formStatus = FormStatus.COMPLETE;\n this.messageLabel = 'myTrips.addTrips.successMessage';\n },\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n error: (response: AddFrequentFlyerResponse) => {\n this.formStatus = FormStatus.ERROR;\n let messageLabel = 'myTrips.addTrips.errorMessage';\n\n if (response?.error?.status) {\n if (\n response.error.status.message === AddFrequentFlyerError.BOOKING_NOT_FOUND ||\n response.error.status.message === AddFrequentFlyerError.PASSENGER_NOT_FOUND\n ) {\n messageLabel = 'myTrips.addTrips.notFoundMessage';\n } else if (response.error.status.message === AddFrequentFlyerError.GROUP_BOOKING) {\n messageLabel = 'myTrips.addTrips.groupBookingMessage';\n }\n }\n\n this.messageLabel = messageLabel;\n },\n });\n }\n }\n}\n","\n \n \n
\n
\n
\n {{ activeMenuItemTitle$ | async }}\n
\n
\n \n
\n
\n \n
\n \n\n\n\n
  • \n \n {{ item.teaserTitle }}\n \n \n
  • \n
    \n","import { Component, Input, OnInit, ViewChild } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable } from 'rxjs';\n\nimport { ProfileType } from '@fcom/core-api/login';\nimport { ExpandComponent, MenuItemWithChildren } from '@fcom/common';\n\nimport { LoyaltyNavigationService } from '../../services/loyalty-navigation.service';\n\n@Component({\n selector: 'fin-loyalty-section-navigation',\n templateUrl: 'loyalty-section-navigation.component.html',\n styleUrls: ['loyalty-section-navigation.component.scss'],\n})\nexport class LoyaltySectionNavigationComponent implements OnInit {\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input()\n mobile = false;\n\n @Input()\n profileType: ProfileType = ProfileType.FPLUS;\n\n @ViewChild('expandNav', { static: false })\n expandNav: ExpandComponent;\n\n activeMenuItemTitle$: Observable;\n menuItems$: Observable;\n\n constructor(private loyaltyNavigationService: LoyaltyNavigationService) {}\n\n ngOnInit(): void {\n if (this.profileType !== ProfileType.CORPORATE && this.profileType !== ProfileType.FINNAIR_ACCOUNT) {\n this.menuItems$ = this.loyaltyNavigationService.getMenuItemsForProfileType(this.profileType);\n }\n this.activeMenuItemTitle$ = this.loyaltyNavigationService.getActiveMenuItemTitle(this.menuItems$);\n }\n\n toggleDetails(external: boolean): void {\n if (!external && this.expandNav) {\n this.expandNav.toggleDetails();\n }\n }\n}\n","import { Component, OnInit } from '@angular/core';\n\nimport { filter, map } from 'rxjs/operators';\nimport { NEVER, Observable } from 'rxjs';\n\nimport { CmsArticle, CmsTarget } from '@fcom/core-api';\nimport { isPresent } from '@fcom/core/utils';\nimport { PromoTheme } from '@fcom/ui-components';\nimport { FragmentService } from '@fcom/common';\n\n@Component({\n selector: 'fin-announcement-card',\n templateUrl: './announcement-card.component.html',\n styleUrls: ['./announcement-card.component.scss'],\n})\nexport class AnnouncementCardComponent implements OnInit {\n readonly PromoTheme = PromoTheme;\n\n promoCta$: Observable = NEVER;\n promoData$: Observable = NEVER;\n\n constructor(private fragmentService: FragmentService) {}\n\n ngOnInit(): void {\n this.promoData$ = this.fragmentService.getFragment('LOYALTY.fragments.announcementCard.url');\n this.promoCta$ = this.promoData$.pipe(\n map((data) => data?.related[0]),\n filter(isPresent),\n map(\n (item) =>\n ({\n ...item.target,\n title: item.teaserTitle,\n }) as CmsTarget\n )\n );\n }\n}\n","
    \n \n
    \n","export const formatMemberNumber = (memberNumber?: string): string => {\n if (!memberNumber) {\n return '';\n } else if (memberNumber.length !== 9 || /^\\d+$/.test(memberNumber) === false) {\n return memberNumber;\n }\n\n return memberNumber.replace(/\\B(?=(\\d{3})+(?!\\d))/g, ' ');\n};\n","\n
    \n
    \n \n \n
    \n {{ plusCardData.cardTierFullName }}\n
    \n {{\n plusCardData.memberNumberFormatted\n }}\n
    \n
    \n {{ plusCardData.firstName + ' ' + plusCardData.lastName }}\n
    \n
    \n\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n\n \n
    \n \n {{ 'plus.dashboard.expires' | finLocalization }}\n {{ plusCardData.cardExpirationDate | finDateFormat: 'DATE' }}\n \n
    \n","import {\n Component,\n ElementRef,\n Inject,\n OnDestroy,\n OnInit,\n PLATFORM_ID,\n ViewChild,\n ChangeDetectionStrategy,\n Input,\n} from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\n\nimport { IconLibrary } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Store } from '@ngrx/store';\nimport { BehaviorSubject, Observable } from 'rxjs';\nimport { map, switchMap, withLatestFrom } from 'rxjs/operators';\n\nimport { AppState } from '@fcom/core';\nimport { CmsDataService } from '@fcom/core/services';\nimport { profile } from '@fcom/core/selectors';\nimport { CmsPicture, CmsTaxonomyPicture } from '@fcom/core-api';\nimport { ProfileTier } from '@fcom/core-api/login';\nimport { TIER_DATA_MAP, LoyaltyTierService, MemberTierDetails, type TierDataMap } from '@fcom/common';\nimport { AspectRatios } from '@fcom/ui-components';\nimport { finShare } from '@fcom/rx';\nimport { LanguageService } from '@fcom/ui-translate';\n\nimport { formatMemberNumber } from '../../utils/member.utils';\n\nexport type PlusCardData = Pick<\n MemberTierDetails,\n 'cardTier' | 'cardLifetimeTierFlag' | 'cardTierFullName' | 'isStartingTier' | 'cardExpirationDate'\n> & {\n memberNumberFormatted: string;\n firstName: string;\n lastName: string;\n};\n\n@Component({\n selector: 'fcom-plus-card',\n templateUrl: 'plus-card.component.html',\n styleUrls: ['./plus-card.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class PlusCardComponent implements OnInit, OnDestroy {\n readonly AspectRatios = AspectRatios;\n readonly IconLibrary = IconLibrary;\n readonly ProfileTier = ProfileTier;\n\n readonly BASE_WIDTH = 327;\n readonly BASE_FONT_SIZE = 16;\n readonly TIER_DATA_MAP: TierDataMap = TIER_DATA_MAP;\n\n aviosLogo$: Observable;\n oneworldLogo$: Observable;\n plusCardData$: Observable;\n\n resizeObserver: ResizeObserver;\n fontSize$ = new BehaviorSubject(this.BASE_FONT_SIZE);\n\n @ViewChild('plusCard') plusCardElementRef: ElementRef;\n\n @Input()\n showCardExpirationDateIfApplicable = true;\n\n constructor(\n private store$: Store,\n private host: ElementRef,\n private loyaltyTierService: LoyaltyTierService,\n private cmsDataService: CmsDataService,\n @Inject(PLATFORM_ID) private platform: object,\n private languageService: LanguageService\n ) {}\n\n ngOnInit(): void {\n const profile$ = this.store$.pipe(profile(), finShare());\n const logos$: Observable<{ [key: string]: CmsPicture }> = profile$.pipe(\n switchMap((memberProfile) => {\n const aviosLogoName =\n memberProfile.cardTier === ProfileTier.BASIC || memberProfile.cardTier === ProfileTier.JUNIOR\n ? CmsTaxonomyPicture.FINNAIR_AVIOS_KEYLINE_NAVY\n : CmsTaxonomyPicture.FINNAIR_AVIOS_KEYLINE_WHITE;\n const taxonomyTags = [aviosLogoName, TIER_DATA_MAP[memberProfile.tier]?.oneworldLogo].filter(Boolean);\n\n return this.cmsDataService\n .getPicturesByTaxonomyTags(taxonomyTags, this.languageService.langValue, this.languageService.localeValue)\n .pipe(\n map((p) => {\n return { ...p, aviosLogoName: p[aviosLogoName] };\n })\n );\n }),\n finShare()\n );\n this.aviosLogo$ = logos$.pipe(map((logos) => logos?.aviosLogoName));\n this.oneworldLogo$ = logos$.pipe(\n withLatestFrom(profile$),\n map(([logos, memberProfile]) => logos[TIER_DATA_MAP[memberProfile.tier]?.oneworldLogo])\n );\n\n this.plusCardData$ = this.loyaltyTierService.getMemberTierDetails().pipe(\n withLatestFrom(profile$),\n map(\n ([\n { cardTier, cardTierFullName, isStartingTier, cardLifetimeTierFlag, cardExpirationDate },\n { memberNumber, firstname, lastname },\n ]) => ({\n cardTier,\n cardTierFullName,\n isStartingTier,\n cardLifetimeTierFlag,\n cardExpirationDate,\n memberNumberFormatted: formatMemberNumber(memberNumber),\n firstName: firstname,\n lastName: lastname,\n })\n )\n );\n\n if (isPlatformBrowser(this.platform)) {\n this.resizeObserver = new ResizeObserver((entries) => {\n this.fontSize$.next((this.BASE_FONT_SIZE * entries[0].contentRect.width) / this.BASE_WIDTH);\n });\n\n this.resizeObserver.observe(this.host.nativeElement);\n }\n }\n\n ngOnDestroy(): void {\n this.resizeObserver && this.resizeObserver.disconnect();\n }\n}\n","\n \n
    \n \n
    \n {{ pageTitle }}\n
    \n
    \n
    \n
    \n \n\n \n\n \n\n \n
    \n
    \n \n
    \n
    \n
    \n \n
    \n \n
    \n","import { Component, Input } from '@angular/core';\n\nimport { ProfileType } from '@fcom/core-api/login';\n\n@Component({\n selector: 'fin-loyalty-view',\n templateUrl: './loyalty-view.component.html',\n styleUrls: ['./loyalty-view.component.scss'],\n})\nexport class LoyaltyViewComponent {\n @Input()\n pageTitle: string;\n\n @Input()\n profileType = ProfileType.FPLUS;\n\n @Input()\n showPlusCard = false;\n\n @Input()\n showAnnouncementCard = false;\n}\n","\n \n
    \n \n
    \n
    \n \n
    \n\n
    \n \n \n
    \n
    \n
    \n","import { Component, OnInit, AfterViewInit, OnDestroy } from '@angular/core';\n\nimport { Observable, Subscription } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { PageMetaService } from '@fcom/common';\nimport { ConfigService } from '@fcom/core';\nimport { CmsTemplateService } from '@fcom/cms/services';\nimport { CmsTemplate } from '@fcom/core-api';\nimport { unsubscribe } from '@fcom/core/utils';\n\nimport { LoyaltyRoutesPath } from '../../interfaces/loyalty.interface';\nimport { setPageMetadata } from '../../utils';\n\n@Component({\n selector: 'fin-loyalty-my-trips',\n templateUrl: './loyalty-my-trips.component.html',\n})\nexport class LoyaltyMyTripsComponent implements OnInit, OnDestroy, AfterViewInit {\n template$: Observable;\n pageTitle$: Observable;\n subscriptions: Subscription = new Subscription();\n enableShowingSAF: boolean;\n\n constructor(\n private languageService: LanguageService,\n private cmsTemplateService: CmsTemplateService,\n private pageMetaService: PageMetaService,\n private configService: ConfigService\n ) {}\n\n ngOnInit(): void {\n this.enableShowingSAF = this.configService.cfg.enableShowingSAF;\n\n this.template$ = this.cmsTemplateService.load(\n `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.MY_TRIPS}`\n );\n this.pageTitle$ = this.template$.pipe(map((template: CmsTemplate) => template?.header?.[0]?.title ?? ''));\n }\n\n ngAfterViewInit(): void {\n this.subscriptions.add(\n this.template$.subscribe((template: CmsTemplate) => setPageMetadata(template, this.pageMetaService))\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n}\n","\n \n \n \n {{ notificationData.message }}\n \n \n \n\n","import { Component, OnInit } from '@angular/core';\n\nimport { Store } from '@ngrx/store';\nimport { BehaviorSubject, combineLatest, Observable, Subject } from 'rxjs';\nimport { take, pluck, map, takeUntil } from 'rxjs/operators';\n\nimport { NotificationLayout } from '@fcom/ui-components';\nimport { StorageService, AppState } from '@fcom/core';\nimport { ProfileTier, ProfileType } from '@fcom/core-api/login';\nimport { profile, profileType } from '@fcom/core/selectors';\nimport { LocalizationPipe } from '@fcom/ui-translate/pipes/localization.pipe';\n\nexport const LOYALTY_GLOBAL_NOTIFICATION_STORAGE_KEY = 'loyalty-global-notification-closed';\n\n@Component({\n selector: 'fin-loyalty-global-notification',\n templateUrl: './loyalty-global-notification.component.html',\n})\nexport class LoyaltyGlobalNotificationComponent implements OnInit {\n private destroy$ = new Subject();\n\n readonly NotificationLayout = NotificationLayout;\n readonly ProfileTier = ProfileTier;\n readonly ProfileType = ProfileType;\n\n showNotification$ = new BehaviorSubject(false);\n profileTier$: Observable;\n profileType$: Observable;\n notificationData$: Observable<{ hidden: boolean; message?: string }>;\n\n constructor(\n private store$: Store,\n private storageService: StorageService,\n private finLocalization: LocalizationPipe\n ) {\n this.profileTier$ = this.store$.pipe(profile(), pluck('tier'), takeUntil(this.destroy$));\n this.profileType$ = this.store$.pipe(profileType(), take(1));\n\n this.notificationData$ = combineLatest([this.profileTier$, this.showNotification$]).pipe(\n map(([tier, showNotification]) => {\n let isInitiallyHidden = 'true';\n let message = '';\n\n switch (tier) {\n case ProfileTier.BASIC:\n case ProfileTier.JUNIOR:\n isInitiallyHidden = this.finLocalization.transform('LOYALTY.notification.global.generalTier.hidden');\n message = this.finLocalization.transform('LOYALTY.notification.global.generalTier.message');\n break;\n case ProfileTier.SILVER:\n isInitiallyHidden = this.finLocalization.transform('LOYALTY.notification.global.silverTier.hidden');\n message = this.finLocalization.transform('LOYALTY.notification.global.silverTier.message');\n break;\n case ProfileTier.GOLD:\n isInitiallyHidden = this.finLocalization.transform('LOYALTY.notification.global.goldTier.hidden');\n message = this.finLocalization.transform('LOYALTY.notification.global.goldTier.message');\n break;\n case ProfileTier.PLATINUM:\n isInitiallyHidden = this.finLocalization.transform('LOYALTY.notification.global.platinumTier.hidden');\n message = this.finLocalization.transform('LOYALTY.notification.global.platinumTier.message');\n break;\n case ProfileTier.LUMO:\n isInitiallyHidden = this.finLocalization.transform('LOYALTY.notification.global.platinumLumoTier.hidden');\n message = this.finLocalization.transform('LOYALTY.notification.global.platinumLumoTier.message');\n break;\n }\n\n return { hidden: !showNotification || isInitiallyHidden !== 'false' || !message, message };\n }),\n takeUntil(this.destroy$)\n );\n }\n\n ngOnInit() {\n this.showNotification$.next(\n (this.storageService.LOCAL.get(LOYALTY_GLOBAL_NOTIFICATION_STORAGE_KEY) || 'false') === 'false'\n );\n }\n\n onCloseNotification() {\n this.storageService.LOCAL.set(LOYALTY_GLOBAL_NOTIFICATION_STORAGE_KEY, true);\n this.showNotification$.next(false);\n }\n\n onDestroy() {\n this.destroy$.next(true);\n this.destroy$.complete();\n }\n}\n","\n\n\n\n\n
    \n \n\n @if (enablePageFeedback) {\n \n }\n
    \n\n
    \n \n
    \n","import { Component, Inject, OnDestroy, OnInit, PLATFORM_ID } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\nimport { NavigationEnd, Router } from '@angular/router';\n\nimport { Observable, ReplaySubject, Subscription } from 'rxjs';\nimport { filter, map, startWith, switchMap } from 'rxjs/operators';\n\nimport { NavigationMenuService, ScrollService } from '@fcom/common/services';\nimport { isNotEmpty, sanitizeWhiteListedPath, unsubscribe } from '@fcom/core/utils';\nimport { CmsTemplateService } from '@fcom/cms/services';\nimport { BreadcrumbService } from '@fcom/common/services/breadcrumb/breadcrumb.service';\nimport { isNavigationEvent } from '@fcom/common/utils';\nimport { CmsTemplate } from '@fcom/core-api';\nimport { ConfigService } from '@fcom/core';\nimport { finShare } from '@fcom/rx';\n\nimport { LoyaltyRoutesPath } from '../../interfaces/loyalty.interface';\n\nconst NO_CMS_CONTENT_PATHS = [\n `${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.ERROR}`,\n `${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.CAMPAIGN_ENROLL}`,\n];\n\n@Component({\n selector: 'fin-loyalty-layout',\n templateUrl: './loyalty-layout.component.html',\n})\nexport class LoyaltyLayoutComponent implements OnInit, OnDestroy {\n subscriptions: Subscription = new Subscription();\n isFooterOpen$: Observable;\n path$: ReplaySubject = new ReplaySubject(1);\n enablePageFeedback = false;\n\n constructor(\n private navigationMenuService: NavigationMenuService,\n private router: Router,\n private scrollService: ScrollService,\n private cmsTemplateService: CmsTemplateService,\n private breadcrumbService: BreadcrumbService,\n private configService: ConfigService,\n @Inject(PLATFORM_ID) private platform: object\n ) {\n this.subscriptions.add(\n this.router.events\n .pipe(\n filter(isNavigationEvent),\n filter(() => isPlatformBrowser(this.platform)),\n map((event: NavigationEnd) => event.url.replace(/\\(.*\\)/, '')),\n startWith(this.router.routerState.snapshot.url),\n finShare()\n )\n .subscribe((url) => {\n this.scrollService.scrollTop();\n this.path$.next(sanitizeWhiteListedPath(url, this.configService.cfg));\n })\n );\n this.isFooterOpen$ = this.navigationMenuService.isFooterOpen$;\n }\n\n ngOnInit(): void {\n this.subscriptions.add(\n this.path$\n .pipe(\n filter((path) => !NO_CMS_CONTENT_PATHS.some((noCmsPath) => path.endsWith(noCmsPath))),\n switchMap((path) => this.cmsTemplateService.load(path)),\n map((a: CmsTemplate) => a?.header?.[0]?.navigationPathList),\n filter(isNotEmpty)\n )\n .subscribe((pathList) => this.breadcrumbService.setBreadcrumbNormal(pathList))\n );\n\n if (this.configService.cfg.enableQualtricsPageFeedback) {\n this.enablePageFeedback = true;\n }\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n}\n","export enum GuardianInformationFormField {\n GUARDIAN_NAME = 'guardianName',\n GUARDIAN_PHONE_NUMBER = 'guardianPhoneNumber',\n GUARDIAN_EMAIL = 'guardianEmail',\n GUARDIAN_MEMBER_NUMBER = 'guardianMemberNumber',\n GUARDIAN_CONSENT = 'guardianConsent',\n}\n","export interface TransactionsRequest {\n transactionsRequest: {\n continuationToken?: string;\n };\n}\n\nexport interface TransactionsResponse {\n transactions: {\n partStatus: {\n code: TransactionsResponsePartStatusCode;\n versionTimestamp: string;\n continuationToken?: string;\n };\n transactions: Transaction[];\n };\n}\n\nexport enum TransactionsResponsePartStatusCode {\n SUCCESS = 'SUCCESS',\n RETRY_LATER = 'RETRY_LATER',\n OTHER_ERROR = 'OTHER_ERROR',\n}\n\nexport enum TransactionStatus {\n PROCESSED = 'Processed',\n CANCELLED = 'Cancelled',\n VERIFIED = 'Verified',\n MANUALLY_CANCELLED = 'Manually Cancelled',\n PARTNER_APPROVED = 'Partner Approved',\n PARTNER_PENDING = 'Partner Pending',\n PARTNER_VERIFIED = 'Partner Verified',\n PARTNER_REJECT = 'Partner Rejected',\n}\n\nexport interface Transaction {\n awardPoints: string;\n date: string;\n description: string;\n destinationAirport?: string;\n id: string;\n originationAirport?: string;\n flight?: string;\n partnerId: string;\n partnerName: string;\n partnerType?: string;\n productType: TransactionProductType;\n status: TransactionStatus;\n tierPoints: string;\n transactionId: string;\n transactionSubType: string;\n cancelledTxnId?: string;\n ayBookingDate?: string;\n fareFamily?: string;\n productName: string;\n travelClass?: string;\n ticketNumber?: string;\n bookingClass?: string;\n animationOrder?: number;\n isAviosTransaction?: boolean;\n}\n\nexport enum TransactionProductType {\n AIRLINE_AWARD = 'Airline Award',\n AIRLINE_FLIGHT = 'Airline Flight',\n POINTS_AND_CASH = 'Points + Cash',\n HOTEL_AWARD = 'Hotel Award',\n ELECTRONIC_VOUCHER = 'Electronic Voucher',\n TOUR_OPERATOR = 'Tour Operator',\n OTHER_AWARD = 'Other Award',\n MERCHANDISE = 'Merchandise',\n GOODWILL = 'Goodwill',\n SERVICES = 'Services',\n}\n","export interface Voucher {\n amount: number;\n description: string;\n expirationDate: string;\n memberNumber: string;\n productName: VoucherProductName;\n qty: string;\n status: VoucherStatus;\n transactionId: string;\n type: VoucherType;\n voucherCode: VoucherCode;\n voucherExpiredDate: string;\n voucherExpiredMonth: string;\n voucherExpiredYear: string;\n voucherIssuedDate: string;\n voucherIssuedMonth: string;\n voucherIssuedYear: string;\n voucherNumber: string;\n voucherNumbers: string[];\n}\n\nexport enum VoucherType {\n LONG_HAUL = 'Long Haul',\n}\n\nexport enum VoucherProductName {\n LONG_HAUL_UPGRADE = 'Long Haul Upgrade',\n UPGRADE_BENEFIT = 'Upgrade Benefit',\n EUROPE_UPGRADE = 'Europe Upgrade',\n GOLD_CARD_GIFT = 'Gold Card Gift',\n AY_LOUNGE_PASS = 'AY Lounge Pass',\n MILESTONE_200K = 'Milestone 200K',\n}\n\nexport enum VoucherStatus {\n AVAILABLE = 'Available',\n}\n\nexport enum VoucherCode {\n ELECTRONIC_VOUCHER = 'Electronic Voucher',\n}\n\nexport interface VouchersResponse {\n vouchers: {\n partStatus: {\n code: string;\n versionTimestamp: string;\n };\n vouchers: Voucher[];\n };\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\n\nimport { Store } from '@ngrx/store';\nimport { BehaviorSubject, Observable, of, throwError, timer } from 'rxjs';\nimport { catchError, filter, map, mergeMap, retryWhen, switchMap, take } from 'rxjs/operators';\n\nimport { AppState, ConfigService, SentryLogger } from '@fcom/core';\nimport { loginToken } from '@fcom/core/selectors';\n\nimport {\n Transaction,\n TransactionsRequest,\n TransactionsResponse,\n TransactionsResponsePartStatusCode,\n} from '../interfaces';\n\nexport enum Status {\n INITIAL,\n LOADING,\n COMPLETE,\n EMPTY,\n ERROR,\n ALL_LOADED,\n}\n\n@Injectable()\nexport class TransactionService {\n private accessToken$: Observable;\n private continuationToken: string;\n\n status$: BehaviorSubject = new BehaviorSubject(Status.INITIAL);\n transactionsStore: Transaction[] = [];\n\n constructor(\n private http: HttpClient,\n private sentryLogger: SentryLogger,\n private store$: Store,\n private configService: ConfigService\n ) {\n this.accessToken$ = this.store$.pipe(loginToken(), filter(Boolean), take(1)) as Observable;\n }\n\n getTransactions(): Observable {\n const apiUrl = this.configService.cfg.loyaltyServices.legacy.apiProfileUrl;\n const xApiKey = this.configService.cfg.loyaltyServices.legacy.apiProfileApiKey;\n\n const MAX_ATTEMPTS = 50;\n const BACKOFF_MS = 2000;\n\n if (this.continuationToken === 'END') {\n const status = this.transactionsStore.length ? Status.ALL_LOADED : Status.EMPTY;\n this.status$.next(status);\n return of([]);\n }\n\n this.status$.next(Status.LOADING);\n return this.accessToken$.pipe(\n switchMap((token) => {\n const httpOptions = {\n headers: new HttpHeaders({\n 'x-api-key': xApiKey,\n oauth_token: token,\n }),\n };\n\n const payload: TransactionsRequest = {\n transactionsRequest: {\n ...(this.continuationToken && { continuationToken: this.continuationToken }),\n },\n };\n\n return this.http.post(apiUrl, payload, httpOptions).pipe(\n map((response) => this.handleResponse(response)),\n retryWhen((attempts) =>\n attempts.pipe(\n mergeMap((error, i) => {\n if (i >= MAX_ATTEMPTS || error.message !== 'retry later') {\n return throwError(() => new Error('Error when requesting transactions'));\n }\n return timer(BACKOFF_MS);\n })\n )\n ),\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((err) => {\n this.sentryLogger.warn(err.message, { error: err });\n return throwError(() => err);\n })\n );\n })\n );\n }\n\n private handleResponse(response: TransactionsResponse): Transaction[] {\n if (response.transactions.partStatus.code === TransactionsResponsePartStatusCode.SUCCESS) {\n this.continuationToken = response.transactions.partStatus.continuationToken;\n if (this.continuationToken === 'END') {\n const status =\n this.transactionsStore.length || response.transactions.transactions.length ? Status.ALL_LOADED : Status.EMPTY;\n this.status$.next(status);\n } else {\n this.status$.next(Status.COMPLETE);\n }\n return response.transactions.transactions;\n } else if (response.transactions.partStatus.code === TransactionsResponsePartStatusCode.RETRY_LATER) {\n throw new Error('retry later');\n } else if (response.transactions.partStatus.code === TransactionsResponsePartStatusCode.OTHER_ERROR) {\n this.status$.next(Status.ERROR);\n }\n throw new Error('Error when requesting transactions');\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpHeaders, HttpClient } from '@angular/common/http';\n\nimport { Store } from '@ngrx/store';\nimport { BehaviorSubject, Observable, of, throwError } from 'rxjs';\nimport { switchMap, filter, take, map, catchError } from 'rxjs/operators';\n\nimport { SentryLogger, AppState, ConfigService } from '@fcom/core';\nimport { loginToken } from '@fcom/core/selectors';\nimport { before, TimeUnit, add } from '@fcom/core/utils';\n\nimport { VouchersResponse, Voucher, VoucherProductName } from '../interfaces';\n\nexport enum UpgradeBenefitsState {\n LOADING = 'loading',\n COMPLETED = 'completed',\n ERROR = 'error',\n}\n\n@Injectable()\nexport class VoucherService {\n private accessToken$: Observable;\n private vouchers: Voucher[];\n status$: BehaviorSubject = new BehaviorSubject(\n UpgradeBenefitsState.LOADING\n );\n\n constructor(\n private http: HttpClient,\n private sentryLogger: SentryLogger,\n private store$: Store,\n private configService: ConfigService\n ) {\n this.accessToken$ = this.store$.pipe(loginToken(), filter(Boolean), take(1)) as Observable;\n }\n\n getVouchers(): Observable {\n if (this.vouchers) {\n return of(this.vouchers);\n }\n\n const apiUrl = this.configService.cfg.loyaltyServices.legacy.apiProfileUrl;\n const xApiKey = this.configService.cfg.loyaltyServices.legacy.apiProfileApiKey;\n\n this.status$.next(UpgradeBenefitsState.LOADING);\n return this.accessToken$.pipe(\n switchMap((token) => {\n const httpOptions = {\n headers: new HttpHeaders({\n 'x-api-key': xApiKey,\n oauth_token: token,\n }),\n };\n\n return this.http.post(apiUrl, { vouchersRequest: {} }, httpOptions).pipe(\n map((response) => {\n if (response.vouchers.partStatus.code === 'SUCCESS') {\n this.status$.next(UpgradeBenefitsState.COMPLETED);\n this.vouchers = response.vouchers.vouchers;\n return response.vouchers.vouchers;\n }\n throw new Error('Error when requesting vouchers');\n }),\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((err) => {\n this.status$.next(UpgradeBenefitsState.ERROR);\n this.sentryLogger.warn(err.message, { error: err });\n return throwError(() => err);\n })\n );\n })\n );\n }\n\n expiringTravelClassUpgradeVouchers(vouchers: Voucher[]): Voucher[] {\n return vouchers.filter(isUpgradeVoucher).filter(isExpiringVoucher).sort(sortByExpirationDate);\n }\n}\n\nconst isUpgradeVoucher = (voucher: Voucher) =>\n voucher.productName === VoucherProductName.EUROPE_UPGRADE ||\n voucher.productName === VoucherProductName.LONG_HAUL_UPGRADE;\n\nconst VOUCHER_EXPIRY_MONTHS = 1;\n\nconst isExpiringVoucher = (voucher: Voucher) =>\n before(new Date(voucher.expirationDate), add(new Date(), VOUCHER_EXPIRY_MONTHS, TimeUnit.month), TimeUnit.day);\n\nconst sortByExpirationDate = (voucherA: Voucher, voucherB: Voucher) =>\n voucherA.expirationDate > voucherB.expirationDate ? -1 : voucherB.expirationDate > voucherA.expirationDate ? 1 : 0;\n","
    \n
    \n
    \n {{ 'plus.pointsBalance.availableAwardPoints' | finLocalization }}\n \n
    \n
    \n \n {{ profile.awardPoints | finPoints }}\n
    \n

    \n {{\n (profile.tier === ProfileTier.JUNIOR\n ? 'LOYALTY.pointsBalance.juniorBenefits'\n : (hideZeroPtsTiersMsg | async)\n ? 'LOYALTY.pointsBalance.noPointsMainText'\n : show\n ? 'LOYALTY.pointsBalance.usingToExtend'\n : 'LOYALTY.pointsBalance.usingPoints'\n ) | finLocalization\n }}\n

    \n
    \n
    \n
    \n \n
    \n\n \n \n\n
    \n {{\n ((hideZeroPtsTiersMsg | async)\n ? 'LOYALTY.pointsBalance.noPointsFooterText'\n : show\n ? 'LOYALTY.pointsBalance.expire'\n : 'LOYALTY.pointsBalance.noExpire'\n )\n | finLocalization\n : {\n date: expirationDate$ | async | finDateFormat: 'DATE',\n tier: TIER_DATA_MAP[profile.tier]?.tierName ?? '',\n }\n }}\n
    \n
    \n
    \n\n","import { Component, EventEmitter, OnInit, Output } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Store } from '@ngrx/store';\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { LocalDate } from '@fcom/core/utils';\nimport { AppState } from '@fcom/core';\nimport { profile } from '@fcom/core/selectors';\nimport { Profile, ProfileTier } from '@fcom/core-api/login';\nimport { ProfileService } from '@fcom/loyalty-profile/services/profile.service';\nimport { ButtonSize, ButtonTheme, TagTheme } from '@fcom/ui-components';\nimport { TIER_DATA_MAP } from '@fcom/common';\n\n@Component({\n selector: 'fin-points-balance',\n templateUrl: 'points-balance.component.html',\n})\nexport class PointsBalanceComponent implements OnInit {\n readonly ButtonSize = ButtonSize;\n readonly ButtonTheme = ButtonTheme;\n readonly ProfileTier = ProfileTier;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n readonly TagTheme = TagTheme;\n readonly TIER_DATA_MAP = TIER_DATA_MAP;\n\n @Output()\n ctaClicked: EventEmitter = new EventEmitter();\n\n profile$: Observable;\n showPointExpiry$: Observable;\n expirationDate$: Observable;\n hideZeroPtsTiersMsg: Observable;\n\n // Award points don't expire on Junior, Platinum, and Lumo tiers including Platinum Lifetime (in which case tier is always Platinum or Lumo)\n NON_EXPIRING = [ProfileTier.JUNIOR, ProfileTier.PLATINUM, ProfileTier.LUMO];\n NON_POINTS_HIDE_MESSAGE = [ProfileTier.BASIC, ProfileTier.SILVER, ProfileTier.GOLD];\n\n constructor(\n private store$: Store,\n private profileService: ProfileService\n ) {}\n\n ngOnInit(): void {\n this.profile$ = this.store$.pipe(profile());\n this.showPointExpiry$ = this.profile$.pipe(map(({ tier }) => !this.NON_EXPIRING.includes(tier)));\n\n this.hideZeroPtsTiersMsg = this.profile$.pipe(\n map(({ tier, awardPoints }) => this.NON_POINTS_HIDE_MESSAGE.includes(tier) && awardPoints === 0)\n );\n\n this.expirationDate$ = this.profileService\n .getFullProfile()\n .pipe(\n map(({ expirationDate }) => (expirationDate ? new LocalDate(expirationDate) : LocalDate.now().plusMonths(18)))\n );\n }\n}\n","\n {{ progressText }}\n {{ targetText }}\n\n\n \n\n
    \n \n
    \n","import { Component, Input, OnChanges, OnInit } from '@angular/core';\nimport { animate, state, style, transition, trigger } from '@angular/animations';\n\n/**\n * This component can be used to display progress towards a target/goal.\n *\n * @example\n * \n * {{ progress }} / {{ total }}\n * \n */\n\n@Component({\n selector: 'fcom-progress-indicator',\n templateUrl: './progress-indicator.component.html',\n styleUrls: ['./progress-indicator.component.scss'],\n animations: [\n trigger('fillGrow', [\n state(\n 'void',\n style({\n transform: 'scaleX(0)',\n })\n ),\n state(\n '*',\n style({\n transform: 'scaleX({{ progress }})',\n }),\n { params: { progress: 0 } }\n ),\n transition('void => *', animate('1500ms cubic-bezier(0.66, 0, 0.33, 1)')),\n transition('* => *', animate('1500ms cubic-bezier(0.66, 0, 0.33, 1)')),\n ]),\n ],\n})\nexport class ProgressIndicatorComponent implements OnInit, OnChanges {\n /**\n * The current value on the indicator\n */\n @Input()\n progress = 0;\n\n /**\n * The total/target value to achieve\n */\n @Input()\n total = 100;\n\n /**\n * Optional descriptive label what type of progress is being indicated\n */\n @Input()\n progressText: string;\n\n /**\n * Optional descriptive label for the type of target to achieve\n */\n @Input()\n targetText: string;\n\n /**\n * Progress fill color\n */\n @Input()\n fillColor = 'heather-700-bg';\n\n /**\n * Descriptive aria-label for progress indicator\n */\n @Input({ required: true })\n ariaLabel: string;\n\n max: boolean;\n percentage: number;\n progressScaleX: number;\n\n ngOnInit(): void {\n this.max = this.isOverMax();\n this.percentage = this.getPercentage();\n this.onProgressFill();\n }\n\n ngOnChanges(): void {\n this.max = this.isOverMax();\n this.percentage = this.getPercentage();\n this.onProgressFill();\n }\n\n private onProgressFill(): void {\n this.progressScaleX = this.max ? 1 : this.getPercentage() * 0.01;\n }\n\n private isOverMax(): boolean {\n return this.progress > this.total;\n }\n\n private getPercentage(): number {\n return this.max ? 100 : (this.progress / this.total) * 100;\n }\n}\n","\n \n
    \n
    \n \n \n
    \n \n \n
    \n \n \n\n
    \n \n \n \n \n
    \n\n \n \n\n
    \n {{\n showLifetime && !!lifetimeProgressData.lifetimeTier\n ? ('LOYALTY.tierProgress.reachedLifetime' | finLocalization: { tier: lifetimeProgressData.lifetimeTier })\n : ((tierProgressData.isStartingTier ? 'LOYALTY.tierProgress.trackingEnd' : 'LOYALTY.tierProgress.tierValid')\n | finLocalization\n : {\n tier: tierProgressData.tierName,\n date:\n (tierProgressData.isStartingTier\n ? tierProgressData.trackingPeriodEnd\n : tierProgressData.cardExpirationDate\n ) | finDateFormat: 'DATE',\n })\n }}\n
    \n \n \n
    \n\n\n \n\n \n
    \n
    \n \n
    \n\n \n
    \n \n
    \n\n
    \n = 10\"\n class=\"font-body-1 inline-block nordic-blue-50-bg rounded bold-type ps-xxsmall-y ps-xsmall-x rounded-large ms-medium-b\"\n data-testid=\"tier-progress-target\"\n >\n \n\n \n \n {{ 100 - tierProgressData.tierProgress + '% ' }}\n {{\n ((tierProgressData.tierState === TierState.GAIN\n ? 'plus.pointsBalance.progressTo'\n : 'plus.pointsBalance.progressToMaintain'\n ) | finLocalization) + ' '\n }}\n {{ tierProgressData.targetTierName }}\n \n\n \n {{\n 'LOYALTY.tierProgress.highestLumo'\n | finLocalization\n : { tierProgress: tierProgressData.tierProgress, tier: tierProgressData.targetTierName }\n }}\n \n \n \n\n \n {{\n (tierProgressData.tierState === TierState.GAIN\n ? 'LOYALTY.tierProgress.gainTier'\n : 'LOYALTY.tierProgress.maintainTier'\n ) | finLocalization: { tier: tierProgressData.targetTierName }\n }}\n

    \n\n \n {{\n (tierProgressData.tierState === TierState.GAIN\n ? 'LOYALTY.tierProgress.gainLumo'\n : 'LOYALTY.tierProgress.maintainLumo'\n )\n | finLocalization\n : {\n points: tierProgressData.targetTierLimit | finPoints,\n finnairPoints: (tierProgressData.aySecretTierPointsRequired | finPoints),\n }\n }}\n

    \n\n
    \n\n \n {{ 'LOYALTY.tierProgress.pointsCollected' | finLocalization }}\n \n {{ tierProgressData.aySecretTierPoints | finPoints }} /\n {{ tierProgressData.aySecretTierPointsRequired | finPoints }}\n \n

    \n\n

    \n {{ 'LOYALTY.tierProgress.trackingPeriod' | finLocalization }}\n \n {{ tierProgressData.trackingPeriodStart | finDateFormat: 'DATE' }}\n -\n {{ tierProgressData.trackingPeriodEnd | finDateFormat: 'DATE' }}\n \n

    \n
    \n
    \n \n\n \n
    \n {{\n tierProgressData.tierPointsCollected | finPoints\n }}\n
    \n / {{ tierProgressData.targetTierLimit | finPoints }}\n {{ tierProgressData.targetTierName }}\n
    \n
    \n
    \n
    \n
    \n\n\n
    \n \n\n
    \n
    \n \n
    \n
    \n

    \n {{\n lifetimeProgressData.lifetimeTier === ProfileTier.PLATINUM\n ? ('LOYALTY.tierProgress.withLifetimePlatinum' | finLocalization)\n : ('LOYALTY.tierProgress.withLifeTime'\n | finLocalization: { tier: lifetimeProgressData.lifetimeTargetTier })\n }}\n

    \n
    \n \n
    \n
    \n\n \n
    \n
    \n {{ lifetimeProgressData.qualifyingLifetimeTierPoints | finPoints }} /\n {{ lifetimeProgressData.lifetimeTargetTierLimit | finPoints }}\n
    \n
    \n
    \n\n \n \n \n
    \n
    \n\n\n
    \n {{ title }}\n {{ 'plus.pointsBalance.lifetimeTier' | finLocalization: { tier: lifetimeProgressData.lifetimeTier } }}\n
    \n
    \n","import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { BehaviorSubject, Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { ProfileTier } from '@fcom/core-api/login';\nimport { ButtonTheme, IconPosition } from '@fcom/ui-components';\nimport { MediaQueryService, LoyaltyTierService, TierState, MemberTierDetails } from '@fcom/common';\nimport { finShare } from '@fcom/rx';\n\nexport type TierProgressData = Pick<\n MemberTierDetails,\n | 'tierName'\n | 'tierState'\n | 'isJuniorMember'\n | 'isStartingTier'\n | 'isGainingMaintainingOrHighestLumo'\n | 'targetTier'\n | 'targetTierName'\n | 'trackingPeriodStart'\n | 'trackingPeriodEnd'\n | 'cardExpirationDate'\n | 'targetTierLimit'\n | 'aySecretTierPointsRequired'\n | 'aySecretTierPoints'\n | 'tierPointsCollected'\n | 'targetTierFlightLimit'\n | 'qualifyingFlights'\n | 'tierProgress'\n>;\n\nexport type LifetimeProgressData = Pick<\n MemberTierDetails,\n 'lifetimeTier' | 'lifetimeTargetTier' | 'lifetimeTargetTierLimit' | 'qualifyingLifetimeTierPoints'\n>;\n\n@Component({\n selector: 'fin-tier-progress',\n templateUrl: 'tier-progress.component.html',\n styleUrls: ['./tier-progress.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TierProgressComponent implements OnInit {\n readonly ButtonTheme = ButtonTheme;\n readonly IconPosition = IconPosition;\n readonly ProfileTier = ProfileTier;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n readonly TierState = TierState;\n\n tierProgressData$: Observable;\n lifetimeProgressData$: Observable;\n\n isMobile$: Observable;\n showLifetime$: BehaviorSubject = new BehaviorSubject(false);\n\n constructor(\n private mediaQueryService: MediaQueryService,\n private loyaltyTierService: LoyaltyTierService\n ) {}\n\n ngOnInit(): void {\n this.isMobile$ = this.mediaQueryService.isBreakpoint$('mobile');\n\n const getMemberTierDetails$ = this.loyaltyTierService.getMemberTierDetails().pipe(finShare());\n\n this.tierProgressData$ = getMemberTierDetails$.pipe(\n map((memberTierDetails) => {\n return {\n tierName: memberTierDetails.tierName,\n tierState: memberTierDetails.tierState,\n isJuniorMember: memberTierDetails.isJuniorMember,\n isStartingTier: memberTierDetails.isStartingTier,\n isGainingMaintainingOrHighestLumo: memberTierDetails.isGainingMaintainingOrHighestLumo,\n targetTier: memberTierDetails.targetTier,\n targetTierName: memberTierDetails.targetTierName,\n cardExpirationDate: memberTierDetails.cardExpirationDate,\n trackingPeriodStart: memberTierDetails.trackingPeriodStart,\n trackingPeriodEnd: memberTierDetails.trackingPeriodEnd,\n targetTierLimit: memberTierDetails.targetTierLimit,\n aySecretTierPointsRequired: memberTierDetails.aySecretTierPointsRequired,\n aySecretTierPoints: memberTierDetails.aySecretTierPoints,\n tierPointsCollected: memberTierDetails.tierPointsCollected,\n targetTierFlightLimit: memberTierDetails.targetTierFlightLimit,\n qualifyingFlights: memberTierDetails.qualifyingFlights,\n tierProgress: memberTierDetails.tierProgress,\n };\n }),\n finShare()\n );\n\n this.lifetimeProgressData$ = getMemberTierDetails$.pipe(\n map((memberTierDetails) => {\n return {\n lifetimeTier: memberTierDetails.lifetimeTier,\n lifetimeTargetTier: memberTierDetails.lifetimeTargetTier,\n lifetimeTargetTierLimit: memberTierDetails.lifetimeTargetTierLimit,\n qualifyingLifetimeTierPoints: memberTierDetails.qualifyingLifetimeTierPoints,\n };\n }),\n finShare()\n );\n }\n}\n","\n {{ 'plus.transactionHistory.popupButton' | finLocalization }}\n \n\n

    \n {{ 'plus.transactionHistory.noTransactions' | finLocalization }}\n

    \n
    \n

    {{ 'plus.transactionHistory.loading' | finLocalization }}

    \n \n
    \n\n\n
    0\" class=\"border rounded-large overflow-hidden\">\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n {{\n hiddenCaptionText\n }}\n
    \n \n \n \n \n \n
    \n \n {{ transaction.date | finDateFormat: 'DATE' }}\n \n \n {{ transaction.description }}\n \n \n \n {{\n transaction.awardPoints === '0'\n ? '0'\n : transaction.isAviosTransaction\n ? (transaction.awardPoints | finPoints)\n : (transaction.awardPoints | finPoints) +\n ' ' +\n ('plus.transactionHistory.awardPointType' | finLocalization)\n }}\n \n \n \n {{\n transaction.tierPoints === '0'\n ? '0'\n : transaction.isAviosTransaction\n ? (transaction.tierPoints | finPoints)\n : (transaction.tierPoints | finPoints) +\n ' ' +\n ('plus.transactionHistory.tierPointType' | finLocalization)\n }}\n \n \n {{ 'plus.transactionHistory.pointsPending' | finLocalization }}\n \n \n {{ 'plus.transactionHistory.rejectedRequest' | finLocalization }}\n \n
    \n
    \n \n \n {{ 'plus.transactionHistory.error' | finLocalization }}\n \n
    0 && !loadingDisabled\" class=\"ms-medium-t flex flex--middle flex--end\">\n \n \n
    \n
    \n\n \n\n\n\n \n {{ 'plus.transactionHistory.loading' | finLocalization }}\n \n {{ 'plus.transactionHistory.rowsAdded' | finLocalization: { amount: a11yStatusAddedRowsAmount } }}\n {{ 'plus.transactionHistory.error' | finLocalization }}\n \n {{ 'plus.transactionHistory.allTransactionsloaded' | finLocalization }}\n\n\n\n \n \n {{ 'plus.transactionHistory.modal.pointsPending' | finLocalization }}\n \n
    \n \n \n \n \n \n \n \n \n \n \n \n
    \n {{\n 'plus.transactionHistory.modal.dateAndType.heading' | finLocalization\n }}\n
    \n {{ 'plus.transactionHistory.modal.dateAndType.date' | finLocalization }}\n {{ templateTransaction.date | finDateFormat: 'DATE' }}
    \n {{ 'plus.transactionHistory.modal.dateAndType.type' | finLocalization }}\n {{ templateTransaction.productType }}
    \n\n \n
    \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {{ 'plus.transactionHistory.modal.description.operated' | finLocalization }}\n \n \n {{ 'plus.transactionHistory.modal.description.marketed' | finLocalization }}\n \n \n {{ 'plus.transactionHistory.modal.description.partnerName' | finLocalization }}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
    \n {{\n 'plus.transactionHistory.modal.description.heading' | finLocalization\n }}\n
    \n {{ 'plus.transactionHistory.modal.description.from' | finLocalization }}\n {{ templateTransaction.origin }}
    \n {{ 'plus.transactionHistory.modal.description.to' | finLocalization }}\n {{ templateTransaction.destination }}
    \n {{ 'plus.transactionHistory.modal.description.flightNumber' | finLocalization }}\n {{ templateTransaction.partnerName }} {{ templateTransaction.flight }}
    {{ templateTransaction.partner.name }}
    \n {{ 'plus.transactionHistory.modal.description.ticket' | finLocalization }}\n {{ templateTransaction.ticketNumber }}
    \n {{ 'plus.transactionHistory.modal.description.ticketType' | finLocalization }}\n {{ templateTransaction.fareFamily }}
    \n {{ 'plus.transactionHistory.modal.description.travelClass' | finLocalization }}\n {{ templateTransaction.travelClass }}
    \n {{ 'plus.transactionHistory.modal.description.bookingClass' | finLocalization }}\n {{ templateTransaction.bookingClass }}
    \n {{ 'plus.transactionHistory.modal.description.description' | finLocalization }}\n \n {{ 'plus.transactionHistory.modal.description.rejected' | finLocalization }}\n
    \n {{ 'plus.transactionHistory.modal.description.description' | finLocalization }}\n \n {{ templateTransaction.description }}\n \n — {{ 'plus.transactionHistory.modal.description.used' | finLocalization }}\n
    \n\n \n
    \n \n \n \n \n \n \n \n \n \n \n \n
    \n \n {{\n ((transactionAvios$ | async) !== NotificationContextType.TierPointTransaction\n ? 'plus.transactionHistory.modal.points.headingAvios'\n : 'plus.transactionHistory.modal.points.heading'\n ) | finLocalization\n }}\n \n \n

    \n
    \n \n {{ 'plus.transactionHistory.modal.points.notification' | finLocalization }}\n \n \n
    \n \n \n
    \n {{\n ((transactionAvios$ | async) !== NotificationContextType.TierPointTransaction\n ? 'LOYALTY.plus.transactionHistory.aviosPoints'\n : 'plus.transactionHistory.modal.points.award'\n ) | finLocalization\n }}\n {{ templateTransaction.awardPoints | finPoints }}
    \n {{ 'plus.transactionHistory.modal.points.tier' | finLocalization }}\n {{ templateTransaction.tierPoints | finPoints }}
    \n\n \n
    \n\n\n\n
    \n
    \n

    \n {{ 'plus.transactionHistory.infoModal.awardPoints.heading' | finLocalization }}\n

    \n

    \n {{ 'plus.transactionHistory.infoModal.awardPoints.paragraph' | finLocalization }}\n

    \n

    \n {{ 'plus.transactionHistory.infoModal.awardPoints.subheading' | finLocalization }}\n

    \n
      \n
    • {{ 'plus.transactionHistory.infoModal.awardPoints.list.0' | finLocalization }}
    • \n
    • {{ 'plus.transactionHistory.infoModal.awardPoints.list.1' | finLocalization }}
    • \n
    • {{ 'plus.transactionHistory.infoModal.awardPoints.list.2' | finLocalization }}
    • \n
    \n
    \n
    \n

    \n {{ 'plus.transactionHistory.infoModal.tierPoints.heading' | finLocalization }}\n

    \n

    \n {{ 'plus.transactionHistory.infoModal.tierPoints.paragraph' | finLocalization }}\n

    \n
      \n
    • {{ 'plus.transactionHistory.infoModal.tierPoints.list.0' | finLocalization }}
    • \n
    • {{ 'plus.transactionHistory.infoModal.tierPoints.list.1' | finLocalization }}
    • \n
    \n
    \n
    \n\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Input,\n OnDestroy,\n OnInit,\n QueryList,\n ViewChild,\n ViewChildren,\n} from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { BehaviorSubject, combineLatest, Observable, of, ReplaySubject, Subscription, withLatestFrom } from 'rxjs';\nimport { catchError, map, share, shareReplay, switchMap, take } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport {\n ButtonTheme,\n ButtonType,\n IconPosition,\n LoaderTheme,\n ModalButtons,\n NotificationLayout,\n NotificationTheme,\n} from '@fcom/ui-components';\nimport { ConfigService, LocationRouteCffService } from '@fcom/core/services';\nimport { PARTNER_AIRLINES, unsubscribe } from '@fcom/core/utils';\nimport { CmsArticle, CmsEditorialArticle, Location } from '@fcom/core-api';\nimport { FragmentService, LoaderType } from '@fcom/common';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core/interfaces';\n\nimport { Status, TransactionService } from '../../services/transaction.service';\nimport { Transaction, TransactionProductType, TransactionStatus } from '../../interfaces';\n\nconst TRANSACTION_ROWS_VISIBLE = 6; // transactions to appear in the table at a time\n\ninterface ModalTransaction extends Transaction {\n origin: string;\n destination: string;\n partner: { name: string; code: string };\n}\nenum NotificationContextType {\n Avios = 'avios',\n BetweenAvios = 'betweenAvios',\n TierPointTransaction = 'tierPointsTransaction',\n}\n\n@Component({\n selector: 'fin-transaction-history',\n templateUrl: 'transaction-history.component.html',\n styleUrls: ['./transaction-history.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TransactionHistoryComponent implements OnInit, OnDestroy {\n public readonly Status = Status;\n public readonly LoaderType = LoaderType;\n public readonly ButtonTheme = ButtonTheme;\n public readonly ButtonType = ButtonType;\n public readonly NotificationTheme = NotificationTheme;\n public readonly NotificationLayout = NotificationLayout;\n public readonly LoaderTheme = LoaderTheme;\n public readonly IconPosition = IconPosition;\n public readonly NotificationContextType = NotificationContextType;\n public readonly SvgLibraryIcon = SvgLibraryIcon;\n\n DISPLAYED_TRANSACTIONS = [\n TransactionStatus.PROCESSED,\n TransactionStatus.CANCELLED,\n TransactionStatus.PARTNER_PENDING,\n TransactionStatus.PARTNER_REJECT,\n ];\n\n @ViewChild('loadButton', { static: false })\n loadButton: ElementRef;\n\n @ViewChild('openInfoModalButton', { static: false })\n openInfoModalButton: ElementRef;\n\n @Input()\n initialVisibleTransactionAmount: number = TRANSACTION_ROWS_VISIBLE;\n\n @Input()\n hideTooltip: boolean;\n\n @Input()\n showFullHistoryLink: boolean;\n\n @Input()\n hiddenCaptionText: string;\n\n ModalButtons = ModalButtons;\n TransactionStatus = TransactionStatus;\n TransactionProductType = TransactionProductType;\n LoyaltyRoutesPath = LoyaltyRoutesPath;\n visibleTransactions$: BehaviorSubject = new BehaviorSubject([]);\n modalTransaction$: ReplaySubject = new ReplaySubject(1);\n templateTransaction$: Observable;\n plusChanges$: Observable;\n visibleRowsAmount: number;\n allLoaded = false;\n loadingDisabled = false;\n status$: Observable;\n a11yStatusAddedRowsAmount: number;\n currentLanguage$: Observable;\n isInfoModalOpen = false;\n isTransactionModalOpen = false;\n airlines = PARTNER_AIRLINES;\n aviosCutOfDate = this.configService.cfg.enableAviosOverhaul.isAviosCuttoffDateEffective;\n promoCta$: Observable;\n promoData$: Observable;\n transactionAvios$: BehaviorSubject = new BehaviorSubject('');\n\n @ViewChildren('transactionRow', { read: ElementRef }) transactionRows: QueryList;\n\n subscriptions: Subscription = new Subscription();\n\n constructor(\n private transactionService: TransactionService,\n private locationRouteCffService: LocationRouteCffService,\n private languageService: LanguageService,\n private configService: ConfigService,\n private fragmentService: FragmentService\n ) {}\n\n ngOnInit(): void {\n this.visibleRowsAmount = this.initialVisibleTransactionAmount;\n this.currentLanguage$ = this.languageService.lang;\n this.status$ = this.transactionService.status$;\n this.promoData$ = this.fragmentService.getFragment(\n 'LOYALTY.fragments.transactionNotificationAvios.url'\n );\n this.promoCta$ = this.promoData$.pipe(map((data) => data as CmsEditorialArticle));\n this.subscriptions.add(\n this.status$.pipe(take(1)).subscribe((status) => {\n if (status === Status.INITIAL) {\n this.getTransactionFragment();\n } else {\n this.updateVisibleTransactions([]);\n }\n })\n );\n this.formatModalTransaction();\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n onLoadMoreTransactions(visibleTransactions: Transaction[]): void {\n const storeHasEnoughRows =\n this.transactionService.transactionsStore.length - visibleTransactions.length > this.visibleRowsAmount;\n const loadMoreToStore = !storeHasEnoughRows;\n if (storeHasEnoughRows) {\n const newRows = this.transactionService.transactionsStore.slice(\n visibleTransactions.length,\n visibleTransactions.length + this.visibleRowsAmount\n );\n this.visibleTransactions$.next(this.mapAnimationOrderToNewRows(visibleTransactions, newRows));\n this.a11yStatusAddedRowsAmount = newRows.length;\n } else if (loadMoreToStore && !this.allLoaded) {\n this.getTransactionFragment();\n } else {\n this.visibleTransactions$.next(\n this.mapAnimationOrderToNewRows(\n visibleTransactions,\n this.transactionService.transactionsStore.slice(visibleTransactions.length)\n )\n );\n this.loadingDisabled = true;\n }\n }\n\n onCloseNotification(): void {\n this.transactionService.status$.next(Status.INITIAL);\n }\n\n openTransactionModal(event: Event, transaction: Transaction): void {\n event.stopPropagation();\n this.modalTransaction$.next(transaction as ModalTransaction);\n this.isTransactionModalOpen = true;\n }\n\n closeTransactionModal(transactionId: string): void {\n this.transactionRows\n .find((item) => item.nativeElement.id === `transaction-row-${transactionId}`)\n ?.nativeElement.focus();\n }\n\n openInfoModal(event: MouseEvent): void {\n event.stopPropagation();\n this.isInfoModalOpen = true;\n }\n\n closeInfoModal(): void {\n if (this.openInfoModalButton) {\n this.openInfoModalButton.nativeElement.focus();\n }\n }\n\n private formatDescription(transaction): Observable {\n const descriptionKey =\n transaction.status === TransactionStatus.CANCELLED\n ? 'plus.transactionHistory.cancelled'\n : 'plus.transactionHistory.rejected';\n return this.languageService.translate(descriptionKey).pipe(\n map((translation) => {\n return `${translation}: ${transaction.description}`;\n })\n );\n }\n\n private formatModalTransaction(): void {\n this.templateTransaction$ = this.modalTransaction$.pipe(\n switchMap((transaction) => {\n const newTransaction = { ...transaction, partner: { name: transaction.partnerName, code: '' } };\n const modalPartner = this.airlines.find((airline) => airline.code === newTransaction.partnerName);\n if (modalPartner) {\n newTransaction.partner = modalPartner;\n }\n if (newTransaction.originationAirport && newTransaction.destinationAirport && !newTransaction.origin) {\n return combineLatest([\n this.locationCodeToLocation(newTransaction.originationAirport),\n this.locationCodeToLocation(newTransaction.destinationAirport),\n ]).pipe(\n take(1),\n map(([origin, destination]) => {\n newTransaction.origin = `${origin.locationCode} ${origin.title}`;\n newTransaction.destination = `${destination.locationCode} ${destination.title}`;\n return newTransaction;\n }),\n catchError(() => {\n newTransaction.origin = newTransaction.originationAirport;\n newTransaction.destination = newTransaction.destinationAirport;\n return of(newTransaction);\n })\n );\n }\n return of(newTransaction);\n }),\n // eslint-disable-next-line rxjs/no-sharereplay\n shareReplay(1)\n );\n }\n\n private getTransactionFragment(): void {\n const getTransactionsRequest$ = this.transactionService.getTransactions().pipe(take(1), share());\n const getTransactionsNewTransactions$ = getTransactionsRequest$.pipe(\n map((transactions: Transaction[]) =>\n transactions.filter(({ status }) => this.DISPLAYED_TRANSACTIONS.includes(status))\n ),\n switchMap((transactions: Transaction[]) =>\n combineLatest(\n transactions.map((transaction) => {\n const mappedTransaction: Transaction = {\n ...transaction,\n awardPoints: this.formatPoints(transaction.awardPoints),\n tierPoints: this.formatPoints(transaction.tierPoints),\n description: transaction.description?.replace('PlusShop', 'Finnair Shop'),\n };\n if (\n (transaction.productType === TransactionProductType.AIRLINE_FLIGHT ||\n transaction.productType === TransactionProductType.AIRLINE_AWARD) &&\n transaction.originationAirport &&\n transaction.destinationAirport\n ) {\n return combineLatest([\n this.locationCodeToLocation(transaction.originationAirport),\n this.locationCodeToLocation(transaction.destinationAirport),\n ]).pipe(\n map(([orig, dest]) => ({\n ...mappedTransaction,\n description: this.createTransactionDescription(transaction, orig, dest),\n })),\n catchError(() => {\n return of(mappedTransaction);\n })\n );\n }\n return of(mappedTransaction);\n })\n )\n ),\n switchMap((transactions: Transaction[]) =>\n combineLatest(\n transactions.map((transaction) => {\n if ([TransactionStatus.CANCELLED, TransactionStatus.PARTNER_REJECT].includes(transaction.status)) {\n return this.formatDescription(transaction).pipe(\n map((formatted) => ({\n ...transaction,\n description: formatted,\n }))\n );\n }\n return of(transaction);\n })\n )\n )\n );\n\n this.subscriptions.add(\n combineLatest([getTransactionsNewTransactions$, this.visibleTransactions$])\n .pipe(take(1), withLatestFrom(this.transactionService.status$))\n .subscribe(([[newTransactions, visibleTransactions], status]) => {\n if (status === Status.ALL_LOADED) {\n this.allLoaded = true;\n }\n if (newTransactions.length > 0) {\n this.transactionService.transactionsStore.push(...newTransactions);\n this.updateVisibleTransactions(visibleTransactions);\n }\n })\n );\n }\n\n private updateVisibleTransactions(visibleTransactions) {\n const newRows = this.transactionService.transactionsStore.slice(\n visibleTransactions.length,\n visibleTransactions.length + this.visibleRowsAmount\n );\n const newVisibleTransactions = this.mapAnimationOrderToNewRows(visibleTransactions, newRows);\n this.visibleTransactions$.next(newVisibleTransactions);\n this.a11yStatusAddedRowsAmount = newRows.length;\n if (this.allLoaded && newVisibleTransactions.length === this.transactionService.transactionsStore.length) {\n // Disable load more button if everything loaded and visible\n this.loadingDisabled = true;\n }\n }\n\n private createTransactionDescription(transaction: Transaction, orig: Location, dest: Location): string {\n if (transaction.productType === TransactionProductType.AIRLINE_AWARD) {\n return transaction.productName;\n }\n return `${orig.cityName} - ${dest.cityName}`;\n }\n\n private locationCodeToLocation(locationCode: string): Observable {\n return this.locationRouteCffService.bestGuessFor(locationCode, this.languageService.localeValue);\n }\n\n private formatPoints(value: string | undefined): string {\n if (value === undefined) {\n return '0';\n } else if (value.charAt(0) === '+') {\n return value;\n } else if (value.charAt(0) !== '-' && parseInt(value, 10) > 0) {\n value = `+${value}`;\n }\n return value;\n }\n\n private mapAnimationOrderToNewRows(currentRows: Transaction[], newRows: Transaction[]): Transaction[] {\n return [\n ...currentRows.map((row) => {\n return { ...row, animationOrder: undefined };\n }),\n ...newRows.map((row, index) => {\n return { ...row, animationOrder: index + 1 };\n }),\n ];\n }\n\n getNotificationContext(transaction: ModalTransaction): { context: NotificationContextType } {\n const ayBookingDate = transaction.ayBookingDate ? new Date(transaction.ayBookingDate) : undefined;\n const transactionDate = new Date(transaction.date);\n const cutOffDate = new Date(this.aviosCutOfDate);\n const transactionProductType = transaction.productType;\n if (!ayBookingDate && transactionDate > cutOffDate) {\n this.transactionAvios$.next(NotificationContextType.Avios);\n return { context: NotificationContextType.Avios };\n }\n if (!ayBookingDate && transactionDate < cutOffDate) {\n this.transactionAvios$.next(NotificationContextType.TierPointTransaction);\n return { context: NotificationContextType.TierPointTransaction };\n }\n const contextType =\n ayBookingDate > cutOffDate &&\n transactionDate > cutOffDate &&\n transactionProductType === TransactionProductType.AIRLINE_FLIGHT\n ? NotificationContextType.Avios\n : ayBookingDate < cutOffDate &&\n transactionDate > cutOffDate &&\n transactionProductType === TransactionProductType.AIRLINE_FLIGHT\n ? NotificationContextType.BetweenAvios\n : NotificationContextType.TierPointTransaction;\n this.transactionAvios$.next(contextType);\n return { context: contextType };\n }\n}\n","\n
    0\">\n \n \n \n 1\">{{\n 'plus.expiringVoucherNotification.multiple' | finLocalization\n }}\n \n {{\n 'plus.expiringVoucherNotification.europeUpgrade'\n | finLocalization: { date: expiringVouchers[0].expirationDate | finDateFormat: 'DATE' }\n }}\n {{\n 'plus.expiringVoucherNotification.longHaulUpgrade'\n | finLocalization: { date: expiringVouchers[0].expirationDate | finDateFormat: 'DATE' }\n }}\n \n \n \n \n \n
    \n
    \n","import { Component, Input, OnDestroy, OnInit } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { distinctUntilChanged, Observable, of, Subscription } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { NotificationLayout, NotificationTheme } from '@fcom/ui-components';\nimport { GtmService } from '@fcom/common/gtm';\nimport { ElementActions, ElementTypes } from '@fcom/common';\nimport { unsubscribe } from '@fcom/core/utils';\nimport { RootPaths } from '@fcom/core/constants';\nimport { GaContext } from '@fcom/common/interfaces/gtm.interface';\n\nimport { VoucherService } from '../../services/voucher.service';\nimport { Voucher, VoucherProductName } from '../../interfaces';\n\nconst TRACKING_ELEMENT_NAME = 'expiring-vouchers-notification';\n\n@Component({\n selector: 'fin-expiring-voucher-notification',\n templateUrl: './expiring-voucher-notification.component.html',\n})\nexport class ExpiringVoucherNotificationComponent implements OnInit, OnDestroy {\n readonly VoucherProductName = VoucherProductName;\n readonly ElementTypes = ElementTypes;\n readonly TRACKING_ELEMENT_NAME = TRACKING_ELEMENT_NAME;\n readonly GTM_TRACKING_CONTEXT = GaContext.FINNAIR_PLUS;\n readonly NotificationTheme = NotificationTheme;\n readonly NotificationLayout = NotificationLayout;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input()\n vouchers$: Observable;\n\n oneUpgradeUrl$: Observable;\n expiringVouchers$: Observable;\n subscriptions: Subscription = new Subscription();\n\n constructor(\n private languageService: LanguageService,\n private gtmService: GtmService,\n private voucherService: VoucherService\n ) {\n this.oneUpgradeUrl$ = this.languageService.lang.pipe(map((lang) => `/${lang}/${RootPaths.ONE_UPGRADE_ROOT}`));\n }\n\n ngOnInit(): void {\n this.expiringVouchers$ = this.vouchers$.pipe(\n map((vouchers) => this.voucherService.expiringTravelClassUpgradeVouchers(vouchers)),\n distinctUntilChanged()\n );\n this.subscriptions.add(\n this.expiringVouchers$.subscribe((vouchers) => {\n if (vouchers.length > 0) {\n this.gtmService.trackElement(\n TRACKING_ELEMENT_NAME,\n GaContext.FINNAIR_PLUS,\n ElementTypes.BANNER,\n 'view',\n ElementActions.VIEW\n );\n }\n })\n );\n }\n\n onCloseNotification(): void {\n this.expiringVouchers$ = of([]);\n this.gtmService.trackElement(\n TRACKING_ELEMENT_NAME,\n GaContext.FINNAIR_PLUS,\n ElementTypes.BANNER,\n 'close',\n ElementActions.CLOSE\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n}\n","\n \n
    \n

    \n {{ 'LOYALTY.upgradeBenefits.loadingMessage' | finLocalization }}\n

    \n \n
    \n
    \n \n \n {{ 'LOYALTY.upgradeBenefits.errorLoadingBenefitsMessage' | finLocalization }}\n \n \n
    \n\n\n \n \n\n \n \n\n\n
    \n

    {{ benefitTitle }}

    \n\n 0 ? benefitList : noBenefits\"\n [ngTemplateOutletContext]=\"{ benefits, benefitCategory }\"\n >\n \n\n
    0\">\n \n \n \n
    \n
    \n\n \n
    \n \n \n \n \n {{ voucher.amount }}\n {{ voucher.benefitName }}{{ 'LOYALTY.upgradeBenefits.disturbanceLabel' | finLocalization }}\n \n
    \n \n {{ 'LOYALTY.upgradeBenefits.expiryText' | finLocalization }} \n {{ voucher.date | finDateFormat: 'DATE' }}\n
    \n \n
    \n {{\n 'LOYALTY.upgradeBenefits.expiryDetails' | finLocalization\n }}\n \n
    \n
    \n
    \n
    1 }\">\n \n
    1\" class=\"ps-xsmall-y font-body-2\">\n \n {{ v.amount }} {{ v.productName }}\n
    \n {{ 'LOYALTY.upgradeBenefits.expiryText' | finLocalization }} \n {{ v.date | finDateFormat: 'DATE' }}\n
    \n
    \n
    \n
    \n
    \n \n \n \n\n
    \n (displayedVoucherCount$ | async)\"\n class=\"ms-large-t\"\n [text]=\"'plus.transactionHistory.loadMore' | finLocalization\"\n [aria]=\"{ loadingLabel: 'actions.loading' | finLocalization }\"\n [theme]=\"ButtonTheme.LIGHT_SECONDARY_OUTLINE\"\n [icon]=\"{ name: SvgLibraryIcon.PLUS, position: IconPosition.RIGHT }\"\n (clickBtn)=\"displayedVoucherCount$.next(displayedCount + 3)\"\n data-testid=\"upgrade-benefits-load-more-button\"\n >\n \n
    \n
    \n\n \n
    \n

    \n {{ noBenefitsText }}\n

    \n
    \n \n \n \n
    \n
    \n
    \n\n","import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { BehaviorSubject, EMPTY, Observable, of } from 'rxjs';\nimport { catchError, map, take } from 'rxjs/operators';\nimport { Store } from '@ngrx/store';\n\nimport { finShare } from '@fcom/rx';\nimport { LanguageService } from '@fcom/ui-translate';\nimport { RootPaths } from '@fcom/core/constants';\nimport {\n ButtonSize,\n ButtonTheme,\n ButtonType,\n IconPosition,\n LoaderTheme,\n NotificationLayout,\n NotificationTheme,\n} from '@fcom/ui-components';\nimport { AppState, ConfigService } from '@fcom/core';\nimport { profile } from '@fcom/core/selectors';\nimport { ProfileTier } from '@fcom/core-api/login';\n\nimport { Voucher, VoucherProductName } from '../../interfaces';\nimport { UpgradeBenefitsState, VoucherService } from '../../services/voucher.service';\n\ninterface VoucherAmountByDate {\n productName: VoucherProductName;\n date: string;\n amount: number;\n}\n\nexport enum BenefitCategory {\n UPGRADE = 'upgrade',\n OTHER = 'other',\n}\n\ninterface BenefitGroup {\n benefitName: string;\n productName: string;\n amount: number;\n changed: boolean;\n vouchers: VoucherAmountByDate[];\n type: BenefitCategory;\n date: string;\n}\n\n@Component({\n selector: 'fin-upgrade-benefits',\n templateUrl: './upgrade-benefits.component.html',\n styleUrls: ['./upgrade-benefits.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class UpgradeBenefitsComponent implements OnInit {\n readonly BenefitCategory = BenefitCategory;\n readonly ButtonSize = ButtonSize;\n readonly ButtonTheme = ButtonTheme;\n readonly ButtonType = ButtonType;\n readonly IconPosition = IconPosition;\n readonly LoaderTheme = LoaderTheme;\n readonly NotificationLayout = NotificationLayout;\n readonly NotificationTheme = NotificationTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n readonly UpgradeBenefitsState = UpgradeBenefitsState;\n\n benefits$: Observable;\n oneUpgradeUrl$: Observable;\n landingPageUrl$: Observable;\n displayedVoucherCount$: BehaviorSubject = new BehaviorSubject(3);\n upgradeState$: Observable;\n tier$: Observable;\n finnairShopUrl: string;\n\n upgradeVouchers$: Observable;\n otherVouchers$: Observable;\n\n @Input()\n vouchers$: Observable;\n\n @Input()\n showLoading$: Observable = of(false);\n\n constructor(\n private languageService: LanguageService,\n private voucherService: VoucherService,\n private store$: Store,\n private configService: ConfigService\n ) {}\n\n ngOnInit(): void {\n this.tier$ = this.store$.pipe(\n profile(),\n take(1),\n map((x) => x.tier)\n );\n this.upgradeState$ = this.voucherService.status$;\n this.benefits$ = this.vouchers$.pipe(\n map((vouchers: Voucher[]) => this.groupVouchersByName(vouchers).map(this.getVoucherAmountsGroupedByDate).flat()),\n map((vouchers: VoucherAmountByDate[]) => this.groupVouchersByBenefitName(vouchers)),\n catchError(() => EMPTY),\n finShare()\n );\n this.upgradeVouchers$ = this.benefits$.pipe(\n map((vouchers) => vouchers.filter(({ type }) => type === BenefitCategory.UPGRADE))\n );\n this.otherVouchers$ = this.benefits$.pipe(\n map((vouchers) => vouchers.filter(({ type }) => type === BenefitCategory.OTHER))\n );\n\n this.oneUpgradeUrl$ = this.languageService.lang.pipe(map((lan) => `/${lan}/${RootPaths.ONE_UPGRADE_ROOT}`));\n this.landingPageUrl$ = this.languageService.lang.pipe(map((lan) => `/${lan}/${RootPaths.BOOKING_ROOT}`));\n const lang = this.languageService.langKeyValue;\n this.finnairShopUrl = this.configService.cfg.finnairShopUrl.replace(\n '{lang}',\n !['en', 'fi', 'sv', 'ja', 'ko', 'zh'].includes(lang) ? 'en' : lang\n );\n }\n\n private groupVouchersByName(vouchers: Voucher[]): Voucher[][] {\n return Object.values(\n vouchers.reduce((vouchersByName: { [key: string]: Voucher[] }, voucher: Voucher) => {\n if (!vouchersByName[voucher.productName]) {\n vouchersByName[voucher.productName] = [];\n }\n vouchersByName[voucher.productName].push(voucher);\n return vouchersByName;\n }, {})\n );\n }\n\n private getVoucherAmountsGroupedByDate(vouchers: Voucher[]): VoucherAmountByDate[] {\n return vouchers\n .reduce((dates: VoucherAmountByDate[], voucher: Voucher) => {\n const existing = dates.find((date) => date.date === voucher.expirationDate);\n if (existing) {\n existing.amount += voucher.amount;\n } else {\n dates.push({\n productName: voucher.productName,\n date: voucher.expirationDate,\n amount: voucher.amount,\n });\n }\n return dates;\n }, [])\n .sort((a: VoucherAmountByDate, b: VoucherAmountByDate) => (a.date > b.date ? 1 : b.date > a.date ? -1 : 0));\n }\n\n private groupVouchersByBenefitName(vouchers: VoucherAmountByDate[]): BenefitGroup[] {\n return vouchers.reduce((all, voucher) => {\n const benefitName = voucher.productName;\n const benefit = all.find((item) => item.benefitName === benefitName);\n if (benefit) {\n benefit.vouchers = benefit.vouchers.concat(voucher);\n benefit.amount += voucher.amount;\n } else {\n all.push({\n benefitName,\n amount: voucher.amount,\n changed: false,\n vouchers: [voucher],\n type: [\n VoucherProductName.EUROPE_UPGRADE,\n VoucherProductName.UPGRADE_BENEFIT,\n VoucherProductName.LONG_HAUL_UPGRADE,\n ].includes(benefitName)\n ? BenefitCategory.UPGRADE\n : BenefitCategory.OTHER,\n date: voucher.date,\n });\n }\n return all;\n }, []);\n }\n}\n","import {\n Component,\n ChangeDetectionStrategy,\n Input,\n OnInit,\n OnDestroy,\n HostBinding,\n ChangeDetectorRef,\n SkipSelf,\n} from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Subscription } from 'rxjs';\n\nimport { MediaQueryService } from '@fcom/common';\nimport { CmsArticle } from '@fcom/core-api';\nimport { unsubscribe } from '@fcom/core/utils';\n\n@Component({\n selector: 'fin-milestone',\n templateUrl: 'milestone.component.html',\n styleUrls: ['./milestone.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MilestoneComponent implements OnInit, OnDestroy {\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @HostBinding('class') hostClass = 'flex flex--column';\n @HostBinding('class.flex--basis-full') get hostClassFlexBasisFull(): boolean {\n return this.isTabletDownBreakpoint;\n }\n @HostBinding('style.flex-basis') get hostStylesFlexBasis(): string | undefined {\n return this.isTabletDownBreakpoint ? undefined : 'calc(50% - 0.6rem)';\n }\n\n @Input() public content: CmsArticle;\n @Input() public tierPointsCurrentPeriod: number;\n\n isUnlocked: boolean;\n isTabletDownBreakpoint: boolean;\n\n private subscriptions: Subscription = new Subscription();\n\n constructor(\n private mediaQueryService: MediaQueryService,\n @SkipSelf() private changeDetectorRef: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.isUnlocked = this.tierPointsCurrentPeriod >= this.content.localSettings?.milestonePoints;\n\n this.subscriptions.add(\n this.mediaQueryService.isBreakpoint$('tablet_down').subscribe((isTabledDownBreakpoint) => {\n this.isTabletDownBreakpoint = isTabledDownBreakpoint;\n this.changeDetectorRef.detectChanges();\n })\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n}\n","\n {{\n (isUnlocked\n ? 'LOYALTY.milestones.milestoneUnlockedAtTierPoints'\n : 'LOYALTY.milestones.milestoneUnlockWithTierPoints'\n ) | finLocalization: { tierPoints: content.localSettings.milestonePoints | finPoints }\n }}\n\n\n
    \n
    \n \n \n \n\n {{\n (isUnlocked ? 'LOYALTY.milestones.milestoneUnlocked' : 'LOYALTY.milestones.milestoneLocked') | finLocalization\n }}\n
    \n
    \n\n
    \n \n \n
    \n\n","\n

    {{ 'LOYALTY.milestones.title' | finLocalization }}

    \n\n
    \n \n\n
    \n \n\n \n {{ newUnlockedMilestone | finStripHtml }}\n \n\n
    \n \n
    \n
    \n","import { ChangeDetectionStrategy, Component, OnInit, OnDestroy } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Store } from '@ngrx/store';\nimport { combineLatest, Observable, Subscription } from 'rxjs';\nimport { distinctUntilChanged, map, switchMap, withLatestFrom, take, filter } from 'rxjs/operators';\n\nimport { NotificationTheme } from '@fcom/ui-components';\nimport { unsubscribe } from '@fcom/core/utils';\nimport { profile } from '@fcom/core/selectors';\nimport { AppState, CmsDataService } from '@fcom/core';\nimport { LanguageService } from '@fcom/ui-translate';\nimport { CmsArticle, CmsCollection, CMSelectionRules } from '@fcom/core-api';\nimport { Profile } from '@fcom/core-api/login';\nimport { finShare } from '@fcom/rx';\nimport { dismissedWithPoints } from '@fcom/loyalty-core/store/selectors';\nimport { MilestonesActions } from '@fcom/loyalty-core/store/actions';\n\n@Component({\n selector: 'fin-milestones',\n templateUrl: 'milestones.component.html',\n styleUrls: ['./milestones.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MilestonesComponent implements OnInit, OnDestroy {\n readonly NotificationTheme = NotificationTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n profile$: Observable;\n milestoneItems$: Observable;\n tierPointsCurrentPeriod$: Observable;\n newUnlockedMilestones$: Observable;\n\n private subscriptions: Subscription = new Subscription();\n\n constructor(\n private store$: Store,\n private cmsDataService: CmsDataService,\n private languageService: LanguageService\n ) {}\n\n ngOnInit(): void {\n this.profile$ = this.store$.pipe(profile(), finShare());\n\n this.subscriptions.add(\n this.profile$\n .pipe(\n take(1),\n map(({ currentPeriod }) => currentPeriod?.tierPointsCollected ?? 0),\n withLatestFrom(this.store$.pipe(dismissedWithPoints())),\n filter(([tierPoints, currentDismissedWithPoints]) => tierPoints < currentDismissedWithPoints)\n )\n .subscribe(() => {\n this.store$.dispatch(MilestonesActions.setDismissed({ points: 0 }));\n })\n );\n\n this.tierPointsCurrentPeriod$ = this.profile$.pipe(\n map((memberProfile) => memberProfile.currentPeriod?.tierPointsCollected ?? 0),\n finShare()\n );\n\n this.milestoneItems$ = this.profile$.pipe(\n withLatestFrom(this.languageService.translate('LOYALTY.fragments.milestonePoints.url')),\n switchMap(([{ tier, tierPointsAfterConversion }, fragmentUrl]) => {\n return this.cmsDataService\n .getFragmentJson>>(fragmentUrl, { tier })\n .pipe(\n map(\n (response) =>\n response?.items?.[0]?.items?.filter(\n (cmsArticle) => cmsArticle.localSettings?.milestonePoints > (tierPointsAfterConversion || 0)\n ) || []\n )\n );\n }),\n finShare()\n );\n\n this.newUnlockedMilestones$ = combineLatest([\n this.tierPointsCurrentPeriod$,\n this.milestoneItems$,\n this.store$.pipe(dismissedWithPoints()),\n ]).pipe(\n map(([currentPoints, milestoneItems, currentDismissedWithPoints]) => {\n const notDismissedMilestoneItems = milestoneItems.filter(\n (item) => item.localSettings?.milestonePoints > currentDismissedWithPoints\n );\n return notDismissedMilestoneItems\n .filter((item) => item.localSettings?.milestonePoints <= currentPoints)\n .map((item) => item.related[0].detailText);\n }),\n distinctUntilChanged()\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n trackByFn(_index: number, item: CmsArticle): string {\n return item.contentId.toString();\n }\n\n dismissMilestones(points: number): void {\n this.store$.dispatch(MilestonesActions.setDismissed({ points }));\n }\n}\n","\n
    \n \n \n
    \n\n

    \n \n {{ item.title || item.article.teaserTitle }}\n \n {{ 'LOYALTY.tierBenefits.tags.changed' | finLocalization }}\n

    \n\n \n
    \n\n \n {{ link.teaserTitle }}\n \n \n
    \n\n","import { Component, Input } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\n\nimport { type CmsArticle } from '@fcom/core-api';\nimport { type IconSet } from '@fcom/ui-components';\n\nexport interface Item {\n icon: IconSet;\n title?: string;\n text?: string;\n changed?: boolean;\n article?: CmsArticle;\n}\n\n@Component({\n selector: 'fin-tier-benefits',\n templateUrl: './tier-benefits.component.html',\n styleUrls: ['./tier-benefits.component.scss'],\n})\nexport class TierBenefitsComponent {\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input() items: Item[];\n @Input() invertedColors = false;\n}\n","
    \n
    \n
    \n

    {{ title }}

    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n
    \n","import { Component, Input } from '@angular/core';\nimport { Router } from '@angular/router';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\n\nimport { ButtonMode, ButtonSize, ButtonTheme, IconPosition } from '@fcom/ui-components';\nimport { CmsTarget } from '@fcom/core-api';\n\n@Component({\n selector: 'fin-benefit-banner',\n templateUrl: './benefit-banner.component.html',\n})\nexport class BenefitBannerComponent {\n readonly ButtonMode = ButtonMode;\n readonly ButtonSize = ButtonSize;\n readonly ButtonTheme = ButtonTheme;\n readonly IconPosition = IconPosition;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input() invertedColors = false;\n @Input() title: string;\n @Input() buttons: CmsTarget[] = [];\n\n constructor(private router: Router) {}\n\n navigateTo(url: string): void {\n this.router.navigateByUrl(url);\n }\n}\n","\n
    \n \n \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n \n \n \n\n","import { Component, Input, OnInit } from '@angular/core';\n\nimport { IconLibrary } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, startWith } from 'rxjs';\n\nimport { CmsArticle, CmsContent, CmsContentType, CmsTarget } from '@fcom/core-api';\nimport { finShare, safeMap } from '@fcom/rx';\nimport { FragmentService } from '@fcom/common';\n\nimport { Item } from '../tier-benefits/tier-benefits.component';\n\n@Component({\n selector: 'fin-promotion-segment',\n templateUrl: './promotion-segment.component.html',\n styleUrls: ['./promotion-segment.component.scss'],\n})\nexport class PromotionSegmentComponent implements OnInit {\n @Input()\n fragmentUrl: string;\n\n @Input()\n fragmentParams: { [key: string]: string };\n\n @Input()\n invertedColors = false;\n\n articles$: Observable;\n sidebar$: Observable;\n cta$: Observable;\n\n constructor(private fragmentService: FragmentService) {}\n\n ngOnInit(): void {\n const content$ = this.fragmentService.getFragment(this.fragmentUrl, this.fragmentParams).pipe(\n safeMap(({ contentType, items }) => (contentType === CmsContentType.CMPersonalized ? items[0]?.items : items)),\n finShare()\n );\n\n this.sidebar$ = content$.pipe(safeMap((articles) => articles[0]));\n this.articles$ = content$.pipe(\n safeMap((articles) =>\n articles[1].items.map((item: CmsArticle): Item => {\n let iconCategory: IconLibrary;\n switch (item.localSettings?.iconCategory) {\n case 'custom':\n iconCategory = IconLibrary.CUSTOM;\n break;\n case 'payments':\n iconCategory = IconLibrary.PAYMENTS;\n break;\n case 'tails':\n iconCategory = IconLibrary.TAILS;\n break;\n case 'svg-library':\n default:\n iconCategory = IconLibrary.SVG_LIBRARY;\n break;\n }\n return {\n article: item as CmsArticle,\n icon: {\n category: iconCategory,\n name: item.localSettings?.iconName,\n },\n };\n })\n )\n );\n this.cta$ = content$.pipe(\n safeMap((articles) => articles[2]),\n safeMap(({ target, teaserTitle }) => [{ ...target, title: teaserTitle }]),\n startWith([])\n );\n }\n}\n","\n \n\n \n\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n\n
    \n \n
    \n\n \n\n \n\n
    \n

    \n {{ 'plus.dashboard.transactionHistory' | finLocalization }}\n

    \n\n \n \n
    \n\n \n \n
    \n \n
    \n \n \n \n \n\n \n
    \n\n","import { AfterViewInit, Component, OnDestroy, OnInit, ViewEncapsulation } from '@angular/core';\nimport { Router } from '@angular/router';\n\nimport { Store } from '@ngrx/store';\nimport { combineLatest, EMPTY, Observable, startWith, Subscription } from 'rxjs';\nimport { catchError, map, switchMap, take } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { symbolToLangPath, unsubscribe } from '@fcom/core/utils';\nimport { AppState, ConfigService, DdsLanguage } from '@fcom/core';\nimport { CmsContent, CMSelectionRules, CmsTarget, CmsTemplate } from '@fcom/core-api';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core/interfaces';\nimport { CmsTemplateService } from '@fcom/cms/services';\nimport { FragmentService, PageMetaService } from '@fcom/common/services';\nimport { setPageMetadata } from '@fcom/loyalty-core';\nimport { Profile, ProfileTier } from '@fcom/core-api/login';\nimport { profile } from '@fcom/core/selectors';\nimport { finShare, safeMap } from '@fcom/rx';\nimport { NotificationTheme } from '@fcom/ui-components';\nimport { BenefitItemKeyEnum, BenefitItemV2 } from '@fcom/core/interfaces/tier-benefit.interface';\nimport { TierBenefitService } from '@fcom/core/services/tier-benefit/tier-benefit.service';\nimport { TIER_DATA_MAP } from '@fcom/common';\nimport { CreditCardPersonalizationParameter } from '@fcom/core-api/interfaces';\n\nimport { Item } from '../../components/tier-benefits/tier-benefits.component';\nimport { Status, TransactionService } from '../../services/transaction.service';\nimport { Voucher } from '../../interfaces';\nimport { UpgradeBenefitsState, VoucherService } from '../../services/voucher.service';\n\n@Component({\n templateUrl: 'plus-dashboard.component.html',\n styleUrls: ['../../../loyalty-core/assets/styles/common.scss', './plus-dashboard.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class PlusDashboardComponent implements OnInit, AfterViewInit, OnDestroy {\n readonly TIER_DATA_MAP = TIER_DATA_MAP;\n readonly NotificationTheme = NotificationTheme;\n readonly ProfileTier = ProfileTier;\n\n HIDE_BENEFITS = [BenefitItemKeyEnum.SnackDrink, BenefitItemKeyEnum.EasyBookings];\n\n welcomeTextWithLink$: Observable;\n template$: Observable;\n pageTitle$: Observable;\n sideBarContent$: Observable;\n creditCardBannerParams$: Observable<{ [key: string]: string }>;\n bannerCta$: Observable;\n profile$: Observable;\n transactionsAndBenefitsLoading$: Observable;\n vouchers$: Observable;\n\n tierBenefits$: Observable;\n\n private subscriptions: Subscription = new Subscription();\n\n constructor(\n private languageService: LanguageService,\n private cmsTemplateService: CmsTemplateService,\n private pageMetaService: PageMetaService,\n private tierBenefitService: TierBenefitService,\n private store$: Store,\n private fragmentService: FragmentService,\n private router: Router,\n private transactionService: TransactionService,\n private voucherService: VoucherService,\n private configService: ConfigService\n ) {}\n\n ngOnInit(): void {\n this.vouchers$ = this.voucherService.getVouchers().pipe(\n catchError(() => EMPTY),\n finShare(),\n startWith([])\n );\n\n this.transactionsAndBenefitsLoading$ = combineLatest([\n this.transactionService.status$,\n this.voucherService.status$,\n ]).pipe(\n map(\n ([transactionsStatus, vouchersStatus]) =>\n (this.transactionService.transactionsStore.length === 0 && transactionsStatus === Status.LOADING) ||\n vouchersStatus === UpgradeBenefitsState.LOADING\n )\n );\n\n this.profile$ = this.store$.pipe(profile(), take(1));\n\n const ddsLocale: DdsLanguage = this.languageService.ddsLocaleValue;\n\n this.creditCardBannerParams$ = this.profile$.pipe(\n take(1),\n safeMap((profile: Profile) => ({\n [CreditCardPersonalizationParameter.AKTIA_CREDIT_CARD]: profile.hasAktiaVisaCreditCard ? 'true' : 'false',\n ...(this.configService.cfg.enableVisaLightCreditCardBanner && {\n [CreditCardPersonalizationParameter.AKTIA_LIGHT_CREDIT_CARD]: profile.hasAktiaVisaLightCreditCard\n ? 'true'\n : 'false',\n }),\n tier: profile.tier,\n })),\n finShare()\n );\n\n const articles$ = this.profile$.pipe(\n take(1),\n switchMap(({ tier }) =>\n this.fragmentService.getFragment('LOYALTY.fragments.tierBenefits.url', {\n tier,\n })\n ),\n safeMap(({ items }) => items[0].items)\n );\n this.sideBarContent$ = articles$.pipe(safeMap((articles) => articles[0]));\n this.bannerCta$ = articles$.pipe(safeMap((articles) => this.articleToTarget(articles[1])));\n\n const lang = this.languageService.langKeyValue;\n this.welcomeTextWithLink$ = this.languageService\n .translate('pricesStartingFromOfferSuffix')\n .pipe(map((text) => symbolToLangPath(text, ddsLocale)));\n\n this.template$ = this.cmsTemplateService.load(`/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}`);\n this.pageTitle$ = this.template$.pipe(map((template: CmsTemplate) => template?.header?.[0]?.title ?? ''));\n\n this.profile$ = this.store$.pipe(profile(), finShare());\n\n this.tierBenefits$ = this.profile$.pipe(\n take(1),\n map(({ tier }) => TIER_DATA_MAP[tier].tierName.toUpperCase()),\n switchMap((tier) => this.tierBenefitService.getBenefitJson(tier, lang).pipe(map((benefits) => benefits[tier]))),\n map((benefits: BenefitItemV2[]) =>\n this.tierBenefitService\n .filterBenefits(benefits)\n .filter((row) => row?.icon?.name)\n .filter((row) => !this.HIDE_BENEFITS.includes(row.benefitItemKey))\n .map((row) => ({\n icon: row?.icon,\n title: row?.title,\n text: row?.description?.generalDescription,\n tags: row?.displayTags.toLowerCase().split(' ').filter(Boolean),\n changed: row?.displayTags === 'Changed',\n }))\n ),\n startWith([])\n );\n }\n\n ngAfterViewInit(): void {\n this.subscriptions.add(\n this.template$.subscribe((template: CmsTemplate) => setPageMetadata(template, this.pageMetaService))\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n goUsePoints(): void {\n this.router.navigateByUrl(\n `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.BALANCE_AND_TRANSACTIONS}#usePoints`,\n { replaceUrl: true }\n );\n }\n\n private articleToTarget(article: CmsContent): CmsTarget {\n return {\n ...article.target,\n title: article.teaserTitle,\n };\n }\n}\n","
    \n
    \n \n \n
    \n \n
    \n \n
    \n
    \n \n {{ 'plus.profile.chooseMarketingMessages' | finLocalization }}\n
    \n \n
    \n
    \n
    \n \n {{ consentGroupIntroductionText$ | async | finStripHtml }}\n \n\n
    \n \n {{ consent.text | finStripHtml }}\n \n
    \n
    \n
    \n
    \n {{ consentGroupProfileAfterwordText$ | async | finStripHtml }}\n \n \n
    \n
    \n
    \n \n
    \n
    \n
    \n","import { Component, ViewChild, ElementRef, OnInit, OnDestroy, ChangeDetectorRef } from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Store } from '@ngrx/store';\nimport { Observable, Subscription, combineLatest } from 'rxjs';\nimport { map, take, filter, switchMap } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { ButtonType, LoaderTheme } from '@fcom/ui-components';\nimport { unsubscribe } from '@fcom/core/utils';\nimport { loginToken, profile, profileType } from '@fcom/core/selectors';\nimport { AppState } from '@fcom/core';\nimport { ProfileType, Profile } from '@fcom/core-api/login';\nimport { GtmService } from '@fcom/common/gtm';\nimport { Consent, ConsentGroup, ConsentStatus, ConsentTextId, SelectOption } from '@fcom/common';\nimport { ConsentService } from '@fcom/common/login/services/consent.service';\nimport { finShare } from '@fcom/rx';\nimport { FormStatus, trackFormState } from '@fcom/service-forms';\n\nimport { ProfileService } from '../../services/profile.service';\n\nconst MARKETING_LANGUAGES = ['fi', 'sv', 'en'];\n\nconst UPDATE_DIRECT_MARKETING_PREFERENCES = 'update-direct-marketing-preferences';\n\n@Component({\n selector: 'fin-direct-marketing-preferences-form',\n templateUrl: 'direct-marketing-preferences-form.component.html',\n styleUrls: ['./direct-marketing-preferences-form.component.scss'],\n})\nexport class DirectMarketingPreferencesFormComponent implements OnInit, OnDestroy {\n readonly ConsentTextId = ConsentTextId;\n readonly FormStatus = FormStatus;\n readonly ButtonType = ButtonType;\n readonly LoaderTheme = LoaderTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n public notification: ElementRef;\n\n @ViewChild('fcomNotification', { static: false })\n set notificationElem(notificationElem: ElementRef) {\n this.notification = notificationElem;\n }\n\n @ViewChild('formContainer', { static: true })\n formContainer: ElementRef;\n\n reactiveForm: UntypedFormGroup;\n languages$: Observable;\n formStatus: FormStatus = FormStatus.LOADING;\n consents$: Observable;\n consentGroupIntroductionText$: Observable;\n consentGroupProfileAfterwordText$: Observable;\n\n private subscriptions: Subscription = new Subscription();\n private accessToken$: Observable;\n private profile$: Observable;\n\n constructor(\n private fb: UntypedFormBuilder,\n private store$: Store,\n private languageService: LanguageService,\n private gtmService: GtmService,\n private consentService: ConsentService,\n private profileService: ProfileService,\n private cdRef: ChangeDetectorRef\n ) {\n this.reactiveForm = fb.group({});\n }\n\n ngOnInit(): void {\n this.formStatus = FormStatus.LOADING;\n this.languages$ = this.getLanguageOptions();\n\n this.profile$ = this.store$.pipe(profile(), take(1));\n\n this.accessToken$ = this.store$.pipe(\n loginToken(),\n filter((v) => !!v),\n take(1)\n );\n\n const accountType$: Observable = this.store$.pipe(\n profileType(),\n filter((v) => !!v),\n take(1)\n );\n\n const consentGroup$: Observable = combineLatest([this.accessToken$, accountType$]).pipe(\n switchMap(([token, type]) => this.consentService.getMarketingConsents({ token }, type)),\n filter((v) => !!v),\n finShare()\n );\n\n this.consentGroupIntroductionText$ = consentGroup$.pipe(map((group) => group.introductionText || ''));\n this.consentGroupProfileAfterwordText$ = consentGroup$.pipe(map((group) => group.profileAfterwordText || ''));\n this.consents$ = consentGroup$.pipe(map((group) => group.consents));\n\n this.subscriptions.add(\n combineLatest([this.profile$, this.consents$]).subscribe(([userProfile, consents]) => {\n this.createForm(userProfile, consents);\n this.formStatus = FormStatus.INITIAL;\n })\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n onSubmit(): void {\n if (this.reactiveForm.valid) {\n this.formStatus = FormStatus.LOADING;\n trackFormState(UPDATE_DIRECT_MARKETING_PREFERENCES, 'send-attempt', this.gtmService);\n\n const consentsRequest$ = combineLatest([this.accessToken$, this.consents$]).pipe(\n switchMap(([token, consents]) => {\n const updatedConsents = consents.map((consent) => {\n return {\n ...consent,\n consentStatus: this.reactiveForm.value[consent.consentTextId]\n ? ConsentStatus.ACCEPTED\n : ConsentStatus.DECLINED,\n };\n });\n\n return this.consentService.sendConsents({ token }, updatedConsents);\n })\n );\n\n const { marketingLanguage } = this.reactiveForm.value;\n const updateMarketingLanguageRequest$ = this.profileService.updateMarketingLanguage({ marketingLanguage });\n\n this.subscriptions.add(\n consentsRequest$.pipe(switchMap(() => updateMarketingLanguageRequest$)).subscribe({\n next: () => {\n this.formStatus = FormStatus.COMPLETE;\n trackFormState(UPDATE_DIRECT_MARKETING_PREFERENCES, 'success', this.gtmService);\n this.autoScrollToNotification();\n },\n error: () => {\n this.formStatus = FormStatus.ERROR;\n trackFormState(UPDATE_DIRECT_MARKETING_PREFERENCES, 'error', this.gtmService);\n this.autoScrollToNotification();\n },\n })\n );\n }\n }\n\n autoScrollToNotification(): void {\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n }\n\n private createForm(userProfile: Profile, consents: Consent[]) {\n const consentFields = consents.reduce((fields, consent) => {\n fields[consent.consentTextId] = [consent.consentStatus === ConsentStatus.ACCEPTED];\n return fields;\n }, {});\n\n this.reactiveForm = this.fb.group({\n marketingLanguage: [userProfile.lang ? userProfile.lang : ''],\n ...consentFields,\n });\n }\n\n private getLanguageOptions(): Observable {\n return this.languageService.translate('SERVICE_FORMS.CSServiceForms.fields.language').pipe(\n map((languages) =>\n MARKETING_LANGUAGES.map(\n (lang) =>\n ({\n value: lang,\n name: languages[lang.toUpperCase()],\n }) as SelectOption\n )\n )\n );\n }\n}\n","
    \n
    \n \n {{\n (formStatus === FormStatus.ERROR ? 'SERVICE_FORMS.serviceForms.error.title' : 'plus.profile.updateSuccess')\n | finLocalization\n }}\n \n
    \n {{\n 'SERVICE_FORMS.serviceForms.mandatoryFields' | finLocalization\n }}\n \n
    \n \n
    \n
    \n \n
    \n \n \n
    \n \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n \n
    \n \n \n
    \n \n\n","import {\n Component,\n OnInit,\n ViewEncapsulation,\n Input,\n Output,\n EventEmitter,\n ElementRef,\n ViewChild,\n ChangeDetectorRef,\n OnDestroy,\n} from '@angular/core';\nimport { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';\n\nimport { IconLibrary, SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, Subscription } from 'rxjs';\nimport { map, take } from 'rxjs/operators';\n\nimport { ButtonTheme, ButtonType, NotificationTheme, LoaderTheme } from '@fcom/ui-components';\nimport { FormStatus, TypedFormGroup } from '@fcom/service-forms/interfaces';\nimport { enableConditionalFields, disableConditionalFields, trackFormState } from '@fcom/service-forms/services/utils';\nimport { GtmService } from '@fcom/common/gtm';\nimport { Profile, LoginAddress, LoginAddressType, ProfileTier } from '@fcom/core-api/login';\nimport { unsubscribe, LATIN_ALPHA_PATTERN, LATIN_ADDRESS_PATTERN, trimAndReplaceWhitespace } from '@fcom/core/utils';\nimport { SelectOption } from '@fcom/common';\nimport { LanguageService } from '@fcom/ui-translate';\nimport { finShare } from '@fcom/rx';\nimport { CountryCode } from '@fcom/core';\n\nimport { MailingAddressFormField, MailingAddressSubmissionData } from '../../interfaces/profile.interface';\nimport { ProfileService } from '../../services/profile.service';\n\nconst MAILING_ADDRESS_FORM = 'update-profile-mailing-address';\n\n@Component({\n selector: 'fin-loyalty-mailing-address-form',\n templateUrl: 'loyalty-mailing-address-form.component.html',\n styleUrls: ['./loyalty-mailing-address-form.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class LoyaltyMailingAddressFormComponent implements OnInit, OnDestroy {\n public readonly FormStatus = FormStatus;\n public readonly ButtonTheme = ButtonTheme;\n public readonly ButtonType = ButtonType;\n public readonly IconLibrary = IconLibrary;\n public readonly LoginAddressType = LoginAddressType;\n public readonly MailingAddressFormField = MailingAddressFormField;\n public readonly NotificationTheme = NotificationTheme;\n public readonly LoaderTheme = LoaderTheme;\n public readonly SvgLibraryIcon = SvgLibraryIcon;\n\n public notification: ElementRef;\n\n @ViewChild('fcomNotification', { static: false })\n set notificationElem(notificationElem: ElementRef) {\n this.notification = notificationElem;\n }\n\n @Input()\n enableCancel = false;\n\n @Output()\n cancel: EventEmitter = new EventEmitter();\n\n @Output()\n success: EventEmitter = new EventEmitter();\n\n reactiveForm: TypedFormGroup;\n countries$: Observable;\n selectedCountryText: object;\n formStatus: FormStatus = FormStatus.INITIAL;\n profile: Profile;\n\n private subscriptions: Subscription = new Subscription();\n\n constructor(\n private fb: UntypedFormBuilder,\n private profileService: ProfileService,\n private languageService: LanguageService,\n private gtmService: GtmService,\n private cdRef: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.formStatus = FormStatus.LOADING;\n const countryCodes$: Observable = this.languageService.translate('countryCodes').pipe(finShare());\n\n this.countries$ = countryCodes$.pipe(\n map((countryCodes) => {\n const selectOptions: SelectOption[] = countryCodes.map((countryCodeData) => ({\n value: countryCodeData.countryCode,\n name: countryCodeData.name,\n }));\n selectOptions.unshift({ value: '', name: '-' });\n return selectOptions;\n }),\n take(1)\n );\n\n this.subscriptions.add(\n this.profileService.getProfile().subscribe((profile: Profile) => {\n this.profile = profile;\n this.createForm(profile);\n this.formStatus = FormStatus.INITIAL;\n })\n );\n this.selectedCountryText = {\n AU: {\n translation: 'SERVICE_FORMS.serviceForms.fields.stateTerritory',\n options: this.profileService.getCountryRegionOptions('au'),\n },\n CA: {\n translation: 'SERVICE_FORMS.serviceForms.fields.province',\n options: this.profileService.getCountryRegionOptions('ca'),\n },\n US: {\n translation: 'SERVICE_FORMS.serviceForms.fields.state',\n options: this.profileService.getCountryRegionOptions('us'),\n },\n JP: {\n translation: 'SERVICE_FORMS.serviceForms.fields.prefecture',\n },\n GB: {\n translation: 'SERVICE_FORMS.serviceForms.fields.buildingName',\n },\n };\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n onSubmit(): void {\n if (this.formStatus === FormStatus.LOADING) {\n return;\n }\n\n if (!this.reactiveForm.valid) {\n this.reactiveForm.markAllAsTouched();\n\n return;\n }\n\n this.formStatus = FormStatus.LOADING;\n\n const data: MailingAddressSubmissionData = {\n countryCode: this.reactiveForm.get('workAddress')?.get(MailingAddressFormField.PRIMARY)?.value\n ? this.reactiveForm.get('workAddress').get(MailingAddressFormField.COUNTRY).value\n : this.reactiveForm.get('homeAddress').get(MailingAddressFormField.COUNTRY).value,\n addresses: [\n {\n ...this.reactiveForm.get('homeAddress').value,\n primary: this.reactiveForm.get('type').value === LoginAddressType.HOME,\n type: LoginAddressType.HOME,\n },\n ],\n };\n\n if (this.reactiveForm.get('workAddress').value) {\n data.addresses.push({\n ...this.reactiveForm.get('workAddress').value,\n primary: this.reactiveForm.get('type').value === LoginAddressType.JOB,\n type: LoginAddressType.JOB,\n });\n }\n\n trackFormState(MAILING_ADDRESS_FORM, 'send-attempt', this.gtmService);\n\n this.subscriptions.add(\n this.profileService.updateMailingAddress(data).subscribe({\n next: (result) => {\n if (result.status.message === 'OK') {\n this.formStatus = FormStatus.COMPLETE;\n trackFormState(MAILING_ADDRESS_FORM, 'success', this.gtmService);\n this.success.emit();\n } else {\n this.formStatus = FormStatus.ERROR;\n trackFormState(MAILING_ADDRESS_FORM, 'error', this.gtmService);\n }\n },\n error: () => {\n this.formStatus = FormStatus.ERROR;\n trackFormState(MAILING_ADDRESS_FORM, 'error', this.gtmService);\n },\n complete: () => {\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n },\n })\n );\n }\n\n onCountrySelect(country: string): void {\n const form = this.activeForm();\n this.updateConditionalFields(country, form);\n form.get(MailingAddressFormField.STATE_OR_PROVINCE).reset();\n }\n\n updateConditionalFields(country: string, form: UntypedFormGroup): void {\n switch (country) {\n case 'AU':\n case 'CA':\n case 'US':\n disableConditionalFields([MailingAddressFormField.BUILDING_NAME_OR_PREFECTURE], form);\n enableConditionalFields([MailingAddressFormField.STATE_OR_PROVINCE], form);\n break;\n case 'JP':\n case 'GB':\n disableConditionalFields([MailingAddressFormField.STATE_OR_PROVINCE], form);\n enableConditionalFields([MailingAddressFormField.BUILDING_NAME_OR_PREFECTURE], form);\n break;\n default:\n disableConditionalFields([MailingAddressFormField.STATE_OR_PROVINCE], form);\n disableConditionalFields([MailingAddressFormField.BUILDING_NAME_OR_PREFECTURE], form);\n }\n }\n\n onCancel(): void {\n this.cancel.emit();\n }\n\n onValueChange(form: UntypedFormGroup, field: MailingAddressFormField): void {\n form.get(field).setValue(trimAndReplaceWhitespace(form.get(field).value));\n }\n\n private createForm(profile: Profile) {\n const primaryAddress = profile.addresses.find((address) => address.primary);\n let homeAddress = profile.addresses.find((address) => address.type === LoginAddressType.HOME);\n const jobAddress = profile.addresses.find((address) => address.type === LoginAddressType.JOB);\n\n if (!homeAddress) {\n homeAddress = {\n [MailingAddressFormField.CITY]: '',\n [MailingAddressFormField.COMPANY_NAME]: '',\n [MailingAddressFormField.COUNTRY]: '',\n [MailingAddressFormField.POSTAL_CODE]: '',\n [MailingAddressFormField.PRIMARY]: jobAddress ? !jobAddress.primary : true,\n [MailingAddressFormField.STATE_OR_PROVINCE]: '',\n [MailingAddressFormField.BUILDING_NAME_OR_PREFECTURE]: '',\n [MailingAddressFormField.STREET_ADDRESS]: '',\n type: LoginAddressType.HOME,\n };\n }\n\n this.reactiveForm = this.fb.group({\n type: {\n value: primaryAddress.type !== LoginAddressType.NONE ? primaryAddress.type : LoginAddressType.HOME,\n disabled: !jobAddress,\n },\n homeAddress: this.createAddressForm(homeAddress, profile.tier),\n workAddress: jobAddress && this.createAddressForm(jobAddress, profile.tier),\n }) as TypedFormGroup;\n\n this.updateConditionalFields(homeAddress.country, this.reactiveForm.get('homeAddress') as UntypedFormGroup);\n jobAddress &&\n this.updateConditionalFields(jobAddress.country, this.reactiveForm.get('workAddress') as UntypedFormGroup);\n }\n\n private createAddressForm(address: LoginAddress, profileTier: ProfileTier): UntypedFormGroup {\n const requiredValidator = profileTier === ProfileTier.ACCOUNT ? [] : [Validators.required];\n\n return this.fb.group({\n [MailingAddressFormField.COMPANY_NAME]: {\n value: address.companyName,\n disabled: address.type !== LoginAddressType.JOB,\n },\n [MailingAddressFormField.COUNTRY]: [address ? address.country : ''],\n [MailingAddressFormField.STREET_ADDRESS]: [\n address && address.streetAddress !== '-' ? address.streetAddress : null,\n [...requiredValidator, Validators.pattern(LATIN_ADDRESS_PATTERN)],\n ],\n [MailingAddressFormField.POSTAL_CODE]: [\n address ? address.postalCode : null,\n [...requiredValidator, Validators.pattern(LATIN_ADDRESS_PATTERN)],\n ],\n [MailingAddressFormField.CITY]: [\n address && address.city !== '-' ? address.city : null,\n [...requiredValidator, Validators.pattern(LATIN_ALPHA_PATTERN)],\n ],\n [MailingAddressFormField.STATE_OR_PROVINCE]: [{ value: address ? address.stateOrProvince : '', disabled: true }],\n [MailingAddressFormField.BUILDING_NAME_OR_PREFECTURE]: [\n { value: address ? address.buildingNameOrPrefecture : null, disabled: true },\n ],\n });\n }\n\n private activeForm = () =>\n (this.reactiveForm.get('type').value === LoginAddressType.HOME\n ? this.reactiveForm.get('homeAddress')\n : this.reactiveForm.get('workAddress')) as UntypedFormGroup;\n}\n","
    \n
    \n \n {{\n (formStatus === FormStatus.ERROR ? 'SERVICE_FORMS.serviceForms.error.title' : 'plus.profile.updateSuccess')\n | finLocalization\n }}\n \n
    \n {{\n 'SERVICE_FORMS.serviceForms.mandatoryFields' | finLocalization\n }}\n \n
    \n \n
    \n
    \n
    \n
    {{ name }}
    \n
    \n {{ 'SERVICE_FORMS.serviceForms.fields.dateOfBirth.label' | finLocalization }}:\n {{ dateOfBirth | finDateFormat: 'DATE' }}\n
    \n
    \n
    \n
    \n {{ 'SERVICE_FORMS.serviceForms.fields.membershipNumber' | finLocalization }}\n
    \n
    {{ memberNumber }}
    \n
    \n
    \n
    \n
    \n \n
    \n \n \n \n \n
    \n
    \n \n \n
    \n \n \n
    \n
    \n \n \n {{ 'SERVICE_FORMS.serviceForms.fields.changePassword' | finLocalization }}\n \n \n \n \n \n \n
    \n
    \n
    \n\n\n

    \n {{ 'SERVICE_FORMS.serviceForms.fields.email.tooltip.heading' | finLocalization }}\n

    \n

    {{ 'SERVICE_FORMS.serviceForms.fields.email.tooltip.content' | finLocalization }}

    \n
    \n","import {\n ChangeDetectorRef,\n Component,\n ElementRef,\n Inject,\n OnDestroy,\n OnInit,\n PLATFORM_ID,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, Subscription } from 'rxjs';\nimport { take } from 'rxjs/operators';\n\nimport { ButtonType, LoaderTheme, NotificationTheme } from '@fcom/ui-components';\nimport {\n capitalize,\n EMAIL_PATTERN,\n isNotBlank,\n isPresent,\n LocalDate,\n PHONE_PATTERN,\n unsubscribe,\n} from '@fcom/core/utils';\nimport { LoginGender, ParsedPhone, Profile, ProfileTier } from '@fcom/core-api/login';\nimport { FormStatus } from '@fcom/service-forms';\nimport { trackFormState } from '@fcom/service-forms/services/utils';\nimport { GtmService } from '@fcom/common/gtm';\nimport { PhonePrefixService } from '@fcom/common/services/phone-prefix/phone-prefix.service';\nimport { LoginService } from '@fcom/common/login';\nimport { SelectOption } from '@fcom/common';\n\nimport { PersonalInformationFormFields, PersonalInformationSubmissionData } from '../../interfaces/profile.interface';\nimport { ProfileService } from '../../services/profile.service';\n\nconst PERSONAL_INFORMATION_FORM = 'update-profile-personal-information';\n\n@Component({\n selector: 'fin-loyalty-personal-information-form',\n templateUrl: 'loyalty-personal-information-form.component.html',\n styleUrls: ['./loyalty-personal-information-form.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class LoyaltyPersonalInfoFormComponent implements OnInit, OnDestroy {\n public readonly FormStatus = FormStatus;\n public readonly PersonalInformationFormFields = PersonalInformationFormFields;\n public readonly ButtonType = ButtonType;\n public readonly NotificationTheme = NotificationTheme;\n public readonly LoaderTheme = LoaderTheme;\n public readonly SvgLibraryIcon = SvgLibraryIcon;\n\n public notification: ElementRef;\n\n @ViewChild('fcomNotification', { static: false })\n set notificationElem(notificationElem: ElementRef) {\n this.notification = notificationElem;\n }\n\n reactiveForm: UntypedFormGroup;\n genders = Object.keys(LoginGender).map((gender) => ({ value: LoginGender[gender].toLowerCase() }));\n maxDate: LocalDate = this.maxYear();\n minDate: LocalDate = this.minYear();\n tooltipOptions = {\n enableOnClick: true,\n showCloseButton: true,\n tooltipWidth: 342,\n minOffsetLeft: 10,\n };\n formStatus: FormStatus = FormStatus.INITIAL;\n ProfileTier = ProfileTier;\n dateOfBirth: LocalDate;\n profileStatus: string;\n memberNumber: string;\n profileTier: string;\n name: string;\n changePasswordUrl: string;\n\n phonePrefixes$: Observable;\n\n private subscriptions = new Subscription();\n\n constructor(\n private fb: UntypedFormBuilder,\n private profileService: ProfileService,\n private gtmService: GtmService,\n private phonePrefixService: PhonePrefixService,\n private loginService: LoginService,\n private cdRef: ChangeDetectorRef,\n @Inject(PLATFORM_ID) private platform: object\n ) {}\n\n ngOnInit(): void {\n this.formStatus = FormStatus.LOADING;\n this.phonePrefixes$ = this.phonePrefixService.setupPhonePrefixes().pipe(take(1));\n this.subscriptions.add(\n this.profileService.getProfile().subscribe((profile: Profile) => {\n this.createForm(profile);\n this.dateOfBirth = profile.dateOfBirth ? new LocalDate(profile.dateOfBirth) : undefined;\n this.memberNumber = profile.memberNumber;\n this.profileTier = profile.tier;\n this.profileStatus = profile.memberStatus;\n this.formStatus = FormStatus.INITIAL;\n this.name = this.parseName(profile);\n\n if (isPlatformBrowser(this.platform)) {\n this.changePasswordUrl = this.loginService.createChangePasswordUrl(this.memberNumber);\n }\n })\n );\n }\n\n ngOnDestroy(): void {\n unsubscribe(this.subscriptions);\n }\n\n createForm(profile: Profile): void {\n const requiredValidator = profile.tier === ProfileTier.ACCOUNT ? [] : [Validators.required];\n\n this.reactiveForm = this.fb.group({\n dateOfBirth: [profile.dateOfBirth ? profile.dateOfBirth : '', requiredValidator],\n email: [profile.email ? profile.email : '', [Validators.required, Validators.pattern(EMAIL_PATTERN)]],\n countryCode: [\n this.parseCountryCode(profile.parsedMobilePhone?.regionCodes, profile.parsedMobilePhone?.countryCode),\n requiredValidator,\n ],\n nationalNumber: [\n profile.parsedMobilePhone?.nationalNumber?.toString() ?? '',\n [...requiredValidator, Validators.pattern(PHONE_PATTERN)],\n ],\n gender: [\n this.genders.find((gender) => gender.value === profile.gender.toLowerCase())\n ? profile.gender.toLowerCase()\n : '',\n requiredValidator,\n ],\n });\n }\n\n onSubmit(): void {\n if (this.formStatus === FormStatus.LOADING) {\n return;\n }\n\n if (!this.reactiveForm.valid) {\n this.reactiveForm.markAllAsTouched();\n\n return;\n }\n\n this.formStatus = FormStatus.LOADING;\n\n const data: PersonalInformationSubmissionData = {\n email: this.reactiveForm.value[PersonalInformationFormFields.EMAIL],\n phoneNumber: this.parsePhoneNumber(\n this.reactiveForm.value[PersonalInformationFormFields.COUNTRY_CODE],\n this.reactiveForm.value[PersonalInformationFormFields.NATIONAL_NUMBER]\n ),\n gender: capitalize(this.reactiveForm.value[PersonalInformationFormFields.GENDER]),\n };\n if (!this.dateOfBirth && this.reactiveForm.value[PersonalInformationFormFields.DATE_OF_BIRTH]) {\n const date = this.reactiveForm.value[PersonalInformationFormFields.DATE_OF_BIRTH];\n const localDate = new LocalDate(date);\n data.dateOfBirth = localDate.toString();\n this.dateOfBirth = localDate;\n }\n trackFormState(PERSONAL_INFORMATION_FORM, 'send-attempt', this.gtmService);\n\n const countryCode = this.reactiveForm.value[PersonalInformationFormFields.COUNTRY_CODE];\n const parsedMobilePhone = this.generateParsedMobilePhone(\n isNotBlank(countryCode) ? countryCode.split('|')[1] : '',\n this.reactiveForm.value[PersonalInformationFormFields.NATIONAL_NUMBER],\n isNotBlank(countryCode) ? countryCode.split('|')[0] : ''\n );\n\n this.subscriptions.add(\n this.profileService.updatePersonalInformation(data, parsedMobilePhone).subscribe({\n next: (res) => {\n if (res.status.message === 'OK') {\n this.formStatus = FormStatus.COMPLETE;\n trackFormState(PERSONAL_INFORMATION_FORM, 'success', this.gtmService);\n } else {\n this.formStatus = FormStatus.ERROR;\n trackFormState(PERSONAL_INFORMATION_FORM, 'error', this.gtmService);\n }\n },\n error: () => {\n this.formStatus = FormStatus.ERROR;\n trackFormState(PERSONAL_INFORMATION_FORM, 'error', this.gtmService);\n },\n complete: () => {\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n },\n })\n );\n }\n\n parseName(profile: Profile): string {\n return `${profile.firstname} ${profile.lastname}`;\n }\n\n parsePhoneNumber(countryCode: string, nationalNumber: string): string {\n return `${countryCode.split('|')[1]}${nationalNumber}`;\n }\n\n parseCountryCode(regionCodes: string[], countryCode: number): string {\n if (!regionCodes?.length || !countryCode) {\n return '';\n }\n\n return `${regionCodes[0]}|${countryCode}`;\n }\n\n minYear(): LocalDate {\n return LocalDate.now().minusYears(100);\n }\n\n maxYear(): LocalDate {\n return LocalDate.now().minusYears(13);\n }\n\n private generateParsedMobilePhone(countryCode: string, nationalNumber: string, regionCode: string): ParsedPhone {\n if (isPresent(countryCode) && isNotBlank(countryCode) && isNotBlank(nationalNumber) && isNotBlank(regionCode)) {\n return {\n countryCode: +countryCode,\n nationalNumber: +nationalNumber,\n regionCodes: [regionCode],\n };\n } else {\n return undefined;\n }\n }\n}\n","export enum AviosPartner {\n BAEC = 'British Airways Club',\n}\n\nexport enum LinkingStatus {\n ACTIVE = 'ACTIVE',\n INACTIVE = 'INACTIVE',\n}\n\nexport interface LinkedAccount {\n partnerCode: string;\n partnerName: string;\n linkingStatus: LinkingStatus;\n linkedAt?: string;\n}\n\nexport interface LinkedAccountsResponse {\n linkedAccounts?: LinkedAccount[];\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\n\nimport { Store } from '@ngrx/store';\nimport { throwError, Observable, BehaviorSubject, of } from 'rxjs';\nimport { map, catchError, filter, take, switchMap, distinctUntilChanged, startWith } from 'rxjs/operators';\n\nimport { ConfigService, SentryLogger, AppState } from '@fcom/core';\nimport { loginToken } from '@fcom/core/selectors';\nimport { finShare } from '@fcom/rx';\n\nimport {\n LinkedAccount,\n LinkedAccountsResponse,\n LinkingStatus,\n} from '../interfaces/avios-linking-and-exchange.interface';\n\nexport enum AviosAccountLinkingStatus {\n ACTIVE = 'active',\n INACTIVE = 'inactive',\n LOADING = 'loading',\n}\n\n@Injectable()\nexport class AviosLinkingService {\n private accessToken$: Observable;\n\n private updateStatus$ = new BehaviorSubject<'loading' | 'refresh'>('refresh');\n\n status$: Observable = this.updateStatus$.pipe(\n distinctUntilChanged(),\n switchMap((updateStatus) => {\n if (updateStatus === 'loading') {\n return of(AviosAccountLinkingStatus.LOADING);\n }\n\n return this.getAviosLinkedAccounts().pipe(\n map((linkedAccount) => {\n return linkedAccount.linkingStatus === LinkingStatus.ACTIVE\n ? AviosAccountLinkingStatus.ACTIVE\n : AviosAccountLinkingStatus.INACTIVE;\n })\n );\n }),\n startWith(AviosAccountLinkingStatus.LOADING),\n finShare()\n );\n\n constructor(\n private http: HttpClient,\n private sentryLogger: SentryLogger,\n private store$: Store,\n private configService: ConfigService\n ) {\n this.accessToken$ = this.store$.pipe(loginToken(), filter(Boolean), take(1));\n }\n\n getAviosLinkedAccounts(): Observable {\n const apiUrl = this.configService.cfg.loyaltyServices.legacy.loyaltyAviosLinkingUrl;\n const xApiKey = this.configService.cfg.loyaltyServices.legacy.apiProfileApiKey;\n\n return this.accessToken$.pipe(\n switchMap((token) => {\n const httpOptions = {\n headers: new HttpHeaders({\n 'x-api-key': xApiKey,\n oauth_token: token,\n Authorization: `Bearer ${btoa(token)}`,\n }),\n };\n\n return this.http.get(apiUrl, httpOptions).pipe(\n map((response) => {\n return response.linkedAccounts[0];\n }),\n catchError((err) => {\n this.sentryLogger.warn(err.message, { error: err });\n return throwError(() => err);\n })\n );\n })\n );\n }\n}\n","\n

    {{ 'plus.profile.twoFactorAuth.intro' | finLocalization }}

    \n

    {{ 'plus.profile.twoFactorAuth.select' | finLocalization }}:

    \n
    \n\n
    \n \n {{ 'plus.profile.twoFactorAuthFailed' | finLocalization }}\n \n
    \n\n
    \n \n {{ 'plus.profile.twoFactorAuthEnabled' | finLocalization }}\n \n
    \n \n \n
    \n
    \n\n\n \n\n\n\n \n \n
      \n
    1. \n {{ 'plus.profile.twoFactorAuth.app.step.0' | finLocalization }}:\n \n
    2. \n
    3. {{ 'plus.profile.twoFactorAuth.app.step.1' | finLocalization }}
    4. \n
    \n
    \n \n \n
    \n
    \n \n
      \n
    1. \n {{ 'plus.profile.twoFactorAuth.app.step.2' | finLocalization }}\n
    2. \n
    3. {{ 'plus.profile.twoFactorAuth.app.step.3' | finLocalization }}
    4. \n
    \n {{\n 'SERVICE_FORMS.serviceForms.mandatoryFields' | finLocalization\n }}\n
    \n \"\"\n
    \n
    \n {{ 'plus.profile.secretKey' | finLocalization }}: {{ secretKey }}\n
    \n
    \n \n
    \n \n {{\n (authState === AuthState.INCORRECT_CODE\n ? 'plus.profile.securityCode.pattern'\n : 'plus.profile.twoFactorAuthFailed'\n ) | finLocalization\n }}\n \n
    \n \n \n \n \n
    \n \n
    \n \n \n
      \n
    1. {{ 'plus.profile.twoFactorAuth.sms.step.0' | finLocalization }}
    2. \n
    3. {{ 'plus.profile.twoFactorAuth.sms.step.1' | finLocalization }}
    4. \n
    \n
    \n \n \n
    \n
    \n
    \n\n\n\n
    \n

    \n {{ 'plus.profile.twoFactorAuth.confirmationModalSms.body' | finLocalization: { phoneNumber } }}\n

    \n

    \n {{ 'plus.profile.twoFactorAuth.confirmationModalSms.bodyMissingPhoneNr' | finLocalization }}\n

    \n
    \n\n \n \n \n \n \n \n\n\n\n
    \n {{ 'plus.profile.twoFactorAuth.disablingConfirmation.bodyText' | finLocalization }}\n
    \n\n
    \n
    \n \n \n \n \n
    \n
    \n\n","import { ChangeDetectorRef, Component, ElementRef, Input, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, Subscription } from 'rxjs';\nimport { filter, map } from 'rxjs/operators';\n\nimport {\n ButtonTheme,\n ButtonType,\n LoaderTheme,\n ModalButtons,\n NotificationButtonStyle,\n NotificationLayout,\n NotificationTheme,\n TabTheme,\n} from '@fcom/ui-components';\nimport { ElementActions, ElementTypes } from '@fcom/common';\nimport { GtmService } from '@fcom/common/gtm';\nimport { stopPropagation, unsubscribe } from '@fcom/core/utils';\nimport { finShare } from '@fcom/rx';\nimport { GaContext } from '@fcom/common/interfaces/gtm.interface';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core/interfaces';\n\nimport { TwoFactorAuthService, TwoFactorAuthStatus, TwoFactorAuthType } from '../../services/two-factor-auth.service';\nimport { ProfileService } from '../../services/profile.service';\nimport { AviosLinkingService, AviosAccountLinkingStatus } from '../../../loyalty-plus/services/avios-linking.service';\n\nexport enum AuthState {\n CHOOSE_TYPE,\n LOADING,\n VERIFY,\n INCORRECT_CODE,\n ERROR,\n}\n\n@Component({\n selector: 'fin-loyalty-two-factor-auth-toggle',\n templateUrl: 'loyalty-two-factor-auth-toggle.component.html',\n styleUrls: ['./loyalty-two-factor-auth-toggle.component.scss'],\n})\nexport class LoyaltyTwoFactorAuthToggleComponent implements OnInit, OnDestroy {\n readonly ButtonTheme = ButtonTheme;\n readonly ButtonType = ButtonType;\n readonly TabTheme = TabTheme;\n readonly TwoFactorAuthType = TwoFactorAuthType;\n readonly TwoFactorAuthStatus = TwoFactorAuthStatus;\n readonly AuthState = AuthState;\n readonly ModalButtons = ModalButtons;\n readonly NotificationTheme = NotificationTheme;\n readonly NotificationLayout = NotificationLayout;\n readonly NotificationButtonStyle = NotificationButtonStyle;\n readonly LoaderTheme = LoaderTheme;\n readonly LoyaltyRoutesPath = LoyaltyRoutesPath;\n readonly AviosAccountLinkingStatus = AviosAccountLinkingStatus;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input() enabledBackButtonUrl: string;\n\n qrCodeImageUrl$: Observable;\n parsedMobilePhone$: Observable;\n\n twoFactorAuthStatus$: Observable;\n aviosLinkingStatus$: Observable;\n\n authState: AuthState = AuthState.CHOOSE_TYPE;\n secretKey: string;\n isConfirmModalOpen = false;\n isMFAModalOpened = false;\n hasError = false;\n\n validateGAuthForm: UntypedFormGroup;\n\n @ViewChild('fcomNotification', { static: false })\n notification: ElementRef;\n\n @ViewChild('appFirstStep', { static: false })\n appFirstStep: ElementRef;\n\n @ViewChild('appThirdStep', { static: false })\n appThirdStep: ElementRef;\n\n private subscriptions = new Subscription();\n\n constructor(\n private fb: UntypedFormBuilder,\n private twoFactorAuthService: TwoFactorAuthService,\n private gtmService: GtmService,\n private cdRef: ChangeDetectorRef,\n private profileService: ProfileService,\n private aviosLinkingService: AviosLinkingService\n ) {\n this.validateGAuthForm = this.fb.group({\n securityCode: [null, [Validators.required]],\n });\n }\n\n ngOnInit(): void {\n this.twoFactorAuthStatus$ = this.twoFactorAuthService.status$;\n this.aviosLinkingStatus$ = this.aviosLinkingService.status$;\n }\n\n ngOnDestroy(): void {\n unsubscribe(this.subscriptions);\n }\n\n resetAuthState(): void {\n this.validateGAuthForm.reset();\n this.authState = AuthState.CHOOSE_TYPE;\n this.secretKey = undefined;\n this.cdRef.detectChanges();\n this.setFocus(this.appFirstStep);\n }\n\n onCloseError(): void {\n this.hasError = false;\n }\n\n selectTwoFactorAuthType(authType: string): void {\n if (authType === TwoFactorAuthType.SMS) {\n this.subscriptions.add(\n this.twoFactorAuthService.enableSMSAuth().subscribe({\n next: () => {\n this.trackGTM('activating-successful');\n },\n error: () => {\n this.hasError = true;\n this.trackGTM('activating-failed');\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n },\n })\n );\n } else if (authType === TwoFactorAuthType.APP) {\n this.subscriptions.add(\n this.twoFactorAuthService.enableGAuthValidated().subscribe({\n next: (response) => {\n this.authState = AuthState.VERIFY;\n this.qrCodeImageUrl$ = this.twoFactorAuthService.getQRCodeImageUrl(response.secretKey);\n this.secretKey = response.secretKey;\n this.cdRef.detectChanges();\n this.setFocus(this.appThirdStep);\n },\n error: () => {\n this.authState = AuthState.CHOOSE_TYPE;\n this.hasError = true;\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n },\n })\n );\n }\n }\n\n validateCode(): void {\n const securityCode = this.validateGAuthForm.get('securityCode').value;\n if (!securityCode || !/^\\d{6}$/.test(securityCode)) {\n this.authState = AuthState.INCORRECT_CODE;\n return;\n }\n this.authState = AuthState.LOADING;\n this.subscriptions.add(\n this.twoFactorAuthService.validateGAuth(this.validateGAuthForm.get('securityCode').value).subscribe({\n next: (response) => {\n if (response.valid) {\n this.authState = AuthState.CHOOSE_TYPE;\n this.validateGAuthForm.reset();\n this.trackGTM('activating-successful');\n } else {\n this.authState = AuthState.INCORRECT_CODE;\n }\n },\n error: () => {\n this.authState = AuthState.ERROR;\n this.trackGTM('activating-failed');\n },\n })\n );\n }\n\n disableGAuth(): void {\n this.subscriptions.add(\n this.twoFactorAuthService.disableGAuth().subscribe({\n next: () => {\n this.authState = AuthState.CHOOSE_TYPE;\n this.trackGTM('disabling-successful');\n },\n error: () => {\n this.hasError = true;\n this.trackGTM('disabling-failed');\n },\n })\n );\n }\n\n openConfirmModal(event: Event): void {\n stopPropagation(event);\n this.isConfirmModalOpen = true;\n this.parsedMobilePhone$ = this.profileService.getProfile().pipe(\n filter(\n ({ parsedMobilePhone: { countryCode, nationalNumber } }) =>\n countryCode !== undefined && nationalNumber !== undefined\n ),\n map(({ parsedMobilePhone: { countryCode, nationalNumber } }) => `+${countryCode} ${nationalNumber}`),\n finShare()\n );\n }\n\n private trackGTM(state: string): void {\n this.gtmService.trackElement(\n `update-profile-2fa-${state}`,\n GaContext.SERVICE_FORMS,\n ElementTypes.MODAL,\n state,\n ElementActions.SUBMIT\n );\n }\n\n onBackButtonLinkClick(): void {\n this.gtmService.trackElement(\n 'update-profile-2fa-back-button-url',\n GaContext.SERVICE_FORMS,\n ElementTypes.NOTIFICATION,\n undefined,\n ElementActions.CLICK\n );\n }\n\n private setFocus(target: ElementRef): void {\n target.nativeElement.focus();\n }\n}\n","
    \n
    \n \n {{\n (formStatus === FormStatus.ERROR ? 'SERVICE_FORMS.serviceForms.error.title' : 'plus.profile.updateSuccess')\n | finLocalization\n }}\n \n
    \n {{\n 'SERVICE_FORMS.serviceForms.mandatoryFields' | finLocalization\n }}\n \n
    \n \n
    \n
    \n \n \n {{ 'SERVICE_FORMS.serviceForms.fields.passportInfo.title' | finLocalization }}\n \n \n
    \n \n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n
    \n \n
    \n
    \n
    \n\n\n
    \n {{ 'SERVICE_FORMS.serviceForms.fields.passportInfo.title' | finLocalization }}\n
    \n
    \n {{ 'SERVICE_FORMS.serviceForms.fields.passportInfo.paragraph' | finLocalization }}\n
    \n\n","import {\n ChangeDetectorRef,\n Component,\n ElementRef,\n OnDestroy,\n OnInit,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, Subscription } from 'rxjs';\nimport { map, take } from 'rxjs/operators';\n\nimport { ButtonType, ModalButtons, NotificationTheme, LoaderTheme } from '@fcom/ui-components';\nimport { Profile } from '@fcom/core-api/login';\nimport { FormStatus } from '@fcom/service-forms';\nimport { trackFormState } from '@fcom/service-forms/services/utils';\nimport { GtmService } from '@fcom/common/gtm';\nimport { dateValidator } from '@fcom/service-forms/services/form-validators';\nimport { LocalDate, unsubscribe } from '@fcom/core/utils';\nimport { SelectOption } from '@fcom/common';\nimport { CountryCode } from '@fcom/core';\nimport { LanguageService } from '@fcom/ui-translate';\nimport { finShare } from '@fcom/rx';\n\nimport { PassportInformationFormFields, PassportInformationSubmissionData } from '../../interfaces/profile.interface';\nimport { ProfileService } from '../../services/profile.service';\n\nconst PASSPORT_FORM = 'update-profile-passport-information';\n\n@Component({\n selector: 'fin-loyalty-passport-information-form',\n templateUrl: 'loyalty-passport-information-form.component.html',\n styleUrls: ['./loyalty-passport-information-form.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class LoyaltyPassportFormComponent implements OnInit, OnDestroy {\n readonly FormStatus = FormStatus;\n readonly PassportInformationFormFields = PassportInformationFormFields;\n readonly ModalButtons = ModalButtons;\n readonly ButtonType = ButtonType;\n readonly NotificationTheme = NotificationTheme;\n readonly LoaderTheme = LoaderTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n reactiveForm: UntypedFormGroup;\n countries$: Observable;\n formStatus: FormStatus = FormStatus.INITIAL;\n modalOpen = false;\n\n currentDate = LocalDate.now();\n expiryMinDate = LocalDate.now().minusYears(15);\n expiryMaxDate = LocalDate.now().plusYears(15);\n\n public notification: ElementRef;\n\n @ViewChild('fcomNotification', { static: false })\n set notificationElem(notificationElem: ElementRef) {\n this.notification = notificationElem;\n }\n\n @ViewChild('openModalButton', { static: false })\n openModalButton: ElementRef;\n\n private subscriptions = new Subscription();\n\n constructor(\n private profileService: ProfileService,\n private languageService: LanguageService,\n private fb: UntypedFormBuilder,\n private gtmService: GtmService,\n private cdRef: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.formStatus = FormStatus.LOADING;\n const countryCodes$: Observable = this.languageService.translate('countryCodes').pipe(finShare());\n\n this.countries$ = countryCodes$.pipe(\n map((countryCodes) => {\n const selectOptions: SelectOption[] = countryCodes.map((countryCodeData) => ({\n value: countryCodeData.countryCode,\n name: countryCodeData.name,\n }));\n selectOptions.unshift({ value: '', name: '-' });\n return selectOptions;\n }),\n take(1)\n );\n\n this.subscriptions.add(\n this.profileService.getProfile().subscribe((profile: Profile) => {\n this.createForm(profile);\n this.formStatus = FormStatus.INITIAL;\n })\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n createForm(profile: Profile): void {\n this.reactiveForm = this.fb.group({\n [PassportInformationFormFields.NUMBER]: [\n profile.passport.passportNumber ? profile.passport.passportNumber : '',\n Validators.required,\n ],\n [PassportInformationFormFields.ISSUE_DATE]: [\n profile.passport.passportIssueDate ? new LocalDate(profile.passport.passportIssueDate) : '',\n [dateValidator(), Validators.required],\n ],\n [PassportInformationFormFields.EXPIRY_DATE]: [\n profile.passport.passportExpirationDate ? new LocalDate(profile.passport.passportExpirationDate) : '',\n [dateValidator(), Validators.required],\n ],\n [PassportInformationFormFields.COUNTRY]: [\n profile.passport.passportCountry ? profile.passport.passportCountry : '',\n Validators.required,\n ],\n });\n }\n\n onSubmit(): void {\n if (this.formStatus === FormStatus.LOADING) {\n return;\n }\n\n if (!this.reactiveForm.valid) {\n this.reactiveForm.markAllAsTouched();\n\n return;\n }\n\n this.formStatus = FormStatus.LOADING;\n\n const data: PassportInformationSubmissionData = {\n travelProfile: {\n passportInformation: {\n passportNumber: this.reactiveForm.value[PassportInformationFormFields.NUMBER],\n passportIssueDate: this.reactiveForm.value[PassportInformationFormFields.ISSUE_DATE]?.toString(),\n passportExpirationDate: this.reactiveForm.value[PassportInformationFormFields.EXPIRY_DATE]?.toString(),\n passportCountry: this.reactiveForm.value[PassportInformationFormFields.COUNTRY],\n },\n },\n };\n\n trackFormState(PASSPORT_FORM, 'send-attempt', this.gtmService);\n\n this.subscriptions.add(\n this.profileService.updatePassportInformation(data).subscribe({\n next: (result) => {\n if (result.status.message === 'OK') {\n this.formStatus = FormStatus.COMPLETE;\n trackFormState(PASSPORT_FORM, 'success', this.gtmService);\n } else {\n this.formStatus = FormStatus.ERROR;\n trackFormState(PASSPORT_FORM, 'error', this.gtmService);\n }\n },\n error: () => {\n this.formStatus = FormStatus.ERROR;\n trackFormState(PASSPORT_FORM, 'error', this.gtmService);\n },\n complete: () => {\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n },\n })\n );\n }\n\n openModal(event: MouseEvent): void {\n event.stopPropagation();\n this.modalOpen = true;\n }\n\n closeModal(): void {\n this.openModalButton.nativeElement.focus();\n }\n}\n","
    \n \n {{\n (status === CardsStatus.ERROR\n ? 'plus.profile.paymentCards.cardRemoveError'\n : 'plus.profile.paymentCards.cardRemoveSuccess'\n ) | finLocalization\n }}\n \n
    \n
    \n \n
    \n\n

    \n {{\n (cardTokens.length > 0 ? 'plus.profile.paymentCards.mySavedCards' : 'plus.profile.paymentCards.noSavedCards')\n | finLocalization\n }}\n

    \n\n 0; else noSavedCardsText\">\n \n
    \n
    \n {{ card.name }} {{ card.cardType | titlecase }}\n
    \n
    \n **** {{ card.lastDigits }}\n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n {{\n (card.corporate ? 'plus.profile.paymentCards.corporateCard' : 'plus.profile.paymentCards.personalCard')\n | finLocalization\n }}\n
    \n
    \n {{ 'plus.profile.paymentCards.nameOnCard' | finLocalization }}: {{ card.cardHolder }}\n
    \n
    {{ 'plus.profile.paymentCards.expiryDate' | finLocalization }}: {{ card.expiryDate }}
    \n
    \n \n {{ 'plus.profile.paymentCards.removeCard' | finLocalization }}\n \n
    \n \n
    \n\n\n

    {{ 'plus.profile.paymentCards.addCardsInfo' | finLocalization }}

    \n
    \n\n\n

    {{ 'plus.profile.removeCreditCardText' | finLocalization }}

    \n\n","import { Component, OnInit, ViewChild, ElementRef, ChangeDetectorRef, OnDestroy } from '@angular/core';\n\nimport { IconLibrary, SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Subscription } from 'rxjs';\n\nimport { LoaderTheme, ModalButtons, NotificationTheme } from '@fcom/ui-components';\nimport { unsubscribe } from '@fcom/core/utils';\n\nimport { ProfileService } from '../../services/profile.service';\nimport { PaymentCardData } from '../../interfaces/payment-cards.interface';\n\nenum CardsStatus {\n INITIAL,\n LOADING,\n COMPLETE,\n ERROR,\n}\n\n@Component({\n selector: 'fin-loyalty-payment-cards',\n templateUrl: 'loyalty-payment-cards.component.html',\n styleUrls: ['./loyalty-payment-cards.component.scss'],\n})\nexport class LoyaltyPaymentCardsComponent implements OnInit, OnDestroy {\n public readonly CardsStatus = CardsStatus;\n public readonly ModalButtons = ModalButtons;\n public readonly IconLibrary = IconLibrary;\n public readonly NotificationTheme = NotificationTheme;\n public readonly LoaderTheme = LoaderTheme;\n public readonly SvgLibraryIcon = SvgLibraryIcon;\n\n notification: ElementRef;\n selectedToken: string;\n selectedId: number;\n modalOpen = false;\n\n private subscriptions = new Subscription();\n\n @ViewChild('fcomNotification', { static: false })\n set notificationElem(notificationElem: ElementRef) {\n this.notification = notificationElem;\n }\n\n @ViewChild('cardsHeading', { static: false })\n cardsHeading: ElementRef;\n\n status: CardsStatus = CardsStatus.INITIAL;\n cardTokens: PaymentCardData[] = [];\n\n constructor(\n private profileService: ProfileService,\n private cdRef: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.getPaymentCards();\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n onOpenModal(event: MouseEvent, token: string, id: number): void {\n event.stopPropagation();\n this.selectedToken = token;\n this.selectedId = id;\n this.modalOpen = true;\n }\n\n onRemoveCard(token: string, id: number): void {\n this.status = CardsStatus.LOADING;\n this.modalOpen = false;\n this.selectedToken = undefined;\n this.selectedId = undefined;\n this.subscriptions.add(\n this.profileService.deletePaymentCard(token).subscribe({\n next: (result) => {\n if (result.ok) {\n this.cardTokens.splice(id, 1);\n this.cardsHeading.nativeElement.focus();\n this.status = CardsStatus.COMPLETE;\n } else {\n this.status = CardsStatus.ERROR;\n }\n },\n error: () => {\n this.status = CardsStatus.ERROR;\n },\n complete: () => {\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n },\n })\n );\n }\n\n private getPaymentCards() {\n this.status = CardsStatus.LOADING;\n this.subscriptions.add(\n this.profileService.getParsedPaymentCards().subscribe({\n next: (cards) => {\n if (cards) {\n this.cardTokens = cards;\n }\n this.status = CardsStatus.INITIAL;\n },\n error: () => {\n this.status = CardsStatus.INITIAL;\n },\n })\n );\n }\n}\n","
    \n
    \n \n {{\n (formStatus === FormStatus.ERROR ? 'SERVICE_FORMS.serviceForms.error.title' : 'plus.profile.updateSuccess')\n | finLocalization\n }}\n \n
    \n\n \n \n\n
    \n \n
    \n
    \n \n
    \n \n \n
    \n \n \n \n \n
    \n
    \n
    \n \n \n \n \n \n
    \n

    \n {{ 'plus.profile.travelProfile.topicsOfInterest.heading' | finLocalization }}\n

    \n
    \n
    \n \n {{ 'plus.profile.travelProfile.topicsOfInterest.heading' | finLocalization }}\n \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n\n\n

    \n {{ 'SERVICE_FORMS.serviceForms.fields.email.tooltip.heading' | finLocalization }}\n

    \n

    {{ 'plus.profile.travelProfile.childrenTooltipText' | finLocalization }}

    \n

    \n","import { Component, OnInit, ElementRef, ViewChild, ChangeDetectorRef } from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormGroup, UntypedFormArray, UntypedFormControl, Validators } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, Subscription } from 'rxjs';\n\nimport { ButtonType, LoaderTheme, NotificationTheme } from '@fcom/ui-components';\nimport {\n CheckboxOptionList,\n FormStatus,\n AnalyticsFormStatus,\n TypedFormGroup,\n TypedFormArray,\n} from '@fcom/service-forms';\nimport { GtmService } from '@fcom/common/gtm';\nimport { trackFormState } from '@fcom/service-forms/services/utils';\nimport { Profile } from '@fcom/core-api/login';\nimport { FragmentService, SelectOption } from '@fcom/common';\nimport { enumValues } from '@fcom/core/utils';\nimport { CmsArticle } from '@fcom/core-api';\nimport { finShare } from '@fcom/rx';\n\nimport {\n TravelProfileSubmissionData,\n TravelProfileFormField,\n SeatPreferenceOption,\n MealPreferenceOption,\n TopicOfInterest,\n} from '../../interfaces/profile.interface';\nimport { ProfileService } from '../../services/profile.service';\n\nconst INITIAL_MAX_CHILDREN = 5;\nconst HOUSEHOLD_SIZE = 11;\nconst MAX_CHILD_BIRTH_YEAR = 19;\nconst ANALYTICS_FORM_NAME = 'update-profile-travel-profile';\n\n@Component({\n selector: 'fin-loyalty-travel-profile-form',\n templateUrl: 'loyalty-travel-profile-form.component.html',\n styleUrls: ['./loyalty-travel-profile-form.component.scss'],\n})\nexport class LoyaltyTravelProfileFormComponent implements OnInit {\n public readonly FormStatus = FormStatus;\n public readonly TravelProfileFormField = TravelProfileFormField;\n public readonly ButtonType = ButtonType;\n public readonly NotificationTheme = NotificationTheme;\n public readonly LoaderTheme = LoaderTheme;\n public readonly SvgLibraryIcon = SvgLibraryIcon;\n\n public travelProfileDescription$: Observable;\n\n public notification: ElementRef;\n\n @ViewChild('fcomNotification', { static: false })\n set notificationElem(notificationElem: ElementRef) {\n this.notification = notificationElem;\n }\n\n reactiveForm: TypedFormGroup>;\n seatPreferenceOptions: SelectOption[] = [\n { value: SeatPreferenceOption.NO_PREFERENCE },\n { value: SeatPreferenceOption.AISLE },\n { value: SeatPreferenceOption.WINDOW },\n ];\n mealPreferenceOptions: SelectOption[] = [\n { value: MealPreferenceOption.NO_PREFERENCE },\n { value: MealPreferenceOption.BLML },\n { value: MealPreferenceOption.DBML },\n { value: MealPreferenceOption.GFML },\n { value: MealPreferenceOption.LCML },\n { value: MealPreferenceOption.LFML },\n { value: MealPreferenceOption.LSML },\n { value: MealPreferenceOption.NLML },\n { value: MealPreferenceOption.HNML },\n { value: MealPreferenceOption.AVML },\n { value: MealPreferenceOption.KSML },\n { value: MealPreferenceOption.MOML },\n { value: MealPreferenceOption.CHML },\n { value: MealPreferenceOption.FPML },\n { value: MealPreferenceOption.VGML },\n { value: MealPreferenceOption.VLML },\n { value: MealPreferenceOption.VJML },\n { value: MealPreferenceOption.SPML },\n ];\n householdSizeOptions: SelectOption[];\n birthYears: SelectOption[];\n childrenBirthYearsFormGroupConfig: { [key: string]: any } = { birthYear: ['', [Validators.required]] };\n topicsOfInterestControls: CheckboxOptionList = [\n { id: TopicOfInterest.FOD, label: 'plus.profile.travelProfile.topicsOfInterest.FOD' },\n { id: TopicOfInterest.SPE, label: 'plus.profile.travelProfile.topicsOfInterest.SPE' },\n { id: TopicOfInterest.MUE, label: 'plus.profile.travelProfile.topicsOfInterest.MUE' },\n { id: TopicOfInterest.BEF, label: 'plus.profile.travelProfile.topicsOfInterest.BEF' },\n { id: TopicOfInterest.HOD, label: 'plus.profile.travelProfile.topicsOfInterest.HOD' },\n { id: TopicOfInterest.BUL, label: 'plus.profile.travelProfile.topicsOfInterest.BUL' },\n { id: TopicOfInterest.HEW, label: 'plus.profile.travelProfile.topicsOfInterest.HEW' },\n { id: TopicOfInterest.HOT, label: 'plus.profile.travelProfile.topicsOfInterest.HOT' },\n { id: TopicOfInterest.CAR, label: 'plus.profile.travelProfile.topicsOfInterest.CAR' },\n { id: TopicOfInterest.CIH, label: 'plus.profile.travelProfile.topicsOfInterest.CIH' },\n { id: TopicOfInterest.BEH, label: 'plus.profile.travelProfile.topicsOfInterest.BEH' },\n { id: TopicOfInterest.SPH, label: 'plus.profile.travelProfile.topicsOfInterest.SPH' },\n { id: TopicOfInterest.ACH, label: 'plus.profile.travelProfile.topicsOfInterest.ACH' },\n { id: TopicOfInterest.TOH, label: 'plus.profile.travelProfile.topicsOfInterest.TOH' },\n { id: TopicOfInterest.CRU, label: 'plus.profile.travelProfile.topicsOfInterest.CRU' },\n { id: TopicOfInterest.ENR, label: 'plus.profile.travelProfile.topicsOfInterest.ENR' },\n ];\n formStatus: FormStatus = FormStatus.INITIAL;\n initialMaxChildren: number = INITIAL_MAX_CHILDREN;\n maxChildren = 0;\n tooltipOptions = {\n enableOnClick: true,\n showCloseButton: true,\n tooltipWidth: 342,\n minOffsetLeft: 10,\n };\n\n private subscriptions = new Subscription();\n\n constructor(\n private fb: UntypedFormBuilder,\n private profileService: ProfileService,\n private gtmService: GtmService,\n private fragmentService: FragmentService,\n private cdRef: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.travelProfileDescription$ = this.fragmentService\n .getFragment('LOYALTY.fragments.travelProfileDescription.url')\n .pipe(finShare());\n\n this.householdSizeOptions = this.generateSelectOptionIntRange(HOUSEHOLD_SIZE); // Household size 0 - 10\n this.birthYears = this.generateSelectOptionIntRange(MAX_CHILD_BIRTH_YEAR, new Date().getFullYear()); // Birth years ranges from the birth year of an 18 year old until the current year\n this.subscriptions.add(\n this.profileService.getProfile().subscribe((profile: Profile) => {\n this.formStatus = FormStatus.INITIAL;\n this.createForm(profile);\n this.onHouseholdSizeChange();\n })\n );\n }\n\n onSubmit(): void {\n if (this.formStatus === FormStatus.LOADING) {\n return;\n }\n\n this.formStatus = FormStatus.LOADING;\n\n const data: TravelProfileSubmissionData = this.parseSubmissionData(this.reactiveForm.value);\n\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.SEND_ATTEMPT, this.gtmService);\n\n this.subscriptions.add(\n this.profileService.updateTravelProfile(data).subscribe({\n next: (result) => {\n if (result.status.message === 'OK') {\n this.formStatus = FormStatus.COMPLETE;\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.SUCCESS, this.gtmService);\n } else {\n this.formStatus = FormStatus.ERROR;\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.ERROR, this.gtmService);\n }\n },\n error: () => {\n this.formStatus = FormStatus.ERROR;\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.ERROR, this.gtmService);\n },\n complete: () => {\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n },\n })\n );\n }\n\n get birthYearsArray(): UntypedFormArray {\n return this.reactiveForm.get(TravelProfileFormField.CHILDREN_BIRTH_YEARS) as UntypedFormArray;\n }\n\n private createForm(profile: Profile) {\n const controls = this.topicsOfInterestControls.map(\n (control) =>\n new UntypedFormControl(profile.topicsOfInterest ? profile.topicsOfInterest.includes(control.id) : false)\n );\n\n const mealPreference =\n enumValues(MealPreferenceOption).find((meal) => meal === profile.preferredMealType) ??\n MealPreferenceOption.NO_PREFERENCE;\n this.reactiveForm = this.fb.group({\n [TravelProfileFormField.SEAT_PREF]: [\n profile.preferredSeatType ? profile.preferredSeatType : SeatPreferenceOption.NO_PREFERENCE,\n ],\n [TravelProfileFormField.MEAL_PREF]: [mealPreference],\n [TravelProfileFormField.HOUSEHOLD_SIZE]: [\n profile.householdSize ? this.setHouseHoldSize(+profile.householdSize) : 0,\n ],\n [TravelProfileFormField.CHILDREN_BIRTH_YEARS]: this.fb.array([]),\n [TravelProfileFormField.TOPICS_OF_INTEREST]: new UntypedFormArray(controls),\n }) as TypedFormGroup>;\n\n if (profile.childrenBirthYears && profile.childrenBirthYears.length > 0) {\n this.prefillChildrenBirthYears(profile.childrenBirthYears);\n }\n }\n\n private onHouseholdSizeChange() {\n this.subscriptions.add(\n this.reactiveForm.get(TravelProfileFormField.HOUSEHOLD_SIZE).valueChanges.subscribe((val) => {\n this.setMaxChildLimit(+val);\n })\n );\n }\n\n private setHouseHoldSize(householdSize: number) {\n this.setMaxChildLimit(householdSize);\n return householdSize;\n }\n\n private setMaxChildLimit(householdSize: number) {\n this.maxChildren =\n householdSize <= this.initialMaxChildren ? Math.max(0, householdSize - 1) : this.initialMaxChildren;\n }\n\n private prefillChildrenBirthYears(years: string[]) {\n years.forEach((year) => {\n this.birthYearsArray.push(this.fb.group({ birthYear: [year, [Validators.required]] }));\n });\n }\n\n private generateSelectOptionIntRange(amount: number, rangeEnd?: number): SelectOption[] {\n return Array.from(Array(amount).keys()).map((int) => {\n const value = rangeEnd ? rangeEnd - int : int;\n return { name: value.toString(), value: value.toString() };\n });\n }\n\n private parseSubmissionData(data: { [key: string]: any }): TravelProfileSubmissionData {\n return {\n householdSize: +data[TravelProfileFormField.HOUSEHOLD_SIZE],\n childrenBirthYears: data[TravelProfileFormField.CHILDREN_BIRTH_YEARS].map((prop) => prop.birthYear),\n travelProfile: {\n seatPreference: data[TravelProfileFormField.SEAT_PREF],\n mealPreference: data[TravelProfileFormField.MEAL_PREF],\n },\n topicsOfInterest: this.parseSelectedTopics(data[TravelProfileFormField.TOPICS_OF_INTEREST]),\n };\n }\n\n private parseSelectedTopics(topics: boolean[]): string[] {\n return this.topicsOfInterestControls\n .filter((_topic, i) => topics.some((checked: boolean, j: number) => checked && i === j))\n .map((topic) => topic.id);\n }\n}\n","

    \n
    \n \n {{\n (formStatus === FormStatus.ERROR ? 'SERVICE_FORMS.serviceForms.error.title' : 'plus.profile.updateSuccess')\n | finLocalization\n }}\n \n
    \n {{\n 'SERVICE_FORMS.serviceForms.mandatoryFields' | finLocalization\n }}\n \n
    \n \n
    \n
    \n \n
    \n \n \n \n \n
    \n \n \n \n
    \n \n \n \n \n \n\n","import {\n Component,\n OnInit,\n Output,\n EventEmitter,\n Input,\n ViewEncapsulation,\n ElementRef,\n ViewChild,\n ChangeDetectorRef,\n OnDestroy,\n} from '@angular/core';\nimport { UntypedFormGroup, UntypedFormBuilder, Validators } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Subscription } from 'rxjs';\n\nimport { ButtonType, LoaderTheme, NotificationTheme } from '@fcom/ui-components';\nimport { GtmService } from '@fcom/common/gtm';\nimport { FormStatus, AnalyticsFormStatus } from '@fcom/service-forms';\nimport { ProfileService } from '@fcom/loyalty-profile/services/profile.service';\nimport { Profile } from '@fcom/core-api/login';\nimport { finnairPlusNumberValidator } from '@fcom/service-forms/services/form-validators';\nimport { EMAIL_PATTERN, NAME_PATTERN, unsubscribe } from '@fcom/core/utils';\nimport { trackFormState } from '@fcom/service-forms/services/utils';\nimport { GuardianInformationSubmissionData } from '@fcom/loyalty-profile';\n\nimport { GuardianInformationFormField } from '../../interfaces';\n\nexport enum GuardianInformationHostingComponent {\n UPDATE_PROFILE,\n LOST_CARD,\n}\n\nconst ANALYTICS_FORM_NAME = 'update-profile-guardian-information';\n\n@Component({\n selector: 'fin-guardian-information-form',\n templateUrl: 'guardian-information-form.component.html',\n styleUrls: ['./guardian-information-form.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class GuardianInformationFormComponent implements OnInit, OnDestroy {\n readonly FormStatus = FormStatus;\n readonly GuardianInformationFormField = GuardianInformationFormField;\n readonly GuardianInformationHostingComponent = GuardianInformationHostingComponent;\n readonly ButtonType = ButtonType;\n readonly NotificationTheme = NotificationTheme;\n readonly LoaderTheme = LoaderTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input()\n hostingComponent: GuardianInformationHostingComponent = GuardianInformationHostingComponent.UPDATE_PROFILE;\n\n @Input()\n submitButtonText = 'SERVICE_FORMS.serviceForms.save';\n\n @Output()\n success: EventEmitter = new EventEmitter();\n\n @ViewChild('notification', { static: false })\n notification: ElementRef;\n\n reactiveForm: UntypedFormGroup;\n formStatus: FormStatus = FormStatus.LOADING;\n\n private subscriptions = new Subscription();\n\n constructor(\n private fb: UntypedFormBuilder,\n private profileService: ProfileService,\n private gtmService: GtmService,\n private cdRef: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.subscriptions.add(\n this.profileService.getProfile().subscribe((profile: Profile) => {\n this.createForm(profile);\n this.formStatus = FormStatus.INITIAL;\n })\n );\n }\n\n ngOnDestroy(): void {\n unsubscribe(this.subscriptions);\n }\n\n onSubmit(): void {\n if (!this.reactiveForm.valid || this.formStatus === FormStatus.LOADING) {\n this.reactiveForm.markAllAsTouched();\n\n return;\n }\n\n this.formStatus = FormStatus.LOADING;\n\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.SEND_ATTEMPT, this.gtmService);\n\n const data: GuardianInformationSubmissionData = {\n [GuardianInformationFormField.GUARDIAN_NAME]: this.reactiveForm.value[GuardianInformationFormField.GUARDIAN_NAME],\n [GuardianInformationFormField.GUARDIAN_PHONE_NUMBER]:\n this.reactiveForm.value[GuardianInformationFormField.GUARDIAN_PHONE_NUMBER],\n [GuardianInformationFormField.GUARDIAN_EMAIL]:\n this.reactiveForm.value[GuardianInformationFormField.GUARDIAN_EMAIL],\n [GuardianInformationFormField.GUARDIAN_MEMBER_NUMBER]:\n this.reactiveForm.value[GuardianInformationFormField.GUARDIAN_MEMBER_NUMBER],\n };\n\n this.subscriptions.add(\n this.profileService.updateGuardianInformation(data).subscribe({\n next: (result) => {\n if (result.status.message === 'OK') {\n this.formStatus = FormStatus.COMPLETE;\n this.success.emit();\n if (this.hostingComponent !== GuardianInformationHostingComponent.LOST_CARD) {\n this.scrollToNotification();\n }\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.SUCCESS, this.gtmService);\n } else {\n this.formStatus = FormStatus.ERROR;\n this.scrollToNotification();\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.ERROR, this.gtmService);\n }\n },\n error: () => {\n this.formStatus = FormStatus.ERROR;\n this.scrollToNotification();\n trackFormState(ANALYTICS_FORM_NAME, AnalyticsFormStatus.ERROR, this.gtmService);\n },\n })\n );\n }\n\n private createForm(profile: Profile): void {\n const formConfig = {\n [GuardianInformationFormField.GUARDIAN_NAME]: [\n profile.guardianName,\n [Validators.required, Validators.pattern(NAME_PATTERN)],\n ],\n [GuardianInformationFormField.GUARDIAN_PHONE_NUMBER]: [\n profile.guardianPhoneNumber,\n [Validators.required, Validators.pattern(/^\\+?[0-9\\s]{1,15}$/)],\n ],\n [GuardianInformationFormField.GUARDIAN_EMAIL]: [\n profile.guardianEmail,\n [Validators.required, Validators.pattern(EMAIL_PATTERN)],\n ],\n [GuardianInformationFormField.GUARDIAN_MEMBER_NUMBER]: [\n profile.guardianMemberNumber,\n [Validators.required, finnairPlusNumberValidator()],\n ],\n };\n\n if (this.hostingComponent === GuardianInformationHostingComponent.LOST_CARD) {\n formConfig[GuardianInformationFormField.GUARDIAN_CONSENT] = [false, [Validators.requiredTrue]];\n }\n\n this.reactiveForm = this.fb.group(formConfig);\n }\n\n private scrollToNotification(): void {\n this.cdRef.detectChanges();\n this.notification.nativeElement.scrollIntoView({ behavior: 'smooth', block: 'center' });\n }\n}\n","\n \n
    \n \n
    \n \n
    \n
    \n {{\n 'plus.profile.personalInformation' | finLocalization\n }}\n
    \n
    \n
    \n \n
    \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n \n
    \n \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n\n\n
    \n
    \n {{ label | finLocalization }}\n
    \n \n
    \n
    \n","import { Component, ViewChild, ElementRef, OnInit, OnDestroy, AfterViewInit } from '@angular/core';\nimport { ActivatedRoute, Params } from '@angular/router';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { EMPTY, Observable, Subscription } from 'rxjs';\nimport { delay, map, switchMap, take, tap } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { LoaderTheme } from '@fcom/ui-components';\nimport { unsubscribe } from '@fcom/core/utils';\nimport { Profile, ProfileTier } from '@fcom/core-api/login';\nimport { ScrollService } from '@fcom/common/services/scroll/scroll.service';\nimport { ProfileService } from '@fcom/loyalty-profile/services/profile.service';\nimport { CmsTemplateService } from '@fcom/cms/services';\nimport { PageMetaService } from '@fcom/common/services';\nimport { CmsTemplate } from '@fcom/core-api';\nimport { LoyaltyRoutesPath, setPageMetadata } from '@fcom/loyalty-core';\nimport { finShare } from '@fcom/rx';\nimport { ExpandComponent } from '@fcom/common';\n\nenum Status {\n INITIAL,\n LOADING,\n COMPLETE,\n}\n\nexport enum PlusProfileQueryParams {\n Section = 'section',\n TwoFactorAuthEnabledBackButtonUrl = 'twoFactorAuthEnabledBackButtonUrl',\n}\n\nexport enum PlusProfileQueryParamSectionValue {\n TwoFactorAuth = 'two-factor-auth',\n MailingAddress = 'mailing-address',\n MarketingPreferences = 'marketing-preferences',\n TravelProfileAndInterests = 'travel-profile-and-interests',\n}\n\nexport type RouterQueryParams = {\n [PlusProfileQueryParams.Section]?: PlusProfileQueryParamSectionValue;\n [PlusProfileQueryParams.TwoFactorAuthEnabledBackButtonUrl]?: string;\n};\n\n@Component({\n templateUrl: 'plus-profile.component.html',\n})\nexport class PlusProfileComponent implements OnInit, OnDestroy, AfterViewInit {\n readonly ProfileTier = ProfileTier;\n readonly Status = Status;\n readonly LoaderTheme = LoaderTheme;\n readonly PlusProfileQueryParams = PlusProfileQueryParams;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n routerParams$: Observable;\n profile$: Observable;\n template$: Observable;\n pageTitle$: Observable;\n\n status: Status = Status.INITIAL;\n\n @ViewChild('expandTwoFactorAuth') expandTwoFactorAuth: ExpandComponent;\n @ViewChild('expandTwoFactorAuthTrigger') expandTwoFactorAuthTrigger: ElementRef;\n\n @ViewChild('expandMailingAddress') expandMailingAddress: ExpandComponent;\n @ViewChild('expandMailingAddressTrigger')\n expandMailingAddressTrigger: ElementRef;\n\n @ViewChild('expandMarketingPreferences') expandMarketingPreferences: ExpandComponent;\n @ViewChild('expandMarketingPreferencesTrigger')\n expandMarketingPreferencesTrigger: ElementRef;\n\n @ViewChild('expandTravelProfile') expandTravelProfile: ExpandComponent;\n @ViewChild('expandTravelProfileTrigger')\n expandTravelProfileTrigger: ElementRef;\n\n private subscriptions: Subscription = new Subscription();\n\n constructor(\n private router: ActivatedRoute,\n private scrollService: ScrollService,\n private profileService: ProfileService,\n private languageService: LanguageService,\n private cmsTemplateService: CmsTemplateService,\n private pageMetaService: PageMetaService\n ) {}\n\n ngOnInit(): void {\n this.status = Status.LOADING;\n\n this.routerParams$ = this.router.queryParams.pipe(take(1), finShare());\n this.profile$ = this.profileService.fetchProfile().pipe(finShare());\n\n this.subscriptions.add(\n this.profile$\n .pipe(\n take(1),\n tap(() => {\n this.status = Status.COMPLETE;\n })\n )\n .subscribe()\n );\n\n this.template$ = this.cmsTemplateService.load(\n `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.PROFILE}`\n );\n\n this.pageTitle$ = this.template$.pipe(map((template: CmsTemplate) => template?.header?.[0]?.title ?? ''));\n\n this.subscriptions.add(\n this.template$.subscribe((template: CmsTemplate) => setPageMetadata(template, this.pageMetaService))\n );\n }\n\n ngAfterViewInit(): void {\n this.subscriptions.add(\n this.profile$\n .pipe(\n delay(0),\n switchMap(() => this.routerParams$),\n switchMap((params: RouterQueryParams) => {\n const triggerMap: {\n [key in PlusProfileQueryParamSectionValue]?: { expand: ExpandComponent; trigger: ElementRef };\n } = {\n [PlusProfileQueryParamSectionValue.MailingAddress]: {\n expand: this.expandMailingAddress,\n trigger: this.expandMailingAddressTrigger,\n },\n [PlusProfileQueryParamSectionValue.MarketingPreferences]: {\n expand: this.expandMarketingPreferences,\n trigger: this.expandMarketingPreferencesTrigger,\n },\n [PlusProfileQueryParamSectionValue.TravelProfileAndInterests]: {\n expand: this.expandTravelProfile,\n trigger: this.expandTravelProfileTrigger,\n },\n [PlusProfileQueryParamSectionValue.TwoFactorAuth]: {\n expand: this.expandTwoFactorAuth,\n trigger: this.expandTwoFactorAuthTrigger,\n },\n };\n const expandComponentData = triggerMap[params.section];\n if (!expandComponentData) {\n return EMPTY;\n }\n this.scrollService.scrollToImmediate(expandComponentData.trigger);\n expandComponentData.trigger.nativeElement.focus();\n return expandComponentData.expand.isOpen$.pipe(\n take(1),\n map((isOpen) => [expandComponentData.expand, isOpen] as const)\n );\n }),\n tap(([expand, isOpen]) => {\n !isOpen && expand.toggleDetails();\n })\n )\n .subscribe()\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n}\n","
    \n
    \n
    \n \n \n
    \n\n \n
    \n\n

    {{ 'LOYALTY.aviosLinkingAndExchange.linkedAccount' | finLocalization }}

    \n
    \n\n \n {{ 'LOYALTY.aviosLinkingAndExchange.enable2faNotification.text' | finLocalization }}\n \n
    \n\n \n \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n \n
    \n \n\n \n \n \n\n \n \n
    \n\n \n \n\n \n \n

    \n {{ stepper.steps[stepper.activeStepIndex].title | finLocalization }}\n

    \n \n
    \n
    \n \n
    \n\n
    \n \n\n \n

    \n {{ 'LOYALTY.aviosLinkingAndExchange.enable2faAuthentication.description.enable' | finLocalization }}\n

    \n
    \n \n\n \n
    \n \n

    \n {{ stepper.steps[stepper.activeStepIndex].title | finLocalization }}\n

    \n

    \n {{ 'LOYALTY.aviosLinkingAndExchange.linkYourAccounts.description' | finLocalization }}\n

    \n \n
    \n
    \n \n \n
    \n\n\n\n
    \n
    \n\n \n \n
    \n
    \n
    \n \n
    \n {{ AviosPartner.BAEC }}\n
    \n
    \n
    \n
    \n
    \n\n \n \n \n \n \n \n\n","import { ChangeDetectionStrategy, Component, OnDestroy, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\n\nimport { CustomIcon, IconLibrary, SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { BehaviorSubject, Observable, Subscription, map, of, switchMap, take, tap, withLatestFrom } from 'rxjs';\n\nimport { CmsArticle } from '@fcom/core-api';\nimport { finShare } from '@fcom/rx';\nimport { CmsDataService, ConfigService, WindowRef, unsubscribe } from '@fcom/core';\nimport { LanguageService } from '@fcom/ui-translate';\nimport {\n ButtonTheme,\n IconPosition,\n ModalButtons,\n NotificationButtonStyle,\n NotificationTheme,\n StepperStep,\n} from '@fcom/ui-components';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core';\nimport { TwoFactorAuthService, TwoFactorAuthStatus } from '@fcom/loyalty-profile/services/two-factor-auth.service';\nimport { GtmService } from '@fcom/common/gtm';\nimport { GaContext } from '@fcom/common/interfaces/gtm.interface';\nimport { ElementActions, ElementTypes } from '@fcom/common';\n\nimport { AviosPartner } from '../../interfaces/avios-linking-and-exchange.interface';\nimport { AviosLinkingService, AviosAccountLinkingStatus } from '../../services/avios-linking.service';\nimport {\n PlusProfileQueryParamSectionValue,\n PlusProfileQueryParams,\n} from '../../views/plus-profile/plus-profile.component';\n\nexport enum LinkAccountsFlowStep {\n ENABLE_TWO_FACTOR_AUTH = 'enable-two-factor-auth',\n LINK_ACCOUNTS = 'link-accounts',\n}\n\nexport interface LinkAccountsStepperStep extends StepperStep {\n step: LinkAccountsFlowStep;\n}\n\nexport enum AviosLinkingAndExchangeModal {\n LinkAccounts = 'linkAccounts',\n TransferAvios = 'transferAvios',\n UnlinkAccount = 'unlinkAccount',\n}\n\n@Component({\n selector: 'fin-avios-linking-and-exchange',\n templateUrl: 'avios-linking-and-exchange.component.html',\n styleUrls: ['./avios-linking-and-exchange.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AviosLinkingAndExchangeComponent implements OnInit, OnDestroy {\n readonly LinkAccountsFlowStep = LinkAccountsFlowStep;\n readonly ButtonTheme = ButtonTheme;\n readonly CustomIcon = CustomIcon;\n readonly IconLibrary = IconLibrary;\n readonly IconPosition = IconPosition;\n readonly ModalButtons = ModalButtons;\n readonly NotificationTheme = NotificationTheme;\n readonly NotificationButtonStyle = NotificationButtonStyle;\n readonly AviosPartner = AviosPartner;\n readonly TwoFactorAuthStatus = TwoFactorAuthStatus;\n readonly AviosAccountLinkingStatus = AviosAccountLinkingStatus;\n readonly AviosLinkingAndExchangeModal = AviosLinkingAndExchangeModal;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n twoFactorAuthStatus$: Observable;\n aviosLinkingStatus$: Observable;\n\n transferBetweenAccountsFragment$: Observable;\n\n stepperSteps$: Observable;\n stepperActiveStep$ = new BehaviorSubject(LinkAccountsFlowStep.ENABLE_TWO_FACTOR_AUTH);\n\n stepperActiveStepIndex$: Observable;\n\n test$: Observable;\n\n modalFragments: {\n [key in AviosLinkingAndExchangeModal]: Observable;\n } = {\n [AviosLinkingAndExchangeModal.LinkAccounts]: null,\n [AviosLinkingAndExchangeModal.TransferAvios]: null,\n [AviosLinkingAndExchangeModal.UnlinkAccount]: null,\n };\n modalOpened: AviosLinkingAndExchangeModal | undefined;\n\n get isModalOpened(): boolean {\n return !!this.modalOpened;\n }\n\n set isModalOpened(value: boolean) {\n if (!value) {\n this.modalOpened = undefined;\n }\n }\n\n private subscriptions = new Subscription();\n\n constructor(\n private cmsDataService: CmsDataService,\n private languageService: LanguageService,\n private aviosLinkingService: AviosLinkingService,\n private twoFactorAuthService: TwoFactorAuthService,\n private configService: ConfigService,\n private router: Router,\n private windowRef: WindowRef,\n private gtmService: GtmService\n ) {}\n\n ngOnInit(): void {\n this.twoFactorAuthStatus$ = this.twoFactorAuthService.status$;\n this.aviosLinkingStatus$ = this.aviosLinkingService.status$;\n\n this.transferBetweenAccountsFragment$ = this.aviosLinkingStatus$.pipe(\n switchMap((aviosLinkingStatus) => {\n const transferBetweenAccountsFragmentName =\n aviosLinkingStatus === AviosAccountLinkingStatus.ACTIVE\n ? 'transferAviosBetweenAccountsActive'\n : 'transferAviosBetweenAccountsInactive';\n return this.languageService.translate(`LOYALTY.fragments.${transferBetweenAccountsFragmentName}.url`);\n }),\n switchMap((fragmentUrl) => this.cmsDataService.getFragmentJson(fragmentUrl)),\n finShare()\n );\n\n this.stepperSteps$ = of([\n {\n step: LinkAccountsFlowStep.ENABLE_TWO_FACTOR_AUTH,\n title: 'LOYALTY.aviosLinkingAndExchange.enable2faAuthentication.title',\n ariaLabel: 'LOYALTY.aviosLinkingAndExchange.enable2faAuthentication.title',\n },\n {\n step: LinkAccountsFlowStep.LINK_ACCOUNTS,\n title: 'LOYALTY.aviosLinkingAndExchange.linkYourAccounts.title',\n ariaLabel: 'LOYALTY.aviosLinkingAndExchange.linkYourAccounts.title',\n },\n ]);\n\n this.subscriptions.add(\n this.twoFactorAuthStatus$\n .pipe(\n tap((status) => {\n this.stepperActiveStep$.next(\n status === TwoFactorAuthStatus.ENABLED\n ? LinkAccountsFlowStep.LINK_ACCOUNTS\n : LinkAccountsFlowStep.ENABLE_TWO_FACTOR_AUTH\n );\n })\n )\n .subscribe()\n );\n\n this.stepperActiveStepIndex$ = this.stepperActiveStep$.pipe(\n withLatestFrom(this.stepperSteps$),\n map(([activeStep, steps]) => {\n return steps.findIndex((step) => step.step === activeStep);\n })\n );\n\n this.modalFragments = {\n [AviosLinkingAndExchangeModal.LinkAccounts]: this.languageService\n .translate('LOYALTY.fragments.aviosLinkingAndExchangeLinkAccountsModal.url')\n .pipe(\n take(1),\n switchMap((fragmentUrl) => this.cmsDataService.getFragmentJson(fragmentUrl)),\n finShare()\n ),\n [AviosLinkingAndExchangeModal.TransferAvios]: this.languageService\n .translate('LOYALTY.fragments.aviosLinkingAndExchangeTransferAviosModal.url')\n .pipe(\n take(1),\n switchMap((fragmentUrl) => this.cmsDataService.getFragmentJson(fragmentUrl)),\n finShare()\n ),\n [AviosLinkingAndExchangeModal.UnlinkAccount]: this.languageService\n .translate('LOYALTY.fragments.aviosLinkingAndExchangeUnlinkAccountModal.url')\n .pipe(\n take(1),\n switchMap((fragmentUrl) => this.cmsDataService.getFragmentJson(fragmentUrl)),\n finShare()\n ),\n };\n }\n\n ngOnDestroy(): void {\n unsubscribe(this.subscriptions);\n }\n\n onStepperClicked(stepperStep: StepperStep): void {\n const { step } = stepperStep as LinkAccountsStepperStep;\n this.stepperActiveStep$.next(step);\n }\n\n onEnable2FAAuthenticationClickBtn(isTwoFactorAuthEnabled: boolean): void {\n if (isTwoFactorAuthEnabled) {\n this.stepperActiveStep$.next(LinkAccountsFlowStep.LINK_ACCOUNTS);\n } else {\n this.gtmService.trackElement(\n 'avios-linking-and-exchange-enable-2fa-button',\n GaContext.FINNAIR_PLUS,\n ElementTypes.BUTTON,\n undefined,\n ElementActions.CLICK\n );\n this.router.navigate([this.languageService.langValue, LoyaltyRoutesPath.PLUS, LoyaltyRoutesPath.PROFILE], {\n queryParams: {\n [PlusProfileQueryParams.Section]: PlusProfileQueryParamSectionValue.TwoFactorAuth,\n [PlusProfileQueryParams.TwoFactorAuthEnabledBackButtonUrl]: `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.BALANCE_AND_TRANSACTIONS}`,\n },\n });\n }\n }\n\n onLinkAccountsClickBtn(): void {\n this.modalOpened = AviosLinkingAndExchangeModal.LinkAccounts;\n }\n\n onTransferAviosClickBtn(): void {\n this.modalOpened = AviosLinkingAndExchangeModal.TransferAvios;\n }\n\n onUnlinkAccountClickBtn(): void {\n this.modalOpened = AviosLinkingAndExchangeModal.UnlinkAccount;\n }\n\n onModalConfirm(): void {\n const trackGtm = (elementName: string) => {\n this.gtmService.trackElement(\n `avios-linking-and-exchange-${elementName}`,\n GaContext.FINNAIR_PLUS,\n ElementTypes.BUTTON,\n undefined,\n ElementActions.CLICK\n );\n };\n\n switch (this.modalOpened) {\n case AviosLinkingAndExchangeModal.LinkAccounts:\n trackGtm('link-accounts');\n break;\n case AviosLinkingAndExchangeModal.TransferAvios:\n trackGtm('transfer-avios');\n break;\n case AviosLinkingAndExchangeModal.UnlinkAccount:\n trackGtm('unlink-account');\n break;\n }\n\n this.windowRef.nativeWindow.open(this.configService.cfg.britishAirwaysExchangeUrl, '_blank');\n }\n}\n","\n \n\n \n\n
    \n \n \n {{ 'LOYALTY.pointsAndTransactions.awardAndTierPointsExpandButton' | finLocalization }}\n \n \n\n \n
    \n \n
    \n \n
    \n\n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n\n \n\n
    \n

    \n {{ 'plus.transactionHistory.title' | finLocalization }}\n

    \n\n \n
    \n
    \n\n
    \n \n \n \n
    \n","import { AfterViewInit, Component, ElementRef, OnDestroy, OnInit, ViewChild } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { delay, Observable, of, Subscription } from 'rxjs';\nimport { filter, map, take } from 'rxjs/operators';\nimport { Store } from '@ngrx/store';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { CmsTemplateService } from '@fcom/cms/services';\nimport { CmsTemplate } from '@fcom/core-api';\nimport { Profile } from '@fcom/core-api/login';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core/interfaces';\nimport { MediaQueryService, PageMetaService, ScrollService } from '@fcom/common/services';\nimport { unsubscribe } from '@fcom/core/utils';\nimport { setPageMetadata } from '@fcom/loyalty-core';\nimport { profile } from '@fcom/core/selectors';\nimport { AppState } from '@fcom/core';\nimport { TabTheme } from '@fcom/ui-components';\n\n@Component({\n selector: 'fin-balance-and-transactions',\n templateUrl: 'balance-and-transactions.component.html',\n styleUrls: ['../../../loyalty-core/assets/styles/common.scss', './balance-and-transactions.component.scss'],\n})\nexport class BalanceAndTransactionsComponent implements OnInit, OnDestroy, AfterViewInit {\n public readonly SvgLibraryIcon = SvgLibraryIcon;\n public readonly TabTheme = TabTheme;\n\n isMobile$: Observable;\n template$: Observable;\n pageTitle$: Observable;\n\n profile$: Observable;\n pageViewType$: Observable = of('');\n showSideTitle$: Observable = of(false);\n displayCreditCardBanner$: Observable;\n\n awardAndTierPointsExpandOpen = false;\n\n private subscriptions: Subscription = new Subscription();\n\n @ViewChild('usePointsContent')\n usePointsContent: ElementRef;\n\n constructor(\n private cmsTemplateService: CmsTemplateService,\n private languageService: LanguageService,\n private pageMetaService: PageMetaService,\n private store$: Store,\n private activatedRoute: ActivatedRoute,\n private mediaQueryService: MediaQueryService,\n private scrollService: ScrollService\n ) {}\n\n ngOnInit(): void {\n this.isMobile$ = this.mediaQueryService.isBreakpoint$('mobile');\n\n this.template$ = this.cmsTemplateService.load(\n `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.BALANCE_AND_TRANSACTIONS}`\n );\n this.pageTitle$ = this.template$.pipe(map((template: CmsTemplate) => template?.header?.[0]?.title ?? ''));\n\n this.profile$ = this.store$.pipe(profile(), take(1));\n }\n\n scrollToPoints(): void {\n this.scrollService.smoothScroll(this.usePointsContent);\n this.usePointsContent.nativeElement.focus();\n }\n\n ngAfterViewInit(): void {\n this.subscriptions.add(\n this.template$.subscribe((template: CmsTemplate) => setPageMetadata(template, this.pageMetaService))\n );\n\n this.subscriptions.add(\n this.activatedRoute.fragment\n .pipe(\n filter((fragment) => fragment === 'usePoints'),\n delay(0)\n )\n .subscribe(() => this.scrollToPoints())\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n}\n","\n \n
    \n

    \n {{ 'tierProgress.tierProgress' | finLocalization }}\n

    \n \n
    \n
    \n

    \n {{ 'tierBenefits.tierBenefits' | finLocalization }}\n

    \n \n
    \n
    \n
    \n\n\n\n
    \n
    \n

    \n {{ 'LOYALTY.tierBenefits.nonEligibleInfo.heading' | finLocalization }}\n

    \n

    {{ 'LOYALTY.tierBenefits.nonEligibleInfo.description.0' | finLocalization }}

    \n

    {{ 'LOYALTY.tierBenefits.nonEligibleInfo.description.1' | finLocalization }}

    \n
    \n
    \n","import { Component, OnInit, AfterViewInit, OnDestroy } from '@angular/core';\n\nimport { Observable, Subject, of } from 'rxjs';\nimport { map, takeUntil, pluck, take } from 'rxjs/operators';\nimport { Store } from '@ngrx/store';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { CmsTemplateService } from '@fcom/cms/services';\nimport { CmsTemplate } from '@fcom/core-api';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core/interfaces';\nimport { PageMetaService } from '@fcom/common/services';\nimport { setPageMetadata } from '@fcom/loyalty-core';\nimport { ProfileTier } from '@fcom/core-api/login';\nimport { profile } from '@fcom/core/selectors';\nimport { AppState } from '@fcom/core';\n\n@Component({\n selector: 'fin-tier-progress-and-benefits',\n templateUrl: 'tier-progress-and-benefits.component.html',\n styleUrls: ['../../../loyalty-core/assets/styles/common.scss', './tier-progress-and-benefits.component.scss'],\n})\nexport class TierProgressAndBenefitsComponent implements OnInit, OnDestroy, AfterViewInit {\n template$: Observable;\n pageTitle$: Observable;\n pageViewType$: Observable = of('');\n showSideTitle$: Observable = of(false);\n isEligible$: Observable;\n\n private ngDestroyed$ = new Subject();\n\n constructor(\n private cmsTemplateService: CmsTemplateService,\n private languageService: LanguageService,\n private pageMetaService: PageMetaService,\n private store$: Store\n ) {\n this.isEligible$ = this.store$.pipe(\n profile(),\n take(1),\n pluck('tier'),\n map((tier: ProfileTier): boolean => ![ProfileTier.JUNIOR, ProfileTier.BASIC, ProfileTier.SILVER].includes(tier))\n );\n }\n\n ngOnInit(): void {\n this.template$ = this.cmsTemplateService.load(\n `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.TIER_PROGRESS_AND_BENEFITS}`\n );\n this.pageTitle$ = this.template$.pipe(map((template: CmsTemplate) => template?.header?.[0]?.title ?? ''));\n }\n\n ngAfterViewInit(): void {\n this.template$\n .pipe(takeUntil(this.ngDestroyed$))\n .subscribe((template: CmsTemplate) => setPageMetadata(template, this.pageMetaService));\n }\n\n ngOnDestroy(): void {\n this.ngDestroyed$.next(true);\n }\n}\n","import { ProfileTier } from '@fcom/core-api/login';\n\nexport const LEGACY_SITE_TIER_CODES = {\n [ProfileTier.BASIC]: 1,\n [ProfileTier.SILVER]: 2,\n [ProfileTier.GOLD]: 3,\n [ProfileTier.PLATINUM]: 4,\n [ProfileTier.LUMO]: 14,\n [ProfileTier.JUNIOR]: 11,\n};\n","\n
    \n \n
    \n
    \n\n\n","import { Component, OnInit, AfterViewInit, OnDestroy } from '@angular/core';\n\nimport { Observable, Subject, of } from 'rxjs';\nimport { map, takeUntil } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { CmsTemplateService } from '@fcom/cms/services';\nimport { CmsTemplate } from '@fcom/core-api';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core/interfaces';\nimport { PageMetaService } from '@fcom/common/services';\nimport { setPageMetadata } from '@fcom/loyalty-core';\nimport { ConfigService } from '@fcom/core';\nimport { Profile, LoginAddress } from '@fcom/core-api/login';\nimport { serializeParams } from '@fcom/core/utils';\nimport { ProfileService } from '@fcom/loyalty-profile/services/profile.service';\n\nimport { LEGACY_SITE_TIER_CODES } from '../../constants';\n\n@Component({\n selector: 'fin-buy-points',\n templateUrl: 'buy-points.component.html',\n styleUrls: ['../../../loyalty-core/assets/styles/common.scss'],\n})\nexport class BuyPointsComponent implements OnInit, OnDestroy, AfterViewInit {\n template$: Observable;\n pageTitle$: Observable;\n pageViewType$: Observable = of('');\n showSideTitle$: Observable = of(false);\n iframeUrl$: Observable;\n profile$: Observable;\n\n private ngDestroyed$ = new Subject();\n\n constructor(\n private cmsTemplateService: CmsTemplateService,\n private languageService: LanguageService,\n private pageMetaService: PageMetaService,\n private configService: ConfigService,\n private profileService: ProfileService\n ) {}\n\n ngOnInit() {\n this.profile$ = this.profileService.getFullProfile();\n\n this.template$ = this.cmsTemplateService.load(\n `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.BUY_POINTS}`\n );\n this.pageTitle$ = this.template$.pipe(map((template: CmsTemplate) => template?.header?.[0]?.title ?? ''));\n\n this.iframeUrl$ = this.createIframeUrl();\n }\n\n ngAfterViewInit(): void {\n this.template$\n .pipe(takeUntil(this.ngDestroyed$))\n .subscribe((template: CmsTemplate) => setPageMetadata(template, this.pageMetaService));\n }\n\n ngOnDestroy(): void {\n this.ngDestroyed$.next(true);\n }\n\n createIframeUrl(): Observable {\n return this.profile$.pipe(\n map((memberProfile: Profile) => {\n const address: LoginAddress = memberProfile.addresses.find((a) => !!a.primary);\n\n const params = {\n ssoSource: 'Finnair',\n ssoProduct: 'Buy',\n FinnairPlusMember: memberProfile.memberNumber,\n Firstname: memberProfile.firstname,\n Lastname: memberProfile.lastname,\n AccountBalance: memberProfile.awardPoints.toString(),\n Country: address?.country,\n Zip: address?.postalCode,\n Language: this.languageService.langValue,\n MemberTier: LEGACY_SITE_TIER_CODES[memberProfile.tier],\n MemberEmail: memberProfile.email,\n MemberJoinDate: memberProfile.joinDate,\n MemberStatus: memberProfile.status.substring(0, 1),\n CoBrandCard: memberProfile.sebCard ? 'Y' : 'N',\n };\n\n return `${this.configService.cfg.buyPointsIframeUrl}?${serializeParams(params)}`;\n })\n );\n }\n}\n","
    \n
    \n
    \n \n \n \n \n \n
    \n
    \n \n \n
    \n
    \n \n \n \n \n \n
    \n
    \n \n \n \n \n {{ 'LOYALTY.upgradeAvailability.table.flight' | finLocalization }}\n \n \n \n \n {{ 'LOYALTY.upgradeAvailability.table.availability' | finLocalization }}\n \n \n \n \n \n \n \n {{ segment.airline_code }}{{ segment.flight_number }}\n {{ 'LOYALTY.upgradeAvailability.table.departure' | finLocalization }}:\n {{ segment.b_location.time }}\n {{ 'LOYALTY.upgradeAvailability.table.arrival' | finLocalization }}:\n {{ segment.e_location.time }}\n \n \n {{\n 'LOYALTY.upgradeAvailability.table.seat' | finLocalization\n }}\n 1\"\n >{{\n 'LOYALTY.upgradeAvailability.table.seats' | finLocalization: { seats: segment.available_seats }\n }}\n 5\"\n >{{ 'LOYALTY.upgradeAvailability.table.moreThan' | finLocalization }}\n \n {{\n 'LOYALTY.upgradeAvailability.table.waitlist' | finLocalization\n }}\n {{\n 'LOYALTY.upgradeAvailability.table.notEligible' | finLocalization\n }}\n \n \n \n \n \n \n \n \n {{ 'LOYALTY.upgradeAvailability.loading' | finLocalization }}\n \n \n \n \n \n \n 0\">\n
    \n \n {{ 'LOYALTY.upgradeAvailability.infoModal.button' | finLocalization }}\n \n \n
    \n
    \n \n \n
    \n
    \n
    \n\n
    \n \n \n
    \n\n \n
    \n
      \n
    • \n {{ item }}\n
    • \n
    \n

    \n {{ 'LOYALTY.upgradeAvailability.infoModal.note' | finLocalization }}\n

    \n
    \n \n\n","/* eslint-disable sonarjs/no-duplicate-string */\nimport { Component, OnDestroy, OnInit, ViewChild, ViewEncapsulation, ElementRef } from '@angular/core';\nimport { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Store } from '@ngrx/store';\nimport { BehaviorSubject, Observable, Subject, Subscription } from 'rxjs';\nimport { debounceTime, map, switchMap, take } from 'rxjs/operators';\n\nimport {\n ButtonSize,\n ButtonType,\n LoaderTheme,\n TabsComponent,\n TabTheme,\n ModalButtons,\n IconPosition,\n} from '@fcom/ui-components';\nimport { LanguageService } from '@fcom/ui-translate';\nimport { LoaderType, ElementActions, ElementTypes } from '@fcom/common/interfaces';\nimport { AppState } from '@fcom/core';\nimport { Location } from '@fcom/core-api';\nimport { ProfileTier } from '@fcom/core-api/login';\nimport { profile } from '@fcom/core/selectors';\nimport { LocationRouteCffService } from '@fcom/core/services';\nimport { FormStatus, ReactiveFormStatus } from '@fcom/service-forms';\nimport { locationFormatValidator } from '@fcom/service-forms/services/form-validators';\nimport { AUTOCOMPLETE_DEBOUNCE_TIME } from '@fcom/service-forms/services/utils';\nimport { LocalDate, unsubscribe } from '@fcom/core/utils';\nimport { GtmService } from '@fcom/common/gtm';\nimport { GaContext } from '@fcom/common/interfaces/gtm.interface';\n\nimport { AmadeusError, FlightListSegment, FlightSegment } from '../../interfaces/upgrade-availability.interface';\nimport { UpgradeAvailabilityService } from '../../services/upgrade-availability.service';\n\ninterface NumericalFlightListSegment extends Omit {\n // eslint-disable-next-line camelcase\n list_segment: Array & { available_seats: number }>;\n}\n\n@Component({\n selector: 'fin-upgrade-availability',\n templateUrl: 'upgrade-availability.component.html',\n styleUrls: ['./upgrade-availability.component.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class UpgradeAvailabilityComponent implements OnInit, OnDestroy {\n public readonly ButtonType = ButtonType;\n public readonly ButtonSize = ButtonSize;\n public readonly IconPosition = IconPosition;\n public readonly FormStatus = FormStatus;\n public readonly LoaderType = LoaderType;\n public readonly LoaderTheme = LoaderTheme;\n public readonly TabTheme = TabTheme;\n public readonly ModalButtons = ModalButtons;\n public readonly SvgLibraryIcon = SvgLibraryIcon;\n\n destinationLoading$: Subject = new Subject();\n departureLoading$: Subject = new Subject();\n destinationLocations$: Subject = new Subject();\n departureLocations$: Subject = new Subject();\n reactiveForm: UntypedFormGroup;\n maxDate: LocalDate = LocalDate.now().plusYears(1);\n minDate: LocalDate = LocalDate.now();\n flightList$: BehaviorSubject = new BehaviorSubject([]);\n selectedDate: string;\n dateStringArray: string[];\n formStatus: FormStatus = FormStatus.INITIAL;\n errorMessage: string;\n profileTier$: Observable;\n isInfoModalOpen = false;\n\n @ViewChild('tabs', { static: false })\n tabs: TabsComponent;\n\n @ViewChild('openInfoModalButton', { static: false })\n openInfoModalButton: ElementRef;\n\n private subscriptions: Subscription = new Subscription();\n\n constructor(\n private fb: UntypedFormBuilder,\n private store$: Store,\n private upgradeAvailabilityService: UpgradeAvailabilityService,\n private locationRouteCffService: LocationRouteCffService,\n private languageService: LanguageService,\n private gtmService: GtmService\n ) {}\n\n ngOnInit(): void {\n this.dateStringArray = this.getDates(this.minDate, this.maxDate);\n this.createForm();\n this.destinationLoading$.next(false);\n this.departureLoading$.next(false);\n this.subscriptions.add(\n this.flightList$.subscribe((list: NumericalFlightListSegment[]) => {\n if (list.length > 0 && this.tabs) {\n this.tabs.scrollToSelectedTab();\n }\n })\n );\n this.profileTier$ = this.store$.pipe(\n profile(),\n take(1),\n map((storeProfile) => storeProfile.tier)\n );\n this.onDestinationChanges();\n this.onDepartureChanges();\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n getFlightList(date = this.departureDate.value): void {\n if (this.reactiveForm.valid) {\n this.formStatus = FormStatus.LOADING;\n const locale = this.languageService.ddsLocaleValue;\n const departure = this.departure.value.locationCode;\n const destination = this.destination.value.locationCode;\n const departureDate: LocalDate = date;\n this.selectedDate = departureDate.toString();\n this.subscriptions.add(\n this.profileTier$\n .pipe(\n switchMap((profileTier) =>\n this.upgradeAvailabilityService.getUpgradeAvailability(\n profileTier,\n departure,\n destination,\n departureDate,\n locale.countrySite,\n locale.language\n )\n )\n )\n .subscribe((result: FlightListSegment[] | AmadeusError) => {\n if ((result as AmadeusError).message) {\n this.formStatus = FormStatus.ERROR;\n this.errorMessage = (result as AmadeusError).message;\n this.gtmService.trackElement(\n `error::${departure}-${destination}::${departureDate.toString()}`,\n GaContext.UPGRADE_AVAILABILITY_SEARCH,\n ElementTypes.BUTTON,\n undefined,\n ElementActions.SEARCH\n );\n } else {\n this.formStatus = FormStatus.COMPLETE;\n const filteredFlights = (result as FlightListSegment[])\n .filter((flights) => flights.display === 'true')\n .map((flightListSegment) => ({\n ...flightListSegment,\n // eslint-disable-next-line camelcase\n list_segment: flightListSegment.list_segment.map((segment: FlightSegment) => ({\n ...segment,\n available_seats: parseInt(segment.available_seats, 10),\n })),\n }));\n\n this.flightList$.next(filteredFlights);\n this.gtmService.trackElement(\n `success::${departure}-${destination}::${departureDate.toString()}`,\n GaContext.UPGRADE_AVAILABILITY_SEARCH,\n ElementTypes.BUTTON,\n undefined,\n ElementActions.SEARCH\n );\n }\n })\n );\n } else {\n this.reactiveForm.markAllAsTouched();\n }\n }\n\n getDates(startDate: LocalDate, stopDate: LocalDate): string[] {\n const dateArray = [];\n let currentDate = startDate;\n while (currentDate.lte(stopDate)) {\n dateArray.push(currentDate.toString());\n currentDate = currentDate.plusDays(1);\n }\n return dateArray;\n }\n\n bookNow(): void {\n const departure = this.departure.value.locationCode;\n const destination = this.destination.value.locationCode;\n const departureDate = this.departureDate.value?.toString();\n this.gtmService.trackElement(\n `success::${departure}-${destination}::${departureDate}`,\n GaContext.UPGRADE_AVAILABILITY_SEARCH,\n ElementTypes.BUTTON,\n undefined,\n ElementActions.CLICK\n );\n window.open(\n `/${this.languageService.langValue}/booking?origin=${departure}&destination=${destination}&departureDate=${departureDate}`,\n '_blank'\n );\n }\n\n openInfoModal(event: MouseEvent): void {\n event.stopPropagation();\n this.isInfoModalOpen = true;\n }\n\n closeInfoModal(): void {\n if (this.openInfoModalButton) {\n this.openInfoModalButton.nativeElement.focus();\n }\n }\n\n private createForm(): void {\n const formConfig = {\n departure: ['', [locationFormatValidator(), Validators.required]],\n destination: ['', [locationFormatValidator(), Validators.required]],\n departureDate: ['', [Validators.required]],\n };\n\n this.reactiveForm = this.fb.group(formConfig);\n }\n\n get departure() {\n return this.reactiveForm.get('departure');\n }\n\n get destination() {\n return this.reactiveForm.get('destination');\n }\n\n get departureDate() {\n return this.reactiveForm.get('departureDate');\n }\n\n private queryLocations(queryString: string, locations$: Subject, loading$: Subject) {\n const locale = this.languageService.localeValue;\n\n loading$.next(true);\n\n this.subscriptions.add(\n this.locationRouteCffService.locationMatchesFor(queryString, locale).subscribe((matchedLocations) => {\n loading$.next(false);\n locations$.next(matchedLocations.items);\n })\n );\n }\n\n private onDepartureChanges(): void {\n this.subscriptions.add(\n this.departure.valueChanges.pipe(debounceTime(AUTOCOMPLETE_DEBOUNCE_TIME)).subscribe((val) => {\n if (this.reactiveForm.get('departure').status === ReactiveFormStatus.INVALID) {\n this.queryLocations(val, this.departureLocations$, this.departureLoading$);\n }\n })\n );\n }\n\n private onDestinationChanges(): void {\n this.subscriptions.add(\n this.destination.valueChanges.pipe(debounceTime(AUTOCOMPLETE_DEBOUNCE_TIME)).subscribe((val) => {\n if (this.reactiveForm.get('destination').status === ReactiveFormStatus.INVALID) {\n this.queryLocations(val, this.destinationLocations$, this.destinationLoading$);\n }\n })\n );\n }\n}\n","
    \n
    \n

    \n {{ 'LOYALTY.upgradeAvailability.title' | finLocalization }}\n

    \n
    \n \n {{ 'LOYALTY.upgradeAvailability.intro.paragraph1' | finLocalization }}\n \n \n \n \n {{ 'LOYALTY.upgradeAvailability.intro.paragraph3' | finLocalization }}\n \n
    \n
    \n
    \n \n
    \n
    \n \n {{ 'LOYALTY.upgradeAvailability.subHeading' | finLocalization }}\n \n
    \n \n {{ 'LOYALTY.upgradeAvailability.subParagraph.0' | finLocalization }}\n \n \n {{ 'LOYALTY.upgradeAvailability.subParagraph.1' | finLocalization }}\n \n \n {{ 'LOYALTY.upgradeAvailability.subParagraph.2' | finLocalization }}\n \n \n {{\n link.teaserTitle\n }}\n \n
    \n \n \n
    \n
    \n
    \n
    \n","import { Component, AfterViewInit, OnDestroy, OnInit } from '@angular/core';\nimport { Router } from '@angular/router';\n\nimport { of, Observable, Subject } from 'rxjs';\nimport { takeUntil, map } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { ButtonSize } from '@fcom/ui-components';\nimport { CmsTemplate, CmsContent } from '@fcom/core-api';\nimport { CmsTemplateService } from '@fcom/cms';\nimport { PageMetaService } from '@fcom/common';\nimport { LoyaltyRoutesPath, setPageMetadata } from '@fcom/loyalty-core';\nimport { RootPaths } from '@fcom/core/constants';\n\n@Component({\n selector: 'fin-loyalty-upgrade-travel-class',\n templateUrl: './upgrade-travel-class.component.html',\n styleUrls: ['../../../loyalty-core/assets/styles/common.scss'],\n})\nexport class UpgradeTravelClassComponent implements OnInit, OnDestroy, AfterViewInit {\n public readonly ButtonSize = ButtonSize;\n\n template$: Observable;\n pageTitle$: Observable;\n pageViewType$: Observable = of('');\n upgradeUrl = `/${this.languageService.langValue}/${RootPaths.ONE_UPGRADE_ROOT}`;\n upgradeTermsLink$: Observable = of(null);\n\n private ngDestroyed$ = new Subject();\n\n constructor(\n private cmsTemplateService: CmsTemplateService,\n private languageService: LanguageService,\n private pageMetaService: PageMetaService,\n private router: Router\n ) {}\n\n ngOnInit() {\n this.template$ = this.cmsTemplateService.load(\n `/${this.languageService.langValue}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.UPGRADE_AVAILABILITY}`\n );\n this.pageTitle$ = this.template$.pipe(map((template: CmsTemplate) => template?.header?.[0]?.title ?? ''));\n this.upgradeTermsLink$ = this.template$.pipe(\n map((template: CmsTemplate) =>\n template?.main?.find((content: CmsContent): CmsContent => content.localSettings?.isUpgradeTermsTeaser)\n ),\n takeUntil(this.ngDestroyed$)\n );\n }\n\n ngAfterViewInit(): void {\n this.template$\n .pipe(takeUntil(this.ngDestroyed$))\n .subscribe((template: CmsTemplate) => setPageMetadata(template, this.pageMetaService));\n }\n\n ngOnDestroy(): void {\n this.ngDestroyed$.next(true);\n }\n\n upgradeTo(): void {\n this.router.navigateByUrl(this.upgradeUrl);\n }\n}\n","import { Injectable, Inject, PLATFORM_ID } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { ActivatedRouteSnapshot, CanActivate, RouterStateSnapshot, Router } from '@angular/router';\n\nimport { Store } from '@ngrx/store';\nimport { Observable, of } from 'rxjs';\nimport { filter, take, switchMap, map, catchError, timeout } from 'rxjs/operators';\n\nimport { AppState } from '@fcom/core';\nimport { Profile, ProfileTier, LoginStatus } from '@fcom/core-api/login';\nimport { loginStatus, profile } from '@fcom/core/selectors';\nimport { LoginService } from '@fcom/common/login';\nimport { recurseLangParam } from '@fcom/common';\nimport { finShare } from '@fcom/rx';\n\n@Injectable()\nexport class PlusUserGuard implements CanActivate {\n static readonly GET_LOGIN_STATUS_TIMEOUT = 20000;\n\n constructor(\n private store$: Store,\n private loginService: LoginService,\n private router: Router,\n @Inject(PLATFORM_ID) private platform: object\n ) {}\n\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Observable {\n if (isPlatformServer(this.platform)) {\n return of(true);\n }\n\n const lang = recurseLangParam(route);\n\n return this.store$.pipe(\n loginStatus(),\n finShare(),\n // throw immediately if login status is resolved to NOT_LOGGED_IN\n timeout(PlusUserGuard.GET_LOGIN_STATUS_TIMEOUT),\n map((status) => {\n if (status === LoginStatus.NOT_LOGGED_IN) {\n throw new Error('User not logged in');\n }\n return status;\n }),\n filter((status) => status === LoginStatus.LOGGED_IN),\n // if user is logged in, fetch profile\n switchMap(() => this.store$.pipe(profile(), take(1))),\n // pass through all tiers expect Finnair ID\n map((memberProfile: Profile) => {\n if (\n [ProfileTier.ACCOUNT, ProfileTier.CORPORATE].includes(memberProfile.tier) ||\n (memberProfile.partStatus && memberProfile.partStatus.code !== 'SUCCESS')\n ) {\n throw new Error('Invalid plus member profile');\n }\n return true;\n }),\n // redirect failed attempts to login page\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((e: any) => {\n if (e.message === 'User not logged in') {\n return of(this.deny(state.url));\n } else {\n return of(this.reject(lang));\n }\n })\n );\n }\n\n private deny(redirectPath: string): false {\n this.loginService.redirectToLogin({ redirectPath });\n return false;\n }\n\n private reject(lang): false {\n this.router.navigateByUrl(`/${lang}`, { replaceUrl: true });\n return false;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router';\n\nimport { Observable, of } from 'rxjs';\n\nimport { recurseLangParam } from '@fcom/common/utils/route-utils';\nimport { ConfigService } from '@fcom/core';\n\n@Injectable()\nexport class BuyPointsGuard implements CanActivate {\n constructor(\n private configService: ConfigService,\n private router: Router\n ) {}\n\n canActivate(route: ActivatedRouteSnapshot, _state: RouterStateSnapshot): Observable {\n const lang = recurseLangParam(route);\n\n if (!this.configService.cfg.enableBuyPoints) {\n return of(this.deny(lang));\n }\n\n return of(true);\n }\n\n private deny(lang: string): false {\n this.router.navigateByUrl(`/${lang}`, { replaceUrl: true });\n return false;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot } from '@angular/router';\n\nimport { Observable, of } from 'rxjs';\n\nimport { recurseLangParam } from '@fcom/common/utils/route-utils';\nimport { ConfigService } from '@fcom/core';\n\n@Injectable()\nexport class UpgradeTravelClassGuard implements CanActivate {\n constructor(\n private configService: ConfigService,\n private router: Router\n ) {}\n\n canActivate(route: ActivatedRouteSnapshot, _state: RouterStateSnapshot): Observable {\n const lang = recurseLangParam(route);\n\n if (!this.configService.cfg.enableUpgradeTravelClass) {\n return of(this.deny(lang));\n }\n\n return of(true);\n }\n\n private deny(lang: string): false {\n this.router.navigateByUrl(`/${lang}`, { replaceUrl: true });\n return false;\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\n\nimport { Observable } from 'rxjs';\n\nimport { ConfigService } from '@fcom/core';\n\nimport { TransactionsResponse } from '../interfaces';\n\n@Injectable()\nexport class CampaignService {\n constructor(\n private http: HttpClient,\n private configService: ConfigService\n ) {}\n\n enrollToCampaign(campaignId: string, mni: string): Observable {\n const apiUrl = this.configService.cfg.loyaltyServices.legacy.apiUrl;\n\n const payload = {\n campaignId,\n mni,\n };\n\n return this.http.post(`${apiUrl}/campaigns/enroll`, payload);\n }\n}\n","import { Component, OnInit, ViewEncapsulation, OnDestroy } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\n\nimport { Subscription } from 'rxjs';\nimport { switchMap } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { unsubscribe } from '@fcom/core/utils';\nimport { LoaderType, ToasterService } from '@fcom/common';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core';\nimport { finShare } from '@fcom/rx';\nimport { NotificationTheme } from '@fcom/ui-components';\n\nimport { CampaignService } from '../../services/campaign.service';\n\n@Component({\n templateUrl: 'campaign-enroll.component.html',\n styleUrls: ['../../../loyalty-core/assets/styles/common.scss'],\n encapsulation: ViewEncapsulation.None,\n})\nexport class CampaignEnrollComponent implements OnInit, OnDestroy {\n private subscriptions: Subscription = new Subscription();\n\n public readonly LoaderType = LoaderType;\n\n constructor(\n private router: Router,\n private activatedRoute: ActivatedRoute,\n private languageService: LanguageService,\n private toasterService: ToasterService,\n private campaignService: CampaignService\n ) {}\n\n ngOnInit(): void {\n this.subscriptions.add(\n this.activatedRoute.queryParams\n .pipe(\n switchMap((params) => {\n if (params.campaignId && params.mni) {\n return this.campaignService.enrollToCampaign(params.campaignId, params.mni);\n }\n throw new Error('Invalid params');\n }),\n finShare()\n )\n .subscribe({\n next: () => this.navigateToFrontpageWithMessage(),\n error: () => this.navigateToError(),\n })\n );\n }\n\n navigateToFrontpageWithMessage(): void {\n this.toasterService.addMessageToQueue({\n id: 'enroll-successful',\n contentKey: 'LOYALTY.enroll.success',\n keepMessageAfterNavigation: true,\n theme: NotificationTheme.SUCCESS,\n });\n this.router.navigate([this.languageService.langValue], {\n skipLocationChange: false,\n });\n }\n\n navigateToError(): void {\n this.router.navigate([this.languageService.langValue, LoyaltyRoutesPath.PLUS, LoyaltyRoutesPath.ERROR], {\n skipLocationChange: false,\n });\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n}\n","\n","import { Inject, Injectable, PLATFORM_ID } from '@angular/core';\nimport { isPlatformServer } from '@angular/common';\nimport { ActivatedRouteSnapshot, CanActivate, Router } from '@angular/router';\n\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core';\nimport { recurseLangParam } from '@fcom/common';\n\n@Injectable()\nexport class LoyaltyOverhaulGuard implements CanActivate {\n constructor(\n private router: Router,\n @Inject(PLATFORM_ID) private platform: object\n ) {}\n\n canActivate(route: ActivatedRouteSnapshot): boolean {\n if (isPlatformServer(this.platform)) {\n return true;\n }\n\n const lang = recurseLangParam(route);\n this.router.navigateByUrl(`/${lang}/${LoyaltyRoutesPath.PLUS}/${LoyaltyRoutesPath.BALANCE_AND_TRANSACTIONS}`, {\n replaceUrl: true,\n });\n return false;\n }\n}\n","import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\n\nimport { CmsFooterComponent } from '@fcom/cms/components';\nimport { createRoute } from '@fcom/common';\nimport { ErrorComponent, HeaderComponent, NavigationModule } from '@fcom/common/components';\nimport { LoyaltyRoutesPath } from '@fcom/loyalty-core/interfaces';\nimport { LoyaltyMyTripsComponent } from '@fcom/loyalty-core/views/loyalty-my-trips/loyalty-my-trips.component';\nimport { LoyaltyLayoutComponent } from '@fcom/loyalty-core/views/loyalty-layout/loyalty-layout.component';\n\nimport { PlusDashboardComponent } from './views/plus-dashboard/plus-dashboard.component';\nimport { PlusProfileComponent } from './views/plus-profile/plus-profile.component';\nimport { BalanceAndTransactionsComponent } from './views/balance-and-transactions/balance-and-transactions.component';\nimport { TierProgressAndBenefitsComponent } from './views/tier-progress-and-benefits/tier-progress-and-benefits.component';\nimport { BuyPointsComponent } from './views/buy-points/buy-points.component';\nimport { UpgradeTravelClassComponent } from './views/upgrade-travel-class/upgrade-travel-class.component';\nimport { PlusUserGuard } from './services/plus-user.guard';\nimport { BuyPointsGuard } from './services/buy-points.guard';\nimport { UpgradeTravelClassGuard } from './services/upgrade-travel-class.guard';\nimport { CampaignEnrollComponent } from './views/campaign-enroll/campaign-enroll.component';\nimport { LoyaltyOverhaulGuard } from './services/loyalty-overhaul.guard';\n\nexport const plusRoutes: Routes = [\n {\n path: '',\n component: LoyaltyLayoutComponent,\n children: [\n { path: '', component: HeaderComponent, outlet: 'header' },\n { path: '', component: CmsFooterComponent, outlet: 'footer' },\n createRoute({ path: '' }, PlusDashboardComponent, [], [PlusUserGuard]),\n createRoute({ path: `${LoyaltyRoutesPath.PROFILE}` }, PlusProfileComponent, [], [PlusUserGuard]),\n createRoute(\n { path: `${LoyaltyRoutesPath.BALANCE_AND_TRANSACTIONS}` },\n BalanceAndTransactionsComponent,\n [],\n [PlusUserGuard]\n ),\n createRoute(\n { path: `${LoyaltyRoutesPath.UPGRADE_AVAILABILITY}` },\n UpgradeTravelClassComponent,\n [],\n [PlusUserGuard, UpgradeTravelClassGuard]\n ),\n createRoute({ path: `${LoyaltyRoutesPath.MY_TRIPS}` }, LoyaltyMyTripsComponent, [], [PlusUserGuard]),\n createRoute(\n { path: `${LoyaltyRoutesPath.TIER_PROGRESS_AND_BENEFITS}` },\n TierProgressAndBenefitsComponent,\n [],\n [PlusUserGuard, LoyaltyOverhaulGuard]\n ),\n createRoute({ path: `${LoyaltyRoutesPath.BUY_POINTS}` }, BuyPointsComponent, [], [PlusUserGuard, BuyPointsGuard]),\n createRoute({ path: `${LoyaltyRoutesPath.CAMPAIGN_ENROLL}` }, CampaignEnrollComponent, [], []),\n createRoute({ path: `${LoyaltyRoutesPath.ERROR}` }, ErrorComponent, [], []),\n ],\n },\n];\n\n@NgModule({\n imports: [NavigationModule, RouterModule.forChild(plusRoutes)],\n declarations: [],\n providers: [PlusUserGuard, BuyPointsGuard, UpgradeTravelClassGuard, LoyaltyOverhaulGuard],\n exports: [RouterModule],\n})\nexport class PlusRouteModule {}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { ReactiveFormsModule } from '@angular/forms';\n\nimport { UiTranslateModule } from '@fcom/ui-translate';\nimport { UiComponentsModule } from '@fcom/ui-components';\nimport { ComponentsModule } from '@fcom/common/components/components.module';\nimport { DirectiveModule } from '@fcom/common/directives';\nimport { GtmModule } from '@fcom/common/gtm/gtm.module';\nimport { PipesModule } from '@fcom/common/pipes/pipes.module';\nimport { ServiceFormsModule } from '@fcom/service-forms';\nimport { CommonServiceFormsModule } from '@fcom/service-forms/components/common/common-service-forms.module';\nimport { ProfileModule } from '@fcom/loyalty-profile';\nimport { CmsModule } from '@fcom/cms/components';\nimport { LoyaltyCoreModule } from '@fcom/loyalty-core';\nimport { LocalizationProvider } from '@fcom/core/services/language/localization.provider';\nimport { I18nKey } from '@fcom/core';\n\nimport { PlusRouteModule } from './plus.routes';\nimport { PlusDashboardComponent } from './views/plus-dashboard/plus-dashboard.component';\nimport { PlusProfileComponent } from './views/plus-profile/plus-profile.component';\nimport { BalanceAndTransactionsComponent } from './views/balance-and-transactions/balance-and-transactions.component';\nimport { TierProgressAndBenefitsComponent } from './views/tier-progress-and-benefits/tier-progress-and-benefits.component';\nimport { BuyPointsComponent } from './views/buy-points/buy-points.component';\nimport { UpgradeTravelClassComponent } from './views/upgrade-travel-class/upgrade-travel-class.component';\nimport { CampaignEnrollComponent } from './views/campaign-enroll/campaign-enroll.component';\nimport { GuardianInformationFormComponent } from './components/guardian-information-form/guardian-information-form.component';\nimport { PointsBalanceComponent } from './components/points-balance/points-balance.component';\nimport { TierProgressComponent } from './components/tier-progress/tier-progress.component';\nimport { PlusDashboardHeaderComponent } from './components/plus-dashboard-header/plus-dashboard-header.component';\nimport { TransactionHistoryComponent } from './components/transaction-history/transaction-history.component';\nimport { UpgradeAvailabilityComponent } from './components/upgrade-availability/upgrade-availability.component';\nimport { ExpiringVoucherNotificationComponent } from './components/expiring-voucher-notification/expiring-voucher-notification.component';\nimport { UpgradeBenefitsComponent } from './components/upgrade-benefits/upgrade-benefits.component';\nimport { NewMemberNotificationComponent } from './components/new-member-notification/new-member-notification.component';\nimport { TransactionService } from './services/transaction.service';\nimport { VoucherService } from './services/voucher.service';\nimport { UpgradeAvailabilityService } from './services/upgrade-availability.service';\nimport { CampaignService } from './services/campaign.service';\nimport { AviosLinkingService } from './services/avios-linking.service';\nimport { MilestonesComponent } from './components/milestones/milestones.component';\nimport { MilestoneComponent } from './components/milestone/milestone.component';\nimport { TierBenefitsComponent } from './components/tier-benefits/tier-benefits.component';\nimport { BenefitBannerComponent } from './components/benefit-banner/benefit-banner.component';\nimport { PromotionSegmentComponent } from './components/promotion-segment/promotion-segment.component';\nimport { AviosLinkingAndExchangeComponent } from './components/avios-linking-and-exchange/avios-linking-and-exchange.component';\n\n@NgModule({\n imports: [\n PlusRouteModule,\n CommonModule,\n ComponentsModule,\n DirectiveModule,\n GtmModule,\n PipesModule,\n CommonServiceFormsModule,\n ServiceFormsModule,\n ProfileModule,\n ReactiveFormsModule.withConfig({\n callSetDisabledState: 'whenDisabledForLegacyCode',\n }),\n UiTranslateModule,\n UiComponentsModule,\n CmsModule,\n LoyaltyCoreModule,\n ],\n declarations: [\n PlusDashboardComponent,\n PlusProfileComponent,\n GuardianInformationFormComponent,\n PointsBalanceComponent,\n TierProgressComponent,\n PlusDashboardHeaderComponent,\n BalanceAndTransactionsComponent,\n TransactionHistoryComponent,\n ExpiringVoucherNotificationComponent,\n UpgradeBenefitsComponent,\n TierProgressAndBenefitsComponent,\n NewMemberNotificationComponent,\n BuyPointsComponent,\n UpgradeTravelClassComponent,\n UpgradeAvailabilityComponent,\n CampaignEnrollComponent,\n MilestonesComponent,\n MilestoneComponent,\n TierBenefitsComponent,\n BenefitBannerComponent,\n PromotionSegmentComponent,\n AviosLinkingAndExchangeComponent,\n ],\n exports: [],\n providers: [TransactionService, VoucherService, UpgradeAvailabilityService, CampaignService, AviosLinkingService],\n})\nexport class PlusModule {\n constructor(private localizationProvider: LocalizationProvider) {\n this.localizationProvider.triggerLazyLocalizations(I18nKey.LOYALTY);\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient, HttpParams } from '@angular/common/http';\n\nimport { map, catchError } from 'rxjs/operators';\nimport { Observable, of } from 'rxjs';\n\nimport { ConfigService } from '@fcom/core';\nimport { ProfileTier } from '@fcom/core-api/login';\nimport { LocalDate, pad } from '@fcom/core/utils';\n\nimport { FlightListSegment, AmadeusError } from '../interfaces/upgrade-availability.interface';\n\nenum ErrorCode {\n TIMEOUT = '3001',\n SAMELOCATION = '10001',\n NOTFOUND = '9100',\n}\n\n@Injectable()\nexport class UpgradeAvailabilityService {\n private officeId = {\n GOLD: 'HELAY08FG',\n PLATINUM: 'HELAY08FP',\n LUMO: 'HELAY08FL',\n };\n\n constructor(\n private httpClient: HttpClient,\n private configService: ConfigService\n ) {}\n\n getUpgradeAvailability(\n tier: ProfileTier,\n departure: string,\n destination: string,\n departureDate: LocalDate,\n country: string,\n language: string\n ): Observable {\n const officeId = this.officeId[tier.toUpperCase()] ? this.officeId[tier.toUpperCase()] : 'HELAY08AA';\n const error = {\n code: '',\n message: 'LOYALTY.upgradeAvailability.error.generic',\n };\n const apiUrl = this.configService.cfg.upgradeAvailabilityUrl;\n const params: HttpParams = new HttpParams()\n .set('SO_SITE_OFFICE_ID', officeId)\n .set('COUNTRY_SITE', country)\n .set('SITE', 'FINRFINR')\n .set('LANGUAGE', language)\n .set('PAGE', 'UPGD')\n .set('B_LOCATION_1', departure)\n .set('E_LOCATION_1', destination)\n .set('B_DATE_1', this.formatDate(departureDate))\n .set('EMBEDDED_TRANSACTION', 'AirAvailability')\n .set('WDS_RBD_CATALOG', '1');\n return this.httpClient.get(`${apiUrl}/`, { params }).pipe(\n map((response: any) => {\n // eslint-disable-next-line camelcase\n if (response?.avail?.list_flight) {\n return JSON.parse(JSON.stringify(response.avail.list_flight));\n } else {\n const code = response.ERROR[0].code;\n if (code === ErrorCode.TIMEOUT) {\n error.message = 'LOYALTY.upgradeAvailability.error.timeout';\n } else if (code === ErrorCode.SAMELOCATION) {\n error.message = 'LOYALTY.upgradeAvailability.error.sameLocations';\n } else if (code === ErrorCode.NOTFOUND) {\n error.message = 'LOYALTY.upgradeAvailability.error.notFound';\n }\n error.code = code;\n return error;\n }\n }),\n // eslint-disable-next-line rxjs/no-implicit-any-catch\n catchError((err) => {\n if (err.status === 504 || err.status === 408) {\n error.message = 'LOYALTY.upgradeAvailability.error.timeout';\n }\n error.code = err.status.toString();\n return of(error);\n })\n );\n }\n\n private formatDate(date: LocalDate): string {\n return `${date.localYear}${pad(date.localMonth)}${pad(date.localDay)}0000`;\n }\n}\n"],"x_google_ignoreList":[0]}