@pronto-tools-and-more/files 12.42.0 → 12.43.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (340) hide show
  1. package/files/framework/src/default/storefront/buildInfo.json +4 -4
  2. package/files/framework/src/default/storefront/deep-link-landing/purple-deep-link-landing.js +1 -1
  3. package/files/framework/src/default/storefront/index.html +2 -2
  4. package/files/framework/src/default/storefront/modules/common.js +1 -1201
  5. package/files/framework/src/default/storefront/modules/main.js +1 -1
  6. package/files/framework/src/default/storefront/modules/styles.css +1 -1
  7. package/files/framework-latest/src/default/content/assets/FONTAWESOME_LICENSE.txt +34 -0
  8. package/files/framework-latest/src/default/content/assets/fonts/OpenSans-Bold.ttf +0 -0
  9. package/files/framework-latest/src/default/content/assets/fonts/OpenSans-BoldItalic.ttf +0 -0
  10. package/files/framework-latest/src/default/content/assets/fonts/OpenSans-ExtraBold.ttf +0 -0
  11. package/files/framework-latest/src/default/content/assets/fonts/OpenSans-ExtraBoldItalic.ttf +0 -0
  12. package/files/framework-latest/src/default/content/assets/fonts/OpenSans-Italic.ttf +0 -0
  13. package/files/framework-latest/src/default/content/assets/fonts/OpenSans-Light.ttf +0 -0
  14. package/files/framework-latest/src/default/content/assets/fonts/OpenSans-LightItalic.ttf +0 -0
  15. package/files/framework-latest/src/default/content/assets/fonts/OpenSans-Regular.ttf +0 -0
  16. package/files/framework-latest/src/default/content/assets/fonts/OpenSans-SemiBold.ttf +0 -0
  17. package/files/framework-latest/src/default/content/assets/fonts/OpenSans-SemiBoldItalic.ttf +0 -0
  18. package/files/framework-latest/src/default/content/assets/fonts/RobotoSlab-Bold.ttf +0 -0
  19. package/files/framework-latest/src/default/content/assets/ic_arrow.svg +1 -0
  20. package/files/framework-latest/src/default/content/assets/ic_audio.svg +19 -0
  21. package/files/framework-latest/src/default/content/assets/ic_bookmark.svg +10 -0
  22. package/files/framework-latest/src/default/content/assets/ic_bookmark_active.svg +9 -0
  23. package/files/framework-latest/src/default/content/assets/ic_close.svg +16 -0
  24. package/files/framework-latest/src/default/content/assets/ic_download.svg +13 -0
  25. package/files/framework-latest/src/default/content/assets/ic_download_circle.svg +15 -0
  26. package/files/framework-latest/src/default/content/assets/ic_download_completed.svg +12 -0
  27. package/files/framework-latest/src/default/content/assets/ic_download_completed_circle.svg +12 -0
  28. package/files/framework-latest/src/default/content/assets/ic_downloading.svg +13 -0
  29. package/files/framework-latest/src/default/content/assets/ic_downloading_circle.svg +15 -0
  30. package/files/framework-latest/src/default/content/assets/ic_font_size.svg +1 -0
  31. package/files/framework-latest/src/default/content/assets/ic_left.svg +15 -0
  32. package/files/framework-latest/src/default/content/assets/ic_left_arrow.svg +11 -0
  33. package/files/framework-latest/src/default/content/assets/ic_night_mode.svg +20 -0
  34. package/files/framework-latest/src/default/content/assets/ic_night_mode_active.svg +20 -0
  35. package/files/framework-latest/src/default/content/assets/ic_overlay_loading.svg +13 -0
  36. package/files/framework-latest/src/default/content/assets/ic_pause.svg +19 -0
  37. package/files/framework-latest/src/default/content/assets/ic_play.svg +16 -0
  38. package/files/framework-latest/src/default/content/assets/ic_player.svg +19 -0
  39. package/files/framework-latest/src/default/content/assets/ic_player_active.svg +19 -0
  40. package/files/framework-latest/src/default/content/assets/ic_right.svg +15 -0
  41. package/files/framework-latest/src/default/content/assets/ic_right_arrow.svg +11 -0
  42. package/files/framework-latest/src/default/content/assets/ic_seek_back.svg +19 -0
  43. package/files/framework-latest/src/default/content/assets/ic_seek_forward.svg +19 -0
  44. package/files/framework-latest/src/default/content/assets/ic_settings.svg +16 -0
  45. package/files/framework-latest/src/default/content/assets/ic_share_android.svg +11 -0
  46. package/files/framework-latest/src/default/content/assets/ic_share_ios.svg +13 -0
  47. package/files/framework-latest/src/default/content/assets/ic_speech.svg +15 -0
  48. package/files/framework-latest/src/default/content/assets/ic_speech_female.svg +11 -0
  49. package/files/framework-latest/src/default/content/assets/ic_speech_male.svg +11 -0
  50. package/files/framework-latest/src/default/content/assets/ic_speech_rate.svg +11 -0
  51. package/files/framework-latest/src/default/content/assets/ic_toc.svg +22 -0
  52. package/files/framework-latest/src/default/content/assets/ic_video.svg +21 -0
  53. package/files/framework-latest/src/default/content/assets/ic_zoom.svg +1 -0
  54. package/files/framework-latest/src/default/content/assets/img/spinner.gif +0 -0
  55. package/files/framework-latest/src/default/content/assets/logo.png +0 -0
  56. package/files/framework-latest/src/default/content/assets/swiper/swiper-bundle.min.css +13 -0
  57. package/files/framework-latest/src/default/content/assets/swiper/swiper-bundle.min.js +1 -0
  58. package/files/framework-latest/src/default/content/assets/tail-spin.gif +0 -0
  59. package/files/framework-latest/src/default/content/assets/tail-spin.svg +32 -0
  60. package/files/framework-latest/src/default/content/core.css +29 -0
  61. package/files/framework-latest/src/default/content/core.js +10896 -0
  62. package/files/framework-latest/src/default/content/functions.css +2 -0
  63. package/files/framework-latest/src/default/content/functions.js +1 -0
  64. package/files/framework-latest/src/default/content/publish-press-author.css +407 -0
  65. package/files/framework-latest/src/default/content/publish-press-author.js +290 -0
  66. package/files/framework-latest/src/default/content/resources.json +1 -0
  67. package/files/framework-latest/src/default/content/theme.css +16 -0
  68. package/files/framework-latest/src/default/content/theme.js +720 -0
  69. package/files/framework-latest/src/default/content/tts.css +7 -0
  70. package/files/framework-latest/src/default/content/tts.js +5 -0
  71. package/files/framework-latest/src/default/content/uag.css +20 -0
  72. package/files/framework-latest/src/default/content/uag.js +166 -0
  73. package/files/framework-latest/src/default/info/css/style.css +328 -0
  74. package/files/framework-latest/src/default/info/font-awesome/HELP-US-OUT.txt +7 -0
  75. package/files/framework-latest/src/default/info/font-awesome/css/font-awesome.css +2337 -0
  76. package/files/framework-latest/src/default/info/font-awesome/css/font-awesome.min.css +4 -0
  77. package/files/framework-latest/src/default/info/font-awesome/fonts/FontAwesome.otf +0 -0
  78. package/files/framework-latest/src/default/info/font-awesome/fonts/fontawesome-webfont.eot +0 -0
  79. package/files/framework-latest/src/default/info/font-awesome/fonts/fontawesome-webfont.svg +2671 -0
  80. package/files/framework-latest/src/default/info/font-awesome/fonts/fontawesome-webfont.ttf +0 -0
  81. package/files/framework-latest/src/default/info/font-awesome/fonts/fontawesome-webfont.woff +0 -0
  82. package/files/framework-latest/src/default/info/font-awesome/fonts/fontawesome-webfont.woff2 +0 -0
  83. package/files/framework-latest/src/default/info/font-awesome/less/animated.less +34 -0
  84. package/files/framework-latest/src/default/info/font-awesome/less/bordered-pulled.less +25 -0
  85. package/files/framework-latest/src/default/info/font-awesome/less/core.less +12 -0
  86. package/files/framework-latest/src/default/info/font-awesome/less/fixed-width.less +6 -0
  87. package/files/framework-latest/src/default/info/font-awesome/less/font-awesome.less +18 -0
  88. package/files/framework-latest/src/default/info/font-awesome/less/icons.less +789 -0
  89. package/files/framework-latest/src/default/info/font-awesome/less/larger.less +13 -0
  90. package/files/framework-latest/src/default/info/font-awesome/less/list.less +19 -0
  91. package/files/framework-latest/src/default/info/font-awesome/less/mixins.less +60 -0
  92. package/files/framework-latest/src/default/info/font-awesome/less/path.less +15 -0
  93. package/files/framework-latest/src/default/info/font-awesome/less/rotated-flipped.less +20 -0
  94. package/files/framework-latest/src/default/info/font-awesome/less/screen-reader.less +5 -0
  95. package/files/framework-latest/src/default/info/font-awesome/less/stacked.less +20 -0
  96. package/files/framework-latest/src/default/info/font-awesome/less/variables.less +800 -0
  97. package/files/framework-latest/src/default/info/font-awesome/scss/_animated.scss +34 -0
  98. package/files/framework-latest/src/default/info/font-awesome/scss/_bordered-pulled.scss +25 -0
  99. package/files/framework-latest/src/default/info/font-awesome/scss/_core.scss +12 -0
  100. package/files/framework-latest/src/default/info/font-awesome/scss/_fixed-width.scss +6 -0
  101. package/files/framework-latest/src/default/info/font-awesome/scss/_icons.scss +789 -0
  102. package/files/framework-latest/src/default/info/font-awesome/scss/_larger.scss +13 -0
  103. package/files/framework-latest/src/default/info/font-awesome/scss/_list.scss +19 -0
  104. package/files/framework-latest/src/default/info/font-awesome/scss/_mixins.scss +60 -0
  105. package/files/framework-latest/src/default/info/font-awesome/scss/_path.scss +15 -0
  106. package/files/framework-latest/src/default/info/font-awesome/scss/_rotated-flipped.scss +20 -0
  107. package/files/framework-latest/src/default/info/font-awesome/scss/_screen-reader.scss +5 -0
  108. package/files/framework-latest/src/default/info/font-awesome/scss/_stacked.scss +20 -0
  109. package/files/framework-latest/src/default/info/font-awesome/scss/_variables.scss +800 -0
  110. package/files/framework-latest/src/default/info/font-awesome/scss/font-awesome.scss +18 -0
  111. package/files/framework-latest/src/default/info/fonts/Roboto-Bold.ttf +0 -0
  112. package/files/framework-latest/src/default/info/fonts/Roboto-Italic.ttf +0 -0
  113. package/files/framework-latest/src/default/info/fonts/Roboto-Light.ttf +0 -0
  114. package/files/framework-latest/src/default/info/fonts/Roboto-LightItalic.ttf +0 -0
  115. package/files/framework-latest/src/default/info/fonts/Roboto-Medium.ttf +0 -0
  116. package/files/framework-latest/src/default/info/fonts/Roboto-MediumItalic.ttf +0 -0
  117. package/files/framework-latest/src/default/info/fonts/Roboto-Regular.ttf +0 -0
  118. package/files/framework-latest/src/default/info/img/banner.png +0 -0
  119. package/files/framework-latest/src/default/info/index.html +94 -0
  120. package/files/framework-latest/src/default/info/theme.css +181 -0
  121. package/files/framework-latest/src/default/menuicons/account.png +0 -0
  122. package/files/framework-latest/src/default/menuicons/account@2x.png +0 -0
  123. package/files/framework-latest/src/default/menuicons/account@3x.png +0 -0
  124. package/files/framework-latest/src/default/menuicons/bookmarks.png +0 -0
  125. package/files/framework-latest/src/default/menuicons/bookmarks@2x.png +0 -0
  126. package/files/framework-latest/src/default/menuicons/bookmarks@3x.png +0 -0
  127. package/files/framework-latest/src/default/menuicons/calendar.png +0 -0
  128. package/files/framework-latest/src/default/menuicons/calendar@2x.png +0 -0
  129. package/files/framework-latest/src/default/menuicons/calendar@3x.png +0 -0
  130. package/files/framework-latest/src/default/menuicons/chain.png +0 -0
  131. package/files/framework-latest/src/default/menuicons/chain@2x.png +0 -0
  132. package/files/framework-latest/src/default/menuicons/chain@3x.png +0 -0
  133. package/files/framework-latest/src/default/menuicons/feedback.png +0 -0
  134. package/files/framework-latest/src/default/menuicons/feedback@2x.png +0 -0
  135. package/files/framework-latest/src/default/menuicons/feedback@3x.png +0 -0
  136. package/files/framework-latest/src/default/menuicons/forum.png +0 -0
  137. package/files/framework-latest/src/default/menuicons/forum@2x.png +0 -0
  138. package/files/framework-latest/src/default/menuicons/forum@3x.png +0 -0
  139. package/files/framework-latest/src/default/menuicons/info.png +0 -0
  140. package/files/framework-latest/src/default/menuicons/kiosk.png +0 -0
  141. package/files/framework-latest/src/default/menuicons/kiosk@2x.png +0 -0
  142. package/files/framework-latest/src/default/menuicons/kiosk@3x.png +0 -0
  143. package/files/framework-latest/src/default/menuicons/legal.png +0 -0
  144. package/files/framework-latest/src/default/menuicons/legal@2x.png +0 -0
  145. package/files/framework-latest/src/default/menuicons/legal@3x.png +0 -0
  146. package/files/framework-latest/src/default/menuicons/login.png +0 -0
  147. package/files/framework-latest/src/default/menuicons/login@2x.png +0 -0
  148. package/files/framework-latest/src/default/menuicons/login@3x.png +0 -0
  149. package/files/framework-latest/src/default/menuicons/logout.png +0 -0
  150. package/files/framework-latest/src/default/menuicons/logout@2x.png +0 -0
  151. package/files/framework-latest/src/default/menuicons/logout@3x.png +0 -0
  152. package/files/framework-latest/src/default/menuicons/newsfeed.png +0 -0
  153. package/files/framework-latest/src/default/menuicons/newsfeed@2x.png +0 -0
  154. package/files/framework-latest/src/default/menuicons/newsfeed@3x.png +0 -0
  155. package/files/framework-latest/src/default/menuicons/newsstand.png +0 -0
  156. package/files/framework-latest/src/default/menuicons/newsstand@2x.png +0 -0
  157. package/files/framework-latest/src/default/menuicons/newsstand@3x.png +0 -0
  158. package/files/framework-latest/src/default/menuicons/purple.png +0 -0
  159. package/files/framework-latest/src/default/menuicons/purple@2x.png +0 -0
  160. package/files/framework-latest/src/default/menuicons/purple@3x.png +0 -0
  161. package/files/framework-latest/src/default/menuicons/restore.png +0 -0
  162. package/files/framework-latest/src/default/menuicons/restore@2x.png +0 -0
  163. package/files/framework-latest/src/default/menuicons/restore@3x.png +0 -0
  164. package/files/framework-latest/src/default/menuicons/settings.png +0 -0
  165. package/files/framework-latest/src/default/menuicons/share.png +0 -0
  166. package/files/framework-latest/src/default/menuicons/share@2x.png +0 -0
  167. package/files/framework-latest/src/default/menuicons/share@3x.png +0 -0
  168. package/files/framework-latest/src/default/menuicons/shop.png +0 -0
  169. package/files/framework-latest/src/default/menuicons/shop@2x.png +0 -0
  170. package/files/framework-latest/src/default/menuicons/shop@3x.png +0 -0
  171. package/files/framework-latest/src/default/menuicons/socialmedia.png +0 -0
  172. package/files/framework-latest/src/default/menuicons/socialmedia@2x.png +0 -0
  173. package/files/framework-latest/src/default/menuicons/socialmedia@3x.png +0 -0
  174. package/files/framework-latest/src/default/menuicons/subscriptions.png +0 -0
  175. package/files/framework-latest/src/default/menuicons/subscriptions@2x.png +0 -0
  176. package/files/framework-latest/src/default/menuicons/subscriptions@3x.png +0 -0
  177. package/files/framework-latest/src/default/menuicons/voucher.png +0 -0
  178. package/files/framework-latest/src/default/menuicons/voucher@2x.png +0 -0
  179. package/files/framework-latest/src/default/menuicons/voucher@3x.png +0 -0
  180. package/files/framework-latest/src/default/menuicons/website.png +0 -0
  181. package/files/framework-latest/src/default/menuicons/website@2x.png +0 -0
  182. package/files/framework-latest/src/default/menuicons/website@3x.png +0 -0
  183. package/files/framework-latest/src/default/onboarding/3rdpartylicenses.txt +574 -0
  184. package/files/framework-latest/src/default/onboarding/assets/config/message.json +7 -0
  185. package/files/framework-latest/src/default/onboarding/assets/config/onboarding.json +48 -0
  186. package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/1_Welcome.png +0 -0
  187. package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/2_MenuPhone.jpg +0 -0
  188. package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/2_MenuTablet.jpg +0 -0
  189. package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/3_NewsstandPhone.jpg +0 -0
  190. package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/3_NewsstandTablet.jpg +0 -0
  191. package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/4_PublicationPhone.jpg +0 -0
  192. package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/4_PublicationTablet.jpg +0 -0
  193. package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/5_NewsfeedPhone.jpg +0 -0
  194. package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/5_NewsfeedTablet.jpg +0 -0
  195. package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/6_FeaturesPhone.jpg +0 -0
  196. package/files/framework-latest/src/default/onboarding/assets/config/onboarding_images/6_FeaturesTablet.jpg +0 -0
  197. package/files/framework-latest/src/default/onboarding/assets/config/onboarding_videos/BLI_Cover-Image-Video_1.jpg +0 -0
  198. package/files/framework-latest/src/default/onboarding/assets/config/onboarding_videos/BLI_Cover-Image-Video_4.jpg +0 -0
  199. package/files/framework-latest/src/default/onboarding/assets/config/style.json +19 -0
  200. package/files/framework-latest/src/default/onboarding/assets/config/url.json +5 -0
  201. package/files/framework-latest/src/default/onboarding/assets/font/Ionicons/ionicons.ttf +0 -0
  202. package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-Bold.ttf +0 -0
  203. package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-BoldItalic.ttf +0 -0
  204. package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-ExtraBold.ttf +0 -0
  205. package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-ExtraBoldItalic.ttf +0 -0
  206. package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-Italic.ttf +0 -0
  207. package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-Light.ttf +0 -0
  208. package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-LightItalic.ttf +0 -0
  209. package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-Regular.ttf +0 -0
  210. package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-SemiBold.ttf +0 -0
  211. package/files/framework-latest/src/default/onboarding/assets/font/OpenSans/OpenSans-SemiBoldItalic.ttf +0 -0
  212. package/files/framework-latest/src/default/onboarding/assets/font/fonts.css +73 -0
  213. package/files/framework-latest/src/default/onboarding/favicon.ico +0 -0
  214. package/files/framework-latest/src/default/onboarding/index.html +15 -0
  215. package/files/framework-latest/src/default/onboarding/main.js +1 -0
  216. package/files/framework-latest/src/default/onboarding/polyfills-es5.js +1 -0
  217. package/files/framework-latest/src/default/onboarding/polyfills.js +1 -0
  218. package/files/framework-latest/src/default/onboarding/runtime.js +1 -0
  219. package/files/framework-latest/src/default/onboarding/styles.css +1 -0
  220. package/files/framework-latest/src/default/onboarding/vendor.js +1 -0
  221. package/files/framework-latest/src/default/readmode/custom.js +40 -0
  222. package/files/framework-latest/src/default/readmode/ic_audio.svg +19 -0
  223. package/files/framework-latest/src/default/readmode/ic_close.svg +16 -0
  224. package/files/framework-latest/src/default/readmode/ic_font_size.svg +1 -0
  225. package/files/framework-latest/src/default/readmode/ic_night_mode.svg +20 -0
  226. package/files/framework-latest/src/default/readmode/ic_pause.svg +19 -0
  227. package/files/framework-latest/src/default/readmode/ic_play.svg +16 -0
  228. package/files/framework-latest/src/default/readmode/ic_speech.svg +15 -0
  229. package/files/framework-latest/src/default/readmode/ic_speech_female.svg +11 -0
  230. package/files/framework-latest/src/default/readmode/ic_speech_male.svg +11 -0
  231. package/files/framework-latest/src/default/storefront/3rdpartylicenses.txt +1065 -0
  232. package/files/framework-latest/src/default/storefront/assets/access.json +10 -0
  233. package/files/framework-latest/src/default/storefront/assets/banner/banner_not_found.jpg +0 -0
  234. package/files/framework-latest/src/default/storefront/assets/downloadOptions.json +1 -0
  235. package/files/framework-latest/src/default/storefront/assets/faq.html +87 -0
  236. package/files/framework-latest/src/default/storefront/assets/features.json +3 -0
  237. package/files/framework-latest/src/default/storefront/assets/generic-widget.json +1 -0
  238. package/files/framework-latest/src/default/storefront/assets/login.html +329 -0
  239. package/files/framework-latest/src/default/storefront/assets/submit.css +7 -0
  240. package/files/framework-latest/src/default/storefront/assets/subscription-benefits.json +11 -0
  241. package/files/framework-latest/src/default/storefront/assets/termsofuse.html +123 -0
  242. package/files/framework-latest/src/default/storefront/assets/tts_config.json +3 -0
  243. package/files/framework-latest/src/default/storefront/assets/urls.json +11 -0
  244. package/files/framework-latest/src/default/storefront/buildInfo.json +7 -0
  245. package/files/framework-latest/src/default/storefront/deep-link-landing/index.html +1 -0
  246. package/files/framework-latest/src/default/storefront/deep-link-landing/purple-deep-link-landing.js +842 -0
  247. package/files/framework-latest/src/default/storefront/deep-link-landing/purple-deep-link-landing.js.LICENSE.txt +13 -0
  248. package/files/framework-latest/src/default/storefront/index.html +22 -0
  249. package/files/framework-latest/src/default/storefront/modules/DS_logo.svg +1 -0
  250. package/files/framework-latest/src/default/storefront/modules/alphaMask.png +0 -0
  251. package/files/framework-latest/src/default/storefront/modules/btn_backward.png +0 -0
  252. package/files/framework-latest/src/default/storefront/modules/btn_first.png +0 -0
  253. package/files/framework-latest/src/default/storefront/modules/btn_forward.png +0 -0
  254. package/files/framework-latest/src/default/storefront/modules/btn_fullwidth.png +0 -0
  255. package/files/framework-latest/src/default/storefront/modules/btn_fullwidth_active.png +0 -0
  256. package/files/framework-latest/src/default/storefront/modules/btn_last.png +0 -0
  257. package/files/framework-latest/src/default/storefront/modules/btn_pin.png +0 -0
  258. package/files/framework-latest/src/default/storefront/modules/btn_toc.png +0 -0
  259. package/files/framework-latest/src/default/storefront/modules/btn_zoom.png +0 -0
  260. package/files/framework-latest/src/default/storefront/modules/btn_zoom_active.png +0 -0
  261. package/files/framework-latest/src/default/storefront/modules/common.js +1 -0
  262. package/files/framework-latest/src/default/storefront/modules/default-node_modules_angular_forms_fesm2022_forms_mjs.js +1 -0
  263. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_base-component_base-datacollection_component_ts-4706f8.js +1 -0
  264. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_content_content_module_ts.js +1 -0
  265. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_image_image_leandom_component_ts-projects_store-04fe61.js +1 -0
  266. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_image_image_leandom_component_ts-projects_store-571069.js +1 -0
  267. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_issue_issue_module_ts.js +1 -0
  268. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_service_tts_tts_service_ts.js +1 -0
  269. package/files/framework-latest/src/default/storefront/modules/ic_backward.svg +16 -0
  270. package/files/framework-latest/src/default/storefront/modules/ic_close.svg +16 -0
  271. package/files/framework-latest/src/default/storefront/modules/ic_forward.svg +16 -0
  272. package/files/framework-latest/src/default/storefront/modules/ic_fullscreen.png +0 -0
  273. package/files/framework-latest/src/default/storefront/modules/ic_fullscreen@2x.png +0 -0
  274. package/files/framework-latest/src/default/storefront/modules/ic_fullscreen@3x.png +0 -0
  275. package/files/framework-latest/src/default/storefront/modules/ic_overlay_loading.svg +13 -0
  276. package/files/framework-latest/src/default/storefront/modules/ic_pause.png +0 -0
  277. package/files/framework-latest/src/default/storefront/modules/ic_pause.svg +19 -0
  278. package/files/framework-latest/src/default/storefront/modules/ic_pause@2x.png +0 -0
  279. package/files/framework-latest/src/default/storefront/modules/ic_pause@3x.png +0 -0
  280. package/files/framework-latest/src/default/storefront/modules/ic_play.png +0 -0
  281. package/files/framework-latest/src/default/storefront/modules/ic_play.svg +16 -0
  282. package/files/framework-latest/src/default/storefront/modules/ic_play@2x.png +0 -0
  283. package/files/framework-latest/src/default/storefront/modules/ic_play@3x.png +0 -0
  284. package/files/framework-latest/src/default/storefront/modules/ic_player.svg +17 -0
  285. package/files/framework-latest/src/default/storefront/modules/ic_player_active.svg +17 -0
  286. package/files/framework-latest/src/default/storefront/modules/ic_refresh.svg +16 -0
  287. package/files/framework-latest/src/default/storefront/modules/ic_seek_back.svg +19 -0
  288. package/files/framework-latest/src/default/storefront/modules/ic_seek_forward.svg +19 -0
  289. package/files/framework-latest/src/default/storefront/modules/ic_settings.svg +16 -0
  290. package/files/framework-latest/src/default/storefront/modules/ic_smallscreen.png +0 -0
  291. package/files/framework-latest/src/default/storefront/modules/ic_smallscreen@2x.png +0 -0
  292. package/files/framework-latest/src/default/storefront/modules/ic_smallscreen@3x.png +0 -0
  293. package/files/framework-latest/src/default/storefront/modules/ic_speech.svg +15 -0
  294. package/files/framework-latest/src/default/storefront/modules/ic_speech_female.svg +11 -0
  295. package/files/framework-latest/src/default/storefront/modules/ic_speech_male.svg +11 -0
  296. package/files/framework-latest/src/default/storefront/modules/icon_close.png +0 -0
  297. package/files/framework-latest/src/default/storefront/modules/main.js +1 -0
  298. package/files/framework-latest/src/default/storefront/modules/node_modules_clientjs_dist_client_base_min_js.js +1 -0
  299. package/files/framework-latest/src/default/storefront/modules/node_modules_mustache_mustache_js.js +1 -0
  300. package/files/framework-latest/src/default/storefront/modules/node_modules_purple_web-player_dist_webPresenter_js_vendor_js.js +1 -0
  301. package/files/framework-latest/src/default/storefront/modules/node_modules_purple_web-player_dist_webPresenter_js_webPresenter_min_js.js +1 -0
  302. package/files/framework-latest/src/default/storefront/modules/polyfills.js +1 -0
  303. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_common-pipes_common-pipes_module_ts-projects_storefront_src_app_c-295cec.js +1 -0
  304. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_common-pipes_common-pipes_module_ts-projects_storefront_src_app_c-7956f0.js +1 -0
  305. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_common-pipes_common-pipes_module_ts-projects_storefront_src_app_c-94b9b6.js +1 -0
  306. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_action-executor_action-executor_module_ts.js +1 -0
  307. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_ad_ad_module_ts.js +1 -0
  308. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_app-menu-xml_app-menu-xml_module_ts.js +1 -0
  309. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_base-component_base-datacollection_component_ts-project-6cb588.js +1 -0
  310. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_bookmark_bookmark_module_ts.js +1 -0
  311. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-body_content-body_module_ts.js +1 -0
  312. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-featured-image_content-featured-c9ba26.js +1 -0
  313. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_category_category_module_ts.js +1 -0
  314. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_collection_collection_module_ts.js +1 -0
  315. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_component_module_ts.js +1 -0
  316. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_coupon_coupon_module_ts.js +1 -0
  317. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_dev-components_user-tag-testing_user-tag-testing_module_ts.js +1 -0
  318. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_download-issues_download-issues_module_ts.js +1 -0
  319. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_dropdown_dropdown_module_ts.js +1 -0
  320. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_embeddable-view_embeddable-view_module_ts.js +1 -0
  321. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_iframe_iframe_module_ts.js +1 -0
  322. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_issue-search-result_issue-search-result_module_ts.js +1 -0
  323. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_login_login_module_ts.js +1 -0
  324. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_menu_menu_module_ts.js +1 -0
  325. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_product_product_module_ts.js +1 -0
  326. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_publication-completion_publication-completion_module_ts.js +1 -0
  327. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_publication_publication_module_ts.js +1 -0
  328. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_recommendations_recommendations_module_ts.js +1 -0
  329. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_search-field_search-field_module_ts.js +1 -0
  330. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_subscription_subscription_module_ts.js +1 -0
  331. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_swiper_swiper_module_ts.js +1 -0
  332. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_ticker_ticker_module_ts.js +1 -0
  333. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_toggle_toggle_module_ts.js +1 -0
  334. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_toolbar_toolbar_module_ts.js +1 -0
  335. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_web-presenter_presenter_presenter_module_ts.js +1 -0
  336. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_widget_widget_module_ts.js +1 -0
  337. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_config_common_config_ts.js +1 -0
  338. package/files/framework-latest/src/default/storefront/modules/runtime.js +1 -0
  339. package/files/framework-latest/src/default/storefront/modules/styles.css +1 -0
  340. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_component_image_image_leandom_component_ts-projects_store-571069"],{2932:(D,u,r)=>{r.d(u,{h:()=>f,q:()=>U});var m=r(177),t=r(4438),a=r(8251),o=r(8890),s=r(9516),c=r(9876),n=r(5102),_=r(3307),T=r(5927),h=r(3647);const v=["image"],l=(d,P,g)=>({imgRef:d,imageResolutionStrategy:P,focalPoint:g});function y(d,P){if(1&d){const g=t.RV6();t.j41(0,"img",2,0),t.nI1(2,"sanitizeUrl"),t.bIt("error",function(){t.eBV(g);const e=t.XpG();return t.Njj(e.onError())}),t.k0s()}if(2&d){const g=t.XpG();t.Y8G("priority",g.lcpPrioritized()||g.inViewPort())("ngSrc",t.i5U(2,6,g.src,"resourceUrl"))("alt",g.alt)("title",g.title)("loaderParams",t.sMw(9,l,g.elementRef.nativeElement,g.imageResolutionStrategy,g.focalPoint)),t.BMQ("aria-label",g.ariaLabel)}}let f=(()=>{var d;class P{get regularSrc(){return this.domHelper.regularSelector(this.src)}get prefixedPostType(){return this.domHelper.prefixedSelector(this.src)}get regularLabel(){return this.domHelper.regularSelector(this.label)}get prefixedLabel(){return this.domHelper.prefixedSelector(this.label)}get regularResolutionStrategy(){return this.domHelper.regularSelector(this.imageResolutionStrategy)}get prefixedResolutionStrategy(){return this.domHelper.prefixedSelector(this.imageResolutionStrategy)}set image(i){i&&this.onLoad(i),this._image=i}get image(){return this._image}get regularAlt(){return this.domHelper.regularSelector(this.alt)}get prefixedAlt(){return this.domHelper.prefixedSelector(this.alt)}get regularTitle(){return this.domHelper.regularSelector(this.title)}get prefixedTitle(){return this.domHelper.prefixedSelector(this.title)}get regularAriaLabel(){return this.domHelper.regularSelector(this.ariaLabel)}get prefixedAriaLabel(){return this.domHelper.prefixedSelector(this.ariaLabel)}get regularFocalPoint(){return this.domHelper.regularSelector(this.focalPoint)}get prefixedFocalPoint(){return this.domHelper.prefixedSelector(this.focalPoint)}get regularHeightStrategy(){return this.domHelper.regularSelector(this.height)}get prefixedHeightStrategy(){return this.domHelper.prefixedSelector(this.height)}constructor(i,e,p,E,x,S,I,R){this.changeDetectorRef=i,this.elementRef=e,this.subscriptions=p,this.platformId=E,this.contextService=x,this.purpleService=S,this.imagePreloaderService=I,this.domHelper=R,this.inViewPort=(0,t.vPA)(!1),this.lcpPrioritized=(0,t.hFB)(!1),this.error=new t.bkB,this.height=U.AUTO,(0,m.UE)(this.platformId)&&this.subscriptions.subscribe((0,o.eh)(this,this.elementRef),L=>this.load())}get empty(){return!this.src}ngOnInit(){var i;(0,m.UE)(this.platformId)&&(this.imagePreloaderService.getAboveFoldImg()===(null===(i=this.src)||void 0===i?void 0:i.split("?")[0])&&this.inViewPort.set(!0));this.initProperties()}initProperties(){var i,e,p,E;this.alt=(null===(i=this.extendedThumbnail)||void 0===i?void 0:i.properties.alt)||(null===(e=this.extendedThumbnail)||void 0===e?void 0:e.properties.caption)||"",this.title=this.alt,this.ariaLabel=null!==(p=this.label)&&void 0!==p?p:this.alt,this.focalPoint=null===(E=this.extendedThumbnail)||void 0===E?void 0:E.properties.focuspoint}initAndLoad(){this.initProperties(),this.load()}load(){this.loaded||(this.loaded=!0,this.src&&this.update(),this.changeDetectorRef.detectChanges())}ngOnChanges(i){i.src&&this.loaded&&this.update()}update(){this.updateImageRatio()}onLoad(i){i.nativeElement.classList.add("loaded"),this.elementRef.nativeElement.classList.add("loaded"),this.changeDetectorRef.detectChanges(),i.nativeElement.addEventListener("load",()=>{this.updateImageRatio(!0,i),this.changeDetectorRef.markForCheck()}),i.nativeElement.addEventListener("error",function(){i.nativeElement.style.display="none",i.nativeElement.nextElementSibling&&(i.nativeElement.nextElementSibling.style.display="inline")}),this.purpleService.addImageSrc(this.resizeSrc)}onError(){if(!this.src)return;const i=this.purpleService.getAlternativeSrc(this.resizeSrc);var e;i&&i!==this.resizeSrc?(this.setResizeSrc(i),this.changeDetectorRef.detectChanges()):(null===(e=this.image)||void 0===e||e.nativeElement.classList.add("error"),this.elementRef.nativeElement.classList.add("error"),this.error.emit(this))}updateImageRatio(i=!1,e=this.image){this.imageRatio=this.height===U.AUTO?(0,c.z)(!i,null==e?void 0:e.nativeElement,this.src)+"%":void 0}setResizeSrc(i){const e=this.contextService.toResourceUrl(i);this.resizeSrc=this.src=e}}return(d=P).\u0275fac=function(i){return new(i||d)(t.rXU(t.gRc),t.rXU(t.aKT),t.rXU(a.v),t.rXU(t.Agw),t.rXU(s.V),t.rXU(n.Wj),t.rXU(_.d),t.rXU(T.S))},d.\u0275cmp=t.VBU({type:d,selectors:[["storefront-image"]],viewQuery:function(i,e){if(1&i&&t.GBs(v,5),2&i){let p;t.mGM(p=t.lsd())&&(e.image=p.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:20,hostBindings:function(i,e){2&i&&(t.BMQ("src",e.regularSrc)("data-pxp-src",e.prefixedPostType)("label",e.regularLabel)("data-pxp-label",e.prefixedLabel)("resolution-strategy",e.regularResolutionStrategy)("data-pxp-resolution-strategy",e.prefixedResolutionStrategy)("alt",e.regularAlt)("data-pxp-alt",e.prefixedAlt)("title",e.regularTitle)("data-pxp-title",e.prefixedTitle)("aria-label",e.regularAriaLabel)("data-pxp-aria-label",e.prefixedAriaLabel)("focal-point",e.regularFocalPoint)("data-pxp-focal-point",e.prefixedFocalPoint)("height-strategy",e.regularHeightStrategy)("data-pxp-height-strategy",e.prefixedHeightStrategy),t.xc7("padding-top",e.imageRatio),t.AVh("empty",e.empty))},inputs:{src:"src",label:"label",extendedThumbnail:"extendedThumbnail",imageResolutionStrategy:"imageResolutionStrategy",lcpPrioritized:[1,"lcpPrioritized"],height:"height"},outputs:{error:"error"},standalone:!1,features:[t.Jv_([a.v,{provide:m.WM,useFactory:(g,i)=>e=>{var p;const E=null==e||null===(p=e.loaderParams)||void 0===p?void 0:p.imgRef;if(E.offsetWidth){var x,S;const I=null==e||null===(x=e.loaderParams)||void 0===x?void 0:x.imageResolutionStrategy,R=(null==e||null===(S=e.loaderParams)||void 0===S?void 0:S.focalPoint)||"",L=i.toResourceUrl((0,c.G)(E,e.src,I,R));return g.resizeSrc=L,L}return""},deps:[d,s.V]}]),t.OA$],decls:1,vars:1,consts:[["image",""],["fill","true","disableOptimizedSrcset","",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","disableOptimizedSrcset","",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(i,e){1&i&&t.DNE(0,y,3,13,"img",1),2&i&&t.vxM(e.src&&e.loaded?0:-1)},dependencies:[m.kt,h.R],styles:["storefront-image,.pxp-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}storefront-image>img.loaded,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),P})();var U=function(d){return d.AUTO="AUTO",d.FIXED="FIXED",d.DEFAULT="DEFAULT",d}(U||{})},1302:(D,u,r)=>{r.d(u,{x:()=>T});var m=r(8251),t=r(2932),a=r(4438),o=r(177),s=r(3647);const c=["class","pxp-image"],n=(h,v,l)=>({imgRef:h,imageResolutionStrategy:v,focalPoint:l});function _(h,v){if(1&h){const l=a.RV6();a.j41(0,"img",2,0),a.nI1(2,"sanitizeUrl"),a.bIt("error",function(){a.eBV(l);const f=a.XpG();return a.Njj(f.onError())}),a.k0s()}if(2&h){const l=a.XpG();a.Y8G("priority",l.lcpPrioritized()||l.inViewPort())("ngSrc",a.i5U(2,6,l.src,"resourceUrl"))("alt",l.alt)("title",l.title)("loaderParams",a.sMw(9,n,l.elementRef.nativeElement,l.imageResolutionStrategy,l.focalPoint)),a.BMQ("aria-label",l.ariaLabel)}}let T=(()=>{var h;class v extends t.h{}return(h=v).\u0275fac=(()=>{let l;return function(f){return(l||(l=a.xGo(h)))(f||h)}})(),h.\u0275cmp=a.VBU({type:h,selectors:[["div",8,"pxp-image"]],hostAttrs:["ngSkipHydration","true"],standalone:!1,features:[a.Jv_([m.v]),a.Vt3],attrs:c,decls:1,vars:1,consts:[["image",""],["fill","true","disableOptimizedSrcset","",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","disableOptimizedSrcset","",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(y,f){1&y&&a.DNE(0,_,3,13,"img",1),2&y&&a.vxM(f.src&&f.loaded?0:-1)},dependencies:[o.kt,s.R],styles:["storefront-image,.pxp-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}storefront-image>img.loaded,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),v})()},4403:(D,u,r)=>{r.d(u,{U:()=>o});var m=r(177),t=r(4871),a=r(4438);let o=(()=>{var s;class c{}return(s=c).\u0275fac=function(_){return new(_||s)},s.\u0275mod=a.$C({type:s}),s.\u0275inj=a.G2t({imports:[m.MD,t.E]}),c})()},6953:(D,u,r)=>{r.d(u,{n:()=>a});var m=r(177),t=r(4438);let a=(()=>{var o;class s{}return(o=s).\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[m.MD]}),s})()},2813:(D,u,r)=>{r.d(u,{Z:()=>a});var m=r(3178),t=r(4438);let a=(()=>{var o;class s{transform(n,_){return new Date(n).toLocaleDateString((0,m.JK)())}}return(o=s).\u0275fac=function(n){return new(n||o)},o.\u0275pipe=t.EJ8({name:"storefrontDate",type:o,pure:!0,standalone:!1}),s})()},3647:(D,u,r)=>{r.d(u,{R:()=>a});var m=r(4438),t=r(345);let a=(()=>{var o;class s{constructor(n){this.sanitizer=n}transform(n,_="url"){switch(_){case"html":return this.sanitizer.bypassSecurityTrustHtml(n);case"style":return this.sanitizer.bypassSecurityTrustStyle(n);case"script":return this.sanitizer.bypassSecurityTrustScript(n);case"url":return this.sanitizer.bypassSecurityTrustUrl(n);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(n);default:throw new Error("Invalid safe type specified: ".concat(_))}}}return(o=s).\u0275fac=function(n){return new(n||o)(m.rXU(t.up,16))},o.\u0275pipe=m.EJ8({name:"sanitizeUrl",type:o,pure:!0,standalone:!1}),s})()}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_component_issue_issue_module_ts","projects_storefront_src_app_common-pipes_common-pipes_module_ts-projects_storefront_src_app_c-7956f0"],{4767:(X,A,u)=>{u.d(A,{d:()=>t});var l=u(177),f=u(4438);let t=(()=>{var e;class I{}return(e=I).\u0275fac=function(O){return new(O||e)},e.\u0275mod=f.$C({type:e}),e.\u0275inj=f.G2t({imports:[l.MD]}),I})()},2914:(X,A,u)=>{u.d(A,{w:()=>I});var l=u(4049),f=u(7370),t=u(4438),e=u(9516);let I=(()=>{var y;class O{constructor(m){this.contextService=m}transform(m,P){if(!m||(0,f.vh)(m))return m;let k=m?(0,l.K)(m,P):"";const w=this.contextService.getIsCustomerDomainUsed()?"":"/".concat(this.contextService.getBrand(),"/"),x=this.contextService.isPreview();return"/"===k&&(k=""),k="".concat(w).concat(k).concat(x?"?preview=true":""),k}}return(y=O).\u0275fac=function(m){return new(m||y)(t.rXU(e.V,16))},y.\u0275pipe=t.EJ8({name:"urlTransform",type:y,pure:!0,standalone:!1}),y.\u0275prov=t.jDH({token:y,factory:y.\u0275fac,providedIn:"root"}),O})()},4744:(X,A,u)=>{u.d(A,{z:()=>St});var l=u(467),f=u(9379),t=u(177),e=u(4438),I=u(4404),O=u(362),G=u.n(O),m=u(5964),P=u(6354),k=u(6697),w=u(6843),x=u(4452),E=u(8179),D=u(5102),T=u(9745),b=u(4945),$=u(8251),F=u(4004),V=u(4622),z=u(1739),Z=u(610),B=u(3178),N=u(5706),j=u(8091),Y=u(7879),J=u(8890),Q=u(1210),W=u(2932),H=u(3092),M=u(4365),q=u(20),ee=u(8004),te=u(9516),se=u(244),ie=u(1652),oe=u(5820),ne=u(4748),ae=u(5927),re=u(680),pe=u(8909),ue=u(7240),le=u(3),ce=u(395),_e=u(4336),ge=u(1302),de=u(2914),me=u(2813);const K=r=>[r],fe=r=>({path:r}),he=()=>({path:""}),ve=()=>[];function xe(r,_){if(1&r){const n=e.RV6();e.j41(0,"div",9),e.nrm(1,"span",10),e.j41(2,"button",11),e.bIt("click",function(){e.eBV(n);const s=e.XpG(2);return e.Njj(s.reload())}),e.k0s()()}if(2&r){const n=e.XpG(2);e.R7$(),e.Y8G("storefrontTranslateArgs",e.eq3(1,K,n.dataSourceError.code))}}function be(r,_){if(1&r&&(e.qex(0),e.j41(1,"div",3),e.nrm(2,"storefront-image",4),e.k0s(),e.j41(3,"div",5),e.nrm(4,"h3",6)(5,"div",7),e.k0s(),e.DNE(6,xe,3,3,"div",8),e.bVm()),2&r){const n=e.XpG();e.R7$(2),e.Y8G("height","FIXED"),e.R7$(4),e.Y8G("ngIf",n.dataSourceError)}}function Ie(r,_){1&r&&e.eu8(0)}function Ce(r,_){if(1&r){const n=e.RV6();e.j41(0,"a",14),e.nI1(1,"urlTransform"),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(3);return e.Njj(p.onClickCover(s))}),e.DNE(2,Ie,1,0,"ng-container",15),e.k0s()}if(2&r){e.XpG(2);const n=e.sdS(4),i=e.XpG();e.Y8G("href",e.i5U(1,2,i.issuePath(),i.context),e.B4B),e.R7$(2),e.Y8G("ngTemplateOutlet",n)}}function Ee(r,_){1&r&&e.eu8(0)}function Te(r,_){if(1&r){const n=e.RV6();e.j41(0,"a",16),e.nI1(1,"urlTransform"),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(3);return e.Njj(p.onClickIssue(s))}),e.DNE(2,Ee,1,0,"ng-container",17),e.k0s()}if(2&r){e.XpG(2);const n=e.sdS(6),i=e.XpG();e.AVh("expanded",i.descriptionExpanded),e.Y8G("href",e.i5U(1,5,i.issuePath(),i.context),e.B4B),e.R7$(2),e.Y8G("ngTemplateOutlet",n)("ngTemplateOutletContext",e.eq3(8,fe,i.issuePath()))}}function De(r,_){if(1&r&&e.DNE(0,Ce,3,5,"a",12)(1,Te,3,10,"a",13),2&r){const n=e.XpG(2);e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.cover),e.R7$(),e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.allData)}}function ye(r,_){1&r&&e.eu8(0)}function Re(r,_){if(1&r){const n=e.RV6();e.j41(0,"div",20),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(3);return e.Njj(p.onClickCover(s))}),e.DNE(1,ye,1,0,"ng-container",15),e.k0s()}if(2&r){e.XpG(2);const n=e.sdS(4);e.R7$(),e.Y8G("ngTemplateOutlet",n)}}function ke(r,_){if(1&r){const n=e.RV6();e.j41(0,"div",21),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(3);return e.Njj(p.onClickIssue(s))}),e.eu8(1,22),e.k0s()}if(2&r){e.XpG(2);const n=e.sdS(6),i=e.XpG();e.AVh("expanded",i.descriptionExpanded),e.R7$(),e.Y8G("ngTemplateOutlet",n)("ngTemplateOutletContext",e.lJ4(4,he))}}function Ae(r,_){if(1&r&&e.DNE(0,Re,2,1,"div",18)(1,ke,2,5,"div",19),2&r){const n=e.XpG(2);e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.cover),e.R7$(),e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.allData)}}function Oe(r,_){if(1&r&&e.nrm(0,"div",23),2&r){const n=e.XpG(3);e.Y8G("lcpPrioritized",0===(null==n.context?null:n.context.entryIndex)&&(null==n.config?null:n.config.lcpPrioritized))("src",n.issue.thumbnails&&n.issue.thumbnails.default)("imageResolutionStrategy",null==n.config?null:n.config.imageResolutionStrategy)("height",n.getImageHeight())("extendedThumbnail",null==n.issue||null==n.issue.thumbnailsExtended?null:n.issue.thumbnailsExtended.default)("label",null==n.issue?null:n.issue.name)}}function Le(r,_){if(1&r&&e.nrm(0,"storefront-image",24),2&r){const n=e.XpG(3);e.Y8G("lcpPrioritized",0===(null==n.context?null:n.context.entryIndex)&&(null==n.config?null:n.config.lcpPrioritized))("src",n.issue.thumbnails&&n.issue.thumbnails.default)("imageResolutionStrategy",null==n.config?null:n.config.imageResolutionStrategy)("height",n.getImageHeight())("extendedThumbnail",null==n.issue||null==n.issue.thumbnailsExtended?null:n.issue.thumbnailsExtended.default)("label",null==n.issue?null:n.issue.name)}}function Se(r,_){1&r&&e.nrm(0,"storefront-spinner")}function Pe(r,_){1&r&&(e.j41(0,"div",27),e.nrm(1,"span",28),e.k0s())}function Ge(r,_){if(1&r&&e.nrm(0,"storefront-progress",29),2&r){const n=e.XpG(3);e.Y8G("type",n.getProgressType())("progress",n.installState.progress)}}function Be(r,_){if(1&r&&e.DNE(0,Oe,1,6,"div",23)(1,Le,1,6,"storefront-image",24)(2,Se,1,0,"storefront-spinner",2)(3,Pe,2,0,"div",25)(4,Ge,1,2,"storefront-progress",26),2&r){const n=e.XpG(2);e.vxM(n.domHelper.leanDom?0:1),e.R7$(2),e.Y8G("ngIf",n.coverLoading),e.R7$(),e.Y8G("ngIf",n.showUpdateBehavior()),e.R7$(),e.Y8G("ngIf",n.showProgress())}}function Me(r,_){if(1&r){const n=e.RV6();e.j41(0,"h3",45),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(3);return e.Njj(p.onClickCover(s))}),e.nrm(1,"span",46),e.k0s()}if(2&r){const n=e.XpG(3);e.R7$(),e.Y8G("storefrontTranslate",n.config.publicationTitleMessage)("storefrontTranslateArgs",e.eq3(2,K,n.publication&&n.publication.name))}}function we(r,_){if(1&r){const n=e.RV6();e.j41(0,"h3",47),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(3);return e.Njj(p.onClickCover(s))}),e.nrm(1,"span",46),e.k0s()}if(2&r){const n=e.XpG(3);e.R7$(),e.Y8G("storefrontTranslate",n.config.titleMessage)("storefrontTranslateArgs",e.eq3(2,K,n.issue.name))}}function Ue(r,_){1&r&&e.nrm(0,"i",48)}function Ne(r,_){if(1&r&&(e.j41(0,"div",49),e.EFF(1),e.nI1(2,"storefrontDate"),e.k0s()),2&r){const n=e.XpG(3);e.R7$(),e.SpI(" ",e.bMT(2,1,n.issue.publicationDate)," ")}}function Xe(r,_){if(1&r&&e.nrm(0,"div",50),2&r){const n=e.XpG(3);e.Y8G("storefrontTranslate",n.config.descriptionMessage)("storefrontTranslateArgs",e.eq3(2,K,n.issue.description))}}function $e(r,_){if(1&r){const n=e.RV6();e.j41(0,"span",51),e.bIt("click",function(){e.eBV(n);const s=e.XpG(3);return e.Njj(s.descriptionExpanded=!s.descriptionExpanded)}),e.nrm(1,"span",52)(2,"i",53),e.k0s()}if(2&r){const n=e.XpG(3);e.R7$(),e.Y8G("storefrontTranslate",n.descriptionExpanded?"ISSUE_DESCRIPTION_TOGGLE_COLLAPSE":"ISSUE_DESCRIPTION_TOGGLE_EXPAND")}}function je(r,_){if(1&r&&(e.j41(0,"div")(1,"span"),e.EFF(2),e.k0s(),e.nrm(3,"i"),e.k0s()),2&r){const n=_.$implicit;e.ZWY("issue-property issue-property-",n.key," issue-property-",n.key,"-",n.value,""),e.R7$(2),e.JRh(n.value),e.R7$(),e.ee0("'icon icon-",n.key," icon-",n.value," icon-",n.key,"-",n.value,"")}}function Ye(r,_){if(1&r&&(e.j41(0,"div",54),e.DNE(1,je,4,12,"div",55),e.k0s()),2&r){const n=e.XpG(3);e.R7$(),e.Y8G("ngForOf",n.visibleProperties)("ngForTrackBy",n.trackByProperty)}}function Ke(r,_){if(1&r&&(e.j41(0,"div",58)(1,"span"),e.EFF(2),e.k0s(),e.nrm(3,"i"),e.k0s()),2&r){const n=_.$implicit;e.ZvI("issue-category issue-category-",n.id,""),e.R7$(2),e.JRh(n.name||n.id),e.R7$(),e.ZvI("icon icon-",n.id,"")}}function Fe(r,_){if(1&r&&(e.j41(0,"div",56),e.DNE(1,Ke,4,7,"div",57),e.k0s()),2&r){const n=e.XpG(3);e.R7$(),e.Y8G("ngForOf",n.displayedCategories)("ngForTrackBy",n.trackByCategory)}}function Ve(r,_){if(1&r&&(e.j41(0,"div")(1,"span"),e.EFF(2),e.k0s(),e.nrm(3,"i"),e.k0s()),2&r){const n=_.$implicit;e.ZvI("issue-tag issue-tag-",n,""),e.R7$(2),e.JRh(n),e.R7$(),e.ZvI("icon icon-",n,"")}}function We(r,_){if(1&r&&(e.j41(0,"div",59),e.DNE(1,Ve,4,7,"div",55),e.k0s()),2&r){const n=e.XpG(3);e.R7$(),e.Y8G("ngForOf",n.tags)("ngForTrackBy",n.trackByTag)}}function He(r,_){if(1&r&&e.nrm(0,"div",46),2&r){const n=_.$implicit;e.ZvI("issue-custom-message ",n.class||"",""),e.Y8G("storefrontTranslate",n.message)("storefrontTranslateArgs",n.variables||e.lJ4(5,ve))}}function ze(r,_){if(1&r){const n=e.RV6();e.j41(0,"button",60),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(3);return e.Njj(p.onClickShare(s))}),e.k0s()}}function Ze(r,_){if(1&r){const n=e.RV6();e.j41(0,"button",61),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(3);return e.Njj(p.onClickBookmark(s))}),e.k0s()}if(2&r){const n=e.XpG(3);e.ZvI("icon ",n.bookmark?"icon-bookmark-active":"icon-bookmark","")}}function Je(r,_){1&r&&e.nrm(0,"storefront-spinner",67)}function Qe(r,_){if(1&r){const n=e.RV6();e.j41(0,"button",64),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(4);return e.Njj(p.onClickRead(s))}),e.nrm(1,"span",65),e.DNE(2,Je,1,0,"storefront-spinner",66),e.k0s()}if(2&r){const n=e.XpG(4);e.Y8G("disabled",n.openLoading),e.R7$(2),e.Y8G("ngIf",n.openLoading)}}function qe(r,_){1&r&&e.nrm(0,"storefront-spinner",67)}function et(r,_){if(1&r){const n=e.RV6();e.j41(0,"button",68),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(4);return e.Njj(p.onClickPreview(s))}),e.nrm(1,"span",69),e.DNE(2,qe,1,0,"storefront-spinner",66),e.k0s()}if(2&r){const n=e.XpG(4);e.Y8G("disabled",n.previewLoading),e.R7$(2),e.Y8G("ngIf",n.previewLoading)}}function tt(r,_){1&r&&e.nrm(0,"storefront-spinner",67)}function st(r,_){if(1&r){const n=e.RV6();e.j41(0,"button",73),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(7);return e.Njj(p.onClickCancel(s))}),e.nrm(1,"span",74),e.DNE(2,tt,1,0,"storefront-spinner",66),e.k0s()}if(2&r){const n=e.XpG(7);e.Y8G("disabled",n.deleteLoading),e.R7$(2),e.Y8G("ngIf",n.deleteLoading)}}function it(r,_){if(1&r&&(e.qex(0),e.DNE(1,st,3,2,"button",72),e.bVm()),2&r){const n=e.XpG(6);e.R7$(),e.Y8G("ngIf",n.showCancel())}}function a(r,_){1&r&&e.nrm(0,"storefront-spinner",67)}function c(r,_){if(1&r){const n=e.RV6();e.j41(0,"button",75),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(6);return e.Njj(p.onClickDownload(s))}),e.nrm(1,"span",76),e.DNE(2,a,1,0,"storefront-spinner",66),e.k0s()}if(2&r){const n=e.XpG(6);e.Y8G("disabled",n.downloadLoading),e.R7$(2),e.Y8G("ngIf",n.downloadLoading)}}function o(r,_){1&r&&e.nrm(0,"storefront-spinner",67)}function h(r,_){if(1&r){const n=e.RV6();e.j41(0,"button",77),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(6);return e.Njj(p.onClickDelete(s))}),e.nrm(1,"span",78),e.DNE(2,o,1,0,"storefront-spinner",66),e.k0s()}if(2&r){const n=e.XpG(6);e.Y8G("disabled",n.deleteLoading),e.R7$(2),e.Y8G("ngIf",n.deleteLoading)}}function d(r,_){if(1&r&&(e.qex(0),e.DNE(1,it,2,1,"ng-container",2)(2,c,3,2,"button",70)(3,h,3,2,"button",71),e.bVm()),2&r){const n=e.XpG(5);e.R7$(),e.Y8G("ngIf",n.installState.downloading),e.R7$(),e.Y8G("ngIf",!n.installState.downloading&&"COMPLETE"!==n.installState.installState&&!n.deleteLoading),e.R7$(),e.Y8G("ngIf",n.showDelete())}}function v(r,_){1&r&&e.nrm(0,"storefront-spinner",67)}function rt(r,_){if(1&r&&e.nrm(0,"storefront-progress",81),2&r){const n=e.XpG(7);e.Y8G("type",n.getProgressType())("progress",n.installState.progress)}}function pt(r,_){if(1&r&&(e.j41(0,"p",82),e.EFF(1),e.k0s()),2&r){const n=e.XpG(7);e.R7$(),e.SpI(" ",n.installState.progress,"% ")}}function ut(r,_){if(1&r){const n=e.RV6();e.j41(0,"button",61),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(6);return e.Njj(p.onClickState(s))}),e.nrm(1,"span",52),e.DNE(2,v,1,0,"storefront-spinner",66)(3,rt,1,2,"storefront-progress",79)(4,pt,2,1,"p",80),e.k0s()}if(2&r){const n=e.XpG(6);e.ZWY("button-state action-button ",n.installState.downloading?"button-state-downloading":""," ","button-state-"+n.installState.installState," ",n.deleteLoading||n.downloadLoading?"button-state-loading":"",""),e.R7$(),e.Y8G("storefrontTranslate",n.getStateText()),e.R7$(),e.Y8G("ngIf",n.deleteLoading||n.downloadLoading),e.R7$(),e.Y8G("ngIf",n.showProgress(!0)),e.R7$(),e.Y8G("ngIf",n.showProgress(!0))}}function lt(r,_){if(1&r&&(e.qex(0),e.DNE(1,ut,5,9,"button",42),e.bVm()),2&r){const n=e.XpG(5);e.R7$(),e.Y8G("ngIf",n.installState)}}function ct(r,_){if(1&r&&(e.qex(0),e.DNE(1,d,4,3,"ng-container",2)(2,lt,2,1,"ng-container",2),e.bVm()),2&r){const n=e.XpG(4);e.R7$(),e.Y8G("ngIf","MULTI"===n.downloadOptions.buttonType),e.R7$(),e.Y8G("ngIf","SINGLE"===n.downloadOptions.buttonType)}}function _t(r,_){if(1&r&&(e.qex(0),e.DNE(1,Qe,3,2,"button",62)(2,et,3,2,"button",63)(3,ct,3,2,"ng-container",2),e.bVm()),2&r){const n=e.XpG(3);e.R7$(),e.Y8G("ngIf",!n.locked),e.R7$(),e.Y8G("ngIf",n.locked&&n.hasPreview()),e.R7$(),e.Y8G("ngIf",n.downloadOptions&&!n.locked)}}function gt(r,_){1&r&&e.nrm(0,"span",91)}function dt(r,_){1&r&&e.nrm(0,"span",92)}function mt(r,_){if(1&r&&e.nrm(0,"span",93),2&r){const n=e.XpG(5);e.Y8G("storefrontTranslateArgs",e.eq3(1,K,n.price&&n.price.formattedPrice))}}function ft(r,_){1&r&&e.nrm(0,"storefront-spinner",67)}function ht(r,_){if(1&r){const n=e.RV6();e.j41(0,"button",87),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(4);return e.Njj(p.onClickPurchase(s))}),e.DNE(1,gt,1,0,"span",88)(2,dt,1,0,"span",89)(3,mt,1,3,"span",90)(4,ft,1,0,"storefront-spinner",66),e.k0s()}if(2&r){const n=e.XpG(4);e.Y8G("ngClass",n.getPriceState())("disabled",!n.price||n.purchaseLoading),e.R7$(),e.Y8G("ngIf",!n.visible||n.priceLoading),e.R7$(),e.Y8G("ngIf",n.visible&&!n.priceLoading&&!n.price),e.R7$(),e.Y8G("ngIf",n.price),e.R7$(),e.Y8G("ngIf",n.purchaseLoading)}}function vt(r,_){if(1&r){const n=e.RV6();e.j41(0,"button",94),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(4);return e.Njj(p.onClickSubscribe(s))}),e.k0s()}}function xt(r,_){if(1&r){const n=e.RV6();e.j41(0,"button",95),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(4);return e.Njj(p.onClickLogin(s))}),e.k0s()}}function bt(r,_){if(1&r){const n=e.RV6();e.j41(0,"button",96),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(4);return e.Njj(p.onClickCoupon(s))}),e.k0s()}}function It(r,_){if(1&r&&(e.qex(0),e.DNE(1,ht,5,6,"button",83)(2,vt,1,0,"button",84)(3,xt,1,0,"button",85)(4,bt,1,0,"button",86),e.bVm()),2&r){const n=e.XpG(3);e.R7$(),e.Y8G("ngIf",n.purchaseOptions.purchase),e.R7$(),e.Y8G("ngIf",n.purchaseOptions.subscribe),e.R7$(),e.Y8G("ngIf",!n.loggedIn&&n.purchaseOptions.login),e.R7$(),e.Y8G("ngIf",n.purchaseOptions.coupon)}}function Ct(r,_){if(1&r&&e.nrm(0,"div",97),2&r){const n=e.XpG().$implicit,i=e.XpG(3);e.Y8G("baseConfig",n)("disableAnchor",!0)("baseContext",i.context)}}function Et(r,_){if(1&r&&e.nrm(0,"storefront-button",98),2&r){const n=e.XpG().$implicit,i=e.XpG(3);e.Y8G("baseConfig",n)("disableAnchor",!0)("baseContext",i.context)}}function Tt(r,_){if(1&r&&(e.qex(0),e.DNE(1,Ct,1,3,"div",97)(2,Et,1,3,"storefront-button",98),e.bVm()),2&r){const n=e.XpG(3);e.R7$(),e.vxM(n.domHelper.leanDom?1:2)}}function Dt(r,_){if(1&r&&e.nrm(0,"storefront-progress",103),2&r){const n=e.XpG(4);e.Y8G("progress",n.installState.progress)("type",n.getProgressType())("showBorder",!0)}}function yt(r,_){if(1&r){const n=e.RV6();e.j41(0,"button",104),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(4);return e.Njj(p.onClickDownload(s))}),e.k0s()}if(2&r){const n=e.XpG(4);e.Y8G("disabled",n.downloadLoading)}}function Rt(r,_){if(1&r){const n=e.RV6();e.j41(0,"button",105),e.bIt("click",function(s){e.eBV(n);const p=e.XpG(4);return e.Njj(p.onClickDelete(s))}),e.k0s()}if(2&r){const n=e.XpG(4);e.Y8G("disabled",n.deleteLoading)}}function kt(r,_){1&r&&e.nrm(0,"storefront-spinner",67)}function At(r,_){if(1&r&&(e.j41(0,"div",99),e.DNE(1,Dt,1,3,"storefront-progress",100)(2,yt,1,1,"button",101)(3,Rt,1,1,"button",102)(4,kt,1,0,"storefront-spinner",66),e.k0s()),2&r){const n=e.XpG(3);e.R7$(),e.Y8G("ngIf",n.showProgress(!0)),e.R7$(),e.Y8G("ngIf",!n.locked&&"COMPLETE"!==n.installState.installState&&!n.installState.downloading&&!n.downloadLoading),e.R7$(),e.Y8G("ngIf",n.showDelete()||n.showCancel()),e.R7$(),e.Y8G("ngIf",n.downloadLoading)}}function Ot(r,_){if(1&r&&(e.DNE(0,Me,2,4,"h3",30)(1,we,2,4,"h3",31)(2,Ue,1,0,"i",32)(3,Ne,3,3,"div",33)(4,Xe,1,4,"div",34)(5,$e,3,1,"span",35)(6,Ye,2,2,"div",36)(7,Fe,2,2,"div",37)(8,We,2,2,"div",38)(9,He,1,6,"div",39),e.j41(10,"div",40),e.DNE(11,ze,1,0,"button",41)(12,Ze,1,3,"button",42)(13,_t,4,3,"ng-container",2)(14,It,5,4,"ng-container",2)(15,Tt,3,1,"ng-container",43),e.k0s(),e.DNE(16,At,5,4,"div",44)),2&r){const n=e.XpG(2);e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.publication),e.R7$(),e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.title),e.R7$(),e.Y8G("ngIf",n.showCheck()),e.R7$(),e.Y8G("ngIf",n.issue.publicationDate&&(!n.config.hideComponents||!n.config.hideComponents.publicationDate)),e.R7$(),e.Y8G("ngIf",n.issue.description&&(!n.config.hideComponents||!n.config.hideComponents.description)),e.R7$(),e.Y8G("ngIf",n.issue.description&&(!n.config.hideComponents||!n.config.hideComponents.description)),e.R7$(),e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.properties),e.R7$(),e.Y8G("ngIf",!(n.config.displayCategories&&"NOTHING"===n.config.displayCategories.mode||n.config.hideComponents&&n.config.hideComponents.categories)),e.R7$(),e.Y8G("ngIf",!n.config.hideComponents||!n.config.hideComponents.tags),e.R7$(),e.Y8G("ngForOf",n.customMessages)("ngForTrackBy",n.trackByMessage),e.R7$(2),e.Y8G("ngIf",n.config.sharing),e.R7$(),e.Y8G("ngIf",n.config.bookmark),e.R7$(),e.Y8G("ngIf",n.installState),e.R7$(),e.Y8G("ngIf",n.purchaseOptions&&n.locked),e.R7$(),e.Y8G("ngForOf",n.customButtons)("ngForTrackBy",n.trackByButton),e.R7$(),e.Y8G("ngIf",n.installState)}}function Lt(r,_){if(1&r&&(e.qex(0),e.DNE(1,De,2,2)(2,Ae,2,2)(3,Be,5,4,"ng-template",null,0,e.C5r)(5,Ot,17,18,"ng-template",null,1,e.C5r),e.bVm()),2&r){const n=e.XpG();e.R7$(),e.vxM(n.issuePath()?1:2)}}let St=(()=>{var r;class _ extends Q.${constructor(i,s,p,g,R,L,C,S,U,ot,nt,at,Pt,Gt,Bt){super(R,i,C,U,at),this.elementRef=i,this.ngZone=s,this.store=p,this.dialog=g,this.injector=R,this.eventActionService=L,this.contextService=C,this.cleanUpService=S,this.document=U,this.purpleEnv=ot,this.purpleService=nt,this.globalService=at,this.anchorService=Pt,this.ssrService=Gt,this.domHelper=Bt,this.defaultConfig=(0,f.A)({},M.Mw),this.priceLoading=!1,this.purchaseLoading=!1,this.downloadLoading=!1,this.deleteLoading=!1,this.openLoading=!1,this.previewLoading=!1,this.coverLoading=!1,this.bookmarkLoading=!1,this.descriptionExpanded=!1,this.downloadError=null,this.dataSourceError=null,this.visible=!1,this.anchorFeatureEnabled=!1,this.anchorPathCover=null,this.visibleProperties=[],this.issuePath=(0,e.vPA)(null),this.purchaseConfig=(0,f.A)({},M.Rp)}get purchasable(){var i;return(null===(i=this.issue)||void 0===i?void 0:i.access)===I.Access.PURCHASABLE}get hasError(){var i;return!(!this.dataSourceError||null!==(i=this.dataSource)&&void 0!==i&&i.hasData())}get issueType(){return this.issue&&(0,N.xl)(this.issue)&&this.issue.type}get regularIssueType(){return this.domHelper.regularSelector(this.issueType)}get prefixedIssueType(){return this.domHelper.prefixedSelector(this.issueType)}get contentType(){var i;return null===(i=this.issue)||void 0===i?void 0:i.contentType}get postType(){return this.issue&&(0,N.mF)(this.issue)?this.issue.postType:void 0}get contextKey(){var i;return(null!==(i=this.issueContextKey)&&void 0!==i?i:this.context.content)?"content":"issue"}get issueContextKey(){var i,s;return null!==(i=null===(s=this.config)||void 0===s?void 0:s.issueContextKey)&&void 0!==i?i:this.baseConfig.issueContextKey}get contextContent(){var i,s;return null!==(i=null!==(s=this.context[this.issueContextKey])&&void 0!==s?s:this.context.content)&&void 0!==i?i:this.context.issue}ngOnInit(){this.anchorFeatureEnabled=this.anchorService.isAnchorFeatureEnabled(),super.ngOnInit(),this.store.select((0,b.jZ)(w.O.DOWNLOAD_OPTIONS),i=>this.updateBehavior=null==i?void 0:i.autoUpdateBehavior)}get taxonomies(){var i;return null!==(i=this.issue.taxonomies)&&void 0!==i?i:[]}get categories(){return this.taxonomies.filter(i=>"category"===i.type).map(i=>i.id)}get tags(){return this.taxonomies.filter(i=>"tag"===i.type).map(i=>i.id)}ngOnDestroy(){super.ngOnDestroy(),this.downloadHandler&&this.ngZone.runOutsideAngular(()=>{setTimeout(()=>this.purpleService.destroyDownloadHandler(this.downloadHandler),1e3)}),this.dataSource&&this.contextService.unregisterDataSource(this.dataSource),this.trackingObserver&&this.trackingObserver.disconnect()}onConfigChanges(){var i=this;return(0,l.A)(function*(){var s;const p=i.issue,g=(0,E.v3)(i.config.dataSource),R=(0,f.A)((0,f.A)({},g),{},{limit:1});var L;if(i.loggedIn=!!i.context[I.METADATA_KEY.ENTITLEMENT_TOKEN],i.dataSource&&!i.dataSource.hasConfigChanged(R)&&i.issue)return i.context[null!==(L=i.issueContextKey)&&void 0!==L?L:"issue"]=p,i.updateConfig(p),void i.changeDetectorRef.detectChanges();if(g)delete i.issue,delete i.dataSourceError,i.changeDetectorRef.detectChanges(),i.dataSource=(0,x.O8)(i.injector,R,i.elementRef.nativeElement,i.document),i.store.subscribe(i.dataSource.data$.pipe((0,m.p)(S=>S&&!!S[0])),S=>{var U;const ot=i.issue;i.issue=S[0],(0,D.GA)(i.issue,i.purpleService).then(nt=>i.locked=nt),i.context[null!==(U=i.issueContextKey)&&void 0!==U?U:"issue"]=i.issue,i.updateConfig(ot)},B.lQ,B.lQ,"data"),i.store.subscribe(i.dataSource.error$,S=>i.dataSourceError=S,B.lQ,B.lQ,"error"),yield i.dataSource.loadData();else{const S=i.contextContent;var C;"object"!=typeof S||i.issue&&(!S||i.purchaseLoading)?i.context[null!==(C=i.issueContextKey)&&void 0!==C?C:"issue"]=i.issue:(i.issue=S,(0,D.GA)(i.issue,i.purpleService).then(U=>i.locked=U)),i.updateConfig(p)}void 0===i.issue&&(null===(s=i.baseContext)||void 0===s||!s.isGhost)&&(0,t.UE)(i.platformId)&&i.ngZone.runOutsideAngular(()=>{setTimeout(()=>{void 0===i.issue&&i.ngZone.run(()=>i.dataSourceError={code:I.ERROR_CODE.ISSUE_NOT_FOUND})},1e3)})})()}updateConfig(i){var s=this;return(0,l.A)(function*(){var p;const g=(0,f.A)({},s.context);g.publication||(g.publication=s.publication),s.config=(0,E.uQ)((0,f.A)((0,f.A)({},M.Mw),s.baseConfig),g,s.contextService.$functions,s.globalService.getGlobalData());const R=(0,E.v3)(s.config.purchaseOptions);R&&(s.purchaseOptions=Object.keys(R).reduce((C,S)=>(0,f.A)((0,f.A)({},C),{},{[S]:(0,E.v3)(R[S])}),{}),s.purchaseOptions.purchase&&"object"==typeof s.purchaseOptions.purchase&&(s.purchaseConfig=(0,f.A)((0,f.A)({},M.Rp),s.purchaseOptions.purchase))),s.handleAnchorTags();const L={buttonClass:"action-button"};s.customButtons=s.config.customButtons.filter(C=>(0,E.Ol)(C)).map(C=>(0,E.v3)(C)).map(C=>(0,f.A)((0,f.A)((0,f.A)({},L),C),{},{buttonClass:C.buttonClass?L.buttonClass.concat(" ",C.buttonClass):L.buttonClass})),s.customMessages=s.config.customMessages.filter(C=>(0,E.Ol)(C)).map(C=>(0,E.v3)(C)),s.downloadOptions=(0,E.v3)(s.config.downloadOptions),JSON.stringify(i)!==JSON.stringify(s.issue)&&s.loadOnVisible(),s.visibleProperties=(null!==(p=s.config.renderProperties)&&void 0!==p?p:[]).map(C=>(0,E.v3)(C)).filter(C=>!!C&&void 0!==s.issue.properties[C]).map(C=>({key:C,value:s.issue.properties[C]})),s.issue&&s.setDisplayCategories(),s.changeDetectorRef.markForCheck()})()}setDisplayCategories(){var i,s;switch(null!==(i=null===(s=this.config.displayCategories)||void 0===s?void 0:s.mode)&&void 0!==i?i:"SLUG"){case"SLUG":this.displayedCategories=this.taxonomies.filter(g=>"category"===g.type).map(g=>({id:g.id}));break;case"NAME":this.displayedCategories=this.taxonomies.filter(g=>"category"===g.type)}}handleAnchorTags(){var i=this;return(0,l.A)(function*(){if(!i.anchorFeatureEnabled)return;i.anchorPathCover=i.anchorService.getAnchorPathForEventAction(i.config.tapCover,i.context);const s=yield i.anchorService.getAnchorPathForContent(i.issue);s&&i.issuePath.set(s)})()}loadOnVisible(){var i=this;if(this.installState=null,this.price=null,this.deleteLoading=!1,this.downloadLoading=!1,this.purchaseLoading=!1,this.previewLoading=!1,this.priceLoading=!1,this.openLoading=!1,this.bookmarkLoading=!1,!this.isGhost()){if(this.config.trackVisible){const p=!0===this.config.trackVisible?0:this.config.trackVisible.trackDelay;let R,L=C=>{C[0].isIntersecting?R=setTimeout(()=>{this.getDownloadHandler().then(function(){var S=(0,l.A)(function*(U){i.publication||(yield i.loadPublication()),i.handleTrackAction("VISIBLE",U)});return function(U){return S.apply(this,arguments)}}())},p):clearTimeout(R)};this.trackingObserver=new IntersectionObserver(L,{rootMargin:"0px",threshold:!0===this.config.trackVisible?1:this.config.trackVisible.minIssueVisibility}),this.trackingObserver.observe(this.elementRef.nativeElement)}this.store.subscribe((0,J.eh)(this,this.elementRef,{skipWait:this.purpleEnv.isUniversal&&!this.ssrService.currentPrebootStatus}),s=>{this.visible=!0,this.loadIssueState(),this.loadPublication(),this.loadPrice(),this.loadBookmark(),this.purpleService.addInvalidationListener((0,l.A)(function*(){var p;i.dataSource&&(i.issue=yield i.purpleService.getIssue(i.issue.id).catch(()=>null),i.locked=yield(0,D.GA)(i.issue,i.purpleService),i.context[null!==(p=i.issueContextKey)&&void 0!==p?p:"issue"]=i.issue,i.updateConfig(i.issue)),i.loadPrice()}))},B.lQ,B.lQ,"visible")}}loadIssueState(){var i=this;return(0,l.A)(function*(){!i.issue||!i.downloadOptions||(yield i.getDownloadHandler(),i.downloadHandler&&(i.store.subscribe(i.downloadHandler.updates$,s=>{i.installState=s,s&&s.error&&!i.downloadError&&(i.downloadError=s.error),i.changeDetectorRef.detectChanges()},B.lQ,B.lQ,"installState"),i.downloadHandler.autoUpdate&&i.downloadHandler.downloadStarted&&i.downloadHandler.update()),i.changeDetectorRef.detectChanges())})()}loadPrice(){var i=this;return(0,l.A)(function*(){if(i.purchaseOptions&&i.locked){var s;i.priceLoading=!0;const p=i.issue.productId||(null===(s=yield i.purpleService.getRepeatablePublicationProductByPublicationId(i.issue.publicationId))||void 0===s?void 0:s.productId);p?(i.store.select((0,V.Zt)(p),g=>{(0,z.b)(g)||(i.price=g),i.priceLoading=!1}),i.store.dispatch((0,F.qF)({productId:p}))):i.priceLoading=!1}})()}loadPublication(){var i=this;return(0,l.A)(function*(){if(i.issue)try{const s=i.issue.publicationId,p=(0,e.zw6)("publication_".concat(s));i.transferState.hasKey(p)?(i.publication=i.transferState.get(p,null),(0,t.UE)(i.platformId)&&i.transferState.remove(p)):(i.publication=yield i.purpleService.getPublication(s),(0,t.Vy)(i.platformId)&&i.transferState.onSerialize(p,()=>i.publication)),yield i.updateConfig(i.issue),i.changeDetectorRef.detectChanges()}catch(s){console.log("error loading publication for issue",i)}})()}loadBookmark(){var i=this;return(0,l.A)(function*(){i.config.bookmark&&i.store.subscribe(i.purpleService.bookmarks$.pipe((0,P.T)(s=>s.find(p=>p.issueId===i.issue.id))),s=>i.bookmark=s,B.lQ,B.lQ,"bookmark")})()}getData(){return this.issue}getImageHeight(){return this.config.coverHeight||this.getDefaultImageHeight()}hasPreview(){return(0,N.xl)(this.issue)?!!this.issue.previewIssue:(0,N.mF)(this.issue)?!!this.issue.previewContentHtml:!(0,N.G4)(this.issue)&&void 0}getDefaultImageHeight(){return this.template===M.W9.DETAILS?W.q.AUTO:W.q.FIXED}onClickDownload(i){var s=this;return(0,l.A)(function*(){i.stopPropagation(),s.downloadLoading=!0,delete s.downloadError,s.changeDetectorRef.detectChanges();const p=yield s.getDownloadHandler();if(s.handleTrackAction("DOWNLOAD_CLICKED",p),p){if(s.purpleService.downloadOptions.showConfirmDownloadDialog){const g={issue:s.issue};try{yield s.dialog.confirm({text:"ISSUE_DOWNLOAD_CONFIRM_MESSAGE",args:[g]},{text:"ISSUE_DOWNLOAD_CONFIRM_TITLE",args:[g]},"ISSUE_DOWNLOAD_CONFIRM_OK","ISSUE_DOWNLOAD_CONFIRM_CANCEL")}catch(R){return s.handleTrackAction("DOWNLOAD_CONFIRM_CANCELLED",p,void 0,"_COLLECTION"),void(s.downloadLoading=!1)}}try{yield p.download(),s.cleanUpService.addIssue(s.issue.id),s.installState.downloading=!0,s.installState.installState=I.ContentInstallState.INCOMPLETE,s.installState.progress=0}catch(g){console.error(g),g.code===I.ERROR_CODE.PAYMENT_REQUIRED&&s.purpleService.invalidate()}}s.downloadLoading=!1,s.changeDetectorRef.detectChanges()})()}onClickDelete(i){var s=this;return(0,l.A)(function*(){if(i.stopPropagation(),s.config.deleteConfirm)try{yield s.dialog.confirm({text:"ISSUE_DELETE_MESSAGE",args:[s.issue.name]},"ISSUE_DELETE_TITLE","ISSUE_DELETE_CONFIRM","ISSUE_DELETE_CANCEL"),yield s.deleteIssue()}catch(p){}else yield s.deleteIssue()})()}onClickCancel(i){var s=this;return(0,l.A)(function*(){if(i.stopPropagation(),!s.deleteLoading)try{s.deleteLoading=!0,delete s.downloadError,s.changeDetectorRef.detectChanges(),s.getDownloadHandler().then(p=>s.handleTrackAction("CANCEL_CLICKED",p)),s.cleanUpService.removeIssue(s.issue.id),s.downloadHandler&&(yield s.downloadHandler.delete()),s.deleteLoading=!1,s.changeDetectorRef.detectChanges(),s.delete.emit(s.issue)}catch(p){console.log(p),s.deleteLoading=!1,s.changeDetectorRef.detectChanges()}})()}onClickRead(i){var s=this;return(0,l.A)(function*(){s.contextService.closeModal(s.elementRef.nativeElement),s.contextService.closeModalSubject.observers.length>0?s.contextService.closeModalCompleteSubject.pipe((0,k.s)(s.contextService.closeModalSubject.observers.length)).subscribe(()=>{},()=>{},(0,l.A)(function*(){s.openContent("READ_CLICKED")})):s.openContent("READ_CLICKED")})()}onClickPurchase(i){var s=this;return(0,l.A)(function*(){var p;i.stopPropagation(),s.purchaseLoading=!0,s.changeDetectorRef.detectChanges();const g=(0,f.A)((0,f.A)({},s.purchaseConfig),{},{productId:s.price.productId,price:s.price.price,currency:s.price.currency});s.issue.productId!==(null===(p=s.price)||void 0===p?void 0:p.productId)&&(g.consumeOptions={issueIds:[],contentIds:[s.issue.id]}),yield s.eventActionService.processPurchaseAction(g,s),s.purchaseLoading=!1,s.changeDetectorRef.detectChanges()})()}onClickPreview(i){var s=this;return(0,l.A)(function*(){s.contextService.closeModal(s.elementRef.nativeElement),s.contextService.closeModalSubject.observers.length>0?s.contextService.closeModalCompleteSubject.pipe((0,k.s)(s.contextService.closeModalSubject.observers.length)).subscribe(()=>{},()=>{},(0,l.A)(function*(){s.openContent("PREVIEW_CLICKED")})):s.openContent("PREVIEW_CLICKED")})()}onClickSubscribe(i){i.stopPropagation(),this.getDownloadHandler().then(s=>this.handleTrackAction("SUBSCRIBE_CLICKED",s)),this.eventActionService.processEventAction({type:T.H.SUBSCRIPTIONS,params:{issue:this.issue.id,publication:this.issue.publicationId}},this)}onClickLogin(i){i.stopPropagation(),this.getDownloadHandler().then(s=>this.handleTrackAction("LOGIN_CLICKED",s)),this.eventActionService.processEventAction({type:T.H.LOGIN,params:{issue:this.issue.id,publication:this.issue.publicationId}},this)}onClickCoupon(i){i.stopPropagation(),this.getDownloadHandler().then(s=>this.handleTrackAction("COUPON_CLICKED",s)),this.eventActionService.processEventAction({type:T.H.COUPON,params:{issue:this.issue.id,publication:this.issue.publicationId}},this)}getId(){return this.issue&&this.issue.id}getTrackingBaseKey(i,s){return this.elementId||i&&"".concat(i.getContentType(s))||this.getType()}getTrackingParams(i){const s=(0,Y.bJ)(this.issue,this.publication,this.price),p=i&&(0,Y.Gw)(i.getContentType())?(0,Y.bJ)(i.content,i.publication,this.price,"SOURCE_"):{};return(0,f.A)((0,f.A)({},p),s)}handleTrackAction(i,s,p,g){const R="".concat(this.getTrackingBaseKey(s,g),"_").concat(i);let L=p?(0,Y.aM)(p):{};L=(0,f.A)((0,f.A)({},L),this.getTrackingParams(s)),this.store.dispatch((0,Z.k4)({url:"".concat(window.location.href),key:R,params:L}))}onClickCover(i){this.clickIssueAction(i,"tapCover","COVER_CLICKED")}onClickIssue(i){this.clickIssueAction(i,"tapIssue","ISSUE_CLICKED")}clickIssueAction(i,s,p){var g=this;return(0,l.A)(function*(){g.anchorFeatureEnabled&&i.preventDefault();const R=(0,E.v3)(g.config[s]);if(R){if(i.stopPropagation(),g.coverLoading)return;g.coverLoading=!0,g.changeDetectorRef.detectChanges(),g.getDownloadHandler().then(L=>g.handleTrackAction(p,L)),yield g.eventActionService.processEventAction(R,g),g.coverLoading=!1,g.changeDetectorRef.detectChanges()}})()}isGhost(){return!(this.issue&&this.issue.id||this.dataSourceError)}onClickState(i){var s=this;return(0,l.A)(function*(){if(i.stopPropagation(),s.installState)return s.installState.downloading?s.onClickCancel(i):s.installState.installState===I.ContentInstallState.COMPLETE?s.onClickDelete(i):s.onClickDownload(i)})()}onClickBookmark(i){var s=this;return(0,l.A)(function*(){if(i.preventDefault(),i.stopPropagation(),!s.bookmarkLoading){if(s.bookmarkLoading=!0,s.bookmark){s.config.bookmark&&"boolean"!=typeof s.config.bookmark&&s.config.bookmark.deleteConfirm&&(yield s.dialog.confirm(s.bookmark.title?{text:"BOOKMARK_DELETE_MESSAGE_WITH_TITLE",args:[s.bookmark.title]}:"BOOKMARK_DELETE_MESSAGE","BOOKMARK_DELETE_TITLE","BOOKMARK_DELETE_CONFIRM","BOOKMARK_DELETE_CANCEL")),s.getDownloadHandler().then(p=>s.handleTrackAction("BOOKMARK_DELETE_CLICKED",p,s.bookmark));try{yield s.purpleService.deleteBookmark({id:s.bookmark.id}),s.getDownloadHandler().then(p=>s.handleTrackAction("BOOKMARK_DELETED",p,s.bookmark))}catch(p){s.dialog.alert(s.bookmark.title?{text:"ERROR_DELETE_BOOKMARK_WITH_TITLE",args:(0,j._3)((0,j.E2)(p,s.contextService),s.bookmark)}:{text:"ERROR_DELETE_BOOKMARK",args:[(0,j.E2)(p,s.contextService)]},"DIALOG_ERROR"),s.getDownloadHandler().then(g=>s.handleTrackAction("BOOKMARK_DELETE_FAILED",g,s.bookmark))}}else{s.getDownloadHandler().then(g=>s.handleTrackAction("BOOKMARK_ADD_CLICKED",g,s.bookmark));let p={title:s.issue.name,description:s.issue.description,issueId:s.issue.id,customData:{contentType:s.issue.contentType}};s.issue.thumbnails&&s.issue.thumbnails.default&&(p.thumbnailURL=s.issue.thumbnails.default),"object"==typeof s.config.bookmark&&(p=(0,f.A)((0,f.A)({},p),s.config.bookmark));try{yield s.purpleService.createBookmark(p),s.getDownloadHandler().then(g=>s.handleTrackAction("BOOKMARK_ADDED",g,s.bookmark))}catch(g){s.getDownloadHandler().then(R=>s.handleTrackAction("BOOKMARK_ADD_FAILED",R,s.bookmark)),s.dialog.alert({text:"ERROR_ADD_BOOKMARK",args:s.getErrorDialogArgs(g)},"DIALOG_ERROR")}}s.bookmarkLoading=!1,s.changeDetectorRef.detectChanges()}})()}onClickShare(i){var s=this;return(0,l.A)(function*(){i.stopPropagation(),s.getDownloadHandler().then(g=>s.handleTrackAction("SHARE_CLICKED",g));let p={text:s.issue.name,url:s.getSharingUrl()};"object"==typeof s.config.sharing&&(p=(0,f.A)((0,f.A)({},p),s.config.sharing));try{yield s.purpleService.share(p),s.getDownloadHandler().then(g=>s.handleTrackAction("SHARED",g))}catch(g){s.getDownloadHandler().then(R=>s.handleTrackAction("SHARE_FAILED",R)),s.dialog.alert("ERROR_SHARE","DIALOG_ERROR")}})()}getSharingUrl(){return"".concat(this.context[I.METADATA_KEY.MANAGER_BASE_URL],"/i/").concat(this.context[I.METADATA_KEY.APP_ID],"/").concat(this.issue.id,"?preview=").concat(this.contextService.isPreview())}getStateText(){return this.downloadLoading||this.deleteLoading?" ":this.installState?this.installState.downloading?"ISSUE_ACTION_CANCEL":this.installState.installState===I.ContentInstallState.COMPLETE?"ISSUE_ACTION_DELETE":"ISSUE_ACTION_DOWNLOAD":void 0}getPriceState(){return this.priceLoading?"price-loading":this.priceLoading||this.price?this.price?"price-available":"":"price-unavailable"}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),"downloadOptions","customButtons","customMessages"]}getDownloadHandler(){var i=this;return(0,l.A)(function*(){return(0,t.UE)(i.platformId)&&((0,N.xl)(i.issue)||console.warn("tried to get download handler for "+i.issue.contentType),(!i.downloadHandler||i.downloadHandler.content.id!==i.issue.id)&&(i.downloadHandler&&(yield i.purpleService.destroyDownloadHandler(i.downloadHandler)),i.downloadHandler=yield i.purpleService.getDownloadHandler(i.issue,i.dialog))),i.downloadHandler})()}showProgress(i=!1){return!this.deleteLoading&&!this.downloadLoading&&this.installState&&this.installState.downloading&&!(this.installState.updating&&this.updateBehavior===M.FZ.SILENT)&&(i||"MULTI"===this.downloadOptions.buttonType)}showCancel(){return!this.downloadLoading&&this.installState.downloading&&!(this.installState.updating&&this.updateBehavior===M.FZ.SILENT)}showDelete(){return!this.downloadLoading&&this.installState.installState!==I.ContentInstallState.NOT_INSTALLED&&(!this.installState.downloading||this.installState.updating&&this.updateBehavior===M.FZ.SILENT)}showCheck(){return this.downloadOptions&&this.downloadOptions.statusIndicator&&this.installState&&(this.installState.installState===I.ContentInstallState.COMPLETE&&!this.locked||this.installState.updating&&this.updateBehavior===M.FZ.SILENT)}showUpdateBehavior(){if(this.installState&&(0,N.xl)(this.issue))return(0,D.YH)(this.installState,this.issue.type===I.IssueType.ISSUE)}reload(){window.location.reload()}hasContextChanged(i){var s;return!(null!==(s=this.config)&&void 0!==s&&s.dataSource)&&!G()(this.contextContent,this.issue)||!G()(i[I.METADATA_KEY.ENTITLEMENT_TOKEN],this.context[I.METADATA_KEY.ENTITLEMENT_TOKEN])||super.hasContextChanged(i)}deleteIssue(){var i=this;return(0,l.A)(function*(){if(!i.deleteLoading)try{i.deleteLoading=!0,delete i.downloadError,i.changeDetectorRef.detectChanges(),i.getDownloadHandler().then(s=>i.handleTrackAction("DELETE_CLICKED",s)),i.cleanUpService.removeIssue(i.issue.id),i.downloadHandler&&(yield i.downloadHandler.delete()),i.deleteLoading=!1,i.changeDetectorRef.detectChanges(),i.delete.emit(i.issue)}catch(s){console.log(s),i.deleteLoading=!1,i.changeDetectorRef.detectChanges()}})()}getProgressType(){const s=(this.config||this.baseConfig).downloadOptions;return s.progressType?s.progressType:this.template===M.W9.COVER?H.s.RADIAL:H.s.BAR}getErrorDialogArgs(i){return(0,j.$C)((0,j.E2)(i,this.contextService),this.issue)}trackByProperty(i,s){var p;return null!==(p=null==s?void 0:s.key)&&void 0!==p?p:i}trackByCategory(i,s){var p;return null!==(p=null==s?void 0:s.id)&&void 0!==p?p:i}trackByTag(i,s){return null!=s?s:i}trackByMessage(i,s){var p;return null!==(p=null==s?void 0:s.message)&&void 0!==p?p:i}trackByButton(i,s){var p;return null!==(p=null==s?void 0:s.id)&&void 0!==p?p:i}openContent(i){var s=this;return(0,l.A)(function*(){s.openLoading=!0,s.changeDetectorRef.detectChanges(),s.getDownloadHandler().then(p=>s.handleTrackAction(i,p)),yield s.eventActionService.processOpenContentAction((0,f.A)({type:T.H.OPEN_CONTENT},s.config.openContent),s),s.openLoading=!1,s.changeDetectorRef.detectChanges()})()}getContextKey(){return this.contextKey}}return(r=_).type="issue",r.\u0275fac=function(i){return new(i||r)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU($.B),e.rXU(q.o),e.rXU(e.zZn),e.rXU(ee.G),e.rXU(te.V),e.rXU(se.I),e.rXU(t.qQ),e.rXU(Y.r6),e.rXU(D.Wj),e.rXU(ie.d),e.rXU(oe.X),e.rXU(ne.i),e.rXU(ae.S))},r.\u0275cmp=e.VBU({type:r,selectors:[["storefront-issue"]],hostVars:10,hostBindings:function(i,s){2&i&&(e.BMQ("issue-type",s.regularIssueType)("data-pxp-issue-type",s.prefixedIssueType)("content-type",s.contentType)("post-type",s.postType),e.AVh("locked",s.locked)("purchasable",s.purchasable)("error",s.hasError))},standalone:!1,features:[e.Jv_([$.B]),e.Vt3],decls:2,vars:2,consts:[["imageTemplate",""],["issueData",""],[4,"ngIf"],[1,"issue-image"],[3,"height"],[1,"issue-data"],[1,"issue-title"],[1,"issue-description"],["class","issue-error",4,"ngIf"],[1,"issue-error"],["storefrontTranslate","ISSUE_ERROR",3,"storefrontTranslateArgs"],["storefrontTranslate","ISSUE_ERROR_BUTTON","mat-ripple","",1,"action-button",3,"click"],["class","issue-image",3,"href","click",4,"ngIf"],["class","issue-data",3,"href","expanded","click",4,"ngIf"],[1,"issue-image",3,"click","href"],[4,"ngTemplateOutlet"],[1,"issue-data",3,"click","href"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","issue-image",3,"click",4,"ngIf"],["class","issue-data",3,"expanded","click",4,"ngIf"],[1,"issue-image",3,"click"],[1,"issue-data",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"pxp-image",3,"lcpPrioritized","src","imageResolutionStrategy","height","extendedThumbnail","label"],[3,"lcpPrioritized","src","imageResolutionStrategy","height","extendedThumbnail","label"],["class","issue-update-badge",4,"ngIf"],[3,"type","progress",4,"ngIf"],[1,"issue-update-badge"],["storefrontTranslate","ISSUE_UPDATE_BADGE_MESSAGE"],[3,"type","progress"],["class","issue-publication-title",3,"click",4,"ngIf"],["class","issue-title",3,"click",4,"ngIf"],["class","icon icon-check-bg",4,"ngIf"],["class","issue-pub-date",4,"ngIf"],["class","issue-description","storefrontCheckOverflow","vertical","storefrontCheckOverflowTarget","self",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],["class","issue-description-expand-toggle",3,"click",4,"ngIf"],["class","issue-properties",4,"ngIf"],["class","issue-categories",4,"ngIf"],["class","issue-tags",4,"ngIf"],[3,"class","storefrontTranslate","storefrontTranslateArgs",4,"ngFor","ngForOf","ngForTrackBy"],[1,"issue-actions"],["class","icon icon-share","mat-ripple","",3,"click",4,"ngIf"],["mat-ripple","",3,"class","click",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","issue-state",4,"ngIf"],[1,"issue-publication-title",3,"click"],[3,"storefrontTranslate","storefrontTranslateArgs"],[1,"issue-title",3,"click"],[1,"icon","icon-check-bg"],[1,"issue-pub-date"],["storefrontCheckOverflow","vertical","storefrontCheckOverflowTarget","self",1,"issue-description",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"issue-description-expand-toggle",3,"click"],[3,"storefrontTranslate"],[1,"icon","icon-arrow-down"],[1,"issue-properties"],[3,"class",4,"ngFor","ngForOf","ngForTrackBy"],[1,"issue-categories"],["purpleColorize","accent","purpleColorizeProps","background-color",3,"class",4,"ngFor","ngForOf","ngForTrackBy"],["purpleColorize","accent","purpleColorizeProps","background-color"],[1,"issue-tags"],["mat-ripple","",1,"icon","icon-share",3,"click"],["mat-ripple","",3,"click"],["class","button-read action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","button-preview action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["mat-ripple","",1,"button-read","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_READ"],["class","button-spinner",4,"ngIf"],[1,"button-spinner"],["mat-ripple","",1,"button-preview","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_PREVIEW"],["class","button-download action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","button-delete action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","button-cancel action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["mat-ripple","",1,"button-cancel","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_CANCEL"],["mat-ripple","",1,"button-download","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_DOWNLOAD"],["mat-ripple","",1,"button-delete","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_DELETE"],["message","",3,"type","progress",4,"ngIf"],["class","progress-percentage",4,"ngIf"],["message","",3,"type","progress"],[1,"progress-percentage"],["class","button-purchase action-button","mat-ripple","",3,"ngClass","disabled","click",4,"ngIf"],["class","button-subscribe action-button","mat-ripple","","storefrontTranslate","ISSUE_ACTION_SUBSCRIBE",3,"click",4,"ngIf"],["class","button-login action-button","mat-ripple","","storefrontTranslate","ISSUE_ACTION_LOGIN",3,"click",4,"ngIf"],["class","button-coupon action-button","mat-ripple","","storefrontTranslate","ISSUE_ACTION_COUPON",3,"click",4,"ngIf"],["mat-ripple","",1,"button-purchase","action-button",3,"click","ngClass","disabled"],["storefrontTranslate","ISSUE_ACTION_PURCHASE_LOADING",4,"ngIf"],["storefrontTranslate","ISSUE_ACTION_PURCHASE_UNAVAILABLE",4,"ngIf"],["storefrontTranslate","ISSUE_ACTION_PURCHASE",3,"storefrontTranslateArgs",4,"ngIf"],["storefrontTranslate","ISSUE_ACTION_PURCHASE_LOADING"],["storefrontTranslate","ISSUE_ACTION_PURCHASE_UNAVAILABLE"],["storefrontTranslate","ISSUE_ACTION_PURCHASE",3,"storefrontTranslateArgs"],["mat-ripple","","storefrontTranslate","ISSUE_ACTION_SUBSCRIBE",1,"button-subscribe","action-button",3,"click"],["mat-ripple","","storefrontTranslate","ISSUE_ACTION_LOGIN",1,"button-login","action-button",3,"click"],["mat-ripple","","storefrontTranslate","ISSUE_ACTION_COUPON",1,"button-coupon","action-button",3,"click"],[1,"pxp-button","button-custom",3,"baseConfig","disableAnchor","baseContext"],[1,"button-custom",3,"baseConfig","disableAnchor","baseContext"],[1,"issue-state"],[3,"progress","type","showBorder",4,"ngIf"],["class","icon icon-download-circle","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","icon icon-delete","mat-ripple","",3,"disabled","click",4,"ngIf"],[3,"progress","type","showBorder"],["mat-ripple","",1,"icon","icon-download-circle",3,"click","disabled"],["mat-ripple","",1,"icon","icon-delete",3,"click","disabled"]],template:function(i,s){1&i&&e.DNE(0,be,7,2,"ng-container",2)(1,Lt,7,1,"ng-container",2),2&i&&(e.Y8G("ngIf",!s.issue||s.dataSourceError),e.R7$(),e.Y8G("ngIf",s.issue&&s.config&&!s.dataSourceError))},dependencies:[t.YU,t.Sq,t.bT,t.T3,H.X,re.G,pe.M,ue.t,le.r6,ce.Q,_e.U,W.h,ge.x,de.w,me.Z],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-issue,div.pxp-issue{display:flex;flex-direction:column;position:relative}storefront-issue .issue-image,div.pxp-issue .issue-image{position:relative;overflow:hidden}storefront-issue .issue-image storefront-spinner,storefront-issue .issue-image .pxp-spinner,div.pxp-issue .issue-image storefront-spinner,div.pxp-issue .issue-image .pxp-spinner{position:absolute;top:0;height:100%;width:100%;background-color:#0000001a}storefront-issue .issue-image .issue-update-badge,div.pxp-issue .issue-image .issue-update-badge{--paddingVert: .25em;--fontSize: .8em;--width: 200%;--offset: calc(var(--fontSize) * 3);position:absolute;top:calc(var(--fontSize) + var(--paddingVert));left:calc(var(--width) / -2 + var(--offset));display:flex;justify-content:center;width:var(--width);padding:var(--paddingVert) 0;background:var(--issueUpdateBadgeBgColor);transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}@media (max-width: 767px) and (orientation: portrait){storefront-issue .issue-image .issue-update-badge,div.pxp-issue .issue-image .issue-update-badge{--fontSize: .6em}}@media (max-width: 330px) and (orientation: portrait){storefront-issue .issue-image .issue-update-badge,div.pxp-issue .issue-image .issue-update-badge{--fontSize: .6em}}storefront-issue .issue-image .issue-update-badge span,div.pxp-issue .issue-image .issue-update-badge span{max-width:80px;text-align:center;font-size:var(--fontSize);color:var(--issueUpdateBadgeColor);-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;text-overflow:ellipsis;overflow:hidden}@media (max-width: 767px) and (orientation: portrait){storefront-issue .issue-image .issue-update-badge span,div.pxp-issue .issue-image .issue-update-badge span{max-width:60px}}@media (max-width: 330px) and (orientation: portrait){storefront-issue .issue-image .issue-update-badge span,div.pxp-issue .issue-image .issue-update-badge span{max-width:60px}}storefront-issue storefront-progress[type=BAR],storefront-issue .pxp-progress[type=BAR],div.pxp-issue storefront-progress[type=BAR],div.pxp-issue .pxp-progress[type=BAR]{display:none;position:absolute;background-color:var(--issueProgressBgColor);border-radius:var(--borderRadius);overflow:hidden;text-align:center;padding:var(--issueProgressPaddingVert) var(--issueProgressPaddingHoriz);z-index:0;bottom:0;left:0;right:0;top:0}storefront-issue .issue-image storefront-progress[type=BAR],storefront-issue .issue-image .pxp-progress[type=BAR],div.pxp-issue .issue-image storefront-progress[type=BAR],div.pxp-issue .issue-image .pxp-progress[type=BAR]{top:auto;bottom:var(--issueProgressMarginVert);left:var(--issueProgressMarginHoriz);right:var(--issueProgressMarginHoriz)}storefront-issue .issue-data,div.pxp-issue .issue-data{display:flex;flex-direction:column;overflow:hidden;flex-grow:1}storefront-issue .issue-data .issue-description-expand-toggle,div.pxp-issue .issue-data .issue-description-expand-toggle{display:none}storefront-issue .issue-data .issue-description-expand-toggle i,div.pxp-issue .issue-data .issue-description-expand-toggle i{display:inline-block;transition:transform .3s ease;font-size:12px;padding:0 4px}storefront-issue .issue-title,div.pxp-issue .issue-title{margin:.5em 0}storefront-issue .issue-description,div.pxp-issue .issue-description{color:var(--secondaryTextColor);width:100%;white-space:pre-wrap}storefront-issue .issue-custom-message,div.pxp-issue .issue-custom-message{color:var(--textColor)}storefront-issue storefront-image,storefront-issue .pxp-image,div.pxp-issue storefront-image,div.pxp-issue .pxp-image{width:100%}storefront-issue .issue-actions,div.pxp-issue .issue-actions{display:none;justify-content:space-between;z-index:1}storefront-issue .issue-actions button,div.pxp-issue .issue-actions button{color:#fff;background-color:var(--secondaryColor);padding:0}storefront-issue .issue-actions button.button-purchase,storefront-issue .issue-actions button.button-subscribe,storefront-issue .issue-actions button.button-download,storefront-issue .issue-actions button.button-read,div.pxp-issue .issue-actions button.button-purchase,div.pxp-issue .issue-actions button.button-subscribe,div.pxp-issue .issue-actions button.button-download,div.pxp-issue .issue-actions button.button-read{background-color:var(--primaryColor)}storefront-issue .issue-actions button.button-state-downloading.button-state-INCOMPLETE .progress-percentage,div.pxp-issue .issue-actions button.button-state-downloading.button-state-INCOMPLETE .progress-percentage{display:none}storefront-issue .issue-actions button[disabled],div.pxp-issue .issue-actions button[disabled]{opacity:.5}storefront-issue .issue-actions button span,div.pxp-issue .issue-actions button span{position:relative;z-index:1}storefront-issue .issue-actions button.icon,div.pxp-issue .issue-actions button.icon{color:var(--primaryColor);background-color:transparent;width:1.4em;height:1.4em;font-size:1.4em}storefront-issue .issue-state,div.pxp-issue .issue-state{display:none}storefront-issue .issue-error .action-button,div.pxp-issue .issue-error .action-button{background-color:var(--secondaryColor);color:#fff;display:block}storefront-issue[template=cover] .issue-image,div.pxp-issue[template=cover] .issue-image{width:100%}storefront-issue[template=cover] .issue-image storefront-image[height-strategy=FIXED],storefront-issue[template=cover] .issue-image .pxp-image[height-strategy=FIXED],div.pxp-issue[template=cover] .issue-image storefront-image[height-strategy=FIXED],div.pxp-issue[template=cover] .issue-image .pxp-image[height-strategy=FIXED]{padding-top:133%}storefront-issue[template=cover] .issue-data,div.pxp-issue[template=cover] .issue-data{flex-direction:row;align-items:center}storefront-issue[template=cover] .issue-data>i,storefront-issue[template=cover] .issue-data .issue-state i,storefront-issue[template=cover] .issue-data .issue-state button,storefront-issue[template=cover] .issue-data .issue-state storefront-progress,storefront-issue[template=cover] .issue-data .issue-state storefront-spinner,storefront-issue[template=cover] .issue-data .issue-state .pxp-progress,storefront-issue[template=cover] .issue-data .issue-state .pxp-spinner,div.pxp-issue[template=cover] .issue-data>i,div.pxp-issue[template=cover] .issue-data .issue-state i,div.pxp-issue[template=cover] .issue-data .issue-state button,div.pxp-issue[template=cover] .issue-data .issue-state storefront-progress,div.pxp-issue[template=cover] .issue-data .issue-state storefront-spinner,div.pxp-issue[template=cover] .issue-data .issue-state .pxp-progress,div.pxp-issue[template=cover] .issue-data .issue-state .pxp-spinner{font-size:21px;height:22px;width:22px;color:var(--secondaryColor)}storefront-issue[template=cover] .issue-data>i.icon-delete,storefront-issue[template=cover] .issue-data .issue-state i.icon-delete,storefront-issue[template=cover] .issue-data .issue-state button.icon-delete,storefront-issue[template=cover] .issue-data .issue-state storefront-progress.icon-delete,storefront-issue[template=cover] .issue-data .issue-state storefront-spinner.icon-delete,storefront-issue[template=cover] .issue-data .issue-state .pxp-progress.icon-delete,storefront-issue[template=cover] .issue-data .issue-state .pxp-spinner.icon-delete,div.pxp-issue[template=cover] .issue-data>i.icon-delete,div.pxp-issue[template=cover] .issue-data .issue-state i.icon-delete,div.pxp-issue[template=cover] .issue-data .issue-state button.icon-delete,div.pxp-issue[template=cover] .issue-data .issue-state storefront-progress.icon-delete,div.pxp-issue[template=cover] .issue-data .issue-state storefront-spinner.icon-delete,div.pxp-issue[template=cover] .issue-data .issue-state .pxp-progress.icon-delete,div.pxp-issue[template=cover] .issue-data .issue-state .pxp-spinner.icon-delete{width:42px;height:42px;position:absolute;top:-20px;right:-20px;border-radius:100%;font-size:10px;color:#fff;padding:10px}storefront-issue[template=cover] .issue-data>i.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state i.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state button.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state storefront-progress.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state storefront-spinner.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state .pxp-progress.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state .pxp-spinner.icon-delete:after,div.pxp-issue[template=cover] .issue-data>i.icon-delete:after,div.pxp-issue[template=cover] .issue-data .issue-state i.icon-delete:after,div.pxp-issue[template=cover] .issue-data .issue-state button.icon-delete:after,div.pxp-issue[template=cover] .issue-data .issue-state storefront-progress.icon-delete:after,div.pxp-issue[template=cover] .issue-data .issue-state storefront-spinner.icon-delete:after,div.pxp-issue[template=cover] .issue-data .issue-state .pxp-progress.icon-delete:after,div.pxp-issue[template=cover] .issue-data .issue-state .pxp-spinner.icon-delete:after{background-color:var(--secondaryColor);width:22px;height:22px;border-radius:100%;display:flex;justify-content:center;align-items:center}storefront-issue[template=cover] .issue-state,div.pxp-issue[template=cover] .issue-state{display:flex;right:0;bottom:0}storefront-issue[template=cover] .issue-state storefront-spinner,storefront-issue[template=cover] .issue-state .pxp-spinner,div.pxp-issue[template=cover] .issue-state storefront-spinner,div.pxp-issue[template=cover] .issue-state .pxp-spinner{position:relative;z-index:1;--spinnerColor: var(--secondaryColor);background-color:transparent;padding:0}storefront-issue[template=cover] .issue-title,div.pxp-issue[template=cover] .issue-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1}storefront-issue[template=cover] .issue-publication-title,storefront-issue[template=cover] .issue-description,storefront-issue[template=cover] .issue-categories,storefront-issue[template=cover] .issue-tags,storefront-issue[template=cover] .issue-pub-date,storefront-issue[template=cover] .issue-properties,storefront-issue[template=cover] .issue-custom-message,div.pxp-issue[template=cover] .issue-publication-title,div.pxp-issue[template=cover] .issue-description,div.pxp-issue[template=cover] .issue-categories,div.pxp-issue[template=cover] .issue-tags,div.pxp-issue[template=cover] .issue-pub-date,div.pxp-issue[template=cover] .issue-properties,div.pxp-issue[template=cover] .issue-custom-message{display:none}storefront-issue[template=cover] .issue-publication-title .issue-tag,storefront-issue[template=cover] .issue-publication-title .issue-category,storefront-issue[template=cover] .issue-description .issue-tag,storefront-issue[template=cover] .issue-description .issue-category,storefront-issue[template=cover] .issue-categories .issue-tag,storefront-issue[template=cover] .issue-categories .issue-category,storefront-issue[template=cover] .issue-tags .issue-tag,storefront-issue[template=cover] .issue-tags .issue-category,storefront-issue[template=cover] .issue-pub-date .issue-tag,storefront-issue[template=cover] .issue-pub-date .issue-category,storefront-issue[template=cover] .issue-properties .issue-tag,storefront-issue[template=cover] .issue-properties .issue-category,storefront-issue[template=cover] .issue-custom-message .issue-tag,storefront-issue[template=cover] .issue-custom-message .issue-category,div.pxp-issue[template=cover] .issue-publication-title .issue-tag,div.pxp-issue[template=cover] .issue-publication-title .issue-category,div.pxp-issue[template=cover] .issue-description .issue-tag,div.pxp-issue[template=cover] .issue-description .issue-category,div.pxp-issue[template=cover] .issue-categories .issue-tag,div.pxp-issue[template=cover] .issue-categories .issue-category,div.pxp-issue[template=cover] .issue-tags .issue-tag,div.pxp-issue[template=cover] .issue-tags .issue-category,div.pxp-issue[template=cover] .issue-pub-date .issue-tag,div.pxp-issue[template=cover] .issue-pub-date .issue-category,div.pxp-issue[template=cover] .issue-properties .issue-tag,div.pxp-issue[template=cover] .issue-properties .issue-category,div.pxp-issue[template=cover] .issue-custom-message .issue-tag,div.pxp-issue[template=cover] .issue-custom-message .issue-category{display:none}storefront-issue[template=card],div.pxp-issue[template=card]{padding-bottom:var(--gutter);overflow:hidden;background-color:#fff}storefront-issue[template=card] storefront-image[height-strategy=FIXED],storefront-issue[template=card] .pxp-image[height-strategy=FIXED],div.pxp-issue[template=card] storefront-image[height-strategy=FIXED],div.pxp-issue[template=card] .pxp-image[height-strategy=FIXED]{padding-top:75%}storefront-issue[template=card] storefront-image[height-strategy=FIXED]>img,storefront-issue[template=card] .pxp-image[height-strategy=FIXED]>img,div.pxp-issue[template=card] storefront-image[height-strategy=FIXED]>img,div.pxp-issue[template=card] .pxp-image[height-strategy=FIXED]>img{object-fit:cover;width:100%}storefront-issue[template=card] .issue-title,storefront-issue[template=card] .issue-pub-date,storefront-issue[template=card] .issue-description,div.pxp-issue[template=card] .issue-title,div.pxp-issue[template=card] .issue-pub-date,div.pxp-issue[template=card] .issue-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-left:calc(var(--gutter) / 2);margin-right:calc(var(--gutter) / 2);width:initial}storefront-issue[template=card] .issue-publication-title,storefront-issue[template=card] .issue-categories,storefront-issue[template=card] .issue-tags,storefront-issue[template=card] .issue-properties,storefront-issue[template=card] .issue-custom-message,div.pxp-issue[template=card] .issue-publication-title,div.pxp-issue[template=card] .issue-categories,div.pxp-issue[template=card] .issue-tags,div.pxp-issue[template=card] .issue-properties,div.pxp-issue[template=card] .issue-custom-message{display:none}storefront-issue[template=card] .issue-publication-title .issue-tag,storefront-issue[template=card] .issue-publication-title .issue-category,storefront-issue[template=card] .issue-categories .issue-tag,storefront-issue[template=card] .issue-categories .issue-category,storefront-issue[template=card] .issue-tags .issue-tag,storefront-issue[template=card] .issue-tags .issue-category,storefront-issue[template=card] .issue-properties .issue-tag,storefront-issue[template=card] .issue-properties .issue-category,storefront-issue[template=card] .issue-custom-message .issue-tag,storefront-issue[template=card] .issue-custom-message .issue-category,div.pxp-issue[template=card] .issue-publication-title .issue-tag,div.pxp-issue[template=card] .issue-publication-title .issue-category,div.pxp-issue[template=card] .issue-categories .issue-tag,div.pxp-issue[template=card] .issue-categories .issue-category,div.pxp-issue[template=card] .issue-tags .issue-tag,div.pxp-issue[template=card] .issue-tags .issue-category,div.pxp-issue[template=card] .issue-properties .issue-tag,div.pxp-issue[template=card] .issue-properties .issue-category,div.pxp-issue[template=card] .issue-custom-message .issue-tag,div.pxp-issue[template=card] .issue-custom-message .issue-category{display:none}storefront-issue[template=highlight],div.pxp-issue[template=highlight]{flex-direction:row;padding:calc(var(--gutter) / 2);width:100%}storefront-issue[template=highlight] .issue-image,div.pxp-issue[template=highlight] .issue-image{width:calc(43% - var(--gutter) / 2);margin-right:var(--gutter);flex-shrink:0;align-self:flex-end}storefront-issue[template=highlight] .issue-image storefront-image[height-strategy=FIXED],storefront-issue[template=highlight] .issue-image .pxp-image[height-strategy=FIXED],div.pxp-issue[template=highlight] .issue-image storefront-image[height-strategy=FIXED],div.pxp-issue[template=highlight] .issue-image .pxp-image[height-strategy=FIXED]{padding-top:133%}@media (max-width: 533px) and (orientation: portrait),(max-height: 533px) and (orientation: landscape){storefront-issue[template=highlight] .issue-image,div.pxp-issue[template=highlight] .issue-image{width:calc(50% - (var(--gutter)))}}storefront-issue[template=highlight] storefront-progress[type=BAR],storefront-issue[template=highlight] .pxp-progress[type=BAR],div.pxp-issue[template=highlight] storefront-progress[type=BAR],div.pxp-issue[template=highlight] .pxp-progress[type=BAR]{display:block}storefront-issue[template=highlight] .issue-data,div.pxp-issue[template=highlight] .issue-data{margin-left:var(--gutter)}storefront-issue[template=highlight] .issue-title,div.pxp-issue[template=highlight] .issue-title{font-size:2em;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}storefront-issue[template=highlight] .issue-publication-title,storefront-issue[template=highlight] .issue-pub-date,storefront-issue[template=highlight] .issue-properties,storefront-issue[template=highlight] .issue-categories,storefront-issue[template=highlight] .issue-tags,div.pxp-issue[template=highlight] .issue-publication-title,div.pxp-issue[template=highlight] .issue-pub-date,div.pxp-issue[template=highlight] .issue-properties,div.pxp-issue[template=highlight] .issue-categories,div.pxp-issue[template=highlight] .issue-tags{display:none}storefront-issue[template=highlight] .issue-publication-title .issue-tag,storefront-issue[template=highlight] .issue-publication-title .issue-category,storefront-issue[template=highlight] .issue-pub-date .issue-tag,storefront-issue[template=highlight] .issue-pub-date .issue-category,storefront-issue[template=highlight] .issue-properties .issue-tag,storefront-issue[template=highlight] .issue-properties .issue-category,storefront-issue[template=highlight] .issue-categories .issue-tag,storefront-issue[template=highlight] .issue-categories .issue-category,storefront-issue[template=highlight] .issue-tags .issue-tag,storefront-issue[template=highlight] .issue-tags .issue-category,div.pxp-issue[template=highlight] .issue-publication-title .issue-tag,div.pxp-issue[template=highlight] .issue-publication-title .issue-category,div.pxp-issue[template=highlight] .issue-pub-date .issue-tag,div.pxp-issue[template=highlight] .issue-pub-date .issue-category,div.pxp-issue[template=highlight] .issue-properties .issue-tag,div.pxp-issue[template=highlight] .issue-properties .issue-category,div.pxp-issue[template=highlight] .issue-categories .issue-tag,div.pxp-issue[template=highlight] .issue-categories .issue-category,div.pxp-issue[template=highlight] .issue-tags .issue-tag,div.pxp-issue[template=highlight] .issue-tags .issue-category{display:none}storefront-issue[template=highlight] .issue-custom-message,div.pxp-issue[template=highlight] .issue-custom-message{margin:var(--gutter) 0}storefront-issue[template=highlight] .issue-actions,div.pxp-issue[template=highlight] .issue-actions{display:flex;flex-direction:column;flex-grow:1;justify-content:flex-end}storefront-issue[template=highlight] .issue-actions storefront-button button,storefront-issue[template=highlight] .issue-actions .pxp-button button,div.pxp-issue[template=highlight] .issue-actions storefront-button button,div.pxp-issue[template=highlight] .issue-actions .pxp-button button{width:100%}storefront-issue[template=details] .issue-image storefront-image[height-strategy=FIXED],storefront-issue[template=details] .issue-image .pxp-image[height-strategy=FIXED],div.pxp-issue[template=details] .issue-image storefront-image[height-strategy=FIXED],div.pxp-issue[template=details] .issue-image .pxp-image[height-strategy=FIXED]{padding-top:133%}storefront-issue[template=details] .issue-data,div.pxp-issue[template=details] .issue-data{align-items:center}storefront-issue[template=details] .issue-data.expanded .issue-description,div.pxp-issue[template=details] .issue-data.expanded .issue-description{-webkit-line-clamp:unset}storefront-issue[template=details] .issue-data.expanded .issue-description-expand-toggle,div.pxp-issue[template=details] .issue-data.expanded .issue-description-expand-toggle{display:block}storefront-issue[template=details] .issue-data.expanded .issue-description-expand-toggle i,div.pxp-issue[template=details] .issue-data.expanded .issue-description-expand-toggle i{transform:rotate(180deg)}storefront-issue[template=details] .issue-data .issue-publication-title,storefront-issue[template=details] .issue-data .issue-properties,storefront-issue[template=details] .issue-data .issue-categories,storefront-issue[template=details] .issue-data .issue-tags,div.pxp-issue[template=details] .issue-data .issue-publication-title,div.pxp-issue[template=details] .issue-data .issue-properties,div.pxp-issue[template=details] .issue-data .issue-categories,div.pxp-issue[template=details] .issue-data .issue-tags{display:none}storefront-issue[template=details] .issue-data .issue-publication-title .issue-tag,storefront-issue[template=details] .issue-data .issue-publication-title .issue-category,storefront-issue[template=details] .issue-data .issue-publication-title .issue-property,storefront-issue[template=details] .issue-data .issue-properties .issue-tag,storefront-issue[template=details] .issue-data .issue-properties .issue-category,storefront-issue[template=details] .issue-data .issue-properties .issue-property,storefront-issue[template=details] .issue-data .issue-categories .issue-tag,storefront-issue[template=details] .issue-data .issue-categories .issue-category,storefront-issue[template=details] .issue-data .issue-categories .issue-property,storefront-issue[template=details] .issue-data .issue-tags .issue-tag,storefront-issue[template=details] .issue-data .issue-tags .issue-category,storefront-issue[template=details] .issue-data .issue-tags .issue-property,div.pxp-issue[template=details] .issue-data .issue-publication-title .issue-tag,div.pxp-issue[template=details] .issue-data .issue-publication-title .issue-category,div.pxp-issue[template=details] .issue-data .issue-publication-title .issue-property,div.pxp-issue[template=details] .issue-data .issue-properties .issue-tag,div.pxp-issue[template=details] .issue-data .issue-properties .issue-category,div.pxp-issue[template=details] .issue-data .issue-properties .issue-property,div.pxp-issue[template=details] .issue-data .issue-categories .issue-tag,div.pxp-issue[template=details] .issue-data .issue-categories .issue-category,div.pxp-issue[template=details] .issue-data .issue-categories .issue-property,div.pxp-issue[template=details] .issue-data .issue-tags .issue-tag,div.pxp-issue[template=details] .issue-data .issue-tags .issue-category,div.pxp-issue[template=details] .issue-data .issue-tags .issue-property{display:none}storefront-issue[template=details] storefront-image[height-strategy=FIXED],storefront-issue[template=details] .pxp-image[height-strategy=FIXED],div.pxp-issue[template=details] storefront-image[height-strategy=FIXED],div.pxp-issue[template=details] .pxp-image[height-strategy=FIXED]{padding-top:133%}storefront-issue[template=details] storefront-progress[type=BAR],storefront-issue[template=details] .pxp-progress[type=BAR],div.pxp-issue[template=details] storefront-progress[type=BAR],div.pxp-issue[template=details] .pxp-progress[type=BAR]{display:block}storefront-issue[template=details] .issue-pub-date,div.pxp-issue[template=details] .issue-pub-date{display:none}storefront-issue[template=details] .issue-description,div.pxp-issue[template=details] .issue-description{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;text-overflow:ellipsis;overflow:hidden}storefront-issue[template=details] .issue-description.scrollable-vert+.issue-description-expand-toggle,div.pxp-issue[template=details] .issue-description.scrollable-vert+.issue-description-expand-toggle{display:flex}storefront-issue[template=details] .issue-description-expand-toggle,div.pxp-issue[template=details] .issue-description-expand-toggle{align-self:flex-start}storefront-issue[template=details] .issue-custom-message,div.pxp-issue[template=details] .issue-custom-message{margin-top:var(--gutter)}storefront-issue[template=details] .issue-actions,div.pxp-issue[template=details] .issue-actions{display:grid;width:100%;grid-template-columns:1fr 1fr;grid-column-gap:var(--gutter);margin-top:var(--gutter)}storefront-issue[template=details] .issue-actions>button:nth-child(odd):last-child,storefront-issue[template=details] .issue-actions>storefront-button:nth-child(odd):last-child,storefront-issue[template=details] .issue-actions>.pxp-button:nth-child(odd):last-child,div.pxp-issue[template=details] .issue-actions>button:nth-child(odd):last-child,div.pxp-issue[template=details] .issue-actions>storefront-button:nth-child(odd):last-child,div.pxp-issue[template=details] .issue-actions>.pxp-button:nth-child(odd):last-child{grid-column:1/3}storefront-issue[template=details] .issue-actions storefront-button button,storefront-issue[template=details] .issue-actions .pxp-button button,div.pxp-issue[template=details] .issue-actions storefront-button button,div.pxp-issue[template=details] .issue-actions .pxp-button button{width:100%}storefront-issue[template=group],div.pxp-issue[template=group]{flex-direction:row}storefront-issue[template=group] .issue-image,div.pxp-issue[template=group] .issue-image{width:100%}storefront-issue[template=group] .issue-image storefront-image[height-strategy=FIXED],storefront-issue[template=group] .issue-image .pxp-image[height-strategy=FIXED],div.pxp-issue[template=group] .issue-image storefront-image[height-strategy=FIXED],div.pxp-issue[template=group] .issue-image .pxp-image[height-strategy=FIXED]{padding-top:133%}storefront-issue[template=group] .issue-data,div.pxp-issue[template=group] .issue-data{flex-direction:column}storefront-issue[template=group] .issue-title,div.pxp-issue[template=group] .issue-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}storefront-issue[template=group] .issue-actions,div.pxp-issue[template=group] .issue-actions{display:flex;justify-content:flex-start}storefront-issue[template=group] .issue-actions>button,div.pxp-issue[template=group] .issue-actions>button{display:none}storefront-issue[template=group] i,storefront-issue[template=group] .issue-publication-title,storefront-issue[template=group] .issue-pub-date,storefront-issue[template=group] .issue-description,storefront-issue[template=group] .issue-description-expand-toggle,storefront-issue[template=group] .issue-properties,storefront-issue[template=group] .issue-categories,storefront-issue[template=group] .issue-tags,storefront-issue[template=group] .issue-state,storefront-issue[template=group] .issue-update-badge,div.pxp-issue[template=group] i,div.pxp-issue[template=group] .issue-publication-title,div.pxp-issue[template=group] .issue-pub-date,div.pxp-issue[template=group] .issue-description,div.pxp-issue[template=group] .issue-description-expand-toggle,div.pxp-issue[template=group] .issue-properties,div.pxp-issue[template=group] .issue-categories,div.pxp-issue[template=group] .issue-tags,div.pxp-issue[template=group] .issue-state,div.pxp-issue[template=group] .issue-update-badge{display:none}storefront-issue[template=group] i .issue-tag,storefront-issue[template=group] i .issue-category,storefront-issue[template=group] .issue-publication-title .issue-tag,storefront-issue[template=group] .issue-publication-title .issue-category,storefront-issue[template=group] .issue-pub-date .issue-tag,storefront-issue[template=group] .issue-pub-date .issue-category,storefront-issue[template=group] .issue-description .issue-tag,storefront-issue[template=group] .issue-description .issue-category,storefront-issue[template=group] .issue-description-expand-toggle .issue-tag,storefront-issue[template=group] .issue-description-expand-toggle .issue-category,storefront-issue[template=group] .issue-properties .issue-tag,storefront-issue[template=group] .issue-properties .issue-category,storefront-issue[template=group] .issue-categories .issue-tag,storefront-issue[template=group] .issue-categories .issue-category,storefront-issue[template=group] .issue-tags .issue-tag,storefront-issue[template=group] .issue-tags .issue-category,storefront-issue[template=group] .issue-state .issue-tag,storefront-issue[template=group] .issue-state .issue-category,storefront-issue[template=group] .issue-update-badge .issue-tag,storefront-issue[template=group] .issue-update-badge .issue-category,div.pxp-issue[template=group] i .issue-tag,div.pxp-issue[template=group] i .issue-category,div.pxp-issue[template=group] .issue-publication-title .issue-tag,div.pxp-issue[template=group] .issue-publication-title .issue-category,div.pxp-issue[template=group] .issue-pub-date .issue-tag,div.pxp-issue[template=group] .issue-pub-date .issue-category,div.pxp-issue[template=group] .issue-description .issue-tag,div.pxp-issue[template=group] .issue-description .issue-category,div.pxp-issue[template=group] .issue-description-expand-toggle .issue-tag,div.pxp-issue[template=group] .issue-description-expand-toggle .issue-category,div.pxp-issue[template=group] .issue-properties .issue-tag,div.pxp-issue[template=group] .issue-properties .issue-category,div.pxp-issue[template=group] .issue-categories .issue-tag,div.pxp-issue[template=group] .issue-categories .issue-category,div.pxp-issue[template=group] .issue-tags .issue-tag,div.pxp-issue[template=group] .issue-tags .issue-category,div.pxp-issue[template=group] .issue-state .issue-tag,div.pxp-issue[template=group] .issue-state .issue-category,div.pxp-issue[template=group] .issue-update-badge .issue-tag,div.pxp-issue[template=group] .issue-update-badge .issue-category{display:none}storefront-issue.locked .issue-actions button.icon-share,div.pxp-issue.locked .issue-actions button.icon-share{display:none}storefront-issue.ghost,div.pxp-issue.ghost{pointer-events:none}storefront-issue.ghost .issue-image,div.pxp-issue.ghost .issue-image{animation:ghost-opacity 2s infinite linear;background-color:var(--ghostColor);margin-bottom:var(--gutter)}storefront-issue.ghost .issue-image storefront-image,storefront-issue.ghost .issue-image .pxp-image,div.pxp-issue.ghost .issue-image storefront-image,div.pxp-issue.ghost .issue-image .pxp-image{background-color:transparent}storefront-issue.ghost[template=highlight]>.issue-image,div.pxp-issue.ghost[template=highlight]>.issue-image{margin-bottom:0}storefront-issue.ghost[template=highlight]>.issue-image>storefront-image,storefront-issue.ghost[template=highlight]>.issue-image>.pxp-image,div.pxp-issue.ghost[template=highlight]>.issue-image>storefront-image,div.pxp-issue.ghost[template=highlight]>.issue-image>.pxp-image{margin-bottom:0}storefront-issue.ghost[template=highlight] .issue-description,storefront-issue.ghost[template=highlight] .issue-title,div.pxp-issue.ghost[template=highlight] .issue-description,div.pxp-issue.ghost[template=highlight] .issue-title{width:100%;margin-bottom:0}storefront-issue.ghost[template=cover] storefront-image,storefront-issue.ghost[template=cover] .pxp-image,div.pxp-issue.ghost[template=cover] storefront-image,div.pxp-issue.ghost[template=cover] .pxp-image{padding-top:133%}storefront-issue.ghost[template=card] storefront-image,storefront-issue.ghost[template=card] .pxp-image,div.pxp-issue.ghost[template=card] storefront-image,div.pxp-issue.ghost[template=card] .pxp-image{padding-top:75%}storefront-issue.ghost .issue-description,storefront-issue.ghost .issue-title,div.pxp-issue.ghost .issue-description,div.pxp-issue.ghost .issue-title{background-color:var(--ghostColor);color:transparent;border-radius:4px;width:90%;height:1.2em;margin-bottom:calc(var(--gutter) / 2)!important;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}storefront-issue.ghost .issue-description,div.pxp-issue.ghost .issue-description{height:3em}storefront-issue.error .issue-data,div.pxp-issue.error .issue-data{display:none}storefront-issue.error[template=cover] .issue-error,storefront-issue.error[template=card] .issue-error,storefront-issue.error[template=details] .issue-error,div.pxp-issue.error[template=cover] .issue-error,div.pxp-issue.error[template=card] .issue-error,div.pxp-issue.error[template=details] .issue-error{margin-top:var(--gutter)}\n'],encapsulation:2,changeDetection:0}),_})()},4365:(X,A,u)=>{u.d(A,{AN:()=>y,FZ:()=>O,Mw:()=>G,Rp:()=>I,W9:()=>e});var l=u(4404),e=function(m){return m.COVER="cover",m.CARD="card",m.HIGHLIGHT="highlight",m.DETAILS="details",m.GROUP="group",m}(e||{});const I={showErrorDialog:!0};var y=function(m){return m.SINGLE="SINGLE",m.MULTI="MULTI",m}(y||{}),O=function(m){return m.SILENT="SILENT",m}(O||{});const G={template:e.CARD,openContent:{mode:l.DisplayMode.MODAL,titleBar:!0},downloadOptions:null,customButtons:[],customMessages:[],titleMessage:"ISSUE_TITLE",descriptionMessage:"ISSUE_DESCRIPTION",publicationTitleMessage:"ISSUE_PUBLICATION_TITLE"}},4354:(X,A,u)=>{u.d(A,{n:()=>it});var l=u(8251),f=u(4744),t=u(4438),e=u(177),I=u(3092),y=u(680),O=u(8909),G=u(7240),m=u(3),P=u(395),k=u(4336),w=u(2932),x=u(1302),E=u(2914),D=u(2813);const T=["class","pxp-issue"],b=a=>[a],$=a=>({path:a}),F=()=>({path:""}),V=()=>[];function z(a,c){if(1&a){const o=t.RV6();t.j41(0,"div",9),t.nrm(1,"span",10),t.j41(2,"button",11),t.bIt("click",function(){t.eBV(o);const d=t.XpG(2);return t.Njj(d.reload())}),t.k0s()()}if(2&a){const o=t.XpG(2);t.R7$(),t.Y8G("storefrontTranslateArgs",t.eq3(1,b,o.dataSourceError.code))}}function Z(a,c){if(1&a&&(t.qex(0),t.j41(1,"div",3),t.nrm(2,"storefront-image",4),t.k0s(),t.j41(3,"div",5),t.nrm(4,"h3",6)(5,"div",7),t.k0s(),t.DNE(6,z,3,3,"div",8),t.bVm()),2&a){const o=t.XpG();t.R7$(2),t.Y8G("height","FIXED"),t.R7$(4),t.Y8G("ngIf",o.dataSourceError)}}function B(a,c){1&a&&t.eu8(0)}function N(a,c){if(1&a){const o=t.RV6();t.j41(0,"a",14),t.nI1(1,"urlTransform"),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(3);return t.Njj(v.onClickCover(d))}),t.DNE(2,B,1,0,"ng-container",15),t.k0s()}if(2&a){t.XpG(2);const o=t.sdS(4),h=t.XpG();t.Y8G("href",t.i5U(1,2,h.issuePath(),h.context),t.B4B),t.R7$(2),t.Y8G("ngTemplateOutlet",o)}}function j(a,c){1&a&&t.eu8(0)}function Y(a,c){if(1&a){const o=t.RV6();t.j41(0,"a",16),t.nI1(1,"urlTransform"),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(3);return t.Njj(v.onClickIssue(d))}),t.DNE(2,j,1,0,"ng-container",17),t.k0s()}if(2&a){t.XpG(2);const o=t.sdS(6),h=t.XpG();t.AVh("expanded",h.descriptionExpanded),t.Y8G("href",t.i5U(1,5,h.issuePath(),h.context),t.B4B),t.R7$(2),t.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.eq3(8,$,h.issuePath()))}}function J(a,c){if(1&a&&t.DNE(0,N,3,5,"a",12)(1,Y,3,10,"a",13),2&a){const o=t.XpG(2);t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.cover),t.R7$(),t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.allData)}}function Q(a,c){1&a&&t.eu8(0)}function W(a,c){if(1&a){const o=t.RV6();t.j41(0,"div",20),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(3);return t.Njj(v.onClickCover(d))}),t.DNE(1,Q,1,0,"ng-container",15),t.k0s()}if(2&a){t.XpG(2);const o=t.sdS(4);t.R7$(),t.Y8G("ngTemplateOutlet",o)}}function H(a,c){if(1&a){const o=t.RV6();t.j41(0,"div",21),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(3);return t.Njj(v.onClickIssue(d))}),t.eu8(1,22),t.k0s()}if(2&a){t.XpG(2);const o=t.sdS(6),h=t.XpG();t.AVh("expanded",h.descriptionExpanded),t.R7$(),t.Y8G("ngTemplateOutlet",o)("ngTemplateOutletContext",t.lJ4(4,F))}}function M(a,c){if(1&a&&t.DNE(0,W,2,1,"div",18)(1,H,2,5,"div",19),2&a){const o=t.XpG(2);t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.cover),t.R7$(),t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.allData)}}function q(a,c){if(1&a&&t.nrm(0,"div",23),2&a){const o=t.XpG(3);t.Y8G("lcpPrioritized",0===(null==o.context?null:o.context.entryIndex)&&(null==o.config?null:o.config.lcpPrioritized))("src",o.issue.thumbnails&&o.issue.thumbnails.default)("imageResolutionStrategy",null==o.config?null:o.config.imageResolutionStrategy)("height",o.getImageHeight())("extendedThumbnail",null==o.issue||null==o.issue.thumbnailsExtended?null:o.issue.thumbnailsExtended.default)("label",null==o.issue?null:o.issue.name)}}function ee(a,c){if(1&a&&t.nrm(0,"storefront-image",24),2&a){const o=t.XpG(3);t.Y8G("lcpPrioritized",0===(null==o.context?null:o.context.entryIndex)&&(null==o.config?null:o.config.lcpPrioritized))("src",o.issue.thumbnails&&o.issue.thumbnails.default)("imageResolutionStrategy",null==o.config?null:o.config.imageResolutionStrategy)("height",o.getImageHeight())("extendedThumbnail",null==o.issue||null==o.issue.thumbnailsExtended?null:o.issue.thumbnailsExtended.default)("label",null==o.issue?null:o.issue.name)}}function te(a,c){1&a&&t.nrm(0,"storefront-spinner")}function se(a,c){1&a&&(t.j41(0,"div",27),t.nrm(1,"span",28),t.k0s())}function ie(a,c){if(1&a&&t.nrm(0,"storefront-progress",29),2&a){const o=t.XpG(3);t.Y8G("type",o.getProgressType())("progress",o.installState.progress)}}function oe(a,c){if(1&a&&t.DNE(0,q,1,6,"div",23)(1,ee,1,6,"storefront-image",24)(2,te,1,0,"storefront-spinner",2)(3,se,2,0,"div",25)(4,ie,1,2,"storefront-progress",26),2&a){const o=t.XpG(2);t.vxM(o.domHelper.leanDom?0:1),t.R7$(2),t.Y8G("ngIf",o.coverLoading),t.R7$(),t.Y8G("ngIf",o.showUpdateBehavior()),t.R7$(),t.Y8G("ngIf",o.showProgress())}}function ne(a,c){if(1&a){const o=t.RV6();t.j41(0,"h3",45),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(3);return t.Njj(v.onClickCover(d))}),t.nrm(1,"span",46),t.k0s()}if(2&a){const o=t.XpG(3);t.R7$(),t.Y8G("storefrontTranslate",o.config.publicationTitleMessage)("storefrontTranslateArgs",t.eq3(2,b,o.publication&&o.publication.name))}}function ae(a,c){if(1&a){const o=t.RV6();t.j41(0,"h3",47),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(3);return t.Njj(v.onClickCover(d))}),t.nrm(1,"span",46),t.k0s()}if(2&a){const o=t.XpG(3);t.R7$(),t.Y8G("storefrontTranslate",o.config.titleMessage)("storefrontTranslateArgs",t.eq3(2,b,o.issue.name))}}function re(a,c){1&a&&t.nrm(0,"i",48)}function pe(a,c){if(1&a&&(t.j41(0,"div",49),t.EFF(1),t.nI1(2,"storefrontDate"),t.k0s()),2&a){const o=t.XpG(3);t.R7$(),t.SpI(" ",t.bMT(2,1,o.issue.publicationDate)," ")}}function ue(a,c){if(1&a&&t.nrm(0,"div",50),2&a){const o=t.XpG(3);t.Y8G("storefrontTranslate",o.config.descriptionMessage)("storefrontTranslateArgs",t.eq3(2,b,o.issue.description))}}function le(a,c){if(1&a){const o=t.RV6();t.j41(0,"span",51),t.bIt("click",function(){t.eBV(o);const d=t.XpG(3);return t.Njj(d.descriptionExpanded=!d.descriptionExpanded)}),t.nrm(1,"span",52)(2,"i",53),t.k0s()}if(2&a){const o=t.XpG(3);t.R7$(),t.Y8G("storefrontTranslate",o.descriptionExpanded?"ISSUE_DESCRIPTION_TOGGLE_COLLAPSE":"ISSUE_DESCRIPTION_TOGGLE_EXPAND")}}function ce(a,c){if(1&a&&(t.j41(0,"div")(1,"span"),t.EFF(2),t.k0s(),t.nrm(3,"i"),t.k0s()),2&a){const o=c.$implicit;t.ZWY("issue-property issue-property-",o.key," issue-property-",o.key,"-",o.value,""),t.R7$(2),t.JRh(o.value),t.R7$(),t.ee0("'icon icon-",o.key," icon-",o.value," icon-",o.key,"-",o.value,"")}}function _e(a,c){if(1&a&&(t.j41(0,"div",54),t.DNE(1,ce,4,12,"div",55),t.k0s()),2&a){const o=t.XpG(3);t.R7$(),t.Y8G("ngForOf",o.visibleProperties)("ngForTrackBy",o.trackByProperty)}}function ge(a,c){if(1&a&&(t.j41(0,"div",58)(1,"span"),t.EFF(2),t.k0s(),t.nrm(3,"i"),t.k0s()),2&a){const o=c.$implicit;t.ZvI("issue-category issue-category-",o.id,""),t.R7$(2),t.JRh(o.name||o.id),t.R7$(),t.ZvI("icon icon-",o.id,"")}}function de(a,c){if(1&a&&(t.j41(0,"div",56),t.DNE(1,ge,4,7,"div",57),t.k0s()),2&a){const o=t.XpG(3);t.R7$(),t.Y8G("ngForOf",o.displayedCategories)("ngForTrackBy",o.trackByCategory)}}function me(a,c){if(1&a&&(t.j41(0,"div")(1,"span"),t.EFF(2),t.k0s(),t.nrm(3,"i"),t.k0s()),2&a){const o=c.$implicit;t.ZvI("issue-tag issue-tag-",o,""),t.R7$(2),t.JRh(o),t.R7$(),t.ZvI("icon icon-",o,"")}}function K(a,c){if(1&a&&(t.j41(0,"div",59),t.DNE(1,me,4,7,"div",55),t.k0s()),2&a){const o=t.XpG(3);t.R7$(),t.Y8G("ngForOf",o.tags)("ngForTrackBy",o.trackByTag)}}function fe(a,c){if(1&a&&t.nrm(0,"div",46),2&a){const o=c.$implicit;t.ZvI("issue-custom-message ",o.class||"",""),t.Y8G("storefrontTranslate",o.message)("storefrontTranslateArgs",o.variables||t.lJ4(5,V))}}function he(a,c){if(1&a){const o=t.RV6();t.j41(0,"button",60),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(3);return t.Njj(v.onClickShare(d))}),t.k0s()}}function ve(a,c){if(1&a){const o=t.RV6();t.j41(0,"button",61),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(3);return t.Njj(v.onClickBookmark(d))}),t.k0s()}if(2&a){const o=t.XpG(3);t.ZvI("icon ",o.bookmark?"icon-bookmark-active":"icon-bookmark","")}}function xe(a,c){1&a&&t.nrm(0,"storefront-spinner",67)}function be(a,c){if(1&a){const o=t.RV6();t.j41(0,"button",64),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(4);return t.Njj(v.onClickRead(d))}),t.nrm(1,"span",65),t.DNE(2,xe,1,0,"storefront-spinner",66),t.k0s()}if(2&a){const o=t.XpG(4);t.Y8G("disabled",o.openLoading),t.R7$(2),t.Y8G("ngIf",o.openLoading)}}function Ie(a,c){1&a&&t.nrm(0,"storefront-spinner",67)}function Ce(a,c){if(1&a){const o=t.RV6();t.j41(0,"button",68),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(4);return t.Njj(v.onClickPreview(d))}),t.nrm(1,"span",69),t.DNE(2,Ie,1,0,"storefront-spinner",66),t.k0s()}if(2&a){const o=t.XpG(4);t.Y8G("disabled",o.previewLoading),t.R7$(2),t.Y8G("ngIf",o.previewLoading)}}function Ee(a,c){1&a&&t.nrm(0,"storefront-spinner",67)}function Te(a,c){if(1&a){const o=t.RV6();t.j41(0,"button",73),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(7);return t.Njj(v.onClickCancel(d))}),t.nrm(1,"span",74),t.DNE(2,Ee,1,0,"storefront-spinner",66),t.k0s()}if(2&a){const o=t.XpG(7);t.Y8G("disabled",o.deleteLoading),t.R7$(2),t.Y8G("ngIf",o.deleteLoading)}}function De(a,c){if(1&a&&(t.qex(0),t.DNE(1,Te,3,2,"button",72),t.bVm()),2&a){const o=t.XpG(6);t.R7$(),t.Y8G("ngIf",o.showCancel())}}function ye(a,c){1&a&&t.nrm(0,"storefront-spinner",67)}function Re(a,c){if(1&a){const o=t.RV6();t.j41(0,"button",75),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(6);return t.Njj(v.onClickDownload(d))}),t.nrm(1,"span",76),t.DNE(2,ye,1,0,"storefront-spinner",66),t.k0s()}if(2&a){const o=t.XpG(6);t.Y8G("disabled",o.downloadLoading),t.R7$(2),t.Y8G("ngIf",o.downloadLoading)}}function ke(a,c){1&a&&t.nrm(0,"storefront-spinner",67)}function Ae(a,c){if(1&a){const o=t.RV6();t.j41(0,"button",77),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(6);return t.Njj(v.onClickDelete(d))}),t.nrm(1,"span",78),t.DNE(2,ke,1,0,"storefront-spinner",66),t.k0s()}if(2&a){const o=t.XpG(6);t.Y8G("disabled",o.deleteLoading),t.R7$(2),t.Y8G("ngIf",o.deleteLoading)}}function Oe(a,c){if(1&a&&(t.qex(0),t.DNE(1,De,2,1,"ng-container",2)(2,Re,3,2,"button",70)(3,Ae,3,2,"button",71),t.bVm()),2&a){const o=t.XpG(5);t.R7$(),t.Y8G("ngIf",o.installState.downloading),t.R7$(),t.Y8G("ngIf",!o.installState.downloading&&"COMPLETE"!==o.installState.installState&&!o.deleteLoading),t.R7$(),t.Y8G("ngIf",o.showDelete())}}function Le(a,c){1&a&&t.nrm(0,"storefront-spinner",67)}function Se(a,c){if(1&a&&t.nrm(0,"storefront-progress",81),2&a){const o=t.XpG(7);t.Y8G("type",o.getProgressType())("progress",o.installState.progress)}}function Pe(a,c){if(1&a&&(t.j41(0,"p",82),t.EFF(1),t.k0s()),2&a){const o=t.XpG(7);t.R7$(),t.SpI(" ",o.installState.progress,"% ")}}function Ge(a,c){if(1&a){const o=t.RV6();t.j41(0,"button",61),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(6);return t.Njj(v.onClickState(d))}),t.nrm(1,"span",52),t.DNE(2,Le,1,0,"storefront-spinner",66)(3,Se,1,2,"storefront-progress",79)(4,Pe,2,1,"p",80),t.k0s()}if(2&a){const o=t.XpG(6);t.ZWY("button-state action-button ",o.installState.downloading?"button-state-downloading":""," ","button-state-"+o.installState.installState," ",o.deleteLoading||o.downloadLoading?"button-state-loading":"",""),t.R7$(),t.Y8G("storefrontTranslate",o.getStateText()),t.R7$(),t.Y8G("ngIf",o.deleteLoading||o.downloadLoading),t.R7$(),t.Y8G("ngIf",o.showProgress(!0)),t.R7$(),t.Y8G("ngIf",o.showProgress(!0))}}function Be(a,c){if(1&a&&(t.qex(0),t.DNE(1,Ge,5,9,"button",42),t.bVm()),2&a){const o=t.XpG(5);t.R7$(),t.Y8G("ngIf",o.installState)}}function Me(a,c){if(1&a&&(t.qex(0),t.DNE(1,Oe,4,3,"ng-container",2)(2,Be,2,1,"ng-container",2),t.bVm()),2&a){const o=t.XpG(4);t.R7$(),t.Y8G("ngIf","MULTI"===o.downloadOptions.buttonType),t.R7$(),t.Y8G("ngIf","SINGLE"===o.downloadOptions.buttonType)}}function we(a,c){if(1&a&&(t.qex(0),t.DNE(1,be,3,2,"button",62)(2,Ce,3,2,"button",63)(3,Me,3,2,"ng-container",2),t.bVm()),2&a){const o=t.XpG(3);t.R7$(),t.Y8G("ngIf",!o.locked),t.R7$(),t.Y8G("ngIf",o.locked&&o.hasPreview()),t.R7$(),t.Y8G("ngIf",o.downloadOptions&&!o.locked)}}function Ue(a,c){1&a&&t.nrm(0,"span",91)}function Ne(a,c){1&a&&t.nrm(0,"span",92)}function Xe(a,c){if(1&a&&t.nrm(0,"span",93),2&a){const o=t.XpG(5);t.Y8G("storefrontTranslateArgs",t.eq3(1,b,o.price&&o.price.formattedPrice))}}function $e(a,c){1&a&&t.nrm(0,"storefront-spinner",67)}function je(a,c){if(1&a){const o=t.RV6();t.j41(0,"button",87),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(4);return t.Njj(v.onClickPurchase(d))}),t.DNE(1,Ue,1,0,"span",88)(2,Ne,1,0,"span",89)(3,Xe,1,3,"span",90)(4,$e,1,0,"storefront-spinner",66),t.k0s()}if(2&a){const o=t.XpG(4);t.Y8G("ngClass",o.getPriceState())("disabled",!o.price||o.purchaseLoading),t.R7$(),t.Y8G("ngIf",!o.visible||o.priceLoading),t.R7$(),t.Y8G("ngIf",o.visible&&!o.priceLoading&&!o.price),t.R7$(),t.Y8G("ngIf",o.price),t.R7$(),t.Y8G("ngIf",o.purchaseLoading)}}function Ye(a,c){if(1&a){const o=t.RV6();t.j41(0,"button",94),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(4);return t.Njj(v.onClickSubscribe(d))}),t.k0s()}}function Ke(a,c){if(1&a){const o=t.RV6();t.j41(0,"button",95),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(4);return t.Njj(v.onClickLogin(d))}),t.k0s()}}function Fe(a,c){if(1&a){const o=t.RV6();t.j41(0,"button",96),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(4);return t.Njj(v.onClickCoupon(d))}),t.k0s()}}function Ve(a,c){if(1&a&&(t.qex(0),t.DNE(1,je,5,6,"button",83)(2,Ye,1,0,"button",84)(3,Ke,1,0,"button",85)(4,Fe,1,0,"button",86),t.bVm()),2&a){const o=t.XpG(3);t.R7$(),t.Y8G("ngIf",o.purchaseOptions.purchase),t.R7$(),t.Y8G("ngIf",o.purchaseOptions.subscribe),t.R7$(),t.Y8G("ngIf",!o.loggedIn&&o.purchaseOptions.login),t.R7$(),t.Y8G("ngIf",o.purchaseOptions.coupon)}}function We(a,c){if(1&a&&t.nrm(0,"div",97),2&a){const o=t.XpG().$implicit,h=t.XpG(3);t.Y8G("baseConfig",o)("disableAnchor",!0)("baseContext",h.context)}}function He(a,c){if(1&a&&t.nrm(0,"storefront-button",98),2&a){const o=t.XpG().$implicit,h=t.XpG(3);t.Y8G("baseConfig",o)("disableAnchor",!0)("baseContext",h.context)}}function ze(a,c){if(1&a&&(t.qex(0),t.DNE(1,We,1,3,"div",97)(2,He,1,3,"storefront-button",98),t.bVm()),2&a){const o=t.XpG(3);t.R7$(),t.vxM(o.domHelper.leanDom?1:2)}}function Ze(a,c){if(1&a&&t.nrm(0,"storefront-progress",103),2&a){const o=t.XpG(4);t.Y8G("progress",o.installState.progress)("type",o.getProgressType())("showBorder",!0)}}function Je(a,c){if(1&a){const o=t.RV6();t.j41(0,"button",104),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(4);return t.Njj(v.onClickDownload(d))}),t.k0s()}if(2&a){const o=t.XpG(4);t.Y8G("disabled",o.downloadLoading)}}function Qe(a,c){if(1&a){const o=t.RV6();t.j41(0,"button",105),t.bIt("click",function(d){t.eBV(o);const v=t.XpG(4);return t.Njj(v.onClickDelete(d))}),t.k0s()}if(2&a){const o=t.XpG(4);t.Y8G("disabled",o.deleteLoading)}}function qe(a,c){1&a&&t.nrm(0,"storefront-spinner",67)}function et(a,c){if(1&a&&(t.j41(0,"div",99),t.DNE(1,Ze,1,3,"storefront-progress",100)(2,Je,1,1,"button",101)(3,Qe,1,1,"button",102)(4,qe,1,0,"storefront-spinner",66),t.k0s()),2&a){const o=t.XpG(3);t.R7$(),t.Y8G("ngIf",o.showProgress(!0)),t.R7$(),t.Y8G("ngIf",!o.locked&&"COMPLETE"!==o.installState.installState&&!o.installState.downloading&&!o.downloadLoading),t.R7$(),t.Y8G("ngIf",o.showDelete()||o.showCancel()),t.R7$(),t.Y8G("ngIf",o.downloadLoading)}}function tt(a,c){if(1&a&&(t.DNE(0,ne,2,4,"h3",30)(1,ae,2,4,"h3",31)(2,re,1,0,"i",32)(3,pe,3,3,"div",33)(4,ue,1,4,"div",34)(5,le,3,1,"span",35)(6,_e,2,2,"div",36)(7,de,2,2,"div",37)(8,K,2,2,"div",38)(9,fe,1,6,"div",39),t.j41(10,"div",40),t.DNE(11,he,1,0,"button",41)(12,ve,1,3,"button",42)(13,we,4,3,"ng-container",2)(14,Ve,5,4,"ng-container",2)(15,ze,3,1,"ng-container",43),t.k0s(),t.DNE(16,et,5,4,"div",44)),2&a){const o=t.XpG(2);t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.publication),t.R7$(),t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.title),t.R7$(),t.Y8G("ngIf",o.showCheck()),t.R7$(),t.Y8G("ngIf",o.issue.publicationDate&&(!o.config.hideComponents||!o.config.hideComponents.publicationDate)),t.R7$(),t.Y8G("ngIf",o.issue.description&&(!o.config.hideComponents||!o.config.hideComponents.description)),t.R7$(),t.Y8G("ngIf",o.issue.description&&(!o.config.hideComponents||!o.config.hideComponents.description)),t.R7$(),t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.properties),t.R7$(),t.Y8G("ngIf",!(o.config.displayCategories&&"NOTHING"===o.config.displayCategories.mode||o.config.hideComponents&&o.config.hideComponents.categories)),t.R7$(),t.Y8G("ngIf",!o.config.hideComponents||!o.config.hideComponents.tags),t.R7$(),t.Y8G("ngForOf",o.customMessages)("ngForTrackBy",o.trackByMessage),t.R7$(2),t.Y8G("ngIf",o.config.sharing),t.R7$(),t.Y8G("ngIf",o.config.bookmark),t.R7$(),t.Y8G("ngIf",o.installState),t.R7$(),t.Y8G("ngIf",o.purchaseOptions&&o.locked),t.R7$(),t.Y8G("ngForOf",o.customButtons)("ngForTrackBy",o.trackByButton),t.R7$(),t.Y8G("ngIf",o.installState)}}function st(a,c){if(1&a&&(t.qex(0),t.DNE(1,J,2,2)(2,M,2,2)(3,oe,5,4,"ng-template",null,0,t.C5r)(5,tt,17,18,"ng-template",null,1,t.C5r),t.bVm()),2&a){const o=t.XpG();t.R7$(),t.vxM(o.issuePath()?1:2)}}let it=(()=>{var a;class c extends f.z{}return(a=c).\u0275fac=(()=>{let o;return function(d){return(o||(o=t.xGo(a)))(d||a)}})(),a.\u0275cmp=t.VBU({type:a,selectors:[["div",8,"pxp-issue"]],standalone:!1,features:[t.Jv_([l.B]),t.Vt3],attrs:T,decls:2,vars:2,consts:[["imageTemplate",""],["issueData",""],[4,"ngIf"],[1,"issue-image"],[3,"height"],[1,"issue-data"],[1,"issue-title"],[1,"issue-description"],["class","issue-error",4,"ngIf"],[1,"issue-error"],["storefrontTranslate","ISSUE_ERROR",3,"storefrontTranslateArgs"],["storefrontTranslate","ISSUE_ERROR_BUTTON","mat-ripple","",1,"action-button",3,"click"],["class","issue-image",3,"href","click",4,"ngIf"],["class","issue-data",3,"href","expanded","click",4,"ngIf"],[1,"issue-image",3,"click","href"],[4,"ngTemplateOutlet"],[1,"issue-data",3,"click","href"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["class","issue-image",3,"click",4,"ngIf"],["class","issue-data",3,"expanded","click",4,"ngIf"],[1,"issue-image",3,"click"],[1,"issue-data",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"pxp-image",3,"lcpPrioritized","src","imageResolutionStrategy","height","extendedThumbnail","label"],[3,"lcpPrioritized","src","imageResolutionStrategy","height","extendedThumbnail","label"],["class","issue-update-badge",4,"ngIf"],[3,"type","progress",4,"ngIf"],[1,"issue-update-badge"],["storefrontTranslate","ISSUE_UPDATE_BADGE_MESSAGE"],[3,"type","progress"],["class","issue-publication-title",3,"click",4,"ngIf"],["class","issue-title",3,"click",4,"ngIf"],["class","icon icon-check-bg",4,"ngIf"],["class","issue-pub-date",4,"ngIf"],["class","issue-description","storefrontCheckOverflow","vertical","storefrontCheckOverflowTarget","self",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],["class","issue-description-expand-toggle",3,"click",4,"ngIf"],["class","issue-properties",4,"ngIf"],["class","issue-categories",4,"ngIf"],["class","issue-tags",4,"ngIf"],[3,"class","storefrontTranslate","storefrontTranslateArgs",4,"ngFor","ngForOf","ngForTrackBy"],[1,"issue-actions"],["class","icon icon-share","mat-ripple","",3,"click",4,"ngIf"],["mat-ripple","",3,"class","click",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","issue-state",4,"ngIf"],[1,"issue-publication-title",3,"click"],[3,"storefrontTranslate","storefrontTranslateArgs"],[1,"issue-title",3,"click"],[1,"icon","icon-check-bg"],[1,"issue-pub-date"],["storefrontCheckOverflow","vertical","storefrontCheckOverflowTarget","self",1,"issue-description",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"issue-description-expand-toggle",3,"click"],[3,"storefrontTranslate"],[1,"icon","icon-arrow-down"],[1,"issue-properties"],[3,"class",4,"ngFor","ngForOf","ngForTrackBy"],[1,"issue-categories"],["purpleColorize","accent","purpleColorizeProps","background-color",3,"class",4,"ngFor","ngForOf","ngForTrackBy"],["purpleColorize","accent","purpleColorizeProps","background-color"],[1,"issue-tags"],["mat-ripple","",1,"icon","icon-share",3,"click"],["mat-ripple","",3,"click"],["class","button-read action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","button-preview action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["mat-ripple","",1,"button-read","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_READ"],["class","button-spinner",4,"ngIf"],[1,"button-spinner"],["mat-ripple","",1,"button-preview","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_PREVIEW"],["class","button-download action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","button-delete action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","button-cancel action-button","mat-ripple","",3,"disabled","click",4,"ngIf"],["mat-ripple","",1,"button-cancel","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_CANCEL"],["mat-ripple","",1,"button-download","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_DOWNLOAD"],["mat-ripple","",1,"button-delete","action-button",3,"click","disabled"],["storefrontTranslate","ISSUE_ACTION_DELETE"],["message","",3,"type","progress",4,"ngIf"],["class","progress-percentage",4,"ngIf"],["message","",3,"type","progress"],[1,"progress-percentage"],["class","button-purchase action-button","mat-ripple","",3,"ngClass","disabled","click",4,"ngIf"],["class","button-subscribe action-button","mat-ripple","","storefrontTranslate","ISSUE_ACTION_SUBSCRIBE",3,"click",4,"ngIf"],["class","button-login action-button","mat-ripple","","storefrontTranslate","ISSUE_ACTION_LOGIN",3,"click",4,"ngIf"],["class","button-coupon action-button","mat-ripple","","storefrontTranslate","ISSUE_ACTION_COUPON",3,"click",4,"ngIf"],["mat-ripple","",1,"button-purchase","action-button",3,"click","ngClass","disabled"],["storefrontTranslate","ISSUE_ACTION_PURCHASE_LOADING",4,"ngIf"],["storefrontTranslate","ISSUE_ACTION_PURCHASE_UNAVAILABLE",4,"ngIf"],["storefrontTranslate","ISSUE_ACTION_PURCHASE",3,"storefrontTranslateArgs",4,"ngIf"],["storefrontTranslate","ISSUE_ACTION_PURCHASE_LOADING"],["storefrontTranslate","ISSUE_ACTION_PURCHASE_UNAVAILABLE"],["storefrontTranslate","ISSUE_ACTION_PURCHASE",3,"storefrontTranslateArgs"],["mat-ripple","","storefrontTranslate","ISSUE_ACTION_SUBSCRIBE",1,"button-subscribe","action-button",3,"click"],["mat-ripple","","storefrontTranslate","ISSUE_ACTION_LOGIN",1,"button-login","action-button",3,"click"],["mat-ripple","","storefrontTranslate","ISSUE_ACTION_COUPON",1,"button-coupon","action-button",3,"click"],[1,"pxp-button","button-custom",3,"baseConfig","disableAnchor","baseContext"],[1,"button-custom",3,"baseConfig","disableAnchor","baseContext"],[1,"issue-state"],[3,"progress","type","showBorder",4,"ngIf"],["class","icon icon-download-circle","mat-ripple","",3,"disabled","click",4,"ngIf"],["class","icon icon-delete","mat-ripple","",3,"disabled","click",4,"ngIf"],[3,"progress","type","showBorder"],["mat-ripple","",1,"icon","icon-download-circle",3,"click","disabled"],["mat-ripple","",1,"icon","icon-delete",3,"click","disabled"]],template:function(h,d){1&h&&t.DNE(0,Z,7,2,"ng-container",2)(1,st,7,1,"ng-container",2),2&h&&(t.Y8G("ngIf",!d.issue||d.dataSourceError),t.R7$(),t.Y8G("ngIf",d.issue&&d.config&&!d.dataSourceError))},dependencies:[e.YU,e.Sq,e.bT,e.T3,I.X,y.G,O.M,G.t,m.r6,P.Q,k.U,w.h,x.x,E.w,D.Z],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-issue,div.pxp-issue{display:flex;flex-direction:column;position:relative}storefront-issue .issue-image,div.pxp-issue .issue-image{position:relative;overflow:hidden}storefront-issue .issue-image storefront-spinner,storefront-issue .issue-image .pxp-spinner,div.pxp-issue .issue-image storefront-spinner,div.pxp-issue .issue-image .pxp-spinner{position:absolute;top:0;height:100%;width:100%;background-color:#0000001a}storefront-issue .issue-image .issue-update-badge,div.pxp-issue .issue-image .issue-update-badge{--paddingVert: .25em;--fontSize: .8em;--width: 200%;--offset: calc(var(--fontSize) * 3);position:absolute;top:calc(var(--fontSize) + var(--paddingVert));left:calc(var(--width) / -2 + var(--offset));display:flex;justify-content:center;width:var(--width);padding:var(--paddingVert) 0;background:var(--issueUpdateBadgeBgColor);transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}@media (max-width: 767px) and (orientation: portrait){storefront-issue .issue-image .issue-update-badge,div.pxp-issue .issue-image .issue-update-badge{--fontSize: .6em}}@media (max-width: 330px) and (orientation: portrait){storefront-issue .issue-image .issue-update-badge,div.pxp-issue .issue-image .issue-update-badge{--fontSize: .6em}}storefront-issue .issue-image .issue-update-badge span,div.pxp-issue .issue-image .issue-update-badge span{max-width:80px;text-align:center;font-size:var(--fontSize);color:var(--issueUpdateBadgeColor);-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;text-overflow:ellipsis;overflow:hidden}@media (max-width: 767px) and (orientation: portrait){storefront-issue .issue-image .issue-update-badge span,div.pxp-issue .issue-image .issue-update-badge span{max-width:60px}}@media (max-width: 330px) and (orientation: portrait){storefront-issue .issue-image .issue-update-badge span,div.pxp-issue .issue-image .issue-update-badge span{max-width:60px}}storefront-issue storefront-progress[type=BAR],storefront-issue .pxp-progress[type=BAR],div.pxp-issue storefront-progress[type=BAR],div.pxp-issue .pxp-progress[type=BAR]{display:none;position:absolute;background-color:var(--issueProgressBgColor);border-radius:var(--borderRadius);overflow:hidden;text-align:center;padding:var(--issueProgressPaddingVert) var(--issueProgressPaddingHoriz);z-index:0;bottom:0;left:0;right:0;top:0}storefront-issue .issue-image storefront-progress[type=BAR],storefront-issue .issue-image .pxp-progress[type=BAR],div.pxp-issue .issue-image storefront-progress[type=BAR],div.pxp-issue .issue-image .pxp-progress[type=BAR]{top:auto;bottom:var(--issueProgressMarginVert);left:var(--issueProgressMarginHoriz);right:var(--issueProgressMarginHoriz)}storefront-issue .issue-data,div.pxp-issue .issue-data{display:flex;flex-direction:column;overflow:hidden;flex-grow:1}storefront-issue .issue-data .issue-description-expand-toggle,div.pxp-issue .issue-data .issue-description-expand-toggle{display:none}storefront-issue .issue-data .issue-description-expand-toggle i,div.pxp-issue .issue-data .issue-description-expand-toggle i{display:inline-block;transition:transform .3s ease;font-size:12px;padding:0 4px}storefront-issue .issue-title,div.pxp-issue .issue-title{margin:.5em 0}storefront-issue .issue-description,div.pxp-issue .issue-description{color:var(--secondaryTextColor);width:100%;white-space:pre-wrap}storefront-issue .issue-custom-message,div.pxp-issue .issue-custom-message{color:var(--textColor)}storefront-issue storefront-image,storefront-issue .pxp-image,div.pxp-issue storefront-image,div.pxp-issue .pxp-image{width:100%}storefront-issue .issue-actions,div.pxp-issue .issue-actions{display:none;justify-content:space-between;z-index:1}storefront-issue .issue-actions button,div.pxp-issue .issue-actions button{color:#fff;background-color:var(--secondaryColor);padding:0}storefront-issue .issue-actions button.button-purchase,storefront-issue .issue-actions button.button-subscribe,storefront-issue .issue-actions button.button-download,storefront-issue .issue-actions button.button-read,div.pxp-issue .issue-actions button.button-purchase,div.pxp-issue .issue-actions button.button-subscribe,div.pxp-issue .issue-actions button.button-download,div.pxp-issue .issue-actions button.button-read{background-color:var(--primaryColor)}storefront-issue .issue-actions button.button-state-downloading.button-state-INCOMPLETE .progress-percentage,div.pxp-issue .issue-actions button.button-state-downloading.button-state-INCOMPLETE .progress-percentage{display:none}storefront-issue .issue-actions button[disabled],div.pxp-issue .issue-actions button[disabled]{opacity:.5}storefront-issue .issue-actions button span,div.pxp-issue .issue-actions button span{position:relative;z-index:1}storefront-issue .issue-actions button.icon,div.pxp-issue .issue-actions button.icon{color:var(--primaryColor);background-color:transparent;width:1.4em;height:1.4em;font-size:1.4em}storefront-issue .issue-state,div.pxp-issue .issue-state{display:none}storefront-issue .issue-error .action-button,div.pxp-issue .issue-error .action-button{background-color:var(--secondaryColor);color:#fff;display:block}storefront-issue[template=cover] .issue-image,div.pxp-issue[template=cover] .issue-image{width:100%}storefront-issue[template=cover] .issue-image storefront-image[height-strategy=FIXED],storefront-issue[template=cover] .issue-image .pxp-image[height-strategy=FIXED],div.pxp-issue[template=cover] .issue-image storefront-image[height-strategy=FIXED],div.pxp-issue[template=cover] .issue-image .pxp-image[height-strategy=FIXED]{padding-top:133%}storefront-issue[template=cover] .issue-data,div.pxp-issue[template=cover] .issue-data{flex-direction:row;align-items:center}storefront-issue[template=cover] .issue-data>i,storefront-issue[template=cover] .issue-data .issue-state i,storefront-issue[template=cover] .issue-data .issue-state button,storefront-issue[template=cover] .issue-data .issue-state storefront-progress,storefront-issue[template=cover] .issue-data .issue-state storefront-spinner,storefront-issue[template=cover] .issue-data .issue-state .pxp-progress,storefront-issue[template=cover] .issue-data .issue-state .pxp-spinner,div.pxp-issue[template=cover] .issue-data>i,div.pxp-issue[template=cover] .issue-data .issue-state i,div.pxp-issue[template=cover] .issue-data .issue-state button,div.pxp-issue[template=cover] .issue-data .issue-state storefront-progress,div.pxp-issue[template=cover] .issue-data .issue-state storefront-spinner,div.pxp-issue[template=cover] .issue-data .issue-state .pxp-progress,div.pxp-issue[template=cover] .issue-data .issue-state .pxp-spinner{font-size:21px;height:22px;width:22px;color:var(--secondaryColor)}storefront-issue[template=cover] .issue-data>i.icon-delete,storefront-issue[template=cover] .issue-data .issue-state i.icon-delete,storefront-issue[template=cover] .issue-data .issue-state button.icon-delete,storefront-issue[template=cover] .issue-data .issue-state storefront-progress.icon-delete,storefront-issue[template=cover] .issue-data .issue-state storefront-spinner.icon-delete,storefront-issue[template=cover] .issue-data .issue-state .pxp-progress.icon-delete,storefront-issue[template=cover] .issue-data .issue-state .pxp-spinner.icon-delete,div.pxp-issue[template=cover] .issue-data>i.icon-delete,div.pxp-issue[template=cover] .issue-data .issue-state i.icon-delete,div.pxp-issue[template=cover] .issue-data .issue-state button.icon-delete,div.pxp-issue[template=cover] .issue-data .issue-state storefront-progress.icon-delete,div.pxp-issue[template=cover] .issue-data .issue-state storefront-spinner.icon-delete,div.pxp-issue[template=cover] .issue-data .issue-state .pxp-progress.icon-delete,div.pxp-issue[template=cover] .issue-data .issue-state .pxp-spinner.icon-delete{width:42px;height:42px;position:absolute;top:-20px;right:-20px;border-radius:100%;font-size:10px;color:#fff;padding:10px}storefront-issue[template=cover] .issue-data>i.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state i.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state button.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state storefront-progress.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state storefront-spinner.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state .pxp-progress.icon-delete:after,storefront-issue[template=cover] .issue-data .issue-state .pxp-spinner.icon-delete:after,div.pxp-issue[template=cover] .issue-data>i.icon-delete:after,div.pxp-issue[template=cover] .issue-data .issue-state i.icon-delete:after,div.pxp-issue[template=cover] .issue-data .issue-state button.icon-delete:after,div.pxp-issue[template=cover] .issue-data .issue-state storefront-progress.icon-delete:after,div.pxp-issue[template=cover] .issue-data .issue-state storefront-spinner.icon-delete:after,div.pxp-issue[template=cover] .issue-data .issue-state .pxp-progress.icon-delete:after,div.pxp-issue[template=cover] .issue-data .issue-state .pxp-spinner.icon-delete:after{background-color:var(--secondaryColor);width:22px;height:22px;border-radius:100%;display:flex;justify-content:center;align-items:center}storefront-issue[template=cover] .issue-state,div.pxp-issue[template=cover] .issue-state{display:flex;right:0;bottom:0}storefront-issue[template=cover] .issue-state storefront-spinner,storefront-issue[template=cover] .issue-state .pxp-spinner,div.pxp-issue[template=cover] .issue-state storefront-spinner,div.pxp-issue[template=cover] .issue-state .pxp-spinner{position:relative;z-index:1;--spinnerColor: var(--secondaryColor);background-color:transparent;padding:0}storefront-issue[template=cover] .issue-title,div.pxp-issue[template=cover] .issue-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-grow:1}storefront-issue[template=cover] .issue-publication-title,storefront-issue[template=cover] .issue-description,storefront-issue[template=cover] .issue-categories,storefront-issue[template=cover] .issue-tags,storefront-issue[template=cover] .issue-pub-date,storefront-issue[template=cover] .issue-properties,storefront-issue[template=cover] .issue-custom-message,div.pxp-issue[template=cover] .issue-publication-title,div.pxp-issue[template=cover] .issue-description,div.pxp-issue[template=cover] .issue-categories,div.pxp-issue[template=cover] .issue-tags,div.pxp-issue[template=cover] .issue-pub-date,div.pxp-issue[template=cover] .issue-properties,div.pxp-issue[template=cover] .issue-custom-message{display:none}storefront-issue[template=cover] .issue-publication-title .issue-tag,storefront-issue[template=cover] .issue-publication-title .issue-category,storefront-issue[template=cover] .issue-description .issue-tag,storefront-issue[template=cover] .issue-description .issue-category,storefront-issue[template=cover] .issue-categories .issue-tag,storefront-issue[template=cover] .issue-categories .issue-category,storefront-issue[template=cover] .issue-tags .issue-tag,storefront-issue[template=cover] .issue-tags .issue-category,storefront-issue[template=cover] .issue-pub-date .issue-tag,storefront-issue[template=cover] .issue-pub-date .issue-category,storefront-issue[template=cover] .issue-properties .issue-tag,storefront-issue[template=cover] .issue-properties .issue-category,storefront-issue[template=cover] .issue-custom-message .issue-tag,storefront-issue[template=cover] .issue-custom-message .issue-category,div.pxp-issue[template=cover] .issue-publication-title .issue-tag,div.pxp-issue[template=cover] .issue-publication-title .issue-category,div.pxp-issue[template=cover] .issue-description .issue-tag,div.pxp-issue[template=cover] .issue-description .issue-category,div.pxp-issue[template=cover] .issue-categories .issue-tag,div.pxp-issue[template=cover] .issue-categories .issue-category,div.pxp-issue[template=cover] .issue-tags .issue-tag,div.pxp-issue[template=cover] .issue-tags .issue-category,div.pxp-issue[template=cover] .issue-pub-date .issue-tag,div.pxp-issue[template=cover] .issue-pub-date .issue-category,div.pxp-issue[template=cover] .issue-properties .issue-tag,div.pxp-issue[template=cover] .issue-properties .issue-category,div.pxp-issue[template=cover] .issue-custom-message .issue-tag,div.pxp-issue[template=cover] .issue-custom-message .issue-category{display:none}storefront-issue[template=card],div.pxp-issue[template=card]{padding-bottom:var(--gutter);overflow:hidden;background-color:#fff}storefront-issue[template=card] storefront-image[height-strategy=FIXED],storefront-issue[template=card] .pxp-image[height-strategy=FIXED],div.pxp-issue[template=card] storefront-image[height-strategy=FIXED],div.pxp-issue[template=card] .pxp-image[height-strategy=FIXED]{padding-top:75%}storefront-issue[template=card] storefront-image[height-strategy=FIXED]>img,storefront-issue[template=card] .pxp-image[height-strategy=FIXED]>img,div.pxp-issue[template=card] storefront-image[height-strategy=FIXED]>img,div.pxp-issue[template=card] .pxp-image[height-strategy=FIXED]>img{object-fit:cover;width:100%}storefront-issue[template=card] .issue-title,storefront-issue[template=card] .issue-pub-date,storefront-issue[template=card] .issue-description,div.pxp-issue[template=card] .issue-title,div.pxp-issue[template=card] .issue-pub-date,div.pxp-issue[template=card] .issue-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-left:calc(var(--gutter) / 2);margin-right:calc(var(--gutter) / 2);width:initial}storefront-issue[template=card] .issue-publication-title,storefront-issue[template=card] .issue-categories,storefront-issue[template=card] .issue-tags,storefront-issue[template=card] .issue-properties,storefront-issue[template=card] .issue-custom-message,div.pxp-issue[template=card] .issue-publication-title,div.pxp-issue[template=card] .issue-categories,div.pxp-issue[template=card] .issue-tags,div.pxp-issue[template=card] .issue-properties,div.pxp-issue[template=card] .issue-custom-message{display:none}storefront-issue[template=card] .issue-publication-title .issue-tag,storefront-issue[template=card] .issue-publication-title .issue-category,storefront-issue[template=card] .issue-categories .issue-tag,storefront-issue[template=card] .issue-categories .issue-category,storefront-issue[template=card] .issue-tags .issue-tag,storefront-issue[template=card] .issue-tags .issue-category,storefront-issue[template=card] .issue-properties .issue-tag,storefront-issue[template=card] .issue-properties .issue-category,storefront-issue[template=card] .issue-custom-message .issue-tag,storefront-issue[template=card] .issue-custom-message .issue-category,div.pxp-issue[template=card] .issue-publication-title .issue-tag,div.pxp-issue[template=card] .issue-publication-title .issue-category,div.pxp-issue[template=card] .issue-categories .issue-tag,div.pxp-issue[template=card] .issue-categories .issue-category,div.pxp-issue[template=card] .issue-tags .issue-tag,div.pxp-issue[template=card] .issue-tags .issue-category,div.pxp-issue[template=card] .issue-properties .issue-tag,div.pxp-issue[template=card] .issue-properties .issue-category,div.pxp-issue[template=card] .issue-custom-message .issue-tag,div.pxp-issue[template=card] .issue-custom-message .issue-category{display:none}storefront-issue[template=highlight],div.pxp-issue[template=highlight]{flex-direction:row;padding:calc(var(--gutter) / 2);width:100%}storefront-issue[template=highlight] .issue-image,div.pxp-issue[template=highlight] .issue-image{width:calc(43% - var(--gutter) / 2);margin-right:var(--gutter);flex-shrink:0;align-self:flex-end}storefront-issue[template=highlight] .issue-image storefront-image[height-strategy=FIXED],storefront-issue[template=highlight] .issue-image .pxp-image[height-strategy=FIXED],div.pxp-issue[template=highlight] .issue-image storefront-image[height-strategy=FIXED],div.pxp-issue[template=highlight] .issue-image .pxp-image[height-strategy=FIXED]{padding-top:133%}@media (max-width: 533px) and (orientation: portrait),(max-height: 533px) and (orientation: landscape){storefront-issue[template=highlight] .issue-image,div.pxp-issue[template=highlight] .issue-image{width:calc(50% - (var(--gutter)))}}storefront-issue[template=highlight] storefront-progress[type=BAR],storefront-issue[template=highlight] .pxp-progress[type=BAR],div.pxp-issue[template=highlight] storefront-progress[type=BAR],div.pxp-issue[template=highlight] .pxp-progress[type=BAR]{display:block}storefront-issue[template=highlight] .issue-data,div.pxp-issue[template=highlight] .issue-data{margin-left:var(--gutter)}storefront-issue[template=highlight] .issue-title,div.pxp-issue[template=highlight] .issue-title{font-size:2em;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}storefront-issue[template=highlight] .issue-publication-title,storefront-issue[template=highlight] .issue-pub-date,storefront-issue[template=highlight] .issue-properties,storefront-issue[template=highlight] .issue-categories,storefront-issue[template=highlight] .issue-tags,div.pxp-issue[template=highlight] .issue-publication-title,div.pxp-issue[template=highlight] .issue-pub-date,div.pxp-issue[template=highlight] .issue-properties,div.pxp-issue[template=highlight] .issue-categories,div.pxp-issue[template=highlight] .issue-tags{display:none}storefront-issue[template=highlight] .issue-publication-title .issue-tag,storefront-issue[template=highlight] .issue-publication-title .issue-category,storefront-issue[template=highlight] .issue-pub-date .issue-tag,storefront-issue[template=highlight] .issue-pub-date .issue-category,storefront-issue[template=highlight] .issue-properties .issue-tag,storefront-issue[template=highlight] .issue-properties .issue-category,storefront-issue[template=highlight] .issue-categories .issue-tag,storefront-issue[template=highlight] .issue-categories .issue-category,storefront-issue[template=highlight] .issue-tags .issue-tag,storefront-issue[template=highlight] .issue-tags .issue-category,div.pxp-issue[template=highlight] .issue-publication-title .issue-tag,div.pxp-issue[template=highlight] .issue-publication-title .issue-category,div.pxp-issue[template=highlight] .issue-pub-date .issue-tag,div.pxp-issue[template=highlight] .issue-pub-date .issue-category,div.pxp-issue[template=highlight] .issue-properties .issue-tag,div.pxp-issue[template=highlight] .issue-properties .issue-category,div.pxp-issue[template=highlight] .issue-categories .issue-tag,div.pxp-issue[template=highlight] .issue-categories .issue-category,div.pxp-issue[template=highlight] .issue-tags .issue-tag,div.pxp-issue[template=highlight] .issue-tags .issue-category{display:none}storefront-issue[template=highlight] .issue-custom-message,div.pxp-issue[template=highlight] .issue-custom-message{margin:var(--gutter) 0}storefront-issue[template=highlight] .issue-actions,div.pxp-issue[template=highlight] .issue-actions{display:flex;flex-direction:column;flex-grow:1;justify-content:flex-end}storefront-issue[template=highlight] .issue-actions storefront-button button,storefront-issue[template=highlight] .issue-actions .pxp-button button,div.pxp-issue[template=highlight] .issue-actions storefront-button button,div.pxp-issue[template=highlight] .issue-actions .pxp-button button{width:100%}storefront-issue[template=details] .issue-image storefront-image[height-strategy=FIXED],storefront-issue[template=details] .issue-image .pxp-image[height-strategy=FIXED],div.pxp-issue[template=details] .issue-image storefront-image[height-strategy=FIXED],div.pxp-issue[template=details] .issue-image .pxp-image[height-strategy=FIXED]{padding-top:133%}storefront-issue[template=details] .issue-data,div.pxp-issue[template=details] .issue-data{align-items:center}storefront-issue[template=details] .issue-data.expanded .issue-description,div.pxp-issue[template=details] .issue-data.expanded .issue-description{-webkit-line-clamp:unset}storefront-issue[template=details] .issue-data.expanded .issue-description-expand-toggle,div.pxp-issue[template=details] .issue-data.expanded .issue-description-expand-toggle{display:block}storefront-issue[template=details] .issue-data.expanded .issue-description-expand-toggle i,div.pxp-issue[template=details] .issue-data.expanded .issue-description-expand-toggle i{transform:rotate(180deg)}storefront-issue[template=details] .issue-data .issue-publication-title,storefront-issue[template=details] .issue-data .issue-properties,storefront-issue[template=details] .issue-data .issue-categories,storefront-issue[template=details] .issue-data .issue-tags,div.pxp-issue[template=details] .issue-data .issue-publication-title,div.pxp-issue[template=details] .issue-data .issue-properties,div.pxp-issue[template=details] .issue-data .issue-categories,div.pxp-issue[template=details] .issue-data .issue-tags{display:none}storefront-issue[template=details] .issue-data .issue-publication-title .issue-tag,storefront-issue[template=details] .issue-data .issue-publication-title .issue-category,storefront-issue[template=details] .issue-data .issue-publication-title .issue-property,storefront-issue[template=details] .issue-data .issue-properties .issue-tag,storefront-issue[template=details] .issue-data .issue-properties .issue-category,storefront-issue[template=details] .issue-data .issue-properties .issue-property,storefront-issue[template=details] .issue-data .issue-categories .issue-tag,storefront-issue[template=details] .issue-data .issue-categories .issue-category,storefront-issue[template=details] .issue-data .issue-categories .issue-property,storefront-issue[template=details] .issue-data .issue-tags .issue-tag,storefront-issue[template=details] .issue-data .issue-tags .issue-category,storefront-issue[template=details] .issue-data .issue-tags .issue-property,div.pxp-issue[template=details] .issue-data .issue-publication-title .issue-tag,div.pxp-issue[template=details] .issue-data .issue-publication-title .issue-category,div.pxp-issue[template=details] .issue-data .issue-publication-title .issue-property,div.pxp-issue[template=details] .issue-data .issue-properties .issue-tag,div.pxp-issue[template=details] .issue-data .issue-properties .issue-category,div.pxp-issue[template=details] .issue-data .issue-properties .issue-property,div.pxp-issue[template=details] .issue-data .issue-categories .issue-tag,div.pxp-issue[template=details] .issue-data .issue-categories .issue-category,div.pxp-issue[template=details] .issue-data .issue-categories .issue-property,div.pxp-issue[template=details] .issue-data .issue-tags .issue-tag,div.pxp-issue[template=details] .issue-data .issue-tags .issue-category,div.pxp-issue[template=details] .issue-data .issue-tags .issue-property{display:none}storefront-issue[template=details] storefront-image[height-strategy=FIXED],storefront-issue[template=details] .pxp-image[height-strategy=FIXED],div.pxp-issue[template=details] storefront-image[height-strategy=FIXED],div.pxp-issue[template=details] .pxp-image[height-strategy=FIXED]{padding-top:133%}storefront-issue[template=details] storefront-progress[type=BAR],storefront-issue[template=details] .pxp-progress[type=BAR],div.pxp-issue[template=details] storefront-progress[type=BAR],div.pxp-issue[template=details] .pxp-progress[type=BAR]{display:block}storefront-issue[template=details] .issue-pub-date,div.pxp-issue[template=details] .issue-pub-date{display:none}storefront-issue[template=details] .issue-description,div.pxp-issue[template=details] .issue-description{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;text-overflow:ellipsis;overflow:hidden}storefront-issue[template=details] .issue-description.scrollable-vert+.issue-description-expand-toggle,div.pxp-issue[template=details] .issue-description.scrollable-vert+.issue-description-expand-toggle{display:flex}storefront-issue[template=details] .issue-description-expand-toggle,div.pxp-issue[template=details] .issue-description-expand-toggle{align-self:flex-start}storefront-issue[template=details] .issue-custom-message,div.pxp-issue[template=details] .issue-custom-message{margin-top:var(--gutter)}storefront-issue[template=details] .issue-actions,div.pxp-issue[template=details] .issue-actions{display:grid;width:100%;grid-template-columns:1fr 1fr;grid-column-gap:var(--gutter);margin-top:var(--gutter)}storefront-issue[template=details] .issue-actions>button:nth-child(odd):last-child,storefront-issue[template=details] .issue-actions>storefront-button:nth-child(odd):last-child,storefront-issue[template=details] .issue-actions>.pxp-button:nth-child(odd):last-child,div.pxp-issue[template=details] .issue-actions>button:nth-child(odd):last-child,div.pxp-issue[template=details] .issue-actions>storefront-button:nth-child(odd):last-child,div.pxp-issue[template=details] .issue-actions>.pxp-button:nth-child(odd):last-child{grid-column:1/3}storefront-issue[template=details] .issue-actions storefront-button button,storefront-issue[template=details] .issue-actions .pxp-button button,div.pxp-issue[template=details] .issue-actions storefront-button button,div.pxp-issue[template=details] .issue-actions .pxp-button button{width:100%}storefront-issue[template=group],div.pxp-issue[template=group]{flex-direction:row}storefront-issue[template=group] .issue-image,div.pxp-issue[template=group] .issue-image{width:100%}storefront-issue[template=group] .issue-image storefront-image[height-strategy=FIXED],storefront-issue[template=group] .issue-image .pxp-image[height-strategy=FIXED],div.pxp-issue[template=group] .issue-image storefront-image[height-strategy=FIXED],div.pxp-issue[template=group] .issue-image .pxp-image[height-strategy=FIXED]{padding-top:133%}storefront-issue[template=group] .issue-data,div.pxp-issue[template=group] .issue-data{flex-direction:column}storefront-issue[template=group] .issue-title,div.pxp-issue[template=group] .issue-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}storefront-issue[template=group] .issue-actions,div.pxp-issue[template=group] .issue-actions{display:flex;justify-content:flex-start}storefront-issue[template=group] .issue-actions>button,div.pxp-issue[template=group] .issue-actions>button{display:none}storefront-issue[template=group] i,storefront-issue[template=group] .issue-publication-title,storefront-issue[template=group] .issue-pub-date,storefront-issue[template=group] .issue-description,storefront-issue[template=group] .issue-description-expand-toggle,storefront-issue[template=group] .issue-properties,storefront-issue[template=group] .issue-categories,storefront-issue[template=group] .issue-tags,storefront-issue[template=group] .issue-state,storefront-issue[template=group] .issue-update-badge,div.pxp-issue[template=group] i,div.pxp-issue[template=group] .issue-publication-title,div.pxp-issue[template=group] .issue-pub-date,div.pxp-issue[template=group] .issue-description,div.pxp-issue[template=group] .issue-description-expand-toggle,div.pxp-issue[template=group] .issue-properties,div.pxp-issue[template=group] .issue-categories,div.pxp-issue[template=group] .issue-tags,div.pxp-issue[template=group] .issue-state,div.pxp-issue[template=group] .issue-update-badge{display:none}storefront-issue[template=group] i .issue-tag,storefront-issue[template=group] i .issue-category,storefront-issue[template=group] .issue-publication-title .issue-tag,storefront-issue[template=group] .issue-publication-title .issue-category,storefront-issue[template=group] .issue-pub-date .issue-tag,storefront-issue[template=group] .issue-pub-date .issue-category,storefront-issue[template=group] .issue-description .issue-tag,storefront-issue[template=group] .issue-description .issue-category,storefront-issue[template=group] .issue-description-expand-toggle .issue-tag,storefront-issue[template=group] .issue-description-expand-toggle .issue-category,storefront-issue[template=group] .issue-properties .issue-tag,storefront-issue[template=group] .issue-properties .issue-category,storefront-issue[template=group] .issue-categories .issue-tag,storefront-issue[template=group] .issue-categories .issue-category,storefront-issue[template=group] .issue-tags .issue-tag,storefront-issue[template=group] .issue-tags .issue-category,storefront-issue[template=group] .issue-state .issue-tag,storefront-issue[template=group] .issue-state .issue-category,storefront-issue[template=group] .issue-update-badge .issue-tag,storefront-issue[template=group] .issue-update-badge .issue-category,div.pxp-issue[template=group] i .issue-tag,div.pxp-issue[template=group] i .issue-category,div.pxp-issue[template=group] .issue-publication-title .issue-tag,div.pxp-issue[template=group] .issue-publication-title .issue-category,div.pxp-issue[template=group] .issue-pub-date .issue-tag,div.pxp-issue[template=group] .issue-pub-date .issue-category,div.pxp-issue[template=group] .issue-description .issue-tag,div.pxp-issue[template=group] .issue-description .issue-category,div.pxp-issue[template=group] .issue-description-expand-toggle .issue-tag,div.pxp-issue[template=group] .issue-description-expand-toggle .issue-category,div.pxp-issue[template=group] .issue-properties .issue-tag,div.pxp-issue[template=group] .issue-properties .issue-category,div.pxp-issue[template=group] .issue-categories .issue-tag,div.pxp-issue[template=group] .issue-categories .issue-category,div.pxp-issue[template=group] .issue-tags .issue-tag,div.pxp-issue[template=group] .issue-tags .issue-category,div.pxp-issue[template=group] .issue-state .issue-tag,div.pxp-issue[template=group] .issue-state .issue-category,div.pxp-issue[template=group] .issue-update-badge .issue-tag,div.pxp-issue[template=group] .issue-update-badge .issue-category{display:none}storefront-issue.locked .issue-actions button.icon-share,div.pxp-issue.locked .issue-actions button.icon-share{display:none}storefront-issue.ghost,div.pxp-issue.ghost{pointer-events:none}storefront-issue.ghost .issue-image,div.pxp-issue.ghost .issue-image{animation:ghost-opacity 2s infinite linear;background-color:var(--ghostColor);margin-bottom:var(--gutter)}storefront-issue.ghost .issue-image storefront-image,storefront-issue.ghost .issue-image .pxp-image,div.pxp-issue.ghost .issue-image storefront-image,div.pxp-issue.ghost .issue-image .pxp-image{background-color:transparent}storefront-issue.ghost[template=highlight]>.issue-image,div.pxp-issue.ghost[template=highlight]>.issue-image{margin-bottom:0}storefront-issue.ghost[template=highlight]>.issue-image>storefront-image,storefront-issue.ghost[template=highlight]>.issue-image>.pxp-image,div.pxp-issue.ghost[template=highlight]>.issue-image>storefront-image,div.pxp-issue.ghost[template=highlight]>.issue-image>.pxp-image{margin-bottom:0}storefront-issue.ghost[template=highlight] .issue-description,storefront-issue.ghost[template=highlight] .issue-title,div.pxp-issue.ghost[template=highlight] .issue-description,div.pxp-issue.ghost[template=highlight] .issue-title{width:100%;margin-bottom:0}storefront-issue.ghost[template=cover] storefront-image,storefront-issue.ghost[template=cover] .pxp-image,div.pxp-issue.ghost[template=cover] storefront-image,div.pxp-issue.ghost[template=cover] .pxp-image{padding-top:133%}storefront-issue.ghost[template=card] storefront-image,storefront-issue.ghost[template=card] .pxp-image,div.pxp-issue.ghost[template=card] storefront-image,div.pxp-issue.ghost[template=card] .pxp-image{padding-top:75%}storefront-issue.ghost .issue-description,storefront-issue.ghost .issue-title,div.pxp-issue.ghost .issue-description,div.pxp-issue.ghost .issue-title{background-color:var(--ghostColor);color:transparent;border-radius:4px;width:90%;height:1.2em;margin-bottom:calc(var(--gutter) / 2)!important;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}storefront-issue.ghost .issue-description,div.pxp-issue.ghost .issue-description{height:3em}storefront-issue.error .issue-data,div.pxp-issue.error .issue-data{display:none}storefront-issue.error[template=cover] .issue-error,storefront-issue.error[template=card] .issue-error,storefront-issue.error[template=details] .issue-error,div.pxp-issue.error[template=cover] .issue-error,div.pxp-issue.error[template=card] .issue-error,div.pxp-issue.error[template=details] .issue-error{margin-top:var(--gutter)}\n'],encapsulation:2,changeDetection:0}),c})()},1367:(X,A,u)=>{u.r(A),u.d(A,{IssueModule:()=>D,component:()=>T});var l=u(177),f=u(4744),t=u(3363),e=u(8301),I=u(6483),y=u(6215),O=u(1605),G=u(3),m=u(6953),P=u(9805),k=u(4767),w=u(4403),x=u(4354),E=u(4438);let D=(()=>{var b;class ${}return(b=$).\u0275fac=function(V){return new(V||b)},b.\u0275mod=E.$C({type:b}),b.\u0275inj=E.G2t({imports:[l.MD,t.E,e.d,I.h,y.O,O.P,k.d,G.pZ,m.n,P.ButtonModule,w.U]}),$})();const T={component:f.z,leanDomComponent:x.n}},3092:(X,A,u)=>{u.d(A,{X:()=>w,s:()=>k});var l=u(4438),f=u(345),t=u(5927);function e(x,E){1&x&&l.nrm(0,"div",5)}function I(x,E){if(1&x&&(l.qex(0),l.nrm(1,"div",1),l.j41(2,"div",2),l.nrm(3,"div",3),l.k0s(),l.DNE(4,e,1,0,"div",4),l.bVm()),2&x){const D=l.XpG();l.R7$(2),l.xc7("-webkit-clip-path",D.getClipPath())("clip-path",D.getClipPath()),l.R7$(2),l.Y8G("ngIf",D.showBorder)}}function y(x,E){if(1&x&&(l.qex(0),l.j41(1,"div",6),l.nrm(2,"div",7)(3,"div",8),l.k0s(),l.bVm()),2&x){const D=l.XpG();l.R7$(2),l.xc7("width",D.progress,"%"),l.R7$(),l.Y8G("storefrontTranslate",D.message)}}function O(x,E){1&x&&l.nrm(0,"div",9)}function G(x,E){1&x&&l.nrm(0,"storefront-spinner",10)}function m(x,E){1&x&&l.nrm(0,"div",5)}function P(x,E){if(1&x&&(l.qex(0),l.DNE(1,O,1,0,"div",9)(2,G,1,0,"storefront-spinner",10)(3,m,1,0,"div",4),l.j41(4,"div",11),l.EFF(5),l.k0s(),l.nrm(6,"i",12),l.bVm()),2&x){const D=l.XpG();l.R7$(),l.vxM(D.domHelper.leanDom?1:2),l.R7$(2),l.Y8G("ngIf",D.showBorder),l.R7$(2),l.SpI("",D.progress,"%")}}var k=function(x){return x.RADIAL="RADIAL",x.BAR="BAR",x.NUMERIC="NUMERIC",x}(k||{});let w=(()=>{var x;class E{get regularType(){return this.domHelper.regularSelector(this.type)}get prefixedType(){return this.domHelper.prefixedSelector(this.type)}constructor(T,b){this.sanitizer=T,this.domHelper=b,this.type=k.RADIAL,this.showBorder=!1,this.message="ISSUE_ACTION_DOWNLOADING",this.progressOnBorder=!1}getClipPath(){let T;const b=this.progress;return T=b<=12.5?"polygon(50% 0, 50% 50%, ".concat(50+4*b,"% 0, 100% 0)"):b<=25?"polygon(50% 50%, 50% 0, 100% 0, 100% ".concat(4*(b-12.5),"%)"):b<=37.5?"polygon(50% 50%, 50% 0, 100% 0, 100% ".concat(4*(b-25)+50,"%)"):b<=75?"polygon(50% 50%, ".concat(100-4*(b-37.5),"% 100%, 100% 100%, 100% 0, 50% 0)"):b<=87.5?"polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 ".concat(50-4*(b-75),"%)"):"polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 0, ".concat(4*(b-87.5),"% 0)"),this.sanitizer.bypassSecurityTrustStyle(T)}}return(x=E).\u0275fac=function(T){return new(T||x)(l.rXU(f.up),l.rXU(t.S))},x.\u0275cmp=l.VBU({type:x,selectors:[["storefront-progress"]],hostVars:4,hostBindings:function(T,b){2&T&&(l.BMQ("type",b.regularType)("data-pxp-type",b.prefixedType),l.AVh("progress-on-border",b.progressOnBorder))},inputs:{type:"type",showBorder:"showBorder",message:"message",progressOnBorder:"progressOnBorder",progress:"progress"},standalone:!1,decls:3,vars:3,consts:[[4,"ngIf"],[1,"background-circle"],[1,"loader"],[1,"circle"],["class","border-circle",4,"ngIf"],[1,"border-circle"],[1,"bar"],[1,"bar-indicator"],[1,"bar-message",3,"storefrontTranslate"],["type","segments",1,"pxp-spinner","progress-spinner"],["type","segments",1,"progress-spinner"],[1,"bar-progress"],[1,"icon","icon-delete"]],template:function(T,b){1&T&&l.DNE(0,I,5,5,"ng-container",0)(1,y,4,3,"ng-container",0)(2,P,7,3,"ng-container",0),2&T&&(l.Y8G("ngIf","RADIAL"===b.type),l.R7$(),l.Y8G("ngIf","BAR"===b.type),l.R7$(),l.Y8G("ngIf","NUMERIC"===b.type))},styles:["storefront-progress[type=RADIAL],.pxp-progress[type=RADIAL]{position:relative;display:flex;width:22px;height:22px}storefront-progress[type=RADIAL] .loader,.pxp-progress[type=RADIAL] .loader{position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%);width:calc(100% + 2px);height:calc(100% + 2px);display:flex;align-items:center;justify-content:center}storefront-progress[type=RADIAL] .loader .circle,.pxp-progress[type=RADIAL] .loader .circle{width:calc(100% - 2px);height:calc(100% - 2px);background-color:var(--secondaryColor)}storefront-progress[type=RADIAL] .background-circle,storefront-progress[type=RADIAL] .border-circle,storefront-progress[type=RADIAL] .circle,.pxp-progress[type=RADIAL] .background-circle,.pxp-progress[type=RADIAL] .border-circle,.pxp-progress[type=RADIAL] .circle{border-radius:100%;box-sizing:border-box}storefront-progress[type=RADIAL] .background-circle,storefront-progress[type=RADIAL] .border-circle,.pxp-progress[type=RADIAL] .background-circle,.pxp-progress[type=RADIAL] .border-circle{position:absolute;left:50%;top:50%;transform:translate(-50%) translateY(-50%);width:100%;height:100%}storefront-progress[type=RADIAL] .border-circle,.pxp-progress[type=RADIAL] .border-circle{border:2px solid var(--secondaryColor)}storefront-progress[type=RADIAL].progress-on-border,.pxp-progress[type=RADIAL].progress-on-border{-webkit-mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' width='110' height='110'%3E%3Ccircle cx='55' cy='55' r='50' stroke='black' stroke-width='4' fill='none' /%3E%3C/svg%3E\");mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' width='110' height='110'%3E%3Ccircle cx='55' cy='55' r='50' stroke='black' stroke-width='4' fill='none' /%3E%3C/svg%3E\");-webkit-mask-size:100%;mask-size:100%}storefront-progress[type=BAR] .bar-indicator,.pxp-progress[type=BAR] .bar-indicator{position:absolute;height:100%;top:0;left:0;background-color:var(--issueProgressColor);transition:width .2s ease}storefront-progress[type=BAR] .bar-message,.pxp-progress[type=BAR] .bar-message{font-size:.8em;z-index:1;position:relative;color:var(--issueProgressFontColor)}storefront-progress[type=NUMERIC],.pxp-progress[type=NUMERIC]{display:flex;justify-content:space-between;align-items:center;padding:0 var(--gutter)}storefront-progress[type=NUMERIC] storefront-spinner.progress-spinner,storefront-progress[type=NUMERIC] .pxp-spinner.progress-spinner,.pxp-progress[type=NUMERIC] storefront-spinner.progress-spinner,.pxp-progress[type=NUMERIC] .pxp-spinner.progress-spinner{--spinnerColor: var(--issueProgressColor);position:relative;background:transparent;padding:0;display:flex;width:20px}storefront-progress[type=NUMERIC] i,.pxp-progress[type=NUMERIC] i{font-size:12px}\n"],encapsulation:2}),E})()},3363:(X,A,u)=>{u.d(A,{E:()=>m});var l=u(177),f=u(3092),t=u(6483),e=u(6215),I=u(4438),y=u(8909),O=u(7240),G=u(6962);let m=(()=>{var P;class k{}return(P=k).\u0275fac=function(x){return new(x||P)},P.\u0275mod=I.$C({type:P}),P.\u0275inj=I.G2t({imports:[l.MD,t.h,e.O]}),k})();I.wjB(f.X,[l.bT,y.M,O.t,G.n],[])},1739:(X,A,u)=>{function l(f){return f&&!!f.code}u.d(A,{b:()=>l})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_service_tts_tts_service_ts"],{5628:(V,P,o)=>{o.d(P,{z:()=>x});var S=o(9379),d=o(467),y=o(177),m=o(4438);function T(l,e={}){var t;return l.startsWith("//")&&(l=window.location.protocol+l),e.useFetch?fetch(l,{method:null!==(t=e.method)&&void 0!==t?t:"GET"}).then(s=>{if(s.status>399){if(e.returnRedirect)return{redirectUrl:s.url};throw new Error("Failed to load json ".concat(l," : ").concat(s.statusText))}return s.redirected&&e.returnRedirect?{response:s.json(),redirectUrl:s.url}:{response:s.json()}}):new Promise((s,i)=>{const n=new XMLHttpRequest;n.addEventListener("load",()=>{n.status>399&&i(new Error("Failed to load json ".concat(l," : ").concat(n.statusText)));try{s(JSON.parse(n.responseText))}catch(r){i()}}),n.addEventListener("error",()=>{i()}),n.open(e&&e.method||"GET",l),n.send()})}var O=o(1413),N=o(4412),L=o(7879),I=o(7370);let c=(()=>{var l;class e{}return(l=e).SPEECH_IDENTIFIER="TTS_SPEECH",l.SPEECH_RATE_IDENTIFIER="TTS_SPEECH_RATE",l.PLAYER_OPEN_IDENTIFIER="TTS_PLAYER_OPEN",l.AUDIO_PLAYING_IDENTIFIER="TTS_AUDIO_PLAYING",e})();class A{constructor(e){this.foundTagName="span",this.foundTagClass="word",this.skipClasses=[],this.skipTags=[],this.root=null,this.currentDepth=-1,this.currentNode=null,this.lastSuccessfulNode=null,this.lastSuccessfulDepth=-1,this.currentWord="";for(let t in e)this[t]=e[t];this.skipClassesRegex=new RegExp("("+this.skipClasses.map(t=>"".concat(t,"(?=(\\s|$))")).join("|")+")","i"),this.skipTagsRegex=new RegExp("("+this.skipTags.map(t=>"".concat(t,"(?=(\\s|$))")).join("|")+")","i")}reset(){this.root=null,this.currentDepth=-1,this.currentNode=null,this.lastSuccessfulNode=null,this.lastSuccessfulDepth=-1}next(e){return this.currentWord=e,null==this.lastSuccessfulNode?(this.currentNode=this.root.childNodes[0],this.currentDepth=1):(this.currentNode=this.lastSuccessfulNode,this.currentDepth=this.lastSuccessfulDepth),this.searchNodes()}searchNodes(){let e=null;for(;this.currentNode&&this.currentDepth>0&&null==e;){switch(this.currentNode.nodeType){case 1:if(!this.skipTagsRegex.test(this.currentNode.tagName)&&!this.skipClassesRegex.test(this.currentNode.className.toLowerCase())&&this.currentNode.childNodes.length>0&&!this.currentNode.classList.contains(this.foundTagClass)){this.currentNode=this.currentNode.childNodes[0],this.currentDepth++;continue}break;case 3:case 4:if(e=this.findTextInNode(),null!=e)return this.lastSuccessfulNode=e,this.lastSuccessfulDepth=this.currentDepth,this.currentNode=null,this.currentDepth=-1,e}if(this.currentNode.nextSibling)this.currentNode=this.currentNode.nextSibling;else for(;this.currentDepth>0;)if(this.currentNode=this.currentNode.parentNode,this.currentDepth--,this.currentNode.nextSibling){this.currentNode=this.currentNode.nextSibling;break}}return null}findTextInNode(){let t=this.currentNode&&this.currentNode.parentNode.tagName===this.foundTagName.toUpperCase()&&this.currentNode.parentNode.classList.contains(this.foundTagClass)?-1:this.currentNode.data.indexOf(this.currentWord);if(t>-1){let s=1===this.currentNode.nodeType?this.currentNode.firstChild:this.currentNode,i=t>0?s.splitText(t):s;i.splitText(this.currentWord.length);let n=document.createElement(this.foundTagName);n.setAttribute("class",this.foundTagClass);const r=i.parentNode;return n.innerText=i.data,r.replaceChild(n,i),n}return null}}class B{constructor(e,t,s,i,n,r,a){this.currentWordClassName="current",this.markersData=[],this.isScrolling=!1,this.previousMarker=null,this.wordFinder=new A({root:s,skipClasses:i,skipTags:n}),this.audio=e,this.markerSrc=t,this.ttsService=r,this.ttsPlayer=a}reset(e,t,s){this.wordFinder.root=s,this.audio=e,this.markerSrc=t}align(){return new Promise((e,t)=>{e(this.loadMarkers())})}selectWord(e){if(null!=this.markersData){let t=this.audio.currentTime;this.markersData.forEach((s,i)=>{let n=i<Object.keys(this.markersData).length-1?this.markersData[i+1]:null;if(t>=s.time&&(null==n||t<=n.time)&&!this.compareMarkers(s,this.previousMarker))for(let r of s.node){this.deselectWord(),this.previousMarker=s,r.classList.add(this.currentWordClassName);let a={top:80,bottom:185,left:0,right:0},u=this.isOutOfViewport(r,a);const p=this.ttsPlayer.contentElement.scrollTop,g=this.ttsPlayer.contentElement.clientHeight,h=this.ttsPlayer.contentElement.scrollHeight;if(this.isScrolling=this.isScrolling&&Math.floor(this.lastScrollTo)!=Math.floor(p)&&Math.floor(p)+g+1<h&&p+g<h,e&&u&&!this.isScrolling){let f=this.ttsPlayer.contentElement,v=r.getBoundingClientRect().top+f.scrollTop+f.offsetTop;const w=v-(v>a.top?a.top:0);f.scrollTo({top:w,behavior:"smooth"}),this.isScrolling=!0,this.lastScrollTo=w}}})}}deselectWord(){Array.from(document.getElementsByClassName(this.currentWordClassName)).forEach(e=>e.classList.remove(this.currentWordClassName))}loadMarkers(){var e=this;return(0,d.A)(function*(){try{e.markersData=(yield T(e.markerSrc)).markers,e.assignMarkers()}catch(t){console.error("Could not load markers: "+t)}})()}assignMarkers(){this.markersData.forEach(e=>{if(e.node=[],e.markerValues)for(let t of e.markerValues)this.createNode(this.encodeString(t),e);else this.createNode(this.encodeString(e.value),e)}),this.wordFinder.reset()}isOutOfViewport(e,t={top:0,bottom:0,left:0,right:0}){const s=e.getBoundingClientRect(),r=s.bottom>(window.innerHeight||document.documentElement.clientHeight)-t.bottom,a=s.right>(window.innerWidth||document.documentElement.clientWidth)-t.right;return s.top<t.top||s.left<t.left||r||a}createNode(e,t){let s=this.wordFinder.next(e);null!=s&&t.node.push(s)}encodeString(e){return(new DOMParser).parseFromString(e,"text/html").body.textContent}compareMarkers(e,t){return!(!e||!t)&&e.end==t.end&&e.start==t.start&&e.time==t.time}}class E{static getFormattedTime(e){return new Date(e).toLocaleTimeString([],{minute:"2-digit",second:"2-digit"})}static convertSecondsToMilli(e){return 1e3*e}static setSettingsContainerPosition(e,t){const s=e.getBoundingClientRect(),i=t.getBoundingClientRect(),n=window.getComputedStyle(t,"::before"),a=Math.round(s.top)-i.height/2+s.height/2;let u=s.left;const p=n?window.innerWidth-u-parseInt(n.right,10):window.innerWidth-u;t.style.top=a+"px",t.style.right=p+"px"}}class b{constructor(e,t,s,i,n){var r,a;if(this.ttsConfig=e,this.post=t,this.ttsService=s,this.purpleService=i,this.previousState=n,this.articleIndex=0,this.contentElement=null,this.markerContentElement=null,this.audio={src:"",duration:0,currentTime:0,bufferedTime:0,speech:"",speechMarkerSrc:"",speechRate:this.ttsService.ttsConfig.ttsSpeechRateOptionNormal},this.audioAligner=null,this.selectWordInterval=null,this.state={isOpen:new N.t((null===(r=this.previousState)||void 0===r?void 0:r.isOpen.value)||!1),isFirst:!0,isCurrent:!1,isPlaying:!1,isOffline:!1,progressListener:null,stateListener:null,connectionStateListener:null,forceOpen:!1},this.uiElements={playerElement:null,progressContainer:null,currentTimeElement:null,durationElement:null,progressElement:null,bufferingElement:null,settingsButton:null,settingsContainer:null,speechRateContainer:null,speechRateOptionVerySlow:null,speechRateOptionSlow:null,speechRateOptionNormal:null,speechRateOptionFast:null,speechRateOptionVeryFast:null,speechContainer:null,controlsContainer:null,loadingElement:null,playButton:null,seekBackButton:null,seekForwardButton:null,navigateBackButton:null,navigateForwardButton:null,openPlayerButton:null},this.ttsPlayerStateSubject=new N.t(null),this.ttsPlayerState$=this.ttsPlayerStateSubject.asObservable(),this.isUiRendered=!1,this.isDeleted=!1,this.contentElement=null===(a=document.querySelectorAll(e.ttsContentSelector)[0])||void 0===a?void 0:a.firstElementChild,this.markerContentElement=document.querySelectorAll(e.ttsMarkerContentSelector)[0],!this.contentElement||!this.markerContentElement)throw{message:"Failed to init TTS.\n Found contentElement (".concat(e.ttsContentSelector,"): ").concat(!!this.contentElement,"\n Found markerContentElement (").concat(e.ttsMarkerContentSelector,"): ").concat(!!this.markerContentElement,"\n ")}}init(){var e=this;return(0,d.A)(function*(){let t;e.state.isFirst=!0;try{t=yield e.purpleService.getState(c.SPEECH_IDENTIFIER),(!t||""===t)&&(t=e.getDefaultSpeech(),e.purpleService.setState(c.SPEECH_IDENTIFIER,t))}catch(s){t=e.getDefaultSpeech(),e.purpleService.setState(c.SPEECH_IDENTIFIER,t),console.warn("Could not get speech: "+s)}if(!e.isDeleted){try{let s=parseFloat(yield e.purpleService.getState(c.SPEECH_RATE_IDENTIFIER));s||(s=e.ttsConfig.ttsSpeechRateOptionNormal),yield e.setSpeechRate(s)}catch(s){yield e.setSpeechRate(e.ttsConfig.ttsSpeechRateOptionNormal),console.warn("Can not get state of speech rate: "+s)}e.isDeleted||(e.setAudioParameters(t),e.audioAligner=new B(e.audio,e.audio.speechMarkerSrc,e.markerContentElement,e.ttsConfig.ttsSkipContentClasses,e.ttsConfig.ttsSkipContentTags,e.ttsService,e),yield e.audioAligner.align(),!e.isDeleted&&e.afterAudioAlignment())}})()}reset(){var e,t;this.selectWordInterval&&clearInterval(this.selectWordInterval),this.audioAligner.deselectWord(),this.contentElement.scrollTop=0,this.state.isFirst=!0,null===(e=this.uiElements.loadingElement)||void 0===e||e.classList.remove("show"),null===(t=this.uiElements.playButton)||void 0===t||t.classList.remove("pause"),this.isUiRendered&&this.setAudioProgress(0,0)}delete(){this.stop(),window.purple.media.removeProgressListener(this.state.progressListener),window.purple.media.removeStatusListener(this.state.stateListener),window.purple.app.removeConnectionStateListener(this.state.connectionStateListener),this.isDeleted=!0}openPlayer(e=!1){this.purpleService.setState(c.PLAYER_OPEN_IDENTIFIER,"1"),(!this.state.isOpen.value||!this.uiElements.playerElement.classList.contains("open"))&&(this.uiElements.playerElement.classList.add("open"),this.state.isOpen.next(!0)),e&&this.play()}closePlayer(e=!1){this.purpleService.setState(c.PLAYER_OPEN_IDENTIFIER,"0"),this.uiElements.playerElement&&this.uiElements.playerElement.classList.remove("open"),this.state.isOpen.next(!1),this.audioAligner.deselectWord(),e&&this.pause()}play(){this.purpleService.setState(c.AUDIO_PLAYING_IDENTIFIER,"1"),this.state.isFirst?window.purple.media.startAudio({displayName:this.post.name,url:this.audio.src}):window.purple.media.resumeAudio()}pause(){this.purpleService.setState(c.AUDIO_PLAYING_IDENTIFIER,"0"),window.purple.media.pauseAudio()}stop(){this.purpleService.setState(c.AUDIO_PLAYING_IDENTIFIER,"0"),window.purple.media.stopAudio()}seekTo(e){window.purple.media.seekTo({time:Math.round(e)})}changeSpeech(e,t=!1){this.purpleService.setState(c.SPEECH_IDENTIFIER,e),this.setAudioParameters(e),this.reloadContentMarker(),this.setSelectedSpeech(),this.reset()}changeSpeechRate(e,t=!1){var s=this;return(0,d.A)(function*(){yield s.setSpeechRate(e),s.setSpeechRateUi(e),s.setAudioProgress(s.audio.currentTime,s.audio.bufferedTime)})()}reloadContentMarker(){var e=this;return(0,d.A)(function*(){let t=Array.from(e.markerContentElement.getElementsByClassName("word"));for(let s of t)s.replaceWith(s.innerHTML);e.audioAligner.reset(e.audio,e.audio.speechMarkerSrc,e.markerContentElement),yield e.audioAligner.align(),e.afterAudioAlignment()})()}setAudioParameters(e){let t=this.getSpeechObject()[e];t||(e=this.getDefaultSpeech(),t=this.getSpeechObject()[e],this.purpleService.setState(c.SPEECH_IDENTIFIER,e)),this.audio.speech=e,this.audio.src=this.createSpeechPropertiesUrl(t.url),this.audio.speechMarkerSrc=this.createSpeechPropertiesUrl(t.speechMarkerUrl),this.audio.duration=t.length}afterAudioAlignment(){this.uiElements.playerElement||this.initUi()}initUi(){this.state.progressListener=i=>{const n=i.detail?i.detail:i;this.isCurrent()&&n.duration>0&&(n.currentTime>=n.duration?(this.setAudioProgress(0),this.closePlayer()):this.setAudioProgress(n.currentTime,n.bufferedTime,n.duration))},this.purpleService.purpleRef.media.addProgressListener(this.state.progressListener),this.state.stateListener=i=>{const n=i.detail?i.detail:i;if(this.state.isCurrent=n.url===this.audio.src,this.isCurrent())switch(n.playbackState){case"READY":this.selectWordInterval&&clearInterval(this.selectWordInterval),this.state.isPlaying=!1,this.uiElements.loadingElement.classList.remove("show"),this.uiElements.playButton.classList.remove("pause");break;case"LOADING":this.selectWordInterval&&clearInterval(this.selectWordInterval),this.uiElements.loadingElement.classList.add("show");break;case"PLAYING":{if(this.state.isFirst){let a=this.uiElements.progressElement.value*this.audio.duration;a>0&&this.seekTo(a),this.state.isFirst=!1}this.state.isPlaying=!0,this.uiElements.loadingElement.classList.remove("show"),this.uiElements.playButton.classList.add("pause");const r=200/this.audio.speechRate;this.selectWordInterval&&clearInterval(this.selectWordInterval),this.selectWordInterval=setInterval(()=>{this.audio.currentTime+=r,this.audioAligner.selectWord(!0)},r);break}case"ERROR":this.reset();break;default:this.state.isFirst?this.uiElements.loadingElement.classList.remove("show"):this.reset()}else this.state.isFirst||this.reset()},this.purpleService.purpleRef.media.addStatusListener(this.state.stateListener),this.state.connectionStateListener=i=>{"OFFLINE"===i.state?this.state.isOffline=!0:(this.state.isOffline=!1,this.uiElements.loadingElement.classList.remove("show"))},window.purple.app.addConnectionStateListener(this.state.connectionStateListener);const e=document.getElementById("tts-player");var t,s;this.createPlayerElement(),e&&(e.remove(),null!==(t=this.previousState)&&void 0!==t&&t.isOpen.value&&this.openPlayer(null===(s=this.previousState)||void 0===s?void 0:s.isPlaying)),this.isUiRendered=!0}createTopBarElements(){let e=document.getElementsByTagName("storefront-app-bar")[0];this.uiElements.openPlayerButton=document.createElement("span"),this.uiElements.openPlayerButton.id="tts-player-open",this.uiElements.openPlayerButton.classList.add("icon"),(this.ttsService.disabledForPreview()||this.ttsService.disabledForAd())&&this.uiElements.openPlayerButton.classList.add("disabled"),this.uiElements.openPlayerButton.href="javascript:;",this.uiElements.openPlayerButton.addEventListener("click",()=>this.toggleOpenPlayer()),e.insertBefore(this.uiElements.openPlayerButton,e.childNodes[0])}createPlayerElement(){this.uiElements.playerElement=document.createElement("div"),this.uiElements.playerElement.id="tts-player",this.uiElements.playerElement.addEventListener("click",t=>{t.target!==this.uiElements.progressElement&&t.preventDefault()}),this.uiElements.playerElement.addEventListener("touchmove",t=>{t.target!==this.uiElements.progressElement&&t.preventDefault()}),this.createPlayerProgressElements(),this.createPlayerControlElements(),this.createSettingsElements();const e=document.getElementsByClassName("bottom-sticky-elements")[0];e&&e.insertBefore(this.uiElements.playerElement,e.firstElementChild)}createPlayerControlElements(){this.uiElements.controlsContainer=document.createElement("div"),this.uiElements.controlsContainer.id="tts-player-controls",this.uiElements.playButton=document.createElement("div"),this.uiElements.playButton.id="tts-player-button-play",this.uiElements.playButton.className="tts-button",this.uiElements.playButton.addEventListener("click",()=>this.togglePlay()),this.uiElements.seekBackButton=document.createElement("div"),this.uiElements.seekBackButton.id="tts-player-button-seek-back",this.uiElements.seekBackButton.classList.add("tts-player-button-seek","tts-button"),this.uiElements.seekBackButton.innerHTML=this.ttsService.ttsConfig.ttsSeekInterval,this.uiElements.seekBackButton.addEventListener("click",()=>{let t=Math.max(0,this.audio.currentTime-E.convertSecondsToMilli(this.ttsService.ttsConfig.ttsSeekInterval)*this.audio.speechRate);t!==this.audio.currentTime&&(this.seekTo(t),this.setAudioProgress(t,this.audio.bufferedTime),this.audioAligner.selectWord(!0),0===t&&(this.contentElement.scrollTop=0))}),this.uiElements.seekForwardButton=document.createElement("div"),this.uiElements.seekForwardButton.id="tts-player-button-seek-forward",this.uiElements.seekForwardButton.classList.add("tts-player-button-seek","tts-button"),this.uiElements.seekForwardButton.innerHTML=this.ttsService.ttsConfig.ttsSeekInterval,this.uiElements.seekForwardButton.addEventListener("click",t=>{let s=Math.min(this.audio.duration,this.audio.currentTime+E.convertSecondsToMilli(this.ttsService.ttsConfig.ttsSeekInterval)*this.audio.speechRate);s!==this.audio.currentTime&&(this.seekTo(s),this.setAudioProgress(s,this.audio.bufferedTime),this.audioAligner.selectWord(!0))}),this.uiElements.controlsContainer.classList.add("no-navigation"),this.uiElements.loadingElement=document.createElementNS("http://www.w3.org/2000/svg","svg"),this.uiElements.loadingElement.id="tts-player-loading",this.uiElements.loadingElement.setAttribute("viewBox","0 0 66 66");let e=document.createElementNS("http://www.w3.org/2000/svg","circle");e.setAttribute("cx","33"),e.setAttribute("cy","33"),e.setAttribute("r","30"),this.uiElements.loadingElement.appendChild(e),this.uiElements.controlsContainer.appendChild(this.uiElements.seekBackButton),this.uiElements.controlsContainer.appendChild(this.uiElements.playButton),this.uiElements.controlsContainer.appendChild(this.uiElements.seekForwardButton),this.uiElements.controlsContainer.appendChild(this.uiElements.loadingElement),this.uiElements.playerElement.appendChild(this.uiElements.controlsContainer)}createSettingsElements(){const e=document.createElement("div");e.id="tts-player-button-settings",e.className="tts-button",this.uiElements.settingsButton=document.createElement("span"),this.uiElements.settingsButton.addEventListener("click",i=>{i.preventDefault(),this.uiElements.settingsContainer.classList.contains("open")?this.closeSettings():this.openSettings()}),e.appendChild(this.uiElements.settingsButton),this.uiElements.settingsContainer=document.createElement("div"),this.uiElements.settingsContainer.id="tts-player-settings",this.uiElements.settingsContainer.classList.add("container-popup"),window.addEventListener("click",i=>{i.target!==this.uiElements.settingsContainer&&i.target!==this.uiElements.speechContainer&&i.target!==this.uiElements.speechRateContainer&&i.target!==this.uiElements.settingsButton&&this.uiElements.settingsContainer.classList.contains("open")&&this.closeSettings()}),window.addEventListener("resize",()=>{this.uiElements.settingsContainer.classList.contains("open")&&this.closeSettings()}),this.uiElements.progressContainer.appendChild(e),this.uiElements.playerElement.appendChild(this.uiElements.settingsContainer);let t=this.getSpeechObject();if(Object.keys(t).length>1){let i=document.createElement("h3");i.innerHTML=this.ttsService.ttsMessages.TTS_SPEECH_TITLE||"",this.uiElements.settingsContainer.appendChild(i),this.uiElements.speechContainer=document.createElement("div"),this.uiElements.speechContainer.id="tts-speech";for(let[n,r]of Object.entries(t)){let a=r.gender,u=document.createElement("span");u.className="speech-icon";let p=document.createElement("span");p.className="speech-name",p.innerHTML=n;let g=document.createElement("input");g.className="speech-btn",g.setAttribute("type","radio");let h=document.createElement("div");h.id=n,h.classList.add(a+"-speech-container","speech-container"),h.appendChild(u),h.appendChild(p),h.appendChild(g),h.addEventListener("click",f=>{if(f.preventDefault(),h.id!==this.audio.speech){let v=this.state.isPlaying;this.stop(),this.changeSpeech(h.id,!0),v&&this.play()}},!0),this.uiElements.speechContainer.appendChild(h)}this.setSelectedSpeech(),this.uiElements.settingsContainer.appendChild(this.uiElements.speechContainer)}let s=document.createElement("h3");s.innerHTML=this.ttsService.ttsMessages.TTS_SPEECH_RATE_TITLE||"",this.uiElements.settingsContainer.appendChild(s),this.uiElements.speechRateContainer=document.createElement("div"),this.uiElements.speechRateContainer.id="tts-speech-rate",this.uiElements.speechRateOptionVerySlow=document.createElement("div"),this.uiElements.speechRateOptionVerySlow.className="speech-rate-option",this.uiElements.speechRateOptionVerySlow.innerHTML=this.getSpeechRateValue(this.ttsService.ttsConfig.ttsSpeechRateOptionVerySlow),this.uiElements.speechRateOptionVerySlow.addEventListener("click",i=>{i.preventDefault(),this.changeSpeechRate(this.ttsService.ttsConfig.ttsSpeechRateOptionVerySlow,!0)}),this.uiElements.speechRateOptionSlow=document.createElement("div"),this.uiElements.speechRateOptionSlow.className="speech-rate-option",this.uiElements.speechRateOptionSlow.innerHTML=this.getSpeechRateValue(this.ttsService.ttsConfig.ttsSpeechRateOptionSlow),this.uiElements.speechRateOptionSlow.addEventListener("click",i=>{i.preventDefault(),this.changeSpeechRate(this.ttsService.ttsConfig.ttsSpeechRateOptionSlow,!0)}),this.uiElements.speechRateOptionNormal=document.createElement("div"),this.uiElements.speechRateOptionNormal.className="speech-rate-option",this.uiElements.speechRateOptionNormal.innerHTML=this.getSpeechRateValue(this.ttsService.ttsConfig.ttsSpeechRateOptionNormal),this.uiElements.speechRateOptionNormal.addEventListener("click",i=>{i.preventDefault(),this.changeSpeechRate(this.ttsService.ttsConfig.ttsSpeechRateOptionNormal,!0)}),this.uiElements.speechRateOptionFast=document.createElement("div"),this.uiElements.speechRateOptionFast.className="speech-rate-option",this.uiElements.speechRateOptionFast.innerHTML=this.getSpeechRateValue(this.ttsService.ttsConfig.ttsSpeechRateOptionFast),this.uiElements.speechRateOptionFast.addEventListener("click",i=>{i.preventDefault(),this.changeSpeechRate(this.ttsService.ttsConfig.ttsSpeechRateOptionFast,!0)}),this.uiElements.speechRateOptionVeryFast=document.createElement("div"),this.uiElements.speechRateOptionVeryFast.className="speech-rate-option",this.uiElements.speechRateOptionVeryFast.innerHTML=this.getSpeechRateValue(this.ttsService.ttsConfig.ttsSpeechRateOptionVeryFast),this.uiElements.speechRateOptionVeryFast.addEventListener("click",i=>{i.preventDefault(),this.changeSpeechRate(this.ttsService.ttsConfig.ttsSpeechRateOptionVeryFast,!0)}),this.setSpeechRateUi(this.audio.speechRate),this.uiElements.speechRateContainer.appendChild(this.uiElements.speechRateOptionVerySlow),this.uiElements.speechRateContainer.appendChild(this.uiElements.speechRateOptionSlow),this.uiElements.speechRateContainer.appendChild(this.uiElements.speechRateOptionNormal),this.uiElements.speechRateContainer.appendChild(this.uiElements.speechRateOptionFast),this.uiElements.speechRateContainer.appendChild(this.uiElements.speechRateOptionVeryFast),this.uiElements.settingsContainer.appendChild(this.uiElements.speechRateContainer)}togglePlay(){this.state.isPlaying?this.pause():this.play()}toggleOpenPlayer(){this.state.isOpen.value?this.closePlayer(!0):this.openPlayer(!0)}updateProgressBarWithBuffering(e,t){const s=100*t,i=100*e;this.uiElements.progressElement.value=e,this.uiElements.progressElement.style.background="-webkit-gradient(linear, left top, right top, color-stop("+i+"%, var(--progressColor)), color-stop("+i+"%, var(--bufferingColor)), color-stop("+s+"%, var(--bufferingColor)), color-stop("+s+"%, var(--progressBgColor)))"}setAudioProgress(e,t,s){this.setCurrentTime(e),this.setDuration(s=s||this.audio.duration),this.setBufferedTime(t=t||this.audio.bufferedTime);let i=e/s;this.updateProgressBarWithBuffering(i,t>=e?t/s:i)}onProgressChange(e){let t=e.target.value*this.audio.duration;("input"===e.type||"touchend"===e.type)&&this.seekTo(t),this.setAudioProgress(t,this.audio.bufferedTime),this.audioAligner.selectWord(!0)}onProgressTouchEvent(e){e.preventDefault(),e.target.value=((e.pageX||e.touches&&e.touches[0]&&e.touches[0].pageX||e.changedTouches&&e.changedTouches[0]&&e.changedTouches[0].pageX)-e.target.offsetLeft)/e.target.offsetWidth,this.onProgressChange(e)}setCurrentTime(e){this.audio.currentTime=e,this.uiElements.currentTimeElement&&(this.uiElements.currentTimeElement.innerHTML=E.getFormattedTime(e/this.audio.speechRate))}setDuration(e){this.audio.duration=e,this.uiElements.durationElement&&(this.uiElements.durationElement.innerHTML=E.getFormattedTime(e/this.audio.speechRate))}setBufferedTime(e){this.audio.bufferedTime=e}setSpeechRate(e){var t=this;return(0,d.A)(function*(){try{var s;(null===(s=window.purple.media.version)||void 0===s?void 0:s.major)>=2?yield window.purple.media.setPlaybackRate({playbackRate:e}):window.purple.media.setPlaybackRate(e),t.audio.speechRate=e,t.purpleService.setState(c.SPEECH_RATE_IDENTIFIER,e.toString())}catch(i){console.warn("TTS playback rate could not be set: "+i)}})()}setSpeechRateUi(e){Array.from(document.getElementsByClassName("speech-rate-option")).forEach(t=>t.classList.remove("selected")),e===this.ttsService.ttsConfig.ttsSpeechRateOptionVerySlow?this.uiElements.speechRateOptionVerySlow.classList.toggle("selected"):e===this.ttsService.ttsConfig.ttsSpeechRateOptionSlow?this.uiElements.speechRateOptionSlow.classList.toggle("selected"):e===this.ttsService.ttsConfig.ttsSpeechRateOptionFast?this.uiElements.speechRateOptionFast.classList.toggle("selected"):e===this.ttsService.ttsConfig.ttsSpeechRateOptionVeryFast?this.uiElements.speechRateOptionVeryFast.classList.toggle("selected"):this.uiElements.speechRateOptionNormal.classList.toggle("selected"),this.uiElements.speechRateContainer.classList.remove("open")}getSpeechRateValue(e){let t;switch(e){case this.ttsService.ttsConfig.ttsSpeechRateOptionNormal:t="0";break;case this.ttsService.ttsConfig.ttsSpeechRateOptionSlow:t="-1";break;case this.ttsService.ttsConfig.ttsSpeechRateOptionVerySlow:t="-2";break;case this.ttsService.ttsConfig.ttsSpeechRateOptionFast:t="+1";break;case this.ttsService.ttsConfig.ttsSpeechRateOptionVeryFast:t="+2";break;default:t=""}return t}getFirstSpeechKey(){let e=this.getSpeechObject();return Object.keys(e)[0]}getSpeechObject(){return this.ttsService.ttsContentConfig}getDefaultSpeech(){return Object.keys(this.getSpeechObject()).includes(this.ttsService.ttsConfig.ttsDefaultSpeech)?this.ttsService.ttsConfig.ttsDefaultSpeech:this.getFirstSpeechKey()}openSettings(){this.uiElements.settingsContainer.classList.add("open"),E.setSettingsContainerPosition(this.uiElements.settingsButton,this.uiElements.settingsContainer)}closeSettings(){this.uiElements.settingsContainer.classList.remove("open")}setSelectedSpeech(){Array.from(this.uiElements.speechContainer.getElementsByClassName("speech-container")).forEach(e=>{let t=e.getElementsByTagName("input")[0];t.classList.remove("selected"),e.id===this.audio.speech&&t.classList.add("selected")})}getTrackingBaseKey(){return"TTS"}isCurrent(){return this.state.isCurrent}createPlayerProgressElements(){this.uiElements.progressContainer=document.createElement("div"),this.uiElements.progressContainer.id="tts-player-progress",this.uiElements.currentTimeElement=document.createElement("span"),this.uiElements.currentTimeElement.className="tts-player-time",this.uiElements.currentTimeElement.innerHTML=E.getFormattedTime(0),this.uiElements.durationElement=document.createElement("span"),this.uiElements.durationElement.className="tts-player-time",this.uiElements.durationElement.innerHTML=E.getFormattedTime(this.audio.duration/this.audio.speechRate),this.uiElements.progressElement=document.createElement("input"),this.uiElements.progressElement.type="range",this.uiElements.progressElement.min=0,this.uiElements.progressElement.max=1,this.uiElements.progressElement.value=0,this.uiElements.progressElement.step=1e-5,this.uiElements.progressElement.addEventListener("input",e=>this.onProgressChange(e)),this.uiElements.progressElement.addEventListener("touchmove",e=>this.onProgressTouchEvent(e)),this.uiElements.progressElement.addEventListener("touchend",e=>this.onProgressTouchEvent(e)),this.uiElements.progressElement.addEventListener("click",e=>this.onProgressTouchEvent(e)),this.uiElements.progressContainer.appendChild(this.uiElements.currentTimeElement),this.uiElements.progressContainer.appendChild(this.uiElements.progressElement),this.uiElements.progressContainer.appendChild(this.uiElements.durationElement),this.uiElements.playerElement.appendChild(this.uiElements.progressContainer)}createSpeechPropertiesUrl(e){const t=new URL(this.ttsService.getTtsResourceBaseUrl()),i=new URL(e).pathname.split("/").splice(-4).join("/");return t.pathname=("/"==t.pathname?"":t.pathname)+"/"+i,t.href}}var F=o(1626),D=o(9516),M=o(7900),_=o(5102);const C={ttsContentSelector:"#sprylab_purple_content",ttsMarkerContentSelector:"#sprylab_purple_content .purple-inner-container",ttsSkipContentClasses:["no-tts"],ttsSkipContentTags:["svg","polygon","path"],ttsDefaultSpeech:"",ttsSeekInterval:10,ttsSpeechRateOptionVerySlow:.7,ttsSpeechRateOptionSlow:.85,ttsSpeechRateOptionNormal:1,ttsSpeechRateOptionFast:1.15,ttsSpeechRateOptionVeryFast:1.3,ttsNextArticleLoadingTime:1e4,ttsDisableForPreview:!1,ttsDisableForAd:!0},k={TTS_SPEECH_TITLE:"Speaker",TTS_SPEECH_RATE_TITLE:"Speed rate",TTS_NO_INTERNET_CONNECTION_TITLE:"No internet connection!",TTS_NO_INTERNET_CONNECTION_TEXT:"To activate read mode, you need to have internet connection.",TTS_NO_INTERNET_CONNECTION_RETRY_BUTTON:"Retry",TTS_NEXT_ARTICLE_TITLE:"Next article",TTS_NEXT_ARTICLE_TEXT:'"%s"',TTS_NEXT_ARTICLE_SKIP_BUTTON:"Skip",TTS_LAST_ARTICLE_TITLE:"End of issue",TTS_LAST_ARTICLE_TEXT:"You have heard the last article of this issue.",TTS_LAST_ARTICLE_CLOSE_BUTTON:"Close",TTS_CANCEL_BUTTON:"Cancel"};let x=(()=>{var l;class e{constructor(s,i,n,r,a,u,p){this.platformId=s,this.document=i,this.purpleEnv=n,this.http=r,this.contextService=a,this.translateService=u,this.purpleService=p,this.initTts$=new O.B,this.ttsPlayerCancel$=new N.t(!1),(0,y.UE)(this.platformId)&&(this.loadTTSConfig(),this.loadTTSMessages())}initTTSforPost(s){(0,y.UE)(this.platformId)&&this.init(s)}init(s){var i=this;return(0,d.A)(function*(){var n;i.ttsPlayerCancel$.next(!1),s.resources||(s=yield i.purpleService.getCatalogContent(s.id,!0,{includeResources:!0}));const r=null===(n=s.resources)||void 0===n?void 0:n.find(a=>!!a.properties.ttsResource);if(r)if(yield i.loadTTSContentConfig(r.url),i.purpleService.purpleRef&&i.purpleService.purpleRef.media&&i.ttsContentConfig&&i.ttsConfig&&i.ttsMessages){let a;if(i.ttsPlayer&&(i.ttsPlayer.delete(),a=i.ttsPlayer.state,delete i.ttsPlayer),!0===i.ttsPlayerCancel$.getValue())return console.debug("TTS init canceled"),void i.initTts$.next(!1);try{i.ttsPlayer=new b(i.ttsConfig,s,i,i.purpleService,a),i.ttsPlayer.init(),i.initTts$.next(!0)}catch(u){i.initTts$.next(!1),console.error("TTS init error:",u)}}else i.initTts$.next(!1),console.error("Could not init TTS player");else i.initTts$.next(!1)})()}disabledForPreview(){return this.ttsConfig.ttsDisableForPreview}disabledForAd(){return this.ttsConfig.ttsDisableForAd}loadTTSContentConfig(s){var i=this;return(0,d.A)(function*(){try{let n=yield T(s,{useFetch:!0,returnRedirect:!0});if(n.redirectUrl){const r=new URL(n.redirectUrl);n.response||(r.search="",n=yield T(r.href,{useFetch:!0}));const a=r.pathname.split("/");a.splice(-4),r.pathname=a.join("/"),i.ttsResourceBaseUrl=r.href,i.ttsContentConfig=yield n.response}else i.ttsContentConfig=yield n.response}catch(n){console.error("Could not load tts content config: "+n)}})()}loadTTSConfig(){var s=this;return(0,d.A)(function*(){try{const i=(0,I.vA)(s.contextService.isPreview(),s.purpleEnv,s.contextService),n=yield T("".concat(s.contextService.getBaseUrl(),"assets/tts_config.json").concat(i));s.ttsConfig=(0,S.A)((0,S.A)({},C),n),n.ttsSkipContentClasses&&(s.ttsConfig.ttsSkipContentClasses=[...C.ttsSkipContentClasses,...n.ttsSkipContentClasses]),n.ttsSkipContentTags&&(s.ttsConfig.ttsSkipContentTags=[...C.ttsSkipContentTags,...n.ttsSkipContentTags])}catch(i){s.ttsConfig=C,console.warn("Could not load custom tts config: "+i)}})()}loadTTSMessages(){var s=this;return(0,d.A)(function*(){try{const i=s.translateService.messages;s.ttsMessages=(0,S.A)((0,S.A)({},k),i)}catch(i){s.ttsMessages=k,console.warn("Could not load custom tts messages: "+i)}})()}delete(){var s,i,n,r;this.ttsPlayerCancel$.next(!0),null===(s=this.ttsPlayer)||void 0===s||s.reset(),null===(i=this.ttsPlayer)||void 0===i||i.delete(),null!==(n=this.ttsPlayer)&&void 0!==n&&null!==(n=n.state)&&void 0!==n&&n.forceOpen||null===(r=this.ttsPlayer)||void 0===r||r.closePlayer()}updateForceOpen(){var s;null!==(s=this.ttsPlayer)&&void 0!==s&&s.state.isOpen.value&&(this.ttsPlayer.state.forceOpen=!0)}getTtsResourceBaseUrl(){return this.ttsResourceBaseUrl}}return(l=e).\u0275fac=function(s){return new(s||l)(m.KVO(m.Agw),m.KVO(y.qQ),m.KVO(L.r6),m.KVO(F.Qq),m.KVO(D.V),m.KVO(M.c),m.KVO(_.Wj))},l.\u0275prov=m.jDH({token:l,factory:l.\u0275fac,providedIn:"root"}),e})()}}]);
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="9px" height="16px" viewBox="0 0 9 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 45.1 (43504) - http://www.bohemiancoding.com/sketch -->
4
+ <title>backward-icon</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="Normal" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
+ <g id="iPhone-7" transform="translate(-34.000000, -619.000000)" fill="#FFFFFF">
9
+ <g id="Popup" transform="translate(19.000000, 96.000000)">
10
+ <g id="Navigation-bar" transform="translate(0.000000, 509.000000)">
11
+ <path d="M18.0234375,21.8843757 L23.8945312,28.0015632 C24.0820322,28.1890641 24.0820322,28.3765622 23.8945312,28.5640632 L22.8398438,29.6539069 C22.6523428,29.8414078 22.4648447,29.8414078 22.2773438,29.6539069 L15.1054688,22.1656257 C15.0351559,22.0953128 15,22.0015637 15,21.8843757 C15,21.7671876 15.0351559,21.6734385 15.1054688,21.6031257 L22.2773438,14.1148444 C22.4414071,13.9507811 22.6289052,13.9624997 22.8398438,14.1500007 L23.8945312,15.2046882 C24.0820322,15.3921891 24.0820322,15.5796872 23.8945312,15.7671882 L18.0234375,21.8843757 Z" id="backward-icon"></path>
12
+ </g>
13
+ </g>
14
+ </g>
15
+ </g>
16
+ </svg>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="14px" height="14px" viewBox="0 0 14 14" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 45.1 (43504) - http://www.bohemiancoding.com/sketch -->
4
+ <title></title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="Normal" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
+ <g id="iPhone-7" transform="translate(-329.000000, -112.000000)" fill="#FFFFFF">
9
+ <g id="Popup" transform="translate(19.000000, 96.000000)">
10
+ <g id="Title-bar">
11
+ <path d="M323.626953,27.8554688 C323.720704,27.9492192 323.767578,28.0664055 323.767578,28.2070312 C323.767578,28.347657 323.720704,28.4648433 323.626953,28.5585938 L322.291016,29.859375 C322.197265,29.9531255 322.091797,30 321.974609,30 C321.833984,30 321.716797,29.9531255 321.623047,29.859375 L317.017578,25.2539062 L312.412109,29.859375 C312.318359,29.9531255 312.212891,30 312.095703,30 C311.955077,30 311.837891,29.9531255 311.744141,29.859375 L310.408203,28.5585938 C310.314453,28.4648433 310.267578,28.347657 310.267578,28.2070312 C310.267578,28.0664055 310.314453,27.9492192 310.408203,27.8554688 L315.048828,23.25 L310.408203,18.6796875 C310.173827,18.4453113 310.173827,18.2109387 310.408203,17.9765625 L311.708984,16.640625 C311.84961,16.5468745 311.966796,16.5 312.060547,16.5 C312.201173,16.5 312.318359,16.5468745 312.412109,16.640625 L317.017578,21.2109375 L321.623047,16.640625 C321.763673,16.5468745 321.880859,16.5 321.974609,16.5 C322.115235,16.5 322.232421,16.5468745 322.326172,16.640625 L323.626953,17.9765625 C323.861329,18.2109387 323.861329,18.4335927 323.626953,18.6445312 L318.986328,23.2148438 L323.626953,27.8554688 Z" id=""></path>
12
+ </g>
13
+ </g>
14
+ </g>
15
+ </g>
16
+ </svg>
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="10px" height="16px" viewBox="0 0 10 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 45.1 (43504) - http://www.bohemiancoding.com/sketch -->
4
+ <title>forward-icon</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="Normal" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
8
+ <g id="iPhone-7" transform="translate(-92.000000, -619.000000)" fill="#FFFFFF">
9
+ <g id="Popup" transform="translate(19.000000, 96.000000)">
10
+ <g id="Navigation-bar" transform="translate(0.000000, 509.000000)">
11
+ <path d="M79.4375,21.8843757 L73.5664062,15.7671882 C73.3789053,15.5796872 73.3789053,15.3921891 73.5664062,15.2046882 L74.6210938,14.1500007 C74.8320323,13.9624997 75.0195304,13.9507811 75.1835938,14.1148444 L82.3554688,21.6031257 C82.4257816,21.6734385 82.4609375,21.7671876 82.4609375,21.8843757 C82.4609375,22.0015637 82.4257816,22.0953128 82.3554688,22.1656257 L75.1835938,29.6539069 C74.9960928,29.8414078 74.8085947,29.8414078 74.6210938,29.6539069 L73.5664062,28.5640632 C73.3789053,28.3765622 73.3789053,28.1890641 73.5664062,28.0015632 L79.4375,21.8843757 Z" id="forward-icon"></path>
12
+ </g>
13
+ </g>
14
+ </g>
15
+ </g>
16
+ </svg>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="24px" height="25px" viewBox="0 0 24 25" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 56.2 (81672) - https://sketch.com -->
4
+ <title>Triangle</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
7
+ <g id="Play_Next_Btn" transform="translate(-21.000000, -18.000000)" fill="#E1E1E1">
8
+ <g id="Play_Btn" transform="translate(21.000000, 0.000000)">
9
+ <path d="M14.7888544,21.0777088 L24.5527864,40.6055728 C25.0467649,41.5935298 24.6463162,42.7948759 23.6583592,43.2888544 C23.3806483,43.4277098 23.0744222,43.5 22.763932,43.5 L3.23606798,43.5 C2.13149848,43.5 1.23606798,42.6045695 1.23606798,41.5 C1.23606798,41.1895098 1.30835816,40.8832837 1.4472136,40.6055728 L11.2111456,21.0777088 C11.7051241,20.0897518 12.9064702,19.6893031 13.8944272,20.1832816 C14.281482,20.376809 14.595327,20.690654 14.7888544,21.0777088 Z" id="Triangle" transform="translate(13.000000, 30.500000) rotate(-270.000000) translate(-13.000000, -30.500000) "></path>
10
+ </g>
11
+ </g>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,19 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg width="62px" height="62px" viewBox="0 0 62 62" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3
+ <!-- Generator: Sketch 56.2 (81672) - https://sketch.com -->
4
+ <title>Pause_Btn</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
7
+ <g id="Control_Bar_NightMode" transform="translate(-157.000000, -61.000000)">
8
+ <g id="Pause_Btn_NM" transform="translate(158.000000, 62.000000)">
9
+ <g id="Pause_Btn">
10
+ <g id="Group-2" stroke="#FFFFFF" stroke-width="2">
11
+ <circle id="Oval" cx="30" cy="30" r="30"></circle>
12
+ </g>
13
+ <rect id="Rectangle" fill="#FFFFFF" x="22" y="17" width="6" height="26" rx="2"></rect>
14
+ <rect id="Rectangle-Copy-6" fill="#FFFFFF" x="32" y="17" width="6" height="26" rx="2"></rect>
15
+ </g>
16
+ </g>
17
+ </g>
18
+ </g>
19
+ </svg>