@mjsz-vbr-elements/core 2.21.1 → 2.22.1
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-C9LgL7ma.js → TimezoneSelector-C580t5lo.js} +6 -6
- package/dist/columns.js +1 -1
- package/dist/components.js +2 -2
- package/dist/composables.js +4 -4
- package/dist/constants.js +1 -1
- package/dist/{datetime-K_d-hEsO.js → datetime-Djnl319m.js} +3 -3
- package/dist/{errors-CONPaUL0.js → errors-BHWrTPiE.js} +2 -2
- 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 +5 -5
- package/dist/useSort-Dxgp5PGu.js +821 -0
- package/dist/utils.js +4 -4
- package/package.json +4 -4
- package/dist/useSort-Day5AwW-.js +0 -803
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.22.1 - 12/03/2025, 20:01:30
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
var MjszVbrElementsCore=function(T,r){"use strict";const ln="https://api.icehockey.hu/vbr",cn="https://www.jegkorongszovetseg.hu/event/game/{gameId}",un="https://jegkorongszovetseg.hu/assets/images/player_blank.png",dn="https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}",fn="https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}",mn="https://www.ersteliga.hu/stats?report={id}",pn="https://api.icehockey.hu/static/api/flag",ct="original",b="descend",I="ascend",hn=new Map().set("hu","hu-hu").set("en","hu-gb"),gn=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),qr=1e3*60*5,yn=1e3,bn={gameName:{label:"table.gameName.short",tooltip:"table.gameName.tooltip",class:"is-text-left is-text-light"},gameDateDate:{label:"table.gameDate.short",tooltip:"table.gameDate.tooltip",class:"is-text-left"},gameDateTime:{label:"table.gameDateTime.short",tooltip:"table.gameDateTime.tooltip",class:"is-text-left"},homeTeamName:{label:"table.homeTeam.short",tooltip:"table.homeTeam.tooltip",class:"is-text-right is-w-auto is-text-bold"},homeTeamLogo:{label:"",class:"is-has-image"},gameResult:{label:"",class:"is-text-bold is-text-xl"},gameResultType:{label:"",tooltip:""},awayTeamLogo:{label:"",class:"is-has-image"},awayTeamName:{label:"table.awayTeam.short",tooltip:"table.awayTeam.tooltip",class:"is-text-left is-w-auto is-text-bold"},location:{label:"table.location.short",tooltip:"table.location.tooltip",class:"is-text-left"},broadcast:{label:"table.broadcast.short",tooltip:"table.broadcast.tooltip"},more:{label:""}},Kr={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},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:I}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:I}]},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:I}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b},{target:"gamesPlayed",direction:I},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},Zr={index:{label:"#",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},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:I}]},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:I}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b}]}},Xr={index:{label:"#",class:"is-text-left is-text-italic is-text-light"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold"},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",class:"is-text-light"},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",class:"is-text-light"},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",class:"is-text-light"},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",class:"is-text-light"},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold"}},Jr={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},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}]}},Qr={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},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}]}},to={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},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}]}},eo={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},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}]}},no={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},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}]}},ro={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},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}]}},oo={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},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}]}},ao={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},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}]}},io={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},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}]}},so={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},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:I}]},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:I}]},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:I}]},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:I}]},sp:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"sp",direction:b}]}};function lo(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}function Tn(t){return typeof t=="function"?t():r.unref(t)}const co=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const uo=t=>t!=null,Oe=()=>{};function Ae(t){var e;const n=Tn(t);return(e=n==null?void 0:n.$el)!=null?e:n}const fo=co?window:void 0;function mo(){const t=r.ref(!1);return r.getCurrentInstance()&&r.onMounted(()=>{t.value=!0}),t}function po(t){const e=mo();return r.computed(()=>(e.value,!!t()))}function ho(t,e,n={}){const{root:o,rootMargin:a="0px",threshold:i=.1,window:s=fo,immediate:l=!0}=n,u=po(()=>s&&"IntersectionObserver"in s),c=r.computed(()=>{const p=Tn(t);return(Array.isArray(p)?p:[p]).map(Ae).filter(uo)});let d=Oe;const f=r.ref(l),y=u.value?r.watch(()=>[c.value,Ae(o),f.value],([p,m])=>{if(d(),!f.value||!p.length)return;const h=new IntersectionObserver(e,{root:Ae(m),rootMargin:a,threshold:i});p.forEach(S=>S&&h.observe(S)),d=()=>{h.disconnect(),d=Oe}},{immediate:l,flush:"post"}):Oe,g=()=>{d(),y(),f.value=!1};return lo(g),{isSupported:u,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:g}}const go=r.defineComponent({name:"FetchMoreObserver",props:["as","options"],emits:["intersect"],setup(t,{slots:e,emit:n}){const o=r.ref(null),{stop:a}=ho(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 V(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function F(t){return function e(n){return arguments.length===0||V(n)?e:t.apply(this,arguments)}}function z(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return V(n)?e:F(function(a){return t(n,a)});default:return V(n)&&V(o)?e:V(n)?F(function(a){return t(a,o)}):V(o)?F(function(a){return t(n,a)}):t(n,o)}}}function Ht(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 ke(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&&(!V(e[s])||a>=arguments.length)?u=e[s]:(u=arguments[a],a+=1),o[s]=u,V(u)?l=!0:i-=1,s+=1}return!l&&i<=0?n.apply(this,o):Ht(Math.max(0,i),ke(t,o,n))}}var Mt=z(function(e,n){return e===1?F(n):Ht(e,ke(e,[],n))});function X(t){return function e(n,o,a){switch(arguments.length){case 0:return e;case 1:return V(n)?e:z(function(i,s){return t(n,i,s)});case 2:return V(n)&&V(o)?e:V(n)?z(function(i,s){return t(i,o,s)}):V(o)?z(function(i,s){return t(n,i,s)}):F(function(i){return t(n,o,i)});default:return V(n)&&V(o)&&V(a)?e:V(n)&&V(o)?z(function(i,s){return t(i,s,a)}):V(n)&&V(a)?z(function(i,s){return t(i,o,s)}):V(o)&&V(a)?z(function(i,s){return t(n,i,s)}):V(n)?F(function(i){return t(i,o,a)}):V(o)?F(function(i){return t(n,i,a)}):V(a)?F(function(i){return t(n,o,i)}):t(n,o,a)}}}const vt=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function yo(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function Ct(t,e,n){return function(){if(arguments.length===0)return n();var o=arguments[arguments.length-1];if(!vt(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(yo(o)){var i=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(o)}}return n.apply(this,arguments)}}function _e(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const ht={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function Sn(t){for(var e=[],n;!(n=t.next()).done;)e.push(n.value);return e}function wn(t,e,n){for(var o=0,a=n.length;o<a;){if(t(e,n[o]))return!0;o+=1}return!1}function bo(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function Q(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function To(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const xe=typeof Object.is=="function"?Object.is:To;var On=Object.prototype.toString,An=function(){return On.call(arguments)==="[object Arguments]"?function(e){return On.call(e)==="[object Arguments]"}:function(e){return Q("callee",e)}}(),So=!{toString:null}.propertyIsEnumerable("toString"),kn=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_n=function(){return arguments.propertyIsEnumerable("length")}(),wo=function(e,n){for(var o=0;o<e.length;){if(e[o]===n)return!0;o+=1}return!1},gt=F(typeof Object.keys=="function"&&!_n?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var n,o,a=[],i=_n&&An(e);for(n in e)Q(n,e)&&(!i||n!=="length")&&(a[a.length]=n);if(So)for(o=kn.length-1;o>=0;)n=kn[o],Q(n,e)&&!wo(a,n)&&(a[a.length]=n),o-=1;return a}),Pe=F(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function xn(t,e,n,o){var a=Sn(t),i=Sn(e);function s(l,u){return Ee(l,u,n.slice(),o.slice())}return!wn(function(l,u){return!wn(s,u,l)},i,a)}function Ee(t,e,n,o){if(xe(t,e))return!0;var a=Pe(t);if(a!==Pe(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"&&bo(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&xe(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!xe(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(!(t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.sticky===e.sticky&&t.unicode===e.unicode))return!1;break}for(var i=n.length-1;i>=0;){if(n[i]===t)return o[i]===e;i-=1}switch(a){case"Map":return t.size!==e.size?!1:xn(t.entries(),e.entries(),n.concat([t]),o.concat([e]));case"Set":return t.size!==e.size?!1:xn(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=gt(t);if(s.length!==gt(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(!(Q(c,e)&&Ee(e[c],t[c],l,u)))return!1;i-=1}return!0}var Yt=z(function(e,n){return Ee(e,n,[],[])});function Oo(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(Yt(t[n],e))return n;n+=1}return-1}function Pn(t,e){return Oo(e,t,0)>=0}function Wt(t,e){for(var n=0,o=e.length,a=Array(o);n<o;)a[n]=t(e[n]),n+=1;return a}function Ne(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 Lt=function(e){return(e<10?"0":"")+e},Ao=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Lt(e.getUTCMonth()+1)+"-"+Lt(e.getUTCDate())+"T"+Lt(e.getUTCHours())+":"+Lt(e.getUTCMinutes())+":"+Lt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function ko(t){return function(){return!t.apply(this,arguments)}}function En(t,e,n){for(var o=0,a=n.length;o<a;)e=t(e,n[o]),o+=1;return e}function _o(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 qt(t){return Object.prototype.toString.call(t)==="[object Object]"}var xo=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=ht.init,t.prototype["@@transducer/result"]=ht.result,t.prototype["@@transducer/step"]=function(e,n){return this.f(n)?this.xf["@@transducer/step"](e,n):e},t}();function Po(t){return function(e){return new xo(t,e)}}var $e=z(Ct(["fantasy-land/filter","filter"],Po,function(t,e){return qt(e)?En(function(n,o){return t(e[o])&&(n[o]=e[o]),n},{},gt(e)):_o(t,e)})),Eo=z(function(e,n){return $e(ko(e),n)});function Nn(t,e){var n=function(s){var l=e.concat([t]);return Pn(s,l)?"<Circular>":Nn(s,l)},o=function(i,s){return Wt(function(l){return Ne(l)+": "+n(i[l])},s.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Wt(n,t).join(", ")+"))";case"[object Array]":return"["+Wt(n,t).concat(o(t,Eo(function(i){return/^\d+$/.test(i)},gt(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):Ne(Ao(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())+")":Ne(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,gt(t)).join(", ")+"}"}}var De=F(function(e){return Nn(e,[])}),No=z(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=De(e),l=o(s,De(n));return l!==void 0&&l===s?e:n}),$o=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=ht.init,t.prototype["@@transducer/result"]=ht.result,t.prototype["@@transducer/step"]=function(e,n){return this.xf["@@transducer/step"](e,this.f(n))},t}(),Do=function(e){return function(n){return new $o(e,n)}},ft=z(Ct(["fantasy-land/map","map"],Do,function(e,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return Mt(n.length,function(){return e.call(this,n.apply(this,arguments))});case"[object Object]":return En(function(o,a){return o[a]=e(n[a]),o},{},gt(n));default:return Wt(e,n)}}));const Kt=Number.isInteger||function(e){return e<<0===e};function Zt(t){return Object.prototype.toString.call(t)==="[object String]"}function $n(t,e){var n=t<0?e.length+t:t;return Zt(e)?e.charAt(n):e[n]}var ut=z(function(e,n){if(n!=null)return Kt(e)?$n(e,n):n[e]}),Mo=z(function(e,n){return ft(ut(e),n)}),vo=F(function(e){return vt(e)?!0:!e||typeof e!="object"||Zt(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),Dn=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Co(t,e,n){return function(a,i,s){if(vo(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[Dn]!=null)return n(a,i,s[Dn]());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 Lo(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 Io=z(function(e,n){return Ht(e.length,function(){return e.apply(n,arguments)})});function Bo(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 Ro(t,e,n,o){return t["@@transducer/result"](n[o](Io(t["@@transducer/step"],t),e))}var Mn=Co(Lo,Ro,Bo),zo=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 vn(t){return new zo(t)}var Cn=X(function(t,e,n){return Mn(typeof t=="function"?vn(t):t,e,n)}),Ln=F(function(e){return function(){return e}}),Vo=F(function(e){return Mt(Cn(No,0,Mo("length",e)),function(){for(var n=0,o=e.length;n<o;){if(e[n].apply(this,arguments))return!0;n+=1}return!1})}),Me=X(function(e,n,o){var a=e(n),i=e(o);return a<i?-1:a>i?1:0}),Go=F(function(e){return Mt(e.length,e)});function Fo(t,e,n){if(Kt(t)&&vt(n)){var o=[].concat(n);return o[t]=e,o}var a={};for(var i in n)a[i]=n[i];return a[t]=e,a}var jo=F(function(e){return e==null}),Uo=X(function t(e,n,o){if(e.length===0)return n;var a=e[0];if(e.length>1){var i=!jo(o)&&Q(a,o)&&typeof o[a]=="object"?o[a]:Kt(e[1])?[]:{};n=t(Array.prototype.slice.call(e,1),n,i)}return Fo(a,n,o)}),Ho=X(function(e,n,o){return Uo([e],n,o)});function Yo(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function Wo(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 In(t,e,n){if(n||(n=new Ko),qo(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]=t[l]);return i};switch(Pe(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 Wo(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 qo(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var Ko=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}();function Zo(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function ve(t,e){return function(){var n=arguments.length;if(n===0)return e();var o=arguments[n-1];return vt(o)||typeof o[t]!="function"?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}var Xo=X(ve("slice",function(e,n,o){return Array.prototype.slice.call(o,e,n)})),Jo=F(ve("tail",Xo(1,1/0)));function Xt(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Ht(arguments[0].length,Cn(Zo,arguments[0],Jo(arguments)))}var Qo=F(function(e){return Zt(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});function Bn(){if(arguments.length===0)throw new Error("compose requires at least one argument");return Xt.apply(this,Qo(arguments))}var ta=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"]=ht.init,t.prototype["@@transducer/result"]=function(e){var n;for(n in this.inputs)if(Q(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,In(this.valueAcc)],this.inputs[o][1]=this.valueFn(this.inputs[o][1],n),e},t}();function ea(t,e,n){return function(o){return new ta(t,e,n,o)}}var na=ke(4,[],Ct([],ea,function(e,n,o,a){var i=vn(function(s,l){var u=o(l),c=e(Q(u,s)?s[u]:In(n),l);return c&&c["@@transducer/reduced"]?_e(s):(s[u]=c,s)});return Mn(i,{},a)})),ra=X(function(e,n,o){var a=e(n),i=e(o);return a>i?-1:a<i?1:0});function oa(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 aa=F(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():vt(e)?[]:Zt(e)?"":qt(e)?{}:An(e)?function(){return arguments}():oa(e)?e.constructor.from(""):void 0}),ia=function(){function t(e,n){this.xf=n,this.f=e,this.found=!1}return t.prototype["@@transducer/init"]=ht.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=_e(this.xf["@@transducer/step"](e,n))),e},t}();function sa(t){return function(e){return new ia(t,e)}}var la=z(Ct(["find"],sa,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return n[o];o+=1}})),ca=function(){function t(e,n){this.xf=n,this.f=e,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=ht.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=_e(this.xf["@@transducer/step"](e,this.idx))),e},t}();function ua(t){return function(e){return new ca(t,e)}}var da=z(Ct([],ua,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return o;o+=1}return-1})),fa=z(ve("groupBy",na(function(t,e){return t.push(e),t},[]))),ma=X(function(e,n,o){return Mt(Math.max(e.length,n.length,o.length),function(){return e.apply(this,arguments)?n.apply(this,arguments):o.apply(this,arguments)})}),pa=z(Pn),Rn=z(function(e,n){return Mt(e+1,function(){var o=arguments[e];if(o!=null&&Yo(o[n]))return o[n].apply(o,Array.prototype.slice.call(arguments,0,e));throw new TypeError(De(o)+' does not have a method named "'+n+'"')})}),zn=F(function(e){return e!=null&&Yt(e,aa(e))}),ha=z(function(e,n){return function(o){return function(a){return ft(function(i){return n(i,a)},o(e(a)))}}});function ga(t,e){for(var n=e,o=0;o<t.length;o+=1){if(n==null)return;var a=t[o];Kt(a)?n=$n(a,n):n=n[a]}return n}var ya=F(function(e){return ha(ut(e),Ho(e))}),ba=X(function(e,n,o){var a={},i;n=n||{},o=o||{};for(i in n)Q(i,n)&&(a[i]=Q(i,o)?e(i,n[i],o[i]):n[i]);for(i in o)Q(i,o)&&!Q(i,a)&&(a[i]=o[i]);return a}),Ta=X(function t(e,n,o){return ba(function(a,i,s){return qt(i)&&qt(s)?t(e,i,s):e(a,i,s)},n,o)}),Vn=z(function(e,n){return Ta(function(o,a,i){return i},e,n)}),Sa=z(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}),Gn=function(t){return{value:t,map:function(e){return Gn(e(t))}}},wa=X(function(e,n,o){return e(function(a){return Gn(n(a))})(o).value}),Ce=z(ga),Fn=X(function(e,n,o){return e(ut(n,o))}),Oa=X(function(e,n,o){return o.replace(e,n)}),Aa=z(function(e,n){return Array.prototype.slice.call(n,0).sort(e)}),jn=z(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})}),kt=Rn(1,"split"),Un=Rn(0,"toLowerCase"),It=`
|
|
9
|
-
\v\f\r \u2028\u2029\uFEFF`,ka="",_a=typeof String.prototype.trim=="function",Jt=F(!_a||It.trim()||!ka.trim()?function(e){var n=new RegExp("^["+It+"]["+It+"]*"),o=new RegExp("["+It+"]["+It+"]*$");return e.replace(n,"").replace(o,"")}:function(e){return e.trim()});function Hn(t,e,n,o){const a=r.ref(""),i=r.ref(!1),s=l=>{const u=$e(ut(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(ut(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 Yn=Symbol("I18nContext"),W=r.reactive({messages:{},locale:"",fallbackLocale:""});function Wn({messages:t={},locale:e="",fallbackLocale:n=""}){W.messages=Vn(W.messages,t),W.locale=e,W.fallbackLocale=n;const o=(u,c={})=>{const d=!zn(c),f=ft(Jt,kt(".",u));return r.computed(()=>{const g=qn(f);return d?Pa(g,c):g}).value},a=u=>{const c=ft(Jt,kt(".",u));return!!Le(W.locale,c,W.messages)},i=u=>{W.locale=u},l={locale:r.computed({get(){return W.locale},set(u){W.locale=u}}),setLocale:i,translate:o,hasTranslation:a};return r.provide(Yn,l),{translate:o}}function ot(t){t&&(W.messages=t.messages,W.locale=t.locale,W.fallbackLocale=t.fallbackLocale);const e=xa();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranslation:e.hasTranslation}}function xa(){const t=r.inject(Yn,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}function qn(t=[]){let e=Le(W.locale,t,W.messages);return!e&&W.fallbackLocale&&(e=Le(W.fallbackLocale,t,W.messages)),e||t.join(".")}function Le(t,e,n){return Ce([t,...e],n)}function Pa(t,e){return t.replace(/\{(\w+)\}/g,(n,o)=>e[o])}const Kn=r.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const n=ft(Jt,kt(".",t.path)),o=qn(n),a=kt(/\{|\}/,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 Ie(t,e="",n={}){const o=r.ref(""),{t:a}=ot(),i=r.computed(()=>{if(r.unref(e))try{const u=Zn(r.unref(t),r.unref(e));return Sa(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(()=>ft(s,i.value)),error:o}}function Zn(t,e=""){const n=ft(Jt,kt(",",e)),o=gt(t);if(n[0]==="")return[];const a=n.findIndex(i=>!o.includes(i));if(a>-1)throw n[a];return n}function Xn(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("-")}const dt=function(t="",e={}){return t.replace(/\{([^}]+)\}/g,(n,o)=>Ce(kt(".",o),e))},Jn=Symbol("ErrorProviderContext");function Qn(){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||Xn(i.message),cause:i.cause}},o=()=>{t.value="",e.value={}},a={onError:n,reset:o};return r.provide(Jn,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 Be(){const t=Ea();return{onError:t.onError,reset:t.reset}}function Ea(){const t=r.inject(Jn,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}async function tr(t,e,n){const o=`${ln}${r.unref(t)}${zn(n)?"":`?${Na(n)}`}`;return new Promise((a,i)=>{fetch(o,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":$a(e)}}).then(s=>s.json()).then(s=>{if(s.error)return i(s);a(s.data)}).catch(s=>{i(s)})})}function Na(t){return Object.keys(t).map(e=>`${e}=${t[e]}`).join("&")}function $a(t){var e;return t||((e=window.__MJSZ_VBR_WIDGET__)!=null&&e.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:"")}function er(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}const Qt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Da=Object.prototype.toString,Ma=t=>Da.call(t)==="[object Object]",at=()=>{},va=Ca();function Ca(){var t,e;return Qt&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function La(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 nr=t=>t();function Ia(t=nr){const e=r.ref(!0);function n(){e.value=!1}function o(){e.value=!0}const a=(...i)=>{e.value&&t(...i)};return{isActive:r.readonly(e),pause:n,resume:o,eventFilter:a}}function Re(t,e=!1,n="Timeout"){return new Promise((o,a)=>{setTimeout(e?()=>a(n):o,t)})}function ze(t){return Array.isArray(t)?t:[t]}function Ba(t,e,n={}){const{eventFilter:o=nr,...a}=n;return r.watch(t,La(o,e),a)}function Ra(t,e,n={}){const{eventFilter:o,...a}=n,{eventFilter:i,pause:s,resume:l,isActive:u}=Ia(o);return{stop:Ba(t,e,{...a,eventFilter:i}),pause:s,resume:l,isActive:u}}function Ve(t,e=!1){function n(f,{flush:y="sync",deep:g=!1,timeout:p,throwOnTimeout:m}={}){let h=null;const _=[new Promise(x=>{h=r.watch(t,E=>{f(E)!==e&&(h?h():r.nextTick(()=>h==null?void 0:h()),x(E))},{flush:y,deep:g,immediate:!0})})];return p!=null&&_.push(Re(p,m).then(()=>r.toValue(t)).finally(()=>h==null?void 0:h())),Promise.race(_)}function o(f,y){if(!r.isRef(f))return n(E=>E===f,y);const{flush:g="sync",deep:p=!1,timeout:m,throwOnTimeout:h}=y??{};let S=null;const x=[new Promise(E=>{S=r.watch([t,f],([N,v])=>{e!==(N===v)&&(S?S():r.nextTick(()=>S==null?void 0:S()),E(N))},{flush:g,deep:p,immediate:!0})})];return m!=null&&x.push(Re(m,h).then(()=>r.toValue(t)).finally(()=>(S==null||S(),r.toValue(t)))),Promise.race(x)}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(g=>{const p=Array.from(g);return p.includes(f)||p.includes(r.toValue(f))},y)}function c(f){return d(1,f)}function d(f=1,y){let g=-1;return n(()=>(g+=1,g>=f),y)}return Array.isArray(r.toValue(t))?{toMatch:n,toContains:u,changed:c,changedTimes:d,get not(){return Ve(t,!e)}}:{toMatch:n,toBe:o,toBeTruthy:a,toBeNull:i,toBeNaN:l,toBeUndefined:s,changed:c,changedTimes:d,get not(){return Ve(t,!e)}}}function za(t){return Ve(t)}function Va(t,e,n={}){const{immediate:o=!0}=n,a=r.ref(!1);let i=null;function s(){i&&(clearTimeout(i),i=null)}function l(){a.value=!1,s()}function u(...c){s(),a.value=!0,i=setTimeout(()=>{a.value=!1,i=null,t(...c)},r.toValue(e))}return o&&(a.value=!0,Qt&&u()),er(l),{isPending:r.readonly(a),start:u,stop:l}}function Ga(t,e,n){return r.watch(t,e,{...n,immediate:!0})}function Fa(t,e,n){const o=r.watch(t,(...a)=>(r.nextTick(()=>o()),e(...a)),n);return o}function ja(t,e,n){const o=r.watch(t,(a,i,s)=>{a&&(n!=null&&n.once&&r.nextTick(()=>o()),e(a,i,s))},{...n,once:!1});return o}const rr=Qt?window:void 0,Ua=Qt?window.document:void 0;function _t(t){var e;const n=r.toValue(t);return(e=n==null?void 0:n.$el)!=null?e:n}function xt(...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=ze(r.toValue(t[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),i=Ga(()=>{var l,u;return[(u=(l=a.value)==null?void 0:l.map(c=>_t(c)))!=null?u:[rr].filter(c=>c!=null),ze(r.toValue(a.value?t[1]:t[0])),ze(r.unref(a.value?t[2]:t[1])),r.toValue(a.value?t[3]:t[2])]},([l,u,c,d])=>{if(n(),!(l!=null&&l.length)||!(u!=null&&u.length)||!(c!=null&&c.length))return;const f=Ma(d)?{...d}:d;e.push(...l.flatMap(y=>u.flatMap(g=>c.map(p=>o(y,g,p,f)))))},{flush:"post"}),s=()=>{i(),n()};return er(n),s}let or=!1;function Ha(t,e,n={}){const{window:o=rr,ignore:a=[],capture:i=!0,detectIframe:s=!1}=n;if(!o)return at;if(va&&!or){or=!0;const m={passive:!0};Array.from(o.document.body.children).forEach(h=>xt(h,"click",at,m)),xt(o.document.documentElement,"click",at,m)}let l=!0;const u=m=>r.toValue(a).some(h=>{if(typeof h=="string")return Array.from(o.document.querySelectorAll(h)).some(S=>S===m.target||m.composedPath().includes(S));{const S=_t(h);return S&&(m.target===S||m.composedPath().includes(S))}});function c(m){const h=r.toValue(m);return h&&h.$.subTree.shapeFlag===16}function d(m,h){const S=r.toValue(m),_=S.$.subTree&&S.$.subTree.children;return _==null||!Array.isArray(_)?!1:_.some(x=>x.el===h.target||h.composedPath().includes(x.el))}const f=m=>{const h=_t(t);if(m.target!=null&&!(!(h instanceof Element)&&c(t)&&d(t,m))&&!(!h||h===m.target||m.composedPath().includes(h))){if(m.detail===0&&(l=!u(m)),!l){l=!0;return}e(m)}};let y=!1;const g=[xt(o,"click",m=>{y||(y=!0,setTimeout(()=>{y=!1},0),f(m))},{passive:!0,capture:i}),xt(o,"pointerdown",m=>{const h=_t(t);l=!u(m)&&!!(h&&!m.composedPath().includes(h))},{passive:!0}),s&&xt(o,"blur",m=>{setTimeout(()=>{var h;const S=_t(t);((h=o.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(S!=null&&S.contains(o.document.activeElement))&&e(m)},0)},{passive:!0})].filter(Boolean);return()=>g.forEach(m=>m())}function ar(t,e,n){const{immediate:o=!0,delay:a=0,onError:i=at,onSuccess:s=at,resetOnExecute:l=!0,shallow:u=!0,throwError:c}=n??{},d=u?r.shallowRef(e):r.ref(e),f=r.ref(!1),y=r.ref(!1),g=r.shallowRef(void 0);async function p(S=0,..._){l&&(d.value=e),g.value=void 0,f.value=!1,y.value=!0,S>0&&await Re(S);const x=typeof t=="function"?t(..._):t;try{const E=await x;d.value=E,f.value=!0,s(E)}catch(E){if(g.value=E,i(E),c)throw E}finally{y.value=!1}return d.value}o&&p(a);const m={state:d,isReady:f,isLoading:y,error:g,execute:p};function h(){return new Promise((S,_)=>{za(y).toBe(!1).then(()=>S(m)).catch(_)})}return{...m,then(S,_){return h().then(S,_)}}}function Ya(t={}){const{document:e=Ua}=t;if(!e)return r.ref("visible");const n=r.ref(e.visibilityState);return xt(e,"visibilitychange",()=>{n.value=e.visibilityState},{passive:!0}),n}async function Wa(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:g,fetchPriority:p,ismap:m,usemap:h}=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),g!=null&&(o.decoding=g),p!=null&&(o.fetchPriority=p),m!=null&&(o.isMap=m),h!=null&&(o.useMap=h),o.onload=()=>e(o),o.onerror=n})}function qa(t,e={}){const n=ar(()=>Wa(r.toValue(t)),void 0,{resetOnExecute:!0,...e});return r.watch(()=>r.toValue(t),()=>n.execute(e.delay),{deep:!0}),n}function ir(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}=Va(()=>{o.value=!0},n);return r.watch(a,l=>{if(l)return i();s(),o.value=!1},{immediate:!0,deep:!0}),o}function tt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var te={exports:{}},Ka=te.exports,sr;function lr(){return sr||(sr=1,function(t,e){(function(n,o){t.exports=o()})(Ka,function(){var n=1e3,o=6e4,a=36e5,i="millisecond",s="second",l="minute",u="hour",c="day",d="week",f="month",y="quarter",g="year",p="date",m="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(P){var k=["th","st","nd","rd"],w=P%100;return"["+P+(k[(w-20)%10]||k[w]||k[0])+"]"}},x=function(P,k,w){var O=String(P);return!O||O.length>=k?P:""+Array(k+1-O.length).join(w)+P},E={s:x,z:function(P){var k=-P.utcOffset(),w=Math.abs(k),O=Math.floor(w/60),A=w%60;return(k<=0?"+":"-")+x(O,2,"0")+":"+x(A,2,"0")},m:function P(k,w){if(k.date()<w.date())return-P(w,k);var O=12*(w.year()-k.year())+(w.month()-k.month()),A=k.clone().add(O,f),D=w-A<0,$=k.clone().add(O+(D?-1:1),f);return+(-(O+(w-A)/(D?A-$:$-A))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:f,y:g,w:d,d:c,D:p,h:u,m:l,s,ms:i,Q:y}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},N="en",v={};v[N]=_;var L="$isDayjsObject",G=function(P){return P instanceof H||!(!P||!P[L])},U=function P(k,w,O){var A;if(!k)return N;if(typeof k=="string"){var D=k.toLowerCase();v[D]&&(A=D),w&&(v[D]=w,A=D);var $=k.split("-");if(!A&&$.length>1)return P($[0])}else{var R=k.name;v[R]=k,A=R}return!O&&A&&(N=A),A||!O&&N},B=function(P,k){if(G(P))return P.clone();var w=typeof k=="object"?k:{};return w.date=P,w.args=arguments,new H(w)},M=E;M.l=U,M.i=G,M.w=function(P,k){return B(P,{locale:k.$L,utc:k.$u,x:k.$x,$offset:k.$offset})};var H=function(){function P(w){this.$L=U(w.locale,null,!0),this.parse(w),this.$x=this.$x||w.x||{},this[L]=!0}var k=P.prototype;return k.parse=function(w){this.$d=function(O){var A=O.date,D=O.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(h);if($){var R=$[2]-1||0,j=($[7]||"0").substring(0,3);return D?new Date(Date.UTC($[1],R,$[3]||1,$[4]||0,$[5]||0,$[6]||0,j)):new Date($[1],R,$[3]||1,$[4]||0,$[5]||0,$[6]||0,j)}}return new Date(A)}(w),this.init()},k.init=function(){var w=this.$d;this.$y=w.getFullYear(),this.$M=w.getMonth(),this.$D=w.getDate(),this.$W=w.getDay(),this.$H=w.getHours(),this.$m=w.getMinutes(),this.$s=w.getSeconds(),this.$ms=w.getMilliseconds()},k.$utils=function(){return M},k.isValid=function(){return this.$d.toString()!==m},k.isSame=function(w,O){var A=B(w);return this.startOf(O)<=A&&A<=this.endOf(O)},k.isAfter=function(w,O){return B(w)<this.startOf(O)},k.isBefore=function(w,O){return this.endOf(O)<B(w)},k.$g=function(w,O,A){return M.u(w)?this[O]:this.set(A,w)},k.unix=function(){return Math.floor(this.valueOf()/1e3)},k.valueOf=function(){return this.$d.getTime()},k.startOf=function(w,O){var A=this,D=!!M.u(O)||O,$=M.p(w),R=function(At,K){var pt=M.w(A.$u?Date.UTC(A.$y,K,At):new Date(A.$y,K,At),A);return D?pt:pt.endOf(c)},j=function(At,K){return M.w(A.toDate()[At].apply(A.toDate("s"),(D?[0,0,0,0]:[23,59,59,999]).slice(K)),A)},Y=this.$W,q=this.$M,J=this.$D,Dt="set"+(this.$u?"UTC":"");switch($){case g:return D?R(1,0):R(31,11);case f:return D?R(1,q):R(0,q+1);case d:var Ot=this.$locale().weekStart||0,jt=(Y<Ot?Y+7:Y)-Ot;return R(D?J-jt:J+(6-jt),q);case c:case p:return j(Dt+"Hours",0);case u:return j(Dt+"Minutes",1);case l:return j(Dt+"Seconds",2);case s:return j(Dt+"Milliseconds",3);default:return this.clone()}},k.endOf=function(w){return this.startOf(w,!1)},k.$set=function(w,O){var A,D=M.p(w),$="set"+(this.$u?"UTC":""),R=(A={},A[c]=$+"Date",A[p]=$+"Date",A[f]=$+"Month",A[g]=$+"FullYear",A[u]=$+"Hours",A[l]=$+"Minutes",A[s]=$+"Seconds",A[i]=$+"Milliseconds",A)[D],j=D===c?this.$D+(O-this.$W):O;if(D===f||D===g){var Y=this.clone().set(p,1);Y.$d[R](j),Y.init(),this.$d=Y.set(p,Math.min(this.$D,Y.daysInMonth())).$d}else R&&this.$d[R](j);return this.init(),this},k.set=function(w,O){return this.clone().$set(w,O)},k.get=function(w){return this[M.p(w)]()},k.add=function(w,O){var A,D=this;w=Number(w);var $=M.p(O),R=function(q){var J=B(D);return M.w(J.date(J.date()+Math.round(q*w)),D)};if($===f)return this.set(f,this.$M+w);if($===g)return this.set(g,this.$y+w);if($===c)return R(1);if($===d)return R(7);var j=(A={},A[l]=o,A[u]=a,A[s]=n,A)[$]||1,Y=this.$d.getTime()+w*j;return M.w(Y,this)},k.subtract=function(w,O){return this.add(-1*w,O)},k.format=function(w){var O=this,A=this.$locale();if(!this.isValid())return A.invalidDate||m;var D=w||"YYYY-MM-DDTHH:mm:ssZ",$=M.z(this),R=this.$H,j=this.$m,Y=this.$M,q=A.weekdays,J=A.months,Dt=A.meridiem,Ot=function(K,pt,Ut,we){return K&&(K[pt]||K(O,D))||Ut[pt].slice(0,we)},jt=function(K){return M.s(R%12||12,K,"0")},At=Dt||function(K,pt,Ut){var we=K<12?"AM":"PM";return Ut?we.toLowerCase():we};return D.replace(S,function(K,pt){return pt||function(Ut){switch(Ut){case"YY":return String(O.$y).slice(-2);case"YYYY":return M.s(O.$y,4,"0");case"M":return Y+1;case"MM":return M.s(Y+1,2,"0");case"MMM":return Ot(A.monthsShort,Y,J,3);case"MMMM":return Ot(J,Y);case"D":return O.$D;case"DD":return M.s(O.$D,2,"0");case"d":return String(O.$W);case"dd":return Ot(A.weekdaysMin,O.$W,q,2);case"ddd":return Ot(A.weekdaysShort,O.$W,q,3);case"dddd":return q[O.$W];case"H":return String(R);case"HH":return M.s(R,2,"0");case"h":return jt(1);case"hh":return jt(2);case"a":return At(R,j,!0);case"A":return At(R,j,!1);case"m":return String(j);case"mm":return M.s(j,2,"0");case"s":return String(O.$s);case"ss":return M.s(O.$s,2,"0");case"SSS":return M.s(O.$ms,3,"0");case"Z":return $}return null}(K)||$.replace(":","")})},k.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},k.diff=function(w,O,A){var D,$=this,R=M.p(O),j=B(w),Y=(j.utcOffset()-this.utcOffset())*o,q=this-j,J=function(){return M.m($,j)};switch(R){case g:D=J()/12;break;case f:D=J();break;case y:D=J()/3;break;case d:D=(q-Y)/6048e5;break;case c:D=(q-Y)/864e5;break;case u:D=q/a;break;case l:D=q/o;break;case s:D=q/n;break;default:D=q}return A?D:M.a(D)},k.daysInMonth=function(){return this.endOf(f).$D},k.$locale=function(){return v[this.$L]},k.locale=function(w,O){if(!w)return this.$L;var A=this.clone(),D=U(w,O,!0);return D&&(A.$L=D),A},k.clone=function(){return M.w(this.$d,this)},k.toDate=function(){return new Date(this.valueOf())},k.toJSON=function(){return this.isValid()?this.toISOString():null},k.toISOString=function(){return this.$d.toISOString()},k.toString=function(){return this.$d.toUTCString()},P}(),rt=H.prototype;return B.prototype=rt,[["$ms",i],["$s",s],["$m",l],["$H",u],["$W",c],["$M",f],["$y",g],["$D",p]].forEach(function(P){rt[P[1]]=function(k){return this.$g(k,P[0],P[1])}}),B.extend=function(P,k){return P.$i||(P(k,H,B),P.$i=!0),B},B.locale=U,B.isDayjs=G,B.unix=function(P){return B(1e3*P)},B.en=v[N],B.Ls=v,B.p={},B})}(te)),te.exports}var Za=lr();const C=tt(Za);var ee={exports:{}},Xa=ee.exports,cr;function Ja(){return cr||(cr=1,function(t,e){(function(n,o){t.exports=o()})(Xa,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)}}})}(ee)),ee.exports}var Qa=Ja();const ti=tt(Qa);var ne={exports:{}},ei=ne.exports,ur;function ni(){return ur||(ur=1,function(t,e){(function(n,o){t.exports=o()})(ei,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))}}})}(ne)),ne.exports}var ri=ni();const oi=tt(ri);var re={exports:{}},ai=re.exports,dr;function ii(){return dr||(dr=1,function(t,e){(function(n,o){t.exports=o()})(ai,function(){return function(n,o){o.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})}(re)),re.exports}var si=ii();const li=tt(si);var oe={exports:{}},ci=oe.exports,fr;function ui(){return fr||(fr=1,function(t,e){(function(n,o){t.exports=o()})(ci,function(){return function(n,o,a){o.prototype.isToday=function(){var i="YYYY-MM-DD",s=a();return this.format(i)===s.format(i)}}})}(oe)),oe.exports}var di=ui();const fi=tt(di);var ae={exports:{}},mi=ae.exports,mr;function pi(){return mr||(mr=1,function(t,e){(function(n,o){t.exports=o()})(mi,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(g,p,m){var h=m&&m.toUpperCase();return p||y[m]||n[m]||y[h].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,_,x){return _||x.slice(1)})})}(u,c===void 0?{}:c);return l.call(this,d)}}})}(ae)),ae.exports}var hi=pi();const gi=tt(hi);var ie={exports:{}},yi=ie.exports,pr;function bi(){return pr||(pr=1,function(t,e){(function(n,o){t.exports=o()})(yi,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)}}})}(ie)),ie.exports}var Ti=bi();const Si=tt(Ti);var se={exports:{}},wi=se.exports,hr;function Oi(){return hr||(hr=1,function(t,e){(function(n,o){t.exports=o()})(wi,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,g){for(var p,m,h,S=f.$locale().relativeTime||s,_=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"}],x=_.length,E=0;E<x;E+=1){var N=_[E];N.d&&(p=y?a(c).diff(f,N.d,!0):f.diff(c,N.d,!0));var v=(n.rounding||Math.round)(Math.abs(p));if(h=p>0,v<=N.r||!N.r){v<=1&&E>0&&(N=_[E-1]);var L=S[N.l];g&&(v=g(""+v)),m=typeof L=="string"?L.replace("%d",v):L(v,d,N.l,h);break}}if(d)return m;var G=h?S.future:S.past;return typeof G=="function"?G(m):G.replace("%s",m)},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)}}})}(se)),se.exports}var Ai=Oi();const ki=tt(Ai);var le={exports:{}},_i=le.exports,gr;function xi(){return gr||(gr=1,function(t,e){(function(n,o){t.exports=o()})(_i,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,g,p){p===void 0&&(p={});var m=new Date(y),h=function(S,_){_===void 0&&(_={});var x=_.timeZoneName||"short",E=S+"|"+x,N=o[E];return N||(N=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:S,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:x}),o[E]=N),N}(g,p);return h.formatToParts(m)},c=function(y,g){for(var p=u(y,g),m=[],h=0;h<p.length;h+=1){var S=p[h],_=S.type,x=S.value,E=n[_];E>=0&&(m[E]=parseInt(x,10))}var N=m[3],v=N===24?0:N,L=m[0]+"-"+m[1]+"-"+m[2]+" "+v+":"+m[4]+":"+m[5]+":000",G=+y;return(s.utc(L).valueOf()-(G-=G%1e3))/6e4},d=i.prototype;d.tz=function(y,g){y===void 0&&(y=l);var p,m=this.utcOffset(),h=this.toDate(),S=h.toLocaleString("en-US",{timeZone:y}),_=Math.round((h-new Date(S))/1e3/60),x=15*-Math.round(h.getTimezoneOffset()/15)-_;if(!Number(x))p=this.utcOffset(0,g);else if(p=s(S,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(x,!0),g){var E=p.utcOffset();p=p.add(m-E,"minute")}return p.$x.$timezone=y,p},d.offsetName=function(y){var g=this.$x.$timezone||s.tz.guess(),p=u(this.valueOf(),g,{timeZoneName:y}).find(function(m){return m.type.toLowerCase()==="timezonename"});return p&&p.value};var f=d.startOf;d.startOf=function(y,g){if(!this.$x||!this.$x.$timezone)return f.call(this,y,g);var p=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return f.call(p,y,g).tz(this.$x.$timezone,!0)},s.tz=function(y,g,p){var m=p&&g,h=p||g||l,S=c(+s(),h);if(typeof y!="string")return s(y).tz(h);var _=function(v,L,G){var U=v-60*L*1e3,B=c(U,G);if(L===B)return[U,L];var M=c(U-=60*(B-L)*1e3,G);return B===M?[U,B]:[v-60*Math.min(B,M)*1e3,Math.max(B,M)]}(s.utc(y,m).valueOf(),S,h),x=_[0],E=_[1],N=s(x).utcOffset(E);return N.$x.$timezone=h,N},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(y){l=y}}})}(le)),le.exports}var Pi=xi();const Ei=tt(Pi);var ce={exports:{}},Ni=ce.exports,yr;function $i(){return yr||(yr=1,function(t,e){(function(n,o){t.exports=o()})(Ni,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(m){var h={date:m,utc:!0,args:arguments};return new s(h)},u.utc=function(m){var h=l(this.toDate(),{locale:this.$L,utc:!0});return m?h.add(this.utcOffset(),n):h},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(m){m.utc&&(this.$u=!0),this.$utils().u(m.$offset)||(this.$offset=m.$offset),c.call(this,m)};var d=u.init;u.init=function(){if(this.$u){var m=this.$d;this.$y=m.getUTCFullYear(),this.$M=m.getUTCMonth(),this.$D=m.getUTCDate(),this.$W=m.getUTCDay(),this.$H=m.getUTCHours(),this.$m=m.getUTCMinutes(),this.$s=m.getUTCSeconds(),this.$ms=m.getUTCMilliseconds()}else d.call(this)};var f=u.utcOffset;u.utcOffset=function(m,h){var S=this.$utils().u;if(S(m))return this.$u?0:S(this.$offset)?f.call(this):this.$offset;if(typeof m=="string"&&(m=function(N){N===void 0&&(N="");var v=N.match(o);if(!v)return null;var L=(""+v[0]).match(a)||["-",0,0],G=L[0],U=60*+L[1]+ +L[2];return U===0?0:G==="+"?U:-U}(m),m===null))return this;var _=Math.abs(m)<=16?60*m:m,x=this;if(h)return x.$offset=_,x.$u=m===0,x;if(m!==0){var E=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(x=this.local().add(_+E,n)).$offset=_,x.$x.$localOffset=E}else x=this.utc();return x};var y=u.format;u.format=function(m){var h=m||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return y.call(this,h)},u.valueOf=function(){var m=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*m},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var g=u.toDate;u.toDate=function(m){return m==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var p=u.diff;u.diff=function(m,h,S){if(m&&this.$u===m.$u)return p.call(this,m,h,S);var _=this.local(),x=l(m).local();return p.call(_,x,h,S)}}})}(ce)),ce.exports}var Di=$i();const Mi=tt(Di);var ue={exports:{}},vi=ue.exports,br;function Ci(){return br||(br=1,function(t,e){(function(n,o){t.exports=o()})(vi,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")}}})}(ue)),ue.exports}var Li=Ci();const Ii=tt(Li);var de={exports:{}},Bi=de.exports,Tr;function Ri(){return Tr||(Tr=1,function(t,e){(function(n,o){t.exports=o(lr())})(Bi,function(n){function o(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=o(n),i={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(s,l,u,c){return"néhány másodperc"+(c||l?"":"e")},m:function(s,l,u,c){return"egy perc"+(c||l?"":"e")},mm:function(s,l,u,c){return s+" perc"+(c||l?"":"e")},h:function(s,l,u,c){return"egy "+(c||l?"óra":"órája")},hh:function(s,l,u,c){return s+" "+(c||l?"óra":"órája")},d:function(s,l,u,c){return"egy "+(c||l?"nap":"napja")},dd:function(s,l,u,c){return s+" "+(c||l?"nap":"napja")},M:function(s,l,u,c){return"egy "+(c||l?"hónap":"hónapja")},MM:function(s,l,u,c){return s+" "+(c||l?"hónap":"hónapja")},y:function(s,l,u,c){return"egy "+(c||l?"év":"éve")},yy:function(s,l,u,c){return s+" "+(c||l?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return a.default.locale(i,null,!0),i})}(de)),de.exports}Ri(),C.extend(Mi),C.extend(Ei),C.extend(ti),C.extend(ki),C.extend(gi),C.extend(li),C.extend(oi),C.extend(fi),C.extend(Ii),C.extend(Si);const Sr=()=>C.tz.guess();function yt(t="",e="",n="",o="hu"){return n=n||C.tz.guess(),C(t).isValid()?C(t).tz(n).locale(o).format(e):""}function Bt(t="",e="",n="hu"){if(!C(t).isValid())return"";e=e||C.tz.guess();const a=new Intl.DateTimeFormat(zi(n),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(i=>i.type==="timeZoneName");return a&&a.value}function zi(t){return hn.get(t)}function Ge(t){const e=t.split(":");return Number.parseInt(e[0],10)*60+Number.parseInt(e[1],10)}function wr(t){const e=~~(t/60),n=~~t%60;return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function Or(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 Fe(t,e="day"){return C().isSameOrBefore(C(t),e)}function Ar(t,e,n,o="[]"){return C(t).isBetween(e,C(n),"day",o)}function Vi(t,e,n="month"){return C(t).isSame(e,n)}function Gi(t,e="hu"){return C(t).locale(e).toNow(!0)}function Fi(t,e,n="day"){return C(t).isBefore(e,n)}function ji(t,e,n="day"){return C(t).isAfter(e,n)}function Ui(t){return C(t).isToday()}function Hi(t){const e=C().weekday(1),n=C().weekday(7);return Ar(t,e,n)}function Yi(t){const e=C(t).weekday(1),n=C(t).weekday(7);return{startDate:e,endDate:n}}function Wi(t,e){return C(t).subtract(e,"day")}function qi(t,e){return C(t).add(e,"day")}function Ki(t){return C(t).startOf("month")}function Zi(t){return C(t).endOf("month")}function Xi(t){return Array.isArray(t)&&(t=t.map(e=>C(e))),C.min(t)}function Ji(t){return Array.isArray(t)&&(t=t.map(e=>C(e))),C.max(...t)}function Qi(t={}){const{initial:e=1,items:n=[],limit:o,auto:a=!1}=t,i=r.ref(r.unref(e)),s=c=>Fe(c,"day");return Fa(n,()=>{if(!a)return;const c=da(Fn(s,"gameDate"))(r.unref(n));i.value=c===-1?1:Math.floor(c/o)+1}),{page:i,change:c=>{i.value=c}}}function ts({currentPage:t,itemsPerPage:e=20,totalItems:n,rangeLength:o=5,update:a=at}){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},(p,m)=>m+1),y=Math.floor(o/2);let g=Math.max(d-y,0);return g+o>=i.value&&(g=Math.max(i.value-o,0)),f.slice(g,g+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 es(t={}){const{items:e=[],element:n,offset:o=0,enabled:a=!0}=t,i=l=>Fe(l,"day"),s=()=>{var y;if(!r.unref(a))return;const l=la(Fn(i,"gameDate"))(r.unref(e));if(!l)return;const u=yt(l.gameDate,"YYYY-MM-DD"),c=_t(n).querySelector(`div[data-gamedate="${u}"]`);if(!c)return;const d=getComputedStyle(c).getPropertyValue("--vbr-widget-sticky-top-offset")||0,f=(((y=c.getBoundingClientRect())==null?void 0:y.top)??0)-r.unref(o)-Number.parseFloat(d);window.scrollTo(0,f)};Ra(()=>({items:r.unref(e),element:r.unref(n)}),async({items:l,element:u})=>{l.length===0||!u||(await r.nextTick(),s())})}function ns({options:t={},transform:e=a=>a,onError:n=at,onSuccess:o=at}){const{path:a,apiKey:i,params:s,resetOnExecute:l=!1,immediate:u=!1}=t,{state:c,error:d,isLoading:f,execute:y}=ar(()=>tr(a,i,r.unref(s)).then(g=>e(g)),[],{immediate:u,resetOnExecute:l,onError:n,onSuccess:o});return{state:c,error:d,isLoading:f,execute:y}}/*! *****************************************************************************
|
|
8
|
+
var MjszVbrElementsCore=function(T,r){"use strict";const ln="https://api.icehockey.hu/vbr",cn="https://www.jegkorongszovetseg.hu/event/game/{gameId}",un="https://jegkorongszovetseg.hu/assets/images/player_blank.png",dn="https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}",fn="https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}",mn="https://www.ersteliga.hu/stats?report={id}",pn="https://api.icehockey.hu/static/api/flag",ct="original",b="descend",I="ascend",hn=new Map().set("hu","hu-hu").set("en","hu-gb"),gn=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),qr=1e3*60*5,yn=1e3,bn={gameName:{label:"table.gameName.short",tooltip:"table.gameName.tooltip",class:"is-text-left is-text-light"},gameDateDate:{label:"table.gameDate.short",tooltip:"table.gameDate.tooltip",class:"is-text-left"},gameDateTime:{label:"table.gameDateTime.short",tooltip:"table.gameDateTime.tooltip",class:"is-text-left"},homeTeamName:{label:"table.homeTeam.short",tooltip:"table.homeTeam.tooltip",class:"is-text-right is-w-auto is-text-bold"},homeTeamLogo:{label:"",class:"is-has-image"},gameResult:{label:"",class:"is-text-bold is-text-xl"},gameResultType:{label:"",tooltip:""},awayTeamLogo:{label:"",class:"is-has-image"},awayTeamName:{label:"table.awayTeam.short",tooltip:"table.awayTeam.tooltip",class:"is-text-left is-w-auto is-text-bold"},location:{label:"table.location.short",tooltip:"table.location.tooltip",class:"is-text-left"},broadcast:{label:"table.broadcast.short",tooltip:"table.broadcast.tooltip"},more:{label:""}},Kr={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},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:I}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:I}]},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:I}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b},{target:"gamesPlayed",direction:I},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},Zr={index:{label:"#",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},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:I}]},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:I}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b}]}},Xr={index:{label:"#",class:"is-text-left is-text-italic is-text-light"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold"},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",class:"is-text-light"},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",class:"is-text-light"},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",class:"is-text-light"},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",class:"is-text-light"},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold"}},Jr={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},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}]}},Qr={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},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}]}},to={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},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}]}},eo={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},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}]}},no={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},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}]}},ro={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},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}]}},oo={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},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}]}},ao={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},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}]}},io={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},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}]}},so={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},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:I}]},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:I}]},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:I}]},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:I}]},sp:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"sp",direction:b}]}};function lo(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}function Tn(t){return typeof t=="function"?t():r.unref(t)}const co=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const uo=t=>t!=null,Oe=()=>{};function Ae(t){var e;const n=Tn(t);return(e=n==null?void 0:n.$el)!=null?e:n}const fo=co?window:void 0;function mo(){const t=r.ref(!1);return r.getCurrentInstance()&&r.onMounted(()=>{t.value=!0}),t}function po(t){const e=mo();return r.computed(()=>(e.value,!!t()))}function ho(t,e,n={}){const{root:o,rootMargin:a="0px",threshold:i=.1,window:s=fo,immediate:l=!0}=n,u=po(()=>s&&"IntersectionObserver"in s),c=r.computed(()=>{const m=Tn(t);return(Array.isArray(m)?m:[m]).map(Ae).filter(uo)});let d=Oe;const f=r.ref(l),y=u.value?r.watch(()=>[c.value,Ae(o),f.value],([m,g])=>{if(d(),!f.value||!m.length)return;const p=new IntersectionObserver(e,{root:Ae(g),rootMargin:a,threshold:i});m.forEach(S=>S&&p.observe(S)),d=()=>{p.disconnect(),d=Oe}},{immediate:l,flush:"post"}):Oe,h=()=>{d(),y(),f.value=!1};return lo(h),{isSupported:u,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:h}}const go=r.defineComponent({name:"FetchMoreObserver",props:["as","options"],emits:["intersect"],setup(t,{slots:e,emit:n}){const o=r.ref(null),{stop:a}=ho(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 V(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function F(t){return function e(n){return arguments.length===0||V(n)?e:t.apply(this,arguments)}}function z(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return V(n)?e:F(function(a){return t(n,a)});default:return V(n)&&V(o)?e:V(n)?F(function(a){return t(a,o)}):V(o)?F(function(a){return t(n,a)}):t(n,o)}}}function Ht(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 ke(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&&(!V(e[s])||a>=arguments.length)?u=e[s]:(u=arguments[a],a+=1),o[s]=u,V(u)?l=!0:i-=1,s+=1}return!l&&i<=0?n.apply(this,o):Ht(Math.max(0,i),ke(t,o,n))}}var Mt=z(function(e,n){return e===1?F(n):Ht(e,ke(e,[],n))});function J(t){return function e(n,o,a){switch(arguments.length){case 0:return e;case 1:return V(n)?e:z(function(i,s){return t(n,i,s)});case 2:return V(n)&&V(o)?e:V(n)?z(function(i,s){return t(i,o,s)}):V(o)?z(function(i,s){return t(n,i,s)}):F(function(i){return t(n,o,i)});default:return V(n)&&V(o)&&V(a)?e:V(n)&&V(o)?z(function(i,s){return t(i,s,a)}):V(n)&&V(a)?z(function(i,s){return t(i,o,s)}):V(o)&&V(a)?z(function(i,s){return t(n,i,s)}):V(n)?F(function(i){return t(i,o,a)}):V(o)?F(function(i){return t(n,i,a)}):V(a)?F(function(i){return t(n,o,i)}):t(n,o,a)}}}const vt=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function yo(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function Ct(t,e,n){return function(){if(arguments.length===0)return n();var o=arguments[arguments.length-1];if(!vt(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(yo(o)){var i=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(o)}}return n.apply(this,arguments)}}function _e(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const ht={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function Sn(t){for(var e=[],n;!(n=t.next()).done;)e.push(n.value);return e}function wn(t,e,n){for(var o=0,a=n.length;o<a;){if(t(e,n[o]))return!0;o+=1}return!1}function bo(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function tt(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function To(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const xe=typeof Object.is=="function"?Object.is:To;var On=Object.prototype.toString,An=function(){return On.call(arguments)==="[object Arguments]"?function(e){return On.call(e)==="[object Arguments]"}:function(e){return tt("callee",e)}}(),So=!{toString:null}.propertyIsEnumerable("toString"),kn=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_n=function(){return arguments.propertyIsEnumerable("length")}(),wo=function(e,n){for(var o=0;o<e.length;){if(e[o]===n)return!0;o+=1}return!1},gt=F(typeof Object.keys=="function"&&!_n?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var n,o,a=[],i=_n&&An(e);for(n in e)tt(n,e)&&(!i||n!=="length")&&(a[a.length]=n);if(So)for(o=kn.length-1;o>=0;)n=kn[o],tt(n,e)&&!wo(a,n)&&(a[a.length]=n),o-=1;return a}),Pe=F(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function xn(t,e,n,o){var a=Sn(t),i=Sn(e);function s(l,u){return Ee(l,u,n.slice(),o.slice())}return!wn(function(l,u){return!wn(s,u,l)},i,a)}function Ee(t,e,n,o){if(xe(t,e))return!0;var a=Pe(t);if(a!==Pe(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"&&bo(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&xe(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!xe(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(!(t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.sticky===e.sticky&&t.unicode===e.unicode))return!1;break}for(var i=n.length-1;i>=0;){if(n[i]===t)return o[i]===e;i-=1}switch(a){case"Map":return t.size!==e.size?!1:xn(t.entries(),e.entries(),n.concat([t]),o.concat([e]));case"Set":return t.size!==e.size?!1:xn(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=gt(t);if(s.length!==gt(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(!(tt(c,e)&&Ee(e[c],t[c],l,u)))return!1;i-=1}return!0}var Yt=z(function(e,n){return Ee(e,n,[],[])});function Oo(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(Yt(t[n],e))return n;n+=1}return-1}function Pn(t,e){return Oo(e,t,0)>=0}function Wt(t,e){for(var n=0,o=e.length,a=Array(o);n<o;)a[n]=t(e[n]),n+=1;return a}function Ne(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 Lt=function(e){return(e<10?"0":"")+e},Ao=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Lt(e.getUTCMonth()+1)+"-"+Lt(e.getUTCDate())+"T"+Lt(e.getUTCHours())+":"+Lt(e.getUTCMinutes())+":"+Lt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function ko(t){return function(){return!t.apply(this,arguments)}}function En(t,e,n){for(var o=0,a=n.length;o<a;)e=t(e,n[o]),o+=1;return e}function _o(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 qt(t){return Object.prototype.toString.call(t)==="[object Object]"}var xo=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=ht.init,t.prototype["@@transducer/result"]=ht.result,t.prototype["@@transducer/step"]=function(e,n){return this.f(n)?this.xf["@@transducer/step"](e,n):e},t}();function Po(t){return function(e){return new xo(t,e)}}var $e=z(Ct(["fantasy-land/filter","filter"],Po,function(t,e){return qt(e)?En(function(n,o){return t(e[o])&&(n[o]=e[o]),n},{},gt(e)):_o(t,e)})),Eo=z(function(e,n){return $e(ko(e),n)});function Nn(t,e){var n=function(s){var l=e.concat([t]);return Pn(s,l)?"<Circular>":Nn(s,l)},o=function(i,s){return Wt(function(l){return Ne(l)+": "+n(i[l])},s.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Wt(n,t).join(", ")+"))";case"[object Array]":return"["+Wt(n,t).concat(o(t,Eo(function(i){return/^\d+$/.test(i)},gt(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):Ne(Ao(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())+")":Ne(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,gt(t)).join(", ")+"}"}}var De=F(function(e){return Nn(e,[])}),No=z(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=De(e),l=o(s,De(n));return l!==void 0&&l===s?e:n}),$o=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=ht.init,t.prototype["@@transducer/result"]=ht.result,t.prototype["@@transducer/step"]=function(e,n){return this.xf["@@transducer/step"](e,this.f(n))},t}(),Do=function(e){return function(n){return new $o(e,n)}},ft=z(Ct(["fantasy-land/map","map"],Do,function(e,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return Mt(n.length,function(){return e.call(this,n.apply(this,arguments))});case"[object Object]":return En(function(o,a){return o[a]=e(n[a]),o},{},gt(n));default:return Wt(e,n)}}));const Kt=Number.isInteger||function(e){return e<<0===e};function Zt(t){return Object.prototype.toString.call(t)==="[object String]"}function $n(t,e){var n=t<0?e.length+t:t;return Zt(e)?e.charAt(n):e[n]}var ut=z(function(e,n){if(n!=null)return Kt(e)?$n(e,n):n[e]}),Mo=z(function(e,n){return ft(ut(e),n)}),vo=F(function(e){return vt(e)?!0:!e||typeof e!="object"||Zt(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),Dn=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Co(t,e,n){return function(a,i,s){if(vo(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[Dn]!=null)return n(a,i,s[Dn]());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 Lo(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 Io=z(function(e,n){return Ht(e.length,function(){return e.apply(n,arguments)})});function Bo(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 Ro(t,e,n,o){return t["@@transducer/result"](n[o](Io(t["@@transducer/step"],t),e))}var Mn=Co(Lo,Ro,Bo),zo=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 vn(t){return new zo(t)}var Cn=J(function(t,e,n){return Mn(typeof t=="function"?vn(t):t,e,n)}),Ln=F(function(e){return function(){return e}}),Vo=F(function(e){return Mt(Cn(No,0,Mo("length",e)),function(){for(var n=0,o=e.length;n<o;){if(e[n].apply(this,arguments))return!0;n+=1}return!1})}),Me=J(function(e,n,o){var a=e(n),i=e(o);return a<i?-1:a>i?1:0}),Go=F(function(e){return Mt(e.length,e)});function Fo(t,e,n){if(Kt(t)&&vt(n)){var o=[].concat(n);return o[t]=e,o}var a={};for(var i in n)a[i]=n[i];return a[t]=e,a}var jo=F(function(e){return e==null}),Uo=J(function t(e,n,o){if(e.length===0)return n;var a=e[0];if(e.length>1){var i=!jo(o)&&tt(a,o)&&typeof o[a]=="object"?o[a]:Kt(e[1])?[]:{};n=t(Array.prototype.slice.call(e,1),n,i)}return Fo(a,n,o)}),Ho=J(function(e,n,o){return Uo([e],n,o)});function Yo(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function Wo(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 In(t,e,n){if(n||(n=new Ko),qo(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]=t[l]);return i};switch(Pe(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 Wo(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 qo(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var Ko=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}();function Zo(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function ve(t,e){return function(){var n=arguments.length;if(n===0)return e();var o=arguments[n-1];return vt(o)||typeof o[t]!="function"?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}var Xo=J(ve("slice",function(e,n,o){return Array.prototype.slice.call(o,e,n)})),Jo=F(ve("tail",Xo(1,1/0)));function Xt(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Ht(arguments[0].length,Cn(Zo,arguments[0],Jo(arguments)))}var Qo=F(function(e){return Zt(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});function Bn(){if(arguments.length===0)throw new Error("compose requires at least one argument");return Xt.apply(this,Qo(arguments))}var ta=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"]=ht.init,t.prototype["@@transducer/result"]=function(e){var n;for(n in this.inputs)if(tt(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,In(this.valueAcc)],this.inputs[o][1]=this.valueFn(this.inputs[o][1],n),e},t}();function ea(t,e,n){return function(o){return new ta(t,e,n,o)}}var na=ke(4,[],Ct([],ea,function(e,n,o,a){var i=vn(function(s,l){var u=o(l),c=e(tt(u,s)?s[u]:In(n),l);return c&&c["@@transducer/reduced"]?_e(s):(s[u]=c,s)});return Mn(i,{},a)})),ra=J(function(e,n,o){var a=e(n),i=e(o);return a>i?-1:a<i?1:0});function oa(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 aa=F(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():vt(e)?[]:Zt(e)?"":qt(e)?{}:An(e)?function(){return arguments}():oa(e)?e.constructor.from(""):void 0}),ia=function(){function t(e,n){this.xf=n,this.f=e,this.found=!1}return t.prototype["@@transducer/init"]=ht.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=_e(this.xf["@@transducer/step"](e,n))),e},t}();function sa(t){return function(e){return new ia(t,e)}}var la=z(Ct(["find"],sa,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return n[o];o+=1}})),ca=function(){function t(e,n){this.xf=n,this.f=e,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=ht.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=_e(this.xf["@@transducer/step"](e,this.idx))),e},t}();function ua(t){return function(e){return new ca(t,e)}}var da=z(Ct([],ua,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return o;o+=1}return-1})),fa=z(ve("groupBy",na(function(t,e){return t.push(e),t},[]))),ma=J(function(e,n,o){return Mt(Math.max(e.length,n.length,o.length),function(){return e.apply(this,arguments)?n.apply(this,arguments):o.apply(this,arguments)})}),pa=z(Pn),Rn=z(function(e,n){return Mt(e+1,function(){var o=arguments[e];if(o!=null&&Yo(o[n]))return o[n].apply(o,Array.prototype.slice.call(arguments,0,e));throw new TypeError(De(o)+' does not have a method named "'+n+'"')})}),zn=F(function(e){return e!=null&&Yt(e,aa(e))}),ha=z(function(e,n){return function(o){return function(a){return ft(function(i){return n(i,a)},o(e(a)))}}});function ga(t,e){for(var n=e,o=0;o<t.length;o+=1){if(n==null)return;var a=t[o];Kt(a)?n=$n(a,n):n=n[a]}return n}var ya=F(function(e){return ha(ut(e),Ho(e))}),ba=J(function(e,n,o){var a={},i;n=n||{},o=o||{};for(i in n)tt(i,n)&&(a[i]=tt(i,o)?e(i,n[i],o[i]):n[i]);for(i in o)tt(i,o)&&!tt(i,a)&&(a[i]=o[i]);return a}),Ta=J(function t(e,n,o){return ba(function(a,i,s){return qt(i)&&qt(s)?t(e,i,s):e(a,i,s)},n,o)}),Vn=z(function(e,n){return Ta(function(o,a,i){return i},e,n)}),Sa=z(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}),Gn=function(t){return{value:t,map:function(e){return Gn(e(t))}}},wa=J(function(e,n,o){return e(function(a){return Gn(n(a))})(o).value}),Ce=z(ga),Fn=J(function(e,n,o){return e(ut(n,o))}),Oa=J(function(e,n,o){return o.replace(e,n)}),Aa=z(function(e,n){return Array.prototype.slice.call(n,0).sort(e)}),jn=z(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})}),kt=Rn(1,"split"),Un=Rn(0,"toLowerCase"),It=`
|
|
9
|
+
\v\f\r \u2028\u2029\uFEFF`,ka="",_a=typeof String.prototype.trim=="function",Jt=F(!_a||It.trim()||!ka.trim()?function(e){var n=new RegExp("^["+It+"]["+It+"]*"),o=new RegExp("["+It+"]["+It+"]*$");return e.replace(n,"").replace(o,"")}:function(e){return e.trim()});function Hn(t,e,n,o){const a=r.ref(""),i=r.ref(!1),s=l=>{const u=$e(ut(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(ut(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 Yn=Symbol("I18nContext"),W=r.reactive({messages:{},locale:"",fallbackLocale:""});function Wn({messages:t={},locale:e="",fallbackLocale:n=""}){W.messages=Vn(W.messages,t),W.locale=e,W.fallbackLocale=n;const o=(u,c={})=>{const d=!zn(c),f=ft(Jt,kt(".",u));return r.computed(()=>{const h=qn(f);return d?Pa(h,c):h}).value},a=u=>{const c=ft(Jt,kt(".",u));return!!Le(W.locale,c,W.messages)},i=u=>{W.locale=u},l={locale:r.computed({get(){return W.locale},set(u){W.locale=u}}),setLocale:i,translate:o,hasTranslation:a};return r.provide(Yn,l),{translate:o}}function at(t){t&&(W.messages=t.messages,W.locale=t.locale,W.fallbackLocale=t.fallbackLocale);const e=xa();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranslation:e.hasTranslation}}function xa(){const t=r.inject(Yn,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}function qn(t=[]){let e=Le(W.locale,t,W.messages);return!e&&W.fallbackLocale&&(e=Le(W.fallbackLocale,t,W.messages)),e||t.join(".")}function Le(t,e,n){return Ce([t,...e],n)}function Pa(t,e){return t.replace(/\{(\w+)\}/g,(n,o)=>e[o])}const Kn=r.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const n=ft(Jt,kt(".",t.path)),o=qn(n),a=kt(/\{|\}/,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 Ie(t,e="",n={}){const o=r.ref(""),{t:a}=at(),i=r.computed(()=>{if(r.unref(e))try{const u=Zn(r.unref(t),r.unref(e));return Sa(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(()=>ft(s,i.value)),error:o}}function Zn(t,e=""){const n=ft(Jt,kt(",",e)),o=gt(t);if(n[0]==="")return[];const a=n.findIndex(i=>!o.includes(i));if(a>-1)throw n[a];return n}function Xn(t){return t&&t.match(/[A-Z]{2,}(?=[A-Z][a-z]|\b)|[A-Z]?[a-z]+\d*|[A-Z]|\d+/g).map(e=>e.toLowerCase()).join("-")}function dt(t="",e={}){return t.replace(/\{([^}]+)\}/g,(n,o)=>Ce(kt(".",o),e))}const Jn=Symbol("ErrorProviderContext");function Qn(){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||Xn(i.message),cause:i.cause}},o=()=>{t.value="",e.value={}},a={onError:n,reset:o};return r.provide(Jn,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 Be(){const t=Ea();return{onError:t.onError,reset:t.reset}}function Ea(){const t=r.inject(Jn,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}async function tr(t,e,n){const o=`${ln}${r.unref(t)}${zn(n)?"":`?${Na(n)}`}`;return new Promise((a,i)=>{fetch(o,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":$a(e)}}).then(s=>s.json()).then(s=>{if(s.error)return i(s);a(s.data)}).catch(s=>{i(s)})})}function Na(t){return Object.keys(t).map(e=>`${e}=${t[e]}`).join("&")}function $a(t){var e;return t||((e=window.__MJSZ_VBR_WIDGET__)!=null&&e.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:"")}function er(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}const Qt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Da=Object.prototype.toString,Ma=t=>Da.call(t)==="[object Object]",K=()=>{},va=Ca();function Ca(){var t,e;return Qt&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window==null?void 0:window.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function La(...t){if(t.length!==1)return r.toRef(...t);const e=t[0];return typeof e=="function"?r.readonly(r.customRef(()=>({get:e,set:K}))):r.ref(e)}function Ia(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 nr=t=>t();function Ba(t=nr,e={}){const{initialState:n="active"}=e,o=La(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 Re(t,e=!1,n="Timeout"){return new Promise((o,a)=>{setTimeout(e?()=>a(n):o,t)})}function ze(t){return Array.isArray(t)?t:[t]}function Ra(t,e,n={}){const{eventFilter:o=nr,...a}=n;return r.watch(t,Ia(o,e),a)}function za(t,e,n={}){const{eventFilter:o,initialState:a="active",...i}=n,{eventFilter:s,pause:l,resume:u,isActive:c}=Ba(o,{initialState:a});return{stop:Ra(t,e,{...i,eventFilter:s}),pause:l,resume:u,isActive:c}}function Ve(t,e=!1){function n(f,{flush:y="sync",deep:h=!1,timeout:m,throwOnTimeout:g}={}){let p=null;const O=[new Promise(x=>{p=r.watch(t,P=>{f(P)!==e&&(p?p():r.nextTick(()=>p==null?void 0:p()),x(P))},{flush:y,deep:h,immediate:!0})})];return m!=null&&O.push(Re(m,g).then(()=>r.toValue(t)).finally(()=>p==null?void 0:p())),Promise.race(O)}function o(f,y){if(!r.isRef(f))return n(P=>P===f,y);const{flush:h="sync",deep:m=!1,timeout:g,throwOnTimeout:p}=y??{};let S=null;const x=[new Promise(P=>{S=r.watch([t,f],([N,v])=>{e!==(N===v)&&(S?S():r.nextTick(()=>S==null?void 0:S()),P(N))},{flush:h,deep:m,immediate:!0})})];return g!=null&&x.push(Re(g,p).then(()=>r.toValue(t)).finally(()=>(S==null||S(),r.toValue(t)))),Promise.race(x)}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 Ve(t,!e)}}:{toMatch:n,toBe:o,toBeTruthy:a,toBeNull:i,toBeNaN:l,toBeUndefined:s,changed:c,changedTimes:d,get not(){return Ve(t,!e)}}}function Va(t){return Ve(t)}function Ga(t,e,n={}){const{immediate:o=!0,immediateCallback:a=!1}=n,i=r.shallowRef(!1);let s=null;function l(){s&&(clearTimeout(s),s=null)}function u(){i.value=!1,l()}function c(...d){a&&t(),l(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=null,t(...d)},r.toValue(e))}return o&&(i.value=!0,Qt&&c()),er(u),{isPending:r.readonly(i),start:c,stop:u}}function Fa(t,e,n){return r.watch(t,e,{...n,immediate:!0})}function ja(t,e,n){const o=r.watch(t,(...a)=>(r.nextTick(()=>o()),e(...a)),n);return o}function Ua(t,e,n){const o=r.watch(t,(a,i,s)=>{a&&(n!=null&&n.once&&r.nextTick(()=>o()),e(a,i,s))},{...n,once:!1});return o}const rr=Qt?window:void 0,Ha=Qt?window.document:void 0;function _t(t){var e;const n=r.toValue(t);return(e=n==null?void 0:n.$el)!=null?e:n}function xt(...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=ze(r.toValue(t[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),i=Fa(()=>{var l,u;return[(u=(l=a.value)==null?void 0:l.map(c=>_t(c)))!=null?u:[rr].filter(c=>c!=null),ze(r.toValue(a.value?t[1]:t[0])),ze(r.unref(a.value?t[2]:t[1])),r.toValue(a.value?t[3]:t[2])]},([l,u,c,d])=>{if(n(),!(l!=null&&l.length)||!(u!=null&&u.length)||!(c!=null&&c.length))return;const f=Ma(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 er(n),s}let or=!1;function Ya(t,e,n={}){const{window:o=rr,ignore:a=[],capture:i=!0,detectIframe:s=!1,controls:l=!1}=n;if(!o)return l?{stop:K,cancel:K,trigger:K}:K;if(va&&!or){or=!0;const p={passive:!0};Array.from(o.document.body.children).forEach(S=>xt(S,"click",K,p)),xt(o.document.documentElement,"click",K,p)}let u=!0;const c=p=>r.toValue(a).some(S=>{if(typeof S=="string")return Array.from(o.document.querySelectorAll(S)).some(O=>O===p.target||p.composedPath().includes(O));{const O=_t(S);return O&&(p.target===O||p.composedPath().includes(O))}});function d(p){const S=r.toValue(p);return S&&S.$.subTree.shapeFlag===16}function f(p,S){const O=r.toValue(p),x=O.$.subTree&&O.$.subTree.children;return x==null||!Array.isArray(x)?!1:x.some(P=>P.el===S.target||S.composedPath().includes(P.el))}const y=p=>{const S=_t(t);if(p.target!=null&&!(!(S instanceof Element)&&d(t)&&f(t,p))&&!(!S||S===p.target||p.composedPath().includes(S))){if("detail"in p&&p.detail===0&&(u=!c(p)),!u){u=!0;return}e(p)}};let h=!1;const m=[xt(o,"click",p=>{h||(h=!0,setTimeout(()=>{h=!1},0),y(p))},{passive:!0,capture:i}),xt(o,"pointerdown",p=>{const S=_t(t);u=!c(p)&&!!(S&&!p.composedPath().includes(S))},{passive:!0}),s&&xt(o,"blur",p=>{setTimeout(()=>{var S;const O=_t(t);((S=o.document.activeElement)==null?void 0:S.tagName)==="IFRAME"&&!(O!=null&&O.contains(o.document.activeElement))&&e(p)},0)},{passive:!0})].filter(Boolean),g=()=>m.forEach(p=>p());return l?{stop:g,cancel:()=>{u=!1},trigger:p=>{u=!0,y(p),u=!1}}:g}function ar(t,e,n){const{immediate:o=!0,delay:a=0,onError:i=K,onSuccess:s=K,resetOnExecute:l=!0,shallow:u=!0,throwError:c}=n??{},d=u?r.shallowRef(e):r.ref(e),f=r.shallowRef(!1),y=r.shallowRef(!1),h=r.shallowRef(void 0);async function m(S=0,...O){l&&(d.value=e),h.value=void 0,f.value=!1,y.value=!0,S>0&&await Re(S);const x=typeof t=="function"?t(...O):t;try{const P=await x;d.value=P,f.value=!0,s(P)}catch(P){if(h.value=P,i(P),c)throw P}finally{y.value=!1}return d.value}o&&m(a);const g={state:d,isReady:f,isLoading:y,error:h,execute:m};function p(){return new Promise((S,O)=>{Va(y).toBe(!1).then(()=>S(g)).catch(O)})}return{...g,then(S,O){return p().then(S,O)}}}function Wa(t={}){const{document:e=Ha}=t;if(!e)return r.shallowRef("visible");const n=r.shallowRef(e.visibilityState);return xt(e,"visibilitychange",()=>{n.value=e.visibilityState},{passive:!0}),n}async function qa(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:g,usemap:p}=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),g!=null&&(o.isMap=g),p!=null&&(o.useMap=p),o.onload=()=>e(o),o.onerror=n})}function Ka(t,e={}){const n=ar(()=>qa(r.toValue(t)),void 0,{resetOnExecute:!0,...e});return r.watch(()=>r.toValue(t),()=>n.execute(e.delay),{deep:!0}),n}function ir(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}=Ga(()=>{o.value=!0},n);return r.watch(a,l=>{if(l)return i();s(),o.value=!1},{immediate:!0,deep:!0}),o}function et(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var te={exports:{}},Za=te.exports,sr;function lr(){return sr||(sr=1,function(t,e){(function(n,o){t.exports=o()})(Za,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",g="Invalid Date",p=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,O={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(E){var _=["th","st","nd","rd"],w=E%100;return"["+E+(_[(w-20)%10]||_[w]||_[0])+"]"}},x=function(E,_,w){var A=String(E);return!A||A.length>=_?E:""+Array(_+1-A.length).join(w)+E},P={s:x,z:function(E){var _=-E.utcOffset(),w=Math.abs(_),A=Math.floor(w/60),k=w%60;return(_<=0?"+":"-")+x(A,2,"0")+":"+x(k,2,"0")},m:function E(_,w){if(_.date()<w.date())return-E(w,_);var A=12*(w.year()-_.year())+(w.month()-_.month()),k=_.clone().add(A,f),D=w-k<0,$=_.clone().add(A+(D?-1:1),f);return+(-(A+(w-k)/(D?k-$:$-k))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:f,y:h,w:d,d:c,D:m,h:u,m:l,s,ms:i,Q:y}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},N="en",v={};v[N]=O;var L="$isDayjsObject",G=function(E){return E instanceof H||!(!E||!E[L])},U=function E(_,w,A){var k;if(!_)return N;if(typeof _=="string"){var D=_.toLowerCase();v[D]&&(k=D),w&&(v[D]=w,k=D);var $=_.split("-");if(!k&&$.length>1)return E($[0])}else{var R=_.name;v[R]=_,k=R}return!A&&k&&(N=k),k||!A&&N},B=function(E,_){if(G(E))return E.clone();var w=typeof _=="object"?_:{};return w.date=E,w.args=arguments,new H(w)},M=P;M.l=U,M.i=G,M.w=function(E,_){return B(E,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var H=function(){function E(w){this.$L=U(w.locale,null,!0),this.parse(w),this.$x=this.$x||w.x||{},this[L]=!0}var _=E.prototype;return _.parse=function(w){this.$d=function(A){var k=A.date,D=A.utc;if(k===null)return new Date(NaN);if(M.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var $=k.match(p);if($){var R=$[2]-1||0,j=($[7]||"0").substring(0,3);return D?new Date(Date.UTC($[1],R,$[3]||1,$[4]||0,$[5]||0,$[6]||0,j)):new Date($[1],R,$[3]||1,$[4]||0,$[5]||0,$[6]||0,j)}}return new Date(k)}(w),this.init()},_.init=function(){var w=this.$d;this.$y=w.getFullYear(),this.$M=w.getMonth(),this.$D=w.getDate(),this.$W=w.getDay(),this.$H=w.getHours(),this.$m=w.getMinutes(),this.$s=w.getSeconds(),this.$ms=w.getMilliseconds()},_.$utils=function(){return M},_.isValid=function(){return this.$d.toString()!==g},_.isSame=function(w,A){var k=B(w);return this.startOf(A)<=k&&k<=this.endOf(A)},_.isAfter=function(w,A){return B(w)<this.startOf(A)},_.isBefore=function(w,A){return this.endOf(A)<B(w)},_.$g=function(w,A,k){return M.u(w)?this[A]:this.set(k,w)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(w,A){var k=this,D=!!M.u(A)||A,$=M.p(w),R=function(At,Z){var pt=M.w(k.$u?Date.UTC(k.$y,Z,At):new Date(k.$y,Z,At),k);return D?pt:pt.endOf(c)},j=function(At,Z){return M.w(k.toDate()[At].apply(k.toDate("s"),(D?[0,0,0,0]:[23,59,59,999]).slice(Z)),k)},Y=this.$W,q=this.$M,Q=this.$D,Dt="set"+(this.$u?"UTC":"");switch($){case h:return D?R(1,0):R(31,11);case f:return D?R(1,q):R(0,q+1);case d:var Ot=this.$locale().weekStart||0,jt=(Y<Ot?Y+7:Y)-Ot;return R(D?Q-jt:Q+(6-jt),q);case c:case m:return j(Dt+"Hours",0);case u:return j(Dt+"Minutes",1);case l:return j(Dt+"Seconds",2);case s:return j(Dt+"Milliseconds",3);default:return this.clone()}},_.endOf=function(w){return this.startOf(w,!1)},_.$set=function(w,A){var k,D=M.p(w),$="set"+(this.$u?"UTC":""),R=(k={},k[c]=$+"Date",k[m]=$+"Date",k[f]=$+"Month",k[h]=$+"FullYear",k[u]=$+"Hours",k[l]=$+"Minutes",k[s]=$+"Seconds",k[i]=$+"Milliseconds",k)[D],j=D===c?this.$D+(A-this.$W):A;if(D===f||D===h){var Y=this.clone().set(m,1);Y.$d[R](j),Y.init(),this.$d=Y.set(m,Math.min(this.$D,Y.daysInMonth())).$d}else R&&this.$d[R](j);return this.init(),this},_.set=function(w,A){return this.clone().$set(w,A)},_.get=function(w){return this[M.p(w)]()},_.add=function(w,A){var k,D=this;w=Number(w);var $=M.p(A),R=function(q){var Q=B(D);return M.w(Q.date(Q.date()+Math.round(q*w)),D)};if($===f)return this.set(f,this.$M+w);if($===h)return this.set(h,this.$y+w);if($===c)return R(1);if($===d)return R(7);var j=(k={},k[l]=o,k[u]=a,k[s]=n,k)[$]||1,Y=this.$d.getTime()+w*j;return M.w(Y,this)},_.subtract=function(w,A){return this.add(-1*w,A)},_.format=function(w){var A=this,k=this.$locale();if(!this.isValid())return k.invalidDate||g;var D=w||"YYYY-MM-DDTHH:mm:ssZ",$=M.z(this),R=this.$H,j=this.$m,Y=this.$M,q=k.weekdays,Q=k.months,Dt=k.meridiem,Ot=function(Z,pt,Ut,we){return Z&&(Z[pt]||Z(A,D))||Ut[pt].slice(0,we)},jt=function(Z){return M.s(R%12||12,Z,"0")},At=Dt||function(Z,pt,Ut){var we=Z<12?"AM":"PM";return Ut?we.toLowerCase():we};return D.replace(S,function(Z,pt){return pt||function(Ut){switch(Ut){case"YY":return String(A.$y).slice(-2);case"YYYY":return M.s(A.$y,4,"0");case"M":return Y+1;case"MM":return M.s(Y+1,2,"0");case"MMM":return Ot(k.monthsShort,Y,Q,3);case"MMMM":return Ot(Q,Y);case"D":return A.$D;case"DD":return M.s(A.$D,2,"0");case"d":return String(A.$W);case"dd":return Ot(k.weekdaysMin,A.$W,q,2);case"ddd":return Ot(k.weekdaysShort,A.$W,q,3);case"dddd":return q[A.$W];case"H":return String(R);case"HH":return M.s(R,2,"0");case"h":return jt(1);case"hh":return jt(2);case"a":return At(R,j,!0);case"A":return At(R,j,!1);case"m":return String(j);case"mm":return M.s(j,2,"0");case"s":return String(A.$s);case"ss":return M.s(A.$s,2,"0");case"SSS":return M.s(A.$ms,3,"0");case"Z":return $}return null}(Z)||$.replace(":","")})},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(w,A,k){var D,$=this,R=M.p(A),j=B(w),Y=(j.utcOffset()-this.utcOffset())*o,q=this-j,Q=function(){return M.m($,j)};switch(R){case h:D=Q()/12;break;case f:D=Q();break;case y:D=Q()/3;break;case d:D=(q-Y)/6048e5;break;case c:D=(q-Y)/864e5;break;case u:D=q/a;break;case l:D=q/o;break;case s:D=q/n;break;default:D=q}return k?D:M.a(D)},_.daysInMonth=function(){return this.endOf(f).$D},_.$locale=function(){return v[this.$L]},_.locale=function(w,A){if(!w)return this.$L;var k=this.clone(),D=U(w,A,!0);return D&&(k.$L=D),k},_.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()},E}(),ot=H.prototype;return B.prototype=ot,[["$ms",i],["$s",s],["$m",l],["$H",u],["$W",c],["$M",f],["$y",h],["$D",m]].forEach(function(E){ot[E[1]]=function(_){return this.$g(_,E[0],E[1])}}),B.extend=function(E,_){return E.$i||(E(_,H,B),E.$i=!0),B},B.locale=U,B.isDayjs=G,B.unix=function(E){return B(1e3*E)},B.en=v[N],B.Ls=v,B.p={},B})}(te)),te.exports}var Xa=lr();const C=et(Xa);var ee={exports:{}},Ja=ee.exports,cr;function Qa(){return cr||(cr=1,function(t,e){(function(n,o){t.exports=o()})(Ja,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)}}})}(ee)),ee.exports}var ti=Qa();const ei=et(ti);var ne={exports:{}},ni=ne.exports,ur;function ri(){return ur||(ur=1,function(t,e){(function(n,o){t.exports=o()})(ni,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))}}})}(ne)),ne.exports}var oi=ri();const ai=et(oi);var re={exports:{}},ii=re.exports,dr;function si(){return dr||(dr=1,function(t,e){(function(n,o){t.exports=o()})(ii,function(){return function(n,o){o.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})}(re)),re.exports}var li=si();const ci=et(li);var oe={exports:{}},ui=oe.exports,fr;function di(){return fr||(fr=1,function(t,e){(function(n,o){t.exports=o()})(ui,function(){return function(n,o,a){o.prototype.isToday=function(){var i="YYYY-MM-DD",s=a();return this.format(i)===s.format(i)}}})}(oe)),oe.exports}var fi=di();const mi=et(fi);var ae={exports:{}},pi=ae.exports,mr;function hi(){return mr||(mr=1,function(t,e){(function(n,o){t.exports=o()})(pi,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(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,g){var p=g&&g.toUpperCase();return m||y[g]||n[g]||y[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,O,x){return O||x.slice(1)})})}(u,c===void 0?{}:c);return l.call(this,d)}}})}(ae)),ae.exports}var gi=hi();const yi=et(gi);var ie={exports:{}},bi=ie.exports,pr;function Ti(){return pr||(pr=1,function(t,e){(function(n,o){t.exports=o()})(bi,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)}}})}(ie)),ie.exports}var Si=Ti();const wi=et(Si);var se={exports:{}},Oi=se.exports,hr;function Ai(){return hr||(hr=1,function(t,e){(function(n,o){t.exports=o()})(Oi,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,g,p,S=f.$locale().relativeTime||s,O=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],x=O.length,P=0;P<x;P+=1){var N=O[P];N.d&&(m=y?a(c).diff(f,N.d,!0):f.diff(c,N.d,!0));var v=(n.rounding||Math.round)(Math.abs(m));if(p=m>0,v<=N.r||!N.r){v<=1&&P>0&&(N=O[P-1]);var L=S[N.l];h&&(v=h(""+v)),g=typeof L=="string"?L.replace("%d",v):L(v,d,N.l,p);break}}if(d)return g;var G=p?S.future:S.past;return typeof G=="function"?G(g):G.replace("%s",g)},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)}}})}(se)),se.exports}var ki=Ai();const _i=et(ki);var le={exports:{}},xi=le.exports,gr;function Pi(){return gr||(gr=1,function(t,e){(function(n,o){t.exports=o()})(xi,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 g=new Date(y),p=function(S,O){O===void 0&&(O={});var x=O.timeZoneName||"short",P=S+"|"+x,N=o[P];return N||(N=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:S,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:x}),o[P]=N),N}(h,m);return p.formatToParts(g)},c=function(y,h){for(var m=u(y,h),g=[],p=0;p<m.length;p+=1){var S=m[p],O=S.type,x=S.value,P=n[O];P>=0&&(g[P]=parseInt(x,10))}var N=g[3],v=N===24?0:N,L=g[0]+"-"+g[1]+"-"+g[2]+" "+v+":"+g[4]+":"+g[5]+":000",G=+y;return(s.utc(L).valueOf()-(G-=G%1e3))/6e4},d=i.prototype;d.tz=function(y,h){y===void 0&&(y=l);var m,g=this.utcOffset(),p=this.toDate(),S=p.toLocaleString("en-US",{timeZone:y}),O=Math.round((p-new Date(S))/1e3/60),x=15*-Math.round(p.getTimezoneOffset()/15)-O;if(!Number(x))m=this.utcOffset(0,h);else if(m=s(S,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(x,!0),h){var P=m.utcOffset();m=m.add(g-P,"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(g){return g.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 g=m&&h,p=m||h||l,S=c(+s(),p);if(typeof y!="string")return s(y).tz(p);var O=function(v,L,G){var U=v-60*L*1e3,B=c(U,G);if(L===B)return[U,L];var M=c(U-=60*(B-L)*1e3,G);return B===M?[U,B]:[v-60*Math.min(B,M)*1e3,Math.max(B,M)]}(s.utc(y,g).valueOf(),S,p),x=O[0],P=O[1],N=s(x).utcOffset(P);return N.$x.$timezone=p,N},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(y){l=y}}})}(le)),le.exports}var Ei=Pi();const Ni=et(Ei);var ce={exports:{}},$i=ce.exports,yr;function Di(){return yr||(yr=1,function(t,e){(function(n,o){t.exports=o()})($i,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(g){var p={date:g,utc:!0,args:arguments};return new s(p)},u.utc=function(g){var p=l(this.toDate(),{locale:this.$L,utc:!0});return g?p.add(this.utcOffset(),n):p},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(g){g.utc&&(this.$u=!0),this.$utils().u(g.$offset)||(this.$offset=g.$offset),c.call(this,g)};var d=u.init;u.init=function(){if(this.$u){var g=this.$d;this.$y=g.getUTCFullYear(),this.$M=g.getUTCMonth(),this.$D=g.getUTCDate(),this.$W=g.getUTCDay(),this.$H=g.getUTCHours(),this.$m=g.getUTCMinutes(),this.$s=g.getUTCSeconds(),this.$ms=g.getUTCMilliseconds()}else d.call(this)};var f=u.utcOffset;u.utcOffset=function(g,p){var S=this.$utils().u;if(S(g))return this.$u?0:S(this.$offset)?f.call(this):this.$offset;if(typeof g=="string"&&(g=function(N){N===void 0&&(N="");var v=N.match(o);if(!v)return null;var L=(""+v[0]).match(a)||["-",0,0],G=L[0],U=60*+L[1]+ +L[2];return U===0?0:G==="+"?U:-U}(g),g===null))return this;var O=Math.abs(g)<=16?60*g:g,x=this;if(p)return x.$offset=O,x.$u=g===0,x;if(g!==0){var P=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(x=this.local().add(O+P,n)).$offset=O,x.$x.$localOffset=P}else x=this.utc();return x};var y=u.format;u.format=function(g){var p=g||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return y.call(this,p)},u.valueOf=function(){var g=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*g},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(g){return g==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var m=u.diff;u.diff=function(g,p,S){if(g&&this.$u===g.$u)return m.call(this,g,p,S);var O=this.local(),x=l(g).local();return m.call(O,x,p,S)}}})}(ce)),ce.exports}var Mi=Di();const vi=et(Mi);var ue={exports:{}},Ci=ue.exports,br;function Li(){return br||(br=1,function(t,e){(function(n,o){t.exports=o()})(Ci,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")}}})}(ue)),ue.exports}var Ii=Li();const Bi=et(Ii);var de={exports:{}},Ri=de.exports,Tr;function zi(){return Tr||(Tr=1,function(t,e){(function(n,o){t.exports=o(lr())})(Ri,function(n){function o(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=o(n),i={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(s,l,u,c){return"néhány másodperc"+(c||l?"":"e")},m:function(s,l,u,c){return"egy perc"+(c||l?"":"e")},mm:function(s,l,u,c){return s+" perc"+(c||l?"":"e")},h:function(s,l,u,c){return"egy "+(c||l?"óra":"órája")},hh:function(s,l,u,c){return s+" "+(c||l?"óra":"órája")},d:function(s,l,u,c){return"egy "+(c||l?"nap":"napja")},dd:function(s,l,u,c){return s+" "+(c||l?"nap":"napja")},M:function(s,l,u,c){return"egy "+(c||l?"hónap":"hónapja")},MM:function(s,l,u,c){return s+" "+(c||l?"hónap":"hónapja")},y:function(s,l,u,c){return"egy "+(c||l?"év":"éve")},yy:function(s,l,u,c){return s+" "+(c||l?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return a.default.locale(i,null,!0),i})}(de)),de.exports}zi(),C.extend(vi),C.extend(Ni),C.extend(ei),C.extend(_i),C.extend(yi),C.extend(ci),C.extend(ai),C.extend(mi),C.extend(Bi),C.extend(wi);const Sr=()=>C.tz.guess();function yt(t="",e="",n="",o="hu"){return n=n||C.tz.guess(),C(t).isValid()?C(t).tz(n).locale(o).format(e):""}function Bt(t="",e="",n="hu"){if(!C(t).isValid())return"";e=e||C.tz.guess();const a=new Intl.DateTimeFormat(Vi(n),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(i=>i.type==="timeZoneName");return a&&a.value}function Vi(t){return hn.get(t)}function Ge(t){const e=t.split(":");return Number.parseInt(e[0],10)*60+Number.parseInt(e[1],10)}function wr(t){const e=~~(t/60),n=~~t%60;return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function Or(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 Fe(t,e="day"){return C().isSameOrBefore(C(t),e)}function Ar(t,e,n,o="[]"){return C(t).isBetween(e,C(n),"day",o)}function Gi(t,e,n="month"){return C(t).isSame(e,n)}function Fi(t,e="hu"){return C(t).locale(e).toNow(!0)}function ji(t,e,n="day"){return C(t).isBefore(e,n)}function Ui(t,e,n="day"){return C(t).isAfter(e,n)}function Hi(t){return C(t).isToday()}function Yi(t){const e=C().weekday(1),n=C().weekday(7);return Ar(t,e,n)}function Wi(t){const e=C(t).weekday(1),n=C(t).weekday(7);return{startDate:e,endDate:n}}function qi(t,e){return C(t).subtract(e,"day")}function Ki(t,e){return C(t).add(e,"day")}function Zi(t){return C(t).startOf("month")}function Xi(t){return C(t).endOf("month")}function Ji(t){return Array.isArray(t)&&(t=t.map(e=>C(e))),C.min(t)}function Qi(t){return Array.isArray(t)&&(t=t.map(e=>C(e))),C.max(...t)}function ts(t={}){const{initial:e=1,items:n=[],limit:o,auto:a=!1}=t,i=r.ref(r.unref(e)),s=c=>Fe(c,"day");return ja(n,()=>{if(!a)return;const c=da(Fn(s,"gameDate"))(r.unref(n));i.value=c===-1?1:Math.floor(c/o)+1}),{page:i,change:c=>{i.value=c}}}function es({currentPage:t,itemsPerPage:e=20,totalItems:n,rangeLength:o=5,update:a=K}){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,g)=>g+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 ns(t={}){const{items:e=[],element:n,offset:o=0,enabled:a=!0}=t,i=l=>Fe(l,"day"),s=()=>{var y;if(!r.unref(a))return;const l=la(Fn(i,"gameDate"))(r.unref(e));if(!l)return;const u=yt(l.gameDate,"YYYY-MM-DD"),c=_t(n).querySelector(`div[data-gamedate="${u}"]`);if(!c)return;const d=getComputedStyle(c).getPropertyValue("--vbr-widget-sticky-top-offset")||0,f=(((y=c.getBoundingClientRect())==null?void 0:y.top)??0)-r.unref(o)-Number.parseFloat(d);window.scrollTo(0,f)};za(()=>({items:r.unref(e),element:r.unref(n)}),async({items:l,element:u})=>{l.length===0||!u||(await r.nextTick(),s())})}function rs({options:t={},transform:e=a=>a,onError:n=K,onSuccess:o=K}){const{path:a,apiKey:i,params:s,resetOnExecute:l=!1,immediate:u=!1}=t,{state:c,error:d,isLoading:f,execute:y}=ar(()=>tr(a,i,r.unref(s)).then(h=>e(h)),[],{immediate:u,resetOnExecute:l,onError:n,onSuccess:o});return{state:c,error:d,isLoading:f,execute:y}}/*! *****************************************************************************
|
|
10
10
|
Copyright (c) Microsoft Corporation.
|
|
11
11
|
|
|
12
12
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -19,4 +19,4 @@ var MjszVbrElementsCore=function(T,r){"use strict";const ln="https://api.icehock
|
|
|
19
19
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
20
20
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
21
21
|
PERFORMANCE OF THIS SOFTWARE.
|
|
22
|
-
***************************************************************************** */function je(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 kr;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(kr||(kr={}));var rs={type:"xstate.init"};function fe(t){return t===void 0?[]:[].concat(t)}function _r(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 Ue(t){return function(e){return t===e}}function os(t){return typeof t=="string"?{type:t}:t}function xr(t,e){return{value:t,context:e,actions:[],changed:!1,matches:Ue(t)}}function Pr(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 as(t,e){e===void 0&&(e={});var n=je(Pr(fe(t.states[t.initial].entry).map(function(s){return _r(s,e.actions)}),t.context,rs),2),o=n[0],a=n[1],i={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:Ue(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,g=os(l),p=t.states[f];if(p.on){var m=fe(p.on[g.type]);"*"in p.on&&m.push.apply(m,function(O,A,D){if(arguments.length===2)for(var $,R=0,j=A.length;R<j;R++)!$&&R in A||($||($=Array.prototype.slice.call(A,0,R)),$[R]=A[R]);return O.concat($||Array.prototype.slice.call(A))}([],je(fe(p.on["*"])),!1));try{for(var h=function(O){var A=typeof Symbol=="function"&&Symbol.iterator,D=A&&O[A],$=0;if(D)return D.call(O);if(O&&typeof O.length=="number")return{next:function(){return O&&$>=O.length&&(O=void 0),{value:O&&O[$++],done:!O}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}(m),S=h.next();!S.done;S=h.next()){var _=S.value;if(_===void 0)return xr(f,y);var x=typeof _=="string"?{target:_}:_,E=x.target,N=x.actions,v=N===void 0?[]:N,L=x.cond,G=L===void 0?function(){return!0}:L,U=E===void 0,B=E??f,M=t.states[B];if(G(y,g)){var H=je(Pr((U?fe(v):[].concat(p.exit,v,M.entry).filter(function(O){return O})).map(function(O){return _r(O,i._options.actions)}),y,g),3),rt=H[0],P=H[1],k=H[2],w=E??f;return{value:w,context:P,actions:rt,changed:E!==f||rt.length>0||k,matches:Ue(w)}}}}catch(O){u={error:O}}finally{try{S&&!S.done&&(c=h.return)&&c.call(h)}finally{if(u)throw u.error}}}return xr(f,y)}};return i}const is=as({id:"sort",initial:ct,states:{[ct]:{on:{DIRECTION1:b,DIRECTION2:I}},[b]:{on:{DIRECTION1:I,DIRECTION2:ct}},[I]:{on:{DIRECTION1:ct,DIRECTION2:b}}}});function ss(t,e){const n=e===I?"DIRECTION2":"DIRECTION1";return is.transition(t,n).value}function ls(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:ss(o.orders[c].direction,u.direction)}));o.sortTarget=i,o.orders=l}}}function cs(t=!1,e=at,n=at){const o=Ya();r.watch(o,a=>{if(r.unref(t)){if(a==="visible")return e();n()}})}const us=["textContent"],ds={__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}=ot(),{isVisible:i,text:s}=Hn(n,e.additionalKey,o,a);return(l,u)=>r.unref(i)?(r.openBlock(),r.createElementBlock("div",{key:0,class:"is-text-xs is-text-light is-mt-5 is-mb-5",textContent:r.toDisplayString(r.unref(s))},null,8,us)):r.createCommentVNode("",!0)}},Er={__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]])}},fs={"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 ms(t,e){return r.openBlock(),r.createElementBlock("svg",fs,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 Nr={render:ms},ps={"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 hs(t,e){return r.openBlock(),r.createElementBlock("svg",ps,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 gs={render:hs},ys={"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 bs(t,e){return r.openBlock(),r.createElementBlock("svg",ys,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 Ts={render:bs},Pt=Math.min,bt=Math.max,me=Math.round,pe=Math.floor,it=t=>({x:t,y:t}),Ss={left:"right",right:"left",bottom:"top",top:"bottom"},ws={start:"end",end:"start"};function He(t,e,n){return bt(t,Pt(e,n))}function Rt(t,e){return typeof t=="function"?t(e):t}function Tt(t){return t.split("-")[0]}function zt(t){return t.split("-")[1]}function $r(t){return t==="x"?"y":"x"}function Ye(t){return t==="y"?"height":"width"}function he(t){return["top","bottom"].includes(Tt(t))?"y":"x"}function We(t){return $r(he(t))}function Os(t,e,n){n===void 0&&(n=!1);const o=zt(t),a=We(t),i=Ye(a);let s=a==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=ge(s)),[s,ge(s)]}function As(t){const e=ge(t);return[qe(t),e,qe(e)]}function qe(t){return t.replace(/start|end/g,e=>ws[e])}function ks(t,e,n){const o=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?a:o:e?o:a;case"left":case"right":return e?i:s;default:return[]}}function _s(t,e,n,o){const a=zt(t);let i=ks(Tt(t),n==="start",o);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(qe)))),i}function ge(t){return t.replace(/left|right|bottom|top/g,e=>Ss[e])}function xs(t){return{top:0,right:0,bottom:0,left:0,...t}}function Dr(t){return typeof t!="number"?xs(t):{top:t,right:t,bottom:t,left:t}}function ye(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 Mr(t,e,n){let{reference:o,floating:a}=t;const i=he(e),s=We(e),l=Ye(s),u=Tt(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 g;switch(u){case"top":g={x:d,y:o.y-a.height};break;case"bottom":g={x:d,y:o.y+o.height};break;case"right":g={x:o.x+o.width,y:f};break;case"left":g={x:o.x-a.width,y:f};break;default:g={x:o.x,y:o.y}}switch(zt(e)){case"start":g[s]-=y*(n&&c?-1:1);break;case"end":g[s]+=y*(n&&c?-1:1);break}return g}const Ps=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}=Mr(c,o,u),y=o,g={},p=0;for(let m=0;m<l.length;m++){const{name:h,fn:S}=l[m],{x:_,y:x,data:E,reset:N}=await S({x:d,y:f,initialPlacement:o,placement:y,strategy:a,middlewareData:g,rects:c,platform:s,elements:{reference:t,floating:e}});d=_??d,f=x??f,g={...g,[h]:{...g[h],...E}},N&&p<=50&&(p++,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}=Mr(c,y,u)),m=-1)}return{x:d,y:f,placement:y,strategy:a,middlewareData:g}};async function vr(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:g=0}=Rt(e,t),p=Dr(g),h=l[y?f==="floating"?"reference":"floating":f],S=ye(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(h)))==null||n?h:h.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),_=f==="floating"?{...s.floating,x:o,y:a}:s.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),E=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},N=ye(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:_,offsetParent:x,strategy:u}):_);return{top:(S.top-N.top+p.top)/E.y,bottom:(N.bottom-S.bottom+p.bottom)/E.y,left:(S.left-N.left+p.left)/E.x,right:(N.right-S.right+p.right)/E.x}}const Es=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}=Rt(t,e)||{};if(c==null)return{};const f=Dr(d),y={x:n,y:o},g=We(a),p=Ye(g),m=await s.getDimensions(c),h=g==="y",S=h?"top":"left",_=h?"bottom":"right",x=h?"clientHeight":"clientWidth",E=i.reference[p]+i.reference[g]-y[g]-i.floating[p],N=y[g]-i.reference[g],v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let L=v?v[x]:0;(!L||!await(s.isElement==null?void 0:s.isElement(v)))&&(L=l.floating[x]||i.floating[p]);const G=E/2-N/2,U=L/2-m[p]/2-1,B=Pt(f[S],U),M=Pt(f[_],U),H=B,rt=L-m[p]-M,P=L/2-m[p]/2+G,k=He(H,P,rt),w=!u.arrow&&zt(a)!=null&&P!==k&&i.reference[p]/2-(P<H?B:M)-m[p]/2<0,O=w?P<H?P-H:P-rt:0;return{[g]:y[g]+O,data:{[g]:k,centerOffset:P-k-O,...w&&{alignmentOffset:O}},reset:w}}}),Ns=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:g="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...h}=Rt(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const S=Tt(a),_=Tt(l)===l,x=await(u.isRTL==null?void 0:u.isRTL(c.floating)),E=y||(_||!m?[ge(l)]:As(l));!y&&p!=="none"&&E.push(..._s(l,m,p,x));const N=[l,...E],v=await vr(e,h),L=[];let G=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&L.push(v[S]),f){const H=Os(a,s,x);L.push(v[H[0]],v[H[1]])}if(G=[...G,{placement:a,overflows:L}],!L.every(H=>H<=0)){var U,B;const H=(((U=i.flip)==null?void 0:U.index)||0)+1,rt=N[H];if(rt)return{data:{index:H,overflows:G},reset:{placement:rt}};let P=(B=G.filter(k=>k.overflows[0]<=0).sort((k,w)=>k.overflows[1]-w.overflows[1])[0])==null?void 0:B.placement;if(!P)switch(g){case"bestFit":{var M;const k=(M=G.map(w=>[w.placement,w.overflows.filter(O=>O>0).reduce((O,A)=>O+A,0)]).sort((w,O)=>w[1]-O[1])[0])==null?void 0:M[0];k&&(P=k);break}case"initialPlacement":P=l;break}if(a!==P)return{reset:{placement:P}}}return{}}}};async function $s(t,e){const{placement:n,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=Tt(n),l=zt(n),u=he(n)==="y",c=["left","top"].includes(s)?-1:1,d=i&&u?-1:1,f=Rt(e,t);let{mainAxis:y,crossAxis:g,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof p=="number"&&(g=l==="end"?p*-1:p),u?{x:g*d,y:y*c}:{x:y*c,y:g*d}}const Ds=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 $s(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}}}}},Ms=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:h=>{let{x:S,y:_}=h;return{x:S,y:_}}},...u}=Rt(t,e),c={x:n,y:o},d=await vr(e,u),f=he(Tt(a)),y=$r(f);let g=c[y],p=c[f];if(i){const h=y==="y"?"top":"left",S=y==="y"?"bottom":"right",_=g+d[h],x=g-d[S];g=He(_,g,x)}if(s){const h=f==="y"?"top":"left",S=f==="y"?"bottom":"right",_=p+d[h],x=p-d[S];p=He(_,p,x)}const m=l.fn({...e,[y]:g,[f]:p});return{...m,data:{x:m.x-n,y:m.y-o}}}}};function be(){return typeof window<"u"}function Et(t){return Cr(t)?(t.nodeName||"").toLowerCase():"#document"}function Z(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function st(t){var e;return(e=(Cr(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Cr(t){return be()?t instanceof Node||t instanceof Z(t).Node:!1}function et(t){return be()?t instanceof Element||t instanceof Z(t).Element:!1}function lt(t){return be()?t instanceof HTMLElement||t instanceof Z(t).HTMLElement:!1}function Lr(t){return!be()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Z(t).ShadowRoot}function Vt(t){const{overflow:e,overflowX:n,overflowY:o,display:a}=nt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(a)}function vs(t){return["table","td","th"].includes(Et(t))}function Te(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Ke(t){const e=Ze(),n=et(t)?nt(t):t;return["transform","translate","scale","rotate","perspective"].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)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Cs(t){let e=mt(t);for(;lt(e)&&!Nt(e);){if(Ke(e))return e;if(Te(e))return null;e=mt(e)}return null}function Ze(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Nt(t){return["html","body","#document"].includes(Et(t))}function nt(t){return Z(t).getComputedStyle(t)}function Se(t){return et(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function mt(t){if(Et(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Lr(t)&&t.host||st(t);return Lr(e)?e.host:e}function Ir(t){const e=mt(t);return Nt(e)?t.ownerDocument?t.ownerDocument.body:t.body:lt(e)&&Vt(e)?e:Ir(e)}function Gt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=Ir(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=Z(a);if(i){const l=Xe(s);return e.concat(s,s.visualViewport||[],Vt(a)?a:[],l&&n?Gt(l):[])}return e.concat(a,Gt(a,[],n))}function Xe(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Br(t){const e=nt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const a=lt(t),i=a?t.offsetWidth:n,s=a?t.offsetHeight:o,l=me(n)!==i||me(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function Je(t){return et(t)?t:t.contextElement}function $t(t){const e=Je(t);if(!lt(e))return it(1);const n=e.getBoundingClientRect(),{width:o,height:a,$:i}=Br(e);let s=(i?me(n.width):n.width)/o,l=(i?me(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Ls=it(0);function Rr(t){const e=Z(t);return!Ze()||!e.visualViewport?Ls:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Is(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Z(t)?!1:e}function St(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),i=Je(t);let s=it(1);e&&(o?et(o)&&(s=$t(o)):s=$t(t));const l=Is(i,n,o)?Rr(i):it(0);let u=(a.left+l.x)/s.x,c=(a.top+l.y)/s.y,d=a.width/s.x,f=a.height/s.y;if(i){const y=Z(i),g=o&&et(o)?Z(o):o;let p=y,m=Xe(p);for(;m&&o&&g!==p;){const h=$t(m),S=m.getBoundingClientRect(),_=nt(m),x=S.left+(m.clientLeft+parseFloat(_.paddingLeft))*h.x,E=S.top+(m.clientTop+parseFloat(_.paddingTop))*h.y;u*=h.x,c*=h.y,d*=h.x,f*=h.y,u+=x,c+=E,p=Z(m),m=Xe(p)}}return ye({width:d,height:f,x:u,y:c})}function Qe(t,e){const n=Se(t).scrollLeft;return e?e.left+n:St(st(t)).left+n}function zr(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),a=o.left+e.scrollLeft-(n?0:Qe(t,o)),i=o.top+e.scrollTop;return{x:a,y:i}}function Bs(t){let{elements:e,rect:n,offsetParent:o,strategy:a}=t;const i=a==="fixed",s=st(o),l=e?Te(e.floating):!1;if(o===s||l&&i)return n;let u={scrollLeft:0,scrollTop:0},c=it(1);const d=it(0),f=lt(o);if((f||!f&&!i)&&((Et(o)!=="body"||Vt(s))&&(u=Se(o)),lt(o))){const g=St(o);c=$t(o),d.x=g.x+o.clientLeft,d.y=g.y+o.clientTop}const y=s&&!f&&!i?zr(s,u,!0):it(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+y.x,y:n.y*c.y-u.scrollTop*c.y+d.y+y.y}}function Rs(t){return Array.from(t.getClientRects())}function zs(t){const e=st(t),n=Se(t),o=t.ownerDocument.body,a=bt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=bt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Qe(t);const l=-n.scrollTop;return nt(o).direction==="rtl"&&(s+=bt(e.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:l}}function Vs(t,e){const n=Z(t),o=st(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=Ze();(!c||c&&e==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:i,height:s,x:l,y:u}}function Gs(t,e){const n=St(t,!0,e==="fixed"),o=n.top+t.clientTop,a=n.left+t.clientLeft,i=lt(t)?$t(t):it(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,u=a*i.x,c=o*i.y;return{width:s,height:l,x:u,y:c}}function Vr(t,e,n){let o;if(e==="viewport")o=Vs(t,n);else if(e==="document")o=zs(st(t));else if(et(e))o=Gs(e,n);else{const a=Rr(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return ye(o)}function Gr(t,e){const n=mt(t);return n===e||!et(n)||Nt(n)?!1:nt(n).position==="fixed"||Gr(n,e)}function Fs(t,e){const n=e.get(t);if(n)return n;let o=Gt(t,[],!1).filter(l=>et(l)&&Et(l)!=="body"),a=null;const i=nt(t).position==="fixed";let s=i?mt(t):t;for(;et(s)&&!Nt(s);){const l=nt(s),u=Ke(s);!u&&l.position==="fixed"&&(a=null),(i?!u&&!a:!u&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Vt(s)&&!u&&Gr(t,s))?o=o.filter(d=>d!==s):a=l,s=mt(s)}return e.set(t,o),o}function js(t){let{element:e,boundary:n,rootBoundary:o,strategy:a}=t;const s=[...n==="clippingAncestors"?Te(e)?[]:Fs(e,this._c):[].concat(n),o],l=s[0],u=s.reduce((c,d)=>{const f=Vr(e,d,a);return c.top=bt(f.top,c.top),c.right=Pt(f.right,c.right),c.bottom=Pt(f.bottom,c.bottom),c.left=bt(f.left,c.left),c},Vr(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Us(t){const{width:e,height:n}=Br(t);return{width:e,height:n}}function Hs(t,e,n){const o=lt(e),a=st(e),i=n==="fixed",s=St(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const u=it(0);if(o||!o&&!i)if((Et(e)!=="body"||Vt(a))&&(l=Se(e)),o){const y=St(e,!0,i,e);u.x=y.x+e.clientLeft,u.y=y.y+e.clientTop}else a&&(u.x=Qe(a));const c=a&&!o&&!i?zr(a,l):it(0),d=s.left+l.scrollLeft-u.x-c.x,f=s.top+l.scrollTop-u.y-c.y;return{x:d,y:f,width:s.width,height:s.height}}function tn(t){return nt(t).position==="static"}function Fr(t,e){if(!lt(t)||nt(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return st(t)===n&&(n=n.ownerDocument.body),n}function jr(t,e){const n=Z(t);if(Te(t))return n;if(!lt(t)){let a=mt(t);for(;a&&!Nt(a);){if(et(a)&&!tn(a))return a;a=mt(a)}return n}let o=Fr(t,e);for(;o&&vs(o)&&tn(o);)o=Fr(o,e);return o&&Nt(o)&&tn(o)&&!Ke(o)?n:o||Cs(t)||n}const Ys=async function(t){const e=this.getOffsetParent||jr,n=this.getDimensions,o=await n(t.floating);return{reference:Hs(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Ws(t){return nt(t).direction==="rtl"}const qs={convertOffsetParentRelativeRectToViewportRelativeRect:Bs,getDocumentElement:st,getClippingRect:js,getOffsetParent:jr,getElementRects:Ys,getClientRects:Rs,getDimensions:Us,getScale:$t,isElement:et,isRTL:Ws};function Ur(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Ks(t,e){let n=null,o;const a=st(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:g}=c;if(l||e(),!y||!g)return;const p=pe(f),m=pe(a.clientWidth-(d+y)),h=pe(a.clientHeight-(f+g)),S=pe(d),x={rootMargin:-p+"px "+-m+"px "+-h+"px "+-S+"px",threshold:bt(0,Pt(1,u))||1};let E=!0;function N(v){const L=v[0].intersectionRatio;if(L!==u){if(!E)return s();L?s(!1,L):o=setTimeout(()=>{s(!1,1e-7)},1e3)}L===1&&!Ur(c,t.getBoundingClientRect())&&s(),E=!1}try{n=new IntersectionObserver(N,{...x,root:a.ownerDocument})}catch{n=new IntersectionObserver(N,x)}n.observe(t)}return s(!0),i}function Zs(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=Je(t),d=a||i?[...c?Gt(c):[],...Gt(e)]:[];d.forEach(S=>{a&&S.addEventListener("scroll",n,{passive:!0}),i&&S.addEventListener("resize",n)});const f=c&&l?Ks(c,n):null;let y=-1,g=null;s&&(g=new ResizeObserver(S=>{let[_]=S;_&&_.target===c&&g&&(g.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var x;(x=g)==null||x.observe(e)})),n()}),c&&!u&&g.observe(c),g.observe(e));let p,m=u?St(t):null;u&&h();function h(){const S=St(t);m&&!Ur(m,S)&&n(),m=S,p=requestAnimationFrame(h)}return n(),()=>{var S;d.forEach(_=>{a&&_.removeEventListener("scroll",n),i&&_.removeEventListener("resize",n)}),f==null||f(),(S=g)==null||S.disconnect(),g=null,u&&cancelAnimationFrame(p)}}const Xs=Ds,Js=Ms,Qs=Ns,Hr=Es,tl=(t,e,n)=>{const o=new Map,a={platform:qs,...n},i={...a.platform,_c:o};return Ps(t,e,{...a,platform:i})};function Yr(t,e="body"){if(!t)return;if(typeof e!="string"){e==null||e.append(t);return}const n=document.querySelector(e);n==null||n.append(t)}function el(t,e=()=>({})){return t.slice().sort((n,o)=>{const a=e(n),i=e(o);if(a===null||i===null)return 0;const s=a.compareDocumentPosition(i);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function nl({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"),g=r.ref(null),p=()=>{!i.value||!s.value||tl(i.value,s.value,{middleware:t,placement:e,strategy:n}).then(h=>{l.value=h.x,u.value=h.y,y.value=h.strategy,c.value=h.middlewareData.arrow.x,d.value=h.middlewareData.arrow.y,f.value=h.placement})};r.watch(()=>({reference:r.unref(i),floating:r.unref(s),append:r.unref(o)}),({floating:h,append:S})=>{S&&Yr(h,S),p()},{flush:"post"}),r.watch(a,h=>{if(!(!i.value||!s.value)){if(!h)return m();g.value=Zs(i.value,s.value,p,{})}},{flush:"post"});function m(){var h;(h=g.value)==null||h.call(g),g.value=null}return{x:l,y:u,arrowX:c,arrowY:d,placement:f,reference:i,floating:s,strategy:y,update:p}}function rl(t){const{element:e,padding:n}=t;return{name:"arrow",options:t,fn(o){return r.isRef(e)?e.value!=null?Hr({element:e.value,padding:n}).fn(o):{}:e?Hr({element:e,padding:n}).fn(o):{}}}}const ol=["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}=nl({placement:e.placement,middleware:[Qs(),Js({padding:5}),Xs(e.offset),rl({element:o,padding:5})],append:r.computed(()=>e.appendTo),enabled:n});function y(){e.disabled||n.value||(n.value=!0)}function g(h){n.value&&h&&(n.value=!1)}function p(h){c.value=h}const m={mouseenter:y,mouseleave:g,focus:y,blur:g};return Ha(d,h=>{var S;(S=c.value)!=null&&S.contains(h.target)||g()}),(h,S)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.renderSlot(h.$slots,"default",{setRef:p,show:y,hide:g,events:m}),r.createElementVNode("div",{ref_key:"floating",ref:d,"data-placement":r.unref(u),style:r.normalizeStyle({position:r.unref(f),top:r.unref(i)?`${r.unref(i)}px`:"",left:r.unref(a)?`${r.unref(a)}px`:""})},[r.createVNode(r.Transition,{name:"transition-fade",mode:"out-in"},{default:r.withCtx(()=>[n.value?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(["floating-content",[[`is-${e.theme}`]]])},[r.renderSlot(h.$slots,"content",{close:g},()=>[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,ol)],64))}},al={class:"table"},il=["tabindex","onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown"],sl={key:0},ll=["colspan"],cl={key:1},ul=["colspan"],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=ir(a,{delay:yn}),{t:l}=ot(),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",al,[r.createElementVNode("thead",null,[r.createElementVNode("tr",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(g,p)=>(r.openBlock(),r.createBlock(en,{key:p,placement:"top",content:g.tooltip,disabled:!g.tooltip,"append-to":r.unref(i)},{default:r.withCtx(({setRef:m,show:h,hide:S})=>[r.createElementVNode("th",{ref_for:!0,ref:m,class:r.normalizeClass([[g.class],{"is-active":p===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ct),"is-sortable":g.sortOrders,"is-desc":p===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b),"is-asc":p===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(I)}]),tabindex:g.sortOrders?0:-1,role:"button",onMouseenter:h,onMouseleave:S,onFocus:h,onBlur:S,onClick:_=>d(g,p),onKeydown:[r.withKeys(r.withModifiers(_=>d(g,p),["prevent"]),["space"]),r.withKeys(r.withModifiers(_=>d(g,p),["prevent"]),["enter"])]},[r.renderSlot(f.$slots,`header-${p}`,{column:g},()=>[r.createTextVNode(r.toDisplayString(g.label),1)]),g.sortOrders&&p!==t.sort.sortTarget?(r.openBlock(),r.createBlock(r.unref(Nr),{key:0,class:"is-icon-sort"})):r.createCommentVNode("",!0),p===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(ct)?(r.openBlock(),r.createBlock(r.unref(Nr),{key:1,class:"is-icon-sort"})):r.createCommentVNode("",!0),p===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b)?(r.openBlock(),r.createBlock(r.unref(gs),{key:2,class:"is-icon-sort"})):r.createCommentVNode("",!0),p===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(I)?(r.openBlock(),r.createBlock(r.unref(Ts),{key:3,class:"is-icon-sort"})):r.createCommentVNode("",!0)],42,il)]),_:2},1032,["content","disabled","append-to"]))),128))])]),r.createElementVNode("tbody",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.rows,(g,p)=>(r.openBlock(),r.createElementBlock("tr",{key:p,class:r.normalizeClass(g.rowClasses)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(m,h)=>(r.openBlock(),r.createElementBlock("td",{key:h,class:r.normalizeClass([[m.class],{"is-active":h===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ct),"is-zero":g[h]===0||g[h]==="00:00"}])},[r.renderSlot(f.$slots,`cell-${h}`,{row:g,prop:h},()=>[r.createTextVNode(r.toDisplayString(g[h]),1)])],2))),128))],2))),128))]),r.unref(s)&&t.rows.length===0?(r.openBlock(),r.createElementBlock("tfoot",sl,[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,ll)])])):r.createCommentVNode("",!0),t.rows.length===0&&!r.unref(a)&&!r.unref(s)?(r.openBlock(),r.createElementBlock("tfoot",cl,[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,ul)])])):r.createCommentVNode("",!0)]))}},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 fl(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 ml={render:fl},pl={class:"error-notice"},hl=["textContent"],gl={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})},useRetry:{type:Boolean,default:!1}},emits:["retry"],setup(t){const e=t,{t:n,hasTranslation:o}=ot(),a=r.computed(()=>{var i,s;return o(`errors.${e.error.key}`)?n(`errors.${e.error.key}`,e.error.cause||[(i=e.error)==null?void 0:i.message]):(s=e.error)==null?void 0:s.message});return(i,s)=>(r.openBlock(),r.createElementBlock("div",pl,[r.createVNode(r.unref(ml),{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,hl)):r.createCommentVNode("",!0)]))}},yl={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:o}=Qn();return(a,i)=>r.renderSlot(a.$slots,"default",{message:r.unref(e),error:r.unref(o),hasError:r.unref(n)})}},bl={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:"#",team:{short:"Team",tooltip:"Team name"},game:{short:"GP",tooltip:"Game 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"}}},Tl={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:"#",team:{short:"Csapat",tooltip:"Csapatnév"},game:{short:"GP",tooltip:"Mérkőzésszám"},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"}}},Sl=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},wl=r.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=Vn({hu:Tl,en:bl},t.messages),{translate:n}=Wn({locale:r.computed(()=>t.locale),messages:e});return{translate:n}}});function Ol(t,e,n,o,a,i){return r.renderSlot(t.$slots,"default",{t:t.translate})}const Al=Sl(wl,[["render",Ol]]),kl=["src"],_l=["src","title"],wt=Object.assign({inheritAttrs:!1},{__name:"Image",props:{src:{type:String,default:""},title:{type:String,default:""},defaultSrc:{type:String,default:""}},setup(t){const e=t,{defaultSrc:n}=r.toRefs(e),o=r.ref({src:e.src}),{error:a,isReady:i}=qa(o,{resetOnExecute:!1,shallow:!1});return(s,l)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.unref(a)&&r.unref(n)?(r.openBlock(),r.createElementBlock("img",{key:0,src:r.unref(n),class:r.normalizeClass(["is-loaded is-default",[s.$attrs.class]])},null,10,kl)):r.createCommentVNode("",!0),r.unref(a)?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("img",{key:1,src:o.value.src,class:r.normalizeClass([s.$attrs.class,{"is-loaded":r.unref(i)}]),title:e.title,loading:"lazy"},null,10,_l))],64))}}),xl={class:"loading-indicator"},rn={__name:"LoadingIndicator",setup(t){const{t:e}=ot();return(n,o)=>(r.openBlock(),r.createElementBlock("div",xl,r.toDisplayString(r.unref(e)("common.loading")),1))}},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 El(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 Nl={render:El},$l={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 Dl(t,e){return r.openBlock(),r.createElementBlock("svg",$l,e[0]||(e[0]=[r.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1)]))}const Ml={render:Dl},vl={key:0,class:"paginator"},Cl=["disabled"],Ll=["disabled"],Il={key:1,class:"is-disabled"},Bl=["disabled","onClick"],Rl={key:2,class:"is-disabled"},zl=["disabled"],Vl=["disabled"],Gl={__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}=ts({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",vl,[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(Nl),{class:"icon paginator-left"})])],8,Cl),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,Ll)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",Il," ... ")),(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,Bl))),128)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",Rl,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,zl)),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(Ml),{class:"icon paginator-left"})])],8,Vl)])):r.createCommentVNode("",!0)}},on={__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))}},Fl={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 jl(t,e){return r.openBlock(),r.createElementBlock("svg",Fl,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 Ul={render:jl},Hl={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 Yl(t,e){return r.openBlock(),r.createElementBlock("svg",Hl,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 Wl={render:Yl},ql={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 Kl(t,e){return r.openBlock(),r.createElementBlock("svg",ql,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 Zl={render:Kl},Xl={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 Jl(t,e){return r.openBlock(),r.createElementBlock("svg",Xl,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 Ql={render:Jl};function tc(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?Xt(Ce(l),Yt(e)):Xt(ut(l),Un,pa(Un(e)))),i=Go(l=>l.name?wa(ya("name"),Oa(",",""),l):l),s=$e(Xt(i,Vo([...a])),this.result);this.isFiltered=!0,this.filteredRowsLength=s.length,this.result=s}return this},sorted(e){if(!e.sortTarget)return this;if(e.orders[0].direction===ct)return this;const n=ma(Yt(I),Ln(Me),Ln(ra));return this.result=jn(e.orders.map(o=>Bn(n(o.direction),ut)(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:Sc(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:yt(o.gameDate,"L dddd",e,n),gameDateTime:yt(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`]=Ge(n[o]):n),n)),this},groupByDays(){return this.currentItems=this.result.length,this.result=fa(e=>yt(e.gameDate,"YYYY-MM-DD"))(this.result),this},slice(e=3){return this.result=this.result.slice(0,e),this}}}const ec=(t,...e)=>ft(Bn(...e))(t);function nc(t){var e,n,o,a;return{...t,...t.lastName&&t.firstName&&{name:`${t.lastName} ${t.firstName}`},...((e=t.player)==null?void 0:e.playerId)&&{name:`${t.player.lastName} ${t.player.firstName}`},...((n=t.player)==null?void 0:n.id)&&{name:`${t.player.lastName} ${t.player.firstName}`},...((o=t.player)==null?void 0:o.nationality)&&{name:(a=t.player)!=null&&a.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 rc(t){var e;return{...t,...((e=t==null?void 0:t.team)==null?void 0:e.id)&&{teamName:t.team.longName}}}function oc(t="",e="hu"){return n=>({...n,gameDateDate:yt(n.gameDate,"L dddd",t,e),gameDateTime:yt(n.gameDate,"HH:mm",t,e)})}function ac(t){return e=>({...e,gameResult:yc(e)})}function ic(t){return{...t,opponent:gc(t)}}function sc(t){return{...t,resultType:bc(t)}}function lc(t){return{...t,rowClasses:t.optional?"is-optional":""}}function cc(t=[]){return e=>{var n;return{...e,[t]:(n=e[t])==null?void 0:n.toUpperCase()}}}function uc(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Sec`]=Ge(e[n]):e),e)}function dc(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Min`]=Or(e[n]):e),e)}function fc(t=[]){return e=>(t.map(n=>e[`${n}Min`]=wr(e[n])),e)}function mc(t){var e,n;return{...t,periodResults:((n=(e=t.result)==null?void 0:e.match(/\(.*?\)/))==null?void 0:n[0])??""}}const pc=jn([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Me(ut("id")),Me(ut("gameId"))]),hc=Aa((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function gc(t){var e;return[t.isHomeGame?null:"@",(e=t.opponent)==null?void 0:e.shortName].join(" ")}function yc(t){let e=t==null?void 0:t.homeTeamScore,n=t==null?void 0:t.awayTeamScore;return t.isHomeGame||(e=t==null?void 0:t.awayTeamScore,n=t==null?void 0:t.homeTeamScore),[e,n].join(":")}function bc(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 Tc(t){return t.map(e=>{var n,o;return{phaseId:e.phaseId,phaseName:Object.values({phaseName:e.phaseName,...((n=e.phaseType)==null?void 0:n.phaseTypeName)&&e.phaseType.phaseTypeName!==e.phaseName&&{phaseTypeName:e.phaseType.phaseTypeName},...((o=e.phaseSubType)==null?void 0:o.phaseSubTypeName)&&{phaseSubTypeName:e.phaseSubType.phaseSubTypeName}}).join("-")}})}function Sc(t){return t.player?t.player.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`:`${t.lastName} ${t.firstName}`}class an extends Error{constructor(e,n={}){const{key:o,cause:a}=n;super(e),this.name="WidgetError",this.key=o,this.cause=a}}const Ft={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},wc={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}},sn=(t="")=>{var e;return(e=window==null?void 0:window.__MJSZ_VBR_WIDGET__)==null?void 0:e[t]};function Oc(t,e={}){if(e.externalGameUrl)return e.externalGameUrl;const n=sn("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||cn,e))}function Ac(t,e={}){const n=sn("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||fn,e))}function kc(t,e={}){const n=sn("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||dn,e))}function _c(t,e={}){return typeof t=="function"?t(e):encodeURI(dt(t||mn,e))}const xc=(t,e="1x1")=>`${pn}/flag:${t}-${e}.svg`;function Pc(){window.scrollTo(0,0)}const Ec={class:"is-team-name-long"},Nc={class:"is-team-name-short"},$c={class:"is-team-name-long"},Dc={class:"is-team-name-short"},Mc={key:0,class:"is-text-dark"},vc=["href","target"],Cc={key:0,class:"label"},Lc={key:1,class:"label"},Ic={key:2,class:"label"},Bc={key:1},Rc=["onClick","onFocus","onBlur"],zc={class:"is-dropdown-menu"},Vc=["href","target"],Gc={key:0},Fc=["href"],jc={__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}=Be(),{columns:a,error:i}=Ie(bn,r.computed(()=>e.hideColumns),r.computed(()=>({offsetName:e.offsetName})));ja(i,()=>o(new an(Ft.message,{...Ft.options,cause:{column:i.value}})),{immediate:!0});const{t:s}=ot();return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(on,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",Ec,r.toDisplayString(d.homeTeam.longName),1),r.createElementVNode("span",Nc,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",$c,r.toDisplayString(d.awayTeam.longName),1),r.createElementVNode("span",Dc,r.toDisplayString(d.awayTeam.shortName),1)],64)):r.createCommentVNode("",!0)]),"cell-homeTeamLogo":r.withCtx(({row:d})=>[d.homeTeam?(r.openBlock(),r.createBlock(wt,{key:d.homeTeam.id,class:"is-logo-image is-right",src:d.homeTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-awayTeamLogo":r.withCtx(({row:d})=>[d.awayTeam?(r.openBlock(),r.createBlock(wt,{key:d.awayTeam.id,class:"is-logo-image is-right",src:d.awayTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-gameResult":r.withCtx(({row:d})=>[d.gameStatus===0?(r.openBlock(),r.createElementBlock("span",Mc,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(d.gameId),target:t.externalGameResolverTarget,class:r.normalizeClass({"is-text-dark":d.gameStatus!==1,"is-text-accent":d.gameStatus===1})},r.toDisplayString(d.homeTeamScore)+":"+r.toDisplayString(d.awayTeamScore),11,vc))]),"cell-gameResultType":r.withCtx(({row:d})=>[d.isOvertime?(r.openBlock(),r.createElementBlock("span",Cc,r.toDisplayString(r.unref(s)("common.overtimeShort")),1)):r.createCommentVNode("",!0),d.isShootout?(r.openBlock(),r.createElementBlock("span",Lc,r.toDisplayString(r.unref(s)("common.shootoutShort")),1)):r.createCommentVNode("",!0),d.seriesStandings?(r.openBlock(),r.createElementBlock("span",Ic,r.toDisplayString(d.seriesStandings),1)):r.createCommentVNode("",!0)]),"cell-broadcast":r.withCtx(({row:d})=>[d.broadcast?(r.openBlock(),r.createBlock(r.unref(Ul),{key:0})):(r.openBlock(),r.createElementBlock("span",Bc))]),"cell-location":r.withCtx(({row:d})=>{var f;return[r.createTextVNode(r.toDisplayString(((f=d.location)==null?void 0:f.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,show:y,hide:g})=>[r.createElementVNode("button",{ref:f,onClick:r.withModifiers(y,["stop"]),onFocus:y,onBlur:g},[r.createVNode(r.unref(Wl))],40,Rc)]),content:r.withCtx(()=>[r.createElementVNode("ul",zc,[r.createElementVNode("li",null,[r.createElementVNode("a",{href:t.externalGameResolver(d.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[r.createVNode(r.unref(Zl),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.report")),1)],8,Vc)]),d.video?(r.openBlock(),r.createElementBlock("li",Gc,[r.createElementVNode("a",{href:d.video,class:"is-dropdown-item",target:"_blank"},[r.createVNode(r.unref(Ql),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.video")),1)],8,Fc)])):r.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:r.withCtx(()=>[r.createVNode(rn)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),r.createElementVNode("div",{ref_key:"tooltipContainer",ref:n},null,512)],64))}},Uc={class:"g-row g-gap-normal is-mb-5"},Hc={for:"season",class:"label"},Yc=["value"],Wc={key:0},qc=["onClick"],Kc={__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}=ot(),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",Uc,[r.createElementVNode("div",null,[r.createElementVNode("label",Hc,r.toDisplayString(r.unref(a)("selection.season")),1),r.createVNode(Er,{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,Yc))),128))]),_:1},8,["modelValue"])]),r.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",Wc,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.sections,c=>(r.openBlock(),r.createElementBlock("button",{key:c.phaseId,class:r.normalizeClass(["tab-button",{"is-active":c.sectionId===t.sectionId}]),onClick:d=>s(c)},r.toDisplayString(c.sectionName),11,qc))),128))]))],64))}},Zc={class:"is-portrait-image"},Xc=["href"],Jc={class:"is-team-name-long"},Qc={class:"is-team-name-short"},tu={class:"is-team-name-long"},eu={key:0},nu={class:"is-team-name-short"},ru={key:0},ou={class:"is-team-name-long"},au={class:"is-team-name-short"},iu={class:"is-team-name-long"},su={class:"is-team-name-short"},lu=["href"],cu={key:0,class:"is-text-dark"},uu=["href","target"],du={key:0,class:"label"},fu={key:1,class:"label"},mu={key:2,class:"label"},pu={__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}=Be(),{t:l}=ot(),{columns:u,error:c}=Ie(a,i,r.computed(()=>({offsetName:n.offsetName})));c.value&&s(new an(Ft.message,{...Ft.options,cause:{column:c.value}}));const d=f=>o("sort",f);return(f,y)=>(r.openBlock(),r.createBlock(on,null,{default:r.withCtx(({el:g})=>[r.createVNode(nn,{columns:r.unref(u),sort:n.sort,rows:n.rows,"is-loading":t.isLoading,"append-to":t.appendTo||g,onSort:d},r.createSlots({"cell-index":r.withCtx(({row:p})=>[r.createElementVNode("span",{class:r.normalizeClass(p.indexClass)},r.toDisplayString(p.index),3)]),"cell-playerPortrait":r.withCtx(({row:p})=>[r.createElementVNode("div",Zc,[(r.openBlock(),r.createBlock(wt,{key:p.player.playerId,src:p.player.picture,"default-src":r.unref(un)},null,8,["src","default-src"]))])]),"cell-teamLogo":r.withCtx(({row:p})=>{var m,h;return[(r.openBlock(),r.createBlock(wt,{key:((m=p.team)==null?void 0:m.id)??p.id,class:"is-logo-image",src:(h=p.team)==null?void 0:h.logo},null,8,["src"]))]}),"cell-homeTeamLogo":r.withCtx(({row:p})=>{var m,h;return[(r.openBlock(),r.createBlock(wt,{key:(m=p.homeTeam)==null?void 0:m.id,class:"is-logo-image is-right",src:(h=p.homeTeam)==null?void 0:h.logo},null,8,["src"]))]}),"cell-awayTeamLogo":r.withCtx(({row:p})=>{var m,h;return[(r.openBlock(),r.createBlock(wt,{key:(m=p.awayTeam)==null?void 0:m.id,class:"is-logo-image is-right",src:(h=p.awayTeam)==null?void 0:h.logo},null,8,["src"]))]}),"cell-teamName":r.withCtx(({row:p})=>{var m,h,S,_;return[t.isTeamLinked?(r.openBlock(),r.createElementBlock("a",{key:0,href:t.externalTeamResolver(p),target:"_blank"},[r.createElementVNode("span",Jc,r.toDisplayString((m=p.team)==null?void 0:m.longName),1),r.createElementVNode("span",Qc,r.toDisplayString((h=p.team)==null?void 0:h.shortName),1)],8,Xc)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createElementVNode("span",tu,[r.createTextVNode(r.toDisplayString((S=p.team)==null?void 0:S.longName)+" ",1),p.penaltyPoints?(r.openBlock(),r.createElementBlock("span",eu,y[0]||(y[0]=[r.createElementVNode("sup",null,"*",-1)]))):r.createCommentVNode("",!0)]),r.createElementVNode("span",nu,[r.createTextVNode(r.toDisplayString((_=p.team)==null?void 0:_.shortName)+" ",1),p.penaltyPoints?(r.openBlock(),r.createElementBlock("span",ru,y[1]||(y[1]=[r.createElementVNode("sup",null,"*",-1)]))):r.createCommentVNode("",!0)])],64))]}),"cell-homeTeamName":r.withCtx(({row:p})=>{var m,h;return[r.createElementVNode("span",ou,r.toDisplayString((m=p.homeTeam)==null?void 0:m.longName),1),r.createElementVNode("span",au,r.toDisplayString((h=p.homeTeam)==null?void 0:h.shortName),1)]}),"cell-awayTeamName":r.withCtx(({row:p})=>{var m,h;return[r.createElementVNode("span",iu,r.toDisplayString((m=p.awayTeam)==null?void 0:m.longName),1),r.createElementVNode("span",su,r.toDisplayString((h=p.awayTeam)==null?void 0:h.shortName),1)]}),"cell-location":r.withCtx(({row:p})=>{var m;return[r.createTextVNode(r.toDisplayString(((m=p.location)==null?void 0:m.locationName)??""),1)]}),"cell-gameResult":r.withCtx(({row:p})=>[p.gameStatus===0?(r.openBlock(),r.createElementBlock("span",cu,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(p),target:t.externalGameResolverTarget,class:r.normalizeClass({"is-text-dark":p.gameStatus!==1,"is-text-accent":p.gameStatus===1})},r.toDisplayString(p.homeTeamScore)+":"+r.toDisplayString(p.awayTeamScore),11,uu))]),"cell-gameResultType":r.withCtx(({row:p})=>[p.isOvertime?(r.openBlock(),r.createElementBlock("span",du,r.toDisplayString(r.unref(l)("common.overtimeShort")),1)):r.createCommentVNode("",!0),p.isShootout?(r.openBlock(),r.createElementBlock("span",fu,r.toDisplayString(r.unref(l)("common.shootoutShort")),1)):r.createCommentVNode("",!0),p.seriesStandings?(r.openBlock(),r.createElementBlock("span",mu,r.toDisplayString(p.seriesStandings),1)):r.createCommentVNode("",!0)]),loading:r.withCtx(()=>[r.createVNode(rn)]),_:2},[t.isPlayerLinked?{name:"cell-name",fn:r.withCtx(({row:p})=>[r.createElementVNode("a",{href:t.externalPlayerResolver(p),target:"_blank"},r.toDisplayString(p.name),9,lu)]),key:"0"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},hu={class:"timezone-selector"},gu=["onClick"],yu={__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}=ot(),i=r.computed(()=>Bt(new Date,null,n.locale)),s=Sr(),l=r.computed(()=>Array.from(gn.values()).map(c=>({...c,isActive:Bt(new Date,n.currentZone,n.locale)===Bt(new Date,c.timezone,n.locale),zoneOffsetName:Bt(new Date,c.timezone,n.locale)}))),u=c=>o("change",c);return(c,d)=>(r.openBlock(),r.createElementBlock("div",hu,[r.createVNode(r.unref(Kn),{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,gu))),128))]))}},bu={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:""}},Tu={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},Su={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},wu={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}};function Wr({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==null||s.install()})}const Ou={install:(t,e={})=>Wr({app:t,...e})};return T.AVAILABLE_TIMEZONES_BY_COUNTRY=gn,T.AdditionalStandingsText=ds,T.BaseSelect=Er,T.COLUMNS_FIELD_PLAYERS=Jr,T.COLUMNS_FIELD_PLAYERS_PENALTY=Qr,T.COLUMNS_FIELD_PLAYERS_TOI=to,T.COLUMNS_GOALIES=eo,T.COLUMNS_PLAYERS_NATIONAL=no,T.COLUMNS_SCHEDULE=bn,T.COLUMNS_SCORING_EFFICIENCY=so,T.COLUMNS_STANDINGS_P_2=Zr,T.COLUMNS_STANDINGS_P_3=Kr,T.COLUMNS_STANDINGS_SHORT=Xr,T.COLUMNS_TEAMS_FAIRPLAY=oo,T.COLUMNS_TEAMS_PENALTY_KILLING=ao,T.COLUMNS_TEAMS_POWERPLAY=io,T.COLUMNS_TEAM_ATTENDANCE=ro,T.DEFAULT_EXTERNAL_GAME_URL=cn,T.DEFAULT_EXTERNAL_PLAYER_URL=dn,T.DEFAULT_EXTERNAL_STATISTIC_URL=mn,T.DEFAULT_EXTERNAL_TEAM_URL=fn,T.DEFAULT_PORTRAIT_IMAGE_URL=un,T.DataTable=nn,T.ErrorNotice=gl,T.ErrorProvider=yl,T.FLAG_BASE_URL=pn,T.FetchMoreObserver=go,T.FloatingPanel=en,T.I18NProvider=Al,T.Image=wt,T.InvalidSeasonName=wc,T.LAZY_LOADING_STATE_DELAY=yn,T.LOCALE_FOR_LANG=hn,T.LoadingIndicator=rn,T.Paginator=Gl,T.REFRESH_DELAY=qr,T.ResponsiveTable=on,T.SORT_STATE_ASCEND=I,T.SORT_STATE_DESCEND=b,T.SORT_STATE_ORIGINAL=ct,T.ScheduleTable=jc,T.SeasonSelector=Kc,T.StatisticsTable=pu,T.TimezoneSelector=yu,T.UndefinedColumn=Ft,T.VBR_API_BASE_URL=ln,T.WidgetError=an,T.addDays=qi,T.appendTo=Yr,T.baseProps=bu,T.convert=tc,T.convertGamePeriodResults=mc,T.convertMinToMinSec=Or,T.convertMinToSec=Ge,T.convertPhaseName=Tc,T.convertSecToMin=wr,T.convertTimes=uc,T.convertTimesMinToMinSec=dc,T.convertTimesSecToMin=fc,T.createConfig=Wr,T.createI18n=Wn,T.currentWeek=Hi,T.currentWeekStartEnd=Yi,T.default=Ou,T.endOfMonth=Zi,T.externalGameLinkResolver=Oc,T.externalPlayerLinkResolver=kc,T.externalStatisticLinkResolver=_c,T.externalTeamLinkResolver=Ac,T.fetchVBRData=tr,T.flagResolver=xc,T.format=yt,T.gameDateTime=oc,T.gameProps=wu,T.gameResult=ac,T.getLocalTimezone=Sr,T.i18n=Kn,T.isAfter=ji,T.isBefore=Fi,T.isBetween=Ar,T.isSame=Vi,T.isSameOrBefore=Fe,T.isToday=Ui,T.localeSort=hc,T.max=Ji,T.min=Xi,T.offsetName=Bt,T.playerName=nc,T.playerStatsProps=Su,T.rawConvert=ec,T.scheduleOptionalRowClass=lc,T.scrollToTop=Pc,T.sortByDomNode=el,T.sortGames=pc,T.startOfMonth=Ki,T.subtractDays=Wi,T.teamName=rc,T.teamOpponent=ic,T.teamResultType=sc,T.teamStatsProps=Tu,T.templateReplacer=dt,T.toKebabCase=Xn,T.upperCase=cc,T.useAdditionalText=Hn,T.useColumns=Ie,T.useError=Be,T.useErrorProvider=Qn,T.useI18n=ot,T.useLazyLoadingState=ir,T.usePage=Qi,T.useScrollToGameDate=es,T.useServices=ns,T.useSort=ls,T.useVisibilityChange=cs,T.validateColumnsName=Zn,T.yearToNow=Gi,Object.defineProperties(T,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),T}({},Vue);
|
|
22
|
+
***************************************************************************** */function je(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 kr;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(kr||(kr={}));var os={type:"xstate.init"};function fe(t){return t===void 0?[]:[].concat(t)}function _r(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 Ue(t){return function(e){return t===e}}function as(t){return typeof t=="string"?{type:t}:t}function xr(t,e){return{value:t,context:e,actions:[],changed:!1,matches:Ue(t)}}function Pr(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 is(t,e){e===void 0&&(e={});var n=je(Pr(fe(t.states[t.initial].entry).map(function(s){return _r(s,e.actions)}),t.context,os),2),o=n[0],a=n[1],i={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:Ue(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=as(l),m=t.states[f];if(m.on){var g=fe(m.on[h.type]);"*"in m.on&&g.push.apply(g,function(A,k,D){if(arguments.length===2)for(var $,R=0,j=k.length;R<j;R++)!$&&R in k||($||($=Array.prototype.slice.call(k,0,R)),$[R]=k[R]);return A.concat($||Array.prototype.slice.call(k))}([],je(fe(m.on["*"])),!1));try{for(var p=function(A){var k=typeof Symbol=="function"&&Symbol.iterator,D=k&&A[k],$=0;if(D)return D.call(A);if(A&&typeof A.length=="number")return{next:function(){return A&&$>=A.length&&(A=void 0),{value:A&&A[$++],done:!A}}};throw new TypeError(k?"Object is not iterable.":"Symbol.iterator is not defined.")}(g),S=p.next();!S.done;S=p.next()){var O=S.value;if(O===void 0)return xr(f,y);var x=typeof O=="string"?{target:O}:O,P=x.target,N=x.actions,v=N===void 0?[]:N,L=x.cond,G=L===void 0?function(){return!0}:L,U=P===void 0,B=P??f,M=t.states[B];if(G(y,h)){var H=je(Pr((U?fe(v):[].concat(m.exit,v,M.entry).filter(function(A){return A})).map(function(A){return _r(A,i._options.actions)}),y,h),3),ot=H[0],E=H[1],_=H[2],w=P??f;return{value:w,context:E,actions:ot,changed:P!==f||ot.length>0||_,matches:Ue(w)}}}}catch(A){u={error:A}}finally{try{S&&!S.done&&(c=p.return)&&c.call(p)}finally{if(u)throw u.error}}}return xr(f,y)}};return i}const ss=is({id:"sort",initial:ct,states:{[ct]:{on:{DIRECTION1:b,DIRECTION2:I}},[b]:{on:{DIRECTION1:I,DIRECTION2:ct}},[I]:{on:{DIRECTION1:ct,DIRECTION2:b}}}});function ls(t,e){const n=e===I?"DIRECTION2":"DIRECTION1";return ss.transition(t,n).value}function cs(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:ls(o.orders[c].direction,u.direction)}));o.sortTarget=i,o.orders=l}}}function us(t=!1,e=K,n=K){const o=Wa();r.watch(o,a=>{if(r.unref(t)){if(a==="visible")return e();n()}})}const ds=["textContent"],fs={__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}=at(),{isVisible:i,text:s}=Hn(n,e.additionalKey,o,a);return(l,u)=>r.unref(i)?(r.openBlock(),r.createElementBlock("div",{key:0,class:"is-text-xs is-text-light is-mt-5 is-mb-5",textContent:r.toDisplayString(r.unref(s))},null,8,ds)):r.createCommentVNode("",!0)}},Er={__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]])}},ms={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"sort",class:"svg-inline--fa fa-sort fa-w-10",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"};function ps(t,e){return r.openBlock(),r.createElementBlock("svg",ms,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 Nr={render:ps},hs={"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 gs(t,e){return r.openBlock(),r.createElementBlock("svg",hs,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 ys={render:gs},bs={"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 Ts(t,e){return r.openBlock(),r.createElementBlock("svg",bs,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 Ss={render:Ts},Pt=Math.min,bt=Math.max,me=Math.round,pe=Math.floor,it=t=>({x:t,y:t}),ws={left:"right",right:"left",bottom:"top",top:"bottom"},Os={start:"end",end:"start"};function He(t,e,n){return bt(t,Pt(e,n))}function Rt(t,e){return typeof t=="function"?t(e):t}function Tt(t){return t.split("-")[0]}function zt(t){return t.split("-")[1]}function $r(t){return t==="x"?"y":"x"}function Ye(t){return t==="y"?"height":"width"}function he(t){return["top","bottom"].includes(Tt(t))?"y":"x"}function We(t){return $r(he(t))}function As(t,e,n){n===void 0&&(n=!1);const o=zt(t),a=We(t),i=Ye(a);let s=a==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=ge(s)),[s,ge(s)]}function ks(t){const e=ge(t);return[qe(t),e,qe(e)]}function qe(t){return t.replace(/start|end/g,e=>Os[e])}function _s(t,e,n){const o=["left","right"],a=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?a:o:e?o:a;case"left":case"right":return e?i:s;default:return[]}}function xs(t,e,n,o){const a=zt(t);let i=_s(Tt(t),n==="start",o);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(qe)))),i}function ge(t){return t.replace(/left|right|bottom|top/g,e=>ws[e])}function Ps(t){return{top:0,right:0,bottom:0,left:0,...t}}function Dr(t){return typeof t!="number"?Ps(t):{top:t,right:t,bottom:t,left:t}}function ye(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 Mr(t,e,n){let{reference:o,floating:a}=t;const i=he(e),s=We(e),l=Ye(s),u=Tt(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(zt(e)){case"start":h[s]-=y*(n&&c?-1:1);break;case"end":h[s]+=y*(n&&c?-1:1);break}return h}const Es=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}=Mr(c,o,u),y=o,h={},m=0;for(let g=0;g<l.length;g++){const{name:p,fn:S}=l[g],{x:O,y:x,data:P,reset:N}=await S({x:d,y:f,initialPlacement:o,placement:y,strategy:a,middlewareData:h,rects:c,platform:s,elements:{reference:t,floating:e}});d=O??d,f=x??f,h={...h,[p]:{...h[p],...P}},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}=Mr(c,y,u)),g=-1)}return{x:d,y:f,placement:y,strategy:a,middlewareData:h}};async function vr(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}=Rt(e,t),m=Dr(h),p=l[y?f==="floating"?"reference":"floating":f],S=ye(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(p)))==null||n?p:p.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),O=f==="floating"?{...s.floating,x:o,y:a}:s.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),P=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},N=ye(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:O,offsetParent:x,strategy:u}):O);return{top:(S.top-N.top+m.top)/P.y,bottom:(N.bottom-S.bottom+m.bottom)/P.y,left:(S.left-N.left+m.left)/P.x,right:(N.right-S.right+m.right)/P.x}}const Ns=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}=Rt(t,e)||{};if(c==null)return{};const f=Dr(d),y={x:n,y:o},h=We(a),m=Ye(h),g=await s.getDimensions(c),p=h==="y",S=p?"top":"left",O=p?"bottom":"right",x=p?"clientHeight":"clientWidth",P=i.reference[m]+i.reference[h]-y[h]-i.floating[m],N=y[h]-i.reference[h],v=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let L=v?v[x]:0;(!L||!await(s.isElement==null?void 0:s.isElement(v)))&&(L=l.floating[x]||i.floating[m]);const G=P/2-N/2,U=L/2-g[m]/2-1,B=Pt(f[S],U),M=Pt(f[O],U),H=B,ot=L-g[m]-M,E=L/2-g[m]/2+G,_=He(H,E,ot),w=!u.arrow&&zt(a)!=null&&E!==_&&i.reference[m]/2-(E<H?B:M)-g[m]/2<0,A=w?E<H?E-H:E-ot:0;return{[h]:y[h]+A,data:{[h]:_,centerOffset:E-_-A,...w&&{alignmentOffset:A}},reset:w}}}),$s=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:g=!0,...p}=Rt(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const S=Tt(a),O=Tt(l)===l,x=await(u.isRTL==null?void 0:u.isRTL(c.floating)),P=y||(O||!g?[ge(l)]:ks(l));!y&&m!=="none"&&P.push(...xs(l,g,m,x));const N=[l,...P],v=await vr(e,p),L=[];let G=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&L.push(v[S]),f){const H=As(a,s,x);L.push(v[H[0]],v[H[1]])}if(G=[...G,{placement:a,overflows:L}],!L.every(H=>H<=0)){var U,B;const H=(((U=i.flip)==null?void 0:U.index)||0)+1,ot=N[H];if(ot)return{data:{index:H,overflows:G},reset:{placement:ot}};let E=(B=G.filter(_=>_.overflows[0]<=0).sort((_,w)=>_.overflows[1]-w.overflows[1])[0])==null?void 0:B.placement;if(!E)switch(h){case"bestFit":{var M;const _=(M=G.map(w=>[w.placement,w.overflows.filter(A=>A>0).reduce((A,k)=>A+k,0)]).sort((w,A)=>w[1]-A[1])[0])==null?void 0:M[0];_&&(E=_);break}case"initialPlacement":E=l;break}if(a!==E)return{reset:{placement:E}}}return{}}}};async function Ds(t,e){const{placement:n,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=Tt(n),l=zt(n),u=he(n)==="y",c=["left","top"].includes(s)?-1:1,d=i&&u?-1:1,f=Rt(e,t);let{mainAxis:y,crossAxis:h,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};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 Ms=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 Ds(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}}}}},vs=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:p=>{let{x:S,y:O}=p;return{x:S,y:O}}},...u}=Rt(t,e),c={x:n,y:o},d=await vr(e,u),f=he(Tt(a)),y=$r(f);let h=c[y],m=c[f];if(i){const p=y==="y"?"top":"left",S=y==="y"?"bottom":"right",O=h+d[p],x=h-d[S];h=He(O,h,x)}if(s){const p=f==="y"?"top":"left",S=f==="y"?"bottom":"right",O=m+d[p],x=m-d[S];m=He(O,m,x)}const g=l.fn({...e,[y]:h,[f]:m});return{...g,data:{x:g.x-n,y:g.y-o}}}}};function be(){return typeof window<"u"}function Et(t){return Cr(t)?(t.nodeName||"").toLowerCase():"#document"}function X(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function st(t){var e;return(e=(Cr(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Cr(t){return be()?t instanceof Node||t instanceof X(t).Node:!1}function nt(t){return be()?t instanceof Element||t instanceof X(t).Element:!1}function lt(t){return be()?t instanceof HTMLElement||t instanceof X(t).HTMLElement:!1}function Lr(t){return!be()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof X(t).ShadowRoot}function Vt(t){const{overflow:e,overflowX:n,overflowY:o,display:a}=rt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(a)}function Cs(t){return["table","td","th"].includes(Et(t))}function Te(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Ke(t){const e=Ze(),n=nt(t)?rt(t):t;return["transform","translate","scale","rotate","perspective"].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)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Ls(t){let e=mt(t);for(;lt(e)&&!Nt(e);){if(Ke(e))return e;if(Te(e))return null;e=mt(e)}return null}function Ze(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Nt(t){return["html","body","#document"].includes(Et(t))}function rt(t){return X(t).getComputedStyle(t)}function Se(t){return nt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function mt(t){if(Et(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Lr(t)&&t.host||st(t);return Lr(e)?e.host:e}function Ir(t){const e=mt(t);return Nt(e)?t.ownerDocument?t.ownerDocument.body:t.body:lt(e)&&Vt(e)?e:Ir(e)}function Gt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=Ir(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=X(a);if(i){const l=Xe(s);return e.concat(s,s.visualViewport||[],Vt(a)?a:[],l&&n?Gt(l):[])}return e.concat(a,Gt(a,[],n))}function Xe(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Br(t){const e=rt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const a=lt(t),i=a?t.offsetWidth:n,s=a?t.offsetHeight:o,l=me(n)!==i||me(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function Je(t){return nt(t)?t:t.contextElement}function $t(t){const e=Je(t);if(!lt(e))return it(1);const n=e.getBoundingClientRect(),{width:o,height:a,$:i}=Br(e);let s=(i?me(n.width):n.width)/o,l=(i?me(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Is=it(0);function Rr(t){const e=X(t);return!Ze()||!e.visualViewport?Is:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Bs(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==X(t)?!1:e}function St(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),i=Je(t);let s=it(1);e&&(o?nt(o)&&(s=$t(o)):s=$t(t));const l=Bs(i,n,o)?Rr(i):it(0);let u=(a.left+l.x)/s.x,c=(a.top+l.y)/s.y,d=a.width/s.x,f=a.height/s.y;if(i){const y=X(i),h=o&&nt(o)?X(o):o;let m=y,g=Xe(m);for(;g&&o&&h!==m;){const p=$t(g),S=g.getBoundingClientRect(),O=rt(g),x=S.left+(g.clientLeft+parseFloat(O.paddingLeft))*p.x,P=S.top+(g.clientTop+parseFloat(O.paddingTop))*p.y;u*=p.x,c*=p.y,d*=p.x,f*=p.y,u+=x,c+=P,m=X(g),g=Xe(m)}}return ye({width:d,height:f,x:u,y:c})}function Qe(t,e){const n=Se(t).scrollLeft;return e?e.left+n:St(st(t)).left+n}function zr(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),a=o.left+e.scrollLeft-(n?0:Qe(t,o)),i=o.top+e.scrollTop;return{x:a,y:i}}function Rs(t){let{elements:e,rect:n,offsetParent:o,strategy:a}=t;const i=a==="fixed",s=st(o),l=e?Te(e.floating):!1;if(o===s||l&&i)return n;let u={scrollLeft:0,scrollTop:0},c=it(1);const d=it(0),f=lt(o);if((f||!f&&!i)&&((Et(o)!=="body"||Vt(s))&&(u=Se(o)),lt(o))){const h=St(o);c=$t(o),d.x=h.x+o.clientLeft,d.y=h.y+o.clientTop}const y=s&&!f&&!i?zr(s,u,!0):it(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+y.x,y:n.y*c.y-u.scrollTop*c.y+d.y+y.y}}function zs(t){return Array.from(t.getClientRects())}function Vs(t){const e=st(t),n=Se(t),o=t.ownerDocument.body,a=bt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=bt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+Qe(t);const l=-n.scrollTop;return rt(o).direction==="rtl"&&(s+=bt(e.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:l}}function Gs(t,e){const n=X(t),o=st(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=Ze();(!c||c&&e==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:i,height:s,x:l,y:u}}function Fs(t,e){const n=St(t,!0,e==="fixed"),o=n.top+t.clientTop,a=n.left+t.clientLeft,i=lt(t)?$t(t):it(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,u=a*i.x,c=o*i.y;return{width:s,height:l,x:u,y:c}}function Vr(t,e,n){let o;if(e==="viewport")o=Gs(t,n);else if(e==="document")o=Vs(st(t));else if(nt(e))o=Fs(e,n);else{const a=Rr(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return ye(o)}function Gr(t,e){const n=mt(t);return n===e||!nt(n)||Nt(n)?!1:rt(n).position==="fixed"||Gr(n,e)}function js(t,e){const n=e.get(t);if(n)return n;let o=Gt(t,[],!1).filter(l=>nt(l)&&Et(l)!=="body"),a=null;const i=rt(t).position==="fixed";let s=i?mt(t):t;for(;nt(s)&&!Nt(s);){const l=rt(s),u=Ke(s);!u&&l.position==="fixed"&&(a=null),(i?!u&&!a:!u&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||Vt(s)&&!u&&Gr(t,s))?o=o.filter(d=>d!==s):a=l,s=mt(s)}return e.set(t,o),o}function Us(t){let{element:e,boundary:n,rootBoundary:o,strategy:a}=t;const s=[...n==="clippingAncestors"?Te(e)?[]:js(e,this._c):[].concat(n),o],l=s[0],u=s.reduce((c,d)=>{const f=Vr(e,d,a);return c.top=bt(f.top,c.top),c.right=Pt(f.right,c.right),c.bottom=Pt(f.bottom,c.bottom),c.left=bt(f.left,c.left),c},Vr(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Hs(t){const{width:e,height:n}=Br(t);return{width:e,height:n}}function Ys(t,e,n){const o=lt(e),a=st(e),i=n==="fixed",s=St(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const u=it(0);if(o||!o&&!i)if((Et(e)!=="body"||Vt(a))&&(l=Se(e)),o){const y=St(e,!0,i,e);u.x=y.x+e.clientLeft,u.y=y.y+e.clientTop}else a&&(u.x=Qe(a));const c=a&&!o&&!i?zr(a,l):it(0),d=s.left+l.scrollLeft-u.x-c.x,f=s.top+l.scrollTop-u.y-c.y;return{x:d,y:f,width:s.width,height:s.height}}function tn(t){return rt(t).position==="static"}function Fr(t,e){if(!lt(t)||rt(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return st(t)===n&&(n=n.ownerDocument.body),n}function jr(t,e){const n=X(t);if(Te(t))return n;if(!lt(t)){let a=mt(t);for(;a&&!Nt(a);){if(nt(a)&&!tn(a))return a;a=mt(a)}return n}let o=Fr(t,e);for(;o&&Cs(o)&&tn(o);)o=Fr(o,e);return o&&Nt(o)&&tn(o)&&!Ke(o)?n:o||Ls(t)||n}const Ws=async function(t){const e=this.getOffsetParent||jr,n=this.getDimensions,o=await n(t.floating);return{reference:Ys(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function qs(t){return rt(t).direction==="rtl"}const Ks={convertOffsetParentRelativeRectToViewportRelativeRect:Rs,getDocumentElement:st,getClippingRect:Us,getOffsetParent:jr,getElementRects:Ws,getClientRects:zs,getDimensions:Hs,getScale:$t,isElement:nt,isRTL:qs};function Ur(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Zs(t,e){let n=null,o;const a=st(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=pe(f),g=pe(a.clientWidth-(d+y)),p=pe(a.clientHeight-(f+h)),S=pe(d),x={rootMargin:-m+"px "+-g+"px "+-p+"px "+-S+"px",threshold:bt(0,Pt(1,u))||1};let P=!0;function N(v){const L=v[0].intersectionRatio;if(L!==u){if(!P)return s();L?s(!1,L):o=setTimeout(()=>{s(!1,1e-7)},1e3)}L===1&&!Ur(c,t.getBoundingClientRect())&&s(),P=!1}try{n=new IntersectionObserver(N,{...x,root:a.ownerDocument})}catch{n=new IntersectionObserver(N,x)}n.observe(t)}return s(!0),i}function Xs(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=Je(t),d=a||i?[...c?Gt(c):[],...Gt(e)]:[];d.forEach(S=>{a&&S.addEventListener("scroll",n,{passive:!0}),i&&S.addEventListener("resize",n)});const f=c&&l?Zs(c,n):null;let y=-1,h=null;s&&(h=new ResizeObserver(S=>{let[O]=S;O&&O.target===c&&h&&(h.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var x;(x=h)==null||x.observe(e)})),n()}),c&&!u&&h.observe(c),h.observe(e));let m,g=u?St(t):null;u&&p();function p(){const S=St(t);g&&!Ur(g,S)&&n(),g=S,m=requestAnimationFrame(p)}return n(),()=>{var S;d.forEach(O=>{a&&O.removeEventListener("scroll",n),i&&O.removeEventListener("resize",n)}),f==null||f(),(S=h)==null||S.disconnect(),h=null,u&&cancelAnimationFrame(m)}}const Js=Ms,Qs=vs,tl=$s,Hr=Ns,el=(t,e,n)=>{const o=new Map,a={platform:Ks,...n},i={...a.platform,_c:o};return Es(t,e,{...a,platform:i})};function Yr(t,e="body"){if(!t)return;if(typeof e!="string"){e==null||e.append(t);return}const n=document.querySelector(e);n==null||n.append(t)}function nl(t,e=()=>({})){return t.slice().sort((n,o)=>{const a=e(n),i=e(o);if(a===null||i===null)return 0;const s=a.compareDocumentPosition(i);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function rl({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||el(i.value,s.value,{middleware:t,placement:e,strategy:n}).then(p=>{l.value=p.x,u.value=p.y,y.value=p.strategy,c.value=p.middlewareData.arrow.x,d.value=p.middlewareData.arrow.y,f.value=p.placement})};r.watch(()=>({reference:r.unref(i),floating:r.unref(s),append:r.unref(o)}),({floating:p,append:S})=>{S&&Yr(p,S),m()},{flush:"post"}),r.watch(a,p=>{if(!(!i.value||!s.value)){if(!p)return g();h.value=Xs(i.value,s.value,m,{})}},{flush:"post"});function g(){var p;(p=h.value)==null||p.call(h),h.value=null}return{x:l,y:u,arrowX:c,arrowY:d,placement:f,reference:i,floating:s,strategy:y,update:m}}function ol(t){const{element:e,padding:n}=t;return{name:"arrow",options:t,fn(o){return r.isRef(e)?e.value!=null?Hr({element:e.value,padding:n}).fn(o):{}:e?Hr({element:e,padding:n}).fn(o):{}}}}const al=["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}=rl({placement:e.placement,middleware:[tl(),Qs({padding:5}),Js(e.offset),ol({element:o,padding:5})],append:r.computed(()=>e.appendTo),enabled:n});function y(){e.disabled||n.value||(n.value=!0)}function h(p){n.value&&p&&(n.value=!1)}function m(p){c.value=p}const g={mouseenter:y,mouseleave:h,focus:y,blur:h};return Ya(d,p=>{var S;(S=c.value)!=null&&S.contains(p.target)||h()}),(p,S)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.renderSlot(p.$slots,"default",{setRef:m,show:y,hide:h,events:g}),r.createElementVNode("div",{ref_key:"floating",ref:d,"data-placement":r.unref(u),style:r.normalizeStyle({position:r.unref(f),top:r.unref(i)?`${r.unref(i)}px`:"",left:r.unref(a)?`${r.unref(a)}px`:""})},[r.createVNode(r.Transition,{name:"transition-fade",mode:"out-in"},{default:r.withCtx(()=>[n.value?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(["floating-content",[[`is-${e.theme}`]]])},[r.renderSlot(p.$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,al)],64))}},il={class:"table"},sl=["tabindex","onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown"],ll={key:0},cl=["colspan"],ul={key:1},dl=["colspan"],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=ir(a,{delay:yn}),{t:l}=at(),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",il,[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:g,show:p,hide:S})=>[r.createElementVNode("th",{ref_for:!0,ref:g,class:r.normalizeClass([[h.class],{"is-active":m===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ct),"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(I)}]),tabindex:h.sortOrders?0:-1,role:"button",onMouseenter:p,onMouseleave:S,onFocus:p,onBlur:S,onClick:O=>d(h,m),onKeydown:[r.withKeys(r.withModifiers(O=>d(h,m),["prevent"]),["space"]),r.withKeys(r.withModifiers(O=>d(h,m),["prevent"]),["enter"])]},[r.renderSlot(f.$slots,`header-${m}`,{column:h},()=>[r.createTextVNode(r.toDisplayString(h.label),1)]),h.sortOrders&&m!==t.sort.sortTarget?(r.openBlock(),r.createBlock(r.unref(Nr),{key:0,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(ct)?(r.openBlock(),r.createBlock(r.unref(Nr),{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(ys),{key:2,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(I)?(r.openBlock(),r.createBlock(r.unref(Ss),{key:3,class:"is-icon-sort"})):r.createCommentVNode("",!0)],42,sl)]),_: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,(g,p)=>(r.openBlock(),r.createElementBlock("td",{key:p,class:r.normalizeClass([[g.class],{"is-active":p===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ct),"is-zero":h[p]===0||h[p]==="00:00"}])},[r.renderSlot(f.$slots,`cell-${p}`,{row:h,prop:p},()=>[r.createTextVNode(r.toDisplayString(h[p]),1)])],2))),128))],2))),128))]),r.unref(s)&&t.rows.length===0?(r.openBlock(),r.createElementBlock("tfoot",ll,[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,cl)])])):r.createCommentVNode("",!0),t.rows.length===0&&!r.unref(a)&&!r.unref(s)?(r.openBlock(),r.createElementBlock("tfoot",ul,[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,dl)])])):r.createCommentVNode("",!0)]))}},fl={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 ml(t,e){return r.openBlock(),r.createElementBlock("svg",fl,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 pl={render:ml},hl={class:"error-notice"},gl=["textContent"],yl={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})},useRetry:{type:Boolean,default:!1}},emits:["retry"],setup(t){const e=t,{t:n,hasTranslation:o}=at(),a=r.computed(()=>{var i,s;return o(`errors.${e.error.key}`)?n(`errors.${e.error.key}`,e.error.cause||[(i=e.error)==null?void 0:i.message]):(s=e.error)==null?void 0:s.message});return(i,s)=>(r.openBlock(),r.createElementBlock("div",hl,[r.createVNode(r.unref(pl),{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,gl)):r.createCommentVNode("",!0)]))}},bl={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:o}=Qn();return(a,i)=>r.renderSlot(a.$slots,"default",{message:r.unref(e),error:r.unref(o),hasError:r.unref(n)})}},Tl={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"},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"}}},Sl={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"},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"}}},wl=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},Ol=r.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=Vn({hu:Sl,en:Tl},t.messages),{translate:n}=Wn({locale:r.computed(()=>t.locale),messages:e});return{translate:n}}});function Al(t,e,n,o,a,i){return r.renderSlot(t.$slots,"default",{t:t.translate})}const kl=wl(Ol,[["render",Al]]),_l=["src"],xl=["src","title"],wt=Object.assign({inheritAttrs:!1},{__name:"Image",props:{src:{type:String,default:""},title:{type:String,default:""},defaultSrc:{type:String,default:""}},setup(t){const e=t,{defaultSrc:n}=r.toRefs(e),o=r.ref({src:e.src}),{error:a,isReady:i}=Ka(o,{resetOnExecute:!1,shallow:!1});return(s,l)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.unref(a)&&r.unref(n)?(r.openBlock(),r.createElementBlock("img",{key:0,src:r.unref(n),class:r.normalizeClass(["is-loaded is-default",[s.$attrs.class]])},null,10,_l)):r.createCommentVNode("",!0),r.unref(a)?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("img",{key:1,src:o.value.src,class:r.normalizeClass([s.$attrs.class,{"is-loaded":r.unref(i)}]),title:e.title,loading:"lazy"},null,10,xl))],64))}}),Pl={class:"loading-indicator"},rn={__name:"LoadingIndicator",setup(t){const{t:e}=at();return(n,o)=>(r.openBlock(),r.createElementBlock("div",Pl,r.toDisplayString(r.unref(e)("common.loading")),1))}},El={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 Nl(t,e){return r.openBlock(),r.createElementBlock("svg",El,e[0]||(e[0]=[r.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1)]))}const $l={render:Nl},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 Ml(t,e){return r.openBlock(),r.createElementBlock("svg",Dl,e[0]||(e[0]=[r.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1)]))}const vl={render:Ml},Cl={key:0,class:"paginator"},Ll=["disabled"],Il=["disabled"],Bl={key:1,class:"is-disabled"},Rl=["disabled","onClick"],zl={key:2,class:"is-disabled"},Vl=["disabled"],Gl=["disabled"],Fl={__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}=es({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",Cl,[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($l),{class:"icon paginator-left"})])],8,Ll),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,Il)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",Bl," ... ")),(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,Rl))),128)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",zl,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,Vl)),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(vl),{class:"icon paginator-left"})])],8,Gl)])):r.createCommentVNode("",!0)}},on={__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))}},jl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function Ul(t,e){return r.openBlock(),r.createElementBlock("svg",jl,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 Hl={render:Ul},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 Wl(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 ql={render:Wl},Kl={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 Zl(t,e){return r.openBlock(),r.createElementBlock("svg",Kl,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 Xl={render:Zl},Jl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function Ql(t,e){return r.openBlock(),r.createElementBlock("svg",Jl,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 tc={render:Ql};function ec(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?Xt(Ce(l),Yt(e)):Xt(ut(l),Un,pa(Un(e)))),i=Go(l=>l.name?wa(ya("name"),Oa(",",""),l):l),s=$e(Xt(i,Vo([...a])),this.result);this.isFiltered=!0,this.filteredRowsLength=s.length,this.result=s}return this},sorted(e){if(!e.sortTarget)return this;if(e.orders[0].direction===ct)return this;const n=ma(Yt(I),Ln(Me),Ln(ra));return this.result=jn(e.orders.map(o=>Bn(n(o.direction),ut)(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:wc(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:yt(o.gameDate,"L dddd",e,n),gameDateTime:yt(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`]=Ge(n[o]):n),n)),this},groupByDays(){return this.currentItems=this.result.length,this.result=fa(e=>yt(e.gameDate,"YYYY-MM-DD"))(this.result),this},slice(e=3){return this.result=this.result.slice(0,e),this}}}const nc=(t,...e)=>ft(Bn(...e))(t);function rc(t){var e,n,o,a;return{...t,...t.lastName&&t.firstName&&{name:`${t.lastName} ${t.firstName}`},...((e=t.player)==null?void 0:e.playerId)&&{name:`${t.player.lastName} ${t.player.firstName}`},...((n=t.player)==null?void 0:n.id)&&{name:`${t.player.lastName} ${t.player.firstName}`},...((o=t.player)==null?void 0:o.nationality)&&{name:(a=t.player)!=null&&a.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 oc(t){var e;return{...t,...((e=t==null?void 0:t.team)==null?void 0:e.id)&&{teamName:t.team.longName}}}function ac(t="",e="hu"){return n=>({...n,gameDateDate:yt(n.gameDate,"L dddd",t,e),gameDateTime:yt(n.gameDate,"HH:mm",t,e)})}function ic(t){return e=>({...e,gameResult:bc(e)})}function sc(t){return{...t,opponent:yc(t)}}function lc(t){return{...t,resultType:Tc(t)}}function cc(t){return{...t,rowClasses:t.optional?"is-optional":""}}function uc(t=[]){return e=>{var n;return{...e,[t]:(n=e[t])==null?void 0:n.toUpperCase()}}}function dc(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Sec`]=Ge(e[n]):e),e)}function fc(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Min`]=Or(e[n]):e),e)}function mc(t=[]){return e=>(t.map(n=>e[`${n}Min`]=wr(e[n])),e)}function pc(t){var e,n;return{...t,periodResults:((n=(e=t.result)==null?void 0:e.match(/\(.*?\)/))==null?void 0:n[0])??""}}const hc=jn([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Me(ut("id")),Me(ut("gameId"))]),gc=Aa((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function yc(t){var e;return[t.isHomeGame?null:"@",(e=t.opponent)==null?void 0:e.shortName].join(" ")}function bc(t){let e=t==null?void 0:t.homeTeamScore,n=t==null?void 0:t.awayTeamScore;return t.isHomeGame||(e=t==null?void 0:t.awayTeamScore,n=t==null?void 0:t.homeTeamScore),[e,n].join(":")}function Tc(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 Sc(t){return t.map(e=>{var n,o;return{phaseId:e.phaseId,phaseName:Object.values({phaseName:e.phaseName,...((n=e.phaseType)==null?void 0:n.phaseTypeName)&&e.phaseType.phaseTypeName!==e.phaseName&&{phaseTypeName:e.phaseType.phaseTypeName},...((o=e.phaseSubType)==null?void 0:o.phaseSubTypeName)&&{phaseSubTypeName:e.phaseSubType.phaseSubTypeName}}).join("-")}})}function wc(t){return t.player?t.player.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`:`${t.lastName} ${t.firstName}`}class an extends Error{constructor(e,n={}){const{key:o,cause:a}=n;super(e),this.name="WidgetError",this.key=o,this.cause=a}}const Ft={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},Oc={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}},sn=(t="")=>{var e;return(e=window==null?void 0:window.__MJSZ_VBR_WIDGET__)==null?void 0:e[t]};function Ac(t,e={}){if(e.externalGameUrl)return e.externalGameUrl;const n=sn("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||cn,e))}function kc(t,e={}){const n=sn("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||fn,e))}function _c(t,e={}){const n=sn("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||dn,e))}function xc(t,e={}){return typeof t=="function"?t(e):encodeURI(dt(t||mn,e))}const Pc=(t,e="1x1")=>`${pn}/flag:${t}-${e}.svg`;function Ec(){window.scrollTo(0,0)}const Nc={class:"is-team-name-long"},$c={class:"is-team-name-short"},Dc={class:"is-team-name-long"},Mc={class:"is-team-name-short"},vc={key:0,class:"is-text-dark"},Cc=["href","target"],Lc={key:0,class:"label"},Ic={key:1,class:"label"},Bc={key:2,class:"label"},Rc={key:1},zc=["onClick","onFocus","onBlur"],Vc={class:"is-dropdown-menu"},Gc=["href","target"],Fc={key:0},jc=["href"],Uc={__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}=Be(),{columns:a,error:i}=Ie(bn,r.computed(()=>e.hideColumns),r.computed(()=>({offsetName:e.offsetName})));Ua(i,()=>o(new an(Ft.message,{...Ft.options,cause:{column:i.value}})),{immediate:!0});const{t:s}=at();return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(on,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",Nc,r.toDisplayString(d.homeTeam.longName),1),r.createElementVNode("span",$c,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",Dc,r.toDisplayString(d.awayTeam.longName),1),r.createElementVNode("span",Mc,r.toDisplayString(d.awayTeam.shortName),1)],64)):r.createCommentVNode("",!0)]),"cell-homeTeamLogo":r.withCtx(({row:d})=>[d.homeTeam?(r.openBlock(),r.createBlock(wt,{key:d.homeTeam.id,class:"is-logo-image is-right",src:d.homeTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-awayTeamLogo":r.withCtx(({row:d})=>[d.awayTeam?(r.openBlock(),r.createBlock(wt,{key:d.awayTeam.id,class:"is-logo-image is-right",src:d.awayTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-gameResult":r.withCtx(({row:d})=>[d.gameStatus===0?(r.openBlock(),r.createElementBlock("span",vc,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(d.gameId),target:t.externalGameResolverTarget,class:r.normalizeClass({"is-text-dark":d.gameStatus!==1,"is-text-accent":d.gameStatus===1})},r.toDisplayString(d.homeTeamScore)+":"+r.toDisplayString(d.awayTeamScore),11,Cc))]),"cell-gameResultType":r.withCtx(({row:d})=>[d.isOvertime?(r.openBlock(),r.createElementBlock("span",Lc,r.toDisplayString(r.unref(s)("common.overtimeShort")),1)):r.createCommentVNode("",!0),d.isShootout?(r.openBlock(),r.createElementBlock("span",Ic,r.toDisplayString(r.unref(s)("common.shootoutShort")),1)):r.createCommentVNode("",!0),d.seriesStandings?(r.openBlock(),r.createElementBlock("span",Bc,r.toDisplayString(d.seriesStandings),1)):r.createCommentVNode("",!0)]),"cell-broadcast":r.withCtx(({row:d})=>[d.broadcast?(r.openBlock(),r.createBlock(r.unref(Hl),{key:0})):(r.openBlock(),r.createElementBlock("span",Rc))]),"cell-location":r.withCtx(({row:d})=>{var f;return[r.createTextVNode(r.toDisplayString(((f=d.location)==null?void 0:f.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,show:y,hide:h})=>[r.createElementVNode("button",{ref:f,onClick:r.withModifiers(y,["stop"]),onFocus:y,onBlur:h},[r.createVNode(r.unref(ql))],40,zc)]),content:r.withCtx(()=>[r.createElementVNode("ul",Vc,[r.createElementVNode("li",null,[r.createElementVNode("a",{href:t.externalGameResolver(d.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[r.createVNode(r.unref(Xl),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.report")),1)],8,Gc)]),d.video?(r.openBlock(),r.createElementBlock("li",Fc,[r.createElementVNode("a",{href:d.video,class:"is-dropdown-item",target:"_blank"},[r.createVNode(r.unref(tc),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.video")),1)],8,jc)])):r.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:r.withCtx(()=>[r.createVNode(rn)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),r.createElementVNode("div",{ref_key:"tooltipContainer",ref:n},null,512)],64))}},Hc={class:"g-row g-gap-normal is-mb-5"},Yc={for:"season",class:"label"},Wc=["value"],qc={key:0},Kc=["onClick"],Zc={__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}=at(),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",Hc,[r.createElementVNode("div",null,[r.createElementVNode("label",Yc,r.toDisplayString(r.unref(a)("selection.season")),1),r.createVNode(Er,{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,Wc))),128))]),_:1},8,["modelValue"])]),r.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",qc,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.sections,c=>(r.openBlock(),r.createElementBlock("button",{key:c.phaseId,class:r.normalizeClass(["tab-button",{"is-active":c.sectionId===t.sectionId}]),onClick:d=>s(c)},r.toDisplayString(c.sectionName),11,Kc))),128))]))],64))}},Xc={class:"is-portrait-image"},Jc=["href"],Qc={class:"is-team-name-long"},tu={class:"is-team-name-short"},eu={class:"is-team-name-long"},nu={key:0},ru={class:"is-team-name-short"},ou={key:0},au={class:"is-team-name-long"},iu={class:"is-team-name-short"},su={class:"is-team-name-long"},lu={class:"is-team-name-short"},cu=["href"],uu={key:0,class:"is-text-dark"},du=["href","target"],fu={key:0,class:"label"},mu={key:1,class:"label"},pu={key:2,class:"label"},hu={__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}=Be(),{t:l}=at(),{columns:u,error:c}=Ie(a,i,r.computed(()=>({offsetName:n.offsetName})));c.value&&s(new an(Ft.message,{...Ft.options,cause:{column:c.value}}));const d=f=>o("sort",f);return(f,y)=>(r.openBlock(),r.createBlock(on,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",Xc,[(r.openBlock(),r.createBlock(wt,{key:m.player.playerId,src:m.player.picture,"default-src":r.unref(un)},null,8,["src","default-src"]))])]),"cell-teamLogo":r.withCtx(({row:m})=>{var g,p;return[(r.openBlock(),r.createBlock(wt,{key:((g=m.team)==null?void 0:g.id)??m.id,class:"is-logo-image",src:(p=m.team)==null?void 0:p.logo},null,8,["src"]))]}),"cell-homeTeamLogo":r.withCtx(({row:m})=>{var g,p;return[(r.openBlock(),r.createBlock(wt,{key:(g=m.homeTeam)==null?void 0:g.id,class:"is-logo-image is-right",src:(p=m.homeTeam)==null?void 0:p.logo},null,8,["src"]))]}),"cell-awayTeamLogo":r.withCtx(({row:m})=>{var g,p;return[(r.openBlock(),r.createBlock(wt,{key:(g=m.awayTeam)==null?void 0:g.id,class:"is-logo-image is-right",src:(p=m.awayTeam)==null?void 0:p.logo},null,8,["src"]))]}),"cell-teamName":r.withCtx(({row:m})=>{var g,p,S,O;return[t.isTeamLinked?(r.openBlock(),r.createElementBlock("a",{key:0,href:t.externalTeamResolver(m),target:"_blank"},[r.createElementVNode("span",Qc,r.toDisplayString((g=m.team)==null?void 0:g.longName),1),r.createElementVNode("span",tu,r.toDisplayString((p=m.team)==null?void 0:p.shortName),1)],8,Jc)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createElementVNode("span",eu,[r.createTextVNode(r.toDisplayString((S=m.team)==null?void 0:S.longName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",nu,y[0]||(y[0]=[r.createElementVNode("sup",null,"*",-1)]))):r.createCommentVNode("",!0)]),r.createElementVNode("span",ru,[r.createTextVNode(r.toDisplayString((O=m.team)==null?void 0:O.shortName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",ou,y[1]||(y[1]=[r.createElementVNode("sup",null,"*",-1)]))):r.createCommentVNode("",!0)])],64))]}),"cell-homeTeamName":r.withCtx(({row:m})=>{var g,p;return[r.createElementVNode("span",au,r.toDisplayString((g=m.homeTeam)==null?void 0:g.longName),1),r.createElementVNode("span",iu,r.toDisplayString((p=m.homeTeam)==null?void 0:p.shortName),1)]}),"cell-awayTeamName":r.withCtx(({row:m})=>{var g,p;return[r.createElementVNode("span",su,r.toDisplayString((g=m.awayTeam)==null?void 0:g.longName),1),r.createElementVNode("span",lu,r.toDisplayString((p=m.awayTeam)==null?void 0:p.shortName),1)]}),"cell-location":r.withCtx(({row:m})=>{var g;return[r.createTextVNode(r.toDisplayString(((g=m.location)==null?void 0:g.locationName)??""),1)]}),"cell-gameResult":r.withCtx(({row:m})=>[m.gameStatus===0?(r.openBlock(),r.createElementBlock("span",uu,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(m),target:t.externalGameResolverTarget,class:r.normalizeClass({"is-text-dark":m.gameStatus!==1,"is-text-accent":m.gameStatus===1})},r.toDisplayString(m.homeTeamScore)+":"+r.toDisplayString(m.awayTeamScore),11,du))]),"cell-gameResultType":r.withCtx(({row:m})=>[m.isOvertime?(r.openBlock(),r.createElementBlock("span",fu,r.toDisplayString(r.unref(l)("common.overtimeShort")),1)):r.createCommentVNode("",!0),m.isShootout?(r.openBlock(),r.createElementBlock("span",mu,r.toDisplayString(r.unref(l)("common.shootoutShort")),1)):r.createCommentVNode("",!0),m.seriesStandings?(r.openBlock(),r.createElementBlock("span",pu,r.toDisplayString(m.seriesStandings),1)):r.createCommentVNode("",!0)]),loading:r.withCtx(()=>[r.createVNode(rn)]),_: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,cu)]),key:"0"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},gu={class:"timezone-selector"},yu=["onClick"],bu={__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}=at(),i=r.computed(()=>Bt(new Date,null,n.locale)),s=Sr(),l=r.computed(()=>Array.from(gn.values()).map(c=>({...c,isActive:Bt(new Date,n.currentZone,n.locale)===Bt(new Date,c.timezone,n.locale),zoneOffsetName:Bt(new Date,c.timezone,n.locale)}))),u=c=>o("change",c);return(c,d)=>(r.openBlock(),r.createElementBlock("div",gu,[r.createVNode(r.unref(Kn),{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,yu))),128))]))}},Tu={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:""}},Su={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},wu={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},Ou={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}};function Wr({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==null||s.install()})}const Au={install:(t,e={})=>Wr({app:t,...e})};return T.AVAILABLE_TIMEZONES_BY_COUNTRY=gn,T.AdditionalStandingsText=fs,T.BaseSelect=Er,T.COLUMNS_FIELD_PLAYERS=Jr,T.COLUMNS_FIELD_PLAYERS_PENALTY=Qr,T.COLUMNS_FIELD_PLAYERS_TOI=to,T.COLUMNS_GOALIES=eo,T.COLUMNS_PLAYERS_NATIONAL=no,T.COLUMNS_SCHEDULE=bn,T.COLUMNS_SCORING_EFFICIENCY=so,T.COLUMNS_STANDINGS_P_2=Zr,T.COLUMNS_STANDINGS_P_3=Kr,T.COLUMNS_STANDINGS_SHORT=Xr,T.COLUMNS_TEAMS_FAIRPLAY=oo,T.COLUMNS_TEAMS_PENALTY_KILLING=ao,T.COLUMNS_TEAMS_POWERPLAY=io,T.COLUMNS_TEAM_ATTENDANCE=ro,T.DEFAULT_EXTERNAL_GAME_URL=cn,T.DEFAULT_EXTERNAL_PLAYER_URL=dn,T.DEFAULT_EXTERNAL_STATISTIC_URL=mn,T.DEFAULT_EXTERNAL_TEAM_URL=fn,T.DEFAULT_PORTRAIT_IMAGE_URL=un,T.DataTable=nn,T.ErrorNotice=yl,T.ErrorProvider=bl,T.FLAG_BASE_URL=pn,T.FetchMoreObserver=go,T.FloatingPanel=en,T.I18NProvider=kl,T.Image=wt,T.InvalidSeasonName=Oc,T.LAZY_LOADING_STATE_DELAY=yn,T.LOCALE_FOR_LANG=hn,T.LoadingIndicator=rn,T.Paginator=Fl,T.REFRESH_DELAY=qr,T.ResponsiveTable=on,T.SORT_STATE_ASCEND=I,T.SORT_STATE_DESCEND=b,T.SORT_STATE_ORIGINAL=ct,T.ScheduleTable=Uc,T.SeasonSelector=Zc,T.StatisticsTable=hu,T.TimezoneSelector=bu,T.UndefinedColumn=Ft,T.VBR_API_BASE_URL=ln,T.WidgetError=an,T.addDays=Ki,T.appendTo=Yr,T.baseProps=Tu,T.convert=ec,T.convertGamePeriodResults=pc,T.convertMinToMinSec=Or,T.convertMinToSec=Ge,T.convertPhaseName=Sc,T.convertSecToMin=wr,T.convertTimes=dc,T.convertTimesMinToMinSec=fc,T.convertTimesSecToMin=mc,T.createConfig=Wr,T.createI18n=Wn,T.currentWeek=Yi,T.currentWeekStartEnd=Wi,T.default=Au,T.endOfMonth=Xi,T.externalGameLinkResolver=Ac,T.externalPlayerLinkResolver=_c,T.externalStatisticLinkResolver=xc,T.externalTeamLinkResolver=kc,T.fetchVBRData=tr,T.flagResolver=Pc,T.format=yt,T.gameDateTime=ac,T.gameProps=Ou,T.gameResult=ic,T.getLocalTimezone=Sr,T.i18n=Kn,T.isAfter=Ui,T.isBefore=ji,T.isBetween=Ar,T.isSame=Gi,T.isSameOrBefore=Fe,T.isToday=Hi,T.localeSort=gc,T.max=Qi,T.min=Ji,T.offsetName=Bt,T.playerName=rc,T.playerStatsProps=wu,T.rawConvert=nc,T.scheduleOptionalRowClass=cc,T.scrollToTop=Ec,T.sortByDomNode=nl,T.sortGames=hc,T.startOfMonth=Zi,T.subtractDays=qi,T.teamName=oc,T.teamOpponent=sc,T.teamResultType=lc,T.teamStatsProps=Su,T.templateReplacer=dt,T.toKebabCase=Xn,T.upperCase=uc,T.useAdditionalText=Hn,T.useColumns=Ie,T.useError=Be,T.useErrorProvider=Qn,T.useI18n=at,T.useLazyLoadingState=ir,T.usePage=ts,T.useScrollToGameDate=ns,T.useServices=rs,T.useSort=cs,T.useVisibilityChange=us,T.validateColumnsName=Zn,T.yearToNow=Fi,Object.defineProperties(T,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),T}({},Vue);
|