PageSourceSearch

https://refocus-awards.com/_next/static/chunks/pages/auth/login-ad8e60e577d5c88d.js

js refocus-awards.com collected 2026-10-02 06:58:05 UTC 8,107 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9344],{40163:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/login",function(){return r(46247)}])},43672:function(e,n,r){"use strict";var t=r(5447),i=r(99728),o=r(27427),s=r(8014),l=r(53437),c=r(56168),a=r(14131),u=r(40137),d=(0,c.forwardRef)((function(e,n){var r=e.children,c=(0,o.Z)(e,["children"]),d=(0,l.Fg)().colors;return(0,s.jsx)(a.Z,(0,i.Z)((0,t.Z)({ref:n,variant:"flat",rightIcon:(0,s.jsx)(u.Z,{icon:"linkarrowicon"}),css:"\n          path {\n            fill: ".concat(d.base_2[2],";\n            transition: fill 0.2s linear;\n          }\n\n          &:hover {\n            path {\n              fill: ").concat(d.base[1],";\n            }\n          }\n        ")},c),{children:r}))}));n.Z=d},67424:function(e,n,r){"use strict";var t=r(5447),i=r(99728),o=r(27427),s=r(8014),l=r(34237),c=r(75657),a=r.n(c),u=r(75332),d=r(33609),x=r(43672);n.Z=function(e){var n=e.url,r=e.pretitle,c=e.title,f=(0,o.Z)(e,["url","pretitle","title"]),p=(0,u.useRouter)();return(0,s.jsxs)(l.kC,(0,i.Z)((0,t.Z)({direction:"column",align:"flex-end",h:"100%",justify:"space-between",pl:{base:"20px",md:"45px"}},f),{children:[(0,s.jsx)(l.xv,{variant:"fieldsDescription",color:"base_2.1",children:r}),(0,s.jsx)(a(),{href:(0,d.X9)(n,p.query.redirect),passHref:!0,children:(0,s.jsx)("a",{children:(0,s.jsx)(x.Z,{children:c})})})]}))}},41474:function(e,n,r){"use strict";r.d(n,{Z:function(){return k}});var t=r(5447),i=r(99728),o=r(8014),s=r(77567),l=r(34237),c=r(17305),a=r(14
1131),u=r(40137),d=function(e){var n=e.label;return(0,o.jsxs)(l.kC,{direction:"column",width:"100%",children:[n,(0,o.jsxs)(l.Kq,{spacing:"10px",direction:"row",children:[(0,o.jsx)(a.Z,{variant:"base.1.outline",leftIcon:(0,o.jsx)(u.Z,{icon:"googleicon",width:25,height:24}),onClick:c.u9,flex:1,children:"Google"}),(0,o.jsx)(a.Z,{variant:"base.1.outline",leftIcon:(0,o.jsx)(u.Z,{icon:"facebookicon"}),onClick:c.fN,flex:1,children:"Facebook"})]})]})},x=r(80427),f=r(98421),p=r(63764),h=r(27548),g=r(39266),v=r(75657),j=r.n(v),b=r(90319),Z={base:"100%",md:"51.5625%"},m={base:"0px 30px",lg:"0 60px",xl:"0px 160px 0px 140px"},w=function(e){var n=e.winner,r=n.images,c=n.user,a=n.award_config,u=n.title,d={name:c.name,slug:c.slug,profile_image:c.profile.profile_image};return(0,o.jsxs)(l.kC,{flex:1,pos:"relative",display:{base:"none",md:"flex"},children:[(0,o.jsx)(l.xu,{children:(0,o.jsx)(s.Z,{priority:!0,src:r[0].item.sizes.large.url,layout:"fill",objectFit:"cover",alt:u})}),(0,o.jsx)(j(),{href:"".concat(f.p.ENTRY,"/").concat(n.slug),passHref:!0,children:(0,o.jsx)(l.kC,(0,i.Z)((0,t.Z)({},g.PE),{overflow:"hidden",w:"100%",as:"a",children:(0,o.jsx)(l.xu,{height:"0",w:"100%",boxShadow:"0px -45px 70px 120px rgba(43,43,44,0.5)",pointerEvents:"none"})}))}),(0,o.jsxs)(l.kC,{position:"absolute",w:"100%",top:0,p:"20px 20px",align:"flex-end",justify:"space-between",pointerEvents:"none",children:[(0,o.jsx)(h.Z,{bg:a.color,label:a.name,flexShrink:0,zIndex:1,pointerEvents:"none"}),(0,o.jsx)(p.Z,{user:d,rtl:!0,zIndex:2})]})]})},k=function(e){var n=e.config,r=n.topTitle,c=n.fallbackImageUrl,a=void 0===c?(0,b.QO)("login-image.jpg"):c,u=n.randomWinner,p=n.topDescription,h=n.SocialLoginTitle,g=n.BottomComponent,v=n.containerConfig,j=void 0===v?{}:v;return(0,o.jsxs)(l.kC,(0,i.Z)((0,t.Z)({flex:1,minH:{base:"0",md:"80vh",lg:"calc(100vh - ".concat(f.Mz+40,"px)")}},j),{children:[u?(0,o.jsx)(w,{winner:u}):(0,o.jsx)(l.kC,{flex:1,pos:"relative",display:{base:"none",md:"flex"},children:(0,o.jsx)(s.Z,{priority:!0,layout:"fill",objectFit:"cover",alt:"authentification page image",src:a})}),(0,o.jsxs)(l.kC,{width:Z,direction:"column",justify:"center",p:"40px 0",children:[(0,o.jsxs)(l.kC,{direction:"column",align:"flex-start",p:m,children:[(0,o.jsxs)(l.Kq,{spacing:"24px",mb:"40px",children:[(0,o.jsx)(x.M,{exitBeforeEnter:!0,children:(0,o.jsx)(l.X6,{variant:"titleM",children:r})}),p&&(0,o.jsx)(l.xv,{variant:"subtitleS",children:p})]}),h&&(0,o.jsx)(d,{label:(0,o.jsx)(h,{})})]}),(0,o.jsx)(x.M,{exitBeforeEnter:!0,children:(0,o.jsx)(l.kC,{p:m,css:"\n              form {\n                width: 100%;\n              }\n            ",children:(0,o.jsx)(g,{})})})]})]}))}},63764:function(e,n,r){"use strict";var t=r(5447),i=r(99728),o=r(27427),s=r(8014),l=r(34237),c=r(63778),a=r(75657),u=r.n(a),d=r(98421),x=r(90319),f=function(e){var n,r,a,u=e.user,d=e.subtitle,f=e.nameFont,p=void 0===f?"subtitleS":f,h=e.rtl,g=void 0!==h&&h,v=e.color,j=void 0===v?"base.6":v,b=(0,o.Z)(e,["user","subtitle","nameFont","rtl","color"]);return(0,s.jsxs)(l.kC,(0,i.Z)((0,t.Z)({align:"center",userSelect:"none",pointerEvents:u.slug?"initial":"none"},b),{direction:g?"row-reverse":"row",children:[(0,s.jsx)(c.Z,{src:(0,x.Jn)(null===u||void 0===u||null===(n=u.profile_image)||void 0===n||null===(r=n.sizes)||void 0===r||null===(a=r.small)||void 0===a?void 0:a.url),name:u.name,boxSize:"30px"}),(0,s.jsxs)(l.kC,{m:g?"0 10px 0 0":"0 0 0 10px",direction:"column",zIndex:1,children:[(0,s.jsx)(l.xv,{variant:p,color:{base:j,md:j||"base.6"},textAlign:g?"right":"left",children:u.name}),d?(0,s.jsx)(l.xv,{variant:"captionL",color:{base:j,md:j||"base.6"},children:d}):null]})]}))};n.Z=function(e){var n=e.user,r=e.color,l=(0,o.Z)(e,["user","color"]);return n.slug=null,n.slug?(0,s.jsx)(u(),{href:"".concat(d.p.ARTISTS,"/").concat(null===n||void 0===n?void 0:n.slug),passHref:!0,children:(0,s.jsx)("a",{style:{display:"flex"},children:(0,s.jsx)(f,(0,i.Z)((0,t.Z)({user:n},l),{color:r}))})}):(0,s.jsx)(f,(0,i.Z)((0,t.Z)({user:n},l),{color:r}))}},46247:function(e,n,r){"use strict";r.r(n);var t=r(5447),i=r(99728),o=r(8014),s=r(8996),l=r(41474),c=r(51802),a=r(44501),u=r(98421),d=r(75332),x=r(8403),f=r(54105),p=r(1851),h=r(67424),g=r(33609),v=r(90319),j=r(76044),b=function(e){return e.redirect&&"string"===typeof e.redirect?(0,g.pc)(e.redirect):u.ef.DASHBOARD},Z=function(e){var n=e.winner,r=(0,d.useRouter)(),t=(0,x.Z)(),i=(0,p.Z)(),s=(0,j.g3)();return(0,o.jsx)(l.Z,{config:{randomWinner:n,fallbackImageUrl:(0,v.QO)("login_to_your_account.jpg"),containerConfig:{bg:s.page.bg},topTitle:i?"Login to Your Account":"Cookies are blocked.",BottomComponent:function(){return i?(0,o.jsx)(c.Z,{onLogin:function(){t({status:"success",title:"Login successful, redirecting to dashboard...",isClosable:!1}),r.query.redirect?window.location.href=b(r.query):window.location.href=u.ze.INDEX},secondaryButton:(0,o.jsx)(h.Z,{url:u.ef.REGISTER,pretitle:"Don't have an account?",title:"Register"}),buttonProps:{flex:1,maxW:"200px"}}):(0,o.jsx)(f.Z,{})}}})};Z.getLayout=function(e){return(0,o.jsx)(s.Z,(0,i.Z)((0,t.Z)({title:"Login"},e.props),{children:e}))},n.default=(0,a.Z)(Z,{redirectUrl:function(e){return b(e.query)},shouldBeLoggedIn:!1})},44501:function(e,n,r){"use strict";var t=r(43692),i=r(5447),o=r(44453),s=r.n(o),l=r(8014),c=(r(56168),r(33609)),a=r(68295),u=r(98421),d=r(49823),x=function(){var e=(0,t.Z)(s().mark((function e(){var n;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,d.ZP)({path:"/api/public/random-winner/"});case 2:return n=e.sent.data,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();n.Z=function(e,n){var r=n.redirectUrl,o=void 0===r?u.ef.LOGIN:r,f=n.shouldBeLoggedIn,p=void 0===f||f,h=function(n){return(0,l.jsx)(e,(0,i.Z)({},n))};return e.getLayout&&(h.getLayout=e.getLayout),h.getInitialProps=function(){var e=(0,t.Z)(s().mark((function e(n){var r,t,i,l,u;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.parse((null===(r=n.req)||void 0===r?void 0:r.headers.cookie)||""),e.next=4,(0,d.jo)({cookies:t});case 4:if(!(!(i=e.sent)&&p||i&&!p)){e.next=9;break}return l="string"===typeof o?o:o(n),(0,c.ZP)(l,n),e.abrupt("return",{user:null});case 9:return e.next=11,x();case 11:return u=e.sent,e.abrupt("return",{user:i,winner:u});case 13:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),h}}},function(e){e.O(0,[2783,3434,9566,695,3959,6531,8029,8996,9774,2888,179],(function(){return n=40163,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.