@mjsz-vbr-elements/core 2.30.1 → 2.31.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.30.1 - 17/10/2025, 13:31:54
3
+ * version: v2.31.0 - 27/10/2025, 14:23:30
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(T,o){"use strict";const Ae="https://api.icehockey.hu/vbr",dn="https://www.jegkorongszovetseg.hu/event/game/{gameId}",fn="https://jegkorongszovetseg.hu/assets/images/player_blank.png",mn="https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}",pn="https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}",hn="https://www.ersteliga.hu/stats?report={id}",gn="https://api.icehockey.hu/static/api/flag",ct="original",y="descend",C="ascend",yn=new Map().set("hu","hu-hu").set("en","hu-gb"),bn=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),nr=1e3*60*5,Tn=1e3,wn={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:""}},or={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:y}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:y},{target:"otw",direction:y}]},otw:{label:"table.otw.short",tooltip:"table.otw.tooltip",sortOrders:[{target:"otw",direction:y}]},sow:{label:"table.sow.short",tooltip:"table.sow.tooltip",sortOrders:[{target:"sow",direction:y}]},sol:{label:"table.sol.short",tooltip:"table.sol.tooltip",sortOrders:[{target:"sol",direction:y}]},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:y}]},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:y}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:y},{target:"gamesPlayed",direction:C},{target:"w",direction:y},{target:"gd",direction:y},{target:"gf",direction:y}]}},rr={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:y}]},pper:{label:"table.pper.short",tooltip:"table.pper.tooltip",sortOrders:[{target:"pper",direction:y}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:y},{target:"otw",direction:y}]},otw:{label:"table.otw.short",tooltip:"table.otw.tooltip",sortOrders:[{target:"otw",direction:y}]},sow:{label:"table.sow.short",tooltip:"table.sow.tooltip",sortOrders:[{target:"sow",direction:y}]},sol:{label:"table.sol.short",tooltip:"table.sol.tooltip",sortOrders:[{target:"sol",direction:y}]},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:y}]},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:y}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:y},{target:"gamesPlayed",direction:C},{target:"w",direction:y},{target:"gd",direction:y},{target:"gf",direction:y}]}},ar={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:y}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:y},{target:"d",direction:y}]},d:{label:"table.draw.short",tooltip:"table.draw.tooltip",sortOrders:[{target:"d",direction:y},{target:"w",direction:y}]},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:y}]},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:y}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:y}]}},ir={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"}},sr={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:y}]},goals:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"goals",direction:y},{target:"assists",direction:y}]},assists:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"assists",direction:y},{target:"goals",direction:y}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"points",direction:y}]},plusMinus:{label:"table.plusMinus.short",tooltip:"table.plusMinus.tooltip",sortOrders:[{target:"plusMinus",direction:y}]},shots:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"shots",direction:y}]},shotPercent:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"shootPercent",direction:y}]}},lr={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:y}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:y},{target:"pim",direction:y}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:y},{target:"pim",direction:y}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:y},{target:"pim",direction:y}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:y},{target:"pim",direction:y}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:y},{target:"pim",direction:y}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:y}]}},cr={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:y}]},toiMin:{label:"table.toi.short",tooltip:"table.toi.tooltip",sortOrders:[{target:"toi",direction:y}]},atoiMin:{label:"table.atoi.short",tooltip:"table.atoi.tooltip",sortOrders:[{target:"atoi",direction:y}]},shf:{label:"table.shf.short",tooltip:"table.shf.tooltip",sortOrders:[{target:"shf",direction:y}]},ashf:{label:"table.ashf.short",tooltip:"table.ashf.tooltip",sortOrders:[{target:"ashf",direction:y}]},eqToiMin:{label:"table.eqToi.short",tooltip:"table.eqToi.tooltip",sortOrders:[{target:"eqToi",direction:y}]},pp1ToiMin:{label:"table.pp1Toi.short",tooltip:"table.pp1Toi.tooltip",sortOrders:[{target:"pp1Toi",direction:y}]},pp2ToiMin:{label:"table.pp2Toi.short",tooltip:"table.pp2Toi.tooltip",sortOrders:[{target:"pp2Toi",direction:y}]},sh1ToiMin:{label:"table.sh1Toi.short",tooltip:"table.sh1Toi.tooltip",sortOrders:[{target:"sh1Toi",direction:y}]},sh2ToiMin:{label:"table.sh2Toi.short",tooltip:"table.sh2Toi.tooltip",sortOrders:[{target:"sh2Toi",direction:y}]},eqAToiMin:{label:"table.eqAToi.short",tooltip:"table.eqAToi.tooltip",sortOrders:[{target:"eqAToi",direction:y}]},pp1AToiMin:{label:"table.pp1AToi.short",tooltip:"table.pp1AToi.tooltip",sortOrders:[{target:"pp1AToi",direction:y}]},pp2AToiMin:{label:"table.pp2AToi.short",tooltip:"table.pp2AToi.tooltip",sortOrders:[{target:"pp2AToi",direction:y}]},sh1AToiMin:{label:"table.sh1AToi.short",tooltip:"table.sh1AToi.tooltip",sortOrders:[{target:"sh1AToi",direction:y}]},sh2AToiMin:{label:"table.sh2AToi.short",tooltip:"table.sh2AToi.tooltip",sortOrders:[{target:"sh2AToi",direction:y}]}},ur={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:y}]},gpi:{label:"table.gpi.short",tooltip:"table.gpi.tooltip",sortOrders:[{target:"gpi",direction:y}]},so:{label:"table.so.short",tooltip:"table.so.tooltip",sortOrders:[{target:"so",direction:y}]},mipMin:{label:"table.toi.short",tooltip:"table.toi.tooltip",sortOrders:[{target:"mip",direction:y}]},mipPercent:{label:"table.toiPercent.short",tooltip:"table.toiPercent.tooltip",sortOrders:[{target:"mipPercent",direction:y}]},ga:{label:"table.ga.short",tooltip:"table.ga.tooltip",sortOrders:[{target:"ga",direction:y}]},gaa:{label:"table.gaa.short",tooltip:"table.gaa.tooltip",sortOrders:[{target:"gaa",direction:y}]},sog:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"sog",direction:y}]},svs:{label:"table.svs.short",tooltip:"table.svs.tooltip",sortOrders:[{target:"svs",direction:y}]},svsPercent:{label:"table.svsPercent.short",tooltip:"table.svsPercent.tooltip",sortOrders:[{target:"svsPercent",direction:y}]}},dr={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:y}]},goals:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"goals",direction:y},{target:"assists",direction:y}]},assist:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"assist",direction:y},{target:"goals",direction:y}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"points",direction:y}]}},fr={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:y}]},homeAttendance:{label:"table.homeAttendance.short",tooltip:"table.homeAttendance.tooltip",sortOrders:[{target:"homeAttendance",direction:y}]},homeAttendanceAvg:{label:"table.homeAttendanceAvg.short",tooltip:"table.homeAttendanceAvg.tooltip",sortOrders:[{target:"homeAttendanceAvg",direction:y}]},away:{label:"table.awayHeader.short"},awayGame:{label:"table.awayGame.short",tooltip:"table.awayGame.tooltip",sortOrders:[{target:"awayGame",direction:y}]},awayAttendance:{label:"table.awayAttendance.short",tooltip:"table.awayAttendance.tooltip",sortOrders:[{target:"awayAttendance",direction:y}]},awayAttendanceAvg:{label:"table.awayAttendanceAvg.short",tooltip:"table.awayAttendanceAvg.tooltip",sortOrders:[{target:"awayAttendanceAvg",direction:y}]},total:{label:"table.totalHeader.short"},totalGame:{label:"table.totalGame.short",tooltip:"table.totalGame.tooltip",sortOrders:[{target:"totalGame",direction:y}]},totalAttendance:{label:"table.totalAttendance.short",tooltip:"table.totalAttendance.tooltip",sortOrders:[{target:"totalAttendance",direction:y}]},totalAttendanceAvg:{label:"table.totalAttendanceAvg.short",tooltip:"table.totalAttendanceAvg.tooltip",sortOrders:[{target:"totalAttendanceAvg",direction:y}]}},mr={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:y}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:y},{target:"pim",direction:y}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:y},{target:"pim",direction:y}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:y},{target:"pim",direction:y}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:y},{target:"pim",direction:y}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:y},{target:"pim",direction:y}]},pimPerGame:{label:"table.pimPerGame.short",tooltip:"table.pimPerGame.tooltip",sortOrders:[{target:"pimPerGame",direction:y}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:y}]}},pr={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:y}]},dvg:{label:"table.powerplayDisadvantages.short",tooltip:"table.powerplayDisadvantages.tooltip",sortOrders:[{target:"dvg",direction:y}]},dvgTimeMin:{label:"table.dvgTime.short",tooltip:"table.dvgTime.tooltip",sortOrders:[{target:"dvgTime",direction:y}]},dvgTimePP1Min:{label:"table.dvgTimePP1.short",tooltip:"table.dvgTimePP1.tooltip",sortOrders:[{target:"dvgTimePP1",direction:y}]},dvgTimePP2Min:{label:"table.dvgTimePP2.short",tooltip:"table.dvgTimePP2.tooltip",sortOrders:[{target:"dvgTimePP2",direction:y}]},ppga:{label:"table.ppga.short",tooltip:"table.ppga.tooltip",sortOrders:[{target:"ppga",direction:y}]},shgf:{label:"table.shgf.short",tooltip:"table.shgf.tooltip",sortOrders:[{target:"shgf",direction:y}]},pkPercent:{label:"table.pkPercent.short",tooltip:"table.pkPercent.tooltip",sortOrders:[{target:"pkPercent",direction:y}]}},hr={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:y}]},adv:{label:"table.adv.short",tooltip:"table.adv.tooltip",sortOrders:[{target:"adv",direction:y}]},advTimeMin:{label:"table.advTime.short",tooltip:"table.advTime.tooltip",sortOrders:[{target:"advTime",direction:y}]},advTimePP1Min:{label:"table.advTimePP1.short",tooltip:"table.advTimePP1.tooltip",sortOrders:[{target:"advTimePP1",direction:y}]},advTimePP2Min:{label:"table.advTimePP2.short",tooltip:"table.advTimePP2.tooltip",sortOrders:[{target:"advTimePP2",direction:y}]},ppgf:{label:"table.ppgf.short",tooltip:"table.ppgf.tooltip",sortOrders:[{target:"ppgf",direction:y}]},shga:{label:"table.shga.short",tooltip:"table.shga.tooltip",sortOrders:[{target:"shga",direction:y}]},ppPercent:{label:"table.ppPercent.short",tooltip:"table.ppPercent.tooltip",sortOrders:[{target:"ppPercent",direction:y}]}},gr={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:y}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:y}]},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:y}]},gfPerGp:{label:"table.gfgp.short",tooltip:"table.gfgp.tooltip",sortOrders:[{target:"gfPerGp",direction:y}]},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:y}]},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:y}]},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:y}]}};function yr(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}function Sn(t){return typeof t=="function"?t():o.unref(t)}const br=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Tr=t=>t!=null,ke=()=>{};function _e(t){var e;const n=Sn(t);return(e=n?.$el)!=null?e:n}const wr=br?window:void 0;function Sr(){const t=o.ref(!1);return o.getCurrentInstance()&&o.onMounted(()=>{t.value=!0}),t}function Or(t){const e=Sr();return o.computed(()=>(e.value,!!t()))}function Ar(t,e,n={}){const{root:r,rootMargin:a="0px",threshold:i=.1,window:s=wr,immediate:l=!0}=n,u=Or(()=>s&&"IntersectionObserver"in s),c=o.computed(()=>{const m=Sn(t);return(Array.isArray(m)?m:[m]).map(_e).filter(Tr)});let d=ke;const f=o.ref(l),g=u.value?o.watch(()=>[c.value,_e(r),f.value],([m,b])=>{if(d(),!f.value||!m.length)return;const h=new IntersectionObserver(e,{root:_e(b),rootMargin:a,threshold:i});m.forEach(w=>w&&h.observe(w)),d=()=>{h.disconnect(),d=ke}},{immediate:l,flush:"post"}):ke,p=()=>{d(),g(),f.value=!1};return yr(p),{isSupported:u,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:p}}const kr=o.defineComponent({name:"FetchMoreObserver",props:["as","options"],emits:["intersect"],setup(t,{slots:e,emit:n}){const r=o.ref(null),{stop:a}=Ar(r,([{isIntersecting:i}])=>{i&&n("intersect")},t.options);return o.onUnmounted(a),()=>{if(e.default)return o.h(t.as||"div",{ref:r},e.default())}}});function j(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function H(t){return function e(n){return arguments.length===0||j(n)?e:t.apply(this,arguments)}}function G(t){return function e(n,r){switch(arguments.length){case 0:return e;case 1:return j(n)?e:H(function(a){return t(n,a)});default:return j(n)&&j(r)?e:j(n)?H(function(a){return t(a,r)}):j(r)?H(function(a){return t(n,a)}):t(n,r)}}}function Kt(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,r){return e.apply(this,arguments)};case 3:return function(n,r,a){return e.apply(this,arguments)};case 4:return function(n,r,a,i){return e.apply(this,arguments)};case 5:return function(n,r,a,i,s){return e.apply(this,arguments)};case 6:return function(n,r,a,i,s,l){return e.apply(this,arguments)};case 7:return function(n,r,a,i,s,l,u){return e.apply(this,arguments)};case 8:return function(n,r,a,i,s,l,u,c){return e.apply(this,arguments)};case 9:return function(n,r,a,i,s,l,u,c,d){return e.apply(this,arguments)};case 10:return function(n,r,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 Pe(t,e,n){return function(){for(var r=[],a=0,i=t,s=0,l=!1;s<e.length||a<arguments.length;){var u;s<e.length&&(!j(e[s])||a>=arguments.length)?u=e[s]:(u=arguments[a],a+=1),r[s]=u,j(u)?l=!0:i-=1,s+=1}return!l&&i<=0?n.apply(this,r):Kt(Math.max(0,i),Pe(t,r,n))}}var Mt=G(function(e,n){return e===1?H(n):Kt(e,Pe(e,[],n))});function Q(t){return function e(n,r,a){switch(arguments.length){case 0:return e;case 1:return j(n)?e:G(function(i,s){return t(n,i,s)});case 2:return j(n)&&j(r)?e:j(n)?G(function(i,s){return t(i,r,s)}):j(r)?G(function(i,s){return t(n,i,s)}):H(function(i){return t(n,r,i)});default:return j(n)&&j(r)&&j(a)?e:j(n)&&j(r)?G(function(i,s){return t(i,s,a)}):j(n)&&j(a)?G(function(i,s){return t(i,r,s)}):j(r)&&j(a)?G(function(i,s){return t(n,i,s)}):j(n)?H(function(i){return t(i,r,a)}):j(r)?H(function(i){return t(n,i,a)}):j(a)?H(function(i){return t(n,r,i)}):t(n,r,a)}}}const Ct=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function _r(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function Lt(t,e,n){return function(){if(arguments.length===0)return n();var r=arguments[arguments.length-1];if(!Ct(r)){for(var a=0;a<t.length;){if(typeof r[t[a]]=="function")return r[t[a]].apply(r,Array.prototype.slice.call(arguments,0,-1));a+=1}if(_r(r)){var i=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(r)}}return n.apply(this,arguments)}}function ve(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const yt={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function On(t){for(var e=[],n;!(n=t.next()).done;)e.push(n.value);return e}function An(t,e,n){for(var r=0,a=n.length;r<a;){if(t(e,n[r]))return!0;r+=1}return!1}function Pr(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function rt(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function vr(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const xe=typeof Object.is=="function"?Object.is:vr;var kn=Object.prototype.toString,_n=function(){return kn.call(arguments)==="[object Arguments]"?function(e){return kn.call(e)==="[object Arguments]"}:function(e){return rt("callee",e)}}(),xr=!{toString:null}.propertyIsEnumerable("toString"),Pn=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],vn=function(){return arguments.propertyIsEnumerable("length")}(),Er=function(e,n){for(var r=0;r<e.length;){if(e[r]===n)return!0;r+=1}return!1},bt=H(typeof Object.keys=="function"&&!vn?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var n,r,a=[],i=vn&&_n(e);for(n in e)rt(n,e)&&(!i||n!=="length")&&(a[a.length]=n);if(xr)for(r=Pn.length-1;r>=0;)n=Pn[r],rt(n,e)&&!Er(a,n)&&(a[a.length]=n),r-=1;return a}),Ee=H(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function xn(t,e,n,r){var a=On(t),i=On(e);function s(l,u){return Ne(l,u,n.slice(),r.slice())}return!An(function(l,u){return!An(s,u,l)},i,a)}function Ne(t,e,n,r){if(xe(t,e))return!0;var a=Ee(t);if(a!==Ee(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"&&Pr(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&xe(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!xe(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 r[i]===e;i-=1}switch(a){case"Map":return t.size!==e.size?!1:xn(t.entries(),e.entries(),n.concat([t]),r.concat([e]));case"Set":return t.size!==e.size?!1:xn(t.values(),e.values(),n.concat([t]),r.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=bt(t);if(s.length!==bt(e).length)return!1;var l=n.concat([t]),u=r.concat([e]);for(i=s.length-1;i>=0;){var c=s[i];if(!(rt(c,e)&&Ne(e[c],t[c],l,u)))return!1;i-=1}return!0}var Zt=G(function(e,n){return Ne(e,n,[],[])});function Nr(t,e,n){var r,a;if(typeof t.indexOf=="function")switch(typeof e){case"number":if(e===0){for(r=1/e;n<t.length;){if(a=t[n],a===0&&1/a===r)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(Zt(t[n],e))return n;n+=1}return-1}function En(t,e){return Nr(e,t,0)>=0}function Xt(t,e){for(var n=0,r=e.length,a=Array(r);n<r;)a[n]=t(e[n]),n+=1;return a}function $e(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 It=function(e){return(e<10?"0":"")+e},$r=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+It(e.getUTCMonth()+1)+"-"+It(e.getUTCDate())+"T"+It(e.getUTCHours())+":"+It(e.getUTCMinutes())+":"+It(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Dr(t){return function(){return!t.apply(this,arguments)}}function Nn(t,e,n){for(var r=0,a=n.length;r<a;)e=t(e,n[r]),r+=1;return e}function Mr(t,e){for(var n=0,r=e.length,a=[];n<r;)t(e[n])&&(a[a.length]=e[n]),n+=1;return a}function Cr(t,e){for(var n=new Map,r=e.entries(),a=r.next();!a.done;)t(a.value[1])&&n.set(a.value[0],a.value[1]),a=r.next();return n}function Lr(t){return Object.prototype.toString.call(t)==="[object Map]"}function Jt(t){return Object.prototype.toString.call(t)==="[object Object]"}var Ir=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=yt.init,t.prototype["@@transducer/result"]=yt.result,t.prototype["@@transducer/step"]=function(e,n){return this.f(n)?this.xf["@@transducer/step"](e,n):e},t}();function Br(t){return function(e){return new Ir(t,e)}}var De=G(Lt(["fantasy-land/filter","filter"],Br,function(t,e){return Jt(e)?Nn(function(n,r){return t(e[r])&&(n[r]=e[r]),n},{},bt(e)):Lr(e)?Cr(t,e):Mr(t,e)})),Rr=G(function(e,n){return De(Dr(e),n)});function $n(t,e){var n=function(s){var l=e.concat([t]);return En(s,l)?"<Circular>":$n(s,l)},r=function(i,s){return Xt(function(l){return $e(l)+": "+n(i[l])},s.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Xt(n,t).join(", ")+"))";case"[object Array]":return"["+Xt(n,t).concat(r(t,Rr(function(i){return/^\d+$/.test(i)},bt(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):$e($r(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())+")":$e(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var a=t.toString();if(a!=="[object Object]")return a}return"{"+r(t,bt(t)).join(", ")+"}"}}var Me=H(function(e){return $n(e,[])}),zr=G(function(e,n){if(e===n)return n;function r(u,c){if(u>c!=c>u)return c>u?c:u}var a=r(e,n);if(a!==void 0)return a;var i=r(typeof e,typeof n);if(i!==void 0)return i===typeof e?e:n;var s=Me(e),l=r(s,Me(n));return l!==void 0&&l===s?e:n}),Vr=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=yt.init,t.prototype["@@transducer/result"]=yt.result,t.prototype["@@transducer/step"]=function(e,n){return this.xf["@@transducer/step"](e,this.f(n))},t}(),Gr=function(e){return function(n){return new Vr(e,n)}},mt=G(Lt(["fantasy-land/map","map"],Gr,function(e,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return Mt(n.length,function(){return e.call(this,n.apply(this,arguments))});case"[object Object]":return Nn(function(r,a){return r[a]=e(n[a]),r},{},bt(n));default:return Xt(e,n)}}));const Qt=Number.isInteger||function(e){return e<<0===e};function Dn(t,e){var n=t<0?e.length+t:t;return e[n]}function Mn(t,e){if(e!=null)return Qt(t)?Dn(t,e):e[t]}var ut=G(Mn),Fr=G(function(e,n){return mt(ut(e),n)});function Ce(t){return Object.prototype.toString.call(t)==="[object String]"}var jr=H(function(e){return Ct(e)?!0:!e||typeof e!="object"||Ce(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),Cn=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Ur(t,e,n){return function(a,i,s){if(jr(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[Cn]!=null)return n(a,i,s[Cn]());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 Hr(t,e,n){for(var r=0,a=n.length;r<a;){if(e=t["@@transducer/step"](e,n[r]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r+=1}return t["@@transducer/result"](e)}var Yr=G(function(e,n){return Kt(e.length,function(){return e.apply(n,arguments)})});function Wr(t,e,n){for(var r=n.next();!r.done;){if(e=t["@@transducer/step"](e,r.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r=n.next()}return t["@@transducer/result"](e)}function qr(t,e,n,r){return t["@@transducer/result"](n[r](Yr(t["@@transducer/step"],t),e))}var Ln=Ur(Hr,qr,Wr),Kr=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 In(t){return new Kr(t)}var Bn=Q(function(t,e,n){return Ln(typeof t=="function"?In(t):t,e,n)}),Rn=H(function(e){return function(){return e}}),Zr=H(function(e){return Mt(Bn(zr,0,Fr("length",e)),function(){for(var n=0,r=e.length;n<r;){if(e[n].apply(this,arguments))return!0;n+=1}return!1})}),Le=Q(function(e,n,r){var a=e(n),i=e(r);return a<i?-1:a>i?1:0}),Xr=H(function(e){return Mt(e.length,e)});function Jr(t,e,n){if(Qt(t)&&Ct(n)){var r=t<0?n.length+t:t,a=[].concat(n);return a[r]=e,a}var i={};for(var s in n)i[s]=n[s];return i[t]=e,i}var Qr=H(function(e){return e==null}),ta=Q(function t(e,n,r){if(e.length===0)return n;var a=e[0];if(e.length>1){var i=Mn(a,r);(Qr(i)||typeof i!="object")&&(i=Qt(e[1])?[]:{}),n=t(Array.prototype.slice.call(e,1),n,i)}return Jr(a,n,r)}),ea=Q(function(e,n,r){return ta([e],n,r)});function na(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function oa(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 zn(t,e,n){if(n||(n=new aa),ra(t))return t;var r=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]=t[l]);return i};switch(Ee(t)){case"Object":return r(Object.create(Object.getPrototypeOf(t)));case"Array":return r(Array(t.length));case"Date":return new Date(t.valueOf());case"RegExp":return oa(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 ra(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var aa=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,n){var r=this.hash(e),a=this.map[r];a||(this.map[r]=a=[]),a.push([e,n]),this.length+=1},t.prototype.hash=function(e){var n=[];for(var r in e)n.push(Object.prototype.toString.call(e[r]));return n.join()},t.prototype.get=function(e){if(this.length<=180){for(var n in this.map)for(var s=this.map[n],r=0;r<s.length;r+=1){var a=s[r];if(a[0]===e)return a[1]}return}var i=this.hash(e),s=this.map[i];if(s)for(var r=0;r<s.length;r+=1){var a=s[r];if(a[0]===e)return a[1]}},t}();function ia(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function Ie(t,e){return function(){var n=arguments.length;if(n===0)return e();var r=arguments[n-1];return Ct(r)||typeof r[t]!="function"?e.apply(this,arguments):r[t].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}var sa=Q(Ie("slice",function(e,n,r){return Array.prototype.slice.call(r,e,n)})),la=H(Ie("tail",sa(1,1/0)));function te(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Kt(arguments[0].length,Bn(ia,arguments[0],la(arguments)))}var ca=H(function(e){return Ce(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});function Vn(){if(arguments.length===0)throw new Error("compose requires at least one argument");return te.apply(this,ca(arguments))}var ua=function(){function t(e,n,r,a){this.valueFn=e,this.valueAcc=n,this.keyFn=r,this.xf=a,this.inputs={}}return t.prototype["@@transducer/init"]=yt.init,t.prototype["@@transducer/result"]=function(e){var n;for(n in this.inputs)if(rt(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 r=this.keyFn(n);return this.inputs[r]=this.inputs[r]||[r,zn(this.valueAcc)],this.inputs[r][1]=this.valueFn(this.inputs[r][1],n),e},t}();function da(t,e,n){return function(r){return new ua(t,e,n,r)}}var fa=Pe(4,[],Lt([],da,function(e,n,r,a){var i=In(function(s,l){var u=r(l),c=e(rt(u,s)?s[u]:zn(n),l);return c&&c["@@transducer/reduced"]?ve(s):(s[u]=c,s)});return Ln(i,{},a)})),ma=Q(function(e,n,r){var a=e(n),i=e(r);return a>i?-1:a<i?1:0});function pa(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 ha=H(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:Ct(e)?[]:Ce(e)?"":Jt(e)?{}:_n(e)?function(){return arguments}():pa(e)?e.constructor.from(""):void 0}),ga=function(){function t(e,n){this.xf=n,this.f=e,this.found=!1}return t.prototype["@@transducer/init"]=yt.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=ve(this.xf["@@transducer/step"](e,n))),e},t}();function ya(t){return function(e){return new ga(t,e)}}var ba=G(Lt(["find"],ya,function(e,n){for(var r=0,a=n.length;r<a;){if(e(n[r]))return n[r];r+=1}})),Ta=function(){function t(e,n){this.xf=n,this.f=e,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=yt.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=ve(this.xf["@@transducer/step"](e,this.idx))),e},t}();function wa(t){return function(e){return new Ta(t,e)}}var Sa=G(Lt([],wa,function(e,n){for(var r=0,a=n.length;r<a;){if(e(n[r]))return r;r+=1}return-1})),Oa=G(Ie("groupBy",fa(function(t,e){return t.push(e),t},[]))),Aa=Q(function(e,n,r){return Mt(Math.max(e.length,n.length,r.length),function(){return e.apply(this,arguments)?n.apply(this,arguments):r.apply(this,arguments)})}),ka=G(En),Gn=G(function(e,n){return Mt(e+1,function(){var r=arguments[e];if(r!=null&&na(r[n]))return r[n].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Me(r)+' does not have a method named "'+n+'"')})}),Fn=H(function(e){return e!=null&&Zt(e,ha(e))}),_a=G(function(e,n){return function(r){return function(a){return mt(function(i){return n(i,a)},r(e(a)))}}});function Pa(t,e){for(var n=e,r=0;r<t.length;r+=1){if(n==null)return;var a=t[r];Qt(a)?n=Dn(a,n):n=n[a]}return n}var va=H(function(e){return _a(ut(e),ea(e))}),xa=Q(function(e,n,r){var a={},i;n=n||{},r=r||{};for(i in n)rt(i,n)&&(a[i]=rt(i,r)?e(i,n[i],r[i]):n[i]);for(i in r)rt(i,r)&&!rt(i,a)&&(a[i]=r[i]);return a}),Ea=Q(function t(e,n,r){return xa(function(a,i,s){return Jt(i)&&Jt(s)?t(e,i,s):e(a,i,s)},n,r)}),jn=G(function(e,n){return Ea(function(r,a,i){return i},e,n)}),Na=G(function(e,n){for(var r={},a={},i=0,s=e.length;i<s;)a[e[i]]=1,i+=1;for(var l in n)a.hasOwnProperty(l)||(r[l]=n[l]);return r}),Un=function(t){return{value:t,map:function(e){return Un(e(t))}}},$a=Q(function(e,n,r){return e(function(a){return Un(n(a))})(r).value}),Be=G(Pa),Hn=Q(function(e,n,r){return e(ut(n,r))}),Da=Q(function(e,n,r){return r.replace(e,n)}),Ma=G(function(e,n){return Array.prototype.slice.call(n,0).sort(e)}),Yn=G(function(e,n){return Array.prototype.slice.call(n,0).sort(function(r,a){for(var i=0,s=0;i===0&&s<e.length;)i=e[s](r,a),s+=1;return i})}),Pt=Gn(1,"split"),Wn=Gn(0,"toLowerCase"),Bt=`
9
- \v\f\r                 \u2028\u2029\uFEFF`,Ca="​",La=typeof String.prototype.trim=="function",ee=H(!La||Bt.trim()||!Ca.trim()?function(e){var n=new RegExp("^["+Bt+"]["+Bt+"]*"),r=new RegExp("["+Bt+"]["+Bt+"]*$");return e.replace(n,"").replace(r,"")}:function(e){return e.trim()});function qn(t,e,n,r){const a=o.ref(""),i=o.ref(!1),s=l=>{const u=De(ut(e),l),c=u.length>0;if(i.value=c,!c)return a.value="";const f=u.map(g=>({team:g.team.longName,points:Math.abs(ut(e,g))})).map(g=>n(`additionalText.${e}.content`,g)).join(", ");a.value=[n(`additionalText.${e}.prependix`),f,...n(`additionalText.${e}.appendix`)&&[n(`additionalText.${e}.appendix`)]].join(" ")};return o.watch(t,s,{immediate:!0}),o.watch(()=>o.unref(r),()=>s(o.unref(t))),{text:a,isVisible:i}}const Kn=Symbol("I18nContext"),q=o.reactive({messages:{},locale:"",fallbackLocale:""});function Zn({messages:t={},locale:e="",fallbackLocale:n=""}){q.messages=jn(q.messages,t),q.locale=e,q.fallbackLocale=n;const r=(u,c={})=>{const d=!Fn(c),f=mt(ee,Pt(".",u));return o.computed(()=>{const p=Xn(f);return d?Ba(p,c):p}).value},a=u=>{const c=mt(ee,Pt(".",u));return!!Re(q.locale,c,q.messages)},i=u=>{q.locale=u},l={locale:o.computed({get(){return q.locale},set(u){q.locale=u}}),setLocale:i,translate:r,hasTranslation:a};return o.provide(Kn,l),{translate:r}}function at(t){t&&(q.messages=t.messages,q.locale=t.locale,q.fallbackLocale=t.fallbackLocale);const e=Ia();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranslation:e.hasTranslation}}function Ia(){const t=o.inject(Kn,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}function Xn(t=[]){let e=Re(q.locale,t,q.messages);return!e&&q.fallbackLocale&&(e=Re(q.fallbackLocale,t,q.messages)),e||t.join(".")}function Re(t,e,n){return Be([t,...e],n)}function Ba(t,e){return t.replace(/\{(\w+)\}/g,(n,r)=>e[r])}const Jn=o.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const n=mt(ee,Pt(".",t.path)),r=Xn(n),a=Pt(/\{|\}/,r),i=Object.keys(e).map(s=>{const l=a.indexOf(s);return l>-1&&(a[l]=e[s]()[0]),a});return()=>o.h(t.tag,i)}});function ze(t,e="",n={}){const r=o.ref(""),{t:a}=at(),i=o.computed(()=>{if(o.unref(e))try{const u=Qn(o.unref(t),o.unref(e));return Na(u,o.unref(t))}catch(u){r.value=u}return o.unref(t)}),s=u=>({...u,...u.label&&{label:a(u.label??"",o.unref(n))},...u.tooltip&&{tooltip:a(u.tooltip??"")}});return{columns:o.computed(()=>mt(s,i.value)),error:r}}function Qn(t,e=""){const n=mt(ee,Pt(",",e)),r=bt(t);if(n[0]==="")return[];const a=n.findIndex(i=>!r.includes(i));if(a>-1)throw n[a];return n}function to(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 dt(t="",e={}){return t.replace(/\{([^}]+)\}/g,(n,r)=>Be(Pt(".",r),e))}const eo=Symbol("ErrorProviderContext");function no(){const t=o.ref(""),e=o.ref({}),n=i=>{console.error({error:i}),t.value=i.message||i.error.message,e.value={message:i.message,key:i.key||to(i.message),cause:i.cause}},r=()=>{t.value="",e.value={}},a={onError:n,reset:r};return o.provide(eo,a),window.onerror=i=>{console.error("WINDOW_ONERROR:",i)},o.onErrorCaptured((i,s,l)=>{console.error("onErrorCaptured:",i,s,l)}),{hasError:o.computed(()=>t.value.length>0),message:t,error:e,reset:r,onError:n}}function Ve(){const t=Ra();return{onError:t.onError,reset:t.reset}}function Ra(){const t=o.inject(eo,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}async function oo(t,e,n){const r=`${Ae}${o.unref(t)}${Fn(n)?"":`?${za(n)}`}`;return new Promise((a,i)=>{fetch(r,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":Va(e)}}).then(s=>s.json()).then(s=>{if(s.error)return i(s);a(s.data)}).catch(s=>{i(s)})})}function za(t){return Object.keys(t).map(e=>`${e}=${t[e]}`).join("&")}function Va(t){return t||(window.__MJSZ_VBR_WIDGET__?.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:"")}function Rt(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}const ft=typeof window<"u"&&typeof document<"u",ro=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,Ga=Object.prototype.toString,Fa=t=>Ga.call(t)==="[object Object]",Z=()=>{},ja=Ua();function Ua(){var t,e;return ft&&((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 ao(...t){if(t.length!==1)return o.toRef(...t);const e=t[0];return typeof e=="function"?o.readonly(o.customRef(()=>({get:e,set:Z}))):o.ref(e)}function Ha(t,e){function n(...r){return new Promise((a,i)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(a).catch(i)})}return n}const io=t=>t();function Ya(t=io,e={}){const{initialState:n="active"}=e,r=ao(n==="active");function a(){r.value=!1}function i(){r.value=!0}const s=(...l)=>{r.value&&t(...l)};return{isActive:o.readonly(r),pause:a,resume:i,eventFilter:s}}function Ge(t,e=!1,n="Timeout"){return new Promise((r,a)=>{setTimeout(e?()=>a(n):r,t)})}function Fe(t){return Array.isArray(t)?t:[t]}function Wa(t,e,n={}){const{eventFilter:r=io,...a}=n;return o.watch(t,Ha(r,e),a)}function qa(t,e,n={}){const{eventFilter:r,initialState:a="active",...i}=n,{eventFilter:s,pause:l,resume:u,isActive:c}=Ya(r,{initialState:a});return{stop:Wa(t,e,{...i,eventFilter:s}),pause:l,resume:u,isActive:c}}function je(t,e=!1){function n(f,{flush:g="sync",deep:p=!1,timeout:m,throwOnTimeout:b}={}){let h=null;const O=[new Promise(v=>{h=o.watch(t,x=>{f(x)!==e&&(h?h():o.nextTick(()=>h?.()),v(x))},{flush:g,deep:p,immediate:!0})})];return m!=null&&O.push(Ge(m,b).then(()=>o.toValue(t)).finally(()=>h?.())),Promise.race(O)}function r(f,g){if(!o.isRef(f))return n(x=>x===f,g);const{flush:p="sync",deep:m=!1,timeout:b,throwOnTimeout:h}=g??{};let w=null;const v=[new Promise(x=>{w=o.watch([t,f],([E,L])=>{e!==(E===L)&&(w?w():o.nextTick(()=>w?.()),x(E))},{flush:p,deep:m,immediate:!0})})];return b!=null&&v.push(Ge(b,h).then(()=>o.toValue(t)).finally(()=>(w?.(),o.toValue(t)))),Promise.race(v)}function a(f){return n(g=>!!g,f)}function i(f){return r(null,f)}function s(f){return r(void 0,f)}function l(f){return n(Number.isNaN,f)}function u(f,g){return n(p=>{const m=Array.from(p);return m.includes(f)||m.includes(o.toValue(f))},g)}function c(f){return d(1,f)}function d(f=1,g){let p=-1;return n(()=>(p+=1,p>=f),g)}return Array.isArray(o.toValue(t))?{toMatch:n,toContains:u,changed:c,changedTimes:d,get not(){return je(t,!e)}}:{toMatch:n,toBe:r,toBeTruthy:a,toBeNull:i,toBeNaN:l,toBeUndefined:s,changed:c,changedTimes:d,get not(){return je(t,!e)}}}function Ka(t){return je(t)}function Za(t,e=1e3,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n;let i=null;const s=o.shallowRef(!1);function l(){i&&(clearInterval(i),i=null)}function u(){s.value=!1,l()}function c(){const d=o.toValue(e);d<=0||(s.value=!0,a&&t(),l(),s.value&&(i=setInterval(t,d)))}if(r&&ft&&c(),o.isRef(e)||typeof e=="function"){const d=o.watch(e,()=>{s.value&&ft&&c()});Rt(d)}return Rt(u),{isActive:o.shallowReadonly(s),pause:u,resume:c}}function Xa(t,e,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n,i=o.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)},o.toValue(e))}return r&&(i.value=!0,ft&&c()),Rt(u),{isPending:o.shallowReadonly(i),start:c,stop:u}}function Ja(t,e,n){return o.watch(t,e,{...n,immediate:!0})}function Qa(t,e,n){return o.watch(t,e,{...n,once:!0})}function ti(t,e,n){const r=o.watch(t,(a,i,s)=>{a&&(n?.once&&o.nextTick(()=>r()),e(a,i,s))},{...n,once:!1});return r}const so=ft?window:void 0,ei=ft?window.document:void 0;function vt(t){var e;const n=o.toValue(t);return(e=n?.$el)!=null?e:n}function zt(...t){const e=[],n=()=>{e.forEach(l=>l()),e.length=0},r=(l,u,c,d)=>(l.addEventListener(u,c,d),()=>l.removeEventListener(u,c,d)),a=o.computed(()=>{const l=Fe(o.toValue(t[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),i=Ja(()=>{var l,u;return[(u=(l=a.value)==null?void 0:l.map(c=>vt(c)))!=null?u:[so].filter(c=>c!=null),Fe(o.toValue(a.value?t[1]:t[0])),Fe(o.unref(a.value?t[2]:t[1])),o.toValue(a.value?t[3]:t[2])]},([l,u,c,d])=>{if(n(),!l?.length||!u?.length||!c?.length)return;const f=Fa(d)?{...d}:d;e.push(...l.flatMap(g=>u.flatMap(p=>c.map(m=>r(g,p,m,f)))))},{flush:"post"}),s=()=>{i(),n()};return Rt(n),s}let lo=!1;function ni(t,e,n={}){const{window:r=so,ignore:a=[],capture:i=!0,detectIframe:s=!1,controls:l=!1}=n;if(!r)return l?{stop:Z,cancel:Z,trigger:Z}:Z;if(ja&&!lo){lo=!0;const h={passive:!0};Array.from(r.document.body.children).forEach(w=>w.addEventListener("click",Z,h)),r.document.documentElement.addEventListener("click",Z,h)}let u=!0;const c=h=>o.toValue(a).some(w=>{if(typeof w=="string")return Array.from(r.document.querySelectorAll(w)).some(O=>O===h.target||h.composedPath().includes(O));{const O=vt(w);return O&&(h.target===O||h.composedPath().includes(O))}});function d(h){const w=o.toValue(h);return w&&w.$.subTree.shapeFlag===16}function f(h,w){const O=o.toValue(h),v=O.$.subTree&&O.$.subTree.children;return v==null||!Array.isArray(v)?!1:v.some(x=>x.el===w.target||w.composedPath().includes(x.el))}const g=h=>{const w=vt(t);if(h.target!=null&&!(!(w instanceof Element)&&d(t)&&f(t,h))&&!(!w||w===h.target||h.composedPath().includes(w))){if("detail"in h&&h.detail===0&&(u=!c(h)),!u){u=!0;return}e(h)}};let p=!1;const m=[zt(r,"click",h=>{p||(p=!0,setTimeout(()=>{p=!1},0),g(h))},{passive:!0,capture:i}),zt(r,"pointerdown",h=>{const w=vt(t);u=!c(h)&&!!(w&&!h.composedPath().includes(w))},{passive:!0}),s&&zt(r,"blur",h=>{setTimeout(()=>{var w;const O=vt(t);((w=r.document.activeElement)==null?void 0:w.tagName)==="IFRAME"&&!O?.contains(r.document.activeElement)&&e(h)},0)},{passive:!0})].filter(Boolean),b=()=>m.forEach(h=>h());return l?{stop:b,cancel:()=>{u=!1},trigger:h=>{u=!0,g(h),u=!1}}:b}function co(t,e,n){const{immediate:r=!0,delay:a=0,onError:i=Z,onSuccess:s=Z,resetOnExecute:l=!0,shallow:u=!0,throwError:c}=n??{},d=u?o.shallowRef(e):o.ref(e),f=o.shallowRef(!1),g=o.shallowRef(!1),p=o.shallowRef(void 0);async function m(w=0,...O){l&&(d.value=e),p.value=void 0,f.value=!1,g.value=!0,w>0&&await Ge(w);const v=typeof t=="function"?t(...O):t;try{const x=await v;d.value=x,f.value=!0,s(x)}catch(x){if(p.value=x,i(x),c)throw x}finally{g.value=!1}return d.value}r&&m(a);const b={state:d,isReady:f,isLoading:g,error:p,execute:m,executeImmediate:(...w)=>m(0,...w)};function h(){return new Promise((w,O)=>{Ka(g).toBe(!1).then(()=>w(b)).catch(O)})}return{...b,then(w,O){return h().then(w,O)}}}function oi(t={}){const{document:e=ei}=t;if(!e)return o.shallowRef("visible");const n=o.shallowRef(e.visibilityState);return zt(e,"visibilitychange",()=>{n.value=e.visibilityState},{passive:!0}),n}async function ri(t){return new Promise((e,n)=>{const r=new Image,{src:a,srcset:i,sizes:s,class:l,loading:u,crossorigin:c,referrerPolicy:d,width:f,height:g,decoding:p,fetchPriority:m,ismap:b,usemap:h}=t;r.src=a,i!=null&&(r.srcset=i),s!=null&&(r.sizes=s),l!=null&&(r.className=l),u!=null&&(r.loading=u),c!=null&&(r.crossOrigin=c),d!=null&&(r.referrerPolicy=d),f!=null&&(r.width=f),g!=null&&(r.height=g),p!=null&&(r.decoding=p),m!=null&&(r.fetchPriority=m),b!=null&&(r.isMap=b),h!=null&&(r.useMap=h),r.onload=()=>e(r),r.onerror=n})}function ai(t,e={}){const n=co(()=>ri(o.toValue(t)),void 0,{resetOnExecute:!0,...e});return o.watch(()=>o.toValue(t),()=>n.execute(e.delay),{deep:!0}),n}const uo="ping";function Ue(t){return t===!0?{}:t}function ii(t,e={}){const{onConnected:n,onDisconnected:r,onError:a,onMessage:i,immediate:s=!0,autoConnect:l=!0,autoClose:u=!0,protocols:c=[]}=e,d=o.ref(null),f=o.shallowRef("CLOSED"),g=o.ref(),p=ao(t);let m,b,h=!1,w=0,O=[],v,x;const E=()=>{if(O.length&&g.value&&f.value==="OPEN"){for(const R of O)g.value.send(R);O=[]}},L=()=>{v!=null&&(clearTimeout(v),v=void 0)},B=()=>{clearTimeout(x),x=void 0},V=(R=1e3,U)=>{L(),!(!ft&&!ro||!g.value)&&(h=!0,B(),m?.(),g.value.close(R,U),g.value=void 0)},F=(R,U=!0)=>!g.value||f.value!=="OPEN"?(U&&O.push(R),!1):(E(),g.value.send(R),!0),M=()=>{if(h||typeof p.value>"u")return;const R=new WebSocket(p.value,c);g.value=R,f.value="CONNECTING",R.onopen=()=>{f.value="OPEN",w=0,n?.(R),b?.(),E()},R.onclose=U=>{if(f.value="CLOSED",B(),m?.(),r?.(R,U),!h&&e.autoReconnect&&(g.value==null||R===g.value)){const{retries:P=-1,delay:_=1e3,onFailed:S}=Ue(e.autoReconnect);(typeof P=="function"?P:()=>typeof P=="number"&&(P<0||w<P))(w)?(w+=1,v=setTimeout(M,_)):S?.()}},R.onerror=U=>{a?.(R,U)},R.onmessage=U=>{if(e.heartbeat){B();const{message:P=uo,responseMessage:_=P}=Ue(e.heartbeat);if(U.data===o.toValue(_))return}d.value=U.data,i?.(R,U)}};if(e.heartbeat){const{message:R=uo,interval:U=1e3,pongTimeout:P=1e3}=Ue(e.heartbeat),{pause:_,resume:S}=Za(()=>{F(o.toValue(R),!1),x==null&&(x=setTimeout(()=>{V(),h=!1},P))},U,{immediate:!1});m=_,b=S}u&&(ft&&zt("beforeunload",()=>V(),{passive:!0}),Rt(V));const D=()=>{!ft&&!ro||(V(),h=!1,w=0,M())};return s&&D(),l&&o.watch(p,D),{data:d,status:f,close:V,send:F,open:D,ws:g}}function si(t,e){const{open:n,close:r}=ii(o.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 o.watch(()=>o.unref(e).gameStatus,a=>{if(a===1)return n();r()},{immediate:!0}),{gameData:e}}function fo(t=[],e={}){const{delay:n=0}=e,r=o.ref(!1),a=o.computed(()=>{const l=o.unref(t);return Array.isArray(l)?l.map(u=>o.unref(u)).some(Boolean):l}),{start:i,stop:s}=Xa(()=>{r.value=!0},n);return o.watch(a,l=>{if(l)return i();s(),r.value=!1},{immediate:!0,deep:!0}),r}function et(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ne={exports:{}},li=ne.exports,mo;function po(){return mo||(mo=1,function(t,e){(function(n,r){t.exports=r()})(li,function(){var n=1e3,r=6e4,a=36e5,i="millisecond",s="second",l="minute",u="hour",c="day",d="week",f="month",g="quarter",p="year",m="date",b="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|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 _=["th","st","nd","rd"],S=P%100;return"["+P+(_[(S-20)%10]||_[S]||_[0])+"]"}},v=function(P,_,S){var k=String(P);return!k||k.length>=_?P:""+Array(_+1-k.length).join(S)+P},x={s:v,z:function(P){var _=-P.utcOffset(),S=Math.abs(_),k=Math.floor(S/60),A=S%60;return(_<=0?"+":"-")+v(k,2,"0")+":"+v(A,2,"0")},m:function P(_,S){if(_.date()<S.date())return-P(S,_);var k=12*(S.year()-_.year())+(S.month()-_.month()),A=_.clone().add(k,f),N=S-A<0,$=_.clone().add(k+(N?-1:1),f);return+(-(k+(S-A)/(N?A-$:$-A))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:f,y:p,w:d,d:c,D:m,h:u,m:l,s,ms:i,Q:g}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},E="en",L={};L[E]=O;var B="$isDayjsObject",V=function(P){return P instanceof R||!(!P||!P[B])},F=function P(_,S,k){var A;if(!_)return E;if(typeof _=="string"){var N=_.toLowerCase();L[N]&&(A=N),S&&(L[N]=S,A=N);var $=_.split("-");if(!A&&$.length>1)return P($[0])}else{var z=_.name;L[z]=_,A=z}return!k&&A&&(E=A),A||!k&&E},M=function(P,_){if(V(P))return P.clone();var S=typeof _=="object"?_:{};return S.date=P,S.args=arguments,new R(S)},D=x;D.l=F,D.i=V,D.w=function(P,_){return M(P,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var R=function(){function P(S){this.$L=F(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[B]=!0}var _=P.prototype;return _.parse=function(S){this.$d=function(k){var A=k.date,N=k.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(h);if($){var z=$[2]-1||0,Y=($[7]||"0").substring(0,3);return N?new Date(Date.UTC($[1],z,$[3]||1,$[4]||0,$[5]||0,$[6]||0,Y)):new Date($[1],z,$[3]||1,$[4]||0,$[5]||0,$[6]||0,Y)}}return new Date(A)}(S),this.init()},_.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},_.$utils=function(){return D},_.isValid=function(){return this.$d.toString()!==b},_.isSame=function(S,k){var A=M(S);return this.startOf(k)<=A&&A<=this.endOf(k)},_.isAfter=function(S,k){return M(S)<this.startOf(k)},_.isBefore=function(S,k){return this.endOf(k)<M(S)},_.$g=function(S,k,A){return D.u(S)?this[k]:this.set(A,S)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(S,k){var A=this,N=!!D.u(k)||k,$=D.p(S),z=function(_t,X){var gt=D.w(A.$u?Date.UTC(A.$y,X,_t):new Date(A.$y,X,_t),A);return N?gt:gt.endOf(c)},Y=function(_t,X){return D.w(A.toDate()[_t].apply(A.toDate("s"),(N?[0,0,0,0]:[23,59,59,999]).slice(X)),A)},W=this.$W,K=this.$M,tt=this.$D,Dt="set"+(this.$u?"UTC":"");switch($){case p:return N?z(1,0):z(31,11);case f:return N?z(1,K):z(0,K+1);case d:var kt=this.$locale().weekStart||0,Wt=(W<kt?W+7:W)-kt;return z(N?tt-Wt:tt+(6-Wt),K);case c:case m:return Y(Dt+"Hours",0);case u:return Y(Dt+"Minutes",1);case l:return Y(Dt+"Seconds",2);case s:return Y(Dt+"Milliseconds",3);default:return this.clone()}},_.endOf=function(S){return this.startOf(S,!1)},_.$set=function(S,k){var A,N=D.p(S),$="set"+(this.$u?"UTC":""),z=(A={},A[c]=$+"Date",A[m]=$+"Date",A[f]=$+"Month",A[p]=$+"FullYear",A[u]=$+"Hours",A[l]=$+"Minutes",A[s]=$+"Seconds",A[i]=$+"Milliseconds",A)[N],Y=N===c?this.$D+(k-this.$W):k;if(N===f||N===p){var W=this.clone().set(m,1);W.$d[z](Y),W.init(),this.$d=W.set(m,Math.min(this.$D,W.daysInMonth())).$d}else z&&this.$d[z](Y);return this.init(),this},_.set=function(S,k){return this.clone().$set(S,k)},_.get=function(S){return this[D.p(S)]()},_.add=function(S,k){var A,N=this;S=Number(S);var $=D.p(k),z=function(K){var tt=M(N);return D.w(tt.date(tt.date()+Math.round(K*S)),N)};if($===f)return this.set(f,this.$M+S);if($===p)return this.set(p,this.$y+S);if($===c)return z(1);if($===d)return z(7);var Y=(A={},A[l]=r,A[u]=a,A[s]=n,A)[$]||1,W=this.$d.getTime()+S*Y;return D.w(W,this)},_.subtract=function(S,k){return this.add(-1*S,k)},_.format=function(S){var k=this,A=this.$locale();if(!this.isValid())return A.invalidDate||b;var N=S||"YYYY-MM-DDTHH:mm:ssZ",$=D.z(this),z=this.$H,Y=this.$m,W=this.$M,K=A.weekdays,tt=A.months,Dt=A.meridiem,kt=function(X,gt,qt,Oe){return X&&(X[gt]||X(k,N))||qt[gt].slice(0,Oe)},Wt=function(X){return D.s(z%12||12,X,"0")},_t=Dt||function(X,gt,qt){var Oe=X<12?"AM":"PM";return qt?Oe.toLowerCase():Oe};return N.replace(w,function(X,gt){return gt||function(qt){switch(qt){case"YY":return String(k.$y).slice(-2);case"YYYY":return D.s(k.$y,4,"0");case"M":return W+1;case"MM":return D.s(W+1,2,"0");case"MMM":return kt(A.monthsShort,W,tt,3);case"MMMM":return kt(tt,W);case"D":return k.$D;case"DD":return D.s(k.$D,2,"0");case"d":return String(k.$W);case"dd":return kt(A.weekdaysMin,k.$W,K,2);case"ddd":return kt(A.weekdaysShort,k.$W,K,3);case"dddd":return K[k.$W];case"H":return String(z);case"HH":return D.s(z,2,"0");case"h":return Wt(1);case"hh":return Wt(2);case"a":return _t(z,Y,!0);case"A":return _t(z,Y,!1);case"m":return String(Y);case"mm":return D.s(Y,2,"0");case"s":return String(k.$s);case"ss":return D.s(k.$s,2,"0");case"SSS":return D.s(k.$ms,3,"0");case"Z":return $}return null}(X)||$.replace(":","")})},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(S,k,A){var N,$=this,z=D.p(k),Y=M(S),W=(Y.utcOffset()-this.utcOffset())*r,K=this-Y,tt=function(){return D.m($,Y)};switch(z){case p:N=tt()/12;break;case f:N=tt();break;case g:N=tt()/3;break;case d:N=(K-W)/6048e5;break;case c:N=(K-W)/864e5;break;case u:N=K/a;break;case l:N=K/r;break;case s:N=K/n;break;default:N=K}return A?N:D.a(N)},_.daysInMonth=function(){return this.endOf(f).$D},_.$locale=function(){return L[this.$L]},_.locale=function(S,k){if(!S)return this.$L;var A=this.clone(),N=F(S,k,!0);return N&&(A.$L=N),A},_.clone=function(){return D.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}(),U=R.prototype;return M.prototype=U,[["$ms",i],["$s",s],["$m",l],["$H",u],["$W",c],["$M",f],["$y",p],["$D",m]].forEach(function(P){U[P[1]]=function(_){return this.$g(_,P[0],P[1])}}),M.extend=function(P,_){return P.$i||(P(_,R,M),P.$i=!0),M},M.locale=F,M.isDayjs=V,M.unix=function(P){return M(1e3*P)},M.en=L[E],M.Ls=L,M.p={},M})}(ne)),ne.exports}var ci=po();const I=et(ci);var oe={exports:{}},ui=oe.exports,ho;function di(){return ho||(ho=1,function(t,e){(function(n,r){t.exports=r()})(ui,function(){return function(n,r){var a=r.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 fi=di();const mi=et(fi);var re={exports:{}},pi=re.exports,go;function hi(){return go||(go=1,function(t,e){(function(n,r){t.exports=r()})(pi,function(){return function(n,r,a){r.prototype.isBetween=function(i,s,l,u){var c=a(i),d=a(s),f=(u=u||"()")[0]==="(",g=u[1]===")";return(f?this.isAfter(c,l):!this.isBefore(c,l))&&(g?this.isBefore(d,l):!this.isAfter(d,l))||(f?this.isBefore(c,l):!this.isAfter(c,l))&&(g?this.isAfter(d,l):!this.isBefore(d,l))}}})}(re)),re.exports}var gi=hi();const yi=et(gi);var ae={exports:{}},bi=ae.exports,yo;function Ti(){return yo||(yo=1,function(t,e){(function(n,r){t.exports=r()})(bi,function(){return function(n,r){r.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})}(ae)),ae.exports}var wi=Ti();const Si=et(wi);var ie={exports:{}},Oi=ie.exports,bo;function Ai(){return bo||(bo=1,function(t,e){(function(n,r){t.exports=r()})(Oi,function(){return function(n,r,a){r.prototype.isToday=function(){var i="YYYY-MM-DD",s=a();return this.format(i)===s.format(i)}}})}(ie)),ie.exports}var ki=Ai();const _i=et(ki);var se={exports:{}},Pi=se.exports,To;function vi(){return To||(To=1,function(t,e){(function(n,r){t.exports=r()})(Pi,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(r,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,g){return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(p,m,b){var h=b&&b.toUpperCase();return m||g[b]||n[b]||g[h].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(w,O,v){return O||v.slice(1)})})}(u,c===void 0?{}:c);return l.call(this,d)}}})}(se)),se.exports}var xi=vi();const Ei=et(xi);var le={exports:{}},Ni=le.exports,wo;function $i(){return wo||(wo=1,function(t,e){(function(n,r){t.exports=r()})(Ni,function(){return function(n,r,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)}}})}(le)),le.exports}var Di=$i();const Mi=et(Di);var ce={exports:{}},Ci=ce.exports,So;function Li(){return So||(So=1,function(t,e){(function(n,r){t.exports=r()})(Ci,function(){return function(n,r,a){n=n||{};var i=r.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,g){return i.fromToBase(c,d,f,g)}a.en.relativeTime=s,i.fromToBase=function(c,d,f,g,p){for(var m,b,h,w=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"}],v=O.length,x=0;x<v;x+=1){var E=O[x];E.d&&(m=g?a(c).diff(f,E.d,!0):f.diff(c,E.d,!0));var L=(n.rounding||Math.round)(Math.abs(m));if(h=m>0,L<=E.r||!E.r){L<=1&&x>0&&(E=O[x-1]);var B=w[E.l];p&&(L=p(""+L)),b=typeof B=="string"?B.replace("%d",L):B(L,d,E.l,h);break}}if(d)return b;var V=h?w.future:w.past;return typeof V=="function"?V(b):V.replace("%s",b)},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)}}})}(ce)),ce.exports}var Ii=Li();const Bi=et(Ii);var ue={exports:{}},Ri=ue.exports,Oo;function zi(){return Oo||(Oo=1,function(t,e){(function(n,r){t.exports=r()})(Ri,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(a,i,s){var l,u=function(g,p,m){m===void 0&&(m={});var b=new Date(g),h=function(w,O){O===void 0&&(O={});var v=O.timeZoneName||"short",x=w+"|"+v,E=r[x];return E||(E=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:w,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:v}),r[x]=E),E}(p,m);return h.formatToParts(b)},c=function(g,p){for(var m=u(g,p),b=[],h=0;h<m.length;h+=1){var w=m[h],O=w.type,v=w.value,x=n[O];x>=0&&(b[x]=parseInt(v,10))}var E=b[3],L=E===24?0:E,B=b[0]+"-"+b[1]+"-"+b[2]+" "+L+":"+b[4]+":"+b[5]+":000",V=+g;return(s.utc(B).valueOf()-(V-=V%1e3))/6e4},d=i.prototype;d.tz=function(g,p){g===void 0&&(g=l);var m,b=this.utcOffset(),h=this.toDate(),w=h.toLocaleString("en-US",{timeZone:g}),O=Math.round((h-new Date(w))/1e3/60),v=15*-Math.round(h.getTimezoneOffset()/15)-O;if(!Number(v))m=this.utcOffset(0,p);else if(m=s(w,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(v,!0),p){var x=m.utcOffset();m=m.add(b-x,"minute")}return m.$x.$timezone=g,m},d.offsetName=function(g){var p=this.$x.$timezone||s.tz.guess(),m=u(this.valueOf(),p,{timeZoneName:g}).find(function(b){return b.type.toLowerCase()==="timezonename"});return m&&m.value};var f=d.startOf;d.startOf=function(g,p){if(!this.$x||!this.$x.$timezone)return f.call(this,g,p);var m=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return f.call(m,g,p).tz(this.$x.$timezone,!0)},s.tz=function(g,p,m){var b=m&&p,h=m||p||l,w=c(+s(),h);if(typeof g!="string")return s(g).tz(h);var O=function(L,B,V){var F=L-60*B*1e3,M=c(F,V);if(B===M)return[F,B];var D=c(F-=60*(M-B)*1e3,V);return M===D?[F,M]:[L-60*Math.min(M,D)*1e3,Math.max(M,D)]}(s.utc(g,b).valueOf(),w,h),v=O[0],x=O[1],E=s(v).utcOffset(x);return E.$x.$timezone=h,E},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(g){l=g}}})}(ue)),ue.exports}var Vi=zi();const Gi=et(Vi);var de={exports:{}},Fi=de.exports,Ao;function ji(){return Ao||(Ao=1,function(t,e){(function(n,r){t.exports=r()})(Fi,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(i,s,l){var u=s.prototype;l.utc=function(b){var h={date:b,utc:!0,args:arguments};return new s(h)},u.utc=function(b){var h=l(this.toDate(),{locale:this.$L,utc:!0});return b?h.add(this.utcOffset(),n):h},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(b){b.utc&&(this.$u=!0),this.$utils().u(b.$offset)||(this.$offset=b.$offset),c.call(this,b)};var d=u.init;u.init=function(){if(this.$u){var b=this.$d;this.$y=b.getUTCFullYear(),this.$M=b.getUTCMonth(),this.$D=b.getUTCDate(),this.$W=b.getUTCDay(),this.$H=b.getUTCHours(),this.$m=b.getUTCMinutes(),this.$s=b.getUTCSeconds(),this.$ms=b.getUTCMilliseconds()}else d.call(this)};var f=u.utcOffset;u.utcOffset=function(b,h){var w=this.$utils().u;if(w(b))return this.$u?0:w(this.$offset)?f.call(this):this.$offset;if(typeof b=="string"&&(b=function(E){E===void 0&&(E="");var L=E.match(r);if(!L)return null;var B=(""+L[0]).match(a)||["-",0,0],V=B[0],F=60*+B[1]+ +B[2];return F===0?0:V==="+"?F:-F}(b),b===null))return this;var O=Math.abs(b)<=16?60*b:b,v=this;if(h)return v.$offset=O,v.$u=b===0,v;if(b!==0){var x=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(v=this.local().add(O+x,n)).$offset=O,v.$x.$localOffset=x}else v=this.utc();return v};var g=u.format;u.format=function(b){var h=b||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return g.call(this,h)},u.valueOf=function(){var b=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*b},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var p=u.toDate;u.toDate=function(b){return b==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var m=u.diff;u.diff=function(b,h,w){if(b&&this.$u===b.$u)return m.call(this,b,h,w);var O=this.local(),v=l(b).local();return m.call(O,v,h,w)}}})}(de)),de.exports}var Ui=ji();const Hi=et(Ui);var fe={exports:{}},Yi=fe.exports,ko;function Wi(){return ko||(ko=1,function(t,e){(function(n,r){t.exports=r()})(Yi,function(){return function(n,r){r.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")}}})}(fe)),fe.exports}var qi=Wi();const Ki=et(qi);var me={exports:{}},Zi=me.exports,_o;function Xi(){return _o||(_o=1,function(t,e){(function(n,r){t.exports=r(po())})(Zi,function(n){function r(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=r(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}Xi(),I.extend(Hi),I.extend(Gi),I.extend(mi),I.extend(Bi),I.extend(Ei),I.extend(Si),I.extend(yi),I.extend(_i),I.extend(Ki),I.extend(Mi);const Po=()=>I.tz.guess();function Tt(t="",e="",n="",r="hu"){return n=n||I.tz.guess(),I(t).isValid()?I(t).tz(n).locale(r).format(e):""}function Vt(t="",e="",n="hu"){if(!I(t).isValid())return"";e=e||I.tz.guess();const a=new Intl.DateTimeFormat(Ji(n),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(i=>i.type==="timeZoneName");return a&&a.value}function Ji(t){return yn.get(t)}function He(t){const e=t.split(":");return Number.parseInt(e[0],10)*60+Number.parseInt(e[1],10)}function vo(t){const e=~~(t/60),n=~~t%60;return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function xo(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 Ye(t,e="day"){return I().isSameOrBefore(I(t),e)}function Eo(t,e,n,r="[]"){return I(t).isBetween(e,I(n),"day",r)}function Qi(t,e,n="month"){return I(t).isSame(e,n)}function ts(t,e="hu"){return I(t).locale(e).toNow(!0)}function es(t,e,n="day"){return I(t).isBefore(e,n)}function ns(t,e,n="day"){return I(t).isAfter(e,n)}function os(t){return I(t).isToday()}function rs(t){const e=I().weekday(1),n=I().weekday(7);return Eo(t,e,n)}function as(t){const e=I(t).weekday(1),n=I(t).weekday(7);return{startDate:e,endDate:n}}function is(t,e){return I(t).subtract(e,"day")}function ss(t,e){return I(t).add(e,"day")}function ls(t){return I(t).startOf("month")}function cs(t){return I(t).endOf("month")}function us(t){return Array.isArray(t)&&(t=t.map(e=>I(e))),I.min(t)}function ds(t){return Array.isArray(t)&&(t=t.map(e=>I(e))),I.max(...t)}function fs(t={}){const{initial:e=1,items:n=[],limit:r,auto:a=!1}=t,i=o.ref(o.unref(e)),s=c=>Ye(c,"day");return Qa(n,()=>{if(!a)return;const c=Sa(Hn(s,"gameDate"))(o.unref(n));i.value=c===-1?1:Math.floor(c/r)+1}),{page:i,change:c=>{i.value=c}}}function ms({currentPage:t,itemsPerPage:e=20,totalItems:n,rangeLength:r=5,update:a=Z}){const i=o.computed(()=>Math.ceil(o.unref(n)/e)),s=o.computed(()=>{const d=o.unref(t)-1,f=Array.from({length:i.value},(m,b)=>b+1),g=Math.floor(r/2);let p=Math.max(d-g,0);return p+r>=i.value&&(p=Math.max(i.value-r,0)),f.slice(p,p+r)}),l=d=>{const f=o.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 ps(t={}){const{items:e=[],element:n,offset:r=0,enabled:a=!0}=t,i=l=>Ye(l,"day"),s=()=>{if(!o.unref(a))return;const l=ba(Hn(i,"gameDate"))(o.unref(e));if(!l)return;const u=Tt(l.gameDate,"YYYY-MM-DD"),c=vt(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)-o.unref(r)-Number.parseFloat(d);window.scrollTo(0,f)};qa(()=>({items:o.unref(e),element:o.unref(n)}),async({items:l,element:u})=>{l.length===0||!u||(await o.nextTick(),s())})}function hs({options:t={},transform:e=a=>a,onError:n=Z,onSuccess:r=Z}){const{path:a,apiKey:i,params:s,resetOnExecute:l=!1,immediate:u=!1}=t,{state:c,error:d,isLoading:f,execute:g}=co(()=>oo(a,i,o.unref(s)).then(p=>e(p)),[],{immediate:u,resetOnExecute:l,onError:n,onSuccess:r});return{state:c,error:d,isLoading:f,execute:g}}/*! *****************************************************************************
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}}/*! *****************************************************************************
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(T,o){"use strict";const Ae="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 We(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r,a,i=n.call(t),s=[];try{for(;(e===void 0||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(l){a={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s}var No;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(No||(No={}));var gs={type:"xstate.init"};function pe(t){return t===void 0?[]:[].concat(t)}function $o(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 qe(t){return function(e){return t===e}}function ys(t){return typeof t=="string"?{type:t}:t}function Do(t,e){return{value:t,context:e,actions:[],changed:!1,matches:qe(t)}}function Mo(t,e,n){var r=e,a=!1;return[t.filter(function(i){if(i.type==="xstate.assign"){a=!0;var s=Object.assign({},r);return typeof i.assignment=="function"?s=i.assignment(r,n):Object.keys(i.assignment).forEach(function(l){s[l]=typeof i.assignment[l]=="function"?i.assignment[l](r,n):i.assignment[l]}),r=s,!1}return!0}),r,a]}function bs(t,e){e===void 0&&(e={});var n=We(Mo(pe(t.states[t.initial].entry).map(function(s){return $o(s,e.actions)}),t.context,gs),2),r=n[0],a=n[1],i={config:t,_options:e,initialState:{value:t.initial,actions:r,context:a,matches:qe(t.initial)},transition:function(s,l){var u,c,d=typeof s=="string"?{value:s,context:t.context}:s,f=d.value,g=d.context,p=ys(l),m=t.states[f];if(m.on){var b=pe(m.on[p.type]);"*"in m.on&&b.push.apply(b,function(k,A,N){if(arguments.length===2)for(var $,z=0,Y=A.length;z<Y;z++)!$&&z in A||($||($=Array.prototype.slice.call(A,0,z)),$[z]=A[z]);return k.concat($||Array.prototype.slice.call(A))}([],We(pe(m.on["*"])),!1));try{for(var h=function(k){var A=typeof Symbol=="function"&&Symbol.iterator,N=A&&k[A],$=0;if(N)return N.call(k);if(k&&typeof k.length=="number")return{next:function(){return k&&$>=k.length&&(k=void 0),{value:k&&k[$++],done:!k}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}(b),w=h.next();!w.done;w=h.next()){var O=w.value;if(O===void 0)return Do(f,g);var v=typeof O=="string"?{target:O}:O,x=v.target,E=v.actions,L=E===void 0?[]:E,B=v.cond,V=B===void 0?function(){return!0}:B,F=x===void 0,M=x??f,D=t.states[M];if(V(g,p)){var R=We(Mo((F?pe(L):[].concat(m.exit,L,D.entry).filter(function(k){return k})).map(function(k){return $o(k,i._options.actions)}),g,p),3),U=R[0],P=R[1],_=R[2],S=x??f;return{value:S,context:P,actions:U,changed:x!==f||U.length>0||_,matches:qe(S)}}}}catch(k){u={error:k}}finally{try{w&&!w.done&&(c=h.return)&&c.call(h)}finally{if(u)throw u.error}}}return Do(f,g)}};return i}const Ts=bs({id:"sort",initial:ct,states:{[ct]:{on:{DIRECTION1:y,DIRECTION2:C}},[y]:{on:{DIRECTION1:C,DIRECTION2:ct}},[C]:{on:{DIRECTION1:ct,DIRECTION2:y}}}});function ws(t,e){const n=e===C?"DIRECTION2":"DIRECTION1";return Ts.transition(t,n).value}function Ss(t={}){const{sortTarget:e=null,orders:n=[]}=t,r=o.reactive({sortTarget:e,orders:n});return{sort:r,change:({target:i,orders:s})=>{if(r.sortTarget!==i){r.sortTarget=i,r.orders=s;return}const l=s.map((u,c)=>({...u,direction:ws(r.orders[c].direction,u.direction)}));r.sortTarget=i,r.orders=l}}}function Os(t=!1,e=Z,n=Z){const r=oi();o.watch(r,a=>{if(o.unref(t)){if(a==="visible")return e();n()}})}const As=["textContent"],ks={__name:"AdditionalStandingsText",props:{rows:{type:Array,default:()=>[]},additionalKey:{type:String,required:!0}},setup(t){const e=t,n=o.toRef(e,"rows"),{t:r,locale:a}=at(),{isVisible:i,text:s}=qn(n,e.additionalKey,r,a);return(l,u)=>o.unref(i)?(o.openBlock(),o.createElementBlock("div",{key:0,class:"is-text-xs is-text-light is-mt-5 is-mb-5",textContent:o.toDisplayString(o.unref(s))},null,8,As)):o.createCommentVNode("",!0)}},Co={__name:"BaseSelect",props:{modelValue:{type:[String,Number],default:null}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,r=e,a=o.computed({get:()=>n.modelValue,set:i=>r("update:modelValue",i)});return(i,s)=>o.withDirectives((o.openBlock(),o.createElementBlock("select",{"onUpdate:modelValue":s[0]||(s[0]=l=>a.value=l),class:"base-input is-select"},[o.renderSlot(i.$slots,"default")],512)),[[o.vModelSelect,a.value]])}},_s={"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 Ps(t,e){return o.openBlock(),o.createElementBlock("svg",_s,[...e[0]||(e[0]=[o.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 Lo={render:Ps},vs={"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 xs(t,e){return o.openBlock(),o.createElementBlock("svg",vs,[...e[0]||(e[0]=[o.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 Es={render:xs},Ns={"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 $s(t,e){return o.openBlock(),o.createElementBlock("svg",Ns,[...e[0]||(e[0]=[o.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 Ds={render:$s},xt=Math.min,wt=Math.max,he=Math.round,ge=Math.floor,it=t=>({x:t,y:t}),Ms={left:"right",right:"left",bottom:"top",top:"bottom"},Cs={start:"end",end:"start"};function Ke(t,e,n){return wt(t,xt(e,n))}function Gt(t,e){return typeof t=="function"?t(e):t}function St(t){return t.split("-")[0]}function Ft(t){return t.split("-")[1]}function Io(t){return t==="x"?"y":"x"}function Ze(t){return t==="y"?"height":"width"}const Ls=new Set(["top","bottom"]);function pt(t){return Ls.has(St(t))?"y":"x"}function Xe(t){return Io(pt(t))}function Is(t,e,n){n===void 0&&(n=!1);const r=Ft(t),a=Xe(t),i=Ze(a);let s=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=ye(s)),[s,ye(s)]}function Bs(t){const e=ye(t);return[Je(t),e,Je(e)]}function Je(t){return t.replace(/start|end/g,e=>Cs[e])}const Bo=["left","right"],Ro=["right","left"],Rs=["top","bottom"],zs=["bottom","top"];function Vs(t,e,n){switch(t){case"top":case"bottom":return n?e?Ro:Bo:e?Bo:Ro;case"left":case"right":return e?Rs:zs;default:return[]}}function Gs(t,e,n,r){const a=Ft(t);let i=Vs(St(t),n==="start",r);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(Je)))),i}function ye(t){return t.replace(/left|right|bottom|top/g,e=>Ms[e])}function Fs(t){return{top:0,right:0,bottom:0,left:0,...t}}function zo(t){return typeof t!="number"?Fs(t):{top:t,right:t,bottom:t,left:t}}function be(t){const{x:e,y:n,width:r,height:a}=t;return{width:r,height:a,top:n,left:e,right:e+r,bottom:n+a,x:e,y:n}}function Vo(t,e,n){let{reference:r,floating:a}=t;const i=pt(e),s=Xe(e),l=Ze(s),u=St(e),c=i==="y",d=r.x+r.width/2-a.width/2,f=r.y+r.height/2-a.height/2,g=r[l]/2-a[l]/2;let p;switch(u){case"top":p={x:d,y:r.y-a.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-a.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Ft(e)){case"start":p[s]-=g*(n&&c?-1:1);break;case"end":p[s]+=g*(n&&c?-1:1);break}return p}const js=async(t,e,n)=>{const{placement:r="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}=Vo(c,r,u),g=r,p={},m=0;for(let b=0;b<l.length;b++){const{name:h,fn:w}=l[b],{x:O,y:v,data:x,reset:E}=await w({x:d,y:f,initialPlacement:r,placement:g,strategy:a,middlewareData:p,rects:c,platform:s,elements:{reference:t,floating:e}});d=O??d,f=v??f,p={...p,[h]:{...p[h],...x}},E&&m<=50&&(m++,typeof E=="object"&&(E.placement&&(g=E.placement),E.rects&&(c=E.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):E.rects),{x:d,y:f}=Vo(c,g,u)),b=-1)}return{x:d,y:f,placement:g,strategy:a,middlewareData:p}};async function Go(t,e){var n;e===void 0&&(e={});const{x:r,y:a,platform:i,rects:s,elements:l,strategy:u}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:g=!1,padding:p=0}=Gt(e,t),m=zo(p),h=l[g?f==="floating"?"reference":"floating":f],w=be(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(h)))==null||n?h:h.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),O=f==="floating"?{x:r,y:a,width:s.floating.width,height:s.floating.height}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),x=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},E=be(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:O,offsetParent:v,strategy:u}):O);return{top:(w.top-E.top+m.top)/x.y,bottom:(E.bottom-w.bottom+m.bottom)/x.y,left:(w.left-E.left+m.left)/x.x,right:(E.right-w.right+m.right)/x.x}}const Us=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:a,rects:i,platform:s,elements:l,middlewareData:u}=e,{element:c,padding:d=0}=Gt(t,e)||{};if(c==null)return{};const f=zo(d),g={x:n,y:r},p=Xe(a),m=Ze(p),b=await s.getDimensions(c),h=p==="y",w=h?"top":"left",O=h?"bottom":"right",v=h?"clientHeight":"clientWidth",x=i.reference[m]+i.reference[p]-g[p]-i.floating[m],E=g[p]-i.reference[p],L=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let B=L?L[v]:0;(!B||!await(s.isElement==null?void 0:s.isElement(L)))&&(B=l.floating[v]||i.floating[m]);const V=x/2-E/2,F=B/2-b[m]/2-1,M=xt(f[w],F),D=xt(f[O],F),R=M,U=B-b[m]-D,P=B/2-b[m]/2+V,_=Ke(R,P,U),S=!u.arrow&&Ft(a)!=null&&P!==_&&i.reference[m]/2-(P<R?M:D)-b[m]/2<0,k=S?P<R?P-R:P-U:0;return{[p]:g[p]+k,data:{[p]:_,centerOffset:P-_-k,...S&&{alignmentOffset:k}},reset:S}}}),Hs=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:a,middlewareData:i,rects:s,initialPlacement:l,platform:u,elements:c}=e,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:b=!0,...h}=Gt(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const w=St(a),O=pt(l),v=St(l)===l,x=await(u.isRTL==null?void 0:u.isRTL(c.floating)),E=g||(v||!b?[ye(l)]:Bs(l)),L=m!=="none";!g&&L&&E.push(...Gs(l,b,m,x));const B=[l,...E],V=await Go(e,h),F=[];let M=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&F.push(V[w]),f){const P=Is(a,s,x);F.push(V[P[0]],V[P[1]])}if(M=[...M,{placement:a,overflows:F}],!F.every(P=>P<=0)){var D,R;const P=(((D=i.flip)==null?void 0:D.index)||0)+1,_=B[P];if(_&&(!(f==="alignment"?O!==pt(_):!1)||M.every(A=>A.overflows[0]>0&&pt(A.placement)===O)))return{data:{index:P,overflows:M},reset:{placement:_}};let S=(R=M.filter(k=>k.overflows[0]<=0).sort((k,A)=>k.overflows[1]-A.overflows[1])[0])==null?void 0:R.placement;if(!S)switch(p){case"bestFit":{var U;const k=(U=M.filter(A=>{if(L){const N=pt(A.placement);return N===O||N==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(N=>N>0).reduce((N,$)=>N+$,0)]).sort((A,N)=>A[1]-N[1])[0])==null?void 0:U[0];k&&(S=k);break}case"initialPlacement":S=l;break}if(a!==S)return{reset:{placement:S}}}return{}}}},Ys=new Set(["left","top"]);async function Ws(t,e){const{placement:n,platform:r,elements:a}=t,i=await(r.isRTL==null?void 0:r.isRTL(a.floating)),s=St(n),l=Ft(n),u=pt(n)==="y",c=Ys.has(s)?-1:1,d=i&&u?-1:1,f=Gt(e,t);let{mainAxis:g,crossAxis:p,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"&&(p=l==="end"?m*-1:m),u?{x:p*d,y:g*c}:{x:g*c,y:p*d}}const qs=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:a,y:i,placement:s,middlewareData:l}=e,u=await Ws(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:a+u.x,y:i+u.y,data:{...u,placement:s}}}}},Ks=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:h=>{let{x:w,y:O}=h;return{x:w,y:O}}},...u}=Gt(t,e),c={x:n,y:r},d=await Go(e,u),f=pt(St(a)),g=Io(f);let p=c[g],m=c[f];if(i){const h=g==="y"?"top":"left",w=g==="y"?"bottom":"right",O=p+d[h],v=p-d[w];p=Ke(O,p,v)}if(s){const h=f==="y"?"top":"left",w=f==="y"?"bottom":"right",O=m+d[h],v=m-d[w];m=Ke(O,m,v)}const b=l.fn({...e,[g]:p,[f]:m});return{...b,data:{x:b.x-n,y:b.y-r,enabled:{[g]:i,[f]:s}}}}}};function Te(){return typeof window<"u"}function Et(t){return Fo(t)?(t.nodeName||"").toLowerCase():"#document"}function J(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function st(t){var e;return(e=(Fo(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Fo(t){return Te()?t instanceof Node||t instanceof J(t).Node:!1}function nt(t){return Te()?t instanceof Element||t instanceof J(t).Element:!1}function lt(t){return Te()?t instanceof HTMLElement||t instanceof J(t).HTMLElement:!1}function jo(t){return!Te()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof J(t).ShadowRoot}const Zs=new Set(["inline","contents"]);function jt(t){const{overflow:e,overflowX:n,overflowY:r,display:a}=ot(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!Zs.has(a)}const Xs=new Set(["table","td","th"]);function Js(t){return Xs.has(Et(t))}const Qs=[":popover-open",":modal"];function we(t){return Qs.some(e=>{try{return t.matches(e)}catch{return!1}})}const tl=["transform","translate","scale","rotate","perspective"],el=["transform","translate","scale","rotate","perspective","filter"],nl=["paint","layout","strict","content"];function Qe(t){const e=tn(),n=nt(t)?ot(t):t;return tl.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||el.some(r=>(n.willChange||"").includes(r))||nl.some(r=>(n.contain||"").includes(r))}function ol(t){let e=ht(t);for(;lt(e)&&!Nt(e);){if(Qe(e))return e;if(we(e))return null;e=ht(e)}return null}function tn(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const rl=new Set(["html","body","#document"]);function Nt(t){return rl.has(Et(t))}function ot(t){return J(t).getComputedStyle(t)}function Se(t){return nt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ht(t){if(Et(t)==="html")return t;const e=t.assignedSlot||t.parentNode||jo(t)&&t.host||st(t);return jo(e)?e.host:e}function Uo(t){const e=ht(t);return Nt(e)?t.ownerDocument?t.ownerDocument.body:t.body:lt(e)&&jt(e)?e:Uo(e)}function Ut(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=Uo(t),i=a===((r=t.ownerDocument)==null?void 0:r.body),s=J(a);if(i){const l=en(s);return e.concat(s,s.visualViewport||[],jt(a)?a:[],l&&n?Ut(l):[])}return e.concat(a,Ut(a,[],n))}function en(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Ho(t){const e=ot(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const a=lt(t),i=a?t.offsetWidth:n,s=a?t.offsetHeight:r,l=he(n)!==i||he(r)!==s;return l&&(n=i,r=s),{width:n,height:r,$:l}}function nn(t){return nt(t)?t:t.contextElement}function $t(t){const e=nn(t);if(!lt(e))return it(1);const n=e.getBoundingClientRect(),{width:r,height:a,$:i}=Ho(e);let s=(i?he(n.width):n.width)/r,l=(i?he(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const al=it(0);function Yo(t){const e=J(t);return!tn()||!e.visualViewport?al:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function il(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==J(t)?!1:e}function Ot(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),i=nn(t);let s=it(1);e&&(r?nt(r)&&(s=$t(r)):s=$t(t));const l=il(i,n,r)?Yo(i):it(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 g=J(i),p=r&&nt(r)?J(r):r;let m=g,b=en(m);for(;b&&r&&p!==m;){const h=$t(b),w=b.getBoundingClientRect(),O=ot(b),v=w.left+(b.clientLeft+parseFloat(O.paddingLeft))*h.x,x=w.top+(b.clientTop+parseFloat(O.paddingTop))*h.y;u*=h.x,c*=h.y,d*=h.x,f*=h.y,u+=v,c+=x,m=J(b),b=en(m)}}return be({width:d,height:f,x:u,y:c})}function on(t,e){const n=Se(t).scrollLeft;return e?e.left+n:Ot(st(t)).left+n}function Wo(t,e,n){n===void 0&&(n=!1);const r=t.getBoundingClientRect(),a=r.left+e.scrollLeft-(n?0:on(t,r)),i=r.top+e.scrollTop;return{x:a,y:i}}function sl(t){let{elements:e,rect:n,offsetParent:r,strategy:a}=t;const i=a==="fixed",s=st(r),l=e?we(e.floating):!1;if(r===s||l&&i)return n;let u={scrollLeft:0,scrollTop:0},c=it(1);const d=it(0),f=lt(r);if((f||!f&&!i)&&((Et(r)!=="body"||jt(s))&&(u=Se(r)),lt(r))){const p=Ot(r);c=$t(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const g=s&&!f&&!i?Wo(s,u,!0):it(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+g.x,y:n.y*c.y-u.scrollTop*c.y+d.y+g.y}}function ll(t){return Array.from(t.getClientRects())}function cl(t){const e=st(t),n=Se(t),r=t.ownerDocument.body,a=wt(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=wt(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+on(t);const l=-n.scrollTop;return ot(r).direction==="rtl"&&(s+=wt(e.clientWidth,r.clientWidth)-a),{width:a,height:i,x:s,y:l}}function ul(t,e){const n=J(t),r=st(t),a=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,l=0,u=0;if(a){i=a.width,s=a.height;const c=tn();(!c||c&&e==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:i,height:s,x:l,y:u}}const dl=new Set(["absolute","fixed"]);function fl(t,e){const n=Ot(t,!0,e==="fixed"),r=n.top+t.clientTop,a=n.left+t.clientLeft,i=lt(t)?$t(t):it(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,u=a*i.x,c=r*i.y;return{width:s,height:l,x:u,y:c}}function qo(t,e,n){let r;if(e==="viewport")r=ul(t,n);else if(e==="document")r=cl(st(t));else if(nt(e))r=fl(e,n);else{const a=Yo(t);r={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return be(r)}function Ko(t,e){const n=ht(t);return n===e||!nt(n)||Nt(n)?!1:ot(n).position==="fixed"||Ko(n,e)}function ml(t,e){const n=e.get(t);if(n)return n;let r=Ut(t,[],!1).filter(l=>nt(l)&&Et(l)!=="body"),a=null;const i=ot(t).position==="fixed";let s=i?ht(t):t;for(;nt(s)&&!Nt(s);){const l=ot(s),u=Qe(s);!u&&l.position==="fixed"&&(a=null),(i?!u&&!a:!u&&l.position==="static"&&!!a&&dl.has(a.position)||jt(s)&&!u&&Ko(t,s))?r=r.filter(d=>d!==s):a=l,s=ht(s)}return e.set(t,r),r}function pl(t){let{element:e,boundary:n,rootBoundary:r,strategy:a}=t;const s=[...n==="clippingAncestors"?we(e)?[]:ml(e,this._c):[].concat(n),r],l=s[0],u=s.reduce((c,d)=>{const f=qo(e,d,a);return c.top=wt(f.top,c.top),c.right=xt(f.right,c.right),c.bottom=xt(f.bottom,c.bottom),c.left=wt(f.left,c.left),c},qo(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function hl(t){const{width:e,height:n}=Ho(t);return{width:e,height:n}}function gl(t,e,n){const r=lt(e),a=st(e),i=n==="fixed",s=Ot(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const u=it(0);function c(){u.x=on(a)}if(r||!r&&!i)if((Et(e)!=="body"||jt(a))&&(l=Se(e)),r){const p=Ot(e,!0,i,e);u.x=p.x+e.clientLeft,u.y=p.y+e.clientTop}else a&&c();i&&!r&&a&&c();const d=a&&!r&&!i?Wo(a,l):it(0),f=s.left+l.scrollLeft-u.x-d.x,g=s.top+l.scrollTop-u.y-d.y;return{x:f,y:g,width:s.width,height:s.height}}function rn(t){return ot(t).position==="static"}function Zo(t,e){if(!lt(t)||ot(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return st(t)===n&&(n=n.ownerDocument.body),n}function Xo(t,e){const n=J(t);if(we(t))return n;if(!lt(t)){let a=ht(t);for(;a&&!Nt(a);){if(nt(a)&&!rn(a))return a;a=ht(a)}return n}let r=Zo(t,e);for(;r&&Js(r)&&rn(r);)r=Zo(r,e);return r&&Nt(r)&&rn(r)&&!Qe(r)?n:r||ol(t)||n}const yl=async function(t){const e=this.getOffsetParent||Xo,n=this.getDimensions,r=await n(t.floating);return{reference:gl(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function bl(t){return ot(t).direction==="rtl"}const Tl={convertOffsetParentRelativeRectToViewportRelativeRect:sl,getDocumentElement:st,getClippingRect:pl,getOffsetParent:Xo,getElementRects:yl,getClientRects:ll,getDimensions:hl,getScale:$t,isElement:nt,isRTL:bl};function Jo(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,r;const a=st(t);function i(){var l;clearTimeout(r),(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:g,height:p}=c;if(l||e(),!g||!p)return;const m=ge(f),b=ge(a.clientWidth-(d+g)),h=ge(a.clientHeight-(f+p)),w=ge(d),v={rootMargin:-m+"px "+-b+"px "+-h+"px "+-w+"px",threshold:wt(0,xt(1,u))||1};let x=!0;function E(L){const B=L[0].intersectionRatio;if(B!==u){if(!x)return s();B?s(!1,B):r=setTimeout(()=>{s(!1,1e-7)},1e3)}B===1&&!Jo(c,t.getBoundingClientRect())&&s(),x=!1}try{n=new IntersectionObserver(E,{...v,root:a.ownerDocument})}catch{n=new IntersectionObserver(E,v)}n.observe(t)}return s(!0),i}function Sl(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,c=nn(t),d=a||i?[...c?Ut(c):[],...Ut(e)]:[];d.forEach(w=>{a&&w.addEventListener("scroll",n,{passive:!0}),i&&w.addEventListener("resize",n)});const f=c&&l?wl(c,n):null;let g=-1,p=null;s&&(p=new ResizeObserver(w=>{let[O]=w;O&&O.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var v;(v=p)==null||v.observe(e)})),n()}),c&&!u&&p.observe(c),p.observe(e));let m,b=u?Ot(t):null;u&&h();function h(){const w=Ot(t);b&&!Jo(b,w)&&n(),b=w,m=requestAnimationFrame(h)}return n(),()=>{var w;d.forEach(O=>{a&&O.removeEventListener("scroll",n),i&&O.removeEventListener("resize",n)}),f?.(),(w=p)==null||w.disconnect(),p=null,u&&cancelAnimationFrame(m)}}const Ol=qs,Al=Ks,kl=Hs,Qo=Us,_l=(t,e,n)=>{const r=new Map,a={platform:Tl,...n},i={...a.platform,_c:r};return js(t,e,{...a,platform:i})};function tr(t,e="body"){if(!t)return;if(typeof e!="string"){e?.append(t);return}document.querySelector(e)?.append(t)}function Pl(t,e=()=>({})){return t.slice().sort((n,r)=>{const a=e(n),i=e(r);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 vl({middleware:t,placement:e=null,strategy:n,append:r,enabled:a}){const i=o.ref(null),s=o.ref(null),l=o.ref(null),u=o.ref(null),c=o.ref(null),d=o.ref(null),f=o.ref(null),g=o.ref(n??"absolute"),p=o.ref(null),m=()=>{!i.value||!s.value||_l(i.value,s.value,{middleware:t,placement:e,strategy:n}).then(h=>{l.value=h.x,u.value=h.y,g.value=h.strategy,c.value=h.middlewareData.arrow.x,d.value=h.middlewareData.arrow.y,f.value=h.placement})};o.watch(()=>({reference:o.unref(i),floating:o.unref(s),append:o.unref(r)}),({floating:h,append:w})=>{w&&tr(h,w),m()},{flush:"post"}),o.watch(a,h=>{if(!(!i.value||!s.value)){if(!h)return b();p.value=Sl(i.value,s.value,m,{})}},{flush:"post"});function b(){p.value?.(),p.value=null}return{x:l,y:u,arrowX:c,arrowY:d,placement:f,reference:i,floating:s,strategy:g,update:m}}function xl(t){const{element:e,padding:n}=t;return{name:"arrow",options:t,fn(r){return o.isRef(e)?e.value!=null?Qo({element:e.value,padding:n}).fn(r):{}:e?Qo({element:e,padding:n}).fn(r):{}}}}const El=["data-placement"],an={__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=o.ref(!1),r=o.ref(null),{x:a,y:i,arrowX:s,arrowY:l,placement:u,reference:c,floating:d,strategy:f}=vl({placement:e.placement,middleware:[kl(),Al({padding:5}),Ol(e.offset),xl({element:r,padding:5})],append:o.computed(()=>e.appendTo),enabled:n});function g(){e.disabled||n.value||(n.value=!0)}function p(h){n.value&&h&&(n.value=!1)}function m(h){c.value=h}const b={mouseenter:g,mouseleave:p,focus:g,blur:p};return ni(d,h=>{c.value?.contains(h.target)||p()}),(h,w)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.renderSlot(h.$slots,"default",{setRef:m,show:g,hide:p,events:b}),o.createElementVNode("div",{ref_key:"floating",ref:d,"data-placement":o.unref(u),style:o.normalizeStyle({position:o.unref(f),top:o.unref(i)?`${o.unref(i)}px`:"",left:o.unref(a)?`${o.unref(a)}px`:""})},[o.createVNode(o.Transition,{name:"transition-fade",mode:"out-in"},{default:o.withCtx(()=>[n.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["floating-content",[[`is-${e.theme}`]]])},[o.renderSlot(h.$slots,"content",{close:p},()=>[o.createTextVNode(o.toDisplayString(t.content),1)]),t.isArrowVisible?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"arrowRef",ref:r,class:"is-arrow",style:o.normalizeStyle({position:o.unref(f),top:o.unref(l)?`${o.unref(l)}px`:"",left:o.unref(s)?`${o.unref(s)}px`:""})},null,4)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)]),_:3})],12,El)],64))}},Nl={class:"table"},$l=["tabindex","onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown"],Dl={key:0},Ml=["colspan"],Cl={key:1},Ll=["colspan"],sn={__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,r=e,{isLoading:a,appendTo:i}=o.toRefs(n),s=fo(a,{delay:Tn}),{t:l}=at(),u=o.computed(()=>n.columns),c=o.computed(()=>Object.keys(n.columns).length);function d(f,g){f.sortOrders&&r("sort",{target:g,orders:f.sortOrders})}return(f,g)=>(o.openBlock(),o.createElementBlock("table",Nl,[o.createElementVNode("thead",null,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u.value,(p,m)=>(o.openBlock(),o.createBlock(an,{key:m,placement:"top",content:p.tooltip,disabled:!p.tooltip,"append-to":o.unref(i)},{default:o.withCtx(({setRef:b,show:h,hide:w})=>[o.createElementVNode("th",{ref_for:!0,ref:b,class:o.normalizeClass([[p.class],{"is-active":m===t.sort.sortTarget&&t.sort.orders[0].direction!==o.unref(ct),"is-sortable":p.sortOrders,"is-desc":m===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(y),"is-asc":m===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(C)}]),tabindex:p.sortOrders?0:-1,role:"button",onMouseenter:h,onMouseleave:w,onFocus:h,onBlur:w,onClick:O=>d(p,m),onKeydown:[o.withKeys(o.withModifiers(O=>d(p,m),["prevent"]),["space"]),o.withKeys(o.withModifiers(O=>d(p,m),["prevent"]),["enter"])]},[o.renderSlot(f.$slots,`header-${m}`,{column:p},()=>[o.createTextVNode(o.toDisplayString(p.label),1)]),p.sortOrders&&m!==t.sort.sortTarget?(o.openBlock(),o.createBlock(o.unref(Lo),{key:0,class:"is-icon-sort"})):o.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(ct)?(o.openBlock(),o.createBlock(o.unref(Lo),{key:1,class:"is-icon-sort"})):o.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(y)?(o.openBlock(),o.createBlock(o.unref(Es),{key:2,class:"is-icon-sort"})):o.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(C)?(o.openBlock(),o.createBlock(o.unref(Ds),{key:3,class:"is-icon-sort"})):o.createCommentVNode("",!0)],42,$l)]),_:2},1032,["content","disabled","append-to"]))),128))])]),o.createElementVNode("tbody",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.rows,(p,m)=>(o.openBlock(),o.createElementBlock("tr",{key:m,class:o.normalizeClass(p.rowClasses)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u.value,(b,h)=>(o.openBlock(),o.createElementBlock("td",{key:h,class:o.normalizeClass([[b.class],{"is-active":h===t.sort.sortTarget&&t.sort.orders[0].direction!==o.unref(ct),"is-zero":p[h]===0||p[h]==="00:00"}])},[o.renderSlot(f.$slots,`cell-${h}`,{row:p,prop:h},()=>[o.createTextVNode(o.toDisplayString(p[h]),1)])],2))),128))],2))),128))]),o.unref(s)&&t.rows.length===0?(o.openBlock(),o.createElementBlock("tfoot",Dl,[o.createElementVNode("tr",null,[o.createElementVNode("td",{colspan:c.value},[o.renderSlot(f.$slots,"loading",{},()=>[o.createTextVNode(o.toDisplayString(o.unref(l)("common.loading")),1)])],8,Ml)])])):o.createCommentVNode("",!0),t.rows.length===0&&!o.unref(a)&&!o.unref(s)?(o.openBlock(),o.createElementBlock("tfoot",Cl,[o.createElementVNode("tr",null,[o.createElementVNode("td",{colspan:c.value},[o.renderSlot(f.$slots,"empty",{},()=>[o.createTextVNode(o.toDisplayString(o.unref(l)("common.noData")),1)])],8,Ll)])])):o.createCommentVNode("",!0)]))}},Il={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 Bl(t,e){return o.openBlock(),o.createElementBlock("svg",Il,[...e[0]||(e[0]=[o.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),o.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),o.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1)])])}const Rl={render:Bl},zl={class:"error-notice"},Vl=["textContent"],Gl={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})},useRetry:{type:Boolean,default:!1}},emits:["retry"],setup(t){const e=t,{t:n,hasTranslation:r}=at(),a=o.computed(()=>r(`errors.${e.error.key}`)?n(`errors.${e.error.key}`,e.error.cause||[e.error?.message]):e.error?.message);return(i,s)=>(o.openBlock(),o.createElementBlock("div",zl,[o.createVNode(o.unref(Rl),{class:"icon",width:"20",height:"20"}),o.createElementVNode("span",null,o.toDisplayString(a.value),1),t.useRetry?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",onClick:s[0]||(s[0]=l=>i.$emit("retry")),textContent:o.toDisplayString(o.unref(n)("common.retry"))},null,8,Vl)):o.createCommentVNode("",!0)]))}},Fl={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:r}=no();return(a,i)=>o.renderSlot(a.$slots,"default",{message:o.unref(e),error:o.unref(r),hasError:o.unref(n)})}},jl={errors:{"undefined-column":"The {column} column is not exists!","invalid-season-name":"Invalid season name","api-key-not-found":"API Key not found",gameData:"Game Data: {0}",gameStats:"Game Stats: {0}",gameEvents:"Game Events: {0}",gameOfficials:"Game Officials : {0}"},common:{loading:"Loading...",noData:"No data to display",selectTimezone:"*All times are displayed according to your computer's time zone ({timezone}). Change: ",hungary:"Hungary",romania:"Romania",shootoutShort:"SO",overtimeShort:"OT",all:"All",report:"Report Sheet",video:"Video",retry:"Try Again"},additionalText:{inheritedPoints:{prependix:"",content:"{team} has {points} extra point(s)",appendix:"based on its results in the previous championship phase."},penaltyPoints:{prependix:"* ",content:"{points} point(s) deducted from team {team}",appendix:"based on the decision of the Disciplinary Committee."}},table:{blank:"#",info:"{min} to {max} of {total} entries",team:{short:"Team",tooltip:"Team name"},game:{short:"GP",tooltip:"Game Played"},pper:{short:"PPer",tooltip:"Total periods played"},wins:{short:"W",tooltip:"Wins"},draw:{short:"D",tooltip:"Draw"},otw:{short:"OTW",tooltip:"Overtime Wins"},sow:{short:"SOW",tooltip:"Shoot Out Wins"},sol:{short:"SOL",tooltip:"Shoot Out Losses"},otl:{short:"OTL",tooltip:"Overtime Losses"},losses:{short:"L",tooltip:"Losses"},goalFor:{short:"GF",tooltip:"Goals For"},goalAgainst:{short:"GA",tooltip:"Goals Against"},goalDiff:{short:"GD",tooltip:"Goal Differential"},points:{short:"P",tooltip:"Points"},name:{short:"Name",tooltip:"Player name"},goals:{short:"G",tooltip:"Goals"},assists:{short:"A",tooltip:"Assists"},plusMinus:{short:"+/-",tooltip:"Plus/Minus"},sog:{short:"S",tooltip:"Shots on Goal"},so:{short:"SO",tooltip:"Shutouts"},sogPercent:{short:"S%",tooltip:"Shooting percentage"},gameName:{short:"#",tooltip:"Game name"},gameDate:{short:"Date",tooltip:"Scheduled Date"},gameDateTime:{short:"*Time ({offsetName})",tooltip:"Scheduled Time (Offset Name)"},homeTeam:{short:"Home",tooltip:"Home Team"},awayTeam:{short:"Away",tooltip:"Away Team"},location:{short:"Location",tooltip:"Game Location"},broadcast:{short:"Broadcast",tooltip:"Television Broadcast"},minorPenalties:{short:"MINOR",tooltip:"Penalties Minor"},majorPenalties:{short:"MAJOR",tooltip:"Penalties Major"},misconducts:{short:"MISC",tooltip:"Penalties Misconduct"},gameMisconducts:{short:"GA-MI",tooltip:"Penalties Game Misconduct"},matchPenalties:{short:"MATCH",tooltip:"Penalties Match"},pim:{short:"PIM",tooltip:"Penalty Minutes"},pimPerGame:{short:"PIM/G",tooltip:"Penalty Minutes per Game"},gpgk:{short:"GP",tooltip:"Games Played"},gpi:{short:"GPI",tooltip:"Games Played In"},toi:{short:"TOI",tooltip:"Time On Ice"},toiPercent:{short:"TOI%",tooltip:"Time On Ice as Percentage"},ga:{short:"GA",tooltip:"Goals Against"},gaa:{short:"GAA",tooltip:"Goals Against Average"},sa:{short:"SA",tooltip:"Shots Against"},svs:{short:"SVS",tooltip:"Saves"},svsPercent:{short:"SV%",tooltip:"Save Percentage"},homeHeader:{short:"Home:",tooltip:""},awayHeader:{short:"Away:",tooltip:""},totalHeader:{short:"Total:",tooltip:""},homeGame:{short:"GP",tooltip:"Home Games Played"},awayGame:{short:"GP",tooltip:"Away Games Played"},totalGame:{short:"GP",tooltip:"Total Games Played"},homeAttendance:{short:"Att",tooltip:"Home Attendance"},awayAttendance:{short:"Att",tooltip:"Away Attendance"},totalAttendance:{short:"Att",tooltip:"Total Attendance"},homeAttendanceAvg:{short:"Avg",tooltip:"Home Average Attendance"},awayAttendanceAvg:{short:"Avg",tooltip:"Away Average Attendance"},totalAttendanceAvg:{short:"Avg",tooltip:"Total Average Attendance"},powerplayDisadvantages:{short:"DVG",tooltip:"Disadvantages (Number of Times Shorthanded)"},dvgTime:{short:"DVG-T",tooltip:"Disadvantages Time"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Disadvantages Time (Period of PP1)"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Disadvantages Time (Period of PP2)"},ppga:{short:"PPGA",tooltip:"Powerplay Goals Against"},shgf:{short:"SHGF",tooltip:"Shorthanded Goals For"},pkPercent:{short:"PK%",tooltip:"Penalty Killing Percentage"},adv:{short:"ADV",tooltip:"Advantages (Times on Powerplay)"},advTime:{short:"ADV-T",tooltip:"Advantages Time (Period of Powerplay)"},advTimePP1:{short:"ADV-T PP1",tooltip:"Advantages Time (Period of PP1)"},advTimePP2:{short:"ADV-T PP2",tooltip:"Advantages Time (Period of PP2)"},ppgf:{short:"PPGF",tooltip:"Powerplay Goals For"},shga:{short:"SHGA",tooltip:"Shorthanded Goals Against"},ppPercent:{short:"PP%",tooltip:"Powerplay Percentage"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Shots Against per Game"},jerseyNumber:{short:"#",tooltip:"Jersey Number"},row:{short:"Row",tooltip:"Row"},position:{short:"Position",tooltip:"Position"},teamOfficials:{short:"Team officials",tooltip:"Team officials"},score:{short:"Score",tooltip:"Actual Game Score"},opponent:{short:"Opponent",tooltip:"Opponent"},result:{short:"Result",tooltip:"Result"},resultType:{short:"#",tooltip:"Result Type"},atoi:{short:"ATOI",tooltip:"Average Time On Ice"},shf:{short:"SHF",tooltip:"Shifts"},ashf:{short:"ASHF",tooltip:"Average Shifts"},eqToi:{short:"EQ-TOI",tooltip:"Time On Ice in Equal"},pp1Toi:{short:"PP1-TOI",tooltip:"Time On Ice in PowerPlay 1"},pp2Toi:{short:"PP2-TOI",tooltip:"Time On Ice in PowerPlay 2"},sh1Toi:{short:"SH1-TOI",tooltip:"Time On Ice in Shorthanded 1"},sh2Toi:{short:"SH2-TOI",tooltip:"Time On Ice in Shorthanded 2"},eqAToi:{short:"EQ-A-TOI",tooltip:"Average Time On Ice in Equal"},pp1AToi:{short:"PP1-A-TOI",tooltip:"Average Time On Ice in PowerPlay 1"},pp2AToi:{short:"PP2-A-TOI",tooltip:"Average Time On Ice in PowerPlay 2"},sh1AToi:{short:"SH1-A-TOI",tooltip:"Average Time On Ice in Shorthanded 1"},sh2AToi:{short:"SH2-A-TOI",tooltip:"Average Time On Ice in Shorthanded 2"},role:{short:"Role",tooltip:"Role"}},game:{data:{localTime:"Game local time"},status:{jury:"Jury result",delayed:"Game delayed"},period:{wu:"Preparation",pre:"Preparation Ended",p1:"First Period",p1_int:"First Period Ended",p2:"Second Period",p2_int:"Second Period Ended",p3:"Third Period",p3_int:"Third Period Ended",p4:"Fourth Period",p4_int:"Fourth Period Ended",p5:"Fifth Period",p5_int:"Fifth Period Ended",p6:"Sixth Period",p6_int:"Sixth Period Ended",ot:"Overtime",ot_int:"Overtime Ended",so:"Shoot Out",so_int:"Shoot Out Ended",end:"Game Ended",Bemelegítés:"Warm-up","Bemelegítés vége":"Warm-up End","1. harmad":"First period","1. harmad vége":"First period End","2. harmad":"Second period","2. harmad vége":"Second period End","3. harmad":"Third period","3. harmad vége":"Third period End","4. harmad":"IV. period","4. harmad vége":"IV. period End","5. harmad":"V. period","5. harmad vége":"V. period End","6. harmad":"VI. period","6. harmad vége":"VI. period End",Hosszabbítás:"Overtime","Hosszabbítás vége":"Overtime End",Büntetőlövések:"Penalty Shot",Végeredmény:"Game Completed",Szétlövés:"Shoot Out"}}},Ul={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"}}},Hl=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},Yl=o.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=jn({hu:Ul,en:jl},t.messages),{translate:n}=Zn({locale:o.computed(()=>t.locale),messages:e});return{translate:n}}});function Wl(t,e,n,r,a,i){return o.renderSlot(t.$slots,"default",{t:t.translate})}const ql=Hl(Yl,[["render",Wl]]),Kl=["src"],Zl=["src","title"],At=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}=o.toRefs(e),r=o.ref({src:e.src}),{error:a,isReady:i}=ai(r,{resetOnExecute:!1,shallow:!1});return(s,l)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.unref(a)&&o.unref(n)?(o.openBlock(),o.createElementBlock("img",{key:0,src:o.unref(n),class:o.normalizeClass(["is-loaded is-default",[s.$attrs.class]])},null,10,Kl)):o.createCommentVNode("",!0),o.unref(a)?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("img",{key:1,src:r.value.src,class:o.normalizeClass([s.$attrs.class,{"is-loaded":o.unref(i)}]),title:e.title,loading:"lazy"},null,10,Zl))],64))}}),Xl={class:"loading-indicator"},ln={__name:"LoadingIndicator",setup(t){const{t:e}=at();return(n,r)=>(o.openBlock(),o.createElementBlock("div",Xl,o.toDisplayString(o.unref(e)("common.loading")),1))}},Jl={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 Ql(t,e){return o.openBlock(),o.createElementBlock("svg",Jl,[...e[0]||(e[0]=[o.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1)])])}const tc={render:Ql},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 o.openBlock(),o.createElementBlock("svg",ec,[...e[0]||(e[0]=[o.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1)])])}const oc={render:nc},rc={key:0,class:"paginator"},ac=["disabled"],ic=["disabled"],sc={key:1,class:"is-disabled"},lc=["disabled","onClick"],cc={key:2,class:"is-disabled"},uc=["disabled"],dc=["disabled"],fc={__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,r=e,{page:a,pageCount:i,range:s,goTo:l,pageStep:u}=ms({currentPage:o.computed(()=>n.page),totalItems:o.computed(()=>n.totalItems),itemsPerPage:n.itemsPerPage,rangeLength:n.rangeLength,update:c=>r("change",c)});return(c,d)=>o.unref(i)>1?(o.openBlock(),o.createElementBlock("div",rc,[o.createElementVNode("button",{type:"button",disabled:o.unref(a)===1,onClick:d[0]||(d[0]=f=>o.unref(u)(-1))},[o.renderSlot(c.$slots,"prev",{},()=>[o.createVNode(o.unref(tc),{class:"icon paginator-left"})])],8,ac),t.isCompact?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",disabled:o.unref(a)===1,onClick:d[1]||(d[1]=f=>o.unref(l)(1))}," 1 ",8,ic)),t.isCompact?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",sc," ... ")),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(s),f=>(o.openBlock(),o.createElementBlock("button",{key:f,type:"button",class:o.normalizeClass({"is-active":f===o.unref(a)}),disabled:f===o.unref(a),onClick:g=>o.unref(l)(f)},o.toDisplayString(f),11,lc))),128)),t.isCompact?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",cc,[...d[4]||(d[4]=[o.createElementVNode("span",null,"...",-1)])])),t.isCompact?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:3,type:"button",disabled:o.unref(a)===o.unref(i),onClick:d[2]||(d[2]=f=>o.unref(l)(o.unref(i)))},o.toDisplayString(o.unref(i)),9,uc)),o.createElementVNode("button",{type:"button",disabled:o.unref(a)===o.unref(i),onClick:d[3]||(d[3]=o.withModifiers(f=>o.unref(u)(1),["prevent"]))},[o.renderSlot(c.$slots,"next",{},()=>[o.createVNode(o.unref(oc),{class:"icon paginator-left"})])],8,dc)])):o.createCommentVNode("",!0)}},cn={__name:"ResponsiveTable",setup(t){const e=o.ref(null);return(n,r)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"el",ref:e,class:"table-responsive"},[o.renderSlot(n.$slots,"default",{el:e.value})],512))}},mc={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 o.openBlock(),o.createElementBlock("svg",mc,[...e[0]||(e[0]=[o.createElementVNode("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"},null,-1),o.createElementVNode("line",{x1:"8",y1:"21",x2:"16",y2:"21"},null,-1),o.createElementVNode("line",{x1:"12",y1:"17",x2:"12",y2:"21"},null,-1)])])}const hc={render:pc},gc={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 yc(t,e){return o.openBlock(),o.createElementBlock("svg",gc,[...e[0]||(e[0]=[o.createElementVNode("circle",{cx:"12",cy:"12",r:"1"},null,-1),o.createElementVNode("circle",{cx:"12",cy:"5",r:"1"},null,-1),o.createElementVNode("circle",{cx:"12",cy:"19",r:"1"},null,-1)])])}const bc={render:yc},Tc={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 o.openBlock(),o.createElementBlock("svg",Tc,[...e[0]||(e[0]=[o.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),o.createElementVNode("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"},null,-1)])])}const Sc={render:wc},Oc={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 Ac(t,e){return o.openBlock(),o.createElementBlock("svg",Oc,[...e[0]||(e[0]=[o.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),o.createElementVNode("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"},null,-1)])])}const kc={render:Ac};function _c(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=[],r=!1){if(e){const a=n.map(l=>r?te(Be(l),Zt(e)):te(ut(l),Wn,ka(Wn(e)))),i=Xr(l=>l.name?$a(va("name"),Da(",",""),l):l),s=De(te(i,Zr([...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===ct)return this;const n=Aa(Zt(C),Rn(Le),Rn(ma));return this.result=Yn(e.orders.map(r=>Vn(n(r.direction),ut)(r.target)))(this.result),this},addIndex(e=null){return this.result.reduce((n,r,a)=>{const i=n[n.length-1]||[],s=e&&i[e]===r[e];return r.index=s?i.index:a+1,r.indexClass=s?"is-duplicated":null,n.push(r),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 r=(e-1)*n,a=r+n;return this.result=this.result.slice(r,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:Hc(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(r=>({...r,gameResult:`${r.homeTeamScore}-${r.awayTeamScore}`,gameDateDate:Tt(r.gameDate,"L dddd",e,n),gameDateTime:Tt(r.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(r=>n[r]?n[`${r}Sec`]=He(n[r]):n),n)),this},groupByDays(){return this.currentItems=this.result.length,this.result=Oa(e=>Tt(e.gameDate,"YYYY-MM-DD"))(this.result),this},slice(e=3){return this.result=this.result.slice(0,e),this}}}const Pc=(t,...e)=>mt(Vn(...e))(t);function vc(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 xc(t){return{...t,...t?.team?.id&&{teamName:t.team.longName}}}function Ec(t="",e="hu"){return n=>({...n,gameDateDate:Tt(n.gameDate,"L dddd",t,e),gameDateTime:Tt(n.gameDate,"HH:mm",t,e)})}function Nc(t){return e=>({...e,gameResult:Fc(e)})}function $c(t){return{...t,opponent:Gc(t)}}function Dc(t){return{...t,resultType:jc(t)}}function Mc(t){return{...t,rowClasses:t.optional?"is-optional":""}}function Cc(t=[]){return e=>({...e,[t]:e[t]?.toUpperCase()})}function Lc(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Sec`]=He(e[n]):e),e)}function Ic(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Min`]=xo(e[n]):e),e)}function Bc(t=[]){return e=>(t.map(n=>e[`${n}Min`]=vo(e[n])),e)}function Rc(t){return{...t,periodResults:t.result?.match(/\(.*?\)/)?.[0]??""}}const zc=Yn([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Le(ut("id")),Le(ut("gameId"))]),Vc=Ma((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function Gc(t){return[t.isHomeGame?null:"@",t.opponent?.shortName].join(" ")}function Fc(t){let e=t?.homeTeamScore,n=t?.awayTeamScore;return t.isHomeGame||(e=t?.awayTeamScore,n=t?.homeTeamScore),[e,n].join(":")}function jc(t){const e=t.gameResult.split(":"),n=e[0]>e[1],r=e[0]<e[1];return n&&t.isOvertime?"OTW":n&&t.isShootout?"SOW":n?"W":r&&t.isOvertime?"OTL":r&&t.isShootout?"SOL":r?"L":"D"}function Uc(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 Hc(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}`}class un extends Error{constructor(e,n={}){const{key:r,cause:a}=n;super(e),this.name="WidgetError",this.key=r,this.cause=a}}const Ht={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},Yc={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}};function Wc(t){return`${Ae.replace(/^https?/,"wss").replace("/vbr","/socket/vbr")}${t}`}const Yt=(t="")=>window?.__MJSZ_VBR_WIDGET__?.[t];function qc(t,e={}){if(e.externalGameUrl)return e.externalGameUrl;const n=Yt("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||dn,e))}function Kc(t,e={}){const n=Yt("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||pn,e))}function Zc(t,e={}){const n=Yt("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||mn,e))}function Xc(t,e={}){return typeof t=="function"?t(e):encodeURI(dt(t||hn,e))}const Jc=(t,e="1x1")=>`${gn}/flag:${t}-${e}.svg`;function Qc(t){return t||(Yt("apiKey")?Yt("apiKey"):"")}function tu(){window.scrollTo(0,0)}const eu={class:"is-team-name-long"},nu={class:"is-team-name-short"},ou={class:"is-team-name-long"},ru={class:"is-team-name-short"},au={key:0,class:"is-text-dark"},iu=["href","target"],su={key:0,class:"label"},lu={key:1,class:"label"},cu={key:2,class:"label"},uu={key:1},du=["onClick","onFocus","onBlur"],fu={class:"is-dropdown-menu"},mu=["href","target"],pu={key:0},hu=["href"],gu={__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=o.ref(null),{onError:r}=Ve(),{columns:a,error:i}=ze(wn,o.computed(()=>e.hideColumns),o.computed(()=>({offsetName:e.offsetName})));ti(i,()=>r(new un(Ht.message,{...Ht.options,cause:{column:i.value}})),{immediate:!0});const{t:s}=at();return(l,u)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(cn,null,{default:o.withCtx(({el:c})=>[o.createVNode(sn,{columns:o.unref(a),rows:e.rows,"is-loading":t.isLoading,"append-to":n.value||c},{"cell-homeTeamName":o.withCtx(({row:d})=>[d.homeTeam?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",eu,o.toDisplayString(d.homeTeam.longName),1),o.createElementVNode("span",nu,o.toDisplayString(d.homeTeam.shortName),1)],64)):o.createCommentVNode("",!0)]),"cell-awayTeamName":o.withCtx(({row:d})=>[d.awayTeam?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",ou,o.toDisplayString(d.awayTeam.longName),1),o.createElementVNode("span",ru,o.toDisplayString(d.awayTeam.shortName),1)],64)):o.createCommentVNode("",!0)]),"cell-homeTeamLogo":o.withCtx(({row:d})=>[d.homeTeam?(o.openBlock(),o.createBlock(At,{key:d.homeTeam.id,class:"is-logo-image is-right",src:d.homeTeam.logo},null,8,["src"])):o.createCommentVNode("",!0)]),"cell-awayTeamLogo":o.withCtx(({row:d})=>[d.awayTeam?(o.openBlock(),o.createBlock(At,{key:d.awayTeam.id,class:"is-logo-image is-right",src:d.awayTeam.logo},null,8,["src"])):o.createCommentVNode("",!0)]),"cell-gameResult":o.withCtx(({row:d})=>[d.gameStatus===0?(o.openBlock(),o.createElementBlock("span",au,"-:-")):(o.openBlock(),o.createElementBlock("a",{key:1,href:t.externalGameResolver(d.gameId),target:t.externalGameResolverTarget,class:o.normalizeClass({"is-text-dark":d.gameStatus!==1,"is-text-accent":d.gameStatus===1})},o.toDisplayString(d.homeTeamScore)+":"+o.toDisplayString(d.awayTeamScore),11,iu))]),"cell-gameResultType":o.withCtx(({row:d})=>[d.isOvertime?(o.openBlock(),o.createElementBlock("span",su,o.toDisplayString(o.unref(s)("common.overtimeShort")),1)):o.createCommentVNode("",!0),d.isShootout?(o.openBlock(),o.createElementBlock("span",lu,o.toDisplayString(o.unref(s)("common.shootoutShort")),1)):o.createCommentVNode("",!0),d.seriesStandings?(o.openBlock(),o.createElementBlock("span",cu,o.toDisplayString(d.seriesStandings),1)):o.createCommentVNode("",!0)]),"cell-broadcast":o.withCtx(({row:d})=>[d.broadcast?(o.openBlock(),o.createBlock(o.unref(hc),{key:0})):(o.openBlock(),o.createElementBlock("span",uu))]),"cell-location":o.withCtx(({row:d})=>[o.createTextVNode(o.toDisplayString(d.location?.locationName??""),1)]),"cell-more":o.withCtx(({row:d})=>[o.createVNode(an,{offset:2,placement:"left",theme:"content","append-to":c},{default:o.withCtx(({setRef:f,show:g,hide:p})=>[o.createElementVNode("button",{ref:f,onClick:o.withModifiers(g,["stop"]),onFocus:g,onBlur:p},[o.createVNode(o.unref(bc))],40,du)]),content:o.withCtx(()=>[o.createElementVNode("ul",fu,[o.createElementVNode("li",null,[o.createElementVNode("a",{href:t.externalGameResolver(d.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[o.createVNode(o.unref(Sc),{width:"14"}),o.createTextVNode(" "+o.toDisplayString(o.unref(s)("common.report")),1)],8,mu)]),d.video?(o.openBlock(),o.createElementBlock("li",pu,[o.createElementVNode("a",{href:d.video,class:"is-dropdown-item",target:"_blank"},[o.createVNode(o.unref(kc),{width:"14"}),o.createTextVNode(" "+o.toDisplayString(o.unref(s)("common.video")),1)],8,hu)])):o.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:o.withCtx(()=>[o.createVNode(ln)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),o.createElementVNode("div",{ref_key:"tooltipContainer",ref:n},null,512)],64))}},yu={class:"g-row g-gap-normal is-mb-5"},bu={for:"season",class:"label"},Tu=["value"],wu={key:0},Su=["onClick"],Ou={__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,r=e,{t:a}=at(),i=o.computed({get(){return n.championshipId},set(l){r("onChangeSeason",l)}});function s(l){r("onChangeSection",l)}return(l,u)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",yu,[o.createElementVNode("div",null,[o.createElementVNode("label",bu,o.toDisplayString(o.unref(a)("selection.season")),1),o.createVNode(Co,{id:"season",modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=c=>i.value=c)},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.seasons,c=>(o.openBlock(),o.createElementBlock("option",{key:c.championshipId,value:c.championshipId},o.toDisplayString(c.seasonName),9,Tu))),128))]),_:1},8,["modelValue"])]),o.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",wu,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.sections,c=>(o.openBlock(),o.createElementBlock("button",{key:c.phaseId,class:o.normalizeClass(["tab-button",{"is-active":c.sectionId===t.sectionId}]),onClick:d=>s(c)},o.toDisplayString(c.sectionName),11,Su))),128))]))],64))}},Au={class:"is-portrait-image"},ku=["href"],_u={class:"is-team-name-long"},Pu={class:"is-team-name-short"},vu={class:"is-team-name-long"},xu={key:0},Eu={class:"is-team-name-short"},Nu={key:0},$u={class:"is-team-name-long"},Du={class:"is-team-name-short"},Mu={class:"is-team-name-long"},Cu={class:"is-team-name-short"},Lu=["href"],Iu={key:0,class:"is-text-dark"},Bu=["href","target"],Ru={key:0,class:"label"},zu={key:1,class:"label"},Vu={key:2,class:"label"},Gu={__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,r=e,{columns:a,hideColumns:i}=o.toRefs(n),{onError:s}=Ve(),{t:l}=at(),{columns:u,error:c}=ze(a,i,o.computed(()=>({offsetName:n.offsetName})));c.value&&s(new un(Ht.message,{...Ht.options,cause:{column:c.value}}));const d=f=>r("sort",f);return(f,g)=>(o.openBlock(),o.createBlock(cn,null,{default:o.withCtx(({el:p})=>[o.createVNode(sn,{columns:o.unref(u),sort:n.sort,rows:n.rows,"is-loading":t.isLoading,"append-to":t.appendTo||p,onSort:d},o.createSlots({"cell-index":o.withCtx(({row:m})=>[o.createElementVNode("span",{class:o.normalizeClass(m.indexClass)},o.toDisplayString(m.index),3)]),"cell-playerPortrait":o.withCtx(({row:m})=>[o.createElementVNode("div",Au,[(o.openBlock(),o.createBlock(At,{key:m.player.playerId,src:m.player.picture,"default-src":o.unref(fn)},null,8,["src","default-src"]))])]),"cell-teamLogo":o.withCtx(({row:m})=>[(o.openBlock(),o.createBlock(At,{key:m.team?.id??m.id,class:"is-logo-image",src:m.team?.logo},null,8,["src"]))]),"cell-homeTeamLogo":o.withCtx(({row:m})=>[(o.openBlock(),o.createBlock(At,{key:m.homeTeam?.id,class:"is-logo-image is-right",src:m.homeTeam?.logo},null,8,["src"]))]),"cell-awayTeamLogo":o.withCtx(({row:m})=>[(o.openBlock(),o.createBlock(At,{key:m.awayTeam?.id,class:"is-logo-image is-right",src:m.awayTeam?.logo},null,8,["src"]))]),"cell-teamName":o.withCtx(({row:m})=>[t.isTeamLinked?(o.openBlock(),o.createElementBlock("a",{key:0,href:t.externalTeamResolver(m),target:"_blank"},[o.createElementVNode("span",_u,o.toDisplayString(m.team?.longName),1),o.createElementVNode("span",Pu,o.toDisplayString(m.team?.shortName),1)],8,ku)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("span",vu,[o.createTextVNode(o.toDisplayString(m.team?.longName)+" ",1),m.penaltyPoints?(o.openBlock(),o.createElementBlock("span",xu,[...g[0]||(g[0]=[o.createElementVNode("sup",null,"*",-1)])])):o.createCommentVNode("",!0)]),o.createElementVNode("span",Eu,[o.createTextVNode(o.toDisplayString(m.team?.shortName)+" ",1),m.penaltyPoints?(o.openBlock(),o.createElementBlock("span",Nu,[...g[1]||(g[1]=[o.createElementVNode("sup",null,"*",-1)])])):o.createCommentVNode("",!0)])],64))]),"cell-homeTeamName":o.withCtx(({row:m})=>[o.createElementVNode("span",$u,o.toDisplayString(m.homeTeam?.longName),1),o.createElementVNode("span",Du,o.toDisplayString(m.homeTeam?.shortName),1)]),"cell-awayTeamName":o.withCtx(({row:m})=>[o.createElementVNode("span",Mu,o.toDisplayString(m.awayTeam?.longName),1),o.createElementVNode("span",Cu,o.toDisplayString(m.awayTeam?.shortName),1)]),"cell-location":o.withCtx(({row:m})=>[o.createTextVNode(o.toDisplayString(m.location?.locationName??""),1)]),"cell-gameResult":o.withCtx(({row:m})=>[m.gameStatus===0?(o.openBlock(),o.createElementBlock("span",Iu,"-:-")):(o.openBlock(),o.createElementBlock("a",{key:1,href:t.externalGameResolver(m),target:t.externalGameResolverTarget,class:o.normalizeClass({"is-text-dark":m.gameStatus!==1,"is-text-accent":m.gameStatus===1})},o.toDisplayString(m.homeTeamScore)+":"+o.toDisplayString(m.awayTeamScore),11,Bu))]),"cell-gameResultType":o.withCtx(({row:m})=>[m.isOvertime?(o.openBlock(),o.createElementBlock("span",Ru,o.toDisplayString(o.unref(l)("common.overtimeShort")),1)):o.createCommentVNode("",!0),m.isShootout?(o.openBlock(),o.createElementBlock("span",zu,o.toDisplayString(o.unref(l)("common.shootoutShort")),1)):o.createCommentVNode("",!0),m.seriesStandings?(o.openBlock(),o.createElementBlock("span",Vu,o.toDisplayString(m.seriesStandings),1)):o.createCommentVNode("",!0)]),loading:o.withCtx(()=>[o.createVNode(ln)]),_:2},[t.isPlayerLinked?{name:"cell-name",fn:o.withCtx(({row:m})=>[o.createElementVNode("a",{href:t.externalPlayerResolver(m),target:"_blank"},o.toDisplayString(m.name),9,Lu)]),key:"0"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},Fu={class:"timezone-selector"},ju=["onClick"],Uu={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const n=t,r=e,{t:a}=at(),i=o.computed(()=>Vt(new Date,null,n.locale)),s=Po(),l=o.computed(()=>Array.from(bn.values()).map(c=>({...c,isActive:Vt(new Date,n.currentZone,n.locale)===Vt(new Date,c.timezone,n.locale),zoneOffsetName:Vt(new Date,c.timezone,n.locale)}))),u=c=>r("change",c);return(c,d)=>(o.openBlock(),o.createElementBlock("div",Fu,[o.createVNode(o.unref(Jn),{path:"common.selectTimezone",tag:"span"},{timezone:o.withCtx(()=>[o.createElementVNode("a",{href:"#",onClick:d[0]||(d[0]=o.withModifiers(f=>u(o.unref(s)),["prevent"]))},o.toDisplayString(i.value),1)]),_:1}),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,f=>(o.openBlock(),o.createElementBlock("a",{key:f.countryLabelKey,href:"#",class:o.normalizeClass({"is-active":f.isActive}),onClick:o.withModifiers(g=>u(f.timezone),["prevent"])},o.toDisplayString(o.unref(a)(`common.${f.countryLabelKey}`))+" ("+o.toDisplayString(f.zoneOffsetName)+") ",11,ju))),128))]))}},Hu={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:""}},Yu={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},Wu={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},qu={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}};function er({app:t=null,modules:e=[],apiKey:n,gameResolver:r,teamResolver:a,playerResolver:i}){if(window.__MJSZ_VBR_WIDGET__={apiKey:n,gameResolver:r,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 Ku={install:(t,e={})=>er({app:t,...e})};return T.AVAILABLE_TIMEZONES_BY_COUNTRY=bn,T.AdditionalStandingsText=ks,T.BaseSelect=Co,T.COLUMNS_FIELD_PLAYERS=sr,T.COLUMNS_FIELD_PLAYERS_PENALTY=lr,T.COLUMNS_FIELD_PLAYERS_TOI=cr,T.COLUMNS_GOALIES=ur,T.COLUMNS_PLAYERS_NATIONAL=dr,T.COLUMNS_SCHEDULE=wn,T.COLUMNS_SCORING_EFFICIENCY=gr,T.COLUMNS_STANDINGS_P_2=ar,T.COLUMNS_STANDINGS_P_3=or,T.COLUMNS_STANDINGS_P_PER=rr,T.COLUMNS_STANDINGS_SHORT=ir,T.COLUMNS_TEAMS_FAIRPLAY=mr,T.COLUMNS_TEAMS_PENALTY_KILLING=pr,T.COLUMNS_TEAMS_POWERPLAY=hr,T.COLUMNS_TEAM_ATTENDANCE=fr,T.DEFAULT_EXTERNAL_GAME_URL=dn,T.DEFAULT_EXTERNAL_PLAYER_URL=mn,T.DEFAULT_EXTERNAL_STATISTIC_URL=hn,T.DEFAULT_EXTERNAL_TEAM_URL=pn,T.DEFAULT_PORTRAIT_IMAGE_URL=fn,T.DataTable=sn,T.ErrorNotice=Gl,T.ErrorProvider=Fl,T.FLAG_BASE_URL=gn,T.FetchMoreObserver=kr,T.FloatingPanel=an,T.I18NProvider=ql,T.Image=At,T.InvalidSeasonName=Yc,T.LAZY_LOADING_STATE_DELAY=Tn,T.LOCALE_FOR_LANG=yn,T.LoadingIndicator=ln,T.Paginator=fc,T.REFRESH_DELAY=nr,T.ResponsiveTable=cn,T.SORT_STATE_ASCEND=C,T.SORT_STATE_DESCEND=y,T.SORT_STATE_ORIGINAL=ct,T.ScheduleTable=gu,T.SeasonSelector=Ou,T.StatisticsTable=Gu,T.TimezoneSelector=Uu,T.UndefinedColumn=Ht,T.VBR_API_BASE_URL=Ae,T.WidgetError=un,T.addDays=ss,T.appendTo=tr,T.baseProps=Hu,T.convert=_c,T.convertGamePeriodResults=Rc,T.convertMinToMinSec=xo,T.convertMinToSec=He,T.convertPhaseName=Uc,T.convertSecToMin=vo,T.convertTimes=Lc,T.convertTimesMinToMinSec=Ic,T.convertTimesSecToMin=Bc,T.createConfig=er,T.createI18n=Zn,T.currentWeek=rs,T.currentWeekStartEnd=as,T.default=Ku,T.endOfMonth=cs,T.externalGameLinkResolver=qc,T.externalPlayerLinkResolver=Zc,T.externalStatisticLinkResolver=Xc,T.externalTeamLinkResolver=Kc,T.fetchVBRData=oo,T.flagResolver=Jc,T.format=Tt,T.gameDateTime=Ec,T.gameProps=qu,T.gameResult=Nc,T.getLocalTimezone=Po,T.getWebsocketURL=Wc,T.i18n=Jn,T.isAfter=ns,T.isBefore=es,T.isBetween=Eo,T.isSame=Qi,T.isSameOrBefore=Ye,T.isToday=os,T.localeSort=Vc,T.max=ds,T.min=us,T.offsetName=Vt,T.playerName=vc,T.playerStatsProps=Wu,T.rawConvert=Pc,T.resolveApiKey=Qc,T.scheduleOptionalRowClass=Mc,T.scrollToTop=tu,T.sortByDomNode=Pl,T.sortGames=zc,T.startOfMonth=ls,T.subtractDays=is,T.teamName=xc,T.teamOpponent=$c,T.teamResultType=Dc,T.teamStatsProps=Yu,T.templateReplacer=dt,T.toKebabCase=to,T.upperCase=Cc,T.useAdditionalText=qn,T.useColumns=ze,T.useError=Ve,T.useErrorProvider=no,T.useGameDataSocket=si,T.useI18n=at,T.useLazyLoadingState=fo,T.usePage=fs,T.useScrollToGameDate=ps,T.useServices=hs,T.useSort=Ss,T.useVisibilityChange=Os,T.validateColumnsName=Qn,T.yearToNow=ts,Object.defineProperties(T,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),T}({},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 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}}}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);