PageSourceSearch

https://www.fimewc.jp/_next/static/chunks/1322-5ad11a82606f09cb.js

js fimewc.jp collected 2026-10-02 19:25:45 UTC 27,397 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1322],{1322:function(e,a,t){t.d(a,{Z:function(){return C}});var n,s=t(5893),i=t(7294),r=t(9008),c=t.n(r),l=t(5675),o=t.n(l),h=t(1664),d=t.n(h),m=t(9792),u=t(7536),f=t(9374),p=t(8287);function x(){let{t:e}=(0,p.$G)(),[a,t]=(0,i.useState)(!1),{register:n,handleSubmit:r,watch:c,formState:{errors:l}}=(0,u.cI)(),o=async(e,a)=>{null==a||a.preventDefault();let n={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)},s=await fetch("/api/newsletter/signup",n),i=await s.json();t(!0),i&&(null==a||a.target.reset())};return(0,s.jsxs)("form",{onSubmit:r(o),children:[(0,s.jsx)("p",{className:"text-white font-heebo font-bold uppercase text-[14px] mb-2",children:e("subscribe-to-our-newsletter")}),(0,s.jsxs)("div",{className:"mb-4 grid grid-cols-6",children:[(0,s.jsx)("div",{className:"col-span-4",children:(0,s.jsx)("input",{type:"email",placeholder:e("please-enter-your-email-address")||"",className:"bg-grayLight shadow  appearance-none  border-b-2 border-secondary  w-full py-2 px-3 leading-tight focus:outline-none focus:shadow-outline",...n("email",{required:!0})})}),(0,s.jsx)("button",{type:"submit",className:"bg-secondary px-1 md:px-4 font-heebo text-sm font-bold uppercase col-span-2",children:e("subscribe")})]}),l.email&&(0,s.jsx)("p",{className:"text-red-500 text-sm",children:e("please-enter-your-email")}),a&&(0,s.jsx)("p",{className:"text-white font-heebo",children:e("newsletter-subscription-ty")})]})}n=async function(e){let a=e.locale,t=e.req.session,n=t.user?t.user:null;return{props:{user:n,locale:a}}},(0,f.c)(n,{password:"H3D89HmerdzdjmfjflIDJIDOEIrfeoiu8R08F09JFefhie",cookieName:"fim_session",secure:!1,cookieOptions:{secure:!0}});var g=t(1163),v=t(3084);let b=()=>{let e=(0,g.useRouter)(),{t:a}=(0,p.$G)(["common"]),[t,n]=(0,i.useState)([]),r=[{name:a("news-navlink"),href:v.aP,active:e.asPath==v.aP},{name:a("fim-ewc-explainer-navlink"),href:v.C2+v.Nk,active:e.asPath.includes(v.Nk),subMenu:!0},{name:a("dunlop-sst-navlink"),href:v.C2+v.tF,active:e.asPath.includes(v.tF),subMenu:!0},{name:a("calendar-navlink"),href:v.k8,active:e.asPath.includes(v.k8)},{name:a("riders-and-teams-navlink"),href:v.TQ,active:e.asPath.includes(v.TQ)},{name:a("standings-navlink"),href:v.SI,active:e.asPath==v.SI},{name:a("photos-navlink"),href:v.M$,active:e.asPath.includes(v.M$),subMenu:!0},{name:a("videos-navlink"),href:v.jy,active:e.asPath.includes(v.jy),subMenu:!0},{name:a("partners-navlink"),href:v.fB,active:e.asPath==v.fB},{name:a("ewc-cares-navlink"),href:v.r9,active:e.asPath==v.r9}],c=[{name:a("access-navlink"),href:v.tY,active:e.asPath==v.tY}],l=[{name:a("team-registration-header"),href:v.u1,active:e.asPath==v.u1}],h=[{name:a("contacts"),href:v.gU,active:e.asPath==v.gU},{name:a("terms-and-conditions"),href:v.KA,active:e.asPath==v.KA},{name:a("privacy-policy"),href:v.KF,active:e.asPath==v.KF},{name:a("cookie-policy"),href:v.Cj,active:e.asPath==v.Cj},{name:a("credits"),href:v.U8,active:e.asPath==v.U8}],u=async()=>{try{let e=await fetch("/api/sponsoring/get-sponsorings",{method:"POST",headers:{"Content-Type":"application/json"}}),a=await e.json();if(a.error)return[];return a.sponsorings}catch(e){return[]}};return(0,i.useEffect)(()=>{u().then(e=>{n(e)})},[]),(0,s.jsxs)("footer",{className:"z-10 relative bg-white ",children:[(0,s.jsxs)("div",{className:"container md:py-4 py-8 font-extrabold flex flex-col lg:flex-row justify-between items-center gap-y-6 bg-white relative z-10",children:[(0,s.jsx)("p",{className:"text-primary uppercase text-lg font-futura",children:a("official-partners")}),(0,s.jsx)("div",{className:"flex flex-col md:flex-row gap-x-8 gap-y-2",children:[...t.sort((e,a)=>e.priority-a.priority).map((e,a)=>{var t,n;return e.sponsor&&e.sponsor.logo&&(0,s.jsx)(d(),{href:e.sponsor.url,target:"_blank",className:"relative w-[150px] h-[50px]  cursor-pointer",children:(0,s.jsx)(o(),{src:null===(t=e.sponsor.logo)||void 0===t?void 0:t.mediumURL,alt:e.sponsor.title,placeholder:"blur",blurDataURL:null===(n=e.sponsor.logo)||void 0===n?void 0:n.mediumURL,fill:!0,className:"object-contain w-full h-full"})},a)})]})]}),(0,s.jsxs)("div",{className:" mx-auto pt-8 flex bg-[url('/img/shutterstock-black.jpg')] bg-contain bg-repeat border-t-2 border-secondary flex-col relative z-10",children:[(0,s.jsxs)("div",{className:"flex flex-col md:flex-row justify-between container",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-y-4 md:pb-4",children:[(0,s.jsx)(d(),{href:"/",children:(0,s.jsx)(o(),{src:"img/logo-ewc.png",alt:"ewc-logo",width:110,height:74,className:"h-[74px] w-[110px]"})}),(0,s.jsx)("p",{className:"text-white font-heebo",children:a("footer-tagline")}),(0,s.jsx)("div",{className:"flex gap-4",children:(0,s.jsx)(m.Z,{instagramURL:"https://www.instagram.com/fim_ewc_official/",facebookURL:"https://www.facebook.com/fim.ewc",youtubeURL:"https://www.youtube.com/channel/UC-9Xt9VR4Y7mPl6lGp-gojA",twitterURL:"https://twitter.com/fim_ewc?lang=fr"})}),(0,s.jsx)(x,{})]}),(0,s.jsxs)("div",{className:"grid grid-cols-3 gap-4 relative md:px-8 md:pt-8 py-2 ",children:[(0,s.jsx)(o(),{src:"/img/component-plus.png",alt:"component-plus",width:47,height:47,className:"absolute top-0 -left-10 hidden md:flex"}),(0,s.jsx)(o(),{src:"/img/component-plus.png",alt:"component-plus",width:47,height:47,className:"absolute bottom-[23px] right-0 hidden md:flex"}),(0,s.jsxs)("div",{className:"col-span-3 md:col-span-1",children:[(0,s.jsx)("p",{className:"text-white uppercase font-extrabold text-md mb-4",children:a("ewc")}),(0,s.jsx)("div",{className:"flex flex-col text-sm uppercase",children:r.map((a,t)=>a.href===v.fB?null:(0,s.jsx)("div",{onClick:a.href?()=>e.push(a.href):()=>{},className:"hover:text-secondary font-heebo ".concat(a.active?"text-secondary":"text-white"," ").concat((a.subMenu,"")),children:a.name},t))})]}),(0,s.jsxs)("div",{className:"col-span-3 md:col-span-1",children:[(0,s.jsx)("p",{className:"text-white uppercase font-extrabold text-md mb-4",children:a("medias")}),(0,s.jsx)("div",{className:"flex flex-col text-sm uppercase",children:c.map((e,a)=>(0,s.jsx)(d(),{href:e.href,className:" hover:text-secondary font-heebo ".concat(e.active?"text-secondary":"text-white"),children:e.name},a))})]}),(0,s.jsxs)("div",{className:"col-span-3 md:col-span-1",children:[(0,s.jsx)("p",{className:"text-white uppercase font-extrabold text-md mb-4",children:a("seasons")}),(0,s.jsx)("div",{className:"flex flex-col text-sm uppercase",children:l.map((e,a)=>(0,s.jsx)(d(),{href:e.href,target:"_blank",className:" hover:text-secondary font-heebo ".concat(e.active?"text-secondary":"text-white"),children:e.name},a))})]})]})]}),(0,s.jsxs)("div",{className:"flex gap-2 container py-4 md:pb-2 relative z-10",children:[(0,s.jsx)(o(),{src:"/img/logo-dse-hd.png",alt:"dse-logo",width:102,height:5,className:"object-contain"}),(0,s.jsx)(o(),{src:"/img/logo-fim-hd.png",alt:"fim-logo",width:80,height:5,className:"object-contain"})]}),(0,s.jsx)("div",{className:"container",children:(0,s.jsx)("div",{className:"flex flex-wrap md:flex-row flex-col md:gap-4 text-sm py-4 border-t-2 border-white",children:h.map((e,a)=>(0,s.jsx)(d(),{href:e.href,className:"text-white underline hover:text-secondary font-heebo ".concat(e.active?"text-secondary":""),children:e.name},a))})})]}
1),(0,s.jsx)("div",{className:"absolute z-1 -top-[65px] w-full h-[68px] bg-[url('/img/footer-bg-shape.png')] bg-no-repeat bg-right"})]})},w=()=>{let e=(0,g.useRouter)();return!!e.asPath.includes("media")&&"/media/login"!==e.asPath&&"/media/register"!==e.asPath&&"/media/lost-password"!==e.asPath};var j=t(9860),y=t(4080),k=t(1799),N=t(243),P=t(1039);let M=e=>{var a,t;let{onChange:n,isMedia:r,user:c}=e,[l,h]=(0,i.useState)(null),u=(0,g.useRouter)(),f=[],x=[],{t:b,i18n:w}=(0,p.$G)();r()?(f=[{name:b("essentials-navlink"),active:u.asPath.includes(v.I3)||u.asPath.includes(v.Iu)||u.asPath.includes(v.B4)||u.asPath.includes(v.gw)||u.asPath.includes(v.sL),subMenu:[{name:b("guide-to-media-services-navlink"),href:v.I3,active:u.asPath==v.I3},{name:b("hall-of-fame-navlink"),href:v.Iu,active:u.asPath==v.Iu},{name:b("fim-ewc-explained-navlink"),href:v.B4,active:u.asPath==v.B4},{name:b("press-kit-navlink"),href:v.gw,active:u.asPath==v.gw},{name:b("fim-ewc-points-navlink"),href:v.sL,active:u.asPath==v.sL}]},{name:b("ressources-navlink"),active:u.asPath.includes(v.jl)||u.asPath.includes(v.oI)||u.asPath.includes(v.gp)||u.asPath.includes(v.$_)||u.asPath.includes(v.z0),subMenu:[{name:b("photo gallery-navlink"),href:v.jl,active:u.asPath==v.jl},{name:b("press-releases-navlink"),href:v.oI,active:u.asPath==v.oI},{name:b("standings-media-navlink"),href:v.gp,active:u.asPath==v.gp},{name:b("logos-navlink"),href:v.$_,active:u.asPath==v.$_},{name:b("regulations-navlink"),href:v.z0,active:u.asPath==v.z0}]},{name:b("accreditation-navlink"),href:v.az,active:u.asPath==v.az},{name:b("contacts-navlink"),href:v.xD,active:u.asPath==v.xD},{name:b("logout-navlink"),href:v.V2,onClick:()=>(0,P.kS)(u)}],x=[{name:b("essentials-navlink"),active:u.asPath==v.I3||u.asPath==v.Iu||u.asPath==v.gw||u.asPath==v.sL||u.asPath==v.B4,subMenu:[{name:b("guide-to-media-services-navlink"),href:v.I3,active:u.asPath==v.I3},{name:b("hall-of-fame-navlink"),href:v.Iu,active:u.asPath==v.Iu},{name:b("fim-ewc-explained-navlink"),href:v.B4,active:u.asPath==v.B4},{name:b("press-kit-navlink"),href:v.gw,active:u.asPath==v.gw},{name:b("fim-ewc-points-navlink"),href:v.sL,active:u.asPath==v.sL}]},{name:b("ressources-navlink"),active:u.asPath.includes(v.jl)||u.asPath.includes(v.oI)||u.asPath==v.gp||u.asPath==v.$_||u.asPath==v.z0,subMenu:[{name:b("photo gallery-navlink"),href:v.jl,active:u.asPath.includes(v.jl)},{name:b("press-releases-navlink"),href:v.oI,active:u.asPath.includes(v.oI)},{name:b("standings-media-navlink"),href:v.gp,active:u.asPath==v.gp},{name:b("logos-navlink"),href:v.$_,active:u.asPath==v.$_},{name:b("regulations-navlink"),href:v.z0,active:u.asPath==v.z0}]},{name:b("accreditation-navlink"),href:v.az,active:u.asPath==v.az},{name:b("contacts-navlink"),href:v.xD,active:u.asPath==v.xD},{name:b("logout-navlink"),href:v.V2,onClick:()=>(0,P.kS)(u)}]):(f=[{name:b("news-navlink"),href:v.aP,active:u.asPath.includes(v.aP)},{name:b("championship-navlink"),active:u.asPath.includes(v.C2),subMenu:[{name:b("fim-ewc-explainer-navlink"),href:v.C2+v.Nk,active:u.asPath.includes(v.Nk)},{name:b("dunlop-sst-navlink"),href:v.C2+v.tF,active:u.asPath.includes(v.tF)}]},{name:b("calendar-navlink"),href:v.k8,active:u.asPath.includes(v.k8)||u.asPath.includes(v.PC)},{name:b("riders-and-teams-navlink"),href:v.TQ,active:u.asPath.includes(v.TQ)},{name:b("standings-navlink"),href:v.SI,active:u.asPath==v.SI},{name:b("galleries-navlink"),active:u.asPath.includes(v.M$)||u.asPath.includes(v.jy),subMenu:[{name:b("photos-navlink"),href:v.M$,active:u.asPath.includes(v.M$)},{name:b("videos-navlink"),href:v.jy,active:u.asPath.includes(v.jy)}]},{name:b("partners-navlink"),href:v.fB,active:u.asPath==v.fB},{name:b("ewc-cares-navlink"),href:v.r9,active:u.asPath==v.r9}],x=[{name:b("news-navlink"),href:v.aP,active:u.asPath.includes(v.aP),isMedia:!1},{name:b("championship-navlink"),active:u.asPath.includes(v.C2),isMedia:!1,subMenu:[{name:b("fim-ewc-explainer-navlink"),href:v.C2+v.Nk,active:u.asPath.includes(v.Nk)},{name:b("dunlop-sst-navlink"),href:v.C2+v.tF,active:u.asPath.includes(v.tF)}]},{name:b("calendar-navlink"),href:v.k8,active:u.asPath.includes(v.k8)||u.asPath.includes(v.PC),isMedia:!1},{name:b("riders-and-teams-navlink"),href:v.TQ,active:u.asPath.includes(v.TQ),isMedia:!1},{name:b("standings-navlink"),href:v.SI,active:u.asPath==v.SI,isMedia:!1},{name:b("galleries-navlink"),active:u.asPath.includes(v.M$),subMenu:[{name:b("photos-navlink"),href:v.M$,active:u.asPath.includes(v.M$)},{name:b("videos-navlink"),href:v.jy,active:u.asPath.includes(v.jy)}]},{name:b("partners-navlink"),href:v.fB,active:u.asPath==v.fB,isMedia:!1},{name:b("where-to-watch"),href:v._x,active:u.asPath==v._x,isMedia:!1},{name:b("ewc-cares-navlink"),href:v.r9,active:u.asPath==v.r9,isMedia:!1},{name:b("media-access-header"),href:v.tY,active:u.asPath==v.tY,isMedia:!0},{name:b("team-registration-header"),href:v.u1,active:u.asPath==v.u1,isMedia:!0}]);let M=e=>{h(e)},C=()=>{h(null)},{language:I}=w,z=null!==(a=u.locales)&&void 0!==a?a:[I];function _(e){return e.slice(0,1).toUpperCase()+e.slice(1)}let L=(0,i.useMemo)(()=>new Intl.DisplayNames([I],{type:"language"}),[I]),[U,F]=(0,i.useState)({value:w.language,label:_(null!==(t=L.of(I))&&void 0!==t?t:I)}),R=(0,i.useCallback)(e=>{let a=u.asPath;return u.push(a,a,{locale:e})},[u]),B=(0,i.useCallback)(async e=>{var a;F({value:e,label:_(null!==(a=L.of(e))&&void 0!==a?a:e)}),n&&n(e),await R(e)},[R,n,L]),Y=f.reduce((e,a)=>(a.subMenu&&a.name&&(e[a.name]=!1),e),{}),[S,D]=(0,i.useState)(Y);return(0,s.jsxs)("header",{className:"mb-4 z-[999999] relative bg-transparent",children:[(0,s.jsx)(d(),{href:v.Dr,className:"bg-[url('/img/logoWithBg.png')]  w-[300px] z-[99] hidden bg-contain bg-no-repeat bg-left-top absolute xl:z-[70] md:min-
1h-[121px]  min-h-[60px] md:flex items-center cursor-pointer"}),(0,s.jsx)("div",{className:"bg-primary md:block hidden relative",children:(0,s.jsxs)("div",{className:"container px-0 min-h-[60px] flex justify-end items-center gap-4",children:[(0,s.jsx)(o(),{src:"/img/fim-endurance.png",alt:"FIM Endurance World Championship",width:150,height:55,className:"hidden xl:flex"}),(0,s.jsx)(d(),{href:v.gc,target:"_blank",className:"display-menu",children:(0,s.jsx)(o(),{src:"/img/logo-dse-hd.png",alt:"Discovery Sports Events Logo",width:120,height:59,className:"object-contain "})}),(0,s.jsx)(d(),{href:v.Rz,target:"_blank",className:"display-menu",children:(0,s.jsx)(o(),{src:"/img/logo-fim-hd.png",alt:"FIM Logo",width:65,height:41,className:"object-contain "})}),(0,s.jsxs)("div",{className:"flex mr-2 gap-x-4",children:[(0,s.jsxs)("div",{className:"hidden xl:flex items-center gap-x-4",children:[(0,s.jsx)("div",{className:"w-[1px] h-[40px] bg-white"}),(0,s.jsx)(m.Z,{instagramURL:v.fH,facebookURL:v.PE,youtubeURL:v.jF,twitterURL:v.UB})]}),(0,s.jsxs)("div",{className:"display-menu items-center gap-x-4",children:[(0,s.jsx)("div",{className:"w-[1px] h-[40px] bg-white"}),(0,s.jsx)(d(),{href:v._x,children:(0,s.jsx)("p",{className:"".concat(u.asPath==v._x?"text-secondary":"text-white"," pr-2 py-[2px] font-heebo text-md uppercase cursor-pointer"),children:"TV"})}),(0,s.jsxs)(d(),{href:v.tY,className:"flex items-center",children:[(0,s.jsx)("p",{className:"".concat(c?"text-secondary":"text-white"," pr-2 py-[2px] font-heebo text-md uppercase"),children:b("media-access-header")}),c&&(0,s.jsx)(o(),{src:"/img/check-yellow.svg",alt:"icon you are connected",width:14,height:14,className:"-ml-1 flex-shrink"})]}),(0,s.jsxs)(d(),{target:"_blank",href:v.u1,className:"hover:scale-[1.02] transition-all duration-300 rounded-[2px] relative group overflow-hidden w-fit flex",children:[(0,s.jsx)("p",{className:"bg-secondary px-2 py-[2px] font-heebo text-md uppercase",children:b("team-registration-header")}),(0,s.jsx)("div",{className:"absolute top-0 -inset-full h-full w-1/2 z-5 block transform -skew-x-[20deg] bg-gradient-to-r from-transparent to-white opacity-40 group-hover:animate-shine"})]}),(0,s.jsxs)("div",{className:"relative group hover:bg-primary flex justify-center display-menu h-[32px] w-[48px]",children:[(0,s.jsx)("div",{children:(0,s.jsx)(o(),{src:"/img/".concat(w.language,".svg"),width:"32",height:"32",alt:"flag"})}),(0,s.jsx)("div",{className:"absolute top-8 -left-0 w-full group-hover:flex hidden z-[100]",children:(0,s.jsx)("div",{className:"w-fit items-center shrink-0 bg-primary text-sm font-semibold leading-6 text-gray-900 shadow-lg ",children:z.map(e=>{var a;if(_(null!==(a=L.of(e))&&void 0!==a?a:e),e!==w.language)return(0,s.jsx)("a",{onClick:()=>B(e),className:"font cursor-pointer py-1 flex p-2 shrink-0",children:(0,s.jsx)(o(),{src:"/img/".concat(e,".svg"),width:"32",height:"32",alt:"flag",className:"border border-borderFlag"})},e)})})})]})]})]})]})}),(0,s.jsxs)("div",{className:"shadow-lg relative z-[60]",children:[(0,s.jsx)(d(),{href:v.Dr,className:" md:hidden cursor-pointer absolute flex items-center py-2 left-4 ",children:(0,s.jsx)(o(),{src:"img/logo-ewc.png",width:65,height:65,alt:"logo",className:" object-contain "})}),(0,s.jsx)(j.J,{className:e=>{let{open:a}=e;return function(){for(var e=arguments.length,a=Array(e),t=0;t<e;t++)a[t]=arguments[t];
1return a.filter(Boolean).join(" ")}(a?"inset-0 !z-[999999]  justify-end shadow-xl  ":"display-mobile-menu")},children:e=>{let{open:a}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"-my-2 -mr-2 display-mobile-menu absolute md:right-[28px] right-6 md:top-[12px] top-6",children:(0,s.jsx)(j.J.Button,{className:"inline-flex items-center justify-center rounded-sm md:bg-primary bg-white p-1 md:text-white text-black focus:outline-none ",children:(0,s.jsx)(k,{className:"h-6 w-6","aria-hidden":"true"})})}),(0,s.jsx)(y.u,{as:i.Fragment,enter:"duration-200 ease-out",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"duration-100 ease-in",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,s.jsx)(j.J.Panel,{className:"absolute right-0 top-0 origin-top-right transform transition display-mobile-menu w-full md:w-2/3 ",children:(0,s.jsxs)("div",{className:"rounded-sm bg-primary shadow-[99]",children:[(0,s.jsx)("div",{className:"px-5 md:pb-4 ",children:(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsx)(d(),{href:v.Dr,className:"opacity-100 focus:ring-0 focus:ring-offset-0 cursor-pointer ml-2 z-[9999]",children:(0,s.jsx)(o(),{src:"img/logo-ewc.png",alt:"logo",width:65,height:65,className:" h-20 object-contain "})}),(0,s.jsx)("div",{className:"",children:(0,s.jsx)(j.J.Button,{className:"inline-flex items-center justify-center rounded-md bg-primary p-2 text-white focus:outline-none ",children:(0,s.jsx)(N,{className:"h-6 w-6","aria-hidden":"true"})})})]})}),(0,s.jsx)("div",{className:"space-y-6 pb-6 px-5",children:(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-y-2",children:[x.filter(e=>!e.isMedia).map((e,a)=>e.href===v.fB?null:(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{onClick:e.onClick?e.onClick:e.href?()=>u.push(e.href):e.subMenu?()=>{D({...S,[e.name]:!S[e.name]})}:()=>{},className:"block font-heebo cursor-pointer p-2 hover:bg-primary border-b-2 border-primary w-max hover:text-secondary  uppercase ".concat(e.active?"text-secondary w-max border-transparent bg-primary":"text-white"),children:[" ",e.name," ",e.subMenu&&e.subMenu&&(0,s.jsx)(o(),{src:"/img/chevron-down-white.svg",alt:"arrow down",width:10,height:10,className:"inline-block ml-2 ".concat(S[e.name]&&"rotate-180")})]},a),e.subMenu&&S[e.name]&&e.subMenu.map((a,t)=>(0,s.jsx)(d(),{onClick:e.onClick,href:a.href||"",className:" ".concat(a.active&&"!text-secondary  p-2 ","  block p-2 hover:text-secondary px-4 font-normal text-white uppercase text-md font-heebo"),children:a.name},t))]},a)),(0,s.jsxs)("div",{className:"relative group  hover:bg-primary  flex  items-center ",children:[(0,s.jsx)("div",{className:"  mb-1  hover:text-white px-2 hover:border-secondary uppercase text-md font-heebo",children:(0,s.jsx)(o(),{src:"/img/".concat(w.language,".svg"),width:"32",height:"32",alt:"flag"})}),(0,s.jsx)("div",{className:"absolute top-7 -left-0 w-full group-hover:flex hidden z-10 ",children:(0,s.jsx)("div",{className:"w-fit items-center shrink bg-primary text-sm font-semibold leading-6 text-gray-900 shadow-lg  ",children:z.map(e=>{var a;if(_(null!==(a=L.of(e))&&void 0!==a?a:e),e!==w.language)return(0,s.jsx)("a",{onClick:()=>B(e),className:"font cursor-pointer py-1 hover:bg-black flex p-2 w-full",children:(0,s.jsx)(o(),{src:"/img/".concat(e,".svg"),width:"32",height:"32",alt:"flag",className:"border border-borderFlag"})},e)})})})]})]})}),(0,s.jsxs)("div",{className:"space-y-6 pb-6 px-5 border-t border-secondary mt-7",children:[(0,s.jsx)("div",{className:"grid grid-cols-1 mt-6 gap-y-2",children:x.filter(e=>e.isMedia).map((e,a)=>e.href===v.tY?(0,s.jsxs)(d(),{href:v.tY,className:"flex items-center",children:[(0,s.jsx)("p",{className:"".concat(c?"text-secondary":"text-white"," pr-2 py-[2px] font-heebo text-md uppercase"),children:b("media-access-header")}),c&&(0,s.jsx)(o(),{src:"/img/check-yellow.svg",alt:"icon you are connected",width:14,height:14,className:"-ml-1 flex-shrink"})]}):(0,s.jsx)(d(),{href:e.href||"",className:"hover:scale-[1.02] transition-all duration-300 rounded-[2px] relative group overflow-hidden w-fit flex font-heebo px-2 py-[2px] hover:bg-primary  border-primary hover:text-secondary hover:border-white uppercase ".concat(e.active?"text-secondary w-max border-transparent bg-primary":1===a?"bg-secondary text-black ":"text-white"),children:e.name},a))}),(0,s.jsxs)("div",{className:"grid md:grid-cols-3 justify-start items-center gap-4",children:[(0,s.jsx)("div",{className:"col-span-1 flex flex-col  md:flex-col",children:(0,s.jsx)(o(),{src:"/img/fim-endurance.png",alt:"FIM Endurance World Championship",width:110,height:55,className:"object-contain"})}),(0,s.jsx)("div",{className:"col-span-1 flex flex-col md:flex-col",children:(0,s.jsx)(d(),{href:v.gc,target:"_blank",children:(0,s.jsx)(o(),{src:"/img/logo-dse-hd.png",alt:"Discovery Sports Events Logo",width:110,height:55,className:"object-contain"})})}),(0,s.jsx)("div",{className:"col-span-1 flex flex-col -mt-2 md:flex-col",children:(0,s.jsx)(d(),{href:v.Rz,target:"_blank",children:(0,s.jsx)(o(),{src:"/img/logo-fim-hd.png",alt:"FIM Logo",width:65,height:31})})}),(0,s.jsx)("div",{className:"col-span-1",children:(0,s.jsx)(m.Z,{instagramURL:v.fH,facebookURL:v.PE,youtubeURL:v.jF,twitterURL:v.UB})})]})]})]})})})]})}}),(0,s.jsx)("div",{className:"bg-primary md:bg-white md:min-h-[40px] min-h-[60
1px] ",children:(0,s.jsx)("div",{className:"container display-menu px-0 z-20 relative justify-end pointer-events-auto",children:f.map((e,a)=>e.href===v.fB?null:(0,s.jsxs)("div",{className:"relative z-20 ".concat(e.subMenu&&"hover:bg-primary group  hover:text-white"),onMouseEnter:()=>M(a),onMouseLeave:()=>C(),children:[(0,s.jsx)(d(),{onClick:e.onClick,href:e.href||"",className:" ".concat(e.active?"text-white  border-secondary bg-primary":"border-white"," ").concat(e.subMenu?"pointer-events-none ":""," block py-2  hover:bg-primary border-b-2 hover:text-white px-2 xl:px-3 hover:border-secondary group-hover:border-secondary uppercase text-md font-heebo  "),children:e.name}),l===a&&e.subMenu&&(0,s.jsx)("div",{className:"absolute top-[calc(40px + 10px)] -left-0 w-full z-10 fadeIn",children:(0,s.jsx)("div",{className:"w-52  shrink  bg-white  text-sm font-semibold leading-6 text-gray-900 shadow-lg ",children:e.subMenu.map((a,t)=>(0,s.jsx)(d(),{onClick:e.onClick,href:a.href||"",className:" ".concat(a.active?"text-white bg-black  border-secondary border-b-2 p-2  ":"border-white"," text-black  block p-2 hover:bg-primary px-4 border-b-2 font-normal hover:text-white hover:border-secondary uppercase text-md font-heebo"),children:a.name},t))})})]},a))})})]})]})};function C(e){let a=e.children;return(0,s.jsxs)("div",{className:"items-center  max-screen-responsive  overflow-hidden",children:[(0,s.jsxs)(c(),{children:[(0,s.jsx)("link",{rel:"icon",href:"img/logo-ewc.png"}),(0,s.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,s.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:""}),(0,s.jsx)("meta",{name:"google-site-verification",content:"sKvfexwzahVdHZ42pNnQQGpOslsCGd11ZqhAgToVwj0"}),(0,s.jsx)("title",{children:"Home - FIM EWC"})]}),(0,s.jsx)(M,{user:e.user,isMedia:w}),(0,s.jsx)("main",{className:"",children:a}),(0,s.jsx)(b,{})]})}},9792:function(e,a,t){t.d(a,{Z:function(){return l}});var n=t(5893);t(7294);var s=t(1664),i=t.n(s),r=t(5675),c=t.n(r);function l(e){let{instagramURL:a,facebookURL:t,youtubeURL:s,twitterURL:r,websiteURL:l}=e;return(0,n.jsx)("div",{className:"gap-x-2 flex items-center",children:[{name:"Twitter",href:r,icon:"img/twitter-white.svg",width:17,height:14},{name:"Facebook",href:t,icon:"img/facebook-white.svg",width:8,height:14},{name:"Instagram",href:a,icon:"img/instagram-white.svg",width:14,height:14},{name:"Youtube",href:s,icon:"img/youtube-white.svg",width:20,height:14},{name:"Website",href:l,icon:"/img/website-white.svg",width:20,height:14}].map((e,a)=>e.href&&(0,n.jsx)(i(),{href:e.href,target:"_blank",className:"rounded-sm cursor-pointer  bg-[#27292C]  hover:bg-[#373A3E] transition-all w-[35px] h-[35px] items-center justify-center flex self-start",children:(0,n.jsx)(c(),{src:e.icon,alt:e.name,width:e.width,height:e.height})},a))})}},3084:function(e,a,t){t.d(a,{$_:function(){return A},B4:function(){return Y},C2:function(){return j},Cj:function(){return c},Dr:function(){return n},I3:function(){return R},Iu:function(){return B},KA:function(){return i},KF:function(){return r},M$:function(){return m},Nk:function(){return k},PC:function(){return f},PE:function(){return _},P_:function(){return x},Rz:function(){return C},SI:function(){return g},TQ:function(){return d},U8:function(){return l},UB:function(){return U},V2:function(){return G},_x:function(){return b},aP:function(){return o},az:function(){return Z},b:function(){return J},fB:function(){return N},fH:function(){return I},gU:function(){return s},gc:function(){return M},gn:function(){return p},gp:function(){return E},gw:function(){return S},j:function(){return H},jF:function(){return L},jl:function(){return T},jy:function(){return u},k8:function(){return h},oI:function(){return $},r9:function(){return P},rs:function(){return v},sL:function(){return D},tF:function(){return y},tY:function(){return F},u1:function(){return z},xB:function(){return w},xD:function(){return V},z0:function(){return Q}});let n="/",s="/contacts",i="/terms-conditions",r="/privacy-policy",c="/cookie-policy",l="/credits",o="/news",h="/calendar",d="/teams",m="/photos",u="/videos",f="/event/",p="/media",x="/photo-gallery",g="/standings",v="/results",b="/where-to-watch",w="/driver",j="/championship",y="/dunlop-superstock-trophy",k="/fim-ewc-explainer",N="/partners",P="/ewc-cares",M="https://discoverysports.com/page/discovery-sports-events",C="https://www.fim-moto.com/",I="https://www.instagram.com/fim_ewc_official/",z="https://dse-registration.com/ee_entries_form/fim-ewc-2023-season-registration/",_="https://www.facebook.com/fim.ewc",L="https://www.youtube.com/channel/UC-9Xt9VR4Y7mPl6lGp-gojA",U="https://twitter.com/fim_ewc?lang=fr",F="/media/media-section",R="/media/guide-to-media-services",B="/media/hall-of-fame",Y="/media/fim-ewc-explained",S="/media/media-guide-press-kit",D="/media/race-points",T="/media/photo-gallery",$="/media/press-releases",E="/media/standings",A="/media/logos",Q="/media/regulations",Z="/media/accreditation",V="/media/contacts",G="/",H="/live-timing",J="https://www.ewc360fantour.com/"},1039:function(e,a,t){t.d(a,{LZ:function(){return i},Zo:function(){return s},kS:function(){return n},z7:function(){return r}});let n=async e=>{let a=await fetch("/api/mediaAccess/logout"),t=await a.json();t&&e.push("/")};Array.prototype.objectWithTags=function(e){let a=this.find(a=>{let t=a.tags.map(e=>e.title);return e.every(e=>t.includes(e))});return a};let s="TEAM",i="MANUFACTURER",r=e=>{let a="";switch(e){case"en":default:a="MMMM Do, YYYY";break;case"fr":a="Do MMMM YYYY";break;case"ja":a="YYYY MMMM Do"}return a}}}]);

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.