PageSourceSearch

https://f1online.sk/_next/static/chunks/6274-671b8733bc283b74.js

js f1online.sk collected 2026-10-02 03:14:46 UTC 16,453 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6274],{97492:function(t,e,n){n.d(e,{Z:function(){return d}});var i=n(85893),a=n(86119),s=n(25675),l=n.n(s),r=n(68305),c=n(41640),d=function(t){let{drivers:e,title:n,wideVersion:s}=t,{t:d}=(0,a.$G)(["common"]),o=[{...e[1],position:1},{...e[0],position:0},{...e[2],position:2}];return(0,i.jsxs)(r.W2,{children:[(0,i.jsx)(l(),{layout:"fill",src:"https://f1spravy.sk/wp-content/uploads/SL-092619-23740-17.jpg",alt:""}),(0,i.jsx)(r.Dx,{children:n}),(0,i.jsx)(r.qB,{children:o.map((t,e)=>(0,i.jsxs)(r.Fc,{position:t.position,className:s?"fullWidth":"",children:[(0,i.jsx)(r.j5,{teamcolor:(0,c.Y)(t.teamName),children:(0,i.jsx)(l(),{src:t.teamImage,height:600,width:465,alt:"".concat(d("common:misc.logo")," ").concat(t.teamName),className:"teamOverlay"})}),t.driverImage&&(0,i.jsx)(l(),{src:t.driverImage,height:993,width:500,alt:t.name,className:"driverImage",sizes:"100px 400px"})]},e))})]})}},68305:function(t,e,n){n.d(e,{Dx:function(){return s},Fc:function(){return c},W2:function(){return a},j5:function(){return d},qB:function(){return l}});var i=n(41686);let a=i.ZP.div.withConfig({componentId:"sc-28b199dc-0"})(["background:rgb(40,40,40);background:linear-gradient( 30deg,rgba(40,40,40,1) 0%,rgba(0,0,0,1) 100% );background-color:black;background-size:cover;background-repeat:no-repeat;border-left:5px solid #e10600;position:relative;"]),s=i.ZP.h2.withConfig({componentId:"sc-28b199dc-1"})(["width:calc(100% - 25px);margin:0;padding:7px;padding-left:18px;text-align:left;box-shadow:",';height:32px;line-height:32px;z-index:5;position:relative;font-weight:600;font-size:15px;font-family:"Montserrat","Source Sans Pro";text-transform:uppercase;color:',";color:white;pointer-events:none;"],t=>t.theme.POPUP_SHADOW,t=>t.theme.TEXT_COLOR),l=i.ZP.div.withConfig({componentId:"sc-28b199dc-2"})(["display:flex;flex-direction:row;justify-content:center;align-items:flex-end;padding-bottom:6px;"]),r=t=>20*t.position-(2===t.position?10:0),c=i.ZP.div.withConfig({componentId:"sc-28b199dc-3"})(["margin:0 3px;width:calc(33% - 10px);height:calc(130px - ","px);overflow:hidden;position:relative;padding-top:0px;.driverImage{width:100%;height:auto;z-index:5;position:absolute;top:0;left:0;}@media only screen and (min-width:360px){height:calc(135px - ","px);}@media only screen and (min-width:420px){height:calc(155px - ","px);}@media only screen and (min-width:500px){height:calc(175px - ","px);}@media only screen and (min-width:600px){height:calc(130px - ","px);}@media only screen and (min-width:1024px){&.fullWidth{width:26%;height:calc(200px - ","px);}}"],t=>15*t.position,r,r,r,r,t=>20*t.position),d=i.ZP.div.withConfig({componentId:"sc-28b199dc-4"})(["position:absolute;z-index:2;background:rgb(255,255,255);background:linear-gradient( 15deg,","10 0%,","b0 50%,","ff 80% );border-top-right-radius:10px;border-top-left-radius:10px;overflow:hidden;height:100%;width:100%;img{width:100%;height:auto;}margin-top:35px;.teamOverlay{position:relative;z-index:2;width:100%;}"],t=>t.teamcolor,t=>t.teamcolor,t=>t.teamcolor)},66274:function(t,e,n){n.r(e),n.d(e,{default:function(){return B}});var i=n(85893),a=n(67294),s=n(86119),l=n(97492),r=n(99763),c=n(11163),d=n(99318);let o=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"sk";return"cz"===e?t.replace("nedokončil","nedojel").replace("diskvalifikovan\xfd","diskvalifikov\xe1n").replace("neštartoval","nestartoval").replace("kol\xe1","kola").replace("k\xf4l","kol"):t},h=t=>{try{let[e,n,i]=t.replace(",",":").replace(".",":").split(":").map(Number);return 6e4*e+1e3*n+i}catch(t){return 5e7}},p=(t,e)=>{var n;return null!==(n=t.filter(t=>t["".concat(e)]).reduce((t,n)=>{var i,a;return h(null!==(i=n[e])&&void 0!==i?i:"")<h(null!==(a=t[e])&&void 0!==a?a:"")?n:t},t[0])[e])&&void 0!==n?n:"-1"},x=t=>({Q1WinnerTime:p(t,"timeQ1"),Q2WinnerTime:p(t,"timeQ2"),Q3WinnerTime:p(t,"timeQ3")}),m=t=>{var e;return null!==(e=t.filter(t=>t.fastestLap).reduce((t,e)=>{var n;return h(null!==(n=e.fastestLap)&&void 0!==n?n:"")<h(null!=t?t:"")?e.fastestLap:t},t[0].fastestLap))&&void 0!==e?e:"-1"};function g(t){let{t:e}=t;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("th",{className:"alignLeft indented stretch",children:(0,i.jsx)("span",{children:e("results:tables.team")})}),(0,i.jsx)("th",{className:"alignRight stretch",children:(0,i.jsx)("span",{children:e("results:tables.time")}
1)}),(0,i.jsx)("th",{className:"stretch",children:(0,i.jsx)("span",{children:e("results:tables.timeLoss")})}),(0,i.jsx)("th",{className:"stretch",children:(0,i.jsx)("span",{children:e("results:tables.laps")})})]})}function u(t){var e;let{entry:n}=t;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("td",{className:"alignLeft indented stretch",children:(0,i.jsx)("span",{children:n.teamName})}),(0,i.jsx)("td",{className:"alignRight stretch",children:(0,i.jsx)("span",{children:null!==(e=n.time)&&void 0!==e?e:"-"})}),(0,i.jsx)("td",{className:"stretch",children:(0,i.jsx)("span",{children:n.gap})}),(0,i.jsx)("td",{className:"stretch",children:(0,i.jsx)("span",{children:n.laps})})]})}function f(t){let{t:e}=t;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("th",{className:"alignLeft indented ",children:(0,i.jsx)("span",{children:e("results:tables.team")})}),(0,i.jsx)("th",{children:(0,i.jsx)("span",{children:"Q1"})}),(0,i.jsx)("th",{children:(0,i.jsx)("span",{children:"Q2"})}),(0,i.jsx)("th",{children:(0,i.jsx)("span",{children:"Q3"})}),(0,i.jsx)("th",{children:(0,i.jsx)("span",{children:e("results:tables.timeLoss")})})]})}function j(t){var e,n,a;let{entry:s,Q1WinnerTime:l,Q2WinnerTime:r,Q3WinnerTime:c}=t;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("td",{className:"alignLeft indented ",children:(0,i.jsx)("span",{children:s.teamName})}),(0,i.jsx)("td",{className:"alignRight",children:(0,i.jsx)("span",{className:l===s.timeQ1?"bold":"",children:null!==(e=s.timeQ1)&&void 0!==e?e:""})}),(0,i.jsx)("td",{className:"alignRight",children:(0,i.jsx)("span",{className:r===s.timeQ2?"bold":"",children:null!==(n=s.timeQ2)&&void 0!==n?n:""})}),(0,i.jsx)("td",{className:"alignRight",children:(0,i.jsx)("span",{className:c===s.timeQ3?"bold":"",children:null!==(a=s.timeQ3)&&void 0!==a?a:""})}),(0,i.jsx)("td",{children:(0,i.jsx)("span",{children:s.gap})})]})}function b(t){let{t:e}=t;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("th",{className:"alignLeft",children:(0,i.jsx)("span",{children:e("results:tables.team")})}),(0,i.jsx)("th",{className:"alignRight",children:(0,i.jsx)("span",{children:e("results:tables.time")})}),(0,i.jsx)("th",{className:"",children:(0,i.jsx)("span",{children:e("results:tables.laps")})}),(0,i.jsx)("th",{children:(0,i.jsx)("span",{children:e("results:tables.grid")})}),(0,i.jsx)("th",{children:(0,i.jsx)("span",{children:e("results:tables.bestLap")})}),(0,i.jsx)("th",{children:(0,i.jsx)("span",{children:e("results:tables.points")})})]})}function v(t){var e;let{entry:n,fastestLaptime:a,locale:s}=t;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("td",{className:"alignLeft indented",children:(0,i.jsx)("span",{children:n.teamName})}),(0,i.jsx)("td",{className:"alignRight",children:(0,i.jsx)("span",{children:o(null!==(e=n.time)&&void 0!==e?e:"",s)})}),(0,i.jsx)("td",{children:(0,i.jsx)("span",{children:n.laps})}),(0,i.jsx)("td",{children:(0,i.jsxs)("span",{children:[n.grid,"."]})}),(0,i.jsx)("td",{children:(0,i.jsx)("span",{className:a===n.fastestLap?"bold":"",children:n.fastestLap})}),(0,i.jsx)("td",{children:(0,i.jsx)("span",{children:n.points>0?n.points:""})})]})}function y(t){let{t:e}=t;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("th",{className:"alignLeft stretch indented",children:(0,i.jsx)("span",{children:e("results:tables.team")})}),(0,i.jsx)("th",{className:"alignRight stretch",children:(0,i.jsx)("span",{children:e("results:tables.time")})}),(0,i.jsx)("th",{className:"",children:(0,i.jsx)("span",{children:e("results:tables.laps")})}),(0,i.jsx)("th",{children:(0,i.jsx)("span",{children:e("results:tables.grid")})}),(0,i.jsx)("th",{children:(0,i.jsx)("span",{children:e("results:tables.points")})})]})}function w(t){var e;let{entry:n,locale:a}=t;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("td",{className:"alignLeft indented stretch",children:(0,i.jsx)("span",{children:n.teamName})}),(0,i.jsx)("td",{className:"alignRight stretch",children:(0,i.jsx)("span",{children:o(null!==(e=n.time)&&void 0!==e?e:"",a)})}),(0,i.jsx)("td",{children:(0,i.jsx)("span",{children:n.laps})}),(0,i.jsx)("td",{children:(0,i.jsxs)("span",{children:[n.grid,"."]})}),(0,i.jsx)("td",{children:(0,i.jsx)("span",{children:n.points>0?n.points:""})})]})}function N(t){let{toggleNamesOpen:e,t:n,sessionResults:a,shortNames:s,namesOpened:l}=t,{type:o}=a,h=(0,c.useRouter)(),p=(0,r.K)(h);return(0,i.jsx)("tbody",{children:a.results.map((t,r)=>(0,i.jsxs)("tr",{children:[(0,i.jsx)("td",{className:"nedokončil"===t.time||"neštartoval"===t.time||"DSQ"===t.time?"center":"alignRight",onClick:()=>e(),children:(0,i.jsx)("span",{children:"".concat("nedokončil"===t.time||"neštartoval"===t.time||"DSQ"===t.time?"-":"".concat(r+1,"."))})}),(0,i.jsx)("td",{className:"alignLeft",onClick:()=>e(),children:(0,i.jsxs)("div",{className:"withFlagHorizontal",children:[(0,i.jsx)(d.Z,{countryCode:t.flag,svg:!0,style:{width:"18px",height:"16px"},title:"".concat(n("common:tables.flag")," ").concat(t.flag),loading:"lazy"}),(0,i.jsx)("span",{title:t.name,children:s&&!l?"".concat(t.abbr):"".concat(t.name)})]})}),"FP1"===o||"FP2"===o||"FP3"===o?(0,i.jsx)(u,{entry:t}):"Q"===o||"SQ"===o?(0,i.jsx)(j,{entry:t,...x(a.results)}):"SPRINT"===o?(0,i.jsx)(w,{entry:t,locale:p}):"RACE"===o&&(0,i.jsx)(v,{entry:t,locale:p,fastestLaptime:m(a.results)})]},r))})}function k(t){let{type:e,toggleNamesOpen:n,t:a}=t;return(0,i.jsx)("thead",{children:(0,i.jsxs)("tr",{children:[(0,i.jsx)("th",{colSpan:2,className:"sticky",onClick:()=>n(),children:(0,i.jsx)("span",{children:a("results:tables.driver")})}),"FP1"===e||"FP2"===e||"FP3"===e?(0,i.jsx)(g,{t:a}):"Q"===e||"SQ"===e?(0,i.jsx)(f,{t:a}):"SPRINT"===e?(0,i.jsx)(y,{t:a}):"RACE"===e&&(0,i.jsx)(b,{t:a})]})})}var A=n(69875),C=n(75193),L=n(25768);let R=(t,e)=>"".concat(C.gr,"/").concat(e,"_c1d5sa3v2x_overlay_").concat((0,L.$)(t.teamName),".png"),S=(t,e)=>"".concat(C.gr,"/").concat(e,"_c1d5sa3v2_").concat((0,L.$)(t.name),".png");var E=n(65469),O=n(598),_=n(22191),F=n(8017),P=n(54720),B=function(t){var e,n;let{sessionResults:d,isLoading:o,hasSessionAnalysis:h}=t,{t:p}=(0,s.$G)(["common","results"]),x=(0,E.C)(t=>t.windowDimensions.width),[m,g]=(0,a.useState)(x>=1024),u=x<1024,f=(0,c.useRouter)(),j=(0,r.K)(f),b=()=>{x<1024&&g(t=>!t)};(0,a.useEffect)(()=>{x>0&&g(x>=1024)},[x]);let v={year:d.venue.year,id:d.id,session:(0,L.$)(p("common:tables.".concat(d.type))).replaceAll("_","-"),event:"".concat(p("common:queries.gp"),"-").concat((0,L.$)(d.venue.title[j].full).replaceAll("_","-"))};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(A.W2,{children:[(0,i.jsx)(A.fz,{className:o?"loading":"",children:(0,i.jsx)(P.vM,{})}),(0,i.jsx)(l.Z,{wideVersion:!0,title:"".concat(p("common:tables.".concat(d.type))," - ").concat(p("common:tables.grandPrixAbbr")," ").concat(null!==(n=null===(e=d.venue.title[j])||void 0===e?void 0:e.full)&&void 0!==n?n:""," ").concat(d.venue.year),drivers:d.results.slice(0,3).map(t=>({...t,teamImage:R(t,d.venue.year),driverImage:S(t,d.venue.year)}))}),(0,i.jsxs)(A.iA,{className:"".concat(m?"opened":"closed"),children:[(0,i.jsx)(k,{t:p,type:d.type,toggleNamesOpen:()=>b()}),(0,i.jsx)(N,{t:p,sessionResults:d,toggleNamesOpen:()=>b(),shortNames:x>0&&x<1024,namesOpened:m})]}),h&&!u&&(0,i.jsx)("div",{className:"analysisButtonContainer",children:(0,i.jsx)(F.Z,{href:{pathname:"/".concat(p("common:urls.analysis"),"/[[...path]]"),query:(0,O.S)(v,j)},as:"/".concat(p("common:urls.analysis")).concat((0,_.o)((0,O.S)(v,j))),title:"Anal\xfdzy",image:{src:"/icons/charts/charts_icon.png",alt:"Stopky ikona",width:350,height:350}})})]}),h&&u&&(0,i.jsx)("div",{className:"analysisButtonContainer",children:(0,i.jsx)(F.Z,{href:{pathname:"/".concat(p("common:urls.analysis"),"/[[...path]]"),query:(0,O.S)(v,j)},as:"/".concat(p("common:urls.analysis")).concat((0,_.o)((0,O.S)(v,j))),title:"Anal\xfdzy",image:{src:"/icons/charts/charts_icon.png",alt:"Stopky ikona",width:350,height:350}})})]})}},69875:function(t,e,n){n.d(e,{W2:function(){return a},fz:function(){return s},iA:function(){return l}});var i=n(41686);let a=i.ZP.div.withConfig({componentId:"sc-aea2c610-0"})(["width:100%;max-width:740px;margin:0 auto 15px auto;overflow:auto;position:relative;box-shadow:",";border-top-right-radius:20px;border-bottom-right-radius:20px;.analysisButtonContainer{display:flex;flex-direction:row;justify-content:center;border-left:5px solid #e10600;position:absolute;bottom:-40px;@media only screen and (min-width:1024px){height:0;width:100%;justify-content:flex-end;position:absolute;right:10px;top:10px;}}"],t=>t.theme.POPUP_SHADOW),s=i.ZP.div.withConfig({componentId:"sc-aea2c610-1"})(["display:none;&.loading{display:flex;flex-direction:entry;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;left:0;top:0;background-color:",";z-index:6;svg{width:100px;height:100px;padding-bottom:0;color:white;@keyframes spin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}animation-name:spin;animation-duration:2000ms;animation-iteration-count:infinite;animation-timing-function:linear;}}"],t=>
1t.theme.COLORS.TABLES.LOADING_OVERLAY),l=i.ZP.table.withConfig({componentId:"sc-aea2c610-2"})(['font-family:"HK Grotesk";width:100%;display:block;overflow-x:auto;padding:0;border-left:5px solid #e10600;border-collapse:collapse;color:',";a span{color:",";}background-color:",";thead{margin:10px 0;border-bottom:1px solid ",";}th,td{padding:0;height:28px;white-space:nowrap;span{width:calc(100% - 20px);padding:2px 9px 3px 9px;display:inline-block;text-align:center;&.bold{font-weight:600;}}&.totalPoints span{font-weight:600;width:44px;}&.alignLeft span{text-align:left;}&.alignRight span{text-align:right;&.center{text-align:center;}}&.indented span{padding-left:20px;}div.withFlagVertical{display:flex;flex-direction:column;}div.withFlagHorizontal{display:flex;flex-direction:row;align-items:center;width:70px;img{margin-top:2px;}}sub{font-size:8px;}&.hovered{background-color:",";}@media only screen and (min-width:1024px){&.stretch{padding-left:10px;padding-right:20px;}}}thead th{text-transform:uppercase;padding-top:12px;padding-bottom:0;font-weight:600;&:nth-child(1){position:sticky;background-color:",";left:0;vertical-align:bottom;span{padding-left:40px;width:calc(100% - 50px);text-align:left;@media only screen and (min-width:1024px){padding-left:65px;width:calc(100% - 80px);}}}&:last-child{padding-right:10px;}}&.thirdColSticky thead th:nth-child(2){position:sticky;background-color:",";vertical-align:bottom;}&.closed thead th:nth-child(2){vertical-align:bottom;left:111px;}&.opened{thead th{&:nth-child(2){left:202px;}}&.teamChamp{thead th{&:nth-child(2){left:170px;}}}}tbody td:nth-child(1),tbody td:nth-child(2){background-color:",";position:sticky;}&.thirdColSticky{tbody td:nth-child(3){background-color:",";position:sticky;}}tbody td:nth-child(1){left:0px;span{width:23px;}}tbody td:nth-child(2),tbody td:nth-child(3){span{padding-left:8px;}}tbody td:nth-child(2){font-weight:600;}&.closed{tbody td:nth-child(2){left:41px;min-width:70px;}tbody td:nth-child(3){left:111px;width:auto;}}&.opened{tbody td:nth-child(2){left:41px;min-width:161px;}tbody td:nth-child(3){left:202px;width:auto;}&.teamChamp{tbody td:nth-child(2){left:41px;min-width:100px;}tbody td:nth-child(3){left:170px;width:auto;}}}tbody tr:last-child{th,td{padding-bottom:8px;}}"],t=>t.theme.COLORS.TEXT_MILD,t=>t.theme.COLORS.TEXT_MILD,t=>t.theme.COLORS.PAGE_BACKGROUND,t=>t.theme.COLORS.TABLES.HEADER.BACK,t=>t.theme.COLORS.TABLES.HEADER.BACK,t=>t.theme.COLORS.TABLES.HEADER.BACK,t=>t.theme.COLORS.TABLES.HEADER.BACK,t=>t.theme.COLORS.TABLES.HEADER.BACK,t=>t.theme.COLORS.TABLES.HEADER.BACK)},41640:function(t,e,n){n.d(e,{Y:function(){return a}});let i={Mercedes:"#75F1D3",Ferrari:"#D52E37",Red_Bull:"#4570C0",Alpine:"#479FE2",McLaren:"#ef8733",Aston_Martin:"#4B9774",Alfa_Romeo:"#960000",Stake:"#52E252",Sauber:"#52E252",Alpha_Tauri:"#041f3d",RB:"#6692FF",Racing_Bulls:"#7091f8",AlphaTauri:"#041f3d",Haas:"#DFE1E2",Williams:"#3267D4",Audi:"#EB4526",Cadillac:"#AAAADD"},a=t=>i[t.replace(" ","_").replace("Alpha_Tauri","AlphaTauri")]||"#353535"}}]);

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.