(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[524],{55383:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/fantasy-leagues",function(){return n(36846)}])},36846:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return v}});var a=n(85893),r=n(67294),i=n(38878),o=n(95429),l=n(24920),s=n(92795),c=n(42195),u=n(78964),d=n(25675),g=n.n(d),f=n(41664),h=n.n(f),p=n(37748),y=n(11163),b=n(63991),m=n(96941),x=n(95385),w=n(66520);function v(){let e=(0,u.a)("(max-width: ".concat(1400,"px)")),[t,n]=(0,r.useState)(""),[d,f]=(0,r.useState)(!1),v=(0,y.useRouter)();return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w.Z,{title:"Call of Duty League Fantasy | Breaking Point",description:"Immerse yourself in the thrill of Call of Duty League Fantasy! Sign up now to assemble your dream team, compete against friends, and experience the ultimate fantasy gaming adventure. Join the action-packed world of Call of Duty League and prove your strategic prowess in the virtual battlefield.",keywords:"Call of Duty, Call of Duty Leauge, CDL, Call of Duty Fantasy, Call of Duty League Fantasy, CDL Fantasy, Breaking Point, fantasy, sports, esports",imageUrl:"/bpFantasyLogo.png",url:"https://www.breakingpoint.gg/fantasy-leagues"}),(0,a.jsxs)(x.Z,{children:[(0,a.jsx)(i.Z,{w:"100%",h:e?"calc(100vh - 64px - 56px - 32px)":"100%",style:{background:"url('/images/fantasy/Fantasy_Landing_Background.png')",backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPositionY:"15%",alignItems:"center",justifyContent:"center"},children:(0,a.jsxs)(o.k,{direction:"column",gap:32,w:480,maw:"75vw",align:"center",justify:"center",children:[(0,a.jsx)(g(),{priority:!0,src:"/images/fantasy/Fantasy_Logo.png",alt:"fantasy logo",width:0,height:0,sizes:"100vw",style:{width:"100%",height:"auto"},quality:100}),(0,a.jsxs)(o.k,{direction:"column",gap:16,w:"100%",align:"center",justify:"center",children:[(0,a.jsx)(m.Z,{button:!0}),(0,a.jsx)(h(),{href:"/fantasy-leagues/leagues",style:{color:"inherit",textDecoration:"inherit"},children:(0,a.jsx)(l.z,{size:"lg",w:420,maw:"70vw",h:72,color:"rgb(31, 31, 31)",style:{border:"2px solid grey"},children:"Join a Public League"})}),(0,a.jsx)(l.z,{size:"lg",w:420,maw:"70vw",h:72,color:"rgb(31, 31, 31)",style:{border:"2px solid grey"},onClick:()=>f(!0),children:"Got an Invite?"})]})]})}),(0,a.jsx)(s.u,{opened:d,onClose:()=>f(!1),size:"lg",centered:!0,withCloseButton:!1,children:(0,a.jsxs)(o.k,{gap:8,align:"end",children:[(0,a.jsx)(c.I,{leftSection:(0,a.jsx)(b.JHz,{size:24}),flex:1,size:"lg",placeholder:"Enter Invitation Link...",value:t,onChange:e=>n(e.currentTarget.value),styles:{input:{background:"rgba(0,0,0,.5)",border:"none"}}}),(0,a.jsx)(l.z,{size:"lg",color:"rgba(0,0,0,.5)",onClick:()=>{try{let e=new URL(t),n=e.searchParams.get("code");if(!e.pathname.split("/").slice(-2,-1)[0]||!n)throw Error("Invalid invitation link");f(!1),v.push(t)}catch(e){(0,p.c0)({title:"Error",message:"Invalid invitation link",color:"red"})}},children:(0,a.jsx)(b.Ec8,{})})]})})]})]})}},30160:function(e,t,n){"use strict";n.d(t,{Z:function(){return d},J:function(){return u}});var a=n(85893),r=n(67294),i=n(69429),o=n(46976),l=n(58278),s=n(42195),c={root:"m_5f75b09e",body:"m_5f6e695e",labelWrapper:"m_d3ea56bb",label:"m_8ee546b8",description:"m_328f68c0",error:"m_8e8a99cc"};let u=c,d=(0,r.forwardRef)(({__staticSelector:e,__stylesApiProps:t,className:n,classNames:r,styles:u,unstyled:d,children:g,label:f,description:h,id:p,disabled:y,error:b,size:m,labelPosition:x="left",bodyElement:w="div",labelElement:v="label",variant:j,style:_,vars:k,mod:C,...z},L)=>{let D=(0,o.y)({name:e,props:t,className:n,style:_,classes:c,classNames:r,styles:u,unstyled:d});return(0,a.jsx)(l.x,{...D("root"),ref:L,__vars:{"--label-fz":(0,i.yv)(m),"--label-lh":(0,i.ap)(m,"label-lh")},mod:[{"label-position":x},C],variant:j,size:m,...z,children:(0,a.jsxs)(l.x,{component:w,htmlFor:"label"===w?p:void 0,...D("body"),children:[g,(0,a.jsxs)("div",{...D("labelWrapper"),"data-disabled":y||void 0,children:[f&&(0,a.jsx)(l.x,{component:v,htmlFor:"label"===v?p:void 0,...D("label"),"data-disabled":y||void 0,children:f}),h&&(0,a.jsx)(s.I.Description,{size:m,__inheritStyles:!1,...D("description"),children:h}),b&&"boolean"!=typeof b&&(0,a.jsx)(s.I.Error,{size:m,__inheritStyles:!1,...D("error"),children:b})]})]})})});d.displayName="@mantine/core/InlineInput"},6502:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var a=n(85893);n(67294);var r=n(58608);function i({children:e,role:t}){let n=(0,r.D)();return n?(0,a.jsx)("div",{role:t,"aria-labelledby":n.labelId,"aria-describedby":n.describedBy,children:e}):(0,a.jsx)(a.Fragment,{children:e})}},95404:function(e,t,n){"use strict";function a(e,t){return"boolean"==typeof e?e:t.autoContrast}n.d(t,{o:function(){return a}})}},function(e){e.O(0,[3249,8188,6755,1810,2888,9774,179],function(){return e(e.s=55383)}),_N_E=e.O()}]);