@mjsz-vbr-elements/core 2.43.2 → 2.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/columns.js +1 -1
- package/dist/{components-DpAc0iFd.js → components-CLXsGHd2.js} +337 -310
- package/dist/components.js +5 -5
- package/dist/{composables-DkeAlPNN.js → composables-Bky0pXlN.js} +138 -145
- package/dist/composables.js +3 -3
- package/dist/constants.js +1 -1
- package/dist/{datetime-Dr5rQMCL.js → datetime-4YcVSk2g.js} +88 -83
- package/dist/index.iife.js +3 -3
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +10 -10
- package/dist/props.js +1 -1
- package/dist/{utils-BzouF97X.js → utils-CPlcst7J.js} +231 -211
- package/dist/utils.js +4 -4
- package/package.json +2 -2
package/dist/index.iife.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.45.0 - 03/05/2026, 10:31:31
|
|
4
4
|
* (c) 2026
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
var MjszVbrElementsCore=(function(e,t){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var n=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),l=(e,t,n,o)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=a(t),l=0,u=c.length,d;l<u;l++)d=c[l],!s.call(e,d)&&d!==n&&r(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(o=i(t,d))||o.enumerable});return e},u=(e,t,i)=>(i=e==null?{}:n(o(e)),l(t||!e||!e.__esModule?r(i,`default`,{value:e,enumerable:!0}):i,e)),d=`https://api.icehockey.hu`,f=`wss://api.icehockey.hu/socket/vbr`,p=`https://www.jegkorongszovetseg.hu/event/game/{gameId}`,m=`https://jegkorongszovetseg.hu/assets/images/player_blank.png`,h=`https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}`,g=`https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}`,_=`https://www.ersteliga.hu/stats?report={id}`,v=`https://api.icehockey.hu/static/api/flag`,y=`original`,b=`descend`,x=`ascend`,S=new Map().set(`hu`,`hu-hu`).set(`en`,`hu-gb`),C=new Map().set(`Europe/Budapest`,{countryLabelKey:`hungary`,timezone:`Europe/Budapest`}).set(`Europe/Bucharest`,{countryLabelKey:`romania`,timezone:`Europe/Bucharest`}),w=1e3*60*5,T=1e3,E={gameName:{label:`table.gameName.short`,tooltip:`table.gameName.tooltip`,class:`text-start text-dimmed`},gameDateDate:{label:`table.gameDate.short`,tooltip:`table.gameDate.tooltip`,class:`text-start`},gameDateTime:{label:`table.gameDateTime.short`,tooltip:`table.gameDateTime.tooltip`,class:`text-start`},homeTeamName:{label:`table.homeTeam.short`,tooltip:`table.homeTeam.tooltip`,class:`text-end w-auto font-bold`},homeTeamLogo:{label:``,class:`is-has-image`},gameResult:{label:``,class:`font-bold text-xl`},gameResultType:{label:``,tooltip:``},awayTeamLogo:{label:``,class:`is-has-image`},awayTeamName:{label:`table.awayTeam.short`,tooltip:`table.awayTeam.tooltip`,class:`text-start w-auto font-bold`},location:{label:`table.location.short`,tooltip:`table.location.tooltip`,class:`text-start`},broadcast:{label:`table.broadcast.short`,tooltip:`table.broadcast.tooltip`},more:{label:``}},ee={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},gamesPlayed:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gamesPlayed`,direction:b}]},w:{label:`table.wins.short`,tooltip:`table.wins.tooltip`,sortOrders:[{target:`w`,direction:b},{target:`otw`,direction:b}]},otw:{label:`table.otw.short`,tooltip:`table.otw.tooltip`,sortOrders:[{target:`otw`,direction:b}]},sow:{label:`table.sow.short`,tooltip:`table.sow.tooltip`,sortOrders:[{target:`sow`,direction:b}]},sol:{label:`table.sol.short`,tooltip:`table.sol.tooltip`,sortOrders:[{target:`sol`,direction:b}]},otl:{label:`table.otl.short`,tooltip:`table.otl.tooltip`,sortOrders:[{target:`otl`,direction:x}]},l:{label:`table.losses.short`,tooltip:`table.losses.tooltip`,sortOrders:[{target:`l`,direction:x}]},gf:{label:`table.goalFor.short`,tooltip:`table.goalFor.tooltip`,sortOrders:[{target:`gf`,direction:b}]},ga:{label:`table.goalAgainst.short`,tooltip:`table.goalAgainst.tooltip`,sortOrders:[{target:`ga`,direction:x}]},gd:{label:`table.goalDiff.short`,tooltip:`table.goalDiff.tooltip`,sortOrders:[{target:`gd`,direction:b}]},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,class:`font-bold`,sortOrders:[{target:`points`,direction:b},{target:`gamesPlayed`,direction:x},{target:`w`,direction:b},{target:`gd`,direction:b},{target:`gf`,direction:b}]}},D={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},gamesPlayed:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gamesPlayed`,direction:b}]},pper:{label:`table.pper.short`,tooltip:`table.pper.tooltip`,sortOrders:[{target:`pper`,direction:b}]},w:{label:`table.wins.short`,tooltip:`table.wins.tooltip`,sortOrders:[{target:`w`,direction:b},{target:`otw`,direction:b}]},otw:{label:`table.otw.short`,tooltip:`table.otw.tooltip`,sortOrders:[{target:`otw`,direction:b}]},sow:{label:`table.sow.short`,tooltip:`table.sow.tooltip`,sortOrders:[{target:`sow`,direction:b}]},sol:{label:`table.sol.short`,tooltip:`table.sol.tooltip`,sortOrders:[{target:`sol`,direction:b}]},otl:{label:`table.otl.short`,tooltip:`table.otl.tooltip`,sortOrders:[{target:`otl`,direction:x}]},l:{label:`table.losses.short`,tooltip:`table.losses.tooltip`,sortOrders:[{target:`l`,direction:x}]},gf:{label:`table.goalFor.short`,tooltip:`table.goalFor.tooltip`,sortOrders:[{target:`gf`,direction:b}]},ga:{label:`table.goalAgainst.short`,tooltip:`table.goalAgainst.tooltip`,sortOrders:[{target:`ga`,direction:x}]},gd:{label:`table.goalDiff.short`,tooltip:`table.goalDiff.tooltip`,sortOrders:[{target:`gd`,direction:b}]},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,class:`font-bold`,sortOrders:[{target:`points`,direction:b},{target:`gamesPlayed`,direction:x},{target:`w`,direction:b},{target:`gd`,direction:b},{target:`gf`,direction:b}]}},te={index:{label:`#`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},gamesPlayed:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gamesPlayed`,direction:b}]},w:{label:`table.wins.short`,tooltip:`table.wins.tooltip`,sortOrders:[{target:`w`,direction:b},{target:`d`,direction:b}]},d:{label:`table.draw.short`,tooltip:`table.draw.tooltip`,sortOrders:[{target:`d`,direction:b},{target:`w`,direction:b}]},l:{label:`table.losses.short`,tooltip:`table.losses.tooltip`,sortOrders:[{target:`l`,direction:x}]},gf:{label:`table.goalFor.short`,tooltip:`table.goalFor.tooltip`,sortOrders:[{target:`gf`,direction:b}]},ga:{label:`table.goalAgainst.short`,tooltip:`table.goalAgainst.tooltip`,sortOrders:[{target:`ga`,direction:x}]},gd:{label:`table.goalDiff.short`,tooltip:`table.goalDiff.tooltip`,sortOrders:[{target:`gd`,direction:b}]},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,class:`font-bold`,sortOrders:[{target:`points`,direction:b}]}},ne={index:{label:`#`,class:`text-start italic text-dimmed`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`},gamesPlayed:{label:`table.game.short`,tooltip:`table.game.tooltip`,class:`text-dimmed`},w:{label:`table.wins.short`,tooltip:`table.wins.tooltip`,class:`text-dimmed`},l:{label:`table.losses.short`,tooltip:`table.losses.tooltip`,class:`text-dimmed`},gd:{label:`table.goalDiff.short`,tooltip:`table.goalDiff.tooltip`,class:`text-dimmed`},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,class:`font-bold`}},re={index:{label:`#`,class:`text-start`},playerPortrait:{label:``,class:`has-avatar`},name:{label:`table.name.short`,tooltip:`table.name.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`name`,direction:x}]},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto`,sortOrders:[{target:`teamName`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},goals:{label:`table.goals.short`,tooltip:`table.goals.tooltip`,sortOrders:[{target:`goals`,direction:b},{target:`assists`,direction:b}]},assists:{label:`table.assists.short`,tooltip:`table.assists.tooltip`,sortOrders:[{target:`assists`,direction:b},{target:`goals`,direction:b}]},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,sortOrders:[{target:`points`,direction:b}]},plusMinus:{label:`table.plusMinus.short`,tooltip:`table.plusMinus.tooltip`,sortOrders:[{target:`plusMinus`,direction:b}]},shots:{label:`table.sog.short`,tooltip:`table.sog.tooltip`,sortOrders:[{target:`shots`,direction:b}]},shotPercent:{label:`table.sogPercent.short`,tooltip:`table.sogPercent.tooltip`,sortOrders:[{target:`shootPercent`,direction:b}]}},ie={index:{label:`table.blank`,class:`text-start`},playerPortrait:{label:``,class:`has-avatar`},name:{label:`table.name.short`,tooltip:`table.name.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`name`,direction:x}]},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto`,sortOrders:[{target:`teamName`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},p2:{label:`table.minorPenalties.short`,tooltip:`table.minorPenalties.tooltip`,sortOrders:[{target:`p2`,direction:b},{target:`pim`,direction:b}]},p5:{label:`table.majorPenalties.short`,tooltip:`table.majorPenalties.tooltip`,sortOrders:[{target:`p5`,direction:b},{target:`pim`,direction:b}]},p10:{label:`table.misconducts.short`,tooltip:`table.misconducts.tooltip`,sortOrders:[{target:`p10`,direction:b},{target:`pim`,direction:b}]},p20:{label:`table.gameMisconducts.short`,tooltip:`table.gameMisconducts.tooltip`,sortOrders:[{target:`p20`,direction:b},{target:`pim`,direction:b}]},p25:{label:`table.matchPenalties.short`,tooltip:`table.matchPenalties.tooltip`,sortOrders:[{target:`p25`,direction:b},{target:`pim`,direction:b}]},pim:{label:`table.pim.short`,tooltip:`table.pim.tooltip`,sortOrders:[{target:`pim`,direction:b}]}},ae={index:{label:`#`,class:`text-start`},playerPortrait:{label:``,class:`has-avatar`},name:{label:`table.name.short`,tooltip:`table.name.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`name`,direction:x}]},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto`,sortOrders:[{target:`teamName`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},toiMin:{label:`table.toi.short`,tooltip:`table.toi.tooltip`,sortOrders:[{target:`toi`,direction:b}]},atoiMin:{label:`table.atoi.short`,tooltip:`table.atoi.tooltip`,sortOrders:[{target:`atoi`,direction:b}]},shf:{label:`table.shf.short`,tooltip:`table.shf.tooltip`,sortOrders:[{target:`shf`,direction:b}]},ashf:{label:`table.ashf.short`,tooltip:`table.ashf.tooltip`,sortOrders:[{target:`ashf`,direction:b}]},eqToiMin:{label:`table.eqToi.short`,tooltip:`table.eqToi.tooltip`,sortOrders:[{target:`eqToi`,direction:b}]},pp1ToiMin:{label:`table.pp1Toi.short`,tooltip:`table.pp1Toi.tooltip`,sortOrders:[{target:`pp1Toi`,direction:b}]},pp2ToiMin:{label:`table.pp2Toi.short`,tooltip:`table.pp2Toi.tooltip`,sortOrders:[{target:`pp2Toi`,direction:b}]},sh1ToiMin:{label:`table.sh1Toi.short`,tooltip:`table.sh1Toi.tooltip`,sortOrders:[{target:`sh1Toi`,direction:b}]},sh2ToiMin:{label:`table.sh2Toi.short`,tooltip:`table.sh2Toi.tooltip`,sortOrders:[{target:`sh2Toi`,direction:b}]},eqAToiMin:{label:`table.eqAToi.short`,tooltip:`table.eqAToi.tooltip`,sortOrders:[{target:`eqAToi`,direction:b}]},pp1AToiMin:{label:`table.pp1AToi.short`,tooltip:`table.pp1AToi.tooltip`,sortOrders:[{target:`pp1AToi`,direction:b}]},pp2AToiMin:{label:`table.pp2AToi.short`,tooltip:`table.pp2AToi.tooltip`,sortOrders:[{target:`pp2AToi`,direction:b}]},sh1AToiMin:{label:`table.sh1AToi.short`,tooltip:`table.sh1AToi.tooltip`,sortOrders:[{target:`sh1AToi`,direction:b}]},sh2AToiMin:{label:`table.sh2AToi.short`,tooltip:`table.sh2AToi.tooltip`,sortOrders:[{target:`sh2AToi`,direction:b}]}},oe={index:{label:`table.blank`,class:`text-start`},playerPortrait:{label:``,class:`has-avatar`},name:{label:`table.name.short`,tooltip:`table.name.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`name`,direction:x}]},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto`,sortOrders:[{target:`teamName`,direction:x}]},gkd:{label:`table.gpgk.short`,tooltip:`table.gpgk.tooltip`,sortOrders:[{target:`gkd`,direction:b}]},gpi:{label:`table.gpi.short`,tooltip:`table.gpi.tooltip`,sortOrders:[{target:`gpi`,direction:b}]},so:{label:`table.so.short`,tooltip:`table.so.tooltip`,sortOrders:[{target:`so`,direction:b}]},mipMin:{label:`table.toi.short`,tooltip:`table.toi.tooltip`,sortOrders:[{target:`mip`,direction:b}]},mipPercent:{label:`table.toiPercent.short`,tooltip:`table.toiPercent.tooltip`,sortOrders:[{target:`mipPercent`,direction:b}]},ga:{label:`table.ga.short`,tooltip:`table.ga.tooltip`,sortOrders:[{target:`ga`,direction:b}]},gaa:{label:`table.gaa.short`,tooltip:`table.gaa.tooltip`,sortOrders:[{target:`gaa`,direction:b}]},sog:{label:`table.sa.short`,tooltip:`table.sa.tooltip`,sortOrders:[{target:`sog`,direction:b}]},svs:{label:`table.svs.short`,tooltip:`table.svs.tooltip`,sortOrders:[{target:`svs`,direction:b}]},svsPercent:{label:`table.svsPercent.short`,tooltip:`table.svsPercent.tooltip`,sortOrders:[{target:`svsPercent`,direction:b}]}},se={index:{label:`#`,class:`text-start`},playerPortrait:{label:``,class:`has-avatar`},name:{label:`table.name.short`,tooltip:`table.name.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`name`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},goals:{label:`table.goals.short`,tooltip:`table.goals.tooltip`,sortOrders:[{target:`goals`,direction:b},{target:`assists`,direction:b}]},assist:{label:`table.assists.short`,tooltip:`table.assists.tooltip`,sortOrders:[{target:`assist`,direction:b},{target:`goals`,direction:b}]},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,sortOrders:[{target:`points`,direction:b}]}},ce={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},home:{label:`table.homeHeader.short`},homeGame:{label:`table.homeGame.short`,tooltip:`table.homeGame.tooltip`,sortOrders:[{target:`homeGame`,direction:b}]},homeAttendance:{label:`table.homeAttendance.short`,tooltip:`table.homeAttendance.tooltip`,sortOrders:[{target:`homeAttendance`,direction:b}]},homeAttendanceAvg:{label:`table.homeAttendanceAvg.short`,tooltip:`table.homeAttendanceAvg.tooltip`,sortOrders:[{target:`homeAttendanceAvg`,direction:b}]},away:{label:`table.awayHeader.short`},awayGame:{label:`table.awayGame.short`,tooltip:`table.awayGame.tooltip`,sortOrders:[{target:`awayGame`,direction:b}]},awayAttendance:{label:`table.awayAttendance.short`,tooltip:`table.awayAttendance.tooltip`,sortOrders:[{target:`awayAttendance`,direction:b}]},awayAttendanceAvg:{label:`table.awayAttendanceAvg.short`,tooltip:`table.awayAttendanceAvg.tooltip`,sortOrders:[{target:`awayAttendanceAvg`,direction:b}]},total:{label:`table.totalHeader.short`},totalGame:{label:`table.totalGame.short`,tooltip:`table.totalGame.tooltip`,sortOrders:[{target:`totalGame`,direction:b}]},totalAttendance:{label:`table.totalAttendance.short`,tooltip:`table.totalAttendance.tooltip`,sortOrders:[{target:`totalAttendance`,direction:b}]},totalAttendanceAvg:{label:`table.totalAttendanceAvg.short`,tooltip:`table.totalAttendanceAvg.tooltip`,sortOrders:[{target:`totalAttendanceAvg`,direction:b}]}},le={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},p2:{label:`table.minorPenalties.short`,tooltip:`table.minorPenalties.tooltip`,sortOrders:[{target:`p2`,direction:b},{target:`pim`,direction:b}]},p5:{label:`table.majorPenalties.short`,tooltip:`table.majorPenalties.tooltip`,sortOrders:[{target:`p5`,direction:b},{target:`pim`,direction:b}]},p10:{label:`table.misconducts.short`,tooltip:`table.misconducts.tooltip`,sortOrders:[{target:`p10`,direction:b},{target:`pim`,direction:b}]},p20:{label:`table.gameMisconducts.short`,tooltip:`table.gameMisconducts.tooltip`,sortOrders:[{target:`p20`,direction:b},{target:`pim`,direction:b}]},p25:{label:`table.matchPenalties.short`,tooltip:`table.matchPenalties.tooltip`,sortOrders:[{target:`p25`,direction:b},{target:`pim`,direction:b}]},pimPerGame:{label:`table.pimPerGame.short`,tooltip:`table.pimPerGame.tooltip`,sortOrders:[{target:`pimPerGame`,direction:b}]},pim:{label:`table.pim.short`,tooltip:`table.pim.tooltip`,sortOrders:[{target:`pim`,direction:b}]}},ue={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},dvg:{label:`table.powerplayDisadvantages.short`,tooltip:`table.powerplayDisadvantages.tooltip`,sortOrders:[{target:`dvg`,direction:b}]},dvgTimeMin:{label:`table.dvgTime.short`,tooltip:`table.dvgTime.tooltip`,sortOrders:[{target:`dvgTime`,direction:b}]},dvgTimePP1Min:{label:`table.dvgTimePP1.short`,tooltip:`table.dvgTimePP1.tooltip`,sortOrders:[{target:`dvgTimePP1`,direction:b}]},dvgTimePP2Min:{label:`table.dvgTimePP2.short`,tooltip:`table.dvgTimePP2.tooltip`,sortOrders:[{target:`dvgTimePP2`,direction:b}]},ppga:{label:`table.ppga.short`,tooltip:`table.ppga.tooltip`,sortOrders:[{target:`ppga`,direction:b}]},shgf:{label:`table.shgf.short`,tooltip:`table.shgf.tooltip`,sortOrders:[{target:`shgf`,direction:b}]},pkPercent:{label:`table.pkPercent.short`,tooltip:`table.pkPercent.tooltip`,sortOrders:[{target:`pkPercent`,direction:b}]}},de={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},adv:{label:`table.adv.short`,tooltip:`table.adv.tooltip`,sortOrders:[{target:`adv`,direction:b}]},advTimeMin:{label:`table.advTime.short`,tooltip:`table.advTime.tooltip`,sortOrders:[{target:`advTime`,direction:b}]},advTimePP1Min:{label:`table.advTimePP1.short`,tooltip:`table.advTimePP1.tooltip`,sortOrders:[{target:`advTimePP1`,direction:b}]},advTimePP2Min:{label:`table.advTimePP2.short`,tooltip:`table.advTimePP2.tooltip`,sortOrders:[{target:`advTimePP2`,direction:b}]},ppgf:{label:`table.ppgf.short`,tooltip:`table.ppgf.tooltip`,sortOrders:[{target:`ppgf`,direction:b}]},shga:{label:`table.shga.short`,tooltip:`table.shga.tooltip`,sortOrders:[{target:`shga`,direction:b}]},ppPercent:{label:`table.ppPercent.short`,tooltip:`table.ppPercent.tooltip`,sortOrders:[{target:`ppPercent`,direction:b}]}},fe={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},gf:{label:`table.goalFor.short`,tooltip:`table.goalFor.tooltip`,sortOrders:[{target:`gf`,direction:b}]},ga:{label:`table.goalAgainst.short`,tooltip:`table.goalAgainst.tooltip`,sortOrders:[{target:`ga`,direction:x}]},gd:{label:`table.goalDiff.short`,tooltip:`table.goalDiff.tooltip`,sortOrders:[{target:`gd`,direction:b}]},gfPerGp:{label:`table.gfgp.short`,tooltip:`table.gfgp.tooltip`,sortOrders:[{target:`gfPerGp`,direction:b}]},gaPerGp:{label:`table.gagp.short`,tooltip:`table.gagp.tooltip`,sortOrders:[{target:`gaPerGp`,direction:x}]},s:{label:`table.sog.short`,tooltip:`table.sog.tooltip`,sortOrders:[{target:`s`,direction:b}]},sa:{label:`table.sa.short`,tooltip:`table.sa.tooltip`,sortOrders:[{target:`sa`,direction:x}]},shotsPerGp:{label:`table.sogp.short`,tooltip:`table.sogp.tooltip`,sortOrders:[{target:`shotsPerGp`,direction:b}]},saPerGp:{label:`table.sagp.short`,tooltip:`table.sagp.tooltip`,sortOrders:[{target:`shotsPerGp`,direction:x}]},sp:{label:`table.sogPercent.short`,tooltip:`table.sogPercent.tooltip`,sortOrders:[{target:`sp`,direction:b}]}};function pe(e){return(0,t.getCurrentScope)()?((0,t.onScopeDispose)(e),!0):!1}function me(e){return typeof e==`function`?e():(0,t.unref)(e)}var he=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var ge=e=>e!=null,_e=()=>{};function ve(e){let t=me(e);return t?.$el??t}var ye=he?window:void 0;function be(){let e=(0,t.ref)(!1);return(0,t.getCurrentInstance)()&&(0,t.onMounted)(()=>{e.value=!0}),e}function xe(e){let n=be();return(0,t.computed)(()=>(n.value,!!e()))}function Se(e,n,r={}){let{root:i,rootMargin:a=`0px`,threshold:o=.1,window:s=ye,immediate:c=!0}=r,l=xe(()=>s&&`IntersectionObserver`in s),u=(0,t.computed)(()=>{let t=me(e);return(Array.isArray(t)?t:[t]).map(ve).filter(ge)}),d=_e,f=(0,t.ref)(c),p=l.value?(0,t.watch)(()=>[u.value,ve(i),f.value],([e,t])=>{if(d(),!f.value||!e.length)return;let r=new IntersectionObserver(n,{root:ve(t),rootMargin:a,threshold:o});e.forEach(e=>e&&r.observe(e)),d=()=>{r.disconnect(),d=_e}},{immediate:c,flush:`post`}):_e,m=()=>{d(),p(),f.value=!1};return pe(m),{isSupported:l,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:m}}var Ce=(0,t.defineComponent)({name:`FetchMoreObserver`,props:[`as`,`options`],emits:[`intersect`],setup(e,{slots:n,emit:r}){let i=(0,t.ref)(null),{stop:a}=Se(i,([{isIntersecting:e}])=>{e&&r(`intersect`)},e.options);return(0,t.onUnmounted)(a),()=>{if(n.default)return(0,t.h)(e.as||`div`,{ref:i},n.default())}}});function O(e){return typeof e==`object`&&!!e&&e[`@@functional/placeholder`]===!0}function k(e){return function t(n){return arguments.length===0||O(n)?t:e.apply(this,arguments)}}function A(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return O(n)?t:k(function(t){return e(n,t)});default:return O(n)&&O(r)?t:O(n)?k(function(t){return e(t,r)}):O(r)?k(function(t){return e(n,t)}):e(n,r)}}}var we=A(function(e,t){return Number(e)+Number(t)});function Te(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,a){return t.apply(this,arguments)};case 6:return function(e,n,r,i,a,o){return t.apply(this,arguments)};case 7:return function(e,n,r,i,a,o,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,a,o,s,c){return t.apply(this,arguments)};case 9:return function(e,n,r,i,a,o,s,c,l){return t.apply(this,arguments)};case 10:return function(e,n,r,i,a,o,s,c,l,u){return t.apply(this,arguments)};default:throw Error(`First argument to _arity must be a non-negative integer no greater than ten`)}}function Ee(e,t,n){return function(){for(var r=[],i=0,a=e,o=0,s=!1;o<t.length||i<arguments.length;){var c;o<t.length&&(!O(t[o])||i>=arguments.length)?c=t[o]:(c=arguments[i],i+=1),r[o]=c,O(c)?s=!0:--a,o+=1}return!s&&a<=0?n.apply(this,r):Te(Math.max(0,a),Ee(e,r,n))}}var De=A(function(e,t){return e===1?k(t):Te(e,Ee(e,[],t))});function j(e){return function t(n,r,i){switch(arguments.length){case 0:return t;case 1:return O(n)?t:A(function(t,r){return e(n,t,r)});case 2:return O(n)&&O(r)?t:O(n)?A(function(t,n){return e(t,r,n)}):O(r)?A(function(t,r){return e(n,t,r)}):k(function(t){return e(n,r,t)});default:return O(n)&&O(r)&&O(i)?t:O(n)&&O(r)?A(function(t,n){return e(t,n,i)}):O(n)&&O(i)?A(function(t,n){return e(t,r,n)}):O(r)&&O(i)?A(function(t,r){return e(n,t,r)}):O(n)?k(function(t){return e(t,r,i)}):O(r)?k(function(t){return e(n,t,i)}):O(i)?k(function(t){return e(n,r,t)}):e(n,r,i)}}}var Oe=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)===`[object Array]`};function ke(e){return e!=null&&typeof e[`@@transducer/step`]==`function`}function Ae(e,t,n){return function(){if(arguments.length===0)return n();var r=arguments[arguments.length-1];if(!Oe(r)){for(var i=0;i<e.length;){if(typeof r[e[i]]==`function`)return r[e[i]].apply(r,Array.prototype.slice.call(arguments,0,-1));i+=1}if(ke(r))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}function je(e){return e&&e[`@@transducer/reduced`]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var Me={init:function(){return this.xf[`@@transducer/init`]()},result:function(e){return this.xf[`@@transducer/result`](e)}};function Ne(e){for(var t=[],n;!(n=e.next()).done;)t.push(n.value);return t}function Pe(e,t,n){for(var r=0,i=n.length;r<i;){if(e(t,n[r]))return!0;r+=1}return!1}function Fe(e){var t=String(e).match(/^function (\w*)/);return t==null?``:t[1]}function M(e,t){return Object.prototype.hasOwnProperty.call(t,e)}function Ie(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var Le=typeof Object.is==`function`?Object.is:Ie,Re=Object.prototype.toString,ze=function(){return Re.call(arguments)===`[object Arguments]`?function(e){return Re.call(e)===`[object Arguments]`}:function(e){return M(`callee`,e)}}(),Be=!{toString:null}.propertyIsEnumerable(`toString`),Ve=[`constructor`,`valueOf`,`isPrototypeOf`,`toString`,`propertyIsEnumerable`,`hasOwnProperty`,`toLocaleString`],He=function(){"use strict";return arguments.propertyIsEnumerable(`length`)}(),Ue=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},N=typeof Object.keys==`function`&&!He?k(function(e){return Object(e)===e?Object.keys(e):[]}):k(function(e){if(Object(e)!==e)return[];var t,n,r=[],i=He&&ze(e);for(t in e)M(t,e)&&(!i||t!==`length`)&&(r[r.length]=t);if(Be)for(n=Ve.length-1;n>=0;)t=Ve[n],M(t,e)&&!Ue(r,t)&&(r[r.length]=t),--n;return r}),We=k(function(e){return e===null?`Null`:e===void 0?`Undefined`:Object.prototype.toString.call(e).slice(8,-1)});function Ge(e,t,n,r){var i=Ne(e),a=Ne(t);function o(e,t){return Ke(e,t,n.slice(),r.slice())}return!Pe(function(e,t){return!Pe(o,t,e)},a,i)}function Ke(e,t,n,r){if(Le(e,t))return!0;var i=We(e);if(i!==We(t))return!1;if(typeof e[`fantasy-land/equals`]==`function`||typeof t[`fantasy-land/equals`]==`function`)return typeof e[`fantasy-land/equals`]==`function`&&e[`fantasy-land/equals`](t)&&typeof t[`fantasy-land/equals`]==`function`&&t[`fantasy-land/equals`](e);if(typeof e.equals==`function`||typeof t.equals==`function`)return typeof e.equals==`function`&&e.equals(t)&&typeof t.equals==`function`&&t.equals(e);switch(i){case`Arguments`:case`Array`:case`Object`:if(typeof e.constructor==`function`&&Fe(e.constructor)===`Promise`)return e===t;break;case`Boolean`:case`Number`:case`String`:if(!(typeof e==typeof t&&Le(e.valueOf(),t.valueOf())))return!1;break;case`Date`:if(!Le(e.valueOf(),t.valueOf()))return!1;break;case`Error`:return e.name===t.name&&e.message===t.message;case`RegExp`:if(!(e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.sticky===t.sticky&&e.unicode===t.unicode))return!1;break}for(var a=n.length-1;a>=0;){if(n[a]===e)return r[a]===t;--a}switch(i){case`Map`:return e.size===t.size?Ge(e.entries(),t.entries(),n.concat([e]),r.concat([t])):!1;case`Set`:return e.size===t.size?Ge(e.values(),t.values(),n.concat([e]),r.concat([t])):!1;case`Arguments`:case`Array`:case`Object`:case`Boolean`:case`Number`:case`String`:case`Date`:case`Error`:case`RegExp`:case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`ArrayBuffer`:break;default:return!1}var o=N(e);if(o.length!==N(t).length)return!1;var s=n.concat([e]),c=r.concat([t]);for(a=o.length-1;a>=0;){var l=o[a];if(!(M(l,t)&&Ke(t[l],e[l],s,c)))return!1;--a}return!0}var qe=A(function(e,t){return Ke(e,t,[],[])});function Je(e,t,n){var r,i;if(typeof e.indexOf==`function`)switch(typeof t){case`number`:if(t===0){for(r=1/t;n<e.length;){if(i=e[n],i===0&&1/i===r)return n;n+=1}return-1}else if(t!==t){for(;n<e.length;){if(i=e[n],typeof i==`number`&&i!==i)return n;n+=1}return-1}return e.indexOf(t,n);case`string`:case`boolean`:case`function`:case`undefined`:return e.indexOf(t,n);case`object`:if(t===null)return e.indexOf(t,n)}for(;n<e.length;){if(qe(e[n],t))return n;n+=1}return-1}function Ye(e,t){return Je(t,e,0)>=0}function Xe(e,t){for(var n=0,r=t.length,i=Array(r);n<r;)i[n]=e(t[n]),n+=1;return i}function Ze(e){return`"`+e.replace(/\\/g,`\\\\`).replace(/[\b]/g,`\\b`).replace(/\f/g,`\\f`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`).replace(/\v/g,`\\v`).replace(/\0/g,`\\0`).replace(/"/g,`\\"`)+`"`}var Qe=function(e){return(e<10?`0`:``)+e},$e=typeof Date.prototype.toISOString==`function`?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+`-`+Qe(e.getUTCMonth()+1)+`-`+Qe(e.getUTCDate())+`T`+Qe(e.getUTCHours())+`:`+Qe(e.getUTCMinutes())+`:`+Qe(e.getUTCSeconds())+`.`+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+`Z`};function et(e){return function(){return!e.apply(this,arguments)}}function tt(e,t,n){for(var r=0,i=n.length;r<i;)t=e(t,n[r]),r+=1;return t}function nt(e,t){for(var n=0,r=t.length,i=[];n<r;)e(t[n])&&(i[i.length]=t[n]),n+=1;return i}function rt(e,t){for(var n=new Map,r=t.entries(),i=r.next();!i.done;)e(i.value[1])&&n.set(i.value[0],i.value[1]),i=r.next();return n}function it(e){return Object.prototype.toString.call(e)===`[object Map]`}function at(e){return Object.prototype.toString.call(e)===`[object Object]`}var ot=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype[`@@transducer/init`]=Me.init,e.prototype[`@@transducer/result`]=Me.result,e.prototype[`@@transducer/step`]=function(e,t){return this.f(t)?this.xf[`@@transducer/step`](e,t):e},e}();function st(e){return function(t){return new ot(e,t)}}var ct=A(Ae([`fantasy-land/filter`,`filter`],st,function(e,t){return at(t)?tt(function(n,r){return e(t[r])&&(n[r]=t[r]),n},{},N(t)):it(t)?rt(e,t):nt(e,t)})),P=A(function(e,t){return ct(et(e),t)});function lt(e,t){var n=function(n){var r=t.concat([e]);return Ye(n,r)?`<Circular>`:lt(n,r)},r=function(e,t){return Xe(function(t){return Ze(t)+`: `+n(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(e)){case`[object Arguments]`:return`(function() { return arguments; }(`+Xe(n,e).join(`, `)+`))`;case`[object Array]`:return`[`+Xe(n,e).concat(r(e,P(function(e){return/^\d+$/.test(e)},N(e)))).join(`, `)+`]`;case`[object Boolean]`:return typeof e==`object`?`new Boolean(`+n(e.valueOf())+`)`:e.toString();case`[object Date]`:return`new Date(`+(isNaN(e.valueOf())?n(NaN):Ze($e(e)))+`)`;case`[object Map]`:return`new Map(`+n(Array.from(e))+`)`;case`[object Null]`:return`null`;case`[object Number]`:return typeof e==`object`?`new Number(`+n(e.valueOf())+`)`:1/e==-1/0?`-0`:e.toString(10);case`[object Set]`:return`new Set(`+n(Array.from(e).sort())+`)`;case`[object String]`:return typeof e==`object`?`new String(`+n(e.valueOf())+`)`:Ze(e);case`[object Undefined]`:return`undefined`;default:if(typeof e.toString==`function`){var i=e.toString();if(i!==`[object Object]`)return i}return`{`+r(e,N(e)).join(`, `)+`}`}}var ut=k(function(e){return lt(e,[])}),dt=A(function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var r=n(e,t);if(r!==void 0)return r;var i=n(typeof e,typeof t);if(i!==void 0)return i===typeof e?e:t;var a=ut(e),o=n(a,ut(t));return o===void 0?t:o===a?e:t}),ft=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype[`@@transducer/init`]=Me.init,e.prototype[`@@transducer/result`]=Me.result,e.prototype[`@@transducer/step`]=function(e,t){return this.xf[`@@transducer/step`](e,this.f(t))},e}(),F=A(Ae([`fantasy-land/map`,`map`],function(e){return function(t){return new ft(e,t)}},function(e,t){switch(Object.prototype.toString.call(t)){case`[object Function]`:return De(t.length,function(){return e.call(this,t.apply(this,arguments))});case`[object Object]`:return tt(function(n,r){return n[r]=e(t[r]),n},{},N(t));default:return Xe(e,t)}})),pt=Number.isInteger||function(e){return e<<0===e};function mt(e,t){return t[e<0?t.length+e:e]}function ht(e,t){if(t!=null)return pt(e)?mt(e,t):t[e]}var I=A(ht),gt=A(function(e,t){return F(I(e),t)});function _t(e){return Object.prototype.toString.call(e)===`[object String]`}var vt=k(function(e){return Oe(e)?!0:!e||typeof e!=`object`||_t(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),yt=typeof Symbol<`u`?Symbol.iterator:`@@iterator`;function bt(e,t,n){return function(r,i,a){if(vt(a))return e(r,i,a);if(a==null)return i;if(typeof a[`fantasy-land/reduce`]==`function`)return t(r,i,a,`fantasy-land/reduce`);if(a[yt]!=null)return n(r,i,a[yt]());if(typeof a.next==`function`)return n(r,i,a);if(typeof a.reduce==`function`)return t(r,i,a,`reduce`);throw TypeError(`reduce: list must be array or iterable`)}}function xt(e,t,n){for(var r=0,i=n.length;r<i;){if(t=e[`@@transducer/step`](t,n[r]),t&&t[`@@transducer/reduced`]){t=t[`@@transducer/value`];break}r+=1}return e[`@@transducer/result`](t)}var St=A(function(e,t){return Te(e.length,function(){return e.apply(t,arguments)})});function Ct(e,t,n){for(var r=n.next();!r.done;){if(t=e[`@@transducer/step`](t,r.value),t&&t[`@@transducer/reduced`]){t=t[`@@transducer/value`];break}r=n.next()}return e[`@@transducer/result`](t)}function wt(e,t,n,r){return e[`@@transducer/result`](n[r](St(e[`@@transducer/step`],e),t))}var Tt=bt(xt,wt,Ct),Et=function(){function e(e){this.f=e}return e.prototype[`@@transducer/init`]=function(){throw Error(`init not implemented on XWrap`)},e.prototype[`@@transducer/result`]=function(e){return e},e.prototype[`@@transducer/step`]=function(e,t){return this.f(e,t)},e}();function Dt(e){return new Et(e)}var Ot=j(function(e,t,n){return Tt(typeof e==`function`?Dt(e):e,t,n)}),kt=k(function(e){return De(Ot(dt,0,gt(`length`,e)),function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0})}),At=k(function(e){return function(){return e}}),jt=k(function(e){return De(Ot(dt,0,gt(`length`,e)),function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1})}),Mt=k(function(e){for(var t=N(e),n=t.length,r=[],i=0;i<n;)r[i]=e[t[i]],i+=1;return r}),Nt=j(function(e,t,n){var r=e(t),i=e(n);return r<i?-1:r>i?1:0}),Pt=k(function(e){return De(e.length,e)});function Ft(e,t,n){if(pt(e)&&Oe(n)){var r=e<0?n.length+e:e,i=[].concat(n);return i[r]=t,i}var a={};for(var o in n)a[o]=n[o];return a[e]=t,a}var It=k(function(e){return e==null}),Lt=j(function e(t,n,r){if(t.length===0)return n;var i=t[0];if(t.length>1){var a=ht(i,r);(It(a)||typeof a!=`object`)&&(a=pt(t[1])?[]:{}),n=e(Array.prototype.slice.call(t,1),n,a)}return Ft(i,n,r)}),Rt=j(function(e,t,n){return Lt([e],t,n)});function zt(e){var t=Object.prototype.toString.call(e);return t===`[object Function]`||t===`[object AsyncFunction]`||t===`[object GeneratorFunction]`||t===`[object AsyncGeneratorFunction]`}function Bt(e){return new RegExp(e.source,e.flags?e.flags:(e.global?`g`:``)+(e.ignoreCase?`i`:``)+(e.multiline?`m`:``)+(e.sticky?`y`:``)+(e.unicode?`u`:``)+(e.dotAll?`s`:``))}function Vt(e,t,n){if(n||=new Ut,Ht(e))return e;var r=function(r){var i=n.get(e);if(i)return i;for(var a in n.set(e,r),e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=t?Vt(e[a],!0,n):e[a]);return r};switch(We(e)){case`Object`:return r(Object.create(Object.getPrototypeOf(e)));case`Array`:return r(Array(e.length));case`Date`:return new Date(e.valueOf());case`RegExp`:return Bt(e);case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:return e.slice();default:return e}}function Ht(e){var t=typeof e;return e==null||t!=`object`&&t!=`function`}var Ut=function(){function e(){this.map={},this.length=0}return e.prototype.set=function(e,t){var n=this.hash(e),r=this.map[n];r||(this.map[n]=r=[]),r.push([e,t]),this.length+=1},e.prototype.hash=function(e){var t=[];for(var n in e)t.push(Object.prototype.toString.call(e[n]));return t.join()},e.prototype.get=function(e){if(this.length<=180){for(var t in this.map)for(var n=this.map[t],r=0;r<n.length;r+=1){var i=n[r];if(i[0]===e)return i[1]}return}var a=this.hash(e),n=this.map[a];if(n)for(var r=0;r<n.length;r+=1){var i=n[r];if(i[0]===e)return i[1]}},e}(),Wt=k(function(e){return e!=null&&typeof e.clone==`function`?e.clone():Vt(e,!0)});function Gt(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Kt(e,t){return function(){var n=arguments.length;if(n===0)return t();var r=arguments[n-1];return Oe(r)||typeof r[e]!=`function`?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}var qt=k(Kt(`tail`,j(Kt(`slice`,function(e,t,n){return Array.prototype.slice.call(n,e,t)}))(1,1/0)));function Jt(){if(arguments.length===0)throw Error(`pipe requires at least one argument`);return Te(arguments[0].length,Ot(Gt,arguments[0],qt(arguments)))}var Yt=k(function(e){return _t(e)?e.split(``).reverse().join(``):Array.prototype.slice.call(e,0).reverse()});function L(){if(arguments.length===0)throw Error(`compose requires at least one argument`);return Jt.apply(this,Yt(arguments))}var Xt=k(function(e){return mt(0,e)}),Zt=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype[`@@transducer/init`]=Me.init,e.prototype[`@@transducer/result`]=function(e){for(var t in this.inputs)if(M(t,this.inputs)&&(e=this.xf[`@@transducer/step`](e,this.inputs[t]),e[`@@transducer/reduced`])){e=e[`@@transducer/value`];break}return this.inputs=null,this.xf[`@@transducer/result`](e)},e.prototype[`@@transducer/step`]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,Vt(this.valueAcc,!1)],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}();function Qt(e,t,n){return function(r){return new Zt(e,t,n,r)}}var $t=Ee(4,[],Ae([],Qt,function(e,t,n,r){return Tt(Dt(function(r,i){var a=n(i),o=e(M(a,r)?r[a]:Vt(t,!1),i);return o&&o[`@@transducer/reduced`]?je(r):(r[a]=o,r)}),{},r)})),en=j(function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r<i?1:0}),tn=k(function(e){return mt(-1,e)});function nn(e){var t=Object.prototype.toString.call(e);return t===`[object Uint8ClampedArray]`||t===`[object Int8Array]`||t===`[object Uint8Array]`||t===`[object Int16Array]`||t===`[object Uint16Array]`||t===`[object Int32Array]`||t===`[object Uint32Array]`||t===`[object Float32Array]`||t===`[object Float64Array]`||t===`[object BigInt64Array]`||t===`[object BigUint64Array]`}var rn=k(function(e){return e!=null&&typeof e[`fantasy-land/empty`]==`function`?e[`fantasy-land/empty`]():e!=null&&e.constructor!=null&&typeof e.constructor[`fantasy-land/empty`]==`function`?e.constructor[`fantasy-land/empty`]():e!=null&&typeof e.empty==`function`?e.empty():e!=null&&e.constructor!=null&&typeof e.constructor.empty==`function`?e.constructor.empty():e==Set||e instanceof Set?new Set:e==Map||e instanceof Map?new Map:Oe(e)?[]:_t(e)?``:at(e)?{}:ze(e)?function(){return arguments}():nn(e)?e.constructor.from(``):void 0}),an=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype[`@@transducer/init`]=Me.init,e.prototype[`@@transducer/result`]=function(e){return this.found||(e=this.xf[`@@transducer/step`](e,void 0)),this.xf[`@@transducer/result`](e)},e.prototype[`@@transducer/step`]=function(e,t){return this.f(t)&&(this.found=!0,e=je(this.xf[`@@transducer/step`](e,t))),e},e}();function on(e){return function(t){return new an(e,t)}}var sn=A(Ae([`find`],on,function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return t[n];n+=1}})),cn=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.found=!1}return e.prototype[`@@transducer/init`]=Me.init,e.prototype[`@@transducer/result`]=function(e){return this.found||(e=this.xf[`@@transducer/step`](e,-1)),this.xf[`@@transducer/result`](e)},e.prototype[`@@transducer/step`]=function(e,t){return this.idx+=1,this.f(t)&&(this.found=!0,e=je(this.xf[`@@transducer/step`](e,this.idx))),e},e}();function ln(e){return function(t){return new cn(e,t)}}var un=A(Ae([],ln,function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return n;n+=1}return-1})),dn=A(Kt(`groupBy`,$t(function(e,t){return e.push(t),e},[]))),fn=j(function(e,t,n){return De(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})}),pn=A(Ye),mn=$t(function(e,t){return t},null),hn=j(function(e,t,n){return nt(function(t){return Pe(e,t,n)},t)});function gn(e){if(e==null)throw TypeError(`Cannot convert undefined or null to object`);for(var t=Object(e),n=1,r=arguments.length;n<r;){var i=arguments[n];if(i!=null)for(var a in i)M(a,i)&&(t[a]=i[a]);n+=1}return t}var _n=typeof Object.assign==`function`?Object.assign:gn,vn=A(function(e,t){return De(e+1,function(){var n=arguments[e];if(n!=null&&zt(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw TypeError(ut(n)+` does not have a method named "`+t+`"`)})}),yn=k(function(e){return e!=null&&qe(e,rn(e))}),bn=k(function(e){return!yn(e)}),xn=vn(1,`join`),Sn=A(function(e,t){return function(n){return function(r){return F(function(e){return t(e,r)},n(e(r)))}}});function Cn(e,t){for(var n=t,r=0;r<e.length;r+=1){if(n==null)return;var i=e[r];n=pt(i)?mt(i,n):n[i]}return n}var wn=k(function(e){return Sn(I(e),Rt(e))}),Tn=Ot(we,0),En=j(function(e,t,n){var r={},i;for(i in t||={},n||={},t)M(i,t)&&(r[i]=M(i,n)?e(i,t[i],n[i]):t[i]);for(i in n)M(i,n)&&!M(i,r)&&(r[i]=n[i]);return r}),Dn=j(function e(t,n,r){return En(function(n,r,i){return at(r)&&at(i)?e(t,r,i):t(n,r,i)},n,r)}),On=A(function(e,t){return Dn(function(e,t,n){return n},e,t)}),kn=A(function(e,t){return _n({},t,e)}),An=j(function(e,t,n){return En(function(t,n,r){return e(n,r)},t,n)}),jn=A(function(e,t){for(var n={},r={},i=0,a=e.length;i<a;)r[e[i]]=1,i+=1;for(var o in t)r.hasOwnProperty(o)||(n[o]=t[o]);return n}),Mn=function(e){return{value:e,map:function(t){return Mn(t(e))}}},Nn=j(function(e,t,n){return e(function(e){return Mn(t(e))})(n).value}),R=A(Cn),Pn=j(function(e,t,n){return qe(Cn(t,n),e)}),Fn=A(function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n}),In=j(function(e,t,n){return qe(e,I(t,n))}),Ln=j(function(e,t,n){return e(I(t,n))}),Rn=j(function(e,t,n){return n.replace(e,t)}),zn=A(function(e,t){return Array.prototype.slice.call(t,0).sort(e)}),z=A(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){var r=e(t),i=e(n);return r<i?-1:r>i?1:0})}),Bn=A(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,i=0;r===0&&i<e.length;)r=e[i](t,n),i+=1;return r})}),B=vn(1,`split`);function Vn(e){return Object.prototype.toString.call(e)===`[object RegExp]`}var Hn=A(function(e,t){if(!Vn(e))throw TypeError(`‘test’ requires a value of type RegExp as its first argument; received `+ut(e));return Bt(e).test(t)}),Un=vn(0,`toLowerCase`),Wn=vn(0,`toUpperCase`),Gn=`
|
|
9
|
-
\v\f\r \xA0 \u2028\u2029`,Kn=typeof String.prototype.trim!=`function`||Gn.trim()?k(function(e){var t=RegExp(`^[`+Gn+`][`+Gn+`]*`),n=RegExp(`[`+Gn+`][`+Gn+`]*$`);return e.replace(t,``).replace(n,``)}):k(function(e){return e.trim()});function qn(e,n,r,i){let a=(0,t.ref)(``),o=(0,t.ref)(!1),s=e=>{let t=ct(I(n),e),i=t.length>0;if(o.value=i,!i)return a.value=``;let s=t.map(e=>({team:e.team.longName,points:Math.abs(I(n,e))})).map(e=>r(`additionalText.${n}.content`,e)).join(`, `);a.value=[r(`additionalText.${n}.prependix`),s,...r(`additionalText.${n}.appendix`)&&[r(`additionalText.${n}.appendix`)]].join(` `)};return(0,t.watch)(e,s,{immediate:!0}),(0,t.watch)(()=>(0,t.unref)(i),()=>s((0,t.unref)(e))),{text:a,isVisible:o}}var Jn=Symbol(`I18nContext`),Yn=/\{(\w+)\}/g,Xn=/\{|\}/,V=(0,t.reactive)({messages:{},locale:``,fallbackLocale:``});function Zn({messages:e={},locale:n=``,fallbackLocale:r=``}){V.messages=On(V.messages,e),V.locale=n,V.fallbackLocale=r;let i=(e,n={})=>{let r=!yn(n),i=F(Kn,B(`.`,e));return(0,t.computed)(()=>{let e=$n(i);return r?tr(e,n):e}).value};return(0,t.provide)(Jn,{locale:(0,t.computed)({get(){return V.locale},set(e){V.locale=e}}),setLocale:e=>{V.locale=e},translate:i,hasTranslation:e=>{let t=F(Kn,B(`.`,e));return!!er(V.locale,t,V.messages)}}),{translate:i}}function H(e){e&&(V.messages=e.messages,V.locale=e.locale,V.fallbackLocale=e.fallbackLocale);let t=Qn();return{locale:t.locale,t:t.translate,setLocale:t.setLocale,hasTranslation:t.hasTranslation}}function Qn(){let e=(0,t.inject)(Jn,null);if(e===null)throw Error(`Provider is missing a parent component.`);return e}function $n(e=[]){let t=er(V.locale,e,V.messages);return!t&&V.fallbackLocale&&(t=er(V.fallbackLocale,e,V.messages)),t||e.join(`.`)}function er(e,t,n){return R([e,...t],n)}function tr(e,t){return e.replace(Yn,(e,n)=>t[n])}var nr=(0,t.defineComponent)({props:{tag:{type:String,default:`div`},path:{type:String,defult:``}},setup(e,{slots:n}){let r=B(Xn,$n(F(Kn,B(`.`,e.path)))),i=Object.keys(n).map(e=>{let t=r.indexOf(e);return t>-1&&(r[t]=n[e]()[0]),r});return()=>(0,t.h)(e.tag,i)}});function rr(e,n=``,r={}){let i=(0,t.ref)(``),{t:a}=H(),o=(0,t.computed)(()=>{if((0,t.unref)(n))try{return jn(ir((0,t.unref)(e),(0,t.unref)(n)),(0,t.unref)(e))}catch(e){i.value=e}return(0,t.unref)(e)}),s=e=>({...e,...e.label&&{label:a(e.label??``,(0,t.unref)(r))},...e.tooltip&&{tooltip:a(e.tooltip??``)}});return{columns:(0,t.computed)(()=>F(s,o.value)),error:i}}function ir(e,t=``){let n=F(Kn,B(`,`,t)),r=N(e);if(n[0]===``)return[];let i=n.findIndex(e=>!r.includes(e));if(i>-1)throw n[i];return n}var ar=[`text-start`,`text-center`,`text-end`,`w-auto`],or=/[A-Z]{2,}(?=[A-Z][a-z]|\b)|[A-Z]?[a-z]+\d*|[A-Z]|\d+/g,sr=/\{([^}]+)\}/g;function cr(e){return e&&e.match(or).map(e=>e.toLowerCase()).join(`-`)}function U(e=``,t={}){return e.replace(sr,(e,n)=>R(B(`.`,n),t))}function lr(e){return(e||``).split(` `).filter(e=>ar.includes(e)).join(` `)}var ur=Symbol(`ErrorProviderContext`);function dr(){let e=(0,t.ref)(``),n=(0,t.ref)({}),r=t=>{console.error({error:t}),e.value=t.message||t.error.message,n.value={message:t.message,key:t.key||cr(t.message),cause:t.cause}},i=()=>{e.value=``,n.value={}};return(0,t.provide)(ur,{onError:r,reset:i}),window.onerror=e=>{console.error(`WINDOW_ONERROR:`,e)},(0,t.onErrorCaptured)((e,t,n)=>{console.error(`onErrorCaptured:`,e,t,n)}),{hasError:(0,t.computed)(()=>e.value.length>0),message:e,error:n,reset:i,onError:r}}function fr(){let e=pr();return{onError:e.onError,reset:e.reset}}function pr(){let e=(0,t.inject)(ur,null);if(e===null)throw Error(`Provider is missing a parent component.`);return e}async function mr(e,n,r){let i=`${d}/vbr${(0,t.unref)(e)}${yn(r)?``:`?${hr(r)}`}`;return new Promise((e,t)=>{fetch(i,{method:`GET`,cache:`no-cache`,headers:{"Content-Type":`application/json`,"X-API-KEY":gr(n)}}).then(e=>e.json()).then(n=>{if(n.error)return t(n);if(n.data.message)return t(n.data);e(n.data)}).catch(e=>{t(e)})})}function hr(e){return Object.keys(e).map(t=>`${t}=${e[t]}`).join(`&`)}function gr(e){return e||(window.__MJSZ_VBR_WIDGET__?.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:``)}function _r(e,n){return(0,t.getCurrentScope)()?((0,t.onScopeDispose)(e,n),!0):!1}var W=typeof window<`u`&&typeof document<`u`,vr=typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope,yr=Object.prototype.toString,br=e=>yr.call(e)===`[object Object]`,G=()=>{},xr=Sr();function Sr(){var e,t;return W&&!!(!((e=window)==null||(e=e.navigator)==null)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Cr(...e){if(e.length!==1)return(0,t.toRef)(...e);let n=e[0];return typeof n==`function`?(0,t.readonly)((0,t.customRef)(()=>({get:n,set:G}))):(0,t.ref)(n)}function wr(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var Tr=e=>e();function Er(e=Tr,n={}){let{initialState:r=`active`}=n,i=Cr(r===`active`);function a(){i.value=!1}function o(){i.value=!0}return{isActive:(0,t.readonly)(i),pause:a,resume:o,eventFilter:(...t)=>{i.value&&e(...t)}}}function Dr(e,t=!1,n=`Timeout`){return new Promise((r,i)=>{t?setTimeout(()=>i(n),e):setTimeout(r,e)})}function Or(e){return Array.isArray(e)?e:[e]}function kr(e,n,r={}){let{eventFilter:i=Tr,...a}=r;return(0,t.watch)(e,wr(i,n),a)}function Ar(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=Er(r,{initialState:i});return{stop:kr(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function jr(e,n=!1){function r(r,{flush:i=`sync`,deep:a=!1,timeout:o,throwOnTimeout:s}={}){let c=null,l=[new Promise(o=>{c=(0,t.watch)(e,e=>{r(e)!==n&&(c?c():(0,t.nextTick)(()=>c?.()),o(e))},{flush:i,deep:a,immediate:!0})})];return o!=null&&l.push(Dr(o,s).then(()=>(0,t.toValue)(e)).finally(()=>c?.())),Promise.race(l)}function i(i,a){if(!(0,t.isRef)(i))return r(e=>e===i,a);let{flush:o=`sync`,deep:s=!1,timeout:c,throwOnTimeout:l}=a??{},u=null,d=[new Promise(r=>{u=(0,t.watch)([e,i],([e,i])=>{n!==(e===i)&&(u?u():(0,t.nextTick)(()=>u?.()),r(e))},{flush:o,deep:s,immediate:!0})})];return c!=null&&d.push(Dr(c,l).then(()=>(0,t.toValue)(e)).finally(()=>(u?.(),(0,t.toValue)(e)))),Promise.race(d)}function a(e){return r(e=>!!e,e)}function o(e){return i(null,e)}function s(e){return i(void 0,e)}function c(e){return r(Number.isNaN,e)}function l(e,n){return r(n=>{let r=Array.from(n);return r.includes(e)||r.includes((0,t.toValue)(e))},n)}function u(e){return d(1,e)}function d(e=1,t){let n=-1;return r(()=>(n+=1,n>=e),t)}return Array.isArray((0,t.toValue)(e))?{toMatch:r,toContains:l,changed:u,changedTimes:d,get not(){return jr(e,!n)}}:{toMatch:r,toBe:i,toBeTruthy:a,toBeNull:o,toBeNaN:c,toBeUndefined:s,changed:u,changedTimes:d,get not(){return jr(e,!n)}}}function Mr(e){return jr(e)}function Nr(e,n=1e3,r={}){let{immediate:i=!0,immediateCallback:a=!1}=r,o=null,s=(0,t.shallowRef)(!1);function c(){o&&=(clearInterval(o),null)}function l(){s.value=!1,c()}function u(){let r=(0,t.toValue)(n);r<=0||(s.value=!0,a&&e(),c(),s.value&&(o=setInterval(e,r)))}return i&&W&&u(),((0,t.isRef)(n)||typeof n==`function`)&&_r((0,t.watch)(n,()=>{s.value&&W&&u()})),_r(l),{isActive:(0,t.shallowReadonly)(s),pause:l,resume:u}}function Pr(e,n,r={}){let{immediate:i=!0,immediateCallback:a=!1}=r,o=(0,t.shallowRef)(!1),s;function c(){s&&=(clearTimeout(s),void 0)}function l(){o.value=!1,c()}function u(...r){a&&e(),c(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=void 0,e(...r)},(0,t.toValue)(n))}return i&&(o.value=!0,W&&u()),_r(l),{isPending:(0,t.shallowReadonly)(o),start:u,stop:l}}function Fr(e,n,r){return(0,t.watch)(e,n,{...r,immediate:!0})}function Ir(e,n,r){return(0,t.watch)(e,n,{...r,once:!0})}function Lr(e,n,r){let i=(0,t.watch)(e,(e,a,o)=>{e&&(r?.once&&(0,t.nextTick)(()=>i()),n(e,a,o))},{...r,once:!1});return i}var Rr=W?window:void 0,zr=W?window.document:void 0;W&&window.navigator,W&&window.location;function Br(e){let n=(0,t.toValue)(e);return n?.$el??n}function Vr(...e){let n=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=(0,t.computed)(()=>{let n=Or((0,t.toValue)(e[0])).filter(e=>e!=null);return n.every(e=>typeof e!=`string`)?n:void 0});return Fr(()=>[r.value?.map(e=>Br(e))??[Rr].filter(e=>e!=null),Or((0,t.toValue)(r.value?e[1]:e[0])),Or((0,t.unref)(r.value?e[2]:e[1])),(0,t.toValue)(r.value?e[3]:e[2])],([e,t,r,i],a,o)=>{if(!e?.length||!t?.length||!r?.length)return;let s=br(i)?{...i}:i,c=e.flatMap(e=>t.flatMap(t=>r.map(r=>n(e,t,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var Hr=!1;function Ur(e,n,r={}){let{window:i=Rr,ignore:a=[],capture:o=!0,detectIframe:s=!1,controls:c=!1}=r;if(!i)return c?{stop:G,cancel:G,trigger:G}:G;if(xr&&!Hr){Hr=!0;let e={passive:!0};Array.from(i.document.body.children).forEach(t=>t.addEventListener(`click`,G,e)),i.document.documentElement.addEventListener(`click`,G,e)}let l=!0,u=e=>(0,t.toValue)(a).some(t=>{if(typeof t==`string`)return Array.from(i.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=Br(t);return n&&(e.target===n||e.composedPath().includes(n))}});function d(e){let n=(0,t.toValue)(e);return n&&n.$.subTree.shapeFlag===16}function f(e,n){let r=(0,t.toValue)(e),i=r.$.subTree&&r.$.subTree.children;return i==null||!Array.isArray(i)?!1:i.some(e=>e.el===n.target||n.composedPath().includes(e.el))}let p=t=>{let r=Br(e);if(t.target!=null&&!(!(r instanceof Element)&&d(e)&&f(e,t))&&!(!r||r===t.target||t.composedPath().includes(r))){if(`detail`in t&&t.detail===0&&(l=!u(t)),!l){l=!0;return}n(t)}},m=!1,h=[Vr(i,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:o}),Vr(i,`pointerdown`,t=>{let n=Br(e);l=!u(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),s&&Vr(i,`blur`,t=>{setTimeout(()=>{let r=Br(e);i.document.activeElement?.tagName===`IFRAME`&&!r?.contains(i.document.activeElement)&&n(t)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return c?{stop:g,cancel:()=>{l=!1},trigger:e=>{l=!0,p(e),l=!1}}:g}function Wr(e,n,r){let{immediate:i=!0,delay:a=0,onError:o=globalThis.reportError??G,onSuccess:s=G,resetOnExecute:c=!0,shallow:l=!0,throwError:u}=r??{},d=l?(0,t.shallowRef)(n):(0,t.ref)(n),f=(0,t.shallowRef)(!1),p=(0,t.shallowRef)(!1),m=(0,t.shallowRef)(void 0),h=0;async function g(r=0,...i){let a=h+=1;c&&(d.value=(0,t.toValue)(n)),m.value=void 0,f.value=!1,p.value=!0,r>0&&await Dr(r);let l=typeof e==`function`?e(...i):e;try{let e=await l;return a===h&&(d.value=e,f.value=!0),s(e),e}catch(e){if(a===h&&(m.value=e),o(e),u)throw e}finally{a===h&&(p.value=!1)}}i&&g(a);let _={state:d,isReady:f,isLoading:p,error:m,execute:g,executeImmediate:(...e)=>g(0,...e)};function v(){return new Promise((e,t)=>{Mr(p).toBe(!1).then(()=>e(_)).catch(t)})}return{..._,then(e,t){return v().then(e,t)}}}function Gr(e={}){let{document:n=zr}=e;if(!n)return(0,t.shallowRef)(`visible`);let r=(0,t.shallowRef)(n.visibilityState);return Vr(n,`visibilitychange`,()=>{r.value=n.visibilityState},{passive:!0}),r}async function Kr(e){return new Promise((t,n)=>{let r=new Image,{src:i,srcset:a,sizes:o,class:s,loading:c,crossorigin:l,referrerPolicy:u,width:d,height:f,decoding:p,fetchPriority:m,ismap:h,usemap:g}=e;r.src=i,a!=null&&(r.srcset=a),o!=null&&(r.sizes=o),s!=null&&(r.className=s),c!=null&&(r.loading=c),l!=null&&(r.crossOrigin=l),u!=null&&(r.referrerPolicy=u),d!=null&&(r.width=d),f!=null&&(r.height=f),p!=null&&(r.decoding=p),m!=null&&(r.fetchPriority=m),h!=null&&(r.isMap=h),g!=null&&(r.useMap=g),r.onload=()=>t(r),r.onerror=n})}function qr(e,n={}){let r=Wr(()=>Kr((0,t.toValue)(e)),void 0,{resetOnExecute:!0,...n});return(0,t.watch)(()=>(0,t.toValue)(e),()=>r.execute(n.delay),{deep:!0}),r}var Jr=`ping`;function Yr(e){return e===!0?{}:e}function Xr(e){if(`interval`in e){let{interval:t=1e3}=e;return e=>Nr(e,t,{immediate:!1})}return e=>Nr(e,1e3,{immediate:!1})}function Zr(e,n={}){let{onConnected:r,onDisconnected:i,onError:a,onMessage:o,immediate:s=!0,autoConnect:c=!0,autoClose:l=!0,protocols:u=[]}=n,d=(0,t.ref)(null),f=(0,t.shallowRef)(`CLOSED`),p=(0,t.ref)(),m=Cr(e),h,g,_=!1,v=0,y=[],b,x,S=()=>{if(y.length&&p.value&&f.value===`OPEN`){for(let e of y)p.value.send(e);y=[]}},C=()=>{b!=null&&(clearTimeout(b),b=void 0)},w=()=>{clearTimeout(x),x=void 0},T=(e=1e3,t)=>{C(),!(!W&&!vr||!p.value)&&(_=!0,w(),h?.(),p.value.close(e,t),p.value=void 0)},E=(e,t=!0)=>!p.value||f.value!==`OPEN`?(t&&y.push(e),!1):(S(),p.value.send(e),!0),ee=()=>{if(_||m.value===void 0)return;let e=new WebSocket(m.value,u);p.value=e,f.value=`CONNECTING`,e.onopen=()=>{f.value=`OPEN`,v=0,r?.(e),g?.(),S()},e.onclose=t=>{if(f.value=`CLOSED`,w(),h?.(),i?.(e,t),!_&&n.autoReconnect&&(p.value==null||e===p.value)){let{retries:e=-1,delay:t=1e3,onFailed:r}=Yr(n.autoReconnect);if((typeof e==`function`?e:()=>typeof e==`number`&&(e<0||v<e))(v)){v+=1;let e=typeof t==`function`?t(v):t;b=setTimeout(ee,e)}else r?.()}},e.onerror=t=>{a?.(e,t)},e.onmessage=r=>{if(n.heartbeat){w();let{message:e=Jr,responseMessage:i=e}=Yr(n.heartbeat);if(r.data===(0,t.toValue)(i))return}d.value=r.data,o?.(e,r)}};if(n.heartbeat){let{message:e=Jr,scheduler:r=Xr(Yr(n.heartbeat)),pongTimeout:i=1e3}=Yr(n.heartbeat),{pause:a,resume:o}=r(()=>{E((0,t.toValue)(e),!1),x??=setTimeout(()=>{T(),_=!1},i)});h=a,g=o}l&&(W&&Vr(`beforeunload`,()=>T(),{passive:!0}),_r(T));let D=()=>{!W&&!vr||(T(),_=!1,v=0,ee())};return s&&D(),c&&(0,t.watch)(m,D),{data:d,status:f,close:T,send:E,open:D,ws:p}}function Qr(e,n){let{open:r,close:i}=Zr((0,t.unref)(e),{autoReconnect:{retries:3},immediate:!1,onMessage:(e,t)=>{let r=t.data,i=JSON.parse(r);i.event!==`welcome`&&(n.value=i.message)}});return(0,t.watch)(()=>(0,t.unref)(n).gameStatus,e=>{if(e===1)return r();i()},{immediate:!0}),{gameData:n}}function $r(e=[],n={}){let{delay:r=0}=n,i=(0,t.ref)(!1),a=(0,t.computed)(()=>{let n=(0,t.unref)(e);return Array.isArray(n)?n.map(e=>(0,t.unref)(e)).some(Boolean):n}),{start:o,stop:s}=Pr(()=>{i.value=!0},r);return(0,t.watch)(a,e=>{if(e)return o();s(),i.value=!1},{immediate:!0,deep:!0}),i}var ei=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),ee=E.prototype;return w.prototype=ee,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){ee[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||=(e(t,E,w),!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))})),ti=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){"use strict";return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`YYYY-MM-DDTHH:mm:ssZ`).replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),ni=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isBetween=r()})(e,(function(){"use strict";return function(e,t,n){t.prototype.isBetween=function(e,t,r,i){var a=n(e),o=n(t),s=(i||=`()`)[0]===`(`,c=i[1]===`)`;return(s?this.isAfter(a,r):!this.isBefore(a,r))&&(c?this.isBefore(o,r):!this.isAfter(o,r))||(s?this.isBefore(a,r):!this.isAfter(a,r))&&(c?this.isAfter(o,r):!this.isBefore(o,r))}}}))})),ri=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isSameOrBefore=r()})(e,(function(){"use strict";return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}}))})),ii=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isToday=r()})(e,(function(){"use strict";return function(e,t,n){t.prototype.isToday=function(){var e=`YYYY-MM-DD`,t=n();return this.format(e)===t.format(e)}}}))})),ai=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_localizedFormat=r()})(e,(function(){"use strict";var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`};return function(t,n,r){var i=n.prototype,a=i.format;r.en.formats=e,i.format=function(t){t===void 0&&(t=`YYYY-MM-DDTHH:mm:ssZ`);var n=this.$locale().formats,r=function(t,n){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,i){var a=i&&i.toUpperCase();return r||n[i]||e[i]||n[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))}(t,n===void 0?{}:n);return a.call(this,r)}}}))})),oi=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_minMax=r()})(e,(function(){"use strict";return function(e,t,n){var r=function(e,t){if(!t||!t.length||t.length===1&&!t[0]||t.length===1&&Array.isArray(t[0])&&!t[0].length)return null;var n;t.length===1&&t[0].length>0&&(t=t[0]),n=(t=t.filter((function(e){return e})))[0];for(var r=1;r<t.length;r+=1)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n};n.max=function(){return r(`isAfter`,[].slice.call(arguments,0))},n.min=function(){return r(`isBefore`,[].slice.call(arguments,0))}}}))})),si=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_relativeTime=r()})(e,(function(){"use strict";return function(e,t,n){e||={};var r=t.prototype,i={future:`in %s`,past:`%s ago`,s:`a few seconds`,m:`a minute`,mm:`%d minutes`,h:`an hour`,hh:`%d hours`,d:`a day`,dd:`%d days`,M:`a month`,MM:`%d months`,y:`a year`,yy:`%d years`};function a(e,t,n,i){return r.fromToBase(e,t,n,i)}n.en.relativeTime=i,r.fromToBase=function(t,r,a,o,s){for(var c,l,u,d=a.$locale().relativeTime||i,f=e.thresholds||[{l:`s`,r:44,d:`second`},{l:`m`,r:89},{l:`mm`,r:44,d:`minute`},{l:`h`,r:89},{l:`hh`,r:21,d:`hour`},{l:`d`,r:35},{l:`dd`,r:25,d:`day`},{l:`M`,r:45},{l:`MM`,r:10,d:`month`},{l:`y`,r:17},{l:`yy`,d:`year`}],p=f.length,m=0;m<p;m+=1){var h=f[m];h.d&&(c=o?n(t).diff(a,h.d,!0):a.diff(t,h.d,!0));var g=(e.rounding||Math.round)(Math.abs(c));if(u=c>0,g<=h.r||!h.r){g<=1&&m>0&&(h=f[m-1]);var _=d[h.l];s&&(g=s(``+g)),l=typeof _==`string`?_.replace(`%d`,g):_(g,r,h.l,u);break}}if(r)return l;var v=u?d.future:d.past;return typeof v==`function`?v(l):v.replace(`%s`,l)},r.to=function(e,t){return a(e,t,this,!0)},r.from=function(e,t){return a(e,t,this)};var o=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(o(this),e)},r.fromNow=function(e){return this.from(o(this),e)}}}))})),ci=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_timezone=r()})(e,(function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,i){var a,o=function(e,n,r){r===void 0&&(r={});var i=new Date(e);return function(e,n){n===void 0&&(n={});var r=n.timeZoneName||`short`,i=e+`|`+r,a=t[i];return a||(a=new Intl.DateTimeFormat(`en-US`,{hour12:!1,timeZone:e,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,timeZoneName:r}),t[i]=a),a}(n,r).formatToParts(i)},s=function(t,n){for(var r=o(t,n),a=[],s=0;s<r.length;s+=1){var c=r[s],l=c.type,u=c.value,d=e[l];d>=0&&(a[d]=parseInt(u,10))}var f=a[3],p=f===24?0:f,m=a[0]+`-`+a[1]+`-`+a[2]+` `+p+`:`+a[4]+`:`+a[5]+`:000`,h=+t;return(i.utc(m).valueOf()-(h-=h%1e3))/6e4},c=r.prototype;c.tz=function(e,t){e===void 0&&(e=a);var n,r=this.utcOffset(),o=this.toDate(),s=o.toLocaleString(`en-US`,{timeZone:e}),c=Math.round((o-new Date(s))/1e3/60),l=15*-Math.round(o.getTimezoneOffset()/15)-c;if(!Number(l))n=this.utcOffset(0,t);else if(n=i(s,{locale:this.$L}).$set(`millisecond`,this.$ms).utcOffset(l,!0),t){var u=n.utcOffset();n=n.add(r-u,`minute`)}return n.$x.$timezone=e,n},c.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=o(this.valueOf(),t,{timeZoneName:e}).find((function(e){return e.type.toLowerCase()===`timezonename`}));return n&&n.value};var l=c.startOf;c.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return l.call(this,e,t);var n=i(this.format(`YYYY-MM-DD HH:mm:ss:SSS`),{locale:this.$L});return l.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,o=n||t||a,c=s(+i(),o);if(typeof e!=`string`)return i(e).tz(o);var l=function(e,t,n){var r=e-60*t*1e3,i=s(r,n);if(t===i)return[r,t];var a=s(r-=60*(i-t)*1e3,n);return i===a?[r,i]:[e-60*Math.min(i,a)*1e3,Math.max(i,a)]}(i.utc(e,r).valueOf(),c,o),u=l[0],d=l[1],f=i(u).utcOffset(d);return f.$x.$timezone=o,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){a=e}}}))})),li=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_utc=r()})(e,(function(){"use strict";var e=`minute`,t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,a){var o=i.prototype;a.utc=function(e){return new i({date:e,utc:!0,args:arguments})},o.utc=function(t){var n=a(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},o.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var s=o.parse;o.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var c=o.init;o.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var l=o.utcOffset;o.utcOffset=function(r,i){var a=this.$utils().u;if(a(r))return this.$u?0:a(this.$offset)?l.call(this):this.$offset;if(typeof r==`string`&&(r=function(e){e===void 0&&(e=``);var r=e.match(t);if(!r)return null;var i=(``+r[0]).match(n)||[`-`,0,0],a=i[0],o=60*i[1]+ +i[2];return o===0?0:a===`+`?o:-o}(r),r===null))return this;var o=Math.abs(r)<=16?60*r:r;if(o===0)return this.utc(i);var s=this.clone();if(i)return s.$offset=o,s.$u=!1,s;var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(s=this.local().add(o+c,e)).$offset=o,s.$x.$localOffset=c,s};var u=o.format;o.format=function(e){var t=e||(this.$u?`YYYY-MM-DDTHH:mm:ss[Z]`:``);return u.call(this,t)},o.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var d=o.toDate;o.toDate=function(e){return e===`s`&&this.$offset?a(this.format(`YYYY-MM-DD HH:mm:ss:SSS`)).toDate():d.call(this)};var f=o.diff;o.diff=function(e,t,n){if(e&&this.$u===e.$u)return f.call(this,e,t,n);var r=this.local(),i=a(e).local();return f.call(r,i,t,n)}}}))})),ui=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekday=r()})(e,(function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n<t?n+7:n)-t;return this.$utils().u(e)?r:this.subtract(r,`day`).add(e,`day`)}}}))})),di=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(ei()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_hu=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`hu`,weekdays:`vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat`.split(`_`),weekdaysShort:`vas_hét_kedd_sze_csüt_pén_szo`.split(`_`),weekdaysMin:`v_h_k_sze_cs_p_szo`.split(`_`),months:`január_február_március_április_május_június_július_augusztus_szeptember_október_november_december`.split(`_`),monthsShort:`jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec`.split(`_`),ordinal:function(e){return e+`.`},weekStart:1,relativeTime:{future:`%s múlva`,past:`%s`,s:function(e,t,n,r){return`néhány másodperc`+(r||t?``:`e`)},m:function(e,t,n,r){return`egy perc`+(r||t?``:`e`)},mm:function(e,t,n,r){return e+` perc`+(r||t?``:`e`)},h:function(e,t,n,r){return`egy `+(r||t?`óra`:`órája`)},hh:function(e,t,n,r){return e+` `+(r||t?`óra`:`órája`)},d:function(e,t,n,r){return`egy `+(r||t?`nap`:`napja`)},dd:function(e,t,n,r){return e+` `+(r||t?`nap`:`napja`)},M:function(e,t,n,r){return`egy `+(r||t?`hónap`:`hónapja`)},MM:function(e,t,n,r){return e+` `+(r||t?`hónap`:`hónapja`)},y:function(e,t,n,r){return`egy `+(r||t?`év`:`éve`)},yy:function(e,t,n,r){return e+` `+(r||t?`év`:`éve`)}},formats:{LT:`H:mm`,LTS:`H:mm:ss`,L:`YYYY.MM.DD.`,LL:`YYYY. MMMM D.`,LLL:`YYYY. MMMM D. H:mm`,LLLL:`YYYY. MMMM D., dddd H:mm`}};return n.default.locale(r,null,!0),r}))})),K=u(ei(),1),fi=u(ti(),1),pi=u(ni(),1),mi=u(ri(),1),hi=u(ii(),1),gi=u(ai(),1),_i=u(oi(),1),vi=u(si(),1),yi=u(ci(),1),bi=u(li(),1),xi=u(ui(),1);di(),K.default.extend(bi.default),K.default.extend(yi.default),K.default.extend(fi.default),K.default.extend(vi.default),K.default.extend(gi.default),K.default.extend(mi.default),K.default.extend(pi.default),K.default.extend(hi.default),K.default.extend(xi.default),K.default.extend(_i.default);var Si=()=>K.default.tz.guess();function Ci(e=``,t=``,n=``,r=`hu`){return n||=K.default.tz.guess(),(0,K.default)(e).isValid()?(0,K.default)(e).tz(n).locale(r).format(t):``}function wi(e=``,t=``,n=`hu`){if(!(0,K.default)(e).isValid())return``;t||=K.default.tz.guess();let r=new Intl.DateTimeFormat(Ti(n),{timeZone:t,timeZoneName:`short`}).formatToParts(new Date(e)).find(e=>e.type===`timeZoneName`);return r&&r.value}function Ti(e){return S.get(e)}function Ei(e){let t=e.split(`:`);return Number.parseInt(t[0],10)*60+Number.parseInt(t[1],10)}function Di(e){let t=~~(e/60),n=~~e%60;return[t.toString().padStart(2,`0`),n.toString().padStart(2,`0`)].join(`:`)}function Oi(e){let t=Math.trunc(e),n=Math.round((e-t)/10*60*10);return[t.toString().padStart(2,`0`),n.toString().padStart(2,`0`)].join(`:`)}function ki(e,t=`day`){return(0,K.default)().isSameOrBefore((0,K.default)(e),t)}function Ai(e,t,n,r=`[]`){return(0,K.default)(e).isBetween(t,(0,K.default)(n),`day`,r)}function ji(e,t,n=`month`){return(0,K.default)(e).isSame(t,n)}function Mi(e,t=`hu`){return(0,K.default)(e).locale(t).toNow(!0)}function Ni(e,t,n=`day`){return(0,K.default)(e).isBefore(t,n)}function Pi(e,t,n=`day`){return(0,K.default)(e).isAfter(t,n)}function Fi(e){return(0,K.default)(e).isToday()}function Ii(e){return Ai(e,(0,K.default)().weekday(1),(0,K.default)().weekday(7))}function Li(e){return{startDate:(0,K.default)(e).weekday(1),endDate:(0,K.default)(e).weekday(7)}}function Ri(e,t){return(0,K.default)(e).subtract(t,`day`)}function zi(e,t){return(0,K.default)(e).add(t,`day`)}function Bi(e){return(0,K.default)(e).startOf(`month`)}function Vi(e){return(0,K.default)(e).endOf(`month`)}function Hi(e){return Array.isArray(e)&&(e=e.map(e=>(0,K.default)(e))),K.default.min(e)}function Ui(e){return Array.isArray(e)&&(e=e.map(e=>(0,K.default)(e))),K.default.max(...e)}function Wi(e={}){let{initial:n=1,items:r=[],limit:i,auto:a=!1}=e,o=(0,t.ref)((0,t.unref)(n)),s=e=>ki(e,`day`);return Ir(r,()=>{if(!a)return;let e=un(Ln(s,`gameDate`))((0,t.unref)(r));o.value=e===-1?1:Math.floor(e/i)+1}),{page:o,change:e=>{o.value=e}}}function Gi({currentPage:e,itemsPerPage:n=20,totalItems:r,rangeLength:i=5,update:a=G}){let o=(0,t.computed)(()=>Math.ceil((0,t.unref)(r)/n)),s=(0,t.computed)(()=>{let n=(0,t.unref)(e)-1,r=Array.from({length:o.value},(e,t)=>t+1),a=Math.floor(i/2),s=Math.max(n-a,0);return s+i>=o.value&&(s=Math.max(o.value-i,0)),r.slice(s,s+i)}),c=n=>{let r=(0,t.unref)(e)+n;u(r)&&a(r)},l=e=>{u(e)&&a(e)};function u(e){return e<=o.value&&e>0}return{page:e,range:s,pageCount:o,goTo:l,pageStep:c}}function Ki(e={}){let{items:n=[],element:r,offset:i=0,enabled:a=!0}=e,o=e=>ki(e,`day`),s=()=>{if(!(0,t.unref)(a))return;let e=sn(Ln(o,`gameDate`))((0,t.unref)(n));if(!e)return;let s=Ci(e.gameDate,`YYYY-MM-DD`),c=Br(r).querySelector(`div[data-gamedate="${s}"]`);if(!c)return;let l=getComputedStyle(c).getPropertyValue(`--mvw-sticky-top-offset`)||0,u=(c.getBoundingClientRect()?.top??0)-(0,t.unref)(i)-Number.parseFloat(l);window.scrollTo(0,u)};Ar(()=>({items:(0,t.unref)(n),element:(0,t.unref)(r)}),async({items:e,element:n})=>{e.length===0||!n||(await(0,t.nextTick)(),s())})}function qi({options:e={},transform:n=e=>e,onError:r=G,onSuccess:i=G}){let{path:a,apiKey:o,params:s,resetOnExecute:c=!1,immediate:l=!1}=e,{state:u,error:d,isLoading:f,execute:p}=Wr(()=>mr(a,o,(0,t.unref)(s)).then(e=>n(e)),[],{immediate:l,resetOnExecute:c,onError:r,onSuccess:i});return{state:u,error:d,isLoading:f,execute:p}}function Ji(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}var Yi;(function(e){e[e.NotStarted=0]=`NotStarted`,e[e.Running=1]=`Running`,e[e.Stopped=2]=`Stopped`})(Yi||={});var Xi={type:`xstate.init`};function Zi(e){return e===void 0?[]:[].concat(e)}function Qi(e,t){return typeof(e=typeof e==`string`&&t&&t[e]?t[e]:e)==`string`?{type:e}:typeof e==`function`?{type:e.name,exec:e}:e}function $i(e){return function(t){return e===t}}function ea(e){return typeof e==`string`?{type:e}:e}function ta(e,t){return{value:e,context:t,actions:[],changed:!1,matches:$i(e)}}function na(e,t,n){var r=t,i=!1;return[e.filter((function(e){if(e.type===`xstate.assign`){i=!0;var t=Object.assign({},r);return typeof e.assignment==`function`?t=e.assignment(r,n):Object.keys(e.assignment).forEach((function(i){t[i]=typeof e.assignment[i]==`function`?e.assignment[i](r,n):e.assignment[i]})),r=t,!1}return!0})),r,i]}function ra(e,t){t===void 0&&(t={});var n=Ji(na(Zi(e.states[e.initial].entry).map((function(e){return Qi(e,t.actions)})),e.context,Xi),2),r=n[0],i=n[1],a={config:e,_options:t,initialState:{value:e.initial,actions:r,context:i,matches:$i(e.initial)},transition:function(t,n){var r,i,o=typeof t==`string`?{value:t,context:e.context}:t,s=o.value,c=o.context,l=ea(n),u=e.states[s];if(u.on){var d=Zi(u.on[l.type]);`*`in u.on&&d.push.apply(d,function(e,t,n){if(n||arguments.length===2)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||=Array.prototype.slice.call(t,0,i),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([],Ji(Zi(u.on[`*`])),!1));try{for(var f=function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}(d),p=f.next();!p.done;p=f.next()){var m=p.value;if(m===void 0)return ta(s,c);var h=typeof m==`string`?{target:m}:m,g=h.target,_=h.actions,v=_===void 0?[]:_,y=h.cond,b=y===void 0?function(){return!0}:y,x=g===void 0,S=g??s,C=e.states[S];if(b(c,l)){var w=Ji(na((x?Zi(v):[].concat(u.exit,v,C.entry).filter((function(e){return e}))).map((function(e){return Qi(e,a._options.actions)})),c,l),3),T=w[0],E=w[1],ee=w[2],D=g??s;return{value:D,context:E,actions:T,changed:g!==s||T.length>0||ee,matches:$i(D)}}}}catch(e){r={error:e}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}}return ta(s,c)}};return a}var ia=ra({id:`sort`,initial:y,states:{[y]:{on:{DIRECTION1:b,DIRECTION2:x}},[b]:{on:{DIRECTION1:x,DIRECTION2:y}},[x]:{on:{DIRECTION1:y,DIRECTION2:b}}}});function aa(e,t){let n=t===`ascend`?`DIRECTION2`:`DIRECTION1`;return ia.transition(e,n).value}function oa(e={}){let{sortTarget:n=null,orders:r=[]}=e,i=(0,t.reactive)({sortTarget:n,orders:r});return{sort:i,change:({target:e,orders:t})=>{if(i.sortTarget!==e){i.sortTarget=e,i.orders=t;return}let n=t.map((e,t)=>({...e,direction:aa(i.orders[t].direction,e.direction)}));i.sortTarget=e,i.orders=n}}}function sa(e=!1,n=G,r=G){(0,t.watch)(Gr(),i=>{if((0,t.unref)(e)){if(i===`visible`)return n();r()}})}var ca=[`textContent`],la={__name:`AdditionalStandingsText`,props:{rows:{type:Array,default:()=>[]},additionalKey:{type:String,required:!0}},setup(e){let n=e,r=(0,t.toRef)(n,`rows`),{t:i,locale:a}=H(),{isVisible:o,text:s}=qn(r,n.additionalKey,i,a);return(e,n)=>(0,t.unref)(o)?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,textContent:(0,t.toDisplayString)((0,t.unref)(s))},null,8,ca)):(0,t.createCommentVNode)(``,!0)}},ua={__name:`BaseSelect`,props:{modelValue:{type:[String,Number],default:null}},emits:[`update:modelValue`],setup(e,{emit:n}){let r=e,i=n,a=(0,t.computed)({get:()=>r.modelValue,set:e=>i(`update:modelValue`,e)});return(e,n)=>(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)(`select`,{"onUpdate:modelValue":n[0]||=e=>a.value=e,class:`base-input is-select`},[(0,t.renderSlot)(e.$slots,`default`)],512)),[[t.vModelSelect,a.value]])}},da=Object.defineProperty,q=(e,t)=>{let n={};for(var r in e)da(n,r,{get:e[r],enumerable:!0});return t||da(n,Symbol.toStringTag,{value:`Module`}),n};q({default:()=>ma,render:()=>pa});var fa={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function pa(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,fa,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M8.12 9.29 12 13.17l3.88-3.88a.996.996 0 1 1 1.41 1.41l-4.59 4.59a.996.996 0 0 1-1.41 0L6.7 10.7a.996.996 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0z`},null,-1)]])}var ma={render:pa};q({default:()=>_a,render:()=>ga});var ha={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function ga(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,ha,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M8.12 14.71L12 10.83l3.88 3.88a.996.996 0 1 0 1.41-1.41L12.7 8.71a.996.996 0 0 0-1.41 0L6.7 13.3a.996.996 0 0 0 0 1.41c.39.38 1.03.39 1.42 0`},null,-1)]])}var _a={render:ga},va=q({default:()=>xa,render:()=>ba}),ya={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function ba(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,ya,[...n[0]||=[(0,t.createElementVNode)(`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`,ry:`2`},null,-1),(0,t.createElementVNode)(`line`,{x1:`8`,y1:`21`,x2:`16`,y2:`21`},null,-1),(0,t.createElementVNode)(`line`,{x1:`12`,y1:`17`,x2:`12`,y2:`21`},null,-1)]])}var xa={render:ba};q({default:()=>wa,render:()=>Ca});var Sa={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Ca(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Sa,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`#000`,d:`m7.712 13.208 3.88 3.88 3.88-3.88a.997.997 0 1 1 1.41 1.41l-4.59 4.59a.997.997 0 0 1-1.41 0l-4.59-4.59a.997.997 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0ZM7.712 10.792l3.88-3.88 3.88 3.88a.997.997 0 1 0 1.41-1.41l-4.59-4.59a.996.996 0 0 0-1.41 0l-4.59 4.59a.996.996 0 0 0 0 1.41c.39.38 1.03.39 1.42 0Z`},null,-1)]])}var wa={render:Ca};q({default:()=>Da,render:()=>Ea});var Ta={viewBox:`0 0 32 32`};function Ea(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Ta,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M16 7C9.043 7 2 8.718 2 12v8c0 3.282 7.043 5 14 5s14-1.718 14-5v-8c0-3.282-7.043-5-14-5zm0 2c7.444 0 12 1.942 12 3c0 .926-3.489 2.528-9.348 2.914A40.34 40.34 0 0 1 16 15c-7.444 0-12-1.942-12-3s4.556-3 12-3zM4 14.707c.06.035.134.064.195.098a9.77 9.77 0 0 0 1.014.486c.346.144.706.282 1.094.408c.813.265 1.725.48 2.681.664c.289.055.587.1.885.147c.85.137 1.726.247 2.633.324c1.15.098 2.319.166 3.498.166c1.18 0 2.349-.068 3.498-.166a35.139 35.139 0 0 0 2.633-.324c.298-.047.596-.092.885-.147c.956-.184 1.868-.4 2.681-.664a14.457 14.457 0 0 0 1.395-.539a9.77 9.77 0 0 0 .713-.355c.061-.034.136-.063.195-.098V20c0 1.058-4.556 3-12 3S4 21.058 4 20v-5.293z`},null,-1)]])}var Da={render:Ea};q({default:()=>Aa,render:()=>ka});var Oa={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function ka(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Oa,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M18 19H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5a1 1 0 0 1-1 1M14 4a1 1 0 0 0 1 1h2.59l-9.13 9.13a1 1 0 1 0 1.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V3h-6a1 1 0 0 0-1 1`},null,-1)]])}var Aa={render:ka},ja=q({default:()=>Pa,render:()=>Na}),Ma={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function Na(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Ma,[...n[0]||=[(0,t.createElementVNode)(`polyline`,{points:`15 18 9 12 15 6`},null,-1)]])}var Pa={render:Na};q({default:()=>La,render:()=>Ia});var Fa={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function Ia(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Fa,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z`},null,-1)]])}var La={render:Ia},Ra=q({default:()=>Va,render:()=>Ba}),za={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function Ba(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,za,[...n[0]||=[(0,t.createElementVNode)(`circle`,{cx:`12`,cy:`12`,r:`1`},null,-1),(0,t.createElementVNode)(`circle`,{cx:`12`,cy:`5`,r:`1`},null,-1),(0,t.createElementVNode)(`circle`,{cx:`12`,cy:`19`,r:`1`},null,-1)]])}var Va={render:Ba},Ha=q({default:()=>Ga,render:()=>Wa}),Ua={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function Wa(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Ua,[...n[0]||=[(0,t.createElementVNode)(`polyline`,{points:`9 18 15 12 9 6`},null,-1)]])}var Ga={render:Wa},Ka=q({default:()=>Ya,render:()=>Ja}),qa={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function Ja(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,qa,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`},null,-1),(0,t.createElementVNode)(`rect`,{x:`8`,y:`2`,width:`8`,height:`4`,rx:`1`,ry:`1`},null,-1)]])}var Ya={render:Ja},Xa=q({default:()=>$a,render:()=>Qa}),Za={"aria-hidden":`true`,focusable:`false`,"data-prefix":`fas`,"data-icon":`sort`,class:`svg-inline--fa fa-sort fa-w-10`,role:`img`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 320 512`};function Qa(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Za,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z`},null,-1)]])}var $a={render:Qa},eo=q({default:()=>ro,render:()=>no}),to={"aria-hidden":`true`,focusable:`false`,"data-prefix":`fas`,"data-icon":`sort-down`,class:`svg-inline--fa fa-sort-down fa-w-10`,role:`img`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 320 512`};function no(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,to,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z`},null,-1)]])}var ro={render:no},io=q({default:()=>so,render:()=>oo}),ao={"aria-hidden":`true`,focusable:`false`,"data-prefix":`fas`,"data-icon":`sort-up`,class:`svg-inline--fa fa-sort-up fa-w-10`,role:`img`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 320 512`};function oo(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,ao,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z`},null,-1)]])}var so={render:oo};q({default:()=>uo,render:()=>lo});var co={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function lo(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,co,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`m12 15.4-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z`,opacity:`.3`},null,-1),(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z`},null,-1)]])}var uo={render:lo};q({default:()=>mo,render:()=>po});var fo={width:`32`,height:`32`,viewBox:`0 0 24 24`};function po(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,fo,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M12 20a7 7 0 0 1-7-7a7 7 0 0 1 7-7a7 7 0 0 1 7 7a7 7 0 0 1-7 7m7.03-12.61l1.42-1.42c-.45-.51-.9-.97-1.41-1.41L17.62 6c-1.55-1.26-3.5-2-5.62-2a9 9 0 0 0-9 9a9 9 0 0 0 9 9c5 0 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61M11 14h2V8h-2m4-7H9v2h6V1Z`},null,-1)]])}var mo={render:po},ho=q({default:()=>vo,render:()=>_o}),go={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function _o(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,go,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z`},null,-1),(0,t.createElementVNode)(`line`,{x1:`12`,y1:`9`,x2:`12`,y2:`13`},null,-1),(0,t.createElementVNode)(`line`,{x1:`12`,y1:`17`,x2:`12.01`,y2:`17`},null,-1)]])}var vo={render:_o};q({default:()=>xo,render:()=>bo});var yo={viewBox:`0 0 24 24`};function bo(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,yo,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M3.76 3.7L2.14 4.88L4.43 8a8.23 8.23 0 0 1 1.92-.72M11 9v2h7v.29l-5 1.42v2.79A4.5 4.5 0 1 1 8.5 11H9V9h-.5a6.5 6.5 0 1 0 6.5 6.5v-1.59L22 12V9m-5.76-5.3L13.85 7h2.47l1.54-2.12M9 2v5h2V2Z`},null,-1)]])}var xo={render:bo},So=q({default:()=>To,render:()=>wo}),Co={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function wo(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Co,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z`},null,-1),(0,t.createElementVNode)(`polygon`,{points:`9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02`},null,-1)]])}var To={render:wo},Eo=0;function Do(){return++Eo}function Oo(e=[]){return{result:[...e],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.isFiltered?this.filteredRowsLength:e.length,currentItems:this.currentItems}},filter(e,t=[],n=!1){if(e){let r=t.map(t=>n?Jt(R(t),qe(e)):Jt(I(t),Un,pn(Un(e)))),i=ct(Jt(Pt(e=>e.name?Nn(wn(`name`),Rn(`,`,``),e):e),jt([...r])),this.result);this.isFiltered=!0,this.filteredRowsLength=i.length,this.result=i}return this},sorted(e){if(!e.sortTarget||e.orders[0].direction===`original`)return this;let t=fn(qe(x),At(Nt),At(en));return this.result=Bn(e.orders.map(e=>L(t(e.direction),I)(e.target)))(this.result),this},addIndex(e=null){return this.result.reduce((t,n,r)=>{let i=t.at(-1)||[],a=e&&i[e]===n[e];return n.index=a?i.index:r+1,n.indexClass=a?`is-duplicated`:null,t.push(n),t},[]),this},addContinuousIndex(){return this.result=this.result.map((e,t)=>({...e,index:t+1})),this},pagination(e,t){if(!t)return this;e=Number(e),t=Number(t);let n=(e-1)*t,r=n+t;return this.result=this.result.slice(n,r),this},more(e,t){return this.result=this.result.slice(Number(e),Number(t)),this},playerName(){return this.result=this.result.map(e=>({...e,name:Qo(e)})),this},teamName(){return this.result=this.result.map(e=>({...e,teamName:e.team.longName})),this},schedule(e=``,t=`hu`){return this.result=this.result.map(n=>({...n,gameResult:`${n.homeTeamScore}-${n.awayTeamScore}`,gameDateDate:Ci(n.gameDate,`L dddd`,e,t),gameDateTime:Ci(n.gameDate,`HH:mm`,e,t)})),this},gameDateFilter(e){return e===null||(this.result=this.result.filter(t=>new Date(t.gameDate).getMonth()===e)),this},convertTimes(e=[]){return this.result=this.result.map(t=>(e.map(e=>t[e]?t[`${e}Sec`]=Ei(t[e]):t),t)),this},groupByDays(){return this.currentItems=this.result.length,this.result=dn(e=>Ci(e.gameDate,`YYYY-MM-DD`))(this.result),this},slice(e=3){return this.result=this.result.slice(0,e),this},reverse(e){return e&&(this.result=this.result.toReversed()),this}}}var ko=(e,...t)=>F(L(...t))(e);function Ao(e){return{...e,...e.lastName&&e.firstName&&{name:`${e.lastName} ${e.firstName}`},...e.player?.playerId&&{name:`${e.player.lastName} ${e.player.firstName}`},...e.player?.id&&{name:`${e.player.lastName} ${e.player.firstName}`},...e.player?.nationality&&{name:e.player?.nationality.includes(`hu`)?`${e.player.lastName} ${e.player.firstName}`:`${e.player.lastName}, ${e.player.firstName}`},...e.nationality&&{name:e.nationality.includes(`hu`)?`${e.lastName} ${e.firstName}`:`${e.lastName}, ${e.firstName}`}}}function jo(e){return{...e,...e?.team?.id&&{teamName:e.team.longName}}}function Mo(e=``,t=`hu`){return n=>({...n,gameDateDate:Ci(n.gameDate,`L dddd`,e,t),gameDateTime:Ci(n.gameDate,`HH:mm`,e,t)})}function No(e){return t=>({...t,gameResult:Yo(t,e)})}function Po(e){return{...e,opponent:Jo(e)}}function Fo(e){return{...e,resultType:Xo(e)}}var Io=/^\(|\)$/g,Lo=/$/,Ro=/\(.*?\)/;function zo(e){return{...e,rowClasses:e.optional?`is-optional`:``}}function Bo(e=[]){return t=>({...t,[e]:t[e]?.toUpperCase()})}function Vo(e=[]){return t=>(e.map(e=>t[e]?t[`${e}Sec`]=Ei(t[e]):t),t)}function Ho(e=[]){return t=>(e.map(e=>t[e]?t[`${e}Min`]=Oi(t[e]):t),t)}function Uo(e=[]){return t=>(e.map(e=>t[`${e}Min`]=Di(t[e])),t)}function Wo(e){return{...e,periodResults:e.result?.match(Ro)?.[0]??``}}function Go(e){let t=[e.championshipName,...e.championshipName===e.sectionName?[]:[e.sectionName],e.divisionName];return{...e,gameNames:t.join(` - `)}}var Ko=Bn([(e,t)=>new Date(e.gameDate).getTime()-new Date(t.gameDate).getTime(),Nt(I(`id`)),Nt(I(`gameId`))]),qo=zn((e=>(t,n)=>t[e].localeCompare(n[e],`hu`))(`name`));function Jo(e){return[e.isHomeGame?null:`@`,e.opponent?.shortName].join(` `)}function Yo(e){let t=e?.homeTeamScore,n=e?.awayTeamScore;return e.isHomeGame||(t=e?.awayTeamScore,n=e?.homeTeamScore),[t,n].join(`:`)}function Xo(e){let t=e.gameResult.split(`:`),n=t[0]>t[1],r=t[0]<t[1];return n&&e.isOvertime?`OTW`:n&&e.isShootout?`SOW`:n?`W`:r&&e.isOvertime?`OTL`:r&&e.isShootout?`SOL`:r?`L`:`D`}function Zo(e){return e.map(e=>({phaseId:e.phaseId,phaseName:Object.values({phaseName:e.phaseName,...e.phaseType?.phaseTypeName&&e.phaseType.phaseTypeName!==e.phaseName&&{phaseTypeName:e.phaseType.phaseTypeName},...e.phaseSubType?.phaseSubTypeName&&{phaseSubTypeName:e.phaseSubType.phaseSubTypeName}}).join(`-`)}))}function Qo(e){return e.player?e.player.nationality.includes(`hu`)?`${e.player.lastName} ${e.player.firstName}`:`${e.player.lastName}, ${e.player.firstName}`:`${e.lastName} ${e.firstName}`}var $o=L(zn(en(I(`seasonName`))),F(Fn([`championshipId`,`seasonName`]))),es=e=>zn(Nt(I(`teamName`)),e),ts=L(z(I(`sectionId`)),P(L(yn,I(`phases`)))),ns=L(I(`sectionId`),Xt),rs=L(I(`phaseName`),Xt),is=z(I(`phaseId`)),as=L(z(I(`name`)),F(L(Ao,jo))),os=L(I(`phaseName`),tn),ss=L(Wn,Rn(`_`,`-`)),cs=L(P(Hn(/-:-/)),B(`,`)),ls=L(F(B(`:`)),F(Kn),B(`,`),Rn(Io,``)),us=Bn([en(I(`startingFive`))]),ds=L(xn(`, `),F(e=>`${e.lastName} ${e.firstName}`),P(e=>!e)),fs=L(dn(I(`eventPeriod`)),Yt,P(In(`Period`,`type`))),ps=dn(I(`row`)),ms=(e,t)=>ct(kt([Pn(t,[`team`,`id`]),In(`Gól`,`type`)]),Yt(e)),hs=L(F(Ao),Fn([`headCoach`,`secondCoach`])),gs=L(Yt,F(e=>({...e,eventId:e.eventId?e.eventId:Do()}))),_s=e=>z(I(`eventTimeSec`),Object.values(e));function vs(e,t){return dn(I(`type`),F(e=>({...Ao(e),role:t(`role.${e.role}`)}),z(e=>{let t=[`first_referee`,`second_referee`,`first_line_judge`,`second_line_judge`].indexOf(e.role);return t>-1?t:4},Object.values(e))))}var ys=Bn([en(I(`points`)),Nt(I(`gamesPlayed`)),en(I(`w`)),en(I(`gd`)),en(I(`gf`))]),bs=(e,t)=>P(In(e,`championshipId`),t),xs=(e,t)=>ct(In(e,`championshipId`),t),Ss=L(P(e=>[`Rájátszás`,`Újrajátszandó`].includes(e.phaseName)),R([0,`phases`])),Cs=L(dn(Ds),z(e=>[`ld`,`rd`,`d`].includes(e.position?.toLowerCase())?1:[`lw`,`rw`,`c`].includes(e.position?.toLowerCase())?2:0),z(Os),F(L(Ao,jo,Bo([`position`]))));function ws({goalieStats:e,fieldPlayers:t,playersPenalty:n}){let r=F(R([`player`,`playerId`]))(e),i=P(e=>r.includes(e.player.playerId),n),a=hn((e,t)=>e.player.playerId===t,n,r),o=ks(t,i),s=ks(e,a);return{fieldPlayers:qo(o),goalies:qo(s)}}var Ts=Pt((e,t)=>Jt(ct(Pn(t,[`team`,`id`])),F(Ao))(e));function Es(e){let t=e.city?Nn(wn(`city`),Rn(Lo,`,`)):()=>({});return L(xn(` `),Mt,t,jn([`type`]))(e)}function Ds(e){return[`ld`,`rd`].includes(e.position?.toLowerCase())?`defenders`:[`lw`,`rw`,`c`].includes(e.position?.toLowerCase())?`forwards`:`goalies`}function Os(e){return Number(e.jerseyNr)}function ks(e,t){return Mt(An(kn,mn(R([`player`,`playerId`]),e),mn(R([`player`,`playerId`]),t)))}var As={setCookie(e,t,n){let r=new Date;r.setTime(r.getTime()+n*60*60*1e3);let i=`expires=${r.toUTCString()}`;document.cookie=`${e}=${t};${i};path=/`},getCookie(e){let t=`${e}=`,n=document.cookie.split(`;`);for(let e=0;e<n.length;e++){let r=n[e];for(;r.charAt(0)===` `;)r=r.substring(1);if(r.indexOf(t)===0)return r.substring(t.length,r.length)}return``},checkCookie(e){return this.getCookie(e)!==``}};function js(e,t=`body`){if(e){if(typeof t!=`string`){t?.append(e);return}document.querySelector(t)?.append(e)}}function Ms(e,t=()=>({})){return e.toSorted((e,n)=>{let r=t(e),i=t(n);if(r===null||i===null)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}var Ns=class extends Error{constructor(e,t={}){let{key:n,cause:r}=t;super(e),this.name=`WidgetError`,this.key=n,this.cause=r}},Ps={message:`Undefined Column name Message`,options:{key:`undefined-column`,cause:{}}},Fs={message:`Invalid season name`,options:{key:`invalid-season-name`,cause:{}}};function Is(e){return`wss://api.icehockey.hu/socket/vbr${e}`}var Ls=(e=``)=>globalThis?.__MJSZ_VBR_WIDGET__?.[e];function Rs(e,t={}){if(t.externalGameUrl)return t.externalGameUrl;let n=Ls(`gameResolver`)||e;return typeof n==`function`?n(t):n?encodeURI(U(n,t)):encodeURI(U(p,t))}function zs(e,t={}){let n=Ls(`teamResolver`)||e;return typeof n==`function`?n(t):n?encodeURI(U(n,t)):encodeURI(U(g,t))}function Bs(e,t={}){let n=Ls(`playerResolver`)||e;return typeof n==`function`?n(t):n?encodeURI(U(n,t)):encodeURI(U(h,t))}function Vs(e,t={}){return typeof e==`function`?e(t):e?encodeURI(U(e,t)):encodeURI(U(_,t))}var Hs=(e,t=`1x1`)=>`${v}/flag:${e}-${t}.svg`;function Us(e){return e||(Ls(`apiKey`)?Ls(`apiKey`):``)}function Ws(){window.scrollTo(0,0)}var Gs=Math.min,Ks=Math.max,qs=Math.round,Js=Math.floor,J=e=>({x:e,y:e}),Ys={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Xs(e,t,n){return Ks(e,Gs(t,n))}function Zs(e,t){return typeof e==`function`?e(t):e}function Qs(e){return e.split(`-`)[0]}function $s(e){return e.split(`-`)[1]}function ec(e){return e===`x`?`y`:`x`}function tc(e){return e===`y`?`height`:`width`}function nc(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function rc(e){return ec(nc(e))}function ic(e,t,n){n===void 0&&(n=!1);let r=$s(e),i=rc(e),a=tc(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=pc(o)),[o,pc(o)]}function ac(e){let t=pc(e);return[oc(e),t,oc(t)]}function oc(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var sc=[`left`,`right`],cc=[`right`,`left`],lc=[`top`,`bottom`],uc=[`bottom`,`top`];function dc(e,t,n){switch(e){case`top`:case`bottom`:return n?t?cc:sc:t?sc:cc;case`left`:case`right`:return t?lc:uc;default:return[]}}function fc(e,t,n,r){let i=$s(e),a=dc(Qs(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(oc)))),a}function pc(e){let t=Qs(e);return Ys[t]+e.slice(t.length)}function mc(e){return{top:0,right:0,bottom:0,left:0,...e}}function hc(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:mc(e)}function gc(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function _c(e,t,n){let{reference:r,floating:i}=e,a=nc(t),o=rc(t),s=tc(o),c=Qs(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch($s(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function vc(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=Zs(t,e),p=hc(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=gc(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=gc(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var yc=50,bc=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:vc},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=_c(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<yc&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=_c(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},xc=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Zs(e,t)||{};if(l==null)return{};let d=hc(u),f={x:n,y:r},p=rc(i),m=tc(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=Gs(d[_],T),ee=Gs(d[v],T),D=E,te=C-h[m]-ee,ne=C/2-h[m]/2+w,re=Xs(D,ne,te),ie=!c.arrow&&$s(i)!=null&&ne!==re&&a.reference[m]/2-(ne<D?E:ee)-h[m]/2<0,ae=ie?ne<D?ne-D:ne-te:0;return{[p]:f[p]+ae,data:{[p]:re,centerOffset:ne-re-ae,...ie&&{alignmentOffset:ae}},reset:ie}}}),Sc=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Zs(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Qs(r),_=nc(o),v=Qs(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[pc(o)]:ac(o)),x=p!==`none`;!d&&x&&b.push(...fc(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=ic(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==nc(t))||T.every(e=>nc(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=nc(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}},Cc=new Set([`left`,`top`]);async function wc(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Qs(n),s=$s(n),c=nc(n)===`y`,l=Cc.has(o)?-1:1,u=a&&c?-1:1,d=Zs(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var Tc=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await wc(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Ec=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Zs(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=nc(Qs(i)),p=ec(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=Xs(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=Xs(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}};function Dc(){return typeof window<`u`}function Oc(e){return kc(e)?(e.nodeName||``).toLowerCase():`#document`}function Y(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function X(e){return((kc(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function kc(e){return Dc()?e instanceof Node||e instanceof Y(e).Node:!1}function Z(e){return Dc()?e instanceof Element||e instanceof Y(e).Element:!1}function Q(e){return Dc()?e instanceof HTMLElement||e instanceof Y(e).HTMLElement:!1}function Ac(e){return!Dc()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof Y(e).ShadowRoot}function jc(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=$(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function Mc(e){return/^(table|td|th)$/.test(Oc(e))}function Nc(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var Pc=/transform|translate|scale|rotate|perspective|filter/,Fc=/paint|layout|strict|content/,Ic=e=>!!e&&e!==`none`,Lc;function Rc(e){let t=Z(e)?$(e):e;return Ic(t.transform)||Ic(t.translate)||Ic(t.scale)||Ic(t.rotate)||Ic(t.perspective)||!Bc()&&(Ic(t.backdropFilter)||Ic(t.filter))||Pc.test(t.willChange||``)||Fc.test(t.contain||``)}function zc(e){let t=Uc(e);for(;Q(t)&&!Vc(t);){if(Rc(t))return t;if(Nc(t))return null;t=Uc(t)}return null}function Bc(){return Lc??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),Lc}function Vc(e){return/^(html|body|#document)$/.test(Oc(e))}function $(e){return Y(e).getComputedStyle(e)}function Hc(e){return Z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Uc(e){if(Oc(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Ac(e)&&e.host||X(e);return Ac(t)?t.host:t}function Wc(e){let t=Uc(e);return Vc(t)?e.ownerDocument?e.ownerDocument.body:e.body:Q(t)&&jc(t)?t:Wc(t)}function Gc(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=Wc(e),i=r===e.ownerDocument?.body,a=Y(r);if(i){let e=Kc(a);return t.concat(a,a.visualViewport||[],jc(r)?r:[],e&&n?Gc(e):[])}else return t.concat(r,Gc(r,[],n))}function Kc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function qc(e){let t=$(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Q(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=qs(n)!==a||qs(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Jc(e){return Z(e)?e:e.contextElement}function Yc(e){let t=Jc(e);if(!Q(t))return J(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=qc(t),o=(a?qs(n.width):n.width)/r,s=(a?qs(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var Xc=J(0);function Zc(e){let t=Y(e);return!Bc()||!t.visualViewport?Xc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Qc(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Y(e)?!1:t}function $c(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Jc(e),o=J(1);t&&(r?Z(r)&&(o=Yc(r)):o=Yc(e));let s=Qc(a,n,r)?Zc(a):J(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=Y(a),t=r&&Z(r)?Y(r):r,n=e,i=Kc(n);for(;i&&r&&t!==n;){let e=Yc(i),t=i.getBoundingClientRect(),r=$(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=Y(i),i=Kc(n)}}return gc({width:u,height:d,x:c,y:l})}function el(e,t){let n=Hc(e).scrollLeft;return t?t.left+n:$c(X(e)).left+n}function tl(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-el(e,n),y:n.top+t.scrollTop}}function nl(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=X(r),s=t?Nc(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=J(1),u=J(0),d=Q(r);if((d||!d&&!a)&&((Oc(r)!==`body`||jc(o))&&(c=Hc(r)),d)){let e=$c(r);l=Yc(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?tl(o,c):J(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function rl(e){return Array.from(e.getClientRects())}function il(e){let t=X(e),n=Hc(e),r=e.ownerDocument.body,i=Ks(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Ks(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+el(e),s=-n.scrollTop;return $(r).direction===`rtl`&&(o+=Ks(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var al=25;function ol(e,t){let n=Y(e),r=X(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=Bc();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=el(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=al&&(a-=o)}else l<=al&&(a+=l);return{width:a,height:o,x:s,y:c}}function sl(e,t){let n=$c(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Q(e)?Yc(e):J(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function cl(e,t,n){let r;if(t===`viewport`)r=ol(e,n);else if(t===`document`)r=il(X(e));else if(Z(t))r=sl(t,n);else{let n=Zc(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return gc(r)}function ll(e,t){let n=Uc(e);return n===t||!Z(n)||Vc(n)?!1:$(n).position===`fixed`||ll(n,t)}function ul(e,t){let n=t.get(e);if(n)return n;let r=Gc(e,[],!1).filter(e=>Z(e)&&Oc(e)!==`body`),i=null,a=$(e).position===`fixed`,o=a?Uc(e):e;for(;Z(o)&&!Vc(o);){let t=$(o),n=Rc(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||jc(o)&&!n&&ll(e,o))?r=r.filter(e=>e!==o):i=t,o=Uc(o)}return t.set(e,r),r}function dl(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Nc(t)?[]:ul(t,this._c):[].concat(n),r],o=cl(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=cl(t,a[e],i);s=Ks(n.top,s),c=Gs(n.right,c),l=Gs(n.bottom,l),u=Ks(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function fl(e){let{width:t,height:n}=qc(e);return{width:t,height:n}}function pl(e,t,n){let r=Q(t),i=X(t),a=n===`fixed`,o=$c(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=J(0);function l(){c.x=el(i)}if(r||!r&&!a)if((Oc(t)!==`body`||jc(i))&&(s=Hc(t)),r){let e=$c(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?tl(i,s):J(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function ml(e){return $(e).position===`static`}function hl(e,t){if(!Q(e)||$(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return X(e)===n&&(n=n.ownerDocument.body),n}function gl(e,t){let n=Y(e);if(Nc(e))return n;if(!Q(e)){let t=Uc(e);for(;t&&!Vc(t);){if(Z(t)&&!ml(t))return t;t=Uc(t)}return n}let r=hl(e,t);for(;r&&Mc(r)&&ml(r);)r=hl(r,t);return r&&Vc(r)&&ml(r)&&!Rc(r)?n:r||zc(e)||n}var _l=async function(e){let t=this.getOffsetParent||gl,n=this.getDimensions,r=await n(e.floating);return{reference:pl(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function vl(e){return $(e).direction===`rtl`}var yl={convertOffsetParentRelativeRectToViewportRelativeRect:nl,getDocumentElement:X,getClippingRect:dl,getOffsetParent:gl,getElementRects:_l,getClientRects:rl,getDimensions:fl,getScale:Yc,isElement:Z,isRTL:vl};function bl(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function xl(e,t){let n=null,r,i=X(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=Js(d),h=Js(i.clientWidth-(u+f)),g=Js(i.clientHeight-(d+p)),_=Js(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:Ks(0,Gs(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!bl(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function Sl(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Jc(e),u=i||a?[...l?Gc(l):[],...t?Gc(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?xl(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?$c(e):null;c&&g();function g(){let t=$c(e);h&&!bl(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Cl=Tc,wl=Ec,Tl=Sc,El=xc,Dl=(e,t,n)=>{let r=new Map,i={platform:yl,...n},a={...i.platform,_c:r};return bc(e,t,{...i,platform:a})};function Ol({middleware:e,placement:n=null,strategy:r,append:i,enabled:a}){let o=(0,t.ref)(null),s=(0,t.ref)(null),c=(0,t.ref)(null),l=(0,t.ref)(null),u=(0,t.ref)(null),d=(0,t.ref)(null),f=(0,t.ref)(null),p=(0,t.ref)(r??`absolute`),m=(0,t.ref)(null),h=()=>{!o.value||!s.value||Dl(o.value,s.value,{middleware:e,placement:n,strategy:r}).then(e=>{c.value=e.x,l.value=e.y,p.value=e.strategy,u.value=e.middlewareData.arrow.x,d.value=e.middlewareData.arrow.y,f.value=e.placement})};(0,t.watch)(()=>({reference:(0,t.unref)(o),floating:(0,t.unref)(s),append:(0,t.unref)(i)}),({floating:e,append:t})=>{t&&js(e,t),h()},{flush:`post`}),(0,t.watch)(a,e=>{if(!(!o.value||!s.value)){if(!e)return g();m.value=Sl(o.value,s.value,h,{})}},{flush:`post`});function g(){m.value?.(),m.value=null}return{x:c,y:l,arrowX:u,arrowY:d,placement:f,reference:o,floating:s,strategy:p,update:h}}function kl(e){let{element:n,padding:r}=e;return{name:`arrow`,options:e,fn(e){return(0,t.isRef)(n)?n.value==null?{}:El({element:n.value,padding:r}).fn(e):n?El({element:n,padding:r}).fn(e):{}}}}var Al=[`data-placement`],jl={__name:`FloatingPanel`,props:{disabled:{type:Boolean,default:!1},placement:{type:String,default:`bottom`},theme:{type:String,default:`tooltip`},content:{type:String,default:``},appendTo:{type:[Object,String],default:`body`},offset:{type:Number,default:2},isArrowVisible:{type:Boolean,default:!0}},setup(e){let n=e,r=(0,t.ref)(!1),i=(0,t.ref)(null),{x:a,y:o,arrowX:s,arrowY:c,placement:l,reference:u,floating:d,strategy:f}=Ol({placement:n.placement,middleware:[Tl(),wl({padding:5}),Cl(n.offset),kl({element:i,padding:5})],append:(0,t.computed)(()=>n.appendTo),enabled:r});function p(){n.disabled||(r.value||=!0)}function m(){r.value&&=!1}function h(e){u.value=e}let g={onMouseenter:p,onMouseleave:m,onFocus:p,onBlur:m};Ur(d,()=>{r.value&&m()},{ignore:[u]});function _(){if(r.value)return m();p()}function v(e){r.value&&(Br(d).querySelectorAll(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`)[0]?.focus(),e.preventDefault())}return(u,y)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.renderSlot)(u.$slots,`default`,{setRef:h,nextFocus:v,open:r.value,toggle:_,show:p,hide:m,events:g}),(0,t.createElementVNode)(`div`,{ref_key:`floating`,ref:d,"data-placement":(0,t.unref)(l),style:(0,t.normalizeStyle)({position:(0,t.unref)(f),top:(0,t.unref)(o)?`${(0,t.unref)(o)}px`:``,left:(0,t.unref)(a)?`${(0,t.unref)(a)}px`:``})},[(0,t.createVNode)(t.Transition,{name:`transition-fade`},{default:(0,t.withCtx)(()=>[r.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:(0,t.normalizeClass)([`floating-content`,[[`is-${n.theme}`]]])},[(0,t.renderSlot)(u.$slots,`content`,{close:m},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.content),1)]),e.isArrowVisible?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,ref_key:`arrowRef`,ref:i,class:`is-arrow`,style:(0,t.normalizeStyle)({position:(0,t.unref)(f),top:(0,t.unref)(c)?`${(0,t.unref)(c)}px`:``,left:(0,t.unref)(s)?`${(0,t.unref)(s)}px`:``})},null,4)):(0,t.createCommentVNode)(``,!0)],2)):(0,t.createCommentVNode)(``,!0)]),_:3})],12,Al)],64))}},Ml={class:`table`},Nl=[`tabindex`,`onMouseenter`,`onMouseleave`,`onFocus`,`onBlur`,`onClick`,`onKeydown`],Pl=[`data-value`],Fl={key:0},Il=[`colspan`],Ll={key:1},Rl=[`colspan`],zl={key:2},Bl={__name:`DataTable`,props:{columns:{type:Object,default:()=>({})},rows:{type:Array,default:()=>[]},sort:{type:Object,default:()=>({})},isLoading:{type:Boolean,default:!1},appendTo:{type:[Object,String],default:null}},emits:[`sort`],setup(e,{emit:n}){let r=e,i=n,{isLoading:a,appendTo:o}=(0,t.toRefs)(r),s=$r(a,{delay:T}),{t:c}=H(),l=(0,t.computed)(()=>r.columns),u=(0,t.computed)(()=>Object.keys(r.columns).length);function d(e,t){e.sortOrders&&i(`sort`,{target:t,orders:e.sortOrders})}return(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`table`,Ml,[(0,t.createElementVNode)(`thead`,null,[(0,t.createElementVNode)(`tr`,null,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(l.value,(r,i)=>((0,t.openBlock)(),(0,t.createBlock)(jl,{key:i,placement:`top`,content:r.tooltip,disabled:!r.tooltip,"append-to":(0,t.unref)(o)},{default:(0,t.withCtx)(({setRef:a,show:o,hide:s})=>[(0,t.createElementVNode)(`th`,{ref_for:!0,ref:a,class:(0,t.normalizeClass)([[(0,t.unref)(lr)(r.class)],{"is-active":i===e.sort.sortTarget&&e.sort.orders[0].direction!==(0,t.unref)(`original`),"is-sortable":r.sortOrders,"is-desc":i===e.sort.sortTarget&&e.sort.orders[0].direction===(0,t.unref)(`descend`),"is-asc":i===e.sort.sortTarget&&e.sort.orders[0].direction===(0,t.unref)(`ascend`)}]),tabindex:r.sortOrders?0:-1,role:`button`,onMouseenter:o,onMouseleave:s,onFocus:o,onBlur:s,onClick:e=>d(r,i),onKeydown:[(0,t.withKeys)((0,t.withModifiers)(e=>d(r,i),[`prevent`]),[`space`]),(0,t.withKeys)((0,t.withModifiers)(e=>d(r,i),[`prevent`]),[`enter`])]},[(0,t.renderSlot)(n.$slots,`header-${i}`,{column:r},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(r.label),1)]),r.sortOrders&&i!==e.sort.sortTarget?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Xa),{key:0,class:`is-icon-sort`})):(0,t.createCommentVNode)(``,!0),i===e.sort.sortTarget&&e.sort.orders[0].direction===(0,t.unref)(`original`)?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Xa),{key:1,class:`is-icon-sort`})):(0,t.createCommentVNode)(``,!0),i===e.sort.sortTarget&&e.sort.orders[0].direction===(0,t.unref)(`descend`)?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(eo),{key:2,class:`is-icon-sort`})):(0,t.createCommentVNode)(``,!0),i===e.sort.sortTarget&&e.sort.orders[0].direction===(0,t.unref)(`ascend`)?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(io),{key:3,class:`is-icon-sort`})):(0,t.createCommentVNode)(``,!0)],42,Nl)]),_:2},1032,[`content`,`disabled`,`append-to`]))),128))])]),(0,t.createElementVNode)(`tbody`,null,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(r.rows,(r,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`tr`,{key:i,class:(0,t.normalizeClass)(r.rowClasses)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(l.value,(i,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`td`,{key:a,"data-value":r[a],class:(0,t.normalizeClass)([[i.class],{"is-active":a===e.sort.sortTarget&&e.sort.orders[0].direction!==(0,t.unref)(`original`),"is-zero":r[a]===0||r[a]===`00:00`}])},[(0,t.renderSlot)(n.$slots,`cell-${a}`,{row:r,prop:a},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(r[a]),1)])],10,Pl))),128))],2))),128))]),(0,t.unref)(s)&&e.rows.length===0?((0,t.openBlock)(),(0,t.createElementBlock)(`tfoot`,Fl,[(0,t.createElementVNode)(`tr`,null,[(0,t.createElementVNode)(`td`,{colspan:u.value},[(0,t.renderSlot)(n.$slots,`loading`,{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(c)(`common.loading`)),1)])],8,Il)])])):(0,t.createCommentVNode)(``,!0),e.rows.length===0&&!(0,t.unref)(a)&&!(0,t.unref)(s)?((0,t.openBlock)(),(0,t.createElementBlock)(`tfoot`,Ll,[(0,t.createElementVNode)(`tr`,null,[(0,t.createElementVNode)(`td`,{colspan:u.value},[(0,t.renderSlot)(n.$slots,`empty`,{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(c)(`common.noData`)),1)])],8,Rl)])])):(0,t.createCommentVNode)(``,!0),n.$slots.caption?((0,t.openBlock)(),(0,t.createElementBlock)(`caption`,zl,[(0,t.renderSlot)(n.$slots,`caption`)])):(0,t.createCommentVNode)(``,!0)]))}},Vl={class:`error-notice`},Hl=[`textContent`],Ul={__name:`ErrorNotice`,props:{error:{type:Object,default:()=>({})},useRetry:{type:Boolean,default:!1}},emits:[`retry`],setup(e){let n=e,{t:r,hasTranslation:i}=H(),a=(0,t.computed)(()=>i(`errors.${n.error.key}`)?r(`errors.${n.error.key}`,n.error.cause||[n.error?.message]):n.error?.message);return(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Vl,[(0,t.createVNode)((0,t.unref)(ho),{class:`icon`,width:`20`,height:`20`}),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(a.value),1),e.useRetry?((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:0,type:`button`,onClick:i[0]||=e=>n.$emit(`retry`),textContent:(0,t.toDisplayString)((0,t.unref)(r)(`common.retry`))},null,8,Hl)):(0,t.createCommentVNode)(``,!0)]))}},Wl={__name:`ErrorProvider`,setup(e){let{message:n,hasError:r,error:i}=dr();return(e,a)=>(0,t.renderSlot)(e.$slots,`default`,{message:(0,t.unref)(n),error:(0,t.unref)(i),hasError:(0,t.unref)(r)})}},Gl={class:`form-field`},Kl=[`for`],ql={__name:`FormField`,props:{label:{type:String,default:``},name:{type:String,required:!0}},setup(e){return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Gl,[(0,t.createElementVNode)(`label`,{for:e.name},(0,t.toDisplayString)(e.label),9,Kl),(0,t.renderSlot)(n.$slots,`default`)]))}},Jl={errors:{"undefined-column":`The {column} column is not exists!`,"invalid-season-name":`Invalid season name`,"api-key-not-found":`API Key not found`,gameData:`Game Data: {0}`,gameStats:`Game Stats: {0}`,gameEvents:`Game Events: {0}`,gameOfficials:`Game Officials : {0}`},common:{loading:`Loading...`,noData:`No data to display`,selectTimezone:`*All times are displayed according to your computer's time zone ({timezone}). Change: `,hungary:`Hungary`,romania:`Romania`,shootoutShort:`SO`,overtimeShort:`OT`,all:`All`,report:`Report Sheet`,video:`Video`,retry:`Try Again`},additionalText:{inheritedPoints:{prependix:``,content:`{team} has {points} extra point(s)`,appendix:`based on its results in the previous championship phase.`},penaltyPoints:{prependix:`* `,content:`{points} point(s) deducted from team {team}`,appendix:`based on the decision of the Disciplinary Committee.`}},table:{blank:`#`,info:`{min} to {max} of {total} entries`,team:{short:`Team`,tooltip:`Team name`},game:{short:`GP`,tooltip:`Game Played`},pper:{short:`PPer`,tooltip:`Total periods played`},wins:{short:`W`,tooltip:`Wins`},draw:{short:`D`,tooltip:`Draw`},otw:{short:`OTW`,tooltip:`Overtime Wins`},sow:{short:`SOW`,tooltip:`Shoot Out Wins`},sol:{short:`SOL`,tooltip:`Shoot Out Losses`},otl:{short:`OTL`,tooltip:`Overtime Losses`},losses:{short:`L`,tooltip:`Losses`},goalFor:{short:`GF`,tooltip:`Goals For`},goalAgainst:{short:`GA`,tooltip:`Goals Against`},goalDiff:{short:`GD`,tooltip:`Goal Differential`},points:{short:`P`,tooltip:`Points`},name:{short:`Name`,tooltip:`Player name`},goals:{short:`G`,tooltip:`Goals`},assists:{short:`A`,tooltip:`Assists`},plusMinus:{short:`+/-`,tooltip:`Plus/Minus`},sog:{short:`S`,tooltip:`Shots on Goal`},so:{short:`SO`,tooltip:`Shutouts`},sogPercent:{short:`S%`,tooltip:`Shooting percentage`},gameName:{short:`#`,tooltip:`Game name`},gameDate:{short:`Date`,tooltip:`Scheduled Date`},gameDateTime:{short:`*Time ({offsetName})`,tooltip:`Scheduled Time (Offset Name)`},homeTeam:{short:`Home`,tooltip:`Home Team`},awayTeam:{short:`Away`,tooltip:`Away Team`},location:{short:`Location`,tooltip:`Game Location`},broadcast:{short:`Broadcast`,tooltip:`Television Broadcast`},minorPenalties:{short:`MINOR`,tooltip:`Penalties Minor`},majorPenalties:{short:`MAJOR`,tooltip:`Penalties Major`},misconducts:{short:`MISC`,tooltip:`Penalties Misconduct`},gameMisconducts:{short:`GA-MI`,tooltip:`Penalties Game Misconduct`},matchPenalties:{short:`MATCH`,tooltip:`Penalties Match`},pim:{short:`PIM`,tooltip:`Penalty Minutes`},pimPerGame:{short:`PIM/G`,tooltip:`Penalty Minutes per Game`},gpgk:{short:`GP`,tooltip:`Games Played`},gpi:{short:`GPI`,tooltip:`Games Played In`},toi:{short:`TOI`,tooltip:`Time On Ice`},toiPercent:{short:`TOI%`,tooltip:`Time On Ice as Percentage`},ga:{short:`GA`,tooltip:`Goals Against`},gaa:{short:`GAA`,tooltip:`Goals Against Average`},sa:{short:`SA`,tooltip:`Shots Against`},svs:{short:`SVS`,tooltip:`Saves`},svsPercent:{short:`SV%`,tooltip:`Save Percentage`},homeHeader:{short:`Home:`,tooltip:``},awayHeader:{short:`Away:`,tooltip:``},totalHeader:{short:`Total:`,tooltip:``},homeGame:{short:`GP`,tooltip:`Home Games Played`},awayGame:{short:`GP`,tooltip:`Away Games Played`},totalGame:{short:`GP`,tooltip:`Total Games Played`},homeAttendance:{short:`Att`,tooltip:`Home Attendance`},awayAttendance:{short:`Att`,tooltip:`Away Attendance`},totalAttendance:{short:`Att`,tooltip:`Total Attendance`},homeAttendanceAvg:{short:`Avg`,tooltip:`Home Average Attendance`},awayAttendanceAvg:{short:`Avg`,tooltip:`Away Average Attendance`},totalAttendanceAvg:{short:`Avg`,tooltip:`Total Average Attendance`},powerplayDisadvantages:{short:`DVG`,tooltip:`Disadvantages (Number of Times Shorthanded)`},dvgTime:{short:`DVG-T`,tooltip:`Disadvantages Time`},dvgTimePP1:{short:`DVG-T PP1`,tooltip:`Disadvantages Time (Period of PP1)`},dvgTimePP2:{short:`DVG-T PP2`,tooltip:`Disadvantages Time (Period of PP2)`},ppga:{short:`PPGA`,tooltip:`Powerplay Goals Against`},shgf:{short:`SHGF`,tooltip:`Shorthanded Goals For`},pkPercent:{short:`PK%`,tooltip:`Penalty Killing Percentage`},adv:{short:`ADV`,tooltip:`Advantages (Times on Powerplay)`},advTime:{short:`ADV-T`,tooltip:`Advantages Time (Period of Powerplay)`},advTimePP1:{short:`ADV-T PP1`,tooltip:`Advantages Time (Period of PP1)`},advTimePP2:{short:`ADV-T PP2`,tooltip:`Advantages Time (Period of PP2)`},ppgf:{short:`PPGF`,tooltip:`Powerplay Goals For`},shga:{short:`SHGA`,tooltip:`Shorthanded Goals Against`},ppPercent:{short:`PP%`,tooltip:`Powerplay Percentage`},gfgp:{short:`GF/GP`,tooltip:`Szerzett gólátlag`},gagp:{short:`GA/GP`,tooltip:`Kapott gólátlag`},sogp:{short:`Shots/GP`,tooltip:`Átlagos lövésszám`},sagp:{short:`SA/GP`,tooltip:`Shots Against per Game`},jerseyNumber:{short:`#`,tooltip:`Jersey Number`},row:{short:`Row`,tooltip:`Row`},position:{short:`Position`,tooltip:`Position`},teamOfficials:{short:`Team officials`,tooltip:`Team officials`},score:{short:`Score`,tooltip:`Actual Game Score`},opponent:{short:`Opponent`,tooltip:`Opponent`},result:{short:`Result`,tooltip:`Result`},resultType:{short:`#`,tooltip:`Result Type`},atoi:{short:`ATOI`,tooltip:`Average Time On Ice`},shf:{short:`SHF`,tooltip:`Shifts`},ashf:{short:`ASHF`,tooltip:`Average Shifts`},eqToi:{short:`EQ-TOI`,tooltip:`Time On Ice in Equal`},pp1Toi:{short:`PP1-TOI`,tooltip:`Time On Ice in PowerPlay 1`},pp2Toi:{short:`PP2-TOI`,tooltip:`Time On Ice in PowerPlay 2`},sh1Toi:{short:`SH1-TOI`,tooltip:`Time On Ice in Shorthanded 1`},sh2Toi:{short:`SH2-TOI`,tooltip:`Time On Ice in Shorthanded 2`},eqAToi:{short:`EQ-A-TOI`,tooltip:`Average Time On Ice in Equal`},pp1AToi:{short:`PP1-A-TOI`,tooltip:`Average Time On Ice in PowerPlay 1`},pp2AToi:{short:`PP2-A-TOI`,tooltip:`Average Time On Ice in PowerPlay 2`},sh1AToi:{short:`SH1-A-TOI`,tooltip:`Average Time On Ice in Shorthanded 1`},sh2AToi:{short:`SH2-A-TOI`,tooltip:`Average Time On Ice in Shorthanded 2`},role:{short:`Role`,tooltip:`Role`}},game:{data:{localTime:`Game local time`},status:{jury:`Jury result`,delayed:`Game delayed`},period:{wu:`Preparation`,pre:`Preparation Ended`,p1:`First Period`,p1_int:`First Period Ended`,p2:`Second Period`,p2_int:`Second Period Ended`,p3:`Third Period`,p3_int:`Third Period Ended`,p4:`Fourth Period`,p4_int:`Fourth Period Ended`,p5:`Fifth Period`,p5_int:`Fifth Period Ended`,p6:`Sixth Period`,p6_int:`Sixth Period Ended`,ot:`Overtime`,ot_int:`Overtime Ended`,so:`Shoot Out`,so_int:`Shoot Out Ended`,end:`Game Ended`,Bemelegítés:`Warm-up`,"Bemelegítés vége":`Warm-up End`,"1. harmad":`First period`,"1. harmad vége":`First period End`,"2. harmad":`Second period`,"2. harmad vége":`Second period End`,"3. harmad":`Third period`,"3. harmad vége":`Third period End`,"4. harmad":`IV. period`,"4. harmad vége":`IV. period End`,"5. harmad":`V. period`,"5. harmad vége":`V. period End`,"6. harmad":`VI. period`,"6. harmad vége":`VI. period End`,Hosszabbítás:`Overtime`,"Hosszabbítás vége":`Overtime End`,Büntetőlövések:`Penalty Shot`,Végeredmény:`Game Completed`,Szétlövés:`Shoot Out`}}},Yl={errors:{"undefined-column":`A(z) {column} oszlop nem létezik!`,"invalid-season-name":`Érvénytelen szezon név`,"api-key-not-found":`API Kulcs nem megfelelő`,gameData:`Game Data: {0}`,gameStats:`Game Stats: {0}`,gameEvents:`Game Events: {0}`,gameOfficials:`Game Officials: {0}`},common:{loading:`Töltődés...`,noData:`Nincs megjeleníthető adat`,selectTimezone:`*Minden időpont a számítógép időzónája szerint jelenik meg ({timezone}). Váltás: `,hungary:`Magyarország`,romania:`Románia`,shootoutShort:`SO`,overtimeShort:`OT`,all:`Mind`,report:`Jegyzőkönyv`,video:`Videó`,retry:`Újra`},additionalText:{inheritedPoints:{prependix:`A megelőző bajnokság szakaszban elért eredménye alapján`,content:`{team} csapata {points}`,appendix:`többletponttal rendelkezik.`},penaltyPoints:{prependix:`* Fegyelmi Bizottság döntése alapján:`,content:`{team} csapatától {points} pont`,appendix:`levonva.`}},table:{blank:`#`,info:`{min} - {max} / {total} db`,team:{short:`Csapat`,tooltip:`Csapatnév`},game:{short:`GP`,tooltip:`Mérkőzésszám`},pper:{short:`PPer`,tooltip:`Összes lejátszott játékrész`},wins:{short:`W`,tooltip:`Győzelem`},draw:{short:`D`,tooltip:`Döntetlen`},otw:{short:`OTW`,tooltip:`Győzelem Hosszabbításban`},sow:{short:`SOW`,tooltip:`Győzelem Szétlövésben`},sol:{short:`SOL`,tooltip:`Vereség Szétlövésben`},otl:{short:`OTL`,tooltip:`Vereség Hosszabbításban`},losses:{short:`L`,tooltip:`Vereség`},goalFor:{short:`GF`,tooltip:`Szerzett Gól`},goalAgainst:{short:`GA`,tooltip:`Kapott Gól`},goalDiff:{short:`GD`,tooltip:`Gólkülönbség`},name:{short:`Név`,tooltip:`Játékosnév`},goals:{short:`G`,tooltip:`Gólok`},assists:{short:`A`,tooltip:`Gólpasszok`},points:{short:`P`,tooltip:`Pontok`},plusMinus:{short:`+/-`,tooltip:`Plussz/Minusz`},sog:{short:`S`,tooltip:`Lövések`},so:{short:`SO`,tooltip:`Kapott gól nélküli mérkőzések`},sogPercent:{short:`S%`,tooltip:`Lövés Hatékonyság`},gameName:{short:`#`,tooltip:`Mérkőzés Sorszáma`},gameDate:{short:`Dátum`,tooltip:`Mérkőzés Dátuma`},gameDateTime:{short:`*Idő ({offsetName})`,tooltip:`Mérkőzés kezdési ideje (Zóna neve)`},homeTeam:{short:`Hazai`,tooltip:`Hazai Csapat`},awayTeam:{short:`Vendég`,tooltip:`Vendég Csapat`},location:{short:`Helyszín`,tooltip:`Mérkőzés Helyszíne`},broadcast:{short:`TV`,tooltip:`TV Közvetítés`},minorPenalties:{short:`MINOR`,tooltip:`Kisbüntetés (2p)`},majorPenalties:{short:`MAJOR`,tooltip:`Büntetés (5p)`},misconducts:{short:`MISC`,tooltip:`Fegyelmi büntetés (10p)`},gameMisconducts:{short:`GA-MI`,tooltip:`Fegyelmi büntetés (20p)`},matchPenalties:{short:`MATCH`,tooltip:`Végleges kiállítások (25p)`},pim:{short:`BÜP`,tooltip:`Büntetés Percek`},pimPerGame:{short:`BÜP/M`,tooltip:`Mérkőzésenkénti Büntetés Percek`},gpgk:{short:`GP`,tooltip:`Mérkőzésre Nevezve`},gpi:{short:`GPI`,tooltip:`Mérkőzésen Játszott`},toi:{short:`TOI`,tooltip:`Jégen Töltött Idő`},toiPercent:{short:`TOI%`,tooltip:`Jégen Töltött Idő Százalék`},ga:{short:`GA`,tooltip:`Kapott Gól`},gaa:{short:`GAA`,tooltip:`Kapott Gólátlag`},sa:{short:`SA`,tooltip:`Kapott Lövés`},svs:{short:`SVS`,tooltip:`Védett Lövés`},svsPercent:{short:`VH%`,tooltip:`Védés Hatékonyság`},homeHeader:{short:`Hazai:`,tooltip:``},awayHeader:{short:`Vendég:`,tooltip:``},totalHeader:{short:`Összes:`,tooltip:``},homeGame:{short:`M`,tooltip:`Hazai Mérkőzés`},awayGame:{short:`M`,tooltip:`Vendég Mérkőzés`},totalGame:{short:`M`,tooltip:`Összes Mérkőzés`},homeAttendance:{short:`Nézőszám`,tooltip:`Hazai Néző`},awayAttendance:{short:`Nézőszám`,tooltip:`Vendég Néző`},totalAttendance:{short:`Nézőszám`,tooltip:`Összes Néző`},homeAttendanceAvg:{short:`Átlag`,tooltip:`Hazi Néző Átlag`},awayAttendanceAvg:{short:`Átlag`,tooltip:`Vendég Néző Átlag`},totalAttendanceAvg:{short:`Átlag`,tooltip:`Összes Néző Átlag`},powerplayDisadvantages:{short:`DVG`,tooltip:`Emberhátrányok`},dvgTime:{short:`DVG-T`,tooltip:`Emberhátrányban Töltött Idő`},dvgTimePP1:{short:`DVG-T PP1`,tooltip:`Szimpla emberhátrányban töltött idő`},dvgTimePP2:{short:`DVG-T PP2`,tooltip:`Kettős emberhátrányban töltött idő`},ppga:{short:`PPGA`,tooltip:`Emberhátrányban kapott gólok`},shgf:{short:`SHGF`,tooltip:`Emberhátrányban szerzett gól`},pkPercent:{short:`PK%`,tooltip:`Emberhátrány kivédekezés`},adv:{short:`ADV`,tooltip:`Emberelőnyök száma`},advTime:{short:`ADV-T`,tooltip:`Emberelőnyben töltött idő`},advTimePP1:{short:`ADV-T PP1`,tooltip:`Szimpla emberelőnyben töltött idő`},advTimePP2:{short:`ADV-T PP2`,tooltip:`Kettős emberelőnyben töltött idő`},ppgf:{short:`PPGF`,tooltip:`Emberelőnyben szerzett gólok`},shga:{short:`SHGA`,tooltip:`Emberelőnyben kapott gólok`},ppPercent:{short:`PP%`,tooltip:`Emberelőny kihasználás`},gfgp:{short:`GF/GP`,tooltip:`Szerzett gólátlag`},gagp:{short:`GA/GP`,tooltip:`Kapott gólátlag`},sogp:{short:`Shots/GP`,tooltip:`Átlagos lövésszám`},sagp:{short:`SA/GP`,tooltip:`Átlagos kapott lövésszám`},jerseyNumber:{short:`#`,tooltip:`Mezszám`},row:{short:`Sor`,tooltip:`Sor`},position:{short:`Po`,tooltip:`Poszt`},teamOfficials:{short:`Hivatalos Személyek`,tooltip:`Hivatalos Személyek`},score:{short:`Eredmény`,tooltip:`Aktuális eredmény`},opponent:{short:`Ellenfél`,tooltip:`Ellenfél`},result:{short:`Eredmény`,tooltip:`Végeredmény`},resultType:{short:`#`,tooltip:`Végeredmény típusa`},atoi:{short:`ATOI`,tooltip:`Átlagos jégen töltött idő`},shf:{short:`SHF`,tooltip:`Jégre lépések száma`},ashf:{short:`ASHF`,tooltip:`Jégre lépések száma átlagosan`},eqToi:{short:`EQ-TOI`,tooltip:`Jégen töltött idő azonos létszámban`},pp1Toi:{short:`PP1-TOI`,tooltip:`Jégen töltött idő egyszeres emberelőnyben`},pp2Toi:{short:`PP2-TOI`,tooltip:`Jégen töltött idő kétszeres emberelőnyben`},sh1Toi:{short:`SH1-TOI`,tooltip:`Jégen töltött idő egyszeres emberhátrányban`},sh2Toi:{short:`SH2-TOI`,tooltip:`Jégen töltött idő kétszeres emberhátrányban`},eqAToi:{short:`EQ-A-TOI`,tooltip:`Átlagos jégen töltött idő azonos létszámban`},pp1AToi:{short:`PP1-A-TOI`,tooltip:`Átlagos jégen töltött idő egyszeres emberelőnyben`},pp2AToi:{short:`PP2-A-TOI`,tooltip:`Átlagos jégen töltött idő kétszeres emberelőnyben`},sh1AToi:{short:`SH1-A-TOI`,tooltip:`Átlagos jégen töltött idő egyszeres emberhátrányban`},sh2AToi:{short:`SH2-A-TOI`,tooltip:`Átlagos jégen töltött idő kétszeres emberhátrányban`},role:{short:`Szerep`,tooltip:`Szerep`}},game:{data:{localTime:`Helyszín szerinti idő`},status:{jury:`Versenybíróság`,delayed:`Elhalasztva`},period:{wu:`Bemelegítés`,pre:`Bemelegítés vége`,p1:`I. játékrész`,p1_int:`I. játékrész vége`,p2:`II. játékrész`,p2_int:`II. játékrész vége`,p3:`III. játékrész`,p3_int:`III. játékrész vége`,p4:`IV. játékrész`,p4_int:`IV. játékrész vége`,p5:`V. játékrész`,p5_int:`V. játékrész vége`,p6:`VI. játékrész`,p6_int:`VI. játékrész vége`,ot:`Hosszabbítás`,ot_int:`Hosszabbítás vége`,so:`Szétlövés`,so_int:`Szétlövés vége`,end:`Végeredmény`,Bemelegítés:`Bemelegítés`,"Bemelegítés vége":`Bemelegítés Vége`,"1. harmad":`I. harmad`,"1. harmad vége":`I. harmad Vége`,"2. harmad":`II. harmad`,"2. harmad vége":`II. harmad Vége`,"3. harmad":`III. harmad`,"3. harmad vége":`III. harmad Vége`,"4. harmad":`IV. harmad`,"4. harmad vége":`IV. harmad Vége`,"5. harmad":`V. harmad`,"5. harmad vége":`V. harmad Vége`,"6. harmad":`VI. harmad`,"6. harmad vége":`VI. harmad Vége`,Hosszabbítás:`Hosszabbítás`,"Hosszabbítás vége":`Hosszabbítás vége`,Büntetők:`Szétlövés`,"Büntetők vége":`Szétlövés vége`,Végeredmény:`Végeredmény`,Szétlövés:`Szétlövés`}}},Xl=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},Zl=(0,t.defineComponent)({props:{locale:{type:String,default:`hu`},messages:{type:Object,default:()=>({})}},setup(e){let n=On({hu:Yl,en:Jl},e.messages),{translate:r}=Zn({locale:(0,t.computed)(()=>e.locale),messages:n});return{translate:r}}});function Ql(e,n,r,i,a,o){return(0,t.renderSlot)(e.$slots,`default`,{t:e.translate})}var $l=Xl(Zl,[[`render`,Ql]]),eu=[`src`,`width`,`height`],tu=[`src`,`title`,`width`,`height`],nu=Object.assign({inheritAttrs:!1},{__name:`Image`,props:{src:{type:String,default:``},title:{type:String,default:``},defaultSrc:{type:String,default:``},width:{type:Number,default:void 0},height:{type:Number,default:void 0}},setup(e){let n=e,{defaultSrc:r}=(0,t.toRefs)(n),i=(0,t.ref)({src:n.src}),{error:a,isReady:o}=qr(i,{resetOnExecute:!1,shallow:!1});return(s,c)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.unref)(a)&&(0,t.unref)(r)?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:0,src:(0,t.unref)(r),class:(0,t.normalizeClass)([`is-loaded is-default`,[s.$attrs.class]]),style:(0,t.normalizeStyle)([s.$attrs.style]),width:e.width,height:e.height},null,14,eu)):(0,t.createCommentVNode)(``,!0),(0,t.unref)(a)?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:1,src:i.value.src,title:n.title,class:(0,t.normalizeClass)([s.$attrs.class,{"is-loaded":(0,t.unref)(o)}]),style:(0,t.normalizeStyle)([s.$attrs.style]),width:e.width,height:e.height,loading:`lazy`},null,14,tu))],64))}}),ru={class:`loading-indicator`},iu={__name:`LoadingIndicator`,setup(e){let{t:n}=H();return(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,ru,(0,t.toDisplayString)((0,t.unref)(n)(`common.loading`)),1))}},au={key:0,class:`paginator`},ou=[`disabled`],su=[`disabled`],cu={key:1,class:`is-disabled`},lu=[`disabled`,`onClick`],uu={key:2,class:`is-disabled`},du=[`disabled`],fu=[`disabled`],pu={__name:`Paginator`,props:{page:{type:Number,required:!1,default:0,validator:e=>e>=0},itemsPerPage:{type:Number,required:!1,default:10,validator:e=>e>0},totalItems:{type:Number,required:!0,validator:e=>e>=0},rangeLength:{type:Number,default:3,validator:e=>e>=2},isCompact:{type:Boolean,default:!1}},emits:[`change`],setup(e,{emit:n}){let r=e,i=n,{page:a,pageCount:o,range:s,goTo:c,pageStep:l}=Gi({currentPage:(0,t.computed)(()=>r.page),totalItems:(0,t.computed)(()=>r.totalItems),itemsPerPage:r.itemsPerPage,rangeLength:r.rangeLength,update:e=>i(`change`,e)});return(n,r)=>(0,t.unref)(o)>1?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,au,[(0,t.createElementVNode)(`button`,{type:`button`,disabled:(0,t.unref)(a)===1,onClick:r[0]||=e=>(0,t.unref)(l)(-1)},[(0,t.renderSlot)(n.$slots,`prev`,{},()=>[(0,t.createVNode)((0,t.unref)(ja),{class:`icon paginator-left`})])],8,ou),e.isCompact?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:0,type:`button`,disabled:(0,t.unref)(a)===1,onClick:r[1]||=e=>(0,t.unref)(c)(1)},` 1 `,8,su)),e.isCompact?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,cu,` ... `)),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(s),e=>((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:e,type:`button`,class:(0,t.normalizeClass)({"is-active":e===(0,t.unref)(a)}),disabled:e===(0,t.unref)(a),onClick:n=>(0,t.unref)(c)(e)},(0,t.toDisplayString)(e),11,lu))),128)),e.isCompact?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,uu,[...r[4]||=[(0,t.createElementVNode)(`span`,null,`...`,-1)]])),e.isCompact?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:3,type:`button`,disabled:(0,t.unref)(a)===(0,t.unref)(o),onClick:r[2]||=e=>(0,t.unref)(c)((0,t.unref)(o))},(0,t.toDisplayString)((0,t.unref)(o)),9,du)),(0,t.createElementVNode)(`button`,{type:`button`,disabled:(0,t.unref)(a)===(0,t.unref)(o),onClick:r[3]||=(0,t.withModifiers)(e=>(0,t.unref)(l)(1),[`prevent`])},[(0,t.renderSlot)(n.$slots,`next`,{},()=>[(0,t.createVNode)((0,t.unref)(Ha),{class:`icon paginator-left`})])],8,fu)])):(0,t.createCommentVNode)(``,!0)}},mu={__name:`ResponsiveTable`,setup(e){let n=(0,t.ref)(null);return(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{ref_key:`el`,ref:n,class:`table-responsive`},[(0,t.renderSlot)(e.$slots,`default`,{el:n.value})],512))}},hu={class:`is-team-name-long`},gu={class:`is-team-name-short`},_u={class:`is-team-name-long`},vu={class:`is-team-name-short`},yu={key:0,class:`text-highlighted`},bu=[`href`,`target`],xu={key:0,class:`badge`},Su={key:1,class:`badge`},Cu={key:2,class:`badge`},wu={key:1},Tu=[`data-state`,`onClick`,`onKeydown`],Eu={class:`list`},Du=[`href`,`target`],Ou={class:`start`},ku={class:`text`},Au={key:0},ju=[`href`],Mu={class:`start`},Nu={class:`text`},Pu={__name:`ScheduleTable`,props:{rows:{type:Array,default:()=>[]},isLoading:{type:Boolean,deafult:!1},hideColumns:{type:String,default:``},offsetName:{type:String,default:``},externalGameResolver:{type:Function,required:!0},externalGameResolverTarget:{type:String,default:`_blank`}},setup(e){let n=e,r=(0,t.ref)(null),{onError:i}=fr(),{columns:a,error:o}=rr(E,(0,t.computed)(()=>n.hideColumns),(0,t.computed)(()=>({offsetName:n.offsetName})));Lr(o,()=>i(new Ns(Ps.message,{...Ps.options,cause:{column:o.value}})),{immediate:!0});let{t:s}=H();return(i,o)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.createVNode)(mu,null,{default:(0,t.withCtx)(({el:i})=>[(0,t.createVNode)(Bl,{columns:(0,t.unref)(a),rows:n.rows,"is-loading":e.isLoading,"append-to":r.value||i},{"cell-homeTeamName":(0,t.withCtx)(({row:e})=>[e.homeTeam?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createElementVNode)(`span`,hu,(0,t.toDisplayString)(e.homeTeam.longName),1),(0,t.createElementVNode)(`span`,gu,(0,t.toDisplayString)(e.homeTeam.shortName),1)],64)):(0,t.createCommentVNode)(``,!0)]),"cell-awayTeamName":(0,t.withCtx)(({row:e})=>[e.awayTeam?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createElementVNode)(`span`,_u,(0,t.toDisplayString)(e.awayTeam.longName),1),(0,t.createElementVNode)(`span`,vu,(0,t.toDisplayString)(e.awayTeam.shortName),1)],64)):(0,t.createCommentVNode)(``,!0)]),"cell-homeTeamLogo":(0,t.withCtx)(({row:e})=>[e.homeTeam?((0,t.openBlock)(),(0,t.createBlock)(nu,{key:e.homeTeam.id,class:`is-logo-image`,src:e.homeTeam.logo},null,8,[`src`])):(0,t.createCommentVNode)(``,!0)]),"cell-awayTeamLogo":(0,t.withCtx)(({row:e})=>[e.awayTeam?((0,t.openBlock)(),(0,t.createBlock)(nu,{key:e.awayTeam.id,class:`is-logo-image`,src:e.awayTeam.logo},null,8,[`src`])):(0,t.createCommentVNode)(``,!0)]),"cell-gameResult":(0,t.withCtx)(({row:n})=>[n.gameStatus===0?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,yu,`-:-`)):((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:1,href:e.externalGameResolver(n.gameId),target:e.externalGameResolverTarget,class:(0,t.normalizeClass)({"text-highlighted":n.gameStatus!==1,"is-text-accent":n.gameStatus===1})},(0,t.toDisplayString)(n.homeTeamScore)+`:`+(0,t.toDisplayString)(n.awayTeamScore),11,bu))]),"cell-gameResultType":(0,t.withCtx)(({row:e})=>[e.isOvertime?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,xu,(0,t.toDisplayString)((0,t.unref)(s)(`common.overtimeShort`)),1)):(0,t.createCommentVNode)(``,!0),e.isShootout?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Su,(0,t.toDisplayString)((0,t.unref)(s)(`common.shootoutShort`)),1)):(0,t.createCommentVNode)(``,!0),e.seriesStandings?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Cu,(0,t.toDisplayString)(e.seriesStandings),1)):(0,t.createCommentVNode)(``,!0)]),"cell-broadcast":(0,t.withCtx)(({row:e})=>[e.broadcast?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(va),{key:0})):((0,t.openBlock)(),(0,t.createElementBlock)(`span`,wu))]),"cell-location":(0,t.withCtx)(({row:e})=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.location?.locationName??``),1)]),"cell-more":(0,t.withCtx)(({row:n})=>[(0,t.createVNode)(jl,{offset:2,placement:`left`,theme:`content`,"append-to":i},{default:(0,t.withCtx)(({setRef:e,open:n,toggle:r,nextFocus:i})=>[(0,t.createElementVNode)(`button`,{ref:e,type:`button`,"aria-label":`more`,"data-state":n?`open`:`closed`,class:`icon-button`,onClick:(0,t.withModifiers)(r,[`stop`,`prevent`]),onKeydown:(0,t.withKeys)(i,[`tab`])},[(0,t.createVNode)((0,t.unref)(Ra))],40,Tu)]),content:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`ul`,Eu,[(0,t.createElementVNode)(`li`,null,[(0,t.createElementVNode)(`a`,{href:e.externalGameResolver(n.gameId),class:`is-dropdown-item`,target:e.externalGameResolverTarget},[(0,t.createElementVNode)(`div`,Ou,[(0,t.createVNode)((0,t.unref)(Ka))]),(0,t.createElementVNode)(`div`,ku,(0,t.toDisplayString)((0,t.unref)(s)(`common.report`)),1)],8,Du)]),n.video?((0,t.openBlock)(),(0,t.createElementBlock)(`li`,Au,[(0,t.createElementVNode)(`a`,{href:n.video,class:`is-dropdown-item`,target:`_blank`},[(0,t.createElementVNode)(`div`,Mu,[(0,t.createVNode)((0,t.unref)(So))]),(0,t.createElementVNode)(`div`,Nu,(0,t.toDisplayString)((0,t.unref)(s)(`common.video`)),1)],8,ju)])):(0,t.createCommentVNode)(``,!0)])]),_:2},1032,[`append-to`])]),loading:(0,t.withCtx)(()=>[(0,t.createVNode)(iu)]),_:2},1032,[`columns`,`rows`,`is-loading`,`append-to`])]),_:1}),(0,t.createElementVNode)(`div`,{ref_key:`tooltipContainer`,ref:r},null,512)],64))}},Fu={class:`flex-container mb-md`},Iu=[`value`],Lu={key:0,class:`tabs underlined mb-md`},Ru=[`aria-label`],zu=[`aria-selected`,`onClick`],Bu={__name:`SeasonSelector`,props:{seasons:{type:Array,default:()=>[]},championshipId:{type:Number,default:0},sections:{type:Array,default:()=>[]},sectionId:{type:Number,default:0},isSectionSelectionDisabled:{type:Boolean,default:!1}},emits:[`onChangeSeason`,`onChangeSection`],setup(e,{emit:n}){let r=e,i=n,{t:a}=H(),o=(0,t.computed)({get(){return r.championshipId},set(e){i(`onChangeSeason`,e)}});function s(e){i(`onChangeSection`,e)}return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.createElementVNode)(`div`,Fu,[(0,t.createVNode)(ql,{label:(0,t.unref)(a)(`selection.season`),name:`season`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(ua,{id:`season`,modelValue:o.value,"onUpdate:modelValue":r[0]||=e=>o.value=e},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.seasons,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`option`,{key:e.championshipId,value:e.championshipId},(0,t.toDisplayString)(e.seasonName),9,Iu))),128))]),_:1},8,[`modelValue`])]),_:1},8,[`label`]),(0,t.renderSlot)(n.$slots,`default`)]),e.isSectionSelectionDisabled?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`nav`,Lu,[(0,t.createElementVNode)(`div`,{role:`tablist`,"aria-label":(0,t.unref)(a)(`selection.sections`)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.sections,n=>((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:n.phaseId,role:`tab`,type:`button`,"aria-selected":n.phaseName===e.sectionId,onClick:e=>s(n)},(0,t.toDisplayString)(n.phaseName),9,zu))),128))],8,Ru)]))],64))}},Vu={class:`avatar`},Hu=[`href`],Uu={class:`is-team-name-long`},Wu={class:`is-team-name-short`},Gu={class:`is-team-name-long`},Ku={key:0},qu={class:`is-team-name-short`},Ju={key:0},Yu={class:`is-team-name-long`},Xu={class:`is-team-name-short`},Zu={class:`is-team-name-long`},Qu={class:`is-team-name-short`},$u=[`href`],ed={key:0,class:`text-highlighted`},td=[`href`,`target`],nd={key:0,class:`badge`},rd={key:1,class:`badge`},id={key:2,class:`badge`},ad={__name:`StatisticsTable`,props:{columns:{type:Object,required:!0},rows:{type:Array,default:()=>[]},isLoading:{type:Boolean,deafult:!1},hideColumns:{type:String,default:``},sort:{type:Object,default:()=>({})},externalTeamResolver:{type:Function,required:!0},externalPlayerResolver:{type:Function,default:()=>{}},externalGameResolver:{type:Function,default:()=>{}},externalGameResolverTarget:{type:String,default:`_self`},isTeamLinked:{type:Boolean,default:!1},isPlayerLinked:{type:Boolean,default:!1},appendTo:{type:[Object,String],default:null},offsetName:{type:String,default:``}},emits:[`sort`],setup(e,{emit:n}){let r=e,i=n,{columns:a,hideColumns:o}=(0,t.toRefs)(r),{onError:s}=fr(),{t:c}=H(),{columns:l,error:u}=rr(a,o,(0,t.computed)(()=>({offsetName:r.offsetName})));u.value&&s(new Ns(Ps.message,{...Ps.options,cause:{column:u.value}}));let d=e=>i(`sort`,e);return(n,i)=>((0,t.openBlock)(),(0,t.createBlock)(mu,null,{default:(0,t.withCtx)(({el:a})=>[(0,t.createVNode)(Bl,{columns:(0,t.unref)(l),sort:r.sort,rows:r.rows,"is-loading":e.isLoading,"append-to":e.appendTo||a,onSort:d},(0,t.createSlots)({"cell-index":(0,t.withCtx)(({row:e})=>[(0,t.createElementVNode)(`span`,{class:(0,t.normalizeClass)(e.indexClass)},(0,t.toDisplayString)(e.index),3)]),"cell-playerPortrait":(0,t.withCtx)(({row:e})=>[(0,t.createElementVNode)(`div`,Vu,[((0,t.openBlock)(),(0,t.createBlock)(nu,{key:e.player.playerId,src:e.player.picture,"default-src":(0,t.unref)(m)},null,8,[`src`,`default-src`]))])]),"cell-teamLogo":(0,t.withCtx)(({row:e})=>[((0,t.openBlock)(),(0,t.createBlock)(nu,{key:e.team?.id??e.id,class:`is-logo-image`,src:e.team?.logo},null,8,[`src`]))]),"cell-homeTeamLogo":(0,t.withCtx)(({row:e})=>[((0,t.openBlock)(),(0,t.createBlock)(nu,{key:e.homeTeam?.id,class:`is-logo-image is-right`,src:e.homeTeam?.logo},null,8,[`src`]))]),"cell-awayTeamLogo":(0,t.withCtx)(({row:e})=>[((0,t.openBlock)(),(0,t.createBlock)(nu,{key:e.awayTeam?.id,class:`is-logo-image is-right`,src:e.awayTeam?.logo},null,8,[`src`]))]),"cell-teamName":(0,t.withCtx)(({row:n})=>[e.isTeamLinked?((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:0,href:e.externalTeamResolver(n),target:`_blank`},[(0,t.createElementVNode)(`span`,Uu,(0,t.toDisplayString)(n.team?.longName),1),(0,t.createElementVNode)(`span`,Wu,(0,t.toDisplayString)(n.team?.shortName),1)],8,Hu)):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.createElementVNode)(`span`,Gu,[(0,t.createTextVNode)((0,t.toDisplayString)(n.team?.longName)+` `,1),n.penaltyPoints?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Ku,[...i[0]||=[(0,t.createElementVNode)(`sup`,null,`*`,-1)]])):(0,t.createCommentVNode)(``,!0)]),(0,t.createElementVNode)(`span`,qu,[(0,t.createTextVNode)((0,t.toDisplayString)(n.team?.shortName)+` `,1),n.penaltyPoints?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Ju,[...i[1]||=[(0,t.createElementVNode)(`sup`,null,`*`,-1)]])):(0,t.createCommentVNode)(``,!0)])],64))]),"cell-homeTeamName":(0,t.withCtx)(({row:e})=>[(0,t.createElementVNode)(`span`,Yu,(0,t.toDisplayString)(e.homeTeam?.longName),1),(0,t.createElementVNode)(`span`,Xu,(0,t.toDisplayString)(e.homeTeam?.shortName),1)]),"cell-awayTeamName":(0,t.withCtx)(({row:e})=>[(0,t.createElementVNode)(`span`,Zu,(0,t.toDisplayString)(e.awayTeam?.longName),1),(0,t.createElementVNode)(`span`,Qu,(0,t.toDisplayString)(e.awayTeam?.shortName),1)]),"cell-location":(0,t.withCtx)(({row:e})=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.location?.locationName??``),1)]),"cell-gameResult":(0,t.withCtx)(({row:n})=>[n.gameStatus===0?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,ed,`-:-`)):((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:1,href:e.externalGameResolver(n),target:e.externalGameResolverTarget,class:(0,t.normalizeClass)({"text-highlighted":n.gameStatus!==1,"is-text-accent":n.gameStatus===1})},(0,t.toDisplayString)(n.homeTeamScore)+`:`+(0,t.toDisplayString)(n.awayTeamScore),11,td))]),"cell-gameResultType":(0,t.withCtx)(({row:e})=>[e.isOvertime?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,nd,(0,t.toDisplayString)((0,t.unref)(c)(`common.overtimeShort`)),1)):(0,t.createCommentVNode)(``,!0),e.isShootout?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,rd,(0,t.toDisplayString)((0,t.unref)(c)(`common.shootoutShort`)),1)):(0,t.createCommentVNode)(``,!0),e.seriesStandings?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,id,(0,t.toDisplayString)(e.seriesStandings),1)):(0,t.createCommentVNode)(``,!0)]),loading:(0,t.withCtx)(()=>[(0,t.createVNode)(iu)]),_:2},[e.isPlayerLinked?{name:`cell-name`,fn:(0,t.withCtx)(({row:n})=>[(0,t.createElementVNode)(`a`,{href:e.externalPlayerResolver(n),target:`_blank`},(0,t.toDisplayString)(n.name),9,$u)]),key:`0`}:void 0,n.$slots.caption?{name:`caption`,fn:(0,t.withCtx)(()=>[(0,t.renderSlot)(n.$slots,`caption`)]),key:`1`}:void 0]),1032,[`columns`,`sort`,`rows`,`is-loading`,`append-to`])]),_:3}))}},od={class:`timezone-selector`},sd=[`onClick`],cd={__name:`TimezoneSelector`,props:{locale:{type:String,default:`hu`},currentZone:{type:String,required:!0}},emits:[`change`],setup(e,{emit:n}){let r=e,i=n,{t:a}=H(),o=(0,t.computed)(()=>wi(new Date,null,r.locale)),s=Si(),c=(0,t.computed)(()=>Array.from(C.values(),e=>({...e,isActive:wi(new Date,r.currentZone,r.locale)===wi(new Date,e.timezone,r.locale),zoneOffsetName:wi(new Date,e.timezone,r.locale)}))),l=e=>i(`change`,e);return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,od,[(0,t.createVNode)((0,t.unref)(nr),{path:`common.selectTimezone`,tag:`span`},{timezone:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`button`,{type:`button`,"data-variant":`link`,onClick:n[0]||=e=>l((0,t.unref)(s))},(0,t.toDisplayString)(o.value),1)]),_:1}),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(c.value,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:e.countryLabelKey,type:`button`,"data-variant":`link`,class:(0,t.normalizeClass)({"is-active":e.isActive}),onClick:(0,t.withModifiers)(t=>l(e.timezone),[`prevent`])},(0,t.toDisplayString)((0,t.unref)(a)(`common.${e.countryLabelKey}`))+` (`+(0,t.toDisplayString)(e.zoneOffsetName)+`) `,11,sd))),128))]))}},ld={locale:{type:String,default:`hu`},championshipId:{type:String,default:``},division:{type:String,default:``},phaseId:{type:String,default:``},apiKey:{type:String,default:``},hideColumns:{type:String,default:``}},ud={externalTeamResolver:{type:[String,Function],default:``},isTeamLinked:{type:Boolean,default:!1}},dd={limit:{type:Number,default:20},teamFilterByName:{type:String,default:``},externalPlayerResolver:{type:[String,Function],default:``},isPlayerLinked:{type:Boolean,default:!1}},fd={externalGameResolver:{type:[String,Function],default:``},isGameTargetExternal:{type:Boolean,default:!1}};function pd({app:e=null,modules:t=[],apiKey:n,gameResolver:r,teamResolver:i,playerResolver:a}){if(window.__MJSZ_VBR_WIDGET__={apiKey:n,gameResolver:r,teamResolver:i,playerResolver:a},t.length===0)throw Error(`At least one module must be set`);t.forEach(t=>{if(e)return e.use(t);if(t.register)return t.register();t?.install()})}return e.AVAILABLE_TIMEZONES_BY_COUNTRY=C,e.AdditionalStandingsText=la,e.BaseSelect=ua,e.COLUMNS_FIELD_PLAYERS=re,e.COLUMNS_FIELD_PLAYERS_PENALTY=ie,e.COLUMNS_FIELD_PLAYERS_TOI=ae,e.COLUMNS_GOALIES=oe,e.COLUMNS_PLAYERS_NATIONAL=se,e.COLUMNS_SCHEDULE=E,e.COLUMNS_SCORING_EFFICIENCY=fe,e.COLUMNS_STANDINGS_P_2=te,e.COLUMNS_STANDINGS_P_3=ee,e.COLUMNS_STANDINGS_P_PER=D,e.COLUMNS_STANDINGS_SHORT=ne,e.COLUMNS_TEAMS_FAIRPLAY=le,e.COLUMNS_TEAMS_PENALTY_KILLING=ue,e.COLUMNS_TEAMS_POWERPLAY=de,e.COLUMNS_TEAM_ATTENDANCE=ce,e.DEFAULT_EXTERNAL_GAME_URL=p,e.DEFAULT_EXTERNAL_PLAYER_URL=h,e.DEFAULT_EXTERNAL_STATISTIC_URL=_,e.DEFAULT_EXTERNAL_TEAM_URL=g,e.DEFAULT_PORTRAIT_IMAGE_URL=m,e.DataTable=Bl,e.ErrorNotice=Ul,e.ErrorProvider=Wl,e.FLAG_BASE_URL=v,e.FetchMoreObserver=Ce,e.FloatingPanel=jl,e.FormField=ql,e.I18NProvider=$l,e.Image=nu,e.InvalidSeasonName=Fs,e.LAZY_LOADING_STATE_DELAY=T,e.LOCALE_FOR_LANG=S,e.LoadingIndicator=iu,e.Paginator=pu,e.REFRESH_DELAY=w,e.ResponsiveTable=mu,e.SORT_STATE_ASCEND=x,e.SORT_STATE_DESCEND=b,e.SORT_STATE_ORIGINAL=y,e.ScheduleTable=Pu,e.SeasonSelector=Bu,e.StatisticsTable=ad,e.TimezoneSelector=cd,e.UndefinedColumn=Ps,e.VBR_API_BASE_URL=d,e.VBR_API_WEBSOCKET_BASE_URL=f,e.WidgetError=Ns,e.addDays=zi,e.appendTo=js,e.baseProps=ld,e.clone=Wt,e.convert=Oo,e.convertAddress=Es,e.convertGameEvents=fs,e.convertGameNames=Go,e.convertGameOfficials=vs,e.convertGamePeriodResults=Wo,e.convertMinToMinSec=Oi,e.convertMinToSec=Ei,e.convertPenaltyCauseName=ss,e.convertPeriodResults=cs,e.convertPeriodResultsToArray=ls,e.convertPhaseName=Zo,e.convertSeasons=$o,e.convertSecToMin=Di,e.convertTeams=es,e.convertTimes=Vo,e.convertTimesMinToMinSec=Ho,e.convertTimesSecToMin=Uo,e.cookie=As,e.createConfig=pd,e.createI18n=Zn,e.currentWeek=Ii,e.currentWeekStartEnd=Li,e.default={install:(e,t={})=>pd({app:e,...t})},e.endOfMonth=Vi,e.externalGameLinkResolver=Rs,e.externalPlayerLinkResolver=Bs,e.externalStatisticLinkResolver=Vs,e.externalTeamLinkResolver=zs,e.fetchVBRData=mr,e.filterAllowedClasses=lr,e.filterAndSortSections=ts,e.filterGoalScorersFromEvents=ms,e.flagResolver=Hs,e.format=Ci,e.gameDateTime=Mo,e.gameProps=fd,e.gameResult=No,e.getLocalTimezone=Si,e.getWebsocketURL=Is,e.groupLines=ps,e.head=Xt,e.i18n=nr,e.isAfter=Pi,e.isBefore=Ni,e.isBetween=Ai,e.isEmpty=yn,e.isNotEmpty=bn,e.isSame=ji,e.isSameOrBefore=ki,e.isToday=Fi,e.joinOfficals=ds,e.last=tn,e.localeSort=qo,e.map=F,e.max=Ui,e.mergeLeft=kn,e.mergePlayerStats=ws,e.min=Hi,e.offsetName=wi,e.omit=jn,e.path=R,e.pick=Fn,e.pickCoaches=hs,e.pipe=Jt,e.playerName=Ao,e.playerStatsProps=dd,e.prop=I,e.propEq=In,e.rawConvert=ko,e.reject=P,e.removeCurrentFromSeasonStats=bs,e.removeUnneededPhases=Ss,e.resolveApiKey=Us,e.reverse=Yt,e.scheduleOptionalRowClass=zo,e.scrollToTop=Ws,e.selectFirstPhaseName=rs,e.selectFirstSectionId=ns,e.selectLastSections=os,e.sortBy=z,e.sortByDomNode=Ms,e.sortByEventTimeSec=_s,e.sortByPhaseId=is,e.sortByStartingFive=us,e.sortGames=Ko,e.standingTableSort=ys,e.startOfMonth=Bi,e.subtractDays=Ri,e.sum=Tn,e.teamName=jo,e.teamOpponent=Po,e.teamResultType=Fo,e.teamStatsProps=ud,e.templateReplacer=U,e.toKebabCase=cr,e.transformCurrentSeasonStats=xs,e.transformEventsForGameTimeline=gs,e.transformFieledPlayersStats=Ts,e.transformPlayers=as,e.transformRosters=Cs,e.upperCase=Bo,e.useAdditionalText=qn,e.useColumns=rr,e.useError=fr,e.useErrorProvider=dr,e.useGameDataSocket=Qr,e.useI18n=H,e.useLazyLoadingState=$r,e.usePage=Wi,e.useScrollToGameDate=Ki,e.useServices=qi,e.useSort=oa,e.useVisibilityChange=sa,e.validateColumnsName=ir,e.yearToNow=Mi,e})({},Vue);
|
|
8
|
+
var MjszVbrElementsCore=(function(e,t){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var n=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),l=(e,t,n,o)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=a(t),l=0,u=c.length,d;l<u;l++)d=c[l],!s.call(e,d)&&d!==n&&r(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(o=i(t,d))||o.enumerable});return e},u=(e,t,i)=>(i=e==null?{}:n(o(e)),l(t||!e||!e.__esModule?r(i,`default`,{value:e,enumerable:!0}):i,e)),d=`https://api.icehockey.hu`,f=`wss://api.icehockey.hu/socket/vbr`,p=`https://www.jegkorongszovetseg.hu/event/game/{gameId}`,m=`https://jegkorongszovetseg.hu/assets/images/player_blank.png`,h=`https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}`,g=`https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}`,_=`https://www.ersteliga.hu/stats?report={id}`,v=`https://api.icehockey.hu/static/api/flag`,y=`original`,b=`descend`,x=`ascend`,S=new Map().set(`hu`,`hu-hu`).set(`en`,`hu-gb`),C=new Map().set(`Europe/Budapest`,{countryLabelKey:`hungary`,timezone:`Europe/Budapest`}).set(`Europe/Bucharest`,{countryLabelKey:`romania`,timezone:`Europe/Bucharest`}),w=1e3*60*5,T=1e3,E={gameName:{label:`table.gameName.short`,tooltip:`table.gameName.tooltip`,class:`text-start text-dimmed`},gameDateDate:{label:`table.gameDate.short`,tooltip:`table.gameDate.tooltip`,class:`text-start`},gameDateTime:{label:`table.gameDateTime.short`,tooltip:`table.gameDateTime.tooltip`,class:`text-start`},homeTeamName:{label:`table.homeTeam.short`,tooltip:`table.homeTeam.tooltip`,class:`text-end w-auto font-bold`},homeTeamLogo:{label:``,class:`is-has-image`},gameResult:{label:``,class:`font-bold text-xl`},gameResultType:{label:``,tooltip:``},awayTeamLogo:{label:``,class:`is-has-image`},awayTeamName:{label:`table.awayTeam.short`,tooltip:`table.awayTeam.tooltip`,class:`text-start w-auto font-bold`},location:{label:`table.location.short`,tooltip:`table.location.tooltip`,class:`text-start`},broadcast:{label:`table.broadcast.short`,tooltip:`table.broadcast.tooltip`},more:{label:``}},D={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},gamesPlayed:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gamesPlayed`,direction:b}]},w:{label:`table.wins.short`,tooltip:`table.wins.tooltip`,sortOrders:[{target:`w`,direction:b},{target:`otw`,direction:b}]},otw:{label:`table.otw.short`,tooltip:`table.otw.tooltip`,sortOrders:[{target:`otw`,direction:b}]},sow:{label:`table.sow.short`,tooltip:`table.sow.tooltip`,sortOrders:[{target:`sow`,direction:b}]},sol:{label:`table.sol.short`,tooltip:`table.sol.tooltip`,sortOrders:[{target:`sol`,direction:b}]},otl:{label:`table.otl.short`,tooltip:`table.otl.tooltip`,sortOrders:[{target:`otl`,direction:x}]},l:{label:`table.losses.short`,tooltip:`table.losses.tooltip`,sortOrders:[{target:`l`,direction:x}]},gf:{label:`table.goalFor.short`,tooltip:`table.goalFor.tooltip`,sortOrders:[{target:`gf`,direction:b}]},ga:{label:`table.goalAgainst.short`,tooltip:`table.goalAgainst.tooltip`,sortOrders:[{target:`ga`,direction:x}]},gd:{label:`table.goalDiff.short`,tooltip:`table.goalDiff.tooltip`,sortOrders:[{target:`gd`,direction:b}]},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,class:`font-bold`,sortOrders:[{target:`points`,direction:b},{target:`gamesPlayed`,direction:x},{target:`w`,direction:b},{target:`gd`,direction:b},{target:`gf`,direction:b}]}},O={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},gamesPlayed:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gamesPlayed`,direction:b}]},pper:{label:`table.pper.short`,tooltip:`table.pper.tooltip`,sortOrders:[{target:`pper`,direction:b}]},w:{label:`table.wins.short`,tooltip:`table.wins.tooltip`,sortOrders:[{target:`w`,direction:b},{target:`otw`,direction:b}]},otw:{label:`table.otw.short`,tooltip:`table.otw.tooltip`,sortOrders:[{target:`otw`,direction:b}]},sow:{label:`table.sow.short`,tooltip:`table.sow.tooltip`,sortOrders:[{target:`sow`,direction:b}]},sol:{label:`table.sol.short`,tooltip:`table.sol.tooltip`,sortOrders:[{target:`sol`,direction:b}]},otl:{label:`table.otl.short`,tooltip:`table.otl.tooltip`,sortOrders:[{target:`otl`,direction:x}]},l:{label:`table.losses.short`,tooltip:`table.losses.tooltip`,sortOrders:[{target:`l`,direction:x}]},gf:{label:`table.goalFor.short`,tooltip:`table.goalFor.tooltip`,sortOrders:[{target:`gf`,direction:b}]},ga:{label:`table.goalAgainst.short`,tooltip:`table.goalAgainst.tooltip`,sortOrders:[{target:`ga`,direction:x}]},gd:{label:`table.goalDiff.short`,tooltip:`table.goalDiff.tooltip`,sortOrders:[{target:`gd`,direction:b}]},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,class:`font-bold`,sortOrders:[{target:`points`,direction:b},{target:`gamesPlayed`,direction:x},{target:`w`,direction:b},{target:`gd`,direction:b},{target:`gf`,direction:b}]}},ee={index:{label:`#`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},gamesPlayed:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gamesPlayed`,direction:b}]},w:{label:`table.wins.short`,tooltip:`table.wins.tooltip`,sortOrders:[{target:`w`,direction:b},{target:`d`,direction:b}]},d:{label:`table.draw.short`,tooltip:`table.draw.tooltip`,sortOrders:[{target:`d`,direction:b},{target:`w`,direction:b}]},l:{label:`table.losses.short`,tooltip:`table.losses.tooltip`,sortOrders:[{target:`l`,direction:x}]},gf:{label:`table.goalFor.short`,tooltip:`table.goalFor.tooltip`,sortOrders:[{target:`gf`,direction:b}]},ga:{label:`table.goalAgainst.short`,tooltip:`table.goalAgainst.tooltip`,sortOrders:[{target:`ga`,direction:x}]},gd:{label:`table.goalDiff.short`,tooltip:`table.goalDiff.tooltip`,sortOrders:[{target:`gd`,direction:b}]},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,class:`font-bold`,sortOrders:[{target:`points`,direction:b}]}},te={index:{label:`#`,class:`text-start italic text-dimmed`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`},gamesPlayed:{label:`table.game.short`,tooltip:`table.game.tooltip`,class:`text-dimmed`},w:{label:`table.wins.short`,tooltip:`table.wins.tooltip`,class:`text-dimmed`},l:{label:`table.losses.short`,tooltip:`table.losses.tooltip`,class:`text-dimmed`},gd:{label:`table.goalDiff.short`,tooltip:`table.goalDiff.tooltip`,class:`text-dimmed`},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,class:`font-bold`}},ne={index:{label:`#`,class:`text-start`},playerPortrait:{label:``,class:`has-avatar`},name:{label:`table.name.short`,tooltip:`table.name.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`name`,direction:x}]},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto`,sortOrders:[{target:`teamName`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},goals:{label:`table.goals.short`,tooltip:`table.goals.tooltip`,sortOrders:[{target:`goals`,direction:b},{target:`assists`,direction:b}]},assists:{label:`table.assists.short`,tooltip:`table.assists.tooltip`,sortOrders:[{target:`assists`,direction:b},{target:`goals`,direction:b}]},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,sortOrders:[{target:`points`,direction:b}]},plusMinus:{label:`table.plusMinus.short`,tooltip:`table.plusMinus.tooltip`,sortOrders:[{target:`plusMinus`,direction:b}]},shots:{label:`table.sog.short`,tooltip:`table.sog.tooltip`,sortOrders:[{target:`shots`,direction:b}]},shotPercent:{label:`table.sogPercent.short`,tooltip:`table.sogPercent.tooltip`,sortOrders:[{target:`shootPercent`,direction:b}]}},re={index:{label:`table.blank`,class:`text-start`},playerPortrait:{label:``,class:`has-avatar`},name:{label:`table.name.short`,tooltip:`table.name.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`name`,direction:x}]},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto`,sortOrders:[{target:`teamName`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},p2:{label:`table.minorPenalties.short`,tooltip:`table.minorPenalties.tooltip`,sortOrders:[{target:`p2`,direction:b},{target:`pim`,direction:b}]},p5:{label:`table.majorPenalties.short`,tooltip:`table.majorPenalties.tooltip`,sortOrders:[{target:`p5`,direction:b},{target:`pim`,direction:b}]},p10:{label:`table.misconducts.short`,tooltip:`table.misconducts.tooltip`,sortOrders:[{target:`p10`,direction:b},{target:`pim`,direction:b}]},p20:{label:`table.gameMisconducts.short`,tooltip:`table.gameMisconducts.tooltip`,sortOrders:[{target:`p20`,direction:b},{target:`pim`,direction:b}]},p25:{label:`table.matchPenalties.short`,tooltip:`table.matchPenalties.tooltip`,sortOrders:[{target:`p25`,direction:b},{target:`pim`,direction:b}]},pim:{label:`table.pim.short`,tooltip:`table.pim.tooltip`,sortOrders:[{target:`pim`,direction:b}]}},ie={index:{label:`#`,class:`text-start`},playerPortrait:{label:``,class:`has-avatar`},name:{label:`table.name.short`,tooltip:`table.name.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`name`,direction:x}]},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto`,sortOrders:[{target:`teamName`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},toiMin:{label:`table.toi.short`,tooltip:`table.toi.tooltip`,sortOrders:[{target:`toi`,direction:b}]},atoiMin:{label:`table.atoi.short`,tooltip:`table.atoi.tooltip`,sortOrders:[{target:`atoi`,direction:b}]},shf:{label:`table.shf.short`,tooltip:`table.shf.tooltip`,sortOrders:[{target:`shf`,direction:b}]},ashf:{label:`table.ashf.short`,tooltip:`table.ashf.tooltip`,sortOrders:[{target:`ashf`,direction:b}]},eqToiMin:{label:`table.eqToi.short`,tooltip:`table.eqToi.tooltip`,sortOrders:[{target:`eqToi`,direction:b}]},pp1ToiMin:{label:`table.pp1Toi.short`,tooltip:`table.pp1Toi.tooltip`,sortOrders:[{target:`pp1Toi`,direction:b}]},pp2ToiMin:{label:`table.pp2Toi.short`,tooltip:`table.pp2Toi.tooltip`,sortOrders:[{target:`pp2Toi`,direction:b}]},sh1ToiMin:{label:`table.sh1Toi.short`,tooltip:`table.sh1Toi.tooltip`,sortOrders:[{target:`sh1Toi`,direction:b}]},sh2ToiMin:{label:`table.sh2Toi.short`,tooltip:`table.sh2Toi.tooltip`,sortOrders:[{target:`sh2Toi`,direction:b}]},eqAToiMin:{label:`table.eqAToi.short`,tooltip:`table.eqAToi.tooltip`,sortOrders:[{target:`eqAToi`,direction:b}]},pp1AToiMin:{label:`table.pp1AToi.short`,tooltip:`table.pp1AToi.tooltip`,sortOrders:[{target:`pp1AToi`,direction:b}]},pp2AToiMin:{label:`table.pp2AToi.short`,tooltip:`table.pp2AToi.tooltip`,sortOrders:[{target:`pp2AToi`,direction:b}]},sh1AToiMin:{label:`table.sh1AToi.short`,tooltip:`table.sh1AToi.tooltip`,sortOrders:[{target:`sh1AToi`,direction:b}]},sh2AToiMin:{label:`table.sh2AToi.short`,tooltip:`table.sh2AToi.tooltip`,sortOrders:[{target:`sh2AToi`,direction:b}]}},ae={index:{label:`table.blank`,class:`text-start`},playerPortrait:{label:``,class:`has-avatar`},name:{label:`table.name.short`,tooltip:`table.name.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`name`,direction:x}]},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto`,sortOrders:[{target:`teamName`,direction:x}]},gkd:{label:`table.gpgk.short`,tooltip:`table.gpgk.tooltip`,sortOrders:[{target:`gkd`,direction:b}]},gpi:{label:`table.gpi.short`,tooltip:`table.gpi.tooltip`,sortOrders:[{target:`gpi`,direction:b}]},so:{label:`table.so.short`,tooltip:`table.so.tooltip`,sortOrders:[{target:`so`,direction:b}]},mipMin:{label:`table.toi.short`,tooltip:`table.toi.tooltip`,sortOrders:[{target:`mip`,direction:b}]},mipPercent:{label:`table.toiPercent.short`,tooltip:`table.toiPercent.tooltip`,sortOrders:[{target:`mipPercent`,direction:b}]},ga:{label:`table.ga.short`,tooltip:`table.ga.tooltip`,sortOrders:[{target:`ga`,direction:b}]},gaa:{label:`table.gaa.short`,tooltip:`table.gaa.tooltip`,sortOrders:[{target:`gaa`,direction:b}]},sog:{label:`table.sa.short`,tooltip:`table.sa.tooltip`,sortOrders:[{target:`sog`,direction:b}]},svs:{label:`table.svs.short`,tooltip:`table.svs.tooltip`,sortOrders:[{target:`svs`,direction:b}]},svsPercent:{label:`table.svsPercent.short`,tooltip:`table.svsPercent.tooltip`,sortOrders:[{target:`svsPercent`,direction:b}]}},oe={index:{label:`#`,class:`text-start`},playerPortrait:{label:``,class:`has-avatar`},name:{label:`table.name.short`,tooltip:`table.name.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`name`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},goals:{label:`table.goals.short`,tooltip:`table.goals.tooltip`,sortOrders:[{target:`goals`,direction:b},{target:`assists`,direction:b}]},assist:{label:`table.assists.short`,tooltip:`table.assists.tooltip`,sortOrders:[{target:`assist`,direction:b},{target:`goals`,direction:b}]},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,sortOrders:[{target:`points`,direction:b}]}},se={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},home:{label:`table.homeHeader.short`},homeGame:{label:`table.homeGame.short`,tooltip:`table.homeGame.tooltip`,sortOrders:[{target:`homeGame`,direction:b}]},homeAttendance:{label:`table.homeAttendance.short`,tooltip:`table.homeAttendance.tooltip`,sortOrders:[{target:`homeAttendance`,direction:b}]},homeAttendanceAvg:{label:`table.homeAttendanceAvg.short`,tooltip:`table.homeAttendanceAvg.tooltip`,sortOrders:[{target:`homeAttendanceAvg`,direction:b}]},away:{label:`table.awayHeader.short`},awayGame:{label:`table.awayGame.short`,tooltip:`table.awayGame.tooltip`,sortOrders:[{target:`awayGame`,direction:b}]},awayAttendance:{label:`table.awayAttendance.short`,tooltip:`table.awayAttendance.tooltip`,sortOrders:[{target:`awayAttendance`,direction:b}]},awayAttendanceAvg:{label:`table.awayAttendanceAvg.short`,tooltip:`table.awayAttendanceAvg.tooltip`,sortOrders:[{target:`awayAttendanceAvg`,direction:b}]},total:{label:`table.totalHeader.short`},totalGame:{label:`table.totalGame.short`,tooltip:`table.totalGame.tooltip`,sortOrders:[{target:`totalGame`,direction:b}]},totalAttendance:{label:`table.totalAttendance.short`,tooltip:`table.totalAttendance.tooltip`,sortOrders:[{target:`totalAttendance`,direction:b}]},totalAttendanceAvg:{label:`table.totalAttendanceAvg.short`,tooltip:`table.totalAttendanceAvg.tooltip`,sortOrders:[{target:`totalAttendanceAvg`,direction:b}]}},ce={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},p2:{label:`table.minorPenalties.short`,tooltip:`table.minorPenalties.tooltip`,sortOrders:[{target:`p2`,direction:b},{target:`pim`,direction:b}]},p5:{label:`table.majorPenalties.short`,tooltip:`table.majorPenalties.tooltip`,sortOrders:[{target:`p5`,direction:b},{target:`pim`,direction:b}]},p10:{label:`table.misconducts.short`,tooltip:`table.misconducts.tooltip`,sortOrders:[{target:`p10`,direction:b},{target:`pim`,direction:b}]},p20:{label:`table.gameMisconducts.short`,tooltip:`table.gameMisconducts.tooltip`,sortOrders:[{target:`p20`,direction:b},{target:`pim`,direction:b}]},p25:{label:`table.matchPenalties.short`,tooltip:`table.matchPenalties.tooltip`,sortOrders:[{target:`p25`,direction:b},{target:`pim`,direction:b}]},pimPerGame:{label:`table.pimPerGame.short`,tooltip:`table.pimPerGame.tooltip`,sortOrders:[{target:`pimPerGame`,direction:b}]},pim:{label:`table.pim.short`,tooltip:`table.pim.tooltip`,sortOrders:[{target:`pim`,direction:b}]}},le={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},dvg:{label:`table.powerplayDisadvantages.short`,tooltip:`table.powerplayDisadvantages.tooltip`,sortOrders:[{target:`dvg`,direction:b}]},dvgTimeMin:{label:`table.dvgTime.short`,tooltip:`table.dvgTime.tooltip`,sortOrders:[{target:`dvgTime`,direction:b}]},dvgTimePP1Min:{label:`table.dvgTimePP1.short`,tooltip:`table.dvgTimePP1.tooltip`,sortOrders:[{target:`dvgTimePP1`,direction:b}]},dvgTimePP2Min:{label:`table.dvgTimePP2.short`,tooltip:`table.dvgTimePP2.tooltip`,sortOrders:[{target:`dvgTimePP2`,direction:b}]},ppga:{label:`table.ppga.short`,tooltip:`table.ppga.tooltip`,sortOrders:[{target:`ppga`,direction:b}]},shgf:{label:`table.shgf.short`,tooltip:`table.shgf.tooltip`,sortOrders:[{target:`shgf`,direction:b}]},pkPercent:{label:`table.pkPercent.short`,tooltip:`table.pkPercent.tooltip`,sortOrders:[{target:`pkPercent`,direction:b}]}},ue={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},adv:{label:`table.adv.short`,tooltip:`table.adv.tooltip`,sortOrders:[{target:`adv`,direction:b}]},advTimeMin:{label:`table.advTime.short`,tooltip:`table.advTime.tooltip`,sortOrders:[{target:`advTime`,direction:b}]},advTimePP1Min:{label:`table.advTimePP1.short`,tooltip:`table.advTimePP1.tooltip`,sortOrders:[{target:`advTimePP1`,direction:b}]},advTimePP2Min:{label:`table.advTimePP2.short`,tooltip:`table.advTimePP2.tooltip`,sortOrders:[{target:`advTimePP2`,direction:b}]},ppgf:{label:`table.ppgf.short`,tooltip:`table.ppgf.tooltip`,sortOrders:[{target:`ppgf`,direction:b}]},shga:{label:`table.shga.short`,tooltip:`table.shga.tooltip`,sortOrders:[{target:`shga`,direction:b}]},ppPercent:{label:`table.ppPercent.short`,tooltip:`table.ppPercent.tooltip`,sortOrders:[{target:`ppPercent`,direction:b}]}},de={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},gp:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gp`,direction:b}]},gf:{label:`table.goalFor.short`,tooltip:`table.goalFor.tooltip`,sortOrders:[{target:`gf`,direction:b}]},ga:{label:`table.goalAgainst.short`,tooltip:`table.goalAgainst.tooltip`,sortOrders:[{target:`ga`,direction:x}]},gd:{label:`table.goalDiff.short`,tooltip:`table.goalDiff.tooltip`,sortOrders:[{target:`gd`,direction:b}]},gfPerGp:{label:`table.gfgp.short`,tooltip:`table.gfgp.tooltip`,sortOrders:[{target:`gfPerGp`,direction:b}]},gaPerGp:{label:`table.gagp.short`,tooltip:`table.gagp.tooltip`,sortOrders:[{target:`gaPerGp`,direction:x}]},s:{label:`table.sog.short`,tooltip:`table.sog.tooltip`,sortOrders:[{target:`s`,direction:b}]},sa:{label:`table.sa.short`,tooltip:`table.sa.tooltip`,sortOrders:[{target:`sa`,direction:x}]},shotsPerGp:{label:`table.sogp.short`,tooltip:`table.sogp.tooltip`,sortOrders:[{target:`shotsPerGp`,direction:b}]},saPerGp:{label:`table.sagp.short`,tooltip:`table.sagp.tooltip`,sortOrders:[{target:`shotsPerGp`,direction:x}]},sp:{label:`table.sogPercent.short`,tooltip:`table.sogPercent.tooltip`,sortOrders:[{target:`sp`,direction:b}]}};function fe(e){return(0,t.getCurrentScope)()?((0,t.onScopeDispose)(e),!0):!1}function pe(e){return typeof e==`function`?e():(0,t.unref)(e)}var me=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var he=e=>e!=null,ge=()=>{};function _e(e){let t=pe(e);return t?.$el??t}var ve=me?window:void 0;function ye(){let e=(0,t.ref)(!1);return(0,t.getCurrentInstance)()&&(0,t.onMounted)(()=>{e.value=!0}),e}function be(e){let n=ye();return(0,t.computed)(()=>(n.value,!!e()))}function xe(e,n,r={}){let{root:i,rootMargin:a=`0px`,threshold:o=.1,window:s=ve,immediate:c=!0}=r,l=be(()=>s&&`IntersectionObserver`in s),u=(0,t.computed)(()=>{let t=pe(e);return(Array.isArray(t)?t:[t]).map(_e).filter(he)}),d=ge,f=(0,t.ref)(c),p=l.value?(0,t.watch)(()=>[u.value,_e(i),f.value],([e,t])=>{if(d(),!f.value||!e.length)return;let r=new IntersectionObserver(n,{root:_e(t),rootMargin:a,threshold:o});e.forEach(e=>e&&r.observe(e)),d=()=>{r.disconnect(),d=ge}},{immediate:c,flush:`post`}):ge,m=()=>{d(),p(),f.value=!1};return fe(m),{isSupported:l,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:m}}var Se=(0,t.defineComponent)({name:`FetchMoreObserver`,props:[`as`,`options`],emits:[`intersect`],setup(e,{slots:n,emit:r}){let i=(0,t.ref)(null),{stop:a}=xe(i,([{isIntersecting:e}])=>{e&&r(`intersect`)},e.options);return(0,t.onUnmounted)(a),()=>{if(n.default)return(0,t.h)(e.as||`div`,{ref:i},n.default())}}});function k(e){return typeof e==`object`&&!!e&&e[`@@functional/placeholder`]===!0}function A(e){return function t(n){return arguments.length===0||k(n)?t:e.apply(this,arguments)}}function j(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return k(n)?t:A(function(t){return e(n,t)});default:return k(n)&&k(r)?t:k(n)?A(function(t){return e(t,r)}):k(r)?A(function(t){return e(n,t)}):e(n,r)}}}var Ce=j(function(e,t){return Number(e)+Number(t)});function we(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,a){return t.apply(this,arguments)};case 6:return function(e,n,r,i,a,o){return t.apply(this,arguments)};case 7:return function(e,n,r,i,a,o,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,a,o,s,c){return t.apply(this,arguments)};case 9:return function(e,n,r,i,a,o,s,c,l){return t.apply(this,arguments)};case 10:return function(e,n,r,i,a,o,s,c,l,u){return t.apply(this,arguments)};default:throw Error(`First argument to _arity must be a non-negative integer no greater than ten`)}}function Te(e,t,n){return function(){for(var r=[],i=0,a=e,o=0,s=!1;o<t.length||i<arguments.length;){var c;o<t.length&&(!k(t[o])||i>=arguments.length)?c=t[o]:(c=arguments[i],i+=1),r[o]=c,k(c)?s=!0:--a,o+=1}return!s&&a<=0?n.apply(this,r):we(Math.max(0,a),Te(e,r,n))}}var Ee=j(function(e,t){return e===1?A(t):we(e,Te(e,[],t))});function M(e){return function t(n,r,i){switch(arguments.length){case 0:return t;case 1:return k(n)?t:j(function(t,r){return e(n,t,r)});case 2:return k(n)&&k(r)?t:k(n)?j(function(t,n){return e(t,r,n)}):k(r)?j(function(t,r){return e(n,t,r)}):A(function(t){return e(n,r,t)});default:return k(n)&&k(r)&&k(i)?t:k(n)&&k(r)?j(function(t,n){return e(t,n,i)}):k(n)&&k(i)?j(function(t,n){return e(t,r,n)}):k(r)&&k(i)?j(function(t,r){return e(n,t,r)}):k(n)?A(function(t){return e(t,r,i)}):k(r)?A(function(t){return e(n,t,i)}):k(i)?A(function(t){return e(n,r,t)}):e(n,r,i)}}}var De=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)===`[object Array]`};function Oe(e){return e!=null&&typeof e[`@@transducer/step`]==`function`}function ke(e,t,n){return function(){if(arguments.length===0)return n();var r=arguments[arguments.length-1];if(!De(r)){for(var i=0;i<e.length;){if(typeof r[e[i]]==`function`)return r[e[i]].apply(r,Array.prototype.slice.call(arguments,0,-1));i+=1}if(Oe(r))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}function Ae(e){return e&&e[`@@transducer/reduced`]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var je={init:function(){return this.xf[`@@transducer/init`]()},result:function(e){return this.xf[`@@transducer/result`](e)}};function Me(e){for(var t=[],n;!(n=e.next()).done;)t.push(n.value);return t}function Ne(e,t,n){for(var r=0,i=n.length;r<i;){if(e(t,n[r]))return!0;r+=1}return!1}function Pe(e){var t=String(e).match(/^function (\w*)/);return t==null?``:t[1]}function N(e,t){return Object.prototype.hasOwnProperty.call(t,e)}function Fe(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var Ie=typeof Object.is==`function`?Object.is:Fe,Le=Object.prototype.toString,Re=function(){return Le.call(arguments)===`[object Arguments]`?function(e){return Le.call(e)===`[object Arguments]`}:function(e){return N(`callee`,e)}}(),ze=!{toString:null}.propertyIsEnumerable(`toString`),Be=[`constructor`,`valueOf`,`isPrototypeOf`,`toString`,`propertyIsEnumerable`,`hasOwnProperty`,`toLocaleString`],Ve=function(){"use strict";return arguments.propertyIsEnumerable(`length`)}(),He=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},Ue=typeof Object.keys==`function`&&!Ve?A(function(e){return Object(e)===e?Object.keys(e):[]}):A(function(e){if(Object(e)!==e)return[];var t,n,r=[],i=Ve&&Re(e);for(t in e)N(t,e)&&(!i||t!==`length`)&&(r[r.length]=t);if(ze)for(n=Be.length-1;n>=0;)t=Be[n],N(t,e)&&!He(r,t)&&(r[r.length]=t),--n;return r}),We=A(function(e){return e===null?`Null`:e===void 0?`Undefined`:Object.prototype.toString.call(e).slice(8,-1)});function Ge(e,t,n,r){var i=Me(e),a=Me(t);function o(e,t){return Ke(e,t,n.slice(),r.slice())}return!Ne(function(e,t){return!Ne(o,t,e)},a,i)}function Ke(e,t,n,r){if(Ie(e,t))return!0;var i=We(e);if(i!==We(t))return!1;if(typeof e[`fantasy-land/equals`]==`function`||typeof t[`fantasy-land/equals`]==`function`)return typeof e[`fantasy-land/equals`]==`function`&&e[`fantasy-land/equals`](t)&&typeof t[`fantasy-land/equals`]==`function`&&t[`fantasy-land/equals`](e);if(typeof e.equals==`function`||typeof t.equals==`function`)return typeof e.equals==`function`&&e.equals(t)&&typeof t.equals==`function`&&t.equals(e);switch(i){case`Arguments`:case`Array`:case`Object`:if(typeof e.constructor==`function`&&Pe(e.constructor)===`Promise`)return e===t;break;case`Boolean`:case`Number`:case`String`:if(!(typeof e==typeof t&&Ie(e.valueOf(),t.valueOf())))return!1;break;case`Date`:if(!Ie(e.valueOf(),t.valueOf()))return!1;break;case`Error`:return e.name===t.name&&e.message===t.message;case`RegExp`:if(!(e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.sticky===t.sticky&&e.unicode===t.unicode))return!1;break}for(var a=n.length-1;a>=0;){if(n[a]===e)return r[a]===t;--a}switch(i){case`Map`:return e.size===t.size?Ge(e.entries(),t.entries(),n.concat([e]),r.concat([t])):!1;case`Set`:return e.size===t.size?Ge(e.values(),t.values(),n.concat([e]),r.concat([t])):!1;case`Arguments`:case`Array`:case`Object`:case`Boolean`:case`Number`:case`String`:case`Date`:case`Error`:case`RegExp`:case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`ArrayBuffer`:break;default:return!1}var o=Ue(e);if(o.length!==Ue(t).length)return!1;var s=n.concat([e]),c=r.concat([t]);for(a=o.length-1;a>=0;){var l=o[a];if(!(N(l,t)&&Ke(t[l],e[l],s,c)))return!1;--a}return!0}var qe=j(function(e,t){return Ke(e,t,[],[])});function Je(e,t,n){var r,i;if(typeof e.indexOf==`function`)switch(typeof t){case`number`:if(t===0){for(r=1/t;n<e.length;){if(i=e[n],i===0&&1/i===r)return n;n+=1}return-1}else if(t!==t){for(;n<e.length;){if(i=e[n],typeof i==`number`&&i!==i)return n;n+=1}return-1}return e.indexOf(t,n);case`string`:case`boolean`:case`function`:case`undefined`:return e.indexOf(t,n);case`object`:if(t===null)return e.indexOf(t,n)}for(;n<e.length;){if(qe(e[n],t))return n;n+=1}return-1}function Ye(e,t){return Je(t,e,0)>=0}function Xe(e,t){for(var n=0,r=t.length,i=Array(r);n<r;)i[n]=e(t[n]),n+=1;return i}function Ze(e){return`"`+e.replace(/\\/g,`\\\\`).replace(/[\b]/g,`\\b`).replace(/\f/g,`\\f`).replace(/\n/g,`\\n`).replace(/\r/g,`\\r`).replace(/\t/g,`\\t`).replace(/\v/g,`\\v`).replace(/\0/g,`\\0`).replace(/"/g,`\\"`)+`"`}var Qe=function(e){return(e<10?`0`:``)+e},$e=typeof Date.prototype.toISOString==`function`?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+`-`+Qe(e.getUTCMonth()+1)+`-`+Qe(e.getUTCDate())+`T`+Qe(e.getUTCHours())+`:`+Qe(e.getUTCMinutes())+`:`+Qe(e.getUTCSeconds())+`.`+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+`Z`};function et(e){return function(){return!e.apply(this,arguments)}}function tt(e,t,n){for(var r=0,i=n.length;r<i;)t=e(t,n[r]),r+=1;return t}function nt(e,t){for(var n=0,r=t.length,i=[];n<r;)e(t[n])&&(i[i.length]=t[n]),n+=1;return i}function rt(e,t){for(var n=new Map,r=t.entries(),i=r.next();!i.done;)e(i.value[1])&&n.set(i.value[0],i.value[1]),i=r.next();return n}function it(e){return Object.prototype.toString.call(e)===`[object Map]`}function at(e){return Object.prototype.toString.call(e)===`[object Object]`}var ot=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype[`@@transducer/init`]=je.init,e.prototype[`@@transducer/result`]=je.result,e.prototype[`@@transducer/step`]=function(e,t){return this.f(t)?this.xf[`@@transducer/step`](e,t):e},e}();function st(e){return function(t){return new ot(e,t)}}var ct=j(ke([`fantasy-land/filter`,`filter`],st,function(e,t){return at(t)?tt(function(n,r){return e(t[r])&&(n[r]=t[r]),n},{},Ue(t)):it(t)?rt(e,t):nt(e,t)})),P=j(function(e,t){return ct(et(e),t)});function lt(e,t){var n=function(n){var r=t.concat([e]);return Ye(n,r)?`<Circular>`:lt(n,r)},r=function(e,t){return Xe(function(t){return Ze(t)+`: `+n(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(e)){case`[object Arguments]`:return`(function() { return arguments; }(`+Xe(n,e).join(`, `)+`))`;case`[object Array]`:return`[`+Xe(n,e).concat(r(e,P(function(e){return/^\d+$/.test(e)},Ue(e)))).join(`, `)+`]`;case`[object Boolean]`:return typeof e==`object`?`new Boolean(`+n(e.valueOf())+`)`:e.toString();case`[object Date]`:return`new Date(`+(isNaN(e.valueOf())?n(NaN):Ze($e(e)))+`)`;case`[object Map]`:return`new Map(`+n(Array.from(e))+`)`;case`[object Null]`:return`null`;case`[object Number]`:return typeof e==`object`?`new Number(`+n(e.valueOf())+`)`:1/e==-1/0?`-0`:e.toString(10);case`[object Set]`:return`new Set(`+n(Array.from(e).sort())+`)`;case`[object String]`:return typeof e==`object`?`new String(`+n(e.valueOf())+`)`:Ze(e);case`[object Undefined]`:return`undefined`;default:if(typeof e.toString==`function`){var i=e.toString();if(i!==`[object Object]`)return i}return`{`+r(e,Ue(e)).join(`, `)+`}`}}var ut=A(function(e){return lt(e,[])}),dt=j(function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var r=n(e,t);if(r!==void 0)return r;var i=n(typeof e,typeof t);if(i!==void 0)return i===typeof e?e:t;var a=ut(e),o=n(a,ut(t));return o===void 0?t:o===a?e:t}),ft=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype[`@@transducer/init`]=je.init,e.prototype[`@@transducer/result`]=je.result,e.prototype[`@@transducer/step`]=function(e,t){return this.xf[`@@transducer/step`](e,this.f(t))},e}(),F=j(ke([`fantasy-land/map`,`map`],function(e){return function(t){return new ft(e,t)}},function(e,t){switch(Object.prototype.toString.call(t)){case`[object Function]`:return Ee(t.length,function(){return e.call(this,t.apply(this,arguments))});case`[object Object]`:return tt(function(n,r){return n[r]=e(t[r]),n},{},Ue(t));default:return Xe(e,t)}})),pt=Number.isInteger||function(e){return e<<0===e};function mt(e,t){return t[e<0?t.length+e:e]}function ht(e,t){if(t!=null)return pt(e)?mt(e,t):t[e]}var I=j(ht),gt=j(function(e,t){return F(I(e),t)});function _t(e){return Object.prototype.toString.call(e)===`[object String]`}var vt=A(function(e){return De(e)?!0:!e||typeof e!=`object`||_t(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),yt=typeof Symbol<`u`?Symbol.iterator:`@@iterator`;function bt(e,t,n){return function(r,i,a){if(vt(a))return e(r,i,a);if(a==null)return i;if(typeof a[`fantasy-land/reduce`]==`function`)return t(r,i,a,`fantasy-land/reduce`);if(a[yt]!=null)return n(r,i,a[yt]());if(typeof a.next==`function`)return n(r,i,a);if(typeof a.reduce==`function`)return t(r,i,a,`reduce`);throw TypeError(`reduce: list must be array or iterable`)}}function xt(e,t,n){for(var r=0,i=n.length;r<i;){if(t=e[`@@transducer/step`](t,n[r]),t&&t[`@@transducer/reduced`]){t=t[`@@transducer/value`];break}r+=1}return e[`@@transducer/result`](t)}var St=j(function(e,t){return we(e.length,function(){return e.apply(t,arguments)})});function Ct(e,t,n){for(var r=n.next();!r.done;){if(t=e[`@@transducer/step`](t,r.value),t&&t[`@@transducer/reduced`]){t=t[`@@transducer/value`];break}r=n.next()}return e[`@@transducer/result`](t)}function wt(e,t,n,r){return e[`@@transducer/result`](n[r](St(e[`@@transducer/step`],e),t))}var Tt=bt(xt,wt,Ct),Et=function(){function e(e){this.f=e}return e.prototype[`@@transducer/init`]=function(){throw Error(`init not implemented on XWrap`)},e.prototype[`@@transducer/result`]=function(e){return e},e.prototype[`@@transducer/step`]=function(e,t){return this.f(e,t)},e}();function Dt(e){return new Et(e)}var Ot=M(function(e,t,n){return Tt(typeof e==`function`?Dt(e):e,t,n)}),kt=A(function(e){return Ee(Ot(dt,0,gt(`length`,e)),function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0})}),At=A(function(e){return function(){return e}}),jt=A(function(e){return Ee(Ot(dt,0,gt(`length`,e)),function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1})}),Mt=A(function(e){for(var t=Ue(e),n=t.length,r=[],i=0;i<n;)r[i]=e[t[i]],i+=1;return r}),Nt=M(function(e,t,n){var r=e(t),i=e(n);return r<i?-1:r>i?1:0}),Pt=A(function(e){return Ee(e.length,e)});function Ft(e,t,n){if(pt(e)&&De(n)){var r=e<0?n.length+e:e,i=[].concat(n);return i[r]=t,i}var a={};for(var o in n)a[o]=n[o];return a[e]=t,a}var It=A(function(e){return e==null}),Lt=M(function e(t,n,r){if(t.length===0)return n;var i=t[0];if(t.length>1){var a=ht(i,r);(It(a)||typeof a!=`object`)&&(a=pt(t[1])?[]:{}),n=e(Array.prototype.slice.call(t,1),n,a)}return Ft(i,n,r)}),Rt=M(function(e,t,n){return Lt([e],t,n)});function zt(e){var t=Object.prototype.toString.call(e);return t===`[object Function]`||t===`[object AsyncFunction]`||t===`[object GeneratorFunction]`||t===`[object AsyncGeneratorFunction]`}function Bt(e){return new RegExp(e.source,e.flags?e.flags:(e.global?`g`:``)+(e.ignoreCase?`i`:``)+(e.multiline?`m`:``)+(e.sticky?`y`:``)+(e.unicode?`u`:``)+(e.dotAll?`s`:``))}function Vt(e,t,n){if(n||=new Ut,Ht(e))return e;var r=function(r){var i=n.get(e);if(i)return i;for(var a in n.set(e,r),e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=t?Vt(e[a],!0,n):e[a]);return r};switch(We(e)){case`Object`:return r(Object.create(Object.getPrototypeOf(e)));case`Array`:return r(Array(e.length));case`Date`:return new Date(e.valueOf());case`RegExp`:return Bt(e);case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:return e.slice();default:return e}}function Ht(e){var t=typeof e;return e==null||t!=`object`&&t!=`function`}var Ut=function(){function e(){this.map={},this.length=0}return e.prototype.set=function(e,t){var n=this.hash(e),r=this.map[n];r||(this.map[n]=r=[]),r.push([e,t]),this.length+=1},e.prototype.hash=function(e){var t=[];for(var n in e)t.push(Object.prototype.toString.call(e[n]));return t.join()},e.prototype.get=function(e){if(this.length<=180){for(var t in this.map)for(var n=this.map[t],r=0;r<n.length;r+=1){var i=n[r];if(i[0]===e)return i[1]}return}var a=this.hash(e),n=this.map[a];if(n)for(var r=0;r<n.length;r+=1){var i=n[r];if(i[0]===e)return i[1]}},e}(),Wt=A(function(e){return e!=null&&typeof e.clone==`function`?e.clone():Vt(e,!0)});function Gt(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Kt(e,t){return function(){var n=arguments.length;if(n===0)return t();var r=arguments[n-1];return De(r)||typeof r[e]!=`function`?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}var qt=A(Kt(`tail`,M(Kt(`slice`,function(e,t,n){return Array.prototype.slice.call(n,e,t)}))(1,1/0)));function Jt(){if(arguments.length===0)throw Error(`pipe requires at least one argument`);return we(arguments[0].length,Ot(Gt,arguments[0],qt(arguments)))}var Yt=A(function(e){return _t(e)?e.split(``).reverse().join(``):Array.prototype.slice.call(e,0).reverse()});function L(){if(arguments.length===0)throw Error(`compose requires at least one argument`);return Jt.apply(this,Yt(arguments))}var Xt=A(function(e){return mt(0,e)}),Zt=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype[`@@transducer/init`]=je.init,e.prototype[`@@transducer/result`]=function(e){for(var t in this.inputs)if(N(t,this.inputs)&&(e=this.xf[`@@transducer/step`](e,this.inputs[t]),e[`@@transducer/reduced`])){e=e[`@@transducer/value`];break}return this.inputs=null,this.xf[`@@transducer/result`](e)},e.prototype[`@@transducer/step`]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,Vt(this.valueAcc,!1)],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}();function Qt(e,t,n){return function(r){return new Zt(e,t,n,r)}}var $t=Te(4,[],ke([],Qt,function(e,t,n,r){return Tt(Dt(function(r,i){var a=n(i),o=e(N(a,r)?r[a]:Vt(t,!1),i);return o&&o[`@@transducer/reduced`]?Ae(r):(r[a]=o,r)}),{},r)})),en=M(function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r<i?1:0}),tn=A(function(e){return mt(-1,e)});function nn(e){var t=Object.prototype.toString.call(e);return t===`[object Uint8ClampedArray]`||t===`[object Int8Array]`||t===`[object Uint8Array]`||t===`[object Int16Array]`||t===`[object Uint16Array]`||t===`[object Int32Array]`||t===`[object Uint32Array]`||t===`[object Float32Array]`||t===`[object Float64Array]`||t===`[object BigInt64Array]`||t===`[object BigUint64Array]`}var rn=A(function(e){return e!=null&&typeof e[`fantasy-land/empty`]==`function`?e[`fantasy-land/empty`]():e!=null&&e.constructor!=null&&typeof e.constructor[`fantasy-land/empty`]==`function`?e.constructor[`fantasy-land/empty`]():e!=null&&typeof e.empty==`function`?e.empty():e!=null&&e.constructor!=null&&typeof e.constructor.empty==`function`?e.constructor.empty():e==Set||e instanceof Set?new Set:e==Map||e instanceof Map?new Map:De(e)?[]:_t(e)?``:at(e)?{}:Re(e)?function(){return arguments}():nn(e)?e.constructor.from(``):void 0}),an=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype[`@@transducer/init`]=je.init,e.prototype[`@@transducer/result`]=function(e){return this.found||(e=this.xf[`@@transducer/step`](e,void 0)),this.xf[`@@transducer/result`](e)},e.prototype[`@@transducer/step`]=function(e,t){return this.f(t)&&(this.found=!0,e=Ae(this.xf[`@@transducer/step`](e,t))),e},e}();function on(e){return function(t){return new an(e,t)}}var sn=j(ke([`find`],on,function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return t[n];n+=1}})),cn=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.found=!1}return e.prototype[`@@transducer/init`]=je.init,e.prototype[`@@transducer/result`]=function(e){return this.found||(e=this.xf[`@@transducer/step`](e,-1)),this.xf[`@@transducer/result`](e)},e.prototype[`@@transducer/step`]=function(e,t){return this.idx+=1,this.f(t)&&(this.found=!0,e=Ae(this.xf[`@@transducer/step`](e,this.idx))),e},e}();function ln(e){return function(t){return new cn(e,t)}}var un=j(ke([],ln,function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return n;n+=1}return-1})),dn=j(Kt(`groupBy`,$t(function(e,t){return e.push(t),e},[]))),fn=M(function(e,t,n){return Ee(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})}),pn=j(Ye),mn=$t(function(e,t){return t},null),hn=M(function(e,t,n){return nt(function(t){return Ne(e,t,n)},t)});function gn(e){if(e==null)throw TypeError(`Cannot convert undefined or null to object`);for(var t=Object(e),n=1,r=arguments.length;n<r;){var i=arguments[n];if(i!=null)for(var a in i)N(a,i)&&(t[a]=i[a]);n+=1}return t}var _n=typeof Object.assign==`function`?Object.assign:gn,vn=j(function(e,t){return Ee(e+1,function(){var n=arguments[e];if(n!=null&&zt(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw TypeError(ut(n)+` does not have a method named "`+t+`"`)})}),yn=A(function(e){return e!=null&&qe(e,rn(e))}),bn=A(function(e){return!yn(e)}),xn=vn(1,`join`),Sn=j(function(e,t){return function(n){return function(r){return F(function(e){return t(e,r)},n(e(r)))}}});function Cn(e,t){for(var n=t,r=0;r<e.length;r+=1){if(n==null)return;var i=e[r];n=pt(i)?mt(i,n):n[i]}return n}var wn=A(function(e){return Sn(I(e),Rt(e))}),Tn=Ot(Ce,0),En=M(function(e,t,n){var r={},i;for(i in t||={},n||={},t)N(i,t)&&(r[i]=N(i,n)?e(i,t[i],n[i]):t[i]);for(i in n)N(i,n)&&!N(i,r)&&(r[i]=n[i]);return r}),Dn=M(function e(t,n,r){return En(function(n,r,i){return at(r)&&at(i)?e(t,r,i):t(n,r,i)},n,r)}),On=j(function(e,t){return Dn(function(e,t,n){return n},e,t)}),kn=j(function(e,t){return _n({},t,e)}),An=M(function(e,t,n){return En(function(t,n,r){return e(n,r)},t,n)}),jn=j(function(e,t){for(var n={},r={},i=0,a=e.length;i<a;)r[e[i]]=1,i+=1;for(var o in t)r.hasOwnProperty(o)||(n[o]=t[o]);return n}),Mn=function(e){return{value:e,map:function(t){return Mn(t(e))}}},Nn=M(function(e,t,n){return e(function(e){return Mn(t(e))})(n).value}),R=j(Cn),Pn=M(function(e,t,n){return qe(Cn(t,n),e)}),Fn=j(function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n}),In=M(function(e,t,n){return qe(e,I(t,n))}),Ln=M(function(e,t,n){return e(I(t,n))}),Rn=M(function(e,t,n){return n.replace(e,t)}),zn=j(function(e,t){return Array.prototype.slice.call(t,0).sort(e)}),z=j(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){var r=e(t),i=e(n);return r<i?-1:r>i?1:0})}),Bn=j(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,i=0;r===0&&i<e.length;)r=e[i](t,n),i+=1;return r})}),B=vn(1,`split`);function Vn(e){return Object.prototype.toString.call(e)===`[object RegExp]`}var Hn=j(function(e,t){if(!Vn(e))throw TypeError(`‘test’ requires a value of type RegExp as its first argument; received `+ut(e));return Bt(e).test(t)}),Un=vn(0,`toLowerCase`),Wn=vn(0,`toUpperCase`),Gn=`
|
|
9
|
+
\v\f\r \xA0 \u2028\u2029`,Kn=typeof String.prototype.trim!=`function`||Gn.trim()?A(function(e){var t=RegExp(`^[`+Gn+`][`+Gn+`]*`),n=RegExp(`[`+Gn+`][`+Gn+`]*$`);return e.replace(t,``).replace(n,``)}):A(function(e){return e.trim()});function qn(e,n,r,i){let a=(0,t.ref)(``),o=(0,t.ref)(!1),s=e=>{let t=ct(I(n),e),i=t.length>0;if(o.value=i,!i)return a.value=``;let s=t.map(e=>({team:e.team.longName,points:Math.abs(I(n,e))})).map(e=>r(`additionalText.${n}.content`,e)).join(`, `);a.value=[r(`additionalText.${n}.prependix`),s,...r(`additionalText.${n}.appendix`)&&[r(`additionalText.${n}.appendix`)]].join(` `)};return(0,t.watch)(e,s,{immediate:!0}),(0,t.watch)(()=>(0,t.unref)(i),()=>s((0,t.unref)(e))),{text:a,isVisible:o}}var Jn=Symbol(`I18nContext`),Yn=/\{(\w+)\}/g,Xn=/\{|\}/,V=(0,t.reactive)({messages:{},locale:``,fallbackLocale:``});function Zn({messages:e={},locale:n=``,fallbackLocale:r=``}){V.messages=On(V.messages,e),V.locale=n,V.fallbackLocale=r;let i=(e,n={})=>{let r=!yn(n),i=F(Kn,B(`.`,e));return(0,t.computed)(()=>{let e=$n(i);return r?tr(e,n):e}).value};return(0,t.provide)(Jn,{locale:(0,t.computed)({get(){return V.locale},set(e){V.locale=e}}),setLocale:e=>{V.locale=e},translate:i,hasTranslation:e=>{let t=F(Kn,B(`.`,e));return!!er(V.locale,t,V.messages)}}),{translate:i}}function H(e){e&&(V.messages=e.messages,V.locale=e.locale,V.fallbackLocale=e.fallbackLocale);let t=Qn();return{locale:t.locale,t:t.translate,setLocale:t.setLocale,hasTranslation:t.hasTranslation}}function Qn(){let e=(0,t.inject)(Jn,null);if(e===null)throw Error(`Provider is missing a parent component.`);return e}function $n(e=[]){let t=er(V.locale,e,V.messages);return!t&&V.fallbackLocale&&(t=er(V.fallbackLocale,e,V.messages)),t||e.join(`.`)}function er(e,t,n){return R([e,...t],n)}function tr(e,t){return e.replace(Yn,(e,n)=>t[n])}var nr=(0,t.defineComponent)({props:{tag:{type:String,default:`div`},path:{type:String,defult:``}},setup(e,{slots:n}){let r=B(Xn,$n(F(Kn,B(`.`,e.path)))),i=Object.keys(n).map(e=>{let t=r.indexOf(e);return t>-1&&(r[t]=n[e]()[0]),r});return()=>(0,t.h)(e.tag,i)}});function rr(e,n=``,r={}){let i=(0,t.ref)(``),{t:a}=H(),o=(0,t.computed)(()=>{if((0,t.unref)(n))try{return jn(ir((0,t.unref)(e),(0,t.unref)(n)),(0,t.unref)(e))}catch(e){i.value=e}return(0,t.unref)(e)}),s=e=>({...e,...e.label&&{label:a(e.label??``,(0,t.unref)(r))},...e.tooltip&&{tooltip:a(e.tooltip??``)}});return{columns:(0,t.computed)(()=>F(s,o.value)),error:i}}function ir(e,t=``){let n=F(Kn,B(`,`,t)),r=Ue(e);if(n[0]===``)return[];let i=n.findIndex(e=>!r.includes(e));if(i>-1)throw n[i];return n}var ar=[`text-start`,`text-center`,`text-end`,`w-auto`],or=/[A-Z]{2,}(?=[A-Z][a-z]|\b)|[A-Z]?[a-z]+\d*|[A-Z]|\d+/g,sr=/\{([^}]+)\}/g;function cr(e){return e&&e.match(or).map(e=>e.toLowerCase()).join(`-`)}function U(e=``,t={}){return e.replace(sr,(e,n)=>R(B(`.`,n),t))}function lr(e){return(e||``).split(` `).filter(e=>ar.includes(e)).join(` `)}var ur=Symbol(`ErrorProviderContext`);function dr(){let e=(0,t.ref)(``),n=(0,t.ref)({}),r=t=>{console.error({error:t}),e.value=t.message||t.error.message,n.value={message:t.message,key:t.key||cr(t.message),cause:t.cause}},i=()=>{e.value=``,n.value={}};return(0,t.provide)(ur,{onError:r,reset:i}),window.onerror=e=>{console.error(`WINDOW_ONERROR:`,e)},(0,t.onErrorCaptured)((e,t,n)=>{console.error(`onErrorCaptured:`,e,t,n)}),{hasError:(0,t.computed)(()=>e.value.length>0),message:e,error:n,reset:i,onError:r}}function fr(){let e=pr();return{onError:e.onError,reset:e.reset}}function pr(){let e=(0,t.inject)(ur,null);if(e===null)throw Error(`Provider is missing a parent component.`);return e}async function mr(e,n,r){let i=`${d}/vbr${(0,t.unref)(e)}${yn(r)?``:`?${new URLSearchParams(r)}`}`,a=await fetch(i,{method:`GET`,cache:`no-cache`,headers:{"Content-Type":`application/json`,"X-API-KEY":hr(n)}});if(!a.ok)throw Error(`API request failed: ${a.status} ${a.statusText}`);let o=await a.json();if(o.error)throw o;if(o.data.message)throw o.data;return o.data}function hr(e){return e||(window.__MJSZ_VBR_WIDGET__?.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:``)}function gr(e,n){return(0,t.getCurrentScope)()?((0,t.onScopeDispose)(e,n),!0):!1}var W=typeof window<`u`&&typeof document<`u`,_r=typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope,vr=Object.prototype.toString,yr=e=>vr.call(e)===`[object Object]`,G=()=>{},br=xr();function xr(){var e,t;return W&&!!(!((e=window)==null||(e=e.navigator)==null)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Sr(...e){if(e.length!==1)return(0,t.toRef)(...e);let n=e[0];return typeof n==`function`?(0,t.readonly)((0,t.customRef)(()=>({get:n,set:G}))):(0,t.ref)(n)}function Cr(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var wr=e=>e();function Tr(e=wr,n={}){let{initialState:r=`active`}=n,i=Sr(r===`active`);function a(){i.value=!1}function o(){i.value=!0}return{isActive:(0,t.readonly)(i),pause:a,resume:o,eventFilter:(...t)=>{i.value&&e(...t)}}}function Er(e,t=!1,n=`Timeout`){return new Promise((r,i)=>{t?setTimeout(()=>i(n),e):setTimeout(r,e)})}function Dr(e){return Array.isArray(e)?e:[e]}function Or(e,n,r={}){let{eventFilter:i=wr,...a}=r;return(0,t.watch)(e,Cr(i,n),a)}function kr(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=Tr(r,{initialState:i});return{stop:Or(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function Ar(e,n=!1){function r(r,{flush:i=`sync`,deep:a=!1,timeout:o,throwOnTimeout:s}={}){let c=null,l=[new Promise(o=>{c=(0,t.watch)(e,e=>{r(e)!==n&&(c?c():(0,t.nextTick)(()=>c?.()),o(e))},{flush:i,deep:a,immediate:!0})})];return o!=null&&l.push(Er(o,s).then(()=>(0,t.toValue)(e)).finally(()=>c?.())),Promise.race(l)}function i(i,a){if(!(0,t.isRef)(i))return r(e=>e===i,a);let{flush:o=`sync`,deep:s=!1,timeout:c,throwOnTimeout:l}=a??{},u=null,d=[new Promise(r=>{u=(0,t.watch)([e,i],([e,i])=>{n!==(e===i)&&(u?u():(0,t.nextTick)(()=>u?.()),r(e))},{flush:o,deep:s,immediate:!0})})];return c!=null&&d.push(Er(c,l).then(()=>(0,t.toValue)(e)).finally(()=>(u?.(),(0,t.toValue)(e)))),Promise.race(d)}function a(e){return r(e=>!!e,e)}function o(e){return i(null,e)}function s(e){return i(void 0,e)}function c(e){return r(Number.isNaN,e)}function l(e,n){return r(n=>{let r=Array.from(n);return r.includes(e)||r.includes((0,t.toValue)(e))},n)}function u(e){return d(1,e)}function d(e=1,t){let n=-1;return r(()=>(n+=1,n>=e),t)}return Array.isArray((0,t.toValue)(e))?{toMatch:r,toContains:l,changed:u,changedTimes:d,get not(){return Ar(e,!n)}}:{toMatch:r,toBe:i,toBeTruthy:a,toBeNull:o,toBeNaN:c,toBeUndefined:s,changed:u,changedTimes:d,get not(){return Ar(e,!n)}}}function jr(e){return Ar(e)}function Mr(e,n=1e3,r={}){let{immediate:i=!0,immediateCallback:a=!1}=r,o=null,s=(0,t.shallowRef)(!1);function c(){o&&=(clearInterval(o),null)}function l(){s.value=!1,c()}function u(){let r=(0,t.toValue)(n);r<=0||(s.value=!0,a&&e(),c(),s.value&&(o=setInterval(e,r)))}return i&&W&&u(),((0,t.isRef)(n)||typeof n==`function`)&&gr((0,t.watch)(n,()=>{s.value&&W&&u()})),gr(l),{isActive:(0,t.shallowReadonly)(s),pause:l,resume:u}}function Nr(e,n,r={}){let{immediate:i=!0,immediateCallback:a=!1}=r,o=(0,t.shallowRef)(!1),s;function c(){s&&=(clearTimeout(s),void 0)}function l(){o.value=!1,c()}function u(...r){a&&e(),c(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=void 0,e(...r)},(0,t.toValue)(n))}return i&&(o.value=!0,W&&u()),gr(l),{isPending:(0,t.shallowReadonly)(o),start:u,stop:l}}function Pr(e,n,r){return(0,t.watch)(e,n,{...r,immediate:!0})}function Fr(e,n,r){return(0,t.watch)(e,n,{...r,once:!0})}function Ir(e,n,r){let i=(0,t.watch)(e,(e,a,o)=>{e&&(r?.once&&(0,t.nextTick)(()=>i()),n(e,a,o))},{...r,once:!1});return i}var Lr=W?window:void 0,Rr=W?window.document:void 0;W&&window.navigator,W&&window.location;function zr(e){let n=(0,t.toValue)(e);return n?.$el??n}function Br(...e){let n=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=(0,t.computed)(()=>{let n=Dr((0,t.toValue)(e[0])).filter(e=>e!=null);return n.every(e=>typeof e!=`string`)?n:void 0});return Pr(()=>[r.value?.map(e=>zr(e))??[Lr].filter(e=>e!=null),Dr((0,t.toValue)(r.value?e[1]:e[0])),Dr((0,t.unref)(r.value?e[2]:e[1])),(0,t.toValue)(r.value?e[3]:e[2])],([e,t,r,i],a,o)=>{if(!e?.length||!t?.length||!r?.length)return;let s=yr(i)?{...i}:i,c=e.flatMap(e=>t.flatMap(t=>r.map(r=>n(e,t,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var Vr=!1;function Hr(e,n,r={}){let{window:i=Lr,ignore:a=[],capture:o=!0,detectIframe:s=!1,controls:c=!1}=r;if(!i)return c?{stop:G,cancel:G,trigger:G}:G;if(br&&!Vr){Vr=!0;let e={passive:!0};Array.from(i.document.body.children).forEach(t=>t.addEventListener(`click`,G,e)),i.document.documentElement.addEventListener(`click`,G,e)}let l=!0,u=e=>(0,t.toValue)(a).some(t=>{if(typeof t==`string`)return Array.from(i.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=zr(t);return n&&(e.target===n||e.composedPath().includes(n))}});function d(e){let n=(0,t.toValue)(e);return n&&n.$.subTree.shapeFlag===16}function f(e,n){let r=(0,t.toValue)(e),i=r.$.subTree&&r.$.subTree.children;return i==null||!Array.isArray(i)?!1:i.some(e=>e.el===n.target||n.composedPath().includes(e.el))}let p=t=>{let r=zr(e);if(t.target!=null&&!(!(r instanceof Element)&&d(e)&&f(e,t))&&!(!r||r===t.target||t.composedPath().includes(r))){if(`detail`in t&&t.detail===0&&(l=!u(t)),!l){l=!0;return}n(t)}},m=!1,h=[Br(i,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:o}),Br(i,`pointerdown`,t=>{let n=zr(e);l=!u(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),s&&Br(i,`blur`,t=>{setTimeout(()=>{let r=zr(e);i.document.activeElement?.tagName===`IFRAME`&&!r?.contains(i.document.activeElement)&&n(t)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return c?{stop:g,cancel:()=>{l=!1},trigger:e=>{l=!0,p(e),l=!1}}:g}function Ur(e,n,r){let{immediate:i=!0,delay:a=0,onError:o=globalThis.reportError??G,onSuccess:s=G,resetOnExecute:c=!0,shallow:l=!0,throwError:u}=r??{},d=l?(0,t.shallowRef)(n):(0,t.ref)(n),f=(0,t.shallowRef)(!1),p=(0,t.shallowRef)(!1),m=(0,t.shallowRef)(void 0),h=0;async function g(r=0,...i){let a=h+=1;c&&(d.value=(0,t.toValue)(n)),m.value=void 0,f.value=!1,p.value=!0,r>0&&await Er(r);let l=typeof e==`function`?e(...i):e;try{let e=await l;return a===h&&(d.value=e,f.value=!0),s(e),e}catch(e){if(a===h&&(m.value=e),o(e),u)throw e}finally{a===h&&(p.value=!1)}}i&&g(a);let _={state:d,isReady:f,isLoading:p,error:m,execute:g,executeImmediate:(...e)=>g(0,...e)};function v(){return new Promise((e,t)=>{jr(p).toBe(!1).then(()=>e(_)).catch(t)})}return{..._,then(e,t){return v().then(e,t)}}}function Wr(e={}){let{document:n=Rr}=e;if(!n)return(0,t.shallowRef)(`visible`);let r=(0,t.shallowRef)(n.visibilityState);return Br(n,`visibilitychange`,()=>{r.value=n.visibilityState},{passive:!0}),r}async function Gr(e){return new Promise((t,n)=>{let r=new Image,{src:i,srcset:a,sizes:o,class:s,loading:c,crossorigin:l,referrerPolicy:u,width:d,height:f,decoding:p,fetchPriority:m,ismap:h,usemap:g}=e;r.src=i,a!=null&&(r.srcset=a),o!=null&&(r.sizes=o),s!=null&&(r.className=s),c!=null&&(r.loading=c),l!=null&&(r.crossOrigin=l),u!=null&&(r.referrerPolicy=u),d!=null&&(r.width=d),f!=null&&(r.height=f),p!=null&&(r.decoding=p),m!=null&&(r.fetchPriority=m),h!=null&&(r.isMap=h),g!=null&&(r.useMap=g),r.onload=()=>t(r),r.onerror=n})}function Kr(e,n={}){let r=Ur(()=>Gr((0,t.toValue)(e)),void 0,{resetOnExecute:!0,...n});return(0,t.watch)(()=>(0,t.toValue)(e),()=>r.execute(n.delay),{deep:!0}),r}var qr=`ping`;function Jr(e){return e===!0?{}:e}function Yr(e){if(`interval`in e){let{interval:t=1e3}=e;return e=>Mr(e,t,{immediate:!1})}return e=>Mr(e,1e3,{immediate:!1})}function Xr(e,n={}){let{onConnected:r,onDisconnected:i,onError:a,onMessage:o,immediate:s=!0,autoConnect:c=!0,autoClose:l=!0,protocols:u=[]}=n,d=(0,t.ref)(null),f=(0,t.shallowRef)(`CLOSED`),p=(0,t.ref)(),m=Sr(e),h,g,_=!1,v=0,y=[],b,x,S=()=>{if(y.length&&p.value&&f.value===`OPEN`){for(let e of y)p.value.send(e);y=[]}},C=()=>{b!=null&&(clearTimeout(b),b=void 0)},w=()=>{clearTimeout(x),x=void 0},T=(e=1e3,t)=>{C(),!(!W&&!_r||!p.value)&&(_=!0,w(),h?.(),p.value.close(e,t),p.value=void 0)},E=(e,t=!0)=>!p.value||f.value!==`OPEN`?(t&&y.push(e),!1):(S(),p.value.send(e),!0),D=()=>{if(_||m.value===void 0)return;let e=new WebSocket(m.value,u);p.value=e,f.value=`CONNECTING`,e.onopen=()=>{f.value=`OPEN`,v=0,r?.(e),g?.(),S()},e.onclose=t=>{if(f.value=`CLOSED`,w(),h?.(),i?.(e,t),!_&&n.autoReconnect&&(p.value==null||e===p.value)){let{retries:e=-1,delay:t=1e3,onFailed:r}=Jr(n.autoReconnect);if((typeof e==`function`?e:()=>typeof e==`number`&&(e<0||v<e))(v)){v+=1;let e=typeof t==`function`?t(v):t;b=setTimeout(D,e)}else r?.()}},e.onerror=t=>{a?.(e,t)},e.onmessage=r=>{if(n.heartbeat){w();let{message:e=qr,responseMessage:i=e}=Jr(n.heartbeat);if(r.data===(0,t.toValue)(i))return}d.value=r.data,o?.(e,r)}};if(n.heartbeat){let{message:e=qr,scheduler:r=Yr(Jr(n.heartbeat)),pongTimeout:i=1e3}=Jr(n.heartbeat),{pause:a,resume:o}=r(()=>{E((0,t.toValue)(e),!1),x??=setTimeout(()=>{T(),_=!1},i)});h=a,g=o}l&&(W&&Br(`beforeunload`,()=>T(),{passive:!0}),gr(T));let O=()=>{!W&&!_r||(T(),_=!1,v=0,D())};return s&&O(),c&&(0,t.watch)(m,O),{data:d,status:f,close:T,send:E,open:O,ws:p}}function Zr(e,n){let{open:r,close:i}=Xr((0,t.unref)(e),{autoReconnect:{retries:3},immediate:!1,onMessage:(e,t)=>{let r=t.data,i=JSON.parse(r);i.event!==`welcome`&&(n.value=i.message)}});return(0,t.watch)(()=>(0,t.unref)(n).gameStatus,e=>{if(e===1)return r();i()},{immediate:!0}),{gameData:n}}function Qr(e=[],n={}){let{delay:r=0}=n,i=(0,t.ref)(!1),a=(0,t.computed)(()=>{let n=(0,t.unref)(e);return Array.isArray(n)?n.map(e=>(0,t.unref)(e)).some(Boolean):n}),{start:o,stop:s}=Nr(()=>{i.value=!0},r);return(0,t.watch)(a,e=>{if(e)return o();s(),i.value=!1},{immediate:!0,deep:!0}),i}var $r=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,g={name:`en`,weekdays:`Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday`.split(`_`),months:`January_February_March_April_May_June_July_August_September_October_November_December`.split(`_`),ordinal:function(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},g}(),D=E.prototype;return w.prototype=D,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){D[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||=(e(t,E,w),!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))})),ei=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){"use strict";return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`YYYY-MM-DDTHH:mm:ssZ`).replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),ti=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isBetween=r()})(e,(function(){"use strict";return function(e,t,n){t.prototype.isBetween=function(e,t,r,i){var a=n(e),o=n(t),s=(i||=`()`)[0]===`(`,c=i[1]===`)`;return(s?this.isAfter(a,r):!this.isBefore(a,r))&&(c?this.isBefore(o,r):!this.isAfter(o,r))||(s?this.isBefore(a,r):!this.isAfter(a,r))&&(c?this.isAfter(o,r):!this.isBefore(o,r))}}}))})),ni=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isSameOrBefore=r()})(e,(function(){"use strict";return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}}))})),ri=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isToday=r()})(e,(function(){"use strict";return function(e,t,n){t.prototype.isToday=function(){var e=`YYYY-MM-DD`,t=n();return this.format(e)===t.format(e)}}}))})),ii=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_localizedFormat=r()})(e,(function(){"use strict";var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`};return function(t,n,r){var i=n.prototype,a=i.format;r.en.formats=e,i.format=function(t){t===void 0&&(t=`YYYY-MM-DDTHH:mm:ssZ`);var n=this.$locale().formats,r=function(t,n){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,i){var a=i&&i.toUpperCase();return r||n[i]||e[i]||n[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))}(t,n===void 0?{}:n);return a.call(this,r)}}}))})),ai=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_minMax=r()})(e,(function(){"use strict";return function(e,t,n){var r=function(e,t){if(!t||!t.length||t.length===1&&!t[0]||t.length===1&&Array.isArray(t[0])&&!t[0].length)return null;var n;t.length===1&&t[0].length>0&&(t=t[0]),n=(t=t.filter((function(e){return e})))[0];for(var r=1;r<t.length;r+=1)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n};n.max=function(){return r(`isAfter`,[].slice.call(arguments,0))},n.min=function(){return r(`isBefore`,[].slice.call(arguments,0))}}}))})),oi=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_relativeTime=r()})(e,(function(){"use strict";return function(e,t,n){e||={};var r=t.prototype,i={future:`in %s`,past:`%s ago`,s:`a few seconds`,m:`a minute`,mm:`%d minutes`,h:`an hour`,hh:`%d hours`,d:`a day`,dd:`%d days`,M:`a month`,MM:`%d months`,y:`a year`,yy:`%d years`};function a(e,t,n,i){return r.fromToBase(e,t,n,i)}n.en.relativeTime=i,r.fromToBase=function(t,r,a,o,s){for(var c,l,u,d=a.$locale().relativeTime||i,f=e.thresholds||[{l:`s`,r:44,d:`second`},{l:`m`,r:89},{l:`mm`,r:44,d:`minute`},{l:`h`,r:89},{l:`hh`,r:21,d:`hour`},{l:`d`,r:35},{l:`dd`,r:25,d:`day`},{l:`M`,r:45},{l:`MM`,r:10,d:`month`},{l:`y`,r:17},{l:`yy`,d:`year`}],p=f.length,m=0;m<p;m+=1){var h=f[m];h.d&&(c=o?n(t).diff(a,h.d,!0):a.diff(t,h.d,!0));var g=(e.rounding||Math.round)(Math.abs(c));if(u=c>0,g<=h.r||!h.r){g<=1&&m>0&&(h=f[m-1]);var _=d[h.l];s&&(g=s(``+g)),l=typeof _==`string`?_.replace(`%d`,g):_(g,r,h.l,u);break}}if(r)return l;var v=u?d.future:d.past;return typeof v==`function`?v(l):v.replace(`%s`,l)},r.to=function(e,t){return a(e,t,this,!0)},r.from=function(e,t){return a(e,t,this)};var o=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(o(this),e)},r.fromNow=function(e){return this.from(o(this),e)}}}))})),si=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_timezone=r()})(e,(function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,i){var a,o=function(e,n,r){r===void 0&&(r={});var i=new Date(e);return function(e,n){n===void 0&&(n={});var r=n.timeZoneName||`short`,i=e+`|`+r,a=t[i];return a||(a=new Intl.DateTimeFormat(`en-US`,{hour12:!1,timeZone:e,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,timeZoneName:r}),t[i]=a),a}(n,r).formatToParts(i)},s=function(t,n){for(var r=o(t,n),a=[],s=0;s<r.length;s+=1){var c=r[s],l=c.type,u=c.value,d=e[l];d>=0&&(a[d]=parseInt(u,10))}var f=a[3],p=f===24?0:f,m=a[0]+`-`+a[1]+`-`+a[2]+` `+p+`:`+a[4]+`:`+a[5]+`:000`,h=+t;return(i.utc(m).valueOf()-(h-=h%1e3))/6e4},c=r.prototype;c.tz=function(e,t){e===void 0&&(e=a);var n,r=this.utcOffset(),o=this.toDate(),s=o.toLocaleString(`en-US`,{timeZone:e}),c=Math.round((o-new Date(s))/1e3/60),l=15*-Math.round(o.getTimezoneOffset()/15)-c;if(!Number(l))n=this.utcOffset(0,t);else if(n=i(s,{locale:this.$L}).$set(`millisecond`,this.$ms).utcOffset(l,!0),t){var u=n.utcOffset();n=n.add(r-u,`minute`)}return n.$x.$timezone=e,n},c.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=o(this.valueOf(),t,{timeZoneName:e}).find((function(e){return e.type.toLowerCase()===`timezonename`}));return n&&n.value};var l=c.startOf;c.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return l.call(this,e,t);var n=i(this.format(`YYYY-MM-DD HH:mm:ss:SSS`),{locale:this.$L});return l.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,o=n||t||a,c=s(+i(),o);if(typeof e!=`string`)return i(e).tz(o);var l=function(e,t,n){var r=e-60*t*1e3,i=s(r,n);if(t===i)return[r,t];var a=s(r-=60*(i-t)*1e3,n);return i===a?[r,i]:[e-60*Math.min(i,a)*1e3,Math.max(i,a)]}(i.utc(e,r).valueOf(),c,o),u=l[0],d=l[1],f=i(u).utcOffset(d);return f.$x.$timezone=o,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){a=e}}}))})),ci=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_utc=r()})(e,(function(){"use strict";var e=`minute`,t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,a){var o=i.prototype;a.utc=function(e){return new i({date:e,utc:!0,args:arguments})},o.utc=function(t){var n=a(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},o.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var s=o.parse;o.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var c=o.init;o.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var l=o.utcOffset;o.utcOffset=function(r,i){var a=this.$utils().u;if(a(r))return this.$u?0:a(this.$offset)?l.call(this):this.$offset;if(typeof r==`string`&&(r=function(e){e===void 0&&(e=``);var r=e.match(t);if(!r)return null;var i=(``+r[0]).match(n)||[`-`,0,0],a=i[0],o=60*i[1]+ +i[2];return o===0?0:a===`+`?o:-o}(r),r===null))return this;var o=Math.abs(r)<=16?60*r:r;if(o===0)return this.utc(i);var s=this.clone();if(i)return s.$offset=o,s.$u=!1,s;var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(s=this.local().add(o+c,e)).$offset=o,s.$x.$localOffset=c,s};var u=o.format;o.format=function(e){var t=e||(this.$u?`YYYY-MM-DDTHH:mm:ss[Z]`:``);return u.call(this,t)},o.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var d=o.toDate;o.toDate=function(e){return e===`s`&&this.$offset?a(this.format(`YYYY-MM-DD HH:mm:ss:SSS`)).toDate():d.call(this)};var f=o.diff;o.diff=function(e,t,n){if(e&&this.$u===e.$u)return f.call(this,e,t,n);var r=this.local(),i=a(e).local();return f.call(r,i,t,n)}}}))})),li=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekday=r()})(e,(function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n<t?n+7:n)-t;return this.$utils().u(e)?r:this.subtract(r,`day`).add(e,`day`)}}}))})),ui=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r($r()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_hu=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={name:`hu`,weekdays:`vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat`.split(`_`),weekdaysShort:`vas_hét_kedd_sze_csüt_pén_szo`.split(`_`),weekdaysMin:`v_h_k_sze_cs_p_szo`.split(`_`),months:`január_február_március_április_május_június_július_augusztus_szeptember_október_november_december`.split(`_`),monthsShort:`jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec`.split(`_`),ordinal:function(e){return e+`.`},weekStart:1,relativeTime:{future:`%s múlva`,past:`%s`,s:function(e,t,n,r){return`néhány másodperc`+(r||t?``:`e`)},m:function(e,t,n,r){return`egy perc`+(r||t?``:`e`)},mm:function(e,t,n,r){return e+` perc`+(r||t?``:`e`)},h:function(e,t,n,r){return`egy `+(r||t?`óra`:`órája`)},hh:function(e,t,n,r){return e+` `+(r||t?`óra`:`órája`)},d:function(e,t,n,r){return`egy `+(r||t?`nap`:`napja`)},dd:function(e,t,n,r){return e+` `+(r||t?`nap`:`napja`)},M:function(e,t,n,r){return`egy `+(r||t?`hónap`:`hónapja`)},MM:function(e,t,n,r){return e+` `+(r||t?`hónap`:`hónapja`)},y:function(e,t,n,r){return`egy `+(r||t?`év`:`éve`)},yy:function(e,t,n,r){return e+` `+(r||t?`év`:`éve`)}},formats:{LT:`H:mm`,LTS:`H:mm:ss`,L:`YYYY.MM.DD.`,LL:`YYYY. MMMM D.`,LLL:`YYYY. MMMM D. H:mm`,LLLL:`YYYY. MMMM D., dddd H:mm`}};return n.default.locale(r,null,!0),r}))})),K=u($r(),1),di=u(ei(),1),fi=u(ti(),1),pi=u(ni(),1),mi=u(ri(),1),hi=u(ii(),1),gi=u(ai(),1),_i=u(oi(),1),vi=u(si(),1),yi=u(ci(),1),bi=u(li(),1);ui(),K.default.extend(yi.default),K.default.extend(vi.default),K.default.extend(di.default),K.default.extend(_i.default),K.default.extend(hi.default),K.default.extend(pi.default),K.default.extend(fi.default),K.default.extend(mi.default),K.default.extend(bi.default),K.default.extend(gi.default);var xi=K.default.tz.guess(),Si=()=>xi;function Ci(e=``,t=``,n=``,r=`hu`){n||=xi;let i=(0,K.default)(e);return i.isValid()?i.tz(n).locale(r).format(t):``}function wi(e=``,t=``,n=`hu`){if(!(0,K.default)(e).isValid())return``;t||=xi;let r=new Intl.DateTimeFormat(Ti(n),{timeZone:t,timeZoneName:`short`}).formatToParts(new Date(e)).find(e=>e.type===`timeZoneName`);return r&&r.value}function Ti(e){return S.get(e)}function Ei(e){let t=e.split(`:`);return Number.parseInt(t[0],10)*60+Number.parseInt(t[1],10)}function Di(e){let t=~~(e/60),n=~~e%60;return[t.toString().padStart(2,`0`),n.toString().padStart(2,`0`)].join(`:`)}function Oi(e){let t=Math.trunc(e),n=Math.round((e-t)/10*60*10);return[t.toString().padStart(2,`0`),n.toString().padStart(2,`0`)].join(`:`)}function ki(e,t=`day`){return(0,K.default)().isSameOrBefore((0,K.default)(e),t)}function Ai(e,t,n,r=`[]`){return(0,K.default)(e).isBetween(t,(0,K.default)(n),`day`,r)}function ji(e,t,n=`month`){return(0,K.default)(e).isSame(t,n)}function Mi(e,t=`hu`){return(0,K.default)(e).locale(t).toNow(!0)}function Ni(e,t,n=`day`){return(0,K.default)(e).isBefore(t,n)}function Pi(e,t,n=`day`){return(0,K.default)(e).isAfter(t,n)}function Fi(e){return(0,K.default)(e).isToday()}function Ii(e){return Ai(e,(0,K.default)().weekday(1),(0,K.default)().weekday(7))}function Li(e){return{startDate:(0,K.default)(e).weekday(1),endDate:(0,K.default)(e).weekday(7)}}function Ri(e,t){return(0,K.default)(e).subtract(t,`day`)}function zi(e,t){return(0,K.default)(e).add(t,`day`)}function Bi(e,t=1){return(0,K.default)(e).add(t,`year`)}function Vi(e){return(0,K.default)(e).startOf(`month`)}function Hi(e){return(0,K.default)(e).endOf(`month`)}function Ui(e){return Array.isArray(e)&&(e=e.map(e=>(0,K.default)(e))),K.default.min(e)}function Wi(e){return Array.isArray(e)&&(e=e.map(e=>(0,K.default)(e))),K.default.max(e)}function Gi(e={}){let{initial:n=1,items:r=[],limit:i,auto:a=!1}=e,o=(0,t.ref)((0,t.unref)(n)),s=e=>ki(e,`day`);return Fr(r,()=>{if(!a)return;let e=un(Ln(s,`gameDate`))((0,t.unref)(r));o.value=e===-1?1:Math.floor(e/i)+1}),{page:o,change:e=>{o.value=e}}}function Ki({currentPage:e,itemsPerPage:n=20,totalItems:r,rangeLength:i=5,update:a=G}){let o=(0,t.computed)(()=>Math.ceil((0,t.unref)(r)/n)),s=(0,t.computed)(()=>{let n=(0,t.unref)(e)-1,r=Array.from({length:o.value},(e,t)=>t+1),a=Math.floor(i/2),s=Math.max(n-a,0);return s+i>=o.value&&(s=Math.max(o.value-i,0)),r.slice(s,s+i)}),c=n=>{let r=(0,t.unref)(e)+n;u(r)&&a(r)},l=e=>{u(e)&&a(e)};function u(e){return e<=o.value&&e>0}return{page:e,range:s,pageCount:o,goTo:l,pageStep:c}}function qi(e={}){let{items:n=[],element:r,offset:i=0,enabled:a=!0}=e,o=e=>ki(e,`day`),s=()=>{if(!(0,t.unref)(a))return;let e=sn(Ln(o,`gameDate`))((0,t.unref)(n));if(!e)return;let s=Ci(e.gameDate,`YYYY-MM-DD`),c=zr(r).querySelector(`div[data-gamedate="${s}"]`);if(!c)return;let l=getComputedStyle(c).getPropertyValue(`--mvw-sticky-top-offset`)||0,u=(c.getBoundingClientRect()?.top??0)-(0,t.unref)(i)-Number.parseFloat(l);window.scrollTo(0,u)};kr(()=>({items:(0,t.unref)(n),element:(0,t.unref)(r)}),async({items:e,element:n})=>{e.length===0||!n||(await(0,t.nextTick)(),s())})}function Ji({options:e={},transform:n=e=>e,onError:r=G,onSuccess:i=G}){let{path:a,apiKey:o,params:s,resetOnExecute:c=!1,immediate:l=!1}=e,{state:u,error:d,isLoading:f,execute:p}=Ur(()=>mr(a,o,(0,t.unref)(s)).then(e=>n(e)),[],{immediate:l,resetOnExecute:c,onError:r,onSuccess:i});return{state:u,error:d,isLoading:f,execute:p}}function Yi(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}var Xi;(function(e){e[e.NotStarted=0]=`NotStarted`,e[e.Running=1]=`Running`,e[e.Stopped=2]=`Stopped`})(Xi||={});var Zi={type:`xstate.init`};function Qi(e){return e===void 0?[]:[].concat(e)}function $i(e,t){return typeof(e=typeof e==`string`&&t&&t[e]?t[e]:e)==`string`?{type:e}:typeof e==`function`?{type:e.name,exec:e}:e}function ea(e){return function(t){return e===t}}function ta(e){return typeof e==`string`?{type:e}:e}function na(e,t){return{value:e,context:t,actions:[],changed:!1,matches:ea(e)}}function ra(e,t,n){var r=t,i=!1;return[e.filter((function(e){if(e.type===`xstate.assign`){i=!0;var t=Object.assign({},r);return typeof e.assignment==`function`?t=e.assignment(r,n):Object.keys(e.assignment).forEach((function(i){t[i]=typeof e.assignment[i]==`function`?e.assignment[i](r,n):e.assignment[i]})),r=t,!1}return!0})),r,i]}function ia(e,t){t===void 0&&(t={});var n=Yi(ra(Qi(e.states[e.initial].entry).map((function(e){return $i(e,t.actions)})),e.context,Zi),2),r=n[0],i=n[1],a={config:e,_options:t,initialState:{value:e.initial,actions:r,context:i,matches:ea(e.initial)},transition:function(t,n){var r,i,o=typeof t==`string`?{value:t,context:e.context}:t,s=o.value,c=o.context,l=ta(n),u=e.states[s];if(u.on){var d=Qi(u.on[l.type]);`*`in u.on&&d.push.apply(d,function(e,t,n){if(n||arguments.length===2)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||=Array.prototype.slice.call(t,0,i),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([],Yi(Qi(u.on[`*`])),!1));try{for(var f=function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}(d),p=f.next();!p.done;p=f.next()){var m=p.value;if(m===void 0)return na(s,c);var h=typeof m==`string`?{target:m}:m,g=h.target,_=h.actions,v=_===void 0?[]:_,y=h.cond,b=y===void 0?function(){return!0}:y,x=g===void 0,S=g??s,C=e.states[S];if(b(c,l)){var w=Yi(ra((x?Qi(v):[].concat(u.exit,v,C.entry).filter((function(e){return e}))).map((function(e){return $i(e,a._options.actions)})),c,l),3),T=w[0],E=w[1],D=w[2],O=g??s;return{value:O,context:E,actions:T,changed:g!==s||T.length>0||D,matches:ea(O)}}}}catch(e){r={error:e}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}}return na(s,c)}};return a}var aa=ia({id:`sort`,initial:y,states:{[y]:{on:{DIRECTION1:b,DIRECTION2:x}},[b]:{on:{DIRECTION1:x,DIRECTION2:y}},[x]:{on:{DIRECTION1:y,DIRECTION2:b}}}});function oa(e,t){let n=t===`ascend`?`DIRECTION2`:`DIRECTION1`;return aa.transition(e,n).value}function sa(e={}){let{sortTarget:n=null,orders:r=[]}=e,i=(0,t.reactive)({sortTarget:n,orders:r});return{sort:i,change:({target:e,orders:t})=>{if(i.sortTarget!==e){i.sortTarget=e,i.orders=t;return}let n=t.map((e,t)=>({...e,direction:oa(i.orders[t].direction,e.direction)}));i.sortTarget=e,i.orders=n}}}function ca(e=!1,n=G,r=G){(0,t.watch)(Wr(),i=>{if((0,t.unref)(e)){if(i===`visible`)return n();r()}})}var la=[`textContent`],ua={__name:`AdditionalStandingsText`,props:{rows:{type:Array,default:()=>[]},additionalKey:{type:String,required:!0}},setup(e){let n=e,r=(0,t.toRef)(n,`rows`),{t:i,locale:a}=H(),{isVisible:o,text:s}=qn(r,n.additionalKey,i,a);return(e,n)=>(0,t.unref)(o)?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,textContent:(0,t.toDisplayString)((0,t.unref)(s))},null,8,la)):(0,t.createCommentVNode)(``,!0)}},da={__name:`BaseSelect`,props:{modelValue:{type:[String,Number],default:null}},emits:[`update:modelValue`],setup(e,{emit:n}){let r=e,i=n,a=(0,t.computed)({get:()=>r.modelValue,set:e=>i(`update:modelValue`,e)});return(e,n)=>(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)(`select`,{"onUpdate:modelValue":n[0]||=e=>a.value=e,class:`base-input is-select`},[(0,t.renderSlot)(e.$slots,`default`)],512)),[[t.vModelSelect,a.value]])}},fa=Object.defineProperty,q=(e,t)=>{let n={};for(var r in e)fa(n,r,{get:e[r],enumerable:!0});return t||fa(n,Symbol.toStringTag,{value:`Module`}),n};q({default:()=>ha,render:()=>ma});var pa={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function ma(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,pa,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M8.12 9.29 12 13.17l3.88-3.88a.996.996 0 1 1 1.41 1.41l-4.59 4.59a.996.996 0 0 1-1.41 0L6.7 10.7a.996.996 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0z`},null,-1)]])}var ha={render:ma};q({default:()=>va,render:()=>_a});var ga={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function _a(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,ga,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M8.12 14.71L12 10.83l3.88 3.88a.996.996 0 1 0 1.41-1.41L12.7 8.71a.996.996 0 0 0-1.41 0L6.7 13.3a.996.996 0 0 0 0 1.41c.39.38 1.03.39 1.42 0`},null,-1)]])}var va={render:_a},ya=q({default:()=>Sa,render:()=>xa}),ba={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function xa(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,ba,[...n[0]||=[(0,t.createElementVNode)(`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`,ry:`2`},null,-1),(0,t.createElementVNode)(`line`,{x1:`8`,y1:`21`,x2:`16`,y2:`21`},null,-1),(0,t.createElementVNode)(`line`,{x1:`12`,y1:`17`,x2:`12`,y2:`21`},null,-1)]])}var Sa={render:xa};q({default:()=>Ta,render:()=>wa});var Ca={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function wa(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Ca,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`#000`,d:`m7.712 13.208 3.88 3.88 3.88-3.88a.997.997 0 1 1 1.41 1.41l-4.59 4.59a.997.997 0 0 1-1.41 0l-4.59-4.59a.997.997 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0ZM7.712 10.792l3.88-3.88 3.88 3.88a.997.997 0 1 0 1.41-1.41l-4.59-4.59a.996.996 0 0 0-1.41 0l-4.59 4.59a.996.996 0 0 0 0 1.41c.39.38 1.03.39 1.42 0Z`},null,-1)]])}var Ta={render:wa};q({default:()=>Oa,render:()=>Da});var Ea={viewBox:`0 0 32 32`};function Da(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Ea,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M16 7C9.043 7 2 8.718 2 12v8c0 3.282 7.043 5 14 5s14-1.718 14-5v-8c0-3.282-7.043-5-14-5zm0 2c7.444 0 12 1.942 12 3c0 .926-3.489 2.528-9.348 2.914A40.34 40.34 0 0 1 16 15c-7.444 0-12-1.942-12-3s4.556-3 12-3zM4 14.707c.06.035.134.064.195.098a9.77 9.77 0 0 0 1.014.486c.346.144.706.282 1.094.408c.813.265 1.725.48 2.681.664c.289.055.587.1.885.147c.85.137 1.726.247 2.633.324c1.15.098 2.319.166 3.498.166c1.18 0 2.349-.068 3.498-.166a35.139 35.139 0 0 0 2.633-.324c.298-.047.596-.092.885-.147c.956-.184 1.868-.4 2.681-.664a14.457 14.457 0 0 0 1.395-.539a9.77 9.77 0 0 0 .713-.355c.061-.034.136-.063.195-.098V20c0 1.058-4.556 3-12 3S4 21.058 4 20v-5.293z`},null,-1)]])}var Oa={render:Da};q({default:()=>ja,render:()=>Aa});var ka={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function Aa(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,ka,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M18 19H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5a1 1 0 0 1-1 1M14 4a1 1 0 0 0 1 1h2.59l-9.13 9.13a1 1 0 1 0 1.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V3h-6a1 1 0 0 0-1 1`},null,-1)]])}var ja={render:Aa},Ma=q({default:()=>Fa,render:()=>Pa}),Na={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function Pa(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Na,[...n[0]||=[(0,t.createElementVNode)(`polyline`,{points:`15 18 9 12 15 6`},null,-1)]])}var Fa={render:Pa};q({default:()=>Ra,render:()=>La});var Ia={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function La(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Ia,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z`},null,-1)]])}var Ra={render:La},za=q({default:()=>Ha,render:()=>Va}),Ba={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function Va(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Ba,[...n[0]||=[(0,t.createElementVNode)(`circle`,{cx:`12`,cy:`12`,r:`1`},null,-1),(0,t.createElementVNode)(`circle`,{cx:`12`,cy:`5`,r:`1`},null,-1),(0,t.createElementVNode)(`circle`,{cx:`12`,cy:`19`,r:`1`},null,-1)]])}var Ha={render:Va},Ua=q({default:()=>Ka,render:()=>Ga}),Wa={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function Ga(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Wa,[...n[0]||=[(0,t.createElementVNode)(`polyline`,{points:`9 18 15 12 9 6`},null,-1)]])}var Ka={render:Ga},qa=q({default:()=>Xa,render:()=>Ya}),Ja={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function Ya(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Ja,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2`},null,-1),(0,t.createElementVNode)(`rect`,{x:`8`,y:`2`,width:`8`,height:`4`,rx:`1`,ry:`1`},null,-1)]])}var Xa={render:Ya},Za=q({default:()=>eo,render:()=>$a}),Qa={"aria-hidden":`true`,focusable:`false`,"data-prefix":`fas`,"data-icon":`sort`,class:`svg-inline--fa fa-sort fa-w-10`,role:`img`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 320 512`};function $a(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Qa,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z`},null,-1)]])}var eo={render:$a},to=q({default:()=>io,render:()=>ro}),no={"aria-hidden":`true`,focusable:`false`,"data-prefix":`fas`,"data-icon":`sort-down`,class:`svg-inline--fa fa-sort-down fa-w-10`,role:`img`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 320 512`};function ro(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,no,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z`},null,-1)]])}var io={render:ro},ao=q({default:()=>co,render:()=>so}),oo={"aria-hidden":`true`,focusable:`false`,"data-prefix":`fas`,"data-icon":`sort-up`,class:`svg-inline--fa fa-sort-up fa-w-10`,role:`img`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 320 512`};function so(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,oo,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z`},null,-1)]])}var co={render:so};q({default:()=>fo,render:()=>uo});var lo={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function uo(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,lo,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`m12 15.4-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z`,opacity:`.3`},null,-1),(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z`},null,-1)]])}var fo={render:uo};q({default:()=>ho,render:()=>mo});var po={width:`32`,height:`32`,viewBox:`0 0 24 24`};function mo(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,po,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M12 20a7 7 0 0 1-7-7a7 7 0 0 1 7-7a7 7 0 0 1 7 7a7 7 0 0 1-7 7m7.03-12.61l1.42-1.42c-.45-.51-.9-.97-1.41-1.41L17.62 6c-1.55-1.26-3.5-2-5.62-2a9 9 0 0 0-9 9a9 9 0 0 0 9 9c5 0 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61M11 14h2V8h-2m4-7H9v2h6V1Z`},null,-1)]])}var ho={render:mo},go=q({default:()=>yo,render:()=>vo}),_o={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function vo(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,_o,[...n[0]||=[(0,t.createElementVNode)(`g`,{fill:`none`,stroke:`currentColor`,"stroke-linecap":`round`,"stroke-linejoin":`round`,"stroke-width":`2`},[(0,t.createElementVNode)(`path`,{d:`m16 13 5.22 3.48a.5.5 0 0 0 .78-.41v-8.2a.5.5 0 0 0-.75-.43L16 10.5`}),(0,t.createElementVNode)(`rect`,{width:`14`,height:`12`,x:`2`,y:`6`,rx:`2`})],-1)]])}var yo={render:vo},bo=q({default:()=>Co,render:()=>So}),xo={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function So(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,xo,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z`},null,-1),(0,t.createElementVNode)(`line`,{x1:`12`,y1:`9`,x2:`12`,y2:`13`},null,-1),(0,t.createElementVNode)(`line`,{x1:`12`,y1:`17`,x2:`12.01`,y2:`17`},null,-1)]])}var Co={render:So};q({default:()=>Eo,render:()=>To});var wo={viewBox:`0 0 24 24`};function To(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,wo,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M3.76 3.7L2.14 4.88L4.43 8a8.23 8.23 0 0 1 1.92-.72M11 9v2h7v.29l-5 1.42v2.79A4.5 4.5 0 1 1 8.5 11H9V9h-.5a6.5 6.5 0 1 0 6.5 6.5v-1.59L22 12V9m-5.76-5.3L13.85 7h2.47l1.54-2.12M9 2v5h2V2Z`},null,-1)]])}var Eo={render:To},Do=q({default:()=>Ao,render:()=>ko}),Oo={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`};function ko(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Oo,[...n[0]||=[(0,t.createElementVNode)(`path`,{d:`M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z`},null,-1),(0,t.createElementVNode)(`polygon`,{points:`9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02`},null,-1)]])}var Ao={render:ko};function jo(e,t,n){let r=Object.entries(e),i=Object.entries(n);return r.splice(t,0,...i),Object.fromEntries(r)}var Mo=0;function No(){return++Mo}function Po(e=[]){return{result:[...e],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.isFiltered?this.filteredRowsLength:e.length,currentItems:this.currentItems}},filter(e,t=[],n=!1){if(e){let r=t.map(t=>n?Jt(R(t),qe(e)):Jt(I(t),Un,pn(Un(e)))),i=ct(Jt(Pt(e=>e.name?Nn(wn(`name`),Rn(`,`,``),e):e),jt([...r])),this.result);this.isFiltered=!0,this.filteredRowsLength=i.length,this.result=i}return this},sorted(e){if(!e.sortTarget||e.orders[0].direction===`original`)return this;let t=fn(qe(x),At(Nt),At(en));return this.result=Bn(e.orders.map(e=>L(t(e.direction),I)(e.target)))(this.result),this},addIndex(e=null){return this.result.reduce((t,n,r)=>{let i=t.at(-1)||[],a=e&&i[e]===n[e];return n.index=a?i.index:r+1,n.indexClass=a?`is-duplicated`:null,t.push(n),t},[]),this},addContinuousIndex(){return this.result=this.result.map((e,t)=>({...e,index:t+1})),this},pagination(e,t){if(!t)return this;e=Number(e),t=Number(t);let n=(e-1)*t,r=n+t;return this.result=this.result.slice(n,r),this},more(e,t){return this.result=this.result.slice(Number(e),Number(t)),this},playerName(){return this.result=this.result.map(e=>({...e,name:is(e)})),this},teamName(){return this.result=this.result.map(e=>({...e,teamName:e.team.longName})),this},schedule(e=``,t=`hu`){return this.result=this.result.map(n=>({...n,gameResult:`${n.homeTeamScore}-${n.awayTeamScore}`,gameDateDate:Ci(n.gameDate,`L dddd`,e,t),gameDateTime:Ci(n.gameDate,`HH:mm`,e,t),isMjszTvLinkVisible:Is(n),mjszTvLink:Ls({locale:t,gameId:n.gameId})})),this},gameDateFilter(e){return e===null||(this.result=this.result.filter(t=>new Date(t.gameDate).getMonth()===e)),this},convertTimes(e=[]){return this.result=this.result.map(t=>(e.map(e=>t[e]?t[`${e}Sec`]=Ei(t[e]):t),t)),this},groupByDays(){return this.currentItems=this.result.length,this.result=dn(e=>Ci(e.gameDate,`YYYY-MM-DD`))(this.result),this},slice(e=3){return this.result=this.result.slice(0,e),this},reverse(e){return e&&(this.result=this.result.toReversed()),this}}}var Fo=(e,...t)=>F(L(...t))(e);function Io(e){return{...e,...e.lastName&&e.firstName&&{name:`${e.lastName} ${e.firstName}`},...e.player?.playerId&&{name:`${e.player.lastName} ${e.player.firstName}`},...e.player?.id&&{name:`${e.player.lastName} ${e.player.firstName}`},...e.player?.nationality&&{name:e.player?.nationality.includes(`hu`)?`${e.player.lastName} ${e.player.firstName}`:`${e.player.lastName}, ${e.player.firstName}`},...e.nationality&&{name:e.nationality.includes(`hu`)?`${e.lastName} ${e.firstName}`:`${e.lastName}, ${e.firstName}`}}}function Lo(e){return{...e,...e?.team?.id&&{teamName:e.team.longName}}}function Ro(e=``,t=`hu`){return n=>({...n,gameDateDate:Ci(n.gameDate,`L dddd`,e,t),gameDateTime:Ci(n.gameDate,`HH:mm`,e,t)})}function zo(e){return t=>({...t,gameResult:ts(t,e)})}function Bo(e){return{...e,opponent:es(e)}}function Vo(e){return{...e,resultType:ns(e)}}var Ho=/^\(|\)$/g,Uo=/$/,Wo=/\(.*?\)/;function Go(e){return{...e,rowClasses:e.optional?`is-optional`:``}}function Ko(e=[]){return t=>({...t,[e]:t[e]?.toUpperCase()})}function qo(e=[]){return t=>(e.map(e=>t[e]?t[`${e}Sec`]=Ei(t[e]):t),t)}function Jo(e=[]){return t=>(e.map(e=>t[e]?t[`${e}Min`]=Oi(t[e]):t),t)}function Yo(e=[]){return t=>(e.map(e=>t[`${e}Min`]=Di(t[e])),t)}function Xo(e){return{...e,periodResults:e.result?.match(Wo)?.[0]??``}}function Zo(e){let t=[e.championshipName,...e.championshipName===e.sectionName?[]:[e.sectionName],e.divisionName];return{...e,gameNames:t.join(` - `)}}var Qo=Bn([(e,t)=>new Date(e.gameDate).getTime()-new Date(t.gameDate).getTime(),Nt(I(`id`)),Nt(I(`gameId`))]),$o=zn((e=>(t,n)=>t[e].localeCompare(n[e],`hu`))(`name`));function es(e){return[e.isHomeGame?null:`@`,e.opponent?.shortName].join(` `)}function ts(e){let t=e?.homeTeamScore,n=e?.awayTeamScore;return e.isHomeGame||(t=e?.awayTeamScore,n=e?.homeTeamScore),[t,n].join(`:`)}function ns(e){let t=e.gameResult.split(`:`),n=t[0]>t[1],r=t[0]<t[1];return n&&e.isOvertime?`OTW`:n&&e.isShootout?`SOW`:n?`W`:r&&e.isOvertime?`OTL`:r&&e.isShootout?`SOL`:r?`L`:`D`}function rs(e){return e.map(e=>({phaseId:e.phaseId,phaseName:Object.values({phaseName:e.phaseName,...e.phaseType?.phaseTypeName&&e.phaseType.phaseTypeName!==e.phaseName&&{phaseTypeName:e.phaseType.phaseTypeName},...e.phaseSubType?.phaseSubTypeName&&{phaseSubTypeName:e.phaseSubType.phaseSubTypeName}}).join(`-`)}))}function is(e){return e.player?e.player.nationality.includes(`hu`)?`${e.player.lastName} ${e.player.firstName}`:`${e.player.lastName}, ${e.player.firstName}`:`${e.lastName} ${e.firstName}`}var as=L(zn(en(I(`seasonName`))),F(Fn([`championshipId`,`seasonName`]))),os=e=>zn(Nt(I(`teamName`)),e),ss=L(z(I(`sectionId`)),P(L(yn,I(`phases`)))),cs=L(I(`sectionId`),Xt),ls=L(I(`phaseName`),Xt),us=z(I(`phaseId`)),ds=L(z(I(`name`)),F(L(Io,Lo))),fs=L(I(`phaseName`),tn),ps=L(Wn,Rn(`_`,`-`)),ms=L(P(Hn(/-:-/)),B(`,`)),hs=L(F(B(`:`)),F(Kn),B(`,`),Rn(Ho,``)),gs=Bn([en(I(`startingFive`))]),_s=L(xn(`, `),F(e=>`${e.lastName} ${e.firstName}`),P(e=>!e)),vs=L(dn(I(`eventPeriod`)),Yt,P(In(`Period`,`type`))),ys=dn(I(`row`)),bs=(e,t)=>ct(kt([Pn(t,[`team`,`id`]),In(`Gól`,`type`)]),Yt(e)),xs=L(F(Io),Fn([`headCoach`,`secondCoach`])),Ss=L(Yt,F(e=>({...e,eventId:e.eventId?e.eventId:No()}))),Cs=e=>z(I(`eventTimeSec`),Object.values(e));function ws(e,t){return dn(I(`type`),F(e=>({...Io(e),role:t(`role.${e.role}`)}),z(e=>{let t=[`first_referee`,`second_referee`,`first_line_judge`,`second_line_judge`].indexOf(e.role);return t>-1?t:4},Object.values(e))))}var Ts=Bn([en(I(`points`)),Nt(I(`gamesPlayed`)),en(I(`w`)),en(I(`gd`)),en(I(`gf`))]),Es=(e,t)=>P(In(e,`championshipId`),t),Ds=(e,t)=>ct(In(e,`championshipId`),t),Os=L(P(e=>[`Rájátszás`,`Újrajátszandó`].includes(e.phaseName)),R([0,`phases`])),ks=L(dn(Ns),z(e=>[`ld`,`rd`,`d`].includes(e.position?.toLowerCase())?1:[`lw`,`rw`,`c`].includes(e.position?.toLowerCase())?2:0),z(Ps),F(L(Io,Lo,Ko([`position`]))));function As({goalieStats:e,fieldPlayers:t,playersPenalty:n}){let r=F(R([`player`,`playerId`]))(e),i=P(e=>r.includes(e.player.playerId),n),a=hn((e,t)=>e.player.playerId===t,n,r),o=Fs(t,i),s=Fs(e,a);return{fieldPlayers:$o(o),goalies:$o(s)}}var js=Pt((e,t)=>Jt(ct(Pn(t,[`team`,`id`])),F(Io))(e));function Ms(e){let t=e.city?Nn(wn(`city`),Rn(Uo,`,`)):()=>({});return L(xn(` `),Mt,t,jn([`type`]))(e)}function Ns(e){return[`ld`,`rd`].includes(e.position?.toLowerCase())?`defenders`:[`lw`,`rw`,`c`].includes(e.position?.toLowerCase())?`forwards`:`goalies`}function Ps(e){return Number(e.jerseyNr)}function Fs(e,t){return Mt(An(kn,mn(R([`player`,`playerId`]),e),mn(R([`player`,`playerId`]),t)))}function Is(e){return e?.location?.hasStudioAutomatedCamera&&e.gameStatus>0&&Ni(new Date,Bi(e.gameDate,1))}function Ls({locale:e=`hu`,gameId:t}){return`https://www.mjsz.tv/${e}/game?ext-id=${t}`}var Rs={setCookie(e,t,n){let r=new Date;r.setTime(r.getTime()+n*60*60*1e3);let i=`expires=${r.toUTCString()}`;document.cookie=`${e}=${t};${i};path=/`},getCookie(e){let t=`${e}=`,n=document.cookie.split(`;`);for(let e=0;e<n.length;e++){let r=n[e];for(;r.charAt(0)===` `;)r=r.substring(1);if(r.indexOf(t)===0)return r.substring(t.length,r.length)}return``},checkCookie(e){return this.getCookie(e)!==``}};function zs(e,t=`body`){if(e){if(typeof t!=`string`){t?.append(e);return}document.querySelector(t)?.append(e)}}function Bs(e,t=()=>({})){return e.toSorted((e,n)=>{let r=t(e),i=t(n);if(r===null||i===null)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}var Vs=class extends Error{constructor(e,t={}){let{key:n,cause:r}=t;super(e),this.name=`WidgetError`,this.key=n,this.cause=r}},Hs={message:`Undefined Column name Message`,options:{key:`undefined-column`,cause:{}}},Us={message:`Invalid season name`,options:{key:`invalid-season-name`,cause:{}}};function Ws(e){return`wss://api.icehockey.hu/socket/vbr${e}`}var Gs=(e=``)=>globalThis?.__MJSZ_VBR_WIDGET__?.[e];function Ks(e,t={}){if(t.externalGameUrl)return t.externalGameUrl;let n=Gs(`gameResolver`)||e;return typeof n==`function`?n(t):n?encodeURI(U(n,t)):encodeURI(U(p,t))}function qs(e,t={}){let n=Gs(`teamResolver`)||e;return typeof n==`function`?n(t):n?encodeURI(U(n,t)):encodeURI(U(g,t))}function Js(e,t={}){let n=Gs(`playerResolver`)||e;return typeof n==`function`?n(t):n?encodeURI(U(n,t)):encodeURI(U(h,t))}function Ys(e,t={}){return typeof e==`function`?e(t):e?encodeURI(U(e,t)):encodeURI(U(_,t))}var Xs=(e,t=`1x1`)=>`${v}/flag:${e}-${t}.svg`;function Zs(e){return e||(Gs(`apiKey`)?Gs(`apiKey`):``)}function Qs(){window.scrollTo(0,0)}var $s=Math.min,ec=Math.max,tc=Math.round,nc=Math.floor,J=e=>({x:e,y:e}),rc={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function ic(e,t,n){return ec(e,$s(t,n))}function ac(e,t){return typeof e==`function`?e(t):e}function oc(e){return e.split(`-`)[0]}function sc(e){return e.split(`-`)[1]}function cc(e){return e===`x`?`y`:`x`}function lc(e){return e===`y`?`height`:`width`}function uc(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function dc(e){return cc(uc(e))}function fc(e,t,n){n===void 0&&(n=!1);let r=sc(e),i=dc(e),a=lc(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=xc(o)),[o,xc(o)]}function pc(e){let t=xc(e);return[mc(e),t,mc(t)]}function mc(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var hc=[`left`,`right`],gc=[`right`,`left`],_c=[`top`,`bottom`],vc=[`bottom`,`top`];function yc(e,t,n){switch(e){case`top`:case`bottom`:return n?t?gc:hc:t?hc:gc;case`left`:case`right`:return t?_c:vc;default:return[]}}function bc(e,t,n,r){let i=sc(e),a=yc(oc(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(mc)))),a}function xc(e){let t=oc(e);return rc[t]+e.slice(t.length)}function Sc(e){return{top:0,right:0,bottom:0,left:0,...e}}function Cc(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:Sc(e)}function wc(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Tc(e,t,n){let{reference:r,floating:i}=e,a=uc(t),o=dc(t),s=lc(o),c=oc(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(sc(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function Ec(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=ac(t,e),p=Cc(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=wc(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=wc(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var Dc=50,Oc=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:Ec},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=Tc(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<Dc&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=Tc(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},kc=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=ac(e,t)||{};if(l==null)return{};let d=Cc(u),f={x:n,y:r},p=dc(i),m=lc(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=$s(d[_],T),D=$s(d[v],T),O=E,ee=C-h[m]-D,te=C/2-h[m]/2+w,ne=ic(O,te,ee),re=!c.arrow&&sc(i)!=null&&te!==ne&&a.reference[m]/2-(te<O?E:D)-h[m]/2<0,ie=re?te<O?te-O:te-ee:0;return{[p]:f[p]+ie,data:{[p]:ne,centerOffset:te-ne-ie,...re&&{alignmentOffset:ie}},reset:re}}}),Ac=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=ac(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=oc(r),_=uc(o),v=oc(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[xc(o)]:pc(o)),x=p!==`none`;!d&&x&&b.push(...bc(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=fc(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==uc(t))||T.every(e=>uc(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=uc(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}},jc=new Set([`left`,`top`]);async function Mc(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=oc(n),s=sc(n),c=uc(n)===`y`,l=jc.has(o)?-1:1,u=a&&c?-1:1,d=ac(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var Nc=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await Mc(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Pc=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=ac(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=uc(oc(i)),p=cc(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=ic(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=ic(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}};function Fc(){return typeof window<`u`}function Ic(e){return Lc(e)?(e.nodeName||``).toLowerCase():`#document`}function Y(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function X(e){return((Lc(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function Lc(e){return Fc()?e instanceof Node||e instanceof Y(e).Node:!1}function Z(e){return Fc()?e instanceof Element||e instanceof Y(e).Element:!1}function Q(e){return Fc()?e instanceof HTMLElement||e instanceof Y(e).HTMLElement:!1}function Rc(e){return!Fc()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof Y(e).ShadowRoot}function zc(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=$(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function Bc(e){return/^(table|td|th)$/.test(Ic(e))}function Vc(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var Hc=/transform|translate|scale|rotate|perspective|filter/,Uc=/paint|layout|strict|content/,Wc=e=>!!e&&e!==`none`,Gc;function Kc(e){let t=Z(e)?$(e):e;return Wc(t.transform)||Wc(t.translate)||Wc(t.scale)||Wc(t.rotate)||Wc(t.perspective)||!Jc()&&(Wc(t.backdropFilter)||Wc(t.filter))||Hc.test(t.willChange||``)||Uc.test(t.contain||``)}function qc(e){let t=Zc(e);for(;Q(t)&&!Yc(t);){if(Kc(t))return t;if(Vc(t))return null;t=Zc(t)}return null}function Jc(){return Gc??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),Gc}function Yc(e){return/^(html|body|#document)$/.test(Ic(e))}function $(e){return Y(e).getComputedStyle(e)}function Xc(e){return Z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Zc(e){if(Ic(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Rc(e)&&e.host||X(e);return Rc(t)?t.host:t}function Qc(e){let t=Zc(e);return Yc(t)?e.ownerDocument?e.ownerDocument.body:e.body:Q(t)&&zc(t)?t:Qc(t)}function $c(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=Qc(e),i=r===e.ownerDocument?.body,a=Y(r);if(i){let e=el(a);return t.concat(a,a.visualViewport||[],zc(r)?r:[],e&&n?$c(e):[])}else return t.concat(r,$c(r,[],n))}function el(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function tl(e){let t=$(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Q(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=tc(n)!==a||tc(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function nl(e){return Z(e)?e:e.contextElement}function rl(e){let t=nl(e);if(!Q(t))return J(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=tl(t),o=(a?tc(n.width):n.width)/r,s=(a?tc(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var il=J(0);function al(e){let t=Y(e);return!Jc()||!t.visualViewport?il:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ol(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Y(e)?!1:t}function sl(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=nl(e),o=J(1);t&&(r?Z(r)&&(o=rl(r)):o=rl(e));let s=ol(a,n,r)?al(a):J(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=Y(a),t=r&&Z(r)?Y(r):r,n=e,i=el(n);for(;i&&r&&t!==n;){let e=rl(i),t=i.getBoundingClientRect(),r=$(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=Y(i),i=el(n)}}return wc({width:u,height:d,x:c,y:l})}function cl(e,t){let n=Xc(e).scrollLeft;return t?t.left+n:sl(X(e)).left+n}function ll(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-cl(e,n),y:n.top+t.scrollTop}}function ul(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=X(r),s=t?Vc(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=J(1),u=J(0),d=Q(r);if((d||!d&&!a)&&((Ic(r)!==`body`||zc(o))&&(c=Xc(r)),d)){let e=sl(r);l=rl(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?ll(o,c):J(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function dl(e){return Array.from(e.getClientRects())}function fl(e){let t=X(e),n=Xc(e),r=e.ownerDocument.body,i=ec(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=ec(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+cl(e),s=-n.scrollTop;return $(r).direction===`rtl`&&(o+=ec(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var pl=25;function ml(e,t){let n=Y(e),r=X(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=Jc();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=cl(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=pl&&(a-=o)}else l<=pl&&(a+=l);return{width:a,height:o,x:s,y:c}}function hl(e,t){let n=sl(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Q(e)?rl(e):J(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function gl(e,t,n){let r;if(t===`viewport`)r=ml(e,n);else if(t===`document`)r=fl(X(e));else if(Z(t))r=hl(t,n);else{let n=al(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return wc(r)}function _l(e,t){let n=Zc(e);return n===t||!Z(n)||Yc(n)?!1:$(n).position===`fixed`||_l(n,t)}function vl(e,t){let n=t.get(e);if(n)return n;let r=$c(e,[],!1).filter(e=>Z(e)&&Ic(e)!==`body`),i=null,a=$(e).position===`fixed`,o=a?Zc(e):e;for(;Z(o)&&!Yc(o);){let t=$(o),n=Kc(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||zc(o)&&!n&&_l(e,o))?r=r.filter(e=>e!==o):i=t,o=Zc(o)}return t.set(e,r),r}function yl(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Vc(t)?[]:vl(t,this._c):[].concat(n),r],o=gl(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=gl(t,a[e],i);s=ec(n.top,s),c=$s(n.right,c),l=$s(n.bottom,l),u=ec(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function bl(e){let{width:t,height:n}=tl(e);return{width:t,height:n}}function xl(e,t,n){let r=Q(t),i=X(t),a=n===`fixed`,o=sl(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=J(0);function l(){c.x=cl(i)}if(r||!r&&!a)if((Ic(t)!==`body`||zc(i))&&(s=Xc(t)),r){let e=sl(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?ll(i,s):J(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function Sl(e){return $(e).position===`static`}function Cl(e,t){if(!Q(e)||$(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return X(e)===n&&(n=n.ownerDocument.body),n}function wl(e,t){let n=Y(e);if(Vc(e))return n;if(!Q(e)){let t=Zc(e);for(;t&&!Yc(t);){if(Z(t)&&!Sl(t))return t;t=Zc(t)}return n}let r=Cl(e,t);for(;r&&Bc(r)&&Sl(r);)r=Cl(r,t);return r&&Yc(r)&&Sl(r)&&!Kc(r)?n:r||qc(e)||n}var Tl=async function(e){let t=this.getOffsetParent||wl,n=this.getDimensions,r=await n(e.floating);return{reference:xl(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function El(e){return $(e).direction===`rtl`}var Dl={convertOffsetParentRelativeRectToViewportRelativeRect:ul,getDocumentElement:X,getClippingRect:yl,getOffsetParent:wl,getElementRects:Tl,getClientRects:dl,getDimensions:bl,getScale:rl,isElement:Z,isRTL:El};function Ol(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function kl(e,t){let n=null,r,i=X(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=nc(d),h=nc(i.clientWidth-(u+f)),g=nc(i.clientHeight-(d+p)),_=nc(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:ec(0,$s(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!Ol(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function Al(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=nl(e),u=i||a?[...l?$c(l):[],...t?$c(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?kl(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?sl(e):null;c&&g();function g(){let t=sl(e);h&&!Ol(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var jl=Nc,Ml=Pc,Nl=Ac,Pl=kc,Fl=(e,t,n)=>{let r=new Map,i={platform:Dl,...n},a={...i.platform,_c:r};return Oc(e,t,{...i,platform:a})};function Il({middleware:e,placement:n=null,strategy:r,append:i,enabled:a}){let o=(0,t.ref)(null),s=(0,t.ref)(null),c=(0,t.ref)(null),l=(0,t.ref)(null),u=(0,t.ref)(null),d=(0,t.ref)(null),f=(0,t.ref)(null),p=(0,t.ref)(r??`absolute`),m=(0,t.ref)(null),h=()=>{!o.value||!s.value||Fl(o.value,s.value,{middleware:e,placement:n,strategy:r}).then(e=>{c.value=e.x,l.value=e.y,p.value=e.strategy,u.value=e.middlewareData.arrow.x,d.value=e.middlewareData.arrow.y,f.value=e.placement})};(0,t.watch)(()=>({reference:(0,t.unref)(o),floating:(0,t.unref)(s),append:(0,t.unref)(i)}),({floating:e,append:t})=>{t&&zs(e,t),h()},{flush:`post`}),(0,t.watch)(a,e=>{if(!(!o.value||!s.value)){if(!e)return g();m.value=Al(o.value,s.value,h,{})}},{flush:`post`});function g(){m.value?.(),m.value=null}return{x:c,y:l,arrowX:u,arrowY:d,placement:f,reference:o,floating:s,strategy:p,update:h}}function Ll(e){let{element:n,padding:r}=e;return{name:`arrow`,options:e,fn(e){return(0,t.isRef)(n)?n.value==null?{}:Pl({element:n.value,padding:r}).fn(e):n?Pl({element:n,padding:r}).fn(e):{}}}}var Rl=[`data-placement`],zl={__name:`FloatingPanel`,props:{disabled:{type:Boolean,default:!1},placement:{type:String,default:`bottom`},theme:{type:String,default:`tooltip`},content:{type:String,default:``},appendTo:{type:[Object,String],default:`body`},offset:{type:Number,default:2},isArrowVisible:{type:Boolean,default:!0}},setup(e){let n=e,r=(0,t.ref)(!1),i=(0,t.ref)(null),{x:a,y:o,arrowX:s,arrowY:c,placement:l,reference:u,floating:d,strategy:f}=Il({placement:n.placement,middleware:[Nl(),Ml({padding:5}),jl(n.offset),Ll({element:i,padding:5})],append:(0,t.computed)(()=>n.appendTo),enabled:r});function p(){n.disabled||(r.value||=!0)}function m(){r.value&&=!1}function h(e){u.value=e}let g={onMouseenter:p,onMouseleave:m,onFocus:p,onBlur:m};Hr(d,()=>{r.value&&m()},{ignore:[u]});function _(){if(r.value)return m();p()}function v(e){r.value&&(zr(d).querySelectorAll(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`)[0]?.focus(),e.preventDefault())}return(u,y)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.renderSlot)(u.$slots,`default`,{setRef:h,nextFocus:v,open:r.value,toggle:_,show:p,hide:m,events:g}),(0,t.createElementVNode)(`div`,{ref_key:`floating`,ref:d,"data-placement":(0,t.unref)(l),style:(0,t.normalizeStyle)({position:(0,t.unref)(f),top:(0,t.unref)(o)?`${(0,t.unref)(o)}px`:``,left:(0,t.unref)(a)?`${(0,t.unref)(a)}px`:``})},[(0,t.createVNode)(t.Transition,{name:`transition-fade`},{default:(0,t.withCtx)(()=>[r.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:(0,t.normalizeClass)([`floating-content`,[[`is-${n.theme}`]]])},[(0,t.renderSlot)(u.$slots,`content`,{close:m},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.content),1)]),e.isArrowVisible?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,ref_key:`arrowRef`,ref:i,class:`is-arrow`,style:(0,t.normalizeStyle)({position:(0,t.unref)(f),top:(0,t.unref)(c)?`${(0,t.unref)(c)}px`:``,left:(0,t.unref)(s)?`${(0,t.unref)(s)}px`:``})},null,4)):(0,t.createCommentVNode)(``,!0)],2)):(0,t.createCommentVNode)(``,!0)]),_:3})],12,Rl)],64))}},Bl={class:`table`},Vl=[`tabindex`,`onMouseenter`,`onMouseleave`,`onFocus`,`onBlur`,`onClick`,`onKeydown`],Hl=[`data-value`],Ul={key:0},Wl=[`colspan`],Gl={key:1},Kl=[`colspan`],ql={key:2},Jl={__name:`DataTable`,props:{columns:{type:Object,default:()=>({})},rows:{type:Array,default:()=>[]},sort:{type:Object,default:()=>({})},isLoading:{type:Boolean,default:!1},appendTo:{type:[Object,String],default:null}},emits:[`sort`],setup(e,{emit:n}){let r=e,i=n,{isLoading:a,appendTo:o}=(0,t.toRefs)(r),s=Qr(a,{delay:T}),{t:c}=H(),l=(0,t.computed)(()=>r.columns),u=(0,t.computed)(()=>Object.keys(r.columns).length);function d(e,t){e.sortOrders&&i(`sort`,{target:t,orders:e.sortOrders})}return(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`table`,Bl,[(0,t.createElementVNode)(`thead`,null,[(0,t.createElementVNode)(`tr`,null,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(l.value,(r,i)=>((0,t.openBlock)(),(0,t.createBlock)(zl,{key:i,placement:`top`,content:r.tooltip,disabled:!r.tooltip,"append-to":(0,t.unref)(o)},{default:(0,t.withCtx)(({setRef:a,show:o,hide:s})=>[(0,t.createElementVNode)(`th`,{ref_for:!0,ref:a,class:(0,t.normalizeClass)([[(0,t.unref)(lr)(r.class)],{"is-active":i===e.sort.sortTarget&&e.sort.orders[0].direction!==(0,t.unref)(`original`),"is-sortable":r.sortOrders,"is-desc":i===e.sort.sortTarget&&e.sort.orders[0].direction===(0,t.unref)(`descend`),"is-asc":i===e.sort.sortTarget&&e.sort.orders[0].direction===(0,t.unref)(`ascend`)}]),tabindex:r.sortOrders?0:-1,role:`button`,onMouseenter:o,onMouseleave:s,onFocus:o,onBlur:s,onClick:e=>d(r,i),onKeydown:[(0,t.withKeys)((0,t.withModifiers)(e=>d(r,i),[`prevent`]),[`space`]),(0,t.withKeys)((0,t.withModifiers)(e=>d(r,i),[`prevent`]),[`enter`])]},[(0,t.renderSlot)(n.$slots,`header-${i}`,{column:r},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(r.label),1)]),r.sortOrders&&i!==e.sort.sortTarget?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Za),{key:0,class:`is-icon-sort`})):(0,t.createCommentVNode)(``,!0),i===e.sort.sortTarget&&e.sort.orders[0].direction===(0,t.unref)(`original`)?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Za),{key:1,class:`is-icon-sort`})):(0,t.createCommentVNode)(``,!0),i===e.sort.sortTarget&&e.sort.orders[0].direction===(0,t.unref)(`descend`)?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(to),{key:2,class:`is-icon-sort`})):(0,t.createCommentVNode)(``,!0),i===e.sort.sortTarget&&e.sort.orders[0].direction===(0,t.unref)(`ascend`)?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(ao),{key:3,class:`is-icon-sort`})):(0,t.createCommentVNode)(``,!0)],42,Vl)]),_:2},1032,[`content`,`disabled`,`append-to`]))),128))])]),(0,t.createElementVNode)(`tbody`,null,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(r.rows,(r,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`tr`,{key:i,class:(0,t.normalizeClass)(r.rowClasses)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(l.value,(i,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`td`,{key:a,"data-value":r[a],class:(0,t.normalizeClass)([[i.class],{"is-active":a===e.sort.sortTarget&&e.sort.orders[0].direction!==(0,t.unref)(`original`),"is-zero":r[a]===0||r[a]===`00:00`}])},[(0,t.renderSlot)(n.$slots,`cell-${a}`,{row:r,prop:a},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(r[a]),1)])],10,Hl))),128))],2))),128))]),(0,t.unref)(s)&&e.rows.length===0?((0,t.openBlock)(),(0,t.createElementBlock)(`tfoot`,Ul,[(0,t.createElementVNode)(`tr`,null,[(0,t.createElementVNode)(`td`,{colspan:u.value},[(0,t.renderSlot)(n.$slots,`loading`,{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(c)(`common.loading`)),1)])],8,Wl)])])):(0,t.createCommentVNode)(``,!0),e.rows.length===0&&!(0,t.unref)(a)&&!(0,t.unref)(s)?((0,t.openBlock)(),(0,t.createElementBlock)(`tfoot`,Gl,[(0,t.createElementVNode)(`tr`,null,[(0,t.createElementVNode)(`td`,{colspan:u.value},[(0,t.renderSlot)(n.$slots,`empty`,{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(c)(`common.noData`)),1)])],8,Kl)])])):(0,t.createCommentVNode)(``,!0),n.$slots.caption?((0,t.openBlock)(),(0,t.createElementBlock)(`caption`,ql,[(0,t.renderSlot)(n.$slots,`caption`)])):(0,t.createCommentVNode)(``,!0)]))}},Yl={class:`error-notice`},Xl=[`textContent`],Zl={__name:`ErrorNotice`,props:{error:{type:Object,default:()=>({})},useRetry:{type:Boolean,default:!1}},emits:[`retry`],setup(e){let n=e,{t:r,hasTranslation:i}=H(),a=(0,t.computed)(()=>i(`errors.${n.error.key}`)?r(`errors.${n.error.key}`,n.error.cause||[n.error?.message]):n.error?.message);return(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Yl,[(0,t.createVNode)((0,t.unref)(bo),{class:`icon`,width:`20`,height:`20`}),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(a.value),1),e.useRetry?((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:0,type:`button`,onClick:i[0]||=e=>n.$emit(`retry`),textContent:(0,t.toDisplayString)((0,t.unref)(r)(`common.retry`))},null,8,Xl)):(0,t.createCommentVNode)(``,!0)]))}},Ql={__name:`ErrorProvider`,setup(e){let{message:n,hasError:r,error:i}=dr();return(e,a)=>(0,t.renderSlot)(e.$slots,`default`,{message:(0,t.unref)(n),error:(0,t.unref)(i),hasError:(0,t.unref)(r)})}},$l={class:`form-field`},eu=[`for`],tu={__name:`FormField`,props:{label:{type:String,default:``},name:{type:String,required:!0}},setup(e){return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,$l,[(0,t.createElementVNode)(`label`,{for:e.name},(0,t.toDisplayString)(e.label),9,eu),(0,t.renderSlot)(n.$slots,`default`)]))}},nu={errors:{"undefined-column":`The {column} column is not exists!`,"invalid-season-name":`Invalid season name`,"api-key-not-found":`API Key not found`,gameData:`Game Data: {0}`,gameStats:`Game Stats: {0}`,gameEvents:`Game Events: {0}`,gameOfficials:`Game Officials : {0}`},common:{loading:`Loading...`,noData:`No data to display`,selectTimezone:`*All times are displayed according to your computer's time zone ({timezone}). Change: `,hungary:`Hungary`,romania:`Romania`,shootoutShort:`SO`,overtimeShort:`OT`,all:`All`,report:`Report Sheet`,video:`Video`,retry:`Try Again`},additionalText:{inheritedPoints:{prependix:``,content:`{team} has {points} extra point(s)`,appendix:`based on its results in the previous championship phase.`},penaltyPoints:{prependix:`* `,content:`{points} point(s) deducted from team {team}`,appendix:`based on the decision of the Disciplinary Committee.`}},table:{blank:`#`,info:`{min} to {max} of {total} entries`,team:{short:`Team`,tooltip:`Team name`},game:{short:`GP`,tooltip:`Game Played`},pper:{short:`PPer`,tooltip:`Total periods played`},wins:{short:`W`,tooltip:`Wins`},draw:{short:`D`,tooltip:`Draw`},otw:{short:`OTW`,tooltip:`Overtime Wins`},sow:{short:`SOW`,tooltip:`Shoot Out Wins`},sol:{short:`SOL`,tooltip:`Shoot Out Losses`},otl:{short:`OTL`,tooltip:`Overtime Losses`},losses:{short:`L`,tooltip:`Losses`},goalFor:{short:`GF`,tooltip:`Goals For`},goalAgainst:{short:`GA`,tooltip:`Goals Against`},goalDiff:{short:`GD`,tooltip:`Goal Differential`},points:{short:`P`,tooltip:`Points`},name:{short:`Name`,tooltip:`Player name`},goals:{short:`G`,tooltip:`Goals`},assists:{short:`A`,tooltip:`Assists`},plusMinus:{short:`+/-`,tooltip:`Plus/Minus`},sog:{short:`S`,tooltip:`Shots on Goal`},so:{short:`SO`,tooltip:`Shutouts`},sogPercent:{short:`S%`,tooltip:`Shooting percentage`},gameName:{short:`#`,tooltip:`Game name`},gameDate:{short:`Date`,tooltip:`Scheduled Date`},gameDateTime:{short:`*Time ({offsetName})`,tooltip:`Scheduled Time (Offset Name)`},homeTeam:{short:`Home`,tooltip:`Home Team`},awayTeam:{short:`Away`,tooltip:`Away Team`},location:{short:`Location`,tooltip:`Game Location`},broadcast:{short:`Broadcast`,tooltip:`Television Broadcast`},minorPenalties:{short:`MINOR`,tooltip:`Penalties Minor`},majorPenalties:{short:`MAJOR`,tooltip:`Penalties Major`},misconducts:{short:`MISC`,tooltip:`Penalties Misconduct`},gameMisconducts:{short:`GA-MI`,tooltip:`Penalties Game Misconduct`},matchPenalties:{short:`MATCH`,tooltip:`Penalties Match`},pim:{short:`PIM`,tooltip:`Penalty Minutes`},pimPerGame:{short:`PIM/G`,tooltip:`Penalty Minutes per Game`},gpgk:{short:`GP`,tooltip:`Games Played`},gpi:{short:`GPI`,tooltip:`Games Played In`},toi:{short:`TOI`,tooltip:`Time On Ice`},toiPercent:{short:`TOI%`,tooltip:`Time On Ice as Percentage`},ga:{short:`GA`,tooltip:`Goals Against`},gaa:{short:`GAA`,tooltip:`Goals Against Average`},sa:{short:`SA`,tooltip:`Shots Against`},svs:{short:`SVS`,tooltip:`Saves`},svsPercent:{short:`SV%`,tooltip:`Save Percentage`},homeHeader:{short:`Home:`,tooltip:``},awayHeader:{short:`Away:`,tooltip:``},totalHeader:{short:`Total:`,tooltip:``},homeGame:{short:`GP`,tooltip:`Home Games Played`},awayGame:{short:`GP`,tooltip:`Away Games Played`},totalGame:{short:`GP`,tooltip:`Total Games Played`},homeAttendance:{short:`Att`,tooltip:`Home Attendance`},awayAttendance:{short:`Att`,tooltip:`Away Attendance`},totalAttendance:{short:`Att`,tooltip:`Total Attendance`},homeAttendanceAvg:{short:`Avg`,tooltip:`Home Average Attendance`},awayAttendanceAvg:{short:`Avg`,tooltip:`Away Average Attendance`},totalAttendanceAvg:{short:`Avg`,tooltip:`Total Average Attendance`},powerplayDisadvantages:{short:`DVG`,tooltip:`Disadvantages (Number of Times Shorthanded)`},dvgTime:{short:`DVG-T`,tooltip:`Disadvantages Time`},dvgTimePP1:{short:`DVG-T PP1`,tooltip:`Disadvantages Time (Period of PP1)`},dvgTimePP2:{short:`DVG-T PP2`,tooltip:`Disadvantages Time (Period of PP2)`},ppga:{short:`PPGA`,tooltip:`Powerplay Goals Against`},shgf:{short:`SHGF`,tooltip:`Shorthanded Goals For`},pkPercent:{short:`PK%`,tooltip:`Penalty Killing Percentage`},adv:{short:`ADV`,tooltip:`Advantages (Times on Powerplay)`},advTime:{short:`ADV-T`,tooltip:`Advantages Time (Period of Powerplay)`},advTimePP1:{short:`ADV-T PP1`,tooltip:`Advantages Time (Period of PP1)`},advTimePP2:{short:`ADV-T PP2`,tooltip:`Advantages Time (Period of PP2)`},ppgf:{short:`PPGF`,tooltip:`Powerplay Goals For`},shga:{short:`SHGA`,tooltip:`Shorthanded Goals Against`},ppPercent:{short:`PP%`,tooltip:`Powerplay Percentage`},gfgp:{short:`GF/GP`,tooltip:`Szerzett gólátlag`},gagp:{short:`GA/GP`,tooltip:`Kapott gólátlag`},sogp:{short:`Shots/GP`,tooltip:`Átlagos lövésszám`},sagp:{short:`SA/GP`,tooltip:`Shots Against per Game`},jerseyNumber:{short:`#`,tooltip:`Jersey Number`},row:{short:`Row`,tooltip:`Row`},position:{short:`Position`,tooltip:`Position`},teamOfficials:{short:`Team officials`,tooltip:`Team officials`},score:{short:`Score`,tooltip:`Actual Game Score`},opponent:{short:`Opponent`,tooltip:`Opponent`},result:{short:`Result`,tooltip:`Result`},resultType:{short:`#`,tooltip:`Result Type`},atoi:{short:`ATOI`,tooltip:`Average Time On Ice`},shf:{short:`SHF`,tooltip:`Shifts`},ashf:{short:`ASHF`,tooltip:`Average Shifts`},eqToi:{short:`EQ-TOI`,tooltip:`Time On Ice in Equal`},pp1Toi:{short:`PP1-TOI`,tooltip:`Time On Ice in PowerPlay 1`},pp2Toi:{short:`PP2-TOI`,tooltip:`Time On Ice in PowerPlay 2`},sh1Toi:{short:`SH1-TOI`,tooltip:`Time On Ice in Shorthanded 1`},sh2Toi:{short:`SH2-TOI`,tooltip:`Time On Ice in Shorthanded 2`},eqAToi:{short:`EQ-A-TOI`,tooltip:`Average Time On Ice in Equal`},pp1AToi:{short:`PP1-A-TOI`,tooltip:`Average Time On Ice in PowerPlay 1`},pp2AToi:{short:`PP2-A-TOI`,tooltip:`Average Time On Ice in PowerPlay 2`},sh1AToi:{short:`SH1-A-TOI`,tooltip:`Average Time On Ice in Shorthanded 1`},sh2AToi:{short:`SH2-A-TOI`,tooltip:`Average Time On Ice in Shorthanded 2`},role:{short:`Role`,tooltip:`Role`}},game:{data:{localTime:`Game local time`},status:{jury:`Jury result`,delayed:`Game delayed`},period:{wu:`Preparation`,pre:`Preparation Ended`,p1:`First Period`,p1_int:`First Period Ended`,p2:`Second Period`,p2_int:`Second Period Ended`,p3:`Third Period`,p3_int:`Third Period Ended`,p4:`Fourth Period`,p4_int:`Fourth Period Ended`,p5:`Fifth Period`,p5_int:`Fifth Period Ended`,p6:`Sixth Period`,p6_int:`Sixth Period Ended`,ot:`Overtime`,ot_int:`Overtime Ended`,so:`Shoot Out`,so_int:`Shoot Out Ended`,end:`Game Ended`,Bemelegítés:`Warm-up`,"Bemelegítés vége":`Warm-up End`,"1. harmad":`First period`,"1. harmad vége":`First period End`,"2. harmad":`Second period`,"2. harmad vége":`Second period End`,"3. harmad":`Third period`,"3. harmad vége":`Third period End`,"4. harmad":`IV. period`,"4. harmad vége":`IV. period End`,"5. harmad":`V. period`,"5. harmad vége":`V. period End`,"6. harmad":`VI. period`,"6. harmad vége":`VI. period End`,Hosszabbítás:`Overtime`,"Hosszabbítás vége":`Overtime End`,Büntetőlövések:`Penalty Shot`,Végeredmény:`Game Completed`,Szétlövés:`Shoot Out`}}},ru={errors:{"undefined-column":`A(z) {column} oszlop nem létezik!`,"invalid-season-name":`Érvénytelen szezon név`,"api-key-not-found":`API Kulcs nem megfelelő`,gameData:`Game Data: {0}`,gameStats:`Game Stats: {0}`,gameEvents:`Game Events: {0}`,gameOfficials:`Game Officials: {0}`},common:{loading:`Töltődés...`,noData:`Nincs megjeleníthető adat`,selectTimezone:`*Minden időpont a számítógép időzónája szerint jelenik meg ({timezone}). Váltás: `,hungary:`Magyarország`,romania:`Románia`,shootoutShort:`SO`,overtimeShort:`OT`,all:`Mind`,report:`Jegyzőkönyv`,video:`Videó`,retry:`Újra`},additionalText:{inheritedPoints:{prependix:`A megelőző bajnokság szakaszban elért eredménye alapján`,content:`{team} csapata {points}`,appendix:`többletponttal rendelkezik.`},penaltyPoints:{prependix:`* Fegyelmi Bizottság döntése alapján:`,content:`{team} csapatától {points} pont`,appendix:`levonva.`}},table:{blank:`#`,info:`{min} - {max} / {total} db`,team:{short:`Csapat`,tooltip:`Csapatnév`},game:{short:`GP`,tooltip:`Mérkőzésszám`},pper:{short:`PPer`,tooltip:`Összes lejátszott játékrész`},wins:{short:`W`,tooltip:`Győzelem`},draw:{short:`D`,tooltip:`Döntetlen`},otw:{short:`OTW`,tooltip:`Győzelem Hosszabbításban`},sow:{short:`SOW`,tooltip:`Győzelem Szétlövésben`},sol:{short:`SOL`,tooltip:`Vereség Szétlövésben`},otl:{short:`OTL`,tooltip:`Vereség Hosszabbításban`},losses:{short:`L`,tooltip:`Vereség`},goalFor:{short:`GF`,tooltip:`Szerzett Gól`},goalAgainst:{short:`GA`,tooltip:`Kapott Gól`},goalDiff:{short:`GD`,tooltip:`Gólkülönbség`},name:{short:`Név`,tooltip:`Játékosnév`},goals:{short:`G`,tooltip:`Gólok`},assists:{short:`A`,tooltip:`Gólpasszok`},points:{short:`P`,tooltip:`Pontok`},plusMinus:{short:`+/-`,tooltip:`Plussz/Minusz`},sog:{short:`S`,tooltip:`Lövések`},so:{short:`SO`,tooltip:`Kapott gól nélküli mérkőzések`},sogPercent:{short:`S%`,tooltip:`Lövés Hatékonyság`},gameName:{short:`#`,tooltip:`Mérkőzés Sorszáma`},gameDate:{short:`Dátum`,tooltip:`Mérkőzés Dátuma`},gameDateTime:{short:`*Idő ({offsetName})`,tooltip:`Mérkőzés kezdési ideje (Zóna neve)`},homeTeam:{short:`Hazai`,tooltip:`Hazai Csapat`},awayTeam:{short:`Vendég`,tooltip:`Vendég Csapat`},location:{short:`Helyszín`,tooltip:`Mérkőzés Helyszíne`},broadcast:{short:`TV`,tooltip:`TV Közvetítés`},minorPenalties:{short:`MINOR`,tooltip:`Kisbüntetés (2p)`},majorPenalties:{short:`MAJOR`,tooltip:`Büntetés (5p)`},misconducts:{short:`MISC`,tooltip:`Fegyelmi büntetés (10p)`},gameMisconducts:{short:`GA-MI`,tooltip:`Fegyelmi büntetés (20p)`},matchPenalties:{short:`MATCH`,tooltip:`Végleges kiállítások (25p)`},pim:{short:`BÜP`,tooltip:`Büntetés Percek`},pimPerGame:{short:`BÜP/M`,tooltip:`Mérkőzésenkénti Büntetés Percek`},gpgk:{short:`GP`,tooltip:`Mérkőzésre Nevezve`},gpi:{short:`GPI`,tooltip:`Mérkőzésen Játszott`},toi:{short:`TOI`,tooltip:`Jégen Töltött Idő`},toiPercent:{short:`TOI%`,tooltip:`Jégen Töltött Idő Százalék`},ga:{short:`GA`,tooltip:`Kapott Gól`},gaa:{short:`GAA`,tooltip:`Kapott Gólátlag`},sa:{short:`SA`,tooltip:`Kapott Lövés`},svs:{short:`SVS`,tooltip:`Védett Lövés`},svsPercent:{short:`VH%`,tooltip:`Védés Hatékonyság`},homeHeader:{short:`Hazai:`,tooltip:``},awayHeader:{short:`Vendég:`,tooltip:``},totalHeader:{short:`Összes:`,tooltip:``},homeGame:{short:`M`,tooltip:`Hazai Mérkőzés`},awayGame:{short:`M`,tooltip:`Vendég Mérkőzés`},totalGame:{short:`M`,tooltip:`Összes Mérkőzés`},homeAttendance:{short:`Nézőszám`,tooltip:`Hazai Néző`},awayAttendance:{short:`Nézőszám`,tooltip:`Vendég Néző`},totalAttendance:{short:`Nézőszám`,tooltip:`Összes Néző`},homeAttendanceAvg:{short:`Átlag`,tooltip:`Hazi Néző Átlag`},awayAttendanceAvg:{short:`Átlag`,tooltip:`Vendég Néző Átlag`},totalAttendanceAvg:{short:`Átlag`,tooltip:`Összes Néző Átlag`},powerplayDisadvantages:{short:`DVG`,tooltip:`Emberhátrányok`},dvgTime:{short:`DVG-T`,tooltip:`Emberhátrányban Töltött Idő`},dvgTimePP1:{short:`DVG-T PP1`,tooltip:`Szimpla emberhátrányban töltött idő`},dvgTimePP2:{short:`DVG-T PP2`,tooltip:`Kettős emberhátrányban töltött idő`},ppga:{short:`PPGA`,tooltip:`Emberhátrányban kapott gólok`},shgf:{short:`SHGF`,tooltip:`Emberhátrányban szerzett gól`},pkPercent:{short:`PK%`,tooltip:`Emberhátrány kivédekezés`},adv:{short:`ADV`,tooltip:`Emberelőnyök száma`},advTime:{short:`ADV-T`,tooltip:`Emberelőnyben töltött idő`},advTimePP1:{short:`ADV-T PP1`,tooltip:`Szimpla emberelőnyben töltött idő`},advTimePP2:{short:`ADV-T PP2`,tooltip:`Kettős emberelőnyben töltött idő`},ppgf:{short:`PPGF`,tooltip:`Emberelőnyben szerzett gólok`},shga:{short:`SHGA`,tooltip:`Emberelőnyben kapott gólok`},ppPercent:{short:`PP%`,tooltip:`Emberelőny kihasználás`},gfgp:{short:`GF/GP`,tooltip:`Szerzett gólátlag`},gagp:{short:`GA/GP`,tooltip:`Kapott gólátlag`},sogp:{short:`Shots/GP`,tooltip:`Átlagos lövésszám`},sagp:{short:`SA/GP`,tooltip:`Átlagos kapott lövésszám`},jerseyNumber:{short:`#`,tooltip:`Mezszám`},row:{short:`Sor`,tooltip:`Sor`},position:{short:`Po`,tooltip:`Poszt`},teamOfficials:{short:`Hivatalos Személyek`,tooltip:`Hivatalos Személyek`},score:{short:`Eredmény`,tooltip:`Aktuális eredmény`},opponent:{short:`Ellenfél`,tooltip:`Ellenfél`},result:{short:`Eredmény`,tooltip:`Végeredmény`},resultType:{short:`#`,tooltip:`Végeredmény típusa`},atoi:{short:`ATOI`,tooltip:`Átlagos jégen töltött idő`},shf:{short:`SHF`,tooltip:`Jégre lépések száma`},ashf:{short:`ASHF`,tooltip:`Jégre lépések száma átlagosan`},eqToi:{short:`EQ-TOI`,tooltip:`Jégen töltött idő azonos létszámban`},pp1Toi:{short:`PP1-TOI`,tooltip:`Jégen töltött idő egyszeres emberelőnyben`},pp2Toi:{short:`PP2-TOI`,tooltip:`Jégen töltött idő kétszeres emberelőnyben`},sh1Toi:{short:`SH1-TOI`,tooltip:`Jégen töltött idő egyszeres emberhátrányban`},sh2Toi:{short:`SH2-TOI`,tooltip:`Jégen töltött idő kétszeres emberhátrányban`},eqAToi:{short:`EQ-A-TOI`,tooltip:`Átlagos jégen töltött idő azonos létszámban`},pp1AToi:{short:`PP1-A-TOI`,tooltip:`Átlagos jégen töltött idő egyszeres emberelőnyben`},pp2AToi:{short:`PP2-A-TOI`,tooltip:`Átlagos jégen töltött idő kétszeres emberelőnyben`},sh1AToi:{short:`SH1-A-TOI`,tooltip:`Átlagos jégen töltött idő egyszeres emberhátrányban`},sh2AToi:{short:`SH2-A-TOI`,tooltip:`Átlagos jégen töltött idő kétszeres emberhátrányban`},role:{short:`Szerep`,tooltip:`Szerep`}},game:{data:{localTime:`Helyszín szerinti idő`},status:{jury:`Versenybíróság`,delayed:`Elhalasztva`},period:{wu:`Bemelegítés`,pre:`Bemelegítés vége`,p1:`I. játékrész`,p1_int:`I. játékrész vége`,p2:`II. játékrész`,p2_int:`II. játékrész vége`,p3:`III. játékrész`,p3_int:`III. játékrész vége`,p4:`IV. játékrész`,p4_int:`IV. játékrész vége`,p5:`V. játékrész`,p5_int:`V. játékrész vége`,p6:`VI. játékrész`,p6_int:`VI. játékrész vége`,ot:`Hosszabbítás`,ot_int:`Hosszabbítás vége`,so:`Szétlövés`,so_int:`Szétlövés vége`,end:`Végeredmény`,Bemelegítés:`Bemelegítés`,"Bemelegítés vége":`Bemelegítés Vége`,"1. harmad":`I. harmad`,"1. harmad vége":`I. harmad Vége`,"2. harmad":`II. harmad`,"2. harmad vége":`II. harmad Vége`,"3. harmad":`III. harmad`,"3. harmad vége":`III. harmad Vége`,"4. harmad":`IV. harmad`,"4. harmad vége":`IV. harmad Vége`,"5. harmad":`V. harmad`,"5. harmad vége":`V. harmad Vége`,"6. harmad":`VI. harmad`,"6. harmad vége":`VI. harmad Vége`,Hosszabbítás:`Hosszabbítás`,"Hosszabbítás vége":`Hosszabbítás vége`,Büntetők:`Szétlövés`,"Büntetők vége":`Szétlövés vége`,Végeredmény:`Végeredmény`,Szétlövés:`Szétlövés`}}},iu=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},au=(0,t.defineComponent)({props:{locale:{type:String,default:`hu`},messages:{type:Object,default:()=>({})}},setup(e){let n=On({hu:ru,en:nu},e.messages),{translate:r}=Zn({locale:(0,t.computed)(()=>e.locale),messages:n});return{translate:r}}});function ou(e,n,r,i,a,o){return(0,t.renderSlot)(e.$slots,`default`,{t:e.translate})}var su=iu(au,[[`render`,ou]]),cu=[`src`,`width`,`height`],lu=[`src`,`title`,`width`,`height`],uu=Object.assign({inheritAttrs:!1},{__name:`Image`,props:{src:{type:String,default:``},title:{type:String,default:``},defaultSrc:{type:String,default:``},width:{type:Number,default:void 0},height:{type:Number,default:void 0}},setup(e){let n=e,{defaultSrc:r}=(0,t.toRefs)(n),i=(0,t.ref)({src:n.src}),{error:a,isReady:o}=Kr(i,{resetOnExecute:!1,shallow:!1});return(s,c)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.unref)(a)&&(0,t.unref)(r)?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:0,src:(0,t.unref)(r),class:(0,t.normalizeClass)([`is-loaded is-default`,[s.$attrs.class]]),style:(0,t.normalizeStyle)([s.$attrs.style]),width:e.width,height:e.height},null,14,cu)):(0,t.createCommentVNode)(``,!0),(0,t.unref)(a)?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:1,src:i.value.src,title:n.title,class:(0,t.normalizeClass)([s.$attrs.class,{"is-loaded":(0,t.unref)(o)}]),style:(0,t.normalizeStyle)([s.$attrs.style]),width:e.width,height:e.height,loading:`lazy`},null,14,lu))],64))}}),du={class:`loading-indicator`},fu={__name:`LoadingIndicator`,setup(e){let{t:n}=H();return(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,du,(0,t.toDisplayString)((0,t.unref)(n)(`common.loading`)),1))}},pu={key:0,class:`paginator`},mu=[`disabled`],hu=[`disabled`],gu={key:1,class:`is-disabled`},_u=[`disabled`,`onClick`],vu={key:2,class:`is-disabled`},yu=[`disabled`],bu=[`disabled`],xu={__name:`Paginator`,props:{page:{type:Number,required:!1,default:0,validator:e=>e>=0},itemsPerPage:{type:Number,required:!1,default:10,validator:e=>e>0},totalItems:{type:Number,required:!0,validator:e=>e>=0},rangeLength:{type:Number,default:3,validator:e=>e>=2},isCompact:{type:Boolean,default:!1}},emits:[`change`],setup(e,{emit:n}){let r=e,i=n,{page:a,pageCount:o,range:s,goTo:c,pageStep:l}=Ki({currentPage:(0,t.computed)(()=>r.page),totalItems:(0,t.computed)(()=>r.totalItems),itemsPerPage:r.itemsPerPage,rangeLength:r.rangeLength,update:e=>i(`change`,e)});return(n,r)=>(0,t.unref)(o)>1?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,pu,[(0,t.createElementVNode)(`button`,{type:`button`,disabled:(0,t.unref)(a)===1,onClick:r[0]||=e=>(0,t.unref)(l)(-1)},[(0,t.renderSlot)(n.$slots,`prev`,{},()=>[(0,t.createVNode)((0,t.unref)(Ma),{class:`icon paginator-left`})])],8,mu),e.isCompact?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:0,type:`button`,disabled:(0,t.unref)(a)===1,onClick:r[1]||=e=>(0,t.unref)(c)(1)},` 1 `,8,hu)),e.isCompact?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,gu,` ... `)),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(s),e=>((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:e,type:`button`,class:(0,t.normalizeClass)({"is-active":e===(0,t.unref)(a)}),disabled:e===(0,t.unref)(a),onClick:n=>(0,t.unref)(c)(e)},(0,t.toDisplayString)(e),11,_u))),128)),e.isCompact?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,vu,[...r[4]||=[(0,t.createElementVNode)(`span`,null,`...`,-1)]])),e.isCompact?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:3,type:`button`,disabled:(0,t.unref)(a)===(0,t.unref)(o),onClick:r[2]||=e=>(0,t.unref)(c)((0,t.unref)(o))},(0,t.toDisplayString)((0,t.unref)(o)),9,yu)),(0,t.createElementVNode)(`button`,{type:`button`,disabled:(0,t.unref)(a)===(0,t.unref)(o),onClick:r[3]||=(0,t.withModifiers)(e=>(0,t.unref)(l)(1),[`prevent`])},[(0,t.renderSlot)(n.$slots,`next`,{},()=>[(0,t.createVNode)((0,t.unref)(Ua),{class:`icon paginator-left`})])],8,bu)])):(0,t.createCommentVNode)(``,!0)}},Su={__name:`ResponsiveTable`,setup(e){let n=(0,t.ref)(null);return(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{ref_key:`el`,ref:n,class:`table-responsive`},[(0,t.renderSlot)(e.$slots,`default`,{el:n.value})],512))}},Cu={class:`is-team-name-long`},wu={class:`is-team-name-short`},Tu={class:`is-team-name-long`},Eu={class:`is-team-name-short`},Du={key:0,class:`text-highlighted`},Ou=[`href`,`target`],ku={key:0,class:`badge`},Au={key:1,class:`badge`},ju={key:2,class:`badge`},Mu={key:1},Nu=[`data-state`,`onClick`,`onKeydown`],Pu={class:`list`},Fu=[`href`,`target`],Iu={class:`start`},Lu={class:`text`},Ru={key:0},zu=[`href`],Bu={class:`start`},Vu={class:`text`},Hu={__name:`ScheduleTable`,props:{rows:{type:Array,default:()=>[]},isLoading:{type:Boolean,deafult:!1},hideColumns:{type:String,default:``},offsetName:{type:String,default:``},externalGameResolver:{type:Function,required:!0},externalGameResolverTarget:{type:String,default:`_blank`}},setup(e){let n=e,r=(0,t.ref)(null),{onError:i}=fr(),{columns:a,error:o}=rr(E,(0,t.computed)(()=>n.hideColumns),(0,t.computed)(()=>({offsetName:n.offsetName})));Ir(o,()=>i(new Vs(Hs.message,{...Hs.options,cause:{column:o.value}})),{immediate:!0});let{t:s}=H();return(i,o)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.createVNode)(Su,null,{default:(0,t.withCtx)(({el:i})=>[(0,t.createVNode)(Jl,{columns:(0,t.unref)(a),rows:n.rows,"is-loading":e.isLoading,"append-to":r.value||i},{"cell-homeTeamName":(0,t.withCtx)(({row:e})=>[e.homeTeam?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createElementVNode)(`span`,Cu,(0,t.toDisplayString)(e.homeTeam.longName),1),(0,t.createElementVNode)(`span`,wu,(0,t.toDisplayString)(e.homeTeam.shortName),1)],64)):(0,t.createCommentVNode)(``,!0)]),"cell-awayTeamName":(0,t.withCtx)(({row:e})=>[e.awayTeam?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createElementVNode)(`span`,Tu,(0,t.toDisplayString)(e.awayTeam.longName),1),(0,t.createElementVNode)(`span`,Eu,(0,t.toDisplayString)(e.awayTeam.shortName),1)],64)):(0,t.createCommentVNode)(``,!0)]),"cell-homeTeamLogo":(0,t.withCtx)(({row:e})=>[e.homeTeam?((0,t.openBlock)(),(0,t.createBlock)(uu,{key:e.homeTeam.id,class:`is-logo-image`,src:e.homeTeam.logo},null,8,[`src`])):(0,t.createCommentVNode)(``,!0)]),"cell-awayTeamLogo":(0,t.withCtx)(({row:e})=>[e.awayTeam?((0,t.openBlock)(),(0,t.createBlock)(uu,{key:e.awayTeam.id,class:`is-logo-image`,src:e.awayTeam.logo},null,8,[`src`])):(0,t.createCommentVNode)(``,!0)]),"cell-gameResult":(0,t.withCtx)(({row:n})=>[n.gameStatus===0?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Du,`-:-`)):((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:1,href:e.externalGameResolver(n.gameId),target:e.externalGameResolverTarget,class:(0,t.normalizeClass)({"text-highlighted":n.gameStatus!==1,"is-text-accent":n.gameStatus===1})},(0,t.toDisplayString)(n.homeTeamScore)+`:`+(0,t.toDisplayString)(n.awayTeamScore),11,Ou))]),"cell-gameResultType":(0,t.withCtx)(({row:e})=>[e.isOvertime?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,ku,(0,t.toDisplayString)((0,t.unref)(s)(`common.overtimeShort`)),1)):(0,t.createCommentVNode)(``,!0),e.isShootout?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Au,(0,t.toDisplayString)((0,t.unref)(s)(`common.shootoutShort`)),1)):(0,t.createCommentVNode)(``,!0),e.seriesStandings?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,ju,(0,t.toDisplayString)(e.seriesStandings),1)):(0,t.createCommentVNode)(``,!0)]),"cell-broadcast":(0,t.withCtx)(({row:e})=>[e.broadcast?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(ya),{key:0})):((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Mu))]),"cell-location":(0,t.withCtx)(({row:e})=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.location?.locationName??``),1)]),"cell-more":(0,t.withCtx)(({row:n})=>[(0,t.createVNode)(zl,{offset:2,placement:`left`,theme:`content`,"append-to":i},{default:(0,t.withCtx)(({setRef:e,open:n,toggle:r,nextFocus:i})=>[(0,t.createElementVNode)(`button`,{ref:e,type:`button`,"aria-label":`more`,"data-state":n?`open`:`closed`,class:`icon-button`,onClick:(0,t.withModifiers)(r,[`stop`,`prevent`]),onKeydown:(0,t.withKeys)(i,[`tab`])},[(0,t.createVNode)((0,t.unref)(za))],40,Nu)]),content:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`ul`,Pu,[(0,t.createElementVNode)(`li`,null,[(0,t.createElementVNode)(`a`,{href:e.externalGameResolver(n.gameId),class:`is-dropdown-item`,target:e.externalGameResolverTarget},[(0,t.createElementVNode)(`div`,Iu,[(0,t.createVNode)((0,t.unref)(qa))]),(0,t.createElementVNode)(`div`,Lu,(0,t.toDisplayString)((0,t.unref)(s)(`common.report`)),1)],8,Fu)]),n.video?((0,t.openBlock)(),(0,t.createElementBlock)(`li`,Ru,[(0,t.createElementVNode)(`a`,{href:n.video,class:`is-dropdown-item`,target:`_blank`},[(0,t.createElementVNode)(`div`,Bu,[(0,t.createVNode)((0,t.unref)(Do))]),(0,t.createElementVNode)(`div`,Vu,(0,t.toDisplayString)((0,t.unref)(s)(`common.video`)),1)],8,zu)])):(0,t.createCommentVNode)(``,!0)])]),_:2},1032,[`append-to`])]),loading:(0,t.withCtx)(()=>[(0,t.createVNode)(fu)]),_:2},1032,[`columns`,`rows`,`is-loading`,`append-to`])]),_:1}),(0,t.createElementVNode)(`div`,{ref_key:`tooltipContainer`,ref:r},null,512)],64))}},Uu={class:`flex-container mb-md`},Wu=[`value`],Gu={key:0,class:`tabs underlined mb-md`},Ku=[`aria-label`],qu=[`aria-selected`,`onClick`],Ju={__name:`SeasonSelector`,props:{seasons:{type:Array,default:()=>[]},championshipId:{type:Number,default:0},sections:{type:Array,default:()=>[]},sectionId:{type:Number,default:0},isSectionSelectionDisabled:{type:Boolean,default:!1}},emits:[`onChangeSeason`,`onChangeSection`],setup(e,{emit:n}){let r=e,i=n,{t:a}=H(),o=(0,t.computed)({get(){return r.championshipId},set(e){i(`onChangeSeason`,e)}});function s(e){i(`onChangeSection`,e)}return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.createElementVNode)(`div`,Uu,[(0,t.createVNode)(tu,{label:(0,t.unref)(a)(`selection.season`),name:`season`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(da,{id:`season`,modelValue:o.value,"onUpdate:modelValue":r[0]||=e=>o.value=e},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.seasons,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`option`,{key:e.championshipId,value:e.championshipId},(0,t.toDisplayString)(e.seasonName),9,Wu))),128))]),_:1},8,[`modelValue`])]),_:1},8,[`label`]),(0,t.renderSlot)(n.$slots,`default`)]),e.isSectionSelectionDisabled?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`nav`,Gu,[(0,t.createElementVNode)(`div`,{role:`tablist`,"aria-label":(0,t.unref)(a)(`selection.sections`)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.sections,n=>((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:n.phaseId,role:`tab`,type:`button`,"aria-selected":n.phaseName===e.sectionId,onClick:e=>s(n)},(0,t.toDisplayString)(n.phaseName),9,qu))),128))],8,Ku)]))],64))}},Yu={class:`avatar`},Xu=[`href`],Zu={class:`is-team-name-long`},Qu={class:`is-team-name-short`},$u={class:`is-team-name-long`},ed={key:0},td={class:`is-team-name-short`},nd={key:0},rd={class:`is-team-name-long`},id={class:`is-team-name-short`},ad={class:`is-team-name-long`},od={class:`is-team-name-short`},sd=[`href`],cd={key:0,class:`text-highlighted`},ld=[`href`,`target`],ud={key:0,class:`badge`},dd={key:1,class:`badge`},fd={key:2,class:`badge`},pd=[`href`],md={__name:`StatisticsTable`,props:{columns:{type:Object,required:!0},rows:{type:Array,default:()=>[]},isLoading:{type:Boolean,deafult:!1},hideColumns:{type:String,default:``},sort:{type:Object,default:()=>({})},externalTeamResolver:{type:Function,required:!0},externalPlayerResolver:{type:Function,default:()=>{}},externalGameResolver:{type:Function,default:()=>{}},externalGameResolverTarget:{type:String,default:`_self`},isTeamLinked:{type:Boolean,default:!1},isPlayerLinked:{type:Boolean,default:!1},appendTo:{type:[Object,String],default:null},offsetName:{type:String,default:``}},emits:[`sort`],setup(e,{emit:n}){let r=e,i=n,{columns:a,hideColumns:o}=(0,t.toRefs)(r),{onError:s}=fr(),{t:c}=H(),{columns:l,error:u}=rr(a,o,(0,t.computed)(()=>({offsetName:r.offsetName})));u.value&&s(new Vs(Hs.message,{...Hs.options,cause:{column:u.value}}));let d=e=>i(`sort`,e);return(n,i)=>((0,t.openBlock)(),(0,t.createBlock)(Su,null,{default:(0,t.withCtx)(({el:a})=>[(0,t.createVNode)(Jl,{columns:(0,t.unref)(l),sort:r.sort,rows:r.rows,"is-loading":e.isLoading,"append-to":e.appendTo||a,onSort:d},(0,t.createSlots)({"cell-index":(0,t.withCtx)(({row:e})=>[(0,t.createElementVNode)(`span`,{class:(0,t.normalizeClass)(e.indexClass)},(0,t.toDisplayString)(e.index),3)]),"cell-playerPortrait":(0,t.withCtx)(({row:e})=>[(0,t.createElementVNode)(`div`,Yu,[((0,t.openBlock)(),(0,t.createBlock)(uu,{key:e.player.playerId,src:e.player.picture,"default-src":(0,t.unref)(m)},null,8,[`src`,`default-src`]))])]),"cell-teamLogo":(0,t.withCtx)(({row:e})=>[((0,t.openBlock)(),(0,t.createBlock)(uu,{key:e.team?.id??e.id,class:`is-logo-image`,src:e.team?.logo},null,8,[`src`]))]),"cell-homeTeamLogo":(0,t.withCtx)(({row:e})=>[((0,t.openBlock)(),(0,t.createBlock)(uu,{key:e.homeTeam?.id,class:`is-logo-image is-right`,src:e.homeTeam?.logo},null,8,[`src`]))]),"cell-awayTeamLogo":(0,t.withCtx)(({row:e})=>[((0,t.openBlock)(),(0,t.createBlock)(uu,{key:e.awayTeam?.id,class:`is-logo-image is-right`,src:e.awayTeam?.logo},null,8,[`src`]))]),"cell-teamName":(0,t.withCtx)(({row:n})=>[e.isTeamLinked?((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:0,href:e.externalTeamResolver(n),target:`_blank`},[(0,t.createElementVNode)(`span`,Zu,(0,t.toDisplayString)(n.team?.longName),1),(0,t.createElementVNode)(`span`,Qu,(0,t.toDisplayString)(n.team?.shortName),1)],8,Xu)):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.createElementVNode)(`span`,$u,[(0,t.createTextVNode)((0,t.toDisplayString)(n.team?.longName)+` `,1),n.penaltyPoints?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,ed,[...i[0]||=[(0,t.createElementVNode)(`sup`,null,`*`,-1)]])):(0,t.createCommentVNode)(``,!0)]),(0,t.createElementVNode)(`span`,td,[(0,t.createTextVNode)((0,t.toDisplayString)(n.team?.shortName)+` `,1),n.penaltyPoints?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,nd,[...i[1]||=[(0,t.createElementVNode)(`sup`,null,`*`,-1)]])):(0,t.createCommentVNode)(``,!0)])],64))]),"cell-homeTeamName":(0,t.withCtx)(({row:e})=>[(0,t.createElementVNode)(`span`,rd,(0,t.toDisplayString)(e.homeTeam?.longName),1),(0,t.createElementVNode)(`span`,id,(0,t.toDisplayString)(e.homeTeam?.shortName),1)]),"cell-awayTeamName":(0,t.withCtx)(({row:e})=>[(0,t.createElementVNode)(`span`,ad,(0,t.toDisplayString)(e.awayTeam?.longName),1),(0,t.createElementVNode)(`span`,od,(0,t.toDisplayString)(e.awayTeam?.shortName),1)]),"cell-location":(0,t.withCtx)(({row:e})=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.location?.locationName??``),1)]),"cell-gameResult":(0,t.withCtx)(({row:n})=>[n.gameStatus===0?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,cd,`-:-`)):((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:1,href:e.externalGameResolver(n),target:e.externalGameResolverTarget,class:(0,t.normalizeClass)({"text-highlighted":n.gameStatus!==1,"is-text-accent":n.gameStatus===1})},(0,t.toDisplayString)(n.homeTeamScore)+`:`+(0,t.toDisplayString)(n.awayTeamScore),11,ld))]),"cell-gameResultType":(0,t.withCtx)(({row:e})=>[e.isOvertime?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,ud,(0,t.toDisplayString)((0,t.unref)(c)(`common.overtimeShort`)),1)):(0,t.createCommentVNode)(``,!0),e.isShootout?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,dd,(0,t.toDisplayString)((0,t.unref)(c)(`common.shootoutShort`)),1)):(0,t.createCommentVNode)(``,!0),e.seriesStandings?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,fd,(0,t.toDisplayString)(e.seriesStandings),1)):(0,t.createCommentVNode)(``,!0)]),"cell-mjszTv":(0,t.withCtx)(({row:e})=>[e.isMjszTvLinkVisible?((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:0,href:e.mjszTvLink,target:`_blank`},[(0,t.createVNode)((0,t.unref)(go))],8,pd)):(0,t.createCommentVNode)(``,!0)]),loading:(0,t.withCtx)(()=>[(0,t.createVNode)(fu)]),_:2},[e.isPlayerLinked?{name:`cell-name`,fn:(0,t.withCtx)(({row:n})=>[(0,t.createElementVNode)(`a`,{href:e.externalPlayerResolver(n),target:`_blank`},(0,t.toDisplayString)(n.name),9,sd)]),key:`0`}:void 0,n.$slots.caption?{name:`caption`,fn:(0,t.withCtx)(()=>[(0,t.renderSlot)(n.$slots,`caption`)]),key:`1`}:void 0]),1032,[`columns`,`sort`,`rows`,`is-loading`,`append-to`])]),_:3}))}},hd={class:`timezone-selector`},gd=[`onClick`],_d={__name:`TimezoneSelector`,props:{locale:{type:String,default:`hu`},currentZone:{type:String,required:!0}},emits:[`change`],setup(e,{emit:n}){let r=e,i=n,{t:a}=H(),o=(0,t.computed)(()=>wi(new Date,null,r.locale)),s=Si(),c=(0,t.computed)(()=>Array.from(C.values(),e=>({...e,isActive:wi(new Date,r.currentZone,r.locale)===wi(new Date,e.timezone,r.locale),zoneOffsetName:wi(new Date,e.timezone,r.locale)}))),l=e=>i(`change`,e);return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,hd,[(0,t.createVNode)((0,t.unref)(nr),{path:`common.selectTimezone`,tag:`span`},{timezone:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`button`,{type:`button`,"data-variant":`link`,onClick:n[0]||=e=>l((0,t.unref)(s))},(0,t.toDisplayString)(o.value),1)]),_:1}),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(c.value,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:e.countryLabelKey,type:`button`,"data-variant":`link`,class:(0,t.normalizeClass)({"is-active":e.isActive}),onClick:(0,t.withModifiers)(t=>l(e.timezone),[`prevent`])},(0,t.toDisplayString)((0,t.unref)(a)(`common.${e.countryLabelKey}`))+` (`+(0,t.toDisplayString)(e.zoneOffsetName)+`) `,11,gd))),128))]))}},vd={locale:{type:String,default:`hu`},championshipId:{type:String,default:``},division:{type:String,default:``},phaseId:{type:String,default:``},apiKey:{type:String,default:``},hideColumns:{type:String,default:``}},yd={externalTeamResolver:{type:[String,Function],default:``},isTeamLinked:{type:Boolean,default:!1}},bd={limit:{type:Number,default:20},teamFilterByName:{type:String,default:``},externalPlayerResolver:{type:[String,Function],default:``},isPlayerLinked:{type:Boolean,default:!1}},xd={externalGameResolver:{type:[String,Function],default:``},isGameTargetExternal:{type:Boolean,default:!1}};function Sd({app:e=null,modules:t=[],apiKey:n,gameResolver:r,teamResolver:i,playerResolver:a}){if(window.__MJSZ_VBR_WIDGET__={apiKey:n,gameResolver:r,teamResolver:i,playerResolver:a},t.length===0)throw Error(`At least one module must be set`);t.forEach(t=>{if(e)return e.use(t);if(t.register)return t.register();t?.install()})}return e.AVAILABLE_TIMEZONES_BY_COUNTRY=C,e.AdditionalStandingsText=ua,e.BaseSelect=da,e.COLUMNS_FIELD_PLAYERS=ne,e.COLUMNS_FIELD_PLAYERS_PENALTY=re,e.COLUMNS_FIELD_PLAYERS_TOI=ie,e.COLUMNS_GOALIES=ae,e.COLUMNS_PLAYERS_NATIONAL=oe,e.COLUMNS_SCHEDULE=E,e.COLUMNS_SCORING_EFFICIENCY=de,e.COLUMNS_STANDINGS_P_2=ee,e.COLUMNS_STANDINGS_P_3=D,e.COLUMNS_STANDINGS_P_PER=O,e.COLUMNS_STANDINGS_SHORT=te,e.COLUMNS_TEAMS_FAIRPLAY=ce,e.COLUMNS_TEAMS_PENALTY_KILLING=le,e.COLUMNS_TEAMS_POWERPLAY=ue,e.COLUMNS_TEAM_ATTENDANCE=se,e.DEFAULT_EXTERNAL_GAME_URL=p,e.DEFAULT_EXTERNAL_PLAYER_URL=h,e.DEFAULT_EXTERNAL_STATISTIC_URL=_,e.DEFAULT_EXTERNAL_TEAM_URL=g,e.DEFAULT_PORTRAIT_IMAGE_URL=m,e.DataTable=Jl,e.ErrorNotice=Zl,e.ErrorProvider=Ql,e.FLAG_BASE_URL=v,e.FetchMoreObserver=Se,e.FloatingPanel=zl,e.FormField=tu,e.I18NProvider=su,e.Image=uu,e.InvalidSeasonName=Us,e.LAZY_LOADING_STATE_DELAY=T,e.LOCALE_FOR_LANG=S,e.LoadingIndicator=fu,e.Paginator=xu,e.REFRESH_DELAY=w,e.ResponsiveTable=Su,e.SORT_STATE_ASCEND=x,e.SORT_STATE_DESCEND=b,e.SORT_STATE_ORIGINAL=y,e.ScheduleTable=Hu,e.SeasonSelector=Ju,e.StatisticsTable=md,e.TimezoneSelector=_d,e.UndefinedColumn=Hs,e.VBR_API_BASE_URL=d,e.VBR_API_WEBSOCKET_BASE_URL=f,e.WidgetError=Vs,e.addColumn=jo,e.addDays=zi,e.addYears=Bi,e.appendTo=zs,e.baseProps=vd,e.clone=Wt,e.convert=Po,e.convertAddress=Ms,e.convertGameEvents=vs,e.convertGameNames=Zo,e.convertGameOfficials=ws,e.convertGamePeriodResults=Xo,e.convertMinToMinSec=Oi,e.convertMinToSec=Ei,e.convertPenaltyCauseName=ps,e.convertPeriodResults=ms,e.convertPeriodResultsToArray=hs,e.convertPhaseName=rs,e.convertSeasons=as,e.convertSecToMin=Di,e.convertTeams=os,e.convertTimes=qo,e.convertTimesMinToMinSec=Jo,e.convertTimesSecToMin=Yo,e.cookie=Rs,e.createConfig=Sd,e.createI18n=Zn,e.createMjszTvLink=Ls,e.currentWeek=Ii,e.currentWeekStartEnd=Li,e.default={install:(e,t={})=>Sd({app:e,...t})},e.endOfMonth=Hi,e.externalGameLinkResolver=Ks,e.externalPlayerLinkResolver=Js,e.externalStatisticLinkResolver=Ys,e.externalTeamLinkResolver=qs,e.fetchVBRData=mr,e.filterAllowedClasses=lr,e.filterAndSortSections=ss,e.filterGoalScorersFromEvents=bs,e.flagResolver=Xs,e.format=Ci,e.gameDateTime=Ro,e.gameProps=xd,e.gameResult=zo,e.getLocalTimezone=Si,e.getWebsocketURL=Ws,e.groupLines=ys,e.head=Xt,e.i18n=nr,e.isAfter=Pi,e.isBefore=Ni,e.isBetween=Ai,e.isEmpty=yn,e.isNotEmpty=bn,e.isSame=ji,e.isSameOrBefore=ki,e.isToday=Fi,e.joinOfficals=_s,e.last=tn,e.localeSort=$o,e.map=F,e.max=Wi,e.mergeLeft=kn,e.mergePlayerStats=As,e.min=Ui,e.mjszTvLinkVisibility=Is,e.offsetName=wi,e.omit=jn,e.path=R,e.pick=Fn,e.pickCoaches=xs,e.pipe=Jt,e.playerName=Io,e.playerStatsProps=bd,e.prop=I,e.propEq=In,e.rawConvert=Fo,e.reject=P,e.removeCurrentFromSeasonStats=Es,e.removeUnneededPhases=Os,e.resolveApiKey=Zs,e.reverse=Yt,e.scheduleOptionalRowClass=Go,e.scrollToTop=Qs,e.selectFirstPhaseName=ls,e.selectFirstSectionId=cs,e.selectLastSections=fs,e.sortBy=z,e.sortByDomNode=Bs,e.sortByEventTimeSec=Cs,e.sortByPhaseId=us,e.sortByStartingFive=gs,e.sortGames=Qo,e.standingTableSort=Ts,e.startOfMonth=Vi,e.subtractDays=Ri,e.sum=Tn,e.teamName=Lo,e.teamOpponent=Bo,e.teamResultType=Vo,e.teamStatsProps=yd,e.templateReplacer=U,e.toKebabCase=cr,e.transformCurrentSeasonStats=Ds,e.transformEventsForGameTimeline=Ss,e.transformFieledPlayersStats=js,e.transformPlayers=ds,e.transformRosters=ks,e.upperCase=Ko,e.useAdditionalText=qn,e.useColumns=rr,e.useError=fr,e.useErrorProvider=dr,e.useGameDataSocket=Zr,e.useI18n=H,e.useLazyLoadingState=Qr,e.usePage=Gi,e.useScrollToGameDate=qi,e.useServices=Ji,e.useSort=sa,e.useVisibilityChange=ca,e.validateColumnsName=ir,e.yearToNow=Mi,e})({},Vue);
|