1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[843],{22308:function(e,n,t){t.d(n,{G:function(){return u},Z:function(){return d}});var r=t(56168);function o(){return o=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},o.apply(this,arguments)}function i(e,n){return i=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e},i(e,n)}var l=function(e){var n,t;function l(){return e.apply(this,arguments)||this}t=e,(n=l).prototype=Object.create(t.prototype),n.prototype.constructor=n,i(n,t);var s=l.prototype;return s.getColumns=function(){var e=this.props,n=e.children,t=e.columnsCount,o=Array.from({length:t},(function(){return[]}));return r.Children.forEach(n,(function(e,n){e&&r.isValidElement(e)&&o[n%t].push(e)})),o},s.renderColumns=function(){var e=this.props.gutter;return this.getColumns().map((function(n,t){return r.createElement("div",{key:t,style:{display:"flex",flexDirection:"column",justifyContent:"flex-start",alignContent:"stretch",flex:1,width:0,gap:e}},n.map((function(e){return e})))}))},s.render=function(){var e=this.props,n=e.gutter,t=e.className,i=e.style;return r.createElement("div",{style:o({display:"flex",flexDirection:"row",justifyContent:"center",alignContent:"stretch",boxSizing:"border-box",width:"100%",gap:n},i),className:t},this.renderColumns())},l}(r.Component);l.propTypes={},l.defaultProps={columnsCount:3,gutter:"0",className:null,style:{}};var s=l,a=function(){var e=function(){var e=(0,r.useState)(!1),n=e[0],t=e[1];return(0,r.useEffect)((function(){t(!0)}),[]),n}(),n=(0,r.useState)(0),t=n[0],o=n[1],i=(0,r.useCallback)((function(){e&&o(window.innerWidth)}),[e]);return(0,r.useEffect)((function(){if(e)return window.addEventListener("resize",i),i(),function(){return window.removeEventListener("resize",i)}}),[e,i]),t},c=function(e){var n=e.columnsCountBreakPoints,t=e.children,o=e.className,i=e.style,l=a(),s=(0,r.useMemo)((function(){var e=Object.keys(n).sort((function(e,n){return e-n})),t=e.length>0?n[e[0]]:1;return e.forEach((function(e){e<l&&(t=n[e])})),t}),[l,n]);return r.createElement("div",{className:o,style:i},r.Children.map(t,(function(e,n){return r.cloneElement(e,{key:n,columnsCount:s})})))};c.propTypes={},c.defaultProps={columnsCountBreakPoints:{350:1,750:2,900:3},className:null,style:null};var u=c,d=s},15414:function(e,n,t){var r=t(5447),o=t(99728),i=t(27427),l=t(8014),s=t(34237),a=t(40137),c="\n@keyframes scroll_indicator_bounce {\n 0% {\n opacity: 0;\n transform: translateY(-5px);\n }\n 40%,\n 50%,\n 70% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n transform: translateY(5px);\n }\n}\n\nanimation: scroll_indicator_bounce 2s;\nanimation-iteration-count: 3;\n";n.Z=function(e){var n=e.iconFill,t=void 0===n?"base.1":n,u=(0,i.Z)(e,["iconFill"]);return(0,l.jsx)(s.kC,(0,o.Z)((0,r.Z)({justify:"center",pointerEvents:"none",opacity:"0",css:c},u),{children:(0,l.jsx)(a.Z,{icon:"rightarrow",fill:t,transform:"rotate(90deg)"})}))}},43107:function(e,n,t){t.d(n,{R:function(){return p}});var r=t(5447),o=t(99728),i=t(27427),l=t(8014),s=t(34237),a=t(77567),c=t(75657),u=t.n(c),d=t(90319),p="\n& > span,\nimg {\n width: 100% !important;\n height: auto !important;\n}\n";n.Z=function(e){var n,t,c,x,v,f=e.artist,m=(0,i.Z)(e,["artist"]),b=f.name,h=f.profile,g=f.slug;return(0,l.jsx)(u(),{href:g?"artists/".concat(g):"#",passHref:!0,children:(0,l.jsxs)(s.xu,(0,o.Z)((0,r.Z)({as:"a",m:{base:"0",md:"40px 0",lg:"60px 0"}},m),{children:[(0,l.jsx)(s.kC,{position:"relative",mb:{base:"20px",md:"25px"},css:p,children:(0,l.jsx)(a.Z,{src:(0,d.Jn)(null===(n=h.profile_image)||void 0===n||null===(t=n.sizes)||void 0===t?void 0:t.medium.url),alt:b,layout:"intrinsic",objectFit:"cover",width:260,height:390,lazyBoundary:"300px",placeholder:"blur",blurDataURL:(0,d.Jn)(null===(c=h.profile_image)||void 0===c||null===(x=c.sizes)||void 0===x?void 0:x.small.url)})}),(0,l.jsx)(s.xv,{mb:{base:"5px",md:"10px"},variant:"titleS",children:b}),(0,l.jsx)(s.xv,{variant:"overline",color:"base.3",minH:"15px",children:null===h||void 0===h||null===(v=h.country)||void 0===v?void 0:v.name})]}))})}},14960:function(e,n,t){var r=t(5447),o=t(99728),i=t(27427),l=t(8014),s=t(34237),a=t(40137);n.Z=function(e){var n=e.images,t=e.textVariant,c=void 0===t?"ctaSecondary":t,u=e.iconSize,d=void 0===u?24:u,p=e.color,x=void 0===p?"base.6":p,v=(0,i.Z)(e,["images","textVariant","iconSize","color"]);return n.length>1?(0,l.jsxs)(s.kC,(0,o.Z)((0,r.Z)({align:"center",mr:"20px"},v),{children:[(0,l.jsx)(a.Z,{icon:"galleryIcon",fill:x,size:d}),(0,l.jsx)(s.xv,{color:x,variant:c,ml:"5px",children:"+".concat(n.length-1)})]})):null}},46687:function(e,n,t){var r=t(43692),o=t(5447),i=t(99728),l=t(27427),s=t(44453),a=t.n(s),c=t(8014),u=t(34237),d=t(40137),p=t(14131),x=t(56168),v=t(98421),f=t(25167);n.Z=function(e){var n=e.loaded,t=e.voted,s=e.setVoted,m=e.slug,b=(0,l.Z)(e,["loaded","voted","setVoted","slug"]),h=(0,x.useState)(!1),g=h[0],j=h[1],C=(0,f.Z)(),y=(0,x.useCallback)((0,r.Z)(a().mark((function e(){var n;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return j(!0),e.next=3,C({path:"/api/public/pva-votes/vote/".concat(m,"/"),method:"POST"});case 3:(n=e.sent.status)!==v.RS.HTTP_201_CREATED&&n!==v.RS.HTTP_200_OK||s(),j(!1);case 6:case"end":return e.stop()}}),e)}))),[C,s,m]);return n?(0,c.jsx)(p.Z,(0,i.Z)((0,o.Z)({onClick:y,leftIcon:(0,c.jsx)(d.Z,{icon:"voteicon",fill:t?"accent1.2":"base.1"}),bg:t?"base.2":"accent1.3",_hover:t?{bg:"base.3"}:{bg:"accent1.2"},color:t?"base.6":"base.1",size:"sm",isDisabled:g,opacity:"1 !important"},b),{children:(0,c.jsxs)(u.xv,{variant:"ctaSecondary",children:[t?"Voted":"Vote"," "]})}
1)):null}},82852:function(e,n,t){var r=t(8014),o=t(34237),i=t(40137),l=t(16019),s=t(63764),a=t(14131),c=t(76044),u=t(47011),d=t(85085),p=t(98421),x=t(46687),v=t(87658);n.Z=(0,d.Pi)((function(e){var n=e.nominee,t=e.voted,d=e.loaded,f=e.setVoted,m=e.onBackClick,b=n.user,h=(0,u.L)().siteUrl,g="".concat(h).concat(p.Kb.PCA,"/").concat(n.slug),j=(0,c.WI)().secondary,C=(0,c.pn)(),y=C.bg,Z=C.accentColor,w=C.textColor,k=(0,c.CC)().variant;return(0,r.jsxs)(o.kC,{bg:y,borderBottom:"1px solid",borderColor:j,children:[(0,r.jsx)(o.kC,{borderRight:"1px solid",borderColor:j,p:{base:"20px",lg:"20px 30px 20px 60px"},children:(0,r.jsx)(v.Z,{color:Z,onClick:m})}),(0,r.jsxs)(o.kC,{p:{base:"20px",lg:"20px 60px 20px 40px"},w:"100%",justify:"space-between",children:[(0,r.jsx)(o.kC,{justify:"space-between",children:(0,r.jsx)(s.Z,{user:b,color:w})}),(0,r.jsx)(o.kC,{justify:"space-between",children:(0,r.jsxs)(o.kC,{align:"center",children:[(0,r.jsx)(l.Z,{url:g,variant:k,renderButton:(0,r.jsx)(a.Z,{as:"span",border:"1px solid",borderRadius:"4px",borderColor:w,bg:y,size:"sm",mr:"10px",leftIcon:(0,r.jsx)(i.Z,{fill:w,icon:"shareicon"}),children:(0,r.jsx)(o.xv,{variant:"ctaSecondary",color:w,children:"Share"})}),placement:"bottom-end",emailConfig:{type:"frontend",data:{url:g,artist_name:n.user.name,contest_title:n.contest.name,entry_title:n.title,contest_year:n.contest.year}},offset:[0,10]}),(0,r.jsx)(x.Z,{voted:t,setVoted:function(){return f(n.id)},loaded:d,slug:n.slug})]})})]})]})}))},234:function(e,n,t){t.d(n,{Z:function(){return Q}});var r=t(5447),o=t(8014),i=t(34237),l=t(42483),s=t(14960),a=t(40137),c=t(67995),u=t(90373),d=t(14131),p=t(76044),x=t(47011),v=t(75923),f=t(75657),m=t.n(f),b=t(56168),h=t(98421),g=t(71246),j=t(46687),C=function(e){var n=e.color,t=void 0===n?"base.6":n,r=e.iconColor,l=void 0===r?"support2.2":r;return(0,o.jsx)(m(),{href:"".concat(h.Kb.PCA,"/?entry_slug=pva-filter-wrapper"),passHref:!0,children:(0,o.jsx)(d.Z,{as:"a",variant:"flat",color:t,rightIcon:(0,o.jsx)(a.Z,{icon:"linkarrowicon",fill:l}),children:(0,o.jsx)(i.xv,{variant:"ctaSecondary",children:"View All Entries"})})})},y=function(e){var n=e.related,t=e.loaded,r=e.setVoted,a=e.ids,d=(0,v.Xj)(),f=(0,x.L)().siteUrl,m=(0,g.Z)(),y=m.isMobile,Z=m.desktopUp,w=m.isTablet,k=(0,b.useMemo)((function(){return y?1:w?2:Z?3:1}),[Z,y,w]),S=(0,p.ZP)("pvaRelatedFooter",{bg:"base.1",color:"base.6"}),P=S.bg,E=S.color;return(0,o.jsx)(i.kC,{bg:P,p:{md:"60px 0"},mb:{base:"80px",md:"auto"},overflow:"hidden",children:(0,o.jsxs)(u.Z,{p:{base:"0",md:"0 60px"},children:[(0,o.jsx)(i.kC,{w:"31%"}),(0,o.jsx)(i.kC,{direction:"column",children:(0,o.jsx)(i.kC,{justify:"space-between",children:(0,o.jsxs)(i.kC,{direction:"column",w:"100%",children:[y?null:(0,o.jsxs)(i.kC,{justify:"space-between",mb:"30px",children:[(0,o.jsx)(i.xv,{variant:"subtitleL",color:E,children:"Related Entries"}),(0,o.jsx)(C,{color:E,iconColor:E})]}),(0,o.jsx)(l.Z,{breakpoints:{xs:1,md:2,lg:3},gutter:y?"0":"40px",children:n.map((function(e,n){var l=e.user,u=e.images,p={type:"frontend",data:{url:"".concat(f).concat(h.Kb.PCA,"/").concat(null===e||void 0===e?void 0:e.slug),artist_name:e.user.name,entry_title:e.title,contest_title:d.name,contest_year:d.year}},x={user:{slug:l.slug,name:l.name,profile_image:l.profile_image},subtitle:"".concat(e.category.name)},v=n%k*.15;return(0,o.jsx)(c.Z,{fadeDelay:v,userSnippetConfig:x,images:u,slug:e.slug,url:h.Kb.PCA,emailConfig:p,color:y?E:"base.6",customCorner:(0,o.jsxs)(i.kC,{align:"center",gap:"20px",direction:{base:"row-reverse",md:"row"},pointerEvents:"auto",children:[(0,o.jsx)(j.Z,{loaded:t,voted:a.includes(e.id),setVoted:function(){return r(e.id)},slug:e.slug,h:{base:"36px",md:"32px"}}),(0,o.jsx)(s.Z,{images:u,mr:"0",display:{base:"none",md:"flex"}})]})},e.id)}))}),y?(0,o.jsx)(i.xu,{mt:{base:"20px",md:"40px"},p:{base:"0 20px",md:0},children:(0,o.jsx)(C,{color:E,iconColor:E})}):null]})})})]})})},Z=t(99728),w=t(27427),k=t(85085),S=t(77567),P=t(18623),E=t(90319),_=t(23376),I=t(75948),V=function(e){var n=e.title,t=e.description,r=e.category,l=e.user,s=e.interview,a=e.color,c=e.accentColor,u=(0,p.WI)().secondary,d={name:l.name,slug:l.slug,is_public:l.is_public,profile:{about_user:l.about_user,categories:l.categories,profile_image:l.profile_image,social:l.social,country:l.country}};return(0,o.jsxs)(i.kC,{direction:"column",w:{base:"100%",lg:"65.5%"},textAlign:{base:"center",lg:"left"},children:[(0,o.jsxs)(i.kC,{borderBottom:"1px solid",borderColor:u,pb:{base:"40px",lg:"105px"},align:{base:"center",lg:"flex-start"},direction:{base:"column-reverse",lg:"row"},px:{base:"20px",md:"60px",lg:"0px"},children:[(0,o.jsxs)(i.kC,{direction:"column",mr:{lg:"100px"},w:"100%",color:a,children:[(0,o.jsx)(i.xv,{variant:"titleL",children:n}),t?(0,o.jsx)(i.xv,{variant:"paragraphL",whiteSpace:"pre-wrap",mt:"20px",children:t}):null]}),r?(0,o.jsx)(i.Ct,{variant:"midtone1.fill",color:"base.1",mb:"20px",children:r.name}):null]}),(0,o.jsx)(_.Z,{artist:d,color:a,iconColor:c,px:{base:"20px",md:"60px",lg:"0px"}}),s?(0,o.jsx)(I.Z,{interview:s}):null]})},T=[],z=(0,k.Pi)((function(e){var n,t,l,s,a,c,d,p,x,v=e.data,f=e.color,m=e.accentColor,b=e.hasHeaderOffset,g=void 0===b||b,j=(0,w.Z)(e,["data","color","accentColor","hasHeaderOffset"]),C=v.images,y=v.category,k=v.title,_=v.description,I=v.user,z=C[0],B=P.w.headerPinned;return(0,o.jsx)(i.kC,(0,Z.Z)((0,r.Z)({bg:"base.1",p:{base:"40px 0 0px",lg:"60px 0"},id:"pva-detailed-view"},j),{children:(0,o.jsx)(u.Z,{p:{base:"0",lg:"0 60px"},children:(0,o.jsxs)(i.kC,{justify:"space-between",direction:{base:"column",lg:"row"},children:[(0,o.jsx)(i.kC,{direction:"column",w:{base:"100%",lg:"31%"}
1,position:"relative",pr:{base:"0",lg:"40px"},display:{base:"none",lg:"flex"},children:(0,o.jsx)(i.kC,{align:{base:"center",lg:"flex-start"},flex:1,direction:{base:"column",lg:"row"},children:(0,o.jsxs)(i.kC,{position:"sticky",top:B&&g?"".concat(80+h.Mz+20,"px"):"100px",direction:"column",transition:"all 0.2s ease-in-out 0s",w:"100%",align:{base:"center",lg:"flex-start"},children:[(0,o.jsx)(i.xu,{w:"100%",position:"relative",alignSelf:"center",children:(0,o.jsx)(S.Z,{alt:(null===z||void 0===z?void 0:z.title)||"",src:(0,E.Jn)(null===z||void 0===z||null===(n=z.item)||void 0===n||null===(t=n.sizes)||void 0===t||null===(l=t.medium)||void 0===l?void 0:l.url),layout:"responsive",width:null===z||void 0===z||null===(s=z.item)||void 0===s||null===(a=s.sizes)||void 0===a||null===(c=a.medium)||void 0===c?void 0:c.width,height:null===z||void 0===z||null===(d=z.item)||void 0===d||null===(p=d.sizes)||void 0===p||null===(x=p.medium)||void 0===x?void 0:x.height})}),(0,o.jsx)(i.kC,{gap:"10px",wrap:"wrap",children:T.map((function(e,n){return(0,o.jsx)(i.Ct,{variant:"outline",children:(0,o.jsx)(i.xv,{variant:"overline",color:"support1.3",children:e})},n)}))})]})})}),(0,o.jsx)(V,{title:k,description:_,category:y,user:I,color:f,accentColor:m})]})})}))})),B=t(21776),R=t(15414),A=t(80427),N=t(49430),O=t(65090),L=t(7734),H=t(16019),D=function(e){var n=e.color,t=void 0===n?"base.6":n,l=e.borderColor,s=void 0===l?"base.3":l,c=(0,w.Z)(e,["color","borderColor"]);return(0,o.jsx)(d.Z,(0,Z.Z)((0,r.Z)({as:"span",border:"1px solid",borderRadius:"4px",borderColor:s,bg:"transparent",size:"sm",leftIcon:(0,o.jsx)(a.Z,{fill:t,icon:"shareicon"})},c),{children:(0,o.jsx)(i.xv,{variant:"ctaSecondary",color:t,children:"Share"})}))},M=function(e){var n=e.nominee,t=e.loaded,r=e.voted,l=e.color,s=e.setVoted,a=(0,x.L)().siteUrl,c="".concat(a).concat(h.Kb.PCA,"/").concat(n.slug),u=(0,p.CC)().variant;return(0,o.jsxs)(i.kC,{p:{base:"20px",md:"10px 20px"},align:"center",justify:"space-between",children:[(0,o.jsx)(H.Z,{url:c,variant:u,emailConfig:{type:"frontend",data:{url:c,artist_name:n.user.name,contest_title:n.contest.name,entry_title:n.title,contest_year:n.contest.year}},renderButton:(0,o.jsx)(D,{color:l,borderColor:l}),placement:"bottom-end",offset:[0,10]}),(0,o.jsx)(j.Z,{voted:r,setVoted:function(){return s(n.id)},loaded:t,slug:n.slug})]})},W=function(e){var n=e.previous,t=e.actionsVisible,l=e.next,s=e.colorTheme,c=e.onNavClick,u=(0,w.Z)(e,["previous","actionsVisible","next","colorTheme","onNavClick"]),x=(0,b.useState)(!1),v=x[0],f=x[1],g=h.Kb.PCA,j=(0,p.WI)().secondary,C=(0,b.useCallback)((function(){v?((0,L.Q)("pva-top-area"),f(!1)):((0,L.Q)("pva-detailed-view"),f(!0))}),[v]),y=function(e){var t="prev"===e?n:l;return t?"".concat(g,"/").concat(t.slug).concat((0,O.vv)()):""},k=(0,b.useCallback)((function(e){return{cursor:"pointer",onClick:c&&e?function(){return c(e)}:void 0,css:"a {pointer-events: ".concat(c?"none":"auto","}")}}),[c]);return(0,o.jsxs)(i.kC,{position:"fixed",w:"100%",bottom:0,zIndex:99,transition:"all 0.2s ease-in-out 0s",direction:"column",children:[(0,o.jsx)(A.M,{children:!t&&(0,o.jsxs)(i.kC,{as:N.E.div,initial:{y:"100%",opacity:0}
1,animate:{y:0,opacity:1,transition:{ease:"anticipate"}},exit:{y:"100%",opacity:0},direction:"column",bg:s.bg,borderTop:"1px solid",borderTopColor:j,position:"relative",children:[(0,o.jsx)(M,(0,r.Z)({color:s.color},u)),c?(0,o.jsx)(i.xu,{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",children:(0,o.jsx)(R.Z,{iconFill:s.color})}):null]})}),(0,o.jsxs)(i.kC,{bg:s.bg,zIndex:2,borderTop:"1px solid",borderTopColor:j,color:s.color,children:[(0,o.jsx)(i.kC,(0,Z.Z)((0,r.Z)({},k(null===n||void 0===n?void 0:n.slug)),{ml:"0",mr:"auto",children:(0,o.jsx)(m(),{href:y("prev"),passHref:!0,children:(0,o.jsx)(d.Z,{as:"a",variant:"flat",leftIcon:(0,o.jsx)(a.Z,{fill:s.color,icon:"prevarrow"}),disabled:!(null===n||void 0===n?void 0:n.slug),p:"14px 20px",children:(0,o.jsx)(i.xv,{variant:"overline",color:s.color,children:"Prev. Entry"})})})})),c?(0,o.jsx)(i.kC,{w:"1px",bg:j}):(0,o.jsxs)(d.Z,{alignSelf:"stretch",p:"14px 20px",onClick:C,variant:"flat",borderLeft:"1px solid",borderRight:"1px solid",borderColor:j,borderRadius:0,children:[(0,o.jsx)(a.Z,{icon:"scroll",fill:s.color}),(0,o.jsx)(B.TX,{children:"Scroll to entry or artist info"})]}),(0,o.jsx)(i.kC,(0,Z.Z)((0,r.Z)({},k(null===l||void 0===l?void 0:l.slug)),{mr:"0",ml:"auto",children:(0,o.jsx)(m(),{href:y("next"),passHref:!0,children:(0,o.jsx)(d.Z,{as:"a",variant:"flat",rightIcon:(0,o.jsx)(a.Z,{fill:s.color,icon:"nextarrow"}),disabled:!(null===l||void 0===l?void 0:l.slug),p:"14px 20px",children:(0,o.jsx)(i.xv,{variant:"overline",color:s.color,children:"Next Entry"})})})}))]})]})},K=t(41445),F=t(59779),U=t(74593),J=t(45073),X=function(e){var n=e.images,t=e.prev,r=e.next,l=e.onNavClick,s=(0,g.Z)().isMobile,a=(0,b.useState)(null),c=a[0],u=a[1],d=(0,b.useState)(null),v=d[0],f=d[1],m=(0,x.L)().activeContest,h=(0,p.ZP)("pvaEntrySlider",{color:"base.6"}).color,j=(0,p.WI)().secondary;return(0,o.jsxs)(i.kC,{direction:"column",align:"center",mt:"72px",p:"20px 0",borderBottom:"1px solid",borderBottomColor:j,children:[(0,o.jsxs)(i.kC,{width:"100%",children:[s?null:(0,o.jsx)(U.Z,{entry:t,color:h,onClick:l&&(null===t||void 0===t?void 0:t.slug)?function(){return l(t.slug)}:void 0}),(0,o.jsx)(F.Z,{entry:{id:0,images:n},swiperProps:{onSwiper:u,controller:{control:v}},containerProps:{w:{md:"60%"},p:{md:"0 20px",lg:"0 40px"},h:{base:m?"calc(100vh - 415px)":"calc(100vh - 355px)",md:m?"calc(100vh - 290px)":"calc(100vh - 252px)"}}}),!s&&(0,o.jsx)(U.Z,{entry:r,next:!0,color:h,onClick:l&&(null===r||void 0===r?void 0:r.slug)?function(){return l(r.slug)}:void 0})]}),(0,o.jsx)(J.Z,{images:n,swiperProps:{onSwiper:f,controller:{control:c}},counterContainerProps:{pl:"50px"},m:"15px auto 0",align:"center",w:{base:"100%",md:"60%"},thumbBorder:h,textColor:h})]})},Q=function(e){var n=e.nominee,t=e.voteProps,l=e.votedIds,s=e.descriptionInView,a=e.setDescriptionInView,c=e.navigate,u=(0,g.Z)().isMobile,d=(0,p.WI)().secondary,x=(0,b.useState)(!1),v=x[0],f=x[1],m=(0,p.ZP)("singlePva",{bg:"base.1",color:"base.6",accentColor:"accent1.3"}),h=m.bg,j=m.color,C=m.accentColor;return n?(0,o.jsxs)(i.kC,{bg:h,direction:"column",position:"relative",children:[(0,o.jsx)(K.z,{as:"div",id:"pva-top-area",onView:function(){return a(!0)},onExit:function(){return a(!1)},threshold:[0,0],children:(0,o.jsxs)(i.kC,{direction:"column",bg:h,borderBottom:c?"none":"1px solid",borderBottomColor:d,pb:c?{base:"150px",md:"0"}:void 0,children:[(0,o.jsx)(X,{images:n.images,prev:n.previous,next:n.next,onNavClick:c?function(e){return c(e)}:void 0},n.slug),(0,o.jsx)(z,{data:n,bg:h,color:j,accentColor:C,hasHeaderOffset:!c}),u&&!c?(0,o.jsx)(K.z,{as:"div",id:"pva-mobile-actions",onView:function(){return f(!0)},onExit:function(){return f(!1)},threshold:[0,1],children:(0,o.jsx)(M,(0,r.Z)({nominee:n,color:j},t))}):null]})}),u&&n?(0,o.jsx)(W,(0,r.Z)({previous:n.previous,next:n.next,nominee:n,actionsVisible:!c&&(v||!s),colorTheme:{bg:h,color:j,accentColor:C},onNavClick:c},t)):null,c?null:(0,o.jsx)(y,{related:n.related,loaded:t.loaded,ids:l,setVoted:t.setVoted})]}):null}},86228:function(e,n,t){var r=t(5447),o=t(99728),i=t(8014),l=t(34237),s=t(63764),a=t(80427),c=t(49430),u=t(85085),d=t(39266),p=t(87658),x=t(76044),v=t(35658);n.Z=(0,u.Pi)((function(e){var n=e.user,t=e.detailedVisible,u=void 0!==t&&t,f=e.onBackClick,m=(0,x.WI)().secondary,b=(0,x.pn)(),h=b.accentColor,g=b.bg,j=b.textColor,C={ease:"easeInOut",duration:.5},y={up:{y:"-100%",transition:C},visible:{y:"0",transition:C},down:{y:"100%",transition:C}},Z=(0,v.Z)();return(0,i.jsxs)(l.kC,{borderBottom:"1px solid",borderBottomColor:m,bg:g,align:"center",position:"fixed",left:0,right:0,children:[(0,i.jsx)(l.kC,{p:"20px",borderRight:"1px solid",borderRightColor:{base
1:"transparent",md:m},children:(0,i.jsx)(p.Z,{color:h,onClick:f})}),(0,i.jsxs)(l.kC,{position:"relative",minH:"100%",w:"100%",alignSelf:"stretch",overflow:"hidden",justify:"flex-end",children:[(0,i.jsx)(l.kC,(0,o.Z)((0,r.Z)({},d.PE),{children:(0,i.jsx)(a.M,{exitBeforeEnter:!0,children:u&&(0,i.jsx)(l.kC,{as:c.E.div,variants:y,initial:y.down,animate:"visible",w:"100%",exit:y.up,alignItems:"center",justifyContent:"flex-end",pr:"20px",children:(0,i.jsx)(s.Z,{user:n,ml:"20px",w:"100%",color:j,rtl:!0})})})})),(0,i.jsx)(l.kC,(0,o.Z)((0,r.Z)({},d.PE),{align:"center",pointerEvents:"none",justify:"flex-end",children:(0,i.jsx)(a.M,{exitBeforeEnter:!0,children:!u&&(0,i.jsx)(l.xv,{p:"10px 20px",variant:"ctaPrimary",as:c.E.div,variants:y,initial:y.down,textAlign:"right",animate:"visible",exit:y.up,color:j,opacity:+Z,transition:"opacity 0.1s ease-in-out 1s",children:"Related entries"})})}))]})]})}))},75948:function(e,n,t){var r=t(5447),o=t(99728),i=t(27427),l=t(8014),s=t(34237),a=(t(56168),t(75657)),c=t.n(a),u=t(77567),d=t(90319),p=t(40137),x=t(98421),v=t(71246),f=t(43107);n.Z=function(e){var n,t=e.interview,a=e.title,m=void 0===a?"Interview":a,b=(0,i.Z)(e,["interview","title"]),h=(0,v.Z)(),g=h.tabletDown,j=h.tabletUp;if(!t)return null;var C=null===(n=t.featured_image)||void 0===n?void 0:n.sizes.small,y="".concat(x.p.INTERVIEWS,"/").concat(t.slug);return(0,l.jsxs)(s.kC,(0,o.Z)((0,r.Z)({flexDir:"column",flexWrap:"nowrap",mb:"40px",ml:{base:"0",lg:"60px"},alignItems:{base:"flex-start",lg:"flex-end"}},b),{children:[(0,l.jsxs)(s.kC,{justify:{base:"space-between",lg:"flex-end"},width:"100%",children:[(0,l.jsx)(s.xv,{variant:g?"subtitleL":"numeralsTiny",mb:j?"10px":"20px",children:m}),g?(0,l.jsx)(p.Z,{icon:"linkarrowicon",fill:"base.1"}):null]}),(0,l.jsx)(c(),{href:y,passHref:!0,children:(0,l.jsxs)(s.kC,{as:"a",alignItems:{base:"flex-start",lg:"flex-end"},flexDir:"column",w:"100%",children:[(0,l.jsx)(s.xu,{w:{base:"100%",lg:"150px"},h:{base:"auto",lg:"112px"},position:"relative",css:f.R,children:C?(0,l.jsx)(u.Z,{src:(0,d.Jn)(C.url),height:C.height,width:C.width,layout:g?"responsive":"fill",objectFit:g?"cover":"contain",objectPosition:"right",alt:(null===t||void 0===t?void 0:t.name)||"Interview"}):null}),g?null:(0,l.jsx)(p.Z,{icon:"linkarrowicon",fill:"base.1",mt:j?"10px":"20px"})]})})]}))}},75923:function(e,n,t){t.d(n,{BP:function(){return d},Iq:function(){return a},Xj:function(){return u}});var r=t(5447),o=t(99728),i=t(8014),l=t(56168),s=(0,l.createContext)({contest:null,setData:function(){return null},popupEntrySlug:null,setPopupEntrySlug:function(){return null}}),a=function(e){var n,t,a=(0,l.useState)(e.value),c=a[0],u=a[1];return(0,i.jsx)(s.Provider,{value:(0,o.Z)((0,r.Z)({},c),{setData:u,popupEntrySlug:null!==(n=e.popupEntrySlug)&&void 0!==n?n:null,setPopupEntrySlug:null!==(t=e.setPopupEntrySlug)&&void 0!==t?t:function(){return null}}),children:e.children})};function c(){var e=(0,l.useContext)(s);if(void 0===e)throw new Error("usePvaPageContext must be used within a PvaPageContext.Provider");return e}function u(){return c().contest}function d(){var e=c();return{popupEntrySlug:e.popupEntrySlug,setPopupEntrySlug:e.setPopupEntrySlug}}},25167:function(e,n,t){var r=t(5447),o=t(99728),i=t(47011),l=t(56168),s=t(49823);n.Z=function(){var e=(0,i.L)().fingerprint||"";return(0,l.useCallback)((function(n){return(0,s.ZP)((0,o.Z)((0,r.Z)({},n),{headers:(0,o.Z)((0,r.Z)({},(null===n||void 0===n?void 0:n.headers)||{}),{fingerprint:e})}))}),[e])}},37736:function(e,n,t){var r=t(43692),o=t(84911),i=t(44453),l=t.n(i),s=t(98421),a=t(47011),c=t(56168),u=t(25167);n.Z=function(e){var n=(0,c.useState)([]),t=n[0],i=n[1],d=(0,c.useState)([]),p=d[0],x=d[1],v=(0,c.useState)(!1),f=v[0],m=v[1],b=(0,c.useRef)(!1),h=(0,u.Z)(),g=(0,c.useState)([]),j=g[0],C=g[1],y=(0,a.L)().fingerprint;(0,c.useEffect)((function(){e.every((function(e){return t.includes(e)}))&&e.length===t.length||(b.current=!1,i(e))}),[e,t]);var Z=(0,c.useCallback)((0,r.Z)(l().mark((function e(){var n,r,i,a;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.length&&y&&!b.current){e.next=2;break}return e.abrupt("return");case 2:if((n=t.filter((function(e){return!p.includes(e)}))).length){e.next=6;break}return m(!0),e.abrupt("return");case 6:return e.next=8,h({path:"/api/public/pva-stats/",method:"POST",body:n});case 8:r=e.sent,i=r.status,a=r.data,i===s.RS.HTTP_200_OK&&(C((function(e){return Array.from(new Set((0,o.Z)(e).concat((0,o.Z)((null===a||void 0===a?void 0:a.voted)||[]))))})),x((function(e){return Array.from(new Set((0,o.Z)(e).concat((0,o.Z)(n))))})),m(!0)),b.current=!0;case 13:case"end":return e.stop()}}),e)}))),[t,y,h,p]),w=(0,c.useCallback)((function(e){if(Array.isArray(e)){var n=e;C((function(e){return Array.from(new Set((0,o.Z)(e).concat((0,o.Z)(n))))}))}else{var t=e;j.includes(t)?C(j.filter((function(e){return e!==t}))):C((0,o.Z)(j).concat([t]))}}),[j]);return(0,c.useEffect)((function(){Z()}),[Z]),{loaded:f,ids:j,setIds:C,setVoted:w}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.