{"version":3,"sources":["webpack:///./node_modules/@angular/material/esm5/list.es5.js.pre-build-optimizer.js","webpack:///./node_modules/@angular/material/list/typings/index.ngfactory.js.pre-build-optimizer.js","webpack:///./node_modules/@angular/material/list/typings/index.d.ts.MatList.html","webpack:///./node_modules/@angular/material/list/typings/index.d.ts.MatListItem.html","webpack:///./node_modules/@angular/material/list/typings/index.d.ts.MatListOption.html","webpack:///./node_modules/@angular/material/list/typings/index.d.ts.MatSelectionList.html","webpack:///./src/common/shared/billing/full-plan-name/full-plan-name.component.ts","webpack:///./node_modules/@angular/material/esm5/divider.es5.js.pre-build-optimizer.js","webpack:///./node_modules/@angular/material/esm5/tabs.es5.js.pre-build-optimizer.js","webpack:///./node_modules/@angular/material/core/typings/index.ngfactory.js.pre-build-optimizer.js","webpack:///./node_modules/@angular/material/core/typings/index.d.ts.MatOption.html","webpack:///./src/common/shared/billing/guards/billing-enabled-guard.service.ts.pre-build-optimizer.js","webpack:///./src/common/shared/billing/guards/billing-enabled-guard.service.ts","webpack:///./src/common/core/utils/uc-first.ts","webpack:///./src/common/shared/billing/plans.service.ts.pre-build-optimizer.js","webpack:///./src/common/shared/billing/plans.service.ts","webpack:///./node_modules/@angular/material/esm5/progress-bar.es5.js.pre-build-optimizer.js","webpack:///./src/common/shared/billing/full-plan-name/full-plan-name.module.ts","webpack:///./src/common/billing/billing.module.ts","webpack:///./node_modules/@angular/cdk/esm5/stepper.es5.js.pre-build-optimizer.js","webpack:///./node_modules/@angular/material/esm5/stepper.es5.js.pre-build-optimizer.js","webpack:///./node_modules/@angular/material/stepper/typings/index.ngfactory.js.pre-build-optimizer.js","webpack:///./node_modules/@angular/material/stepper/typings/index.d.ts.MatStep.html","webpack:///./node_modules/@angular/material/stepper/typings/index.d.ts.MatHorizontalStepper.html","webpack:///./node_modules/@angular/material/stepper/typings/index.d.ts.MatStepHeader.html","webpack:///./src/common/billing/upgrade-page/plan-features-list/plan-features-list.component.ts","webpack:///./src/common/billing/upgrade-page/plan-features-list/plan-features-list.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/common/billing/upgrade-page/plan-features-list/plan-features-list.component.scss.ngstyle.js.pre-build-optimizer.js","webpack:///./src/common/billing/upgrade-page/plan-features-list/plan-features-list.component.html","webpack:///./src/common/billing/plans/select-plan-panel/select-plan-panel.component.ts","webpack:///./src/common/billing/subscriptions/subscription-stepper-state.service.ts","webpack:///./src/common/billing/plans/select-plan-panel/select-plan-panel.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/common/billing/plans/select-plan-panel/select-plan-panel.component.scss.ngstyle.js.pre-build-optimizer.js","webpack:///./src/common/billing/plans/select-plan-panel/select-plan-panel.component.html","webpack:///./src/common/billing/upgrade-page/contact-widget/contact-widget.component.ts","webpack:///./src/common/billing/upgrade-page/contact-widget/contact-widget.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/common/billing/upgrade-page/contact-widget/contact-widget.component.scss.ngstyle.js.pre-build-optimizer.js","webpack:///./src/common/billing/upgrade-page/contact-widget/contact-widget.component.html","webpack:///./node_modules/@angular/material/esm5/radio.es5.js.pre-build-optimizer.js","webpack:///./node_modules/@angular/material/radio/typings/index.ngfactory.js.pre-build-optimizer.js","webpack:///./node_modules/@angular/material/radio/typings/index.d.ts.MatRadioButton.html","webpack:///./node_modules/@angular/material/divider/typings/index.ngfactory.js.pre-build-optimizer.js","webpack:///./src/common/billing/upgrade-page/accepted-payments-header/accepted-payments-header.component.ts","webpack:///./src/common/billing/upgrade-page/accepted-payments-header/accepted-payments-header.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/common/billing/upgrade-page/accepted-payments-header/accepted-payments-header.component.scss.ngstyle.js.pre-build-optimizer.js","webpack:///./src/common/billing/upgrade-page/accepted-payments-header/accepted-payments-header.component.html","webpack:///./src/common/billing/upgrade-page/upgrade-page-aside/upgrade-page-aside.component.ts","webpack:///./src/common/billing/upgrade-page/upgrade-page-aside/upgrade-page-aside.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/common/billing/upgrade-page/upgrade-page-aside/upgrade-page-aside.component.scss.ngstyle.js.pre-build-optimizer.js","webpack:///./src/common/billing/upgrade-page/upgrade-page-aside/upgrade-page-aside.component.html","webpack:///./src/common/billing/plans/select-plan-period-panel/select-plan-period-panel.component.ts","webpack:///./src/common/billing/plans/select-plan-period-panel/select-plan-period-panel.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/common/billing/plans/select-plan-period-panel/select-plan-period-panel.component.scss.ngstyle.js.pre-build-optimizer.js","webpack:///./src/common/billing/plans/select-plan-period-panel/select-plan-period-panel.component.html","webpack:///./node_modules/@angular/material/tabs/typings/index.ngfactory.js.pre-build-optimizer.js","webpack:///./node_modules/@angular/material/tabs/typings/index.d.ts.MatTabGroup.html","webpack:///./node_modules/@angular/material/tabs/typings/index.d.ts.MatTabBody.html","webpack:///./node_modules/@angular/material/tabs/typings/index.d.ts.MatTabHeader.html","webpack:///./node_modules/@angular/material/tabs/typings/index.d.ts.MatTab.html","webpack:///./src/common/billing/upgrade-page/order-summary/order-summary.component.ts","webpack:///./src/common/billing/upgrade-page/order-summary/order-summary.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/common/billing/upgrade-page/order-summary/order-summary.component.scss.ngstyle.js.pre-build-optimizer.js","webpack:///./src/common/billing/upgrade-page/order-summary/order-summary.component.html","webpack:///./src/common/billing/credit-card-form/credit-card-form.component.ts","webpack:///./src/common/billing/credit-card-form/credit-card-form.component.ts.pre-build-optimizer.js","webpack:///./src/common/billing/credit-card-form/credit-card-form.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/common/billing/credit-card-form/credit-card-form.component.scss.ngstyle.js.pre-build-optimizer.js","webpack:///./src/common/billing/credit-card-form/credit-card-form.component.html","webpack:///./src/common/billing/subscriptions/create-subscription-panel/create-subscription-panel.component.ts","webpack:///./src/common/billing/subscriptions/paypal-subscriptions.ts","webpack:///./src/common/billing/subscriptions/create-subscription-panel/create-subscription-panel.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/common/billing/subscriptions/create-subscription-panel/create-subscription-panel.component.scss.ngstyle.js.pre-build-optimizer.js","webpack:///./src/common/billing/subscriptions/create-subscription-panel/create-subscription-panel.component.html","webpack:///./src/common/billing/upgrade-page/upgrade-page.component.ts","webpack:///./src/common/billing/upgrade-page/upgrade-page.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/common/billing/upgrade-page/upgrade-page.component.scss.ngstyle.js.pre-build-optimizer.js","webpack:///./src/common/billing/upgrade-page/upgrade-page.component.html","webpack:///./src/common/billing/plans/select-plan-modal/select-plan-modal.component.ts","webpack:///./src/common/billing/subscriptions/user-subscription-page/user-subscription-page.component.ts","webpack:///./src/common/billing/subscriptions/user-subscription-page/user-subscription-page.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/common/billing/subscriptions/user-subscription-page/user-subscription-page.component.scss.ngstyle.js.pre-build-optimizer.js","webpack:///./src/common/billing/subscriptions/user-subscription-page/user-subscription-page.component.html","webpack:///./src/common/billing/plans/select-plan-modal/select-plan-modal.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/common/billing/plans/select-plan-modal/select-plan-modal.component.scss.ngstyle.js.pre-build-optimizer.js","webpack:///./src/common/billing/plans/select-plan-modal/select-plan-modal.component.html","webpack:///./src/common/billing/upgrade-page/billing-plans-resolver.service.ts","webpack:///./src/common/billing/upgrade-page/currencies-list-resolver.service.ts","webpack:///./src/common/billing/guards/user-not-subscribed-guard.service.ts","webpack:///./src/common/billing/guards/user-subscribed-guard.service.ts","webpack:///./src/common/billing/billing-routing.module.ts","webpack:///./src/common/billing/billing.module.ngfactory.js.pre-build-optimizer.js","webpack:///./src/common/shared/billing/full-plan-name/full-plan-name.component.ngfactory.js.pre-build-optimizer.js","webpack:///./src/common/shared/billing/full-plan-name/full-plan-name.component.ts.FullPlanNameComponent.html","webpack:///./src/common/shared/billing/subscriptions.service.ts.pre-build-optimizer.js","webpack:///./src/common/shared/billing/subscriptions.service.ts"],"names":["__webpack_require__","d","__webpack_exports__","MatListModule","MatNavList","MatList","MatListIconCssMatStyler","MatListItem","MatListOption","MatSelectionList","tslib__WEBPACK_IMPORTED_MODULE_0__","_angular_core__WEBPACK_IMPORTED_MODULE_1__","_angular_material_core__WEBPACK_IMPORTED_MODULE_2__","rxjs__WEBPACK_IMPORTED_MODULE_3__","rxjs__WEBPACK_IMPORTED_MODULE_4__","rxjs_operators__WEBPACK_IMPORTED_MODULE_5__","_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_6__","_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_7__","_angular_cdk_collections__WEBPACK_IMPORTED_MODULE_8__","_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_9__","MatListBase","_MatListMixinBase","Object","MatListItemBase","_MatListItemMixinBase","_super","_this","apply","this","arguments","_stateChanges","prototype","ngOnChanges","next","ngOnDestroy","complete","_elementRef","call","_getListType","elementRef","nodeName","nativeElement","toLowerCase","_element","navList","list","_changeDetectorRef","_isInteractiveList","_destroyed","_list","element","_getHostElement","hasAttribute","setAttribute","pipe","subscribe","markForCheck","ngAfterContentInit","_lines","_isRippleDisabled","disableRipple","MatSelectionListBase","_MatSelectionListMixinBase","MatListOptionBase","_MatListOptionMixinBase","MatSelectionListChange","source","option","_changeDetector","selectionList","_selected","_disabled","_hasFocus","checkboxPosition","defineProperty","get","_value","set","newValue","selected","value","enumerable","configurable","disabled","selectedOptions","isSelected","_setSelected","_reportValueChange","ngOnInit","wasSelected","Promise","resolve","then","hadFocus","newActiveItem","_removeOptionFromList","focus","toggle","getLabel","_text","textContent","_handleClick","_emitChangeEvent","_handleFocus","_setFocusedOption","_handleBlur","_onTouched","select","deselect","_markForCheck","tabIndex","selectionChange","_onChange","_","_modelChanges","EMPTY","parseInt","_markOptionsForCheck","_keyManager","options","withWrap","withTypeAhead","skipPredicate","withAllowedModifierKeys","_tempValues","_setOptionsFromValues","onChange","event","added","_i","_a","length","removed","_b","_c","changes","disableRippleChanges","firstChange","unsubscribe","selectAll","_setAllOptionsSelected","deselectAll","updateActiveItemIndex","_getOptionIndex","optionIndex","activeItemIndex","Math","min","activeItem","_keydown","keyCode","manager","previousFocusIndex","hasModifier","_toggleFocusedOption","preventDefault","setFirstItemActive","setLastItemActive","find","onKeydown","shiftKey","_getSelectedOptionValues","emit","writeValue","values","setDisabledState","isDisabled","registerOnChange","fn","registerOnTouched","forEach","correspondingOption","compareWith","filter","map","focusedIndex","_isValidIndex","focusedOption","toArray","hasChanged","index","indexOf","RenderType_MatList","View_MatList_0","RenderType_MatListItem","View_MatListItem_0","RenderType_MatListOption","View_MatListOption_0","RenderType_MatSelectionList","View_MatSelectionList_0","_angular_core__WEBPACK_IMPORTED_MODULE_0__","_angular_material_core__WEBPACK_IMPORTED_MODULE_4__","_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_6__","_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_8__","_core_typings_index_ngfactory__WEBPACK_IMPORTED_MODULE_9__","encapsulation","styles","data","_l","trigger","_ck","_v","_co","component","unbounded","state","_animationMode","FullPlanNameComponent","_core_utils_uc_first__WEBPACK_IMPORTED_MODULE_0__","i18n","getFullPlanName","plan","name","parent","t","MatDivider","MatDividerModule","_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_0__","_vertical","_inset","MatInkBar","_MAT_INK_BAR_POSITIONER","MatTabBody","MatTabBodyPortal","MatTabHeader","MatTabLabelWrapper","MatTab","MatTabNav","MatTabsModule","MAT_TABS_CONFIG","MatTabGroup","tslib__WEBPACK_IMPORTED_MODULE_1__","_angular_cdk_portal__WEBPACK_IMPORTED_MODULE_2__","_angular_material_core__WEBPACK_IMPORTED_MODULE_3__","rxjs__WEBPACK_IMPORTED_MODULE_5__","rxjs__WEBPACK_IMPORTED_MODULE_6__","rxjs__WEBPACK_IMPORTED_MODULE_7__","rxjs__WEBPACK_IMPORTED_MODULE_8__","rxjs__WEBPACK_IMPORTED_MODULE_9__","rxjs_operators__WEBPACK_IMPORTED_MODULE_11__","rxjs_operators__WEBPACK_IMPORTED_MODULE_12__","rxjs_operators__WEBPACK_IMPORTED_MODULE_13__","_angular_cdk_coercion__WEBPACK_IMPORTED_MODULE_14__","_angular_cdk_keycodes__WEBPACK_IMPORTED_MODULE_15__","_angular_cdk_a11y__WEBPACK_IMPORTED_MODULE_16__","_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_17__","providedIn","factory","left","offsetLeft","width","offsetWidth","_ngZone","_inkBarPositioner","alignToElement","show","requestAnimationFrame","runOutsideAngular","_setStyles","style","visibility","hide","positions","inkBar","MatTabBase","_viewContainerRef","textLabel","_contentPortal","position","origin","isActive","hasOwnProperty","_explicitContent","_implicitContent","componentFactoryResolver","viewContainerRef","_host","_centeringSub","_leavingSub","_beforeCentering","_isCenterPosition","_position","isCentering","hasAttached","attach","_content","_afterLeavingCenter","detach","_dir","changeDetectorRef","_dirChangeSubscription","_translateTabComplete","_onCentering","_onCentered","animationDuration","change","dir","_computePositionAnimationState","x","y","fromState","toState","_positionIndex","_computePositionFromOrigin","_onTranslateTabStarted","clientHeight","_getLayoutDirection","MatTabLabelWrapperBase","getOffsetLeft","getOffsetWidth","passiveEventListenerOptions","passive","MatTabHeaderBase","_viewportRuler","_platform","_scrollDistance","_selectedIndexChanged","_showPaginationControls","_disableScrollAfter","_disableScrollBefore","_stopScrolling","_selectedIndex","selectFocusedIndex","indexFocused","bindEvent","_stopInterval","ngAfterContentChecked","_tabLabelCount","_labelWrappers","updatePagination","_scrollToLabel","_checkScrollingControls","_alignInkBarToSelectedTab","_scrollDistanceChanged","_updateTabScrollPosition","_handleKeydown","focusIndex","dirChange","resize","realign","withHorizontalOrientation","updateActiveItem","newFocusIndex","_setTabFocus","ngAfterViewInit","_previousPaginator","_handlePaginatorPress","_nextPaginator","_onContentChanges","_currentTextContent","zoneCallback","run","_checkPaginationEnabled","setActiveItem","tab","containerEl","_tabListContainer","scrollLeft","scrollWidth","scrollDistance","platform","translateX","_tabList","transform","round","TRIDENT","EDGE","_scrollTo","_scrollHeader","direction","_handlePaginatorClick","labelIndex","selectedLabel","labelBeforePos","labelAfterPos","viewLength","beforeVisiblePos","afterVisiblePos","isEnabled","_getMaxScrollDistance","selectedLabelWrapper","selectedIndex","_inkBar","distance","maxScrollDistance","max","nextId","MatTabChangeEvent","MatTabGroupBase","defaultConfig","_indexToSelect","_tabBodyWrapperHeight","_tabsSubscription","_tabLabelSubscription","_dynamicHeight","headerPosition","selectedIndexChange","focusChange","animationDone","selectedTabChange","_groupId","_animationDuration","test","_backgroundColor","classList","remove","backgroundColor","add","indexToSelect","_clampTabIndex","isFirstRun_1","_createChangeEvent","_tabs","_subscribeToTabLabels","tabs","i","realignInkBar","_tabHeader","_focusChanged","_getTabLabelId","_getTabContentId","_setTabBodyWrapperHeight","tabHeight","wrapper","_tabBodyWrapper","height","offsetHeight","_removeTabBodyWrapperHeight","tabHeader","_getTabIndex","idx","MatTabNavBase","_onDestroy","updateActiveLink","_activeLinkChanged","_alignInkBar","activeTab","_tabLinks","active","_activeLinkElement","RenderType_MatOption","View_MatOption_0","RenderType_MatPseudoCheckbox","View_MatPseudoCheckbox_0","_angular_material_core__WEBPACK_IMPORTED_MODULE_1__","_angular_cdk_platform__WEBPACK_IMPORTED_MODULE_4__","_angular_common__WEBPACK_IMPORTED_MODULE_5__","_angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_6__","View_MatOption_1","ngIf","multiple","BillingEnabledGuard","_core_config_settings_service__WEBPACK_IMPORTED_MODULE_1__","_angular_router__WEBPACK_IMPORTED_MODULE_2__","settings","router","canActivate","route","handle","canActivateChild","navigate","ngInjectableDef","token","ucFirst","string","charAt","toUpperCase","slice","Plans","_core_http_app_http_client_service__WEBPACK_IMPORTED_MODULE_1__","http","all","params","id","create","post","sync","update","put","delete","MatProgressBarModule","MAT_PROGRESS_BAR_LOCATION","MatProgressBar","rxjs__WEBPACK_IMPORTED_MODULE_2__","rxjs_operators__WEBPACK_IMPORTED_MODULE_4__","_angular_material_core__WEBPACK_IMPORTED_MODULE_5__","_angular_common__WEBPACK_IMPORTED_MODULE_6__","MatProgressBarBase","_MatProgressBarMixinBase","_document","_location","location","getPathname","pathname","search","progressbarId","_isNoopAnimation","_bufferValue","animationEnd","_animationEndSubscription","mode","path","split","_rectangleFillValue","v","clamp","emitAnimationEnd","_primaryTransform","_bufferTransform","bufferValue","_primaryValueBar","e","target","FullPlanNameModule","BillingModule","CdkStepLabel","template","CdkStepHeader","STEPPER_GLOBAL_OPTIONS","core","stepper_es5_CdkStep","CdkStep","_stepper","stepperOptions","interacted","_editable","_optional","_customCompleted","_customError","_stepperOptions","_displayDefaultIndicatorType","displayDefaultIndicatorType","_showError","showError","coercion_es5","_getDefaultCompleted","stepControl","valid","_getDefaultError","invalid","reset","_stateChanged","stepper_es5_CdkStepper","CdkStepper","Subject","_linear","_orientation","_steps","newIndex","steps","Error","_anyControlsInvalidOrPending","editable","_updateSelectedItemIndex","step","a11y_es5","_stepHeader","withVerticalOrientation","of","startWith","_layoutDirection","takeUntil","previous","_getStepLabelId","_getStepContentId","_getAnimationDirection","_getIndicatorType","isCurrentStep","_isCurrentStep","_getDefaultIndicatorLogic","_getGuidelineLogic","hasError","completed","_getFocusIndex","stepsArray","previouslySelectedIndex","selectedStep","previouslySelectedStep","_containsFocus","_onKeydown","keycodes_es5","some","control","pending","optional","stepperElement","focusedElement","activeElement","contains","CdkStepperPrevious","type","CdkStepperModule","stepper_es5_MatStepLabel","MatStepLabel","tslib_es6","stepper_es5_MatStepperIntl","MatStepperIntl","optionalLabel","MAT_STEPPER_INTL_PROVIDER_FACTORY","parentIntl","stepper_es5_MatStepHeader","MatStepHeader","_intl","_focusMonitor","monitor","_intlSubscription","stopMonitoring","_stringLabel","label","_templateLabel","_getIconContext","_getDefaultTextForState","state$$1","MatStepperIcon","templateRef","stepper_es5_MatStep","MatStep","stepper","_errorStateMatcher","isErrorState","form","stepper_es5_MatStepper","MatStepper","_iconOverrides","_animationDone","_icons","distinctUntilChanged","stepper_es5_MatHorizontalStepper","MatHorizontalStepper","labelPosition","stepper_es5_MatStepperPrevious","MatStepperPrevious","MatStepperModule","RenderType_MatStep","View_MatStep_1","View_MatStep_0","content","RenderType_MatHorizontalStepper","animation","definitions","offset","undefined","expr","timings","View_MatHorizontalStepper_2","View_MatHorizontalStepper_1","en","$event","ad","context","$implicit","View_MatStepHeader_0","RenderType_MatStepHeader","errorMessage","iconOverrides","common","stepLabel","linear","last","ariaLabel","ariaLabelledby","View_MatHorizontalStepper_3","ngTemplateOutlet","View_MatHorizontalStepper_0","ngForOf","View_MatStepHeader_1","ngTemplateOutletContext","View_MatStepHeader_3","View_MatStepHeader_4","icon_typings_index_ngfactory","icon_es5","inline","color","View_MatStepHeader_2","ngSwitch","ngSwitchCase","View_MatStepHeader_5","View_MatStepHeader_6","View_MatStepHeader_7","View_MatStepHeader_8","core_es5","platform_es5","fesm5_animations","PlanFeaturesListComponent","showCheckIcons","dense","getPlan","RenderType_PlanFeaturesListComponent","View_PlanFeaturesListComponent_4","svgIcon","list_es5","View_PlanFeaturesListComponent_3","list_typings_index_ngfactory","_avatar","_icon","key","View_PlanFeaturesListComponent_2","permissions","View_PlanFeaturesListComponent_7","View_PlanFeaturesListComponent_6","View_PlanFeaturesListComponent_5","features","View_PlanFeaturesListComponent_1","show_permissions","View_PlanFeaturesListComponent_0","select_plan_panel_component_SelectPlanPanelComponent","SelectPlanPanelComponent","hasRecommendedPlan","plans","recommended","selectPlan","selectInitialPlan","setTimeout","getAllPlans","free","parent_id","SubscriptionStepperState","initialPlan","selectedPlan","children","getChildPlans","radioGroupModel","selectPlanById","setPlans","RenderType_SelectPlanPanelComponent","View_SelectPlanPanelComponent_2","button_typings_index_ngfactory","translate_directive","translations_service","settings_service","button_es5","View_SelectPlanPanelComponent_3","View_SelectPlanPanelComponent_1","currency_symbol","currVal_3","amount","interval","View_SelectPlanPanelComponent_0","ContactWidgetComponent","RenderType_ContactWidgetComponent","View_ContactWidgetComponent_0","_haltDisabledEvents","onClick","button","ctrlKey","metaKey","routerLink","toString","href","nextUniqueId","MatRadioChange","radio_es5_MatRadioGroup","MatRadioGroup","_name","_isInitialized","_labelPosition","_required","_controlValueAccessorChangeFn","onTouched","_updateRadioButtonNames","_markRadiosForCheck","_updateSelectedRadioFromValue","_checkSelectedRadioButton","checked","_touch","_radios","radio","MatRadioButtonBase","radio_es5_MatRadioButton","MatRadioButton","radioGroup","_radioDispatcher","_uniqueId","_checked","_removeUniqueSelectionListener","listen","newCheckedState","notify","newDisabledState","required","focusVia","_inputElement","focusOrigin","_onInputClick","stopPropagation","_onInputChange","groupValueChanged","MatRadioModule","RenderType_MatRadioButton","View_MatRadioButton_0","centered","radius","enterDuration","currVal_4","inputId","ariaDescribedby","RenderType_MatDivider","View_MatDivider_0","AcceptedPaymentsHeaderComponent","el","acceptedCards","getJson","getCardIcon","card","getAssetUrl","RenderType_AcceptedPaymentsHeaderComponent","View_AcceptedPaymentsHeaderComponent_1","View_AcceptedPaymentsHeaderComponent_0","UpgradePageAsideComponent","RenderType_UpgradePageAsideComponent","View_UpgradePageAsideComponent_1","full_plan_name_component_ngfactory","full_plan_name_component","divider_es5","vertical","inset","View_UpgradePageAsideComponent_0","select_plan_period_panel_component_SelectPlanPeriodPanelComponent","SelectPlanPeriodPanelComponent","showSidebar","getPlanSavings","base","getPlanPerMonthAmount","ceil","interval_count","RenderType_SelectPlanPeriodPanelComponent","View_SelectPlanPeriodPanelComponent_2","collections_es5","currVal_9","currency","View_SelectPlanPeriodPanelComponent_3","View_SelectPlanPeriodPanelComponent_1","fesm5_forms","p0_0","model","ngClassUntouched","ngClassTouched","ngClassPristine","ngClassDirty","ngClassValid","ngClassInvalid","ngClassPending","currVal_16","View_SelectPlanPeriodPanelComponent_0","RenderType_MatTabGroup","View_MatTabGroup_3","View_MatTabGroup_2","portal_es5","portal","templateLabel","View_MatTabGroup_4","View_MatTabGroup_1","tabs_es5","View_MatTabGroup_5","View_MatTabBody_0","RenderType_MatTabBody","bidi_es5","View_MatTabGroup_0","View_MatTabHeader_0","RenderType_MatTabHeader","scrolling_es5","minHeight","View_MatTabBody_1","_portalHost","currVal_0","observers_es5","RenderType_MatTab","View_MatTab_1","View_MatTab_0","OrderSummaryComponent","RenderType_OrderSummaryComponent","View_OrderSummaryComponent_1","currVal_1","currVal_2","View_OrderSummaryComponent_0","credit_card_form_component_CreditCardFormComponent","CreditCardFormComponent","subscriptions","currentUser","zone","lazyLoader","toast","created","submitButtonText","showSubmitButton","showOrderSummary","loading","stripeElements","resetForm","initStripe","destroyStripe","submitForm","thisArg","generator","error","body","f","g","sent","trys","ops","verb","throw","return","Symbol","iterator","n","op","TypeError","done","pop","push","__generator","open","stripe","createToken","message","addCardToUser","P","reject","fulfilled","rejected","result","stripeToken","addCard","finalize","response","assignCurrent","user","messages","general","loadScript","Stripe","elements","field","classes","mount","on","bind","unmount","destroy","RenderType_CreditCardFormComponent","View_CreditCardFormComponent_1","View_CreditCardFormComponent_2","View_CreditCardFormComponent_3","View_CreditCardFormComponent_0","onSubmit","onReset","ngSubmit","create_subscription_panel_component_CreateSubscriptionPanelComponent","CreateSubscriptionPanelComponent","paypal","_loading","submitText","disablePaypalTab","errors","subscribeOnStripe","getSubscription","gateway","planId","status","startLoading","createOnStripe","getNewSubscriptionPayload","completeSubscription","stopLoading","subscribeOnPaypal","catch","payload","plan_id","from","renews_at","paypal_subscriptions_PaypalSubscriptions","PaypalSubscriptions","popupWidth","popupHeight","popupParams","menubar","locationbar","toolbar","titlebar","scrollbars","subscriptionPending","executingAgreement","popup","openPaypalPopup","getBaseUrl","rejectSubscribe","resolveSubscribe","createPaypalAgreement","listenForMessages","urls","approve","rejectSubscriptionPromise","changePlan","subscription","cancel","start_date","window","addEventListener","executePaypalAgreement","resolveSubscriptionPromise","errorResponse","url","assign","screen","top","newWindow","keys","join","setInterval","closed","clearInterval","agreement_id","RenderType_CreateSubscriptionPanelComponent","View_CreateSubscriptionPanelComponent_1","subscriptions_service","current_user","lazy_loader_service","toast_service","View_CreateSubscriptionPanelComponent_2","View_CreateSubscriptionPanelComponent_0","dynamicHeight","UpgradePageComponent","sanitizer","nextStep","onCompleted","replacements","planName","getSelectedOrParentPlanName","getBackground","bypassSecurityTrustStyle","RenderType_UpgradePageComponent","View_UpgradePageComponent_1","View_UpgradePageComponent_0","translate_pipe","material_navbar_component_ngfactory","material_navbar_component","breakpoints_service","loading_indicator_component_ngfactory","loading_indicator_component","isVisible","currVal_6","currVal_8","currVal_11","transparent","View_UpgradePageComponent_Host_0","platform_browser","UpgradePageComponentNgFactory","SelectPlanModalComponent","dialogRef","close","user_subscription_page_component_UserSubscriptionPageComponent","UserSubscriptionPageComponent","modal","paypalSubscriptions","activeSubscription","canResume","onGracePeriod","canCancel","isSubscribed","canChangePaymentMethod","getFormattedEndDate","ends_at","getFormattedRenewDate","maybeCancelSubscription","confirm_modal_component","title","ok","afterClosed","confirmed","cancelSubscription","showSelectPlanModal","snapshot","updateUserAndSubscription","resumeSubscription","resume","setSubscription","onPaymentMethodChange","request","share","RenderType_UserSubscriptionPageComponent","View_UserSubscriptionPageComponent_1","View_UserSubscriptionPageComponent_2","View_UserSubscriptionPageComponent_4","View_UserSubscriptionPageComponent_3","View_UserSubscriptionPageComponent_5","View_UserSubscriptionPageComponent_0","menuPosition","View_UserSubscriptionPageComponent_Host_0","modal_service","UserSubscriptionPageComponentNgFactory","RenderType_SelectPlanModalComponent","View_SelectPlanModalComponent_0","dialog_es5","View_SelectPlanModalComponent_Host_0","SelectPlanModalComponentNgFactory","billing_plans_resolver_service_BillingPlansResolver","BillingPlansResolver","order","toPromise","currencies_list_resolver_service_CurrenciesListResolver","CurrenciesListResolver","valueLists","currencies","UserNotSubscribedGuard","UserSubscribedGuard","BillingRoutingModule","BillingModuleNgFactory","router_ngfactory","index_ngfactory","confirm_modal_component_ngfactory","typings_index_ngfactory","tooltip_typings_index_ngfactory","overlay_es5","menu_es5","tooltip_es5","layout_es5","plans_service","value_lists_service","app_http_client_service","custom_scrollbar_module","confirm_modal_module","translations_module","snack_bar_es5","checkbox_es5","ui_module","full_plan_name_module","progress_bar_es5","billing_enabled_guard_service","auth_guard_service","RenderType_FullPlanNameComponent","View_FullPlanNameComponent_0","Subscriptions","newPlanId"],"mappings":"6FAAAA,EAAAC,EAAAC,EAAA,sBAAAC,IAAAH,EAAAC,EAAAC,EAAA,sBAAAE,IAAAJ,EAAAC,EAAAC,EAAA,sBAAAG,IAAAL,EAAAC,EAAAC,EAAA,sBAAAI,IAAAN,EAAAC,EAAAC,EAAA,sBAAAK,IAAAP,EAAAC,EAAAC,EAAA,sBAAAM,IAAAR,EAAAC,EAAAC,EAAA,sBAAAO,IAAA,IAAAC,EAAAV,EAAA,QAAAW,EAAAX,EAAA,QAAAY,EAAAZ,EAAA,QAAAa,EAAAb,EAAA,QAAAc,EAAAd,EAAA,QAAAe,EAAAf,EAAA,QAAAgB,EAAAhB,EAAA,QAAAiB,EAAAjB,EAAA,QAAAkB,EAAAlB,EAAA,QAAAmB,EAAAnB,EAAA,QAiCAoB,GAjCApB,EAAA,QAiC6B,WAGzB,OAFA,aADwB,IAMxBqB,EAAoBC,OAAAV,EAAA,EAAAU,CAAmBF,GAU3CG,EAAiC,WAG7B,OAFA,aAD4B,GAM5BC,EAAwBF,OAAAV,EAAA,EAAAU,CAAmBC,GAC3CnB,EAA4B,SAAUqB,GAEtC,SAASrB,IACL,IAAIsB,EAAmB,OAAXD,GAAmBA,EAAOE,MAAMC,KAAMC,YAAcD,KAKhE,OADAF,EAAMI,cAAgB,IAAIjB,EAAA,EACnBa,EAkCX,OAzCAJ,OAAAZ,EAAA,EAAAY,CAAUlB,EAAYqB,GAYtBrB,EAAW2B,UAAUC,YAGrB,WACIJ,KAAKE,cAAcG,QAKvB7B,EAAW2B,UAAUG,YAGrB,WACIN,KAAKE,cAAcK,YAgBhB/B,EA1CoB,CA2C7BiB,GACEhB,EAAyB,SAAUoB,GAMnC,SAASpB,EAAQ+B,GACb,IAAIV,EAAQD,EAAOY,KAAKT,OAAS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CnCOupB,EAAA9kC,UAAAwb,IAAP,SAAWC,GACP,OAAO5b,KAAK0b,KAAK3Y,IAAI,wBAAyB6Y,IAM3CqpB,EAAA9kC,UAAA4C,IAAP,SAAW8Y,GACP,OAAO7b,KAAK0b,KAAK3Y,IAAI,yBAA2B8Y,IAM7CopB,EAAA9kC,UAAAm6B,eAAP,SAAsB1e,GAClB,OAAO5b,KAAK0b,KAAKK,KAAK,+BAAgCH,IAMnDqpB,EAAA9kC,UAAA8b,OAAP,SAAcJ,EAAYD,GACtB,OAAO5b,KAAK0b,KAAKQ,IAAI,yBAA2BL,EAAID,IAMjDqpB,EAAA9kC,UAAA2b,OAAP,SAAcF,GACV,OAAO5b,KAAK0b,KAAKK,KAAK,wBAAyBH,IAM5CqpB,EAAA9kC,UAAAq8B,OAAP,SAAc3gB,EAAYD,GACtB,OAAO5b,KAAK0b,KAAKS,OAAO,yBAA2BN,EAAID,IAGpDqpB,EAAA9kC,UAAAqhC,OAAP,SAAc3lB,GACV,OAAO7b,KAAK0b,KAAKK,KAAK,yBAA2BF,EAAK,YAGnDopB,EAAA9kC,UAAAm8B,WAAP,SAAkBzgB,EAAYtQ,GAC1B,OAAOvL,KAAK0b,KAAKK,KAAK,yBAA2BF,EAAK,eAAgB,CAACqpB,UAAW35B,EAAKsQ,MAGpFopB,EAAA9kC,UAAA63B,QAAP,SAAe9c,GACX,OAAOlb,KAAK0b,KAAKK,KAAK,2BAA4B,CAACb,MAAKA,KDd5D+pB,EAAchqB,gBAAkB/Q,EAAA,EAAoB,CAAEyD,QAAS,WAAmC,OAAO,IAAIs3B,EAAc/6B,EAAA,GAAUuR,EAAA,KAAuBP,MAAO+pB,EAAev3B,WAAY,SACvLu3B,EChDX","file":"6.7a0a52abff038d27aeba.js","sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { __extends } from 'tslib';\nimport { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Optional, ViewEncapsulation, ChangeDetectorRef, Attribute, EventEmitter, forwardRef, Inject, Input, Output, ViewChild, NgModule } from '@angular/core';\nimport { MatLine, setLines, mixinDisableRipple, MatCommonModule, MatLineModule, MatPseudoCheckboxModule, MatRippleModule } from '@angular/material/core';\nimport { Subject, Subscription } from 'rxjs';\nimport { takeUntil } from 'rxjs/operators';\nimport { FocusKeyManager } from '@angular/cdk/a11y';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { SelectionModel } from '@angular/cdk/collections';\nimport { SPACE, ENTER, HOME, END, UP_ARROW, DOWN_ARROW, A, hasModifierKey } from '@angular/cdk/keycodes';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { CommonModule } from '@angular/common';\nimport { MatDividerModule } from '@angular/material/divider';\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// Boilerplate for applying mixins to MatList.\n/**\n * \\@docs-private\n */\nvar  \n// Boilerplate for applying mixins to MatList.\n/**\n * \\@docs-private\n */\nMatListBase = /** @class */ (function () {\n    function MatListBase() {\n    }\n    return MatListBase;\n}());\n/** @type {?} */\nvar _MatListMixinBase = mixinDisableRipple(MatListBase);\n// Boilerplate for applying mixins to MatListItem.\n/**\n * \\@docs-private\n */\nvar  \n// Boilerplate for applying mixins to MatListItem.\n/**\n * \\@docs-private\n */\nMatListItemBase = /** @class */ (function () {\n    function MatListItemBase() {\n    }\n    return MatListItemBase;\n}());\n/** @type {?} */\nvar _MatListItemMixinBase = mixinDisableRipple(MatListItemBase);\nvar MatNavList = /** @class */ (function (_super) {\n    __extends(MatNavList, _super);\n    function MatNavList() {\n        var _this = _super !== null && _super.apply(this, arguments) || this;\n        /**\n         * Emits when the state of the list changes.\n         */\n        _this._stateChanges = new Subject();\n        return _this;\n    }\n    /**\n     * @return {?}\n     */\n    MatNavList.prototype.ngOnChanges = /**\n     * @return {?}\n     */\n    function () {\n        this._stateChanges.next();\n    };\n    /**\n     * @return {?}\n     */\n    MatNavList.prototype.ngOnDestroy = /**\n     * @return {?}\n     */\n    function () {\n        this._stateChanges.complete();\n    };\n    MatNavList.decorators = [\n        { type: Component, args: [{selector: 'mat-nav-list',\n                    exportAs: 'matNavList',\n                    host: {\n                        'role': 'navigation',\n                        'class': 'mat-nav-list mat-list-base'\n                    },\n                    template: \"<ng-content></ng-content>\",\n                    styles: [\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}\"],\n                    inputs: ['disableRipple'],\n                    encapsulation: ViewEncapsulation.None,\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                },] },\n    ];\n    return MatNavList;\n}(_MatListMixinBase));\nvar MatList = /** @class */ (function (_super) {\n    __extends(MatList, _super);\n    /**\n     * @deprecated _elementRef parameter to be made required.\n     * @breaking-change 8.0.0\n     */\n    function MatList(_elementRef) {\n        var _this = _super.call(this) || this;\n        _this._elementRef = _elementRef;\n        /**\n         * Emits when the state of the list changes.\n         */\n        _this._stateChanges = new Subject();\n        return _this;\n    }\n    /**\n     * @return {?}\n     */\n    MatList.prototype._getListType = /**\n     * @return {?}\n     */\n    function () {\n        /** @type {?} */\n        var elementRef = this._elementRef;\n        // @breaking-change 8.0.0 Remove null check once _elementRef is a required param.\n        if (elementRef) {\n            /** @type {?} */\n            var nodeName = elementRef.nativeElement.nodeName.toLowerCase();\n            if (nodeName === 'mat-list') {\n                return 'list';\n            }\n            if (nodeName === 'mat-action-list') {\n                return 'action-list';\n            }\n        }\n        return null;\n    };\n    /**\n     * @return {?}\n     */\n    MatList.prototype.ngOnChanges = /**\n     * @return {?}\n     */\n    function () {\n        this._stateChanges.next();\n    };\n    /**\n     * @return {?}\n     */\n    MatList.prototype.ngOnDestroy = /**\n     * @return {?}\n     */\n    function () {\n        this._stateChanges.complete();\n    };\n    MatList.decorators = [\n        { type: Component, args: [{selector: 'mat-list, mat-action-list',\n                    exportAs: 'matList',\n                    template: \"<ng-content></ng-content>\",\n                    host: {\n                        'class': 'mat-list mat-list-base'\n                    },\n                    styles: [\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}\"],\n                    inputs: ['disableRipple'],\n                    encapsulation: ViewEncapsulation.None,\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                },] },\n    ];\n    /** @nocollapse */\n    MatList.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    return MatList;\n}(_MatListMixinBase));\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * \\@docs-private\n */\nvar MatListAvatarCssMatStyler = /** @class */ (function () {\n    function MatListAvatarCssMatStyler() {\n    }\n    MatListAvatarCssMatStyler.decorators = [\n        { type: Directive, args: [{\n                    selector: '[mat-list-avatar], [matListAvatar]',\n                    host: { 'class': 'mat-list-avatar' }\n                },] },\n    ];\n    return MatListAvatarCssMatStyler;\n}());\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * \\@docs-private\n */\nvar MatListIconCssMatStyler = /** @class */ (function () {\n    function MatListIconCssMatStyler() {\n    }\n    MatListIconCssMatStyler.decorators = [\n        { type: Directive, args: [{\n                    selector: '[mat-list-icon], [matListIcon]',\n                    host: { 'class': 'mat-list-icon' }\n                },] },\n    ];\n    return MatListIconCssMatStyler;\n}());\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n * \\@docs-private\n */\nvar MatListSubheaderCssMatStyler = /** @class */ (function () {\n    function MatListSubheaderCssMatStyler() {\n    }\n    MatListSubheaderCssMatStyler.decorators = [\n        { type: Directive, args: [{\n                    selector: '[mat-subheader], [matSubheader]',\n                    host: { 'class': 'mat-subheader' }\n                },] },\n    ];\n    return MatListSubheaderCssMatStyler;\n}());\n/**\n * An item within a Material Design list.\n */\nvar MatListItem = /** @class */ (function (_super) {\n    __extends(MatListItem, _super);\n    function MatListItem(_element, navList, list, \n    // @breaking-change 8.0.0 `_changeDetectorRef` to be made into a required parameter.\n    _changeDetectorRef) {\n        var _this = _super.call(this) || this;\n        _this._element = _element;\n        _this._isInteractiveList = false;\n        _this._destroyed = new Subject();\n        _this._isInteractiveList = !!(navList || (list && list._getListType() === 'action-list'));\n        _this._list = navList || list;\n        // If no type attributed is specified for <button>, set it to \"button\".\n        // If a type attribute is already specified, do nothing.\n        /** @type {?} */\n        var element = _this._getHostElement();\n        if (element.nodeName.toLowerCase() === 'button' && !element.hasAttribute('type')) {\n            element.setAttribute('type', 'button');\n        }\n        // @breaking-change 8.0.0 Remove null check for _changeDetectorRef.\n        if (_this._list && _changeDetectorRef) {\n            // React to changes in the state of the parent list since\n            // some of the item's properties depend on it (e.g. `disableRipple`).\n            _this._list._stateChanges.pipe(takeUntil(_this._destroyed)).subscribe(function () {\n                _changeDetectorRef.markForCheck();\n            });\n        }\n        return _this;\n    }\n    /**\n     * @return {?}\n     */\n    MatListItem.prototype.ngAfterContentInit = /**\n     * @return {?}\n     */\n    function () {\n        setLines(this._lines, this._element);\n    };\n    /**\n     * @return {?}\n     */\n    MatListItem.prototype.ngOnDestroy = /**\n     * @return {?}\n     */\n    function () {\n        this._destroyed.next();\n        this._destroyed.complete();\n    };\n    /** Whether this list item should show a ripple effect when clicked. */\n    /**\n     * Whether this list item should show a ripple effect when clicked.\n     * @return {?}\n     */\n    MatListItem.prototype._isRippleDisabled = /**\n     * Whether this list item should show a ripple effect when clicked.\n     * @return {?}\n     */\n    function () {\n        return !this._isInteractiveList || this.disableRipple ||\n            !!(this._list && this._list.disableRipple);\n    };\n    /** Retrieves the DOM element of the component host. */\n    /**\n     * Retrieves the DOM element of the component host.\n     * @return {?}\n     */\n    MatListItem.prototype._getHostElement = /**\n     * Retrieves the DOM element of the component host.\n     * @return {?}\n     */\n    function () {\n        return this._element.nativeElement;\n    };\n    MatListItem.decorators = [\n        { type: Component, args: [{selector: 'mat-list-item, a[mat-list-item], button[mat-list-item]',\n                    exportAs: 'matListItem',\n                    host: {\n                        'class': 'mat-list-item',\n                        // @breaking-change 8.0.0 Remove `mat-list-item-avatar` in favor of `mat-list-item-with-avatar`.\n                        '[class.mat-list-item-avatar]': '_avatar || _icon',\n                        '[class.mat-list-item-with-avatar]': '_avatar || _icon',\n                    },\n                    inputs: ['disableRipple'],\n                    template: \"<div class=\\\"mat-list-item-content\\\"><div class=\\\"mat-list-item-ripple\\\" mat-ripple [matRippleTrigger]=\\\"_getHostElement()\\\" [matRippleDisabled]=\\\"_isRippleDisabled()\\\"></div><ng-content select=\\\"[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]\\\"></ng-content><div class=\\\"mat-list-text\\\"><ng-content select=\\\"[mat-line], [matLine]\\\"></ng-content></div><ng-content></ng-content></div>\",\n                    encapsulation: ViewEncapsulation.None,\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                },] },\n    ];\n    /** @nocollapse */\n    MatListItem.ctorParameters = function () { return [\n        { type: ElementRef },\n        { type: MatNavList, decorators: [{ type: Optional }] },\n        { type: MatList, decorators: [{ type: Optional }] },\n        { type: ChangeDetectorRef }\n    ]; };\n    MatListItem.propDecorators = {\n        _lines: [{ type: ContentChildren, args: [MatLine,] }],\n        _avatar: [{ type: ContentChild, args: [MatListAvatarCssMatStyler,] }],\n        _icon: [{ type: ContentChild, args: [MatListIconCssMatStyler,] }]\n    };\n    return MatListItem;\n}(_MatListItemMixinBase));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * \\@docs-private\n */\nvar  /**\n * \\@docs-private\n */\nMatSelectionListBase = /** @class */ (function () {\n    function MatSelectionListBase() {\n    }\n    return MatSelectionListBase;\n}());\n/** @type {?} */\nvar _MatSelectionListMixinBase = mixinDisableRipple(MatSelectionListBase);\n/**\n * \\@docs-private\n */\nvar  /**\n * \\@docs-private\n */\nMatListOptionBase = /** @class */ (function () {\n    function MatListOptionBase() {\n    }\n    return MatListOptionBase;\n}());\n/** @type {?} */\nvar _MatListOptionMixinBase = mixinDisableRipple(MatListOptionBase);\n/**\n * \\@docs-private\n * @type {?}\n */\nvar MAT_SELECTION_LIST_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: forwardRef(function () { return MatSelectionList; }),\n    multi: true\n};\n/**\n * Change event that is being fired whenever the selected state of an option changes.\n */\nvar  /**\n * Change event that is being fired whenever the selected state of an option changes.\n */\nMatSelectionListChange = /** @class */ (function () {\n    function MatSelectionListChange(source, option) {\n        this.source = source;\n        this.option = option;\n    }\n    return MatSelectionListChange;\n}());\n/**\n * Component for list-options of selection-list. Each list-option can automatically\n * generate a checkbox and can put current item into the selectionModel of selection-list\n * if the current item is selected.\n */\nvar MatListOption = /** @class */ (function (_super) {\n    __extends(MatListOption, _super);\n    function MatListOption(_element, _changeDetector, selectionList) {\n        var _this = _super.call(this) || this;\n        _this._element = _element;\n        _this._changeDetector = _changeDetector;\n        _this.selectionList = selectionList;\n        _this._selected = false;\n        _this._disabled = false;\n        _this._hasFocus = false;\n        /**\n         * Whether the label should appear before or after the checkbox. Defaults to 'after'\n         */\n        _this.checkboxPosition = 'after';\n        return _this;\n    }\n    Object.defineProperty(MatListOption.prototype, \"value\", {\n        /** Value of the option */\n        get: /**\n         * Value of the option\n         * @return {?}\n         */\n        function () { return this._value; },\n        set: /**\n         * @param {?} newValue\n         * @return {?}\n         */\n        function (newValue) {\n            if (this.selected && newValue !== this.value) {\n                this.selected = false;\n            }\n            this._value = newValue;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatListOption.prototype, \"disabled\", {\n        /** Whether the option is disabled. */\n        get: /**\n         * Whether the option is disabled.\n         * @return {?}\n         */\n        function () { return this._disabled || (this.selectionList && this.selectionList.disabled); },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            /** @type {?} */\n            var newValue = coerceBooleanProperty(value);\n            if (newValue !== this._disabled) {\n                this._disabled = newValue;\n                this._changeDetector.markForCheck();\n            }\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatListOption.prototype, \"selected\", {\n        /** Whether the option is selected. */\n        get: /**\n         * Whether the option is selected.\n         * @return {?}\n         */\n        function () { return this.selectionList.selectedOptions.isSelected(this); },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            /** @type {?} */\n            var isSelected = coerceBooleanProperty(value);\n            if (isSelected !== this._selected) {\n                this._setSelected(isSelected);\n                this.selectionList._reportValueChange();\n            }\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * @return {?}\n     */\n    MatListOption.prototype.ngOnInit = /**\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        // List options that are selected at initialization can't be reported properly to the form\n        // control. This is because it takes some time until the selection-list knows about all\n        // available options. Also it can happen that the ControlValueAccessor has an initial value\n        // that should be used instead. Deferring the value change report to the next tick ensures\n        // that the form control value is not being overwritten.\n        /** @type {?} */\n        var wasSelected = this._selected;\n        Promise.resolve().then(function () {\n            if (_this._selected || wasSelected) {\n                _this.selected = true;\n                _this._changeDetector.markForCheck();\n            }\n        });\n    };\n    /**\n     * @return {?}\n     */\n    MatListOption.prototype.ngAfterContentInit = /**\n     * @return {?}\n     */\n    function () {\n        setLines(this._lines, this._element);\n    };\n    /**\n     * @return {?}\n     */\n    MatListOption.prototype.ngOnDestroy = /**\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        if (this.selected) {\n            // We have to delay this until the next tick in order\n            // to avoid changed after checked errors.\n            Promise.resolve().then(function () { return _this.selected = false; });\n        }\n        /** @type {?} */\n        var hadFocus = this._hasFocus;\n        /** @type {?} */\n        var newActiveItem = this.selectionList._removeOptionFromList(this);\n        // Only move focus if this option was focused at the time it was destroyed.\n        if (hadFocus && newActiveItem) {\n            newActiveItem.focus();\n        }\n    };\n    /** Toggles the selection state of the option. */\n    /**\n     * Toggles the selection state of the option.\n     * @return {?}\n     */\n    MatListOption.prototype.toggle = /**\n     * Toggles the selection state of the option.\n     * @return {?}\n     */\n    function () {\n        this.selected = !this.selected;\n    };\n    /** Allows for programmatic focusing of the option. */\n    /**\n     * Allows for programmatic focusing of the option.\n     * @return {?}\n     */\n    MatListOption.prototype.focus = /**\n     * Allows for programmatic focusing of the option.\n     * @return {?}\n     */\n    function () {\n        this._element.nativeElement.focus();\n    };\n    /**\n     * Returns the list item's text label. Implemented as a part of the FocusKeyManager.\n     * @docs-private\n     */\n    /**\n     * Returns the list item's text label. Implemented as a part of the FocusKeyManager.\n     * \\@docs-private\n     * @return {?}\n     */\n    MatListOption.prototype.getLabel = /**\n     * Returns the list item's text label. Implemented as a part of the FocusKeyManager.\n     * \\@docs-private\n     * @return {?}\n     */\n    function () {\n        return this._text ? (this._text.nativeElement.textContent || '') : '';\n    };\n    /** Whether this list item should show a ripple effect when clicked. */\n    /**\n     * Whether this list item should show a ripple effect when clicked.\n     * @return {?}\n     */\n    MatListOption.prototype._isRippleDisabled = /**\n     * Whether this list item should show a ripple effect when clicked.\n     * @return {?}\n     */\n    function () {\n        return this.disabled || this.disableRipple || this.selectionList.disableRipple;\n    };\n    /**\n     * @return {?}\n     */\n    MatListOption.prototype._handleClick = /**\n     * @return {?}\n     */\n    function () {\n        if (!this.disabled) {\n            this.toggle();\n            // Emit a change event if the selected state of the option changed through user interaction.\n            this.selectionList._emitChangeEvent(this);\n        }\n    };\n    /**\n     * @return {?}\n     */\n    MatListOption.prototype._handleFocus = /**\n     * @return {?}\n     */\n    function () {\n        this.selectionList._setFocusedOption(this);\n        this._hasFocus = true;\n    };\n    /**\n     * @return {?}\n     */\n    MatListOption.prototype._handleBlur = /**\n     * @return {?}\n     */\n    function () {\n        this.selectionList._onTouched();\n        this._hasFocus = false;\n    };\n    /** Retrieves the DOM element of the component host. */\n    /**\n     * Retrieves the DOM element of the component host.\n     * @return {?}\n     */\n    MatListOption.prototype._getHostElement = /**\n     * Retrieves the DOM element of the component host.\n     * @return {?}\n     */\n    function () {\n        return this._element.nativeElement;\n    };\n    /** Sets the selected state of the option. Returns whether the value has changed. */\n    /**\n     * Sets the selected state of the option. Returns whether the value has changed.\n     * @param {?} selected\n     * @return {?}\n     */\n    MatListOption.prototype._setSelected = /**\n     * Sets the selected state of the option. Returns whether the value has changed.\n     * @param {?} selected\n     * @return {?}\n     */\n    function (selected) {\n        if (selected === this._selected) {\n            return false;\n        }\n        this._selected = selected;\n        if (selected) {\n            this.selectionList.selectedOptions.select(this);\n        }\n        else {\n            this.selectionList.selectedOptions.deselect(this);\n        }\n        this._changeDetector.markForCheck();\n        return true;\n    };\n    /**\n     * Notifies Angular that the option needs to be checked in the next change detection run. Mainly\n     * used to trigger an update of the list option if the disabled state of the selection list\n     * changed.\n     */\n    /**\n     * Notifies Angular that the option needs to be checked in the next change detection run. Mainly\n     * used to trigger an update of the list option if the disabled state of the selection list\n     * changed.\n     * @return {?}\n     */\n    MatListOption.prototype._markForCheck = /**\n     * Notifies Angular that the option needs to be checked in the next change detection run. Mainly\n     * used to trigger an update of the list option if the disabled state of the selection list\n     * changed.\n     * @return {?}\n     */\n    function () {\n        this._changeDetector.markForCheck();\n    };\n    MatListOption.decorators = [\n        { type: Component, args: [{selector: 'mat-list-option',\n                    exportAs: 'matListOption',\n                    inputs: ['disableRipple'],\n                    host: {\n                        'role': 'option',\n                        'class': 'mat-list-item mat-list-option',\n                        '(focus)': '_handleFocus()',\n                        '(blur)': '_handleBlur()',\n                        '(click)': '_handleClick()',\n                        'tabindex': '-1',\n                        '[class.mat-list-item-disabled]': 'disabled',\n                        '[class.mat-list-item-with-avatar]': '_avatar || _icon',\n                        '[attr.aria-selected]': 'selected.toString()',\n                        '[attr.aria-disabled]': 'disabled.toString()',\n                    },\n                    template: \"<div class=\\\"mat-list-item-content\\\" [class.mat-list-item-content-reverse]=\\\"checkboxPosition == 'after'\\\"><div mat-ripple class=\\\"mat-list-item-ripple\\\" [matRippleTrigger]=\\\"_getHostElement()\\\" [matRippleDisabled]=\\\"_isRippleDisabled()\\\"></div><mat-pseudo-checkbox [state]=\\\"selected ? 'checked' : 'unchecked'\\\" [disabled]=\\\"disabled\\\"></mat-pseudo-checkbox><div class=\\\"mat-list-text\\\" #text><ng-content></ng-content></div><ng-content select=\\\"[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]\\\"></ng-content></div>\",\n                    encapsulation: ViewEncapsulation.None,\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                },] },\n    ];\n    /** @nocollapse */\n    MatListOption.ctorParameters = function () { return [\n        { type: ElementRef },\n        { type: ChangeDetectorRef },\n        { type: MatSelectionList, decorators: [{ type: Inject, args: [forwardRef(function () { return MatSelectionList; }),] }] }\n    ]; };\n    MatListOption.propDecorators = {\n        _avatar: [{ type: ContentChild, args: [MatListAvatarCssMatStyler,] }],\n        _icon: [{ type: ContentChild, args: [MatListIconCssMatStyler,] }],\n        _lines: [{ type: ContentChildren, args: [MatLine,] }],\n        _text: [{ type: ViewChild, args: ['text',] }],\n        checkboxPosition: [{ type: Input }],\n        value: [{ type: Input }],\n        disabled: [{ type: Input }],\n        selected: [{ type: Input }]\n    };\n    return MatListOption;\n}(_MatListOptionMixinBase));\n/**\n * Material Design list component where each item is a selectable option. Behaves as a listbox.\n */\nvar MatSelectionList = /** @class */ (function (_super) {\n    __extends(MatSelectionList, _super);\n    function MatSelectionList(_element, tabIndex) {\n        var _this = _super.call(this) || this;\n        _this._element = _element;\n        /**\n         * Emits a change event whenever the selected state of an option changes.\n         */\n        _this.selectionChange = new EventEmitter();\n        /**\n         * Tabindex of the selection list.\n         */\n        _this.tabIndex = 0;\n        _this._disabled = false;\n        /**\n         * The currently selected options.\n         */\n        _this.selectedOptions = new SelectionModel(true);\n        /**\n         * View to model callback that should be called whenever the selected options change.\n         */\n        _this._onChange = function (_) { };\n        /**\n         * Subscription to sync value changes in the SelectionModel back to the SelectionList.\n         */\n        _this._modelChanges = Subscription.EMPTY;\n        /**\n         * View to model callback that should be called if the list or its options lost focus.\n         */\n        _this._onTouched = function () { };\n        _this.tabIndex = parseInt(tabIndex) || 0;\n        return _this;\n    }\n    Object.defineProperty(MatSelectionList.prototype, \"disabled\", {\n        /** Whether the selection list is disabled. */\n        get: /**\n         * Whether the selection list is disabled.\n         * @return {?}\n         */\n        function () { return this._disabled; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            this._disabled = coerceBooleanProperty(value);\n            // The `MatSelectionList` and `MatListOption` are using the `OnPush` change detection\n            // strategy. Therefore the options will not check for any changes if the `MatSelectionList`\n            // changed its state. Since we know that a change to `disabled` property of the list affects\n            // the state of the options, we manually mark each option for check.\n            this._markOptionsForCheck();\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * @return {?}\n     */\n    MatSelectionList.prototype.ngAfterContentInit = /**\n     * @return {?}\n     */\n    function () {\n        this._keyManager = new FocusKeyManager(this.options)\n            .withWrap()\n            .withTypeAhead()\n            // Allow disabled items to be focusable. For accessibility reasons, there must be a way for\n            // screenreader users, that allows reading the different options of the list.\n            .skipPredicate(function () { return false; })\n            .withAllowedModifierKeys(['shiftKey']);\n        if (this._tempValues) {\n            this._setOptionsFromValues(this._tempValues);\n            this._tempValues = null;\n        }\n        // Sync external changes to the model back to the options.\n        this._modelChanges = this.selectedOptions.onChange.subscribe(function (event) {\n            if (event.added) {\n                for (var _i = 0, _a = event.added; _i < _a.length; _i++) {\n                    var item = _a[_i];\n                    item.selected = true;\n                }\n            }\n            if (event.removed) {\n                for (var _b = 0, _c = event.removed; _b < _c.length; _b++) {\n                    var item = _c[_b];\n                    item.selected = false;\n                }\n            }\n        });\n    };\n    /**\n     * @param {?} changes\n     * @return {?}\n     */\n    MatSelectionList.prototype.ngOnChanges = /**\n     * @param {?} changes\n     * @return {?}\n     */\n    function (changes) {\n        /** @type {?} */\n        var disableRippleChanges = changes.disableRipple;\n        if (disableRippleChanges && !disableRippleChanges.firstChange) {\n            this._markOptionsForCheck();\n        }\n    };\n    /**\n     * @return {?}\n     */\n    MatSelectionList.prototype.ngOnDestroy = /**\n     * @return {?}\n     */\n    function () {\n        this._modelChanges.unsubscribe();\n    };\n    /** Focuses the last active list option. */\n    /**\n     * Focuses the last active list option.\n     * @return {?}\n     */\n    MatSelectionList.prototype.focus = /**\n     * Focuses the last active list option.\n     * @return {?}\n     */\n    function () {\n        this._element.nativeElement.focus();\n    };\n    /** Selects all of the options. */\n    /**\n     * Selects all of the options.\n     * @return {?}\n     */\n    MatSelectionList.prototype.selectAll = /**\n     * Selects all of the options.\n     * @return {?}\n     */\n    function () {\n        this._setAllOptionsSelected(true);\n    };\n    /** Deselects all of the options. */\n    /**\n     * Deselects all of the options.\n     * @return {?}\n     */\n    MatSelectionList.prototype.deselectAll = /**\n     * Deselects all of the options.\n     * @return {?}\n     */\n    function () {\n        this._setAllOptionsSelected(false);\n    };\n    /** Sets the focused option of the selection-list. */\n    /**\n     * Sets the focused option of the selection-list.\n     * @param {?} option\n     * @return {?}\n     */\n    MatSelectionList.prototype._setFocusedOption = /**\n     * Sets the focused option of the selection-list.\n     * @param {?} option\n     * @return {?}\n     */\n    function (option) {\n        this._keyManager.updateActiveItemIndex(this._getOptionIndex(option));\n    };\n    /**\n     * Removes an option from the selection list and updates the active item.\n     * @returns Currently-active item.\n     */\n    /**\n     * Removes an option from the selection list and updates the active item.\n     * @param {?} option\n     * @return {?} Currently-active item.\n     */\n    MatSelectionList.prototype._removeOptionFromList = /**\n     * Removes an option from the selection list and updates the active item.\n     * @param {?} option\n     * @return {?} Currently-active item.\n     */\n    function (option) {\n        /** @type {?} */\n        var optionIndex = this._getOptionIndex(option);\n        if (optionIndex > -1 && this._keyManager.activeItemIndex === optionIndex) {\n            // Check whether the option is the last item\n            if (optionIndex > 0) {\n                this._keyManager.updateActiveItemIndex(optionIndex - 1);\n            }\n            else if (optionIndex === 0 && this.options.length > 1) {\n                this._keyManager.updateActiveItemIndex(Math.min(optionIndex + 1, this.options.length - 1));\n            }\n        }\n        return this._keyManager.activeItem;\n    };\n    /** Passes relevant key presses to our key manager. */\n    /**\n     * Passes relevant key presses to our key manager.\n     * @param {?} event\n     * @return {?}\n     */\n    MatSelectionList.prototype._keydown = /**\n     * Passes relevant key presses to our key manager.\n     * @param {?} event\n     * @return {?}\n     */\n    function (event) {\n        /** @type {?} */\n        var keyCode = event.keyCode;\n        /** @type {?} */\n        var manager = this._keyManager;\n        /** @type {?} */\n        var previousFocusIndex = manager.activeItemIndex;\n        /** @type {?} */\n        var hasModifier = hasModifierKey(event);\n        switch (keyCode) {\n            case SPACE:\n            case ENTER:\n                if (!hasModifier) {\n                    this._toggleFocusedOption();\n                    // Always prevent space from scrolling the page since the list has focus\n                    event.preventDefault();\n                }\n                break;\n            case HOME:\n            case END:\n                if (!hasModifier) {\n                    keyCode === HOME ? manager.setFirstItemActive() : manager.setLastItemActive();\n                    event.preventDefault();\n                }\n                break;\n            case A:\n                if (hasModifierKey(event, 'ctrlKey')) {\n                    this.options.find(function (option) { return !option.selected; }) ? this.selectAll() : this.deselectAll();\n                    event.preventDefault();\n                }\n                break;\n            default:\n                manager.onKeydown(event);\n        }\n        if ((keyCode === UP_ARROW || keyCode === DOWN_ARROW) && event.shiftKey &&\n            manager.activeItemIndex !== previousFocusIndex) {\n            this._toggleFocusedOption();\n        }\n    };\n    /** Reports a value change to the ControlValueAccessor */\n    /**\n     * Reports a value change to the ControlValueAccessor\n     * @return {?}\n     */\n    MatSelectionList.prototype._reportValueChange = /**\n     * Reports a value change to the ControlValueAccessor\n     * @return {?}\n     */\n    function () {\n        if (this.options) {\n            this._onChange(this._getSelectedOptionValues());\n        }\n    };\n    /** Emits a change event if the selected state of an option changed. */\n    /**\n     * Emits a change event if the selected state of an option changed.\n     * @param {?} option\n     * @return {?}\n     */\n    MatSelectionList.prototype._emitChangeEvent = /**\n     * Emits a change event if the selected state of an option changed.\n     * @param {?} option\n     * @return {?}\n     */\n    function (option) {\n        this.selectionChange.emit(new MatSelectionListChange(this, option));\n    };\n    /** Implemented as part of ControlValueAccessor. */\n    /**\n     * Implemented as part of ControlValueAccessor.\n     * @param {?} values\n     * @return {?}\n     */\n    MatSelectionList.prototype.writeValue = /**\n     * Implemented as part of ControlValueAccessor.\n     * @param {?} values\n     * @return {?}\n     */\n    function (values) {\n        if (this.options) {\n            this._setOptionsFromValues(values || []);\n        }\n        else {\n            this._tempValues = values;\n        }\n    };\n    /** Implemented as a part of ControlValueAccessor. */\n    /**\n     * Implemented as a part of ControlValueAccessor.\n     * @param {?} isDisabled\n     * @return {?}\n     */\n    MatSelectionList.prototype.setDisabledState = /**\n     * Implemented as a part of ControlValueAccessor.\n     * @param {?} isDisabled\n     * @return {?}\n     */\n    function (isDisabled) {\n        this.disabled = isDisabled;\n    };\n    /** Implemented as part of ControlValueAccessor. */\n    /**\n     * Implemented as part of ControlValueAccessor.\n     * @param {?} fn\n     * @return {?}\n     */\n    MatSelectionList.prototype.registerOnChange = /**\n     * Implemented as part of ControlValueAccessor.\n     * @param {?} fn\n     * @return {?}\n     */\n    function (fn) {\n        this._onChange = fn;\n    };\n    /** Implemented as part of ControlValueAccessor. */\n    /**\n     * Implemented as part of ControlValueAccessor.\n     * @param {?} fn\n     * @return {?}\n     */\n    MatSelectionList.prototype.registerOnTouched = /**\n     * Implemented as part of ControlValueAccessor.\n     * @param {?} fn\n     * @return {?}\n     */\n    function (fn) {\n        this._onTouched = fn;\n    };\n    /** Sets the selected options based on the specified values. */\n    /**\n     * Sets the selected options based on the specified values.\n     * @private\n     * @param {?} values\n     * @return {?}\n     */\n    MatSelectionList.prototype._setOptionsFromValues = /**\n     * Sets the selected options based on the specified values.\n     * @private\n     * @param {?} values\n     * @return {?}\n     */\n    function (values) {\n        var _this = this;\n        this.options.forEach(function (option) { return option._setSelected(false); });\n        values.forEach(function (value) {\n            /** @type {?} */\n            var correspondingOption = _this.options.find(function (option) {\n                // Skip options that are already in the model. This allows us to handle cases\n                // where the same primitive value is selected multiple times.\n                if (option.selected) {\n                    return false;\n                }\n                return _this.compareWith ? _this.compareWith(option.value, value) : option.value === value;\n            });\n            if (correspondingOption) {\n                correspondingOption._setSelected(true);\n            }\n        });\n    };\n    /** Returns the values of the selected options. */\n    /**\n     * Returns the values of the selected options.\n     * @private\n     * @return {?}\n     */\n    MatSelectionList.prototype._getSelectedOptionValues = /**\n     * Returns the values of the selected options.\n     * @private\n     * @return {?}\n     */\n    function () {\n        return this.options.filter(function (option) { return option.selected; }).map(function (option) { return option.value; });\n    };\n    /** Toggles the state of the currently focused option if enabled. */\n    /**\n     * Toggles the state of the currently focused option if enabled.\n     * @private\n     * @return {?}\n     */\n    MatSelectionList.prototype._toggleFocusedOption = /**\n     * Toggles the state of the currently focused option if enabled.\n     * @private\n     * @return {?}\n     */\n    function () {\n        /** @type {?} */\n        var focusedIndex = this._keyManager.activeItemIndex;\n        if (focusedIndex != null && this._isValidIndex(focusedIndex)) {\n            /** @type {?} */\n            var focusedOption = this.options.toArray()[focusedIndex];\n            if (focusedOption && !focusedOption.disabled) {\n                focusedOption.toggle();\n                // Emit a change event because the focused option changed its state through user\n                // interaction.\n                this._emitChangeEvent(focusedOption);\n            }\n        }\n    };\n    /**\n     * Sets the selected state on all of the options\n     * and emits an event if anything changed.\n     */\n    /**\n     * Sets the selected state on all of the options\n     * and emits an event if anything changed.\n     * @private\n     * @param {?} isSelected\n     * @return {?}\n     */\n    MatSelectionList.prototype._setAllOptionsSelected = /**\n     * Sets the selected state on all of the options\n     * and emits an event if anything changed.\n     * @private\n     * @param {?} isSelected\n     * @return {?}\n     */\n    function (isSelected) {\n        // Keep track of whether anything changed, because we only want to\n        // emit the changed event when something actually changed.\n        /** @type {?} */\n        var hasChanged = false;\n        this.options.forEach(function (option) {\n            if (option._setSelected(isSelected)) {\n                hasChanged = true;\n            }\n        });\n        if (hasChanged) {\n            this._reportValueChange();\n        }\n    };\n    /**\n     * Utility to ensure all indexes are valid.\n     * @param index The index to be checked.\n     * @returns True if the index is valid for our list of options.\n     */\n    /**\n     * Utility to ensure all indexes are valid.\n     * @private\n     * @param {?} index The index to be checked.\n     * @return {?} True if the index is valid for our list of options.\n     */\n    MatSelectionList.prototype._isValidIndex = /**\n     * Utility to ensure all indexes are valid.\n     * @private\n     * @param {?} index The index to be checked.\n     * @return {?} True if the index is valid for our list of options.\n     */\n    function (index) {\n        return index >= 0 && index < this.options.length;\n    };\n    /** Returns the index of the specified list option. */\n    /**\n     * Returns the index of the specified list option.\n     * @private\n     * @param {?} option\n     * @return {?}\n     */\n    MatSelectionList.prototype._getOptionIndex = /**\n     * Returns the index of the specified list option.\n     * @private\n     * @param {?} option\n     * @return {?}\n     */\n    function (option) {\n        return this.options.toArray().indexOf(option);\n    };\n    /** Marks all the options to be checked in the next change detection run. */\n    /**\n     * Marks all the options to be checked in the next change detection run.\n     * @private\n     * @return {?}\n     */\n    MatSelectionList.prototype._markOptionsForCheck = /**\n     * Marks all the options to be checked in the next change detection run.\n     * @private\n     * @return {?}\n     */\n    function () {\n        if (this.options) {\n            this.options.forEach(function (option) { return option._markForCheck(); });\n        }\n    };\n    MatSelectionList.decorators = [\n        { type: Component, args: [{selector: 'mat-selection-list',\n                    exportAs: 'matSelectionList',\n                    inputs: ['disableRipple'],\n                    host: {\n                        'role': 'listbox',\n                        '[tabIndex]': 'tabIndex',\n                        'class': 'mat-selection-list mat-list-base',\n                        '(focus)': 'focus()',\n                        '(blur)': '_onTouched()',\n                        '(keydown)': '_keydown($event)',\n                        'aria-multiselectable': 'true',\n                        '[attr.aria-disabled]': 'disabled.toString()',\n                    },\n                    template: '<ng-content></ng-content>',\n                    styles: [\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}\"],\n                    encapsulation: ViewEncapsulation.None,\n                    providers: [MAT_SELECTION_LIST_VALUE_ACCESSOR],\n                    changeDetection: ChangeDetectionStrategy.OnPush\n                },] },\n    ];\n    /** @nocollapse */\n    MatSelectionList.ctorParameters = function () { return [\n        { type: ElementRef },\n        { type: String, decorators: [{ type: Attribute, args: ['tabindex',] }] }\n    ]; };\n    MatSelectionList.propDecorators = {\n        options: [{ type: ContentChildren, args: [MatListOption, { descendants: true },] }],\n        selectionChange: [{ type: Output }],\n        tabIndex: [{ type: Input }],\n        compareWith: [{ type: Input }],\n        disabled: [{ type: Input }]\n    };\n    return MatSelectionList;\n}(_MatSelectionListMixinBase));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nvar MatListModule = /** @class */ (function () {\n    function MatListModule() {\n    }\n    MatListModule.decorators = [\n        { type: NgModule, args: [{\n                    imports: [MatLineModule, MatRippleModule, MatCommonModule, MatPseudoCheckboxModule, CommonModule],\n                    exports: [\n                        MatList,\n                        MatNavList,\n                        MatListItem,\n                        MatListAvatarCssMatStyler,\n                        MatLineModule,\n                        MatCommonModule,\n                        MatListIconCssMatStyler,\n                        MatListSubheaderCssMatStyler,\n                        MatPseudoCheckboxModule,\n                        MatSelectionList,\n                        MatListOption,\n                        MatDividerModule\n                    ],\n                    declarations: [\n                        MatList,\n                        MatNavList,\n                        MatListItem,\n                        MatListAvatarCssMatStyler,\n                        MatListIconCssMatStyler,\n                        MatListSubheaderCssMatStyler,\n                        MatSelectionList,\n                        MatListOption\n                    ],\n                },] },\n    ];\n    return MatListModule;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\nexport { MatListModule, MatListBase, _MatListMixinBase, MatListItemBase, _MatListItemMixinBase, MatNavList, MatList, MatListAvatarCssMatStyler, MatListIconCssMatStyler, MatListSubheaderCssMatStyler, MatListItem, MatSelectionListBase, _MatSelectionListMixinBase, MatListOptionBase, _MatListOptionMixinBase, MAT_SELECTION_LIST_VALUE_ACCESSOR, MatSelectionListChange, MatListOption, MatSelectionList };\n//# sourceMappingURL=list.es5.js.map\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/list\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/cdk/bidi\";\nimport * as i4 from \"@angular/material/core\";\nimport * as i5 from \"@angular/platform-browser\";\nimport * as i6 from \"@angular/cdk/platform\";\nimport * as i7 from \"@angular/material/divider\";\nimport * as i8 from \"@angular/platform-browser/animations\";\nimport * as i9 from \"../../core/typings/index.ngfactory\";\nimport * as i10 from \"@angular/forms\";\nvar MatListModuleNgFactory = i0.ɵcmf(i1.MatListModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(4608, i2.NgLocalization, i2.NgLocaleLocalization, [i0.LOCALE_ID, [2, i2.ɵangular_packages_common_common_a]]), i0.ɵmpd(1073742336, i3.BidiModule, i3.BidiModule, []), i0.ɵmpd(1073742336, i4.MatCommonModule, i4.MatCommonModule, [[2, i4.MATERIAL_SANITY_CHECKS], [2, i5.HAMMER_LOADER]]), i0.ɵmpd(1073742336, i4.MatLineModule, i4.MatLineModule, []), i0.ɵmpd(1073742336, i6.PlatformModule, i6.PlatformModule, []), i0.ɵmpd(1073742336, i4.MatRippleModule, i4.MatRippleModule, []), i0.ɵmpd(1073742336, i4.MatPseudoCheckboxModule, i4.MatPseudoCheckboxModule, []), i0.ɵmpd(1073742336, i2.CommonModule, i2.CommonModule, []), i0.ɵmpd(1073742336, i7.MatDividerModule, i7.MatDividerModule, []), i0.ɵmpd(1073742336, i1.MatListModule, i1.MatListModule, [])]); });\nexport { MatListModuleNgFactory as MatListModuleNgFactory };\nvar styles_MatNavList = [\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}\"];\nvar RenderType_MatNavList = i0.ɵcrt({ encapsulation: 2, styles: styles_MatNavList, data: {} });\nexport { RenderType_MatNavList as RenderType_MatNavList };\nexport function View_MatNavList_0(_l) { return i0.ɵvid(2, [i0.ɵncd(null, 0)], null, null); }\nexport function View_MatNavList_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"mat-nav-list\", [[\"class\", \"mat-nav-list mat-list-base\"], [\"role\", \"navigation\"]], null, null, null, View_MatNavList_0, RenderType_MatNavList)), i0.ɵdid(1, 704512, null, 0, i1.MatNavList, [], null, null)], null, null); }\nvar MatNavListNgFactory = i0.ɵccf(\"mat-nav-list\", i1.MatNavList, View_MatNavList_Host_0, { disableRipple: \"disableRipple\" }, {}, [\"*\"]);\nexport { MatNavListNgFactory as MatNavListNgFactory };\nvar styles_MatList = [\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}\"];\nvar RenderType_MatList = i0.ɵcrt({ encapsulation: 2, styles: styles_MatList, data: {} });\nexport { RenderType_MatList as RenderType_MatList };\nexport function View_MatList_0(_l) { return i0.ɵvid(2, [i0.ɵncd(null, 0)], null, null); }\nexport function View_MatList_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"mat-list\", [[\"class\", \"mat-list mat-list-base\"]], null, null, null, View_MatList_0, RenderType_MatList)), i0.ɵdid(1, 704512, null, 0, i1.MatList, [i0.ElementRef], null, null)], null, null); }\nvar MatListNgFactory = i0.ɵccf(\"mat-list, mat-action-list\", i1.MatList, View_MatList_Host_0, { disableRipple: \"disableRipple\" }, {}, [\"*\"]);\nexport { MatListNgFactory as MatListNgFactory };\nvar styles_MatListItem = [];\nvar RenderType_MatListItem = i0.ɵcrt({ encapsulation: 2, styles: styles_MatListItem, data: {} });\nexport { RenderType_MatListItem as RenderType_MatListItem };\nexport function View_MatListItem_0(_l) { return i0.ɵvid(2, [(_l()(), i0.ɵeld(0, 0, null, null, 6, \"div\", [[\"class\", \"mat-list-item-content\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"div\", [[\"class\", \"mat-list-item-ripple mat-ripple\"], [\"mat-ripple\", \"\"]], [[2, \"mat-ripple-unbounded\", null]], null, null, null, null)), i0.ɵdid(2, 212992, null, 0, i4.MatRipple, [i0.ElementRef, i0.NgZone, i6.Platform, [2, i4.MAT_RIPPLE_GLOBAL_OPTIONS], [2, i8.ANIMATION_MODULE_TYPE]], { disabled: [0, \"disabled\"], trigger: [1, \"trigger\"] }, null), i0.ɵncd(null, 0), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"div\", [[\"class\", \"mat-list-text\"]], null, null, null, null, null)), i0.ɵncd(null, 1), i0.ɵncd(null, 2)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co._isRippleDisabled(); var currVal_2 = _co._getHostElement(); _ck(_v, 2, 0, currVal_1, currVal_2); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 2).unbounded; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_MatListItem_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"mat-list-item\", [[\"class\", \"mat-list-item\"]], [[2, \"mat-list-item-avatar\", null], [2, \"mat-list-item-with-avatar\", null]], null, null, View_MatListItem_0, RenderType_MatListItem)), i0.ɵdid(1, 1228800, null, 3, i1.MatListItem, [i0.ElementRef, [2, i1.MatNavList], [2, i1.MatList], i0.ChangeDetectorRef], null, null), i0.ɵqud(603979776, 1, { _lines: 1 }), i0.ɵqud(335544320, 2, { _avatar: 0 }), i0.ɵqud(335544320, 3, { _icon: 0 })], null, function (_ck, _v) { var currVal_0 = (i0.ɵnov(_v, 1)._avatar || i0.ɵnov(_v, 1)._icon); var currVal_1 = (i0.ɵnov(_v, 1)._avatar || i0.ɵnov(_v, 1)._icon); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nvar MatListItemNgFactory = i0.ɵccf(\"mat-list-item, a[mat-list-item], button[mat-list-item]\", i1.MatListItem, View_MatListItem_Host_0, { disableRipple: \"disableRipple\" }, {}, [\"[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]\", \"[mat-line], [matLine]\", \"*\"]);\nexport { MatListItemNgFactory as MatListItemNgFactory };\nvar styles_MatListOption = [];\nvar RenderType_MatListOption = i0.ɵcrt({ encapsulation: 2, styles: styles_MatListOption, data: {} });\nexport { RenderType_MatListOption as RenderType_MatListOption };\nexport function View_MatListOption_0(_l) { return i0.ɵvid(2, [i0.ɵqud(402653184, 1, { _text: 0 }), (_l()(), i0.ɵeld(1, 0, null, null, 7, \"div\", [[\"class\", \"mat-list-item-content\"]], [[2, \"mat-list-item-content-reverse\", null]], null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"mat-list-item-ripple mat-ripple\"], [\"mat-ripple\", \"\"]], [[2, \"mat-ripple-unbounded\", null]], null, null, null, null)), i0.ɵdid(3, 212992, null, 0, i4.MatRipple, [i0.ElementRef, i0.NgZone, i6.Platform, [2, i4.MAT_RIPPLE_GLOBAL_OPTIONS], [2, i8.ANIMATION_MODULE_TYPE]], { disabled: [0, \"disabled\"], trigger: [1, \"trigger\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"mat-pseudo-checkbox\", [[\"class\", \"mat-pseudo-checkbox\"]], [[2, \"mat-pseudo-checkbox-indeterminate\", null], [2, \"mat-pseudo-checkbox-checked\", null], [2, \"mat-pseudo-checkbox-disabled\", null], [2, \"_mat-animation-noopable\", null]], null, null, i9.View_MatPseudoCheckbox_0, i9.RenderType_MatPseudoCheckbox)), i0.ɵdid(5, 49152, null, 0, i4.MatPseudoCheckbox, [[2, i8.ANIMATION_MODULE_TYPE]], { state: [0, \"state\"], disabled: [1, \"disabled\"] }, null), (_l()(), i0.ɵeld(6, 0, [[1, 0], [\"text\", 1]], null, 1, \"div\", [[\"class\", \"mat-list-text\"]], null, null, null, null, null)), i0.ɵncd(null, 0), i0.ɵncd(null, 1)], function (_ck, _v) { var _co = _v.component; var currVal_2 = _co._isRippleDisabled(); var currVal_3 = _co._getHostElement(); _ck(_v, 3, 0, currVal_2, currVal_3); var currVal_8 = (_co.selected ? \"checked\" : \"unchecked\"); var currVal_9 = _co.disabled; _ck(_v, 5, 0, currVal_8, currVal_9); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (_co.checkboxPosition == \"after\"); _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵnov(_v, 3).unbounded; _ck(_v, 2, 0, currVal_1); var currVal_4 = (i0.ɵnov(_v, 5).state === \"indeterminate\"); var currVal_5 = (i0.ɵnov(_v, 5).state === \"checked\"); var currVal_6 = i0.ɵnov(_v, 5).disabled; var currVal_7 = (i0.ɵnov(_v, 5)._animationMode === \"NoopAnimations\"); _ck(_v, 4, 0, currVal_4, currVal_5, currVal_6, currVal_7); }); }\nexport function View_MatListOption_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"mat-list-option\", [[\"class\", \"mat-list-item mat-list-option\"], [\"role\", \"option\"], [\"tabindex\", \"-1\"]], [[2, \"mat-list-item-disabled\", null], [2, \"mat-list-item-with-avatar\", null], [1, \"aria-selected\", 0], [1, \"aria-disabled\", 0]], [[null, \"focus\"], [null, \"blur\"], [null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"focus\" === en)) {\n        var pd_0 = (i0.ɵnov(_v, 1)._handleFocus() !== false);\n        ad = (pd_0 && ad);\n    } if ((\"blur\" === en)) {\n        var pd_1 = (i0.ɵnov(_v, 1)._handleBlur() !== false);\n        ad = (pd_1 && ad);\n    } if ((\"click\" === en)) {\n        var pd_2 = (i0.ɵnov(_v, 1)._handleClick() !== false);\n        ad = (pd_2 && ad);\n    } return ad; }, View_MatListOption_0, RenderType_MatListOption)), i0.ɵdid(1, 1294336, null, 3, i1.MatListOption, [i0.ElementRef, i0.ChangeDetectorRef, i1.MatSelectionList], null, null), i0.ɵqud(335544320, 1, { _avatar: 0 }), i0.ɵqud(335544320, 2, { _icon: 0 }), i0.ɵqud(603979776, 3, { _lines: 1 })], function (_ck, _v) { _ck(_v, 1, 0); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 1).disabled; var currVal_1 = (i0.ɵnov(_v, 1)._avatar || i0.ɵnov(_v, 1)._icon); var currVal_2 = i0.ɵnov(_v, 1).selected.toString(); var currVal_3 = i0.ɵnov(_v, 1).disabled.toString(); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3); }); }\nvar MatListOptionNgFactory = i0.ɵccf(\"mat-list-option\", i1.MatListOption, View_MatListOption_Host_0, { disableRipple: \"disableRipple\", checkboxPosition: \"checkboxPosition\", value: \"value\", disabled: \"disabled\", selected: \"selected\" }, {}, [\"*\", \"[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]\"]);\nexport { MatListOptionNgFactory as MatListOptionNgFactory };\nvar styles_MatSelectionList = [\".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}\"];\nvar RenderType_MatSelectionList = i0.ɵcrt({ encapsulation: 2, styles: styles_MatSelectionList, data: {} });\nexport { RenderType_MatSelectionList as RenderType_MatSelectionList };\nexport function View_MatSelectionList_0(_l) { return i0.ɵvid(2, [i0.ɵncd(null, 0)], null, null); }\nexport function View_MatSelectionList_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"mat-selection-list\", [[\"aria-multiselectable\", \"true\"], [\"class\", \"mat-selection-list mat-list-base\"], [\"role\", \"listbox\"]], [[8, \"tabIndex\", 0], [1, \"aria-disabled\", 0]], [[null, \"focus\"], [null, \"blur\"], [null, \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"focus\" === en)) {\n        var pd_0 = (i0.ɵnov(_v, 2).focus() !== false);\n        ad = (pd_0 && ad);\n    } if ((\"blur\" === en)) {\n        var pd_1 = (i0.ɵnov(_v, 2)._onTouched() !== false);\n        ad = (pd_1 && ad);\n    } if ((\"keydown\" === en)) {\n        var pd_2 = (i0.ɵnov(_v, 2)._keydown($event) !== false);\n        ad = (pd_2 && ad);\n    } return ad; }, View_MatSelectionList_0, RenderType_MatSelectionList)), i0.ɵprd(5120, null, i10.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i1.MatSelectionList]), i0.ɵdid(2, 1753088, null, 1, i1.MatSelectionList, [i0.ElementRef, [8, null]], null, null), i0.ɵqud(603979776, 1, { options: 1 })], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 2).tabIndex; var currVal_1 = i0.ɵnov(_v, 2).disabled.toString(); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nvar MatSelectionListNgFactory = i0.ɵccf(\"mat-selection-list\", i1.MatSelectionList, View_MatSelectionList_Host_0, { disableRipple: \"disableRipple\", tabIndex: \"tabIndex\", compareWith: \"compareWith\", disabled: \"disabled\" }, { selectionChange: \"selectionChange\" }, [\"*\"]);\nexport { MatSelectionListNgFactory as MatSelectionListNgFactory };\n","<ng-content></ng-content>","<div class=\"mat-list-item-content\"><div class=\"mat-list-item-ripple\" mat-ripple [matRippleTrigger]=\"_getHostElement()\" [matRippleDisabled]=\"_isRippleDisabled()\"></div><ng-content select=\"[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]\"></ng-content><div class=\"mat-list-text\"><ng-content select=\"[mat-line], [matLine]\"></ng-content></div><ng-content></ng-content></div>","<div class=\"mat-list-item-content\" [class.mat-list-item-content-reverse]=\"checkboxPosition == 'after'\"><div mat-ripple class=\"mat-list-item-ripple\" [matRippleTrigger]=\"_getHostElement()\" [matRippleDisabled]=\"_isRippleDisabled()\"></div><mat-pseudo-checkbox [state]=\"selected ? 'checked' : 'unchecked'\" [disabled]=\"disabled\"></mat-pseudo-checkbox><div class=\"mat-list-text\" #text><ng-content></ng-content></div><ng-content select=\"[mat-list-avatar], [mat-list-icon], [matListAvatar], [matListIcon]\"></ng-content></div>","<ng-content></ng-content>","import {Component, Input, ViewEncapsulation} from '@angular/core';\r\nimport {Translations} from '../../../core/translations/translations.service';\r\nimport { Plan } from '../models/plan';\r\nimport {ucFirst} from '../../../core/utils/uc-first';\r\n\r\n@Component({\r\n    selector: 'full-plan-name',\r\n    template: '{{getFullPlanName()}}',\r\n    encapsulation: ViewEncapsulation.None\r\n})\r\nexport class FullPlanNameComponent {\r\n    @Input() plan: Plan;\r\n\r\n    /**\r\n     * FullPlanNameComponent Constructor.\r\n     */\r\n    constructor(private i18n: Translations) {}\r\n\r\n    public getFullPlanName(): string {\r\n        if ( ! this.plan) return;\r\n        let name = this.plan.parent ? this.plan.parent.name : this.plan.name;\r\n        name = ucFirst(name);\r\n        name += ' ' + this.i18n.t('Plan');\r\n        if (this.plan.parent) name += ': ' + this.plan.name;\r\n        return name;\r\n    }\r\n}\r\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { ChangeDetectionStrategy, Component, Input, ViewEncapsulation, NgModule } from '@angular/core';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { CommonModule } from '@angular/common';\nimport { MatCommonModule } from '@angular/material/core';\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nvar MatDivider = /** @class */ (function () {\n    function MatDivider() {\n        this._vertical = false;\n        this._inset = false;\n    }\n    Object.defineProperty(MatDivider.prototype, \"vertical\", {\n        /** Whether the divider is vertically aligned. */\n        get: /**\n         * Whether the divider is vertically aligned.\n         * @return {?}\n         */\n        function () { return this._vertical; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) { this._vertical = coerceBooleanProperty(value); },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatDivider.prototype, \"inset\", {\n        /** Whether the divider is an inset divider. */\n        get: /**\n         * Whether the divider is an inset divider.\n         * @return {?}\n         */\n        function () { return this._inset; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) { this._inset = coerceBooleanProperty(value); },\n        enumerable: true,\n        configurable: true\n    });\n    MatDivider.decorators = [\n        { type: Component, args: [{selector: 'mat-divider',\n                    host: {\n                        'role': 'separator',\n                        '[attr.aria-orientation]': 'vertical ? \"vertical\" : \"horizontal\"',\n                        '[class.mat-divider-vertical]': 'vertical',\n                        '[class.mat-divider-horizontal]': '!vertical',\n                        '[class.mat-divider-inset]': 'inset',\n                        'class': 'mat-divider'\n                    },\n                    template: '',\n                    styles: [\".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\"],\n                    encapsulation: ViewEncapsulation.None,\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                },] },\n    ];\n    MatDivider.propDecorators = {\n        vertical: [{ type: Input }],\n        inset: [{ type: Input }]\n    };\n    return MatDivider;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nvar MatDividerModule = /** @class */ (function () {\n    function MatDividerModule() {\n    }\n    MatDividerModule.decorators = [\n        { type: NgModule, args: [{\n                    imports: [MatCommonModule, CommonModule],\n                    exports: [MatDivider, MatCommonModule],\n                    declarations: [MatDivider],\n                },] },\n    ];\n    return MatDividerModule;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\nexport { MatDivider, MatDividerModule };\n//# sourceMappingURL=divider.es5.js.map\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { Directive, ElementRef, Inject, InjectionToken, NgZone, TemplateRef, ChangeDetectionStrategy, Component, ContentChild, Input, ViewChild, ViewContainerRef, ViewEncapsulation, ChangeDetectorRef, Output, EventEmitter, Optional, ComponentFactoryResolver, forwardRef, ContentChildren, Attribute, NgModule } from '@angular/core';\nimport { __extends } from 'tslib';\nimport { CdkPortal, TemplatePortal, CdkPortalOutlet, PortalHostDirective, PortalModule } from '@angular/cdk/portal';\nimport { mixinDisabled, mixinDisableRipple, mixinColor, MAT_RIPPLE_GLOBAL_OPTIONS, mixinTabIndex, RippleRenderer, MatCommonModule, MatRippleModule } from '@angular/material/core';\nimport { Subject, Subscription, merge, of, timer, fromEvent } from 'rxjs';\nimport { animate, state, style, transition, trigger } from '@angular/animations';\nimport { Directionality } from '@angular/cdk/bidi';\nimport { startWith, distinctUntilChanged, takeUntil } from 'rxjs/operators';\nimport { coerceNumberProperty, coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { END, ENTER, HOME, SPACE, hasModifierKey } from '@angular/cdk/keycodes';\nimport { ViewportRuler } from '@angular/cdk/scrolling';\nimport { FocusKeyManager, FocusMonitor, A11yModule } from '@angular/cdk/a11y';\nimport { Platform, normalizePassiveListenerOptions } from '@angular/cdk/platform';\nimport { ObserversModule } from '@angular/cdk/observers';\nimport { CommonModule } from '@angular/common';\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Injection token for the MatInkBar's Positioner.\n * @type {?}\n */\nvar _MAT_INK_BAR_POSITIONER = new InjectionToken('MatInkBarPositioner', {\n    providedIn: 'root',\n    factory: _MAT_INK_BAR_POSITIONER_FACTORY\n});\n/**\n * The default positioner function for the MatInkBar.\n * \\@docs-private\n * @return {?}\n */\nfunction _MAT_INK_BAR_POSITIONER_FACTORY() {\n    /** @type {?} */\n    var method = function (element) { return ({\n        left: element ? (element.offsetLeft || 0) + 'px' : '0',\n        width: element ? (element.offsetWidth || 0) + 'px' : '0',\n    }); };\n    return method;\n}\n/**\n * The ink-bar is used to display and animate the line underneath the current active tab label.\n * \\@docs-private\n */\nvar MatInkBar = /** @class */ (function () {\n    function MatInkBar(_elementRef, _ngZone, _inkBarPositioner) {\n        this._elementRef = _elementRef;\n        this._ngZone = _ngZone;\n        this._inkBarPositioner = _inkBarPositioner;\n    }\n    /**\n     * Calculates the styles from the provided element in order to align the ink-bar to that element.\n     * Shows the ink bar if previously set as hidden.\n     * @param element\n     */\n    /**\n     * Calculates the styles from the provided element in order to align the ink-bar to that element.\n     * Shows the ink bar if previously set as hidden.\n     * @param {?} element\n     * @return {?}\n     */\n    MatInkBar.prototype.alignToElement = /**\n     * Calculates the styles from the provided element in order to align the ink-bar to that element.\n     * Shows the ink bar if previously set as hidden.\n     * @param {?} element\n     * @return {?}\n     */\n    function (element) {\n        var _this = this;\n        this.show();\n        if (typeof requestAnimationFrame !== 'undefined') {\n            this._ngZone.runOutsideAngular(function () {\n                requestAnimationFrame(function () { return _this._setStyles(element); });\n            });\n        }\n        else {\n            this._setStyles(element);\n        }\n    };\n    /** Shows the ink bar. */\n    /**\n     * Shows the ink bar.\n     * @return {?}\n     */\n    MatInkBar.prototype.show = /**\n     * Shows the ink bar.\n     * @return {?}\n     */\n    function () {\n        this._elementRef.nativeElement.style.visibility = 'visible';\n    };\n    /** Hides the ink bar. */\n    /**\n     * Hides the ink bar.\n     * @return {?}\n     */\n    MatInkBar.prototype.hide = /**\n     * Hides the ink bar.\n     * @return {?}\n     */\n    function () {\n        this._elementRef.nativeElement.style.visibility = 'hidden';\n    };\n    /**\n     * Sets the proper styles to the ink bar element.\n     * @param element\n     */\n    /**\n     * Sets the proper styles to the ink bar element.\n     * @private\n     * @param {?} element\n     * @return {?}\n     */\n    MatInkBar.prototype._setStyles = /**\n     * Sets the proper styles to the ink bar element.\n     * @private\n     * @param {?} element\n     * @return {?}\n     */\n    function (element) {\n        /** @type {?} */\n        var positions = this._inkBarPositioner(element);\n        /** @type {?} */\n        var inkBar = this._elementRef.nativeElement;\n        inkBar.style.left = positions.left;\n        inkBar.style.width = positions.width;\n    };\n    MatInkBar.decorators = [\n        { type: Directive, args: [{\n                    selector: 'mat-ink-bar',\n                    host: {\n                        'class': 'mat-ink-bar',\n                    },\n                },] },\n    ];\n    /** @nocollapse */\n    MatInkBar.ctorParameters = function () { return [\n        { type: ElementRef },\n        { type: NgZone },\n        { type: undefined, decorators: [{ type: Inject, args: [_MAT_INK_BAR_POSITIONER,] }] }\n    ]; };\n    return MatInkBar;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Decorates the `ng-template` tags and reads out the template from it.\n */\nvar MatTabContent = /** @class */ (function () {\n    function MatTabContent(template) {\n        this.template = template;\n    }\n    MatTabContent.decorators = [\n        { type: Directive, args: [{ selector: '[matTabContent]' },] },\n    ];\n    /** @nocollapse */\n    MatTabContent.ctorParameters = function () { return [\n        { type: TemplateRef }\n    ]; };\n    return MatTabContent;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Used to flag tab labels for use with the portal directive\n */\nvar MatTabLabel = /** @class */ (function (_super) {\n    __extends(MatTabLabel, _super);\n    function MatTabLabel() {\n        return _super !== null && _super.apply(this, arguments) || this;\n    }\n    MatTabLabel.decorators = [\n        { type: Directive, args: [{\n                    selector: '[mat-tab-label], [matTabLabel]',\n                },] },\n    ];\n    return MatTabLabel;\n}(CdkPortal));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// Boilerplate for applying mixins to MatTab.\n/**\n * \\@docs-private\n */\nvar  \n// Boilerplate for applying mixins to MatTab.\n/**\n * \\@docs-private\n */\nMatTabBase = /** @class */ (function () {\n    function MatTabBase() {\n    }\n    return MatTabBase;\n}());\n/** @type {?} */\nvar _MatTabMixinBase = mixinDisabled(MatTabBase);\nvar MatTab = /** @class */ (function (_super) {\n    __extends(MatTab, _super);\n    function MatTab(_viewContainerRef) {\n        var _this = _super.call(this) || this;\n        _this._viewContainerRef = _viewContainerRef;\n        /**\n         * Plain text label for the tab, used when there is no template label.\n         */\n        _this.textLabel = '';\n        /**\n         * Portal that will be the hosted content of the tab\n         */\n        _this._contentPortal = null;\n        /**\n         * Emits whenever the internal state of the tab changes.\n         */\n        _this._stateChanges = new Subject();\n        /**\n         * The relatively indexed position where 0 represents the center, negative is left, and positive\n         * represents the right.\n         */\n        _this.position = null;\n        /**\n         * The initial relatively index origin of the tab if it was created and selected after there\n         * was already a selected tab. Provides context of what position the tab should originate from.\n         */\n        _this.origin = null;\n        /**\n         * Whether the tab is currently active.\n         */\n        _this.isActive = false;\n        return _this;\n    }\n    Object.defineProperty(MatTab.prototype, \"content\", {\n        /** @docs-private */\n        get: /**\n         * \\@docs-private\n         * @return {?}\n         */\n        function () {\n            return this._contentPortal;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * @param {?} changes\n     * @return {?}\n     */\n    MatTab.prototype.ngOnChanges = /**\n     * @param {?} changes\n     * @return {?}\n     */\n    function (changes) {\n        if (changes.hasOwnProperty('textLabel') || changes.hasOwnProperty('disabled')) {\n            this._stateChanges.next();\n        }\n    };\n    /**\n     * @return {?}\n     */\n    MatTab.prototype.ngOnDestroy = /**\n     * @return {?}\n     */\n    function () {\n        this._stateChanges.complete();\n    };\n    /**\n     * @return {?}\n     */\n    MatTab.prototype.ngOnInit = /**\n     * @return {?}\n     */\n    function () {\n        this._contentPortal = new TemplatePortal(this._explicitContent || this._implicitContent, this._viewContainerRef);\n    };\n    MatTab.decorators = [\n        { type: Component, args: [{selector: 'mat-tab',\n                    template: \"<ng-template><ng-content></ng-content></ng-template>\",\n                    inputs: ['disabled'],\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                    encapsulation: ViewEncapsulation.None,\n                    exportAs: 'matTab',\n                },] },\n    ];\n    /** @nocollapse */\n    MatTab.ctorParameters = function () { return [\n        { type: ViewContainerRef }\n    ]; };\n    MatTab.propDecorators = {\n        templateLabel: [{ type: ContentChild, args: [MatTabLabel,] }],\n        _explicitContent: [{ type: ContentChild, args: [MatTabContent, { read: TemplateRef },] }],\n        _implicitContent: [{ type: ViewChild, args: [TemplateRef,] }],\n        textLabel: [{ type: Input, args: ['label',] }],\n        ariaLabel: [{ type: Input, args: ['aria-label',] }],\n        ariaLabelledby: [{ type: Input, args: ['aria-labelledby',] }]\n    };\n    return MatTab;\n}(_MatTabMixinBase));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Animations used by the Material tabs.\n * \\@docs-private\n * @type {?}\n */\nvar matTabsAnimations = {\n    /**\n     * Animation translates a tab along the X axis.\n     */\n    translateTab: trigger('translateTab', [\n        // Note: transitions to `none` instead of 0, because some browsers might blur the content.\n        state('center, void, left-origin-center, right-origin-center', style({ transform: 'none' })),\n        // If the tab is either on the left or right, we additionally add a `min-height` of 1px\n        // in order to ensure that the element has a height before its state changes. This is\n        // necessary because Chrome does seem to skip the transition in RTL mode if the element does\n        // not have a static height and is not rendered. See related issue: #9465\n        state('left', style({ transform: 'translate3d(-100%, 0, 0)', minHeight: '1px' })),\n        state('right', style({ transform: 'translate3d(100%, 0, 0)', minHeight: '1px' })),\n        transition('* => left, * => right, left => center, right => center', animate('{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)')),\n        transition('void => left-origin-center', [\n            style({ transform: 'translate3d(-100%, 0, 0)' }),\n            animate('{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)')\n        ]),\n        transition('void => right-origin-center', [\n            style({ transform: 'translate3d(100%, 0, 0)' }),\n            animate('{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)')\n        ])\n    ])\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * The portal host directive for the contents of the tab.\n * \\@docs-private\n */\nvar MatTabBodyPortal = /** @class */ (function (_super) {\n    __extends(MatTabBodyPortal, _super);\n    function MatTabBodyPortal(componentFactoryResolver, viewContainerRef, _host) {\n        var _this = _super.call(this, componentFactoryResolver, viewContainerRef) || this;\n        _this._host = _host;\n        /**\n         * Subscription to events for when the tab body begins centering.\n         */\n        _this._centeringSub = Subscription.EMPTY;\n        /**\n         * Subscription to events for when the tab body finishes leaving from center position.\n         */\n        _this._leavingSub = Subscription.EMPTY;\n        return _this;\n    }\n    /** Set initial visibility or set up subscription for changing visibility. */\n    /**\n     * Set initial visibility or set up subscription for changing visibility.\n     * @return {?}\n     */\n    MatTabBodyPortal.prototype.ngOnInit = /**\n     * Set initial visibility or set up subscription for changing visibility.\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        _super.prototype.ngOnInit.call(this);\n        this._centeringSub = this._host._beforeCentering\n            .pipe(startWith(this._host._isCenterPosition(this._host._position)))\n            .subscribe(function (isCentering) {\n            if (isCentering && !_this.hasAttached()) {\n                _this.attach(_this._host._content);\n            }\n        });\n        this._leavingSub = this._host._afterLeavingCenter.subscribe(function () {\n            _this.detach();\n        });\n    };\n    /** Clean up centering subscription. */\n    /**\n     * Clean up centering subscription.\n     * @return {?}\n     */\n    MatTabBodyPortal.prototype.ngOnDestroy = /**\n     * Clean up centering subscription.\n     * @return {?}\n     */\n    function () {\n        _super.prototype.ngOnDestroy.call(this);\n        this._centeringSub.unsubscribe();\n        this._leavingSub.unsubscribe();\n    };\n    MatTabBodyPortal.decorators = [\n        { type: Directive, args: [{\n                    selector: '[matTabBodyHost]'\n                },] },\n    ];\n    /** @nocollapse */\n    MatTabBodyPortal.ctorParameters = function () { return [\n        { type: ComponentFactoryResolver },\n        { type: ViewContainerRef },\n        { type: MatTabBody, decorators: [{ type: Inject, args: [forwardRef(function () { return MatTabBody; }),] }] }\n    ]; };\n    return MatTabBodyPortal;\n}(CdkPortalOutlet));\n/**\n * Wrapper for the contents of a tab.\n * \\@docs-private\n */\nvar MatTabBody = /** @class */ (function () {\n    function MatTabBody(_elementRef, _dir, \n    /**\n     * @breaking-change 8.0.0 changeDetectorRef to be made required.\n     */\n    changeDetectorRef) {\n        var _this = this;\n        this._elementRef = _elementRef;\n        this._dir = _dir;\n        /**\n         * Subscription to the directionality change observable.\n         */\n        this._dirChangeSubscription = Subscription.EMPTY;\n        /**\n         * Emits when an animation on the tab is complete.\n         */\n        this._translateTabComplete = new Subject();\n        /**\n         * Event emitted when the tab begins to animate towards the center as the active tab.\n         */\n        this._onCentering = new EventEmitter();\n        /**\n         * Event emitted before the centering of the tab begins.\n         */\n        this._beforeCentering = new EventEmitter();\n        /**\n         * Event emitted before the centering of the tab begins.\n         */\n        this._afterLeavingCenter = new EventEmitter();\n        /**\n         * Event emitted when the tab completes its animation towards the center.\n         */\n        this._onCentered = new EventEmitter(true);\n        // Note that the default value will always be overwritten by `MatTabBody`, but we need one\n        // anyway to prevent the animations module from throwing an error if the body is used on its own.\n        /**\n         * Duration for the tab's animation.\n         */\n        this.animationDuration = '500ms';\n        if (this._dir && changeDetectorRef) {\n            this._dirChangeSubscription = this._dir.change.subscribe(function (dir) {\n                _this._computePositionAnimationState(dir);\n                changeDetectorRef.markForCheck();\n            });\n        }\n        // Ensure that we get unique animation events, because the `.done` callback can get\n        // invoked twice in some browsers. See https://github.com/angular/angular/issues/24084.\n        this._translateTabComplete.pipe(distinctUntilChanged(function (x, y) {\n            return x.fromState === y.fromState && x.toState === y.toState;\n        })).subscribe(function (event) {\n            // If the transition to the center is complete, emit an event.\n            if (_this._isCenterPosition(event.toState) && _this._isCenterPosition(_this._position)) {\n                _this._onCentered.emit();\n            }\n            if (_this._isCenterPosition(event.fromState) && !_this._isCenterPosition(_this._position)) {\n                _this._afterLeavingCenter.emit();\n            }\n        });\n    }\n    Object.defineProperty(MatTabBody.prototype, \"position\", {\n        /** The shifted index position of the tab body, where zero represents the active center tab. */\n        set: /**\n         * The shifted index position of the tab body, where zero represents the active center tab.\n         * @param {?} position\n         * @return {?}\n         */\n        function (position) {\n            this._positionIndex = position;\n            this._computePositionAnimationState();\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * After initialized, check if the content is centered and has an origin. If so, set the\n     * special position states that transition the tab from the left or right before centering.\n     */\n    /**\n     * After initialized, check if the content is centered and has an origin. If so, set the\n     * special position states that transition the tab from the left or right before centering.\n     * @return {?}\n     */\n    MatTabBody.prototype.ngOnInit = /**\n     * After initialized, check if the content is centered and has an origin. If so, set the\n     * special position states that transition the tab from the left or right before centering.\n     * @return {?}\n     */\n    function () {\n        if (this._position == 'center' && this.origin != null) {\n            this._position = this._computePositionFromOrigin();\n        }\n    };\n    /**\n     * @return {?}\n     */\n    MatTabBody.prototype.ngOnDestroy = /**\n     * @return {?}\n     */\n    function () {\n        this._dirChangeSubscription.unsubscribe();\n        this._translateTabComplete.complete();\n    };\n    /**\n     * @param {?} event\n     * @return {?}\n     */\n    MatTabBody.prototype._onTranslateTabStarted = /**\n     * @param {?} event\n     * @return {?}\n     */\n    function (event) {\n        /** @type {?} */\n        var isCentering = this._isCenterPosition(event.toState);\n        this._beforeCentering.emit(isCentering);\n        if (isCentering) {\n            this._onCentering.emit(this._elementRef.nativeElement.clientHeight);\n        }\n    };\n    /** The text direction of the containing app. */\n    /**\n     * The text direction of the containing app.\n     * @return {?}\n     */\n    MatTabBody.prototype._getLayoutDirection = /**\n     * The text direction of the containing app.\n     * @return {?}\n     */\n    function () {\n        return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n    };\n    /** Whether the provided position state is considered center, regardless of origin. */\n    /**\n     * Whether the provided position state is considered center, regardless of origin.\n     * @param {?} position\n     * @return {?}\n     */\n    MatTabBody.prototype._isCenterPosition = /**\n     * Whether the provided position state is considered center, regardless of origin.\n     * @param {?} position\n     * @return {?}\n     */\n    function (position) {\n        return position == 'center' ||\n            position == 'left-origin-center' ||\n            position == 'right-origin-center';\n    };\n    /** Computes the position state that will be used for the tab-body animation trigger. */\n    /**\n     * Computes the position state that will be used for the tab-body animation trigger.\n     * @private\n     * @param {?=} dir\n     * @return {?}\n     */\n    MatTabBody.prototype._computePositionAnimationState = /**\n     * Computes the position state that will be used for the tab-body animation trigger.\n     * @private\n     * @param {?=} dir\n     * @return {?}\n     */\n    function (dir) {\n        if (dir === void 0) { dir = this._getLayoutDirection(); }\n        if (this._positionIndex < 0) {\n            this._position = dir == 'ltr' ? 'left' : 'right';\n        }\n        else if (this._positionIndex > 0) {\n            this._position = dir == 'ltr' ? 'right' : 'left';\n        }\n        else {\n            this._position = 'center';\n        }\n    };\n    /**\n     * Computes the position state based on the specified origin position. This is used if the\n     * tab is becoming visible immediately after creation.\n     */\n    /**\n     * Computes the position state based on the specified origin position. This is used if the\n     * tab is becoming visible immediately after creation.\n     * @private\n     * @return {?}\n     */\n    MatTabBody.prototype._computePositionFromOrigin = /**\n     * Computes the position state based on the specified origin position. This is used if the\n     * tab is becoming visible immediately after creation.\n     * @private\n     * @return {?}\n     */\n    function () {\n        /** @type {?} */\n        var dir = this._getLayoutDirection();\n        if ((dir == 'ltr' && this.origin <= 0) || (dir == 'rtl' && this.origin > 0)) {\n            return 'left-origin-center';\n        }\n        return 'right-origin-center';\n    };\n    MatTabBody.decorators = [\n        { type: Component, args: [{selector: 'mat-tab-body',\n                    template: \"<div class=\\\"mat-tab-body-content\\\" #content [@translateTab]=\\\"{ value: _position, params: {animationDuration: animationDuration} }\\\" (@translateTab.start)=\\\"_onTranslateTabStarted($event)\\\" (@translateTab.done)=\\\"_translateTabComplete.next($event)\\\"><ng-template matTabBodyHost></ng-template></div>\",\n                    styles: [\".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\"],\n                    encapsulation: ViewEncapsulation.None,\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                    animations: [matTabsAnimations.translateTab],\n                    host: {\n                        'class': 'mat-tab-body',\n                    },\n                },] },\n    ];\n    /** @nocollapse */\n    MatTabBody.ctorParameters = function () { return [\n        { type: ElementRef },\n        { type: Directionality, decorators: [{ type: Optional }] },\n        { type: ChangeDetectorRef }\n    ]; };\n    MatTabBody.propDecorators = {\n        _onCentering: [{ type: Output }],\n        _beforeCentering: [{ type: Output }],\n        _afterLeavingCenter: [{ type: Output }],\n        _onCentered: [{ type: Output }],\n        _portalHost: [{ type: ViewChild, args: [PortalHostDirective,] }],\n        _content: [{ type: Input, args: ['content',] }],\n        origin: [{ type: Input }],\n        animationDuration: [{ type: Input }],\n        position: [{ type: Input }]\n    };\n    return MatTabBody;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// Boilerplate for applying mixins to MatTabLabelWrapper.\n/**\n * \\@docs-private\n */\nvar  \n// Boilerplate for applying mixins to MatTabLabelWrapper.\n/**\n * \\@docs-private\n */\nMatTabLabelWrapperBase = /** @class */ (function () {\n    function MatTabLabelWrapperBase() {\n    }\n    return MatTabLabelWrapperBase;\n}());\n/** @type {?} */\nvar _MatTabLabelWrapperMixinBase = mixinDisabled(MatTabLabelWrapperBase);\n/**\n * Used in the `mat-tab-group` view to display tab labels.\n * \\@docs-private\n */\nvar MatTabLabelWrapper = /** @class */ (function (_super) {\n    __extends(MatTabLabelWrapper, _super);\n    function MatTabLabelWrapper(elementRef) {\n        var _this = _super.call(this) || this;\n        _this.elementRef = elementRef;\n        return _this;\n    }\n    /** Sets focus on the wrapper element */\n    /**\n     * Sets focus on the wrapper element\n     * @return {?}\n     */\n    MatTabLabelWrapper.prototype.focus = /**\n     * Sets focus on the wrapper element\n     * @return {?}\n     */\n    function () {\n        this.elementRef.nativeElement.focus();\n    };\n    /**\n     * @return {?}\n     */\n    MatTabLabelWrapper.prototype.getOffsetLeft = /**\n     * @return {?}\n     */\n    function () {\n        return this.elementRef.nativeElement.offsetLeft;\n    };\n    /**\n     * @return {?}\n     */\n    MatTabLabelWrapper.prototype.getOffsetWidth = /**\n     * @return {?}\n     */\n    function () {\n        return this.elementRef.nativeElement.offsetWidth;\n    };\n    MatTabLabelWrapper.decorators = [\n        { type: Directive, args: [{\n                    selector: '[matTabLabelWrapper]',\n                    inputs: ['disabled'],\n                    host: {\n                        '[class.mat-tab-disabled]': 'disabled',\n                        '[attr.aria-disabled]': '!!disabled',\n                    }\n                },] },\n    ];\n    /** @nocollapse */\n    MatTabLabelWrapper.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    return MatTabLabelWrapper;\n}(_MatTabLabelWrapperMixinBase));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Config used to bind passive event listeners\n * @type {?}\n */\nvar passiveEventListenerOptions = (/** @type {?} */ (normalizePassiveListenerOptions({ passive: true })));\n/**\n * The distance in pixels that will be overshot when scrolling a tab label into view. This helps\n * provide a small affordance to the label next to it.\n * @type {?}\n */\nvar EXAGGERATED_OVERSCROLL = 60;\n/**\n * Amount of milliseconds to wait before starting to scroll the header automatically.\n * Set a little conservatively in order to handle fake events dispatched on touch devices.\n * @type {?}\n */\nvar HEADER_SCROLL_DELAY = 650;\n/**\n * Interval in milliseconds at which to scroll the header\n * while the user is holding their pointer.\n * @type {?}\n */\nvar HEADER_SCROLL_INTERVAL = 100;\n// Boilerplate for applying mixins to MatTabHeader.\n/**\n * \\@docs-private\n */\nvar  \n// Boilerplate for applying mixins to MatTabHeader.\n/**\n * \\@docs-private\n */\nMatTabHeaderBase = /** @class */ (function () {\n    function MatTabHeaderBase() {\n    }\n    return MatTabHeaderBase;\n}());\n/** @type {?} */\nvar _MatTabHeaderMixinBase = mixinDisableRipple(MatTabHeaderBase);\n/**\n * The header of the tab group which displays a list of all the tabs in the tab group. Includes\n * an ink bar that follows the currently selected tab. When the tabs list's width exceeds the\n * width of the header container, then arrows will be displayed to allow the user to scroll\n * left and right across the header.\n * \\@docs-private\n */\nvar MatTabHeader = /** @class */ (function (_super) {\n    __extends(MatTabHeader, _super);\n    function MatTabHeader(_elementRef, _changeDetectorRef, _viewportRuler, _dir, _ngZone, _platform) {\n        var _this = _super.call(this) || this;\n        _this._elementRef = _elementRef;\n        _this._changeDetectorRef = _changeDetectorRef;\n        _this._viewportRuler = _viewportRuler;\n        _this._dir = _dir;\n        _this._ngZone = _ngZone;\n        _this._platform = _platform;\n        /**\n         * The distance in pixels that the tab labels should be translated to the left.\n         */\n        _this._scrollDistance = 0;\n        /**\n         * Whether the header should scroll to the selected index after the view has been checked.\n         */\n        _this._selectedIndexChanged = false;\n        /**\n         * Emits when the component is destroyed.\n         */\n        _this._destroyed = new Subject();\n        /**\n         * Whether the controls for pagination should be displayed\n         */\n        _this._showPaginationControls = false;\n        /**\n         * Whether the tab list can be scrolled more towards the end of the tab label list.\n         */\n        _this._disableScrollAfter = true;\n        /**\n         * Whether the tab list can be scrolled more towards the beginning of the tab label list.\n         */\n        _this._disableScrollBefore = true;\n        /**\n         * Stream that will stop the automated scrolling.\n         */\n        _this._stopScrolling = new Subject();\n        _this._selectedIndex = 0;\n        /**\n         * Event emitted when the option is selected.\n         */\n        _this.selectFocusedIndex = new EventEmitter();\n        /**\n         * Event emitted when a label is focused.\n         */\n        _this.indexFocused = new EventEmitter();\n        /** @type {?} */\n        var element = _elementRef.nativeElement;\n        /** @type {?} */\n        var bindEvent = function () {\n            fromEvent(element, 'mouseleave')\n                .pipe(takeUntil(_this._destroyed))\n                .subscribe(function () {\n                _this._stopInterval();\n            });\n        };\n        // @breaking-change 8.0.0 remove null check once _ngZone is made into a required parameter.\n        if (_ngZone) {\n            // Bind the `mouseleave` event on the outside since it doesn't change anything in the view.\n            _ngZone.runOutsideAngular(bindEvent);\n        }\n        else {\n            bindEvent();\n        }\n        return _this;\n    }\n    Object.defineProperty(MatTabHeader.prototype, \"selectedIndex\", {\n        /** The index of the active tab. */\n        get: /**\n         * The index of the active tab.\n         * @return {?}\n         */\n        function () { return this._selectedIndex; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            value = coerceNumberProperty(value);\n            this._selectedIndexChanged = this._selectedIndex != value;\n            this._selectedIndex = value;\n            if (this._keyManager) {\n                this._keyManager.updateActiveItemIndex(value);\n            }\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * @return {?}\n     */\n    MatTabHeader.prototype.ngAfterContentChecked = /**\n     * @return {?}\n     */\n    function () {\n        // If the number of tab labels have changed, check if scrolling should be enabled\n        if (this._tabLabelCount != this._labelWrappers.length) {\n            this.updatePagination();\n            this._tabLabelCount = this._labelWrappers.length;\n            this._changeDetectorRef.markForCheck();\n        }\n        // If the selected index has changed, scroll to the label and check if the scrolling controls\n        // should be disabled.\n        if (this._selectedIndexChanged) {\n            this._scrollToLabel(this._selectedIndex);\n            this._checkScrollingControls();\n            this._alignInkBarToSelectedTab();\n            this._selectedIndexChanged = false;\n            this._changeDetectorRef.markForCheck();\n        }\n        // If the scroll distance has been changed (tab selected, focused, scroll controls activated),\n        // then translate the header to reflect this.\n        if (this._scrollDistanceChanged) {\n            this._updateTabScrollPosition();\n            this._scrollDistanceChanged = false;\n            this._changeDetectorRef.markForCheck();\n        }\n    };\n    /** Handles keyboard events on the header. */\n    /**\n     * Handles keyboard events on the header.\n     * @param {?} event\n     * @return {?}\n     */\n    MatTabHeader.prototype._handleKeydown = /**\n     * Handles keyboard events on the header.\n     * @param {?} event\n     * @return {?}\n     */\n    function (event) {\n        // We don't handle any key bindings with a modifier key.\n        if (hasModifierKey(event)) {\n            return;\n        }\n        switch (event.keyCode) {\n            case HOME:\n                this._keyManager.setFirstItemActive();\n                event.preventDefault();\n                break;\n            case END:\n                this._keyManager.setLastItemActive();\n                event.preventDefault();\n                break;\n            case ENTER:\n            case SPACE:\n                this.selectFocusedIndex.emit(this.focusIndex);\n                event.preventDefault();\n                break;\n            default:\n                this._keyManager.onKeydown(event);\n        }\n    };\n    /**\n     * Aligns the ink bar to the selected tab on load.\n     */\n    /**\n     * Aligns the ink bar to the selected tab on load.\n     * @return {?}\n     */\n    MatTabHeader.prototype.ngAfterContentInit = /**\n     * Aligns the ink bar to the selected tab on load.\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        /** @type {?} */\n        var dirChange = this._dir ? this._dir.change : of(null);\n        /** @type {?} */\n        var resize = this._viewportRuler.change(150);\n        /** @type {?} */\n        var realign = function () {\n            _this.updatePagination();\n            _this._alignInkBarToSelectedTab();\n        };\n        this._keyManager = new FocusKeyManager(this._labelWrappers)\n            .withHorizontalOrientation(this._getLayoutDirection())\n            .withWrap();\n        this._keyManager.updateActiveItem(0);\n        // Defer the first call in order to allow for slower browsers to lay out the elements.\n        // This helps in cases where the user lands directly on a page with paginated tabs.\n        typeof requestAnimationFrame !== 'undefined' ? requestAnimationFrame(realign) : realign();\n        // On dir change or window resize, realign the ink bar and update the orientation of\n        // the key manager if the direction has changed.\n        merge(dirChange, resize).pipe(takeUntil(this._destroyed)).subscribe(function () {\n            realign();\n            _this._keyManager.withHorizontalOrientation(_this._getLayoutDirection());\n        });\n        // If there is a change in the focus key manager we need to emit the `indexFocused`\n        // event in order to provide a public event that notifies about focus changes. Also we realign\n        // the tabs container by scrolling the new focused tab into the visible section.\n        this._keyManager.change.pipe(takeUntil(this._destroyed)).subscribe(function (newFocusIndex) {\n            _this.indexFocused.emit(newFocusIndex);\n            _this._setTabFocus(newFocusIndex);\n        });\n    };\n    /**\n     * @return {?}\n     */\n    MatTabHeader.prototype.ngAfterViewInit = /**\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        // We need to handle these events manually, because we want to bind passive event listeners.\n        fromEvent(this._previousPaginator.nativeElement, 'touchstart', passiveEventListenerOptions)\n            .pipe(takeUntil(this._destroyed))\n            .subscribe(function () {\n            _this._handlePaginatorPress('before');\n        });\n        fromEvent(this._nextPaginator.nativeElement, 'touchstart', passiveEventListenerOptions)\n            .pipe(takeUntil(this._destroyed))\n            .subscribe(function () {\n            _this._handlePaginatorPress('after');\n        });\n    };\n    /**\n     * @return {?}\n     */\n    MatTabHeader.prototype.ngOnDestroy = /**\n     * @return {?}\n     */\n    function () {\n        this._destroyed.next();\n        this._destroyed.complete();\n        this._stopScrolling.complete();\n    };\n    /**\n     * Callback for when the MutationObserver detects that the content has changed.\n     */\n    /**\n     * Callback for when the MutationObserver detects that the content has changed.\n     * @return {?}\n     */\n    MatTabHeader.prototype._onContentChanges = /**\n     * Callback for when the MutationObserver detects that the content has changed.\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        /** @type {?} */\n        var textContent = this._elementRef.nativeElement.textContent;\n        // We need to diff the text content of the header, because the MutationObserver callback\n        // will fire even if the text content didn't change which is inefficient and is prone\n        // to infinite loops if a poorly constructed expression is passed in (see #14249).\n        if (textContent !== this._currentTextContent) {\n            this._currentTextContent = textContent;\n            /** @type {?} */\n            var zoneCallback = function () {\n                _this.updatePagination();\n                _this._alignInkBarToSelectedTab();\n                _this._changeDetectorRef.markForCheck();\n            };\n            // The content observer runs outside the `NgZone` by default, which\n            // means that we need to bring the callback back in ourselves.\n            // @breaking-change 8.0.0 Remove null check for `_ngZone` once it's a required parameter.\n            this._ngZone ? this._ngZone.run(zoneCallback) : zoneCallback();\n        }\n    };\n    /**\n     * Updates the view whether pagination should be enabled or not.\n     *\n     * WARNING: Calling this method can be very costly in terms of performance.  It should be called\n     * as infrequently as possible from outside of the Tabs component as it causes a reflow of the\n     * page.\n     */\n    /**\n     * Updates the view whether pagination should be enabled or not.\n     *\n     * WARNING: Calling this method can be very costly in terms of performance.  It should be called\n     * as infrequently as possible from outside of the Tabs component as it causes a reflow of the\n     * page.\n     * @return {?}\n     */\n    MatTabHeader.prototype.updatePagination = /**\n     * Updates the view whether pagination should be enabled or not.\n     *\n     * WARNING: Calling this method can be very costly in terms of performance.  It should be called\n     * as infrequently as possible from outside of the Tabs component as it causes a reflow of the\n     * page.\n     * @return {?}\n     */\n    function () {\n        this._checkPaginationEnabled();\n        this._checkScrollingControls();\n        this._updateTabScrollPosition();\n    };\n    Object.defineProperty(MatTabHeader.prototype, \"focusIndex\", {\n        /** Tracks which element has focus; used for keyboard navigation */\n        get: /**\n         * Tracks which element has focus; used for keyboard navigation\n         * @return {?}\n         */\n        function () {\n            return this._keyManager ? (/** @type {?} */ (this._keyManager.activeItemIndex)) : 0;\n        },\n        /** When the focus index is set, we must manually send focus to the correct label */\n        set: /**\n         * When the focus index is set, we must manually send focus to the correct label\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            if (!this._isValidIndex(value) || this.focusIndex === value || !this._keyManager) {\n                return;\n            }\n            this._keyManager.setActiveItem(value);\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * Determines if an index is valid.  If the tabs are not ready yet, we assume that the user is\n     * providing a valid index and return true.\n     */\n    /**\n     * Determines if an index is valid.  If the tabs are not ready yet, we assume that the user is\n     * providing a valid index and return true.\n     * @param {?} index\n     * @return {?}\n     */\n    MatTabHeader.prototype._isValidIndex = /**\n     * Determines if an index is valid.  If the tabs are not ready yet, we assume that the user is\n     * providing a valid index and return true.\n     * @param {?} index\n     * @return {?}\n     */\n    function (index) {\n        if (!this._labelWrappers) {\n            return true;\n        }\n        /** @type {?} */\n        var tab = this._labelWrappers ? this._labelWrappers.toArray()[index] : null;\n        return !!tab && !tab.disabled;\n    };\n    /**\n     * Sets focus on the HTML element for the label wrapper and scrolls it into the view if\n     * scrolling is enabled.\n     */\n    /**\n     * Sets focus on the HTML element for the label wrapper and scrolls it into the view if\n     * scrolling is enabled.\n     * @param {?} tabIndex\n     * @return {?}\n     */\n    MatTabHeader.prototype._setTabFocus = /**\n     * Sets focus on the HTML element for the label wrapper and scrolls it into the view if\n     * scrolling is enabled.\n     * @param {?} tabIndex\n     * @return {?}\n     */\n    function (tabIndex) {\n        if (this._showPaginationControls) {\n            this._scrollToLabel(tabIndex);\n        }\n        if (this._labelWrappers && this._labelWrappers.length) {\n            this._labelWrappers.toArray()[tabIndex].focus();\n            // Do not let the browser manage scrolling to focus the element, this will be handled\n            // by using translation. In LTR, the scroll left should be 0. In RTL, the scroll width\n            // should be the full width minus the offset width.\n            /** @type {?} */\n            var containerEl = this._tabListContainer.nativeElement;\n            /** @type {?} */\n            var dir = this._getLayoutDirection();\n            if (dir == 'ltr') {\n                containerEl.scrollLeft = 0;\n            }\n            else {\n                containerEl.scrollLeft = containerEl.scrollWidth - containerEl.offsetWidth;\n            }\n        }\n    };\n    /** The layout direction of the containing app. */\n    /**\n     * The layout direction of the containing app.\n     * @return {?}\n     */\n    MatTabHeader.prototype._getLayoutDirection = /**\n     * The layout direction of the containing app.\n     * @return {?}\n     */\n    function () {\n        return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n    };\n    /** Performs the CSS transformation on the tab list that will cause the list to scroll. */\n    /**\n     * Performs the CSS transformation on the tab list that will cause the list to scroll.\n     * @return {?}\n     */\n    MatTabHeader.prototype._updateTabScrollPosition = /**\n     * Performs the CSS transformation on the tab list that will cause the list to scroll.\n     * @return {?}\n     */\n    function () {\n        /** @type {?} */\n        var scrollDistance = this.scrollDistance;\n        /** @type {?} */\n        var platform = this._platform;\n        /** @type {?} */\n        var translateX = this._getLayoutDirection() === 'ltr' ? -scrollDistance : scrollDistance;\n        // Don't use `translate3d` here because we don't want to create a new layer. A new layer\n        // seems to cause flickering and overflow in Internet Explorer. For example, the ink bar\n        // and ripples will exceed the boundaries of the visible tab bar.\n        // See: https://github.com/angular/material2/issues/10276\n        // We round the `transform` here, because transforms with sub-pixel precision cause some\n        // browsers to blur the content of the element.\n        this._tabList.nativeElement.style.transform = \"translateX(\" + Math.round(translateX) + \"px)\";\n        // Setting the `transform` on IE will change the scroll offset of the parent, causing the\n        // position to be thrown off in some cases. We have to reset it ourselves to ensure that\n        // it doesn't get thrown off. Note that we scope it only to IE and Edge, because messing\n        // with the scroll position throws off Chrome 71+ in RTL mode (see #14689).\n        // @breaking-change 8.0.0 Remove null check for `platform`.\n        if (platform && (platform.TRIDENT || platform.EDGE)) {\n            this._tabListContainer.nativeElement.scrollLeft = 0;\n        }\n    };\n    Object.defineProperty(MatTabHeader.prototype, \"scrollDistance\", {\n        /** Sets the distance in pixels that the tab header should be transformed in the X-axis. */\n        get: /**\n         * Sets the distance in pixels that the tab header should be transformed in the X-axis.\n         * @return {?}\n         */\n        function () { return this._scrollDistance; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            this._scrollTo(value);\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * Moves the tab list in the 'before' or 'after' direction (towards the beginning of the list or\n     * the end of the list, respectively). The distance to scroll is computed to be a third of the\n     * length of the tab list view window.\n     *\n     * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n     * should be called sparingly.\n     */\n    /**\n     * Moves the tab list in the 'before' or 'after' direction (towards the beginning of the list or\n     * the end of the list, respectively). The distance to scroll is computed to be a third of the\n     * length of the tab list view window.\n     *\n     * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n     * should be called sparingly.\n     * @param {?} direction\n     * @return {?}\n     */\n    MatTabHeader.prototype._scrollHeader = /**\n     * Moves the tab list in the 'before' or 'after' direction (towards the beginning of the list or\n     * the end of the list, respectively). The distance to scroll is computed to be a third of the\n     * length of the tab list view window.\n     *\n     * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n     * should be called sparingly.\n     * @param {?} direction\n     * @return {?}\n     */\n    function (direction) {\n        /** @type {?} */\n        var viewLength = this._tabListContainer.nativeElement.offsetWidth;\n        // Move the scroll distance one-third the length of the tab list's viewport.\n        /** @type {?} */\n        var scrollAmount = (direction == 'before' ? -1 : 1) * viewLength / 3;\n        return this._scrollTo(this._scrollDistance + scrollAmount);\n    };\n    /** Handles click events on the pagination arrows. */\n    /**\n     * Handles click events on the pagination arrows.\n     * @param {?} direction\n     * @return {?}\n     */\n    MatTabHeader.prototype._handlePaginatorClick = /**\n     * Handles click events on the pagination arrows.\n     * @param {?} direction\n     * @return {?}\n     */\n    function (direction) {\n        this._stopInterval();\n        this._scrollHeader(direction);\n    };\n    /**\n     * Moves the tab list such that the desired tab label (marked by index) is moved into view.\n     *\n     * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n     * should be called sparingly.\n     */\n    /**\n     * Moves the tab list such that the desired tab label (marked by index) is moved into view.\n     *\n     * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n     * should be called sparingly.\n     * @param {?} labelIndex\n     * @return {?}\n     */\n    MatTabHeader.prototype._scrollToLabel = /**\n     * Moves the tab list such that the desired tab label (marked by index) is moved into view.\n     *\n     * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n     * should be called sparingly.\n     * @param {?} labelIndex\n     * @return {?}\n     */\n    function (labelIndex) {\n        /** @type {?} */\n        var selectedLabel = this._labelWrappers ? this._labelWrappers.toArray()[labelIndex] : null;\n        if (!selectedLabel) {\n            return;\n        }\n        // The view length is the visible width of the tab labels.\n        /** @type {?} */\n        var viewLength = this._tabListContainer.nativeElement.offsetWidth;\n        /** @type {?} */\n        var labelBeforePos;\n        /** @type {?} */\n        var labelAfterPos;\n        if (this._getLayoutDirection() == 'ltr') {\n            labelBeforePos = selectedLabel.getOffsetLeft();\n            labelAfterPos = labelBeforePos + selectedLabel.getOffsetWidth();\n        }\n        else {\n            labelAfterPos = this._tabList.nativeElement.offsetWidth - selectedLabel.getOffsetLeft();\n            labelBeforePos = labelAfterPos - selectedLabel.getOffsetWidth();\n        }\n        /** @type {?} */\n        var beforeVisiblePos = this.scrollDistance;\n        /** @type {?} */\n        var afterVisiblePos = this.scrollDistance + viewLength;\n        if (labelBeforePos < beforeVisiblePos) {\n            // Scroll header to move label to the before direction\n            this.scrollDistance -= beforeVisiblePos - labelBeforePos + EXAGGERATED_OVERSCROLL;\n        }\n        else if (labelAfterPos > afterVisiblePos) {\n            // Scroll header to move label to the after direction\n            this.scrollDistance += labelAfterPos - afterVisiblePos + EXAGGERATED_OVERSCROLL;\n        }\n    };\n    /**\n     * Evaluate whether the pagination controls should be displayed. If the scroll width of the\n     * tab list is wider than the size of the header container, then the pagination controls should\n     * be shown.\n     *\n     * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n     * should be called sparingly.\n     */\n    /**\n     * Evaluate whether the pagination controls should be displayed. If the scroll width of the\n     * tab list is wider than the size of the header container, then the pagination controls should\n     * be shown.\n     *\n     * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n     * should be called sparingly.\n     * @return {?}\n     */\n    MatTabHeader.prototype._checkPaginationEnabled = /**\n     * Evaluate whether the pagination controls should be displayed. If the scroll width of the\n     * tab list is wider than the size of the header container, then the pagination controls should\n     * be shown.\n     *\n     * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n     * should be called sparingly.\n     * @return {?}\n     */\n    function () {\n        /** @type {?} */\n        var isEnabled = this._tabList.nativeElement.scrollWidth > this._elementRef.nativeElement.offsetWidth;\n        if (!isEnabled) {\n            this.scrollDistance = 0;\n        }\n        if (isEnabled !== this._showPaginationControls) {\n            this._changeDetectorRef.markForCheck();\n        }\n        this._showPaginationControls = isEnabled;\n    };\n    /**\n     * Evaluate whether the before and after controls should be enabled or disabled.\n     * If the header is at the beginning of the list (scroll distance is equal to 0) then disable the\n     * before button. If the header is at the end of the list (scroll distance is equal to the\n     * maximum distance we can scroll), then disable the after button.\n     *\n     * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n     * should be called sparingly.\n     */\n    /**\n     * Evaluate whether the before and after controls should be enabled or disabled.\n     * If the header is at the beginning of the list (scroll distance is equal to 0) then disable the\n     * before button. If the header is at the end of the list (scroll distance is equal to the\n     * maximum distance we can scroll), then disable the after button.\n     *\n     * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n     * should be called sparingly.\n     * @return {?}\n     */\n    MatTabHeader.prototype._checkScrollingControls = /**\n     * Evaluate whether the before and after controls should be enabled or disabled.\n     * If the header is at the beginning of the list (scroll distance is equal to 0) then disable the\n     * before button. If the header is at the end of the list (scroll distance is equal to the\n     * maximum distance we can scroll), then disable the after button.\n     *\n     * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n     * should be called sparingly.\n     * @return {?}\n     */\n    function () {\n        // Check if the pagination arrows should be activated.\n        this._disableScrollBefore = this.scrollDistance == 0;\n        this._disableScrollAfter = this.scrollDistance == this._getMaxScrollDistance();\n        this._changeDetectorRef.markForCheck();\n    };\n    /**\n     * Determines what is the maximum length in pixels that can be set for the scroll distance. This\n     * is equal to the difference in width between the tab list container and tab header container.\n     *\n     * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n     * should be called sparingly.\n     */\n    /**\n     * Determines what is the maximum length in pixels that can be set for the scroll distance. This\n     * is equal to the difference in width between the tab list container and tab header container.\n     *\n     * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n     * should be called sparingly.\n     * @return {?}\n     */\n    MatTabHeader.prototype._getMaxScrollDistance = /**\n     * Determines what is the maximum length in pixels that can be set for the scroll distance. This\n     * is equal to the difference in width between the tab list container and tab header container.\n     *\n     * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n     * should be called sparingly.\n     * @return {?}\n     */\n    function () {\n        /** @type {?} */\n        var lengthOfTabList = this._tabList.nativeElement.scrollWidth;\n        /** @type {?} */\n        var viewLength = this._tabListContainer.nativeElement.offsetWidth;\n        return (lengthOfTabList - viewLength) || 0;\n    };\n    /** Tells the ink-bar to align itself to the current label wrapper */\n    /**\n     * Tells the ink-bar to align itself to the current label wrapper\n     * @return {?}\n     */\n    MatTabHeader.prototype._alignInkBarToSelectedTab = /**\n     * Tells the ink-bar to align itself to the current label wrapper\n     * @return {?}\n     */\n    function () {\n        /** @type {?} */\n        var selectedLabelWrapper = this._labelWrappers && this._labelWrappers.length ?\n            this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement :\n            null;\n        this._inkBar.alignToElement((/** @type {?} */ (selectedLabelWrapper)));\n    };\n    /** Stops the currently-running paginator interval.  */\n    /**\n     * Stops the currently-running paginator interval.\n     * @return {?}\n     */\n    MatTabHeader.prototype._stopInterval = /**\n     * Stops the currently-running paginator interval.\n     * @return {?}\n     */\n    function () {\n        this._stopScrolling.next();\n    };\n    /**\n     * Handles the user pressing down on one of the paginators.\n     * Starts scrolling the header after a certain amount of time.\n     * @param direction In which direction the paginator should be scrolled.\n     */\n    /**\n     * Handles the user pressing down on one of the paginators.\n     * Starts scrolling the header after a certain amount of time.\n     * @param {?} direction In which direction the paginator should be scrolled.\n     * @return {?}\n     */\n    MatTabHeader.prototype._handlePaginatorPress = /**\n     * Handles the user pressing down on one of the paginators.\n     * Starts scrolling the header after a certain amount of time.\n     * @param {?} direction In which direction the paginator should be scrolled.\n     * @return {?}\n     */\n    function (direction) {\n        var _this = this;\n        // Avoid overlapping timers.\n        this._stopInterval();\n        // Start a timer after the delay and keep firing based on the interval.\n        timer(HEADER_SCROLL_DELAY, HEADER_SCROLL_INTERVAL)\n            // Keep the timer going until something tells it to stop or the component is destroyed.\n            .pipe(takeUntil(merge(this._stopScrolling, this._destroyed)))\n            .subscribe(function () {\n            var _a = _this._scrollHeader(direction), maxScrollDistance = _a.maxScrollDistance, distance = _a.distance;\n            // Stop the timer if we've reached the start or the end.\n            if (distance === 0 || distance >= maxScrollDistance) {\n                _this._stopInterval();\n            }\n        });\n    };\n    /**\n     * Scrolls the header to a given position.\n     * @param position Position to which to scroll.\n     * @returns Information on the current scroll distance and the maximum.\n     */\n    /**\n     * Scrolls the header to a given position.\n     * @private\n     * @param {?} position Position to which to scroll.\n     * @return {?} Information on the current scroll distance and the maximum.\n     */\n    MatTabHeader.prototype._scrollTo = /**\n     * Scrolls the header to a given position.\n     * @private\n     * @param {?} position Position to which to scroll.\n     * @return {?} Information on the current scroll distance and the maximum.\n     */\n    function (position) {\n        /** @type {?} */\n        var maxScrollDistance = this._getMaxScrollDistance();\n        this._scrollDistance = Math.max(0, Math.min(maxScrollDistance, position));\n        // Mark that the scroll distance has changed so that after the view is checked, the CSS\n        // transformation can move the header.\n        this._scrollDistanceChanged = true;\n        this._checkScrollingControls();\n        return { maxScrollDistance: maxScrollDistance, distance: this._scrollDistance };\n    };\n    MatTabHeader.decorators = [\n        { type: Component, args: [{selector: 'mat-tab-header',\n                    template: \"<div class=\\\"mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4\\\" #previousPaginator aria-hidden=\\\"true\\\" mat-ripple [matRippleDisabled]=\\\"_disableScrollBefore || disableRipple\\\" [class.mat-tab-header-pagination-disabled]=\\\"_disableScrollBefore\\\" (click)=\\\"_handlePaginatorClick('before')\\\" (mousedown)=\\\"_handlePaginatorPress('before')\\\" (touchend)=\\\"_stopInterval()\\\"><div class=\\\"mat-tab-header-pagination-chevron\\\"></div></div><div class=\\\"mat-tab-label-container\\\" #tabListContainer (keydown)=\\\"_handleKeydown($event)\\\"><div class=\\\"mat-tab-list\\\" #tabList role=\\\"tablist\\\" (cdkObserveContent)=\\\"_onContentChanges()\\\"><div class=\\\"mat-tab-labels\\\"><ng-content></ng-content></div><mat-ink-bar></mat-ink-bar></div></div><div class=\\\"mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4\\\" #nextPaginator aria-hidden=\\\"true\\\" mat-ripple [matRippleDisabled]=\\\"_disableScrollAfter || disableRipple\\\" [class.mat-tab-header-pagination-disabled]=\\\"_disableScrollAfter\\\" (mousedown)=\\\"_handlePaginatorPress('after')\\\" (click)=\\\"_handlePaginatorClick('after')\\\" (touchend)=\\\"_stopInterval()\\\"><div class=\\\"mat-tab-header-pagination-chevron\\\"></div></div>\",\n                    styles: [\".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}\"],\n                    inputs: ['disableRipple'],\n                    encapsulation: ViewEncapsulation.None,\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                    host: {\n                        'class': 'mat-tab-header',\n                        '[class.mat-tab-header-pagination-controls-enabled]': '_showPaginationControls',\n                        '[class.mat-tab-header-rtl]': \"_getLayoutDirection() == 'rtl'\",\n                    },\n                },] },\n    ];\n    /** @nocollapse */\n    MatTabHeader.ctorParameters = function () { return [\n        { type: ElementRef },\n        { type: ChangeDetectorRef },\n        { type: ViewportRuler },\n        { type: Directionality, decorators: [{ type: Optional }] },\n        { type: NgZone },\n        { type: Platform }\n    ]; };\n    MatTabHeader.propDecorators = {\n        _labelWrappers: [{ type: ContentChildren, args: [MatTabLabelWrapper,] }],\n        _inkBar: [{ type: ViewChild, args: [MatInkBar,] }],\n        _tabListContainer: [{ type: ViewChild, args: ['tabListContainer',] }],\n        _tabList: [{ type: ViewChild, args: ['tabList',] }],\n        _nextPaginator: [{ type: ViewChild, args: ['nextPaginator',] }],\n        _previousPaginator: [{ type: ViewChild, args: ['previousPaginator',] }],\n        selectedIndex: [{ type: Input }],\n        selectFocusedIndex: [{ type: Output }],\n        indexFocused: [{ type: Output }]\n    };\n    return MatTabHeader;\n}(_MatTabHeaderMixinBase));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Used to generate unique ID's for each tab component\n * @type {?}\n */\nvar nextId = 0;\n/**\n * A simple change event emitted on focus or selection changes.\n */\nvar  /**\n * A simple change event emitted on focus or selection changes.\n */\nMatTabChangeEvent = /** @class */ (function () {\n    function MatTabChangeEvent() {\n    }\n    return MatTabChangeEvent;\n}());\n/**\n * Injection token that can be used to provide the default options the tabs module.\n * @type {?}\n */\nvar MAT_TABS_CONFIG = new InjectionToken('MAT_TABS_CONFIG');\n// Boilerplate for applying mixins to MatTabGroup.\n/**\n * \\@docs-private\n */\nvar  \n// Boilerplate for applying mixins to MatTabGroup.\n/**\n * \\@docs-private\n */\nMatTabGroupBase = /** @class */ (function () {\n    function MatTabGroupBase(_elementRef) {\n        this._elementRef = _elementRef;\n    }\n    return MatTabGroupBase;\n}());\n/** @type {?} */\nvar _MatTabGroupMixinBase = mixinColor(mixinDisableRipple(MatTabGroupBase), 'primary');\n/**\n * Material design tab-group component.  Supports basic tab pairs (label + content) and includes\n * animated ink-bar, keyboard navigation, and screen reader.\n * See: https://material.io/design/components/tabs.html\n */\nvar MatTabGroup = /** @class */ (function (_super) {\n    __extends(MatTabGroup, _super);\n    function MatTabGroup(elementRef, _changeDetectorRef, defaultConfig) {\n        var _this = _super.call(this, elementRef) || this;\n        _this._changeDetectorRef = _changeDetectorRef;\n        /**\n         * The tab index that should be selected after the content has been checked.\n         */\n        _this._indexToSelect = 0;\n        /**\n         * Snapshot of the height of the tab body wrapper before another tab is activated.\n         */\n        _this._tabBodyWrapperHeight = 0;\n        /**\n         * Subscription to tabs being added/removed.\n         */\n        _this._tabsSubscription = Subscription.EMPTY;\n        /**\n         * Subscription to changes in the tab labels.\n         */\n        _this._tabLabelSubscription = Subscription.EMPTY;\n        _this._dynamicHeight = false;\n        _this._selectedIndex = null;\n        /**\n         * Position of the tab header.\n         */\n        _this.headerPosition = 'above';\n        /**\n         * Output to enable support for two-way binding on `[(selectedIndex)]`\n         */\n        _this.selectedIndexChange = new EventEmitter();\n        /**\n         * Event emitted when focus has changed within a tab group.\n         */\n        _this.focusChange = new EventEmitter();\n        /**\n         * Event emitted when the body animation has completed\n         */\n        _this.animationDone = new EventEmitter();\n        /**\n         * Event emitted when the tab selection has changed.\n         */\n        _this.selectedTabChange = new EventEmitter(true);\n        _this._groupId = nextId++;\n        _this.animationDuration = defaultConfig && defaultConfig.animationDuration ?\n            defaultConfig.animationDuration : '500ms';\n        return _this;\n    }\n    Object.defineProperty(MatTabGroup.prototype, \"dynamicHeight\", {\n        /** Whether the tab group should grow to the size of the active tab. */\n        get: /**\n         * Whether the tab group should grow to the size of the active tab.\n         * @return {?}\n         */\n        function () { return this._dynamicHeight; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) { this._dynamicHeight = coerceBooleanProperty(value); },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatTabGroup.prototype, \"selectedIndex\", {\n        /** The index of the active tab. */\n        get: /**\n         * The index of the active tab.\n         * @return {?}\n         */\n        function () { return this._selectedIndex; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            this._indexToSelect = coerceNumberProperty(value, null);\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatTabGroup.prototype, \"animationDuration\", {\n        /** Duration for the tab animation. Will be normalized to milliseconds if no units are set. */\n        get: /**\n         * Duration for the tab animation. Will be normalized to milliseconds if no units are set.\n         * @return {?}\n         */\n        function () { return this._animationDuration; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            this._animationDuration = /^\\d+$/.test(value) ? value + 'ms' : value;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatTabGroup.prototype, \"backgroundColor\", {\n        /** Background color of the tab group. */\n        get: /**\n         * Background color of the tab group.\n         * @return {?}\n         */\n        function () { return this._backgroundColor; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            /** @type {?} */\n            var nativeElement = this._elementRef.nativeElement;\n            nativeElement.classList.remove(\"mat-background-\" + this.backgroundColor);\n            if (value) {\n                nativeElement.classList.add(\"mat-background-\" + value);\n            }\n            this._backgroundColor = value;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * After the content is checked, this component knows what tabs have been defined\n     * and what the selected index should be. This is where we can know exactly what position\n     * each tab should be in according to the new selected index, and additionally we know how\n     * a new selected tab should transition in (from the left or right).\n     */\n    /**\n     * After the content is checked, this component knows what tabs have been defined\n     * and what the selected index should be. This is where we can know exactly what position\n     * each tab should be in according to the new selected index, and additionally we know how\n     * a new selected tab should transition in (from the left or right).\n     * @return {?}\n     */\n    MatTabGroup.prototype.ngAfterContentChecked = /**\n     * After the content is checked, this component knows what tabs have been defined\n     * and what the selected index should be. This is where we can know exactly what position\n     * each tab should be in according to the new selected index, and additionally we know how\n     * a new selected tab should transition in (from the left or right).\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        // Don't clamp the `indexToSelect` immediately in the setter because it can happen that\n        // the amount of tabs changes before the actual change detection runs.\n        /** @type {?} */\n        var indexToSelect = this._indexToSelect = this._clampTabIndex(this._indexToSelect);\n        // If there is a change in selected index, emit a change event. Should not trigger if\n        // the selected index has not yet been initialized.\n        if (this._selectedIndex != indexToSelect) {\n            /** @type {?} */\n            var isFirstRun_1 = this._selectedIndex == null;\n            if (!isFirstRun_1) {\n                this.selectedTabChange.emit(this._createChangeEvent(indexToSelect));\n            }\n            // Changing these values after change detection has run\n            // since the checked content may contain references to them.\n            Promise.resolve().then(function () {\n                _this._tabs.forEach(function (tab, index) { return tab.isActive = index === indexToSelect; });\n                if (!isFirstRun_1) {\n                    _this.selectedIndexChange.emit(indexToSelect);\n                }\n            });\n        }\n        // Setup the position for each tab and optionally setup an origin on the next selected tab.\n        this._tabs.forEach(function (tab, index) {\n            tab.position = index - indexToSelect;\n            // If there is already a selected tab, then set up an origin for the next selected tab\n            // if it doesn't have one already.\n            if (_this._selectedIndex != null && tab.position == 0 && !tab.origin) {\n                tab.origin = indexToSelect - _this._selectedIndex;\n            }\n        });\n        if (this._selectedIndex !== indexToSelect) {\n            this._selectedIndex = indexToSelect;\n            this._changeDetectorRef.markForCheck();\n        }\n    };\n    /**\n     * @return {?}\n     */\n    MatTabGroup.prototype.ngAfterContentInit = /**\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        this._subscribeToTabLabels();\n        // Subscribe to changes in the amount of tabs, in order to be\n        // able to re-render the content as new tabs are added or removed.\n        this._tabsSubscription = this._tabs.changes.subscribe(function () {\n            /** @type {?} */\n            var indexToSelect = _this._clampTabIndex(_this._indexToSelect);\n            // Maintain the previously-selected tab if a new tab is added or removed and there is no\n            // explicit change that selects a different tab.\n            if (indexToSelect === _this._selectedIndex) {\n                /** @type {?} */\n                var tabs = _this._tabs.toArray();\n                for (var i = 0; i < tabs.length; i++) {\n                    if (tabs[i].isActive) {\n                        // Assign both to the `_indexToSelect` and `_selectedIndex` so we don't fire a changed\n                        // event, otherwise the consumer may end up in an infinite loop in some edge cases like\n                        // adding a tab within the `selectedIndexChange` event.\n                        _this._indexToSelect = _this._selectedIndex = i;\n                        break;\n                    }\n                }\n            }\n            _this._subscribeToTabLabels();\n            _this._changeDetectorRef.markForCheck();\n        });\n    };\n    /**\n     * @return {?}\n     */\n    MatTabGroup.prototype.ngOnDestroy = /**\n     * @return {?}\n     */\n    function () {\n        this._tabsSubscription.unsubscribe();\n        this._tabLabelSubscription.unsubscribe();\n    };\n    /** Re-aligns the ink bar to the selected tab element. */\n    /**\n     * Re-aligns the ink bar to the selected tab element.\n     * @return {?}\n     */\n    MatTabGroup.prototype.realignInkBar = /**\n     * Re-aligns the ink bar to the selected tab element.\n     * @return {?}\n     */\n    function () {\n        if (this._tabHeader) {\n            this._tabHeader._alignInkBarToSelectedTab();\n        }\n    };\n    /**\n     * @param {?} index\n     * @return {?}\n     */\n    MatTabGroup.prototype._focusChanged = /**\n     * @param {?} index\n     * @return {?}\n     */\n    function (index) {\n        this.focusChange.emit(this._createChangeEvent(index));\n    };\n    /**\n     * @private\n     * @param {?} index\n     * @return {?}\n     */\n    MatTabGroup.prototype._createChangeEvent = /**\n     * @private\n     * @param {?} index\n     * @return {?}\n     */\n    function (index) {\n        /** @type {?} */\n        var event = new MatTabChangeEvent;\n        event.index = index;\n        if (this._tabs && this._tabs.length) {\n            event.tab = this._tabs.toArray()[index];\n        }\n        return event;\n    };\n    /**\n     * Subscribes to changes in the tab labels. This is needed, because the @Input for the label is\n     * on the MatTab component, whereas the data binding is inside the MatTabGroup. In order for the\n     * binding to be updated, we need to subscribe to changes in it and trigger change detection\n     * manually.\n     */\n    /**\n     * Subscribes to changes in the tab labels. This is needed, because the \\@Input for the label is\n     * on the MatTab component, whereas the data binding is inside the MatTabGroup. In order for the\n     * binding to be updated, we need to subscribe to changes in it and trigger change detection\n     * manually.\n     * @private\n     * @return {?}\n     */\n    MatTabGroup.prototype._subscribeToTabLabels = /**\n     * Subscribes to changes in the tab labels. This is needed, because the \\@Input for the label is\n     * on the MatTab component, whereas the data binding is inside the MatTabGroup. In order for the\n     * binding to be updated, we need to subscribe to changes in it and trigger change detection\n     * manually.\n     * @private\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        if (this._tabLabelSubscription) {\n            this._tabLabelSubscription.unsubscribe();\n        }\n        this._tabLabelSubscription = merge.apply(void 0, this._tabs.map(function (tab) { return tab._stateChanges; })).subscribe(function () { return _this._changeDetectorRef.markForCheck(); });\n    };\n    /** Clamps the given index to the bounds of 0 and the tabs length. */\n    /**\n     * Clamps the given index to the bounds of 0 and the tabs length.\n     * @private\n     * @param {?} index\n     * @return {?}\n     */\n    MatTabGroup.prototype._clampTabIndex = /**\n     * Clamps the given index to the bounds of 0 and the tabs length.\n     * @private\n     * @param {?} index\n     * @return {?}\n     */\n    function (index) {\n        // Note the `|| 0`, which ensures that values like NaN can't get through\n        // and which would otherwise throw the component into an infinite loop\n        // (since Math.max(NaN, 0) === NaN).\n        return Math.min(this._tabs.length - 1, Math.max(index || 0, 0));\n    };\n    /** Returns a unique id for each tab label element */\n    /**\n     * Returns a unique id for each tab label element\n     * @param {?} i\n     * @return {?}\n     */\n    MatTabGroup.prototype._getTabLabelId = /**\n     * Returns a unique id for each tab label element\n     * @param {?} i\n     * @return {?}\n     */\n    function (i) {\n        return \"mat-tab-label-\" + this._groupId + \"-\" + i;\n    };\n    /** Returns a unique id for each tab content element */\n    /**\n     * Returns a unique id for each tab content element\n     * @param {?} i\n     * @return {?}\n     */\n    MatTabGroup.prototype._getTabContentId = /**\n     * Returns a unique id for each tab content element\n     * @param {?} i\n     * @return {?}\n     */\n    function (i) {\n        return \"mat-tab-content-\" + this._groupId + \"-\" + i;\n    };\n    /**\n     * Sets the height of the body wrapper to the height of the activating tab if dynamic\n     * height property is true.\n     */\n    /**\n     * Sets the height of the body wrapper to the height of the activating tab if dynamic\n     * height property is true.\n     * @param {?} tabHeight\n     * @return {?}\n     */\n    MatTabGroup.prototype._setTabBodyWrapperHeight = /**\n     * Sets the height of the body wrapper to the height of the activating tab if dynamic\n     * height property is true.\n     * @param {?} tabHeight\n     * @return {?}\n     */\n    function (tabHeight) {\n        if (!this._dynamicHeight || !this._tabBodyWrapperHeight) {\n            return;\n        }\n        /** @type {?} */\n        var wrapper = this._tabBodyWrapper.nativeElement;\n        wrapper.style.height = this._tabBodyWrapperHeight + 'px';\n        // This conditional forces the browser to paint the height so that\n        // the animation to the new height can have an origin.\n        if (this._tabBodyWrapper.nativeElement.offsetHeight) {\n            wrapper.style.height = tabHeight + 'px';\n        }\n    };\n    /** Removes the height of the tab body wrapper. */\n    /**\n     * Removes the height of the tab body wrapper.\n     * @return {?}\n     */\n    MatTabGroup.prototype._removeTabBodyWrapperHeight = /**\n     * Removes the height of the tab body wrapper.\n     * @return {?}\n     */\n    function () {\n        /** @type {?} */\n        var wrapper = this._tabBodyWrapper.nativeElement;\n        this._tabBodyWrapperHeight = wrapper.clientHeight;\n        wrapper.style.height = '';\n        this.animationDone.emit();\n    };\n    /** Handle click events, setting new selected index if appropriate. */\n    /**\n     * Handle click events, setting new selected index if appropriate.\n     * @param {?} tab\n     * @param {?} tabHeader\n     * @param {?} index\n     * @return {?}\n     */\n    MatTabGroup.prototype._handleClick = /**\n     * Handle click events, setting new selected index if appropriate.\n     * @param {?} tab\n     * @param {?} tabHeader\n     * @param {?} index\n     * @return {?}\n     */\n    function (tab, tabHeader, index) {\n        if (!tab.disabled) {\n            this.selectedIndex = tabHeader.focusIndex = index;\n        }\n    };\n    /** Retrieves the tabindex for the tab. */\n    /**\n     * Retrieves the tabindex for the tab.\n     * @param {?} tab\n     * @param {?} idx\n     * @return {?}\n     */\n    MatTabGroup.prototype._getTabIndex = /**\n     * Retrieves the tabindex for the tab.\n     * @param {?} tab\n     * @param {?} idx\n     * @return {?}\n     */\n    function (tab, idx) {\n        if (tab.disabled) {\n            return null;\n        }\n        return this.selectedIndex === idx ? 0 : -1;\n    };\n    MatTabGroup.decorators = [\n        { type: Component, args: [{selector: 'mat-tab-group',\n                    exportAs: 'matTabGroup',\n                    template: \"<mat-tab-header #tabHeader [selectedIndex]=\\\"selectedIndex\\\" [disableRipple]=\\\"disableRipple\\\" (indexFocused)=\\\"_focusChanged($event)\\\" (selectFocusedIndex)=\\\"selectedIndex = $event\\\"><div class=\\\"mat-tab-label\\\" role=\\\"tab\\\" matTabLabelWrapper mat-ripple cdkMonitorElementFocus *ngFor=\\\"let tab of _tabs; let i = index\\\" [id]=\\\"_getTabLabelId(i)\\\" [attr.tabIndex]=\\\"_getTabIndex(tab, i)\\\" [attr.aria-posinset]=\\\"i + 1\\\" [attr.aria-setsize]=\\\"_tabs.length\\\" [attr.aria-controls]=\\\"_getTabContentId(i)\\\" [attr.aria-selected]=\\\"selectedIndex == i\\\" [attr.aria-label]=\\\"tab.ariaLabel || null\\\" [attr.aria-labelledby]=\\\"(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null\\\" [class.mat-tab-label-active]=\\\"selectedIndex == i\\\" [disabled]=\\\"tab.disabled\\\" [matRippleDisabled]=\\\"tab.disabled || disableRipple\\\" (click)=\\\"_handleClick(tab, tabHeader, i)\\\"><div class=\\\"mat-tab-label-content\\\"><ng-template [ngIf]=\\\"tab.templateLabel\\\"><ng-template [cdkPortalOutlet]=\\\"tab.templateLabel\\\"></ng-template></ng-template><ng-template [ngIf]=\\\"!tab.templateLabel\\\">{{tab.textLabel}}</ng-template></div></div></mat-tab-header><div class=\\\"mat-tab-body-wrapper\\\" #tabBodyWrapper><mat-tab-body role=\\\"tabpanel\\\" *ngFor=\\\"let tab of _tabs; let i = index\\\" [id]=\\\"_getTabContentId(i)\\\" [attr.aria-labelledby]=\\\"_getTabLabelId(i)\\\" [class.mat-tab-body-active]=\\\"selectedIndex == i\\\" [content]=\\\"tab.content\\\" [position]=\\\"tab.position\\\" [origin]=\\\"tab.origin\\\" [animationDuration]=\\\"animationDuration\\\" (_onCentered)=\\\"_removeTabBodyWrapperHeight()\\\" (_onCentering)=\\\"_setTabBodyWrapperHeight($event)\\\"></mat-tab-body></div>\",\n                    styles: [\".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\"],\n                    encapsulation: ViewEncapsulation.None,\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                    inputs: ['color', 'disableRipple'],\n                    host: {\n                        'class': 'mat-tab-group',\n                        '[class.mat-tab-group-dynamic-height]': 'dynamicHeight',\n                        '[class.mat-tab-group-inverted-header]': 'headerPosition === \"below\"',\n                    },\n                },] },\n    ];\n    /** @nocollapse */\n    MatTabGroup.ctorParameters = function () { return [\n        { type: ElementRef },\n        { type: ChangeDetectorRef },\n        { type: undefined, decorators: [{ type: Inject, args: [MAT_TABS_CONFIG,] }, { type: Optional }] }\n    ]; };\n    MatTabGroup.propDecorators = {\n        _tabs: [{ type: ContentChildren, args: [MatTab,] }],\n        _tabBodyWrapper: [{ type: ViewChild, args: ['tabBodyWrapper',] }],\n        _tabHeader: [{ type: ViewChild, args: ['tabHeader',] }],\n        dynamicHeight: [{ type: Input }],\n        selectedIndex: [{ type: Input }],\n        headerPosition: [{ type: Input }],\n        animationDuration: [{ type: Input }],\n        backgroundColor: [{ type: Input }],\n        selectedIndexChange: [{ type: Output }],\n        focusChange: [{ type: Output }],\n        animationDone: [{ type: Output }],\n        selectedTabChange: [{ type: Output }]\n    };\n    return MatTabGroup;\n}(_MatTabGroupMixinBase));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// Boilerplate for applying mixins to MatTabNav.\n/**\n * \\@docs-private\n */\nvar  \n// Boilerplate for applying mixins to MatTabNav.\n/**\n * \\@docs-private\n */\nMatTabNavBase = /** @class */ (function () {\n    function MatTabNavBase(_elementRef) {\n        this._elementRef = _elementRef;\n    }\n    return MatTabNavBase;\n}());\n/** @type {?} */\nvar _MatTabNavMixinBase = mixinDisableRipple(mixinColor(MatTabNavBase, 'primary'));\n/**\n * Navigation component matching the styles of the tab group header.\n * Provides anchored navigation with animated ink bar.\n */\nvar MatTabNav = /** @class */ (function (_super) {\n    __extends(MatTabNav, _super);\n    function MatTabNav(elementRef, _dir, _ngZone, _changeDetectorRef, _viewportRuler) {\n        var _this = _super.call(this, elementRef) || this;\n        _this._dir = _dir;\n        _this._ngZone = _ngZone;\n        _this._changeDetectorRef = _changeDetectorRef;\n        _this._viewportRuler = _viewportRuler;\n        /**\n         * Subject that emits when the component has been destroyed.\n         */\n        _this._onDestroy = new Subject();\n        return _this;\n    }\n    Object.defineProperty(MatTabNav.prototype, \"backgroundColor\", {\n        /** Background color of the tab nav. */\n        get: /**\n         * Background color of the tab nav.\n         * @return {?}\n         */\n        function () { return this._backgroundColor; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            /** @type {?} */\n            var nativeElement = this._elementRef.nativeElement;\n            nativeElement.classList.remove(\"mat-background-\" + this.backgroundColor);\n            if (value) {\n                nativeElement.classList.add(\"mat-background-\" + value);\n            }\n            this._backgroundColor = value;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * Notifies the component that the active link has been changed.\n     * @breaking-change 8.0.0 `element` parameter to be removed.\n     */\n    /**\n     * Notifies the component that the active link has been changed.\n     * \\@breaking-change 8.0.0 `element` parameter to be removed.\n     * @param {?} element\n     * @return {?}\n     */\n    MatTabNav.prototype.updateActiveLink = /**\n     * Notifies the component that the active link has been changed.\n     * \\@breaking-change 8.0.0 `element` parameter to be removed.\n     * @param {?} element\n     * @return {?}\n     */\n    function (element) {\n        // Note: keeping the `element` for backwards-compat, but isn't being used for anything.\n        // @breaking-change 8.0.0\n        this._activeLinkChanged = !!element;\n        this._changeDetectorRef.markForCheck();\n    };\n    /**\n     * @return {?}\n     */\n    MatTabNav.prototype.ngAfterContentInit = /**\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        this._ngZone.runOutsideAngular(function () {\n            /** @type {?} */\n            var dirChange = _this._dir ? _this._dir.change : of(null);\n            return merge(dirChange, _this._viewportRuler.change(10))\n                .pipe(takeUntil(_this._onDestroy))\n                .subscribe(function () { return _this._alignInkBar(); });\n        });\n    };\n    /** Checks if the active link has been changed and, if so, will update the ink bar. */\n    /**\n     * Checks if the active link has been changed and, if so, will update the ink bar.\n     * @return {?}\n     */\n    MatTabNav.prototype.ngAfterContentChecked = /**\n     * Checks if the active link has been changed and, if so, will update the ink bar.\n     * @return {?}\n     */\n    function () {\n        if (this._activeLinkChanged) {\n            /** @type {?} */\n            var activeTab = this._tabLinks.find(function (tab) { return tab.active; });\n            this._activeLinkElement = activeTab ? activeTab._elementRef : null;\n            this._alignInkBar();\n            this._activeLinkChanged = false;\n        }\n    };\n    /**\n     * @return {?}\n     */\n    MatTabNav.prototype.ngOnDestroy = /**\n     * @return {?}\n     */\n    function () {\n        this._onDestroy.next();\n        this._onDestroy.complete();\n    };\n    /** Aligns the ink bar to the active link. */\n    /**\n     * Aligns the ink bar to the active link.\n     * @return {?}\n     */\n    MatTabNav.prototype._alignInkBar = /**\n     * Aligns the ink bar to the active link.\n     * @return {?}\n     */\n    function () {\n        if (this._activeLinkElement) {\n            this._inkBar.show();\n            this._inkBar.alignToElement(this._activeLinkElement.nativeElement);\n        }\n        else {\n            this._inkBar.hide();\n        }\n    };\n    MatTabNav.decorators = [\n        { type: Component, args: [{selector: '[mat-tab-nav-bar]',\n                    exportAs: 'matTabNavBar, matTabNav',\n                    inputs: ['color', 'disableRipple'],\n                    template: \"<div class=\\\"mat-tab-links\\\" (cdkObserveContent)=\\\"_alignInkBar()\\\"><ng-content></ng-content><mat-ink-bar></mat-ink-bar></div>\",\n                    styles: [\".mat-tab-nav-bar{overflow:hidden;position:relative;flex-shrink:0}.mat-tab-links{position:relative;display:flex}[mat-align-tabs=center] .mat-tab-links{justify-content:center}[mat-align-tabs=end] .mat-tab-links{justify-content:flex-end}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:0}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-link:focus{outline:dotted 2px}}.mat-tab-link.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-link.mat-tab-disabled{opacity:.5}}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-link{opacity:1}}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media (max-width:599px){.mat-tab-link{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}\"],\n                    host: { 'class': 'mat-tab-nav-bar' },\n                    encapsulation: ViewEncapsulation.None,\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                },] },\n    ];\n    /** @nocollapse */\n    MatTabNav.ctorParameters = function () { return [\n        { type: ElementRef },\n        { type: Directionality, decorators: [{ type: Optional }] },\n        { type: NgZone },\n        { type: ChangeDetectorRef },\n        { type: ViewportRuler }\n    ]; };\n    MatTabNav.propDecorators = {\n        _inkBar: [{ type: ViewChild, args: [MatInkBar,] }],\n        _tabLinks: [{ type: ContentChildren, args: [forwardRef(function () { return MatTabLink; }), { descendants: true },] }],\n        backgroundColor: [{ type: Input }]\n    };\n    return MatTabNav;\n}(_MatTabNavMixinBase));\n// Boilerplate for applying mixins to MatTabLink.\nvar  \n// Boilerplate for applying mixins to MatTabLink.\nMatTabLinkBase = /** @class */ (function () {\n    function MatTabLinkBase() {\n    }\n    return MatTabLinkBase;\n}());\n/** @type {?} */\nvar _MatTabLinkMixinBase = mixinTabIndex(mixinDisableRipple(mixinDisabled(MatTabLinkBase)));\n/**\n * Link inside of a `mat-tab-nav-bar`.\n */\nvar MatTabLink = /** @class */ (function (_super) {\n    __extends(MatTabLink, _super);\n    function MatTabLink(_tabNavBar, _elementRef, ngZone, platform, globalRippleOptions, tabIndex, _focusMonitor) {\n        var _this = _super.call(this) || this;\n        _this._tabNavBar = _tabNavBar;\n        _this._elementRef = _elementRef;\n        _this._focusMonitor = _focusMonitor;\n        /**\n         * Whether the tab link is active or not.\n         */\n        _this._isActive = false;\n        _this._tabLinkRipple = new RippleRenderer(_this, ngZone, _elementRef, platform);\n        _this._tabLinkRipple.setupTriggerEvents(_elementRef.nativeElement);\n        _this.rippleConfig = globalRippleOptions || {};\n        _this.tabIndex = parseInt(tabIndex) || 0;\n        if (_focusMonitor) {\n            _focusMonitor.monitor(_elementRef);\n        }\n        return _this;\n    }\n    Object.defineProperty(MatTabLink.prototype, \"active\", {\n        /** Whether the link is active. */\n        get: /**\n         * Whether the link is active.\n         * @return {?}\n         */\n        function () { return this._isActive; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            if (value !== this._isActive) {\n                this._isActive = value;\n                this._tabNavBar.updateActiveLink(this._elementRef);\n            }\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatTabLink.prototype, \"rippleDisabled\", {\n        /**\n         * Whether ripples are disabled on interaction.\n         * @docs-private\n         */\n        get: /**\n         * Whether ripples are disabled on interaction.\n         * \\@docs-private\n         * @return {?}\n         */\n        function () {\n            return this.disabled || this.disableRipple || this._tabNavBar.disableRipple ||\n                !!this.rippleConfig.disabled;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * @return {?}\n     */\n    MatTabLink.prototype.ngOnDestroy = /**\n     * @return {?}\n     */\n    function () {\n        this._tabLinkRipple._removeTriggerEvents();\n        if (this._focusMonitor) {\n            this._focusMonitor.stopMonitoring(this._elementRef);\n        }\n    };\n    MatTabLink.decorators = [\n        { type: Directive, args: [{\n                    selector: '[mat-tab-link], [matTabLink]',\n                    exportAs: 'matTabLink',\n                    inputs: ['disabled', 'disableRipple', 'tabIndex'],\n                    host: {\n                        'class': 'mat-tab-link',\n                        '[attr.aria-current]': 'active',\n                        '[attr.aria-disabled]': 'disabled.toString()',\n                        '[attr.tabIndex]': 'tabIndex',\n                        '[class.mat-tab-disabled]': 'disabled',\n                        '[class.mat-tab-label-active]': 'active',\n                    }\n                },] },\n    ];\n    /** @nocollapse */\n    MatTabLink.ctorParameters = function () { return [\n        { type: MatTabNav },\n        { type: ElementRef },\n        { type: NgZone },\n        { type: Platform },\n        { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [MAT_RIPPLE_GLOBAL_OPTIONS,] }] },\n        { type: String, decorators: [{ type: Attribute, args: ['tabindex',] }] },\n        { type: FocusMonitor }\n    ]; };\n    MatTabLink.propDecorators = {\n        active: [{ type: Input }]\n    };\n    return MatTabLink;\n}(_MatTabLinkMixinBase));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nvar MatTabsModule = /** @class */ (function () {\n    function MatTabsModule() {\n    }\n    MatTabsModule.decorators = [\n        { type: NgModule, args: [{\n                    imports: [\n                        CommonModule,\n                        MatCommonModule,\n                        PortalModule,\n                        MatRippleModule,\n                        ObserversModule,\n                        A11yModule,\n                    ],\n                    // Don't export all components because some are only to be used internally.\n                    exports: [\n                        MatCommonModule,\n                        MatTabGroup,\n                        MatTabLabel,\n                        MatTab,\n                        MatTabNav,\n                        MatTabLink,\n                        MatTabContent,\n                    ],\n                    declarations: [\n                        MatTabGroup,\n                        MatTabLabel,\n                        MatTab,\n                        MatInkBar,\n                        MatTabLabelWrapper,\n                        MatTabNav,\n                        MatTabLink,\n                        MatTabBody,\n                        MatTabBodyPortal,\n                        MatTabHeader,\n                        MatTabContent,\n                    ],\n                },] },\n    ];\n    return MatTabsModule;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\nexport { MatInkBar, _MAT_INK_BAR_POSITIONER, MatTabBody, MatTabBodyPortal, MatTabHeader, MatTabLabelWrapper, MatTab, MatTabLabel, MatTabNav, MatTabLink, MatTabContent, MatTabsModule, MatTabChangeEvent, MAT_TABS_CONFIG, MatTabGroupBase, _MatTabGroupMixinBase, MatTabGroup, matTabsAnimations, _MAT_INK_BAR_POSITIONER_FACTORY as ɵa24, MatTabBase as ɵf24, _MatTabMixinBase as ɵg24, MatTabHeaderBase as ɵb24, _MatTabHeaderMixinBase as ɵc24, MatTabLabelWrapperBase as ɵd24, _MatTabLabelWrapperMixinBase as ɵe24, MatTabLinkBase as ɵj24, MatTabNavBase as ɵh24, _MatTabLinkMixinBase as ɵk24, _MatTabNavMixinBase as ɵi24 };\n//# sourceMappingURL=tabs.es5.js.map\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/core\";\nimport * as i2 from \"@angular/cdk/bidi\";\nimport * as i3 from \"@angular/platform-browser\";\nimport * as i4 from \"@angular/cdk/platform\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"@angular/platform-browser/animations\";\nvar MatCommonModuleNgFactory = i0.ɵcmf(i1.MatCommonModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(1073742336, i2.BidiModule, i2.BidiModule, []), i0.ɵmpd(1073742336, i1.MatCommonModule, i1.MatCommonModule, [[2, i1.MATERIAL_SANITY_CHECKS], [2, i3.HAMMER_LOADER]])]); });\nexport { MatCommonModuleNgFactory as MatCommonModuleNgFactory };\nvar NativeDateModuleNgFactory = i0.ɵcmf(i1.NativeDateModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(4608, i1.DateAdapter, i1.NativeDateAdapter, [[2, i1.MAT_DATE_LOCALE], i4.Platform]), i0.ɵmpd(1073742336, i4.PlatformModule, i4.PlatformModule, []), i0.ɵmpd(1073742336, i1.NativeDateModule, i1.NativeDateModule, [])]); });\nexport { NativeDateModuleNgFactory as NativeDateModuleNgFactory };\nvar MatNativeDateModuleNgFactory = i0.ɵcmf(i1.MatNativeDateModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(4608, i1.DateAdapter, i1.NativeDateAdapter, [[2, i1.MAT_DATE_LOCALE], i4.Platform]), i0.ɵmpd(1073742336, i4.PlatformModule, i4.PlatformModule, []), i0.ɵmpd(1073742336, i1.NativeDateModule, i1.NativeDateModule, []), i0.ɵmpd(1073742336, i1.MatNativeDateModule, i1.MatNativeDateModule, []), i0.ɵmpd(256, i1.MAT_DATE_FORMATS, i1.MAT_NATIVE_DATE_FORMATS, [])]); });\nexport { MatNativeDateModuleNgFactory as MatNativeDateModuleNgFactory };\nvar MatLineModuleNgFactory = i0.ɵcmf(i1.MatLineModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(1073742336, i2.BidiModule, i2.BidiModule, []), i0.ɵmpd(1073742336, i1.MatCommonModule, i1.MatCommonModule, [[2, i1.MATERIAL_SANITY_CHECKS], [2, i3.HAMMER_LOADER]]), i0.ɵmpd(1073742336, i1.MatLineModule, i1.MatLineModule, [])]); });\nexport { MatLineModuleNgFactory as MatLineModuleNgFactory };\nvar MatOptionModuleNgFactory = i0.ɵcmf(i1.MatOptionModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(4608, i5.NgLocalization, i5.NgLocaleLocalization, [i0.LOCALE_ID, [2, i5.ɵangular_packages_common_common_a]]), i0.ɵmpd(1073742336, i2.BidiModule, i2.BidiModule, []), i0.ɵmpd(1073742336, i1.MatCommonModule, i1.MatCommonModule, [[2, i1.MATERIAL_SANITY_CHECKS], [2, i3.HAMMER_LOADER]]), i0.ɵmpd(1073742336, i4.PlatformModule, i4.PlatformModule, []), i0.ɵmpd(1073742336, i1.MatRippleModule, i1.MatRippleModule, []), i0.ɵmpd(1073742336, i5.CommonModule, i5.CommonModule, []), i0.ɵmpd(1073742336, i1.MatPseudoCheckboxModule, i1.MatPseudoCheckboxModule, []), i0.ɵmpd(1073742336, i1.MatOptionModule, i1.MatOptionModule, [])]); });\nexport { MatOptionModuleNgFactory as MatOptionModuleNgFactory };\nvar MatRippleModuleNgFactory = i0.ɵcmf(i1.MatRippleModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(1073742336, i2.BidiModule, i2.BidiModule, []), i0.ɵmpd(1073742336, i1.MatCommonModule, i1.MatCommonModule, [[2, i1.MATERIAL_SANITY_CHECKS], [2, i3.HAMMER_LOADER]]), i0.ɵmpd(1073742336, i4.PlatformModule, i4.PlatformModule, []), i0.ɵmpd(1073742336, i1.MatRippleModule, i1.MatRippleModule, [])]); });\nexport { MatRippleModuleNgFactory as MatRippleModuleNgFactory };\nvar MatPseudoCheckboxModuleNgFactory = i0.ɵcmf(i1.MatPseudoCheckboxModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(1073742336, i1.MatPseudoCheckboxModule, i1.MatPseudoCheckboxModule, [])]); });\nexport { MatPseudoCheckboxModuleNgFactory as MatPseudoCheckboxModuleNgFactory };\nvar styles_MatOption = [\".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\"];\nvar RenderType_MatOption = i0.ɵcrt({ encapsulation: 2, styles: styles_MatOption, data: {} });\nexport { RenderType_MatOption as RenderType_MatOption };\nfunction View_MatOption_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"mat-pseudo-checkbox\", [[\"class\", \"mat-option-pseudo-checkbox mat-pseudo-checkbox\"]], [[2, \"mat-pseudo-checkbox-indeterminate\", null], [2, \"mat-pseudo-checkbox-checked\", null], [2, \"mat-pseudo-checkbox-disabled\", null], [2, \"_mat-animation-noopable\", null]], null, null, View_MatPseudoCheckbox_0, RenderType_MatPseudoCheckbox)), i0.ɵdid(1, 49152, null, 0, i1.MatPseudoCheckbox, [[2, i6.ANIMATION_MODULE_TYPE]], { state: [0, \"state\"], disabled: [1, \"disabled\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_4 = (_co.selected ? \"checked\" : \"\"); var currVal_5 = _co.disabled; _ck(_v, 1, 0, currVal_4, currVal_5); }, function (_ck, _v) { var currVal_0 = (i0.ɵnov(_v, 1).state === \"indeterminate\"); var currVal_1 = (i0.ɵnov(_v, 1).state === \"checked\"); var currVal_2 = i0.ɵnov(_v, 1).disabled; var currVal_3 = (i0.ɵnov(_v, 1)._animationMode === \"NoopAnimations\"); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3); }); }\nexport function View_MatOption_0(_l) { return i0.ɵvid(2, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatOption_1)), i0.ɵdid(1, 16384, null, 0, i5.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵeld(2, 0, null, null, 1, \"span\", [[\"class\", \"mat-option-text\"]], null, null, null, null, null)), i0.ɵncd(null, 0), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"div\", [[\"class\", \"mat-option-ripple mat-ripple\"], [\"mat-ripple\", \"\"]], [[2, \"mat-ripple-unbounded\", null]], null, null, null, null)), i0.ɵdid(5, 212992, null, 0, i1.MatRipple, [i0.ElementRef, i0.NgZone, i4.Platform, [2, i1.MAT_RIPPLE_GLOBAL_OPTIONS], [2, i6.ANIMATION_MODULE_TYPE]], { disabled: [0, \"disabled\"], trigger: [1, \"trigger\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.multiple; _ck(_v, 1, 0, currVal_0); var currVal_2 = (_co.disabled || _co.disableRipple); var currVal_3 = _co._getHostElement(); _ck(_v, 5, 0, currVal_2, currVal_3); }, function (_ck, _v) { var currVal_1 = i0.ɵnov(_v, 5).unbounded; _ck(_v, 4, 0, currVal_1); }); }\nexport function View_MatOption_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"mat-option\", [[\"class\", \"mat-option\"], [\"role\", \"option\"]], [[1, \"tabindex\", 0], [2, \"mat-selected\", null], [2, \"mat-option-multiple\", null], [2, \"mat-active\", null], [8, \"id\", 0], [1, \"aria-selected\", 0], [1, \"aria-disabled\", 0], [2, \"mat-option-disabled\", null]], [[null, \"click\"], [null, \"keydown\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n        var pd_0 = (i0.ɵnov(_v, 1)._selectViaInteraction() !== false);\n        ad = (pd_0 && ad);\n    } if ((\"keydown\" === en)) {\n        var pd_1 = (i0.ɵnov(_v, 1)._handleKeydown($event) !== false);\n        ad = (pd_1 && ad);\n    } return ad; }, View_MatOption_0, RenderType_MatOption)), i0.ɵdid(1, 8568832, null, 0, i1.MatOption, [i0.ElementRef, i0.ChangeDetectorRef, [2, i1.MAT_OPTION_PARENT_COMPONENT], [2, i1.MatOptgroup]], null, null)], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 1)._getTabIndex(); var currVal_1 = i0.ɵnov(_v, 1).selected; var currVal_2 = i0.ɵnov(_v, 1).multiple; var currVal_3 = i0.ɵnov(_v, 1).active; var currVal_4 = i0.ɵnov(_v, 1).id; var currVal_5 = i0.ɵnov(_v, 1).selected.toString(); var currVal_6 = i0.ɵnov(_v, 1).disabled.toString(); var currVal_7 = i0.ɵnov(_v, 1).disabled; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }); }\nvar MatOptionNgFactory = i0.ɵccf(\"mat-option\", i1.MatOption, View_MatOption_Host_0, { value: \"value\", id: \"id\", disabled: \"disabled\" }, { onSelectionChange: \"onSelectionChange\" }, [\"*\"]);\nexport { MatOptionNgFactory as MatOptionNgFactory };\nvar styles_MatOptgroup = [\".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\"];\nvar RenderType_MatOptgroup = i0.ɵcrt({ encapsulation: 2, styles: styles_MatOptgroup, data: {} });\nexport { RenderType_MatOptgroup as RenderType_MatOptgroup };\nexport function View_MatOptgroup_0(_l) { return i0.ɵvid(2, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"label\", [[\"class\", \"mat-optgroup-label\"]], [[8, \"id\", 0]], null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"])), i0.ɵncd(null, 0), i0.ɵncd(null, 1)], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co._labelId; _ck(_v, 0, 0, currVal_0); var currVal_1 = _co.label; _ck(_v, 1, 0, currVal_1); }); }\nexport function View_MatOptgroup_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"mat-optgroup\", [[\"class\", \"mat-optgroup\"], [\"role\", \"group\"]], [[2, \"mat-optgroup-disabled\", null], [1, \"aria-disabled\", 0], [1, \"aria-labelledby\", 0]], null, null, View_MatOptgroup_0, RenderType_MatOptgroup)), i0.ɵdid(1, 49152, null, 0, i1.MatOptgroup, [], null, null)], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 1).disabled; var currVal_1 = i0.ɵnov(_v, 1).disabled.toString(); var currVal_2 = i0.ɵnov(_v, 1)._labelId; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); }); }\nvar MatOptgroupNgFactory = i0.ɵccf(\"mat-optgroup\", i1.MatOptgroup, View_MatOptgroup_Host_0, { disabled: \"disabled\", label: \"label\" }, {}, [\"*\", \"mat-option, ng-container\"]);\nexport { MatOptgroupNgFactory as MatOptgroupNgFactory };\nvar styles_MatPseudoCheckbox = [\".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\"];\nvar RenderType_MatPseudoCheckbox = i0.ɵcrt({ encapsulation: 2, styles: styles_MatPseudoCheckbox, data: {} });\nexport { RenderType_MatPseudoCheckbox as RenderType_MatPseudoCheckbox };\nexport function View_MatPseudoCheckbox_0(_l) { return i0.ɵvid(2, [], null, null); }\nexport function View_MatPseudoCheckbox_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"mat-pseudo-checkbox\", [[\"class\", \"mat-pseudo-checkbox\"]], [[2, \"mat-pseudo-checkbox-indeterminate\", null], [2, \"mat-pseudo-checkbox-checked\", null], [2, \"mat-pseudo-checkbox-disabled\", null], [2, \"_mat-animation-noopable\", null]], null, null, View_MatPseudoCheckbox_0, RenderType_MatPseudoCheckbox)), i0.ɵdid(1, 49152, null, 0, i1.MatPseudoCheckbox, [[2, i6.ANIMATION_MODULE_TYPE]], null, null)], null, function (_ck, _v) { var currVal_0 = (i0.ɵnov(_v, 1).state === \"indeterminate\"); var currVal_1 = (i0.ɵnov(_v, 1).state === \"checked\"); var currVal_2 = i0.ɵnov(_v, 1).disabled; var currVal_3 = (i0.ɵnov(_v, 1)._animationMode === \"NoopAnimations\"); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3); }); }\nvar MatPseudoCheckboxNgFactory = i0.ɵccf(\"mat-pseudo-checkbox\", i1.MatPseudoCheckbox, View_MatPseudoCheckbox_Host_0, { state: \"state\", disabled: \"disabled\" }, {}, []);\nexport { MatPseudoCheckboxNgFactory as MatPseudoCheckboxNgFactory };\n","<mat-pseudo-checkbox *ngIf=\"multiple\" class=\"mat-option-pseudo-checkbox\" [state]=\"selected ? 'checked' : ''\" [disabled]=\"disabled\"></mat-pseudo-checkbox><span class=\"mat-option-text\"><ng-content></ng-content></span><div class=\"mat-option-ripple\" mat-ripple [matRippleTrigger]=\"_getHostElement()\" [matRippleDisabled]=\"disabled || disableRipple\"></div>","import { Router } from '@angular/router';\nimport { Settings } from '../../../core/config/settings.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../../../core/config/settings.service\";\nimport * as i2 from \"@angular/router\";\nvar BillingEnabledGuard = /** @class */ (function () {\n    function BillingEnabledGuard(settings, router) {\n        this.settings = settings;\n        this.router = router;\n    }\n    BillingEnabledGuard.prototype.canActivate = function (route, state) {\n        return this.handle();\n    };\n    BillingEnabledGuard.prototype.canActivateChild = function (route, state) {\n        return this.handle();\n    };\n    BillingEnabledGuard.prototype.handle = function () {\n        if (this.settings.get('billing.integrated') && this.settings.get('billing.enable')) {\n            return true;\n        }\n        this.router.navigate(['/drive']);\n        return false;\n    };\n    BillingEnabledGuard.ngInjectableDef = i0.defineInjectable({ factory: function BillingEnabledGuard_Factory() { return new BillingEnabledGuard(i0.inject(i1.Settings), i0.inject(i2.Router)); }, token: BillingEnabledGuard, providedIn: \"root\" });\n    return BillingEnabledGuard;\n}());\nexport { BillingEnabledGuard };\n","import {Injectable} from '@angular/core';\r\nimport {CanActivate, Router, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild} from '@angular/router';\r\nimport { Settings } from '../../../core/config/settings.service';\r\n\r\n@Injectable({\r\n    providedIn: 'root',\r\n})\r\nexport class BillingEnabledGuard implements CanActivate, CanActivateChild {\r\n    constructor(private settings: Settings, private router: Router) {}\r\n\r\n    canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\r\n        return this.handle();\r\n    }\r\n\r\n    canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\r\n        return this.handle();\r\n    }\r\n\r\n    private handle() {\r\n        if (this.settings.get('billing.integrated') && this.settings.get('billing.enable')) {\r\n            return true;\r\n        }\r\n\r\n        this.router.navigate(['/drive']);\r\n        return false;\r\n    }\r\n}\r\n","export function ucFirst(string: string) {\r\n    return (string.charAt(0).toUpperCase() + string.slice(1)) as any;\r\n}\r\n","import { AppHttpClient } from '../../core/http/app-http-client.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../../core/http/app-http-client.service\";\nvar Plans = /** @class */ (function () {\n    /**\n     * Plans API service constructor.\n     */\n    function Plans(http) {\n        this.http = http;\n    }\n    /**\n     * Get all available projects.\n     */\n    Plans.prototype.all = function (params) {\n        return this.http.get('billing/plans', params);\n    };\n    /**\n     * Get plan matching specified id.\n     */\n    Plans.prototype.get = function (id) {\n        return this.http.get('billing/plans/' + id);\n    };\n    /**\n     * Create a new plan.\n     */\n    Plans.prototype.create = function (params) {\n        return this.http.post('billing/plans', params);\n    };\n    /**\n     * Sync billing plans across all gateways.\n     */\n    Plans.prototype.sync = function () {\n        return this.http.post('billing/plans/sync');\n    };\n    /**\n     * Update plan matching specified id.\n     */\n    Plans.prototype.update = function (id, params) {\n        return this.http.put('billing/plans/' + id, params);\n    };\n    /**\n     * Delete plan matching specified id.\n     */\n    Plans.prototype.delete = function (params) {\n        return this.http.delete('billing/plans', params);\n    };\n    Plans.ngInjectableDef = i0.defineInjectable({ factory: function Plans_Factory() { return new Plans(i0.inject(i1.AppHttpClient)); }, token: Plans, providedIn: \"root\" });\n    return Plans;\n}());\nexport { Plans };\n","import {Injectable} from '@angular/core';\r\nimport {Observable} from 'rxjs';\r\nimport {AppHttpClient} from '../../core/http/app-http-client.service';\r\nimport {PaginationResponse} from '../../core/types/pagination-response';\r\nimport { Plan } from './models/plan';\r\n\r\n@Injectable({\r\n    providedIn: 'root'\r\n})\r\nexport class Plans {\r\n\r\n    /**\r\n     * Plans API service constructor.\r\n     */\r\n    constructor(private http: AppHttpClient) {}\r\n\r\n    /**\r\n     * Get all available projects.\r\n     */\r\n    public all(params?: object): Observable<PaginationResponse<Plan>> {\r\n        return this.http.get('billing/plans', params);\r\n    }\r\n\r\n    /**\r\n     * Get plan matching specified id.\r\n     */\r\n    public get(id: number): Observable<{plan: Plan}> {\r\n        return this.http.get('billing/plans/' + id);\r\n    }\r\n\r\n    /**\r\n     * Create a new plan.\r\n     */\r\n    public create(params: object): Observable<{plan: Plan}> {\r\n        return this.http.post('billing/plans', params);\r\n    }\r\n\r\n    /**\r\n     * Sync billing plans across all gateways.\r\n     */\r\n    public sync(): Observable<object> {\r\n        return this.http.post('billing/plans/sync');\r\n    }\r\n\r\n    /**\r\n     * Update plan matching specified id.\r\n     */\r\n    public update(id: number, params: object): Observable<{plan: Plan}> {\r\n        return this.http.put('billing/plans/' + id, params);\r\n    }\r\n\r\n    /**\r\n     * Delete plan matching specified id.\r\n     */\r\n    public delete(params: {ids: number[]}): Observable<any> {\r\n        return this.http.delete('billing/plans', params);\r\n    }\r\n}\r\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { __extends } from 'tslib';\nimport { Component, ChangeDetectionStrategy, ElementRef, Inject, Input, Output, EventEmitter, Optional, NgZone, ViewEncapsulation, ViewChild, InjectionToken, inject, NgModule } from '@angular/core';\nimport { fromEvent, Subscription } from 'rxjs';\nimport { filter } from 'rxjs/operators';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { mixinColor, MatCommonModule } from '@angular/material/core';\nimport { DOCUMENT, CommonModule } from '@angular/common';\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// TODO(josephperrott): Benchpress tests.\n// TODO(josephperrott): Add ARIA attributes for progress bar \"for\".\n// Boilerplate for applying mixins to MatProgressBar.\n/**\n * \\@docs-private\n */\nvar  \n// TODO(josephperrott): Benchpress tests.\n// TODO(josephperrott): Add ARIA attributes for progress bar \"for\".\n// Boilerplate for applying mixins to MatProgressBar.\n/**\n * \\@docs-private\n */\nMatProgressBarBase = /** @class */ (function () {\n    function MatProgressBarBase(_elementRef) {\n        this._elementRef = _elementRef;\n    }\n    return MatProgressBarBase;\n}());\n/** @type {?} */\nvar _MatProgressBarMixinBase = mixinColor(MatProgressBarBase, 'primary');\n/**\n * Injection token used to provide the current location to `MatProgressBar`.\n * Used to handle server-side rendering and to stub out during unit tests.\n * \\@docs-private\n * @type {?}\n */\nvar MAT_PROGRESS_BAR_LOCATION = new InjectionToken('mat-progress-bar-location', { providedIn: 'root', factory: MAT_PROGRESS_BAR_LOCATION_FACTORY });\n/**\n * \\@docs-private\n * @return {?}\n */\nfunction MAT_PROGRESS_BAR_LOCATION_FACTORY() {\n    /** @type {?} */\n    var _document = inject(DOCUMENT);\n    /** @type {?} */\n    var _location = _document ? _document.location : null;\n    return {\n        // Note that this needs to be a function, rather than a property, because Angular\n        // will only resolve it once, but we want the current path on each call.\n        getPathname: function () { return _location ? (_location.pathname + _location.search) : ''; }\n    };\n}\n/**\n * Counter used to generate unique IDs for progress bars.\n * @type {?}\n */\nvar progressbarId = 0;\n/**\n * `<mat-progress-bar>` component.\n */\nvar MatProgressBar = /** @class */ (function (_super) {\n    __extends(MatProgressBar, _super);\n    function MatProgressBar(_elementRef, _ngZone, _animationMode, \n    /**\n     * @deprecated `location` parameter to be made required.\n     * @breaking-change 8.0.0\n     */\n    location) {\n        var _this = _super.call(this, _elementRef) || this;\n        _this._elementRef = _elementRef;\n        _this._ngZone = _ngZone;\n        _this._animationMode = _animationMode;\n        /**\n         * Flag that indicates whether NoopAnimations mode is set to true.\n         */\n        _this._isNoopAnimation = false;\n        _this._value = 0;\n        _this._bufferValue = 0;\n        /**\n         * Event emitted when animation of the primary progress bar completes. This event will not\n         * be emitted when animations are disabled, nor will it be emitted for modes with continuous\n         * animations (indeterminate and query).\n         */\n        _this.animationEnd = new EventEmitter();\n        /**\n         * Reference to animation end subscription to be unsubscribed on destroy.\n         */\n        _this._animationEndSubscription = Subscription.EMPTY;\n        /**\n         * Mode of the progress bar.\n         *\n         * Input must be one of these values: determinate, indeterminate, buffer, query, defaults to\n         * 'determinate'.\n         * Mirrored to mode attribute.\n         */\n        _this.mode = 'determinate';\n        /**\n         * ID of the progress bar.\n         */\n        _this.progressbarId = \"mat-progress-bar-\" + progressbarId++;\n        // We need to prefix the SVG reference with the current path, otherwise they won't work\n        // in Safari if the page has a `<base>` tag. Note that we need quotes inside the `url()`,\n        // because named route URLs can contain parentheses (see #12338). Also we don't use since\n        // we can't tell the difference between whether\n        // the consumer is using the hash location strategy or not, because `Location` normalizes\n        // both `/#/foo/bar` and `/foo/bar` to the same thing.\n        /** @type {?} */\n        var path = location ? location.getPathname().split('#')[0] : '';\n        _this._rectangleFillValue = \"url('\" + path + \"#\" + _this.progressbarId + \"')\";\n        _this._isNoopAnimation = _animationMode === 'NoopAnimations';\n        return _this;\n    }\n    Object.defineProperty(MatProgressBar.prototype, \"value\", {\n        /** Value of the progress bar. Defaults to zero. Mirrored to aria-valuenow. */\n        get: /**\n         * Value of the progress bar. Defaults to zero. Mirrored to aria-valuenow.\n         * @return {?}\n         */\n        function () { return this._value; },\n        set: /**\n         * @param {?} v\n         * @return {?}\n         */\n        function (v) {\n            this._value = clamp(v || 0);\n            // When noop animation is set to true, trigger animationEnd directly.\n            if (this._isNoopAnimation) {\n                this.emitAnimationEnd();\n            }\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatProgressBar.prototype, \"bufferValue\", {\n        /** Buffer value of the progress bar. Defaults to zero. */\n        get: /**\n         * Buffer value of the progress bar. Defaults to zero.\n         * @return {?}\n         */\n        function () { return this._bufferValue; },\n        set: /**\n         * @param {?} v\n         * @return {?}\n         */\n        function (v) { this._bufferValue = clamp(v || 0); },\n        enumerable: true,\n        configurable: true\n    });\n    /** Gets the current transform value for the progress bar's primary indicator. */\n    /**\n     * Gets the current transform value for the progress bar's primary indicator.\n     * @return {?}\n     */\n    MatProgressBar.prototype._primaryTransform = /**\n     * Gets the current transform value for the progress bar's primary indicator.\n     * @return {?}\n     */\n    function () {\n        /** @type {?} */\n        var scale = this.value / 100;\n        return { transform: \"scaleX(\" + scale + \")\" };\n    };\n    /**\n     * Gets the current transform value for the progress bar's buffer indicator. Only used if the\n     * progress mode is set to buffer, otherwise returns an undefined, causing no transformation.\n     */\n    /**\n     * Gets the current transform value for the progress bar's buffer indicator. Only used if the\n     * progress mode is set to buffer, otherwise returns an undefined, causing no transformation.\n     * @return {?}\n     */\n    MatProgressBar.prototype._bufferTransform = /**\n     * Gets the current transform value for the progress bar's buffer indicator. Only used if the\n     * progress mode is set to buffer, otherwise returns an undefined, causing no transformation.\n     * @return {?}\n     */\n    function () {\n        if (this.mode === 'buffer') {\n            /** @type {?} */\n            var scale = this.bufferValue / 100;\n            return { transform: \"scaleX(\" + scale + \")\" };\n        }\n    };\n    /**\n     * @return {?}\n     */\n    MatProgressBar.prototype.ngAfterViewInit = /**\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        if (!this._isNoopAnimation) {\n            // Run outside angular so change detection didn't get triggered on every transition end\n            // instead only on the animation that we care about (primary value bar's transitionend)\n            this._ngZone.runOutsideAngular((function () {\n                _this._animationEndSubscription =\n                    fromEvent(_this._primaryValueBar.nativeElement, 'transitionend')\n                        .pipe(filter((function (e) {\n                        return e.target === _this._primaryValueBar.nativeElement;\n                    })))\n                        .subscribe(function (_) { return _this._ngZone.run(function () { return _this.emitAnimationEnd(); }); });\n            }));\n        }\n    };\n    /**\n     * @return {?}\n     */\n    MatProgressBar.prototype.ngOnDestroy = /**\n     * @return {?}\n     */\n    function () {\n        this._animationEndSubscription.unsubscribe();\n    };\n    /** Emit an animationEnd event if in determinate or buffer mode. */\n    /**\n     * Emit an animationEnd event if in determinate or buffer mode.\n     * @private\n     * @return {?}\n     */\n    MatProgressBar.prototype.emitAnimationEnd = /**\n     * Emit an animationEnd event if in determinate or buffer mode.\n     * @private\n     * @return {?}\n     */\n    function () {\n        if (this.mode === 'determinate' || this.mode === 'buffer') {\n            this.animationEnd.next({ value: this.value });\n        }\n    };\n    MatProgressBar.decorators = [\n        { type: Component, args: [{selector: 'mat-progress-bar',\n                    exportAs: 'matProgressBar',\n                    host: {\n                        'role': 'progressbar',\n                        'aria-valuemin': '0',\n                        'aria-valuemax': '100',\n                        '[attr.aria-valuenow]': 'value',\n                        '[attr.mode]': 'mode',\n                        'class': 'mat-progress-bar',\n                        '[class._mat-animation-noopable]': \"_isNoopAnimation\",\n                    },\n                    inputs: ['color'],\n                    template: \"<svg width=\\\"100%\\\" height=\\\"4\\\" focusable=\\\"false\\\" class=\\\"mat-progress-bar-background mat-progress-bar-element\\\"><defs><pattern [id]=\\\"progressbarId\\\" x=\\\"4\\\" y=\\\"0\\\" width=\\\"8\\\" height=\\\"4\\\" patternUnits=\\\"userSpaceOnUse\\\"><circle cx=\\\"2\\\" cy=\\\"2\\\" r=\\\"2\\\"/></pattern></defs><rect [attr.fill]=\\\"_rectangleFillValue\\\" width=\\\"100%\\\" height=\\\"100%\\\"/></svg><div class=\\\"mat-progress-bar-buffer mat-progress-bar-element\\\" [ngStyle]=\\\"_bufferTransform()\\\"></div><div class=\\\"mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element\\\" [ngStyle]=\\\"_primaryTransform()\\\" #primaryValueBar></div><div class=\\\"mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element\\\"></div>\",\n                    styles: [\".mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-background{display:none}}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:'';display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2s infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2s infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2s infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2s infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after{animation:none;transition:none}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(.5,0,.70173,.49582);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(.30244,.38135,.55,.95635);transform:translateX(83.67142%)}100%{transform:translateX(200.61106%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(.08)}36.65%{animation-timing-function:cubic-bezier(.33473,.12482,.78584,1);transform:scaleX(.08)}69.15%{animation-timing-function:cubic-bezier(.06,.11,.6,1);transform:scaleX(.66148)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:translateX(37.65191%)}48.35%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:translateX(84.38617%)}100%{transform:translateX(160.27778%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:scaleX(.08)}19.15%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:scaleX(.4571)}44.15%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:scaleX(.72796)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\"],\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                    encapsulation: ViewEncapsulation.None,\n                },] },\n    ];\n    /** @nocollapse */\n    MatProgressBar.ctorParameters = function () { return [\n        { type: ElementRef },\n        { type: NgZone },\n        { type: String, decorators: [{ type: Optional }, { type: Inject, args: [ANIMATION_MODULE_TYPE,] }] },\n        { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [MAT_PROGRESS_BAR_LOCATION,] }] }\n    ]; };\n    MatProgressBar.propDecorators = {\n        value: [{ type: Input }],\n        bufferValue: [{ type: Input }],\n        _primaryValueBar: [{ type: ViewChild, args: ['primaryValueBar',] }],\n        animationEnd: [{ type: Output }],\n        mode: [{ type: Input }]\n    };\n    return MatProgressBar;\n}(_MatProgressBarMixinBase));\n/**\n * Clamps a value to be between two numbers, by default 0 and 100.\n * @param {?} v\n * @param {?=} min\n * @param {?=} max\n * @return {?}\n */\nfunction clamp(v, min, max) {\n    if (min === void 0) { min = 0; }\n    if (max === void 0) { max = 100; }\n    return Math.max(min, Math.min(max, v));\n}\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nvar MatProgressBarModule = /** @class */ (function () {\n    function MatProgressBarModule() {\n    }\n    MatProgressBarModule.decorators = [\n        { type: NgModule, args: [{\n                    imports: [CommonModule, MatCommonModule],\n                    exports: [MatProgressBar, MatCommonModule],\n                    declarations: [MatProgressBar],\n                },] },\n    ];\n    return MatProgressBarModule;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\nexport { MatProgressBarModule, MAT_PROGRESS_BAR_LOCATION_FACTORY, MatProgressBarBase, _MatProgressBarMixinBase, MAT_PROGRESS_BAR_LOCATION, MatProgressBar };\n//# sourceMappingURL=progress-bar.es5.js.map\n","import {NgModule} from '@angular/core';\r\nimport {FullPlanNameComponent} from './full-plan-name.component';\r\n\r\n@NgModule({\r\n    declarations: [\r\n        FullPlanNameComponent,\r\n    ],\r\n    exports: [\r\n        FullPlanNameComponent,\r\n    ]\r\n})\r\nexport class FullPlanNameModule {}\r\n","import {NgModule} from '@angular/core';\r\nimport {CommonModule} from '@angular/common';\r\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\r\nimport {\r\n    MatButtonModule,\r\n    MatCheckboxModule,\r\n    MatDialogModule, MatIconModule,\r\n    MatListModule,\r\n    MatProgressBarModule,\r\n    MatRadioModule,\r\n    MatSnackBarModule,\r\n    MatStepperModule,\r\n    MatTabsModule,\r\n    MatTooltipModule,\r\n} from '@angular/material';\r\nimport {UpgradePageComponent} from './upgrade-page/upgrade-page.component';\r\nimport {BillingPlansResolver} from './upgrade-page/billing-plans-resolver.service';\r\nimport {BillingRoutingModule} from './billing-routing.module';\r\nimport { PlanFeaturesListComponent } from './upgrade-page/plan-features-list/plan-features-list.component';\r\nimport { OrderSummaryComponent } from './upgrade-page/order-summary/order-summary.component';\r\nimport { AcceptedPaymentsHeaderComponent } from './upgrade-page/accepted-payments-header/accepted-payments-header.component';\r\nimport { UserSubscriptionPageComponent } from './subscriptions/user-subscription-page/user-subscription-page.component';\r\nimport { UpgradePageAsideComponent } from './upgrade-page/upgrade-page-aside/upgrade-page-aside.component';\r\nimport {CurrenciesListResolver} from './upgrade-page/currencies-list-resolver.service';\r\nimport { CreditCardFormComponent } from './credit-card-form/credit-card-form.component';\r\nimport {PaypalSubscriptions} from './subscriptions/paypal-subscriptions';\r\nimport { SelectPlanModalComponent } from './plans/select-plan-modal/select-plan-modal.component';\r\nimport {SelectPlanPanelComponent} from './plans/select-plan-panel/select-plan-panel.component';\r\nimport {SelectPlanPeriodPanelComponent} from './plans/select-plan-period-panel/select-plan-period-panel.component';\r\nimport {SubscriptionStepperState} from './subscriptions/subscription-stepper-state.service';\r\nimport {UserNotSubscribedGuard} from './guards/user-not-subscribed-guard.service';\r\nimport {UserSubscribedGuard} from './guards/user-subscribed-guard.service';\r\nimport {CreateSubscriptionPanelComponent} from './subscriptions/create-subscription-panel/create-subscription-panel.component';\r\nimport {UiModule} from '../core/ui/ui.module';\r\nimport { ContactWidgetComponent } from './upgrade-page/contact-widget/contact-widget.component';\r\nimport { FullPlanNameModule } from '../shared/billing/full-plan-name/full-plan-name.module';\r\n\r\n@NgModule({\r\n    imports: [\r\n        CommonModule,\r\n        FormsModule,\r\n        ReactiveFormsModule,\r\n        UiModule,\r\n        BillingRoutingModule,\r\n        FullPlanNameModule,\r\n\r\n        // material\r\n        MatButtonModule,\r\n        MatIconModule,\r\n        MatSnackBarModule,\r\n        MatCheckboxModule,\r\n        MatTooltipModule,\r\n        MatDialogModule,\r\n        MatListModule,\r\n        MatStepperModule,\r\n        MatProgressBarModule,\r\n        MatTabsModule,\r\n        MatRadioModule,\r\n    ],\r\n    declarations: [\r\n        UpgradePageComponent,\r\n        PlanFeaturesListComponent,\r\n        OrderSummaryComponent,\r\n        AcceptedPaymentsHeaderComponent,\r\n        UserSubscriptionPageComponent,\r\n        UpgradePageAsideComponent,\r\n        CreditCardFormComponent,\r\n        CreateSubscriptionPanelComponent,\r\n        SelectPlanPanelComponent,\r\n        SelectPlanModalComponent,\r\n        SelectPlanPeriodPanelComponent,\r\n        ContactWidgetComponent,\r\n    ],\r\n    entryComponents: [\r\n        SelectPlanModalComponent,\r\n    ],\r\n    providers: [\r\n        BillingPlansResolver,\r\n        CurrenciesListResolver,\r\n        PaypalSubscriptions,\r\n        SubscriptionStepperState,\r\n        UserNotSubscribedGuard,\r\n        UserSubscribedGuard,\r\n    ],\r\n    exports: [\r\n        BillingRoutingModule,\r\n    ]\r\n})\r\nexport class BillingModule {\r\n}\r\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { Directive, TemplateRef, ElementRef, ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, ContentChildren, EventEmitter, forwardRef, Inject, Input, Optional, Output, ViewChild, ViewEncapsulation, InjectionToken, NgModule } from '@angular/core';\nimport { FocusKeyManager } from '@angular/cdk/a11y';\nimport { Directionality, BidiModule } from '@angular/cdk/bidi';\nimport { coerceBooleanProperty, coerceNumberProperty } from '@angular/cdk/coercion';\nimport { END, ENTER, HOME, SPACE, hasModifierKey } from '@angular/cdk/keycodes';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport '@angular/forms';\nimport { Subject, of } from 'rxjs';\nimport { startWith, takeUntil } from 'rxjs/operators';\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nvar CdkStepLabel = /** @class */ (function () {\n    function CdkStepLabel(/** @docs-private */ template) {\n        this.template = template;\n    }\n    CdkStepLabel.decorators = [\n        { type: Directive, args: [{\n                    selector: '[cdkStepLabel]',\n                },] },\n    ];\n    /** @nocollapse */\n    CdkStepLabel.ctorParameters = function () { return [\n        { type: TemplateRef }\n    ]; };\n    return CdkStepLabel;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nvar CdkStepHeader = /** @class */ (function () {\n    function CdkStepHeader(_elementRef) {\n        this._elementRef = _elementRef;\n    }\n    /** Focuses the step header. */\n    /**\n     * Focuses the step header.\n     * @return {?}\n     */\n    CdkStepHeader.prototype.focus = /**\n     * Focuses the step header.\n     * @return {?}\n     */\n    function () {\n        this._elementRef.nativeElement.focus();\n    };\n    CdkStepHeader.decorators = [\n        { type: Directive, args: [{\n                    selector: '[cdkStepHeader]',\n                    host: {\n                        'role': 'tab',\n                    },\n                },] },\n    ];\n    /** @nocollapse */\n    CdkStepHeader.ctorParameters = function () { return [\n        { type: ElementRef }\n    ]; };\n    return CdkStepHeader;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Used to generate unique ID for each stepper component.\n * @type {?}\n */\nvar nextId = 0;\n/**\n * Change event emitted on selection changes.\n */\nvar  /**\n * Change event emitted on selection changes.\n */\nStepperSelectionEvent = /** @class */ (function () {\n    function StepperSelectionEvent() {\n    }\n    return StepperSelectionEvent;\n}());\n/**\n * Enum to represent the different states of the steps.\n * @type {?}\n */\nvar STEP_STATE = {\n    NUMBER: 'number',\n    EDIT: 'edit',\n    DONE: 'done',\n    ERROR: 'error'\n};\n/**\n * InjectionToken that can be used to specify the global stepper options.\n * @type {?}\n */\nvar STEPPER_GLOBAL_OPTIONS = new InjectionToken('STEPPER_GLOBAL_OPTIONS');\n/**\n * InjectionToken that can be used to specify the global stepper options.\n * @deprecated Use `STEPPER_GLOBAL_OPTIONS` instead.\n * \\@breaking-change 8.0.0.\n * @type {?}\n */\nvar MAT_STEPPER_GLOBAL_OPTIONS = STEPPER_GLOBAL_OPTIONS;\nvar CdkStep = /** @class */ (function () {\n    /** @breaking-change 8.0.0 remove the `?` after `stepperOptions` */\n    function CdkStep(_stepper, stepperOptions) {\n        this._stepper = _stepper;\n        /**\n         * Whether user has seen the expanded step content or not.\n         */\n        this.interacted = false;\n        this._editable = true;\n        this._optional = false;\n        this._customCompleted = null;\n        this._customError = null;\n        this._stepperOptions = stepperOptions ? stepperOptions : {};\n        this._displayDefaultIndicatorType = this._stepperOptions.displayDefaultIndicatorType !== false;\n        this._showError = !!this._stepperOptions.showError;\n    }\n    Object.defineProperty(CdkStep.prototype, \"editable\", {\n        /** Whether the user can return to this step once it has been marked as completed. */\n        get: /**\n         * Whether the user can return to this step once it has been marked as completed.\n         * @return {?}\n         */\n        function () { return this._editable; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            this._editable = coerceBooleanProperty(value);\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(CdkStep.prototype, \"optional\", {\n        /** Whether the completion of step is optional. */\n        get: /**\n         * Whether the completion of step is optional.\n         * @return {?}\n         */\n        function () { return this._optional; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            this._optional = coerceBooleanProperty(value);\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(CdkStep.prototype, \"completed\", {\n        /** Whether step is marked as completed. */\n        get: /**\n         * Whether step is marked as completed.\n         * @return {?}\n         */\n        function () {\n            return this._customCompleted == null ? this._getDefaultCompleted() : this._customCompleted;\n        },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            this._customCompleted = coerceBooleanProperty(value);\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * @private\n     * @return {?}\n     */\n    CdkStep.prototype._getDefaultCompleted = /**\n     * @private\n     * @return {?}\n     */\n    function () {\n        return this.stepControl ? this.stepControl.valid && this.interacted : this.interacted;\n    };\n    Object.defineProperty(CdkStep.prototype, \"hasError\", {\n        /** Whether step has an error. */\n        get: /**\n         * Whether step has an error.\n         * @return {?}\n         */\n        function () {\n            return this._customError == null ? this._getDefaultError() : this._customError;\n        },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            this._customError = coerceBooleanProperty(value);\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * @private\n     * @return {?}\n     */\n    CdkStep.prototype._getDefaultError = /**\n     * @private\n     * @return {?}\n     */\n    function () {\n        return this.stepControl && this.stepControl.invalid && this.interacted;\n    };\n    /** Selects this step component. */\n    /**\n     * Selects this step component.\n     * @return {?}\n     */\n    CdkStep.prototype.select = /**\n     * Selects this step component.\n     * @return {?}\n     */\n    function () {\n        this._stepper.selected = this;\n    };\n    /** Resets the step to its initial state. Note that this includes resetting form data. */\n    /**\n     * Resets the step to its initial state. Note that this includes resetting form data.\n     * @return {?}\n     */\n    CdkStep.prototype.reset = /**\n     * Resets the step to its initial state. Note that this includes resetting form data.\n     * @return {?}\n     */\n    function () {\n        this.interacted = false;\n        if (this._customCompleted != null) {\n            this._customCompleted = false;\n        }\n        if (this._customError != null) {\n            this._customError = false;\n        }\n        if (this.stepControl) {\n            this.stepControl.reset();\n        }\n    };\n    /**\n     * @return {?}\n     */\n    CdkStep.prototype.ngOnChanges = /**\n     * @return {?}\n     */\n    function () {\n        // Since basically all inputs of the MatStep get proxied through the view down to the\n        // underlying MatStepHeader, we have to make sure that change detection runs correctly.\n        this._stepper._stateChanged();\n    };\n    CdkStep.decorators = [\n        { type: Component, args: [{selector: 'cdk-step',\n                    exportAs: 'cdkStep',\n                    template: '<ng-template><ng-content></ng-content></ng-template>',\n                    encapsulation: ViewEncapsulation.None,\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                },] },\n    ];\n    /** @nocollapse */\n    CdkStep.ctorParameters = function () { return [\n        { type: CdkStepper, decorators: [{ type: Inject, args: [forwardRef(function () { return CdkStepper; }),] }] },\n        { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [STEPPER_GLOBAL_OPTIONS,] }] }\n    ]; };\n    CdkStep.propDecorators = {\n        stepLabel: [{ type: ContentChild, args: [CdkStepLabel,] }],\n        content: [{ type: ViewChild, args: [TemplateRef,] }],\n        stepControl: [{ type: Input }],\n        label: [{ type: Input }],\n        errorMessage: [{ type: Input }],\n        ariaLabel: [{ type: Input, args: ['aria-label',] }],\n        ariaLabelledby: [{ type: Input, args: ['aria-labelledby',] }],\n        state: [{ type: Input }],\n        editable: [{ type: Input }],\n        optional: [{ type: Input }],\n        completed: [{ type: Input }],\n        hasError: [{ type: Input }]\n    };\n    return CdkStep;\n}());\nvar CdkStepper = /** @class */ (function () {\n    function CdkStepper(_dir, _changeDetectorRef, _elementRef, _document) {\n        this._dir = _dir;\n        this._changeDetectorRef = _changeDetectorRef;\n        this._elementRef = _elementRef;\n        /**\n         * Emits when the component is destroyed.\n         */\n        this._destroyed = new Subject();\n        this._linear = false;\n        this._selectedIndex = 0;\n        /**\n         * Event emitted when the selected step has changed.\n         */\n        this.selectionChange = new EventEmitter();\n        this._orientation = 'horizontal';\n        this._groupId = nextId++;\n        this._document = _document;\n    }\n    Object.defineProperty(CdkStepper.prototype, \"steps\", {\n        /** The list of step components that the stepper is holding. */\n        get: /**\n         * The list of step components that the stepper is holding.\n         * @return {?}\n         */\n        function () {\n            return this._steps;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(CdkStepper.prototype, \"linear\", {\n        /** Whether the validity of previous steps should be checked or not. */\n        get: /**\n         * Whether the validity of previous steps should be checked or not.\n         * @return {?}\n         */\n        function () { return this._linear; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) { this._linear = coerceBooleanProperty(value); },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(CdkStepper.prototype, \"selectedIndex\", {\n        /** The index of the selected step. */\n        get: /**\n         * The index of the selected step.\n         * @return {?}\n         */\n        function () { return this._selectedIndex; },\n        set: /**\n         * @param {?} index\n         * @return {?}\n         */\n        function (index) {\n            /** @type {?} */\n            var newIndex = coerceNumberProperty(index);\n            if (this.steps) {\n                // Ensure that the index can't be out of bounds.\n                if (newIndex < 0 || newIndex > this.steps.length - 1) {\n                    throw Error('cdkStepper: Cannot assign out-of-bounds value to `selectedIndex`.');\n                }\n                if (this._selectedIndex != newIndex &&\n                    !this._anyControlsInvalidOrPending(newIndex) &&\n                    (newIndex >= this._selectedIndex || this.steps.toArray()[newIndex].editable)) {\n                    this._updateSelectedItemIndex(index);\n                }\n            }\n            else {\n                this._selectedIndex = newIndex;\n            }\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(CdkStepper.prototype, \"selected\", {\n        /** The step that is selected. */\n        get: /**\n         * The step that is selected.\n         * @return {?}\n         */\n        function () {\n            // @breaking-change 8.0.0 Change return type to `CdkStep | undefined`.\n            return this.steps ? this.steps.toArray()[this.selectedIndex] : (/** @type {?} */ (undefined));\n        },\n        set: /**\n         * @param {?} step\n         * @return {?}\n         */\n        function (step) {\n            this.selectedIndex = this.steps ? this.steps.toArray().indexOf(step) : -1;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * @return {?}\n     */\n    CdkStepper.prototype.ngAfterViewInit = /**\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        // Note that while the step headers are content children by default, any components that\n        // extend this one might have them as view chidren. We initialize the keyboard handling in\n        // AfterViewInit so we're guaranteed for both view and content children to be defined.\n        this._keyManager = new FocusKeyManager(this._stepHeader)\n            .withWrap()\n            .withVerticalOrientation(this._orientation === 'vertical');\n        (this._dir ? (/** @type {?} */ (this._dir.change)) : of())\n            .pipe(startWith(this._layoutDirection()), takeUntil(this._destroyed))\n            .subscribe(function (direction) { return _this._keyManager.withHorizontalOrientation(direction); });\n        this._keyManager.updateActiveItemIndex(this._selectedIndex);\n        this.steps.changes.pipe(takeUntil(this._destroyed)).subscribe(function () {\n            if (!_this.selected) {\n                _this._selectedIndex = Math.max(_this._selectedIndex - 1, 0);\n            }\n        });\n    };\n    /**\n     * @return {?}\n     */\n    CdkStepper.prototype.ngOnDestroy = /**\n     * @return {?}\n     */\n    function () {\n        this._destroyed.next();\n        this._destroyed.complete();\n    };\n    /** Selects and focuses the next step in list. */\n    /**\n     * Selects and focuses the next step in list.\n     * @return {?}\n     */\n    CdkStepper.prototype.next = /**\n     * Selects and focuses the next step in list.\n     * @return {?}\n     */\n    function () {\n        this.selectedIndex = Math.min(this._selectedIndex + 1, this.steps.length - 1);\n    };\n    /** Selects and focuses the previous step in list. */\n    /**\n     * Selects and focuses the previous step in list.\n     * @return {?}\n     */\n    CdkStepper.prototype.previous = /**\n     * Selects and focuses the previous step in list.\n     * @return {?}\n     */\n    function () {\n        this.selectedIndex = Math.max(this._selectedIndex - 1, 0);\n    };\n    /** Resets the stepper to its initial state. Note that this includes clearing form data. */\n    /**\n     * Resets the stepper to its initial state. Note that this includes clearing form data.\n     * @return {?}\n     */\n    CdkStepper.prototype.reset = /**\n     * Resets the stepper to its initial state. Note that this includes clearing form data.\n     * @return {?}\n     */\n    function () {\n        this._updateSelectedItemIndex(0);\n        this.steps.forEach(function (step) { return step.reset(); });\n        this._stateChanged();\n    };\n    /** Returns a unique id for each step label element. */\n    /**\n     * Returns a unique id for each step label element.\n     * @param {?} i\n     * @return {?}\n     */\n    CdkStepper.prototype._getStepLabelId = /**\n     * Returns a unique id for each step label element.\n     * @param {?} i\n     * @return {?}\n     */\n    function (i) {\n        return \"cdk-step-label-\" + this._groupId + \"-\" + i;\n    };\n    /** Returns unique id for each step content element. */\n    /**\n     * Returns unique id for each step content element.\n     * @param {?} i\n     * @return {?}\n     */\n    CdkStepper.prototype._getStepContentId = /**\n     * Returns unique id for each step content element.\n     * @param {?} i\n     * @return {?}\n     */\n    function (i) {\n        return \"cdk-step-content-\" + this._groupId + \"-\" + i;\n    };\n    /** Marks the component to be change detected. */\n    /**\n     * Marks the component to be change detected.\n     * @return {?}\n     */\n    CdkStepper.prototype._stateChanged = /**\n     * Marks the component to be change detected.\n     * @return {?}\n     */\n    function () {\n        this._changeDetectorRef.markForCheck();\n    };\n    /** Returns position state of the step with the given index. */\n    /**\n     * Returns position state of the step with the given index.\n     * @param {?} index\n     * @return {?}\n     */\n    CdkStepper.prototype._getAnimationDirection = /**\n     * Returns position state of the step with the given index.\n     * @param {?} index\n     * @return {?}\n     */\n    function (index) {\n        /** @type {?} */\n        var position = index - this._selectedIndex;\n        if (position < 0) {\n            return this._layoutDirection() === 'rtl' ? 'next' : 'previous';\n        }\n        else if (position > 0) {\n            return this._layoutDirection() === 'rtl' ? 'previous' : 'next';\n        }\n        return 'current';\n    };\n    /** Returns the type of icon to be displayed. */\n    /**\n     * Returns the type of icon to be displayed.\n     * @param {?} index\n     * @param {?=} state\n     * @return {?}\n     */\n    CdkStepper.prototype._getIndicatorType = /**\n     * Returns the type of icon to be displayed.\n     * @param {?} index\n     * @param {?=} state\n     * @return {?}\n     */\n    function (index, state) {\n        if (state === void 0) { state = STEP_STATE.NUMBER; }\n        /** @type {?} */\n        var step = this.steps.toArray()[index];\n        /** @type {?} */\n        var isCurrentStep = this._isCurrentStep(index);\n        return step._displayDefaultIndicatorType\n            ? this._getDefaultIndicatorLogic(step, isCurrentStep)\n            : this._getGuidelineLogic(step, isCurrentStep, state);\n    };\n    /**\n     * @private\n     * @param {?} step\n     * @param {?} isCurrentStep\n     * @return {?}\n     */\n    CdkStepper.prototype._getDefaultIndicatorLogic = /**\n     * @private\n     * @param {?} step\n     * @param {?} isCurrentStep\n     * @return {?}\n     */\n    function (step, isCurrentStep) {\n        if (step._showError && step.hasError && !isCurrentStep) {\n            return STEP_STATE.ERROR;\n        }\n        else if (!step.completed || isCurrentStep) {\n            return STEP_STATE.NUMBER;\n        }\n        else {\n            return step.editable ? STEP_STATE.EDIT : STEP_STATE.DONE;\n        }\n    };\n    /**\n     * @private\n     * @param {?} step\n     * @param {?} isCurrentStep\n     * @param {?=} state\n     * @return {?}\n     */\n    CdkStepper.prototype._getGuidelineLogic = /**\n     * @private\n     * @param {?} step\n     * @param {?} isCurrentStep\n     * @param {?=} state\n     * @return {?}\n     */\n    function (step, isCurrentStep, state) {\n        if (state === void 0) { state = STEP_STATE.NUMBER; }\n        if (step._showError && step.hasError && !isCurrentStep) {\n            return STEP_STATE.ERROR;\n        }\n        else if (step.completed && !isCurrentStep) {\n            return STEP_STATE.DONE;\n        }\n        else if (step.completed && isCurrentStep) {\n            return state;\n        }\n        else if (step.editable && isCurrentStep) {\n            return STEP_STATE.EDIT;\n        }\n        else {\n            return state;\n        }\n    };\n    /**\n     * @private\n     * @param {?} index\n     * @return {?}\n     */\n    CdkStepper.prototype._isCurrentStep = /**\n     * @private\n     * @param {?} index\n     * @return {?}\n     */\n    function (index) {\n        return this._selectedIndex === index;\n    };\n    /** Returns the index of the currently-focused step header. */\n    /**\n     * Returns the index of the currently-focused step header.\n     * @return {?}\n     */\n    CdkStepper.prototype._getFocusIndex = /**\n     * Returns the index of the currently-focused step header.\n     * @return {?}\n     */\n    function () {\n        return this._keyManager ? this._keyManager.activeItemIndex : this._selectedIndex;\n    };\n    /**\n     * @private\n     * @param {?} newIndex\n     * @return {?}\n     */\n    CdkStepper.prototype._updateSelectedItemIndex = /**\n     * @private\n     * @param {?} newIndex\n     * @return {?}\n     */\n    function (newIndex) {\n        /** @type {?} */\n        var stepsArray = this.steps.toArray();\n        this.selectionChange.emit({\n            selectedIndex: newIndex,\n            previouslySelectedIndex: this._selectedIndex,\n            selectedStep: stepsArray[newIndex],\n            previouslySelectedStep: stepsArray[this._selectedIndex],\n        });\n        // If focus is inside the stepper, move it to the next header, otherwise it may become\n        // lost when the active step content is hidden. We can't be more granular with the check\n        // (e.g. checking whether focus is inside the active step), because we don't have a\n        // reference to the elements that are rendering out the content.\n        this._containsFocus() ? this._keyManager.setActiveItem(newIndex) :\n            this._keyManager.updateActiveItemIndex(newIndex);\n        this._selectedIndex = newIndex;\n        this._stateChanged();\n    };\n    /**\n     * @param {?} event\n     * @return {?}\n     */\n    CdkStepper.prototype._onKeydown = /**\n     * @param {?} event\n     * @return {?}\n     */\n    function (event) {\n        /** @type {?} */\n        var hasModifier = hasModifierKey(event);\n        /** @type {?} */\n        var keyCode = event.keyCode;\n        /** @type {?} */\n        var manager = this._keyManager;\n        if (manager.activeItemIndex != null && !hasModifier &&\n            (keyCode === SPACE || keyCode === ENTER)) {\n            this.selectedIndex = manager.activeItemIndex;\n            event.preventDefault();\n        }\n        else if (keyCode === HOME) {\n            manager.setFirstItemActive();\n            event.preventDefault();\n        }\n        else if (keyCode === END) {\n            manager.setLastItemActive();\n            event.preventDefault();\n        }\n        else {\n            manager.onKeydown(event);\n        }\n    };\n    /**\n     * @private\n     * @param {?} index\n     * @return {?}\n     */\n    CdkStepper.prototype._anyControlsInvalidOrPending = /**\n     * @private\n     * @param {?} index\n     * @return {?}\n     */\n    function (index) {\n        /** @type {?} */\n        var steps = this.steps.toArray();\n        steps[this._selectedIndex].interacted = true;\n        if (this._linear && index >= 0) {\n            return steps.slice(0, index).some(function (step) {\n                /** @type {?} */\n                var control = step.stepControl;\n                /** @type {?} */\n                var isIncomplete = control ?\n                    (control.invalid || control.pending || !step.interacted) :\n                    !step.completed;\n                return isIncomplete && !step.optional;\n            });\n        }\n        return false;\n    };\n    /**\n     * @private\n     * @return {?}\n     */\n    CdkStepper.prototype._layoutDirection = /**\n     * @private\n     * @return {?}\n     */\n    function () {\n        return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n    };\n    /** Checks whether the stepper contains the focused element. */\n    /**\n     * Checks whether the stepper contains the focused element.\n     * @private\n     * @return {?}\n     */\n    CdkStepper.prototype._containsFocus = /**\n     * Checks whether the stepper contains the focused element.\n     * @private\n     * @return {?}\n     */\n    function () {\n        if (!this._document || !this._elementRef) {\n            return false;\n        }\n        /** @type {?} */\n        var stepperElement = this._elementRef.nativeElement;\n        /** @type {?} */\n        var focusedElement = this._document.activeElement;\n        return stepperElement === focusedElement || stepperElement.contains(focusedElement);\n    };\n    CdkStepper.decorators = [\n        { type: Directive, args: [{\n                    selector: '[cdkStepper]',\n                    exportAs: 'cdkStepper',\n                },] },\n    ];\n    /** @nocollapse */\n    CdkStepper.ctorParameters = function () { return [\n        { type: Directionality, decorators: [{ type: Optional }] },\n        { type: ChangeDetectorRef },\n        { type: ElementRef },\n        { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }\n    ]; };\n    CdkStepper.propDecorators = {\n        _steps: [{ type: ContentChildren, args: [CdkStep,] }],\n        _stepHeader: [{ type: ContentChildren, args: [CdkStepHeader,] }],\n        linear: [{ type: Input }],\n        selectedIndex: [{ type: Input }],\n        selected: [{ type: Input }],\n        selectionChange: [{ type: Output }]\n    };\n    return CdkStepper;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Button that moves to the next step in a stepper workflow.\n */\nvar CdkStepperNext = /** @class */ (function () {\n    function CdkStepperNext(_stepper) {\n        this._stepper = _stepper;\n        /**\n         * Type of the next button. Defaults to \"submit\" if not specified.\n         */\n        this.type = 'submit';\n    }\n    CdkStepperNext.decorators = [\n        { type: Directive, args: [{\n                    selector: 'button[cdkStepperNext]',\n                    host: {\n                        '(click)': '_stepper.next()',\n                        '[type]': 'type',\n                    }\n                },] },\n    ];\n    /** @nocollapse */\n    CdkStepperNext.ctorParameters = function () { return [\n        { type: CdkStepper }\n    ]; };\n    CdkStepperNext.propDecorators = {\n        type: [{ type: Input }]\n    };\n    return CdkStepperNext;\n}());\n/**\n * Button that moves to the previous step in a stepper workflow.\n */\nvar CdkStepperPrevious = /** @class */ (function () {\n    function CdkStepperPrevious(_stepper) {\n        this._stepper = _stepper;\n        /**\n         * Type of the previous button. Defaults to \"button\" if not specified.\n         */\n        this.type = 'button';\n    }\n    CdkStepperPrevious.decorators = [\n        { type: Directive, args: [{\n                    selector: 'button[cdkStepperPrevious]',\n                    host: {\n                        '(click)': '_stepper.previous()',\n                        '[type]': 'type',\n                    }\n                },] },\n    ];\n    /** @nocollapse */\n    CdkStepperPrevious.ctorParameters = function () { return [\n        { type: CdkStepper }\n    ]; };\n    CdkStepperPrevious.propDecorators = {\n        type: [{ type: Input }]\n    };\n    return CdkStepperPrevious;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nvar CdkStepperModule = /** @class */ (function () {\n    function CdkStepperModule() {\n    }\n    CdkStepperModule.decorators = [\n        { type: NgModule, args: [{\n                    imports: [BidiModule, CommonModule],\n                    exports: [\n                        CdkStep,\n                        CdkStepper,\n                        CdkStepHeader,\n                        CdkStepLabel,\n                        CdkStepperNext,\n                        CdkStepperPrevious,\n                    ],\n                    declarations: [\n                        CdkStep,\n                        CdkStepper,\n                        CdkStepHeader,\n                        CdkStepLabel,\n                        CdkStepperNext,\n                        CdkStepperPrevious,\n                    ]\n                },] },\n    ];\n    return CdkStepperModule;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\nexport { StepperSelectionEvent, STEP_STATE, STEPPER_GLOBAL_OPTIONS, MAT_STEPPER_GLOBAL_OPTIONS, CdkStep, CdkStepper, CdkStepLabel, CdkStepperNext, CdkStepperPrevious, CdkStepperModule, CdkStepHeader };\n//# sourceMappingURL=stepper.es5.js.map\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { __extends } from 'tslib';\nimport { Directive, Injectable, Optional, SkipSelf, NgModule, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, Input, ViewEncapsulation, ContentChild, ContentChildren, EventEmitter, forwardRef, Inject, Output, ViewChildren, TemplateRef, defineInjectable } from '@angular/core';\nimport { CdkStepLabel, CdkStepHeader, CdkStep, CdkStepper, STEPPER_GLOBAL_OPTIONS, CdkStepperNext, CdkStepperPrevious, CdkStepperModule } from '@angular/cdk/stepper';\nimport { Subject } from 'rxjs';\nimport { FocusMonitor } from '@angular/cdk/a11y';\nimport { animate, state, style, transition, trigger } from '@angular/animations';\nimport { Directionality } from '@angular/cdk/bidi';\nimport { DOCUMENT, CommonModule } from '@angular/common';\nimport { ErrorStateMatcher, MatCommonModule, MatRippleModule } from '@angular/material/core';\nimport { takeUntil, distinctUntilChanged } from 'rxjs/operators';\nimport { PortalModule } from '@angular/cdk/portal';\nimport { MatButtonModule } from '@angular/material/button';\nimport { MatIconModule } from '@angular/material/icon';\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nvar MatStepLabel = /** @class */ (function (_super) {\n    __extends(MatStepLabel, _super);\n    function MatStepLabel() {\n        return _super !== null && _super.apply(this, arguments) || this;\n    }\n    MatStepLabel.decorators = [\n        { type: Directive, args: [{\n                    selector: '[matStepLabel]',\n                },] },\n    ];\n    return MatStepLabel;\n}(CdkStepLabel));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Stepper data that is required for internationalization.\n */\nvar MatStepperIntl = /** @class */ (function () {\n    function MatStepperIntl() {\n        /**\n         * Stream that emits whenever the labels here are changed. Use this to notify\n         * components if the labels have changed after initialization.\n         */\n        this.changes = new Subject();\n        /**\n         * Label that is rendered below optional steps.\n         */\n        this.optionalLabel = 'Optional';\n    }\n    MatStepperIntl.decorators = [\n        { type: Injectable, args: [{ providedIn: 'root' },] },\n    ];\n    /** @nocollapse */ MatStepperIntl.ngInjectableDef = defineInjectable({ factory: function MatStepperIntl_Factory() { return new MatStepperIntl(); }, token: MatStepperIntl, providedIn: \"root\" });\n    return MatStepperIntl;\n}());\n/**\n * \\@docs-private\n * @param {?} parentIntl\n * @return {?}\n */\nfunction MAT_STEPPER_INTL_PROVIDER_FACTORY(parentIntl) {\n    return parentIntl || new MatStepperIntl();\n}\n/**\n * \\@docs-private\n * @type {?}\n */\nvar MAT_STEPPER_INTL_PROVIDER = {\n    provide: MatStepperIntl,\n    deps: [[new Optional(), new SkipSelf(), MatStepperIntl]],\n    useFactory: MAT_STEPPER_INTL_PROVIDER_FACTORY\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nvar MatStepHeader = /** @class */ (function (_super) {\n    __extends(MatStepHeader, _super);\n    function MatStepHeader(_intl, _focusMonitor, _elementRef, changeDetectorRef) {\n        var _this = _super.call(this, _elementRef) || this;\n        _this._intl = _intl;\n        _this._focusMonitor = _focusMonitor;\n        _focusMonitor.monitor(_elementRef, true);\n        _this._intlSubscription = _intl.changes.subscribe(function () { return changeDetectorRef.markForCheck(); });\n        return _this;\n    }\n    /**\n     * @return {?}\n     */\n    MatStepHeader.prototype.ngOnDestroy = /**\n     * @return {?}\n     */\n    function () {\n        this._intlSubscription.unsubscribe();\n        this._focusMonitor.stopMonitoring(this._elementRef);\n    };\n    /** Returns string label of given step if it is a text label. */\n    /**\n     * Returns string label of given step if it is a text label.\n     * @return {?}\n     */\n    MatStepHeader.prototype._stringLabel = /**\n     * Returns string label of given step if it is a text label.\n     * @return {?}\n     */\n    function () {\n        return this.label instanceof MatStepLabel ? null : this.label;\n    };\n    /** Returns MatStepLabel if the label of given step is a template label. */\n    /**\n     * Returns MatStepLabel if the label of given step is a template label.\n     * @return {?}\n     */\n    MatStepHeader.prototype._templateLabel = /**\n     * Returns MatStepLabel if the label of given step is a template label.\n     * @return {?}\n     */\n    function () {\n        return this.label instanceof MatStepLabel ? this.label : null;\n    };\n    /** Returns the host HTML element. */\n    /**\n     * Returns the host HTML element.\n     * @return {?}\n     */\n    MatStepHeader.prototype._getHostElement = /**\n     * Returns the host HTML element.\n     * @return {?}\n     */\n    function () {\n        return this._elementRef.nativeElement;\n    };\n    /** Template context variables that are exposed to the `matStepperIcon` instances. */\n    /**\n     * Template context variables that are exposed to the `matStepperIcon` instances.\n     * @return {?}\n     */\n    MatStepHeader.prototype._getIconContext = /**\n     * Template context variables that are exposed to the `matStepperIcon` instances.\n     * @return {?}\n     */\n    function () {\n        return {\n            index: this.index,\n            active: this.active,\n            optional: this.optional\n        };\n    };\n    /**\n     * @param {?} state\n     * @return {?}\n     */\n    MatStepHeader.prototype._getDefaultTextForState = /**\n     * @param {?} state\n     * @return {?}\n     */\n    function (state$$1) {\n        if (state$$1 == 'number') {\n            return \"\" + (this.index + 1);\n        }\n        if (state$$1 == 'edit') {\n            return 'create';\n        }\n        if (state$$1 == 'error') {\n            return 'warning';\n        }\n        return state$$1;\n    };\n    MatStepHeader.decorators = [\n        { type: Component, args: [{selector: 'mat-step-header',\n                    template: \"<div class=\\\"mat-step-header-ripple\\\" mat-ripple [matRippleTrigger]=\\\"_getHostElement()\\\"></div><div class=\\\"mat-step-icon-state-{{state}} mat-step-icon\\\" [class.mat-step-icon-selected]=\\\"selected\\\"><div class=\\\"mat-step-icon-content\\\" [ngSwitch]=\\\"!!(iconOverrides && iconOverrides[state])\\\"><ng-container *ngSwitchCase=\\\"true\\\" [ngTemplateOutlet]=\\\"iconOverrides[state]\\\" [ngTemplateOutletContext]=\\\"_getIconContext()\\\"></ng-container><ng-container *ngSwitchDefault [ngSwitch]=\\\"state\\\"><span *ngSwitchCase=\\\"'number'\\\">{{_getDefaultTextForState(state)}}</span><mat-icon *ngSwitchDefault>{{_getDefaultTextForState(state)}}</mat-icon></ng-container></div></div><div class=\\\"mat-step-label\\\" [class.mat-step-label-active]=\\\"active\\\" [class.mat-step-label-selected]=\\\"selected\\\" [class.mat-step-label-error]=\\\"state == 'error'\\\"><ng-container *ngIf=\\\"_templateLabel()\\\" [ngTemplateOutlet]=\\\"_templateLabel()!.template\\\"></ng-container><div class=\\\"mat-step-text-label\\\" *ngIf=\\\"_stringLabel()\\\">{{label}}</div><div class=\\\"mat-step-optional\\\" *ngIf=\\\"optional && state != 'error'\\\">{{_intl.optionalLabel}}</div><div class=\\\"mat-step-sub-label-error\\\" *ngIf=\\\"state == 'error'\\\">{{errorMessage}}</div></div>\",\n                    styles: [\".mat-step-header{overflow:hidden;outline:0;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon .mat-icon,.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\"],\n                    host: {\n                        'class': 'mat-step-header',\n                        'role': 'tab',\n                    },\n                    encapsulation: ViewEncapsulation.None,\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                },] },\n    ];\n    /** @nocollapse */\n    MatStepHeader.ctorParameters = function () { return [\n        { type: MatStepperIntl },\n        { type: FocusMonitor },\n        { type: ElementRef },\n        { type: ChangeDetectorRef }\n    ]; };\n    MatStepHeader.propDecorators = {\n        state: [{ type: Input }],\n        label: [{ type: Input }],\n        errorMessage: [{ type: Input }],\n        iconOverrides: [{ type: Input }],\n        index: [{ type: Input }],\n        selected: [{ type: Input }],\n        active: [{ type: Input }],\n        optional: [{ type: Input }]\n    };\n    return MatStepHeader;\n}(CdkStepHeader));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Animations used by the Material steppers.\n * \\@docs-private\n * @type {?}\n */\nvar matStepperAnimations = {\n    /**\n     * Animation that transitions the step along the X axis in a horizontal stepper.\n     */\n    horizontalStepTransition: trigger('stepTransition', [\n        state('previous', style({ transform: 'translate3d(-100%, 0, 0)', visibility: 'hidden' })),\n        state('current', style({ transform: 'none', visibility: 'visible' })),\n        state('next', style({ transform: 'translate3d(100%, 0, 0)', visibility: 'hidden' })),\n        transition('* => *', animate('500ms cubic-bezier(0.35, 0, 0.25, 1)'))\n    ]),\n    /**\n     * Animation that transitions the step along the Y axis in a vertical stepper.\n     */\n    verticalStepTransition: trigger('stepTransition', [\n        state('previous', style({ height: '0px', visibility: 'hidden' })),\n        state('next', style({ height: '0px', visibility: 'hidden' })),\n        state('current', style({ height: '*', visibility: 'visible' })),\n        transition('* <=> current', animate('225ms cubic-bezier(0.4, 0.0, 0.2, 1)'))\n    ])\n};\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Template to be used to override the icons inside the step header.\n */\nvar MatStepperIcon = /** @class */ (function () {\n    function MatStepperIcon(templateRef) {\n        this.templateRef = templateRef;\n    }\n    MatStepperIcon.decorators = [\n        { type: Directive, args: [{\n                    selector: 'ng-template[matStepperIcon]',\n                },] },\n    ];\n    /** @nocollapse */\n    MatStepperIcon.ctorParameters = function () { return [\n        { type: TemplateRef }\n    ]; };\n    MatStepperIcon.propDecorators = {\n        name: [{ type: Input, args: ['matStepperIcon',] }]\n    };\n    return MatStepperIcon;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nvar MatStep = /** @class */ (function (_super) {\n    __extends(MatStep, _super);\n    /** @breaking-change 8.0.0 remove the `?` after `stepperOptions` */\n    function MatStep(stepper, _errorStateMatcher, stepperOptions) {\n        var _this = _super.call(this, stepper, stepperOptions) || this;\n        _this._errorStateMatcher = _errorStateMatcher;\n        return _this;\n    }\n    /** Custom error state matcher that additionally checks for validity of interacted form. */\n    /**\n     * Custom error state matcher that additionally checks for validity of interacted form.\n     * @param {?} control\n     * @param {?} form\n     * @return {?}\n     */\n    MatStep.prototype.isErrorState = /**\n     * Custom error state matcher that additionally checks for validity of interacted form.\n     * @param {?} control\n     * @param {?} form\n     * @return {?}\n     */\n    function (control, form) {\n        /** @type {?} */\n        var originalErrorState = this._errorStateMatcher.isErrorState(control, form);\n        // Custom error state checks for the validity of form that is not submitted or touched\n        // since user can trigger a form change by calling for another step without directly\n        // interacting with the current form.\n        /** @type {?} */\n        var customErrorState = !!(control && control.invalid && this.interacted);\n        return originalErrorState || customErrorState;\n    };\n    MatStep.decorators = [\n        { type: Component, args: [{selector: 'mat-step',\n                    template: \"<ng-template><ng-content></ng-content></ng-template>\",\n                    providers: [{ provide: ErrorStateMatcher, useExisting: MatStep }],\n                    encapsulation: ViewEncapsulation.None,\n                    exportAs: 'matStep',\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                },] },\n    ];\n    /** @nocollapse */\n    MatStep.ctorParameters = function () { return [\n        { type: MatStepper, decorators: [{ type: Inject, args: [forwardRef(function () { return MatStepper; }),] }] },\n        { type: ErrorStateMatcher, decorators: [{ type: SkipSelf }] },\n        { type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [STEPPER_GLOBAL_OPTIONS,] }] }\n    ]; };\n    MatStep.propDecorators = {\n        stepLabel: [{ type: ContentChild, args: [MatStepLabel,] }]\n    };\n    return MatStep;\n}(CdkStep));\nvar MatStepper = /** @class */ (function (_super) {\n    __extends(MatStepper, _super);\n    function MatStepper() {\n        var _this = _super !== null && _super.apply(this, arguments) || this;\n        /**\n         * Event emitted when the current step is done transitioning in.\n         */\n        _this.animationDone = new EventEmitter();\n        /**\n         * Consumer-specified template-refs to be used to override the header icons.\n         */\n        _this._iconOverrides = {};\n        /**\n         * Stream of animation `done` events when the body expands/collapses.\n         */\n        _this._animationDone = new Subject();\n        return _this;\n    }\n    /**\n     * @return {?}\n     */\n    MatStepper.prototype.ngAfterContentInit = /**\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        this._icons.forEach(function (_a) {\n            var name = _a.name, templateRef = _a.templateRef;\n            return _this._iconOverrides[name] = templateRef;\n        });\n        // Mark the component for change detection whenever the content children query changes\n        this._steps.changes.pipe(takeUntil(this._destroyed)).subscribe(function () { return _this._stateChanged(); });\n        this._animationDone.pipe(\n        // This needs a `distinctUntilChanged` in order to avoid emitting the same event twice due\n        // to a bug in animations where the `.done` callback gets invoked twice on some browsers.\n        // See https://github.com/angular/angular/issues/24084\n        distinctUntilChanged(function (x, y) { return x.fromState === y.fromState && x.toState === y.toState; }), takeUntil(this._destroyed)).subscribe(function (event) {\n            if (((/** @type {?} */ (event.toState))) === 'current') {\n                _this.animationDone.emit();\n            }\n        });\n    };\n    MatStepper.decorators = [\n        { type: Directive, args: [{\n                    selector: '[matStepper]'\n                },] },\n    ];\n    MatStepper.propDecorators = {\n        _stepHeader: [{ type: ViewChildren, args: [MatStepHeader,] }],\n        _steps: [{ type: ContentChildren, args: [MatStep,] }],\n        _icons: [{ type: ContentChildren, args: [MatStepperIcon,] }],\n        animationDone: [{ type: Output }]\n    };\n    return MatStepper;\n}(CdkStepper));\nvar MatHorizontalStepper = /** @class */ (function (_super) {\n    __extends(MatHorizontalStepper, _super);\n    function MatHorizontalStepper() {\n        var _this = _super !== null && _super.apply(this, arguments) || this;\n        /**\n         * Whether the label should display in bottom or end position.\n         */\n        _this.labelPosition = 'end';\n        return _this;\n    }\n    MatHorizontalStepper.decorators = [\n        { type: Component, args: [{selector: 'mat-horizontal-stepper',\n                    exportAs: 'matHorizontalStepper',\n                    template: \"<div class=\\\"mat-horizontal-stepper-header-container\\\"><ng-container *ngFor=\\\"let step of steps; let i = index; let isLast = last\\\"><mat-step-header class=\\\"mat-horizontal-stepper-header\\\" (click)=\\\"step.select()\\\" (keydown)=\\\"_onKeydown($event)\\\" [tabIndex]=\\\"_getFocusIndex() === i ? 0 : -1\\\" [id]=\\\"_getStepLabelId(i)\\\" [attr.aria-posinset]=\\\"i + 1\\\" [attr.aria-setsize]=\\\"steps.length\\\" [attr.aria-controls]=\\\"_getStepContentId(i)\\\" [attr.aria-selected]=\\\"selectedIndex == i\\\" [attr.aria-label]=\\\"step.ariaLabel || null\\\" [attr.aria-labelledby]=\\\"(!step.ariaLabel && step.ariaLabelledby) ? step.ariaLabelledby : null\\\" [index]=\\\"i\\\" [state]=\\\"_getIndicatorType(i, step.state)\\\" [label]=\\\"step.stepLabel || step.label\\\" [selected]=\\\"selectedIndex === i\\\" [active]=\\\"step.completed || selectedIndex === i || !linear\\\" [optional]=\\\"step.optional\\\" [errorMessage]=\\\"step.errorMessage\\\" [iconOverrides]=\\\"_iconOverrides\\\"></mat-step-header><div *ngIf=\\\"!isLast\\\" class=\\\"mat-stepper-horizontal-line\\\"></div></ng-container></div><div class=\\\"mat-horizontal-content-container\\\"><div *ngFor=\\\"let step of steps; let i = index\\\" class=\\\"mat-horizontal-stepper-content\\\" role=\\\"tabpanel\\\" [@stepTransition]=\\\"_getAnimationDirection(i)\\\" (@stepTransition.done)=\\\"_animationDone.next($event)\\\" [id]=\\\"_getStepContentId(i)\\\" [attr.aria-labelledby]=\\\"_getStepLabelId(i)\\\" [attr.aria-expanded]=\\\"selectedIndex === i\\\"><ng-container [ngTemplateOutlet]=\\\"step.content\\\"></ng-container></div></div>\",\n                    styles: [\".mat-stepper-horizontal,.mat-stepper-vertical{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:36px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{border-top-width:1px;border-top-style:solid;content:'';display:inline-block;height:0;position:absolute;top:36px;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto;padding:24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;padding:24px;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:'';position:absolute;top:-16px;bottom:-16px;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\"],\n                    inputs: ['selectedIndex'],\n                    host: {\n                        'class': 'mat-stepper-horizontal',\n                        '[class.mat-stepper-label-position-end]': 'labelPosition == \"end\"',\n                        '[class.mat-stepper-label-position-bottom]': 'labelPosition == \"bottom\"',\n                        'aria-orientation': 'horizontal',\n                        'role': 'tablist',\n                    },\n                    animations: [matStepperAnimations.horizontalStepTransition],\n                    providers: [{ provide: MatStepper, useExisting: MatHorizontalStepper }],\n                    encapsulation: ViewEncapsulation.None,\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                },] },\n    ];\n    MatHorizontalStepper.propDecorators = {\n        labelPosition: [{ type: Input }]\n    };\n    return MatHorizontalStepper;\n}(MatStepper));\nvar MatVerticalStepper = /** @class */ (function (_super) {\n    __extends(MatVerticalStepper, _super);\n    function MatVerticalStepper(dir, changeDetectorRef, \n    // @breaking-change 8.0.0 `elementRef` and `_document` parameters to become required.\n    elementRef, _document) {\n        var _this = _super.call(this, dir, changeDetectorRef, elementRef, _document) || this;\n        _this._orientation = 'vertical';\n        return _this;\n    }\n    MatVerticalStepper.decorators = [\n        { type: Component, args: [{selector: 'mat-vertical-stepper',\n                    exportAs: 'matVerticalStepper',\n                    template: \"<div class=\\\"mat-step\\\" *ngFor=\\\"let step of steps; let i = index; let isLast = last\\\"><mat-step-header class=\\\"mat-vertical-stepper-header\\\" (click)=\\\"step.select()\\\" (keydown)=\\\"_onKeydown($event)\\\" [tabIndex]=\\\"_getFocusIndex() == i ? 0 : -1\\\" [id]=\\\"_getStepLabelId(i)\\\" [attr.aria-posinset]=\\\"i + 1\\\" [attr.aria-setsize]=\\\"steps.length\\\" [attr.aria-controls]=\\\"_getStepContentId(i)\\\" [attr.aria-selected]=\\\"selectedIndex === i\\\" [attr.aria-label]=\\\"step.ariaLabel || null\\\" [attr.aria-labelledby]=\\\"(!step.ariaLabel && step.ariaLabelledby) ? step.ariaLabelledby : null\\\" [index]=\\\"i\\\" [state]=\\\"_getIndicatorType(i, step.state)\\\" [label]=\\\"step.stepLabel || step.label\\\" [selected]=\\\"selectedIndex === i\\\" [active]=\\\"step.completed || selectedIndex === i || !linear\\\" [optional]=\\\"step.optional\\\" [errorMessage]=\\\"step.errorMessage\\\" [iconOverrides]=\\\"_iconOverrides\\\"></mat-step-header><div class=\\\"mat-vertical-content-container\\\" [class.mat-stepper-vertical-line]=\\\"!isLast\\\"><div class=\\\"mat-vertical-stepper-content\\\" role=\\\"tabpanel\\\" [@stepTransition]=\\\"_getAnimationDirection(i)\\\" (@stepTransition.done)=\\\"_animationDone.next($event)\\\" [id]=\\\"_getStepContentId(i)\\\" [attr.aria-labelledby]=\\\"_getStepLabelId(i)\\\" [attr.aria-expanded]=\\\"selectedIndex === i\\\"><div class=\\\"mat-vertical-content\\\"><ng-container [ngTemplateOutlet]=\\\"step.content\\\"></ng-container></div></div></div></div>\",\n                    styles: [\".mat-stepper-horizontal,.mat-stepper-vertical{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:36px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{border-top-width:1px;border-top-style:solid;content:'';display:inline-block;height:0;position:absolute;top:36px;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto;padding:24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;padding:24px;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:'';position:absolute;top:-16px;bottom:-16px;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\"],\n                    inputs: ['selectedIndex'],\n                    host: {\n                        'class': 'mat-stepper-vertical',\n                        'aria-orientation': 'vertical',\n                        'role': 'tablist',\n                    },\n                    animations: [matStepperAnimations.verticalStepTransition],\n                    providers: [{ provide: MatStepper, useExisting: MatVerticalStepper }],\n                    encapsulation: ViewEncapsulation.None,\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                },] },\n    ];\n    /** @nocollapse */\n    MatVerticalStepper.ctorParameters = function () { return [\n        { type: Directionality, decorators: [{ type: Optional }] },\n        { type: ChangeDetectorRef },\n        { type: ElementRef },\n        { type: undefined, decorators: [{ type: Inject, args: [DOCUMENT,] }] }\n    ]; };\n    return MatVerticalStepper;\n}(MatStepper));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n/**\n * Button that moves to the next step in a stepper workflow.\n */\nvar MatStepperNext = /** @class */ (function (_super) {\n    __extends(MatStepperNext, _super);\n    function MatStepperNext() {\n        return _super !== null && _super.apply(this, arguments) || this;\n    }\n    MatStepperNext.decorators = [\n        { type: Directive, args: [{\n                    selector: 'button[matStepperNext]',\n                    host: {\n                        '(click)': '_stepper.next()',\n                        '[type]': 'type',\n                    },\n                    inputs: ['type'],\n                    providers: [{ provide: CdkStepper, useExisting: MatStepper }]\n                },] },\n    ];\n    return MatStepperNext;\n}(CdkStepperNext));\n/**\n * Button that moves to the previous step in a stepper workflow.\n */\nvar MatStepperPrevious = /** @class */ (function (_super) {\n    __extends(MatStepperPrevious, _super);\n    function MatStepperPrevious() {\n        return _super !== null && _super.apply(this, arguments) || this;\n    }\n    MatStepperPrevious.decorators = [\n        { type: Directive, args: [{\n                    selector: 'button[matStepperPrevious]',\n                    host: {\n                        '(click)': '_stepper.previous()',\n                        '[type]': 'type',\n                    },\n                    inputs: ['type'],\n                    providers: [{ provide: CdkStepper, useExisting: MatStepper }]\n                },] },\n    ];\n    return MatStepperPrevious;\n}(CdkStepperPrevious));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nvar MatStepperModule = /** @class */ (function () {\n    function MatStepperModule() {\n    }\n    MatStepperModule.decorators = [\n        { type: NgModule, args: [{\n                    imports: [\n                        MatCommonModule,\n                        CommonModule,\n                        PortalModule,\n                        MatButtonModule,\n                        CdkStepperModule,\n                        MatIconModule,\n                        MatRippleModule,\n                    ],\n                    exports: [\n                        MatCommonModule,\n                        MatHorizontalStepper,\n                        MatVerticalStepper,\n                        MatStep,\n                        MatStepLabel,\n                        MatStepper,\n                        MatStepperNext,\n                        MatStepperPrevious,\n                        MatStepHeader,\n                        MatStepperIcon,\n                    ],\n                    declarations: [\n                        MatHorizontalStepper,\n                        MatVerticalStepper,\n                        MatStep,\n                        MatStepLabel,\n                        MatStepper,\n                        MatStepperNext,\n                        MatStepperPrevious,\n                        MatStepHeader,\n                        MatStepperIcon,\n                    ],\n                    providers: [MAT_STEPPER_INTL_PROVIDER, ErrorStateMatcher],\n                },] },\n    ];\n    return MatStepperModule;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\nexport { MatStepperModule, MatStepLabel, MatStep, MatStepper, MatHorizontalStepper, MatVerticalStepper, MatStepperNext, MatStepperPrevious, MatStepHeader, MAT_STEPPER_INTL_PROVIDER_FACTORY, MatStepperIntl, MAT_STEPPER_INTL_PROVIDER, matStepperAnimations, MatStepperIcon };\n//# sourceMappingURL=stepper.es5.js.map\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/stepper\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/material/core\";\nimport * as i4 from \"@angular/cdk/bidi\";\nimport * as i5 from \"@angular/platform-browser\";\nimport * as i6 from \"@angular/cdk/portal\";\nimport * as i7 from \"@angular/cdk/platform\";\nimport * as i8 from \"@angular/material/button\";\nimport * as i9 from \"@angular/cdk/stepper\";\nimport * as i10 from \"@angular/material/icon\";\nimport * as i11 from \"@angular/cdk/a11y\";\nimport * as i12 from \"../../icon/typings/index.ngfactory\";\nimport * as i13 from \"@angular/platform-browser/animations\";\nvar MatStepperModuleNgFactory = i0.ɵcmf(i1.MatStepperModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(4608, i2.NgLocalization, i2.NgLocaleLocalization, [i0.LOCALE_ID, [2, i2.ɵangular_packages_common_common_a]]), i0.ɵmpd(5120, i1.MatStepperIntl, i1.MAT_STEPPER_INTL_PROVIDER_FACTORY, [[3, i1.MatStepperIntl]]), i0.ɵmpd(4608, i3.ErrorStateMatcher, i3.ErrorStateMatcher, []), i0.ɵmpd(1073742336, i4.BidiModule, i4.BidiModule, []), i0.ɵmpd(1073742336, i3.MatCommonModule, i3.MatCommonModule, [[2, i3.MATERIAL_SANITY_CHECKS], [2, i5.HAMMER_LOADER]]), i0.ɵmpd(1073742336, i2.CommonModule, i2.CommonModule, []), i0.ɵmpd(1073742336, i6.PortalModule, i6.PortalModule, []), i0.ɵmpd(1073742336, i7.PlatformModule, i7.PlatformModule, []), i0.ɵmpd(1073742336, i3.MatRippleModule, i3.MatRippleModule, []), i0.ɵmpd(1073742336, i8.MatButtonModule, i8.MatButtonModule, []), i0.ɵmpd(1073742336, i9.CdkStepperModule, i9.CdkStepperModule, []), i0.ɵmpd(1073742336, i10.MatIconModule, i10.MatIconModule, []), i0.ɵmpd(1073742336, i1.MatStepperModule, i1.MatStepperModule, [])]); });\nexport { MatStepperModuleNgFactory as MatStepperModuleNgFactory };\nvar styles_MatStep = [];\nvar RenderType_MatStep = i0.ɵcrt({ encapsulation: 2, styles: styles_MatStep, data: {} });\nexport { RenderType_MatStep as RenderType_MatStep };\nfunction View_MatStep_1(_l) { return i0.ɵvid(0, [i0.ɵncd(null, 0), (_l()(), i0.ɵand(0, null, null, 0))], null, null); }\nexport function View_MatStep_0(_l) { return i0.ɵvid(2, [i0.ɵqud(402653184, 1, { content: 0 }), (_l()(), i0.ɵand(0, [[1, 2]], null, 0, null, View_MatStep_1))], null, null); }\nexport function View_MatStep_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 3, \"mat-step\", [], null, null, null, View_MatStep_0, RenderType_MatStep)), i0.ɵprd(6144, null, i3.ErrorStateMatcher, null, [i1.MatStep]), i0.ɵdid(2, 573440, null, 1, i1.MatStep, [i1.MatStepper, [1, i3.ErrorStateMatcher], [2, i9.STEPPER_GLOBAL_OPTIONS]], null, null), i0.ɵqud(335544320, 1, { stepLabel: 0 })], null, null); }\nvar MatStepNgFactory = i0.ɵccf(\"mat-step\", i1.MatStep, View_MatStep_Host_0, { stepControl: \"stepControl\", label: \"label\", errorMessage: \"errorMessage\", ariaLabel: \"aria-label\", ariaLabelledby: \"aria-labelledby\", state: \"state\", editable: \"editable\", optional: \"optional\", completed: \"completed\", hasError: \"hasError\" }, {}, [\"*\"]);\nexport { MatStepNgFactory as MatStepNgFactory };\nvar styles_MatHorizontalStepper = [\".mat-stepper-horizontal,.mat-stepper-vertical{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:36px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{border-top-width:1px;border-top-style:solid;content:'';display:inline-block;height:0;position:absolute;top:36px;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto;padding:24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;padding:24px;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:'';position:absolute;top:-16px;bottom:-16px;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\"];\nvar RenderType_MatHorizontalStepper = i0.ɵcrt({ encapsulation: 2, styles: styles_MatHorizontalStepper, data: { \"animation\": [{ type: 7, name: \"stepTransition\", definitions: [{ type: 0, name: \"previous\", styles: { type: 6, styles: { transform: \"translate3d(-100%, 0, 0)\", visibility: \"hidden\" }, offset: null }, options: undefined }, { type: 0, name: \"current\", styles: { type: 6, styles: { transform: \"none\", visibility: \"visible\" }, offset: null }, options: undefined }, { type: 0, name: \"next\", styles: { type: 6, styles: { transform: \"translate3d(100%, 0, 0)\", visibility: \"hidden\" }, offset: null }, options: undefined }, { type: 1, expr: \"* => *\", animation: { type: 4, styles: null, timings: \"500ms cubic-bezier(0.35, 0, 0.25, 1)\" }, options: null }], options: {} }] } });\nexport { RenderType_MatHorizontalStepper as RenderType_MatHorizontalStepper };\nfunction View_MatHorizontalStepper_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 0, \"div\", [[\"class\", \"mat-stepper-horizontal-line\"]], null, null, null, null, null))], null, null); }\nfunction View_MatHorizontalStepper_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, null, null, null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"mat-step-header\", [[\"class\", \"mat-horizontal-stepper-header mat-step-header\"], [\"role\", \"tab\"]], [[8, \"tabIndex\", 0], [8, \"id\", 0], [1, \"aria-posinset\", 0], [1, \"aria-setsize\", 0], [1, \"aria-controls\", 0], [1, \"aria-selected\", 0], [1, \"aria-label\", 0], [1, \"aria-labelledby\", 0]], [[null, \"click\"], [null, \"keydown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n        var pd_0 = (_v.context.$implicit.select() !== false);\n        ad = (pd_0 && ad);\n    } if ((\"keydown\" === en)) {\n        var pd_1 = (_co._onKeydown($event) !== false);\n        ad = (pd_1 && ad);\n    } return ad; }, View_MatStepHeader_0, RenderType_MatStepHeader)), i0.ɵdid(2, 180224, [[1, 4]], 0, i1.MatStepHeader, [i1.MatStepperIntl, i11.FocusMonitor, i0.ElementRef, i0.ChangeDetectorRef], { state: [0, \"state\"], label: [1, \"label\"], errorMessage: [2, \"errorMessage\"], iconOverrides: [3, \"iconOverrides\"], index: [4, \"index\"], selected: [5, \"selected\"], active: [6, \"active\"], optional: [7, \"optional\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatHorizontalStepper_2)), i0.ɵdid(4, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co._getIndicatorType(_v.context.index, _v.context.$implicit.state); var currVal_9 = (_v.context.$implicit.stepLabel || _v.context.$implicit.label); var currVal_10 = _v.context.$implicit.errorMessage; var currVal_11 = _co._iconOverrides; var currVal_12 = _v.context.index; var currVal_13 = (_co.selectedIndex === _v.context.index); var currVal_14 = ((_v.context.$implicit.completed || (_co.selectedIndex === _v.context.index)) || !_co.linear); var currVal_15 = _v.context.$implicit.optional; _ck(_v, 2, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15); var currVal_16 = !_v.context.last; _ck(_v, 4, 0, currVal_16); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co._getFocusIndex() === _v.context.index) ? 0 : (0 - 1)); var currVal_1 = _co._getStepLabelId(_v.context.index); var currVal_2 = (_v.context.index + 1); var currVal_3 = _co.steps.length; var currVal_4 = _co._getStepContentId(_v.context.index); var currVal_5 = (_co.selectedIndex == _v.context.index); var currVal_6 = (_v.context.$implicit.ariaLabel || null); var currVal_7 = ((!_v.context.$implicit.ariaLabel && _v.context.$implicit.ariaLabelledby) ? _v.context.$implicit.ariaLabelledby : null); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); }); }\nfunction View_MatHorizontalStepper_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"mat-horizontal-stepper-content\"], [\"role\", \"tabpanel\"]], [[24, \"@stepTransition\", 0], [8, \"id\", 0], [1, \"aria-labelledby\", 0], [1, \"aria-expanded\", 0]], [[null, \"@stepTransition.done\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"@stepTransition.done\" === en)) {\n        var pd_0 = (_co._animationDone.next($event) !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, null, null)), (_l()(), i0.ɵeld(1, 16777216, null, null, 1, null, null, null, null, null, null, null)), i0.ɵdid(2, 540672, null, 0, i2.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutlet: [0, \"ngTemplateOutlet\"] }, null)], function (_ck, _v) { var currVal_4 = _v.context.$implicit.content; _ck(_v, 2, 0, currVal_4); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co._getAnimationDirection(_v.context.index); var currVal_1 = _co._getStepContentId(_v.context.index); var currVal_2 = _co._getStepLabelId(_v.context.index); var currVal_3 = (_co.selectedIndex === _v.context.index); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3); }); }\nexport function View_MatHorizontalStepper_0(_l) { return i0.ɵvid(2, [i0.ɵqud(671088640, 1, { _stepHeader: 1 }), (_l()(), i0.ɵeld(1, 0, null, null, 2, \"div\", [[\"class\", \"mat-horizontal-stepper-header-container\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatHorizontalStepper_1)), i0.ɵdid(3, 278528, null, 0, i2.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 2, \"div\", [[\"class\", \"mat-horizontal-content-container\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatHorizontalStepper_3)), i0.ɵdid(6, 278528, null, 0, i2.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.steps; _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.steps; _ck(_v, 6, 0, currVal_1); }, null); }\nexport function View_MatHorizontalStepper_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"mat-horizontal-stepper\", [[\"aria-orientation\", \"horizontal\"], [\"class\", \"mat-stepper-horizontal\"], [\"role\", \"tablist\"]], [[2, \"mat-stepper-label-position-end\", null], [2, \"mat-stepper-label-position-bottom\", null]], null, null, View_MatHorizontalStepper_0, RenderType_MatHorizontalStepper)), i0.ɵprd(6144, null, i1.MatStepper, null, [i1.MatHorizontalStepper]), i0.ɵdid(2, 5423104, null, 2, i1.MatHorizontalStepper, [[2, i4.Directionality], i0.ChangeDetectorRef, i0.ElementRef, i2.DOCUMENT], null, null), i0.ɵqud(603979776, 1, { _steps: 1 }), i0.ɵqud(603979776, 2, { _icons: 1 })], null, function (_ck, _v) { var currVal_0 = (i0.ɵnov(_v, 2).labelPosition == \"end\"); var currVal_1 = (i0.ɵnov(_v, 2).labelPosition == \"bottom\"); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nvar MatHorizontalStepperNgFactory = i0.ɵccf(\"mat-horizontal-stepper\", i1.MatHorizontalStepper, View_MatHorizontalStepper_Host_0, { linear: \"linear\", selectedIndex: \"selectedIndex\", selected: \"selected\", labelPosition: \"labelPosition\" }, { selectionChange: \"selectionChange\", animationDone: \"animationDone\" }, []);\nexport { MatHorizontalStepperNgFactory as MatHorizontalStepperNgFactory };\nvar styles_MatVerticalStepper = [\".mat-stepper-horizontal,.mat-stepper-vertical{display:block}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:36px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{border-top-width:1px;border-top-style:solid;content:'';display:inline-block;height:0;position:absolute;top:36px;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;height:72px;overflow:hidden;align-items:center;padding:0 24px}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto;padding:24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;padding:24px;height:24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-content[aria-expanded=false]{height:0;overflow:hidden}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.mat-vertical-content-container{margin-left:36px;border:0;position:relative}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}.mat-stepper-vertical-line::before{content:'';position:absolute;top:-16px;bottom:-16px;left:0;border-left-width:1px;border-left-style:solid}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}\"];\nvar RenderType_MatVerticalStepper = i0.ɵcrt({ encapsulation: 2, styles: styles_MatVerticalStepper, data: { \"animation\": [{ type: 7, name: \"stepTransition\", definitions: [{ type: 0, name: \"previous\", styles: { type: 6, styles: { height: \"0px\", visibility: \"hidden\" }, offset: null }, options: undefined }, { type: 0, name: \"next\", styles: { type: 6, styles: { height: \"0px\", visibility: \"hidden\" }, offset: null }, options: undefined }, { type: 0, name: \"current\", styles: { type: 6, styles: { height: \"*\", visibility: \"visible\" }, offset: null }, options: undefined }, { type: 1, expr: \"* <=> current\", animation: { type: 4, styles: null, timings: \"225ms cubic-bezier(0.4, 0.0, 0.2, 1)\" }, options: null }], options: {} }] } });\nexport { RenderType_MatVerticalStepper as RenderType_MatVerticalStepper };\nfunction View_MatVerticalStepper_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 7, \"div\", [[\"class\", \"mat-step\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(1, 0, null, null, 1, \"mat-step-header\", [[\"class\", \"mat-vertical-stepper-header mat-step-header\"], [\"role\", \"tab\"]], [[8, \"tabIndex\", 0], [8, \"id\", 0], [1, \"aria-posinset\", 0], [1, \"aria-setsize\", 0], [1, \"aria-controls\", 0], [1, \"aria-selected\", 0], [1, \"aria-label\", 0], [1, \"aria-labelledby\", 0]], [[null, \"click\"], [null, \"keydown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n        var pd_0 = (_v.context.$implicit.select() !== false);\n        ad = (pd_0 && ad);\n    } if ((\"keydown\" === en)) {\n        var pd_1 = (_co._onKeydown($event) !== false);\n        ad = (pd_1 && ad);\n    } return ad; }, View_MatStepHeader_0, RenderType_MatStepHeader)), i0.ɵdid(2, 180224, [[1, 4]], 0, i1.MatStepHeader, [i1.MatStepperIntl, i11.FocusMonitor, i0.ElementRef, i0.ChangeDetectorRef], { state: [0, \"state\"], label: [1, \"label\"], errorMessage: [2, \"errorMessage\"], iconOverrides: [3, \"iconOverrides\"], index: [4, \"index\"], selected: [5, \"selected\"], active: [6, \"active\"], optional: [7, \"optional\"] }, null), (_l()(), i0.ɵeld(3, 0, null, null, 4, \"div\", [[\"class\", \"mat-vertical-content-container\"]], [[2, \"mat-stepper-vertical-line\", null]], null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 3, \"div\", [[\"class\", \"mat-vertical-stepper-content\"], [\"role\", \"tabpanel\"]], [[24, \"@stepTransition\", 0], [8, \"id\", 0], [1, \"aria-labelledby\", 0], [1, \"aria-expanded\", 0]], [[null, \"@stepTransition.done\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"@stepTransition.done\" === en)) {\n        var pd_0 = (_co._animationDone.next($event) !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 2, \"div\", [[\"class\", \"mat-vertical-content\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(6, 16777216, null, null, 1, null, null, null, null, null, null, null)), i0.ɵdid(7, 540672, null, 0, i2.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutlet: [0, \"ngTemplateOutlet\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_8 = _co._getIndicatorType(_v.context.index, _v.context.$implicit.state); var currVal_9 = (_v.context.$implicit.stepLabel || _v.context.$implicit.label); var currVal_10 = _v.context.$implicit.errorMessage; var currVal_11 = _co._iconOverrides; var currVal_12 = _v.context.index; var currVal_13 = (_co.selectedIndex === _v.context.index); var currVal_14 = ((_v.context.$implicit.completed || (_co.selectedIndex === _v.context.index)) || !_co.linear); var currVal_15 = _v.context.$implicit.optional; _ck(_v, 2, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15); var currVal_21 = _v.context.$implicit.content; _ck(_v, 7, 0, currVal_21); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = ((_co._getFocusIndex() == _v.context.index) ? 0 : (0 - 1)); var currVal_1 = _co._getStepLabelId(_v.context.index); var currVal_2 = (_v.context.index + 1); var currVal_3 = _co.steps.length; var currVal_4 = _co._getStepContentId(_v.context.index); var currVal_5 = (_co.selectedIndex === _v.context.index); var currVal_6 = (_v.context.$implicit.ariaLabel || null); var currVal_7 = ((!_v.context.$implicit.ariaLabel && _v.context.$implicit.ariaLabelledby) ? _v.context.$implicit.ariaLabelledby : null); _ck(_v, 1, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_16 = !_v.context.last; _ck(_v, 3, 0, currVal_16); var currVal_17 = _co._getAnimationDirection(_v.context.index); var currVal_18 = _co._getStepContentId(_v.context.index); var currVal_19 = _co._getStepLabelId(_v.context.index); var currVal_20 = (_co.selectedIndex === _v.context.index); _ck(_v, 4, 0, currVal_17, currVal_18, currVal_19, currVal_20); }); }\nexport function View_MatVerticalStepper_0(_l) { return i0.ɵvid(2, [i0.ɵqud(671088640, 1, { _stepHeader: 1 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatVerticalStepper_1)), i0.ɵdid(2, 278528, null, 0, i2.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.steps; _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_MatVerticalStepper_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 4, \"mat-vertical-stepper\", [[\"aria-orientation\", \"vertical\"], [\"class\", \"mat-stepper-vertical\"], [\"role\", \"tablist\"]], null, null, null, View_MatVerticalStepper_0, RenderType_MatVerticalStepper)), i0.ɵprd(6144, null, i1.MatStepper, null, [i1.MatVerticalStepper]), i0.ɵdid(2, 5423104, null, 2, i1.MatVerticalStepper, [[2, i4.Directionality], i0.ChangeDetectorRef, i0.ElementRef, i2.DOCUMENT], null, null), i0.ɵqud(603979776, 1, { _steps: 1 }), i0.ɵqud(603979776, 2, { _icons: 1 })], null, null); }\nvar MatVerticalStepperNgFactory = i0.ɵccf(\"mat-vertical-stepper\", i1.MatVerticalStepper, View_MatVerticalStepper_Host_0, { linear: \"linear\", selectedIndex: \"selectedIndex\", selected: \"selected\" }, { selectionChange: \"selectionChange\", animationDone: \"animationDone\" }, []);\nexport { MatVerticalStepperNgFactory as MatVerticalStepperNgFactory };\nvar styles_MatStepHeader = [\".mat-step-header{overflow:hidden;outline:0;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:transparent}.mat-step-optional,.mat-step-sub-label-error{font-size:12px}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative}.mat-step-icon .mat-icon,.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\"];\nvar RenderType_MatStepHeader = i0.ɵcrt({ encapsulation: 2, styles: styles_MatStepHeader, data: {} });\nexport { RenderType_MatStepHeader as RenderType_MatStepHeader };\nfunction View_MatStepHeader_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 16777216, null, null, 1, null, null, null, null, null, null, null)), i0.ɵdid(1, 540672, null, 0, i2.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutletContext: [0, \"ngTemplateOutletContext\"], ngTemplateOutlet: [1, \"ngTemplateOutlet\"] }, null), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co._getIconContext(); var currVal_1 = _co.iconOverrides[_co.state]; _ck(_v, 1, 0, currVal_0, currVal_1); }, null); }\nfunction View_MatStepHeader_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"span\", [], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co._getDefaultTextForState(_co.state); _ck(_v, 1, 0, currVal_0); }); }\nfunction View_MatStepHeader_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"mat-icon\", [[\"class\", \"mat-icon notranslate\"], [\"role\", \"img\"]], [[2, \"mat-icon-inline\", null], [2, \"mat-icon-no-color\", null]], null, null, i12.View_MatIcon_0, i12.RenderType_MatIcon)), i0.ɵdid(1, 9158656, null, 0, i10.MatIcon, [i0.ElementRef, i10.MatIconRegistry, [8, null], [2, i10.MAT_ICON_LOCATION]], null, null), (_l()(), i0.ɵted(2, 0, [\"\", \"\"]))], function (_ck, _v) { _ck(_v, 1, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵnov(_v, 1).inline; var currVal_1 = (((i0.ɵnov(_v, 1).color !== \"primary\") && (i0.ɵnov(_v, 1).color !== \"accent\")) && (i0.ɵnov(_v, 1).color !== \"warn\")); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_2 = _co._getDefaultTextForState(_co.state); _ck(_v, 2, 0, currVal_2); }); }\nfunction View_MatStepHeader_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 5, null, null, null, null, null, null, null)), i0.ɵdid(1, 16384, null, 0, i2.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatStepHeader_3)), i0.ɵdid(3, 278528, null, 0, i2.NgSwitchCase, [i0.ViewContainerRef, i0.TemplateRef, i2.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatStepHeader_4)), i0.ɵdid(5, 16384, null, 0, i2.NgSwitchDefault, [i0.ViewContainerRef, i0.TemplateRef, i2.NgSwitch], null, null), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.state; _ck(_v, 1, 0, currVal_0); var currVal_1 = \"number\"; _ck(_v, 3, 0, currVal_1); }, null); }\nfunction View_MatStepHeader_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 16777216, null, null, 1, null, null, null, null, null, null, null)), i0.ɵdid(1, 540672, null, 0, i2.NgTemplateOutlet, [i0.ViewContainerRef], { ngTemplateOutlet: [0, \"ngTemplateOutlet\"] }, null), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co._templateLabel().template; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_MatStepHeader_6(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"mat-step-text-label\"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.label; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_MatStepHeader_7(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"mat-step-optional\"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co._intl.optionalLabel; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_MatStepHeader_8(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"mat-step-sub-label-error\"]], null, null, null, null, null)), (_l()(), i0.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.errorMessage; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_MatStepHeader_0(_l) { return i0.ɵvid(2, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"mat-step-header-ripple mat-ripple\"], [\"mat-ripple\", \"\"]], [[2, \"mat-ripple-unbounded\", null]], null, null, null, null)), i0.ɵdid(1, 212992, null, 0, i3.MatRipple, [i0.ElementRef, i0.NgZone, i7.Platform, [2, i3.MAT_RIPPLE_GLOBAL_OPTIONS], [2, i13.ANIMATION_MODULE_TYPE]], { trigger: [0, \"trigger\"] }, null), (_l()(), i0.ɵeld(2, 0, null, null, 6, \"div\", [], [[8, \"className\", 0], [2, \"mat-step-icon-selected\", null]], null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 5, \"div\", [[\"class\", \"mat-step-icon-content\"]], null, null, null, null, null)), i0.ɵdid(4, 16384, null, 0, i2.NgSwitch, [], { ngSwitch: [0, \"ngSwitch\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatStepHeader_1)), i0.ɵdid(6, 278528, null, 0, i2.NgSwitchCase, [i0.ViewContainerRef, i0.TemplateRef, i2.NgSwitch], { ngSwitchCase: [0, \"ngSwitchCase\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatStepHeader_2)), i0.ɵdid(8, 16384, null, 0, i2.NgSwitchDefault, [i0.ViewContainerRef, i0.TemplateRef, i2.NgSwitch], null, null), (_l()(), i0.ɵeld(9, 0, null, null, 8, \"div\", [[\"class\", \"mat-step-label\"]], [[2, \"mat-step-label-active\", null], [2, \"mat-step-label-selected\", null], [2, \"mat-step-label-error\", null]], null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatStepHeader_5)), i0.ɵdid(11, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatStepHeader_6)), i0.ɵdid(13, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatStepHeader_7)), i0.ɵdid(15, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatStepHeader_8)), i0.ɵdid(17, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co._getHostElement(); _ck(_v, 1, 0, currVal_1); var currVal_4 = !!(_co.iconOverrides && _co.iconOverrides[_co.state]); _ck(_v, 4, 0, currVal_4); var currVal_5 = true; _ck(_v, 6, 0, currVal_5); var currVal_9 = _co._templateLabel(); _ck(_v, 11, 0, currVal_9); var currVal_10 = _co._stringLabel(); _ck(_v, 13, 0, currVal_10); var currVal_11 = (_co.optional && (_co.state != \"error\")); _ck(_v, 15, 0, currVal_11); var currVal_12 = (_co.state == \"error\"); _ck(_v, 17, 0, currVal_12); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i0.ɵnov(_v, 1).unbounded; _ck(_v, 0, 0, currVal_0); var currVal_2 = i0.ɵinlineInterpolate(1, \"mat-step-icon-state-\", _co.state, \" mat-step-icon\"); var currVal_3 = _co.selected; _ck(_v, 2, 0, currVal_2, currVal_3); var currVal_6 = _co.active; var currVal_7 = _co.selected; var currVal_8 = (_co.state == \"error\"); _ck(_v, 9, 0, currVal_6, currVal_7, currVal_8); }); }\nexport function View_MatStepHeader_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"mat-step-header\", [[\"class\", \"mat-step-header\"], [\"role\", \"tab\"]], null, null, null, View_MatStepHeader_0, RenderType_MatStepHeader)), i0.ɵdid(1, 180224, null, 0, i1.MatStepHeader, [i1.MatStepperIntl, i11.FocusMonitor, i0.ElementRef, i0.ChangeDetectorRef], null, null)], null, null); }\nvar MatStepHeaderNgFactory = i0.ɵccf(\"mat-step-header\", i1.MatStepHeader, View_MatStepHeader_Host_0, { state: \"state\", label: \"label\", errorMessage: \"errorMessage\", iconOverrides: \"iconOverrides\", index: \"index\", selected: \"selected\", active: \"active\", optional: \"optional\" }, {}, []);\nexport { MatStepHeaderNgFactory as MatStepHeaderNgFactory };\n","<ng-template><ng-content></ng-content></ng-template>","<div class=\"mat-horizontal-stepper-header-container\"><ng-container *ngFor=\"let step of steps; let i = index; let isLast = last\"><mat-step-header class=\"mat-horizontal-stepper-header\" (click)=\"step.select()\" (keydown)=\"_onKeydown($event)\" [tabIndex]=\"_getFocusIndex() === i ? 0 : -1\" [id]=\"_getStepLabelId(i)\" [attr.aria-posinset]=\"i + 1\" [attr.aria-setsize]=\"steps.length\" [attr.aria-controls]=\"_getStepContentId(i)\" [attr.aria-selected]=\"selectedIndex == i\" [attr.aria-label]=\"step.ariaLabel || null\" [attr.aria-labelledby]=\"(!step.ariaLabel && step.ariaLabelledby) ? step.ariaLabelledby : null\" [index]=\"i\" [state]=\"_getIndicatorType(i, step.state)\" [label]=\"step.stepLabel || step.label\" [selected]=\"selectedIndex === i\" [active]=\"step.completed || selectedIndex === i || !linear\" [optional]=\"step.optional\" [errorMessage]=\"step.errorMessage\" [iconOverrides]=\"_iconOverrides\"></mat-step-header><div *ngIf=\"!isLast\" class=\"mat-stepper-horizontal-line\"></div></ng-container></div><div class=\"mat-horizontal-content-container\"><div *ngFor=\"let step of steps; let i = index\" class=\"mat-horizontal-stepper-content\" role=\"tabpanel\" [@stepTransition]=\"_getAnimationDirection(i)\" (@stepTransition.done)=\"_animationDone.next($event)\" [id]=\"_getStepContentId(i)\" [attr.aria-labelledby]=\"_getStepLabelId(i)\" [attr.aria-expanded]=\"selectedIndex === i\"><ng-container [ngTemplateOutlet]=\"step.content\"></ng-container></div></div>","<div class=\"mat-step-header-ripple\" mat-ripple [matRippleTrigger]=\"_getHostElement()\"></div><div class=\"mat-step-icon-state-{{state}} mat-step-icon\" [class.mat-step-icon-selected]=\"selected\"><div class=\"mat-step-icon-content\" [ngSwitch]=\"!!(iconOverrides && iconOverrides[state])\"><ng-container *ngSwitchCase=\"true\" [ngTemplateOutlet]=\"iconOverrides[state]\" [ngTemplateOutletContext]=\"_getIconContext()\"></ng-container><ng-container *ngSwitchDefault [ngSwitch]=\"state\"><span *ngSwitchCase=\"'number'\">{{_getDefaultTextForState(state)}}</span><mat-icon *ngSwitchDefault>{{_getDefaultTextForState(state)}}</mat-icon></ng-container></div></div><div class=\"mat-step-label\" [class.mat-step-label-active]=\"active\" [class.mat-step-label-selected]=\"selected\" [class.mat-step-label-error]=\"state == 'error'\"><ng-container *ngIf=\"_templateLabel()\" [ngTemplateOutlet]=\"_templateLabel()!.template\"></ng-container><div class=\"mat-step-text-label\" *ngIf=\"_stringLabel()\">{{label}}</div><div class=\"mat-step-optional\" *ngIf=\"optional && state != 'error'\">{{_intl.optionalLabel}}</div><div class=\"mat-step-sub-label-error\" *ngIf=\"state == 'error'\">{{errorMessage}}</div></div>","import {Component, Input, ViewEncapsulation} from '@angular/core';\r\nimport { Plan } from '../../../shared/billing/models/plan';\r\n\r\n@Component({\r\n    selector: 'plan-features-list',\r\n    templateUrl: './plan-features-list.component.html',\r\n    styleUrls: ['./plan-features-list.component.scss'],\r\n    encapsulation: ViewEncapsulation.None\r\n})\r\nexport class PlanFeaturesListComponent {\r\n    @Input() plan: Plan;\r\n\r\n    /**\r\n     * Whether \"check\" icon should be shown next to plan feature.\r\n     */\r\n    @Input() showCheckIcons = false;\r\n\r\n    /**\r\n     * Whether features list should be displayed as dense.\r\n     */\r\n    @Input() dense = false;\r\n\r\n    public getPlan() {\r\n        return this.plan.parent || this.plan;\r\n    }\r\n}\r\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./plan-features-list.component.scss.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../../../node_modules/@angular/material/icon/typings/index.ngfactory\";\nimport * as i3 from \"@angular/material/icon\";\nimport * as i4 from \"@angular/material/list\";\nimport * as i5 from \"../../../../../node_modules/@angular/material/list/typings/index.ngfactory\";\nimport * as i6 from \"@angular/common\";\nimport * as i7 from \"./plan-features-list.component\";\nvar styles_PlanFeaturesListComponent = [i0.styles];\nvar RenderType_PlanFeaturesListComponent = i1.ɵcrt({ encapsulation: 2, styles: styles_PlanFeaturesListComponent, data: {} });\nexport { RenderType_PlanFeaturesListComponent as RenderType_PlanFeaturesListComponent };\nfunction View_PlanFeaturesListComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"mat-icon\", [[\"class\", \"check-icon mat-icon notranslate mat-list-icon\"], [\"matListIcon\", \"\"], [\"role\", \"img\"], [\"svgIcon\", \"check\"]], [[2, \"mat-icon-inline\", null], [2, \"mat-icon-no-color\", null]], null, null, i2.View_MatIcon_0, i2.RenderType_MatIcon)), i1.ɵdid(1, 9158656, null, 0, i3.MatIcon, [i1.ElementRef, i3.MatIconRegistry, [8, null], [2, i3.MAT_ICON_LOCATION]], { svgIcon: [0, \"svgIcon\"] }, null), i1.ɵdid(2, 16384, [[3, 4]], 0, i4.MatListIconCssMatStyler, [], null, null)], function (_ck, _v) { var currVal_2 = \"check\"; _ck(_v, 1, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 1).inline; var currVal_1 = (((i1.ɵnov(_v, 1).color !== \"primary\") && (i1.ɵnov(_v, 1).color !== \"accent\")) && (i1.ɵnov(_v, 1).color !== \"warn\")); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nfunction View_PlanFeaturesListComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"mat-list-item\", [[\"class\", \"mat-list-item\"], [\"role\", \"listitem\"]], [[2, \"mat-list-item-avatar\", null], [2, \"mat-list-item-with-avatar\", null]], null, null, i5.View_MatListItem_0, i5.RenderType_MatListItem)), i1.ɵdid(1, 1228800, null, 3, i4.MatListItem, [i1.ElementRef, [2, i4.MatNavList], [2, i4.MatList], i1.ChangeDetectorRef], null, null), i1.ɵqud(603979776, 1, { _lines: 1 }), i1.ɵqud(335544320, 2, { _avatar: 0 }), i1.ɵqud(603979776, 3, { _icon: 0 }), (_l()(), i1.ɵted(-1, 2, [\"\\n            \"])), (_l()(), i1.ɵand(16777216, null, 0, 1, null, View_PlanFeaturesListComponent_4)), i1.ɵdid(7, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, 2, [\"\\n            \"])), (_l()(), i1.ɵeld(9, 0, null, 2, 1, \"div\", [[\"class\", \"mat-list-text\"]], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), (_l()(), i1.ɵted(-1, 2, [\"\\n        \"]))], function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.showCheckIcons; _ck(_v, 7, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = (i1.ɵnov(_v, 1)._avatar || i1.ɵnov(_v, 1)._icon); var currVal_1 = (i1.ɵnov(_v, 1)._avatar || i1.ɵnov(_v, 1)._icon); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_3 = _v.context.$implicit.key; _ck(_v, 10, 0, currVal_3); }); }\nfunction View_PlanFeaturesListComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 5, null, null, null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵand(16777216, null, null, 2, null, View_PlanFeaturesListComponent_3)), i1.ɵdid(3, 278528, null, 0, i6.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), i1.ɵpid(0, i6.KeyValuePipe, [i1.KeyValueDiffers]), (_l()(), i1.ɵted(-1, null, [\"\\n    \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, i1.ɵnov(_v, 4).transform(_co.getPlan().permissions)); _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PlanFeaturesListComponent_7(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"mat-icon\", [[\"class\", \"check-icon mat-icon notranslate mat-list-icon\"], [\"matListIcon\", \"\"], [\"role\", \"img\"], [\"svgIcon\", \"check\"]], [[2, \"mat-icon-inline\", null], [2, \"mat-icon-no-color\", null]], null, null, i2.View_MatIcon_0, i2.RenderType_MatIcon)), i1.ɵdid(1, 9158656, null, 0, i3.MatIcon, [i1.ElementRef, i3.MatIconRegistry, [8, null], [2, i3.MAT_ICON_LOCATION]], { svgIcon: [0, \"svgIcon\"] }, null), i1.ɵdid(2, 16384, [[6, 4]], 0, i4.MatListIconCssMatStyler, [], null, null)], function (_ck, _v) { var currVal_2 = \"check\"; _ck(_v, 1, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 1).inline; var currVal_1 = (((i1.ɵnov(_v, 1).color !== \"primary\") && (i1.ɵnov(_v, 1).color !== \"accent\")) && (i1.ɵnov(_v, 1).color !== \"warn\")); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nfunction View_PlanFeaturesListComponent_6(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 11, \"mat-list-item\", [[\"class\", \"mat-list-item\"], [\"role\", \"listitem\"]], [[2, \"mat-list-item-avatar\", null], [2, \"mat-list-item-with-avatar\", null]], null, null, i5.View_MatListItem_0, i5.RenderType_MatListItem)), i1.ɵdid(1, 1228800, null, 3, i4.MatListItem, [i1.ElementRef, [2, i4.MatNavList], [2, i4.MatList], i1.ChangeDetectorRef], null, null), i1.ɵqud(603979776, 4, { _lines: 1 }), i1.ɵqud(335544320, 5, { _avatar: 0 }), i1.ɵqud(603979776, 6, { _icon: 0 }), (_l()(), i1.ɵted(-1, 2, [\"\\n            \"])), (_l()(), i1.ɵand(16777216, null, 0, 1, null, View_PlanFeaturesListComponent_7)), i1.ɵdid(7, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, 2, [\"\\n            \"])), (_l()(), i1.ɵeld(9, 0, null, 2, 1, \"div\", [[\"class\", \"mat-list-text\"]], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), (_l()(), i1.ɵted(-1, 2, [\"\\n        \"]))], function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.showCheckIcons; _ck(_v, 7, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = (i1.ɵnov(_v, 1)._avatar || i1.ɵnov(_v, 1)._icon); var currVal_1 = (i1.ɵnov(_v, 1)._avatar || i1.ɵnov(_v, 1)._icon); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_3 = _v.context.$implicit; _ck(_v, 10, 0, currVal_3); }); }\nfunction View_PlanFeaturesListComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 4, null, null, null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanFeaturesListComponent_6)), i1.ɵdid(3, 278528, null, 0, i6.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n    \"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getPlan().features; _ck(_v, 3, 0, currVal_0); }, null); }\nfunction View_PlanFeaturesListComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"mat-list\", [[\"class\", \"mat-list mat-list-base\"], [\"role\", \"list\"]], [[2, \"dense\", null]], null, null, i5.View_MatList_0, i5.RenderType_MatList)), i1.ɵdid(1, 704512, null, 0, i4.MatList, [i1.ElementRef], null, null), (_l()(), i1.ɵted(-1, 0, [\"\\n    \"])), (_l()(), i1.ɵand(16777216, null, 0, 1, null, View_PlanFeaturesListComponent_2)), i1.ɵdid(4, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, 0, [\"\\n    \"])), (_l()(), i1.ɵand(16777216, null, 0, 1, null, View_PlanFeaturesListComponent_5)), i1.ɵdid(7, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, 0, [\"\\n\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.getPlan().show_permissions; _ck(_v, 4, 0, currVal_1); var currVal_2 = _co.getPlan().features.length; _ck(_v, 7, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.dense; _ck(_v, 0, 0, currVal_0); }); }\nexport function View_PlanFeaturesListComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵand(16777216, null, null, 1, null, View_PlanFeaturesListComponent_1)), i1.ɵdid(1, 16384, null, 0, i6.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getPlan(); _ck(_v, 1, 0, currVal_0); }, null); }\nexport function View_PlanFeaturesListComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"plan-features-list\", [], null, null, null, View_PlanFeaturesListComponent_0, RenderType_PlanFeaturesListComponent)), i1.ɵdid(1, 49152, null, 0, i7.PlanFeaturesListComponent, [], null, null)], null, null); }\nvar PlanFeaturesListComponentNgFactory = i1.ɵccf(\"plan-features-list\", i7.PlanFeaturesListComponent, View_PlanFeaturesListComponent_Host_0, { plan: \"plan\", showCheckIcons: \"showCheckIcons\", dense: \"dense\" }, {}, []);\nexport { PlanFeaturesListComponentNgFactory as PlanFeaturesListComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"plan-features-list{display:block;flex:1 1 auto;text-align:center;width:100%}plan-features-list .mat-list{overflow:hidden;width:100%}plan-features-list .mat-list.dense .mat-list-item{height:38px;font-size:1.5rem}plan-features-list .mat-list.dense .mat-list-item-with-avatar .mat-list-item-content .mat-list-text{padding-left:5px}plan-features-list .mat-list .mat-list-item-content{white-space:nowrap;text-overflow:ellipsis}plan-features-list .mat-list .check-icon{color:#689f38}\"];\nexport { styles as styles };\n","<mat-list role=\"list\" *ngIf=\"getPlan()\" [class.dense]=\"dense\">\r\n    <ng-container *ngIf=\"getPlan().show_permissions\">\r\n        <mat-list-item role=\"listitem\" *ngFor=\"let permission of getPlan().permissions | keyvalue\">\r\n            <mat-icon class=\"check-icon\" svgIcon=\"check\" *ngIf=\"showCheckIcons\" matListIcon></mat-icon>\r\n            <div class=\"mat-list-text\">{{permission.key}}</div>\r\n        </mat-list-item>\r\n    </ng-container>\r\n    <ng-container *ngIf=\"getPlan().features.length\">\r\n        <mat-list-item role=\"listitem\" *ngFor=\"let feature of getPlan().features\">\r\n            <mat-icon class=\"check-icon\" svgIcon=\"check\" *ngIf=\"showCheckIcons\" matListIcon></mat-icon>\r\n            <div class=\"mat-list-text\">{{feature}}</div>\r\n        </mat-list-item>\r\n    </ng-container>\r\n</mat-list>","import {Component, EventEmitter, OnInit, Output, ViewEncapsulation} from '@angular/core';\r\nimport { SubscriptionStepperState } from '../../subscriptions/subscription-stepper-state.service';\r\nimport { Plan } from '../../../shared/billing/models/plan';\r\nimport { Settings } from '../../../core/config/settings.service';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\n\r\n@Component({\r\n    selector: 'select-plan-panel',\r\n    templateUrl: './select-plan-panel.component.html',\r\n    styleUrls: ['./select-plan-panel.component.scss'],\r\n    encapsulation: ViewEncapsulation.None\r\n})\r\nexport class SelectPlanPanelComponent implements OnInit {\r\n\r\n    /**\r\n     * Whether any of the billing plans are marked as \"recommended\"\r\n     */\r\n    public hasRecommendedPlan = false;\r\n\r\n    /**\r\n     * Fired when user selects a plan.\r\n     */\r\n    @Output() selected = new EventEmitter();\r\n\r\n    constructor(\r\n        public state: SubscriptionStepperState,\r\n    ) {}\r\n\r\n    ngOnInit() {\r\n        this.hasRecommendedPlan = this.state.plans.filter(plan => plan.recommended).length > 0;\r\n    }\r\n\r\n    /**\r\n     * Select specified plan and fire \"selected\" event.\r\n     */\r\n    public selectPlan(plan: Plan) {\r\n        this.state.selectInitialPlan(plan);\r\n        // fire event on next render to avoid race conditions\r\n        setTimeout(() => this.selected.emit(plan));\r\n    }\r\n\r\n    /**\r\n     * Get all plan that are not children and not free.\r\n     */\r\n    public getAllPlans() {\r\n        return this.state.plans.filter(plan => !plan.free && !plan.parent_id);\r\n    }\r\n}\r\n","import {Injectable} from '@angular/core';\r\nimport { Plan } from '../../shared/billing/models/plan';\r\n\r\n@Injectable()\r\nexport class SubscriptionStepperState {\r\n\r\n    /**\r\n     * All available plans.\r\n     */\r\n    public plans: Plan[] = [];\r\n\r\n    /**\r\n     * Model for plan period radio group.\r\n     */\r\n    public radioGroupModel: number;\r\n\r\n    /**\r\n     * Base plan, selected in the first step.\r\n     */\r\n    public initialPlan: Plan;\r\n\r\n    /**\r\n     * Final billing plan user has selected (base or yearly alternative)\r\n     */\r\n    public selectedPlan: Plan;\r\n\r\n    /**\r\n     * Select initial \"base\" plan.\r\n     */\r\n    public selectInitialPlan(plan: Plan) {\r\n        this.initialPlan = plan;\r\n        this.selectedPlan = plan;\r\n\r\n        const children = this.getChildPlans(plan);\r\n\r\n        if (children && children[0]) {\r\n            this.radioGroupModel = children[0].id;\r\n            this.selectedPlan = children[0];\r\n        } else {\r\n            this.selectedPlan = plan;\r\n            this.radioGroupModel = plan.id;\r\n        }\r\n    }\r\n\r\n    /**\r\n     * Select plan by specified ID.\r\n     */\r\n    public selectPlanById(id: number) {\r\n        this.selectedPlan = this.plans.find(plan => plan.id === id);\r\n    }\r\n\r\n    /**\r\n     * Get different versions of specified plan.\r\n     * (yearly, weekly, every 2 years etc)\r\n     */\r\n    public getChildPlans(parent: Plan) {\r\n        return this.plans.filter(plan => plan.parent_id === parent.id);\r\n    }\r\n\r\n    /**\r\n     * Set all available plans.\r\n     */\r\n    public setPlans(plans: Plan[]) {\r\n        this.plans = plans;\r\n    }\r\n}","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./select-plan-panel.component.scss.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../../../node_modules/@angular/material/button/typings/index.ngfactory\";\nimport * as i3 from \"../../../core/translations/translate.directive\";\nimport * as i4 from \"../../../core/translations/translations.service\";\nimport * as i5 from \"../../../core/config/settings.service\";\nimport * as i6 from \"@angular/material/button\";\nimport * as i7 from \"@angular/cdk/platform\";\nimport * as i8 from \"@angular/cdk/a11y\";\nimport * as i9 from \"@angular/platform-browser/animations\";\nimport * as i10 from \"../../upgrade-page/plan-features-list/plan-features-list.component.ngfactory\";\nimport * as i11 from \"../../upgrade-page/plan-features-list/plan-features-list.component\";\nimport * as i12 from \"@angular/common\";\nimport * as i13 from \"./select-plan-panel.component\";\nimport * as i14 from \"../../subscriptions/subscription-stepper-state.service\";\nvar styles_SelectPlanPanelComponent = [i0.styles];\nvar RenderType_SelectPlanPanelComponent = i1.ɵcrt({ encapsulation: 2, styles: styles_SelectPlanPanelComponent, data: {} });\nexport { RenderType_SelectPlanPanelComponent as RenderType_SelectPlanPanelComponent };\nfunction View_SelectPlanPanelComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"button\", [[\"class\", \"select-plan-button\"], [\"color\", \"primary\"], [\"mat-raised-button\", \"\"], [\"trans\", \"\"]], [[8, \"disabled\", 0], [2, \"_mat-animation-noopable\", null]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n        var pd_0 = (_co.selectPlan(_v.parent.context.$implicit) !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, i2.View_MatButton_0, i2.RenderType_MatButton)), i1.ɵdid(1, 4341760, null, 0, i3.TranslateDirective, [i1.ElementRef, i4.Translations, i5.Settings], null, null), i1.ɵdid(2, 180224, null, 0, i6.MatButton, [i1.ElementRef, i7.Platform, i8.FocusMonitor, [2, i9.ANIMATION_MODULE_TYPE]], { color: [0, \"color\"] }, null), (_l()(), i1.ɵted(-1, 0, [\"Choose Plan\"]))], function (_ck, _v) { var currVal_2 = \"primary\"; _ck(_v, 2, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = (i1.ɵnov(_v, 2).disabled || null); var currVal_1 = (i1.ɵnov(_v, 2)._animationMode === \"NoopAnimations\"); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nfunction View_SelectPlanPanelComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 3, \"button\", [[\"class\", \"select-plan-button\"], [\"color\", \"primary\"], [\"mat-stroked-button\", \"\"], [\"trans\", \"\"]], [[8, \"disabled\", 0], [2, \"_mat-animation-noopable\", null]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n        var pd_0 = (_co.selectPlan(_v.parent.context.$implicit) !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, i2.View_MatButton_0, i2.RenderType_MatButton)), i1.ɵdid(1, 4341760, null, 0, i3.TranslateDirective, [i1.ElementRef, i4.Translations, i5.Settings], null, null), i1.ɵdid(2, 180224, null, 0, i6.MatButton, [i1.ElementRef, i7.Platform, i8.FocusMonitor, [2, i9.ANIMATION_MODULE_TYPE]], { color: [0, \"color\"] }, null), (_l()(), i1.ɵted(-1, 0, [\"Choose Plan\"]))], function (_ck, _v) { var currVal_2 = \"primary\"; _ck(_v, 2, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = (i1.ɵnov(_v, 2).disabled || null); var currVal_1 = (i1.ɵnov(_v, 2)._animationMode === \"NoopAnimations\"); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nfunction View_SelectPlanPanelComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 26, \"div\", [[\"class\", \"plan\"]], [[2, \"recommended\", null]], null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"div\", [[\"class\", \"name\"]], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \"\"])), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(5, 0, null, null, 11, \"div\", [[\"class\", \"price-box\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(7, 0, null, null, 1, \"span\", [[\"class\", \"currency\"]], null, null, null, null, null)), (_l()(), i1.ɵted(8, null, [\"\", \"\"])), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"span\", [[\"class\", \"number\"]], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"\", \"\"])), i1.ɵppd(12, 2), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(14, 0, null, null, 1, \"span\", [[\"class\", \"interval\"]], null, null, null, null, null)), (_l()(), i1.ɵted(15, null, [\"/ \", \"\"])), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(18, 0, null, null, 1, \"plan-features-list\", [], null, null, null, i10.View_PlanFeaturesListComponent_0, i10.RenderType_PlanFeaturesListComponent)), i1.ɵdid(19, 49152, null, 0, i11.PlanFeaturesListComponent, [], { plan: [0, \"plan\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SelectPlanPanelComponent_2)), i1.ɵdid(22, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SelectPlanPanelComponent_3)), i1.ɵdid(25, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n    \"]))], function (_ck, _v) { var currVal_5 = _v.context.$implicit; _ck(_v, 19, 0, currVal_5); var currVal_6 = _v.context.$implicit.recommended; _ck(_v, 22, 0, currVal_6); var currVal_7 = !_v.context.$implicit.recommended; _ck(_v, 25, 0, currVal_7); }, function (_ck, _v) { var currVal_0 = _v.context.$implicit.recommended; _ck(_v, 0, 0, currVal_0); var currVal_1 = _v.context.$implicit.name; _ck(_v, 3, 0, currVal_1); var currVal_2 = _v.context.$implicit.currency_symbol; _ck(_v, 8, 0, currVal_2); var currVal_3 = i1.ɵunv(_v, 11, 0, _ck(_v, 12, 0, i1.ɵnov(_v.parent, 0), _v.context.$implicit.amount, \"1.2\")); _ck(_v, 11, 0, currVal_3); var currVal_4 = _v.context.$implicit.interval; _ck(_v, 15, 0, currVal_4); }); }\nexport function View_SelectPlanPanelComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i12.DecimalPipe, [i1.LOCALE_ID]), (_l()(), i1.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"plans\"]], [[2, \"has-recommended\", null]], null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SelectPlanPanelComponent_1)), i1.ɵdid(4, 278528, null, 0, i12.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.getAllPlans(); _ck(_v, 4, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.hasRecommendedPlan; _ck(_v, 1, 0, currVal_0); }); }\nexport function View_SelectPlanPanelComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"select-plan-panel\", [], null, null, null, View_SelectPlanPanelComponent_0, RenderType_SelectPlanPanelComponent)), i1.ɵdid(1, 114688, null, 0, i13.SelectPlanPanelComponent, [i14.SubscriptionStepperState], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar SelectPlanPanelComponentNgFactory = i1.ɵccf(\"select-plan-panel\", i13.SelectPlanPanelComponent, View_SelectPlanPanelComponent_Host_0, {}, { selected: \"selected\" }, []);\nexport { SelectPlanPanelComponentNgFactory as SelectPlanPanelComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"select-plan-panel .plans{display:flex;align-items:center;overflow-x:auto;padding:5px 0}@media only screen and (max-width:1205px){select-plan-panel .plans{display:block}select-plan-panel .plans .plan{margin-bottom:30px;margin-left:auto;margin-right:auto}}select-plan-panel .plan{display:flex;flex-direction:column;flex:1 1 auto;align-items:center;margin-right:25px;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fff;min-height:367px;padding:48px 16px;border-radius:4px;border-top:4px solid transparent;border-bottom:4px solid transparent;max-width:500px}select-plan-panel .plan.recommended{padding-top:78px;padding-bottom:78px;border-top-color:#1565c0}select-plan-panel .plan.recommended .name{font-size:3.4rem;color:#1565c0}select-plan-panel .plan .name{font-size:3.2rem;font-weight:500;padding-top:15px;text-transform:capitalize;color:rgba(0,0,0,.87)}select-plan-panel .plan .price-box{padding:0 0 15px;text-align:center;font-size:2.2rem;font-weight:500;color:rgba(0,0,0,.54)}select-plan-panel .plan .select-plan-button{min-width:125px;line-height:44px;margin:35px 0 20px}select-plan-panel .mat-stroked-button:not([disabled]){border-color:#1565c0}\"];\nexport { styles as styles };\n","<div class=\"plans\" [class.has-recommended]=\"hasRecommendedPlan\">\r\n    <div class=\"plan\" *ngFor=\"let plan of getAllPlans()\" [class.recommended]=\"plan.recommended\">\r\n        <div class=\"name\">{{plan.name}}</div>\r\n        <div class=\"price-box\">\r\n            <span class=\"currency\">{{plan.currency_symbol}}</span>\r\n            <span class=\"number\">{{plan.amount | number:'1.2'}}</span>\r\n            <span class=\"interval\">/ {{plan.interval}}</span>\r\n        </div>\r\n        <plan-features-list [plan]=\"plan\"></plan-features-list>\r\n        <button class=\"select-plan-button\" (click)=\"selectPlan(plan)\" mat-raised-button *ngIf=\"plan.recommended\" color=\"primary\" trans>Choose Plan</button>\r\n        <button class=\"select-plan-button\" (click)=\"selectPlan(plan)\" mat-stroked-button color=\"primary\" *ngIf=\"!plan.recommended\"  trans>Choose Plan</button>\r\n    </div>\r\n</div>","import { Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';\r\n\r\n@Component({\r\n  selector: 'contact-widget',\r\n  templateUrl: './contact-widget.component.html',\r\n  styleUrls: ['./contact-widget.component.scss'],\r\n  encapsulation: ViewEncapsulation.None,\r\n  changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class ContactWidgetComponent implements OnInit {\r\n\r\n  constructor() { }\r\n\r\n  ngOnInit() {\r\n  }\r\n\r\n}\r\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./contact-widget.component.scss.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../../../node_modules/@angular/material/icon/typings/index.ngfactory\";\nimport * as i3 from \"@angular/material/icon\";\nimport * as i4 from \"../../../core/translations/translate.directive\";\nimport * as i5 from \"../../../core/translations/translations.service\";\nimport * as i6 from \"../../../core/config/settings.service\";\nimport * as i7 from \"../../../../../node_modules/@angular/material/button/typings/index.ngfactory\";\nimport * as i8 from \"@angular/material/button\";\nimport * as i9 from \"@angular/cdk/platform\";\nimport * as i10 from \"@angular/cdk/a11y\";\nimport * as i11 from \"@angular/platform-browser/animations\";\nimport * as i12 from \"@angular/router\";\nimport * as i13 from \"@angular/common\";\nimport * as i14 from \"./contact-widget.component\";\nvar styles_ContactWidgetComponent = [i0.styles];\nvar RenderType_ContactWidgetComponent = i1.ɵcrt({ encapsulation: 2, styles: styles_ContactWidgetComponent, data: {} });\nexport { RenderType_ContactWidgetComponent as RenderType_ContactWidgetComponent };\nexport function View_ContactWidgetComponent_0(_l) { return i1.ɵvid(2, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"mat-icon\", [[\"class\", \"icon mat-icon notranslate\"], [\"role\", \"img\"], [\"svgIcon\", \"question-answer\"]], [[2, \"mat-icon-inline\", null], [2, \"mat-icon-no-color\", null]], null, null, i2.View_MatIcon_0, i2.RenderType_MatIcon)), i1.ɵdid(1, 9158656, null, 0, i3.MatIcon, [i1.ElementRef, i3.MatIconRegistry, [8, null], [2, i3.MAT_ICON_LOCATION]], { svgIcon: [0, \"svgIcon\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\\n\"])), (_l()(), i1.ɵeld(3, 0, null, null, 2, \"div\", [[\"class\", \"title\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(4, 4341760, null, 0, i4.TranslateDirective, [i1.ElementRef, i5.Translations, i6.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"Do you have any questions about PRO accounts?\"])), (_l()(), i1.ɵted(-1, null, [\"\\n\"])), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"div\", [[\"class\", \"subtitle\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(8, 4341760, null, 0, i4.TranslateDirective, [i1.ElementRef, i5.Translations, i6.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"Our support team will be happy to assist you.\"])), (_l()(), i1.ɵted(-1, null, [\"\\n\"])), (_l()(), i1.ɵeld(11, 0, null, null, 4, \"a\", [[\"color\", \"primary\"], [\"mat-raised-button\", \"\"], [\"routerLink\", \"/contact\"], [\"target\", \"_blank\"], [\"trans\", \"\"]], [[1, \"tabindex\", 0], [1, \"disabled\", 0], [1, \"aria-disabled\", 0], [2, \"_mat-animation-noopable\", null], [1, \"target\", 0], [8, \"href\", 4]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n        var pd_0 = (i1.ɵnov(_v, 13)._haltDisabledEvents($event) !== false);\n        ad = (pd_0 && ad);\n    } if ((\"click\" === en)) {\n        var pd_1 = (i1.ɵnov(_v, 14).onClick($event.button, $event.ctrlKey, $event.metaKey, $event.shiftKey) !== false);\n        ad = (pd_1 && ad);\n    } return ad; }, i7.View_MatAnchor_0, i7.RenderType_MatAnchor)), i1.ɵdid(12, 4341760, null, 0, i4.TranslateDirective, [i1.ElementRef, i5.Translations, i6.Settings], null, null), i1.ɵdid(13, 180224, null, 0, i8.MatAnchor, [i9.Platform, i10.FocusMonitor, i1.ElementRef, [2, i11.ANIMATION_MODULE_TYPE]], { color: [0, \"color\"] }, null), i1.ɵdid(14, 671744, null, 0, i12.RouterLinkWithHref, [i12.Router, i12.ActivatedRoute, i13.LocationStrategy], { target: [0, \"target\"], routerLink: [1, \"routerLink\"] }, null), (_l()(), i1.ɵted(-1, 0, [\"Contact Us\"]))], function (_ck, _v) { var currVal_2 = \"question-answer\"; _ck(_v, 1, 0, currVal_2); var currVal_9 = \"primary\"; _ck(_v, 13, 0, currVal_9); var currVal_10 = \"_blank\"; var currVal_11 = \"/contact\"; _ck(_v, 14, 0, currVal_10, currVal_11); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 1).inline; var currVal_1 = (((i1.ɵnov(_v, 1).color !== \"primary\") && (i1.ɵnov(_v, 1).color !== \"accent\")) && (i1.ɵnov(_v, 1).color !== \"warn\")); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_3 = (i1.ɵnov(_v, 13).disabled ? (0 - 1) : (i1.ɵnov(_v, 13).tabIndex || 0)); var currVal_4 = (i1.ɵnov(_v, 13).disabled || null); var currVal_5 = i1.ɵnov(_v, 13).disabled.toString(); var currVal_6 = (i1.ɵnov(_v, 13)._animationMode === \"NoopAnimations\"); var currVal_7 = i1.ɵnov(_v, 14).target; var currVal_8 = i1.ɵnov(_v, 14).href; _ck(_v, 11, 0, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8); }); }\nexport function View_ContactWidgetComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"contact-widget\", [], null, null, null, View_ContactWidgetComponent_0, RenderType_ContactWidgetComponent)), i1.ɵdid(1, 114688, null, 0, i14.ContactWidgetComponent, [], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar ContactWidgetComponentNgFactory = i1.ɵccf(\"contact-widget\", i14.ContactWidgetComponent, View_ContactWidgetComponent_Host_0, {}, {}, []);\nexport { ContactWidgetComponentNgFactory as ContactWidgetComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"contact-widget{display:block;text-align:center;padding:25px;margin-top:45px}contact-widget .icon{width:40px;height:40px;color:rgba(0,0,0,.5)}contact-widget .title{font-size:2rem;margin-bottom:10px;line-height:24px}contact-widget .subtitle{font-size:1.6rem;margin-bottom:25px;line-height:23px}\"];\nexport { styles as styles };\n","<mat-icon svgIcon=\"question-answer\" class=\"icon\"></mat-icon>\r\n\r\n<div class=\"title\" trans>Do you have any questions about PRO accounts?</div>\r\n<div class=\"subtitle\" trans>Our support team will be happy to assist you.</div>\r\n<a mat-raised-button color=\"primary\" target=\"_blank\" routerLink=\"/contact\" trans>Contact Us</a>","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport { __extends } from 'tslib';\nimport { FocusMonitor } from '@angular/cdk/a11y';\nimport { coerceBooleanProperty } from '@angular/cdk/coercion';\nimport { UniqueSelectionDispatcher } from '@angular/cdk/collections';\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChildren, Directive, ElementRef, EventEmitter, forwardRef, Inject, Input, Optional, Output, ViewChild, ViewEncapsulation, NgModule } from '@angular/core';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { mixinColor, mixinDisableRipple, mixinTabIndex, MatCommonModule, MatRippleModule } from '@angular/material/core';\nimport { ANIMATION_MODULE_TYPE } from '@angular/platform-browser/animations';\nimport { CommonModule } from '@angular/common';\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n// Increasing integer for generating unique ids for radio components.\n/** @type {?} */\nvar nextUniqueId = 0;\n/**\n * Provider Expression that allows mat-radio-group to register as a ControlValueAccessor. This\n * allows it to support [(ngModel)] and ngControl.\n * \\@docs-private\n * @type {?}\n */\nvar MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR = {\n    provide: NG_VALUE_ACCESSOR,\n    useExisting: forwardRef(function () { return MatRadioGroup; }),\n    multi: true\n};\n/**\n * Change event object emitted by MatRadio and MatRadioGroup.\n */\nvar  /**\n * Change event object emitted by MatRadio and MatRadioGroup.\n */\nMatRadioChange = /** @class */ (function () {\n    function MatRadioChange(source, value) {\n        this.source = source;\n        this.value = value;\n    }\n    return MatRadioChange;\n}());\n/**\n * A group of radio buttons. May contain one or more `<mat-radio-button>` elements.\n */\nvar MatRadioGroup = /** @class */ (function () {\n    function MatRadioGroup(_changeDetector) {\n        this._changeDetector = _changeDetector;\n        /**\n         * Selected value for the radio group.\n         */\n        this._value = null;\n        /**\n         * The HTML name attribute applied to radio buttons in this group.\n         */\n        this._name = \"mat-radio-group-\" + nextUniqueId++;\n        /**\n         * The currently selected radio button. Should match value.\n         */\n        this._selected = null;\n        /**\n         * Whether the `value` has been set to its initial value.\n         */\n        this._isInitialized = false;\n        /**\n         * Whether the labels should appear after or before the radio-buttons. Defaults to 'after'\n         */\n        this._labelPosition = 'after';\n        /**\n         * Whether the radio group is disabled.\n         */\n        this._disabled = false;\n        /**\n         * Whether the radio group is required.\n         */\n        this._required = false;\n        /**\n         * The method to be called in order to update ngModel\n         */\n        this._controlValueAccessorChangeFn = function () { };\n        /**\n         * onTouch function registered via registerOnTouch (ControlValueAccessor).\n         * \\@docs-private\n         */\n        this.onTouched = function () { };\n        /**\n         * Event emitted when the group value changes.\n         * Change events are only emitted when the value changes due to user interaction with\n         * a radio button (the same behavior as `<input type-\"radio\">`).\n         */\n        this.change = new EventEmitter();\n    }\n    Object.defineProperty(MatRadioGroup.prototype, \"name\", {\n        /** Name of the radio button group. All radio buttons inside this group will use this name. */\n        get: /**\n         * Name of the radio button group. All radio buttons inside this group will use this name.\n         * @return {?}\n         */\n        function () { return this._name; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            this._name = value;\n            this._updateRadioButtonNames();\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatRadioGroup.prototype, \"labelPosition\", {\n        /** Whether the labels should appear after or before the radio-buttons. Defaults to 'after' */\n        get: /**\n         * Whether the labels should appear after or before the radio-buttons. Defaults to 'after'\n         * @return {?}\n         */\n        function () {\n            return this._labelPosition;\n        },\n        set: /**\n         * @param {?} v\n         * @return {?}\n         */\n        function (v) {\n            this._labelPosition = v === 'before' ? 'before' : 'after';\n            this._markRadiosForCheck();\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatRadioGroup.prototype, \"value\", {\n        /**\n         * Value for the radio-group. Should equal the value of the selected radio button if there is\n         * a corresponding radio button with a matching value. If there is not such a corresponding\n         * radio button, this value persists to be applied in case a new radio button is added with a\n         * matching value.\n         */\n        get: /**\n         * Value for the radio-group. Should equal the value of the selected radio button if there is\n         * a corresponding radio button with a matching value. If there is not such a corresponding\n         * radio button, this value persists to be applied in case a new radio button is added with a\n         * matching value.\n         * @return {?}\n         */\n        function () { return this._value; },\n        set: /**\n         * @param {?} newValue\n         * @return {?}\n         */\n        function (newValue) {\n            if (this._value !== newValue) {\n                // Set this before proceeding to ensure no circular loop occurs with selection.\n                this._value = newValue;\n                this._updateSelectedRadioFromValue();\n                this._checkSelectedRadioButton();\n            }\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * @return {?}\n     */\n    MatRadioGroup.prototype._checkSelectedRadioButton = /**\n     * @return {?}\n     */\n    function () {\n        if (this._selected && !this._selected.checked) {\n            this._selected.checked = true;\n        }\n    };\n    Object.defineProperty(MatRadioGroup.prototype, \"selected\", {\n        /**\n         * The currently selected radio button. If set to a new radio button, the radio group value\n         * will be updated to match the new selected button.\n         */\n        get: /**\n         * The currently selected radio button. If set to a new radio button, the radio group value\n         * will be updated to match the new selected button.\n         * @return {?}\n         */\n        function () { return this._selected; },\n        set: /**\n         * @param {?} selected\n         * @return {?}\n         */\n        function (selected) {\n            this._selected = selected;\n            this.value = selected ? selected.value : null;\n            this._checkSelectedRadioButton();\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatRadioGroup.prototype, \"disabled\", {\n        /** Whether the radio group is disabled */\n        get: /**\n         * Whether the radio group is disabled\n         * @return {?}\n         */\n        function () { return this._disabled; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            this._disabled = coerceBooleanProperty(value);\n            this._markRadiosForCheck();\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatRadioGroup.prototype, \"required\", {\n        /** Whether the radio group is required */\n        get: /**\n         * Whether the radio group is required\n         * @return {?}\n         */\n        function () { return this._required; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            this._required = coerceBooleanProperty(value);\n            this._markRadiosForCheck();\n        },\n        enumerable: true,\n        configurable: true\n    });\n    /**\n     * Initialize properties once content children are available.\n     * This allows us to propagate relevant attributes to associated buttons.\n     */\n    /**\n     * Initialize properties once content children are available.\n     * This allows us to propagate relevant attributes to associated buttons.\n     * @return {?}\n     */\n    MatRadioGroup.prototype.ngAfterContentInit = /**\n     * Initialize properties once content children are available.\n     * This allows us to propagate relevant attributes to associated buttons.\n     * @return {?}\n     */\n    function () {\n        // Mark this component as initialized in AfterContentInit because the initial value can\n        // possibly be set by NgModel on MatRadioGroup, and it is possible that the OnInit of the\n        // NgModel occurs *after* the OnInit of the MatRadioGroup.\n        this._isInitialized = true;\n    };\n    /**\n     * Mark this group as being \"touched\" (for ngModel). Meant to be called by the contained\n     * radio buttons upon their blur.\n     */\n    /**\n     * Mark this group as being \"touched\" (for ngModel). Meant to be called by the contained\n     * radio buttons upon their blur.\n     * @return {?}\n     */\n    MatRadioGroup.prototype._touch = /**\n     * Mark this group as being \"touched\" (for ngModel). Meant to be called by the contained\n     * radio buttons upon their blur.\n     * @return {?}\n     */\n    function () {\n        if (this.onTouched) {\n            this.onTouched();\n        }\n    };\n    /**\n     * @private\n     * @return {?}\n     */\n    MatRadioGroup.prototype._updateRadioButtonNames = /**\n     * @private\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        if (this._radios) {\n            this._radios.forEach(function (radio) {\n                radio.name = _this.name;\n                radio._markForCheck();\n            });\n        }\n    };\n    /** Updates the `selected` radio button from the internal _value state. */\n    /**\n     * Updates the `selected` radio button from the internal _value state.\n     * @private\n     * @return {?}\n     */\n    MatRadioGroup.prototype._updateSelectedRadioFromValue = /**\n     * Updates the `selected` radio button from the internal _value state.\n     * @private\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        // If the value already matches the selected radio, do nothing.\n        /** @type {?} */\n        var isAlreadySelected = this._selected !== null && this._selected.value === this._value;\n        if (this._radios && !isAlreadySelected) {\n            this._selected = null;\n            this._radios.forEach(function (radio) {\n                radio.checked = _this.value === radio.value;\n                if (radio.checked) {\n                    _this._selected = radio;\n                }\n            });\n        }\n    };\n    /** Dispatch change event with current selection and group value. */\n    /**\n     * Dispatch change event with current selection and group value.\n     * @return {?}\n     */\n    MatRadioGroup.prototype._emitChangeEvent = /**\n     * Dispatch change event with current selection and group value.\n     * @return {?}\n     */\n    function () {\n        if (this._isInitialized) {\n            this.change.emit(new MatRadioChange((/** @type {?} */ (this._selected)), this._value));\n        }\n    };\n    /**\n     * @return {?}\n     */\n    MatRadioGroup.prototype._markRadiosForCheck = /**\n     * @return {?}\n     */\n    function () {\n        if (this._radios) {\n            this._radios.forEach(function (radio) { return radio._markForCheck(); });\n        }\n    };\n    /**\n     * Sets the model value. Implemented as part of ControlValueAccessor.\n     * @param value\n     */\n    /**\n     * Sets the model value. Implemented as part of ControlValueAccessor.\n     * @param {?} value\n     * @return {?}\n     */\n    MatRadioGroup.prototype.writeValue = /**\n     * Sets the model value. Implemented as part of ControlValueAccessor.\n     * @param {?} value\n     * @return {?}\n     */\n    function (value) {\n        this.value = value;\n        this._changeDetector.markForCheck();\n    };\n    /**\n     * Registers a callback to be triggered when the model value changes.\n     * Implemented as part of ControlValueAccessor.\n     * @param fn Callback to be registered.\n     */\n    /**\n     * Registers a callback to be triggered when the model value changes.\n     * Implemented as part of ControlValueAccessor.\n     * @param {?} fn Callback to be registered.\n     * @return {?}\n     */\n    MatRadioGroup.prototype.registerOnChange = /**\n     * Registers a callback to be triggered when the model value changes.\n     * Implemented as part of ControlValueAccessor.\n     * @param {?} fn Callback to be registered.\n     * @return {?}\n     */\n    function (fn) {\n        this._controlValueAccessorChangeFn = fn;\n    };\n    /**\n     * Registers a callback to be triggered when the control is touched.\n     * Implemented as part of ControlValueAccessor.\n     * @param fn Callback to be registered.\n     */\n    /**\n     * Registers a callback to be triggered when the control is touched.\n     * Implemented as part of ControlValueAccessor.\n     * @param {?} fn Callback to be registered.\n     * @return {?}\n     */\n    MatRadioGroup.prototype.registerOnTouched = /**\n     * Registers a callback to be triggered when the control is touched.\n     * Implemented as part of ControlValueAccessor.\n     * @param {?} fn Callback to be registered.\n     * @return {?}\n     */\n    function (fn) {\n        this.onTouched = fn;\n    };\n    /**\n     * Sets the disabled state of the control. Implemented as a part of ControlValueAccessor.\n     * @param isDisabled Whether the control should be disabled.\n     */\n    /**\n     * Sets the disabled state of the control. Implemented as a part of ControlValueAccessor.\n     * @param {?} isDisabled Whether the control should be disabled.\n     * @return {?}\n     */\n    MatRadioGroup.prototype.setDisabledState = /**\n     * Sets the disabled state of the control. Implemented as a part of ControlValueAccessor.\n     * @param {?} isDisabled Whether the control should be disabled.\n     * @return {?}\n     */\n    function (isDisabled) {\n        this.disabled = isDisabled;\n        this._changeDetector.markForCheck();\n    };\n    MatRadioGroup.decorators = [\n        { type: Directive, args: [{\n                    selector: 'mat-radio-group',\n                    exportAs: 'matRadioGroup',\n                    providers: [MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR],\n                    host: {\n                        'role': 'radiogroup',\n                        'class': 'mat-radio-group',\n                    },\n                },] },\n    ];\n    /** @nocollapse */\n    MatRadioGroup.ctorParameters = function () { return [\n        { type: ChangeDetectorRef }\n    ]; };\n    MatRadioGroup.propDecorators = {\n        change: [{ type: Output }],\n        _radios: [{ type: ContentChildren, args: [forwardRef(function () { return MatRadioButton; }), { descendants: true },] }],\n        name: [{ type: Input }],\n        labelPosition: [{ type: Input }],\n        value: [{ type: Input }],\n        selected: [{ type: Input }],\n        disabled: [{ type: Input }],\n        required: [{ type: Input }]\n    };\n    return MatRadioGroup;\n}());\n// Boilerplate for applying mixins to MatRadioButton.\n/**\n * \\@docs-private\n */\nvar  \n// Boilerplate for applying mixins to MatRadioButton.\n/**\n * \\@docs-private\n */\nMatRadioButtonBase = /** @class */ (function () {\n    function MatRadioButtonBase(_elementRef) {\n        this._elementRef = _elementRef;\n    }\n    return MatRadioButtonBase;\n}());\n// As per Material design specifications the selection control radio should use the accent color\n// palette by default. https://material.io/guidelines/components/selection-controls.html\n/** @type {?} */\nvar _MatRadioButtonMixinBase = mixinColor(mixinDisableRipple(mixinTabIndex(MatRadioButtonBase)), 'accent');\n/**\n * A Material design radio-button. Typically placed inside of `<mat-radio-group>` elements.\n */\nvar MatRadioButton = /** @class */ (function (_super) {\n    __extends(MatRadioButton, _super);\n    function MatRadioButton(radioGroup, elementRef, _changeDetector, _focusMonitor, _radioDispatcher, _animationMode) {\n        var _this = _super.call(this, elementRef) || this;\n        _this._changeDetector = _changeDetector;\n        _this._focusMonitor = _focusMonitor;\n        _this._radioDispatcher = _radioDispatcher;\n        _this._animationMode = _animationMode;\n        _this._uniqueId = \"mat-radio-\" + ++nextUniqueId;\n        /**\n         * The unique ID for the radio button.\n         */\n        _this.id = _this._uniqueId;\n        /**\n         * Event emitted when the checked state of this radio button changes.\n         * Change events are only emitted when the value changes due to user interaction with\n         * the radio button (the same behavior as `<input type-\"radio\">`).\n         */\n        _this.change = new EventEmitter();\n        /**\n         * Whether this radio is checked.\n         */\n        _this._checked = false;\n        /**\n         * Value assigned to this radio.\n         */\n        _this._value = null;\n        /**\n         * Unregister function for _radioDispatcher\n         */\n        _this._removeUniqueSelectionListener = function () { };\n        // Assertions. Ideally these should be stripped out by the compiler.\n        // TODO(jelbourn): Assert that there's no name binding AND a parent radio group.\n        _this.radioGroup = radioGroup;\n        _this._removeUniqueSelectionListener =\n            _radioDispatcher.listen(function (id, name) {\n                if (id !== _this.id && name === _this.name) {\n                    _this.checked = false;\n                }\n            });\n        return _this;\n    }\n    Object.defineProperty(MatRadioButton.prototype, \"checked\", {\n        /** Whether this radio button is checked. */\n        get: /**\n         * Whether this radio button is checked.\n         * @return {?}\n         */\n        function () { return this._checked; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            /** @type {?} */\n            var newCheckedState = coerceBooleanProperty(value);\n            if (this._checked !== newCheckedState) {\n                this._checked = newCheckedState;\n                if (newCheckedState && this.radioGroup && this.radioGroup.value !== this.value) {\n                    this.radioGroup.selected = this;\n                }\n                else if (!newCheckedState && this.radioGroup && this.radioGroup.value === this.value) {\n                    // When unchecking the selected radio button, update the selected radio\n                    // property on the group.\n                    this.radioGroup.selected = null;\n                }\n                if (newCheckedState) {\n                    // Notify all radio buttons with the same name to un-check.\n                    this._radioDispatcher.notify(this.id, this.name);\n                }\n                this._changeDetector.markForCheck();\n            }\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatRadioButton.prototype, \"value\", {\n        /** The value of this radio button. */\n        get: /**\n         * The value of this radio button.\n         * @return {?}\n         */\n        function () { return this._value; },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            if (this._value !== value) {\n                this._value = value;\n                if (this.radioGroup !== null) {\n                    if (!this.checked) {\n                        // Update checked when the value changed to match the radio group's value\n                        this.checked = this.radioGroup.value === value;\n                    }\n                    if (this.checked) {\n                        this.radioGroup.selected = this;\n                    }\n                }\n            }\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatRadioButton.prototype, \"labelPosition\", {\n        /** Whether the label should appear after or before the radio button. Defaults to 'after' */\n        get: /**\n         * Whether the label should appear after or before the radio button. Defaults to 'after'\n         * @return {?}\n         */\n        function () {\n            return this._labelPosition || (this.radioGroup && this.radioGroup.labelPosition) || 'after';\n        },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            this._labelPosition = value;\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatRadioButton.prototype, \"disabled\", {\n        /** Whether the radio button is disabled. */\n        get: /**\n         * Whether the radio button is disabled.\n         * @return {?}\n         */\n        function () {\n            return this._disabled || (this.radioGroup !== null && this.radioGroup.disabled);\n        },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            /** @type {?} */\n            var newDisabledState = coerceBooleanProperty(value);\n            if (this._disabled !== newDisabledState) {\n                this._disabled = newDisabledState;\n                this._changeDetector.markForCheck();\n            }\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatRadioButton.prototype, \"required\", {\n        /** Whether the radio button is required. */\n        get: /**\n         * Whether the radio button is required.\n         * @return {?}\n         */\n        function () {\n            return this._required || (this.radioGroup && this.radioGroup.required);\n        },\n        set: /**\n         * @param {?} value\n         * @return {?}\n         */\n        function (value) {\n            this._required = coerceBooleanProperty(value);\n        },\n        enumerable: true,\n        configurable: true\n    });\n    Object.defineProperty(MatRadioButton.prototype, \"inputId\", {\n        /** ID of the native input element inside `<mat-radio-button>` */\n        get: /**\n         * ID of the native input element inside `<mat-radio-button>`\n         * @return {?}\n         */\n        function () { return (this.id || this._uniqueId) + \"-input\"; },\n        enumerable: true,\n        configurable: true\n    });\n    /** Focuses the radio button. */\n    /**\n     * Focuses the radio button.\n     * @return {?}\n     */\n    MatRadioButton.prototype.focus = /**\n     * Focuses the radio button.\n     * @return {?}\n     */\n    function () {\n        this._focusMonitor.focusVia(this._inputElement, 'keyboard');\n    };\n    /**\n     * Marks the radio button as needing checking for change detection.\n     * This method is exposed because the parent radio group will directly\n     * update bound properties of the radio button.\n     */\n    /**\n     * Marks the radio button as needing checking for change detection.\n     * This method is exposed because the parent radio group will directly\n     * update bound properties of the radio button.\n     * @return {?}\n     */\n    MatRadioButton.prototype._markForCheck = /**\n     * Marks the radio button as needing checking for change detection.\n     * This method is exposed because the parent radio group will directly\n     * update bound properties of the radio button.\n     * @return {?}\n     */\n    function () {\n        // When group value changes, the button will not be notified. Use `markForCheck` to explicit\n        // update radio button's status\n        this._changeDetector.markForCheck();\n    };\n    /**\n     * @return {?}\n     */\n    MatRadioButton.prototype.ngOnInit = /**\n     * @return {?}\n     */\n    function () {\n        if (this.radioGroup) {\n            // If the radio is inside a radio group, determine if it should be checked\n            this.checked = this.radioGroup.value === this._value;\n            // Copy name from parent radio group\n            this.name = this.radioGroup.name;\n        }\n    };\n    /**\n     * @return {?}\n     */\n    MatRadioButton.prototype.ngAfterViewInit = /**\n     * @return {?}\n     */\n    function () {\n        var _this = this;\n        this._focusMonitor\n            .monitor(this._elementRef, true)\n            .subscribe(function (focusOrigin) {\n            if (!focusOrigin && _this.radioGroup) {\n                _this.radioGroup._touch();\n            }\n        });\n    };\n    /**\n     * @return {?}\n     */\n    MatRadioButton.prototype.ngOnDestroy = /**\n     * @return {?}\n     */\n    function () {\n        this._focusMonitor.stopMonitoring(this._elementRef);\n        this._removeUniqueSelectionListener();\n    };\n    /** Dispatch change event with current value. */\n    /**\n     * Dispatch change event with current value.\n     * @private\n     * @return {?}\n     */\n    MatRadioButton.prototype._emitChangeEvent = /**\n     * Dispatch change event with current value.\n     * @private\n     * @return {?}\n     */\n    function () {\n        this.change.emit(new MatRadioChange(this, this._value));\n    };\n    /**\n     * @return {?}\n     */\n    MatRadioButton.prototype._isRippleDisabled = /**\n     * @return {?}\n     */\n    function () {\n        return this.disableRipple || this.disabled;\n    };\n    /**\n     * @param {?} event\n     * @return {?}\n     */\n    MatRadioButton.prototype._onInputClick = /**\n     * @param {?} event\n     * @return {?}\n     */\n    function (event) {\n        // We have to stop propagation for click events on the visual hidden input element.\n        // By default, when a user clicks on a label element, a generated click event will be\n        // dispatched on the associated input element. Since we are using a label element as our\n        // root container, the click event on the `radio-button` will be executed twice.\n        // The real click event will bubble up, and the generated click event also tries to bubble up.\n        // This will lead to multiple click events.\n        // Preventing bubbling for the second event will solve that issue.\n        event.stopPropagation();\n    };\n    /**\n     * Triggered when the radio button received a click or the input recognized any change.\n     * Clicking on a label element, will trigger a change event on the associated input.\n     */\n    /**\n     * Triggered when the radio button received a click or the input recognized any change.\n     * Clicking on a label element, will trigger a change event on the associated input.\n     * @param {?} event\n     * @return {?}\n     */\n    MatRadioButton.prototype._onInputChange = /**\n     * Triggered when the radio button received a click or the input recognized any change.\n     * Clicking on a label element, will trigger a change event on the associated input.\n     * @param {?} event\n     * @return {?}\n     */\n    function (event) {\n        // We always have to stop propagation on the change event.\n        // Otherwise the change event, from the input element, will bubble up and\n        // emit its event object to the `change` output.\n        event.stopPropagation();\n        /** @type {?} */\n        var groupValueChanged = this.radioGroup && this.value !== this.radioGroup.value;\n        this.checked = true;\n        this._emitChangeEvent();\n        if (this.radioGroup) {\n            this.radioGroup._controlValueAccessorChangeFn(this.value);\n            this.radioGroup._touch();\n            if (groupValueChanged) {\n                this.radioGroup._emitChangeEvent();\n            }\n        }\n    };\n    MatRadioButton.decorators = [\n        { type: Component, args: [{selector: 'mat-radio-button',\n                    template: \"<label [attr.for]=\\\"inputId\\\" class=\\\"mat-radio-label\\\" #label><div class=\\\"mat-radio-container\\\"><div class=\\\"mat-radio-outer-circle\\\"></div><div class=\\\"mat-radio-inner-circle\\\"></div><div mat-ripple class=\\\"mat-radio-ripple\\\" [matRippleTrigger]=\\\"label\\\" [matRippleDisabled]=\\\"_isRippleDisabled()\\\" [matRippleCentered]=\\\"true\\\" [matRippleRadius]=\\\"20\\\" [matRippleAnimation]=\\\"{enterDuration: 150}\\\"><div class=\\\"mat-ripple-element mat-radio-persistent-ripple\\\"></div></div><input #input class=\\\"mat-radio-input cdk-visually-hidden\\\" type=\\\"radio\\\" [id]=\\\"inputId\\\" [checked]=\\\"checked\\\" [disabled]=\\\"disabled\\\" [tabIndex]=\\\"tabIndex\\\" [attr.name]=\\\"name\\\" [required]=\\\"required\\\" [attr.aria-label]=\\\"ariaLabel\\\" [attr.aria-labelledby]=\\\"ariaLabelledby\\\" [attr.aria-describedby]=\\\"ariaDescribedby\\\" (change)=\\\"_onInputChange($event)\\\" (click)=\\\"_onInputClick($event)\\\"></div><div class=\\\"mat-radio-label-content\\\" [class.mat-radio-label-before]=\\\"labelPosition == 'before'\\\"><span style=\\\"display:none\\\">&nbsp;</span><ng-content></ng-content></div></label>\",\n                    styles: [\".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(.5)}@media (-ms-high-contrast:active){.mat-radio-checked .mat-radio-inner-circle{border:solid 10px}}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple,.mat-radio-persistent-ripple{opacity:0}@media (hover:none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}\"],\n                    inputs: ['color', 'disableRipple', 'tabIndex'],\n                    encapsulation: ViewEncapsulation.None,\n                    exportAs: 'matRadioButton',\n                    host: {\n                        'class': 'mat-radio-button',\n                        '[class.mat-radio-checked]': 'checked',\n                        '[class.mat-radio-disabled]': 'disabled',\n                        '[class._mat-animation-noopable]': '_animationMode === \"NoopAnimations\"',\n                        // Needs to be -1 so the `focus` event still fires.\n                        '[attr.tabindex]': '-1',\n                        '[attr.id]': 'id',\n                        // Note: under normal conditions focus shouldn't land on this element, however it may be\n                        // programmatically set, for example inside of a focus trap, in this case we want to forward\n                        // the focus to the native element.\n                        '(focus)': '_inputElement.nativeElement.focus()',\n                    },\n                    changeDetection: ChangeDetectionStrategy.OnPush,\n                },] },\n    ];\n    /** @nocollapse */\n    MatRadioButton.ctorParameters = function () { return [\n        { type: MatRadioGroup, decorators: [{ type: Optional }] },\n        { type: ElementRef },\n        { type: ChangeDetectorRef },\n        { type: FocusMonitor },\n        { type: UniqueSelectionDispatcher },\n        { type: String, decorators: [{ type: Optional }, { type: Inject, args: [ANIMATION_MODULE_TYPE,] }] }\n    ]; };\n    MatRadioButton.propDecorators = {\n        id: [{ type: Input }],\n        name: [{ type: Input }],\n        ariaLabel: [{ type: Input, args: ['aria-label',] }],\n        ariaLabelledby: [{ type: Input, args: ['aria-labelledby',] }],\n        ariaDescribedby: [{ type: Input, args: ['aria-describedby',] }],\n        checked: [{ type: Input }],\n        value: [{ type: Input }],\n        labelPosition: [{ type: Input }],\n        disabled: [{ type: Input }],\n        required: [{ type: Input }],\n        change: [{ type: Output }],\n        _inputElement: [{ type: ViewChild, args: ['input',] }]\n    };\n    return MatRadioButton;\n}(_MatRadioButtonMixinBase));\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\nvar MatRadioModule = /** @class */ (function () {\n    function MatRadioModule() {\n    }\n    MatRadioModule.decorators = [\n        { type: NgModule, args: [{\n                    imports: [CommonModule, MatRippleModule, MatCommonModule],\n                    exports: [MatRadioGroup, MatRadioButton, MatCommonModule],\n                    declarations: [MatRadioGroup, MatRadioButton],\n                },] },\n    ];\n    return MatRadioModule;\n}());\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\n/**\n * @fileoverview added by tsickle\n * @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc\n */\n\nexport { MatRadioModule, MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR, MatRadioChange, MatRadioGroup, MatRadioButtonBase, _MatRadioButtonMixinBase, MatRadioButton };\n//# sourceMappingURL=radio.es5.js.map\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/radio\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/cdk/bidi\";\nimport * as i4 from \"@angular/material/core\";\nimport * as i5 from \"@angular/platform-browser\";\nimport * as i6 from \"@angular/cdk/platform\";\nimport * as i7 from \"@angular/platform-browser/animations\";\nimport * as i8 from \"@angular/cdk/a11y\";\nimport * as i9 from \"@angular/cdk/collections\";\nvar MatRadioModuleNgFactory = i0.ɵcmf(i1.MatRadioModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(4608, i2.NgLocalization, i2.NgLocaleLocalization, [i0.LOCALE_ID, [2, i2.ɵangular_packages_common_common_a]]), i0.ɵmpd(1073742336, i2.CommonModule, i2.CommonModule, []), i0.ɵmpd(1073742336, i3.BidiModule, i3.BidiModule, []), i0.ɵmpd(1073742336, i4.MatCommonModule, i4.MatCommonModule, [[2, i4.MATERIAL_SANITY_CHECKS], [2, i5.HAMMER_LOADER]]), i0.ɵmpd(1073742336, i6.PlatformModule, i6.PlatformModule, []), i0.ɵmpd(1073742336, i4.MatRippleModule, i4.MatRippleModule, []), i0.ɵmpd(1073742336, i1.MatRadioModule, i1.MatRadioModule, [])]); });\nexport { MatRadioModuleNgFactory as MatRadioModuleNgFactory };\nvar styles_MatRadioButton = [\".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(.5)}@media (-ms-high-contrast:active){.mat-radio-checked .mat-radio-inner-circle{border:solid 10px}}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple,.mat-radio-persistent-ripple{opacity:0}@media (hover:none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}\"];\nvar RenderType_MatRadioButton = i0.ɵcrt({ encapsulation: 2, styles: styles_MatRadioButton, data: {} });\nexport { RenderType_MatRadioButton as RenderType_MatRadioButton };\nexport function View_MatRadioButton_0(_l) { return i0.ɵvid(2, [i0.ɵqud(402653184, 1, { _inputElement: 0 }), (_l()(), i0.ɵeld(1, 0, [[\"label\", 1]], null, 12, \"label\", [[\"class\", \"mat-radio-label\"]], [[1, \"for\", 0]], null, null, null, null)), (_l()(), i0.ɵeld(2, 0, null, null, 7, \"div\", [[\"class\", \"mat-radio-container\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(3, 0, null, null, 0, \"div\", [[\"class\", \"mat-radio-outer-circle\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(4, 0, null, null, 0, \"div\", [[\"class\", \"mat-radio-inner-circle\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(5, 0, null, null, 3, \"div\", [[\"class\", \"mat-radio-ripple mat-ripple\"], [\"mat-ripple\", \"\"]], [[2, \"mat-ripple-unbounded\", null]], null, null, null, null)), i0.ɵdid(6, 212992, null, 0, i4.MatRipple, [i0.ElementRef, i0.NgZone, i6.Platform, [2, i4.MAT_RIPPLE_GLOBAL_OPTIONS], [2, i7.ANIMATION_MODULE_TYPE]], { centered: [0, \"centered\"], radius: [1, \"radius\"], animation: [2, \"animation\"], disabled: [3, \"disabled\"], trigger: [4, \"trigger\"] }, null), i0.ɵpod(7, { enterDuration: 0 }), (_l()(), i0.ɵeld(8, 0, null, null, 0, \"div\", [[\"class\", \"mat-ripple-element mat-radio-persistent-ripple\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(9, 0, [[1, 0], [\"input\", 1]], null, 0, \"input\", [[\"class\", \"mat-radio-input cdk-visually-hidden\"], [\"type\", \"radio\"]], [[8, \"id\", 0], [8, \"checked\", 0], [8, \"disabled\", 0], [8, \"tabIndex\", 0], [1, \"name\", 0], [8, \"required\", 0], [1, \"aria-label\", 0], [1, \"aria-labelledby\", 0], [1, \"aria-describedby\", 0]], [[null, \"change\"], [null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"change\" === en)) {\n        var pd_0 = (_co._onInputChange($event) !== false);\n        ad = (pd_0 && ad);\n    } if ((\"click\" === en)) {\n        var pd_1 = (_co._onInputClick($event) !== false);\n        ad = (pd_1 && ad);\n    } return ad; }, null, null)), (_l()(), i0.ɵeld(10, 0, null, null, 3, \"div\", [[\"class\", \"mat-radio-label-content\"]], [[2, \"mat-radio-label-before\", null]], null, null, null, null)), (_l()(), i0.ɵeld(11, 0, null, null, 1, \"span\", [[\"style\", \"display:none\"]], null, null, null, null, null)), (_l()(), i0.ɵted(-1, null, [\"\\u00A0\"])), i0.ɵncd(null, 0)], function (_ck, _v) { var _co = _v.component; var currVal_2 = true; var currVal_3 = 20; var currVal_4 = _ck(_v, 7, 0, 150); var currVal_5 = _co._isRippleDisabled(); var currVal_6 = i0.ɵnov(_v, 1); _ck(_v, 6, 0, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.inputId; _ck(_v, 1, 0, currVal_0); var currVal_1 = i0.ɵnov(_v, 6).unbounded; _ck(_v, 5, 0, currVal_1); var currVal_7 = _co.inputId; var currVal_8 = _co.checked; var currVal_9 = _co.disabled; var currVal_10 = _co.tabIndex; var currVal_11 = _co.name; var currVal_12 = _co.required; var currVal_13 = _co.ariaLabel; var currVal_14 = _co.ariaLabelledby; var currVal_15 = _co.ariaDescribedby; _ck(_v, 9, 0, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12, currVal_13, currVal_14, currVal_15); var currVal_16 = (_co.labelPosition == \"before\"); _ck(_v, 10, 0, currVal_16); }); }\nexport function View_MatRadioButton_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"mat-radio-button\", [[\"class\", \"mat-radio-button\"]], [[2, \"mat-radio-checked\", null], [2, \"mat-radio-disabled\", null], [2, \"_mat-animation-noopable\", null], [1, \"tabindex\", 0], [1, \"id\", 0]], [[null, \"focus\"]], function (_v, en, $event) { var ad = true; if ((\"focus\" === en)) {\n        var pd_0 = (i0.ɵnov(_v, 1)._inputElement.nativeElement.focus() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, View_MatRadioButton_0, RenderType_MatRadioButton)), i0.ɵdid(1, 4440064, null, 0, i1.MatRadioButton, [[2, i1.MatRadioGroup], i0.ElementRef, i0.ChangeDetectorRef, i8.FocusMonitor, i9.UniqueSelectionDispatcher, [2, i7.ANIMATION_MODULE_TYPE]], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 1).checked; var currVal_1 = i0.ɵnov(_v, 1).disabled; var currVal_2 = (i0.ɵnov(_v, 1)._animationMode === \"NoopAnimations\"); var currVal_3 = (0 - 1); var currVal_4 = i0.ɵnov(_v, 1).id; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4); }); }\nvar MatRadioButtonNgFactory = i0.ɵccf(\"mat-radio-button\", i1.MatRadioButton, View_MatRadioButton_Host_0, { color: \"color\", disableRipple: \"disableRipple\", tabIndex: \"tabIndex\", id: \"id\", name: \"name\", ariaLabel: \"aria-label\", ariaLabelledby: \"aria-labelledby\", ariaDescribedby: \"aria-describedby\", checked: \"checked\", value: \"value\", labelPosition: \"labelPosition\", disabled: \"disabled\", required: \"required\" }, { change: \"change\" }, [\"*\"]);\nexport { MatRadioButtonNgFactory as MatRadioButtonNgFactory };\n","<label [attr.for]=\"inputId\" class=\"mat-radio-label\" #label><div class=\"mat-radio-container\"><div class=\"mat-radio-outer-circle\"></div><div class=\"mat-radio-inner-circle\"></div><div mat-ripple class=\"mat-radio-ripple\" [matRippleTrigger]=\"label\" [matRippleDisabled]=\"_isRippleDisabled()\" [matRippleCentered]=\"true\" [matRippleRadius]=\"20\" [matRippleAnimation]=\"{enterDuration: 150}\"><div class=\"mat-ripple-element mat-radio-persistent-ripple\"></div></div><input #input class=\"mat-radio-input cdk-visually-hidden\" type=\"radio\" [id]=\"inputId\" [checked]=\"checked\" [disabled]=\"disabled\" [tabIndex]=\"tabIndex\" [attr.name]=\"name\" [required]=\"required\" [attr.aria-label]=\"ariaLabel\" [attr.aria-labelledby]=\"ariaLabelledby\" [attr.aria-describedby]=\"ariaDescribedby\" (change)=\"_onInputChange($event)\" (click)=\"_onInputClick($event)\"></div><div class=\"mat-radio-label-content\" [class.mat-radio-label-before]=\"labelPosition == 'before'\"><span style=\"display:none\">&nbsp;</span><ng-content></ng-content></div></label>","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/divider\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/cdk/bidi\";\nimport * as i4 from \"@angular/material/core\";\nimport * as i5 from \"@angular/platform-browser\";\nvar MatDividerModuleNgFactory = i0.ɵcmf(i1.MatDividerModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(4608, i2.NgLocalization, i2.NgLocaleLocalization, [i0.LOCALE_ID, [2, i2.ɵangular_packages_common_common_a]]), i0.ɵmpd(1073742336, i3.BidiModule, i3.BidiModule, []), i0.ɵmpd(1073742336, i4.MatCommonModule, i4.MatCommonModule, [[2, i4.MATERIAL_SANITY_CHECKS], [2, i5.HAMMER_LOADER]]), i0.ɵmpd(1073742336, i2.CommonModule, i2.CommonModule, []), i0.ɵmpd(1073742336, i1.MatDividerModule, i1.MatDividerModule, [])]); });\nexport { MatDividerModuleNgFactory as MatDividerModuleNgFactory };\nvar styles_MatDivider = [\".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}\"];\nvar RenderType_MatDivider = i0.ɵcrt({ encapsulation: 2, styles: styles_MatDivider, data: {} });\nexport { RenderType_MatDivider as RenderType_MatDivider };\nexport function View_MatDivider_0(_l) { return i0.ɵvid(2, [], null, null); }\nexport function View_MatDivider_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"mat-divider\", [[\"class\", \"mat-divider\"], [\"role\", \"separator\"]], [[1, \"aria-orientation\", 0], [2, \"mat-divider-vertical\", null], [2, \"mat-divider-horizontal\", null], [2, \"mat-divider-inset\", null]], null, null, View_MatDivider_0, RenderType_MatDivider)), i0.ɵdid(1, 49152, null, 0, i1.MatDivider, [], null, null)], null, function (_ck, _v) { var currVal_0 = (i0.ɵnov(_v, 1).vertical ? \"vertical\" : \"horizontal\"); var currVal_1 = i0.ɵnov(_v, 1).vertical; var currVal_2 = !i0.ɵnov(_v, 1).vertical; var currVal_3 = i0.ɵnov(_v, 1).inset; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3); }); }\nvar MatDividerNgFactory = i0.ɵccf(\"mat-divider\", i1.MatDivider, View_MatDivider_Host_0, { vertical: \"vertical\", inset: \"inset\" }, {}, []);\nexport { MatDividerNgFactory as MatDividerNgFactory };\n","import {Component, ElementRef, OnInit, ViewEncapsulation} from '@angular/core';\r\nimport {Settings} from '../../../core/config/settings.service';\r\n\r\n@Component({\r\n    selector: 'accepted-payments-header',\r\n    templateUrl: './accepted-payments-header.component.html',\r\n    styleUrls: ['./accepted-payments-header.component.scss'],\r\n    encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class AcceptedPaymentsHeaderComponent implements OnInit {\r\n    public acceptedCards: string[] = [];\r\n\r\n    constructor(private settings: Settings, public el: ElementRef) {}\r\n\r\n    ngOnInit() {\r\n        this.acceptedCards = this.settings.getJson('billing.accepted_cards', []);\r\n    }\r\n\r\n    /**\r\n     * Get specified credit card's icon url.\r\n     */\r\n    public getCardIcon(card: string) {\r\n        return this.settings.getAssetUrl() + 'images/billing/' + card.toLowerCase() + '.png';\r\n    }\r\n}\r\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./accepted-payments-header.component.scss.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../core/translations/translate.directive\";\nimport * as i3 from \"../../../core/translations/translations.service\";\nimport * as i4 from \"../../../core/config/settings.service\";\nimport * as i5 from \"@angular/common\";\nimport * as i6 from \"./accepted-payments-header.component\";\nvar styles_AcceptedPaymentsHeaderComponent = [i0.styles];\nvar RenderType_AcceptedPaymentsHeaderComponent = i1.ɵcrt({ encapsulation: 2, styles: styles_AcceptedPaymentsHeaderComponent, data: {} });\nexport { RenderType_AcceptedPaymentsHeaderComponent as RenderType_AcceptedPaymentsHeaderComponent };\nfunction View_AcceptedPaymentsHeaderComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 0, \"img\", [], [[8, \"src\", 4]], null, null, null, null))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getCardIcon(_v.context.$implicit); _ck(_v, 0, 0, currVal_0); }); }\nexport function View_AcceptedPaymentsHeaderComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"text\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(1, 4341760, null, 0, i2.TranslateDirective, [i1.ElementRef, i3.Translations, i4.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"Accepted Payment Methods\"])), (_l()(), i1.ɵted(-1, null, [\"\\n\"])), (_l()(), i1.ɵeld(4, 0, null, null, 6, \"div\", [[\"class\", \"card-icons\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵeld(6, 0, null, null, 0, \"img\", [], [[8, \"src\", 4]], null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_AcceptedPaymentsHeaderComponent_1)), i1.ɵdid(9, 278528, null, 0, i5.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.acceptedCards; _ck(_v, 9, 0, currVal_1); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getCardIcon(\"paypal\"); _ck(_v, 6, 0, currVal_0); }); }\nexport function View_AcceptedPaymentsHeaderComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"accepted-payments-header\", [], null, null, null, View_AcceptedPaymentsHeaderComponent_0, RenderType_AcceptedPaymentsHeaderComponent)), i1.ɵdid(1, 114688, null, 0, i6.AcceptedPaymentsHeaderComponent, [i4.Settings, i1.ElementRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar AcceptedPaymentsHeaderComponentNgFactory = i1.ɵccf(\"accepted-payments-header\", i6.AcceptedPaymentsHeaderComponent, View_AcceptedPaymentsHeaderComponent_Host_0, {}, {}, []);\nexport { AcceptedPaymentsHeaderComponentNgFactory as AcceptedPaymentsHeaderComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"accepted-payments-header{display:block;border-bottom:1px solid #e0e0e0;margin-bottom:15px}accepted-payments-header>.text{font-size:1.6rem;margin-bottom:15px}accepted-payments-header .card-icons{display:flex;align-items:flex-start;flex-wrap:wrap;margin-bottom:25px}accepted-payments-header .card-icons>img{margin-right:5px;width:50px;height:auto;margin-bottom:5px}\"];\nexport { styles as styles };\n","<div class=\"text\" trans>Accepted Payment Methods</div>\r\n<div class=\"card-icons\">\r\n    <img [src]=\"getCardIcon('paypal')\">\r\n    <img [src]=\"getCardIcon(card)\" *ngFor=\"let card of acceptedCards\">\r\n</div>","import {Component, Input, ViewEncapsulation} from '@angular/core';\r\nimport { Plan } from '../../../shared/billing/models/plan';\r\n\r\n@Component({\r\n    selector: 'upgrade-page-aside',\r\n    templateUrl: './upgrade-page-aside.component.html',\r\n    styleUrls: ['./upgrade-page-aside.component.scss'],\r\n    encapsulation: ViewEncapsulation.None\r\n})\r\nexport class UpgradePageAsideComponent {\r\n    @Input() plan: Plan;\r\n}\r\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./upgrade-page-aside.component.scss.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../shared/billing/full-plan-name/full-plan-name.component.ngfactory\";\nimport * as i3 from \"../../../shared/billing/full-plan-name/full-plan-name.component\";\nimport * as i4 from \"../../../core/translations/translations.service\";\nimport * as i5 from \"../plan-features-list/plan-features-list.component.ngfactory\";\nimport * as i6 from \"../plan-features-list/plan-features-list.component\";\nimport * as i7 from \"../../../../../node_modules/@angular/material/divider/typings/index.ngfactory\";\nimport * as i8 from \"@angular/material/divider\";\nimport * as i9 from \"../../../../../node_modules/@angular/material/icon/typings/index.ngfactory\";\nimport * as i10 from \"@angular/material/icon\";\nimport * as i11 from \"../../../core/translations/translate.directive\";\nimport * as i12 from \"../../../core/config/settings.service\";\nimport * as i13 from \"../accepted-payments-header/accepted-payments-header.component.ngfactory\";\nimport * as i14 from \"../accepted-payments-header/accepted-payments-header.component\";\nimport * as i15 from \"@angular/common\";\nimport * as i16 from \"./upgrade-page-aside.component\";\nvar styles_UpgradePageAsideComponent = [i0.styles];\nvar RenderType_UpgradePageAsideComponent = i1.ɵcrt({ encapsulation: 2, styles: styles_UpgradePageAsideComponent, data: {} });\nexport { RenderType_UpgradePageAsideComponent as RenderType_UpgradePageAsideComponent };\nfunction View_UpgradePageAsideComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 34, null, null, null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵeld(2, 0, null, null, 8, \"div\", [[\"class\", \"selected-plan\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"div\", [[\"class\", \"header\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"full-plan-name\", [], null, null, null, i2.View_FullPlanNameComponent_0, i2.RenderType_FullPlanNameComponent)), i1.ɵdid(6, 49152, null, 0, i3.FullPlanNameComponent, [i4.Translations], { plan: [0, \"plan\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(8, 0, null, null, 1, \"plan-features-list\", [], null, null, null, i5.View_PlanFeaturesListComponent_0, i5.RenderType_PlanFeaturesListComponent)), i1.ɵdid(9, 49152, null, 0, i6.PlanFeaturesListComponent, [], { plan: [0, \"plan\"], showCheckIcons: [1, \"showCheckIcons\"], dense: [2, \"dense\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n    \"])), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"mat-divider\", [[\"class\", \"mat-divider\"], [\"role\", \"separator\"]], [[1, \"aria-orientation\", 0], [2, \"mat-divider-vertical\", null], [2, \"mat-divider-horizontal\", null], [2, \"mat-divider-inset\", null]], null, null, i7.View_MatDivider_0, i7.RenderType_MatDivider)), i1.ɵdid(13, 49152, null, 0, i8.MatDivider, [], null, null), (_l()(), i1.ɵted(-1, null, [\"\\n\\n    \"])), (_l()(), i1.ɵeld(15, 0, null, null, 18, \"div\", [[\"class\", \"secure-shopping\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(17, 0, null, null, 4, \"div\", [[\"class\", \"icon-container\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(19, 0, null, null, 1, \"mat-icon\", [[\"class\", \"mat-icon notranslate\"], [\"role\", \"img\"], [\"svgIcon\", \"shield-custom\"]], [[2, \"mat-icon-inline\", null], [2, \"mat-icon-no-color\", null]], null, null, i9.View_MatIcon_0, i9.RenderType_MatIcon)), i1.ɵdid(20, 9158656, null, 0, i10.MatIcon, [i1.ElementRef, i10.MatIconRegistry, [8, null], [2, i10.MAT_ICON_LOCATION]], { svgIcon: [0, \"svgIcon\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(23, 0, null, null, 9, \"div\", [[\"class\", \"text\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(25, 0, null, null, 2, \"div\", [[\"class\", \"primary\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(26, 4341760, null, 0, i11.TranslateDirective, [i1.ElementRef, i4.Translations, i12.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"SSL Secure Payment\"])), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(29, 0, null, null, 2, \"div\", [[\"class\", \"secondary\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(30, 4341760, null, 0, i11.TranslateDirective, [i1.ElementRef, i4.Translations, i12.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"Your information is protected by 256-bit SSL encryption\"])), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.plan; _ck(_v, 6, 0, currVal_0); var currVal_1 = _co.plan; var currVal_2 = true; var currVal_3 = true; _ck(_v, 9, 0, currVal_1, currVal_2, currVal_3); var currVal_10 = \"shield-custom\"; _ck(_v, 20, 0, currVal_10); }, function (_ck, _v) { var currVal_4 = (i1.ɵnov(_v, 13).vertical ? \"vertical\" : \"horizontal\"); var currVal_5 = i1.ɵnov(_v, 13).vertical; var currVal_6 = !i1.ɵnov(_v, 13).vertical; var currVal_7 = i1.ɵnov(_v, 13).inset; _ck(_v, 12, 0, currVal_4, currVal_5, currVal_6, currVal_7); var currVal_8 = i1.ɵnov(_v, 20).inline; var currVal_9 = (((i1.ɵnov(_v, 20).color !== \"primary\") && (i1.ɵnov(_v, 20).color !== \"accent\")) && (i1.ɵnov(_v, 20).color !== \"warn\")); _ck(_v, 19, 0, currVal_8, currVal_9); }); }\nexport function View_UpgradePageAsideComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"accepted-payments-header\", [], null, null, null, i13.View_AcceptedPaymentsHeaderComponent_0, i13.RenderType_AcceptedPaymentsHeaderComponent)), i1.ɵdid(1, 114688, null, 0, i14.AcceptedPaymentsHeaderComponent, [i12.Settings, i1.ElementRef], null, null), (_l()(), i1.ɵted(-1, null, [\"\\n\\n\"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_UpgradePageAsideComponent_1)), i1.ɵdid(4, 16384, null, 0, i15.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; _ck(_v, 1, 0); var currVal_0 = _co.plan; _ck(_v, 4, 0, currVal_0); }, null); }\nexport function View_UpgradePageAsideComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"upgrade-page-aside\", [], null, null, null, View_UpgradePageAsideComponent_0, RenderType_UpgradePageAsideComponent)), i1.ɵdid(1, 49152, null, 0, i16.UpgradePageAsideComponent, [], null, null)], null, null); }\nvar UpgradePageAsideComponentNgFactory = i1.ɵccf(\"upgrade-page-aside\", i16.UpgradePageAsideComponent, View_UpgradePageAsideComponent_Host_0, { plan: \"plan\" }, {}, []);\nexport { UpgradePageAsideComponentNgFactory as UpgradePageAsideComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"upgrade-page-aside{padding:30px 20px;border-left:1px solid #e0e0e0;min-width:320px}upgrade-page-aside .header{font-weight:500;font-size:1.5rem;padding:20px 20px 0}upgrade-page-aside plan-features-list{text-align:left}upgrade-page-aside .mat-divider{margin:20px 0 30px}upgrade-page-aside .secure-shopping{display:flex;align-items:center;padding:10px;border:1px solid #e0e0e0;border-radius:6px;max-width:275px}upgrade-page-aside .secure-shopping .icon-container{margin-right:15px}upgrade-page-aside .secure-shopping .icon-container .mat-icon{color:#74b23f;width:40px;height:40px}upgrade-page-aside .secure-shopping .text>.primary{text-transform:uppercase;margin-bottom:5px;font-size:1.4rem}upgrade-page-aside .secure-shopping .text>.secondary{font-size:1.3rem;color:rgba(0,0,0,.54)}\"];\nexport { styles as styles };\n","<accepted-payments-header></accepted-payments-header>\r\n\r\n<ng-container *ngIf=\"plan\">\r\n    <div class=\"selected-plan\">\r\n        <div class=\"header\"><full-plan-name [plan]=\"plan\"></full-plan-name></div>\r\n        <plan-features-list [plan]=\"plan\" [showCheckIcons]=\"true\" [dense]=\"true\"></plan-features-list>\r\n    </div>\r\n\r\n    <mat-divider></mat-divider>\r\n\r\n    <div class=\"secure-shopping\">\r\n        <div class=\"icon-container\">\r\n            <mat-icon svgIcon=\"shield-custom\"></mat-icon>\r\n        </div>\r\n        <div class=\"text\">\r\n            <div class=\"primary\" trans>SSL Secure Payment</div>\r\n            <div class=\"secondary\" trans>Your information is protected by 256-bit SSL encryption</div>\r\n        </div>\r\n    </div>\r\n</ng-container>","import {Component, EventEmitter, Input, Output, ViewEncapsulation} from '@angular/core';\r\nimport {SubscriptionStepperState} from '../../subscriptions/subscription-stepper-state.service';\r\nimport { Plan } from '../../../shared/billing/models/plan';\r\n\r\n@Component({\r\n    selector: 'select-plan-period-panel',\r\n    templateUrl: './select-plan-period-panel.component.html',\r\n    styleUrls: ['./select-plan-period-panel.component.scss'],\r\n    encapsulation: ViewEncapsulation.None\r\n})\r\nexport class SelectPlanPeriodPanelComponent {\r\n\r\n    /**\r\n     * Whether sidebar should be visible.\r\n     */\r\n    @Input() showSidebar = false;\r\n\r\n    /**\r\n     * Fired when user selects plan period.\r\n     */\r\n    @Output() selected = new EventEmitter();\r\n\r\n    /**\r\n     * SelectPlanPeriodPanelComponent Constructor.\r\n     */\r\n    constructor(public state: SubscriptionStepperState) {}\r\n\r\n    /**\r\n     * Get price decrease progress between specified plans.\r\n     */\r\n    public getPlanSavings(base: Plan, parent: Plan): number {\r\n        const amount = this.getPlanPerMonthAmount(parent);\r\n        const savings = (base.amount - amount) / base.amount * 100;\r\n        return Math.ceil(savings);\r\n    }\r\n\r\n    public getPlanPerMonthAmount(plan: Plan) {\r\n        return plan.amount / plan.interval_count;\r\n    }\r\n}\r\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./select-plan-period-panel.component.scss.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../core/translations/translate.directive\";\nimport * as i3 from \"../../../core/translations/translations.service\";\nimport * as i4 from \"../../../core/config/settings.service\";\nimport * as i5 from \"../../../../../node_modules/@angular/material/radio/typings/index.ngfactory\";\nimport * as i6 from \"@angular/material/radio\";\nimport * as i7 from \"@angular/cdk/a11y\";\nimport * as i8 from \"@angular/cdk/collections\";\nimport * as i9 from \"@angular/platform-browser/animations\";\nimport * as i10 from \"../../upgrade-page/upgrade-page-aside/upgrade-page-aside.component.ngfactory\";\nimport * as i11 from \"../../upgrade-page/upgrade-page-aside/upgrade-page-aside.component\";\nimport * as i12 from \"@angular/forms\";\nimport * as i13 from \"@angular/common\";\nimport * as i14 from \"../../../../../node_modules/@angular/material/button/typings/index.ngfactory\";\nimport * as i15 from \"@angular/material/button\";\nimport * as i16 from \"@angular/cdk/platform\";\nimport * as i17 from \"@angular/cdk/stepper\";\nimport * as i18 from \"@angular/material/stepper\";\nimport * as i19 from \"./select-plan-period-panel.component\";\nimport * as i20 from \"../../subscriptions/subscription-stepper-state.service\";\nvar styles_SelectPlanPeriodPanelComponent = [i0.styles];\nvar RenderType_SelectPlanPeriodPanelComponent = i1.ɵcrt({ encapsulation: 2, styles: styles_SelectPlanPeriodPanelComponent, data: {} });\nexport { RenderType_SelectPlanPeriodPanelComponent as RenderType_SelectPlanPeriodPanelComponent };\nfunction View_SelectPlanPeriodPanelComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 16, \"div\", [[\"class\", \"radio-button-wrapper\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n                \"])), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"savings-label\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(3, 4341760, null, 0, i2.TranslateDirective, [i1.ElementRef, i3.Translations, i4.Settings], null, null), (_l()(), i1.ɵted(4, null, [\"Save \", \"%\"])), (_l()(), i1.ɵted(-1, null, [\"\\n                \"])), (_l()(), i1.ɵeld(6, 0, null, null, 9, \"mat-radio-button\", [[\"class\", \"period mat-radio-button\"], [\"color\", \"primary\"]], [[2, \"mat-radio-checked\", null], [2, \"mat-radio-disabled\", null], [2, \"_mat-animation-noopable\", null], [1, \"tabindex\", 0], [1, \"id\", 0]], [[null, \"focus\"]], function (_v, en, $event) { var ad = true; if ((\"focus\" === en)) {\n        var pd_0 = (i1.ɵnov(_v, 7)._inputElement.nativeElement.focus() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, i5.View_MatRadioButton_0, i5.RenderType_MatRadioButton)), i1.ɵdid(7, 4440064, [[1, 4]], 0, i6.MatRadioButton, [[2, i6.MatRadioGroup], i1.ElementRef, i1.ChangeDetectorRef, i7.FocusMonitor, i8.UniqueSelectionDispatcher, [2, i9.ANIMATION_MODULE_TYPE]], { color: [0, \"color\"], value: [1, \"value\"] }, null), (_l()(), i1.ɵted(-1, 0, [\"\\n                    \"])), (_l()(), i1.ɵeld(9, 0, null, 0, 1, \"div\", [[\"class\", \"name\"]], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \":\"])), (_l()(), i1.ɵted(-1, 0, [\"\\n                    \"])), (_l()(), i1.ɵeld(12, 0, null, 0, 2, \"div\", [[\"class\", \"price\"]], null, null, null, null, null)), (_l()(), i1.ɵted(13, null, [\"\", \"/\", \"\"])), i1.ɵppd(14, 2), (_l()(), i1.ɵted(-1, 0, [\"\\n                \"])), (_l()(), i1.ɵted(-1, null, [\"\\n            \"]))], function (_ck, _v) { var currVal_6 = \"primary\"; var currVal_7 = _v.context.$implicit.id; _ck(_v, 7, 0, currVal_6, currVal_7); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getPlanSavings((_co.state.selectedPlan.parent || _co.state.selectedPlan), _v.context.$implicit); _ck(_v, 4, 0, currVal_0); var currVal_1 = i1.ɵnov(_v, 7).checked; var currVal_2 = i1.ɵnov(_v, 7).disabled; var currVal_3 = (i1.ɵnov(_v, 7)._animationMode === \"NoopAnimations\"); var currVal_4 = (0 - 1); var currVal_5 = i1.ɵnov(_v, 7).id; _ck(_v, 6, 0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5); var currVal_8 = _v.context.$implicit.name; _ck(_v, 10, 0, currVal_8); var currVal_9 = i1.ɵunv(_v, 13, 0, _ck(_v, 14, 0, i1.ɵnov(_v.parent.parent, 0), _co.getPlanPerMonthAmount(_v.context.$implicit), _v.context.$implicit.currency)); var currVal_10 = _co.state.initialPlan.interval; _ck(_v, 13, 0, currVal_9, currVal_10); }); }\nfunction View_SelectPlanPeriodPanelComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"upgrade-page-aside\", [[\"class\", \"right-col\"]], null, null, null, i10.View_UpgradePageAsideComponent_0, i10.RenderType_UpgradePageAsideComponent)), i1.ɵdid(1, 49152, null, 0, i11.UpgradePageAsideComponent, [], { plan: [0, \"plan\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.state.selectedPlan; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_SelectPlanPeriodPanelComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 53, \"div\", [[\"class\", \"subscription-period-step step-container\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵeld(2, 0, null, null, 47, \"div\", [[\"class\", \"left-col\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(4, 0, null, null, 2, \"div\", [[\"class\", \"title\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(5, 4341760, null, 0, i2.TranslateDirective, [i1.ElementRef, i3.Translations, i4.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"Select the duration of your plan. Longer plans offer better discounts!\"])), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(8, 0, null, null, 25, \"mat-radio-group\", [[\"class\", \"periods mat-radio-group\"], [\"role\", \"radiogroup\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngModelChange\"], [null, \"change\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"ngModelChange\" === en)) {\n        var pd_0 = ((_co.state.radioGroupModel = $event) !== false);\n        ad = (pd_0 && ad);\n    } if ((\"change\" === en)) {\n        var pd_1 = (_co.state.selectPlanById(_co.state.radioGroupModel) !== false);\n        ad = (pd_1 && ad);\n    } return ad; }, null, null)), i1.ɵdid(9, 1064960, null, 1, i6.MatRadioGroup, [i1.ChangeDetectorRef], null, { change: \"change\" }), i1.ɵqud(603979776, 1, { _radios: 1 }), i1.ɵprd(1024, null, i12.NG_VALUE_ACCESSOR, function (p0_0) { return [p0_0]; }, [i6.MatRadioGroup]), i1.ɵdid(12, 671744, null, 0, i12.NgModel, [[8, null], [8, null], [8, null], [6, i12.NG_VALUE_ACCESSOR]], { model: [0, \"model\"] }, { update: \"ngModelChange\" }), i1.ɵprd(2048, null, i12.NgControl, null, [i12.NgModel]), i1.ɵdid(14, 16384, null, 0, i12.NgControlStatus, [[4, i12.NgControl]], null, null), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(16, 0, null, null, 13, \"div\", [[\"class\", \"radio-button-wrapper no-label\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n                \"])), (_l()(), i1.ɵeld(18, 0, null, null, 10, \"mat-radio-button\", [[\"class\", \"period mat-radio-button\"], [\"color\", \"primary\"]], [[2, \"mat-radio-checked\", null], [2, \"mat-radio-disabled\", null], [2, \"_mat-animation-noopable\", null], [1, \"tabindex\", 0], [1, \"id\", 0]], [[null, \"focus\"]], function (_v, en, $event) { var ad = true; if ((\"focus\" === en)) {\n        var pd_0 = (i1.ɵnov(_v, 19)._inputElement.nativeElement.focus() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, i5.View_MatRadioButton_0, i5.RenderType_MatRadioButton)), i1.ɵdid(19, 4440064, [[1, 4]], 0, i6.MatRadioButton, [[2, i6.MatRadioGroup], i1.ElementRef, i1.ChangeDetectorRef, i7.FocusMonitor, i8.UniqueSelectionDispatcher, [2, i9.ANIMATION_MODULE_TYPE]], { color: [0, \"color\"], value: [1, \"value\"] }, null), (_l()(), i1.ɵted(-1, 0, [\"\\n                    \"])), (_l()(), i1.ɵeld(21, 0, null, 0, 2, \"div\", [[\"class\", \"name\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(22, 4341760, null, 0, i2.TranslateDirective, [i1.ElementRef, i3.Translations, i4.Settings], null, null), (_l()(), i1.ɵted(23, null, [\"1 \", \" subscription:\"])), (_l()(), i1.ɵted(-1, 0, [\"\\n                    \"])), (_l()(), i1.ɵeld(25, 0, null, 0, 2, \"div\", [[\"class\", \"price\"]], null, null, null, null, null)), (_l()(), i1.ɵted(26, null, [\"\", \"/\", \"\"])), i1.ɵppd(27, 2), (_l()(), i1.ɵted(-1, 0, [\"\\n                \"])), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SelectPlanPeriodPanelComponent_2)), i1.ɵdid(32, 278528, null, 0, i13.NgForOf, [i1.ViewContainerRef, i1.TemplateRef, i1.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n        \"])), (_l()(), i1.ɵeld(35, 0, null, null, 13, \"div\", [[\"class\", \"actions\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(37, 0, null, null, 5, \"button\", [[\"mat-button\", \"\"], [\"matStepperPrevious\", \"\"], [\"trans\", \"\"]], [[8, \"disabled\", 0], [2, \"_mat-animation-noopable\", null], [8, \"type\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; if ((\"click\" === en)) {\n        var pd_0 = (i1.ɵnov(_v, 41)._stepper.previous() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, i14.View_MatButton_0, i14.RenderType_MatButton)), i1.ɵdid(38, 4341760, null, 0, i2.TranslateDirective, [i1.ElementRef, i3.Translations, i4.Settings], null, null), i1.ɵdid(39, 180224, null, 0, i15.MatButton, [i1.ElementRef, i16.Platform, i7.FocusMonitor, [2, i9.ANIMATION_MODULE_TYPE]], null, null), i1.ɵprd(2048, null, i17.CdkStepper, null, [i18.MatStepper]), i1.ɵdid(41, 16384, null, 0, i18.MatStepperPrevious, [i17.CdkStepper], null, null), (_l()(), i1.ɵted(-1, 0, [\"Back\"])), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(44, 0, null, null, 3, \"button\", [[\"color\", \"primary\"], [\"mat-raised-button\", \"\"], [\"trans\", \"\"]], [[8, \"disabled\", 0], [2, \"_mat-animation-noopable\", null]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n        var pd_0 = (_co.selected.emit() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, i14.View_MatButton_0, i14.RenderType_MatButton)), i1.ɵdid(45, 4341760, null, 0, i2.TranslateDirective, [i1.ElementRef, i3.Translations, i4.Settings], null, null), i1.ɵdid(46, 180224, null, 0, i15.MatButton, [i1.ElementRef, i16.Platform, i7.FocusMonitor, [2, i9.ANIMATION_MODULE_TYPE]], { color: [0, \"color\"] }, null), (_l()(), i1.ɵted(-1, 0, [\"Select\"])), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n    \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SelectPlanPeriodPanelComponent_3)), i1.ɵdid(52, 16384, null, 0, i13.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\"]))], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.state.radioGroupModel; _ck(_v, 12, 0, currVal_7); var currVal_13 = \"primary\"; var currVal_14 = _co.state.initialPlan.id; _ck(_v, 19, 0, currVal_13, currVal_14); var currVal_18 = _co.state.getChildPlans(_co.state.initialPlan); _ck(_v, 32, 0, currVal_18); var currVal_24 = \"primary\"; _ck(_v, 46, 0, currVal_24); var currVal_25 = _co.showSidebar; _ck(_v, 52, 0, currVal_25); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 14).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 14).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 14).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 14).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 14).ngClassValid; var currVal_5 = i1.ɵnov(_v, 14).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 14).ngClassPending; _ck(_v, 8, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); var currVal_8 = i1.ɵnov(_v, 19).checked; var currVal_9 = i1.ɵnov(_v, 19).disabled; var currVal_10 = (i1.ɵnov(_v, 19)._animationMode === \"NoopAnimations\"); var currVal_11 = (0 - 1); var currVal_12 = i1.ɵnov(_v, 19).id; _ck(_v, 18, 0, currVal_8, currVal_9, currVal_10, currVal_11, currVal_12); var currVal_15 = _co.state.initialPlan.interval; _ck(_v, 23, 0, currVal_15); var currVal_16 = i1.ɵunv(_v, 26, 0, _ck(_v, 27, 0, i1.ɵnov(_v.parent, 0), _co.state.initialPlan.amount, _co.state.initialPlan.currency)); var currVal_17 = _co.state.initialPlan.interval; _ck(_v, 26, 0, currVal_16, currVal_17); var currVal_19 = (i1.ɵnov(_v, 39).disabled || null); var currVal_20 = (i1.ɵnov(_v, 39)._animationMode === \"NoopAnimations\"); var currVal_21 = i1.ɵnov(_v, 41).type; _ck(_v, 37, 0, currVal_19, currVal_20, currVal_21); var currVal_22 = (i1.ɵnov(_v, 46).disabled || null); var currVal_23 = (i1.ɵnov(_v, 46)._animationMode === \"NoopAnimations\"); _ck(_v, 44, 0, currVal_22, currVal_23); }); }\nexport function View_SelectPlanPeriodPanelComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i13.CurrencyPipe, [i1.LOCALE_ID]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_SelectPlanPeriodPanelComponent_1)), i1.ɵdid(2, 16384, null, 0, i13.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.state.initialPlan; _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_SelectPlanPeriodPanelComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"select-plan-period-panel\", [], null, null, null, View_SelectPlanPeriodPanelComponent_0, RenderType_SelectPlanPeriodPanelComponent)), i1.ɵdid(1, 49152, null, 0, i19.SelectPlanPeriodPanelComponent, [i20.SubscriptionStepperState], null, null)], null, null); }\nvar SelectPlanPeriodPanelComponentNgFactory = i1.ɵccf(\"select-plan-period-panel\", i19.SelectPlanPeriodPanelComponent, View_SelectPlanPeriodPanelComponent_Host_0, { showSidebar: \"showSidebar\" }, { selected: \"selected\" }, []);\nexport { SelectPlanPeriodPanelComponentNgFactory as SelectPlanPeriodPanelComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"select-plan-period-panel{display:block}@media only screen and (max-width:768px){select-plan-period-panel .subscription-period-step{display:block}select-plan-period-panel upgrade-page-aside{display:none}}select-plan-period-panel .left-col{display:flex;flex-direction:column;max-width:100%}select-plan-period-panel .actions{margin-top:auto}select-plan-period-panel .title{font-size:2.1rem;font-weight:300;margin-bottom:40px}select-plan-period-panel .periods{margin-bottom:40px}select-plan-period-panel .periods>.radio-button-wrapper{display:flex;align-items:center;margin-bottom:35px}select-plan-period-panel .periods>.radio-button-wrapper.no-label{padding-left:90px}@media only screen and (max-width:768px){select-plan-period-panel .periods>.radio-button-wrapper.no-label{padding-left:0}select-plan-period-panel .periods>.radio-button-wrapper>.savings-label{display:none}}select-plan-period-panel .periods>.radio-button-wrapper>.savings-label{width:90px;height:28px;line-height:28px;padding-left:22px;font-size:1.2rem;font-weight:500;text-transform:uppercase;background-color:#1976d2;color:#fff;position:relative}select-plan-period-panel .periods>.radio-button-wrapper>.savings-label:after{content:\\\" \\\";left:100%;top:50%;height:0;width:0;border:14px solid transparent;border-left-color:#1976d2;position:absolute;pointer-events:none;margin-top:-14px}select-plan-period-panel .periods>.radio-button-wrapper>.savings-label:before{content:\\\" \\\";left:0;top:50%;height:0;width:0;border:14px solid transparent;border-left-color:#fff;position:absolute;pointer-events:none;margin-top:-14px}select-plan-period-panel .periods>.radio-button-wrapper>.period{display:block;margin-left:30px}@media only screen and (max-width:768px){select-plan-period-panel .periods>.radio-button-wrapper>.period{margin-left:0}}select-plan-period-panel .periods>.radio-button-wrapper>.period .mat-radio-label-content{display:flex;font-size:1.5rem}select-plan-period-panel .periods>.radio-button-wrapper>.period .mat-radio-label-content>.name{font-weight:500;padding-right:5px}\"];\nexport { styles as styles };\n","<div class=\"subscription-period-step step-container\" *ngIf=\"state.initialPlan\">\r\n    <div class=\"left-col\">\r\n        <div class=\"title\" trans>Select the duration of your plan. Longer plans offer better discounts!</div>\r\n        <mat-radio-group class=\"periods\" [(ngModel)]=\"state.radioGroupModel\" (change)=\"state.selectPlanById(state.radioGroupModel)\">\r\n            <div class=\"radio-button-wrapper no-label\">\r\n                <mat-radio-button [value]=\"state.initialPlan.id\" class=\"period\" color=\"primary\">\r\n                    <div class=\"name\" trans>1 {{state.initialPlan.interval}} subscription:</div>\r\n                    <div class=\"price\">{{state.initialPlan.amount | currency:state.initialPlan.currency}}/{{state.initialPlan.interval}}</div>\r\n                </mat-radio-button>\r\n            </div>\r\n            <div class=\"radio-button-wrapper\" *ngFor=\"let plan of state.getChildPlans(state.initialPlan)\">\r\n                <div class=\"savings-label\" trans>Save {{getPlanSavings(state.selectedPlan.parent || state.selectedPlan, plan)}}%</div>\r\n                <mat-radio-button [value]=\"plan.id\" class=\"period\" color=\"primary\">\r\n                    <div class=\"name\">{{plan.name}}:</div>\r\n                    <div class=\"price\">{{getPlanPerMonthAmount(plan) | currency:plan.currency}}/{{state.initialPlan.interval}}</div>\r\n                </mat-radio-button>\r\n            </div>\r\n        </mat-radio-group>\r\n\r\n        <div class=\"actions\">\r\n            <button mat-button matStepperPrevious trans>Back</button>\r\n            <button mat-raised-button color=\"primary\" (click)=\"selected.emit()\" trans>Select</button>\r\n        </div>\r\n    </div>\r\n\r\n    <upgrade-page-aside *ngIf=\"showSidebar\" [plan]=\"state.selectedPlan\" class=\"right-col\"></upgrade-page-aside>\r\n</div>","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"@angular/material/tabs\";\nimport * as i2 from \"@angular/common\";\nimport * as i3 from \"@angular/cdk/observers\";\nimport * as i4 from \"@angular/cdk/bidi\";\nimport * as i5 from \"@angular/material/core\";\nimport * as i6 from \"@angular/platform-browser\";\nimport * as i7 from \"@angular/cdk/portal\";\nimport * as i8 from \"@angular/cdk/platform\";\nimport * as i9 from \"@angular/cdk/a11y\";\nimport * as i10 from \"@angular/platform-browser/animations\";\nimport * as i11 from \"@angular/cdk/scrolling\";\nvar MatTabsModuleNgFactory = i0.ɵcmf(i1.MatTabsModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, []], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(4608, i2.NgLocalization, i2.NgLocaleLocalization, [i0.LOCALE_ID, [2, i2.ɵangular_packages_common_common_a]]), i0.ɵmpd(4608, i3.MutationObserverFactory, i3.MutationObserverFactory, []), i0.ɵmpd(1073742336, i2.CommonModule, i2.CommonModule, []), i0.ɵmpd(1073742336, i4.BidiModule, i4.BidiModule, []), i0.ɵmpd(1073742336, i5.MatCommonModule, i5.MatCommonModule, [[2, i5.MATERIAL_SANITY_CHECKS], [2, i6.HAMMER_LOADER]]), i0.ɵmpd(1073742336, i7.PortalModule, i7.PortalModule, []), i0.ɵmpd(1073742336, i8.PlatformModule, i8.PlatformModule, []), i0.ɵmpd(1073742336, i5.MatRippleModule, i5.MatRippleModule, []), i0.ɵmpd(1073742336, i3.ObserversModule, i3.ObserversModule, []), i0.ɵmpd(1073742336, i9.A11yModule, i9.A11yModule, []), i0.ɵmpd(1073742336, i1.MatTabsModule, i1.MatTabsModule, [])]); });\nexport { MatTabsModuleNgFactory as MatTabsModuleNgFactory };\nvar styles_MatTabGroup = [\".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\"];\nvar RenderType_MatTabGroup = i0.ɵcrt({ encapsulation: 2, styles: styles_MatTabGroup, data: {} });\nexport { RenderType_MatTabGroup as RenderType_MatTabGroup };\nfunction View_MatTabGroup_3(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(0, null, null, 0))], null, null); }\nfunction View_MatTabGroup_2(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatTabGroup_3)), i0.ɵdid(1, 212992, null, 0, i7.CdkPortalOutlet, [i0.ComponentFactoryResolver, i0.ViewContainerRef], { portal: [0, \"portal\"] }, null), (_l()(), i0.ɵand(0, null, null, 0))], function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.templateLabel; _ck(_v, 1, 0, currVal_0); }, null); }\nfunction View_MatTabGroup_4(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵted(0, null, [\"\", \"\"]))], null, function (_ck, _v) { var currVal_0 = _v.parent.context.$implicit.textLabel; _ck(_v, 0, 0, currVal_0); }); }\nfunction View_MatTabGroup_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 8, \"div\", [[\"cdkMonitorElementFocus\", \"\"], [\"class\", \"mat-tab-label mat-ripple\"], [\"mat-ripple\", \"\"], [\"matTabLabelWrapper\", \"\"], [\"role\", \"tab\"]], [[8, \"id\", 0], [1, \"tabIndex\", 0], [1, \"aria-posinset\", 0], [1, \"aria-setsize\", 0], [1, \"aria-controls\", 0], [1, \"aria-selected\", 0], [1, \"aria-label\", 0], [1, \"aria-labelledby\", 0], [2, \"mat-tab-label-active\", null], [2, \"mat-ripple-unbounded\", null], [2, \"mat-tab-disabled\", null], [1, \"aria-disabled\", 0]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n        var pd_0 = (_co._handleClick(_v.context.$implicit, i0.ɵnov(_v.parent, 3), _v.context.index) !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, null, null)), i0.ɵdid(1, 212992, null, 0, i5.MatRipple, [i0.ElementRef, i0.NgZone, i8.Platform, [2, i5.MAT_RIPPLE_GLOBAL_OPTIONS], [2, i10.ANIMATION_MODULE_TYPE]], { disabled: [0, \"disabled\"] }, null), i0.ɵdid(2, 147456, null, 0, i9.CdkMonitorFocus, [i0.ElementRef, i9.FocusMonitor], null, null), i0.ɵdid(3, 16384, [[3, 4]], 0, i1.MatTabLabelWrapper, [i0.ElementRef], { disabled: [0, \"disabled\"] }, null), (_l()(), i0.ɵeld(4, 0, null, null, 4, \"div\", [[\"class\", \"mat-tab-label-content\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatTabGroup_2)), i0.ɵdid(6, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatTabGroup_4)), i0.ɵdid(8, 16384, null, 0, i2.NgIf, [i0.ViewContainerRef, i0.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_12 = (_v.context.$implicit.disabled || _co.disableRipple); _ck(_v, 1, 0, currVal_12); var currVal_13 = _v.context.$implicit.disabled; _ck(_v, 3, 0, currVal_13); var currVal_14 = _v.context.$implicit.templateLabel; _ck(_v, 6, 0, currVal_14); var currVal_15 = !_v.context.$implicit.templateLabel; _ck(_v, 8, 0, currVal_15); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co._getTabLabelId(_v.context.index); var currVal_1 = _co._getTabIndex(_v.context.$implicit, _v.context.index); var currVal_2 = (_v.context.index + 1); var currVal_3 = _co._tabs.length; var currVal_4 = _co._getTabContentId(_v.context.index); var currVal_5 = (_co.selectedIndex == _v.context.index); var currVal_6 = (_v.context.$implicit.ariaLabel || null); var currVal_7 = ((!_v.context.$implicit.ariaLabel && _v.context.$implicit.ariaLabelledby) ? _v.context.$implicit.ariaLabelledby : null); var currVal_8 = (_co.selectedIndex == _v.context.index); var currVal_9 = i0.ɵnov(_v, 1).unbounded; var currVal_10 = i0.ɵnov(_v, 3).disabled; var currVal_11 = !!i0.ɵnov(_v, 3).disabled; _ck(_v, 0, 1, [currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6, currVal_7, currVal_8, currVal_9, currVal_10, currVal_11]); }); }\nfunction View_MatTabGroup_5(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"mat-tab-body\", [[\"class\", \"mat-tab-body\"], [\"role\", \"tabpanel\"]], [[8, \"id\", 0], [1, \"aria-labelledby\", 0], [2, \"mat-tab-body-active\", null]], [[null, \"_onCentered\"], [null, \"_onCentering\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"_onCentered\" === en)) {\n        var pd_0 = (_co._removeTabBodyWrapperHeight() !== false);\n        ad = (pd_0 && ad);\n    } if ((\"_onCentering\" === en)) {\n        var pd_1 = (_co._setTabBodyWrapperHeight($event) !== false);\n        ad = (pd_1 && ad);\n    } return ad; }, View_MatTabBody_0, RenderType_MatTabBody)), i0.ɵdid(1, 245760, null, 0, i1.MatTabBody, [i0.ElementRef, [2, i4.Directionality], i0.ChangeDetectorRef], { _content: [0, \"_content\"], origin: [1, \"origin\"], animationDuration: [2, \"animationDuration\"], position: [3, \"position\"] }, { _onCentering: \"_onCentering\", _onCentered: \"_onCentered\" })], function (_ck, _v) { var _co = _v.component; var currVal_3 = _v.context.$implicit.content; var currVal_4 = _v.context.$implicit.origin; var currVal_5 = _co.animationDuration; var currVal_6 = _v.context.$implicit.position; _ck(_v, 1, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co._getTabContentId(_v.context.index); var currVal_1 = _co._getTabLabelId(_v.context.index); var currVal_2 = (_co.selectedIndex == _v.context.index); _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2); }); }\nexport function View_MatTabGroup_0(_l) { return i0.ɵvid(2, [i0.ɵqud(402653184, 1, { _tabBodyWrapper: 0 }), i0.ɵqud(402653184, 2, { _tabHeader: 0 }), (_l()(), i0.ɵeld(2, 0, null, null, 4, \"mat-tab-header\", [[\"class\", \"mat-tab-header\"]], [[2, \"mat-tab-header-pagination-controls-enabled\", null], [2, \"mat-tab-header-rtl\", null]], [[null, \"indexFocused\"], [null, \"selectFocusedIndex\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"indexFocused\" === en)) {\n        var pd_0 = (_co._focusChanged($event) !== false);\n        ad = (pd_0 && ad);\n    } if ((\"selectFocusedIndex\" === en)) {\n        var pd_1 = ((_co.selectedIndex = $event) !== false);\n        ad = (pd_1 && ad);\n    } return ad; }, View_MatTabHeader_0, RenderType_MatTabHeader)), i0.ɵdid(3, 7520256, [[2, 4], [\"tabHeader\", 4]], 1, i1.MatTabHeader, [i0.ElementRef, i0.ChangeDetectorRef, i11.ViewportRuler, [2, i4.Directionality], i0.NgZone, i8.Platform], { disableRipple: [0, \"disableRipple\"], selectedIndex: [1, \"selectedIndex\"] }, { selectFocusedIndex: \"selectFocusedIndex\", indexFocused: \"indexFocused\" }), i0.ɵqud(603979776, 3, { _labelWrappers: 1 }), (_l()(), i0.ɵand(16777216, null, 0, 1, null, View_MatTabGroup_1)), i0.ɵdid(6, 278528, null, 0, i2.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null), (_l()(), i0.ɵeld(7, 0, [[1, 0], [\"tabBodyWrapper\", 1]], null, 2, \"div\", [[\"class\", \"mat-tab-body-wrapper\"]], null, null, null, null, null)), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatTabGroup_5)), i0.ɵdid(9, 278528, null, 0, i2.NgForOf, [i0.ViewContainerRef, i0.TemplateRef, i0.IterableDiffers], { ngForOf: [0, \"ngForOf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.disableRipple; var currVal_3 = _co.selectedIndex; _ck(_v, 3, 0, currVal_2, currVal_3); var currVal_4 = _co._tabs; _ck(_v, 6, 0, currVal_4); var currVal_5 = _co._tabs; _ck(_v, 9, 0, currVal_5); }, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 3)._showPaginationControls; var currVal_1 = (i0.ɵnov(_v, 3)._getLayoutDirection() == \"rtl\"); _ck(_v, 2, 0, currVal_0, currVal_1); }); }\nexport function View_MatTabGroup_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"mat-tab-group\", [[\"class\", \"mat-tab-group\"]], [[2, \"mat-tab-group-dynamic-height\", null], [2, \"mat-tab-group-inverted-header\", null]], null, null, View_MatTabGroup_0, RenderType_MatTabGroup)), i0.ɵdid(1, 3325952, null, 1, i1.MatTabGroup, [i0.ElementRef, i0.ChangeDetectorRef, [2, i1.MAT_TABS_CONFIG]], null, null), i0.ɵqud(603979776, 1, { _tabs: 1 })], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 1).dynamicHeight; var currVal_1 = (i0.ɵnov(_v, 1).headerPosition === \"below\"); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nvar MatTabGroupNgFactory = i0.ɵccf(\"mat-tab-group\", i1.MatTabGroup, View_MatTabGroup_Host_0, { color: \"color\", disableRipple: \"disableRipple\", dynamicHeight: \"dynamicHeight\", selectedIndex: \"selectedIndex\", headerPosition: \"headerPosition\", animationDuration: \"animationDuration\", backgroundColor: \"backgroundColor\" }, { selectedIndexChange: \"selectedIndexChange\", focusChange: \"focusChange\", animationDone: \"animationDone\", selectedTabChange: \"selectedTabChange\" }, []);\nexport { MatTabGroupNgFactory as MatTabGroupNgFactory };\nvar styles_MatTabBody = [\".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\"];\nvar RenderType_MatTabBody = i0.ɵcrt({ encapsulation: 2, styles: styles_MatTabBody, data: { \"animation\": [{ type: 7, name: \"translateTab\", definitions: [{ type: 0, name: \"center, void, left-origin-center, right-origin-center\", styles: { type: 6, styles: { transform: \"none\" }, offset: null }, options: undefined }, { type: 0, name: \"left\", styles: { type: 6, styles: { transform: \"translate3d(-100%, 0, 0)\", minHeight: \"1px\" }, offset: null }, options: undefined }, { type: 0, name: \"right\", styles: { type: 6, styles: { transform: \"translate3d(100%, 0, 0)\", minHeight: \"1px\" }, offset: null }, options: undefined }, { type: 1, expr: \"* => left, * => right, left => center, right => center\", animation: { type: 4, styles: null, timings: \"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)\" }, options: null }, { type: 1, expr: \"void => left-origin-center\", animation: [{ type: 6, styles: { transform: \"translate3d(-100%, 0, 0)\" }, offset: null }, { type: 4, styles: null, timings: \"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)\" }], options: null }, { type: 1, expr: \"void => right-origin-center\", animation: [{ type: 6, styles: { transform: \"translate3d(100%, 0, 0)\" }, offset: null }, { type: 4, styles: null, timings: \"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)\" }], options: null }], options: {} }] } });\nexport { RenderType_MatTabBody as RenderType_MatTabBody };\nfunction View_MatTabBody_1(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵand(0, null, null, 0))], null, null); }\nexport function View_MatTabBody_0(_l) { return i0.ɵvid(2, [i0.ɵqud(402653184, 1, { _portalHost: 0 }), (_l()(), i0.ɵeld(1, 0, [[\"content\", 1]], null, 4, \"div\", [[\"class\", \"mat-tab-body-content\"]], [[24, \"@translateTab\", 0]], [[null, \"@translateTab.start\"], [null, \"@translateTab.done\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"@translateTab.start\" === en)) {\n        var pd_0 = (_co._onTranslateTabStarted($event) !== false);\n        ad = (pd_0 && ad);\n    } if ((\"@translateTab.done\" === en)) {\n        var pd_1 = (_co._translateTabComplete.next($event) !== false);\n        ad = (pd_1 && ad);\n    } return ad; }, null, null)), i0.ɵpod(2, { animationDuration: 0 }), i0.ɵpod(3, { value: 0, params: 1 }), (_l()(), i0.ɵand(16777216, null, null, 1, null, View_MatTabBody_1)), i0.ɵdid(5, 212992, null, 0, i1.MatTabBodyPortal, [i0.ComponentFactoryResolver, i0.ViewContainerRef, i1.MatTabBody], null, null)], function (_ck, _v) { _ck(_v, 5, 0); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _ck(_v, 3, 0, _co._position, _ck(_v, 2, 0, _co.animationDuration)); _ck(_v, 1, 0, currVal_0); }); }\nexport function View_MatTabBody_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"mat-tab-body\", [[\"class\", \"mat-tab-body\"]], null, null, null, View_MatTabBody_0, RenderType_MatTabBody)), i0.ɵdid(1, 245760, null, 0, i1.MatTabBody, [i0.ElementRef, [2, i4.Directionality], i0.ChangeDetectorRef], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar MatTabBodyNgFactory = i0.ɵccf(\"mat-tab-body\", i1.MatTabBody, View_MatTabBody_Host_0, { _content: \"content\", origin: \"origin\", animationDuration: \"animationDuration\", position: \"position\" }, { _onCentering: \"_onCentering\", _beforeCentering: \"_beforeCentering\", _afterLeavingCenter: \"_afterLeavingCenter\", _onCentered: \"_onCentered\" }, []);\nexport { MatTabBodyNgFactory as MatTabBodyNgFactory };\nvar styles_MatTabHeader = [\".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}\"];\nvar RenderType_MatTabHeader = i0.ɵcrt({ encapsulation: 2, styles: styles_MatTabHeader, data: {} });\nexport { RenderType_MatTabHeader as RenderType_MatTabHeader };\nexport function View_MatTabHeader_0(_l) { return i0.ɵvid(2, [i0.ɵqud(402653184, 1, { _inkBar: 0 }), i0.ɵqud(402653184, 2, { _tabListContainer: 0 }), i0.ɵqud(402653184, 3, { _tabList: 0 }), i0.ɵqud(402653184, 4, { _nextPaginator: 0 }), i0.ɵqud(402653184, 5, { _previousPaginator: 0 }), (_l()(), i0.ɵeld(5, 0, [[5, 0], [\"previousPaginator\", 1]], null, 2, \"div\", [[\"aria-hidden\", \"true\"], [\"class\", \"mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4 mat-ripple\"], [\"mat-ripple\", \"\"]], [[2, \"mat-tab-header-pagination-disabled\", null], [2, \"mat-ripple-unbounded\", null]], [[null, \"click\"], [null, \"mousedown\"], [null, \"touchend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n        var pd_0 = (_co._handlePaginatorClick(\"before\") !== false);\n        ad = (pd_0 && ad);\n    } if ((\"mousedown\" === en)) {\n        var pd_1 = (_co._handlePaginatorPress(\"before\") !== false);\n        ad = (pd_1 && ad);\n    } if ((\"touchend\" === en)) {\n        var pd_2 = (_co._stopInterval() !== false);\n        ad = (pd_2 && ad);\n    } return ad; }, null, null)), i0.ɵdid(6, 212992, null, 0, i5.MatRipple, [i0.ElementRef, i0.NgZone, i8.Platform, [2, i5.MAT_RIPPLE_GLOBAL_OPTIONS], [2, i10.ANIMATION_MODULE_TYPE]], { disabled: [0, \"disabled\"] }, null), (_l()(), i0.ɵeld(7, 0, null, null, 0, \"div\", [[\"class\", \"mat-tab-header-pagination-chevron\"]], null, null, null, null, null)), (_l()(), i0.ɵeld(8, 0, [[2, 0], [\"tabListContainer\", 1]], null, 6, \"div\", [[\"class\", \"mat-tab-label-container\"]], null, [[null, \"keydown\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"keydown\" === en)) {\n        var pd_0 = (_co._handleKeydown($event) !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, null, null)), (_l()(), i0.ɵeld(9, 0, [[3, 0], [\"tabList\", 1]], null, 5, \"div\", [[\"class\", \"mat-tab-list\"], [\"role\", \"tablist\"]], null, [[null, \"cdkObserveContent\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"cdkObserveContent\" === en)) {\n        var pd_0 = (_co._onContentChanges() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, null, null)), i0.ɵdid(10, 1196032, null, 0, i3.CdkObserveContent, [i3.ContentObserver, i0.ElementRef, i0.NgZone], null, { event: \"cdkObserveContent\" }), (_l()(), i0.ɵeld(11, 0, null, null, 1, \"div\", [[\"class\", \"mat-tab-labels\"]], null, null, null, null, null)), i0.ɵncd(null, 0), (_l()(), i0.ɵeld(13, 0, null, null, 1, \"mat-ink-bar\", [[\"class\", \"mat-ink-bar\"]], null, null, null, null, null)), i0.ɵdid(14, 16384, [[1, 4]], 0, i1.MatInkBar, [i0.ElementRef, i0.NgZone, i1._MAT_INK_BAR_POSITIONER], null, null), (_l()(), i0.ɵeld(15, 0, [[4, 0], [\"nextPaginator\", 1]], null, 2, \"div\", [[\"aria-hidden\", \"true\"], [\"class\", \"mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4 mat-ripple\"], [\"mat-ripple\", \"\"]], [[2, \"mat-tab-header-pagination-disabled\", null], [2, \"mat-ripple-unbounded\", null]], [[null, \"mousedown\"], [null, \"click\"], [null, \"touchend\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"mousedown\" === en)) {\n        var pd_0 = (_co._handlePaginatorPress(\"after\") !== false);\n        ad = (pd_0 && ad);\n    } if ((\"click\" === en)) {\n        var pd_1 = (_co._handlePaginatorClick(\"after\") !== false);\n        ad = (pd_1 && ad);\n    } if ((\"touchend\" === en)) {\n        var pd_2 = (_co._stopInterval() !== false);\n        ad = (pd_2 && ad);\n    } return ad; }, null, null)), i0.ɵdid(16, 212992, null, 0, i5.MatRipple, [i0.ElementRef, i0.NgZone, i8.Platform, [2, i5.MAT_RIPPLE_GLOBAL_OPTIONS], [2, i10.ANIMATION_MODULE_TYPE]], { disabled: [0, \"disabled\"] }, null), (_l()(), i0.ɵeld(17, 0, null, null, 0, \"div\", [[\"class\", \"mat-tab-header-pagination-chevron\"]], null, null, null, null, null))], function (_ck, _v) { var _co = _v.component; var currVal_2 = (_co._disableScrollBefore || _co.disableRipple); _ck(_v, 6, 0, currVal_2); var currVal_5 = (_co._disableScrollAfter || _co.disableRipple); _ck(_v, 16, 0, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co._disableScrollBefore; var currVal_1 = i0.ɵnov(_v, 6).unbounded; _ck(_v, 5, 0, currVal_0, currVal_1); var currVal_3 = _co._disableScrollAfter; var currVal_4 = i0.ɵnov(_v, 16).unbounded; _ck(_v, 15, 0, currVal_3, currVal_4); }); }\nexport function View_MatTabHeader_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"mat-tab-header\", [[\"class\", \"mat-tab-header\"]], [[2, \"mat-tab-header-pagination-controls-enabled\", null], [2, \"mat-tab-header-rtl\", null]], null, null, View_MatTabHeader_0, RenderType_MatTabHeader)), i0.ɵdid(1, 7520256, null, 1, i1.MatTabHeader, [i0.ElementRef, i0.ChangeDetectorRef, i11.ViewportRuler, [2, i4.Directionality], i0.NgZone, i8.Platform], null, null), i0.ɵqud(603979776, 1, { _labelWrappers: 1 })], null, function (_ck, _v) { var currVal_0 = i0.ɵnov(_v, 1)._showPaginationControls; var currVal_1 = (i0.ɵnov(_v, 1)._getLayoutDirection() == \"rtl\"); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nvar MatTabHeaderNgFactory = i0.ɵccf(\"mat-tab-header\", i1.MatTabHeader, View_MatTabHeader_Host_0, { disableRipple: \"disableRipple\", selectedIndex: \"selectedIndex\" }, { selectFocusedIndex: \"selectFocusedIndex\", indexFocused: \"indexFocused\" }, [\"*\"]);\nexport { MatTabHeaderNgFactory as MatTabHeaderNgFactory };\nvar styles_MatTab = [];\nvar RenderType_MatTab = i0.ɵcrt({ encapsulation: 2, styles: styles_MatTab, data: {} });\nexport { RenderType_MatTab as RenderType_MatTab };\nfunction View_MatTab_1(_l) { return i0.ɵvid(0, [i0.ɵncd(null, 0), (_l()(), i0.ɵand(0, null, null, 0))], null, null); }\nexport function View_MatTab_0(_l) { return i0.ɵvid(2, [i0.ɵqud(402653184, 1, { _implicitContent: 0 }), (_l()(), i0.ɵand(0, [[1, 2]], null, 0, null, View_MatTab_1))], null, null); }\nexport function View_MatTab_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 16777216, null, null, 3, \"mat-tab\", [], null, null, null, View_MatTab_0, RenderType_MatTab)), i0.ɵdid(1, 770048, null, 2, i1.MatTab, [i0.ViewContainerRef], null, null), i0.ɵqud(335544320, 1, { templateLabel: 0 }), i0.ɵqud(335544320, 2, { _explicitContent: 0 })], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar MatTabNgFactory = i0.ɵccf(\"mat-tab\", i1.MatTab, View_MatTab_Host_0, { disabled: \"disabled\", textLabel: \"label\", ariaLabel: \"aria-label\", ariaLabelledby: \"aria-labelledby\" }, {}, [\"*\"]);\nexport { MatTabNgFactory as MatTabNgFactory };\nvar styles_MatTabNav = [\".mat-tab-nav-bar{overflow:hidden;position:relative;flex-shrink:0}.mat-tab-links{position:relative;display:flex}[mat-align-tabs=center] .mat-tab-links{justify-content:center}[mat-align-tabs=end] .mat-tab-links{justify-content:flex-end}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:0}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-link:focus{outline:dotted 2px}}.mat-tab-link.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-link.mat-tab-disabled{opacity:.5}}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-link{opacity:1}}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media (max-width:599px){.mat-tab-link{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}\"];\nvar RenderType_MatTabNav = i0.ɵcrt({ encapsulation: 2, styles: styles_MatTabNav, data: {} });\nexport { RenderType_MatTabNav as RenderType_MatTabNav };\nexport function View_MatTabNav_0(_l) { return i0.ɵvid(2, [i0.ɵqud(402653184, 1, { _inkBar: 0 }), (_l()(), i0.ɵeld(1, 0, null, null, 4, \"div\", [[\"class\", \"mat-tab-links\"]], null, [[null, \"cdkObserveContent\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"cdkObserveContent\" === en)) {\n        var pd_0 = (_co._alignInkBar() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, null, null)), i0.ɵdid(2, 1196032, null, 0, i3.CdkObserveContent, [i3.ContentObserver, i0.ElementRef, i0.NgZone], null, { event: \"cdkObserveContent\" }), i0.ɵncd(null, 0), (_l()(), i0.ɵeld(4, 0, null, null, 1, \"mat-ink-bar\", [[\"class\", \"mat-ink-bar\"]], null, null, null, null, null)), i0.ɵdid(5, 16384, [[1, 4]], 0, i1.MatInkBar, [i0.ElementRef, i0.NgZone, i1._MAT_INK_BAR_POSITIONER], null, null)], null, null); }\nexport function View_MatTabNav_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 2, \"div\", [[\"class\", \"mat-tab-nav-bar\"], [\"mat-tab-nav-bar\", \"\"]], null, null, null, View_MatTabNav_0, RenderType_MatTabNav)), i0.ɵdid(1, 3325952, null, 1, i1.MatTabNav, [i0.ElementRef, [2, i4.Directionality], i0.NgZone, i0.ChangeDetectorRef, i11.ViewportRuler], null, null), i0.ɵqud(603979776, 1, { _tabLinks: 1 })], null, null); }\nvar MatTabNavNgFactory = i0.ɵccf(\"[mat-tab-nav-bar]\", i1.MatTabNav, View_MatTabNav_Host_0, { color: \"color\", disableRipple: \"disableRipple\", backgroundColor: \"backgroundColor\" }, {}, [\"*\"]);\nexport { MatTabNavNgFactory as MatTabNavNgFactory };\n","<mat-tab-header #tabHeader [selectedIndex]=\"selectedIndex\" [disableRipple]=\"disableRipple\" (indexFocused)=\"_focusChanged($event)\" (selectFocusedIndex)=\"selectedIndex = $event\"><div class=\"mat-tab-label\" role=\"tab\" matTabLabelWrapper mat-ripple cdkMonitorElementFocus *ngFor=\"let tab of _tabs; let i = index\" [id]=\"_getTabLabelId(i)\" [attr.tabIndex]=\"_getTabIndex(tab, i)\" [attr.aria-posinset]=\"i + 1\" [attr.aria-setsize]=\"_tabs.length\" [attr.aria-controls]=\"_getTabContentId(i)\" [attr.aria-selected]=\"selectedIndex == i\" [attr.aria-label]=\"tab.ariaLabel || null\" [attr.aria-labelledby]=\"(!tab.ariaLabel && tab.ariaLabelledby) ? tab.ariaLabelledby : null\" [class.mat-tab-label-active]=\"selectedIndex == i\" [disabled]=\"tab.disabled\" [matRippleDisabled]=\"tab.disabled || disableRipple\" (click)=\"_handleClick(tab, tabHeader, i)\"><div class=\"mat-tab-label-content\"><ng-template [ngIf]=\"tab.templateLabel\"><ng-template [cdkPortalOutlet]=\"tab.templateLabel\"></ng-template></ng-template><ng-template [ngIf]=\"!tab.templateLabel\">{{tab.textLabel}}</ng-template></div></div></mat-tab-header><div class=\"mat-tab-body-wrapper\" #tabBodyWrapper><mat-tab-body role=\"tabpanel\" *ngFor=\"let tab of _tabs; let i = index\" [id]=\"_getTabContentId(i)\" [attr.aria-labelledby]=\"_getTabLabelId(i)\" [class.mat-tab-body-active]=\"selectedIndex == i\" [content]=\"tab.content\" [position]=\"tab.position\" [origin]=\"tab.origin\" [animationDuration]=\"animationDuration\" (_onCentered)=\"_removeTabBodyWrapperHeight()\" (_onCentering)=\"_setTabBodyWrapperHeight($event)\"></mat-tab-body></div>","<div class=\"mat-tab-body-content\" #content [@translateTab]=\"{\n        value: _position,\n        params: {animationDuration: animationDuration}\n     }\" (@translateTab.start)=\"_onTranslateTabStarted($event)\" (@translateTab.done)=\"_translateTabComplete.next($event)\"><ng-template matTabBodyHost></ng-template></div>","<div class=\"mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4\" #previousPaginator aria-hidden=\"true\" mat-ripple [matRippleDisabled]=\"_disableScrollBefore || disableRipple\" [class.mat-tab-header-pagination-disabled]=\"_disableScrollBefore\" (click)=\"_handlePaginatorClick('before')\" (mousedown)=\"_handlePaginatorPress('before')\" (touchend)=\"_stopInterval()\"><div class=\"mat-tab-header-pagination-chevron\"></div></div><div class=\"mat-tab-label-container\" #tabListContainer (keydown)=\"_handleKeydown($event)\"><div class=\"mat-tab-list\" #tabList role=\"tablist\" (cdkObserveContent)=\"_onContentChanges()\"><div class=\"mat-tab-labels\"><ng-content></ng-content></div><mat-ink-bar></mat-ink-bar></div></div><div class=\"mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4\" #nextPaginator aria-hidden=\"true\" mat-ripple [matRippleDisabled]=\"_disableScrollAfter || disableRipple\" [class.mat-tab-header-pagination-disabled]=\"_disableScrollAfter\" (mousedown)=\"_handlePaginatorPress('after')\" (click)=\"_handlePaginatorClick('after')\" (touchend)=\"_stopInterval()\"><div class=\"mat-tab-header-pagination-chevron\"></div></div>","<ng-template><ng-content></ng-content></ng-template>","import {Component, ViewEncapsulation} from '@angular/core';\r\nimport {SubscriptionStepperState} from \"../../subscriptions/subscription-stepper-state.service\";\r\n\r\n@Component({\r\n    selector: 'order-summary',\r\n    templateUrl: './order-summary.component.html',\r\n    styleUrls: ['./order-summary.component.scss'],\r\n    encapsulation: ViewEncapsulation.None\r\n})\r\nexport class OrderSummaryComponent {\r\n\r\n    /**\r\n     * OrderSummaryComponent constructor.\r\n     */\r\n    constructor(public state: SubscriptionStepperState) {}\r\n}\r\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./order-summary.component.scss.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../shared/billing/full-plan-name/full-plan-name.component.ngfactory\";\nimport * as i3 from \"../../../shared/billing/full-plan-name/full-plan-name.component\";\nimport * as i4 from \"../../../core/translations/translations.service\";\nimport * as i5 from \"../../../core/translations/translate.directive\";\nimport * as i6 from \"../../../core/config/settings.service\";\nimport * as i7 from \"@angular/common\";\nimport * as i8 from \"./order-summary.component\";\nimport * as i9 from \"../../subscriptions/subscription-stepper-state.service\";\nvar styles_OrderSummaryComponent = [i0.styles];\nvar RenderType_OrderSummaryComponent = i1.ɵcrt({ encapsulation: 2, styles: styles_OrderSummaryComponent, data: {} });\nexport { RenderType_OrderSummaryComponent as RenderType_OrderSummaryComponent };\nfunction View_OrderSummaryComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 25, null, null, null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵeld(2, 0, null, null, 11, \"div\", [[\"class\", \"line\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(4, 0, null, null, 4, \"div\", [[\"class\", \"summary-left\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(6, 0, null, null, 1, \"full-plan-name\", [], null, null, null, i2.View_FullPlanNameComponent_0, i2.RenderType_FullPlanNameComponent)), i1.ɵdid(7, 49152, null, 0, i3.FullPlanNameComponent, [i4.Translations], { plan: [0, \"plan\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"div\", [[\"class\", \"summary-right\"]], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"\", \"\"])), i1.ɵppd(12, 2), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n    \"])), (_l()(), i1.ɵeld(15, 0, null, null, 9, \"div\", [[\"class\", \"line emphasis\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(17, 0, null, null, 2, \"div\", [[\"class\", \"summary-left\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(18, 4341760, null, 0, i5.TranslateDirective, [i1.ElementRef, i4.Translations, i6.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"Total\"])), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(21, 0, null, null, 2, \"div\", [[\"class\", \"summary-right\"]], null, null, null, null, null)), (_l()(), i1.ɵted(22, null, [\"\", \"\"])), i1.ɵppd(23, 2), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\"]))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.state.selectedPlan; _ck(_v, 7, 0, currVal_0); }, function (_ck, _v) { var _co = _v.component; var currVal_1 = i1.ɵunv(_v, 11, 0, _ck(_v, 12, 0, i1.ɵnov(_v.parent, 0), _co.state.selectedPlan.amount, _co.state.selectedPlan.currency)); _ck(_v, 11, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 22, 0, _ck(_v, 23, 0, i1.ɵnov(_v.parent, 0), _co.state.selectedPlan.amount, _co.state.selectedPlan.currency)); _ck(_v, 22, 0, currVal_2); }); }\nexport function View_OrderSummaryComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i7.CurrencyPipe, [i1.LOCALE_ID]), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_OrderSummaryComponent_1)), i1.ɵdid(2, 16384, null, 0, i7.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null)], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.state.selectedPlan; _ck(_v, 2, 0, currVal_0); }, null); }\nexport function View_OrderSummaryComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"order-summary\", [], null, null, null, View_OrderSummaryComponent_0, RenderType_OrderSummaryComponent)), i1.ɵdid(1, 49152, null, 0, i8.OrderSummaryComponent, [i9.SubscriptionStepperState], null, null)], null, null); }\nvar OrderSummaryComponentNgFactory = i1.ɵccf(\"order-summary\", i8.OrderSummaryComponent, View_OrderSummaryComponent_Host_0, {}, {}, []);\nexport { OrderSummaryComponentNgFactory as OrderSummaryComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"order-summary{display:block;margin:45px 0 35px;border-top:1px solid #e0e0e0;border-bottom:1px solid #e0e0e0}order-summary:empty{display:none}order-summary .line{display:flex;padding:15px 0;font-size:1.5rem}order-summary .line .summary-right{margin-left:auto}order-summary .emphasis{font-weight:500;border-top:1px solid #e0e0e0}\"];\nexport { styles as styles };\n","<ng-container *ngIf=\"state.selectedPlan\">\r\n    <div class=\"line\">\r\n        <div class=\"summary-left\">\r\n            <full-plan-name [plan]=\"state.selectedPlan\"></full-plan-name>\r\n        </div>\r\n        <div class=\"summary-right\">{{state.selectedPlan.amount | currency:state.selectedPlan.currency}}</div>\r\n    </div>\r\n\r\n    <div class=\"line emphasis\">\r\n        <div class=\"summary-left\" trans>Total</div>\r\n        <div class=\"summary-right\">{{state.selectedPlan.amount | currency:state.selectedPlan.currency}}</div>\r\n    </div>\r\n</ng-container>","import { AfterViewInit, Component, EventEmitter, Input, NgZone, OnDestroy, Output, ViewEncapsulation } from '@angular/core';\r\nimport {finalize} from 'rxjs/operators';\r\nimport {User} from '../../core/types/models/User';\r\nimport {Settings} from '../../core/config/settings.service';\r\nimport {LazyLoaderService} from '../../core/utils/lazy-loader.service';\r\nimport {CurrentUser} from '../../auth/current-user';\r\nimport { Subscriptions } from '../../shared/billing/subscriptions.service';\r\nimport { Toast } from '../../core/ui/toast.service';\r\n\r\n@Component({\r\n    selector: 'credit-card-form',\r\n    templateUrl: './credit-card-form.component.html',\r\n    styleUrls: ['./credit-card-form.component.scss'],\r\n    encapsulation: ViewEncapsulation.None\r\n})\r\nexport class CreditCardFormComponent implements OnDestroy, AfterViewInit {\r\n\r\n    /**\r\n     * Event fired when form is submitted and card is added successfully on active gateway.\r\n     */\r\n    @Output() created: EventEmitter<User> = new EventEmitter();\r\n\r\n    /**\r\n     * Display text for form submit button.\r\n     */\r\n    @Input() submitButtonText = 'Submit';\r\n\r\n    /**\r\n     * Whether form submit button should be shown.\r\n     */\r\n    @Input() showSubmitButton = true;\r\n\r\n    /**\r\n     * Whether order summary should be shown in the template.\r\n     */\r\n    @Input() showOrderSummary = false;\r\n\r\n    /**\r\n     * Whether backend request is in progress.\r\n     */\r\n    public loading = false;\r\n\r\n    /**\r\n     * Errors returned from backend.\r\n     */\r\n    public error: string;\r\n\r\n    /**\r\n     * Mounted stripe elements.\r\n     */\r\n    private stripeElements: stripe.elements.Element[] = [];\r\n\r\n    /**\r\n     * Stripe.js instance.\r\n     */\r\n    private stripe: stripe.Stripe;\r\n\r\n    /**\r\n     * CreditCardFormComponent Constructor.\r\n     */\r\n    constructor(\r\n        private subscriptions: Subscriptions,\r\n        private currentUser: CurrentUser,\r\n        private settings: Settings,\r\n        private zone: NgZone,\r\n        private lazyLoader: LazyLoaderService,\r\n        private toast: Toast,\r\n    ) {\r\n        this.resetForm();\r\n    }\r\n\r\n    ngAfterViewInit() {\r\n        this.initStripe();\r\n    }\r\n\r\n    ngOnDestroy() {\r\n        this.destroyStripe();\r\n    }\r\n\r\n    /**\r\n     * Submit stripe elements credit card form.\r\n     */\r\n    public async submitForm() {\r\n        // prevent all subscriptions on demo site.\r\n        if (this.settings.get('common.site.demo')) {\r\n            return this.toast.open('You can\\'t do that on demo site.');\r\n        }\r\n\r\n        this.loading = true;\r\n\r\n        const {token, error} = await this.stripe.createToken(this.stripeElements[0]);\r\n\r\n        if (error) {\r\n            this.error = error.message;\r\n            this.loading = false;\r\n        } else {\r\n            this.addCardToUser(token);\r\n        }\r\n    }\r\n\r\n    public addCardToUser(stripeToken: stripe.Token) {\r\n        this.loading = true;\r\n\r\n        this.subscriptions.addCard(stripeToken.id)\r\n            .pipe(finalize(() => this.loading = false))\r\n            .subscribe(response => {\r\n                this.resetForm();\r\n                this.currentUser.assignCurrent(response.user);\r\n                this.created.emit(response.user);\r\n            }, response => {\r\n                this.error = response.messages.general;\r\n            });\r\n    }\r\n\r\n    /**\r\n     * Initiate stripe elements credit card form.\r\n     */\r\n    private initStripe() {\r\n        this.lazyLoader.loadScript('https://js.stripe.com/v3').then(() => {\r\n            const fields = ['cardNumber', 'cardExpiry', 'cardCvc'] as stripe.elements.elementsType[];\r\n            this.stripe = Stripe(this.settings.get('billing.stripe_public_key'));\r\n            const elements = this.stripe.elements();\r\n\r\n            fields.forEach(field => {\r\n                const el = elements.create(field, {classes: {base: 'base'}});\r\n                el.mount('#' + field);\r\n                el.on('change', this.onChange.bind(this));\r\n                this.stripeElements.push(el);\r\n            });\r\n        });\r\n    }\r\n\r\n    /**\r\n     * Destroy all stripe elements instances.\r\n     */\r\n    private destroyStripe() {\r\n        this.stripeElements.forEach(el => {\r\n            el.unmount();\r\n            el.destroy();\r\n        });\r\n    }\r\n\r\n    /**\r\n     * Fired on stripe element \"change\" event.\r\n     */\r\n    private onChange(change: stripe.elements.ElementChangeResponse) {\r\n        this.zone.run(() => {\r\n            this.error = change.error ? change.error.message : null;\r\n        });\r\n    }\r\n\r\n    /**\r\n     * Reset credit card form.\r\n     */\r\n    private resetForm() {\r\n        this.error = null;\r\n    }\r\n}\r\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n    return new (P || (P = Promise))(function (resolve, reject) {\n        function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n        function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n        function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\n        step((generator = generator.apply(thisArg, _arguments || [])).next());\n    });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n    var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n    return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n    function verb(n) { return function (v) { return step([n, v]); }; }\n    function step(op) {\n        if (f) throw new TypeError(\"Generator is already executing.\");\n        while (_) try {\n            if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n            if (y = 0, t) op = [op[0] & 2, t.value];\n            switch (op[0]) {\n                case 0: case 1: t = op; break;\n                case 4: _.label++; return { value: op[1], done: false };\n                case 5: _.label++; y = op[1]; op = [0]; continue;\n                case 7: op = _.ops.pop(); _.trys.pop(); continue;\n                default:\n                    if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n                    if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n                    if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n                    if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n                    if (t[2]) _.ops.pop();\n                    _.trys.pop(); continue;\n            }\n            op = body.call(thisArg, _);\n        } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n        if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n    }\n};\nimport { AfterViewInit, EventEmitter, NgZone, OnDestroy } from '@angular/core';\nimport { finalize } from 'rxjs/operators';\nimport { Settings } from '../../core/config/settings.service';\nimport { LazyLoaderService } from '../../core/utils/lazy-loader.service';\nimport { CurrentUser } from '../../auth/current-user';\nimport { Subscriptions } from '../../shared/billing/subscriptions.service';\nimport { Toast } from '../../core/ui/toast.service';\nvar CreditCardFormComponent = /** @class */ (function () {\n    /**\n     * CreditCardFormComponent Constructor.\n     */\n    function CreditCardFormComponent(subscriptions, currentUser, settings, zone, lazyLoader, toast) {\n        this.subscriptions = subscriptions;\n        this.currentUser = currentUser;\n        this.settings = settings;\n        this.zone = zone;\n        this.lazyLoader = lazyLoader;\n        this.toast = toast;\n        /**\n         * Event fired when form is submitted and card is added successfully on active gateway.\n         */\n        this.created = new EventEmitter();\n        /**\n         * Display text for form submit button.\n         */\n        this.submitButtonText = 'Submit';\n        /**\n         * Whether form submit button should be shown.\n         */\n        this.showSubmitButton = true;\n        /**\n         * Whether order summary should be shown in the template.\n         */\n        this.showOrderSummary = false;\n        /**\n         * Whether backend request is in progress.\n         */\n        this.loading = false;\n        /**\n         * Mounted stripe elements.\n         */\n        this.stripeElements = [];\n        this.resetForm();\n    }\n    CreditCardFormComponent.prototype.ngAfterViewInit = function () {\n        this.initStripe();\n    };\n    CreditCardFormComponent.prototype.ngOnDestroy = function () {\n        this.destroyStripe();\n    };\n    /**\n     * Submit stripe elements credit card form.\n     */\n    CreditCardFormComponent.prototype.submitForm = function () {\n        return __awaiter(this, void 0, void 0, function () {\n            var _a, token, error;\n            return __generator(this, function (_b) {\n                switch (_b.label) {\n                    case 0:\n                        // prevent all subscriptions on demo site.\n                        if (this.settings.get('common.site.demo')) {\n                            return [2 /*return*/, this.toast.open('You can\\'t do that on demo site.')];\n                        }\n                        this.loading = true;\n                        return [4 /*yield*/, this.stripe.createToken(this.stripeElements[0])];\n                    case 1:\n                        _a = _b.sent(), token = _a.token, error = _a.error;\n                        if (error) {\n                            this.error = error.message;\n                            this.loading = false;\n                        }\n                        else {\n                            this.addCardToUser(token);\n                        }\n                        return [2 /*return*/];\n                }\n            });\n        });\n    };\n    CreditCardFormComponent.prototype.addCardToUser = function (stripeToken) {\n        var _this = this;\n        this.loading = true;\n        this.subscriptions.addCard(stripeToken.id)\n            .pipe(finalize(function () { return _this.loading = false; }))\n            .subscribe(function (response) {\n            _this.resetForm();\n            _this.currentUser.assignCurrent(response.user);\n            _this.created.emit(response.user);\n        }, function (response) {\n            _this.error = response.messages.general;\n        });\n    };\n    /**\n     * Initiate stripe elements credit card form.\n     */\n    CreditCardFormComponent.prototype.initStripe = function () {\n        var _this = this;\n        this.lazyLoader.loadScript('https://js.stripe.com/v3').then(function () {\n            var fields = ['cardNumber', 'cardExpiry', 'cardCvc'];\n            _this.stripe = Stripe(_this.settings.get('billing.stripe_public_key'));\n            var elements = _this.stripe.elements();\n            fields.forEach(function (field) {\n                var el = elements.create(field, { classes: { base: 'base' } });\n                el.mount('#' + field);\n                el.on('change', _this.onChange.bind(_this));\n                _this.stripeElements.push(el);\n            });\n        });\n    };\n    /**\n     * Destroy all stripe elements instances.\n     */\n    CreditCardFormComponent.prototype.destroyStripe = function () {\n        this.stripeElements.forEach(function (el) {\n            el.unmount();\n            el.destroy();\n        });\n    };\n    /**\n     * Fired on stripe element \"change\" event.\n     */\n    CreditCardFormComponent.prototype.onChange = function (change) {\n        var _this = this;\n        this.zone.run(function () {\n            _this.error = change.error ? change.error.message : null;\n        });\n    };\n    /**\n     * Reset credit card form.\n     */\n    CreditCardFormComponent.prototype.resetForm = function () {\n        this.error = null;\n    };\n    return CreditCardFormComponent;\n}());\nexport { CreditCardFormComponent };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./credit-card-form.component.scss.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../upgrade-page/order-summary/order-summary.component.ngfactory\";\nimport * as i3 from \"../upgrade-page/order-summary/order-summary.component\";\nimport * as i4 from \"../subscriptions/subscription-stepper-state.service\";\nimport * as i5 from \"../../../../node_modules/@angular/material/button/typings/index.ngfactory\";\nimport * as i6 from \"@angular/material/button\";\nimport * as i7 from \"@angular/cdk/platform\";\nimport * as i8 from \"@angular/cdk/a11y\";\nimport * as i9 from \"@angular/platform-browser/animations\";\nimport * as i10 from \"@angular/forms\";\nimport * as i11 from \"../../core/translations/translate.directive\";\nimport * as i12 from \"../../core/translations/translations.service\";\nimport * as i13 from \"../../core/config/settings.service\";\nimport * as i14 from \"@angular/common\";\nimport * as i15 from \"./credit-card-form.component\";\nimport * as i16 from \"../../shared/billing/subscriptions.service\";\nimport * as i17 from \"../../auth/current-user\";\nimport * as i18 from \"../../core/utils/lazy-loader.service\";\nimport * as i19 from \"../../core/ui/toast.service\";\nvar styles_CreditCardFormComponent = [i0.styles];\nvar RenderType_CreditCardFormComponent = i1.ɵcrt({ encapsulation: 2, styles: styles_CreditCardFormComponent, data: {} });\nexport { RenderType_CreditCardFormComponent as RenderType_CreditCardFormComponent };\nfunction View_CreditCardFormComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"div\", [[\"class\", \"error margin-bottom\"], [\"role\", \"alert\"]], null, null, null, null, null)), (_l()(), i1.ɵted(1, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.error; _ck(_v, 1, 0, currVal_0); }); }\nfunction View_CreditCardFormComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"order-summary\", [], null, null, null, i2.View_OrderSummaryComponent_0, i2.RenderType_OrderSummaryComponent)), i1.ɵdid(1, 49152, null, 0, i3.OrderSummaryComponent, [i4.SubscriptionStepperState], null, null)], null, null); }\nfunction View_CreditCardFormComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"button\", [[\"color\", \"primary\"], [\"mat-raised-button\", \"\"], [\"type\", \"submit\"]], [[8, \"disabled\", 0], [2, \"_mat-animation-noopable\", null]], null, null, i5.View_MatButton_0, i5.RenderType_MatButton)), i1.ɵdid(1, 180224, null, 0, i6.MatButton, [i1.ElementRef, i7.Platform, i8.FocusMonitor, [2, i9.ANIMATION_MODULE_TYPE]], { disabled: [0, \"disabled\"], color: [1, \"color\"] }, null), (_l()(), i1.ɵted(2, 0, [\"\", \"\"]))], function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.loading; var currVal_3 = \"primary\"; _ck(_v, 1, 0, currVal_2, currVal_3); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = (i1.ɵnov(_v, 1).disabled || null); var currVal_1 = (i1.ɵnov(_v, 1)._animationMode === \"NoopAnimations\"); _ck(_v, 0, 0, currVal_0, currVal_1); var currVal_4 = _co.submitButtonText; _ck(_v, 2, 0, currVal_4); }); }\nexport function View_CreditCardFormComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 40, \"form\", [[\"class\", \"card-form many-inputs\"], [\"ngNativeValidate\", \"\"]], [[2, \"ng-untouched\", null], [2, \"ng-touched\", null], [2, \"ng-pristine\", null], [2, \"ng-dirty\", null], [2, \"ng-valid\", null], [2, \"ng-invalid\", null], [2, \"ng-pending\", null]], [[null, \"ngSubmit\"], [null, \"submit\"], [null, \"reset\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"submit\" === en)) {\n        var pd_0 = (i1.ɵnov(_v, 1).onSubmit($event) !== false);\n        ad = (pd_0 && ad);\n    } if ((\"reset\" === en)) {\n        var pd_1 = (i1.ɵnov(_v, 1).onReset() !== false);\n        ad = (pd_1 && ad);\n    } if ((\"ngSubmit\" === en)) {\n        var pd_2 = (_co.submitForm() !== false);\n        ad = (pd_2 && ad);\n    } return ad; }, null, null)), i1.ɵdid(1, 4210688, null, 0, i10.NgForm, [[8, null], [8, null]], null, { ngSubmit: \"ngSubmit\" }), i1.ɵprd(2048, null, i10.ControlContainer, null, [i10.NgForm]), i1.ɵdid(3, 16384, null, 0, i10.NgControlStatusGroup, [[4, i10.ControlContainer]], null, null), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵeld(5, 0, null, null, 7, \"div\", [[\"class\", \"input-container\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"label\", [[\"for\", \"cardNumber\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(8, 4341760, null, 0, i11.TranslateDirective, [i1.ElementRef, i12.Translations, i13.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"Credit or Debit Card\"])), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(11, 0, null, null, 0, \"div\", [[\"class\", \"fake-input\"], [\"id\", \"cardNumber\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n    \"])), (_l()(), i1.ɵeld(14, 0, null, null, 7, \"div\", [[\"class\", \"input-container\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(16, 0, null, null, 2, \"label\", [[\"for\", \"cardExpiry\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(17, 4341760, null, 0, i11.TranslateDirective, [i1.ElementRef, i12.Translations, i13.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"Card Expiration\"])), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(20, 0, null, null, 0, \"div\", [[\"class\", \"fake-input\"], [\"id\", \"cardExpiry\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n    \"])), (_l()(), i1.ɵeld(23, 0, null, null, 7, \"div\", [[\"class\", \"input-container\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(25, 0, null, null, 2, \"label\", [[\"for\", \"cardCvc\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(26, 4341760, null, 0, i11.TranslateDirective, [i1.ElementRef, i12.Translations, i13.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"CVC\"])), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(29, 0, null, null, 0, \"div\", [[\"class\", \"fake-input\"], [\"id\", \"cardCvc\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n    \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CreditCardFormComponent_1)), i1.ɵdid(33, 16384, null, 0, i14.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\\n    \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CreditCardFormComponent_2)), i1.ɵdid(36, 16384, null, 0, i14.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\\n    \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CreditCardFormComponent_3)), i1.ɵdid(39, 16384, null, 0, i14.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\"]))], function (_ck, _v) { var _co = _v.component; var currVal_7 = _co.error; _ck(_v, 33, 0, currVal_7); var currVal_8 = _co.showOrderSummary; _ck(_v, 36, 0, currVal_8); var currVal_9 = _co.showSubmitButton; _ck(_v, 39, 0, currVal_9); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 3).ngClassUntouched; var currVal_1 = i1.ɵnov(_v, 3).ngClassTouched; var currVal_2 = i1.ɵnov(_v, 3).ngClassPristine; var currVal_3 = i1.ɵnov(_v, 3).ngClassDirty; var currVal_4 = i1.ɵnov(_v, 3).ngClassValid; var currVal_5 = i1.ɵnov(_v, 3).ngClassInvalid; var currVal_6 = i1.ɵnov(_v, 3).ngClassPending; _ck(_v, 0, 0, currVal_0, currVal_1, currVal_2, currVal_3, currVal_4, currVal_5, currVal_6); }); }\nexport function View_CreditCardFormComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"credit-card-form\", [], null, null, null, View_CreditCardFormComponent_0, RenderType_CreditCardFormComponent)), i1.ɵdid(1, 4374528, null, 0, i15.CreditCardFormComponent, [i16.Subscriptions, i17.CurrentUser, i13.Settings, i1.NgZone, i18.LazyLoaderService, i19.Toast], null, null)], null, null); }\nvar CreditCardFormComponentNgFactory = i1.ɵccf(\"credit-card-form\", i15.CreditCardFormComponent, View_CreditCardFormComponent_Host_0, { submitButtonText: \"submitButtonText\", showSubmitButton: \"showSubmitButton\", showOrderSummary: \"showOrderSummary\" }, { created: \"created\" }, []);\nexport { CreditCardFormComponentNgFactory as CreditCardFormComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"credit-card-form{display:block;position:relative}credit-card-form .input-container{max-width:400px}credit-card-form .input-container .fake-input,credit-card-form .input-container input,credit-card-form .input-container select{border-radius:4px;height:46px;padding:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}credit-card-form .expiration-date{display:flex;border:none;padding:0;margin:0}credit-card-form .expiration-date>select{display:block;flex:1 1 auto;width:initial}credit-card-form .expiration-date>.expiration-month{margin-right:10px}credit-card-form button[type=submit]{margin-bottom:5px}\"];\nexport { styles as styles };\n","<form (ngSubmit)=\"submitForm()\" class=\"card-form many-inputs\" ngNativeValidate>\r\n    <div class=\"input-container\">\r\n        <label for=\"cardNumber\" trans>Credit or Debit Card</label>\r\n        <div id=\"cardNumber\" class=\"fake-input\"></div>\r\n    </div>\r\n\r\n    <div class=\"input-container\">\r\n        <label for=\"cardExpiry\" trans>Card Expiration</label>\r\n        <div id=\"cardExpiry\" class=\"fake-input\"></div>\r\n    </div>\r\n\r\n    <div class=\"input-container\">\r\n        <label for=\"cardCvc\" trans>CVC</label>\r\n        <div id=\"cardCvc\" class=\"fake-input\"></div>\r\n    </div>\r\n\r\n    <div class=\"error margin-bottom\" role=\"alert\" *ngIf=\"error\">{{error}}</div>\r\n\r\n    <order-summary *ngIf=\"showOrderSummary\"></order-summary>\r\n\r\n    <button type=\"submit\" *ngIf=\"showSubmitButton\" mat-raised-button color=\"primary\" [disabled]=\"loading\">{{submitButtonText}}</button>\r\n</form>","import {Component, EventEmitter, Input, Output, ViewEncapsulation} from '@angular/core';\r\nimport {CreditCard} from '../../upgrade-page/upgrade-page.component';\r\nimport {PaypalSubscriptions} from '../paypal-subscriptions';\r\nimport {CurrentUser} from '../../../auth/current-user';\r\nimport {Toast} from '../../../core/ui/toast.service';\r\nimport {Settings} from '../../../core/config/settings.service';\r\nimport {User} from '../../../core/types/models/User';\r\nimport { Subscription } from '../../../shared/billing/models/subscription';\r\nimport { Plan } from '../../../shared/billing/models/plan';\r\nimport { Subscriptions } from '../../../shared/billing/subscriptions.service';\r\n\r\n@Component({\r\n    selector: 'create-subscription-panel',\r\n    templateUrl: './create-subscription-panel.component.html',\r\n    styleUrls: ['./create-subscription-panel.component.scss'],\r\n    encapsulation: ViewEncapsulation.None\r\n})\r\nexport class CreateSubscriptionPanelComponent {\r\n\r\n    /**\r\n     * Whether subscription creation is in progress.\r\n     */\r\n    public _loading = false;\r\n\r\n    /**\r\n     * Fired when subscription creation starts or ends.\r\n     */\r\n    @Output() loading: EventEmitter<boolean> = new EventEmitter();\r\n\r\n    /**\r\n     * Text for submit purchase button.\r\n     */\r\n    @Input() submitText = 'Submit Purchase';\r\n\r\n    /**\r\n     * Whether paypal tab should be disabled.\r\n     */\r\n    @Input() disablePaypalTab = false;\r\n\r\n    /**\r\n     * We're changing user subscription from this one.\r\n     * Used for prorating the new subscription start date.\r\n     */\r\n    @Input() from: Subscription;\r\n\r\n    /**\r\n     * Plan user should be subscribed to.\r\n     */\r\n    @Input() plan: Plan;\r\n\r\n    /**\r\n     * Fired when subscription is created or updated.\r\n     */\r\n    @Output() completed: EventEmitter<SubscriptionCompletedEvent> = new EventEmitter();\r\n\r\n    /**\r\n     * Errors returned from backend.\r\n     */\r\n    public errors: object = {};\r\n\r\n    /**\r\n     * CreateSubscriptionTabsComponent constructor.\r\n     */\r\n    constructor(\r\n        private subscriptions: Subscriptions,\r\n        private currentUser: CurrentUser,\r\n        private paypal: PaypalSubscriptions,\r\n        private toast: Toast,\r\n        public settings: Settings,\r\n    ) {}\r\n\r\n    /**\r\n     * Subscribe user to current plan on stripe gateway.\r\n     */\r\n    public subscribeOnStripe() {\r\n        // if user is already subscribed to this plan, fire \"updated\" event and bail\r\n        if (this.currentUser.getSubscription({gateway: 'stripe', planId: this.plan.id})) {\r\n            return this.completed.emit({status: 'updated'});\r\n        }\r\n\r\n        this.startLoading();\r\n\r\n        this.subscriptions.createOnStripe(this.getNewSubscriptionPayload())\r\n            .subscribe(response => {\r\n                this.completeSubscription(response.user);\r\n            }, response => {\r\n                this.errors = response.messages;\r\n                this.stopLoading();\r\n            });\r\n    }\r\n\r\n    /**\r\n     * Subscribe user to current plan on paypal gateway.\r\n     */\r\n    public subscribeOnPaypal() {\r\n        // prevent all subscriptions on demo site.\r\n        if (this.settings.get('common.site.demo')) {\r\n            return this.toast.open('You can\\'t do that on demo site.');\r\n        }\r\n\r\n        // if user is already subscribed to this plan, fire \"updated\" event and bail\r\n        if (this.currentUser.getSubscription({gateway: 'paypal', planId: this.plan.id})) {\r\n            return this.completed.emit({status: 'updated'});\r\n        }\r\n\r\n        this.startLoading();\r\n\r\n        this.paypal.subscribe(this.getNewSubscriptionPayload()).then(user => {\r\n            this.completeSubscription(user);\r\n        }).catch(message => {\r\n            this.stopLoading();\r\n            this.toast.open(message || 'There was an issue. Please try again later.');\r\n        });\r\n    }\r\n\r\n    /**\r\n     * Get payload for backend for creating a new subscription.\r\n     */\r\n    private getNewSubscriptionPayload(): NewSubscriptionPayload {\r\n       const payload = {plan_id: this.plan.id};\r\n\r\n       if (this.from) {\r\n           payload['start_date'] = this.from.renews_at;\r\n       }\r\n\r\n       return payload;\r\n    }\r\n\r\n    /**\r\n     * Complete subscription creation.\r\n     */\r\n    private completeSubscription(user: User) {\r\n        this._loading = false;\r\n        this.currentUser.assignCurrent(user);\r\n        this.completed.emit({status: 'created'});\r\n    }\r\n\r\n    /**\r\n     * Mark component as loading.\r\n     */\r\n    private startLoading() {\r\n        this._loading = true;\r\n        this.loading.emit(true);\r\n    }\r\n\r\n    /**\r\n     * Mark component as not loading.\r\n     */\r\n    private stopLoading() {\r\n        this._loading = false;\r\n        this.loading.emit(false);\r\n    }\r\n}\r\n\r\nexport interface SubscriptionCompletedEvent {\r\n    status: 'created'|'updated';\r\n}\r\n\r\ninterface NewSubscriptionPayload {\r\n    card?: CreditCard;\r\n    start_date?: string;\r\n    plan_id: number;\r\n}\r\n","import {Injectable} from '@angular/core';\r\nimport {Observable} from 'rxjs';\r\nimport {AppHttpClient} from '../../core/http/app-http-client.service';\r\nimport {Settings} from '../../core/config/settings.service';\r\nimport {User} from '../../core/types/models/User';\r\nimport { finalize } from 'rxjs/operators';\r\nimport { Subscriptions } from '../../shared/billing/subscriptions.service';\r\nimport { Subscription } from '../../shared/billing/models/subscription';\r\nimport { Plan } from '../../shared/billing/models/plan';\r\n\r\n@Injectable()\r\nexport class PaypalSubscriptions {\r\n    private popupWidth = 450;\r\n    private popupHeight = 650;\r\n\r\n    /**\r\n     * Params for popup window.\r\n     */\r\n    private popupParams = {\r\n        menubar: 0,\r\n        location: 0,\r\n        locationbar: 0,\r\n        toolbar: 0,\r\n        titlebar: 0,\r\n        status: 0,\r\n        scrollbars: 1,\r\n        width: this.popupWidth,\r\n        height: this.popupHeight\r\n    };\r\n\r\n    // TODO: clean this up with rxjs or checkout.js\r\n    private resolveSubscribe: Function;\r\n    private rejectSubscribe: Function;\r\n    private subscriptionPending = false;\r\n    private executingAgreement = false;\r\n\r\n    constructor(\r\n        private http: AppHttpClient,\r\n        private settings: Settings,\r\n        private subscriptions: Subscriptions,\r\n    ) {}\r\n\r\n    /**\r\n     * Subscribe to specified plan on paypal.\r\n     */\r\n    public subscribe(params: {plan_id: number, start_date?: string}): Promise<User> {\r\n        this.subscriptionPending = true;\r\n\r\n        const popup = this.openPaypalPopup(this.settings.getBaseUrl(true) + 'billing/paypal/loading');\r\n\r\n        return new Promise((resolve, reject) => {\r\n            this.rejectSubscribe = reject;\r\n            this.resolveSubscribe = resolve;\r\n\r\n            this.createPaypalAgreement(params).subscribe(response => {\r\n                this.listenForMessages(params.plan_id);\r\n                popup.location.href = response.urls.approve;\r\n            }, () => this.rejectSubscriptionPromise());\r\n        });\r\n    }\r\n\r\n    /**\r\n     * Change plan of subscription to specified one.\r\n     */\r\n    public changePlan(subscription: Subscription, plan: Plan): Promise<User> {\r\n        return new Promise(resolve => {\r\n            this.subscriptions.cancel(subscription.id, {delete: true}).subscribe(() => {\r\n                this.subscribe({plan_id: plan.id, start_date: subscription.renews_at}).then(user => resolve(user));\r\n            });\r\n        });\r\n    }\r\n\r\n    /**\r\n     * Listen for messages from paypal window and execute paypal agreement.\r\n     */\r\n    private listenForMessages(planId: number) {\r\n        window.addEventListener('message', e => {\r\n            if (this.settings.getBaseUrl().indexOf(e.origin) === -1) return;\r\n\r\n            // user cancelled payment on paypal popup manually\r\n            if (e.data.status !== 'success') {\r\n                return this.rejectSubscriptionPromise();\r\n            }\r\n\r\n            // user approved payment\r\n            this.executingAgreement = true;\r\n            this.executePaypalAgreement(e.data.token, planId)\r\n                .pipe(finalize(() => this.executingAgreement = false))\r\n                .subscribe(\r\n                    response => this.resolveSubscriptionPromise(response.user),\r\n                    errorResponse => this.rejectSubscriptionPromise(),\r\n                );\r\n        }, false);\r\n    }\r\n\r\n    /**\r\n     * Open new paypal express popup window.\r\n     */\r\n    private openPaypalPopup(url: string) {\r\n        const params = Object.assign({}, this.popupParams, {\r\n            left: (screen.width / 2) - (this.popupWidth / 2),\r\n            top: (screen.height / 2) - (this.popupHeight / 2)\r\n        });\r\n\r\n        const newWindow = window.open(\r\n            url,\r\n            'PayPal',\r\n            Object.keys(params).map(key => key + '=' + params[key]).join(', '),\r\n        );\r\n\r\n        const interval = setInterval(() => {\r\n            if (newWindow == null || newWindow.closed) {\r\n                window.clearInterval(interval);\r\n\r\n                if (this.subscriptionPending && ! this.executingAgreement) {\r\n                    this.rejectSubscriptionPromise();\r\n                }\r\n            }\r\n        }, 1000);\r\n\r\n        return newWindow;\r\n    }\r\n\r\n    private createPaypalAgreement(params: {plan_id: number, start_date?: string}): Observable<{urls: {execute: string, approve: string}}> {\r\n        return this.http.post('billing/subscriptions/paypal/agreement/create', {plan_id: params.plan_id, start_date: params.start_date});\r\n    }\r\n\r\n    private executePaypalAgreement(agreement_id: string, plan_id: number): Observable<{user: User}> {\r\n        return this.http.post('billing/subscriptions/paypal/agreement/execute', {agreement_id, plan_id});\r\n    }\r\n\r\n    /**\r\n     * Reject subscription promise.\r\n     */\r\n    private rejectSubscriptionPromise() {\r\n        this.rejectSubscribe('Payment failed. Please try again later.');\r\n        this.subscriptionPending = false;\r\n    }\r\n\r\n    /**\r\n     * Resolve subscription promise.\r\n     */\r\n    private resolveSubscriptionPromise(user: User) {\r\n        this.resolveSubscribe(user);\r\n        this.subscriptionPending = false;\r\n    }\r\n}","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./create-subscription-panel.component.scss.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../../../node_modules/@angular/material/tabs/typings/index.ngfactory\";\nimport * as i3 from \"@angular/material/tabs\";\nimport * as i4 from \"../../credit-card-form/credit-card-form.component.ngfactory\";\nimport * as i5 from \"../../credit-card-form/credit-card-form.component\";\nimport * as i6 from \"../../../shared/billing/subscriptions.service\";\nimport * as i7 from \"../../../auth/current-user\";\nimport * as i8 from \"../../../core/config/settings.service\";\nimport * as i9 from \"../../../core/utils/lazy-loader.service\";\nimport * as i10 from \"../../../core/ui/toast.service\";\nimport * as i11 from \"../../../core/translations/translate.directive\";\nimport * as i12 from \"../../../core/translations/translations.service\";\nimport * as i13 from \"../../upgrade-page/order-summary/order-summary.component.ngfactory\";\nimport * as i14 from \"../../upgrade-page/order-summary/order-summary.component\";\nimport * as i15 from \"../subscription-stepper-state.service\";\nimport * as i16 from \"../../../../../node_modules/@angular/material/button/typings/index.ngfactory\";\nimport * as i17 from \"@angular/material/button\";\nimport * as i18 from \"@angular/cdk/platform\";\nimport * as i19 from \"@angular/cdk/a11y\";\nimport * as i20 from \"@angular/platform-browser/animations\";\nimport * as i21 from \"@angular/common\";\nimport * as i22 from \"./create-subscription-panel.component\";\nimport * as i23 from \"../paypal-subscriptions\";\nvar styles_CreateSubscriptionPanelComponent = [i0.styles];\nvar RenderType_CreateSubscriptionPanelComponent = i1.ɵcrt({ encapsulation: 2, styles: styles_CreateSubscriptionPanelComponent, data: {} });\nexport { RenderType_CreateSubscriptionPanelComponent as RenderType_CreateSubscriptionPanelComponent };\nfunction View_CreateSubscriptionPanelComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 7, \"mat-tab\", [[\"label\", \"Bank Card\"]], null, null, null, i2.View_MatTab_0, i2.RenderType_MatTab)), i1.ɵdid(1, 770048, [[1, 4]], 2, i3.MatTab, [i1.ViewContainerRef], { textLabel: [0, \"textLabel\"] }, null), i1.ɵqud(335544320, 2, { templateLabel: 0 }), i1.ɵqud(335544320, 3, { _explicitContent: 0 }), (_l()(), i1.ɵted(-1, 0, [\"\\n        \"])), (_l()(), i1.ɵeld(5, 0, null, 0, 1, \"credit-card-form\", [], null, [[null, \"created\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"created\" === en)) {\n        var pd_0 = (_co.subscribeOnStripe() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, i4.View_CreditCardFormComponent_0, i4.RenderType_CreditCardFormComponent)), i1.ɵdid(6, 4374528, null, 0, i5.CreditCardFormComponent, [i6.Subscriptions, i7.CurrentUser, i8.Settings, i1.NgZone, i9.LazyLoaderService, i10.Toast], { submitButtonText: [0, \"submitButtonText\"], showOrderSummary: [1, \"showOrderSummary\"] }, { created: \"created\" }), (_l()(), i1.ɵted(-1, 0, [\"\\n    \"])), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = \"Bank Card\"; _ck(_v, 1, 0, currVal_0); var currVal_1 = _co.submitText; var currVal_2 = true; _ck(_v, 6, 0, currVal_1, currVal_2); }, null); }\nfunction View_CreateSubscriptionPanelComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 16777216, null, null, 18, \"mat-tab\", [[\"label\", \"Paypal\"]], null, null, null, i2.View_MatTab_0, i2.RenderType_MatTab)), i1.ɵdid(1, 770048, [[1, 4]], 2, i3.MatTab, [i1.ViewContainerRef], { disabled: [0, \"disabled\"], textLabel: [1, \"textLabel\"] }, null), i1.ɵqud(335544320, 4, { templateLabel: 0 }), i1.ɵqud(335544320, 5, { _explicitContent: 0 }), (_l()(), i1.ɵted(-1, 0, [\"\\n        \"])), (_l()(), i1.ɵeld(5, 0, null, 0, 12, \"div\", [[\"class\", \"paypal-tab\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(7, 0, null, null, 2, \"p\", [[\"class\", \"info\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(8, 4341760, null, 0, i11.TranslateDirective, [i1.ElementRef, i12.Translations, i8.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"After clicking the button below, you will be redirected to paypal.com to approve the subscription.\"])), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(11, 0, null, null, 1, \"order-summary\", [], null, null, null, i13.View_OrderSummaryComponent_0, i13.RenderType_OrderSummaryComponent)), i1.ɵdid(12, 49152, null, 0, i14.OrderSummaryComponent, [i15.SubscriptionStepperState], null, null), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(14, 0, null, null, 2, \"button\", [[\"color\", \"primary\"], [\"mat-raised-button\", \"\"]], [[8, \"disabled\", 0], [2, \"_mat-animation-noopable\", null]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n        var pd_0 = (_co.subscribeOnPaypal() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, i16.View_MatButton_0, i16.RenderType_MatButton)), i1.ɵdid(15, 180224, null, 0, i17.MatButton, [i1.ElementRef, i18.Platform, i19.FocusMonitor, [2, i20.ANIMATION_MODULE_TYPE]], { disabled: [0, \"disabled\"], color: [1, \"color\"] }, null), (_l()(), i1.ɵted(16, 0, [\"\", \"\"])), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵted(-1, 0, [\"\\n    \"])), (_l()(), i1.ɵand(0, null, null, 0))], function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.disablePaypalTab; var currVal_1 = \"Paypal\"; _ck(_v, 1, 0, currVal_0, currVal_1); var currVal_4 = _co._loading; var currVal_5 = \"primary\"; _ck(_v, 15, 0, currVal_4, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_2 = (i1.ɵnov(_v, 15).disabled || null); var currVal_3 = (i1.ɵnov(_v, 15)._animationMode === \"NoopAnimations\"); _ck(_v, 14, 0, currVal_2, currVal_3); var currVal_6 = _co.submitText; _ck(_v, 16, 0, currVal_6); }); }\nexport function View_CreateSubscriptionPanelComponent_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 9, \"mat-tab-group\", [[\"class\", \"mat-tab-group\"]], [[2, \"mat-tab-group-dynamic-height\", null], [2, \"mat-tab-group-inverted-header\", null]], null, null, i2.View_MatTabGroup_0, i2.RenderType_MatTabGroup)), i1.ɵdid(1, 3325952, null, 1, i3.MatTabGroup, [i1.ElementRef, i1.ChangeDetectorRef, [2, i3.MAT_TABS_CONFIG]], { color: [0, \"color\"], dynamicHeight: [1, \"dynamicHeight\"] }, null), i1.ɵqud(603979776, 1, { _tabs: 1 }), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CreateSubscriptionPanelComponent_1)), i1.ɵdid(5, 16384, null, 0, i21.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_CreateSubscriptionPanelComponent_2)), i1.ɵdid(8, 16384, null, 0, i21.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\"]))], function (_ck, _v) { var _co = _v.component; var currVal_2 = _co.settings.get(\"vebto.auth.color\"); var currVal_3 = true; _ck(_v, 1, 0, currVal_2, currVal_3); var currVal_4 = _co.settings.get(\"billing.stripe.enable\"); _ck(_v, 5, 0, currVal_4); var currVal_5 = _co.settings.get(\"billing.paypal.enable\"); _ck(_v, 8, 0, currVal_5); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 1).dynamicHeight; var currVal_1 = (i1.ɵnov(_v, 1).headerPosition === \"below\"); _ck(_v, 0, 0, currVal_0, currVal_1); }); }\nexport function View_CreateSubscriptionPanelComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"create-subscription-panel\", [], null, null, null, View_CreateSubscriptionPanelComponent_0, RenderType_CreateSubscriptionPanelComponent)), i1.ɵdid(1, 49152, null, 0, i22.CreateSubscriptionPanelComponent, [i6.Subscriptions, i7.CurrentUser, i23.PaypalSubscriptions, i10.Toast, i8.Settings], null, null)], null, null); }\nvar CreateSubscriptionPanelComponentNgFactory = i1.ɵccf(\"create-subscription-panel\", i22.CreateSubscriptionPanelComponent, View_CreateSubscriptionPanelComponent_Host_0, { submitText: \"submitText\", disablePaypalTab: \"disablePaypalTab\", from: \"from\", plan: \"plan\" }, { loading: \"loading\", completed: \"completed\" }, []);\nexport { CreateSubscriptionPanelComponentNgFactory as CreateSubscriptionPanelComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"create-subscription-panel{display:block}create-subscription-panel .mat-tab-body{padding:25px}create-subscription-panel .paypal-tab{padding-bottom:5px}create-subscription-panel .paypal-tab>p{background-color:#fafafa;border-radius:4px;padding:15px;border:1px solid #eff1f2}\"];\nexport { styles as styles };\n","<mat-tab-group [dynamicHeight]=\"true\" [color]=\"settings.get('vebto.auth.color')\">\r\n    <mat-tab label=\"Bank Card\" *ngIf=\"settings.get('billing.stripe.enable')\">\r\n        <credit-card-form (created)=\"subscribeOnStripe()\" [submitButtonText]=\"submitText\" [showOrderSummary]=\"true\"></credit-card-form>\r\n    </mat-tab>\r\n    <mat-tab label=\"Paypal\" [disabled]=\"disablePaypalTab\" *ngIf=\"settings.get('billing.paypal.enable')\">\r\n        <div class=\"paypal-tab\">\r\n            <p class=\"info\" trans>After clicking the button below, you will be redirected to paypal.com to approve the subscription.</p>\r\n            <order-summary></order-summary>\r\n            <button mat-raised-button color=\"primary\" (click)=\"subscribeOnPaypal()\" [disabled]=\"_loading\">{{submitText}}</button>\r\n        </div>\r\n    </mat-tab>\r\n</mat-tab-group>","import {Component, OnInit, ViewChild, ViewEncapsulation} from '@angular/core';\r\nimport {MatStepper} from '@angular/material';\r\nimport {ActivatedRoute, Router} from '@angular/router';\r\nimport {SubscriptionStepperState} from '../subscriptions/subscription-stepper-state.service';\r\nimport {Settings} from '../../core/config/settings.service';\r\nimport {Toast} from '../../core/ui/toast.service';\r\nimport { Subscriptions } from '../../shared/billing/subscriptions.service';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\n\r\nexport interface CreditCard {\r\n    number?: number|string;\r\n    expiration_month?: number|string;\r\n    expiration_year?: number|string;\r\n    security_code?: number|string;\r\n}\r\n\r\n@Component({\r\n    selector: 'upgrade-page',\r\n    templateUrl: './upgrade-page.component.html',\r\n    styleUrls: ['./upgrade-page.component.scss'],\r\n    encapsulation: ViewEncapsulation.None,\r\n    providers: [SubscriptionStepperState],\r\n})\r\nexport class UpgradePageComponent implements OnInit {\r\n    @ViewChild(MatStepper) stepper: MatStepper;\r\n    public loading = false;\r\n\r\n    constructor(\r\n        private subscriptions: Subscriptions,\r\n        private route: ActivatedRoute,\r\n        public settings: Settings,\r\n        private router: Router,\r\n        private toast: Toast,\r\n        public state: SubscriptionStepperState,\r\n        public sanitizer: DomSanitizer,\r\n    ) {}\r\n\r\n    ngOnInit() {\r\n        this.route.data.subscribe(data => {\r\n            this.state.setPlans(data.plans);\r\n        });\r\n    }\r\n\r\n    /**\r\n     * Move to next \"upgrade\" stepper step.\r\n     */\r\n    public nextStep() {\r\n        this.stepper.next();\r\n    }\r\n\r\n    /**\r\n     * Fired when user subscribed to one of the plans successfully.\r\n     */\r\n    public onCompleted() {\r\n        this.loading = false;\r\n        this.router.navigate(['/drive']);\r\n        this.toast.open({\r\n            message: 'Subscribed to \":planName\" plan successfully.',\r\n            replacements: {planName: this.getSelectedOrParentPlanName()},\r\n        });\r\n    }\r\n\r\n    public getBackground() {\r\n        return this.sanitizer.bypassSecurityTrustStyle(\r\n            `url(${this.settings.getAssetUrl('images/pricing-plans-bg.svg')})`\r\n        );\r\n    }\r\n\r\n    /**\r\n     * Get name of selected plan or it's parent.\r\n     */\r\n    private getSelectedOrParentPlanName(): string {\r\n        const plan = this.state.selectedPlan.parent ? this.state.selectedPlan.parent : this.state.selectedPlan;\r\n        return plan.name;\r\n    }\r\n}","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./upgrade-page.component.scss.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../../node_modules/@angular/material/icon/typings/index.ngfactory\";\nimport * as i3 from \"@angular/material/icon\";\nimport * as i4 from \"../../core/translations/translate.pipe\";\nimport * as i5 from \"../../core/translations/translations.service\";\nimport * as i6 from \"../../core/ui/material-navbar/material-navbar.component.ngfactory\";\nimport * as i7 from \"../../core/ui/material-navbar/material-navbar.component\";\nimport * as i8 from \"../../core/config/settings.service\";\nimport * as i9 from \"../../auth/current-user\";\nimport * as i10 from \"../../core/ui/breakpoints.service\";\nimport * as i11 from \"../../../../node_modules/@angular/material/stepper/typings/index.ngfactory\";\nimport * as i12 from \"@angular/material/stepper\";\nimport * as i13 from \"@angular/cdk/bidi\";\nimport * as i14 from \"@angular/common\";\nimport * as i15 from \"@angular/material/core\";\nimport * as i16 from \"@angular/cdk/stepper\";\nimport * as i17 from \"../plans/select-plan-panel/select-plan-panel.component.ngfactory\";\nimport * as i18 from \"../plans/select-plan-panel/select-plan-panel.component\";\nimport * as i19 from \"../subscriptions/subscription-stepper-state.service\";\nimport * as i20 from \"./contact-widget/contact-widget.component.ngfactory\";\nimport * as i21 from \"./contact-widget/contact-widget.component\";\nimport * as i22 from \"../plans/select-plan-period-panel/select-plan-period-panel.component.ngfactory\";\nimport * as i23 from \"../plans/select-plan-period-panel/select-plan-period-panel.component\";\nimport * as i24 from \"../subscriptions/create-subscription-panel/create-subscription-panel.component.ngfactory\";\nimport * as i25 from \"../subscriptions/create-subscription-panel/create-subscription-panel.component\";\nimport * as i26 from \"../../shared/billing/subscriptions.service\";\nimport * as i27 from \"../subscriptions/paypal-subscriptions\";\nimport * as i28 from \"../../core/ui/toast.service\";\nimport * as i29 from \"./upgrade-page-aside/upgrade-page-aside.component.ngfactory\";\nimport * as i30 from \"./upgrade-page-aside/upgrade-page-aside.component\";\nimport * as i31 from \"../../core/translations/translate.directive\";\nimport * as i32 from \"../../core/ui/loading-indicator/loading-indicator.component.ngfactory\";\nimport * as i33 from \"../../core/ui/loading-indicator/loading-indicator.component\";\nimport * as i34 from \"./upgrade-page.component\";\nimport * as i35 from \"@angular/router\";\nimport * as i36 from \"@angular/platform-browser\";\nvar styles_UpgradePageComponent = [i0.styles];\nvar RenderType_UpgradePageComponent = i1.ɵcrt({ encapsulation: 2, styles: styles_UpgradePageComponent, data: {} });\nexport { RenderType_UpgradePageComponent as RenderType_UpgradePageComponent };\nfunction View_UpgradePageComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(1, 0, null, null, 1, \"mat-icon\", [[\"class\", \"size-16 mat-icon notranslate\"], [\"role\", \"img\"], [\"svgIcon\", \"edit\"]], [[2, \"mat-icon-inline\", null], [2, \"mat-icon-no-color\", null]], null, null, i2.View_MatIcon_0, i2.RenderType_MatIcon)), i1.ɵdid(2, 9158656, null, 0, i3.MatIcon, [i1.ElementRef, i3.MatIconRegistry, [8, null], [2, i3.MAT_ICON_LOCATION]], { svgIcon: [0, \"svgIcon\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n        \"]))], function (_ck, _v) { var currVal_2 = \"edit\"; _ck(_v, 2, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 2).inline; var currVal_1 = (((i1.ɵnov(_v, 2).color !== \"primary\") && (i1.ɵnov(_v, 2).color !== \"accent\")) && (i1.ɵnov(_v, 2).color !== \"warn\")); _ck(_v, 1, 0, currVal_0, currVal_1); }); }\nexport function View_UpgradePageComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i4.TransPipe, [i5.Translations]), i1.ɵqud(402653184, 1, { stepper: 0 }), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"material-navbar\", [], [[2, \"transparent\", null]], null, null, i6.View_MaterialNavbar_0, i6.RenderType_MaterialNavbar)), i1.ɵdid(3, 114688, null, 0, i7.MaterialNavbar, [i8.Settings, i9.CurrentUser, i1.ElementRef, i10.BreakpointsService], null, null), (_l()(), i1.ɵted(-1, null, [\"\\n\\n\"])), (_l()(), i1.ɵeld(5, 0, null, null, 57, \"div\", [[\"class\", \"bg-wrapper\"]], [[4, \"background-image\", null]], null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵeld(7, 0, null, null, 54, \"mat-horizontal-stepper\", [[\"aria-orientation\", \"horizontal\"], [\"class\", \"container main-content mat-stepper-horizontal\"], [\"role\", \"tablist\"]], [[2, \"mat-stepper-label-position-end\", null], [2, \"mat-stepper-label-position-bottom\", null]], null, null, i11.View_MatHorizontalStepper_0, i11.RenderType_MatHorizontalStepper)), i1.ɵdid(8, 5423104, null, 2, i12.MatHorizontalStepper, [[2, i13.Directionality], i1.ChangeDetectorRef, i1.ElementRef, i14.DOCUMENT], { linear: [0, \"linear\"] }, null), i1.ɵqud(603979776, 2, { _steps: 1 }), i1.ɵqud(603979776, 3, { _icons: 1 }), i1.ɵprd(2048, [[1, 4]], i12.MatStepper, null, [i12.MatHorizontalStepper]), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵand(0, null, null, 1, null, View_UpgradePageComponent_1)), i1.ɵdid(14, 16384, [[3, 4]], 0, i12.MatStepperIcon, [i1.TemplateRef], { name: [0, \"name\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\\n        \"])), (_l()(), i1.ɵeld(16, 0, null, null, 11, \"mat-step\", [], null, null, null, i11.View_MatStep_0, i11.RenderType_MatStep)), i1.ɵprd(6144, null, i15.ErrorStateMatcher, null, [i12.MatStep]), i1.ɵdid(18, 573440, [[2, 4]], 1, i12.MatStep, [i12.MatStepper, [1, i15.ErrorStateMatcher], [2, i16.STEPPER_GLOBAL_OPTIONS]], { label: [0, \"label\"], completed: [1, \"completed\"] }, null), i1.ɵqud(335544320, 4, { stepLabel: 0 }), i1.ɵppd(20, 1), (_l()(), i1.ɵted(-1, 0, [\"\\n            \"])), (_l()(), i1.ɵeld(22, 0, null, 0, 1, \"select-plan-panel\", [], null, [[null, \"selected\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selected\" === en)) {\n        var pd_0 = (_co.nextStep() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, i17.View_SelectPlanPanelComponent_0, i17.RenderType_SelectPlanPanelComponent)), i1.ɵdid(23, 114688, null, 0, i18.SelectPlanPanelComponent, [i19.SubscriptionStepperState], null, { selected: \"selected\" }), (_l()(), i1.ɵted(-1, 0, [\"\\n            \"])), (_l()(), i1.ɵeld(25, 0, null, 0, 1, \"contact-widget\", [], null, null, null, i20.View_ContactWidgetComponent_0, i20.RenderType_ContactWidgetComponent)), i1.ɵdid(26, 114688, null, 0, i21.ContactWidgetComponent, [], null, null), (_l()(), i1.ɵted(-1, 0, [\"\\n        \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n        \"])), (_l()(), i1.ɵeld(29, 0, null, null, 8, \"mat-step\", [], null, null, null, i11.View_MatStep_0, i11.RenderType_MatStep)), i1.ɵprd(6144, null, i15.ErrorStateMatcher, null, [i12.MatStep]), i1.ɵdid(31, 573440, [[2, 4]], 1, i12.MatStep, [i12.MatStepper, [1, i15.ErrorStateMatcher], [2, i16.STEPPER_GLOBAL_OPTIONS]], { label: [0, \"label\"], completed: [1, \"completed\"] }, null), i1.ɵqud(335544320, 5, { stepLabel: 0 }), i1.ɵppd(33, 1), (_l()(), i1.ɵted(-1, 0, [\"\\n            \"])), (_l()(), i1.ɵeld(35, 0, null, 0, 1, \"select-plan-period-panel\", [], null, [[null, \"selected\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selected\" === en)) {\n        var pd_0 = (_co.nextStep() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, i22.View_SelectPlanPeriodPanelComponent_0, i22.RenderType_SelectPlanPeriodPanelComponent)), i1.ɵdid(36, 49152, null, 0, i23.SelectPlanPeriodPanelComponent, [i19.SubscriptionStepperState], { showSidebar: [0, \"showSidebar\"] }, { selected: \"selected\" }), (_l()(), i1.ɵted(-1, 0, [\"\\n        \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n        \"])), (_l()(), i1.ɵeld(39, 0, null, null, 21, \"mat-step\", [], null, null, null, i11.View_MatStep_0, i11.RenderType_MatStep)), i1.ɵprd(6144, null, i15.ErrorStateMatcher, null, [i12.MatStep]), i1.ɵdid(41, 573440, [[2, 4]], 1, i12.MatStep, [i12.MatStepper, [1, i15.ErrorStateMatcher], [2, i16.STEPPER_GLOBAL_OPTIONS]], { label: [0, \"label\"], completed: [1, \"completed\"] }, null), i1.ɵqud(335544320, 6, { stepLabel: 0 }), i1.ɵppd(43, 1), (_l()(), i1.ɵted(-1, 0, [\"\\n            \"])), (_l()(), i1.ɵeld(45, 0, null, 0, 10, \"div\", [[\"class\", \"step-container payment-step\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n                \"])), (_l()(), i1.ɵeld(47, 0, null, null, 4, \"div\", [[\"class\", \"left-col\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n                    \"])), (_l()(), i1.ɵeld(49, 0, null, null, 1, \"create-subscription-panel\", [], null, [[null, \"loading\"], [null, \"completed\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"loading\" === en)) {\n        var pd_0 = ((_co.loading = $event) !== false);\n        ad = (pd_0 && ad);\n    } if ((\"completed\" === en)) {\n        var pd_1 = (_co.onCompleted() !== false);\n        ad = (pd_1 && ad);\n    } return ad; }, i24.View_CreateSubscriptionPanelComponent_0, i24.RenderType_CreateSubscriptionPanelComponent)), i1.ɵdid(50, 49152, null, 0, i25.CreateSubscriptionPanelComponent, [i26.Subscriptions, i9.CurrentUser, i27.PaypalSubscriptions, i28.Toast, i8.Settings], { plan: [0, \"plan\"] }, { loading: \"loading\", completed: \"completed\" }), (_l()(), i1.ɵted(-1, null, [\"\\n                \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n                \"])), (_l()(), i1.ɵeld(53, 0, null, null, 1, \"upgrade-page-aside\", [[\"class\", \"right-col\"]], null, null, null, i29.View_UpgradePageAsideComponent_0, i29.RenderType_UpgradePageAsideComponent)), i1.ɵdid(54, 49152, null, 0, i30.UpgradePageAsideComponent, [], { plan: [0, \"plan\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵted(-1, 0, [\"\\n\\n            \"])), (_l()(), i1.ɵeld(57, 0, null, 0, 2, \"p\", [[\"class\", \"legal-info\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(58, 4341760, null, 0, i31.TranslateDirective, [i1.ElementRef, i5.Translations, i8.Settings], null, null), (_l()(), i1.ɵted(59, null, [\"You authorise \", \" to charge you automatically every month, until you cancel your subscription. You consent to get access to your \", \" subscription immediately, and acknowledge that refunds are only available within 14 days and provided you haven't accessed \", \". You will be able to cancel your subscription at any time from your profile page.\"])), (_l()(), i1.ɵted(-1, 0, [\"\\n        \"])), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n\"])), (_l()(), i1.ɵeld(64, 0, null, null, 1, \"loading-indicator\", [[\"class\", \"overlay\"]], [[40, \"@visibility\", 0]], null, null, i32.View_LoadingIndicatorComponent_0, i32.RenderType_LoadingIndicatorComponent)), i1.ɵdid(65, 49152, null, 0, i33.LoadingIndicatorComponent, [], { isVisible: [0, \"isVisible\"] }, null)], function (_ck, _v) { var _co = _v.component; _ck(_v, 3, 0); var currVal_4 = true; _ck(_v, 8, 0, currVal_4); var currVal_5 = \"edit\"; _ck(_v, 14, 0, currVal_5); var currVal_6 = i1.ɵunv(_v, 18, 0, _ck(_v, 20, 0, i1.ɵnov(_v, 0), \"Subscription plan\")); var currVal_7 = _co.state.initialPlan; _ck(_v, 18, 0, currVal_6, currVal_7); _ck(_v, 23, 0); _ck(_v, 26, 0); var currVal_8 = i1.ɵunv(_v, 31, 0, _ck(_v, 33, 0, i1.ɵnov(_v, 0), \"Subscription interval\")); var currVal_9 = _co.state.selectedPlan; _ck(_v, 31, 0, currVal_8, currVal_9); var currVal_10 = true; _ck(_v, 36, 0, currVal_10); var currVal_11 = i1.ɵunv(_v, 41, 0, _ck(_v, 43, 0, i1.ɵnov(_v, 0), \"Payment\")); var currVal_12 = false; _ck(_v, 41, 0, currVal_11, currVal_12); var currVal_13 = _co.state.selectedPlan; _ck(_v, 50, 0, currVal_13); var currVal_14 = _co.state.selectedPlan; _ck(_v, 54, 0, currVal_14); var currVal_19 = _co.loading; _ck(_v, 65, 0, currVal_19); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 3).transparent; _ck(_v, 2, 0, currVal_0); var currVal_1 = _co.getBackground(); _ck(_v, 5, 0, currVal_1); var currVal_2 = (i1.ɵnov(_v, 8).labelPosition == \"end\"); var currVal_3 = (i1.ɵnov(_v, 8).labelPosition == \"bottom\"); _ck(_v, 7, 0, currVal_2, currVal_3); var currVal_15 = _co.settings.get(\"branding.site_name\"); var currVal_16 = _co.settings.get(\"branding.site_name\"); var currVal_17 = _co.settings.get(\"branding.site_name\"); _ck(_v, 59, 0, currVal_15, currVal_16, currVal_17); var currVal_18 = i1.ɵnov(_v, 65).isVisible; _ck(_v, 64, 0, currVal_18); }); }\nexport function View_UpgradePageComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"upgrade-page\", [], null, null, null, View_UpgradePageComponent_0, RenderType_UpgradePageComponent)), i1.ɵprd(512, null, i19.SubscriptionStepperState, i19.SubscriptionStepperState, []), i1.ɵdid(2, 114688, null, 0, i34.UpgradePageComponent, [i26.Subscriptions, i35.ActivatedRoute, i8.Settings, i35.Router, i28.Toast, i19.SubscriptionStepperState, i36.DomSanitizer], null, null)], function (_ck, _v) { _ck(_v, 2, 0); }, null); }\nvar UpgradePageComponentNgFactory = i1.ɵccf(\"upgrade-page\", i34.UpgradePageComponent, View_UpgradePageComponent_Host_0, {}, {}, []);\nexport { UpgradePageComponentNgFactory as UpgradePageComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"upgrade-page{display:block;min-height:100vh;background-color:#fafafa}upgrade-page .bg-wrapper{background-repeat:no-repeat;background-position:center;background-size:cover}upgrade-page .main-content{padding-top:60px;padding-bottom:60px;background-color:inherit;min-height:calc(100vh - 70px)}upgrade-page .mat-horizontal-stepper-content{padding:5px;margin-top:25px}upgrade-page .mat-horizontal-stepper-content[aria-expanded=false]{padding:0;margin:0}upgrade-page .step-container{display:flex;position:relative;background-color:#fff;border-radius:3px;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}upgrade-page .step-container>.left-col{flex:1 1 auto}upgrade-page select-plan-period-panel .left-col{padding:30px}upgrade-page .payment-step .legal-info{margin-top:20px;color:rgba(0,0,0,.54)}@media only screen and (max-width:768px){upgrade-page upgrade-page-aside{display:none}}\"];\nexport { styles as styles };\n","<material-navbar></material-navbar>\r\n\r\n<div class=\"bg-wrapper\" [style.background-image]=\"getBackground()\">\r\n    <mat-horizontal-stepper class=\"container main-content\" [linear]=\"true\">\r\n        <ng-template matStepperIcon=\"edit\">\r\n            <mat-icon svgIcon=\"edit\" class=\"size-16\"></mat-icon>\r\n        </ng-template>\r\n\r\n        <mat-step [label]=\"'Subscription plan' | trans\" [completed]=\"state.initialPlan\">\r\n            <select-plan-panel (selected)=\"nextStep()\"></select-plan-panel>\r\n            <contact-widget></contact-widget>\r\n        </mat-step>\r\n\r\n        <mat-step [label]=\"'Subscription interval' | trans\" [completed]=\"state.selectedPlan\">\r\n            <select-plan-period-panel [showSidebar]=\"true\" (selected)=\"nextStep()\"></select-plan-period-panel>\r\n        </mat-step>\r\n\r\n        <mat-step [label]=\"'Payment' | trans\" [completed]=\"false\">\r\n            <div class=\"step-container payment-step\">\r\n                <div class=\"left-col\">\r\n                    <create-subscription-panel [plan]=\"state.selectedPlan\" (loading)=\"loading = $event\" (completed)=\"onCompleted()\"></create-subscription-panel>\r\n                </div>\r\n\r\n                <upgrade-page-aside [plan]=\"state.selectedPlan\" class=\"right-col\"></upgrade-page-aside>\r\n            </div>\r\n\r\n            <p class=\"legal-info\" trans>You authorise {{settings.get('branding.site_name')}} to charge you automatically every month, until you cancel your subscription. You consent to get access to your {{settings.get('branding.site_name')}} subscription immediately, and acknowledge that refunds are only available within 14 days and provided you haven't accessed {{settings.get('branding.site_name')}}. You will be able to cancel your subscription at any time from your profile page.</p>\r\n        </mat-step>\r\n    </mat-horizontal-stepper>\r\n</div>\r\n\r\n<loading-indicator class=\"overlay\" [isVisible]=\"loading\"></loading-indicator>","import {Component, Inject, OnInit, ViewChild, ViewEncapsulation} from '@angular/core';\r\nimport {MAT_DIALOG_DATA, MatDialogRef, MatHorizontalStepper, MatStepper} from '@angular/material';\r\nimport {SubscriptionStepperState} from '../../subscriptions/subscription-stepper-state.service';\r\nimport {ConfirmModalComponent} from '../../../core/ui/confirm-modal/confirm-modal.component';\r\nimport { Plan } from '../../../shared/billing/models/plan';\r\n\r\nexport interface SelectPlanModalData {\r\n    plans: Plan[];\r\n}\r\n\r\n@Component({\r\n    selector: 'select-plan-modal',\r\n    templateUrl: './select-plan-modal.component.html',\r\n    styleUrls: ['./select-plan-modal.component.scss'],\r\n    encapsulation: ViewEncapsulation.None,\r\n    providers: [SubscriptionStepperState],\r\n})\r\nexport class SelectPlanModalComponent implements OnInit {\r\n    @ViewChild(MatHorizontalStepper) stepper: MatStepper;\r\n\r\n    constructor(\r\n        private dialogRef: MatDialogRef<ConfirmModalComponent>,\r\n        @Inject(MAT_DIALOG_DATA) public data: SelectPlanModalData,\r\n        public state: SubscriptionStepperState,\r\n    ) {}\r\n\r\n    ngOnInit() {\r\n        this.state.setPlans(this.data.plans);\r\n    }\r\n\r\n    /**\r\n     * Close the modal.\r\n     */\r\n    public close() {\r\n        this.dialogRef.close(this.state.selectedPlan);\r\n    }\r\n\r\n    /**\r\n     * Move to next \"select plan\" stepper step.\r\n     */\r\n    public nextStep() {\r\n        this.stepper.next();\r\n    }\r\n}\r\n","import {Component, OnInit, ViewEncapsulation} from '@angular/core';\r\nimport {share, finalize} from 'rxjs/operators';\r\nimport {SelectPlanModalComponent} from '../../plans/select-plan-modal/select-plan-modal.component';\r\nimport {ActivatedRoute} from '@angular/router';\r\nimport {Observable} from 'rxjs';\r\nimport {SubscriptionCompletedEvent} from '../create-subscription-panel/create-subscription-panel.component';\r\nimport {PaypalSubscriptions} from '../paypal-subscriptions';\r\nimport {Modal} from '../../../core/ui/dialogs/modal.service';\r\nimport {CurrentUser} from '../../../auth/current-user';\r\nimport {Toast} from '../../../core/ui/toast.service';\r\nimport {ConfirmModalComponent} from '../../../core/ui/confirm-modal/confirm-modal.component';\r\nimport {User} from '../../../core/types/models/User';\r\nimport {Settings} from '../../../core/config/settings.service';\r\nimport { Subscription } from '../../../shared/billing/models/subscription';\r\nimport { Subscriptions } from '../../../shared/billing/subscriptions.service';\r\nimport { Plan } from '../../../shared/billing/models/plan';\r\n\r\n@Component({\r\n    selector: 'user-subscription-page',\r\n    templateUrl: './user-subscription-page.component.html',\r\n    styleUrls: ['./user-subscription-page.component.scss'],\r\n    encapsulation: ViewEncapsulation.None,\r\n})\r\nexport class UserSubscriptionPageComponent implements OnInit {\r\n    public loading = false;\r\n    public activeSubscription: Subscription;\r\n\r\n    constructor(\r\n        public settings: Settings,\r\n        private modal: Modal,\r\n        private subscriptions: Subscriptions,\r\n        public currentUser: CurrentUser,\r\n        private toast: Toast,\r\n        private route: ActivatedRoute,\r\n        private paypalSubscriptions: PaypalSubscriptions,\r\n    ) {}\r\n\r\n    ngOnInit() {\r\n        this.activeSubscription = this.currentUser.getSubscription();\r\n    }\r\n\r\n    public canResume() {\r\n        return this.currentUser.onGracePeriod();\r\n    }\r\n\r\n    public canCancel() {\r\n        return this.currentUser.isSubscribed() && !this.currentUser.onGracePeriod();\r\n    }\r\n\r\n    public canChangePaymentMethod() {\r\n        return this.settings.get('billing.stripe.enable') || this.settings.get('billing.paypal.enable');\r\n    }\r\n\r\n    public getFormattedEndDate(): string {\r\n        if ( ! this.activeSubscription.ends_at) return null;\r\n        return this.activeSubscription.ends_at.split(' ')[0];\r\n    }\r\n\r\n    public getFormattedRenewDate() {\r\n        if ( ! this.activeSubscription.renews_at) return null;\r\n        return this.activeSubscription.renews_at.split(' ')[0];\r\n    }\r\n\r\n    public getPlan(): Plan {\r\n        return this.activeSubscription.plan;\r\n    }\r\n\r\n    /**\r\n     * Ask user to confirm deletion of selected templates\r\n     * and delete selected templates if user confirms.\r\n     */\r\n    public maybeCancelSubscription() {\r\n        this.modal.open(ConfirmModalComponent, {\r\n            title: 'Cancel Subscription',\r\n            body: 'Are you sure you want to cancel your subscription?',\r\n            ok: 'Yes, Cancel',\r\n            cancel: 'Go Back'\r\n        }).afterClosed().subscribe(confirmed => {\r\n            if ( ! confirmed) return;\r\n            this.cancelSubscription().subscribe(() => {\r\n                this.toast.open('Subscription cancelled.');\r\n            });\r\n        });\r\n    }\r\n\r\n    /**\r\n     * Show modal for selecting a new billing plan.\r\n     */\r\n    public showSelectPlanModal() {\r\n        const params = {plans: this.route.snapshot.data.plans};\r\n\r\n        this.modal.open(SelectPlanModalComponent, params, 'select-plan-modal-container')\r\n            .afterClosed().subscribe(plan => {\r\n                if ( ! plan) return;\r\n                this.changePlan(plan);\r\n            });\r\n    }\r\n\r\n    /**\r\n     * Change user's active subscription plan to specified one.\r\n     */\r\n    public changePlan(plan: Plan) {\r\n        if (this.activeSubscription.plan_id === plan.id) return;\r\n\r\n        this.loading = true;\r\n\r\n        if (this.activeSubscription.gateway === 'paypal') {\r\n            this.paypalSubscriptions.changePlan(this.activeSubscription, plan).then(user => {\r\n                this.loading = false;\r\n                this.updateUserAndSubscription(user);\r\n                this.toast.open('Subscription plan changed.');\r\n            });\r\n        } else {\r\n            this.subscriptions\r\n                .changePlan(this.activeSubscription.id, plan)\r\n                .pipe(finalize(() => this.loading = false))\r\n                .subscribe(response => {\r\n                    this.updateUserAndSubscription(response['user']);\r\n                    this.toast.open('Subscription plan changed.');\r\n                });\r\n        }\r\n    }\r\n\r\n    /**\r\n     * Resume cancelled subscription.\r\n     */\r\n    public resumeSubscription() {\r\n        this.loading = true;\r\n\r\n        this.subscriptions.resume(this.activeSubscription.id)\r\n            .pipe(finalize(() => this.loading = false))\r\n            .subscribe(response => {\r\n                this.currentUser.setSubscription(response.subscription);\r\n                this.activeSubscription = this.currentUser.getSubscription();\r\n                this.toast.open('Subscription resumed.');\r\n            });\r\n    }\r\n\r\n    /**\r\n     * Called after user payment method for active subscription has been changed successfully.\r\n     */\r\n    public onPaymentMethodChange(e: SubscriptionCompletedEvent) {\r\n        // if we've only changed customer card information on same\r\n        // payment gateway, show success message and bail\r\n        if (e.status === 'updated') {\r\n            this.toast.open('Payment method updated.');\r\n            return;\r\n        }\r\n\r\n        this.loading = true;\r\n\r\n        // otherwise cancel user's subscription on the other gateway\r\n        this.cancelSubscription({delete: true}).subscribe(() => {\r\n            this.toast.open('Payment method updated.');\r\n        });\r\n    }\r\n\r\n    /**\r\n     * Cancel currently active user subscription.\r\n     */\r\n    private cancelSubscription(params: {delete?: boolean} = {}): Observable<{user: User}> {\r\n        this.loading = true;\r\n\r\n        const request = this.subscriptions.cancel(this.activeSubscription.id, {delete: params.delete})\r\n            .pipe(finalize(() => this.loading = false))\r\n            .pipe(share());\r\n\r\n        request.subscribe(response => {\r\n            // set new active subscription, if user had more then one\r\n            this.updateUserAndSubscription(response.user);\r\n        });\r\n\r\n        return request;\r\n    }\r\n\r\n    /**\r\n     * Update current user and active subscription.\r\n     */\r\n    private updateUserAndSubscription(user: User) {\r\n        this.currentUser.assignCurrent(user);\r\n        this.activeSubscription = this.currentUser.getSubscription();\r\n    }\r\n}\r\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./user-subscription-page.component.scss.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../../../node_modules/@angular/material/button/typings/index.ngfactory\";\nimport * as i3 from \"../../../core/translations/translate.directive\";\nimport * as i4 from \"../../../core/translations/translations.service\";\nimport * as i5 from \"../../../core/config/settings.service\";\nimport * as i6 from \"@angular/material/button\";\nimport * as i7 from \"@angular/cdk/platform\";\nimport * as i8 from \"@angular/cdk/a11y\";\nimport * as i9 from \"@angular/platform-browser/animations\";\nimport * as i10 from \"../../../../../node_modules/@angular/material/icon/typings/index.ngfactory\";\nimport * as i11 from \"@angular/material/icon\";\nimport * as i12 from \"@angular/common\";\nimport * as i13 from \"../create-subscription-panel/create-subscription-panel.component.ngfactory\";\nimport * as i14 from \"../create-subscription-panel/create-subscription-panel.component\";\nimport * as i15 from \"../../../shared/billing/subscriptions.service\";\nimport * as i16 from \"../../../auth/current-user\";\nimport * as i17 from \"../paypal-subscriptions\";\nimport * as i18 from \"../../../core/ui/toast.service\";\nimport * as i19 from \"../../../core/translations/translate.pipe\";\nimport * as i20 from \"../../../core/ui/material-navbar/material-navbar.component.ngfactory\";\nimport * as i21 from \"../../../core/ui/material-navbar/material-navbar.component\";\nimport * as i22 from \"../../../core/ui/breakpoints.service\";\nimport * as i23 from \"../../../shared/billing/full-plan-name/full-plan-name.component.ngfactory\";\nimport * as i24 from \"../../../shared/billing/full-plan-name/full-plan-name.component\";\nimport * as i25 from \"../../upgrade-page/upgrade-page-aside/upgrade-page-aside.component.ngfactory\";\nimport * as i26 from \"../../upgrade-page/upgrade-page-aside/upgrade-page-aside.component\";\nimport * as i27 from \"../../../core/ui/loading-indicator/loading-indicator.component.ngfactory\";\nimport * as i28 from \"../../../core/ui/loading-indicator/loading-indicator.component\";\nimport * as i29 from \"./user-subscription-page.component\";\nimport * as i30 from \"../../../core/ui/dialogs/modal.service\";\nimport * as i31 from \"@angular/router\";\nvar styles_UserSubscriptionPageComponent = [i0.styles];\nvar RenderType_UserSubscriptionPageComponent = i1.ɵcrt({ encapsulation: 2, styles: styles_UserSubscriptionPageComponent, data: {} });\nexport { RenderType_UserSubscriptionPageComponent as RenderType_UserSubscriptionPageComponent };\nfunction View_UserSubscriptionPageComponent_1(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 18, null, null, null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n                    \"])), (_l()(), i1.ɵeld(2, 0, null, null, 10, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\\n                        \", \"\\n                        \"])), i1.ɵppd(4, 1), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), (_l()(), i1.ɵted(7, null, [\"\\n                        \", \"\\n                        \"])), i1.ɵppd(8, 1), (_l()(), i1.ɵeld(9, 0, null, null, 2, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(10, null, [\"\", \"\"])), i1.ɵppd(11, 2), (_l()(), i1.ɵted(-1, null, [\".\\n                    \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n                    \"])), (_l()(), i1.ɵeld(14, 0, null, null, 3, \"button\", [[\"mat-raised-button\", \"\"], [\"trans\", \"\"]], [[8, \"disabled\", 0], [2, \"_mat-animation-noopable\", null]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n        var pd_0 = (_co.showSelectPlanModal() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, i2.View_MatButton_0, i2.RenderType_MatButton)), i1.ɵdid(15, 4341760, null, 0, i3.TranslateDirective, [i1.ElementRef, i4.Translations, i5.Settings], null, null), i1.ɵdid(16, 180224, null, 0, i6.MatButton, [i1.ElementRef, i7.Platform, i8.FocusMonitor, [2, i9.ANIMATION_MODULE_TYPE]], { color: [0, \"color\"] }, null), (_l()(), i1.ɵted(-1, 0, [\"Change Plan\"])), (_l()(), i1.ɵted(-1, null, [\"\\n                \"]))], function (_ck, _v) { var _co = _v.component; var currVal_6 = _co.settings.get(\"vebto.auth.color\"); _ck(_v, 16, 0, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, _ck(_v, 4, 0, i1.ɵnov(_v.parent, 0), \"Your plan will automatically renew on\")); _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.getFormattedRenewDate(); _ck(_v, 6, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 7, 0, _ck(_v, 8, 0, i1.ɵnov(_v.parent, 0), \"and you'll be charged\")); _ck(_v, 7, 0, currVal_2); var currVal_3 = i1.ɵunv(_v, 10, 0, _ck(_v, 11, 0, i1.ɵnov(_v.parent, 1), _co.activeSubscription.plan.amount, _co.activeSubscription.plan.currency)); _ck(_v, 10, 0, currVal_3); var currVal_4 = (i1.ɵnov(_v, 16).disabled || null); var currVal_5 = (i1.ɵnov(_v, 16)._animationMode === \"NoopAnimations\"); _ck(_v, 14, 0, currVal_4, currVal_5); }); }\nfunction View_UserSubscriptionPageComponent_2(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 18, null, null, null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n                    \"])), (_l()(), i1.ɵeld(2, 0, null, null, 6, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵted(3, null, [\"\", \" \"])), i1.ɵppd(4, 1), (_l()(), i1.ɵeld(5, 0, null, null, 1, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(6, null, [\"\", \"\"])), (_l()(), i1.ɵted(7, null, [\". \", \".\"])), i1.ɵppd(8, 1), (_l()(), i1.ɵted(-1, null, [\"\\n                    \"])), (_l()(), i1.ɵeld(10, 0, null, null, 2, \"p\", [[\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(11, 4341760, null, 0, i3.TranslateDirective, [i1.ElementRef, i4.Translations, i5.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"You still have access to your plan's features until this date and you can resume your subscription anytime, by clicking button below.\"])), (_l()(), i1.ɵted(-1, null, [\"\\n                    \"])), (_l()(), i1.ɵeld(14, 0, null, null, 3, \"button\", [[\"mat-raised-button\", \"\"], [\"trans\", \"\"]], [[8, \"disabled\", 0], [2, \"_mat-animation-noopable\", null]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n        var pd_0 = (_co.resumeSubscription() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, i2.View_MatButton_0, i2.RenderType_MatButton)), i1.ɵdid(15, 4341760, null, 0, i3.TranslateDirective, [i1.ElementRef, i4.Translations, i5.Settings], null, null), i1.ɵdid(16, 180224, null, 0, i6.MatButton, [i1.ElementRef, i7.Platform, i8.FocusMonitor, [2, i9.ANIMATION_MODULE_TYPE]], { color: [0, \"color\"] }, null), (_l()(), i1.ɵted(-1, 0, [\"Resume\"])), (_l()(), i1.ɵted(-1, null, [\"\\n                \"]))], function (_ck, _v) { var _co = _v.component; var currVal_5 = _co.settings.get(\"vebto.auth.color\"); _ck(_v, 16, 0, currVal_5); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 3, 0, _ck(_v, 4, 0, i1.ɵnov(_v.parent, 0), \"You are on a grace period until\")); _ck(_v, 3, 0, currVal_0); var currVal_1 = _co.getFormattedEndDate(); _ck(_v, 6, 0, currVal_1); var currVal_2 = i1.ɵunv(_v, 7, 0, _ck(_v, 8, 0, i1.ɵnov(_v.parent, 0), \"Your subscription will not automatically resume and you will not be charged\")); _ck(_v, 7, 0, currVal_2); var currVal_3 = (i1.ɵnov(_v, 16).disabled || null); var currVal_4 = (i1.ɵnov(_v, 16)._animationMode === \"NoopAnimations\"); _ck(_v, 14, 0, currVal_3, currVal_4); }); }\nfunction View_UserSubscriptionPageComponent_4(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 8, \"div\", [[\"class\", \"card-preview\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n                \"])), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"icon\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(3, 0, null, null, 1, \"mat-icon\", [[\"class\", \"mat-icon notranslate\"], [\"role\", \"img\"], [\"svgIcon\", \"credit-card\"]], [[2, \"mat-icon-inline\", null], [2, \"mat-icon-no-color\", null]], null, null, i10.View_MatIcon_0, i10.RenderType_MatIcon)), i1.ɵdid(4, 9158656, null, 0, i11.MatIcon, [i1.ElementRef, i11.MatIconRegistry, [8, null], [2, i11.MAT_ICON_LOCATION]], { svgIcon: [0, \"svgIcon\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n                \"])), (_l()(), i1.ɵeld(6, 0, null, null, 1, \"div\", [[\"class\", \"info\"]], null, null, null, null, null)), (_l()(), i1.ɵted(7, null, [\"\", \" **** \", \"\"])), (_l()(), i1.ɵted(-1, null, [\"\\n            \"]))], function (_ck, _v) { var currVal_2 = \"credit-card\"; _ck(_v, 4, 0, currVal_2); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵnov(_v, 4).inline; var currVal_1 = (((i1.ɵnov(_v, 4).color !== \"primary\") && (i1.ɵnov(_v, 4).color !== \"accent\")) && (i1.ɵnov(_v, 4).color !== \"warn\")); _ck(_v, 3, 0, currVal_0, currVal_1); var currVal_3 = _co.currentUser.get(\"card_brand\"); var currVal_4 = _co.currentUser.get(\"card_last_four\"); _ck(_v, 7, 0, currVal_3, currVal_4); }); }\nfunction View_UserSubscriptionPageComponent_3(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 22, \"div\", [[\"class\", \"main-section\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"main-section-title\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(3, 4341760, null, 0, i3.TranslateDirective, [i1.ElementRef, i4.Translations, i5.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"Payment Method\"])), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(6, 0, null, null, 2, \"div\", [[\"class\", \"main-title-description\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(7, 4341760, null, 0, i3.TranslateDirective, [i1.ElementRef, i4.Translations, i5.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"Change your preferred payment method below. You can use a credit card or PayPal.\"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n            \"])), (_l()(), i1.ɵeld(10, 0, null, null, 4, \"p\", [], null, null, null, null, null)), (_l()(), i1.ɵted(11, null, [\"\", \": \"])), i1.ɵppd(12, 1), (_l()(), i1.ɵeld(13, 0, null, null, 1, \"strong\", [], null, null, null, null, null)), (_l()(), i1.ɵted(14, null, [\"\", \"\"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n            \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_UserSubscriptionPageComponent_4)), i1.ɵdid(17, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\\n            \"])), (_l()(), i1.ɵeld(19, 0, null, null, 2, \"create-subscription-panel\", [], null, [[null, \"completed\"], [null, \"loading\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"completed\" === en)) {\n        var pd_0 = (_co.onPaymentMethodChange($event) !== false);\n        ad = (pd_0 && ad);\n    } if ((\"loading\" === en)) {\n        var pd_1 = ((_co.loading = $event) !== false);\n        ad = (pd_1 && ad);\n    } return ad; }, i13.View_CreateSubscriptionPanelComponent_0, i13.RenderType_CreateSubscriptionPanelComponent)), i1.ɵdid(20, 49152, null, 0, i14.CreateSubscriptionPanelComponent, [i15.Subscriptions, i16.CurrentUser, i17.PaypalSubscriptions, i18.Toast, i5.Settings], { submitText: [0, \"submitText\"], disablePaypalTab: [1, \"disablePaypalTab\"], from: [2, \"from\"], plan: [3, \"plan\"] }, { loading: \"loading\", completed: \"completed\" }), i1.ɵppd(21, 1), (_l()(), i1.ɵted(-1, null, [\"\\n        \"]))], function (_ck, _v) { var _co = _v.component; var currVal_2 = (_co.activeSubscription.gateway === \"stripe\"); _ck(_v, 17, 0, currVal_2); var currVal_3 = i1.ɵunv(_v, 20, 0, _ck(_v, 21, 0, i1.ɵnov(_v.parent, 0), \"Change Payment Method\")); var currVal_4 = (_co.activeSubscription.gateway === \"paypal\"); var currVal_5 = _co.activeSubscription; var currVal_6 = _co.getPlan(); _ck(_v, 20, 0, currVal_3, currVal_4, currVal_5, currVal_6); }, function (_ck, _v) { var _co = _v.component; var currVal_0 = i1.ɵunv(_v, 11, 0, _ck(_v, 12, 0, i1.ɵnov(_v.parent, 0), \"Current payment Method\")); _ck(_v, 11, 0, currVal_0); var currVal_1 = ((_co.activeSubscription.gateway === \"paypal\") ? \"PayPal\" : \"Credit Card\"); _ck(_v, 14, 0, currVal_1); }); }\nfunction View_UserSubscriptionPageComponent_5(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 20, \"div\", [[\"class\", \"main-section\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(2, 0, null, null, 2, \"div\", [[\"class\", \"main-section-title\"], [\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(3, 4341760, null, 0, i3.TranslateDirective, [i1.ElementRef, i4.Translations, i5.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"Cancel Subscription\"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n            \"])), (_l()(), i1.ɵeld(6, 0, null, null, 5, \"div\", [[\"class\", \"main-section-content\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n                \"])), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"p\", [[\"trans\", \"\"]], null, null, null, null, null)), i1.ɵdid(9, 4341760, null, 0, i3.TranslateDirective, [i1.ElementRef, i4.Translations, i5.Settings], null, null), (_l()(), i1.ɵted(-1, null, [\"After cancelling subscription, you will have access to your active plan until your billing period end.\"])), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n            \"])), (_l()(), i1.ɵeld(13, 0, null, null, 6, \"div\", [[\"class\", \"main-section-actions\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n                \"])), (_l()(), i1.ɵeld(15, 0, null, null, 3, \"button\", [[\"color\", \"warn\"], [\"mat-raised-button\", \"\"], [\"trans\", \"\"]], [[8, \"disabled\", 0], [2, \"_mat-animation-noopable\", null]], [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n        var pd_0 = (_co.maybeCancelSubscription() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, i2.View_MatButton_0, i2.RenderType_MatButton)), i1.ɵdid(16, 4341760, null, 0, i3.TranslateDirective, [i1.ElementRef, i4.Translations, i5.Settings], null, null), i1.ɵdid(17, 180224, null, 0, i6.MatButton, [i1.ElementRef, i7.Platform, i8.FocusMonitor, [2, i9.ANIMATION_MODULE_TYPE]], { color: [0, \"color\"] }, null), (_l()(), i1.ɵted(-1, 0, [\"Cancel\"])), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵted(-1, null, [\"\\n        \"]))], function (_ck, _v) { var currVal_2 = \"warn\"; _ck(_v, 17, 0, currVal_2); }, function (_ck, _v) { var currVal_0 = (i1.ɵnov(_v, 17).disabled || null); var currVal_1 = (i1.ɵnov(_v, 17)._animationMode === \"NoopAnimations\"); _ck(_v, 15, 0, currVal_0, currVal_1); }); }\nexport function View_UserSubscriptionPageComponent_0(_l) { return i1.ɵvid(0, [i1.ɵpid(0, i19.TransPipe, [i4.Translations]), i1.ɵpid(0, i12.CurrencyPipe, [i1.LOCALE_ID]), (_l()(), i1.ɵeld(2, 0, null, null, 1, \"material-navbar\", [], [[2, \"transparent\", null]], null, null, i20.View_MaterialNavbar_0, i20.RenderType_MaterialNavbar)), i1.ɵdid(3, 114688, null, 0, i21.MaterialNavbar, [i5.Settings, i16.CurrentUser, i1.ElementRef, i22.BreakpointsService], { menuPosition: [0, \"menuPosition\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\\n\"])), (_l()(), i1.ɵeld(5, 0, null, null, 32, \"div\", [[\"class\", \"content container mat-elevation-z1\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵeld(7, 0, null, null, 23, \"div\", [[\"class\", \"main\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(9, 0, null, null, 14, \"div\", [[\"class\", \"main-section\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(11, 0, null, null, 2, \"div\", [[\"class\", \"main-section-title\"]], null, null, null, null, null)), (_l()(), i1.ɵeld(12, 0, null, null, 1, \"full-plan-name\", [], null, null, null, i23.View_FullPlanNameComponent_0, i23.RenderType_FullPlanNameComponent)), i1.ɵdid(13, 49152, null, 0, i24.FullPlanNameComponent, [i4.Translations], { plan: [0, \"plan\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵeld(15, 0, null, null, 7, \"div\", [[\"class\", \"main-section-content\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n                \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_UserSubscriptionPageComponent_1)), i1.ɵdid(18, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\\n                \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_UserSubscriptionPageComponent_2)), i1.ɵdid(21, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n            \"])), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n        \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_UserSubscriptionPageComponent_3)), i1.ɵdid(26, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\\n        \"])), (_l()(), i1.ɵand(16777216, null, null, 1, null, View_UserSubscriptionPageComponent_5)), i1.ɵdid(29, 16384, null, 0, i12.NgIf, [i1.ViewContainerRef, i1.TemplateRef], { ngIf: [0, \"ngIf\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n    \"])), (_l()(), i1.ɵeld(32, 0, null, null, 1, \"upgrade-page-aside\", [], null, null, null, i25.View_UpgradePageAsideComponent_0, i25.RenderType_UpgradePageAsideComponent)), i1.ɵdid(33, 49152, null, 0, i26.UpgradePageAsideComponent, [], { plan: [0, \"plan\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\\n    \"])), (_l()(), i1.ɵeld(35, 0, null, null, 1, \"loading-indicator\", [[\"class\", \"overlay\"]], [[40, \"@visibility\", 0]], null, null, i27.View_LoadingIndicatorComponent_0, i27.RenderType_LoadingIndicatorComponent)), i1.ɵdid(36, 49152, null, 0, i28.LoadingIndicatorComponent, [], { isVisible: [0, \"isVisible\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n\"]))], function (_ck, _v) { var _co = _v.component; var currVal_1 = _co.settings.get(\"vebto.navbar.defaultPosition\"); _ck(_v, 3, 0, currVal_1); var currVal_2 = _co.activeSubscription.plan; _ck(_v, 13, 0, currVal_2); var currVal_3 = _co.canCancel(); _ck(_v, 18, 0, currVal_3); var currVal_4 = _co.canResume(); _ck(_v, 21, 0, currVal_4); var currVal_5 = (_co.canCancel() && _co.canChangePaymentMethod()); _ck(_v, 26, 0, currVal_5); var currVal_6 = _co.canCancel(); _ck(_v, 29, 0, currVal_6); var currVal_7 = _co.getPlan(); _ck(_v, 33, 0, currVal_7); var currVal_9 = _co.loading; _ck(_v, 36, 0, currVal_9); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 3).transparent; _ck(_v, 2, 0, currVal_0); var currVal_8 = i1.ɵnov(_v, 36).isVisible; _ck(_v, 35, 0, currVal_8); }); }\nexport function View_UserSubscriptionPageComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 1, \"user-subscription-page\", [], null, null, null, View_UserSubscriptionPageComponent_0, RenderType_UserSubscriptionPageComponent)), i1.ɵdid(1, 114688, null, 0, i29.UserSubscriptionPageComponent, [i5.Settings, i30.Modal, i15.Subscriptions, i16.CurrentUser, i18.Toast, i31.ActivatedRoute, i17.PaypalSubscriptions], null, null)], function (_ck, _v) { _ck(_v, 1, 0); }, null); }\nvar UserSubscriptionPageComponentNgFactory = i1.ɵccf(\"user-subscription-page\", i29.UserSubscriptionPageComponent, View_UserSubscriptionPageComponent_Host_0, {}, {}, []);\nexport { UserSubscriptionPageComponentNgFactory as UserSubscriptionPageComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\"user-subscription-page{display:block;background-color:#fafafa}user-subscription-page .content{display:flex;padding:0;margin-top:30px;position:relative;background-color:#fff}user-subscription-page .content .main-section{padding:15px;max-width:650px;border:1px solid #e0e0e0;border-radius:3px}user-subscription-page .content .main-section:not(:last-of-type){padding-bottom:25px;margin-bottom:25px}user-subscription-page .content .main-section>.main-section-title{font-size:3rem;font-weight:300}user-subscription-page .content .main-section>.main-title-description{margin-bottom:30px}user-subscription-page .content .main,user-subscription-page .content upgrade-page-aside{padding:30px}user-subscription-page .content .check-icon{color:#689f38}user-subscription-page .card-preview{display:flex;max-width:220px;align-items:center;background-color:#fafafa;border:1px solid #e0e0e0;padding:15px;margin-bottom:25px}user-subscription-page .card-preview>.icon{margin-right:15px}\"];\nexport { styles as styles };\n","<material-navbar [menuPosition]=\"settings.get('vebto.navbar.defaultPosition')\"></material-navbar>\r\n\r\n<div class=\"content container mat-elevation-z1\">\r\n    <div class=\"main\">\r\n        <div class=\"main-section\">\r\n            <div class=\"main-section-title\"><full-plan-name [plan]=\"activeSubscription.plan\"></full-plan-name></div>\r\n            <div class=\"main-section-content\">\r\n                <ng-container *ngIf=\"canCancel()\">\r\n                    <p>\r\n                        {{ 'Your plan will automatically renew on' | trans }}\r\n                        <strong>{{getFormattedRenewDate()}}</strong>\r\n                        {{ \"and you'll be charged\" | trans }}\r\n                        <strong>{{activeSubscription.plan.amount | currency:activeSubscription.plan.currency}}</strong>.\r\n                    </p>\r\n\r\n                    <button mat-raised-button [color]=\"settings.get('vebto.auth.color')\" (click)=\"showSelectPlanModal()\" trans>Change Plan</button>\r\n                </ng-container>\r\n\r\n                <ng-container *ngIf=\"canResume()\">\r\n                    <p>{{ 'You are on a grace period until' | trans }} <strong>{{getFormattedEndDate()}}</strong>. {{ 'Your subscription will not automatically resume and you will not be charged' | trans }}.</p>\r\n                    <p trans>You still have access to your plan's features until this date and you can resume your subscription anytime, by clicking button below.</p>\r\n                    <button mat-raised-button [color]=\"settings.get('vebto.auth.color')\" (click)=\"resumeSubscription()\" trans>Resume</button>\r\n                </ng-container>\r\n            </div>\r\n        </div>\r\n\r\n        <div class=\"main-section\" *ngIf=\"canCancel() && canChangePaymentMethod()\">\r\n            <div class=\"main-section-title\" trans>Payment Method</div>\r\n            <div class=\"main-title-description\" trans>Change your preferred payment method below. You can use a credit card or PayPal.</div>\r\n\r\n            <p>{{ 'Current payment Method' | trans }}: <strong>{{activeSubscription.gateway === 'paypal' ? 'PayPal' : 'Credit Card'}}</strong></p>\r\n\r\n            <div class=\"card-preview\" *ngIf=\"activeSubscription.gateway === 'stripe'\">\r\n                <div class=\"icon\"><mat-icon svgIcon=\"credit-card\"></mat-icon></div>\r\n                <div class=\"info\">{{currentUser.get('card_brand')}} **** {{currentUser.get('card_last_four')}}</div>\r\n            </div>\r\n\r\n            <create-subscription-panel\r\n                    (completed)=\"onPaymentMethodChange($event)\"\r\n                    (loading)=\"loading = $event\"\r\n                    [plan]=\"getPlan()\"\r\n                    [from]=\"activeSubscription\"\r\n                    [disablePaypalTab]=\"activeSubscription.gateway === 'paypal'\"\r\n                    [submitText]=\"'Change Payment Method' | trans\"\r\n            ></create-subscription-panel>\r\n        </div>\r\n\r\n        <div class=\"main-section\" *ngIf=\"canCancel()\">\r\n            <div class=\"main-section-title\" trans>Cancel Subscription</div>\r\n\r\n            <div class=\"main-section-content\">\r\n                <p trans>After cancelling subscription, you will have access to your active plan until your billing period end.</p>\r\n            </div>\r\n\r\n            <div class=\"main-section-actions\">\r\n                <button mat-raised-button color=\"warn\" (click)=\"maybeCancelSubscription()\" trans>Cancel</button>\r\n            </div>\r\n        </div>\r\n    </div>\r\n\r\n    <upgrade-page-aside [plan]=\"getPlan()\"></upgrade-page-aside>\r\n\r\n    <loading-indicator class=\"overlay\" [isVisible]=\"loading\"></loading-indicator>\r\n</div>\r\n\r\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"./select-plan-modal.component.scss.ngstyle\";\nimport * as i1 from \"@angular/core\";\nimport * as i2 from \"../../../core/translations/translate.directive\";\nimport * as i3 from \"../../../core/translations/translations.service\";\nimport * as i4 from \"../../../core/config/settings.service\";\nimport * as i5 from \"@angular/material/dialog\";\nimport * as i6 from \"../../../../../node_modules/@angular/material/icon/typings/index.ngfactory\";\nimport * as i7 from \"@angular/material/icon\";\nimport * as i8 from \"../../../../../node_modules/@angular/material/stepper/typings/index.ngfactory\";\nimport * as i9 from \"@angular/material/stepper\";\nimport * as i10 from \"@angular/cdk/bidi\";\nimport * as i11 from \"@angular/common\";\nimport * as i12 from \"@angular/material/core\";\nimport * as i13 from \"@angular/cdk/stepper\";\nimport * as i14 from \"../select-plan-panel/select-plan-panel.component.ngfactory\";\nimport * as i15 from \"../select-plan-panel/select-plan-panel.component\";\nimport * as i16 from \"../../subscriptions/subscription-stepper-state.service\";\nimport * as i17 from \"../select-plan-period-panel/select-plan-period-panel.component.ngfactory\";\nimport * as i18 from \"../select-plan-period-panel/select-plan-period-panel.component\";\nimport * as i19 from \"./select-plan-modal.component\";\nvar styles_SelectPlanModalComponent = [i0.styles];\nvar RenderType_SelectPlanModalComponent = i1.ɵcrt({ encapsulation: 2, styles: styles_SelectPlanModalComponent, data: {} });\nexport { RenderType_SelectPlanModalComponent as RenderType_SelectPlanModalComponent };\nexport function View_SelectPlanModalComponent_0(_l) { return i1.ɵvid(0, [i1.ɵqud(402653184, 1, { stepper: 0 }), (_l()(), i1.ɵeld(1, 0, null, null, 10, \"div\", [[\"class\", \"modal-header\"]], null, null, null, null, null)), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵeld(3, 0, null, null, 3, \"h2\", [[\"class\", \"modal-title mat-dialog-title\"], [\"mat-dialog-title\", \"\"], [\"trans\", \"\"]], [[8, \"id\", 0]], null, null, null, null)), i1.ɵdid(4, 4341760, null, 0, i2.TranslateDirective, [i1.ElementRef, i3.Translations, i4.Settings], null, null), i1.ɵdid(5, 81920, null, 0, i5.MatDialogTitle, [[2, i5.MatDialogRef], i1.ElementRef, i5.MatDialog], null, null), (_l()(), i1.ɵted(-1, null, [\"Select Plan\"])), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵeld(8, 0, null, null, 2, \"button\", [[\"class\", \"close-button no-style icon-button\"], [\"type\", \"button\"]], null, [[null, \"click\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"click\" === en)) {\n        var pd_0 = (_co.close() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, null, null)), (_l()(), i1.ɵeld(9, 0, null, null, 1, \"mat-icon\", [[\"class\", \"mat-icon notranslate\"], [\"role\", \"img\"], [\"svgIcon\", \"close\"]], [[2, \"mat-icon-inline\", null], [2, \"mat-icon-no-color\", null]], null, null, i6.View_MatIcon_0, i6.RenderType_MatIcon)), i1.ɵdid(10, 9158656, null, 0, i7.MatIcon, [i1.ElementRef, i7.MatIconRegistry, [8, null], [2, i7.MAT_ICON_LOCATION]], { svgIcon: [0, \"svgIcon\"] }, null), (_l()(), i1.ɵted(-1, null, [\"\\n\"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n\"])), (_l()(), i1.ɵeld(13, 0, null, null, 27, \"div\", [[\"class\", \"mat-dialog-contents mat-dialog-content\"], [\"mat-dialog-content\", \"\"]], null, null, null, null, null)), i1.ɵdid(14, 16384, null, 0, i5.MatDialogContent, [], null, null), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵeld(16, 0, null, null, 23, \"mat-horizontal-stepper\", [[\"aria-orientation\", \"horizontal\"], [\"class\", \"mat-stepper-horizontal\"], [\"role\", \"tablist\"]], [[2, \"mat-stepper-label-position-end\", null], [2, \"mat-stepper-label-position-bottom\", null]], null, null, i8.View_MatHorizontalStepper_0, i8.RenderType_MatHorizontalStepper)), i1.ɵdid(17, 5423104, [[1, 4]], 2, i9.MatHorizontalStepper, [[2, i10.Directionality], i1.ChangeDetectorRef, i1.ElementRef, i11.DOCUMENT], { linear: [0, \"linear\"] }, null), i1.ɵqud(603979776, 2, { _steps: 1 }), i1.ɵqud(603979776, 3, { _icons: 1 }), i1.ɵprd(2048, null, i9.MatStepper, null, [i9.MatHorizontalStepper]), (_l()(), i1.ɵted(-1, null, [\"\\n        \"])), (_l()(), i1.ɵeld(22, 0, null, null, 7, \"mat-step\", [[\"label\", \"Subscription plan\"]], null, null, null, i8.View_MatStep_0, i8.RenderType_MatStep)), i1.ɵprd(6144, null, i12.ErrorStateMatcher, null, [i9.MatStep]), i1.ɵdid(24, 573440, [[2, 4]], 1, i9.MatStep, [i9.MatStepper, [1, i12.ErrorStateMatcher], [2, i13.STEPPER_GLOBAL_OPTIONS]], { label: [0, \"label\"], completed: [1, \"completed\"] }, null), i1.ɵqud(335544320, 4, { stepLabel: 0 }), (_l()(), i1.ɵted(-1, 0, [\"\\n            \"])), (_l()(), i1.ɵeld(27, 0, null, 0, 1, \"select-plan-panel\", [], null, [[null, \"selected\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selected\" === en)) {\n        var pd_0 = (_co.nextStep() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, i14.View_SelectPlanPanelComponent_0, i14.RenderType_SelectPlanPanelComponent)), i1.ɵdid(28, 114688, null, 0, i15.SelectPlanPanelComponent, [i16.SubscriptionStepperState], null, { selected: \"selected\" }), (_l()(), i1.ɵted(-1, 0, [\"\\n        \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\\n        \"])), (_l()(), i1.ɵeld(31, 0, null, null, 7, \"mat-step\", [[\"label\", \"Subscription interval\"]], null, null, null, i8.View_MatStep_0, i8.RenderType_MatStep)), i1.ɵprd(6144, null, i12.ErrorStateMatcher, null, [i9.MatStep]), i1.ɵdid(33, 573440, [[2, 4]], 1, i9.MatStep, [i9.MatStepper, [1, i12.ErrorStateMatcher], [2, i13.STEPPER_GLOBAL_OPTIONS]], { label: [0, \"label\"], completed: [1, \"completed\"] }, null), i1.ɵqud(335544320, 5, { stepLabel: 0 }), (_l()(), i1.ɵted(-1, 0, [\"\\n            \"])), (_l()(), i1.ɵeld(36, 0, null, 0, 1, \"select-plan-period-panel\", [], null, [[null, \"selected\"]], function (_v, en, $event) { var ad = true; var _co = _v.component; if ((\"selected\" === en)) {\n        var pd_0 = (_co.close() !== false);\n        ad = (pd_0 && ad);\n    } return ad; }, i17.View_SelectPlanPeriodPanelComponent_0, i17.RenderType_SelectPlanPeriodPanelComponent)), i1.ɵdid(37, 49152, null, 0, i18.SelectPlanPeriodPanelComponent, [i16.SubscriptionStepperState], { showSidebar: [0, \"showSidebar\"] }, { selected: \"selected\" }), (_l()(), i1.ɵted(-1, 0, [\"\\n        \"])), (_l()(), i1.ɵted(-1, null, [\"\\n    \"])), (_l()(), i1.ɵted(-1, null, [\"\\n\"]))], function (_ck, _v) { var _co = _v.component; _ck(_v, 5, 0); var currVal_3 = \"close\"; _ck(_v, 10, 0, currVal_3); var currVal_6 = true; _ck(_v, 17, 0, currVal_6); var currVal_7 = \"Subscription plan\"; var currVal_8 = _co.state.initialPlan; _ck(_v, 24, 0, currVal_7, currVal_8); _ck(_v, 28, 0); var currVal_9 = \"Subscription interval\"; var currVal_10 = _co.state.selectedPlan; _ck(_v, 33, 0, currVal_9, currVal_10); var currVal_11 = false; _ck(_v, 37, 0, currVal_11); }, function (_ck, _v) { var currVal_0 = i1.ɵnov(_v, 5).id; _ck(_v, 3, 0, currVal_0); var currVal_1 = i1.ɵnov(_v, 10).inline; var currVal_2 = (((i1.ɵnov(_v, 10).color !== \"primary\") && (i1.ɵnov(_v, 10).color !== \"accent\")) && (i1.ɵnov(_v, 10).color !== \"warn\")); _ck(_v, 9, 0, currVal_1, currVal_2); var currVal_4 = (i1.ɵnov(_v, 17).labelPosition == \"end\"); var currVal_5 = (i1.ɵnov(_v, 17).labelPosition == \"bottom\"); _ck(_v, 16, 0, currVal_4, currVal_5); }); }\nexport function View_SelectPlanModalComponent_Host_0(_l) { return i1.ɵvid(0, [(_l()(), i1.ɵeld(0, 0, null, null, 2, \"select-plan-modal\", [], null, null, null, View_SelectPlanModalComponent_0, RenderType_SelectPlanModalComponent)), i1.ɵprd(512, null, i16.SubscriptionStepperState, i16.SubscriptionStepperState, []), i1.ɵdid(2, 114688, null, 0, i19.SelectPlanModalComponent, [i5.MatDialogRef, i5.MAT_DIALOG_DATA, i16.SubscriptionStepperState], null, null)], function (_ck, _v) { _ck(_v, 2, 0); }, null); }\nvar SelectPlanModalComponentNgFactory = i1.ɵccf(\"select-plan-modal\", i19.SelectPlanModalComponent, View_SelectPlanModalComponent_Host_0, {}, {}, []);\nexport { SelectPlanModalComponentNgFactory as SelectPlanModalComponentNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nvar styles = [\".select-plan-modal-container{width:1200px}.select-plan-modal-container .mat-dialog-container{background-color:#fafafa}select-plan-modal{display:block}select-plan-modal .mat-stepper-horizontal{background-color:inherit;margin:0 50px}select-plan-modal select-plan-panel,select-plan-modal select-plan-period-panel{padding:20px 0 5px}\"];\nexport { styles as styles };\n","<div class=\"modal-header\">\r\n    <h2 class=\"modal-title\" mat-dialog-title trans>Select Plan</h2>\r\n    <button type=\"button\" (click)=\"close()\" class=\"close-button no-style icon-button\"><mat-icon svgIcon=\"close\"></mat-icon></button>\r\n</div>\r\n\r\n<div class=\"mat-dialog-contents\" mat-dialog-content>\r\n    <mat-horizontal-stepper [linear]=\"true\">\r\n        <mat-step label=\"Subscription plan\" [completed]=\"state.initialPlan\">\r\n            <select-plan-panel (selected)=\"nextStep()\"></select-plan-panel>\r\n        </mat-step>\r\n\r\n        <mat-step label=\"Subscription interval\" [completed]=\"state.selectedPlan\">\r\n            <select-plan-period-panel [showSidebar]=\"false\" (selected)=\"close()\"></select-plan-period-panel>\r\n        </mat-step>\r\n    </mat-horizontal-stepper>\r\n</div>","import {Injectable} from '@angular/core';\r\nimport {Resolve, RouterStateSnapshot, ActivatedRouteSnapshot} from '@angular/router';\r\nimport {map} from 'rxjs/operators';\r\nimport { Plan } from '../../shared/billing/models/plan';\r\nimport { Plans } from '../../shared/billing/plans.service';\r\n\r\n@Injectable()\r\nexport class BillingPlansResolver implements Resolve<Plan[]> {\r\n\r\n    constructor(private plans: Plans) {}\r\n\r\n    resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<Plan[]> {\r\n        return this.plans.all({order: 'position|asc'}).pipe(map(response => response.data)).toPromise();\r\n    }\r\n}\r\n\r\n","import {Injectable} from '@angular/core';\r\nimport {Resolve, RouterStateSnapshot, ActivatedRouteSnapshot} from '@angular/router';\r\nimport {map} from 'rxjs/operators';\r\nimport {ValueLists} from '../../core/services/value-lists.service';\r\n\r\n@Injectable()\r\nexport class CurrenciesListResolver implements Resolve<any> {\r\n    constructor(private valueLists: ValueLists) {}\r\n\r\n    resolve(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<any> {\r\n        return this.valueLists.get(['currencies']).pipe(map(response => response.currencies)).toPromise();\r\n    }\r\n}\r\n\r\n","import {Injectable} from '@angular/core';\r\nimport {CanActivate, Router, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild} from '@angular/router';\r\nimport {CurrentUser} from '../../auth/current-user';\r\n\r\n@Injectable()\r\nexport class UserNotSubscribedGuard implements CanActivate, CanActivateChild {\r\n\r\n    constructor(private currentUser: CurrentUser, private router: Router) {}\r\n\r\n    canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\r\n        return this.handle();\r\n    }\r\n\r\n    canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\r\n        return this.handle();\r\n    }\r\n\r\n    private handle() {\r\n        if ( ! this.currentUser.isSubscribed()) { return true; }\r\n\r\n        this.router.navigate(['/billing/subscription']);\r\n\r\n        return false;\r\n    }\r\n}\r\n","import {Injectable} from '@angular/core';\r\nimport {CanActivate, Router, ActivatedRouteSnapshot, RouterStateSnapshot, CanActivateChild} from '@angular/router';\r\nimport {CurrentUser} from '../../auth/current-user';\r\n\r\n@Injectable()\r\nexport class UserSubscribedGuard implements CanActivate, CanActivateChild {\r\n\r\n    constructor(private currentUser: CurrentUser, private router: Router) {}\r\n\r\n    canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\r\n        return this.handle();\r\n    }\r\n\r\n    canActivateChild(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\r\n        return this.handle()\r\n    }\r\n\r\n    private handle() {\r\n        if (this.currentUser.isSubscribed()) { return true; }\r\n\r\n        this.router.navigate(['/billing/upgrade']);\r\n\r\n        return false;\r\n    }\r\n}","import { Route, RouterModule } from '@angular/router';\r\nimport { UpgradePageComponent } from './upgrade-page/upgrade-page.component';\r\nimport { NgModule } from '@angular/core';\r\nimport { BillingPlansResolver } from './upgrade-page/billing-plans-resolver.service';\r\nimport { UserSubscriptionPageComponent } from './subscriptions/user-subscription-page/user-subscription-page.component';\r\nimport { CurrenciesListResolver } from './upgrade-page/currencies-list-resolver.service';\r\nimport { UserNotSubscribedGuard } from './guards/user-not-subscribed-guard.service';\r\nimport { UserSubscribedGuard } from './guards/user-subscribed-guard.service';\r\nimport { AuthGuard } from '../guards/auth-guard.service';\r\nimport { BillingEnabledGuard } from '../shared/billing/guards/billing-enabled-guard.service';\r\n\r\nexport const routes: Route[] = [\r\n    {\r\n        path: 'upgrade',\r\n        component: UpgradePageComponent,\r\n        canActivate: [BillingEnabledGuard, AuthGuard, UserNotSubscribedGuard],\r\n        resolve: {\r\n            plans: BillingPlansResolver,\r\n            currencies: CurrenciesListResolver\r\n        }\r\n    },\r\n    {\r\n        path: 'subscription',\r\n        component: UserSubscriptionPageComponent,\r\n        resolve: { plans: BillingPlansResolver },\r\n        canActivate: [BillingEnabledGuard, AuthGuard, UserSubscribedGuard],\r\n        data: { name: 'account-settings-subscription' }\r\n    }\r\n];\r\n\r\n@NgModule({\r\n    imports: [RouterModule.forChild(routes)],\r\n    exports: [RouterModule]\r\n})\r\nexport class BillingRoutingModule {}\r\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./billing.module\";\nimport * as i2 from \"../../../node_modules/@angular/router/router.ngfactory\";\nimport * as i3 from \"../../../node_modules/@angular/material/dialog/typings/index.ngfactory\";\nimport * as i4 from \"../core/ui/confirm-modal/confirm-modal.component.ngfactory\";\nimport * as i5 from \"../../../node_modules/@angular/material/snack-bar/typings/index.ngfactory\";\nimport * as i6 from \"../../../node_modules/@angular/material/tooltip/typings/index.ngfactory\";\nimport * as i7 from \"./upgrade-page/upgrade-page.component.ngfactory\";\nimport * as i8 from \"./subscriptions/user-subscription-page/user-subscription-page.component.ngfactory\";\nimport * as i9 from \"./plans/select-plan-modal/select-plan-modal.component.ngfactory\";\nimport * as i10 from \"@angular/common\";\nimport * as i11 from \"@angular/forms\";\nimport * as i12 from \"@angular/common/http\";\nimport * as i13 from \"@angular/cdk/overlay\";\nimport * as i14 from \"@angular/cdk/bidi\";\nimport * as i15 from \"@angular/material/dialog\";\nimport * as i16 from \"../core/ui/dialogs/modal.service\";\nimport * as i17 from \"@angular/material/menu\";\nimport * as i18 from \"@angular/cdk/observers\";\nimport * as i19 from \"@angular/material/tooltip\";\nimport * as i20 from \"@angular/platform-browser\";\nimport * as i21 from \"@angular/material/core\";\nimport * as i22 from \"../core/ui/breakpoints.service\";\nimport * as i23 from \"@angular/cdk/layout\";\nimport * as i24 from \"@angular/material/stepper\";\nimport * as i25 from \"./upgrade-page/billing-plans-resolver.service\";\nimport * as i26 from \"../shared/billing/plans.service\";\nimport * as i27 from \"./upgrade-page/currencies-list-resolver.service\";\nimport * as i28 from \"../core/services/value-lists.service\";\nimport * as i29 from \"./subscriptions/paypal-subscriptions\";\nimport * as i30 from \"../core/http/app-http-client.service\";\nimport * as i31 from \"../core/config/settings.service\";\nimport * as i32 from \"../shared/billing/subscriptions.service\";\nimport * as i33 from \"./subscriptions/subscription-stepper-state.service\";\nimport * as i34 from \"./guards/user-not-subscribed-guard.service\";\nimport * as i35 from \"../auth/current-user\";\nimport * as i36 from \"@angular/router\";\nimport * as i37 from \"./guards/user-subscribed-guard.service\";\nimport * as i38 from \"../core/ui/custom-scrollbar/custom-scrollbar.module\";\nimport * as i39 from \"@angular/cdk/portal\";\nimport * as i40 from \"@angular/cdk/platform\";\nimport * as i41 from \"@angular/cdk/scrolling\";\nimport * as i42 from \"@angular/material/button\";\nimport * as i43 from \"@angular/material/icon\";\nimport * as i44 from \"../core/ui/confirm-modal/confirm-modal.module\";\nimport * as i45 from \"../core/translations/translations.module\";\nimport * as i46 from \"@angular/material/snack-bar\";\nimport * as i47 from \"@angular/material/checkbox\";\nimport * as i48 from \"@angular/cdk/a11y\";\nimport * as i49 from \"../core/ui/ui.module\";\nimport * as i50 from \"./billing-routing.module\";\nimport * as i51 from \"../shared/billing/full-plan-name/full-plan-name.module\";\nimport * as i52 from \"@angular/material/divider\";\nimport * as i53 from \"@angular/material/list\";\nimport * as i54 from \"@angular/cdk/stepper\";\nimport * as i55 from \"@angular/material/progress-bar\";\nimport * as i56 from \"@angular/material/tabs\";\nimport * as i57 from \"@angular/material/radio\";\nimport * as i58 from \"./upgrade-page/upgrade-page.component\";\nimport * as i59 from \"../shared/billing/guards/billing-enabled-guard.service\";\nimport * as i60 from \"../guards/auth-guard.service\";\nimport * as i61 from \"./subscriptions/user-subscription-page/user-subscription-page.component\";\nvar BillingModuleNgFactory = i0.ɵcmf(i1.BillingModule, [], function (_l) { return i0.ɵmod([i0.ɵmpd(512, i0.ComponentFactoryResolver, i0.ɵCodegenComponentFactoryResolver, [[8, [i2.ɵEmptyOutletComponentNgFactory, i3.MatDialogContainerNgFactory, i4.ConfirmModalComponentNgFactory, i5.MatSnackBarContainerNgFactory, i5.SimpleSnackBarNgFactory, i6.TooltipComponentNgFactory, i7.UpgradePageComponentNgFactory, i8.UserSubscriptionPageComponentNgFactory, i9.SelectPlanModalComponentNgFactory]], [3, i0.ComponentFactoryResolver], i0.NgModuleRef]), i0.ɵmpd(4608, i10.NgLocalization, i10.NgLocaleLocalization, [i0.LOCALE_ID, [2, i10.ɵangular_packages_common_common_a]]), i0.ɵmpd(4608, i11.ɵangular_packages_forms_forms_j, i11.ɵangular_packages_forms_forms_j, []), i0.ɵmpd(4608, i11.FormBuilder, i11.FormBuilder, []), i0.ɵmpd(4608, i12.HttpXsrfTokenExtractor, i12.ɵangular_packages_common_http_http_g, [i10.DOCUMENT, i0.PLATFORM_ID, i12.ɵangular_packages_common_http_http_e]), i0.ɵmpd(4608, i12.ɵangular_packages_common_http_http_h, i12.ɵangular_packages_common_http_http_h, [i12.HttpXsrfTokenExtractor, i12.ɵangular_packages_common_http_http_f]), i0.ɵmpd(5120, i12.HTTP_INTERCEPTORS, function (p0_0) { return [p0_0]; }, [i12.ɵangular_packages_common_http_http_h]), i0.ɵmpd(4608, i12.ɵangular_packages_common_http_http_d, i12.ɵangular_packages_common_http_http_d, []), i0.ɵmpd(6144, i12.XhrFactory, null, [i12.ɵangular_packages_common_http_http_d]), i0.ɵmpd(4608, i12.HttpXhrBackend, i12.HttpXhrBackend, [i12.XhrFactory]), i0.ɵmpd(6144, i12.HttpBackend, null, [i12.HttpXhrBackend]), i0.ɵmpd(4608, i12.HttpHandler, i12.ɵHttpInterceptingHandler, [i12.HttpBackend, i0.Injector]), i0.ɵmpd(4608, i12.HttpClient, i12.HttpClient, [i12.HttpHandler]), i0.ɵmpd(4608, i13.Overlay, i13.Overlay, [i13.ScrollStrategyOptions, i13.OverlayContainer, i0.ComponentFactoryResolver, i13.OverlayPositionBuilder, i13.OverlayKeyboardDispatcher, i0.Injector, i0.NgZone, i10.DOCUMENT, i14.Directionality, [2, i10.Location]]), i0.ɵmpd(5120, i13.ɵc, i13.ɵd, [i13.Overlay]), i0.ɵmpd(5120, i15.MAT_DIALOG_SCROLL_STRATEGY, i15.MAT_DIALOG_SCROLL_STRATEGY_PROVIDER_FACTORY, [i13.Overlay]), i0.ɵmpd(135680, i15.MatDialog, i15.MatDialog, [i13.Overlay, i0.Injector, [2, i10.Location], [2, i15.MAT_DIALOG_DEFAULT_OPTIONS], i15.MAT_DIALOG_SCROLL_STRATEGY, [3, i15.MatDialog], i13.OverlayContainer]), i0.ɵmpd(4608, i16.Modal, i16.Modal, [i15.MatDialog]), i0.ɵmpd(5120, i17.MAT_MENU_SCROLL_STRATEGY, i17.ɵd21, [i13.Overlay]), i0.ɵmpd(4608, i18.MutationObserverFactory, i18.MutationObserverFactory, []), i0.ɵmpd(5120, i19.MAT_TOOLTIP_SCROLL_STRATEGY, i19.MAT_TOOLTIP_SCROLL_STRATEGY_FACTORY, [i13.Overlay]), i0.ɵmpd(4608, i20.HAMMER_GESTURE_CONFIG, i21.GestureConfig, [[2, i21.MAT_HAMMER_OPTIONS], [2, i21.MatCommonModule]]), i0.ɵmpd(4608, i22.BreakpointsService, i22.BreakpointsService, [i23.BreakpointObserver]), i0.ɵmpd(5120, i24.MatStepperIntl, i24.MAT_STEPPER_INTL_PROVIDER_FACTORY, [[3, i24.MatStepperIntl]]), i0.ɵmpd(4608, i21.ErrorStateMatcher, i21.ErrorStateMatcher, []), i0.ɵmpd(4608, i25.BillingPlansResolver, i25.BillingPlansResolver, [i26.Plans]), i0.ɵmpd(4608, i27.CurrenciesListResolver, i27.CurrenciesListResolver, [i28.ValueLists]), i0.ɵmpd(4608, i29.PaypalSubscriptions, i29.PaypalSubscriptions, [i30.AppHttpClient, i31.Settings, i32.Subscriptions]), i0.ɵmpd(4608, i33.SubscriptionStepperState, i33.SubscriptionStepperState, []), i0.ɵmpd(4608, i34.UserNotSubscribedGuard, i34.UserNotSubscribedGuard, [i35.CurrentUser, i36.Router]), i0.ɵmpd(4608, i37.UserSubscribedGuard, i37.UserSubscribedGuard, [i35.CurrentUser, i36.Router]), i0.ɵmpd(1073742336, i10.CommonModule, i10.CommonModule, []), i0.ɵmpd(1073742336, i11.ɵangular_packages_forms_forms_bc, i11.ɵangular_packages_forms_forms_bc, []), i0.ɵmpd(1073742336, i11.FormsModule, i11.FormsModule, []), i0.ɵmpd(1073742336, i11.ReactiveFormsModule, i11.ReactiveFormsModule, []), i0.ɵmpd(1073742336, i36.RouterModule, i36.RouterModule, [[2, i36.ɵangular_packages_router_router_a], [2, i36.Router]]), i0.ɵmpd(1073742336, i12.HttpClientXsrfModule, i12.HttpClientXsrfModule, []), i0.ɵmpd(1073742336, i12.HttpClientModule, i12.HttpClientModule, []), i0.ɵmpd(1073742336, i38.CustomScrollbarModule, i38.CustomScrollbarModule, []), i0.ɵmpd(1073742336, i14.BidiModule, i14.BidiModule, []), i0.ɵmpd(1073742336, i39.PortalModule, i39.PortalModule, []), i0.ɵmpd(1073742336, i40.PlatformModule, i40.PlatformModule, []), i0.ɵmpd(1073742336, i41.ScrollingModule, i41.ScrollingModule, []), i0.ɵmpd(1073742336, i13.OverlayModule, i13.OverlayModule, []), i0.ɵmpd(1073742336, i21.MatCommonModule, i21.MatCommonModule, [[2, i21.MATERIAL_SANITY_CHECKS], [2, i20.HAMMER_LOADER]]), i0.ɵmpd(1073742336, i15.MatDialogModule, i15.MatDialogModule, []), i0.ɵmpd(1073742336, i21.MatRippleModule, i21.MatRippleModule, []), i0.ɵmpd(1073742336, i42.MatButtonModule, i42.MatButtonModule, []), i0.ɵmpd(1073742336, i43.MatIconModule, i43.MatIconModule, []), i0.ɵmpd(1073742336, i44.ConfirmModalModule, i44.ConfirmModalModule, []), i0.ɵmpd(1073742336, i45.TranslationsModule, i45.TranslationsModule, []), i0.ɵmpd(1073742336, i46.MatSnackBarModule, i46.MatSnackBarModule, []), i0.ɵmpd(1073742336, i17.MatMenuModule, i17.MatMenuModule, []), i0.ɵmpd(1073742336, i18.ObserversModule, i18.ObserversModule, []), i0.ɵmpd(1073742336, i47.MatCheckboxModule, i47.MatCheckboxModule, []), i0.ɵmpd(1073742336, i48.A11yModule, i48.A11yModule, []), i0.ɵmpd(1073742336, i19.MatTooltipModule, i19.MatTooltipModule, []), i0.ɵmpd(1073742336, i49.UiModule, i49.UiModule, [i43.MatIconRegistry, i20.DomSanitizer, i31.Settings]), i0.ɵmpd(1073742336, i50.BillingRoutingModule, i50.BillingRoutingModule, []), i0.ɵmpd(1073742336, i51.FullPlanNameModule, i51.FullPlanNameModule, []), i0.ɵmpd(1073742336, i21.MatLineModule, i21.MatLineModule, []), i0.ɵmpd(1073742336, i21.MatPseudoCheckboxModule, i21.MatPseudoCheckboxModule, []), i0.ɵmpd(1073742336, i52.MatDividerModule, i52.MatDividerModule, []), i0.ɵmpd(1073742336, i53.MatListModule, i53.MatListModule, []), i0.ɵmpd(1073742336, i54.CdkStepperModule, i54.CdkStepperModule, []), i0.ɵmpd(1073742336, i24.MatStepperModule, i24.MatStepperModule, []), i0.ɵmpd(1073742336, i55.MatProgressBarModule, i55.MatProgressBarModule, []), i0.ɵmpd(1073742336, i56.MatTabsModule, i56.MatTabsModule, []), i0.ɵmpd(1073742336, i57.MatRadioModule, i57.MatRadioModule, []), i0.ɵmpd(1073742336, i1.BillingModule, i1.BillingModule, []), i0.ɵmpd(256, i12.ɵangular_packages_common_http_http_e, \"XSRF-TOKEN\", []), i0.ɵmpd(256, i12.ɵangular_packages_common_http_http_f, \"X-XSRF-TOKEN\", []), i0.ɵmpd(1024, i36.ROUTES, function () { return [[{ path: \"upgrade\", component: i58.UpgradePageComponent, canActivate: [i59.BillingEnabledGuard, i60.AuthGuard, i34.UserNotSubscribedGuard], resolve: { plans: i25.BillingPlansResolver, currencies: i27.CurrenciesListResolver } }, { path: \"subscription\", component: i61.UserSubscriptionPageComponent, resolve: { plans: i25.BillingPlansResolver }, canActivate: [i59.BillingEnabledGuard, i60.AuthGuard, i37.UserSubscribedGuard], data: { name: \"account-settings-subscription\" } }]]; }, [])]); });\nexport { BillingModuleNgFactory as BillingModuleNgFactory };\n","/**\n * @fileoverview This file was generated by the Angular template compiler. Do not edit.\n *\n * @suppress {suspiciousCode,uselessCode,missingProperties,missingOverride,checkTypes}\n * tslint:disable\n */ \nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"./full-plan-name.component\";\nimport * as i2 from \"../../../core/translations/translations.service\";\nvar styles_FullPlanNameComponent = [];\nvar RenderType_FullPlanNameComponent = i0.ɵcrt({ encapsulation: 2, styles: styles_FullPlanNameComponent, data: {} });\nexport { RenderType_FullPlanNameComponent as RenderType_FullPlanNameComponent };\nexport function View_FullPlanNameComponent_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵted(0, null, [\"\", \"\"]))], null, function (_ck, _v) { var _co = _v.component; var currVal_0 = _co.getFullPlanName(); _ck(_v, 0, 0, currVal_0); }); }\nexport function View_FullPlanNameComponent_Host_0(_l) { return i0.ɵvid(0, [(_l()(), i0.ɵeld(0, 0, null, null, 1, \"full-plan-name\", [], null, null, null, View_FullPlanNameComponent_0, RenderType_FullPlanNameComponent)), i0.ɵdid(1, 49152, null, 0, i1.FullPlanNameComponent, [i2.Translations], null, null)], null, null); }\nvar FullPlanNameComponentNgFactory = i0.ɵccf(\"full-plan-name\", i1.FullPlanNameComponent, View_FullPlanNameComponent_Host_0, { plan: \"plan\" }, {}, []);\nexport { FullPlanNameComponentNgFactory as FullPlanNameComponentNgFactory };\n","{{getFullPlanName()}}","import { AppHttpClient } from '../../core/http/app-http-client.service';\nimport * as i0 from \"@angular/core\";\nimport * as i1 from \"../../core/http/app-http-client.service\";\nvar Subscriptions = /** @class */ (function () {\n    /**\n     * Subscriptions constructor.\n     */\n    function Subscriptions(http) {\n        this.http = http;\n    }\n    /**\n     * Get all available subscriptions.\n     */\n    Subscriptions.prototype.all = function (params) {\n        return this.http.get('billing/subscriptions', params);\n    };\n    /**\n     * Get subscription matching specified id.\n     */\n    Subscriptions.prototype.get = function (id) {\n        return this.http.get('billing/subscriptions/' + id);\n    };\n    /**\n     * Create a new subscription on stripe.\n     */\n    Subscriptions.prototype.createOnStripe = function (params) {\n        return this.http.post('billing/subscriptions/stripe', params);\n    };\n    /**\n     * Update subscription matching specified id.\n     */\n    Subscriptions.prototype.update = function (id, params) {\n        return this.http.put('billing/subscriptions/' + id, params);\n    };\n    /**\n     * Create a new subscription.\n     */\n    Subscriptions.prototype.create = function (params) {\n        return this.http.post('billing/subscriptions', params);\n    };\n    /**\n     * Cancel subscription matching specified id.\n     */\n    Subscriptions.prototype.cancel = function (id, params) {\n        return this.http.delete('billing/subscriptions/' + id, params);\n    };\n    Subscriptions.prototype.resume = function (id) {\n        return this.http.post('billing/subscriptions/' + id + '/resume');\n    };\n    Subscriptions.prototype.changePlan = function (id, plan) {\n        return this.http.post('billing/subscriptions/' + id + '/change-plan', { newPlanId: plan.id });\n    };\n    Subscriptions.prototype.addCard = function (token) {\n        return this.http.post('billing/stripe/cards/add', { token: token });\n    };\n    Subscriptions.ngInjectableDef = i0.defineInjectable({ factory: function Subscriptions_Factory() { return new Subscriptions(i0.inject(i1.AppHttpClient)); }, token: Subscriptions, providedIn: \"root\" });\n    return Subscriptions;\n}());\nexport { Subscriptions };\n","import {Injectable} from '@angular/core';\r\nimport {Observable} from 'rxjs';\r\nimport {AppHttpClient} from '../../core/http/app-http-client.service';\r\nimport {PaginationResponse} from '../../core/types/pagination-response';\r\nimport {User} from '../../core/types/models/User';\r\nimport { Subscription } from './models/subscription';\r\nimport { Plan } from './models/plan';\r\n\r\n@Injectable({\r\n    providedIn: 'root'\r\n})\r\nexport class Subscriptions {\r\n\r\n    /**\r\n     * Subscriptions constructor.\r\n     */\r\n    constructor(private http: AppHttpClient) {}\r\n\r\n    /**\r\n     * Get all available subscriptions.\r\n     */\r\n    public all(params?: object): Observable<PaginationResponse<Subscription>> {\r\n        return this.http.get('billing/subscriptions', params);\r\n    }\r\n\r\n    /**\r\n     * Get subscription matching specified id.\r\n     */\r\n    public get(id: number): Observable<{subscription: Subscription}> {\r\n        return this.http.get('billing/subscriptions/' + id);\r\n    }\r\n\r\n    /**\r\n     * Create a new subscription on stripe.\r\n     */\r\n    public createOnStripe(params: {plan_id: number, start_date?: string}): Observable<{user: User}> {\r\n        return this.http.post('billing/subscriptions/stripe', params);\r\n    }\r\n\r\n    /**\r\n     * Update subscription matching specified id.\r\n     */\r\n    public update(id: number, params: object): Observable<{subscription: Subscription}> {\r\n        return this.http.put('billing/subscriptions/' + id, params);\r\n    }\r\n\r\n    /**\r\n     * Create a new subscription.\r\n     */\r\n    public create(params: object): Observable<{subscription: Subscription}> {\r\n        return this.http.post('billing/subscriptions', params);\r\n    }\r\n\r\n    /**\r\n     * Cancel subscription matching specified id.\r\n     */\r\n    public cancel(id: number, params: {delete: boolean}): Observable<{user: User}> {\r\n        return this.http.delete('billing/subscriptions/' + id, params);\r\n    }\r\n\r\n    public resume(id: number): Observable<{subscription: Subscription}> {\r\n        return this.http.post('billing/subscriptions/' + id + '/resume');\r\n    }\r\n\r\n    public changePlan(id: number, plan: Plan): Observable<{user: User}|{links: {approve: string}}> {\r\n        return this.http.post('billing/subscriptions/' + id + '/change-plan', {newPlanId: plan.id});\r\n    }\r\n\r\n    public addCard(token: string): Observable<{user: User}> {\r\n        return this.http.post('billing/stripe/cards/add', {token});\r\n    }\r\n}\r\n"],"sourceRoot":""}