PageSourceSearch

https://wydarzenia.interia.pl/_static/_next/static/chunks/9930.a6c23a15b29a8b0c.js

js interia.pl collected 2026-09-24 08:32:28 UTC 34,234 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9930,42718,18278,34128,56372,89914],{24457:function(e,t,i){"use strict";i.d(t,{L:function(){return u}});var r=i(74512),l=i(32735),s=i(45399),a=i(69811),n=i(15646),o=i(22723),c=i(70785),d=i(22467);i(25203);let u=e=>{var t;let{tagName:i="div",wrapperClassName:u,clickActivation:h,triggerComponent:m,initialState:E=!1,mode:p,dimension:T={width:void 0,height:void 0},rounded:g,withShadow:f,className:v,style:x,wide:w,align:b,controlsId:A,children:N,role:j,scrollbarConfig:y,onToggle:R,wrapperProps:_,...S}=e,z=(0,d.DH)("dropdown",S,{mode:p}),D=(0,l.useRef)(null),[L,k]=(0,l.useState)(E),H=(0,l.useCallback)(e=>{null==R||R(e),k(e)},[R]);(0,n.O)(D,()=>{h&&L&&H(!1)}),(0,o.e)(()=>{L&&H(!1)});let C=e=>{e.currentTarget.contains(e.relatedTarget)||H(!1)},I=(0,a.I)(()=>k(e=>(null==R||R(!e),!e)));return(0,r.jsxs)(i,{ref:D,"aria-haspopup":"menu","aria-expanded":L,"aria-controls":A,role:null!=j?j:"button",className:(0,s.c)("ids-dropdown-wrapper",u),...z,...!h&&{onMouseOver:()=>H(!0),onFocus:()=>H(!0),onMouseLeave:()=>H(!1),onBlur:e=>C(e)},..._,children:["function"==typeof m?m({active:L,toggle:I,setShow:k}):m,(0,r.jsx)("div",{className:(0,s.c)("dropdown",p&&"dropdown--".concat(p),"ids-dropdown",w&&"ids-dropdown--wide",b&&"ids-dropdown--".concat(b),g&&"ids-dropdown--rounded",f&&"ids-dropdown--with-shadow",v),...S,role:"presentation",hidden:!L,style:{...x,"--dropdown-width":T.width,"--dropdown-height":T.height},children:(0,r.jsx)(c.L,{as:"div",id:A,transparentTrack:null===(t=null==y?void 0:y.transparentTrack)||void 0===t||t,className:"ids-dropdown__content",scrollbarMode:null==y?void 0:y.scrollbarMode,children:"function"==typeof N?N({active:L,toggle:I,setShow:k}):N})})]})}},17693:function(e,t,i){"use strict";i.d(t,{Y:function(){return T}});var r=i(74512),l=i(32735),s=i(18278),a=i(44466),n=i(87915),o=i(10921),c=i(22467);i(23163);var d=i(86952);let u=e=>{let{size:t="medium"}=e;return(0,r.jsxs)(s.TableRow,{accented:!0,children:[(0,r.jsx)(s.TableCell,{tag:"th",contentSize:t,height:t,width:"hug",align:"center",border:!0,children:(0,r.jsx)(d.TextCell,{size:t,children:"#"})}),(0,r.jsx)(s.TableCell,{tag:"th",contentSize:t,height:t,width:"fill",align:"left",colSpan:2,border:!0,children:(0,r.jsx)(d.TextCell,{size:t,children:"Zawodnik"})}),(0,r.jsx)(s.TableCell,{tag:"th",contentSize:t,height:t,width:"fill",align:"left",border:!0,children:(0,r.jsx)(d.TextCell,{size:t,children:"Zesp\xf3ł"})}),(0,r.jsx)(s.TableCell,{className:"ids-cards-table__cell--width-7",tag:"th",contentSize:t,height:t,width:"fill",align:"center",border:!0,children:(0,r.jsx)(d.TextCell,{size:t,children:"Gole"})})]})};var h=i(25820),m=i(72335);let E={medium:{goal:{width:102}},small:{goal:{width:"auto"}}},p=e=>{let{teamShortName:t,team:i,teamUrl:l,playerShortName:a,name:n,surname:o,position:c,playerPhotoId:u,playerUrl:p,goals:T,size:g="medium"}=e,f=t||i,v=a||"".concat(n," ").concat(o);return(0,r.jsxs)(s.TableRow,{hoverable:"accented",children:[(0,r.jsx)(s.TableCell,{contentSize:g,height:"hug",width:"hug",align:"center",border:!0,children:(0,r.jsxs)(d.TextCell,{size:g,children:[c,"."]})}),(0,r.jsx)(s.TableCell,{contentSize:g,height:"hug",width:"hug",align:"left",title:v,border:!0,children:(0,r.jsx)(h.Avatar,{size:"small",avatar:u?{attachmentId:u,alt:v}:{src:"/images/assets/sport/avatarFallbackMale.svg",attachmentId:"",alt:v},withLink:p?{href:p}:void 0})}),(0,r.jsx)(s.TableCell,{contentSize:g,height:"hug",width:"fill",align:"left",title:v,border:!0,children:(0,r.jsx)(d.TextCell,{size:g,children:(0,r.jsx)(m.Link,{href:p||"",plain:!0,children:v})})}),(0,r.jsx)(s.TableCell,{contentSize:g,height:"hug",width:"fill",align:"left",title:f,border:!0,children:(0,r.jsx)(d.TextCell,{size:g,grey:!0,children:(0,r.jsx)(m.Link,{href:l||"",plain:!0,children:f})})}),(0,r.jsx)(s.TableCell,{contentSize:g,height:"hug",width:"hug",align:"center",border:!0,style:E[g].goal,children:(0,r.jsx)(d.TextCell,{size:g,children:T.all})})]})},T=e=>{let{title:t,data:i,size:d="medium",limit:h,showTitle:m,showMoreButtonTitle:E}=e,T=(0,c.DH)("goal-scorers-table"),g="small"===d,f=h||g?10:20,v=i.length,[x,w]=(0,l.useState)(i.slice(0,f)),[b,A]=(0,l.useState)(v>f),[N,j]=(0,l.useState)(f);return((0,l.useEffect)(()=>{j(f),w(i.slice(0,f)),A(i.length>f)},[i,f]),i.length)?(0,r.jsxs)("div",{className:"ids-goal-scorers-table",...T,children:[(0,r.jsx)("div",{className:"ids-goal-scorers-table__scroll",children:(0,r.jsxs)(s.Table,{align:"left",children:[m&&(0,r.jsx)(s.TableHeader,{margin:d,children:(0,r.jsx)(n.BlockSubheader,{size:d,headerLevel:"h3",subHeaderText:t})}),(0,r.jsx)(s.TableHead,{children:(0,r.jsx)(u,{size:d})}),(0,r.jsx)(s.TableBody,{children:x.map((e,t)=>(0,r.jsx)(p,{...e,position:e.position||t+1,size:d},e.name+e.surname))})]})}),E&&b&&(0,r.jsx)(s.TableFooter,{className:"ids-goal-scorers-table__footer",margin:d,children:(0,r.jsx)(a.Button,{variant:"primary",size:d,icon:o.ArrowFacedDownIcon,iconPosition:"trailing",onClick:()=>{let e=N+f,t=e<v-1,r=x.concat(i.slice(N,e));j(e),w(r),A(t)},children:"Pokaż więcej"})})]}):null}},42718:function(e,t,i){"use strict";i.r(t),i.d(t,{Record:function(){return c},RecordGroup:function(){return d}});var r=i(74512),l=i(22467),s=i(45399),a=i(29200),n=i(38080),o=i.n(n);i(92275);let c=e=>
1{let{size:t="medium",variant:i="primary",strong:n,icon:c,className:d,children:u,...h}=e,m=(0,l.DH)("record",h);return(0,r.jsxs)(a.Text,{component:"div",preset:o()["".concat(t,"-").concat(n?"strong":"normal")],className:(0,s.c)("record","ids-record","ids-record--".concat(t),"ids-record--".concat(i),d),...m,...h,children:[c&&(0,r.jsx)(c,{size:"xsmall"===t?"small":t}),(0,r.jsx)("span",{children:u})]})},d=e=>{let{direction:t="vertical",density:i="normal",wrap:l="wrap",className:a,style:n,children:o}=e;return(0,r.jsx)("div",{className:(0,s.c)("record-group","ids-record-group","ids-record-group--".concat(t),"ids-record-group--".concat(i),"ids-record-group--".concat(l),a),style:n,children:o})}},92842:function(e,t,i){"use strict";i.d(t,{q:function(){return y},C:function(){return S}});var r=i(74512),l=i(22467),s=i(18278),a=i(4886),n=i(25820),o=i(42718),c=i(87915),d=i(86952);i(25763);var u=i(32735),h=i(45399),m=i(10921);i(28001);let E=(e,t)=>{if(!t||isNaN(+t))return t||"";let i=+t;switch(e){case"FIRST_HALF":case"1_HALF":if(i>45)return"45+".concat(i-45);return i.toString();case"SECOND_HALF":case"2_HALF":if(i>45)return"90+".concat(i-45);return"".concat(i+45);case"EXTRA_1_HALF":if(i>15)return"105+".concat(i-15);return"".concat(i+90);case"EXTRA_2_HALF":if(i>15)return"120+".concat(i-15);return"".concat(i+105);default:return i.toString()}},p=(e,t,i,r)=>{switch(e){case"COMPETITION_NAME":break;case"ROUND_NAME":if(!i)break;return i;case"WEEK_NUMBER":if(!i&&!r)break;if(!r||"0"===r)return i;return"".concat(r,". kolejka");case"NONE":return""}return t},T={PRE:{PRE:"Do meczu:",BEFORE:"Do meczu:",POSTPONDED:"Przełożony",NOTBEGUN:"Nierozpoczęty",END_UNF:"Do wznowienia:",HALTED:"Do wznowienia:"},DELAYED:{DELAYED:"Op\xf3źniony",PRE:"Op\xf3źniony"},RUN:{FIRST_HALF:"1. połowa","1_HALF":"1. połowa",BREAK:"Przerwa",SECOND_HALF:"2. połowa","2_HALF":"2. połowa",EXTRA_TIME_BEFORE:"Oczekiwanie na dogrywkę",EXTRA:"Dogrywka",EXTRA_1_HALF:"1. połowa dogrywki",EXTRA_TIME_FIRST_HALF:"1. połowa dogrywki",EXTRA_TIME_BREAK:"Przerwa w dogrywce",EXTRA_BREAK:"Przerwa w dogrywce",EXTRA_TIME_SECOND_HALF:"2. połowa dogrywki",EXTRA_2_HALF:"2. połowa dogrywki",PENALTIES_BEFORE:"Oczekiwanie na rzuty karne",PENALTIES_PRE:"Oczekiwanie na rzuty karne",PENALTIES:"Rzuty karne",CONTINUES:"Trwa",FIRST_SET:"1. set","1_SET":"1. set",BREAK1S:"Przerwa","1SETBREAK":"Przerwa",SECOND_SET:"2. set","2_SET":"2. set",BREAK2S:"Przerwa","2SETBREAK":"Przerwa",THIRD_SET:"3. set","3_SET":"3. set",BREAK3S:"Przerwa","3SETBREAK":"Przerwa",FOURTH_SET:"4. set","4_SET":"4. set",BREAK4S:"Przerwa","4SETBREAK":"Przerwa",FIFTH_SET:"5. set","5_SET":"5. set",BREAK5S:"Przerwa","5SETBREAK":"Przerwa",GOLDEN_SET:"Złoty set",_GOLDEN_SET:"Złoty set","1SET":"I SET","2SET":"II SET","3SET":"III SET","4SET":"IV SET","5SET":"V set",GOLDSET:"Złoty set",HEAT:"Trwa",HEAT1:"Bieg 1.",HEAT2:"Bieg 2.",HEAT3:"Bieg 3.",HEAT4:"Bieg 4.",HEAT5:"Bieg 5.",HEAT6:"Bieg 6.",HEAT7:"Bieg 7.",HEAT8:"Bieg 8.",HEAT9:"Bieg 9.",HEAT10:"Bieg 10.",HEAT11:"Bieg 11.",HEAT12:"Bieg 12.",HEAT13:"Bieg 13.",HEAT14:"Bieg 14.",HEAT15:"Bieg 15.",HEAT16:"Bieg 16.",HEAT17:"Bieg 17.",HEAT18:"Bieg 18.",HEAT19:"Bieg 19.",HEAT20:"Bieg 20.",HEAT21:"Bieg 21.",HEAT22:"Bieg 22.",SEMI1:"1. P\xf3łfinał",SEMI2:"2. P\xf3łfinał",FINAL:"Finał",FINALB:"Finał B",EXTRAHEAD:"Bieg dod.",EXTRAHEAT:"Bieg dod.",EXTRAHEAD2:"2. Bieg dod.",EXTRAHEAT2:"2. Bieg dod."},END:{END:"Zakończony",END_AFTER_EXTRA_TIME:"Zakończony po dogrywce",END_AFTER_EX:"Zakończony po dogrywce",END_AFTER_PENALTIES:"Zakończony po rzutach karnych",END_AFTER_PEN:"Zakończony po rzutach karnych",END_WALKOVER:"Zakończony walkowerem",END_ANNULLED:"Mecz odwołany",SCRATCH:"Krecz"},INT:{HALTED:"Przerwany",POSTPONDED:"Przełożony"},CANCEL:{CANCELLED:"Anulowany"}},g={PRE:{PRE:"Do konkursu:",BEFORE:"Do konkursu:",POSTPONDED:"Przełożony",NOTBEGUN:"Nierozpoczęty"},DELAYED:{DELAYED:"Op\xf3źniony",PRE:"Op\xf3źniony"},RUN:{ABANDONED:"Odwołany",SERIE_REPEAT:"Seria do powt\xf3rzenia",CANCELLED:"Anulowany",SECOND_SERIE_START:"2. seria rozpoczeta",DISQ:"Dyskwalifikacja",FIRST_SERIE_START:"1. seria rozpoczeta",INTERRUPTED:"Przer
1wany",FINALSERIE_START:"Seria finatowa rozpoczeta",NO_JUMP:"Nie skoczył",FALL:"Upadek skoczka",PROPPED_LANDING:"Lądowanie podparte",TWO_LEGS_LANDING:"Lądowanie na dwie nogi",TELEMARK_LANDING:"Lądowanie telemarkiem",POSTPONED:"Przełożony","1_SERIES":"1. seria","2_SERIES":"2. seria","3_SERIES":"3. seria",BREAK:"Przerwa"},END:{END:"Zakończony",END_AFTER_EXTRA_TIME:"Zakończony po dogrywce",END_AFTER_EX:"Zakończony po dogrywce",END_AFTER_PENALTIES:"Zakończony po rzutach karnych",END_AFTER_PEN:"Zakończony po rzutach karnych",END_WALKOVER:"Zakończony walkowerem",END_ANNULLED:"Konkurs odwołany"},INT:{HALTED:"Przerwany",POSTPONED:"Przełożony"},CANCEL:{CANCELLED:"Anulowany"}},f=["1SET","2SET","3SET","4SET","5SET","GOLDSET","1_HALF","2_HALF","1_SERIES","2_SERIES","3_SERIES","HEAT1","HEAT2","HEAT3","HEAT4","HEAT6","HEAT7","HEAT8","HEAT9","HEAT10","HEAT11","HEAT12","HEAT13","HEAT14","HEAT15","HEAT16","HEAT17","HEAT18","HEAT19","HEAT20","HEAT21","HEAT22","SEMI1","SEMI2","FINAL","FINALB","EXTRAHEAD","EXTRAHEAT","EXTRAHEAD2","EXTRAHEAT2"];function v(e){return e.toString().padStart(2,"0")}let x=e=>{let t,{description:i,startDate:l,matchPeriod:s,roundName:a,weekNumber:n,matchMinute:c,isShowDate:d,discipline:x,matchName:w,hideCompetitionDesc:b,noTeams:A,displayedDescriptionName:N,status:j,variant:y="vertical",wrap:R="wrap"}=e,[_,S]=(0,u.useState)("");(0,u.useEffect)(()=>{S(E(s,c))},[s,c]);let z=(0,u.useCallback)(()=>p(N||"COMPETITION_NAME",i,a,n),[N,i,a,n])(),D=A?w:z;return t="skijumping"===x?g:T,(0,r.jsxs)(o.RecordGroup,{className:"ids-table__description",direction:y,density:"compact",wrap:R,children:[!!D&&(0,r.jsx)(o.Record,{size:"small",variant:"secondary",children:D}),"horizontal"===y&&(0,r.jsx)(o.Record,{size:"small",children:(0,r.jsx)(m.BulletCircleIcon,{size:"small"})}),(0,r.jsxs)(o.Record,{size:"small",children:[(!!_||"RUN"===j&&(f.includes(s)||"speedway"===x))&&(0,r.jsxs)("div",{className:"button ids-table__description__live",children:[(0,r.jsx)("div",{className:"ids-scoreboard-pulse"}),!!_&&"soccer"===x&&(0,r.jsxs)(r.Fragment,{children:[_,"'"]}),"soccer"!==x&&t.RUN[s]||"speedway"===x&&t.RUN.BREAK]}),!_&&"RUN"!==j&&(0,r.jsxs)("div",{children:[A&&!b&&(0,r.jsxs)(r.Fragment,{children:[z,d&&(0,r.jsx)(m.BulletCircleIcon,{size:"small"})]}),d&&function(e){let t=new Date(e);return"".concat(v(t.getDate()),".").concat(v(t.getMonth()+1),".").concat(t.getFullYear())}(l),function(e,t,i){let l,s=!(arguments.length>3)||void 0===arguments[3]||arguments[3];if("RUN"===t||"END"===t&&"END_WALKOVER"!==e&&"SCRATCH"!==e)return null;switch(e){case"POSTPONDED":return(0,r.jsxs)(r.Fragment,{children:[s&&(0,r.jsx)(m.BulletCircleIcon,{size:"small"}),(0,r.jsx)("div",{className:"start-time-state",children:"PRZEŁOŻONY"})]});case"CANCELLED":return(0,r.jsxs)(r.Fragment,{children:[s&&(0,r.jsx)(m.BulletCircleIcon,{size:"small"}),(0,r.jsx)("div",{className:"start-time-state",children:"ANULOWANY"})]});case"END_WALKOVER":return(0,r.jsxs)(r.Fragment,{children:[s&&(0,r.jsx)(m.BulletCircleIcon,{size:"small"}),(0,r.jsx)("div",{className:"start-time-state",children:"WALKOWER"})]});case"SCRATCH":return(0,r.jsxs)(r.Fragment,{children:[s&&(0,r.jsx)(m.BulletCircleIcon,{size:"small"}),(0,r.jsx)("div",{className:"start-time-state",children:"KRECZ"})]});default:if(l=function(e){let t=new Date(e);return"".concat(v(t.getHours()),":").concat(v(t.getMinutes()))}(i),!(0,h.xb)(l))return(0,r.jsxs)(r.Fragment,{children:[s&&", ",l]});return null}}(s,j,l,d)]}),!_&&"RUN"===j&&("BREAK"===s||"EXTRA_BREAK"===s||"EXTRA_TIME_BREAK"===s||"1SETBREAK"===s||"2SETBREAK"===s||"3SETBREAK"===s||"4SETBREAK"===s||"5SETBREAK"===s||"BREAK"===s)&&(0,r.jsxs)("div",{className:"button ids-table__description__live",children:[(0,r.jsx)("div",{className:"ids-scoreboard-pulse"}),"PRZERWA"]})]})]})};i(1701);let w=e=>{let{hosts:t,guests:i,size:l,color:s,status:a}=e,n=!!(null==t?void 0:t.scorePenalties)||!!(null==i?void 0:i.scorePenalties),c=(null==t?void 0:t.score)==null&&(null==i?void 0:i.score)==null;return(0,r.jsxs)(o.RecordGroup,{density:"small"===l?"compact":"normal",className:"ids-score-table__score-cell",children:[(0,r.jsx)(o.Record,{size:l,style:{color:s},children:"".concat((null==t?void 0:t.score)||(c?"":"0")," - ").concat((null==i?void 0:i.score)||(c?"":"0"))}),n&&(0,r.jsxs)(o.Record,{size:l,variant:"secondary",children:["(k. ",(null==t?void 0:t.scorePenalties)||0," - ",(null==i?void 0:i.scorePenalties)||0,")"]})]})},b={medium:{side:{width:138},center:{width:96}},small:{side:{width:138},center:{width:96}}},A={mobile:{default:"small",narrow:"small"},desktop:{default:"medium",narrow:"small"}},N={tennis:"/images/assets/sport/avatarFallbackTenis.svg",soccer:"/images/assets/sport/avatar/soccer.svg",volleyball:"/images/assets/sport/avatar/volleyball.svg",speedway:"/images/assets/sport/avatar/speedway.svg",handball:"/images/assets/sport/avatar/handball.svg",skijumping:"/images/assets/sport/avatar/skijumping.svg"},j={M:"/images/assets/sport/avatarFallbackMale.svg",F:"/images/assets/sport/avatarFallbackFemale.svg"},y=e=>{let{data:t,size:i="medium",variant:a="default",header:n,coloredScores:o=!1}=e,d=(0,l.DH)("score-table"),{events:u,noBorder:h,showLiveNews:m,isShowDate:E,scoreTableTeamId:p,displayedDescriptionName:T}=t;return u.length?(0,r.jsx)("div",{className:"ids-score-table",...d,children:(0,r.jsxs)(s.Table,{align:"left",children:[!!n&&(0,r.jsx)(s.TableHeader,{margin:i,children:(0,r.jsx)(c.BlockSubheader,{...n,size:i})}),(0,r.jsx)(s.TableBody,{children:u.map(e=>(0,r.jsx)(R,{device:"small"===i?"mobile":"desktop",variant:a,event:e,noBorder:h,showLiveNews:m,isShowDate:E,scoreTableTeamId:p,link:e.link,displayedDescriptionName:T,coloredScores:o},e.id))})]})}):null},R=e=>{let{event:t}
1=e,i=(null==t?void 0:t.disciplineSymbol)?t.disciplineSymbol:null;switch(i){case"skijumping":return(0,r.jsx)(_,{...e});case"soccer":default:return(0,r.jsx)(S,{...e});case"speedway":if("TEAM"===t.competitionType||"INDIV"===t.competitionType||"individual"===t.competitionType||"LEAGUE_INT"===t.competitionType||""===t.competitionType)return(0,r.jsx)(_,{...e,discipline:i,colSpan:7});return(0,r.jsx)(S,{...e,noPenalties:!0});case"tennis":return(0,r.jsx)(S,{...e,noPenalties:!0})}},_=e=>{let{link:t,event:i,isShowDate:l=!0,displayedDescriptionName:a,device:n="desktop",variant:c="default",colSpan:u}=e,{liveNewsLink:h}=i,m=A[n][c];return(0,r.jsx)(s.TableRow,{hoverable:"accented",children:(0,r.jsx)(s.TableCell,{contentSize:m,height:"hug",style:b[m].side,width:"fill",align:"left",border:!0,disabledPaddings:!0,colSpan:u,children:(0,r.jsx)(d.TextCell,{size:m,href:h||t,children:(0,r.jsxs)(o.RecordGroup,{density:"small"===m?"compact":"normal",children:[(0,r.jsx)(x,{status:i.status||"",description:i.description,weekNumber:i.weekNumber||"",roundName:i.roundName||"",startDate:i.startDate,matchMinute:i.matchMinute,matchPeriod:i.match_period||"",isShowDate:l,discipline:i.disciplineSymbol||"",displayedDescriptionName:a,variant:"horizontal"}),(0,r.jsx)(o.Record,{size:m,children:i.matchName})]})})})})},S=e=>{var t,i;let{event:l,link:c,isShowDate:u=!0,displayedDescriptionName:h,noPenalties:m=!1,device:E="desktop",variant:p="default",noBorder:T,coloredScores:g,wrap:f="wrap"}=e,{liveNewsLink:v}=l;if(!l.teams)return null;let[y,R]=l.teams;if(!y||!R)return null;let _=(null==y?void 0:y.scorePenalties)?(null==y?void 0:y.scorePenalties)>((null==R?void 0:R.scorePenalties)||0):((null==y?void 0:y.score)||0)>((null==R?void 0:R.score)||0),S=(null==R?void 0:R.scorePenalties)?(null==R?void 0:R.scorePenalties)>((null==y?void 0:y.scorePenalties)||0):((null==R?void 0:R.score)||0)>
1((null==y?void 0:y.score)||0),z=y.shortName||y.name,D=y.gender||"M",L=R.shortName||R.name,k=R.gender||"M",H=!m&&(!!(null==y?void 0:y.scorePenalties)||!!(null==R?void 0:R.scorePenalties)),C=null!==(t=y.logoUrl)&&void 0!==t?t:y.attachmentId,I=null!==(i=R.logoUrl)&&void 0!==i?i:R.attachmentId,B=l.disciplineSymbol&&N[l.disciplineSymbol]||"",P=v||c,O=A[E][p],F=(null==y||!y.scorePenalties)&&(null==R||!R.scorePenalties)&&(null==y?void 0:y.score)===(null==R?void 0:R.score);return"desktop"===E?(0,r.jsxs)(s.TableRow,{hoverable:"accented",children:[(0,r.jsx)(s.TableCell,{height:"hug",style:b[O].side,width:"hug",align:"left",border:!0,children:(0,r.jsx)(d.TextCell,{size:O,href:P,children:(0,r.jsx)(x,{status:l.status||"",description:l.description,weekNumber:l.weekNumber||"",roundName:l.roundName||"",startDate:l.startDate,matchMinute:l.matchMinute,matchPeriod:l.match_period||"",isShowDate:u,discipline:l.disciplineSymbol||"",displayedDescriptionName:h,variant:"vertical",wrap:f})})}),(0,r.jsx)(s.TableCell,{height:"hug",width:"fill",align:"right",border:!0,children:(0,r.jsx)(d.TextCell,{size:O,variant:_?"bold":"default",href:P,padding:!P,children:z})}),(0,r.jsx)(s.TableCell,{height:"hug",width:"hug",align:"center",border:!0,children:(0,r.jsx)(d.TextCell,{size:O,href:P,padding:!P,children:(0,r.jsx)(n.Avatar,{size:"small",avatar:C?{attachmentId:C,alt:z}:B?{src:B,alt:z,attachmentId:""}:j[D]?{src:j[D],alt:z,attachmentId:""}:void 0})})}),(0,r.jsx)(s.TableCell,{height:"hug",style:b[O].center,width:"hug",align:"center",border:!0,children:(0,r.jsx)(d.TextCell,{size:O,href:P,children:(0,r.jsx)(w,{status:l.status,hosts:y,guests:R,size:O,color:g?F?void 0:_?"#66B951":"#F52F43":void 0})})}),(0,r.jsx)(s.TableCell,{height:"hug",width:"hug",align:"center",border:!0,children:(0,r.jsx)(d.TextCell,{size:O,href:P,padding:!P,children:(0,r.jsx)(n.Avatar,{size:"small",avatar:I?{attachmentId:I,alt:L}:B?{src:B,alt:z,attachmentId:""}:j[k]?{src:j[k],alt:z,attachmentId:""}:void 0})})}),(0,r.jsx)(s.TableCell,{height:"hug",width:"fill",align:"left",border:!0,children:(0,r.jsx)(d.TextCell,{size:O,variant:S?"bold":"default",href:P,padding:!P,children:L})}),"desktop"===E&&"default"===p&&(0,r.jsx)(s.TableCell,{height:"hug",style:b[O].side,width:"hug",align:"right",border:!0,children:(0,r.jsx)(d.TextCell,{size:O,width:"auto",href:P,children:v&&(0,r.jsx)(a.Label,{size:"small",children:"Relacja"})})})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.TableRow,{children:(0,r.jsx)(s.TableCell,{contentSize:"small",height:"hug",width:"fill",align:"left",colSpan:2,disabledPaddings:["left","right"],children:(0,r.jsx)(x,{status:l.status||"",description:l.description,weekNumber:l.weekNumber||"",roundName:l.roundName||"",startDate:l.startDate,matchMinute:l.matchMinute,matchPeriod:l.match_period||"",isShowDate:u,discipline:l.disciplineSymbol||"",displayedDescriptionName:h,variant:"horizontal",wrap:f})})}),(0,r.jsxs)(s.TableRow,{hoverable:"accented",children:[(0,r.jsx)(s.TableCell,{height:"hug",width:"fill",align:"left",border:!0,disabledPaddings:["left"],children:(0,r.jsx)(d.TextCell,{size:"small",href:P,children:(0,r.jsxs)(o.RecordGroup,{density:"compact",children:[(0,r.jsx)(o.Record,{size:"small",children:z}),(0,r.jsx)(o.Record,{size:"small",children:L})]})})}),(0,r.jsx)(s.TableCell,{height:"hug",width:"hug",align:"right",border:!0,disabledPaddings:["right"],children:(0,r.jsxs)(d.TextCell,{size:"small",href:P,children:[(0,r.jsxs)(o.RecordGroup,{density:"compact",children:[(0,r.jsx)(o.Record,{size:"small",children:y.score}),(0,r.jsx)(o.Record,{size:"small",children:R.score})]}),H&&(0,r.jsxs)(o.RecordGroup,{density:"compact",children:[(0,r.jsxs)(o.Record,{size:"small",variant:"secondary",children:["\xa0(",y.scorePenalties||0,")"]}),(0,r.jsxs)(o.Record,{size:"small",variant:"secondary",children:["\xa0(",R.scorePenalties||0,")"]})]})]})})]})]})}},18278:function(e,t,i){"use strict";i.r(t),i.d(t,{Table:function(){return r.iA},TableBody:function(){return r.RM},TableCell:function(){return r.pj},TableEmbed:function(){return l.i},TableFooter:function(){return r.yt},TableHead:function(){return r.ss},TableHeader:function(){return r.xD},TableRow:function(){return r.SC}});var r=i(45099),l=i(92764)},34128:function(e,t,i){"use strict";i.r(t),i.d(t,{Tabs:function(){return g},TabsGroup:function(){return T},TabsGroupVariants:function(){return d.HD},TabsItem:function(){return p}});
1var r=i(74512),l=i(32735),s=i(22467),a=i(65675),n=i(45399),o=i(24457),c=i(10921),d=i(11769),u=i(52226),h=i(29200),m=i(23504),E=i.n(m);i(6765);let p=e=>{let{size:t="medium",icon:i,iconPosition:l="leading",direction:s=d.TV.HORIZONTAL,children:a,className:o,...c}=e,m=a&&i?d.Yt.LABEL_AND_ICON:i?d.Yt.ICON_ONLY:d.Yt.LABEL_ONLY;return(0,r.jsxs)(u.O,{className:(0,n.c)("ids-tabs-item","ids-tabs-item--".concat(t),"ids-tabs-item--".concat(l),"ids-tabs-item--".concat(m),"ids-tabs-item--".concat(s),o),...c,children:[i&&(0,r.jsx)(i,{size:"small"===t?"medium":"large",className:"ids-tabs-item__icon"}),a&&(0,r.jsx)(h.Text,{preset:E()[t],children:a})]})};i(64500);let T=e=>{let{size:t,variant:i,centerTabList:s,items:a,selected:u,onSelect:h,closeOnSelect:m}=e,E=(0,l.useRef)(null),T=(0,l.useRef)(null),[g,f]=(0,l.useState)(!1),[v,x]=(0,l.useState)(!1),[w,b]=(0,l.useState)(!1),[A,N]=(0,l.useState)(a.length),[j,y]=(0,l.useState)(0),R=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(!E.current)return;let t=E.current;t.scrollBy({left:t.clientWidth/4*e})},_=(0,n.Ds)(()=>{if(!E.current)return;let e=E.current;x(!e.scrollLeft),b(!(e.scrollWidth-e.clientWidth-e.scrollLeft))},100),S=()=>{if(!E.current)return;let e=E.current;f(e.scrollWidth>e.clientWidth),x(!e.scrollLeft),b(!(e.scrollWidth-e.clientWidth-e.scrollLeft))},z=(0,l.useCallback)(()=>{if(!E.current||!T.current)return;let e=T.current,t=E.current,i=e.querySelector("div[aria-haspopup=menu] > button"),r=0,l=j,s=0;a.forEach((a,n)=>{let o=t.children[n],c=(null==o?void 0:o.clientWidth)||l;c>l&&(l=c),(s+=c)<e.clientWidth-((null==i?void 0:i.clientWidth)||0)&&r++}),N(r),y(l)},[a,j]),D=(0,l.useCallback)(()=>{if(i===d.HD.ARROWS)return S();z()},[z,i]),L=(e,t)=>{h(t);let i=e.target,r=i.parentNode;if(!i||!r)return;let l=i.offsetLeft,s=l+i.clientWidth,a=r.scrollLeft,n=a+r.clientWidth;return l<a?r.scrollTo({left:l}):s>n?r.scrollBy({left:i.clientWidth+(n-l)}):void 0};(0,l.useEffect)(()=>{if(!E.current)return;let e=E.current;return null==e||e.addEventListener("scroll",_),()=>e.removeEventListener("scroll",_)},[E,_]),(0,l.useEffect)(()=>(D(),window.addEventListener("resize",D),()=>window.removeEventListener("resize",D)),[D]),(0,l.useEffect)(()=>{i===d.HD.MENU&&z()},[u,i,z]);let k=(0,l.useMemo)(()=>a.slice(0,A),[a,A]),H=(0,l.useMemo)(()=>a.slice(A),[a,A]),C=(0,l.useMemo)(()=>H.find(e=>e.id===u),[u,H]),I=g&&i===d.HD.ARROWS,B=!!H.length&&i===d.HD.MENU;return(0,r.jsxs)("div",{ref:T,className:(0,n.c)("tabs","ids-tabs-group","ids-tabs-group--".concat(t),"ids-tabs-group--".concat(i),s&&"ids-tabs-group--center",g&&"ids-tabs-group--overflowing"),children:[I&&(0,r.jsx)(p,{size:t,disabled:v,className:"ids-tabs-group__item ids-tabs-group__item--arrow",icon:c.ArrowFacedLeftIcon,onClick:()=>{R(-1)}}),(0,r.jsx)("div",{ref:E,className:"ids-tabs-group__content",children:k.map(e=>(0,r.jsx)(p,{size:t,selected:e.id===u,className:"ids-tabs-group__item",onClick:t=>L(t,e.id),...e,children:e.name},e.id))}),I&&(0,r.jsx)(p,{size:t,disabled:w,className:"ids-tabs-group__item ids-tabs-group__item--arrow",icon:c.ArrowFacedRightIcon,onClick:()=>{R(1)}}),B&&(0,r.jsx)(o.L,{clickActivation:!0,triggerComponent:e=>{let{active:i,toggle:l}=e;return(0,r.jsx)(p,{size:t,icon:i?c.DropupIcon:c.DropdownIcon,iconPosition:"trailing",className:"ids-tabs-group__item",selected:!!C,onClick:l,children:C?C.name:"Więcej"})},children:e=>{let{setShow:i}=e;return H.map(e=>(0,r.jsx)(p,{size:t,className:"ids-tabs-group__item",selected:e.id===u,onClick:()=>{h(e.id),m&&i(!1)},...e,children:e.name},e.id))}})]})};i(20363);let g=e=>{var t;let{tabs:i,size:n="medium",variant:o=d.HD.MENU,centerTabList:c,selectedTabId:u,noWrapper:h=!1,onSelect:m}=e,E=(0,s.DH)("tabs"),[p,g]=(0,l.useState)(u||(null===(t=i[0])||void 0===t?void 0:t.id)),f=()=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(T,{size:n,variant:o,centerTabList:c,selected:p,items:i,onSelect:e=>{g(e),null==m||m(e)}}),i.map(e=>{var t;let{id:i,content:l}=e;if(!l)return null;let s=null==l?void 0:null===(t=l.props)||void 0===t?void 0:t.articles,n=(0,a.Y)(l)?(0,a.e)(void 0,l):l;return(0,r.jsx)("div",{"aria-hidden":i!==p,hidden:i!==p,className:"tabs-".concat(s?i:"no-articles"),role:"tabpanel",id:"tabpanel-".concat(i),"aria-labelledby":"tab-".concat(i),children:n},i)})]});return h?f():(0,r.jsx)("div",{className:"tabs-container",style:{overflow:"hidden"},...E,children:f()})}},11769:function(e,t,i){"use strict";var r,l,s,a,n,o;
1i.d(t,{HD:function(){return s},TV:function(){return l},Yt:function(){return r}}),(a=r||(r={})).LABEL_ONLY="label_only",a.ICON_ONLY="icon_only",a.LABEL_AND_ICON="label_and_icon",(n=l||(l={})).VERTICAL="vertical",n.HORIZONTAL="horizontal",(o=s||(s={})).ARROWS="arrows",o.MENU="menu"},96365:function(e,t,i){"use strict";i.r(t);var r,l,s=i(74512),a=i(22467),n=i(32735),o=i(76598),c=i(26279),d=i(83832),u=i(44466),h=i(17693),m=i(92842),E=i(86360),p=i(29200),T=i(34128),g=i(45399),f=i(2772);i(29381),(r=l||(l={}))[r.LEFT=0]="LEFT",r[r.RIGHT=1]="RIGHT";let v=e=>{let t=[...e];return t.reverse(),t};t.default=e=>{var t,i,r,l;let{lastMatches:x,parentWidth:w,matchesShowBothTabelsTabs:b,upcomingMatchesInsteadLastMatches:A,upcomingMatches:N,matchesShowBothTabels:j,matchesExtraTabs:y,headerText:R,matchesBothTabelsHeader:_,isStandingWithTabs:S,competitions:z,matchTabelsSize:D,visibleTableIdx:L,discipline:k}=e;null==x||x.title;let H=(null==x?void 0:x.moreText)||"Więcej",C=(null==x?void 0:x.moreUrl)||"www.interia.pl",I=D&&x?null==x?void 0:x.slice(0,D):null!=x?x:(null==z?void 0:z.lastMatches)&&D?null==z?void 0:z.lastMatches.slice(0,D):(null==z?void 0:z.lastMatches)?z.lastMatches:[],[B,P]=(0,n.useState)(I),[O,F]=(0,n.useState)(L||0),[M,K]=(0,n.useState)(!1),[U,W]=(0,n.useState)([]),[Z,G]=(0,n.useState)("default"),X=(0,c.sb)(),Y=(0,a.DH)("sport-table-wrapper"),V=(0,d.fr)();(0,n.useEffect)(()=>{if(j){K(!0);let e=document.location.href.match(/-wyniki/),t=document.location.href.match(/-terminarz/);e&&e[0]?(F(0),K(!0),G("default")):t&&t[0]&&(F(1),K(!1),G("default"))}},[V]);let q=(0,n.useCallback)(async e=>{try{var t,i;let r=await o.Z.get("/api/v1/proxy/api/sport/schedule/spci/".concat(e,"/spdi/").concat(k),{responseType:"json"});if(200!==r.status)throw Error("Błąd pobierania danych.");if(!(null==r?void 0:null===(t=r.data)||void 0===t?void 0:t.data))throw P(null),Error("Błąd pobierania danych.");let l=(0,d.Of)(r.data.data.closestMatches)?r.data.data.closestMatches:[],s=(0,d.Of)(r.data.data.matches)?r.data.data.matches:l,a=(0,d.Of)(r.data.data.lastMatches)?r.data.data.lastMatches:s;(0,d.Of)(a)||P(null),P(D?null===(i=v(a))||void 0===i?void 0:i.slice(0,D):v(a))}catch(e){console.error(e)}},[]);(0,n.useCallback)(async(e,t)=>{G(e);let i="/api/competition/".concat(apiSlug,",spci,").concat(optionId);try{var r;let e=await o.Z.get(i,{responseType:"json"});if(200!==e.status||(null===(r=e.data.result)||void 0===r?void 0:r.code)!==200)throw Error("Błąd pobierania danych.");(0,d.Of)(e.data.data)||W(null);let{data:t}=e.data;W(t.data)}catch(e){console.error(e)}},[]);let J=function(){return(arguments.length>0&&void 0!==arguments[0]&&arguments[0],(0,d.Of)(I))?(0,s.jsx)(m.q,{size:X?"small":"medium",variant:"narrow",discipline:k,data:{events:I,showLiveNews:!1,displayedDescriptionName:"WEEK_NUMBER"}}):M?(0,s.jsx)("div",{className:"warning",children:(0,s.jsx)("span",{children:"Wyniki zostaną opublikowane wkr\xf3tce"})}):(0,s.jsx)("div",{className:"warning",children:(0,s.jsx)("span",{children:"Dane zostaną opublikowane wkr\xf3tce"})})};if(j||y)return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{id:R?R.trim().toLowerCase().replace("-","").replace(/\s+/g,"-")+"-wyniki":null}),(0,s.jsx)("span",{id:R?R.trim().toLowerCase().replace("-","").replace(/\s+/g,"-")+"-terminarz":null}),(0,s.jsxs)(E.mf,{layout:"flex",justify:"space-between",align:"center",style:{width:"100%"},children:[(0,s.jsx)(p.Heading,{children:_}),(0,s.jsx)(u.Button,{href:C,title:H,children:H})]}),(0,s.jsx)(T.TabsGroup,{size:X?"small":"medium",variant:"menu",selected:O||(null===(r=b[0])||void 0===r?void 0:r.id),items:null!=b?b:[],closeOnSelect:!0}),(0,s.jsx)("div",{className:(0,g.c)("ids-tables-category-sections-table-wrapper",1===O&&"ids-tables-category-sections-table-wrapper--visible"),...Y,children:(0,s.jsx)(f.Z,{upcomingMatches:N,showHeader:!1,limit:D})}),(0,s.jsx)("div",{className:(0,g.c)("ids-tables-category-sections-table-wrapper",0===O&&"ids-tables-category-sections-table-wrapper--visible"),children:J(!1)}),"shooters"===Z&&(0,s.jsx)("div",{className:(0,g.c)("ids-tables-category-sections-table-wrapper","ids-tables-category-sections-table-wrapper--visible"),children:(0,d.Of)(U)?(0,s.jsx)(h.Y,{size:X?"small":"medium",data:U,showTitle:!1,className:"smallTable",limit:D||5,showMoreButtonTitle:!1}):(0,s.jsx)("div",{className:"warning",children:(0,s.jsx)("span",{children:"Brak danych"})})})]});if((0,d.Of)(null!==(i=null==z?void 0:null===(t=z.lastMatches)||void 0===t?void 0:t.data)&&void 0!==i?i:null==z?void 0:z.lastMatches)){let e;return(null==I?void 0:I[0])&&(null==I||I[0].competitionId),e=[],(null==z?void 0:z.leagues)&&(e=z.leagues.map(e=>({id:e.id,name:e.text}))),(0,s.jsxs)(E.z_,{direction:"column",children:[(0,s.jsx)(T.TabsGroup,{size:X?"small":"medium",variant:"menu",selected:O||(null===(l=e[0])||void 0===l?void 0:l.id),items:e,closeOnSelect:!0,onSelect:e=>{var t;let i=null==z?void 0:null===(t=z.leagues)||void 0===t?void 0:t.find(t=>
1t.id===e);if(!i)return;let{type:r}=i;F(e),G(r||"default"),q(e)}}),(0,d.Of)(B)?(0,s.jsx)(m.q,{size:X?"small":"medium",variant:"narrow",discipline:k,data:{events:B,showLiveNews:!1,displayedDescriptionName:"WEEK_NUMBER"}}):(0,s.jsx)("div",{className:"warning",children:(0,s.jsx)("span",{children:"Brak danych dla tych rozgrywek"})})]})}return A?(0,s.jsx)(f.Z,{upcomingMatches:N,limit:D,discipline:k}):J()}},2772:function(e,t,i){"use strict";var r=i(74512),l=i(26279),s=i(92842),a=i(45399);t.Z=e=>{var t;let{upcomingMatches:i,showHeader:n=!0,isStandingWithTabs:o,limit:c=5,discipline:d}=e,u=(0,l.sb)(),h=Array.isArray(i)?i:null==i?void 0:i.events;if((0,a.xb)(h))return null;let m=Object.hasOwn(i,"events")?i:{events:h,displayedDescriptionName:"WEEK_NUMBER"};return null==m||null===(t=m.events)||void 0===t||t.slice(0,c),(0,r.jsx)(s.q,{size:u?"small":"medium",variant:"narrow",data:m,discipline:d})}},38080:function(e){e.exports={"xsmall-normal":"ids-typeset-text--preset-xsmall","xsmall-strong":"ids-typeset-text--preset-xsmall ids-typeset-text--preset-xsmall-strong","small-normal":"ids-typeset-text--preset-small","small-strong":"ids-typeset-text--preset-small ids-typeset-text--preset-small-strong","medium-normal":"ids-typeset-text--preset-medium","medium-strong":"ids-typeset-text--preset-medium ids-typeset-text--preset-medium-strong","large-normal":"ids-typeset-text--preset-large","large-strong":"ids-typeset-text--preset-large ids-typeset-text--preset-large-strong"}},23504:function(e){e.exports={small:"ids-typeset-text--preset-small ids-typeset-text--preset-small-loose",medium:"ids-typeset-text--preset-medium ids-typeset-text--preset-medium-loose"}},25203:function(){},23163:function(){},92275:function(){},28001:function(){},1701:function(){},25763:function(){},64500:function(){},6765:function(){},20363:function(){},29381:function(){},13158:function(e){var t,i,r,l=e.exports={};function s(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function n(e){if(t===setTimeout)return setTimeout(e,0);if((t===s||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(i){try{return t.call(null,e,0)}catch(i){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:s}catch(e){t=s}try{i="function"==typeof clearTimeout?clearTimeout:a}catch(e){i=a}}();var o=[],c=!1,d=-1;function u(){c&&r&&(c=!1,r.length?o=r.concat(o):d=-1,o.length&&h())}function h(){if(!c){var e=n(u);c=!0;for(var t=o.length;t;){for(r=o,o=[];++d<t;)r&&r[d].run();d=-1,t=o.length}r=null,c=!1,function(e){if(i===clearTimeout)return clearTimeout(e);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{i(e)}catch(t){try{return i.call(null,e)}catch(t){return i.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function E(){}l.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)t[i-1]=arguments[i];o.push(new m(e,t)),1!==o.length||c||n(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={},l.on=E,l.addListener=E,l.once=E,l.off=E,l.removeListener=E,l.removeAllListeners=E,l.emit=E,l.prependListener=E,l.prependOnceListener=E,l.listeners=function(e){return[]},l.binding=function(e){throw Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(e){throw Error("process.chdir is not supported")},l.umask=function(){return 0}}}]);

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.