1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6635],{75654:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/people-vote-award/[entry_slug]",function(){return t(42419)}])},41445:function(e,n,t){"use strict";t.d(n,{z:function(){return l}});var r=t(5447),i=t(99728),o=t(27427),a=t(8014),c=t(34237),s=t(56168),u=t(65035),l=function(e){var n=e.onView,t=e.onExit,l=e.id,d=e.children,E=e.threshold,_=void 0===E?[.25,.5,.75]:E,f=e.rootMargin,m=e.className,D=e.as,v=void 0===D?"section":D,g=(0,o.Z)(e,["onView","onExit","id","children","threshold","rootMargin","className","as"]),N=(0,u.YD)({threshold:_,rootMargin:f}),p=N.ref,h=N.inView;return(0,s.useEffect)((function(){l&&(h&&n?n(l):t&&t(l))}),[l,h,t,n]),(0,a.jsx)(c.xu,(0,i.Z)((0,r.Z)({as:v,ref:p,id:l,className:"".concat(m||""," visibility-checker")},g),{children:d}))}},42419:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return N}});var r=t(5447),i=t(84911),o=t(8014),a=t(8996),c=t(61975),s=t(56168),u=t(82852),l=t(37736),d=t(86228),E=t(22319),_=t(98421),f=t(13756),m=t(5203),D=t(75923),v=t(71246),g=t(234),N=!0;n.default=function(e){var n=e.nominee,t=(0,v.Z)().isMobile,N=(null===n||void 0===n?void 0:n.related)||[],p=(0,s.useState)(!0),h=p[0],T=p[1],y=(0,l.Z)((0,i.Z)((N||[]).map((function(e){return e.id}))).concat([(null===n||void 0===n?void 0:n.id)||0])),P=y.loaded,w=y.ids,I=y.setVoted;if((0,s.useEffect)((function(){window.innerWidth<1024&&setTimeout((function(){return window.scrollTo({top:_.Mz,behavior:"smooth"})}))}),[]),!n)return(0,o.jsx)(a.Z,{title:"Not Found",children:(0,o.jsx)(c.Z,{})});var b={loaded:P,voted:w.includes(n.id),setVoted:I},A=(0,f.q)(n,"".concat(_.Kb.PCA,"/").concat(n.slug));return(0,o.jsx)(D.Iq,{value:{contest:{name:n.contest.name,year:n.contest.year}},children:(0,o.jsxs)(a.Z,{title:n.title,afterHeader:t?(0,o.jsx)(d.Z,{user:n.user,detailedVisible:h}):(0,o.jsx)(u.Z,(0,r.Z)({nominee:n},b)),children:[(0,o.jsx)(E.PB,(0,r.Z)({},A)),(0,o.jsx)(g.Z,{nominee:n,voteProps:b,votedIds:w,descriptionInView:h,setDescriptionInView:T}),(0,o.jsx)(m.Z,{visibleContests:[n.contest.slug]})]})})}},55310:function(e,n,t){"use strict";var r,i,o,a,c,s;t.d(n,{J7:function(){return o},K1:function(){return i},Kd:function(){return s},Pd:function(){return a},x6:function(){return r},xl:function(){return c}}),function(e){e.CREDITS="credits",e.DEFAULT="default"}(r||(r={})),function(e){e.APPROVED="APPROVED",e.PENDING="PENDING",e.REJECTED="REJECTED",e.USER_DELETED="USER_DELETED"}(i||(i={})),function(e){e.PAYMENT_METHOD="payment_method",e.ENTRY_TYPE="entry_type",e.ENTRY_LEVEL="entry_level",e.IMAGES="images",e.DETAILS="details",e.SUMMARY="summary",e.PAYMENT="payment"}(o||(o={})),function(e){e.PAID="PAID",e.DRAFT="DRAFT",e.PENDING="PENDING",e.PUBLIC="PUBLIC",e.REJECTED="REJECTED",e.REFUNDED="REFUNDED",e.USER_DELETED="USER_DELETED"}(a||(a={})),function(e){e.AUTOMATIC="AUTOMATIC",e.COUPON_CODE="COUPON_CODE"}(c||(c={})),function(e){e.INVALID_STAGE="INVALID_STAGE",e.PRICE_CHANGED="PRICE_CHANGED",e.UNKNOWN="UNKNOWN"}(s||(s={}))},86853:function(e,n,t){"use strict";t.d(n,{iI:function(){return u},sK:function(){return s},x:function(){return c}});var r=t(5447),i=t(99728),o=t(90319),a={first_place:1,second_place:2,third_place:3,peoples_choice_winner:4,honorable_mentions:5,nominees:6},c=function(e){return e.map((function(e){return e.awards.map((function(n){return(0,i.Z)((0,r.Z)({},n),{category:e.category})}))})).flat()},s=function(e){return e.slice().sort((function(e,n){return a[e.award]-a[n.award]})).sort((function(e,n){return+n.overall-+e.overall}))},u=function(e){var n=e.image,t=e.avatar,r=e.demo?o.QO:o.Jn;return{image:{url:r(n.sizes.large.url),placeholder:r(n.sizes.small.url)},avatar:{url:r(null===t||void 0===t?void 0:t.sizes.medium.url),placeholder:r(null===t||void 0===t?void 0:t.sizes.small.url)}}}},13756:function(e,n,t){"use strict";t.d(n,{h:function(){return d},q:function(){return _}});var r,i=t(42299),o=t(86853),a=t(2612),c=t(55310),s=t(90319),u=t(4822),l=(r={},(0,i.Z)(r,c.K1.PENDING,{label:"Incomplete",bg:"system.warning",color:"base.6"}),(0,i.Z)(r,c.K1.REJECTED,{label:"Rejected",bg:"system.error",color:"base.6"}),(0,i.Z)(r,c.K1.APPROVED,{label:"Complete",bg:"system.success",color:"base.6"}
1),(0,i.Z)(r,c.K1.USER_DELETED,{label:"User Deleted",bg:"midtone1.fill",color:"base.6"}),r),d=function(e){return l[e]||{label:(0,a.capitalize)(e),bg:"base.2",color:"base.6"}},E=function(e,n){var t=n.contest_name,r=n.contest_year,i=n.artist_name,o=n.award_name,a=n.entry_title,c=n.category_name,s=e.replace(/{contest_title}/g,t).replace(/{contest_year}/g,r).replace(/{artist_name}/g,i).replace(/{entry_title}/g,a);return o&&(s=s.replace(/{award_name}/g,o)),c&&(s=s.replace(/{category_name}/g,c)),s},_=function(e,n){var t="".concat(u._O).concat(n),r=e.contest,i={contest_name:r.name,contest_year:"".concat(r.year),artist_name:e.user.name,entry_title:e.title},a=e;if(a.nominee){var c,l=(0,o.sK)((0,o.x)(a.nominee))[0];i.award_name=l.award_config.name,i.category_name=null===(c=l.category)||void 0===c?void 0:c.name}var d,_=e;_.category&&(i.category_name=null===(d=_.category)||void 0===d?void 0:d.name);var f=e.og_data,m=E(f.title,i),D=E(f.description,i),v=e.images[0].item.sizes.medium,g=v.url,N=v.width,p=v.height,h="".concat(u._O,"/_next/image?url=");return{canonical:t,openGraph:{title:m,url:t,description:D,images:[{url:"".concat(h).concat((0,s.Jn)(g)).concat("&w=1200&q=75"),width:N,height:p,alt:e.title}]}}}}},function(e){e.O(0,[2783,3434,9566,695,3959,6531,8029,8996,3502,3364,3187,843,9774,2888,179],(function(){return n=75654,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.