@mjsz-vbr-elements/core 2.32.0 → 2.33.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.
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.32.0 - 11/11/2025, 12:46:31
3
+ * version: v2.33.0 - 25/11/2025, 21:00:10
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- var MjszVbrElementsCore=function(p,r){"use strict";const Fe="https://api.icehockey.hu/vbr",Mn="https://www.jegkorongszovetseg.hu/event/game/{gameId}",Cn="https://jegkorongszovetseg.hu/assets/images/player_blank.png",In="https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}",Ln="https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}",Bn="https://www.ersteliga.hu/stats?report={id}",Rn="https://api.icehockey.hu/static/api/flag",ft="original",b="descend",C="ascend",zn=new Map().set("hu","hu-hu").set("en","hu-gb"),Vn=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),Co=1e3*60*5,Gn=1e3,Fn={gameName:{label:"table.gameName.short",tooltip:"table.gameName.tooltip",class:"is-text-left is-text-light"},gameDateDate:{label:"table.gameDate.short",tooltip:"table.gameDate.tooltip",class:"is-text-left"},gameDateTime:{label:"table.gameDateTime.short",tooltip:"table.gameDateTime.tooltip",class:"is-text-left"},homeTeamName:{label:"table.homeTeam.short",tooltip:"table.homeTeam.tooltip",class:"is-text-right is-w-auto is-text-bold"},homeTeamLogo:{label:"",class:"is-has-image"},gameResult:{label:"",class:"is-text-bold is-text-xl"},gameResultType:{label:"",tooltip:""},awayTeamLogo:{label:"",class:"is-has-image"},awayTeamName:{label:"table.awayTeam.short",tooltip:"table.awayTeam.tooltip",class:"is-text-left is-w-auto is-text-bold"},location:{label:"table.location.short",tooltip:"table.location.tooltip",class:"is-text-left"},broadcast:{label:"table.broadcast.short",tooltip:"table.broadcast.tooltip"},more:{label:""}},Io={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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:C}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:C}]},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:C}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b},{target:"gamesPlayed",direction:C},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},Lo={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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:C}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:C}]},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:C}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b},{target:"gamesPlayed",direction:C},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},Bo={index:{label:"#",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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:C}]},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:C}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b}]}},Ro={index:{label:"#",class:"is-text-left is-text-italic is-text-light"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold"},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",class:"is-text-light"},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",class:"is-text-light"},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",class:"is-text-light"},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",class:"is-text-light"},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold"}},zo={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},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}]}},Vo={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},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}]}},Go={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},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}]}},Fo={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},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}]}},jo={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},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}]}},Uo={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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}]}},Ho={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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}]}},Yo={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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}]}},Wo={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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}]}},qo={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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:C}]},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:C}]},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:C}]},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:C}]},sp:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"sp",direction:b}]}};function Ko(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}function jn(t){return typeof t=="function"?t():r.unref(t)}const Zo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Xo=t=>t!=null,je=()=>{};function Ue(t){var e;const n=jn(t);return(e=n?.$el)!=null?e:n}const Jo=Zo?window:void 0;function Qo(){const t=r.ref(!1);return r.getCurrentInstance()&&r.onMounted(()=>{t.value=!0}),t}function ta(t){const e=Qo();return r.computed(()=>(e.value,!!t()))}function ea(t,e,n={}){const{root:o,rootMargin:a="0px",threshold:i=.1,window:s=Jo,immediate:l=!0}=n,u=ta(()=>s&&"IntersectionObserver"in s),c=r.computed(()=>{const m=jn(t);return(Array.isArray(m)?m:[m]).map(Ue).filter(Xo)});let d=je;const f=r.ref(l),y=u.value?r.watch(()=>[c.value,Ue(o),f.value],([m,T])=>{if(d(),!f.value||!m.length)return;const g=new IntersectionObserver(e,{root:Ue(T),rootMargin:a,threshold:i});m.forEach(S=>S&&g.observe(S)),d=()=>{g.disconnect(),d=je}},{immediate:l,flush:"post"}):je,h=()=>{d(),y(),f.value=!1};return Ko(h),{isSupported:u,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:h}}const na=r.defineComponent({name:"FetchMoreObserver",props:["as","options"],emits:["intersect"],setup(t,{slots:e,emit:n}){const o=r.ref(null),{stop:a}=ea(o,([{isIntersecting:i}])=>{i&&n("intersect")},t.options);return r.onUnmounted(a),()=>{if(e.default)return r.h(t.as||"div",{ref:o},e.default())}}});function H(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function G(t){return function e(n){return arguments.length===0||H(n)?e:t.apply(this,arguments)}}function V(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return H(n)?e:G(function(a){return t(n,a)});default:return H(n)&&H(o)?e:H(n)?G(function(a){return t(a,o)}):H(o)?G(function(a){return t(n,a)}):t(n,o)}}}var ra=V(function(e,n){return Number(e)+Number(n)});function ue(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(n){return e.apply(this,arguments)};case 2:return function(n,o){return e.apply(this,arguments)};case 3:return function(n,o,a){return e.apply(this,arguments)};case 4:return function(n,o,a,i){return e.apply(this,arguments)};case 5:return function(n,o,a,i,s){return e.apply(this,arguments)};case 6:return function(n,o,a,i,s,l){return e.apply(this,arguments)};case 7:return function(n,o,a,i,s,l,u){return e.apply(this,arguments)};case 8:return function(n,o,a,i,s,l,u,c){return e.apply(this,arguments)};case 9:return function(n,o,a,i,s,l,u,c,d){return e.apply(this,arguments)};case 10:return function(n,o,a,i,s,l,u,c,d,f){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function He(t,e,n){return function(){for(var o=[],a=0,i=t,s=0,l=!1;s<e.length||a<arguments.length;){var u;s<e.length&&(!H(e[s])||a>=arguments.length)?u=e[s]:(u=arguments[a],a+=1),o[s]=u,H(u)?l=!0:i-=1,s+=1}return!l&&i<=0?n.apply(this,o):ue(Math.max(0,i),He(t,o,n))}}var Dt=V(function(e,n){return e===1?G(n):ue(e,He(e,[],n))});function J(t){return function e(n,o,a){switch(arguments.length){case 0:return e;case 1:return H(n)?e:V(function(i,s){return t(n,i,s)});case 2:return H(n)&&H(o)?e:H(n)?V(function(i,s){return t(i,o,s)}):H(o)?V(function(i,s){return t(n,i,s)}):G(function(i){return t(n,o,i)});default:return H(n)&&H(o)&&H(a)?e:H(n)&&H(o)?V(function(i,s){return t(i,s,a)}):H(n)&&H(a)?V(function(i,s){return t(i,o,s)}):H(o)&&H(a)?V(function(i,s){return t(n,i,s)}):H(n)?G(function(i){return t(i,o,a)}):H(o)?G(function(i){return t(n,i,a)}):H(a)?G(function(i){return t(n,o,i)}):t(n,o,a)}}}const jt=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function oa(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function Ut(t,e,n){return function(){if(arguments.length===0)return n();var o=arguments[arguments.length-1];if(!jt(o)){for(var a=0;a<t.length;){if(typeof o[t[a]]=="function")return o[t[a]].apply(o,Array.prototype.slice.call(arguments,0,-1));a+=1}if(oa(o)){var i=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(o)}}return n.apply(this,arguments)}}function Ye(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const At={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function Un(t){for(var e=[],n;!(n=t.next()).done;)e.push(n.value);return e}function We(t,e,n){for(var o=0,a=n.length;o<a;){if(t(e,n[o]))return!0;o+=1}return!1}function aa(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function ot(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function ia(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const qe=typeof Object.is=="function"?Object.is:ia;var Hn=Object.prototype.toString,Yn=function(){return Hn.call(arguments)==="[object Arguments]"?function(e){return Hn.call(e)==="[object Arguments]"}:function(e){return ot("callee",e)}}(),sa=!{toString:null}.propertyIsEnumerable("toString"),Wn=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],qn=function(){return arguments.propertyIsEnumerable("length")}(),la=function(e,n){for(var o=0;o<e.length;){if(e[o]===n)return!0;o+=1}return!1},yt=G(typeof Object.keys=="function"&&!qn?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var n,o,a=[],i=qn&&Yn(e);for(n in e)ot(n,e)&&(!i||n!=="length")&&(a[a.length]=n);if(sa)for(o=Wn.length-1;o>=0;)n=Wn[o],ot(n,e)&&!la(a,n)&&(a[a.length]=n),o-=1;return a}),Ke=G(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Kn(t,e,n,o){var a=Un(t),i=Un(e);function s(l,u){return Ze(l,u,n.slice(),o.slice())}return!We(function(l,u){return!We(s,u,l)},i,a)}function Ze(t,e,n,o){if(qe(t,e))return!0;var a=Ke(t);if(a!==Ke(e))return!1;if(typeof t["fantasy-land/equals"]=="function"||typeof e["fantasy-land/equals"]=="function")return typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e)&&typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t);if(typeof t.equals=="function"||typeof e.equals=="function")return typeof t.equals=="function"&&t.equals(e)&&typeof e.equals=="function"&&e.equals(t);switch(a){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&aa(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&qe(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!qe(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(!(t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.sticky===e.sticky&&t.unicode===e.unicode))return!1;break}for(var i=n.length-1;i>=0;){if(n[i]===t)return o[i]===e;i-=1}switch(a){case"Map":return t.size!==e.size?!1:Kn(t.entries(),e.entries(),n.concat([t]),o.concat([e]));case"Set":return t.size!==e.size?!1:Kn(t.values(),e.values(),n.concat([t]),o.concat([e]));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 s=yt(t);if(s.length!==yt(e).length)return!1;var l=n.concat([t]),u=o.concat([e]);for(i=s.length-1;i>=0;){var c=s[i];if(!(ot(c,e)&&Ze(e[c],t[c],l,u)))return!1;i-=1}return!0}var Mt=V(function(e,n){return Ze(e,n,[],[])});function ca(t,e,n){var o,a;if(typeof t.indexOf=="function")switch(typeof e){case"number":if(e===0){for(o=1/e;n<t.length;){if(a=t[n],a===0&&1/a===o)return n;n+=1}return-1}else if(e!==e){for(;n<t.length;){if(a=t[n],typeof a=="number"&&a!==a)return n;n+=1}return-1}return t.indexOf(e,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,n);case"object":if(e===null)return t.indexOf(e,n)}for(;n<t.length;){if(Mt(t[n],e))return n;n+=1}return-1}function Zn(t,e){return ca(e,t,0)>=0}function de(t,e){for(var n=0,o=e.length,a=Array(o);n<o;)a[n]=t(e[n]),n+=1;return a}function Xe(t){var e=t.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");return'"'+e.replace(/"/g,'\\"')+'"'}var Ht=function(e){return(e<10?"0":"")+e},ua=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Ht(e.getUTCMonth()+1)+"-"+Ht(e.getUTCDate())+"T"+Ht(e.getUTCHours())+":"+Ht(e.getUTCMinutes())+":"+Ht(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function da(t){return function(){return!t.apply(this,arguments)}}function Xn(t,e,n){for(var o=0,a=n.length;o<a;)e=t(e,n[o]),o+=1;return e}function Jn(t,e){for(var n=0,o=e.length,a=[];n<o;)t(e[n])&&(a[a.length]=e[n]),n+=1;return a}function fa(t,e){for(var n=new Map,o=e.entries(),a=o.next();!a.done;)t(a.value[1])&&n.set(a.value[0],a.value[1]),a=o.next();return n}function ma(t){return Object.prototype.toString.call(t)==="[object Map]"}function fe(t){return Object.prototype.toString.call(t)==="[object Object]"}var pa=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=At.result,t.prototype["@@transducer/step"]=function(e,n){return this.f(n)?this.xf["@@transducer/step"](e,n):e},t}();function ha(t){return function(e){return new pa(t,e)}}var Ct=V(Ut(["fantasy-land/filter","filter"],ha,function(t,e){return fe(e)?Xn(function(n,o){return t(e[o])&&(n[o]=e[o]),n},{},yt(e)):ma(e)?fa(t,e):Jn(t,e)})),mt=V(function(e,n){return Ct(da(e),n)});function Qn(t,e){var n=function(s){var l=e.concat([t]);return Zn(s,l)?"<Circular>":Qn(s,l)},o=function(i,s){return de(function(l){return Xe(l)+": "+n(i[l])},s.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+de(n,t).join(", ")+"))";case"[object Array]":return"["+de(n,t).concat(o(t,mt(function(i){return/^\d+$/.test(i)},yt(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+n(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?n(NaN):Xe(ua(t)))+")";case"[object Map]":return"new Map("+n(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+n(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+n(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+n(t.valueOf())+")":Xe(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var a=t.toString();if(a!=="[object Object]")return a}return"{"+o(t,yt(t)).join(", ")+"}"}}var me=G(function(e){return Qn(e,[])}),tr=V(function(e,n){if(e===n)return n;function o(u,c){if(u>c!=c>u)return c>u?c:u}var a=o(e,n);if(a!==void 0)return a;var i=o(typeof e,typeof n);if(i!==void 0)return i===typeof e?e:n;var s=me(e),l=o(s,me(n));return l!==void 0&&l===s?e:n}),ga=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=At.result,t.prototype["@@transducer/step"]=function(e,n){return this.xf["@@transducer/step"](e,this.f(n))},t}(),ya=function(e){return function(n){return new ga(e,n)}},K=V(Ut(["fantasy-land/map","map"],ya,function(e,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return Dt(n.length,function(){return e.call(this,n.apply(this,arguments))});case"[object Object]":return Xn(function(o,a){return o[a]=e(n[a]),o},{},yt(n));default:return de(e,n)}}));const pe=Number.isInteger||function(e){return e<<0===e};function he(t,e){var n=t<0?e.length+t:t;return e[n]}function er(t,e){if(e!=null)return pe(t)?he(t,e):e[t]}var F=V(er),nr=V(function(e,n){return K(F(e),n)});function Je(t){return Object.prototype.toString.call(t)==="[object String]"}var ba=G(function(e){return jt(e)?!0:!e||typeof e!="object"||Je(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),rr=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Ta(t,e,n){return function(a,i,s){if(ba(s))return t(a,i,s);if(s==null)return i;if(typeof s["fantasy-land/reduce"]=="function")return e(a,i,s,"fantasy-land/reduce");if(s[rr]!=null)return n(a,i,s[rr]());if(typeof s.next=="function")return n(a,i,s);if(typeof s.reduce=="function")return e(a,i,s,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Sa(t,e,n){for(var o=0,a=n.length;o<a;){if(e=t["@@transducer/step"](e,n[o]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o+=1}return t["@@transducer/result"](e)}var wa=V(function(e,n){return ue(e.length,function(){return e.apply(n,arguments)})});function Oa(t,e,n){for(var o=n.next();!o.done;){if(e=t["@@transducer/step"](e,o.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o=n.next()}return t["@@transducer/result"](e)}function Aa(t,e,n,o){return t["@@transducer/result"](n[o](wa(t["@@transducer/step"],t),e))}var or=Ta(Sa,Aa,Oa),va=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,n){return this.f(e,n)},t}();function ar(t){return new va(t)}var ge=J(function(t,e,n){return or(typeof t=="function"?ar(t):t,e,n)}),ka=G(function(e){return Dt(ge(tr,0,nr("length",e)),function(){for(var n=0,o=e.length;n<o;){if(!e[n].apply(this,arguments))return!1;n+=1}return!0})}),ir=G(function(e){return function(){return e}}),Pa=G(function(e){return Dt(ge(tr,0,nr("length",e)),function(){for(var n=0,o=e.length;n<o;){if(e[n].apply(this,arguments))return!0;n+=1}return!1})}),sr=G(function(e){for(var n=yt(e),o=n.length,a=[],i=0;i<o;)a[i]=e[n[i]],i+=1;return a}),Yt=J(function(e,n,o){var a=e(n),i=e(o);return a<i?-1:a>i?1:0}),lr=G(function(e){return Dt(e.length,e)});function _a(t,e,n){if(pe(t)&&jt(n)){var o=t<0?n.length+t:t,a=[].concat(n);return a[o]=e,a}var i={};for(var s in n)i[s]=n[s];return i[t]=e,i}var Ea=G(function(e){return e==null}),Na=J(function t(e,n,o){if(e.length===0)return n;var a=e[0];if(e.length>1){var i=er(a,o);(Ea(i)||typeof i!="object")&&(i=pe(e[1])?[]:{}),n=t(Array.prototype.slice.call(e,1),n,i)}return _a(a,n,o)}),xa=J(function(e,n,o){return Na([e],n,o)});function $a(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function cr(t){return new RegExp(t.source,t.flags?t.flags:(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":"")+(t.dotAll?"s":""))}function ye(t,e,n){if(n||(n=new Ma),Da(t))return t;var o=function(i){var s=n.get(t);if(s)return s;n.set(t,i);for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(i[l]=e?ye(t[l],!0,n):t[l]);return i};switch(Ke(t)){case"Object":return o(Object.create(Object.getPrototypeOf(t)));case"Array":return o(Array(t.length));case"Date":return new Date(t.valueOf());case"RegExp":return cr(t);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}function Da(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var Ma=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,n){var o=this.hash(e),a=this.map[o];a||(this.map[o]=a=[]),a.push([e,n]),this.length+=1},t.prototype.hash=function(e){var n=[];for(var o in e)n.push(Object.prototype.toString.call(e[o]));return n.join()},t.prototype.get=function(e){if(this.length<=180){for(var n in this.map)for(var s=this.map[n],o=0;o<s.length;o+=1){var a=s[o];if(a[0]===e)return a[1]}return}var i=this.hash(e),s=this.map[i];if(s)for(var o=0;o<s.length;o+=1){var a=s[o];if(a[0]===e)return a[1]}},t}(),Ca=G(function(e){return e!=null&&typeof e.clone=="function"?e.clone():ye(e,!0)});function Ia(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function Qe(t,e){return function(){var n=arguments.length;if(n===0)return e();var o=arguments[n-1];return jt(o)||typeof o[t]!="function"?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}var La=J(Qe("slice",function(e,n,o){return Array.prototype.slice.call(o,e,n)})),Ba=G(Qe("tail",La(1,1/0)));function It(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return ue(arguments[0].length,ge(Ia,arguments[0],Ba(arguments)))}var Wt=G(function(e){return Je(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});function q(){if(arguments.length===0)throw new Error("compose requires at least one argument");return It.apply(this,Wt(arguments))}var tn=G(function(t){return he(0,t)}),Ra=function(){function t(e,n,o,a){this.valueFn=e,this.valueAcc=n,this.keyFn=o,this.xf=a,this.inputs={}}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=function(e){var n;for(n in this.inputs)if(ot(n,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[n]),e["@@transducer/reduced"])){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){var o=this.keyFn(n);return this.inputs[o]=this.inputs[o]||[o,ye(this.valueAcc,!1)],this.inputs[o][1]=this.valueFn(this.inputs[o][1],n),e},t}();function za(t,e,n){return function(o){return new Ra(t,e,n,o)}}var ur=He(4,[],Ut([],za,function(e,n,o,a){var i=ar(function(s,l){var u=o(l),c=e(ot(u,s)?s[u]:ye(n,!1),l);return c&&c["@@transducer/reduced"]?Ye(s):(s[u]=c,s)});return or(i,{},a)})),vt=J(function(e,n,o){var a=e(n),i=e(o);return a>i?-1:a<i?1:0}),dr=G(function(t){return he(-1,t)});function Va(t){var e=Object.prototype.toString.call(t);return e==="[object Uint8ClampedArray]"||e==="[object Int8Array]"||e==="[object Uint8Array]"||e==="[object Int16Array]"||e==="[object Uint16Array]"||e==="[object Int32Array]"||e==="[object Uint32Array]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object BigInt64Array]"||e==="[object BigUint64Array]"}var Ga=G(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:jt(e)?[]:Je(e)?"":fe(e)?{}:Yn(e)?function(){return arguments}():Va(e)?e.constructor.from(""):void 0}),Fa=function(){function t(e,n){this.xf=n,this.f=e,this.found=!1}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){return this.f(n)&&(this.found=!0,e=Ye(this.xf["@@transducer/step"](e,n))),e},t}();function ja(t){return function(e){return new Fa(t,e)}}var Ua=V(Ut(["find"],ja,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return n[o];o+=1}})),Ha=function(){function t(e,n){this.xf=n,this.f=e,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,-1)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){return this.idx+=1,this.f(n)&&(this.found=!0,e=Ye(this.xf["@@transducer/step"](e,this.idx))),e},t}();function Ya(t){return function(e){return new Ha(t,e)}}var Wa=V(Ut([],Ya,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return o;o+=1}return-1})),qt=V(Qe("groupBy",ur(function(t,e){return t.push(e),t},[]))),qa=J(function(e,n,o){return Dt(Math.max(e.length,n.length,o.length),function(){return e.apply(this,arguments)?n.apply(this,arguments):o.apply(this,arguments)})}),Ka=V(Zn),fr=ur(function(t,e){return e},null),Za=J(function(e,n,o){return Jn(function(a){return We(e,a,o)},n)});function Xa(t){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1,o=arguments.length;n<o;){var a=arguments[n];if(a!=null)for(var i in a)ot(i,a)&&(e[i]=a[i]);n+=1}return e}const Ja=typeof Object.assign=="function"?Object.assign:Xa;var be=V(function(e,n){return Dt(e+1,function(){var o=arguments[e];if(o!=null&&$a(o[n]))return o[n].apply(o,Array.prototype.slice.call(arguments,0,e));throw new TypeError(me(o)+' does not have a method named "'+n+'"')})}),Kt=G(function(e){return e!=null&&Mt(e,Ga(e))}),Qa=G(function(e){return!Kt(e)}),mr=be(1,"join"),ti=V(function(e,n){return function(o){return function(a){return K(function(i){return n(i,a)},o(e(a)))}}});function pr(t,e){for(var n=e,o=0;o<t.length;o+=1){if(n==null)return;var a=t[o];pe(a)?n=he(a,n):n=n[a]}return n}var hr=G(function(e){return ti(F(e),xa(e))}),ei=ge(ra,0),gr=J(function(e,n,o){var a={},i;n=n||{},o=o||{};for(i in n)ot(i,n)&&(a[i]=ot(i,o)?e(i,n[i],o[i]):n[i]);for(i in o)ot(i,o)&&!ot(i,a)&&(a[i]=o[i]);return a}),ni=J(function t(e,n,o){return gr(function(a,i,s){return fe(i)&&fe(s)?t(e,i,s):e(a,i,s)},n,o)}),yr=V(function(e,n){return ni(function(o,a,i){return i},e,n)}),br=V(function(e,n){return Ja({},n,e)}),ri=J(function(e,n,o){return gr(function(a,i,s){return e(i,s)},n,o)}),en=V(function(e,n){for(var o={},a={},i=0,s=e.length;i<s;)a[e[i]]=1,i+=1;for(var l in n)a.hasOwnProperty(l)||(o[l]=n[l]);return o}),Tr=function(t){return{value:t,map:function(e){return Tr(e(t))}}},Sr=J(function(e,n,o){return e(function(a){return Tr(n(a))})(o).value}),bt=V(pr),wr=J(function(e,n,o){return Mt(pr(n,o),e)}),nn=V(function(e,n){for(var o={},a=0;a<e.length;)e[a]in n&&(o[e[a]]=n[e[a]]),a+=1;return o}),Zt=J(function(e,n,o){return Mt(e,F(n,o))}),Or=J(function(e,n,o){return e(F(n,o))}),Te=J(function(e,n,o){return o.replace(e,n)}),rn=V(function(e,n){return Array.prototype.slice.call(n,0).sort(e)}),Tt=V(function(e,n){return Array.prototype.slice.call(n,0).sort(function(o,a){var i=e(o),s=e(a);return i<s?-1:i>s?1:0})}),Se=V(function(e,n){return Array.prototype.slice.call(n,0).sort(function(o,a){for(var i=0,s=0;i===0&&s<e.length;)i=e[s](o,a),s+=1;return i})}),pt=be(1,"split");function oi(t){return Object.prototype.toString.call(t)==="[object RegExp]"}var ai=V(function(e,n){if(!oi(e))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+me(e));return cr(e).test(n)}),Ar=be(0,"toLowerCase"),ii=be(0,"toUpperCase"),Xt=`
9
- \v\f\r                 \u2028\u2029\uFEFF`,si="​",li=typeof String.prototype.trim=="function",Jt=G(!li||Xt.trim()||!si.trim()?function(e){var n=new RegExp("^["+Xt+"]["+Xt+"]*"),o=new RegExp("["+Xt+"]["+Xt+"]*$");return e.replace(n,"").replace(o,"")}:function(e){return e.trim()});function vr(t,e,n,o){const a=r.ref(""),i=r.ref(!1),s=l=>{const u=Ct(F(e),l),c=u.length>0;if(i.value=c,!c)return a.value="";const f=u.map(y=>({team:y.team.longName,points:Math.abs(F(e,y))})).map(y=>n(`additionalText.${e}.content`,y)).join(", ");a.value=[n(`additionalText.${e}.prependix`),f,...n(`additionalText.${e}.appendix`)&&[n(`additionalText.${e}.appendix`)]].join(" ")};return r.watch(t,s,{immediate:!0}),r.watch(()=>r.unref(o),()=>s(r.unref(t))),{text:a,isVisible:i}}const kr=Symbol("I18nContext"),X=r.reactive({messages:{},locale:"",fallbackLocale:""});function Pr({messages:t={},locale:e="",fallbackLocale:n=""}){X.messages=yr(X.messages,t),X.locale=e,X.fallbackLocale=n;const o=(u,c={})=>{const d=!Kt(c),f=K(Jt,pt(".",u));return r.computed(()=>{const h=_r(f);return d?ui(h,c):h}).value},a=u=>{const c=K(Jt,pt(".",u));return!!on(X.locale,c,X.messages)},i=u=>{X.locale=u},l={locale:r.computed({get(){return X.locale},set(u){X.locale=u}}),setLocale:i,translate:o,hasTranslation:a};return r.provide(kr,l),{translate:o}}function lt(t){t&&(X.messages=t.messages,X.locale=t.locale,X.fallbackLocale=t.fallbackLocale);const e=ci();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranslation:e.hasTranslation}}function ci(){const t=r.inject(kr,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}function _r(t=[]){let e=on(X.locale,t,X.messages);return!e&&X.fallbackLocale&&(e=on(X.fallbackLocale,t,X.messages)),e||t.join(".")}function on(t,e,n){return bt([t,...e],n)}function ui(t,e){return t.replace(/\{(\w+)\}/g,(n,o)=>e[o])}const Er=r.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const n=K(Jt,pt(".",t.path)),o=_r(n),a=pt(/\{|\}/,o),i=Object.keys(e).map(s=>{const l=a.indexOf(s);return l>-1&&(a[l]=e[s]()[0]),a});return()=>r.h(t.tag,i)}});function an(t,e="",n={}){const o=r.ref(""),{t:a}=lt(),i=r.computed(()=>{if(r.unref(e))try{const u=Nr(r.unref(t),r.unref(e));return en(u,r.unref(t))}catch(u){o.value=u}return r.unref(t)}),s=u=>({...u,...u.label&&{label:a(u.label??"",r.unref(n))},...u.tooltip&&{tooltip:a(u.tooltip??"")}});return{columns:r.computed(()=>K(s,i.value)),error:o}}function Nr(t,e=""){const n=K(Jt,pt(",",e)),o=yt(t);if(n[0]==="")return[];const a=n.findIndex(i=>!o.includes(i));if(a>-1)throw n[a];return n}function xr(t){return t&&t.match(/[A-Z]{2,}(?=[A-Z][a-z]|\b)|[A-Z]?[a-z]+\d*|[A-Z]|\d+/g).map(e=>e.toLowerCase()).join("-")}function ht(t="",e={}){return t.replace(/\{([^}]+)\}/g,(n,o)=>bt(pt(".",o),e))}const $r=Symbol("ErrorProviderContext");function Dr(){const t=r.ref(""),e=r.ref({}),n=i=>{console.error({error:i}),t.value=i.message||i.error.message,e.value={message:i.message,key:i.key||xr(i.message),cause:i.cause}},o=()=>{t.value="",e.value={}},a={onError:n,reset:o};return r.provide($r,a),window.onerror=i=>{console.error("WINDOW_ONERROR:",i)},r.onErrorCaptured((i,s,l)=>{console.error("onErrorCaptured:",i,s,l)}),{hasError:r.computed(()=>t.value.length>0),message:t,error:e,reset:o,onError:n}}function sn(){const t=di();return{onError:t.onError,reset:t.reset}}function di(){const t=r.inject($r,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}async function Mr(t,e,n){const o=`${Fe}${r.unref(t)}${Kt(n)?"":`?${fi(n)}`}`;return new Promise((a,i)=>{fetch(o,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":mi(e)}}).then(s=>s.json()).then(s=>{if(s.error)return i(s);a(s.data)}).catch(s=>{i(s)})})}function fi(t){return Object.keys(t).map(e=>`${e}=${t[e]}`).join("&")}function mi(t){return t||(window.__MJSZ_VBR_WIDGET__?.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:"")}function Qt(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}const gt=typeof window<"u"&&typeof document<"u",Cr=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,pi=Object.prototype.toString,hi=t=>pi.call(t)==="[object Object]",tt=()=>{},gi=yi();function yi(){var t,e;return gt&&((t=window?.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window?.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Ir(...t){if(t.length!==1)return r.toRef(...t);const e=t[0];return typeof e=="function"?r.readonly(r.customRef(()=>({get:e,set:tt}))):r.ref(e)}function bi(t,e){function n(...o){return new Promise((a,i)=>{Promise.resolve(t(()=>e.apply(this,o),{fn:e,thisArg:this,args:o})).then(a).catch(i)})}return n}const Lr=t=>t();function Ti(t=Lr,e={}){const{initialState:n="active"}=e,o=Ir(n==="active");function a(){o.value=!1}function i(){o.value=!0}const s=(...l)=>{o.value&&t(...l)};return{isActive:r.readonly(o),pause:a,resume:i,eventFilter:s}}function ln(t,e=!1,n="Timeout"){return new Promise((o,a)=>{setTimeout(e?()=>a(n):o,t)})}function cn(t){return Array.isArray(t)?t:[t]}function Si(t,e,n={}){const{eventFilter:o=Lr,...a}=n;return r.watch(t,bi(o,e),a)}function wi(t,e,n={}){const{eventFilter:o,initialState:a="active",...i}=n,{eventFilter:s,pause:l,resume:u,isActive:c}=Ti(o,{initialState:a});return{stop:Si(t,e,{...i,eventFilter:s}),pause:l,resume:u,isActive:c}}function un(t,e=!1){function n(f,{flush:y="sync",deep:h=!1,timeout:m,throwOnTimeout:T}={}){let g=null;const O=[new Promise(_=>{g=r.watch(t,E=>{f(E)!==e&&(g?g():r.nextTick(()=>g?.()),_(E))},{flush:y,deep:h,immediate:!0})})];return m!=null&&O.push(ln(m,T).then(()=>r.toValue(t)).finally(()=>g?.())),Promise.race(O)}function o(f,y){if(!r.isRef(f))return n(E=>E===f,y);const{flush:h="sync",deep:m=!1,timeout:T,throwOnTimeout:g}=y??{};let S=null;const _=[new Promise(E=>{S=r.watch([t,f],([N,I])=>{e!==(N===I)&&(S?S():r.nextTick(()=>S?.()),E(N))},{flush:h,deep:m,immediate:!0})})];return T!=null&&_.push(ln(T,g).then(()=>r.toValue(t)).finally(()=>(S?.(),r.toValue(t)))),Promise.race(_)}function a(f){return n(y=>!!y,f)}function i(f){return o(null,f)}function s(f){return o(void 0,f)}function l(f){return n(Number.isNaN,f)}function u(f,y){return n(h=>{const m=Array.from(h);return m.includes(f)||m.includes(r.toValue(f))},y)}function c(f){return d(1,f)}function d(f=1,y){let h=-1;return n(()=>(h+=1,h>=f),y)}return Array.isArray(r.toValue(t))?{toMatch:n,toContains:u,changed:c,changedTimes:d,get not(){return un(t,!e)}}:{toMatch:n,toBe:o,toBeTruthy:a,toBeNull:i,toBeNaN:l,toBeUndefined:s,changed:c,changedTimes:d,get not(){return un(t,!e)}}}function Oi(t){return un(t)}function Ai(t,e=1e3,n={}){const{immediate:o=!0,immediateCallback:a=!1}=n;let i=null;const s=r.shallowRef(!1);function l(){i&&(clearInterval(i),i=null)}function u(){s.value=!1,l()}function c(){const d=r.toValue(e);d<=0||(s.value=!0,a&&t(),l(),s.value&&(i=setInterval(t,d)))}if(o&&gt&&c(),r.isRef(e)||typeof e=="function"){const d=r.watch(e,()=>{s.value&&gt&&c()});Qt(d)}return Qt(u),{isActive:r.shallowReadonly(s),pause:u,resume:c}}function vi(t,e,n={}){const{immediate:o=!0,immediateCallback:a=!1}=n,i=r.shallowRef(!1);let s;function l(){s&&(clearTimeout(s),s=void 0)}function u(){i.value=!1,l()}function c(...d){a&&t(),l(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,t(...d)},r.toValue(e))}return o&&(i.value=!0,gt&&c()),Qt(u),{isPending:r.shallowReadonly(i),start:c,stop:u}}function ki(t,e,n){return r.watch(t,e,{...n,immediate:!0})}function Pi(t,e,n){return r.watch(t,e,{...n,once:!0})}function _i(t,e,n){const o=r.watch(t,(a,i,s)=>{a&&(n?.once&&r.nextTick(()=>o()),e(a,i,s))},{...n,once:!1});return o}const Br=gt?window:void 0,Ei=gt?window.document:void 0;function Lt(t){var e;const n=r.toValue(t);return(e=n?.$el)!=null?e:n}function te(...t){const e=[],n=()=>{e.forEach(l=>l()),e.length=0},o=(l,u,c,d)=>(l.addEventListener(u,c,d),()=>l.removeEventListener(u,c,d)),a=r.computed(()=>{const l=cn(r.toValue(t[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),i=ki(()=>{var l,u;return[(u=(l=a.value)==null?void 0:l.map(c=>Lt(c)))!=null?u:[Br].filter(c=>c!=null),cn(r.toValue(a.value?t[1]:t[0])),cn(r.unref(a.value?t[2]:t[1])),r.toValue(a.value?t[3]:t[2])]},([l,u,c,d])=>{if(n(),!l?.length||!u?.length||!c?.length)return;const f=hi(d)?{...d}:d;e.push(...l.flatMap(y=>u.flatMap(h=>c.map(m=>o(y,h,m,f)))))},{flush:"post"}),s=()=>{i(),n()};return Qt(n),s}let Rr=!1;function Ni(t,e,n={}){const{window:o=Br,ignore:a=[],capture:i=!0,detectIframe:s=!1,controls:l=!1}=n;if(!o)return l?{stop:tt,cancel:tt,trigger:tt}:tt;if(gi&&!Rr){Rr=!0;const g={passive:!0};Array.from(o.document.body.children).forEach(S=>S.addEventListener("click",tt,g)),o.document.documentElement.addEventListener("click",tt,g)}let u=!0;const c=g=>r.toValue(a).some(S=>{if(typeof S=="string")return Array.from(o.document.querySelectorAll(S)).some(O=>O===g.target||g.composedPath().includes(O));{const O=Lt(S);return O&&(g.target===O||g.composedPath().includes(O))}});function d(g){const S=r.toValue(g);return S&&S.$.subTree.shapeFlag===16}function f(g,S){const O=r.toValue(g),_=O.$.subTree&&O.$.subTree.children;return _==null||!Array.isArray(_)?!1:_.some(E=>E.el===S.target||S.composedPath().includes(E.el))}const y=g=>{const S=Lt(t);if(g.target!=null&&!(!(S instanceof Element)&&d(t)&&f(t,g))&&!(!S||S===g.target||g.composedPath().includes(S))){if("detail"in g&&g.detail===0&&(u=!c(g)),!u){u=!0;return}e(g)}};let h=!1;const m=[te(o,"click",g=>{h||(h=!0,setTimeout(()=>{h=!1},0),y(g))},{passive:!0,capture:i}),te(o,"pointerdown",g=>{const S=Lt(t);u=!c(g)&&!!(S&&!g.composedPath().includes(S))},{passive:!0}),s&&te(o,"blur",g=>{setTimeout(()=>{var S;const O=Lt(t);((S=o.document.activeElement)==null?void 0:S.tagName)==="IFRAME"&&!O?.contains(o.document.activeElement)&&e(g)},0)},{passive:!0})].filter(Boolean),T=()=>m.forEach(g=>g());return l?{stop:T,cancel:()=>{u=!1},trigger:g=>{u=!0,y(g),u=!1}}:T}function zr(t,e,n){const{immediate:o=!0,delay:a=0,onError:i=tt,onSuccess:s=tt,resetOnExecute:l=!0,shallow:u=!0,throwError:c}=n??{},d=u?r.shallowRef(e):r.ref(e),f=r.shallowRef(!1),y=r.shallowRef(!1),h=r.shallowRef(void 0);async function m(S=0,...O){l&&(d.value=e),h.value=void 0,f.value=!1,y.value=!0,S>0&&await ln(S);const _=typeof t=="function"?t(...O):t;try{const E=await _;d.value=E,f.value=!0,s(E)}catch(E){if(h.value=E,i(E),c)throw E}finally{y.value=!1}return d.value}o&&m(a);const T={state:d,isReady:f,isLoading:y,error:h,execute:m,executeImmediate:(...S)=>m(0,...S)};function g(){return new Promise((S,O)=>{Oi(y).toBe(!1).then(()=>S(T)).catch(O)})}return{...T,then(S,O){return g().then(S,O)}}}function xi(t={}){const{document:e=Ei}=t;if(!e)return r.shallowRef("visible");const n=r.shallowRef(e.visibilityState);return te(e,"visibilitychange",()=>{n.value=e.visibilityState},{passive:!0}),n}async function $i(t){return new Promise((e,n)=>{const o=new Image,{src:a,srcset:i,sizes:s,class:l,loading:u,crossorigin:c,referrerPolicy:d,width:f,height:y,decoding:h,fetchPriority:m,ismap:T,usemap:g}=t;o.src=a,i!=null&&(o.srcset=i),s!=null&&(o.sizes=s),l!=null&&(o.className=l),u!=null&&(o.loading=u),c!=null&&(o.crossOrigin=c),d!=null&&(o.referrerPolicy=d),f!=null&&(o.width=f),y!=null&&(o.height=y),h!=null&&(o.decoding=h),m!=null&&(o.fetchPriority=m),T!=null&&(o.isMap=T),g!=null&&(o.useMap=g),o.onload=()=>e(o),o.onerror=n})}function Di(t,e={}){const n=zr(()=>$i(r.toValue(t)),void 0,{resetOnExecute:!0,...e});return r.watch(()=>r.toValue(t),()=>n.execute(e.delay),{deep:!0}),n}const Vr="ping";function dn(t){return t===!0?{}:t}function Mi(t,e={}){const{onConnected:n,onDisconnected:o,onError:a,onMessage:i,immediate:s=!0,autoConnect:l=!0,autoClose:u=!0,protocols:c=[]}=e,d=r.ref(null),f=r.shallowRef("CLOSED"),y=r.ref(),h=Ir(t);let m,T,g=!1,S=0,O=[],_,E;const N=()=>{if(O.length&&y.value&&f.value==="OPEN"){for(const R of O)y.value.send(R);O=[]}},I=()=>{_!=null&&(clearTimeout(_),_=void 0)},B=()=>{clearTimeout(E),E=void 0},j=(R=1e3,Y)=>{I(),!(!gt&&!Cr||!y.value)&&(g=!0,B(),m?.(),y.value.close(R,Y),y.value=void 0)},U=(R,Y=!0)=>!y.value||f.value!=="OPEN"?(Y&&O.push(R),!1):(N(),y.value.send(R),!0),M=()=>{if(g||typeof h.value>"u")return;const R=new WebSocket(h.value,c);y.value=R,f.value="CONNECTING",R.onopen=()=>{f.value="OPEN",S=0,n?.(R),T?.(),N()},R.onclose=Y=>{if(f.value="CLOSED",B(),m?.(),o?.(R,Y),!g&&e.autoReconnect&&(y.value==null||R===y.value)){const{retries:P=-1,delay:k=1e3,onFailed:w}=dn(e.autoReconnect);(typeof P=="function"?P:()=>typeof P=="number"&&(P<0||S<P))(S)?(S+=1,_=setTimeout(M,k)):w?.()}},R.onerror=Y=>{a?.(R,Y)},R.onmessage=Y=>{if(e.heartbeat){B();const{message:P=Vr,responseMessage:k=P}=dn(e.heartbeat);if(Y.data===r.toValue(k))return}d.value=Y.data,i?.(R,Y)}};if(e.heartbeat){const{message:R=Vr,interval:Y=1e3,pongTimeout:P=1e3}=dn(e.heartbeat),{pause:k,resume:w}=Ai(()=>{U(r.toValue(R),!1),E==null&&(E=setTimeout(()=>{j(),g=!1},P))},Y,{immediate:!1});m=k,T=w}u&&(gt&&te("beforeunload",()=>j(),{passive:!0}),Qt(j));const D=()=>{!gt&&!Cr||(j(),g=!1,S=0,M())};return s&&D(),l&&r.watch(h,D),{data:d,status:f,close:j,send:U,open:D,ws:y}}function Ci(t,e){const{open:n,close:o}=Mi(r.unref(t),{autoReconnect:{retries:3},immediate:!1,onMessage:(a,i)=>{const s=i.data,l=JSON.parse(s);l.event!=="welcome"&&(e.value=l.message)}});return r.watch(()=>r.unref(e).gameStatus,a=>{if(a===1)return n();o()},{immediate:!0}),{gameData:e}}function Gr(t=[],e={}){const{delay:n=0}=e,o=r.ref(!1),a=r.computed(()=>{const l=r.unref(t);return Array.isArray(l)?l.map(u=>r.unref(u)).some(Boolean):l}),{start:i,stop:s}=vi(()=>{o.value=!0},n);return r.watch(a,l=>{if(l)return i();s(),o.value=!1},{immediate:!0,deep:!0}),o}function at(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var we={exports:{}},Ii=we.exports,Fr;function jr(){return Fr||(Fr=1,function(t,e){(function(n,o){t.exports=o()})(Ii,function(){var n=1e3,o=6e4,a=36e5,i="millisecond",s="second",l="minute",u="hour",c="day",d="week",f="month",y="quarter",h="year",m="date",T="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|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,O={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(P){var k=["th","st","nd","rd"],w=P%100;return"["+P+(k[(w-20)%10]||k[w]||k[0])+"]"}},_=function(P,k,w){var v=String(P);return!v||v.length>=k?P:""+Array(k+1-v.length).join(w)+P},E={s:_,z:function(P){var k=-P.utcOffset(),w=Math.abs(k),v=Math.floor(w/60),A=w%60;return(k<=0?"+":"-")+_(v,2,"0")+":"+_(A,2,"0")},m:function P(k,w){if(k.date()<w.date())return-P(w,k);var v=12*(w.year()-k.year())+(w.month()-k.month()),A=k.clone().add(v,f),x=w-A<0,$=k.clone().add(v+(x?-1:1),f);return+(-(v+(w-A)/(x?A-$:$-A))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:f,y:h,w:d,d:c,D:m,h:u,m:l,s,ms:i,Q:y}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},N="en",I={};I[N]=O;var B="$isDayjsObject",j=function(P){return P instanceof R||!(!P||!P[B])},U=function P(k,w,v){var A;if(!k)return N;if(typeof k=="string"){var x=k.toLowerCase();I[x]&&(A=x),w&&(I[x]=w,A=x);var $=k.split("-");if(!A&&$.length>1)return P($[0])}else{var z=k.name;I[z]=k,A=z}return!v&&A&&(N=A),A||!v&&N},M=function(P,k){if(j(P))return P.clone();var w=typeof k=="object"?k:{};return w.date=P,w.args=arguments,new R(w)},D=E;D.l=U,D.i=j,D.w=function(P,k){return M(P,{locale:k.$L,utc:k.$u,x:k.$x,$offset:k.$offset})};var R=function(){function P(w){this.$L=U(w.locale,null,!0),this.parse(w),this.$x=this.$x||w.x||{},this[B]=!0}var k=P.prototype;return k.parse=function(w){this.$d=function(v){var A=v.date,x=v.utc;if(A===null)return new Date(NaN);if(D.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var $=A.match(g);if($){var z=$[2]-1||0,W=($[7]||"0").substring(0,3);return x?new Date(Date.UTC($[1],z,$[3]||1,$[4]||0,$[5]||0,$[6]||0,W)):new Date($[1],z,$[3]||1,$[4]||0,$[5]||0,$[6]||0,W)}}return new Date(A)}(w),this.init()},k.init=function(){var w=this.$d;this.$y=w.getFullYear(),this.$M=w.getMonth(),this.$D=w.getDate(),this.$W=w.getDay(),this.$H=w.getHours(),this.$m=w.getMinutes(),this.$s=w.getSeconds(),this.$ms=w.getMilliseconds()},k.$utils=function(){return D},k.isValid=function(){return this.$d.toString()!==T},k.isSame=function(w,v){var A=M(w);return this.startOf(v)<=A&&A<=this.endOf(v)},k.isAfter=function(w,v){return M(w)<this.startOf(v)},k.isBefore=function(w,v){return this.endOf(v)<M(w)},k.$g=function(w,v,A){return D.u(w)?this[v]:this.set(A,w)},k.unix=function(){return Math.floor(this.valueOf()/1e3)},k.valueOf=function(){return this.$d.getTime()},k.startOf=function(w,v){var A=this,x=!!D.u(v)||v,$=D.p(w),z=function($t,et){var Ot=D.w(A.$u?Date.UTC(A.$y,et,$t):new Date(A.$y,et,$t),A);return x?Ot:Ot.endOf(c)},W=function($t,et){return D.w(A.toDate()[$t].apply(A.toDate("s"),(x?[0,0,0,0]:[23,59,59,999]).slice(et)),A)},Z=this.$W,Q=this.$M,rt=this.$D,Ft="set"+(this.$u?"UTC":"");switch($){case h:return x?z(1,0):z(31,11);case f:return x?z(1,Q):z(0,Q+1);case d:var xt=this.$locale().weekStart||0,le=(Z<xt?Z+7:Z)-xt;return z(x?rt-le:rt+(6-le),Q);case c:case m:return W(Ft+"Hours",0);case u:return W(Ft+"Minutes",1);case l:return W(Ft+"Seconds",2);case s:return W(Ft+"Milliseconds",3);default:return this.clone()}},k.endOf=function(w){return this.startOf(w,!1)},k.$set=function(w,v){var A,x=D.p(w),$="set"+(this.$u?"UTC":""),z=(A={},A[c]=$+"Date",A[m]=$+"Date",A[f]=$+"Month",A[h]=$+"FullYear",A[u]=$+"Hours",A[l]=$+"Minutes",A[s]=$+"Seconds",A[i]=$+"Milliseconds",A)[x],W=x===c?this.$D+(v-this.$W):v;if(x===f||x===h){var Z=this.clone().set(m,1);Z.$d[z](W),Z.init(),this.$d=Z.set(m,Math.min(this.$D,Z.daysInMonth())).$d}else z&&this.$d[z](W);return this.init(),this},k.set=function(w,v){return this.clone().$set(w,v)},k.get=function(w){return this[D.p(w)]()},k.add=function(w,v){var A,x=this;w=Number(w);var $=D.p(v),z=function(Q){var rt=M(x);return D.w(rt.date(rt.date()+Math.round(Q*w)),x)};if($===f)return this.set(f,this.$M+w);if($===h)return this.set(h,this.$y+w);if($===c)return z(1);if($===d)return z(7);var W=(A={},A[l]=o,A[u]=a,A[s]=n,A)[$]||1,Z=this.$d.getTime()+w*W;return D.w(Z,this)},k.subtract=function(w,v){return this.add(-1*w,v)},k.format=function(w){var v=this,A=this.$locale();if(!this.isValid())return A.invalidDate||T;var x=w||"YYYY-MM-DDTHH:mm:ssZ",$=D.z(this),z=this.$H,W=this.$m,Z=this.$M,Q=A.weekdays,rt=A.months,Ft=A.meridiem,xt=function(et,Ot,ce,Ge){return et&&(et[Ot]||et(v,x))||ce[Ot].slice(0,Ge)},le=function(et){return D.s(z%12||12,et,"0")},$t=Ft||function(et,Ot,ce){var Ge=et<12?"AM":"PM";return ce?Ge.toLowerCase():Ge};return x.replace(S,function(et,Ot){return Ot||function(ce){switch(ce){case"YY":return String(v.$y).slice(-2);case"YYYY":return D.s(v.$y,4,"0");case"M":return Z+1;case"MM":return D.s(Z+1,2,"0");case"MMM":return xt(A.monthsShort,Z,rt,3);case"MMMM":return xt(rt,Z);case"D":return v.$D;case"DD":return D.s(v.$D,2,"0");case"d":return String(v.$W);case"dd":return xt(A.weekdaysMin,v.$W,Q,2);case"ddd":return xt(A.weekdaysShort,v.$W,Q,3);case"dddd":return Q[v.$W];case"H":return String(z);case"HH":return D.s(z,2,"0");case"h":return le(1);case"hh":return le(2);case"a":return $t(z,W,!0);case"A":return $t(z,W,!1);case"m":return String(W);case"mm":return D.s(W,2,"0");case"s":return String(v.$s);case"ss":return D.s(v.$s,2,"0");case"SSS":return D.s(v.$ms,3,"0");case"Z":return $}return null}(et)||$.replace(":","")})},k.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},k.diff=function(w,v,A){var x,$=this,z=D.p(v),W=M(w),Z=(W.utcOffset()-this.utcOffset())*o,Q=this-W,rt=function(){return D.m($,W)};switch(z){case h:x=rt()/12;break;case f:x=rt();break;case y:x=rt()/3;break;case d:x=(Q-Z)/6048e5;break;case c:x=(Q-Z)/864e5;break;case u:x=Q/a;break;case l:x=Q/o;break;case s:x=Q/n;break;default:x=Q}return A?x:D.a(x)},k.daysInMonth=function(){return this.endOf(f).$D},k.$locale=function(){return I[this.$L]},k.locale=function(w,v){if(!w)return this.$L;var A=this.clone(),x=U(w,v,!0);return x&&(A.$L=x),A},k.clone=function(){return D.w(this.$d,this)},k.toDate=function(){return new Date(this.valueOf())},k.toJSON=function(){return this.isValid()?this.toISOString():null},k.toISOString=function(){return this.$d.toISOString()},k.toString=function(){return this.$d.toUTCString()},P}(),Y=R.prototype;return M.prototype=Y,[["$ms",i],["$s",s],["$m",l],["$H",u],["$W",c],["$M",f],["$y",h],["$D",m]].forEach(function(P){Y[P[1]]=function(k){return this.$g(k,P[0],P[1])}}),M.extend=function(P,k){return P.$i||(P(k,R,M),P.$i=!0),M},M.locale=U,M.isDayjs=j,M.unix=function(P){return M(1e3*P)},M.en=I[N],M.Ls=I,M.p={},M})}(we)),we.exports}var Li=jr();const L=at(Li);var Oe={exports:{}},Bi=Oe.exports,Ur;function Ri(){return Ur||(Ur=1,function(t,e){(function(n,o){t.exports=o()})(Bi,function(){return function(n,o){var a=o.prototype,i=a.format;a.format=function(s){var l=this,u=this.$locale();if(!this.isValid())return i.bind(this)(s);var c=this.$utils(),d=(s||"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(f){switch(f){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return u.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return u.ordinal(l.week(),"W");case"w":case"ww":return c.s(l.week(),f==="w"?1:2,"0");case"W":case"WW":return c.s(l.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return c.s(String(l.$H===0?24:l.$H),f==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return f}});return i.bind(this)(d)}}})}(Oe)),Oe.exports}var zi=Ri();const Vi=at(zi);var Ae={exports:{}},Gi=Ae.exports,Hr;function Fi(){return Hr||(Hr=1,function(t,e){(function(n,o){t.exports=o()})(Gi,function(){return function(n,o,a){o.prototype.isBetween=function(i,s,l,u){var c=a(i),d=a(s),f=(u=u||"()")[0]==="(",y=u[1]===")";return(f?this.isAfter(c,l):!this.isBefore(c,l))&&(y?this.isBefore(d,l):!this.isAfter(d,l))||(f?this.isBefore(c,l):!this.isAfter(c,l))&&(y?this.isAfter(d,l):!this.isBefore(d,l))}}})}(Ae)),Ae.exports}var ji=Fi();const Ui=at(ji);var ve={exports:{}},Hi=ve.exports,Yr;function Yi(){return Yr||(Yr=1,function(t,e){(function(n,o){t.exports=o()})(Hi,function(){return function(n,o){o.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})}(ve)),ve.exports}var Wi=Yi();const qi=at(Wi);var ke={exports:{}},Ki=ke.exports,Wr;function Zi(){return Wr||(Wr=1,function(t,e){(function(n,o){t.exports=o()})(Ki,function(){return function(n,o,a){o.prototype.isToday=function(){var i="YYYY-MM-DD",s=a();return this.format(i)===s.format(i)}}})}(ke)),ke.exports}var Xi=Zi();const Ji=at(Xi);var Pe={exports:{}},Qi=Pe.exports,qr;function ts(){return qr||(qr=1,function(t,e){(function(n,o){t.exports=o()})(Qi,function(){var n={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(o,a,i){var s=a.prototype,l=s.format;i.en.formats=n,s.format=function(u){u===void 0&&(u="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,d=function(f,y){return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(h,m,T){var g=T&&T.toUpperCase();return m||y[T]||n[T]||y[g].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,O,_){return O||_.slice(1)})})}(u,c===void 0?{}:c);return l.call(this,d)}}})}(Pe)),Pe.exports}var es=ts();const ns=at(es);var _e={exports:{}},rs=_e.exports,Kr;function os(){return Kr||(Kr=1,function(t,e){(function(n,o){t.exports=o()})(rs,function(){return function(n,o,a){var i=function(s,l){if(!l||!l.length||l.length===1&&!l[0]||l.length===1&&Array.isArray(l[0])&&!l[0].length)return null;var u;l.length===1&&l[0].length>0&&(l=l[0]),u=(l=l.filter(function(d){return d}))[0];for(var c=1;c<l.length;c+=1)l[c].isValid()&&!l[c][s](u)||(u=l[c]);return u};a.max=function(){var s=[].slice.call(arguments,0);return i("isAfter",s)},a.min=function(){var s=[].slice.call(arguments,0);return i("isBefore",s)}}})}(_e)),_e.exports}var as=os();const is=at(as);var Ee={exports:{}},ss=Ee.exports,Zr;function ls(){return Zr||(Zr=1,function(t,e){(function(n,o){t.exports=o()})(ss,function(){return function(n,o,a){n=n||{};var i=o.prototype,s={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 l(c,d,f,y){return i.fromToBase(c,d,f,y)}a.en.relativeTime=s,i.fromToBase=function(c,d,f,y,h){for(var m,T,g,S=f.$locale().relativeTime||s,O=n.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"}],_=O.length,E=0;E<_;E+=1){var N=O[E];N.d&&(m=y?a(c).diff(f,N.d,!0):f.diff(c,N.d,!0));var I=(n.rounding||Math.round)(Math.abs(m));if(g=m>0,I<=N.r||!N.r){I<=1&&E>0&&(N=O[E-1]);var B=S[N.l];h&&(I=h(""+I)),T=typeof B=="string"?B.replace("%d",I):B(I,d,N.l,g);break}}if(d)return T;var j=g?S.future:S.past;return typeof j=="function"?j(T):j.replace("%s",T)},i.to=function(c,d){return l(c,d,this,!0)},i.from=function(c,d){return l(c,d,this)};var u=function(c){return c.$u?a.utc():a()};i.toNow=function(c){return this.to(u(this),c)},i.fromNow=function(c){return this.from(u(this),c)}}})}(Ee)),Ee.exports}var cs=ls();const us=at(cs);var Ne={exports:{}},ds=Ne.exports,Xr;function fs(){return Xr||(Xr=1,function(t,e){(function(n,o){t.exports=o()})(ds,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(a,i,s){var l,u=function(y,h,m){m===void 0&&(m={});var T=new Date(y),g=function(S,O){O===void 0&&(O={});var _=O.timeZoneName||"short",E=S+"|"+_,N=o[E];return N||(N=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:S,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:_}),o[E]=N),N}(h,m);return g.formatToParts(T)},c=function(y,h){for(var m=u(y,h),T=[],g=0;g<m.length;g+=1){var S=m[g],O=S.type,_=S.value,E=n[O];E>=0&&(T[E]=parseInt(_,10))}var N=T[3],I=N===24?0:N,B=T[0]+"-"+T[1]+"-"+T[2]+" "+I+":"+T[4]+":"+T[5]+":000",j=+y;return(s.utc(B).valueOf()-(j-=j%1e3))/6e4},d=i.prototype;d.tz=function(y,h){y===void 0&&(y=l);var m,T=this.utcOffset(),g=this.toDate(),S=g.toLocaleString("en-US",{timeZone:y}),O=Math.round((g-new Date(S))/1e3/60),_=15*-Math.round(g.getTimezoneOffset()/15)-O;if(!Number(_))m=this.utcOffset(0,h);else if(m=s(S,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(_,!0),h){var E=m.utcOffset();m=m.add(T-E,"minute")}return m.$x.$timezone=y,m},d.offsetName=function(y){var h=this.$x.$timezone||s.tz.guess(),m=u(this.valueOf(),h,{timeZoneName:y}).find(function(T){return T.type.toLowerCase()==="timezonename"});return m&&m.value};var f=d.startOf;d.startOf=function(y,h){if(!this.$x||!this.$x.$timezone)return f.call(this,y,h);var m=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return f.call(m,y,h).tz(this.$x.$timezone,!0)},s.tz=function(y,h,m){var T=m&&h,g=m||h||l,S=c(+s(),g);if(typeof y!="string")return s(y).tz(g);var O=function(I,B,j){var U=I-60*B*1e3,M=c(U,j);if(B===M)return[U,B];var D=c(U-=60*(M-B)*1e3,j);return M===D?[U,M]:[I-60*Math.min(M,D)*1e3,Math.max(M,D)]}(s.utc(y,T).valueOf(),S,g),_=O[0],E=O[1],N=s(_).utcOffset(E);return N.$x.$timezone=g,N},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(y){l=y}}})}(Ne)),Ne.exports}var ms=fs();const ps=at(ms);var xe={exports:{}},hs=xe.exports,Jr;function gs(){return Jr||(Jr=1,function(t,e){(function(n,o){t.exports=o()})(hs,function(){var n="minute",o=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(i,s,l){var u=s.prototype;l.utc=function(T){var g={date:T,utc:!0,args:arguments};return new s(g)},u.utc=function(T){var g=l(this.toDate(),{locale:this.$L,utc:!0});return T?g.add(this.utcOffset(),n):g},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(T){T.utc&&(this.$u=!0),this.$utils().u(T.$offset)||(this.$offset=T.$offset),c.call(this,T)};var d=u.init;u.init=function(){if(this.$u){var T=this.$d;this.$y=T.getUTCFullYear(),this.$M=T.getUTCMonth(),this.$D=T.getUTCDate(),this.$W=T.getUTCDay(),this.$H=T.getUTCHours(),this.$m=T.getUTCMinutes(),this.$s=T.getUTCSeconds(),this.$ms=T.getUTCMilliseconds()}else d.call(this)};var f=u.utcOffset;u.utcOffset=function(T,g){var S=this.$utils().u;if(S(T))return this.$u?0:S(this.$offset)?f.call(this):this.$offset;if(typeof T=="string"&&(T=function(N){N===void 0&&(N="");var I=N.match(o);if(!I)return null;var B=(""+I[0]).match(a)||["-",0,0],j=B[0],U=60*+B[1]+ +B[2];return U===0?0:j==="+"?U:-U}(T),T===null))return this;var O=Math.abs(T)<=16?60*T:T,_=this;if(g)return _.$offset=O,_.$u=T===0,_;if(T!==0){var E=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(_=this.local().add(O+E,n)).$offset=O,_.$x.$localOffset=E}else _=this.utc();return _};var y=u.format;u.format=function(T){var g=T||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return y.call(this,g)},u.valueOf=function(){var T=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*T},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var h=u.toDate;u.toDate=function(T){return T==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var m=u.diff;u.diff=function(T,g,S){if(T&&this.$u===T.$u)return m.call(this,T,g,S);var O=this.local(),_=l(T).local();return m.call(O,_,g,S)}}})}(xe)),xe.exports}var ys=gs();const bs=at(ys);var $e={exports:{}},Ts=$e.exports,Qr;function Ss(){return Qr||(Qr=1,function(t,e){(function(n,o){t.exports=o()})(Ts,function(){return function(n,o){o.prototype.weekday=function(a){var i=this.$locale().weekStart||0,s=this.$W,l=(s<i?s+7:s)-i;return this.$utils().u(a)?l:this.subtract(l,"day").add(a,"day")}}})}($e)),$e.exports}var ws=Ss();const Os=at(ws);var De={exports:{}},As=De.exports,to;function vs(){return to||(to=1,function(t,e){(function(n,o){t.exports=o(jr())})(As,function(n){function o(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=o(n),i={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(s){return s+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(s,l,u,c){return"néhány másodperc"+(c||l?"":"e")},m:function(s,l,u,c){return"egy perc"+(c||l?"":"e")},mm:function(s,l,u,c){return s+" perc"+(c||l?"":"e")},h:function(s,l,u,c){return"egy "+(c||l?"óra":"órája")},hh:function(s,l,u,c){return s+" "+(c||l?"óra":"órája")},d:function(s,l,u,c){return"egy "+(c||l?"nap":"napja")},dd:function(s,l,u,c){return s+" "+(c||l?"nap":"napja")},M:function(s,l,u,c){return"egy "+(c||l?"hónap":"hónapja")},MM:function(s,l,u,c){return s+" "+(c||l?"hónap":"hónapja")},y:function(s,l,u,c){return"egy "+(c||l?"év":"éve")},yy:function(s,l,u,c){return s+" "+(c||l?"é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 a.default.locale(i,null,!0),i})}(De)),De.exports}vs(),L.extend(bs),L.extend(ps),L.extend(Vi),L.extend(us),L.extend(ns),L.extend(qi),L.extend(Ui),L.extend(Ji),L.extend(Os),L.extend(is);const eo=()=>L.tz.guess();function kt(t="",e="",n="",o="hu"){return n=n||L.tz.guess(),L(t).isValid()?L(t).tz(n).locale(o).format(e):""}function ee(t="",e="",n="hu"){if(!L(t).isValid())return"";e=e||L.tz.guess();const a=new Intl.DateTimeFormat(ks(n),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(i=>i.type==="timeZoneName");return a&&a.value}function ks(t){return zn.get(t)}function fn(t){const e=t.split(":");return Number.parseInt(e[0],10)*60+Number.parseInt(e[1],10)}function no(t){const e=~~(t/60),n=~~t%60;return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function ro(t){const e=Math.trunc(t),n=Math.round((t-e)/10*60*10);return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function mn(t,e="day"){return L().isSameOrBefore(L(t),e)}function oo(t,e,n,o="[]"){return L(t).isBetween(e,L(n),"day",o)}function Ps(t,e,n="month"){return L(t).isSame(e,n)}function _s(t,e="hu"){return L(t).locale(e).toNow(!0)}function Es(t,e,n="day"){return L(t).isBefore(e,n)}function Ns(t,e,n="day"){return L(t).isAfter(e,n)}function xs(t){return L(t).isToday()}function $s(t){const e=L().weekday(1),n=L().weekday(7);return oo(t,e,n)}function Ds(t){const e=L(t).weekday(1),n=L(t).weekday(7);return{startDate:e,endDate:n}}function Ms(t,e){return L(t).subtract(e,"day")}function Cs(t,e){return L(t).add(e,"day")}function Is(t){return L(t).startOf("month")}function Ls(t){return L(t).endOf("month")}function Bs(t){return Array.isArray(t)&&(t=t.map(e=>L(e))),L.min(t)}function Rs(t){return Array.isArray(t)&&(t=t.map(e=>L(e))),L.max(...t)}function zs(t={}){const{initial:e=1,items:n=[],limit:o,auto:a=!1}=t,i=r.ref(r.unref(e)),s=c=>mn(c,"day");return Pi(n,()=>{if(!a)return;const c=Wa(Or(s,"gameDate"))(r.unref(n));i.value=c===-1?1:Math.floor(c/o)+1}),{page:i,change:c=>{i.value=c}}}function Vs({currentPage:t,itemsPerPage:e=20,totalItems:n,rangeLength:o=5,update:a=tt}){const i=r.computed(()=>Math.ceil(r.unref(n)/e)),s=r.computed(()=>{const d=r.unref(t)-1,f=Array.from({length:i.value},(m,T)=>T+1),y=Math.floor(o/2);let h=Math.max(d-y,0);return h+o>=i.value&&(h=Math.max(i.value-o,0)),f.slice(h,h+o)}),l=d=>{const f=r.unref(t)+d;c(f)&&a(f)},u=d=>{c(d)&&a(d)};function c(d){return d<=i.value&&d>0}return{page:t,range:s,pageCount:i,goTo:u,pageStep:l}}function Gs(t={}){const{items:e=[],element:n,offset:o=0,enabled:a=!0}=t,i=l=>mn(l,"day"),s=()=>{if(!r.unref(a))return;const l=Ua(Or(i,"gameDate"))(r.unref(e));if(!l)return;const u=kt(l.gameDate,"YYYY-MM-DD"),c=Lt(n).querySelector(`div[data-gamedate="${u}"]`);if(!c)return;const d=getComputedStyle(c).getPropertyValue("--vbr-widget-sticky-top-offset")||0,f=(c.getBoundingClientRect()?.top??0)-r.unref(o)-Number.parseFloat(d);window.scrollTo(0,f)};wi(()=>({items:r.unref(e),element:r.unref(n)}),async({items:l,element:u})=>{l.length===0||!u||(await r.nextTick(),s())})}function Fs({options:t={},transform:e=a=>a,onError:n=tt,onSuccess:o=tt}){const{path:a,apiKey:i,params:s,resetOnExecute:l=!1,immediate:u=!1}=t,{state:c,error:d,isLoading:f,execute:y}=zr(()=>Mr(a,i,r.unref(s)).then(h=>e(h)),[],{immediate:u,resetOnExecute:l,onError:n,onSuccess:o});return{state:c,error:d,isLoading:f,execute:y}}/*! *****************************************************************************
8
+ var MjszVbrElementsCore=function(p,r){"use strict";const je="https://api.icehockey.hu/vbr",Dn="https://www.jegkorongszovetseg.hu/event/game/{gameId}",Cn="https://jegkorongszovetseg.hu/assets/images/player_blank.png",Ln="https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}",In="https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}",Bn="https://www.ersteliga.hu/stats?report={id}",Rn="https://api.icehockey.hu/static/api/flag",ft="original",b="descend",C="ascend",zn=new Map().set("hu","hu-hu").set("en","hu-gb"),Vn=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),Yo=1e3*60*5,Gn=1e3,jn={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:""}},Wo={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:C}]},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:C}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:C}]},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:C}]},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:C},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},qo={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:C}]},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:C}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:C}]},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:C}]},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:C},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},Ko={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:C}]},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:C}]},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:C}]},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}]}},Zo={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"}},Jo={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:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:C}]},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}]}},Xo={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:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:C}]},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}]}},Qo={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:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:C}]},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}]}},ta={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:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:C}]},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}]}},ea={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:C}]},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}]}},na={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:C}]},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}]}},ra={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:C}]},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}]}},oa={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:C}]},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}]}},aa={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:C}]},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}]}},ia={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:C}]},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:C}]},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:C}]},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:C}]},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:C}]},sp:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"sp",direction:b}]}};function sa(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}function Fn(t){return typeof t=="function"?t():r.unref(t)}const la=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ca=t=>t!=null,Fe=()=>{};function Ue(t){var e;const n=Fn(t);return(e=n?.$el)!=null?e:n}const ua=la?window:void 0;function da(){const t=r.ref(!1);return r.getCurrentInstance()&&r.onMounted(()=>{t.value=!0}),t}function fa(t){const e=da();return r.computed(()=>(e.value,!!t()))}function ma(t,e,n={}){const{root:o,rootMargin:a="0px",threshold:i=.1,window:s=ua,immediate:l=!0}=n,u=fa(()=>s&&"IntersectionObserver"in s),c=r.computed(()=>{const m=Fn(t);return(Array.isArray(m)?m:[m]).map(Ue).filter(ca)});let d=Fe;const f=r.ref(l),y=u.value?r.watch(()=>[c.value,Ue(o),f.value],([m,S])=>{if(d(),!f.value||!m.length)return;const g=new IntersectionObserver(e,{root:Ue(S),rootMargin:a,threshold:i});m.forEach(T=>T&&g.observe(T)),d=()=>{g.disconnect(),d=Fe}},{immediate:l,flush:"post"}):Fe,h=()=>{d(),y(),f.value=!1};return sa(h),{isSupported:u,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:h}}const pa=r.defineComponent({name:"FetchMoreObserver",props:["as","options"],emits:["intersect"],setup(t,{slots:e,emit:n}){const o=r.ref(null),{stop:a}=ma(o,([{isIntersecting:i}])=>{i&&n("intersect")},t.options);return r.onUnmounted(a),()=>{if(e.default)return r.h(t.as||"div",{ref:o},e.default())}}});function H(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function G(t){return function e(n){return arguments.length===0||H(n)?e:t.apply(this,arguments)}}function V(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return H(n)?e:G(function(a){return t(n,a)});default:return H(n)&&H(o)?e:H(n)?G(function(a){return t(a,o)}):H(o)?G(function(a){return t(n,a)}):t(n,o)}}}var ha=V(function(e,n){return Number(e)+Number(n)});function ue(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(n){return e.apply(this,arguments)};case 2:return function(n,o){return e.apply(this,arguments)};case 3:return function(n,o,a){return e.apply(this,arguments)};case 4:return function(n,o,a,i){return e.apply(this,arguments)};case 5:return function(n,o,a,i,s){return e.apply(this,arguments)};case 6:return function(n,o,a,i,s,l){return e.apply(this,arguments)};case 7:return function(n,o,a,i,s,l,u){return e.apply(this,arguments)};case 8:return function(n,o,a,i,s,l,u,c){return e.apply(this,arguments)};case 9:return function(n,o,a,i,s,l,u,c,d){return e.apply(this,arguments)};case 10:return function(n,o,a,i,s,l,u,c,d,f){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function He(t,e,n){return function(){for(var o=[],a=0,i=t,s=0,l=!1;s<e.length||a<arguments.length;){var u;s<e.length&&(!H(e[s])||a>=arguments.length)?u=e[s]:(u=arguments[a],a+=1),o[s]=u,H(u)?l=!0:i-=1,s+=1}return!l&&i<=0?n.apply(this,o):ue(Math.max(0,i),He(t,o,n))}}var Dt=V(function(e,n){return e===1?G(n):ue(e,He(e,[],n))});function X(t){return function e(n,o,a){switch(arguments.length){case 0:return e;case 1:return H(n)?e:V(function(i,s){return t(n,i,s)});case 2:return H(n)&&H(o)?e:H(n)?V(function(i,s){return t(i,o,s)}):H(o)?V(function(i,s){return t(n,i,s)}):G(function(i){return t(n,o,i)});default:return H(n)&&H(o)&&H(a)?e:H(n)&&H(o)?V(function(i,s){return t(i,s,a)}):H(n)&&H(a)?V(function(i,s){return t(i,o,s)}):H(o)&&H(a)?V(function(i,s){return t(n,i,s)}):H(n)?G(function(i){return t(i,o,a)}):H(o)?G(function(i){return t(n,i,a)}):H(a)?G(function(i){return t(n,o,i)}):t(n,o,a)}}}const Ft=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function ga(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function Ut(t,e,n){return function(){if(arguments.length===0)return n();var o=arguments[arguments.length-1];if(!Ft(o)){for(var a=0;a<t.length;){if(typeof o[t[a]]=="function")return o[t[a]].apply(o,Array.prototype.slice.call(arguments,0,-1));a+=1}if(ga(o)){var i=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(o)}}return n.apply(this,arguments)}}function Ye(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const At={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function Un(t){for(var e=[],n;!(n=t.next()).done;)e.push(n.value);return e}function We(t,e,n){for(var o=0,a=n.length;o<a;){if(t(e,n[o]))return!0;o+=1}return!1}function ya(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function ot(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function ba(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const qe=typeof Object.is=="function"?Object.is:ba;var Hn=Object.prototype.toString,Yn=function(){return Hn.call(arguments)==="[object Arguments]"?function(e){return Hn.call(e)==="[object Arguments]"}:function(e){return ot("callee",e)}}(),Sa=!{toString:null}.propertyIsEnumerable("toString"),Wn=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],qn=function(){return arguments.propertyIsEnumerable("length")}(),Ta=function(e,n){for(var o=0;o<e.length;){if(e[o]===n)return!0;o+=1}return!1},yt=G(typeof Object.keys=="function"&&!qn?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var n,o,a=[],i=qn&&Yn(e);for(n in e)ot(n,e)&&(!i||n!=="length")&&(a[a.length]=n);if(Sa)for(o=Wn.length-1;o>=0;)n=Wn[o],ot(n,e)&&!Ta(a,n)&&(a[a.length]=n),o-=1;return a}),Ke=G(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Kn(t,e,n,o){var a=Un(t),i=Un(e);function s(l,u){return Ze(l,u,n.slice(),o.slice())}return!We(function(l,u){return!We(s,u,l)},i,a)}function Ze(t,e,n,o){if(qe(t,e))return!0;var a=Ke(t);if(a!==Ke(e))return!1;if(typeof t["fantasy-land/equals"]=="function"||typeof e["fantasy-land/equals"]=="function")return typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e)&&typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t);if(typeof t.equals=="function"||typeof e.equals=="function")return typeof t.equals=="function"&&t.equals(e)&&typeof e.equals=="function"&&e.equals(t);switch(a){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&ya(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&qe(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!qe(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(!(t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.sticky===e.sticky&&t.unicode===e.unicode))return!1;break}for(var i=n.length-1;i>=0;){if(n[i]===t)return o[i]===e;i-=1}switch(a){case"Map":return t.size!==e.size?!1:Kn(t.entries(),e.entries(),n.concat([t]),o.concat([e]));case"Set":return t.size!==e.size?!1:Kn(t.values(),e.values(),n.concat([t]),o.concat([e]));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 s=yt(t);if(s.length!==yt(e).length)return!1;var l=n.concat([t]),u=o.concat([e]);for(i=s.length-1;i>=0;){var c=s[i];if(!(ot(c,e)&&Ze(e[c],t[c],l,u)))return!1;i-=1}return!0}var Ct=V(function(e,n){return Ze(e,n,[],[])});function wa(t,e,n){var o,a;if(typeof t.indexOf=="function")switch(typeof e){case"number":if(e===0){for(o=1/e;n<t.length;){if(a=t[n],a===0&&1/a===o)return n;n+=1}return-1}else if(e!==e){for(;n<t.length;){if(a=t[n],typeof a=="number"&&a!==a)return n;n+=1}return-1}return t.indexOf(e,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,n);case"object":if(e===null)return t.indexOf(e,n)}for(;n<t.length;){if(Ct(t[n],e))return n;n+=1}return-1}function Zn(t,e){return wa(e,t,0)>=0}function de(t,e){for(var n=0,o=e.length,a=Array(o);n<o;)a[n]=t(e[n]),n+=1;return a}function Je(t){var e=t.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");return'"'+e.replace(/"/g,'\\"')+'"'}var Ht=function(e){return(e<10?"0":"")+e},Oa=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Ht(e.getUTCMonth()+1)+"-"+Ht(e.getUTCDate())+"T"+Ht(e.getUTCHours())+":"+Ht(e.getUTCMinutes())+":"+Ht(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Aa(t){return function(){return!t.apply(this,arguments)}}function Jn(t,e,n){for(var o=0,a=n.length;o<a;)e=t(e,n[o]),o+=1;return e}function Xn(t,e){for(var n=0,o=e.length,a=[];n<o;)t(e[n])&&(a[a.length]=e[n]),n+=1;return a}function va(t,e){for(var n=new Map,o=e.entries(),a=o.next();!a.done;)t(a.value[1])&&n.set(a.value[0],a.value[1]),a=o.next();return n}function _a(t){return Object.prototype.toString.call(t)==="[object Map]"}function fe(t){return Object.prototype.toString.call(t)==="[object Object]"}var ka=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=At.result,t.prototype["@@transducer/step"]=function(e,n){return this.f(n)?this.xf["@@transducer/step"](e,n):e},t}();function Pa(t){return function(e){return new ka(t,e)}}var Lt=V(Ut(["fantasy-land/filter","filter"],Pa,function(t,e){return fe(e)?Jn(function(n,o){return t(e[o])&&(n[o]=e[o]),n},{},yt(e)):_a(e)?va(t,e):Xn(t,e)})),mt=V(function(e,n){return Lt(Aa(e),n)});function Qn(t,e){var n=function(s){var l=e.concat([t]);return Zn(s,l)?"<Circular>":Qn(s,l)},o=function(i,s){return de(function(l){return Je(l)+": "+n(i[l])},s.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+de(n,t).join(", ")+"))";case"[object Array]":return"["+de(n,t).concat(o(t,mt(function(i){return/^\d+$/.test(i)},yt(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+n(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?n(NaN):Je(Oa(t)))+")";case"[object Map]":return"new Map("+n(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+n(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+n(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+n(t.valueOf())+")":Je(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var a=t.toString();if(a!=="[object Object]")return a}return"{"+o(t,yt(t)).join(", ")+"}"}}var me=G(function(e){return Qn(e,[])}),tr=V(function(e,n){if(e===n)return n;function o(u,c){if(u>c!=c>u)return c>u?c:u}var a=o(e,n);if(a!==void 0)return a;var i=o(typeof e,typeof n);if(i!==void 0)return i===typeof e?e:n;var s=me(e),l=o(s,me(n));return l!==void 0&&l===s?e:n}),Ea=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=At.result,t.prototype["@@transducer/step"]=function(e,n){return this.xf["@@transducer/step"](e,this.f(n))},t}(),Na=function(e){return function(n){return new Ea(e,n)}},K=V(Ut(["fantasy-land/map","map"],Na,function(e,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return Dt(n.length,function(){return e.call(this,n.apply(this,arguments))});case"[object Object]":return Jn(function(o,a){return o[a]=e(n[a]),o},{},yt(n));default:return de(e,n)}}));const pe=Number.isInteger||function(e){return e<<0===e};function he(t,e){var n=t<0?e.length+t:t;return e[n]}function er(t,e){if(e!=null)return pe(t)?he(t,e):e[t]}var j=V(er),nr=V(function(e,n){return K(j(e),n)});function Xe(t){return Object.prototype.toString.call(t)==="[object String]"}var xa=G(function(e){return Ft(e)?!0:!e||typeof e!="object"||Xe(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),rr=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function $a(t,e,n){return function(a,i,s){if(xa(s))return t(a,i,s);if(s==null)return i;if(typeof s["fantasy-land/reduce"]=="function")return e(a,i,s,"fantasy-land/reduce");if(s[rr]!=null)return n(a,i,s[rr]());if(typeof s.next=="function")return n(a,i,s);if(typeof s.reduce=="function")return e(a,i,s,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Ma(t,e,n){for(var o=0,a=n.length;o<a;){if(e=t["@@transducer/step"](e,n[o]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o+=1}return t["@@transducer/result"](e)}var Da=V(function(e,n){return ue(e.length,function(){return e.apply(n,arguments)})});function Ca(t,e,n){for(var o=n.next();!o.done;){if(e=t["@@transducer/step"](e,o.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o=n.next()}return t["@@transducer/result"](e)}function La(t,e,n,o){return t["@@transducer/result"](n[o](Da(t["@@transducer/step"],t),e))}var or=$a(Ma,La,Ca),Ia=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,n){return this.f(e,n)},t}();function ar(t){return new Ia(t)}var ge=X(function(t,e,n){return or(typeof t=="function"?ar(t):t,e,n)}),Ba=G(function(e){return Dt(ge(tr,0,nr("length",e)),function(){for(var n=0,o=e.length;n<o;){if(!e[n].apply(this,arguments))return!1;n+=1}return!0})}),ir=G(function(e){return function(){return e}}),Ra=G(function(e){return Dt(ge(tr,0,nr("length",e)),function(){for(var n=0,o=e.length;n<o;){if(e[n].apply(this,arguments))return!0;n+=1}return!1})}),sr=G(function(e){for(var n=yt(e),o=n.length,a=[],i=0;i<o;)a[i]=e[n[i]],i+=1;return a}),Yt=X(function(e,n,o){var a=e(n),i=e(o);return a<i?-1:a>i?1:0}),lr=G(function(e){return Dt(e.length,e)});function za(t,e,n){if(pe(t)&&Ft(n)){var o=t<0?n.length+t:t,a=[].concat(n);return a[o]=e,a}var i={};for(var s in n)i[s]=n[s];return i[t]=e,i}var Va=G(function(e){return e==null}),Ga=X(function t(e,n,o){if(e.length===0)return n;var a=e[0];if(e.length>1){var i=er(a,o);(Va(i)||typeof i!="object")&&(i=pe(e[1])?[]:{}),n=t(Array.prototype.slice.call(e,1),n,i)}return za(a,n,o)}),ja=X(function(e,n,o){return Ga([e],n,o)});function Fa(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function cr(t){return new RegExp(t.source,t.flags?t.flags:(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":"")+(t.dotAll?"s":""))}function ye(t,e,n){if(n||(n=new Ha),Ua(t))return t;var o=function(i){var s=n.get(t);if(s)return s;n.set(t,i);for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(i[l]=e?ye(t[l],!0,n):t[l]);return i};switch(Ke(t)){case"Object":return o(Object.create(Object.getPrototypeOf(t)));case"Array":return o(Array(t.length));case"Date":return new Date(t.valueOf());case"RegExp":return cr(t);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}function Ua(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var Ha=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,n){var o=this.hash(e),a=this.map[o];a||(this.map[o]=a=[]),a.push([e,n]),this.length+=1},t.prototype.hash=function(e){var n=[];for(var o in e)n.push(Object.prototype.toString.call(e[o]));return n.join()},t.prototype.get=function(e){if(this.length<=180){for(var n in this.map)for(var s=this.map[n],o=0;o<s.length;o+=1){var a=s[o];if(a[0]===e)return a[1]}return}var i=this.hash(e),s=this.map[i];if(s)for(var o=0;o<s.length;o+=1){var a=s[o];if(a[0]===e)return a[1]}},t}(),Ya=G(function(e){return e!=null&&typeof e.clone=="function"?e.clone():ye(e,!0)});function Wa(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function Qe(t,e){return function(){var n=arguments.length;if(n===0)return e();var o=arguments[n-1];return Ft(o)||typeof o[t]!="function"?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}var qa=X(Qe("slice",function(e,n,o){return Array.prototype.slice.call(o,e,n)})),Ka=G(Qe("tail",qa(1,1/0)));function It(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return ue(arguments[0].length,ge(Wa,arguments[0],Ka(arguments)))}var Wt=G(function(e){return Xe(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});function q(){if(arguments.length===0)throw new Error("compose requires at least one argument");return It.apply(this,Wt(arguments))}var tn=G(function(t){return he(0,t)}),Za=function(){function t(e,n,o,a){this.valueFn=e,this.valueAcc=n,this.keyFn=o,this.xf=a,this.inputs={}}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=function(e){var n;for(n in this.inputs)if(ot(n,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[n]),e["@@transducer/reduced"])){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){var o=this.keyFn(n);return this.inputs[o]=this.inputs[o]||[o,ye(this.valueAcc,!1)],this.inputs[o][1]=this.valueFn(this.inputs[o][1],n),e},t}();function Ja(t,e,n){return function(o){return new Za(t,e,n,o)}}var ur=He(4,[],Ut([],Ja,function(e,n,o,a){var i=ar(function(s,l){var u=o(l),c=e(ot(u,s)?s[u]:ye(n,!1),l);return c&&c["@@transducer/reduced"]?Ye(s):(s[u]=c,s)});return or(i,{},a)})),vt=X(function(e,n,o){var a=e(n),i=e(o);return a>i?-1:a<i?1:0}),dr=G(function(t){return he(-1,t)});function Xa(t){var e=Object.prototype.toString.call(t);return e==="[object Uint8ClampedArray]"||e==="[object Int8Array]"||e==="[object Uint8Array]"||e==="[object Int16Array]"||e==="[object Uint16Array]"||e==="[object Int32Array]"||e==="[object Uint32Array]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object BigInt64Array]"||e==="[object BigUint64Array]"}var Qa=G(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:Ft(e)?[]:Xe(e)?"":fe(e)?{}:Yn(e)?function(){return arguments}():Xa(e)?e.constructor.from(""):void 0}),ti=function(){function t(e,n){this.xf=n,this.f=e,this.found=!1}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){return this.f(n)&&(this.found=!0,e=Ye(this.xf["@@transducer/step"](e,n))),e},t}();function ei(t){return function(e){return new ti(t,e)}}var ni=V(Ut(["find"],ei,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return n[o];o+=1}})),ri=function(){function t(e,n){this.xf=n,this.f=e,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,-1)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){return this.idx+=1,this.f(n)&&(this.found=!0,e=Ye(this.xf["@@transducer/step"](e,this.idx))),e},t}();function oi(t){return function(e){return new ri(t,e)}}var ai=V(Ut([],oi,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return o;o+=1}return-1})),qt=V(Qe("groupBy",ur(function(t,e){return t.push(e),t},[]))),ii=X(function(e,n,o){return Dt(Math.max(e.length,n.length,o.length),function(){return e.apply(this,arguments)?n.apply(this,arguments):o.apply(this,arguments)})}),si=V(Zn),fr=ur(function(t,e){return e},null),li=X(function(e,n,o){return Xn(function(a){return We(e,a,o)},n)});function ci(t){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1,o=arguments.length;n<o;){var a=arguments[n];if(a!=null)for(var i in a)ot(i,a)&&(e[i]=a[i]);n+=1}return e}const ui=typeof Object.assign=="function"?Object.assign:ci;var be=V(function(e,n){return Dt(e+1,function(){var o=arguments[e];if(o!=null&&Fa(o[n]))return o[n].apply(o,Array.prototype.slice.call(arguments,0,e));throw new TypeError(me(o)+' does not have a method named "'+n+'"')})}),Kt=G(function(e){return e!=null&&Ct(e,Qa(e))}),di=G(function(e){return!Kt(e)}),mr=be(1,"join"),fi=V(function(e,n){return function(o){return function(a){return K(function(i){return n(i,a)},o(e(a)))}}});function pr(t,e){for(var n=e,o=0;o<t.length;o+=1){if(n==null)return;var a=t[o];pe(a)?n=he(a,n):n=n[a]}return n}var hr=G(function(e){return fi(j(e),ja(e))}),mi=ge(ha,0),gr=X(function(e,n,o){var a={},i;n=n||{},o=o||{};for(i in n)ot(i,n)&&(a[i]=ot(i,o)?e(i,n[i],o[i]):n[i]);for(i in o)ot(i,o)&&!ot(i,a)&&(a[i]=o[i]);return a}),pi=X(function t(e,n,o){return gr(function(a,i,s){return fe(i)&&fe(s)?t(e,i,s):e(a,i,s)},n,o)}),yr=V(function(e,n){return pi(function(o,a,i){return i},e,n)}),br=V(function(e,n){return ui({},n,e)}),hi=X(function(e,n,o){return gr(function(a,i,s){return e(i,s)},n,o)}),en=V(function(e,n){for(var o={},a={},i=0,s=e.length;i<s;)a[e[i]]=1,i+=1;for(var l in n)a.hasOwnProperty(l)||(o[l]=n[l]);return o}),Sr=function(t){return{value:t,map:function(e){return Sr(e(t))}}},Tr=X(function(e,n,o){return e(function(a){return Sr(n(a))})(o).value}),bt=V(pr),wr=X(function(e,n,o){return Ct(pr(n,o),e)}),nn=V(function(e,n){for(var o={},a=0;a<e.length;)e[a]in n&&(o[e[a]]=n[e[a]]),a+=1;return o}),Zt=X(function(e,n,o){return Ct(e,j(n,o))}),Or=X(function(e,n,o){return e(j(n,o))}),Se=X(function(e,n,o){return o.replace(e,n)}),rn=V(function(e,n){return Array.prototype.slice.call(n,0).sort(e)}),St=V(function(e,n){return Array.prototype.slice.call(n,0).sort(function(o,a){var i=e(o),s=e(a);return i<s?-1:i>s?1:0})}),Te=V(function(e,n){return Array.prototype.slice.call(n,0).sort(function(o,a){for(var i=0,s=0;i===0&&s<e.length;)i=e[s](o,a),s+=1;return i})}),pt=be(1,"split");function gi(t){return Object.prototype.toString.call(t)==="[object RegExp]"}var yi=V(function(e,n){if(!gi(e))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+me(e));return cr(e).test(n)}),Ar=be(0,"toLowerCase"),bi=be(0,"toUpperCase"),Jt=`
9
+ \v\f\r                 \u2028\u2029\uFEFF`,Si="​",Ti=typeof String.prototype.trim=="function",Xt=G(!Ti||Jt.trim()||!Si.trim()?function(e){var n=new RegExp("^["+Jt+"]["+Jt+"]*"),o=new RegExp("["+Jt+"]["+Jt+"]*$");return e.replace(n,"").replace(o,"")}:function(e){return e.trim()});function vr(t,e,n,o){const a=r.ref(""),i=r.ref(!1),s=l=>{const u=Lt(j(e),l),c=u.length>0;if(i.value=c,!c)return a.value="";const f=u.map(y=>({team:y.team.longName,points:Math.abs(j(e,y))})).map(y=>n(`additionalText.${e}.content`,y)).join(", ");a.value=[n(`additionalText.${e}.prependix`),f,...n(`additionalText.${e}.appendix`)&&[n(`additionalText.${e}.appendix`)]].join(" ")};return r.watch(t,s,{immediate:!0}),r.watch(()=>r.unref(o),()=>s(r.unref(t))),{text:a,isVisible:i}}const _r=Symbol("I18nContext"),J=r.reactive({messages:{},locale:"",fallbackLocale:""});function kr({messages:t={},locale:e="",fallbackLocale:n=""}){J.messages=yr(J.messages,t),J.locale=e,J.fallbackLocale=n;const o=(u,c={})=>{const d=!Kt(c),f=K(Xt,pt(".",u));return r.computed(()=>{const h=Pr(f);return d?Oi(h,c):h}).value},a=u=>{const c=K(Xt,pt(".",u));return!!on(J.locale,c,J.messages)},i=u=>{J.locale=u},l={locale:r.computed({get(){return J.locale},set(u){J.locale=u}}),setLocale:i,translate:o,hasTranslation:a};return r.provide(_r,l),{translate:o}}function lt(t){t&&(J.messages=t.messages,J.locale=t.locale,J.fallbackLocale=t.fallbackLocale);const e=wi();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranslation:e.hasTranslation}}function wi(){const t=r.inject(_r,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}function Pr(t=[]){let e=on(J.locale,t,J.messages);return!e&&J.fallbackLocale&&(e=on(J.fallbackLocale,t,J.messages)),e||t.join(".")}function on(t,e,n){return bt([t,...e],n)}function Oi(t,e){return t.replace(/\{(\w+)\}/g,(n,o)=>e[o])}const Er=r.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const n=K(Xt,pt(".",t.path)),o=Pr(n),a=pt(/\{|\}/,o),i=Object.keys(e).map(s=>{const l=a.indexOf(s);return l>-1&&(a[l]=e[s]()[0]),a});return()=>r.h(t.tag,i)}});function an(t,e="",n={}){const o=r.ref(""),{t:a}=lt(),i=r.computed(()=>{if(r.unref(e))try{const u=Nr(r.unref(t),r.unref(e));return en(u,r.unref(t))}catch(u){o.value=u}return r.unref(t)}),s=u=>({...u,...u.label&&{label:a(u.label??"",r.unref(n))},...u.tooltip&&{tooltip:a(u.tooltip??"")}});return{columns:r.computed(()=>K(s,i.value)),error:o}}function Nr(t,e=""){const n=K(Xt,pt(",",e)),o=yt(t);if(n[0]==="")return[];const a=n.findIndex(i=>!o.includes(i));if(a>-1)throw n[a];return n}const Ai=["text-start","text-center","text-end","w-auto"];function xr(t){return t&&t.match(/[A-Z]{2,}(?=[A-Z][a-z]|\b)|[A-Z]?[a-z]+\d*|[A-Z]|\d+/g).map(e=>e.toLowerCase()).join("-")}function ht(t="",e={}){return t.replace(/\{([^}]+)\}/g,(n,o)=>bt(pt(".",o),e))}function $r(t){return(t||"").split(" ").filter(e=>Ai.includes(e)).join(" ")}const Mr=Symbol("ErrorProviderContext");function Dr(){const t=r.ref(""),e=r.ref({}),n=i=>{console.error({error:i}),t.value=i.message||i.error.message,e.value={message:i.message,key:i.key||xr(i.message),cause:i.cause}},o=()=>{t.value="",e.value={}},a={onError:n,reset:o};return r.provide(Mr,a),window.onerror=i=>{console.error("WINDOW_ONERROR:",i)},r.onErrorCaptured((i,s,l)=>{console.error("onErrorCaptured:",i,s,l)}),{hasError:r.computed(()=>t.value.length>0),message:t,error:e,reset:o,onError:n}}function sn(){const t=vi();return{onError:t.onError,reset:t.reset}}function vi(){const t=r.inject(Mr,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}async function Cr(t,e,n){const o=`${je}${r.unref(t)}${Kt(n)?"":`?${_i(n)}`}`;return new Promise((a,i)=>{fetch(o,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":ki(e)}}).then(s=>s.json()).then(s=>{if(s.error)return i(s);if(s.data.message)return i(s.data);a(s.data)}).catch(s=>{i(s)})})}function _i(t){return Object.keys(t).map(e=>`${e}=${t[e]}`).join("&")}function ki(t){return t||(window.__MJSZ_VBR_WIDGET__?.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:"")}function Qt(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}const gt=typeof window<"u"&&typeof document<"u",Lr=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,Pi=Object.prototype.toString,Ei=t=>Pi.call(t)==="[object Object]",tt=()=>{},Ni=xi();function xi(){var t,e;return gt&&((t=window?.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window?.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Ir(...t){if(t.length!==1)return r.toRef(...t);const e=t[0];return typeof e=="function"?r.readonly(r.customRef(()=>({get:e,set:tt}))):r.ref(e)}function $i(t,e){function n(...o){return new Promise((a,i)=>{Promise.resolve(t(()=>e.apply(this,o),{fn:e,thisArg:this,args:o})).then(a).catch(i)})}return n}const Br=t=>t();function Mi(t=Br,e={}){const{initialState:n="active"}=e,o=Ir(n==="active");function a(){o.value=!1}function i(){o.value=!0}const s=(...l)=>{o.value&&t(...l)};return{isActive:r.readonly(o),pause:a,resume:i,eventFilter:s}}function ln(t,e=!1,n="Timeout"){return new Promise((o,a)=>{setTimeout(e?()=>a(n):o,t)})}function cn(t){return Array.isArray(t)?t:[t]}function Di(t,e,n={}){const{eventFilter:o=Br,...a}=n;return r.watch(t,$i(o,e),a)}function Ci(t,e,n={}){const{eventFilter:o,initialState:a="active",...i}=n,{eventFilter:s,pause:l,resume:u,isActive:c}=Mi(o,{initialState:a});return{stop:Di(t,e,{...i,eventFilter:s}),pause:l,resume:u,isActive:c}}function un(t,e=!1){function n(f,{flush:y="sync",deep:h=!1,timeout:m,throwOnTimeout:S}={}){let g=null;const w=[new Promise(k=>{g=r.watch(t,E=>{f(E)!==e&&(g?g():r.nextTick(()=>g?.()),k(E))},{flush:y,deep:h,immediate:!0})})];return m!=null&&w.push(ln(m,S).then(()=>r.toValue(t)).finally(()=>g?.())),Promise.race(w)}function o(f,y){if(!r.isRef(f))return n(E=>E===f,y);const{flush:h="sync",deep:m=!1,timeout:S,throwOnTimeout:g}=y??{};let T=null;const k=[new Promise(E=>{T=r.watch([t,f],([N,L])=>{e!==(N===L)&&(T?T():r.nextTick(()=>T?.()),E(N))},{flush:h,deep:m,immediate:!0})})];return S!=null&&k.push(ln(S,g).then(()=>r.toValue(t)).finally(()=>(T?.(),r.toValue(t)))),Promise.race(k)}function a(f){return n(y=>!!y,f)}function i(f){return o(null,f)}function s(f){return o(void 0,f)}function l(f){return n(Number.isNaN,f)}function u(f,y){return n(h=>{const m=Array.from(h);return m.includes(f)||m.includes(r.toValue(f))},y)}function c(f){return d(1,f)}function d(f=1,y){let h=-1;return n(()=>(h+=1,h>=f),y)}return Array.isArray(r.toValue(t))?{toMatch:n,toContains:u,changed:c,changedTimes:d,get not(){return un(t,!e)}}:{toMatch:n,toBe:o,toBeTruthy:a,toBeNull:i,toBeNaN:l,toBeUndefined:s,changed:c,changedTimes:d,get not(){return un(t,!e)}}}function Li(t){return un(t)}function Ii(t,e=1e3,n={}){const{immediate:o=!0,immediateCallback:a=!1}=n;let i=null;const s=r.shallowRef(!1);function l(){i&&(clearInterval(i),i=null)}function u(){s.value=!1,l()}function c(){const d=r.toValue(e);d<=0||(s.value=!0,a&&t(),l(),s.value&&(i=setInterval(t,d)))}if(o&&gt&&c(),r.isRef(e)||typeof e=="function"){const d=r.watch(e,()=>{s.value&&gt&&c()});Qt(d)}return Qt(u),{isActive:r.shallowReadonly(s),pause:u,resume:c}}function Bi(t,e,n={}){const{immediate:o=!0,immediateCallback:a=!1}=n,i=r.shallowRef(!1);let s;function l(){s&&(clearTimeout(s),s=void 0)}function u(){i.value=!1,l()}function c(...d){a&&t(),l(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,t(...d)},r.toValue(e))}return o&&(i.value=!0,gt&&c()),Qt(u),{isPending:r.shallowReadonly(i),start:c,stop:u}}function Ri(t,e,n){return r.watch(t,e,{...n,immediate:!0})}function zi(t,e,n){return r.watch(t,e,{...n,once:!0})}function Vi(t,e,n){const o=r.watch(t,(a,i,s)=>{a&&(n?.once&&r.nextTick(()=>o()),e(a,i,s))},{...n,once:!1});return o}const Rr=gt?window:void 0,Gi=gt?window.document:void 0;function _t(t){var e;const n=r.toValue(t);return(e=n?.$el)!=null?e:n}function te(...t){const e=[],n=()=>{e.forEach(l=>l()),e.length=0},o=(l,u,c,d)=>(l.addEventListener(u,c,d),()=>l.removeEventListener(u,c,d)),a=r.computed(()=>{const l=cn(r.toValue(t[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),i=Ri(()=>{var l,u;return[(u=(l=a.value)==null?void 0:l.map(c=>_t(c)))!=null?u:[Rr].filter(c=>c!=null),cn(r.toValue(a.value?t[1]:t[0])),cn(r.unref(a.value?t[2]:t[1])),r.toValue(a.value?t[3]:t[2])]},([l,u,c,d])=>{if(n(),!l?.length||!u?.length||!c?.length)return;const f=Ei(d)?{...d}:d;e.push(...l.flatMap(y=>u.flatMap(h=>c.map(m=>o(y,h,m,f)))))},{flush:"post"}),s=()=>{i(),n()};return Qt(n),s}let zr=!1;function ji(t,e,n={}){const{window:o=Rr,ignore:a=[],capture:i=!0,detectIframe:s=!1,controls:l=!1}=n;if(!o)return l?{stop:tt,cancel:tt,trigger:tt}:tt;if(Ni&&!zr){zr=!0;const g={passive:!0};Array.from(o.document.body.children).forEach(T=>T.addEventListener("click",tt,g)),o.document.documentElement.addEventListener("click",tt,g)}let u=!0;const c=g=>r.toValue(a).some(T=>{if(typeof T=="string")return Array.from(o.document.querySelectorAll(T)).some(w=>w===g.target||g.composedPath().includes(w));{const w=_t(T);return w&&(g.target===w||g.composedPath().includes(w))}});function d(g){const T=r.toValue(g);return T&&T.$.subTree.shapeFlag===16}function f(g,T){const w=r.toValue(g),k=w.$.subTree&&w.$.subTree.children;return k==null||!Array.isArray(k)?!1:k.some(E=>E.el===T.target||T.composedPath().includes(E.el))}const y=g=>{const T=_t(t);if(g.target!=null&&!(!(T instanceof Element)&&d(t)&&f(t,g))&&!(!T||T===g.target||g.composedPath().includes(T))){if("detail"in g&&g.detail===0&&(u=!c(g)),!u){u=!0;return}e(g)}};let h=!1;const m=[te(o,"click",g=>{h||(h=!0,setTimeout(()=>{h=!1},0),y(g))},{passive:!0,capture:i}),te(o,"pointerdown",g=>{const T=_t(t);u=!c(g)&&!!(T&&!g.composedPath().includes(T))},{passive:!0}),s&&te(o,"blur",g=>{setTimeout(()=>{var T;const w=_t(t);((T=o.document.activeElement)==null?void 0:T.tagName)==="IFRAME"&&!w?.contains(o.document.activeElement)&&e(g)},0)},{passive:!0})].filter(Boolean),S=()=>m.forEach(g=>g());return l?{stop:S,cancel:()=>{u=!1},trigger:g=>{u=!0,y(g),u=!1}}:S}function Vr(t,e,n){const{immediate:o=!0,delay:a=0,onError:i=tt,onSuccess:s=tt,resetOnExecute:l=!0,shallow:u=!0,throwError:c}=n??{},d=u?r.shallowRef(e):r.ref(e),f=r.shallowRef(!1),y=r.shallowRef(!1),h=r.shallowRef(void 0);async function m(T=0,...w){l&&(d.value=e),h.value=void 0,f.value=!1,y.value=!0,T>0&&await ln(T);const k=typeof t=="function"?t(...w):t;try{const E=await k;d.value=E,f.value=!0,s(E)}catch(E){if(h.value=E,i(E),c)throw E}finally{y.value=!1}return d.value}o&&m(a);const S={state:d,isReady:f,isLoading:y,error:h,execute:m,executeImmediate:(...T)=>m(0,...T)};function g(){return new Promise((T,w)=>{Li(y).toBe(!1).then(()=>T(S)).catch(w)})}return{...S,then(T,w){return g().then(T,w)}}}function Fi(t={}){const{document:e=Gi}=t;if(!e)return r.shallowRef("visible");const n=r.shallowRef(e.visibilityState);return te(e,"visibilitychange",()=>{n.value=e.visibilityState},{passive:!0}),n}async function Ui(t){return new Promise((e,n)=>{const o=new Image,{src:a,srcset:i,sizes:s,class:l,loading:u,crossorigin:c,referrerPolicy:d,width:f,height:y,decoding:h,fetchPriority:m,ismap:S,usemap:g}=t;o.src=a,i!=null&&(o.srcset=i),s!=null&&(o.sizes=s),l!=null&&(o.className=l),u!=null&&(o.loading=u),c!=null&&(o.crossOrigin=c),d!=null&&(o.referrerPolicy=d),f!=null&&(o.width=f),y!=null&&(o.height=y),h!=null&&(o.decoding=h),m!=null&&(o.fetchPriority=m),S!=null&&(o.isMap=S),g!=null&&(o.useMap=g),o.onload=()=>e(o),o.onerror=n})}function Hi(t,e={}){const n=Vr(()=>Ui(r.toValue(t)),void 0,{resetOnExecute:!0,...e});return r.watch(()=>r.toValue(t),()=>n.execute(e.delay),{deep:!0}),n}const Gr="ping";function dn(t){return t===!0?{}:t}function Yi(t,e={}){const{onConnected:n,onDisconnected:o,onError:a,onMessage:i,immediate:s=!0,autoConnect:l=!0,autoClose:u=!0,protocols:c=[]}=e,d=r.ref(null),f=r.shallowRef("CLOSED"),y=r.ref(),h=Ir(t);let m,S,g=!1,T=0,w=[],k,E;const N=()=>{if(w.length&&y.value&&f.value==="OPEN"){for(const R of w)y.value.send(R);w=[]}},L=()=>{k!=null&&(clearTimeout(k),k=void 0)},B=()=>{clearTimeout(E),E=void 0},F=(R=1e3,Y)=>{L(),!(!gt&&!Lr||!y.value)&&(g=!0,B(),m?.(),y.value.close(R,Y),y.value=void 0)},U=(R,Y=!0)=>!y.value||f.value!=="OPEN"?(Y&&w.push(R),!1):(N(),y.value.send(R),!0),D=()=>{if(g||typeof h.value>"u")return;const R=new WebSocket(h.value,c);y.value=R,f.value="CONNECTING",R.onopen=()=>{f.value="OPEN",T=0,n?.(R),S?.(),N()},R.onclose=Y=>{if(f.value="CLOSED",B(),m?.(),o?.(R,Y),!g&&e.autoReconnect&&(y.value==null||R===y.value)){const{retries:P=-1,delay:_=1e3,onFailed:O}=dn(e.autoReconnect);(typeof P=="function"?P:()=>typeof P=="number"&&(P<0||T<P))(T)?(T+=1,k=setTimeout(D,_)):O?.()}},R.onerror=Y=>{a?.(R,Y)},R.onmessage=Y=>{if(e.heartbeat){B();const{message:P=Gr,responseMessage:_=P}=dn(e.heartbeat);if(Y.data===r.toValue(_))return}d.value=Y.data,i?.(R,Y)}};if(e.heartbeat){const{message:R=Gr,interval:Y=1e3,pongTimeout:P=1e3}=dn(e.heartbeat),{pause:_,resume:O}=Ii(()=>{U(r.toValue(R),!1),E==null&&(E=setTimeout(()=>{F(),g=!1},P))},Y,{immediate:!1});m=_,S=O}u&&(gt&&te("beforeunload",()=>F(),{passive:!0}),Qt(F));const M=()=>{!gt&&!Lr||(F(),g=!1,T=0,D())};return s&&M(),l&&r.watch(h,M),{data:d,status:f,close:F,send:U,open:M,ws:y}}function Wi(t,e){const{open:n,close:o}=Yi(r.unref(t),{autoReconnect:{retries:3},immediate:!1,onMessage:(a,i)=>{const s=i.data,l=JSON.parse(s);l.event!=="welcome"&&(e.value=l.message)}});return r.watch(()=>r.unref(e).gameStatus,a=>{if(a===1)return n();o()},{immediate:!0}),{gameData:e}}function jr(t=[],e={}){const{delay:n=0}=e,o=r.ref(!1),a=r.computed(()=>{const l=r.unref(t);return Array.isArray(l)?l.map(u=>r.unref(u)).some(Boolean):l}),{start:i,stop:s}=Bi(()=>{o.value=!0},n);return r.watch(a,l=>{if(l)return i();s(),o.value=!1},{immediate:!0,deep:!0}),o}function at(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var we={exports:{}},qi=we.exports,Fr;function Ur(){return Fr||(Fr=1,function(t,e){(function(n,o){t.exports=o()})(qi,function(){var n=1e3,o=6e4,a=36e5,i="millisecond",s="second",l="minute",u="hour",c="day",d="week",f="month",y="quarter",h="year",m="date",S="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|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,w={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(P){var _=["th","st","nd","rd"],O=P%100;return"["+P+(_[(O-20)%10]||_[O]||_[0])+"]"}},k=function(P,_,O){var v=String(P);return!v||v.length>=_?P:""+Array(_+1-v.length).join(O)+P},E={s:k,z:function(P){var _=-P.utcOffset(),O=Math.abs(_),v=Math.floor(O/60),A=O%60;return(_<=0?"+":"-")+k(v,2,"0")+":"+k(A,2,"0")},m:function P(_,O){if(_.date()<O.date())return-P(O,_);var v=12*(O.year()-_.year())+(O.month()-_.month()),A=_.clone().add(v,f),x=O-A<0,$=_.clone().add(v+(x?-1:1),f);return+(-(v+(O-A)/(x?A-$:$-A))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:f,y:h,w:d,d:c,D:m,h:u,m:l,s,ms:i,Q:y}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},N="en",L={};L[N]=w;var B="$isDayjsObject",F=function(P){return P instanceof R||!(!P||!P[B])},U=function P(_,O,v){var A;if(!_)return N;if(typeof _=="string"){var x=_.toLowerCase();L[x]&&(A=x),O&&(L[x]=O,A=x);var $=_.split("-");if(!A&&$.length>1)return P($[0])}else{var z=_.name;L[z]=_,A=z}return!v&&A&&(N=A),A||!v&&N},D=function(P,_){if(F(P))return P.clone();var O=typeof _=="object"?_:{};return O.date=P,O.args=arguments,new R(O)},M=E;M.l=U,M.i=F,M.w=function(P,_){return D(P,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var R=function(){function P(O){this.$L=U(O.locale,null,!0),this.parse(O),this.$x=this.$x||O.x||{},this[B]=!0}var _=P.prototype;return _.parse=function(O){this.$d=function(v){var A=v.date,x=v.utc;if(A===null)return new Date(NaN);if(M.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var $=A.match(g);if($){var z=$[2]-1||0,W=($[7]||"0").substring(0,3);return x?new Date(Date.UTC($[1],z,$[3]||1,$[4]||0,$[5]||0,$[6]||0,W)):new Date($[1],z,$[3]||1,$[4]||0,$[5]||0,$[6]||0,W)}}return new Date(A)}(O),this.init()},_.init=function(){var O=this.$d;this.$y=O.getFullYear(),this.$M=O.getMonth(),this.$D=O.getDate(),this.$W=O.getDay(),this.$H=O.getHours(),this.$m=O.getMinutes(),this.$s=O.getSeconds(),this.$ms=O.getMilliseconds()},_.$utils=function(){return M},_.isValid=function(){return this.$d.toString()!==S},_.isSame=function(O,v){var A=D(O);return this.startOf(v)<=A&&A<=this.endOf(v)},_.isAfter=function(O,v){return D(O)<this.startOf(v)},_.isBefore=function(O,v){return this.endOf(v)<D(O)},_.$g=function(O,v,A){return M.u(O)?this[v]:this.set(A,O)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(O,v){var A=this,x=!!M.u(v)||v,$=M.p(O),z=function(Mt,et){var Ot=M.w(A.$u?Date.UTC(A.$y,et,Mt):new Date(A.$y,et,Mt),A);return x?Ot:Ot.endOf(c)},W=function(Mt,et){return M.w(A.toDate()[Mt].apply(A.toDate("s"),(x?[0,0,0,0]:[23,59,59,999]).slice(et)),A)},Z=this.$W,Q=this.$M,rt=this.$D,jt="set"+(this.$u?"UTC":"");switch($){case h:return x?z(1,0):z(31,11);case f:return x?z(1,Q):z(0,Q+1);case d:var $t=this.$locale().weekStart||0,le=(Z<$t?Z+7:Z)-$t;return z(x?rt-le:rt+(6-le),Q);case c:case m:return W(jt+"Hours",0);case u:return W(jt+"Minutes",1);case l:return W(jt+"Seconds",2);case s:return W(jt+"Milliseconds",3);default:return this.clone()}},_.endOf=function(O){return this.startOf(O,!1)},_.$set=function(O,v){var A,x=M.p(O),$="set"+(this.$u?"UTC":""),z=(A={},A[c]=$+"Date",A[m]=$+"Date",A[f]=$+"Month",A[h]=$+"FullYear",A[u]=$+"Hours",A[l]=$+"Minutes",A[s]=$+"Seconds",A[i]=$+"Milliseconds",A)[x],W=x===c?this.$D+(v-this.$W):v;if(x===f||x===h){var Z=this.clone().set(m,1);Z.$d[z](W),Z.init(),this.$d=Z.set(m,Math.min(this.$D,Z.daysInMonth())).$d}else z&&this.$d[z](W);return this.init(),this},_.set=function(O,v){return this.clone().$set(O,v)},_.get=function(O){return this[M.p(O)]()},_.add=function(O,v){var A,x=this;O=Number(O);var $=M.p(v),z=function(Q){var rt=D(x);return M.w(rt.date(rt.date()+Math.round(Q*O)),x)};if($===f)return this.set(f,this.$M+O);if($===h)return this.set(h,this.$y+O);if($===c)return z(1);if($===d)return z(7);var W=(A={},A[l]=o,A[u]=a,A[s]=n,A)[$]||1,Z=this.$d.getTime()+O*W;return M.w(Z,this)},_.subtract=function(O,v){return this.add(-1*O,v)},_.format=function(O){var v=this,A=this.$locale();if(!this.isValid())return A.invalidDate||S;var x=O||"YYYY-MM-DDTHH:mm:ssZ",$=M.z(this),z=this.$H,W=this.$m,Z=this.$M,Q=A.weekdays,rt=A.months,jt=A.meridiem,$t=function(et,Ot,ce,Ge){return et&&(et[Ot]||et(v,x))||ce[Ot].slice(0,Ge)},le=function(et){return M.s(z%12||12,et,"0")},Mt=jt||function(et,Ot,ce){var Ge=et<12?"AM":"PM";return ce?Ge.toLowerCase():Ge};return x.replace(T,function(et,Ot){return Ot||function(ce){switch(ce){case"YY":return String(v.$y).slice(-2);case"YYYY":return M.s(v.$y,4,"0");case"M":return Z+1;case"MM":return M.s(Z+1,2,"0");case"MMM":return $t(A.monthsShort,Z,rt,3);case"MMMM":return $t(rt,Z);case"D":return v.$D;case"DD":return M.s(v.$D,2,"0");case"d":return String(v.$W);case"dd":return $t(A.weekdaysMin,v.$W,Q,2);case"ddd":return $t(A.weekdaysShort,v.$W,Q,3);case"dddd":return Q[v.$W];case"H":return String(z);case"HH":return M.s(z,2,"0");case"h":return le(1);case"hh":return le(2);case"a":return Mt(z,W,!0);case"A":return Mt(z,W,!1);case"m":return String(W);case"mm":return M.s(W,2,"0");case"s":return String(v.$s);case"ss":return M.s(v.$s,2,"0");case"SSS":return M.s(v.$ms,3,"0");case"Z":return $}return null}(et)||$.replace(":","")})},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(O,v,A){var x,$=this,z=M.p(v),W=D(O),Z=(W.utcOffset()-this.utcOffset())*o,Q=this-W,rt=function(){return M.m($,W)};switch(z){case h:x=rt()/12;break;case f:x=rt();break;case y:x=rt()/3;break;case d:x=(Q-Z)/6048e5;break;case c:x=(Q-Z)/864e5;break;case u:x=Q/a;break;case l:x=Q/o;break;case s:x=Q/n;break;default:x=Q}return A?x:M.a(x)},_.daysInMonth=function(){return this.endOf(f).$D},_.$locale=function(){return L[this.$L]},_.locale=function(O,v){if(!O)return this.$L;var A=this.clone(),x=U(O,v,!0);return x&&(A.$L=x),A},_.clone=function(){return M.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()},P}(),Y=R.prototype;return D.prototype=Y,[["$ms",i],["$s",s],["$m",l],["$H",u],["$W",c],["$M",f],["$y",h],["$D",m]].forEach(function(P){Y[P[1]]=function(_){return this.$g(_,P[0],P[1])}}),D.extend=function(P,_){return P.$i||(P(_,R,D),P.$i=!0),D},D.locale=U,D.isDayjs=F,D.unix=function(P){return D(1e3*P)},D.en=L[N],D.Ls=L,D.p={},D})}(we)),we.exports}var Ki=Ur();const I=at(Ki);var Oe={exports:{}},Zi=Oe.exports,Hr;function Ji(){return Hr||(Hr=1,function(t,e){(function(n,o){t.exports=o()})(Zi,function(){return function(n,o){var a=o.prototype,i=a.format;a.format=function(s){var l=this,u=this.$locale();if(!this.isValid())return i.bind(this)(s);var c=this.$utils(),d=(s||"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(f){switch(f){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return u.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return u.ordinal(l.week(),"W");case"w":case"ww":return c.s(l.week(),f==="w"?1:2,"0");case"W":case"WW":return c.s(l.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return c.s(String(l.$H===0?24:l.$H),f==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return f}});return i.bind(this)(d)}}})}(Oe)),Oe.exports}var Xi=Ji();const Qi=at(Xi);var Ae={exports:{}},ts=Ae.exports,Yr;function es(){return Yr||(Yr=1,function(t,e){(function(n,o){t.exports=o()})(ts,function(){return function(n,o,a){o.prototype.isBetween=function(i,s,l,u){var c=a(i),d=a(s),f=(u=u||"()")[0]==="(",y=u[1]===")";return(f?this.isAfter(c,l):!this.isBefore(c,l))&&(y?this.isBefore(d,l):!this.isAfter(d,l))||(f?this.isBefore(c,l):!this.isAfter(c,l))&&(y?this.isAfter(d,l):!this.isBefore(d,l))}}})}(Ae)),Ae.exports}var ns=es();const rs=at(ns);var ve={exports:{}},os=ve.exports,Wr;function as(){return Wr||(Wr=1,function(t,e){(function(n,o){t.exports=o()})(os,function(){return function(n,o){o.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})}(ve)),ve.exports}var is=as();const ss=at(is);var _e={exports:{}},ls=_e.exports,qr;function cs(){return qr||(qr=1,function(t,e){(function(n,o){t.exports=o()})(ls,function(){return function(n,o,a){o.prototype.isToday=function(){var i="YYYY-MM-DD",s=a();return this.format(i)===s.format(i)}}})}(_e)),_e.exports}var us=cs();const ds=at(us);var ke={exports:{}},fs=ke.exports,Kr;function ms(){return Kr||(Kr=1,function(t,e){(function(n,o){t.exports=o()})(fs,function(){var n={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(o,a,i){var s=a.prototype,l=s.format;i.en.formats=n,s.format=function(u){u===void 0&&(u="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,d=function(f,y){return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(h,m,S){var g=S&&S.toUpperCase();return m||y[S]||n[S]||y[g].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(T,w,k){return w||k.slice(1)})})}(u,c===void 0?{}:c);return l.call(this,d)}}})}(ke)),ke.exports}var ps=ms();const hs=at(ps);var Pe={exports:{}},gs=Pe.exports,Zr;function ys(){return Zr||(Zr=1,function(t,e){(function(n,o){t.exports=o()})(gs,function(){return function(n,o,a){var i=function(s,l){if(!l||!l.length||l.length===1&&!l[0]||l.length===1&&Array.isArray(l[0])&&!l[0].length)return null;var u;l.length===1&&l[0].length>0&&(l=l[0]),u=(l=l.filter(function(d){return d}))[0];for(var c=1;c<l.length;c+=1)l[c].isValid()&&!l[c][s](u)||(u=l[c]);return u};a.max=function(){var s=[].slice.call(arguments,0);return i("isAfter",s)},a.min=function(){var s=[].slice.call(arguments,0);return i("isBefore",s)}}})}(Pe)),Pe.exports}var bs=ys();const Ss=at(bs);var Ee={exports:{}},Ts=Ee.exports,Jr;function ws(){return Jr||(Jr=1,function(t,e){(function(n,o){t.exports=o()})(Ts,function(){return function(n,o,a){n=n||{};var i=o.prototype,s={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 l(c,d,f,y){return i.fromToBase(c,d,f,y)}a.en.relativeTime=s,i.fromToBase=function(c,d,f,y,h){for(var m,S,g,T=f.$locale().relativeTime||s,w=n.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"}],k=w.length,E=0;E<k;E+=1){var N=w[E];N.d&&(m=y?a(c).diff(f,N.d,!0):f.diff(c,N.d,!0));var L=(n.rounding||Math.round)(Math.abs(m));if(g=m>0,L<=N.r||!N.r){L<=1&&E>0&&(N=w[E-1]);var B=T[N.l];h&&(L=h(""+L)),S=typeof B=="string"?B.replace("%d",L):B(L,d,N.l,g);break}}if(d)return S;var F=g?T.future:T.past;return typeof F=="function"?F(S):F.replace("%s",S)},i.to=function(c,d){return l(c,d,this,!0)},i.from=function(c,d){return l(c,d,this)};var u=function(c){return c.$u?a.utc():a()};i.toNow=function(c){return this.to(u(this),c)},i.fromNow=function(c){return this.from(u(this),c)}}})}(Ee)),Ee.exports}var Os=ws();const As=at(Os);var Ne={exports:{}},vs=Ne.exports,Xr;function _s(){return Xr||(Xr=1,function(t,e){(function(n,o){t.exports=o()})(vs,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(a,i,s){var l,u=function(y,h,m){m===void 0&&(m={});var S=new Date(y),g=function(T,w){w===void 0&&(w={});var k=w.timeZoneName||"short",E=T+"|"+k,N=o[E];return N||(N=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:T,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:k}),o[E]=N),N}(h,m);return g.formatToParts(S)},c=function(y,h){for(var m=u(y,h),S=[],g=0;g<m.length;g+=1){var T=m[g],w=T.type,k=T.value,E=n[w];E>=0&&(S[E]=parseInt(k,10))}var N=S[3],L=N===24?0:N,B=S[0]+"-"+S[1]+"-"+S[2]+" "+L+":"+S[4]+":"+S[5]+":000",F=+y;return(s.utc(B).valueOf()-(F-=F%1e3))/6e4},d=i.prototype;d.tz=function(y,h){y===void 0&&(y=l);var m,S=this.utcOffset(),g=this.toDate(),T=g.toLocaleString("en-US",{timeZone:y}),w=Math.round((g-new Date(T))/1e3/60),k=15*-Math.round(g.getTimezoneOffset()/15)-w;if(!Number(k))m=this.utcOffset(0,h);else if(m=s(T,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(k,!0),h){var E=m.utcOffset();m=m.add(S-E,"minute")}return m.$x.$timezone=y,m},d.offsetName=function(y){var h=this.$x.$timezone||s.tz.guess(),m=u(this.valueOf(),h,{timeZoneName:y}).find(function(S){return S.type.toLowerCase()==="timezonename"});return m&&m.value};var f=d.startOf;d.startOf=function(y,h){if(!this.$x||!this.$x.$timezone)return f.call(this,y,h);var m=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return f.call(m,y,h).tz(this.$x.$timezone,!0)},s.tz=function(y,h,m){var S=m&&h,g=m||h||l,T=c(+s(),g);if(typeof y!="string")return s(y).tz(g);var w=function(L,B,F){var U=L-60*B*1e3,D=c(U,F);if(B===D)return[U,B];var M=c(U-=60*(D-B)*1e3,F);return D===M?[U,D]:[L-60*Math.min(D,M)*1e3,Math.max(D,M)]}(s.utc(y,S).valueOf(),T,g),k=w[0],E=w[1],N=s(k).utcOffset(E);return N.$x.$timezone=g,N},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(y){l=y}}})}(Ne)),Ne.exports}var ks=_s();const Ps=at(ks);var xe={exports:{}},Es=xe.exports,Qr;function Ns(){return Qr||(Qr=1,function(t,e){(function(n,o){t.exports=o()})(Es,function(){var n="minute",o=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(i,s,l){var u=s.prototype;l.utc=function(S){var g={date:S,utc:!0,args:arguments};return new s(g)},u.utc=function(S){var g=l(this.toDate(),{locale:this.$L,utc:!0});return S?g.add(this.utcOffset(),n):g},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(S){S.utc&&(this.$u=!0),this.$utils().u(S.$offset)||(this.$offset=S.$offset),c.call(this,S)};var d=u.init;u.init=function(){if(this.$u){var S=this.$d;this.$y=S.getUTCFullYear(),this.$M=S.getUTCMonth(),this.$D=S.getUTCDate(),this.$W=S.getUTCDay(),this.$H=S.getUTCHours(),this.$m=S.getUTCMinutes(),this.$s=S.getUTCSeconds(),this.$ms=S.getUTCMilliseconds()}else d.call(this)};var f=u.utcOffset;u.utcOffset=function(S,g){var T=this.$utils().u;if(T(S))return this.$u?0:T(this.$offset)?f.call(this):this.$offset;if(typeof S=="string"&&(S=function(N){N===void 0&&(N="");var L=N.match(o);if(!L)return null;var B=(""+L[0]).match(a)||["-",0,0],F=B[0],U=60*+B[1]+ +B[2];return U===0?0:F==="+"?U:-U}(S),S===null))return this;var w=Math.abs(S)<=16?60*S:S,k=this;if(g)return k.$offset=w,k.$u=S===0,k;if(S!==0){var E=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(k=this.local().add(w+E,n)).$offset=w,k.$x.$localOffset=E}else k=this.utc();return k};var y=u.format;u.format=function(S){var g=S||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return y.call(this,g)},u.valueOf=function(){var S=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*S},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var h=u.toDate;u.toDate=function(S){return S==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var m=u.diff;u.diff=function(S,g,T){if(S&&this.$u===S.$u)return m.call(this,S,g,T);var w=this.local(),k=l(S).local();return m.call(w,k,g,T)}}})}(xe)),xe.exports}var xs=Ns();const $s=at(xs);var $e={exports:{}},Ms=$e.exports,to;function Ds(){return to||(to=1,function(t,e){(function(n,o){t.exports=o()})(Ms,function(){return function(n,o){o.prototype.weekday=function(a){var i=this.$locale().weekStart||0,s=this.$W,l=(s<i?s+7:s)-i;return this.$utils().u(a)?l:this.subtract(l,"day").add(a,"day")}}})}($e)),$e.exports}var Cs=Ds();const Ls=at(Cs);var Me={exports:{}},Is=Me.exports,eo;function Bs(){return eo||(eo=1,function(t,e){(function(n,o){t.exports=o(Ur())})(Is,function(n){function o(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=o(n),i={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(s){return s+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(s,l,u,c){return"néhány másodperc"+(c||l?"":"e")},m:function(s,l,u,c){return"egy perc"+(c||l?"":"e")},mm:function(s,l,u,c){return s+" perc"+(c||l?"":"e")},h:function(s,l,u,c){return"egy "+(c||l?"óra":"órája")},hh:function(s,l,u,c){return s+" "+(c||l?"óra":"órája")},d:function(s,l,u,c){return"egy "+(c||l?"nap":"napja")},dd:function(s,l,u,c){return s+" "+(c||l?"nap":"napja")},M:function(s,l,u,c){return"egy "+(c||l?"hónap":"hónapja")},MM:function(s,l,u,c){return s+" "+(c||l?"hónap":"hónapja")},y:function(s,l,u,c){return"egy "+(c||l?"év":"éve")},yy:function(s,l,u,c){return s+" "+(c||l?"é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 a.default.locale(i,null,!0),i})}(Me)),Me.exports}Bs(),I.extend($s),I.extend(Ps),I.extend(Qi),I.extend(As),I.extend(hs),I.extend(ss),I.extend(rs),I.extend(ds),I.extend(Ls),I.extend(Ss);const no=()=>I.tz.guess();function kt(t="",e="",n="",o="hu"){return n=n||I.tz.guess(),I(t).isValid()?I(t).tz(n).locale(o).format(e):""}function ee(t="",e="",n="hu"){if(!I(t).isValid())return"";e=e||I.tz.guess();const a=new Intl.DateTimeFormat(Rs(n),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(i=>i.type==="timeZoneName");return a&&a.value}function Rs(t){return zn.get(t)}function fn(t){const e=t.split(":");return Number.parseInt(e[0],10)*60+Number.parseInt(e[1],10)}function ro(t){const e=~~(t/60),n=~~t%60;return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function oo(t){const e=Math.trunc(t),n=Math.round((t-e)/10*60*10);return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function mn(t,e="day"){return I().isSameOrBefore(I(t),e)}function ao(t,e,n,o="[]"){return I(t).isBetween(e,I(n),"day",o)}function zs(t,e,n="month"){return I(t).isSame(e,n)}function Vs(t,e="hu"){return I(t).locale(e).toNow(!0)}function Gs(t,e,n="day"){return I(t).isBefore(e,n)}function js(t,e,n="day"){return I(t).isAfter(e,n)}function Fs(t){return I(t).isToday()}function Us(t){const e=I().weekday(1),n=I().weekday(7);return ao(t,e,n)}function Hs(t){const e=I(t).weekday(1),n=I(t).weekday(7);return{startDate:e,endDate:n}}function Ys(t,e){return I(t).subtract(e,"day")}function Ws(t,e){return I(t).add(e,"day")}function qs(t){return I(t).startOf("month")}function Ks(t){return I(t).endOf("month")}function Zs(t){return Array.isArray(t)&&(t=t.map(e=>I(e))),I.min(t)}function Js(t){return Array.isArray(t)&&(t=t.map(e=>I(e))),I.max(...t)}function Xs(t={}){const{initial:e=1,items:n=[],limit:o,auto:a=!1}=t,i=r.ref(r.unref(e)),s=c=>mn(c,"day");return zi(n,()=>{if(!a)return;const c=ai(Or(s,"gameDate"))(r.unref(n));i.value=c===-1?1:Math.floor(c/o)+1}),{page:i,change:c=>{i.value=c}}}function Qs({currentPage:t,itemsPerPage:e=20,totalItems:n,rangeLength:o=5,update:a=tt}){const i=r.computed(()=>Math.ceil(r.unref(n)/e)),s=r.computed(()=>{const d=r.unref(t)-1,f=Array.from({length:i.value},(m,S)=>S+1),y=Math.floor(o/2);let h=Math.max(d-y,0);return h+o>=i.value&&(h=Math.max(i.value-o,0)),f.slice(h,h+o)}),l=d=>{const f=r.unref(t)+d;c(f)&&a(f)},u=d=>{c(d)&&a(d)};function c(d){return d<=i.value&&d>0}return{page:t,range:s,pageCount:i,goTo:u,pageStep:l}}function tl(t={}){const{items:e=[],element:n,offset:o=0,enabled:a=!0}=t,i=l=>mn(l,"day"),s=()=>{if(!r.unref(a))return;const l=ni(Or(i,"gameDate"))(r.unref(e));if(!l)return;const u=kt(l.gameDate,"YYYY-MM-DD"),c=_t(n).querySelector(`div[data-gamedate="${u}"]`);if(!c)return;const d=getComputedStyle(c).getPropertyValue("--mvw-sticky-top-offset")||0,f=(c.getBoundingClientRect()?.top??0)-r.unref(o)-Number.parseFloat(d);window.scrollTo(0,f)};Ci(()=>({items:r.unref(e),element:r.unref(n)}),async({items:l,element:u})=>{l.length===0||!u||(await r.nextTick(),s())})}function el({options:t={},transform:e=a=>a,onError:n=tt,onSuccess:o=tt}){const{path:a,apiKey:i,params:s,resetOnExecute:l=!1,immediate:u=!1}=t,{state:c,error:d,isLoading:f,execute:y}=Vr(()=>Cr(a,i,r.unref(s)).then(h=>e(h)),[],{immediate:u,resetOnExecute:l,onError:n,onSuccess:o});return{state:c,error:d,isLoading:f,execute:y}}/*! *****************************************************************************
10
10
  Copyright (c) Microsoft Corporation.
11
11
 
12
12
  Permission to use, copy, modify, and/or distribute this software for any
@@ -19,4 +19,4 @@ var MjszVbrElementsCore=function(p,r){"use strict";const Fe="https://api.icehock
19
19
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
20
20
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
21
21
  PERFORMANCE OF THIS SOFTWARE.
22
- ***************************************************************************** */function pn(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var o,a,i=n.call(t),s=[];try{for(;(e===void 0||e-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s}var ao;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(ao||(ao={}));var js={type:"xstate.init"};function Me(t){return t===void 0?[]:[].concat(t)}function io(t,e){return typeof(t=typeof t=="string"&&e&&e[t]?e[t]:t)=="string"?{type:t}:typeof t=="function"?{type:t.name,exec:t}:t}function hn(t){return function(e){return t===e}}function Us(t){return typeof t=="string"?{type:t}:t}function so(t,e){return{value:t,context:e,actions:[],changed:!1,matches:hn(t)}}function lo(t,e,n){var o=e,a=!1;return[t.filter(function(i){if(i.type==="xstate.assign"){a=!0;var s=Object.assign({},o);return typeof i.assignment=="function"?s=i.assignment(o,n):Object.keys(i.assignment).forEach(function(l){s[l]=typeof i.assignment[l]=="function"?i.assignment[l](o,n):i.assignment[l]}),o=s,!1}return!0}),o,a]}function Hs(t,e){e===void 0&&(e={});var n=pn(lo(Me(t.states[t.initial].entry).map(function(s){return io(s,e.actions)}),t.context,js),2),o=n[0],a=n[1],i={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:hn(t.initial)},transition:function(s,l){var u,c,d=typeof s=="string"?{value:s,context:t.context}:s,f=d.value,y=d.context,h=Us(l),m=t.states[f];if(m.on){var T=Me(m.on[h.type]);"*"in m.on&&T.push.apply(T,function(v,A,x){if(arguments.length===2)for(var $,z=0,W=A.length;z<W;z++)!$&&z in A||($||($=Array.prototype.slice.call(A,0,z)),$[z]=A[z]);return v.concat($||Array.prototype.slice.call(A))}([],pn(Me(m.on["*"])),!1));try{for(var g=function(v){var A=typeof Symbol=="function"&&Symbol.iterator,x=A&&v[A],$=0;if(x)return x.call(v);if(v&&typeof v.length=="number")return{next:function(){return v&&$>=v.length&&(v=void 0),{value:v&&v[$++],done:!v}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}(T),S=g.next();!S.done;S=g.next()){var O=S.value;if(O===void 0)return so(f,y);var _=typeof O=="string"?{target:O}:O,E=_.target,N=_.actions,I=N===void 0?[]:N,B=_.cond,j=B===void 0?function(){return!0}:B,U=E===void 0,M=E??f,D=t.states[M];if(j(y,h)){var R=pn(lo((U?Me(I):[].concat(m.exit,I,D.entry).filter(function(v){return v})).map(function(v){return io(v,i._options.actions)}),y,h),3),Y=R[0],P=R[1],k=R[2],w=E??f;return{value:w,context:P,actions:Y,changed:E!==f||Y.length>0||k,matches:hn(w)}}}}catch(v){u={error:v}}finally{try{S&&!S.done&&(c=g.return)&&c.call(g)}finally{if(u)throw u.error}}}return so(f,y)}};return i}const Ys=Hs({id:"sort",initial:ft,states:{[ft]:{on:{DIRECTION1:b,DIRECTION2:C}},[b]:{on:{DIRECTION1:C,DIRECTION2:ft}},[C]:{on:{DIRECTION1:ft,DIRECTION2:b}}}});function Ws(t,e){const n=e===C?"DIRECTION2":"DIRECTION1";return Ys.transition(t,n).value}function qs(t={}){const{sortTarget:e=null,orders:n=[]}=t,o=r.reactive({sortTarget:e,orders:n});return{sort:o,change:({target:i,orders:s})=>{if(o.sortTarget!==i){o.sortTarget=i,o.orders=s;return}const l=s.map((u,c)=>({...u,direction:Ws(o.orders[c].direction,u.direction)}));o.sortTarget=i,o.orders=l}}}function Ks(t=!1,e=tt,n=tt){const o=xi();r.watch(o,a=>{if(r.unref(t)){if(a==="visible")return e();n()}})}const Zs=["textContent"],Xs={__name:"AdditionalStandingsText",props:{rows:{type:Array,default:()=>[]},additionalKey:{type:String,required:!0}},setup(t){const e=t,n=r.toRef(e,"rows"),{t:o,locale:a}=lt(),{isVisible:i,text:s}=vr(n,e.additionalKey,o,a);return(l,u)=>r.unref(i)?(r.openBlock(),r.createElementBlock("div",{key:0,class:"is-text-xs is-text-light is-mt-5 is-mb-5",textContent:r.toDisplayString(r.unref(s))},null,8,Zs)):r.createCommentVNode("",!0)}},co={__name:"BaseSelect",props:{modelValue:{type:[String,Number],default:null}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=e,a=r.computed({get:()=>n.modelValue,set:i=>o("update:modelValue",i)});return(i,s)=>r.withDirectives((r.openBlock(),r.createElementBlock("select",{"onUpdate:modelValue":s[0]||(s[0]=l=>a.value=l),class:"base-input is-select"},[r.renderSlot(i.$slots,"default")],512)),[[r.vModelSelect,a.value]])}},Js={"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 Qs(t,e){return r.openBlock(),r.createElementBlock("svg",Js,[...e[0]||(e[0]=[r.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)])])}const uo={render:Qs},tl={"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 el(t,e){return r.openBlock(),r.createElementBlock("svg",tl,[...e[0]||(e[0]=[r.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)])])}const nl={render:el},rl={"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 ol(t,e){return r.openBlock(),r.createElementBlock("svg",rl,[...e[0]||(e[0]=[r.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)])])}const al={render:ol},Bt=Math.min,Pt=Math.max,Ce=Math.round,Ie=Math.floor,ct=t=>({x:t,y:t}),il={left:"right",right:"left",bottom:"top",top:"bottom"},sl={start:"end",end:"start"};function gn(t,e,n){return Pt(t,Bt(e,n))}function ne(t,e){return typeof t=="function"?t(e):t}function _t(t){return t.split("-")[0]}function re(t){return t.split("-")[1]}function fo(t){return t==="x"?"y":"x"}function yn(t){return t==="y"?"height":"width"}const ll=new Set(["top","bottom"]);function St(t){return ll.has(_t(t))?"y":"x"}function bn(t){return fo(St(t))}function cl(t,e,n){n===void 0&&(n=!1);const o=re(t),a=bn(t),i=yn(a);let s=a==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Le(s)),[s,Le(s)]}function ul(t){const e=Le(t);return[Tn(t),e,Tn(e)]}function Tn(t){return t.replace(/start|end/g,e=>sl[e])}const mo=["left","right"],po=["right","left"],dl=["top","bottom"],fl=["bottom","top"];function ml(t,e,n){switch(t){case"top":case"bottom":return n?e?po:mo:e?mo:po;case"left":case"right":return e?dl:fl;default:return[]}}function pl(t,e,n,o){const a=re(t);let i=ml(_t(t),n==="start",o);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(Tn)))),i}function Le(t){return t.replace(/left|right|bottom|top/g,e=>il[e])}function hl(t){return{top:0,right:0,bottom:0,left:0,...t}}function ho(t){return typeof t!="number"?hl(t):{top:t,right:t,bottom:t,left:t}}function Be(t){const{x:e,y:n,width:o,height:a}=t;return{width:o,height:a,top:n,left:e,right:e+o,bottom:n+a,x:e,y:n}}function go(t,e,n){let{reference:o,floating:a}=t;const i=St(e),s=bn(e),l=yn(s),u=_t(e),c=i==="y",d=o.x+o.width/2-a.width/2,f=o.y+o.height/2-a.height/2,y=o[l]/2-a[l]/2;let h;switch(u){case"top":h={x:d,y:o.y-a.height};break;case"bottom":h={x:d,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-a.width,y:f};break;default:h={x:o.x,y:o.y}}switch(re(e)){case"start":h[s]-=y*(n&&c?-1:1);break;case"end":h[s]+=y*(n&&c?-1:1);break}return h}const gl=async(t,e,n)=>{const{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:d,y:f}=go(c,o,u),y=o,h={},m=0;for(let T=0;T<l.length;T++){const{name:g,fn:S}=l[T],{x:O,y:_,data:E,reset:N}=await S({x:d,y:f,initialPlacement:o,placement:y,strategy:a,middlewareData:h,rects:c,platform:s,elements:{reference:t,floating:e}});d=O??d,f=_??f,h={...h,[g]:{...h[g],...E}},N&&m<=50&&(m++,typeof N=="object"&&(N.placement&&(y=N.placement),N.rects&&(c=N.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):N.rects),{x:d,y:f}=go(c,y,u)),T=-1)}return{x:d,y:f,placement:y,strategy:a,middlewareData:h}};async function yo(t,e){var n;e===void 0&&(e={});const{x:o,y:a,platform:i,rects:s,elements:l,strategy:u}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:y=!1,padding:h=0}=ne(e,t),m=ho(h),g=l[y?f==="floating"?"reference":"floating":f],S=Be(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),O=f==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),E=await(i.isElement==null?void 0:i.isElement(_))?await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1}:{x:1,y:1},N=Be(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:O,offsetParent:_,strategy:u}):O);return{top:(S.top-N.top+m.top)/E.y,bottom:(N.bottom-S.bottom+m.bottom)/E.y,left:(S.left-N.left+m.left)/E.x,right:(N.right-S.right+m.right)/E.x}}const yl=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:a,rects:i,platform:s,elements:l,middlewareData:u}=e,{element:c,padding:d=0}=ne(t,e)||{};if(c==null)return{};const f=ho(d),y={x:n,y:o},h=bn(a),m=yn(h),T=await s.getDimensions(c),g=h==="y",S=g?"top":"left",O=g?"bottom":"right",_=g?"clientHeight":"clientWidth",E=i.reference[m]+i.reference[h]-y[h]-i.floating[m],N=y[h]-i.reference[h],I=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let B=I?I[_]:0;(!B||!await(s.isElement==null?void 0:s.isElement(I)))&&(B=l.floating[_]||i.floating[m]);const j=E/2-N/2,U=B/2-T[m]/2-1,M=Bt(f[S],U),D=Bt(f[O],U),R=M,Y=B-T[m]-D,P=B/2-T[m]/2+j,k=gn(R,P,Y),w=!u.arrow&&re(a)!=null&&P!==k&&i.reference[m]/2-(P<R?M:D)-T[m]/2<0,v=w?P<R?P-R:P-Y:0;return{[h]:y[h]+v,data:{[h]:k,centerOffset:P-k-v,...w&&{alignmentOffset:v}},reset:w}}}),bl=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:a,middlewareData:i,rects:s,initialPlacement:l,platform:u,elements:c}=e,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:y,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:T=!0,...g}=ne(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const S=_t(a),O=St(l),_=_t(l)===l,E=await(u.isRTL==null?void 0:u.isRTL(c.floating)),N=y||(_||!T?[Le(l)]:ul(l)),I=m!=="none";!y&&I&&N.push(...pl(l,T,m,E));const B=[l,...N],j=await yo(e,g),U=[];let M=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&U.push(j[S]),f){const P=cl(a,s,E);U.push(j[P[0]],j[P[1]])}if(M=[...M,{placement:a,overflows:U}],!U.every(P=>P<=0)){var D,R;const P=(((D=i.flip)==null?void 0:D.index)||0)+1,k=B[P];if(k&&(!(f==="alignment"?O!==St(k):!1)||M.every(A=>A.overflows[0]>0&&St(A.placement)===O)))return{data:{index:P,overflows:M},reset:{placement:k}};let w=(R=M.filter(v=>v.overflows[0]<=0).sort((v,A)=>v.overflows[1]-A.overflows[1])[0])==null?void 0:R.placement;if(!w)switch(h){case"bestFit":{var Y;const v=(Y=M.filter(A=>{if(I){const x=St(A.placement);return x===O||x==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(x=>x>0).reduce((x,$)=>x+$,0)]).sort((A,x)=>A[1]-x[1])[0])==null?void 0:Y[0];v&&(w=v);break}case"initialPlacement":w=l;break}if(a!==w)return{reset:{placement:w}}}return{}}}},Tl=new Set(["left","top"]);async function Sl(t,e){const{placement:n,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=_t(n),l=re(n),u=St(n)==="y",c=Tl.has(s)?-1:1,d=i&&u?-1:1,f=ne(e,t);let{mainAxis:y,crossAxis:h,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof m=="number"&&(h=l==="end"?m*-1:m),u?{x:h*d,y:y*c}:{x:y*c,y:h*d}}const wl=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:a,y:i,placement:s,middlewareData:l}=e,u=await Sl(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:a+u.x,y:i+u.y,data:{...u,placement:s}}}}},Ol=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:g=>{let{x:S,y:O}=g;return{x:S,y:O}}},...u}=ne(t,e),c={x:n,y:o},d=await yo(e,u),f=St(_t(a)),y=fo(f);let h=c[y],m=c[f];if(i){const g=y==="y"?"top":"left",S=y==="y"?"bottom":"right",O=h+d[g],_=h-d[S];h=gn(O,h,_)}if(s){const g=f==="y"?"top":"left",S=f==="y"?"bottom":"right",O=m+d[g],_=m-d[S];m=gn(O,m,_)}const T=l.fn({...e,[y]:h,[f]:m});return{...T,data:{x:T.x-n,y:T.y-o,enabled:{[y]:i,[f]:s}}}}}};function Re(){return typeof window<"u"}function Rt(t){return bo(t)?(t.nodeName||"").toLowerCase():"#document"}function nt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ut(t){var e;return(e=(bo(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function bo(t){return Re()?t instanceof Node||t instanceof nt(t).Node:!1}function it(t){return Re()?t instanceof Element||t instanceof nt(t).Element:!1}function dt(t){return Re()?t instanceof HTMLElement||t instanceof nt(t).HTMLElement:!1}function To(t){return!Re()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof nt(t).ShadowRoot}const Al=new Set(["inline","contents"]);function oe(t){const{overflow:e,overflowX:n,overflowY:o,display:a}=st(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!Al.has(a)}const vl=new Set(["table","td","th"]);function kl(t){return vl.has(Rt(t))}const Pl=[":popover-open",":modal"];function ze(t){return Pl.some(e=>{try{return t.matches(e)}catch{return!1}})}const _l=["transform","translate","scale","rotate","perspective"],El=["transform","translate","scale","rotate","perspective","filter"],Nl=["paint","layout","strict","content"];function Sn(t){const e=wn(),n=it(t)?st(t):t;return _l.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||El.some(o=>(n.willChange||"").includes(o))||Nl.some(o=>(n.contain||"").includes(o))}function xl(t){let e=wt(t);for(;dt(e)&&!zt(e);){if(Sn(e))return e;if(ze(e))return null;e=wt(e)}return null}function wn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const $l=new Set(["html","body","#document"]);function zt(t){return $l.has(Rt(t))}function st(t){return nt(t).getComputedStyle(t)}function Ve(t){return it(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function wt(t){if(Rt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||To(t)&&t.host||ut(t);return To(e)?e.host:e}function So(t){const e=wt(t);return zt(e)?t.ownerDocument?t.ownerDocument.body:t.body:dt(e)&&oe(e)?e:So(e)}function ae(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=So(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=nt(a);if(i){const l=On(s);return e.concat(s,s.visualViewport||[],oe(a)?a:[],l&&n?ae(l):[])}return e.concat(a,ae(a,[],n))}function On(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function wo(t){const e=st(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const a=dt(t),i=a?t.offsetWidth:n,s=a?t.offsetHeight:o,l=Ce(n)!==i||Ce(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function An(t){return it(t)?t:t.contextElement}function Vt(t){const e=An(t);if(!dt(e))return ct(1);const n=e.getBoundingClientRect(),{width:o,height:a,$:i}=wo(e);let s=(i?Ce(n.width):n.width)/o,l=(i?Ce(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Dl=ct(0);function Oo(t){const e=nt(t);return!wn()||!e.visualViewport?Dl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ml(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==nt(t)?!1:e}function Et(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),i=An(t);let s=ct(1);e&&(o?it(o)&&(s=Vt(o)):s=Vt(t));const l=Ml(i,n,o)?Oo(i):ct(0);let u=(a.left+l.x)/s.x,c=(a.top+l.y)/s.y,d=a.width/s.x,f=a.height/s.y;if(i){const y=nt(i),h=o&&it(o)?nt(o):o;let m=y,T=On(m);for(;T&&o&&h!==m;){const g=Vt(T),S=T.getBoundingClientRect(),O=st(T),_=S.left+(T.clientLeft+parseFloat(O.paddingLeft))*g.x,E=S.top+(T.clientTop+parseFloat(O.paddingTop))*g.y;u*=g.x,c*=g.y,d*=g.x,f*=g.y,u+=_,c+=E,m=nt(T),T=On(m)}}return Be({width:d,height:f,x:u,y:c})}function vn(t,e){const n=Ve(t).scrollLeft;return e?e.left+n:Et(ut(t)).left+n}function Ao(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),a=o.left+e.scrollLeft-(n?0:vn(t,o)),i=o.top+e.scrollTop;return{x:a,y:i}}function Cl(t){let{elements:e,rect:n,offsetParent:o,strategy:a}=t;const i=a==="fixed",s=ut(o),l=e?ze(e.floating):!1;if(o===s||l&&i)return n;let u={scrollLeft:0,scrollTop:0},c=ct(1);const d=ct(0),f=dt(o);if((f||!f&&!i)&&((Rt(o)!=="body"||oe(s))&&(u=Ve(o)),dt(o))){const h=Et(o);c=Vt(o),d.x=h.x+o.clientLeft,d.y=h.y+o.clientTop}const y=s&&!f&&!i?Ao(s,u,!0):ct(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+y.x,y:n.y*c.y-u.scrollTop*c.y+d.y+y.y}}function Il(t){return Array.from(t.getClientRects())}function Ll(t){const e=ut(t),n=Ve(t),o=t.ownerDocument.body,a=Pt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=Pt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+vn(t);const l=-n.scrollTop;return st(o).direction==="rtl"&&(s+=Pt(e.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:l}}function Bl(t,e){const n=nt(t),o=ut(t),a=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,l=0,u=0;if(a){i=a.width,s=a.height;const c=wn();(!c||c&&e==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:i,height:s,x:l,y:u}}const Rl=new Set(["absolute","fixed"]);function zl(t,e){const n=Et(t,!0,e==="fixed"),o=n.top+t.clientTop,a=n.left+t.clientLeft,i=dt(t)?Vt(t):ct(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,u=a*i.x,c=o*i.y;return{width:s,height:l,x:u,y:c}}function vo(t,e,n){let o;if(e==="viewport")o=Bl(t,n);else if(e==="document")o=Ll(ut(t));else if(it(e))o=zl(e,n);else{const a=Oo(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return Be(o)}function ko(t,e){const n=wt(t);return n===e||!it(n)||zt(n)?!1:st(n).position==="fixed"||ko(n,e)}function Vl(t,e){const n=e.get(t);if(n)return n;let o=ae(t,[],!1).filter(l=>it(l)&&Rt(l)!=="body"),a=null;const i=st(t).position==="fixed";let s=i?wt(t):t;for(;it(s)&&!zt(s);){const l=st(s),u=Sn(s);!u&&l.position==="fixed"&&(a=null),(i?!u&&!a:!u&&l.position==="static"&&!!a&&Rl.has(a.position)||oe(s)&&!u&&ko(t,s))?o=o.filter(d=>d!==s):a=l,s=wt(s)}return e.set(t,o),o}function Gl(t){let{element:e,boundary:n,rootBoundary:o,strategy:a}=t;const s=[...n==="clippingAncestors"?ze(e)?[]:Vl(e,this._c):[].concat(n),o],l=s[0],u=s.reduce((c,d)=>{const f=vo(e,d,a);return c.top=Pt(f.top,c.top),c.right=Bt(f.right,c.right),c.bottom=Bt(f.bottom,c.bottom),c.left=Pt(f.left,c.left),c},vo(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Fl(t){const{width:e,height:n}=wo(t);return{width:e,height:n}}function jl(t,e,n){const o=dt(e),a=ut(e),i=n==="fixed",s=Et(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const u=ct(0);function c(){u.x=vn(a)}if(o||!o&&!i)if((Rt(e)!=="body"||oe(a))&&(l=Ve(e)),o){const h=Et(e,!0,i,e);u.x=h.x+e.clientLeft,u.y=h.y+e.clientTop}else a&&c();i&&!o&&a&&c();const d=a&&!o&&!i?Ao(a,l):ct(0),f=s.left+l.scrollLeft-u.x-d.x,y=s.top+l.scrollTop-u.y-d.y;return{x:f,y,width:s.width,height:s.height}}function kn(t){return st(t).position==="static"}function Po(t,e){if(!dt(t)||st(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return ut(t)===n&&(n=n.ownerDocument.body),n}function _o(t,e){const n=nt(t);if(ze(t))return n;if(!dt(t)){let a=wt(t);for(;a&&!zt(a);){if(it(a)&&!kn(a))return a;a=wt(a)}return n}let o=Po(t,e);for(;o&&kl(o)&&kn(o);)o=Po(o,e);return o&&zt(o)&&kn(o)&&!Sn(o)?n:o||xl(t)||n}const Ul=async function(t){const e=this.getOffsetParent||_o,n=this.getDimensions,o=await n(t.floating);return{reference:jl(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Hl(t){return st(t).direction==="rtl"}const Yl={convertOffsetParentRelativeRectToViewportRelativeRect:Cl,getDocumentElement:ut,getClippingRect:Gl,getOffsetParent:_o,getElementRects:Ul,getClientRects:Il,getDimensions:Fl,getScale:Vt,isElement:it,isRTL:Hl};function Eo(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Wl(t,e){let n=null,o;const a=ut(t);function i(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),i();const c=t.getBoundingClientRect(),{left:d,top:f,width:y,height:h}=c;if(l||e(),!y||!h)return;const m=Ie(f),T=Ie(a.clientWidth-(d+y)),g=Ie(a.clientHeight-(f+h)),S=Ie(d),_={rootMargin:-m+"px "+-T+"px "+-g+"px "+-S+"px",threshold:Pt(0,Bt(1,u))||1};let E=!0;function N(I){const B=I[0].intersectionRatio;if(B!==u){if(!E)return s();B?s(!1,B):o=setTimeout(()=>{s(!1,1e-7)},1e3)}B===1&&!Eo(c,t.getBoundingClientRect())&&s(),E=!1}try{n=new IntersectionObserver(N,{..._,root:a.ownerDocument})}catch{n=new IntersectionObserver(N,_)}n.observe(t)}return s(!0),i}function ql(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,c=An(t),d=a||i?[...c?ae(c):[],...ae(e)]:[];d.forEach(S=>{a&&S.addEventListener("scroll",n,{passive:!0}),i&&S.addEventListener("resize",n)});const f=c&&l?Wl(c,n):null;let y=-1,h=null;s&&(h=new ResizeObserver(S=>{let[O]=S;O&&O.target===c&&h&&(h.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var _;(_=h)==null||_.observe(e)})),n()}),c&&!u&&h.observe(c),h.observe(e));let m,T=u?Et(t):null;u&&g();function g(){const S=Et(t);T&&!Eo(T,S)&&n(),T=S,m=requestAnimationFrame(g)}return n(),()=>{var S;d.forEach(O=>{a&&O.removeEventListener("scroll",n),i&&O.removeEventListener("resize",n)}),f?.(),(S=h)==null||S.disconnect(),h=null,u&&cancelAnimationFrame(m)}}const Kl=wl,Zl=Ol,Xl=bl,No=yl,Jl=(t,e,n)=>{const o=new Map,a={platform:Yl,...n},i={...a.platform,_c:o};return gl(t,e,{...a,platform:i})};function xo(t,e="body"){if(!t)return;if(typeof e!="string"){e?.append(t);return}document.querySelector(e)?.append(t)}function Ql(t,e=()=>({})){return t.slice().sort((n,o)=>{const a=e(n),i=e(o);if(a===null||i===null)return 0;const s=a.compareDocumentPosition(i);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function tc({middleware:t,placement:e=null,strategy:n,append:o,enabled:a}){const i=r.ref(null),s=r.ref(null),l=r.ref(null),u=r.ref(null),c=r.ref(null),d=r.ref(null),f=r.ref(null),y=r.ref(n??"absolute"),h=r.ref(null),m=()=>{!i.value||!s.value||Jl(i.value,s.value,{middleware:t,placement:e,strategy:n}).then(g=>{l.value=g.x,u.value=g.y,y.value=g.strategy,c.value=g.middlewareData.arrow.x,d.value=g.middlewareData.arrow.y,f.value=g.placement})};r.watch(()=>({reference:r.unref(i),floating:r.unref(s),append:r.unref(o)}),({floating:g,append:S})=>{S&&xo(g,S),m()},{flush:"post"}),r.watch(a,g=>{if(!(!i.value||!s.value)){if(!g)return T();h.value=ql(i.value,s.value,m,{})}},{flush:"post"});function T(){h.value?.(),h.value=null}return{x:l,y:u,arrowX:c,arrowY:d,placement:f,reference:i,floating:s,strategy:y,update:m}}function ec(t){const{element:e,padding:n}=t;return{name:"arrow",options:t,fn(o){return r.isRef(e)?e.value!=null?No({element:e.value,padding:n}).fn(o):{}:e?No({element:e,padding:n}).fn(o):{}}}}const nc=["data-placement"],Pn={__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(t){const e=t,n=r.ref(!1),o=r.ref(null),{x:a,y:i,arrowX:s,arrowY:l,placement:u,reference:c,floating:d,strategy:f}=tc({placement:e.placement,middleware:[Xl(),Zl({padding:5}),Kl(e.offset),ec({element:o,padding:5})],append:r.computed(()=>e.appendTo),enabled:n});function y(){e.disabled||n.value||(n.value=!0)}function h(g){n.value&&g&&(n.value=!1)}function m(g){c.value=g}const T={mouseenter:y,mouseleave:h,focus:y,blur:h};return Ni(d,g=>{c.value?.contains(g.target)||h()}),(g,S)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.renderSlot(g.$slots,"default",{setRef:m,show:y,hide:h,events:T}),r.createElementVNode("div",{ref_key:"floating",ref:d,"data-placement":r.unref(u),style:r.normalizeStyle({position:r.unref(f),top:r.unref(i)?`${r.unref(i)}px`:"",left:r.unref(a)?`${r.unref(a)}px`:""})},[r.createVNode(r.Transition,{name:"transition-fade",mode:"out-in"},{default:r.withCtx(()=>[n.value?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(["floating-content",[[`is-${e.theme}`]]])},[r.renderSlot(g.$slots,"content",{close:h},()=>[r.createTextVNode(r.toDisplayString(t.content),1)]),t.isArrowVisible?(r.openBlock(),r.createElementBlock("div",{key:0,ref_key:"arrowRef",ref:o,class:"is-arrow",style:r.normalizeStyle({position:r.unref(f),top:r.unref(l)?`${r.unref(l)}px`:"",left:r.unref(s)?`${r.unref(s)}px`:""})},null,4)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0)]),_:3})],12,nc)],64))}},rc={class:"table"},oc=["tabindex","onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown"],ac={key:0},ic=["colspan"],sc={key:1},lc=["colspan"],_n={__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(t,{emit:e}){const n=t,o=e,{isLoading:a,appendTo:i}=r.toRefs(n),s=Gr(a,{delay:Gn}),{t:l}=lt(),u=r.computed(()=>n.columns),c=r.computed(()=>Object.keys(n.columns).length);function d(f,y){f.sortOrders&&o("sort",{target:y,orders:f.sortOrders})}return(f,y)=>(r.openBlock(),r.createElementBlock("table",rc,[r.createElementVNode("thead",null,[r.createElementVNode("tr",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(h,m)=>(r.openBlock(),r.createBlock(Pn,{key:m,placement:"top",content:h.tooltip,disabled:!h.tooltip,"append-to":r.unref(i)},{default:r.withCtx(({setRef:T,show:g,hide:S})=>[r.createElementVNode("th",{ref_for:!0,ref:T,class:r.normalizeClass([[h.class],{"is-active":m===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ft),"is-sortable":h.sortOrders,"is-desc":m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b),"is-asc":m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(C)}]),tabindex:h.sortOrders?0:-1,role:"button",onMouseenter:g,onMouseleave:S,onFocus:g,onBlur:S,onClick:O=>d(h,m),onKeydown:[r.withKeys(r.withModifiers(O=>d(h,m),["prevent"]),["space"]),r.withKeys(r.withModifiers(O=>d(h,m),["prevent"]),["enter"])]},[r.renderSlot(f.$slots,`header-${m}`,{column:h},()=>[r.createTextVNode(r.toDisplayString(h.label),1)]),h.sortOrders&&m!==t.sort.sortTarget?(r.openBlock(),r.createBlock(r.unref(uo),{key:0,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(ft)?(r.openBlock(),r.createBlock(r.unref(uo),{key:1,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b)?(r.openBlock(),r.createBlock(r.unref(nl),{key:2,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(C)?(r.openBlock(),r.createBlock(r.unref(al),{key:3,class:"is-icon-sort"})):r.createCommentVNode("",!0)],42,oc)]),_:2},1032,["content","disabled","append-to"]))),128))])]),r.createElementVNode("tbody",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.rows,(h,m)=>(r.openBlock(),r.createElementBlock("tr",{key:m,class:r.normalizeClass(h.rowClasses)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(T,g)=>(r.openBlock(),r.createElementBlock("td",{key:g,class:r.normalizeClass([[T.class],{"is-active":g===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ft),"is-zero":h[g]===0||h[g]==="00:00"}])},[r.renderSlot(f.$slots,`cell-${g}`,{row:h,prop:g},()=>[r.createTextVNode(r.toDisplayString(h[g]),1)])],2))),128))],2))),128))]),r.unref(s)&&t.rows.length===0?(r.openBlock(),r.createElementBlock("tfoot",ac,[r.createElementVNode("tr",null,[r.createElementVNode("td",{colspan:c.value},[r.renderSlot(f.$slots,"loading",{},()=>[r.createTextVNode(r.toDisplayString(r.unref(l)("common.loading")),1)])],8,ic)])])):r.createCommentVNode("",!0),t.rows.length===0&&!r.unref(a)&&!r.unref(s)?(r.openBlock(),r.createElementBlock("tfoot",sc,[r.createElementVNode("tr",null,[r.createElementVNode("td",{colspan:c.value},[r.renderSlot(f.$slots,"empty",{},()=>[r.createTextVNode(r.toDisplayString(r.unref(l)("common.noData")),1)])],8,lc)])])):r.createCommentVNode("",!0)]))}},cc={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 uc(t,e){return r.openBlock(),r.createElementBlock("svg",cc,[...e[0]||(e[0]=[r.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),r.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),r.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1)])])}const dc={render:uc},fc={class:"error-notice"},mc=["textContent"],pc={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})},useRetry:{type:Boolean,default:!1}},emits:["retry"],setup(t){const e=t,{t:n,hasTranslation:o}=lt(),a=r.computed(()=>o(`errors.${e.error.key}`)?n(`errors.${e.error.key}`,e.error.cause||[e.error?.message]):e.error?.message);return(i,s)=>(r.openBlock(),r.createElementBlock("div",fc,[r.createVNode(r.unref(dc),{class:"icon",width:"20",height:"20"}),r.createElementVNode("span",null,r.toDisplayString(a.value),1),t.useRetry?(r.openBlock(),r.createElementBlock("button",{key:0,type:"button",onClick:s[0]||(s[0]=l=>i.$emit("retry")),textContent:r.toDisplayString(r.unref(n)("common.retry"))},null,8,mc)):r.createCommentVNode("",!0)]))}},hc={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:o}=Dr();return(a,i)=>r.renderSlot(a.$slots,"default",{message:r.unref(e),error:r.unref(o),hasError:r.unref(n)})}},gc={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"}}},yc={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"}}},bc=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},Tc=r.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=yr({hu:yc,en:gc},t.messages),{translate:n}=Pr({locale:r.computed(()=>t.locale),messages:e});return{translate:n}}});function Sc(t,e,n,o,a,i){return r.renderSlot(t.$slots,"default",{t:t.translate})}const wc=bc(Tc,[["render",Sc]]),Oc=["src"],Ac=["src","title"],Nt=Object.assign({inheritAttrs:!1},{__name:"Image",props:{src:{type:String,default:""},title:{type:String,default:""},defaultSrc:{type:String,default:""}},setup(t){const e=t,{defaultSrc:n}=r.toRefs(e),o=r.ref({src:e.src}),{error:a,isReady:i}=Di(o,{resetOnExecute:!1,shallow:!1});return(s,l)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.unref(a)&&r.unref(n)?(r.openBlock(),r.createElementBlock("img",{key:0,src:r.unref(n),class:r.normalizeClass(["is-loaded is-default",[s.$attrs.class]])},null,10,Oc)):r.createCommentVNode("",!0),r.unref(a)?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("img",{key:1,src:o.value.src,class:r.normalizeClass([s.$attrs.class,{"is-loaded":r.unref(i)}]),title:e.title,loading:"lazy"},null,10,Ac))],64))}}),vc={class:"loading-indicator"},En={__name:"LoadingIndicator",setup(t){const{t:e}=lt();return(n,o)=>(r.openBlock(),r.createElementBlock("div",vc,r.toDisplayString(r.unref(e)("common.loading")),1))}},kc={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 Pc(t,e){return r.openBlock(),r.createElementBlock("svg",kc,[...e[0]||(e[0]=[r.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1)])])}const _c={render:Pc},Ec={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 Nc(t,e){return r.openBlock(),r.createElementBlock("svg",Ec,[...e[0]||(e[0]=[r.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1)])])}const xc={render:Nc},$c={key:0,class:"paginator"},Dc=["disabled"],Mc=["disabled"],Cc={key:1,class:"is-disabled"},Ic=["disabled","onClick"],Lc={key:2,class:"is-disabled"},Bc=["disabled"],Rc=["disabled"],zc={__name:"Paginator",props:{page:{type:Number,required:!1,default:0,validator:t=>t>=0},itemsPerPage:{type:Number,required:!1,default:10,validator:t=>t>0},totalItems:{type:Number,required:!0,validator:t=>t>=0},rangeLength:{type:Number,default:3,validator:t=>t>=2},isCompact:{type:Boolean,default:!1}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,{page:a,pageCount:i,range:s,goTo:l,pageStep:u}=Vs({currentPage:r.computed(()=>n.page),totalItems:r.computed(()=>n.totalItems),itemsPerPage:n.itemsPerPage,rangeLength:n.rangeLength,update:c=>o("change",c)});return(c,d)=>r.unref(i)>1?(r.openBlock(),r.createElementBlock("div",$c,[r.createElementVNode("button",{type:"button",disabled:r.unref(a)===1,onClick:d[0]||(d[0]=f=>r.unref(u)(-1))},[r.renderSlot(c.$slots,"prev",{},()=>[r.createVNode(r.unref(_c),{class:"icon paginator-left"})])],8,Dc),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("button",{key:0,type:"button",disabled:r.unref(a)===1,onClick:d[1]||(d[1]=f=>r.unref(l)(1))}," 1 ",8,Mc)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",Cc," ... ")),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(s),f=>(r.openBlock(),r.createElementBlock("button",{key:f,type:"button",class:r.normalizeClass({"is-active":f===r.unref(a)}),disabled:f===r.unref(a),onClick:y=>r.unref(l)(f)},r.toDisplayString(f),11,Ic))),128)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",Lc,[...d[4]||(d[4]=[r.createElementVNode("span",null,"...",-1)])])),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("button",{key:3,type:"button",disabled:r.unref(a)===r.unref(i),onClick:d[2]||(d[2]=f=>r.unref(l)(r.unref(i)))},r.toDisplayString(r.unref(i)),9,Bc)),r.createElementVNode("button",{type:"button",disabled:r.unref(a)===r.unref(i),onClick:d[3]||(d[3]=r.withModifiers(f=>r.unref(u)(1),["prevent"]))},[r.renderSlot(c.$slots,"next",{},()=>[r.createVNode(r.unref(xc),{class:"icon paginator-left"})])],8,Rc)])):r.createCommentVNode("",!0)}},Nn={__name:"ResponsiveTable",setup(t){const e=r.ref(null);return(n,o)=>(r.openBlock(),r.createElementBlock("div",{ref_key:"el",ref:e,class:"table-responsive"},[r.renderSlot(n.$slots,"default",{el:e.value})],512))}},Vc={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 Gc(t,e){return r.openBlock(),r.createElementBlock("svg",Vc,[...e[0]||(e[0]=[r.createElementVNode("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"},null,-1),r.createElementVNode("line",{x1:"8",y1:"21",x2:"16",y2:"21"},null,-1),r.createElementVNode("line",{x1:"12",y1:"17",x2:"12",y2:"21"},null,-1)])])}const Fc={render:Gc},jc={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 Uc(t,e){return r.openBlock(),r.createElementBlock("svg",jc,[...e[0]||(e[0]=[r.createElementVNode("circle",{cx:"12",cy:"12",r:"1"},null,-1),r.createElementVNode("circle",{cx:"12",cy:"5",r:"1"},null,-1),r.createElementVNode("circle",{cx:"12",cy:"19",r:"1"},null,-1)])])}const Hc={render:Uc},Yc={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 Wc(t,e){return r.openBlock(),r.createElementBlock("svg",Yc,[...e[0]||(e[0]=[r.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),r.createElementVNode("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"},null,-1)])])}const qc={render:Wc},Kc={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 Zc(t,e){return r.openBlock(),r.createElementBlock("svg",Kc,[...e[0]||(e[0]=[r.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),r.createElementVNode("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"},null,-1)])])}const Xc={render:Zc};let Jc=0;function Qc(){return++Jc}function tu(t=[]){return{result:[...t],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.isFiltered?this.filteredRowsLength:t.length,currentItems:this.currentItems}},filter(e,n=[],o=!1){if(e){const a=n.map(l=>o?It(bt(l),Mt(e)):It(F(l),Ar,Ka(Ar(e)))),i=lr(l=>l.name?Sr(hr("name"),Te(",",""),l):l),s=Ct(It(i,Pa([...a])),this.result);this.isFiltered=!0,this.filteredRowsLength=s.length,this.result=s}return this},sorted(e){if(!e.sortTarget)return this;if(e.orders[0].direction===ft)return this;const n=qa(Mt(C),ir(Yt),ir(vt));return this.result=Se(e.orders.map(o=>q(n(o.direction),F)(o.target)))(this.result),this},addIndex(e=null){return this.result.reduce((n,o,a)=>{const i=n[n.length-1]||[],s=e&&i[e]===o[e];return o.index=s?i.index:a+1,o.indexClass=s?"is-duplicated":null,n.push(o),n},[]),this},addContinuousIndex(){return this.result=this.result.map((e,n)=>({...e,index:n+1})),this},pagination(e,n){if(!n)return this;e=Number(e),n=Number(n);const o=(e-1)*n,a=o+n;return this.result=this.result.slice(o,a),this},more(e,n){return this.result=this.result.slice(Number(e),Number(n)),this},playerName(){return this.result=this.result.map(e=>({...e,name:gu(e)})),this},teamName(){return this.result=this.result.map(e=>({...e,teamName:e.team.longName})),this},schedule(e="",n="hu"){return this.result=this.result.map(o=>({...o,gameResult:`${o.homeTeamScore}-${o.awayTeamScore}`,gameDateDate:kt(o.gameDate,"L dddd",e,n),gameDateTime:kt(o.gameDate,"HH:mm",e,n)})),this},gameDateFilter(e){return e===null?this:(this.result=this.result.filter(n=>new Date(n.gameDate).getMonth()===e),this)},convertTimes(e=[]){return this.result=this.result.map(n=>(e.map(o=>n[o]?n[`${o}Sec`]=fn(n[o]):n),n)),this},groupByDays(){return this.currentItems=this.result.length,this.result=qt(e=>kt(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].reverse()),this}}}const eu=(t,...e)=>K(q(...e))(t);function Gt(t){return{...t,...t.lastName&&t.firstName&&{name:`${t.lastName} ${t.firstName}`},...t.player?.playerId&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.id&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.nationality&&{name:t.player?.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`},...t.nationality&&{name:t.nationality.includes("hu")?`${t.lastName} ${t.firstName}`:`${t.lastName}, ${t.firstName}`}}}function xn(t){return{...t,...t?.team?.id&&{teamName:t.team.longName}}}function nu(t="",e="hu"){return n=>({...n,gameDateDate:kt(n.gameDate,"L dddd",t,e),gameDateTime:kt(n.gameDate,"HH:mm",t,e)})}function ru(t){return e=>({...e,gameResult:mu(e)})}function ou(t){return{...t,opponent:fu(t)}}function au(t){return{...t,resultType:pu(t)}}function iu(t){return{...t,rowClasses:t.optional?"is-optional":""}}function $o(t=[]){return e=>({...e,[t]:e[t]?.toUpperCase()})}function su(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Sec`]=fn(e[n]):e),e)}function lu(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Min`]=ro(e[n]):e),e)}function cu(t=[]){return e=>(t.map(n=>e[`${n}Min`]=no(e[n])),e)}function uu(t){return{...t,periodResults:t.result?.match(/\(.*?\)/)?.[0]??""}}const du=Se([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Yt(F("id")),Yt(F("gameId"))]),$n=rn((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function fu(t){return[t.isHomeGame?null:"@",t.opponent?.shortName].join(" ")}function mu(t){let e=t?.homeTeamScore,n=t?.awayTeamScore;return t.isHomeGame||(e=t?.awayTeamScore,n=t?.homeTeamScore),[e,n].join(":")}function pu(t){const e=t.gameResult.split(":"),n=e[0]>e[1],o=e[0]<e[1];return n&&t.isOvertime?"OTW":n&&t.isShootout?"SOW":n?"W":o&&t.isOvertime?"OTL":o&&t.isShootout?"SOL":o?"L":"D"}function hu(t){return t.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 gu(t){return t.player?t.player.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`:`${t.lastName} ${t.firstName}`}const yu=q(rn(vt(F("seasonName"))),K(nn(["championshipId","seasonName"]))),bu=t=>rn(Yt(F("teamName")),t),Tu=q(Tt(F("sectionId")),mt(q(Kt,F("phases")))),Su=q(F("sectionId"),tn),wu=q(F("phaseName"),tn),Ou=Tt(F("phaseId")),Au=t=>q(Tt(F("name")),K(q(Gt,xn)))(t),vu=q(F("phaseName"),dr),ku=q(ii,Te("_","-")),Pu=q(mt(ai(/-:-/)),pt(",")),_u=q(K(pt(":")),K(Jt),pt(","),Te(/^\(|\)$/g,"")),Eu=Se([vt(F("startingFive"))]),Nu=q(mr(", "),K(t=>`${t.lastName} ${t.firstName}`),mt(t=>!t)),xu=q(qt(F("eventPeriod")),Wt,mt(Zt("Period","type"))),$u=qt(F("row")),Du=(t,e)=>Ct(ka([wr(e,["team","id"]),Zt("Gól","type")]),Wt(t)),Mu=q(K(Gt),nn(["headCoach","secondCoach"])),Cu=q(Wt,K(t=>({...t,eventId:t.eventId?t.eventId:Qc()}))),Iu=t=>Tt(F("eventTimeSec"),Object.values(t));function Lu(t,e){const n=a=>{const i=["first_referee","second_referee","first_line_judge","second_line_judge"].indexOf(a.role);return i>-1?i:4},o=a=>({...Gt(a),role:e(`role.${a.role}`)});return qt(F("type"),K(o,Tt(n,Object.values(t))))}const Bu=Se([vt(F("points")),Yt(F("gamesPlayed")),vt(F("w")),vt(F("gd")),vt(F("gf"))]),Ru=(t,e)=>mt(Zt(t,"championshipId"),e),zu=(t,e)=>Ct(Zt(t,"championshipId"),e),Vu=q(mt(t=>["Rájátszás","Újrajátszandó"].includes(t.phaseName)),bt([0,"phases"])),Gu=q(qt(Hu),Tt(t=>["ld","rd","d"].includes(t.position?.toLowerCase())?1:["lw","rw","c"].includes(t.position?.toLowerCase())?2:0),Tt(Yu),K(q(Gt,xn,$o(["position"]))));function Fu({goalieStats:t,fieldPlayers:e,playersPenalty:n}){const o=K(bt(["player","playerId"]))(t),i=mt(c=>o.includes(c.player.playerId),n),s=Za((c,d)=>c.player.playerId===d,n,o),l=Do(e,i),u=Do(t,s);return{fieldPlayers:$n(l),goalies:$n(u)}}const ju=lr((t,e)=>It(Ct(wr(e,["team","id"])),K(Gt))(t));function Uu(t){const e=t.city?Sr(hr("city"),Te(/$/,",")):()=>({});return q(mr(" "),sr,e,en(["type"]))(t)}function Hu(t){return["ld","rd"].includes(t.position?.toLowerCase())?"defenders":["lw","rw","c"].includes(t.position?.toLowerCase())?"forwards":"goalies"}function Yu(t){return Number(t.jerseyNr)}function Do(t,e){return sr(ri(br,fr(bt(["player","playerId"]),t),fr(bt(["player","playerId"]),e)))}class Dn extends Error{constructor(e,n={}){const{key:o,cause:a}=n;super(e),this.name="WidgetError",this.key=o,this.cause=a}}const ie={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},Wu={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}};function qu(t){return`${Fe.replace(/^https?/,"wss").replace("/vbr","/socket/vbr")}${t}`}const se=(t="")=>window?.__MJSZ_VBR_WIDGET__?.[t];function Ku(t,e={}){if(e.externalGameUrl)return e.externalGameUrl;const n=se("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(ht(n||Mn,e))}function Zu(t,e={}){const n=se("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(ht(n||Ln,e))}function Xu(t,e={}){const n=se("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(ht(n||In,e))}function Ju(t,e={}){return typeof t=="function"?t(e):encodeURI(ht(t||Bn,e))}const Qu=(t,e="1x1")=>`${Rn}/flag:${t}-${e}.svg`;function td(t){return t||(se("apiKey")?se("apiKey"):"")}function ed(){window.scrollTo(0,0)}const nd={class:"is-team-name-long"},rd={class:"is-team-name-short"},od={class:"is-team-name-long"},ad={class:"is-team-name-short"},id={key:0,class:"is-text-dark"},sd=["href","target"],ld={key:0,class:"label"},cd={key:1,class:"label"},ud={key:2,class:"label"},dd={key:1},fd=["onClick","onFocus","onBlur"],md={class:"is-dropdown-menu"},pd=["href","target"],hd={key:0},gd=["href"],yd={__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(t){const e=t,n=r.ref(null),{onError:o}=sn(),{columns:a,error:i}=an(Fn,r.computed(()=>e.hideColumns),r.computed(()=>({offsetName:e.offsetName})));_i(i,()=>o(new Dn(ie.message,{...ie.options,cause:{column:i.value}})),{immediate:!0});const{t:s}=lt();return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(Nn,null,{default:r.withCtx(({el:c})=>[r.createVNode(_n,{columns:r.unref(a),rows:e.rows,"is-loading":t.isLoading,"append-to":n.value||c},{"cell-homeTeamName":r.withCtx(({row:d})=>[d.homeTeam?(r.openBlock(),r.createElementBlock(r.Fragment,{key:0},[r.createElementVNode("span",nd,r.toDisplayString(d.homeTeam.longName),1),r.createElementVNode("span",rd,r.toDisplayString(d.homeTeam.shortName),1)],64)):r.createCommentVNode("",!0)]),"cell-awayTeamName":r.withCtx(({row:d})=>[d.awayTeam?(r.openBlock(),r.createElementBlock(r.Fragment,{key:0},[r.createElementVNode("span",od,r.toDisplayString(d.awayTeam.longName),1),r.createElementVNode("span",ad,r.toDisplayString(d.awayTeam.shortName),1)],64)):r.createCommentVNode("",!0)]),"cell-homeTeamLogo":r.withCtx(({row:d})=>[d.homeTeam?(r.openBlock(),r.createBlock(Nt,{key:d.homeTeam.id,class:"is-logo-image is-right",src:d.homeTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-awayTeamLogo":r.withCtx(({row:d})=>[d.awayTeam?(r.openBlock(),r.createBlock(Nt,{key:d.awayTeam.id,class:"is-logo-image is-right",src:d.awayTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-gameResult":r.withCtx(({row:d})=>[d.gameStatus===0?(r.openBlock(),r.createElementBlock("span",id,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(d.gameId),target:t.externalGameResolverTarget,class:r.normalizeClass({"is-text-dark":d.gameStatus!==1,"is-text-accent":d.gameStatus===1})},r.toDisplayString(d.homeTeamScore)+":"+r.toDisplayString(d.awayTeamScore),11,sd))]),"cell-gameResultType":r.withCtx(({row:d})=>[d.isOvertime?(r.openBlock(),r.createElementBlock("span",ld,r.toDisplayString(r.unref(s)("common.overtimeShort")),1)):r.createCommentVNode("",!0),d.isShootout?(r.openBlock(),r.createElementBlock("span",cd,r.toDisplayString(r.unref(s)("common.shootoutShort")),1)):r.createCommentVNode("",!0),d.seriesStandings?(r.openBlock(),r.createElementBlock("span",ud,r.toDisplayString(d.seriesStandings),1)):r.createCommentVNode("",!0)]),"cell-broadcast":r.withCtx(({row:d})=>[d.broadcast?(r.openBlock(),r.createBlock(r.unref(Fc),{key:0})):(r.openBlock(),r.createElementBlock("span",dd))]),"cell-location":r.withCtx(({row:d})=>[r.createTextVNode(r.toDisplayString(d.location?.locationName??""),1)]),"cell-more":r.withCtx(({row:d})=>[r.createVNode(Pn,{offset:2,placement:"left",theme:"content","append-to":c},{default:r.withCtx(({setRef:f,show:y,hide:h})=>[r.createElementVNode("button",{ref:f,onClick:r.withModifiers(y,["stop"]),onFocus:y,onBlur:h},[r.createVNode(r.unref(Hc))],40,fd)]),content:r.withCtx(()=>[r.createElementVNode("ul",md,[r.createElementVNode("li",null,[r.createElementVNode("a",{href:t.externalGameResolver(d.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[r.createVNode(r.unref(qc),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.report")),1)],8,pd)]),d.video?(r.openBlock(),r.createElementBlock("li",hd,[r.createElementVNode("a",{href:d.video,class:"is-dropdown-item",target:"_blank"},[r.createVNode(r.unref(Xc),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.video")),1)],8,gd)])):r.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:r.withCtx(()=>[r.createVNode(En)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),r.createElementVNode("div",{ref_key:"tooltipContainer",ref:n},null,512)],64))}},bd={class:"g-row g-gap-normal is-mb-5"},Td={for:"season",class:"label"},Sd=["value"],wd={key:0},Od=["onClick"],Ad={__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(t,{emit:e}){const n=t,o=e,{t:a}=lt(),i=r.computed({get(){return n.championshipId},set(l){o("onChangeSeason",l)}});function s(l){o("onChangeSection",l)}return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("div",bd,[r.createElementVNode("div",null,[r.createElementVNode("label",Td,r.toDisplayString(r.unref(a)("selection.season")),1),r.createVNode(co,{id:"season",modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=c=>i.value=c)},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.seasons,c=>(r.openBlock(),r.createElementBlock("option",{key:c.championshipId,value:c.championshipId},r.toDisplayString(c.seasonName),9,Sd))),128))]),_:1},8,["modelValue"])]),r.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",wd,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.sections,c=>(r.openBlock(),r.createElementBlock("button",{key:c.phaseId,class:r.normalizeClass(["tab-button",{"is-active":c.sectionId===t.sectionId}]),onClick:d=>s(c)},r.toDisplayString(c.sectionName),11,Od))),128))]))],64))}},vd={class:"is-portrait-image"},kd=["href"],Pd={class:"is-team-name-long"},_d={class:"is-team-name-short"},Ed={class:"is-team-name-long"},Nd={key:0},xd={class:"is-team-name-short"},$d={key:0},Dd={class:"is-team-name-long"},Md={class:"is-team-name-short"},Cd={class:"is-team-name-long"},Id={class:"is-team-name-short"},Ld=["href"],Bd={key:0,class:"is-text-dark"},Rd=["href","target"],zd={key:0,class:"label"},Vd={key:1,class:"label"},Gd={key:2,class:"label"},Fd={__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(t,{emit:e}){const n=t,o=e,{columns:a,hideColumns:i}=r.toRefs(n),{onError:s}=sn(),{t:l}=lt(),{columns:u,error:c}=an(a,i,r.computed(()=>({offsetName:n.offsetName})));c.value&&s(new Dn(ie.message,{...ie.options,cause:{column:c.value}}));const d=f=>o("sort",f);return(f,y)=>(r.openBlock(),r.createBlock(Nn,null,{default:r.withCtx(({el:h})=>[r.createVNode(_n,{columns:r.unref(u),sort:n.sort,rows:n.rows,"is-loading":t.isLoading,"append-to":t.appendTo||h,onSort:d},r.createSlots({"cell-index":r.withCtx(({row:m})=>[r.createElementVNode("span",{class:r.normalizeClass(m.indexClass)},r.toDisplayString(m.index),3)]),"cell-playerPortrait":r.withCtx(({row:m})=>[r.createElementVNode("div",vd,[(r.openBlock(),r.createBlock(Nt,{key:m.player.playerId,src:m.player.picture,"default-src":r.unref(Cn)},null,8,["src","default-src"]))])]),"cell-teamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(Nt,{key:m.team?.id??m.id,class:"is-logo-image",src:m.team?.logo},null,8,["src"]))]),"cell-homeTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(Nt,{key:m.homeTeam?.id,class:"is-logo-image is-right",src:m.homeTeam?.logo},null,8,["src"]))]),"cell-awayTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(Nt,{key:m.awayTeam?.id,class:"is-logo-image is-right",src:m.awayTeam?.logo},null,8,["src"]))]),"cell-teamName":r.withCtx(({row:m})=>[t.isTeamLinked?(r.openBlock(),r.createElementBlock("a",{key:0,href:t.externalTeamResolver(m),target:"_blank"},[r.createElementVNode("span",Pd,r.toDisplayString(m.team?.longName),1),r.createElementVNode("span",_d,r.toDisplayString(m.team?.shortName),1)],8,kd)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createElementVNode("span",Ed,[r.createTextVNode(r.toDisplayString(m.team?.longName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Nd,[...y[0]||(y[0]=[r.createElementVNode("sup",null,"*",-1)])])):r.createCommentVNode("",!0)]),r.createElementVNode("span",xd,[r.createTextVNode(r.toDisplayString(m.team?.shortName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",$d,[...y[1]||(y[1]=[r.createElementVNode("sup",null,"*",-1)])])):r.createCommentVNode("",!0)])],64))]),"cell-homeTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",Dd,r.toDisplayString(m.homeTeam?.longName),1),r.createElementVNode("span",Md,r.toDisplayString(m.homeTeam?.shortName),1)]),"cell-awayTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",Cd,r.toDisplayString(m.awayTeam?.longName),1),r.createElementVNode("span",Id,r.toDisplayString(m.awayTeam?.shortName),1)]),"cell-location":r.withCtx(({row:m})=>[r.createTextVNode(r.toDisplayString(m.location?.locationName??""),1)]),"cell-gameResult":r.withCtx(({row:m})=>[m.gameStatus===0?(r.openBlock(),r.createElementBlock("span",Bd,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(m),target:t.externalGameResolverTarget,class:r.normalizeClass({"is-text-dark":m.gameStatus!==1,"is-text-accent":m.gameStatus===1})},r.toDisplayString(m.homeTeamScore)+":"+r.toDisplayString(m.awayTeamScore),11,Rd))]),"cell-gameResultType":r.withCtx(({row:m})=>[m.isOvertime?(r.openBlock(),r.createElementBlock("span",zd,r.toDisplayString(r.unref(l)("common.overtimeShort")),1)):r.createCommentVNode("",!0),m.isShootout?(r.openBlock(),r.createElementBlock("span",Vd,r.toDisplayString(r.unref(l)("common.shootoutShort")),1)):r.createCommentVNode("",!0),m.seriesStandings?(r.openBlock(),r.createElementBlock("span",Gd,r.toDisplayString(m.seriesStandings),1)):r.createCommentVNode("",!0)]),loading:r.withCtx(()=>[r.createVNode(En)]),_:2},[t.isPlayerLinked?{name:"cell-name",fn:r.withCtx(({row:m})=>[r.createElementVNode("a",{href:t.externalPlayerResolver(m),target:"_blank"},r.toDisplayString(m.name),9,Ld)]),key:"0"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},jd={class:"timezone-selector"},Ud=["onClick"],Hd={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,{t:a}=lt(),i=r.computed(()=>ee(new Date,null,n.locale)),s=eo(),l=r.computed(()=>Array.from(Vn.values()).map(c=>({...c,isActive:ee(new Date,n.currentZone,n.locale)===ee(new Date,c.timezone,n.locale),zoneOffsetName:ee(new Date,c.timezone,n.locale)}))),u=c=>o("change",c);return(c,d)=>(r.openBlock(),r.createElementBlock("div",jd,[r.createVNode(r.unref(Er),{path:"common.selectTimezone",tag:"span"},{timezone:r.withCtx(()=>[r.createElementVNode("a",{href:"#",onClick:d[0]||(d[0]=r.withModifiers(f=>u(r.unref(s)),["prevent"]))},r.toDisplayString(i.value),1)]),_:1}),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(l.value,f=>(r.openBlock(),r.createElementBlock("a",{key:f.countryLabelKey,href:"#",class:r.normalizeClass({"is-active":f.isActive}),onClick:r.withModifiers(y=>u(f.timezone),["prevent"])},r.toDisplayString(r.unref(a)(`common.${f.countryLabelKey}`))+" ("+r.toDisplayString(f.zoneOffsetName)+") ",11,Ud))),128))]))}},Yd={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:""}},Wd={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},qd={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},Kd={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}};function Mo({app:t=null,modules:e=[],apiKey:n,gameResolver:o,teamResolver:a,playerResolver:i}){if(window.__MJSZ_VBR_WIDGET__={apiKey:n,gameResolver:o,teamResolver:a,playerResolver:i},e.length===0)throw new Error("At least one module must be set");e.forEach(s=>{if(t)return t.use(s);if(s.register)return s.register();s?.install()})}const Zd={install:(t,e={})=>Mo({app:t,...e})};return p.AVAILABLE_TIMEZONES_BY_COUNTRY=Vn,p.AdditionalStandingsText=Xs,p.BaseSelect=co,p.COLUMNS_FIELD_PLAYERS=zo,p.COLUMNS_FIELD_PLAYERS_PENALTY=Vo,p.COLUMNS_FIELD_PLAYERS_TOI=Go,p.COLUMNS_GOALIES=Fo,p.COLUMNS_PLAYERS_NATIONAL=jo,p.COLUMNS_SCHEDULE=Fn,p.COLUMNS_SCORING_EFFICIENCY=qo,p.COLUMNS_STANDINGS_P_2=Bo,p.COLUMNS_STANDINGS_P_3=Io,p.COLUMNS_STANDINGS_P_PER=Lo,p.COLUMNS_STANDINGS_SHORT=Ro,p.COLUMNS_TEAMS_FAIRPLAY=Ho,p.COLUMNS_TEAMS_PENALTY_KILLING=Yo,p.COLUMNS_TEAMS_POWERPLAY=Wo,p.COLUMNS_TEAM_ATTENDANCE=Uo,p.DEFAULT_EXTERNAL_GAME_URL=Mn,p.DEFAULT_EXTERNAL_PLAYER_URL=In,p.DEFAULT_EXTERNAL_STATISTIC_URL=Bn,p.DEFAULT_EXTERNAL_TEAM_URL=Ln,p.DEFAULT_PORTRAIT_IMAGE_URL=Cn,p.DataTable=_n,p.ErrorNotice=pc,p.ErrorProvider=hc,p.FLAG_BASE_URL=Rn,p.FetchMoreObserver=na,p.FloatingPanel=Pn,p.I18NProvider=wc,p.Image=Nt,p.InvalidSeasonName=Wu,p.LAZY_LOADING_STATE_DELAY=Gn,p.LOCALE_FOR_LANG=zn,p.LoadingIndicator=En,p.Paginator=zc,p.REFRESH_DELAY=Co,p.ResponsiveTable=Nn,p.SORT_STATE_ASCEND=C,p.SORT_STATE_DESCEND=b,p.SORT_STATE_ORIGINAL=ft,p.ScheduleTable=yd,p.SeasonSelector=Ad,p.StatisticsTable=Fd,p.TimezoneSelector=Hd,p.UndefinedColumn=ie,p.VBR_API_BASE_URL=Fe,p.WidgetError=Dn,p.addDays=Cs,p.appendTo=xo,p.baseProps=Yd,p.clone=Ca,p.convert=tu,p.convertAddress=Uu,p.convertGameEvents=xu,p.convertGameOfficials=Lu,p.convertGamePeriodResults=uu,p.convertMinToMinSec=ro,p.convertMinToSec=fn,p.convertPenaltyCauseName=ku,p.convertPeriodResults=Pu,p.convertPeriodResultsToArray=_u,p.convertPhaseName=hu,p.convertSeasons=yu,p.convertSecToMin=no,p.convertTeams=bu,p.convertTimes=su,p.convertTimesMinToMinSec=lu,p.convertTimesSecToMin=cu,p.createConfig=Mo,p.createI18n=Pr,p.currentWeek=$s,p.currentWeekStartEnd=Ds,p.default=Zd,p.endOfMonth=Ls,p.externalGameLinkResolver=Ku,p.externalPlayerLinkResolver=Xu,p.externalStatisticLinkResolver=Ju,p.externalTeamLinkResolver=Zu,p.fetchVBRData=Mr,p.filterAndSortSections=Tu,p.filterGoalScorersFromEvents=Du,p.flagResolver=Qu,p.format=kt,p.gameDateTime=nu,p.gameProps=Kd,p.gameResult=ru,p.getLocalTimezone=eo,p.getWebsocketURL=qu,p.groupLines=$u,p.head=tn,p.i18n=Er,p.isAfter=Ns,p.isBefore=Es,p.isBetween=oo,p.isEmpty=Kt,p.isNotEmpty=Qa,p.isSame=Ps,p.isSameOrBefore=mn,p.isToday=xs,p.joinOfficals=Nu,p.last=dr,p.localeSort=$n,p.max=Rs,p.mergeLeft=br,p.mergePlayerStats=Fu,p.min=Bs,p.offsetName=ee,p.omit=en,p.path=bt,p.pick=nn,p.pickCoaches=Mu,p.pipe=It,p.playerName=Gt,p.playerStatsProps=qd,p.prop=F,p.propEq=Zt,p.rawConvert=eu,p.reject=mt,p.removeCurrentFromSeasonStats=Ru,p.removeUnneededPhases=Vu,p.resolveApiKey=td,p.reverse=Wt,p.scheduleOptionalRowClass=iu,p.scrollToTop=ed,p.selectFirstPhaseName=wu,p.selectFirstSectionId=Su,p.selectLastSections=vu,p.sortBy=Tt,p.sortByDomNode=Ql,p.sortByEventTimeSec=Iu,p.sortByPhaseId=Ou,p.sortByStartingFive=Eu,p.sortGames=du,p.standingTableSort=Bu,p.startOfMonth=Is,p.subtractDays=Ms,p.sum=ei,p.teamName=xn,p.teamOpponent=ou,p.teamResultType=au,p.teamStatsProps=Wd,p.templateReplacer=ht,p.toKebabCase=xr,p.transformCurrentSeasonStats=zu,p.transformEventsForGameTimeline=Cu,p.transformFieledPlayersStats=ju,p.transformPlayers=Au,p.transformRosters=Gu,p.upperCase=$o,p.useAdditionalText=vr,p.useColumns=an,p.useError=sn,p.useErrorProvider=Dr,p.useGameDataSocket=Ci,p.useI18n=lt,p.useLazyLoadingState=Gr,p.usePage=zs,p.useScrollToGameDate=Gs,p.useServices=Fs,p.useSort=qs,p.useVisibilityChange=Ks,p.validateColumnsName=Nr,p.yearToNow=_s,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),p}({},Vue);
22
+ ***************************************************************************** */function pn(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var o,a,i=n.call(t),s=[];try{for(;(e===void 0||e-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s}var io;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(io||(io={}));var nl={type:"xstate.init"};function De(t){return t===void 0?[]:[].concat(t)}function so(t,e){return typeof(t=typeof t=="string"&&e&&e[t]?e[t]:t)=="string"?{type:t}:typeof t=="function"?{type:t.name,exec:t}:t}function hn(t){return function(e){return t===e}}function rl(t){return typeof t=="string"?{type:t}:t}function lo(t,e){return{value:t,context:e,actions:[],changed:!1,matches:hn(t)}}function co(t,e,n){var o=e,a=!1;return[t.filter(function(i){if(i.type==="xstate.assign"){a=!0;var s=Object.assign({},o);return typeof i.assignment=="function"?s=i.assignment(o,n):Object.keys(i.assignment).forEach(function(l){s[l]=typeof i.assignment[l]=="function"?i.assignment[l](o,n):i.assignment[l]}),o=s,!1}return!0}),o,a]}function ol(t,e){e===void 0&&(e={});var n=pn(co(De(t.states[t.initial].entry).map(function(s){return so(s,e.actions)}),t.context,nl),2),o=n[0],a=n[1],i={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:hn(t.initial)},transition:function(s,l){var u,c,d=typeof s=="string"?{value:s,context:t.context}:s,f=d.value,y=d.context,h=rl(l),m=t.states[f];if(m.on){var S=De(m.on[h.type]);"*"in m.on&&S.push.apply(S,function(v,A,x){if(arguments.length===2)for(var $,z=0,W=A.length;z<W;z++)!$&&z in A||($||($=Array.prototype.slice.call(A,0,z)),$[z]=A[z]);return v.concat($||Array.prototype.slice.call(A))}([],pn(De(m.on["*"])),!1));try{for(var g=function(v){var A=typeof Symbol=="function"&&Symbol.iterator,x=A&&v[A],$=0;if(x)return x.call(v);if(v&&typeof v.length=="number")return{next:function(){return v&&$>=v.length&&(v=void 0),{value:v&&v[$++],done:!v}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}(S),T=g.next();!T.done;T=g.next()){var w=T.value;if(w===void 0)return lo(f,y);var k=typeof w=="string"?{target:w}:w,E=k.target,N=k.actions,L=N===void 0?[]:N,B=k.cond,F=B===void 0?function(){return!0}:B,U=E===void 0,D=E??f,M=t.states[D];if(F(y,h)){var R=pn(co((U?De(L):[].concat(m.exit,L,M.entry).filter(function(v){return v})).map(function(v){return so(v,i._options.actions)}),y,h),3),Y=R[0],P=R[1],_=R[2],O=E??f;return{value:O,context:P,actions:Y,changed:E!==f||Y.length>0||_,matches:hn(O)}}}}catch(v){u={error:v}}finally{try{T&&!T.done&&(c=g.return)&&c.call(g)}finally{if(u)throw u.error}}}return lo(f,y)}};return i}const al=ol({id:"sort",initial:ft,states:{[ft]:{on:{DIRECTION1:b,DIRECTION2:C}},[b]:{on:{DIRECTION1:C,DIRECTION2:ft}},[C]:{on:{DIRECTION1:ft,DIRECTION2:b}}}});function il(t,e){const n=e===C?"DIRECTION2":"DIRECTION1";return al.transition(t,n).value}function sl(t={}){const{sortTarget:e=null,orders:n=[]}=t,o=r.reactive({sortTarget:e,orders:n});return{sort:o,change:({target:i,orders:s})=>{if(o.sortTarget!==i){o.sortTarget=i,o.orders=s;return}const l=s.map((u,c)=>({...u,direction:il(o.orders[c].direction,u.direction)}));o.sortTarget=i,o.orders=l}}}function ll(t=!1,e=tt,n=tt){const o=Fi();r.watch(o,a=>{if(r.unref(t)){if(a==="visible")return e();n()}})}const cl=["textContent"],ul={__name:"AdditionalStandingsText",props:{rows:{type:Array,default:()=>[]},additionalKey:{type:String,required:!0}},setup(t){const e=t,n=r.toRef(e,"rows"),{t:o,locale:a}=lt(),{isVisible:i,text:s}=vr(n,e.additionalKey,o,a);return(l,u)=>r.unref(i)?(r.openBlock(),r.createElementBlock("div",{key:0,textContent:r.toDisplayString(r.unref(s))},null,8,cl)):r.createCommentVNode("",!0)}},uo={__name:"BaseSelect",props:{modelValue:{type:[String,Number],default:null}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=e,a=r.computed({get:()=>n.modelValue,set:i=>o("update:modelValue",i)});return(i,s)=>r.withDirectives((r.openBlock(),r.createElementBlock("select",{"onUpdate:modelValue":s[0]||(s[0]=l=>a.value=l),class:"base-input is-select"},[r.renderSlot(i.$slots,"default")],512)),[[r.vModelSelect,a.value]])}},dl={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 fo(t,e){return r.openBlock(),r.createElementBlock("svg",dl,[...e[0]||(e[0]=[r.createElementVNode("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"},null,-1),r.createElementVNode("line",{x1:"8",y1:"21",x2:"16",y2:"21"},null,-1),r.createElementVNode("line",{x1:"12",y1:"17",x2:"12",y2:"21"},null,-1)])])}const fl={render:fo},ml=Object.freeze(Object.defineProperty({__proto__:null,default:fl,render:fo},Symbol.toStringTag,{value:"Module"})),pl={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 mo(t,e){return r.openBlock(),r.createElementBlock("svg",pl,[...e[0]||(e[0]=[r.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1)])])}const hl={render:mo},gl=Object.freeze(Object.defineProperty({__proto__:null,default:hl,render:mo},Symbol.toStringTag,{value:"Module"})),yl={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 po(t,e){return r.openBlock(),r.createElementBlock("svg",yl,[...e[0]||(e[0]=[r.createElementVNode("circle",{cx:"12",cy:"12",r:"1"},null,-1),r.createElementVNode("circle",{cx:"12",cy:"5",r:"1"},null,-1),r.createElementVNode("circle",{cx:"12",cy:"19",r:"1"},null,-1)])])}const bl={render:po},Sl=Object.freeze(Object.defineProperty({__proto__:null,default:bl,render:po},Symbol.toStringTag,{value:"Module"})),Tl={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 ho(t,e){return r.openBlock(),r.createElementBlock("svg",Tl,[...e[0]||(e[0]=[r.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1)])])}const wl={render:ho},Ol=Object.freeze(Object.defineProperty({__proto__:null,default:wl,render:ho},Symbol.toStringTag,{value:"Module"})),Al={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 go(t,e){return r.openBlock(),r.createElementBlock("svg",Al,[...e[0]||(e[0]=[r.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),r.createElementVNode("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"},null,-1)])])}const vl={render:go},_l=Object.freeze(Object.defineProperty({__proto__:null,default:vl,render:go},Symbol.toStringTag,{value:"Module"})),kl={"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 yo(t,e){return r.openBlock(),r.createElementBlock("svg",kl,[...e[0]||(e[0]=[r.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)])])}const Pl={render:yo},bo=Object.freeze(Object.defineProperty({__proto__:null,default:Pl,render:yo},Symbol.toStringTag,{value:"Module"})),El={"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 So(t,e){return r.openBlock(),r.createElementBlock("svg",El,[...e[0]||(e[0]=[r.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)])])}const Nl={render:So},xl=Object.freeze(Object.defineProperty({__proto__:null,default:Nl,render:So},Symbol.toStringTag,{value:"Module"})),$l={"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 To(t,e){return r.openBlock(),r.createElementBlock("svg",$l,[...e[0]||(e[0]=[r.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)])])}const Ml={render:To},Dl=Object.freeze(Object.defineProperty({__proto__:null,default:Ml,render:To},Symbol.toStringTag,{value:"Module"})),Cl={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(t,e){return r.openBlock(),r.createElementBlock("svg",Cl,[...e[0]||(e[0]=[r.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),r.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),r.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1)])])}const Ll={render:wo},Il=Object.freeze(Object.defineProperty({__proto__:null,default:Ll,render:wo},Symbol.toStringTag,{value:"Module"})),Bl={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 Oo(t,e){return r.openBlock(),r.createElementBlock("svg",Bl,[...e[0]||(e[0]=[r.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),r.createElementVNode("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"},null,-1)])])}const Rl={render:Oo},zl=Object.freeze(Object.defineProperty({__proto__:null,default:Rl,render:Oo},Symbol.toStringTag,{value:"Module"}));let Vl=0;function Gl(){return++Vl}function jl(t=[]){return{result:[...t],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.isFiltered?this.filteredRowsLength:t.length,currentItems:this.currentItems}},filter(e,n=[],o=!1){if(e){const a=n.map(l=>o?It(bt(l),Ct(e)):It(j(l),Ar,si(Ar(e)))),i=lr(l=>l.name?Tr(hr("name"),Se(",",""),l):l),s=Lt(It(i,Ra([...a])),this.result);this.isFiltered=!0,this.filteredRowsLength=s.length,this.result=s}return this},sorted(e){if(!e.sortTarget)return this;if(e.orders[0].direction===ft)return this;const n=ii(Ct(C),ir(Yt),ir(vt));return this.result=Te(e.orders.map(o=>q(n(o.direction),j)(o.target)))(this.result),this},addIndex(e=null){return this.result.reduce((n,o,a)=>{const i=n[n.length-1]||[],s=e&&i[e]===o[e];return o.index=s?i.index:a+1,o.indexClass=s?"is-duplicated":null,n.push(o),n},[]),this},addContinuousIndex(){return this.result=this.result.map((e,n)=>({...e,index:n+1})),this},pagination(e,n){if(!n)return this;e=Number(e),n=Number(n);const o=(e-1)*n,a=o+n;return this.result=this.result.slice(o,a),this},more(e,n){return this.result=this.result.slice(Number(e),Number(n)),this},playerName(){return this.result=this.result.map(e=>({...e,name:oc(e)})),this},teamName(){return this.result=this.result.map(e=>({...e,teamName:e.team.longName})),this},schedule(e="",n="hu"){return this.result=this.result.map(o=>({...o,gameResult:`${o.homeTeamScore}-${o.awayTeamScore}`,gameDateDate:kt(o.gameDate,"L dddd",e,n),gameDateTime:kt(o.gameDate,"HH:mm",e,n)})),this},gameDateFilter(e){return e===null?this:(this.result=this.result.filter(n=>new Date(n.gameDate).getMonth()===e),this)},convertTimes(e=[]){return this.result=this.result.map(n=>(e.map(o=>n[o]?n[`${o}Sec`]=fn(n[o]):n),n)),this},groupByDays(){return this.currentItems=this.result.length,this.result=qt(e=>kt(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].reverse()),this}}}const Fl=(t,...e)=>K(q(...e))(t);function Bt(t){return{...t,...t.lastName&&t.firstName&&{name:`${t.lastName} ${t.firstName}`},...t.player?.playerId&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.id&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.nationality&&{name:t.player?.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`},...t.nationality&&{name:t.nationality.includes("hu")?`${t.lastName} ${t.firstName}`:`${t.lastName}, ${t.firstName}`}}}function gn(t){return{...t,...t?.team?.id&&{teamName:t.team.longName}}}function Ul(t="",e="hu"){return n=>({...n,gameDateDate:kt(n.gameDate,"L dddd",t,e),gameDateTime:kt(n.gameDate,"HH:mm",t,e)})}function Hl(t){return e=>({...e,gameResult:ec(e)})}function Yl(t){return{...t,opponent:tc(t)}}function Wl(t){return{...t,resultType:nc(t)}}function ql(t){return{...t,rowClasses:t.optional?"is-optional":""}}function Ao(t=[]){return e=>({...e,[t]:e[t]?.toUpperCase()})}function Kl(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Sec`]=fn(e[n]):e),e)}function Zl(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Min`]=oo(e[n]):e),e)}function Jl(t=[]){return e=>(t.map(n=>e[`${n}Min`]=ro(e[n])),e)}function Xl(t){return{...t,periodResults:t.result?.match(/\(.*?\)/)?.[0]??""}}const Ql=Te([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Yt(j("id")),Yt(j("gameId"))]),yn=rn((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function tc(t){return[t.isHomeGame?null:"@",t.opponent?.shortName].join(" ")}function ec(t){let e=t?.homeTeamScore,n=t?.awayTeamScore;return t.isHomeGame||(e=t?.awayTeamScore,n=t?.homeTeamScore),[e,n].join(":")}function nc(t){const e=t.gameResult.split(":"),n=e[0]>e[1],o=e[0]<e[1];return n&&t.isOvertime?"OTW":n&&t.isShootout?"SOW":n?"W":o&&t.isOvertime?"OTL":o&&t.isShootout?"SOL":o?"L":"D"}function rc(t){return t.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 oc(t){return t.player?t.player.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`:`${t.lastName} ${t.firstName}`}const ac=q(rn(vt(j("seasonName"))),K(nn(["championshipId","seasonName"]))),ic=t=>rn(Yt(j("teamName")),t),sc=q(St(j("sectionId")),mt(q(Kt,j("phases")))),lc=q(j("sectionId"),tn),cc=q(j("phaseName"),tn),uc=St(j("phaseId")),dc=q(St(j("name")),K(q(Bt,gn))),fc=q(j("phaseName"),dr),mc=q(bi,Se("_","-")),pc=q(mt(yi(/-:-/)),pt(",")),hc=q(K(pt(":")),K(Xt),pt(","),Se(/^\(|\)$/g,"")),gc=Te([vt(j("startingFive"))]),yc=q(mr(", "),K(t=>`${t.lastName} ${t.firstName}`),mt(t=>!t)),bc=q(qt(j("eventPeriod")),Wt,mt(Zt("Period","type"))),Sc=qt(j("row")),Tc=(t,e)=>Lt(Ba([wr(e,["team","id"]),Zt("Gól","type")]),Wt(t)),wc=q(K(Bt),nn(["headCoach","secondCoach"])),Oc=q(Wt,K(t=>({...t,eventId:t.eventId?t.eventId:Gl()}))),Ac=t=>St(j("eventTimeSec"),Object.values(t));function vc(t,e){const n=a=>{const i=["first_referee","second_referee","first_line_judge","second_line_judge"].indexOf(a.role);return i>-1?i:4},o=a=>({...Bt(a),role:e(`role.${a.role}`)});return qt(j("type"),K(o,St(n,Object.values(t))))}const _c=Te([vt(j("points")),Yt(j("gamesPlayed")),vt(j("w")),vt(j("gd")),vt(j("gf"))]),kc=(t,e)=>mt(Zt(t,"championshipId"),e),Pc=(t,e)=>Lt(Zt(t,"championshipId"),e),Ec=q(mt(t=>["Rájátszás","Újrajátszandó"].includes(t.phaseName)),bt([0,"phases"])),Nc=q(qt(Dc),St(t=>["ld","rd","d"].includes(t.position?.toLowerCase())?1:["lw","rw","c"].includes(t.position?.toLowerCase())?2:0),St(Cc),K(q(Bt,gn,Ao(["position"]))));function xc({goalieStats:t,fieldPlayers:e,playersPenalty:n}){const o=K(bt(["player","playerId"]))(t),i=mt(c=>o.includes(c.player.playerId),n),s=li((c,d)=>c.player.playerId===d,n,o),l=vo(e,i),u=vo(t,s);return{fieldPlayers:yn(l),goalies:yn(u)}}const $c=lr((t,e)=>It(Lt(wr(e,["team","id"])),K(Bt))(t));function Mc(t){const e=t.city?Tr(hr("city"),Se(/$/,",")):()=>({});return q(mr(" "),sr,e,en(["type"]))(t)}function Dc(t){return["ld","rd"].includes(t.position?.toLowerCase())?"defenders":["lw","rw","c"].includes(t.position?.toLowerCase())?"forwards":"goalies"}function Cc(t){return Number(t.jerseyNr)}function vo(t,e){return sr(hi(br,fr(bt(["player","playerId"]),t),fr(bt(["player","playerId"]),e)))}function _o(t,e="body"){if(!t)return;if(typeof e!="string"){e?.append(t);return}document.querySelector(e)?.append(t)}function Lc(t,e=()=>({})){return t.slice().sort((n,o)=>{const a=e(n),i=e(o);if(a===null||i===null)return 0;const s=a.compareDocumentPosition(i);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}class bn extends Error{constructor(e,n={}){const{key:o,cause:a}=n;super(e),this.name="WidgetError",this.key=o,this.cause=a}}const ne={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},Ic={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}};function Bc(t){return`${je.replace(/^https?/,"wss").replace("/vbr","/socket/vbr")}${t}`}const re=(t="")=>window?.__MJSZ_VBR_WIDGET__?.[t];function Rc(t,e={}){if(e.externalGameUrl)return e.externalGameUrl;const n=re("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(ht(n||Dn,e))}function zc(t,e={}){const n=re("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(ht(n||In,e))}function Vc(t,e={}){const n=re("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(ht(n||Ln,e))}function Gc(t,e={}){return typeof t=="function"?t(e):encodeURI(ht(t||Bn,e))}const jc=(t,e="1x1")=>`${Rn}/flag:${t}-${e}.svg`;function Fc(t){return t||(re("apiKey")?re("apiKey"):"")}function Uc(){window.scrollTo(0,0)}const Rt=Math.min,Pt=Math.max,Ce=Math.round,Le=Math.floor,ct=t=>({x:t,y:t}),Hc={left:"right",right:"left",bottom:"top",top:"bottom"},Yc={start:"end",end:"start"};function Sn(t,e,n){return Pt(t,Rt(e,n))}function oe(t,e){return typeof t=="function"?t(e):t}function Et(t){return t.split("-")[0]}function ae(t){return t.split("-")[1]}function ko(t){return t==="x"?"y":"x"}function Tn(t){return t==="y"?"height":"width"}const Wc=new Set(["top","bottom"]);function Tt(t){return Wc.has(Et(t))?"y":"x"}function wn(t){return ko(Tt(t))}function qc(t,e,n){n===void 0&&(n=!1);const o=ae(t),a=wn(t),i=Tn(a);let s=a==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Ie(s)),[s,Ie(s)]}function Kc(t){const e=Ie(t);return[On(t),e,On(e)]}function On(t){return t.replace(/start|end/g,e=>Yc[e])}const Po=["left","right"],Eo=["right","left"],Zc=["top","bottom"],Jc=["bottom","top"];function Xc(t,e,n){switch(t){case"top":case"bottom":return n?e?Eo:Po:e?Po:Eo;case"left":case"right":return e?Zc:Jc;default:return[]}}function Qc(t,e,n,o){const a=ae(t);let i=Xc(Et(t),n==="start",o);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(On)))),i}function Ie(t){return t.replace(/left|right|bottom|top/g,e=>Hc[e])}function tu(t){return{top:0,right:0,bottom:0,left:0,...t}}function No(t){return typeof t!="number"?tu(t):{top:t,right:t,bottom:t,left:t}}function Be(t){const{x:e,y:n,width:o,height:a}=t;return{width:o,height:a,top:n,left:e,right:e+o,bottom:n+a,x:e,y:n}}function xo(t,e,n){let{reference:o,floating:a}=t;const i=Tt(e),s=wn(e),l=Tn(s),u=Et(e),c=i==="y",d=o.x+o.width/2-a.width/2,f=o.y+o.height/2-a.height/2,y=o[l]/2-a[l]/2;let h;switch(u){case"top":h={x:d,y:o.y-a.height};break;case"bottom":h={x:d,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-a.width,y:f};break;default:h={x:o.x,y:o.y}}switch(ae(e)){case"start":h[s]-=y*(n&&c?-1:1);break;case"end":h[s]+=y*(n&&c?-1:1);break}return h}const eu=async(t,e,n)=>{const{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:d,y:f}=xo(c,o,u),y=o,h={},m=0;for(let S=0;S<l.length;S++){const{name:g,fn:T}=l[S],{x:w,y:k,data:E,reset:N}=await T({x:d,y:f,initialPlacement:o,placement:y,strategy:a,middlewareData:h,rects:c,platform:s,elements:{reference:t,floating:e}});d=w??d,f=k??f,h={...h,[g]:{...h[g],...E}},N&&m<=50&&(m++,typeof N=="object"&&(N.placement&&(y=N.placement),N.rects&&(c=N.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):N.rects),{x:d,y:f}=xo(c,y,u)),S=-1)}return{x:d,y:f,placement:y,strategy:a,middlewareData:h}};async function $o(t,e){var n;e===void 0&&(e={});const{x:o,y:a,platform:i,rects:s,elements:l,strategy:u}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:y=!1,padding:h=0}=oe(e,t),m=No(h),g=l[y?f==="floating"?"reference":"floating":f],T=Be(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),w=f==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),E=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},N=Be(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:k,strategy:u}):w);return{top:(T.top-N.top+m.top)/E.y,bottom:(N.bottom-T.bottom+m.bottom)/E.y,left:(T.left-N.left+m.left)/E.x,right:(N.right-T.right+m.right)/E.x}}const nu=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:a,rects:i,platform:s,elements:l,middlewareData:u}=e,{element:c,padding:d=0}=oe(t,e)||{};if(c==null)return{};const f=No(d),y={x:n,y:o},h=wn(a),m=Tn(h),S=await s.getDimensions(c),g=h==="y",T=g?"top":"left",w=g?"bottom":"right",k=g?"clientHeight":"clientWidth",E=i.reference[m]+i.reference[h]-y[h]-i.floating[m],N=y[h]-i.reference[h],L=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let B=L?L[k]:0;(!B||!await(s.isElement==null?void 0:s.isElement(L)))&&(B=l.floating[k]||i.floating[m]);const F=E/2-N/2,U=B/2-S[m]/2-1,D=Rt(f[T],U),M=Rt(f[w],U),R=D,Y=B-S[m]-M,P=B/2-S[m]/2+F,_=Sn(R,P,Y),O=!u.arrow&&ae(a)!=null&&P!==_&&i.reference[m]/2-(P<R?D:M)-S[m]/2<0,v=O?P<R?P-R:P-Y:0;return{[h]:y[h]+v,data:{[h]:_,centerOffset:P-_-v,...O&&{alignmentOffset:v}},reset:O}}}),ru=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:a,middlewareData:i,rects:s,initialPlacement:l,platform:u,elements:c}=e,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:y,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:S=!0,...g}=oe(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const T=Et(a),w=Tt(l),k=Et(l)===l,E=await(u.isRTL==null?void 0:u.isRTL(c.floating)),N=y||(k||!S?[Ie(l)]:Kc(l)),L=m!=="none";!y&&L&&N.push(...Qc(l,S,m,E));const B=[l,...N],F=await $o(e,g),U=[];let D=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&U.push(F[T]),f){const P=qc(a,s,E);U.push(F[P[0]],F[P[1]])}if(D=[...D,{placement:a,overflows:U}],!U.every(P=>P<=0)){var M,R;const P=(((M=i.flip)==null?void 0:M.index)||0)+1,_=B[P];if(_&&(!(f==="alignment"?w!==Tt(_):!1)||D.every(A=>A.overflows[0]>0&&Tt(A.placement)===w)))return{data:{index:P,overflows:D},reset:{placement:_}};let O=(R=D.filter(v=>v.overflows[0]<=0).sort((v,A)=>v.overflows[1]-A.overflows[1])[0])==null?void 0:R.placement;if(!O)switch(h){case"bestFit":{var Y;const v=(Y=D.filter(A=>{if(L){const x=Tt(A.placement);return x===w||x==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(x=>x>0).reduce((x,$)=>x+$,0)]).sort((A,x)=>A[1]-x[1])[0])==null?void 0:Y[0];v&&(O=v);break}case"initialPlacement":O=l;break}if(a!==O)return{reset:{placement:O}}}return{}}}},ou=new Set(["left","top"]);async function au(t,e){const{placement:n,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=Et(n),l=ae(n),u=Tt(n)==="y",c=ou.has(s)?-1:1,d=i&&u?-1:1,f=oe(e,t);let{mainAxis:y,crossAxis:h,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof m=="number"&&(h=l==="end"?m*-1:m),u?{x:h*d,y:y*c}:{x:y*c,y:h*d}}const iu=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:a,y:i,placement:s,middlewareData:l}=e,u=await au(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:a+u.x,y:i+u.y,data:{...u,placement:s}}}}},su=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:g=>{let{x:T,y:w}=g;return{x:T,y:w}}},...u}=oe(t,e),c={x:n,y:o},d=await $o(e,u),f=Tt(Et(a)),y=ko(f);let h=c[y],m=c[f];if(i){const g=y==="y"?"top":"left",T=y==="y"?"bottom":"right",w=h+d[g],k=h-d[T];h=Sn(w,h,k)}if(s){const g=f==="y"?"top":"left",T=f==="y"?"bottom":"right",w=m+d[g],k=m-d[T];m=Sn(w,m,k)}const S=l.fn({...e,[y]:h,[f]:m});return{...S,data:{x:S.x-n,y:S.y-o,enabled:{[y]:i,[f]:s}}}}}};function Re(){return typeof window<"u"}function zt(t){return Mo(t)?(t.nodeName||"").toLowerCase():"#document"}function nt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ut(t){var e;return(e=(Mo(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Mo(t){return Re()?t instanceof Node||t instanceof nt(t).Node:!1}function it(t){return Re()?t instanceof Element||t instanceof nt(t).Element:!1}function dt(t){return Re()?t instanceof HTMLElement||t instanceof nt(t).HTMLElement:!1}function Do(t){return!Re()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof nt(t).ShadowRoot}const lu=new Set(["inline","contents"]);function ie(t){const{overflow:e,overflowX:n,overflowY:o,display:a}=st(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!lu.has(a)}const cu=new Set(["table","td","th"]);function uu(t){return cu.has(zt(t))}const du=[":popover-open",":modal"];function ze(t){return du.some(e=>{try{return t.matches(e)}catch{return!1}})}const fu=["transform","translate","scale","rotate","perspective"],mu=["transform","translate","scale","rotate","perspective","filter"],pu=["paint","layout","strict","content"];function An(t){const e=vn(),n=it(t)?st(t):t;return fu.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||mu.some(o=>(n.willChange||"").includes(o))||pu.some(o=>(n.contain||"").includes(o))}function hu(t){let e=wt(t);for(;dt(e)&&!Vt(e);){if(An(e))return e;if(ze(e))return null;e=wt(e)}return null}function vn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const gu=new Set(["html","body","#document"]);function Vt(t){return gu.has(zt(t))}function st(t){return nt(t).getComputedStyle(t)}function Ve(t){return it(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function wt(t){if(zt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Do(t)&&t.host||ut(t);return Do(e)?e.host:e}function Co(t){const e=wt(t);return Vt(e)?t.ownerDocument?t.ownerDocument.body:t.body:dt(e)&&ie(e)?e:Co(e)}function se(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=Co(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=nt(a);if(i){const l=_n(s);return e.concat(s,s.visualViewport||[],ie(a)?a:[],l&&n?se(l):[])}return e.concat(a,se(a,[],n))}function _n(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Lo(t){const e=st(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const a=dt(t),i=a?t.offsetWidth:n,s=a?t.offsetHeight:o,l=Ce(n)!==i||Ce(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function kn(t){return it(t)?t:t.contextElement}function Gt(t){const e=kn(t);if(!dt(e))return ct(1);const n=e.getBoundingClientRect(),{width:o,height:a,$:i}=Lo(e);let s=(i?Ce(n.width):n.width)/o,l=(i?Ce(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const yu=ct(0);function Io(t){const e=nt(t);return!vn()||!e.visualViewport?yu:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function bu(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==nt(t)?!1:e}function Nt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),i=kn(t);let s=ct(1);e&&(o?it(o)&&(s=Gt(o)):s=Gt(t));const l=bu(i,n,o)?Io(i):ct(0);let u=(a.left+l.x)/s.x,c=(a.top+l.y)/s.y,d=a.width/s.x,f=a.height/s.y;if(i){const y=nt(i),h=o&&it(o)?nt(o):o;let m=y,S=_n(m);for(;S&&o&&h!==m;){const g=Gt(S),T=S.getBoundingClientRect(),w=st(S),k=T.left+(S.clientLeft+parseFloat(w.paddingLeft))*g.x,E=T.top+(S.clientTop+parseFloat(w.paddingTop))*g.y;u*=g.x,c*=g.y,d*=g.x,f*=g.y,u+=k,c+=E,m=nt(S),S=_n(m)}}return Be({width:d,height:f,x:u,y:c})}function Pn(t,e){const n=Ve(t).scrollLeft;return e?e.left+n:Nt(ut(t)).left+n}function Bo(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),a=o.left+e.scrollLeft-(n?0:Pn(t,o)),i=o.top+e.scrollTop;return{x:a,y:i}}function Su(t){let{elements:e,rect:n,offsetParent:o,strategy:a}=t;const i=a==="fixed",s=ut(o),l=e?ze(e.floating):!1;if(o===s||l&&i)return n;let u={scrollLeft:0,scrollTop:0},c=ct(1);const d=ct(0),f=dt(o);if((f||!f&&!i)&&((zt(o)!=="body"||ie(s))&&(u=Ve(o)),dt(o))){const h=Nt(o);c=Gt(o),d.x=h.x+o.clientLeft,d.y=h.y+o.clientTop}const y=s&&!f&&!i?Bo(s,u,!0):ct(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+y.x,y:n.y*c.y-u.scrollTop*c.y+d.y+y.y}}function Tu(t){return Array.from(t.getClientRects())}function wu(t){const e=ut(t),n=Ve(t),o=t.ownerDocument.body,a=Pt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=Pt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Pn(t);const l=-n.scrollTop;return st(o).direction==="rtl"&&(s+=Pt(e.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:l}}function Ou(t,e){const n=nt(t),o=ut(t),a=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,l=0,u=0;if(a){i=a.width,s=a.height;const c=vn();(!c||c&&e==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:i,height:s,x:l,y:u}}const Au=new Set(["absolute","fixed"]);function vu(t,e){const n=Nt(t,!0,e==="fixed"),o=n.top+t.clientTop,a=n.left+t.clientLeft,i=dt(t)?Gt(t):ct(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,u=a*i.x,c=o*i.y;return{width:s,height:l,x:u,y:c}}function Ro(t,e,n){let o;if(e==="viewport")o=Ou(t,n);else if(e==="document")o=wu(ut(t));else if(it(e))o=vu(e,n);else{const a=Io(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return Be(o)}function zo(t,e){const n=wt(t);return n===e||!it(n)||Vt(n)?!1:st(n).position==="fixed"||zo(n,e)}function _u(t,e){const n=e.get(t);if(n)return n;let o=se(t,[],!1).filter(l=>it(l)&&zt(l)!=="body"),a=null;const i=st(t).position==="fixed";let s=i?wt(t):t;for(;it(s)&&!Vt(s);){const l=st(s),u=An(s);!u&&l.position==="fixed"&&(a=null),(i?!u&&!a:!u&&l.position==="static"&&!!a&&Au.has(a.position)||ie(s)&&!u&&zo(t,s))?o=o.filter(d=>d!==s):a=l,s=wt(s)}return e.set(t,o),o}function ku(t){let{element:e,boundary:n,rootBoundary:o,strategy:a}=t;const s=[...n==="clippingAncestors"?ze(e)?[]:_u(e,this._c):[].concat(n),o],l=s[0],u=s.reduce((c,d)=>{const f=Ro(e,d,a);return c.top=Pt(f.top,c.top),c.right=Rt(f.right,c.right),c.bottom=Rt(f.bottom,c.bottom),c.left=Pt(f.left,c.left),c},Ro(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Pu(t){const{width:e,height:n}=Lo(t);return{width:e,height:n}}function Eu(t,e,n){const o=dt(e),a=ut(e),i=n==="fixed",s=Nt(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const u=ct(0);function c(){u.x=Pn(a)}if(o||!o&&!i)if((zt(e)!=="body"||ie(a))&&(l=Ve(e)),o){const h=Nt(e,!0,i,e);u.x=h.x+e.clientLeft,u.y=h.y+e.clientTop}else a&&c();i&&!o&&a&&c();const d=a&&!o&&!i?Bo(a,l):ct(0),f=s.left+l.scrollLeft-u.x-d.x,y=s.top+l.scrollTop-u.y-d.y;return{x:f,y,width:s.width,height:s.height}}function En(t){return st(t).position==="static"}function Vo(t,e){if(!dt(t)||st(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return ut(t)===n&&(n=n.ownerDocument.body),n}function Go(t,e){const n=nt(t);if(ze(t))return n;if(!dt(t)){let a=wt(t);for(;a&&!Vt(a);){if(it(a)&&!En(a))return a;a=wt(a)}return n}let o=Vo(t,e);for(;o&&uu(o)&&En(o);)o=Vo(o,e);return o&&Vt(o)&&En(o)&&!An(o)?n:o||hu(t)||n}const Nu=async function(t){const e=this.getOffsetParent||Go,n=this.getDimensions,o=await n(t.floating);return{reference:Eu(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function xu(t){return st(t).direction==="rtl"}const $u={convertOffsetParentRelativeRectToViewportRelativeRect:Su,getDocumentElement:ut,getClippingRect:ku,getOffsetParent:Go,getElementRects:Nu,getClientRects:Tu,getDimensions:Pu,getScale:Gt,isElement:it,isRTL:xu};function jo(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Mu(t,e){let n=null,o;const a=ut(t);function i(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),i();const c=t.getBoundingClientRect(),{left:d,top:f,width:y,height:h}=c;if(l||e(),!y||!h)return;const m=Le(f),S=Le(a.clientWidth-(d+y)),g=Le(a.clientHeight-(f+h)),T=Le(d),k={rootMargin:-m+"px "+-S+"px "+-g+"px "+-T+"px",threshold:Pt(0,Rt(1,u))||1};let E=!0;function N(L){const B=L[0].intersectionRatio;if(B!==u){if(!E)return s();B?s(!1,B):o=setTimeout(()=>{s(!1,1e-7)},1e3)}B===1&&!jo(c,t.getBoundingClientRect())&&s(),E=!1}try{n=new IntersectionObserver(N,{...k,root:a.ownerDocument})}catch{n=new IntersectionObserver(N,k)}n.observe(t)}return s(!0),i}function Du(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,c=kn(t),d=a||i?[...c?se(c):[],...se(e)]:[];d.forEach(T=>{a&&T.addEventListener("scroll",n,{passive:!0}),i&&T.addEventListener("resize",n)});const f=c&&l?Mu(c,n):null;let y=-1,h=null;s&&(h=new ResizeObserver(T=>{let[w]=T;w&&w.target===c&&h&&(h.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var k;(k=h)==null||k.observe(e)})),n()}),c&&!u&&h.observe(c),h.observe(e));let m,S=u?Nt(t):null;u&&g();function g(){const T=Nt(t);S&&!jo(S,T)&&n(),S=T,m=requestAnimationFrame(g)}return n(),()=>{var T;d.forEach(w=>{a&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),f?.(),(T=h)==null||T.disconnect(),h=null,u&&cancelAnimationFrame(m)}}const Cu=iu,Lu=su,Iu=ru,Fo=nu,Bu=(t,e,n)=>{const o=new Map,a={platform:$u,...n},i={...a.platform,_c:o};return eu(t,e,{...a,platform:i})};function Ru({middleware:t,placement:e=null,strategy:n,append:o,enabled:a}){const i=r.ref(null),s=r.ref(null),l=r.ref(null),u=r.ref(null),c=r.ref(null),d=r.ref(null),f=r.ref(null),y=r.ref(n??"absolute"),h=r.ref(null),m=()=>{!i.value||!s.value||Bu(i.value,s.value,{middleware:t,placement:e,strategy:n}).then(g=>{l.value=g.x,u.value=g.y,y.value=g.strategy,c.value=g.middlewareData.arrow.x,d.value=g.middlewareData.arrow.y,f.value=g.placement})};r.watch(()=>({reference:r.unref(i),floating:r.unref(s),append:r.unref(o)}),({floating:g,append:T})=>{T&&_o(g,T),m()},{flush:"post"}),r.watch(a,g=>{if(!(!i.value||!s.value)){if(!g)return S();h.value=Du(i.value,s.value,m,{})}},{flush:"post"});function S(){h.value?.(),h.value=null}return{x:l,y:u,arrowX:c,arrowY:d,placement:f,reference:i,floating:s,strategy:y,update:m}}function zu(t){const{element:e,padding:n}=t;return{name:"arrow",options:t,fn(o){return r.isRef(e)?e.value!=null?Fo({element:e.value,padding:n}).fn(o):{}:e?Fo({element:e,padding:n}).fn(o):{}}}}const Vu=["data-placement"],Nn={__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(t){const e=t,n=r.ref(!1),o=r.ref(null),{x:a,y:i,arrowX:s,arrowY:l,placement:u,reference:c,floating:d,strategy:f}=Ru({placement:e.placement,middleware:[Iu(),Lu({padding:5}),Cu(e.offset),zu({element:o,padding:5})],append:r.computed(()=>e.appendTo),enabled:n});function y(){e.disabled||n.value||(n.value=!0)}function h(){n.value&&(n.value=!1)}function m(w){c.value=w}const S={onMouseenter:y,onMouseleave:h,onFocus:y,onBlur:h};ji(d,()=>{n.value&&h()},{ignore:[c]});function g(){if(n.value)return h();y()}function T(w){if(!n.value)return;_t(d).querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')[0]?.focus(),w.preventDefault()}return(w,k)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.renderSlot(w.$slots,"default",{setRef:m,nextFocus:T,open:n.value,toggle:g,show:y,hide:h,events:S}),r.createElementVNode("div",{ref_key:"floating",ref:d,"data-placement":r.unref(u),style:r.normalizeStyle({position:r.unref(f),top:r.unref(i)?`${r.unref(i)}px`:"",left:r.unref(a)?`${r.unref(a)}px`:""})},[r.createVNode(r.Transition,{name:"transition-fade"},{default:r.withCtx(()=>[n.value?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(["floating-content",[[`is-${e.theme}`]]])},[r.renderSlot(w.$slots,"content",{close:h},()=>[r.createTextVNode(r.toDisplayString(t.content),1)]),t.isArrowVisible?(r.openBlock(),r.createElementBlock("div",{key:0,ref_key:"arrowRef",ref:o,class:"is-arrow",style:r.normalizeStyle({position:r.unref(f),top:r.unref(l)?`${r.unref(l)}px`:"",left:r.unref(s)?`${r.unref(s)}px`:""})},null,4)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0)]),_:3})],12,Vu)],64))}},Gu={class:"table"},ju=["tabindex","onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown"],Fu=["data-value"],Uu={key:0},Hu=["colspan"],Yu={key:1},Wu=["colspan"],qu={key:2},xn={__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(t,{emit:e}){const n=t,o=e,{isLoading:a,appendTo:i}=r.toRefs(n),s=jr(a,{delay:Gn}),{t:l}=lt(),u=r.computed(()=>n.columns),c=r.computed(()=>Object.keys(n.columns).length);function d(f,y){f.sortOrders&&o("sort",{target:y,orders:f.sortOrders})}return(f,y)=>(r.openBlock(),r.createElementBlock("table",Gu,[r.createElementVNode("thead",null,[r.createElementVNode("tr",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(h,m)=>(r.openBlock(),r.createBlock(Nn,{key:m,placement:"top",content:h.tooltip,disabled:!h.tooltip,"append-to":r.unref(i)},{default:r.withCtx(({setRef:S,show:g,hide:T})=>[r.createElementVNode("th",{ref_for:!0,ref:S,class:r.normalizeClass([[r.unref($r)(h.class)],{"is-active":m===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ft),"is-sortable":h.sortOrders,"is-desc":m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b),"is-asc":m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(C)}]),tabindex:h.sortOrders?0:-1,role:"button",onMouseenter:g,onMouseleave:T,onFocus:g,onBlur:T,onClick:w=>d(h,m),onKeydown:[r.withKeys(r.withModifiers(w=>d(h,m),["prevent"]),["space"]),r.withKeys(r.withModifiers(w=>d(h,m),["prevent"]),["enter"])]},[r.renderSlot(f.$slots,`header-${m}`,{column:h},()=>[r.createTextVNode(r.toDisplayString(h.label),1)]),h.sortOrders&&m!==t.sort.sortTarget?(r.openBlock(),r.createBlock(r.unref(bo),{key:0,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(ft)?(r.openBlock(),r.createBlock(r.unref(bo),{key:1,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b)?(r.openBlock(),r.createBlock(r.unref(xl),{key:2,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(C)?(r.openBlock(),r.createBlock(r.unref(Dl),{key:3,class:"is-icon-sort"})):r.createCommentVNode("",!0)],42,ju)]),_:2},1032,["content","disabled","append-to"]))),128))])]),r.createElementVNode("tbody",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.rows,(h,m)=>(r.openBlock(),r.createElementBlock("tr",{key:m,class:r.normalizeClass(h.rowClasses)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(S,g)=>(r.openBlock(),r.createElementBlock("td",{key:g,"data-value":h[g],class:r.normalizeClass([[S.class],{"is-active":g===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ft),"is-zero":h[g]===0||h[g]==="00:00"}])},[r.renderSlot(f.$slots,`cell-${g}`,{row:h,prop:g},()=>[r.createTextVNode(r.toDisplayString(h[g]),1)])],10,Fu))),128))],2))),128))]),r.unref(s)&&t.rows.length===0?(r.openBlock(),r.createElementBlock("tfoot",Uu,[r.createElementVNode("tr",null,[r.createElementVNode("td",{colspan:c.value},[r.renderSlot(f.$slots,"loading",{},()=>[r.createTextVNode(r.toDisplayString(r.unref(l)("common.loading")),1)])],8,Hu)])])):r.createCommentVNode("",!0),t.rows.length===0&&!r.unref(a)&&!r.unref(s)?(r.openBlock(),r.createElementBlock("tfoot",Yu,[r.createElementVNode("tr",null,[r.createElementVNode("td",{colspan:c.value},[r.renderSlot(f.$slots,"empty",{},()=>[r.createTextVNode(r.toDisplayString(r.unref(l)("common.noData")),1)])],8,Wu)])])):r.createCommentVNode("",!0),f.$slots.caption?(r.openBlock(),r.createElementBlock("caption",qu,[r.renderSlot(f.$slots,"caption")])):r.createCommentVNode("",!0)]))}},Ku={class:"error-notice"},Zu=["textContent"],Ju={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})},useRetry:{type:Boolean,default:!1}},emits:["retry"],setup(t){const e=t,{t:n,hasTranslation:o}=lt(),a=r.computed(()=>o(`errors.${e.error.key}`)?n(`errors.${e.error.key}`,e.error.cause||[e.error?.message]):e.error?.message);return(i,s)=>(r.openBlock(),r.createElementBlock("div",Ku,[r.createVNode(r.unref(Il),{class:"icon",width:"20",height:"20"}),r.createElementVNode("span",null,r.toDisplayString(a.value),1),t.useRetry?(r.openBlock(),r.createElementBlock("button",{key:0,type:"button",onClick:s[0]||(s[0]=l=>i.$emit("retry")),textContent:r.toDisplayString(r.unref(n)("common.retry"))},null,8,Zu)):r.createCommentVNode("",!0)]))}},Xu={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:o}=Dr();return(a,i)=>r.renderSlot(a.$slots,"default",{message:r.unref(e),error:r.unref(o),hasError:r.unref(n)})}},Qu={class:"form-field"},td=["for"],Uo={__name:"FormField",props:{label:{type:String,default:""},name:{type:String,required:!0}},setup(t){return(e,n)=>(r.openBlock(),r.createElementBlock("div",Qu,[r.createElementVNode("label",{for:t.name},r.toDisplayString(t.label),9,td),r.renderSlot(e.$slots,"default")]))}},ed={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"}}},nd={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"}}},rd=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},od=r.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=yr({hu:nd,en:ed},t.messages),{translate:n}=kr({locale:r.computed(()=>t.locale),messages:e});return{translate:n}}});function ad(t,e,n,o,a,i){return r.renderSlot(t.$slots,"default",{t:t.translate})}const id=rd(od,[["render",ad]]),sd=["src","width","height"],ld=["src","title","width","height"],xt=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(t){const e=t,{defaultSrc:n}=r.toRefs(e),o=r.ref({src:e.src}),{error:a,isReady:i}=Hi(o,{resetOnExecute:!1,shallow:!1});return(s,l)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.unref(a)&&r.unref(n)?(r.openBlock(),r.createElementBlock("img",{key:0,src:r.unref(n),class:r.normalizeClass(["is-loaded is-default",[s.$attrs.class]]),style:r.normalizeStyle([s.$attrs.style]),width:t.width,height:t.height},null,14,sd)):r.createCommentVNode("",!0),r.unref(a)?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("img",{key:1,src:o.value.src,title:e.title,class:r.normalizeClass([s.$attrs.class,{"is-loaded":r.unref(i)}]),style:r.normalizeStyle([s.$attrs.style]),width:t.width,height:t.height,loading:"lazy"},null,14,ld))],64))}}),cd={class:"loading-indicator"},$n={__name:"LoadingIndicator",setup(t){const{t:e}=lt();return(n,o)=>(r.openBlock(),r.createElementBlock("div",cd,r.toDisplayString(r.unref(e)("common.loading")),1))}},ud={key:0,class:"paginator"},dd=["disabled"],fd=["disabled"],md={key:1,class:"is-disabled"},pd=["disabled","onClick"],hd={key:2,class:"is-disabled"},gd=["disabled"],yd=["disabled"],bd={__name:"Paginator",props:{page:{type:Number,required:!1,default:0,validator:t=>t>=0},itemsPerPage:{type:Number,required:!1,default:10,validator:t=>t>0},totalItems:{type:Number,required:!0,validator:t=>t>=0},rangeLength:{type:Number,default:3,validator:t=>t>=2},isCompact:{type:Boolean,default:!1}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,{page:a,pageCount:i,range:s,goTo:l,pageStep:u}=Qs({currentPage:r.computed(()=>n.page),totalItems:r.computed(()=>n.totalItems),itemsPerPage:n.itemsPerPage,rangeLength:n.rangeLength,update:c=>o("change",c)});return(c,d)=>r.unref(i)>1?(r.openBlock(),r.createElementBlock("div",ud,[r.createElementVNode("button",{type:"button",disabled:r.unref(a)===1,onClick:d[0]||(d[0]=f=>r.unref(u)(-1))},[r.renderSlot(c.$slots,"prev",{},()=>[r.createVNode(r.unref(gl),{class:"icon paginator-left"})])],8,dd),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("button",{key:0,type:"button",disabled:r.unref(a)===1,onClick:d[1]||(d[1]=f=>r.unref(l)(1))}," 1 ",8,fd)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",md," ... ")),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(s),f=>(r.openBlock(),r.createElementBlock("button",{key:f,type:"button",class:r.normalizeClass({"is-active":f===r.unref(a)}),disabled:f===r.unref(a),onClick:y=>r.unref(l)(f)},r.toDisplayString(f),11,pd))),128)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",hd,[...d[4]||(d[4]=[r.createElementVNode("span",null,"...",-1)])])),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("button",{key:3,type:"button",disabled:r.unref(a)===r.unref(i),onClick:d[2]||(d[2]=f=>r.unref(l)(r.unref(i)))},r.toDisplayString(r.unref(i)),9,gd)),r.createElementVNode("button",{type:"button",disabled:r.unref(a)===r.unref(i),onClick:d[3]||(d[3]=r.withModifiers(f=>r.unref(u)(1),["prevent"]))},[r.renderSlot(c.$slots,"next",{},()=>[r.createVNode(r.unref(Ol),{class:"icon paginator-left"})])],8,yd)])):r.createCommentVNode("",!0)}},Mn={__name:"ResponsiveTable",setup(t){const e=r.ref(null);return(n,o)=>(r.openBlock(),r.createElementBlock("div",{ref_key:"el",ref:e,class:"table-responsive"},[r.renderSlot(n.$slots,"default",{el:e.value})],512))}},Sd={class:"is-team-name-long"},Td={class:"is-team-name-short"},wd={class:"is-team-name-long"},Od={class:"is-team-name-short"},Ad={key:0,class:"text-highlighted"},vd=["href","target"],_d={key:0,class:"badge"},kd={key:1,class:"badge"},Pd={key:2,class:"badge"},Ed={key:1},Nd=["data-state","onClick","onKeydown"],xd={class:"list"},$d=["href","target"],Md={class:"start"},Dd={class:"text"},Cd={key:0},Ld=["href"],Id={class:"start"},Bd={class:"text"},Rd={__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(t){const e=t,n=r.ref(null),{onError:o}=sn(),{columns:a,error:i}=an(jn,r.computed(()=>e.hideColumns),r.computed(()=>({offsetName:e.offsetName})));Vi(i,()=>o(new bn(ne.message,{...ne.options,cause:{column:i.value}})),{immediate:!0});const{t:s}=lt();return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(Mn,null,{default:r.withCtx(({el:c})=>[r.createVNode(xn,{columns:r.unref(a),rows:e.rows,"is-loading":t.isLoading,"append-to":n.value||c},{"cell-homeTeamName":r.withCtx(({row:d})=>[d.homeTeam?(r.openBlock(),r.createElementBlock(r.Fragment,{key:0},[r.createElementVNode("span",Sd,r.toDisplayString(d.homeTeam.longName),1),r.createElementVNode("span",Td,r.toDisplayString(d.homeTeam.shortName),1)],64)):r.createCommentVNode("",!0)]),"cell-awayTeamName":r.withCtx(({row:d})=>[d.awayTeam?(r.openBlock(),r.createElementBlock(r.Fragment,{key:0},[r.createElementVNode("span",wd,r.toDisplayString(d.awayTeam.longName),1),r.createElementVNode("span",Od,r.toDisplayString(d.awayTeam.shortName),1)],64)):r.createCommentVNode("",!0)]),"cell-homeTeamLogo":r.withCtx(({row:d})=>[d.homeTeam?(r.openBlock(),r.createBlock(xt,{key:d.homeTeam.id,class:"is-logo-image",src:d.homeTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-awayTeamLogo":r.withCtx(({row:d})=>[d.awayTeam?(r.openBlock(),r.createBlock(xt,{key:d.awayTeam.id,class:"is-logo-image",src:d.awayTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-gameResult":r.withCtx(({row:d})=>[d.gameStatus===0?(r.openBlock(),r.createElementBlock("span",Ad,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(d.gameId),target:t.externalGameResolverTarget,class:r.normalizeClass({"text-highlighted":d.gameStatus!==1,"is-text-accent":d.gameStatus===1})},r.toDisplayString(d.homeTeamScore)+":"+r.toDisplayString(d.awayTeamScore),11,vd))]),"cell-gameResultType":r.withCtx(({row:d})=>[d.isOvertime?(r.openBlock(),r.createElementBlock("span",_d,r.toDisplayString(r.unref(s)("common.overtimeShort")),1)):r.createCommentVNode("",!0),d.isShootout?(r.openBlock(),r.createElementBlock("span",kd,r.toDisplayString(r.unref(s)("common.shootoutShort")),1)):r.createCommentVNode("",!0),d.seriesStandings?(r.openBlock(),r.createElementBlock("span",Pd,r.toDisplayString(d.seriesStandings),1)):r.createCommentVNode("",!0)]),"cell-broadcast":r.withCtx(({row:d})=>[d.broadcast?(r.openBlock(),r.createBlock(r.unref(ml),{key:0})):(r.openBlock(),r.createElementBlock("span",Ed))]),"cell-location":r.withCtx(({row:d})=>[r.createTextVNode(r.toDisplayString(d.location?.locationName??""),1)]),"cell-more":r.withCtx(({row:d})=>[r.createVNode(Nn,{offset:2,placement:"left",theme:"content","append-to":c},{default:r.withCtx(({setRef:f,open:y,toggle:h,nextFocus:m})=>[r.createElementVNode("button",{ref:f,type:"button","aria-label":"more","data-state":y?"open":"closed",class:"icon-button",onClick:r.withModifiers(h,["stop","prevent"]),onKeydown:r.withKeys(m,["tab"])},[r.createVNode(r.unref(Sl))],40,Nd)]),content:r.withCtx(()=>[r.createElementVNode("ul",xd,[r.createElementVNode("li",null,[r.createElementVNode("a",{href:t.externalGameResolver(d.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[r.createElementVNode("div",Md,[r.createVNode(r.unref(_l))]),r.createElementVNode("div",Dd,r.toDisplayString(r.unref(s)("common.report")),1)],8,$d)]),d.video?(r.openBlock(),r.createElementBlock("li",Cd,[r.createElementVNode("a",{href:d.video,class:"is-dropdown-item",target:"_blank"},[r.createElementVNode("div",Id,[r.createVNode(r.unref(zl))]),r.createElementVNode("div",Bd,r.toDisplayString(r.unref(s)("common.video")),1)],8,Ld)])):r.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:r.withCtx(()=>[r.createVNode($n)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),r.createElementVNode("div",{ref_key:"tooltipContainer",ref:n},null,512)],64))}},zd={class:"flex-container mb-md"},Vd=["value"],Gd={key:0,class:"tabs underlined mb-md"},jd=["aria-label"],Fd=["aria-selected","onClick"],Ud={__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(t,{emit:e}){const n=t,o=e,{t:a}=lt(),i=r.computed({get(){return n.championshipId},set(l){o("onChangeSeason",l)}});function s(l){o("onChangeSection",l)}return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("div",zd,[r.createVNode(Uo,{label:r.unref(a)("selection.season"),name:"season"},{default:r.withCtx(()=>[r.createVNode(uo,{id:"season",modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=c=>i.value=c)},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.seasons,c=>(r.openBlock(),r.createElementBlock("option",{key:c.championshipId,value:c.championshipId},r.toDisplayString(c.seasonName),9,Vd))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"]),r.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("nav",Gd,[r.createElementVNode("div",{role:"tablist","aria-label":r.unref(a)("selection.sections")},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.sections,c=>(r.openBlock(),r.createElementBlock("button",{key:c.phaseId,role:"tab",type:"button","aria-selected":c.phaseName===t.sectionId,onClick:d=>s(c)},r.toDisplayString(c.phaseName),9,Fd))),128))],8,jd)]))],64))}},Hd={class:"avatar"},Yd=["href"],Wd={class:"is-team-name-long"},qd={class:"is-team-name-short"},Kd={class:"is-team-name-long"},Zd={key:0},Jd={class:"is-team-name-short"},Xd={key:0},Qd={class:"is-team-name-long"},tf={class:"is-team-name-short"},ef={class:"is-team-name-long"},nf={class:"is-team-name-short"},rf=["href"],of={key:0,class:"text-highlighted"},af=["href","target"],sf={key:0,class:"badge"},lf={key:1,class:"badge"},cf={key:2,class:"badge"},uf={__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(t,{emit:e}){const n=t,o=e,{columns:a,hideColumns:i}=r.toRefs(n),{onError:s}=sn(),{t:l}=lt(),{columns:u,error:c}=an(a,i,r.computed(()=>({offsetName:n.offsetName})));c.value&&s(new bn(ne.message,{...ne.options,cause:{column:c.value}}));const d=f=>o("sort",f);return(f,y)=>(r.openBlock(),r.createBlock(Mn,null,{default:r.withCtx(({el:h})=>[r.createVNode(xn,{columns:r.unref(u),sort:n.sort,rows:n.rows,"is-loading":t.isLoading,"append-to":t.appendTo||h,onSort:d},r.createSlots({"cell-index":r.withCtx(({row:m})=>[r.createElementVNode("span",{class:r.normalizeClass(m.indexClass)},r.toDisplayString(m.index),3)]),"cell-playerPortrait":r.withCtx(({row:m})=>[r.createElementVNode("div",Hd,[(r.openBlock(),r.createBlock(xt,{key:m.player.playerId,src:m.player.picture,"default-src":r.unref(Cn)},null,8,["src","default-src"]))])]),"cell-teamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(xt,{key:m.team?.id??m.id,class:"is-logo-image",src:m.team?.logo},null,8,["src"]))]),"cell-homeTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(xt,{key:m.homeTeam?.id,class:"is-logo-image is-right",src:m.homeTeam?.logo},null,8,["src"]))]),"cell-awayTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(xt,{key:m.awayTeam?.id,class:"is-logo-image is-right",src:m.awayTeam?.logo},null,8,["src"]))]),"cell-teamName":r.withCtx(({row:m})=>[t.isTeamLinked?(r.openBlock(),r.createElementBlock("a",{key:0,href:t.externalTeamResolver(m),target:"_blank"},[r.createElementVNode("span",Wd,r.toDisplayString(m.team?.longName),1),r.createElementVNode("span",qd,r.toDisplayString(m.team?.shortName),1)],8,Yd)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createElementVNode("span",Kd,[r.createTextVNode(r.toDisplayString(m.team?.longName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Zd,[...y[0]||(y[0]=[r.createElementVNode("sup",null,"*",-1)])])):r.createCommentVNode("",!0)]),r.createElementVNode("span",Jd,[r.createTextVNode(r.toDisplayString(m.team?.shortName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Xd,[...y[1]||(y[1]=[r.createElementVNode("sup",null,"*",-1)])])):r.createCommentVNode("",!0)])],64))]),"cell-homeTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",Qd,r.toDisplayString(m.homeTeam?.longName),1),r.createElementVNode("span",tf,r.toDisplayString(m.homeTeam?.shortName),1)]),"cell-awayTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",ef,r.toDisplayString(m.awayTeam?.longName),1),r.createElementVNode("span",nf,r.toDisplayString(m.awayTeam?.shortName),1)]),"cell-location":r.withCtx(({row:m})=>[r.createTextVNode(r.toDisplayString(m.location?.locationName??""),1)]),"cell-gameResult":r.withCtx(({row:m})=>[m.gameStatus===0?(r.openBlock(),r.createElementBlock("span",of,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(m),target:t.externalGameResolverTarget,class:r.normalizeClass({"text-highlighted":m.gameStatus!==1,"is-text-accent":m.gameStatus===1})},r.toDisplayString(m.homeTeamScore)+":"+r.toDisplayString(m.awayTeamScore),11,af))]),"cell-gameResultType":r.withCtx(({row:m})=>[m.isOvertime?(r.openBlock(),r.createElementBlock("span",sf,r.toDisplayString(r.unref(l)("common.overtimeShort")),1)):r.createCommentVNode("",!0),m.isShootout?(r.openBlock(),r.createElementBlock("span",lf,r.toDisplayString(r.unref(l)("common.shootoutShort")),1)):r.createCommentVNode("",!0),m.seriesStandings?(r.openBlock(),r.createElementBlock("span",cf,r.toDisplayString(m.seriesStandings),1)):r.createCommentVNode("",!0)]),loading:r.withCtx(()=>[r.createVNode($n)]),_:2},[t.isPlayerLinked?{name:"cell-name",fn:r.withCtx(({row:m})=>[r.createElementVNode("a",{href:t.externalPlayerResolver(m),target:"_blank"},r.toDisplayString(m.name),9,rf)]),key:"0"}:void 0,f.$slots.caption?{name:"caption",fn:r.withCtx(()=>[r.renderSlot(f.$slots,"caption")]),key:"1"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:3}))}},df={class:"timezone-selector"},ff=["onClick"],mf={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,{t:a}=lt(),i=r.computed(()=>ee(new Date,null,n.locale)),s=no(),l=r.computed(()=>Array.from(Vn.values()).map(c=>({...c,isActive:ee(new Date,n.currentZone,n.locale)===ee(new Date,c.timezone,n.locale),zoneOffsetName:ee(new Date,c.timezone,n.locale)}))),u=c=>o("change",c);return(c,d)=>(r.openBlock(),r.createElementBlock("div",df,[r.createVNode(r.unref(Er),{path:"common.selectTimezone",tag:"span"},{timezone:r.withCtx(()=>[r.createElementVNode("a",{href:"#",onClick:d[0]||(d[0]=r.withModifiers(f=>u(r.unref(s)),["prevent"]))},r.toDisplayString(i.value),1)]),_:1}),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(l.value,f=>(r.openBlock(),r.createElementBlock("a",{key:f.countryLabelKey,href:"#",class:r.normalizeClass({"is-active":f.isActive}),onClick:r.withModifiers(y=>u(f.timezone),["prevent"])},r.toDisplayString(r.unref(a)(`common.${f.countryLabelKey}`))+" ("+r.toDisplayString(f.zoneOffsetName)+") ",11,ff))),128))]))}},pf={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:""}},hf={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},gf={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},yf={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}};function Ho({app:t=null,modules:e=[],apiKey:n,gameResolver:o,teamResolver:a,playerResolver:i}){if(window.__MJSZ_VBR_WIDGET__={apiKey:n,gameResolver:o,teamResolver:a,playerResolver:i},e.length===0)throw new Error("At least one module must be set");e.forEach(s=>{if(t)return t.use(s);if(s.register)return s.register();s?.install()})}const bf={install:(t,e={})=>Ho({app:t,...e})};return p.AVAILABLE_TIMEZONES_BY_COUNTRY=Vn,p.AdditionalStandingsText=ul,p.BaseSelect=uo,p.COLUMNS_FIELD_PLAYERS=Jo,p.COLUMNS_FIELD_PLAYERS_PENALTY=Xo,p.COLUMNS_FIELD_PLAYERS_TOI=Qo,p.COLUMNS_GOALIES=ta,p.COLUMNS_PLAYERS_NATIONAL=ea,p.COLUMNS_SCHEDULE=jn,p.COLUMNS_SCORING_EFFICIENCY=ia,p.COLUMNS_STANDINGS_P_2=Ko,p.COLUMNS_STANDINGS_P_3=Wo,p.COLUMNS_STANDINGS_P_PER=qo,p.COLUMNS_STANDINGS_SHORT=Zo,p.COLUMNS_TEAMS_FAIRPLAY=ra,p.COLUMNS_TEAMS_PENALTY_KILLING=oa,p.COLUMNS_TEAMS_POWERPLAY=aa,p.COLUMNS_TEAM_ATTENDANCE=na,p.DEFAULT_EXTERNAL_GAME_URL=Dn,p.DEFAULT_EXTERNAL_PLAYER_URL=Ln,p.DEFAULT_EXTERNAL_STATISTIC_URL=Bn,p.DEFAULT_EXTERNAL_TEAM_URL=In,p.DEFAULT_PORTRAIT_IMAGE_URL=Cn,p.DataTable=xn,p.ErrorNotice=Ju,p.ErrorProvider=Xu,p.FLAG_BASE_URL=Rn,p.FetchMoreObserver=pa,p.FloatingPanel=Nn,p.FormField=Uo,p.I18NProvider=id,p.Image=xt,p.InvalidSeasonName=Ic,p.LAZY_LOADING_STATE_DELAY=Gn,p.LOCALE_FOR_LANG=zn,p.LoadingIndicator=$n,p.Paginator=bd,p.REFRESH_DELAY=Yo,p.ResponsiveTable=Mn,p.SORT_STATE_ASCEND=C,p.SORT_STATE_DESCEND=b,p.SORT_STATE_ORIGINAL=ft,p.ScheduleTable=Rd,p.SeasonSelector=Ud,p.StatisticsTable=uf,p.TimezoneSelector=mf,p.UndefinedColumn=ne,p.VBR_API_BASE_URL=je,p.WidgetError=bn,p.addDays=Ws,p.appendTo=_o,p.baseProps=pf,p.clone=Ya,p.convert=jl,p.convertAddress=Mc,p.convertGameEvents=bc,p.convertGameOfficials=vc,p.convertGamePeriodResults=Xl,p.convertMinToMinSec=oo,p.convertMinToSec=fn,p.convertPenaltyCauseName=mc,p.convertPeriodResults=pc,p.convertPeriodResultsToArray=hc,p.convertPhaseName=rc,p.convertSeasons=ac,p.convertSecToMin=ro,p.convertTeams=ic,p.convertTimes=Kl,p.convertTimesMinToMinSec=Zl,p.convertTimesSecToMin=Jl,p.createConfig=Ho,p.createI18n=kr,p.currentWeek=Us,p.currentWeekStartEnd=Hs,p.default=bf,p.endOfMonth=Ks,p.externalGameLinkResolver=Rc,p.externalPlayerLinkResolver=Vc,p.externalStatisticLinkResolver=Gc,p.externalTeamLinkResolver=zc,p.fetchVBRData=Cr,p.filterAllowedClasses=$r,p.filterAndSortSections=sc,p.filterGoalScorersFromEvents=Tc,p.flagResolver=jc,p.format=kt,p.gameDateTime=Ul,p.gameProps=yf,p.gameResult=Hl,p.getLocalTimezone=no,p.getWebsocketURL=Bc,p.groupLines=Sc,p.head=tn,p.i18n=Er,p.isAfter=js,p.isBefore=Gs,p.isBetween=ao,p.isEmpty=Kt,p.isNotEmpty=di,p.isSame=zs,p.isSameOrBefore=mn,p.isToday=Fs,p.joinOfficals=yc,p.last=dr,p.localeSort=yn,p.map=K,p.max=Js,p.mergeLeft=br,p.mergePlayerStats=xc,p.min=Zs,p.offsetName=ee,p.omit=en,p.path=bt,p.pick=nn,p.pickCoaches=wc,p.pipe=It,p.playerName=Bt,p.playerStatsProps=gf,p.prop=j,p.propEq=Zt,p.rawConvert=Fl,p.reject=mt,p.removeCurrentFromSeasonStats=kc,p.removeUnneededPhases=Ec,p.resolveApiKey=Fc,p.reverse=Wt,p.scheduleOptionalRowClass=ql,p.scrollToTop=Uc,p.selectFirstPhaseName=cc,p.selectFirstSectionId=lc,p.selectLastSections=fc,p.sortBy=St,p.sortByDomNode=Lc,p.sortByEventTimeSec=Ac,p.sortByPhaseId=uc,p.sortByStartingFive=gc,p.sortGames=Ql,p.standingTableSort=_c,p.startOfMonth=qs,p.subtractDays=Ys,p.sum=mi,p.teamName=gn,p.teamOpponent=Yl,p.teamResultType=Wl,p.teamStatsProps=hf,p.templateReplacer=ht,p.toKebabCase=xr,p.transformCurrentSeasonStats=Pc,p.transformEventsForGameTimeline=Oc,p.transformFieledPlayersStats=$c,p.transformPlayers=dc,p.transformRosters=Nc,p.upperCase=Ao,p.useAdditionalText=vr,p.useColumns=an,p.useError=sn,p.useErrorProvider=Dr,p.useGameDataSocket=Wi,p.useI18n=lt,p.useLazyLoadingState=jr,p.usePage=Xs,p.useScrollToGameDate=tl,p.useServices=el,p.useSort=sl,p.useVisibilityChange=ll,p.validateColumnsName=Nr,p.yearToNow=Vs,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),p}({},Vue);