@pronto-tools-and-more/files 5.9.0 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. package/files/framework/src/default/storefront/3rdpartylicenses.txt +0 -29
  2. package/files/framework/src/default/storefront/buildInfo.json +4 -4
  3. package/files/framework/src/default/storefront/deep-link-landing/purple-deep-link-landing.js +80 -80
  4. package/files/framework/src/default/storefront/deep-link-landing/purple-deep-link-landing.js.LICENSE.txt +1 -1
  5. package/files/framework/src/default/storefront/index.html +3 -3
  6. package/files/framework/src/default/storefront/modules/common.js +1 -1
  7. package/files/framework/src/default/storefront/modules/default-node_modules_angular_forms_fesm2022_forms_mjs.js +1 -1
  8. package/files/framework/src/default/storefront/modules/default-projects_storefront_src_app_component_base-component_base-datacollection_component_ts-4706f8.js +1 -1
  9. package/files/framework/src/default/storefront/modules/default-projects_storefront_src_app_component_content_content_module_ts.js +1 -1
  10. package/files/framework/src/default/storefront/modules/default-projects_storefront_src_app_component_issue_issue_module_ts.js +1 -1
  11. package/files/framework/src/default/storefront/modules/default-projects_storefront_src_app_service_tts_tts_service_ts.js +1 -1
  12. package/files/framework/src/default/storefront/modules/main.js +1 -1
  13. package/files/framework/src/default/storefront/modules/node_modules_purple_web-player_dist_webPresenter_js_webPresenter_min_js.js +1 -1
  14. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_common-pipes_common-pipes_module_ts-projects_storefront_src_app_c-94b9b6.js +1 -1
  15. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_action-executor_action-executor_module_ts.js +1 -1
  16. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_ad_ad_module_ts.js +1 -1
  17. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_app-menu-xml_app-menu-xml_module_ts.js +1 -1
  18. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_base-component_base-datacollection_component_ts-project-6cb588.js +1 -1
  19. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_bookmark_bookmark_module_ts.js +1 -1
  20. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-body_content-body_module_ts.js +1 -1
  21. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-featured-image_content-featured-c9ba26.js +1 -1
  22. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_category_category_module_ts.js +1 -1
  23. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_collection_collection_module_ts.js +1 -1
  24. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_component_module_ts.js +1 -1
  25. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_coupon_coupon_module_ts.js +1 -1
  26. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_dev-components_user-tag-testing_user-tag-testing_module_ts.js +1 -1
  27. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_download-issues_download-issues_module_ts.js +1 -1
  28. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_dropdown_dropdown_module_ts.js +1 -1
  29. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_embeddable-view_embeddable-view_module_ts.js +1 -1
  30. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_iframe_iframe_module_ts.js +1 -1
  31. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_issue-search-result_issue-search-result_module_ts.js +1 -1
  32. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_login_login_module_ts.js +1 -1
  33. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_menu_menu_module_ts.js +1 -1
  34. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_product_product_module_ts.js +1 -1
  35. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_publication-completion_publication-completion_module_ts.js +1 -1
  36. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_publication_publication_module_ts.js +1 -1
  37. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_recommendations_recommendations_module_ts.js +1 -1
  38. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_search-field_search-field_module_ts.js +1 -1
  39. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_subscription_subscription_module_ts.js +1 -1
  40. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_swiper_swiper_module_ts.js +1 -1
  41. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_ticker_ticker_module_ts.js +1 -1
  42. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_toggle_toggle_module_ts.js +1 -1
  43. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_toolbar_toolbar_module_ts.js +1 -1
  44. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_web-presenter_presenter_presenter_module_ts.js +1 -1
  45. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_widget_widget_module_ts.js +1 -1
  46. package/files/framework/src/default/storefront/modules/styles.css +1 -1
  47. package/package.json +1 -1
@@ -7,7 +7,7 @@
7
7
  */
8
8
 
9
9
  /**
10
- * @license Angular v17.3.8
10
+ * @license Angular v18.0.5
11
11
  * (c) 2010-2024 Google LLC. https://angular.io/
12
12
  * License: MIT
13
13
  */
@@ -4,8 +4,8 @@
4
4
  <meta charset="utf-8">
5
5
  <title></title>
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
7
- <meta name="storefront-commit" content="85fef4eb">
8
- <meta name="storefront-version" content="3.6.0">
7
+ <meta name="storefront-commit" content="6a70f60">
8
+ <meta name="storefront-version" content="3.7.0">
9
9
  <link rel="icon" type="image/x-icon" href="favicon.ico">
10
10
  <link rel="stylesheet" href="assets/fonts.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="assets/fonts.css"></noscript>
11
11
  <script type="text/javascript">
@@ -14,7 +14,7 @@
14
14
  <script type="text/javascript" src="assets/scripts/purpleInterface.js"></script>
15
15
  <script type="text/javascript" src="assets/scripts/custom.js" id="custom-js-script"></script>
16
16
  <script type="text/javascript" src="assets/scripts/configLoader.js"></script>
17
- <style>@charset "UTF-8";html body{--primaryColor:rgb(0, 140, 190);--secondaryColor:rgb(200, 200, 200);--backgroundColor:rgb(255, 255, 255);--secondaryBackgroundColor:rgb(200, 200, 200);--textColor:rgb(0, 0, 0);--secondaryTextColor:rgb(80, 80, 80);--ghostColor:rgba(200, 200, 200);--gutter:16px;--borderRadius:4px;--actionButtonHeight:50px;--appBarColor:white;--appBarTextColor:var(--textColor);--appBarHeight:54px;--appBarDisplay:flex;--appBarShrinkDisplay:flex;--appBarShrinkHeight:30px;--appBarFontSize:1em;--appBarShrinkFontSize:.6em;--appBarPaddingVert:4px;--appBarPaddingHoriz:0;--appBarButtonWidth:50px;--appMenuColor:white;--navigationHeight:50px;--navigationShrinkHeight:30px;--navigationColor:var(--textColor);--navigationBgColor:white;--navigationActiveColor:var(--primaryColor);--listPadding:var(--gutter);--listPaddingHoriz:var(--gutter);--listPaddingVert:var(--gutter);--listItemGutter:var(--gutter);--gridListColumns:4;--listTabBorderWidth:1px;--listTabBorderRadius:var(--borderRadius);--listTabHighlightColor:var(--primaryColor);--listTabHighlightTextColor:white;--buttonPaddingVert:calc(var(--gutter) / 2);--buttonPaddingHoriz:calc(var(--gutter) / 2);--modalBgColor:white;--modalPadding:var(--gutter);--modalPaddingBottom:var(--gutter);--issueProgressPaddingVert:2px;--issueProgressPaddingHoriz:2px;--issueProgressMarginVert:calc(var(--gutter) / 2);--issueProgressMarginHoriz:calc(var(--gutter) / 2);--issueProgressBgColor:var(--secondaryColor);--issueProgressColor:var(--primaryColor);--issueProgressFontColor:white;--issueUpdateBadgeBgColor:var(--primaryColor);--issueUpdateBadgeColor:white;--subscriptionPaddingVert:var(--gutter);--subscriptionPaddingHoriz:var(--gutter);--subscriptionPurchasedMarginHoriz:6px;--subscriptionPurchasedBorderRadius:20px;--loginPaddingVert:var(--gutter);--loginPaddingHoriz:var(--gutter);--loginElementMarginVert:calc(var(--gutter));--loginElementMarginHoriz:0;--couponPaddingVert:var(--gutter);--couponPaddingHoriz:var(--gutter);--couponElementMarginVert:calc(var(--gutter));--couponElementMarginHoriz:0;--couponElementPaddingVert:calc(var(--gutter));--couponElementPaddingHoriz:calc(var(--gutter));--bookmarkBgColor:transparent;--bookmarkImageBgColor:white;--sectionPadding:0;--spinnerColor:#fff;--imageBackgroundColor:transparent;--imageLoadingColor:rgb(200, 200, 200);--dropdownPaddingX:calc(var(--gutter) / 2);--dropdownPaddingY:calc(var(--gutter) / 2);--tickerGutter:var(--gutter);--tickerPaddingY:var(--gutter);--searchFieldFontSize:14px;--swiperPaginationTabHeight:50px;--swiperPaginationBorderWidth:4px;--swiperPaginationBackgroundColor:white;--swiperPaginationColor:var(--primaryColor);--switchWidth:50px;--switchActiveColor:var(--primaryColor);--switchHandleColor:#fff;--switchBackgroundColor:#f1f1f1;--switchBorderWidth:3px;--switchBorderRadius:calc(var(--switchWidth) * .6);--stackedCoversWidth:40%;--stackedCoversScaleStep:.1;--stackedCoversTranslateStep:.3;--stackedCoversTopEvenCenteredGap:4px;--toolbarbackgroundColor:transparent;--toolbarIconColor:#a9a9a9;color:var(--textColor);--primaryColor:#00adef;--primaryColorNightMode:white;--accentColor:var(--primaryColor);--contentFont:"OpenSans", sans-serif;--contentHeadlineFont:var(--contentFont);--contentIconNavigateBack:url(resource://dynamic/content/assets/ic_left.svg);--contentIconNavigateForward:url(resource://dynamic/content/assets/ic_right.svg);--contentSpinner:url(resource://dynamic/content/assets/tail-spin.svg);--contentBgColor:#ffffff;--contentTextColor:black;--contentPaddingVert:30px;--contentPaddingHoriz:50px;--contentHeaderMarginTop:1em;--contentHeaderMarginBottom:1.5em;--contentHeaderPaddingVert:1em;--contentHeaderElementMarginTop:.5em;--contentHeaderElementMarginBottom:.5em;--contentSectionPaddingVert:1em;--contentSectionPaddingHoriz:1em;--contentElementMarginTop:1em;--contentElementMarginBottom:1em;--contentElementPaddingVert:.5em;--contentElementPaddingHoriz:1em;--contentHeadlineBigMarginTop:1.5em;--contentHeadlineBigMarginBottom:.5em;--contentHeadlineSmallMarginTop:1em;--contentHeadlineSmallMarginBottom:.5em;--contentNavigateButtonColor:var(--primaryColor);--contentNavigateButtonSize:30px;--contentNavigateButtonGap:12px;--contentBgColorNightMode:#323232;--contentTextColorNightMode:#ffffff;--contentNavigateButtonColorNightMode:var(--primaryColorNightMode);--menuItemIconGap:calc(var(--menuItemIconHeight) / 2);--menuItemIconHeight:14px}@media (max-width: 767px) and (orientation: portrait),(max-height: 767px) and (orientation: landscape){html body{--gridListColumns:3}}@media (max-width: 533px) and (orientation: portrait),(max-height: 533px) and (orientation: landscape){html body{--gridListColumns:2;--actionButtonHeight:40px}}@media (max-height: 533px) and (orientation: landscape){html body{--gridListColumns:3}}@media (max-width: 533px) and (orientation: portrait){html body{--contentPaddingHoriz:30px}}html body{--contentHeaderMarginTop:1em;--contentHeaderMarginBottom:1.5em;--contentHeaderPaddingVert:1em;--contentSectionPaddingVert:1em;--contentSectionPaddingHoriz:1em}html{--iconContentArrow:"\e900";--iconContentAudio:"\e901";--iconContentBack:"\e902";--iconContentBookmark:"\e903";--iconContentBookmarkActive:"\e911";--iconContentCheckBg:"\e904";--iconContentCheck:"\e905";--iconContentClose:"\e906";--iconContentDelete:"\e907";--iconContentDownload:"\e908";--iconContentEye:"\e909";--iconContentFontSize:"\e90a";--iconContentMenu:"\e90b";--iconContentPlus:"\e90c";--iconContentSearch:"\e90d";--iconContentToc:"\e90e";--iconContentVideo:"\e90f";--iconContentDownloadCircle:"\e910";--iconContentSpinner:"\e984";--iconContentCheckCircle:"\e912";--iconContentInfo:"\e913";--iconContentShare:"\e914";--iconContentTime:"\e915"}html body{--topBarIconTtsPlayer:url(ic_player.svg);--topBarIconTtsPlayerActive:url(ic_player_active.svg);--topBarIconTtsSpeech:url(ic_speech.svg);--speechContainerWidth:95px;--ttsPlayerPrimaryColor:var(--primaryColor);--ttsPlayerBgColor:var(--contentBgColor);--ttsPlayerProgressBgColor:#e1e1e1;--ttsPlayerBufferingColor:#bbbbbb;--ttsPlayerTimeColor:#999999;--ttsPlayerTextColor:black;--ttsPlayerPaddingVert:var(--contentPaddingVert);--ttsPlayerPaddingHoriz:var(--contentPaddingHoriz);--ttsPlayerLoadingColor:rgba(153,153,153,.25);--ttsPlayerLoadingSize:50px;--ttsPlayerLoadingThickness:6px;--ttsPlayerLoadingOffset:187;--ttsPlayerLoadingDuration:3s;--settingsContainerWidth:50px;--ttsPlayerSettingsButtonSize:50px;--ttsPlayerSettingsButtonGap:30px;--ttsPlayerPlayButtonWidth:60px;--ttsPlayerPlayButtonHeight:60px;--ttsPlayerPauseButtonWidth:60px;--ttsPlayerPauseButtonHeight:60px;--ttsPlayerSeekButtonWidth:29px;--ttsPlayerSeekButtonHeight:38px;--ttsPlayerNavigateButtonSize:var(--contentNavigateButtonSize);--ttsPlayerNavigateButtonGap:var(--contentNavigateButtonGap);--ttsPlayerSpeechButtonWidth:20px;--ttsPlayerSpeechButtonHeight:24px;--ttsPlayerIconPlay:url(ic_play.svg);--ttsPlayerIconPause:url(ic_pause.svg);--ttsPlayerIconSeekBack:url(ic_seek_back.svg);--ttsPlayerIconSeekForward:url(ic_seek_forward.svg);--ttsPlayerIconNavigateBack:url(ic_seek_forward.svg);--ttsPlayerIconNavigateForward:url(ic_seek_forward.svg);--ttsPlayerIconSettings:url(ic_settings.svg);--ttsPlayerIconSpeechMale:url(ic_speech_male.svg);--ttsPlayerIconSpeechFemale:url(ic_speech_female.svg);--ttsPlayerPrimaryColorNightMode:var(--primaryColorNightMode);--ttsPlayerBgColorNightMode:var(--contentBgColorNightMode);--ttsPlayerProgressBgColorNightMode:#666666;--ttsPlayerBufferingColorNightMode:#999999;--ttsPlayerTimeColorNightMode:white;--ttsPlayerTextColorNightMode:white;--ttsPlayerLoadingColorNightMode:#999999;--ttsPlayerSpeechMarkerColor:var(--primaryColor);--ttsPlayerSpeechMarkerBgColor:rgba(153,153,153,.25);--ttsPlayerSpeechMarkerColorNightMode:var(--primaryColor);--ttsPlayerSpeechMarkerBgColorNightMode:rgba(153,153,153,.25);--ttsOverlayBgColor:rgba(0,0,0,.95);--ttsOverlayTextColor:#f6f6f6;--ttsOverlayLoadingColor:var(--ttsOverlayTextColor);--ttsOverlayrPaddingVert:var(--contentPaddingVert);--ttsOverlayPaddingHoriz:var(--contentPaddingHoriz);--ttsOverlayLoadingSize:60px;--ttsOverlayLoadingThickness:6px;--ttsOverlayLoadingDuration:10;--ttsOverlayLoadingIcon:url(ic_overlay_loading.svg);--ttsOverlayLoadingIconSize:22px}html{font-family:sans-serif}html body{height:100%;margin:0;padding:0}html body *{box-sizing:border-box}html *:not(input){-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-overflow-scrolling:touch;-webkit-user-drag:none;user-drag:none}html{--mat-ripple-color:rgba(0, 0, 0, .1);--mat-option-selected-state-label-text-color:#3f51b5;--mat-option-label-text-color:rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color:rgba(0, 0, 0, .04);--mat-optgroup-label-text-color:rgba(0, 0, 0, .87);--mat-full-pseudo-checkbox-selected-icon-color:#ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color:#fafafa;--mat-full-pseudo-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color:#fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color:#b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color:#b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color:#ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color:#b0b0b0;--mat-app-background-color:#fafafa;--mat-app-text-color:rgba(0, 0, 0, .87)}</style><link rel="stylesheet" href="modules/styles.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="modules/styles.css"></noscript></head>
17
+ <style>@charset "UTF-8";html body{--primaryColor:rgb(0, 140, 190);--secondaryColor:rgb(200, 200, 200);--backgroundColor:rgb(255, 255, 255);--secondaryBackgroundColor:rgb(200, 200, 200);--textColor:rgb(0, 0, 0);--secondaryTextColor:rgb(80, 80, 80);--ghostColor:rgba(200, 200, 200);--gutter:16px;--borderRadius:4px;--actionButtonHeight:50px;--appBarColor:white;--appBarTextColor:var(--textColor);--appBarHeight:54px;--appBarDisplay:flex;--appBarShrinkDisplay:flex;--appBarShrinkHeight:30px;--appBarFontSize:1em;--appBarShrinkFontSize:.6em;--appBarPaddingVert:4px;--appBarPaddingHoriz:0;--appBarButtonWidth:50px;--appMenuColor:white;--navigationHeight:50px;--navigationShrinkHeight:30px;--navigationColor:var(--textColor);--navigationBgColor:white;--navigationActiveColor:var(--primaryColor);--listPadding:var(--gutter);--listPaddingHoriz:var(--gutter);--listPaddingVert:var(--gutter);--listItemGutter:var(--gutter);--gridListColumns:4;--listTabBorderWidth:1px;--listTabBorderRadius:var(--borderRadius);--listTabHighlightColor:var(--primaryColor);--listTabHighlightTextColor:white;--buttonPaddingVert:calc(var(--gutter) / 2);--buttonPaddingHoriz:calc(var(--gutter) / 2);--modalBgColor:white;--modalPadding:var(--gutter);--modalPaddingBottom:var(--gutter);--issueProgressPaddingVert:2px;--issueProgressPaddingHoriz:2px;--issueProgressMarginVert:calc(var(--gutter) / 2);--issueProgressMarginHoriz:calc(var(--gutter) / 2);--issueProgressBgColor:var(--secondaryColor);--issueProgressColor:var(--primaryColor);--issueProgressFontColor:white;--issueUpdateBadgeBgColor:var(--primaryColor);--issueUpdateBadgeColor:white;--subscriptionPaddingVert:var(--gutter);--subscriptionPaddingHoriz:var(--gutter);--subscriptionPurchasedMarginHoriz:6px;--subscriptionPurchasedBorderRadius:20px;--loginPaddingVert:var(--gutter);--loginPaddingHoriz:var(--gutter);--loginElementMarginVert:calc(var(--gutter));--loginElementMarginHoriz:0;--couponPaddingVert:var(--gutter);--couponPaddingHoriz:var(--gutter);--couponElementMarginVert:calc(var(--gutter));--couponElementMarginHoriz:0;--couponElementPaddingVert:calc(var(--gutter));--couponElementPaddingHoriz:calc(var(--gutter));--bookmarkBgColor:transparent;--bookmarkImageBgColor:white;--sectionPadding:0;--spinnerColor:#fff;--imageBackgroundColor:transparent;--imageLoadingColor:rgb(200, 200, 200);--dropdownPaddingX:calc(var(--gutter) / 2);--dropdownPaddingY:calc(var(--gutter) / 2);--tickerGutter:var(--gutter);--tickerPaddingY:var(--gutter);--searchFieldFontSize:14px;--swiperPaginationTabHeight:50px;--swiperPaginationBorderWidth:4px;--swiperPaginationBackgroundColor:white;--swiperPaginationColor:var(--primaryColor);--switchWidth:50px;--switchActiveColor:var(--primaryColor);--switchHandleColor:#fff;--switchBackgroundColor:#f1f1f1;--switchBorderWidth:3px;--switchBorderRadius:calc(var(--switchWidth) * .6);--stackedCoversWidth:40%;--stackedCoversScaleStep:.1;--stackedCoversTranslateStep:.3;--stackedCoversTopEvenCenteredGap:4px;--toolbarbackgroundColor:transparent;--toolbarIconColor:#a9a9a9;color:var(--textColor);--primaryColor:#00adef;--primaryColorNightMode:white;--accentColor:var(--primaryColor);--contentFont:"OpenSans", sans-serif;--contentHeadlineFont:var(--contentFont);--contentIconNavigateBack:url(resource://dynamic/content/assets/ic_left.svg);--contentIconNavigateForward:url(resource://dynamic/content/assets/ic_right.svg);--contentSpinner:url(resource://dynamic/content/assets/tail-spin.svg);--contentBgColor:#ffffff;--contentTextColor:black;--contentPaddingVert:30px;--contentPaddingHoriz:50px;--contentHeaderMarginTop:1em;--contentHeaderMarginBottom:1.5em;--contentHeaderPaddingVert:1em;--contentHeaderElementMarginTop:.5em;--contentHeaderElementMarginBottom:.5em;--contentSectionPaddingVert:1em;--contentSectionPaddingHoriz:1em;--contentElementMarginTop:1em;--contentElementMarginBottom:1em;--contentElementPaddingVert:.5em;--contentElementPaddingHoriz:1em;--contentHeadlineBigMarginTop:1.5em;--contentHeadlineBigMarginBottom:.5em;--contentHeadlineSmallMarginTop:1em;--contentHeadlineSmallMarginBottom:.5em;--contentNavigateButtonColor:var(--primaryColor);--contentNavigateButtonSize:30px;--contentNavigateButtonGap:12px;--contentBgColorNightMode:#323232;--contentTextColorNightMode:#ffffff;--contentNavigateButtonColorNightMode:var(--primaryColorNightMode);--menuItemIconGap:calc(var(--menuItemIconHeight) / 2);--menuItemIconHeight:14px}@media (max-width: 767px) and (orientation: portrait),(max-height: 767px) and (orientation: landscape){html body{--gridListColumns:3}}@media (max-width: 533px) and (orientation: portrait),(max-height: 533px) and (orientation: landscape){html body{--gridListColumns:2;--actionButtonHeight:40px}}@media (max-height: 533px) and (orientation: landscape){html body{--gridListColumns:3}}@media (max-width: 533px) and (orientation: portrait){html body{--contentPaddingHoriz:30px}}html body{--contentHeaderMarginTop:1em;--contentHeaderMarginBottom:1.5em;--contentHeaderPaddingVert:1em;--contentSectionPaddingVert:1em;--contentSectionPaddingHoriz:1em}html{--iconContentArrow:"\e900";--iconContentAudio:"\e901";--iconContentBack:"\e902";--iconContentBookmark:"\e903";--iconContentBookmarkActive:"\e911";--iconContentCheckBg:"\e904";--iconContentCheck:"\e905";--iconContentClose:"\e906";--iconContentDelete:"\e907";--iconContentDownload:"\e908";--iconContentEye:"\e909";--iconContentFontSize:"\e90a";--iconContentMenu:"\e90b";--iconContentPlus:"\e90c";--iconContentSearch:"\e90d";--iconContentToc:"\e90e";--iconContentVideo:"\e90f";--iconContentDownloadCircle:"\e910";--iconContentSpinner:"\e984";--iconContentCheckCircle:"\e912";--iconContentInfo:"\e913";--iconContentShare:"\e914";--iconContentTime:"\e915"}html body{--topBarIconTtsPlayer:url(ic_player.svg);--topBarIconTtsPlayerActive:url(ic_player_active.svg);--topBarIconTtsSpeech:url(ic_speech.svg);--speechContainerWidth:95px;--ttsPlayerPrimaryColor:var(--primaryColor);--ttsPlayerBgColor:var(--contentBgColor);--ttsPlayerProgressBgColor:#e1e1e1;--ttsPlayerBufferingColor:#bbbbbb;--ttsPlayerTimeColor:#999999;--ttsPlayerTextColor:black;--ttsPlayerPaddingVert:var(--contentPaddingVert);--ttsPlayerPaddingHoriz:var(--contentPaddingHoriz);--ttsPlayerLoadingColor:rgba(153,153,153,.25);--ttsPlayerLoadingSize:50px;--ttsPlayerLoadingThickness:6px;--ttsPlayerLoadingOffset:187;--ttsPlayerLoadingDuration:3s;--settingsContainerWidth:50px;--ttsPlayerSettingsButtonSize:50px;--ttsPlayerSettingsButtonGap:30px;--ttsPlayerPlayButtonWidth:60px;--ttsPlayerPlayButtonHeight:60px;--ttsPlayerPauseButtonWidth:60px;--ttsPlayerPauseButtonHeight:60px;--ttsPlayerSeekButtonWidth:29px;--ttsPlayerSeekButtonHeight:38px;--ttsPlayerNavigateButtonSize:var(--contentNavigateButtonSize);--ttsPlayerNavigateButtonGap:var(--contentNavigateButtonGap);--ttsPlayerSpeechButtonWidth:20px;--ttsPlayerSpeechButtonHeight:24px;--ttsPlayerIconPlay:url(ic_play.svg);--ttsPlayerIconPause:url(ic_pause.svg);--ttsPlayerIconSeekBack:url(ic_seek_back.svg);--ttsPlayerIconSeekForward:url(ic_seek_forward.svg);--ttsPlayerIconNavigateBack:url(ic_seek_forward.svg);--ttsPlayerIconNavigateForward:url(ic_seek_forward.svg);--ttsPlayerIconSettings:url(ic_settings.svg);--ttsPlayerIconSpeechMale:url(ic_speech_male.svg);--ttsPlayerIconSpeechFemale:url(ic_speech_female.svg);--ttsPlayerPrimaryColorNightMode:var(--primaryColorNightMode);--ttsPlayerBgColorNightMode:var(--contentBgColorNightMode);--ttsPlayerProgressBgColorNightMode:#666666;--ttsPlayerBufferingColorNightMode:#999999;--ttsPlayerTimeColorNightMode:white;--ttsPlayerTextColorNightMode:white;--ttsPlayerLoadingColorNightMode:#999999;--ttsPlayerSpeechMarkerColor:var(--primaryColor);--ttsPlayerSpeechMarkerBgColor:rgba(153,153,153,.25);--ttsPlayerSpeechMarkerColorNightMode:var(--primaryColor);--ttsPlayerSpeechMarkerBgColorNightMode:rgba(153,153,153,.25);--ttsOverlayBgColor:rgba(0,0,0,.95);--ttsOverlayTextColor:#f6f6f6;--ttsOverlayLoadingColor:var(--ttsOverlayTextColor);--ttsOverlayrPaddingVert:var(--contentPaddingVert);--ttsOverlayPaddingHoriz:var(--contentPaddingHoriz);--ttsOverlayLoadingSize:60px;--ttsOverlayLoadingThickness:6px;--ttsOverlayLoadingDuration:10;--ttsOverlayLoadingIcon:url(ic_overlay_loading.svg);--ttsOverlayLoadingIconSize:22px}html{font-family:sans-serif}html body{height:100%;margin:0;padding:0}html body *{box-sizing:border-box}html *:not(input){-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-overflow-scrolling:touch;-webkit-user-drag:none;user-drag:none}html{--mat-ripple-color:rgba(0, 0, 0, .1);--mat-option-selected-state-label-text-color:#3f51b5;--mat-option-label-text-color:rgba(0, 0, 0, .87);--mat-option-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-option-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-option-selected-state-layer-color:rgba(0, 0, 0, .04);--mat-optgroup-label-text-color:rgba(0, 0, 0, .87);--mat-full-pseudo-checkbox-selected-icon-color:#ff4081;--mat-full-pseudo-checkbox-selected-checkmark-color:#fafafa;--mat-full-pseudo-checkbox-unselected-icon-color:rgba(0, 0, 0, .54);--mat-full-pseudo-checkbox-disabled-selected-checkmark-color:#fafafa;--mat-full-pseudo-checkbox-disabled-unselected-icon-color:#b0b0b0;--mat-full-pseudo-checkbox-disabled-selected-icon-color:#b0b0b0;--mat-minimal-pseudo-checkbox-selected-checkmark-color:#ff4081;--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color:#b0b0b0;--mat-app-background-color:#fafafa;--mat-app-text-color:rgba(0, 0, 0, .87);--mat-app-elevation-shadow-level-0:0px 0px 0px 0px rgba(0, 0, 0, .2), 0px 0px 0px 0px rgba(0, 0, 0, .14), 0px 0px 0px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-1:0px 2px 1px -1px rgba(0, 0, 0, .2), 0px 1px 1px 0px rgba(0, 0, 0, .14), 0px 1px 3px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-2:0px 3px 1px -2px rgba(0, 0, 0, .2), 0px 2px 2px 0px rgba(0, 0, 0, .14), 0px 1px 5px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-3:0px 3px 3px -2px rgba(0, 0, 0, .2), 0px 3px 4px 0px rgba(0, 0, 0, .14), 0px 1px 8px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-4:0px 2px 4px -1px rgba(0, 0, 0, .2), 0px 4px 5px 0px rgba(0, 0, 0, .14), 0px 1px 10px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-5:0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 5px 8px 0px rgba(0, 0, 0, .14), 0px 1px 14px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-6:0px 3px 5px -1px rgba(0, 0, 0, .2), 0px 6px 10px 0px rgba(0, 0, 0, .14), 0px 1px 18px 0px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-7:0px 4px 5px -2px rgba(0, 0, 0, .2), 0px 7px 10px 1px rgba(0, 0, 0, .14), 0px 2px 16px 1px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-8:0px 5px 5px -3px rgba(0, 0, 0, .2), 0px 8px 10px 1px rgba(0, 0, 0, .14), 0px 3px 14px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-9:0px 5px 6px -3px rgba(0, 0, 0, .2), 0px 9px 12px 1px rgba(0, 0, 0, .14), 0px 3px 16px 2px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-10:0px 6px 6px -3px rgba(0, 0, 0, .2), 0px 10px 14px 1px rgba(0, 0, 0, .14), 0px 4px 18px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-11:0px 6px 7px -4px rgba(0, 0, 0, .2), 0px 11px 15px 1px rgba(0, 0, 0, .14), 0px 4px 20px 3px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-12:0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 12px 17px 2px rgba(0, 0, 0, .14), 0px 5px 22px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-13:0px 7px 8px -4px rgba(0, 0, 0, .2), 0px 13px 19px 2px rgba(0, 0, 0, .14), 0px 5px 24px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-14:0px 7px 9px -4px rgba(0, 0, 0, .2), 0px 14px 21px 2px rgba(0, 0, 0, .14), 0px 5px 26px 4px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-15:0px 8px 9px -5px rgba(0, 0, 0, .2), 0px 15px 22px 2px rgba(0, 0, 0, .14), 0px 6px 28px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-16:0px 8px 10px -5px rgba(0, 0, 0, .2), 0px 16px 24px 2px rgba(0, 0, 0, .14), 0px 6px 30px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-17:0px 8px 11px -5px rgba(0, 0, 0, .2), 0px 17px 26px 2px rgba(0, 0, 0, .14), 0px 6px 32px 5px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-18:0px 9px 11px -5px rgba(0, 0, 0, .2), 0px 18px 28px 2px rgba(0, 0, 0, .14), 0px 7px 34px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-19:0px 9px 12px -6px rgba(0, 0, 0, .2), 0px 19px 29px 2px rgba(0, 0, 0, .14), 0px 7px 36px 6px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-20:0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 20px 31px 3px rgba(0, 0, 0, .14), 0px 8px 38px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-21:0px 10px 13px -6px rgba(0, 0, 0, .2), 0px 21px 33px 3px rgba(0, 0, 0, .14), 0px 8px 40px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-22:0px 10px 14px -6px rgba(0, 0, 0, .2), 0px 22px 35px 3px rgba(0, 0, 0, .14), 0px 8px 42px 7px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-23:0px 11px 14px -7px rgba(0, 0, 0, .2), 0px 23px 36px 3px rgba(0, 0, 0, .14), 0px 9px 44px 8px rgba(0, 0, 0, .12);--mat-app-elevation-shadow-level-24:0px 11px 15px -7px rgba(0, 0, 0, .2), 0px 24px 38px 3px rgba(0, 0, 0, .14), 0px 9px 46px 8px rgba(0, 0, 0, .12);--mat-menu-container-shape:4px;--mat-menu-divider-bottom-spacing:0;--mat-menu-divider-top-spacing:0;--mat-menu-item-spacing:16px;--mat-menu-item-icon-size:24px;--mat-menu-item-leading-spacing:16px;--mat-menu-item-trailing-spacing:16px;--mat-menu-item-with-icon-leading-spacing:16px;--mat-menu-item-with-icon-trailing-spacing:16px;--mat-menu-base-elevation-level:8;--mat-menu-item-label-text-color:rgba(0, 0, 0, .87);--mat-menu-item-icon-color:rgba(0, 0, 0, .87);--mat-menu-item-hover-state-layer-color:rgba(0, 0, 0, .04);--mat-menu-item-focus-state-layer-color:rgba(0, 0, 0, .04);--mat-menu-container-color:white;--mat-menu-divider-color:rgba(0, 0, 0, .12)}</style><link rel="stylesheet" href="modules/styles.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="modules/styles.css"></noscript></head>
18
18
  <body>
19
19
  <storefront-root></storefront-root>
20
20
  <script src="modules/runtime.js" type="module"></script><script src="modules/polyfills.js" type="module"></script><script src="modules/main.js" type="module"></script></body>
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["common"],{3472:(U,E,t)=>{t.d(E,{M:()=>y});var g=t(9758),o=t(8179),d=t(362),a=t(4452),f=t(3713),v=t(4438);let y=(()=>{var T;class p extends f.r{getDataFromContext(_=this.context){return this.getSelectionScope()===g.x.USER_ATTRIBUTE?_.userAttributes[this.getParam()]:_[this.getParam()]}hasContextChanged(_){let c=super.hasContextChanged(_);if(!c&&this.isSelectionEnabled()){const e=this.getDataFromContext(),i=this.getDataFromContext(_);c=!d(e,i)}return c}ngOnDestroy(){super.ngOnDestroy(),this.dataSource&&this.contextService.unregisterDataSource(this.dataSource)}stripChildConfigs(_){return _.content&&(_.content={}),_}getEntryConfig(_){return _&&_.ad||{...this.baseConfig.content}}getEntryContext(_){var c;let e=(0,o.uQ)(null!==(c=this.getConfig().dataSource.entryId)&&void 0!==c?c:this.getDataType(),this.context,this.contextService.$functions,this.globalService.getGlobalData());return{...this.baseContext,[e]:_}}getConfig(){return this.config||this.baseConfig}isSelectionEnabled(){return!1}getDataType(){return this.getConfig().dataSource.type}getGroupDataType(_){return _.dataSource.type}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),...(0,a.Kj)(this.baseConfig)].filter(_=>!!_)}}return(T=p).\u0275fac=(()=>{let C;return function(c){return(C||(C=v.xGo(T)))(c||T)}})(),T.\u0275dir=v.FsC({type:T,features:[v.Vt3]}),p})()},1803:(U,E,t)=>{t.d(E,{TS:()=>g,We:()=>d});var g=function(r){return r.VERTICAL="vertical",r.HORIZONTAL="horizontal",r.GRID="grid",r.GROUP="group",r.TABS="tabs",r}(g||{}),d=function(r){return r.BLANK="_blank",r.SELF="_self",r}(d||{})},3303:(U,E,t)=>{t.d(E,{y:()=>r});var g=t(177),o=t(9149),d=t(4438);let r=(()=>{var a;class f{}return(a=f).\u0275fac=function(y){return new(y||a)},a.\u0275mod=d.$C({type:a}),a.\u0275inj=d.G2t({imports:[g.MD,o.ContentTitleModule]}),f})()},5848:(U,E,t)=>{t.d(E,{Q:()=>T});var g=t(467),o=t(177),d=t(1210),r=t(5706),a=t(4438),f=t(5483),v=t(8471),y=t(1652);let T=(()=>{var p;class C extends d.${get contextKey(){var c,e,i;return null!==(c=null!==(e=null===(i=this.config)||void 0===i?void 0:i.contextKey)&&void 0!==e?e:this.defaultConfig.contextKey)&&void 0!==c?c:"content"}constructor(c,e,i,s,D,O){super(e,c,i,s,O),this.elementRef=c,this.injector=e,this.contextService=i,this.document=s,this.purpleService=D,this.globalService=O}completePost(c,e,i="contentHtml"){var s=this;return(0,g.A)(function*(){return c[i]?c:s.purpleService.getCatalogContent(c.id,!0,e)})()}getContent(c,e,i="contentHtml"){var s=this;return(0,g.A)(function*(){if((0,r.mF)(s.catalogContent))return s.catalogContent=yield s.completePost(s.catalogContent,c,i),s.catalogContent[i];if((0,r.G4)(s.catalogContent))return s.bundleContent[e]=yield s.completePost(s.getBundle(s.catalogContent)[e],c,i),s.bundleContent[e][i];throw new Error("No post but tried to load ".concat(i))})()}hasContentChanged(c,e){return(null==c?void 0:c.id)!==(null==e?void 0:e.id)||this.hasVersionChanged(c,e)}hasVersionChanged(c,e){return(null==c?void 0:c.version)!==(null==e?void 0:e.version)}onConfigChanges(){var c;let e=null===(c=this.context)||void 0===c?void 0:c[this.contextKey];Array.isArray(e)&&(e=e[0]);const i=this.hasContentChanged(this.catalogContent,e)&&!!e;return i&&(this.catalogContent=e),i}isGhost(){var c;return!this.config||!(null!==(c=this.context)&&void 0!==c&&c[this.contextKey])}getBundle(c){return this.bundleContent||(this.bundleContent=c.contents.map(e=>{var i;return null!==(i=e.post)&&void 0!==i?i:e.content})),this.bundleContent}ngOnDestroy(){super.ngOnDestroy()}getContextKey(){return this.contextKey}}return(p=C).\u0275fac=function(c){return new(c||p)(a.rXU(a.aKT),a.rXU(a.zZn),a.rXU(f.V),a.rXU(o.qQ),a.rXU(v.Wj),a.rXU(y.d))},p.\u0275dir=a.FsC({type:p,features:[a.Vt3]}),C})()},9149:(U,E,t)=>{t.r(E),t.d(E,{ContentTitleModule:()=>e,component:()=>i});var g=t(177);const o={titleMessage:"%s"};var d=t(5848),r=t(4438),a=t(5483),f=t(8471),v=t(1652),y=t(8909);const T=s=>[s];function p(s,D){1&s&&(r.qex(0),r.j41(1,"h1"),r.EFF(2,"..."),r.k0s(),r.bVm())}function C(s,D){if(1&s&&r.nrm(0,"h1",2),2&s){const O=r.XpG();r.Y8G("storefrontTranslate",O.config.titleMessage)("storefrontTranslateArgs",r.eq3(2,T,O.catalogContent.name))}}let _=(()=>{var s;class D extends d.Q{constructor(n,l,m,u,h,M){super(n,m,l,u,h,M),this.elementRef=n,this.contextService=l,this.injector=m,this.document=u,this.purpleService=h,this.globalService=M,this.type="content-title",this.defaultConfig=o}}return(s=D).\u0275fac=function(n){return new(n||s)(r.rXU(r.aKT),r.rXU(a.V),r.rXU(r.zZn),r.rXU(g.qQ),r.rXU(f.Wj),r.rXU(v.d))},s.\u0275cmp=r.VBU({type:s,selectors:[["storefront-content-title"]],features:[r.Vt3],decls:2,vars:2,consts:[[4,"ngIf"],[3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(n,l){1&n&&r.DNE(0,p,3,0,"ng-container",0)(1,C,1,4,"h1",1),2&n&&(r.Y8G("ngIf",l.ghost),r.R7$(),r.Y8G("ngIf",!l.ghost))},dependencies:[g.bT,y.M],styles:["storefront-content-title>h1{margin-top:var(--contentHeaderMarginTop);margin-bottom:var(--contentHeaderMarginBottom);padding-top:var(--contentHeaderPaddingVert);padding-bottom:var(--contentHeaderPaddingVert);font-size:1.5rem}\n"],encapsulation:2}),D})();var c=t(6483);let e=(()=>{var s;class D{}return(s=D).\u0275fac=function(n){return new(n||s)},s.\u0275mod=r.$C({type:s}),s.\u0275inj=r.G2t({imports:[g.MD,c.h]}),D})();const i=_},2285:(U,E,t)=>{t.d(E,{b:()=>i});var g=t(467),o=t(177),d=t(4438),r=t(1210),a=t(4338),f=t(610),v=t(1803);const y={tag:"div",content:"",attributes:{}};var T=t(8179),p=t(5483),C=t(6067),_=t(8004),c=t(1652),e=t(5820);let i=(()=>{var s;class D extends r.${constructor(n,l,m,u,h,M,P,S,B,A,R,I){super(u,n,l,S,R),this.elementRef=n,this.contextService=l,this.renderer=m,this.injector=u,this.translate=h,this.eventActionService=M,this.store=P,this.document=S,this.platformId=B,this.changeDetectorRef=A,this.globalService=R,this.anchorService=I,this.anchorFeatureEnabled=!1,this.anchorPath=null,this.defaultConfig={...y}}ngOnInit(){var n=()=>super.ngOnInit,l=this;return(0,g.A)(function*(){l.anchorFeatureEnabled=l.anchorService.isAnchorFeatureEnabled(),n().call(l),l.elementRef.nativeElement.innerHTML="";const m=l.renderer.createElement(l.baseConfig.tag);l.renderer.appendChild(l.elementRef.nativeElement,m)})()}onConfigChanges(){var n=this;return(0,g.A)(function*(){var l,m;const u=n.renderer.createElement(n.config.tag),h={...n.config.attributes};null!==(l=n.config.attributes)&&void 0!==l&&l.src&&(h.src=n.contextService.toResourceUrl(n.config.attributes.src)),null!==(m=n.config.attributes)&&void 0!==m&&m.href&&(h.href=n.contextService.toResourceUrl(n.config.attributes.href)),"iframe"===n.config.tag&&u.addEventListener("load",P=>{u&&u.contentDocument?(u.contentDocument.scrollingElement.scrollHeight>u.contentWindow.innerHeight&&(u.style.height=u.contentDocument.scrollingElement.scrollHeight+"px"),u.contentDocument.scrollingElement.scrollWidth>u.contentWindow.innerWidth&&(u.style.width=u.contentDocument.scrollingElement.scrollWidth+"px")):window.addEventListener("message",S=>{S.origin===new URL(null==h?void 0:h.src).origin&&(S.data.height&&(u.style.height=S.data.height+"px"),S.data.width&&(u.style.width=S.data.width+"px"))})}),Object.keys(h).forEach(P=>u.setAttribute(P,n.config.attributes[P])),n.translatedContent=yield n.translate.translate({text:n.config.content,args:n.config.variables||[]}),u.innerHTML=(0,T.uQ)(n.translatedContent,n.context,n.contextService.$functions,n.globalService.getGlobalData());let M=u;if(n.elementRef.nativeElement.innerHTML="",n.anchorFeatureEnabled&&(n.anchorPath=n.anchorService.getAnchorPath(n.config.tap,n.context,null),n.anchorPath)){const P=n.renderer.createElement("a");P.style.height="inherit",P.style.width="inherit",P.setAttribute("href",n.anchorPath),P.appendChild(u),M=P}M.addEventListener("click",P=>n.onClick(P)),n.renderer.appendChild(n.elementRef.nativeElement,M),n.changeDetectorRef.markForCheck()})()}ngOnDestroy(){super.ngOnDestroy()}onClick(n){var l,m;this.config.tap&&((this.anchorFeatureEnabled||"touchstart"===n.type)&&n.preventDefault(),this.store.dispatch((0,f.k4)({key:"".concat(this.getTrackingBaseKey(),"_CLICKED")})),this.eventActionService.processEventAction(this.config.tap,this));const u="a"===(null===(l=n.target)||void 0===l?void 0:l.tagName.toLowerCase())?n.target:"a"===(null===(m=n.target)||void 0===m||null===(m=m.parentElement)||void 0===m?void 0:m.tagName.toLowerCase())?n.target.parentElement:null;u&&u.href&&(u.target===v.We.BLANK?"external"===u.getAttribute("data-target")?this.store.dispatch((0,f.k4)({key:"".concat(this.getTrackingBaseKey(),"_LINK_OPEN_EXTERNAL"),params:{TARGET_URL:u.href,LINK_TEXT:u.innerText}})):this.store.dispatch((0,f.k4)({key:"".concat(this.getTrackingBaseKey(),"_LINK_OPEN_APP_BROWSER"),params:{TARGET_URL:u.href,LINK_TEXT:u.innerText}})):this.store.dispatch((0,f.k4)({key:"".concat(this.getTrackingBaseKey(),"_LINK_OPEN_INLINE"),params:{TARGET_URL:u.href,LINK_TEXT:u.innerText}})))}getConfigEscapeProperties(){return["condition"]}isGhost(){return!1}hasContextChanged(n){return super.hasContextChanged(n)||this.translatedContent&&this.translatedContent.indexOf(T.mF)>-1}}return(s=D).type="html",s.\u0275fac=function(n){return new(n||s)(d.rXU(d.aKT),d.rXU(p.V),d.rXU(d.sFG),d.rXU(d.zZn),d.rXU(C.D),d.rXU(_.G),d.rXU(a.B),d.rXU(o.qQ),d.rXU(d.Agw),d.rXU(d.gRc),d.rXU(c.d),d.rXU(e.X))},s.\u0275cmp=d.VBU({type:s,selectors:[["storefront-html"]],features:[d.Jv_([a.B]),d.Vt3],decls:0,vars:0,template:function(n,l){},styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-html{position:relative;display:flex}storefront-html.ghost>*{background-image:linear-gradient(90deg,var(--ghostColor) 0px,rgb(236,236,236) 40px,var(--ghostColor) 80px);background-size:80vw;animation:ghost-lines 2s infinite linear;background-color:var(--ghostColor);border-radius:var(--borderRadius);width:90%;height:1.2em}\n'],encapsulation:2,changeDetection:0}),D})()},9207:(U,E,t)=>{t.r(E),t.d(E,{HTMLModule:()=>r,component:()=>a});var g=t(177),o=t(2285),d=t(4438);let r=(()=>{var f;class v{}return(f=v).\u0275fac=function(T){return new(T||f)},f.\u0275mod=d.$C({type:f}),f.\u0275inj=d.G2t({imports:[g.MD]}),v})();const a=o.b},6218:(U,E,t)=>{t.r(E),t.d(E,{SectionModule:()=>O,component:()=>n});var g=t(177),o=t(4438);const d={content:null};var r=t(1210),a=t(8179),f=t(7879),v=t(1184),y=t(5483),T=t(1652),p=t(4748),C=t(3648);const _=["viewTemplate"],c=["viewChildren"];function e(l,m){if(1&l&&o.nrm(0,"storefront-element",3,0),2&l){const u=m.$implicit,h=o.XpG(2);o.Y8G("baseContext",h.baseContext)("baseConfig",u)("lazy",h.isLazy)}}function i(l,m){if(1&l&&(o.qex(0),o.DNE(1,e,2,3,"storefront-element",2),o.bVm()),2&l){const u=o.XpG();o.R7$(),o.Y8G("ngForOf",u.children)("ngForTrackBy",u.trackByChildren)}}let s=(()=>{var l;class m extends r.${constructor(h,M,P,S,B,A,R,I,x){super(M,h,P,B,A),this.elementRef=h,this.injector=M,this.contextService=P,this.changeDetectorRef=S,this.document=B,this.globalService=A,this.ssrService=R,this.platformId=I,this.purpleEnv=x,this.defaultConfig={...d},this.changeDetectorRef=S}ngOnInit(){this.baseContext.isGhost||super.ngOnInit()}onConfigChanges(){if(super.onConfigChanges(),this.isLazy=!(!window.isUniversal||!this.ssrService.currentPrebootStatus),this.baseConfig.content){this.children=[];for(let h=0;h<this.baseConfig.content.length;h++)(this.purpleEnv.isUniversal||(0,a.Ol)(this.config.content[h]))&&this.children.push(this.baseConfig.content[h]);this.changeDetectorRef.detectChanges(),this.childComponents.forEach((h,M)=>{!this.purpleEnv.isUniversal||(0,a.Ol)(this.config.content[M])?h.lazyLoad():this.purpleEnv.isUniversal&&(0,g.UE)(this.platformId)&&(null==h||h.loadAndClear())}),this.changeDetectorRef.markForCheck()}}stripChildConfigs(h){return h.content&&Array.isArray(h.content)&&(h.content=h.content.map(({_uuid:M,condition:P})=>({_uuid:M,condition:P}))),h}rebuildContextKeys(){super.rebuildContextKeys(),this.baseConfig.content.forEach(h=>{"condition"in h&&(0,v.Fl)(h.condition,this.contextKeys)})}trackByChildren(h,M){if("string"==typeof M||"number"==typeof M)return M;const P=M.id||M._uuid;if(!P)throw console.error(M),"Element should have _uuid from config loader!";return P}}return(l=m).type="section",l.\u0275fac=function(h){return new(h||l)(o.rXU(o.aKT),o.rXU(o.zZn),o.rXU(y.V),o.rXU(o.gRc),o.rXU(g.qQ),o.rXU(T.d),o.rXU(p.i),o.rXU(o.Agw),o.rXU(f.r6))},l.\u0275cmp=o.VBU({type:l,selectors:[["storefront-section"]],viewQuery:function(h,M){if(1&h&&(o.GBs(_,7,o.c1b),o.GBs(c,5)),2&h){let P;o.mGM(P=o.lsd())&&(M.viewTemplate=P.first),o.mGM(P=o.lsd())&&(M.childComponents=P)}},features:[o.Vt3],decls:1,vars:1,consts:[["viewChildren",""],[4,"ngIf"],[3,"baseContext","baseConfig","lazy",4,"ngFor","ngForOf","ngForTrackBy"],[3,"baseContext","baseConfig","lazy"]],template:function(h,M){1&h&&o.DNE(0,i,2,2,"ng-container",1),2&h&&o.Y8G("ngIf",M.children)},dependencies:[g.Sq,g.bT,C._],styles:["storefront-section{display:flex;justify-content:space-between;padding:var(--sectionPadding);flex-direction:column}\n"],encapsulation:2,changeDetection:0}),m})();var D=t(6895);let O=(()=>{var l;class m{}return(l=m).\u0275fac=function(h){return new(h||l)},l.\u0275mod=o.$C({type:l}),l.\u0275inj=o.G2t({imports:[g.MD,D.r]}),m})();const n=s},1802:(U,E,t)=>{t.d(E,{c:()=>p});var g=t(1210),o=t(9758),d=t(8075),r=t(177),a=t(4438),f=t(5483),v=t(9047),y=t(1652),T=t(8909);let p=(()=>{var C;class _ extends g.${constructor(e,i,s,D,O,n){super(s,e,i,O,n),this.elementRef=e,this.contextService=i,this.injector=s,this.router=D,this.document=O,this.globalService=n,this.type="switch",this.defaultConfig={}}ngOnInit(){this.config={...this.baseConfig},this.checked=this.config.initialValue,super.ngOnInit(),this.contextService.viewContext$.subscribe(e=>{const i=this.config.paramScope===o.x.USER_ATTRIBUTE?e.userAttributes[this.config.param]:e[this.config.param];i&&(this.checked="true"===i)})}isChecked(){return this.checked}toggle(){this.setChecked(!this.checked)}setChecked(e){this.config.paramScope===o.x.USER_ATTRIBUTE?this.contextService.setUserAttribute(this.config.param,"".concat(e)):(0,d.CV)(this.router,{[this.config.param]:e})}}return(C=_).\u0275fac=function(e){return new(e||C)(a.rXU(a.aKT),a.rXU(f.V),a.rXU(a.zZn),a.rXU(v.Ix),a.rXU(r.qQ),a.rXU(y.d))},C.\u0275cmp=a.VBU({type:C,selectors:[["storefront-switch"]],hostVars:2,hostBindings:function(e,i){2&e&&a.AVh("checked",i.checked)},features:[a.Vt3],decls:4,vars:2,consts:[[1,"label",3,"storefrontTranslate"],[1,"switch"],["type","checkbox",3,"change","checked"]],template:function(e,i){1&e&&(a.nrm(0,"label",0),a.j41(1,"label",1)(2,"input",2),a.bIt("change",function(){return i.toggle()}),a.k0s(),a.nrm(3,"span"),a.k0s()),2&e&&(a.Y8G("storefrontTranslate",i.config.label),a.R7$(2),a.Y8G("checked",i.isChecked()))},dependencies:[T.M],styles:['storefront-switch{align-items:center;display:flex}storefront-switch .label{margin:0 var(--gutter)}storefront-switch .switch{text-align:left;width:calc(var(--switchWidth) - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2);border-radius:var(--switchBorderRadius);background-color:var(--switchActiveColor);display:inline-block;position:relative;cursor:pointer}storefront-switch .switch>span{display:block;width:100%;height:100%;border-radius:var(--switchBorderRadius)}storefront-switch .switch>span:before,storefront-switch .switch>span:after{content:"";cursor:pointer;position:absolute}storefront-switch .switch>span:before{width:100%;height:100%;box-sizing:border-box;background-color:var(--switchBackgroundColor);border-radius:var(--switchBorderRadius);transition:opacity .2s ease-out .1s,transform .2s ease-out .1s;transform:scale(1);opacity:1}storefront-switch .switch>span:after{top:var(--switchBorderWidth);z-index:3;transition:transform .4s cubic-bezier(.44,-.12,.07,1.15);width:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));background-color:var(--switchHandleColor);border-radius:100%;box-shadow:0 2px 5px #0000004d;left:var(--switchBorderWidth)}storefront-switch .switch>input[type=checkbox]{opacity:0;position:absolute}storefront-switch .switch>input[type=checkbox]:checked~span:before{transform:scale(0);opacity:.7}storefront-switch .switch>input[type=checkbox]:checked~span:after{transform:translate(100%)}\n'],encapsulation:2}),_})()},9645:(U,E,t)=>{t.r(E),t.d(E,{SwitchModule:()=>a,component:()=>f});var g=t(177),o=t(1802),d=t(6483),r=t(4438);let a=(()=>{var v;class y{}return(v=y).\u0275fac=function(p){return new(p||v)},v.\u0275mod=r.$C({type:v}),v.\u0275inj=r.G2t({imports:[g.MD,d.h]}),y})();const f=o.c},2364:(U,E,t)=>{t.d(E,{S:()=>a});var g=t(4412),o=t(4438),d=t(1626),r=t(9118);let a=(()=>{var f;class v{constructor(T,p){this.http=T,this.kioskConfigService=p,this.initialization=new g.t(null),this.data=[{identifier:"phone",minScreenWidth:null},{identifier:"tablet_small",minScreenWidth:533},{identifier:"tablet_large",minScreenWidth:720}]}init(){}getDeviceClass(){const p=this.data.reduce((C,_)=>window.innerWidth>=_.minScreenWidth?_:C,null);return p&&p.identifier}}return(f=v).\u0275fac=function(T){return new(T||f)(o.KVO(d.Qq),o.KVO(r.x))},f.\u0275prov=o.jDH({token:f,factory:f.\u0275fac,providedIn:"root"}),v})()},354:(U,E,t)=>{t.d(E,{s:()=>p});var g=t(467),o=t(8471),d=t(1413),r=t(4438),a=t(496),f=t(9118),v=t(3072),y=t(2364),T=t(5483);let p=(()=>{var C;class _{constructor(e,i,s,D,O,n){this.publicationService=e,this.purpleService=i,this.kioskConfigService=s,this.sessionService=D,this.deviceClassService=O,this.contextService=n,this.initPdf=new d.B}init(e){var i=this;return(0,g.A)(function*(){i.data=void 0,i.kioskConfigData=yield i.kioskConfigService.getConfig().toPromise(),i.content=yield i.publicationService.selectByContentCriteria(e);let s=yield i.getLink(i.content,"pdf_download");i.initPdf.next(s)})()}getLink(e,i){var s=this;return(0,g.A)(function*(){const D=yield(0,o.GA)(e,s.purpleService);if(e&&e.properties&&!D){let O=Object.keys(e.properties);for(let n=0;n<O.length;n++)if(O[n]===i)return s.getAttachmentLink(e,e.properties[O[n]]);return null}})()}getAttachmentLink(e,i,s){var D=this;return(0,g.A)(function*(){const O=new URL(window.location.href).origin,n=D.contextService.getIsCustomerDomainUsed()?O:D.purpleService.getPurpleConfig().contentUrl,l=JSON.parse(localStorage.getItem("AppWebConfiguration")).id;let m="".concat(n,"/resources/web/attachment/").concat(l,"/").concat(e.id,"/").concat(i);m+="?preview=".concat(D.kioskConfigData.kioskConfig.preview),m+="&deviceId=".concat(localStorage.getItem("deviceId")),m+="&deviceClass=".concat(D.deviceClassService.getDeviceClass());const u=yield D.sessionService.getReceiptData(e);if(u){const{receipt:M,providerType:P}=u;m+="&receipt=".concat(window.encodeURIComponent(M)),m+="&providerType=".concat(P)}const h=D.sanitize(D.getFileName(e,i,s));return m+="&targetFilename=".concat(window.encodeURIComponent(h)),m})()}getSingleDownloadLink(){return this.data&&WP.instance&&WP.instance.getScroller()&&this.data[WP.instance.getScroller().getIndex()]}getDownloadLink(){var e=this;return(0,g.A)(function*(){return yield e.getLink(e.content,"pdf_download")})()}getFileName(e,i,s){const O=this.kioskConfigData.kioskConfig.downloadFileName,n=i.substr(i.lastIndexOf(".")),l=s?" - "+s:"";switch(O){case"publication_issue":return this.publicationService.currentPublication.name+" - "+e.name+l+n;case"issue":return e.name+l+n;default:return i}}sanitize(e){return e.replace(/,/g,"").replace(/\xe4/g,"ae").replace(/\xc4/g,"Ae").replace(/\xf6/g,"oe").replace(/\xd6/g,"Oe").replace(/\xfc/g,"ue").replace(/\xdc/g,"Ue")}}return(C=_).\u0275fac=function(e){return new(e||C)(r.KVO(a.m),r.KVO(o.Wj),r.KVO(f.x),r.KVO(v.Q),r.KVO(y.S),r.KVO(T.V))},C.\u0275prov=r.jDH({token:C,factory:C.\u0275fac,providedIn:"root"}),_})()},3072:(U,E,t)=>{t.d(E,{Q:()=>f});var g=t(467),o=t(4404),r=t(4438),a=t(8471);let f=(()=>{var v;class y{constructor(p){this.purpleService=p}getReceiptData(p){var C=this;return(0,g.A)(function*(){return p.purchaseData.purchasedBy.includes(o.PurchaseOption.ENTITLEMENT)?{receipt:yield C.getAccessToken(),providerType:"entitlement"}:p.purchaseData.purchasedBy.includes(o.PurchaseOption.SUBSCRIPTION_CODE)?{receipt:(yield C.getSubscriptionCodes()).join(","),providerType:"subscriptionCode"}:null})()}getAccessToken(){var p=this;return(0,g.A)(function*(){const C=yield p.purpleService.purpleRef.entitlement.getUserData();return null==C?void 0:C.accessToken})()}getSubscriptionCodes(){var p=this;return(0,g.A)(function*(){return(yield p.purpleService.purpleRef.store.getSubscriptionCodes()).subscriptionCodes})()}}return(v=y).\u0275fac=function(p){return new(p||v)(r.KVO(a.Wj))},v.\u0275prov=r.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}),y})()},7967:(U,E,t)=>{function g(o,d){return"object"!=typeof o?1===d?o:o+"S":1===d?o.singular:o.plural}t.d(E,{t:()=>g})}}]);
1
+ "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["common"],{3472:(U,O,t)=>{t.d(O,{M:()=>P});var f=t(9758),r=t(8179),h=t(362),i=t(4452),C=t(3713),v=t(3953);let P=(()=>{var T;class _ extends C.r{getDataFromContext(m=this.context){return this.getSelectionScope()===f.x.USER_ATTRIBUTE?m.userAttributes[this.getParam()]:m[this.getParam()]}hasContextChanged(m){let l=super.hasContextChanged(m);if(!l&&this.isSelectionEnabled()){const a=this.getDataFromContext(),p=this.getDataFromContext(m);l=!h(a,p)}return l}ngOnDestroy(){super.ngOnDestroy(),this.dataSource&&this.contextService.unregisterDataSource(this.dataSource)}stripChildConfigs(m){return m.content&&(m.content={}),m}getEntryConfig(m){return m&&m.ad||{...this.baseConfig.content}}getEntryContext(m){var l;let a=(0,r.uQ)(null!==(l=this.getConfig().dataSource.entryId)&&void 0!==l?l:this.getDataType(),this.context,this.contextService.$functions,this.globalService.getGlobalData());return{...this.baseContext,[a]:m}}getConfig(){return this.config||this.baseConfig}isSelectionEnabled(){return!1}getDataType(){return this.getConfig().dataSource.type}getGroupDataType(m){return m.dataSource.type}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),...(0,i.Kj)(this.baseConfig)].filter(m=>!!m)}}return(T=_).\u0275fac=(()=>{let M;return function(l){return(M||(M=v.xGo(T)))(l||T)}})(),T.\u0275dir=v.FsC({type:T,features:[v.Vt3]}),_})()},1803:(U,O,t)=>{t.d(O,{TS:()=>f,We:()=>h});var f=function(s){return s.VERTICAL="vertical",s.HORIZONTAL="horizontal",s.GRID="grid",s.GROUP="group",s.TABS="tabs",s}(f||{}),h=function(s){return s.BLANK="_blank",s.SELF="_self",s}(h||{})},3303:(U,O,t)=>{t.d(O,{y:()=>s});var f=t(177),r=t(9149),h=t(3953);let s=(()=>{var i;class C{}return(i=C).\u0275fac=function(P){return new(P||i)},i.\u0275mod=h.$C({type:i}),i.\u0275inj=h.G2t({imports:[f.MD,r.ContentTitleModule]}),C})()},5848:(U,O,t)=>{t.d(O,{Q:()=>T});var f=t(467),r=t(177),h=t(1210),s=t(5706),i=t(3953),C=t(9516),v=t(8471),P=t(1652);let T=(()=>{var _;class M extends h.${get contextKey(){var l,a,p;return null!==(l=null!==(a=null===(p=this.config)||void 0===p?void 0:p.contextKey)&&void 0!==a?a:this.defaultConfig.contextKey)&&void 0!==l?l:"content"}constructor(l,a,p,o,u,D){super(a,l,p,o,D),this.elementRef=l,this.injector=a,this.contextService=p,this.document=o,this.purpleService=u,this.globalService=D}getOptionalData(l,a,p){var o=this;return(0,f.A)(function*(){if((0,s.mF)(o.catalogContent))return o.catalogContent=yield o.purpleService.completePost(o.catalogContent,l,a),o.catalogContent[a];if((0,s.G4)(o.catalogContent))return o.bundleContent[p]=yield o.purpleService.completePost(o.getBundle(o.catalogContent)[p],l,a),o.bundleContent[p][a];throw new Error("No post but tried to load ".concat(a))})()}hasContentChanged(l,a){return(null==l?void 0:l.id)!==(null==a?void 0:a.id)||this.hasVersionChanged(l,a)}hasVersionChanged(l,a){return(null==l?void 0:l.version)!==(null==a?void 0:a.version)}onConfigChanges(){var l;let a=null===(l=this.context)||void 0===l?void 0:l[this.contextKey];Array.isArray(a)&&(a=a[0]);const p=this.hasContentChanged(this.catalogContent,a)&&!!a;return p&&(this.catalogContent=a),p}isGhost(){var l;return!this.config||!(null!==(l=this.context)&&void 0!==l&&l[this.contextKey])}getBundle(l){return this.bundleContent||(this.bundleContent=l.contents.map(a=>{var p;return null!==(p=a.post)&&void 0!==p?p:a.content})),this.bundleContent}ngOnDestroy(){super.ngOnDestroy()}getContextKey(){return this.contextKey}}return(_=M).\u0275fac=function(l){return new(l||_)(i.rXU(i.aKT),i.rXU(i.zZn),i.rXU(C.V),i.rXU(r.qQ),i.rXU(v.Wj),i.rXU(P.d))},_.\u0275dir=i.FsC({type:_,features:[i.Vt3]}),M})()},9149:(U,O,t)=>{t.r(O),t.d(O,{ContentTitleModule:()=>a,component:()=>p});var f=t(177);const r={titleMessage:"%s"};var h=t(5848),s=t(3953),i=t(9516),C=t(8471),v=t(1652),P=t(8909);const T=o=>[o];function _(o,u){1&o&&(s.qex(0),s.j41(1,"h1"),s.EFF(2,"..."),s.k0s(),s.bVm())}function M(o,u){if(1&o&&s.nrm(0,"h1",2),2&o){const D=s.XpG();s.Y8G("storefrontTranslate",D.config.titleMessage)("storefrontTranslateArgs",s.eq3(2,T,D.catalogContent.name))}}let m=(()=>{var o;class u extends h.Q{constructor(e,n,g,d,c,E){super(e,g,n,d,c,E),this.elementRef=e,this.contextService=n,this.injector=g,this.document=d,this.purpleService=c,this.globalService=E,this.type="content-title",this.defaultConfig=r}}return(o=u).\u0275fac=function(e){return new(e||o)(s.rXU(s.aKT),s.rXU(i.V),s.rXU(s.zZn),s.rXU(f.qQ),s.rXU(C.Wj),s.rXU(v.d))},o.\u0275cmp=s.VBU({type:o,selectors:[["storefront-content-title"]],features:[s.Vt3],decls:2,vars:2,consts:[[4,"ngIf"],[3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],[3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(e,n){1&e&&s.DNE(0,_,3,0,"ng-container",0)(1,M,1,4,"h1",1),2&e&&(s.Y8G("ngIf",n.ghost),s.R7$(),s.Y8G("ngIf",!n.ghost))},dependencies:[f.bT,P.M],styles:["storefront-content-title>h1{margin-top:var(--contentHeaderMarginTop);margin-bottom:var(--contentHeaderMarginBottom);padding-top:var(--contentHeaderPaddingVert);padding-bottom:var(--contentHeaderPaddingVert);font-size:1.5rem}\n"],encapsulation:2}),u})();var l=t(6483);let a=(()=>{var o;class u{}return(o=u).\u0275fac=function(e){return new(e||o)},o.\u0275mod=s.$C({type:o}),o.\u0275inj=s.G2t({imports:[f.MD,l.h]}),u})();const p=m},2285:(U,O,t)=>{t.d(O,{b:()=>p});var f=t(467),r=t(177),h=t(3953),s=t(1210),i=t(8251),C=t(610),v=t(1803);const P={tag:"div",content:"",attributes:{}};var T=t(8179),_=t(9516),M=t(6067),m=t(8004),l=t(1652),a=t(5820);let p=(()=>{var o;class u extends s.${constructor(e,n,g,d,c,E,y,S,A,B,L,R){super(d,e,n,S,L),this.elementRef=e,this.contextService=n,this.renderer=g,this.injector=d,this.translate=c,this.eventActionService=E,this.store=y,this.document=S,this.platformId=A,this.changeDetectorRef=B,this.globalService=L,this.anchorService=R,this.anchorFeatureEnabled=!1,this.anchorPath=null,this.defaultConfig={...P}}ngOnInit(){var e=()=>super.ngOnInit,n=this;return(0,f.A)(function*(){n.anchorFeatureEnabled=n.anchorService.isAnchorFeatureEnabled(),e().call(n),n.elementRef.nativeElement.innerHTML="";const g=n.renderer.createElement(n.baseConfig.tag);n.renderer.appendChild(n.elementRef.nativeElement,g)})()}onConfigChanges(){var e=this;return(0,f.A)(function*(){var n,g;const d=e.renderer.createElement(e.config.tag),c={...e.config.attributes};null!==(n=e.config.attributes)&&void 0!==n&&n.src&&(c.src=e.contextService.toResourceUrl(e.config.attributes.src)),null!==(g=e.config.attributes)&&void 0!==g&&g.href&&(c.href=e.contextService.toResourceUrl(e.config.attributes.href)),"iframe"===e.config.tag&&d.addEventListener("load",y=>{d&&d.contentDocument?(d.contentDocument.scrollingElement.scrollHeight>d.contentWindow.innerHeight&&(d.style.height=d.contentDocument.scrollingElement.scrollHeight+"px"),d.contentDocument.scrollingElement.scrollWidth>d.contentWindow.innerWidth&&(d.style.width=d.contentDocument.scrollingElement.scrollWidth+"px")):window.addEventListener("message",S=>{S.origin===new URL(null==c?void 0:c.src).origin&&(S.data.height&&(d.style.height=S.data.height+"px"),S.data.width&&(d.style.width=S.data.width+"px"))})}),Object.keys(c).forEach(y=>d.setAttribute(y,e.config.attributes[y])),e.translatedContent=yield e.translate.translate({text:e.config.content,args:e.config.variables||[]}),d.innerHTML=(0,T.uQ)(e.translatedContent,e.context,e.contextService.$functions,e.globalService.getGlobalData()),e.elementRef.nativeElement.innerHTML="";let E=d;e.anchorFeatureEnabled&&(E=e.handleAnchorTags(d)),E.addEventListener("click",y=>e.onClick(y)),e.renderer.appendChild(e.elementRef.nativeElement,E),e.changeDetectorRef.markForCheck()})()}ngOnDestroy(){super.ngOnDestroy()}onClick(e){this.config.tap&&((this.anchorFeatureEnabled||"touchstart"===e.type)&&e.preventDefault(),this.trackOnClick(),this.eventActionService.processEventAction(this.config.tap,this));const n=this.getAnchorElementFromEvent(e);null!=n&&n.href&&(n.target===v.We.BLANK?"external"===n.getAttribute("data-target")?this.trackLinkOpenExternal(n):this.trackLinkOpenAppBrowser(n):this.trackLinkOpenInline(n))}getConfigEscapeProperties(){return["condition"]}isGhost(){return!1}hasContextChanged(e){return super.hasContextChanged(e)||this.translatedContent&&this.translatedContent.indexOf(T.mF)>-1}getAnchorElementFromEvent(e){var n,g;return"a"===(null===(n=e.target)||void 0===n?void 0:n.tagName.toLowerCase())?e.target:"a"===(null===(g=e.target)||void 0===g||null===(g=g.parentElement)||void 0===g?void 0:g.tagName.toLowerCase())?e.target.parentElement:null}handleAnchorTags(e){if(this.anchorPath=this.anchorService.getAnchorPathForEventAction(this.config.tap,this.context),this.anchorPath){const n=this.renderer.createElement("a");return n.style.height="inherit",n.style.width="inherit",n.setAttribute("href",this.anchorPath),n.appendChild(e),n}return e}trackOnClick(){const e="".concat(this.getTrackingBaseKey(),"_CLICKED");this.dispatchTrackingAction(e,{})}trackLinkOpenExternal(e){const n="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_EXTERNAL");this.dispatchTrackingAction(n,{TARGET_URL:e.href,LINK_TEXT:e.innerText})}trackLinkOpenAppBrowser(e){const n="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_APP_BROWSER");this.dispatchTrackingAction(n,{TARGET_URL:e.href,LINK_TEXT:e.innerText})}trackLinkOpenInline(e){this.store.dispatch((0,C.k4)({url:window.location.href,key:"".concat(this.getTrackingBaseKey(),"_LINK_OPEN_INLINE"),params:{TARGET_URL:e.href,LINK_TEXT:e.innerText}}))}dispatchTrackingAction(e,n){this.store.dispatch((0,C.k4)({url:window.location.href,key:e,params:n}))}}return(o=u).type="html",o.\u0275fac=function(e){return new(e||o)(h.rXU(h.aKT),h.rXU(_.V),h.rXU(h.sFG),h.rXU(h.zZn),h.rXU(M.D),h.rXU(m.G),h.rXU(i.B),h.rXU(r.qQ),h.rXU(h.Agw),h.rXU(h.gRc),h.rXU(l.d),h.rXU(a.X))},o.\u0275cmp=h.VBU({type:o,selectors:[["storefront-html"]],features:[h.Jv_([i.B]),h.Vt3],decls:0,vars:0,template:function(e,n){},styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-html{position:relative;display:flex}storefront-html.ghost>*{background-image:linear-gradient(90deg,var(--ghostColor) 0px,rgb(236,236,236) 40px,var(--ghostColor) 80px);background-size:80vw;animation:ghost-lines 2s infinite linear;background-color:var(--ghostColor);border-radius:var(--borderRadius);width:90%;height:1.2em}\n'],encapsulation:2,changeDetection:0}),u})()},9207:(U,O,t)=>{t.r(O),t.d(O,{HTMLModule:()=>s,component:()=>i});var f=t(177),r=t(2285),h=t(3953);let s=(()=>{var C;class v{}return(C=v).\u0275fac=function(T){return new(T||C)},C.\u0275mod=h.$C({type:C}),C.\u0275inj=h.G2t({imports:[f.MD]}),v})();const i=r.b},6218:(U,O,t)=>{t.r(O),t.d(O,{SectionModule:()=>D,component:()=>e});var f=t(177),r=t(3953);const h={content:null};var s=t(1210),i=t(8179),C=t(7879),v=t(1184),P=t(9516),T=t(1652),_=t(4748),M=t(3648);const m=["viewTemplate"],l=["viewChildren"];function a(n,g){if(1&n&&r.nrm(0,"storefront-element",3,0),2&n){const d=g.$implicit,c=r.XpG(2);r.Y8G("baseContext",c.baseContext)("baseConfig",d)("lazy",c.isLazy)}}function p(n,g){if(1&n&&(r.qex(0),r.DNE(1,a,2,3,"storefront-element",2),r.bVm()),2&n){const d=r.XpG();r.R7$(),r.Y8G("ngForOf",d.children)("ngForTrackBy",d.trackByChildren)}}let o=(()=>{var n;class g extends s.${constructor(c,E,y,S,A,B,L,R,I){super(E,c,y,A,B),this.elementRef=c,this.injector=E,this.contextService=y,this.changeDetectorRef=S,this.document=A,this.globalService=B,this.ssrService=L,this.platformId=R,this.purpleEnv=I,this.defaultConfig={...h},this.changeDetectorRef=S}ngOnInit(){this.baseContext.isGhost||super.ngOnInit()}onConfigChanges(){if(super.onConfigChanges(),this.isLazy=!(!window.isUniversal||!this.ssrService.currentPrebootStatus),this.baseConfig.content){this.children=[];for(let c=0;c<this.baseConfig.content.length;c++)(this.purpleEnv.isUniversal||(0,i.Ol)(this.config.content[c]))&&this.children.push(this.baseConfig.content[c]);this.changeDetectorRef.detectChanges(),this.childComponents.forEach((c,E)=>{!this.purpleEnv.isUniversal||(0,i.Ol)(this.config.content[E])?c.lazyLoad():this.purpleEnv.isUniversal&&(0,f.UE)(this.platformId)&&(null==c||c.loadAndClear())}),this.changeDetectorRef.markForCheck()}}stripChildConfigs(c){return c.content&&Array.isArray(c.content)&&(c.content=c.content.map(({_uuid:E,condition:y})=>({_uuid:E,condition:y}))),c}rebuildContextKeys(){super.rebuildContextKeys(),this.baseConfig.content.forEach(c=>{"condition"in c&&(0,v.Fl)(c.condition,this.contextKeys)})}trackByChildren(c,E){if("string"==typeof E||"number"==typeof E)return E;const y=E.id||E._uuid;if(!y)throw console.error(E),"Element should have _uuid from config loader!";return y}}return(n=g).type="section",n.\u0275fac=function(c){return new(c||n)(r.rXU(r.aKT),r.rXU(r.zZn),r.rXU(P.V),r.rXU(r.gRc),r.rXU(f.qQ),r.rXU(T.d),r.rXU(_.i),r.rXU(r.Agw),r.rXU(C.r6))},n.\u0275cmp=r.VBU({type:n,selectors:[["storefront-section"]],viewQuery:function(c,E){if(1&c&&(r.GBs(m,7,r.c1b),r.GBs(l,5)),2&c){let y;r.mGM(y=r.lsd())&&(E.viewTemplate=y.first),r.mGM(y=r.lsd())&&(E.childComponents=y)}},features:[r.Vt3],decls:1,vars:1,consts:[["viewChildren",""],[4,"ngIf"],[3,"baseContext","baseConfig","lazy",4,"ngFor","ngForOf","ngForTrackBy"],[3,"baseContext","baseConfig","lazy"]],template:function(c,E){1&c&&r.DNE(0,p,2,2,"ng-container",1),2&c&&r.Y8G("ngIf",E.children)},dependencies:[f.Sq,f.bT,M._],styles:["storefront-section{display:flex;justify-content:space-between;padding:var(--sectionPadding);flex-direction:column}\n"],encapsulation:2,changeDetection:0}),g})();var u=t(6895);let D=(()=>{var n;class g{}return(n=g).\u0275fac=function(c){return new(c||n)},n.\u0275mod=r.$C({type:n}),n.\u0275inj=r.G2t({imports:[f.MD,u.r]}),g})();const e=o},1802:(U,O,t)=>{t.d(O,{c:()=>_});var f=t(1210),r=t(9758),h=t(8075),s=t(177),i=t(3953),C=t(9516),v=t(4559),P=t(1652),T=t(8909);let _=(()=>{var M;class m extends f.${constructor(a,p,o,u,D,e){super(o,a,p,D,e),this.elementRef=a,this.contextService=p,this.injector=o,this.router=u,this.document=D,this.globalService=e,this.type="switch",this.defaultConfig={}}ngOnInit(){this.config={...this.baseConfig},this.checked=this.config.initialValue,super.ngOnInit(),this.contextService.viewContext$.subscribe(a=>{const p=this.config.paramScope===r.x.USER_ATTRIBUTE?a.userAttributes[this.config.param]:a[this.config.param];p&&(this.checked="true"===p)})}isChecked(){return this.checked}toggle(){this.setChecked(!this.checked)}setChecked(a){this.config.paramScope===r.x.USER_ATTRIBUTE?this.contextService.setUserAttribute(this.config.param,"".concat(a)):(0,h.CV)(this.router,{[this.config.param]:a})}}return(M=m).\u0275fac=function(a){return new(a||M)(i.rXU(i.aKT),i.rXU(C.V),i.rXU(i.zZn),i.rXU(v.Ix),i.rXU(s.qQ),i.rXU(P.d))},M.\u0275cmp=i.VBU({type:M,selectors:[["storefront-switch"]],hostVars:2,hostBindings:function(a,p){2&a&&i.AVh("checked",p.checked)},features:[i.Vt3],decls:4,vars:2,consts:[[1,"label",3,"storefrontTranslate"],[1,"switch"],["type","checkbox",3,"change","checked"]],template:function(a,p){1&a&&(i.nrm(0,"label",0),i.j41(1,"label",1)(2,"input",2),i.bIt("change",function(){return p.toggle()}),i.k0s(),i.nrm(3,"span"),i.k0s()),2&a&&(i.Y8G("storefrontTranslate",p.config.label),i.R7$(2),i.Y8G("checked",p.isChecked()))},dependencies:[T.M],styles:['storefront-switch{align-items:center;display:flex}storefront-switch .label{margin:0 var(--gutter)}storefront-switch .switch{text-align:left;width:calc(var(--switchWidth) - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2);border-radius:var(--switchBorderRadius);background-color:var(--switchActiveColor);display:inline-block;position:relative;cursor:pointer}storefront-switch .switch>span{display:block;width:100%;height:100%;border-radius:var(--switchBorderRadius)}storefront-switch .switch>span:before,storefront-switch .switch>span:after{content:"";cursor:pointer;position:absolute}storefront-switch .switch>span:before{width:100%;height:100%;box-sizing:border-box;background-color:var(--switchBackgroundColor);border-radius:var(--switchBorderRadius);transition:opacity .2s ease-out .1s,transform .2s ease-out .1s;transform:scale(1);opacity:1}storefront-switch .switch>span:after{top:var(--switchBorderWidth);z-index:3;transition:transform .4s cubic-bezier(.44,-.12,.07,1.15);width:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));background-color:var(--switchHandleColor);border-radius:100%;box-shadow:0 2px 5px #0000004d;left:var(--switchBorderWidth)}storefront-switch .switch>input[type=checkbox]{opacity:0;position:absolute}storefront-switch .switch>input[type=checkbox]:checked~span:before{transform:scale(0);opacity:.7}storefront-switch .switch>input[type=checkbox]:checked~span:after{transform:translate(100%)}\n'],encapsulation:2}),m})()},9645:(U,O,t)=>{t.r(O),t.d(O,{SwitchModule:()=>i,component:()=>C});var f=t(177),r=t(1802),h=t(6483),s=t(3953);let i=(()=>{var v;class P{}return(v=P).\u0275fac=function(_){return new(_||v)},v.\u0275mod=s.$C({type:v}),v.\u0275inj=s.G2t({imports:[f.MD,h.h]}),P})();const C=r.c},2364:(U,O,t)=>{t.d(O,{S:()=>i});var f=t(4412),r=t(3953),h=t(1626),s=t(9118);let i=(()=>{var C;class v{constructor(T,_){this.http=T,this.kioskConfigService=_,this.initialization=new f.t(null),this.data=[{identifier:"phone",minScreenWidth:null},{identifier:"tablet_small",minScreenWidth:533},{identifier:"tablet_large",minScreenWidth:720}]}init(){}getDeviceClass(){const _=this.data.reduce((M,m)=>window.innerWidth>=m.minScreenWidth?m:M,null);return _&&_.identifier}}return(C=v).\u0275fac=function(T){return new(T||C)(r.KVO(h.Qq),r.KVO(s.x))},C.\u0275prov=r.jDH({token:C,factory:C.\u0275fac,providedIn:"root"}),v})()},354:(U,O,t)=>{t.d(O,{s:()=>m});var f=t(467),r=t(8471),h=t(1413),s=t(4412),i=t(3953),C=t(496),v=t(1626),P=t(9118),T=t(3072),_=t(2364),M=t(9516);let m=(()=>{var l;class a{constructor(o,u,D,e,n,g,d){this.publicationService=o,this.http=u,this.purpleService=D,this.kioskConfigService=e,this.sessionService=n,this.deviceClassService=g,this.contextService=d,this.data=[],this.initPdf=new h.B,this.presenterLoaded=new s.t(!1),this.subscriptions=[]}init(o){var u=this;return(0,f.A)(function*(){u.kioskConfigData=yield u.kioskConfigService.getConfig().toPromise(),u.content=yield u.publicationService.selectByContentCriteria(o);let D=yield u.getLink(u.content,"pdf_single_page_download");yield u.getSinglePageDownloadLinkFromJSON(D);let e=yield u.getLink(u.content,"pdf_download");u.initPdf.next(e)})()}getLink(o,u){var D=this;return(0,f.A)(function*(){const e=yield(0,r.GA)(o,D.purpleService);if(o&&o.properties&&!e){let n=Object.keys(o.properties);for(let g=0;g<n.length;g++)if(n[g]===u)return D.getAttachmentLink(o,o.properties[n[g]]);return null}})()}getSinglePageDownloadLinkFromJSON(o){var u=this;return(0,f.A)(function*(){try{const D=u.presenterLoaded.subscribe(function(){var e=(0,f.A)(function*(n){if(n){const S=yield u.http.get(o).toPromise();var g=WP.instance.getPurpleData().getPages();if(S){var d=0;for(const A of g){for(var c=parseInt(A.pageCount),E=[],y=0;y<c;y++)E.push(yield u.getAttachmentLink(u.content,S[d],d+1)),d++;u.data.push(E)}}}});return function(n){return e.apply(this,arguments)}}());u.subscriptions.push(D)}catch(D){console.error("Error fetching data from JSON link:",D)}})()}getAttachmentLink(o,u,D){var e=this;return(0,f.A)(function*(){const n=new URL(window.location.href).origin,g=e.contextService.getIsCustomerDomainUsed()?n:e.purpleService.getPurpleConfig().contentUrl,d=JSON.parse(localStorage.getItem("AppWebConfiguration")).id;let c="".concat(g,"/resources/web/attachment/").concat(d,"/").concat(o.id,"/").concat(u);c+="?preview=".concat(e.kioskConfigData.kioskConfig.preview),c+="&deviceId=".concat(localStorage.getItem("deviceId")),c+="&deviceClass=".concat(e.deviceClassService.getDeviceClass());const E=yield e.sessionService.getReceiptData(o);if(E){const{receipt:S,providerType:A}=E;c+="&receipt=".concat(window.encodeURIComponent(S)),c+="&providerType=".concat(A)}const y=e.sanitize(e.getFileName(o,u,D));return c+="&targetFilename=".concat(window.encodeURIComponent(y)),c})()}getSingleDownloadLink(){return this.data&&WP.instance&&WP.instance.getScroller()&&this.data[WP.instance.getScroller().getIndex()]}getDownloadLink(){var o=this;return(0,f.A)(function*(){return yield o.getLink(o.content,"pdf_download")})()}getFileName(o,u,D){const n=this.kioskConfigData.kioskConfig.downloadFileName,g=u.substr(u.lastIndexOf(".")),d=D?" - "+D:"";switch(n){case"publication_issue":return this.publicationService.currentPublication.name+" - "+o.name+d+g;case"issue":return o.name+d+g;default:return u}}sanitize(o){return o.replace(/,/g,"").replace(/\xe4/g,"ae").replace(/\xc4/g,"Ae").replace(/\xf6/g,"oe").replace(/\xd6/g,"Oe").replace(/\xfc/g,"ue").replace(/\xdc/g,"Ue")}ngOnDestroy(){this.subscriptions.forEach(o=>o.unsubscribe())}}return(l=a).\u0275fac=function(o){return new(o||l)(i.KVO(C.m),i.KVO(v.Qq),i.KVO(r.Wj),i.KVO(P.x),i.KVO(T.Q),i.KVO(_.S),i.KVO(M.V))},l.\u0275prov=i.jDH({token:l,factory:l.\u0275fac,providedIn:"root"}),a})()},3072:(U,O,t)=>{t.d(O,{Q:()=>C});var f=t(467),r=t(4404),s=t(3953),i=t(8471);let C=(()=>{var v;class P{constructor(_){this.purpleService=_}getReceiptData(_){var M=this;return(0,f.A)(function*(){return _.purchaseData.purchasedBy.includes(r.PurchaseOption.ENTITLEMENT)?{receipt:yield M.getAccessToken(),providerType:"entitlement"}:_.purchaseData.purchasedBy.includes(r.PurchaseOption.SUBSCRIPTION_CODE)?{receipt:(yield M.getSubscriptionCodes()).join(","),providerType:"subscriptionCode"}:null})()}getAccessToken(){var _=this;return(0,f.A)(function*(){const M=yield _.purpleService.purpleRef.entitlement.getUserData();return null==M?void 0:M.accessToken})()}getSubscriptionCodes(){var _=this;return(0,f.A)(function*(){return(yield _.purpleService.purpleRef.store.getSubscriptionCodes()).subscriptionCodes})()}}return(v=P).\u0275fac=function(_){return new(_||v)(s.KVO(i.Wj))},v.\u0275prov=s.jDH({token:v,factory:v.\u0275fac,providedIn:"root"}),P})()},7967:(U,O,t)=>{function f(r,h){return"object"!=typeof r?1===h?r:r+"S":1===h?r.singular:r.plural}t.d(O,{t:()=>f})}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-node_modules_angular_forms_fesm2022_forms_mjs"],{4341:(Cn,ct,c)=>{c.d(ct,{Zm:()=>T,me:()=>E,YN:()=>vn,BC:()=>xe,cb:()=>Ge,cV:()=>k,vS:()=>Y,qT:()=>We});var i=c(4438),ae=c(177),ht=c(2806),ft=c(1985),pt=c(3073),mt=c(8750),gt=c(9326),_t=c(4360),vt=c(6450),yt=c(8496),Vt=c(6354);let le=(()=>{var n;class e{constructor(t,o){this._renderer=t,this._elementRef=o,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(t,o){this._renderer.setProperty(this._elementRef.nativeElement,t,o)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return(n=e).\u0275fac=function(t){return new(t||n)(i.rXU(i.sFG),i.rXU(i.aKT))},n.\u0275dir=i.FsC({type:n}),e})(),v=(()=>{var n;class e extends le{}return(n=e).\u0275fac=(()=>{let r;return function(o){return(r||(r=i.xGo(n)))(o||n)}})(),n.\u0275dir=i.FsC({type:n,features:[i.Vt3]}),e})();const f=new i.nKC(""),Mt={provide:f,useExisting:(0,i.Rfq)(()=>T),multi:!0};let T=(()=>{var n;class e extends v{writeValue(t){this.setProperty("checked",t)}}return(n=e).\u0275fac=(()=>{let r;return function(o){return(r||(r=i.xGo(n)))(o||n)}})(),n.\u0275dir=i.FsC({type:n,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,o){1&t&&i.bIt("change",function(a){return o.onChange(a.target.checked)})("blur",function(){return o.onTouched()})},features:[i.Jv_([Mt]),i.Vt3]}),e})();const At={provide:f,useExisting:(0,i.Rfq)(()=>E),multi:!0},Dt=new i.nKC("");let E=(()=>{var n;class e extends le{constructor(t,o,s){super(t,o),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function bt(){const n=(0,ae.QT)()?(0,ae.QT)().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return(n=e).\u0275fac=function(t){return new(t||n)(i.rXU(i.sFG),i.rXU(i.aKT),i.rXU(Dt,8))},n.\u0275dir=i.FsC({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,o){1&t&&i.bIt("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[i.Jv_([At]),i.Vt3]}),e})();const u=new i.nKC(""),m=new i.nKC("");function ve(n){return null!=n}function ye(n){return(0,i.jNT)(n)?(0,ht.H)(n):n}function Ce(n){let e={};return n.forEach(r=>{e=null!=r?{...e,...r}:e}),0===Object.keys(e).length?null:e}function Ve(n,e){return e.map(r=>r(n))}function Me(n){return n.map(e=>function Et(n){return!n.validate}(e)?e:r=>e.validate(r))}function P(n){return null!=n?function Ae(n){if(!n)return null;const e=n.filter(ve);return 0==e.length?null:function(r){return Ce(Ve(r,e))}}(Me(n)):null}function H(n){return null!=n?function be(n){if(!n)return null;const e=n.filter(ve);return 0==e.length?null:function(r){return function Ct(...n){const e=(0,gt.ms)(n),{args:r,keys:t}=(0,pt.D)(n),o=new ft.c(s=>{const{length:a}=r;if(!a)return void s.complete();const l=new Array(a);let h=a,C=a;for(let _=0;_<a;_++){let se=!1;(0,mt.Tg)(r[_]).subscribe((0,_t._)(s,yn=>{se||(se=!0,C--),l[_]=yn},()=>h--,void 0,()=>{(!h||!se)&&(C||s.next(t?(0,yt.e)(t,l):l),s.complete())}))}});return e?o.pipe((0,vt.I)(e)):o}(Ve(r,e).map(ye)).pipe((0,Vt.T)(Ce))}}(Me(n)):null}function De(n,e){return null===n?[e]:Array.isArray(n)?[...n,e]:[n,e]}function L(n){return n?Array.isArray(n)?n:[n]:[]}function N(n,e){return Array.isArray(n)?n.includes(e):n===e}function we(n,e){const r=L(e);return L(n).forEach(o=>{N(r,o)||r.push(o)}),r}function Ne(n,e){return L(e).filter(r=>!N(n,r))}class Oe{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=P(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=H(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return!!this.control&&this.control.hasError(e,r)}getError(e,r){return this.control?this.control.getError(e,r):null}}class d extends Oe{get formDirective(){return null}get path(){return null}}class g extends Oe{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Se{constructor(e){this._cd=e}get isTouched(){var e;return!(null===(e=this._cd)||void 0===e||null===(e=e.control)||void 0===e||!e.touched)}get isUntouched(){var e;return!(null===(e=this._cd)||void 0===e||null===(e=e.control)||void 0===e||!e.untouched)}get isPristine(){var e;return!(null===(e=this._cd)||void 0===e||null===(e=e.control)||void 0===e||!e.pristine)}get isDirty(){var e;return!(null===(e=this._cd)||void 0===e||null===(e=e.control)||void 0===e||!e.dirty)}get isValid(){var e;return!(null===(e=this._cd)||void 0===e||null===(e=e.control)||void 0===e||!e.valid)}get isInvalid(){var e;return!(null===(e=this._cd)||void 0===e||null===(e=e.control)||void 0===e||!e.invalid)}get isPending(){var e;return!(null===(e=this._cd)||void 0===e||null===(e=e.control)||void 0===e||!e.pending)}get isSubmitted(){var e;return!(null===(e=this._cd)||void 0===e||!e.submitted)}}let xe=(()=>{var n;class e extends Se{constructor(t){super(t)}}return(n=e).\u0275fac=function(t){return new(t||n)(i.rXU(g,2))},n.\u0275dir=i.FsC({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,o){2&t&&i.AVh("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[i.Vt3]}),e})(),Ge=(()=>{var n;class e extends Se{constructor(t){super(t)}}return(n=e).\u0275fac=function(t){return new(t||n)(i.rXU(d,10))},n.\u0275dir=i.FsC({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,o){2&t&&i.AVh("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[i.Vt3]}),e})();const A="VALID",S="INVALID",V="PENDING",b="DISABLED";function X(n){return(x(n)?n.validators:n)||null}function W(n,e){return(x(e)?e.asyncValidators:n)||null}function x(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class q{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===A}get invalid(){return this.status===S}get pending(){return this.status==V}get disabled(){return this.status===b}get enabled(){return this.status!==b}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(we(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(we(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Ne(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Ne(e,this._rawAsyncValidators))}hasValidator(e){return N(this._rawValidators,e)}hasAsyncValidator(e){return N(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(r=>{r.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(r=>{r.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status=V,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const r=this._parentMarkedDirty(e.onlySelf);this.status=b,this.errors=null,this._forEachChild(t=>{t.disable({...e,onlySelf:!0})}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...e,skipPristineCheck:r}),this._onDisabledChange.forEach(t=>t(!0))}enable(e={}){const r=this._parentMarkedDirty(e.onlySelf);this.status=A,this._forEachChild(t=>{t.enable({...e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors({...e,skipPristineCheck:r}),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===A||this.status===V)&&this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?b:A}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status=V,this._hasOwnPendingAsyncValidator=!0;const r=ye(this.asyncValidator(this));this._asyncValidationSubscription=r.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:e})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(!1!==r.emitEvent)}get(e){let r=e;return null==r||(Array.isArray(r)||(r=r.split(".")),0===r.length)?null:r.reduce((t,o)=>t&&t._find(o),this)}getError(e,r){const t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new i.bkB,this.statusChanges=new i.bkB}_calculateStatus(){return this._allControlsDisabled()?b:this.errors?S:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(V)?V:this._anyControlsHaveStatus(S)?S:A}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){x(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=function St(n){return Array.isArray(n)?P(n):n||null}(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=function xt(n){return Array.isArray(n)?H(n):n||null}(this._rawAsyncValidators)}}class J extends q{constructor(e,r,t){super(X(r),W(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){(function Re(n,e,r){n._forEachChild((t,o)=>{if(void 0===r[o])throw new i.wOt(1002,"")})})(this,0,e),Object.keys(e).forEach(t=>{(function Ue(n,e,r){const t=n.controls;if(!(e?Object.keys(t):t).length)throw new i.wOt(1e3,"");if(!t[r])throw new i.wOt(1001,"")})(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){null!=e&&(Object.keys(e).forEach(t=>{const o=this.controls[t];o&&o.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,o)=>{t.reset(e?e[o]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r),this._updateTouched(r),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>!!t._syncPendingControls()||r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{const t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){return this._reduceChildren({},(r,t,o)=>((t.enabled||this.disabled)&&(r[o]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((o,s)=>{t=r(t,o,s)}),t}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}}const M=new i.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>G}),G="always";function D(n,e,r=G){var t,o;z(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||"always"===r)&&(null===(t=(o=e.valueAccessor).setDisabledState)||void 0===t||t.call(o,n.disabled)),function Ut(n,e){e.valueAccessor.registerOnChange(r=>{n._pendingValue=r,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&Ie(n,e)})}(n,e),function It(n,e){const r=(t,o)=>{e.valueAccessor.writeValue(t),o&&e.viewToModelUpdate(t)};n.registerOnChange(r),e._registerOnDestroy(()=>{n._unregisterOnChange(r)})}(n,e),function Rt(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&Ie(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),function Bt(n,e){if(e.valueAccessor.setDisabledState){const r=t=>{e.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(r),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(r)})}}(n,e)}function R(n,e){n.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function z(n,e){const r=function Fe(n){return n._rawValidators}(n);null!==e.validator?n.setValidators(De(r,e.validator)):"function"==typeof r&&n.setValidators([r]);const t=function Ee(n){return n._rawAsyncValidators}(n);null!==e.asyncValidator?n.setAsyncValidators(De(t,e.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);const o=()=>n.updateValueAndValidity();R(e._rawValidators,o),R(e._rawAsyncValidators,o)}function Ie(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}const Lt={provide:d,useExisting:(0,i.Rfq)(()=>k)},F=Promise.resolve();let k=(()=>{var n;class e extends d{constructor(t,o,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.bkB,this.form=new J({},P(t),H(o))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){F.then(()=>{const o=this._findContainer(t.path);t.control=o.registerControl(t.name,t.control),D(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){F.then(()=>{const o=this._findContainer(t.path);o&&o.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){F.then(()=>{const o=this._findContainer(t.path),s=new J({});(function ke(n,e){z(n,e)})(s,t),o.registerControl(t.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){F.then(()=>{const o=this._findContainer(t.path);o&&o.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,o){F.then(()=>{this.form.get(t.path).setValue(o)})}setValue(t){this.control.setValue(t)}onSubmit(t){var o;return this.submitted=!0,function Te(n,e){n._syncPendingControls(),e.forEach(r=>{const t=r.control;"submit"===t.updateOn&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===(null==t||null===(o=t.target)||void 0===o?void 0:o.method)}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return(n=e).\u0275fac=function(t){return new(t||n)(i.rXU(u,10),i.rXU(m,10),i.rXU(M,8))},n.\u0275dir=i.FsC({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,o){1&t&&i.bIt("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[i.Mj6.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Jv_([Lt]),i.Vt3]}),e})();function Pe(n,e){const r=n.indexOf(e);r>-1&&n.splice(r,1)}function He(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const Le=class extends q{constructor(e=null,r,t){super(X(r),W(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),x(r)&&(r.nonNullable||r.initialValueIsDefault)&&(this.defaultValue=He(e)?e.value:e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==r.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==r.emitViewToModelChange)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){Pe(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){Pe(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){He(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},Xt={provide:g,useExisting:(0,i.Rfq)(()=>Y)},Xe=Promise.resolve();let Y=(()=>{var n;class e extends g{constructor(t,o,s,a,l,h){super(),this._changeDetectorRef=l,this.callSetDisabledState=h,this.control=new Le,this._registered=!1,this.name="",this.update=new i.bkB,this._parent=t,this._setValidators(o),this._setAsyncValidators(s),this.valueAccessor=function Z(n,e){if(!e)return null;let r,t,o;return Array.isArray(e),e.forEach(s=>{s.constructor===E?r=s:function Pt(n){return Object.getPrototypeOf(n.constructor)===v}(s)?t=s:o=s}),o||t||r||null}(0,a)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const o=t.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function Q(n,e){if(!n.hasOwnProperty("model"))return!1;const r=n.model;return!!r.isFirstChange()||!Object.is(e,r.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){D(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){Xe.then(()=>{var o;this.control.setValue(t,{emitViewToModelChange:!1}),null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()})}_updateDisabled(t){const o=t.isDisabled.currentValue,s=0!==o&&(0,i.L39)(o);Xe.then(()=>{var a;s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),null===(a=this._changeDetectorRef)||void 0===a||a.markForCheck()})}_getPath(t){return this._parent?function B(n,e){return[...e.path,n]}(t,this._parent):[t]}}return(n=e).\u0275fac=function(t){return new(t||n)(i.rXU(d,9),i.rXU(u,10),i.rXU(m,10),i.rXU(f,10),i.rXU(i.gRc,8),i.rXU(M,8))},n.\u0275dir=i.FsC({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[i.Mj6.None,"disabled","isDisabled"],model:[i.Mj6.None,"ngModel","model"],options:[i.Mj6.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Jv_([Xt]),i.Vt3,i.OA$]}),e})(),We=(()=>{var n;class e{}return(n=e).\u0275fac=function(t){return new(t||n)},n.\u0275dir=i.FsC({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})(),gn=(()=>{var n;class e{}return(n=e).\u0275fac=function(t){return new(t||n)},n.\u0275mod=i.$C({type:n}),n.\u0275inj=i.G2t({}),e})(),vn=(()=>{var n;class e{static withConfig(t){var o;return{ngModule:e,providers:[{provide:M,useValue:null!==(o=t.callSetDisabledState)&&void 0!==o?o:G}]}}}return(n=e).\u0275fac=function(t){return new(t||n)},n.\u0275mod=i.$C({type:n}),n.\u0275inj=i.G2t({imports:[gn]}),e})()}}]);
1
+ "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-node_modules_angular_forms_fesm2022_forms_mjs"],{4341:(Nn,gt,c)=>{c.d(gt,{Zm:()=>H,me:()=>w,YN:()=>En,BC:()=>Re,cb:()=>Ie,cV:()=>P,vS:()=>re,qT:()=>Qe});var i=c(3953),ce=c(177),_t=c(2806),vt=c(1985),yt=c(3073),Ct=c(8750),Vt=c(9326),At=c(4360),Mt=c(6450),bt=c(8496),Ft=c(1413),Et=c(6354);let he=(()=>{var n;class e{constructor(t,o){this._renderer=t,this._elementRef=o,this.onChange=s=>{},this.onTouched=()=>{}}setProperty(t,o){this._renderer.setProperty(this._elementRef.nativeElement,t,o)}registerOnTouched(t){this.onTouched=t}registerOnChange(t){this.onChange=t}setDisabledState(t){this.setProperty("disabled",t)}}return(n=e).\u0275fac=function(t){return new(t||n)(i.rXU(i.sFG),i.rXU(i.aKT))},n.\u0275dir=i.FsC({type:n}),e})(),v=(()=>{var n;class e extends he{}return(n=e).\u0275fac=(()=>{let r;return function(o){return(r||(r=i.xGo(n)))(o||n)}})(),n.\u0275dir=i.FsC({type:n,features:[i.Vt3]}),e})();const f=new i.nKC(""),wt={provide:f,useExisting:(0,i.Rfq)(()=>H),multi:!0};let H=(()=>{var n;class e extends v{writeValue(t){this.setProperty("checked",t)}}return(n=e).\u0275fac=(()=>{let r;return function(o){return(r||(r=i.xGo(n)))(o||n)}})(),n.\u0275dir=i.FsC({type:n,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,o){1&t&&i.bIt("change",function(a){return o.onChange(a.target.checked)})("blur",function(){return o.onTouched()})},features:[i.Jv_([wt]),i.Vt3]}),e})();const Nt={provide:f,useExisting:(0,i.Rfq)(()=>w),multi:!0},St=new i.nKC("");let w=(()=>{var n;class e extends he{constructor(t,o,s){super(t,o),this._compositionMode=s,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function Ot(){const n=(0,ce.QT)()?(0,ce.QT)().getUserAgent():"";return/android (\d+)/.test(n.toLowerCase())}())}writeValue(t){this.setProperty("value",null==t?"":t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return(n=e).\u0275fac=function(t){return new(t||n)(i.rXU(i.sFG),i.rXU(i.aKT),i.rXU(St,8))},n.\u0275dir=i.FsC({type:n,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,o){1&t&&i.bIt("input",function(a){return o._handleInput(a.target.value)})("blur",function(){return o.onTouched()})("compositionstart",function(){return o._compositionStart()})("compositionend",function(a){return o._compositionEnd(a.target.value)})},features:[i.Jv_([Nt]),i.Vt3]}),e})();const u=new i.nKC(""),m=new i.nKC("");function Ae(n){return null!=n}function Me(n){return(0,i.jNT)(n)?(0,_t.H)(n):n}function be(n){let e={};return n.forEach(r=>{e=null!=r?{...e,...r}:e}),0===Object.keys(e).length?null:e}function De(n,e){return e.map(r=>r(n))}function Fe(n){return n.map(e=>function Gt(n){return!n.validate}(e)?e:r=>e.validate(r))}function L(n){return null!=n?function Ee(n){if(!n)return null;const e=n.filter(Ae);return 0==e.length?null:function(r){return be(De(r,e))}}(Fe(n)):null}function $(n){return null!=n?function we(n){if(!n)return null;const e=n.filter(Ae);return 0==e.length?null:function(r){return function Dt(...n){const e=(0,Vt.ms)(n),{args:r,keys:t}=(0,yt.D)(n),o=new vt.c(s=>{const{length:a}=r;if(!a)return void s.complete();const l=new Array(a);let h=a,C=a;for(let _=0;_<a;_++){let de=!1;(0,Ct.Tg)(r[_]).subscribe((0,At._)(s,wn=>{de||(de=!0,C--),l[_]=wn},()=>h--,void 0,()=>{(!h||!de)&&(C||s.next(t?(0,bt.e)(t,l):l),s.complete())}))}});return e?o.pipe((0,Mt.I)(e)):o}(De(r,e).map(Me)).pipe((0,Et.T)(be))}}(Fe(n)):null}function Ne(n,e){return null===n?[e]:Array.isArray(n)?[...n,e]:[n,e]}function X(n){return n?Array.isArray(n)?n:[n]:[]}function O(n,e){return Array.isArray(n)?n.includes(e):n===e}function xe(n,e){const r=X(e);return X(n).forEach(o=>{O(r,o)||r.push(o)}),r}function Ge(n,e){return X(e).filter(r=>!O(n,r))}class Be{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(e){this._rawValidators=e||[],this._composedValidatorFn=L(this._rawValidators)}_setAsyncValidators(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=$(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(e){this._onDestroyCallbacks.push(e)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(e=>e()),this._onDestroyCallbacks=[]}reset(e=void 0){this.control&&this.control.reset(e)}hasError(e,r){return!!this.control&&this.control.hasError(e,r)}getError(e,r){return this.control?this.control.getError(e,r):null}}class d extends Be{get formDirective(){return null}get path(){return null}}class g extends Be{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ue{constructor(e){this._cd=e}get isTouched(){var e;return!(null===(e=this._cd)||void 0===e||null===(e=e.control)||void 0===e||!e.touched)}get isUntouched(){var e;return!(null===(e=this._cd)||void 0===e||null===(e=e.control)||void 0===e||!e.untouched)}get isPristine(){var e;return!(null===(e=this._cd)||void 0===e||null===(e=e.control)||void 0===e||!e.pristine)}get isDirty(){var e;return!(null===(e=this._cd)||void 0===e||null===(e=e.control)||void 0===e||!e.dirty)}get isValid(){var e;return!(null===(e=this._cd)||void 0===e||null===(e=e.control)||void 0===e||!e.valid)}get isInvalid(){var e;return!(null===(e=this._cd)||void 0===e||null===(e=e.control)||void 0===e||!e.invalid)}get isPending(){var e;return!(null===(e=this._cd)||void 0===e||null===(e=e.control)||void 0===e||!e.pending)}get isSubmitted(){var e;return!(null===(e=this._cd)||void 0===e||!e.submitted)}}let Re=(()=>{var n;class e extends Ue{constructor(t){super(t)}}return(n=e).\u0275fac=function(t){return new(t||n)(i.rXU(g,2))},n.\u0275dir=i.FsC({type:n,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,o){2&t&&i.AVh("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)},features:[i.Vt3]}),e})(),Ie=(()=>{var n;class e extends Ue{constructor(t){super(t)}}return(n=e).\u0275fac=function(t){return new(t||n)(i.rXU(d,10))},n.\u0275dir=i.FsC({type:n,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,o){2&t&&i.AVh("ng-untouched",o.isUntouched)("ng-touched",o.isTouched)("ng-pristine",o.isPristine)("ng-dirty",o.isDirty)("ng-valid",o.isValid)("ng-invalid",o.isInvalid)("ng-pending",o.isPending)("ng-submitted",o.isSubmitted)},features:[i.Vt3]}),e})();const b="VALID",x="INVALID",V="PENDING",D="DISABLED";class A{}class Te extends A{constructor(e,r){super(),this.value=e,this.source=r}}class q extends A{constructor(e,r){super(),this.pristine=e,this.source=r}}class J extends A{constructor(e,r){super(),this.touched=e,this.source=r}}class G extends A{constructor(e,r){super(),this.status=e,this.source=r}}function z(n){return(B(n)?n.validators:n)||null}function K(n,e){return(B(e)?e.asyncValidators:n)||null}function B(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}class Q{constructor(e,r){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=null,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._events=new Ft.B,this.events=this._events.asObservable(),this._onDisabledChange=[],this._assignValidators(e),this._assignAsyncValidators(r)}get validator(){return this._composedValidatorFn}set validator(e){this._rawValidators=this._composedValidatorFn=e}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}get parent(){return this._parent}get valid(){return this.status===b}get invalid(){return this.status===x}get pending(){return this.status==V}get disabled(){return this.status===D}get enabled(){return this.status!==D}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this._assignValidators(e)}setAsyncValidators(e){this._assignAsyncValidators(e)}addValidators(e){this.setValidators(xe(e,this._rawValidators))}addAsyncValidators(e){this.setAsyncValidators(xe(e,this._rawAsyncValidators))}removeValidators(e){this.setValidators(Ge(e,this._rawValidators))}removeAsyncValidators(e){this.setAsyncValidators(Ge(e,this._rawAsyncValidators))}hasValidator(e){return O(this._rawValidators,e)}hasAsyncValidator(e){return O(this._rawAsyncValidators,e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){var r;const t=!1===this.touched;this.touched=!0;const o=null!==(r=e.sourceControl)&&void 0!==r?r:this;this._parent&&!e.onlySelf&&this._parent.markAsTouched({...e,sourceControl:o}),t&&!1!==e.emitEvent&&this._events.next(new J(!0,o))}markAllAsTouched(e={}){this.markAsTouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:this}),this._forEachChild(r=>r.markAllAsTouched(e))}markAsUntouched(e={}){var r;const t=!0===this.touched;this.touched=!1,this._pendingTouched=!1;const o=null!==(r=e.sourceControl)&&void 0!==r?r:this;this._forEachChild(s=>{s.markAsUntouched({onlySelf:!0,emitEvent:e.emitEvent,sourceControl:o})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,o),t&&!1!==e.emitEvent&&this._events.next(new J(!1,o))}markAsDirty(e={}){var r;const t=!0===this.pristine;this.pristine=!1;const o=null!==(r=e.sourceControl)&&void 0!==r?r:this;this._parent&&!e.onlySelf&&this._parent.markAsDirty({...e,sourceControl:o}),t&&!1!==e.emitEvent&&this._events.next(new q(!1,o))}markAsPristine(e={}){var r;const t=!1===this.pristine;this.pristine=!0,this._pendingDirty=!1;const o=null!==(r=e.sourceControl)&&void 0!==r?r:this;this._forEachChild(s=>{s.markAsPristine({onlySelf:!0,emitEvent:e.emitEvent})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e,o),t&&!1!==e.emitEvent&&this._events.next(new q(!0,o))}markAsPending(e={}){var r;this.status=V;const t=null!==(r=e.sourceControl)&&void 0!==r?r:this;!1!==e.emitEvent&&(this._events.next(new G(this.status,t)),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.markAsPending({...e,sourceControl:t})}disable(e={}){var r;const t=this._parentMarkedDirty(e.onlySelf);this.status=D,this.errors=null,this._forEachChild(s=>{s.disable({...e,onlySelf:!0})}),this._updateValue();const o=null!==(r=e.sourceControl)&&void 0!==r?r:this;!1!==e.emitEvent&&(this._events.next(new Te(this.value,o)),this._events.next(new G(this.status,o)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...e,skipPristineCheck:t},this),this._onDisabledChange.forEach(s=>s(!0))}enable(e={}){const r=this._parentMarkedDirty(e.onlySelf);this.status=b,this._forEachChild(t=>{t.enable({...e,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors({...e,skipPristineCheck:r},this),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(e,r){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine({},r),this._parent._updateTouched({},r))}setParent(e){this._parent=e}getRawValue(){return this.value}updateValueAndValidity(e={}){var r;if(this._setInitialStatus(),this._updateValue(),this.enabled){const o=this._cancelExistingSubscription();this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===b||this.status===V)&&this._runAsyncValidator(o,e.emitEvent)}const t=null!==(r=e.sourceControl)&&void 0!==r?r:this;!1!==e.emitEvent&&(this._events.next(new Te(this.value,t)),this._events.next(new G(this.status,t)),this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity({...e,sourceControl:t})}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(r=>r._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?D:b}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e,r){if(this.asyncValidator){this.status=V,this._hasOwnPendingAsyncValidator={emitEvent:!1!==r};const t=Me(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(o=>{this._hasOwnPendingAsyncValidator=null,this.setErrors(o,{emitEvent:r,shouldHaveEmitted:e})})}}_cancelExistingSubscription(){if(this._asyncValidationSubscription){var e,r;this._asyncValidationSubscription.unsubscribe();const t=null!==(e=null===(r=this._hasOwnPendingAsyncValidator)||void 0===r?void 0:r.emitEvent)&&void 0!==e&&e;return this._hasOwnPendingAsyncValidator=null,t}return!1}setErrors(e,r={}){this.errors=e,this._updateControlsErrors(!1!==r.emitEvent,this,r.shouldHaveEmitted)}get(e){let r=e;return null==r||(Array.isArray(r)||(r=r.split(".")),0===r.length)?null:r.reduce((t,o)=>t&&t._find(o),this)}getError(e,r){const t=r?this.get(r):this;return t&&t.errors?t.errors[e]:null}hasError(e,r){return!!this.getError(e,r)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e,r,t){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),(e||t)&&this._events.next(new G(this.status,r)),this._parent&&this._parent._updateControlsErrors(e,r,t)}_initObservables(){this.valueChanges=new i.bkB,this.statusChanges=new i.bkB}_calculateStatus(){return this._allControlsDisabled()?D:this.errors?x:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(V)?V:this._anyControlsHaveStatus(x)?x:b}_anyControlsHaveStatus(e){return this._anyControls(r=>r.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e,r){const t=!this._anyControlsDirty(),o=this.pristine!==t;this.pristine=t,this._parent&&!e.onlySelf&&this._parent._updatePristine(e,r),o&&this._events.next(new q(this.pristine,r))}_updateTouched(e={},r){this.touched=this._anyControlsTouched(),this._events.next(new J(this.touched,r)),this._parent&&!e.onlySelf&&this._parent._updateTouched(e,r)}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){B(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(e){return null}_assignValidators(e){this._rawValidators=Array.isArray(e)?e.slice():e,this._composedValidatorFn=function Pt(n){return Array.isArray(n)?L(n):n||null}(this._rawValidators)}_assignAsyncValidators(e){this._rawAsyncValidators=Array.isArray(e)?e.slice():e,this._composedAsyncValidatorFn=function Ht(n){return Array.isArray(n)?$(n):n||null}(this._rawAsyncValidators)}}class Z extends Q{constructor(e,r,t){super(z(r),K(t,r)),this.controls=e,this._initObservables(),this._setUpdateStrategy(r),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(e,r){return this.controls[e]?this.controls[e]:(this.controls[e]=r,r.setParent(this),r._registerOnCollectionChange(this._onCollectionChange),r)}addControl(e,r,t={}){this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(e,r={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity({emitEvent:r.emitEvent}),this._onCollectionChange()}setControl(e,r,t={}){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],r&&this.registerControl(e,r),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,r={}){(function He(n,e,r){n._forEachChild((t,o)=>{if(void 0===r[o])throw new i.wOt(1002,"")})})(this,0,e),Object.keys(e).forEach(t=>{(function Pe(n,e,r){const t=n.controls;if(!(e?Object.keys(t):t).length)throw new i.wOt(1e3,"");if(!t[r])throw new i.wOt(1001,"")})(this,!0,t),this.controls[t].setValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r)}patchValue(e,r={}){null!=e&&(Object.keys(e).forEach(t=>{const o=this.controls[t];o&&o.patchValue(e[t],{onlySelf:!0,emitEvent:r.emitEvent})}),this.updateValueAndValidity(r))}reset(e={},r={}){this._forEachChild((t,o)=>{t.reset(e?e[o]:null,{onlySelf:!0,emitEvent:r.emitEvent})}),this._updatePristine(r,this),this._updateTouched(r,this),this.updateValueAndValidity(r)}getRawValue(){return this._reduceChildren({},(e,r,t)=>(e[t]=r.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(r,t)=>!!t._syncPendingControls()||r);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_forEachChild(e){Object.keys(this.controls).forEach(r=>{const t=this.controls[r];t&&e(t,r)})}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){for(const[r,t]of Object.entries(this.controls))if(this.contains(r)&&e(t))return!0;return!1}_reduceValue(){return this._reduceChildren({},(r,t,o)=>((t.enabled||this.disabled)&&(r[o]=t.value),r))}_reduceChildren(e,r){let t=e;return this._forEachChild((o,s)=>{t=r(t,o,s)}),t}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(e){return this.controls.hasOwnProperty(e)?this.controls[e]:null}}const M=new i.nKC("CallSetDisabledState",{providedIn:"root",factory:()=>U}),U="always";function F(n,e,r=U){var t,o;Y(n,e),e.valueAccessor.writeValue(n.value),(n.disabled||"always"===r)&&(null===(t=(o=e.valueAccessor).setDisabledState)||void 0===t||t.call(o,n.disabled)),function Xt(n,e){e.valueAccessor.registerOnChange(r=>{n._pendingValue=r,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&Le(n,e)})}(n,e),function Wt(n,e){const r=(t,o)=>{e.valueAccessor.writeValue(t),o&&e.viewToModelUpdate(t)};n.registerOnChange(r),e._registerOnDestroy(()=>{n._unregisterOnChange(r)})}(n,e),function jt(n,e){e.valueAccessor.registerOnTouched(()=>{n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&Le(n,e),"submit"!==n.updateOn&&n.markAsTouched()})}(n,e),function $t(n,e){if(e.valueAccessor.setDisabledState){const r=t=>{e.valueAccessor.setDisabledState(t)};n.registerOnDisabledChange(r),e._registerOnDestroy(()=>{n._unregisterOnDisabledChange(r)})}}(n,e)}function k(n,e){n.forEach(r=>{r.registerOnValidatorChange&&r.registerOnValidatorChange(e)})}function Y(n,e){const r=function Oe(n){return n._rawValidators}(n);null!==e.validator?n.setValidators(Ne(r,e.validator)):"function"==typeof r&&n.setValidators([r]);const t=function Se(n){return n._rawAsyncValidators}(n);null!==e.asyncValidator?n.setAsyncValidators(Ne(t,e.asyncValidator)):"function"==typeof t&&n.setAsyncValidators([t]);const o=()=>n.updateValueAndValidity();k(e._rawValidators,o),k(e._rawAsyncValidators,o)}function Le(n,e){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}const Qt={provide:d,useExisting:(0,i.Rfq)(()=>P)},E=Promise.resolve();let P=(()=>{var n;class e extends d{constructor(t,o,s){super(),this.callSetDisabledState=s,this.submitted=!1,this._directives=new Set,this.ngSubmit=new i.bkB,this.form=new Z({},L(t),$(o))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){E.then(()=>{const o=this._findContainer(t.path);t.control=o.registerControl(t.name,t.control),F(t.control,t,this.callSetDisabledState),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){E.then(()=>{const o=this._findContainer(t.path);o&&o.removeControl(t.name),this._directives.delete(t)})}addFormGroup(t){E.then(()=>{const o=this._findContainer(t.path),s=new Z({});(function $e(n,e){Y(n,e)})(s,t),o.registerControl(t.name,s),s.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){E.then(()=>{const o=this._findContainer(t.path);o&&o.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,o){E.then(()=>{this.form.get(t.path).setValue(o)})}setValue(t){this.control.setValue(t)}onSubmit(t){var o;return this.submitted=!0,function Xe(n,e){n._syncPendingControls(),e.forEach(r=>{const t=r.control;"submit"===t.updateOn&&t._pendingChange&&(r.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}(this.form,this._directives),this.ngSubmit.emit(t),"dialog"===(null==t||null===(o=t.target)||void 0===o?void 0:o.method)}onReset(){this.resetForm()}resetForm(t=void 0){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return(n=e).\u0275fac=function(t){return new(t||n)(i.rXU(u,10),i.rXU(m,10),i.rXU(M,8))},n.\u0275dir=i.FsC({type:n,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,o){1&t&&i.bIt("submit",function(a){return o.onSubmit(a)})("reset",function(){return o.onReset()})},inputs:{options:[0,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[i.Jv_([Qt]),i.Vt3]}),e})();function je(n,e){const r=n.indexOf(e);r>-1&&n.splice(r,1)}function We(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}const qe=class extends Q{constructor(e=null,r,t){super(z(r),K(t,r)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(e),this._setUpdateStrategy(r),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),B(r)&&(r.nonNullable||r.initialValueIsDefault)&&(this.defaultValue=We(e)?e.value:e)}setValue(e,r={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==r.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==r.emitViewToModelChange)),this.updateValueAndValidity(r)}patchValue(e,r={}){this.setValue(e,r)}reset(e=this.defaultValue,r={}){this._applyFormState(e),this.markAsPristine(r),this.markAsUntouched(r),this.setValue(this.value,r),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_unregisterOnChange(e){je(this._onChange,e)}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_unregisterOnDisabledChange(e){je(this._onDisabledChange,e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(e){We(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}},en={provide:g,useExisting:(0,i.Rfq)(()=>re)},Ke=Promise.resolve();let re=(()=>{var n;class e extends g{constructor(t,o,s,a,l,h){super(),this._changeDetectorRef=l,this.callSetDisabledState=h,this.control=new qe,this._registered=!1,this.name="",this.update=new i.bkB,this._parent=t,this._setValidators(o),this._setAsyncValidators(s),this.valueAccessor=function ne(n,e){if(!e)return null;let r,t,o;return Array.isArray(e),e.forEach(s=>{s.constructor===w?r=s:function zt(n){return Object.getPrototypeOf(n.constructor)===v}(s)?t=s:o=s}),o||t||r||null}(0,a)}ngOnChanges(t){if(this._checkForErrors(),!this._registered||"name"in t){if(this._registered&&(this._checkName(),this.formDirective)){const o=t.name.previousValue;this.formDirective.removeControl({name:o,path:this._getPath(o)})}this._setUpControl()}"isDisabled"in t&&this._updateDisabled(t),function te(n,e){if(!n.hasOwnProperty("model"))return!1;const r=n.model;return!!r.isFirstChange()||!Object.is(e,r.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){F(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){Ke.then(()=>{var o;this.control.setValue(t,{emitViewToModelChange:!1}),null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()})}_updateDisabled(t){const o=t.isDisabled.currentValue,s=0!==o&&(0,i.L39)(o);Ke.then(()=>{var a;s&&!this.control.disabled?this.control.disable():!s&&this.control.disabled&&this.control.enable(),null===(a=this._changeDetectorRef)||void 0===a||a.markForCheck()})}_getPath(t){return this._parent?function R(n,e){return[...e.path,n]}(t,this._parent):[t]}}return(n=e).\u0275fac=function(t){return new(t||n)(i.rXU(d,9),i.rXU(u,10),i.rXU(m,10),i.rXU(f,10),i.rXU(i.gRc,8),i.rXU(M,8))},n.\u0275dir=i.FsC({type:n,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[0,"disabled","isDisabled"],model:[0,"ngModel","model"],options:[0,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[i.Jv_([en]),i.Vt3,i.OA$]}),e})(),Qe=(()=>{var n;class e{}return(n=e).\u0275fac=function(t){return new(t||n)},n.\u0275dir=i.FsC({type:n,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e})(),Dn=(()=>{var n;class e{}return(n=e).\u0275fac=function(t){return new(t||n)},n.\u0275mod=i.$C({type:n}),n.\u0275inj=i.G2t({}),e})(),En=(()=>{var n;class e{static withConfig(t){var o;return{ngModule:e,providers:[{provide:M,useValue:null!==(o=t.callSetDisabledState)&&void 0!==o?o:U}]}}}return(n=e).\u0275fac=function(t){return new(t||n)},n.\u0275mod=i.$C({type:n}),n.\u0275inj=i.G2t({imports:[Dn]}),e})()}}]);