PageSourceSearch

https://www.tursetsports.com/_next/static/chunks/pages/login-race/[activityId]-4817c8bcd665e550.js

js tursetsports.com collected 2026-10-05 04:57:06 UTC 16,185 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8014,8866],{5117:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(15067),n=o(37876);let a=(0,r.A)((0,n.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility")},6558:(e,t,o)=>{"use strict";o.d(t,{A:()=>a}),o(14232);var r=o(15067),n=o(37876);let a=(0,r.A)((0,n.jsx)("path",{d:"M10 15l5.19-3L10 9v6m11.56-7.83c.13.47.22 1.1.28 1.9.07.8.1 1.49.1 2.09L22 12c0 2.19-.16 3.8-.44 4.83-.25.9-.83 1.48-1.73 1.73-.47.13-1.33.22-2.65.28-1.3.07-2.49.1-3.59.1L12 19c-4.19 0-6.8-.16-7.83-.44-.9-.25-1.48-.83-1.73-1.73-.13-.47-.22-1.1-.28-1.9-.07-.8-.1-1.49-.1-2.09L2 12c0-2.19.16-3.8.44-4.83.25-.9.83-1.48 1.73-1.73.47-.13 1.33-.22 2.65-.28 1.3-.07 2.49-.1 3.59-.1L12 5c4.19 0 6.8.16 7.83.44.9.25 1.48.83 1.73 1.73z"}),"YouTube")},14034:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(15067),n=o(37876);let a=(0,r.A)((0,n.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff")},14310:(e,t,o)=>{"use strict";o.d(t,{A:()=>a});var r=o(15067),n=o(37876);let a=(0,r.A)((0,n.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},21973:(e,t,o)=>{"use strict";o.d(t,{A:()=>a}),o(14232);var r=o(15067),n=o(37876);let a=(0,r.A)((0,n.jsx)("path",{d:"M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2m13 2h-2.5A3.5 3.5 0 0 0 12 8.5V11h-2v3h2v7h3v-7h3v-3h-3V9a1 1 0 0 1 1-1h2V5z"}),"Facebook")},28691:(e,t,o)=>{"use strict";o.d(t,{A:()=>a}),o(14232);var r=o(15067),n=o(37876);let a=(0,r.A)((0,n.jsx)("path",{d:"M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z"}),"Instagram")},43185:(e,t,o)=>{"use strict";o.d(t,{A:()=>h});var r=o(14232),n=o(69241),a=o(13323),i=o(82777),l=o(66438),s=o(63915),c=o(17351),d=o(16274),p=o(37876);let u=(0,l.Ay)(i.A,{name:"MuiDialogTitle",slot:"Root"})({padding:"16px 24px",flex:"0 0 auto"}),h=r.forwardRef(function(e,t){let o=(0,s.b)({props:e,name:"MuiDialogTitle"}),{className:i,id:l,...h}=o,A=(e=>{let{classes:t}=e;return(0,a.A)({root:["root"]},c.t,t)})(o),{titleId:m=l}=r.useContext(d.A);return(0,p.jsx)(u,{component:"h2",className:(0,n.A)(A.root,i),ownerState:o,ref:t,variant:"h6",id:null!=l?l:m,...h})})},60591:(e,t,o)=>{"use strict";o.d(t,{A:()=>m});var r=o(14232),n=o(69241),a=o(13323),i=o(14770),l=o(66438),s=o(63915),c=o(82777),d=o(14457),p=o(21849);function u(e){return(0,p.Ay)("MuiDialogContentText",e)}(0,d.A)("MuiDialogContentText",["root"]);var h=o(37876);let A=(0,l.Ay)(c.A,{shouldForwardProp:e=>(0,i.A)(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root"})({}),m=r.forwardRef(function(e,t){let o=(0,s.b)({props:e,name:"MuiDialogContentText"}),{children:r,className:i,...l}=o,c=(e=>{let{classes:t}=e,o=(0,a.A)({root:["root"]},u,t);return{...t,...o}})(l);return(0,h.jsx)(A,{component:"p",variant:"body1",color:"textSecondary",ref:t,ownerState:l,className:(0,n.A)(c.root,i),...o,classes:c})})},64730:(e,t,o)=>{"use strict";o.r(t),o.d(t,{__N_SSP:()=>P,default:()=>N});var r=o(37876),n=o(54587),a=o.n(n),i=o(89099),l=o(14232),s=o(42008),c=o(57145),d=o(66371),p=o(8074),u=o(58311),h=o(74350),A=o(44808),m=o(856),x=o(82099),v=o(49279),g=o(74912),f=o(69585),j=o(92228),y=o(82097),C=o(82777),b=o(59480),w=o(14034),S=o(5117),M=o(89098);
1function z(e){let{t,activityId:o,themeColor:n,themeHoverColor:a}=e,s=(0,i.useRouter)(),[c,p]=(0,l.useState)(""),[z,L]=(0,l.useState)(""),[I,T]=(0,l.useState)(""),[k,E]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{localStorage.clear()},[]),(0,l.useEffect)(()=>{p("")},[z,I]),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(d.A,{container:!0,justifyContent:"center",children:(0,r.jsx)(d.A,{marginBottom:20,size:{xs:12,sm:9,md:6,lg:4},children:(0,r.jsx)(u.A,{sx:{width:"100%",height:"100%"},children:(0,r.jsxs)(d.A,{container:!0,justifyContent:"center",padding:3,children:[c&&(0,r.jsx)(d.A,{marginBottom:2,size:12,children:(0,r.jsx)(h.A,{severity:"error",children:c})}),(0,r.jsx)(d.A,{size:12,children:(0,r.jsxs)(d.A,{container:!0,justifyContent:"center",children:[(0,r.jsx)(d.A,{size:12,children:(0,r.jsx)(A.A,{id:"email",name:"email",label:t.email,value:z,type:"email",onChange:e=>L(e.target.value),variant:"outlined",autoComplete:"email",fullWidth:!0,required:!0,margin:"normal",error:""!==c})}),(0,r.jsx)(d.A,{size:12,children:(0,r.jsxs)(m.A,{fullWidth:!0,variant:"outlined",required:!0,error:""!==c,children:[(0,r.jsx)(x.A,{htmlFor:"password",children:t.password}),(0,r.jsx)(v.A,{id:"password",name:"password",label:t.password,value:I,onChange:e=>T(e.target.value),autoComplete:"current-password",type:k?"text":"password",endAdornment:(0,r.jsx)(g.A,{position:"end",children:(0,r.jsx)(f.A,{"aria-label":"toggle password visibility",onClick:()=>E(e=>!e),onMouseDown:e=>{e.preventDefault()},edge:"end",children:k?(0,r.jsx)(w.A,{}):(0,r.jsx)(S.A,{})})})})]})})]})}),(0,r.jsx)(d.A,{paddingTop:2,size:12,children:(0,r.jsx)(j.A,{type:"button",onClick:()=>{p(""),fetch("".concat(M.Ly,"/persons/login"),{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({email:z,password:I,refreshTokenDuration:84600})}).then(e=>e.json()).then(e=>{e.statusCode?p(e.message):(localStorage.setItem("user",JSON.stringify(e)),L(""),T(""),s.push("/join-race/registered-user/".concat(o)))}).catch(e=>console.error(e))},fullWidth:!0,variant:"contained",sx:{backgroundColor:n,":hover":{backgroundColor:a}},children:t.login})}),(0,r.jsx)(d.A,{paddingTop:2,size:12,children:(0,r.jsx)(y.A,{})}),(0,r.jsxs)(d.A,{paddingTop:1,textAlign:"center",size:12,children:[(0,r.jsx)(C.A,{variant:"body2",component:"span",children:t.forgotYourPassword})," ",(0,r.jsx)(C.A,{variant:"body2",component:"span",color:"primary",fontWeight:"bold",onClick:()=>{s.push("/reset-password")},sx:{cursor:"pointer",color:n,":hover":{color:a,textDecoration:"underline"}},children:t.reset})]}),(0,r.jsx)(d.A,{paddingTop:2,textAlign:"center",size:12,children:(0,r.jsx)(b.A,{href:"/join-selection/".concat(o),sx:{color:n,textDecoration:"none",":hover":{textDecoration:"underline",color:a}},children:(0,r.jsx)(C.A,{variant:"body2",component:"span",fontWeight:"bold",sx:{color:n,":hover":{color:a}},children:t.back})})})]})})})})})}var L=o(9256),I=o(8419),T=o(73768),k=o(67458),E=o(56087),P=!0;function N(e){let{activityId:t}=e,{locale:o,pathname:n,asPath:u,query:h}=(0,i.useRouter)(),A="tr"===o?T:I,[m,x]=(0,l.useState)(""),[v,g]=(0,l.useState)("/static/logo/turset-logo-white.webp"),[f,j]=(0,l.useState)(),[y,C]=(0,l.useState)();return(0,l.useEffect)(()=>{if(t){let e=k.filter(e=>e.id==t)[0],o=e.backgroundImage,r=e.logo,n=e.themeColor,a=e.themeHoverColor;x(o),g(r),j(n),C(a)}},[t]),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(p.A,{children:(0,r.jsxs)(s.A,{sx:{backgroundImage:"url(".concat(m,")")},children:[(0,r.jsx)(c.A,{maxWidth:"xl",children:(0,r.jsxs)(d.A,{container:!0,justifyContent:"center",sx:{minHeight:"100vh"},children:[(0,r.jsx)(d.A,{size:12,children:(0,r.jsx)(s.A,{sx:{display:"flex",justifyContent:"flex-end",alignItems:"flex-end"},children:(0,r.jsx)(E.A,{})})}),(0,r.jsx)(d.A,{size:{xs:10,sm:6,md:4},children:(0,r.jsx)(a(),{src:"".concat(v),alt:"activity logo",width:0,height:0,sizes:"100vw",style:{width:"100%",height:"auto"}})}),(0,r.jsx)(d.A,{paddingTop:5,size:12,children:(0,r.jsx)(z,{t:A,activityId:t,themeColor:f,themeHoverColor:y})})]})}),(0,r.jsx)(s.A,{marginTop:4,children:(0,r.jsx)(L.A,{t:A,activityId:t})})]})})})}},74350:(e,t,o)=>{"use strict";o.d(t,{A:()=>T});var r=o(14232),n=o(69241),a=o(13323),i=o(66438),l=o(95651),s=o(63915),c=o(75687),d=o(64170),p=o(66352),u=o(58311),h=o(14457),A=o(21849);function m(e){return(0,A.Ay)("MuiAlert",e)}let x=(0,h.A)("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);var v=o(69585),g=o(15067),f=o(37876);let j=(0,g.A)((0,f.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}
1),"SuccessOutlined"),y=(0,g.A)((0,f.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),C=(0,g.A)((0,f.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),b=(0,g.A)((0,f.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined");var w=o(14310);let S=(0,i.Ay)(u.A,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t[o.variant],t["".concat(o.variant).concat((0,d.A)(o.color||o.severity))]]}})((0,l.A)(e=>{let{theme:t}=e,o="light"===t.palette.mode?t.darken:t.lighten,r="light"===t.palette.mode?t.lighten:t.darken;return{...t.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(t.palette).filter((0,p.A)(["light"])).map(e=>{let[n]=e;return{props:{colorSeverity:n,variant:"standard"},style:{color:t.vars?t.vars.palette.Alert["".concat(n,"Color")]:o(t.palette[n].light,.6),backgroundColor:t.vars?t.vars.palette.Alert["".concat(n,"StandardBg")]:r(t.palette[n].light,.9),["& .".concat(x.icon)]:t.vars?{color:t.vars.palette.Alert["".concat(n,"IconColor")]}:{color:t.palette[n].main}}}}),...Object.entries(t.palette).filter((0,p.A)(["light"])).map(e=>{let[r]=e;return{props:{colorSeverity:r,variant:"outlined"},style:{color:t.vars?t.vars.palette.Alert["".concat(r,"Color")]:o(t.palette[r].light,.6),border:"1px solid ".concat((t.vars||t).palette[r].light),["& .".concat(x.icon)]:t.vars?{color:t.vars.palette.Alert["".concat(r,"IconColor")]}:{color:t.palette[r].main}}}}),...Object.entries(t.palette).filter((0,p.A)(["dark"])).map(e=>{let[o]=e;return{props:{colorSeverity:o,variant:"filled"},style:{fontWeight:t.typography.fontWeightMedium,...t.vars?{color:t.vars.palette.Alert["".concat(o,"FilledColor")],backgroundColor:t.vars.palette.Alert["".concat(o,"FilledBg")]}:{backgroundColor:"dark"===t.palette.mode?t.palette[o].dark:t.palette[o].main,color:t.palette.getContrastText(t.palette[o].main)}}}})]}})),M=(0,i.Ay)("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),z=(0,i.Ay)("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),L=(0,i.Ay)("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),I={success:(0,f.jsx)(j,{fontSize:"inherit"}),warning:(0,f.jsx)(y,{fontSize:"inherit"}),error:(0,f.jsx)(C,{fontSize:"inherit"}),info:(0,f.jsx)(b,{fontSize:"inherit"})},T=r.forwardRef(function(e,t){let o=(0,s.b)({props:e,name:"MuiAlert"}),{action:r,children:i,className:l,closeText:p="Close",color:u,components:h={},componentsProps:A={},icon:x,iconMapping:g=I,onClose:j,role:y="alert",severity:C="success",slotProps:b={},slots:T={},variant:k="standard",...E}=o,P={...o,color:u,severity:C,variant:k,colorSeverity:u||C},N=(e=>{let{variant:t,color:o,severity:r,classes:n}=e,i={root:["root","color".concat((0,d.A)(o||r)),"".concat(t).concat((0,d.A)(o||r)),"".concat(t)],icon:["icon"],message:["message"],action:["action"]};return(0,a.A)(i,m,n)})(P),R={slots:{closeButton:h.CloseButton,closeIcon:h.CloseIcon,...T},slotProps:{...A,...b}},[_,O]=(0,c.A)("root",{ref:t,shouldForwardComponentProp:!0,className:(0,n.A)(N.root,l),elementType:S,externalForwardedProps:{...R,...E},ownerState:P,additionalProps:{role:y,elevation:0}}),[W,D]=(0,c.A)("icon",{className:N.icon,elementType:M,externalForwardedProps:R,ownerState:P}),[H,V]=(0,c.A)("message",{className:N.message,elementType:z,externalForwardedProps:R,ownerState:P}),[F,B]=(0,c.A)("action",{className:N.action,elementType:L,externalForwardedProps:R,ownerState:P}),[q,J]=(0,c.A)("closeButton",{elementType:v.A,externalForwardedProps:R,ownerState:P}),[X,Y]=(0,c.A)("closeIcon",{elementType:w.A,externalForwardedProps:R,ownerState:P});return(0,f.jsxs)(_,{...O,children:[!1!==x?(0,f.jsx)(W,{...D,children:x||g[C]||I[C]}):null,(0,f.jsx)(H,{...V,children:i}),null!=r?(0,f.jsx)(F,{...B,children:r}):null,null==r&&j?(0,f.jsx)(F,{...B,children:(0,f.jsx)(q,{size:"small","aria-label":p,title:p,color:"inherit",onClick:j,...J,children:(0,f.jsx)(X,{fontSize:"small",...Y})})}):null]})})},74912:(e,t,o)=>{"use strict";o.d(t,{A:()=>j});var r,n=o(14232),a=o(69241),i=o(13323),l=o(64170),s=o(82777),c=o(76488),d=o(95712),p=o(66438),u=o(95651),h=o(63915),A=o(14457),m=o(21849);function x(e){return(0,m.Ay)("MuiInputAdornment",e)}let v=(0,A.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var g=o(37876);let f=(0,p.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:o}=e;return[t.root,t["position".concat((0,l.A)(o.position))],!0===o.disablePointerEvents&&t.disablePointerEvents,t[o.variant]]}})((0,u.A)(e=>{let{theme:t}=e;return{display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active,variants:[{props:{variant:"filled"},style:{["&.".concat(v.positionStart,"&:not(.").concat(v.hiddenLabel,")")]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}})),j=n.forwardRef(function(e,t){let o=(0,h.b)({props:e,name:"MuiInputAdornment"}),{children:p,className:u,component:A="div",disablePointerEvents:m=!1,disableTypography:v=!1,position:j,variant:y,...C}=o,b=(0,d.A)()||{},w=y;y&&b.variant,b&&!w&&(w=b.variant);let S={...o,hiddenLabel:b.hiddenLabel,size:b.size,disablePointerEvents:m,position:j,variant:w},M=(e=>{let{classes:t,disablePointerEvents:o,hiddenLabel:r,position:n,size:a,variant:s}=e,c={root:["root",o&&"disablePointerEvents",n&&"position".concat((0,l.A)(n)),s,r&&"hiddenLabel",a&&"size".concat((0,l.A)(a))]};return(0,i.A)(c,x,t)})(S);return(0,g.jsx)(c.A.Provider,{value:null,children:(0,g.jsx)(f,{as:A,ownerState:S,className:(0,a.A)(M.root,u),ref:t,...C,children:"string"!=typeof p||v?(0,g.jsxs)(n.Fragment,{children:["start"===j?r||(r=(0,g.jsx)("span",{className:"notranslate","aria-hidden":!0,
1children:"​"})):null,p]}):(0,g.jsx)(s.A,{color:"textSecondary",children:p})})})})},85075:(e,t,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/login-race/[activityId]",function(){return o(64730)}])},89098:(e,t,o)=>{"use strict";o.d(t,{EK:()=>a,Ly:()=>n,cA:()=>r});let r="prod",n="",a="";"local"===r?(n="/api",a="http://localhost:3000"):"test"===r?(n="/api",a="https://turapi.ybsrv.com"):"prod"===r&&(n="/api",a="https://www.tursetsports.com")}},e=>{e.O(0,[9221,5338,9596,4808,6467,7025,2883,9458,1144,7458,5509,636,6593,8792],()=>e(e.s=85075)),_N_E=e.O()}]);

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.