"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8564],{32506:function(n,e,t){t.d(e,{o:function(){return p}});var i=t(92228),a=t(52322),r=(t(2784),t(19596)),o=t(45103),l=t(17004),s=t(45632),c=t(31619);function d(){var n=(0,i.Z)(["\n display: block;\n"]);return d=function(){return n},n}function u(){var n=(0,i.Z)(["\n padding-right: 0;\n"]);return u=function(){return n},n}function f(){var n=(0,i.Z)(["\n padding-right: 1rem;\n"]);return f=function(){return n},n}var p=function(n){var e=n.cardTitle,t=n.text,i=n.translatedText,r=n.reactNodeText,d=n.href,u=n.testId,f=n.expandActionLogger,p=n.listContent,h=n.feedbackDataType,y=n.refMarker,b=(0,c.N)({id:"common_ariaLabels_seeMore",defaultMessage:"See more"}),x=function(n,e,t,i){var r=null!==t&&void 0!==t?t:e,o=r?(0,a.jsx)(v,{html:r}):i;return t?(0,a.jsx)(l.T,{translatedText:t,originalText:e,refMarker:n,children:o}):o}(y,t,i,r),w=d?m:g;return(0,a.jsx)(s.b,{dataType:h,children:(0,a.jsx)(w,{topPadding:"none",bottomPadding:"none",borderType:"line",children:(0,a.jsx)(o.MetaDataList,{dividers:"none",children:(0,a.jsx)(o.MetaDataListItem,{labelTitle:e,labelLink:d,labelLinkAriaLabel:b,listContent:p,display:"stacked","data-testid":u,overflowTextProps:{height:"short",bgContext:"listCard",onRemoveOverlay:f,clickAriaLabel:b},children:x})})})})},v=(0,r.default)(o.HTMLContent).withConfig({componentId:"sc-3026fe52-0"})(d());e.Z=p;var m=(0,r.default)(o.ListCard).withConfig({componentId:"sc-3026fe52-1"})(u()),g=(0,r.default)(o.ListCard).withConfig({componentId:"sc-3026fe52-2"})(f())},20378:function(n,e,t){t.d(e,{h:function(){return c}});var i=t(92228),a=t(52322),r=(t(2784),t(19596)),o=t(45103),l=t(91842);function s(){var n=(0,i.Z)(["\n fill: #00caff;\n margin-left: ",";\n font-size: 1.3em;\n vertical-align: text-bottom;\n"]);return s=function(){return n},n}var c=(0,r.default)((function(n){return(0,a.jsx)(o.Icon,{name:"alexa",type:"inline",className:n.className})})).withConfig({componentId:"sc-d022127f-0"})(s(),l.spacing.xxs)},86630:function(n,e,t){t.d(e,{n:function(){return m},s:function(){return g}});var i=t(92228),a=t(52322),r=t(72779),o=t.n(r),l=t(30382),s=t.n(l),c=(t(2784),t(19596)),d=t(45103),u=t(91842),f=t(77699);function p(){var n=(0,i.Z)(["\n fragment NewsItem on NewsEdge {\n node {\n id\n articleTitle {\n plainText\n }\n date\n image {\n caption {\n plainText\n }\n url\n height\n width\n }\n source {\n homepage {\n label\n }\n }\n }\n }\n"]);return p=function(){return n},n}function v(){var n=(0,i.Z)(["\n align-items: flex-start;\n color: inherit;\n display: flex;\n text-decoration-style: none;\n text-decoration: none;\n\n &:hover {\n opacity: 0.8;\n }\n\n .poster {\n flex-shrink: 0;\n }\n\n .content {\n flex-grow: 1;\n padding-left: ",";\n }\n\n .headline {\n -webkit-box-orient: vertical;\n\n ",";\n margin: 0;\n display: -webkit-box;\n -webkit-line-clamp: 4;\n overflow: hidden;\n }\n\n .metadata {\n ",";\n margin-top: ",";\n }\n\n .source {\n margin-left: ",";\n }\n"]);return v=function(){return n},n}var m=function(n){var e=n.headline,t=n.link,i=n.publicationDate,r=n.source,l=n.image,s=n.className,c=(l&&l.caption,(0,f.p)(new Date(i),{day:"numeric",month:"short"})),u=(null===l||void 0===l?void 0:l.maxHeight)&&(null===l||void 0===l?void 0:l.maxHeight)>100||(null===l||void 0===l?void 0:l.maxWidth)&&(null===l||void 0===l?void 0:l.maxWidth)>100?l:void 0,p=o()("news-item",s),v=(0,a.jsxs)(h,{className:p,href:t,"aria-label":e,"data-testid":"news-item",children:[(0,a.jsx)(d.PosterImage,{imageModel:u,size:"s",imageType:"none",className:"poster"}),(0,a.jsxs)("div",{className:"content",children:[(0,a.jsx)("div",{className:"headline",children:e}),(0,a.jsxs)("div",{className:"metadata",children:[(0,a.jsx)("span",{className:"publicationDate",children:c}),(0,a.jsx)("span",{className:"source",children:r})]})]})]});return(0,a.jsx)(d.ShovelerItem,{span:4,children:v})},g=s()(p()),h=c.default.a.withConfig({componentId:"sc-3f27c9be-0"})(v(),u.spacing.m,(0,u.setTypographyType)("body"),(0,u.setTypographyType)("copyright"),u.spacing.xxs,u.spacing.xs)},23652:function(n,e,t){t.d(e,{rC:function(){return c}});var i=t(52322),a=(t(2784),t(45103)),r=t(31619),o=t(16189),l=t(95460),s=t(54364);var c=function(n){var e=n.id,t=n.refTag,c=n.seeMoreLink,d=n.officialSites,u=(0,r.N)({id:"common_details_officialSites",defaultMessage:1===d.externalLinks.length?"Official site":"Official sites"},{siteCount:d.externalLinks.length}),f=(0,r.N)({id:"common_details_officialSites_defaultSiteLabel",defaultMessage:"Official Site"}),p=(0,r.N)({id:"common_ariaLabels_seeMore",defaultMessage:"See more"});if(0===d.externalLinks.length)return null;var v=d.externalLinks.map((function(n){var i=n.region?" (".concat(n.region,")"):"";return{text:n.label&&"".concat(n.label).concat(i)||void 0||f,href:n.url,linkType:"external",onClick:function(i){return function(n,e,t,i){n.preventDefault(),n.stopPropagation(),(0,s.zG)(e).then((function(n){(0,l.c$)(i,n,t),window.open(e,"_blank")})).catch((function(n){(0,o.createLogger)()("openExternalLink").error("failed to resolve domainBasedPageAction",n),window.open(e,"_blank")}))}(i,n.url,e,t)}}}));return(0,i.jsx)(a.MetaDataListItem,{labelTitle:u,listContent:v,labelLink:d.total>2?c:void 0,labelLinkAriaLabel:p,"data-testid":"details-officialsites"})}},79678:function(n,e,t){t.d(e,{VM:function(){return vn}});var i=t(70865),a=t(96670),r=t(92228),o=t(52322),l=(t(2784),t(19596)),s=t(45103),c=t(91842),d=t(1768),u=t(2366),f=t(98621),p=t(73857),v=t(88736),m=t(13813);function g(){var n=(0,r.Z)(["\n margin-right: ",";\n font-size: 0.75rem;\n\n "," {\n font-size: 2rem;\n margin-bottom: ",";\n margin-right: 0;\n }\n"]);return g=function(){return n},n}function h(){var n=(0,r.Z)(["\n ","\n"]);return h=function(){return n},n}function y(){var n=(0,r.Z)(["\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: row;\n\n "," {\n flex-direction: column;\n }\n"]);return y=function(){return n},n}function b(){var n=(0,r.Z)(["\n background: rgba(\n ",",\n calc("," / 2)\n );\n display: flex;\n justify-content: center;\n align-items: center;\n flex-grow: 1;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n max-width: calc(50% - ("," / 2));\n\n "," {\n ","\n border-bottom-left-radius: 0;\n max-width: 100%;\n max-height: calc(50% - ("," / 2));\n\n &&.media-link--rounded {\n border-radius: ",";\n }\n }\n"]);return b=function(){return n},n}var x="hero__video-link",w="hero__photo-link",P=function(n){var e=(0,f.hg)({weblabID:u.lh.IMDB_NEXT_EXPERIMENT_ROUNDED_CORNERS_917766,treatments:{T1:!0}});return(0,o.jsx)(S,{onColor:"onBase",ariaLabel:n.label,href:n.href,"data-testid":n.testId,className:e?"media-link--rounded":"",children:(0,o.jsxs)(k,{children:[(0,o.jsx)(I,{type:"inline",name:n.preIcon}),(0,o.jsx)(C,{children:n.label})]})})},_=function(n){var e=(0,m.y)(),t=e.pageType,i=e.refTagPrefix,a=e.pageConst,r=(0,p.Z)(),l=(0,v.countLimit)(n.totalCount),s="mediaviewer/".concat(n.galleryImageConst);return(0,o.jsx)(P,{preIcon:"collections",label:r.formatMessage({id:"title_main_hero_media_label_imageCount",defaultMessage:"{Count, plural, one {1 Photo} other {{Count} Photos}}"},{Count:l}),href:"/".concat(t,"/").concat(a,"/").concat(s,"?ref_=").concat(i,"_").concat("ov_mi_sm"),testId:w})},T=function(n){var e=(0,m.y)(),t=e.pageType,i=e.refTagPrefix,a=e.pageConst,r=(0,p.Z)(),l=(0,v.countLimit)(n.totalCount);return(0,o.jsx)(P,{preIcon:"video-library",label:r.formatMessage({id:"title_main_hero_media_label_videoCount",defaultMessage:"{Count, plural, one {1 Video} other {{Count} Videos}}"},{Count:l}),href:"/".concat(t,"/").concat(a,"/videogallery?ref_=").concat(i,"_").concat("ov_vi_sm"),testId:x})},I=(0,l.default)(s.Icon).withConfig({componentId:"sc-e27b52c0-0"})(g(),c.spacing.xs,c.mediaQueries.breakpoints.above.l,c.spacing.m),C=l.default.div.withConfig({componentId:"sc-e27b52c0-1"})(h(),(0,c.setTypographyType)("overline")),k=l.default.div.withConfig({componentId:"sc-e27b52c0-2"})(y(),c.mediaQueries.breakpoints.above.l),S=(0,l.default)(s.SecondaryButton).withConfig({componentId:"sc-e27b52c0-3"})(b(),(0,c.getColorVarValue)("ipt-on-baseAlt-accent1-rgb"),(0,c.getColorVarValue)("ipt-baseAlt-hover-opacity"),c.spacing.xxs,c.mediaQueries.breakpoints.above.l,(0,c.setPropertyToShapeVar)("border-top-right-radius","ipt-cornerRadius"),c.spacing.xxs,c.spacing.s);function N(){var n=(0,r.Z)(['\n // Only adds image if we can blur it; added the "or" condition to get support for safari\n @supports (backdrop-filter: blur(50px) saturate(100%)) or\n (-webkit-backdrop-filter: blur(50px) saturate(100%)) {\n background-image: url(\'',"');\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n }\n "]);return N=function(){return n},n}function A(){var n=(0,r.Z)(["\n ","\n position: relative;\n\n ","\n"]);return A=function(){return n},n}function Z(){var n=(0,r.Z)(["\n z-index: 2;\n position: absolute;\n display: block;\n height: 100%;\n width: 100%;\n backdrop-filter: blur(50px) saturate(100%);\n transform: translate3d(0, 0, 0);\n will-change: transform;\n"]);return Z=function(){return n},n}function E(){var n=(0,r.Z)(["\n z-index: 6;\n position: relative;\n // Makes cylindrical blur background\n background: linear-gradient(\n 90deg,\n rgb(","),\n 20%,\n rgba(",", 0.6),\n 80%,\n rgb(",")\n );\n // Blur comes from the bottom, makes sure text at bottom is visible (image won't be present behind the text) by specifying height\n &:before {\n position: absolute;\n pointer-events: none;\n bottom: 0;\n width: 100%;\n height: 100%;\n z-index: -1;\n content: '';\n background: linear-gradient(\n 180deg,\n rgba(",", 0),\n rgb(",")\n );\n "," {\n height: 40%;\n }\n }\n"]);return E=function(){return n},n}function j(){var n=(0,r.Z)(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n ","\n ","\n"]);return j=function(){return n},n}function V(){var n=(0,r.Z)(["\n "," {\n flex-direction: row;\n flex-wrap: wrap;\n align-items: center;\n }\n "]);return V=function(){return n},n}function M(){var n=(0,r.Z)(["\n "," {\n flex-direction: row;\n flex-wrap: wrap;\n }\n "," {\n flex-wrap: nowrap;\n align-items: center;\n }\n "]);return M=function(){return n},n}function L(){var n=(0,r.Z)(["\n "," {\n flex-direction: row;\n align-items: center;\n }\n "]);return L=function(){return n},n}function O(){var n=(0,r.Z)(["\n display: flex;\n flex-direction: column;\n\n ","\n"]);return O=function(){return n},n}function R(){var n=(0,r.Z)(["\n flex-direction: row;\n margin-bottom: ",";\n flex-wrap: wrap;\n\n "," {\n width: 100%;\n }\n "]);return R=function(){return n},n}function D(){var n=(0,r.Z)(["\n align-self: flex-start;\n\n "," {\n width: ",";\n margin-right: ",";\n }\n "," {\n width: ",";\n }\n "]);return D=function(){return n},n}function U(){var n=(0,r.Z)(["\n margin-bottom: ",";\n\n "," {\n margin-bottom: 0;\n margin-right: ",";\n width: calc(60%);\n }\n "]);return U=function(){return n},n}function B(){var n=(0,r.Z)(["\n display: flex;\n position: relative;\n\n "," {\n ","\n ","\n }\n\n ","\n"]);return B=function(){return n},n}function F(){var n=(0,r.Z)(["\n "," {\n align-items: center;\n justify-content: space-between;\n flex-direction: row;\n width: 100%;\n }\n "]);return F=function(){return n},n}function Q(){var n=(0,r.Z)(["\n "," {\n width: calc(\n 100% -\n (\n "," + ("," * 2) +\n ("," * 2)\n )\n );\n margin-left: ",";\n }\n "," {\n width: calc(100% - ",");\n align-items: center;\n justify-content: space-between;\n flex-direction: row;\n }\n "]);return Q=function(){return n},n}function q(){var n=(0,r.Z)(["\n "," {\n width: calc(40%);\n margin-left: ",";\n }\n "]);return q=function(){return n},n}function W(){var n=(0,r.Z)(["\n "," {\n width: calc(\n 66.66% - ("," * 2)\n );\n }\n "]);return W=function(){return n},n}function G(){var n=(0,r.Z)(["\n display: flex;\n flex-direction: column;\n\n ","\n ","\n\n ","\n"]);return G=function(){return n},n}function z(){var n=(0,r.Z)(["\n top: calc(100% + ",");\n\n "," {\n width: calc(27.65% - ("," / 2));\n }\n "," {\n width: calc(22.75% - ("," / 2));\n }\n "]);return z=function(){return n},n}function $(){var n=(0,r.Z)(["\n top: 0;\n\n "," {\n width: 100%;\n }\n "]);return $=function(){return n},n}function H(){var n=(0,r.Z)(["\n display: flex;\n width: ",";\n position: absolute;\n z-index: 3;\n ","\n\n "," {\n left: 0;\n width: ",";\n }\n\n "," {\n position: static;\n }\n\n ","\n"]);return H=function(){return n},n}function Y(){var n=(0,r.Z)(["\n "," {\n margin-left: ",";\n width: calc(72.35% - ("," / 2));\n }\n "," {\n width: calc(60% - ("," / 2));\n margin-right: ",";\n }\n "]);return Y=function(){return n},n}function K(){var n=(0,r.Z)(["\n max-width: 600px;\n "," {\n max-width: none;\n }\n "]);return K=function(){return n},n}function X(){var n=(0,r.Z)(["\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%;\n\n &.slate-wrapper--rounded {\n border-radius: ",";\n overflow: hidden;\n }\n\n ","\n"]);return X=function(){return n},n}function J(){var n=(0,r.Z)(["\n display: flex;\n flex-direction: row;\n width: auto;\n flex-grow: 1;\n justify-content: space-between;\n\n "," {\n flex-direction: column;\n }\n"]);return J=function(){return n},n}function nn(){var n=(0,r.Z)(["\n padding-left: calc("," + ",");\n min-height: calc(\n ("," * ",") + ","\n );\n\n "," {\n padding-left: calc("," + ",");\n min-height: calc(\n ("," * ",") + ","\n );\n }\n\n "," {\n padding-left: 0;\n min-height: 0;\n }\n "]);return nn=function(){return n},n}function en(){var n=(0,r.Z)(["\n "," {\n width: calc(66.66% - ",");\n }\n "," {\n width: calc(66.66% - ",");\n }\n "]);return en=function(){return n},n}function tn(){var n=(0,r.Z)(["\n "," {\n width: calc(\n 61% -\n ("," + ",")\n );\n }\n "," {\n width: calc(\n 63% -\n ("," + ",")\n );\n }\n "]);return tn=function(){return n},n}function an(){var n=(0,r.Z)(["\n ","\n ","\n"]);return an=function(){return n},n}function rn(){var n=(0,r.Z)(["\n "," {\n width: calc(\n 33.33% -\n (\n ("," * 2) +\n ","\n )\n );\n }\n "]);return rn=function(){return n},n}function on(){var n=(0,r.Z)(["\n "," {\n width: calc(\n 39% -\n ("," + ",")\n );\n }\n "," {\n width: calc(\n 37% -\n ("," + ",")\n );\n }\n "]);return on=function(){return n},n}function ln(){var n=(0,r.Z)(["\n ","\n"]);return ln=function(){return n},n}var sn="1.48",cn="95px",dn="120px",un="20vw",fn="175px",pn="SL200_QL1",vn=function(n){var e,t,r=n.actionComponent,l=n.contentComponent,c=n.titleComponent,p=n.subNavComponent,v=n.posterComponent,m=n.slateComponent,g=n.hasPremiumAd,h=n.slateData,y=n.posterData,b=(0,f.hg)({weblabID:u.lh.IMDB_NEXT_EXPERIMENT_ROUNDED_CORNERS_917766,treatments:{T1:!0}}),x=null===h||void 0===h||null===(e=h.imageModel)||void 0===e?void 0:e.url,w=!!m&&!!x&&!g,P=null===y||void 0===y||null===(t=y.imageModel)||void 0===t?void 0:t.url,I=!!v&&!!P,C={hasPoster:I,hasVideo:w},k=void 0;return I?k=(0,d.F2)(P,pn):w&&(k=(0,d.F2)(x,pn)),(0,o.jsx)(s.PageContentContainer,{children:(0,o.jsxs)(mn,{baseColor:"baseAlt",backgroundImage:k,children:[(0,o.jsx)(gn,{}),(0,o.jsxs)(hn,{baseColor:"baseAlt",bottomPadding:n.bottomPadding||"xs",topPadding:"none",children:[p(),(0,o.jsx)(yn,{children:c()}),(0,o.jsxs)(bn,(0,a.Z)((0,i.Z)({},C),{children:[(I||w)&&(0,o.jsxs)(xn,(0,a.Z)((0,i.Z)({},C),{children:[I&&(0,o.jsx)(Pn,(0,a.Z)((0,i.Z)({},C),{children:v()})),w&&(0,o.jsx)(_n,(0,a.Z)((0,i.Z)({},C),{className:b?"slate-wrapper--rounded":"",children:m()})),I&&w&&(0,o.jsxs)(Tn,{children:[(0,o.jsx)(T,(0,i.Z)({},h)),(0,o.jsx)(_,(0,i.Z)({},y))]})]})),(0,o.jsxs)(wn,(0,a.Z)((0,i.Z)({},C),{children:[(0,o.jsx)(In,(0,a.Z)((0,i.Z)({},C),{children:l()})),(0,o.jsx)(Cn,(0,a.Z)((0,i.Z)({},C),{children:r()}))]}))]}))]})]})})},mn=(0,l.default)(s.PageBackground).withConfig({componentId:"sc-92625f35-0"})(A(),(0,c.setPropertyToColorVar)("background","ipt-baseAlt-shade1-bg"),(function(n){return!!n.backgroundImage&&(0,l.css)(N(),n.backgroundImage)})),gn=l.default.div.withConfig({componentId:"sc-92625f35-1"})(Z()),hn=(0,l.default)(s.PageSection).withConfig({componentId:"sc-92625f35-2"})(E(),(0,c.getColorVar)("ipt-baseAlt-shade1-rgb"),(0,c.getColorVar)("ipt-baseAlt-shade1-rgb"),(0,c.getColorVar)("ipt-baseAlt-shade1-rgb"),(0,c.getColorVar)("ipt-baseAlt-shade1-rgb"),(0,c.getColorVar)("ipt-baseAlt-shade1-rgb"),c.mediaQueries.breakpoints.above.l),yn=l.default.div.withConfig({componentId:"sc-92625f35-3"})(j(),(0,c.setPropertyToSpacingVar)("padding-left","ipt-pageMargin"),(0,c.setPropertyToSpacingVar)("padding-right","ipt-pageMargin")),bn=l.default.div.withConfig({componentId:"sc-92625f35-4"})(O(),(function(n){var e=n.hasVideo,t=n.hasPoster;return e&&t?(0,l.css)(V(),c.mediaQueries.breakpoints.above.l):t?(0,l.css)(M(),c.mediaQueries.breakpoints.above.m,c.mediaQueries.breakpoints.above.l):e?(0,l.css)(L(),c.mediaQueries.breakpoints.above.l):void 0})),xn=l.default.div.withConfig({componentId:"sc-92625f35-5"})(B(),c.mediaQueries.breakpoints.above.s,(0,c.setPropertyToSpacingVar)("margin-left","ipt-pageMargin"),(0,c.setPropertyToSpacingVar)("margin-right","ipt-pageMargin"),(function(n){var e=n.hasVideo,t=n.hasPoster;return e&&t?(0,l.css)(R(),c.spacing.s,c.mediaQueries.breakpoints.above.l):t?(0,l.css)(D(),c.mediaQueries.breakpoints.above.m,un,c.spacing.xs,c.mediaQueries.breakpoints.above.l,fn):e?(0,l.css)(U(),c.spacing.s,c.mediaQueries.breakpoints.above.l,c.spacing.xs):void 0})),wn=l.default.div.withConfig({componentId:"sc-92625f35-6"})(G(),(0,c.setPropertyToSpacingVar)("margin-right","ipt-pageMargin"),(0,c.setPropertyToSpacingVar)("margin-left","ipt-pageMargin"),(function(n){var e=n.hasVideo,t=n.hasPoster;return e&&t?(0,l.css)(F(),c.mediaQueries.breakpoints.above.l):t?(0,l.css)(Q(),c.mediaQueries.breakpoints.above.m,un,c.spacing.xs,(0,c.getSpacingVar)("ipt-pageMargin"),c.spacing.xs,c.mediaQueries.breakpoints.above.l,fn):e?(0,l.css)(q(),c.mediaQueries.breakpoints.above.l,c.spacing.xs):(0,l.css)(W(),c.mediaQueries.breakpoints.above.l,(0,c.getSpacingVar)("ipt-pageMargin"))})),Pn=l.default.div.withConfig({componentId:"sc-92625f35-7"})(H(),cn,(0,c.setPropertyToSpacingVar)("left","ipt-pageMargin"),c.mediaQueries.breakpoints.above.s,dn,c.mediaQueries.breakpoints.above.m,(function(n){var e=n.hasVideo,t=n.hasPoster;return e&&t?(0,l.css)(z(),c.spacing.s,c.mediaQueries.breakpoints.above.m,c.spacing.xxs,c.mediaQueries.breakpoints.above.l,c.spacing.xxs):(0,l.css)($(),c.mediaQueries.breakpoints.above.m)})),_n=l.default.div.withConfig({componentId:"sc-92625f35-8"})(X(),c.spacing.s,(function(n){var e=n.hasVideo,t=n.hasPoster;return e&&t?(0,l.css)(Y(),c.mediaQueries.breakpoints.above.m,c.spacing.xxs,c.spacing.xxs,c.mediaQueries.breakpoints.above.l,c.spacing.xxs,c.spacing.xxs):(0,l.css)(K(),c.mediaQueries.breakpoints.above.l)})),Tn=l.default.div.withConfig({componentId:"sc-92625f35-9"})(J(),c.mediaQueries.breakpoints.above.l),In=l.default.div.withConfig({componentId:"sc-92625f35-10"})(an(),(function(n){if(n.hasPoster)return(0,l.css)(nn(),cn,c.spacing.m,cn,sn,c.spacing.xs,c.mediaQueries.breakpoints.above.s,dn,c.spacing.m,dn,sn,c.spacing.xs,c.mediaQueries.breakpoints.above.m)}),(function(n){var e=n.hasVideo,t=n.hasPoster;return t&&e?(0,l.css)(en(),c.mediaQueries.breakpoints.above.l,c.spacing.xxs,c.mediaQueries.breakpoints.above.l,c.spacing.xs):t?(0,l.css)(tn(),c.mediaQueries.breakpoints.above.l,(0,c.getSpacingVar)("ipt-pageMargin"),c.spacing.xs,c.mediaQueries.breakpoints.above.xl,(0,c.getSpacingVar)("ipt-pageMargin"),c.spacing.xs):void 0})),Cn=l.default.div.withConfig({componentId:"sc-92625f35-11"})(ln(),(function(n){var e=n.hasVideo,t=n.hasPoster;return e&&t?(0,l.css)(rn(),c.mediaQueries.breakpoints.above.l,(0,c.getSpacingVar)("ipt-pageMargin"),c.spacing.xxs):t?(0,l.css)(on(),c.mediaQueries.breakpoints.above.l,(0,c.getSpacingVar)("ipt-pageMargin"),c.spacing.xs,c.mediaQueries.breakpoints.above.xl,(0,c.getSpacingVar)("ipt-pageMargin"),c.spacing.xs):void 0}))},79250:function(n,e,t){t.d(e,{aK:function(){return b},mr:function(){return r},go:function(){return g},MQ:function(){return y},_2:function(){return v}});var i=t(52322),a=(t(2784),t(45103)),r=function(n){var e=n.primaryText,t=n.primaryTextSuffix,r=n.secondaryText,o=n.metadata;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(g,{text:e,suffix:t}),r&&(0,i.jsx)(y,{children:r}),o&&o.length>0&&(0,i.jsx)(b,{showDividers:!0,children:o.map((function(n,e){return(0,i.jsxs)(a.InlineListItem,{children:[!!n.link&&(0,i.jsx)(a.TextLink,{href:n.link,inheritColor:!0,text:n.text}),!n.link&&(0,i.jsx)(i.Fragment,{children:n.text})]},"".concat(n,"-").concat(e))}))})]})},o=t(92228),l=t(19596),s=t(91842);function c(){var n=(0,o.Z)(["\n margin-bottom: 0;\n word-break: break-word;\n ","\n ","\n\n "," {\n ","\n }\n\n "," {\n ","\n font-weight: 400;\n line-height: 2rem;\n }\n\n ."," {\n margin-right: ",";\n }\n\n ."," {\n ","\n display: inline-block;\n font-size: 0.5em;\n vertical-align: middle;\n }\n"]);return c=function(){return n},n}function d(){var n=(0,o.Z)(["\n ","\n ","\n margin-top: ",";\n"]);return d=function(){return n},n}function u(){var n=(0,o.Z)(["\n ","\n ","\n margin-bottom: ",";\n"]);return u=function(){return n},n}var f="hero__primary-text",p="hero__primary-text-suffix",v=function(n,e){var t=3;return n>=e&&(t=2),{fontSize:"".concat(t,"rem"),lineHeight:"".concat(t+.125,"rem")}},m=function(n,e){var t=v(n,e),i=t.fontSize,a=t.lineHeight;return"\n font-size: ".concat(i,";\n line-height: ").concat(a,";\n ")},g=function(n){var e=n.text,t=n.suffix,a=n.className;return(0,i.jsxs)(h,{textLength:e.length,"data-testid":"hero__pageTitle",className:a,children:[(0,i.jsx)("span",{className:f,"data-testid":f,children:e}),t&&(0,i.jsx)("span",{className:p,"data-testid":p,children:t})]})},h=l.default.h1.withConfig({componentId:"sc-d8941411-0"})(c(),(0,s.setTypographyType)("headline3"),(function(n){return m(n.textLength,34)}),s.mediaQueries.breakpoints.below.xl,(function(n){return m(n.textLength,23)}),s.mediaQueries.breakpoints.below.m,(0,s.setTypographyType)("headline4"),f,s.spacing.xs,p,(0,s.setPropertyToColorVar)("color","ipt-on-baseAlt-textSecondary-color")),y=l.default.div.withConfig({componentId:"sc-d8941411-1"})(d(),(0,s.setPropertyToColorVar)("color","ipt-on-baseAlt-textSecondary-color"),(0,s.setTypographyType)("bodySmall"),s.spacing.xxs),b=(0,l.default)(a.InlineList).withConfig({componentId:"sc-d8941411-2"})(u(),(0,s.setPropertyToColorVar)("color","ipt-on-baseAlt-textSecondary-color"),(0,s.setTypographyType)("bodySmall"),s.spacing.xs)},84402:function(n,e,t){t.d(e,{J:function(){return j}});var i=t(70865),a=t(96670),r=t(52322),o=t(5632),l=t(2784),s=t(22414),c=t(37184),d=t(95460),u=t(11992),f=t(66383),p=t(14865),v=t(16189),m=["INTERNAL_SERVER_ERROR","SERVICE_UNAVAILABLE_ERROR"],g=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return n.every((function(n){var e;return m.includes(null===(e=n.extensions)||void 0===e?void 0:e.code)}))},h=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return n.every((function(n){var e;return null===(e=n.extensions)||void 0===e?void 0:e.isRetryable}))},y=t(30898),b=t.n(y),x=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;return n.some((function(n){return n.path&&!!b()(e,n.path).length}))};var w=function(n){var e=n.data,t=n.graphQLErrors,i=n.requiredFields,a=n.pause,r=!e&&!a,o=!!t&&!!i&&x(t,i),l=!r&&!!t&&g(t);return{allErrorsRecoverable:l,allErrorsRetryable:!!t&&(h(t)||o),shouldRenderError:!!t&&!l&&o||r,anyRequiredFieldErrors:o}},P=t(25140),_=t(64023),T=t(47842),I=t(92228),C=t(30382),k=t.n(C),S=t(45455),N=t.n(S);function A(){var n=(0,I.Z)(["\n ","\n "]);return A=function(){return n},n}function Z(n){var e,t=n.config.entityGroups;if(!n.config.operationName&&n.queryVariables)throw new Error("buildPageQuery failed. Cannot define query arguments when operationName undefined.");var a,r=[],o=[],l=Object.entries(t).reduce((function(n,e){return(0,i.Z)({},n,e[1])}),{});Object.values(l).map((function(n){return n.fragment})).concat(n.config.otherFragments||[]).forEach((function(e){var t,l,s=e&&"function"===typeof e?e({requestContext:n.varOptions.requestContext}):e;s&&(r.push("...".concat(s.name)),s.variables&&(a=(0,i.Z)({},a,s.variables(n.varOptions))),(null===(t=s.gql.loc)||void 0===t?void 0:t.source.body)&&o.push((null===(l=s.gql.loc)||void 0===l?void 0:l.source.body).trim().replace(/#.+$/gm,"").replace(/\n/g,"").replace(/\s\s+/g," ")))}));var s="",c={};if(a||n.queryVariables){var d=(0,i.Z)({},a,n.queryVariables),u=Object.entries(d).map((function(n){return"$".concat(n[0],": ").concat(n[1].type)})).join(", ");s="(".concat(u,")"),c=Object.entries(d).reduce((function(n,e){return(0,i.Z)({},n,(0,T.Z)({},e[0],e[1].value))}),{})}var p,v=n.config.operationName?"".concat(n.config.operationName).concat(!(p=(null===(e=n.queryVariables)||void 0===e?void 0:e.id)?{id:n.queryVariables.id}:{})||N()(p)?"":"("+Object.entries(p).map((function(n){var e=(0,f.Z)(n,2),t=e[0];return e[1],"".concat(t,":$").concat(t)})).join(",")+")"," {"):"",m=n.config.operationName?"}":"",g="query ".concat(n.queryName).concat(s,"{\n ").concat(v," ").concat(r.join(",")," ").concat(m,"\n}\n").concat(o.join("\n"),"\n");return{query:k()(A(),g),variables:c}}var E=function(n){return n?n.graphQLErrors:void 0};var j=function(n){var e=n.trContext,t=n.pageQueryOptions,m=n.Component,g=(0,o.useRouter)(),h=((null===g||void 0===g?void 0:g.asPath.toLowerCase().split("?")[1])||"").indexOf("lazybtf=1")>-1,y=function(n){var e,t=n.config,r=n.context,o=n.queryVariables,s=n.clientSideOnly,c=n.requiredFields,d=(0,P.B)().context,u=(0,v.createLogger)(d)("usePageQuery:".concat(t.queryName)),m=(0,l.useMemo)((function(){return Z({config:t,queryName:t.queryName,queryVariables:o,varOptions:{requestContext:d}})}),[t,o]),g=!!s&&p.isNode,h=(0,f.Z)((0,_.E)({query:m.query,variables:m.variables,context:r,pause:g}),2),y=h[0],b=h[1];y.error&&u.error(y.error);var x,T=t.operationName?null===y||void 0===y||null===(e=y.data)||void 0===e?void 0:e[t.operationName]:y.data,I=(null!==(x=t.filterErrors)&&void 0!==x?x:E)(y.error),C=w({data:T,graphQLErrors:I,requiredFields:c,pause:g}),k=C.allErrorsRecoverable,S=C.allErrorsRetryable,N=C.shouldRenderError,A=C.anyRequiredFieldErrors;return{config:t,data:T,fetching:y.fetching||g,error:y.error,retry:function(n){b((0,a.Z)((0,i.Z)({},n),{requestPolicy:"network-only"}))},allErrorsRecoverable:k,allErrorsRetryable:S,shouldRenderError:N,anyRequiredFieldErrors:A}}((0,a.Z)((0,i.Z)({},t),{clientSideOnly:h})),b=y.fetching,x=!!y.error&&y.anyRequiredFieldErrors;return(0,l.useEffect)((function(){var n;!b&&x&&(n=e,(0,d.ar)(n,V,u.qB.ACTION_ONLY))}),[e,b,x]),b?(0,r.jsx)(s.ZP,{height:"feature"}):x?(0,r.jsx)(c.ZP,{name:"".concat(L(e)," - MainColumn"),error:y.error,onClickRetry:function(){var n,t;null===(n=y.retry)||void 0===n||n.call(y),t=e,(0,d.ar)(t,M,u.qB.ACTION_ONLY)},canRetry:y.allErrorsRetryable}):(0,r.jsx)(m,{queryData:y})},V="main-refresh-button-show",M="main-refresh-button-click";function L(n){return"".concat(O(n.type)).concat(O(n.subType))}function O(n){return n.charAt(0).toUpperCase()+n.slice(1)}},82821:function(n,e,t){t.d(e,{Z:function(){return o}});var i=t(70865),a=t(52322),r=(t(2784),t(15387));function o(n){return(0,a.jsx)(r.Z,(0,i.Z)({},n))}},81391:function(n,e,t){var i=t(70865),a=t(92228),r=t(52322),o=(t(2784),t(19596)),l=t(31632),s=t(15387);function c(){var n=(0,a.Z)(["\n background: var(--ipt-base-bg);\n"]);return c=function(){return n},n}e.Z=(0,o.default)((function(n){return(0,r.jsx)(s.Z,(0,i.Z)({displayType:l.FO.MAIN},n))})).withConfig({componentId:"sc-a2dd587f-0"})(c())},65833:function(n,e,t){t.d(e,{t:function(){return m}});var i=t(70865),a=t(96670),r=t(52322),o=t(45455),l=t.n(o),s=t(2784),c=t(45103),d=t(13813),u=t(22179),f=t(33360),p=t(2220),v=t(18136),m=function(n){var e=n.titles,t=n.refTagPrefix,o=n.cardOverride,m=n.promptOverride,g=n.shovelerClassName,h=(0,d.y)(),y=h.pageType,b=h.subPageType,x=h.pageConst,w=(0,f.V1)({type:y,subType:b,id:x},t),P=w.createButton,_=w.createPrompt,T=(0,s.useState)(e),I=T[0],C=T[1],k=e.map((function(n){return n.id})),S=(0,u.m)(k);(0,s.useEffect)((function(){var n;if(null===S||void 0===S||null===(n=S.data)||void 0===n?void 0:n.titles){var e={};S.data.titles.forEach((function(n){(null===n||void 0===n?void 0:n.id)&&(e[null===n||void 0===n?void 0:n.id]=n)}));var t=I.map((function(n){var t,r;return(0,a.Z)((0,i.Z)({},n),{primaryWatchOption:null===(t=e[n.id])||void 0===t?void 0:t.primaryWatchOption,userRating:null===(r=e[n.id])||void 0===r?void 0:r.userRating})}));C(t)}}),[null===S||void 0===S?void 0:S.data]);var N=I.map((function(n,e){var r=P(n,e,S.fetching),o=r?(0,a.Z)((0,i.Z)({},r),{fetching:S.fetching}):void 0;return{data:n,refMarker:{prefix:t,suffix:"".concat(e+1)},alternateButton:o}})),A=o?o(N):N.map((function(n){return(0,r.jsx)(v.c,(0,i.Z)({},n),"".concat("title-card-shoveler-item","-").concat(t,"-").concat(n.data.id))}));if(l()(A))return null;var Z=_(t);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.Shoveler,{className:g,onPageChange:function(n){(0,p.B)(n,t,y,b,x)},children:A}),m&&m(Z)||Z]})}},45632:function(n,e,t){t.d(e,{b:function(){return Cn}});var i,a=t(52322),r=t(2784),o=t(46418),l=t(25140),s=t(47842),c=t(70865),d=t(92228),u=t(89644),f=t.n(u),p=t(81611),v=t(19596),m=t(45103),g=t(91842),h=t(31619),y=t(81303),b=function(n){var e=n.id,t=n.checked,i=n.onChange,r=n.choice,o=(0,h.N)(r);return(0,a.jsx)(m.CheckBox,{checked:t,ariaLabel:o,id:e,label:o,name:o,onChange:i},e)};function x(){var n=(0,d.Z)(["\n padding-left: 0;\n font-size: 1rem;\n"]);return x=function(){return n},n}var w,P,_=function(n){var e=n.question,t=n.choices,o=n.checkedChoices,l=n.onChoiceToggle;return(0,a.jsxs)(r.Fragment,{children:[(0,a.jsx)(T,{children:(0,a.jsx)(y.q,(0,c.Z)({},e.text))}),t.map((function(n){var e=n.id,t=n.text;return(0,a.jsx)(b,{checked:null!==(i=o[e])&&void 0!==i&&i,id:e,choice:t,onChange:function(n){l(e,n)}},e)}))]})},T=(0,v.default)(m.Title).withConfig({componentId:"sc-49bf6f0b-0"})(x()),I=t(76510);function C(){var n=(0,d.Z)(["\n padding: ",";\n &.happy {\n ",";\n }\n\n &.neutral {\n ",";\n }\n\n &.unhappy {\n ","\n }\n\n &:hover {\n transform: scale(1.2);\n }\n\n svg {\n height: 2rem;\n width: 2rem;\n }\n"]);return C=function(){return n},n}!function(n){n.Happy="happy",n.Neutral="neutral",n.Unhappy="unhappy"}(w||(w={}));var k,S=(P={},(0,s.Z)(P,w.Happy,"sentiment-very-satisfied"),(0,s.Z)(P,w.Neutral,"sentiment-neutral"),(0,s.Z)(P,w.Unhappy,"sentiment-dissatisfied"),P),N=(0,I.vU)({happy:{id:"feedback_translation_happy",defaultMessage:"Yes!"},neutral:{id:"feedback_translation_neutral",defaultMessage:"Somewhat"},unhappy:{id:"feedback_translation_unhappy",defaultMessage:"No"}}),A=function(n){var e=n.value,t=n.onSelect,i=n.selected,r=n.disabled,o=(0,h.N)(N[e]);return(0,a.jsx)(Z,{className:e,name:"".concat(S[e]).concat(i?"-filled":""),label:o,onClick:function(){return t(e)},disabled:r})},Z=(0,v.default)(m.IconButton).withConfig({componentId:"sc-457b9f9a-0"})(C(),g.spacing.xs,(0,g.setPropertyToColorVar)("color","ipt-on-baseAlt-accent4-color"),(0,g.setPropertyToColorVar)("color","ipt-on-baseAlt-accent1-color"),(0,g.setPropertyToColorVar)("color","ipt-on-baseAlt-accent3-color")),E=function(n){var e=n.onSelect,t=n.currentValue,i=n.isFeedbackSubmitted;return(0,a.jsx)(m.InlineList,{children:Object.keys(w).map((function(n){return(0,a.jsx)(m.InlineListItem,{children:(0,a.jsx)(A,{value:w[n],onSelect:e,selected:w[n]===t,disabled:i&&w[n]!==t})},n)}))})},j=t(38003);function V(){var n=(0,d.Z)(["\n margin-top: ",";\n"]);return V=function(){return n},n}function M(){var n=(0,d.Z)(["\n max-height: 1.875rem;\n max-width: 1.875rem;\n"]);return M=function(){return n},n}function L(){var n=(0,d.Z)(["\n transition: all ","ms ease-out;\n &.feedback-form-enter {\n transform: translateY(105%);\n max-height: 0px;\n }\n &.feedback-form-enter-active {\n transform: translateY(0%);\n max-height: 25rem;\n }\n &.feedback-form-exit {\n transform: translateY(0%);\n max-height: 25rem;\n }\n &.feedback-form-exit-active {\n transform: translateY(105%);\n max-height: 0px;\n }\n"]);return L=function(){return n},n}function O(){var n=(0,d.Z)(["\n overflow: hidden;\n"]);return O=function(){return n},n}function R(){var n=(0,d.Z)(["\n margin-bottom: ",";\n padding-left: 0;\n font-size: 1rem;\n\n &.submission-message {\n span {\n ",";\n }\n }\n"]);return R=function(){return n},n}var D=(k={},(0,s.Z)(k,w.Happy,1),(0,s.Z)(k,w.Neutral,2),(0,s.Z)(k,w.Unhappy,3),k),U=function(n){var e=n.dataType,t=function(){var n=(0,l.B)().context,e=n.pageConst,t=n.sidecar;return{ConstId:e,TranslationLanguage:null===t||void 0===t?void 0:t.localizationResponse.userLanguage,NextSessionId:null===t||void 0===t?void 0:t.sessionId}}(),i=(0,r.useState)({}),o=i[0],d=i[1],u=(0,r.useState)(),v=u[0],g=u[1],y=(0,r.useState)(),b=y[0],x=y[1],P=(0,r.useState)(!1),T=P[0],I=P[1],C=(0,r.useRef)(null),k=v&&v!==w.Happy,S=(0,h.N)(j.KL.submit),N=(0,h.N)(j.KL.feedbackHelpful),A=(0,h.N)(j.KL.feedbackSuccess),Z=(0,r.useCallback)((function(){var n;x(!0);var i=(0,c.Z)((n={},(0,s.Z)(n,j.AI,D[v]),(0,s.Z)(n,j.G7.question.id,Object.keys(o)),(0,s.Z)(n,"DataType",e),n),t);f().post("/api/_ajax/feedback/qualtrics",{values:i}).then((function(){x(!1),I(!0)})).catch((function(){x(!1)}))}),[o,v]),V=(0,r.useCallback)((function(n,e){var t=(0,c.Z)({},o);e?t[n]=e:delete t[n],d(t)}),[o,d]),M=(0,r.useCallback)((function(n){g(n),n===w.Happy&&d({})}),[g,d]);return(0,a.jsxs)("div",{ref:C,children:[(0,a.jsx)(W,{tag:"span",children:N}),(0,a.jsx)(E,{onSelect:M,currentValue:v,isFeedbackSubmitted:T}),(T||k)&&(0,a.jsx)(m.PageSectionDivider,{}),T&&(0,a.jsx)(W,{tag:"span",className:"submission-message",children:A}),(0,a.jsx)(q,{children:(0,a.jsx)(p.Z,{in:k&&!T,timeout:300,classNames:"feedback-form",unmountOnExit:!0,onEntered:function(){var n;return null===(n=C.current)||void 0===n?void 0:n.scrollIntoView({behavior:"smooth"})},children:(0,a.jsx)(Q,{children:(0,a.jsx)(_,{onChoiceToggle:V,checkedChoices:o,question:j.G7.question,choices:j.G7.choices})})})}),!T&&(0,a.jsx)(B,{ariaLabel:S,width:"full-width",baseColor:"accent2",onClick:Z,disabled:b||!v||v!==w.Happy&&!Object.keys(o).length,children:b?(0,a.jsx)(F,{type:"circle"}):S})]})},B=(0,v.default)(m.Button).withConfig({componentId:"sc-eebc31fd-0"})(V(),g.spacing.m),F=(0,v.default)(m.Loader).withConfig({componentId:"sc-eebc31fd-1"})(M()),Q=v.default.div.withConfig({componentId:"sc-eebc31fd-2"})(L(),300),q=v.default.div.withConfig({componentId:"sc-eebc31fd-3"})(O()),W=(0,v.default)(m.Title).withConfig({componentId:"sc-eebc31fd-4"})(R(),g.spacing.xxs,(0,g.setPropertyToColorVar)("color","ipt-on-baseAlt-accent4-color")),G=t(73857),z=t(3358);function $(){var n=(0,d.Z)(["\n padding: 0 ",";\n\n "," {\n padding: ",";\n }\n\n &."," {\n max-height: 0;\n overflow: hidden;\n }\n\n &.",", &."," {\n max-height: 10rem;\n overflow: hidden;\n }\n\n &."," {\n max-height: 0;\n overflow: hidden;\n }\n\n &.",",\n &."," {\n transition: all ","ms ease-out;\n }\n"]);return $=function(){return n},n}function H(){var n=(0,d.Z)(["\n padding-left: 0;\n margin-bottom: ",";\n margin-top: ",";\n"]);return H=function(){return n},n}function Y(){var n=(0,d.Z)(["\n ","\n margin: 0;\n\n &.info {\n font-size: 0.875rem;\n }\n"]);return Y=function(){return n},n}var K;!function(n){n.Enter="toggle-translation-enter",n.EnterActive="toggle-translation-enter-active",n.Exit="toggle-translation-exit",n.ExitActive="toggle-translation-exit-active"}(K||(K={}));var X=function(n){var e=n.onTranslationToggle,t=n.isAutoTranslationEnabled,i=(0,r.useRef)(null),o=(0,G.Z)(),l=o.formatMessage({id:"translations_toggle_off",defaultMessage:"Switch off all automatic translations"}),s=o.formatMessage({id:"translations_turned_off",defaultMessage:"Automatic translations are now deactivated."}),c=o.formatMessage({id:"translations_toggle_on",defaultMessage:"Switch back on"}),d=o.formatMessage({id:"translations_turnon_info",defaultMessage:"You can control this feature under the language selector in the top right corner."});return(0,a.jsx)(z.Z,{children:(0,a.jsx)(p.Z,{in:t,timeout:150,classNames:"toggle-translation",nodeRef:i,onEntered:function(){var n;return null===(n=i.current)||void 0===n?void 0:n.scrollIntoView({behavior:"smooth"})},children:(0,a.jsx)(J,{ref:i,children:t?(0,a.jsx)(nn,{onColor:"textPrimary",onClick:e,children:l}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(en,{children:s}),(0,a.jsx)(nn,{onColor:"accent2",onClick:e,children:c}),(0,a.jsx)(en,{className:"info",children:d})]})})},"".concat(t))})},J=v.default.div.withConfig({componentId:"sc-bde9389b-0"})($(),g.spacing.m,g.mediaQueries.breakpoints.below.m,g.spacing.xs,K.Enter,K.EnterActive,K.Exit,K.ExitActive,K.EnterActive,K.ExitActive,150),nn=(0,v.default)(m.TextButton).withConfig({componentId:"sc-bde9389b-1"})(H(),g.spacing.xs,g.spacing.xs),en=v.default.p.withConfig({componentId:"sc-bde9389b-2"})(Y(),(0,g.setPropertyToColorVar)("color","ipt-on-baseAlt-textPrimary-color")),tn=t(72779),an=t.n(tn);function rn(){var n=(0,d.Z)(["\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n transition: all ","ms ease-out;\n scrollbar-gutter: stable;\n\n &.showMore {\n max-height: 9.375rem;\n white-space: normal;\n overflow-y: auto;\n }\n\n &."," {\n max-height: 1.875rem;\n white-space: normal;\n }\n &."," {\n max-height: 9.375rem;\n white-space: normal;\n overflow: hidden;\n }\n &."," {\n max-height: 9.375rem;\n white-space: nowrap;\n overflow: hidden;\n }\n &."," {\n max-height: 1.875rem;\n white-space: normal;\n }\n"]);return rn=function(){return n},n}function on(){var n=(0,d.Z)(["\n padding-left: 0;\n margin-bottom: ",";\n"]);return on=function(){return n},n}function ln(){var n=(0,d.Z)(["\n border-left: 3px solid rgba(",", 0.22);\n padding: "," 0 "," ",";\n margin: ",";\n margin-right: 0;\n\n ","\n"]);return ln=function(){return n},n}function sn(){var n=(0,d.Z)(["\n ","\n"]);return sn=function(){return n},n}function cn(){var n=(0,d.Z)(["\n line-height: 1.25;\n ","\n"]);return cn=function(){return n},n}function dn(){var n=(0,d.Z)(["\n margin-bottom: ",";\n padding-left: 0;\n font-size: 1rem;\n ","\n"]);return dn=function(){return n},n}var un;!function(n){n.Enter="translation-preview-enter",n.EnterActive="translation-preview-enter-active",n.Exit="translation-preview-exit",n.ExitActive="translation-preview-exit-active"}(un||(un={}));var fn=function(n){var e=n.originalText,t=n.translatedText,i=(0,r.useState)(!1),o=i[0],l=i[1],s=(0,r.useState)("inline"),c=s[0],d=s[1],u=(0,h.N)(j.KL.translationPreview),f=(0,h.N)(j.KL.showLess),v=(0,h.N)(j.KL.showMore),m=o?f:v;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(yn,{tag:"span",children:u}),(0,a.jsx)(p.Z,{in:o,timeout:300,classNames:"translation-preview",children:(0,a.jsx)(hn,{"aria-label":e,className:an()({showMore:o}),children:(0,a.jsx)(gn,{display:c,html:e})})}),(0,a.jsx)(p.Z,{in:o,timeout:300,classNames:"translation-preview",onExited:function(){return d("inline")},onEnter:function(){return d(void 0)},children:(0,a.jsx)(mn,{"aria-label":t,className:an()({showMore:o}),children:(0,a.jsx)(gn,{display:c,html:t})})}),(0,a.jsx)(vn,{onColor:"accent2",onClick:function(){return l((function(n){return!n}))},ariaLabel:m,children:m})]})},pn=(0,v.css)(rn(),300,un.Enter,un.EnterActive,un.Exit,un.ExitActive),vn=(0,v.default)(m.TextButton).withConfig({componentId:"sc-8e746d3-0"})(on(),g.spacing.xs),mn=v.default.div.withConfig({componentId:"sc-8e746d3-1"})(ln(),(0,g.getColorVarValue)("ipt-base-rgb"),g.spacing.s,g.spacing.s,g.spacing.xs,g.spacing.xxs,pn),gn=(0,v.default)(m.HTMLContent).withConfig({componentId:"sc-8e746d3-2"})(sn(),(0,g.setPropertyToColorVar)("color","ipt-on-baseAlt-textSecondary-color")),hn=v.default.p.withConfig({componentId:"sc-8e746d3-3"})(cn(),pn),yn=(0,v.default)(m.Title).withConfig({componentId:"sc-8e746d3-4"})(dn(),g.spacing.s,(0,g.setPropertyToColorVar)("color","ipt-on-baseAlt-textSecondary-color"));function bn(){var n=(0,d.Z)(["\n scrollbar-gutter: stable;\n "," {\n .prompt-panel {\n padding: "," 0;\n }\n }\n"]);return bn=function(){return n},n}function xn(){var n=(0,d.Z)(["\n padding: ",";\n padding-bottom: 0;\n\n "," {\n padding: ",";\n }\n"]);return xn=function(){return n},n}var wn=function(n){var e=n.isOpen,t=n.onClose,i=n.body,r=n.footer,o=(0,h.N)({id:"common_ariaLabel_closePrompt",defaultMessage:"Close Prompt"});return(0,a.jsxs)(Pn,{panelClassName:"prompt-panel",isOpen:e,onCloseClicked:t,closePromptLabel:o,children:[(0,a.jsx)(_n,{children:i}),r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.PageSectionDivider,{}),r]})]})},Pn=(0,v.default)(m.Prompt).withConfig({componentId:"sc-2b0bc668-0"})(bn(),g.mediaQueries.breakpoints.above.m,g.spacing.m),_n=v.default.div.withConfig({componentId:"sc-2b0bc668-1"})(xn(),g.spacing.m,g.mediaQueries.breakpoints.below.m,g.spacing.xs),Tn=t(35146),In=function(n){var e,t=n.dataType,i=(0,Tn.w)(),s=i.promptData,c=s.isPromptOpened,d=s.originalText,u=s.translatedText,f=s.refMarker,p=i.setPromptData,v=(0,l.B)().context,m=null===(e=v.sidecar)||void 0===e?void 0:e.localizationResponse.isAutoTranslationEnabled,g=(0,r.useState)(m),h=g[0],y=g[1],b=(0,r.useCallback)((function(){var n=!h;y(n),(0,o.b8)(n,{type:v.pageType,subType:v.subPageType},t,"".concat(f,"_atfp"))}),[f,h]),x=(0,r.useCallback)((function(){h!==m&&window.location.reload()}),[m,h]);return!!d&&!!u&&!!t?(0,a.jsx)(wn,{isOpen:c,onClose:function(){null===p||void 0===p||p({isPromptOpened:!1}),x()},body:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(fn,{originalText:d,translatedText:u}),(0,a.jsx)(U,{dataType:t})]}),footer:(0,a.jsx)(X,{isAutoTranslationEnabled:h,onTranslationToggle:b})}):null},Cn=function(n){var e=n.dataType,t=n.children;return(0,a.jsxs)(Tn.T,{children:[t,(0,a.jsx)(In,{dataType:e})]})}},25961:function(n,e,t){t.d(e,{W:function(){return M}});var i=t(92228),a=t(52322),r=t(2784),o=t(19596),l=t(45103),s=t(46315),c=t(91842),d=t(31619),u=t(25140),f=t(87206),p=t(50911),v="awards",m="award_information",g="award_top-rated",h="Top Rated TV",y=function(n){return{MOVIE:"/chart/top?ref_=".concat(n,"_awd"),TV:"/chart/toptv?ref_=".concat(n,"_awd")}},b={ev0000003:"OSCARS",ev0000292:"GOLDEN_GLOBES",ev0000223:"EMMYS",ev0000123:"BAFTAS"},x={OSCARS:{WON:{id:"feature_awards_oscars_won",defaultMessage:"Won {count, plural, one {{count} Oscar} other {{count} Oscars}}"},NOMINATED:{id:"feature_awards_oscars_nominated",defaultMessage:"Nominated for {count, plural, one {{count} Oscar} other {{count} Oscars}}"}},EMMYS:{WON:{id:"feature_awards_emmys_won",defaultMessage:"Won {count, plural, one {{count} Primetime Emmy} other {{count} Primetime Emmys}}"},NOMINATED:{id:"feature_awards_emmys_nominated",defaultMessage:"Nominated for {count, plural, one {{count} Primetime Emmy} other {{count} Primetime Emmys}}"}},GOLDEN_GLOBES:{WON:{id:"feature_awards_globes_won",defaultMessage:"Won {count, plural, one {{count} Golden Globe} other {{count} Golden Globes}}"},NOMINATED:{id:"feature_awards_globes_nominated",defaultMessage:"Nominated for {count, plural, one {{count} Golden Globe} other {{count} Golden Globes}}"}},BAFTAS:{WON:{id:"feature_awards_baftas_won",defaultMessage:"Won {count, plural, one {{count} BAFTA Film Award} other {{count} BAFTA Film Awards}}"},NOMINATED:{id:"feature_awards_baftas_nominated",defaultMessage:"Nominated for {count, plural, one {{count} BAFTA Film Award} other {{count} BAFTA Film Awards}}"}}},w={AWARDS:{id:"feature_awards_title",defaultMessage:"Awards"}},P=function(){return{message:{id:"feature_awards_defaultTV",defaultMessage:"See the Top 250 TV shows as rated by IMDb users"}}},_=function(){return{message:{id:"feature_awards_defaultMovie",defaultMessage:"See the Top 250 movies as rated by IMDb users"}}},T=function(n,e){return{message:{id:"feature_awards_winsAndNominations",defaultMessage:"{numOfWins} wins & {numOfNoms} nominations"},values:{numOfWins:n,numOfNoms:e}}},I=function(n,e){return{message:{id:"feature_awards_winsAndNominationsTotal",defaultMessage:"{numOfWins} wins & {numOfNoms} nominations total"},values:{numOfWins:n,numOfNoms:e}}},C=function(n){return{message:{id:"feature_awards_onlyWins",defaultMessage:"{numOfWins} wins"},values:{numOfWins:n}}},k=function(n){return{message:{id:"feature_awards_onlyWinsTotal",defaultMessage:"{numOfWins} wins total"},values:{numOfWins:n}}},S=function(n){return{message:{id:"feature_awards_onlyNominations",defaultMessage:"{numOfNoms} nominations"},values:{numOfNoms:n}}},N=function(n){return{message:{id:"feature_awards_onlyNominationsTotal",defaultMessage:"{numOfNoms} nominations total"},values:{numOfNoms:n}}},A=function(n){return{message:{id:"feature_awards_topRatedTV",defaultMessage:"Top rated TV #{rating}"},values:{rating:n}}},Z=function(n){return{message:{id:"feature_awards_topRatedMovie",defaultMessage:"Top rated movie #{rating}"},values:{rating:n}}};function E(){var n=(0,i.Z)(["\n display: flex;\n flex-direction: column;\n border: 1px solid transparent;\n ","\n ","\n ","\n ","\n\n "," {\n flex-direction: row;\n }\n\n &.base {\n ","\n ","\n }\n\n &.baseAlt {\n ","\n ","\n }\n"]);return E=function(){return n},n}function j(){var n=(0,i.Z)(["\n display: flex;\n min-height: ",";\n min-width: ",";\n ","\n ","\n ",";\n align-items: center;\n flex-shrink: 0;\n\n .top-rated-link {\n padding: "," "," "," ",";\n position: relative;\n z-index: 1;\n }\n\n "," {\n position: relative;\n margin-right: ",";\n\n &::after {\n content: '';\n background: inherit;\n height: 100%;\n left: calc(100% - 0.85rem);\n position: absolute;\n width: 1.7rem;\n transform: skewX(-20deg);\n }\n }\n"]);return j=function(){return n},n}function V(){var n=(0,i.Z)(["\n flex-grow: 1;\n padding-left: ",";\n"]);return V=function(){return n},n}var M=function(n){var e,t,i,o,c=n.constId,E=n.wins,j=n.nominations,V=n.prestigiousAwardSummary,M=n.ratingsSummary,D=r.useContext(s.Theme).palette.baseColor,U=(0,u.B)().context,B=U.refTagPrefix,F=U.pageType,Q=(null===E||void 0===E?void 0:E.total)||0,q=(null===j||void 0===j?void 0:j.total)||0,W=Q>0||q>0,G=!!V,z=function(n){var e={descriptor:w.AWARDS,count:0};if(!n)return e;var t=n.award.event.id,i=n.wins,a=n.nominations,r=b[t]||void 0;if(!r)return e;var o=i>0?"WON":"NOMINATED",l="WON"===o?i:a;return{descriptor:x[r][o],count:l}}(V),$=(null===M||void 0===M||null===(e=M.topRanking)||void 0===e?void 0:e.rank)||void 0,H=$&&$<=250,Y=(null===M||void 0===M||null===(t=M.topRanking)||void 0===t||null===(i=t.text)||void 0===i?void 0:i.value)||void 0,K=(0,d.N)({id:"feature_awards_seeMore",defaultMessage:"See More Awards and Nominations"}),X=function(n,e){return n===h?A(e):Z(e)}(Y,$),J=(0,d.N)(X.message,X.values),nn=function(n,e){return e===h?y(n).TV:y(n).MOVIE}(B,Y);o=W&&G?function(n,e){return n>0&&0===e?k(n):0===n&&e>0?N(e):I(n,e)}(Q,q):W&&!G?function(n,e){return n>0&&0===e?C(n):0===n&&e>0?S(e):T(n,e)}(Q,q):function(n){return n===h?P():_()}(Y);var en=(0,d.N)(o.message,o.values),tn=(0,d.N)(z.descriptor,{count:z.count}),an=W?tn:"",rn=W?"/".concat(F,"/").concat(c,"/awards/?ref_=").concat(B,"_awd"):nn;return Q>0||q>0||H?(0,a.jsx)(p.wW,{componentId:f.NG.Awards,children:(0,a.jsx)(l.PageSection,{children:(0,a.jsxs)(L,{"data-testid":v,className:D,children:[(0,a.jsx)(O,{children:H&&(0,a.jsx)(l.TextLink,{"data-testid":g,text:J,href:nn,inheritColor:!0,className:"top-rated-link"})}),(0,a.jsx)(R,{dividers:"none",children:(0,a.jsx)(l.MetaDataListItem,{"data-testid":m,labelLink:rn,labelLinkAriaLabel:K,labelTitle:an,listContent:[{text:en}]})})]})})}):null},L=o.default.div.withConfig({componentId:"sc-15ed0f38-0"})(E(),(0,c.setPropertyToShapeVar)("border-radius","ipt-cornerRadius"),(0,c.setPropertyToColorVar)("border-color","ipt-accent1-color"),(0,c.setPropertyToSpacingVar)("margin-left","ipt-pageMargin"),(0,c.setPropertyToSpacingVar)("margin-right","ipt-pageMargin"),c.mediaQueries.breakpoints.above.m,(0,c.setPropertyToColorVar)("background","ipt-base-shade3-bg"),(0,c.setPropertyToColorVar)("color","ipt-on-base-textPrimary-color"),(0,c.setPropertyToColorVar)("background","ipt-baseAlt-shade3-bg"),(0,c.setPropertyToColorVar)("color","ipt-on-baseAlt-textPrimary-color")),O=o.default.div.withConfig({componentId:"sc-15ed0f38-1"})(j(),c.spacing.l,c.spacing.l,(0,c.setPropertyToColorVar)("background","ipt-accent1-bg"),(0,c.setPropertyToColorVar)("color","ipt-on-accent1-color"),(0,c.setTypographyType)("subtitle"),c.spacing.s,c.spacing.xs,c.spacing.s,c.spacing.s,c.mediaQueries.breakpoints.above.m,c.spacing.s),R=(0,o.default)(l.MetaDataList).withConfig({componentId:"sc-15ed0f38-2"})(V(),c.spacing.m)},12876:function(n,e,t){t.d(e,{q1:function(){return I}});var i=t(92228),a=t(52322),r=(t(2784),t(19596)),o=t(45103),l=t(91842),s=t(1577),c=t(20378),d=t(4912),u=t(31619),f=t(13813),p=t(87206),v=t(50911),m=t(91793),g=t(17004),h=t(45632),y="faq-title",b="faq-content",x="faq_md_list_",w={SEE_MORE:{id:"common_ariaLabel_seeAnswer",defaultMessage:"See the answer"},TITLE:{id:"common_name_faq",defaultMessage:"FAQ"},ALEXA_SUBTITLE:{id:"common_alexa_datasource_identifier",defaultMessage:"Powered by Alexa"}};function P(){var n=(0,i.Z)(["\n ",";\n ","\n"]);return P=function(){return n},n}function _(){var n=(0,i.Z)(["\n ","\n"]);return _=function(){return n},n}var T=function(){var n=(0,u.N)(w.ALEXA_SUBTITLE);return(0,a.jsxs)(C,{children:[n,(0,a.jsx)(c.h,{})]})},I=function(n){var e=(0,u.N)(w.SEE_MORE),t=(0,f.y)().refTagPrefix,i=n.href,r=n.linkSuffix,l=n.questions,c=n.totalCount,m="".concat(t,"_faq");return(0,a.jsx)(a.Fragment,{children:l.length>0&&(0,a.jsx)(v.wW,{componentId:p.NG.FAQ,children:(0,a.jsxs)(o.PageSection,{"props-testid":p.NG.FAQ,children:[(0,a.jsx)(s.O,{title:w.TITLE,subtitleProps:{subText:c.toString(),href:"".concat(i,"?ref_=").concat(m,"_sm")},description:n.displayAlexaSubtitle?(0,a.jsx)(T,{}):void 0,"data-testid":y}),(0,a.jsx)(d.r,{"data-testid":b,children:(0,a.jsx)(o.MetaDataList,{children:(0,a.jsx)(h.b,{dataType:"titleFAQ",children:l.map((function(n,t){var l=n.question,s=n.translatedQuestion,c=n.id,d=n.displayAlexaLogo,u="".concat(m,"_").concat(t+1),f="".concat(i,"?ref_=").concat(u).concat(r(c)),p=null!==s&&void 0!==s?s:l,v="".concat(x).concat(t);return(0,a.jsx)(o.MetaDataListItem,{labelLink:f,labelLinkAriaLabel:e,"data-testid":v,children:(0,a.jsxs)(g.T,{translatedText:s,originalText:l,refMarker:u,children:[(0,a.jsx)(k,{href:f,touchTarget:!1,text:p}),d&&(0,a.jsx)(T,{})]})},v)}))})})})]})})})},C=r.default.span.withConfig({componentId:"sc-d5c51329-0"})(P(),(0,l.setTypographyType)("body"),(0,l.setPropertyToColorVar)("color","ipt-on-base-textSecondary-color")),k=(0,r.default)(o.TextLink).withConfig({componentId:"sc-d5c51329-1"})(_(),(0,m.S)(2))},97050:function(n,e,t){t.d(e,{f:function(){return i},u:function(){return a}});var i=function(n){var e=[],t=!0,i=!1,a=void 0;try{for(var r,o=n[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var l,s,c=r.value.node,d=null===c||void 0===c||null===(l=c.question)||void 0===l?void 0:l.plainText,u=null===c||void 0===c?void 0:c.id;if(u&&d)e.push({id:u,question:d,translatedQuestion:(null===(s=c.experimental_translatedQuestion)||void 0===s?void 0:s.plainText)||void 0})}}catch(f){i=!0,a=f}finally{try{t||null==o.return||o.return()}finally{if(i)throw a}}return e},a=function(n){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=[];return n.map((function(n,i){var a,r=n.node,o=null===r||void 0===r||null===(a=r.question)||void 0===a?void 0:a.plainText,l=null===r||void 0===r?void 0:r.attributeId;l&&o&&t.push({id:l,question:o,displayAlexaLogo:e})})),t}},44022:function(n,e,t){t.d(e,{cc:function(){return h}});var i=t(92228),a=t(52322),r=(t(2784),t(19596)),o=t(45103),l=t(91842),s=t(1577),c=t(22414),d=t(86630),u=t(87206),f=t(50911),p=t(93990);function v(){var n=(0,i.Z)(["\n "," {\n grid-column: span 6;\n }\n"]);return v=function(){return n},n}var m={id:"feature_news_section_title",defaultMessage:"Related news"};function g(n,e,t){return"/".concat(t,"/").concat(n,"/news/?ref_=").concat(e,"_nwr_sm")}var h=function(n){var e,t=n.constId,i=n.news,r=n.refTagPrefix,l=n.pageType,d=n.showLoader,v=void 0!==d&&d,h=(null!==(e=null===i||void 0===i?void 0:i.edges)&&void 0!==e?e:[]).map((function(n,e){return(0,p.n)(n,"".concat(r,"_nwr_").concat(e+1))})).filter((function(n){return!!n}));if(h.length<1&&!v)return null;var b=h.map((function(n,e){return(0,a.jsx)(y,{newsId:n.newsId,headline:n.headline,link:n.link,publicationDate:n.publicationDate,source:n.source,image:n.image},e)}));return(0,a.jsx)(f.wW,{componentId:u.NG.News,children:(0,a.jsxs)(o.PageSection,{"data-testid":u.NG.News,children:[(0,a.jsx)(s.O,{title:m,"data-testid":"news-section-header",subtitleProps:{href:g(t,r,l)}}),v&&(0,a.jsx)(c.ZP,{height:"feature","data-testid":"feature-name-news__loader"}),!v&&(0,a.jsx)(o.SubGrid,{children:b})]})})},y=(0,r.default)(d.n).withConfig({componentId:"sc-13521c9c-0"})(v(),l.mediaQueries.breakpoints.only.s);e.ZP=h},67387:function(n,e,t){t.d(e,{d:function(){return w}});var i=t(52322),a=(t(2784),t(45103)),r=t(25436),o=t(30740),l=t(25140),s=t(87206),c=t(50911),d=t(95460),u=t(11992),f=t(14150),p=t(92228),v=t(19596),m=t(91842),g=t(31619);function h(){var n=(0,p.Z)(["\n margin-bottom: ",";\n"]);return h=function(){return n},n}var y=function(n){var e,t,a=n.imageCount,r=n.hasPhotoInShoveler,o=n.imageUploadURL,s=n.galleryImageConst,c=(0,l.B)().context,d=c.pageConst,u=c.pageType,p=c.refTagPrefix,v=(0,g.N)({id:"feature_photos_title",defaultMessage:"Photos"});if(r&&a>=4){var m="mediaviewer/".concat(s);e="/".concat(u,"/").concat(d,"/").concat(m,"/?ref_=").concat(p,"_mi_sm"),t=a>5?a.toString():void 0}return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(b,{"data-testid":"photos-title",href:e,subText:t,hasPhotoInShoveler:r,actions:(0,i.jsx)(i.Fragment,{children:o&&!r&&(0,i.jsx)(f.Z,{pageConst:d,imageUploadLink:o,hasPhotoInShoveler:r})}),children:v})})},b=(0,v.default)(a.SectionTitle).withConfig({componentId:"sc-df9f4be9-0"})(h(),(function(n){return n.hasPhotoInShoveler?m.spacing.l:0})),x=function(n){var e,t,r=n.image,o=n.index,s=n.onFocus,c=(0,g.N)({id:"feature_photos_missing_image_caption",defaultMessage:"Missing image caption"}),d={url:r.url,maxHeight:r.height,maxWidth:r.width,caption:(null===(e=r.caption)||void 0===e?void 0:e.plainText)||c},u=(0,l.B)().context,f=u.pageConst,p=u.pageType,v=u.refTagPrefix,m=(null===(t=r.caption)||void 0===t?void 0:t.plainText)||"image",h="/".concat(p,"/").concat(f,"/mediaviewer/").concat(r.id,"/?ref_=").concat(v,"_md_").concat(o+1),y={"data-testid":"photos-image-overlay-".concat(o+1)};return(0,i.jsx)(a.Photo,{ariaLabel:m,className:"photos-image",dynamicWidth:!0,href:h,imageProps:{imageModel:d},overlayProps:y,onFocus:s})},w=function(n){var e=n.constId,t=n.primaryImage,p=n.imageEdges,v=n.imageCount,m=n.imageUploadLink,g=(0,l.B)().context,h=g.refTagPrefix,b=g.pageType,w=(0,o.wL)("".concat(b,"_photos_section")),_=[];if(p&&p.length>0){var T=null===t||void 0===t?void 0:t.id;_=p.map((function(n){return function(n,e,t){P(e)&&e.caption||t.error("".concat(n," image missing required metadata"),{id:e.id});return e}(b,n.node,w)})).filter((function(n){return n.id!==T&&P(n)})).slice(0,12).map((function(n,e){return(0,i.jsx)(x,{image:n,index:e},e)}))}var I=_.length>0,C=p&&p.length>0?p[0].node.id:void 0,k=null===m||void 0===m?void 0:m.url;if(_.length<4&&I&&k&&_.push((0,i.jsx)(f.Z,{pageConst:e,imageUploadLink:k,hasPhotoInShoveler:I},_.length)),!I&&!k)return null;return(0,i.jsx)(c.wW,{componentId:s.NG.Photos,children:(0,i.jsxs)(a.PageSection,{baseColor:"base","data-testid":s.NG.Photos,children:[(0,i.jsx)(y,{constId:e,imageCount:null!==v&&void 0!==v?v:0,hasPhotoInShoveler:I,imageUploadURL:k,galleryImageConst:C}),I&&(0,i.jsx)(a.Shoveler,{wraps:!1,onPageChange:function(n){var t=(0,d.yY)(n.lastPageIndex,n.currentPageIndex,"".concat(h,"_mi"),b,r.SubPageType.MAIN,e),i=t.pageAction,a=t.refMarker,o=t.context;i&&(0,d.K8)(a,o,i,u.qB.ACTION_ONLY)},children:_})]})})};function P(n){return!!(n.url&&n.width&&n.height)}},46021:function(n,e,t){t.d(e,{$R:function(){return s},Rd:function(){return d},lc:function(){return c}});var i=t(92228),a=t(30382),r=t.n(a);function o(){var n=(0,i.Z)(['\n query NameImageUploadActionButton(\n $nameId: ID!\n $returnUrl: URL!\n $isInIframe: Boolean!\n ) {\n name(id: $nameId) {\n imageUploadLink(\n contributionContext: {\n isInIframe: $isInIframe\n returnUrl: $returnUrl\n business: "consumer"\n }\n ) {\n url\n }\n }\n }\n']);return o=function(){return n},n}function l(){var n=(0,i.Z)(['\n query ImageUploadActionButton($titleId: ID!, $returnUrl: URL!) {\n title(id: $titleId) {\n imageUploadLink(\n contributionContext: {\n isInIframe: false\n returnUrl: $returnUrl\n business: "consumer"\n }\n ) {\n url\n }\n }\n }\n']);return l=function(){return n},n}var s="https://www.imdb.com/close_me",c=r()(o()),d=r()(l())},14150:function(n,e,t){t.d(e,{Z:function(){return j}});var i=t(70865),a=t(66383),r=t(52322),o=t(14865),l=t(16189),s=(t(2784),t(45103)),c=t(25710),d=t(25436),u=t(35355),f=t(13813),p=t(46021),v=t(92228),m=t(19596),g=t(91842),h=t(31619);function y(){var n=(0,v.Z)(["\n margin-top: -",";\n "," {\n margin-left: ",";\n }\n "," {\n margin-top: ",";\n }\n"]);return y=function(){return n},n}var b=(0,m.default)(s.TextButton).withConfig({componentId:"sc-a85bb81c-0"})(y(),g.spacing.xxs,g.mediaQueries.breakpoints.only.xs,g.spacing.m,g.mediaQueries.breakpoints.above.m,g.spacing.xxs),x=function(n){var e=n.href,t=n.onClick,i=(0,h.N)({id:"feature_photos_add_photo",defaultMessage:"Add Image"});return(0,r.jsx)(b,{href:e,"data-testid":"photos-add-image-button-header",preIcon:"add",onColor:"accent2",ariaLabel:i,onClick:t,children:i})};function w(){var n=(0,v.Z)(["\n ","\n font-size: 4.5rem;\n right: 0;\n left: 0;\n margin: auto;\n"]);return w=function(){return n},n}function P(){var n=(0,v.Z)(["\n ","\n left: 0;\n right: 0;\n text-align: center;\n"]);return P=function(){return n},n}function _(){var n=(0,v.Z)(["\n bottom: 0;\n left: 0;\n margin: auto;\n right: 0;\n text-align: center;\n top: 0;\n"]);return _=function(){return n},n}function T(){var n=(0,v.Z)(["\n background: rgba(",", 0.15);\n display: flex;\n position: relative;\n text-decoration: none;\n\n &:hover::after {\n background: rgba(",", 0.08);\n content: '';\n cursor: pointer;\n height: 100%;\n position: absolute;\n width: 100%;\n }\n\n &:focus {\n ","\n outline-style: dashed;\n outline-width: 1px;\n }\n"]);return T=function(){return n},n}function I(){var n=(0,v.Z)(["\n padding-bottom: 100%;\n display: flex;\n"]);return I=function(){return n},n}var C=(0,m.default)(s.Icon).withConfig({componentId:"sc-1499f430-0"})(w(),(0,g.setPropertyToColorVar)("color","ipt-on-base-textSecondary-color")),k=m.default.div.withConfig({componentId:"sc-1499f430-1"})(P(),(0,g.setPropertyToColorVar)("color","ipt-on-base-textPrimary-color")),S=m.default.div.withConfig({componentId:"sc-1499f430-2"})(_()),N=m.default.a.withConfig({componentId:"sc-1499f430-3"})(T(),(0,g.getColorVarValue)("ipt-on-base-rgb"),(0,g.getColorVarValue)("ipt-on-base-rgb"),(0,g.setPropertyToColorVar)("outline-color","ipt-on-base-color")),A=m.default.div.withConfig({componentId:"sc-1499f430-4"})(I()),Z=function(n){var e=n.href,t=n.onClick,i=(0,h.N)({id:"feature_photos_add_photo",defaultMessage:"Add Image"});return(0,r.jsxs)(N,{href:e,"data-testid":"photos-add-image-button",onClick:t,children:[(0,r.jsxs)(S,{children:[(0,r.jsx)(C,{name:"add",type:"inline"}),(0,r.jsx)(k,{children:i})]}),(0,r.jsx)(A,{})]})},E=function(n,e){return function(t){if(n.error)(0,l.createLogger)()("".concat(e,"-ImageUploadLinkQuery")).error(n.error);else if(n.data){var i,a=null===(i=n.data[e].imageUploadLink)||void 0===i?void 0:i.url;window.open(a,"_self")}}},j=function(n){var e=n.pageConst,t=n.imageUploadLink,l=n.hasPhotoInShoveler,v=(0,f.y)().pageType,m=function(n,e){var t=window.location.href;return n===d.PageType.TITLE?{query:p.Rd,variables:{titleId:e,isInIframe:!1,returnUrl:t},context:{serverSideCacheable:!0,personalized:!1},pause:!(0,o.getIsBrowser)()}:{query:p.lc,variables:{nameId:e,isInIframe:!1,returnUrl:t},context:{serverSideCacheable:!1,personalized:!0},pause:!(0,o.getIsBrowser)()}}(v,e),g=(0,a.Z)((0,u.E8)(m),1)[0],h={contributeButton:l?(0,r.jsx)(Z,{}):(0,r.jsx)(x,{}),contributeUrl:t,iframeClassName:"contribute-add-photos-iframe",smallBreakpointAction:E(g,v)};return(0,r.jsx)(s.ShovelerItem,{span:2,children:(0,r.jsx)("div",{children:(0,r.jsx)(c.r,(0,i.Z)({},h))})})}},89221:function(n,e,t){t.d(e,{M:function(){return r}});var i=t(91842),a=976,r={breakpoints:{below:{m:"@media screen and (max-width: ".concat(i.breakpoints.breakpointsNumbers.m-1,"px)"),l:"@media screen and (max-width: ".concat(975,"px)")},above:{l:"@media screen and (min-width: ".concat(a,"px)")},only:{m:"@media screen and (min-width: ".concat(i.breakpoints.breakpointsNumbers.m,"px) and (max-width: ").concat(975,"px)"),l:"@media screen and (min-width: ".concat(a,"px) and (max-width: ").concat(i.breakpoints.breakpointsNumbers.xl-1,"px)")}}}},22808:function(n,e,t){t.d(e,{e:function(){return P},Z:function(){return k}});var i=t(92228),a=t(52322),r=t(72779),o=t.n(r),l=t(2784),s=t(19596),c=t(45103),d=t(46315),u=t(91842),f=t(87206),p=t(50911),v="pro-upsell",m="pro-upsell__label",g="pro-upsell__logo",h="pro-upsell__link";function y(){var n=(0,i.Z)(["\n display: flex;\n"]);return y=function(){return n},n}function b(){var n=(0,i.Z)(["\n margin-right: 0.5rem;\n\n .pro-upsell__logo--dark {\n ",";\n }\n\n .pro-upsell__logo--light {\n ",";\n }\n"]);return b=function(){return n},n}function x(){var n=(0,i.Z)(["\n ","\n"]);return x=function(){return n},n}function w(){var n=(0,i.Z)(["\n ","\n margin-right: 0.5rem;\n\n &:hover {\n opacity: 0.7;\n text-decoration: none;\n }\n"]);return w=function(){return n},n}var P=function(n){var e=n.className,t=n.message,i=n.href,r=n.hideLogo,s=n.preIcon,u=n.labelMessage,y=n.labelHref,b=n["data-testid"],x=l.useContext(d.Theme),w=o()(v,e);return(0,a.jsx)(p.wW,{componentId:f.NG.ProUpsellLink,children:(0,a.jsxs)(_,{className:w,id:f.NG.ProUpsellLink,"data-testid":b,children:[u&&y&&(0,a.jsx)(C,{className:m,href:y,text:u,inheritColor:!0}),!r&&(0,a.jsx)(T,{href:y||i,target:"_blank",children:(0,a.jsx)(c.Logo,{className:o()(g,"".concat(g,"--").concat(x.palette.name)),variation:"imdbpro-color",width:54,height:18})}),(0,a.jsx)(I,{className:h,preIcon:s,href:i,text:t,type:"external"})]})})},_=s.default.div.withConfig({componentId:"sc-a7284962-0"})(y()),T=s.default.a.withConfig({componentId:"sc-a7284962-1"})(b(),(0,u.setPropertyToColorVar)("color","ipt-on-baseAlt-color"),(0,u.setPropertyToColorVar)("color","ipt-on-base-color")),I=(0,s.default)(c.TextLink).withConfig({componentId:"sc-a7284962-2"})(x(),(0,u.setTypographyType)("subtitle")),C=(0,s.default)(c.TextLink).withConfig({componentId:"sc-a7284962-3"})(w(),(0,u.setTypographyType)("subtitle")),k=P},82108:function(n,e,t){t.d(e,{AD:function(){return l},Lo:function(){return o}});var i=t(52322),a=t(2784),r=a.createContext({titleCallToAction:void 0,nameCallToAction:void 0}),o=function(n){var e=n.value,t=n.children;return(0,i.jsx)(r.Provider,{value:e,children:t})},l=function(){return a.useContext(r)}},82292:function(n,e,t){t.d(e,{a:function(){return p}});var i=t(25436),a=t(31619),r=t(13813),o=t(2366),l=t(98621),s=t(82108),c="cons_nm_contact",d="cons_nm_ov_agent",u="cons_nm_ov_res",f="cons_nm_more",p=function(){var n=(0,s.AD)(),e=(0,r.y)(),t=e.pageConst,p=e.pageType,v=(0,l.hg)({weblabID:o.lh.IMDB_NAME_PAGE_HERO_CTA_SUBSCRIPTION_AWARE_821864,treatments:{T1:!0}}),m=(0,l.hg)({weblabID:o.lh.IMDB_NAME_PAGE_HERO_CTA_DEFAULT_VALUE_824420,treatments:{T1:!0}}),g=(0,a.N)({id:"name_main_hero_pro_contact_long_2",defaultMessage:"View contact info at IMDbPro"}),h=(0,a.N)({id:"name_main_hero_pro_see_more",defaultMessage:"More at IMDbPro"}),y=(0,a.N)({id:"name_main_hero_pro_contact",defaultMessage:"Contact info"}),b=(0,a.N)({id:"name_main_hero_pro_agent",defaultMessage:"Agent info"}),x=(0,a.N)({id:"name_main_hero_pro_resume",defaultMessage:"Resume"});return p===i.PageType.TITLE?function(n){var e,t,i,a=null===(e=n.titleCallToAction)||void 0===e||null===(t=e.callToAction)||void 0===t?void 0:t.titleProUpsell,r=null===a||void 0===a?void 0:a.action.url,o=null===(i=null===a||void 0===a?void 0:a.action.label)||void 0===i?void 0:i.text;if(r&&o)return{href:r,message:o}}(n):p===i.PageType.NAME?function(n,e,t){var i,a,r,o,l,s;if(!e)return t;var c,d,u,f=null===(i=n.nameCallToAction)||void 0===i||null===(a=i.callToAction)||void 0===a?void 0:a.nameProUpsell,p=(null===f||void 0===f||null===(r=f.abbreviatedActions)||void 0===r?void 0:r.every((function(n){var e;return!(null===(e=n.label)||void 0===e?void 0:e.text)})))||(null===f||void 0===f||null===(o=f.standardActions)||void 0===o?void 0:o.every((function(n){var e;return!(null===(e=n.label)||void 0===e?void 0:e.text)}))),v=null!==(c=null===f||void 0===f||null===(l=f.abbreviatedActions)||void 0===l?void 0:l.map((function(n){var e,t;return{actionName:n.actionName,message:null!==(t=null===(e=n.label)||void 0===e?void 0:e.text)&&void 0!==t?t:"",href:n.url}})))&&void 0!==c?c:[],m=null!==(u=null===f||void 0===f||null===(s=f.standardActions)||void 0===s?void 0:s.map((function(n){var e;return{actionName:n.actionName,message:null!==(d=null===(e=n.label)||void 0===e?void 0:e.text)&&void 0!==d?d:"",href:n.url}})))&&void 0!==u?u:[];return 0===v.length||0===m.length||p?void 0:{abbreviatedActions:v,standardActions:m}}(n,v||m,{abbreviatedActions:[{message:g,href:"https://pro.imdb.com/".concat(p,"/").concat(t,"/?rf=").concat(c,"&ref_=").concat(c)}],standardActions:[{actionName:"upsellAction",message:h,href:"https://pro.imdb.com/".concat(p,"/").concat(t,"/?rf=").concat(f,"&ref_=").concat(f)},{actionName:"contactInfoAction",message:y,href:"https://pro.imdb.com/".concat(p,"/").concat(t,"/?rf=").concat(c,"&ref_=").concat(c)},{actionName:"agentInfoAction",message:b,href:"https://pro.imdb.com/".concat(p,"/").concat(t,"/?rf=").concat(d,"&ref_=").concat(d)},{actionName:"resumeAction",message:x,href:"https://pro.imdb.com/".concat(p,"/").concat(t,"/?rf=").concat(u,"&ref_=").concat(u)}]}):void 0}},77699:function(n,e,t){t.d(e,{p:function(){return i}});var i=t(29630).e},29630:function(n,e,t){t.d(e,{e:function(){return a}});var i=t(73857),a=function(n,e){return(0,i.Z)().formatDate(n,e)}},33360:function(n,e,t){t.d(e,{V1:function(){return g},sG:function(){return h}});var i=t(92228),a=t(52322),r=t(30382),o=t.n(r),l=t(2784),s=t(75467),c=t(4236),d=t(31619),u=t(11992),f=t(95460);function p(){var n=(0,i.Z)(["\n fragment TitleWatchOption on Title {\n primaryWatchOption {\n additionalWatchOptionsCount\n }\n }\n"]);return p=function(){return n},n}function v(){var n=(0,i.Z)(["\n query TitleListWatchOption(\n $titleIds: [ID!]!\n $location: WatchOptionsLocation\n ) {\n titles(ids: $titleIds) {\n id\n primaryWatchOption(location: $location) {\n additionalWatchOptionsCount\n }\n }\n }\n"]);return v=function(){return n},n}var m="_wo_",g=function(n,e){var t=(0,l.useState)(),i=t[0],r=t[1],o=(0,l.useState)(),p=o[0],v=o[1],g=(0,d.N)({id:"common_buttons_watchOptions",defaultMessage:"Watch options"});return{createButton:function(t,i,a){var o=t.primaryWatchOption;return a||o?{props:{onSelect:function(){r(t),v(void 0!==i?i+1:void 0),n&&(0,f.K8)(e+m+"".concat(void 0!==i?i+1:""),n,"watcho-open-".concat(t.id),u.qB.POP_UP)}},text:g}:void 0},createPrompt:function(t){var o="_wo_wl_rbn",l=n&&e?{pageType:n.type,subPageType:n.subType,refTag:p?e+o+"_"+p:e+o}:void 0;return(0,a.jsx)(s.WatchlistConsumer,{id:i?i.id:"",metricsContext:l,render:function(){return(0,a.jsx)(c.Et,{title:i,isOpen:!!i,onClose:function(){r(void 0),v(void 0),n&&(0,f.K8)(t+m+p,n,"watcho-close-".concat(null===i||void 0===i?void 0:i.id),u.qB.POP_UP)},refMarker:{id:null===i||void 0===i?void 0:i.id,prefix:t,suffix:p?"".concat(p):void 0}})}})}}},h={titleWatchOption:o()(p())};o()(v())},32936:function(n,e,t){var i=t(66383),a=t(52322),r=(t(2784),t(22414)),o=t(57559),l=t(37184);e.Z=function(n){var e=n.groupConfig,t=n.pageQueryData,s=n.hideErrors,c=n.hasIntersected,d=void 0===c||c,u=t.data,f=t.config,p=t.error,v=t.fetching,m=t.retry,g=t.shouldRenderError,h=t.allErrorsRetryable;return v||!d?(0,a.jsx)(r.ZP,{"data-testid":"entity-group-loader",height:"feature"}):s&&g?null:(0,a.jsxs)(a.Fragment,{children:[g&&(0,a.jsx)(l.ZP,{error:p,name:f.queryName,canRetry:h,onClickRetry:function(){return null===m||void 0===m?void 0:m()}}),!g&&Object.entries(e).map((function(n){var e=(0,i.Z)(n,2),t=e[0],r=e[1];if(r.shouldRender&&u&&!1===r.shouldRender(u))return null;var l=r.component;return(0,a.jsx)(o.Z,{name:t,parent:"PageQueryEntity",children:(0,a.jsx)(l,{data:u,fetching:v,error:p})},t)}))]})}},9826:function(n,e,t){function i(n,e){var t,i=n.thumbnail;if(i&&i.url&&i.height&&i.width)return{url:i.url,maxHeight:i.height,maxWidth:i.width,caption:(null===(t=n.description)||void 0===t?void 0:t.value)||e}}t.d(e,{W:function(){return i}})},93990:function(n,e,t){t.d(e,{n:function(){return a}});var i=t(96485),a=function(n,e){var t,a,r,o;if((null===(t=n.node)||void 0===t?void 0:t.date)&&(null===(a=n.node)||void 0===a?void 0:a.source)&&(null===(r=n.node)||void 0===r?void 0:r.articleTitle)){var l=n.node,s=l.id,c=l.articleTitle,d=l.date,u=l.image,f=l.source,p=s,v="/news/".concat(s,"/?ref_=").concat(e),m=(null===c||void 0===c?void 0:c.plainText)||"";return{newsId:p,headline:m,link:v,publicationDate:d,source:(null===(o=f.homepage)||void 0===o?void 0:o.label)||"",image:(0,i.Gs)(u,m)}}}},59759:function(n,e,t){t.d(e,{Bm:function(){return v},HF:function(){return m},Wg:function(){return f}});var i=t(92228),a=t(30382),r=t.n(a),o=t(29982);function l(){var n=(0,i.Z)(["\n ","\n ","\n fragment VideoSlateRootVideo on Video {\n ...SharedVideoRoot\n ...SharedVideoPlaybackUrls\n contentType {\n id\n displayName {\n value\n }\n }\n }\n"]);return l=function(){return n},n}function s(){var n=(0,i.Z)(["\n ","\n ","\n fragment VideoSlateRelatedVideo on Video {\n ...VideoSlateRootVideo\n ...SharedVideoWebAd\n primaryTitle {\n titleType {\n canHaveEpisodes\n }\n }\n }\n"]);return s=function(){return n},n}function c(){var n=(0,i.Z)(["\n ","\n ","\n fragment VideoSlateInitialVideo on Video {\n ...VideoSlateRootVideo\n ...SharedVideoPreviewUrls\n }\n"]);return c=function(){return n},n}function d(){var n=(0,i.Z)(["\n ","\n query SLATE_RELATED_VIDEOS(\n $viconsts: [ID!]!\n $userAgent: String!\n $pageType: String\n $subPageType: String\n $viewportSize: ViewPortSize\n $autoStartVideo: Boolean\n ) {\n videos(ids: $viconsts) {\n ...VideoSlateRelatedVideo\n }\n }\n"]);return d=function(){return n},n}function u(){var n=(0,i.Z)(["\n ","\n query SLATE_RELATED_VIDEO_IDS(\n $viconst: ID!\n $userAgent: String!\n $pageType: String\n $subPageType: String\n $viewportSize: ViewPortSize\n $autoStartVideo: Boolean\n ) {\n video(id: $viconst) {\n ...SharedVideoWebAd\n relatedVideos(first: 30) {\n # Pagination is not currently supported\n\n edges {\n node {\n id\n }\n }\n }\n }\n }\n"]);return u=function(){return n},n}var f=r()(l(),o.p6,o.V4),p=r()(s(),f,o.sq),v=(r()(c(),f,o.K8),r()(d(),p)),m=r()(u(),o.sq)},85292:function(n,e,t){t.d(e,{$0:function(){return Ne}});var i,a=t(70865),r=t(96670),o=t(26297),l=t(92228),s=t(52322),c=t(98537),d=t.n(c),u=t(2784),f=t(73857),p=t(19596),v=t(45103),m=t(43814),g=t(91025),h=t(13813),y=t(37437),b=t(2366),x=t(98621),w=t(57978),P=t(57862),_=t(97537),T=t(75502),I=t(25140),C=t(71601);!function(n){n.AUTO_PAUSE="vp-auto-pause",n.AUTO_PLAY="vp-auto-play"}(i||(i={}));var k,S=function(n,e,t,a){a&&!n.hasPlayed()?n.play({pageAction:_.fZ.videoStart(e),refMarker:t}):n.hasPlayed()?n.play({pageAction:i.AUTO_PLAY,refMarker:void 0}):n.play({pageAction:_.fZ.autoStart(e),refMarker:t})},N=function(n){var e=n.playerInstance,t=n.hasUserInteracted,a=n.permission,r=n.refMarker,o=n.isEnabled,l=(0,C.Oh)().isPreferenceEnabled,s=(0,I.B)().context.pageConst,c=(0,u.useState)(!1),d=c[0],f=c[1],p=(0,u.useState)(!1),v=p[0],m=p[1],g=(0,u.useState)(!1),h=g[0],b=g[1];(0,u.useEffect)((function(){e&&(window.onbeforeunload=function(){m(!0),e.stop()})}),[e]),(0,u.useEffect)((function(){e&&d&&o&&!v&&!t&&(l||((null===e||void 0===e?void 0:e.getIsStickyPlayerActive())||e.stop(),b(!0)))}),[l]),(0,u.useEffect)((function(){if(e&&o&&!v&&(l&&!h||t)){if(!d)return S(e,s,r,t),void f(!0);a===y.y.GRANTED&&!function(n){var e=n.getLatestPlayerInteractionState();return"pause"===(null===e||void 0===e?void 0:e.interactedAction)&&"interaction"===(null===e||void 0===e?void 0:e.interactionType)}(e)?S(e,s,r,t):e.pause({pageAction:i.AUTO_PAUSE})}}),[e,t,o,a,l,h,v])},A=t(46312),Z=t(17068),E="inline-video-playback-container";function j(){var n=(0,l.Z)(["\n position: absolute;\n inset: 0;\n\n /* need this z-index value to sit on top of watchlist ribbon and shoveler arrows\n when scrolling down with sticky player */\n z-index: 6;\n"]);return j=function(){return n},n}!function(n){n.READY="READY",n.PLAYING="PLAYING",n.NAVIGATING="NAVIGATING",n.COMPLETE="COMPLETE",n.STOPPED="STOPPED",n.HAS_BEEN_UNMUTED="HAS_BEEN_UNMUTED",n.HAS_NEXT_ITEM="HAS_NEXT_ITEM",n.PERMISSION_UPDATED="PERMISSION_UPDATED"}(k||(k={}));var V=function(n,e){switch(e.type){case k.READY:return(0,r.Z)((0,a.Z)({},n),{isPlayerReady:!0});case k.PLAYING:return(0,r.Z)((0,a.Z)({},n),{isPlaying:!0,isPlaybackStopped:!1,isNavigating:!1,isPlaybackComplete:!1,hasPlayOccurred:!0});case k.NAVIGATING:return(0,r.Z)((0,a.Z)({},n),{isNavigating:!0});case k.COMPLETE:return(0,r.Z)((0,a.Z)({},n),{isPlaying:!1,isNavigating:n.hasNextPlaylistItem,isPlaybackComplete:!n.hasNextPlaylistItem});case k.STOPPED:return(0,r.Z)((0,a.Z)({},n),{isPlaying:!1,isPlaybackStopped:!0,isPlaybackComplete:!1});case k.HAS_BEEN_UNMUTED:return n.hasPlayerBeenUnmuted?n:(0,r.Z)((0,a.Z)({},n),{hasPlayerBeenUnmuted:!0});case k.HAS_NEXT_ITEM:return(0,r.Z)((0,a.Z)({},n),{hasNextPlaylistItem:e.payload});case k.PERMISSION_UPDATED:return n.permission!==e.payload?(0,r.Z)((0,a.Z)({},n),{permission:e.payload}):n}},M=(0,u.forwardRef)((function(n,e){var t,i,l,c=n.video,d=n.hasNextPlaylistItem,f=n.hasPreviousPlaylistItem,p=n.assetName,v=n.locationRefMarker,m=n.hasBeenFirstInteracted,g=n.indicateFirstInteraction,h=n.handleVideoPlayerOnClick,w=n.className,I=(0,o.Z)(n,["video","hasNextPlaylistItem","hasPreviousPlaylistItem","assetName","locationRefMarker","hasBeenFirstInteracted","indicateFirstInteraction","handleVideoPlayerOnClick","className"]),C=(0,u.useRef)(null),S=e||C,j=(0,x.hg)({weblabID:b.lh.IMDB_REACTIONS_ON_VIDEO_831329,treatments:{T1:!0}}),M=(0,u.useReducer)(V,{isPlayerReady:!1,isPlaying:!1,isNavigating:!1,isPlaybackComplete:!1,isPlaybackStopped:!1,hasPlayerBeenUnmuted:!1,hasPlayOccurred:!1,hasNextPlaylistItem:!!d,permission:y.y.PENDING}),O=M[0],R=M[1];(0,u.useEffect)((function(){R({type:k.HAS_NEXT_ITEM,payload:!!d})}),[d]);var D,U,B=!O.isNavigating&&(O.isPlaybackStopped||O.isPlaybackComplete);N({playerInstance:O.isPlayerReady&&null!==(D=null===(t=S.current)||void 0===t?void 0:t.playerInstance)&&void 0!==D?D:null,isEnabled:!B,permission:O.permission,hasUserInteracted:O.hasPlayerBeenUnmuted,refMarker:v}),(0,A.d)(O.isPlayerReady,O.hasPlayOccurred,"vp"),function(n){var e=n.playerInstance,t=n.playerRef,i=(0,u.useState)(!1),a=i[0],r=i[1];(0,u.useEffect)((function(){}),[]),(0,u.useEffect)((function(){if((null===t||void 0===t?void 0:t.current)&&window.IntersectionObserver){var n=new IntersectionObserver(function(n){return function(e){n(e[0].isIntersecting)}}(r),{threshold:.5});return n.observe(t.current),function(){n.disconnect()}}}),[t]),(0,u.useEffect)((function(){if(null===t||void 0===t?void 0:t.current){var n=(0,T.y)({isPlayerDismissed:!!(null===e||void 0===e?void 0:e.getIsPlayerDismissed()),hasUserInteracted:!!(null===e||void 0===e?void 0:e.getHasUserInteracted()),isMainPlayerInView:a,mainPlayerTopPosition:t.current.getBoundingClientRect().top});null===e||void 0===e||e.setStickyPlayerActiveState(n)}}),[a])}({playerInstance:null!==(U=null===(i=S.current)||void 0===i?void 0:i.playerInstance)&&void 0!==U?U:null,playerRef:null===(l=S.current)||void 0===l?void 0:l.containerRef});var F=u.useMemo((function(){return!(!O.isPlaying&&!O.isNavigating)&&!m}),[O,m]);return(0,s.jsx)(L,(0,r.Z)((0,a.Z)({videoPlayerId:"inline",className:w,configPresetName:P.$.INLINE_VIDEO_PLAYBACK,ref:S,"data-testid":E,video:c,assetName:p,refMarker:v,videoContainerOnClick:h,enableInlineReactions:j},I),{onPlaylistItemUpdate:function(n){var e;null===(e=I.onPlaylistItemUpdate)||void 0===e||e.call(I,n),R({type:k.READY})},onPlay:function(n){var e;null===I||void 0===I||null===(e=I.onPlay)||void 0===e||e.call(I,n),R({type:k.PLAYING})},onAdPlay:function(n){var e;null===I||void 0===I||null===(e=I.onAdPlay)||void 0===e||e.call(I,n),R({type:k.PLAYING})},onStop:function(n){var e;null===I||void 0===I||null===(e=I.onStop)||void 0===e||e.call(I,n),R({type:k.STOPPED})},onComplete:function(n){var e;null===I||void 0===I||null===(e=I.onComplete)||void 0===e||e.call(I,n),R({type:k.COMPLETE})},onMute:function(n){var e;null===I||void 0===I||null===(e=I.onMute)||void 0===e||e.call(I,n),n.eventData.mute||O.hasPlayerBeenUnmuted||(m||null===g||void 0===g||g(),R({type:k.HAS_BEEN_UNMUTED}),n.videoInstance.setHasUserInteracted(!0),n.videoInstance.getState()!==Z.QT.playing&&n.videoInstance.getState()!==Z.QT.buffering||n.videoInstance.play())},hasNextPlaylistItem:d,hasPreviousPlaylistItem:f,onNextPlaylistItem:function(n){var e,t,i;R({type:k.NAVIGATING});var a="complete"===(null===(e=n.eventData)||void 0===e?void 0:e.trigger)?_.fP.RELATED_AUTOPLAY:_.fP.PLAYLIST_PLAY_NEXT_BUTTON;null===(t=n.videoInstance.businessMetricsReporter)||void 0===t||t.setPlayMetricContext(a),null===I||void 0===I||null===(i=I.onNextPlaylistItem)||void 0===i||i.call(I,n)},onPreviousPlaylistItem:function(n){var e,t;R({type:k.NAVIGATING}),null===(e=n.videoInstance.businessMetricsReporter)||void 0===e||e.setPlayMetricContext(_.fP.PLAYLIST_PLAY_PREVIOUS_BUTTON),null===I||void 0===I||null===(t=I.onPreviousPlaylistItem)||void 0===t||t.call(I,n)},onPermissionUpdated:function(n){var e;R({type:k.PERMISSION_UPDATED,payload:n.eventData.permission}),null===I||void 0===I||null===(e=I.onPermissionUpdated)||void 0===e||e.call(I,n)},unmuteButtonConfig:{show:F,isContainerButtonSize:!0,onClick:function(){var n,e;null===(n=S.current)||void 0===n||null===(e=n.playerInstance)||void 0===e||e.play({pageAction:_.oU.play})}}}))})),L=(0,p.default)(w.Y).withConfig({componentId:"sc-eedd91f4-0"})(j()),O=t(56446),R=t(25176),D="hero-media__video-preview-container";function U(){var n=(0,l.Z)(["\n &.show-videoPreview {\n visibility: visible;\n opacity: 1;\n transition: opacity 0.5s linear;\n }\n &.hide-videoPreview {\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s 0.5s, opacity 0.5s linear;\n }\n"]);return U=function(){return n},n}var B=(0,u.forwardRef)((function(n,e){var t,i,l=n.video,c=n.assetName,d=n.locationRefMarker,f=n.handleVideoPlayerOnClick,p=(0,o.Z)(n,["video","assetName","locationRefMarker","handleVideoPlayerOnClick"]),v=(0,u.useState)(!1),m=v[0],g=v[1],h=(0,u.useState)(!1),b=h[0],x=h[1],w=(0,u.useState)(!1),_=w[0],T=w[1],I=(0,u.useState)(!1),C=I[0],k=I[1],S=(0,u.useState)(y.y.PENDING),Z=S[0],E=S[1],j=(0,u.useRef)(null),V=e||j;return N({playerInstance:null!==(i=null===(t=V.current)||void 0===t?void 0:t.playerInstance)&&void 0!==i?i:null,isEnabled:m&&!C,permission:Z,hasUserInteracted:!1,refMarker:d}),(0,A.d)(m,_,"preview"),(0,s.jsx)(F,(0,r.Z)((0,a.Z)({videoPlayerId:"preview",configPresetName:P.$.NATIVE_VIDEO_PREVIEW,className:b?"show-videoPreview":"hide-videoPreview",playbackType:"preview",video:l,ref:V,"data-testid":D,assetName:c,videoContainerOnClick:f},p),{onPlaylistItemUpdate:function(n){var e;null===(e=p.onPlaylistItemUpdate)||void 0===e||e.call(p,n),g(!0)},onPlay:function(n){var e;null===p||void 0===p||null===(e=p.onPlay)||void 0===e||e.call(p,n),x(!0),T(!0)},onStop:function(n){var e;null===p||void 0===p||null===(e=p.onStop)||void 0===e||e.call(p,n),x(!1),k(!0)},onComplete:function(n){var e;null===p||void 0===p||null===(e=p.onComplete)||void 0===e||e.call(p,n),x(!1),k(!0)},onPermissionUpdated:function(n){var e;null===p||void 0===p||null===(e=p.onPermissionUpdated)||void 0===e||e.call(p,n),E(n.eventData.permission)}}))})),F=(0,p.default)(w.Y).withConfig({componentId:"sc-d93d5925-0"})(U()),Q=t(66383),q=t(91842),W=t(95507),G=t(31619),z=t(95460);function $(){var n=(0,l.Z)(["\n position: absolute;\n top: 10px;\n right: 10px;\n z-index: 10;\n &."," {\n position: fixed;\n top: 6px;\n transform: scale(0.8);\n }\n"]);return $=function(){return n},n}function H(){var n=(0,l.Z)(["\n border: 0;\n padding: 0.5rem;\n"]);return H=function(){return n},n}function Y(){var n=(0,l.Z)(["\n ","\n"]);return Y=function(){return n},n}function K(){var n=(0,l.Z)(["\n ",";\n margin-left: 0.5rem;\n padding-left: 0.5rem;\n\n margin-bottom: -0.5rem;\n"]);return K=function(){return n},n}function X(){var n=(0,l.Z)(["\n ",";\n ","\n\n white-space: normal;\n"]);return X=function(){return n},n}function J(){var n=(0,l.Z)(["\n position: absolute;\n width: 100%;\n height: 100%;\n\n // Set to 1 under the button\n z-index: 9;\n\n cursor: unset;\n"]);return J=function(){return n},n}function nn(){var n=(0,l.Z)(["\n top: 45px;\n right: 0px;\n width: 350px;\n"]);return nn=function(){return n},n}function en(){var n=(0,l.Z)(["\n margin-top: 0.5rem;\n margin-bottom: 0.25rem;\n"]);return en=function(){return n},n}function tn(){var n=(0,l.Z)(["\n margin-top: 1rem;\n"]);return tn=function(){return n},n}var an,rn,on="videoPreview_preference_overlay",ln="videoPreview_preference_menu",sn="videoPreview_preference_bottomsheet",cn="videoPreview_preference_button",dn={buttonLabel:{id:"title_main_hero_media_videoPreviewPreference_buttonLabel",defaultMessage:"Video Preview Preference"},menuTitle:{id:"title_main_hero_media_videoPreviewPreference_menuTitle",defaultMessage:"Video previews"},switchAriaLabel:{id:"title_main_hero_media_videoPreviewPreference_switchAriaLabel",defaultMessage:"Video Preview Preference Options"},switchLabel:{id:"title_main_hero_media_videoPreviewPreference_switchLabel",defaultMessage:"Play a silent video preview when available"}},un={buttonLabel:{id:"title_main_hero_media_videoAutoplayPreference_buttonLabel",defaultMessage:"Video Autoplay Preference"},menuTitle:{id:"title_main_hero_media_videoAutoplayPreference_menuTitle",defaultMessage:"Video autoplay"},switchAriaLabel:{id:"title_main_hero_media_videoAutoplayPreference_switchAriaLabel",defaultMessage:"Video Autoplay Preference Options"},switchLabel:{id:"title_main_hero_media_videoAutoplayPreference_switchLabel",defaultMessage:"Play muted video automatically when available"}},fn=function(n){var e=n.experience,t=(0,C.Oh)(),i=t.isPreferenceEnabled,a=t.setIsPreferenceEnabled,r=(0,Q.Z)(u.useState(!1),2),o=r[0],l=r[1],c=u.useRef(null),d="playback"===e?un:dn,f=(0,G.N)(d.buttonLabel),p=(0,G.N)(d.menuTitle),v=(0,G.N)(d.switchAriaLabel),g=(0,G.N)(d.switchLabel),h=(0,m.Vu)();return(0,s.jsxs)(s.Fragment,{children:[o&&(0,s.jsx)(xn,{"data-testid":on}),(0,s.jsxs)(pn,{ref:c,className:W.u5.container,children:[(0,s.jsx)(vn,{name:"more-vert",title:f,"aria-label":f,onClick:function(){return l(!o)},"data-testid":cn}),(0,s.jsx)(yn,{isOpen:o,setIsOpen:l,preferenceRef:c,children:(0,s.jsxs)(mn,{children:[(0,s.jsx)(gn,{children:p}),(0,s.jsx)(hn,{ariaLabel:v,label:g,labelPosition:"left",baseColor:"baseAlt",checked:i,onChange:function(){!function(n){a(n);var e=n?"ap-select-on":"ap-select-off";(0,z.ar)(h,e)}(!i)}})]})})]})]})},pn=p.default.div.withConfig({componentId:"sc-334af191-0"})($(),W.u5.stickyActive),vn=(0,p.default)(v.IconBorderButton).withConfig({componentId:"sc-334af191-1"})(H()),mn=p.default.div.withConfig({componentId:"sc-334af191-2"})(Y(),(0,q.setPropertyToColorVar)("color","ipt-on-baseAlt-textPrimary-color")),gn=p.default.div.withConfig({componentId:"sc-334af191-3"})(K(),(0,q.setTypographyType)("body")),hn=(0,p.default)(v.Switch).withConfig({componentId:"sc-334af191-4"})(X(),(0,q.setTypographyType)("bodySmall"),(0,q.setPropertyToColorVar)("color","ipt-on-baseAlt-textSecondary-color")),yn=function(n){var e=(0,v.useBreakpointsAsConfig)(),t=e.xs||e.s?_n:bn;return(0,s.jsx)(t,(0,a.Z)({},n))},bn=function(n){var e=n.isOpen,t=n.setIsOpen,i=n.preferenceRef,a=n.children,r=function(n){i.current&&!i.current.contains(n.target)&&t(!1)};return u.useEffect((function(){return e?document.addEventListener("click",r,!0):document.removeEventListener("click",r,!0),function(){document.removeEventListener("click",r,!0)}}),[e]),(0,s.jsx)(wn,{isVisible:e,expandFrom:"top-right",mode:"anchored",menuID:"video-autoplay-preferences-menu-1",baseColor:"baseAlt",children:(0,s.jsx)(Pn,{"data-testid":ln,children:a})})},xn=p.default.div.withConfig({componentId:"sc-334af191-5"})(J()),wn=(0,p.default)(v.Menu).withConfig({componentId:"sc-334af191-6"})(nn()),Pn=p.default.div.withConfig({componentId:"sc-334af191-7"})(en()),_n=function(n){var e=n.isOpen,t=n.setIsOpen,i=n.children;return(0,s.jsx)(v.BottomSheet,{isOpen:e,onCloseClicked:function(){return t(!1)},closePromptLabel:(0,G.N)({id:"common_ariaLabel_closePrompt",defaultMessage:"Close Prompt"}),children:(0,s.jsx)(Tn,{"data-testid":sn,children:i})})},Tn=p.default.div.withConfig({componentId:"sc-334af191-8"})(tn()),In=["US","GB","CA","DE","IN"],Cn=function(){return function(n){var e,t,i=null===(e=(0,I.B)().context.sidecar)||void 0===e||null===(t=e.localizationResponse)||void 0===t?void 0:t.geolocationCountryCode;return!!i&&n.includes(i)}(In)},kn=t(14462),Sn="ov_vi",Nn="pr_ov_vi",An="videoPlayerSlate__show-player",Zn="videoPlayerSlate__hide-player";!function(n){n.Redirect="redirect",n.InlinePlaylist="inline-playlist",n.ClickToPlay="click-to-play"}(an||(an={})),function(n){n.Preview="preview",n.Playback="playback",n.Static="static"}(rn||(rn={}));var En=function(n){var e=n.constId,t=n.slateVideo,i=n.actionType,a=n.playbackPlayerInstance,r=(0,h.y)(),o=r.refTagPrefix,l=r.pageConst,s=(0,C.Oh)(),c=s.isPreferenceEnabled,d=s.initialPreferenceHasSet,f=(0,u.useState)(!1),p=f[0],v=f[1],m=(0,u.useState)(!1),g=m[0],y=m[1],b=(0,u.useState)(!1),x=b[0],w=b[1],P=(0,u.useState)(!1),T=P[0],I=P[1],k=(0,u.useState)(!1),S=k[0],N=k[1],A=(0,u.useState)(rn.Static),E=A[0],j=A[1],V=(0,u.useState)(""),M=V[0],L=V[1],O=function(){i===an.Redirect?j(rn.Preview):i===an.ClickToPlay?j(T?rn.Playback:rn.Preview):i===an.InlinePlaylist&&j(rn.Playback)};(0,u.useEffect)((function(){i&&a&&c&&!g&&O()}),[i,c,a]),(0,u.useEffect)((function(){a&&(c||g||(y(!0),(null===a||void 0===a?void 0:a.getIsStickyPlayerActive())||j(rn.Static)))}),[c]),(0,u.useEffect)((function(){!function(){if(i!==an.ClickToPlay||T){var n=E===rn.Preview?Nn:Sn;L("".concat(o,"_").concat(n))}else L("".concat(o,"_").concat(Nn))}(),a&&E===rn.Static&&(a.getIsPlayerDismissed()||a.stop())}),[E]),(0,u.useEffect)((function(){d&&v(!c||i===an.ClickToPlay)}),[i,d]);var R=function(){w(!0)},D=E!==rn.Static,U=E===rn.Preview||E===rn.Static,B=function(){R(),a&&(a.setHasUserInteracted(!0),a.getIsAgeGateEnabled()||a.setControls(!0))};(0,u.useEffect)((function(){S&&E===rn.Playback&&a&&(F(),N(!1))}),[E,S,a]);var F=function(){if(B(),a&&(a.setIsPlayerDismissed(!1),!a.getIsAgeGateEnabled())){a.setMute(!1);var n=a.getState()===Z.QT.idle;a.play(n?{pageAction:_.fZ.videoStart(l),refMarker:M}:void 0)}},Q="/video/".concat(t.id,"/?playlistId=").concat(e,"&ref_=").concat(M),q=(0,u.useMemo)((function(){return i===an.Redirect?{href:Q}:{onClick:function(){j(rn.Playback),I(!0),N(!0)}}}),[i,Q]);return i?{videoSlateState:E,slateActionProps:q,handleVideoPlayerOnClick:function(){var n=null===a||void 0===a?void 0:a.getCanEnableStickyPlayer();x||n&&(null===a||void 0===a||a.reportVideoTapMetric()),B()},shouldShowVideoPlayer:D,shouldShowOverlay:U,hasBeenFirstInteracted:x,shouldEnableFirstVideoAd:p,indicatePreviewComplete:function(){I(!0),j(rn.Static)},indicateFirstInteraction:R,indicateVideoPlay:function(){E!==rn.Static||S||O()},indicateVideoPlayInterrupted:function(){j(rn.Static),(null===a||void 0===a?void 0:a.getIsPlayerDismissed())&&!p&&v(!0)}}:{videoSlateState:E,slateActionProps:void 0,handleVideoPlayerOnClick:void 0,shouldShowVideoPlayer:!1,shouldShowOverlay:!0,hasBeenFirstInteracted:!1,shouldEnableFirstVideoAd:!1,indicatePreviewComplete:void 0,indicateFirstInteraction:void 0,indicateVideoPlay:void 0,indicateVideoPlayInterrupted:void 0}},jn=t(50930),Vn=t(72579),Mn=t.n(Vn),Ln=t(35355),On=t(44e3),Rn=t(14865);function Dn(n){return Rn.isBrowser?window.navigator.userAgent:n?n["user-agent"]:void 0}var Un=t(59759),Bn=function(n){var e,t,i,o,l=n.primaryVideo,s=n.shouldPauseQuery,c=n.enableFirstVideoAd,d=(0,h.y)(),f=d.pageType,p=d.subPageType,v=(0,u.useState)(0),m=v[0],g=v[1],y=(0,u.useState)(!1),b=y[0],x=y[1],w=(0,u.useState)(0),P=w[0],_=w[1],T=(0,Q.Z)((0,Ln.E8)({query:Un.HF,variables:{viconst:l.id,userAgent:null!==(t=Dn())&&void 0!==t?t:"",pageType:f,subPageType:p,viewportSize:void 0,autoStartVideo:!0},pause:s,context:{personalized:!0,serverSideCacheable:!1}}),1)[0],I=(0,u.useMemo)((function(){if(T.data)return function(n,e){for(var t=(0,jn.Z)(n),i=[];t.length;)i.push(t.splice(0,e));return i}(Mn()(T.data,"video.relatedVideos.edges",[]).map((function(n){return n.node.id})),3)}),[T.data]),C=(0,u.useMemo)((function(){var n,e;if(!T.data)return T.fetching?void 0:l;var t,i,o=l;c&&(null===(n=T.data)||void 0===n||null===(e=n.video)||void 0===e?void 0:e.webAdURL)&&(o=(0,r.Z)((0,a.Z)({},l),{webAdURL:null===(t=T.data)||void 0===t||null===(i=t.video)||void 0===i?void 0:i.webAdURL}));return o}),[T.error,T.data,c]),k=(0,On.NE)({query:Un.Bm,variables:{viconsts:null!==(i=null===I||void 0===I?void 0:I[m])&&void 0!==i?i:[],userAgent:null!==(o=Dn())&&void 0!==o?o:"",pageType:f,subPageType:p,viewportSize:void 0,autoStartVideo:!0},pause:!(null===I||void 0===I?void 0:I[m])||!C||s,resolveEdges:function(n,e){return function(n,e,t){var i,a;if(!n)return[];var r,o=null!==(a=null===e||void 0===e||null===(i=e.videos)||void 0===i?void 0:i.filter((function(n){var e;return null===n||void 0===n||null===(e=n.playbackURLs)||void 0===e?void 0:e.length})))&&void 0!==a?a:[],l=null!==(r=null===t||void 0===t?void 0:t.filter((function(e){return e.id!==n.id})))&&void 0!==r?r:[];return[n].concat(l).concat(o)}(C,n,e)},context:{personalized:!0,serverSideCacheable:!1}});return(0,u.useEffect)((function(){k.isFetching&&_(P+1)}),[k.isFetching]),(0,u.useEffect)((function(){(null===C||void 0===C?void 0:C.webAdURL)&&!b&&c&&(k.refreshEdges(),x(!0))}),[null===C||void 0===C?void 0:C.webAdURL]),(0,u.useEffect)((function(){var n;if(!(k.isFetching||P<=m)){var e,t,i=null!==(e=null===(n=k.items)||void 0===n?void 0:n.length)&&void 0!==e?e:0,a=null!==(t=null===I||void 0===I?void 0:I.length)&&void 0!==t?t:0;if(k.currentIndex>=i-2){var r=m+1;r<=a-1&&g(r)}}}),[k.currentIndex,k.items]),(0,r.Z)((0,a.Z)({},k),{currentItem:(null===(e=k.items)||void 0===e?void 0:e.length)?k.currentItem:C})},Fn=t(9826);function Qn(){var n=(0,l.Z)(["\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n &."," {\n visibility: visible;\n opacity: 1;\n transition: opacity 0.3s linear;\n }\n &."," {\n visibility: hidden;\n opacity: 0;\n transition: visibility 0s 0.3s, opacity 0.3s linear;\n }\n"]);return Qn=function(){return n},n}var qn=p.default.div.withConfig({componentId:"sc-5c51ab82-0"})(Qn(),An,Zn),Wn=t(47842),Gn=t(72779),zn=t.n(Gn),$n=t(59411),Hn=t(69173),Yn=t(87323),Kn="video-player__slate-play-icon",Xn="videoplayer__slate-overlay-content",Jn="videoplayer__slate-inline-playlist",ne="videoplayer__slate-reactions",ee="video-player-slate-action-text",te="video-player-slate-runtime",ie="video-player-slate-text",ae="video-player-slate-overlay",re="video-player-slate-reactions",oe=t(89221),le=t(91793);function se(){var n=(0,l.Z)(["\n padding-left: calc("," + "," + ",");\n background: linear-gradient(\n to top,\n transparent 3.3rem,\n "," 3.5rem,\n transparent 6.5rem\n );\n padding-bottom: ",";\n font-size: 2.25rem;\n\n &."," {\n justify-content: flex-end;\n flex-grow: 1;\n\n ."," {\n flex-grow: 1;\n align-items: stretch;\n }\n }\n\n "," {\n padding-left: ",";\n font-size: 2.75rem;\n background: none;\n }\n\n "," {\n justify-content: flex-start;\n padding-left: ",";\n font-size: 3rem;\n }\n\n "," {\n font-size: 3.75rem;\n }\n\n ."," {\n width: calc(3rem + 5%);\n height: 3rem;\n padding-left: 5%;\n\n "," {\n width: 3.75rem;\n height: 3.75rem;\n padding-left: 0;\n }\n\n "," {\n position: static;\n height: 3rem;\n width: 3rem;\n\n margin: 0;\n margin-right: 0.5rem;\n }\n\n "," {\n height: 3.75rem;\n width: 3.75rem;\n }\n }\n\n &."," {\n background: linear-gradient(\n to top,\n transparent 0rem,\n "," 0rem,\n transparent 3rem\n );\n\n justify-content: flex-start;\n padding-left: 1rem;\n\n ."," {\n "," {\n width: 3rem;\n padding-left: 0;\n }\n }\n }\n"]);return se=function(){return n},n}function ce(){var n=(0,l.Z)(["\n ","\n padding-right: ",";\n\n ."," & {\n flex-grow: 1;\n display: grid;\n align-items: center;\n padding-right: 0;\n }\n"]);return ce=function(){return n},n}function de(){var n=(0,l.Z)(["\n margin-bottom: 0;\n"]);return de=function(){return n},n}function ue(){var n=(0,l.Z)(["\n ","\n margin-right: ",";\n\n "," {\n ","\n font-weight: 400;\n }\n"]);return ue=function(){return n},n}function fe(){var n=(0,l.Z)(["\n ","\n ","\n"]);return fe=function(){return n},n}function pe(){var n=(0,l.Z)(["\n ","\n margin-right: ",";\n\n "," {\n ","\n font-weight: 400;\n }\n"]);return pe=function(){return n},n}function ve(){var n=(0,l.Z)(["\n ","\n ","\n ","\n\n "," {\n ","\n ","\n }\n "," {\n ","\n }\n"]);return ve=function(){return n},n}var me=(0,p.default)(v.Slate.Overlay).withConfig({componentId:"sc-d7fcdef3-0"})(se(),"25vw",q.spacing.m,q.spacing.m,(0,q.getColorVarValue)("ipt-baseAlt-shade3-color"),q.spacing.m,ne,Xn,q.mediaQueries.breakpoints.above.m,q.spacing.s,oe.M.breakpoints.above.l,q.spacing.m,q.mediaQueries.breakpoints.above.xl,Kn,q.mediaQueries.breakpoints.above.m,oe.M.breakpoints.above.l,q.mediaQueries.breakpoints.above.xl,Jn,(0,q.getColorVarValue)("ipt-baseAlt-shade3-color"),Kn,q.mediaQueries.breakpoints.below.m),ge=p.default.div.withConfig({componentId:"sc-d7fcdef3-1"})(ce(),(0,q.setTypographyType)("body"),q.spacing.m,ne),he=(p.default.div.withConfig({componentId:"sc-d7fcdef3-2"})(de()),p.default.span.withConfig({componentId:"sc-d7fcdef3-3"})(ue(),(0,q.setTypographyType)("body"),q.spacing.xs,oe.M.breakpoints.above.l,(0,q.setTypographyType)("headline5")),p.default.span.withConfig({componentId:"sc-d7fcdef3-4"})(fe(),(0,q.setTypographyType)("body"),(0,q.setPropertyToColorVar)("color","ipt-on-baseAlt-textPrimary-color"))),ye=p.default.span.withConfig({componentId:"sc-d7fcdef3-5"})(pe(),(0,q.setTypographyType)("body"),q.spacing.xs,q.mediaQueries.breakpoints.above.l,(0,q.setTypographyType)("headline5")),be=p.default.div.withConfig({componentId:"sc-d7fcdef3-6"})(ve(),(0,q.setTypographyType)("copyright"),(0,q.setPropertyToColorVar)("color","ipt-on-baseAlt-textSecondary-color"),(0,le.S)(2),q.mediaQueries.breakpoints.above.l,(0,q.setTypographyType)("bodySmall"),(0,le.S)(1),q.mediaQueries.breakpoints.above.xl,(0,q.setTypographyType)("body"));function xe(){var n=(0,l.Z)(["\n justify-self: flex-end;\n align-self: flex-end;\n grid-column: 2;\n"]);return xe=function(){return n},n}function we(){var n=(0,l.Z)(["\n grid-column: 1;\n"]);return we=function(){return n},n}var Pe=function(n){var e,t,i,a,r,o,l,c,d,p,v=n.slateVideo,m=n.slateActionOverwriteText,g=n.isVideoInlinePlaylist,h=(0,f.Z)(),y=(0,x.hg)({weblabID:b.lh.IMDB_REACTIONS_ON_VIDEO_831329,treatments:{T1:!0}}),w=(0,Yn.Z)({videoName:null!==(d=null===v||void 0===v?void 0:v.name.value)&&void 0!==d?d:"",contentTypeId:null===v||void 0===v||null===(e=v.contentType)||void 0===e?void 0:e.id,originalTitleText:null===v||void 0===v||null===(t=v.primaryTitle)||void 0===t||null===(i=t.originalTitleText)||void 0===i?void 0:i.text,titleText:null===v||void 0===v||null===(a=v.primaryTitle)||void 0===a||null===(r=a.titleText)||void 0===r?void 0:r.text,releaseYear:null===v||void 0===v||null===(o=v.primaryTitle)||void 0===o?void 0:o.releaseYear,canHaveEpisodes:null===v||void 0===v||null===(l=v.primaryTitle)||void 0===l||null===(c=l.titleType)||void 0===c?void 0:c.canHaveEpisodes}),P=(0,u.useMemo)((function(){var n,e;if(m)return m;var t=null===v||void 0===v||null===(n=v.contentType)||void 0===n||null===(e=n.displayName)||void 0===e?void 0:e.value,i=t?{id:"common_video_play",defaultMessage:"Play {videoType}"}:{id:"common_video_play_fallback",defaultMessage:"Play video"};return h.formatMessage(i,{videoType:null===t||void 0===t?void 0:t.toLowerCase()})}),[m]);return(0,s.jsx)(me,{iconName:"play-circle-outline-large-inline",iconType:"inline",iconPlacement:"centered",iconClassName:Kn,"data-testid":ae,contentClassName:Xn,className:zn()((p={},(0,Wn.Z)(p,Jn,g),(0,Wn.Z)(p,ne,y),p)),children:(0,s.jsxs)(ge,{children:[(0,s.jsxs)(Te,{children:[(0,s.jsx)(ye,{"data-testid":ee,children:P}),v.runtime&&(0,s.jsx)(he,{"data-testid":te,children:(0,s.jsx)(Hn.ZP,{seconds:v.runtime.value,format:"{minutes}:{seconds}",unitDisplay:"timer"})}),(0,s.jsx)(be,{"data-testid":ie,children:w})]}),y&&(0,s.jsx)(_e,{entityType:"video",associatedConstId:v.id,testIdSuffix:re})]})})},_e=(0,p.styled)($n.I)(xe()),Te=p.styled.div(we());function Ie(){var n=(0,l.Z)(["\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n\n display: flex;\n justify-content: center;\n align-items: center;\n\n background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),\n url(",");\n background-position: center;\n background-size: cover;\n background-repeat: no-repeat;\n\n z-index: 7; // higher than inline playback\n"]);return Ie=function(){return n},n}function Ce(){var n=(0,l.Z)(["\n &."," {\n display: none;\n }\n"]);return Ce=function(){return n},n}function ke(){var n=(0,l.Z)(["\n cursor: pointer;\n"]);return ke=function(){return n},n}var Se="hide-player",Ne=function(n){return(0,s.jsx)(C.F1,{children:(0,s.jsx)(Ae,(0,a.Z)({},n))})},Ae=function(n){var e,t,i,o=(0,f.Z)(),l=(0,u.useRef)(null),c=(0,h.y)(),p=c.pageType,g=c.subPageType,y=(0,u.useState)(!1),b=y[0],x=y[1],w=(0,u.useState)(!1),P=w[0],_=w[1],T=(0,u.useState)(!1),I=T[0],C=T[1],k=(0,u.useState)(void 0),S=k[0],N=k[1],A=function(n){var e,t=null===n||void 0===n||null===(e=n.name)||void 0===e?void 0:e.value,i=t?{id:"common_video_watch_text",defaultMessage:"Watch {videoTitle}"}:{id:"common_video_watch_text_fallback",defaultMessage:"Watch video"},a=(0,G.N)(i,{videoTitle:t});return{image:n?(0,Fn.W)(n,a):void 0,label:a}}(n.primaryVideo),Z=Cn(),E=(0,u.useRef)((0,v.useBreakpointsAsConfig)()),j=En({constId:n.id,slateVideo:n.primaryVideo,actionType:S,playbackPlayerInstance:b?null===(e=l.current)||void 0===e?void 0:e.playerInstance:null}),V=j.videoSlateState,M=j.slateActionProps,L=j.shouldShowOverlay,O=j.shouldShowVideoPlayer,R=j.handleVideoPlayerOnClick,D=j.hasBeenFirstInteracted,U=j.shouldEnableFirstVideoAd,B=j.indicateFirstInteraction,F=j.indicateVideoPlay,Q=j.indicatePreviewComplete,q=j.indicateVideoPlayInterrupted;(0,u.useEffect)((function(){if(E.current){var n=an.Redirect;Z&&(n=an.InlinePlaylist,E.current.xs&&(n=an.ClickToPlay)),N(n)}}),[E]);var W=Bn({primaryVideo:n.primaryVideo,shouldPauseQuery:!Z,enableFirstVideoAd:U}),z=W.currentItem,$=W.gotoNextItem,H=W.gotoPreviousItem,Y=W.hasNextItem,K=W.hasPreviousItem,X=V===rn.Preview;(0,u.useEffect)((function(){D&&C(!0)}),[D]);var J=Z?n.primaryVideo.playbackURLs&&n.primaryVideo.playbackURLs.length>0:n.primaryVideo.previewURLs&&n.primaryVideo.previewURLs.length>0,nn=u.useMemo((function(){return z||(0,r.Z)((0,a.Z)({},n.primaryVideo),{playbackURLs:[],previewURLs:void 0})}),[z,n.primaryVideo]),en=(0,s.jsxs)(s.Fragment,{children:[!!J&&(0,s.jsx)(qn,{"data-testid":n.containerTestId,className:O&&(I||P)?An:Zn,children:(0,s.jsx)(Ze,{initialVideo:n.primaryVideo,playlistVideo:nn,ref:l,assetName:"INLINE_HERO",actionType:S,videoSlateState:V,locationRefMarker:n.locationRefMarker,hasBeenFirstInteracted:D,startVideoPlayback:null===M||void 0===M?void 0:M.onClick,indicateFirstInteraction:B,handleVideoPlayerOnClick:R,onReady:function(){x(!0)},onPlay:function(){C(!0),null===F||void 0===F||F()},onAdPlay:function(){C(!0),null===F||void 0===F||F()},onStop:function(){C(!1),null===q||void 0===q||q(),X&&(null===Q||void 0===Q||Q())},onComplete:function(){Y||C(!1),X&&(null===Q||void 0===Q||Q())},onNextPlaylistItem:function(){$()},onPreviousPlaylistItem:function(){H()},hasNextPlaylistItem:Y,hasPreviousPlaylistItem:K,onPlayerDismiss:function(n){n.eventData.dismissed&&(null===q||void 0===q||q())},onAgeGate:function(n){var e=n.eventData.enabled;_(e)}})}),(L||!I&&O)&&(0,s.jsx)(Pe,{slateVideo:n.primaryVideo,slateActionOverwriteText:X&&I?function(){var e,t=null===(e=n.primaryVideo.contentType)||void 0===e?void 0:e.displayName.value;return o.formatMessage(t?{id:"common_video_play_with_sound",defaultMessage:"Play {videoType} with sound"}:{id:"common_video_play_with_sound_fallback",defaultMessage:"Play video with sound"},{videoType:null===t||void 0===t?void 0:t.toLowerCase()})}():"",isVideoInlinePlaylist:Z||n.forceInlinePlaylistOverlay})]}),tn=d()({imageProps:{imageModel:null===A||void 0===A?void 0:A.image,loading:"eager"},ariaLabel:A.label,dynamicWidth:!0},n.wrapperComponentOverrides,{className:"".concat(Z?null===(t=n.wrapperComponentOverrides)||void 0===t?void 0:t.inlineClassName:void 0," ").concat(null===(i=n.wrapperComponentOverrides)||void 0===i?void 0:i.className)},M),on=n.wrapperComponentType||Ve,ln=(0,s.jsx)(on,(0,r.Z)((0,a.Z)({},tn),{children:en}));return(0,s.jsxs)(m.mW,{value:{type:Z?"video":p,subType:Z?"inline":g,id:Z&&z?z.id:n.primaryVideo.id},children:[(0,s.jsx)(fn,{experience:S===an.InlinePlaylist?"playback":"preview"}),ln]})},Ze=(0,u.forwardRef)((function(n,e){var t=n.initialVideo,i=n.playlistVideo,l=n.assetName,c=n.locationRefMarker,d=n.videoSlateState,f=n.actionType,p=n.hasBeenFirstInteracted,m=(n.hasNextPlaylistItem,n.hasPreviousPlaylistItem,(0,o.Z)(n,["initialVideo","playlistVideo","assetName","locationRefMarker","videoSlateState","actionType","hasBeenFirstInteracted","hasNextPlaylistItem","hasPreviousPlaylistItem"])),h=(0,g.V)(),y=(0,u.useRef)(null),b=(0,u.useRef)(null),x=(0,u.useState)(!1),w=x[0],P=x[1],_=(0,u.useState)(!1),T=_[0],I=_[1],C=(0,u.useState)(!1),k=C[0],S=C[1],N=(f===an.Redirect||f===an.ClickToPlay)&&!w,A=f===an.InlinePlaylist||f===an.ClickToPlay;if((0,u.useEffect)((function(){if(e)switch(f){case an.InlinePlaylist:case an.ClickToPlay:e.current=b.current;break;case an.Redirect:e.current=y.current;break;default:e.current=null}})),(0,u.useEffect)((function(){var n,e;p&&(null===(n=y.current)||void 0===n||null===(e=n.playerInstance)||void 0===e||e.stop())}),[p]),(0,u.useEffect)((function(){d===rn.Playback&&P(!0)}),[d]),h)return(0,s.jsx)(R.G,{video:t});m.onNextPlaylistItem,m.onPreviousPlaylistItem,m.indicateFirstInteraction,m.handleVideoPlayerOnClick;var Z=(0,o.Z)(m,["onNextPlaylistItem","onPreviousPlaylistItem","indicateFirstInteraction","handleVideoPlayerOnClick"]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(O.k,{}),N&&(0,s.jsx)(B,(0,r.Z)((0,a.Z)({video:t,assetName:l+"_preview",locationRefMarker:c},Z),{onComplete:function(n){var e;null===m||void 0===m||null===(e=m.onComplete)||void 0===e||e.call(m,n),n.videoInstance.stop()},ref:y})),A&&(0,s.jsxs)(s.Fragment,{children:[!k&&(0,s.jsx)(Ee,{backgroundImage:(0,kn.c)(i.thumbnail.url),"data-testid":"inline-video-start-loader",children:(0,s.jsx)(v.Loader,{})}),(0,s.jsx)(je,(0,r.Z)((0,a.Z)({},n),{video:i,className:d===rn.Playback||w?void 0:Se,onPlaylistItemUpdate:function(e){var t,i;f===an.ClickToPlay&&p&&!T&&(null===(i=n.startVideoPlayback)||void 0===i||i.call(n));null===(t=n.onPlaylistItemUpdate)||void 0===t||t.call(n,e),S(!0)},onPlay:function(e){var t;I(!0),null===(t=n.onPlay)||void 0===t||t.call(n,e)},onAdPlay:function(e){var t;I(!0),null===(t=n.onAdPlay)||void 0===t||t.call(n,e)},assetName:l+"_playback",ref:b}))]})]})})),Ee=p.default.div.withConfig({componentId:"sc-acc886f0-0"})(Ie(),(function(n){return n.backgroundImage})),je=(0,p.default)(M).withConfig({componentId:"sc-acc886f0-1"})(Ce(),Se),Ve=(0,p.default)(v.Slate).withConfig({componentId:"sc-acc886f0-2"})(ke())},29982:function(n,e,t){t.d(e,{K8:function(){return p},V4:function(){return v},p6:function(){return h},sZ:function(){return m},sq:function(){return g}});var i=t(92228),a=t(30382),r=t.n(a);function o(){var n=(0,i.Z)(["\n fragment SharedVideoTextTrack on VideoTimedTextTrack {\n displayName {\n value\n language\n }\n refTagFragment\n type\n language\n url\n }\n"]);return o=function(){return n},n}function l(){var n=(0,i.Z)(["\n fragment SharedVideoPreviewUrls on Video {\n previewURLs {\n displayName {\n value\n language\n }\n videoMimeType\n videoDefinition\n url\n }\n }\n"]);return l=function(){return n},n}function s(){var n=(0,i.Z)(["\n fragment SharedVideoPlaybackUrls on Video {\n playbackURLs(\n filter: { mimeTypes: [MP4], definitions: [DEF_SD, DEF_480p] }\n ) {\n displayName {\n value\n language\n }\n videoMimeType\n videoDefinition\n url\n }\n }\n"]);return s=function(){return n},n}function c(){var n=(0,i.Z)(["\n fragment SharedVideoAllPlaybackUrls on Video {\n playbackURLs {\n displayName {\n value\n language\n }\n videoMimeType\n videoDefinition\n url\n }\n }\n"]);return c=function(){return n},n}function d(){var n=(0,i.Z)(["\n fragment SharedVideoWebAd on Video {\n webAdURL(\n adParameters: {\n userAgent: $userAgent\n pageType: $pageType\n subPageType: $subPageType\n viewportSize: $viewportSize\n autoStartVideo: $autoStartVideo\n }\n )\n }\n"]);return d=function(){return n},n}function u(){var n=(0,i.Z)(["\n fragment SharedVideoRoot on Video {\n id\n createdDate\n isMature\n runtime {\n value\n }\n name {\n value\n language\n }\n description {\n value\n language\n }\n timedTextTracks(filter: { format: SRT }) {\n ...SharedVideoTextTrack\n }\n recommendedTimedTextTrack(filter: { format: SRT }) {\n ...SharedVideoTextTrack\n }\n thumbnail {\n url\n height\n width\n }\n primaryTitle {\n id\n titleText {\n text\n }\n originalTitleText {\n text\n }\n releaseYear {\n year\n }\n }\n }\n ","\n"]);return u=function(){return n},n}var f=r()(o()),p=r()(l()),v=r()(s()),m=r()(c()),g=r()(d()),h=r()(u(),f)},53011:function(n,e,t){t.d(e,{O:function(){return r}});var i=t(31619),a=t(9826),r=function(n){var e,t,r,o=null===(e=n.primaryVideos)||void 0===e||null===(t=e.edges)||void 0===t||null===(r=t[0])||void 0===r?void 0:r.node,l=(0,i.N)({id:"common_video_watch_text",defaultMessage:"Watch {videoTitle}"},{videoTitle:(null===o||void 0===o?void 0:o.name.value)||""});if(o)return(0,a.W)(o,l)}}}]);