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AAoE,EAAA8hE,cAEvDlmE,MAAA,GAAAA,MAAAimE,EAAAvkD,aAEtB1hB,cAAA,YAAAA,MAAA,IAAAimE,EAAAxhB,WAAA,QAAAzkD,OACIA,MAAA,GAAAA,MAAA,OAAAoE,EAAA2hE,WCQN,IAAMp+D,EAAkC,MAAzC,MAAOA,EAaX/F,YAAoBiD,GAAAhD,KAAAgD,kBAVXhD,KAAAqkE,aAA4B7qC,KAAYgH,YAIjDxgC,KAAAyD,WAAY,EAIHzD,KAAAoD,aAAeA,IAE+B,CAEvDlD,WACEF,KAAKgjD,aAAehjD,KAAKgD,gBAAgBK,YAAwBrD,KAAK8uB,YACxE,CAEAqK,YACEn5B,KAAKyD,WAAY,CACnB,CAEAP,aACElD,KAAKyD,WAAY,CACnB,CAACpC,SAAArB,KAAA,mBAAAsB,iBAzBUwE,GAAkC3H,MAAAqF,MAAA,EAAAnC,SAAArB,KAAA,UAAA0iE,EAAAlhE,IAAA,MAAlCsE,EAAkCrE,UAAA,sCAAAC,OAAA,CAAAotB,YAAA,cAAAu1C,aAAA,eAAAH,SAAA,YAAAviE,MAAA,EAAAC,KAAA,EAAAC,OAAA,yRAAAC,SAAA,SAAAC,EAAAC,GAAA,EAAAD,IDd/C5D,MAAA,EAAAmmE,EAAA,uCAYAnmE,MAAA,oCAAsDA,MAAA,+BAAc6D,EAAAkB,YAAY,GAAE/E,eAZnEA,MAAA,OAAAA,MAAA,IAAA6D,EAAAghD,eAYe7kD,MAAA,GAAAA,MAAA,YAAA6D,EAAAyB,wDCEjBqC,CAAkC","names":["i0","policy_r2","_c0","rebookPolicy_r1","_c1","cancellationPolicy_r3","ctx_r4","inbound$","inboundBrandName$","showHighlightedContent$","policy_r4","inbound","value","OfferPolicyComponent_ng_template_4_p_13_Template","outbound","label","outbound$","outboundBrandName$","typeClass_r6","isOneWay$","mapRebookPolicy","fareFamily","translatedBenefitRows","find","row","key","mapCancellationPolicy","OfferPolicyComponent","constructor","this","of","ngOnInit","combineLatest","pipe","filter","v","fareFamilies$","Boolean","map","fareFamilies","fareFamilyBrandName","isOneWay","rebookAndCancellationPolicies$","startWith","rebook","code","cancel","finShare","name","brandName","static","__ngFactoryType__","core","VBU","selectors","inputs","decls","vars","consts","template","rf","ctx","OfferPolicyComponent_section_0_Template","OfferPolicyComponent_section_2_Template","OfferPolicyComponent_ng_template_4_Template","tmp_1_0","tmp_2_0","imageData_r1","ctx_r1","aspectRatio$","SustainablityInfoModalComponent_ng_container_2_div_1_Template","article_r3","picture","subjectTaxonomyTags","join","safArticle$","SustainablityInfoModalComponent","fragmentService","mediaQueryService","closeModal","EventEmitter","ModalButtons","getFragment","isBreakpoint$","isMobile","i1","modalOpen","outputs","$event","emit","SustainablityInfoModalComponent_ng_container_2_Template","CLOSE","BookingCommonModule","$C","G2t","CommonModule","ComponentsModule","CommonBookingComponentsModule","PipesModule","GtmModule","CmsModule","UiTranslateModule","UiComponentsModule","IconsModule","ModalModule","QualtricsModule","BoundSelectionErrorMessageComponent","i2","i3","i4","BookingFlightComponent","i5","i6","i7","i8","i9","i10","i11","i12","i13","GrandTotalComponent","i14","i15","SustainabilityTripMessageComponent","i16","i17","i18","i19","i20","FlightSelectionWarningComponent","i21","i22","MultiCitySurveyComponent","i23","i24","ctx_r0","listTitle","ctx_r2","_r2","product_r4","$implicit","index_r5","index","onSelectProduct","category","viewDetails","count$","status$","ButtonState","UPDATING","title","description","image","lowestPrice","hideZeroPrices","originalPrice","price$","purchasedCount$","productCardLocalizationsPrefix","useNewProductCardLayout","SvgLibraryIcon","ARROW_RIGHT","PLUS","OK","isSpecialUpsellProduct","ButtonTheme","DARK_PRIMARY_NORDIC_BLUE","LIGHT_SECONDARY_OUTLINE","LIGHT_PRIMARY_NORDIC_BLUE","hideViewButton","Category","SEAT","maxPurchasesDone$","notAvailable$","noQuotaLeft","notEligibleWithIncompatibleSeat","focusOnProductBtn$","focusOnViewDetails$","NotificationTheme","WARNING","INFO","notificationMessage$","notificationTitle$","notificationIcon","productTag","localizationKey","icon","theme","isLaptopUp$","ProductListComponent_ng_container_0_Conditional_1_Template","ProductListComponent_ng_container_0_ng_container_3_Template","tabletShowTwoPerRow","products_r6","LoaderType","INLINE","ProductListComponent","gtmService","subscriptions","Subscription","selectProduct","add","products$","bounds$","take","subscribe","products","bounds","sendEcommerceImpressionsEvent","ecommerceEventGA4","GtmEvent","VIEW_ITEM_LIST","getGA4ProductsFromSmpProducts","purchaseFlow","ngOnDestroy","unsubscribe","sendEcommerceClickEvent","matchedProduct","product","SELECT_ITEM","gtmProducts","BAGGAGE","resolveGtmCategory","id","brand","FINNAIR","list","GtmPurchaseFlow","BOOKING","CORPORATE","includes","GtmEcommerceList","BOOKING_SMP","MMB_VIEW_PNR","position","ecommerceEvent","PRODUCT_IMPRESSIONS","GtmEcommerceMeasurement","IMPRESSIONS","gtmProductName","gtmProduct","enhancedEcommerceProductClickOrDetailView","PRODUCT_CLICK","CLICK","_angular_core__WEBPACK_IMPORTED_MODULE_9__","ProductListComponent_ng_container_0_Template","ProductListComponent_ng_template_2_Template","loader_r7","AncillarySubviewModule","_angular_core__WEBPACK_IMPORTED_MODULE_35__","BookingSummaryModule","ButtonModule","DrawerModule","FlightsModule","NotificationsModule","SubViewModule","DirectiveModule","AncillaryFlightBoundSelectorComponent","AncillarySidebarComponent","AncillarySubviewComponent","AncillaryHeaderComponent","setTimeout","headerTitle","nativeElement","focus","_angular_core__WEBPACK_IMPORTED_MODULE_1__","viewQuery","originalTotalPrice_r1","useSymbol","points_r3","totalPrice$","GrandTotalTheme","DEFAULT","RENEWED","serviceFlow$","undefined","prices$","prices","hasUnitPrices","safeMapObs","data","serviceFlow","total","totalPoints","ServiceFlow","AWARD","toAmount","totalAmountPaid","totalAmount","MMB_ANCILLARY","totalPoints$","amount","originalTotalPrice$","flight","discountReasonCode","originalTotalAmount","_angular_core__WEBPACK_IMPORTED_MODULE_4__","GrandTotalComponent_span_6_Template","GrandTotalComponent_span_8_Template","GrandTotalComponent_span_10_Template","headingClasses","titleTranslationKey","item_r2","IncludedProductsComponent_div_1_div_1_Template","contents_r4","_r5","onContinuePurchase","boundWithServices_r6","onRemoveProduct","clearPendingSeats","viewSeatmap","service_r7","showAsPending","booking","passengers","showUpsell","includeSeatActionButtons","showClearPendingSeatsButton","isCarrierConnect","includeAssignAtAirportStatus","showNonAYSeats","removeInProgress$","groupServicesByBound","isShoppingCart","_r8","fragmentId","_r9","tmp_7_0","upsellInModal$","_r10","_c2","IconPosition","RIGHT","ButtonSize","MEDIUM","ButtonMode","FILL_MOBILE","EXTERNAL_TAB","IncludedProductsComponent_fcom_tab_8_ng_container_2_div_8_fcom_button_1_Template","IncludedProductsComponent_fcom_tab_8_ng_container_2_div_8_fcom_button_2_Template","SPECIAL_NEED","_r11","IncludedProductsComponent_fcom_tab_8_ng_container_2_fin_dapi_included_service_5_Template","IncludedProductsComponent_fcom_tab_8_ng_container_2_fin_upsell_card_6_Template","IncludedProductsComponent_fcom_tab_8_ng_container_2_fin_information_modal_7_Template","IncludedProductsComponent_fcom_tab_8_ng_container_2_div_8_Template","IncludedProductsComponent_fcom_tab_8_ng_container_2_fcom_button_10_Template","isFirstService_r12","showAdditionalTitle","quantity","totalPrice","upsell","expand","expandOpen","isShortHaulFlight","displaySeatReassignMessage","enabled","showInformationModal","isShowMoreBtn","updatingService$","showModifyButtons","servicesToShow","length","locations","useCabinClass","IncludedProductsComponent_fcom_tab_8_div_1_Template","IncludedProductsComponent_fcom_tab_8_ng_container_2_Template","IncludedProductsComponent_fcom_tab_8_div_3_Template","departure","locationCode","cityName","arrival","services","showTickets","IncludedProductsComponent","languageService","TabLayoutType","TabTheme","showHeading","NEVER","removeInProgress","continuePurchase","removeProduct","upsellClicked","updateServices","headerContents$","headerContentTranslationKey","translate","content","Array","isArray","isShortHaul","ngOnChanges","changes","equals","currentValue","previousValue","showUpsellPaymentButton","Object","values","servicesForBounds","getServicesToShowForBounds","bound","cartOrOrder","getServicesForBoundWithUpsell","servicesOrder","serviceCatalog","serviceData","event","boundId","_angular_core__WEBPACK_IMPORTED_MODULE_8__","features","IncludedProductsComponent_h2_0_Template","IncludedProductsComponent_div_1_Template","IncludedProductsComponent_fcom_tab_8_Template","CLASSIC","STRETCH","TabStateService","store$","selectedTabId$","init","tabGroupId","pseudoLocal","isPresent","distinctUntilChanged","clear","dispatch","PseudoLocalActions","getSelectedTabId","setSelectedTabId","tabId","_angular_core__WEBPACK_IMPORTED_MODULE_6__","jDH","factory","ɵfac","AncillaryLoaderStatus","OFF","REASSIGNING","_r1","ctaClick","warningNotificationCtaText","warningNotificationMessage","showWarningNotification","_angular_core__WEBPACK_IMPORTED_MODULE_2__","ngContentSelectors","FlightSelectionWarningComponent_fcom_notification_5_Template","FLIGHTS_UNAVAILABLE","additionalInfoKey$","AdditionalInfoComponent","AdditionalInfoComponent_div_0_Template","AncillaryPriceComponent","price","disclaimer","filteredGroupedServices","ancillary_r2","AncillarySelectionComponent_ng_container_2_div_6_li_3_span_1_Template","AncillarySelectionComponent_ng_container_2_div_6_li_3_span_4_Template","AncillarySelectionComponent_ng_container_2_div_6_li_3_span_5_Template","translations","_r3","removeSelections","CLOSE_DELETE","LEFT","LIGHT_TERTIARY_GHOST","AncillarySelectionComponent_ng_container_2_div_6_li_3_Template","AncillarySelectionComponent_ng_container_2_div_6_div_4_Template","ancillaries","showRemoveBasedOnAncillaries","AncillarySelectionComponent_ng_container_2_div_6_Template","CHECKMARK","AncillarySelectionComponent","showRemove","groupedServices","hideSelection","showRemoveButton","getFilteredGroupedServices","firstChange","every","ancillary","paidQuantity","isModifiable","AncillarySelectionComponent_fin_grouped_services_1_Template","AncillarySelectionComponent_ng_container_2_Template","i_r2","category_r1","MealDetailsComponent_ng_container_0_div_1_span_1_Template","meal","itemCategory","ingredients","nutrition","MealDetailsComponent_ng_container_0_div_1_Template","MealDetailsComponent_ng_container_0_div_3_Template","MealDetailsComponent_ng_container_0_div_4_Template","MealDetailsComponent_ng_container_0_div_5_Template","MealDetailsComponent","MealDetailsComponent_ng_container_0_Template","teaserTitle_r2","details_r3","cmsDetails_r5","_r7","ngIf","confirmSeatClick","_r6","SeatDetailsComponent_ng_container_2_div_13_ng_container_5_button_3_Template","FILL","seatSelectedForTraveler","SeatDetailsComponent_ng_container_2_div_13_cms_unstyled_teaser_3_Template","SeatDetailsComponent_ng_container_2_div_13_fin_content_image_4_Template","SeatDetailsComponent_ng_container_2_div_13_ng_container_5_Template","detailText","related","exitRow","hideButtons","clearSeat","selectSeat","SeatDetailsComponent_ng_container_2_ng_container_15_button_3_Template","SeatDetailsComponent_ng_container_2_span_3_Template","SeatDetailsComponent_ng_container_2_span_7_Template","SeatDetailsComponent_ng_container_2_div_9_Template","SeatDetailsComponent_ng_container_2_div_13_Template","SeatDetailsComponent_ng_container_2_ng_container_15_Template","seatTitle$","loading_r10","seatNumber","cmsSeatDetails$","SeatDetailsComponent","cmsDataService","seatDetailsLoadComplete","seatSelected","seatCleared","seatDetailsSubscription","seatDetails$","s","seatType","switchMap","jsonData","url","getFragmentJson","d","teaserTitle","seatDetailsWithCMS$","zip","delay","details","stopPropagation","forceSelection","travelerId","SeatDetailsComponent_ng_template_0_Template","SeatDetailsComponent_ng_container_2_Template","ProductExpandComponent","open","uuid","CHEVRON_DOWN","LoaderTheme","operatingAirlineIdInfo_r3","isOrderIdIdentical","operatingAirlineId","SeatMapViewComponent_ng_template_2_span_5_Template","isOrder","_r4","retrySeatmap","ALERT_TRIANGLE","notification_r5","reason","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_3_ng_container_4_ng_container_1_h4_1_Template","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_3_ng_container_4_ng_container_1_p_3_Template","fallbackNotification_r6","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_3_ng_container_4_ng_container_1_Template","notifications_r7","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_3_Conditional_8_ng_container_0_Template","operatingAirlineNotification_r8","operatingAirlineIdInfo$","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_3_ng_container_4_Template","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_3_ng_template_6_Template","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_3_Conditional_8_Template","currentFlightTail","noSeatmapNotifications$","tmp_9_0","isOperated","benefitTextKey","benefitTag","scrollToSeat","selectablePassengers$","seatMapElement","seatMapWrapper","scrollTo","scrollSeatMap","seatMapContainerWidth$","scrollPosition","aircraft","_r12","openAirplaneModal","IconButtonTheme","IconButtonSize","SMALL","_c3","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_5_fcom_notification_1_Template","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_5_fcom_notification_3_Template","selectPassenger","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_5_Conditional_6_Template","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_5_fin_seat_map_seatchips_7_Template","enableScrollButtons","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_5_fin_seat_map_mini_map_17_Template","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_5_span_24_Template","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_5_span_25_Template","unmodifiableSeat$","unmodifiableFreeSeat$","includedSeats","isAtStart","ARROW_LEFT","LARGE","isAtEnd","seatMapStatus$","SeatMapStatus","isFinnairWetLease","SeatMapViewComponent_ng_container_9_ng_container_1_div_1_Template","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_3_Template","SeatMapViewComponent_ng_container_9_ng_container_1_ng_container_5_Template","LOAD_ERROR","OK_NO_AVAILABILITY","SeatMapViewComponent_ng_container_9_ng_container_1_Template","tmp_3_0","loader_r13","_r14","exitRowModalOpen","seatDetails_r15","confirmExitRowSeat","_c4","_r16","aircraftModalOpen","aircraftInformationTemplate$","SeatMapViewComponent","templateService","configService","viewportScroller","sentryLogger","changeDetectorRef","ButtonPosition","availability$","canClearSeats","notEligibleWhenCheckInClosed","preSelectedPax$","changeSeats","subtotalChange","isReassigningSeats","BehaviorSubject","ReplaySubject","flight$","resolveTailName","operatingAirline","passengers$","seatSelections$","seatMap$","seatSelections","seatMap","preSelectedPax","next","mapPassengers","passengerOptions$","withLatestFrom","and","p","getTravelerFullName","isWetlease","seatMapEl","clientWidth","detectChanges","flightIsActive$","ancillaryLoader$","cartOrOrder$","_pax","active","seatMapStatus","_loaderStatus","_order","pax","_active","_seatMapStatus","loaderStatus","order","SeatMapActions","tryScrollToFirstAvailableSeat","setBenefitDetails","status","paidSeat","modifiableSeat","ticketedSeat","isOrderCreated","getOperatingAirlineId","availability","operatingAirlineIdInfo","getServicesNotifications","operatingAirlineCode","operatingAirlineIds","airlineCode","attempt","error","flightNumber","cabinClass","snapshot","seat","querySelector","toLowerCase","getAttribute","travelers","infants","traveler","passengerTypeCode","FinnairPassengerCode","INF","selections","originalSeatNumber","servicesForFlightAndTravelerId","seats","infant","i","accompanyingTravelerId","withInfant","withInfantFullName","firstName","lastName","modifiable","ticketed","paid","passenger","trim","passengerId","isAllowedToChangeSeat","actualSeatNumber","type","getSeatPrice","seatMapEvent","ElementTypes","MODAL","ElementActions","VIEW","flightInfo","getSeatMapFlight","confirmSeatSelection","BUTTON","currentPassengers","getValue","activePaxIndex","findIndex","isLastPax","isActive","flightId","currentPaxs","direction","divWidth","scrollLeft","scrollBy","left","behavior","requestAnimationFrame","seatElement","isCenterable","seatGElement","parentElement","transform","baseVal","halfViewArea","getBoundingClientRect","width","svgWidth","seatXCoordinate","consolidate","matrix","e","cartOrOrderId","message","stack","substr","scrollIntoView","block","inline","preventScroll","moveFocus","el","scrollToAnchor","fragmentKey","getAircraftTranslationKey","load","itinerary","some","hasCorporateSeatBenefit","benefits","benefit","BENEFITS","seatSelection","isPositive","otherInformation","corporateUserInformation","isEligibleForSeatBenefit","cfg","enableCorporateSeatBenefit","textKey","TagTheme","B2B","AIRCRAFT_TRANSLATION_MAP","SeatMapViewComponent_ng_template_0_Template","SeatMapViewComponent_ng_template_2_Template","SeatMapViewComponent_ng_container_8_Template","SeatMapViewComponent_ng_container_9_Template","SeatMapViewComponent_div_17_Template","SeatMapViewComponent_fcom_modal_19_Template","CUSTOM","passenger_r3","clearSelection","DARK_TERTIARY_GHOST","index_r4","handleClick","SeatPassengersComponent_ng_container_0_button_5_span_5_Template","SeatPassengersComponent_ng_container_0_button_5_span_6_Template","SeatPassengersComponent_ng_container_0_button_5_fcom_icon_button_7_Template","SINGLE_PAX","passengerForm","options_r7","activeTravelerIndex$","passengers_r8","SeatPassengersComponent_ng_container_0_button_5_Template","SeatPassengersComponent_ng_container_0_form_6_Template","options$","SeatPassengersComponent","formBuilder","selectPax","clearSeatSelection","createForm","group","activeTravelerId","FormControl","get","valueChanges","activeTraveler","getActiveTraveler","idControl","setValue","a","b","JSON","stringify","tap","_withInfantLabel","withInfantLabel","paxName","alreadyIncludedSeat","SeatPassengersComponent_ng_container_0_Template","SeatMapRendererComponent","updatePosition","updateScrollPosition","scrollPositionWatcher$","templates","selected","cloneNode","unavailable","scrollEvents$","Subject","scrollDebounceTime","ngAfterViewInit","setWrapperWidth","activePax$","prev","curr","compareAsJson","resetSeatView","forEach","markSeatsUnavailableForPax","bringSelectedSeatTemplateOnTop","addSelectedSeatTemplateToPax","addOriginalSeatForPax","debounceTime","trackElement","GaContext","SEAT_MAP","SCROLL","classList","paxId","querySelectorAll","seatLink","originalAriaLabel","occupiedSeat","contains","setAttribute","unavailableSeatLabel","remove","appendChild","initials","getInitials","seatToSelect","ariaLabel","innerHTML","selectedSeat","removeChild","removeSeatSelection","rootSelector","node","parentNode","removeAttribute","split","handleSeatClick","preventDefault","target","closest","activePax","isAvailableForPax","seatId","isExitRow","currentSelectedSeat","isIncludedForPassenger","trackSeatSelection","handleScroll","seatMapWidth","scrollWidth","Math","round","seatInfo","getSeatInfoForTracking","svg","SeatMapMiniMapComponent","keyScrollDirection","subscription","setNewAreaPosition","viewPortWidth$","viewPortWidth","container","seatMapContainer","selectedArea","style","offsetWidth","parentWidth","parentLeft","newPosition","clientX","setSelectedAreaPosition","max","areaWidth","parentBorder","wrapper","totalBorderWidth","getTotalBorderWidth","minPosition","borderWidth","onKeyDown","clickFront","clickBack","openModal","seatType_r4","SeatMapSeatChipsComponent_fcom_tag_button_10_ng_container_11_Template","SeatMapSeatChipsComponent_fcom_tag_button_10_ng_container_12_Template","i_r5","IconLibrary","imageData_r6","SeatMapSeatChipsComponent_ng_container_14_div_1_ng_container_1_ng_container_2_div_2_Template","article_r7","seatType_r8","article$","SeatMapSeatChipsComponent_ng_container_14_div_1_ng_container_1_ng_container_2_Template","SeatMapSeatChipsComponent_ng_container_14_div_1_ng_container_1_Template","availableSeatTypesInModal","SeatMapSeatChipsComponent_ng_container_14_div_1_Template","SeatMapSeatChipsComponent","seatIconCache","seatTypeModalOpen","availableSeatTypes$","prevPassengers","prevSeatMapData","nextPassengers","nextSeatMapData","seatMapData","hasInfant","selectedSeats","getSeatTypesFromData","seatTypeChips","statuses","getSeatType","characteristics","seatPrice","addedSeat","className","showSelectedSeatOnlyWhenLastOneOfThatTypeAndPrice","push","getFragmentUrl","cmsKey","getIconFromSeatMap","chip","seatTypeInfo","B","sort","parseFloat","localeCompare","minPriceByType","findMinPriceByType","Number","uniqueBy","seatTypeChip","arr","reduce","item","seatToReplace","element","aTag","from","childNodes","append","outerHTML","seatData","characteristicKey","aircraftCode","Cabin","SeatMapSeatChipsComponent_fcom_icon_button_4_Template","SeatMapSeatChipsComponent_fcom_tag_button_10_Template","SeatMapSeatChipsComponent_ng_container_14_Template","GroupedServicesComponent_fin_titled_card_0_ng_container_2_Template","cabinWeight","serviceList_r2","GroupedServicesComponent_div_1_ng_container_9_Template","GroupedServicesComponent_ng_container_2_ng_container_1_Template","cat_r4","INLINE_TEXT","GroupedServicesComponent_ng_template_3_li_1_div_1_div_3_button_1_Template","GroupedServicesComponent_ng_template_3_li_1_div_1_div_3_div_2_Template","GroupedServicesComponent_ng_template_3_li_1_div_1_div_3_button_3_Template","loading","showActionsButtons","GroupedServicesComponent_ng_template_3_li_1_div_1_fcom_icon_1_Template","GroupedServicesComponent_ng_template_3_li_1_div_1_div_2_Template","GroupedServicesComponent_ng_template_3_li_1_div_1_div_3_Template","enableUpsellMMB","last_r9","service_r8","serviceNameTemplate_r11","seatTags_r10","isMobile$","subCategory","FINNAIR_PLUS","_c5","tierLevel","GroupedServicesComponent_ng_template_3_li_1_li_3_span_2_Template","GroupedServicesComponent_ng_template_3_li_1_li_3_div_3_Template","GroupedServicesComponent_ng_template_3_li_1_li_3_fcom_tag_4_Template","includedInTierBenefit","GroupedServicesComponent_ng_template_3_li_1_div_1_Template","GroupedServicesComponent_ng_template_3_li_1_li_3_Template","first_r13","isInfant","GroupedServicesComponent_ng_template_3_li_1_Template","INFO_BLOCK","serviceInfo_r14","GroupedServicesComponent_ng_template_5_fcom_tag_0_Template","GroupedServicesComponent_ng_template_5_fcom_tag_1_Template","GroupedServicesComponent_ng_template_5_ng_container_2_Template","isNotIncludedService","service","serviceListing_r16","_c6","serviceInfo_r15","GroupedServicesComponent_ng_template_7_div_1_div_2_Template","GroupedServicesComponent_ng_template_7_div_1_div_3_Template","_c7","_r17","serviceInfo","_c8","SVG_LIBRARY","TRASH","serviceRemovalInProgress","GroupedServicesComponent_ng_template_7_div_2_div_1_Template","GroupedServicesComponent_ng_template_7_div_2_fcom_button_2_Template","GroupedServicesComponent_ng_template_7_ng_container_0_Template","GroupedServicesComponent_ng_template_7_div_1_Template","GroupedServicesComponent_ng_template_7_div_2_Template","pendingPayment","service_r18","displayName","_c9","parameters","baggageWeight","CABIN_WEIGHT_VARIANTS","GroupedServicesComponent","groupedService","SubCategory","CABIN_WEIGHT","CABIN_BAGGAGE","getCabinWeight","flatMap","variant","GroupedServicesComponent_fin_titled_card_0_Template","GroupedServicesComponent_div_1_Template","GroupedServicesComponent_ng_container_2_Template","GroupedServicesComponent_ng_template_3_Template","GroupedServicesComponent_ng_template_5_Template","GroupedServicesComponent_ng_template_7_Template","GroupedServicesComponent_ng_template_9_Template","safThankYouForJoiningUsNotification_r1","safThankYouForJoiningUsNotification$","item_r3","IncludedServiceComponent_ng_container_0_fin_inform_block_8_ul_2_Template","segment_r4","complimentaryServices","IncludedServiceComponent_ng_container_0_ul_10_ng_container_1_div_3_ng_container_1_Template","paxInfo_r7","pax_r6","showUpsellPerPax","IncludedServiceComponent_ng_container_0_ul_10_ng_container_1_div_3_Template","lastPassenger_r8","lastSegment_r9","tmp_16_0","removeProgressInfo$","IncludedServiceComponent_ng_container_0_ul_10_ng_container_1_Template","safProductInfo_r12","isModalOpened","IncludedServiceComponent_ng_container_0_div_11_fcom_modal_7_fcom_image_1_Template","safProductInfo$","IncludedServiceComponent_ng_container_0_div_11_fcom_modal_7_Template","seatButtons_r13","IncludedServiceComponent_ng_container_0_fin_inform_block_1_Template","IncludedServiceComponent_ng_container_0_fin_inform_block_7_Template","IncludedServiceComponent_ng_container_0_fin_inform_block_8_Template","IncludedServiceComponent_ng_container_0_ng_container_9_Template","IncludedServiceComponent_ng_container_0_ul_10_Template","IncludedServiceComponent_ng_container_0_div_11_Template","IncludedServiceComponent_ng_container_0_ng_container_12_Template","i_r14","hasNonAySegments$","LOUNGE","hasPlusTierBenefit","SAF","pax_r15","associatedInfantName","IncludedServiceComponent_ng_template_2_ng_container_1_ng_container_1_Template","IncludedServiceComponent_ng_template_2_ng_container_1_ng_template_2_Template","isNewUpsell_r17","oldWithInfant_r16","IncludedServiceComponent_ng_template_2_ng_container_0_Template","IncludedServiceComponent_ng_template_2_ng_container_1_Template","_r19","IncludedServiceComponent_ng_template_4_fcom_button_1_Template","_r18","IncludedServiceComponent","gtmFlow","MANAGE_BOOKING","gaContext","serviceSubject$","serviceSegmentItems$","findServiceInAllFlights","segments","seg","isFirstChange","selectedPassengers","removeInProgressInfo","variantsWeCanSell","categories","serviceCategory","servicesForFragment","passengerServices","passengerService","unique","allFlights","isFlight","flightById","toLookup","serviceCatalogPerCategory","MEAL","WIFI","SPORT","PET","COVER","allServiceSegments","serviceSegmentsByFlightId","groupBy","segment","serviceBySegments","entries","serviceSegmentsForFlight","isPassengerSelected","passengerServiceItem","passengerIncludedServices","includedInTicketType","shared","variantsToRemove","flightPassengers","keys","isAvailableForSellServices","showedServices","getGroupedServices","getPassengerTierLevel","money","flightServices","isBoundBasedCategory","mergeServicesForBound","updateRemovalStatus","removedServiceInfo","flightService","isRemoveInProgressForService","flightIds","f","allFlightServicesInBound","servicesGroupedByBound","isSegmentServicesIdentical","allServices","currentServices","productInfo","segmentId","IncludedServiceComponent_ng_container_0_Template","IncludedServiceComponent_ng_template_2_Template","IncludedServiceComponent_ng_template_4_Template","IncludedProductHeadingComponent_h3_0_ng_container_3_ng_container_3_Template","cityName_r1","isLast_r2","operatedByText","IncludedProductHeadingComponent_h3_0_ng_container_3_Template","IncludedProductHeadingComponent_h3_0_span_4_Template","showLocations","IncludedProductHeadingComponent","locationCodes","getCityName","IncludedProductHeadingComponent_h3_0_Template","IncludedTicketsComponent","FinnairCabinClass","IncludedTicketsComponent_ng_container_9_Template","IncludedTicketsComponent_ng_template_11_Template","ECONOMY","businessLinkText_r1","picture_r1","UpsellCardComponent_div_0_ng_container_27_fcom_button_1_Template","UpsellCardComponent_div_0_ng_container_27_fcom_icon_button_3_Template","UpsellCardComponent_div_0_fcom_image_5_Template","UpsellCardComponent_div_0_ng_container_27_Template","UpsellCardComponent_div_0_ng_template_29_Template","tmp_12_0","loading_r5","UpsellCardComponent","articleKey","boundWithServices","UpsellCardComponent_div_0_Template","UpsellCardComponent_ng_template_1_Template","specialNeed_r6","emitUpsellClick","LIGHT_PRIMARY_CTA_HEATHER","translationPrefix","showModal","InformationModalComponent_div_0_fcom_button_12_Template","modalArticle$","InformationModalComponent","article","header","main","footer","InformationModalComponent_div_0_Template","bodyClass","serviceSummary","IncludedProductItemSummaryComponent_ng_container_0_fin_included_product_item_summary_seat_1_Template","IncludedProductItemSummaryComponent_ng_container_0_fin_included_product_item_summary_other_2_Template","IncludedProductItemSummaryComponent","update","getSummaryForCategory","IncludedProductItemSummaryComponent_ng_container_0_Template","seat_r2","IncludedProductItemSummarySeatComponent_span_1_span_1_Template","flightsSeats","seat_r3","IncludedProductItemSummarySeatComponent_ng_container_2_span_1_span_3_Template","IncludedProductItemSummarySeatComponent_ng_container_2_span_1_span_4_Template","flightSeats_r4","lastFlight_r5","IncludedProductItemSummarySeatComponent_ng_container_2_span_1_Template","IncludedProductItemSummarySeatComponent","getSeatsByFlight","IncludedProductItemSummarySeatComponent_ng_container_0_Template","IncludedProductItemSummarySeatComponent_span_1_Template","IncludedProductItemSummarySeatComponent_ng_container_2_Template","item_r1","IncludedProductItemSummaryOtherComponent_span_1_span_1_span_1_Template","text","IncludedProductItemSummaryOtherComponent_span_1_span_1_Template","IncludedProductItemSummaryOtherComponent_span_1_span_2_Template","ServiceType","NON_INCLUDED","IncludedProductItemSummaryOtherComponent","summary","IncludedProductItemSummaryOtherComponent_span_1_Template","descriptionKey","tag","SeatBenefitComponent_Conditional_2_Conditional_1_Template","SeatBenefitComponent","SeatBenefitComponent_Conditional_1_Template","SeatBenefitComponent_Conditional_2_Template","NonZeroAmountPipe","EJ8","pure","TitledCardComponent","CommonBookingAncillariesModule","ProductsModule","TabsModule","FinFormsModule","CommonProductSelectionComponent","i25","i26","i27","i28","SeatPreSelectionComponent","i29","i30","i31","i32","i33","i34","i35","i36","i37","i38","i39","AncillarySeatMapComponent","i40","i41","i42","i43","i44","i45","i46","i47","i48","IncludedProductItemComponent","ctaSideBarClosed","skipText","boundOrFlight_r3","confirmedOrCheckedInSegments$","tmp_13_0","service$","benefitTranslations$","includedBenefits_r4","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_container_1_ng_container_1_Template","noAncillaryBecauseAirlineKey$","noAncillaryBecauseAirline_r5","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_container_4_fcom_notification_1_ng_container_3_span_1_Template","noAncillaryBecauseAirlineForFragment_r6","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_container_4_fcom_notification_1_ng_container_3_Template","last_r8","eligibility_r7","noAncillaryBecauseAirlineForFragment$","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_container_4_fcom_notification_1_Template","priorityBasedEligibilities_r9","service_r10","translations$","includedService_r11","tmp_18_0","maxBaggageWeight","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_template_7_ng_container_11_ng_container_1_div_2_div_2_Template","category$","inCart_r12","service_r13","originalPricePerItem","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_template_7_ng_container_11_ng_container_1_div_3_ng_container_3_Template","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_template_7_ng_container_11_ng_container_1_div_3_span_10_Template","SHOPPING_CART","pricePerItem","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_template_7_ng_container_11_ng_container_1_p_1_Template","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_template_7_ng_container_11_ng_container_1_div_2_Template","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_template_7_ng_container_11_ng_container_1_div_3_Template","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_template_7_ng_container_11_ng_container_1_div_4_Template","included","added","size","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_template_7_ng_container_11_ng_container_1_Template","services_r14","eligibility_r15","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_template_7_ng_container_14_fcom_notification_1_Template","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_template_7_ng_container_11_Template","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_template_7_ng_container_14_Template","tmp_11_0","updatedServices$","noService_r16","index_r18","changeSelectedIndex","services_r19","displayAsBoundBased$","dateTime","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_container_11_ng_container_1_fcom_notification_1_Template","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_container_11_ng_container_1_ng_template_4_Template","maxedOutForFragment$","editButton_r20","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_container_11_ng_container_1_Template","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_container_1_Template","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_container_4_Template","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_template_7_Template","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_template_9_Template","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_ng_container_11_Template","includedBenefits$","showService_r21","services$","AncillarySidebarComponent_ng_container_7_div_1_div_9_Template","AncillarySidebarComponent_ng_container_7_div_1_ng_container_28_Template","showFareFamily","uniqueAirlineNames","stops","duration","tails$","isBusOnlyConnections$","isTrainOnlyConnections$","priorityBasedEligibilities$","middleNotificationTranslationKey_r22","AncillarySidebarComponent_ng_container_7_ng_container_2_fcom_notification_1_Template","middleNotificationTranslationKey$","AncillarySidebarComponent_ng_container_7_div_1_Template","AncillarySidebarComponent_ng_container_7_ng_container_2_Template","toType","item_r23","translationKeys","noSelection","notAvailable","maxedOut","inCart","FinnairServiceCatalogEligibilityReason","PURCHASE_FRESH_MEAL_NOT_ELIGIBLE_EX_EXCEPT_HEL_WITHIN_24_HOURS","PURCHASE_FRESH_MEAL_NOT_ELIGIBLE_EX_HEL_WITHIN_7_HOURS","PURCHASE_PRE_ORDER_HOT_MEAL_NOT_ELIGIBLE_EX_HEL_WITHIN_16_HOURS","PURCHASE_PRE_ORDER_HOT_MEAL_NOT_ELIGIBLE_EX_EXCEPT_HEL_36_HOURS","PURCHASE_MEAL_NOT_ELIGIBLE_WHEN_ALREADY_FLOWN","PURCHASE_SPECIAL_MEAL_NOT_ELIGIBLE","PURCHASE_WIFI_NOT_ELIGIBLE_WHEN_ALREADY_FLOWN","PURCHASE_BAGGAGE_NOT_ELIGIBLE_WHEN_ALREADY_FLOWN","PURCHASE_LOUNGE_ACCESS_NOT_ELIGIBLE_WHEN_ALREADY_FLOWN","middleNotificationTranslationKey","PURCHASE_SEAT_NOT_ELIGIBLE_WHEN_ALREADY_FLOWN","translationForBenefits","CHECKED_BAGGAGE","Breakpoint","isSideBarOpen","boundsOrFlights$","purchasedServices$","skipEnabled","passengersWithPetcIncompatibleSeats$","ctaButtonText","sideBarClosed","boundsOrFlights","acc","cur","isBound","isFinnairNorraOrWetLease","serviceMapping","serviceSelectionsForCategoryAllTravelers","mapValues","selection","all","boundOrFlight","isBoundOrFlightConfirmedOrCheckedIn","getTails","isByBusOnly","isByTrainOnly","fragmentIds","busOnly","otherAirline","isAllowedToUse","eligibilities","includedServices$","purchasedServices","filteredPurchaseServices","boundOrFlightId","purchasedService","serviceForBoundOrFlight","SPECIAL_DIET","selectedService","passengerNames","updatedServices","servicesFromStore","includedServices","_","passengersWithPetcIncompatibleSeats","travelerIds","PET_IN_CABIN","t","subTotalPrice$","subviewName","AncillarySidebarComponent_a_4_Template","AncillarySidebarComponent_ng_container_7_Template","FULL","subTitle","SelectAction","PREVIOUS","NEXT","FIRST","LAST","keyDownToSelectAction","KeyCodes","HOME","END","keyUpToSelectAction","TabLabelComponent","hostSelected","clicked$","actions$","fireAction","keyDown","getKeyCodeFromEvent","onKeyUp","keyUp","selected$","onClick","mode","TabLabelComponent_span_5_Template","TabLabelComponent_span_6_Template","TabLabelComponent_fcom_icon_7_Template","checked","onChangeFlightBound","activeBoundIndex","CHEVRON_LEFT","i_r4","CHEVRON_RIGHT","AncillaryFlightBoundSelectorComponent_div_0_button_16_Template","AncillaryFlightBoundSelectorComponent_div_0_span_18_Template","AncillaryFlightBoundSelectorComponent_div_0_button_19_Template","tails","isBusOnlyConnections","focusOnDetails$","AncillaryFlightBoundSelectorComponent_fin_flight_card_2_fcom_button_3_Template","AncillaryFlightBoundSelectorComponent_fin_flight_card_2_fcom_button_11_Template","BoundType","SelectionPhase","selectIndex","addition","execTimes","indexToGo","_angular_core__WEBPACK_IMPORTED_MODULE_5__","showFlightCard$","AncillaryFlightBoundSelectorComponent_div_0_Template","AncillaryFlightBoundSelectorComponent_fin_flight_card_2_Template","openSurvey","survey","alwaysRender","QualtricsSurveys","MULTI_CITY","enableSurvey$","cartState$","cartState","order$","orderData","state","cartData","checkIfSurveyShouldBeShown","enableMultiCity","tripType","getProductTripTypeFromBoundsForGA4","GA4TripType","MULTICITY","_angular_core__WEBPACK_IMPORTED_MODULE_7__","MultiCitySurveyComponent_ng_container_0_Template","TabGroupComponent","contentQueries","dirIndex","TabComponent","SubviewComponent","finishedReassigningSeats","updateSubTotal","allSeatSelections","priceAndCurrencyCode","isIncludedSeatSelection","combined","currentSeatSelection","currencyCode","String","emitFinishedReassigningSeats","flight_r2","flightSelected","travelers$","slideIndex$","flightAncillaryAvailability$","continue","translationKey_r6","GRID","seatMapPreloadingEnabled","selectionLoading$","hasSelections$","itineraryModal","selectionPhase$","locations$","preSelectClosed","seatChanged","itineraryModalClosed$","translationKey$","subtotalPriceSub$","enableBookingFlowSeatMapPreFetch","calculateSubTotalPrice","cartTotalPrice$","subTotalPrice","flights$","slideIndex","flights","currentFlight","hasSelections","setTitle","subTotalChange","isLast","trackEvent","confirmSelection","skipSeatSelection","trackElementState","getBoundDetailsModalData","elementName","cart","getSeatMapFlightInfoFromCart","flightsTrackBy","_index","_angular_core__WEBPACK_IMPORTED_MODULE_12__","tripType$","purchaseFlow$","combinedSeats","SeatPreSelectionComponent_div_15_Template","SeatPreSelectionComponent_ng_container_20_Template","SeatPreSelectionComponent_fin_itinerary_24_Template","DONE","message_r1","teaserText","localSettings","iconName","TripMessageComponent","tripMessage$","TripMessageComponent_ng_container_0_Template","notification_r2","CommonProductSelectionComponent_ng_container_4_fcom_notification_3_span_1_Template","CommonProductSelectionComponent_ng_container_4_fcom_notification_3_span_3_Template","last_r3","additionalText","iterable_r4","hasServiceSelected$","filter_r8","iterable_r6","selectedFilter$","ACTIVE","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_div_3_div_1_fcom_tag_button_1_Template","filters","filter_r11","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_div_3_div_2_button_2_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_div_3_div_1_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_div_3_div_2_Template","clickInput","flightOrBound","globalId","media","POPULAR","DISCOUNT","_r15","addQuantity","removeQuantity","minNumberItems","paxLevelQuotaReached$","form","controls","maxNumberItems","displayTotalPrice$","label_r17","click","buttonText$","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_ng_container_24_fin_plus_minus_selector_4_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_ng_container_24_fcom_button_5_Template","isTabletDown$","inputType","ALERT","CONFIG","toppedQuotaKey","noQuotaLeftKey","alreadyPurchased","blockSelectionNotification","quotaLimitKey","quota_r18","count","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_ng_container_37_fcom_notification_1_Template","QuotaType","FREE","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_input_2_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_input_3_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_fin_content_image_7_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_Conditional_17_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_Conditional_21_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_div_23_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_ng_container_24_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_fcom_notification_27_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_fcom_notification_30_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_fcom_notification_33_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_fcom_notification_35_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_fcom_notification_36_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_ng_container_37_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_fin_product_expand_39_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_fin_product_expand_40_Template","last_r20","showBlockingNotification","SELECTED","quota$","TOPPED","NO","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_div_1_Template","additionalInfoBlockUrl_r22","contentUrl_r21","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_div_3_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_fcom_notification_6_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_8_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_ng_container_9_Template","combinedGroupedServices","radio","selectedServices$","additionalInfoBlockUrl","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_additional_info_1_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_label_3_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_fin_tab_7_Template","serviceTabGroupId","initialTravelerIdSelected$","travelersAndServices$","CommonProductSelectionComponent_ng_container_4_fcom_notification_1_Template","CommonProductSelectionComponent_ng_container_4_fcom_notification_3_Template","CommonProductSelectionComponent_ng_container_4_ng_container_5_Template","showSportNotification$","notifications$","blockingNotifications$","notification_r23","CommonProductSelectionComponent_div_5_fcom_notification_1_span_1_Template","CommonProductSelectionComponent_div_5_fcom_notification_1_span_3_Template","last_r24","fallbackNotification_r25","CommonProductSelectionComponent_div_5_fcom_notification_1_Template","CommonProductSelectionComponent_div_5_ng_template_3_Template","contentUrl$_r26","SelectionState","LOADING","HAS_SERVICES","NO_SERVICES","notSelectedVariant","selectServiceKey","COMMON_TOASTER_ID","fb","toasterService","cdr","combinedServices$","initialSelectedTravelerId$","showConfirmationModalBeforeSelectionForPassengers$","blockSelectionNotification$","confirmModalData$","serviceQuantityMap$","paxLevelQuota$","combinedQuota","variants","modalConfirmed","FormGroup","isTabletDown","baseStream$","flightOrBound$","getAdditionalText","markForCheck","filteredTravelers$","getFilteredTravelers$","setupForm","setupTravelersAndServices","state$","servicesReady$","isNotEmpty","servicesReady","hasServices","travelersWithServices","initialTravelerId","notifications","n","blockSelection","removeMessage","flightOrBoundId","useConfirmModal","getAdditionalInfoBlock","NON_SCHENGEN_LOUNGES","confirmData","serviceSelectionsForFragment","initialSelections","removeControl","emitEvent","initialServices","concat","travelerForm","isRadioDisplay","includedServicesForTravelerAndFragment","findServiceItemsForPassengerForFragment","registerControl","control","isService","is","initialSelection","sumOfPricesForTravelersServiceSelection","selections$","model","isEmptyObjectOrHasEmptyValues","travelerSelections","sm","toBoolean","asTravelerService","selectionsToStore","selectionsPerTraveler","traveledId","selectionsForFragment","servicesForFragments","checkAndQueueToasterNotification","ServicesActions","nextHasSpecialDiet","selectionsForTraveler","currentSelection","currentHasSpecialDiet","travelerSelection","showSpecialDietSelected","showSpecialDietUnselected","addMessageToQueue","contentKey","selectionsForFragmentAndCategory$","originalQuota","combinedServices","showConfirmationModalBeforeSelectionForPassengers","finnairPassengers","selection$","getRawValue","servicesToDisplay","extendedServices","getExtendedServices","getSelectedServices","getFilters","getHasServiceSelected","alreadyPaid","travellerSelection","baseFilters","NO_VARIANTS","PreciseNumber","fromString","multiply","toString","selectionQuota$","getIsSelectedStream","getInputType","isSelected","selectionQuota","calculateQuota","getPaxLevelQuotaReached","translateMultiple","logErrors","paxLevelQuota","quota","availableQuota","_angular_core__WEBPACK_IMPORTED_MODULE_15__","CommonProductSelectionComponent_fin_loader_3_Template","CommonProductSelectionComponent_ng_container_4_Template","CommonProductSelectionComponent_div_5_Template","CommonProductSelectionComponent_ng_template_6_Template","b_r1","BookingSummaryFlightComponent_div_0_div_38_ng_container_1_Template","BookingSummaryFlightComponent_div_0_div_38_ng_container_2_Template","BookingSummaryFlightComponent_div_0_div_38_ng_container_3_Template","bookingClass","BookingSummaryFlightComponent_div_0_div_40_ng_container_1_div_5_ng_container_2_Template","BookingSummaryFlightComponent_div_0_div_40_ng_container_1_div_5_ng_container_3_Template","BookingSummaryFlightComponent_div_0_div_40_ng_container_1_div_5_Template","flights_r3","flight_r4","BookingSummaryFlightComponent_div_0_div_40_ng_container_1_Template","BookingSummaryFlightComponent_div_0_div_40_div_5_Template","BookingSummaryFlightComponent_div_0_div_13_Template","BookingSummaryFlightComponent_div_0_div_38_Template","BookingSummaryFlightComponent_div_0_div_39_Template","BookingSummaryFlightComponent_div_0_div_40_Template","bound$","icon$","BookingSummaryFlightComponent","isBusOrTrain","MINUS","AIRCRAFT_HORIZONTAL","BookingSummaryFlightComponent_div_0_Template","innerIconClass","titleClass","edit","skipEditAlign","trackingContext","C","isDisabled","editText","BookingSummarySectionComponent","padding","isChangeButton","AppConstants","isContent","innerClass","defaultClass","hostVars","hostBindings","BookingSummarySectionComponent_fcom_icon_2_Template","BookingSummarySectionComponent_h2_4_Template","BookingSummarySectionComponent_div_5_Template","BookingSummarySectionComponent_div_6_Template","t_r1","email","birthDate","phone","BookingSummaryTravelerComponent_ng_container_0_div_1_div_6_Template","BookingSummaryTravelerComponent_ng_container_0_div_1_div_7_Template","BookingSummaryTravelerComponent_ng_container_0_div_1_div_8_Template","BookingSummaryTravelerComponent_ng_container_0_div_1_div_9_Template","BookingSummaryTravelerComponent_ng_container_0_div_1_Template","BookingSummaryTravelerComponent","BookingSummaryTravelerComponent_ng_container_0_Template","traveler$","paxService_r1","BookingSummaryAncillaryComponent_div_4_span_2_Template","BookingSummaryAncillaryComponent_div_4_span_4_Template","BookingSummaryAncillaryComponent_div_4_div_6_Template","isLast_r3","isFirst_r2","ctx_r3","isGroupService","BookingSummaryAncillaryComponent","BookingSummaryAncillaryComponent_div_4_Template","BookingSummaryComponent","includePaddings","disabled","getIconForService","getIconForServiceCategory","buttonTranslationKey","additionalTitle","IncludedProductItemComponent_fin_included_product_item_summary_12_Template","IncludedProductItemComponent_div_16_Template","TabComponent_div_0_Template","messageKey_r3","AncillarySubviewComponent_ng_container_18_ng_container_3_Template","updateSlideIndex","titleKey","subtitleMessageKey$","closeSubview","closeSidebar","showFareFamilyInAncillarySidebar","boundOrFlightAncillaryAvailability$","reassignFreeSeats","ARROW_BACK","onClose","AncillarySubviewComponent_fcom_cta_button_29_span_9_ng_container_12_span_1_Template","AncillarySubviewComponent_fcom_cta_button_29_span_9_ng_container_12_span_2_Template","AncillarySubviewComponent_fcom_cta_button_29_span_9_ng_container_10_Template","AncillarySubviewComponent_fcom_cta_button_29_span_9_ng_container_12_Template","reassignFreeSeatsVisible$","hideSideBar","handleSecondaryCtaClick","showFlightCard_r7","finLet","handleCtaClick","AncillarySubviewComponent_fcom_cta_button_29_ng_container_8_Template","AncillarySubviewComponent_fcom_cta_button_29_span_9_Template","showCtaButton$","ctaButtonTitle","disableButtons$","isTabletUp$","secondaryButtonDisabled$","AncillarySubviewComponent_fcom_modal_31_fin_itinerary_2_Template","closeConfirmModal","confirmModalData_r12","confirmationModalTranslationKeys_r13","firstContentParagraph","secondContentParagraph","closeButton","continueButton","AncillarySubviewComponent_ng_container_32_fcom_modal_1_Template","confirmationModalTranslationKeys","elementRef","renderer","scrollService","mediaqueryService","STEPS","BOOKING_STEPS","ANIMATION_DURATION_MS","AirOffersStatus","onlyShowAncillaries","hideChangeButton","close","changeStep","reassignSeats","secondaryButtonClick","flightOrBoundSelected","subViewVisible$","basketOpen$","slideIndexSubject$","showCtaButtonSubject$","boundsOrFlightsSubject$","categorySubject$","customDataSubject$","show","subViewVisibleDelayed$","keepState","visible","data$","initialSlideIndex","initializeCtaButtonTitle","unpaid","hasUnpaidItems","subTotal","currentBoundOrFlight","setReassignSeatsEligible","visible$","setSubTotalPrice","scrollTop","scrollContainer","scrollToImmediate","resize$","fromEvent","window","bindCtaButtonHeightFixHandler","bindBasketHandling","subview","openBasket","closeBasket","onEdit","step","showFlightCard","cleanUp","showNewCta","currentBoundOrFlightId","unpaidSeats$","getUnpaidSeatsBySegmentId","checkInEligibilities$","getCheckInEligibilities","unpaidSeats","checkInEligibilities","hasCheckInEligibility","eligibility","checkinWindow","hasUnpaidSeatForSegment","boundItem","showReassignFreeSeats","retry$","merge","mapTo","RETRY_TIMES","WAIT_TIME_IN_MS","ctaButtonHeightFixRef","rect","setStyle","height","topPaddingToExclude","hideModal$","innerWidth","currentFlightId","_angular_core__WEBPACK_IMPORTED_MODULE_13__","AncillarySubviewComponent_ng_container_18_Template","AncillarySubviewComponent_fin_ancillary_sidebar_28_Template","AncillarySubviewComponent_fcom_cta_button_29_Template","AncillarySubviewComponent_fcom_modal_31_Template","AncillarySubviewComponent_ng_container_32_Template","subviewContext","tmp_8_0","currentStep$","phase","ANCILLARIES","unpaidServices$","EMBEDDED","shouldCloseSubview","SubviewComponent_div_0_ng_container_8_Template","SubviewComponent_div_0_ng_template_11_Template","enableScroll","mainContent_r3","_open","coerceBooleanProperty","_openState","openChange","openSubview","ngZone","document","subviewId","closeSubViewEvent","labelledBy","removeClass","body","bindEventListeners","onModalFocus","addClass","runOutsideAngular","listener","run","addEventListener","removeFocusListener","removeEventListener","forceFocus","focusableElements","HTMLElement","isVisible","cleanUpEventHandlers","DOCUMENT","SubviewComponent_div_0_Template","TabHeaderComponent","startWith$","tabs","safeMap","tab","ngAfterContentInit","initTabs","tabEventSubscriptions","subscribeToSelections","subscribeToSelectActions","selectedTab","selectedTabIndex$","toArray","action","previousIndex","selectNextIndex","lastIndex","idx","surveyButtonText","qualtricsUrl$","enableSurvey","qualtricsKey","langKey","params","getQualtricsUrl","langValue","fromFragment","BoundSelectionErrorMessageComponent_ng_container_1_Template","BoundSelectionErrorMessageComponent_ng_template_2_Template","BoundSelectionErrorMessageComponent_Conditional_6_Template","default_r3","DelayPipe","input","delayInMilliSeconds","Observable","openViewDetails","cabin","isBookingFlow","getCabinClass","_angular_core__WEBPACK_IMPORTED_MODULE_3__","BookingFlightComponent_fcom_flight_card_0_Template","getRequests","serviceSelection","serviceSelectionToUpdateRequest","getMessage","toUpperCase","getToasterMessages","errorKey","containsUnpaidSeats","getServiceData","keySuffix","capitalizeWord","mapToSeatRequest","selectionsForFlight","isExitSeat","SeatCharacteristics","EXIT","seatSelectionsForFlight","CustomServiceType","JOURNEY","c","OUTBOUND","INBOUND","linkText","SustainabilityTripMessageComponent_ng_container_0_button_7_Template","message_r3","iconCategory","SustainabilityTripMessageComponent_ng_container_0_Template"],"ignoreList":[],"sourceRoot":"webpack:///","sources":["./src/modules/booking/modules/common/components/offer-policy/offer-policy.component.html","./src/modules/booking/modules/common/components/offer-policy/offer-policy.component.ts","./src/modules/booking/modules/common/components/sustainability/sustainablity-info-modal/sustainablity-info-modal.component.html","./src/modules/booking/modules/common/components/sustainability/sustainablity-info-modal/sustainablity-info-modal.component.ts","./src/modules/booking/modules/common/booking-common.module.ts","./src/modules/common-booking/modules/ancillaries/components/product-list/product-list.component.html","./src/modules/common-booking/modules/ancillaries/components/product-list/product-list.component.ts","./src/modules/common-booking/modules/ancillaries/components/ancillary-subview/ancillary-subview.module.ts","./src/modules/common-booking/modules/ancillaries/components/ancillary-header/ancillary-header.component.ts","./src/modules/common-booking/modules/ancillaries/components/ancillary-header/ancillary-header.component.html","./src/modules/booking/modules/common/components/grand-total/grand-total.component.html","./src/modules/booking/modules/common/components/grand-total/grand-total.component.ts","./src/modules/common-booking/modules/ancillaries/components/included-products/included-products.component.html","./src/modules/common-booking/modules/ancillaries/components/included-products/included-products.component.ts","./src/modules/common-booking/modules/tabs/tab-state.service.ts","./src/modules/common-booking/modules/ancillaries/enums.ts","./src/modules/booking/modules/common/components/flight-selection-warning/flight-selection-warning.component.html","./src/modules/booking/modules/common/components/flight-selection-warning/flight-selection-warning.component.ts","./src/modules/common-booking/modules/ancillaries/components/additional-info/additional-info.component.html","./src/modules/common-booking/modules/ancillaries/components/additional-info/additional-info.component.ts","./src/modules/common-booking/modules/ancillaries/components/ancillary-price/ancillary-price.component.ts","./src/modules/common-booking/modules/ancillaries/components/ancillary-price/ancillary-price.component.html","./src/modules/common-booking/modules/ancillaries/components/ancillary-selection/ancillary-selection.component.html","./src/modules/common-booking/modules/ancillaries/components/ancillary-selection/ancillary-selection.component.ts","./src/modules/common-booking/modules/ancillaries/components/meals/meal-details.component.html","./src/modules/common-booking/modules/ancillaries/components/meals/meal-details.component.ts","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-details/seat-details.component.html","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-details/seat-details.component.ts","./src/modules/common-booking/modules/ancillaries/components/product-expand/product-expand.component.ts","./src/modules/common-booking/modules/ancillaries/components/product-expand/product-expand.component.html","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-map-view/seat-map-view.component.html","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-map-view/seat-map-view.component.ts","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-passengers/seat-passengers.component.html","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-passengers/seat-passengers.component.ts","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-map-renderer/seat-map-renderer.component.ts","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-map-renderer/seat-map-renderer.component.html","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-map-mini-map/seat-map-mini-map.component.ts","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-map-mini-map/seat-map-mini-map.component.html","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-map-seatchips/seat-map-seatchips.component.html","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-map-seatchips/seat-map-seatchips.component.ts","./src/modules/common-booking/modules/ancillaries/components/grouped-services/grouped-services.component.html","./src/modules/common-booking/modules/ancillaries/components/grouped-services/grouped-services.component.ts","./src/modules/common-booking/modules/ancillaries/components/included-service/included-service.component.html","./src/modules/common-booking/modules/ancillaries/components/included-service/included-service.component.ts","./src/modules/common-booking/modules/ancillaries/components/included-product-heading/included-product-heading.component.html","./src/modules/common-booking/modules/ancillaries/components/included-product-heading/included-product-heading.component.ts","./src/modules/common-booking/modules/ancillaries/components/included-tickets/included-tickets.component.html","./src/modules/common-booking/modules/ancillaries/components/included-tickets/included-tickets.component.ts","./src/modules/common-booking/modules/ancillaries/components/upsell-card/upsell-card.component.html","./src/modules/common-booking/modules/ancillaries/components/upsell-card/upsell-card.component.ts","./src/modules/common-booking/modules/ancillaries/components/information-modal/information-modal.component.html","./src/modules/common-booking/modules/ancillaries/components/information-modal/information-modal.component.ts","./src/modules/common-booking/modules/ancillaries/components/included-product-item-summary/included-product-item-summary.component.html","./src/modules/common-booking/modules/ancillaries/components/included-product-item-summary/included-product-item-summary.component.ts","./src/modules/common-booking/modules/ancillaries/components/included-product-item-summary-seat/included-product-item-summary-seat.component.html","./src/modules/common-booking/modules/ancillaries/components/included-product-item-summary-seat/included-product-item-summary-seat.component.ts","./src/modules/common-booking/modules/ancillaries/components/included-product-item-summary-other/included-product-item-summary-other.component.html","./src/modules/common-booking/modules/ancillaries/components/included-product-item-summary-other/included-product-item-summary-other.component.ts","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-benefit/seat-benefit.component.html","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-benefit/seat-benefit.component.ts","./src/modules/common/pipes/non-zero-amount.pipe.ts","./src/modules/ui-components/components/product-variants/titled-card.component.ts","./src/modules/ui-components/components/product-variants/titled-card.component.html","./src/modules/common-booking/modules/ancillaries/ancillaries.module.ts","./src/modules/common-booking/modules/ancillaries/components/ancillary-sidebar/ancillary-sidebar.component.html","./src/modules/common-booking/modules/ancillaries/components/ancillary-sidebar/ancillary-sidebar.component.ts","./src/modules/common-booking/modules/tabs/tab-label.component.html","./src/modules/common-booking/modules/tabs/tab-label.component.ts","./src/modules/common-booking/modules/ancillaries/components/flight-bound-selector/ancillary-flight-bound-selector.component.html","./src/modules/common-booking/modules/ancillaries/components/flight-bound-selector/ancillary-flight-bound-selector.component.ts","./src/modules/booking/modules/common/components/multi-city-survey/multi-city-survey.component.html","./src/modules/booking/modules/common/components/multi-city-survey/multi-city-survey.component.ts","./src/modules/common-booking/modules/tabs/tab-group.component.ts","./src/modules/common-booking/modules/tabs/tab-group.component.html","./src/modules/common-booking/components/subview/subview.module.ts","./src/modules/common-booking/modules/ancillaries/components/seat-map/ancillary-seat-map/ancillary-seat-map.component.ts","./src/modules/common-booking/modules/ancillaries/components/seat-map/ancillary-seat-map/ancillary-seat-map.component.html","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-pre-selection/seat-pre-selection.component.html","./src/modules/common-booking/modules/ancillaries/components/seat-map/seat-pre-selection/seat-pre-selection.component.ts","./src/modules/common-booking/modules/tabs/tabs.module.ts","./src/modules/booking/modules/common/components/trip-message/trip-message.component.html","./src/modules/booking/modules/common/components/trip-message/trip-message.component.ts","./src/modules/common-booking/modules/ancillaries/components/common-product-selection/common-product-selection.component.html","./src/modules/common-booking/modules/ancillaries/components/common-product-selection/common-product-selection.component.ts","./src/modules/common-booking/components/booking-summary/flight/booking-summary-flight.component.html","./src/modules/common-booking/components/booking-summary/flight/booking-summary-flight.component.ts","./src/modules/common-booking/components/booking-summary/section/booking-summary-section.component.html","./src/modules/common-booking/components/booking-summary/section/booking-summary-section.component.ts","./src/modules/common-booking/components/booking-summary/traveler/booking-summary-traveler.component.html","./src/modules/common-booking/components/booking-summary/traveler/booking-summary-traveler.component.ts","./src/modules/common-booking/components/booking-summary/ancillary/booking-summary-ancillary.component.html","./src/modules/common-booking/components/booking-summary/ancillary/booking-summary-ancillary.component.ts","./src/modules/common-booking/components/booking-summary/booking-summary.module.ts","./src/modules/common-booking/modules/ancillaries/components/included-product-item/included-product-item.component.html","./src/modules/common-booking/modules/ancillaries/components/included-product-item/included-product-item.component.ts","./src/modules/common-booking/modules/tabs/tab.component.html","./src/modules/common-booking/modules/tabs/tab.component.ts","./src/modules/common-booking/modules/ancillaries/components/ancillary-subview/ancillary-subview.component.html","./src/modules/common-booking/modules/ancillaries/components/ancillary-subview/ancillary-subview.component.ts","./src/modules/common-booking/components/subview/subview.component.html","./src/modules/common-booking/components/subview/subview.component.ts","./src/modules/common-booking/modules/tabs/tab-header.component.ts","./src/modules/common-booking/modules/tabs/tab-header.component.html","./src/modules/booking/modules/common/components/bound-selection-error-message/bound-selection-error-message.component.html","./src/modules/booking/modules/common/components/bound-selection-error-message/bound-selection-error-message.component.ts","./src/modules/common/pipes/delay.pipe.ts","./src/modules/booking/modules/common/components/flight/flight.component.html","./src/modules/booking/modules/common/components/flight/flight.component.ts","./src/modules/common-booking/utils/ancillaries.utils.ts","./src/modules/booking/modules/common/components/sustainability/sustainability-trip-message/sustainability-trip-message.component.html","./src/modules/booking/modules/common/components/sustainability/sustainability-trip-message/sustainability-trip-message.component.ts"],"sourcesContent":["
\n \n
\n\n
\n \n
\n\n\n

\n {{ policy.outbound?.label }}\n

\n

\n \n {{ outbound$ | finMap: 'departure.locationCode' | async }}–{{\n outbound$ | finMap: 'arrival.locationCode' | async\n }}\n ({{ outboundBrandName$ | async }})\n \n \n {{ policy.outbound?.value }}\n \n

\n

\n \n {{ inbound$ | finMap: 'departure.locationCode' | async }}–{{\n inbound$ | finMap: 'arrival.locationCode' | async\n }}\n ({{ inboundBrandName$ | async }})\n \n \n {{ policy.inbound?.value }}\n \n

\n
\n","import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\n\nimport { combineLatest, Observable, of } from 'rxjs';\nimport { filter, map, startWith } from 'rxjs/operators';\n\nimport { FareFamily, FinnairBoundItem, TranslatedBenefitRow } from '@fcom/dapi/api/models';\nimport { finShare } from '@fcom/rx';\nimport { FareFamilyMap } from '@fcom/common/interfaces/booking';\n\nexport const mapRebookPolicy = (fareFamily: FareFamily) =>\n fareFamily?.translatedBenefitRows.find((row) => row.key === 'rebook');\n\nexport const mapCancellationPolicy = (fareFamily: FareFamily) =>\n fareFamily?.translatedBenefitRows.find((row) => row.key === 'cancel');\n\ninterface TranslatedBenefitRowBounds {\n outbound: TranslatedBenefitRow | undefined;\n inbound?: TranslatedBenefitRow | undefined;\n}\n\n@Component({\n selector: 'fin-offer-policy',\n templateUrl: './offer-policy.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class OfferPolicyComponent implements OnInit {\n @Input()\n fareFamilies$: Observable;\n @Input()\n outbound$: Observable;\n @Input()\n inbound$: Observable;\n @Input()\n isOneWay$: Observable;\n @Input()\n showHighlightedContent$: Observable = of(false);\n\n outboundBrandName$: Observable;\n inboundBrandName$: Observable;\n\n rebookAndCancellationPolicies$: Observable<{\n rebook: TranslatedBenefitRowBounds;\n cancel: TranslatedBenefitRowBounds;\n }>;\n\n constructor() {}\n\n ngOnInit(): void {\n this.outboundBrandName$ = combineLatest([\n this.outbound$.pipe(filter((v) => !!v)),\n this.fareFamilies$.pipe(filter(Boolean)),\n ]).pipe(\n map(([outbound, fareFamilies]: [FinnairBoundItem, FareFamilyMap]) => {\n return this.fareFamilyBrandName(outbound, fareFamilies);\n }),\n filter((v) => !!v)\n );\n\n this.inboundBrandName$ = combineLatest([\n this.inbound$.pipe(filter((v) => !!v)),\n this.fareFamilies$.pipe(filter(Boolean)),\n this.isOneWay$,\n ]).pipe(\n filter(([, , isOneWay]) => !isOneWay),\n map(([inbound, fareFamilies]: [FinnairBoundItem, FareFamilyMap, boolean]) => {\n return this.fareFamilyBrandName(inbound, fareFamilies);\n }),\n filter((v) => !!v)\n );\n\n this.rebookAndCancellationPolicies$ = combineLatest([\n this.fareFamilies$.pipe(filter(Boolean)),\n this.outbound$,\n this.inbound$.pipe(startWith(null as FinnairBoundItem)),\n ]).pipe(\n map(([fareFamilies, outbound, inbound]) => ({\n rebook: {\n outbound: mapRebookPolicy(fareFamilies[outbound?.fareFamily?.code]),\n inbound: inbound ? mapRebookPolicy(fareFamilies[inbound?.fareFamily?.code]) : null,\n },\n cancel: {\n outbound: mapCancellationPolicy(fareFamilies[outbound?.fareFamily?.code]),\n inbound: inbound ? mapCancellationPolicy(fareFamilies[inbound?.fareFamily?.code]) : null,\n },\n })),\n finShare()\n );\n }\n\n private fareFamilyBrandName(outbound: FinnairBoundItem, fareFamilies: FareFamilyMap) {\n const brandName = outbound.fareFamily.name;\n const code = outbound.fareFamily.code;\n return brandName ? brandName : (fareFamilies[code] || ({} as FareFamily)).brandName;\n }\n}\n","\n \n
\n \n
\n\n \n \n
\n\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\n\nimport { map, Observable } from 'rxjs';\n\nimport { FragmentService, MediaQueryService } from '@fcom/common/services';\nimport { CmsArticle } from '@fcom/core-api/interfaces';\nimport { ModalButtons } from '@fcom/ui-components';\nimport { AspectRatioString } from '@fcom/common/interfaces';\n\n@Component({\n selector: 'fin-sustainablity-info-modal',\n templateUrl: './sustainablity-info-modal.component.html',\n styleUrls: ['./sustainablity-info-modal.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SustainablityInfoModalComponent implements OnInit {\n @Input() modalOpen: boolean;\n\n @Output()\n closeModal: EventEmitter = new EventEmitter();\n\n safArticle$: Observable;\n\n public readonly ModalButtons = ModalButtons;\n aspectRatio$: Observable;\n\n constructor(\n private fragmentService: FragmentService,\n private mediaQueryService: MediaQueryService\n ) {}\n\n ngOnInit(): void {\n this.safArticle$ = this.fragmentService.getFragment('fragments.safInfo.url');\n\n this.aspectRatio$ = this.mediaQueryService\n .isBreakpoint$('mobile')\n .pipe(map((isMobile) => (isMobile ? '4x3' : '21x9')));\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { IconsModule, ModalModule, UiComponentsModule } from '@fcom/ui-components';\nimport { UiTranslateModule } from '@fcom/ui-translate';\nimport { CmsModule } from '@fcom/cms';\nimport { ComponentsModule } from '@fcom/common/components';\nimport { GtmModule } from '@fcom/common/gtm/gtm.module';\nimport { PipesModule } from '@fcom/common/pipes/pipes.module';\nimport { CommonBookingComponentsModule } from '@fcom/common-booking/components';\nimport { QualtricsModule } from '@fcom/common/qualtrics/qualtrics.module';\n\nimport { BoundSelectionErrorMessageComponent } from './components/bound-selection-error-message/bound-selection-error-message.component';\nimport { FlightSelectionWarningComponent } from './components/flight-selection-warning/flight-selection-warning.component';\nimport { OfferPolicyComponent } from './components/offer-policy/offer-policy.component';\nimport { BookingFlightComponent } from './components/flight/flight.component';\nimport { GrandTotalComponent } from './components/grand-total/grand-total.component';\nimport { TripMessageComponent } from './components/trip-message/trip-message.component';\nimport { SustainabilityTripMessageComponent } from './components/sustainability/sustainability-trip-message/sustainability-trip-message.component';\nimport { SustainablityInfoModalComponent } from './components/sustainability/sustainablity-info-modal/sustainablity-info-modal.component';\nimport { MultiCitySurveyComponent } from './components/multi-city-survey/multi-city-survey.component';\n\nconst COMPONENTS = [\n BoundSelectionErrorMessageComponent,\n OfferPolicyComponent,\n BookingFlightComponent,\n GrandTotalComponent,\n TripMessageComponent,\n SustainabilityTripMessageComponent,\n SustainablityInfoModalComponent,\n FlightSelectionWarningComponent,\n MultiCitySurveyComponent,\n];\n\n@NgModule({\n imports: [\n CommonModule,\n ComponentsModule,\n CommonBookingComponentsModule,\n PipesModule,\n GtmModule,\n CmsModule,\n UiTranslateModule,\n UiComponentsModule,\n IconsModule,\n ModalModule,\n QualtricsModule,\n ],\n declarations: [...COMPONENTS],\n exports: [...COMPONENTS],\n providers: [],\n})\nexport class BookingCommonModule {}\n","\n @if (listTitle) {\n

\n {{ listTitle }}\n

\n }\n \n \n 0) &&\n (product.count$ | async) === 0\n ? ''\n : (product.count$ | async) === 0\n ? (productCardLocalizationsPrefix + 'services.' + product.category + '.state.selection.default'\n | finLocalization)\n : (product.count$ | async) === 1\n ? (productCardLocalizationsPrefix + 'services.' + product.category + '.state.selection.singular'\n | finLocalization)\n : (productCardLocalizationsPrefix + 'services.' + product.category + '.state.selection.plural'\n | finLocalization: { numberOfItems: product.count$ | async })\n \"\n [purchasedText]=\"\n (product.purchasedCount$ | async) === 0\n ? (productCardLocalizationsPrefix + 'services.' + product.category + '.state.purchased.default'\n | finLocalization)\n : (product.purchasedCount$ | async) === 1\n ? (productCardLocalizationsPrefix + 'services.' + product.category + '.state.purchased.singular'\n | finLocalization)\n : (product.purchasedCount$ | async) > 1\n ? (productCardLocalizationsPrefix + 'services.' + product.category + '.state.purchased.plural'\n | finLocalization: { numberOfItems: product.purchasedCount$ | async })\n : ''\n \"\n [viewSummaryText]=\"'services.productCards.viewSummary' | finLocalization\"\n [buttonIcon]=\"useNewProductCardLayout ? SvgLibraryIcon.ARROW_RIGHT : SvgLibraryIcon.PLUS\"\n [buttonText]=\"\n (useNewProductCardLayout && (product.count$ | async) > 0\n ? 'ancillaries.productCard.button.modify'\n : useNewProductCardLayout\n ? 'ancillaries.productCard.button.select'\n : (product.status$ | async) === ButtonState.OK\n ? 'services.' + product.category + '.state.modify.text'\n : 'services.' + product.category + '.state.select.text'\n ) | finLocalization\n \"\n [buttonAriaText]=\"\n ((product.status$ | async) === ButtonState.OK\n ? 'services.' + product.category + '.state.modify.ariaText'\n : (product.status$ | async) === ButtonState.UPDATING\n ? 'services.' + product.category + '.state.updating.ariaText'\n : 'services.' + product.category + '.state.select.ariaText'\n ) | finLocalization\n \"\n [buttonTheme]=\"\n product.isSpecialUpsellProduct\n ? ButtonTheme.DARK_PRIMARY_NORDIC_BLUE\n : (product.status$ | async) === ButtonState.OK\n ? ButtonTheme.LIGHT_SECONDARY_OUTLINE\n : ButtonTheme.LIGHT_PRIMARY_NORDIC_BLUE\n \"\n [hideViewButton]=\"product.hideViewButton\"\n [hideButton]=\"\n (product.category !== Category.SEAT && product.maxPurchasesDone$ | async) === true ||\n (product.notAvailable$ | async) === true ||\n (product.noQuotaLeft && (product.count$ | async) === 0) ||\n product.notEligibleWithIncompatibleSeat === true\n \"\n (selectProduct)=\"onSelectProduct(product.category, index)\"\n (viewDetails)=\"viewDetails.emit(product.category)\"\n [focusOnBtn$]=\"(focusOnProductBtn$ | async) === product.category | finToObservable\"\n [focusOnViewSummary$]=\"(focusOnViewDetails$ | async) === product.category | finToObservable\"\n [attr.data-testid]=\"'service-selection-' + product.category\"\n [notificationTheme]=\"\n (product.noQuotaLeft && (product.count$ | async) === 0) || product.notEligibleWithIncompatibleSeat === true\n ? NotificationTheme.WARNING\n : NotificationTheme.INFO\n \"\n [notificationText]=\"product.notificationMessage$ | async\"\n [notificationTitle]=\"product.notificationTitle$ | async\"\n [notificationIcon]=\"product.notificationIcon\"\n [productTagText]=\"product.productTag?.localizationKey | finLocalization\"\n [productTagIcon]=\"product.productTag?.icon\"\n [productTagTheme]=\"product.productTag?.theme\"\n [useNewProductCardLayout]=\"useNewProductCardLayout\"\n [countText]=\"\n useNewProductCardLayout && (product.count$ | async) > 0\n ? ('ancillaries.productCard.added' | finLocalization: { numberOfItems: product.count$ | async })\n : ''\n \"\n [isLaptopUp]=\"isLaptopUp$ | async\"\n [isSpecialUpsellProduct]=\"product.isSpecialUpsellProduct\"\n >\n \n \n
\n\n\n
\n \n
\n
\n","import { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { combineLatest, Observable, Subscription } from 'rxjs';\nimport { take } from 'rxjs/operators';\n\nimport { ButtonTheme, NotificationTheme } from '@fcom/ui-components';\nimport {\n FINNAIR,\n GtmEcommerceClickProduct,\n GtmEcommerceImpressionProduct,\n GtmEcommerceList,\n GtmEcommerceMeasurement,\n GtmEvent,\n GtmPurchaseFlow,\n LoaderType,\n} from '@fcom/common/interfaces';\nimport { CmsImageData } from '@fcom/core-api/interfaces';\nimport { Category, FinnairBoundItem } from '@fcom/dapi/api/models';\nimport { Amount, SelectedServiceData } from '@fcom/dapi/interfaces';\nimport { unsubscribe } from '@fcom/core/utils';\nimport { GtmService } from '@fcom/common/gtm';\nimport { getGA4ProductsFromSmpProducts, resolveGtmCategory } from '@fcom/common/utils/gtm.utils';\nimport { MediaQueryService } from '@fcom/common/services';\n\nimport { ButtonState, ProductTag } from '../../interfaces';\n\nexport interface PurchasesDonePerFragment {\n [fragmentId: string]: boolean;\n}\n\nexport interface SmpProduct {\n category: Category;\n title: string;\n description: string;\n image: CmsImageData;\n status$: Observable;\n price$: Observable;\n count$: Observable;\n purchasedCount$?: Observable;\n maxNumberItems$?: Observable;\n maxPurchasesDone$?: Observable;\n notAvailable$?: Observable;\n notEligibleWithIncompatibleSeat?: boolean;\n purchasesDoneForFragment$?: Observable;\n noQuotaLeft: boolean;\n notificationMessage$: Observable;\n notificationTitle$: Observable;\n notificationIcon?: SvgLibraryIcon;\n lowestPrice?: Amount;\n originalPrice?: Amount;\n productTag?: ProductTag;\n hideViewButton: boolean;\n isSpecialUpsellProduct?: boolean;\n}\n\n@Component({\n selector: 'fin-product-list',\n styleUrls: ['product-list.component.scss'],\n templateUrl: 'product-list.component.html',\n})\nexport class ProductListComponent implements OnInit, OnDestroy {\n readonly ButtonState = ButtonState;\n readonly ButtonTheme = ButtonTheme;\n readonly LoaderType = LoaderType;\n readonly Category = Category;\n readonly NotificationTheme = NotificationTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n private subscriptions: Subscription = new Subscription();\n isLaptopUp$: Observable;\n\n @Input() hideZeroPrices = false;\n @Input() products$: Observable;\n @Input() tabletShowTwoPerRow = false;\n @Input() purchaseFlow: GtmPurchaseFlow;\n @Input() focusOnViewDetails$: Observable;\n @Input() focusOnProductBtn$: Observable;\n @Input() productCardLocalizationsPrefix = '';\n @Input() bounds$: Observable;\n @Input() listTitle?: string;\n @Input() useNewProductCardLayout = false;\n\n @Output() selectProduct: EventEmitter = new EventEmitter();\n @Output() viewDetails: EventEmitter = new EventEmitter();\n\n constructor(\n private gtmService: GtmService,\n private mediaQueryService: MediaQueryService\n ) {}\n\n ngOnInit(): void {\n this.subscriptions.add(\n combineLatest([this.products$, this.bounds$])\n .pipe(take(1))\n .subscribe(([products, bounds]) => {\n this.sendEcommerceImpressionsEvent(products);\n this.gtmService.ecommerceEventGA4(\n GtmEvent.VIEW_ITEM_LIST,\n getGA4ProductsFromSmpProducts(products, this.purchaseFlow, bounds)\n );\n })\n );\n this.isLaptopUp$ = this.mediaQueryService.isBreakpoint$('laptop_up');\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n onSelectProduct(category: Category, index: number): void {\n this.selectProduct.emit({ category, index: 0 });\n this.sendEcommerceClickEvent(category, index);\n\n this.subscriptions.add(\n combineLatest([this.products$, this.bounds$])\n .pipe(take(1))\n .subscribe(([products, bounds]) => {\n const matchedProduct = products.find((product) => product.category === category);\n\n this.gtmService.ecommerceEventGA4(\n GtmEvent.SELECT_ITEM,\n getGA4ProductsFromSmpProducts([matchedProduct], this.purchaseFlow, bounds)\n );\n })\n );\n }\n\n private sendEcommerceImpressionsEvent(products: SmpProduct[]): void {\n const gtmProducts: GtmEcommerceImpressionProduct[] = products.map((product, index) => {\n const name = product.category === Category.BAGGAGE ? 'BAG' : resolveGtmCategory(product.category)[0];\n return {\n name,\n id: name,\n brand: FINNAIR,\n category: resolveGtmCategory(product.category)[1],\n list: [GtmPurchaseFlow.BOOKING, GtmPurchaseFlow.CORPORATE].includes(this.purchaseFlow)\n ? GtmEcommerceList.BOOKING_SMP\n : GtmEcommerceList.MMB_VIEW_PNR,\n position: index + 1,\n };\n });\n\n this.gtmService.ecommerceEvent(\n GtmEvent.PRODUCT_IMPRESSIONS,\n GtmEcommerceMeasurement.IMPRESSIONS,\n gtmProducts,\n this.purchaseFlow\n );\n }\n\n private sendEcommerceClickEvent(category: Category, index: number): void {\n const gtmProductName = category === Category.BAGGAGE ? 'BAG' : resolveGtmCategory(category)[0];\n const gtmProduct: GtmEcommerceClickProduct = {\n name: gtmProductName,\n id: gtmProductName,\n brand: FINNAIR,\n category: resolveGtmCategory(category)[1],\n position: index + 1,\n };\n\n this.gtmService.enhancedEcommerceProductClickOrDetailView(\n GtmEvent.PRODUCT_CLICK,\n GtmEcommerceMeasurement.CLICK,\n gtmProduct,\n [GtmPurchaseFlow.BOOKING, GtmPurchaseFlow.CORPORATE].includes(this.purchaseFlow)\n ? GtmEcommerceList.BOOKING_SMP\n : GtmEcommerceList.MMB_VIEW_PNR,\n this.purchaseFlow\n );\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport {\n ButtonModule,\n DrawerModule,\n FlightsModule,\n IconsModule,\n ModalModule,\n NotificationsModule,\n} from '@fcom/ui-components';\nimport { UiTranslateModule } from '@fcom/ui-translate';\nimport { ComponentsModule } from '@fcom/common/components/components.module';\nimport { GtmModule } from '@fcom/common/gtm/gtm.module';\nimport { PipesModule } from '@fcom/common/pipes/pipes.module';\nimport { BookingCommonModule } from '@fcom/booking/modules/common/booking-common.module';\nimport { DirectiveModule } from '@fcom/common/directives';\nimport { CmsModule } from '@fcom/cms';\n\nimport { AncillaryHeaderComponent } from '../ancillary-header/ancillary-header.component';\nimport { AncillaryFlightBoundSelectorComponent } from '../flight-bound-selector/ancillary-flight-bound-selector.component';\nimport { AncillarySubviewComponent } from './ancillary-subview.component';\nimport { AncillarySidebarComponent } from '../ancillary-sidebar/ancillary-sidebar.component';\nimport { CommonBookingComponentsModule } from '../../../../components';\nimport { BookingSummaryModule } from '../../../../components/booking-summary/booking-summary.module';\nimport { SubViewModule } from '../../../../components/subview/subview.module';\n\n@NgModule({\n imports: [\n CommonModule,\n ComponentsModule,\n CommonBookingComponentsModule,\n PipesModule,\n GtmModule,\n BookingCommonModule,\n BookingSummaryModule,\n UiTranslateModule,\n ButtonModule,\n IconsModule,\n DrawerModule,\n FlightsModule,\n ModalModule,\n NotificationsModule,\n SubViewModule,\n DirectiveModule,\n CmsModule,\n ],\n declarations: [\n AncillaryFlightBoundSelectorComponent,\n AncillaryHeaderComponent,\n AncillarySidebarComponent,\n AncillarySubviewComponent,\n ],\n exports: [\n AncillarySubviewComponent,\n AncillaryHeaderComponent,\n AncillaryFlightBoundSelectorComponent,\n AncillarySidebarComponent,\n ],\n})\nexport class AncillarySubviewModule {}\n","import { Component, ElementRef, Input, OnInit, ViewChild } from '@angular/core';\n\nimport { NotificationTheme } from '@fcom/ui-components';\n\n@Component({\n selector: 'fin-ancillary-header',\n templateUrl: 'ancillary-header.component.html',\n})\nexport class AncillaryHeaderComponent implements OnInit {\n readonly NotificationTheme = NotificationTheme;\n\n @Input()\n title: string;\n\n @ViewChild('headerTitle', { static: true })\n headerTitle: ElementRef;\n\n ngOnInit(): void {\n setTimeout(() => {\n this.headerTitle.nativeElement.focus();\n }, 300);\n }\n}\n","
\n

{{ title }}

\n \n
\n","\n

\n {{ 'price.grandTotal' | finLocalization }}\n \n {{\n originalTotalPrice | finPrice: { useSymbol }\n }}\n \n \n {{ ('award.points' | finLocalization: { pointsAmount: points || 0 | finPoints }) + ' + ' }}\n {{ totalPrice$ | async | finPrice: { useSymbol } }}\n \n {{ totalPrice$ | async | finPrice: { useSymbol } }}\n \n

\n\n","import { Component, Input, OnInit } from '@angular/core';\n\nimport { combineLatest, Observable, of } from 'rxjs';\nimport { filter, map } from 'rxjs/operators';\n\nimport { Amount } from '@fcom/dapi';\nimport { FinnairTotalPricesDetails, ServiceFlow } from '@fcom/dapi/api/models';\nimport { safeMap as safeMapObs } from '@fcom/rx';\nimport { toAmount } from '@fcom/common-booking/utils/common-booking.utils';\nimport { hasUnitPrices } from '@fcom/common/utils';\n\nexport enum GrandTotalTheme {\n DEFAULT = 'default',\n RENEWED = 'renewed',\n}\n\n@Component({\n selector: 'fin-grand-total',\n templateUrl: './grand-total.component.html',\n})\nexport class GrandTotalComponent implements OnInit {\n readonly GrandTotalTheme = GrandTotalTheme;\n @Input()\n serviceFlow$: Observable = of(undefined);\n\n @Input()\n prices$: Observable;\n\n /**\n * Theme to be shown\n */\n @Input()\n theme = GrandTotalTheme.DEFAULT;\n\n @Input()\n useSymbol = false;\n\n totalPrice$: Observable;\n totalPoints$: Observable;\n originalTotalPrice$: Observable;\n\n ngOnInit(): void {\n this.totalPrice$ = combineLatest([this.prices$, this.serviceFlow$]).pipe(\n filter(([prices]) => hasUnitPrices(prices)),\n safeMapObs(([data, serviceFlow]) => {\n const total = data.total.total;\n if (total.totalPoints) {\n if (!serviceFlow || serviceFlow === ServiceFlow.AWARD) {\n const totalAmount = total.totalAmountPaid ?? total.totalAmount;\n return toAmount(totalAmount);\n } else if (\n (serviceFlow === ServiceFlow.BOOKING || serviceFlow === ServiceFlow.MMB_ANCILLARY) &&\n total.totalAmountPaid\n ) {\n return toAmount(total.totalAmountPaid);\n }\n }\n return toAmount(total.totalAmount);\n })\n );\n\n this.totalPoints$ = this.prices$.pipe(\n filter((data) => !!data?.total?.total?.totalPoints),\n map((data) => +data.total.total.totalPoints.amount)\n );\n\n this.originalTotalPrice$ = this.prices$.pipe(\n filter((data) => !!data?.flight?.total?.discountReasonCode && !!data?.total?.total?.originalTotalAmount),\n map((data) => data.total.total.originalTotalAmount)\n );\n }\n}\n","

\n {{ titleTranslationKey | finLocalization }}\n

\n\n\n
\n

\n {{ item }}\n

\n
\n\n\n
\n \n
\n \n
\n {{ 'MMB.includedProducts.noServicesTitle' | finLocalization }}\n
\n \n
\n \n \n\n \n\n \n\n \n \n\n \n
\n\n \n \n
\n \n\n
0\">\n \n \n \n
\n \n
\n \n\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n OnChanges,\n OnInit,\n Output,\n SimpleChanges,\n} from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { filter, map, NEVER, Observable, of } from 'rxjs';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { finShare } from '@fcom/rx';\nimport { ButtonMode, ButtonSize, ButtonTheme, IconPosition, TabLayoutType, TabTheme } from '@fcom/ui-components';\nimport { isShortHaulFlight, LoaderType } from '@fcom/common';\nimport { equals } from '@fcom/core/utils';\nimport { Category, FinnairBoundItem, FinnairCart, FinnairOrder, FinnairServiceItem } from '@fcom/dapi/api/models';\nimport {\n BoundWithServices,\n RemovedServiceInfo,\n RemovedServiceProgress,\n SelectedServiceData,\n UpsellCategoriesForBound,\n} from '@fcom/dapi/interfaces';\n\nimport { getServicesForBoundWithUpsell } from '../../../../utils/common-booking.utils';\nimport { SmpProduct } from '../product-list/product-list.component';\nimport { CartOrOrder } from '../../../../interfaces';\n\n@Component({\n selector: 'fin-included-products',\n templateUrl: './included-products.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IncludedProductsComponent implements OnInit, OnChanges {\n readonly ButtonMode = ButtonMode;\n readonly ButtonSize = ButtonSize;\n readonly ButtonTheme = ButtonTheme;\n readonly Category = Category;\n readonly IconPosition = IconPosition;\n readonly LoaderType = LoaderType;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n readonly TabLayoutType = TabLayoutType;\n readonly TabTheme = TabTheme;\n\n @Input() booking: FinnairCart | FinnairOrder;\n\n @Input() bound: FinnairBoundItem | undefined;\n\n @Input() showHeading = true;\n\n @Input() showTickets = false;\n\n @Input() showModifyButtons = false;\n\n @Input() showInformationModal = false;\n\n @Input() useCabinClass = false;\n\n @Input() titleTranslationKey;\n\n @Input() showAdditionalTitle = false;\n\n @Input() expandOpen = false;\n\n @Input() headerContentTranslationKey?: string;\n\n @Input() servicesToShow: FinnairServiceItem[];\n\n @Input() showAsPending = false;\n\n @Input() upsellInModal$: Observable = NEVER;\n\n @Input() headingClasses = 'font-heading-4';\n\n @Input() showUpsell = false;\n\n @Input() displaySeatReassignMessage = false;\n\n @Input() includeSeatActionButtons = false;\n\n @Input() isCarrierConnect = false;\n\n @Input() showNonAYSeats = false;\n\n @Input() includeAssignAtAirportStatus = false;\n\n @Input() showClearPendingSeatsButton = false;\n\n @Input() isShoppingCart = false;\n\n @Input() groupServicesByBound = false;\n\n @Input() products$: Observable = of([]);\n\n @Input() removeInProgress$: Observable = of({ removeInProgress: false });\n\n @Output()\n continuePurchase: EventEmitter = new EventEmitter();\n\n @Output()\n removeProduct: EventEmitter = new EventEmitter();\n\n @Output()\n upsellClicked: EventEmitter = new EventEmitter();\n\n @Output()\n viewSeatmap: EventEmitter = new EventEmitter();\n\n @Output()\n clearPendingSeats: EventEmitter = new EventEmitter();\n\n servicesForBounds: BoundWithServices[];\n\n headerContents$: Observable;\n\n isShortHaulFlight: boolean;\n\n constructor(private languageService: LanguageService) {}\n\n ngOnInit(): void {\n this.updateServices();\n\n this.headerContents$ = this.headerContentTranslationKey\n ? this.languageService.translate(this.headerContentTranslationKey).pipe(\n map((content) => (Array.isArray(content) ? content : [content])),\n filter(Boolean),\n finShare()\n )\n : NEVER;\n\n this.isShortHaulFlight = this.isShortHaul(this.booking);\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (\n !equals(changes['showUpsell']?.currentValue, changes['showUpsell']?.previousValue) ||\n !equals(changes['showUpsellPaymentButton']?.currentValue, changes['showUpsellPaymentButton']?.previousValue) ||\n !equals(changes['servicesToShow']?.currentValue, changes['servicesToShow']?.previousValue) ||\n !equals(changes['booking']?.currentValue, changes['booking']?.previousValue)\n ) {\n this.updateServices();\n }\n }\n\n private isShortHaul(booking: FinnairCart | FinnairOrder): boolean {\n const locations = Object.values(booking.locations);\n return isShortHaulFlight(locations[0], locations[1]);\n }\n\n private updateServices(): void {\n this.servicesForBounds = this.getServicesToShowForBounds(\n this.booking,\n this.showUpsell,\n this.servicesToShow,\n this.bound ? [this.bound] : this.booking.bounds,\n this.products$\n );\n }\n\n private getServicesToShowForBounds(\n cartOrOrder: CartOrOrder,\n showUpsell: boolean,\n servicesToShow: FinnairServiceItem[],\n bounds: FinnairBoundItem[],\n products$: Observable = of([])\n ): BoundWithServices[] {\n return bounds.map((bound) => {\n return {\n ...bound,\n services: getServicesForBoundWithUpsell(\n cartOrOrder,\n showUpsell,\n servicesToShow,\n cartOrOrder.services.servicesOrder,\n bound,\n cartOrOrder.serviceCatalog,\n products$\n ),\n } as BoundWithServices;\n });\n }\n\n onSelectProduct(serviceData: SelectedServiceData): void {\n this.upsellClicked.emit(serviceData);\n }\n\n onContinuePurchase(): void {\n this.continuePurchase.emit();\n }\n\n onRemoveProduct(event: RemovedServiceInfo, boundId: string): void {\n this.removeProduct.emit({\n ...event,\n boundId: boundId,\n });\n }\n}\n","import { Injectable } from '@angular/core';\n\nimport { Observable, of } from 'rxjs';\nimport { Store } from '@ngrx/store';\nimport { filter, distinctUntilChanged } from 'rxjs/operators';\n\nimport { AppState } from '@fcom/core';\nimport { pseudoLocal } from '@fcom/core/selectors';\nimport { PseudoLocalActions } from '@fcom/core/actions';\nimport { isPresent } from '@fcom/core/utils';\n\n/**\n * Note! This is service meant to be provided by TabHeaderComponent and TabGroupComponent\n * for their child components to share data. Therefore DO NOT add this to any other provider!\n */\n@Injectable()\nexport class TabStateService {\n private selectedTabId$: Observable = of(null);\n private tabGroupId: string;\n\n constructor(private store$: Store) {}\n\n init(tabGroupId: string): void {\n this.tabGroupId = tabGroupId;\n this.selectedTabId$ = this.store$.pipe(\n pseudoLocal(this.tabGroupId),\n filter((id: string) => isPresent(id)),\n distinctUntilChanged()\n );\n }\n\n clear(): void {\n this.store$.dispatch(PseudoLocalActions.destroyValue({ key: this.tabGroupId }));\n }\n\n getSelectedTabId(): Observable {\n return this.selectedTabId$;\n }\n\n setSelectedTabId(tabId: string): void {\n if (tabId) {\n this.store$.dispatch(PseudoLocalActions.setValue({ key: this.tabGroupId, data: tabId }));\n } else {\n this.clear();\n }\n }\n}\n","export enum AncillaryLoaderStatus {\n OFF = 'off',\n REASSIGNING = 'reassigning',\n}\n","
\n
\n \n
{{ title }}
\n
\n \n {{ warningNotificationCtaText }}\n {{ warningNotificationMessage }}\n \n \n
\n","import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\n\nimport { NotificationTheme } from '@fcom/ui-components';\n\n@Component({\n selector: 'fin-flight-selection-warning',\n templateUrl: './flight-selection-warning.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FlightSelectionWarningComponent {\n readonly NotificationTheme = NotificationTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input() title: string;\n @Input() warningNotificationMessage: string;\n @Input() warningNotificationCtaText: string;\n @Input() showWarningNotification = true;\n\n @Output()\n ctaClick: EventEmitter = new EventEmitter();\n}\n","
\n
\n \n
\n
\n {{ additionalInfoKey$ | async | finLocalization }}\n
\n
\n","import { Component, Input } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable } from 'rxjs';\n\n@Component({\n selector: 'fin-additional-info',\n styleUrls: ['additional-info.component.scss'],\n templateUrl: 'additional-info.component.html',\n})\nexport class AdditionalInfoComponent {\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input() additionalInfoKey$: Observable;\n}\n","import { Component, Input } from '@angular/core';\n\nimport { Amount } from '@fcom/dapi/interfaces';\n\n@Component({\n selector: 'fin-ancillary-price',\n templateUrl: 'ancillary-price.component.html',\n})\nexport class AncillaryPriceComponent {\n @Input() price: Amount;\n @Input() title: string;\n @Input() disclaimer: string;\n}\n","
\n {{ price | finPrice }}\n {{ title | finLocalization }}\n
\n
\n {{ disclaimer | finLocalization }}\n
\n","
\n 0\"\n class=\"block pr-xsmall-b border-bottom\"\n [groupedServices]=\"filteredGroupedServices\"\n >\n\n \n
0\">\n \n
{{ 'ancillaries.selectionText' | finLocalization }}
\n
\n\n
\n
\n
    \n
  • \n 1\">{{ ancillary.quantity }} x {{ ancillary.translations.title }}\n \n {{ ancillary.originalPrice | finPrice }}\n \n {{ ancillary.totalPrice | finPrice }}\n
  • \n
\n
\n
\n \n
\n
\n
\n
\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n OnChanges,\n OnInit,\n Output,\n SimpleChanges,\n} from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\n\nimport { GroupedServices } from '@fcom/dapi';\nimport { ButtonSize, ButtonTheme, IconPosition } from '@fcom/ui-components';\n\nimport { ExtendedService } from '../../interfaces';\n\n@Component({\n selector: 'fin-ancillary-selection',\n styleUrls: ['./ancillary-selection.component.scss'],\n templateUrl: 'ancillary-selection.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AncillarySelectionComponent implements OnInit, OnChanges {\n readonly ButtonSize = ButtonSize;\n readonly ButtonTheme = ButtonTheme;\n readonly IconPosition = IconPosition;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input()\n showRemove = true;\n @Input()\n ancillaries: ExtendedService[] = [];\n @Input()\n groupedServices: GroupedServices[] = [];\n @Input()\n hideSelection = false;\n\n @Output()\n removeSelections: EventEmitter = new EventEmitter();\n\n showRemoveBasedOnAncillaries: boolean;\n filteredGroupedServices: GroupedServices[];\n\n ngOnInit(): void {\n this.showRemoveBasedOnAncillaries = this.showRemoveButton();\n this.filteredGroupedServices = this.getFilteredGroupedServices();\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (!changes['showRemove']?.firstChange || !changes['ancillaries']?.firstChange) {\n this.showRemoveBasedOnAncillaries = this.showRemoveButton();\n }\n\n if (!changes['groupedServices']?.firstChange) {\n this.filteredGroupedServices = this.getFilteredGroupedServices();\n }\n }\n\n private getFilteredGroupedServices(): GroupedServices[] {\n return this.groupedServices.filter(({ key }) => key !== 'pendingPayment');\n }\n\n private showRemoveButton(): boolean {\n return (\n this.showRemove &&\n this.ancillaries.every(\n (ancillary) =>\n ancillary.paidQuantity === 0 || +ancillary.totalPrice?.amount === 0 || ancillary.isModifiable === true\n )\n );\n }\n}\n","\n 0\"\n class=\"meal-details-categories nordic-blue-900-text font-body-1 pr-medium-y\"\n >\n \n {{ i > 0 ? ', ' : ''\n }}{{ 'ancillaries.meals.categories.' + category + '.full' | finLocalization | finEmpty: category }}\n \n \n
\n
\n
\n

{{ 'ancillaries.meals.details.ingredients' | finLocalization }}:

\n
\n
\n
\n

{{ 'ancillaries.meals.details.nutritionFacts' | finLocalization }}:

\n
\n
\n \n
\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\nimport { ExtendedService } from '../../interfaces';\n\n@Component({\n selector: 'fin-meal-details',\n styleUrls: ['meal-details.component.scss'],\n templateUrl: 'meal-details.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MealDetailsComponent {\n @Input()\n meal: ExtendedService;\n}\n","\n \n\n\n\n
\n
\n {{ teaserTitle }}\n \n {{ details.seatNumber }}\n {{\n 'ancillaries.seats.popover.exitLabel' | finLocalization\n }}\n \n
\n
\n \n {{ details.price?.originalPrice | finPrice: { roundPrice: details.price.originalPrice.amount === '0' } }}\n
\n
\n {{ details.price?.price | finPrice: { roundPrice: details.price?.price.amount === '0' } }}\n
\n
\n \n\n
\n
\n\n \n\n \n\n \n \n \n\n \n {{ 'ancillaries.seats.popover.clear' | finLocalization }}\n \n \n
\n\n \n \n \n\n \n {{ 'ancillaries.seats.popover.clear' | finLocalization }}\n \n \n
\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, of, Subscription, zip } from 'rxjs';\nimport { delay, distinctUntilChanged, filter, map, startWith, switchMap } from 'rxjs/operators';\n\nimport { ButtonMode, IconPosition } from '@fcom/ui-components';\nimport { LanguageService } from '@fcom/ui-translate';\nimport { LoaderType } from '@fcom/common/interfaces';\nimport { CmsDataService } from '@fcom/core/services';\nimport { finShare, safeMap as safeMapObs } from '@fcom/rx';\nimport { isPresent, stopPropagation, unsubscribe } from '@fcom/core/utils';\nimport { CmsSeatDetails } from '@fcom/common/interfaces/booking';\n\nimport { ButtonState, SeatDetails } from '../../../interfaces';\n\nconst POPOVER_ANIMATION_DURATION = 300;\n\n@Component({\n selector: 'fin-seat-details',\n styleUrls: ['./seat-details.component.scss'],\n templateUrl: './seat-details.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SeatDetailsComponent implements OnInit, OnDestroy {\n public readonly LoaderType = LoaderType;\n public readonly ButtonState = ButtonState;\n public readonly IconPosition = IconPosition;\n public readonly ButtonMode = ButtonMode;\n public readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input()\n seatDetails$: Observable;\n\n @Input()\n hideButtons = false;\n\n /**\n * Emits when the seat details are loaded\n * @type {EventEmitter}\n */\n @Output()\n seatDetailsLoadComplete: EventEmitter = new EventEmitter();\n\n /**\n * Emits when the seat has been selected for the traveler\n * @type {EventEmitter}\n */\n @Output()\n seatSelected: EventEmitter = new EventEmitter();\n\n /**\n * Emits when the seat should be cleared\n * @type {EventEmitter}\n */\n @Output()\n seatCleared: EventEmitter = new EventEmitter();\n\n cmsSeatDetails$: Observable;\n seatTitle$: Observable;\n seatDetailsWithCMS$: Observable;\n seatDetailsSubscription = new Subscription();\n\n constructor(\n private languageService: LanguageService,\n private cmsDataService: CmsDataService\n ) {}\n\n ngOnInit(): void {\n this.cmsSeatDetails$ = this.seatDetails$.pipe(\n safeMapObs((s: SeatDetails) => s.seatType),\n distinctUntilChanged(),\n switchMap((seatType: string) => this.languageService.translate(['seatTypes', seatType])),\n map((jsonData: any) => jsonData?.url),\n switchMap((url: string) =>\n isPresent(url)\n ? this.cmsDataService.getFragmentJson(url).pipe(startWith(null as CmsSeatDetails))\n : of({} as CmsSeatDetails)\n ),\n finShare()\n );\n\n this.seatTitle$ = this.cmsSeatDetails$.pipe(\n switchMap((d: CmsSeatDetails) => {\n if (!d || d.teaserTitle) {\n return of(d?.teaserTitle);\n }\n return this.seatDetails$.pipe(map((s) => s.seatType));\n })\n );\n\n this.seatDetailsWithCMS$ = zip(\n this.seatDetails$.pipe(delay(POPOVER_ANIMATION_DURATION)),\n this.cmsSeatDetails$.pipe(filter(Boolean))\n );\n\n this.seatDetailsSubscription.add(\n this.seatDetailsWithCMS$.subscribe(() => {\n this.seatDetailsLoadComplete.emit();\n })\n );\n }\n\n ngOnDestroy(): void {\n unsubscribe(this.seatDetailsSubscription);\n }\n\n selectSeat(details: SeatDetails, event: Event): void {\n stopPropagation(event);\n this.seatSelected.emit(details);\n }\n\n clearSeat(details: SeatDetails, event: Event): void {\n stopPropagation(event);\n this.seatCleared.emit(details);\n }\n\n confirmSeatClick(details: SeatDetails, event: Event, forceSelection = false): false {\n if (details.seatSelectedForTraveler === details.travelerId && !forceSelection) {\n this.seatCleared.emit(details);\n } else {\n this.seatSelected.emit(details);\n }\n return stopPropagation(event);\n }\n}\n","import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { v4 as uuid } from 'uuid';\n\n@Component({\n selector: 'fin-product-expand',\n templateUrl: 'product-expand.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class ProductExpandComponent implements OnInit {\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input() title: string;\n\n open = false;\n id: string;\n\n ngOnInit(): void {\n this.id = uuid();\n }\n}\n","
\n \n {{ title }}\n \n \n\n \n
\n \n
\n
\n
\n","\n \n\n\n\n \n {{\n (operatingAirlineIdInfo.isOrder\n ? 'ancillaries.seat.operatingAirlineNotification.generalMessage.mmb'\n : 'ancillaries.seat.operatingAirlineNotification.generalMessage.booking'\n ) | finLocalization\n }}\n \n {{\n (operatingAirlineIdInfo.isOrderIdIdentical\n ? 'ancillaries.seat.operatingAirlineNotification.pnrMessage.sameId'\n : 'ancillaries.seat.operatingAirlineNotification.pnrMessage.differentId'\n ) | finLocalization\n }}\n \n {{ operatingAirlineIdInfo.operatingAirlineId.id }}\n \n \n \n\n\n\n\n
\n \n \n {{ 'services.seat.notAvailableWhenCheckInClosed' | finLocalization }}\n \n \n \n \n \n \n

\n {{ 'ancillaries.seats.loadErrorTitle' | finLocalization }}\n

\n

{{ 'ancillaries.seats.loadErrorContent' | finLocalization }}

\n \n
\n \n
\n
\n \n \n \n {{ notification.key | finLocalization }}\n \n

\n {{ notification.reason.key | finLocalization: notification.reason.data }}\n

\n
\n
\n \n

\n {{ 'services.cannotAdd' | finLocalization }}\n

\n
\n \n @if ((operatingAirlineIdInfo$ | async)?.isOperated) {\n \n }\n
\n \n \n {{ 'MMB.view.seatMap.paidSeatNotification' | finLocalization }}\n \n \n {{ 'MMB.view.seatMap.ticketedSeatNotification' | finLocalization }}\n \n\n \n\n @if (benefitTextKey) {\n \n }\n\n \n\n
\n \n \n \n \n \n
\n\n
\n \n
\n\n
\n
{{ 'seatMap.airCraftModel' | finLocalization }}
\n \n {{ flight.aircraft.name }}\n \n {{ 'aircrafts.' + flight.aircraft.code | finLocalization }} ({{ flight.aircraft.code }})\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 ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n EventEmitter,\n Input,\n OnChanges,\n OnDestroy,\n OnInit,\n Output,\n SimpleChanges,\n ViewChild,\n} from '@angular/core';\nimport { ViewportScroller } from '@angular/common';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { BehaviorSubject, combineLatest, Observable, of, ReplaySubject, Subject, Subscription } from 'rxjs';\nimport { delay, distinctUntilChanged, filter, map, switchMap, take, withLatestFrom } from 'rxjs/operators';\nimport { Store } from '@ngrx/store';\n\nimport {\n ButtonPosition,\n ButtonSize,\n ButtonTheme,\n IconButtonSize,\n IconButtonTheme,\n IconPosition,\n LoaderTheme,\n ModalButtons,\n NotificationTheme,\n TagTheme,\n} from '@fcom/ui-components';\nimport {\n Category,\n FinnairCart,\n FinnairItineraryItemFlight,\n FinnairOperatingAirlineId,\n FinnairOrder,\n FinnairPassengerCode,\n FinnairPassengerItem,\n FinnairServiceItem,\n SeatInfo,\n SeatmapSvgAndControlData,\n} from '@fcom/dapi/api/models';\nimport { resolveTailName, stopPropagation, unsubscribe } from '@fcom/core/utils';\nimport { ElementActions, ElementTypes, SelectOption } from '@fcom/common/interfaces';\nimport { LanguageService } from '@fcom/ui-translate';\nimport { Amount, ServiceCatalogSelectionsForAllTravelers } from '@fcom/dapi/interfaces';\nimport { AIRCRAFT_TRANSLATION_MAP, SeatMapStatus } from '@fcom/common/interfaces/seat-map.interface';\nimport { ConfigService, SentryLogger } from '@fcom/core/services';\nimport { CmsTemplateService } from '@fcom/cms';\nimport { CmsTemplate } from '@fcom/core-api';\nimport { GtmService } from '@fcom/common/gtm';\nimport { finShare, snapshot } from '@fcom/rx';\n\nimport {\n EligibilitiesForFragments,\n FlightWithStreams,\n Notification,\n SeatChangeEvent,\n SeatDetails,\n SeatMapTraveler,\n} from '../../../interfaces';\nimport { SeatMapRendererComponent } from '../seat-map-renderer/seat-map-renderer.component';\nimport {\n getSeatMapFlight,\n getSeatPrice,\n getServicesNotifications,\n isAllowedToChangeSeat,\n servicesForFlightAndTravelerId,\n} from '../../../utils';\nimport { AncillaryLoaderStatus } from '../../../enums';\nimport { CommonBookingFeatureState, SeatMapActions } from '../../../../../store';\nimport { isOrder } from '../../../../../utils/common-booking.utils';\nimport { SeatBenefitTag } from '../seat-benefit/seat-benefit.component';\nimport { BENEFITS } from '../../../../../utils/benefit.utils';\n\nconst FLIGHT_CONTAINER_ANIMATION_DELAY = 350;\n\ninterface OperatingAirlineIdInfo {\n operatingAirlineId: FinnairOperatingAirlineId;\n isOperated: boolean;\n isOrderIdIdentical: boolean;\n isOrder: boolean;\n}\n\n@Component({\n selector: 'fin-seat-map-view',\n styleUrls: ['./seat-map-view.component.scss'],\n templateUrl: './seat-map-view.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SeatMapViewComponent implements OnInit, OnDestroy, OnChanges {\n readonly ButtonPosition = ButtonPosition;\n readonly ButtonSize = ButtonSize;\n readonly ButtonTheme = ButtonTheme;\n readonly Category = Category;\n readonly IconButtonSize = IconButtonSize;\n readonly IconButtonTheme = IconButtonTheme;\n readonly IconPosition = IconPosition;\n readonly LoaderTheme = LoaderTheme;\n readonly ModalButtons = ModalButtons;\n readonly SeatMapStatus = SeatMapStatus;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n readonly NotificationTheme = NotificationTheme;\n\n @Input() flight: FlightWithStreams;\n @Input() passengers$: Observable;\n @Input() seatSelections$: Observable;\n @Input() flightIsActive$: Observable;\n @Input() cartOrOrder$: Observable;\n @Input() includedSeats: FinnairServiceItem | null;\n @Input() availability$: Observable = of({});\n @Input() canClearSeats = true;\n @Input() notEligibleWhenCheckInClosed = false;\n @Input() preSelectedPax$: Observable = of(undefined);\n @Input() ancillaryLoader$: BehaviorSubject;\n\n @Output() changeSeats: EventEmitter = new EventEmitter();\n @Output() subtotalChange: EventEmitter = new EventEmitter();\n @Output() retrySeatmap: EventEmitter = new EventEmitter();\n @Output() isReassigningSeats: EventEmitter = new EventEmitter();\n\n @ViewChild('seatMap') seatMapElement: SeatMapRendererComponent;\n\n subscriptions: Subscription = new Subscription();\n selectablePassengers$: BehaviorSubject = new BehaviorSubject([]);\n seatDetails$: Subject = new ReplaySubject(1);\n passengerOptions$: Observable;\n seatMapContainerWidth$: BehaviorSubject = new BehaviorSubject(undefined);\n unmodifiableSeat$: Observable;\n unmodifiableFreeSeat$: Observable;\n noSeatmapNotifications$: Observable;\n isAtStart = true;\n isAtEnd = false;\n currentFlightTail: string;\n exitRowModalOpen = false;\n aircraftModalOpen = false;\n aircraftInformationTemplate$: BehaviorSubject = new BehaviorSubject(undefined);\n scrollPosition = 0;\n isFinnairWetLease = false;\n operatingAirlineIdInfo$: Observable;\n flight$: BehaviorSubject = new BehaviorSubject(null);\n benefitTextKey: string;\n benefitTag: SeatBenefitTag;\n\n constructor(\n private languageService: LanguageService,\n private templateService: CmsTemplateService,\n private configService: ConfigService,\n private viewportScroller: ViewportScroller,\n private gtmService: GtmService,\n private sentryLogger: SentryLogger,\n private changeDetectorRef: ChangeDetectorRef,\n private store$: Store\n ) {}\n\n ngOnInit(): void {\n this.currentFlightTail = resolveTailName(this.flight.operatingAirline.code);\n\n this.subscriptions.add(\n combineLatest([this.passengers$, this.seatSelections$, this.flight.seatMap$])\n .pipe(\n take(1),\n switchMap(([passengers, seatSelections, seatMap]) => {\n return this.preSelectedPax$.pipe(\n distinctUntilChanged(),\n map((preSelectedPax) => {\n return [passengers, seatSelections, seatMap, preSelectedPax] as [\n FinnairPassengerItem[],\n ServiceCatalogSelectionsForAllTravelers,\n SeatmapSvgAndControlData,\n string,\n ];\n })\n );\n })\n )\n .subscribe(([passengers, seatSelections, seatMap, preSelectedPax]) => {\n this.selectablePassengers$.next(this.mapPassengers(passengers, seatSelections, seatMap, preSelectedPax));\n })\n );\n\n this.passengerOptions$ = this.selectablePassengers$.pipe(\n withLatestFrom(this.languageService.translate('seatMap.and')),\n map(([passengers, and]) => passengers.map((p) => ({ value: p.id, name: this.getTravelerFullName(p, and) })))\n );\n\n this.subscriptions.add(\n this.flight.seatMap$.subscribe((seatMap) => {\n this.isFinnairWetLease = seatMap.isWetlease;\n\n // Wait until seat map element is visible before triggering seat chips to render.\n setTimeout(() => {\n const seatMapEl = this.seatMapElement?.seatMapWrapper?.nativeElement;\n this.seatMapContainerWidth$.next(seatMapEl?.clientWidth);\n this.changeDetectorRef.detectChanges();\n }, 0);\n })\n );\n\n this.subscriptions.add(\n combineLatest([\n this.selectablePassengers$,\n this.flightIsActive$.pipe(delay(FLIGHT_CONTAINER_ANIMATION_DELAY)), // Delay to prevent transition collision, to be refactored\n this.flight.seatMapStatus$,\n this.ancillaryLoader$,\n this.cartOrOrder$,\n ])\n .pipe(\n filter(\n ([_pax, active, seatMapStatus, _loaderStatus, _order]) => active && seatMapStatus === SeatMapStatus.OK\n ),\n take(1),\n map(([pax, _active, _seatMapStatus, loaderStatus, order]) => {\n return { pax, loaderStatus, order };\n })\n )\n .subscribe(({ pax, loaderStatus, order }) => {\n if (loaderStatus === AncillaryLoaderStatus.REASSIGNING) {\n this.store$.dispatch(SeatMapActions.resetSeatSelections({ cartOrOrder: order! }));\n }\n if (pax.length > 0) {\n this.tryScrollToFirstAvailableSeat(pax[0]);\n }\n })\n );\n\n this.subscriptions.add(\n combineLatest([this.flight$, this.cartOrOrder$]).subscribe(([flight, cartOrOrder]) => {\n this.setBenefitDetails(flight, cartOrOrder);\n })\n );\n\n this.subscriptions.add(\n this.flight.seatMapStatus$\n .pipe(\n filter(\n (status: SeatMapStatus) =>\n status === SeatMapStatus.OK ||\n status === SeatMapStatus.LOAD_ERROR ||\n status === SeatMapStatus.OK_NO_AVAILABILITY\n )\n )\n .subscribe(() => {\n this.ancillaryLoader$.next(AncillaryLoaderStatus.OFF);\n this.isReassigningSeats.emit(false);\n })\n );\n\n this.unmodifiableSeat$ = this.selectablePassengers$.pipe(\n map((pax) => {\n const active = pax.find((p) => p.active);\n return active.paidSeat && !active.modifiableSeat;\n })\n );\n this.unmodifiableFreeSeat$ = this.selectablePassengers$.pipe(\n map((pax) => {\n const active = pax.find((p) => p.active);\n return !active.paidSeat && active.ticketedSeat && !active.modifiableSeat;\n })\n );\n\n this.operatingAirlineIdInfo$ = combineLatest([\n this.flight$.pipe(filter((flight) => !!flight)),\n this.cartOrOrder$,\n ]).pipe(\n map(([flight, cartOrOrder]) => {\n const isOrderCreated = isOrder(cartOrOrder);\n const operatingAirlineId = isOrderCreated\n ? this.getOperatingAirlineId(cartOrOrder as FinnairOrder, flight.operatingAirline.code)\n : undefined;\n return {\n operatingAirlineId,\n isOperated: isOrderCreated ? !!operatingAirlineId : flight.operatingAirline.code !== 'AY',\n isOrderIdIdentical: !!operatingAirlineId && cartOrOrder.id === operatingAirlineId.id,\n isOrder: isOrderCreated,\n };\n })\n );\n this.noSeatmapNotifications$ = combineLatest([this.availability$, this.operatingAirlineIdInfo$]).pipe(\n map(([availability, operatingAirlineIdInfo]) =>\n getServicesNotifications({}, availability, Category.SEAT, this.flight, false, operatingAirlineIdInfo.isOperated)\n ),\n finShare()\n );\n }\n\n private getOperatingAirlineId(order: FinnairOrder, operatingAirlineCode: string): FinnairOperatingAirlineId {\n return order.operatingAirlineIds.find(\n (operatingAirlineId) => operatingAirlineId.airlineCode === operatingAirlineCode\n );\n }\n\n tryScrollToFirstAvailableSeat(pax: SeatMapTraveler, attempt = 0): void {\n if (attempt >= 10) {\n this.sentryLogger.error('Failed to find the seatmap after 1000ms', {\n flightNumber: this.flight.flightNumber,\n cabinClass: this.flight.cabinClass,\n id: snapshot(this.cartOrOrder$).id,\n });\n\n return;\n }\n\n setTimeout(() => {\n const seatMap = this.seatMapElement?.seatMap?.nativeElement;\n\n if (!seatMap) {\n const nextAttempt = attempt + 1;\n this.tryScrollToFirstAvailableSeat(pax, nextAttempt);\n return;\n }\n const seatNumber =\n pax.seat?.seatNumber ??\n seatMap?.querySelector(`[data-${pax.id.toLowerCase()}=\"available\"]`).getAttribute('data-id');\n\n if (seatNumber) {\n this.scrollToSeat(seatNumber, false);\n }\n }, 100);\n }\n\n ngOnDestroy(): void {\n unsubscribe(this.subscriptions);\n }\n\n private mapPassengers(\n travelers: FinnairPassengerItem[],\n seatSelections: ServiceCatalogSelectionsForAllTravelers,\n seatMap: SeatmapSvgAndControlData,\n preSelectedPax: string | undefined\n ): SeatMapTraveler[] {\n const infants = travelers.filter((traveler) => traveler.passengerTypeCode === FinnairPassengerCode.INF);\n return travelers\n .filter((traveler) => traveler.passengerTypeCode !== FinnairPassengerCode.INF)\n .map((traveler, index) => {\n const selections = seatSelections[this.flight.id]?.find((p) => p.travelerId === traveler.id);\n const seatNumber = selections?.seatNumber;\n const originalSeatNumber = servicesForFlightAndTravelerId(this.includedSeats, this.flight.id, traveler.id)[0]\n ?.seatNumber;\n const seat = seatNumber && seatMap.seats.find((s) => s.seatNumber === seatNumber);\n const infant = infants.find((i) => i.accompanyingTravelerId === traveler.id);\n return {\n id: traveler.id,\n traveler,\n withInfant: !!infant,\n withInfantFullName: infant ? `${infant.firstName} ${infant.lastName}` : '',\n groupedServices: null,\n active: preSelectedPax ? traveler.id === preSelectedPax : index === 0,\n seat,\n seatNumber,\n originalSeatNumber,\n modifiableSeat: selections?.modifiable,\n ticketedSeat: selections?.ticketed,\n paidSeat: selections?.paid,\n };\n });\n }\n\n private getTravelerFullName(passenger: SeatMapTraveler, and: string): string {\n const withInfant = passenger.withInfant ? `(${and} ${passenger.withInfantFullName})` : '';\n return `${passenger.traveler.firstName} ${passenger.traveler.lastName} ${withInfant}`.trim();\n }\n\n selectSeat({\n passengerId,\n seatNumber,\n exitRow,\n }: {\n passengerId: string;\n seatNumber: string;\n exitRow: boolean;\n }): void {\n const isModifiableSeats: boolean =\n !this.includedSeats || isAllowedToChangeSeat(this.includedSeats, this.flight.id, passengerId);\n if (!isModifiableSeats) {\n return;\n }\n\n this.subscriptions.add(\n this.flight.seatMap$.pipe(take(1)).subscribe((seatMap) => {\n const shouldRevertSeat = !this.canClearSeats && seatNumber === null;\n const actualSeatNumber = shouldRevertSeat\n ? servicesForFlightAndTravelerId(this.includedSeats, this.flight.id, passengerId)[0]?.seatNumber\n : seatNumber;\n const seat: SeatInfo = seatMap.seats.find((s) => s.seatNumber === actualSeatNumber);\n if (seat && exitRow && actualSeatNumber) {\n this.seatDetails$.next({\n travelerId: passengerId,\n seat,\n seatNumber: actualSeatNumber,\n seatType: seat.type,\n price: getSeatPrice(seat, passengerId),\n exitRow,\n });\n this.exitRowModalOpen = true;\n this.gtmService.seatMapEvent('exit-row-modal', ElementTypes.MODAL, '', ElementActions.VIEW, {\n flightInfo: getSeatMapFlight(this.flight),\n });\n } else {\n this.confirmSeatSelection(passengerId, actualSeatNumber);\n }\n })\n );\n }\n\n confirmExitRowSeat(passengerId: string, seatNumber: string): void {\n this.confirmSeatSelection(passengerId, seatNumber);\n this.gtmService.seatMapEvent('exit-row-confirm', ElementTypes.BUTTON, 'cta', ElementActions.CLICK, {\n flightInfo: getSeatMapFlight(this.flight),\n });\n }\n\n confirmSeatSelection(passengerId: string, seatNumber: string): void {\n this.exitRowModalOpen = false;\n const currentPassengers = this.selectablePassengers$.getValue();\n const activePaxIndex = currentPassengers.findIndex((pax) => pax.active);\n const isLastPax = activePaxIndex === currentPassengers.length - 1;\n const isActive = (index: number): boolean => {\n if (seatNumber) {\n return isLastPax ? index === 0 : activePaxIndex + 1 === index;\n }\n return index === activePaxIndex;\n };\n\n this.selectablePassengers$.next(\n currentPassengers.map((pax, index) => {\n return {\n ...pax,\n ...(pax.id === passengerId && {\n seatNumber,\n }),\n active: isActive(index),\n };\n })\n );\n\n this.changeSeats.emit({\n travelerId: passengerId,\n seatNumber,\n flightId: this.flight.id,\n });\n }\n\n selectPassenger(passengerId: string): void {\n const currentPaxs = this.selectablePassengers$.getValue();\n\n this.selectablePassengers$.next(\n currentPaxs.map((pax) => {\n return {\n ...pax,\n active: pax.id === passengerId,\n };\n })\n );\n }\n\n scrollSeatMap(direction: string): void {\n const seatMap = this.seatMapElement.seatMapWrapper.nativeElement;\n const divWidth = seatMap.clientWidth / 2;\n\n if (direction === 'left') {\n this.scrollPosition = seatMap.scrollLeft + divWidth;\n seatMap.scrollBy({\n left: divWidth,\n behavior: 'smooth',\n });\n } else {\n this.scrollPosition = seatMap.scrollLeft - divWidth;\n seatMap.scrollBy({\n left: -divWidth,\n behavior: 'smooth',\n });\n }\n\n this.gtmService.seatMapEvent('seatmap-full', ElementTypes.BUTTON, 'arrow', ElementActions.CLICK, {\n flightInfo: getSeatMapFlight(this.flight),\n });\n }\n\n scrollTo(position: number): void {\n requestAnimationFrame(() => {\n const seatMap: HTMLDivElement = this.seatMapElement.seatMapWrapper.nativeElement;\n\n seatMap.scrollTo({\n left: position,\n behavior: 'smooth',\n });\n });\n }\n\n scrollToSeat(seatNumber: string, focus = true): void {\n requestAnimationFrame(() => {\n const seatMap: HTMLDivElement = this.seatMapElement.seatMapWrapper.nativeElement;\n const seatElement: HTMLAnchorElement = seatMap.querySelector(`[data-id=\"${seatNumber}\"] a`);\n\n if (!seatElement) {\n return;\n }\n\n /**\n * Calculate if the seat can be centered or not. If this is not done this can cause bugs\n * where the slider partially moves onto the next seatmap as the browser tries to force the\n * seat to the center of the view.\n */\n let isCenterable = false;\n\n try {\n let seatGElement = seatElement.parentElement as unknown as SVGGElement;\n\n /**\n * Business seats are wrapped in 2 levels of parent SVGGElements. So we need to go to the\n * parents parent to get the actual positioning. (The `transform: translate(100, 200)` that\n * you see) in the elements panel on dev tools.\n */\n if (!seatGElement.transform.baseVal.length) {\n seatGElement = seatGElement.parentElement as unknown as SVGGElement;\n }\n\n const halfViewArea = seatMap.getBoundingClientRect().width * 0.5;\n const svgWidth = seatMap.querySelector('svg').getBoundingClientRect().width;\n const seatXCoordinate = seatGElement.transform.baseVal.consolidate().matrix.e;\n\n isCenterable = svgWidth - seatXCoordinate > halfViewArea && seatXCoordinate > halfViewArea;\n } catch (e) {\n const cartOrOrderId = snapshot(this.cartOrOrder$).id;\n this.sentryLogger.error('Failed to calculate seatmap scroll to seat', {\n message: e.message,\n stack: e.stack.substr(0, 500),\n flightNumber: this.flight.flightNumber,\n cabinClass: this.flight.cabinClass,\n // A quick filter for PNR's, so that only cart ids are reported to Sentry.\n id: cartOrOrderId.length === 6 ? null : cartOrOrderId,\n });\n }\n\n seatElement.scrollIntoView({\n behavior: 'auto',\n block: 'nearest',\n inline: isCenterable ? 'center' : 'nearest',\n });\n\n if (focus) {\n seatElement.focus({ preventScroll: true });\n }\n });\n }\n\n moveFocus(e: Event, el: string): void {\n stopPropagation(e);\n this.viewportScroller.scrollToAnchor(el);\n }\n\n enableScrollButtons(event: 'left' | 'center' | 'right'): void {\n this.isAtStart = event === 'left';\n this.isAtEnd = event === 'right';\n }\n\n openAirplaneModal(): void {\n this.aircraftModalOpen = true;\n const fragmentKey = `fragments.airCraftInfo.${this.getAircraftTranslationKey()}.url`;\n this.subscriptions.add(\n this.languageService\n .translate(fragmentKey)\n .pipe(\n filter(Boolean),\n switchMap((url) => this.templateService.load(url))\n )\n .subscribe((template) => this.aircraftInformationTemplate$.next(template))\n );\n this.gtmService.seatMapEvent('aircraft-info-modal', ElementTypes.MODAL, '', ElementActions.VIEW, {\n flightInfo: getSeatMapFlight(this.flight),\n });\n }\n\n setBenefitDetails(flight: FinnairItineraryItemFlight, order: FinnairOrder | FinnairCart): void {\n const bound = order.bounds.find((bound) =>\n bound.itinerary.some((itinerary: FinnairItineraryItemFlight) => itinerary.id === flight.id)\n );\n const hasFareFamilySeatBenefit = order.benefits?.[bound.fareFamily.code]?.translatedBenefitRows.find(\n (benefit) => benefit.key === BENEFITS.seatSelection\n )?.isPositive;\n const hasCorporateSeatBenefit =\n !hasFareFamilySeatBenefit && order.otherInformation?.corporateUserInformation?.isEligibleForSeatBenefit;\n if (this.configService.cfg.enableCorporateSeatBenefit && hasCorporateSeatBenefit) {\n this.benefitTextKey = 'seatMap.benefits.corporateBenefitDescription';\n this.benefitTag = {\n textKey: 'seatMap.benefits.corporateBenefitTag',\n theme: TagTheme.DEFAULT,\n icon: {\n name: SvgLibraryIcon.B2B,\n },\n };\n }\n }\n\n private getAircraftTranslationKey(): string | undefined {\n const code = this.flight.aircraft.code;\n if (!AIRCRAFT_TRANSLATION_MAP[code]) {\n this.sentryLogger.error('Invalid aircraft model', { aircraft: this.flight.aircraft });\n }\n\n return AIRCRAFT_TRANSLATION_MAP[code];\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes.flight) {\n this.flight$.next(changes.flight.currentValue);\n }\n }\n}\n","\n

\n {{ 'seatMap.passengersTitle' | finLocalization }}\n

\n
\n \n \n
\n {{ passenger.traveler.firstName }} {{ passenger.traveler.lastName }}\n \n ({{ 'seatMap.and' | finLocalization }} {{ passenger.withInfantFullName }} )\n \n , {{ passenger.seatNumber }}\n \n \n
\n \n
\n\n
\n \n \n
\n","import { Component, EventEmitter, Input, OnChanges, OnDestroy, OnInit, Output, SimpleChanges } from '@angular/core';\nimport { FormBuilder, FormControl, FormGroup } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport {\n BehaviorSubject,\n combineLatest,\n distinctUntilChanged,\n map,\n Observable,\n Subscription,\n tap,\n withLatestFrom,\n} from 'rxjs';\n\nimport { unsubscribe } from '@fcom/core/utils';\nimport { ElementActions, ElementTypes, SelectOption } from '@fcom/common/interfaces';\nimport { LanguageService } from '@fcom/ui-translate';\nimport { GtmService } from '@fcom/common/gtm';\nimport { FinnairItineraryItemFlight, FinnairServiceItem } from '@fcom/dapi/api/models';\nimport { IconButtonSize, IconButtonTheme } from '@fcom/ui-components';\n\nimport { getSeatMapFlight, servicesForFlightAndTravelerId } from '../../../utils';\nimport { SeatMapTraveler } from '../../../../ancillaries/interfaces';\n\n@Component({\n selector: 'fin-seat-passengers',\n templateUrl: './seat-passengers.component.html',\n styleUrls: ['./seat-passengers.component.scss'],\n})\nexport class SeatPassengersComponent implements OnInit, OnChanges, OnDestroy {\n @Input() passengers$: Observable;\n @Input() flight: FinnairItineraryItemFlight;\n @Input() includedSeats: FinnairServiceItem | null;\n\n @Output() selectPax: EventEmitter = new EventEmitter();\n @Output() clearSeatSelection: EventEmitter<{ passengerId: string; seatNumber: string; exitRow: boolean }> =\n new EventEmitter();\n\n readonly IconButtonSize = IconButtonSize;\n readonly IconButtonTheme = IconButtonTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n passengerForm: FormGroup;\n options$: Observable;\n subscriptions: Subscription = new Subscription();\n activeTravelerIndex$ = new BehaviorSubject(1);\n\n constructor(\n private formBuilder: FormBuilder,\n private languageService: LanguageService,\n private gtmService: GtmService\n ) {}\n\n ngOnInit(): void {\n this.createForm();\n this.passengerForm = this.formBuilder.group({\n activeTravelerId: new FormControl(null),\n });\n\n this.subscriptions.add(\n this.passengerForm\n .get('activeTravelerId')\n .valueChanges.pipe(withLatestFrom(this.passengers$))\n .subscribe(([activeTravelerId, passengers]) => {\n this.selectPax.emit(activeTravelerId);\n const activeTraveler = this.getActiveTraveler(passengers);\n\n if (this.activeTravelerIndex$.getValue() !== activeTraveler.index + 1) {\n this.activeTravelerIndex$.next(activeTraveler.index + 1);\n }\n })\n );\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (!changes.passengers || !this.passengerForm) {\n return;\n }\n\n const idControl = this.passengerForm.get('activeTravelerId') as FormControl;\n const activeTraveler = this.getActiveTraveler(changes.passengers.currentValue);\n\n if (idControl.value !== activeTraveler.id) {\n idControl.setValue(activeTraveler.id);\n }\n\n if (this.activeTravelerIndex$.getValue() !== activeTraveler.index + 1) {\n this.activeTravelerIndex$.next(activeTraveler.index + 1);\n }\n }\n\n ngOnDestroy(): void {\n unsubscribe(this.subscriptions);\n }\n\n getActiveTraveler(passengers: SeatMapTraveler[]): {\n id: string;\n index: number;\n } {\n return {\n id: passengers.find((traveler) => traveler.active).id,\n index: passengers.findIndex((traveler) => traveler.active),\n };\n }\n\n createForm(): void {\n this.options$ = combineLatest([this.languageService.translate('seatMap.and'), this.passengers$]).pipe(\n distinctUntilChanged((a, b) => JSON.stringify(a) === JSON.stringify(b)),\n tap(([_withInfantLabel, passengers]) => {\n const activeTraveler = this.getActiveTraveler(passengers);\n\n this.passengerForm.get('activeTravelerId').setValue(activeTraveler.id);\n }),\n map(([withInfantLabel, passengers]) => {\n return passengers.map((passenger) => {\n const paxName = `${passenger.traveler.firstName} ${passenger.traveler.lastName}`;\n const paxNameWithInfant = `${paxName} ${withInfantLabel} ${passenger.withInfantFullName}`;\n const seatNumber = passenger.seatNumber ? `, ${passenger.seatNumber}` : '';\n\n return {\n name: `${passenger.withInfant ? paxNameWithInfant : paxName}${seatNumber}`,\n value: passenger.id,\n };\n });\n })\n );\n }\n\n handleClick(passengerId: string, index: number): void {\n this.selectPax.emit(passengerId);\n\n this.gtmService.seatMapEvent(`pax-select-${index + 1}`, ElementTypes.BUTTON, '', ElementActions.CLICK, {\n flightInfo: getSeatMapFlight(this.flight),\n });\n }\n\n clearSelection(passengerId: string): void {\n const alreadyIncludedSeat = servicesForFlightAndTravelerId(this.includedSeats, this.flight.id, passengerId)[0];\n\n this.clearSeatSelection.emit({ passengerId, seatNumber: alreadyIncludedSeat?.seatNumber ?? null, exitRow: false });\n }\n}\n","import { AfterViewInit, Component, ElementRef, EventEmitter, Input, OnDestroy, Output, ViewChild } from '@angular/core';\n\nimport { BehaviorSubject, distinctUntilChanged, Observable, Subject, Subscription } from 'rxjs';\nimport { debounceTime, map, take, withLatestFrom } from 'rxjs/operators';\n\nimport { compareAsJson, unsubscribe } from '@fcom/core/utils';\nimport { ElementActions, ElementTypes, GaContext } from '@fcom/common/interfaces';\nimport { GtmService } from '@fcom/common/gtm';\nimport { FinnairServiceItem } from '@fcom/dapi/api/models';\n\nimport { getInitials, getSeatInfoForTracking, getSeatMapFlight, servicesForFlightAndTravelerId } from '../../../utils';\nimport { FlightWithStreams, SeatMapTraveler } from '../../../interfaces';\n\n@Component({\n selector: 'fin-seat-map-renderer',\n styleUrls: ['./seat-map-renderer.component.scss'],\n templateUrl: './seat-map-renderer.component.html',\n})\nexport class SeatMapRendererComponent implements AfterViewInit, OnDestroy {\n @Input() flight: FlightWithStreams;\n @Input() passengers$: Observable;\n @Input() unavailableSeatLabel: string;\n @Input() includedSeats: FinnairServiceItem | null;\n\n @Output() updatePosition: EventEmitter<'left' | 'center' | 'right'> = new EventEmitter();\n @Output() selectSeat: EventEmitter<{ passengerId: string; seatNumber: string; exitRow: boolean }> =\n new EventEmitter();\n @Output() updateScrollPosition: EventEmitter = new EventEmitter();\n\n @ViewChild('seatMap') seatMap: ElementRef;\n @ViewChild('seatMapWrapper') seatMapWrapper: ElementRef;\n\n activePax$: Observable;\n scrollPositionWatcher$ = new BehaviorSubject<'left' | 'center' | 'right'>('left');\n subscriptions: Subscription = new Subscription();\n templates: { [key: string]: () => SVGGElement } = {\n selected: () => this.seatMap.nativeElement.querySelector('.seat-selected-template')?.cloneNode(true),\n unavailable: () => this.seatMap.nativeElement.querySelector('.seat-unavailable-template')?.cloneNode(true),\n };\n\n scrollEvents$: Subject = new Subject();\n readonly scrollDebounceTime = 200;\n\n constructor(private gtmService: GtmService) {}\n\n ngAfterViewInit(): void {\n this.setWrapperWidth();\n this.activePax$ = this.passengers$.pipe(\n map((passengers) => {\n return passengers.find((passenger) => passenger.active);\n }),\n distinctUntilChanged((prev, curr) => {\n return prev.id === curr.id;\n })\n );\n\n /* Whenever there's a change in passengers, we will mark seats with correct templates (unavailable, selected) for all passengers. */\n this.subscriptions.add(\n this.passengers$.pipe(distinctUntilChanged(compareAsJson)).subscribe((passengers) => {\n this.resetSeatView(passengers[0].id);\n\n passengers.forEach((passenger) => {\n if (passenger.active) {\n this.markSeatsUnavailableForPax(passenger.id);\n this.bringSelectedSeatTemplateOnTop(passenger.id);\n }\n\n if (passenger.seatNumber) {\n this.addSelectedSeatTemplateToPax(passenger);\n }\n\n if (passenger.originalSeatNumber) {\n this.addOriginalSeatForPax(passenger);\n }\n });\n })\n );\n\n this.subscriptions.add(\n this.scrollPositionWatcher$.pipe(distinctUntilChanged()).subscribe((position) => {\n this.updatePosition.emit(position);\n })\n );\n\n this.subscriptions.add(\n this.scrollEvents$.pipe(debounceTime(this.scrollDebounceTime)).subscribe((position) => {\n this.updateScrollPosition.emit(position);\n this.gtmService.trackElement(\n 'seatmap-full',\n GaContext.SEAT_MAP,\n ElementTypes.BUTTON,\n '',\n ElementActions.SCROLL\n );\n })\n );\n }\n\n ngOnDestroy(): void {\n unsubscribe(this.subscriptions);\n }\n\n addOriginalSeatForPax(passenger: SeatMapTraveler): void {\n const seatToSelect = this.seatMap.nativeElement.querySelector(`[data-id=\"${passenger.originalSeatNumber}\"]`);\n seatToSelect.classList.add('current-seat');\n }\n\n markSeatsUnavailableForPax(paxId: string): void {\n this.seatMap.nativeElement.querySelectorAll(`[data-${paxId.toLowerCase()}=\"unavailable\"]`).forEach((seat) => {\n const seatLink = seat.querySelector('a');\n const template = this.templates.unavailable();\n const originalAriaLabel = seatLink.getAttribute('aria-label');\n const seatNumber = seat.getAttribute('data-id');\n const occupiedSeat = seat.classList.contains('seat-occupied');\n\n seatLink.setAttribute('aria-label', `${seatNumber}, ${this.unavailableSeatLabel}`);\n seatLink.setAttribute('data-original-aria-label', originalAriaLabel);\n\n if (!occupiedSeat) {\n template.classList.remove('seat-unavailable-template');\n template.classList.add('seat-unavailable');\n seatLink.appendChild(template);\n }\n });\n }\n\n addSelectedSeatTemplateToPax(passenger: SeatMapTraveler): void {\n const initials = getInitials(passenger.traveler.firstName, passenger.traveler.lastName);\n const template = this.templates.selected();\n const seatToSelect = this.seatMap.nativeElement.querySelector(`[data-id=\"${passenger.seatNumber}\"] a`);\n\n const ariaLabel = seatToSelect.getAttribute('aria-label');\n seatToSelect.setAttribute(\n 'aria-label',\n `${ariaLabel}. ${passenger.traveler.firstName} ${passenger.traveler.lastName}`\n );\n\n template.classList.remove('seat-selected-template');\n template.classList.add('seat-selected');\n template.querySelector('.pax-label').innerHTML = initials;\n template.querySelector('.code-label').innerHTML = passenger.seatNumber;\n seatToSelect.appendChild(template);\n }\n\n bringSelectedSeatTemplateOnTop(paxId: string): void {\n /* The seat-selected template is added before seat-unavailable template in the DOM.\n Thus it's not visible when changing to a pax with an infant, because we mark certain seats unavailable.\n We need to bring the selected seat template on top in the DOM. */\n this.seatMap?.nativeElement?.querySelectorAll(`[data-${paxId.toLowerCase()}=\"unavailable\"]`).forEach((seat) => {\n const seatLink = seat.querySelector('a');\n const selectedSeat = seatLink?.querySelector('.seat-selected');\n\n if (selectedSeat) {\n seatLink.removeChild(selectedSeat); // first remove selectedSeat template from underneath unavailable seat template\n seatLink.appendChild(selectedSeat);\n }\n });\n }\n\n removeSeatSelection(passengerId: string, originalSeatNumber: string = null): void {\n this.selectSeat.emit({\n passengerId,\n seatNumber: originalSeatNumber,\n exitRow: false,\n });\n }\n\n resetSeatView(paxId: string): void {\n const rootSelector = `[data-${paxId.toLowerCase()}]`;\n const selectedOrUnavailable = `${rootSelector} .seat-selected, ${rootSelector} .seat-unavailable`;\n\n this.seatMap.nativeElement.querySelectorAll(selectedOrUnavailable).forEach((node) => {\n if (node) {\n const originalAriaLabel = node.parentNode.getAttribute('data-original-aria-label');\n const ariaLabel = node.parentNode.getAttribute('aria-label');\n\n if (originalAriaLabel) {\n node.parentNode.setAttribute('aria-label', originalAriaLabel);\n node.parentNode.removeAttribute('data-original-aria-label');\n }\n\n node.parentNode.setAttribute('aria-label', ariaLabel?.split('.')[0]);\n node.parentNode.removeChild(node);\n }\n });\n }\n\n handleSeatClick(event: MouseEvent): void {\n event.preventDefault();\n const seatElement = (event.target as Element).closest('.seat');\n\n if (!seatElement) {\n return;\n }\n\n this.subscriptions.add(\n this.activePax$.pipe(take(1), withLatestFrom(this.passengers$)).subscribe(([activePax, passengers]) => {\n const isAvailableForPax = seatElement?.getAttribute(`data-${activePax.id.toLowerCase()}`) === 'available';\n const seatId = seatElement.getAttribute('data-id');\n const isExitRow = Boolean(seatElement.getAttribute('data-exitrow'));\n const currentSelectedSeat = passengers.find((pax) => pax.seatNumber === seatId);\n\n if (!isAvailableForPax && seatId !== activePax.seatNumber && seatId !== activePax.originalSeatNumber) {\n this.trackSeatSelection('seat-unavailable', seatElement, activePax);\n return;\n }\n\n if (this.isIncludedForPassenger(activePax.id, seatId) && seatId !== activePax.originalSeatNumber) {\n return;\n }\n\n if (!currentSelectedSeat || (activePax.seatNumber === seatId && activePax.originalSeatNumber)) {\n this.selectSeat.emit({\n passengerId: activePax.id,\n seatNumber: !currentSelectedSeat ? seatId : activePax.originalSeatNumber,\n exitRow: isExitRow,\n });\n this.trackSeatSelection('seat-selected', seatElement, activePax);\n return;\n }\n\n this.trackSeatSelection('seat-cleared', seatElement, activePax);\n this.removeSeatSelection(currentSelectedSeat.id, currentSelectedSeat.originalSeatNumber);\n })\n );\n }\n\n handleScroll(): void {\n const seatMapElement = this.seatMapWrapper.nativeElement;\n const divWidth = seatMapElement.clientWidth;\n const seatMapWidth = seatMapElement.scrollWidth;\n const scrollLeft = Math.round(seatMapElement.scrollLeft); // Use rounding to get rid of half pixels\n this.scrollEvents$.next(scrollLeft);\n\n const isAtStart = scrollLeft === 0;\n const isAtEnd = scrollLeft === seatMapWidth - divWidth;\n const value = isAtStart ? 'left' : isAtEnd ? 'right' : 'center';\n\n this.scrollPositionWatcher$.next(value);\n }\n\n setWrapperWidth(): void {\n const svg = this.seatMap.nativeElement.querySelector('svg');\n const svgWidth = svg?.getAttribute('data-optimal-width');\n if (svgWidth) {\n this.seatMap.nativeElement.setAttribute('style', `width: ${svgWidth}px`);\n }\n }\n\n private trackSeatSelection(\n id: 'seat-selected' | 'seat-cleared' | 'seat-unavailable',\n seatElement: Element,\n activePax: SeatMapTraveler\n ): void {\n this.subscriptions.add(\n this.flight.seatMap$.pipe(take(1)).subscribe((seatMap) => {\n this.gtmService.seatMapEvent(id, ElementTypes.BUTTON, 'cta', ElementActions.CLICK, {\n seatInfo: getSeatInfoForTracking(seatMap, seatElement, activePax),\n flightInfo: getSeatMapFlight(this.flight),\n });\n })\n );\n }\n\n private isIncludedForPassenger(passengerId: string, seatId: string): boolean {\n return servicesForFlightAndTravelerId(this.includedSeats, this.flight.id, passengerId).some(\n ({ seatNumber }) => seatNumber === seatId\n );\n }\n}\n","
\n
\n
\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n Input,\n OnChanges,\n OnDestroy,\n Output,\n SimpleChanges,\n ViewChild,\n ViewEncapsulation,\n} from '@angular/core';\n\nimport { Observable, Subscription } from 'rxjs';\n\nimport { unsubscribe } from '@fcom/core/utils';\nimport { ElementActions, ElementTypes, GaContext } from '@fcom/common/interfaces';\nimport { GtmService } from '@fcom/common/gtm';\n\nimport { FlightWithStreams } from '../../../interfaces';\n\n@Component({\n selector: 'fin-seat-map-mini-map',\n templateUrl: './seat-map-mini-map.component.html',\n styleUrls: ['./seat-map-mini-map.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class SeatMapMiniMapComponent implements OnDestroy, OnChanges, AfterViewInit {\n @Input() flight: FlightWithStreams;\n @Input() viewPortWidth$: Observable;\n @Input() scrollPosition: number;\n\n @Output() scrollTo: EventEmitter = new EventEmitter();\n @Output() keyScrollDirection: EventEmitter<'left' | 'right'> = new EventEmitter();\n\n @ViewChild('selectedArea') selectedArea: ElementRef;\n @ViewChild('seatMapContainer') seatMapContainer: ElementRef;\n @ViewChild('wrapper') wrapper: ElementRef;\n\n svgWidth: number;\n subscription = new Subscription();\n\n constructor(private gtmService: GtmService) {}\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes.scrollPosition) {\n this.setNewAreaPosition();\n }\n }\n\n ngAfterViewInit(): void {\n this.subscription.add(\n this.viewPortWidth$.subscribe((viewPortWidth) => {\n if (!viewPortWidth) {\n return;\n }\n const container = this.seatMapContainer.nativeElement;\n this.svgWidth = container.querySelector('svg')?.getAttribute('data-optimal-width');\n if (this.svgWidth) {\n const visibleAreaPercentage = viewPortWidth / this.svgWidth;\n this.selectedArea.nativeElement.style.width = `${container.offsetWidth * visibleAreaPercentage}px`;\n }\n })\n );\n\n this.setNewAreaPosition();\n }\n\n ngOnDestroy(): void {\n unsubscribe(this.subscription);\n }\n\n handleClick(e: MouseEvent): void {\n const parentWidth = this.seatMapContainer.nativeElement.offsetWidth;\n const parentLeft = this.seatMapContainer.nativeElement.getBoundingClientRect().left;\n const areaWidth = this.selectedArea.nativeElement.offsetWidth;\n\n const newPosition = e.clientX - parentLeft - areaWidth / 2;\n this.setSelectedAreaPosition(newPosition);\n\n this.scrollTo.emit((Math.max(0, newPosition) / parentWidth) * this.svgWidth);\n this.gtmService.trackElement('seatmap-mini', GaContext.SEAT_MAP, ElementTypes.BUTTON, '', ElementActions.CLICK);\n }\n\n setSelectedAreaPosition(newPosition: number): void {\n const parentWidth = this.seatMapContainer.nativeElement.offsetWidth;\n const areaWidth = this.selectedArea.nativeElement.offsetWidth;\n\n const parentBorder = (this.wrapper.nativeElement.offsetWidth - this.wrapper.nativeElement.clientWidth) / 2;\n const totalBorderWidth = this.getTotalBorderWidth();\n const minPosition = totalBorderWidth * -1;\n\n if (newPosition < minPosition) {\n newPosition = minPosition;\n }\n if (newPosition + areaWidth > parentWidth + totalBorderWidth) {\n newPosition = parentWidth - areaWidth + (totalBorderWidth / 2 + parentBorder);\n }\n\n requestAnimationFrame(() => {\n this.selectedArea.nativeElement.style.left = `${newPosition}px`;\n });\n }\n\n getTotalBorderWidth(): number {\n if (!this.selectedArea) {\n return 0;\n }\n\n const selectedAreaBorder =\n (this.selectedArea.nativeElement.offsetWidth - this.selectedArea.nativeElement.clientWidth) / 2;\n const parentBorder = (this.wrapper.nativeElement.offsetWidth - this.wrapper.nativeElement.clientWidth) / 2;\n\n return selectedAreaBorder + parentBorder;\n }\n\n setNewAreaPosition(): void {\n const borderWidth = this.getTotalBorderWidth();\n\n requestAnimationFrame(() => {\n let newPosition = (this.scrollPosition / this.svgWidth) * this.seatMapContainer.nativeElement.offsetWidth;\n\n if (newPosition === 0) {\n newPosition = -borderWidth;\n }\n\n this.setSelectedAreaPosition(newPosition);\n });\n }\n\n onKeyDown(event: KeyboardEvent): void {\n if (event.key === 'ArrowRight') {\n this.keyScrollDirection.emit('left');\n } else if (event.key === 'ArrowLeft') {\n this.keyScrollDirection.emit('right');\n }\n }\n\n clickFront(): void {\n this.scrollTo.emit(0);\n }\n\n clickBack(): void {\n this.scrollTo.emit(this.svgWidth);\n }\n}\n","
\n
\n \n \n \n
\n
\n
\n \n
\n
\n
\n \n \n \n
\n\n","
\n

{{ 'seatMap.seatTypesTitle' | finLocalization }}

\n \n \n
\n\n
\n \n
\n
\n \n {{ seatType.icon }}\n \n
\n
\n
{{ seatType.label | finLocalization }}
\n
\n \n {{ seatType.originalPrice | finPrice }},\n {{ seatType.price | finPrice }}\n \n \n {{ seatType.price | finPrice }}\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 { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';\n\nimport { IconLibrary, SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { combineLatest, distinctUntilChanged, filter, map, Observable } from 'rxjs';\n\nimport { Cabin, FinnairAmount, SeatInfo, SeatmapSvgAndControlData, SeatPrice } from '@fcom/dapi/api/models';\nimport { AIRCRAFT_TRANSLATION_MAP } from '@fcom/common/interfaces/seat-map.interface';\nimport { ButtonSize, TagTheme, IconButtonSize, IconButtonTheme, IconPosition, ModalButtons } from '@fcom/ui-components';\nimport { equals, isPresent, uniqueBy } from '@fcom/core/utils';\nimport { CmsArticle } from '@fcom/core-api';\nimport { FragmentService } from '@fcom/common/services';\nimport { GtmService } from '@fcom/common/gtm';\nimport { ElementActions, ElementTypes } from '@fcom/common/interfaces';\n\nimport { getSeatMapFlight, getSeatPrice, getSeatType } from '../../../utils';\nimport { FlightWithStreams, SeatMapTraveler, seatTypeInfo } from '../../../interfaces';\n\nexport interface SeatChipData {\n article$: Observable;\n className: string;\n label: string;\n icon: string;\n originalPrice: FinnairAmount;\n price: FinnairAmount;\n seat: SeatInfo;\n seatType: {\n className: string;\n label: string;\n cmsKey: string;\n };\n}\n\n@Component({\n selector: 'fin-seat-map-seatchips',\n templateUrl: './seat-map-seatchips.component.html',\n styleUrls: ['./seat-map-seatchips.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SeatMapSeatChipsComponent implements OnInit {\n @Input() flight: FlightWithStreams;\n @Input() passengers$: Observable;\n @Input() seatMapElement: ElementRef;\n\n @Output() scrollToSeat: EventEmitter = new EventEmitter();\n\n availableSeatTypes$: Observable;\n availableSeatTypesInModal: SeatChipData[];\n\n readonly ButtonSize = ButtonSize;\n readonly IconButtonSize = IconButtonSize;\n readonly IconButtonTheme = IconButtonTheme;\n readonly IconLibrary = IconLibrary;\n readonly IconPosition = IconPosition;\n readonly ModalButtons = ModalButtons;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n readonly TagTheme = TagTheme;\n\n seatIconCache: Record = {};\n seatTypeModalOpen = false;\n\n constructor(\n private fragmentService: FragmentService,\n private gtmService: GtmService\n ) {}\n\n ngOnInit(): void {\n this.availableSeatTypes$ = combineLatest([this.passengers$, this.flight.seatMap$]).pipe(\n filter(([passengers, seatMap]) => Array.isArray(passengers) && isPresent(seatMap)),\n distinctUntilChanged(\n ([prevPassengers, prevSeatMapData], [nextPassengers, nextSeatMapData]) =>\n equals(prevSeatMapData, nextSeatMapData) && equals(prevPassengers, nextPassengers)\n ),\n map(([passengers, seatMapData]) => {\n const activePax = passengers.find((pax) => pax.active);\n const hasInfant = passengers.some((pax) => pax.withInfant);\n const selectedSeats = passengers\n .map((pax) => {\n return pax.seatNumber;\n })\n .filter(Boolean);\n\n return this.getSeatTypesFromData(activePax.id, hasInfant, seatMapData, selectedSeats);\n })\n );\n }\n\n getSeatTypesFromData(\n paxId: string,\n hasInfant: boolean,\n seatMap: SeatmapSvgAndControlData,\n selectedSeats: string[]\n ): SeatChipData[] {\n let seatTypeChips: SeatChipData[] = [];\n\n seatMap.seats\n .filter((seat) => {\n return seat.statuses[paxId] === 'available';\n })\n .forEach((seat) => {\n const seatType = getSeatType(seat.characteristics);\n const seatPrice = getSeatPrice(seat, paxId);\n\n const seatsOfSameTypeAndPrice = seatTypeChips.filter((addedSeat) => {\n const isSameSeatType = addedSeat.seatType.className === seatType.className;\n\n if (!isSameSeatType) {\n return false;\n }\n\n return addedSeat.price?.amount === seatPrice?.price?.amount;\n });\n\n if (seatsOfSameTypeAndPrice.length) {\n seatTypeChips = this.showSelectedSeatOnlyWhenLastOneOfThatTypeAndPrice(\n seat,\n seatType,\n seatPrice,\n selectedSeats,\n seatTypeChips\n );\n } else {\n seatTypeChips.push({\n ...seatType,\n article$: this.fragmentService.getFragment(this.getFragmentUrl(seatMap, seatType.cmsKey)),\n icon: this.getIconFromSeatMap(seat),\n price: getSeatPrice(seat, paxId).price,\n originalPrice: getSeatPrice(seat, paxId).originalPrice,\n seat,\n seatType,\n });\n }\n });\n\n // if none of the passengers has an infant, we filter out baby bassinet seat chips\n if (!hasInfant) {\n seatTypeChips = seatTypeChips.filter((chip) => chip.seatType.className !== seatTypeInfo.B.className);\n }\n\n // First, sort by type and price\n seatTypeChips.sort((a, b) => {\n if (a.className === b.className) {\n return parseFloat(a.price.amount) - parseFloat(b.price.amount);\n }\n return a.className.localeCompare(b.className);\n });\n\n // Calculate the minimum price for each type\n const minPriceByType = this.findMinPriceByType(seatTypeChips);\n\n // Sort the array based on the type and price\n seatTypeChips.sort((a, b) => {\n if (minPriceByType[a.className] === minPriceByType[b.className]) {\n return a.className.localeCompare(b.className);\n }\n return Number(minPriceByType[a.className]) - Number(minPriceByType[b.className]);\n });\n\n this.availableSeatTypesInModal = seatTypeChips.filter(uniqueBy((seatTypeChip) => seatTypeChip.className));\n\n return seatTypeChips;\n }\n\n findMinPriceByType(arr: SeatChipData[]): Record {\n return arr.reduce((minPriceByType, item) => {\n if (!minPriceByType[item.className] || item.price.amount < minPriceByType[item.className]) {\n minPriceByType[item.className] = item.price.amount;\n }\n return minPriceByType;\n }, {});\n }\n\n /**\n * For performance reasons we pass in the seatType and seatPrice, so we don't figure out the values again.\n *\n * Because this is called for every seat (so for example 300 seats on the A350) it can be quite heavy.\n */\n showSelectedSeatOnlyWhenLastOneOfThatTypeAndPrice(\n seat: SeatInfo,\n seatType: SeatChipData['seatType'],\n seatPrice: SeatPrice,\n selectedSeats: string[],\n seatTypeChips: SeatChipData[]\n ): SeatChipData[] {\n const seatToReplace = seatTypeChips.find((seatTypeChip) => {\n const isSameSeatType = seatTypeChip.seatType.className === seatType.className;\n\n return (\n isSameSeatType &&\n seatTypeChip.price?.amount === seatPrice?.price?.amount &&\n selectedSeats.includes(seatTypeChip.seat.seatNumber)\n );\n });\n\n if (!seatToReplace) {\n return seatTypeChips;\n }\n\n return seatTypeChips.map((seatTypeChip) => {\n if (seatToReplace.seat.seatNumber === seatTypeChip.seat.seatNumber) {\n seatToReplace.seat = seat;\n seatToReplace.icon = this.getIconFromSeatMap(seat);\n }\n\n return seatTypeChip;\n });\n }\n\n /**\n * Extract from the main SVG a copy of the seat icon for a specific seat.\n *\n * Removes the A tag from the seat and keeps everything else.\n * Removes xy coordinates from the seat element.\n */\n getIconFromSeatMap(seat: SeatInfo): string {\n if (this.seatIconCache[seat.seatNumber]) {\n return this.seatIconCache[seat.seatNumber];\n }\n\n const element: SVGGElement = this.seatMapElement.nativeElement\n .querySelector(`[data-id=\"${seat.seatNumber}\"]`)\n .cloneNode(true);\n\n const aTag = element.querySelector('a');\n\n Array.from(aTag.childNodes).forEach((node) => {\n if ((node as SVGGElement).classList.contains('seat-selected')) {\n return;\n }\n\n element.append(node);\n });\n element.removeAttribute('transform');\n element.removeChild(aTag);\n\n this.seatIconCache[seat.seatNumber] = element.outerHTML;\n\n return this.seatIconCache[seat.seatNumber];\n }\n\n handleClick(seatData: SeatChipData): void {\n this.scrollToSeat.emit(seatData.seat.seatNumber);\n this.gtmService.seatMapEvent(\n `seat-type-${seatData.seatType.cmsKey}`,\n ElementTypes.BUTTON,\n 'chip',\n ElementActions.CLICK,\n {\n flightInfo: getSeatMapFlight(this.flight),\n }\n );\n }\n\n openModal(): void {\n this.seatTypeModalOpen = true;\n this.gtmService.seatMapEvent('seat-type-info-modal', ElementTypes.MODAL, '', ElementActions.VIEW, {\n flightInfo: getSeatMapFlight(this.flight),\n });\n }\n\n closeModal(): void {\n this.seatTypeModalOpen = false;\n }\n\n private getFragmentUrl(seatMap: SeatmapSvgAndControlData, characteristicKey: string): string {\n const cabinClass = Cabin[this.flight.cabinClass];\n const aircraftType = AIRCRAFT_TRANSLATION_MAP[seatMap.aircraftCode];\n return `fragments.seatTypeInfos.${aircraftType}.${cabinClass.toLowerCase()}.${characteristicKey}.url`;\n }\n}\n","\n \n\n\n
\n
\n \n
\n {{ 'MMB.includedProducts.cabinBaggage.infantAllowance' | finLocalization }}\n
\n \n \n
\n \n
\n \n
\n \n
\n\n\n \n\n\n\n
    \n
  • \n \n \n
    \n {{ 'MMB.includedProducts.serviceCategory.' + cat.key + '.title' | finLocalization }}\n
    \n \n \n {{ 'actions.modify' | finLocalization }}\n \n
    \n \n
    \n \n {{ 'actions.pay' | finLocalization }}\n \n \n \n\n
      \n
    • \n
      \n \n \n \n \n \n {{ 'MMB.includedProducts.availableForSell.' + service.subCategory + '.text' | finLocalization }}\n \n \n
      \n \n \n {{\n 'MMB.includedProducts.chip.text' | finLocalization: { tier: cat.tierLevel }\n }}\n \n \n
    • \n
    \n
  • \n
\n
\n\n\n \n \n {{ 'MMB.services.seat.checkBoardingPassStatus' | finLocalization }}\n \n \n \n {{ 'MMB.services.seat.assignedAtAirportStatus' | finLocalization }}\n \n \n\n\n\n \n \n \n \n
\n \n
\n \n {{ serviceInfo.service.totalPrice | finPrice }}\n \n \n
\n
\n \n
\n \n \n
\n
\n\n\n {{\n service.includedInTierBenefit\n ? service.displayName\n : ('MMB.includedProducts.' + service.subCategory + '.text'\n | finLocalization\n : {\n seatNumber: service.seatNumber,\n amount: service.quantity,\n weight: service.parameters?.baggageWeight,\n displayName: service.displayName,\n }\n | finEmpty: service.displayName)\n }}\n\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\n\nimport { IconLibrary, SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable } from 'rxjs';\n\nimport { ButtonTheme, IconPosition, TagTheme } from '@fcom/ui-components';\nimport { SubCategory } from '@fcom/dapi/api/models/sub-category';\nimport { GroupedServices, RemovedServiceInfo } from '@fcom/dapi/interfaces';\nimport { Category } from '@fcom/dapi/api/models/category';\nimport { MediaQueryService } from '@fcom/common/services';\nimport { LoaderType } from '@fcom/common/interfaces';\nimport { FinnairPassengerServiceSelectionItem } from '@fcom/dapi/api/models';\n\nimport { isNotIncludedService } from '../../../../utils/common-booking.utils';\n\nconst CABIN_WEIGHT_VARIANTS = ['CABIN_WEIGHT', 'CABIN_WEIGHT_COMBINED', 'CABIN_WEIGHT_COMBINED_OLD'];\n\n@Component({\n selector: 'fin-grouped-services',\n templateUrl: 'grouped-services.component.html',\n styleUrls: ['../../../../assets/helper-classes.scss', 'grouped-services.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class GroupedServicesComponent implements OnInit {\n readonly ButtonTheme = ButtonTheme;\n readonly Category = Category;\n readonly LoaderType = LoaderType;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n readonly TagTheme = TagTheme;\n readonly isNotIncludedService = isNotIncludedService;\n readonly IconPosition = IconPosition;\n readonly IconLibrary = IconLibrary;\n\n @Input()\n category: Category;\n\n @Input()\n groupedServices: GroupedServices[];\n\n @Input()\n loading: boolean;\n\n @Input()\n enableUpsellMMB: boolean = false;\n\n @Input()\n isCarrierConnect = false;\n\n @Input()\n isShoppingCart = false;\n\n @Input()\n isInfant: boolean;\n\n @Input()\n serviceRemovalInProgress: boolean;\n\n @Output() selectProduct: EventEmitter = new EventEmitter();\n\n @Output() removeProduct: EventEmitter = new EventEmitter();\n\n @Output() continuePurchase: EventEmitter = new EventEmitter();\n\n expandOpen = false;\n\n filteredGroupedServices: GroupedServices[];\n\n cabinWeight: number;\n\n isMobile$: Observable;\n\n constructor(private mediaQueryService: MediaQueryService) {}\n\n ngOnInit(): void {\n this.isMobile$ = this.mediaQueryService.isBreakpoint$('mobile');\n\n this.filteredGroupedServices = this.groupedServices.map((groupedService) => {\n const services = this.enableUpsellMMB\n ? groupedService.services.filter((service) => ![SubCategory.CABIN_WEIGHT].includes(service.subCategory))\n : groupedService.services;\n return {\n ...groupedService,\n services,\n };\n });\n\n this.cabinWeight = this.category === Category.CABIN_BAGGAGE ? this.getCabinWeight(this.groupedServices) : 0;\n }\n\n onSelectProduct(): void {\n this.selectProduct.emit(true);\n }\n\n private getCabinWeight(groupedServices: GroupedServices[]): number {\n return (\n groupedServices\n .flatMap((groupedService) => groupedService.services)\n .find((service) => CABIN_WEIGHT_VARIANTS.includes(service.variant))?.parameters?.baggageWeight ?? 0\n );\n }\n\n onRemoveProduct(service: FinnairPassengerServiceSelectionItem): void {\n this.removeProduct.emit({\n category: this.category,\n variant: service.variant,\n seatNumber: service.seatNumber,\n });\n }\n}\n","\n \n \n \n\n \n \n\n \n
    \n
  • {{ 'MMB.includedProducts.availableForSell.lounge.plusTireBenefit.child' | finLocalization }}
  • \n
  • {{ 'MMB.includedProducts.availableForSell.lounge.plusTireBenefit.guest' | finLocalization }}
  • \n
\n \n\n 0\"\n class=\"block ms-medium-b\"\n [title]=\"'MMB.includedProducts.availableForSell.meal.infoTitle' | finLocalization\"\n >\n
    \n
  • {{ item.displayName }}
  • \n
\n \n\n \n
\n \n
\n {{ 'MMB.includedProducts.availableForSell.seat.notAY' | finLocalization }}\n
\n
\n
\n\n \n \n \n
\n \n \n
\n\n \n \n \n
\n \n\n
\n \n\n \n {{ 'ancillaries.saf.impactOfContributionTitle' | finLocalization }}\n \n\n \n \n
\n

\n {{ 'ancillaries.saf.contributionThankYouTitle' | finLocalization }}\n

\n \n {{ 'ancillaries.saf.readMore.text' | finLocalization }}\n
\n \n
\n\n \n\n\n\n {{ pax.firstName }} {{ pax.lastName }}\n\n \n \n {{ pax.firstName }} {{ pax.lastName }} ({{\n 'passenger.withInfant' | finLocalization: { withInfantFullName: pax.associatedInfantName } | finToLowerCase: ''\n }})\n \n\n \n {{\n 'MMB.labels.travellingWithInfant'\n | finLocalization: { firstName: pax.firstName, lastName: pax.lastName, infantName: pax.associatedInfantName }\n }}\n \n \n\n\n\n
\n \n \n \n \n
\n
\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n OnChanges,\n OnDestroy,\n OnInit,\n Output,\n SimpleChanges,\n} from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { filter, map, switchMap, take } from 'rxjs/operators';\nimport { BehaviorSubject, combineLatest, Observable, of, Subscription } from 'rxjs';\n\nimport { CmsArticle } from '@fcom/core-api/interfaces';\nimport { finShare } from '@fcom/rx';\nimport { ButtonMode, ButtonTheme, IconPosition, NotificationTheme } from '@fcom/ui-components';\nimport { compareAsJson, groupBy, toLookup, unique, unsubscribe } from '@fcom/core/utils';\nimport { ElementActions, ElementTypes, FragmentService, GaContext, GtmEvent, GtmPurchaseFlow } from '@fcom/common';\nimport { GtmService } from '@fcom/common/gtm';\nimport { getGA4ProductsFromSmpProducts } from '@fcom/common/utils/gtm.utils';\nimport {\n FinnairPassengerServiceSelectionItemWithStatus,\n FinnairServiceItemWithUpsell,\n FlightServices,\n RemovedServiceInfo,\n RemovedServiceProgress,\n SelectedServiceData,\n} from '@fcom/dapi/interfaces';\nimport {\n Category,\n FinnairBoundItem,\n FinnairCart,\n FinnairOrder,\n FinnairPassengerCode,\n FinnairPassengerItem,\n FinnairPassengerServiceItem,\n FinnairPassengerServiceSelectionItem,\n FinnairServiceItem,\n FinnairServiceSegmentItem,\n} from '@fcom/dapi/api/models';\n\nimport { SmpProduct } from '../product-list/product-list.component';\nimport { getGroupedServices, isFlight } from '../../../../utils/common-booking.utils';\nimport { getPassengerTierLevel, isBoundBasedCategory } from '../../utils';\n\n@Component({\n selector: 'fin-dapi-included-service',\n styleUrls: ['./included-service.component.scss'],\n templateUrl: './included-service.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IncludedServiceComponent implements OnDestroy, OnInit, OnChanges {\n readonly Category = Category;\n readonly FinnairPassengerCode = FinnairPassengerCode;\n readonly NotificationTheme = NotificationTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n readonly ButtonTheme = ButtonTheme;\n readonly ButtonMode = ButtonMode;\n readonly IconPosition = IconPosition;\n\n private subscriptions: Subscription = new Subscription();\n\n @Input() service: FinnairServiceItemWithUpsell;\n @Input() showAsPending = false;\n @Input() cartOrOrder$: Observable;\n @Input() passengers$: Observable = of([]);\n @Input() showUpsellPerPax: boolean = false;\n @Input() showUpsellPaymentButton = true;\n @Input() includeSeatActionButtons = false;\n @Input() showClearPendingSeatsButton = false;\n @Input() products$: Observable = new BehaviorSubject([]);\n @Input() gtmFlow: GtmPurchaseFlow = GtmPurchaseFlow.MANAGE_BOOKING;\n @Input() gaContext: GaContext = GaContext.MANAGE_BOOKING;\n @Input() isCarrierConnect = false;\n @Input() includeAssignAtAirportStatus = false;\n @Input() showNonAYSeats = false;\n @Input() removeProgressInfo$: Observable = of({ removeInProgress: false });\n @Input() isShoppingCart = false;\n @Input() groupServicesByBound = false;\n\n @Output() selectProduct: EventEmitter = new EventEmitter();\n @Output() continuePurchase: EventEmitter = new EventEmitter();\n @Output() removeProduct: EventEmitter = new EventEmitter();\n @Output() viewSeatmap: EventEmitter = new EventEmitter();\n @Output() clearPendingSeats: EventEmitter = new EventEmitter();\n\n serviceSegmentItems$: Observable;\n serviceSubject$: BehaviorSubject = new BehaviorSubject(null);\n hasNonAySegments$: Observable;\n safProductInfo$: Observable;\n safThankYouForJoiningUsNotification$: Observable;\n isModalOpened = false;\n\n constructor(\n private gtmService: GtmService,\n private fragmentService: FragmentService\n ) {}\n\n ngOnInit(): void {\n this.serviceSubject$.next(this.service);\n this.serviceSegmentItems$ = this.findServiceInAllFlights();\n this.hasNonAySegments$ = this.serviceSegmentItems$.pipe(\n map((segments) => segments.some((seg) => seg.operatingAirline.code !== 'AY'))\n );\n\n this.safProductInfo$ = this.serviceSubject$.pipe(\n filter((service) => service.category === Category.SAF),\n switchMap(() => this.fragmentService.getFragment('fragments.services.productInfo.saf.contributeUrl'))\n );\n this.safThankYouForJoiningUsNotification$ = this.serviceSubject$.pipe(\n filter((service) => service.category === Category.SAF),\n switchMap(() => this.fragmentService.getFragment('fragments.thankYouForJoiningUs.url'))\n );\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes.service && !changes.service.isFirstChange()) {\n this.serviceSubject$.next(this.service);\n }\n }\n\n private findServiceInAllFlights(): Observable {\n const isPassengerSelected = (\n selectedPassengers: FinnairPassengerItem[],\n passengerServiceItem: FinnairPassengerServiceItem\n ): boolean =>\n selectedPassengers.length === 0 || selectedPassengers.some(({ id }) => id === passengerServiceItem.id);\n\n return combineLatest([this.cartOrOrder$, this.passengers$, this.serviceSubject$, this.removeProgressInfo$]).pipe(\n map(([order, selectedPassengers, service, removeInProgressInfo]) => {\n const { bounds, serviceCatalog } = order;\n const variantsWeCanSell =\n serviceCatalog?.categories\n ?.flatMap((serviceCategory) =>\n Object.values(serviceCategory.services).flatMap((servicesForFragment) =>\n Object.values(servicesForFragment).flatMap((passengerServices) =>\n passengerServices.flatMap((passengerService) => passengerService.variant)\n )\n )\n )\n .filter(unique) ?? [];\n const allFlights = bounds.flatMap((bound) => bound.itinerary).filter(isFlight);\n const flightById = toLookup(allFlights, (flight) => flight.id);\n\n const serviceCatalogPerCategory = serviceCatalog?.categories.find(\n ({ category }) =>\n category === this.service.category &&\n [\n Category.CABIN_BAGGAGE,\n Category.BAGGAGE,\n Category.SEAT,\n Category.MEAL,\n Category.WIFI,\n Category.SPORT,\n Category.LOUNGE,\n Category.PET,\n Category.SAF,\n Category.COVER,\n ].includes(category)\n );\n\n const allServiceSegments: FinnairServiceSegmentItem[] = service.bounds.flatMap(({ segments }) => segments);\n const serviceSegmentsByFlightId = groupBy(allServiceSegments, (segment) => segment.id);\n\n const serviceBySegments = Object.entries(serviceSegmentsByFlightId)\n .map(([flightId, serviceSegmentsForFlight]) => {\n const passengerServices = serviceSegmentsForFlight\n .flatMap(({ passengers }) => passengers)\n .filter((passenger) => isPassengerSelected(selectedPassengers, passenger));\n\n const passengerIncludedServices = passengerServices.map((passenger) =>\n passenger.services.filter((s) => s.includedInTicketType)\n );\n\n const complimentaryServices =\n service.category === Category.MEAL\n ? passengerIncludedServices.reduce((shared, services) => {\n return shared.filter((value) => services.some((service) => service.variant === value.variant));\n })\n : [];\n\n const variantsToRemove = complimentaryServices.map((service) => service.variant);\n\n const flightPassengers = passengerServices\n .map((passenger) => {\n const boundId = Object.keys(serviceCatalogPerCategory?.lowestPrice || {}).find((boundId) =>\n boundId.includes(flightId)\n );\n\n const isAvailableForSellServices =\n boundId && serviceCatalogPerCategory?.lowestPrice[boundId][passenger.id] && this.showUpsellPerPax;\n\n const showedServices =\n service.category === Category.MEAL\n ? passenger.services.filter((service) => !variantsToRemove.includes(service.variant))\n : passenger.services;\n\n return {\n ...passenger,\n passengerTypeCode: selectedPassengers.find((p) => p.id === passenger.id)?.passengerTypeCode,\n groupedServices: getGroupedServices(\n showedServices,\n getPassengerTierLevel(passenger.id, selectedPassengers),\n variantsWeCanSell,\n isAvailableForSellServices\n ? [\n {\n id: '',\n subCategory: `${service.category}`,\n totalPrice: serviceCatalogPerCategory?.lowestPrice[boundId][passenger.id].money,\n } as unknown as FinnairPassengerServiceSelectionItem,\n ]\n : [],\n this.isCarrierConnect,\n this.includeAssignAtAirportStatus\n ),\n };\n })\n .filter((passenger) => passenger.groupedServices.length > 0);\n\n const serviceSegmentItem = serviceSegmentsForFlight[serviceSegmentsForFlight.length - 1];\n const flight = flightById[flightId];\n\n return {\n ...serviceSegmentItem,\n operatingAirline: flight.operatingAirline,\n passengers: flightPassengers,\n complimentaryServices,\n } as FlightServices;\n })\n .filter((s) => s.passengers?.length > 0 || s.complimentaryServices.length > 0);\n const flightServices =\n this.groupServicesByBound && isBoundBasedCategory(this.service.category)\n ? this.mergeServicesForBound(serviceBySegments, bounds)\n : serviceBySegments;\n return this.updateRemovalStatus(flightServices, removeInProgressInfo);\n }),\n finShare()\n );\n }\n\n private updateRemovalStatus(flightServices: FlightServices[], removedServiceInfo: RemovedServiceProgress) {\n return flightServices.map((flightService) => {\n return {\n ...flightService,\n passengers: flightService.passengers.map((pax) => {\n return {\n ...pax,\n groupedServices: pax.groupedServices.map((groupedService) => {\n return {\n ...groupedService,\n services: groupedService.services.map((service) => {\n return {\n ...service,\n removeInProgress: this.isRemoveInProgressForService(\n removedServiceInfo,\n flightService,\n pax.id,\n service\n ),\n };\n }),\n };\n }),\n };\n }),\n };\n });\n }\n\n private isRemoveInProgressForService(\n removedServiceInfo: RemovedServiceProgress,\n flightServices: FlightServices,\n paxId: string,\n service: FinnairPassengerServiceSelectionItemWithStatus\n ) {\n return (\n removedServiceInfo.removeInProgress &&\n removedServiceInfo.service.category === this.service.category &&\n paxId === removedServiceInfo.service.travelerId &&\n (flightServices.id === removedServiceInfo.service.fragmentId ||\n flightServices.id === removedServiceInfo.service.boundId) &&\n (this.service.category === Category.SEAT\n ? service.seatNumber === removedServiceInfo.service.seatNumber\n : service.variant === removedServiceInfo.service.variant)\n );\n }\n\n private mergeServicesForBound(flightServices: FlightServices[], bounds: FinnairBoundItem[]): FlightServices[] {\n return bounds\n .map((bound) => {\n const flightIds = bound.itinerary.filter(isFlight).map((f) => f.id);\n const allFlightServicesInBound = flightServices.filter((flightService) => flightIds.includes(flightService.id));\n if (allFlightServicesInBound.length === 0) {\n return null;\n }\n const servicesGroupedByBound = [\n {\n ...allFlightServicesInBound[0],\n departure: bound.departure,\n arrival: bound.arrival,\n id: bound.id,\n },\n ];\n return this.isSegmentServicesIdentical(allFlightServicesInBound)\n ? servicesGroupedByBound\n : allFlightServicesInBound;\n })\n .filter((bound) => !!bound)\n .reduce((allServices, currentServices) => {\n return [...allServices, ...currentServices];\n }, []);\n }\n\n private isSegmentServicesIdentical(flightServices: FlightServices[]): boolean {\n return flightServices.every((flightService) =>\n compareAsJson(flightService.passengers, flightServices[0].passengers)\n );\n }\n\n onContinuePurchase(): void {\n this.gtmService.trackElement(\n 'continue-to-review_view-cta',\n this.gaContext,\n ElementTypes.BUTTON,\n undefined,\n ElementActions.CLICK\n );\n this.continuePurchase.emit(true);\n }\n\n onRemoveProduct(productInfo: RemovedServiceInfo, paxId: string, segmentId: string): void {\n this.removeProduct.emit({\n ...productInfo,\n travelerId: paxId,\n fragmentId: segmentId,\n });\n }\n\n onSelectProduct(category: Category, fragmentId: string, paxId: string): void {\n this.selectProduct.emit({\n category,\n fragmentId,\n paxId,\n });\n\n this.subscriptions.add(\n combineLatest([this.products$, this.cartOrOrder$])\n .pipe(\n take(1),\n filter(([products]) => products.length > 0)\n )\n .subscribe(([products, cartOrOrder]) => {\n const matchedProduct = products.find((product) => product.category === category);\n\n this.gtmService.ecommerceEventGA4(\n GtmEvent.SELECT_ITEM,\n getGA4ProductsFromSmpProducts([matchedProduct], this.gtmFlow, cartOrOrder.bounds)\n );\n })\n );\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n}\n","

0\" class=\"flex flex--middle font-body-1 ms-small-x\">\n \n \n \n {{ cityName | titlecase }} - \n \n \n {{ operatedByText }}\n \n \n

\n","import { ChangeDetectionStrategy, Component, Input, OnChanges, OnInit, SimpleChanges } from '@angular/core';\n\nimport { LocationInfoMap } from '@fcom/dapi/interfaces';\nimport { getCityName } from '@fcom/common/utils/booking.utils';\n\n@Component({\n selector: 'fin-included-product-heading',\n templateUrl: './included-product-heading.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IncludedProductHeadingComponent implements OnInit, OnChanges {\n @Input() locationCodes: string[] = [];\n\n @Input()\n locations: LocationInfoMap;\n\n @Input()\n operatedByText: string | undefined;\n\n showLocations: string[];\n\n ngOnInit(): void {\n this.showLocations = this.locationCodes.map((locationCode) => getCityName(locationCode, this.locations));\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (!changes['locationCodes']?.firstChange) {\n this.showLocations = this.locationCodes.map((locationCode) => getCityName(locationCode, this.locations));\n }\n }\n}\n","\n {{\n useCabinClass && bound.cabinClass\n ? ('travelClass.' + bound.cabinClass.toLowerCase() | finLocalization)\n : (bound.fareFamily?.name | titlecase)\n }}\n\n\n\n \n {{ 'MMB.includedProducts.tickets.readMoreAboutEconomy.text' | finLocalization }}\n \n \n\n\n\n {{ 'MMB.includedProducts.tickets.readMoreAboutBusiness.text' | finLocalization }}\n\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\n\nimport { LocationInfoMap } from '@fcom/dapi/interfaces';\nimport { FinnairBoundItem, FinnairCabinClass } from '@fcom/dapi/api/models';\n\n@Component({\n selector: 'fin-included-tickets',\n templateUrl: './included-tickets.component.html',\n styleUrls: ['included-tickets.component.scss', '../../../../../common-booking/assets/helper-classes.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IncludedTicketsComponent {\n readonly FinnairCabinClass = FinnairCabinClass;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input() locations: LocationInfoMap;\n @Input() bound: FinnairBoundItem;\n @Input() useCabinClass: boolean;\n}\n","\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n {{ 'actions.from' | finLocalization }}\n
\n
\n {{ service.upsell?.lowestPrice ?? service.totalPrice | finPrice }}\n
\n
\n \n \n \n \n \n \n
\n
\n \n\n\n \n

\n
\n
\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable } from 'rxjs';\n\nimport { ButtonMode, ButtonSize, ButtonTheme, IconButtonTheme, IconPosition } from '@fcom/ui-components';\nimport { FragmentService, LoaderType, MediaQueryService } from '@fcom/common';\nimport { CmsArticle } from '@fcom/core-api/interfaces';\nimport { Category } from '@fcom/dapi/api/models';\nimport { BoundWithServices, FinnairServiceItemWithUpsell } from '@fcom/dapi/interfaces';\n\n@Component({\n selector: 'fin-upsell-card',\n templateUrl: 'upsell-card.component.html',\n styleUrls: ['../../../../assets/helper-classes.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class UpsellCardComponent implements OnInit {\n readonly ButtonMode = ButtonMode;\n readonly ButtonSize = ButtonSize;\n readonly ButtonTheme = ButtonTheme;\n readonly IconButtonTheme = IconButtonTheme;\n readonly Category = Category;\n readonly IconPosition = IconPosition;\n readonly LoaderType = LoaderType;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n isMobile$: Observable;\n\n @Input()\n service: FinnairServiceItemWithUpsell;\n\n @Input() boundWithServices: BoundWithServices;\n\n @Output()\n upsellClicked: EventEmitter = new EventEmitter();\n\n article$: Observable;\n\n constructor(\n private fragmentService: FragmentService,\n private mediaQueryService: MediaQueryService\n ) {\n this.isMobile$ = this.mediaQueryService.isBreakpoint$('mobile');\n }\n\n ngOnInit(): void {\n this.article$ = this.fragmentService.getFragment(this.service.upsell.articleKey);\n }\n}\n","
\n \n \n \n\n \n \n\n
\n \n \n
\n \n
\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\n\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { CmsArticle, CmsTemplate } from '@fcom/core-api/interfaces';\nimport { FragmentService } from '@fcom/common';\nimport { ButtonTheme, ModalButtons } from '@fcom/ui-components';\nimport { finShare } from '@fcom/rx';\nimport { Category } from '@fcom/dapi/api/models';\n\n@Component({\n selector: 'fin-information-modal',\n templateUrl: 'information-modal.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class InformationModalComponent implements OnInit {\n readonly ModalButtons = ModalButtons;\n readonly ButtonTheme = ButtonTheme;\n\n @Input()\n category: Category;\n\n @Input()\n upsell = false;\n\n showModal = false;\n\n modalArticle$: Observable;\n\n translationPrefix: string;\n\n @Output()\n upsellClicked: EventEmitter = new EventEmitter();\n\n constructor(private fragmentService: FragmentService) {}\n\n ngOnInit(): void {\n this.translationPrefix = `ancillaries.${this.category}.moreInfo`;\n this.modalArticle$ = this.fragmentService\n .getFragment(`${this.translationPrefix}.modal.article.url`)\n .pipe(\n map((article) => {\n return {\n header: [],\n main: [article],\n footer: [],\n };\n }),\n finShare()\n );\n }\n\n emitUpsellClick(): void {\n this.upsellClicked.emit(this.category);\n this.showModal = false;\n }\n}\n","\n \n \n \n\n","import { ChangeDetectionStrategy, Component, Input, OnChanges, OnInit } from '@angular/core';\n\nimport { Category, FinnairBoundItem, FinnairPassengerItem } from '@fcom/dapi/api/models';\nimport { FinnairServiceItemWithUpsell } from '@fcom/dapi/interfaces';\n\nimport { getSummaryForCategory } from '../../../../utils/services-summary.utils';\n\ninterface ServiceSummary {\n quantity?: number;\n description: string;\n text?: string;\n}\n\n@Component({\n selector: 'fin-included-product-item-summary',\n templateUrl: './included-product-item-summary.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IncludedProductItemSummaryComponent implements OnInit, OnChanges {\n @Input() passengers: FinnairPassengerItem[];\n @Input() bound: FinnairBoundItem;\n @Input() service: FinnairServiceItemWithUpsell;\n @Input() isShortHaulFlight: boolean;\n @Input() bodyClass = 'font-body-2';\n protected readonly Category = Category;\n protected serviceSummary: ServiceSummary[] = [];\n\n ngOnChanges(): void {\n this.update();\n }\n\n ngOnInit(): void {\n this.update();\n }\n\n private update() {\n this.serviceSummary = getSummaryForCategory(\n this.service?.category,\n this.bound,\n this.service,\n this.isShortHaulFlight\n );\n }\n}\n","\n
\n {{ 'MMB.services.seats.noneIncluded' | finLocalization }}\n
\n
\n\n \n {{ seat }}\n \n\n 1\">\n \n {{ flightSeats.flight }}:\n \n \n {{ seat }}\n \n \n / \n \n\n","import { ChangeDetectionStrategy, Component, Input, OnChanges, OnInit } from '@angular/core';\n\nimport { FinnairBoundItem, FinnairPassengerItem } from '@fcom/dapi/api/models';\nimport { FinnairServiceItemWithUpsell } from '@fcom/dapi/interfaces';\n\nimport { FlightWithSeats, getSeatsByFlight } from '../../../../utils/services-summary.utils';\n\n@Component({\n selector: 'fin-included-product-item-summary-seat',\n templateUrl: './included-product-item-summary-seat.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IncludedProductItemSummarySeatComponent implements OnInit, OnChanges {\n @Input() passengers: FinnairPassengerItem[];\n @Input() bound: FinnairBoundItem;\n @Input() service: FinnairServiceItemWithUpsell;\n @Input() bodyClass = 'font-body-2';\n protected flightsSeats: FlightWithSeats[] = [];\n\n ngOnChanges(): void {\n this.update();\n }\n\n ngOnInit(): void {\n this.update();\n }\n\n private update() {\n this.flightsSeats = getSeatsByFlight(this.passengers, this.bound, this.service);\n }\n}\n","\n \n {{ item.quantity }} x {{ item.text }}\n {{ item.description | finLocalization: { amount: item.quantity } }}\n \n\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\nimport { ServiceSummaryTranslationKey, ServiceType } from '../../../../utils/services-summary.utils';\n\n/*\n * Used to show the summary for products others than Seats. Products\n * that have a simple way to show the summary as a comma separated\n * list of items that sometimes have a quantity */\n@Component({\n selector: 'fin-included-product-item-summary-other',\n templateUrl: './included-product-item-summary-other.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IncludedProductItemSummaryOtherComponent {\n @Input()\n summary: ServiceSummaryTranslationKey[];\n\n @Input()\n bodyClass = 'font-body-2';\n\n readonly ServiceType = ServiceType;\n}\n","
\n @if (descriptionKey) {\n {{ descriptionKey | finLocalization }}\n }\n @if (tag) {\n \n @if (tag.icon) {\n \n }\n {{ tag.textKey | finLocalization }}\n \n }\n
\n","import { Component, Input } from '@angular/core';\n\nimport { IconSet, TagTheme } from '@fcom/ui-components';\n\nexport interface SeatBenefitTag {\n textKey: string;\n theme?: TagTheme;\n icon?: IconSet;\n}\n\n@Component({\n selector: 'fin-seat-benefit',\n templateUrl: './seat-benefit.component.html',\n styleUrl: './seat-benefit.component.scss',\n})\nexport class SeatBenefitComponent {\n @Input() descriptionKey: string;\n\n @Input() tag: SeatBenefitTag;\n}\n","import { Injectable, Pipe, PipeTransform } from '@angular/core';\n\nimport { Amount } from '@fcom/dapi';\n\n@Injectable()\n@Pipe({\n name: 'finNonZeroAmount',\n pure: true,\n})\nexport class NonZeroAmountPipe implements PipeTransform {\n transform(amount: Amount, active = true): Amount | undefined {\n if (active) {\n if (!amount?.amount || parseFloat(amount.amount) == 0) {\n return undefined;\n }\n }\n\n return amount;\n }\n}\n","import { ChangeDetectionStrategy, Component, Input } from '@angular/core';\n\n/**\n * @deprecated\n *\n * This component is under review and will most likely be removed in the future. If you need to use\n * this please discuss in #design-system channel in slack!\n */\n@Component({\n selector: 'fin-titled-card',\n templateUrl: './titled-card.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TitledCardComponent {\n @Input()\n title: string;\n}\n","
\n
\n {{ title }}\n
\n
\n \n
\n
\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { ButtonModule, IconsModule, ProductsModule, UiComponentsModule } from '@fcom/ui-components';\nimport { UiTranslateModule } from '@fcom/ui-translate';\nimport { PipesModule } from '@fcom/common/';\nimport { ComponentsModule } from '@fcom/common/components';\nimport { GtmModule } from '@fcom/common/gtm';\nimport { FinFormsModule } from '@fcom/common/forms';\nimport { CmsModule } from '@fcom/cms/components/cms.module';\nimport { BookingCommonModule } from '@fcom/booking/modules/common/booking-common.module';\n\nimport { CommonBookingComponentsModule } from '../../common-booking.module';\nimport {\n AdditionalInfoComponent,\n AncillaryPriceComponent,\n AncillarySelectionComponent,\n CommonProductSelectionComponent,\n MealDetailsComponent,\n ProductListComponent,\n SeatDetailsComponent,\n} from './components';\nimport { TabsModule } from '../tabs';\nimport { AncillarySubviewModule } from './components/ancillary-subview/ancillary-subview.module';\nimport { ProductExpandComponent } from './components/product-expand/product-expand.component';\nimport { SeatPreSelectionComponent } from './components/seat-map/seat-pre-selection/seat-pre-selection.component';\nimport { SeatMapViewComponent } from './components/seat-map/seat-map-view/seat-map-view.component';\nimport { SeatPassengersComponent } from './components/seat-map/seat-passengers/seat-passengers.component';\nimport { SeatMapRendererComponent } from './components/seat-map/seat-map-renderer/seat-map-renderer.component';\nimport { SeatMapMiniMapComponent } from './components/seat-map/seat-map-mini-map/seat-map-mini-map.component';\nimport { AncillarySeatMapComponent } from './components/seat-map/ancillary-seat-map/ancillary-seat-map.component';\nimport { SeatMapSeatChipsComponent } from './components/seat-map/seat-map-seatchips/seat-map-seatchips.component';\nimport { GroupedServicesComponent } from './components/grouped-services/grouped-services.component';\nimport { IncludedServiceComponent } from './components/included-service/included-service.component';\nimport { IncludedProductHeadingComponent } from './components/included-product-heading/included-product-heading.component';\nimport { IncludedProductsComponent } from './components/included-products/included-products.component';\nimport { IncludedTicketsComponent } from './components/included-tickets/included-tickets.component';\nimport { UpsellCardComponent } from './components/upsell-card/upsell-card.component';\nimport { InformationModalComponent } from './components/information-modal/information-modal.component';\nimport { IncludedProductItemComponent } from './components/included-product-item/included-product-item.component';\nimport { IncludedProductItemSummaryComponent } from './components/included-product-item-summary/included-product-item-summary.component';\nimport { IncludedProductItemSummarySeatComponent } from './components/included-product-item-summary-seat/included-product-item-summary-seat.component';\nimport { IncludedProductItemSummaryOtherComponent } from './components/included-product-item-summary-other/included-product-item-summary-other.component';\nimport { SeatBenefitComponent } from './components/seat-map/seat-benefit/seat-benefit.component';\n\nconst COMPONENTS = [\n ProductListComponent,\n SeatDetailsComponent,\n AncillarySelectionComponent,\n AncillaryPriceComponent,\n MealDetailsComponent,\n AdditionalInfoComponent,\n CommonProductSelectionComponent,\n ProductExpandComponent,\n SeatBenefitComponent,\n SeatPreSelectionComponent,\n SeatMapViewComponent,\n SeatPassengersComponent,\n SeatMapRendererComponent,\n SeatMapMiniMapComponent,\n AncillarySeatMapComponent,\n SeatMapSeatChipsComponent,\n GroupedServicesComponent,\n IncludedServiceComponent,\n IncludedProductHeadingComponent,\n IncludedProductsComponent,\n IncludedTicketsComponent,\n UpsellCardComponent,\n InformationModalComponent,\n IncludedProductItemComponent,\n IncludedProductItemSummaryComponent,\n IncludedProductItemSummarySeatComponent,\n IncludedProductItemSummaryOtherComponent,\n];\n\n@NgModule({\n imports: [\n ButtonModule,\n CommonModule,\n ComponentsModule,\n PipesModule,\n GtmModule,\n IconsModule,\n ProductsModule,\n UiTranslateModule,\n AncillarySubviewModule,\n TabsModule,\n FinFormsModule,\n UiComponentsModule,\n CommonBookingComponentsModule,\n CmsModule,\n BookingCommonModule,\n ],\n declarations: [...COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class CommonBookingAncillariesModule {}\n","\n {{ skipText }}\n
\n
\n \n \n \n
\n {{ ((displayAsBoundBased$ | async) ? 'services.bound' : 'services.flight') | finLocalization }}\n {{ index + 1 }}, {{ boundOrFlight.departure.dateTime | finDateFormat: 'DATE' }}\n
\n \n {{ boundOrFlight.fareFamily.name }}\n
\n
\n \n \n \n
\n \n \n \n \n \n \n
\n

\n {{\n benefitTranslations$\n | finMap: 'title'\n | async\n | finLocalization: { amount: includedBenefits[0].quantity }\n }}\n

\n

\n {{ benefitTranslations$ | finMap: 'description' | async | finLocalization }}\n

\n
\n
\n \n \n \n \n {{ eligibility | finLocalization }}\n \n \n {{\n noAncillaryBecauseAirlineKey$\n | async\n | finLocalization: { airline: noAncillaryBecauseAirline, airlines: noAncillaryBecauseAirline }\n }}\n \n \n \n \n\n \n
\n
\n \n

\n {{ translations$ | finMap: 'title' | async | finLocalization }}\n

\n
\n\n \n \n

{{ service.value.name }}

\n
\n \n \n {{ translations$ | finMap: 'paid' | async | finLocalization }}:\n\n {{\n 'MMB.includedProducts.' + includedService.category + '.text'\n | finLocalization\n : {\n amount: includedService.quantity,\n displayName: includedService.title || includedService['displayName'] || '',\n seatNumber: includedService.seatNumber ?? '',\n weight: includedService.maxBaggageWeight,\n }\n | finEmpty: includedService.title\n }}\n
\n
\n\n
\n \n = 0,\n 'medium-type': +service.pricePerItem?.amount > 0,\n }\"\n >\n {{ inCart }}:\n {{\n 'MMB.includedProducts.' + service.category + '.text'\n | finLocalization\n : {\n amount: service.quantity,\n displayName: service.title || service['displayName'] || '',\n seatNumber: service.seatNumber,\n weight: service.maxBaggageWeight,\n }\n | finEmpty: service.title\n }}\n {{ service.originalPricePerItem | finPrice }} \n {{ service.pricePerItem | finPrice }}\n
\n \n\n
\n
\n
\n {{ translations$ | finMap: 'noSelection' | async | finLocalization }}\n
\n
\n
\n \n \n \n \n \n {{ eligibility | finLocalization }}\n \n \n
\n\n \n
\n
\n
\n {{ translations$ | finMap: 'noSelection' | async | finLocalization }}\n
\n
\n
\n
\n\n \n \n \n {{ translations$ | finMap: 'maxedOut' | async | finLocalization }}\n \n \n \n \n \n \n \n \n \n \n \n {{ middleNotificationTranslationKey | finLocalization }}\n \n \n \n \n\n \n {{ 'subtotal' | finLocalization }}: \n {{ subTotalPrice$ | async | finPrice | finEmpty: '–' }}\n \n \n\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Store } from '@ngrx/store';\nimport { combineLatest, filter, Observable, of } from 'rxjs';\nimport { map, switchMap } from 'rxjs/operators';\n\nimport { ButtonPosition, ButtonSize, ButtonTheme, IconPosition, NotificationTheme } from '@fcom/ui-components';\nimport { AppState } from '@fcom/core';\nimport { Amount, LocationInfoMap, ServiceCatalogSelectionsForAllTravelers } from '@fcom/dapi';\nimport { isFinnairNorraOrWetLease, mapValues, unique } from '@fcom/core/utils';\nimport {\n Category,\n FinnairBoundItem,\n FinnairItineraryItemFlight,\n FinnairPassengerItem,\n FinnairServiceCatalogEligibilityReason,\n SubCategory,\n} from '@fcom/dapi/api/models';\nimport { finShare } from '@fcom/rx';\nimport { Breakpoint } from '@fcom/common/interfaces/breakpoint.interface';\n\nimport { EligibilitiesForFragments, PurchasedServicesForOrder, UpdatedServicesForPassenger } from '../../interfaces';\nimport { isBoundBasedCategory, serviceMapping, ServiceMapping } from '../../utils';\nimport { seatSelections, serviceSelectionsForCategoryAllTravelers } from '../../../../store';\nimport {\n getTails,\n isBound,\n isBoundOrFlightConfirmedOrCheckedIn,\n isByBusOnly,\n isByTrainOnly,\n isFlight,\n} from '../../../../utils/common-booking.utils';\nimport { PurchasesDonePerFragment } from '../product-list/product-list.component';\n\nconst translationKeys = {\n [Category.MEAL]: {\n title: 'services.meal.title',\n noSelection: 'services.meal.state.selection.default',\n notAvailable: 'ancillaries.meals.noMealsAvailable',\n maxedOut: 'ancillaries.meals.maxedOut',\n paid: 'ancillaries.meals.paid',\n inCart: 'ancillaries.meals.inCart',\n [FinnairServiceCatalogEligibilityReason.PURCHASE_FRESH_MEAL_NOT_ELIGIBLE_EX_EXCEPT_HEL_WITHIN_24_HOURS]:\n 'ancillaries.meals.eligibility.mealsNotAvailable',\n [FinnairServiceCatalogEligibilityReason.PURCHASE_FRESH_MEAL_NOT_ELIGIBLE_EX_HEL_WITHIN_7_HOURS]:\n 'ancillaries.meals.eligibility.mealsNotAvailable',\n [FinnairServiceCatalogEligibilityReason.PURCHASE_PRE_ORDER_HOT_MEAL_NOT_ELIGIBLE_EX_HEL_WITHIN_16_HOURS]:\n 'ancillaries.meals.eligibility.mealsNotAvailable',\n [FinnairServiceCatalogEligibilityReason.PURCHASE_PRE_ORDER_HOT_MEAL_NOT_ELIGIBLE_EX_EXCEPT_HEL_36_HOURS]:\n 'ancillaries.meals.eligibility.mealsNotAvailable',\n [FinnairServiceCatalogEligibilityReason.PURCHASE_MEAL_NOT_ELIGIBLE_WHEN_ALREADY_FLOWN]:\n 'ancillaries.meals.eligibility.boundFlown',\n [FinnairServiceCatalogEligibilityReason.PURCHASE_SPECIAL_MEAL_NOT_ELIGIBLE]:\n 'ancillaries.meals.eligibility.mealsNotAvailable',\n },\n [Category.WIFI]: {\n title: 'services.wifi.title',\n noSelection: 'services.wifi.state.selection.default',\n notAvailable: 'ancillaries.wifi.noWifiAvailable',\n maxedOut: 'ancillaries.wifi.maxedOut',\n paid: 'ancillaries.wifi.paid',\n inCart: 'ancillaries.wifi.inCart',\n [FinnairServiceCatalogEligibilityReason.PURCHASE_WIFI_NOT_ELIGIBLE_WHEN_ALREADY_FLOWN]:\n 'ancillaries.wifi.eligibility.boundFlown',\n },\n [Category.BAGGAGE]: {\n title: 'services.baggage.title',\n noSelection: 'services.baggage.state.selection.default',\n notAvailable: 'ancillaries.bags.noBagsAvailable',\n paid: 'ancillaries.bags.paid',\n inCart: 'ancillaries.bags.inCart',\n maxedOut: 'ancillaries.bags.maxedOut',\n [FinnairServiceCatalogEligibilityReason.PURCHASE_BAGGAGE_NOT_ELIGIBLE_WHEN_ALREADY_FLOWN]:\n 'ancillaries.bags.eligibility.boundFlown',\n },\n [Category.CABIN_BAGGAGE]: {\n title: 'services.cabinBaggage.title',\n noSelection: 'services.cabinBaggage.state.selection.default',\n notAvailable: 'ancillaries.cabinBaggage.notAvailable',\n paid: 'ancillaries.cabinBaggage.paid',\n inCart: 'ancillaries.cabinBaggage.inCart',\n maxedOut: 'ancillaries.cabinBaggage.maxedOut',\n },\n [Category.LOUNGE]: {\n title: 'services.lounge.title',\n noSelection: 'services.lounge.state.selection.default',\n notAvailable: 'ancillaries.lounge.noLoungeAvailable',\n maxedOut: 'ancillaries.lounge.maxedOut',\n paid: 'ancillaries.lounge.paid',\n inCart: 'ancillaries.lounge.inCart',\n [FinnairServiceCatalogEligibilityReason.PURCHASE_LOUNGE_ACCESS_NOT_ELIGIBLE_WHEN_ALREADY_FLOWN]:\n 'ancillaries.lounge.eligibility.boundFlown',\n },\n [Category.SPORT]: {\n title: 'services.sport.title',\n noSelection: 'services.sport.state.selection.default',\n notAvailable: 'ancillaries.sport.noSportAvailable',\n maxedOut: 'ancillaries.sport.maxedOut',\n paid: 'ancillaries.sport.paid',\n inCart: 'ancillaries.sport.inCart',\n },\n [Category.PET]: {\n title: 'services.pet.title',\n noSelection: 'services.pet.state.selection.default',\n notAvailable: 'ancillaries.pet.noPetAvailable',\n maxedOut: 'ancillaries.pet.maxedOut',\n paid: 'ancillaries.pet.paid',\n inCart: 'ancillaries.pet.inCart',\n middleNotificationTranslationKey: 'services.pet.sideBarMiddleNotification',\n },\n [Category.SEAT]: {\n title: 'services.seat.title',\n noSelection: 'services.seat.state.selection.default',\n notAvailable: 'ancillaries.seats.noSeatsAvailable',\n paid: 'ancillaries.seats.paid',\n inCart: 'ancillaries.seats.inCart',\n maxedOut: 'ancillaries.seats.maxedOut',\n [FinnairServiceCatalogEligibilityReason.PURCHASE_SEAT_NOT_ELIGIBLE_WHEN_ALREADY_FLOWN]:\n 'ancillaries.seat.eligibility.boundFlown',\n },\n};\n\nconst translationForBenefits = {\n [SubCategory.CHECKED_BAGGAGE]: {\n title: 'benefits.checkedBaggage.title',\n description: 'benefits.checkedBaggage.description',\n },\n};\n\n@Component({\n selector: 'fin-ancillary-sidebar',\n styleUrls: ['ancillary-sidebar.component.scss'],\n templateUrl: 'ancillary-sidebar.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AncillarySidebarComponent implements OnInit {\n readonly Breakpoint = Breakpoint;\n readonly ButtonPosition = ButtonPosition;\n readonly ButtonSize = ButtonSize;\n readonly ButtonTheme = ButtonTheme;\n readonly Category = Category;\n readonly IconPosition = IconPosition;\n readonly NotificationTheme = NotificationTheme;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input()\n category$: Observable;\n\n @Input()\n isSideBarOpen = false;\n\n @Input()\n boundsOrFlights$: Observable<(FinnairBoundItem | FinnairItineraryItemFlight)[]> = of([]);\n\n @Input()\n availability$: Observable;\n\n @Input()\n maxedOutForFragment$: Observable;\n\n @Input()\n subTotalPrice$: Observable;\n\n @Input()\n locations: LocationInfoMap;\n\n @Input()\n passengers: Array = [];\n\n @Input()\n subviewName: string;\n\n @Input()\n showFareFamily = true;\n\n @Input()\n purchasedServices$: Observable = of({});\n\n @Input()\n skipEnabled = false;\n\n @Input()\n skipText = '';\n\n @Input()\n passengersWithPetcIncompatibleSeats$: Observable<{ [boundId: string]: string[] }> = of({});\n\n @Input()\n ctaButtonText = 'ancillaries.backToServices';\n\n @Output()\n ctaSideBarClosed: EventEmitter = new EventEmitter();\n\n @Output()\n sideBarClosed: EventEmitter = new EventEmitter();\n\n @Output()\n changeSelectedIndex: EventEmitter = new EventEmitter();\n\n services$: Observable;\n service$: Observable;\n updatedServices$: Observable;\n includedBenefits$: Observable;\n translations$: Observable>;\n benefitTranslations$: Observable | null>;\n noAncillaryBecauseAirlineForFragment$: Observable<{ [fragmentId: string]: string }>;\n noAncillaryBecauseAirlineKey$: Observable;\n confirmedOrCheckedInSegments$: Observable<{ [boundOrFlightId: string]: boolean }>;\n tails$: Observable<{ [boundOrFlightId: string]: string[] }>;\n isBusOnlyConnections$: Observable<{ [boundOrFlightId: string]: boolean }>;\n isTrainOnlyConnections$: Observable<{ [boundOrFlightId: string]: boolean }>;\n priorityBasedEligibilities$: Observable<{ [fragmentId: string]: string[] }>;\n displayAsBoundBased$: Observable;\n middleNotificationTranslationKey$: Observable;\n\n constructor(private store$: Store) {}\n\n ngOnInit(): void {\n this.displayAsBoundBased$ = this.category$.pipe(map(isBoundBasedCategory));\n\n this.noAncillaryBecauseAirlineKey$ = this.category$.pipe(\n map((category) =>\n isBoundBasedCategory(category)\n ? 'ancillaries.bags.noBagsAvailableAirlines'\n : 'ancillaries.seats.noSeatsAvailableAirline'\n )\n );\n\n this.noAncillaryBecauseAirlineForFragment$ = this.boundsOrFlights$.pipe(\n map((boundsOrFlights) => {\n return boundsOrFlights.reduce((acc, cur) => {\n if (isBound(cur)) {\n acc[cur.id] = cur.itinerary\n .filter(isFlight)\n .map((i: FinnairItineraryItemFlight) => i.operatingAirline)\n .filter((operatingAirline) => !isFinnairNorraOrWetLease(operatingAirline.name, operatingAirline.code))\n .map((operatingAirline) => operatingAirline.name)\n .filter(unique)\n .join(', ');\n } else {\n acc[cur.id] = !isFinnairNorraOrWetLease(cur.operatingAirline.name, cur.operatingAirline.code)\n ? cur.operatingAirline.name\n : undefined;\n }\n return acc;\n }, {});\n }),\n finShare()\n );\n this.service$ = this.category$.pipe(map((category) => serviceMapping.find((s) => s.category === category)));\n this.translations$ = this.category$.pipe(map((category) => translationKeys[category]));\n\n this.includedBenefits$ = this.category$.pipe(\n switchMap((category) => {\n switch (category) {\n case Category.BAGGAGE:\n return this.store$.pipe(\n serviceSelectionsForCategoryAllTravelers(category),\n map((selections) =>\n mapValues(selections, (selection) =>\n selection.filter((s) => s.category === SubCategory.CHECKED_BAGGAGE)\n )\n ),\n finShare()\n );\n default:\n return of({});\n }\n }),\n finShare()\n );\n\n this.benefitTranslations$ = this.category$.pipe(\n map((category) => {\n switch (category) {\n case Category.BAGGAGE:\n return translationForBenefits[SubCategory.CHECKED_BAGGAGE];\n default:\n return null;\n }\n })\n );\n\n this.services$ = this.category$.pipe(\n switchMap((category) => {\n switch (category) {\n case Category.SEAT:\n return this.store$.pipe(seatSelections());\n case Category.BAGGAGE:\n return this.store$.pipe(\n serviceSelectionsForCategoryAllTravelers(category),\n map((selections) =>\n mapValues(selections, (selection) =>\n selection.filter((s) => s.category !== SubCategory.CHECKED_BAGGAGE)\n )\n ),\n finShare()\n );\n default:\n return this.store$.pipe(serviceSelectionsForCategoryAllTravelers(category), finShare());\n }\n })\n );\n\n this.confirmedOrCheckedInSegments$ = this.boundsOrFlights$.pipe(\n map((boundsOrFlights) => {\n return boundsOrFlights.reduce((all, boundOrFlight) => {\n all[boundOrFlight.id] = isBoundOrFlightConfirmedOrCheckedIn(boundOrFlight);\n return all;\n }, {});\n })\n );\n\n this.tails$ = this.boundsOrFlights$.pipe(\n map((boundsOrFlights) => {\n return boundsOrFlights.reduce((all, boundOrFlight) => {\n all[boundOrFlight.id] = getTails(boundOrFlight);\n return all;\n }, {});\n })\n );\n\n this.isBusOnlyConnections$ = this.boundsOrFlights$.pipe(\n map((boundsOrFlights) => {\n return boundsOrFlights.reduce((all, boundOrFlight) => {\n all[boundOrFlight.id] = isByBusOnly(boundOrFlight);\n return all;\n }, {});\n })\n );\n\n this.isTrainOnlyConnections$ = this.boundsOrFlights$.pipe(\n map((boundsOrFlights) => {\n return boundsOrFlights.reduce((all, boundOrFlight) => {\n all[boundOrFlight.id] = isByTrainOnly(boundOrFlight);\n return all;\n }, {});\n })\n );\n\n this.priorityBasedEligibilities$ = combineLatest([\n this.boundsOrFlights$.pipe(map((bounds) => bounds.map(({ id }) => id))),\n this.availability$,\n this.isBusOnlyConnections$,\n this.noAncillaryBecauseAirlineForFragment$,\n this.translations$,\n ]).pipe(\n map(([fragmentIds, availability, busOnly, otherAirline, translations]) => {\n return fragmentIds.reduce((all, fragmentId) => {\n if (busOnly[fragmentId]) {\n all[fragmentId] = [translations['notAvailable'] + 'Bus'];\n } else if (otherAirline[fragmentId]) {\n all[fragmentId] = [translations?.['notAvailable']];\n } else if (availability[fragmentId] && availability[fragmentId].every((e) => !e.isAllowedToUse)) {\n const eligibilities = availability[fragmentId]\n .map((e) => translations?.[e.reason])\n .filter(Boolean)\n .filter(unique);\n all[fragmentId] = eligibilities.length > 0 ? eligibilities : ['services.cannotAdd'];\n }\n return all;\n }, {});\n }),\n finShare()\n );\n\n const includedServices$ = combineLatest([this.purchasedServices$, this.services$]).pipe(\n map(([purchasedServices, services]) => {\n return Object.keys({ ...purchasedServices }).reduce(\n (filteredPurchaseServices, boundOrFlightId) => {\n filteredPurchaseServices[boundOrFlightId] = purchasedServices[boundOrFlightId].filter(\n (purchasedService) => {\n const serviceForBoundOrFlight = services[boundOrFlightId];\n if (\n ![SubCategory.SEAT, SubCategory.MEAL, SubCategory.SPECIAL_DIET].includes(purchasedService.category)\n ) {\n return true;\n }\n return (\n serviceForBoundOrFlight?.some(\n (selectedService) =>\n selectedService.travelerId === purchasedService.travelerId &&\n ((selectedService.category === SubCategory.SEAT &&\n selectedService.variant === purchasedService.seatNumber) ||\n selectedService.variant === purchasedService.variant)\n ) ?? true\n );\n }\n );\n return filteredPurchaseServices;\n },\n { ...purchasedServices }\n );\n })\n );\n\n this.updatedServices$ = combineLatest([this.services$, includedServices$]).pipe(\n map(([services, included]) => {\n const passengerNames = this.passengers.reduce((acc, { id, firstName, lastName }) => {\n acc[id] = `${firstName} ${lastName}`;\n return acc;\n }, {});\n const updatedServices = {};\n Object.entries(services).forEach(([fragmentId, servicesFromStore]) => {\n servicesFromStore\n .filter((service) => service.quantity > 0 && !service.paid)\n .filter((service) => {\n return !Object.entries(included).some(([id, includedServices]) => {\n return (\n fragmentId === id &&\n includedServices.some(\n (s) =>\n s.travelerId === service.travelerId &&\n s.variant === service.variant &&\n s.quantity === service.quantity\n )\n );\n });\n })\n .forEach((service) => {\n updatedServices[fragmentId] = updatedServices[fragmentId] || {};\n if (updatedServices[fragmentId][service.travelerId]) {\n updatedServices[fragmentId][service.travelerId].added.push(service);\n } else {\n updatedServices[fragmentId][service.travelerId] = {\n name: passengerNames[service.travelerId],\n added: [service],\n };\n }\n });\n });\n\n Object.entries(included).forEach(([fragmentId, includedServices]) => {\n includedServices\n .filter((service) => service.quantity > 0)\n .forEach((service) => {\n updatedServices[fragmentId] = updatedServices[fragmentId] || {};\n if (updatedServices[fragmentId]?.[service.travelerId]) {\n if (updatedServices[fragmentId][service.travelerId].included) {\n updatedServices[fragmentId][service.travelerId].included.push(service);\n } else {\n updatedServices[fragmentId][service.travelerId].included = [service];\n }\n } else {\n updatedServices[fragmentId] = {\n ...updatedServices[fragmentId],\n [service.travelerId]: { name: passengerNames[service.travelerId], included: [service] },\n };\n }\n });\n });\n return updatedServices;\n })\n );\n\n this.middleNotificationTranslationKey$ = combineLatest([\n this.category$,\n this.services$,\n this.passengersWithPetcIncompatibleSeats$,\n ]).pipe(\n filter(([category]) => category === Category.PET),\n map(([_, services, passengersWithPetcIncompatibleSeats]) => {\n return Object.keys(passengersWithPetcIncompatibleSeats)?.some((boundId) => {\n const travelerIds = passengersWithPetcIncompatibleSeats[boundId];\n return (\n travelerIds &&\n services &&\n services[boundId]?.some(\n (service) => service.category === SubCategory.PET_IN_CABIN && travelerIds.includes(service.travelerId)\n )\n );\n })\n ? translationKeys[Category.PET].middleNotificationTranslationKey\n : undefined;\n })\n );\n }\n\n toType(t: FinnairBoundItem | FinnairItineraryItemFlight): FinnairBoundItem | FinnairItineraryItemFlight {\n return 'fareFamily' in t ? (t as FinnairBoundItem) : (t as FinnairItineraryItemFlight);\n }\n}\n","\n \n {{ subTitle }}\n \n \n {{ title }}\n \n \n\n","import { Component, ElementRef, HostBinding, Input, OnDestroy, OnInit, ViewChild } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, Subject, Subscription } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { isPresent, KeyCodes, stopPropagation, unsubscribe, KeyCode, getKeyCodeFromEvent } from '@fcom/core/utils';\n\nimport { TabStateService } from './tab-state.service';\n\nexport enum SelectAction {\n PREVIOUS,\n NEXT,\n FIRST,\n LAST,\n}\n\nconst keyDownToSelectAction: { key: KeyCode; value: SelectAction }[] = [\n { key: KeyCodes.HOME, value: SelectAction.FIRST },\n { key: KeyCodes.END, value: SelectAction.LAST },\n];\nconst keyUpToSelectAction: { key: KeyCode; value: SelectAction }[] = [\n { key: KeyCodes.LEFT, value: SelectAction.PREVIOUS },\n { key: KeyCodes.RIGHT, value: SelectAction.NEXT },\n];\n\n@Component({\n selector: 'fin-tab-label',\n styleUrls: ['tab-label.component.scss'],\n templateUrl: 'tab-label.component.html',\n})\nexport class TabLabelComponent implements OnInit, OnDestroy {\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input()\n tabId: string;\n @Input()\n title: string;\n @Input()\n subTitle: string;\n @Input()\n checked: boolean;\n\n @HostBinding('attr.selected')\n hostSelected = false;\n selected$: Observable;\n clicked$: Subject = new Subject();\n actions$: Subject = new Subject();\n\n @ViewChild('content', { static: true })\n private content: ElementRef;\n private subscription: Subscription;\n\n constructor(private service: TabStateService) {}\n\n ngOnInit(): void {\n this.selected$ = this.service.getSelectedTabId().pipe(map((id) => id === this.tabId));\n this.subscription = this.selected$.subscribe((selected: boolean) => (this.hostSelected = selected));\n }\n\n ngOnDestroy(): void {\n this.subscription = unsubscribe(this.subscription);\n }\n\n focus = (): void => this.content.nativeElement.focus();\n\n onClick(event: MouseEvent): false {\n this.clicked$.next(this);\n return stopPropagation(event);\n }\n\n onKeyDown = (event: KeyboardEvent): boolean =>\n this.fireAction(\n keyDownToSelectAction.find((keyDown) => keyDown.key === getKeyCodeFromEvent(event)),\n event\n );\n onKeyUp = (event: KeyboardEvent): boolean =>\n this.fireAction(\n keyUpToSelectAction.find((keyUp) => keyUp.key === getKeyCodeFromEvent(event)),\n event\n );\n\n private fireAction(mode?: { key: KeyCode; value: SelectAction }, event?: Event): boolean {\n if (!isPresent(mode)) {\n return true;\n }\n this.actions$.next(mode.value);\n return stopPropagation(event);\n }\n}\n","
\n {{\n 'ancillaries.journey'\n | finLocalization\n : {\n journeyNumber: activeBoundIndex + 1,\n from: locations[boundsOrFlights[activeBoundIndex].departure.locationCode].cityName,\n to: locations[boundsOrFlights[activeBoundIndex].arrival.locationCode].cityName,\n }\n }}\n
\n \n \n
\n\n
\n 1\"\n class=\"flex--nogrow flex--self-start\"\n [title]=\"\n ($any(boundsOrFlights[activeBoundIndex]).itinerary ? 'actions.previousBound' : 'actions.previousFlight')\n | finLocalization\n \"\n (click)=\"onChangeFlightBound(activeBoundIndex - 1, -1)\"\n data-testid=\"service-selection-prev-segment\"\n >\n \n \n
\n \n
\n 1\"\n class=\"flex--nogrow flex--self-end\"\n [title]=\"\n ($any(boundsOrFlights[activeBoundIndex]).itinerary ? 'actions.nextBound' : 'actions.nextFlight')\n | finLocalization\n \"\n (click)=\"onChangeFlightBound(activeBoundIndex + 1, 1)\"\n data-testid=\"service-selection-next-segment\"\n >\n \n \n
\n
\n\n\n
\n
\n 1\"\n class=\"flex--nogrow\"\n [text]=\"'carousel.previous' | finLocalization\"\n [aria]=\"{\n label:\n ($any(boundsOrFlights[activeBoundIndex]).itinerary ? 'actions.previousBound' : 'actions.previousFlight')\n | finLocalization,\n }\"\n [theme]=\"ButtonTheme.LIGHT_SECONDARY_OUTLINE\"\n [disabled]=\"activeBoundIndex === 0\"\n data-testid=\"service-selection-prev-segment\"\n (clickBtn)=\"activeBoundIndex !== 0 && onChangeFlightBound(activeBoundIndex - 1, -1)\"\n >\n \n
\n \n {{ 'services.flight' | finLocalization }}\n {{ activeBoundIndex + 1 }} / {{ boundsOrFlights.length }}\n \n
\n 1\"\n class=\"flex--nogrow\"\n [text]=\"'carousel.next' | finLocalization\"\n [aria]=\"{\n label:\n ($any(boundsOrFlights[activeBoundIndex]).itinerary ? 'actions.nextBound' : 'actions.nextFlight')\n | finLocalization,\n }\"\n [theme]=\"ButtonTheme.LIGHT_SECONDARY_OUTLINE\"\n [disabled]=\"activeBoundIndex === boundsOrFlights.length - 1\"\n data-testid=\"service-selection-next-segment\"\n (clickBtn)=\"activeBoundIndex !== boundsOrFlights.length - 1 && onChangeFlightBound(activeBoundIndex + 1, 1)\"\n >\n \n
\n
\n\n","import { ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable } from 'rxjs';\n\nimport { BoundType, LocationInfoMap } from '@fcom/dapi';\nimport { FinnairBoundItem, FinnairItineraryItemFlight, FinnairPassengerItem } from '@fcom/dapi/api/models';\nimport { SelectionPhase } from '@fcom/common/interfaces/booking';\nimport { ButtonSize, ButtonTheme } from '@fcom/ui-components';\n\nimport { getTails, isByBusOnly } from '../../../../utils/common-booking.utils';\n\nconst MAX_EXEC_TIMES = 20;\n\n@Component({\n selector: 'fin-ancillary-flight-bound-selector',\n templateUrl: 'ancillary-flight-bound-selector.component.html',\n styleUrls: ['ancillary-flight-bound-selector.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AncillaryFlightBoundSelectorComponent implements OnInit {\n readonly BoundType = BoundType;\n readonly ButtonSize = ButtonSize;\n readonly ButtonTheme = ButtonTheme;\n readonly SelectionPhase = SelectionPhase;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input() showFlightCard$: Observable;\n\n @Input()\n boundsOrFlights: (FinnairBoundItem | FinnairItineraryItemFlight)[];\n\n @Input()\n activeBoundIndex = 0;\n\n @Input()\n locations: LocationInfoMap;\n\n @Input()\n passengers: FinnairPassengerItem[];\n\n @Input()\n focusOnDetails$: Observable;\n\n @Output()\n selectIndex: EventEmitter = new EventEmitter();\n\n @Output()\n viewDetails: EventEmitter = new EventEmitter();\n\n tails: { [boundOrFlightId: string]: string[] };\n isBusOnlyConnections: { [boundOrFlightId: string]: boolean };\n\n ngOnInit(): void {\n this.tails = this.boundsOrFlights.reduce((all, boundOrFlight) => {\n all[boundOrFlight.id] = getTails(boundOrFlight);\n return all;\n }, {});\n\n this.isBusOnlyConnections = this.boundsOrFlights.reduce((all, boundOrFlight) => {\n all[boundOrFlight.id] = isByBusOnly(boundOrFlight);\n return all;\n }, {});\n }\n\n onChangeFlightBound(index: number, addition: number, execTimes = 0): void {\n const indexToGo =\n index < 0 ? this.boundsOrFlights.length - 1 : index <= this.boundsOrFlights.length - 1 ? index : 0;\n const boundOrFlight = this.boundsOrFlights[indexToGo];\n if (boundOrFlight) {\n this.selectIndex.emit(indexToGo);\n return;\n }\n\n if (execTimes < MAX_EXEC_TIMES) {\n this.onChangeFlightBound(indexToGo + addition, addition, execTimes + 1);\n }\n }\n}\n","\n
\n

\n {{ 'feedback.multiCitySurveyTitle' | finLocalization }}\n

\n

\n \n {{ 'feedback.multiCitySurveyDescription' | finLocalization }}\n \n \n {{ 'feedback.multiCitySurveyLinkText' | finLocalization }}\n \n

\n
\n\n \n
\n","import { ChangeDetectionStrategy, Component, Input, OnDestroy, OnInit } from '@angular/core';\n\nimport { Store } from '@ngrx/store';\nimport { BehaviorSubject, map, Observable, of, startWith, Subscription, switchMap } from 'rxjs';\n\nimport { BookingAppState } from '@fcom/common/interfaces/booking';\nimport { QualtricsSurveys } from '@fcom/common/qualtrics/qualtrics.utils';\nimport { ConfigService, unsubscribe } from '@fcom/core/index';\nimport { orderData } from '@fcom/common-booking/store';\nimport { FinnairCart, FinnairOrder } from '@fcom/dapi/api/models';\nimport { CartState } from '@fcom/dapi';\nimport { finShare } from '@fcom/rx';\nimport { getProductTripTypeFromBoundsForGA4 } from '@fcom/common/utils/gtm.utils';\nimport { GA4TripType } from '@fcom/common/interfaces';\n\nimport { cartState } from '../../../../store/selectors';\n\n@Component({\n selector: 'fin-multi-city-survey',\n templateUrl: './multi-city-survey.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class MultiCitySurveyComponent implements OnInit, OnDestroy {\n @Input() alwaysRender = false;\n\n survey = QualtricsSurveys.MULTI_CITY;\n openSurvey = false;\n enableSurvey$ = new BehaviorSubject(false);\n cartOrOrder$: Observable;\n\n private subscriptions: Subscription = new Subscription();\n\n constructor(\n private configService: ConfigService,\n private store$: Store\n ) {}\n\n ngOnInit(): void {\n const cartState$ = this.store$.pipe(cartState(), startWith(null), finShare());\n const order$ = this.store$.pipe(orderData(), startWith(null), finShare());\n\n this.cartOrOrder$ = order$.pipe(\n switchMap((order) => {\n return order ? of(order) : cartState$.pipe(map((state: CartState) => state?.cartData));\n })\n );\n\n this.checkIfSurveyShouldBeShown();\n }\n\n ngOnDestroy(): void {\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n checkIfSurveyShouldBeShown(): void {\n if (!this.configService.cfg.enableMultiCity) {\n return;\n }\n\n if (this.alwaysRender) {\n this.enableSurvey$.next(true);\n return;\n }\n\n this.subscriptions.add(\n this.cartOrOrder$.subscribe((cartOrOrder) => {\n if (!cartOrOrder) {\n this.enableSurvey$.next(false);\n return;\n }\n\n const tripType = getProductTripTypeFromBoundsForGA4(cartOrOrder?.bounds);\n\n this.enableSurvey$.next(tripType === GA4TripType.MULTICITY);\n })\n );\n }\n}\n","import { Component, ContentChildren, Input, QueryList, OnInit } from '@angular/core';\n\nimport { TabComponent } from './tab.component';\nimport { TabStateService } from './tab-state.service';\n\n@Component({\n selector: 'fin-tab-group',\n templateUrl: 'tab-group.component.html',\n providers: [TabStateService],\n})\nexport class TabGroupComponent implements OnInit {\n @Input()\n tabGroupId: string;\n\n @ContentChildren(TabComponent)\n tabs: QueryList;\n\n constructor(private service: TabStateService) {}\n\n ngOnInit(): void {\n this.service.init(this.tabGroupId);\n }\n}\n","\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { UiTranslateModule } from '@fcom/ui-translate';\nimport { ComponentsModule } from '@fcom/common/components/components.module';\nimport { PipesModule } from '@fcom/common/pipes/pipes.module';\n\nimport { SubviewComponent } from './subview.component';\n\n@NgModule({\n imports: [CommonModule, ComponentsModule, PipesModule, UiTranslateModule],\n declarations: [SubviewComponent],\n exports: [SubviewComponent],\n})\nexport class SubViewModule {}\n","import { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';\n\nimport { BehaviorSubject, Observable, of, Subscription } from 'rxjs';\nimport { take } from 'rxjs/operators';\nimport { Store } from '@ngrx/store';\n\nimport {\n FinnairCart,\n FinnairItineraryItemFlight,\n FinnairOrder,\n FinnairPassengerItem,\n FinnairServiceItem,\n} from '@fcom/dapi/api/models';\nimport { Amount, ServiceCatalogSelectionsForAllTravelers, TravelerService } from '@fcom/dapi/interfaces';\nimport { unsubscribe } from '@fcom/core/utils';\nimport { BookingAppState } from '@fcom/common/interfaces/booking';\n\nimport { EligibilitiesForFragments, FlightWithStreams, SeatChangeEvent } from '../../../interfaces';\nimport { seatSelections } from '../../../../../store';\nimport { servicesForFlightAndTravelerId } from '../../../utils';\nimport { AncillaryLoaderStatus } from '../../../enums';\n\n@Component({\n selector: 'fin-ancillary-seat-map',\n templateUrl: './ancillary-seat-map.component.html',\n})\nexport class AncillarySeatMapComponent implements OnInit, OnDestroy {\n @Input() flight: FlightWithStreams;\n @Input() cartOrOrder$: Observable;\n @Input() passengers$: Observable;\n @Input() seatSelections$: Observable;\n @Input() flightIsActive$: Observable;\n @Input() includedSeats: FinnairServiceItem | null;\n @Input() availability$: Observable = of({});\n @Input() canClearSeats = true;\n @Input() preSelectedPax$: Observable = of(undefined);\n @Input() ancillaryLoader$: BehaviorSubject;\n @Input() notEligibleWhenCheckInClosed = false;\n\n @Output() changeSeats: EventEmitter = new EventEmitter();\n @Output() subtotalChange: EventEmitter = new EventEmitter();\n @Output() retrySeatmap: EventEmitter = new EventEmitter();\n @Output() finishedReassigningSeats: EventEmitter = new EventEmitter();\n\n subscriptions = new Subscription();\n\n constructor(private store$: Store) {}\n\n seatSelected(e: SeatChangeEvent): void {\n this.changeSeats.emit(e);\n this.updateSubTotal();\n }\n\n updateSubTotal(): void {\n this.subscriptions.add(\n this.store$.pipe(seatSelections(), take(1)).subscribe((allSeatSelections) => {\n const priceAndCurrencyCode = (\n allSeatSelections && allSeatSelections[this.flight.id] ? allSeatSelections[this.flight.id] : []\n )\n .filter((seatSelection) => !this.isIncludedSeatSelection(this.includedSeats, this.flight.id, seatSelection))\n .filter((seatSelection) => seatSelection.variant && seatSelection.pricePerItem && !seatSelection.paid)\n .reduce(\n (combined, currentSeatSelection) => {\n return {\n price: combined.price + Number(currentSeatSelection.pricePerItem.amount ?? 0),\n currencyCode: combined.currencyCode ?? currentSeatSelection.pricePerItem.currencyCode,\n };\n },\n { price: 0, currencyCode: undefined }\n );\n\n this.subtotalChange.emit({\n amount: String(priceAndCurrencyCode?.price),\n currencyCode: priceAndCurrencyCode?.currencyCode,\n });\n })\n );\n }\n\n ngOnInit(): void {\n this.updateSubTotal();\n }\n\n ngOnDestroy(): void {\n unsubscribe(this.subscriptions);\n }\n\n private isIncludedSeatSelection(\n includedSeats: FinnairServiceItem | null,\n flightId: string,\n seatSelection: TravelerService\n ): boolean {\n return servicesForFlightAndTravelerId(includedSeats, flightId, seatSelection.travelerId).some(\n ({ seatNumber }) => seatNumber === seatSelection.variant\n );\n }\n\n emitFinishedReassigningSeats(): void {\n this.finishedReassigningSeats.emit();\n }\n}\n","\n\n","\n
\n {{ 'ancillaries.seats.usDotMessage' | finLocalization }}\n \n
\n\n \n \n
\n\n
\n
\n \n \n \n
\n
\n\n\n\n\n\n\n \n {{ 'price.continueButtonTotal' | finLocalization }}: \n {{ totalPrice$ | async | finPrice | finEmpty: '–' }}\n \n\n\n\n \n \n\n","import { Component, EventEmitter, Input, OnDestroy, OnInit, Output } from '@angular/core';\n\nimport { BehaviorSubject, combineLatest, Observable, of, ReplaySubject, Subscription } from 'rxjs';\nimport { map, take } from 'rxjs/operators';\nimport { Store } from '@ngrx/store';\n\nimport {\n Category,\n FinnairCart,\n FinnairItineraryItemFlight,\n FinnairOrder,\n FinnairPassengerItem,\n FinnairServiceItem,\n} from '@fcom/dapi/api/models';\nimport { ElementActions, ElementTypes, GtmPurchaseFlow, GtmTripType } from '@fcom/common/interfaces';\nimport { Amount, LocationInfoMap, ServiceCatalogSelectionsForAllTravelers } from '@fcom/dapi/interfaces';\nimport { unsubscribe } from '@fcom/core/utils';\nimport { ButtonPosition, ButtonTheme, ModalButtons } from '@fcom/ui-components';\nimport { BookingAppState } from '@fcom/common/interfaces/booking';\nimport { GtmService } from '@fcom/common/gtm';\nimport { finShare } from '@fcom/rx';\nimport { ConfigService } from '@fcom/core';\nimport { SeatMapStatus } from '@fcom/common/interfaces/seat-map.interface';\n\nimport { EligibilityWithCategory, FlightWithStreams, ItineraryModal, SeatChangeEvent } from '../../../interfaces';\nimport { SeatMapActions, seatSelections } from '../../../../../store';\nimport { calculateSubTotalPrice, getSeatMapFlightInfoFromCart } from '../../../utils';\nimport { getBoundDetailsModalData } from '../../../../../utils/ancillaries.utils';\nimport { AncillaryLoaderStatus } from '../../../enums';\n\n@Component({\n selector: 'fin-seat-pre-selection',\n templateUrl: './seat-pre-selection.component.html',\n styleUrls: ['./seat-pre-selection.component.scss'],\n})\nexport class SeatPreSelectionComponent implements OnInit, OnDestroy {\n readonly Category = Category;\n readonly ButtonTheme = ButtonTheme;\n readonly ButtonPosition = ButtonPosition;\n readonly ModalButtons = ModalButtons;\n readonly SeatMapStatus = SeatMapStatus;\n\n @Input() flights$: Observable;\n @Input() travelers$: Observable;\n @Input() tripType$: Observable;\n @Input() purchaseFlow$: Observable;\n @Input() locations: LocationInfoMap = {};\n @Input()\n flightAncillaryAvailability$: Observable<{ [fragmentId: string]: EligibilityWithCategory[] }>;\n @Input() cartOrOrder$: Observable;\n @Input()\n passengersWithPetcIncompatibleSeats$: Observable<{ [boundId: string]: string[] }> = of({});\n @Input() seatSelections$: Observable;\n @Input() combinedSeats: FinnairServiceItem | null;\n @Input() cartTotalPrice$: Observable;\n @Input() selectionLoading$: Observable;\n\n @Output() preSelectClosed = new EventEmitter();\n @Output() flightSelected = new EventEmitter();\n @Output() seatChanged = new EventEmitter();\n\n slideIndex$ = new BehaviorSubject(0);\n isSideBarOpen = false;\n itineraryModalClosed$: EventEmitter = new EventEmitter();\n subTotalPrice$: Observable;\n hasSelections$: Observable;\n totalPrice$: Observable;\n subscriptions: Subscription = new Subscription();\n itineraryModal: ItineraryModal = {\n open: false,\n data: null,\n };\n translationKey$: BehaviorSubject<{ key?: string; params?: Record }> = new BehaviorSubject(\n {}\n );\n passengers$: Observable;\n showFlightCard$: Observable = of(true);\n ancillaryLoader$: BehaviorSubject = new BehaviorSubject(AncillaryLoaderStatus.OFF);\n seatMapPreloadingEnabled = false;\n private subtotalPriceSub$: ReplaySubject = new ReplaySubject<\n Amount & { category: Category; fragmentId: string }\n >(1);\n\n constructor(\n private store$: Store,\n private gtmService: GtmService,\n private configService: ConfigService\n ) {}\n\n ngOnInit(): void {\n this.seatMapPreloadingEnabled = this.configService.cfg.enableBookingFlowSeatMapPreFetch;\n this.passengers$ = this.cartOrOrder$.pipe(map((cartOrOrder) => cartOrOrder.passengers));\n\n this.subTotalPrice$ = calculateSubTotalPrice(this.subtotalPriceSub$, of(Category.SEAT));\n\n this.totalPrice$ = combineLatest([this.cartTotalPrice$, this.subTotalPrice$]).pipe(\n map(([totalPrice, subTotalPrice]) => ({\n amount: String(Number(totalPrice.amount) + Number(subTotalPrice.amount)),\n currencyCode: totalPrice.currencyCode,\n }))\n );\n\n this.hasSelections$ = this.seatSelections$.pipe(\n map((selections) => Object.values(selections).some((selection) => selection.some((s) => s.seatNumber))),\n finShare()\n );\n\n this.subscriptions.add(\n combineLatest([this.slideIndex$, this.flights$])\n .pipe(\n map(([slideIndex, flights]) => {\n return flights[slideIndex];\n })\n )\n .subscribe((currentFlight) => {\n this.isSideBarOpen = false;\n this.flightSelected.emit(currentFlight);\n this.updateSubTotal(currentFlight.id);\n })\n );\n\n this.subscriptions.add(\n combineLatest([this.slideIndex$, this.flights$, this.hasSelections$]).subscribe(\n ([slideIndex, flights, hasSelections]) => {\n const isLast = slideIndex === flights.length - 1;\n\n this.setTitle(isLast, hasSelections);\n }\n )\n );\n }\n\n subTotalChange(amount: Amount, fragmentId: string): void {\n this.subtotalPriceSub$.next({ ...amount, fragmentId, category: Category.SEAT });\n }\n\n continue(): void {\n this.subscriptions.add(\n combineLatest([this.slideIndex$, this.flights$, this.hasSelections$])\n .pipe(take(1))\n .subscribe(([slideIndex, flights, hasSelections]) => {\n const isLast = slideIndex === flights.length - 1;\n\n if (hasSelections) {\n this.trackEvent('continue-selection');\n }\n\n if (!isLast) {\n this.slideIndex$.next(slideIndex + 1);\n } else if (hasSelections) {\n this.isSideBarOpen = true;\n } else {\n this.confirmSelection();\n }\n })\n );\n }\n\n confirmSelection(): void {\n this.trackEvent('confirm-selection');\n this.isSideBarOpen = false;\n // setTimeout so that sidebar is closed properly before this component is destroyed\n setTimeout(() => {\n this.preSelectClosed.emit(true);\n });\n }\n\n skipSeatSelection(trackElementState: string): void {\n this.trackEvent(`skip-selection-${trackElementState}`, trackElementState);\n // Clear cart only if user has made seat selection to avoid unnecessary back-end calls\n this.subscriptions.add(\n this.hasSelections$.pipe(take(1)).subscribe((hasSelections) => {\n if (hasSelections) {\n this.store$.dispatch(SeatMapActions.clearSelections());\n }\n this.preSelectClosed.emit(hasSelections);\n })\n );\n }\n\n changeSeats(e: SeatChangeEvent): void {\n this.seatChanged.emit(e);\n this.updateSubTotal(e.flightId);\n }\n\n setTitle(isLast: boolean, hasSelections: boolean): void {\n if (hasSelections) {\n if (isLast) {\n this.translationKey$.next({ key: 'actions.next' });\n } else {\n this.translationKey$.next({ key: 'ancillaries.seats.continueToFlight' });\n }\n } else if (isLast) {\n this.translationKey$.next({ key: 'ancillaries.seats.skipSeatSelection' });\n } else {\n this.translationKey$.next({ key: 'ancillaries.seats.skipFlight' });\n }\n }\n\n viewDetails(): void {\n this.itineraryModal = getBoundDetailsModalData(this.cartOrOrder$, this.slideIndex$);\n }\n\n ngOnDestroy(): void {\n unsubscribe(this.subscriptions);\n }\n\n updateSubTotal(flightId: string): void {\n this.subscriptions.add(\n this.store$.pipe(seatSelections(), take(1)).subscribe((allSeatSelections) => {\n const priceAndCurrencyCode = (\n allSeatSelections && allSeatSelections[flightId] ? allSeatSelections[flightId] : []\n )\n .filter((seatSelection) => seatSelection.variant && seatSelection.pricePerItem && !seatSelection.paid)\n .reduce(\n (combined, currentSeatSelection) => {\n return {\n price: combined.price + Number(currentSeatSelection.pricePerItem.amount ?? 0),\n currencyCode: combined.currencyCode ?? currentSeatSelection.pricePerItem.currencyCode,\n };\n },\n { price: 0, currencyCode: undefined }\n );\n\n const amount = {\n amount: String(priceAndCurrencyCode?.price),\n currencyCode: priceAndCurrencyCode?.currencyCode,\n };\n\n this.subtotalPriceSub$.next({ ...amount, fragmentId: flightId, category: Category.SEAT });\n })\n );\n }\n\n private trackEvent(elementName: string, state?: string): void {\n this.subscriptions.add(\n this.cartOrOrder$.pipe(take(1)).subscribe((cart) => {\n this.gtmService.seatMapEvent(elementName, ElementTypes.BUTTON, state, ElementActions.CLICK, {\n flightInfo: getSeatMapFlightInfoFromCart(cart),\n });\n })\n );\n }\n\n /**\n * This is a performance improvement and stops child components being destroyed and recreated when the flights array changes.\n */\n flightsTrackBy(_index: number, flight: FlightWithStreams): string {\n return flight.id;\n }\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { IconsModule } from '@fcom/ui-components';\nimport { PipesModule } from '@fcom/common/pipes/pipes.module';\nimport { ComponentsModule } from '@fcom/common/components/components.module';\n\nimport { TabGroupComponent } from './tab-group.component';\nimport { TabHeaderComponent } from './tab-header.component';\nimport { TabLabelComponent } from './tab-label.component';\nimport { TabComponent } from './tab.component';\n\n// Missing stuff that could be handy at some point:\n// - disabled tabs\n// - vertical layout\n// - custom tab styling\n\nconst COMPONENTS = [TabHeaderComponent, TabLabelComponent, TabGroupComponent, TabComponent];\n\n@NgModule({\n imports: [CommonModule, ComponentsModule, PipesModule, IconsModule],\n declarations: [...COMPONENTS],\n exports: [...COMPONENTS],\n})\nexport class TabsModule {}\n","\n \n \n
\n
\n
\n \n
\n
\n
\n
\n
\n","import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\n\nimport { Observable } from 'rxjs';\n\nimport { CmsArticle } from '@fcom/core-api/';\nimport { FragmentService } from '@fcom/common/services';\n\n@Component({\n selector: 'fin-trip-message',\n templateUrl: './trip-message.component.html',\n styleUrls: ['./trip-message.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TripMessageComponent implements OnInit {\n @Input() fragmentKey: string;\n\n tripMessage$: Observable;\n\n constructor(private fragmentService: FragmentService) {}\n\n ngOnInit(): void {\n this.tripMessage$ = this.fragmentService.getFragment(this.fragmentKey);\n }\n}\n","\n \n \n \n\n \n \n \n {{ 'ancillaries.baggage.sportEquipmentNotIncluded' | finLocalization }}\n \n \n \n {{ notification.key | finLocalization }}\n \n \n {{ notification.reason.key | finLocalization: notification.reason.data }}\n \n \n\n \n \n\n \n \n \n \n\n
\n \n \n \n \n\n
0\" class=\"pr-small-x\">\n
1\">\n \n \n
\n \n \n {{\n filter === 'none'\n ? ('ancillaries.show.specialDiet' | finLocalization)\n : ('ancillaries.hide.specialDiet' | finLocalization)\n }}\n \n
\n
\n
\n
\n \n {{ 'ancillaries.noServicesForPax' | finLocalization }}\n \n\n \n \n \n \n \n
\n \n \n \n \n
\n

\n {{ service.translations.title }}\n

\n
\n @if (service.originalPrice) {\n \n {{\n service.originalPrice\n | finPrice\n : {\n roundPrice:\n service.originalPrice && service.originalPrice.amount === '0',\n }\n }}\n \n }\n \n {{\n service.totalPrice\n | finPrice\n : { roundPrice: service.totalPrice && service.totalPrice.amount === '0' }\n }}\n \n
\n\n @if (service.originalPrice) {\n \n \n {{ 'campaign.badge' | finLocalization }}\n \n }\n
\n\n
\n
\n
\n
\n \n \n \n \n \n \n
\n
\n \n\n \n {{ CONFIG[category].toppedQuotaKey | finLocalization }}\n \n \n {{ CONFIG[category].noQuotaLeftKey | finLocalization }}\n \n \n \n \n {{ 'ancillaries.quota.paxQuotaReached' | finLocalization }}\n \n 0 &&\n (service.totalPrice?.amount !== '0' || service.subCategory !== SubCategory.SPECIAL_DIET) &&\n service.inputType !== 'number'\n \"\n [attr.data-testid]=\"'service-notification-paid-' + service.globalId\"\n >\n {{ CONFIG[category]?.alreadyPurchased | finLocalization }}\n \n \n {{ CONFIG[category].blockSelectionNotification | finLocalization }}\n \n \n \n {{ CONFIG[category].quotaLimitKey | finLocalization: { quota: quota.count } }}\n \n \n \n \n \n \n \n \n \n
\n
\n \n \n \n \n \n \n \n\n \n
\n \n {{\n notification.key | finLocalization\n }}\n \n {{ notification.reason.key | finLocalization: notification.reason.data }}\n \n \n\n \n {{ 'services.cannotAdd' | finLocalization }}\n \n
\n \n\n\n\n
\n \n
\n
\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n EventEmitter,\n Input,\n OnDestroy,\n OnInit,\n Output,\n} from '@angular/core';\nimport { FormBuilder, FormControl, FormGroup } from '@angular/forms';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { BehaviorSubject, combineLatest, Observable, of, Subscription } from 'rxjs';\nimport { distinctUntilChanged, filter, map, startWith, switchMap, take, withLatestFrom } from 'rxjs/operators';\nimport { Store } from '@ngrx/store';\n\nimport {\n isEmptyObjectOrHasEmptyValues,\n isNotEmpty,\n PreciseNumber,\n toBoolean,\n unique,\n unsubscribe,\n} from '@fcom/core/utils';\nimport { finShare, snapshot } from '@fcom/rx';\nimport {\n Amount,\n GroupedServices,\n NO_VARIANTS,\n SelectionsPerTraveler,\n ServiceCatalogService,\n ServicePassenger,\n ServicesPerTraveler,\n TravelerService,\n} from '@fcom/dapi/interfaces';\nimport {\n Category,\n FinnairBoundItem,\n FinnairItineraryItemFlight,\n FinnairPassengerItem,\n FinnairPassengerServiceSelectionItem,\n FinnairServiceItem,\n PaxLevelQuota,\n SubCategory,\n} from '@fcom/dapi/api/models';\nimport { LoaderType } from '@fcom/common/interfaces';\nimport {\n AspectRatios,\n ButtonMode,\n ButtonTheme,\n IconPosition,\n ModalButtons,\n NotificationTheme,\n TagTheme,\n} from '@fcom/ui-components';\nimport { BookingAppState } from '@fcom/common/interfaces/booking';\nimport { NON_SCHENGEN_LOUNGES } from '@fcom/booking/utils';\nimport { MediaQueryService, ToasterService } from '@fcom/common/services';\nimport { LanguageService } from '@fcom/ui-translate';\n\nimport {\n findServiceItemsForPassengerForFragment,\n getFilteredTravelers$,\n getPassengerTierLevel,\n getServicesNotifications,\n sumOfPricesForTravelersServiceSelection,\n} from '../../utils';\nimport { QuantityForFragmentAndPassenger, ServicesActions, serviceSelectionsForFragment } from '../../../../store';\nimport {\n ConfirmModal,\n ConfirmModalData,\n EligibilitiesForFragments,\n ExtendedService,\n Notification,\n ProductInputType,\n QuotaType,\n} from '../../interfaces';\nimport { asTravelerService } from '../../../../store/utils/services.utils';\nimport { getGroupedServices } from '../../../../utils/common-booking.utils';\n\nexport enum SelectionState {\n LOADING,\n HAS_SERVICES,\n NO_SERVICES,\n}\n\nexport interface ConfirmModalTranslationKeys {\n title: string;\n firstContentParagraph: string;\n secondContentParagraph: string;\n closeButton: string;\n continueButton: string;\n}\n\ntype TravelerServices = {\n traveler: ServicePassenger;\n services: ExtendedService[];\n selectedServices$: Observable;\n hasServiceSelected$: Observable;\n additionalInfoBlockUrl: string | undefined;\n filters: SubCategoryFilter[];\n selectedFilter$: BehaviorSubject;\n combinedGroupedServices: GroupedServices[];\n};\n\ninterface ProductConfig {\n notSelectedVariant?: string;\n selectServiceKey: string;\n toppedQuotaKey?: string;\n quotaLimitKey?: string;\n noQuotaLeftKey?: string;\n blockSelectionNotification?: string;\n alreadyPurchased: string;\n}\n\nconst CONFIG: Record = {\n [Category.WIFI]: {\n notSelectedVariant: '',\n selectServiceKey: 'ancillaries.wifi.selectWifi',\n alreadyPurchased: 'ancillaries.wifi.alreadyPurchased',\n },\n [Category.MEAL]: {\n notSelectedVariant: '',\n selectServiceKey: 'ancillaries.selectMeals',\n alreadyPurchased: 'ancillaries.meals.alreadyPurchased',\n },\n [Category.LOUNGE]: {\n selectServiceKey: 'ancillaries.selectLounge',\n alreadyPurchased: 'ancillaries.lounge.alreadyPurchased',\n },\n [Category.SPORT]: {\n selectServiceKey: 'ancillaries.selectSport',\n alreadyPurchased: 'ancillaries.sport.alreadyPurchased',\n },\n [Category.CABIN_BAGGAGE]: {\n selectServiceKey: 'ancillaries.cabinBaggage.title',\n alreadyPurchased: 'ancillaries.cabinBaggage.alreadyPurchased',\n },\n [Category.BAGGAGE]: {\n selectServiceKey: 'ancillaries.bags.extraTitle',\n alreadyPurchased: 'ancillaries.bags.alreadyPurchased',\n },\n [Category.PET]: {\n selectServiceKey: 'ancillaries.selectPet',\n quotaLimitKey: 'ancillaries.pet.quota.quotaLimit',\n toppedQuotaKey: 'ancillaries.pet.quota.toppedQuota',\n noQuotaLeftKey: 'ancillaries.pet.quota.noQuotaLeft',\n blockSelectionNotification: 'ancillaries.pet.hasIncompatibleSeat',\n alreadyPurchased: 'ancillaries.pet.alreadyPurchased',\n },\n};\n\ntype SelectionWithCategoryAndFragment = [\n SelectionsPerTraveler,\n Category,\n FinnairItineraryItemFlight | FinnairBoundItem,\n];\n\ninterface TravelerSelections {\n [variantOrRadio: string]: string | boolean | number;\n}\ntype TravelerForm = FormGroup<{ [variantOrRadio: string]: FormControl }>;\n\ntype SubCategoryFilter = SubCategory | 'all' | 'none';\n\nconst COMMON_TOASTER_ID = 'COMMON-TOASTER-ID';\n\n@Component({\n selector: 'fin-common-product-selection',\n templateUrl: 'common-product-selection.component.html',\n styleUrls: ['common-product-selection.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CommonProductSelectionComponent implements OnInit, OnDestroy {\n readonly ButtonMode = ButtonMode;\n readonly ButtonTheme = ButtonTheme;\n readonly Category = Category;\n readonly CONFIG = CONFIG;\n readonly IconPosition = IconPosition;\n readonly LoaderType = LoaderType;\n readonly ModalButtons = ModalButtons;\n readonly NotificationTheme = NotificationTheme;\n readonly QuotaType = QuotaType;\n readonly SelectionState = SelectionState;\n readonly SubCategory = SubCategory;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n readonly TagTheme = TagTheme;\n\n @Input()\n servicesReady$: Observable;\n\n @Input()\n category$: Observable;\n\n @Input()\n flightOrBound$: Observable;\n\n @Input()\n services$: Observable;\n\n @Input()\n includedServices$: Observable = of(null);\n\n @Input()\n combinedServices$: Observable = of(null);\n\n @Input()\n travelers$: Observable;\n\n @Input()\n initialSelectedTravelerId$: Observable = of(undefined);\n\n @Input()\n showConfirmationModalBeforeSelectionForPassengers$: Observable = of([]);\n\n @Input()\n blockSelectionNotification$: Observable = of([]);\n\n @Input()\n confirmModalData$: BehaviorSubject = new BehaviorSubject({ open: false });\n\n @Input()\n availability$: Observable = of({});\n\n @Input()\n serviceQuantityMap$: Observable = of({});\n\n @Input()\n paxLevelQuota$: Observable = of({ combinedQuota: 0, variants: [] });\n\n @Output()\n subtotalChange: EventEmitter = new EventEmitter();\n\n @Output()\n modalConfirmed: EventEmitter = new EventEmitter();\n\n form: FormGroup<{ [travelerId: string]: TravelerForm }>;\n state$: Observable;\n additionalText: string | undefined;\n travelersAndServices$: Observable;\n initialTravelerIdSelected$: Observable;\n serviceTabGroupId: string;\n notifications$: Observable;\n showSportNotification$: Observable;\n blockingNotifications$: Observable;\n aspectRatio$: Observable;\n isTabletDown$: Observable;\n flightOrBound: FinnairItineraryItemFlight | FinnairBoundItem;\n category: Category;\n\n private subscriptions: Subscription = new Subscription();\n\n constructor(\n private store$: Store,\n private fb: FormBuilder,\n private mediaQueryService: MediaQueryService,\n private languageService: LanguageService,\n private toasterService: ToasterService,\n private cdr: ChangeDetectorRef\n ) {}\n\n ngOnInit(): void {\n this.form = new FormGroup({});\n\n this.isTabletDown$ = this.mediaQueryService.isBreakpoint$('tablet_down');\n this.aspectRatio$ = this.isTabletDown$.pipe(map((isTabletDown) => (isTabletDown ? '21x9' : '1x1')));\n\n const baseStream$ = combineLatest([this.category$, this.flightOrBound$]).pipe(\n distinctUntilChanged((a, b) => a[0] === b[0] && a[1].id === b[1].id)\n );\n this.subscriptions.add(\n baseStream$.subscribe(([category, flightOrBound]) => {\n this.category = category;\n this.flightOrBound = flightOrBound;\n this.serviceTabGroupId = `${category}-${flightOrBound.id}-travelers`;\n this.additionalText = this.getAdditionalText(category, flightOrBound);\n this.cdr.markForCheck();\n })\n );\n\n const filteredTravelers$: Observable = getFilteredTravelers$(this.travelers$);\n\n this.setupForm(baseStream$, filteredTravelers$);\n this.setupTravelersAndServices(baseStream$, filteredTravelers$);\n\n this.state$ = combineLatest([\n this.servicesReady$.pipe(startWith(false)),\n this.travelersAndServices$.pipe(map(isNotEmpty), startWith(false)),\n ]).pipe(\n map(([servicesReady, hasServices]: [boolean, boolean]) => {\n if (!servicesReady) {\n return SelectionState.LOADING;\n }\n if (hasServices) {\n return SelectionState.HAS_SERVICES;\n }\n return SelectionState.NO_SERVICES;\n }),\n distinctUntilChanged(),\n finShare()\n );\n\n // == Tabs ==\n this.initialTravelerIdSelected$ = combineLatest([this.travelersAndServices$, this.initialSelectedTravelerId$]).pipe(\n map(([travelersWithServices, initialTravelerId]) => initialTravelerId ?? travelersWithServices[0]?.traveler.id)\n );\n\n this.notifications$ = combineLatest([this.services$, this.availability$, this.category$, this.flightOrBound$]).pipe(\n map(([services, availability, category, flightOrBound]) =>\n getServicesNotifications(services, availability, category, flightOrBound)\n ),\n finShare()\n );\n\n this.blockingNotifications$ = this.notifications$.pipe(\n map((notifications) => notifications.filter((n) => n.blockSelection))\n );\n\n this.showSportNotification$ = this.category$.pipe(\n map((category) => {\n return category === Category.BAGGAGE;\n })\n );\n }\n\n ngOnDestroy(): void {\n this.toasterService.removeMessage(COMMON_TOASTER_ID);\n this.subscriptions = unsubscribe(this.subscriptions);\n }\n\n clickInput(event: Event, service: ExtendedService, flightOrBoundId: string, travelerId: string): void {\n if (service.useConfirmModal) {\n event.preventDefault();\n this.modalConfirmed.emit({\n variant: service.variant,\n flightOrBoundId: flightOrBoundId,\n travelerId: travelerId,\n });\n }\n }\n\n addQuantity(service: ExtendedService, flightOrBoundId: string, travelerId: string): void {\n const currentValue = +this.form.controls[travelerId]?.controls[service.variant].value;\n const quantity = currentValue + 1;\n\n if (service.useConfirmModal) {\n this.modalConfirmed.emit({\n variant: service.variant,\n quantity,\n flightOrBoundId: flightOrBoundId,\n travelerId: travelerId,\n });\n } else {\n this.form.controls[travelerId]?.controls[service.variant]?.setValue(quantity);\n }\n }\n\n removeQuantity(service: ExtendedService, flightOrBoundId: string, travelerId: string): void {\n const currentValue = +this.form.controls[travelerId]?.controls[service.variant].value;\n const quantity = currentValue - 1;\n\n if (service.useConfirmModal) {\n this.modalConfirmed.emit({\n variant: service.variant,\n quantity,\n flightOrBoundId: flightOrBoundId,\n travelerId: travelerId,\n });\n } else {\n this.form.controls[travelerId]?.controls[service.variant]?.setValue(quantity);\n }\n }\n\n private getAdditionalInfoBlock(services: ExtendedService[], category: Category): string | undefined {\n if (category === Category.LOUNGE) {\n return services.filter((service) => NON_SCHENGEN_LOUNGES.includes(service.variant))?.length > 0\n ? 'fragments.nonSchengenLoungeContent.url'\n : 'fragments.schengenLoungeContent.url';\n }\n return `fragments.services.productInfo.${category}.url`;\n }\n\n private getAdditionalText(\n category: Category,\n flightOrBound: FinnairItineraryItemFlight | FinnairBoundItem\n ): string | undefined {\n if (category === Category.WIFI) {\n if ((flightOrBound as FinnairItineraryItemFlight).isShortHaul) {\n return 'ancillaries.wifi.shorthaulAdditionalInformation';\n }\n return 'ancillaries.wifi.additionalInformation';\n }\n return undefined;\n }\n\n private setupForm(\n baseStream$: Observable<[Category, FinnairItineraryItemFlight | FinnairBoundItem]>,\n filteredTravelers$: Observable\n ): void {\n this.subscriptions.add(\n this.confirmModalData$\n .pipe(\n withLatestFrom(this.flightOrBound$),\n filter(\n ([data, flightOrBound]) =>\n data.confirmData?.variant &&\n data.confirmData?.travelerId &&\n flightOrBound.id === data.confirmData?.flightOrBoundId &&\n !data.open\n )\n )\n .subscribe(([{ confirmData }]) => {\n if (this.form.controls[confirmData.travelerId].controls['radio']) {\n this.form.controls[confirmData.travelerId].controls['radio'].setValue(confirmData.variant);\n } else if (confirmData.quantity) {\n this.form.controls[confirmData.travelerId].controls[confirmData.variant].setValue(confirmData.quantity);\n } else {\n this.form.controls[confirmData.travelerId].controls[confirmData.variant].setValue(true);\n }\n })\n );\n\n this.subscriptions.add(\n baseStream$\n .pipe(\n switchMap(([category, flightOrBound]) => {\n return combineLatest([\n of(category),\n this.store$.pipe(\n serviceSelectionsForFragment(flightOrBound.id, category)\n ),\n filteredTravelers$.pipe(\n map((travelers) => travelers.map((traveler) => traveler.id)),\n distinctUntilChanged()\n ),\n this.services$,\n this.includedServices$,\n ]).pipe(take(1));\n })\n )\n .subscribe(([category, initialSelections, travelerIds, services, includedServices]) => {\n travelerIds.forEach((travelerId: string) => {\n this.form.removeControl(travelerId, { emitEvent: false });\n const initialServices: TravelerService[] = [].concat(initialSelections?.[travelerId] ?? []);\n const travelerForm: TravelerForm = this.fb.group({});\n if (this.isRadioDisplay()) {\n const includedServicesForTravelerAndFragment = findServiceItemsForPassengerForFragment(\n this.category,\n includedServices,\n travelerId,\n this.flightOrBound.id\n );\n travelerForm.registerControl(\n 'radio',\n this.fb.control(\n includedServicesForTravelerAndFragment?.[0]?.variant ||\n initialServices?.[0]?.variant ||\n CONFIG[category]?.notSelectedVariant\n )\n );\n } else {\n const allServices = services?.[travelerId]?.filter((s) => s.isService) ?? [];\n allServices.forEach((is) => {\n const initialSelection = initialServices.find((s) => s.variant === is.variant);\n const initialQuantityOrBoolean =\n is.maxNumberItems > 1 ? (initialSelection?.quantity ?? 0) : !!initialSelection;\n travelerForm.registerControl(is.variant, this.fb.control(initialQuantityOrBoolean));\n });\n }\n this.form.registerControl(travelerId, travelerForm);\n });\n this.subtotalChange.emit(sumOfPricesForTravelersServiceSelection(initialSelections ?? {}));\n })\n );\n\n const selections$ = this.form.valueChanges.pipe(\n filter((model) => !isEmptyObjectOrHasEmptyValues(model)),\n withLatestFrom(this.services$),\n map(([model, services]) => {\n return Object.keys(model).reduce((selections: SelectionsPerTraveler, travelerId: string) => {\n const servicesForTraveler = services[travelerId] ?? [];\n\n const travelerSelections = servicesForTraveler\n .filter((sm: ServiceCatalogService) => {\n if (sm.maxNumberItems > 1) {\n return Number(model[travelerId][sm.variant]) > 0;\n }\n return toBoolean(model[travelerId][sm.variant]) || model[travelerId]['radio'] === sm.variant;\n })\n .map((s) => {\n if (!s.isService) {\n return undefined;\n }\n const quantity = model[travelerId][s.variant];\n return asTravelerService(s, typeof quantity === 'number' ? quantity : 1);\n });\n\n selections[travelerId] = travelerSelections;\n return selections;\n }, {});\n })\n );\n\n this.subscriptions.add(\n baseStream$\n .pipe(\n switchMap(([category, flightOrBound]) =>\n selections$.pipe(\n map((selections) => [selections, category, flightOrBound] as SelectionWithCategoryAndFragment)\n )\n ),\n withLatestFrom(this.includedServices$)\n )\n .subscribe(([[selections, category, flightOrBound], includedServices]) => {\n const selectionsToStore = this.isRadioDisplay(category)\n ? Object.entries(selections).reduce((selectionsPerTraveler, [traveledId, selectionsForFragment]) => {\n const servicesForFragments = findServiceItemsForPassengerForFragment(\n category,\n includedServices,\n traveledId,\n flightOrBound.id\n );\n\n selectionsPerTraveler[traveledId] = selectionsForFragment.filter((selection) => {\n return !servicesForFragments.some(\n ({ variant, modifiable }) => !modifiable && variant === selection.variant\n );\n });\n\n return selectionsPerTraveler;\n }, {})\n : selections;\n\n this.checkAndQueueToasterNotification(category, selectionsToStore);\n\n this.store$.dispatch(\n ServicesActions.setSelectionsForFragment({\n category: category,\n fragmentId: flightOrBound.id,\n selections: selectionsToStore,\n })\n );\n this.subtotalChange.emit(sumOfPricesForTravelersServiceSelection(selectionsToStore));\n })\n );\n }\n\n private checkAndQueueToasterNotification(\n category: Category,\n selections: SelectionsPerTraveler\n ): void {\n if (category !== Category.MEAL) {\n return;\n }\n\n const nextHasSpecialDiet: Record = Object.entries(selections).reduce(\n (all, [key, selectionsForTraveler]) => {\n all[key] = selectionsForTraveler.some((v) => v.category === SubCategory.SPECIAL_DIET);\n return all;\n },\n {}\n );\n const currentSelection: SelectionsPerTraveler = snapshot(\n this.store$.pipe(serviceSelectionsForFragment(this.flightOrBound.id, this.category))\n );\n const currentHasSpecialDiet: Record = Object.entries(currentSelection).reduce(\n (all, [key, travelerSelection]: [string, TravelerService | TravelerService[]]) => {\n const selectionsForTraveler = Array.isArray(travelerSelection) ? travelerSelection : [travelerSelection];\n all[key] = selectionsForTraveler.some((v) => v.category === SubCategory.SPECIAL_DIET);\n return all;\n },\n {}\n );\n\n const showSpecialDietSelected = Object.entries(nextHasSpecialDiet).some(\n ([key, value]) => value && !currentHasSpecialDiet[key]\n );\n const showSpecialDietUnselected = Object.entries(currentHasSpecialDiet).some(\n ([key, value]) => value && !nextHasSpecialDiet[key]\n );\n\n if (showSpecialDietSelected) {\n this.toasterService.addMessageToQueue({\n id: COMMON_TOASTER_ID,\n contentKey: 'ancillaries.specialDiet.toastMessages.selectedSpecialMeal',\n });\n }\n\n if (showSpecialDietUnselected) {\n this.toasterService.addMessageToQueue({\n id: COMMON_TOASTER_ID,\n contentKey: 'ancillaries.specialDiet.toastMessages.unSelectedSpecialMeal',\n });\n }\n }\n\n private isRadioDisplay(category: Category = this.category): boolean {\n return [Category.WIFI, Category.MEAL].includes(category);\n }\n\n private setupTravelersAndServices(\n baseStream$: Observable<[Category, FinnairItineraryItemFlight | FinnairBoundItem]>,\n filteredTravelers$: Observable\n ): void {\n const selectionsForFragmentAndCategory$ = baseStream$.pipe(\n switchMap(([category, flightOrBound]) => {\n return this.store$.pipe(serviceSelectionsForFragment(flightOrBound.id, category));\n })\n );\n\n const originalQuota = Object.values(snapshot(selectionsForFragmentAndCategory$) ?? {}).filter((item) =>\n Array.isArray(item) ? item.length > 0 : !!item\n ).length;\n\n this.travelersAndServices$ = combineLatest([\n this.services$,\n filteredTravelers$,\n this.includedServices$,\n this.combinedServices$,\n this.showConfirmationModalBeforeSelectionForPassengers$,\n this.blockSelectionNotification$,\n this.travelers$,\n baseStream$,\n ]).pipe(\n map(\n ([\n services,\n travelers,\n includedServices,\n combinedServices,\n showConfirmationModalBeforeSelectionForPassengers,\n blockSelectionNotification,\n finnairPassengers,\n [category, flightOrBound],\n ]) => {\n if (Object.values(services ?? {}).length === 0) {\n return [];\n }\n\n return travelers.map((traveler: ServicePassenger) => {\n const selection$: Observable = this.form.controls[traveler.id]?.valueChanges.pipe(\n startWith(this.form.controls[traveler.id].getRawValue()),\n finShare()\n );\n\n const includedServicesForTravelerAndFragment = findServiceItemsForPassengerForFragment(\n category,\n includedServices,\n traveler.id,\n flightOrBound.id\n );\n\n const combinedGroupedServices = getGroupedServices(\n findServiceItemsForPassengerForFragment(\n this.category,\n combinedServices,\n traveler.id,\n this.flightOrBound.id,\n false\n ),\n getPassengerTierLevel(traveler.id, finnairPassengers)\n );\n\n const servicesToDisplay =\n includedServicesForTravelerAndFragment.length > 0 && this.isRadioDisplay()\n ? (services?.[traveler.id] ?? []).filter(\n (s) =>\n !!includedServicesForTravelerAndFragment.find(({ variant, totalPrice, subCategory }) => {\n return (\n variant === s.variant ||\n (totalPrice?.amount === '0' && subCategory === SubCategory.SPECIAL_DIET)\n );\n })\n )\n : (services?.[traveler.id] ?? []);\n\n const extendedServices = this.getExtendedServices(\n traveler,\n servicesToDisplay,\n selection$,\n originalQuota,\n showConfirmationModalBeforeSelectionForPassengers,\n blockSelectionNotification,\n selectionsForFragmentAndCategory$,\n includedServicesForTravelerAndFragment,\n category,\n flightOrBound\n );\n\n const selectedServices$: Observable = this.getSelectedServices(\n selection$,\n extendedServices\n );\n\n const filters = this.getFilters(extendedServices);\n const selectedFilter$ = new BehaviorSubject(\n filters.length === 0 ? 'all' : filters.length > 1 ? filters[0] : 'none'\n );\n\n return {\n traveler,\n filters,\n selectedFilter$,\n combinedGroupedServices,\n services: extendedServices,\n selectedServices$,\n hasServiceSelected$: this.getHasServiceSelected(\n selection$,\n includedServicesForTravelerAndFragment,\n category\n ),\n additionalInfoBlockUrl: this.getAdditionalInfoBlock(extendedServices, category),\n } as TravelerServices;\n });\n }\n ),\n finShare()\n );\n }\n\n private getHasServiceSelected(\n selection$: Observable,\n includedServicesForTravelerAndFragment: FinnairPassengerServiceSelectionItem[],\n category: Category\n ): Observable {\n return selection$.pipe(\n map((selection) => {\n if (typeof selection['radio'] === 'string') {\n const alreadyPaid = !!includedServicesForTravelerAndFragment.find(\n (service) => service.variant === selection['radio']\n );\n return selection['radio'] !== CONFIG[category].notSelectedVariant || alreadyPaid;\n }\n return Object.keys(selection).some((variant) => {\n const alreadyPaid = !!includedServicesForTravelerAndFragment.find((service) => service.variant === variant);\n\n const travellerSelection = selection[variant];\n\n return (\n (typeof travellerSelection === 'number' ? travellerSelection > 0 : toBoolean(travellerSelection)) ||\n alreadyPaid\n );\n });\n })\n );\n }\n\n private getFilters(extendedServices: ExtendedService[]): SubCategoryFilter[] {\n if (this.category !== Category.MEAL) {\n return [];\n }\n const baseFilters = extendedServices.some((s) => s.subCategory === SubCategory.SPECIAL_DIET)\n ? extendedServices.flatMap((s) => s.subCategory).filter(unique)\n : [];\n\n return baseFilters.length > 1 ? [...baseFilters, 'all'] : baseFilters;\n }\n\n private getSelectedServices(\n selection$: Observable,\n extendedServices: ExtendedService[]\n ): Observable {\n return selection$.pipe(\n map((selection) => {\n return extendedServices\n .filter((service) => {\n if (service.maxNumberItems > 1) {\n return Number(selection[service.variant]) > 0;\n }\n if (this.isRadioDisplay()) {\n return service.variant === selection['radio'] && !NO_VARIANTS.includes(selection['radio']);\n }\n return toBoolean(selection[service.variant]);\n })\n .map((service) => {\n if (typeof selection[service.variant] === 'number') {\n return {\n ...service,\n quantity: Number(selection[service.variant]),\n totalPrice: {\n ...service.totalPrice,\n amount: PreciseNumber.fromString(service.totalPrice.amount)\n .multiply(PreciseNumber.fromString(String(selection[service.variant])))\n .toString(),\n },\n ...(service.originalPrice && {\n originalPrice: {\n ...service.originalPrice,\n amount: PreciseNumber.fromString(service.originalPrice.amount)\n .multiply(PreciseNumber.fromString(String(selection[service.variant])))\n .toString(),\n },\n }),\n };\n }\n return { ...service, quantity: 1 };\n })\n .filter((service) => service.paidQuantity === 0 || +service.totalPrice?.amount === 0);\n })\n );\n }\n\n private getExtendedServices(\n traveler: ServicePassenger,\n services: ServiceCatalogService[],\n selection$: Observable,\n originalQuota: number,\n showConfirmationModalBeforeSelectionForPassengers: string[],\n blockSelectionNotification: string[],\n selectionsForFragmentAndCategory$: Observable>,\n includedServicesForTravelerAndFragment: FinnairPassengerServiceSelectionItem[],\n category: Category,\n flightOrBound: FinnairItineraryItemFlight | FinnairBoundItem\n ): ExtendedService[] {\n const selectionQuota$ = selectionsForFragmentAndCategory$.pipe(\n map(\n (selections) =>\n Object.values(selections).filter((item) => (Array.isArray(item) ? item.length > 0 : !!item)).length\n ),\n finShare()\n );\n\n return services\n .map((service: ServiceCatalogService) => {\n const paidQuantity =\n includedServicesForTravelerAndFragment.find((s) => s.variant === service.variant)?.quantity ?? 0;\n const selected$ = this.getIsSelectedStream(selection$, service, paidQuantity);\n const displayTotalPrice$ = selection$.pipe(\n map((selection) => {\n const count = service.maxNumberItems > 1 ? Number(selection[service.variant]) : 1;\n\n return {\n amount: PreciseNumber.fromString(service.totalPrice.amount)\n .multiply(PreciseNumber.from(count, 0))\n .toString(),\n currencyCode: service.totalPrice.currencyCode,\n };\n })\n );\n const inputType = this.getInputType(service);\n\n return {\n ...service,\n paidQuantity,\n displayTotalPrice$,\n selected$,\n inputType,\n useConfirmModal: service.isService && showConfirmationModalBeforeSelectionForPassengers.includes(traveler.id),\n showBlockingNotification: service.isService && blockSelectionNotification.includes(traveler.id),\n quota$: combineLatest([selected$, selectionQuota$]).pipe(\n map(([isSelected, selectionQuota]) =>\n this.calculateQuota(selectionQuota, service, isSelected, originalQuota)\n ),\n finShare()\n ),\n paxLevelQuotaReached$: this.getPaxLevelQuotaReached(service.variant, this.flightOrBound.id, traveler.id),\n globalId: `${traveler.id}-${category}-${flightOrBound.id}-${service.variant}`,\n buttonText$: selected$.pipe(\n switchMap((selected) => {\n return this.languageService.translateMultiple(\n [\n `ancillaries.${service.category}.${service.variant}.${selected ? 'selected' : 'select'}`,\n `ancillaries.${service.category}.${selected ? 'selected' : 'select'}`,\n ],\n undefined,\n { logErrors: false }\n );\n }),\n map((translations) => translations[0] || translations[1])\n ),\n };\n })\n .filter((s) => s.isService);\n }\n\n removeSelections(traveler: ServicePassenger): void {\n if (this.form.controls[traveler.id].controls['radio']) {\n this.form.controls[traveler.id].controls['radio'].setValue('');\n }\n }\n\n private getPaxLevelQuotaReached(variant: string, fragmentId: string, travelerId: string) {\n return combineLatest([this.paxLevelQuota$, this.serviceQuantityMap$]).pipe(\n map(([paxLevelQuota, quantity]) => {\n if (!paxLevelQuota.variants.includes(variant)) {\n return false;\n }\n return quantity[fragmentId]?.[travelerId] >= paxLevelQuota.combinedQuota;\n }),\n startWith(false),\n distinctUntilChanged()\n );\n }\n\n private calculateQuota(\n selectionQuota: number,\n service: ServiceCatalogService,\n isSelected: boolean,\n originalQuota: number\n ) {\n const quota = service.quota === null ? undefined : service.quota;\n const availableQuota = quota + originalQuota;\n const isQuotaToppedByCustomer = selectionQuota > 0 && selectionQuota >= availableQuota;\n const type = isSelected\n ? QuotaType.SELECTED\n : availableQuota === 0\n ? QuotaType.NO\n : isQuotaToppedByCustomer\n ? QuotaType.TOPPED\n : QuotaType.FREE;\n\n return {\n type,\n count: quota !== undefined ? availableQuota - selectionQuota : undefined,\n };\n }\n\n private getInputType(service: ServiceCatalogService): ProductInputType {\n return (\n this.isRadioDisplay(service.category) ? 'radio' : service.maxNumberItems > 1 ? 'number' : 'checkbox'\n ) as ProductInputType;\n }\n\n private getIsSelectedStream(\n selection$: Observable,\n service: ServiceCatalogService,\n paidQuantity: number\n ): Observable {\n return selection$.pipe(\n map((selection): boolean => {\n if (paidQuantity > 0 && (!selection['radio'] || selection['radio'] === service.variant)) {\n return true;\n }\n return this.isRadioDisplay(service.category)\n ? selection['radio'] === service.variant\n : toBoolean(selection[service.variant]);\n }),\n finShare()\n );\n }\n}\n","
\n
\n {{ title }}\n
\n
\n {{ (bound$ | async).departure.dateTime | finDateFormat: 'FULL' }}\n
\n\n
\n \n
\n \n
\n \n
\n
\n \n
\n
\n
{{ 'bookingSummary.from.title' | finLocalization }}
\n
{{ b.departure['cityName'] }} ({{ b.departure.locationCode }})
\n
\n
\n
{{ 'bookingSummary.to.title' | finLocalization }}
\n
{{ b.arrival['cityName'] }} ({{ b.arrival.locationCode }})
\n
\n
\n
{{ 'flightDuration' | finLocalization }}
\n
\n {{ 'bookingSearch.duration' | finLocalization: (b?.duration | finTemporaryDurationPipe) }}\n
\n
\n
\n
{{ 'bookingSummary.numberOfStops' | finLocalization }}
\n
\n {{ 'bookingSummary.directFlight' | finLocalization }}\n {{ 'stopOver' | finLocalization: [b?.stops] }}\n {{ 'stopOvers' | finLocalization: [b?.stops] }}\n
\n
\n
\n
{{ 'bookingSummary.ticketType' | finLocalization }}
\n
{{ b?.fareFamily?.name }}
\n
\n
\n \n
\n
{{ 'travelClasses' | finLocalization }}
\n
\n {{ flight.departure.locationCode }}—{{ flight.arrival.locationCode }}\n \n {{ 'travelClass.' + flight.cabinClass?.toLowerCase() | finLocalization }} {{ flight.bookingClass }}\n \n \n {{ 'bookingSummary.noTravelClass' | finLocalization }}\n \n
\n
\n
\n
{{ 'bookingSummary.operatedBy' | finLocalization }}
\n
\n {{ flight.departure.locationCode }}—{{ flight.arrival.locationCode }} {{ flight.operatingAirline?.name }}\n
\n
\n
\n","import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable } from 'rxjs';\nimport { filter, map } from 'rxjs/operators';\n\nimport { FinnairItineraryItemFlight } from '@fcom/dapi/api/models';\n\nimport { BookingSummaryBound } from '../../../interfaces';\nimport { isBusOrTrain, isFlight } from '../../../utils/common-booking.utils';\n\n@Component({\n selector: 'fin-booking-summary-flight',\n styleUrls: ['./booking-summary-flight.component.scss'],\n templateUrl: './booking-summary-flight.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BookingSummaryFlightComponent implements OnInit {\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n @Input()\n bound$: Observable;\n @Input()\n title: string;\n\n flights$: Observable;\n icon$: Observable;\n ngOnInit(): void {\n this.flights$ = this.bound$.pipe(\n filter(Boolean),\n map((bound) =>\n bound.itinerary.filter(isFlight).map((i) => ({\n ...i,\n cabinClass: isBusOrTrain(i) ? null : i.cabinClass,\n }))\n )\n );\n this.icon$ = this.bound$.pipe(\n map((bound) =>\n bound.itinerary?.filter(isFlight).some((itinerary) => isBusOrTrain(itinerary))\n ? SvgLibraryIcon.MINUS\n : SvgLibraryIcon.AIRCRAFT_HORIZONTAL\n )\n );\n }\n}\n","
\n
\n \n
\n
\n

\n {{ title | finLocalization }}\n

\n
\n \n
\n
\n \n {{ editText || ('actions.edit' | finLocalization) }}\n \n
\n
\n
\n","import { Component, EventEmitter, Input, Output, HostBinding } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\n\nimport { AppConstants } from '@fcom/booking/app-constants';\n\n@Component({\n selector: 'fin-booking-summary-section',\n styleUrls: ['./booking-summary-section.component.scss'],\n templateUrl: './booking-summary-section.component.html',\n})\nexport class BookingSummarySectionComponent {\n public readonly C: typeof AppConstants = AppConstants;\n\n @Input()\n title: string;\n @Input()\n icon: SvgLibraryIcon;\n @Input()\n isChangeButton = true;\n @Input()\n editText: string;\n @Input()\n skipEditAlign = false;\n @Input()\n isContent = true;\n @Input()\n titleClass = 'font-heading-4';\n @Input()\n innerClass = 'pr-large-t';\n @Input()\n innerIconClass = 'nordic-blue-900-text';\n @Input()\n isDisabled = false;\n @Input()\n trackingContext: string;\n\n @HostBinding('class.block') defaultClass = true;\n @HostBinding('class.ps-medium-b')\n get padding() {\n return this.isChangeButton;\n }\n @Output()\n edit: EventEmitter = new EventEmitter();\n\n constructor() {}\n}\n","\n
\n
{{ t.type | finLocalization }}
\n
{{ t.firstName }} {{ t.lastName }}
\n
\n {{ 'passenger.withInfant' | finLocalization: { withInfantFullName: t.withInfantFullName } }}\n
\n
{{ 'passengerReview.email' | finLocalization }} {{ t.email }}
\n
\n {{ 'passengerReview.dateOfBirth' | finLocalization }} {{ t.birthDate | finDateFormat: 'DATE' }}\n
\n
{{ 'passengerReview.phone' | finLocalization }} {{ t.phone }}
\n
\n
\n","import { Component, Input, ChangeDetectionStrategy, HostBinding } from '@angular/core';\n\nimport { Observable } from 'rxjs';\n\nimport { AppConstants } from '@fcom/booking/app-constants';\n\nimport { BookingSummaryPassenger } from '../../../interfaces/booking-summary.interface';\n\n@Component({\n selector: 'fin-booking-summary-traveler',\n templateUrl: './booking-summary-traveler.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BookingSummaryTravelerComponent {\n public readonly C: typeof AppConstants = AppConstants;\n\n @HostBinding('class.block')\n @HostBinding('class.travelers')\n @HostBinding('class.font-body-1')\n @HostBinding('class.ms-xsmall-y')\n defaultClass = true;\n\n @Input()\n traveler$: Observable;\n\n constructor() {}\n}\n","
\n

{{ title | finLocalization: [] : { logErrors: false } }}

\n \n
\n {{ paxService.firstName }} {{ paxService.lastName }}\n {{ 'ancillaries.group.title' | finLocalization }}\n
\n
\n {{ 'passenger.withInfant' | finLocalization: { withInfantFullName: paxService.associatedInfantName } }}\n
\n
\n {{\n paxService.key\n | finLocalization\n : {\n wifiCount: paxService.quantity,\n loungeCount: paxService.quantity,\n mealCount: paxService.quantity,\n baggageCount: paxService.quantity,\n seatCount: paxService.quantity,\n coverCount: paxService.quantity,\n sportCount: paxService.quantity,\n petCount: paxService.quantity,\n amount: paxService.quantity,\n }\n }}: {{ paxService.price | finPrice }}\n
\n
\n\n","import { ChangeDetectionStrategy, Component, HostBinding, Input } from '@angular/core';\n\nimport { Observable } from 'rxjs';\n\nimport { BookingSummaryService } from '../../../interfaces';\n\n@Component({\n selector: 'fin-booking-summary-ancillary',\n templateUrl: './booking-summary-ancillary.component.html',\n styleUrls: ['./booking-summary-ancillary.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BookingSummaryAncillaryComponent {\n @HostBinding('class.block')\n @HostBinding('class.ancillaries')\n @HostBinding('class.font-body-1')\n defaultClass = true;\n @Input()\n service$: Observable;\n @Input()\n title: string;\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\n\nimport { UiTranslateModule } from '@fcom/ui-translate';\nimport { IconsModule, UiComponentsModule } from '@fcom/ui-components';\nimport { ComponentsModule } from '@fcom/common/components/components.module';\nimport { PipesModule } from '@fcom/common/pipes/pipes.module';\nimport { GtmModule } from '@fcom/common/gtm/gtm.module';\n\nimport { BookingSummaryComponent } from './booking-summary.component';\nimport { BookingSummaryFlightComponent } from './flight/booking-summary-flight.component';\nimport { BookingSummarySectionComponent } from './section/booking-summary-section.component';\nimport { BookingSummaryTravelerComponent } from './traveler/booking-summary-traveler.component';\nimport { BookingSummaryAncillaryComponent } from './ancillary/booking-summary-ancillary.component';\nimport { CommonBookingComponentsModule } from '../../common-booking.module';\n\n@NgModule({\n imports: [\n CommonBookingComponentsModule,\n CommonModule,\n ComponentsModule,\n PipesModule,\n GtmModule,\n UiTranslateModule,\n IconsModule,\n UiComponentsModule,\n ],\n declarations: [\n BookingSummaryComponent,\n BookingSummaryFlightComponent,\n BookingSummarySectionComponent,\n BookingSummaryTravelerComponent,\n BookingSummaryAncillaryComponent,\n ],\n exports: [BookingSummaryComponent],\n})\nexport class BookingSummaryModule {}\n","
\n \n
\n \n \n
\n \n {{ buttonTranslationKey | finLocalization }}\n {{ additionalTitle }}\n \n \n
\n
\n\n \n
\n \n
\n\n\n \n
\n
\n
\n \n \n {{ 'MMB.purchase.success.seats.reassignNote.title' | finLocalization }}\n \n
\n
\n {{ 'MMB.purchase.success.seats.reassignNote.message' | finLocalization }}\n
\n
\n
\n \n \n\n","import { Component, Input, ChangeDetectionStrategy } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { v4 as uuid } from 'uuid';\n\nimport { FinnairBoundItem, FinnairPassengerItem } from '@fcom/dapi/api/models';\nimport { FinnairServiceItemWithUpsell } from '@fcom/dapi/interfaces';\nimport { getIconForServiceCategory } from '@fcom/dapi/utils';\n\n@Component({\n selector: 'fin-included-product-item',\n styleUrls: ['./included-product-item.component.scss'],\n templateUrl: './included-product-item.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class IncludedProductItemComponent {\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n uuid = uuid();\n\n @Input() category: string;\n @Input() buttonTranslationKey: string;\n @Input() additionalTitle: string;\n @Input() includePaddings = true;\n @Input() expandOpen = false;\n @Input() disabled = false;\n @Input() displaySeatReassignMessage = false;\n @Input() isShortHaulFlight: boolean;\n @Input() passengers: FinnairPassengerItem[];\n @Input() bound: FinnairBoundItem;\n @Input() service: FinnairServiceItemWithUpsell;\n\n getIconForService(): SvgLibraryIcon {\n return getIconForServiceCategory(this.category);\n }\n}\n","\n \n\n","import { Component, Input, OnInit } from '@angular/core';\n\nimport { Observable } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { TabStateService } from './tab-state.service';\n\n@Component({\n selector: 'fin-tab',\n templateUrl: 'tab.component.html',\n})\nexport class TabComponent implements OnInit {\n @Input()\n tabId: string;\n\n selected$: Observable;\n\n constructor(private service: TabStateService) {}\n\n ngOnInit(): void {\n this.selected$ = this.service.getSelectedTabId().pipe(map((id) => id === this.tabId));\n }\n}\n","\n \n \n \n \n \n \n \n\n \n
\n
\n
\n
\n \n 0 && slideIndex >= 0\">\n \n \n {{ messageKey | 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 {{ 'subtotal' | finLocalization }}: \n {{ subTotalPrice$ | async | finPrice | finEmpty: '–' }}\n \n \n \n {{ 'subtotal' | finLocalization }}: \n {{ subTotalPrice$ | async | finPrice | finEmpty: '–' }}\n \n
\n \n
\n
\n
\n \n
\n \n \n \n
\n \n \n\n \n \n \n \n \n \n
\n

{{ confirmationModalTranslationKeys.firstContentParagraph | finLocalization }}

\n

{{ confirmationModalTranslationKeys.secondContentParagraph | finLocalization }}

\n
\n
\n \n \n
\n \n
\n \n\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n Input,\n OnChanges,\n OnDestroy,\n OnInit,\n Output,\n Renderer2,\n SimpleChanges,\n ViewChild,\n} from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport {\n BehaviorSubject,\n combineLatest,\n fromEvent,\n merge,\n Observable,\n of,\n ReplaySubject,\n Subject,\n Subscription,\n} from 'rxjs';\nimport { debounceTime, delay, distinctUntilChanged, filter, map, mapTo, switchMap, take } from 'rxjs/operators';\nimport { Store } from '@ngrx/store';\n\nimport { ButtonPosition, ButtonSize, ButtonTheme, IconPosition, ModalButtons } from '@fcom/ui-components';\nimport { LoaderType, Step } from '@fcom/common/interfaces';\nimport { Amount, LocationInfoMap } from '@fcom/dapi/interfaces';\nimport { finShare, keepState } from '@fcom/rx';\nimport { unsubscribe } from '@fcom/core/utils';\nimport {\n Category,\n FinnairBoundItem,\n FinnairCart,\n FinnairCheckInEligibility,\n FinnairItineraryItemFlight,\n FinnairOrder,\n FinnairPassengerItem,\n FinnairServiceBoundItem,\n FinnairServiceItem,\n} from '@fcom/dapi/api/models';\nimport { BookingSteps } from '@fcom/common/interfaces/booking/booking-step.interface';\nimport { MediaQueryService, ScrollService } from '@fcom/common/services';\nimport { BOOKING_STEPS } from '@fcom/common/config/booking-config';\nimport { AirOffersStatus, BookingAppState } from '@fcom/common/interfaces/booking';\n\nimport { BookingSummaryService } from '../../../../interfaces';\nimport {\n ConfirmModal,\n ConfirmModalData,\n EligibilityWithCategory,\n ItineraryModal,\n PurchasedServicesForOrder,\n} from '../../interfaces';\nimport { SubviewComponent } from '../../../../components/subview/subview.component';\nimport { calculateSubTotalPrice } from '../../utils';\nimport { getBoundDetailsModalData } from '../../../../utils/ancillaries.utils';\nimport { getCheckInEligibilities, getUnpaidSeatsBySegmentId } from '../../../../store';\nimport { AncillaryLoaderStatus } from '../../enums';\n\n@Component({\n selector: 'fin-ancillary-subview',\n styleUrls: ['ancillary-subview.component.scss'],\n templateUrl: 'ancillary-subview.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class AncillarySubviewComponent implements OnInit, OnChanges, OnDestroy {\n @ViewChild('scrollContainer', { static: false }) scrollContainer: ElementRef;\n\n STEPS: BookingSteps = BOOKING_STEPS;\n\n readonly ButtonPosition = ButtonPosition;\n readonly ButtonTheme = ButtonTheme;\n readonly ButtonSize = ButtonSize;\n readonly IconPosition = IconPosition;\n readonly Category = Category;\n readonly ModalButtons = ModalButtons;\n readonly SvgLibraryIcon = SvgLibraryIcon;\n\n /**\n * A little bit longer than the CSS animation to ensure that the element has slid down\n */\n readonly ANIMATION_DURATION_MS = 350;\n\n /**\n * Exposes data given in the `open()` call to the template\n */\n readonly data$: Observable;\n\n readonly LoaderType = LoaderType;\n readonly AirOffersStatus = AirOffersStatus;\n readonly AncillaryLoaderStatus = AncillaryLoaderStatus;\n\n @Input()\n subviewName: string;\n\n @Input()\n showFlightCard$: Observable;\n\n @Input()\n cartTotalPrice$: Observable;\n\n @Input()\n boundsOrFlights: (FinnairBoundItem | FinnairItineraryItemFlight)[] = [];\n\n @Input()\n locations: LocationInfoMap = {};\n\n @Input()\n titleKey: string;\n\n @Input()\n category: Category;\n\n @Input()\n cartOrOrder$: Observable;\n\n @Input()\n currentStep$: Observable;\n\n @Input()\n unpaidServices$: Observable;\n\n @Input()\n subtitleMessageKey$: Observable;\n\n @Input()\n currentIncludedServices!: FinnairServiceItem | null;\n\n @Input()\n onlyShowAncillaries = false;\n\n @Input()\n showFareFamilyInAncillarySidebar = true;\n\n @Input()\n purchasedServices$: Observable = of({});\n\n @Input()\n subviewContext: string;\n\n @Input()\n maxedOutForFragment$: Observable<{ [fragmentId: string]: boolean }>;\n\n @Input()\n skipEnabled = false;\n\n @Input()\n skipText = '';\n\n @Input()\n boundOrFlightAncillaryAvailability$: Observable<{ [fragmentId: string]: EligibilityWithCategory[] }>;\n\n @Input()\n passengersWithPetcIncompatibleSeats$: Observable<{ [boundId: string]: string[] }> = of({});\n\n @Input()\n confirmModalData$ = new BehaviorSubject({\n open: false,\n });\n\n @Input()\n hideChangeButton = false;\n\n @Input()\n ancillaryLoader$: BehaviorSubject = new BehaviorSubject(\n AncillaryLoaderStatus.OFF\n );\n\n @Input()\n hideSideBar = false;\n\n @Output()\n closeConfirmModal: EventEmitter = new EventEmitter();\n\n /**\n * Called when the subview is closed after onConfirm, no matter how the subview was closed.\n */\n // eslint-disable-next-line @angular-eslint/no-output-native\n @Output()\n close: EventEmitter = new EventEmitter();\n\n @Output()\n changeStep: EventEmitter = new EventEmitter();\n\n @Output()\n reassignSeats: EventEmitter<{ currentFlightId: string }> = new EventEmitter();\n\n @Output()\n secondaryButtonClick: EventEmitter = new EventEmitter();\n\n @Output()\n flightOrBoundSelected: EventEmitter = new EventEmitter();\n\n @ViewChild('closeButton', { static: true })\n closeButton: ElementRef;\n\n @ViewChild('content', { static: true })\n content: ElementRef;\n\n @ViewChild('subview', { static: true })\n subview: SubviewComponent;\n\n @ViewChild('ctaButtonHeightFixRef', { static: false })\n ctaButtonHeightFixRef: ElementRef;\n\n initialSlideIndex: number;\n slideIndex: number;\n isSideBarOpen = false;\n ctaButtonTitle: string;\n passengers$: Observable;\n subViewVisible$: Subject = new BehaviorSubject(false);\n reassignFreeSeatsVisible$: Subject = new BehaviorSubject(false);\n unpaidSeats$: Observable;\n checkInEligibilities$: Observable;\n disableButtons$: Observable;\n subViewVisibleDelayed$: Observable;\n basketOpen$: BehaviorSubject = new BehaviorSubject(false);\n itineraryModalClosed$: EventEmitter = new EventEmitter();\n subTotalPrice$: Observable;\n itineraryModal: ItineraryModal = {\n open: false,\n data: null,\n };\n showCtaButton$: Observable;\n slideIndexSubject$ = new ReplaySubject(1);\n secondaryButtonDisabled$: Observable;\n isTabletUp$: Observable;\n\n private showCtaButtonSubject$: BehaviorSubject = new BehaviorSubject(true);\n private boundsOrFlightsSubject$: ReplaySubject<(FinnairBoundItem | FinnairItineraryItemFlight)[]> = new ReplaySubject<\n (FinnairBoundItem | FinnairItineraryItemFlight)[]\n >(1);\n private categorySubject$: ReplaySubject = new ReplaySubject(1);\n private customDataSubject$: Subject = new ReplaySubject(1);\n private subtotalPriceSub$: ReplaySubject = new ReplaySubject<\n Amount & { category: Category; fragmentId: string }\n >(1);\n private subscription: Subscription = new Subscription();\n\n constructor(\n public elementRef: ElementRef,\n private store$: Store,\n private changeDetectorRef: ChangeDetectorRef,\n private renderer: Renderer2,\n private scrollService: ScrollService,\n private mediaqueryService: MediaQueryService\n ) {\n this.showCtaButton$ = this.showCtaButtonSubject$.pipe(\n switchMap((show) => {\n return show ? of(show).pipe(delay(250)) : of(show);\n })\n );\n\n this.subViewVisibleDelayed$ = this.subViewVisible$.pipe(\n distinctUntilChanged(),\n keepState(this.ANIMATION_DURATION_MS)\n );\n\n this.disableButtons$ = this.subViewVisible$.pipe(map((visible) => !visible));\n\n this.data$ = this.customDataSubject$.pipe(finShare());\n\n this.subTotalPrice$ = calculateSubTotalPrice(this.subtotalPriceSub$, this.categorySubject$);\n }\n\n ngOnInit(): void {\n this.initialSlideIndex = -1;\n this.slideIndexSubject$.next(this.initialSlideIndex);\n this.initializeCtaButtonTitle();\n\n this.passengers$ = this.cartOrOrder$.pipe(map(({ passengers }) => passengers));\n\n this.isTabletUp$ = this.mediaqueryService.isBreakpoint$('mobile').pipe(map((isMobile) => !isMobile));\n\n this.secondaryButtonDisabled$ = this.hideSideBar\n ? combineLatest([\n this.cartOrOrder$.pipe(map((order) => order?.services?.unpaid?.length === 0)),\n this.subTotalPrice$,\n ]).pipe(map(([hasUnpaidItems, subTotal]) => hasUnpaidItems && subTotal?.amount === '0'))\n : of(false);\n\n const boundsOrFlights$ = this.boundsOrFlightsSubject$.pipe(\n distinctUntilChanged(\n (prev, next) => prev.map((value) => value.id).join() === next.map((value) => value.id).join()\n )\n );\n\n this.subscription.add(\n combineLatest([this.slideIndexSubject$, boundsOrFlights$])\n .pipe(\n map(([slideIndex, boundsOrFlights]): [number, FinnairBoundItem | FinnairItineraryItemFlight] => {\n return [slideIndex, boundsOrFlights[slideIndex]];\n })\n )\n .subscribe(([indexToGo, currentBoundOrFlight]) => {\n this.slideIndex = indexToGo;\n this.flightOrBoundSelected.emit(currentBoundOrFlight);\n this.setReassignSeatsEligible(currentBoundOrFlight?.id);\n this.closeSidebar();\n })\n );\n }\n\n ngOnChanges(changes: SimpleChanges): void {\n if (changes['boundsOrFlights']) {\n this.boundsOrFlightsSubject$.next(changes['boundsOrFlights'].currentValue);\n }\n if (changes['category']) {\n this.categorySubject$.next(changes['category'].currentValue);\n }\n }\n\n /**\n * Whether or not the subview is visible in DOM taking the animations into account.\n */\n public get visible$(): Observable {\n return this.subViewVisible$;\n }\n\n setSubTotalPrice(amount: Amount, category: Category, fragmentId: string): void {\n this.subtotalPriceSub$.next({ ...amount, category, fragmentId });\n }\n\n updateSlideIndex(slideIndex: number, scrollTop: boolean): void {\n this.slideIndexSubject$.next(slideIndex);\n if (this.scrollContainer && scrollTop) {\n this.scrollService.scrollToImmediate(this.scrollContainer);\n }\n }\n\n /**\n * Open the subview and possibly supply custom data to the instance.\n * @param subviewName name of the subview\n * @param {T} data optional data to expose as `subview.data` in the templates\n * @param {number} slideIndex slide index to be opened\n * @return void\n */\n open(data?: T, slideIndex: number = this.initialSlideIndex): void {\n this.slideIndexSubject$.next(slideIndex);\n this.customDataSubject$.next(data);\n this.subscription = new Subscription();\n this.subViewVisible$.next(true);\n const resize$: Observable = fromEvent(window, 'resize').pipe(debounceTime(100));\n this.bindCtaButtonHeightFixHandler(resize$);\n this.bindBasketHandling(resize$);\n this.subview.open = true;\n }\n\n onClose(): void {\n if (this.category !== Category.COVER && this.hideSideBar === false) {\n this.isSideBarOpen = true;\n this.showCtaButtonSubject$.next(false);\n } else {\n this.closeSubview();\n }\n }\n\n closeSubview(): void {\n this.slideIndexSubject$.next(this.initialSlideIndex);\n this.closeSidebar();\n\n this.subViewVisible$.next(false);\n this.changeDetectorRef.detectChanges();\n\n this.subview.open = false;\n }\n\n openBasket(): void {\n this.basketOpen$.next(true);\n }\n\n closeBasket(): void {\n this.basketOpen$.next(false);\n }\n\n onEdit(step: Step): void {\n this.closeSubview();\n this.changeStep.emit(step);\n }\n\n viewDetails(): void {\n this.itineraryModal = getBoundDetailsModalData(this.cartOrOrder$, this.slideIndexSubject$);\n }\n\n closeSidebar(): void {\n this.isSideBarOpen = false;\n this.showCtaButtonSubject$.next(true);\n }\n\n handleCtaClick(showFlightCard: boolean): void {\n if (this.slideIndex >= this.boundsOrFlights.length - 1 || !showFlightCard) {\n this.onClose();\n } else {\n this.updateSlideIndex(this.slideIndex + 1, true);\n }\n }\n\n handleSecondaryCtaClick(): void {\n this.secondaryButtonClick.emit();\n }\n\n ngOnDestroy(): void {\n this.cleanUp();\n this.elementRef = null;\n this.content = null;\n this.closeButton = null;\n }\n\n private initializeCtaButtonTitle(): void {\n this.subscription.add(\n combineLatest([this.boundsOrFlightsSubject$, this.slideIndexSubject$, this.showFlightCard$]).subscribe(\n ([boundsOrFlights, slideIndex, showNewCta]) => {\n if (this.category === Category.COVER || !boundsOrFlights.length) {\n this.ctaButtonTitle = 'actions.done';\n } else if (showNewCta) {\n if (slideIndex < boundsOrFlights.length - 1) {\n this.ctaButtonTitle = 'actions.nextFlight';\n } else if (this.hideSideBar) {\n this.ctaButtonTitle = 'services.productCards.moreTravelExtras';\n } else {\n this.ctaButtonTitle = 'services.productCards.viewSummary';\n }\n } else {\n this.ctaButtonTitle = 'actions.continue';\n }\n }\n )\n );\n }\n\n private setReassignSeatsEligible(currentBoundOrFlightId: string) {\n this.unpaidSeats$ = this.store$.pipe(getUnpaidSeatsBySegmentId(currentBoundOrFlightId));\n this.checkInEligibilities$ = this.store$.pipe(getCheckInEligibilities());\n\n this.subscription.add(\n combineLatest([this.unpaidSeats$, this.checkInEligibilities$])\n .pipe(\n map(([unpaidSeats, checkInEligibilities]) => {\n const hasCheckInEligibility = checkInEligibilities.some((eligibility) => {\n const containsBoundId = eligibility.id.includes(currentBoundOrFlightId);\n const hasCheckInWindow = !!eligibility.checkinWindow;\n const hasNoReason = !eligibility.reason;\n return containsBoundId && hasCheckInWindow && hasNoReason;\n });\n\n const hasUnpaidSeatForSegment = unpaidSeats.some((boundItem) =>\n boundItem.segments.some((segment) => segment.id === currentBoundOrFlightId)\n );\n\n return hasCheckInEligibility && hasUnpaidSeatForSegment;\n })\n )\n .subscribe((showReassignFreeSeats) => this.reassignFreeSeatsVisible$.next(showReassignFreeSeats))\n );\n }\n\n // eslint-disable-next-line sonarjs/cognitive-complexity\n private bindCtaButtonHeightFixHandler(resize$: Observable) {\n const RETRY_TIMES = 1;\n const WAIT_TIME_IN_MS = 500;\n const retry$ = new Subject();\n this.subscription.add(\n merge(\n this.subViewVisibleDelayed$.pipe(filter(Boolean)),\n resize$.pipe(mapTo(true)),\n retry$.pipe(take(RETRY_TIMES))\n )\n .pipe(delay(WAIT_TIME_IN_MS))\n .subscribe(() => {\n if (this.elementRef?.nativeElement) {\n const element = this.elementRef.nativeElement.querySelector('fcom-cta-button .cta-button');\n if (element && this.ctaButtonHeightFixRef && this.ctaButtonHeightFixRef.nativeElement) {\n const rect = element.getBoundingClientRect();\n try {\n const topPaddingToExclude = 16;\n const newHeight = rect.height > topPaddingToExclude ? rect.height - topPaddingToExclude : rect.height;\n this.renderer.setStyle(this.ctaButtonHeightFixRef.nativeElement, 'height', `${newHeight}px`);\n if (rect.height === 0) {\n retry$.next(true);\n }\n } catch (e) {\n // Failed to set height\n }\n }\n }\n })\n );\n }\n\n private bindBasketHandling(resize$: Observable) {\n const hideModal$: Observable = resize$.pipe(\n map((event) => +event.target?.['innerWidth']),\n filter((width) => width >= 600),\n mapTo(false)\n );\n\n this.subscription.add(\n hideModal$.subscribe((value) => {\n this.basketOpen$.next(value);\n })\n );\n }\n\n private cleanUp() {\n this.subscription = unsubscribe(this.subscription);\n }\n\n reassignFreeSeats(): void {\n this.reassignSeats.emit({ currentFlightId: this.boundsOrFlights[this.slideIndex].id });\n }\n}\n","\n
\n
\n \n
\n\n
\n \n \n \n\n \n \n \n
\n
\n\n \n\n","import { DOCUMENT } from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n Inject,\n Input,\n NgZone,\n OnDestroy,\n Output,\n} from '@angular/core';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\n\nimport { BehaviorSubject, Observable, Subject } from 'rxjs';\nimport { distinctUntilChanged } from 'rxjs/operators';\nimport { v4 as uuid } from 'uuid';\n\nimport { keepState } from '@fcom/rx';\nimport { addClass, isVisible, removeClass } from '@fcom/core/utils';\nimport { LoaderType } from '@fcom/common/interfaces';\nimport { AirOffersStatus } from '@fcom/common/interfaces/booking';\n\nimport { AncillaryLoaderStatus } from '../../modules/ancillaries/enums';\n\n/**\n * A subview component that displays its content in a scrollable div.\n *\n * @example\n * Example with buttons from parameters\n * The button is rendered inside the scrollable content\n *\n *
\n * \n *  \n *    

This is scrollable content

\n * \n *
This is custom data passed in the open call: {{ subview.data$ | async | json }}
\n *
\n *
\n *
\n */\n\n@Component({\n selector: 'fin-subview',\n styleUrls: ['subview.component.scss'],\n templateUrl: 'subview.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SubviewComponent implements OnDestroy {\n /**\n * A little bit longer than the CSS animation to ensure that the element has slid down\n */\n readonly ANIMATION_DURATION_MS = 350;\n readonly subviewId = uuid();\n readonly AncillaryLoaderStatus = AncillaryLoaderStatus;\n readonly LoaderType = LoaderType;\n readonly AirOffersStatus = AirOffersStatus;\n\n @Output() openChange = new EventEmitter();\n\n @Input()\n subviewName: string;\n\n @Input()\n subviewContext: string;\n\n @Input()\n enableScroll = true;\n\n @Input()\n ancillaryLoader$: BehaviorSubject;\n\n @Input()\n set open(_open: boolean) {\n const open = coerceBooleanProperty(_open);\n\n if (this._openState === open) {\n return;\n }\n this._openState = open;\n\n this.openChange.emit(this._openState);\n\n if (this._openState) {\n this.openSubview();\n } else {\n this.closeSubview(true);\n }\n }\n\n get open(): boolean {\n return this._openState;\n }\n\n /**\n * Called when the subview is closed after onConfirm, no matter how the subview was closed.\n */\n @Output()\n closeSubViewEvent: EventEmitter = new EventEmitter();\n\n /**\n * Asking confirmation for close.\n */\n @Output()\n shouldCloseSubview: EventEmitter = new EventEmitter();\n\n subViewVisible$: Subject = new BehaviorSubject(false);\n subViewVisibleDelayed$: Observable;\n labelledBy: string;\n\n private removeFocusListener: () => void;\n\n /**\n * Private boolean property storing the open state\n */\n private _openState = false;\n\n constructor(\n public elementRef: ElementRef,\n private ngZone: NgZone,\n @Inject(DOCUMENT) private document: Document,\n private changeDetectorRef: ChangeDetectorRef\n ) {\n this.labelledBy = `subview-${this.subviewId}-title`;\n this.subViewVisibleDelayed$ = this.subViewVisible$.pipe(\n distinctUntilChanged(),\n keepState(this.ANIMATION_DURATION_MS)\n );\n }\n\n get visible$(): Observable {\n return this.subViewVisible$;\n }\n\n ngOnDestroy(): void {\n this.cleanUp();\n removeClass(this.document.body, 'subview-open');\n this.elementRef = null;\n }\n\n closeSubview(emitEvent: boolean): void {\n this.subViewVisible$.next(false);\n this.changeDetectorRef.detectChanges();\n this.cleanUp();\n removeClass(this.document.body, 'subview-open');\n if (emitEvent) {\n // This needs to happen after this.cleanUp() which is removing focus listening from this component\n this.closeSubViewEvent.emit();\n }\n }\n\n /**\n * Open the subview.\n * @return void\n */\n private openSubview(): void {\n this.subViewVisible$.next(true);\n this.bindEventListeners();\n this.changeDetectorRef.detectChanges();\n this.onModalFocus(null, true);\n addClass(this.document.body, 'subview-open');\n }\n\n private bindEventListeners(): void {\n this.ngZone.runOutsideAngular(() => {\n const listener = (event) => {\n return this.ngZone.run(() => {\n this.onModalFocus(event);\n });\n };\n this.document.addEventListener('focus', listener, true);\n this.document.addEventListener('focusin', listener);\n this.removeFocusListener = () => {\n this.document.removeEventListener('focus', listener, true);\n this.document.removeEventListener('focusin', listener);\n };\n });\n }\n\n private onModalFocus(event: FocusEvent | null, forceFocus = false): void {\n const el = this.elementRef?.nativeElement;\n if (!!el && (!el.contains(event?.target) || forceFocus)) {\n event?.stopPropagation();\n\n const focusSelector = 'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])';\n const focusableElements: Element[] = Array.from((el as Element).querySelectorAll(focusSelector))\n .filter((e) => e instanceof HTMLElement)\n .filter(isVisible);\n\n if (focusableElements.length !== 0) {\n setTimeout(() => (focusableElements[0] as HTMLElement).focus(), 0);\n }\n }\n }\n\n private cleanUp() {\n this.cleanUpEventHandlers();\n }\n\n private cleanUpEventHandlers() {\n if (this.removeFocusListener) {\n this.removeFocusListener();\n this.removeFocusListener = undefined;\n }\n }\n}\n","import { AfterContentInit, Component, ContentChildren, Input, OnDestroy, OnInit, QueryList } from '@angular/core';\n\nimport { Observable, Subscription, merge } from 'rxjs';\nimport { filter, withLatestFrom, map } from 'rxjs/operators';\n\nimport { isPresent, unsubscribe } from '@fcom/core/utils';\nimport { safeMap } from '@fcom/rx';\n\nimport { TabStateService } from './tab-state.service';\nimport { SelectAction, TabLabelComponent } from './tab-label.component';\n\nconst selectNextIndex = (action: SelectAction, previousIndex: number, length: number) => {\n const lastIndex = length - 1;\n switch (action) {\n case SelectAction.PREVIOUS:\n return previousIndex !== 0 ? previousIndex - 1 : lastIndex;\n case SelectAction.NEXT:\n return previousIndex !== lastIndex ? previousIndex + 1 : 0;\n case SelectAction.LAST:\n return lastIndex;\n default:\n return 0;\n }\n};\n\n@Component({\n selector: 'fin-tab-header',\n styleUrls: ['tab-header.component.scss'],\n templateUrl: 'tab-header.component.html',\n providers: [TabStateService],\n})\nexport class TabHeaderComponent implements OnInit, OnDestroy, AfterContentInit {\n @Input()\n tabGroupId: string;\n @Input()\n startWith$: Observable;\n\n @ContentChildren(TabLabelComponent)\n tabs: QueryList;\n private subscriptions: Subscription = new Subscription();\n private tabEventSubscriptions: Subscription;\n\n constructor(private service: TabStateService) {}\n\n ngOnInit(): void {\n this.service.init(this.tabGroupId);\n\n this.subscriptions.add(\n this.startWith$\n .pipe(filter((startWith: string) => isPresent(startWith)))\n .subscribe((startWith: string) => this.service.setSelectedTabId(startWith))\n );\n this.subscriptions.add(\n this.service\n .getSelectedTabId()\n .pipe(\n filter(() => isPresent(this.tabs)),\n safeMap((tabId: string) => this.tabs.find((tab) => tab.tabId === tabId)),\n filter((tab: TabLabelComponent) => isPresent(tab))\n )\n .subscribe((tab: TabLabelComponent) => tab.focus())\n );\n }\n\n ngAfterContentInit(): void {\n this.subscriptions.add(this.tabs.changes.subscribe(() => this.initTabs()));\n this.initTabs();\n }\n\n ngOnDestroy(): void {\n this.service.clear();\n this.subscriptions = unsubscribe(this.subscriptions);\n this.tabEventSubscriptions = unsubscribe(this.tabEventSubscriptions);\n }\n\n private initTabs(): void {\n unsubscribe(this.tabEventSubscriptions);\n this.tabEventSubscriptions = new Subscription();\n this.subscribeToSelections(merge(...this.tabs.map((t) => t.clicked$)));\n this.subscribeToSelectActions(merge(...this.tabs.map((t) => t.actions$)));\n }\n\n private subscribeToSelections(selections$: Observable) {\n this.tabEventSubscriptions.add(\n selections$.subscribe((selectedTab: TabLabelComponent) => this.service.setSelectedTabId(selectedTab.tabId))\n );\n }\n\n private subscribeToSelectActions(actions$: Observable) {\n const selectedTabIndex$ = this.service\n .getSelectedTabId()\n .pipe(safeMap((tabId) => this.tabs.toArray().findIndex((t) => t.tabId === tabId) || 0));\n this.tabEventSubscriptions.add(\n actions$\n .pipe(\n withLatestFrom(selectedTabIndex$),\n map(([action, previousIndex]) => selectNextIndex(action, previousIndex, this.tabs.length)),\n map((idx: number) => this.tabs.toArray()[idx].tabId)\n )\n .subscribe((tabId: string) => this.service.setSelectedTabId(tabId))\n );\n }\n}\n","
\n \n
\n","
\n \n \n

\n \n

\n
\n\n
\n \n
\n\n @if (enableSurvey && qualtricsUrl$ | async) {\n
\n\n
\n \n
\n }\n
\n","import { Component, EventEmitter, Output, OnInit, Input, TemplateRef } from '@angular/core';\n\nimport { SvgLibraryIcon } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable, combineLatest } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\nimport { LanguageService } from '@fcom/ui-translate';\nimport { getQualtricsUrl } from '@fcom/common/qualtrics/qualtrics.utils';\nimport { ButtonMode, ButtonTheme, IconPosition } from '@fcom/ui-components';\n\n@Component({\n selector: 'fin-bound-selection-error-message',\n templateUrl: 'bound-selection-error-message.component.html',\n})\nexport class BoundSelectionErrorMessageComponent implements OnInit {\n readonly SvgLibraryIcon = SvgLibraryIcon;\n readonly ButtonTheme = ButtonTheme;\n readonly IconPosition = IconPosition;\n readonly ButtonMode = ButtonMode;\n\n @Input() fromFragment: TemplateRef;\n\n @Input({ required: true }) ctaButtonText: string;\n\n @Input() enableSurvey = true;\n\n @Input() qualtricsKey = 'feedback.generalSurveyUrl';\n\n @Input() surveyButtonText = 'feedback.title';\n\n /**\n * Emits when the CTA element has been clicked\n * @type {EventEmitter}\n */\n @Output()\n ctaClick: EventEmitter = new EventEmitter();\n\n qualtricsUrl$: Observable;\n\n constructor(private languageService: LanguageService) {}\n\n ngOnInit(): void {\n this.qualtricsUrl$ = combineLatest([\n this.languageService.langKey,\n this.languageService.translate(this.qualtricsKey),\n ]).pipe(\n map((params) => {\n return getQualtricsUrl(params[0], this.languageService.langValue, params[1]);\n })\n );\n }\n}\n","import { Pipe, PipeTransform } from '@angular/core';\n\nimport { Observable } from 'rxjs';\nimport { delay } from 'rxjs/operators';\n\n@Pipe({\n name: 'finDelay',\n})\nexport class DelayPipe implements PipeTransform {\n transform(input: any, delayInMilliSeconds = 1): Observable {\n if (input && input instanceof Observable) {\n return input.pipe(delay(delayInMilliSeconds));\n }\n return input;\n }\n}\n","\n \n\n\n\n \n \n\n","import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\n\nimport { ModalButtons } from '@fcom/ui-components';\nimport { BoundType } from '@fcom/dapi';\nimport { FinnairBoundItem, FinnairCabinClass, FinnairItineraryItemFlight, FinnairOrder } from '@fcom/dapi/api/models';\nimport { getTails, isByBusOnly } from '@fcom/common-booking/utils/common-booking.utils';\n\n@Component({\n selector: 'fin-booking-flight',\n templateUrl: './flight.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class BookingFlightComponent implements OnInit {\n readonly ModalButtons = ModalButtons;\n readonly BoundType = BoundType;\n\n modalOpen = false;\n\n /**\n * Flight Bound Information\n */\n @Input() bound: FinnairBoundItem;\n\n /**\n * A map of the locations in the bound/booking to get city and airport names\n */\n @Input() locations: FinnairOrder['locations'];\n\n /**\n * Type of bound to render in the timeline\n */\n @Input() type: BoundType = null;\n\n @Input()\n isBookingFlow = false;\n\n tails: string[];\n isByBusOnly: boolean;\n cabin: FinnairCabinClass;\n\n ngOnInit(): void {\n this.tails = getTails(this.bound);\n this.isByBusOnly = isByBusOnly(this.bound);\n this.cabin = this.getCabinClass(this.bound);\n }\n\n openViewDetails(): void {\n this.modalOpen = true;\n }\n\n getCabinClass(bound: FinnairBoundItem): FinnairCabinClass {\n return bound.cabinClass ?? (bound.itinerary[0] as FinnairItineraryItemFlight).cabinClass;\n }\n}\n","import { Store } from '@ngrx/store';\nimport { map } from 'rxjs/operators';\nimport { Observable } from 'rxjs';\n\nimport { ToasterMessage } from '@fcom/common/interfaces';\nimport { snapshot } from '@fcom/rx';\nimport { CustomServiceType, SeatCharacteristics } from '@fcom/dapi';\nimport {\n Category,\n FinnairBoundItem,\n FinnairCart,\n FinnairItineraryItemFlight,\n FinnairOrder,\n FinnairServiceRequestItem,\n} from '@fcom/dapi/api/models';\nimport { serviceSelectionToUpdateRequest } from '@fcom/common-booking/modules/ancillaries/utils';\nimport { seatSelectionsForFlight, serviceSelectionsForFragment } from '@fcom/common-booking/store/selectors';\nimport { NotificationTheme } from '@fcom/ui-components';\nimport { capitalizeWord } from '@fcom/core/utils';\nimport { ItineraryModal } from '@fcom/common-booking/modules/ancillaries/interfaces';\nimport { BookingAppState, SelectionPhase } from '@fcom/common/interfaces/booking';\nimport { FlightSeatSelections } from '@fcom/common/interfaces/seat-map.interface';\n\nexport interface AncillaryToasterMessages {\n error: ToasterMessage;\n}\n\nconst getRequests = (\n store$: Store,\n category: Category,\n fragmentIds: string[]\n): FinnairServiceRequestItem[] => {\n return fragmentIds.map((fragmentId) => ({\n category,\n fragmentId,\n serviceSelection: serviceSelectionToUpdateRequest(\n snapshot(store$.pipe(serviceSelectionsForFragment(fragmentId, category)))\n ),\n }));\n};\n\nconst getMessage = (category: Category, key: string, theme: ToasterMessage['theme']): ToasterMessage => ({\n id: `ANCILLARY_${category.toString()}_${key}`.toUpperCase(),\n contentKey: `ancillaries.toaster.${key}`,\n theme,\n});\n\nconst getToasterMessages = (category: Category, errorKey: string): AncillaryToasterMessages => {\n return {\n error: getMessage(category, errorKey, NotificationTheme.ALERT),\n };\n};\n\nexport const mapToSeatRequest = (\n flightId: string,\n selectionsForFlight: FlightSeatSelections\n): FinnairServiceRequestItem[] => {\n return [\n {\n category: Category.SEAT,\n fragmentId: flightId,\n serviceSelection: selectionsForFlight\n ? Object.keys(selectionsForFlight).map((travelerId) => ({\n travelerId,\n variant: selectionsForFlight[travelerId].seatType || '',\n seatNumber: selectionsForFlight[travelerId].seatNumber,\n isExitSeat: selectionsForFlight[travelerId].characteristics?.includes(SeatCharacteristics.EXIT) ?? false,\n quantity: selectionsForFlight[travelerId].seatNumber ? 1 : 0,\n }))\n : [],\n },\n ];\n};\n\nexport const containsUnpaidSeats = (order: FinnairOrder): boolean => {\n return !!order.services.unpaid?.find((s) => s.category === Category.SEAT);\n};\n\nexport const getServiceData = (\n store$: Store,\n category: Category,\n bounds: FinnairBoundItem[],\n flights: FinnairItineraryItemFlight[]\n): [FinnairServiceRequestItem[], AncillaryToasterMessages] => {\n switch (category) {\n case Category.CABIN_BAGGAGE:\n case Category.BAGGAGE:\n case Category.SPORT:\n case Category.SAF:\n case Category.PET: {\n const keySuffix = category === Category.BAGGAGE ? 'Bags' : capitalizeWord(category);\n return [\n getRequests(\n store$,\n category,\n bounds.map((b) => b.id)\n ),\n getToasterMessages(category, 'errorSaving' + keySuffix),\n ];\n }\n case Category.SEAT: {\n const requests: FinnairServiceRequestItem[] = flights.reduce((all, flight) => {\n return all.concat(mapToSeatRequest(flight.id, snapshot(store$.pipe(seatSelectionsForFlight(flight.id)))));\n }, []);\n\n return [requests, getToasterMessages(category, 'errorSavingSeats')];\n }\n case Category.LOUNGE:\n case Category.WIFI:\n case Category.MEAL: {\n const keySuffix = category === Category.MEAL ? 'Meals' : capitalizeWord(category);\n return [\n getRequests(\n store$,\n category,\n flights.map((b) => b.id)\n ),\n getToasterMessages(category, 'errorSaving' + keySuffix),\n ];\n }\n case Category.COVER: {\n return [\n getRequests(store$, category, [CustomServiceType.JOURNEY]),\n getToasterMessages(category, 'errorSavingTripCover'),\n ];\n }\n default:\n return [[], undefined];\n }\n};\n\nexport const getBoundDetailsModalData = (\n cartOrOrder$: Observable,\n slideIndex$: Observable\n): ItineraryModal => {\n const bounds$ = cartOrOrder$.pipe(map((cart) => cart.bounds));\n\n return {\n open: true,\n data: {\n outbound$: bounds$.pipe(map((bounds) => bounds[0])),\n inbound$: bounds$.pipe(map((bounds) => (bounds.length > 1 ? bounds[1] : undefined))),\n locations$: cartOrOrder$.pipe(map((c) => c.locations)),\n selectionPhase$: slideIndex$.pipe(\n map((slideIndex) => (slideIndex === 0 ? SelectionPhase.OUTBOUND : SelectionPhase.INBOUND))\n ),\n },\n };\n};\n","\n \n
\n

{{ message.teaserTitle }}

\n
\n
\n \n
\n
\n\n\n","import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core';\n\nimport { IconLibrary } from '@finnairoyj/fcom-ui-styles/enums';\nimport { Observable } from 'rxjs';\n\nimport { CmsArticle } from '@fcom/core-api/';\nimport { FragmentService } from '@fcom/common/services';\nimport { ModalButtons } from '@fcom/ui-components';\n\n@Component({\n selector: 'fin-sustainability-trip-message',\n templateUrl: './sustainability-trip-message.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class SustainabilityTripMessageComponent implements OnInit {\n @Input() fragmentKey: string;\n\n @Input() iconCategory: IconLibrary = IconLibrary.SVG_LIBRARY;\n\n @Input() linkText: string;\n\n modalOpen = false;\n\n tripMessage$: Observable;\n\n readonly ModalButtons = ModalButtons;\n\n constructor(private fragmentService: FragmentService) {}\n\n ngOnInit(): void {\n this.tripMessage$ = this.fragmentService.getFragment(this.fragmentKey);\n }\n\n openModal(): void {\n this.modalOpen = true;\n }\n\n closeModal(): void {\n this.modalOpen = false;\n }\n}\n"],"x_google_ignoreList":[]}