"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9378],{46982:function(e,t,i){var n=i(52322),r=i(30382),a=i.n(r);i(2784);var s=i(53665),o=i(19596),d=i(88169),l=i(86704),c=i(31885),u=i(86958),f=i(66724),p=i(11438),g=i(47708),m=i(30952),h=i(3322),x=i(96459);let I=a()` fragment ListPreviewCard on List { id lastModifiedDate createdDate name { originalText } listType { id } primaryImage { image { url height width caption { plainText } } } items(first: 0) { total } } `,_=e=>{let t,{listData:i,id:r,useLastModifiedDate:a,className:o,index:d}=e,l=(0,s.Z)(),I=(0,u.B)().context,{listMainLinkBuilder:_,pollSingleLinkBuilder:v,userRatingsLinkBuilder:j}=(0,f.WOb)();if(!i)return null;if(b(i)){let e=a?i.lastModifiedDate:i.createdDate,r=a?m.QH:m.Ks,s=m.wK[i.listType?.id||c.lZo.Lists];t={linkText:i.name?.originalText,linkHref:T(i)?j({urconst:I.sidecar?.account.userId??"",refSuffix:{t:p.Cd.EMPTY,n:d}}):_({lsconst:i.id,refSuffix:{t:p.Cd.EMPTY,n:d}}),defaultCaptionString:m.vk,subtext:(0,n.jsx)(x.l,{displayDate:e,displayDateStringId:r,itemCount:i.items?.total,itemType:s})}}else t={linkText:i.question?.originalText?.plainText||void 0,linkHref:v({pconst:i.id,refSuffix:{t:p.Cd.EMPTY,n:d}}),defaultCaptionString:m.qq};if(!t)return null;let w=i?.primaryImage?.image,P=w?.caption?.plainText||l.formatMessage(t.defaultCaptionString);return(0,n.jsx)(h.Ok,{borderType:"line",className:o,"data-testid":`ListPreviewCard-${r}`,children:(0,n.jsx)(h.dy,{href:t.linkHref,"data-testid":"preview-list-card-link",children:(0,n.jsxs)(h.CC,{children:[(0,n.jsxs)(h.lU,{subtext:!!t.subtext,children:[(0,n.jsx)(h.Gv,{className:"listName",children:t.linkText}),t.subtext]}),(0,n.jsx)(y,{children:(0,n.jsx)(C,{className:"poster",size:"xs",imageModel:w&&w.url&&w.height&&w.width?{url:w.url,maxHeight:w.height,maxWidth:w.width,caption:P}:void 0,imageType:b(i)?(0,g.i)(i?.listType?.id):"none"})})]})})})},T=e=>"RATINGS"===e.id,b=e=>void 0!==e.listType,y=o.default.div.withConfig({componentId:"sc-8335389b-0"})(["padding:",";"],l.spacing.xxs),C=(0,o.default)(d.PosterImage).withConfig({componentId:"sc-8335389b-1"})(["height:100%;"]);_.fragments={listPreviewCard:I},t.ZP=_},96568:function(e,t,i){i.d(t,{F0:function(){return d}}),i(52322);var n=i(30382),r=i.n(n);i(2784);var a=i(19596),s=i(88169),o=i(86704);i(66724),i(30952),i(3322);let d=r()` fragment PollPreviewCard on Poll { id question { originalText { plainText } } primaryImage { image { url height width caption { plainText } } } } `;a.styled.div.withConfig({componentId:"sc-e6efcf90-0"})(["padding:",";"],o.spacing.xxs),(0,a.styled)(s.PosterImage).withConfig({componentId:"sc-e6efcf90-1"})(["height:100%;"])},3322:function(e,t,i){i.d(t,{CC:function(){return c},Gv:function(){return u},Ok:function(){return d},dy:function(){return l},lU:function(){return o}});var n=i(19596),r=i(88169),a=i(86704),s=i(95441);let o=n.default.div.withConfig({componentId:"sc-781b9038-0"})(["display:flex;overflow:hidden;flex-direction:column;justify-content:",";padding:"," ",";"],e=>e.subtext?"space-between":"center",a.spacing.s,a.spacing.m),d=(0,n.default)(r.ListCard).withConfig({componentId:"sc-781b9038-1"})(["margin-bottom:",";padding:0;",";"],a.spacing.xs,(0,a.setPropertyToShapeVar)("border-radius","ipt-mediaRadius")),l=n.default.a.withConfig({componentId:"sc-781b9038-2"})(["text-decoration:none;color:inherit;&:hover .poster{opacity:0.8;}&:hover .listName{text-decoration:underline;}"]),c=n.default.div.withConfig({componentId:"sc-781b9038-3"})(["display:flex;justify-content:space-between;height:calc(6rem + ",");","{height:calc(5.75rem + 2px);}","{height:calc(5.75rem + 2px);}"],a.spacing.xxs,a.mediaQueries.breakpoints.only.s,a.mediaQueries.breakpoints.above.xl),u=n.default.div.withConfig({componentId:"sc-781b9038-4"})(["",";",";word-wrap:break-word;"],(0,a.setTypographyType)("bodySmall"),(0,s.S)(2))},96459:function(e,t,i){i.d(t,{l:function(){return c}});var n=i(52322);i(2784);var r=i(53665),a=i(19596),s=i(86704),o=i(20608),d=i(27513),l=i(30952);let c=e=>{let{displayDateStringId:t,displayDate:i,itemCount:a,itemType:s,fallbackMessage:c}=e,p=(0,r.Z)();if(!a&&!i&&!c)return null;let g=!!a,m=l.Pm[s];return(0,n.jsxs)(u,{children:[!i&&!a&&!!c&&p.formatMessage(c),!!i&&(0,n.jsx)("span",{children:(0,n.jsx)(o.q,{...t,values:{duration:(0,d.D2)(p,i)}})}),!!i&&!!g&&(0,n.jsxs)(f,{children:["\xa0","•","\xa0"]}),!!g&&(0,n.jsx)("span",{children:(0,n.jsx)(o.q,{...m,values:{count:a}})})]})},u=a.default.div.withConfig({componentId:"sc-457f093c-0"})(["display:flex;flex-direction:column;","{flex-direction:row;}","{flex-direction:row;}"," ",""],s.mediaQueries.breakpoints.only.s,s.mediaQueries.breakpoints.above.xl,(0,s.setTypographyType)("copyright"),(0,s.setPropertyToColorVar)("color","ipt-on-base-textSecondary-color")),f=a.default.span.withConfig({componentId:"sc-457f093c-1"})(["display:none;","{display:initial;}","{display:initial;}"],s.mediaQueries.breakpoints.only.s,s.mediaQueries.breakpoints.above.xl)},30952:function(e,t,i){var n,r;i.d(t,{JP:function(){return s},Ks:function(){return c},Pm:function(){return f},QH:function(){return l},Vy:function(){return u},oe:function(){return a},qq:function(){return o},vk:function(){return d},wK:function(){return n}});let a="RATINGS",s={id:"user_your_ratings",defaultMessage:"Your Ratings"},o={id:"pollPreviewCard_caption_default",defaultMessage:"View the full poll"},d={id:"listPreviewCard_caption_default",defaultMessage:"View the full list"},l={id:"listPreviewCard_last_modified",defaultMessage:"updated {duration} ago"},c={id:"listPreviewCard_created",defaultMessage:"created {duration} ago"},u={id:"export_expires_in",defaultMessage:"Expires in {duration}"};(r=n||(n={})).GALLERIES="GALLERIES",r.IMAGES="IMAGES",r.LISTS="LISTS",r.PEOPLE="PEOPLE",r.THEATRES="THEATRES",r.TITLES="TITLES",r.VIDEOS="VIDEOS";let f={GALLERIES:{id:"listPreviewCard_type_gallery",defaultMessage:"{count, plural, one {1 gallery} other {{count} galleries}}"},IMAGES:{id:"listPreviewCard_type_image",defaultMessage:"{count, plural, one {1 image} other {{count} images}}"},LISTS:{id:"listPreviewCard_type_list",defaultMessage:"{count, plural, one {1 list} other {{count} lists}}"},PEOPLE:{id:"listPreviewCard_type_person",defaultMessage:"{count, plural, one {1 person} other {{count} people}}"},THEATRES:{id:"listPreviewCard_type_theater",defaultMessage:"{count, plural, one {1 theater} other {{count} theaters}}"},TITLES:{id:"listPreviewCard_type_title",defaultMessage:"{count, plural, one {1 title} other {{count} titles}}"},VIDEOS:{id:"listPreviewCard_type_video",defaultMessage:"{count, plural, one {1 video} other {{count} videos}}"}}},11563:function(e,t,i){i.d(t,{S:function(){return c}});var n=i(52322),r=i(45455),a=i.n(r),s=i(2784),o=i(19596),d=i(88169),l=i(86704);let c=e=>{let t,{testId:i,cards:r,title:o,subTitle:l,titleHref:c,buttonConfig:m}=e;if(a()(r))return null;let h=Math.ceil(r.length/2),x=r.filter((e,t)=>tt>=h);m&&(t=(0,n.jsx)("span",{children:(0,n.jsx)(f,{preIcon:m.preIcon,ariaLabel:m.label,href:m.href,onSelect:m.onSelect,onColor:"textPrimary",children:m.label})}));let _=o&&(0,n.jsx)(d.Title,{description:l,href:c,children:o});return(0,n.jsxs)("div",{"data-testid":i,children:[!!(_||t)&&(0,n.jsxs)(u,{children:[_,t]}),(0,n.jsxs)(p,{children:[(0,n.jsx)(g,{"data-testid":`${i}-first-group`,children:x.map((e,t)=>(0,n.jsx)(s.Fragment,{children:e},`${i}-first-group-${t}`))}),(0,n.jsx)(g,{"data-testid":`${i}-second-group`,children:I.map((e,t)=>(0,n.jsx)(s.Fragment,{children:e},`${i}-second-group-${t}`))})]})]})},u=o.default.div.withConfig({componentId:"sc-8f3ed97c-0"})(["display:flex;justify-content:space-between;flex-direction:column;","{flex-direction:row;}","{flex-direction:column;}"],l.mediaQueries.breakpoints.above.s,l.mediaQueries.breakpoints.above.l),f=(0,o.default)(d.TextButton).withConfig({componentId:"sc-8f3ed97c-1"})(["justify-content:flex-start;margin:-"," "," "," ",";","{margin-top:-",";}","{margin-top:-",";}"],l.spacing.s,(0,l.getSpacingVar)("ipt-pageMargin"),l.spacing.xs,(0,l.getSpacingVar)("ipt-pageMargin"),l.mediaQueries.breakpoints.above.s,l.spacing.xxs,l.mediaQueries.breakpoints.above.l,l.spacing.s),p=o.default.div.withConfig({componentId:"sc-8f3ed97c-2"})(["","{display:flex;}"],l.mediaQueries.breakpoints.only.m),g=o.default.div.withConfig({componentId:"sc-8f3ed97c-3"})(["flex:1;min-width:0;margin-bottom:",";","{&:first-of-type{",";margin-right:",";}&:last-of-type{margin-left:",";",";}> div{margin-left:0;margin-right:0;}}"],l.spacing.xs,l.mediaQueries.breakpoints.only.m,(0,l.setPropertyToSpacingVar)("margin-left","ipt-pageMargin"),l.spacing.xs,l.spacing.xs,(0,l.setPropertyToSpacingVar)("margin-right","ipt-pageMargin"))},25749:function(e,t,i){i.d(t,{w:function(){return d}});var n=i(52322);i(2784);var r=i(19596),a=i(88169),s=i(86704),o=i(46982);let d=e=>{let t,{id:i,listData:r,title:s,subTitle:o,titleButtonHref:d,buttonConfig:g,useLastModifiedDate:m}=e,h=Math.ceil(r.length/2),x=r.filter((e,t)=>tt>=h);g&&(t=(0,n.jsx)("span",{children:(0,n.jsx)(u,{"data-testid":`SidebarList-button-${i}`,preIcon:g.preIcon,ariaLabel:g.label,href:g.href,onColor:"textPrimary",onSelect:g.onClick,onKeyDown:g.onKeyDown,children:g.label})}));let _=d?(0,n.jsx)(a.Title,{href:d,description:o,"data-testid":`SidebarList-title-${i}`,children:s}):(0,n.jsx)(a.Title,{description:o,"data-testid":`SidebarList-title-${i}`,children:s});return(0,n.jsxs)("div",{"data-testid":`SidebarList-${i}`,children:[(0,n.jsxs)(c,{children:[!!s&&_,t]}),(0,n.jsxs)(f,{children:[(0,n.jsx)(p,{"data-testid":`firstListCardGroup-${i}`,children:x.map((e,t)=>(0,n.jsx)(l,{listData:e.node,id:i,useLastModifiedDate:m,index:t+1},`sidebar-list-item-${t}`))}),(0,n.jsx)(p,{"data-testid":`secondListCardGroup-${i}`,children:I.map((e,t)=>(0,n.jsx)(l,{listData:e.node,id:i,useLastModifiedDate:m,index:t+1+h},`sidebar-list-item-${t+h}`))})]})]})},l=(0,r.default)(o.ZP).withConfig({componentId:"sc-2f4a6fec-0"})([""]),c=r.default.div.withConfig({componentId:"sc-2f4a6fec-1"})(["display:flex;justify-content:space-between;flex-direction:column;","{flex-direction:row;}","{flex-direction:column;}"],s.mediaQueries.breakpoints.above.s,s.mediaQueries.breakpoints.above.l),u=(0,r.default)(a.TextButton).withConfig({componentId:"sc-2f4a6fec-2"})(["justify-content:flex-start;margin:-"," "," "," ",";","{margin-top:-",";}","{margin-top:-",";}"],s.spacing.s,(0,s.getSpacingVar)("ipt-pageMargin"),s.spacing.xs,(0,s.getSpacingVar)("ipt-pageMargin"),s.mediaQueries.breakpoints.above.s,s.spacing.xxs,s.mediaQueries.breakpoints.above.l,s.spacing.s),f=r.default.div.withConfig({componentId:"sc-2f4a6fec-3"})(["","{display:flex;}"],s.mediaQueries.breakpoints.only.m),p=r.default.div.withConfig({componentId:"sc-2f4a6fec-4"})(["flex:1;min-width:0;margin-bottom:",";","{&:first-of-type{",";margin-right:",";}&:last-of-type{margin-left:",";",";}","{margin-left:0;margin-right:0;}}"],s.spacing.xs,s.mediaQueries.breakpoints.only.m,(0,s.setPropertyToSpacingVar)("margin-left","ipt-pageMargin"),s.spacing.xs,s.spacing.xs,(0,s.setPropertyToSpacingVar)("margin-right","ipt-pageMargin"),l)},69378:function(e,t,i){i.d(t,{z:function(){return w}});var n=i(52322),r=i(66898);i(2784);var a=i(19596),s=i(88169),o=i(80380),d=i(29914),l=i(82453),c=i(54588),u=i(49666),f=i(7771),p=i(91023),g=i(86704),m=i(47521),h=i(55129),x=i(22431),I=i(20608),_=i(29267),T=i(52866);let b=e=>{let{mainColumn:t,sidebar:i,onlyShowInline40OnDesktop:r,hideDefaultSidebarHeading:a}=e,o=(0,u.ik)(),d=a?"noPadding":"withPadding";return(0,n.jsx)(s.PageContentContainer,{children:(0,n.jsx)(y,{baseColor:"base",children:(0,n.jsxs)(s.PageGrid,{gutterBias:i?"left":"center",children:[(0,n.jsx)(s.PageGrid.Item,{span:i?2:3,children:(0,n.jsx)(C,{children:t})}),!!i&&(0,n.jsx)(s.PageGrid.Item,{span:1,children:(0,n.jsxs)(_._,{"data-test-id":T.z.RIGHT_RAIL_CONTENT_BLOCK,children:[!o&&(0,n.jsx)(n.Fragment,{children:r?(0,n.jsx)(h.QW,{onlyShowAtLargePlusBreakpoints:!0,name:x.A.INLINE40,nasConfig:{classNames:[x.A.INLINE40_SIDEBAR]}}):(0,n.jsx)(h.En,{name:x.A.INLINE40,nasConfig:{classNames:[x.A.INLINE40_SIDEBAR]}})}),(0,n.jsxs)(v,{className:`${T.z.RIGHT_RAIL_MORE_TO_EXPLORE} ${d}`,children:[!a&&(0,n.jsx)(s.SectionTitle,{"data-testid":"btf-wrapper-sb-head",children:(0,n.jsx)(I.q,{id:"common_more_to_explore",defaultMessage:"More to explore"})}),(0,n.jsx)(j,{className:d,children:i})]})]})})]})})})},y=(0,a.default)(s.PageBackground).withConfig({componentId:"sc-e1aae3e0-0"})(["min-height:50vh;overflow-x:clip;position:relative;"]),C=a.default.div.withConfig({componentId:"sc-e1aae3e0-1"})(["position:relative;"]),v=a.default.div.withConfig({componentId:"sc-e1aae3e0-2"})(["height:100%;margin:0 0 var(--ipc-pageSection-bottomMargin);&.withPadding{padding:"," 0;}&.noPadding{padding:0;}"],g.spacing.l),j=a.default.div.withConfig({componentId:"sc-e1aae3e0-3"})([""," height:100%;padding-top:",";position:relative;.sidebar-intersection{margin-bottom:-3rem;}&.withPadding{padding-top:",";}&.noPadding{padding-top:0;}"],m.n,g.spacing.xs,g.spacing.xs),w=e=>{let{aboveTheFold:t,belowTheFold:{mainColumn:i,sidebar:a},bottomGroup:s,useLightATFBackground:g,onlyShowInline40OnDesktop:m,hideDefaultSidebarHeading:h}=e,x=(0,u.ik)();return(0,n.jsxs)(l.ZP,{children:[!x&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.Z,{}),(0,n.jsx)(d.Z,{})]}),(0,n.jsxs)(P,{baseColor:"base",children:[(0,n.jsx)(c.Z,{parent:"TwoColumnPageLayout",name:"ATFWrapper",errorMessageType:"inline",children:(0,n.jsx)(p.Ql,{useLightATFBackground:g,children:t})}),(0,f.YN)(),(0,n.jsx)(r.CSAPageATFScript,{}),(0,n.jsx)(c.Z,{parent:"TwoColumnPageLayout",name:"BTFWrapper",errorMessageType:"inline",children:(0,n.jsx)(b,{mainColumn:(0,n.jsx)(c.Z,{parent:"TwoColumnPageLayout",name:"BTFWrapper.mainColumn",errorMessageType:"inline",children:i}),sidebar:a?(0,n.jsx)(c.Z,{parent:"TwoColumnPageLayout",name:"BTFWrapper.sidebar",errorMessageType:"inline",children:a}):void 0,onlyShowInline40OnDesktop:m,hideDefaultSidebarHeading:h})})]}),s]})},P=(0,a.default)(s.PageBackground).withConfig({componentId:"sc-358297d7-0"})(["position:relative;"])},91023:function(e,t,i){i.d(t,{Ql:function(){return b},M8:function(){return _}});var n=i(52322),r=i(72779),a=i.n(r);i(2784);var s=i(19596),o=i(88169),d=i(86704),l=i(86857),c=i(55129),u=i(22431),f=i(85843),p=i(21768),g=i(49666),m=i(57324),h=i(361);let x=(0,s.default)(h.Z).withConfig({componentId:"sc-cfbc1d3-0"})(["min-height:auto;margin:0 auto;background:rgba(var(--ipt-accent3-rgb),0.5);color:var(--ipt-on-accent3-color);height:100%;"]),I={theme:f.e.DARK},_="atf-background-theme-light",T="atf-background-theme-dark",b=e=>{let{children:t,useLightATFBackground:i}=e,r=(0,g.ik)();return(0,n.jsxs)(y,{baseColor:"baseAlt","data-testid":"atf-wrapper-bg",className:a()({[T]:!i,[_]:i}),children:[!r&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.z,{}),(0,n.jsx)(o.PageBackground,{baseColor:"baseAlt",className:p.R,children:(0,n.jsx)(o.PageContentContainer,{children:(0,n.jsx)(c.ZP,{name:u.A.INLINE20,nasConfig:I})})})]}),(0,n.jsxs)(C,{children:[(0,n.jsx)(x,{slotName:m.B.TOP_1}),(0,n.jsx)(x,{slotName:m.B.TOP_2}),(0,n.jsx)(x,{slotName:m.B.TOP_3})]}),(0,n.jsx)(o.SetPalette,{palette:i?"light":"dark",children:t})]})},y=(0,s.default)(o.PageBackground).withConfig({componentId:"sc-472eb479-0"})(["&.","{","}&.","{","}"],T,(0,d.setPropertyToColorVar)("background","ipt-baseAlt-shade1-bg"),_,(0,d.setPropertyToColorVar)("background","ipt-base-shade2-bg")),C=(0,s.default)(o.PageContentContainer).withConfig({componentId:"sc-472eb479-1"})(["position:relative;"])},52866:function(e,t,i){i.d(t,{z:function(){return n}});let n={INLINE_40_SMALL:"inline40-small",INLINE_40_LARGE:"inline40-large",INLINE_50_SMALL:"inline50-small",INLINE_50_LARGE:"inline50-large",INLINE_60_SMALL:"inline60-small",INLINE_60_LARGE:"inline60-large",INLINE_80_SMALL:"inline80-small",INLINE_80_LARGE:"inline80-large",PRIMARY_COLUMN_GROUP:"primary-column",RIGHT_RAIL_MORE_TO_EXPLORE:"right-rail-more-to-explore",RIGHT_RAIL_CONTENT_BLOCK:"right-rail-content-block"}},361:function(e,t,i){var n=i(52322);i(2784);var r=i(27722),a=i(88854),s=i(92550),o=i(73013);t.Z=e=>{let{className:t,...i}=e,d=(0,o.S)(),{isDebug:l}=(0,a.kp)();return d[i.slotName]||l?(0,n.jsx)(r.PageSection,{className:t,baseColor:"none",topPadding:"none",bottomPadding:"none",children:(0,n.jsx)(s.Z,{...i})}):null}},80592:function(e,t,i){i.d(t,{Z:function(){return d}});var n=i(52322);i(2784);var r=i(19596),a=i(86704),s=i(88959),o=i(361);function d(e){return(0,n.jsx)(l,{displayType:s.FO.SIDE,...e})}let l=(0,r.default)(o.Z).withConfig({componentId:"sc-2e2ec190-0"})([""," "," margin-top:0;margin-bottom:0;"],(0,a.setPropertyToSpacingVar)("margin-left","ipt-pageMargin"),(0,a.setPropertyToSpacingVar)("margin-right","ipt-pageMargin"))},57324:function(e,t,i){i.d(t,{B:function(){return n}});let n={BOTTOM_1:"bottom-1",BOTTOM_2:"bottom-2",CENTER_2:"center-2",CENTER_3:"center-3",CENTER_7:"center-7",CENTER_8:"center-8",CENTER_19:"center-19",CENTER_20:"center-20",PRO_RIGHT_1:"pro-right-1",RIGHT_3:"right-3",RIGHT_5:"right-5",RIGHT_7:"right-7",TOP_1:"top-1",TOP_2:"top-2",TOP_3:"top-3"}},15597:function(e,t,i){var n=i(52322),r=i(14865);i(2784);var a=i(31885),s=i(49996),o=i(55634),d=i(59002),l=i(11438),c=i(93184),u=i(58656),f=i(270);let p=e=>{let{pageConst:t}=(0,s.y)();return(0,n.jsx)(f.i,{id:"editorial",titleString:c.jX,subtitleString:c.Ug,showCreateListLink:!1,useLastModifiedDate:!0,queryOptions:{query:u.nm,variables:{itemId:t,topListType:a.Qrb.Editorial,first:c.in},context:{serverSideCacheable:!0,personalized:!1},pause:(0,r.getIsNode)()},queryTransform:e=>e.topListsForItem.edges,...e})};t.Z=e=>(0,n.jsx)(l.xm,{value:l.Cd.EDITORIAL_LIST,children:(0,n.jsx)(d.Lz,{componentId:o.NG.EditorialLists,children:(0,n.jsx)(p,{...e})})})},21836:function(e,t,i){var n=i(52322),r=i(14865);i(2784);var a=i(31885),s=i(49996),o=i(55634),d=i(59002),l=i(66724),c=i(11438),u=i(93184),f=i(58656),p=i(270);let g=e=>{let{pageConst:t=""}=(0,s.y)(),{listsRelatedLinkBuilder:i}=(0,l.WOb)();return(0,n.jsx)(p.i,{id:"user",titleString:u.Y3,titleHref:i({const:t,refSuffix:c.Cd.SEE_MORE}),subtitleString:u.T4,showCreateListLink:!0,useLastModifiedDate:!1,queryOptions:{query:f.nm,variables:{itemId:t,topListType:a.Qrb.All,first:u.in},context:{serverSideCacheable:!0,personalized:!1},pause:(0,r.getIsNode)()},queryTransform:e=>e.topListsForItem.edges,...e})};t.Z=e=>(0,n.jsx)(c.xm,{value:c.Cd.USER_LISTS,children:(0,n.jsx)(d.Lz,{componentId:o.NG.UserLists,children:(0,n.jsx)(g,{...e})})})},96033:function(e,t,i){i.d(t,{Z:function(){return _}});var n=i(52322),r=i(14865);i(2784);var a=i(19596),s=i(88169),o=i(25749),d=i(10105),l=i(75824),c=i(41174),u=i(49996),f=i(55634),p=i(59002),g=i(66724),m=i(11438);let h={PARENT:"SidebarPolls",LOADER:"user-polls__loader"},x=e=>{let{query:t,csaOnLoadHandler:i,csmOnLoadHandler:a,cel_widget_id:s,className:x}=e,{pageConst:_,pageType:T}=(0,u.y)(),{pollLinkBuilder:b}=(0,g.WOb)(),[y]=(0,c.E8)({query:t,variables:{itemId:_,pollCount:6},context:{serverSideCacheable:!0,personalized:!1},pause:r.isNode}),C=(0,l.N)({id:"feature_userPolls_title",defaultMessage:"User polls"}),v=(0,l.N)({id:"feature_userPolls_subTitle",defaultMessage:"Related polls from IMDb users"});if((0,p.LQ)(y,a,i),y.fetching)return(0,n.jsx)(d.ZP,{height:650,"data-testid":h.LOADER});let j=y.data?.[T]?.featuredPolls?.edges;return!j||j.length<=0||y.error?null:(0,n.jsx)(p.Lz,{componentId:f.NG.UserPolls,children:(0,n.jsx)(I,{"data-testid":h.PARENT,baseColor:"none",topPadding:"none",bottomPadding:"none",cel_widget_id:s,className:x,children:(0,n.jsx)(o.w,{id:"polls",listData:j,title:C,titleButtonHref:b({refSuffix:m.Cd.SEE_MORE}),subTitle:v})})})},I=(0,a.default)(s.PageSection).withConfig({componentId:"sc-b56ebeac-0"})([""]);var _=e=>(0,n.jsx)(m.xm,{value:m.Cd.USER_POLLS,children:(0,n.jsx)(x,{...e})})},68160:function(e,t,i){i.d(t,{G:function(){return s}});var n=i(30382),r=i.n(n),a=i(96568);let s=r()` query TitleUserPolls($itemId: ID!, $pollCount: Int!) { title(id: $itemId) { featuredPolls(first: $pollCount) { edges { node { ...PollPreviewCard } } } } } ${a.F0} `},270:function(e,t,i){i.d(t,{i:function(){return T}});var n=i(52322),r=i(67353),a=i(45455),s=i.n(a);i(2784);var o=i(53665),d=i(19596),l=i(88169),c=i(11563),u=i(25749),f=i(10105),p=i(84314),g=i(4363),m=i(59002),h=i(66724),x=i(11438),I=i(30634),_=i(93184);let T=e=>{let t,{id:i,titleString:a,titleHref:d,subtitleString:l,showCreateListLink:T,useLastModifiedDate:y,queryTransform:C,queryToCardTransform:v,queryOptions:j,csmOnLoadHandler:w,csaOnLoadHandler:P,cel_widget_id:L,className:E}=e,S=(0,o.Z)(),M=(0,p.n)(),{listCreateLinkBuilder:N}=(0,h.WOb)(),[k]=(0,g.E)(j);if((0,m.LQ)(k,w,P),k.error)return null;if(k.fetching)return(0,n.jsx)(f.lI,{height:_.fY,"test-id":`feature-${i}-lists__loader`});if(!k?.data)return null;if(T){let e=e=>{M||(e.preventDefault(),(0,I.rf)())};t={preIcon:"add",label:S.formatMessage(_.wm),href:N({refSuffix:x.Cd.EMPTY})},v?t.onSelect=t=>e(t):t={...t,onClick:t=>e(t),onKeyDown:t=>{(0,r.isEnterOrSpaceKey)(t)&&e(t)}}}if(v){let e=v(k.data);return s()(e)?null:(0,n.jsx)(b,{baseColor:"none",topPadding:"none",bottomPadding:"none",cel_widget_id:L,"data-testid":L,className:E,children:(0,n.jsx)(c.S,{testId:`SidebarList-${i}`,cards:e,title:a?S.formatMessage(a):void 0,subTitle:l?S.formatMessage(l):void 0,titleHref:d,buttonConfig:t})})}let R=C(k.data);return!R||s()(R)?null:(0,n.jsx)(b,{baseColor:"none",topPadding:"none",bottomPadding:"none",cel_widget_id:L,"data-testid":L,className:E,children:(0,n.jsx)(u.w,{id:i,listData:R,title:a?S.formatMessage(a):void 0,subTitle:l?S.formatMessage(l):void 0,titleButtonHref:d,buttonConfig:t,useLastModifiedDate:y})})},b=(0,d.default)(l.PageSection).withConfig({componentId:"sc-4e5231b9-0"})([""])},93184:function(e,t,i){i.d(t,{$B:function(){return b},KG:function(){return h},Qq:function(){return p},T4:function(){return d},Ug:function(){return c},Y3:function(){return o},YU:function(){return u},cj:function(){return T},dx:function(){return I},fY:function(){return a},in:function(){return r},jX:function(){return l},kg:function(){return n},n7:function(){return g},se:function(){return f},tu:function(){return x},uw:function(){return _},vc:function(){return m},wm:function(){return s}});let n=2,r=6,a=650,s={id:"feature_userLists_create",defaultMessage:"Create new list"},o={id:"feature_userLists_title",defaultMessage:"User lists"},d={id:"feature_userLists_subTitle",defaultMessage:"Related lists created by IMDb users"},l={id:"feature_editorialLists_title",defaultMessage:"Editorial lists"},c={id:"feature_editorialLists_subTitle",defaultMessage:"Related lists created by IMDb editors"},u={id:"feature_yourLists_title",defaultMessage:"Your lists"},f={id:"feature_yourExports_title",defaultMessage:"Your exports"},p={id:"user_your_watchlist",defaultMessage:"Your Watchlist"},g={id:"feature_yourPredefinedLists_watchlistDesc",defaultMessage:"Track the titles you want to watch"},m={id:"user_your_watch_history",defaultMessage:"Your Watch History"},h={id:"feature_yourPredefinedLists_watchHistoryDesc",defaultMessage:"Titles you have watched"},x={id:"user_your_ratings",defaultMessage:"Your Ratings"},I={id:"feature_yourPredefinedLists_ratingsDesc",defaultMessage:"Titles you have rated"},_={id:"user_your_checkins",defaultMessage:"Your Check-Ins"},T={id:"feature_yourPredefinedLists_checkinsDesc",defaultMessage:"Titles you are watching or have watched"},b={id:"common_last_modified",defaultMessage:"updated {duration} ago"}},58656:function(e,t,i){i.d(t,{L8:function(){return d},O_:function(){return o},nm:function(){return s}});var n=i(30382),r=i.n(n),a=i(46982);let s=r()` query ListCollectionConnection( $itemId: String! $first: Int! $topListType: TopListType! ) { topListsForItem( itemId: $itemId first: $first topListType: $topListType ) { edges { node { ...ListPreviewCard } } } } ${a.ZP.fragments.listPreviewCard} `,o=r()` query YourListsSidebar($first: Int!) { lists(first: $first, filter: { classTypes: [LIST] }) { edges { node { ...ListPreviewCard } } } } ${a.ZP.fragments.listPreviewCard} `,d=r()` query YourPredefinedListsSidebar { checkins: predefinedList(classType: CHECK_INS) { ...ListPreviewCard } ratings: userRatings(first: 1, sort: { by: MOST_RECENT, order: DESC }) { total edges { node { title { userRating { date } primaryImage { url height width caption { plainText } } } } } } watchHistory: userWatchedTitles(first: 1) { total edges { node { watchedStatus { firstWatched } title { primaryImage { url height width caption { plainText } } } } } } watchlist: predefinedList(classType: WATCH_LIST) { ...ListPreviewCard } } ${a.ZP.fragments.listPreviewCard} `},47521:function(e,t,i){i.d(t,{Z:function(){return ei},n:function(){return en}});var n,r,a=i(52322),s=i(2784),o=i(19596),d=i(52866),l=i(80592),c=i(57324),u=i(25436),f=i(55129),p=i(22431),g=i(86528),m=i(49666),h=i(49996),x=i(15597),I=i(21836),_=i(96033),T=i(30382),b=i.n(T),y=i(96568);let C=b()` query NameUserPolls($itemId: ID!, $pollCount: Int!) { name(id: $itemId) { featuredPolls(first: $pollCount) { edges { node { ...PollPreviewCard } } } } } ${y.F0} `;var v=i(68160),j=()=>{let{pageType:e}=(0,h.y)();return(0,a.jsxs)(a.Fragment,{children:[e===u.PageType.NAME&&(0,a.jsx)(_.Z,{query:C}),e===u.PageType.TITLE&&(0,a.jsx)(_.Z,{query:v.G})]})},w=i(53665),P=i(88169),L=i(47130),E=i(55634),S=i(59002),M=i(66724),N=i(11438),k=i(49624),R=i(83163),D=i(48687);let O=e=>{let{nameId:t,nameCreditsTotal:i,nameText:n}=e,r=(0,D.hg)({weblabID:R.lh.IMDB_NEXT_WATCHED_FEATURE_1045775,treatments:{T1:!0}}),s=(0,w.Z)(),{seenNameLinkBuilder:o,searchTitleLinkBuilder:d}=(0,M.WOb)();if(!t||!n||!i)return null;let l=s.formatMessage({id:"feature_seen_title",defaultMessage:"How much have you seen?"}),c=s.formatMessage({id:"feature_rated_title",defaultMessage:"How much have you rated?"}),f=s.formatMessage({id:"common_go_to_your_list",defaultMessage:"Go to your list."}),p=s.formatMessage({id:"feature_seen_content",defaultMessage:`Keep track of how much of {nameTextStr}’s work you have seen.`},{nameTextStr:n}),g=s.formatMessage({id:"feature_rated_content",defaultMessage:`Keep track of how much of {nameTextStr}’s work you have rated.`},{nameTextStr:n}),m=`${f}`,h=`${f}`;return(0,a.jsx)(L.AU,{value:{cti:u.CTIS.SEEN_CTI},children:(0,a.jsx)(S.wW,{componentId:E.NG.NameSeen,children:(0,a.jsx)(P.PageSection,{topPadding:"none",bottomPadding:"none",baseColor:"none","data-testid":"nm_ft_se",children:(0,a.jsxs)(P.ListCard,{borderType:"line",children:[(0,a.jsx)(A,{children:r?c:l}),(0,a.jsx)(P.HTMLContent,{html:(r?g:p)+" "+(r?h:m)})]})})})})};var $=e=>(0,a.jsx)(N.xm,{value:N.Cd.SEEN,children:(0,a.jsx)(O,{...e})});let A=(0,o.default)(P.Title).withConfig({componentId:"sc-755d0f8b-0"})(["padding:0;"]);var G=i(14865),Z=i(72779),H=i.n(Z),B=i(86704),q=i(10105),Q=i(75824),Y=i(4363),F=i(14438),V=i(37179);let U=`nm-dev-${V.QJ.SEE_MORE}`;(n=r||(r={})).Section="projectsInDevelopment-section",n.FeatureHeader="projectsInDevelopment-title",n.CreditList="projectsInDevelopment-credit-list",n.CreditListItem="projectsInDevelopment-credit-list-item",n.CardLoader="projectsInDevelopment-card-loader",n.Button="projectsInDevelopment-button";let W=b()` query NameMainProjectsInDev($nconst: ID!, $after: ID, $first: Int) { name(id: $nconst) { projectsInDevelopment(first: $first, after: $after) { total edges { node { title { id titleText { text } } } } pageInfo { endCursor } } } } `,z=e=>{let{className:t,nconst:i}=e,{makeRefMarker:n}=(0,N.Lz)(),{titleMainLinkBuilder:r}=(0,M.WOb)(),o=(0,F.EO)(),[d,l]=(0,s.useState)([]),[c,u]=(0,s.useState)({first:5,issueNewRequest:!0,endCursor:void 0}),[{data:f,fetching:p,error:g}]=(0,Y.E)({query:W,variables:{nconst:i,first:c.first,after:c.endCursor},context:{serverSideCacheable:!0,personalized:!1},pause:G.isNode||!c.issueNewRequest});(0,s.useEffect)(()=>{f&&c.issueNewRequest&&(l([...d,...f?.name?.projectsInDevelopment?.edges||[]]),u({...c,issueNewRequest:!1,endCursor:f?.name?.projectsInDevelopment?.pageInfo?.endCursor}))},[f]);let m=f?.name?.projectsInDevelopment?.total||0,h=m-d.length,x=h>0,I=(0,Q.N)({id:"name_main_rightrail_projectsInDevelopment_title",defaultMessage:"Projects In Development"}),_=(0,Q.N)({id:"name_main_rightrail_projectsInDevelopment_description",defaultMessage:"Get more at IMDbPro"}),T=(0,Q.N)({id:"common_pagination_remaining",defaultMessage:"{remaining} more"},{remaining:h});return!g&&m||p?(0,a.jsx)("div",{children:(0,a.jsxs)(P.PageSection,{"data-testid":"projectsInDevelopment-section",className:H()("projectsInDevelopment-section",t),topPadding:"none",bottomPadding:"none",sidePadding:"pageMargin",baseColor:"none",children:[(0,a.jsx)(P.Title,{description:_,"data-testid":"projectsInDevelopment-title",href:`https://pro.imdb.com/name/${i}?rf=cons_${n(N.Cd.DETAILS)}&ref_=cons_${n(N.Cd.DETAILS)}`,padding:"none",children:I}),(0,a.jsxs)(K,{borderType:"line",topPadding:"none",bottomPadding:"none",children:[(0,a.jsx)(P.MenuList,{className:"projectsInDevelopment-credit-list",children:!d.length&&p?(0,a.jsx)(q.ZP,{height:"feature","data-testid":"projectsInDevelopment-card-loader"}):d.map((e,t)=>{let i=e.node?.title?.id,n=e.node?.title?.titleText.text;if(i&&n)return(0,a.jsx)(X,{className:"projectsInDevelopment-credit-list-item",href:r({tconst:i,refSuffix:{t:N.Cd.EMPTY,n:t+1}}),children:n},`${i}_${t}`)})}),x&&(0,a.jsx)(J,{"data-testid":"projectsInDevelopment-button",isLoading:p,onClick:()=>{o({pageAction:U,refMarkerSuffix:N.Cd.NEXT}),u({...c,first:250,issueNewRequest:!0})},text:T})]})]})}):null},K=(0,o.default)(P.ListCard).withConfig({componentId:"sc-c2d2b8d-0"})(["padding:0;margin-left:0;margin-right:0;"]),X=(0,o.default)(P.MenuListItem).withConfig({componentId:"sc-c2d2b8d-1"})(["",";"],(0,B.setTypographyType)("bodySmall")),J=(0,o.default)(P.SeeMoreButton).withConfig({componentId:"sc-c2d2b8d-2"})(["display:block;border-top:1px solid ",";padding-bottom:",";padding-top:",";padding-left:",";"],(0,B.getColorVarValue)("ipt-base-border-color"),B.spacing.xs,B.spacing.xs,B.spacing.xs);var ee=e=>(0,a.jsx)(N.xm,{value:N.Cd.PROJECTS_IN_DEVELOPMENT,children:(0,a.jsx)(z,{...e})}),et=i(54518);let ei=e=>{let{nameSeenProps:t}=e,i=(0,m.ik)(),{pageType:n,pageConst:r}=(0,h.y)(),s=n===u.PageType.NAME,o=n===u.PageType.GALLERY,_=!!r;return(0,a.jsxs)(g.Z,{children:[(0,a.jsx)(l.Z,{slotName:c.B.RIGHT_3}),_&&(0,a.jsx)(x.Z,{}),!i&&(0,a.jsx)("span",{children:(0,a.jsx)(f.ZP,{name:p.A.INLINE60})}),(0,a.jsx)(l.Z,{slotName:c.B.RIGHT_5}),_&&(0,a.jsx)(I.Z,{}),_&&(0,a.jsx)(j,{}),(0,a.jsx)(et.U,{children:(0,a.jsxs)(er,{children:[(s||o)&&(0,a.jsxs)(a.Fragment,{children:[!i&&(0,a.jsx)(f.ZP,{"data-test-id":d.z.INLINE_80_LARGE,name:p.A.INLINE80}),(0,a.jsx)(l.Z,{slotName:c.B.PRO_RIGHT_1})]}),s&&(0,a.jsx)($,{...t}),_&&s&&(0,a.jsx)(ee,{nconst:r}),(0,a.jsx)(l.Z,{slotName:c.B.RIGHT_7})]})})]})},en=(0,o.css)(["display:flex;flex-direction:column;gap:3rem;"]),er=o.default.div.withConfig({componentId:"sc-c6b62efa-0"})([""," height:100%;.non-name-page{gap:0;}"],en)},54518:function(e,t,i){i.d(t,{U:function(){return s}});var n=i(52322);i(2784);var r=i(19596),a=i(86704);let s=e=>(0,n.jsx)(o,{"data-testid":"sidebar-sticky-block",children:e.children}),o=r.default.div.withConfig({componentId:"sc-70b886ea-0"})(["","{margin-bottom:23rem;position:-webkit-sticky;position:sticky;top:0;}"],a.mediaQueries.breakpoints.above.l)},27513:function(e,t,i){var n,r;i.d(t,{D2:function(){return u},LU:function(){return c},_J:function(){return s},dR:function(){return l},ez:function(){return n}});let a="formatters_duration";(r=n||(n={})).SECOND="second",r.MINUTE="minute",r.HOUR="hour",r.DAY="day",r.WEEK="week",r.MONTH="month",r.YEAR="year";let s={second:()=>1e3,minute:()=>60*s.second(),hour:()=>60*s.minute(),day:()=>24*s.hour(),week:()=>7*s.day(),month:()=>4.35*s.week(),year:()=>12*s.month()},o=(e,t,i,n)=>{let r=s[i](),o=n&&s[n](),d=0;return((o?t=2*r:t>=2*r)?d=Math.floor(t/r):t<2*r&&t>=r&&(d=1),d)?e.formatMessage({id:`${a}_${i}`,defaultMessage:`{count, plural, one {1 ${i}} other {{count} ${i}s}}`},{count:d}):""},d=e=>e instanceof Date&&!isNaN(e.getTime()),l=(e,t,i)=>{let n=i?new Date(i):new Date;return c(e,new Date(t),n)},c=(e,t,i)=>{if(!d(i)||!d(t))return"";let n=i.getTime()-t.getTime();if(n>=s.year())return o(e,n,"year");if(n=s.month())return o(e,n,"month","year");if(n=s.week())return o(e,n,"week","month");if(n=s.day())return o(e,n,"day","week");if(n=s.hour())return o(e,n,"hour","day");if(n=s.minute())return o(e,n,"minute","hour");if(n=s.second())return o(e,n,"second","minute");else if(n2)||void 0===arguments[2]||arguments[2],n=new Date;return nn.B()?.context?.sidecar?.placementMap||{}}}]);