@mjsz-vbr-elements/core 2.34.0 → 2.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/TimezoneSelector-ypwhJVm-.js +1 -1
- package/dist/columns.js +1 -1
- package/dist/components.js +1 -1
- package/dist/composables.js +5 -5
- package/dist/constants.js +15 -14
- package/dist/datetime-B_IKGlWy.js +1 -1
- package/dist/errors-C61Kgyqj.js +1 -1
- package/dist/index.iife.js +4 -4
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +117 -116
- package/dist/props.js +1 -1
- package/dist/useSort-CoM4Br_9.js +1 -1
- package/dist/utils.js +26 -26
- package/package.json +2 -2
package/dist/index.iife.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.35.0 - 16/12/2025, 08:48:47
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
var MjszVbrElementsCore=function(p,r){"use strict";const Mn="https://www.jegkorongszovetseg.hu/event/game/{gameId}",Cn="https://jegkorongszovetseg.hu/assets/images/player_blank.png",Dn="https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}",Ln="https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}",In="https://www.ersteliga.hu/stats?report={id}",Bn="https://api.icehockey.hu/static/api/flag",ft="original",b="descend",D="ascend",Rn=new Map().set("hu","hu-hu").set("en","hu-gb"),zn=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),Ho=1e3*60*5,Vn=1e3,Gn={gameName:{label:"table.gameName.short",tooltip:"table.gameName.tooltip",class:"text-start text-dimmed"},gameDateDate:{label:"table.gameDate.short",tooltip:"table.gameDate.tooltip",class:"text-start"},gameDateTime:{label:"table.gameDateTime.short",tooltip:"table.gameDateTime.tooltip",class:"text-start"},homeTeamName:{label:"table.homeTeam.short",tooltip:"table.homeTeam.tooltip",class:"text-end w-auto font-bold"},homeTeamLogo:{label:"",class:"is-has-image"},gameResult:{label:"",class:"font-bold text-xl"},gameResultType:{label:"",tooltip:""},awayTeamLogo:{label:"",class:"is-has-image"},awayTeamName:{label:"table.awayTeam.short",tooltip:"table.awayTeam.tooltip",class:"text-start w-auto font-bold"},location:{label:"table.location.short",tooltip:"table.location.tooltip",class:"text-start"},broadcast:{label:"table.broadcast.short",tooltip:"table.broadcast.tooltip"},more:{label:""}},Yo={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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:D}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:D}]},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:D}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"font-bold",sortOrders:[{target:"points",direction:b},{target:"gamesPlayed",direction:D},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},Wo={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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:D}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:D}]},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:D}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"font-bold",sortOrders:[{target:"points",direction:b},{target:"gamesPlayed",direction:D},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},qo={index:{label:"#",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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:D}]},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:D}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"font-bold",sortOrders:[{target:"points",direction:b}]}},Ko={index:{label:"#",class:"text-start italic text-dimmed"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold"},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",class:"text-dimmed"},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",class:"text-dimmed"},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",class:"text-dimmed"},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",class:"text-dimmed"},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"font-bold"}},Zo={index:{label:"#",class:"text-start"},playerPortrait:{label:"",class:"has-avatar"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"name",direction:D}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:D}]},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}]}},Jo={index:{label:"table.blank",class:"text-start"},playerPortrait:{label:"",class:"has-avatar"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"name",direction:D}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:D}]},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}]}},Xo={index:{label:"#",class:"text-start"},playerPortrait:{label:"",class:"has-avatar"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"name",direction:D}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:D}]},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}]}},Qo={index:{label:"table.blank",class:"text-start"},playerPortrait:{label:"",class:"has-avatar"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"name",direction:D}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:D}]},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}]}},ta={index:{label:"#",class:"text-start"},playerPortrait:{label:"",class:"has-avatar"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"name",direction:D}]},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}]}},ea={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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}]}},na={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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}]}},ra={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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}]}},oa={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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}]}},aa={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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:D}]},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:D}]},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:D}]},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:D}]},sp:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"sp",direction:b}]}};function ia(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}function jn(t){return typeof t=="function"?t():r.unref(t)}const sa=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const la=t=>t!=null,je=()=>{};function Fe(t){var e;const n=jn(t);return(e=n?.$el)!=null?e:n}const ca=sa?window:void 0;function ua(){const t=r.ref(!1);return r.getCurrentInstance()&&r.onMounted(()=>{t.value=!0}),t}function da(t){const e=ua();return r.computed(()=>(e.value,!!t()))}function fa(t,e,n={}){const{root:o,rootMargin:a="0px",threshold:i=.1,window:s=ca,immediate:l=!0}=n,u=da(()=>s&&"IntersectionObserver"in s),c=r.computed(()=>{const m=jn(t);return(Array.isArray(m)?m:[m]).map(Fe).filter(la)});let d=je;const f=r.ref(l),y=u.value?r.watch(()=>[c.value,Fe(o),f.value],([m,S])=>{if(d(),!f.value||!m.length)return;const g=new IntersectionObserver(e,{root:Fe(S),rootMargin:a,threshold:i});m.forEach(T=>T&&g.observe(T)),d=()=>{g.disconnect(),d=je}},{immediate:l,flush:"post"}):je,h=()=>{d(),y(),f.value=!1};return ia(h),{isSupported:u,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:h}}const ma=r.defineComponent({name:"FetchMoreObserver",props:["as","options"],emits:["intersect"],setup(t,{slots:e,emit:n}){const o=r.ref(null),{stop:a}=fa(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 pa=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 Ue(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),Ue(t,o,n))}}var Ct=V(function(e,n){return e===1?G(n):ue(e,Ue(e,[],n))});function X(t){return function e(n,o,a){switch(arguments.length){case 0:return e;case 1:return H(n)?e:V(function(i,s){return t(n,i,s)});case 2:return H(n)&&H(o)?e:H(n)?V(function(i,s){return t(i,o,s)}):H(o)?V(function(i,s){return t(n,i,s)}):G(function(i){return t(n,o,i)});default:return H(n)&&H(o)&&H(a)?e:H(n)&&H(o)?V(function(i,s){return t(i,s,a)}):H(n)&&H(a)?V(function(i,s){return t(i,o,s)}):H(o)&&H(a)?V(function(i,s){return t(n,i,s)}):H(n)?G(function(i){return t(i,o,a)}):H(o)?G(function(i){return t(n,i,a)}):H(a)?G(function(i){return t(n,o,i)}):t(n,o,a)}}}const Ft=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function ha(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function Ut(t,e,n){return function(){if(arguments.length===0)return n();var o=arguments[arguments.length-1];if(!Ft(o)){for(var a=0;a<t.length;){if(typeof o[t[a]]=="function")return o[t[a]].apply(o,Array.prototype.slice.call(arguments,0,-1));a+=1}if(ha(o)){var i=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(o)}}return n.apply(this,arguments)}}function He(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 Fn(t){for(var e=[],n;!(n=t.next()).done;)e.push(n.value);return e}function Ye(t,e,n){for(var o=0,a=n.length;o<a;){if(t(e,n[o]))return!0;o+=1}return!1}function ga(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 ya(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const We=typeof Object.is=="function"?Object.is:ya;var Un=Object.prototype.toString,Hn=function(){return Un.call(arguments)==="[object Arguments]"?function(e){return Un.call(e)==="[object Arguments]"}:function(e){return ot("callee",e)}}(),ba=!{toString:null}.propertyIsEnumerable("toString"),Yn=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Wn=function(){return arguments.propertyIsEnumerable("length")}(),Sa=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"&&!Wn?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var n,o,a=[],i=Wn&&Hn(e);for(n in e)ot(n,e)&&(!i||n!=="length")&&(a[a.length]=n);if(ba)for(o=Yn.length-1;o>=0;)n=Yn[o],ot(n,e)&&!Sa(a,n)&&(a[a.length]=n),o-=1;return a}),qe=G(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function qn(t,e,n,o){var a=Fn(t),i=Fn(e);function s(l,u){return Ke(l,u,n.slice(),o.slice())}return!Ye(function(l,u){return!Ye(s,u,l)},i,a)}function Ke(t,e,n,o){if(We(t,e))return!0;var a=qe(t);if(a!==qe(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"&&ga(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&We(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!We(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:qn(t.entries(),e.entries(),n.concat([t]),o.concat([e]));case"Set":return t.size!==e.size?!1:qn(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)&&Ke(e[c],t[c],l,u)))return!1;i-=1}return!0}var Dt=V(function(e,n){return Ke(e,n,[],[])});function Ta(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(Dt(t[n],e))return n;n+=1}return-1}function Kn(t,e){return Ta(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 Ze(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},wa=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 Oa(t){return function(){return!t.apply(this,arguments)}}function Zn(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 Aa(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 va(t){return Object.prototype.toString.call(t)==="[object Map]"}function fe(t){return Object.prototype.toString.call(t)==="[object Object]"}var _a=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 ka(t){return function(e){return new _a(t,e)}}var Lt=V(Ut(["fantasy-land/filter","filter"],ka,function(t,e){return fe(e)?Zn(function(n,o){return t(e[o])&&(n[o]=e[o]),n},{},yt(e)):va(e)?Aa(t,e):Jn(t,e)})),mt=V(function(e,n){return Lt(Oa(e),n)});function Xn(t,e){var n=function(s){var l=e.concat([t]);return Kn(s,l)?"<Circular>":Xn(s,l)},o=function(i,s){return de(function(l){return Ze(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):Ze(wa(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())+")":Ze(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 Xn(e,[])}),Qn=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}),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.xf["@@transducer/step"](e,this.f(n))},t}(),Ea=function(e){return function(n){return new Pa(e,n)}},K=V(Ut(["fantasy-land/map","map"],Ea,function(e,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return Ct(n.length,function(){return e.call(this,n.apply(this,arguments))});case"[object Object]":return Zn(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 tr(t,e){if(e!=null)return pe(t)?he(t,e):e[t]}var j=V(tr),er=V(function(e,n){return K(j(e),n)});function Je(t){return Object.prototype.toString.call(t)==="[object String]"}var Na=G(function(e){return Ft(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}),nr=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function xa(t,e,n){return function(a,i,s){if(Na(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[nr]!=null)return n(a,i,s[nr]());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 $a(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 Ma=V(function(e,n){return ue(e.length,function(){return e.apply(n,arguments)})});function Ca(t,e,n){for(var o=n.next();!o.done;){if(e=t["@@transducer/step"](e,o.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o=n.next()}return t["@@transducer/result"](e)}function Da(t,e,n,o){return t["@@transducer/result"](n[o](Ma(t["@@transducer/step"],t),e))}var rr=xa($a,Da,Ca),La=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 or(t){return new La(t)}var ge=X(function(t,e,n){return rr(typeof t=="function"?or(t):t,e,n)}),Ia=G(function(e){return Ct(ge(Qn,0,er("length",e)),function(){for(var n=0,o=e.length;n<o;){if(!e[n].apply(this,arguments))return!1;n+=1}return!0})}),ar=G(function(e){return function(){return e}}),Ba=G(function(e){return Ct(ge(Qn,0,er("length",e)),function(){for(var n=0,o=e.length;n<o;){if(e[n].apply(this,arguments))return!0;n+=1}return!1})}),ir=G(function(e){for(var n=yt(e),o=n.length,a=[],i=0;i<o;)a[i]=e[n[i]],i+=1;return a}),Yt=X(function(e,n,o){var a=e(n),i=e(o);return a<i?-1:a>i?1:0}),sr=G(function(e){return Ct(e.length,e)});function Ra(t,e,n){if(pe(t)&&Ft(n)){var o=t<0?n.length+t:t,a=[].concat(n);return a[o]=e,a}var i={};for(var s in n)i[s]=n[s];return i[t]=e,i}var za=G(function(e){return e==null}),Va=X(function t(e,n,o){if(e.length===0)return n;var a=e[0];if(e.length>1){var i=tr(a,o);(za(i)||typeof i!="object")&&(i=pe(e[1])?[]:{}),n=t(Array.prototype.slice.call(e,1),n,i)}return Ra(a,n,o)}),Ga=X(function(e,n,o){return Va([e],n,o)});function ja(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function lr(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 Ua),Fa(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(qe(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 lr(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 Fa(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var Ua=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}(),Ha=G(function(e){return e!=null&&typeof e.clone=="function"?e.clone():ye(e,!0)});function Ya(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function Xe(t,e){return function(){var n=arguments.length;if(n===0)return e();var o=arguments[n-1];return Ft(o)||typeof o[t]!="function"?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}var Wa=X(Xe("slice",function(e,n,o){return Array.prototype.slice.call(o,e,n)})),qa=G(Xe("tail",Wa(1,1/0)));function It(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return ue(arguments[0].length,ge(Ya,arguments[0],qa(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 Qe=G(function(t){return he(0,t)}),Ka=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 Ka(t,e,n,o)}}var cr=Ue(4,[],Ut([],Za,function(e,n,o,a){var i=or(function(s,l){var u=o(l),c=e(ot(u,s)?s[u]:ye(n,!1),l);return c&&c["@@transducer/reduced"]?He(s):(s[u]=c,s)});return rr(i,{},a)})),vt=X(function(e,n,o){var a=e(n),i=e(o);return a>i?-1:a<i?1:0}),ur=G(function(t){return he(-1,t)});function Ja(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 Xa=G(function(e){return e!=null&&typeof e["fantasy-land/empty"]=="function"?e["fantasy-land/empty"]():e!=null&&e.constructor!=null&&typeof e.constructor["fantasy-land/empty"]=="function"?e.constructor["fantasy-land/empty"]():e!=null&&typeof e.empty=="function"?e.empty():e!=null&&e.constructor!=null&&typeof e.constructor.empty=="function"?e.constructor.empty():e==Set||e instanceof Set?new Set:e==Map||e instanceof Map?new Map:Ft(e)?[]:Je(e)?"":fe(e)?{}:Hn(e)?function(){return arguments}():Ja(e)?e.constructor.from(""):void 0}),Qa=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=He(this.xf["@@transducer/step"](e,n))),e},t}();function ti(t){return function(e){return new Qa(t,e)}}var ei=V(Ut(["find"],ti,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return n[o];o+=1}})),ni=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=He(this.xf["@@transducer/step"](e,this.idx))),e},t}();function ri(t){return function(e){return new ni(t,e)}}var oi=V(Ut([],ri,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return o;o+=1}return-1})),qt=V(Xe("groupBy",cr(function(t,e){return t.push(e),t},[]))),ai=X(function(e,n,o){return Ct(Math.max(e.length,n.length,o.length),function(){return e.apply(this,arguments)?n.apply(this,arguments):o.apply(this,arguments)})}),ii=V(Kn),dr=cr(function(t,e){return e},null),si=X(function(e,n,o){return Jn(function(a){return Ye(e,a,o)},n)});function li(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 ci=typeof Object.assign=="function"?Object.assign:li;var be=V(function(e,n){return Ct(e+1,function(){var o=arguments[e];if(o!=null&&ja(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&&Dt(e,Xa(e))}),ui=G(function(e){return!Kt(e)}),fr=be(1,"join"),di=V(function(e,n){return function(o){return function(a){return K(function(i){return n(i,a)},o(e(a)))}}});function mr(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 pr=G(function(e){return di(j(e),Ga(e))}),fi=ge(pa,0),hr=X(function(e,n,o){var a={},i;n=n||{},o=o||{};for(i in n)ot(i,n)&&(a[i]=ot(i,o)?e(i,n[i],o[i]):n[i]);for(i in o)ot(i,o)&&!ot(i,a)&&(a[i]=o[i]);return a}),mi=X(function t(e,n,o){return hr(function(a,i,s){return fe(i)&&fe(s)?t(e,i,s):e(a,i,s)},n,o)}),gr=V(function(e,n){return mi(function(o,a,i){return i},e,n)}),yr=V(function(e,n){return ci({},n,e)}),pi=X(function(e,n,o){return hr(function(a,i,s){return e(i,s)},n,o)}),tn=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}),br=function(t){return{value:t,map:function(e){return br(e(t))}}},Sr=X(function(e,n,o){return e(function(a){return br(n(a))})(o).value}),bt=V(mr),Tr=X(function(e,n,o){return Dt(mr(n,o),e)}),en=V(function(e,n){for(var o={},a=0;a<e.length;)e[a]in n&&(o[e[a]]=n[e[a]]),a+=1;return o}),Zt=X(function(e,n,o){return Dt(e,j(n,o))}),wr=X(function(e,n,o){return e(j(n,o))}),Se=X(function(e,n,o){return o.replace(e,n)}),nn=V(function(e,n){return Array.prototype.slice.call(n,0).sort(e)}),St=V(function(e,n){return Array.prototype.slice.call(n,0).sort(function(o,a){var i=e(o),s=e(a);return i<s?-1:i>s?1:0})}),Te=V(function(e,n){return Array.prototype.slice.call(n,0).sort(function(o,a){for(var i=0,s=0;i===0&&s<e.length;)i=e[s](o,a),s+=1;return i})}),pt=be(1,"split");function hi(t){return Object.prototype.toString.call(t)==="[object RegExp]"}var gi=V(function(e,n){if(!hi(e))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+me(e));return lr(e).test(n)}),Or=be(0,"toLowerCase"),yi=be(0,"toUpperCase"),Jt=`
|
|
9
|
-
\v\f\r \u2028\u2029\uFEFF`,bi="",Si=typeof String.prototype.trim=="function",Xt=G(!Si||Jt.trim()||!bi.trim()?function(e){var n=new RegExp("^["+Jt+"]["+Jt+"]*"),o=new RegExp("["+Jt+"]["+Jt+"]*$");return e.replace(n,"").replace(o,"")}:function(e){return e.trim()});function Ar(t,e,n,o){const a=r.ref(""),i=r.ref(!1),s=l=>{const u=Lt(j(e),l),c=u.length>0;if(i.value=c,!c)return a.value="";const f=u.map(y=>({team:y.team.longName,points:Math.abs(j(e,y))})).map(y=>n(`additionalText.${e}.content`,y)).join(", ");a.value=[n(`additionalText.${e}.prependix`),f,...n(`additionalText.${e}.appendix`)&&[n(`additionalText.${e}.appendix`)]].join(" ")};return r.watch(t,s,{immediate:!0}),r.watch(()=>r.unref(o),()=>s(r.unref(t))),{text:a,isVisible:i}}const vr=Symbol("I18nContext"),J=r.reactive({messages:{},locale:"",fallbackLocale:""});function _r({messages:t={},locale:e="",fallbackLocale:n=""}){J.messages=gr(J.messages,t),J.locale=e,J.fallbackLocale=n;const o=(u,c={})=>{const d=!Kt(c),f=K(Xt,pt(".",u));return r.computed(()=>{const h=kr(f);return d?wi(h,c):h}).value},a=u=>{const c=K(Xt,pt(".",u));return!!rn(J.locale,c,J.messages)},i=u=>{J.locale=u},l={locale:r.computed({get(){return J.locale},set(u){J.locale=u}}),setLocale:i,translate:o,hasTranslation:a};return r.provide(vr,l),{translate:o}}function lt(t){t&&(J.messages=t.messages,J.locale=t.locale,J.fallbackLocale=t.fallbackLocale);const e=Ti();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranslation:e.hasTranslation}}function Ti(){const t=r.inject(vr,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}function kr(t=[]){let e=rn(J.locale,t,J.messages);return!e&&J.fallbackLocale&&(e=rn(J.fallbackLocale,t,J.messages)),e||t.join(".")}function rn(t,e,n){return bt([t,...e],n)}function wi(t,e){return t.replace(/\{(\w+)\}/g,(n,o)=>e[o])}const Pr=r.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const n=K(Xt,pt(".",t.path)),o=kr(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 on(t,e="",n={}){const o=r.ref(""),{t:a}=lt(),i=r.computed(()=>{if(r.unref(e))try{const u=Er(r.unref(t),r.unref(e));return tn(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 Er(t,e=""){const n=K(Xt,pt(",",e)),o=yt(t);if(n[0]==="")return[];const a=n.findIndex(i=>!o.includes(i));if(a>-1)throw n[a];return n}const Oi=["text-start","text-center","text-end","w-auto"];function Nr(t){return t&&t.match(/[A-Z]{2,}(?=[A-Z][a-z]|\b)|[A-Z]?[a-z]+\d*|[A-Z]|\d+/g).map(e=>e.toLowerCase()).join("-")}function ht(t="",e={}){return t.replace(/\{([^}]+)\}/g,(n,o)=>bt(pt(".",o),e))}function xr(t){return(t||"").split(" ").filter(e=>Oi.includes(e)).join(" ")}const $r=Symbol("ErrorProviderContext");function Mr(){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||Nr(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 an(){const t=Ai();return{onError:t.onError,reset:t.reset}}function Ai(){const t=r.inject($r,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}async function Cr(t,e,n){const o=`undefined${r.unref(t)}${Kt(n)?"":`?${vi(n)}`}`;return new Promise((a,i)=>{fetch(o,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":_i(e)}}).then(s=>s.json()).then(s=>{if(s.error)return i(s);if(s.data.message)return i(s.data);a(s.data)}).catch(s=>{i(s)})})}function vi(t){return Object.keys(t).map(e=>`${e}=${t[e]}`).join("&")}function _i(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",Dr=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,ki=Object.prototype.toString,Pi=t=>ki.call(t)==="[object Object]",tt=()=>{},Ei=Ni();function Ni(){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 Lr(...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 xi(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 Ir=t=>t();function $i(t=Ir,e={}){const{initialState:n="active"}=e,o=Lr(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 sn(t,e=!1,n="Timeout"){return new Promise((o,a)=>{setTimeout(e?()=>a(n):o,t)})}function ln(t){return Array.isArray(t)?t:[t]}function Mi(t,e,n={}){const{eventFilter:o=Ir,...a}=n;return r.watch(t,xi(o,e),a)}function Ci(t,e,n={}){const{eventFilter:o,initialState:a="active",...i}=n,{eventFilter:s,pause:l,resume:u,isActive:c}=$i(o,{initialState:a});return{stop:Mi(t,e,{...i,eventFilter:s}),pause:l,resume:u,isActive:c}}function cn(t,e=!1){function n(f,{flush:y="sync",deep:h=!1,timeout:m,throwOnTimeout:S}={}){let g=null;const w=[new Promise(k=>{g=r.watch(t,E=>{f(E)!==e&&(g?g():r.nextTick(()=>g?.()),k(E))},{flush:y,deep:h,immediate:!0})})];return m!=null&&w.push(sn(m,S).then(()=>r.toValue(t)).finally(()=>g?.())),Promise.race(w)}function o(f,y){if(!r.isRef(f))return n(E=>E===f,y);const{flush:h="sync",deep:m=!1,timeout:S,throwOnTimeout:g}=y??{};let T=null;const k=[new Promise(E=>{T=r.watch([t,f],([N,L])=>{e!==(N===L)&&(T?T():r.nextTick(()=>T?.()),E(N))},{flush:h,deep:m,immediate:!0})})];return S!=null&&k.push(sn(S,g).then(()=>r.toValue(t)).finally(()=>(T?.(),r.toValue(t)))),Promise.race(k)}function a(f){return n(y=>!!y,f)}function i(f){return o(null,f)}function s(f){return o(void 0,f)}function l(f){return n(Number.isNaN,f)}function u(f,y){return n(h=>{const m=Array.from(h);return m.includes(f)||m.includes(r.toValue(f))},y)}function c(f){return d(1,f)}function d(f=1,y){let h=-1;return n(()=>(h+=1,h>=f),y)}return Array.isArray(r.toValue(t))?{toMatch:n,toContains:u,changed:c,changedTimes:d,get not(){return cn(t,!e)}}:{toMatch:n,toBe:o,toBeTruthy:a,toBeNull:i,toBeNaN:l,toBeUndefined:s,changed:c,changedTimes:d,get not(){return cn(t,!e)}}}function Di(t){return cn(t)}function Li(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&>&&c(),r.isRef(e)||typeof e=="function"){const d=r.watch(e,()=>{s.value&>&&c()});Qt(d)}return Qt(u),{isActive:r.shallowReadonly(s),pause:u,resume:c}}function Ii(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 Bi(t,e,n){return r.watch(t,e,{...n,immediate:!0})}function Ri(t,e,n){return r.watch(t,e,{...n,once:!0})}function zi(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,Vi=gt?window.document:void 0;function _t(t){var e;const n=r.toValue(t);return(e=n?.$el)!=null?e:n}function te(...t){const e=[],n=()=>{e.forEach(l=>l()),e.length=0},o=(l,u,c,d)=>(l.addEventListener(u,c,d),()=>l.removeEventListener(u,c,d)),a=r.computed(()=>{const l=ln(r.toValue(t[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),i=Bi(()=>{var l,u;return[(u=(l=a.value)==null?void 0:l.map(c=>_t(c)))!=null?u:[Br].filter(c=>c!=null),ln(r.toValue(a.value?t[1]:t[0])),ln(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=Pi(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 Gi(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(Ei&&!Rr){Rr=!0;const g={passive:!0};Array.from(o.document.body.children).forEach(T=>T.addEventListener("click",tt,g)),o.document.documentElement.addEventListener("click",tt,g)}let u=!0;const c=g=>r.toValue(a).some(T=>{if(typeof T=="string")return Array.from(o.document.querySelectorAll(T)).some(w=>w===g.target||g.composedPath().includes(w));{const w=_t(T);return w&&(g.target===w||g.composedPath().includes(w))}});function d(g){const T=r.toValue(g);return T&&T.$.subTree.shapeFlag===16}function f(g,T){const w=r.toValue(g),k=w.$.subTree&&w.$.subTree.children;return k==null||!Array.isArray(k)?!1:k.some(E=>E.el===T.target||T.composedPath().includes(E.el))}const y=g=>{const T=_t(t);if(g.target!=null&&!(!(T instanceof Element)&&d(t)&&f(t,g))&&!(!T||T===g.target||g.composedPath().includes(T))){if("detail"in g&&g.detail===0&&(u=!c(g)),!u){u=!0;return}e(g)}};let h=!1;const m=[te(o,"click",g=>{h||(h=!0,setTimeout(()=>{h=!1},0),y(g))},{passive:!0,capture:i}),te(o,"pointerdown",g=>{const T=_t(t);u=!c(g)&&!!(T&&!g.composedPath().includes(T))},{passive:!0}),s&&te(o,"blur",g=>{setTimeout(()=>{var T;const w=_t(t);((T=o.document.activeElement)==null?void 0:T.tagName)==="IFRAME"&&!w?.contains(o.document.activeElement)&&e(g)},0)},{passive:!0})].filter(Boolean),S=()=>m.forEach(g=>g());return l?{stop:S,cancel:()=>{u=!1},trigger:g=>{u=!0,y(g),u=!1}}:S}function 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(T=0,...w){l&&(d.value=e),h.value=void 0,f.value=!1,y.value=!0,T>0&&await sn(T);const k=typeof t=="function"?t(...w):t;try{const E=await k;d.value=E,f.value=!0,s(E)}catch(E){if(h.value=E,i(E),c)throw E}finally{y.value=!1}return d.value}o&&m(a);const S={state:d,isReady:f,isLoading:y,error:h,execute:m,executeImmediate:(...T)=>m(0,...T)};function g(){return new Promise((T,w)=>{Di(y).toBe(!1).then(()=>T(S)).catch(w)})}return{...S,then(T,w){return g().then(T,w)}}}function ji(t={}){const{document:e=Vi}=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 Fi(t){return new Promise((e,n)=>{const o=new Image,{src:a,srcset:i,sizes:s,class:l,loading:u,crossorigin:c,referrerPolicy:d,width:f,height:y,decoding:h,fetchPriority:m,ismap:S,usemap:g}=t;o.src=a,i!=null&&(o.srcset=i),s!=null&&(o.sizes=s),l!=null&&(o.className=l),u!=null&&(o.loading=u),c!=null&&(o.crossOrigin=c),d!=null&&(o.referrerPolicy=d),f!=null&&(o.width=f),y!=null&&(o.height=y),h!=null&&(o.decoding=h),m!=null&&(o.fetchPriority=m),S!=null&&(o.isMap=S),g!=null&&(o.useMap=g),o.onload=()=>e(o),o.onerror=n})}function Ui(t,e={}){const n=zr(()=>Fi(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 un(t){return t===!0?{}:t}function Hi(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=Lr(t);let m,S,g=!1,T=0,w=[],k,E;const N=()=>{if(w.length&&y.value&&f.value==="OPEN"){for(const R of w)y.value.send(R);w=[]}},L=()=>{k!=null&&(clearTimeout(k),k=void 0)},B=()=>{clearTimeout(E),E=void 0},F=(R=1e3,Y)=>{L(),!(!gt&&!Dr||!y.value)&&(g=!0,B(),m?.(),y.value.close(R,Y),y.value=void 0)},U=(R,Y=!0)=>!y.value||f.value!=="OPEN"?(Y&&w.push(R),!1):(N(),y.value.send(R),!0),C=()=>{if(g||typeof h.value>"u")return;const R=new WebSocket(h.value,c);y.value=R,f.value="CONNECTING",R.onopen=()=>{f.value="OPEN",T=0,n?.(R),S?.(),N()},R.onclose=Y=>{if(f.value="CLOSED",B(),m?.(),o?.(R,Y),!g&&e.autoReconnect&&(y.value==null||R===y.value)){const{retries:P=-1,delay:_=1e3,onFailed:O}=un(e.autoReconnect);(typeof P=="function"?P:()=>typeof P=="number"&&(P<0||T<P))(T)?(T+=1,k=setTimeout(C,_)):O?.()}},R.onerror=Y=>{a?.(R,Y)},R.onmessage=Y=>{if(e.heartbeat){B();const{message:P=Vr,responseMessage:_=P}=un(e.heartbeat);if(Y.data===r.toValue(_))return}d.value=Y.data,i?.(R,Y)}};if(e.heartbeat){const{message:R=Vr,interval:Y=1e3,pongTimeout:P=1e3}=un(e.heartbeat),{pause:_,resume:O}=Li(()=>{U(r.toValue(R),!1),E==null&&(E=setTimeout(()=>{F(),g=!1},P))},Y,{immediate:!1});m=_,S=O}u&&(gt&&te("beforeunload",()=>F(),{passive:!0}),Qt(F));const M=()=>{!gt&&!Dr||(F(),g=!1,T=0,C())};return s&&M(),l&&r.watch(h,M),{data:d,status:f,close:F,send:U,open:M,ws:y}}function Yi(t,e){const{open:n,close:o}=Hi(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}=Ii(()=>{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:{}},Wi=we.exports,jr;function Fr(){return jr||(jr=1,function(t,e){(function(n,o){t.exports=o()})(Wi,function(){var n=1e3,o=6e4,a=36e5,i="millisecond",s="second",l="minute",u="hour",c="day",d="week",f="month",y="quarter",h="year",m="date",S="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(P){var _=["th","st","nd","rd"],O=P%100;return"["+P+(_[(O-20)%10]||_[O]||_[0])+"]"}},k=function(P,_,O){var v=String(P);return!v||v.length>=_?P:""+Array(_+1-v.length).join(O)+P},E={s:k,z:function(P){var _=-P.utcOffset(),O=Math.abs(_),v=Math.floor(O/60),A=O%60;return(_<=0?"+":"-")+k(v,2,"0")+":"+k(A,2,"0")},m:function P(_,O){if(_.date()<O.date())return-P(O,_);var v=12*(O.year()-_.year())+(O.month()-_.month()),A=_.clone().add(v,f),x=O-A<0,$=_.clone().add(v+(x?-1:1),f);return+(-(v+(O-A)/(x?A-$:$-A))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:f,y:h,w:d,d:c,D:m,h:u,m:l,s,ms:i,Q:y}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},N="en",L={};L[N]=w;var B="$isDayjsObject",F=function(P){return P instanceof R||!(!P||!P[B])},U=function P(_,O,v){var A;if(!_)return N;if(typeof _=="string"){var x=_.toLowerCase();L[x]&&(A=x),O&&(L[x]=O,A=x);var $=_.split("-");if(!A&&$.length>1)return P($[0])}else{var z=_.name;L[z]=_,A=z}return!v&&A&&(N=A),A||!v&&N},C=function(P,_){if(F(P))return P.clone();var O=typeof _=="object"?_:{};return O.date=P,O.args=arguments,new R(O)},M=E;M.l=U,M.i=F,M.w=function(P,_){return C(P,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var R=function(){function P(O){this.$L=U(O.locale,null,!0),this.parse(O),this.$x=this.$x||O.x||{},this[B]=!0}var _=P.prototype;return _.parse=function(O){this.$d=function(v){var A=v.date,x=v.utc;if(A===null)return new Date(NaN);if(M.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var $=A.match(g);if($){var z=$[2]-1||0,W=($[7]||"0").substring(0,3);return x?new Date(Date.UTC($[1],z,$[3]||1,$[4]||0,$[5]||0,$[6]||0,W)):new Date($[1],z,$[3]||1,$[4]||0,$[5]||0,$[6]||0,W)}}return new Date(A)}(O),this.init()},_.init=function(){var O=this.$d;this.$y=O.getFullYear(),this.$M=O.getMonth(),this.$D=O.getDate(),this.$W=O.getDay(),this.$H=O.getHours(),this.$m=O.getMinutes(),this.$s=O.getSeconds(),this.$ms=O.getMilliseconds()},_.$utils=function(){return M},_.isValid=function(){return this.$d.toString()!==S},_.isSame=function(O,v){var A=C(O);return this.startOf(v)<=A&&A<=this.endOf(v)},_.isAfter=function(O,v){return C(O)<this.startOf(v)},_.isBefore=function(O,v){return this.endOf(v)<C(O)},_.$g=function(O,v,A){return M.u(O)?this[v]:this.set(A,O)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(O,v){var A=this,x=!!M.u(v)||v,$=M.p(O),z=function(Mt,et){var Ot=M.w(A.$u?Date.UTC(A.$y,et,Mt):new Date(A.$y,et,Mt),A);return x?Ot:Ot.endOf(c)},W=function(Mt,et){return M.w(A.toDate()[Mt].apply(A.toDate("s"),(x?[0,0,0,0]:[23,59,59,999]).slice(et)),A)},Z=this.$W,Q=this.$M,rt=this.$D,jt="set"+(this.$u?"UTC":"");switch($){case h:return x?z(1,0):z(31,11);case f:return x?z(1,Q):z(0,Q+1);case d:var $t=this.$locale().weekStart||0,le=(Z<$t?Z+7:Z)-$t;return z(x?rt-le:rt+(6-le),Q);case c:case m:return W(jt+"Hours",0);case u:return W(jt+"Minutes",1);case l:return W(jt+"Seconds",2);case s:return W(jt+"Milliseconds",3);default:return this.clone()}},_.endOf=function(O){return this.startOf(O,!1)},_.$set=function(O,v){var A,x=M.p(O),$="set"+(this.$u?"UTC":""),z=(A={},A[c]=$+"Date",A[m]=$+"Date",A[f]=$+"Month",A[h]=$+"FullYear",A[u]=$+"Hours",A[l]=$+"Minutes",A[s]=$+"Seconds",A[i]=$+"Milliseconds",A)[x],W=x===c?this.$D+(v-this.$W):v;if(x===f||x===h){var Z=this.clone().set(m,1);Z.$d[z](W),Z.init(),this.$d=Z.set(m,Math.min(this.$D,Z.daysInMonth())).$d}else z&&this.$d[z](W);return this.init(),this},_.set=function(O,v){return this.clone().$set(O,v)},_.get=function(O){return this[M.p(O)]()},_.add=function(O,v){var A,x=this;O=Number(O);var $=M.p(v),z=function(Q){var rt=C(x);return M.w(rt.date(rt.date()+Math.round(Q*O)),x)};if($===f)return this.set(f,this.$M+O);if($===h)return this.set(h,this.$y+O);if($===c)return z(1);if($===d)return z(7);var W=(A={},A[l]=o,A[u]=a,A[s]=n,A)[$]||1,Z=this.$d.getTime()+O*W;return M.w(Z,this)},_.subtract=function(O,v){return this.add(-1*O,v)},_.format=function(O){var v=this,A=this.$locale();if(!this.isValid())return A.invalidDate||S;var x=O||"YYYY-MM-DDTHH:mm:ssZ",$=M.z(this),z=this.$H,W=this.$m,Z=this.$M,Q=A.weekdays,rt=A.months,jt=A.meridiem,$t=function(et,Ot,ce,Ge){return et&&(et[Ot]||et(v,x))||ce[Ot].slice(0,Ge)},le=function(et){return M.s(z%12||12,et,"0")},Mt=jt||function(et,Ot,ce){var Ge=et<12?"AM":"PM";return ce?Ge.toLowerCase():Ge};return x.replace(T,function(et,Ot){return Ot||function(ce){switch(ce){case"YY":return String(v.$y).slice(-2);case"YYYY":return M.s(v.$y,4,"0");case"M":return Z+1;case"MM":return M.s(Z+1,2,"0");case"MMM":return $t(A.monthsShort,Z,rt,3);case"MMMM":return $t(rt,Z);case"D":return v.$D;case"DD":return M.s(v.$D,2,"0");case"d":return String(v.$W);case"dd":return $t(A.weekdaysMin,v.$W,Q,2);case"ddd":return $t(A.weekdaysShort,v.$W,Q,3);case"dddd":return Q[v.$W];case"H":return String(z);case"HH":return M.s(z,2,"0");case"h":return le(1);case"hh":return le(2);case"a":return Mt(z,W,!0);case"A":return Mt(z,W,!1);case"m":return String(W);case"mm":return M.s(W,2,"0");case"s":return String(v.$s);case"ss":return M.s(v.$s,2,"0");case"SSS":return M.s(v.$ms,3,"0");case"Z":return $}return null}(et)||$.replace(":","")})},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(O,v,A){var x,$=this,z=M.p(v),W=C(O),Z=(W.utcOffset()-this.utcOffset())*o,Q=this-W,rt=function(){return M.m($,W)};switch(z){case h:x=rt()/12;break;case f:x=rt();break;case y:x=rt()/3;break;case d:x=(Q-Z)/6048e5;break;case c:x=(Q-Z)/864e5;break;case u:x=Q/a;break;case l:x=Q/o;break;case s:x=Q/n;break;default:x=Q}return A?x:M.a(x)},_.daysInMonth=function(){return this.endOf(f).$D},_.$locale=function(){return L[this.$L]},_.locale=function(O,v){if(!O)return this.$L;var A=this.clone(),x=U(O,v,!0);return x&&(A.$L=x),A},_.clone=function(){return M.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},P}(),Y=R.prototype;return C.prototype=Y,[["$ms",i],["$s",s],["$m",l],["$H",u],["$W",c],["$M",f],["$y",h],["$D",m]].forEach(function(P){Y[P[1]]=function(_){return this.$g(_,P[0],P[1])}}),C.extend=function(P,_){return P.$i||(P(_,R,C),P.$i=!0),C},C.locale=U,C.isDayjs=F,C.unix=function(P){return C(1e3*P)},C.en=L[N],C.Ls=L,C.p={},C})}(we)),we.exports}var qi=Fr();const I=at(qi);var Oe={exports:{}},Ki=Oe.exports,Ur;function Zi(){return Ur||(Ur=1,function(t,e){(function(n,o){t.exports=o()})(Ki,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 Ji=Zi();const Xi=at(Ji);var Ae={exports:{}},Qi=Ae.exports,Hr;function ts(){return Hr||(Hr=1,function(t,e){(function(n,o){t.exports=o()})(Qi,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 es=ts();const ns=at(es);var ve={exports:{}},rs=ve.exports,Yr;function os(){return Yr||(Yr=1,function(t,e){(function(n,o){t.exports=o()})(rs,function(){return function(n,o){o.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})}(ve)),ve.exports}var as=os();const is=at(as);var _e={exports:{}},ss=_e.exports,Wr;function ls(){return Wr||(Wr=1,function(t,e){(function(n,o){t.exports=o()})(ss,function(){return function(n,o,a){o.prototype.isToday=function(){var i="YYYY-MM-DD",s=a();return this.format(i)===s.format(i)}}})}(_e)),_e.exports}var cs=ls();const us=at(cs);var ke={exports:{}},ds=ke.exports,qr;function fs(){return qr||(qr=1,function(t,e){(function(n,o){t.exports=o()})(ds,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(o,a,i){var s=a.prototype,l=s.format;i.en.formats=n,s.format=function(u){u===void 0&&(u="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,d=function(f,y){return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(h,m,S){var g=S&&S.toUpperCase();return m||y[S]||n[S]||y[g].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(T,w,k){return w||k.slice(1)})})}(u,c===void 0?{}:c);return l.call(this,d)}}})}(ke)),ke.exports}var ms=fs();const ps=at(ms);var Pe={exports:{}},hs=Pe.exports,Kr;function gs(){return Kr||(Kr=1,function(t,e){(function(n,o){t.exports=o()})(hs,function(){return function(n,o,a){var i=function(s,l){if(!l||!l.length||l.length===1&&!l[0]||l.length===1&&Array.isArray(l[0])&&!l[0].length)return null;var u;l.length===1&&l[0].length>0&&(l=l[0]),u=(l=l.filter(function(d){return d}))[0];for(var c=1;c<l.length;c+=1)l[c].isValid()&&!l[c][s](u)||(u=l[c]);return u};a.max=function(){var s=[].slice.call(arguments,0);return i("isAfter",s)},a.min=function(){var s=[].slice.call(arguments,0);return i("isBefore",s)}}})}(Pe)),Pe.exports}var ys=gs();const bs=at(ys);var Ee={exports:{}},Ss=Ee.exports,Zr;function Ts(){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,S,g,T=f.$locale().relativeTime||s,w=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],k=w.length,E=0;E<k;E+=1){var N=w[E];N.d&&(m=y?a(c).diff(f,N.d,!0):f.diff(c,N.d,!0));var L=(n.rounding||Math.round)(Math.abs(m));if(g=m>0,L<=N.r||!N.r){L<=1&&E>0&&(N=w[E-1]);var B=T[N.l];h&&(L=h(""+L)),S=typeof B=="string"?B.replace("%d",L):B(L,d,N.l,g);break}}if(d)return S;var F=g?T.future:T.past;return typeof F=="function"?F(S):F.replace("%s",S)},i.to=function(c,d){return l(c,d,this,!0)},i.from=function(c,d){return l(c,d,this)};var u=function(c){return c.$u?a.utc():a()};i.toNow=function(c){return this.to(u(this),c)},i.fromNow=function(c){return this.from(u(this),c)}}})}(Ee)),Ee.exports}var ws=Ts();const Os=at(ws);var Ne={exports:{}},As=Ne.exports,Jr;function vs(){return Jr||(Jr=1,function(t,e){(function(n,o){t.exports=o()})(As,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(a,i,s){var l,u=function(y,h,m){m===void 0&&(m={});var S=new Date(y),g=function(T,w){w===void 0&&(w={});var k=w.timeZoneName||"short",E=T+"|"+k,N=o[E];return N||(N=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:T,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:k}),o[E]=N),N}(h,m);return g.formatToParts(S)},c=function(y,h){for(var m=u(y,h),S=[],g=0;g<m.length;g+=1){var T=m[g],w=T.type,k=T.value,E=n[w];E>=0&&(S[E]=parseInt(k,10))}var N=S[3],L=N===24?0:N,B=S[0]+"-"+S[1]+"-"+S[2]+" "+L+":"+S[4]+":"+S[5]+":000",F=+y;return(s.utc(B).valueOf()-(F-=F%1e3))/6e4},d=i.prototype;d.tz=function(y,h){y===void 0&&(y=l);var m,S=this.utcOffset(),g=this.toDate(),T=g.toLocaleString("en-US",{timeZone:y}),w=Math.round((g-new Date(T))/1e3/60),k=15*-Math.round(g.getTimezoneOffset()/15)-w;if(!Number(k))m=this.utcOffset(0,h);else if(m=s(T,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(k,!0),h){var E=m.utcOffset();m=m.add(S-E,"minute")}return m.$x.$timezone=y,m},d.offsetName=function(y){var h=this.$x.$timezone||s.tz.guess(),m=u(this.valueOf(),h,{timeZoneName:y}).find(function(S){return S.type.toLowerCase()==="timezonename"});return m&&m.value};var f=d.startOf;d.startOf=function(y,h){if(!this.$x||!this.$x.$timezone)return f.call(this,y,h);var m=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return f.call(m,y,h).tz(this.$x.$timezone,!0)},s.tz=function(y,h,m){var S=m&&h,g=m||h||l,T=c(+s(),g);if(typeof y!="string")return s(y).tz(g);var w=function(L,B,F){var U=L-60*B*1e3,C=c(U,F);if(B===C)return[U,B];var M=c(U-=60*(C-B)*1e3,F);return C===M?[U,C]:[L-60*Math.min(C,M)*1e3,Math.max(C,M)]}(s.utc(y,S).valueOf(),T,g),k=w[0],E=w[1],N=s(k).utcOffset(E);return N.$x.$timezone=g,N},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(y){l=y}}})}(Ne)),Ne.exports}var _s=vs();const ks=at(_s);var xe={exports:{}},Ps=xe.exports,Xr;function Es(){return Xr||(Xr=1,function(t,e){(function(n,o){t.exports=o()})(Ps,function(){var n="minute",o=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(i,s,l){var u=s.prototype;l.utc=function(S){var g={date:S,utc:!0,args:arguments};return new s(g)},u.utc=function(S){var g=l(this.toDate(),{locale:this.$L,utc:!0});return S?g.add(this.utcOffset(),n):g},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(S){S.utc&&(this.$u=!0),this.$utils().u(S.$offset)||(this.$offset=S.$offset),c.call(this,S)};var d=u.init;u.init=function(){if(this.$u){var S=this.$d;this.$y=S.getUTCFullYear(),this.$M=S.getUTCMonth(),this.$D=S.getUTCDate(),this.$W=S.getUTCDay(),this.$H=S.getUTCHours(),this.$m=S.getUTCMinutes(),this.$s=S.getUTCSeconds(),this.$ms=S.getUTCMilliseconds()}else d.call(this)};var f=u.utcOffset;u.utcOffset=function(S,g){var T=this.$utils().u;if(T(S))return this.$u?0:T(this.$offset)?f.call(this):this.$offset;if(typeof S=="string"&&(S=function(N){N===void 0&&(N="");var L=N.match(o);if(!L)return null;var B=(""+L[0]).match(a)||["-",0,0],F=B[0],U=60*+B[1]+ +B[2];return U===0?0:F==="+"?U:-U}(S),S===null))return this;var w=Math.abs(S)<=16?60*S:S,k=this;if(g)return k.$offset=w,k.$u=S===0,k;if(S!==0){var E=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(k=this.local().add(w+E,n)).$offset=w,k.$x.$localOffset=E}else k=this.utc();return k};var y=u.format;u.format=function(S){var g=S||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return y.call(this,g)},u.valueOf=function(){var S=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*S},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var h=u.toDate;u.toDate=function(S){return S==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var m=u.diff;u.diff=function(S,g,T){if(S&&this.$u===S.$u)return m.call(this,S,g,T);var w=this.local(),k=l(S).local();return m.call(w,k,g,T)}}})}(xe)),xe.exports}var Ns=Es();const xs=at(Ns);var $e={exports:{}},$s=$e.exports,Qr;function Ms(){return Qr||(Qr=1,function(t,e){(function(n,o){t.exports=o()})($s,function(){return function(n,o){o.prototype.weekday=function(a){var i=this.$locale().weekStart||0,s=this.$W,l=(s<i?s+7:s)-i;return this.$utils().u(a)?l:this.subtract(l,"day").add(a,"day")}}})}($e)),$e.exports}var Cs=Ms();const Ds=at(Cs);var Me={exports:{}},Ls=Me.exports,to;function Is(){return to||(to=1,function(t,e){(function(n,o){t.exports=o(Fr())})(Ls,function(n){function o(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=o(n),i={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(s,l,u,c){return"néhány másodperc"+(c||l?"":"e")},m:function(s,l,u,c){return"egy perc"+(c||l?"":"e")},mm:function(s,l,u,c){return s+" perc"+(c||l?"":"e")},h:function(s,l,u,c){return"egy "+(c||l?"óra":"órája")},hh:function(s,l,u,c){return s+" "+(c||l?"óra":"órája")},d:function(s,l,u,c){return"egy "+(c||l?"nap":"napja")},dd:function(s,l,u,c){return s+" "+(c||l?"nap":"napja")},M:function(s,l,u,c){return"egy "+(c||l?"hónap":"hónapja")},MM:function(s,l,u,c){return s+" "+(c||l?"hónap":"hónapja")},y:function(s,l,u,c){return"egy "+(c||l?"év":"éve")},yy:function(s,l,u,c){return s+" "+(c||l?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return a.default.locale(i,null,!0),i})}(Me)),Me.exports}Is(),I.extend(xs),I.extend(ks),I.extend(Xi),I.extend(Os),I.extend(ps),I.extend(is),I.extend(ns),I.extend(us),I.extend(Ds),I.extend(bs);const eo=()=>I.tz.guess();function kt(t="",e="",n="",o="hu"){return n=n||I.tz.guess(),I(t).isValid()?I(t).tz(n).locale(o).format(e):""}function ee(t="",e="",n="hu"){if(!I(t).isValid())return"";e=e||I.tz.guess();const a=new Intl.DateTimeFormat(Bs(n),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(i=>i.type==="timeZoneName");return a&&a.value}function Bs(t){return Rn.get(t)}function dn(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 fn(t,e="day"){return I().isSameOrBefore(I(t),e)}function oo(t,e,n,o="[]"){return I(t).isBetween(e,I(n),"day",o)}function Rs(t,e,n="month"){return I(t).isSame(e,n)}function zs(t,e="hu"){return I(t).locale(e).toNow(!0)}function Vs(t,e,n="day"){return I(t).isBefore(e,n)}function Gs(t,e,n="day"){return I(t).isAfter(e,n)}function js(t){return I(t).isToday()}function Fs(t){const e=I().weekday(1),n=I().weekday(7);return oo(t,e,n)}function Us(t){const e=I(t).weekday(1),n=I(t).weekday(7);return{startDate:e,endDate:n}}function Hs(t,e){return I(t).subtract(e,"day")}function Ys(t,e){return I(t).add(e,"day")}function Ws(t){return I(t).startOf("month")}function qs(t){return I(t).endOf("month")}function Ks(t){return Array.isArray(t)&&(t=t.map(e=>I(e))),I.min(t)}function Zs(t){return Array.isArray(t)&&(t=t.map(e=>I(e))),I.max(...t)}function Js(t={}){const{initial:e=1,items:n=[],limit:o,auto:a=!1}=t,i=r.ref(r.unref(e)),s=c=>fn(c,"day");return Ri(n,()=>{if(!a)return;const c=oi(wr(s,"gameDate"))(r.unref(n));i.value=c===-1?1:Math.floor(c/o)+1}),{page:i,change:c=>{i.value=c}}}function Xs({currentPage:t,itemsPerPage:e=20,totalItems:n,rangeLength:o=5,update:a=tt}){const i=r.computed(()=>Math.ceil(r.unref(n)/e)),s=r.computed(()=>{const d=r.unref(t)-1,f=Array.from({length:i.value},(m,S)=>S+1),y=Math.floor(o/2);let h=Math.max(d-y,0);return h+o>=i.value&&(h=Math.max(i.value-o,0)),f.slice(h,h+o)}),l=d=>{const f=r.unref(t)+d;c(f)&&a(f)},u=d=>{c(d)&&a(d)};function c(d){return d<=i.value&&d>0}return{page:t,range:s,pageCount:i,goTo:u,pageStep:l}}function Qs(t={}){const{items:e=[],element:n,offset:o=0,enabled:a=!0}=t,i=l=>fn(l,"day"),s=()=>{if(!r.unref(a))return;const l=ei(wr(i,"gameDate"))(r.unref(e));if(!l)return;const u=kt(l.gameDate,"YYYY-MM-DD"),c=_t(n).querySelector(`div[data-gamedate="${u}"]`);if(!c)return;const d=getComputedStyle(c).getPropertyValue("--mvw-sticky-top-offset")||0,f=(c.getBoundingClientRect()?.top??0)-r.unref(o)-Number.parseFloat(d);window.scrollTo(0,f)};Ci(()=>({items:r.unref(e),element:r.unref(n)}),async({items:l,element:u})=>{l.length===0||!u||(await r.nextTick(),s())})}function tl({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(()=>Cr(a,i,r.unref(s)).then(h=>e(h)),[],{immediate:u,resetOnExecute:l,onError:n,onSuccess:o});return{state:c,error:d,isLoading:f,execute:y}}/*! *****************************************************************************
|
|
8
|
+
var MjszVbrElementsCore=function(p,r){"use strict";const Mn="https://api.icehockey.hu",Cn="https://www.jegkorongszovetseg.hu/event/game/{gameId}",Dn="https://jegkorongszovetseg.hu/assets/images/player_blank.png",Ln="https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}",In="https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}",Bn="https://www.ersteliga.hu/stats?report={id}",Rn="https://api.icehockey.hu/static/api/flag",ft="original",b="descend",D="ascend",zn=new Map().set("hu","hu-hu").set("en","hu-gb"),Vn=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),Yo=1e3*60*5,Gn=1e3,jn={gameName:{label:"table.gameName.short",tooltip:"table.gameName.tooltip",class:"text-start text-dimmed"},gameDateDate:{label:"table.gameDate.short",tooltip:"table.gameDate.tooltip",class:"text-start"},gameDateTime:{label:"table.gameDateTime.short",tooltip:"table.gameDateTime.tooltip",class:"text-start"},homeTeamName:{label:"table.homeTeam.short",tooltip:"table.homeTeam.tooltip",class:"text-end w-auto font-bold"},homeTeamLogo:{label:"",class:"is-has-image"},gameResult:{label:"",class:"font-bold text-xl"},gameResultType:{label:"",tooltip:""},awayTeamLogo:{label:"",class:"is-has-image"},awayTeamName:{label:"table.awayTeam.short",tooltip:"table.awayTeam.tooltip",class:"text-start w-auto font-bold"},location:{label:"table.location.short",tooltip:"table.location.tooltip",class:"text-start"},broadcast:{label:"table.broadcast.short",tooltip:"table.broadcast.tooltip"},more:{label:""}},Wo={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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:D}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:D}]},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:D}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"font-bold",sortOrders:[{target:"points",direction:b},{target:"gamesPlayed",direction:D},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},qo={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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:D}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:D}]},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:D}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"font-bold",sortOrders:[{target:"points",direction:b},{target:"gamesPlayed",direction:D},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},Ko={index:{label:"#",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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:D}]},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:D}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"font-bold",sortOrders:[{target:"points",direction:b}]}},Zo={index:{label:"#",class:"text-start italic text-dimmed"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold"},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",class:"text-dimmed"},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",class:"text-dimmed"},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",class:"text-dimmed"},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",class:"text-dimmed"},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"font-bold"}},Jo={index:{label:"#",class:"text-start"},playerPortrait:{label:"",class:"has-avatar"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"name",direction:D}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:D}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},goals:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"goals",direction:b},{target:"assists",direction:b}]},assists:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"assists",direction:b},{target:"goals",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"points",direction:b}]},plusMinus:{label:"table.plusMinus.short",tooltip:"table.plusMinus.tooltip",sortOrders:[{target:"plusMinus",direction:b}]},shots:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"shots",direction:b}]},shotPercent:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"shootPercent",direction:b}]}},Xo={index:{label:"table.blank",class:"text-start"},playerPortrait:{label:"",class:"has-avatar"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"name",direction:D}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:D}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:b},{target:"pim",direction:b}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:b},{target:"pim",direction:b}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:b},{target:"pim",direction:b}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:b},{target:"pim",direction:b}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:b},{target:"pim",direction:b}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:b}]}},Qo={index:{label:"#",class:"text-start"},playerPortrait:{label:"",class:"has-avatar"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"name",direction:D}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:D}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},toiMin:{label:"table.toi.short",tooltip:"table.toi.tooltip",sortOrders:[{target:"toi",direction:b}]},atoiMin:{label:"table.atoi.short",tooltip:"table.atoi.tooltip",sortOrders:[{target:"atoi",direction:b}]},shf:{label:"table.shf.short",tooltip:"table.shf.tooltip",sortOrders:[{target:"shf",direction:b}]},ashf:{label:"table.ashf.short",tooltip:"table.ashf.tooltip",sortOrders:[{target:"ashf",direction:b}]},eqToiMin:{label:"table.eqToi.short",tooltip:"table.eqToi.tooltip",sortOrders:[{target:"eqToi",direction:b}]},pp1ToiMin:{label:"table.pp1Toi.short",tooltip:"table.pp1Toi.tooltip",sortOrders:[{target:"pp1Toi",direction:b}]},pp2ToiMin:{label:"table.pp2Toi.short",tooltip:"table.pp2Toi.tooltip",sortOrders:[{target:"pp2Toi",direction:b}]},sh1ToiMin:{label:"table.sh1Toi.short",tooltip:"table.sh1Toi.tooltip",sortOrders:[{target:"sh1Toi",direction:b}]},sh2ToiMin:{label:"table.sh2Toi.short",tooltip:"table.sh2Toi.tooltip",sortOrders:[{target:"sh2Toi",direction:b}]},eqAToiMin:{label:"table.eqAToi.short",tooltip:"table.eqAToi.tooltip",sortOrders:[{target:"eqAToi",direction:b}]},pp1AToiMin:{label:"table.pp1AToi.short",tooltip:"table.pp1AToi.tooltip",sortOrders:[{target:"pp1AToi",direction:b}]},pp2AToiMin:{label:"table.pp2AToi.short",tooltip:"table.pp2AToi.tooltip",sortOrders:[{target:"pp2AToi",direction:b}]},sh1AToiMin:{label:"table.sh1AToi.short",tooltip:"table.sh1AToi.tooltip",sortOrders:[{target:"sh1AToi",direction:b}]},sh2AToiMin:{label:"table.sh2AToi.short",tooltip:"table.sh2AToi.tooltip",sortOrders:[{target:"sh2AToi",direction:b}]}},ta={index:{label:"table.blank",class:"text-start"},playerPortrait:{label:"",class:"has-avatar"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"name",direction:D}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:D}]},gkd:{label:"table.gpgk.short",tooltip:"table.gpgk.tooltip",sortOrders:[{target:"gkd",direction:b}]},gpi:{label:"table.gpi.short",tooltip:"table.gpi.tooltip",sortOrders:[{target:"gpi",direction:b}]},so:{label:"table.so.short",tooltip:"table.so.tooltip",sortOrders:[{target:"so",direction:b}]},mipMin:{label:"table.toi.short",tooltip:"table.toi.tooltip",sortOrders:[{target:"mip",direction:b}]},mipPercent:{label:"table.toiPercent.short",tooltip:"table.toiPercent.tooltip",sortOrders:[{target:"mipPercent",direction:b}]},ga:{label:"table.ga.short",tooltip:"table.ga.tooltip",sortOrders:[{target:"ga",direction:b}]},gaa:{label:"table.gaa.short",tooltip:"table.gaa.tooltip",sortOrders:[{target:"gaa",direction:b}]},sog:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"sog",direction:b}]},svs:{label:"table.svs.short",tooltip:"table.svs.tooltip",sortOrders:[{target:"svs",direction:b}]},svsPercent:{label:"table.svsPercent.short",tooltip:"table.svsPercent.tooltip",sortOrders:[{target:"svsPercent",direction:b}]}},ea={index:{label:"#",class:"text-start"},playerPortrait:{label:"",class:"has-avatar"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"name",direction:D}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},goals:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"goals",direction:b},{target:"assists",direction:b}]},assist:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"assist",direction:b},{target:"goals",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"points",direction:b}]}},na={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},home:{label:"table.homeHeader.short"},homeGame:{label:"table.homeGame.short",tooltip:"table.homeGame.tooltip",sortOrders:[{target:"homeGame",direction:b}]},homeAttendance:{label:"table.homeAttendance.short",tooltip:"table.homeAttendance.tooltip",sortOrders:[{target:"homeAttendance",direction:b}]},homeAttendanceAvg:{label:"table.homeAttendanceAvg.short",tooltip:"table.homeAttendanceAvg.tooltip",sortOrders:[{target:"homeAttendanceAvg",direction:b}]},away:{label:"table.awayHeader.short"},awayGame:{label:"table.awayGame.short",tooltip:"table.awayGame.tooltip",sortOrders:[{target:"awayGame",direction:b}]},awayAttendance:{label:"table.awayAttendance.short",tooltip:"table.awayAttendance.tooltip",sortOrders:[{target:"awayAttendance",direction:b}]},awayAttendanceAvg:{label:"table.awayAttendanceAvg.short",tooltip:"table.awayAttendanceAvg.tooltip",sortOrders:[{target:"awayAttendanceAvg",direction:b}]},total:{label:"table.totalHeader.short"},totalGame:{label:"table.totalGame.short",tooltip:"table.totalGame.tooltip",sortOrders:[{target:"totalGame",direction:b}]},totalAttendance:{label:"table.totalAttendance.short",tooltip:"table.totalAttendance.tooltip",sortOrders:[{target:"totalAttendance",direction:b}]},totalAttendanceAvg:{label:"table.totalAttendanceAvg.short",tooltip:"table.totalAttendanceAvg.tooltip",sortOrders:[{target:"totalAttendanceAvg",direction:b}]}},ra={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:b},{target:"pim",direction:b}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:b},{target:"pim",direction:b}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:b},{target:"pim",direction:b}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:b},{target:"pim",direction:b}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:b},{target:"pim",direction:b}]},pimPerGame:{label:"table.pimPerGame.short",tooltip:"table.pimPerGame.tooltip",sortOrders:[{target:"pimPerGame",direction:b}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:b}]}},oa={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},dvg:{label:"table.powerplayDisadvantages.short",tooltip:"table.powerplayDisadvantages.tooltip",sortOrders:[{target:"dvg",direction:b}]},dvgTimeMin:{label:"table.dvgTime.short",tooltip:"table.dvgTime.tooltip",sortOrders:[{target:"dvgTime",direction:b}]},dvgTimePP1Min:{label:"table.dvgTimePP1.short",tooltip:"table.dvgTimePP1.tooltip",sortOrders:[{target:"dvgTimePP1",direction:b}]},dvgTimePP2Min:{label:"table.dvgTimePP2.short",tooltip:"table.dvgTimePP2.tooltip",sortOrders:[{target:"dvgTimePP2",direction:b}]},ppga:{label:"table.ppga.short",tooltip:"table.ppga.tooltip",sortOrders:[{target:"ppga",direction:b}]},shgf:{label:"table.shgf.short",tooltip:"table.shgf.tooltip",sortOrders:[{target:"shgf",direction:b}]},pkPercent:{label:"table.pkPercent.short",tooltip:"table.pkPercent.tooltip",sortOrders:[{target:"pkPercent",direction:b}]}},aa={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},adv:{label:"table.adv.short",tooltip:"table.adv.tooltip",sortOrders:[{target:"adv",direction:b}]},advTimeMin:{label:"table.advTime.short",tooltip:"table.advTime.tooltip",sortOrders:[{target:"advTime",direction:b}]},advTimePP1Min:{label:"table.advTimePP1.short",tooltip:"table.advTimePP1.tooltip",sortOrders:[{target:"advTimePP1",direction:b}]},advTimePP2Min:{label:"table.advTimePP2.short",tooltip:"table.advTimePP2.tooltip",sortOrders:[{target:"advTimePP2",direction:b}]},ppgf:{label:"table.ppgf.short",tooltip:"table.ppgf.tooltip",sortOrders:[{target:"ppgf",direction:b}]},shga:{label:"table.shga.short",tooltip:"table.shga.tooltip",sortOrders:[{target:"shga",direction:b}]},ppPercent:{label:"table.ppPercent.short",tooltip:"table.ppPercent.tooltip",sortOrders:[{target:"ppPercent",direction:b}]}},ia={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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:D}]},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:D}]},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:D}]},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:D}]},sp:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"sp",direction:b}]}};function sa(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}function Fn(t){return typeof t=="function"?t():r.unref(t)}const la=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ca=t=>t!=null,je=()=>{};function Fe(t){var e;const n=Fn(t);return(e=n?.$el)!=null?e:n}const ua=la?window:void 0;function da(){const t=r.ref(!1);return r.getCurrentInstance()&&r.onMounted(()=>{t.value=!0}),t}function fa(t){const e=da();return r.computed(()=>(e.value,!!t()))}function ma(t,e,n={}){const{root:o,rootMargin:a="0px",threshold:i=.1,window:s=ua,immediate:l=!0}=n,u=fa(()=>s&&"IntersectionObserver"in s),c=r.computed(()=>{const m=Fn(t);return(Array.isArray(m)?m:[m]).map(Fe).filter(ca)});let d=je;const f=r.ref(l),y=u.value?r.watch(()=>[c.value,Fe(o),f.value],([m,S])=>{if(d(),!f.value||!m.length)return;const g=new IntersectionObserver(e,{root:Fe(S),rootMargin:a,threshold:i});m.forEach(T=>T&&g.observe(T)),d=()=>{g.disconnect(),d=je}},{immediate:l,flush:"post"}):je,h=()=>{d(),y(),f.value=!1};return sa(h),{isSupported:u,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:h}}const pa=r.defineComponent({name:"FetchMoreObserver",props:["as","options"],emits:["intersect"],setup(t,{slots:e,emit:n}){const o=r.ref(null),{stop:a}=ma(o,([{isIntersecting:i}])=>{i&&n("intersect")},t.options);return r.onUnmounted(a),()=>{if(e.default)return r.h(t.as||"div",{ref:o},e.default())}}});function H(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function G(t){return function e(n){return arguments.length===0||H(n)?e:t.apply(this,arguments)}}function V(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return H(n)?e:G(function(a){return t(n,a)});default:return H(n)&&H(o)?e:H(n)?G(function(a){return t(a,o)}):H(o)?G(function(a){return t(n,a)}):t(n,o)}}}var ha=V(function(e,n){return Number(e)+Number(n)});function ue(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(n){return e.apply(this,arguments)};case 2:return function(n,o){return e.apply(this,arguments)};case 3:return function(n,o,a){return e.apply(this,arguments)};case 4:return function(n,o,a,i){return e.apply(this,arguments)};case 5:return function(n,o,a,i,s){return e.apply(this,arguments)};case 6:return function(n,o,a,i,s,l){return e.apply(this,arguments)};case 7:return function(n,o,a,i,s,l,u){return e.apply(this,arguments)};case 8:return function(n,o,a,i,s,l,u,c){return e.apply(this,arguments)};case 9:return function(n,o,a,i,s,l,u,c,d){return e.apply(this,arguments)};case 10:return function(n,o,a,i,s,l,u,c,d,f){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function Ue(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),Ue(t,o,n))}}var Ct=V(function(e,n){return e===1?G(n):ue(e,Ue(e,[],n))});function X(t){return function e(n,o,a){switch(arguments.length){case 0:return e;case 1:return H(n)?e:V(function(i,s){return t(n,i,s)});case 2:return H(n)&&H(o)?e:H(n)?V(function(i,s){return t(i,o,s)}):H(o)?V(function(i,s){return t(n,i,s)}):G(function(i){return t(n,o,i)});default:return H(n)&&H(o)&&H(a)?e:H(n)&&H(o)?V(function(i,s){return t(i,s,a)}):H(n)&&H(a)?V(function(i,s){return t(i,o,s)}):H(o)&&H(a)?V(function(i,s){return t(n,i,s)}):H(n)?G(function(i){return t(i,o,a)}):H(o)?G(function(i){return t(n,i,a)}):H(a)?G(function(i){return t(n,o,i)}):t(n,o,a)}}}const Ft=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function ga(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function Ut(t,e,n){return function(){if(arguments.length===0)return n();var o=arguments[arguments.length-1];if(!Ft(o)){for(var a=0;a<t.length;){if(typeof o[t[a]]=="function")return o[t[a]].apply(o,Array.prototype.slice.call(arguments,0,-1));a+=1}if(ga(o)){var i=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(o)}}return n.apply(this,arguments)}}function He(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 Ye(t,e,n){for(var o=0,a=n.length;o<a;){if(t(e,n[o]))return!0;o+=1}return!1}function ya(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function ot(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function ba(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const We=typeof Object.is=="function"?Object.is:ba;var Hn=Object.prototype.toString,Yn=function(){return Hn.call(arguments)==="[object Arguments]"?function(e){return Hn.call(e)==="[object Arguments]"}:function(e){return ot("callee",e)}}(),Sa=!{toString:null}.propertyIsEnumerable("toString"),Wn=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],qn=function(){return arguments.propertyIsEnumerable("length")}(),Ta=function(e,n){for(var o=0;o<e.length;){if(e[o]===n)return!0;o+=1}return!1},yt=G(typeof Object.keys=="function"&&!qn?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var n,o,a=[],i=qn&&Yn(e);for(n in e)ot(n,e)&&(!i||n!=="length")&&(a[a.length]=n);if(Sa)for(o=Wn.length-1;o>=0;)n=Wn[o],ot(n,e)&&!Ta(a,n)&&(a[a.length]=n),o-=1;return a}),qe=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 Ke(l,u,n.slice(),o.slice())}return!Ye(function(l,u){return!Ye(s,u,l)},i,a)}function Ke(t,e,n,o){if(We(t,e))return!0;var a=qe(t);if(a!==qe(e))return!1;if(typeof t["fantasy-land/equals"]=="function"||typeof e["fantasy-land/equals"]=="function")return typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e)&&typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t);if(typeof t.equals=="function"||typeof e.equals=="function")return typeof t.equals=="function"&&t.equals(e)&&typeof e.equals=="function"&&e.equals(t);switch(a){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&ya(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&We(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!We(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)&&Ke(e[c],t[c],l,u)))return!1;i-=1}return!0}var Dt=V(function(e,n){return Ke(e,n,[],[])});function wa(t,e,n){var o,a;if(typeof t.indexOf=="function")switch(typeof e){case"number":if(e===0){for(o=1/e;n<t.length;){if(a=t[n],a===0&&1/a===o)return n;n+=1}return-1}else if(e!==e){for(;n<t.length;){if(a=t[n],typeof a=="number"&&a!==a)return n;n+=1}return-1}return t.indexOf(e,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,n);case"object":if(e===null)return t.indexOf(e,n)}for(;n<t.length;){if(Dt(t[n],e))return n;n+=1}return-1}function Zn(t,e){return wa(e,t,0)>=0}function de(t,e){for(var n=0,o=e.length,a=Array(o);n<o;)a[n]=t(e[n]),n+=1;return a}function Ze(t){var e=t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+e.replace(/"/g,'\\"')+'"'}var Ht=function(e){return(e<10?"0":"")+e},Oa=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Ht(e.getUTCMonth()+1)+"-"+Ht(e.getUTCDate())+"T"+Ht(e.getUTCHours())+":"+Ht(e.getUTCMinutes())+":"+Ht(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Aa(t){return function(){return!t.apply(this,arguments)}}function Jn(t,e,n){for(var o=0,a=n.length;o<a;)e=t(e,n[o]),o+=1;return e}function Xn(t,e){for(var n=0,o=e.length,a=[];n<o;)t(e[n])&&(a[a.length]=e[n]),n+=1;return a}function _a(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 va(t){return Object.prototype.toString.call(t)==="[object Map]"}function fe(t){return Object.prototype.toString.call(t)==="[object Object]"}var ka=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=At.result,t.prototype["@@transducer/step"]=function(e,n){return this.f(n)?this.xf["@@transducer/step"](e,n):e},t}();function Pa(t){return function(e){return new ka(t,e)}}var Lt=V(Ut(["fantasy-land/filter","filter"],Pa,function(t,e){return fe(e)?Jn(function(n,o){return t(e[o])&&(n[o]=e[o]),n},{},yt(e)):va(e)?_a(t,e):Xn(t,e)})),mt=V(function(e,n){return Lt(Aa(e),n)});function Qn(t,e){var n=function(s){var l=e.concat([t]);return Zn(s,l)?"<Circular>":Qn(s,l)},o=function(i,s){return de(function(l){return Ze(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):Ze(Oa(t)))+")";case"[object Map]":return"new Map("+n(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+n(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+n(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+n(t.valueOf())+")":Ze(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var a=t.toString();if(a!=="[object Object]")return a}return"{"+o(t,yt(t)).join(", ")+"}"}}var me=G(function(e){return Qn(e,[])}),tr=V(function(e,n){if(e===n)return n;function o(u,c){if(u>c!=c>u)return c>u?c:u}var a=o(e,n);if(a!==void 0)return a;var i=o(typeof e,typeof n);if(i!==void 0)return i===typeof e?e:n;var s=me(e),l=o(s,me(n));return l!==void 0&&l===s?e:n}),Ea=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=At.result,t.prototype["@@transducer/step"]=function(e,n){return this.xf["@@transducer/step"](e,this.f(n))},t}(),Na=function(e){return function(n){return new Ea(e,n)}},K=V(Ut(["fantasy-land/map","map"],Na,function(e,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return Ct(n.length,function(){return e.call(this,n.apply(this,arguments))});case"[object Object]":return Jn(function(o,a){return o[a]=e(n[a]),o},{},yt(n));default:return de(e,n)}}));const pe=Number.isInteger||function(e){return e<<0===e};function he(t,e){var n=t<0?e.length+t:t;return e[n]}function er(t,e){if(e!=null)return pe(t)?he(t,e):e[t]}var j=V(er),nr=V(function(e,n){return K(j(e),n)});function Je(t){return Object.prototype.toString.call(t)==="[object String]"}var xa=G(function(e){return Ft(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 $a(t,e,n){return function(a,i,s){if(xa(s))return t(a,i,s);if(s==null)return i;if(typeof s["fantasy-land/reduce"]=="function")return e(a,i,s,"fantasy-land/reduce");if(s[rr]!=null)return n(a,i,s[rr]());if(typeof s.next=="function")return n(a,i,s);if(typeof s.reduce=="function")return e(a,i,s,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Ma(t,e,n){for(var o=0,a=n.length;o<a;){if(e=t["@@transducer/step"](e,n[o]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o+=1}return t["@@transducer/result"](e)}var Ca=V(function(e,n){return ue(e.length,function(){return e.apply(n,arguments)})});function Da(t,e,n){for(var o=n.next();!o.done;){if(e=t["@@transducer/step"](e,o.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o=n.next()}return t["@@transducer/result"](e)}function La(t,e,n,o){return t["@@transducer/result"](n[o](Ca(t["@@transducer/step"],t),e))}var or=$a(Ma,La,Da),Ia=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,n){return this.f(e,n)},t}();function ar(t){return new Ia(t)}var ge=X(function(t,e,n){return or(typeof t=="function"?ar(t):t,e,n)}),Ba=G(function(e){return Ct(ge(tr,0,nr("length",e)),function(){for(var n=0,o=e.length;n<o;){if(!e[n].apply(this,arguments))return!1;n+=1}return!0})}),ir=G(function(e){return function(){return e}}),Ra=G(function(e){return Ct(ge(tr,0,nr("length",e)),function(){for(var n=0,o=e.length;n<o;){if(e[n].apply(this,arguments))return!0;n+=1}return!1})}),sr=G(function(e){for(var n=yt(e),o=n.length,a=[],i=0;i<o;)a[i]=e[n[i]],i+=1;return a}),Yt=X(function(e,n,o){var a=e(n),i=e(o);return a<i?-1:a>i?1:0}),lr=G(function(e){return Ct(e.length,e)});function za(t,e,n){if(pe(t)&&Ft(n)){var o=t<0?n.length+t:t,a=[].concat(n);return a[o]=e,a}var i={};for(var s in n)i[s]=n[s];return i[t]=e,i}var Va=G(function(e){return e==null}),Ga=X(function t(e,n,o){if(e.length===0)return n;var a=e[0];if(e.length>1){var i=er(a,o);(Va(i)||typeof i!="object")&&(i=pe(e[1])?[]:{}),n=t(Array.prototype.slice.call(e,1),n,i)}return za(a,n,o)}),ja=X(function(e,n,o){return Ga([e],n,o)});function Fa(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function cr(t){return new RegExp(t.source,t.flags?t.flags:(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":"")+(t.dotAll?"s":""))}function ye(t,e,n){if(n||(n=new Ha),Ua(t))return t;var o=function(i){var s=n.get(t);if(s)return s;n.set(t,i);for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(i[l]=e?ye(t[l],!0,n):t[l]);return i};switch(qe(t)){case"Object":return o(Object.create(Object.getPrototypeOf(t)));case"Array":return o(Array(t.length));case"Date":return new Date(t.valueOf());case"RegExp":return cr(t);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}function Ua(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var Ha=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,n){var o=this.hash(e),a=this.map[o];a||(this.map[o]=a=[]),a.push([e,n]),this.length+=1},t.prototype.hash=function(e){var n=[];for(var o in e)n.push(Object.prototype.toString.call(e[o]));return n.join()},t.prototype.get=function(e){if(this.length<=180){for(var n in this.map)for(var s=this.map[n],o=0;o<s.length;o+=1){var a=s[o];if(a[0]===e)return a[1]}return}var i=this.hash(e),s=this.map[i];if(s)for(var o=0;o<s.length;o+=1){var a=s[o];if(a[0]===e)return a[1]}},t}(),Ya=G(function(e){return e!=null&&typeof e.clone=="function"?e.clone():ye(e,!0)});function Wa(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function Xe(t,e){return function(){var n=arguments.length;if(n===0)return e();var o=arguments[n-1];return Ft(o)||typeof o[t]!="function"?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}var qa=X(Xe("slice",function(e,n,o){return Array.prototype.slice.call(o,e,n)})),Ka=G(Xe("tail",qa(1,1/0)));function It(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return ue(arguments[0].length,ge(Wa,arguments[0],Ka(arguments)))}var Wt=G(function(e){return 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 Qe=G(function(t){return he(0,t)}),Za=function(){function t(e,n,o,a){this.valueFn=e,this.valueAcc=n,this.keyFn=o,this.xf=a,this.inputs={}}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=function(e){var n;for(n in this.inputs)if(ot(n,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[n]),e["@@transducer/reduced"])){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){var o=this.keyFn(n);return this.inputs[o]=this.inputs[o]||[o,ye(this.valueAcc,!1)],this.inputs[o][1]=this.valueFn(this.inputs[o][1],n),e},t}();function Ja(t,e,n){return function(o){return new Za(t,e,n,o)}}var ur=Ue(4,[],Ut([],Ja,function(e,n,o,a){var i=ar(function(s,l){var u=o(l),c=e(ot(u,s)?s[u]:ye(n,!1),l);return c&&c["@@transducer/reduced"]?He(s):(s[u]=c,s)});return or(i,{},a)})),_t=X(function(e,n,o){var a=e(n),i=e(o);return a>i?-1:a<i?1:0}),dr=G(function(t){return he(-1,t)});function Xa(t){var e=Object.prototype.toString.call(t);return e==="[object Uint8ClampedArray]"||e==="[object Int8Array]"||e==="[object Uint8Array]"||e==="[object Int16Array]"||e==="[object Uint16Array]"||e==="[object Int32Array]"||e==="[object Uint32Array]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object BigInt64Array]"||e==="[object BigUint64Array]"}var Qa=G(function(e){return e!=null&&typeof e["fantasy-land/empty"]=="function"?e["fantasy-land/empty"]():e!=null&&e.constructor!=null&&typeof e.constructor["fantasy-land/empty"]=="function"?e.constructor["fantasy-land/empty"]():e!=null&&typeof e.empty=="function"?e.empty():e!=null&&e.constructor!=null&&typeof e.constructor.empty=="function"?e.constructor.empty():e==Set||e instanceof Set?new Set:e==Map||e instanceof Map?new Map:Ft(e)?[]:Je(e)?"":fe(e)?{}:Yn(e)?function(){return arguments}():Xa(e)?e.constructor.from(""):void 0}),ti=function(){function t(e,n){this.xf=n,this.f=e,this.found=!1}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){return this.f(n)&&(this.found=!0,e=He(this.xf["@@transducer/step"](e,n))),e},t}();function ei(t){return function(e){return new ti(t,e)}}var ni=V(Ut(["find"],ei,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return n[o];o+=1}})),ri=function(){function t(e,n){this.xf=n,this.f=e,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,-1)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){return this.idx+=1,this.f(n)&&(this.found=!0,e=He(this.xf["@@transducer/step"](e,this.idx))),e},t}();function oi(t){return function(e){return new ri(t,e)}}var ai=V(Ut([],oi,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return o;o+=1}return-1})),qt=V(Xe("groupBy",ur(function(t,e){return t.push(e),t},[]))),ii=X(function(e,n,o){return Ct(Math.max(e.length,n.length,o.length),function(){return e.apply(this,arguments)?n.apply(this,arguments):o.apply(this,arguments)})}),si=V(Zn),fr=ur(function(t,e){return e},null),li=X(function(e,n,o){return Xn(function(a){return Ye(e,a,o)},n)});function ci(t){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1,o=arguments.length;n<o;){var a=arguments[n];if(a!=null)for(var i in a)ot(i,a)&&(e[i]=a[i]);n+=1}return e}const ui=typeof Object.assign=="function"?Object.assign:ci;var be=V(function(e,n){return Ct(e+1,function(){var o=arguments[e];if(o!=null&&Fa(o[n]))return o[n].apply(o,Array.prototype.slice.call(arguments,0,e));throw new TypeError(me(o)+' does not have a method named "'+n+'"')})}),Kt=G(function(e){return e!=null&&Dt(e,Qa(e))}),di=G(function(e){return!Kt(e)}),mr=be(1,"join"),fi=V(function(e,n){return function(o){return function(a){return K(function(i){return n(i,a)},o(e(a)))}}});function pr(t,e){for(var n=e,o=0;o<t.length;o+=1){if(n==null)return;var a=t[o];pe(a)?n=he(a,n):n=n[a]}return n}var hr=G(function(e){return fi(j(e),ja(e))}),mi=ge(ha,0),gr=X(function(e,n,o){var a={},i;n=n||{},o=o||{};for(i in n)ot(i,n)&&(a[i]=ot(i,o)?e(i,n[i],o[i]):n[i]);for(i in o)ot(i,o)&&!ot(i,a)&&(a[i]=o[i]);return a}),pi=X(function t(e,n,o){return gr(function(a,i,s){return fe(i)&&fe(s)?t(e,i,s):e(a,i,s)},n,o)}),yr=V(function(e,n){return pi(function(o,a,i){return i},e,n)}),br=V(function(e,n){return ui({},n,e)}),hi=X(function(e,n,o){return gr(function(a,i,s){return e(i,s)},n,o)}),tn=V(function(e,n){for(var o={},a={},i=0,s=e.length;i<s;)a[e[i]]=1,i+=1;for(var l in n)a.hasOwnProperty(l)||(o[l]=n[l]);return o}),Sr=function(t){return{value:t,map:function(e){return Sr(e(t))}}},Tr=X(function(e,n,o){return e(function(a){return Sr(n(a))})(o).value}),bt=V(pr),wr=X(function(e,n,o){return Dt(pr(n,o),e)}),en=V(function(e,n){for(var o={},a=0;a<e.length;)e[a]in n&&(o[e[a]]=n[e[a]]),a+=1;return o}),Zt=X(function(e,n,o){return Dt(e,j(n,o))}),Or=X(function(e,n,o){return e(j(n,o))}),Se=X(function(e,n,o){return o.replace(e,n)}),nn=V(function(e,n){return Array.prototype.slice.call(n,0).sort(e)}),St=V(function(e,n){return Array.prototype.slice.call(n,0).sort(function(o,a){var i=e(o),s=e(a);return i<s?-1:i>s?1:0})}),Te=V(function(e,n){return Array.prototype.slice.call(n,0).sort(function(o,a){for(var i=0,s=0;i===0&&s<e.length;)i=e[s](o,a),s+=1;return i})}),pt=be(1,"split");function gi(t){return Object.prototype.toString.call(t)==="[object RegExp]"}var yi=V(function(e,n){if(!gi(e))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+me(e));return cr(e).test(n)}),Ar=be(0,"toLowerCase"),bi=be(0,"toUpperCase"),Jt=`
|
|
9
|
+
\v\f\r \u2028\u2029\uFEFF`,Si="",Ti=typeof String.prototype.trim=="function",Xt=G(!Ti||Jt.trim()||!Si.trim()?function(e){var n=new RegExp("^["+Jt+"]["+Jt+"]*"),o=new RegExp("["+Jt+"]["+Jt+"]*$");return e.replace(n,"").replace(o,"")}:function(e){return e.trim()});function _r(t,e,n,o){const a=r.ref(""),i=r.ref(!1),s=l=>{const u=Lt(j(e),l),c=u.length>0;if(i.value=c,!c)return a.value="";const f=u.map(y=>({team:y.team.longName,points:Math.abs(j(e,y))})).map(y=>n(`additionalText.${e}.content`,y)).join(", ");a.value=[n(`additionalText.${e}.prependix`),f,...n(`additionalText.${e}.appendix`)&&[n(`additionalText.${e}.appendix`)]].join(" ")};return r.watch(t,s,{immediate:!0}),r.watch(()=>r.unref(o),()=>s(r.unref(t))),{text:a,isVisible:i}}const vr=Symbol("I18nContext"),J=r.reactive({messages:{},locale:"",fallbackLocale:""});function kr({messages:t={},locale:e="",fallbackLocale:n=""}){J.messages=yr(J.messages,t),J.locale=e,J.fallbackLocale=n;const o=(u,c={})=>{const d=!Kt(c),f=K(Xt,pt(".",u));return r.computed(()=>{const h=Pr(f);return d?Oi(h,c):h}).value},a=u=>{const c=K(Xt,pt(".",u));return!!rn(J.locale,c,J.messages)},i=u=>{J.locale=u},l={locale:r.computed({get(){return J.locale},set(u){J.locale=u}}),setLocale:i,translate:o,hasTranslation:a};return r.provide(vr,l),{translate:o}}function lt(t){t&&(J.messages=t.messages,J.locale=t.locale,J.fallbackLocale=t.fallbackLocale);const e=wi();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranslation:e.hasTranslation}}function wi(){const t=r.inject(vr,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}function Pr(t=[]){let e=rn(J.locale,t,J.messages);return!e&&J.fallbackLocale&&(e=rn(J.fallbackLocale,t,J.messages)),e||t.join(".")}function rn(t,e,n){return bt([t,...e],n)}function Oi(t,e){return t.replace(/\{(\w+)\}/g,(n,o)=>e[o])}const Er=r.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const n=K(Xt,pt(".",t.path)),o=Pr(n),a=pt(/\{|\}/,o),i=Object.keys(e).map(s=>{const l=a.indexOf(s);return l>-1&&(a[l]=e[s]()[0]),a});return()=>r.h(t.tag,i)}});function on(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 tn(u,r.unref(t))}catch(u){o.value=u}return r.unref(t)}),s=u=>({...u,...u.label&&{label:a(u.label??"",r.unref(n))},...u.tooltip&&{tooltip:a(u.tooltip??"")}});return{columns:r.computed(()=>K(s,i.value)),error:o}}function Nr(t,e=""){const n=K(Xt,pt(",",e)),o=yt(t);if(n[0]==="")return[];const a=n.findIndex(i=>!o.includes(i));if(a>-1)throw n[a];return n}const Ai=["text-start","text-center","text-end","w-auto"];function xr(t){return t&&t.match(/[A-Z]{2,}(?=[A-Z][a-z]|\b)|[A-Z]?[a-z]+\d*|[A-Z]|\d+/g).map(e=>e.toLowerCase()).join("-")}function ht(t="",e={}){return t.replace(/\{([^}]+)\}/g,(n,o)=>bt(pt(".",o),e))}function $r(t){return(t||"").split(" ").filter(e=>Ai.includes(e)).join(" ")}const Mr=Symbol("ErrorProviderContext");function Cr(){const t=r.ref(""),e=r.ref({}),n=i=>{console.error({error:i}),t.value=i.message||i.error.message,e.value={message:i.message,key:i.key||xr(i.message),cause:i.cause}},o=()=>{t.value="",e.value={}},a={onError:n,reset:o};return r.provide(Mr,a),window.onerror=i=>{console.error("WINDOW_ONERROR:",i)},r.onErrorCaptured((i,s,l)=>{console.error("onErrorCaptured:",i,s,l)}),{hasError:r.computed(()=>t.value.length>0),message:t,error:e,reset:o,onError:n}}function an(){const t=_i();return{onError:t.onError,reset:t.reset}}function _i(){const t=r.inject(Mr,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}async function Dr(t,e,n){const o=`${Mn}/vbr${r.unref(t)}${Kt(n)?"":`?${vi(n)}`}`;return new Promise((a,i)=>{fetch(o,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":ki(e)}}).then(s=>s.json()).then(s=>{if(s.error)return i(s);if(s.data.message)return i(s.data);a(s.data)}).catch(s=>{i(s)})})}function vi(t){return Object.keys(t).map(e=>`${e}=${t[e]}`).join("&")}function ki(t){return t||(window.__MJSZ_VBR_WIDGET__?.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:"")}function Qt(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}const gt=typeof window<"u"&&typeof document<"u",Lr=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,Pi=Object.prototype.toString,Ei=t=>Pi.call(t)==="[object Object]",tt=()=>{},Ni=xi();function xi(){var t,e;return gt&&((t=window?.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window?.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Ir(...t){if(t.length!==1)return r.toRef(...t);const e=t[0];return typeof e=="function"?r.readonly(r.customRef(()=>({get:e,set:tt}))):r.ref(e)}function $i(t,e){function n(...o){return new Promise((a,i)=>{Promise.resolve(t(()=>e.apply(this,o),{fn:e,thisArg:this,args:o})).then(a).catch(i)})}return n}const Br=t=>t();function Mi(t=Br,e={}){const{initialState:n="active"}=e,o=Ir(n==="active");function a(){o.value=!1}function i(){o.value=!0}const s=(...l)=>{o.value&&t(...l)};return{isActive:r.readonly(o),pause:a,resume:i,eventFilter:s}}function sn(t,e=!1,n="Timeout"){return new Promise((o,a)=>{setTimeout(e?()=>a(n):o,t)})}function ln(t){return Array.isArray(t)?t:[t]}function Ci(t,e,n={}){const{eventFilter:o=Br,...a}=n;return r.watch(t,$i(o,e),a)}function Di(t,e,n={}){const{eventFilter:o,initialState:a="active",...i}=n,{eventFilter:s,pause:l,resume:u,isActive:c}=Mi(o,{initialState:a});return{stop:Ci(t,e,{...i,eventFilter:s}),pause:l,resume:u,isActive:c}}function cn(t,e=!1){function n(f,{flush:y="sync",deep:h=!1,timeout:m,throwOnTimeout:S}={}){let g=null;const w=[new Promise(k=>{g=r.watch(t,E=>{f(E)!==e&&(g?g():r.nextTick(()=>g?.()),k(E))},{flush:y,deep:h,immediate:!0})})];return m!=null&&w.push(sn(m,S).then(()=>r.toValue(t)).finally(()=>g?.())),Promise.race(w)}function o(f,y){if(!r.isRef(f))return n(E=>E===f,y);const{flush:h="sync",deep:m=!1,timeout:S,throwOnTimeout:g}=y??{};let T=null;const k=[new Promise(E=>{T=r.watch([t,f],([N,L])=>{e!==(N===L)&&(T?T():r.nextTick(()=>T?.()),E(N))},{flush:h,deep:m,immediate:!0})})];return S!=null&&k.push(sn(S,g).then(()=>r.toValue(t)).finally(()=>(T?.(),r.toValue(t)))),Promise.race(k)}function a(f){return n(y=>!!y,f)}function i(f){return o(null,f)}function s(f){return o(void 0,f)}function l(f){return n(Number.isNaN,f)}function u(f,y){return n(h=>{const m=Array.from(h);return m.includes(f)||m.includes(r.toValue(f))},y)}function c(f){return d(1,f)}function d(f=1,y){let h=-1;return n(()=>(h+=1,h>=f),y)}return Array.isArray(r.toValue(t))?{toMatch:n,toContains:u,changed:c,changedTimes:d,get not(){return cn(t,!e)}}:{toMatch:n,toBe:o,toBeTruthy:a,toBeNull:i,toBeNaN:l,toBeUndefined:s,changed:c,changedTimes:d,get not(){return cn(t,!e)}}}function Li(t){return cn(t)}function Ii(t,e=1e3,n={}){const{immediate:o=!0,immediateCallback:a=!1}=n;let i=null;const s=r.shallowRef(!1);function l(){i&&(clearInterval(i),i=null)}function u(){s.value=!1,l()}function c(){const d=r.toValue(e);d<=0||(s.value=!0,a&&t(),l(),s.value&&(i=setInterval(t,d)))}if(o&>&&c(),r.isRef(e)||typeof e=="function"){const d=r.watch(e,()=>{s.value&>&&c()});Qt(d)}return Qt(u),{isActive:r.shallowReadonly(s),pause:u,resume:c}}function Bi(t,e,n={}){const{immediate:o=!0,immediateCallback:a=!1}=n,i=r.shallowRef(!1);let s;function l(){s&&(clearTimeout(s),s=void 0)}function u(){i.value=!1,l()}function c(...d){a&&t(),l(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,t(...d)},r.toValue(e))}return o&&(i.value=!0,gt&&c()),Qt(u),{isPending:r.shallowReadonly(i),start:c,stop:u}}function Ri(t,e,n){return r.watch(t,e,{...n,immediate:!0})}function zi(t,e,n){return r.watch(t,e,{...n,once:!0})}function Vi(t,e,n){const o=r.watch(t,(a,i,s)=>{a&&(n?.once&&r.nextTick(()=>o()),e(a,i,s))},{...n,once:!1});return o}const Rr=gt?window:void 0,Gi=gt?window.document:void 0;function vt(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=ln(r.toValue(t[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),i=Ri(()=>{var l,u;return[(u=(l=a.value)==null?void 0:l.map(c=>vt(c)))!=null?u:[Rr].filter(c=>c!=null),ln(r.toValue(a.value?t[1]:t[0])),ln(r.unref(a.value?t[2]:t[1])),r.toValue(a.value?t[3]:t[2])]},([l,u,c,d])=>{if(n(),!l?.length||!u?.length||!c?.length)return;const f=Ei(d)?{...d}:d;e.push(...l.flatMap(y=>u.flatMap(h=>c.map(m=>o(y,h,m,f)))))},{flush:"post"}),s=()=>{i(),n()};return Qt(n),s}let zr=!1;function ji(t,e,n={}){const{window:o=Rr,ignore:a=[],capture:i=!0,detectIframe:s=!1,controls:l=!1}=n;if(!o)return l?{stop:tt,cancel:tt,trigger:tt}:tt;if(Ni&&!zr){zr=!0;const g={passive:!0};Array.from(o.document.body.children).forEach(T=>T.addEventListener("click",tt,g)),o.document.documentElement.addEventListener("click",tt,g)}let u=!0;const c=g=>r.toValue(a).some(T=>{if(typeof T=="string")return Array.from(o.document.querySelectorAll(T)).some(w=>w===g.target||g.composedPath().includes(w));{const w=vt(T);return w&&(g.target===w||g.composedPath().includes(w))}});function d(g){const T=r.toValue(g);return T&&T.$.subTree.shapeFlag===16}function f(g,T){const w=r.toValue(g),k=w.$.subTree&&w.$.subTree.children;return k==null||!Array.isArray(k)?!1:k.some(E=>E.el===T.target||T.composedPath().includes(E.el))}const y=g=>{const T=vt(t);if(g.target!=null&&!(!(T instanceof Element)&&d(t)&&f(t,g))&&!(!T||T===g.target||g.composedPath().includes(T))){if("detail"in g&&g.detail===0&&(u=!c(g)),!u){u=!0;return}e(g)}};let h=!1;const m=[te(o,"click",g=>{h||(h=!0,setTimeout(()=>{h=!1},0),y(g))},{passive:!0,capture:i}),te(o,"pointerdown",g=>{const T=vt(t);u=!c(g)&&!!(T&&!g.composedPath().includes(T))},{passive:!0}),s&&te(o,"blur",g=>{setTimeout(()=>{var T;const w=vt(t);((T=o.document.activeElement)==null?void 0:T.tagName)==="IFRAME"&&!w?.contains(o.document.activeElement)&&e(g)},0)},{passive:!0})].filter(Boolean),S=()=>m.forEach(g=>g());return l?{stop:S,cancel:()=>{u=!1},trigger:g=>{u=!0,y(g),u=!1}}:S}function Vr(t,e,n){const{immediate:o=!0,delay:a=0,onError:i=tt,onSuccess:s=tt,resetOnExecute:l=!0,shallow:u=!0,throwError:c}=n??{},d=u?r.shallowRef(e):r.ref(e),f=r.shallowRef(!1),y=r.shallowRef(!1),h=r.shallowRef(void 0);async function m(T=0,...w){l&&(d.value=e),h.value=void 0,f.value=!1,y.value=!0,T>0&&await sn(T);const k=typeof t=="function"?t(...w):t;try{const E=await k;d.value=E,f.value=!0,s(E)}catch(E){if(h.value=E,i(E),c)throw E}finally{y.value=!1}return d.value}o&&m(a);const S={state:d,isReady:f,isLoading:y,error:h,execute:m,executeImmediate:(...T)=>m(0,...T)};function g(){return new Promise((T,w)=>{Li(y).toBe(!1).then(()=>T(S)).catch(w)})}return{...S,then(T,w){return g().then(T,w)}}}function Fi(t={}){const{document:e=Gi}=t;if(!e)return r.shallowRef("visible");const n=r.shallowRef(e.visibilityState);return te(e,"visibilitychange",()=>{n.value=e.visibilityState},{passive:!0}),n}async function Ui(t){return new Promise((e,n)=>{const o=new Image,{src:a,srcset:i,sizes:s,class:l,loading:u,crossorigin:c,referrerPolicy:d,width:f,height:y,decoding:h,fetchPriority:m,ismap:S,usemap:g}=t;o.src=a,i!=null&&(o.srcset=i),s!=null&&(o.sizes=s),l!=null&&(o.className=l),u!=null&&(o.loading=u),c!=null&&(o.crossOrigin=c),d!=null&&(o.referrerPolicy=d),f!=null&&(o.width=f),y!=null&&(o.height=y),h!=null&&(o.decoding=h),m!=null&&(o.fetchPriority=m),S!=null&&(o.isMap=S),g!=null&&(o.useMap=g),o.onload=()=>e(o),o.onerror=n})}function Hi(t,e={}){const n=Vr(()=>Ui(r.toValue(t)),void 0,{resetOnExecute:!0,...e});return r.watch(()=>r.toValue(t),()=>n.execute(e.delay),{deep:!0}),n}const Gr="ping";function un(t){return t===!0?{}:t}function Yi(t,e={}){const{onConnected:n,onDisconnected:o,onError:a,onMessage:i,immediate:s=!0,autoConnect:l=!0,autoClose:u=!0,protocols:c=[]}=e,d=r.ref(null),f=r.shallowRef("CLOSED"),y=r.ref(),h=Ir(t);let m,S,g=!1,T=0,w=[],k,E;const N=()=>{if(w.length&&y.value&&f.value==="OPEN"){for(const R of w)y.value.send(R);w=[]}},L=()=>{k!=null&&(clearTimeout(k),k=void 0)},B=()=>{clearTimeout(E),E=void 0},F=(R=1e3,Y)=>{L(),!(!gt&&!Lr||!y.value)&&(g=!0,B(),m?.(),y.value.close(R,Y),y.value=void 0)},U=(R,Y=!0)=>!y.value||f.value!=="OPEN"?(Y&&w.push(R),!1):(N(),y.value.send(R),!0),C=()=>{if(g||typeof h.value>"u")return;const R=new WebSocket(h.value,c);y.value=R,f.value="CONNECTING",R.onopen=()=>{f.value="OPEN",T=0,n?.(R),S?.(),N()},R.onclose=Y=>{if(f.value="CLOSED",B(),m?.(),o?.(R,Y),!g&&e.autoReconnect&&(y.value==null||R===y.value)){const{retries:P=-1,delay:v=1e3,onFailed:O}=un(e.autoReconnect);(typeof P=="function"?P:()=>typeof P=="number"&&(P<0||T<P))(T)?(T+=1,k=setTimeout(C,v)):O?.()}},R.onerror=Y=>{a?.(R,Y)},R.onmessage=Y=>{if(e.heartbeat){B();const{message:P=Gr,responseMessage:v=P}=un(e.heartbeat);if(Y.data===r.toValue(v))return}d.value=Y.data,i?.(R,Y)}};if(e.heartbeat){const{message:R=Gr,interval:Y=1e3,pongTimeout:P=1e3}=un(e.heartbeat),{pause:v,resume:O}=Ii(()=>{U(r.toValue(R),!1),E==null&&(E=setTimeout(()=>{F(),g=!1},P))},Y,{immediate:!1});m=v,S=O}u&&(gt&&te("beforeunload",()=>F(),{passive:!0}),Qt(F));const M=()=>{!gt&&!Lr||(F(),g=!1,T=0,C())};return s&&M(),l&&r.watch(h,M),{data:d,status:f,close:F,send:U,open:M,ws:y}}function Wi(t,e){const{open:n,close:o}=Yi(r.unref(t),{autoReconnect:{retries:3},immediate:!1,onMessage:(a,i)=>{const s=i.data,l=JSON.parse(s);l.event!=="welcome"&&(e.value=l.message)}});return r.watch(()=>r.unref(e).gameStatus,a=>{if(a===1)return n();o()},{immediate:!0}),{gameData:e}}function jr(t=[],e={}){const{delay:n=0}=e,o=r.ref(!1),a=r.computed(()=>{const l=r.unref(t);return Array.isArray(l)?l.map(u=>r.unref(u)).some(Boolean):l}),{start:i,stop:s}=Bi(()=>{o.value=!0},n);return r.watch(a,l=>{if(l)return i();s(),o.value=!1},{immediate:!0,deep:!0}),o}function at(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var we={exports:{}},qi=we.exports,Fr;function Ur(){return Fr||(Fr=1,function(t,e){(function(n,o){t.exports=o()})(qi,function(){var n=1e3,o=6e4,a=36e5,i="millisecond",s="second",l="minute",u="hour",c="day",d="week",f="month",y="quarter",h="year",m="date",S="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(P){var v=["th","st","nd","rd"],O=P%100;return"["+P+(v[(O-20)%10]||v[O]||v[0])+"]"}},k=function(P,v,O){var _=String(P);return!_||_.length>=v?P:""+Array(v+1-_.length).join(O)+P},E={s:k,z:function(P){var v=-P.utcOffset(),O=Math.abs(v),_=Math.floor(O/60),A=O%60;return(v<=0?"+":"-")+k(_,2,"0")+":"+k(A,2,"0")},m:function P(v,O){if(v.date()<O.date())return-P(O,v);var _=12*(O.year()-v.year())+(O.month()-v.month()),A=v.clone().add(_,f),x=O-A<0,$=v.clone().add(_+(x?-1:1),f);return+(-(_+(O-A)/(x?A-$:$-A))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:f,y:h,w:d,d:c,D:m,h:u,m:l,s,ms:i,Q:y}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},N="en",L={};L[N]=w;var B="$isDayjsObject",F=function(P){return P instanceof R||!(!P||!P[B])},U=function P(v,O,_){var A;if(!v)return N;if(typeof v=="string"){var x=v.toLowerCase();L[x]&&(A=x),O&&(L[x]=O,A=x);var $=v.split("-");if(!A&&$.length>1)return P($[0])}else{var z=v.name;L[z]=v,A=z}return!_&&A&&(N=A),A||!_&&N},C=function(P,v){if(F(P))return P.clone();var O=typeof v=="object"?v:{};return O.date=P,O.args=arguments,new R(O)},M=E;M.l=U,M.i=F,M.w=function(P,v){return C(P,{locale:v.$L,utc:v.$u,x:v.$x,$offset:v.$offset})};var R=function(){function P(O){this.$L=U(O.locale,null,!0),this.parse(O),this.$x=this.$x||O.x||{},this[B]=!0}var v=P.prototype;return v.parse=function(O){this.$d=function(_){var A=_.date,x=_.utc;if(A===null)return new Date(NaN);if(M.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var $=A.match(g);if($){var z=$[2]-1||0,W=($[7]||"0").substring(0,3);return x?new Date(Date.UTC($[1],z,$[3]||1,$[4]||0,$[5]||0,$[6]||0,W)):new Date($[1],z,$[3]||1,$[4]||0,$[5]||0,$[6]||0,W)}}return new Date(A)}(O),this.init()},v.init=function(){var O=this.$d;this.$y=O.getFullYear(),this.$M=O.getMonth(),this.$D=O.getDate(),this.$W=O.getDay(),this.$H=O.getHours(),this.$m=O.getMinutes(),this.$s=O.getSeconds(),this.$ms=O.getMilliseconds()},v.$utils=function(){return M},v.isValid=function(){return this.$d.toString()!==S},v.isSame=function(O,_){var A=C(O);return this.startOf(_)<=A&&A<=this.endOf(_)},v.isAfter=function(O,_){return C(O)<this.startOf(_)},v.isBefore=function(O,_){return this.endOf(_)<C(O)},v.$g=function(O,_,A){return M.u(O)?this[_]:this.set(A,O)},v.unix=function(){return Math.floor(this.valueOf()/1e3)},v.valueOf=function(){return this.$d.getTime()},v.startOf=function(O,_){var A=this,x=!!M.u(_)||_,$=M.p(O),z=function(Mt,et){var Ot=M.w(A.$u?Date.UTC(A.$y,et,Mt):new Date(A.$y,et,Mt),A);return x?Ot:Ot.endOf(c)},W=function(Mt,et){return M.w(A.toDate()[Mt].apply(A.toDate("s"),(x?[0,0,0,0]:[23,59,59,999]).slice(et)),A)},Z=this.$W,Q=this.$M,rt=this.$D,jt="set"+(this.$u?"UTC":"");switch($){case h:return x?z(1,0):z(31,11);case f:return x?z(1,Q):z(0,Q+1);case d:var $t=this.$locale().weekStart||0,le=(Z<$t?Z+7:Z)-$t;return z(x?rt-le:rt+(6-le),Q);case c:case m:return W(jt+"Hours",0);case u:return W(jt+"Minutes",1);case l:return W(jt+"Seconds",2);case s:return W(jt+"Milliseconds",3);default:return this.clone()}},v.endOf=function(O){return this.startOf(O,!1)},v.$set=function(O,_){var A,x=M.p(O),$="set"+(this.$u?"UTC":""),z=(A={},A[c]=$+"Date",A[m]=$+"Date",A[f]=$+"Month",A[h]=$+"FullYear",A[u]=$+"Hours",A[l]=$+"Minutes",A[s]=$+"Seconds",A[i]=$+"Milliseconds",A)[x],W=x===c?this.$D+(_-this.$W):_;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},v.set=function(O,_){return this.clone().$set(O,_)},v.get=function(O){return this[M.p(O)]()},v.add=function(O,_){var A,x=this;O=Number(O);var $=M.p(_),z=function(Q){var rt=C(x);return M.w(rt.date(rt.date()+Math.round(Q*O)),x)};if($===f)return this.set(f,this.$M+O);if($===h)return this.set(h,this.$y+O);if($===c)return z(1);if($===d)return z(7);var W=(A={},A[l]=o,A[u]=a,A[s]=n,A)[$]||1,Z=this.$d.getTime()+O*W;return M.w(Z,this)},v.subtract=function(O,_){return this.add(-1*O,_)},v.format=function(O){var _=this,A=this.$locale();if(!this.isValid())return A.invalidDate||S;var x=O||"YYYY-MM-DDTHH:mm:ssZ",$=M.z(this),z=this.$H,W=this.$m,Z=this.$M,Q=A.weekdays,rt=A.months,jt=A.meridiem,$t=function(et,Ot,ce,Ge){return et&&(et[Ot]||et(_,x))||ce[Ot].slice(0,Ge)},le=function(et){return M.s(z%12||12,et,"0")},Mt=jt||function(et,Ot,ce){var Ge=et<12?"AM":"PM";return ce?Ge.toLowerCase():Ge};return x.replace(T,function(et,Ot){return Ot||function(ce){switch(ce){case"YY":return String(_.$y).slice(-2);case"YYYY":return M.s(_.$y,4,"0");case"M":return Z+1;case"MM":return M.s(Z+1,2,"0");case"MMM":return $t(A.monthsShort,Z,rt,3);case"MMMM":return $t(rt,Z);case"D":return _.$D;case"DD":return M.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return $t(A.weekdaysMin,_.$W,Q,2);case"ddd":return $t(A.weekdaysShort,_.$W,Q,3);case"dddd":return Q[_.$W];case"H":return String(z);case"HH":return M.s(z,2,"0");case"h":return le(1);case"hh":return le(2);case"a":return Mt(z,W,!0);case"A":return Mt(z,W,!1);case"m":return String(W);case"mm":return M.s(W,2,"0");case"s":return String(_.$s);case"ss":return M.s(_.$s,2,"0");case"SSS":return M.s(_.$ms,3,"0");case"Z":return $}return null}(et)||$.replace(":","")})},v.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},v.diff=function(O,_,A){var x,$=this,z=M.p(_),W=C(O),Z=(W.utcOffset()-this.utcOffset())*o,Q=this-W,rt=function(){return M.m($,W)};switch(z){case h:x=rt()/12;break;case f:x=rt();break;case y:x=rt()/3;break;case d:x=(Q-Z)/6048e5;break;case c:x=(Q-Z)/864e5;break;case u:x=Q/a;break;case l:x=Q/o;break;case s:x=Q/n;break;default:x=Q}return A?x:M.a(x)},v.daysInMonth=function(){return this.endOf(f).$D},v.$locale=function(){return L[this.$L]},v.locale=function(O,_){if(!O)return this.$L;var A=this.clone(),x=U(O,_,!0);return x&&(A.$L=x),A},v.clone=function(){return M.w(this.$d,this)},v.toDate=function(){return new Date(this.valueOf())},v.toJSON=function(){return this.isValid()?this.toISOString():null},v.toISOString=function(){return this.$d.toISOString()},v.toString=function(){return this.$d.toUTCString()},P}(),Y=R.prototype;return C.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(v){return this.$g(v,P[0],P[1])}}),C.extend=function(P,v){return P.$i||(P(v,R,C),P.$i=!0),C},C.locale=U,C.isDayjs=F,C.unix=function(P){return C(1e3*P)},C.en=L[N],C.Ls=L,C.p={},C})}(we)),we.exports}var Ki=Ur();const I=at(Ki);var Oe={exports:{}},Zi=Oe.exports,Hr;function Ji(){return Hr||(Hr=1,function(t,e){(function(n,o){t.exports=o()})(Zi,function(){return function(n,o){var a=o.prototype,i=a.format;a.format=function(s){var l=this,u=this.$locale();if(!this.isValid())return i.bind(this)(s);var c=this.$utils(),d=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return u.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return u.ordinal(l.week(),"W");case"w":case"ww":return c.s(l.week(),f==="w"?1:2,"0");case"W":case"WW":return c.s(l.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return c.s(String(l.$H===0?24:l.$H),f==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return f}});return i.bind(this)(d)}}})}(Oe)),Oe.exports}var Xi=Ji();const Qi=at(Xi);var Ae={exports:{}},ts=Ae.exports,Yr;function es(){return Yr||(Yr=1,function(t,e){(function(n,o){t.exports=o()})(ts,function(){return function(n,o,a){o.prototype.isBetween=function(i,s,l,u){var c=a(i),d=a(s),f=(u=u||"()")[0]==="(",y=u[1]===")";return(f?this.isAfter(c,l):!this.isBefore(c,l))&&(y?this.isBefore(d,l):!this.isAfter(d,l))||(f?this.isBefore(c,l):!this.isAfter(c,l))&&(y?this.isAfter(d,l):!this.isBefore(d,l))}}})}(Ae)),Ae.exports}var ns=es();const rs=at(ns);var _e={exports:{}},os=_e.exports,Wr;function as(){return Wr||(Wr=1,function(t,e){(function(n,o){t.exports=o()})(os,function(){return function(n,o){o.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})}(_e)),_e.exports}var is=as();const ss=at(is);var ve={exports:{}},ls=ve.exports,qr;function cs(){return qr||(qr=1,function(t,e){(function(n,o){t.exports=o()})(ls,function(){return function(n,o,a){o.prototype.isToday=function(){var i="YYYY-MM-DD",s=a();return this.format(i)===s.format(i)}}})}(ve)),ve.exports}var us=cs();const ds=at(us);var ke={exports:{}},fs=ke.exports,Kr;function ms(){return Kr||(Kr=1,function(t,e){(function(n,o){t.exports=o()})(fs,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(o,a,i){var s=a.prototype,l=s.format;i.en.formats=n,s.format=function(u){u===void 0&&(u="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,d=function(f,y){return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(h,m,S){var g=S&&S.toUpperCase();return m||y[S]||n[S]||y[g].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(T,w,k){return w||k.slice(1)})})}(u,c===void 0?{}:c);return l.call(this,d)}}})}(ke)),ke.exports}var ps=ms();const hs=at(ps);var Pe={exports:{}},gs=Pe.exports,Zr;function ys(){return Zr||(Zr=1,function(t,e){(function(n,o){t.exports=o()})(gs,function(){return function(n,o,a){var i=function(s,l){if(!l||!l.length||l.length===1&&!l[0]||l.length===1&&Array.isArray(l[0])&&!l[0].length)return null;var u;l.length===1&&l[0].length>0&&(l=l[0]),u=(l=l.filter(function(d){return d}))[0];for(var c=1;c<l.length;c+=1)l[c].isValid()&&!l[c][s](u)||(u=l[c]);return u};a.max=function(){var s=[].slice.call(arguments,0);return i("isAfter",s)},a.min=function(){var s=[].slice.call(arguments,0);return i("isBefore",s)}}})}(Pe)),Pe.exports}var bs=ys();const Ss=at(bs);var Ee={exports:{}},Ts=Ee.exports,Jr;function ws(){return Jr||(Jr=1,function(t,e){(function(n,o){t.exports=o()})(Ts,function(){return function(n,o,a){n=n||{};var i=o.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function l(c,d,f,y){return i.fromToBase(c,d,f,y)}a.en.relativeTime=s,i.fromToBase=function(c,d,f,y,h){for(var m,S,g,T=f.$locale().relativeTime||s,w=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],k=w.length,E=0;E<k;E+=1){var N=w[E];N.d&&(m=y?a(c).diff(f,N.d,!0):f.diff(c,N.d,!0));var L=(n.rounding||Math.round)(Math.abs(m));if(g=m>0,L<=N.r||!N.r){L<=1&&E>0&&(N=w[E-1]);var B=T[N.l];h&&(L=h(""+L)),S=typeof B=="string"?B.replace("%d",L):B(L,d,N.l,g);break}}if(d)return S;var F=g?T.future:T.past;return typeof F=="function"?F(S):F.replace("%s",S)},i.to=function(c,d){return l(c,d,this,!0)},i.from=function(c,d){return l(c,d,this)};var u=function(c){return c.$u?a.utc():a()};i.toNow=function(c){return this.to(u(this),c)},i.fromNow=function(c){return this.from(u(this),c)}}})}(Ee)),Ee.exports}var Os=ws();const As=at(Os);var Ne={exports:{}},_s=Ne.exports,Xr;function vs(){return Xr||(Xr=1,function(t,e){(function(n,o){t.exports=o()})(_s,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(a,i,s){var l,u=function(y,h,m){m===void 0&&(m={});var S=new Date(y),g=function(T,w){w===void 0&&(w={});var k=w.timeZoneName||"short",E=T+"|"+k,N=o[E];return N||(N=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:T,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:k}),o[E]=N),N}(h,m);return g.formatToParts(S)},c=function(y,h){for(var m=u(y,h),S=[],g=0;g<m.length;g+=1){var T=m[g],w=T.type,k=T.value,E=n[w];E>=0&&(S[E]=parseInt(k,10))}var N=S[3],L=N===24?0:N,B=S[0]+"-"+S[1]+"-"+S[2]+" "+L+":"+S[4]+":"+S[5]+":000",F=+y;return(s.utc(B).valueOf()-(F-=F%1e3))/6e4},d=i.prototype;d.tz=function(y,h){y===void 0&&(y=l);var m,S=this.utcOffset(),g=this.toDate(),T=g.toLocaleString("en-US",{timeZone:y}),w=Math.round((g-new Date(T))/1e3/60),k=15*-Math.round(g.getTimezoneOffset()/15)-w;if(!Number(k))m=this.utcOffset(0,h);else if(m=s(T,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(k,!0),h){var E=m.utcOffset();m=m.add(S-E,"minute")}return m.$x.$timezone=y,m},d.offsetName=function(y){var h=this.$x.$timezone||s.tz.guess(),m=u(this.valueOf(),h,{timeZoneName:y}).find(function(S){return S.type.toLowerCase()==="timezonename"});return m&&m.value};var f=d.startOf;d.startOf=function(y,h){if(!this.$x||!this.$x.$timezone)return f.call(this,y,h);var m=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return f.call(m,y,h).tz(this.$x.$timezone,!0)},s.tz=function(y,h,m){var S=m&&h,g=m||h||l,T=c(+s(),g);if(typeof y!="string")return s(y).tz(g);var w=function(L,B,F){var U=L-60*B*1e3,C=c(U,F);if(B===C)return[U,B];var M=c(U-=60*(C-B)*1e3,F);return C===M?[U,C]:[L-60*Math.min(C,M)*1e3,Math.max(C,M)]}(s.utc(y,S).valueOf(),T,g),k=w[0],E=w[1],N=s(k).utcOffset(E);return N.$x.$timezone=g,N},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(y){l=y}}})}(Ne)),Ne.exports}var ks=vs();const Ps=at(ks);var xe={exports:{}},Es=xe.exports,Qr;function Ns(){return Qr||(Qr=1,function(t,e){(function(n,o){t.exports=o()})(Es,function(){var n="minute",o=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(i,s,l){var u=s.prototype;l.utc=function(S){var g={date:S,utc:!0,args:arguments};return new s(g)},u.utc=function(S){var g=l(this.toDate(),{locale:this.$L,utc:!0});return S?g.add(this.utcOffset(),n):g},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(S){S.utc&&(this.$u=!0),this.$utils().u(S.$offset)||(this.$offset=S.$offset),c.call(this,S)};var d=u.init;u.init=function(){if(this.$u){var S=this.$d;this.$y=S.getUTCFullYear(),this.$M=S.getUTCMonth(),this.$D=S.getUTCDate(),this.$W=S.getUTCDay(),this.$H=S.getUTCHours(),this.$m=S.getUTCMinutes(),this.$s=S.getUTCSeconds(),this.$ms=S.getUTCMilliseconds()}else d.call(this)};var f=u.utcOffset;u.utcOffset=function(S,g){var T=this.$utils().u;if(T(S))return this.$u?0:T(this.$offset)?f.call(this):this.$offset;if(typeof S=="string"&&(S=function(N){N===void 0&&(N="");var L=N.match(o);if(!L)return null;var B=(""+L[0]).match(a)||["-",0,0],F=B[0],U=60*+B[1]+ +B[2];return U===0?0:F==="+"?U:-U}(S),S===null))return this;var w=Math.abs(S)<=16?60*S:S,k=this;if(g)return k.$offset=w,k.$u=S===0,k;if(S!==0){var E=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(k=this.local().add(w+E,n)).$offset=w,k.$x.$localOffset=E}else k=this.utc();return k};var y=u.format;u.format=function(S){var g=S||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return y.call(this,g)},u.valueOf=function(){var S=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*S},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var h=u.toDate;u.toDate=function(S){return S==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var m=u.diff;u.diff=function(S,g,T){if(S&&this.$u===S.$u)return m.call(this,S,g,T);var w=this.local(),k=l(S).local();return m.call(w,k,g,T)}}})}(xe)),xe.exports}var xs=Ns();const $s=at(xs);var $e={exports:{}},Ms=$e.exports,to;function Cs(){return to||(to=1,function(t,e){(function(n,o){t.exports=o()})(Ms,function(){return function(n,o){o.prototype.weekday=function(a){var i=this.$locale().weekStart||0,s=this.$W,l=(s<i?s+7:s)-i;return this.$utils().u(a)?l:this.subtract(l,"day").add(a,"day")}}})}($e)),$e.exports}var Ds=Cs();const Ls=at(Ds);var Me={exports:{}},Is=Me.exports,eo;function Bs(){return eo||(eo=1,function(t,e){(function(n,o){t.exports=o(Ur())})(Is,function(n){function o(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=o(n),i={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(s,l,u,c){return"néhány másodperc"+(c||l?"":"e")},m:function(s,l,u,c){return"egy perc"+(c||l?"":"e")},mm:function(s,l,u,c){return s+" perc"+(c||l?"":"e")},h:function(s,l,u,c){return"egy "+(c||l?"óra":"órája")},hh:function(s,l,u,c){return s+" "+(c||l?"óra":"órája")},d:function(s,l,u,c){return"egy "+(c||l?"nap":"napja")},dd:function(s,l,u,c){return s+" "+(c||l?"nap":"napja")},M:function(s,l,u,c){return"egy "+(c||l?"hónap":"hónapja")},MM:function(s,l,u,c){return s+" "+(c||l?"hónap":"hónapja")},y:function(s,l,u,c){return"egy "+(c||l?"év":"éve")},yy:function(s,l,u,c){return s+" "+(c||l?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return a.default.locale(i,null,!0),i})}(Me)),Me.exports}Bs(),I.extend($s),I.extend(Ps),I.extend(Qi),I.extend(As),I.extend(hs),I.extend(ss),I.extend(rs),I.extend(ds),I.extend(Ls),I.extend(Ss);const no=()=>I.tz.guess();function kt(t="",e="",n="",o="hu"){return n=n||I.tz.guess(),I(t).isValid()?I(t).tz(n).locale(o).format(e):""}function ee(t="",e="",n="hu"){if(!I(t).isValid())return"";e=e||I.tz.guess();const a=new Intl.DateTimeFormat(Rs(n),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(i=>i.type==="timeZoneName");return a&&a.value}function Rs(t){return zn.get(t)}function dn(t){const e=t.split(":");return Number.parseInt(e[0],10)*60+Number.parseInt(e[1],10)}function ro(t){const e=~~(t/60),n=~~t%60;return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function oo(t){const e=Math.trunc(t),n=Math.round((t-e)/10*60*10);return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function fn(t,e="day"){return I().isSameOrBefore(I(t),e)}function ao(t,e,n,o="[]"){return I(t).isBetween(e,I(n),"day",o)}function zs(t,e,n="month"){return I(t).isSame(e,n)}function Vs(t,e="hu"){return I(t).locale(e).toNow(!0)}function Gs(t,e,n="day"){return I(t).isBefore(e,n)}function js(t,e,n="day"){return I(t).isAfter(e,n)}function Fs(t){return I(t).isToday()}function Us(t){const e=I().weekday(1),n=I().weekday(7);return ao(t,e,n)}function Hs(t){const e=I(t).weekday(1),n=I(t).weekday(7);return{startDate:e,endDate:n}}function Ys(t,e){return I(t).subtract(e,"day")}function Ws(t,e){return I(t).add(e,"day")}function qs(t){return I(t).startOf("month")}function Ks(t){return I(t).endOf("month")}function Zs(t){return Array.isArray(t)&&(t=t.map(e=>I(e))),I.min(t)}function Js(t){return Array.isArray(t)&&(t=t.map(e=>I(e))),I.max(...t)}function Xs(t={}){const{initial:e=1,items:n=[],limit:o,auto:a=!1}=t,i=r.ref(r.unref(e)),s=c=>fn(c,"day");return zi(n,()=>{if(!a)return;const c=ai(Or(s,"gameDate"))(r.unref(n));i.value=c===-1?1:Math.floor(c/o)+1}),{page:i,change:c=>{i.value=c}}}function Qs({currentPage:t,itemsPerPage:e=20,totalItems:n,rangeLength:o=5,update:a=tt}){const i=r.computed(()=>Math.ceil(r.unref(n)/e)),s=r.computed(()=>{const d=r.unref(t)-1,f=Array.from({length:i.value},(m,S)=>S+1),y=Math.floor(o/2);let h=Math.max(d-y,0);return h+o>=i.value&&(h=Math.max(i.value-o,0)),f.slice(h,h+o)}),l=d=>{const f=r.unref(t)+d;c(f)&&a(f)},u=d=>{c(d)&&a(d)};function c(d){return d<=i.value&&d>0}return{page:t,range:s,pageCount:i,goTo:u,pageStep:l}}function tl(t={}){const{items:e=[],element:n,offset:o=0,enabled:a=!0}=t,i=l=>fn(l,"day"),s=()=>{if(!r.unref(a))return;const l=ni(Or(i,"gameDate"))(r.unref(e));if(!l)return;const u=kt(l.gameDate,"YYYY-MM-DD"),c=vt(n).querySelector(`div[data-gamedate="${u}"]`);if(!c)return;const d=getComputedStyle(c).getPropertyValue("--mvw-sticky-top-offset")||0,f=(c.getBoundingClientRect()?.top??0)-r.unref(o)-Number.parseFloat(d);window.scrollTo(0,f)};Di(()=>({items:r.unref(e),element:r.unref(n)}),async({items:l,element:u})=>{l.length===0||!u||(await r.nextTick(),s())})}function el({options:t={},transform:e=a=>a,onError:n=tt,onSuccess:o=tt}){const{path:a,apiKey:i,params:s,resetOnExecute:l=!1,immediate:u=!1}=t,{state:c,error:d,isLoading:f,execute:y}=Vr(()=>Dr(a,i,r.unref(s)).then(h=>e(h)),[],{immediate:u,resetOnExecute:l,onError:n,onSuccess:o});return{state:c,error:d,isLoading:f,execute:y}}/*! *****************************************************************************
|
|
10
10
|
Copyright (c) Microsoft Corporation.
|
|
11
11
|
|
|
12
12
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -19,4 +19,4 @@ var MjszVbrElementsCore=function(p,r){"use strict";const Mn="https://www.jegkoro
|
|
|
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 mn(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 el={type:"xstate.init"};function Ce(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 pn(t){return function(e){return t===e}}function nl(t){return typeof t=="string"?{type:t}:t}function so(t,e){return{value:t,context:e,actions:[],changed:!1,matches:pn(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 rl(t,e){e===void 0&&(e={});var n=mn(lo(Ce(t.states[t.initial].entry).map(function(s){return io(s,e.actions)}),t.context,el),2),o=n[0],a=n[1],i={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:pn(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=nl(l),m=t.states[f];if(m.on){var S=Ce(m.on[h.type]);"*"in m.on&&S.push.apply(S,function(v,A,x){if(arguments.length===2)for(var $,z=0,W=A.length;z<W;z++)!$&&z in A||($||($=Array.prototype.slice.call(A,0,z)),$[z]=A[z]);return v.concat($||Array.prototype.slice.call(A))}([],mn(Ce(m.on["*"])),!1));try{for(var g=function(v){var A=typeof Symbol=="function"&&Symbol.iterator,x=A&&v[A],$=0;if(x)return x.call(v);if(v&&typeof v.length=="number")return{next:function(){return v&&$>=v.length&&(v=void 0),{value:v&&v[$++],done:!v}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}(S),T=g.next();!T.done;T=g.next()){var w=T.value;if(w===void 0)return so(f,y);var k=typeof w=="string"?{target:w}:w,E=k.target,N=k.actions,L=N===void 0?[]:N,B=k.cond,F=B===void 0?function(){return!0}:B,U=E===void 0,C=E??f,M=t.states[C];if(F(y,h)){var R=mn(lo((U?Ce(L):[].concat(m.exit,L,M.entry).filter(function(v){return v})).map(function(v){return io(v,i._options.actions)}),y,h),3),Y=R[0],P=R[1],_=R[2],O=E??f;return{value:O,context:P,actions:Y,changed:E!==f||Y.length>0||_,matches:pn(O)}}}}catch(v){u={error:v}}finally{try{T&&!T.done&&(c=g.return)&&c.call(g)}finally{if(u)throw u.error}}}return so(f,y)}};return i}const ol=rl({id:"sort",initial:ft,states:{[ft]:{on:{DIRECTION1:b,DIRECTION2:D}},[b]:{on:{DIRECTION1:D,DIRECTION2:ft}},[D]:{on:{DIRECTION1:ft,DIRECTION2:b}}}});function al(t,e){const n=e===D?"DIRECTION2":"DIRECTION1";return ol.transition(t,n).value}function il(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:al(o.orders[c].direction,u.direction)}));o.sortTarget=i,o.orders=l}}}function sl(t=!1,e=tt,n=tt){const o=ji();r.watch(o,a=>{if(r.unref(t)){if(a==="visible")return e();n()}})}const ll=["textContent"],cl={__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}=Ar(n,e.additionalKey,o,a);return(l,u)=>r.unref(i)?(r.openBlock(),r.createElementBlock("div",{key:0,textContent:r.toDisplayString(r.unref(s))},null,8,ll)):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]])}},ul={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 uo(t,e){return r.openBlock(),r.createElementBlock("svg",ul,[...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 dl={render:uo},fl=Object.freeze(Object.defineProperty({__proto__:null,default:dl,render:uo},Symbol.toStringTag,{value:"Module"})),ml={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function fo(t,e){return r.openBlock(),r.createElementBlock("svg",ml,[...e[0]||(e[0]=[r.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1)])])}const pl={render:fo},hl=Object.freeze(Object.defineProperty({__proto__:null,default:pl,render:fo},Symbol.toStringTag,{value:"Module"})),gl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function mo(t,e){return r.openBlock(),r.createElementBlock("svg",gl,[...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 yl={render:mo},bl=Object.freeze(Object.defineProperty({__proto__:null,default:yl,render:mo},Symbol.toStringTag,{value:"Module"})),Sl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function po(t,e){return r.openBlock(),r.createElementBlock("svg",Sl,[...e[0]||(e[0]=[r.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1)])])}const Tl={render:po},wl=Object.freeze(Object.defineProperty({__proto__:null,default:Tl,render:po},Symbol.toStringTag,{value:"Module"})),Ol={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function ho(t,e){return r.openBlock(),r.createElementBlock("svg",Ol,[...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 Al={render:ho},vl=Object.freeze(Object.defineProperty({__proto__:null,default:Al,render:ho},Symbol.toStringTag,{value:"Module"})),_l={"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 go(t,e){return r.openBlock(),r.createElementBlock("svg",_l,[...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 kl={render:go},yo=Object.freeze(Object.defineProperty({__proto__:null,default:kl,render:go},Symbol.toStringTag,{value:"Module"})),Pl={"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 bo(t,e){return r.openBlock(),r.createElementBlock("svg",Pl,[...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 El={render:bo},Nl=Object.freeze(Object.defineProperty({__proto__:null,default:El,render:bo},Symbol.toStringTag,{value:"Module"})),xl={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"sort-up",class:"svg-inline--fa fa-sort-up fa-w-10",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"};function So(t,e){return r.openBlock(),r.createElementBlock("svg",xl,[...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 $l={render:So},Ml=Object.freeze(Object.defineProperty({__proto__:null,default:$l,render:So},Symbol.toStringTag,{value:"Module"})),Cl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function To(t,e){return r.openBlock(),r.createElementBlock("svg",Cl,[...e[0]||(e[0]=[r.createElementVNode("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"},null,-1),r.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),r.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1)])])}const Dl={render:To},Ll=Object.freeze(Object.defineProperty({__proto__:null,default:Dl,render:To},Symbol.toStringTag,{value:"Module"})),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 wo(t,e){return r.openBlock(),r.createElementBlock("svg",Il,[...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 Bl={render:wo},Rl=Object.freeze(Object.defineProperty({__proto__:null,default:Bl,render:wo},Symbol.toStringTag,{value:"Module"}));let zl=0;function Vl(){return++zl}function Gl(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),Dt(e)):It(j(l),Or,ii(Or(e)))),i=sr(l=>l.name?Sr(pr("name"),Se(",",""),l):l),s=Lt(It(i,Ba([...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=ai(Dt(D),ar(Yt),ar(vt));return this.result=Te(e.orders.map(o=>q(n(o.direction),j)(o.target)))(this.result),this},addIndex(e=null){return this.result.reduce((n,o,a)=>{const i=n[n.length-1]||[],s=e&&i[e]===o[e];return o.index=s?i.index:a+1,o.indexClass=s?"is-duplicated":null,n.push(o),n},[]),this},addContinuousIndex(){return this.result=this.result.map((e,n)=>({...e,index:n+1})),this},pagination(e,n){if(!n)return this;e=Number(e),n=Number(n);const o=(e-1)*n,a=o+n;return this.result=this.result.slice(o,a),this},more(e,n){return this.result=this.result.slice(Number(e),Number(n)),this},playerName(){return this.result=this.result.map(e=>({...e,name:rc(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`]=dn(n[o]):n),n)),this},groupByDays(){return this.currentItems=this.result.length,this.result=qt(e=>kt(e.gameDate,"YYYY-MM-DD"))(this.result),this},slice(e=3){return this.result=this.result.slice(0,e),this},reverse(e){return e&&(this.result=[...this.result].reverse()),this}}}const jl=(t,...e)=>K(q(...e))(t);function Bt(t){return{...t,...t.lastName&&t.firstName&&{name:`${t.lastName} ${t.firstName}`},...t.player?.playerId&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.id&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.nationality&&{name:t.player?.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`},...t.nationality&&{name:t.nationality.includes("hu")?`${t.lastName} ${t.firstName}`:`${t.lastName}, ${t.firstName}`}}}function hn(t){return{...t,...t?.team?.id&&{teamName:t.team.longName}}}function Fl(t="",e="hu"){return n=>({...n,gameDateDate:kt(n.gameDate,"L dddd",t,e),gameDateTime:kt(n.gameDate,"HH:mm",t,e)})}function Ul(t){return e=>({...e,gameResult:tc(e)})}function Hl(t){return{...t,opponent:Ql(t)}}function Yl(t){return{...t,resultType:ec(t)}}function Wl(t){return{...t,rowClasses:t.optional?"is-optional":""}}function Oo(t=[]){return e=>({...e,[t]:e[t]?.toUpperCase()})}function ql(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Sec`]=dn(e[n]):e),e)}function Kl(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Min`]=ro(e[n]):e),e)}function Zl(t=[]){return e=>(t.map(n=>e[`${n}Min`]=no(e[n])),e)}function Jl(t){return{...t,periodResults:t.result?.match(/\(.*?\)/)?.[0]??""}}const Xl=Te([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Yt(j("id")),Yt(j("gameId"))]),gn=nn((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function Ql(t){return[t.isHomeGame?null:"@",t.opponent?.shortName].join(" ")}function tc(t){let e=t?.homeTeamScore,n=t?.awayTeamScore;return t.isHomeGame||(e=t?.awayTeamScore,n=t?.homeTeamScore),[e,n].join(":")}function ec(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 nc(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 rc(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 oc=q(nn(vt(j("seasonName"))),K(en(["championshipId","seasonName"]))),ac=t=>nn(Yt(j("teamName")),t),ic=q(St(j("sectionId")),mt(q(Kt,j("phases")))),sc=q(j("sectionId"),Qe),lc=q(j("phaseName"),Qe),cc=St(j("phaseId")),uc=q(St(j("name")),K(q(Bt,hn))),dc=q(j("phaseName"),ur),fc=q(yi,Se("_","-")),mc=q(mt(gi(/-:-/)),pt(",")),pc=q(K(pt(":")),K(Xt),pt(","),Se(/^\(|\)$/g,"")),hc=Te([vt(j("startingFive"))]),gc=q(fr(", "),K(t=>`${t.lastName} ${t.firstName}`),mt(t=>!t)),yc=q(qt(j("eventPeriod")),Wt,mt(Zt("Period","type"))),bc=qt(j("row")),Sc=(t,e)=>Lt(Ia([Tr(e,["team","id"]),Zt("Gól","type")]),Wt(t)),Tc=q(K(Bt),en(["headCoach","secondCoach"])),wc=q(Wt,K(t=>({...t,eventId:t.eventId?t.eventId:Vl()}))),Oc=t=>St(j("eventTimeSec"),Object.values(t));function Ac(t,e){const n=a=>{const i=["first_referee","second_referee","first_line_judge","second_line_judge"].indexOf(a.role);return i>-1?i:4},o=a=>({...Bt(a),role:e(`role.${a.role}`)});return qt(j("type"),K(o,St(n,Object.values(t))))}const vc=Te([vt(j("points")),Yt(j("gamesPlayed")),vt(j("w")),vt(j("gd")),vt(j("gf"))]),_c=(t,e)=>mt(Zt(t,"championshipId"),e),kc=(t,e)=>Lt(Zt(t,"championshipId"),e),Pc=q(mt(t=>["Rájátszás","Újrajátszandó"].includes(t.phaseName)),bt([0,"phases"])),Ec=q(qt(Mc),St(t=>["ld","rd","d"].includes(t.position?.toLowerCase())?1:["lw","rw","c"].includes(t.position?.toLowerCase())?2:0),St(Cc),K(q(Bt,hn,Oo(["position"]))));function Nc({goalieStats:t,fieldPlayers:e,playersPenalty:n}){const o=K(bt(["player","playerId"]))(t),i=mt(c=>o.includes(c.player.playerId),n),s=si((c,d)=>c.player.playerId===d,n,o),l=Ao(e,i),u=Ao(t,s);return{fieldPlayers:gn(l),goalies:gn(u)}}const xc=sr((t,e)=>It(Lt(Tr(e,["team","id"])),K(Bt))(t));function $c(t){const e=t.city?Sr(pr("city"),Se(/$/,",")):()=>({});return q(fr(" "),ir,e,tn(["type"]))(t)}function Mc(t){return["ld","rd"].includes(t.position?.toLowerCase())?"defenders":["lw","rw","c"].includes(t.position?.toLowerCase())?"forwards":"goalies"}function Cc(t){return Number(t.jerseyNr)}function Ao(t,e){return ir(pi(yr,dr(bt(["player","playerId"]),t),dr(bt(["player","playerId"]),e)))}const Dc={setCookie(t,e,n){const o=new Date;o.setTime(o.getTime()+n*60*60*1e3);const a=`expires=${o.toUTCString()}`;document.cookie=`${t}=${e};${a};path=/`},getCookie(t){const e=`${t}=`,n=document.cookie.split(";");for(let o=0;o<n.length;o++){let a=n[o];for(;a.charAt(0)===" ";)a=a.substring(1);if(a.indexOf(e)===0)return a.substring(e.length,a.length)}return""},checkCookie(t){return this.getCookie(t)!==""}};function vo(t,e="body"){if(!t)return;if(typeof e!="string"){e?.append(t);return}document.querySelector(e)?.append(t)}function Lc(t,e=()=>({})){return t.slice().sort((n,o)=>{const a=e(n),i=e(o);if(a===null||i===null)return 0;const s=a.compareDocumentPosition(i);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}class yn extends Error{constructor(e,n={}){const{key:o,cause:a}=n;super(e),this.name="WidgetError",this.key=o,this.cause=a}}const ne={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},Ic={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}};function Bc(t){return`${"".replace(/^https?/,"wss").replace("/vbr","/socket/vbr")}${t}`}const re=(t="")=>window?.__MJSZ_VBR_WIDGET__?.[t];function Rc(t,e={}){if(e.externalGameUrl)return e.externalGameUrl;const n=re("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(ht(n||Mn,e))}function zc(t,e={}){const n=re("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(ht(n||Ln,e))}function Vc(t,e={}){const n=re("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(ht(n||Dn,e))}function Gc(t,e={}){return typeof t=="function"?t(e):encodeURI(ht(t||In,e))}const jc=(t,e="1x1")=>`${Bn}/flag:${t}-${e}.svg`;function Fc(t){return t||(re("apiKey")?re("apiKey"):"")}function Uc(){window.scrollTo(0,0)}const Rt=Math.min,Pt=Math.max,De=Math.round,Le=Math.floor,ct=t=>({x:t,y:t}),Hc={left:"right",right:"left",bottom:"top",top:"bottom"},Yc={start:"end",end:"start"};function bn(t,e,n){return Pt(t,Rt(e,n))}function oe(t,e){return typeof t=="function"?t(e):t}function Et(t){return t.split("-")[0]}function ae(t){return t.split("-")[1]}function _o(t){return t==="x"?"y":"x"}function Sn(t){return t==="y"?"height":"width"}const Wc=new Set(["top","bottom"]);function Tt(t){return Wc.has(Et(t))?"y":"x"}function Tn(t){return _o(Tt(t))}function qc(t,e,n){n===void 0&&(n=!1);const o=ae(t),a=Tn(t),i=Sn(a);let s=a==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Ie(s)),[s,Ie(s)]}function Kc(t){const e=Ie(t);return[wn(t),e,wn(e)]}function wn(t){return t.replace(/start|end/g,e=>Yc[e])}const ko=["left","right"],Po=["right","left"],Zc=["top","bottom"],Jc=["bottom","top"];function Xc(t,e,n){switch(t){case"top":case"bottom":return n?e?Po:ko:e?ko:Po;case"left":case"right":return e?Zc:Jc;default:return[]}}function Qc(t,e,n,o){const a=ae(t);let i=Xc(Et(t),n==="start",o);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(wn)))),i}function Ie(t){return t.replace(/left|right|bottom|top/g,e=>Hc[e])}function tu(t){return{top:0,right:0,bottom:0,left:0,...t}}function Eo(t){return typeof t!="number"?tu(t):{top:t,right:t,bottom:t,left:t}}function Be(t){const{x:e,y:n,width:o,height:a}=t;return{width:o,height:a,top:n,left:e,right:e+o,bottom:n+a,x:e,y:n}}function No(t,e,n){let{reference:o,floating:a}=t;const i=Tt(e),s=Tn(e),l=Sn(s),u=Et(e),c=i==="y",d=o.x+o.width/2-a.width/2,f=o.y+o.height/2-a.height/2,y=o[l]/2-a[l]/2;let h;switch(u){case"top":h={x:d,y:o.y-a.height};break;case"bottom":h={x:d,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-a.width,y:f};break;default:h={x:o.x,y:o.y}}switch(ae(e)){case"start":h[s]-=y*(n&&c?-1:1);break;case"end":h[s]+=y*(n&&c?-1:1);break}return h}const eu=async(t,e,n)=>{const{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:d,y:f}=No(c,o,u),y=o,h={},m=0;for(let S=0;S<l.length;S++){const{name:g,fn:T}=l[S],{x:w,y:k,data:E,reset:N}=await T({x:d,y:f,initialPlacement:o,placement:y,strategy:a,middlewareData:h,rects:c,platform:s,elements:{reference:t,floating:e}});d=w??d,f=k??f,h={...h,[g]:{...h[g],...E}},N&&m<=50&&(m++,typeof N=="object"&&(N.placement&&(y=N.placement),N.rects&&(c=N.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):N.rects),{x:d,y:f}=No(c,y,u)),S=-1)}return{x:d,y:f,placement:y,strategy:a,middlewareData:h}};async function xo(t,e){var n;e===void 0&&(e={});const{x:o,y:a,platform:i,rects:s,elements:l,strategy:u}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:y=!1,padding:h=0}=oe(e,t),m=Eo(h),g=l[y?f==="floating"?"reference":"floating":f],T=Be(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),w=f==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),E=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},N=Be(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:k,strategy:u}):w);return{top:(T.top-N.top+m.top)/E.y,bottom:(N.bottom-T.bottom+m.bottom)/E.y,left:(T.left-N.left+m.left)/E.x,right:(N.right-T.right+m.right)/E.x}}const nu=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:a,rects:i,platform:s,elements:l,middlewareData:u}=e,{element:c,padding:d=0}=oe(t,e)||{};if(c==null)return{};const f=Eo(d),y={x:n,y:o},h=Tn(a),m=Sn(h),S=await s.getDimensions(c),g=h==="y",T=g?"top":"left",w=g?"bottom":"right",k=g?"clientHeight":"clientWidth",E=i.reference[m]+i.reference[h]-y[h]-i.floating[m],N=y[h]-i.reference[h],L=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let B=L?L[k]:0;(!B||!await(s.isElement==null?void 0:s.isElement(L)))&&(B=l.floating[k]||i.floating[m]);const F=E/2-N/2,U=B/2-S[m]/2-1,C=Rt(f[T],U),M=Rt(f[w],U),R=C,Y=B-S[m]-M,P=B/2-S[m]/2+F,_=bn(R,P,Y),O=!u.arrow&&ae(a)!=null&&P!==_&&i.reference[m]/2-(P<R?C:M)-S[m]/2<0,v=O?P<R?P-R:P-Y:0;return{[h]:y[h]+v,data:{[h]:_,centerOffset:P-_-v,...O&&{alignmentOffset:v}},reset:O}}}),ru=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:a,middlewareData:i,rects:s,initialPlacement:l,platform:u,elements:c}=e,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:y,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:S=!0,...g}=oe(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const T=Et(a),w=Tt(l),k=Et(l)===l,E=await(u.isRTL==null?void 0:u.isRTL(c.floating)),N=y||(k||!S?[Ie(l)]:Kc(l)),L=m!=="none";!y&&L&&N.push(...Qc(l,S,m,E));const B=[l,...N],F=await xo(e,g),U=[];let C=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&U.push(F[T]),f){const P=qc(a,s,E);U.push(F[P[0]],F[P[1]])}if(C=[...C,{placement:a,overflows:U}],!U.every(P=>P<=0)){var M,R;const P=(((M=i.flip)==null?void 0:M.index)||0)+1,_=B[P];if(_&&(!(f==="alignment"?w!==Tt(_):!1)||C.every(A=>A.overflows[0]>0&&Tt(A.placement)===w)))return{data:{index:P,overflows:C},reset:{placement:_}};let O=(R=C.filter(v=>v.overflows[0]<=0).sort((v,A)=>v.overflows[1]-A.overflows[1])[0])==null?void 0:R.placement;if(!O)switch(h){case"bestFit":{var Y;const v=(Y=C.filter(A=>{if(L){const x=Tt(A.placement);return x===w||x==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(x=>x>0).reduce((x,$)=>x+$,0)]).sort((A,x)=>A[1]-x[1])[0])==null?void 0:Y[0];v&&(O=v);break}case"initialPlacement":O=l;break}if(a!==O)return{reset:{placement:O}}}return{}}}},ou=new Set(["left","top"]);async function au(t,e){const{placement:n,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=Et(n),l=ae(n),u=Tt(n)==="y",c=ou.has(s)?-1:1,d=i&&u?-1:1,f=oe(e,t);let{mainAxis:y,crossAxis:h,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof m=="number"&&(h=l==="end"?m*-1:m),u?{x:h*d,y:y*c}:{x:y*c,y:h*d}}const iu=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:a,y:i,placement:s,middlewareData:l}=e,u=await au(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:a+u.x,y:i+u.y,data:{...u,placement:s}}}}},su=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:g=>{let{x:T,y:w}=g;return{x:T,y:w}}},...u}=oe(t,e),c={x:n,y:o},d=await xo(e,u),f=Tt(Et(a)),y=_o(f);let h=c[y],m=c[f];if(i){const g=y==="y"?"top":"left",T=y==="y"?"bottom":"right",w=h+d[g],k=h-d[T];h=bn(w,h,k)}if(s){const g=f==="y"?"top":"left",T=f==="y"?"bottom":"right",w=m+d[g],k=m-d[T];m=bn(w,m,k)}const S=l.fn({...e,[y]:h,[f]:m});return{...S,data:{x:S.x-n,y:S.y-o,enabled:{[y]:i,[f]:s}}}}}};function Re(){return typeof window<"u"}function zt(t){return $o(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=($o(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function $o(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 Mo(t){return!Re()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof nt(t).ShadowRoot}const lu=new Set(["inline","contents"]);function ie(t){const{overflow:e,overflowX:n,overflowY:o,display:a}=st(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!lu.has(a)}const cu=new Set(["table","td","th"]);function uu(t){return cu.has(zt(t))}const du=[":popover-open",":modal"];function ze(t){return du.some(e=>{try{return t.matches(e)}catch{return!1}})}const fu=["transform","translate","scale","rotate","perspective"],mu=["transform","translate","scale","rotate","perspective","filter"],pu=["paint","layout","strict","content"];function On(t){const e=An(),n=it(t)?st(t):t;return fu.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||mu.some(o=>(n.willChange||"").includes(o))||pu.some(o=>(n.contain||"").includes(o))}function hu(t){let e=wt(t);for(;dt(e)&&!Vt(e);){if(On(e))return e;if(ze(e))return null;e=wt(e)}return null}function An(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const gu=new Set(["html","body","#document"]);function Vt(t){return gu.has(zt(t))}function st(t){return nt(t).getComputedStyle(t)}function Ve(t){return it(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function wt(t){if(zt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Mo(t)&&t.host||ut(t);return Mo(e)?e.host:e}function Co(t){const e=wt(t);return Vt(e)?t.ownerDocument?t.ownerDocument.body:t.body:dt(e)&&ie(e)?e:Co(e)}function se(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=Co(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=nt(a);if(i){const l=vn(s);return e.concat(s,s.visualViewport||[],ie(a)?a:[],l&&n?se(l):[])}return e.concat(a,se(a,[],n))}function vn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Do(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=De(n)!==i||De(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function _n(t){return it(t)?t:t.contextElement}function Gt(t){const e=_n(t);if(!dt(e))return ct(1);const n=e.getBoundingClientRect(),{width:o,height:a,$:i}=Do(e);let s=(i?De(n.width):n.width)/o,l=(i?De(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const yu=ct(0);function Lo(t){const e=nt(t);return!An()||!e.visualViewport?yu:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function bu(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==nt(t)?!1:e}function Nt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),i=_n(t);let s=ct(1);e&&(o?it(o)&&(s=Gt(o)):s=Gt(t));const l=bu(i,n,o)?Lo(i):ct(0);let u=(a.left+l.x)/s.x,c=(a.top+l.y)/s.y,d=a.width/s.x,f=a.height/s.y;if(i){const y=nt(i),h=o&&it(o)?nt(o):o;let m=y,S=vn(m);for(;S&&o&&h!==m;){const g=Gt(S),T=S.getBoundingClientRect(),w=st(S),k=T.left+(S.clientLeft+parseFloat(w.paddingLeft))*g.x,E=T.top+(S.clientTop+parseFloat(w.paddingTop))*g.y;u*=g.x,c*=g.y,d*=g.x,f*=g.y,u+=k,c+=E,m=nt(S),S=vn(m)}}return Be({width:d,height:f,x:u,y:c})}function kn(t,e){const n=Ve(t).scrollLeft;return e?e.left+n:Nt(ut(t)).left+n}function Io(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),a=o.left+e.scrollLeft-(n?0:kn(t,o)),i=o.top+e.scrollTop;return{x:a,y:i}}function Su(t){let{elements:e,rect:n,offsetParent:o,strategy:a}=t;const i=a==="fixed",s=ut(o),l=e?ze(e.floating):!1;if(o===s||l&&i)return n;let u={scrollLeft:0,scrollTop:0},c=ct(1);const d=ct(0),f=dt(o);if((f||!f&&!i)&&((zt(o)!=="body"||ie(s))&&(u=Ve(o)),dt(o))){const h=Nt(o);c=Gt(o),d.x=h.x+o.clientLeft,d.y=h.y+o.clientTop}const y=s&&!f&&!i?Io(s,u,!0):ct(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+y.x,y:n.y*c.y-u.scrollTop*c.y+d.y+y.y}}function Tu(t){return Array.from(t.getClientRects())}function wu(t){const e=ut(t),n=Ve(t),o=t.ownerDocument.body,a=Pt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=Pt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+kn(t);const l=-n.scrollTop;return st(o).direction==="rtl"&&(s+=Pt(e.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:l}}function Ou(t,e){const n=nt(t),o=ut(t),a=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,l=0,u=0;if(a){i=a.width,s=a.height;const c=An();(!c||c&&e==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:i,height:s,x:l,y:u}}const Au=new Set(["absolute","fixed"]);function vu(t,e){const n=Nt(t,!0,e==="fixed"),o=n.top+t.clientTop,a=n.left+t.clientLeft,i=dt(t)?Gt(t):ct(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,u=a*i.x,c=o*i.y;return{width:s,height:l,x:u,y:c}}function Bo(t,e,n){let o;if(e==="viewport")o=Ou(t,n);else if(e==="document")o=wu(ut(t));else if(it(e))o=vu(e,n);else{const a=Lo(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return Be(o)}function Ro(t,e){const n=wt(t);return n===e||!it(n)||Vt(n)?!1:st(n).position==="fixed"||Ro(n,e)}function _u(t,e){const n=e.get(t);if(n)return n;let o=se(t,[],!1).filter(l=>it(l)&&zt(l)!=="body"),a=null;const i=st(t).position==="fixed";let s=i?wt(t):t;for(;it(s)&&!Vt(s);){const l=st(s),u=On(s);!u&&l.position==="fixed"&&(a=null),(i?!u&&!a:!u&&l.position==="static"&&!!a&&Au.has(a.position)||ie(s)&&!u&&Ro(t,s))?o=o.filter(d=>d!==s):a=l,s=wt(s)}return e.set(t,o),o}function ku(t){let{element:e,boundary:n,rootBoundary:o,strategy:a}=t;const s=[...n==="clippingAncestors"?ze(e)?[]:_u(e,this._c):[].concat(n),o],l=s[0],u=s.reduce((c,d)=>{const f=Bo(e,d,a);return c.top=Pt(f.top,c.top),c.right=Rt(f.right,c.right),c.bottom=Rt(f.bottom,c.bottom),c.left=Pt(f.left,c.left),c},Bo(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Pu(t){const{width:e,height:n}=Do(t);return{width:e,height:n}}function Eu(t,e,n){const o=dt(e),a=ut(e),i=n==="fixed",s=Nt(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const u=ct(0);function c(){u.x=kn(a)}if(o||!o&&!i)if((zt(e)!=="body"||ie(a))&&(l=Ve(e)),o){const h=Nt(e,!0,i,e);u.x=h.x+e.clientLeft,u.y=h.y+e.clientTop}else a&&c();i&&!o&&a&&c();const d=a&&!o&&!i?Io(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 Pn(t){return st(t).position==="static"}function zo(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 Vo(t,e){const n=nt(t);if(ze(t))return n;if(!dt(t)){let a=wt(t);for(;a&&!Vt(a);){if(it(a)&&!Pn(a))return a;a=wt(a)}return n}let o=zo(t,e);for(;o&&uu(o)&&Pn(o);)o=zo(o,e);return o&&Vt(o)&&Pn(o)&&!On(o)?n:o||hu(t)||n}const Nu=async function(t){const e=this.getOffsetParent||Vo,n=this.getDimensions,o=await n(t.floating);return{reference:Eu(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function xu(t){return st(t).direction==="rtl"}const $u={convertOffsetParentRelativeRectToViewportRelativeRect:Su,getDocumentElement:ut,getClippingRect:ku,getOffsetParent:Vo,getElementRects:Nu,getClientRects:Tu,getDimensions:Pu,getScale:Gt,isElement:it,isRTL:xu};function Go(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Mu(t,e){let n=null,o;const a=ut(t);function i(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),i();const c=t.getBoundingClientRect(),{left:d,top:f,width:y,height:h}=c;if(l||e(),!y||!h)return;const m=Le(f),S=Le(a.clientWidth-(d+y)),g=Le(a.clientHeight-(f+h)),T=Le(d),k={rootMargin:-m+"px "+-S+"px "+-g+"px "+-T+"px",threshold:Pt(0,Rt(1,u))||1};let E=!0;function N(L){const B=L[0].intersectionRatio;if(B!==u){if(!E)return s();B?s(!1,B):o=setTimeout(()=>{s(!1,1e-7)},1e3)}B===1&&!Go(c,t.getBoundingClientRect())&&s(),E=!1}try{n=new IntersectionObserver(N,{...k,root:a.ownerDocument})}catch{n=new IntersectionObserver(N,k)}n.observe(t)}return s(!0),i}function Cu(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=_n(t),d=a||i?[...c?se(c):[],...se(e)]:[];d.forEach(T=>{a&&T.addEventListener("scroll",n,{passive:!0}),i&&T.addEventListener("resize",n)});const f=c&&l?Mu(c,n):null;let y=-1,h=null;s&&(h=new ResizeObserver(T=>{let[w]=T;w&&w.target===c&&h&&(h.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var k;(k=h)==null||k.observe(e)})),n()}),c&&!u&&h.observe(c),h.observe(e));let m,S=u?Nt(t):null;u&&g();function g(){const T=Nt(t);S&&!Go(S,T)&&n(),S=T,m=requestAnimationFrame(g)}return n(),()=>{var T;d.forEach(w=>{a&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),f?.(),(T=h)==null||T.disconnect(),h=null,u&&cancelAnimationFrame(m)}}const Du=iu,Lu=su,Iu=ru,jo=nu,Bu=(t,e,n)=>{const o=new Map,a={platform:$u,...n},i={...a.platform,_c:o};return eu(t,e,{...a,platform:i})};function Ru({middleware:t,placement:e=null,strategy:n,append:o,enabled:a}){const i=r.ref(null),s=r.ref(null),l=r.ref(null),u=r.ref(null),c=r.ref(null),d=r.ref(null),f=r.ref(null),y=r.ref(n??"absolute"),h=r.ref(null),m=()=>{!i.value||!s.value||Bu(i.value,s.value,{middleware:t,placement:e,strategy:n}).then(g=>{l.value=g.x,u.value=g.y,y.value=g.strategy,c.value=g.middlewareData.arrow.x,d.value=g.middlewareData.arrow.y,f.value=g.placement})};r.watch(()=>({reference:r.unref(i),floating:r.unref(s),append:r.unref(o)}),({floating:g,append:T})=>{T&&vo(g,T),m()},{flush:"post"}),r.watch(a,g=>{if(!(!i.value||!s.value)){if(!g)return S();h.value=Cu(i.value,s.value,m,{})}},{flush:"post"});function S(){h.value?.(),h.value=null}return{x:l,y:u,arrowX:c,arrowY:d,placement:f,reference:i,floating:s,strategy:y,update:m}}function zu(t){const{element:e,padding:n}=t;return{name:"arrow",options:t,fn(o){return r.isRef(e)?e.value!=null?jo({element:e.value,padding:n}).fn(o):{}:e?jo({element:e,padding:n}).fn(o):{}}}}const Vu=["data-placement"],En={__name:"FloatingPanel",props:{disabled:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},theme:{type:String,default:"tooltip"},content:{type:String,default:""},appendTo:{type:[Object,String],default:"body"},offset:{type:Number,default:2},isArrowVisible:{type:Boolean,default:!0}},setup(t){const e=t,n=r.ref(!1),o=r.ref(null),{x:a,y:i,arrowX:s,arrowY:l,placement:u,reference:c,floating:d,strategy:f}=Ru({placement:e.placement,middleware:[Iu(),Lu({padding:5}),Du(e.offset),zu({element:o,padding:5})],append:r.computed(()=>e.appendTo),enabled:n});function y(){e.disabled||n.value||(n.value=!0)}function h(){n.value&&(n.value=!1)}function m(w){c.value=w}const S={onMouseenter:y,onMouseleave:h,onFocus:y,onBlur:h};Gi(d,()=>{n.value&&h()},{ignore:[c]});function g(){if(n.value)return h();y()}function T(w){if(!n.value)return;_t(d).querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')[0]?.focus(),w.preventDefault()}return(w,k)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.renderSlot(w.$slots,"default",{setRef:m,nextFocus:T,open:n.value,toggle:g,show:y,hide:h,events:S}),r.createElementVNode("div",{ref_key:"floating",ref:d,"data-placement":r.unref(u),style:r.normalizeStyle({position:r.unref(f),top:r.unref(i)?`${r.unref(i)}px`:"",left:r.unref(a)?`${r.unref(a)}px`:""})},[r.createVNode(r.Transition,{name:"transition-fade"},{default:r.withCtx(()=>[n.value?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(["floating-content",[[`is-${e.theme}`]]])},[r.renderSlot(w.$slots,"content",{close:h},()=>[r.createTextVNode(r.toDisplayString(t.content),1)]),t.isArrowVisible?(r.openBlock(),r.createElementBlock("div",{key:0,ref_key:"arrowRef",ref:o,class:"is-arrow",style:r.normalizeStyle({position:r.unref(f),top:r.unref(l)?`${r.unref(l)}px`:"",left:r.unref(s)?`${r.unref(s)}px`:""})},null,4)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0)]),_:3})],12,Vu)],64))}},Gu={class:"table"},ju=["tabindex","onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown"],Fu=["data-value"],Uu={key:0},Hu=["colspan"],Yu={key:1},Wu=["colspan"],qu={key:2},Nn={__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:Vn}),{t:l}=lt(),u=r.computed(()=>n.columns),c=r.computed(()=>Object.keys(n.columns).length);function d(f,y){f.sortOrders&&o("sort",{target:y,orders:f.sortOrders})}return(f,y)=>(r.openBlock(),r.createElementBlock("table",Gu,[r.createElementVNode("thead",null,[r.createElementVNode("tr",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(h,m)=>(r.openBlock(),r.createBlock(En,{key:m,placement:"top",content:h.tooltip,disabled:!h.tooltip,"append-to":r.unref(i)},{default:r.withCtx(({setRef:S,show:g,hide:T})=>[r.createElementVNode("th",{ref_for:!0,ref:S,class:r.normalizeClass([[r.unref(xr)(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(D)}]),tabindex:h.sortOrders?0:-1,role:"button",onMouseenter:g,onMouseleave:T,onFocus:g,onBlur:T,onClick:w=>d(h,m),onKeydown:[r.withKeys(r.withModifiers(w=>d(h,m),["prevent"]),["space"]),r.withKeys(r.withModifiers(w=>d(h,m),["prevent"]),["enter"])]},[r.renderSlot(f.$slots,`header-${m}`,{column:h},()=>[r.createTextVNode(r.toDisplayString(h.label),1)]),h.sortOrders&&m!==t.sort.sortTarget?(r.openBlock(),r.createBlock(r.unref(yo),{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(yo),{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(D)?(r.openBlock(),r.createBlock(r.unref(Ml),{key:3,class:"is-icon-sort"})):r.createCommentVNode("",!0)],42,ju)]),_:2},1032,["content","disabled","append-to"]))),128))])]),r.createElementVNode("tbody",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.rows,(h,m)=>(r.openBlock(),r.createElementBlock("tr",{key:m,class:r.normalizeClass(h.rowClasses)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(S,g)=>(r.openBlock(),r.createElementBlock("td",{key:g,"data-value":h[g],class:r.normalizeClass([[S.class],{"is-active":g===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ft),"is-zero":h[g]===0||h[g]==="00:00"}])},[r.renderSlot(f.$slots,`cell-${g}`,{row:h,prop:g},()=>[r.createTextVNode(r.toDisplayString(h[g]),1)])],10,Fu))),128))],2))),128))]),r.unref(s)&&t.rows.length===0?(r.openBlock(),r.createElementBlock("tfoot",Uu,[r.createElementVNode("tr",null,[r.createElementVNode("td",{colspan:c.value},[r.renderSlot(f.$slots,"loading",{},()=>[r.createTextVNode(r.toDisplayString(r.unref(l)("common.loading")),1)])],8,Hu)])])):r.createCommentVNode("",!0),t.rows.length===0&&!r.unref(a)&&!r.unref(s)?(r.openBlock(),r.createElementBlock("tfoot",Yu,[r.createElementVNode("tr",null,[r.createElementVNode("td",{colspan:c.value},[r.renderSlot(f.$slots,"empty",{},()=>[r.createTextVNode(r.toDisplayString(r.unref(l)("common.noData")),1)])],8,Wu)])])):r.createCommentVNode("",!0),f.$slots.caption?(r.openBlock(),r.createElementBlock("caption",qu,[r.renderSlot(f.$slots,"caption")])):r.createCommentVNode("",!0)]))}},Ku={class:"error-notice"},Zu=["textContent"],Ju={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})},useRetry:{type:Boolean,default:!1}},emits:["retry"],setup(t){const e=t,{t:n,hasTranslation:o}=lt(),a=r.computed(()=>o(`errors.${e.error.key}`)?n(`errors.${e.error.key}`,e.error.cause||[e.error?.message]):e.error?.message);return(i,s)=>(r.openBlock(),r.createElementBlock("div",Ku,[r.createVNode(r.unref(Ll),{class:"icon",width:"20",height:"20"}),r.createElementVNode("span",null,r.toDisplayString(a.value),1),t.useRetry?(r.openBlock(),r.createElementBlock("button",{key:0,type:"button",onClick:s[0]||(s[0]=l=>i.$emit("retry")),textContent:r.toDisplayString(r.unref(n)("common.retry"))},null,8,Zu)):r.createCommentVNode("",!0)]))}},Xu={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:o}=Mr();return(a,i)=>r.renderSlot(a.$slots,"default",{message:r.unref(e),error:r.unref(o),hasError:r.unref(n)})}},Qu={class:"form-field"},td=["for"],Fo={__name:"FormField",props:{label:{type:String,default:""},name:{type:String,required:!0}},setup(t){return(e,n)=>(r.openBlock(),r.createElementBlock("div",Qu,[r.createElementVNode("label",{for:t.name},r.toDisplayString(t.label),9,td),r.renderSlot(e.$slots,"default")]))}},ed={errors:{"undefined-column":"The {column} column is not exists!","invalid-season-name":"Invalid season name","api-key-not-found":"API Key not found",gameData:"Game Data: {0}",gameStats:"Game Stats: {0}",gameEvents:"Game Events: {0}",gameOfficials:"Game Officials : {0}"},common:{loading:"Loading...",noData:"No data to display",selectTimezone:"*All times are displayed according to your computer's time zone ({timezone}). Change: ",hungary:"Hungary",romania:"Romania",shootoutShort:"SO",overtimeShort:"OT",all:"All",report:"Report Sheet",video:"Video",retry:"Try Again"},additionalText:{inheritedPoints:{prependix:"",content:"{team} has {points} extra point(s)",appendix:"based on its results in the previous championship phase."},penaltyPoints:{prependix:"* ",content:"{points} point(s) deducted from team {team}",appendix:"based on the decision of the Disciplinary Committee."}},table:{blank:"#",info:"{min} to {max} of {total} entries",team:{short:"Team",tooltip:"Team name"},game:{short:"GP",tooltip:"Game Played"},pper:{short:"PPer",tooltip:"Total periods played"},wins:{short:"W",tooltip:"Wins"},draw:{short:"D",tooltip:"Draw"},otw:{short:"OTW",tooltip:"Overtime Wins"},sow:{short:"SOW",tooltip:"Shoot Out Wins"},sol:{short:"SOL",tooltip:"Shoot Out Losses"},otl:{short:"OTL",tooltip:"Overtime Losses"},losses:{short:"L",tooltip:"Losses"},goalFor:{short:"GF",tooltip:"Goals For"},goalAgainst:{short:"GA",tooltip:"Goals Against"},goalDiff:{short:"GD",tooltip:"Goal Differential"},points:{short:"P",tooltip:"Points"},name:{short:"Name",tooltip:"Player name"},goals:{short:"G",tooltip:"Goals"},assists:{short:"A",tooltip:"Assists"},plusMinus:{short:"+/-",tooltip:"Plus/Minus"},sog:{short:"S",tooltip:"Shots on Goal"},so:{short:"SO",tooltip:"Shutouts"},sogPercent:{short:"S%",tooltip:"Shooting percentage"},gameName:{short:"#",tooltip:"Game name"},gameDate:{short:"Date",tooltip:"Scheduled Date"},gameDateTime:{short:"*Time ({offsetName})",tooltip:"Scheduled Time (Offset Name)"},homeTeam:{short:"Home",tooltip:"Home Team"},awayTeam:{short:"Away",tooltip:"Away Team"},location:{short:"Location",tooltip:"Game Location"},broadcast:{short:"Broadcast",tooltip:"Television Broadcast"},minorPenalties:{short:"MINOR",tooltip:"Penalties Minor"},majorPenalties:{short:"MAJOR",tooltip:"Penalties Major"},misconducts:{short:"MISC",tooltip:"Penalties Misconduct"},gameMisconducts:{short:"GA-MI",tooltip:"Penalties Game Misconduct"},matchPenalties:{short:"MATCH",tooltip:"Penalties Match"},pim:{short:"PIM",tooltip:"Penalty Minutes"},pimPerGame:{short:"PIM/G",tooltip:"Penalty Minutes per Game"},gpgk:{short:"GP",tooltip:"Games Played"},gpi:{short:"GPI",tooltip:"Games Played In"},toi:{short:"TOI",tooltip:"Time On Ice"},toiPercent:{short:"TOI%",tooltip:"Time On Ice as Percentage"},ga:{short:"GA",tooltip:"Goals Against"},gaa:{short:"GAA",tooltip:"Goals Against Average"},sa:{short:"SA",tooltip:"Shots Against"},svs:{short:"SVS",tooltip:"Saves"},svsPercent:{short:"SV%",tooltip:"Save Percentage"},homeHeader:{short:"Home:",tooltip:""},awayHeader:{short:"Away:",tooltip:""},totalHeader:{short:"Total:",tooltip:""},homeGame:{short:"GP",tooltip:"Home Games Played"},awayGame:{short:"GP",tooltip:"Away Games Played"},totalGame:{short:"GP",tooltip:"Total Games Played"},homeAttendance:{short:"Att",tooltip:"Home Attendance"},awayAttendance:{short:"Att",tooltip:"Away Attendance"},totalAttendance:{short:"Att",tooltip:"Total Attendance"},homeAttendanceAvg:{short:"Avg",tooltip:"Home Average Attendance"},awayAttendanceAvg:{short:"Avg",tooltip:"Away Average Attendance"},totalAttendanceAvg:{short:"Avg",tooltip:"Total Average Attendance"},powerplayDisadvantages:{short:"DVG",tooltip:"Disadvantages (Number of Times Shorthanded)"},dvgTime:{short:"DVG-T",tooltip:"Disadvantages Time"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Disadvantages Time (Period of PP1)"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Disadvantages Time (Period of PP2)"},ppga:{short:"PPGA",tooltip:"Powerplay Goals Against"},shgf:{short:"SHGF",tooltip:"Shorthanded Goals For"},pkPercent:{short:"PK%",tooltip:"Penalty Killing Percentage"},adv:{short:"ADV",tooltip:"Advantages (Times on Powerplay)"},advTime:{short:"ADV-T",tooltip:"Advantages Time (Period of Powerplay)"},advTimePP1:{short:"ADV-T PP1",tooltip:"Advantages Time (Period of PP1)"},advTimePP2:{short:"ADV-T PP2",tooltip:"Advantages Time (Period of PP2)"},ppgf:{short:"PPGF",tooltip:"Powerplay Goals For"},shga:{short:"SHGA",tooltip:"Shorthanded Goals Against"},ppPercent:{short:"PP%",tooltip:"Powerplay Percentage"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Shots Against per Game"},jerseyNumber:{short:"#",tooltip:"Jersey Number"},row:{short:"Row",tooltip:"Row"},position:{short:"Position",tooltip:"Position"},teamOfficials:{short:"Team officials",tooltip:"Team officials"},score:{short:"Score",tooltip:"Actual Game Score"},opponent:{short:"Opponent",tooltip:"Opponent"},result:{short:"Result",tooltip:"Result"},resultType:{short:"#",tooltip:"Result Type"},atoi:{short:"ATOI",tooltip:"Average Time On Ice"},shf:{short:"SHF",tooltip:"Shifts"},ashf:{short:"ASHF",tooltip:"Average Shifts"},eqToi:{short:"EQ-TOI",tooltip:"Time On Ice in Equal"},pp1Toi:{short:"PP1-TOI",tooltip:"Time On Ice in PowerPlay 1"},pp2Toi:{short:"PP2-TOI",tooltip:"Time On Ice in PowerPlay 2"},sh1Toi:{short:"SH1-TOI",tooltip:"Time On Ice in Shorthanded 1"},sh2Toi:{short:"SH2-TOI",tooltip:"Time On Ice in Shorthanded 2"},eqAToi:{short:"EQ-A-TOI",tooltip:"Average Time On Ice in Equal"},pp1AToi:{short:"PP1-A-TOI",tooltip:"Average Time On Ice in PowerPlay 1"},pp2AToi:{short:"PP2-A-TOI",tooltip:"Average Time On Ice in PowerPlay 2"},sh1AToi:{short:"SH1-A-TOI",tooltip:"Average Time On Ice in Shorthanded 1"},sh2AToi:{short:"SH2-A-TOI",tooltip:"Average Time On Ice in Shorthanded 2"},role:{short:"Role",tooltip:"Role"}},game:{data:{localTime:"Game local time"},status:{jury:"Jury result",delayed:"Game delayed"},period:{wu:"Preparation",pre:"Preparation Ended",p1:"First Period",p1_int:"First Period Ended",p2:"Second Period",p2_int:"Second Period Ended",p3:"Third Period",p3_int:"Third Period Ended",p4:"Fourth Period",p4_int:"Fourth Period Ended",p5:"Fifth Period",p5_int:"Fifth Period Ended",p6:"Sixth Period",p6_int:"Sixth Period Ended",ot:"Overtime",ot_int:"Overtime Ended",so:"Shoot Out",so_int:"Shoot Out Ended",end:"Game Ended",Bemelegítés:"Warm-up","Bemelegítés vége":"Warm-up End","1. harmad":"First period","1. harmad vége":"First period End","2. harmad":"Second period","2. harmad vége":"Second period End","3. harmad":"Third period","3. harmad vége":"Third period End","4. harmad":"IV. period","4. harmad vége":"IV. period End","5. harmad":"V. period","5. harmad vége":"V. period End","6. harmad":"VI. period","6. harmad vége":"VI. period End",Hosszabbítás:"Overtime","Hosszabbítás vége":"Overtime End",Büntetőlövések:"Penalty Shot",Végeredmény:"Game Completed",Szétlövés:"Shoot Out"}}},nd={errors:{"undefined-column":"A(z) {column} oszlop nem létezik!","invalid-season-name":"Érvénytelen szezon név","api-key-not-found":"API Kulcs nem megfelelő",gameData:"Game Data: {0}",gameStats:"Game Stats: {0}",gameEvents:"Game Events: {0}",gameOfficials:"Game Officials: {0}"},common:{loading:"Töltődés...",noData:"Nincs megjeleníthető adat",selectTimezone:"*Minden időpont a számítógép időzónája szerint jelenik meg ({timezone}). Váltás: ",hungary:"Magyarország",romania:"Románia",shootoutShort:"SO",overtimeShort:"OT",all:"Mind",report:"Jegyzőkönyv",video:"Videó",retry:"Újra"},additionalText:{inheritedPoints:{prependix:"A megelőző bajnokság szakaszban elért eredménye alapján",content:"{team} csapata {points}",appendix:"többletponttal rendelkezik."},penaltyPoints:{prependix:"* Fegyelmi Bizottság döntése alapján:",content:"{team} csapatától {points} pont",appendix:"levonva."}},table:{blank:"#",info:"{min} - {max} / {total} db",team:{short:"Csapat",tooltip:"Csapatnév"},game:{short:"GP",tooltip:"Mérkőzésszám"},pper:{short:"PPer",tooltip:"Összes lejátszott játékrész"},wins:{short:"W",tooltip:"Győzelem"},draw:{short:"D",tooltip:"Döntetlen"},otw:{short:"OTW",tooltip:"Győzelem Hosszabbításban"},sow:{short:"SOW",tooltip:"Győzelem Szétlövésben"},sol:{short:"SOL",tooltip:"Vereség Szétlövésben"},otl:{short:"OTL",tooltip:"Vereség Hosszabbításban"},losses:{short:"L",tooltip:"Vereség"},goalFor:{short:"GF",tooltip:"Szerzett Gól"},goalAgainst:{short:"GA",tooltip:"Kapott Gól"},goalDiff:{short:"GD",tooltip:"Gólkülönbség"},name:{short:"Név",tooltip:"Játékosnév"},goals:{short:"G",tooltip:"Gólok"},assists:{short:"A",tooltip:"Gólpasszok"},points:{short:"P",tooltip:"Pontok"},plusMinus:{short:"+/-",tooltip:"Plussz/Minusz"},sog:{short:"S",tooltip:"Lövések"},so:{short:"SO",tooltip:"Kapott gól nélküli mérkőzések"},sogPercent:{short:"S%",tooltip:"Lövés Hatékonyság"},gameName:{short:"#",tooltip:"Mérkőzés Sorszáma"},gameDate:{short:"Dátum",tooltip:"Mérkőzés Dátuma"},gameDateTime:{short:"*Idő ({offsetName})",tooltip:"Mérkőzés kezdési ideje (Zóna neve)"},homeTeam:{short:"Hazai",tooltip:"Hazai Csapat"},awayTeam:{short:"Vendég",tooltip:"Vendég Csapat"},location:{short:"Helyszín",tooltip:"Mérkőzés Helyszíne"},broadcast:{short:"TV",tooltip:"TV Közvetítés"},minorPenalties:{short:"MINOR",tooltip:"Kisbüntetés (2p)"},majorPenalties:{short:"MAJOR",tooltip:"Büntetés (5p)"},misconducts:{short:"MISC",tooltip:"Fegyelmi büntetés (10p)"},gameMisconducts:{short:"GA-MI",tooltip:"Fegyelmi büntetés (20p)"},matchPenalties:{short:"MATCH",tooltip:"Végleges kiállítások (25p)"},pim:{short:"BÜP",tooltip:"Büntetés Percek"},pimPerGame:{short:"BÜP/M",tooltip:"Mérkőzésenkénti Büntetés Percek"},gpgk:{short:"GP",tooltip:"Mérkőzésre Nevezve"},gpi:{short:"GPI",tooltip:"Mérkőzésen Játszott"},toi:{short:"TOI",tooltip:"Jégen Töltött Idő"},toiPercent:{short:"TOI%",tooltip:"Jégen Töltött Idő Százalék"},ga:{short:"GA",tooltip:"Kapott Gól"},gaa:{short:"GAA",tooltip:"Kapott Gólátlag"},sa:{short:"SA",tooltip:"Kapott Lövés"},svs:{short:"SVS",tooltip:"Védett Lövés"},svsPercent:{short:"VH%",tooltip:"Védés Hatékonyság"},homeHeader:{short:"Hazai:",tooltip:""},awayHeader:{short:"Vendég:",tooltip:""},totalHeader:{short:"Összes:",tooltip:""},homeGame:{short:"M",tooltip:"Hazai Mérkőzés"},awayGame:{short:"M",tooltip:"Vendég Mérkőzés"},totalGame:{short:"M",tooltip:"Összes Mérkőzés"},homeAttendance:{short:"Nézőszám",tooltip:"Hazai Néző"},awayAttendance:{short:"Nézőszám",tooltip:"Vendég Néző"},totalAttendance:{short:"Nézőszám",tooltip:"Összes Néző"},homeAttendanceAvg:{short:"Átlag",tooltip:"Hazi Néző Átlag"},awayAttendanceAvg:{short:"Átlag",tooltip:"Vendég Néző Átlag"},totalAttendanceAvg:{short:"Átlag",tooltip:"Összes Néző Átlag"},powerplayDisadvantages:{short:"DVG",tooltip:"Emberhátrányok"},dvgTime:{short:"DVG-T",tooltip:"Emberhátrányban Töltött Idő"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Szimpla emberhátrányban töltött idő"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Kettős emberhátrányban töltött idő"},ppga:{short:"PPGA",tooltip:"Emberhátrányban kapott gólok"},shgf:{short:"SHGF",tooltip:"Emberhátrányban szerzett gól"},pkPercent:{short:"PK%",tooltip:"Emberhátrány kivédekezés"},adv:{short:"ADV",tooltip:"Emberelőnyök száma"},advTime:{short:"ADV-T",tooltip:"Emberelőnyben töltött idő"},advTimePP1:{short:"ADV-T PP1",tooltip:"Szimpla emberelőnyben töltött idő"},advTimePP2:{short:"ADV-T PP2",tooltip:"Kettős emberelőnyben töltött idő"},ppgf:{short:"PPGF",tooltip:"Emberelőnyben szerzett gólok"},shga:{short:"SHGA",tooltip:"Emberelőnyben kapott gólok"},ppPercent:{short:"PP%",tooltip:"Emberelőny kihasználás"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Átlagos kapott lövésszám"},jerseyNumber:{short:"#",tooltip:"Mezszám"},row:{short:"Sor",tooltip:"Sor"},position:{short:"Po",tooltip:"Poszt"},teamOfficials:{short:"Hivatalos Személyek",tooltip:"Hivatalos Személyek"},score:{short:"Eredmény",tooltip:"Aktuális eredmény"},opponent:{short:"Ellenfél",tooltip:"Ellenfél"},result:{short:"Eredmény",tooltip:"Végeredmény"},resultType:{short:"#",tooltip:"Végeredmény típusa"},atoi:{short:"ATOI",tooltip:"Átlagos jégen töltött idő"},shf:{short:"SHF",tooltip:"Jégre lépések száma"},ashf:{short:"ASHF",tooltip:"Jégre lépések száma átlagosan"},eqToi:{short:"EQ-TOI",tooltip:"Jégen töltött idő azonos létszámban"},pp1Toi:{short:"PP1-TOI",tooltip:"Jégen töltött idő egyszeres emberelőnyben"},pp2Toi:{short:"PP2-TOI",tooltip:"Jégen töltött idő kétszeres emberelőnyben"},sh1Toi:{short:"SH1-TOI",tooltip:"Jégen töltött idő egyszeres emberhátrányban"},sh2Toi:{short:"SH2-TOI",tooltip:"Jégen töltött idő kétszeres emberhátrányban"},eqAToi:{short:"EQ-A-TOI",tooltip:"Átlagos jégen töltött idő azonos létszámban"},pp1AToi:{short:"PP1-A-TOI",tooltip:"Átlagos jégen töltött idő egyszeres emberelőnyben"},pp2AToi:{short:"PP2-A-TOI",tooltip:"Átlagos jégen töltött idő kétszeres emberelőnyben"},sh1AToi:{short:"SH1-A-TOI",tooltip:"Átlagos jégen töltött idő egyszeres emberhátrányban"},sh2AToi:{short:"SH2-A-TOI",tooltip:"Átlagos jégen töltött idő kétszeres emberhátrányban"},role:{short:"Szerep",tooltip:"Szerep"}},game:{data:{localTime:"Helyszín szerinti idő"},status:{jury:"Versenybíróság",delayed:"Elhalasztva"},period:{wu:"Bemelegítés",pre:"Bemelegítés vége",p1:"I. játékrész",p1_int:"I. játékrész vége",p2:"II. játékrész",p2_int:"II. játékrész vége",p3:"III. játékrész",p3_int:"III. játékrész vége",p4:"IV. játékrész",p4_int:"IV. játékrész vége",p5:"V. játékrész",p5_int:"V. játékrész vége",p6:"VI. játékrész",p6_int:"VI. játékrész vége",ot:"Hosszabbítás",ot_int:"Hosszabbítás vége",so:"Szétlövés",so_int:"Szétlövés vége",end:"Végeredmény",Bemelegítés:"Bemelegítés","Bemelegítés vége":"Bemelegítés Vége","1. harmad":"I. harmad","1. harmad vége":"I. harmad Vége","2. harmad":"II. harmad","2. harmad vége":"II. harmad Vége","3. harmad":"III. harmad","3. harmad vége":"III. harmad Vége","4. harmad":"IV. harmad","4. harmad vége":"IV. harmad Vége","5. harmad":"V. harmad","5. harmad vége":"V. harmad Vége","6. harmad":"VI. harmad","6. harmad vége":"VI. harmad Vége",Hosszabbítás:"Hosszabbítás","Hosszabbítás vége":"Hosszabbítás vége",Büntetők:"Szétlövés","Büntetők vége":"Szétlövés vége",Végeredmény:"Végeredmény",Szétlövés:"Szétlövés"}}},rd=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},od=r.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=gr({hu:nd,en:ed},t.messages),{translate:n}=_r({locale:r.computed(()=>t.locale),messages:e});return{translate:n}}});function ad(t,e,n,o,a,i){return r.renderSlot(t.$slots,"default",{t:t.translate})}const id=rd(od,[["render",ad]]),sd=["src","width","height"],ld=["src","title","width","height"],xt=Object.assign({inheritAttrs:!1},{__name:"Image",props:{src:{type:String,default:""},title:{type:String,default:""},defaultSrc:{type:String,default:""},width:{type:Number,default:void 0},height:{type:Number,default:void 0}},setup(t){const e=t,{defaultSrc:n}=r.toRefs(e),o=r.ref({src:e.src}),{error:a,isReady:i}=Ui(o,{resetOnExecute:!1,shallow:!1});return(s,l)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.unref(a)&&r.unref(n)?(r.openBlock(),r.createElementBlock("img",{key:0,src:r.unref(n),class:r.normalizeClass(["is-loaded is-default",[s.$attrs.class]]),style:r.normalizeStyle([s.$attrs.style]),width:t.width,height:t.height},null,14,sd)):r.createCommentVNode("",!0),r.unref(a)?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("img",{key:1,src:o.value.src,title:e.title,class:r.normalizeClass([s.$attrs.class,{"is-loaded":r.unref(i)}]),style:r.normalizeStyle([s.$attrs.style]),width:t.width,height:t.height,loading:"lazy"},null,14,ld))],64))}}),cd={class:"loading-indicator"},xn={__name:"LoadingIndicator",setup(t){const{t:e}=lt();return(n,o)=>(r.openBlock(),r.createElementBlock("div",cd,r.toDisplayString(r.unref(e)("common.loading")),1))}},ud={key:0,class:"paginator"},dd=["disabled"],fd=["disabled"],md={key:1,class:"is-disabled"},pd=["disabled","onClick"],hd={key:2,class:"is-disabled"},gd=["disabled"],yd=["disabled"],bd={__name:"Paginator",props:{page:{type:Number,required:!1,default:0,validator:t=>t>=0},itemsPerPage:{type:Number,required:!1,default:10,validator:t=>t>0},totalItems:{type:Number,required:!0,validator:t=>t>=0},rangeLength:{type:Number,default:3,validator:t=>t>=2},isCompact:{type:Boolean,default:!1}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,{page:a,pageCount:i,range:s,goTo:l,pageStep:u}=Xs({currentPage:r.computed(()=>n.page),totalItems:r.computed(()=>n.totalItems),itemsPerPage:n.itemsPerPage,rangeLength:n.rangeLength,update:c=>o("change",c)});return(c,d)=>r.unref(i)>1?(r.openBlock(),r.createElementBlock("div",ud,[r.createElementVNode("button",{type:"button",disabled:r.unref(a)===1,onClick:d[0]||(d[0]=f=>r.unref(u)(-1))},[r.renderSlot(c.$slots,"prev",{},()=>[r.createVNode(r.unref(hl),{class:"icon paginator-left"})])],8,dd),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("button",{key:0,type:"button",disabled:r.unref(a)===1,onClick:d[1]||(d[1]=f=>r.unref(l)(1))}," 1 ",8,fd)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",md," ... ")),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(s),f=>(r.openBlock(),r.createElementBlock("button",{key:f,type:"button",class:r.normalizeClass({"is-active":f===r.unref(a)}),disabled:f===r.unref(a),onClick:y=>r.unref(l)(f)},r.toDisplayString(f),11,pd))),128)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",hd,[...d[4]||(d[4]=[r.createElementVNode("span",null,"...",-1)])])),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("button",{key:3,type:"button",disabled:r.unref(a)===r.unref(i),onClick:d[2]||(d[2]=f=>r.unref(l)(r.unref(i)))},r.toDisplayString(r.unref(i)),9,gd)),r.createElementVNode("button",{type:"button",disabled:r.unref(a)===r.unref(i),onClick:d[3]||(d[3]=r.withModifiers(f=>r.unref(u)(1),["prevent"]))},[r.renderSlot(c.$slots,"next",{},()=>[r.createVNode(r.unref(wl),{class:"icon paginator-left"})])],8,yd)])):r.createCommentVNode("",!0)}},$n={__name:"ResponsiveTable",setup(t){const e=r.ref(null);return(n,o)=>(r.openBlock(),r.createElementBlock("div",{ref_key:"el",ref:e,class:"table-responsive"},[r.renderSlot(n.$slots,"default",{el:e.value})],512))}},Sd={class:"is-team-name-long"},Td={class:"is-team-name-short"},wd={class:"is-team-name-long"},Od={class:"is-team-name-short"},Ad={key:0,class:"text-highlighted"},vd=["href","target"],_d={key:0,class:"badge"},kd={key:1,class:"badge"},Pd={key:2,class:"badge"},Ed={key:1},Nd=["data-state","onClick","onKeydown"],xd={class:"list"},$d=["href","target"],Md={class:"start"},Cd={class:"text"},Dd={key:0},Ld=["href"],Id={class:"start"},Bd={class:"text"},Rd={__name:"ScheduleTable",props:{rows:{type:Array,default:()=>[]},isLoading:{type:Boolean,deafult:!1},hideColumns:{type:String,default:""},offsetName:{type:String,default:""},externalGameResolver:{type:Function,required:!0},externalGameResolverTarget:{type:String,default:"_blank"}},setup(t){const e=t,n=r.ref(null),{onError:o}=an(),{columns:a,error:i}=on(Gn,r.computed(()=>e.hideColumns),r.computed(()=>({offsetName:e.offsetName})));zi(i,()=>o(new yn(ne.message,{...ne.options,cause:{column:i.value}})),{immediate:!0});const{t:s}=lt();return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode($n,null,{default:r.withCtx(({el:c})=>[r.createVNode(Nn,{columns:r.unref(a),rows:e.rows,"is-loading":t.isLoading,"append-to":n.value||c},{"cell-homeTeamName":r.withCtx(({row:d})=>[d.homeTeam?(r.openBlock(),r.createElementBlock(r.Fragment,{key:0},[r.createElementVNode("span",Sd,r.toDisplayString(d.homeTeam.longName),1),r.createElementVNode("span",Td,r.toDisplayString(d.homeTeam.shortName),1)],64)):r.createCommentVNode("",!0)]),"cell-awayTeamName":r.withCtx(({row:d})=>[d.awayTeam?(r.openBlock(),r.createElementBlock(r.Fragment,{key:0},[r.createElementVNode("span",wd,r.toDisplayString(d.awayTeam.longName),1),r.createElementVNode("span",Od,r.toDisplayString(d.awayTeam.shortName),1)],64)):r.createCommentVNode("",!0)]),"cell-homeTeamLogo":r.withCtx(({row:d})=>[d.homeTeam?(r.openBlock(),r.createBlock(xt,{key:d.homeTeam.id,class:"is-logo-image",src:d.homeTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-awayTeamLogo":r.withCtx(({row:d})=>[d.awayTeam?(r.openBlock(),r.createBlock(xt,{key:d.awayTeam.id,class:"is-logo-image",src:d.awayTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-gameResult":r.withCtx(({row:d})=>[d.gameStatus===0?(r.openBlock(),r.createElementBlock("span",Ad,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(d.gameId),target:t.externalGameResolverTarget,class:r.normalizeClass({"text-highlighted":d.gameStatus!==1,"is-text-accent":d.gameStatus===1})},r.toDisplayString(d.homeTeamScore)+":"+r.toDisplayString(d.awayTeamScore),11,vd))]),"cell-gameResultType":r.withCtx(({row:d})=>[d.isOvertime?(r.openBlock(),r.createElementBlock("span",_d,r.toDisplayString(r.unref(s)("common.overtimeShort")),1)):r.createCommentVNode("",!0),d.isShootout?(r.openBlock(),r.createElementBlock("span",kd,r.toDisplayString(r.unref(s)("common.shootoutShort")),1)):r.createCommentVNode("",!0),d.seriesStandings?(r.openBlock(),r.createElementBlock("span",Pd,r.toDisplayString(d.seriesStandings),1)):r.createCommentVNode("",!0)]),"cell-broadcast":r.withCtx(({row:d})=>[d.broadcast?(r.openBlock(),r.createBlock(r.unref(fl),{key:0})):(r.openBlock(),r.createElementBlock("span",Ed))]),"cell-location":r.withCtx(({row:d})=>[r.createTextVNode(r.toDisplayString(d.location?.locationName??""),1)]),"cell-more":r.withCtx(({row:d})=>[r.createVNode(En,{offset:2,placement:"left",theme:"content","append-to":c},{default:r.withCtx(({setRef:f,open:y,toggle:h,nextFocus:m})=>[r.createElementVNode("button",{ref:f,type:"button","aria-label":"more","data-state":y?"open":"closed",class:"icon-button",onClick:r.withModifiers(h,["stop","prevent"]),onKeydown:r.withKeys(m,["tab"])},[r.createVNode(r.unref(bl))],40,Nd)]),content:r.withCtx(()=>[r.createElementVNode("ul",xd,[r.createElementVNode("li",null,[r.createElementVNode("a",{href:t.externalGameResolver(d.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[r.createElementVNode("div",Md,[r.createVNode(r.unref(vl))]),r.createElementVNode("div",Cd,r.toDisplayString(r.unref(s)("common.report")),1)],8,$d)]),d.video?(r.openBlock(),r.createElementBlock("li",Dd,[r.createElementVNode("a",{href:d.video,class:"is-dropdown-item",target:"_blank"},[r.createElementVNode("div",Id,[r.createVNode(r.unref(Rl))]),r.createElementVNode("div",Bd,r.toDisplayString(r.unref(s)("common.video")),1)],8,Ld)])):r.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:r.withCtx(()=>[r.createVNode(xn)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),r.createElementVNode("div",{ref_key:"tooltipContainer",ref:n},null,512)],64))}},zd={class:"flex-container mb-md"},Vd=["value"],Gd={key:0,class:"tabs underlined mb-md"},jd=["aria-label"],Fd=["aria-selected","onClick"],Ud={__name:"SeasonSelector",props:{seasons:{type:Array,default:()=>[]},championshipId:{type:Number,default:0},sections:{type:Array,default:()=>[]},sectionId:{type:Number,default:0},isSectionSelectionDisabled:{type:Boolean,default:!1}},emits:["onChangeSeason","onChangeSection"],setup(t,{emit:e}){const n=t,o=e,{t:a}=lt(),i=r.computed({get(){return n.championshipId},set(l){o("onChangeSeason",l)}});function s(l){o("onChangeSection",l)}return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("div",zd,[r.createVNode(Fo,{label:r.unref(a)("selection.season"),name:"season"},{default:r.withCtx(()=>[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,Vd))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"]),r.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("nav",Gd,[r.createElementVNode("div",{role:"tablist","aria-label":r.unref(a)("selection.sections")},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.sections,c=>(r.openBlock(),r.createElementBlock("button",{key:c.phaseId,role:"tab",type:"button","aria-selected":c.phaseName===t.sectionId,onClick:d=>s(c)},r.toDisplayString(c.phaseName),9,Fd))),128))],8,jd)]))],64))}},Hd={class:"avatar"},Yd=["href"],Wd={class:"is-team-name-long"},qd={class:"is-team-name-short"},Kd={class:"is-team-name-long"},Zd={key:0},Jd={class:"is-team-name-short"},Xd={key:0},Qd={class:"is-team-name-long"},tf={class:"is-team-name-short"},ef={class:"is-team-name-long"},nf={class:"is-team-name-short"},rf=["href"],of={key:0,class:"text-highlighted"},af=["href","target"],sf={key:0,class:"badge"},lf={key:1,class:"badge"},cf={key:2,class:"badge"},uf={__name:"StatisticsTable",props:{columns:{type:Object,required:!0},rows:{type:Array,default:()=>[]},isLoading:{type:Boolean,deafult:!1},hideColumns:{type:String,default:""},sort:{type:Object,default:()=>({})},externalTeamResolver:{type:Function,required:!0},externalPlayerResolver:{type:Function,default:()=>{}},externalGameResolver:{type:Function,default:()=>{}},externalGameResolverTarget:{type:String,default:"_self"},isTeamLinked:{type:Boolean,default:!1},isPlayerLinked:{type:Boolean,default:!1},appendTo:{type:[Object,String],default:null},offsetName:{type:String,default:""}},emits:["sort"],setup(t,{emit:e}){const n=t,o=e,{columns:a,hideColumns:i}=r.toRefs(n),{onError:s}=an(),{t:l}=lt(),{columns:u,error:c}=on(a,i,r.computed(()=>({offsetName:n.offsetName})));c.value&&s(new yn(ne.message,{...ne.options,cause:{column:c.value}}));const d=f=>o("sort",f);return(f,y)=>(r.openBlock(),r.createBlock($n,null,{default:r.withCtx(({el:h})=>[r.createVNode(Nn,{columns:r.unref(u),sort:n.sort,rows:n.rows,"is-loading":t.isLoading,"append-to":t.appendTo||h,onSort:d},r.createSlots({"cell-index":r.withCtx(({row:m})=>[r.createElementVNode("span",{class:r.normalizeClass(m.indexClass)},r.toDisplayString(m.index),3)]),"cell-playerPortrait":r.withCtx(({row:m})=>[r.createElementVNode("div",Hd,[(r.openBlock(),r.createBlock(xt,{key:m.player.playerId,src:m.player.picture,"default-src":r.unref(Cn)},null,8,["src","default-src"]))])]),"cell-teamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(xt,{key:m.team?.id??m.id,class:"is-logo-image",src:m.team?.logo},null,8,["src"]))]),"cell-homeTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(xt,{key:m.homeTeam?.id,class:"is-logo-image is-right",src:m.homeTeam?.logo},null,8,["src"]))]),"cell-awayTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(xt,{key:m.awayTeam?.id,class:"is-logo-image is-right",src:m.awayTeam?.logo},null,8,["src"]))]),"cell-teamName":r.withCtx(({row:m})=>[t.isTeamLinked?(r.openBlock(),r.createElementBlock("a",{key:0,href:t.externalTeamResolver(m),target:"_blank"},[r.createElementVNode("span",Wd,r.toDisplayString(m.team?.longName),1),r.createElementVNode("span",qd,r.toDisplayString(m.team?.shortName),1)],8,Yd)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createElementVNode("span",Kd,[r.createTextVNode(r.toDisplayString(m.team?.longName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Zd,[...y[0]||(y[0]=[r.createElementVNode("sup",null,"*",-1)])])):r.createCommentVNode("",!0)]),r.createElementVNode("span",Jd,[r.createTextVNode(r.toDisplayString(m.team?.shortName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Xd,[...y[1]||(y[1]=[r.createElementVNode("sup",null,"*",-1)])])):r.createCommentVNode("",!0)])],64))]),"cell-homeTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",Qd,r.toDisplayString(m.homeTeam?.longName),1),r.createElementVNode("span",tf,r.toDisplayString(m.homeTeam?.shortName),1)]),"cell-awayTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",ef,r.toDisplayString(m.awayTeam?.longName),1),r.createElementVNode("span",nf,r.toDisplayString(m.awayTeam?.shortName),1)]),"cell-location":r.withCtx(({row:m})=>[r.createTextVNode(r.toDisplayString(m.location?.locationName??""),1)]),"cell-gameResult":r.withCtx(({row:m})=>[m.gameStatus===0?(r.openBlock(),r.createElementBlock("span",of,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(m),target:t.externalGameResolverTarget,class:r.normalizeClass({"text-highlighted":m.gameStatus!==1,"is-text-accent":m.gameStatus===1})},r.toDisplayString(m.homeTeamScore)+":"+r.toDisplayString(m.awayTeamScore),11,af))]),"cell-gameResultType":r.withCtx(({row:m})=>[m.isOvertime?(r.openBlock(),r.createElementBlock("span",sf,r.toDisplayString(r.unref(l)("common.overtimeShort")),1)):r.createCommentVNode("",!0),m.isShootout?(r.openBlock(),r.createElementBlock("span",lf,r.toDisplayString(r.unref(l)("common.shootoutShort")),1)):r.createCommentVNode("",!0),m.seriesStandings?(r.openBlock(),r.createElementBlock("span",cf,r.toDisplayString(m.seriesStandings),1)):r.createCommentVNode("",!0)]),loading:r.withCtx(()=>[r.createVNode(xn)]),_:2},[t.isPlayerLinked?{name:"cell-name",fn:r.withCtx(({row:m})=>[r.createElementVNode("a",{href:t.externalPlayerResolver(m),target:"_blank"},r.toDisplayString(m.name),9,rf)]),key:"0"}:void 0,f.$slots.caption?{name:"caption",fn:r.withCtx(()=>[r.renderSlot(f.$slots,"caption")]),key:"1"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:3}))}},df={class:"timezone-selector"},ff=["onClick"],mf={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,{t:a}=lt(),i=r.computed(()=>ee(new Date,null,n.locale)),s=eo(),l=r.computed(()=>Array.from(zn.values()).map(c=>({...c,isActive:ee(new Date,n.currentZone,n.locale)===ee(new Date,c.timezone,n.locale),zoneOffsetName:ee(new Date,c.timezone,n.locale)}))),u=c=>o("change",c);return(c,d)=>(r.openBlock(),r.createElementBlock("div",df,[r.createVNode(r.unref(Pr),{path:"common.selectTimezone",tag:"span"},{timezone:r.withCtx(()=>[r.createElementVNode("a",{href:"#",onClick:d[0]||(d[0]=r.withModifiers(f=>u(r.unref(s)),["prevent"]))},r.toDisplayString(i.value),1)]),_:1}),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(l.value,f=>(r.openBlock(),r.createElementBlock("a",{key:f.countryLabelKey,href:"#",class:r.normalizeClass({"is-active":f.isActive}),onClick:r.withModifiers(y=>u(f.timezone),["prevent"])},r.toDisplayString(r.unref(a)(`common.${f.countryLabelKey}`))+" ("+r.toDisplayString(f.zoneOffsetName)+") ",11,ff))),128))]))}},pf={locale:{type:String,default:"hu"},championshipId:{type:String,default:""},division:{type:String,default:""},phaseId:{type:String,default:""},apiKey:{type:String,default:""},hideColumns:{type:String,default:""}},hf={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},gf={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},yf={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}};function Uo({app:t=null,modules:e=[],apiKey:n,gameResolver:o,teamResolver:a,playerResolver:i}){if(window.__MJSZ_VBR_WIDGET__={apiKey:n,gameResolver:o,teamResolver:a,playerResolver:i},e.length===0)throw new Error("At least one module must be set");e.forEach(s=>{if(t)return t.use(s);if(s.register)return s.register();s?.install()})}const bf={install:(t,e={})=>Uo({app:t,...e})};return p.AVAILABLE_TIMEZONES_BY_COUNTRY=zn,p.AdditionalStandingsText=cl,p.BaseSelect=co,p.COLUMNS_FIELD_PLAYERS=Zo,p.COLUMNS_FIELD_PLAYERS_PENALTY=Jo,p.COLUMNS_FIELD_PLAYERS_TOI=Xo,p.COLUMNS_GOALIES=Qo,p.COLUMNS_PLAYERS_NATIONAL=ta,p.COLUMNS_SCHEDULE=Gn,p.COLUMNS_SCORING_EFFICIENCY=aa,p.COLUMNS_STANDINGS_P_2=qo,p.COLUMNS_STANDINGS_P_3=Yo,p.COLUMNS_STANDINGS_P_PER=Wo,p.COLUMNS_STANDINGS_SHORT=Ko,p.COLUMNS_TEAMS_FAIRPLAY=na,p.COLUMNS_TEAMS_PENALTY_KILLING=ra,p.COLUMNS_TEAMS_POWERPLAY=oa,p.COLUMNS_TEAM_ATTENDANCE=ea,p.DEFAULT_EXTERNAL_GAME_URL=Mn,p.DEFAULT_EXTERNAL_PLAYER_URL=Dn,p.DEFAULT_EXTERNAL_STATISTIC_URL=In,p.DEFAULT_EXTERNAL_TEAM_URL=Ln,p.DEFAULT_PORTRAIT_IMAGE_URL=Cn,p.DataTable=Nn,p.ErrorNotice=Ju,p.ErrorProvider=Xu,p.FLAG_BASE_URL=Bn,p.FetchMoreObserver=ma,p.FloatingPanel=En,p.FormField=Fo,p.I18NProvider=id,p.Image=xt,p.InvalidSeasonName=Ic,p.LAZY_LOADING_STATE_DELAY=Vn,p.LOCALE_FOR_LANG=Rn,p.LoadingIndicator=xn,p.Paginator=bd,p.REFRESH_DELAY=Ho,p.ResponsiveTable=$n,p.SORT_STATE_ASCEND=D,p.SORT_STATE_DESCEND=b,p.SORT_STATE_ORIGINAL=ft,p.ScheduleTable=Rd,p.SeasonSelector=Ud,p.StatisticsTable=uf,p.TimezoneSelector=mf,p.UndefinedColumn=ne,p.VBR_API_BASE_URL=void 0,p.WidgetError=yn,p.addDays=Ys,p.appendTo=vo,p.baseProps=pf,p.clone=Ha,p.convert=Gl,p.convertAddress=$c,p.convertGameEvents=yc,p.convertGameOfficials=Ac,p.convertGamePeriodResults=Jl,p.convertMinToMinSec=ro,p.convertMinToSec=dn,p.convertPenaltyCauseName=fc,p.convertPeriodResults=mc,p.convertPeriodResultsToArray=pc,p.convertPhaseName=nc,p.convertSeasons=oc,p.convertSecToMin=no,p.convertTeams=ac,p.convertTimes=ql,p.convertTimesMinToMinSec=Kl,p.convertTimesSecToMin=Zl,p.cookie=Dc,p.createConfig=Uo,p.createI18n=_r,p.currentWeek=Fs,p.currentWeekStartEnd=Us,p.default=bf,p.endOfMonth=qs,p.externalGameLinkResolver=Rc,p.externalPlayerLinkResolver=Vc,p.externalStatisticLinkResolver=Gc,p.externalTeamLinkResolver=zc,p.fetchVBRData=Cr,p.filterAllowedClasses=xr,p.filterAndSortSections=ic,p.filterGoalScorersFromEvents=Sc,p.flagResolver=jc,p.format=kt,p.gameDateTime=Fl,p.gameProps=yf,p.gameResult=Ul,p.getLocalTimezone=eo,p.getWebsocketURL=Bc,p.groupLines=bc,p.head=Qe,p.i18n=Pr,p.isAfter=Gs,p.isBefore=Vs,p.isBetween=oo,p.isEmpty=Kt,p.isNotEmpty=ui,p.isSame=Rs,p.isSameOrBefore=fn,p.isToday=js,p.joinOfficals=gc,p.last=ur,p.localeSort=gn,p.map=K,p.max=Zs,p.mergeLeft=yr,p.mergePlayerStats=Nc,p.min=Ks,p.offsetName=ee,p.omit=tn,p.path=bt,p.pick=en,p.pickCoaches=Tc,p.pipe=It,p.playerName=Bt,p.playerStatsProps=gf,p.prop=j,p.propEq=Zt,p.rawConvert=jl,p.reject=mt,p.removeCurrentFromSeasonStats=_c,p.removeUnneededPhases=Pc,p.resolveApiKey=Fc,p.reverse=Wt,p.scheduleOptionalRowClass=Wl,p.scrollToTop=Uc,p.selectFirstPhaseName=lc,p.selectFirstSectionId=sc,p.selectLastSections=dc,p.sortBy=St,p.sortByDomNode=Lc,p.sortByEventTimeSec=Oc,p.sortByPhaseId=cc,p.sortByStartingFive=hc,p.sortGames=Xl,p.standingTableSort=vc,p.startOfMonth=Ws,p.subtractDays=Hs,p.sum=fi,p.teamName=hn,p.teamOpponent=Hl,p.teamResultType=Yl,p.teamStatsProps=hf,p.templateReplacer=ht,p.toKebabCase=Nr,p.transformCurrentSeasonStats=kc,p.transformEventsForGameTimeline=wc,p.transformFieledPlayersStats=xc,p.transformPlayers=uc,p.transformRosters=Ec,p.upperCase=Oo,p.useAdditionalText=Ar,p.useColumns=on,p.useError=an,p.useErrorProvider=Mr,p.useGameDataSocket=Yi,p.useI18n=lt,p.useLazyLoadingState=Gr,p.usePage=Js,p.useScrollToGameDate=Qs,p.useServices=tl,p.useSort=il,p.useVisibilityChange=sl,p.validateColumnsName=Er,p.yearToNow=zs,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),p}({},Vue);
|
|
22
|
+
***************************************************************************** */function mn(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var o,a,i=n.call(t),s=[];try{for(;(e===void 0||e-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s}var io;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(io||(io={}));var nl={type:"xstate.init"};function Ce(t){return t===void 0?[]:[].concat(t)}function so(t,e){return typeof(t=typeof t=="string"&&e&&e[t]?e[t]:t)=="string"?{type:t}:typeof t=="function"?{type:t.name,exec:t}:t}function pn(t){return function(e){return t===e}}function rl(t){return typeof t=="string"?{type:t}:t}function lo(t,e){return{value:t,context:e,actions:[],changed:!1,matches:pn(t)}}function co(t,e,n){var o=e,a=!1;return[t.filter(function(i){if(i.type==="xstate.assign"){a=!0;var s=Object.assign({},o);return typeof i.assignment=="function"?s=i.assignment(o,n):Object.keys(i.assignment).forEach(function(l){s[l]=typeof i.assignment[l]=="function"?i.assignment[l](o,n):i.assignment[l]}),o=s,!1}return!0}),o,a]}function ol(t,e){e===void 0&&(e={});var n=mn(co(Ce(t.states[t.initial].entry).map(function(s){return so(s,e.actions)}),t.context,nl),2),o=n[0],a=n[1],i={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:pn(t.initial)},transition:function(s,l){var u,c,d=typeof s=="string"?{value:s,context:t.context}:s,f=d.value,y=d.context,h=rl(l),m=t.states[f];if(m.on){var S=Ce(m.on[h.type]);"*"in m.on&&S.push.apply(S,function(_,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 _.concat($||Array.prototype.slice.call(A))}([],mn(Ce(m.on["*"])),!1));try{for(var g=function(_){var A=typeof Symbol=="function"&&Symbol.iterator,x=A&&_[A],$=0;if(x)return x.call(_);if(_&&typeof _.length=="number")return{next:function(){return _&&$>=_.length&&(_=void 0),{value:_&&_[$++],done:!_}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}(S),T=g.next();!T.done;T=g.next()){var w=T.value;if(w===void 0)return lo(f,y);var k=typeof w=="string"?{target:w}:w,E=k.target,N=k.actions,L=N===void 0?[]:N,B=k.cond,F=B===void 0?function(){return!0}:B,U=E===void 0,C=E??f,M=t.states[C];if(F(y,h)){var R=mn(co((U?Ce(L):[].concat(m.exit,L,M.entry).filter(function(_){return _})).map(function(_){return so(_,i._options.actions)}),y,h),3),Y=R[0],P=R[1],v=R[2],O=E??f;return{value:O,context:P,actions:Y,changed:E!==f||Y.length>0||v,matches:pn(O)}}}}catch(_){u={error:_}}finally{try{T&&!T.done&&(c=g.return)&&c.call(g)}finally{if(u)throw u.error}}}return lo(f,y)}};return i}const al=ol({id:"sort",initial:ft,states:{[ft]:{on:{DIRECTION1:b,DIRECTION2:D}},[b]:{on:{DIRECTION1:D,DIRECTION2:ft}},[D]:{on:{DIRECTION1:ft,DIRECTION2:b}}}});function il(t,e){const n=e===D?"DIRECTION2":"DIRECTION1";return al.transition(t,n).value}function sl(t={}){const{sortTarget:e=null,orders:n=[]}=t,o=r.reactive({sortTarget:e,orders:n});return{sort:o,change:({target:i,orders:s})=>{if(o.sortTarget!==i){o.sortTarget=i,o.orders=s;return}const l=s.map((u,c)=>({...u,direction:il(o.orders[c].direction,u.direction)}));o.sortTarget=i,o.orders=l}}}function ll(t=!1,e=tt,n=tt){const o=Fi();r.watch(o,a=>{if(r.unref(t)){if(a==="visible")return e();n()}})}const cl=["textContent"],ul={__name:"AdditionalStandingsText",props:{rows:{type:Array,default:()=>[]},additionalKey:{type:String,required:!0}},setup(t){const e=t,n=r.toRef(e,"rows"),{t:o,locale:a}=lt(),{isVisible:i,text:s}=_r(n,e.additionalKey,o,a);return(l,u)=>r.unref(i)?(r.openBlock(),r.createElementBlock("div",{key:0,textContent:r.toDisplayString(r.unref(s))},null,8,cl)):r.createCommentVNode("",!0)}},uo={__name:"BaseSelect",props:{modelValue:{type:[String,Number],default:null}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=e,a=r.computed({get:()=>n.modelValue,set:i=>o("update:modelValue",i)});return(i,s)=>r.withDirectives((r.openBlock(),r.createElementBlock("select",{"onUpdate:modelValue":s[0]||(s[0]=l=>a.value=l),class:"base-input is-select"},[r.renderSlot(i.$slots,"default")],512)),[[r.vModelSelect,a.value]])}},dl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function fo(t,e){return r.openBlock(),r.createElementBlock("svg",dl,[...e[0]||(e[0]=[r.createElementVNode("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"},null,-1),r.createElementVNode("line",{x1:"8",y1:"21",x2:"16",y2:"21"},null,-1),r.createElementVNode("line",{x1:"12",y1:"17",x2:"12",y2:"21"},null,-1)])])}const fl={render:fo},ml=Object.freeze(Object.defineProperty({__proto__:null,default:fl,render:fo},Symbol.toStringTag,{value:"Module"})),pl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function mo(t,e){return r.openBlock(),r.createElementBlock("svg",pl,[...e[0]||(e[0]=[r.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1)])])}const hl={render:mo},gl=Object.freeze(Object.defineProperty({__proto__:null,default:hl,render:mo},Symbol.toStringTag,{value:"Module"})),yl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function po(t,e){return r.openBlock(),r.createElementBlock("svg",yl,[...e[0]||(e[0]=[r.createElementVNode("circle",{cx:"12",cy:"12",r:"1"},null,-1),r.createElementVNode("circle",{cx:"12",cy:"5",r:"1"},null,-1),r.createElementVNode("circle",{cx:"12",cy:"19",r:"1"},null,-1)])])}const bl={render:po},Sl=Object.freeze(Object.defineProperty({__proto__:null,default:bl,render:po},Symbol.toStringTag,{value:"Module"})),Tl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function ho(t,e){return r.openBlock(),r.createElementBlock("svg",Tl,[...e[0]||(e[0]=[r.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1)])])}const wl={render:ho},Ol=Object.freeze(Object.defineProperty({__proto__:null,default:wl,render:ho},Symbol.toStringTag,{value:"Module"})),Al={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function go(t,e){return r.openBlock(),r.createElementBlock("svg",Al,[...e[0]||(e[0]=[r.createElementVNode("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"},null,-1),r.createElementVNode("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"},null,-1)])])}const _l={render:go},vl=Object.freeze(Object.defineProperty({__proto__:null,default:_l,render:go},Symbol.toStringTag,{value:"Module"})),kl={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"sort",class:"svg-inline--fa fa-sort fa-w-10",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"};function yo(t,e){return r.openBlock(),r.createElementBlock("svg",kl,[...e[0]||(e[0]=[r.createElementVNode("path",{fill:"currentColor",d:"M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z"},null,-1)])])}const Pl={render:yo},bo=Object.freeze(Object.defineProperty({__proto__:null,default:Pl,render:yo},Symbol.toStringTag,{value:"Module"})),El={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"sort-down",class:"svg-inline--fa fa-sort-down fa-w-10",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"};function So(t,e){return r.openBlock(),r.createElementBlock("svg",El,[...e[0]||(e[0]=[r.createElementVNode("path",{fill:"currentColor",d:"M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z"},null,-1)])])}const Nl={render:So},xl=Object.freeze(Object.defineProperty({__proto__:null,default:Nl,render:So},Symbol.toStringTag,{value:"Module"})),$l={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"sort-up",class:"svg-inline--fa fa-sort-up fa-w-10",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"};function To(t,e){return r.openBlock(),r.createElementBlock("svg",$l,[...e[0]||(e[0]=[r.createElementVNode("path",{fill:"currentColor",d:"M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z"},null,-1)])])}const Ml={render:To},Cl=Object.freeze(Object.defineProperty({__proto__:null,default:Ml,render:To},Symbol.toStringTag,{value:"Module"})),Dl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function wo(t,e){return r.openBlock(),r.createElementBlock("svg",Dl,[...e[0]||(e[0]=[r.createElementVNode("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"},null,-1),r.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),r.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1)])])}const Ll={render:wo},Il=Object.freeze(Object.defineProperty({__proto__:null,default:Ll,render:wo},Symbol.toStringTag,{value:"Module"})),Bl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function Oo(t,e){return r.openBlock(),r.createElementBlock("svg",Bl,[...e[0]||(e[0]=[r.createElementVNode("path",{d:"M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"},null,-1),r.createElementVNode("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"},null,-1)])])}const Rl={render:Oo},zl=Object.freeze(Object.defineProperty({__proto__:null,default:Rl,render:Oo},Symbol.toStringTag,{value:"Module"}));let Vl=0;function Gl(){return++Vl}function jl(t=[]){return{result:[...t],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.isFiltered?this.filteredRowsLength:t.length,currentItems:this.currentItems}},filter(e,n=[],o=!1){if(e){const a=n.map(l=>o?It(bt(l),Dt(e)):It(j(l),Ar,si(Ar(e)))),i=lr(l=>l.name?Tr(hr("name"),Se(",",""),l):l),s=Lt(It(i,Ra([...a])),this.result);this.isFiltered=!0,this.filteredRowsLength=s.length,this.result=s}return this},sorted(e){if(!e.sortTarget)return this;if(e.orders[0].direction===ft)return this;const n=ii(Dt(D),ir(Yt),ir(_t));return this.result=Te(e.orders.map(o=>q(n(o.direction),j)(o.target)))(this.result),this},addIndex(e=null){return this.result.reduce((n,o,a)=>{const i=n[n.length-1]||[],s=e&&i[e]===o[e];return o.index=s?i.index:a+1,o.indexClass=s?"is-duplicated":null,n.push(o),n},[]),this},addContinuousIndex(){return this.result=this.result.map((e,n)=>({...e,index:n+1})),this},pagination(e,n){if(!n)return this;e=Number(e),n=Number(n);const o=(e-1)*n,a=o+n;return this.result=this.result.slice(o,a),this},more(e,n){return this.result=this.result.slice(Number(e),Number(n)),this},playerName(){return this.result=this.result.map(e=>({...e,name:oc(e)})),this},teamName(){return this.result=this.result.map(e=>({...e,teamName:e.team.longName})),this},schedule(e="",n="hu"){return this.result=this.result.map(o=>({...o,gameResult:`${o.homeTeamScore}-${o.awayTeamScore}`,gameDateDate:kt(o.gameDate,"L dddd",e,n),gameDateTime:kt(o.gameDate,"HH:mm",e,n)})),this},gameDateFilter(e){return e===null?this:(this.result=this.result.filter(n=>new Date(n.gameDate).getMonth()===e),this)},convertTimes(e=[]){return this.result=this.result.map(n=>(e.map(o=>n[o]?n[`${o}Sec`]=dn(n[o]):n),n)),this},groupByDays(){return this.currentItems=this.result.length,this.result=qt(e=>kt(e.gameDate,"YYYY-MM-DD"))(this.result),this},slice(e=3){return this.result=this.result.slice(0,e),this},reverse(e){return e&&(this.result=[...this.result].reverse()),this}}}const Fl=(t,...e)=>K(q(...e))(t);function Bt(t){return{...t,...t.lastName&&t.firstName&&{name:`${t.lastName} ${t.firstName}`},...t.player?.playerId&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.id&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.nationality&&{name:t.player?.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`},...t.nationality&&{name:t.nationality.includes("hu")?`${t.lastName} ${t.firstName}`:`${t.lastName}, ${t.firstName}`}}}function hn(t){return{...t,...t?.team?.id&&{teamName:t.team.longName}}}function Ul(t="",e="hu"){return n=>({...n,gameDateDate:kt(n.gameDate,"L dddd",t,e),gameDateTime:kt(n.gameDate,"HH:mm",t,e)})}function Hl(t){return e=>({...e,gameResult:ec(e)})}function Yl(t){return{...t,opponent:tc(t)}}function Wl(t){return{...t,resultType:nc(t)}}function ql(t){return{...t,rowClasses:t.optional?"is-optional":""}}function Ao(t=[]){return e=>({...e,[t]:e[t]?.toUpperCase()})}function Kl(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Sec`]=dn(e[n]):e),e)}function Zl(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Min`]=oo(e[n]):e),e)}function Jl(t=[]){return e=>(t.map(n=>e[`${n}Min`]=ro(e[n])),e)}function Xl(t){return{...t,periodResults:t.result?.match(/\(.*?\)/)?.[0]??""}}const Ql=Te([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Yt(j("id")),Yt(j("gameId"))]),gn=nn((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function tc(t){return[t.isHomeGame?null:"@",t.opponent?.shortName].join(" ")}function ec(t){let e=t?.homeTeamScore,n=t?.awayTeamScore;return t.isHomeGame||(e=t?.awayTeamScore,n=t?.homeTeamScore),[e,n].join(":")}function nc(t){const e=t.gameResult.split(":"),n=e[0]>e[1],o=e[0]<e[1];return n&&t.isOvertime?"OTW":n&&t.isShootout?"SOW":n?"W":o&&t.isOvertime?"OTL":o&&t.isShootout?"SOL":o?"L":"D"}function rc(t){return t.map(e=>({phaseId:e.phaseId,phaseName:Object.values({phaseName:e.phaseName,...e.phaseType?.phaseTypeName&&e.phaseType.phaseTypeName!==e.phaseName&&{phaseTypeName:e.phaseType.phaseTypeName},...e.phaseSubType?.phaseSubTypeName&&{phaseSubTypeName:e.phaseSubType.phaseSubTypeName}}).join("-")}))}function oc(t){return t.player?t.player.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`:`${t.lastName} ${t.firstName}`}const ac=q(nn(_t(j("seasonName"))),K(en(["championshipId","seasonName"]))),ic=t=>nn(Yt(j("teamName")),t),sc=q(St(j("sectionId")),mt(q(Kt,j("phases")))),lc=q(j("sectionId"),Qe),cc=q(j("phaseName"),Qe),uc=St(j("phaseId")),dc=q(St(j("name")),K(q(Bt,hn))),fc=q(j("phaseName"),dr),mc=q(bi,Se("_","-")),pc=q(mt(yi(/-:-/)),pt(",")),hc=q(K(pt(":")),K(Xt),pt(","),Se(/^\(|\)$/g,"")),gc=Te([_t(j("startingFive"))]),yc=q(mr(", "),K(t=>`${t.lastName} ${t.firstName}`),mt(t=>!t)),bc=q(qt(j("eventPeriod")),Wt,mt(Zt("Period","type"))),Sc=qt(j("row")),Tc=(t,e)=>Lt(Ba([wr(e,["team","id"]),Zt("Gól","type")]),Wt(t)),wc=q(K(Bt),en(["headCoach","secondCoach"])),Oc=q(Wt,K(t=>({...t,eventId:t.eventId?t.eventId:Gl()}))),Ac=t=>St(j("eventTimeSec"),Object.values(t));function _c(t,e){const n=a=>{const i=["first_referee","second_referee","first_line_judge","second_line_judge"].indexOf(a.role);return i>-1?i:4},o=a=>({...Bt(a),role:e(`role.${a.role}`)});return qt(j("type"),K(o,St(n,Object.values(t))))}const vc=Te([_t(j("points")),Yt(j("gamesPlayed")),_t(j("w")),_t(j("gd")),_t(j("gf"))]),kc=(t,e)=>mt(Zt(t,"championshipId"),e),Pc=(t,e)=>Lt(Zt(t,"championshipId"),e),Ec=q(mt(t=>["Rájátszás","Újrajátszandó"].includes(t.phaseName)),bt([0,"phases"])),Nc=q(qt(Cc),St(t=>["ld","rd","d"].includes(t.position?.toLowerCase())?1:["lw","rw","c"].includes(t.position?.toLowerCase())?2:0),St(Dc),K(q(Bt,hn,Ao(["position"]))));function xc({goalieStats:t,fieldPlayers:e,playersPenalty:n}){const o=K(bt(["player","playerId"]))(t),i=mt(c=>o.includes(c.player.playerId),n),s=li((c,d)=>c.player.playerId===d,n,o),l=_o(e,i),u=_o(t,s);return{fieldPlayers:gn(l),goalies:gn(u)}}const $c=lr((t,e)=>It(Lt(wr(e,["team","id"])),K(Bt))(t));function Mc(t){const e=t.city?Tr(hr("city"),Se(/$/,",")):()=>({});return q(mr(" "),sr,e,tn(["type"]))(t)}function Cc(t){return["ld","rd"].includes(t.position?.toLowerCase())?"defenders":["lw","rw","c"].includes(t.position?.toLowerCase())?"forwards":"goalies"}function Dc(t){return Number(t.jerseyNr)}function _o(t,e){return sr(hi(br,fr(bt(["player","playerId"]),t),fr(bt(["player","playerId"]),e)))}const Lc={setCookie(t,e,n){const o=new Date;o.setTime(o.getTime()+n*60*60*1e3);const a=`expires=${o.toUTCString()}`;document.cookie=`${t}=${e};${a};path=/`},getCookie(t){const e=`${t}=`,n=document.cookie.split(";");for(let o=0;o<n.length;o++){let a=n[o];for(;a.charAt(0)===" ";)a=a.substring(1);if(a.indexOf(e)===0)return a.substring(e.length,a.length)}return""},checkCookie(t){return this.getCookie(t)!==""}};function vo(t,e="body"){if(!t)return;if(typeof e!="string"){e?.append(t);return}document.querySelector(e)?.append(t)}function Ic(t,e=()=>({})){return t.slice().sort((n,o)=>{const a=e(n),i=e(o);if(a===null||i===null)return 0;const s=a.compareDocumentPosition(i);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}class yn extends Error{constructor(e,n={}){const{key:o,cause:a}=n;super(e),this.name="WidgetError",this.key=o,this.cause=a}}const ne={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},Bc={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}};function Rc(t){return`${t}`}const re=(t="")=>window?.__MJSZ_VBR_WIDGET__?.[t];function zc(t,e={}){if(e.externalGameUrl)return e.externalGameUrl;const n=re("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(ht(n||Cn,e))}function Vc(t,e={}){const n=re("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(ht(n||In,e))}function Gc(t,e={}){const n=re("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(ht(n||Ln,e))}function jc(t,e={}){return typeof t=="function"?t(e):encodeURI(ht(t||Bn,e))}const Fc=(t,e="1x1")=>`${Rn}/flag:${t}-${e}.svg`;function Uc(t){return t||(re("apiKey")?re("apiKey"):"")}function Hc(){window.scrollTo(0,0)}const Rt=Math.min,Pt=Math.max,De=Math.round,Le=Math.floor,ct=t=>({x:t,y:t}),Yc={left:"right",right:"left",bottom:"top",top:"bottom"},Wc={start:"end",end:"start"};function bn(t,e,n){return Pt(t,Rt(e,n))}function oe(t,e){return typeof t=="function"?t(e):t}function Et(t){return t.split("-")[0]}function ae(t){return t.split("-")[1]}function ko(t){return t==="x"?"y":"x"}function Sn(t){return t==="y"?"height":"width"}const qc=new Set(["top","bottom"]);function Tt(t){return qc.has(Et(t))?"y":"x"}function Tn(t){return ko(Tt(t))}function Kc(t,e,n){n===void 0&&(n=!1);const o=ae(t),a=Tn(t),i=Sn(a);let s=a==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Ie(s)),[s,Ie(s)]}function Zc(t){const e=Ie(t);return[wn(t),e,wn(e)]}function wn(t){return t.replace(/start|end/g,e=>Wc[e])}const Po=["left","right"],Eo=["right","left"],Jc=["top","bottom"],Xc=["bottom","top"];function Qc(t,e,n){switch(t){case"top":case"bottom":return n?e?Eo:Po:e?Po:Eo;case"left":case"right":return e?Jc:Xc;default:return[]}}function tu(t,e,n,o){const a=ae(t);let i=Qc(Et(t),n==="start",o);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(wn)))),i}function Ie(t){return t.replace(/left|right|bottom|top/g,e=>Yc[e])}function eu(t){return{top:0,right:0,bottom:0,left:0,...t}}function No(t){return typeof t!="number"?eu(t):{top:t,right:t,bottom:t,left:t}}function Be(t){const{x:e,y:n,width:o,height:a}=t;return{width:o,height:a,top:n,left:e,right:e+o,bottom:n+a,x:e,y:n}}function xo(t,e,n){let{reference:o,floating:a}=t;const i=Tt(e),s=Tn(e),l=Sn(s),u=Et(e),c=i==="y",d=o.x+o.width/2-a.width/2,f=o.y+o.height/2-a.height/2,y=o[l]/2-a[l]/2;let h;switch(u){case"top":h={x:d,y:o.y-a.height};break;case"bottom":h={x:d,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-a.width,y:f};break;default:h={x:o.x,y:o.y}}switch(ae(e)){case"start":h[s]-=y*(n&&c?-1:1);break;case"end":h[s]+=y*(n&&c?-1:1);break}return h}const nu=async(t,e,n)=>{const{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:d,y:f}=xo(c,o,u),y=o,h={},m=0;for(let S=0;S<l.length;S++){const{name:g,fn:T}=l[S],{x:w,y:k,data:E,reset:N}=await T({x:d,y:f,initialPlacement:o,placement:y,strategy:a,middlewareData:h,rects:c,platform:s,elements:{reference:t,floating:e}});d=w??d,f=k??f,h={...h,[g]:{...h[g],...E}},N&&m<=50&&(m++,typeof N=="object"&&(N.placement&&(y=N.placement),N.rects&&(c=N.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):N.rects),{x:d,y:f}=xo(c,y,u)),S=-1)}return{x:d,y:f,placement:y,strategy:a,middlewareData:h}};async function $o(t,e){var n;e===void 0&&(e={});const{x:o,y:a,platform:i,rects:s,elements:l,strategy:u}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:y=!1,padding:h=0}=oe(e,t),m=No(h),g=l[y?f==="floating"?"reference":"floating":f],T=Be(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),w=f==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),E=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},N=Be(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:k,strategy:u}):w);return{top:(T.top-N.top+m.top)/E.y,bottom:(N.bottom-T.bottom+m.bottom)/E.y,left:(T.left-N.left+m.left)/E.x,right:(N.right-T.right+m.right)/E.x}}const ru=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:a,rects:i,platform:s,elements:l,middlewareData:u}=e,{element:c,padding:d=0}=oe(t,e)||{};if(c==null)return{};const f=No(d),y={x:n,y:o},h=Tn(a),m=Sn(h),S=await s.getDimensions(c),g=h==="y",T=g?"top":"left",w=g?"bottom":"right",k=g?"clientHeight":"clientWidth",E=i.reference[m]+i.reference[h]-y[h]-i.floating[m],N=y[h]-i.reference[h],L=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let B=L?L[k]:0;(!B||!await(s.isElement==null?void 0:s.isElement(L)))&&(B=l.floating[k]||i.floating[m]);const F=E/2-N/2,U=B/2-S[m]/2-1,C=Rt(f[T],U),M=Rt(f[w],U),R=C,Y=B-S[m]-M,P=B/2-S[m]/2+F,v=bn(R,P,Y),O=!u.arrow&&ae(a)!=null&&P!==v&&i.reference[m]/2-(P<R?C:M)-S[m]/2<0,_=O?P<R?P-R:P-Y:0;return{[h]:y[h]+_,data:{[h]:v,centerOffset:P-v-_,...O&&{alignmentOffset:_}},reset:O}}}),ou=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:a,middlewareData:i,rects:s,initialPlacement:l,platform:u,elements:c}=e,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:y,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:S=!0,...g}=oe(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const T=Et(a),w=Tt(l),k=Et(l)===l,E=await(u.isRTL==null?void 0:u.isRTL(c.floating)),N=y||(k||!S?[Ie(l)]:Zc(l)),L=m!=="none";!y&&L&&N.push(...tu(l,S,m,E));const B=[l,...N],F=await $o(e,g),U=[];let C=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&U.push(F[T]),f){const P=Kc(a,s,E);U.push(F[P[0]],F[P[1]])}if(C=[...C,{placement:a,overflows:U}],!U.every(P=>P<=0)){var M,R;const P=(((M=i.flip)==null?void 0:M.index)||0)+1,v=B[P];if(v&&(!(f==="alignment"?w!==Tt(v):!1)||C.every(A=>A.overflows[0]>0&&Tt(A.placement)===w)))return{data:{index:P,overflows:C},reset:{placement:v}};let O=(R=C.filter(_=>_.overflows[0]<=0).sort((_,A)=>_.overflows[1]-A.overflows[1])[0])==null?void 0:R.placement;if(!O)switch(h){case"bestFit":{var Y;const _=(Y=C.filter(A=>{if(L){const x=Tt(A.placement);return x===w||x==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(x=>x>0).reduce((x,$)=>x+$,0)]).sort((A,x)=>A[1]-x[1])[0])==null?void 0:Y[0];_&&(O=_);break}case"initialPlacement":O=l;break}if(a!==O)return{reset:{placement:O}}}return{}}}},au=new Set(["left","top"]);async function iu(t,e){const{placement:n,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=Et(n),l=ae(n),u=Tt(n)==="y",c=au.has(s)?-1:1,d=i&&u?-1:1,f=oe(e,t);let{mainAxis:y,crossAxis:h,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof m=="number"&&(h=l==="end"?m*-1:m),u?{x:h*d,y:y*c}:{x:y*c,y:h*d}}const su=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 iu(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}}}}},lu=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:g=>{let{x:T,y:w}=g;return{x:T,y:w}}},...u}=oe(t,e),c={x:n,y:o},d=await $o(e,u),f=Tt(Et(a)),y=ko(f);let h=c[y],m=c[f];if(i){const g=y==="y"?"top":"left",T=y==="y"?"bottom":"right",w=h+d[g],k=h-d[T];h=bn(w,h,k)}if(s){const g=f==="y"?"top":"left",T=f==="y"?"bottom":"right",w=m+d[g],k=m-d[T];m=bn(w,m,k)}const S=l.fn({...e,[y]:h,[f]:m});return{...S,data:{x:S.x-n,y:S.y-o,enabled:{[y]:i,[f]:s}}}}}};function Re(){return typeof window<"u"}function zt(t){return Mo(t)?(t.nodeName||"").toLowerCase():"#document"}function nt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ut(t){var e;return(e=(Mo(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Mo(t){return Re()?t instanceof Node||t instanceof nt(t).Node:!1}function it(t){return Re()?t instanceof Element||t instanceof nt(t).Element:!1}function dt(t){return Re()?t instanceof HTMLElement||t instanceof nt(t).HTMLElement:!1}function Co(t){return!Re()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof nt(t).ShadowRoot}const cu=new Set(["inline","contents"]);function ie(t){const{overflow:e,overflowX:n,overflowY:o,display:a}=st(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!cu.has(a)}const uu=new Set(["table","td","th"]);function du(t){return uu.has(zt(t))}const fu=[":popover-open",":modal"];function ze(t){return fu.some(e=>{try{return t.matches(e)}catch{return!1}})}const mu=["transform","translate","scale","rotate","perspective"],pu=["transform","translate","scale","rotate","perspective","filter"],hu=["paint","layout","strict","content"];function On(t){const e=An(),n=it(t)?st(t):t;return mu.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)||pu.some(o=>(n.willChange||"").includes(o))||hu.some(o=>(n.contain||"").includes(o))}function gu(t){let e=wt(t);for(;dt(e)&&!Vt(e);){if(On(e))return e;if(ze(e))return null;e=wt(e)}return null}function An(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const yu=new Set(["html","body","#document"]);function Vt(t){return yu.has(zt(t))}function st(t){return nt(t).getComputedStyle(t)}function Ve(t){return it(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function wt(t){if(zt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Co(t)&&t.host||ut(t);return Co(e)?e.host:e}function Do(t){const e=wt(t);return Vt(e)?t.ownerDocument?t.ownerDocument.body:t.body:dt(e)&&ie(e)?e:Do(e)}function se(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=Do(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=nt(a);if(i){const l=_n(s);return e.concat(s,s.visualViewport||[],ie(a)?a:[],l&&n?se(l):[])}return e.concat(a,se(a,[],n))}function _n(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Lo(t){const e=st(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const a=dt(t),i=a?t.offsetWidth:n,s=a?t.offsetHeight:o,l=De(n)!==i||De(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function vn(t){return it(t)?t:t.contextElement}function Gt(t){const e=vn(t);if(!dt(e))return ct(1);const n=e.getBoundingClientRect(),{width:o,height:a,$:i}=Lo(e);let s=(i?De(n.width):n.width)/o,l=(i?De(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const bu=ct(0);function Io(t){const e=nt(t);return!An()||!e.visualViewport?bu:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Su(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==nt(t)?!1:e}function Nt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),i=vn(t);let s=ct(1);e&&(o?it(o)&&(s=Gt(o)):s=Gt(t));const l=Su(i,n,o)?Io(i):ct(0);let u=(a.left+l.x)/s.x,c=(a.top+l.y)/s.y,d=a.width/s.x,f=a.height/s.y;if(i){const y=nt(i),h=o&&it(o)?nt(o):o;let m=y,S=_n(m);for(;S&&o&&h!==m;){const g=Gt(S),T=S.getBoundingClientRect(),w=st(S),k=T.left+(S.clientLeft+parseFloat(w.paddingLeft))*g.x,E=T.top+(S.clientTop+parseFloat(w.paddingTop))*g.y;u*=g.x,c*=g.y,d*=g.x,f*=g.y,u+=k,c+=E,m=nt(S),S=_n(m)}}return Be({width:d,height:f,x:u,y:c})}function kn(t,e){const n=Ve(t).scrollLeft;return e?e.left+n:Nt(ut(t)).left+n}function Bo(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),a=o.left+e.scrollLeft-(n?0:kn(t,o)),i=o.top+e.scrollTop;return{x:a,y:i}}function Tu(t){let{elements:e,rect:n,offsetParent:o,strategy:a}=t;const i=a==="fixed",s=ut(o),l=e?ze(e.floating):!1;if(o===s||l&&i)return n;let u={scrollLeft:0,scrollTop:0},c=ct(1);const d=ct(0),f=dt(o);if((f||!f&&!i)&&((zt(o)!=="body"||ie(s))&&(u=Ve(o)),dt(o))){const h=Nt(o);c=Gt(o),d.x=h.x+o.clientLeft,d.y=h.y+o.clientTop}const y=s&&!f&&!i?Bo(s,u,!0):ct(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+y.x,y:n.y*c.y-u.scrollTop*c.y+d.y+y.y}}function wu(t){return Array.from(t.getClientRects())}function Ou(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+kn(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 Au(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=An();(!c||c&&e==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:i,height:s,x:l,y:u}}const _u=new Set(["absolute","fixed"]);function vu(t,e){const n=Nt(t,!0,e==="fixed"),o=n.top+t.clientTop,a=n.left+t.clientLeft,i=dt(t)?Gt(t):ct(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,u=a*i.x,c=o*i.y;return{width:s,height:l,x:u,y:c}}function Ro(t,e,n){let o;if(e==="viewport")o=Au(t,n);else if(e==="document")o=Ou(ut(t));else if(it(e))o=vu(e,n);else{const a=Io(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return Be(o)}function zo(t,e){const n=wt(t);return n===e||!it(n)||Vt(n)?!1:st(n).position==="fixed"||zo(n,e)}function ku(t,e){const n=e.get(t);if(n)return n;let o=se(t,[],!1).filter(l=>it(l)&&zt(l)!=="body"),a=null;const i=st(t).position==="fixed";let s=i?wt(t):t;for(;it(s)&&!Vt(s);){const l=st(s),u=On(s);!u&&l.position==="fixed"&&(a=null),(i?!u&&!a:!u&&l.position==="static"&&!!a&&_u.has(a.position)||ie(s)&&!u&&zo(t,s))?o=o.filter(d=>d!==s):a=l,s=wt(s)}return e.set(t,o),o}function Pu(t){let{element:e,boundary:n,rootBoundary:o,strategy:a}=t;const s=[...n==="clippingAncestors"?ze(e)?[]:ku(e,this._c):[].concat(n),o],l=s[0],u=s.reduce((c,d)=>{const f=Ro(e,d,a);return c.top=Pt(f.top,c.top),c.right=Rt(f.right,c.right),c.bottom=Rt(f.bottom,c.bottom),c.left=Pt(f.left,c.left),c},Ro(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Eu(t){const{width:e,height:n}=Lo(t);return{width:e,height:n}}function Nu(t,e,n){const o=dt(e),a=ut(e),i=n==="fixed",s=Nt(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const u=ct(0);function c(){u.x=kn(a)}if(o||!o&&!i)if((zt(e)!=="body"||ie(a))&&(l=Ve(e)),o){const h=Nt(e,!0,i,e);u.x=h.x+e.clientLeft,u.y=h.y+e.clientTop}else a&&c();i&&!o&&a&&c();const d=a&&!o&&!i?Bo(a,l):ct(0),f=s.left+l.scrollLeft-u.x-d.x,y=s.top+l.scrollTop-u.y-d.y;return{x:f,y,width:s.width,height:s.height}}function Pn(t){return st(t).position==="static"}function Vo(t,e){if(!dt(t)||st(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return ut(t)===n&&(n=n.ownerDocument.body),n}function Go(t,e){const n=nt(t);if(ze(t))return n;if(!dt(t)){let a=wt(t);for(;a&&!Vt(a);){if(it(a)&&!Pn(a))return a;a=wt(a)}return n}let o=Vo(t,e);for(;o&&du(o)&&Pn(o);)o=Vo(o,e);return o&&Vt(o)&&Pn(o)&&!On(o)?n:o||gu(t)||n}const xu=async function(t){const e=this.getOffsetParent||Go,n=this.getDimensions,o=await n(t.floating);return{reference:Nu(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function $u(t){return st(t).direction==="rtl"}const Mu={convertOffsetParentRelativeRectToViewportRelativeRect:Tu,getDocumentElement:ut,getClippingRect:Pu,getOffsetParent:Go,getElementRects:xu,getClientRects:wu,getDimensions:Eu,getScale:Gt,isElement:it,isRTL:$u};function jo(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Cu(t,e){let n=null,o;const a=ut(t);function i(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),i();const c=t.getBoundingClientRect(),{left:d,top:f,width:y,height:h}=c;if(l||e(),!y||!h)return;const m=Le(f),S=Le(a.clientWidth-(d+y)),g=Le(a.clientHeight-(f+h)),T=Le(d),k={rootMargin:-m+"px "+-S+"px "+-g+"px "+-T+"px",threshold:Pt(0,Rt(1,u))||1};let E=!0;function N(L){const B=L[0].intersectionRatio;if(B!==u){if(!E)return s();B?s(!1,B):o=setTimeout(()=>{s(!1,1e-7)},1e3)}B===1&&!jo(c,t.getBoundingClientRect())&&s(),E=!1}try{n=new IntersectionObserver(N,{...k,root:a.ownerDocument})}catch{n=new IntersectionObserver(N,k)}n.observe(t)}return s(!0),i}function Du(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,c=vn(t),d=a||i?[...c?se(c):[],...se(e)]:[];d.forEach(T=>{a&&T.addEventListener("scroll",n,{passive:!0}),i&&T.addEventListener("resize",n)});const f=c&&l?Cu(c,n):null;let y=-1,h=null;s&&(h=new ResizeObserver(T=>{let[w]=T;w&&w.target===c&&h&&(h.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var k;(k=h)==null||k.observe(e)})),n()}),c&&!u&&h.observe(c),h.observe(e));let m,S=u?Nt(t):null;u&&g();function g(){const T=Nt(t);S&&!jo(S,T)&&n(),S=T,m=requestAnimationFrame(g)}return n(),()=>{var T;d.forEach(w=>{a&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),f?.(),(T=h)==null||T.disconnect(),h=null,u&&cancelAnimationFrame(m)}}const Lu=su,Iu=lu,Bu=ou,Fo=ru,Ru=(t,e,n)=>{const o=new Map,a={platform:Mu,...n},i={...a.platform,_c:o};return nu(t,e,{...a,platform:i})};function zu({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||Ru(i.value,s.value,{middleware:t,placement:e,strategy:n}).then(g=>{l.value=g.x,u.value=g.y,y.value=g.strategy,c.value=g.middlewareData.arrow.x,d.value=g.middlewareData.arrow.y,f.value=g.placement})};r.watch(()=>({reference:r.unref(i),floating:r.unref(s),append:r.unref(o)}),({floating:g,append:T})=>{T&&vo(g,T),m()},{flush:"post"}),r.watch(a,g=>{if(!(!i.value||!s.value)){if(!g)return S();h.value=Du(i.value,s.value,m,{})}},{flush:"post"});function S(){h.value?.(),h.value=null}return{x:l,y:u,arrowX:c,arrowY:d,placement:f,reference:i,floating:s,strategy:y,update:m}}function Vu(t){const{element:e,padding:n}=t;return{name:"arrow",options:t,fn(o){return r.isRef(e)?e.value!=null?Fo({element:e.value,padding:n}).fn(o):{}:e?Fo({element:e,padding:n}).fn(o):{}}}}const Gu=["data-placement"],En={__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}=zu({placement:e.placement,middleware:[Bu(),Iu({padding:5}),Lu(e.offset),Vu({element:o,padding:5})],append:r.computed(()=>e.appendTo),enabled:n});function y(){e.disabled||n.value||(n.value=!0)}function h(){n.value&&(n.value=!1)}function m(w){c.value=w}const S={onMouseenter:y,onMouseleave:h,onFocus:y,onBlur:h};ji(d,()=>{n.value&&h()},{ignore:[c]});function g(){if(n.value)return h();y()}function T(w){if(!n.value)return;vt(d).querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')[0]?.focus(),w.preventDefault()}return(w,k)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.renderSlot(w.$slots,"default",{setRef:m,nextFocus:T,open:n.value,toggle:g,show:y,hide:h,events:S}),r.createElementVNode("div",{ref_key:"floating",ref:d,"data-placement":r.unref(u),style:r.normalizeStyle({position:r.unref(f),top:r.unref(i)?`${r.unref(i)}px`:"",left:r.unref(a)?`${r.unref(a)}px`:""})},[r.createVNode(r.Transition,{name:"transition-fade"},{default:r.withCtx(()=>[n.value?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(["floating-content",[[`is-${e.theme}`]]])},[r.renderSlot(w.$slots,"content",{close:h},()=>[r.createTextVNode(r.toDisplayString(t.content),1)]),t.isArrowVisible?(r.openBlock(),r.createElementBlock("div",{key:0,ref_key:"arrowRef",ref:o,class:"is-arrow",style:r.normalizeStyle({position:r.unref(f),top:r.unref(l)?`${r.unref(l)}px`:"",left:r.unref(s)?`${r.unref(s)}px`:""})},null,4)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0)]),_:3})],12,Gu)],64))}},ju={class:"table"},Fu=["tabindex","onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown"],Uu=["data-value"],Hu={key:0},Yu=["colspan"],Wu={key:1},qu=["colspan"],Ku={key:2},Nn={__name:"DataTable",props:{columns:{type:Object,default:()=>({})},rows:{type:Array,default:()=>[]},sort:{type:Object,default:()=>({})},isLoading:{type:Boolean,default:!1},appendTo:{type:[Object,String],default:null}},emits:["sort"],setup(t,{emit:e}){const n=t,o=e,{isLoading:a,appendTo:i}=r.toRefs(n),s=jr(a,{delay:Gn}),{t:l}=lt(),u=r.computed(()=>n.columns),c=r.computed(()=>Object.keys(n.columns).length);function d(f,y){f.sortOrders&&o("sort",{target:y,orders:f.sortOrders})}return(f,y)=>(r.openBlock(),r.createElementBlock("table",ju,[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(En,{key:m,placement:"top",content:h.tooltip,disabled:!h.tooltip,"append-to":r.unref(i)},{default:r.withCtx(({setRef:S,show:g,hide:T})=>[r.createElementVNode("th",{ref_for:!0,ref:S,class:r.normalizeClass([[r.unref($r)(h.class)],{"is-active":m===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ft),"is-sortable":h.sortOrders,"is-desc":m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b),"is-asc":m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(D)}]),tabindex:h.sortOrders?0:-1,role:"button",onMouseenter:g,onMouseleave:T,onFocus:g,onBlur:T,onClick:w=>d(h,m),onKeydown:[r.withKeys(r.withModifiers(w=>d(h,m),["prevent"]),["space"]),r.withKeys(r.withModifiers(w=>d(h,m),["prevent"]),["enter"])]},[r.renderSlot(f.$slots,`header-${m}`,{column:h},()=>[r.createTextVNode(r.toDisplayString(h.label),1)]),h.sortOrders&&m!==t.sort.sortTarget?(r.openBlock(),r.createBlock(r.unref(bo),{key:0,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(ft)?(r.openBlock(),r.createBlock(r.unref(bo),{key:1,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b)?(r.openBlock(),r.createBlock(r.unref(xl),{key:2,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(D)?(r.openBlock(),r.createBlock(r.unref(Cl),{key:3,class:"is-icon-sort"})):r.createCommentVNode("",!0)],42,Fu)]),_:2},1032,["content","disabled","append-to"]))),128))])]),r.createElementVNode("tbody",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.rows,(h,m)=>(r.openBlock(),r.createElementBlock("tr",{key:m,class:r.normalizeClass(h.rowClasses)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(S,g)=>(r.openBlock(),r.createElementBlock("td",{key:g,"data-value":h[g],class:r.normalizeClass([[S.class],{"is-active":g===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ft),"is-zero":h[g]===0||h[g]==="00:00"}])},[r.renderSlot(f.$slots,`cell-${g}`,{row:h,prop:g},()=>[r.createTextVNode(r.toDisplayString(h[g]),1)])],10,Uu))),128))],2))),128))]),r.unref(s)&&t.rows.length===0?(r.openBlock(),r.createElementBlock("tfoot",Hu,[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,Yu)])])):r.createCommentVNode("",!0),t.rows.length===0&&!r.unref(a)&&!r.unref(s)?(r.openBlock(),r.createElementBlock("tfoot",Wu,[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,qu)])])):r.createCommentVNode("",!0),f.$slots.caption?(r.openBlock(),r.createElementBlock("caption",Ku,[r.renderSlot(f.$slots,"caption")])):r.createCommentVNode("",!0)]))}},Zu={class:"error-notice"},Ju=["textContent"],Xu={__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",Zu,[r.createVNode(r.unref(Il),{class:"icon",width:"20",height:"20"}),r.createElementVNode("span",null,r.toDisplayString(a.value),1),t.useRetry?(r.openBlock(),r.createElementBlock("button",{key:0,type:"button",onClick:s[0]||(s[0]=l=>i.$emit("retry")),textContent:r.toDisplayString(r.unref(n)("common.retry"))},null,8,Ju)):r.createCommentVNode("",!0)]))}},Qu={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:o}=Cr();return(a,i)=>r.renderSlot(a.$slots,"default",{message:r.unref(e),error:r.unref(o),hasError:r.unref(n)})}},td={class:"form-field"},ed=["for"],Uo={__name:"FormField",props:{label:{type:String,default:""},name:{type:String,required:!0}},setup(t){return(e,n)=>(r.openBlock(),r.createElementBlock("div",td,[r.createElementVNode("label",{for:t.name},r.toDisplayString(t.label),9,ed),r.renderSlot(e.$slots,"default")]))}},nd={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"}}},rd={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"}}},od=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},ad=r.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=yr({hu:rd,en:nd},t.messages),{translate:n}=kr({locale:r.computed(()=>t.locale),messages:e});return{translate:n}}});function id(t,e,n,o,a,i){return r.renderSlot(t.$slots,"default",{t:t.translate})}const sd=od(ad,[["render",id]]),ld=["src","width","height"],cd=["src","title","width","height"],xt=Object.assign({inheritAttrs:!1},{__name:"Image",props:{src:{type:String,default:""},title:{type:String,default:""},defaultSrc:{type:String,default:""},width:{type:Number,default:void 0},height:{type:Number,default:void 0}},setup(t){const e=t,{defaultSrc:n}=r.toRefs(e),o=r.ref({src:e.src}),{error:a,isReady:i}=Hi(o,{resetOnExecute:!1,shallow:!1});return(s,l)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.unref(a)&&r.unref(n)?(r.openBlock(),r.createElementBlock("img",{key:0,src:r.unref(n),class:r.normalizeClass(["is-loaded is-default",[s.$attrs.class]]),style:r.normalizeStyle([s.$attrs.style]),width:t.width,height:t.height},null,14,ld)):r.createCommentVNode("",!0),r.unref(a)?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("img",{key:1,src:o.value.src,title:e.title,class:r.normalizeClass([s.$attrs.class,{"is-loaded":r.unref(i)}]),style:r.normalizeStyle([s.$attrs.style]),width:t.width,height:t.height,loading:"lazy"},null,14,cd))],64))}}),ud={class:"loading-indicator"},xn={__name:"LoadingIndicator",setup(t){const{t:e}=lt();return(n,o)=>(r.openBlock(),r.createElementBlock("div",ud,r.toDisplayString(r.unref(e)("common.loading")),1))}},dd={key:0,class:"paginator"},fd=["disabled"],md=["disabled"],pd={key:1,class:"is-disabled"},hd=["disabled","onClick"],gd={key:2,class:"is-disabled"},yd=["disabled"],bd=["disabled"],Sd={__name:"Paginator",props:{page:{type:Number,required:!1,default:0,validator:t=>t>=0},itemsPerPage:{type:Number,required:!1,default:10,validator:t=>t>0},totalItems:{type:Number,required:!0,validator:t=>t>=0},rangeLength:{type:Number,default:3,validator:t=>t>=2},isCompact:{type:Boolean,default:!1}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,{page:a,pageCount:i,range:s,goTo:l,pageStep:u}=Qs({currentPage:r.computed(()=>n.page),totalItems:r.computed(()=>n.totalItems),itemsPerPage:n.itemsPerPage,rangeLength:n.rangeLength,update:c=>o("change",c)});return(c,d)=>r.unref(i)>1?(r.openBlock(),r.createElementBlock("div",dd,[r.createElementVNode("button",{type:"button",disabled:r.unref(a)===1,onClick:d[0]||(d[0]=f=>r.unref(u)(-1))},[r.renderSlot(c.$slots,"prev",{},()=>[r.createVNode(r.unref(gl),{class:"icon paginator-left"})])],8,fd),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,md)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",pd," ... ")),(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,hd))),128)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",gd,[...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,yd)),r.createElementVNode("button",{type:"button",disabled:r.unref(a)===r.unref(i),onClick:d[3]||(d[3]=r.withModifiers(f=>r.unref(u)(1),["prevent"]))},[r.renderSlot(c.$slots,"next",{},()=>[r.createVNode(r.unref(Ol),{class:"icon paginator-left"})])],8,bd)])):r.createCommentVNode("",!0)}},$n={__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))}},Td={class:"is-team-name-long"},wd={class:"is-team-name-short"},Od={class:"is-team-name-long"},Ad={class:"is-team-name-short"},_d={key:0,class:"text-highlighted"},vd=["href","target"],kd={key:0,class:"badge"},Pd={key:1,class:"badge"},Ed={key:2,class:"badge"},Nd={key:1},xd=["data-state","onClick","onKeydown"],$d={class:"list"},Md=["href","target"],Cd={class:"start"},Dd={class:"text"},Ld={key:0},Id=["href"],Bd={class:"start"},Rd={class:"text"},zd={__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}=an(),{columns:a,error:i}=on(jn,r.computed(()=>e.hideColumns),r.computed(()=>({offsetName:e.offsetName})));Vi(i,()=>o(new yn(ne.message,{...ne.options,cause:{column:i.value}})),{immediate:!0});const{t:s}=lt();return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode($n,null,{default:r.withCtx(({el:c})=>[r.createVNode(Nn,{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",Td,r.toDisplayString(d.homeTeam.longName),1),r.createElementVNode("span",wd,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(xt,{key:d.homeTeam.id,class:"is-logo-image",src:d.homeTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-awayTeamLogo":r.withCtx(({row:d})=>[d.awayTeam?(r.openBlock(),r.createBlock(xt,{key:d.awayTeam.id,class:"is-logo-image",src:d.awayTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-gameResult":r.withCtx(({row:d})=>[d.gameStatus===0?(r.openBlock(),r.createElementBlock("span",_d,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(d.gameId),target:t.externalGameResolverTarget,class:r.normalizeClass({"text-highlighted":d.gameStatus!==1,"is-text-accent":d.gameStatus===1})},r.toDisplayString(d.homeTeamScore)+":"+r.toDisplayString(d.awayTeamScore),11,vd))]),"cell-gameResultType":r.withCtx(({row:d})=>[d.isOvertime?(r.openBlock(),r.createElementBlock("span",kd,r.toDisplayString(r.unref(s)("common.overtimeShort")),1)):r.createCommentVNode("",!0),d.isShootout?(r.openBlock(),r.createElementBlock("span",Pd,r.toDisplayString(r.unref(s)("common.shootoutShort")),1)):r.createCommentVNode("",!0),d.seriesStandings?(r.openBlock(),r.createElementBlock("span",Ed,r.toDisplayString(d.seriesStandings),1)):r.createCommentVNode("",!0)]),"cell-broadcast":r.withCtx(({row:d})=>[d.broadcast?(r.openBlock(),r.createBlock(r.unref(ml),{key:0})):(r.openBlock(),r.createElementBlock("span",Nd))]),"cell-location":r.withCtx(({row:d})=>[r.createTextVNode(r.toDisplayString(d.location?.locationName??""),1)]),"cell-more":r.withCtx(({row:d})=>[r.createVNode(En,{offset:2,placement:"left",theme:"content","append-to":c},{default:r.withCtx(({setRef:f,open:y,toggle:h,nextFocus:m})=>[r.createElementVNode("button",{ref:f,type:"button","aria-label":"more","data-state":y?"open":"closed",class:"icon-button",onClick:r.withModifiers(h,["stop","prevent"]),onKeydown:r.withKeys(m,["tab"])},[r.createVNode(r.unref(Sl))],40,xd)]),content:r.withCtx(()=>[r.createElementVNode("ul",$d,[r.createElementVNode("li",null,[r.createElementVNode("a",{href:t.externalGameResolver(d.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[r.createElementVNode("div",Cd,[r.createVNode(r.unref(vl))]),r.createElementVNode("div",Dd,r.toDisplayString(r.unref(s)("common.report")),1)],8,Md)]),d.video?(r.openBlock(),r.createElementBlock("li",Ld,[r.createElementVNode("a",{href:d.video,class:"is-dropdown-item",target:"_blank"},[r.createElementVNode("div",Bd,[r.createVNode(r.unref(zl))]),r.createElementVNode("div",Rd,r.toDisplayString(r.unref(s)("common.video")),1)],8,Id)])):r.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:r.withCtx(()=>[r.createVNode(xn)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),r.createElementVNode("div",{ref_key:"tooltipContainer",ref:n},null,512)],64))}},Vd={class:"flex-container mb-md"},Gd=["value"],jd={key:0,class:"tabs underlined mb-md"},Fd=["aria-label"],Ud=["aria-selected","onClick"],Hd={__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",Vd,[r.createVNode(Uo,{label:r.unref(a)("selection.season"),name:"season"},{default:r.withCtx(()=>[r.createVNode(uo,{id:"season",modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=c=>i.value=c)},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.seasons,c=>(r.openBlock(),r.createElementBlock("option",{key:c.championshipId,value:c.championshipId},r.toDisplayString(c.seasonName),9,Gd))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"]),r.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("nav",jd,[r.createElementVNode("div",{role:"tablist","aria-label":r.unref(a)("selection.sections")},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.sections,c=>(r.openBlock(),r.createElementBlock("button",{key:c.phaseId,role:"tab",type:"button","aria-selected":c.phaseName===t.sectionId,onClick:d=>s(c)},r.toDisplayString(c.phaseName),9,Ud))),128))],8,Fd)]))],64))}},Yd={class:"avatar"},Wd=["href"],qd={class:"is-team-name-long"},Kd={class:"is-team-name-short"},Zd={class:"is-team-name-long"},Jd={key:0},Xd={class:"is-team-name-short"},Qd={key:0},tf={class:"is-team-name-long"},ef={class:"is-team-name-short"},nf={class:"is-team-name-long"},rf={class:"is-team-name-short"},of=["href"],af={key:0,class:"text-highlighted"},sf=["href","target"],lf={key:0,class:"badge"},cf={key:1,class:"badge"},uf={key:2,class:"badge"},df={__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}=an(),{t:l}=lt(),{columns:u,error:c}=on(a,i,r.computed(()=>({offsetName:n.offsetName})));c.value&&s(new yn(ne.message,{...ne.options,cause:{column:c.value}}));const d=f=>o("sort",f);return(f,y)=>(r.openBlock(),r.createBlock($n,null,{default:r.withCtx(({el:h})=>[r.createVNode(Nn,{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",Yd,[(r.openBlock(),r.createBlock(xt,{key:m.player.playerId,src:m.player.picture,"default-src":r.unref(Dn)},null,8,["src","default-src"]))])]),"cell-teamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(xt,{key:m.team?.id??m.id,class:"is-logo-image",src:m.team?.logo},null,8,["src"]))]),"cell-homeTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(xt,{key:m.homeTeam?.id,class:"is-logo-image is-right",src:m.homeTeam?.logo},null,8,["src"]))]),"cell-awayTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(xt,{key:m.awayTeam?.id,class:"is-logo-image is-right",src:m.awayTeam?.logo},null,8,["src"]))]),"cell-teamName":r.withCtx(({row:m})=>[t.isTeamLinked?(r.openBlock(),r.createElementBlock("a",{key:0,href:t.externalTeamResolver(m),target:"_blank"},[r.createElementVNode("span",qd,r.toDisplayString(m.team?.longName),1),r.createElementVNode("span",Kd,r.toDisplayString(m.team?.shortName),1)],8,Wd)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createElementVNode("span",Zd,[r.createTextVNode(r.toDisplayString(m.team?.longName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Jd,[...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",Qd,[...y[1]||(y[1]=[r.createElementVNode("sup",null,"*",-1)])])):r.createCommentVNode("",!0)])],64))]),"cell-homeTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",tf,r.toDisplayString(m.homeTeam?.longName),1),r.createElementVNode("span",ef,r.toDisplayString(m.homeTeam?.shortName),1)]),"cell-awayTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",nf,r.toDisplayString(m.awayTeam?.longName),1),r.createElementVNode("span",rf,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",af,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(m),target:t.externalGameResolverTarget,class:r.normalizeClass({"text-highlighted":m.gameStatus!==1,"is-text-accent":m.gameStatus===1})},r.toDisplayString(m.homeTeamScore)+":"+r.toDisplayString(m.awayTeamScore),11,sf))]),"cell-gameResultType":r.withCtx(({row:m})=>[m.isOvertime?(r.openBlock(),r.createElementBlock("span",lf,r.toDisplayString(r.unref(l)("common.overtimeShort")),1)):r.createCommentVNode("",!0),m.isShootout?(r.openBlock(),r.createElementBlock("span",cf,r.toDisplayString(r.unref(l)("common.shootoutShort")),1)):r.createCommentVNode("",!0),m.seriesStandings?(r.openBlock(),r.createElementBlock("span",uf,r.toDisplayString(m.seriesStandings),1)):r.createCommentVNode("",!0)]),loading:r.withCtx(()=>[r.createVNode(xn)]),_: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,of)]),key:"0"}:void 0,f.$slots.caption?{name:"caption",fn:r.withCtx(()=>[r.renderSlot(f.$slots,"caption")]),key:"1"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:3}))}},ff={class:"timezone-selector"},mf=["onClick"],pf={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,{t:a}=lt(),i=r.computed(()=>ee(new Date,null,n.locale)),s=no(),l=r.computed(()=>Array.from(Vn.values()).map(c=>({...c,isActive:ee(new Date,n.currentZone,n.locale)===ee(new Date,c.timezone,n.locale),zoneOffsetName:ee(new Date,c.timezone,n.locale)}))),u=c=>o("change",c);return(c,d)=>(r.openBlock(),r.createElementBlock("div",ff,[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,mf))),128))]))}},hf={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:""}},gf={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},yf={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},bf={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}};function Ho({app:t=null,modules:e=[],apiKey:n,gameResolver:o,teamResolver:a,playerResolver:i}){if(window.__MJSZ_VBR_WIDGET__={apiKey:n,gameResolver:o,teamResolver:a,playerResolver:i},e.length===0)throw new Error("At least one module must be set");e.forEach(s=>{if(t)return t.use(s);if(s.register)return s.register();s?.install()})}const Sf={install:(t,e={})=>Ho({app:t,...e})};return p.AVAILABLE_TIMEZONES_BY_COUNTRY=Vn,p.AdditionalStandingsText=ul,p.BaseSelect=uo,p.COLUMNS_FIELD_PLAYERS=Jo,p.COLUMNS_FIELD_PLAYERS_PENALTY=Xo,p.COLUMNS_FIELD_PLAYERS_TOI=Qo,p.COLUMNS_GOALIES=ta,p.COLUMNS_PLAYERS_NATIONAL=ea,p.COLUMNS_SCHEDULE=jn,p.COLUMNS_SCORING_EFFICIENCY=ia,p.COLUMNS_STANDINGS_P_2=Ko,p.COLUMNS_STANDINGS_P_3=Wo,p.COLUMNS_STANDINGS_P_PER=qo,p.COLUMNS_STANDINGS_SHORT=Zo,p.COLUMNS_TEAMS_FAIRPLAY=ra,p.COLUMNS_TEAMS_PENALTY_KILLING=oa,p.COLUMNS_TEAMS_POWERPLAY=aa,p.COLUMNS_TEAM_ATTENDANCE=na,p.DEFAULT_EXTERNAL_GAME_URL=Cn,p.DEFAULT_EXTERNAL_PLAYER_URL=Ln,p.DEFAULT_EXTERNAL_STATISTIC_URL=Bn,p.DEFAULT_EXTERNAL_TEAM_URL=In,p.DEFAULT_PORTRAIT_IMAGE_URL=Dn,p.DataTable=Nn,p.ErrorNotice=Xu,p.ErrorProvider=Qu,p.FLAG_BASE_URL=Rn,p.FetchMoreObserver=pa,p.FloatingPanel=En,p.FormField=Uo,p.I18NProvider=sd,p.Image=xt,p.InvalidSeasonName=Bc,p.LAZY_LOADING_STATE_DELAY=Gn,p.LOCALE_FOR_LANG=zn,p.LoadingIndicator=xn,p.Paginator=Sd,p.REFRESH_DELAY=Yo,p.ResponsiveTable=$n,p.SORT_STATE_ASCEND=D,p.SORT_STATE_DESCEND=b,p.SORT_STATE_ORIGINAL=ft,p.ScheduleTable=zd,p.SeasonSelector=Hd,p.StatisticsTable=df,p.TimezoneSelector=pf,p.UndefinedColumn=ne,p.VBR_API_BASE_URL=Mn,p.VBR_API_WEBSOCKET_BASE_URL=void 0,p.WidgetError=yn,p.addDays=Ws,p.appendTo=vo,p.baseProps=hf,p.clone=Ya,p.convert=jl,p.convertAddress=Mc,p.convertGameEvents=bc,p.convertGameOfficials=_c,p.convertGamePeriodResults=Xl,p.convertMinToMinSec=oo,p.convertMinToSec=dn,p.convertPenaltyCauseName=mc,p.convertPeriodResults=pc,p.convertPeriodResultsToArray=hc,p.convertPhaseName=rc,p.convertSeasons=ac,p.convertSecToMin=ro,p.convertTeams=ic,p.convertTimes=Kl,p.convertTimesMinToMinSec=Zl,p.convertTimesSecToMin=Jl,p.cookie=Lc,p.createConfig=Ho,p.createI18n=kr,p.currentWeek=Us,p.currentWeekStartEnd=Hs,p.default=Sf,p.endOfMonth=Ks,p.externalGameLinkResolver=zc,p.externalPlayerLinkResolver=Gc,p.externalStatisticLinkResolver=jc,p.externalTeamLinkResolver=Vc,p.fetchVBRData=Dr,p.filterAllowedClasses=$r,p.filterAndSortSections=sc,p.filterGoalScorersFromEvents=Tc,p.flagResolver=Fc,p.format=kt,p.gameDateTime=Ul,p.gameProps=bf,p.gameResult=Hl,p.getLocalTimezone=no,p.getWebsocketURL=Rc,p.groupLines=Sc,p.head=Qe,p.i18n=Er,p.isAfter=js,p.isBefore=Gs,p.isBetween=ao,p.isEmpty=Kt,p.isNotEmpty=di,p.isSame=zs,p.isSameOrBefore=fn,p.isToday=Fs,p.joinOfficals=yc,p.last=dr,p.localeSort=gn,p.map=K,p.max=Js,p.mergeLeft=br,p.mergePlayerStats=xc,p.min=Zs,p.offsetName=ee,p.omit=tn,p.path=bt,p.pick=en,p.pickCoaches=wc,p.pipe=It,p.playerName=Bt,p.playerStatsProps=yf,p.prop=j,p.propEq=Zt,p.rawConvert=Fl,p.reject=mt,p.removeCurrentFromSeasonStats=kc,p.removeUnneededPhases=Ec,p.resolveApiKey=Uc,p.reverse=Wt,p.scheduleOptionalRowClass=ql,p.scrollToTop=Hc,p.selectFirstPhaseName=cc,p.selectFirstSectionId=lc,p.selectLastSections=fc,p.sortBy=St,p.sortByDomNode=Ic,p.sortByEventTimeSec=Ac,p.sortByPhaseId=uc,p.sortByStartingFive=gc,p.sortGames=Ql,p.standingTableSort=vc,p.startOfMonth=qs,p.subtractDays=Ys,p.sum=mi,p.teamName=hn,p.teamOpponent=Yl,p.teamResultType=Wl,p.teamStatsProps=gf,p.templateReplacer=ht,p.toKebabCase=xr,p.transformCurrentSeasonStats=Pc,p.transformEventsForGameTimeline=Oc,p.transformFieledPlayersStats=$c,p.transformPlayers=dc,p.transformRosters=Nc,p.upperCase=Ao,p.useAdditionalText=_r,p.useColumns=on,p.useError=an,p.useErrorProvider=Cr,p.useGameDataSocket=Wi,p.useI18n=lt,p.useLazyLoadingState=jr,p.usePage=Xs,p.useScrollToGameDate=tl,p.useServices=el,p.useSort=sl,p.useVisibilityChange=ll,p.validateColumnsName=Nr,p.yearToNow=Vs,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),p}({},Vue);
|