PageSourceSearch

https://cdn.tickaroo.com/webng/embedjs/static/js/6549.186ab748.chunk.js

js tickaroo.com collected 2026-09-24 09:26:26 UTC 3,273 bytes, 2 lines download raw bytes

1"use strict";(self._tik4Chunks=self._tik4Chunks||[]).push([[6549],{6549(e,t,n){function a(e){return e<10?"0"+e:e.toString()}function r(e,t){if(void 0!==t)switch(e){case"M'":return`${Math.ceil(t/60)}'`;case"M":return`${Math.ceil(t/60)}`;case"M.":return`${Math.ceil(t/60)}.`;case"M:ss":return`${Math.floor(t/60)}:${a(t%60)}`;case"MM:ss":return`${a(Math.floor(t/60))}:${a(t%60)}`;default:return""}}function o(e,t,n,a){const r=null!==e&&void 0!==e?e:t;return Number.isFinite(r)?Math.min(a,Math.max(n,Math.trunc(r))):t}function s(e,t="name"){return`sports.${e}.${t}`}function i(e,t){if(void 0!==e.check_seconds&&!e.is_break&&1===e.gamestate){const n=function(e){return"Tik::Model::Options::TimedGameOptions"===(null===e||void 0===e?void 0:e._type)?{_type:"Tik::Model::Options::TimedGameOptions",timing_type:e.timing_type||"",num_regular_phases:o(e.num_regular_phases,1,1,4),overtime_phase_length:e.overtime_phase_length||0,num_overtime_phases:o(e.num_overtime_phases,0,0,4),regular_phase_length:e.regular_phase_length||300}:void 0}(t);if(n){const t=e.recurrence||1,{length:a,offset:o}=t<=n.num_regular_phases?{length:60*n.regular_phase_length,offset:(t-1)*n.regular_phase_length*60}:{length:60*n.overtime_phase_length,offset:n.num_regular_phases*n.regular_phase_length*60+(t-n.num_regular_phases-1)*n.overtime_phase_length*60};switch(n.timing_type){case"u":case"d":return{time_of_play:r("M:ss",e.check_seconds)};case"au":return{time_of_play:r("M.",o+e.check_seconds)};case"aui":return{time_of_play:e.check_seconds>a?`${r("M'",o+a)}+${r("M",e.check_seconds-a)}`:r("M'",o+e.check_seconds)}}}}}function _(e,t){if(void 0!==t){if(e.scoreboard&&"Tik::Model::Content::Scoreboard::TeamGameScoreboard"===e.scoreboard._type)return t?e.scoreboard.home_team:e.scoreboard.away_team;if(e.scoreboard&&"Tik::Model::Content::Scoreboard::SetBasedScoreboard"===e.scoreboard._type)return t?e.scoreboard.home_team:e.scoreboard.away_team;if(e.meta_info&&"Tik::Model::GameMetaInfo::TeamGameMetaInfo"===e.meta_info._type)return t?e.meta_info.home_team:e.meta_info.away_team}}function l(e,t,n,a){var r,o;let l,p;if("Tik::Model::GameStateInfo::TimeBasedGameStateInfo"===(null===(r=a.state_info)||void 0===r?void 0:r._type))l=i(a.state_info,n.options);if((null===(o=a.event_info)||void 0===o?void 0:o.event_type)&&e.legacyEventMap){const r=e.legacyEventMap[a.event_info.event_type],o=e.events.find(e=>e.id===r);if(r&&o){const i=t(s(`${e.id}.event.${r}`,"name")),l=[];o.players&&o.players.length>0&&a.event_info.player&&l.push({_type:"Tik::Model::Content::SportEventPlayer",player:a.event_info.player,event_player_title:t(s(`${e.id}.event-player.${o.players[0].id}`,"name")),event_player_type:o.players[0].id}),o.players&&o.players.length>1&&a.event_info.other_player&&l.push({_type:"Tik::Model::Content::SportEventPlayer",player:a.event_info.other_player,event_player_title:t(s(`${e.id}.event-player.${o.players[1].id}`,"name")),event_player_type:o.players[1].id}),p={event_type:n.sportstype+"."+r,team:"any"===o.team?_(n,a.event_info.is_home_team):void 0,title:i,players:l}}}return l||p?{_type:"Tik::Model::Content::SportEventContentBlock",sportstype:e.id,local_id:"legacy-sports",...l||{},...p||{}}:void 0}n.d(t,{legacySportEventInfoConverter:()=>l})}}]);
2//# sourceMappingURL=6549.186ab748.chunk.js.map

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.