(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{1375:function(t,e,r){},1377:function(t,e,r){},1378:function(t,e,r){},1379:function(t,e,r){},1436:function(t,e,r){"use strict";var n=r(10),o=r(9),c=r(128),l=r(451),d=r(262),v=r(48),m=o.default.component("TvObjectMastheadAwards",{components:{},props:{awards:{default:()=>[],type:Array},latestAward:{default:()=>({}),type:Object},type:{default:"",type:String}},computed:{isCelebrity(){return Object(v.e)(this.type)},isMovie(){return Object(v.f)(this.type)},isShow(){return Object(v.g)(this.type)},isOverviewPage(){return"tvobject_overview"===d.a.getBaseRouteName(this.$route.name)},recentAwards(){return this.awards.slice(0,4)}}}),h=(r(1523),r(7)),_=Object(h.a)(m,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.isOverviewPage?r("div",[r("p",{staticClass:"g-text-medium u-inline g-outer-spacing-bottom-xsmall g-outer-spacing-top-small g-outer-spacing-left-small g-outer-spacing-right-small"},[t._v("\n "+t._s(t.$t("awards"))+"\n ")]),t._v(" "),t.isShow||t.isMovie?r("div",[r("ul",{staticClass:"c-tvObjectMastheadAwards_list g-outer-spacing-left-medium g-inner-spacing-bottom-medium"},t._l(t.recentAwards,(function(e){return r("li",{key:e.categoryName+"-"+e.eventMcoId.toString(),staticClass:"c-tvObjectMastheadAwards_item g-text-small g-outer-spacing-left-small g-outer-spacing-right-small u-block"},[r("span",{staticClass:"g-outer-spacing-right-small"},[t._v(t._s(e.awardYear))]),t._v(" - "),r("span",[t._v(t._s(e.awardType))]),t._v(" - "),r("span",[t._v(t._s(e.categoryName))]),t._v(" "),e.isWinner?r("span",{staticClass:"u-text-capitalize"},[t._v("- "+t._s(t.$t("winner")))]):r("span",{staticClass:"u-text-capitalize"},[t._v("- "+t._s(t.$t("nominated")))])])})),0)]):t._e(),t._v(" "),t.isCelebrity?r("ul",{staticClass:"g-outer-spacing-left-small"},[t.latestAward.year?r("li",{staticClass:"u-inline"},[t._v(" "+t._s(t.latestAward.year))]):t._e(),t._v(" "),t.latestAward.name?r("li",{staticClass:"c-tvObjectMastheadAwards_awardItem u-inline"},[t._v(t._s(t.latestAward.name))]):t._e(),t._v(" "),t.latestAward.award?r("li",{staticClass:"c-tvObjectMastheadAwards_awardItem u-inline"},[t._v(t._s(t.latestAward.award)+":")]):t._e(),t._v(" "),t.latestAward.category?r("li",{staticClass:"u-inline"},[t._v(t._s(t.latestAward.category))]):t._e()]):t._e(),t._v(" "),t.isCelebrity&&t.isOverviewPage?r("button",{staticClass:"c-tvObjectMastheadAwards_seeMoreButton g-inner-spacing-top-small g-inner-spacing-bottom-small o-button-smallRound u-block"},[t._v("\n "+t._s(t.$t("see_all_biography"))+"\n ")]):t._e(),t._v(" "),t.isCelebrity&&t.isOverviewPage?r("p",[r("nuxt-link",{attrs:{to:t.localePath({name:"tvobject_bio",params:t.$route.params})}},[t._v(t._s(t.$t("see_all_biography")))])],1):t._e()]):t._e()}),[],!1,null,null,null).exports,O=r(1229),y=(r(33),r(1211));function w(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function f(t){for(var i=1;i({}),type:Object},description:{default:"",type:String}},computed:{videoForPlayer(){var t,e;return f(f({},this.video),{},{id:this.video.videoId.toString(),image:{path:null===(t=this.video.images)||void 0===t||null===(e=t[0])||void 0===e?void 0:e.imageUrl},files:[{id:"",type:"HDS",format:"MPEG4",url:this.video.url}]})}}}),C=(r(1525),Object(h.a)(j,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"c-tvObjectMastheadVideo"},[r("AvVideo",{attrs:{autoplay:!1,video:t.videoForPlayer}}),t._v(" "),r("p",{staticClass:"g-color-gray60"},[r("span",{staticClass:"c-tvObjectOverviewTrailers_mediaIcon"},[r("svg",[r("use",{attrs:{"xlink:href":"#play"}})]),t._v(" "),t.video.duration?r("span",{staticClass:"g-outer-spacing-left-small"},[t._v(t._s(t.$formattedDuration(t.video.duration)))]):t._e(),t._v(" "),t.video.title?r("span",{staticClass:"g-outer-spacing-left-small"},[t._v(t._s(t.video.videoTitle))]):t._e()])])],1)}),[],!1,null,null,null).exports),P=r(0),x=r(2),S=r(8),A=r(461),M=r(87),T=new S.b("whereToWatchAiringsInline"),W=class extends x.Vue{isProviderWatcher(){this.updateAirings()}isOpenWatcher(){!0===this.isOpen&&this.updateAirings()}get maxItemSize(){return this.limit?this.limit:this.airings&&this.airings.items?this.airings.items.length:void 0}get showMore(){return!!(this.limit&&this.airings&&this.airings.items.length>this.limit)}showDrawer(){this.$store.dispatch("WhereToWatchDrawer/toggleOpen",1)}openProviderSelectorModal(){this.$refs.providerSelector.active=!0}getProviderDateTime(t){var e,r=(null===(e=this.provider)||void 0===e?void 0:e.offset)||null;return new M.a(r,t)}dateLine(t){var e=this.getProviderDateTime(t),r=e.getDate(),n=e.date.toLocaleString("default",{month:"short"});return"".concat(r," ").concat(n)}dayLine(t){return this.getProviderDateTime(t).date.toLocaleDateString("en-US",{weekday:"short"})}timeLine(t){var time=new Date(1e3*t),e=M.c.AM,r=time.getHours(),n=M.a.leadZero(time.getMinutes());return r>=12&&(r-=12,e=M.c.PM),"".concat(r,":").concat(n," ").concat(e)}displayChannel(t){return t.channels[0].name}updateAirings(){var t,e=(null===(t=this.provider)||void 0===t?void 0:t.id)?this.provider.id:"9100001138",r=Math.round(Date.now()/1e3),param={tvObjectType:this.type,providerId:e,startTime:r};this.$store.dispatch("WhereToWatchDrawer/setTvObjectId",this.id),this.$store.dispatch("WhereToWatchDrawer/loadAirings",param)}beforeMount(){this.$store.dispatch("uds/ServiceProvider/bind")}mounted(){this.airings&&T.log("airings",this.airings),this.updateAirings()}};Object(P.c)([Object(x.Getter)("uds/ServiceProvider/provider"),Object(P.f)("design:type",Object)],W.prototype,"provider",void 0),Object(P.c)([Object(x.Getter)("WhereToWatchDrawer/airings"),Object(P.f)("design:type",Object)],W.prototype,"airings",void 0),Object(P.c)([Object(x.Prop)({default:null,type:Number}),Object(P.f)("design:type",Number)],W.prototype,"id",void 0),Object(P.c)([Object(x.Prop)({default:null,type:Number}),Object(P.f)("design:type",Number)],W.prototype,"limit",void 0),Object(P.c)([Object(x.Prop)({default:null,type:String}),Object(P.f)("design:type",String)],W.prototype,"type",void 0),Object(P.c)([Object(x.Prop)({default:!1,type:Boolean}),Object(P.f)("design:type",Boolean)],W.prototype,"isOpen",void 0),Object(P.c)([Object(x.Watch)("provider"),Object(P.f)("design:type",Function),Object(P.f)("design:paramtypes",[]),Object(P.f)("design:returntype",void 0)],W.prototype,"isProviderWatcher",null),Object(P.c)([Object(x.Watch)("isOpen"),Object(P.f)("design:type",Function),Object(P.f)("design:paramtypes",[]),Object(P.f)("design:returntype",void 0)],W.prototype,"isOpenWatcher",null);var $=W=Object(P.c)([Object(x.Component)({name:"whereToWatchAiringsInline",components:{TvListingsProviderPicker:A.a}})],W),I=(r(1526),Object(h.a)($,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"c-whereToWatchAiringsInline"},[r("div",{staticClass:"c-whereToWatch-airingsProvider u-flexbox u-flexbox-justifyBetween u-flexbox-alignCenter o-border-thin-bottom g-border-gray20 g-inner-spacing-top-medium g-inner-spacing-bottom-medium"},[r("div",{staticClass:"u-flexbox-column"},[r("h3",{staticClass:"g-text-small"},[t._v(t._s(t.$t("tv_provider_detailed"))+":")]),t._v(" "),r("span",{staticClass:"g-text-small"},[t._v(t._s(t.provider?t.provider.name:t.$t("providerNotSet")))])]),t._v(" "),r("button",{staticClass:"c-whereToWatch_airingsButton u-text-capitalize o-button o-button-large o-button-secondary o-button-smallRound",on:{click:t.openProviderSelectorModal}},[t._v("\n "+t._s(t.$t("change"))+"\n ")])]),t._v(" "),t.airings.items&&t.airings.items.length>0?r("div",{staticClass:"c-whereToWatchAiringsInline_container"},[r("h2",{staticClass:"g-color-gray60 g-text-normal g-outer-spacing-top-medium g-text-small"},[t._v(t._s(t.$t("playing_on_tv")))]),t._v(" "),r("ul",{staticClass:"c-whereToWatchAiringsInline_items u-flexbox g-outer-spacing-bottom-medium"},t._l(t.airings.items.slice(0,t.maxItemSize),(function(e,n){return r("li",{key:"airing-"+n,staticClass:"c-whereToWatchAiringsInline_item g-inner-spacing-top-medium g-inner-spacing-right-small"},[r("div",{staticClass:"c-whereToWatchAiringsInline_dateTime g-text-medium-fluid g-text-bold u-flexbox"},[r("div",{staticClass:"g-outer-spacing-right-xsmall"},[t._v(t._s(t.dayLine(e.schedule.start)))]),t._v(" "),r("div",{staticClass:"g-outer-spacing-right-xsmall"},[t._v(t._s(t.dateLine(e.schedule.start)))]),t._v(" "),r("div",{staticClass:"g-outer-spacing-right-xsmall"},[t._v(t._s(t.timeLine(e.schedule.start)))])]),t._v(" "),r("div",{},[r("ul",{staticClass:"c-whereToWatchAiringsInline_meta u-text-uppercase g-text-small u-flexbox g-color-gray90 g-text-normal g-text-fluid"},[e.live?r("li",{staticClass:"g-color-secondary g-text-bold"},[t._v(t._s(t.$t("live")))]):e.new?r("li",{staticClass:"g-color-secondary g-text-bold"},[t._v(t._s(t.$t("new")))]):t._e(),t._v(" "),e.season?r("li",[t._v("S"+t._s(e.season))]):t._e(),t._v(" "),e.episode&&"movie"!=e.entertainmentProduct.type?r("li",[t._v("E"+t._s(e.episode))]):t._e(),t._v(" "),t.displayChannel(e)?r("li",[t._v(t._s(t.displayChannel(e)))]):t._e()]),t._v(" "),r("ul",{staticClass:"c-whereToWatchAiringsInline_meta u-text-uppercase g-text-small u-flexbox g-color-gray90 g-text-normal g-text-fluid"},[e.episodeTitle?r("li",[t._v(t._s(e.episodeTitle))]):t._e()])])])})),0),t._v(" "),t.showMore?r("div",{staticClass:"c-whereToWatchAiringsInline_item g-inner-spacing-top-medium"},[r("button",{staticClass:"c-whereToWatchAiringsInline_more o-button o-button-secondary",on:{click:t.showDrawer}},[t._v(t._s(t.$t("see_all"))+" "+t._s(t.$t("airings")))])]):t._e()]):r("p",{staticClass:"g-outer-spacing-top-medium"},[t._v(" "+t._s(t.$t("no_airings_no_title_text_message")))]),t._v(" "),r("TvListingsProviderPicker",{ref:"providerSelector",attrs:{"show-icon":!1,label:" "}})],1)}),[],!1,null,null,null).exports),D=r(707);function k(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function B(t){for(var i=1;i({}),type:Object},video:{default:()=>({}),type:Object},type:{default:"",type:String},streamingItems:{default:()=>[],type:Array},airings:{default:()=>[],type:Array},titleDetail:{default:"",type:String}},data:()=>({streamingShouldShow:!0,airingsShouldShow:!1}),computed:B(B({},Object(c.c)({getComponentByName:"page/componentByName"})),{},{tvObjectMeta(){return this.getComponentByName("TvObjectMeta").tvMeta},device(){return this.$store.getters.device},isCelebrity(){return Object(v.e)(this.type)},isOverviewPage(){return"tvobject_overview"===d.a.getBaseRouteName(this.$route.name)}}),methods:{showStreaming(){this.airingsShouldShow=!1,this.streamingShouldShow=!0},updateId(){this.$store.dispatch("WhereToWatchDrawer/setTvObjectId",this.entertainmentProduct.id)},showAirings(){this.updateId(),this.airingsShouldShow=!0,this.streamingShouldShow=!1},streamingItemsByDevice(){return"mobile"===this.device?this.streamingItems.slice(0,3):this.streamingItems.slice(0,6)},airingItemsByDevice(){return"mobile"===this.device?this.airings.slice(0,3):this.airings.slice(0,6)}}}),E=(r(1527),Object(h.a)(N,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"c-tvObjectMasthead g-outer-spacing-top-medium"},[r("div",{staticClass:"c-tvObjectMasthead_content u-grid u-grid-columns"},[r("div",{staticClass:"c-tvObjectMasthead_header g-text-xlarge g-outer-spacing-bottom-small g-outer-spacing-top-large"},[r("h1",{staticClass:"c-tvObjectMasthead_headerText g-text-xxxlarge"},[t._v(t._s(t.entertainmentProduct.title)+t._s(t.titleDetail))]),t._v(" "),t.entertainmentProduct.subTitle?r("span",{staticClass:"c-tvObjectMasthead_subheader g-text-large u-block"},[t._v(t._s(t.entertainmentProduct.subTitle))]):t._e(),t._v(" "),t.isCelebrity?r("div",{staticClass:"c-tvObjectMasthead_headerCeleb g-outer-spacing-top-large u-grid-columns"},[r("div",{staticClass:"g-text-medium sm:u-col-1 md:u-col-4 lg:u-col-6"},[t.entertainmentProduct.birthName?r("div",{staticClass:"g-text-bold g-outer-spacing-bottom-medium"},[t._v("\n "+t._s(t.$t("birth_name"))+"\n "),r("div",{staticClass:"g-text-normal"},[t._v(t._s(t.entertainmentProduct.birthName))])]):t._e(),t._v(" "),t.entertainmentProduct.birthPlace?r("div",{staticClass:"g-text-bold g-outer-spacing-bottom-medium"},[t._v("\n "+t._s(t.$t("birth_place"))+"\n "),r("div",{staticClass:"g-text-normal"},[t._v(t._s(t.entertainmentProduct.birthPlace))])]):t._e(),t._v(" "),t.entertainmentProduct.profession?r("div",{staticClass:"g-text-bold g-outer-spacing-bottom-medium"},[t._v("\n "+t._s(t.$t("profession"))+"\n "),t.entertainmentProduct.profession?r("div",{staticClass:"g-text-normal u-text-capitalize"},[t._v(t._s(t.entertainmentProduct.profession))]):t._e()]):t._e()]),t._v(" "),r("div",{staticClass:"c-tvObjectMasthead_headerImage"},[t.entertainmentProduct.image?r("CmsImage",{attrs:{image:t.entertainmentProduct.image,size:"card_grid_portrait"}}):t._e()],1)]):t._e()]),t._v(" "),t.isCelebrity?t._e():r("div",{staticClass:"c-tvObjectMasthead_metaData"},[r("TvObjectMastheadMetadata",{attrs:{"entertainment-product":t.entertainmentProduct}})],1),t._v(" "),t.isCelebrity?t._e():r("div",{staticClass:"c-tvObjectMasthead_streamingAiringContainer g-inner-spacing-bottom-medium"},[r("div",[r("ul",{staticClass:"c-tvObjectMasthead_streamingAiringButtons g-outer-spacing-top-medium u-flexbox-row"},[r("li",{staticClass:"g-inner-spacing-right-medium g-outer-spacing-left-medium u-text-uppercase"},[r("button",{class:t.streamingShouldShow?"c-tvObjectMasthead_streamingAiringButton_active":"c-tvObjectMasthead_streamingAiringButton",on:{click:function(e){return t.showStreaming()}}},[t._v("\n "+t._s(t.$t("streaming"))+"\n ")])]),t._v(" "),r("li",{staticClass:"g-inner-spacing-right-medium u-text-uppercase"},[r("button",{class:t.airingsShouldShow?"c-tvObjectMasthead_streamingAiringButton_active":"c-tvObjectMasthead_streamingAiringButton",on:{click:function(e){return t.showAirings()}}},[t._v("\n "+t._s(t.$t("airings"))+"\n ")])])])]),t._v(" "),r("div",{staticClass:"c-tvObjectMasthead_whereToWatch g-inner-spacing-left-large g-inner-spacing-right-large"},[r("WhereToWatchStreaming",{directives:[{name:"show",rawName:"v-show",value:t.streamingShouldShow,expression:"streamingShouldShow"}],attrs:{id:t.entertainmentProduct.id,type:t.entertainmentProduct.type,"entertainment-product":t.entertainmentProduct,autoload:!0,"is-inline":!0}}),t._v(" "),r("WhereToWatchAiringsInline",{directives:[{name:"show",rawName:"v-show",value:t.airingsShouldShow,expression:"airingsShouldShow"}],attrs:{id:t.entertainmentProduct.id,limit:4,type:t.entertainmentProduct.type,autoload:!0,"is-inline":!0}})],1)]),t._v(" "),t.isOverviewPage&&!t.isCelebrity?r("div",{staticClass:"c-tvObjectMasthead_video"},[t.video?r("TvObjectMastheadVideo",{attrs:{video:t.video,description:t.entertainmentProduct.description}}):t._e()],1):t._e(),t._v(" "),(t.entertainmentProduct.awards.length>0||t.entertainmentProduct.latestAward)&&"people"!=t.type&&t.isOverviewPage?r("div",{staticClass:"c-tvObjectMasthead_awards"},[r("TvObjectMastheadAwards",{staticClass:"g-border-thin-light-top g-border-thin-light-bottom g-inner-spacing-top-medium",attrs:{awards:t.entertainmentProduct.awards,"latest-award":t.entertainmentProduct.latestAward,type:t.entertainmentProduct.type}})],1):t._e()])])}),[],!1,null,null,null));e.a=E.exports},1523:function(t,e,r){"use strict";r(1375)},1525:function(t,e,r){"use strict";r(1377)},1526:function(t,e,r){"use strict";r(1378)},1527:function(t,e,r){"use strict";r(1379)}}]); //# sourceMappingURL=40623eb.modern.js.map