"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[385],{22464:function(n,e,t){t.d(e,{w:function(){return a}});var i=t(52322),o=(t(2784),t(45103)),r=t(31619);function a(n){var e=n.href,t=n.label,a=n.ariaLabel,s=n.className,u=n.onClick,l=(0,r.N)({id:"common_featureHeader_link_edit",defaultMessage:"Edit"}),c=(0,r.N)({id:"common_ariaLabel_goTo",defaultMessage:l},{target:l});return e?(0,i.jsx)(o.ResponsiveButton,{className:s,iconName:"edit",ariaLabel:a||c,label:t||l,href:e,transitionAt:"m",onColor:"textSecondary",width:"half-padding",onClick:u}):null}e.Z=a},1577:function(n,e,t){t.d(e,{O:function(){return d}});var i=t(70865),o=t(96670),r=t(52322),a=(t(2784),t(73857)),s=t(45103),u=t(22464),l={id:"common_featureHeader_ariaLabel_editLink",defaultMessage:"{featureTitle}: edit"},c={id:"common_featureHeader_link_info",defaultMessage:"More information"},d=function(n){var e=(0,a.Z)(),t="string"===typeof n.title?n.title:e.formatMessage(n.title),d=e.formatMessage(l,{featureTitle:t}),f=e.formatMessage(c),p=(0,r.jsx)(u.w,{ariaLabel:d,href:n.editHref}),v=null;n.editHref?v=p:n.infoHref?v=(0,r.jsx)(s.IconButton,{name:"help-outline",label:f,href:n.infoHref}):n.overrideButton&&(v=n.overrideButton);var m=n.shouldSupportDeepLink&&n.id&&{linkType:"hash",href:"#".concat(n.id)},g=n.titleComponent?s.Title:s.SectionTitle;return(0,r.jsx)(g,(0,o.Z)((0,i.Z)({},n.subtitleProps,m),{description:n.description,"data-testid":n["data-testid"],actions:v,children:(0,r.jsx)("span",{id:n.id,children:t})}))}},76944:function(n,e,t){t.d(e,{m:function(){return _e}});var i=t(52322),o=t(2784),r=t(25436),a=t(31619),s=t(13813),u=t(70865),l=t(96670),c=t(45103),d=t(95460),f=t(11992),p=t(77637),v=t(66383),m=t(92228),g=t(72779),h=t.n(g),b=t(73857),_=t(19596),x=t(91842),y=t(42591),T=t(22414),k=t(25140),N=t(64023),M=t(89254),w=t(96485),C=t(2366),D=t(98621),I=t(80800),L=t(18202);function S(){var n=(0,m.Z)(["\n &,\n &:hover,\n &:link,\n &:focus,\n &:visited {\n ","\n }\n"]);return S=function(){return n},n}var P=function(n){var e=n.topicGroups;if(0===e.length||!e[0])return null;var t=e.map((function(n){var e=(0,i.jsx)(c.MenuList,{children:n.topicLinks.map((function(n,e){var t=!n.linkType||"external"!==n.linkType&&"internal"!==n.linkType&&"launch"!==n.linkType?void 0:"launch",r={href:n.href,indentLevel:1,postIconName:t};return(0,i.jsxs)(o.Fragment,{children:[n.status===L.v.EMPTY&&(0,i.jsx)(j,(0,l.Z)((0,u.Z)({},r),{children:n.text}),e),n.status===L.v.HAS_CONTENT&&(0,i.jsx)(c.MenuListItem,(0,l.Z)((0,u.Z)({},r),{children:n.text}),e)]},"topic-link-".concat(e))}))});return{id:n.topicId,title:n.topicGroupText,children:e}}));return(0,i.jsx)(c.Accordion,{items:t,defaultValue:e[0].topicId})},j=(0,_.default)(c.MenuListItem).withConfig({componentId:"sc-68c86a46-0"})(S(),(0,x.setPropertyToColorVar)("color","ipt-on-baseAlt-textDisabled-color")),E=t(91790);function F(){var n=(0,m.Z)(["\n padding-top: ",";\n display: flex;\n"]);return F=function(){return n},n}function A(){var n=(0,m.Z)(["\n ",";\n padding: ",";\n"]);return A=function(){return n},n}function Z(){var n=(0,m.Z)(["\n ",";\n ","\n padding-bottom: ",";\n"]);return Z=function(){return n},n}function G(){var n=(0,m.Z)(["\n && {\n &:link {\n ","\n }\n }\n"]);return G=function(){return n},n}function V(){var n=(0,m.Z)(["\n && {\n &:link {\n ","\n }\n }\n"]);return V=function(){return n},n}function O(){var n=(0,m.Z)(["\n padding-bottom: ",";\n"]);return O=function(){return n},n}function B(){var n=(0,m.Z)(["\n flex-grow: 1;\n\n & + & {\n margin-left: ",";\n }\n"]);return B=function(){return n},n}var R=function(n){var e=n.topicGroups,t=(0,E.Z)();if(0===e.length)return null;var o=e[0],r=e.slice(1);return(0,i.jsxs)(H,{children:[(0,i.jsxs)("div",{role:"presentation","data-testid":"topic-".concat(o.topicId),children:[(0,i.jsx)(Y,{children:o.topicGroupText.toLocaleUpperCase(t.i18n.locale)}),(0,i.jsx)(c.InlineList,{showDividers:!0,children:o.topicLinks.map((function(n,e){return n.status===L.v.NON_EXISTENT?null:(0,i.jsx)(c.InlineListItem,{children:(0,i.jsx)(q,{topicLink:n,index:e})},"item-".concat(e))}))})]},"topic-group-horizontal"),(0,i.jsx)(Q,{children:r.map((function(n,e){var o=n.topicGroupText.toLocaleUpperCase(t.i18n.locale);return(0,i.jsxs)(X,{role:"presentation","data-testid":"topic-".concat(n.topicId),children:[(0,i.jsx)(Y,{children:o}),(0,i.jsx)("div",{role:"presentation",children:n.topicLinks.map((function(n,e){return n.status===L.v.NON_EXISTENT?null:(0,i.jsx)(U,{role:"presentation",children:(0,i.jsx)(q,{topicLink:n,index:e})},"item-".concat(e))}))})]},"topic-group-".concat(e))}))})]})},q=function(n){var e=n.topicLink,t=n.index;return(0,i.jsxs)(i.Fragment,{children:[e.status===L.v.EMPTY&&(0,i.jsx)(z,{text:e.text,href:e.href,type:e.linkType,inheritColor:!0},t),e.status===L.v.HAS_CONTENT&&(0,i.jsx)($,{text:e.text,href:e.href,type:e.linkType,inheritColor:!0},t)]})},Q=_.default.div.withConfig({componentId:"sc-26f539cf-0"})(F(),x.spacing.xl),H=_.default.div.withConfig({componentId:"sc-26f539cf-1"})(A(),(0,x.setTypographyType)("body"),x.spacing.m),Y=_.default.h3.withConfig({componentId:"sc-26f539cf-2"})(Z(),(0,x.setTypographyType)("overline"),(0,x.setPropertyToColorVar)("color","ipt-on-baseAlt-accent1-color"),x.spacing.m),$=(0,_.default)(c.TextLink).withConfig({componentId:"sc-26f539cf-3"})(G(),(0,x.setPropertyToColorVar)("color","ipt-on-baseAlt-textPrimary-color")),z=(0,_.default)(c.TextLink).withConfig({componentId:"sc-26f539cf-4"})(V(),(0,x.setPropertyToColorVar)("color","ipt-on-baseAlt-textDisabled-color")),U=_.default.div.withConfig({componentId:"sc-26f539cf-5"})(O(),x.spacing.m),X=_.default.div.withConfig({componentId:"sc-26f539cf-6"})(B(),x.spacing.m),K=function(n){var e=n.imageModel,t=n.fallbackImageType,o=n.primaryText,r=n.imageDisplayType,s=(0,a.N)({id:"common_allTopics_promptHeader_title",defaultMessage:"All topics"}),u=(0,a.N)({id:"common_allTopics_promptHeader_ariaLabel",defaultMessage:"All Topics Header"});return(0,i.jsx)(c.PromptHeader,{ariaLabel:u,imageModel:e,imageType:t,reverseTitleOrder:!0,subtitle:o,title:s,type:r})},W=t(91827),J={topicId:"popular",topicGroupText:{id:"common_allTopics_popularGroup",defaultMessage:"Popular"},refMarkerPart:"pop",topicLinks:[W.Dt,W.l,W.pt,W.A0,W.gZ]},nn={topicId:"credits",topicGroupText:{id:"common_allTopics_creditGroup",defaultMessage:"Credits"},refMarkerPart:"flmg",topicLinks:[W.wU,W.y0,W.Gs,W.B_,W.l1,W.df]},en={topicId:"credits",topicGroupText:{id:"common_allTopics_creditGroup",defaultMessage:"Credits"},refMarkerPart:"flmg",topicLinks:[W.FH,W.Ej,W.VS,W.Bt,W.sx,W.df]},tn={topicId:"did-you-know",topicGroupText:{id:"common_allTopics_didYouKnowGroup",defaultMessage:"Did You Know?"},refMarkerPart:"dyk",topicLinks:[W.mU,W.mj,W.uq]},on={topicId:"related",topicGroupText:{id:"common_allTopics_relatedGroup",defaultMessage:"Related"},refMarkerPart:"rel",topicLinks:[W.t8,W.Eb,W.Xm,W.AU]},rn={topicId:"pro",topicGroupText:{id:"common_allTopics_proGroup",defaultMessage:"Industry Professionals"},refMarkerPart:"pro",topicLinks:[W.bh]},an=[J,nn,tn,on,rn],sn=[J,en,tn,on,rn],un={topicId:"popular",topicGroupText:{id:"common_allTopics_popularGroup",defaultMessage:"Popular"},refMarkerPart:"pop",topicLinks:[W.Dt,W.gP,W.pt,W.mj,W.gZ,W.pH,W.$t]},ln={topicId:"popular",topicGroupText:{id:"common_allTopics_popularGroup",defaultMessage:"Popular"},refMarkerPart:"pop",topicLinks:[W.Dt,W.gP,W.pt,W.mj,W.gZ,W.$t]},cn={topicId:"storyline",topicGroupText:{id:"title_main_hero_allTopics_storylineGroup",defaultMessage:"Storyline"},refMarkerPart:"stry",topicLinks:[W.sj,W.Af,W.Rn,W.Bc]},dn={topicId:"details",topicGroupText:{id:"title_main_hero_allTopics_detailsGroup",defaultMessage:"Details"},refMarkerPart:"dts",topicLinks:[W.wT,W.lT,W.Z,W.Xg,W.Xs,W.o4]},fn={topicId:"didyouknow",topicGroupText:{id:"title_main_hero_allTopics_didYouKnowGroup",defaultMessage:"Did you know"},refMarkerPart:"dyk",topicLinks:[W.qi,W.H3,W.tw,W.Zw,W.M_,W.ko]},pn={topicId:"opinion",topicGroupText:{id:"title_main_hero_allTopics_opinionGroup",defaultMessage:"Opinion"},refMarkerPart:"op",topicLinks:[W.A0,W.gk,W.FD,W.yt,W.X6]},vn=[un,cn,dn,fn,pn],mn=[ln,cn,dn,fn,pn],gn=t(49561);function hn(){var n=(0,m.Z)(["\n ",";\n"]);return hn=function(){return n},n}function bn(){var n=(0,m.Z)(["\n .all-topics-prompt__panel {\n padding: 0;\n max-width: calc(700px - 2rem);\n }\n"]);return bn=function(){return n},n}var _n="all-topics-prompt",xn="".concat(_n,"__panel"),yn=function(n){var e,t,o,a,l=n.className,d=n.isOpen,f=n.onCloseClicked,p=(0,b.Z)(),m=p.formatMessage({id:"common_ariaLabel_closePrompt",defaultMessage:"Close Prompt"}),g=(0,k.B)().context,_=(0,s.y)(),x=_.pageType,y=_.pageConst,L=_.refTagPrefix,S=(0,D.hg)({weblabID:C.lh.IMDB_NEXT_FILMOSEARCH_901898,treatments:{T1:!0}}),j=x===r.PageType.TITLE,E=(0,c.useBreakpointsAsConfig)(),F=E.xs||E.s,A=(0,v.Z)((0,N.E)({query:j?I.Y:I.J,variables:{pageConst:y},context:{serverSideCacheable:!0,personalized:!1},pause:!d}),1)[0],Z=h()(_n,l),G=j?function(n,e){var t,i,o,r,a,s,u,l,c,d,f=(0,w.Gs)(null===n||void 0===n||null===(t=n.title)||void 0===t?void 0:t.primaryImage,null===n||void 0===n||null===(i=n.title)||void 0===i||null===(o=i.primaryImage)||void 0===o||null===(r=o.caption)||void 0===r?void 0:r.plainText),p=(0,M.L)(e,null===n||void 0===n||null===(a=n.title)||void 0===a||null===(s=a.originalTitleText)||void 0===s?void 0:s.text,null===n||void 0===n||null===(u=n.title)||void 0===u||null===(l=u.titleText)||void 0===l?void 0:l.text);return{fallbackImageType:(null===n||void 0===n||null===(c=n.title)||void 0===c||null===(d=c.titleType)||void 0===d?void 0:d.text)||"unknown",primaryText:p,imageDisplayType:"poster",imageModel:f}}(A.data,g):function(n){var e,t,i,o,r,a,s=(0,w.Gs)(null===n||void 0===n||null===(e=n.name)||void 0===e?void 0:e.primaryImage,null===n||void 0===n||null===(t=n.name)||void 0===t||null===(i=t.primaryImage)||void 0===i||null===(o=i.caption)||void 0===o?void 0:o.plainText);return{fallbackImageType:"name",primaryText:null===n||void 0===n||null===(r=n.name)||void 0===r||null===(a=r.nameText)||void 0===a?void 0:a.text,imageDisplayType:"avatar",imageModel:s}}(A.data),V=(0,i.jsx)(K,(0,u.Z)({},G));if(!y)return null;j?e=(null===(t=null===A||void 0===A?void 0:A.data)||void 0===t||null===(o=t.title)||void 0===o||null===(a=o.titleType)||void 0===a?void 0:a.canHaveEpisodes)?vn:mn:e=S?sn:an;var O=[];return A.data&&(O=function(n,e,t,i,o,a){var s=o===r.PageType.TITLE;return a.map((function(r){return{topicId:r.topicId,topicLinks:r.topicLinks.map((function(a,u){return(0,gn.$j)(n,s?null===e||void 0===e?void 0:e.title:null===e||void 0===e?void 0:e.name,{prefix:t,suffix:r.refMarkerPart},i,o,a,u)})),topicGroupText:n.formatMessage(r.topicGroupText)}}))}(p,A.data,L,y,x,e)),(0,i.jsxs)(kn,{className:Z,header:V,panelClassName:xn,isOpen:d,onCloseClicked:f,closePromptLabel:m,children:[A.fetching&&(0,i.jsx)(T.lI,{height:"page"}),(A.error||!A.fetching&&!A.data)&&(0,i.jsx)(Tn,{}),!A.error&&!A.fetching&&A.data&&(F?(0,i.jsx)(P,{topicGroups:O}):(0,i.jsx)(R,{topicGroups:O}))]})};var Tn=(0,_.default)(y.F).withConfig({componentId:"sc-d02a45a1-0"})(hn(),(0,x.setTypographyType)("body")),kn=(0,_.default)(c.Prompt).withConfig({componentId:"sc-d02a45a1-1"})(bn()),Nn=function(n){var e=n.className,t=n.shouldDisplayCompact,r=(0,o.useState)(!1),v=r[0],m=r[1],g=(0,s.y)(),h=g.pageType,b=g.subPageType,_=g.pageConst,x=g.refTagPrefix,y={type:h,subType:b,id:_},T=(0,a.N)({id:"common_allTopics_button_label",defaultMessage:"All topics"}),k=(0,a.N)({id:"common_allTopics_button_ariaLabel",defaultMessage:"View all topics"}),N=t?"m":"xs",M=(0,p.z)("ql_sm",{prefix:x}),w="".concat(x,"-").concat("ql-sm"),C={iconName:"categories",ariaLabel:k,label:T,onClick:function(){m(!0),(0,d.K8)(M,y,w,f.qB.ACTION_ONLY)},transitionAt:N};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.ResponsiveButton,(0,l.Z)((0,u.Z)({},C),{"data-testid":"hero-subnav-bar-all-topics-button"})),(0,i.jsx)(yn,{isOpen:v,onCloseClicked:function(){return m(!1)},className:e})]})},Mn=t(8079),wn=t(35355),Cn=t(14865),Dn=t(30382);function In(){var n=(0,m.Z)(["\n query HERO_SUB_NAV_EPISODE(\n $titleId: ID!\n $heroNowDateDay: Int!\n $heroNowDateMonth: Int!\n $heroNowDateYear: Int!\n $heroYesterdayDateDay: Int!\n $heroYesterdayDateMonth: Int!\n $heroYesterdayDateYear: Int!\n ) {\n title(id: $titleId) {\n ...Episodes\n }\n }\n ","\n"]);return In=function(){return n},n}var Ln=t.n(Dn)()(In(),Mn.XP),Sn="hero-subnav-bar-all-episodes-button",Pn="hero-subnav-bar-next-episode-button",jn="hero-subnav-bar-previous-episode-button",En="hero-subnav-bar-season-episode-numbers-section",Fn="hero-subnav-bar-series-episode-count",An="hero-subnav-bar-series-episode-guide-link",Zn=t(53509);function Gn(){var n=(0,m.Z)(["\n ","\n ","\n display: inline-block;\n overflow: visible;\n white-space: nowrap;\n max-width: 20vw;\n\n "," {\n font-weight: bold;\n }\n\n ."," & {\n ",";\n }\n"]);return Gn=function(){return n},n}function Vn(){var n=(0,m.Z)(["\n && {\n display: inline-flex;\n "," {\n display: none;\n }\n "," {\n padding: 0;\n max-width: 15vw;\n }\n }\n"]);return Vn=function(){return n},n}function On(){var n=(0,m.Z)(["\n && {\n display: none;\n "," {\n display: inline-flex;\n max-width: 20vw;\n }\n }\n"]);return On=function(){return n},n}function Bn(){var n=(0,m.Z)(["\n && {\n "," {\n padding: ",";\n }\n }\n\n ."," & {\n ",";\n }\n"]);return Bn=function(){return n},n}var Rn=function(n){var e,t,o=n.series,r=(0,s.y)().refTagPrefix,u=(0,a.N)({id:"title_main_hero_subnav_label_previousEpisodeButton",defaultMessage:"Previous episode"}),l=(0,a.N)({id:"title_main_hero_subnav_label_nextEpisodeButton",defaultMessage:"Next episode"}),c=(0,a.N)({id:"title_main_hero_subnav_allEpisodesButton_long",defaultMessage:"All episodes"}),d=(0,a.N)({id:"title_main_hero_subnav_allEpisodesButton_short",defaultMessage:"All"}),f=null===o||void 0===o||null===(e=o.previousEpisode)||void 0===e?void 0:e.id,p=f?"/title/".concat(f,"/?ref_=").concat(r,"_ep_pr"):void 0,v=null===o||void 0===o||null===(t=o.nextEpisode)||void 0===t?void 0:t.id,m=v?"/title/".concat(v,"/?ref_=").concat(r,"_ep_nx"):void 0;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(qn,{series:o}),(0,i.jsx)(zn,{name:"arrow-left",label:u,href:p,disabled:void 0===p,"data-testid":jn}),(0,i.jsx)($n,{seriesId:null===o||void 0===o?void 0:o.series.id,text:c}),(0,i.jsx)(Yn,{seriesId:null===o||void 0===o?void 0:o.series.id,text:d}),(0,i.jsx)(zn,{name:"arrow-right",label:l,href:m,disabled:void 0===m,"data-testid":Pn})]})},qn=function(n){var e=n.series,t=(0,b.Z)();if(!(null===e||void 0===e?void 0:e.episodeNumber))return null;var o=e.episodeNumber.seasonNumber,r=e.episodeNumber.episodeNumber,a="",s="";return isNaN(o)||(a=t.formatMessage({id:"common_title_hero_subnav_seasonNumber",defaultMessage:"S{SeasonNumber}"},{SeasonNumber:o})),isNaN(r)||(s=t.formatMessage({id:"title_main_hero_subnav_episodeNumber",defaultMessage:"E{EpisodeNumber}"},{EpisodeNumber:r})),(0,i.jsxs)(Qn,{"data-testid":En,children:[a,".",s]})},Qn=_.default.div.withConfig({componentId:"sc-11bf8697-0"})(Gn(),(0,x.setPropertyToColorVar)("color","ipt-accent1-color"),(0,x.setTypographyType)("body"),x.mediaQueries.breakpoints.above.s,Zn.M8,(0,x.setPropertyToColorVar)("color","ipt-on-base-textSecondary-color")),Hn=function(n){var e=n.seriesId,t=n.text,o=n.className,r=(0,s.y)().refTagPrefix,u=(0,a.N)({id:"title_main_hero_subnav_ariaLabel_allEpisodesButton",defaultMessage:"View all episodes"}),l=e?"/title/".concat(e,"/episodes/?ref_=").concat(r,"_ep_epl"):void 0,d=h()("subnav__all-episodes-button",o);return(0,i.jsx)(c.TextButton,{onColor:"textPrimary",ariaLabel:u,className:d,href:l,disabled:!e,"data-testid":Sn,children:t})},Yn=(0,_.default)(Hn).withConfig({componentId:"sc-11bf8697-1"})(Vn(),x.mediaQueries.breakpoints.above.m,x.mediaQueries.breakpoints.below.s),$n=(0,_.default)(Hn).withConfig({componentId:"sc-11bf8697-2"})(On(),x.mediaQueries.breakpoints.above.m),zn=(0,_.default)(c.IconButton).withConfig({componentId:"sc-11bf8697-3"})(Bn(),x.mediaQueries.breakpoints.only.xs,x.spacing.xs,Zn.M8,(0,x.setPropertyToColorVar)("color","ipt-on-base-textPrimary-color")),Un=t(88736);function Xn(){var n=(0,m.Z)(["\n padding-bottom: 0.5rem;\n padding-top: 0.5rem;\n text-decoration: none;\n display: flex;\n align-items: center;\n\n .","\n &\n .episode-guide-chevron-right-icon {\n ",";\n }\n\n &:hover {\n .episode-guide-text {\n text-decoration: underline;\n }\n .episode-guide-chevron-right-icon {\n ",";\n }\n .","\n &\n .episode-guide-chevron-right-icon {\n ",";\n }\n }\n &:focus {\n ",";\n .episode-guide-chevron-right-icon {\n ",";\n }\n }\n"]);return Xn=function(){return n},n}function Kn(){var n=(0,m.Z)(["\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 50vw;\n ","\n ",";\n\n ."," & {\n ",";\n }\n"]);return Kn=function(){return n},n}function Wn(){var n=(0,m.Z)(["\n width: 0.75rem;\n height: 0.75rem;\n ",";\n"]);return Wn=function(){return n},n}function Jn(){var n=(0,m.Z)(["\n ","\n ",";\n padding-left: ",";\n padding-right: ",";\n display: inline-block;\n min-width: ",";\n font-size: 0.875rem;\n\n ."," & {\n ",";\n }\n"]);return Jn=function(){return n},n}var ne=function(n){var e,t=n.episodes,o=n.isLoading,r=(0,s.y)(),u=r.refTagPrefix,l=r.pageConst,c=(0,a.N)({id:"title_main_hero_subnav_episodeGuideButton",defaultMessage:"Episode guide"}),d=(0,a.N)({id:"title_main_hero_subnav_ariaLabel_episodeGuideLink",defaultMessage:"View episode guide"}),f=(0,Un.count)((null===t||void 0===t||null===(e=t.TMD_Hero_EpisodeCount)||void 0===e?void 0:e.total)||0),p="/title/".concat(l,"/episodes/?ref_=").concat(u,"_ov_epl");return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(ee,{href:p,role:"button","aria-label":d,"data-testid":An,children:[(0,i.jsx)(te,{role:"presentation",className:"episode-guide-text",children:c}),(0,i.jsx)(oe,{role:"presentation","data-testid":Fn,children:!o&&t&&f}),(0,i.jsx)(ie,{name:"chevron-right-inline",className:"episode-guide-chevron-right-icon"})]})})},ee=_.default.a.withConfig({componentId:"sc-1371769f-0"})(Xn(),Zn.M8,(0,x.setPropertyToColorVar)("color","ipt-on-base-textSecondary-color"),(0,x.setPropertyToColorVar)("color","ipt-on-baseAlt-accent1-color"),Zn.M8,(0,x.setPropertyToColorVar)("color","ipt-on-base-textPrimary-color"),(0,x.focusOnBaseAlt)(),(0,x.setPropertyToColorVar)("color","ipt-on-baseAlt-accent1-color")),te=_.default.span.withConfig({componentId:"sc-1371769f-1"})(Kn(),(0,x.setTypographyType)("subtitle"),(0,x.setPropertyToColorVar)("color","ipt-on-baseAlt-textPrimary-color"),Zn.M8,(0,x.setPropertyToColorVar)("color","ipt-on-base-textPrimary-color")),ie=(0,_.default)(c.Icon).withConfig({componentId:"sc-1371769f-2"})(Wn(),(0,x.setPropertyToColorVar)("color","ipt-on-baseAlt-textPrimary-color")),oe=_.default.span.withConfig({componentId:"sc-1371769f-3"})(Jn(),(0,x.setTypographyType)("bodySmall"),(0,x.setPropertyToColorVar)("color","ipt-on-baseAlt-textSecondary-color"),x.spacing.s,x.spacing.xxs,x.spacing.l,Zn.M8,(0,x.setPropertyToColorVar)("color","ipt-on-base-textSecondary-color")),re=function(n){var e,t=(0,s.y)().pageConst,o=n.isEpisode,r=n.isSeries,a=n.series,u=(0,v.Z)((0,wn.E8)({query:Ln,variables:{titleId:t,heroNowDateDay:Mn.Iq,heroNowDateMonth:Mn.Yz,heroNowDateYear:Mn.zQ,heroYesterdayDateDay:Mn.xv,heroYesterdayDateMonth:Mn.Uf,heroYesterdayDateYear:Mn._y},context:{serverSideCacheable:!0,personalized:!1,preferGetMethod:!1},pause:!(0,Cn.getIsBrowser)()||!r}),1)[0],l=u.data,c=u.fetching||!Cn.isBrowser,d=null===l||void 0===l||null===(e=l.title)||void 0===e?void 0:e.episodes;return o?(0,i.jsx)(Rn,{series:a}):r?(0,i.jsx)(ne,{isLoading:c,episodes:d}):null},ae=t(15562),se=function(n){var e=n.linkText,t=n.linkType,o=(0,s.y)(),r=o.pageType,a=o.pageConst,u=o.refTagPrefix,l="cons_".concat(u,"_hdr");return(0,i.jsx)(c.TextLink,{"data-testid":ae.xK,inheritColor:!0,text:e,href:"https://pro.imdb.com/".concat(r,"/").concat(a,"/?rf=").concat(l,"&ref_=").concat(l),type:t})},ue=t(94822),le=t(63355);function ce(){var n=(0,m.Z)(["\n ","\n\n && {\n display: none;\n "," {\n display: inline-flex;\n }\n }\n\n ."," & {\n ",";\n }\n"]);return ce=function(){return n},n}function de(){var n=(0,m.Z)(["\n display: flex;\n align-items: center;\n ","\n margin-left: ",";\n\n && {\n display: none;\n "," {\n display: inline-flex;\n }\n }\n\n &:after,\n &:before {\n content: '';\n background: rgba(",", 0.2);\n height: 1.5rem;\n width: 1px;\n }\n\n &:after {\n margin-left: 0.75rem;\n }\n &:before {\n margin-right: 0.75rem;\n }\n\n ."," & {\n ",";\n\n &:after,\n &:before {\n ",";\n }\n }\n"]);return de=function(){return n},n}function fe(){var n=(0,m.Z)(["\n display: flex;\n align-items: center;\n ","\n margin-left: ",";\n\n &:after {\n content: '';\n background: rgba(",", 0.2);\n height: 1.5rem;\n width: 1px;\n margin-left: 0.75rem;\n }\n "," {\n &:after {\n content: none;\n }\n &:before {\n content: '';\n background: rgba(",", 0.2);\n height: 1.5rem;\n width: 1px;\n margin-right: 0.75rem;\n }\n }\n"]);return fe=function(){return n},n}function pe(){var n=(0,m.Z)(["\n position: relative;\n top: -8px;\n left: 3px;\n font-size: 0.55rem;\n line-height: 1.5;\n padding: 0 0.5rem 0 0.4rem;\n min-width: 0;\n"]);return pe=function(){return n},n}var ve=function(n){var e=n.links,t=(0,a.N)({id:"common_subNav_proLink",defaultMessage:"IMDbPro"}),o=(0,a.N)({id:"name_subNav_games",defaultMessage:"Games"}),u=(0,s.y)(),l=u.pageType,d=u.subPageType,f=(0,D.hg)({weblabID:C.lh.IMDB_SIX_DEGREES_NAME_LINK_648098,treatments:{T1:!0}}),p=l===r.PageType.NAME&&d===r.SubPageType.MAIN;return(0,i.jsxs)(i.Fragment,{children:[e.length>0&&(0,i.jsx)(me,{showDividers:!0,"data-testid":ae.XG,children:e.map((function(n,e){if(n.status===L.v.HAS_CONTENT)return(0,i.jsx)(c.InlineListItem,{children:(0,i.jsx)(c.TextLink,{inheritColor:!0,text:n.text,href:n.href})},"topic-link-".concat(e))}))}),p&&f&&(0,i.jsxs)(he,{children:[(0,i.jsx)(c.TextLink,{"data-testid":ae.pm,inheritColor:!0,text:o,href:"/games/six-degrees/?ref_=nm_ql_gm_sxd"}),(0,i.jsx)(be,{text:"beta"})]}),(0,i.jsx)(ge,{children:(0,i.jsx)(se,{linkText:t})})]})},me=(0,_.default)(c.InlineList).withConfig({componentId:"sc-274f2729-0"})(ce(),(0,x.setTypographyType)("subtitle2"),x.mediaQueries.breakpoints.above.l,Zn.M8,(0,x.setPropertyToColorVar)("color","ipt-on-base-textPrimary-color")),ge=_.default.div.withConfig({componentId:"sc-274f2729-1"})(de(),(0,x.setTypographyType)("subtitle2"),x.spacing.s,x.mediaQueries.breakpoints.above.l,(0,x.getColorVar)("ipt-base-rgb"),Zn.M8,(0,x.setPropertyToColorVar)("color","ipt-on-base-textPrimary-color"),(0,x.setPropertyToColorVar)("background","ipt-on-base-textSecondary-color")),he=_.default.div.withConfig({componentId:"sc-274f2729-2"})(fe(),(0,x.setTypographyType)("subtitle2"),x.spacing.s,(0,x.getColorVar)("ipt-base-rgb"),x.mediaQueries.breakpoints.above.l,(0,x.getColorVar)("ipt-base-rgb")),be=(0,_.default)(c.Signpost).withConfig({componentId:"sc-274f2729-3"})(pe()),_e=function(n){var e=n.isUnannouncedInDevelopmentTitle,t=n.isSeriesTitle,u=n.isEpisodeTitle,l=n.links,c=n.series,d=(0,s.y)(),f=d.pageType,p=d.subPageType,v=(0,a.N)({id:"common_subNav_proLink_inDevelopmentTitle",defaultMessage:"In development: More at IMDbPro"}),m=f===r.PageType.TITLE&&p===r.SubPageType.MAIN||f===r.PageType.TITLE&&p===r.SubPageType.REFERENCE,g=t||u,h=[],b=[];return e?(h.push((0,i.jsx)(se,{linkText:v,linkType:"internal"},"sub-nav-pro-link-indev")),b.push((0,i.jsx)("span",{"data-testid":ae.PD,children:(0,i.jsx)(ue.R,{})},"sub-nav-share"))):(m&&g&&h.push((0,i.jsx)(re,{series:c,isEpisode:u,isSeries:t},"episode-nav")),b.push([(0,i.jsx)(ve,{links:l},"sub-nav-links"),(0,i.jsx)(Nn,{shouldDisplayCompact:g},"sub-nav-atp"),(0,i.jsx)(le._5,{"data-testid":ae.PD,children:(0,i.jsx)(ue.R,{})},"sub-nav-share")])),(0,i.jsx)(le.k7,{children:(0,i.jsxs)(le.OD,{children:[(0,i.jsx)(le.VM,{role:"presentation","data-testid":ae.CQ,children:h.map((function(n,e){return(0,i.jsx)(o.Fragment,{children:n},"sub-nav-left-block-item-".concat(e))}))},"sub-nav-left-block"),(0,i.jsx)(le.VM,{role:"presentation","data-testid":ae.xm,children:b.map((function(n,e){return(0,i.jsx)(o.Fragment,{children:n},"sub-nav-right-block-item-".concat(e))}))},"sub-nav-right-block")]},"sub-nav-content")},"sub-nav")}},18202:function(n,e,t){var i;t.d(e,{v:function(){return i}}),function(n){n.HAS_CONTENT="hasContent",n.EMPTY="empty",n.NON_EXISTENT="nonExistent"}(i||(i={}))},91827:function(n,e,t){t.d(e,{$W:function(){return P},$t:function(){return I},A0:function(){return i},AU:function(){return k},Af:function(){return F},B_:function(){return l},Bc:function(){return Z},Bt:function(){return m},Dt:function(){return D},Eb:function(){return r},Ej:function(){return h},F:function(){return X},FD:function(){return W},FH:function(){return _},Gs:function(){return f},H3:function(){return Q},M_:function(){return z},Rn:function(){return A},VS:function(){return b},X6:function(){return nn},Xg:function(){return B},Xm:function(){return T},Xs:function(){return R},Z:function(){return O},Zw:function(){return Y},aU:function(){return s},bI:function(){return S},bh:function(){return u},df:function(){return v},en:function(){return C},gP:function(){return L},gZ:function(){return y},gk:function(){return K},ko:function(){return U},l:function(){return o},l1:function(){return c},lT:function(){return V},mU:function(){return x},mj:function(){return M},o4:function(){return $},pH:function(){return j},pt:function(){return N},qi:function(){return q},sj:function(){return E},sx:function(){return g},t8:function(){return a},tw:function(){return H},uq:function(){return w},wT:function(){return G},wU:function(){return p},y0:function(){return d},yt:function(){return J}});var i={text:{id:"common_subNav_awards_link",defaultMessage:"Awards"},href:function(n,e){return"/".concat(e,"/").concat(n,"/awards/")},refMarkerSuffix:"awd",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavAwardNominations)||(null===(e=n.subNavAwardNominations)||void 0===e?void 0:e.total)>0}},o={text:{id:"common_subNav_biography_link",defaultMessage:"Biography"},href:function(n){return"/name/".concat(n,"/bio/")},refMarkerSuffix:"bio",hasDataFunction:function(n){var e;return!!(null===n||void 0===n||null===(e=n.subNavBio)||void 0===e?void 0:e.id)}},r={text:{id:"common_subNav_externalSites_link",defaultMessage:"External sites"},href:function(n,e){return"/".concat(e,"/").concat(n,"/externalsites/")},refMarkerSuffix:"exst",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavExternalLinks)||(null===n||void 0===n||null===(e=n.subNavExternalLinks)||void 0===e?void 0:e.total)>0}},a={text:{id:"common_subNav_collaborations_link",defaultMessage:"Collaborations"},href:function(n,e){return"/search/common/?".concat(e,"=").concat(n)},refMarkerSuffix:"collab",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavCredits)||(null===(e=n.subNavCredits)||void 0===e?void 0:e.total)>0}},s={text:{id:"common_subNav_creditedWith_link",defaultMessage:"Credited With"},href:function(n){return"/search/common/?name=".concat(n)},hasDataFunction:function(){return!0}},u={text:{id:"common_subNav_moreAtPro_link",defaultMessage:"More at IMDbPro"},href:function(n,e){return"https://pro.imdb.com/".concat(e,"/").concat(n,"/")},refMarkerOverride:"cons_nm_ql_getmore",hasDataFunction:function(){return!0},linkType:"internal"},l={text:{id:"name_common_nameCreditsByGenre_link",defaultMessage:"by Genre"},href:function(n){return"/filmosearch/?sort=moviemeter&explore=genres&role=".concat(n)},refMarkerSuffix:"genre",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavCredits)||(null===(e=n.subNavCredits)||void 0===e?void 0:e.total)>0}},c={text:{id:"name_common_nameCreditsByKeyword_link",defaultMessage:"by Keyword"},href:function(n){return"/filmosearch/?sort=moviemeter&explore=keywords&role=".concat(n)},refMarkerSuffix:"kw",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavCredits)||(null===(e=n.subNavCredits)||void 0===e?void 0:e.total)>0}},d={text:{id:"name_common_nameCreditsByRating_link",defaultMessage:"by Ratings"},href:function(n){return"/filmosearch/?sort=user_rating&explore=title_type&role=".concat(n)},refMarkerSuffix:"rate",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavCredits)||(null===(e=n.subNavCredits)||void 0===e?void 0:e.total)>0}},f={text:{id:"name_common_nameCreditsByVotes_link",defaultMessage:"by Votes"},href:function(n){return"/filmosearch/?sort=num_votes&explore=title_type&role=".concat(n)},refMarkerSuffix:"vote",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavCredits)||(null===(e=n.subNavCredits)||void 0===e?void 0:e.total)>0}},p={text:{id:"name_common_nameCreditsByYear_link",defaultMessage:"by Year"},href:function(n){return"/filmosearch/?sort=year&explore=title_type&role=".concat(n)},refMarkerSuffix:"year",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavCredits)||(null===(e=n.subNavCredits)||void 0===e?void 0:e.total)>0}},v={text:{id:"name_common_nameCreditsAllCredits_link",defaultMessage:"All Credits"},href:function(n){return"/name/".concat(n,"/fullcredits/")},hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavCredits)||(null===(e=n.subNavCredits)||void 0===e?void 0:e.total)>0}},m={text:{id:"name_common_nameCreditsByGenre_link",defaultMessage:"by Genre"},href:function(n){return"/search/title/?explore=genres&role=".concat(n)},refMarkerSuffix:"genre",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavCredits)||(null===(e=n.subNavCredits)||void 0===e?void 0:e.total)>0}},g={text:{id:"name_common_nameCreditsByKeyword_link",defaultMessage:"by Keyword"},href:function(n){return"/search/title/?explore=keywords&role=".concat(n)},refMarkerSuffix:"kw",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavCredits)||(null===(e=n.subNavCredits)||void 0===e?void 0:e.total)>0}},h={text:{id:"name_common_nameCreditsByRating_link",defaultMessage:"by Ratings"},href:function(n){return"/search/title/?sort=user_rating,desc&explore=user_rating&role=".concat(n)},refMarkerSuffix:"rate",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavCredits)||(null===(e=n.subNavCredits)||void 0===e?void 0:e.total)>0}},b={text:{id:"name_common_nameCreditsByVotes_link",defaultMessage:"by Votes"},href:function(n){return"/search/title/?sort=num_votes,desc&explore=num_votes&role=".concat(n)},refMarkerSuffix:"vote",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavCredits)||(null===(e=n.subNavCredits)||void 0===e?void 0:e.total)>0}},_={text:{id:"name_common_nameCreditsByYear_link",defaultMessage:"by Year"},href:function(n){return"/search/title/?sort=release_date,desc&explore=year&role=".concat(n)},refMarkerSuffix:"year",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavCredits)||(null===(e=n.subNavCredits)||void 0===e?void 0:e.total)>0}},x={text:{id:"common_subNav_nameQuotes_link",defaultMessage:"Personal quotes"},href:function(n){return"/name/".concat(n,"/quotes/")},refMarkerSuffix:"qu",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavQuotes)||(null===n||void 0===n||null===(e=n.subNavQuotes)||void 0===e?void 0:e.total)>0}},y={text:{id:"common_subNav_news_link",defaultMessage:"News"},href:function(n,e){return"/".concat(e,"/").concat(n,"/news/")},refMarkerSuffix:"nwr",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavNews)||(null===n||void 0===n||null===(e=n.subNavNews)||void 0===e?void 0:e.total)>0}},T={text:{id:"common_subNav_otherWorks_link",defaultMessage:"Other works"},href:function(n){return"/name/".concat(n,"/otherworks/")},refMarkerSuffix:"wrk",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavOtherWorks)||(null===n||void 0===n||null===(e=n.subNavOtherWorks)||void 0===e?void 0:e.total)>0}},k={text:{id:"common_subNav_publicity_link",defaultMessage:"Publicity listings"},href:function(n){return"/name/".concat(n,"/publicity/")},refMarkerSuffix:"pub",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavPublicityListings)||(null===n||void 0===n||null===(e=n.subNavPublicityListings)||void 0===e?void 0:e.total)>0}},N={text:{id:"common_subNav_photos_link",defaultMessage:"Photos"},href:function(n,e){return"/".concat(e,"/").concat(n,"/mediaindex/")},refMarkerSuffix:"mi",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavImages)||(null===n||void 0===n||null===(e=n.subNavImages)||void 0===e?void 0:e.total)>0}},M={text:{id:"common_trivia",defaultMessage:"Trivia"},href:function(n,e){return"/".concat(e,"/").concat(n,"/trivia/")},refMarkerSuffix:"trv",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavTrivia)||(null===n||void 0===n||null===(e=n.subNavTrivia)||void 0===e?void 0:e.total)>0}},w={text:{id:"common_name_faq",defaultMessage:"FAQ"},href:function(n,e){return"/".concat(e,"/").concat(n,"/faq/")},refMarkerSuffix:"nmfaq",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavFaqs)||void 0===e?void 0:e.total)>0},hideOnEmptyData:!0},C={text:{id:"common_subNav_contactInfo_link",defaultMessage:"Contact info"},href:function(n){return"https://pro.imdb.com/name/".concat(n,"/")},hasDataFunction:function(){return!0}},D={text:{id:"common_subNav_videos_link",defaultMessage:"Videos"},href:function(n,e){return"/".concat(e,"/").concat(n,"/videogallery/")},refMarkerSuffix:"vi",hasDataFunction:function(n){var e;return!(null===n||void 0===n?void 0:n.subNavVideos)||(null===n||void 0===n||null===(e=n.subNavVideos)||void 0===e?void 0:e.total)>0}},I={text:{id:"common_subNav_proLink",defaultMessage:"IMDbPro"},href:function(n,e){return"https://pro.imdb.com/".concat(e,"/").concat(n,"/")},refMarkerOverride:"cons_tt_contact",hasDataFunction:function(){return!0},linkType:"internal"},L={text:{id:"title_main_hero_subnav_fullCreditsLink",defaultMessage:"Cast & crew"},href:function(n,e){return"/".concat(e,"/").concat(n,"/fullcredits/")},refMarkerSuffix:"cl",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavCredits)||void 0===e?void 0:e.total)>0}},S={text:{id:"title_main_hero_subnav_userReviewsLink",defaultMessage:"User reviews"},href:function(n,e){return"/".concat(e,"/").concat(n,"/reviews/")},refMarkerSuffix:"urv",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavReviews)||void 0===e?void 0:e.total)>0}},P={text:{id:"common_trivia",defaultMessage:"Trivia"},href:function(n,e){return"/".concat(e,"/").concat(n,"/trivia/")},refMarkerSuffix:"trv",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavTrivia)||void 0===e?void 0:e.total)>0}},j={text:{id:"title_main_hero_allTopics_episodeGuideLink",defaultMessage:"Episode guide"},href:function(n){return"/title/".concat(n,"/episodes/")},refMarkerSuffix:"eps",hasDataFunction:function(n){var e,t;return(null===n||void 0===n||null===(e=n.subNavEpisodes)||void 0===e||null===(t=e.episodes)||void 0===t?void 0:t.total)>0}},E={text:{id:"title_main_hero_allTopics_taglinesLink",defaultMessage:"Taglines"},href:function(n){return"/title/".concat(n,"/taglines/")},refMarkerSuffix:"tg",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavTaglines)||void 0===e?void 0:e.total)>0}},F={text:{id:"title_main_hero_allTopics_plotLink",defaultMessage:"Plot"},href:function(n){return"/title/".concat(n,"/plotsummary/")},refMarkerSuffix:"pl",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavPlots)||void 0===e?void 0:e.total)>0}},A={text:{id:"title_main_hero_allTopics_plotKeywordsLink",defaultMessage:"Plot keywords"},href:function(n){return"/title/".concat(n,"/keywords/")},refMarkerSuffix:"kw",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavKeywords)||void 0===e?void 0:e.total)>0}},Z={text:{id:"title_main_hero_allTopics_parentsGuideLink",defaultMessage:"Parents guide"},href:function(n){return"/title/".concat(n,"/parentalguide/")},refMarkerSuffix:"pg",hasDataFunction:function(n){var e,t;return(null===n||void 0===n||null===(e=n.subNavParentsGuide)||void 0===e||null===(t=e.guideItems)||void 0===t?void 0:t.total)>0}},G={text:{id:"title_main_hero_allTopics_releaseDatesLink",defaultMessage:"Release dates"},href:function(n){return"/title/".concat(n,"/releaseinfo/")},refMarkerSuffix:"rel",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavReleaseDates)||void 0===e?void 0:e.total)>0}},V={text:{id:"title_main_hero_allTopics_companyCreditsLink",defaultMessage:"Company credits"},href:function(n){return"/title/".concat(n,"/companycredits/")},refMarkerSuffix:"co",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavCompanyCredits)||void 0===e?void 0:e.total)>0}},O={text:{id:"title_main_hero_allTopics_filmingProductionLink",defaultMessage:"Filming & production"},href:function(n){return"/title/".concat(n,"/locations/")},refMarkerSuffix:"loc",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavFilmingLocations)||void 0===e?void 0:e.total)>0}},B={text:{id:"title_main_hero_allTopics_technicalSpecsLink",defaultMessage:"Technical specs"},href:function(n){return"/title/".concat(n,"/technical/")},refMarkerSuffix:"spec",hasDataFunction:function(n){var e,t,i,o,r,a,s,u,l,c,d,f,p,v,m,g;return(null===n||void 0===n||null===(e=n.subNavTechnicalSpecifications)||void 0===e?void 0:e.aspectRatios)>0||(null===n||void 0===n||null===(t=n.subNavTechnicalSpecifications)||void 0===t?void 0:t.cameras)>0||(null===n||void 0===n||null===(i=n.subNavTechnicalSpecifications)||void 0===i||null===(o=i.colorations)||void 0===o?void 0:o.total)>0||(null===n||void 0===n||null===(r=n.subNavTechnicalSpecifications)||void 0===r||null===(a=r.filmLengths)||void 0===a?void 0:a.total)>0||(null===n||void 0===n||null===(s=n.subNavTechnicalSpecifications)||void 0===s||null===(u=s.laboratories)||void 0===u?void 0:u.total)>0||(null===n||void 0===n||null===(l=n.subNavTechnicalSpecifications)||void 0===l||null===(c=l.negativeFormats)||void 0===c?void 0:c.total)>0||(null===n||void 0===n||null===(d=n.subNavTechnicalSpecifications)||void 0===d||null===(f=d.printedFormats)||void 0===f?void 0:f.total)>0||(null===n||void 0===n||null===(p=n.subNavTechnicalSpecifications)||void 0===p||null===(v=p.processes)||void 0===v?void 0:v.total)>0||(null===n||void 0===n||null===(m=n.subNavTechnicalSpecifications)||void 0===m||null===(g=m.soundMixes)||void 0===g?void 0:g.total)>0}},R={text:{id:"title_main_hero_allTopics_externalSitesLink",defaultMessage:"External sites"},href:function(n){return"/title/".concat(n,"/externalsites/")},refMarkerSuffix:"exst",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavExternalLinks)||void 0===e?void 0:e.total)>0}},q={text:{id:"title_main_hero_allTopics_goofsLink",defaultMessage:"Goofs"},href:function(n){return"/title/".concat(n,"/goofs/")},refMarkerSuffix:"gf",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavGoofs)||void 0===e?void 0:e.total)>0}},Q={text:{id:"title_main_hero_allTopics_crazyCreditsLink",defaultMessage:"Crazy credits"},href:function(n){return"/title/".concat(n,"/crazycredits/")},refMarkerSuffix:"cz",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavCrazyCredits)||void 0===e?void 0:e.total)>0}},H={text:{id:"title_main_hero_allTopics_quotesLink",defaultMessage:"Quotes"},href:function(n){return"/title/".concat(n,"/quotes/")},refMarkerSuffix:"qu",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavQuotes)||void 0===e?void 0:e.total)>0}},Y={text:{id:"title_main_hero_allTopics_alternateVersionsLink",defaultMessage:"Alternate versions"},href:function(n){return"/title/".concat(n,"/alternateversions/")},refMarkerSuffix:"alt",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavAlternateVersions)||void 0===e?void 0:e.total)>0}},$={text:{id:"title_main_hero_allTopics_connectionsLink",defaultMessage:"Connections"},href:function(n){return"/title/".concat(n,"/movieconnections/")},refMarkerSuffix:"cnn",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavConnections)||void 0===e?void 0:e.total)>0}},z={text:{id:"title_main_hero_allTopics_soundTracksLink",defaultMessage:"Soundtracks"},href:function(n){return"/title/".concat(n,"/soundtrack/")},refMarkerSuffix:"snd",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavSoundtrack)||void 0===e?void 0:e.total)>0}},U={text:{id:"title_main_hero_allTopics_faqLink",defaultMessage:"FAQ"},href:function(n){return"/title/".concat(n,"/faq/")},refMarkerSuffix:"faq",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavFaqs)||void 0===e?void 0:e.total)>0}},X={text:{id:"title_main_hero_allTopics_faqLink",defaultMessage:"FAQ"},href:function(n){return"/title/".concat(n,"/faq/")},refMarkerSuffix:"faq",hasDataFunction:function(n){var e,t;return(null===n||void 0===n||null===(e=n.subNavFaqs)||void 0===e?void 0:e.total)>0||(null===n||void 0===n||null===(t=n.subNavTopQuestions)||void 0===t?void 0:t.total)>0}},K={text:{id:"title_main_hero_allTopics_userReviewsLink",defaultMessage:"User reviews"},href:function(n){return"/title/".concat(n,"/reviews/")},refMarkerSuffix:"urv",hasDataFunction:function(n){var e;return(null===n||void 0===n||null===(e=n.subNavReviews)||void 0===e?void 0:e.total)>0}},W={text:{id:"title_main_hero_allTopics_userRatingsLink",defaultMessage:"User ratings"},href:function(n){return"/title/".concat(n,"/ratings/")},refMarkerSuffix:"rt",hasDataFunction:function(n){var e;return null===(e=n.subNavRatings)||void 0===e?void 0:e.aggregateRating}},J={text:{id:"title_main_hero_allTopics_externalReviewsLink",defaultMessage:"External reviews"},href:function(n){return"/title/".concat(n,"/externalreviews/")},refMarkerSuffix:"exrv",hasDataFunction:function(n){var e;return(null===(e=n.subNavExternalReviews)||void 0===e?void 0:e.total)>0}},nn={text:{id:"title_main_hero_allTopics_metacriticReviewsLink",defaultMessage:"Metacritic reviews"},href:function(n){return"/title/".concat(n,"/criticreviews/")},refMarkerSuffix:"crv",hasDataFunction:function(n){var e;return null===n||void 0===n||null===(e=n.subNavMetacritic)||void 0===e?void 0:e.metascore}}},49561:function(n,e,t){t.d(e,{$j:function(){return a}});var i=t(77637),o=t(18202);function r(n,e){var t="ref_=".concat(e),i="";return n.includes("pro.imdb.com")&&(i="&rf=".concat(e)),n.indexOf("?")>0?"".concat(n,"&").concat(t).concat(i):"".concat(n,"?").concat(t).concat(i)}function a(n,e,t,a,s,u,l){var c=u.href(a,s),d=u.refMarkerOverride?(0,i.z)(u.refMarkerOverride,[]):(0,i.z)("ql",[t,{suffix:"".concat(l+1)}]),f=u.hideOnEmptyData?o.v.NON_EXISTENT:o.v.EMPTY;return{text:n.formatMessage(u.text),href:r(c,d),status:u.hasDataFunction(e)?o.v.HAS_CONTENT:f,linkType:u.linkType}}},80800:function(n,e,t){t.d(e,{J:function(){return u},Y:function(){return l}});var i=t(92228),o=t(30382),r=t.n(o);function a(){var n=(0,i.Z)(["\n query NameAllTopics($pageConst: ID!) {\n name(id: $pageConst) {\n primaryImage {\n caption {\n plainText\n }\n url\n height\n width\n }\n nameText {\n text\n }\n subNavVideos: videos(\n first: 0\n filter: { maturityLevel: INCLUDE_MATURE }\n ) {\n total\n }\n subNavBio: bio {\n id\n }\n subNavImages: images(first: 0) {\n total\n }\n subNavAwardNominations: awardNominations(first: 0) {\n total\n }\n subNavNews: news(first: 0) {\n total\n }\n subNavCredits: credits(first: 0) {\n total\n }\n subNavQuotes: quotes(first: 0) {\n total\n }\n subNavTrivia: trivia(first: 0) {\n total\n }\n subNavExternalLinks: externalLinks(first: 0) {\n total\n }\n subNavOtherWorks: otherWorks(first: 0) {\n total\n }\n subNavPublicityListings: publicityListings(first: 0) {\n total\n }\n subNavFaqs: alexaTopQuestions(first: 0) {\n total\n }\n }\n }\n"]);return a=function(){return n},n}function s(){var n=(0,i.Z)(['\n query TitleAllTopics($pageConst: ID!) {\n title(id: $pageConst) {\n primaryImage {\n caption {\n plainText\n }\n url\n height\n width\n }\n titleText {\n text\n }\n originalTitleText {\n text\n }\n titleType {\n text\n canHaveEpisodes\n }\n subNavImages: images(first: 0) {\n total\n }\n subNavVideos: videoStrip(\n filter: { maturityLevel: INCLUDE_MATURE }\n ) {\n total\n }\n subNavTrivia: trivia(first: 0) {\n total\n }\n subNavAkas: akas(first: 0) {\n total\n }\n subNavAwardNominations: awardNominations(first: 0) {\n total\n }\n subNavCredits: credits(first: 0) {\n total\n }\n subNavNews: news(first: 0) {\n total\n }\n subNavTaglines: taglines(first: 0) {\n total\n }\n subNavPlots: plots(first: 0) {\n total\n }\n subNavKeywords: keywords(first: 0) {\n total\n }\n subNavParentsGuide: parentsGuide {\n guideItems(first: 0) {\n total\n }\n }\n subNavReleaseDates: releaseDates(first: 0) {\n total\n }\n subNavCompanyCredits: companyCredits(first: 0) {\n total\n }\n subNavFilmingLocations: filmingLocations(first: 0) {\n total\n }\n subNavGoofs: goofs(first: 0) {\n total\n }\n subNavExternalLinks: externalLinks(first: 0) {\n total\n }\n subNavCrazyCredits: crazyCredits(first: 0) {\n total\n }\n subNavFaqs: faqs(first: 0) {\n total\n }\n subNavTopQuestions: alexaTopQuestions(first: 0) {\n total\n }\n subNavQuotes: quotes(first: 0) {\n total\n }\n subNavAlternateVersions: alternateVersions(first: 0) {\n total\n }\n subNavConnections: connections(first: 0) {\n total\n }\n subNavSoundtrack: soundtrack(first: 0) {\n total\n }\n subNavRuntimes: runtimes(first: 0) {\n total\n }\n subNavTechnicalSpecifications: technicalSpecifications {\n aspectRatios {\n total\n }\n cameras {\n total\n }\n colorations {\n total\n }\n filmLengths {\n total\n }\n laboratories {\n total\n }\n negativeFormats {\n total\n }\n printedFormats {\n total\n }\n processes {\n total\n }\n soundMixes {\n total\n }\n }\n subNavEpisodes: episodes {\n episodes(first: 0) {\n total\n }\n }\n subNavReviews: reviews(first: 0) {\n total\n }\n subNavRatings: ratingsSummary {\n aggregateRating\n }\n subNavExternalReviews: externalLinks(\n first: 0\n filter: { categories: ["review"] }\n ) {\n total\n }\n subNavMetacritic: metacritic {\n metascore {\n score\n }\n }\n }\n }\n']);return s=function(){return n},n}var u=r()(a()),l=r()(s())},8079:function(n,e,t){t.d(e,{Iq:function(){return l},Uf:function(){return p},XP:function(){return m},Yz:function(){return c},_y:function(){return v},xv:function(){return f},zQ:function(){return d}});var i=t(92228),o=t(30382),r=t.n(o);function a(){var n=(0,i.Z)(["\n fragment Episodes on Title {\n episodes {\n isOngoing\n TMD_Hero_EpisodeCount: episodes(first: 0) {\n total\n }\n TMD_Hero_NextEpisode: episodes(\n first: 1\n filter: {\n releasedOnOrAfter: {\n day: $heroNowDateDay\n month: $heroNowDateMonth\n year: $heroNowDateYear\n }\n }\n ) {\n edges {\n node {\n releaseDate {\n day\n month\n year\n }\n series {\n episodeNumber {\n episodeNumber\n seasonNumber\n }\n }\n }\n }\n }\n TMD_Hero_MostRecentEpisode: episodes(\n last: 1\n filter: {\n releasedOnOrBefore: {\n day: $heroYesterdayDateDay\n month: $heroYesterdayDateMonth\n year: $heroYesterdayDateYear\n }\n }\n sort: { by: RELEASE_DATE, order: ASC }\n ) {\n edges {\n node {\n releaseDate {\n day\n month\n year\n }\n series {\n episodeNumber {\n episodeNumber\n seasonNumber\n }\n }\n }\n }\n }\n }\n }\n"]);return a=function(){return n},n}var s=new Date,u=new Date(s);u.setDate(u.getDate()-1);var l=s.getDate(),c=s.getMonth()+1,d=s.getFullYear(),f=u.getDate(),p=u.getMonth()+1,v=u.getFullYear(),m=r()(a())},4912:function(n,e,t){t.d(e,{r:function(){return s}});var i=t(92228),o=t(19596),r=t(91842);function a(){var n=(0,i.Z)(["\n margin: 0 1rem;\n margin: 0 ",";\n"]);return a=function(){return n},n}var s=o.default.div.withConfig({componentId:"sc-f65f65be-0"})(a(),(0,r.getSpacingVar)("ipt-pageMargin"))},72879:function(n,e,t){t.d(e,{Ll:function(){return R},ZP:function(){return q}});var i=t(92228),o=t(52322),r=(t(2784),t(73857)),a=t(19596),s=t(45103),u=t(91842),l=t(1577),c=t(4912),d=t(25436),f=t(12512),p=t(25140),v=t(87206),m=t(50911),g=t(54364),h=t(31619),b=t(96485),_="answers-widget",x="answers-poster",y="answers-question",T="answer-link";function k(){var n=(0,i.Z)(["\n padding: 0;\n"]);return k=function(){return n},n}function N(){var n=(0,i.Z)(["\n margin-left: ",";\n margin-right: ",";\n margin-bottom: 1.5rem;\n"]);return N=function(){return n},n}function M(){var n=(0,i.Z)(["\n flex-shrink: 0;\n margin-right: 1.25rem;\n"]);return M=function(){return n},n}function w(){var n=(0,i.Z)(["\n margin-bottom: 0.625rem;\n"]);return w=function(){return n},n}function C(){var n=(0,i.Z)(["\n display: flex;\n"]);return C=function(){return n},n}function D(){var n=(0,i.Z)(["\n line-height: 1.25rem;\n margin-bottom: 1rem;\n"]);return D=function(){return n},n}var I=(0,a.default)(s.TextLink).withConfig({componentId:"sc-7f6ccab6-0"})(k()),L=a.default.div.withConfig({componentId:"sc-7f6ccab6-1"})(N(),(0,u.getSpacingVar)("ipt-pageMargin"),(0,u.getSpacingVar)("ipt-pageMargin")),S=a.default.div.withConfig({componentId:"sc-7f6ccab6-2"})(M()),P=a.default.div.withConfig({componentId:"sc-7f6ccab6-3"})(w()),j=a.default.div.withConfig({componentId:"sc-7f6ccab6-4"})(C()),E=a.default.div.withConfig({componentId:"sc-7f6ccab6-5"})(D()),F=function(n){var e=n.contributionQuestions,t=n.titleType,i=(0,h.N)({id:"feature_contribution_answers_cta_answer_button",defaultMessage:"Answer"}),r=(0,h.N)({id:"feature_contribution_answers_cta_sign_post",defaultMessage:"Top Gap"}),a=(0,p.B)().context.refTagPrefix;if(!e||0===e.length)return null;var u=e[0];if(!(null===u||void 0===u?void 0:u.contributionUrl))return null;var l=null===u||void 0===u?void 0:u.primaryImage,c=null===u||void 0===u?void 0:u.questionText,d=(0,g.Ae)(u.contributionUrl,"ans_q",{prefix:a});return(0,o.jsx)(L,{"data-testid":_,children:(0,o.jsxs)(j,{children:[(0,o.jsx)(S,{"data-testid":x,children:(0,o.jsx)(s.PosterImage,{imageModel:(0,b.ff)(l),imageType:t,size:"s"})}),(0,o.jsxs)("div",{children:[(0,o.jsx)(P,{children:(0,o.jsx)(s.Signpost,{text:r})}),(0,o.jsx)(E,{"data-testid":y,children:c}),(0,o.jsx)(I,{"data-testid":T,href:d,text:i,touchTarget:!0})]})]})})},A="contribution",Z="edit-button",G="add-button";function V(){var n=(0,i.Z)(["\n margin-bottom: 1rem;\n"]);return V=function(){return n},n}function O(){var n=(0,i.Z)(["\n display: flex;\n margin: 1.5rem "," ","\n ",";\n"]);return O=function(){return n},n}function B(){var n=(0,i.Z)(["\n &.only-button {\n "," {\n width: 24.75rem;\n }\n "," {\n width: 20rem;\n }\n "," {\n width: 18.25rem;\n }\n "," {\n width: 100%;\n }\n }\n\n &.first-button {\n "," {\n margin-right: ",";\n }\n "," {\n margin-right: ",";\n }\n "," {\n margin-right: ",";\n }\n }\n"]);return B=function(){return n},n}var R=function(n){var e=n.id,t=n.contributionQuestions,i=n.answersContributionLink,a=n.titleType,u=n.canHaveEpisodes,h=void 0!==u&&u,b=n.contributionSection,_=(0,p.B)().context,x=_.refTagPrefix,y=_.pageType,T=_.subPageType,k=(0,r.Z)(),N=k.formatMessage({id:"feature_contribution_header_description",defaultMessage:"Suggest an edit or add missing content"}),M=k.formatMessage({id:"feature_contribution_editPage_button",defaultMessage:"Edit page"}),w=k.formatMessage({id:"feature_contribution_addEpisode_button",defaultMessage:"Add episode"}),C=k.formatMessage({id:"feature_contribution_learn_more_link",defaultMessage:"Learn more about contributing"}),D=k.formatMessage({id:"feature_contribution_answers_link_see_more_gaps",defaultMessage:"See more gaps"}),I=k.formatMessage({id:"feature_contribution_answers_link_help_fill_gaps",defaultMessage:"IMDb Answers: Help fill gaps in our data"}),L=k.formatMessage({id:"common_awards_guide_text",defaultMessage:"Please see our guide to updating awards"});if(!e)return null;var S=(null===t||void 0===t?void 0:t.length)?D:I,P=i,j=b||"",E="https://contribute.imdb.com/czone?ref_=".concat(x,"_cn_cz"),V=y===d.PageType.TITLE&&"fullcredits"===b?"https://contribute.imdb.com/updates/edit?ref_=".concat(x,"_cn_edt&update=").concat(e,":cast/crew"):void 0,O="https://contribute.imdb.com/updates?ref_=".concat(x,"_cn_edt&edit=legacy%2F").concat(y,"%2F").concat(e,"%2F").concat(j),B="https://contribute.imdb.com/updates?ref_=".concat(x,"_cn_eps&update=episode&parent=").concat(e),R="https://help.imdb.com/article/contribution/other-submission-guides/awards/G5KGRJURZFQGHJQH#/?ref_=".concat(x,"_cn_awg"),q=[d.PageType.NAME,d.PageType.TITLE].includes(y)&&T===d.SubPageType.AWARDS,Y=[d.SubPageType.AWARDS,d.SubPageType.EPISODES].includes(T);return(0,o.jsx)(m.wW,{componentId:v.NG.Contribution,children:(0,o.jsxs)(s.PageSection,{baseColor:"base","data-testid":A,children:[(0,o.jsx)(l.O,{title:{id:"feature_contribution_header",defaultMessage:"Contribute to this page"},description:N}),(0,o.jsx)(F,{contributionQuestions:t,titleType:a}),(0,o.jsx)(c.r,{"data-testid":"contribution-links",children:(0,o.jsxs)(s.MetaDataList,{children:[q&&(0,o.jsx)(s.MetaDataListItem,{labelLinkAriaLabel:k.formatMessage(f.F.GO_TO,{target:L}),labelTitle:L,"data-testid":"awards-guide",labelLink:R}),P&&(0,o.jsx)(s.MetaDataListItem,{labelLinkAriaLabel:k.formatMessage(f.F.GO_TO,{target:S}),labelTitle:S,"data-testid":"answers-redirect",labelLink:(0,g.Ae)(P,"all_gaps",{prefix:x})}),(0,o.jsx)(s.MetaDataListItem,{labelLinkAriaLabel:k.formatMessage(f.F.GO_TO,{target:C}),"data-testid":"contributor-zone",labelTitle:C,labelLink:E})]})}),(!Y||h)&&(0,o.jsxs)(Q,{children:[!Y&&(0,o.jsx)(H,{className:h?"first-button":"only-button","data-testid":Z,href:null!==V&&void 0!==V?V:O,preIcon:"edit",width:"full-width",baseColor:"accent1",alignContent:"left",children:M}),h&&(0,o.jsx)(H,{className:Y?"only-button":"","data-testid":G,href:B,preIcon:"add",width:"full-width",baseColor:"accent1",alignContent:"left",children:w})]})]})})},q=R,Q=((0,a.default)(s.MetaDataListItem).withConfig({componentId:"sc-f0cc63c3-0"})(V()),a.default.div.withConfig({componentId:"sc-f0cc63c3-1"})(O(),(0,u.getSpacingVar)("ipt-pageMargin"),u.spacing.m,(0,u.getSpacingVar)("ipt-pageMargin"))),H=(0,a.default)(s.Button).withConfig({componentId:"sc-f0cc63c3-2"})(B(),u.mediaQueries.breakpoints.only.xl,u.mediaQueries.breakpoints.only.l,u.mediaQueries.breakpoints.below.l,u.mediaQueries.breakpoints.only.xs,u.mediaQueries.breakpoints.only.xl,(0,u.getSpacingVar)("ipt-pageMargin"),u.mediaQueries.breakpoints.only.l,u.spacing.m,u.mediaQueries.breakpoints.below.l,u.spacing.s)},91790:function(n,e,t){var i=t(2784),o=t(67734);e.Z=function(){return i.useContext(o.O)}}}]);