PageSourceSearch

https://refocus-awards.com/_next/static/chunks/3502-08d997762303be5e.js

js refocus-awards.com collected 2026-10-02 06:57:45 UTC 9,281 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3502],{45073:function(e,i,n){var t=n(5447),r=n(99728),s=n(27427),o=n(8014),a=n(34237),l=n(77567),d=n(56168),u=n(94780),c=n(39566),h=n(90319),p=n(12048);i.Z=function(e){var i,n=e.images,g=e.counter,f=void 0===g||g,v=e.textColor,m=void 0===v?"base.6":v,I=e.thumbSize,x=void 0===I?"40px":I,w=e.fontSize,y=e.counterContainerProps,b=void 0===y?{}:y,C=e.swiperProps,S=void 0===C?{}:C,k=e.lazyRoot,Z=e.thumbBorder,z=void 0===Z?"base.6":Z,O=(0,s.Z)(e,["images","counter","textColor","thumbSize","fontSize","counterContainerProps","swiperProps","lazyRoot","thumbBorder"]),j=(0,d.useState)(0),L=j[0],P=j[1],R=(0,p.rd)(z),D=(0,d.useMemo)((function(){var e=(0,t.Z)({},S);return S.onRealIndexChange?e.onRealIndexChange=function(e){P(e.realIndex),S.onRealIndexChange(e)}:e.onRealIndexChange=function(e){P(e.realIndex)},e}),[S]);return n.length<2?null:(null===S||void 0===S||null===(i=S.controller)||void 0===i?void 0:i.control)?(0,o.jsx)(a.kC,(0,r.Z)((0,t.Z)({width:"100%",align:"center",justify:"space-between",mt:"15px",position:"relative",zIndex:5,onDoubleClick:function(e){e.stopPropagation()}},O),{children:(0,o.jsxs)(a.kC,{position:"relative",w:"100%",justify:"center",css:{".swiper-slide":{opacity:.2,borderRadius:"2px",overflow:"hidden",border:"1px solid transparent"},".swiper":{WebkitMaskImage:"linear-gradient(to right, rgb(0, 0, 0, 0) 14%, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 85%)",margin:"0",width:"100%"},".swiper-slide-active":{opacity:1,borderColor:R}},onClick:function(e){return e.stopPropagation()},cursor:"pointer",children:[f&&(0,o.jsxs)(a.xv,{position:"absolute",top:"50%",left:"10px",transform:"translateY(-50%)",variant:"numeralsXS",fontSize:w,color:m,zIndex:10,children:[L+1," / ",n.length]}),(0,o.jsxs)(c.t,(0,r.Z)((0,t.Z)({modules:[u.Qr],slidesPerView:"auto",freeMode:!1,watchSlidesProgress:!0,threshold:20,slideToClickedSlide:!0,centeredSlides:!0,observer:!0,spaceBetween:10},D),{children:[(0,o.jsx)(a.kC,(0,r.Z)((0,t.Z)({display:"flex",align:"center",h:"100%",w:"100%",position:"absolute",top:"0",zIndex:3,pointerEvents:"none"},b),{children:(0,o.jsx)(a.xu,{zIndex:1e3,position:"absolute",height:"110%",left:"-50px",w:"100%",transition:"background 0.15s ease-in-out"})})),n.map((function(e,i){var n,t,r;return(0,o.jsx)(c.o,{style:{width:"auto"},children:(0,o.jsx)(a.kC,{position:"relative",w:x,h:x,overflow:"hidden",cursor:"pointer",children:(0,o.jsx)(l.Z,{src:(0,h.Jn)(null===e||void 0===e||null===(n=e.item)||void 0===n||null===(t=n.sizes)||void 0===t||null===(r=t.small)||void 0===r?void 0:r.url),lazyRoot:k,layout:"fill",objectFit:"cover",alt:(null===e||void 0===e?void 0:e.title)||""})})},i)}))]}))]})})):null}},59779:function(e,i,n){n.d(i,{Z:function(){return x}});var t=n(5447),r=n(99728),s=n(8014),o=n(34237),a=n(27427),l=n(77567),d=n(90319),u=n(39266),c=function(e){var i=e.slide,n=e.isActive,c=e.bg,h=void 0===c?"base.1":c,p=e.lazyRoot,g=e.lazyLoad,f=void 0!==g&&g,v=e.imageSize,m=void 0===v?"large":v,I=(0,a.Z)(e,["slide","isActive","bg","lazyRoot","lazyLoad","imageSize"]),x=i.item,w=i.title,y=x.sizes[m],b=(0,d.Jn)(null===y||void 0===y?void 0:y.url);return(0,s.jsx)(o.kC,(0,r.Z)((0,t.Z)((0,r.Z)((0,t.Z)({h:"100%",w:"100%",maxH:"100%",position:"relative"},u.ep),{opacity:+!!n,bg:h,justify:"center",align:"center"}),I),{children:(0,s.jsx)(o.xu,{position:"relative",w:"100%",h:"100%",__css:{img:{objectFit:"contain !important",backgroundRepeat:"no-repeat"}},children:!n&&f?null:(0,s.jsx)(l.Z,{src:b,lazyRoot:p,layout:"fill",objectFit:"contain",objectPosition:"center",alt:w||""})})}))},h=n(47011),p=n(85085),g=n(56168),f=n(11266),v=n(94780),m=n(39566),I=n(8115),x=(0,p.Pi)((function(e){var i=e.entry,n=e.onClick,a=e.containerProps,l=void 0===a?{}:a,d=e.innerContainerProps,u=void 0===d?{}:d,p=e.imageSize,x=void 0===p?"large":p,w=e.swiperProps,y=void 0===w?{}:w,b=e.lazyRoot,C=e.lazyLoad,S=void 0!==C&&C,k=(0,h.L)().user,Z=(0,g.useCallback)((function(e){(null===k||void 0===k?void 0:k.type)===I.F.JUDGE&&i.id&&f.u.markAsSeen(i.id,e)}),[i,null===k||void 0===k?void 0:k.type]),z=(0,g.useCallback)((function(e){var n=i.images[e].item.id;Z(n)}),[i.images,Z]),O=(0,g.useMemo)((function(){var e=(0,t.Z)({},y);return y.onInit?e.onInit=function(e){z(e.realIndex),y.onInit(e)}:e.onInit=function(e){z(e.realIndex)},y.onRealIndexChange?e.onRealIndexChange=function(e){z(e.realIndex),y.onRealIndexChange(e)}:e.onRealIndexChange=function(e){z(e.realIndex)},e}),[z,y]);return(0,s.jsx)(o.kC,(0,r.Z)((0,t.Z)({flex:1,w:"100%",h:"100%",maxW:"100%",position:"relative",css:"\n        .swiper-wrapper {\n          align-items: center;\n        }\n        .swiper-slide > div span,\n        .swiper-slide > div img {\n          height: 100% !important;\n          width: auto !important;\n        }\n      "},l),{onClick:n,children:(0,s.jsx)(o.xu,(0,r.Z)((0,t.Z)({w:"100%",h:"100%",css:{".swiper-slide":{opacity:0}
1,".swiper-slide-active":{opacity:1}," .swiper":{height:"100%"}}},u),{children:(0,s.jsx)(m.t,(0,r.Z)((0,t.Z)({modules:[v.oM,v.W_,v.xW,v.Qr],slidesPerView:1,observer:!0,threshold:20,effect:"fade"},O),{children:i.images.map((function(e,i){return(0,s.jsx)(m.o,{children:function(i){return(0,s.jsx)(c,{slide:e,isActive:i.isActive,imageSize:x,bg:"transparent",lazyRoot:b,lazyLoad:S})}},i)}))}))}))}))}))},11266:function(e,i,n){n.d(i,{u:function(){return a}});var t=n(62139),r=n(49573),s=n(21350),o=n(80174),a=new(function(){function e(){(0,t.Z)(this,e),this.init(),(0,s.rC)(this,{inViewIndex:s.LO,categoryDetails:s.LO,entries:s.LO,selectedItems:s.LO,isFullscreenViewOpen:s.LO,isCompareViewOpen:s.LO,isCaptionVisible:s.LO,anyItemHovered:s.LO,isDraggableStep:s.LO,howToVoteSidebarOpen:s.LO,isFinished:s.LO,seenImages:s.LO,isFinishedPopupOpen:s.LO,isIncompletePopupOpen:s.LO,init:s.aD,reset:s.aD,toggleSelect:s.aD,markAsSeen:s.aD,isAllImagesSeen:s.aD,loadData:s.aD,getNonRatedEntriesLength:s.Fl,getSelectedItems:s.Fl,getInViewItem:s.Fl,honorableMentionsEntries:s.Fl,isComplete:s.Fl,areSomeAwardsAssigned:s.Fl,awardsPayload:s.Fl})}var i=e.prototype;return i.init=function(){this.reset()},i.reset=function(){this.inViewIndex=0,this.selectedItems=[],this.isFullscreenViewOpen=!1,this.isCompareViewOpen=!1,this.entries=[],this.isCaptionVisible=!1,this.categoryDetails=null,this.anyItemHovered=!1,this.isDraggableStep=!1,this.howToVoteSidebarOpen=!1,this.isFinished=!1,this.seenImages=[],this.isFinishedPopupOpen=!1,this.isIncompletePopupOpen=!1},i.toggleSelect=function(e){if(this.entries.findIndex((function(i){return i.id===e}))>-1)if(this.selectedItems.includes(e)){var i=this.selectedItems.findIndex((function(i){return i===e}));i>-1&&this.selectedItems.splice(i,1)}else this.selectedItems.push(e)},i.loadData=function(e){if(e){this.entries=e.entries,this.categoryDetails=e,this.isDraggableStep=e.entries.every((function(e){return e.rating}));var i=localStorage.getItem("seenImages");if(i){var n=JSON.parse(i);this.seenImages=n}else this.seenImages=[]}},i.markAsSeen=function(e,i){var n=this.entries.find((function(i){return i.id===e}));if(n&&n.entry_type!==o.UZ.SINGLE){var t=this.seenImages.slice(),r=t.find((function(i){return i.id===e}));if(r)r.images.slice().includes(i)||r.images.push(i);else t.push({id:e,images:[i]});this.seenImages=t,localStorage.setItem("seenImages",JSON.stringify(t))}},i.isAllImagesSeen=function(e){var i=this.entries.find((function(i){return i.id===e}));if(!i)return!1;if(i.entry_type===o.UZ.SINGLE)return!0;if(i.rating)return!0;var n=this.seenImages.find((function(i){return i.id===e}));return!!n&&i.images.every((function(e){var i=e.item.id;return n.images.includes(i)}))},(0,r.Z)(e,[{key:"getSelectedItems",get:function(){var e=this;return this.entries.filter((function(i){return e.selectedItems.includes(i.id)}))}},{key:"getInViewItem",get:function(){return this.entries[this.inViewIndex]}},{key:"getNonRatedEntriesLength",get:function(){return this.entries.filter((function(e){var i=e.rating;return!i||!i.id})).length}},{key:"honorableMentionsEntries",get:function(){return this.entries.filter((function(e){return"honorable_mentions"===e.award}))}},{key:"isComplete",get:function(){var e=this;return["first_place","second_place","third_place"].every((function(i){var n,t;return!(null===(n=e.categoryDetails)||void 0===n||null===(t=n.awards)||void 0===t?void 0:t[i].enabled)||e.entries.findIndex((function(e){return e.award===i}))>-1}))}},{key:"areSomeAwardsAssigned",get:function(){var e=this;return["first_place","second_place","third_place"].some((function(i){var n,t;return!(null===(n=e.categoryDetails)||void 0===n||null===(t=n.awards)||void 0===t?void 0:t[i].enabled)||e.entries.findIndex((function(e){return e.award===i}))>-1}))}},{key:"awardsPayload",get:function(){var e=this;return this.entries.filter((function(e){return e.rating})).map((function(i){var n,t,r=i.award,s=i.rating,o=r&&(null===(n=e.categoryDetails)||void 0===n||null===(t=n.awards)||void 0===t?void 0:t[r].enabled)?r:"nominees";return{id:s.id,award:o}}))}},{key:"activeIndexEdges",get:function(){var e=this.inViewIndex,i=this.entries.length,n=Math.min(3,Math.floor((i-1)/2)),t=e-n,r=e+n;if(n<1)return[e];var s=t<0?t+i:t,o=r>i-1?r-i:r,a=[];if(s<o)for(var l=s;l<=o;l++)a.push(l);if(s>o){for(var d=s;d<i;d++)a.push(d);for(var u=0;u<=o;u++)a.push(u)}return a}}]),e}())}}]);

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.