1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[108],{43057:function(){},17759:function(){},46376:function(){},68970:function(){},97613:function(){},51147:function(){},24663:function(){},58603:function(){},68820:function(){},40672:function(){},56454:function(){},99562:function(e,l,t){"use strict";t.d(l,{O:function(){return i},b:function(){return o}});var n=t(47461);let o=()=>{let e=(0,n.O)({key:"bookmaker.currency.symbol",keepData:!0});return(0,n.O)({key:"userState.currency.symbol",keepData:!0})||e},i=()=>{let e=(0,n.O)({key:"bookmaker.currency",keepData:!0});return(0,n.O)({key:"userState.currency",keepData:!0})||e}},30711:function(e,l,t){"use strict";let n,o,i,a,d;t.d(l,{LN:function(){return u},aw:function(){return v},dj:function(){return m},dk:function(){return p},hG:function(){return r}});var s=((n=s||{}).All="all",n.Running="running",n.Won="won",n.Lost="lost",n.Void="void",n.Rejected="rejected",n.Canceled="canceled",n.Cashout="cashout",n.Resulted="resulted",n.Bonus="bonus",n),c=((o=c||{}).PaidWinnings="paid_winnings",o.PaidOut="paid_out",o),r=((i=r||{})[i.Running=1]="Running",i[i.Pending=2]="Pending",i[i.Cancelled=3]="Cancelled",i[i.Rejected=4]="Rejected",i[i.Awaiting=5]="Awaiting",i[i.Void=6]="Void",i[i.Win=7]="Win",i[i.Lost=8]="Lost",i[i.BeginProcessed=9]="BeginProcessed",i[i.Saved=10]="Saved",i[i.OpenWin=11]="OpenWin",i[i.PaidWin=12]="PaidWin",i[i.CashOut=13]="CashOut",i),u=((a=u||{})[a.Withdraw=0]="Withdraw",a[a.Deposit=1]="Deposit",a);let v={1:"running",2:"pending",3:"cancelled",4:"rejected",5:"awaiting",6:"void",7:"win",8:"lost",9:"begin_processed",10:"saved",11:"open_win",12:"paid_win",13:"cash_out"},m={running:"reload",pending:"spinner",cancelled:"banned",rejected:"problem",awaiting:"hourglass",void:"dot-circle",win:"check2",lost:"no-icon",begin_processed:"today-matches",saved:"refresh",open_win:"check2",paid_win:"check2",cash_out:"retweet"};var p=((d=p||{}).Full="full",d.Standart="standart",d)},45812:function(e,l,t){"use strict";t.d(l,{F:function(){return d}});var n=t(52322);let o=(e,l)=>{if("-"==e||!e)return"0"+l.seperator_decimal+"00";{let t=(Math.round(100*+e)/100).toString().split("."),n=t[0];if(n.length){n.length>3&&(n=n.toString().replace(/\B(?=(\d{3})+(?!\d))/g,l.seperator_thousand));let e=t[1];return t[1]?1==t[1].length&&(e=t[1]+"0"):e="00",n+l.seperator_decimal+e}}},i=e=>{let{value:l,currency:t}=e,n=t.utf8_symbol||t.symbol,i=o(l||0,t);return"L"===t.symbol_location?n+i:"".concat(i," ").concat(n)};var a=t(99562);let d=e=>{var l,t,o;let d=(0,a.O)(),s=(null==e?void 0:null===(l=e.currency)||void 0===l?void 0:l.symbol_location)&&((null==e?void 0:null===(t=e.currency)||void 0===t?void 0:t.utf8_symbol)||(null==e?void 0:null===(o=e.currency)||void 0===o?void 0:o.symbol))?e.currency:d;return(0,n.jsx)(i,{currency:s,value:e.value})}},94794:function(e,l,t){"use strict";t.d(l,{r:function(){return s}});var n=t(52322),o=t(2784),i=t(22957);t(68970);var a=t(44341);let d=e=>{let{onClickFavorite:l,status:t}=e,o=(0,a.Ez)({"star-o":!t,star:t});return(0,n.jsx)("div",{className:"oct-elmt-favorite",onClick:l,children:(0,n.jsx)("span",{className:"favorite-icon",children:(0,n.jsx)(i.J,{iconClass:o})})})},s=e=>{let{onClick:l,isFavorite:t=!1}=e,[i,a]=(0,o.useState)(t);return(0,n.jsx)(d,{onClickFavorite:()=>{a(!i),l(!i)},status:i})}},48057:function(e,l,t){"use strict";t.d(l,{l:function(){return a}});var n=t(52322),o=t(88650),i=t(30711);let a=e=>{let{value:l,dataKey:t,customProps:a}=e,d=(null==a?void 0:a.type)==="transaction"?i.LN:i.aw,s=l[t],c=null==l?void 0:l.early_payout;return(0,n.jsxs)("div",{className:"oct-table-text-container ".concat("oct-table-text-container__"+d[s]),children:[c&&(0,n.jsx)("div",{className:"oct-table-text-container__early-payout-label",children:(0,n.jsx)(o.Z,{children:"early_payout"})}),(0,n.jsx)(o.Z,{children:d[s]})]})}},93648:function(e,l,t){"use strict";t.d(l,{P:function(){return es}});var n=t(2784),o=t(52322);t(97613);let i=e=>(0,o.jsx)("div",{className:"oct-el-id",children:e.value});var a=t(94794),d=t(16157),s=t(50642),c=t(2064),r=t(15460),u=t(39461),v=t(53222),m=t(74798),p=t(59179),_=t(94355);t(40672);var h=t(47461),x=t(44393),j=t(75417),b=t(13227),y=t(58908),N=t(29610),k=t(44341);let g=e=>{var l,t,i,a,d,s,c,g,f;let{value:w,customProps:S}=e,C=(0,h.O)({key:"bookmaker.tracker.settings.preMatch",keepData:!0}),O=(0,n.useContext)(x.p),I=function(){var e,l,t,n,i,a,d,s,c,r,u,v,m;let p=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return p?(0,o.jsxs)("div",{className:"event-names-single-line",children:[(0,o.jsxs)("div",{className:"event-names-single-line__team",children:[(0,o.jsx)(_.z,{id:null==w?void 0:null===(e=w.emblems)||void 0===e?void 0:e.home,side:"home"}),(0,o.jsx)("span",{children:null!==(r=null===(l=w.home)||void 0===l?void 0:l.name)&&void 0!==r?r:w.home})]}),(0,o.jsx)("div",{className:"divider",children:(null===(t=w.name)||void 0===t?void 0:t.includes("vs."))?"vs.":"-"}),(0,o.jsxs)("div",{className:"event-names-single-line__team",children:[(0,o.jsx)(_.z,{id:null==w?void 0:null===(n=w.emblems)||void 0===n?void 0:n.away,side:"away"}),(0,o.jsx)("span",{children:null!==(u=null===(i=w.away)||void 0===i?void 0:i.name)&&void 0!==u?u:w.away})]})]}):(0,o.jsxs)("div",{className:"truncate-line__event-names",children:[(0,o.jsxs)("div",{className:"truncate-line__event-names__event-name",children:[(0,o.jsx)(_.z,{id:null==w?void 0:null===(a=w.emblems)||void 0===a?void 0:a.home,side:"home"}),(0,o.jsx)("span",{children:null!==(v=null==w?void 0:null===(d=w.home)||void 0===d?void 0:d.name)&&void 0!==v?v:null==w?void 0:w.home})]}),(0,o.jsxs)("div",{className:"truncate-line__event-names__event-name",children:[(0,o.jsx)(_.z,{id:null==w?void 0:null===(s=w.emblems)||void 0===s?void 0:s.away,side:"away"}),(0,o.jsx)("span",{children:null!==(m=null==w?void 0:null===(c=w.away)||void 0===c?void 0:c.name)&&void 0!==m?m:null==w?void 0:w.away})]})]})},P=!!(null===(i=(0,u.TS)().octonovus.store)||void 0===i?void 0:null===(t=i.data)||void 0===t?void 0:null===(l=t.bookmaker)||void 0===l?void 0:l.live_streaming_feed)&&(null==w?void 0:w.live_stream)&&(null==w?void 0:w.status)==j.d6.LIVE,D=e=>{let[l,t]=e.split(":");return(0,o.jsx)(r.z,{homeScore:l,awayScore:t})},E=()=>{var e,l,t;let n=(null===(e=(0,u.TS)().octonovus.store)||void 0===e?void 0:e.data.bookmaker.extra_odds_template)===0,o=(null==w?void 0:w.tournament_id)||(null==w?void 0:w.tournamentId),i=(null==w?void 0:w.category_id)||(null==w?void 0:w.categoryId);if(n&&(null==w?void 0:w.status)!=j.d6.LIVE)(null==O?void 0:O.directive)!=="TournamentV2"?(0,h.F)("internal_widgets_eventDetails.".concat(null==O?void 0:O.elementId),e=>e===w.id?"":w.id):((0,b.l)({key:b.Z.OpenTournament,directive:null==O?void 0:O.directive,owner:"Match/Competition",data:{sportName:w.sport_name,categoryName:w.category_name,tournamentName:w.tournament_name,ids:[[null!==(l=null==w?void 0:w.sportId)&&void 0!==l?l:(null==w?void 0:w.sport_id)+"",i+"",o||S.value]],action:"direct"}}
1),(0,h.F)("sidebar.expandEventId",e=>e===(null==w?void 0:w.id)?null:null==w?void 0:w.id));else{let e="string"==typeof w.home?"".concat(w.home," vs ").concat(w.away):"".concat(w.home.name," vs ").concat(w.away.name);(0,b.l)({key:b.Z.OpenEventDetail,directive:null==O?void 0:O.directive,owner:"Match/Competition",data:{eventId:w.id,eventName:e,categoryId:i,categoryName:w.category_name,eventType:w.status==j.d6.NOTSTARTED?"prematch":"live",status:null==w?void 0:w.status,tournamentId:o||S.value,tournamentName:w.tournament_name,sportId:null!==(t=null==w?void 0:w.sportId)&&void 0!==t?t:null==w?void 0:w.sport_id,sportName:w.sport_name}}),(0,y.q)({section:"sport",widget:N.m[(null==O?void 0:O.directive)||""]||"sport_event_content",action:"click",related_target:"detail_click",value:"string"==typeof w.home?"".concat(w.home," - ").concat(w.away):"".concat(w.home.name," - ").concat(w.away.name)})}},J=()=>(0,k.JY)(C)&&!!(null==w?void 0:w.stats);if((null==S?void 0:S.type)===2)return(0,o.jsxs)("div",{onClick:E,className:"oct-elmt-sport-event-container oct-elmt-sport-event-container",children:[(0,o.jsx)("div",{className:"oct-elmt-sport-event-content",children:I(!0)}),P&&(0,o.jsx)("div",{className:"oct-elmt-stream",children:(0,o.jsx)("i",{className:"icon icon-brlive"})}),(0,o.jsx)(p.Z,{eventId:(null==w?void 0:w.provider_event_id)||(null==w?void 0:w.group_id),columnDef:null==O?void 0:O.directive,activeSportId:null!==(a=null==w?void 0:w.sportId)&&void 0!==a?a:null==w?void 0:w.sport_id})]});if((null==S?void 0:S.type)===3)return(0,o.jsx)("div",{className:"oct-elmt-sport-event-container elmt-sport-event-container",children:(0,o.jsxs)("div",{className:"oct-elmt-sport-event-content-with-buttons",children:[(0,o.jsx)("div",{onClick:E,className:"truncate-line",children:I()}),(0,o.jsxs)("div",{className:"oct-sport-event-buttons",children:[P&&(0,o.jsx)("div",{className:"oct-elmt-stream",children:(0,o.jsx)("i",{className:"icon icon-brlive"})}),(0,k.JY)(null==w?void 0:w.event_labels)&&(0,o.jsx)(v.o,{event_labels:w.event_labels}),(0,o.jsx)(p.Z,{eventId:(null==w?void 0:w.provider_event_id)||(null==w?void 0:w.group_id),columnDef:null==O?void 0:O.directive,activeSportId:null!==(d=null==w?void 0:w.sportId)&&void 0!==d?d:null==w?void 0:w.sport_id}),J()&&(0,o.jsx)(m.M,{value:w}),(null==w?void 0:w.score)&&D(w.score)]})]})});if((null==S?void 0:S.type)===4)return(0,o.jsx)("div",{className:"oct-elmt-sport-event-container elmt-sport-event-container",children:(0,o.jsxs)("div",{className:"oct-elmt-sport-event-content-with-buttons",children:[(0,o.jsxs)("div",{onClick:E,className:"truncate-line",children:[(0,o.jsxs)("span",{className:"truncate-line__tournament-name",children:[null==w?void 0:w.category_name," - ",null==w?void 0:w.tournament_name]}),I()]}),(0,o.jsxs)("div",{className:"oct-sport-event-buttons",children:[P&&(0,o.jsx)("div",{className:"oct-elmt-stream",children:(0,o.jsx)("i",{className:"icon icon-brlive"})}),(0,k.JY)(null==w?void 0:w.event_labels)&&(0,o.jsx)(v.o,{event_labels:w.event_labels}),(0,o.jsx)(p.Z,{eventId:(null==w?void 0:w.provider_event_id)||(null==w?void 0:w.group_id),columnDef:null==O?void 0:O.directive,activeSportId:null!==(s=null==w?void 0:w.sportId)&&void 0!==s?s:null==w?void 0:w.sport_id}),J()&&(0,o.jsx)(m.M,{value:w}),(null==w?void 0:w.score)&&D(w.score)]})]})});if((null==S?void 0:S.type)===5)return(0,o.jsx)("div",{onClick:E,className:"oct-elmt-sport-event-container",children:(0,o.jsxs)("div",{className:"oct-elmt-sport-event-content-for-tournament",children:[I(!0),P&&(0,o.jsx)("div",{className:"oct-elmt-stream",children:(0,o.jsx)("i",{className:"icon icon-brlive"})}),(0,k.JY)(null==w?void 0:w.event_labels)&&(0,o.jsx)(v.o,{event_labels:w.event_labels}),(0,o.jsx)(p.Z,{eventId:(null==w?void 0:w.provider_event_id)||(null==w?void 0:w.group_id),columnDef:null==O?void 0:O.directive,activeSportId:null!==(c=null==w?void 0:w.sportId)&&void 0!==c?c:null==w?void 0:w.sport_id})]})});if((null==S?void 0:S.type)===6){let e=(0,k.Ez)({"oct-elmt-sport-event-container":!0,"elmt-sport-event-container":!0,"oct-sport-event-container-live":(null==w?void 0:w.score)&&w.status});return(0,o.jsx)("div",{className:e,children:(0,o.jsxs)("div",{className:"oct-elmt-sport-event-content-with-buttons",children:[(0,o.jsxs)("div",{onClick:E,className:"truncate-line",children:[(0,o.jsx)("span",{className:"truncate-line__tournament-name",children:null==w?void 0:w.tournament_name}),I()]}),(0,o.jsxs)("div",{className:"oct-sport-event-buttons",children:[P&&(0,o.jsx)("div",{className:"oct-elmt-stream",children:(0,o.jsx)("i",{className:"icon icon-brlive"})}),(0,k.JY)(null==w?void 0:w.event_labels)&&(0,o.jsx)(v.o,{event_labels:w.event_labels}),(0,o.jsx)(p.Z,{eventId:(null==w?void 0:w.provider_event_id)||(null==w?void 0:w.group_id),columnDef:null==O?void 0:O.directive,activeSportId:null!==(g=null==w?void 0:w.sportId)&&void 0!==g?g:null==w?void 0:w.sport_id}),J()&&(0,o.jsx)(m.M,{value:w}),(null==w?void 0:w.score)&&D(w.score)]})]})})}return(null==S?void 0:S.type)===7?(0,o.jsx)("div",{className:"oct-elmt-sport-event-container elmt-sport-event-container",children:(0,o.jsxs)("div",{className:"oct-elmt-sport-event-content-with-buttons",children:[(0,o.jsxs)("div",{onClick:E,className:"truncate-line",children:[(0,o.jsx)("span",{className:"truncate-line__tournament-name",children:null==w?void 0:w.tournament_name}),I()]}),(0,o.jsxs)("div",{className:"oct-sport-event-buttons",children:[P&&(0,o.jsx)("div",{className:"oct-elmt-stream",children:(0,o.jsx)("i",{className:"icon icon-brlive"})}),(0,k.JY)(null==w?void 0:w.event_labels)&&(0,o.jsx)(v.o,{event_labels:w.event_labels}),(0,o.jsx)(p.Z,{eventId:(null==w?void 0:w.provider_event_id)||(null==w?void 0:w.group_id),columnDef:null==O?void 0:O.directive,activeSportId:null!==(f=null==w?void 0:w.sportId)&&void 0!==f?f:null==w?void 0:w.sport_id}),J()&&(0,o.jsx)(m.M,{value:w}),(null==w?void 0:w.score)&&D(w.score)]})]})}):(0,o.jsx)("div",{onClick:E,className:"oct-elmt-sport-event-container",children:(0,o.jsx)("div",{className:"oct-elmt-sport-event-content",children:I(!0)})})};var f=t(12374),w=t(4535),S=t(88650),C=t(22957),O=t(58996);t(24663);var I=t(81202),P=t(18857);let D=e=>{let{value:l,dataKey:t,event:n,info:i,market:a,selected:d,onSelect:s}=e,{getFormattedOdd:c}=(0,P.L)();return(0,o.jsx)(I.n,{...e,oddFixer:e=>c(e),selectOdd:()=>{s(i.id)},isSelected:d})};var E=t(19909),J=t(80142);t(68820);let K=e=>e.reduce((e,l)=>{let t=l.odds.map(e=>({...e,is_favorite:null==l?void 0:l.is_favorite})),n=e.find(e=>e[0].special_value===(null==t?void 0:t[0].special_value));return n?n.push(...t):e.push(t),e}
1,[]),Z=e=>{let l=[];return[...e.reduce((e,t)=>(null==t[0].special_value?l.push(t):isNaN(parseFloat(t[0].special_value))?l.push(t):e.push(t),e),[]).sort((e,l)=>parseFloat(e[0].special_value)-parseFloat(l[0].special_value)),...l]},F=e=>{let l=null==e?void 0:e.findIndex(e=>{var l;return null==e?void 0:null===(l=e[0])||void 0===l?void 0:l.is_favorite});return l>-1?l:0},M=e=>{var l;return null==e?void 0:null===(l=e.subheader)||void 0===l?void 0:l.map((e,l)=>"special"===e.id?null:(0,o.jsx)("div",{className:"oct-elmt-lock-odd",children:(0,o.jsx)(C.J,{iconClass:"lock"})},"odd-lock-".concat(l)))},T=e=>{var l;let{value:t,columnSchema:n,dataKey:i,market:a,odds:d,relatedEventSelectedOdd:s,onSelect:c,selectedSpecialValue:r}=e;return(null==t?void 0:t.ia)===!1?n&&M(n):null==n?void 0:null===(l=n.subheader)||void 0===l?void 0:l.map((e,l)=>{if("special"===e.id)return null;let n=l-1,u=null==d?void 0:d[n];return(null==u?void 0:u.value)&&Number(u.value)>0&&(null==u?void 0:u.ia)!==!1?s&&r?(0,o.jsx)(D,{event:t,market:t,info:u,value:u.value,io_status:"",dataKey:i,selected:+u.id===s&&r==(null==u?void 0:u.special_value),onSelect:e=>c&&c(e)},""+i+n+(null==t?void 0:t.id)):(0,o.jsx)(J.l,{io_status:"",event:t,market:a,info:u,value:u.value,dataKey:i},"".concat(i,"-").concat(n,"-").concat(null==t?void 0:t.id)):(0,o.jsx)("div",{className:"oct-elmt-lock-odd",children:(0,o.jsx)(C.J,{iconClass:"lock"})},"odd-lock-".concat(n))})},V=e=>{var l,t;let{value:i,dataKey:a,customProps:d,columnSchema:s,relatedEventSelectedOdd:c,onSelect:r,selectedSpecialValue:u}=e,v=(0,n.useRef)(null),m=i.markets[a],p=(0,k.JY)(null==m?void 0:m.market_odds)?Z(K(null==m?void 0:m.market_odds)):[[{special_value:"0"}]],_=F(p),[h,x]=(0,n.useState)(_),[j,b]=(0,n.useState)(p.length>0?"".concat(null==p?void 0:null===(t=p[_])||void 0===t?void 0:null===(l=t[0])||void 0===l?void 0:l.special_value):"0"),[y,N]=(0,n.useState)(!1),g=e=>{x(e),b("".concat(p[e][0].special_value))},f=function(){var e,l;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=null!==(l=null==t?void 0:null===(e=t.split(""))||void 0===e?void 0:e.length)&&void 0!==l?l:0;return n>4?"14px":4==n?"8px":"4px"};return(0,o.jsxs)(o.Fragment,{children:[(null==d?void 0:d.type)==="specialOdd"&&p.length>1&&(0,o.jsx)(E.Popover,{isOpen:y,ref:v,positions:["bottom","right"],reposition:!1,onClickOutside:()=>N(!1),containerClassName:"oct-special-values-container",content:()=>{var e;return(0,o.jsx)("div",{className:"oct-custom-table-dropdown-container__options",style:{width:null===(e=v.current)||void 0===e?void 0:e.offsetWidth},onClick:()=>N(!y),children:p.map((e,l)=>{var t,n;return(0,o.jsx)("div",{style:{position:"relative",justifyContent:"center"},className:(0,k.Ez)({"oct-custom-table-dropdown-container__options__option":!0,"oct-custom-table-dropdown-container__options__option__selected":h===l}),onClick:()=>g(l),children:(0,o.jsxs)("div",{className:"oct-custom-table-dropdown-container__options__option__text",children:[_===l&&(0,o.jsx)(C.J,{iconClass:"star"}),(0,o.jsx)("span",{className:"oct-custom-table-dropdown-container__options__option__text__overflow",style:{marginLeft:f("".concat(null!==(n=null===(t=e[0])||void 0===t?void 0:t.special_value)&&void 0!==n?n:0))},children:e[0].special_value})]})},"".concat(e[0].special_value,"-").concat(l))})})},children:(0,o.jsxs)("div",{className:"oct-custom-special-value-container",onClick:()=>N(!y),children:[(0,o.jsxs)("span",{className:"oct-custom-special-value-container__title",children:[j||"select_an_option"," "]}),(0,o.jsx)(C.J,{iconClass:"icon icon-arrow-".concat(y?"up-s":"down-s")})]})}),(null==d?void 0:d.type)==="specialOdd"&&1===p.length&&(0,o.jsx)("div",{className:"oct-custom-special-value-container oct-custom-special-value-container--static",children:(0,o.jsx)("span",{className:"oct-custom-special-value-container__title",children:j})}),(0,o.jsx)(T,{columnSchema:s,dataKey:a,value:i,market:m,relatedEventSelectedOdd:c,selectedSpecialValue:u,onSelect:r,odds:p[h]})]})};t(51147);let W=e=>{var l,t,n,i,a;let{value:d,dataKey:s,customProps:c,columnSchema:r,onSelect:u,relatedEventSelectedOdd:v}=e,m=d.markets[s],p=null!==(n=null==r?void 0:null===(l=r.market)||void 0===l?void 0:l.odds)&&void 0!==n?n:[],_=null!==(i=null==m?void 0:null===(t=m.market_odds[0])||void 0===t?void 0:t.odds)&&void 0!==i?i:[];return(null==c?void 0:c.type)==="specialOdd"?(0,o.jsx)(V,{...e,selectedSpecialValue:null==_?void 0:_[0].special_value}):(null==p?void 0:p.length)>0&&(null==d?void 0:d.ia)!==!1?null==_?void 0:_.map((e,l)=>{var t;return Number(e.value)>
10&&((null==m?void 0:m.ia)!==!1||(null==e?void 0:e.ia)!==!1)?(0,o.jsx)(D,{event:d,market:m,info:e,value:e.value,io_status:null!==(t=null==e?void 0:e.io_status)&&void 0!==t?t:"",dataKey:s,selected:e.id===v,onSelect:e=>u(e)},""+s+l+(null==d?void 0:d.id)):(0,o.jsx)("div",{className:"oct-elmt-lock-odd",children:(0,o.jsx)(C.J,{iconClass:"lock"})},"odd-lock-".concat(l))}):null==r?void 0:null===(a=r.subheader)||void 0===a?void 0:a.map((e,l)=>(0,o.jsx)("div",{className:"oct-elmt-lock-odd",children:(0,o.jsx)(C.J,{iconClass:"lock"})},"odd-lock-".concat(l)))};var L=t(84500);let z=e=>(0,o.jsx)("div",{children:"MobileEventCardPreviewView"});t(17759);let G=e=>{let{value:l,dataKey:t,parseDate:n,getTimeValue:i,customProps:a}=e;return(0,o.jsxs)("div",{className:"oct-elmt-time-and-date-container",children:[(0,o.jsx)("span",{className:"oct-elmt-time-and-date-container__date",children:n(l[t])}),(0,o.jsx)("span",{className:"oct-elmt-time-and-date-container__time",children:l[t]?i(l[t],null==a?void 0:a.type):"-"})]})};var B=t(27006),H=t(79871),R=t(33240),Y=t(76749);t(46376);let A=e=>{var l;let{value:t,dataKey:i,customProps:a,columnSchema:d}=e,s=t.markets[i],c=(0,k.vM)(e=>null==e?void 0:e.special_value,s.odds),r=c.map(e=>{let[l,t]=e;return t}),u=null===(l=c[0])||void 0===l?void 0:l[0],[v,m]=(0,n.useState)(r[0]),[p,_]=(0,n.use
1State)(u),[h,x]=(0,n.useState)(u[0]),j=e=>{m(e);let l=c.find(l=>{let[t,n]=l;return n==e});if((0,k.JY)(l)){let e=null==l?void 0:l[0];_(e),x(e[0])}},b=e=>{x(e)};return(0,o.jsxs)("div",{className:"oct-dropdown-odd-group-container",children:[(0,o.jsx)("div",{className:"oct-dropdown-odd-group-container__odd-selection",children:(0,o.jsx)(Y.u,{customClass:"oct-dropdown-odd-group",selectedOption:null==h?void 0:h.name,children:p.map((e,l)=>(0,o.jsx)("div",{className:"oct-custom-table-dropdown-container__options__option",onClick:()=>b(e),children:(0,o.jsx)("span",{className:"oct-custom-table-dropdown-container__options__option__text",children:null==e?void 0:e.name})},(null==e?void 0:e.id)+"-"+l))})}),(0,o.jsx)("div",{className:"oct-dropdown-odd-group-container__special-value-selection",children:(0,o.jsx)(Y.u,{customClass:"oct-dropdown-odd-group",selectedOption:v,children:r.map(e=>(0,o.jsx)("div",{className:"oct-custom-table-dropdown-container__options__option",onClick:()=>j(e),children:(0,o.jsx)("span",{className:"oct-custom-table-dropdown-container__options__option__text",children:e})},e))})}),(0,o.jsx)("div",{className:"oct-dropdown-odd-group-container__selected-odd",children:(null==t?void 0:t.ia)&&(null==h?void 0:h.value)&&Number(h.value)>0&&(null==h?void 0:h.ia)!==!1?(0,o.jsx)(J.l,{io_status:"",event:t,market:s,info:h,value:h.value,dataKey:i}):(0,o.jsx)("div",{className:"oct-elmt-lock-odd",children:(0,o.jsx)(C.J,{iconClass:"lock"})})})]})},q=e=>{var l,t;let{value:n,dataKey:i}=e;return(0,o.jsx)("div",{className:"oct-table-text-container",title:null!==(l=n[i])&&void 0!==l?l:"-",children:(0,o.jsx)(S.Z,{children:null!==(t=n[i])&&void 0!==t?t:"-"})})},X=e=>{var l;let{value:t,dataKey:n,customProps:i}=e,a=(null==i?void 0:i.type)==="transaction",d=(null==i?void 0:i.type)==="report_code",s=()=>{(0,b.l)({key:a?b.Z.OpenTransactionHistoryDetailModal:b.Z.OpenBetHistoryDetailModal,directive:a?"TransactionHistory":"BetHistory",owner:a?"TransactionID":"Bet code",data:a?{transactionId:null==t?void 0:t.id}:{ticketCode:null==t?void 0:t.code}})};return d?(0,o.jsx)("div",{className:"oct-table-betcode-container",children:(0,o.jsx)("div",{className:"oct-table-betcode-container__content",children:(0,o.jsx)("a",{onClick:s,children:"reference_ticket_save_code"==n?(0,o.jsxs)(S.Z,{children:["#",t[n]]}):(0,o.jsxs)(S.Z,{children:["#",t[n].split("-")[1]]})})})}):(0,o.jsx)("div",{className:"oct-table-betcode-container",children:(0,o.jsxs)("div",{className:"oct-table-betcode-container__content",children:[(null==t?void 0:t.is_bonus)||(null==t?void 0:t.is_freebet)?(0,o.jsx)("i",{className:"icon icon-".concat((null==t?void 0:t.is_bonus)?"gift":"freebet")}):null,(0,o.jsx)("a",{onClick:s,children:(0,o.jsx)(S.Z,{children:null!==(l=t[n])&&void 0!==l?l:"-"})})]})})};t(43057);var Q=t(45812);let U=e=>{var l,t;let{value:n,dataKey:i}=e;return(0,o.jsx)("div",{className:"oct-table-currency-container",children:(0,o.jsx)(Q.F,{value:null!==(t=null===(l=n[i])||void 0===l?void 0:l.toFixed(2))&&void 0!==t?t:"-"})})};var $=t(48057);t(56454);var ee=t(64244),el=t(30711);let et=e=>{var l,t;let{value:n}=e,i=null!==(l=null==n?void 0:n.status)&&void 0!==l?l:0,a=null!==(t=null==n?void 0:n.show_payout)&&void 0!==t&&t;return i===el.hG.PaidWin?(0,o.jsx)("div",{className:"oct-paid-status",children:(0,o.jsx)("div",{className:"oct-status oct-status-paid_win",children:(0,o.jsx)(S.Z,{children:"already_got_paid"})})}):a?(0,o.jsx)("div",{className:"oct-paid-status",children:(0,o.jsx)(ee.z,{onClick:()=>{(0,b.l)({directive:"BetHistory",owner:"Bethistory",key:b.Z.OpenPaidPopup,data:{ticket:n}})},extraClass:"oct-status oct-status-open_win",children:(0,o.jsx)(S.Z,{children:"pay_cash"})})}):(0,o.jsx)("span",{children:" - "})};t(58603);var en=t(72370),eo=t(95838),ei=t(40847);let ea={"table-favorite":a.r,"table-plus":c.v,"table-scoreCell":r.z,"table-sportEventContent":e=>(0,o.jsx)(g,{...e}),"table-time":d.q,"table-id":e=>{let{value:l}=e;return(0,o.jsx)(i,{value:null==l?void 0:l.id})},"table-oddGroup":s.I,"table-specialOddGroup":e=>(0,o.jsx)(V,{...e}),"table-drodownOddGroup":e=>(0,o.jsx)(A,{...e}),"table-flag":f.X,"table-date":w.T,"table-date-without-time":eo.F,"table-date-and-time":e=>{let l=(0,B.W)(),t=(0,H.l)(l.short_date_format);return(0,o.jsx)(G,{...e,parseDate:e=>(0,R.Co)(e,t,l),getTimeValue:(e,t)=>
1(0,R.Co)(e,"HH:mm",l)})},"table-outrights":e=>{var l,t,i,a;let{value:d,dataKey:s,showMoreEvents:c,customProps:r,columnSchema:u}=e,v=null==d?void 0:null===(l=d.market_odds)||void 0===l?void 0:l.find(e=>(null==e?void 0:e.special_id)==+s),[m,p]=(0,n.useState)(!1),_=(0,n.useContext)(x.p),j=(0,h.O)({key:"bookmaker.minimum_odds_value",keepData:!0}),y=e=>{let l=[...e.filter(e=>e.value>+j),...e.filter(e=>e.value<=+j)];return!(l.length>5)||m||(null==r?void 0:r.hideShowMore)?[...l]:l.slice(0,5)},N=(0,n.useMemo)(()=>{var e;return y(null!==(e=null==v?void 0:v.odds)&&void 0!==e?e:[])},[d]);return(0,o.jsxs)(n.Fragment,{children:[(()=>{var e,l;if((null==v?void 0:null===(e=v.odds)||void 0===e?void 0:e.length)>0){let e={...d,name:null!==(l=null==d?void 0:d.event_name)&&void 0!==l?l:null==d?void 0:d.name};return null==N?void 0:N.map((l,t)=>(0,o.jsxs)("div",{className:"oct-el-outrights",children:[(0,o.jsxs)("div",{className:"oct-el-outrights__name",children:[" ",l.name]}),(0,o.jsx)("div",{className:"oct-el-outrights__pill",children:(0,o.jsx)(O.D,{isOddActive:(null==d?void 0:d.ia)&&(null==l?void 0:l.ia)&&(null==l?void 0:l.value)&&Number(l.value)>0,showName:!1,dataKey:null==v?void 0:v.id,specialId:null==v?void 0:v.special_id,info:l,disabled:!l.value,event:e,market:d,value:l.value},t+"pill")})]},l.name+t))}})(),!(null==r?void 0:r.hideShowMore)&&(null==v?void 0:null===(t=v.odds)||void 0===t?void 0:t.length)>5&&(0,o.jsx)("div",{className:"oct-el-outrights-show-more-container",onClick:()=>{(0,b.l)({key:b.Z.Navigate,directive:null==_?void 0:_.directive,owner:"tournament-page",data:{url:"sport/tournament/".concat(null==v?void 0:v.tournamentId,"/").concat(null==v?void 0:v.outrightId,"/").concat(null==v?void 0:v.special_id
1),page:"outright-page",query:{tournamentId:null==v?void 0:v.tournamentId,outrightId:null==v?void 0:v.outrightId,specialId:null==v?void 0:v.special_id}}})},children:(0,o.jsx)("div",{className:"oct-el-outrights__show-more",children:m?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(S.Z,{children:"show_less"}),(0,o.jsx)(C.J,{iconClass:"caret-up"})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(S.Z,{children:"show_all"}),(0,o.jsx)("span",{className:"oct-outright-odd-count",children:"(".concat(null==v?void 0:null===(i=v.odds)||void 0===i?void 0:i.length,")")}),(0,o.jsx)(C.J,{iconClass:"caret-down"})]})})},(null==v?void 0:null===(a=v.odds)||void 0===a?void 0:a.length)+"oct-outrights-show-more-less-")]},s+"outright-tables")},"event-card":en.K7,"mobile-event-card-preview":e=>(0,o.jsx)(z,{...e}),"table-oddGroup-preview":e=>{var l,t;let i=(0,n.useContext)(L.H),a=(0,n.useContext)(x.p),d=null==i?void 0:null===(t=i.selectedOdds)||void 0===t?void 0:null===(l=t[null==i?void 0:i.selectedTabId])||void 0===l?void 0:l[e.value.id];return(0,o.jsx)(W,{...e,relatedEventSelectedOdd:d,onSelect:l=>{null==i||i.setSelectedOdds(t=>{var n;let o={...t};o[null==i?void 0:i.selectedTabId][e.value.id]=l;let d=null===(n=e.value.odds.find(e=>e.id===l))||void 0===n?void 0:n.name;return(0,y.q)({section:"sport",widget:N.m[(null==a?void 0:a.directive)||""]||"recommended_betting",action:"click",related_target:"odds_click",value:"".concat(e.value.home," - ").concat(e.value.away," + ").concat(e.value.markets[e.dataKey].name," + ").concat(d),event_name:"".concat(e.value.home," - ").concat(e.value.away),market_name:"".concat(e.value.markets[e.dataKey].name),odd_name:d}),o})}})},"table-text":e=>(0,o.jsx)(q,{...e}),"table-bet-code":e=>(0,o.jsx)(X,{...e}),"table-currency":e=>(0,o.jsx)(U,{...e}),"table-status":e=>(0,o.jsx)($.l,{...e}),"table-paid-status":e=>(0,o.jsx)(et,{...e}),"table-custom-render":e=>{let{value:l,dataKey:t}=e,i=l[t];return n.isValidElement(i)?(0,o.jsx)(o.Fragment,{children:i}):(0,o.jsx)("span",{children:null==i?void 0:i.toString()})},"table-event-code":e=>{let{value:l}=e;if((0,h.O)({key:"userState",keepData:!0}),(0,h.O)({key:"bookmaker.event_code_display",keepData:!0}))return(0,o.jsx)(ei.r,{code:"#".concat((null==l?void 0:l.code)||(null==l?void 0:l.event_code))||0})}},ed=(e,l)=>{var t;return JSON.stringify({"table-favorite":"","table-plus":null==l?void 0:l.odds_count,"table-scoreCell":(null==l?void 0:l.homeScore)+(null==l?void 0:l.awayScore),"table-sportEventContent":(null==l?void 0:l.home)+(null==l?void 0:l.away)+(null==l?void 0:l.name)+(null==l?void 0:l.score)+(null==l?void 0:l.ia)+(null==l?void 0:null===(t=l.event_labels)||void 0===t?void 0:t.length),"table-time":(null==l?void 0:l.time)+(null==l?void 0:l.start_time)+(null==l?void 0:l.clock)+(null==l?void 0:l.isLive)+(null==l?void 0:l.period),"table-id":null==l?void 0:l.id,"table-drodownOddGroup":JSON.stringify(null==l?void 0:l.markets)+(null==l?void 0:l.ia),"table-specialOddGroup":JSON.stringify(null==l?void 0:l.markets)+(null==l?void 0:l.ia),"table-oddGroup":JSON.stringify(null==l?void 0:l.markets)+(null==l?void 0:l.ia),"table-text":null==l?void 0:l.code,"table-bet-code":(null==l?void 0:l.code)+(null==l?void 0:l.is_bonus)+(null==l?void 0:l.is_freebet),"table-currency":null==l?void 0:l.stake,"table-status":null==l?void 0:l.status,"table-paid-status":(null==l?void 0:l.status)+(null==l?void 0:l.show_payout),"table-oddGroup-preview":null==l?void 0:l.markets,"table-flag":null==l?void 0:l.category_class,"table-date":(null==l?void 0:l.date)+(null==l?void 0:l.start_time)+(null==l?void 0:l.checkout_time)+(null==l?void 0:l.result_date),"table-date-without-time":(null==l?void 0:l.date)+(null==l?void 0:l.start_time)+(null==l?void 0:l.checkout_time)+(null==l?void 0:l.result_date),"table-date-and-time":(null==l?void 0:l.date)+(null==l?void 0:l.time)+(null==l?void 0:l.start_time),"table-outrights":JSON.stringify(l)+(null==l?void 0:l.ia),"event-card":l,"mobile-event-card-preview":l,"table-custom-render":l}[e])},es=e=>{var l,t,o;let{columnSchema:i,value:a,showMoreEvents:d,callExpandedComponent:s}=e,c=null==i?void 0:i.entity;if(!c)return null;let r=null==i?void 0:null===(t=i.entity)||void 0===t?void 0:null===(l=t.customProps)||void 0===l?void 0:l.dataKey,u=ed(c.name,a),v=e=>{let l=ea[null==c?void 0:c.name],t={value:e,dataKey:r,customProps:null==c?void 0:c.customProps,columnSchema:i,showMoreEvents:d,callExpandedComponent:s};return(0,n.createElement)(l,{...t,key:r+""})};return(0,n.useMemo)(()=>v(a),[r,null==c?void 0:null===(o=c.customProps)||void 0===o?void 0:o.specifierId,null==c?void 0:c.name,u,s])}},84500:function(e,l,t){"use strict";t.d(l,{H:function(){return n}});let n=(0,t(2784).createContext)({})}}]);
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.