@mjsz-vbr-elements/core 2.20.0 → 2.20.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-BJwFm_Lj.js → TimezoneSelector-BKF4HTHI.js} +228 -224
- package/dist/columns.js +1 -1
- package/dist/components.js +2 -2
- package/dist/composables.js +1 -1
- package/dist/constants.js +1 -1
- package/dist/datetime-K_d-hEsO.js +1 -1
- package/dist/errors-DBdI9YRN.js +1 -1
- package/dist/index.iife.js +2 -2
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +2 -2
- package/dist/useSort-C4-l1qY2.js +1 -1
- package/dist/utils.js +1 -1
- package/package.json +2 -2
package/dist/columns.js
CHANGED
package/dist/components.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.20.
|
|
3
|
+
* version: v2.20.1 - 11/03/2025, 18:23:01
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { _ as s, a as r, b as o, c as t, d as i, e as l, f as n, I as c, g as d, h as S, i as b, j as g, k as T, l as m, m as v, n as I } from "./TimezoneSelector-
|
|
8
|
+
import { _ as s, a as r, b as o, c as t, d as i, e as l, f as n, I as c, g as d, h as S, i as b, j as g, k as T, l as m, m as v, n as I } from "./TimezoneSelector-BKF4HTHI.js";
|
|
9
9
|
export {
|
|
10
10
|
s as AdditionalStandingsText,
|
|
11
11
|
r as BaseSelect,
|
package/dist/composables.js
CHANGED
package/dist/constants.js
CHANGED
package/dist/errors-DBdI9YRN.js
CHANGED
package/dist/index.iife.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.20.
|
|
3
|
+
* version: v2.20.1 - 11/03/2025, 18:23:02
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
@@ -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 Ar;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(Ar||(Ar={}));var ns={type:"xstate.init"};function fe(t){return t===void 0?[]:[].concat(t)}function kr(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 He(t){return function(e){return t===e}}function rs(t){return typeof t=="string"?{type:t}:t}function _r(t,e){return{value:t,context:e,actions:[],changed:!1,matches:He(t)}}function xr(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 os(t,e){e===void 0&&(e={});var n=je(xr(fe(t.states[t.initial].entry).map(function(s){return kr(s,e.actions)}),t.context,ns),2),o=n[0],a=n[1],i={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:He(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=rs(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 _r(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,H=E===void 0,B=E??f,M=t.states[B];if(G(y,g)){var Y=je(xr((H?fe(v):[].concat(p.exit,v,M.entry).filter(function(O){return O})).map(function(O){return kr(O,i._options.actions)}),y,g),3),rt=Y[0],P=Y[1],k=Y[2],w=E??f;return{value:w,context:P,actions:rt,changed:E!==f||rt.length>0||k,matches:He(w)}}}}catch(O){u={error:O}}finally{try{S&&!S.done&&(c=h.return)&&c.call(h)}finally{if(u)throw u.error}}}return _r(f,y)}};return i}const as=os({id:"sort",initial:ct,states:{[ct]:{on:{DIRECTION1:b,DIRECTION2:I}},[b]:{on:{DIRECTION1:I,DIRECTION2:ct}},[I]:{on:{DIRECTION1:ct,DIRECTION2:b}}}});function is(t,e){const n=e===I?"DIRECTION2":"DIRECTION1";return as.transition(t,n).value}function ss(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:is(o.orders[c].direction,u.direction)}));o.sortTarget=i,o.orders=l}}}function ls(t=!1,e=at,n=at){const o=Ya();r.watch(o,a=>{if(r.unref(t)){if(a==="visible")return e();n()}})}const cs=["textContent"],us={__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,cs)):r.createCommentVNode("",!0)}},Pr={__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]])}},ds={"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 fs(t,e){return r.openBlock(),r.createElementBlock("svg",ds,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 Er={render:fs},ms={"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 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-41z"},null,-1)]))}const hs={render:ps},gs={"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 ys(t,e){return r.openBlock(),r.createElementBlock("svg",gs,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 bs={render:ys},Pt=Math.min,bt=Math.max,me=Math.round,pe=Math.floor,it=t=>({x:t,y:t}),Ts={left:"right",right:"left",bottom:"top",top:"bottom"},Ss={start:"end",end:"start"};function Ye(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 Nr(t){return t==="x"?"y":"x"}function Ue(t){return t==="y"?"height":"width"}function he(t){return["top","bottom"].includes(Tt(t))?"y":"x"}function We(t){return Nr(he(t))}function ws(t,e,n){n===void 0&&(n=!1);const o=zt(t),a=We(t),i=Ue(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 Os(t){const e=ge(t);return[qe(t),e,qe(e)]}function qe(t){return t.replace(/start|end/g,e=>Ss[e])}function As(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 ks(t,e,n,o){const a=zt(t);let i=As(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=>Ts[e])}function _s(t){return{top:0,right:0,bottom:0,left:0,...t}}function $r(t){return typeof t!="number"?_s(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 Dr(t,e,n){let{reference:o,floating:a}=t;const i=he(e),s=We(e),l=Ue(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 xs=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}=Dr(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}=Dr(c,y,u)),m=-1)}return{x:d,y:f,placement:y,strategy:a,middlewareData:g}};async function Mr(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=$r(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 Ps=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=$r(d),y={x:n,y:o},g=We(a),p=Ue(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,H=L/2-m[p]/2-1,B=Pt(f[S],H),M=Pt(f[_],H),Y=B,rt=L-m[p]-M,P=L/2-m[p]/2+G,k=Ye(Y,P,rt),w=!u.arrow&&zt(a)!=null&&P!==k&&i.reference[p]/2-(P<Y?B:M)-m[p]/2<0,O=w?P<Y?P-Y:P-rt:0;return{[g]:y[g]+O,data:{[g]:k,centerOffset:P-k-O,...w&&{alignmentOffset:O}},reset:w}}}),Es=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)]:Os(l));!y&&p!=="none"&&E.push(...ks(l,m,p,x));const N=[l,...E],v=await Mr(e,h),L=[];let G=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&L.push(v[S]),f){const Y=ws(a,s,x);L.push(v[Y[0]],v[Y[1]])}if(G=[...G,{placement:a,overflows:L}],!L.every(Y=>Y<=0)){var H,B;const Y=(((H=i.flip)==null?void 0:H.index)||0)+1,rt=N[Y];if(rt)return{data:{index:Y,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 Ns(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 $s=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 Ns(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}}}}},Ds=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 Mr(e,u),f=he(Tt(a)),y=Nr(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=Ye(_,g,x)}if(s){const h=f==="y"?"top":"left",S=f==="y"?"bottom":"right",_=p+d[h],x=p-d[S];p=Ye(_,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 vr(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=(vr(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function vr(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 Cr(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 Ms(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 vs(t){let e=ft(t);for(;lt(e)&&!Nt(e);){if(Ke(e))return e;if(Te(e))return null;e=ft(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 ft(t){if(Et(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Cr(t)&&t.host||st(t);return Cr(e)?e.host:e}function Lr(t){const e=ft(t);return Nt(e)?t.ownerDocument?t.ownerDocument.body:t.body:lt(e)&&Vt(e)?e:Lr(e)}function Gt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=Lr(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 Ir(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}=Ir(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 Cs=it(0);function Br(t){const e=Z(t);return!Ze()||!e.visualViewport?Cs:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ls(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=Ls(i,n,o)?Br(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 Rr(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 Is(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?Rr(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 Bs(t){return Array.from(t.getClientRects())}function Rs(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 zs(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 Vs(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 zr(t,e,n){let o;if(e==="viewport")o=zs(t,n);else if(e==="document")o=Rs(st(t));else if(et(e))o=Vs(e,n);else{const a=Br(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return ye(o)}function Vr(t,e){const n=ft(t);return n===e||!et(n)||Nt(n)?!1:nt(n).position==="fixed"||Vr(n,e)}function Gs(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?ft(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&&Vr(t,s))?o=o.filter(d=>d!==s):a=l,s=ft(s)}return e.set(t,o),o}function Fs(t){let{element:e,boundary:n,rootBoundary:o,strategy:a}=t;const s=[...n==="clippingAncestors"?Te(e)?[]:Gs(e,this._c):[].concat(n),o],l=s[0],u=s.reduce((c,d)=>{const f=zr(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},zr(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function js(t){const{width:e,height:n}=Ir(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?Rr(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 Gr(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 Fr(t,e){const n=Z(t);if(Te(t))return n;if(!lt(t)){let a=ft(t);for(;a&&!Nt(a);){if(et(a)&&!tn(a))return a;a=ft(a)}return n}let o=Gr(t,e);for(;o&&Ms(o)&&tn(o);)o=Gr(o,e);return o&&Nt(o)&&tn(o)&&!Ke(o)?n:o||vs(t)||n}const Ys=async function(t){const e=this.getOffsetParent||Fr,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 Us(t){return nt(t).direction==="rtl"}const Ws={convertOffsetParentRelativeRectToViewportRelativeRect:Is,getDocumentElement:st,getClippingRect:Fs,getOffsetParent:Fr,getElementRects:Ys,getClientRects:Bs,getDimensions:js,getScale:$t,isElement:et,isRTL:Us};function jr(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function qs(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&&!jr(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 Ks(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?qs(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&&!jr(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 Zs=$s,Xs=Ds,Js=Es,Hr=Ps,Qs=(t,e,n)=>{const o=new Map,a={platform:Ws,...n},i={...a.platform,_c:o};return xs(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 tl(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 el({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||Qs(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=Ks(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 nl(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 rl=["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}=el({placement:e.placement,middleware:[Js(),Xs({padding:5}),Zs(e.offset),nl({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,rl)],64))}},ol={class:"table"},al=["tabindex","onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown"],il={key:0},sl=["colspan"],ll={key:1},cl=["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=ar(a,{delay:gn}),{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",ol,[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(Er),{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(Er),{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(hs),{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(bs),{key:3,class:"is-icon-sort"})):r.createCommentVNode("",!0)],42,al)]),_: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",il,[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,sl)])])):r.createCommentVNode("",!0),t.rows.length===0&&!r.unref(a)&&!r.unref(s)?(r.openBlock(),r.createElementBlock("tfoot",ll,[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,cl)])])):r.createCommentVNode("",!0)]))}},ul={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function dl(t,e){return r.openBlock(),r.createElementBlock("svg",ul,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 fl={render:dl},ml={class:"error-notice"},pl={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})}},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",ml,[r.createVNode(r.unref(fl),{class:"icon",width:"20",height:"20"}),r.createElementVNode("span",null,r.toDisplayString(a.value),1)]))}},hl={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:o}=Jn();return(a,i)=>r.renderSlot(a.$slots,"default",{message:r.unref(e),error:r.unref(o),hasError:r.unref(n)})}},gl={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"},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"}}},yl={errors:{"undefined-column":"A(z) {column} oszlop nem létezik!","invalid-season-name":"Érvénytelen szezon név","api-key-not-found":"API Kulcs nem megfelelő",gameData:"Game Data: {0}",gameStats:"Game Stats: {0}",gameEvents:"Game Events: {0}",gameOfficials:"Game Officials: {0}"},common:{loading:"Töltődés...",noData:"Nincs megjeleníthető adat",selectTimezone:"*Minden időpont a számítógép időzónája szerint jelenik meg ({timezone}). Váltás: ",hungary:"Magyarország",romania:"Románia",shootoutShort:"SO",overtimeShort:"OT",all:"Mind",report:"Jegyzőkönyv",video:"Videó"},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"}}},bl=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},Tl=r.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=zn({hu:yl,en:gl},t.messages),{translate:n}=Un({locale:r.computed(()=>t.locale),messages:e});return{translate:n}}});function Sl(t,e,n,o,a,i){return r.renderSlot(t.$slots,"default",{t:t.translate})}const wl=bl(Tl,[["render",Sl]]),Ol=["src"],Al=["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}=Wa(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,Ol)):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,Al))],64))}}),kl={class:"loading-indicator"},rn={__name:"LoadingIndicator",setup(t){const{t:e}=ot();return(n,o)=>(r.openBlock(),r.createElementBlock("div",kl,r.toDisplayString(r.unref(e)("common.loading")),1))}},_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 xl(t,e){return r.openBlock(),r.createElementBlock("svg",_l,e[0]||(e[0]=[r.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1)]))}const Pl={render:xl},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:"9 18 15 12 9 6"},null,-1)]))}const $l={render:Nl},Dl={key:0,class:"paginator"},Ml=["disabled"],vl=["disabled"],Cl={key:1,class:"is-disabled"},Ll=["disabled","onClick"],Il={key:2,class:"is-disabled"},Bl=["disabled"],Rl=["disabled"],zl={__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}=Qi({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",Dl,[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(Pl),{class:"icon paginator-left"})])],8,Ml),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,vl)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",Cl," ... ")),(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,Ll))),128)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",Il,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,Bl)),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($l),{class:"icon paginator-left"})])],8,Rl)])):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))}},Vl={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 Gl(t,e){return r.openBlock(),r.createElementBlock("svg",Vl,e[0]||(e[0]=[r.createElementVNode("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"},null,-1),r.createElementVNode("line",{x1:"8",y1:"21",x2:"16",y2:"21"},null,-1),r.createElementVNode("line",{x1:"12",y1:"17",x2:"12",y2:"21"},null,-1)]))}const Fl={render:Gl},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 Hl(t,e){return r.openBlock(),r.createElementBlock("svg",jl,e[0]||(e[0]=[r.createElementVNode("circle",{cx:"12",cy:"12",r:"1"},null,-1),r.createElementVNode("circle",{cx:"12",cy:"5",r:"1"},null,-1),r.createElementVNode("circle",{cx:"12",cy:"19",r:"1"},null,-1)]))}const Yl={render:Hl},Ul={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function Wl(t,e){return r.openBlock(),r.createElementBlock("svg",Ul,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 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:"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 Xl={render:Zl};function Jl(t=[]){return{result:[...t],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.isFiltered?this.filteredRowsLength:t.length,currentItems:this.currentItems}},filter(e,n=[],o=!1){if(e){const a=n.map(l=>o?Xt(Ce(l),Ut(e)):Xt(ut(l),jn,ma(jn(e)))),i=Vo(l=>l.name?Sa(ga("name"),wa(",",""),l):l),s=$e(Xt(i,zo([...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=fa(Ut(I),Cn(Me),Cn(na));return this.result=Fn(e.orders.map(o=>In(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:`${e.lastName} ${e.firstName}`})),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=da(e=>yt(e.gameDate,"YYYY-MM-DD"))(this.result),this}}}const Ql=(t,...e)=>dt(In(...e))(t);function tc(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 ec(t){var e;return{...t,...((e=t==null?void 0:t.team)==null?void 0:e.id)&&{teamName:t.team.longName}}}function nc(t="",e="hu"){return n=>({...n,gameDateDate:yt(n.gameDate,"L dddd",t,e),gameDateTime:yt(n.gameDate,"HH:mm",t,e)})}function rc(t){return e=>({...e,gameResult:hc(e)})}function oc(t){return{...t,opponent:pc(t)}}function ac(t){return{...t,resultType:gc(t)}}function ic(t){return{...t,rowClasses:t.optional?"is-optional":""}}function sc(t=[]){return e=>{var n;return{...e,[t]:(n=e[t])==null?void 0:n.toUpperCase()}}}function lc(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Sec`]=Ge(e[n]):e),e)}function cc(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Min`]=wr(e[n]):e),e)}function uc(t=[]){return e=>(t.map(n=>e[`${n}Min`]=Sr(e[n])),e)}function dc(t){var e,n;return{...t,periodResults:((n=(e=t.result)==null?void 0:e.match(/\(.*?\)/))==null?void 0:n[0])??""}}const fc=Fn([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Me(ut("id")),Me(ut("gameId"))]),mc=Oa((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function pc(t){var e;return[t.isHomeGame?null:"@",(e=t.opponent)==null?void 0:e.shortName].join(" ")}function hc(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 gc(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 yc(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("-")}})}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:{}}},bc={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 Tc(t,e={}){if(e.externalGameUrl)return e.externalGameUrl;const n=sn("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(gt(n||cn,e))}function Sc(t,e={}){const n=sn("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(gt(n||fn,e))}function wc(t,e={}){const n=sn("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(gt(n||dn,e))}const Oc=(t,e="1x1")=>`${mn}/flag:${t}-${e}.svg`;function Ac(){window.scrollTo(0,0)}const kc={class:"is-team-name-long"},_c={class:"is-team-name-short"},xc={class:"is-team-name-long"},Pc={class:"is-team-name-short"},Ec={key:0,class:"is-text-dark"},Nc=["href","target"],$c={key:0,class:"label"},Dc={key:1,class:"label"},Mc={key:2,class:"label"},vc={key:1},Cc=["onClick","onFocus","onBlur"],Lc={class:"is-dropdown-menu"},Ic=["href","target"],Bc={key:0},Rc=["href"],zc={__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(yn,r.computed(()=>e.hideColumns),r.computed(()=>({offsetName:e.offsetName})));Fa(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})=>[r.createElementVNode("span",kc,r.toDisplayString(d.homeTeam.longName),1),r.createElementVNode("span",_c,r.toDisplayString(d.homeTeam.shortName),1)]),"cell-awayTeamName":r.withCtx(({row:d})=>[r.createElementVNode("span",xc,r.toDisplayString(d.awayTeam.longName),1),r.createElementVNode("span",Pc,r.toDisplayString(d.awayTeam.shortName),1)]),"cell-homeTeamLogo":r.withCtx(({row:d})=>[(r.openBlock(),r.createBlock(wt,{key:d.homeTeam.id,class:"is-logo-image is-right",src:d.homeTeam.logo},null,8,["src"]))]),"cell-awayTeamLogo":r.withCtx(({row:d})=>[(r.openBlock(),r.createBlock(wt,{key:d.awayTeam.id,class:"is-logo-image is-right",src:d.awayTeam.logo},null,8,["src"]))]),"cell-gameResult":r.withCtx(({row:d})=>[d.gameStatus===0?(r.openBlock(),r.createElementBlock("span",Ec,"-:-")):(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,Nc))]),"cell-gameResultType":r.withCtx(({row:d})=>[d.isOvertime?(r.openBlock(),r.createElementBlock("span",$c,r.toDisplayString(r.unref(s)("common.overtimeShort")),1)):r.createCommentVNode("",!0),d.isShootout?(r.openBlock(),r.createElementBlock("span",Dc,r.toDisplayString(r.unref(s)("common.shootoutShort")),1)):r.createCommentVNode("",!0),d.seriesStandings?(r.openBlock(),r.createElementBlock("span",Mc,r.toDisplayString(d.seriesStandings),1)):r.createCommentVNode("",!0)]),"cell-broadcast":r.withCtx(({row:d})=>[d.broadcast?(r.openBlock(),r.createBlock(r.unref(Fl),{key:0})):(r.openBlock(),r.createElementBlock("span",vc))]),"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(Yl))],40,Cc)]),content:r.withCtx(()=>[r.createElementVNode("ul",Lc,[r.createElementVNode("li",null,[r.createElementVNode("a",{href:t.externalGameResolver(d.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[r.createVNode(r.unref(ql),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.report")),1)],8,Ic)]),d.video?(r.openBlock(),r.createElementBlock("li",Bc,[r.createElementVNode("a",{href:d.video,class:"is-dropdown-item",target:"_blank"},[r.createVNode(r.unref(Xl),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.video")),1)],8,Rc)])):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))}},Vc={class:"g-row g-gap-normal is-mb-5"},Gc={for:"season",class:"label"},Fc=["value"],jc={key:0},Hc=["onClick"],Yc={__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",Vc,[r.createElementVNode("div",null,[r.createElementVNode("label",Gc,r.toDisplayString(r.unref(a)("selection.season")),1),r.createVNode(Pr,{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,Fc))),128))]),_:1},8,["modelValue"])]),r.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",jc,[(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,Hc))),128))]))],64))}},Uc={class:"is-portrait-image"},Wc=["href"],qc={class:"is-team-name-long"},Kc={class:"is-team-name-short"},Zc={class:"is-team-name-long"},Xc={key:0},Jc={class:"is-team-name-short"},Qc={key:0},tu={class:"is-team-name-long"},eu={class:"is-team-name-short"},nu={class:"is-team-name-long"},ru={class:"is-team-name-short"},ou=["href"],au={key:0,class:"is-text-dark"},iu=["href","target"],su={key:0,class:"label"},lu={key:1,class:"label"},cu={key:2,class:"label"},uu={__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",Uc,[(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",qc,r.toDisplayString((m=p.team)==null?void 0:m.longName),1),r.createElementVNode("span",Kc,r.toDisplayString((h=p.team)==null?void 0:h.shortName),1)],8,Wc)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createElementVNode("span",Zc,[r.createTextVNode(r.toDisplayString((S=p.team)==null?void 0:S.longName)+" ",1),p.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Xc,y[0]||(y[0]=[r.createElementVNode("sup",null,"*",-1)]))):r.createCommentVNode("",!0)]),r.createElementVNode("span",Jc,[r.createTextVNode(r.toDisplayString((_=p.team)==null?void 0:_.shortName)+" ",1),p.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Qc,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",tu,r.toDisplayString((m=p.homeTeam)==null?void 0:m.longName),1),r.createElementVNode("span",eu,r.toDisplayString((h=p.homeTeam)==null?void 0:h.shortName),1)]}),"cell-awayTeamName":r.withCtx(({row:p})=>{var m,h;return[r.createElementVNode("span",nu,r.toDisplayString((m=p.awayTeam)==null?void 0:m.longName),1),r.createElementVNode("span",ru,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",au,"-:-")):(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,iu))]),"cell-gameResultType":r.withCtx(({row:p})=>[p.isOvertime?(r.openBlock(),r.createElementBlock("span",su,r.toDisplayString(r.unref(l)("common.overtimeShort")),1)):r.createCommentVNode("",!0),p.isShootout?(r.openBlock(),r.createElementBlock("span",lu,r.toDisplayString(r.unref(l)("common.shootoutShort")),1)):r.createCommentVNode("",!0),p.seriesStandings?(r.openBlock(),r.createElementBlock("span",cu,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,ou)]),key:"0"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},du={class:"timezone-selector"},fu=["onClick"],mu={__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=Tr(),l=r.computed(()=>Array.from(hn.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",du,[r.createVNode(r.unref(qn),{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,fu))),128))]))}},pu={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:""}},hu={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},gu={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},yu={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}};function Ur({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 bu={install:(t,e={})=>Ur({app:t,...e})};return T.AVAILABLE_TIMEZONES_BY_COUNTRY=hn,T.AdditionalStandingsText=us,T.BaseSelect=Pr,T.COLUMNS_FIELD_PLAYERS=Xr,T.COLUMNS_FIELD_PLAYERS_PENALTY=Jr,T.COLUMNS_FIELD_PLAYERS_TOI=Qr,T.COLUMNS_GOALIES=to,T.COLUMNS_PLAYERS_NATIONAL=eo,T.COLUMNS_SCHEDULE=yn,T.COLUMNS_SCORING_EFFICIENCY=io,T.COLUMNS_STANDINGS_P_2=Kr,T.COLUMNS_STANDINGS_P_3=qr,T.COLUMNS_STANDINGS_SHORT=Zr,T.COLUMNS_TEAMS_FAIRPLAY=ro,T.COLUMNS_TEAMS_PENALTY_KILLING=oo,T.COLUMNS_TEAMS_POWERPLAY=ao,T.COLUMNS_TEAM_ATTENDANCE=no,T.DEFAULT_EXTERNAL_GAME_URL=cn,T.DEFAULT_EXTERNAL_PLAYER_URL=dn,T.DEFAULT_EXTERNAL_TEAM_URL=fn,T.DEFAULT_PORTRAIT_IMAGE_URL=un,T.DataTable=nn,T.ErrorNotice=pl,T.ErrorProvider=hl,T.FLAG_BASE_URL=mn,T.FetchMoreObserver=ho,T.FloatingPanel=en,T.I18NProvider=wl,T.Image=wt,T.InvalidSeasonName=bc,T.LAZY_LOADING_STATE_DELAY=gn,T.LOCALE_FOR_LANG=pn,T.LoadingIndicator=rn,T.Paginator=zl,T.REFRESH_DELAY=Wr,T.ResponsiveTable=on,T.SORT_STATE_ASCEND=I,T.SORT_STATE_DESCEND=b,T.SORT_STATE_ORIGINAL=ct,T.ScheduleTable=zc,T.SeasonSelector=Yc,T.StatisticsTable=uu,T.TimezoneSelector=mu,T.UndefinedColumn=Ft,T.VBR_API_BASE_URL=ln,T.WidgetError=an,T.addDays=Wi,T.appendTo=Yr,T.baseProps=pu,T.convert=Jl,T.convertGamePeriodResults=dc,T.convertMinToMinSec=wr,T.convertMinToSec=Ge,T.convertPhaseName=yc,T.convertSecToMin=Sr,T.convertTimes=lc,T.convertTimesMinToMinSec=cc,T.convertTimesSecToMin=uc,T.createConfig=Ur,T.createI18n=Un,T.currentWeek=Hi,T.currentWeekStartEnd=Yi,T.default=bu,T.endOfMonth=Ki,T.externalGameLinkResolver=Tc,T.externalPlayerLinkResolver=wc,T.externalTeamLinkResolver=Sc,T.fetchVBRData=Qn,T.flagResolver=Oc,T.format=yt,T.gameDateTime=nc,T.gameProps=yu,T.gameResult=rc,T.getLocalTimezone=Tr,T.i18n=qn,T.isAfter=Fi,T.isBefore=Gi,T.isBetween=Or,T.isSame=zi,T.isSameOrBefore=Fe,T.isToday=ji,T.localeSort=mc,T.max=Xi,T.min=Zi,T.offsetName=Bt,T.playerName=tc,T.playerStatsProps=gu,T.rawConvert=Ql,T.scheduleOptionalRowClass=ic,T.scrollToTop=Ac,T.sortByDomNode=tl,T.sortGames=fc,T.startOfMonth=qi,T.subtractDays=Ui,T.teamName=ec,T.teamOpponent=oc,T.teamResultType=ac,T.teamStatsProps=hu,T.templateReplacer=gt,T.toKebabCase=Zn,T.upperCase=sc,T.useAdditionalText=Hn,T.useColumns=Ie,T.useError=Be,T.useErrorProvider=Jn,T.useI18n=ot,T.useLazyLoadingState=ar,T.usePage=Ji,T.useScrollToGameDate=ts,T.useServices=es,T.useSort=ss,T.useVisibilityChange=ls,T.validateColumnsName=Kn,T.yearToNow=Vi,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 Ar;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(Ar||(Ar={}));var ns={type:"xstate.init"};function fe(t){return t===void 0?[]:[].concat(t)}function kr(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 He(t){return function(e){return t===e}}function rs(t){return typeof t=="string"?{type:t}:t}function _r(t,e){return{value:t,context:e,actions:[],changed:!1,matches:He(t)}}function xr(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 os(t,e){e===void 0&&(e={});var n=je(xr(fe(t.states[t.initial].entry).map(function(s){return kr(s,e.actions)}),t.context,ns),2),o=n[0],a=n[1],i={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:He(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=rs(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 _r(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,H=E===void 0,B=E??f,M=t.states[B];if(G(y,g)){var Y=je(xr((H?fe(v):[].concat(p.exit,v,M.entry).filter(function(O){return O})).map(function(O){return kr(O,i._options.actions)}),y,g),3),rt=Y[0],P=Y[1],k=Y[2],w=E??f;return{value:w,context:P,actions:rt,changed:E!==f||rt.length>0||k,matches:He(w)}}}}catch(O){u={error:O}}finally{try{S&&!S.done&&(c=h.return)&&c.call(h)}finally{if(u)throw u.error}}}return _r(f,y)}};return i}const as=os({id:"sort",initial:ct,states:{[ct]:{on:{DIRECTION1:b,DIRECTION2:I}},[b]:{on:{DIRECTION1:I,DIRECTION2:ct}},[I]:{on:{DIRECTION1:ct,DIRECTION2:b}}}});function is(t,e){const n=e===I?"DIRECTION2":"DIRECTION1";return as.transition(t,n).value}function ss(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:is(o.orders[c].direction,u.direction)}));o.sortTarget=i,o.orders=l}}}function ls(t=!1,e=at,n=at){const o=Ya();r.watch(o,a=>{if(r.unref(t)){if(a==="visible")return e();n()}})}const cs=["textContent"],us={__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,cs)):r.createCommentVNode("",!0)}},Pr={__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]])}},ds={"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 fs(t,e){return r.openBlock(),r.createElementBlock("svg",ds,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 Er={render:fs},ms={"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 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-41z"},null,-1)]))}const hs={render:ps},gs={"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 ys(t,e){return r.openBlock(),r.createElementBlock("svg",gs,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 bs={render:ys},Pt=Math.min,bt=Math.max,me=Math.round,pe=Math.floor,it=t=>({x:t,y:t}),Ts={left:"right",right:"left",bottom:"top",top:"bottom"},Ss={start:"end",end:"start"};function Ye(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 Nr(t){return t==="x"?"y":"x"}function Ue(t){return t==="y"?"height":"width"}function he(t){return["top","bottom"].includes(Tt(t))?"y":"x"}function We(t){return Nr(he(t))}function ws(t,e,n){n===void 0&&(n=!1);const o=zt(t),a=We(t),i=Ue(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 Os(t){const e=ge(t);return[qe(t),e,qe(e)]}function qe(t){return t.replace(/start|end/g,e=>Ss[e])}function As(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 ks(t,e,n,o){const a=zt(t);let i=As(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=>Ts[e])}function _s(t){return{top:0,right:0,bottom:0,left:0,...t}}function $r(t){return typeof t!="number"?_s(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 Dr(t,e,n){let{reference:o,floating:a}=t;const i=he(e),s=We(e),l=Ue(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 xs=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}=Dr(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}=Dr(c,y,u)),m=-1)}return{x:d,y:f,placement:y,strategy:a,middlewareData:g}};async function Mr(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=$r(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 Ps=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=$r(d),y={x:n,y:o},g=We(a),p=Ue(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,H=L/2-m[p]/2-1,B=Pt(f[S],H),M=Pt(f[_],H),Y=B,rt=L-m[p]-M,P=L/2-m[p]/2+G,k=Ye(Y,P,rt),w=!u.arrow&&zt(a)!=null&&P!==k&&i.reference[p]/2-(P<Y?B:M)-m[p]/2<0,O=w?P<Y?P-Y:P-rt:0;return{[g]:y[g]+O,data:{[g]:k,centerOffset:P-k-O,...w&&{alignmentOffset:O}},reset:w}}}),Es=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)]:Os(l));!y&&p!=="none"&&E.push(...ks(l,m,p,x));const N=[l,...E],v=await Mr(e,h),L=[];let G=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&L.push(v[S]),f){const Y=ws(a,s,x);L.push(v[Y[0]],v[Y[1]])}if(G=[...G,{placement:a,overflows:L}],!L.every(Y=>Y<=0)){var H,B;const Y=(((H=i.flip)==null?void 0:H.index)||0)+1,rt=N[Y];if(rt)return{data:{index:Y,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 Ns(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 $s=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 Ns(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}}}}},Ds=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 Mr(e,u),f=he(Tt(a)),y=Nr(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=Ye(_,g,x)}if(s){const h=f==="y"?"top":"left",S=f==="y"?"bottom":"right",_=p+d[h],x=p-d[S];p=Ye(_,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 vr(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=(vr(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function vr(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 Cr(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 Ms(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 vs(t){let e=ft(t);for(;lt(e)&&!Nt(e);){if(Ke(e))return e;if(Te(e))return null;e=ft(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 ft(t){if(Et(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Cr(t)&&t.host||st(t);return Cr(e)?e.host:e}function Lr(t){const e=ft(t);return Nt(e)?t.ownerDocument?t.ownerDocument.body:t.body:lt(e)&&Vt(e)?e:Lr(e)}function Gt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=Lr(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 Ir(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}=Ir(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 Cs=it(0);function Br(t){const e=Z(t);return!Ze()||!e.visualViewport?Cs:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ls(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=Ls(i,n,o)?Br(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 Rr(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 Is(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?Rr(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 Bs(t){return Array.from(t.getClientRects())}function Rs(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 zs(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 Vs(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 zr(t,e,n){let o;if(e==="viewport")o=zs(t,n);else if(e==="document")o=Rs(st(t));else if(et(e))o=Vs(e,n);else{const a=Br(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return ye(o)}function Vr(t,e){const n=ft(t);return n===e||!et(n)||Nt(n)?!1:nt(n).position==="fixed"||Vr(n,e)}function Gs(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?ft(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&&Vr(t,s))?o=o.filter(d=>d!==s):a=l,s=ft(s)}return e.set(t,o),o}function Fs(t){let{element:e,boundary:n,rootBoundary:o,strategy:a}=t;const s=[...n==="clippingAncestors"?Te(e)?[]:Gs(e,this._c):[].concat(n),o],l=s[0],u=s.reduce((c,d)=>{const f=zr(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},zr(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function js(t){const{width:e,height:n}=Ir(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?Rr(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 Gr(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 Fr(t,e){const n=Z(t);if(Te(t))return n;if(!lt(t)){let a=ft(t);for(;a&&!Nt(a);){if(et(a)&&!tn(a))return a;a=ft(a)}return n}let o=Gr(t,e);for(;o&&Ms(o)&&tn(o);)o=Gr(o,e);return o&&Nt(o)&&tn(o)&&!Ke(o)?n:o||vs(t)||n}const Ys=async function(t){const e=this.getOffsetParent||Fr,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 Us(t){return nt(t).direction==="rtl"}const Ws={convertOffsetParentRelativeRectToViewportRelativeRect:Is,getDocumentElement:st,getClippingRect:Fs,getOffsetParent:Fr,getElementRects:Ys,getClientRects:Bs,getDimensions:js,getScale:$t,isElement:et,isRTL:Us};function jr(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function qs(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&&!jr(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 Ks(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?qs(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&&!jr(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 Zs=$s,Xs=Ds,Js=Es,Hr=Ps,Qs=(t,e,n)=>{const o=new Map,a={platform:Ws,...n},i={...a.platform,_c:o};return xs(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 tl(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 el({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||Qs(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=Ks(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 nl(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 rl=["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}=el({placement:e.placement,middleware:[Js(),Xs({padding:5}),Zs(e.offset),nl({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,rl)],64))}},ol={class:"table"},al=["tabindex","onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown"],il={key:0},sl=["colspan"],ll={key:1},cl=["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=ar(a,{delay:gn}),{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",ol,[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(Er),{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(Er),{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(hs),{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(bs),{key:3,class:"is-icon-sort"})):r.createCommentVNode("",!0)],42,al)]),_: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",il,[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,sl)])])):r.createCommentVNode("",!0),t.rows.length===0&&!r.unref(a)&&!r.unref(s)?(r.openBlock(),r.createElementBlock("tfoot",ll,[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,cl)])])):r.createCommentVNode("",!0)]))}},ul={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function dl(t,e){return r.openBlock(),r.createElementBlock("svg",ul,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 fl={render:dl},ml={class:"error-notice"},pl={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})}},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",ml,[r.createVNode(r.unref(fl),{class:"icon",width:"20",height:"20"}),r.createElementVNode("span",null,r.toDisplayString(a.value),1)]))}},hl={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:o}=Jn();return(a,i)=>r.renderSlot(a.$slots,"default",{message:r.unref(e),error:r.unref(o),hasError:r.unref(n)})}},gl={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"},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"}}},yl={errors:{"undefined-column":"A(z) {column} oszlop nem létezik!","invalid-season-name":"Érvénytelen szezon név","api-key-not-found":"API Kulcs nem megfelelő",gameData:"Game Data: {0}",gameStats:"Game Stats: {0}",gameEvents:"Game Events: {0}",gameOfficials:"Game Officials: {0}"},common:{loading:"Töltődés...",noData:"Nincs megjeleníthető adat",selectTimezone:"*Minden időpont a számítógép időzónája szerint jelenik meg ({timezone}). Váltás: ",hungary:"Magyarország",romania:"Románia",shootoutShort:"SO",overtimeShort:"OT",all:"Mind",report:"Jegyzőkönyv",video:"Videó"},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"}}},bl=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},Tl=r.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=zn({hu:yl,en:gl},t.messages),{translate:n}=Un({locale:r.computed(()=>t.locale),messages:e});return{translate:n}}});function Sl(t,e,n,o,a,i){return r.renderSlot(t.$slots,"default",{t:t.translate})}const wl=bl(Tl,[["render",Sl]]),Ol=["src"],Al=["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}=Wa(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,Ol)):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,Al))],64))}}),kl={class:"loading-indicator"},rn={__name:"LoadingIndicator",setup(t){const{t:e}=ot();return(n,o)=>(r.openBlock(),r.createElementBlock("div",kl,r.toDisplayString(r.unref(e)("common.loading")),1))}},_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 xl(t,e){return r.openBlock(),r.createElementBlock("svg",_l,e[0]||(e[0]=[r.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1)]))}const Pl={render:xl},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:"9 18 15 12 9 6"},null,-1)]))}const $l={render:Nl},Dl={key:0,class:"paginator"},Ml=["disabled"],vl=["disabled"],Cl={key:1,class:"is-disabled"},Ll=["disabled","onClick"],Il={key:2,class:"is-disabled"},Bl=["disabled"],Rl=["disabled"],zl={__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}=Qi({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",Dl,[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(Pl),{class:"icon paginator-left"})])],8,Ml),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,vl)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",Cl," ... ")),(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,Ll))),128)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",Il,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,Bl)),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($l),{class:"icon paginator-left"})])],8,Rl)])):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))}},Vl={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 Gl(t,e){return r.openBlock(),r.createElementBlock("svg",Vl,e[0]||(e[0]=[r.createElementVNode("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"},null,-1),r.createElementVNode("line",{x1:"8",y1:"21",x2:"16",y2:"21"},null,-1),r.createElementVNode("line",{x1:"12",y1:"17",x2:"12",y2:"21"},null,-1)]))}const Fl={render:Gl},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 Hl(t,e){return r.openBlock(),r.createElementBlock("svg",jl,e[0]||(e[0]=[r.createElementVNode("circle",{cx:"12",cy:"12",r:"1"},null,-1),r.createElementVNode("circle",{cx:"12",cy:"5",r:"1"},null,-1),r.createElementVNode("circle",{cx:"12",cy:"19",r:"1"},null,-1)]))}const Yl={render:Hl},Ul={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function Wl(t,e){return r.openBlock(),r.createElementBlock("svg",Ul,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 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:"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 Xl={render:Zl};function Jl(t=[]){return{result:[...t],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.isFiltered?this.filteredRowsLength:t.length,currentItems:this.currentItems}},filter(e,n=[],o=!1){if(e){const a=n.map(l=>o?Xt(Ce(l),Ut(e)):Xt(ut(l),jn,ma(jn(e)))),i=Vo(l=>l.name?Sa(ga("name"),wa(",",""),l):l),s=$e(Xt(i,zo([...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=fa(Ut(I),Cn(Me),Cn(na));return this.result=Fn(e.orders.map(o=>In(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:`${e.lastName} ${e.firstName}`})),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=da(e=>yt(e.gameDate,"YYYY-MM-DD"))(this.result),this}}}const Ql=(t,...e)=>dt(In(...e))(t);function tc(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 ec(t){var e;return{...t,...((e=t==null?void 0:t.team)==null?void 0:e.id)&&{teamName:t.team.longName}}}function nc(t="",e="hu"){return n=>({...n,gameDateDate:yt(n.gameDate,"L dddd",t,e),gameDateTime:yt(n.gameDate,"HH:mm",t,e)})}function rc(t){return e=>({...e,gameResult:hc(e)})}function oc(t){return{...t,opponent:pc(t)}}function ac(t){return{...t,resultType:gc(t)}}function ic(t){return{...t,rowClasses:t.optional?"is-optional":""}}function sc(t=[]){return e=>{var n;return{...e,[t]:(n=e[t])==null?void 0:n.toUpperCase()}}}function lc(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Sec`]=Ge(e[n]):e),e)}function cc(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Min`]=wr(e[n]):e),e)}function uc(t=[]){return e=>(t.map(n=>e[`${n}Min`]=Sr(e[n])),e)}function dc(t){var e,n;return{...t,periodResults:((n=(e=t.result)==null?void 0:e.match(/\(.*?\)/))==null?void 0:n[0])??""}}const fc=Fn([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Me(ut("id")),Me(ut("gameId"))]),mc=Oa((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function pc(t){var e;return[t.isHomeGame?null:"@",(e=t.opponent)==null?void 0:e.shortName].join(" ")}function hc(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 gc(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 yc(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("-")}})}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:{}}},bc={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 Tc(t,e={}){if(e.externalGameUrl)return e.externalGameUrl;const n=sn("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(gt(n||cn,e))}function Sc(t,e={}){const n=sn("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(gt(n||fn,e))}function wc(t,e={}){const n=sn("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(gt(n||dn,e))}const Oc=(t,e="1x1")=>`${mn}/flag:${t}-${e}.svg`;function Ac(){window.scrollTo(0,0)}const kc={class:"is-team-name-long"},_c={class:"is-team-name-short"},xc={class:"is-team-name-long"},Pc={class:"is-team-name-short"},Ec={key:0,class:"is-text-dark"},Nc=["href","target"],$c={key:0,class:"label"},Dc={key:1,class:"label"},Mc={key:2,class:"label"},vc={key:1},Cc=["onClick","onFocus","onBlur"],Lc={class:"is-dropdown-menu"},Ic=["href","target"],Bc={key:0},Rc=["href"],zc={__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(yn,r.computed(()=>e.hideColumns),r.computed(()=>({offsetName:e.offsetName})));Fa(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",kc,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",xc,r.toDisplayString(d.awayTeam.longName),1),r.createElementVNode("span",Pc,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",Ec,"-:-")):(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,Nc))]),"cell-gameResultType":r.withCtx(({row:d})=>[d.isOvertime?(r.openBlock(),r.createElementBlock("span",$c,r.toDisplayString(r.unref(s)("common.overtimeShort")),1)):r.createCommentVNode("",!0),d.isShootout?(r.openBlock(),r.createElementBlock("span",Dc,r.toDisplayString(r.unref(s)("common.shootoutShort")),1)):r.createCommentVNode("",!0),d.seriesStandings?(r.openBlock(),r.createElementBlock("span",Mc,r.toDisplayString(d.seriesStandings),1)):r.createCommentVNode("",!0)]),"cell-broadcast":r.withCtx(({row:d})=>[d.broadcast?(r.openBlock(),r.createBlock(r.unref(Fl),{key:0})):(r.openBlock(),r.createElementBlock("span",vc))]),"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(Yl))],40,Cc)]),content:r.withCtx(()=>[r.createElementVNode("ul",Lc,[r.createElementVNode("li",null,[r.createElementVNode("a",{href:t.externalGameResolver(d.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[r.createVNode(r.unref(ql),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.report")),1)],8,Ic)]),d.video?(r.openBlock(),r.createElementBlock("li",Bc,[r.createElementVNode("a",{href:d.video,class:"is-dropdown-item",target:"_blank"},[r.createVNode(r.unref(Xl),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.video")),1)],8,Rc)])):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))}},Vc={class:"g-row g-gap-normal is-mb-5"},Gc={for:"season",class:"label"},Fc=["value"],jc={key:0},Hc=["onClick"],Yc={__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",Vc,[r.createElementVNode("div",null,[r.createElementVNode("label",Gc,r.toDisplayString(r.unref(a)("selection.season")),1),r.createVNode(Pr,{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,Fc))),128))]),_:1},8,["modelValue"])]),r.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",jc,[(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,Hc))),128))]))],64))}},Uc={class:"is-portrait-image"},Wc=["href"],qc={class:"is-team-name-long"},Kc={class:"is-team-name-short"},Zc={class:"is-team-name-long"},Xc={key:0},Jc={class:"is-team-name-short"},Qc={key:0},tu={class:"is-team-name-long"},eu={class:"is-team-name-short"},nu={class:"is-team-name-long"},ru={class:"is-team-name-short"},ou=["href"],au={key:0,class:"is-text-dark"},iu=["href","target"],su={key:0,class:"label"},lu={key:1,class:"label"},cu={key:2,class:"label"},uu={__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",Uc,[(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",qc,r.toDisplayString((m=p.team)==null?void 0:m.longName),1),r.createElementVNode("span",Kc,r.toDisplayString((h=p.team)==null?void 0:h.shortName),1)],8,Wc)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createElementVNode("span",Zc,[r.createTextVNode(r.toDisplayString((S=p.team)==null?void 0:S.longName)+" ",1),p.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Xc,y[0]||(y[0]=[r.createElementVNode("sup",null,"*",-1)]))):r.createCommentVNode("",!0)]),r.createElementVNode("span",Jc,[r.createTextVNode(r.toDisplayString((_=p.team)==null?void 0:_.shortName)+" ",1),p.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Qc,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",tu,r.toDisplayString((m=p.homeTeam)==null?void 0:m.longName),1),r.createElementVNode("span",eu,r.toDisplayString((h=p.homeTeam)==null?void 0:h.shortName),1)]}),"cell-awayTeamName":r.withCtx(({row:p})=>{var m,h;return[r.createElementVNode("span",nu,r.toDisplayString((m=p.awayTeam)==null?void 0:m.longName),1),r.createElementVNode("span",ru,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",au,"-:-")):(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,iu))]),"cell-gameResultType":r.withCtx(({row:p})=>[p.isOvertime?(r.openBlock(),r.createElementBlock("span",su,r.toDisplayString(r.unref(l)("common.overtimeShort")),1)):r.createCommentVNode("",!0),p.isShootout?(r.openBlock(),r.createElementBlock("span",lu,r.toDisplayString(r.unref(l)("common.shootoutShort")),1)):r.createCommentVNode("",!0),p.seriesStandings?(r.openBlock(),r.createElementBlock("span",cu,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,ou)]),key:"0"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},du={class:"timezone-selector"},fu=["onClick"],mu={__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=Tr(),l=r.computed(()=>Array.from(hn.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",du,[r.createVNode(r.unref(qn),{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,fu))),128))]))}},pu={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:""}},hu={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},gu={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},yu={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}};function Ur({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 bu={install:(t,e={})=>Ur({app:t,...e})};return T.AVAILABLE_TIMEZONES_BY_COUNTRY=hn,T.AdditionalStandingsText=us,T.BaseSelect=Pr,T.COLUMNS_FIELD_PLAYERS=Xr,T.COLUMNS_FIELD_PLAYERS_PENALTY=Jr,T.COLUMNS_FIELD_PLAYERS_TOI=Qr,T.COLUMNS_GOALIES=to,T.COLUMNS_PLAYERS_NATIONAL=eo,T.COLUMNS_SCHEDULE=yn,T.COLUMNS_SCORING_EFFICIENCY=io,T.COLUMNS_STANDINGS_P_2=Kr,T.COLUMNS_STANDINGS_P_3=qr,T.COLUMNS_STANDINGS_SHORT=Zr,T.COLUMNS_TEAMS_FAIRPLAY=ro,T.COLUMNS_TEAMS_PENALTY_KILLING=oo,T.COLUMNS_TEAMS_POWERPLAY=ao,T.COLUMNS_TEAM_ATTENDANCE=no,T.DEFAULT_EXTERNAL_GAME_URL=cn,T.DEFAULT_EXTERNAL_PLAYER_URL=dn,T.DEFAULT_EXTERNAL_TEAM_URL=fn,T.DEFAULT_PORTRAIT_IMAGE_URL=un,T.DataTable=nn,T.ErrorNotice=pl,T.ErrorProvider=hl,T.FLAG_BASE_URL=mn,T.FetchMoreObserver=ho,T.FloatingPanel=en,T.I18NProvider=wl,T.Image=wt,T.InvalidSeasonName=bc,T.LAZY_LOADING_STATE_DELAY=gn,T.LOCALE_FOR_LANG=pn,T.LoadingIndicator=rn,T.Paginator=zl,T.REFRESH_DELAY=Wr,T.ResponsiveTable=on,T.SORT_STATE_ASCEND=I,T.SORT_STATE_DESCEND=b,T.SORT_STATE_ORIGINAL=ct,T.ScheduleTable=zc,T.SeasonSelector=Yc,T.StatisticsTable=uu,T.TimezoneSelector=mu,T.UndefinedColumn=Ft,T.VBR_API_BASE_URL=ln,T.WidgetError=an,T.addDays=Wi,T.appendTo=Yr,T.baseProps=pu,T.convert=Jl,T.convertGamePeriodResults=dc,T.convertMinToMinSec=wr,T.convertMinToSec=Ge,T.convertPhaseName=yc,T.convertSecToMin=Sr,T.convertTimes=lc,T.convertTimesMinToMinSec=cc,T.convertTimesSecToMin=uc,T.createConfig=Ur,T.createI18n=Un,T.currentWeek=Hi,T.currentWeekStartEnd=Yi,T.default=bu,T.endOfMonth=Ki,T.externalGameLinkResolver=Tc,T.externalPlayerLinkResolver=wc,T.externalTeamLinkResolver=Sc,T.fetchVBRData=Qn,T.flagResolver=Oc,T.format=yt,T.gameDateTime=nc,T.gameProps=yu,T.gameResult=rc,T.getLocalTimezone=Tr,T.i18n=qn,T.isAfter=Fi,T.isBefore=Gi,T.isBetween=Or,T.isSame=zi,T.isSameOrBefore=Fe,T.isToday=ji,T.localeSort=mc,T.max=Xi,T.min=Zi,T.offsetName=Bt,T.playerName=tc,T.playerStatsProps=gu,T.rawConvert=Ql,T.scheduleOptionalRowClass=ic,T.scrollToTop=Ac,T.sortByDomNode=tl,T.sortGames=fc,T.startOfMonth=qi,T.subtractDays=Ui,T.teamName=ec,T.teamOpponent=oc,T.teamResultType=ac,T.teamStatsProps=hu,T.templateReplacer=gt,T.toKebabCase=Zn,T.upperCase=sc,T.useAdditionalText=Hn,T.useColumns=Ie,T.useError=Be,T.useErrorProvider=Jn,T.useI18n=ot,T.useLazyLoadingState=ar,T.usePage=Ji,T.useScrollToGameDate=ts,T.useServices=es,T.useSort=ss,T.useVisibilityChange=ls,T.validateColumnsName=Kn,T.yearToNow=Vi,Object.defineProperties(T,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),T}({},Vue);
|
package/dist/index.iife.js.br
CHANGED
|
Binary file
|
package/dist/index.iife.js.gz
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.20.
|
|
3
|
+
* version: v2.20.1 - 11/03/2025, 18:23:01
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
8
|
import { COLUMNS_FIELD_PLAYERS as m, COLUMNS_FIELD_PLAYERS_PENALTY as N, COLUMNS_FIELD_PLAYERS_TOI as f, COLUMNS_GOALIES as d, COLUMNS_PLAYERS_NATIONAL as p, COLUMNS_SCHEDULE as u, COLUMNS_SCORING_EFFICIENCY as R, COLUMNS_STANDINGS_P_2 as O, COLUMNS_STANDINGS_P_3 as I, COLUMNS_STANDINGS_SHORT as g, COLUMNS_TEAMS_FAIRPLAY as C, COLUMNS_TEAMS_PENALTY_KILLING as M, COLUMNS_TEAMS_POWERPLAY as y, COLUMNS_TEAM_ATTENDANCE as P } from "./columns.js";
|
|
9
|
-
import { _ as U, a as D, b as x, c as h, d as F, e as G, f as b, I as B, g as Y, h as k, i as w, j as W, k as V, l as j, m as z, n as H } from "./TimezoneSelector-
|
|
9
|
+
import { _ as U, a as D, b as x, c as h, d as F, e as G, f as b, I as B, g as Y, h as k, i as w, j as W, k as V, l as j, m as z, n as H } from "./TimezoneSelector-BKF4HTHI.js";
|
|
10
10
|
import { d as X, i as Z, u as q, a as J, c as Q, b as $, e as ee, f as ae, g as se, v as te } from "./useSort-C4-l1qY2.js";
|
|
11
11
|
import { fetchVBRData as oe, usePage as ne, useScrollToGameDate as ie, useServices as le, useVisibilityChange as Se } from "./composables.js";
|
|
12
12
|
import "vue";
|
package/dist/useSort-C4-l1qY2.js
CHANGED
package/dist/utils.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mjsz-vbr-elements/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.20.
|
|
4
|
+
"version": "2.20.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Data visualization for MJSZ VBR",
|
|
7
7
|
"author": "Ákos Stegner <akos.stegner@gmail.com>",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dayjs": "^1.11.13",
|
|
40
40
|
"ramda": "^0.30.1",
|
|
41
41
|
"vue": "^3.5.13",
|
|
42
|
-
"@mjsz-vbr-elements/shared": "^2.20.
|
|
42
|
+
"@mjsz-vbr-elements/shared": "^2.20.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@vitejs/plugin-vue": "^5.2.1",
|