1import { HffCommonUiUsheruLogoModule, UsheruLogoComponent } from "./chunk-SUXPCMR7.js"; 2import { FooterService } from "./chunk-2GWPEMVS.js"; 3import { NavigationService } from "./chunk-FKG4JX5F.js"; 4import { faAngry } from "./chunk-3Y5OQMCS.js"; 5import { DropdownModule } from "./chunk-5SARRNOO.js"; 6import { footerTranslations } from "./chunk-TPHDZTZ3.js"; 7import { Select } from "./chunk-6JDRACRX.js"; 8import { ImgPipe, SharedUtilsImageModule } from "./chunk-K5KVN2C6.js"; 9import { faAngellist, faBluesky, faFacebook, faImdb, faInstagram, faLetterboxd, faLinkedin, faPinterest, faTiktok, faVk, faWeibo, faXTwitter, faYoutube } from "./chunk-BI7C34OZ.js"; 10import { ShowtimeStreamingSubscribeComponent } from "./chunk-JJ7KXCUD.js"; 11import { FaIconComponent, FontAwesomeModule } from "./chunk-H6IDTE7H.js"; 12import { FormsModule, NgControlStatus, NgModel } from "./chunk-KKWRN5KP.js"; 13import { TRACKING_SERVICE } from "./chunk-YR4SUYZ2.js"; 14import { COUNTRY_VERSION, CammelCasePipe, ChannelService, CookieService, CountrySelectionService, ENVIRONMENT, EnvironmentService, SafePipe, SharedUtilsModule, TemplatesService, TranslationsService, getMovieGenres, getMovieTags, rt } from "./chunk-JKVE2CQA.js"; 15import { HttpClientModule, RouterLink, RouterModule } from "./chunk-JRC76L5E.js"; 16import { ApplicationRef, AsyncPipe, ChangeDetectorRef, CommonModule, ElementRef, Location, NgClass, NgForOf, NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, Subject, TemplateRef, inject, input, ɵsetClassDebugInfo, ɵɵadvance, ɵɵattribute, ɵɵclassProp, ɵɵconditional, ɵɵcontentQuery, ɵɵdefineComponent, ɵɵdefineInjector, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵgetCurrentView, ɵɵhostProperty, ɵɵi18n, ɵɵi18nApply, ɵɵi18nExp, ɵɵlistener, ɵɵloadQuery, ɵɵnextContext, ɵɵpipe, ɵɵpipeBind1, ɵɵpipeBind2, ɵɵproperty, ɵɵpropertyInterpolate, ɵɵpureFunction0, ɵɵpureFunction1, ɵɵpureFunction3, ɵɵqueryRefresh, ɵɵreference, ɵɵresetView, ɵɵrestoreView, ɵɵsanitizeHtml, ɵɵsanitizeUrl, ɵɵtemplate, ɵɵtemplateRefExtractor, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtwoWayBindingSet, ɵɵtwoWayListener, ɵɵtwoWayProperty, ɵɵviewQuery } from "./chunk-663HFGM6.js"; 17import { __spreadProps, __spreadValues } from "./chunk-O3TPTINY.js"; 18
19// libs/core/language-selector/language-selector.component.ts 20var _c0 = ["dropdown"]; 21function LanguageSelectorComponent_ng_container_0_div_1_Template(rf, ctx) { 22 if (rf & 1) { 23 const _r1 = ɵɵgetCurrentView(); 24 ɵɵelementStart(0, "div", 3)(1, "p-select", 4, 0); 25 ɵɵtwoWayListener("ngModelChange", function LanguageSelectorComponent_ng_container_0_div_1_Template_p_select_ngModelChange_1_listener($event) { 26 ɵɵrestoreView(_r1); 27 const ctx_r1 = ɵɵnextContext(2); 28 ɵɵtwoWayBindingSet(ctx_r1.selectedLanguage, $event) || (ctx_r1.selectedLanguage = $event); 29 return ɵɵresetView($event); 30 }); 31 ɵɵlistener("onChange", function LanguageSelectorComponent_ng_container_0_div_1_Template_p_select_onChange_1_listener($event) { 32 ɵɵrestoreView(_r1); 33 const ctx_r1 = ɵɵnextContext(2); 34 return ɵɵresetView(ctx_r1.updateLanguage($event)); 35 }); 36 ɵɵelementEnd()(); 37 } 38 if (rf & 2) { 39 const _availableLanguages_r3 = ɵɵnextContext().ngIf; 40 const ctx_r1 = ɵɵnextContext(); 41 ɵɵadvance(); 42 ɵɵtwoWayProperty("ngModel", ctx_r1.selectedLanguage); 43 ɵɵproperty("options", _availableLanguages_r3); 44 } 45} 46function LanguageSelectorComponent_ng_container_0_Template(rf, ctx) { 47 if (rf & 1) { 48 ɵɵelementContainerStart(0); 49 ɵɵtemplate(1, LanguageSelectorComponent_ng_container_0_div_1_Template, 3, 2, "div", 2); 50 ɵɵelementContainerEnd(); 51 } 52 if (rf & 2) { 53 const _availableLanguages_r3 = ctx.ngIf; 54 ɵɵadvance(); 55 ɵɵproperty("ngIf", _availableLanguages_r3.length > 1); 56 } 57} 58var LanguageSelectorComponent = class _LanguageSelectorComponent { 59 constructor(translationsService, applicationRef, location, channelService, cookiesService) { 60 this.translationsService = translationsService; 61 this.applicationRef = applicationRef; 62 this.location = location; 63 this.channelService = channelService; 64 this.cookiesService = cookiesService; 65 this.env = inject(ENVIRONMENT); 66 this.countrySelectionService = inject(CountrySelectionService); 67 this.initialCountryVersion = this.countrySelectionService.initialCountryVersionCode; 68 this.FAVORITE_LANG_TOKEN = "favorite_lang"; 69 this.useEnglishLanguage = false; 70 this.envTranslationFooter = false; 71 this.envTranslationHeader = false;
72 this.destroy$ = new Subject(); 73 } 74 ngOnInit() { 75 this.useEnglishLanguage = this.env.languageSelectorEnglishName; 76 this.envTranslationFooter = this.env.customPageParams?.translationFooter; 77 this.envTranslationHeader = this.env.customPageParams?.translationHeader; 78 this.availableLanguages$ = this.channelService.getChannelAvailableLanguages(); 79 this.selectedLanguage = this.translationsService.currentLanguage(); 80 } 81 updateLanguage(event) { 82 const code = event.value.code; 83 if (this.cookiesService.check(this.FAVORITE_LANG_TOKEN)) { 84 this.cookiesService.delete(this.FAVORITE_LANG_TOKEN); 85 } 86 this.cookiesService.set(this.FAVORITE_LANG_TOKEN, code, 365, "/"); 87 if (this.env.countryBasedApplication?.enabled && !this.cookiesService.check(COUNTRY_VERSION)) { 88 if (this.initialCountryVersion()) { 89 this.cookiesService.set(COUNTRY_VERSION, this.initialCountryVersion(), 365, "/"); 90 } 91 } 92 this.navigateToNewLangUrl(code); 93 } 94 navigateToNewLangUrl(langCode) { 95 const baseUrl = this.location.path(true); 96 const urlParts = baseUrl.split("/"); 97 urlParts[1] = langCode; 98 this.modifyUrl(langCode); 99 this.applicationRef.tick(); 100 window.location.reload(); 101 } 102 modifyUrl(langCode) { 103 const currentUrl = window.location.href; 104 const newUrl = currentUrl.replace(/\/[a-z]{2}\//, `/${langCode}/`); 105 window.history.pushState({}, "", newUrl); 106 } 107 ngOnDestroy() { 108 this.destroy$.next(); 109 this.destroy$.complete(); 110 } 111 static { 112 this.ɵfac = function LanguageSelectorComponent_Factory(__ngFactoryType__) { 113 return new (__ngFactoryType__ || _LanguageSelectorComponent)(ɵɵdirectiveInject(TranslationsService), ɵɵdirectiveInject(ApplicationRef), ɵɵdirectiveInject(Location), ɵɵdirectiveInject(ChannelService), ɵɵdirectiveInject(CookieService)); 114 }; 115 } 116 static { 117 this.ɵcmp = /* @__PURE__ */ɵɵdefineComponent({ 118 type: _LanguageSelectorComponent, 119 selectors: [["ush-language-selector"]], 120 viewQuery: function LanguageSelectorComponent_Query(rf, ctx) { 121 if (rf & 1) { 122 ɵɵviewQuery(_c0, 5, ElementRef); 123 } 124 if (rf & 2) { 125 let _t; 126 ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.dropdownRef = _t.first); 127 } 128 }, 129 decls: 2, 130 vars: 3, 131 consts: [["dropdown", ""], [4, "ngIf"], ["id", "langSelect", 4, "ngIf"], ["id", "langSelect"], ["panelStyleClass", "ush-panel-overlay", "appendTo", "body", "optionLabel", "name", 1, "fix", 3, "ngModelChange", "onChange", "ngModel", "options"]], 132 template: function LanguageSelectorComponent_Template(rf, ctx) { 133 if (rf & 1) { 134 ɵɵtemplate(0, LanguageSelectorComponent_ng_container_0_Template, 2, 1, "ng-container", 1); 135 ɵɵpipe(1, "async"); 136 } 137 if (rf & 2) { 138 ɵɵproperty("ngIf", ɵɵpipeBind1(1, 1, ctx.availableLanguages$)); 139 } 140 }, 141 dependencies: [CommonModule, NgIf, AsyncPipe, DropdownModule, FormsModule, NgControlStatus, NgModel, Select], 142 styles: ["/* libs/core/language-selector/language-selector.component.scss */\nush-language-selector #langSelect {\n margin: 0 auto;\n max-width: var(--language-select-max-width, 150px);\n}\nush-language-selector #langSelect * {\n text-transform: capitalize;\n}\nush-language-selector #langSelect :is(.p-select, .p-dropdown) {\n width: var(--language-select-width, 100%);\n min-height: var(--filtersHeight, 35px);\n border: var(--filtersInputBorder, 1px solid var(--colorLightGrey));\n border-bottom: var(--filtersInputBorderBottom, var(--filtersInputBorder, 1px solid var(--colorLightGrey)));\n border-radius: var(--borderRadius);\n background: var(--inputBoxBackground, var(--color-light-background, #ffffff));\n color: var(--inputBoxColor, inherit);\n}\nush-language-selector #langSelect :is(.p-select, .p-dropdown):not(.p-disabled):hover {\n border-color: var(--filterInputHoverBorderColor, var(--brandColor, currentColor));\n}\nush-language-selector #langSelect :is(.p-select-label, .p-dropdown-label) {\n padding: var(--dropdownLabelPadding, 0.5rem);\n color: inherit;
142\n font-weight: var(--language-select-label-font-weight, var(--default-normal-font-weight));\n}\nush-language-selector #langSelect :is(.p-select-dropdown, .p-dropdown-trigger) {\n background: var(--dropdownTriggerBackgroundColor, transparent);\n color: var(--dropdownTriggerColor, inherit);\n}\nush-language-selector #langSelect .p-select-dropdown .p-select-dropdown-icon,\nush-language-selector #langSelect .p-dropdown-trigger .p-dropdown-trigger-icon {\n color: inherit;\n}\n.ush-panel-overlay:is(.p-select-overlay, .p-dropdown-panel) {\n box-shadow: var(--language-select-overlay-shadow, 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12));\n border: 0 none;\n border-radius: var(--language-select-overlay-border-radius, 3px);\n background: var(--language-select-overlay-background, #ffffff);\n color: var(--language-select-overlay-color, #495057);\n}\n.ush-panel-overlay:is(.p-select-overlay, .p-dropdown-panel) * {\n text-transform: capitalize;\n}\n.ush-panel-overlay:is(.p-select-overlay, .p-dropdown-panel) .p-select-list,\n.ush-panel-overlay:is(.p-select-overlay, .p-dropdown-panel) .p-dropdown-items {\n padding: 0;\n}\n.ush-panel-overlay:is(.p-select-overlay, .p-dropdown-panel) .p-select-option,\n.ush-panel-overlay:is(.p-select-overlay, .p-dropdown-panel) .p-dropdown-item {\n padding: var(--language-select-item-padding, 8px);\n color: inherit;\n}\n.ush-panel-overlay:is(.p-select-overlay, .p-dropdown-panel) .p-select-option.p-select-option-selected,\n.ush-panel-overlay:is(.p-select-overlay, .p-dropdown-panel) .p-dropdown-item.p-highlight {\n background: var(--language-select-option-selected-background, #e5e5e5);\n color: var(--language-select-option-selected-color, inherit);\n}\n.ush-panel-overlay:is(.p-select-overlay, .p-dropdown-panel) .p-select-option:not(.p-select-option-selected):not(.p-disabled):hover,\n.ush-panel-overlay:is(.p-select-overlay, .p-dropdown-panel) .p-dropdown-item:not(.p-highlight):not(.p-disabled):hover {\n background: var(--language-select-option-hover-background, #f8f9fa);\n color: var(--language-select-option-hover-color, inherit);\n}\n/*# sourceMappingURL=language-selector.component-HDDO2HSX.css.map */\n"], 143 encapsulation: 2, 144 changeDetection: 0 145 }); 146 } 147}; 148(() => { 149 (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassDebugInfo(LanguageSelectorComponent, { 150 className: "LanguageSelectorComponent", 151 filePath: "libs/core/language-selector/language-selector.component.ts", 152 lineNumber: 42 153 }); 154})(); 155
156// libs/shared/feature-social-links/src/lib/social-links/social-links.component.ts 157var _c02 = () => ({ 158 height: 25 159}); 160function SocialLinksComponent_ng_container_0_Conditional_1_Template(rf, ctx) { 161 if (rf & 1) { 162 ɵɵelementStart(0, "div", 2)(1, "span"); 163 ɵɵi18n(2, 0); 164 ɵɵelementEnd()(); 165 } 166 if (rf & 2) { 167 const ctx_r0 = ɵɵnextContext(2); 168 ɵɵadvance(); 169 ɵɵattribute("data-translate", ctx_r0.labelKey); 170 ɵɵadvance(); 171 ɵɵi18nExp(ctx_r0.label); 172 ɵɵi18nApply(2); 173 } 174} 175function SocialLinksComponent_ng_container_0_li_4_ng_container_2_Template(rf, ctx) { 176 if (rf & 1) { 177 ɵɵelementContainerStart(0); 178 ɵɵelement(1, "fa-icon", 7); 179 ɵɵelementContainerEnd(); 180 } 181 if (rf & 2) { 182 const sl_r3 = ɵɵnextContext().$implicit; 183 ɵɵadvance(); 184 ɵɵproperty("icon", sl_r3.icon); 185 } 186} 187function SocialLinksComponent_ng_container_0_li_4_ng_container_3_Template(rf, ctx) { 188 if (rf & 1) { 189 ɵɵelementContainerStart(0); 190 ɵɵelement(1, "img", 8); 191 ɵɵelementContainerEnd(); 192 } 193 if (rf & 2) { 194 const sl_r3 = ɵɵnextContext().$implicit; 195 ɵɵadvance(); 196 ɵɵproperty("src", sl_r3.icon || ɵɵpureFunction0(2, _c02), ɵɵsanitizeUrl)("alt", sl_r3 + "icon"); 197 } 198} 199function SocialLinksComponent_ng_container_0_li_4_Template(rf, ctx) { 200 if (rf & 1) { 201 const _r2 = ɵɵgetCurrentView(); 202 ɵɵelementStart(0, "li", 5)(1, "a", 6); 203 ɵɵlistener("click", function SocialLinksComponent_ng_container_0_li_4_Template_a_click_1_listener() { 204 const sl_r3 = ɵɵrestoreView(_r2).$implicit; 205 const ctx_r0 = ɵɵnextContext(2); 206 return ɵɵresetView(ctx_r0.onSocialLinkClicked(sl_r3)); 207 }); 208 ɵɵtemplate(2, SocialLinksComponent_ng_container_0_li_4_ng_container_2_Template, 2, 1, "ng-container", 1)(3, SocialLinksComponent_ng_container_0_li_4_ng_container_3_Template, 2, 3, "ng-container", 1); 209 ɵɵelementEnd()(); 210 } 211 if (rf & 2) { 212 const sl_r3 = ctx.$implicit; 213 ɵɵproperty("ngClass", sl_r3.name); 214 ɵɵadvance(); 215 ɵɵproperty("ngClass", sl_r3.name)("href", sl_r3.to, ɵɵsanitizeUrl); 216 ɵɵattribute("data-type", sl_r3.iconType || "none"); 217 ɵɵadvance(); 218 ɵɵproperty("ngIf", sl_r3.iconType === "fa"); 219 ɵɵadvance(); 220 ɵɵproperty("ngIf", sl_r3.iconType === "image"); 221 } 222} 223function SocialLinksComponent_ng_container_0_Template(rf, ctx) { 224 if (rf & 1) { 225 ɵɵelementContainerStart(0); 226 ɵɵtemplate(1, SocialLinksComponent_ng_container_0_Conditional_1_Template, 3, 2, "div", 2); 227 ɵɵelementStart(2, "div", 3)(3, "ul"); 228 ɵɵtemplate(4, SocialLinksComponent_ng_container_0_li_4_Template, 4, 6, "li", 4); 229 ɵɵelementEnd()(); 230 ɵɵelementContainerEnd(); 231 } 232 if (rf & 2) { 233 const ctx_r0 = ɵɵnextContext(); 234 ɵɵadvance(); 235 ɵɵconditional(ctx_r0.hasLabel ? 1 : -1); 236 ɵɵadvance(3); 237 ɵɵproperty("ngForOf", ctx_r0.socialLinks); 238 } 239} 240var SocialLinksComponent = class _SocialLinksComponent { 241 get socialNetworks() { 242 return this._socialNetworks; 243 } 244 set socialNetworks(snls) { 245 this._socialNetworks = snls; 246 this.socialLinks = snls?.map(snl => { 247 const isBluesky = snl.socialNetwork.name.toLowerCase() === "bluesky"; 248 if (isBluesky && !this.showBlueSky) { 249 return void 0; 250 } 251 let iconType = "fa"; 252 let iconProp; 253 let icon; 254 switch (true) { 255 case this.iconsImage.includes(snl.socialNetwork.name): 256 iconType = "image"; 257 break; 258 default: 259 iconProp = this.getIconProp(snl.socialNetwork.name); 260 icon = this.getIcon(snl.socialNetwork.name); 261 } 262 return { 263 icon, 264 iconType, 265 iconProp, 266 title: `public.footer.social.${snl.socialNetwork.name}`, 267 to: snl.socialNetwork.baseUrl + snl.account, 268 name: snl.socialNetwork.name 269 }; 270 }).filter(Boolean); 271 } 272 constructor(trackingService, cd) { 273 this.trackingService = trackingService; 274 this.cd = cd; 275 this.envService = inject(EnvironmentService); 276 this.hasLabel = this.envService.socialLinksComponent()?.showLabel ?? false; 277 this.labelKey = "social-links.label"; 278 this.label = "follow us on"; 279 this.farBluesky = faBluesky; 280 this.env = inject(ENVIRONMENT); 281 this.faFacebook = faFacebook; 282 this.socialLinks = []; 283 this.showBlueSky = this.env?.showBlueSky; 284 this.faIcons = ["Bluesky", "youtube", "facebook", "instagram", "twitter", "angellist", "letterboxd", "linkedin", "vk", "vimeo", "pinterest", "imdb", "TikTok", "weibo"]; 285 this.iconsImage = ["cinando"]; 286 } 287 getIcon(name) { 288 switch (name) { 289 case "Bluesky": 290 return faBluesky; 291 case "youtube": 292 return faYoutube; 293 case "facebook": 294 return faFacebook; 295 case "instagram": 296 return faInstagram; 297 case "twitter": 298 return faXTwitter; 299 case "angellist": 300 return faAngellist; 301 case "letterboxd": 302 return faLetterboxd; 303 case "linkedin": 304 return faLinkedin; 305 case "vk": 306 return faVk; 307 case "pinterest": 308 return faPinterest; 309 case "imdb": 310 return faImdb; 311 case "tiktok": 312 case "TikTok": 313 return faTiktok; 314 case "weibo": 315 return faWeibo; 316 } 317 console.error(`Icon ${name} is not found, please review it.`); 318 return faAngry; 319 } 320 getIconProp(name) { 321 switch (name) { 322 case "Bluesky": 323 return "bluesky"; 324 case "youtube": 325 return "youtube"; 326 case "facebook": 327 return "facebook"; 328 case "twitter":
329 return "twitter"; 330 case "instagram": 331 return "instagram"; 332 case "angellist": 333 return "angellist"; 334 case "letterboxd": 335 return "letterboxd"; 336 case "linkedin": 337 return "linkedin"; 338 case "vk": 339 return "vk"; 340 case "vimeo": 341 return "vimeo"; 342 case "pinterest": 343 return "pinterest"; 344 case "imdb": 345 return "imdb"; 346 case "TikTok": 347 return "tiktok"; 348 case "weibo": 349 return "weibo"; 350 default: 351 return null; 352 } 353 } 354 /** 355 * Gets image icons from name. 356 * @param name 357 * @returns 358 */ 359 getIconImage(name) { 360 switch (name) { 361 case "cinando": 362 return "https://cdnstatic.usheru.com/img/social-icons/cinando.png"; 363 case "letterboxd": 364 return "https://cdnstatic.usheru.com/img/social-icons/letterboxd-white.png"; 365 default: 366 return null; 367 } 368 } 369 /** 370 * When the user click a social icons add a tracking. 371 * @param sl 372 */ 373 onSocialLinkClicked(sl) { 374 if (this.movie) { 375 this.trackingService.trackEvent({ 376 action: `MovieSocialLink`, 377 properties: { 378 category: "MovieDetail", 379 label: sl.to, 380 idMovie: this.movie.id, 381 imdb: this.movie?.imdb, 382 movie: this.movie.title, 383 tagsMovie: getMovieTags(this.movie), 384 genresMovie: getMovieGenres(this.movie), 385 socialPlatform: sl.icon.iconName 386 } 387 }); 388 } else { 389 this.trackingService.trackEvent({ 390 action: `ChannelSocialLink`, 391 properties: { 392 category: "Footer", 393 label: sl.to, 394 socialPlatform: sl.icon.iconName 395 } 396 }); 397 } 398 } 399 static { 400 this.ɵfac = function SocialLinksComponent_Factory(__ngFactoryType__) { 401 return new (__ngFactoryType__ || _SocialLinksComponent)(ɵɵdirectiveInject(TRACKING_SERVICE), ɵɵdirectiveInject(ChangeDetectorRef)); 402 }; 403 } 404 static { 405 this.ɵcmp = /* @__PURE__ */ɵɵdefineComponent({ 406 type: _SocialLinksComponent, 407 selectors: [["ush-social-links"]], 408 inputs: { 409 socialNetworks: "socialNetworks", 410 movie: "movie" 411 }, 412 standalone: false, 413 decls: 1, 414 vars: 1, 415 consts: () => { 416 let i18n_0; 417 if (false) { 418 const MSG_EXTERNAL_5121980365812208376$$LIBS_SHARED_FEATURE_SOCIAL_LINKS_SRC_LIB_SOCIAL_LINKS_SOCIAL_LINKS_COMPONENT_TS_0 = goog.getMsg("{$interpolation}", { 419 "interpolation": "\uFFFD0\uFFFD" 420 }, { 421 original_code: { 422 "interpolation": "{{ label }}" 423 } 424 }); 425 i18n_0 = MSG_EXTERNAL_5121980365812208376$$LIBS_SHARED_FEATURE_SOCIAL_LINKS_SRC_LIB_SOCIAL_LINKS_SOCIAL_LINKS_COMPONENT_TS_0; 426 } else { 427 i18n_0 = "" + "\uFFFD0\uFFFD" + ""; 428 } 429 return [i18n_0, [4, "ngIf"], [1, "social-links-label"], [1, "social-links"], [3, "ngClass", 4, "ngFor", "ngForOf"], [3, "ngClass"], ["target", "_blank", 1, "social-link", 3, "click", "ngClass", "href"], ["size", "lg", 3, "icon"], [3, "src", "alt"]]; 430 }, 431 template: function SocialLinksComponent_Template(rf, ctx) { 432 if (rf & 1) { 433 ɵɵtemplate(0, SocialLinksComponent_ng_container_0_Template, 5, 2, "ng-container", 1); 434 } 435 if (rf & 2) { 436 ɵɵproperty("ngIf", ctx.socialLinks); 437 } 438 }, 439 dependencies: [NgClass, NgForOf, NgIf, FaIconComponent], 440 styles: ["\n\n.social-links[_ngcontent-%COMP%] {\n display: flex;\n justify-content: flex-start;\n}\n.social-links[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] {\n display: flex;\n column-gap: var(--social-links-ul-column-gap, 0);\n row-gap: var(--social-links-ul-row-gap, 0);\n margin: 0;\n margin-left: var(--social-links-ul-margin-left);\n padding: 0;\n list-style-type: none;\n}\n.social-links[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%] {\n text-decoration: none;\n}\n@media (max-width: 767px) {\n .social-links[_ngcontent-%COMP%] {\n justify-content: center !important;\n width: 100%;\n }\n}\n.social-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%] {\n display: flex;\n justify-content: center;\n align-items: center;\n scale: var(--social-links-a-scale, 1);\n transition: var(--social-links-a-transition, 0.4s border-color);\n border-color: var(--social-links-a-border-color, transparent);\n border: var(--social-links-a-border, 2px solid transparent);\n border-radius: var(--social-links-a-border-radius, 50%);\n background-color: var(--social-links-a-bg-color);\n width: var(--social-links-a-size, 45px);\n height: var(--social-links-a-size, 45px);\n color: var(--social-links-a-color);\n font-size: var(--social-links-a-font-size, 18px) !important;\n}\n.social-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%] {\n width: var(--social-links-img-width, 25px);\n}\n.social-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:is(:hover, .social-links a:focus) {\n scale: var(--social-links-a-hover-scale, var(--social-links-a-scale, 1));\n border-color: var(--social-links-a-hover-border-color, var(--social-links-a-border-color, transparent));\n background-color: var(--social-links-a-hover-bg-color, var(--social-links-a-bg-color));\n color: var(--social-links-a-hover-color, var(--social-links-a-color));\n}\nfa-icon[_ngcontent-%COMP%] {\n color: var(--social-links-fa-icon-color, var(--socialLinksColor));\n}\n.social-links-label[_ngcontent-%COMP%] {\n display: var(--social-links-label-display, block);\n margin-bottom: var(--social-links-label-margin-bottom, 0.5rem);\n color: var(--social-links-label-color, inherit);
440\n font-weight: var(--social-links-label-font-weight);\n font-size: var(--social-links-label-font-size, 1rem);\n text-align: var(--social-links-label-text-align, left);\n text-transform: var(--social-links-label-text-transform, initial);\n}\n/*# sourceMappingURL=social-links.component-JCT66DCP.css.map */"], 441 changeDetection: 0 442 }); 443 } 444}; 445(() => { 446 (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassDebugInfo(SocialLinksComponent, { 447 className: "SocialLinksComponent", 448 filePath: "libs/shared/feature-social-links/src/lib/social-links/social-links.component.ts", 449 lineNumber: 37 450 }); 451})(); 452
453// libs/shared/feature-social-links/src/lib/shared-feature-social-links.module.ts 454var SharedFeatureSocialLinksModule = class _SharedFeatureSocialLinksModule { 455 static { 456 this.ɵfac = function SharedFeatureSocialLinksModule_Factory(__ngFactoryType__) { 457 return new (__ngFactoryType__ || _SharedFeatureSocialLinksModule)(); 458 }; 459 } 460 static { 461 this.ɵmod = /* @__PURE__ */ɵɵdefineNgModule({ 462 type: _SharedFeatureSocialLinksModule 463 }); 464 } 465 static { 466 this.ɵinj = /* @__PURE__ */ɵɵdefineInjector({ 467 imports: [CommonModule, FontAwesomeModule] 468 }); 469 } 470}; 471
472// libs/ui/footer-localize/footer-localize.pipe.ts 473var FooterLocalizePipe = class _FooterLocalizePipe { 474 transform(key, placeholder) { 475 const value = rt("title", key, footerTranslations, placeholder); 476 return value; 477 } 478 static { 479 this.ɵfac = function FooterLocalizePipe_Factory(__ngFactoryType__) { 480 return new (__ngFactoryType__ || _FooterLocalizePipe)(); 481 }; 482 } 483 static { 484 this.ɵpipe = /* @__PURE__ */ɵɵdefinePipe({ 485 name: "footerLocalize", 486 type: _FooterLocalizePipe, 487 pure: true 488 }); 489 } 490}; 491
492// libs/core/footer/footer.component.ts 493var _c03 = a0 => ({ 494 "transparent-background": a0 495}); 496var _c1 = a0 => ({ 497 "only-element": a0 498}); 499var _c2 = (a0, a1, a2) => ({ 500 active: a0, 501 hasLink: a1, 502 isParent: a2 503}); 504var _c3 = a0 => ({ 505 $implicit: a0 506}); 507function FooterComponent_div_0_Template(rf, ctx) { 508 if (rf & 1) { 509 ɵɵelement(0, "div", 8); 510 ɵɵpipe(1, "safe"); 511 } 512 if (rf & 2) { 513 const customStyle_r1 = ctx.ngIf; 514 ɵɵproperty("innerHTML", ɵɵpipeBind2(1, 1, customStyle_r1, "html"), ɵɵsanitizeHtml); 515 } 516} 517function FooterComponent_ng_container_3_Template(rf, ctx) { 518 if (rf & 1) { 519 ɵɵelementContainer(0); 520 } 521} 522function FooterComponent_ng_container_4_ng_container_1_Template(rf, ctx) { 523 if (rf & 1) { 524 ɵɵelementContainerStart(0); 525 ɵɵelementStart(1, "div", 14); 526 ɵɵelement(2, "ush-showtime-streaming-subscribe", 15); 527 ɵɵelementEnd(); 528 ɵɵelementContainerEnd(); 529 } 530 if (rf & 2) { 531 ɵɵadvance(2); 532 ɵɵproperty("type", "all"); 533 } 534} 535function FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_1_ng_container_0_Template(rf, ctx) { 536 if (rf & 1) { 537 ɵɵelementContainer(0); 538 } 539} 540function FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_1_Template(rf, ctx) { 541 if (rf & 1) { 542 ɵɵtemplate(0, FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_1_ng_container_0_Template, 1, 0, "ng-container", 18); 543 } 544 if (rf & 2) { 545 ɵɵnextContext(); 546 const logoImg_r2 = ɵɵreference(6); 547 ɵɵproperty("ngTemplateOutlet", logoImg_r2); 548 } 549} 550function FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_a_0_Conditional_1_ng_container_0_Template(rf, ctx) { 551 if (rf & 1) { 552 ɵɵelementContainer(0); 553 } 554} 555function FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_a_0_Conditional_1_Template(rf, ctx) { 556 if (rf & 1) { 557 ɵɵtemplate(0, FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_a_0_Conditional_1_ng_container_0_Template, 1, 0, "ng-container", 18); 558 } 559 if (rf & 2) { 560 ɵɵnextContext(3); 561 const logoImg_r2 = ɵɵreference(6); 562 ɵɵproperty("ngTemplateOutlet", logoImg_r2); 563 } 564} 565function FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_a_0_Conditional_2_ng_container_0_Template(rf, ctx) { 566 if (rf & 1) { 567 ɵɵelementContainer(0); 568 } 569} 570function FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_a_0_Conditional_2_Template(rf, ctx) { 571 if (rf & 1) { 572 ɵɵtemplate(0, FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_a_0_Conditional_2_ng_container_0_Template, 1, 0, "ng-container", 18); 573 } 574 if (rf & 2) { 575 ɵɵnextContext(3); 576 const assetImg_r3 = ɵɵreference(4); 577 ɵɵproperty("ngTemplateOutlet", assetImg_r3); 578 } 579} 580function FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_a_0_Template(rf, ctx) { 581 if (rf & 1) { 582 ɵɵelementStart(0, "a", 21); 583 ɵɵtemplate(1, FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_a_0_Conditional_1_Template, 1, 1, "ng-container")(2, FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_a_0_Conditional_2_Template, 1, 1, "ng-container"); 584 ɵɵelementEnd(); 585 } 586 if (rf & 2) { 587 const ctx_r3 = ɵɵnextContext(5); 588 ɵɵproperty("routerLink", ctx_r3.logoLink); 589 ɵɵadvance(); 590 ɵɵconditional((ctx_r3.logoUrl == null ? null : ctx_r3.logoUrl.indexOf("/assets/")) !== 0 ? 1 : 2); 591 } 592} 593function FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_a_1_ng_container_1_Template(rf, ctx) { 594 if (rf & 1) { 595 ɵɵelementContainer(0); 596 } 597} 598function FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_a_1_Template(rf, ctx) { 599 if (rf & 1) { 600 ɵɵelementStart(0, "a", 22); 601 ɵɵtemplate(1, FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_a_1_ng_container_1_Template, 1, 0, "ng-container", 18); 602 ɵɵelementEnd(); 603 } 604 if (rf & 2) { 605 ɵɵnextContext(2); 606 const logoImg_r2 = ɵɵreference(6); 607 const ctx_r3 = ɵɵnextContext(3); 608 ɵɵproperty("href", ctx_r3.logoLink, ɵɵsanitizeUrl); 609 ɵɵadvance(); 610 ɵɵproperty("ngTemplateOutlet", logoImg_r2); 611 } 612} 613function FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_Template(rf, ctx) { 614 if (rf & 1) { 615 ɵɵtemplate(0, FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_a_0_Template, 3, 2, "a", 19)(1, FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_a_1_Template, 2, 2, "a", 20); 616 } 617 if (rf & 2) { 618 const ctx_r3 = ɵɵnextContext(4); 619 ɵɵproperty("ngIf", !ctx_r3.logoLinkExternal); 620 ɵɵadvance(); 621 ɵɵproperty("ngIf", ctx_r3.logoLinkExternal); 622 } 623} 624function FooterComponent_ng_container_4_Conditional_4_ng_container_1_ng_template_3_Template(rf, ctx) { 625 if (rf & 1) { 626 ɵɵelement(0, "img", 23); 627 } 628 if (rf & 2) { 629 const ctx_r3 = ɵɵnextContext(4); 630 ɵɵproperty("src", ctx_r3.logoUrl, ɵɵsanitizeUrl); 631 } 632} 633function FooterComponent_ng_container_4_Conditional_4_ng_container_1_ng_template_5_Template(rf, ctx) { 634 if (rf & 1) { 635 ɵɵelement(0, "img", 24); 636 ɵɵpipe(1, "img"); 637 } 638 if (rf & 2) { 639 const ctx_r3 = ɵɵnextContext(4); 640 ɵɵproperty("src", ɵɵpipeBind2(1, 2, ctx_r3.logoUrl, ctx_r3.logoParams), ɵɵsanitizeUrl)("ngClass", ctx_r3.logoClass); 641 } 642} 643function FooterComponent_ng_container_4_Conditional_4_ng_container_1_Template(rf, ctx) { 644 if (rf & 1) { 645 ɵɵelementContainerStart(0); 646 ɵɵtemplate(1, FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_1_Template, 1, 1, "ng-container")(2, FooterComponent_ng_container_4_Conditional_4_ng_container_1_Conditional_2_Template, 2, 2)(3, FooterComponent_ng_container_4_Conditional_4_ng_container_1_ng_template_3_Template, 1, 1, "ng-template", null, 1, ɵɵtemplateRefExtractor)(5, FooterComponent_ng_container_4_Conditional_4_ng_container_1_ng_template_5_Template, 2, 5, "ng-template", null, 2, ɵɵtemplateRefExtractor); 647 ɵɵelementContainerEnd(); 648 } 649 if (rf & 2) { 650 const ctx_r3 = ɵɵnextContext(3); 651 ɵɵadvance(); 652 ɵɵconditional(ctx_r3.omitLogoLink ? 1 : 2); 653 } 654} 655function FooterComponent_ng_container_4_Conditional_4_ng_template_2_ng_container_2_a_1_img_1_Template(rf, ctx) { 656 if (rf & 1) { 657 ɵɵelement(0, "img", 30); 658 ɵɵpipe(1, "img"); 659 } 660 if (rf & 2) { 661 const logo_r5 = ɵɵnextContext(2).$implicit; 662 ɵɵpropertyInterpolate("alt", (logo_r5 == null ? null : logo_r5.logoAlt) ? logo_r5 == null ? null : logo_r5.logoAlt : "logo " + (logo_r5 == null ? null : logo_r5.logoClass)); 663 ɵɵproperty("src", ɵɵpipeBind2(1, 2, logo_r5 == null ? null : logo_r5.logoUrl, logo_r5 == null ? null : logo_r5.logoParams), ɵɵsanitizeUrl); 664 } 665} 666function FooterComponent_ng_container_4_Conditional_4_ng_template_2_ng_container_2_a_1_Template(rf, ctx) { 667 if (rf & 1) { 668 ɵɵelementStart(0, "a", 28); 669 ɵɵtemplate(1, FooterComponent_ng_container_4_Conditional_4_ng_template_2_ng_container_2_a_1_img_1_Template, 2, 5, "img", 29); 670 ɵɵelementEnd(); 671 } 672 if (rf & 2) { 673 const logo_r5 = ɵɵnextContext().$implicit; 674 const logoAssetImg_r6 = ɵɵreference(4); 675 ɵɵproperty("routerLink", logo_r5 == null ? null : logo_r5.logoLink)("ngClass", logo_r5 == null ? null : logo_r5.logoClass); 676 ɵɵadvance(); 677 ɵɵproperty("ngIf", (logo_r5 == null ? null : logo_r5.logoUrl == null ? null : logo_r5.logoUrl.indexOf("/assets/")) !== 0)("ngIfElse", logoAssetImg_r6); 678 } 679} 680function FooterComponent_ng_container_4_Conditional_4_ng_template_2_ng_container_2_a_2_img_1_Template(rf, ctx) { 681 if (rf & 1) { 682 ɵɵelement(0, "img", 30); 683 ɵɵpipe(1, "img"); 684 } 685 if (rf & 2) { 686 const logo_r5 = ɵɵnextContext(2).$implicit; 687 const ctx_r3 = ɵɵnextContext(4); 688 ɵɵpropertyInterpolate("alt", (logo_r5 == null ? null : logo_r5.logoAlt) ? logo_r5 == null ? null : logo_r5.logoAlt : "logo " + (logo_r5 == null ? null : logo_r5.logoClass)); 689 ɵɵproperty("src", ɵɵpipeBind2(1, 2, logo_r5 == null ? null : logo_r5.logoUrl, ctx_r3.logoParams), ɵɵsanitizeUrl); 690 } 691} 692function FooterComponent_ng_container_4_Conditional_4_ng_template_2_ng_container_2_a_2_Template(rf, ctx) { 693 if (rf & 1) { 694 ɵɵelementStart(0, "a", 31); 695 ɵɵtemplate(1, FooterComponent_ng_container_4_Conditional_4_ng_template_2_ng_container_2_a_2_img_1_Template, 2, 5, "img", 29); 696 ɵɵelementEnd(); 697 } 698 if (rf & 2) { 699 const logo_r5 = ɵɵnextContext().$implicit; 700 const logoAssetImg_r6 = ɵɵreference(4); 701 ɵɵproperty("href", logo_r5 == null ? null : logo_r5.logoLink, ɵɵsanitizeUrl)("ngClass", logo_r5 == null ? null : logo_r5.logoClass); 702 ɵɵadvance(); 703 ɵɵproperty("ngIf", (logo_r5 == null ? null : logo_r5.logoUrl == null ? null : logo_r5.logoUrl.indexOf("/assets/")) !== 0)("ngIfElse", logoAssetImg_r6); 704 } 705} 706function FooterComponent_ng_container_4_Conditional_4_ng_template_2_ng_container_2_ng_template_3_Template(rf, ctx) { 707 if (rf & 1) { 708 ɵɵelement(0, "img", 30); 709 } 710 if (rf & 2) { 711 const logo_r5 = ɵɵnextContext().$implicit; 712 ɵɵpropertyInterpolate("alt", (logo_r5 == null ? null : logo_r5.logoAlt) ? logo_r5 == null ? null : logo_r5.logoAlt : "logo " + (logo_r5 == null ? null : logo_r5.logoClass)); 713 ɵɵproperty("src", logo_r5 == null ? null : logo_r5.logoUrl, ɵɵsanitizeUrl); 714 } 715} 716function FooterComponent_ng_container_4_Conditional_4_ng_template_2_ng_container_2_Template(rf, ctx) { 717 if (rf & 1) { 718 ɵɵelementContainerStart(0); 719 ɵɵtemplate(1, FooterComponent_ng_container_4_Conditional_4_ng_template_2_ng_container_2_a_1_Template, 2, 4, "a", 26)(2, FooterComponent_ng_container_4_Conditional_4_ng_template_2_ng_container_2_a_2_Template, 2, 4, "a", 27)(3, FooterComponent_ng_container_4_Conditional_4_ng_template_2_ng_container_2_ng_template_3_Template, 1, 2, "ng-template", null, 3, ɵɵtemplateRefExtractor); 720 ɵɵelementContainerEnd(); 721 } 722 if (rf & 2) { 723 const logo_r5 = ctx.$implicit; 724 ɵɵadvance(); 725 ɵɵproperty("ngIf", !(logo_r5 == null ? null : logo_r5.logoLinkExternal)); 726 ɵɵadvance(); 727 ɵɵproperty("ngIf", logo_r5 == null ? null : logo_r5.logoLinkExternal); 728 } 729} 730function FooterComponent_ng_container_4_Conditional_4_ng_template_2_Template(rf, ctx) { 731 if (rf & 1) { 732 ɵɵelementStart(0, "span"); 733 ɵɵtext(1); 734 ɵɵelementEnd(); 735 ɵɵtemplate(2, FooterComponent_ng_container_4_Conditional_4_ng_template_2_ng_container_2_Template, 5, 2, "ng-container", 25); 736 } 737 if (rf & 2) { 738 const ctx_r3 = ɵɵnextContext(3); 739 ɵɵattribute("data-translate", ctx_r3.multiplelogosText); 740 ɵɵadvance(); 741 ɵɵtextInterpolate(ctx_r3.multiplelogosText); 742 ɵɵadvance(); 743 ɵɵproperty("ngForOf", ctx_r3.mutiplelogos); 744 } 745} 746function FooterComponent_ng_container_4_Conditional_4_Template(rf, ctx) { 747 if (rf & 1) { 748 ɵɵelementStart(0, "div", 16); 749 ɵɵtemplate(1, FooterComponent_ng_container_4_Conditional_4_ng_container_1_Template, 7, 1, "ng-container", 17)(2, FooterComponent_ng_container_4_Conditional_4_ng_template_2_Template, 3, 3, "ng-template", null, 0, ɵɵtemplateRefExtractor); 750 ɵɵelementEnd(); 751 } 752 if (rf & 2) { 753 const mutiplelogosTemplate_r7 = ɵɵreference(3); 754 const ctx_r3 = ɵɵnextContext(2); 755 ɵɵclassProp("footer-logos", ctx_r3.mutiplelogos); 756 ɵɵadvance(); 757 ɵɵproperty("ngIf", !ctx_r3.mutiplelogos)("ngIfElse", mutiplelogosTemplate_r7); 758 } 759} 760function FooterComponent_ng_container_4_Conditional_5_Template(rf, ctx) { 761 if (rf & 1) { 762 ɵɵelement(0, "ush-social-links", 12); 763 } 764 if (rf & 2) { 765 const ctx_r3 = ɵɵnextContext(2); 766 ɵɵproperty("socialNetworks", ctx_r3.socialLinks); 767 } 768} 769function FooterComponent_ng_container_4_ng_container_6_li_3_a_2_Template(rf, ctx) { 770 if (rf & 1) { 771 ɵɵelementStart(0, "a", 40); 772 ɵɵpipe(1, "cammelCase"); 773 ɵɵtext(2); 774 ɵɵpipe(3, "cammelCase"); 775 ɵɵpipe(4, "footerLocalize"); 776 ɵɵelement(5, "div", 41); 777 ɵɵelementEnd(); 778 } 779 if (rf & 2) { 780 const link_r9 = ɵɵnextContext().$implicit; 781 ɵɵproperty("href", link_r9.link, ɵɵsanitizeUrl); 782 ɵɵattribute("data-external", true)("data-translate", "public.footer.link." + ɵɵpipeBind1(1, 4, link_r9.name)); 783 ɵɵadvance(2); 784 ɵɵtextInterpolate1(" ", ɵɵpipeBind2(4, 8, ɵɵpipeBind1(3, 6, link_r9.name), link_r9.name), " "); 785 } 786} 787function FooterComponent_ng_container_4_ng_container_6_li_3_a_3_Template(rf, ctx) { 788 if (rf & 1) { 789 ɵɵelementStart(0, "a", 42); 790 ɵɵpipe(1, "cammelCase"); 791 ɵɵtext(2); 792 ɵɵpipe(3, "cammelCase"); 793 ɵɵpipe(4, "footerLocalize"); 794 ɵɵelement(5, "div", 41); 795 ɵɵelementEnd(); 796 } 797 if (rf & 2) { 798 const link_r9 = ɵɵnextContext().$implicit; 799 ɵɵproperty("routerLink", link_r9.url || link_r9.link)("fragment", link_r9.fragment)("ngClass", ɵɵpureFunction3(12, _c2, link_r9.
799isActive, link_r9 == null ? null : link_r9.link, link_r9 == null ? null : link_r9.isParent)); 800 ɵɵattribute("data-translate", "public.footer.link." + ɵɵpipeBind1(1, 5, link_r9.name)); 801 ɵɵadvance(2); 802 ɵɵtextInterpolate1(" ", ɵɵpipeBind2(4, 9, ɵɵpipeBind1(3, 7, link_r9.name), link_r9.name), " "); 803 } 804} 805function FooterComponent_ng_container_4_ng_container_6_li_3_span_4_Template(rf, ctx) { 806 if (rf & 1) { 807 ɵɵelementStart(0, "span", 43); 808 ɵɵpipe(1, "cammelCase"); 809 ɵɵtext(2); 810 ɵɵpipe(3, "cammelCase"); 811 ɵɵpipe(4, "footerLocalize"); 812 ɵɵelement(5, "div", 41); 813 ɵɵelementEnd(); 814 } 815 if (rf & 2) { 816 const link_r9 = ɵɵnextContext().$implicit; 817 ɵɵproperty("ngClass", ɵɵpureFunction3(10, _c2, link_r9.isActive, link_r9 == null ? null : link_r9.link, link_r9 == null ? null : link_r9.isParent)); 818 ɵɵattribute("data-translate", "public.footer.link." + ɵɵpipeBind1(1, 3, link_r9.name)); 819 ɵɵadvance(2); 820 ɵɵtextInterpolate1(" ", ɵɵpipeBind2(4, 7, ɵɵpipeBind1(3, 5, link_r9.name), link_r9.name), " "); 821 } 822} 823function FooterComponent_ng_container_4_ng_container_6_li_3_Template(rf, ctx) { 824 if (rf & 1) { 825 const _r8 = ɵɵgetCurrentView(); 826 ɵɵelementStart(0, "li", 35); 827 ɵɵlistener("click", function FooterComponent_ng_container_4_ng_container_6_li_3_Template_li_click_0_listener() { 828 const link_r9 = ɵɵrestoreView(_r8).$implicit; 829 const ctx_r3 = ɵɵnextContext(3); 830 return ɵɵresetView(ctx_r3.onFooterLinkClicked(link_r9)); 831 }); 832 ɵɵelementContainerStart(1, 36); 833 ɵɵtemplate(2, FooterComponent_ng_container_4_ng_container_6_li_3_a_2_Template, 6, 11, "a", 37)(3, FooterComponent_ng_container_4_ng_container_6_li_3_a_3_Template, 6, 16, "a", 38)(4, FooterComponent_ng_container_4_ng_container_6_li_3_span_4_Template, 6, 14, "span", 39); 834 ɵɵelementContainerEnd(); 835 ɵɵelementEnd(); 836 } 837 if (rf & 2) { 838 const link_r9 = ctx.$implicit; 839 ɵɵadvance(); 840 ɵɵproperty("ngSwitch", true); 841 ɵɵadvance(); 842 ɵɵproperty("ngSwitchCase", link_r9.isExternal); 843 ɵɵadvance(); 844 ɵɵproperty("ngSwitchCase", !link_r9.isExternal && !(link_r9.isPopup && link_r9.command)); 845 } 846} 847function FooterComponent_ng_container_4_ng_container_6_ng_container_4_Template(rf, ctx) { 848 if (rf & 1) { 849 ɵɵelementContainerStart(0); 850 ɵɵelementContainer(1, 44); 851 ɵɵelementContainerEnd(); 852 } 853 if (rf & 2) { 854 const ctx_r3 = ɵɵnextContext(3); 855 ɵɵadvance(); 856 ɵɵproperty("ngTemplateOutlet", ctx_r3.footerCustomLinkTemplate)("ngTemplateOutletContext", ɵɵpureFunction1(2, _c3, ctx_r3.footerInstance)); 857 } 858} 859function FooterComponent_ng_container_4_ng_container_6_Template(rf, ctx) { 860 if (rf & 1) { 861 ɵɵelementContainerStart(0); 862 ɵɵelementStart(1, "div", 32)(2, "ul", 33); 863 ɵɵtemplate(3, FooterComponent_ng_container_4_ng_container_6_li_3_Template, 5, 3, "li", 34)(4, FooterComponent_ng_container_4_ng_container_6_ng_container_4_Template, 2, 4, "ng-container", 7); 864 ɵɵelementEnd()(); 865 ɵɵelementContainerEnd(); 866 } 867 if (rf & 2) { 868 const ctx_r3 = ɵɵnextContext(2); 869 ɵɵadvance(3); 870 ɵɵproperty("ngForOf", ctx_r3.links); 871 ɵɵadvance(); 872 ɵɵproperty("ngIf", ctx_r3.footerCustomLinkTemplate); 873 } 874} 875function FooterComponent_ng_container_4_ng_container_7_Template(rf, ctx) { 876 if (rf & 1) { 877 ɵɵelementContainerStart(0); 878 ɵɵelementStart(1, "div", 45); 879 ɵɵtext(2); 880 ɵɵelementEnd(); 881 ɵɵelementContainerEnd(); 882 } 883 if (rf & 2) { 884 const ctx_r3 = ɵɵnextContext(2); 885 ɵɵadvance(2); 886 ɵɵtextInterpolate1(" ", ctx_r3.copyrightMsg, " "); 887 } 888} 889function FooterComponent_ng_container_4_ush_language_selector_8_Template(rf, ctx) { 890 if (rf & 1) { 891 ɵɵelement(0, "ush-language-selector"); 892 } 893} 894function FooterComponent_ng_container_4_ng_container_9_Template(rf, ctx) { 895 if (rf & 1) { 896 ɵɵelementContainerStart(0); 897 ɵɵelement(1, "div", 46); 898 ɵɵpipe(2, "safe"); 899 ɵɵelementContainerEnd(); 900 } 901 if (rf & 2) { 902 const footerContent_r10 = ctx.ngIf; 903 ɵɵadvance(); 904 ɵɵproperty("innerHTML", ɵɵpipeBind2(2, 1, footerContent_r10, "html"), ɵɵsanitizeHtml); 905 } 906} 907function FooterComponent_ng_container_4_Template(rf, ctx) { 908 if (rf & 1) { 909 ɵɵelementContainerStart(0); 910 ɵɵtemplate(1, FooterComponent_ng_container_4_ng_container_1_Template, 3, 1, "ng-container", 7); 911 ɵɵelementStart(2, "div", 9)(3, "div", 10); 912 ɵɵtemplate(4, FooterComponent_ng_container_4_Conditional_4_Template, 4, 4, "div", 11)(5, FooterComponent_ng_container_4_Conditional_5_Template, 1, 1, "ush-social-links", 12)(6, FooterComponent_ng_container_4_ng_container_6_Template, 5, 2, "ng-container", 7)(7, FooterComponent_ng_container_4_ng_container_7_Template, 3, 1, "ng-container", 7)(8, FooterComponent_ng_container_4_ush_language_selector_8_Template, 1, 0, "ush-language-selector", 7)(9, FooterComponent_ng_container_4_ng_container_9_Template, 3, 4, "ng-container", 7); 913 ɵɵelement(10, "ush-usheru-logo", 13); 914 ɵɵelementEnd()(); 915 ɵɵelementContainerEnd(); 916 } 917 if (rf & 2) { 918 const ctx_r3 = ɵɵnextContext(); 919 ɵɵadvance(); 920 ɵɵproperty("ngIf", ctx_r3.emailSubscriptionSignupEnabled); 921 ɵɵadvance(); 922 ɵɵproperty("ngClass", ɵɵpureFunction1(9, _c03, ctx_r3.transparentBackgroun
922d)); 923 ɵɵadvance(2); 924 ɵɵconditional(!ctx_r3.appOnlyHasMovies ? 4 : -1); 925 ɵɵadvance(); 926 ɵɵconditional(ctx_r3.hasSocialLinks && (ctx_r3.socialLinks == null ? null : ctx_r3.socialLinks.length) > 0 ? 5 : -1); 927 ɵɵadvance(); 928 ɵɵproperty("ngIf", (ctx_r3.links == null ? null : ctx_r3.links.length) || 0 > 0); 929 ɵɵadvance(); 930 ɵɵproperty("ngIf", ctx_r3.copyrightMsg); 931 ɵɵadvance(); 932 ɵɵproperty("ngIf", ctx_r3.channelMultipleLanguages); 933 ɵɵadvance(); 934 ɵɵproperty("ngIf", ctx_r3.footerComplementModuleContent); 935 ɵɵadvance(); 936 ɵɵproperty("ngClass", ɵɵpureFunction1(11, _c1, ctx_r3.appOnlyHasMovies && ctx_r3.links.length <= 0 && ctx_r3.hasSocialLinks && (ctx_r3.socialLinks == null ? null : ctx_r3.socialLinks.length) <= 0 && !ctx_r3.copyrightMsg && !ctx_r3.channelMultipleLanguages)); 937 } 938} 939var FooterComponent = class _FooterComponent { 940 get mainLogoDropShadowEffectBinding() { 941 return this.mainLogoDropShadowEffect() || null; 942 } 943 /** 944 * Get the content of the custom module with title "footer-complement" if exists. 945 */ 946 get footerComplementModuleContent() { 947 return this.channel?.getCustomModule("footer-complement")?.content; 948 } 949 constructor(channelService, navigationService, env, templateService, footerService, cd, trackingService) { 950 this.channelService = channelService; 951 this.navigationService = navigationService; 952 this.env = env; 953 this.templateService = templateService; 954 this.footerService = footerService; 955 this.cd = cd; 956 this.trackingService = trackingService; 957 this.mainLogoAlternative = input(void 0); 958 this.mainLogoDropShadowEffect = input("white"); 959 this.logoLinkExternal = false; 960 this.omitLogoLink = false; 961 this.appOnlyHasMovies = false; 962 this.customStyle$ = this.footerService.customStyle$; 963 this.destroy$ = new Subject(); 964 const channel = this.channelService.channel; 965 this.channel = channel; 966 this.emailSubscriptionSignupEnabled = this.channelService?.properties?.emailSubscriptionSignupEnabled ?? channel.commsConsumerSignup; 967 this.appOnlyHasMovies = this.env?.appHasOnlyMovies; 968 this.hasSocialLinks = !env?.customPageParams?.headerSocialLinks || env?.customPageParams?.footerSocialLinks; 969 this.channelMultipleLanguages = channel?.languages?.length > 1; 970 } 971 /** 972 * Set some variables and the {@link footerCustomLinkTemplate}. 973 */ 974 ngOnInit() { 975 this.prepareLogosConfig(); 976 this.links = this.navigationService.getFooterLinks().filter(link => link.visibility == 3); 977 this.links = this.links.map(item => { 978 if (item["link"].includes("#")) { 979 const [path, fragment] = item["link"].split("#"); 980 const firstPathSegment = path.split("/")[1]; 981 return __spreadProps(__spreadValues({}, item), { 982 url: `${path}`, 983 fragment 984 }); 985 } else { 986 const firstPathSegment = item["link"].split("/")[1]; 987 return __spreadValues({}, item); 988 } 989 }); 990 this.footerInstance = this; 991 if (this.channel.socialNetworks) { 992 const socialLinks = this.channel.socialNetworks.filter(sn => sn.showLink); 993 this.socialLinks = socialLinks; 994 this.defaultSocialLinks = socialLinks; 995 } 996 this.listOfVariables = { 997 logoUrl: this.logoUrl, 998 links: this.links, 999 socialLinks: this.socialLinks, 1000 transparentBackground: this.transparentBackground, 1001 hasSocialLinks: this.hasSocialLinks, 1002 copyrightMsg: this.copyrightMsg, 1003 hasTranslationFooter: this.hasTranslationFooter 1004 }; 1005 this.loadFooterCustomTemplate(); 1006 this.startServiceOutputs(); 1007 } 1008 ngOnDestroy() { 1009 this.$customSocialLinkOutuput.unsubscribe(); 1010 this.$defaultSocialLinkOutput.unsubscribe(); 1011 this.destroy$.next(); 1012 this.destroy$.complete(); 1013 } 1014 startServiceOutputs() { 1015 this.$customSocialLinkOutuput = this.footerService.customSocialLinkOutuput.subscribe(links => { 1016 this.socialLinks = links; 1017 }); 1018 this.$defaultSocialLinkOutput = this.footerService.defaultSocialLinkOutput.subscribe(() => { 1019 this.socialLinks = this.defaultSocialLinks; 1020 }); 1021 } 1022 /** 1023 * Get copyrightMsg from env 1024 */ 1025 get copyrightMsg() { 1026 return this.env?.copyrightMsg; 1027 } 1028 /** 1029 * //TODO doc 1030 */ 1031 get hasTranslationFooter() { 1032 const hasTranslationFooter = this.env?.customPageParams?.translationFooter; 1033 if (typeof hasTranslationFooter !== "undefined") { 1034 return hasTranslationFooter; 1035 } 1036 return false;
1037 } 1038 /** 1039 * Prepare the {@link footerCustomLinkTemplate} if is enable in the env. 1040 */ 1041 loadFooterCustomTemplate() { 1042 if (this.env.templateRefs?.footerCustomLinkTemplate) { 1043 this.footerCustomLinkTemplate = this.templateService.get(this.env.templateRefs.footerCustomLinkTemplate); 1044 } 1045 } 1046 onFooterLinkClicked(link) { 1047 console.log("Footer link clicked", link); 1048 this.trackingService.trackEvent({ 1049 action: "FooterLink", 1050 properties: { 1051 category: "Footer", 1052 label: link.name 1053 } 1054 }); 1055 if (link.command) { 1056 link.command(); 1057 } 1058 if (link.preventScrollTop) { 1059 return; 1060 } 1061 window.scroll({ 1062 top: 0, 1063 left: 0, 1064 behavior: "smooth" 1065 }); 1066 } 1067 prepareLogosConfig() { 1068 const logoConfig = this.env?.logosConfig?.footer; 1069 if (!logoConfig?.partners) { 1070 this.logoClass = logoConfig?.logoClass || `channel-logo`; 1071 this.logoLink = logoConfig?.logoLink || "/home"; 1072 this.omitLogoLink = logoConfig?.omitLink; 1073 this.logoLinkExternal = this.logoLink.indexOf("http") == 0; 1074 this.logoUrl = logoConfig?.logoUrl || this.mainLogoAlternative() || this.channel.logoUrl; 1075 const { 1076 width, 1077 height 1078 } = logoConfig || {}; 1079 this.logoParams = { 1080 width, 1081 height 1082 }; 1083 } else { 1084 this.multiplelogosText = logoConfig?.partnersText; 1085 this.mutiplelogos = logoConfig?.partners.map(logo => ({ 1086 logoClass: logo.logoClass, 1087 logoAlt: logo.logoAlt, 1088 logoUrl: logo.logoUrl || this.mainLogoAlternative() || this.channel.logoUrl, 1089 logoLink: logo.logoLink || "/home", 1090 logoLinkExternal: logo?.logoLink?.indexOf("http") || true, 1091 logoParams: { 1092 width: logo.width, 1093 height: logo.height 1094 } 1095 })); 1096 } 1097 } 1098 static { 1099 this.ɵfac = function FooterComponent_Factory(__ngFactoryType__) { 1100 return new (__ngFactoryType__ || _FooterComponent)(ɵɵdirectiveInject(ChannelService), ɵɵdirectiveInject(NavigationService), ɵɵdirectiveInject(ENVIRONMENT), ɵɵdirectiveInject(TemplatesService), ɵɵdirectiveInject(FooterService), ɵɵdirectiveInject(ChangeDetectorRef), ɵɵdirectiveInject(TRACKING_SERVICE)); 1101 }; 1102 } 1103 static { 1104 this.ɵcmp = /* @__PURE__ */ɵɵdefineComponent({ 1105 type: _FooterComponent, 1106 selectors: [["ush-footer"]], 1107 contentQueries: function FooterComponent_ContentQueries(rf, ctx, dirIndex) { 1108 if (rf & 1) { 1109 ɵɵcontentQuery(dirIndex, TemplateRef, 5); 1110 } 1111 if (rf & 2) { 1112 let _t; 1113 ɵɵqueryRefresh(_t = ɵɵloadQuery()) && (ctx.customTemplate = _t.first); 1114 } 1115 }, 1116 hostVars: 1, 1117 hostBindings: function FooterComponent_HostBindings(rf, ctx) { 1118 if (rf & 2) { 1119 ɵɵhostProperty("channelLogo-drop-shadow-effect", ctx.mainLogoDropShadowEffectBinding); 1120 } 1121 }, 1122 inputs: { 1123 transparentBackground: "transparentBackground", 1124 mainLogoAlternative: [1, "mainLogoAlternative"], 1125 mainLogoDropShadowEffect: [1, "mainLogoDropShadowEffect"] 1126 }, 1127 decls: 5, 1128 vars: 9, 1129 consts: [["mutiplelogosTemplate", ""], ["assetImg", ""], ["logoImg", ""], ["logoAssetImg", ""], ["class", "header-movie-menu-styles", 3, "innerHTML", 4, "ngIf"], ["id", "footer-container"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [4, "ngIf"], [1, "header-movie-menu-styles", 3, "innerHTML"], [1, "footer-wrapper", 3, "ngClass"], ["id", "footer", 1, "p-grid"], [1, "footer-logo", 3, "footer-logos"], [3, "socialNetworks"], [3, "ngClass"], ["id", "footer-subscribe-form"], [3, "type"], [1, "footer-logo"], [4, "ngIf", "ngIfElse"], [4, "ngTemplateOutlet"], ["class", "nav-logo nav-link", 3, "routerLink", 4, "ngIf"], ["class", "nav-logo nav-link", 3, "href", 4, "ngIf"], [1, "nav-logo", "nav-link", 3, "routerLink"], [1, "nav-logo", "nav-link", 3, "href"], ["alt", "logo", 1, "footer-icon", 3, "src"], ["alt", "logo", 1, "footer-icon", 3, "src", "ngClass"], [4, "ngFor", "ngForOf"], ["class", "nav-logo nav-link", 3, "routerLink", "ngClass", 4, "ngIf"], ["class", "nav-logo nav-link", 3, "href", "ngClass", 4, "ngIf"], [1, "nav-logo", "nav-link", 3, "routerLink", "ngClass"], ["class", "footer-icon", 3, "src", "alt", 4, "ngIf", "ngIfElse"], [1, "footer-icon", 3, "src", "alt"], [1, "nav-logo", "nav-link", 3, "href", "ngClass"], [1, "footer-menu-wrap"], [1, "footer-menu"], [3, "click", 4, "ngFor", "ngForOf"], [3, "click"], [3, "ngSwitch"], ["target", "_blank", "class", "nav-link bold", 3, "href", 4, "ngSwitchCase"], ["class", "nav-link bold", 3, "routerLink", "fragment", "ngClass", 4, "ngSwitchCase"], ["class", "nav-link bold", 3, "ngClass", 4, "ngSwitchDefault"], ["target", "_blank", 1, "nav-link", "bold", 3, "href"], [1, "border"], [1, "nav-link", "bold", 3, "routerLink", "fragment", "ngClass"], [1, "nav-link", "bold", 3, "ngClass"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "copyright"], [1, "foooter-custom-module", 3, "innerHTML"]], 1130 template: function FooterComponent_Template(rf, ctx) { 1131 if (rf & 1) { 1132 ɵɵtemplate(0, FooterComponent_div_0_Template, 2, 4, "div", 4); 1133 ɵɵpipe(1, "async"); 1134 ɵɵelementStart(2, "footer", 5); 1135 ɵɵtemplate(3, FooterComponent_ng_container_3_Template, 1, 0, "ng-container", 6)(4, FooterComponent_ng_container_4_Template, 11, 13, "ng-container", 7); 1136 ɵɵelementEnd(); 1137 } 1138 if (rf & 2) { 1139 ɵɵproperty("ngIf", ɵɵpipeBind1(1, 7, ctx.customStyle$)); 1140 ɵɵadvance(2); 1141 ɵɵattribute("data-custom-template", ctx.customTemplate ? true : false)("data-sign-up", ctx.emailSubscriptionSignupEnabled)("data-legacy-sign-up", ctx.channel == null ? null : ctx.channel.commsConsumerSignup); 1142 ɵɵadvance(); 1143 ɵɵproperty("ngTemplateOutlet", ctx.customTemplate)("ngTemplateOutletContext", ctx.listOfVariables); 1144 ɵɵadvance(); 1145 ɵɵproperty("ngIf", !ctx.customTemplate); 1146 } 1147 }, 1148 dependencies: [CommonModule, NgClass, NgForOf, NgIf, NgTemplateOutlet, NgSwitch, NgSwitchCase, NgSwitchDefault, AsyncPipe, HttpClientModule, ShowtimeStreamingSubscribeComponent, SharedFeatureSocialLinksModule, SocialLinksComponent, LanguageSelectorComponent, SharedUtilsModule, SafePipe, CammelCasePipe, HffCommonUiUsheruLogoModule, UsheruLogoComponent, SharedUtilsImageModule, ImgPipe, RouterModule, RouterLink, FooterLocalizePipe], 1149 styles: ["/* libs/core/footer/footer.component.scss */\n:root {\n --_footerPosition: initial;\n --_footerDisplay: flex;\n --_footerFlexFlow: row wrap;\n --_footerHeight: 80px;\n --_footerHeightMobile: 80px;\n --_footerLinksColor: var(--textColor);\n --_footerPadding: 0;\n --_footerPaddingTop: initial;\n --_footerTextAlign: center;\n --_footerMargin: 0;\n --_footerLinksFontSize: var(--textSize);\n --_footerLinksFontSizeMobile: var(--textSize);\n --_footerLogoDisplay: flex;\n --_footerSocialLinksWidth: auto;\n --_footerSocialLinksJustifyContent: flex-start;
1149\n --_footerSocialBackground: var(--backgroundColor);\n --_footerSocialColor: var(--footerLinksColor);\n --_footerSocialWidth: 45px;\n --_footerSocialHeight: 45px;\n --_footerSocialBorderRadius: 50%;\n --_footerSocialBorder: var(--borders);\n --_footerSocialFontSize: 18px;\n --_footerMenuWrapPosition: initial;\n --_footerMenuWrapWidth: initial;\n --_footerMenuWrapMargin: initial;\n --_footerMenuWrapPositionMobile: var(--footerMenuWrapPosition);\n --_footerMenuWrapWidthMobile: var(--footerMenuWrapWidth);\n --_footerMenuWrapMarginMobile: var(--footerMenuWrapMargin);\n --_footerUsheruLogoWidth: initial;\n --_footerUsheruLogoMargin: initial;\n --_footerBackground: var(--backgroundColor);\n --_footerSubscribeFormMargin: 20px auto;\n --_footerSubscribeFormPadding: 10px 0 0 0;\n --_footer-link-hover-text-decoration: unset;\n --_footer-link-hover-text-decoration-color: unset;\n --_footer-link-hover-text-decoration-thickness: unset;\n --_footer-link-hover-text-underline-offset: unset;\n --_footer-link-custom-border-display: unset;\n}\nfooter {\n display: var(--footerDisplay, var(--_footerDisplay));\n flex-flow: var(--footerFlexFlow, var(--_footerFlexFlow));\n transition: background-color 1s ease-in;\n margin: var(--footerMargin, var(--_footerMargin));\n padding: var(--footerPadding, var(--_footerPadding));\n text-align: var(--footerTextAlign, var(--_footerTextAlign));\n}\n#footer-container {\n display: flex;\n flex-direction: column;\n}\n#footer,\n#footer ul.footer-menu {\n column-gap: var(--footer-column-gap, 20px);\n row-gap: var(--footer-row-gap, 20px);\n}\n.footer-wrapper {\n display: flex;\n align-items: center;\n background-color: var(--footerBackground, var(--_footerBackground));\n padding: var(--footer-wrapper-padding, 0);\n}\n#footer {\n display: var(--footer-items-display, flex);\n position: var(--footerPosition, var(--_footerPosition));\n grid-template-rows: var(--footer-grid-template-rows, unset);\n grid-template-columns: var(--footer-grid-template-columns, unset);\n flex-flow: var(--footer-items-flex-flow, row wrap);\n justify-content: var(--footer-justify-content, center);\n align-items: var(--footer-items-align-items, center);\n justify-items: var(--footer-justify-items);\n margin: 0 auto;\n padding-top: var(--footerPaddingTop, var(--_footerPaddingTop));\n padding: var(--footer-padding);\n width: var(--contentWidth);\n max-width: var(--footer-items-max-width, var(--maxContentWidth));\n font-size: var(--footerLinksFontSizeMobile, var(--_footerLinksFontSizeMobile));\n}\n@media (min-width: 768px) {\n #footer {\n justify-content: var(--footer-justify-content, space-between);\n }\n}\n#footer .footer-logo {\n display: var(--footerLogoDisplay, var(--_footerLogoDisplay));\n justify-content: var(--footer-logo-justify-content, center);\n order: var(--footer-logo-order, initial);\n width: var(--footer-logo-width, auto);\n}\n@media all and (min-width: 768px) {\n #footer .footer-logo {\n justify-content: var(--footer-logo-justify-content-md, flex-start);\n }\n}\n#footer .footer-logos {\n column-gap: var(--footer-logos-column-gap, 20px);\n row-gap: var(--footer-logos-row-gap, 20px);\n flex-flow: var(--footer-logos-flex-flow, initial);\n justify-content: var(--footer-logos-justify-content, initial);\n align-items: var(--footer-logos-align-items, initial);\n}\n@media screen and (min-width: 768px) {\n #footer ul.footer-menu {\n justify-content: center;\n }\n}\n@media all and (min-width: 992px) {\n #footer ul.footer-menu {\n display: flex;\n flex-flow: row wrap;\n justify-content: var(--footer-menu-justify-content, space-around);\n align-items: center;\n height: 100%;\n }\n}\n@media all and (max-width: 991px) {\n #footer > * {\n justify-content: space-between;\n }\n}\n#footer,\n#footer i,\n#footer a {\n color: var(--footerLinksColor, var(--_footerLinksColor));\n}\n#footer > * {\n flex-shrink: 0.6;\n padding-bottom: var(--footer-child-padding-bottom, 20px);\n}\n@media (min-width: 768px) {\n #footer > * {\n padding-bottom: var(--footer-child-padding-bottom-md, var(--footer-child-padding-bottom, 20px));\n }\n}\n#footer ul,\n#footer ul li {\n margin: var(--p-select-option-margin, 0);\n padding: var(--p-select-option-padding, 0);\n list-style: none;\n justify-content: var(--p-select-option-alignment, unset);\n}\n#footer .footer-menu {\n display: flex;\n flex-flow: var(--footer-menu-flex-flow, row wrap);\n align-items: center;\n justify-items: var(--footer-menu-justify-items, space-around);\n height: 100%;\n}\n@media screen and (min-width: 768px) {\n #footer .footer-menu {\n justify-content: flex-end;\n }\n}\n#footer li a:not(.social-link) {\n display: block;\n margin: 0 auto;\n width: max-content;\n}\n#footer .footer-menu a {\n width: max-content;\n}\n#footer .footer-menu a:hover .border {\n transform: scaleX(1);\n}\n#footer .footer-menu a .border {\n display: var(--footerLinkCustomBorderDisplay, var(--_footerLinkCustomBorderDisplay));\n transform: scaleX(0);\n transition: 0.4s transform;\n border-radius: var(--borderRadius);\n background-color: whitesmoke;\n width: 100%;\n height: var(--footerLinkCustomBorderHeight, 2px);\n}\n#footer .footer-menu {\n margin: auto 0;\n}\n#footer .footer-menu > * {\n flex: var(--footer-menu-item-flex, 1 1);\n}\n#footer .footer-menu > *:last-child {\n margin-right: 0;\n}\n@media all and (min-width: 992px) {\n #footer .footer-menu > * {\n margin-right: 0;\n }\n}\n@media all and (max-width: 575px) {\n #footer .footer-menu {\n margin: 0;\n }\n}\n#footer .footer-icon {\n height: 50px;\n}\n.footer-right {\n justify-content: space-between;\n}\n@media all and (min-width: 992px) {\n .footer-right {\n justify-content: flex-end;\n }\n}\n#footer-subscribe-form {\n width: 100%;\n}\n:host ::ng-deep #footer-subscribe-form {\n margin: var(--footerSubscribeFormMargin, var(--_footerSubscribeFormMargin));\n padding: var(--footerSubscribeFormPadding, var(--_footerSubscribeFormPadding));\n}\n:host ::ng-deep #footer-subscribe-form ush-showtime-streaming-subscribe .subscribe-form {\n margin: 0;\n border-radius: 0;\n}\n@media all and (min-width: 992px) {\n :host ::ng-deep #footer-subscribe-form ush-showtime-streaming-subscribe .subscribe-form-content {\n display: flex;\n }\n :host ::ng-deep #footer-subscribe-form ush-showtime-streaming-subscribe .subscribe-form-content .subscribe-title {\n max-width: 50%;\n text-align: center;\n }\n}\n#footer ush-social-links .social-links {\n justify-content: var(--footerSocialLinksJustifyContent, var(--_footerSocialLinksJustifyContent));\n}\n.footer-menu-wrap {\n position: var(--footerMenuWrapPosition, var(--_footerMenuWrapPosition));\n grid-row: var(--foooter-menu-wrap-grid-row, unset);\n grid-column: var(--footer-menu-wrap-grid-column, unset);\n order: var(--footer-menu-wrap-order, initial);\n margin: var(--footerMenuWrapMargin, var(--_footerMenuWrapMargin));\n width: var(--footerMenuWrapWidth, var(--_footerMenuWrapWidth));\n min-width: var(--footerMenuWrapMinWidth);\n}\n@media (max-width: 991px) {\n .footer-menu-wrap {\n position: var(--footerMenuWrapPositionMobile, var(--_footerMenuWrapPositionMobile));\n margin: var(--footerMenuWrapMarginMobile, var(--_footerMenuWrapMarginMobile));\n width: var(--footerMenuWrapWidthMobile, var(--_footerMenuWrapWidthMobile));\n }\n}\n#footer ush-language-selector {\n grid-row: var(--footer-lang-select-grid-row, unset);\n grid-column: var(--footer-lang-select-grid-column, unset);\n order: var(--footer-lang-select-order, initial);\n width: var(--footerLangSelectWidth, var(--_footerLangSelectWidth));\n min-width: var(--footerLangSelectMinWidth);\n}\n#footer #langSelect {\n margin-top: -5px;\n font-size: var(--footerLinksFontSize, var(--_footerLinksFontSize));\n}\n#footer .footer-icon {\n height: 40px;\n}\n@media all and (min-width: 992px) {\n #footer > * {\n width: var(--footerMenuWrapWidth, var(--_footerMenuWrapWidth));\n font-size: var(--footerLinksFontSize, var(--_footerLinksFontSize));\n }\n}\n#footer ush-usheru-logo {\n grid-row: var(--footer-usheru-logo-grid-row, unset);\n grid-column: var(--footer-usheru-logo-grid-column, unset);\n order: var(--footer-usheru-logo-order, initial);\n margin: var(--footerUsheruLogoMargin, var(--_footerUsheruLogoMargin));\n margin-left: var(--footerUsheruLogoMarginLeft);\n width: var(--footerUsheruLogoWidth, var(--_footerUsheruLogoWidth));\n min-width: var(--footerUsheruLogoMinWidth);\n}\n#footer ush-social-links {\n grid-row: var(--foooter-social-links-grid-row, unset);\n grid-column: var(--footer-social-links-grid-column, unset);\n order: var(--footer-social-links-order, initial);\n margin-left: var(--footerSocialLinksMarginLeft);\n width: var(--footerSocialLinksWidth, var(--_footerSocialLinksWidth));\n min-width: var(--footerSocialLinksMinWidth);\n}\n#footer ush-social-links::ng-deep fa-icon {\n display: flex;\n justify-content: center;\n align-items: center;\n transition: 0.4s border-color;\n border: var(--footerSocialBorder, var(--_footerSocialBorder));\n border-radius: var(--footerSocialBorderRadius, var(--_footerSocialBorderRadius));\n width: var(--footerSocialWidth, var(--_footerSocialWidth));\n height: var(--footerSocialHeight, var(--_footerSocialHeight));\n color: var(--footerLinksColor, var(--_footerLinksColor));\n font-size: var(--footerSocialFontSize, var(--_footerSocialFontSize));\n}\n#footer .footer-menu .nav-link {\n cursor: pointer;\n font-weight: var(--footer-link-font-weight, var(--_footerLinksFontWeight));\n font-size: var(--footer-links-font-size, var(--_footerLinksFontSize));\n text-transform: var(--footer-link-text-transform, var(--_footerLinkTextTransform));\n}\n#footer .footer-menu .nav-link:is(:hover, :focus) {\n text-decoration: var(--footer-link-hover-text-decoration, var(--_footer-link-hover-text-decoration));\n text-decoration-color: var(--footer-link-hover-text-decoration-color, var(--_footer-link-hover-text-decoration-color));\n text-decoration-thickness: var(--footer-link-hover-text-decoration-thickness, var(--_footer-link-hover-text-decoration-thickness));\n text-underline-offset: var(--footer-link-hover-text-underline-offset, var(--_footer-link-hover-text-underline-offset));\n}\n/*# sourceMappingURL=footer.component-XVVWEQQF.css.map */\n"], 1150 encapsulation: 2, 1151 changeDetection: 0 1152 }); 1153 } 1154}; 1155(() => { 1156 (typeof ngDevMode === "undefined" || ngDevMode) && ɵsetClassDebugInfo(FooterComponent, { 1157 className: "FooterComponent", 1158 filePath: "libs/core/footer/footer.component.ts", 1159 lineNumber: 64 1160 }); 1161})(); 1162export { LanguageSelectorComponent, SocialLinksComponent, SharedFeatureSocialLinksModule, FooterComponent }; 1163/**i18n:40a474ec990dea137b3d5bc523429f1bb12cf272ffbbee04363119a99efd5f92*/ 1164//# sourceMappingURL=chunk-CWFIV6RZ.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.