@mjsz-vbr-elements/core 2.26.3 → 2.26.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.26.3 - 04/09/2025, 11:13:22
3
+ * version: v2.26.5 - 04/09/2025, 11:26:28
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
package/dist/columns.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.26.3 - 04/09/2025, 11:13:22
3
+ * version: v2.26.5 - 04/09/2025, 11:26:28
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.26.3 - 04/09/2025, 11:13:22
3
+ * version: v2.26.5 - 04/09/2025, 11:26:28
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.26.3 - 04/09/2025, 11:13:22
3
+ * version: v2.26.5 - 04/09/2025, 11:26:28
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.26.3 - 04/09/2025, 11:13:22
3
+ * version: v2.26.5 - 04/09/2025, 11:26:28
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.26.3 - 04/09/2025, 11:13:22
3
+ * version: v2.26.5 - 04/09/2025, 11:26:28
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.26.3 - 04/09/2025, 11:13:22
3
+ * version: v2.26.5 - 04/09/2025, 11:26:28
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.26.3 - 04/09/2025, 11:13:22
3
+ * version: v2.26.5 - 04/09/2025, 11:26:30
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 Oe="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 He(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 _r;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(_r||(_r={}));var cs={type:"xstate.init"};function me(t){return t===void 0?[]:[].concat(t)}function xr(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 Ye(t){return function(e){return t===e}}function us(t){return typeof t=="string"?{type:t}:t}function Pr(t,e){return{value:t,context:e,actions:[],changed:!1,matches:Ye(t)}}function Er(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 ds(t,e){e===void 0&&(e={});var n=He(Er(me(t.states[t.initial].entry).map(function(s){return xr(s,e.actions)}),t.context,cs),2),o=n[0],a=n[1],i={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:Ye(t.initial)},transition:function(s,l){var u,c,d=typeof s=="string"?{value:s,context:t.context}:s,f=d.value,g=d.context,p=us(l),m=t.states[f];if(m.on){var y=me(m.on[p.type]);"*"in m.on&&y.push.apply(y,function(A,w,v){if(arguments.length===2)for(var $,R=0,U=w.length;R<U;R++)!$&&R in w||($||($=Array.prototype.slice.call(w,0,R)),$[R]=w[R]);return A.concat($||Array.prototype.slice.call(w))}([],He(me(m.on["*"])),!1));try{for(var h=function(A){var w=typeof Symbol=="function"&&Symbol.iterator,v=w&&A[w],$=0;if(v)return v.call(A);if(A&&typeof A.length=="number")return{next:function(){return A&&$>=A.length&&(A=void 0),{value:A&&A[$++],done:!A}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")}(y),S=h.next();!S.done;S=h.next()){var k=S.value;if(k===void 0)return Pr(f,g);var x=typeof k=="string"?{target:k}:k,E=x.target,N=x.actions,C=N===void 0?[]:N,B=x.cond,F=B===void 0?function(){return!0}:B,j=E===void 0,L=E??f,M=t.states[L];if(F(g,p)){var W=He(Er((j?me(C):[].concat(m.exit,C,M.entry).filter(function(A){return A})).map(function(A){return xr(A,i._options.actions)}),g,p),3),rt=W[0],P=W[1],_=W[2],O=E??f;return{value:O,context:P,actions:rt,changed:E!==f||rt.length>0||_,matches:Ye(O)}}}}catch(A){u={error:A}}finally{try{S&&!S.done&&(c=h.return)&&c.call(h)}finally{if(u)throw u.error}}}return Pr(f,g)}};return i}const fs=ds({id:"sort",initial:ct,states:{[ct]:{on:{DIRECTION1:b,DIRECTION2:I}},[b]:{on:{DIRECTION1:I,DIRECTION2:ct}},[I]:{on:{DIRECTION1:ct,DIRECTION2:b}}}});function ms(t,e){const n=e===I?"DIRECTION2":"DIRECTION1";return fs.transition(t,n).value}function ps(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:ms(o.orders[c].direction,u.direction)}));o.sortTarget=i,o.orders=l}}}function hs(t=!1,e=K,n=K){const o=Ja();r.watch(o,a=>{if(r.unref(t)){if(a==="visible")return e();n()}})}const gs=["textContent"],ys={__name:"AdditionalStandingsText",props:{rows:{type:Array,default:()=>[]},additionalKey:{type:String,required:!0}},setup(t){const e=t,n=r.toRef(e,"rows"),{t:o,locale:a}=at(),{isVisible:i,text:s}=Yn(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,gs)):r.createCommentVNode("",!0)}},Nr={__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]])}},bs={"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 Ts(t,e){return r.openBlock(),r.createElementBlock("svg",bs,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 vr={render:Ts},Ss={"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 ws(t,e){return r.openBlock(),r.createElementBlock("svg",Ss,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 Os={render:ws},As={"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 ks(t,e){return r.openBlock(),r.createElementBlock("svg",As,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 _s={render:ks},Pt=Math.min,Tt=Math.max,pe=Math.round,he=Math.floor,it=t=>({x:t,y:t}),xs={left:"right",right:"left",bottom:"top",top:"bottom"},Ps={start:"end",end:"start"};function We(t,e,n){return Tt(t,Pt(e,n))}function Rt(t,e){return typeof t=="function"?t(e):t}function St(t){return t.split("-")[0]}function zt(t){return t.split("-")[1]}function $r(t){return t==="x"?"y":"x"}function qe(t){return t==="y"?"height":"width"}const Es=new Set(["top","bottom"]);function mt(t){return Es.has(St(t))?"y":"x"}function Ke(t){return $r(mt(t))}function Ns(t,e,n){n===void 0&&(n=!1);const o=zt(t),a=Ke(t),i=qe(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 vs(t){const e=ge(t);return[Ze(t),e,Ze(e)]}function Ze(t){return t.replace(/start|end/g,e=>Ps[e])}const Mr=["left","right"],Dr=["right","left"],$s=["top","bottom"],Ms=["bottom","top"];function Ds(t,e,n){switch(t){case"top":case"bottom":return n?e?Dr:Mr:e?Mr:Dr;case"left":case"right":return e?$s:Ms;default:return[]}}function Cs(t,e,n,o){const a=zt(t);let i=Ds(St(t),n==="start",o);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(Ze)))),i}function ge(t){return t.replace(/left|right|bottom|top/g,e=>xs[e])}function Ls(t){return{top:0,right:0,bottom:0,left:0,...t}}function Cr(t){return typeof t!="number"?Ls(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 Lr(t,e,n){let{reference:o,floating:a}=t;const i=mt(e),s=Ke(e),l=qe(s),u=St(e),c=i==="y",d=o.x+o.width/2-a.width/2,f=o.y+o.height/2-a.height/2,g=o[l]/2-a[l]/2;let p;switch(u){case"top":p={x:d,y:o.y-a.height};break;case"bottom":p={x:d,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:f};break;case"left":p={x:o.x-a.width,y:f};break;default:p={x:o.x,y:o.y}}switch(zt(e)){case"start":p[s]-=g*(n&&c?-1:1);break;case"end":p[s]+=g*(n&&c?-1:1);break}return p}const Is=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}=Lr(c,o,u),g=o,p={},m=0;for(let y=0;y<l.length;y++){const{name:h,fn:S}=l[y],{x:k,y:x,data:E,reset:N}=await S({x:d,y:f,initialPlacement:o,placement:g,strategy:a,middlewareData:p,rects:c,platform:s,elements:{reference:t,floating:e}});d=k??d,f=x??f,p={...p,[h]:{...p[h],...E}},N&&m<=50&&(m++,typeof N=="object"&&(N.placement&&(g=N.placement),N.rects&&(c=N.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):N.rects),{x:d,y:f}=Lr(c,g,u)),y=-1)}return{x:d,y:f,placement:g,strategy:a,middlewareData:p}};async function Ir(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:g=!1,padding:p=0}=Rt(e,t),m=Cr(p),h=l[g?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})),k=f==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}: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:k,offsetParent:x,strategy:u}):k);return{top:(S.top-N.top+m.top)/E.y,bottom:(N.bottom-S.bottom+m.bottom)/E.y,left:(S.left-N.left+m.left)/E.x,right:(N.right-S.right+m.right)/E.x}}const Bs=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=Cr(d),g={x:n,y:o},p=Ke(a),m=qe(p),y=await s.getDimensions(c),h=p==="y",S=h?"top":"left",k=h?"bottom":"right",x=h?"clientHeight":"clientWidth",E=i.reference[m]+i.reference[p]-g[p]-i.floating[m],N=g[p]-i.reference[p],C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let B=C?C[x]:0;(!B||!await(s.isElement==null?void 0:s.isElement(C)))&&(B=l.floating[x]||i.floating[m]);const F=E/2-N/2,j=B/2-y[m]/2-1,L=Pt(f[S],j),M=Pt(f[k],j),W=L,rt=B-y[m]-M,P=B/2-y[m]/2+F,_=We(W,P,rt),O=!u.arrow&&zt(a)!=null&&P!==_&&i.reference[m]/2-(P<W?L:M)-y[m]/2<0,A=O?P<W?P-W:P-rt:0;return{[p]:g[p]+A,data:{[p]:_,centerOffset:P-_-A,...O&&{alignmentOffset:A}},reset:O}}}),Rs=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:g,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:y=!0,...h}=Rt(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const S=St(a),k=mt(l),x=St(l)===l,E=await(u.isRTL==null?void 0:u.isRTL(c.floating)),N=g||(x||!y?[ge(l)]:vs(l)),C=m!=="none";!g&&C&&N.push(...Cs(l,y,m,E));const B=[l,...N],F=await Ir(e,h),j=[];let L=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&j.push(F[S]),f){const P=Ns(a,s,E);j.push(F[P[0]],F[P[1]])}if(L=[...L,{placement:a,overflows:j}],!j.every(P=>P<=0)){var M,W;const P=(((M=i.flip)==null?void 0:M.index)||0)+1,_=B[P];if(_&&(!(f==="alignment"?k!==mt(_):!1)||L.every(w=>w.overflows[0]>0&&mt(w.placement)===k)))return{data:{index:P,overflows:L},reset:{placement:_}};let O=(W=L.filter(A=>A.overflows[0]<=0).sort((A,w)=>A.overflows[1]-w.overflows[1])[0])==null?void 0:W.placement;if(!O)switch(p){case"bestFit":{var rt;const A=(rt=L.filter(w=>{if(C){const v=mt(w.placement);return v===k||v==="y"}return!0}).map(w=>[w.placement,w.overflows.filter(v=>v>0).reduce((v,$)=>v+$,0)]).sort((w,v)=>w[1]-v[1])[0])==null?void 0:rt[0];A&&(O=A);break}case"initialPlacement":O=l;break}if(a!==O)return{reset:{placement:O}}}return{}}}},zs=new Set(["left","top"]);async function Vs(t,e){const{placement:n,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=St(n),l=zt(n),u=mt(n)==="y",c=zs.has(s)?-1:1,d=i&&u?-1:1,f=Rt(e,t);let{mainAxis:g,crossAxis:p,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof m=="number"&&(p=l==="end"?m*-1:m),u?{x:p*d,y:g*c}:{x:g*c,y:p*d}}const Gs=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 Vs(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}}}}},Fs=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:k}=h;return{x:S,y:k}}},...u}=Rt(t,e),c={x:n,y:o},d=await Ir(e,u),f=mt(St(a)),g=$r(f);let p=c[g],m=c[f];if(i){const h=g==="y"?"top":"left",S=g==="y"?"bottom":"right",k=p+d[h],x=p-d[S];p=We(k,p,x)}if(s){const h=f==="y"?"top":"left",S=f==="y"?"bottom":"right",k=m+d[h],x=m-d[S];m=We(k,m,x)}const y=l.fn({...e,[g]:p,[f]:m});return{...y,data:{x:y.x-n,y:y.y-o,enabled:{[g]:i,[f]:s}}}}}};function be(){return typeof window<"u"}function Et(t){return Br(t)?(t.nodeName||"").toLowerCase():"#document"}function X(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function st(t){var e;return(e=(Br(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Br(t){return be()?t instanceof Node||t instanceof X(t).Node:!1}function et(t){return be()?t instanceof Element||t instanceof X(t).Element:!1}function lt(t){return be()?t instanceof HTMLElement||t instanceof X(t).HTMLElement:!1}function Rr(t){return!be()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof X(t).ShadowRoot}const js=new Set(["inline","contents"]);function Vt(t){const{overflow:e,overflowX:n,overflowY:o,display:a}=nt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!js.has(a)}const Us=new Set(["table","td","th"]);function Hs(t){return Us.has(Et(t))}const Ys=[":popover-open",":modal"];function Te(t){return Ys.some(e=>{try{return t.matches(e)}catch{return!1}})}const Ws=["transform","translate","scale","rotate","perspective"],qs=["transform","translate","scale","rotate","perspective","filter"],Ks=["paint","layout","strict","content"];function Xe(t){const e=Je(),n=et(t)?nt(t):t;return Ws.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)||qs.some(o=>(n.willChange||"").includes(o))||Ks.some(o=>(n.contain||"").includes(o))}function Zs(t){let e=pt(t);for(;lt(e)&&!Nt(e);){if(Xe(e))return e;if(Te(e))return null;e=pt(e)}return null}function Je(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Xs=new Set(["html","body","#document"]);function Nt(t){return Xs.has(Et(t))}function nt(t){return X(t).getComputedStyle(t)}function Se(t){return et(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function pt(t){if(Et(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Rr(t)&&t.host||st(t);return Rr(e)?e.host:e}function zr(t){const e=pt(t);return Nt(e)?t.ownerDocument?t.ownerDocument.body:t.body:lt(e)&&Vt(e)?e:zr(e)}function Gt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=zr(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=X(a);if(i){const l=Qe(s);return e.concat(s,s.visualViewport||[],Vt(a)?a:[],l&&n?Gt(l):[])}return e.concat(a,Gt(a,[],n))}function Qe(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Vr(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=pe(n)!==i||pe(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function tn(t){return et(t)?t:t.contextElement}function vt(t){const e=tn(t);if(!lt(e))return it(1);const n=e.getBoundingClientRect(),{width:o,height:a,$:i}=Vr(e);let s=(i?pe(n.width):n.width)/o,l=(i?pe(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Js=it(0);function Gr(t){const e=X(t);return!Je()||!e.visualViewport?Js:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Qs(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==X(t)?!1:e}function wt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),i=tn(t);let s=it(1);e&&(o?et(o)&&(s=vt(o)):s=vt(t));const l=Qs(i,n,o)?Gr(i):it(0);let u=(a.left+l.x)/s.x,c=(a.top+l.y)/s.y,d=a.width/s.x,f=a.height/s.y;if(i){const g=X(i),p=o&&et(o)?X(o):o;let m=g,y=Qe(m);for(;y&&o&&p!==m;){const h=vt(y),S=y.getBoundingClientRect(),k=nt(y),x=S.left+(y.clientLeft+parseFloat(k.paddingLeft))*h.x,E=S.top+(y.clientTop+parseFloat(k.paddingTop))*h.y;u*=h.x,c*=h.y,d*=h.x,f*=h.y,u+=x,c+=E,m=X(y),y=Qe(m)}}return ye({width:d,height:f,x:u,y:c})}function en(t,e){const n=Se(t).scrollLeft;return e?e.left+n:wt(st(t)).left+n}function Fr(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),a=o.left+e.scrollLeft-(n?0:en(t,o)),i=o.top+e.scrollTop;return{x:a,y:i}}function tl(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 p=wt(o);c=vt(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}const g=s&&!f&&!i?Fr(s,u,!0):it(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+g.x,y:n.y*c.y-u.scrollTop*c.y+d.y+g.y}}function el(t){return Array.from(t.getClientRects())}function nl(t){const e=st(t),n=Se(t),o=t.ownerDocument.body,a=Tt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=Tt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+en(t);const l=-n.scrollTop;return nt(o).direction==="rtl"&&(s+=Tt(e.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:l}}function rl(t,e){const n=X(t),o=st(t),a=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,l=0,u=0;if(a){i=a.width,s=a.height;const c=Je();(!c||c&&e==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:i,height:s,x:l,y:u}}const ol=new Set(["absolute","fixed"]);function al(t,e){const n=wt(t,!0,e==="fixed"),o=n.top+t.clientTop,a=n.left+t.clientLeft,i=lt(t)?vt(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 jr(t,e,n){let o;if(e==="viewport")o=rl(t,n);else if(e==="document")o=nl(st(t));else if(et(e))o=al(e,n);else{const a=Gr(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return ye(o)}function Ur(t,e){const n=pt(t);return n===e||!et(n)||Nt(n)?!1:nt(n).position==="fixed"||Ur(n,e)}function il(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?pt(t):t;for(;et(s)&&!Nt(s);){const l=nt(s),u=Xe(s);!u&&l.position==="fixed"&&(a=null),(i?!u&&!a:!u&&l.position==="static"&&!!a&&ol.has(a.position)||Vt(s)&&!u&&Ur(t,s))?o=o.filter(d=>d!==s):a=l,s=pt(s)}return e.set(t,o),o}function sl(t){let{element:e,boundary:n,rootBoundary:o,strategy:a}=t;const s=[...n==="clippingAncestors"?Te(e)?[]:il(e,this._c):[].concat(n),o],l=s[0],u=s.reduce((c,d)=>{const f=jr(e,d,a);return c.top=Tt(f.top,c.top),c.right=Pt(f.right,c.right),c.bottom=Pt(f.bottom,c.bottom),c.left=Tt(f.left,c.left),c},jr(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function ll(t){const{width:e,height:n}=Vr(t);return{width:e,height:n}}function cl(t,e,n){const o=lt(e),a=st(e),i=n==="fixed",s=wt(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const u=it(0);function c(){u.x=en(a)}if(o||!o&&!i)if((Et(e)!=="body"||Vt(a))&&(l=Se(e)),o){const p=wt(e,!0,i,e);u.x=p.x+e.clientLeft,u.y=p.y+e.clientTop}else a&&c();i&&!o&&a&&c();const d=a&&!o&&!i?Fr(a,l):it(0),f=s.left+l.scrollLeft-u.x-d.x,g=s.top+l.scrollTop-u.y-d.y;return{x:f,y:g,width:s.width,height:s.height}}function nn(t){return nt(t).position==="static"}function Hr(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 Yr(t,e){const n=X(t);if(Te(t))return n;if(!lt(t)){let a=pt(t);for(;a&&!Nt(a);){if(et(a)&&!nn(a))return a;a=pt(a)}return n}let o=Hr(t,e);for(;o&&Hs(o)&&nn(o);)o=Hr(o,e);return o&&Nt(o)&&nn(o)&&!Xe(o)?n:o||Zs(t)||n}const ul=async function(t){const e=this.getOffsetParent||Yr,n=this.getDimensions,o=await n(t.floating);return{reference:cl(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function dl(t){return nt(t).direction==="rtl"}const fl={convertOffsetParentRelativeRectToViewportRelativeRect:tl,getDocumentElement:st,getClippingRect:sl,getOffsetParent:Yr,getElementRects:ul,getClientRects:el,getDimensions:ll,getScale:vt,isElement:et,isRTL:dl};function Wr(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function ml(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:g,height:p}=c;if(l||e(),!g||!p)return;const m=he(f),y=he(a.clientWidth-(d+g)),h=he(a.clientHeight-(f+p)),S=he(d),x={rootMargin:-m+"px "+-y+"px "+-h+"px "+-S+"px",threshold:Tt(0,Pt(1,u))||1};let E=!0;function N(C){const B=C[0].intersectionRatio;if(B!==u){if(!E)return s();B?s(!1,B):o=setTimeout(()=>{s(!1,1e-7)},1e3)}B===1&&!Wr(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 pl(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=tn(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?ml(c,n):null;let g=-1,p=null;s&&(p=new ResizeObserver(S=>{let[k]=S;k&&k.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(e)})),n()}),c&&!u&&p.observe(c),p.observe(e));let m,y=u?wt(t):null;u&&h();function h(){const S=wt(t);y&&!Wr(y,S)&&n(),y=S,m=requestAnimationFrame(h)}return n(),()=>{var S;d.forEach(k=>{a&&k.removeEventListener("scroll",n),i&&k.removeEventListener("resize",n)}),f?.(),(S=p)==null||S.disconnect(),p=null,u&&cancelAnimationFrame(m)}}const hl=Gs,gl=Fs,yl=Rs,qr=Bs,bl=(t,e,n)=>{const o=new Map,a={platform:fl,...n},i={...a.platform,_c:o};return Is(t,e,{...a,platform:i})};function Kr(t,e="body"){if(!t)return;if(typeof e!="string"){e?.append(t);return}document.querySelector(e)?.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 Sl({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),g=r.ref(n??"absolute"),p=r.ref(null),m=()=>{!i.value||!s.value||bl(i.value,s.value,{middleware:t,placement:e,strategy:n}).then(h=>{l.value=h.x,u.value=h.y,g.value=h.strategy,c.value=h.middlewareData.arrow.x,d.value=h.middlewareData.arrow.y,f.value=h.placement})};r.watch(()=>({reference:r.unref(i),floating:r.unref(s),append:r.unref(o)}),({floating:h,append:S})=>{S&&Kr(h,S),m()},{flush:"post"}),r.watch(a,h=>{if(!(!i.value||!s.value)){if(!h)return y();p.value=pl(i.value,s.value,m,{})}},{flush:"post"});function y(){p.value?.(),p.value=null}return{x:l,y:u,arrowX:c,arrowY:d,placement:f,reference:i,floating:s,strategy:g,update:m}}function wl(t){const{element:e,padding:n}=t;return{name:"arrow",options:t,fn(o){return r.isRef(e)?e.value!=null?qr({element:e.value,padding:n}).fn(o):{}:e?qr({element:e,padding:n}).fn(o):{}}}}const Ol=["data-placement"],rn={__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}=Sl({placement:e.placement,middleware:[yl(),gl({padding:5}),hl(e.offset),wl({element:o,padding:5})],append:r.computed(()=>e.appendTo),enabled:n});function g(){e.disabled||n.value||(n.value=!0)}function p(h){n.value&&h&&(n.value=!1)}function m(h){c.value=h}const y={mouseenter:g,mouseleave:p,focus:g,blur:p};return Xa(d,h=>{c.value?.contains(h.target)||p()}),(h,S)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.renderSlot(h.$slots,"default",{setRef:m,show:g,hide:p,events:y}),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:p},()=>[r.createTextVNode(r.toDisplayString(t.content),1)]),t.isArrowVisible?(r.openBlock(),r.createElementBlock("div",{key:0,ref_key:"arrowRef",ref:o,class:"is-arrow",style:r.normalizeStyle({position:r.unref(f),top:r.unref(l)?`${r.unref(l)}px`:"",left:r.unref(s)?`${r.unref(s)}px`:""})},null,4)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0)]),_:3})],12,Ol)],64))}},Al={class:"table"},kl=["tabindex","onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown"],_l={key:0},xl=["colspan"],Pl={key:1},El=["colspan"],on={__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=sr(a,{delay:yn}),{t:l}=at(),u=r.computed(()=>n.columns),c=r.computed(()=>Object.keys(n.columns).length);function d(f,g){f.sortOrders&&o("sort",{target:g,orders:f.sortOrders})}return(f,g)=>(r.openBlock(),r.createElementBlock("table",Al,[r.createElementVNode("thead",null,[r.createElementVNode("tr",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(p,m)=>(r.openBlock(),r.createBlock(rn,{key:m,placement:"top",content:p.tooltip,disabled:!p.tooltip,"append-to":r.unref(i)},{default:r.withCtx(({setRef:y,show:h,hide:S})=>[r.createElementVNode("th",{ref_for:!0,ref:y,class:r.normalizeClass([[p.class],{"is-active":m===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ct),"is-sortable":p.sortOrders,"is-desc":m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b),"is-asc":m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(I)}]),tabindex:p.sortOrders?0:-1,role:"button",onMouseenter:h,onMouseleave:S,onFocus:h,onBlur:S,onClick:k=>d(p,m),onKeydown:[r.withKeys(r.withModifiers(k=>d(p,m),["prevent"]),["space"]),r.withKeys(r.withModifiers(k=>d(p,m),["prevent"]),["enter"])]},[r.renderSlot(f.$slots,`header-${m}`,{column:p},()=>[r.createTextVNode(r.toDisplayString(p.label),1)]),p.sortOrders&&m!==t.sort.sortTarget?(r.openBlock(),r.createBlock(r.unref(vr),{key:0,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(ct)?(r.openBlock(),r.createBlock(r.unref(vr),{key:1,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b)?(r.openBlock(),r.createBlock(r.unref(Os),{key:2,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(I)?(r.openBlock(),r.createBlock(r.unref(_s),{key:3,class:"is-icon-sort"})):r.createCommentVNode("",!0)],42,kl)]),_:2},1032,["content","disabled","append-to"]))),128))])]),r.createElementVNode("tbody",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.rows,(p,m)=>(r.openBlock(),r.createElementBlock("tr",{key:m,class:r.normalizeClass(p.rowClasses)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(y,h)=>(r.openBlock(),r.createElementBlock("td",{key:h,class:r.normalizeClass([[y.class],{"is-active":h===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ct),"is-zero":p[h]===0||p[h]==="00:00"}])},[r.renderSlot(f.$slots,`cell-${h}`,{row:p,prop:h},()=>[r.createTextVNode(r.toDisplayString(p[h]),1)])],2))),128))],2))),128))]),r.unref(s)&&t.rows.length===0?(r.openBlock(),r.createElementBlock("tfoot",_l,[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,xl)])])):r.createCommentVNode("",!0),t.rows.length===0&&!r.unref(a)&&!r.unref(s)?(r.openBlock(),r.createElementBlock("tfoot",Pl,[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,El)])])):r.createCommentVNode("",!0)]))}},Nl={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 vl(t,e){return r.openBlock(),r.createElementBlock("svg",Nl,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 $l={render:vl},Ml={class:"error-notice"},Dl=["textContent"],Cl={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})},useRetry:{type:Boolean,default:!1}},emits:["retry"],setup(t){const e=t,{t:n,hasTranslation:o}=at(),a=r.computed(()=>o(`errors.${e.error.key}`)?n(`errors.${e.error.key}`,e.error.cause||[e.error?.message]):e.error?.message);return(i,s)=>(r.openBlock(),r.createElementBlock("div",Ml,[r.createVNode(r.unref($l),{class:"icon",width:"20",height:"20"}),r.createElementVNode("span",null,r.toDisplayString(a.value),1),t.useRetry?(r.openBlock(),r.createElementBlock("button",{key:0,type:"button",onClick:s[0]||(s[0]=l=>i.$emit("retry")),textContent:r.toDisplayString(r.unref(n)("common.retry"))},null,8,Dl)):r.createCommentVNode("",!0)]))}},Ll={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:o}=tr();return(a,i)=>r.renderSlot(a.$slots,"default",{message:r.unref(e),error:r.unref(o),hasError:r.unref(n)})}},Il={errors:{"undefined-column":"The {column} column is not exists!","invalid-season-name":"Invalid season name","api-key-not-found":"API Key not found",gameData:"Game Data: {0}",gameStats:"Game Stats: {0}",gameEvents:"Game Events: {0}",gameOfficials:"Game Officials : {0}"},common:{loading:"Loading...",noData:"No data to display",selectTimezone:"*All times are displayed according to your computer's time zone ({timezone}). Change: ",hungary:"Hungary",romania:"Romania",shootoutShort:"SO",overtimeShort:"OT",all:"All",report:"Report Sheet",video:"Video",retry:"Try Again"},additionalText:{inheritedPoints:{prependix:"",content:"{team} has {points} extra point(s)",appendix:"based on its results in the previous championship phase."},penaltyPoints:{prependix:"* ",content:"{points} point(s) deducted from team {team}",appendix:"based on the decision of the Disciplinary Committee."}},table:{blank:"#",info:"{min} to {max} of {total} entries",team:{short:"Team",tooltip:"Team name"},game:{short:"GP",tooltip:"Game Played"},wins:{short:"W",tooltip:"Wins"},draw:{short:"D",tooltip:"Draw"},otw:{short:"OTW",tooltip:"Overtime Wins"},sow:{short:"SOW",tooltip:"Shoot Out Wins"},sol:{short:"SOL",tooltip:"Shoot Out Losses"},otl:{short:"OTL",tooltip:"Overtime Losses"},losses:{short:"L",tooltip:"Losses"},goalFor:{short:"GF",tooltip:"Goals For"},goalAgainst:{short:"GA",tooltip:"Goals Against"},goalDiff:{short:"GD",tooltip:"Goal Differential"},points:{short:"P",tooltip:"Points"},name:{short:"Name",tooltip:"Player name"},goals:{short:"G",tooltip:"Goals"},assists:{short:"A",tooltip:"Assists"},plusMinus:{short:"+/-",tooltip:"Plus/Minus"},sog:{short:"S",tooltip:"Shots on Goal"},so:{short:"SO",tooltip:"Shutouts"},sogPercent:{short:"S%",tooltip:"Shooting percentage"},gameName:{short:"#",tooltip:"Game name"},gameDate:{short:"Date",tooltip:"Scheduled Date"},gameDateTime:{short:"*Time ({offsetName})",tooltip:"Scheduled Time (Offset Name)"},homeTeam:{short:"Home",tooltip:"Home Team"},awayTeam:{short:"Away",tooltip:"Away Team"},location:{short:"Location",tooltip:"Game Location"},broadcast:{short:"Broadcast",tooltip:"Television Broadcast"},minorPenalties:{short:"MINOR",tooltip:"Penalties Minor"},majorPenalties:{short:"MAJOR",tooltip:"Penalties Major"},misconducts:{short:"MISC",tooltip:"Penalties Misconduct"},gameMisconducts:{short:"GA-MI",tooltip:"Penalties Game Misconduct"},matchPenalties:{short:"MATCH",tooltip:"Penalties Match"},pim:{short:"PIM",tooltip:"Penalty Minutes"},pimPerGame:{short:"PIM/G",tooltip:"Penalty Minutes per Game"},gpgk:{short:"GP",tooltip:"Games Played"},gpi:{short:"GPI",tooltip:"Games Played In"},toi:{short:"TOI",tooltip:"Time On Ice"},toiPercent:{short:"TOI%",tooltip:"Time On Ice as Percentage"},ga:{short:"GA",tooltip:"Goals Against"},gaa:{short:"GAA",tooltip:"Goals Against Average"},sa:{short:"SA",tooltip:"Shots Against"},svs:{short:"SVS",tooltip:"Saves"},svsPercent:{short:"SV%",tooltip:"Save Percentage"},homeHeader:{short:"Home:",tooltip:""},awayHeader:{short:"Away:",tooltip:""},totalHeader:{short:"Total:",tooltip:""},homeGame:{short:"GP",tooltip:"Home Games Played"},awayGame:{short:"GP",tooltip:"Away Games Played"},totalGame:{short:"GP",tooltip:"Total Games Played"},homeAttendance:{short:"Att",tooltip:"Home Attendance"},awayAttendance:{short:"Att",tooltip:"Away Attendance"},totalAttendance:{short:"Att",tooltip:"Total Attendance"},homeAttendanceAvg:{short:"Avg",tooltip:"Home Average Attendance"},awayAttendanceAvg:{short:"Avg",tooltip:"Away Average Attendance"},totalAttendanceAvg:{short:"Avg",tooltip:"Total Average Attendance"},powerplayDisadvantages:{short:"DVG",tooltip:"Disadvantages (Number of Times Shorthanded)"},dvgTime:{short:"DVG-T",tooltip:"Disadvantages Time"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Disadvantages Time (Period of PP1)"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Disadvantages Time (Period of PP2)"},ppga:{short:"PPGA",tooltip:"Powerplay Goals Against"},shgf:{short:"SHGF",tooltip:"Shorthanded Goals For"},pkPercent:{short:"PK%",tooltip:"Penalty Killing Percentage"},adv:{short:"ADV",tooltip:"Advantages (Times on Powerplay)"},advTime:{short:"ADV-T",tooltip:"Advantages Time (Period of Powerplay)"},advTimePP1:{short:"ADV-T PP1",tooltip:"Advantages Time (Period of PP1)"},advTimePP2:{short:"ADV-T PP2",tooltip:"Advantages Time (Period of PP2)"},ppgf:{short:"PPGF",tooltip:"Powerplay Goals For"},shga:{short:"SHGA",tooltip:"Shorthanded Goals Against"},ppPercent:{short:"PP%",tooltip:"Powerplay Percentage"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Shots Against per Game"},jerseyNumber:{short:"#",tooltip:"Jersey Number"},row:{short:"Row",tooltip:"Row"},position:{short:"Position",tooltip:"Position"},teamOfficials:{short:"Team officials",tooltip:"Team officials"},score:{short:"Score",tooltip:"Actual Game Score"},opponent:{short:"Opponent",tooltip:"Opponent"},result:{short:"Result",tooltip:"Result"},resultType:{short:"#",tooltip:"Result Type"},atoi:{short:"ATOI",tooltip:"Average Time On Ice"},shf:{short:"SHF",tooltip:"Shifts"},ashf:{short:"ASHF",tooltip:"Average Shifts"},eqToi:{short:"EQ-TOI",tooltip:"Time On Ice in Equal"},pp1Toi:{short:"PP1-TOI",tooltip:"Time On Ice in PowerPlay 1"},pp2Toi:{short:"PP2-TOI",tooltip:"Time On Ice in PowerPlay 2"},sh1Toi:{short:"SH1-TOI",tooltip:"Time On Ice in Shorthanded 1"},sh2Toi:{short:"SH2-TOI",tooltip:"Time On Ice in Shorthanded 2"},eqAToi:{short:"EQ-A-TOI",tooltip:"Average Time On Ice in Equal"},pp1AToi:{short:"PP1-A-TOI",tooltip:"Average Time On Ice in PowerPlay 1"},pp2AToi:{short:"PP2-A-TOI",tooltip:"Average Time On Ice in PowerPlay 2"},sh1AToi:{short:"SH1-A-TOI",tooltip:"Average Time On Ice in Shorthanded 1"},sh2AToi:{short:"SH2-A-TOI",tooltip:"Average Time On Ice in Shorthanded 2"},role:{short:"Role",tooltip:"Role"}},game:{data:{localTime:"Game local time"},status:{jury:"Jury result",delayed:"Game delayed"},period:{wu:"Preparation",pre:"Preparation Ended",p1:"First Period",p1_int:"First Period Ended",p2:"Second Period",p2_int:"Second Period Ended",p3:"Third Period",p3_int:"Third Period Ended",p4:"Fourth Period",p4_int:"Fourth Period Ended",p5:"Fifth Period",p5_int:"Fifth Period Ended",p6:"Sixth Period",p6_int:"Sixth Period Ended",ot:"Overtime",ot_int:"Overtime Ended",so:"Shoot Out",so_int:"Shoot Out Ended",end:"Game Ended",Bemelegítés:"Warm-up","Bemelegítés vége":"Warm-up End","1. harmad":"First period","1. harmad vége":"First period End","2. harmad":"Second period","2. harmad vége":"Second period End","3. harmad":"Third period","3. harmad vége":"Third period End","4. harmad":"IV. period","4. harmad vége":"IV. period End","5. harmad":"V. period","5. harmad vége":"V. period End","6. harmad":"VI. period","6. harmad vége":"VI. period End",Hosszabbítás:"Overtime","Hosszabbítás vége":"Overtime End",Büntetőlövések:"Penalty Shot",Végeredmény:"Game Completed",Szétlövés:"Shoot Out"}}},Bl={errors:{"undefined-column":"A(z) {column} oszlop nem létezik!","invalid-season-name":"Érvénytelen szezon név","api-key-not-found":"API Kulcs nem megfelelő",gameData:"Game Data: {0}",gameStats:"Game Stats: {0}",gameEvents:"Game Events: {0}",gameOfficials:"Game Officials: {0}"},common:{loading:"Töltődés...",noData:"Nincs megjeleníthető adat",selectTimezone:"*Minden időpont a számítógép időzónája szerint jelenik meg ({timezone}). Váltás: ",hungary:"Magyarország",romania:"Románia",shootoutShort:"SO",overtimeShort:"OT",all:"Mind",report:"Jegyzőkönyv",video:"Videó",retry:"Újra"},additionalText:{inheritedPoints:{prependix:"A megelőző bajnokság szakaszban elért eredménye alapján",content:"{team} csapata {points}",appendix:"többletponttal rendelkezik."},penaltyPoints:{prependix:"* Fegyelmi Bizottság döntése alapján:",content:"{team} csapatától {points} pont",appendix:"levonva."}},table:{blank:"#",info:"{min} - {max} / {total} db",team:{short:"Csapat",tooltip:"Csapatnév"},game:{short:"GP",tooltip:"Mérkőzésszám"},wins:{short:"W",tooltip:"Győzelem"},draw:{short:"D",tooltip:"Döntetlen"},otw:{short:"OTW",tooltip:"Győzelem Hosszabbításban"},sow:{short:"SOW",tooltip:"Győzelem Szétlövésben"},sol:{short:"SOL",tooltip:"Vereség Szétlövésben"},otl:{short:"OTL",tooltip:"Vereség Hosszabbításban"},losses:{short:"L",tooltip:"Vereség"},goalFor:{short:"GF",tooltip:"Szerzett Gól"},goalAgainst:{short:"GA",tooltip:"Kapott Gól"},goalDiff:{short:"GD",tooltip:"Gólkülönbség"},name:{short:"Név",tooltip:"Játékosnév"},goals:{short:"G",tooltip:"Gólok"},assists:{short:"A",tooltip:"Gólpasszok"},points:{short:"P",tooltip:"Pontok"},plusMinus:{short:"+/-",tooltip:"Plussz/Minusz"},sog:{short:"S",tooltip:"Lövések"},so:{short:"SO",tooltip:"Kapott gól nélküli mérkőzések"},sogPercent:{short:"S%",tooltip:"Lövés Hatékonyság"},gameName:{short:"#",tooltip:"Mérkőzés Sorszáma"},gameDate:{short:"Dátum",tooltip:"Mérkőzés Dátuma"},gameDateTime:{short:"*Idő ({offsetName})",tooltip:"Mérkőzés kezdési ideje (Zóna neve)"},homeTeam:{short:"Hazai",tooltip:"Hazai Csapat"},awayTeam:{short:"Vendég",tooltip:"Vendég Csapat"},location:{short:"Helyszín",tooltip:"Mérkőzés Helyszíne"},broadcast:{short:"TV",tooltip:"TV Közvetítés"},minorPenalties:{short:"MINOR",tooltip:"Kisbüntetés (2p)"},majorPenalties:{short:"MAJOR",tooltip:"Büntetés (5p)"},misconducts:{short:"MISC",tooltip:"Fegyelmi büntetés (10p)"},gameMisconducts:{short:"GA-MI",tooltip:"Fegyelmi büntetés (20p)"},matchPenalties:{short:"MATCH",tooltip:"Végleges kiállítások (25p)"},pim:{short:"BÜP",tooltip:"Büntetés Percek"},pimPerGame:{short:"BÜP/M",tooltip:"Mérkőzésenkénti Büntetés Percek"},gpgk:{short:"GP",tooltip:"Mérkőzésre Nevezve"},gpi:{short:"GPI",tooltip:"Mérkőzésen Játszott"},toi:{short:"TOI",tooltip:"Jégen Töltött Idő"},toiPercent:{short:"TOI%",tooltip:"Jégen Töltött Idő Százalék"},ga:{short:"GA",tooltip:"Kapott Gól"},gaa:{short:"GAA",tooltip:"Kapott Gólátlag"},sa:{short:"SA",tooltip:"Kapott Lövés"},svs:{short:"SVS",tooltip:"Védett Lövés"},svsPercent:{short:"VH%",tooltip:"Védés Hatékonyság"},homeHeader:{short:"Hazai:",tooltip:""},awayHeader:{short:"Vendég:",tooltip:""},totalHeader:{short:"Összes:",tooltip:""},homeGame:{short:"M",tooltip:"Hazai Mérkőzés"},awayGame:{short:"M",tooltip:"Vendég Mérkőzés"},totalGame:{short:"M",tooltip:"Összes Mérkőzés"},homeAttendance:{short:"Nézőszám",tooltip:"Hazai Néző"},awayAttendance:{short:"Nézőszám",tooltip:"Vendég Néző"},totalAttendance:{short:"Nézőszám",tooltip:"Összes Néző"},homeAttendanceAvg:{short:"Átlag",tooltip:"Hazi Néző Átlag"},awayAttendanceAvg:{short:"Átlag",tooltip:"Vendég Néző Átlag"},totalAttendanceAvg:{short:"Átlag",tooltip:"Összes Néző Átlag"},powerplayDisadvantages:{short:"DVG",tooltip:"Emberhátrányok"},dvgTime:{short:"DVG-T",tooltip:"Emberhátrányban Töltött Idő"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Szimpla emberhátrányban töltött idő"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Kettős emberhátrányban töltött idő"},ppga:{short:"PPGA",tooltip:"Emberhátrányban kapott gólok"},shgf:{short:"SHGF",tooltip:"Emberhátrányban szerzett gól"},pkPercent:{short:"PK%",tooltip:"Emberhátrány kivédekezés"},adv:{short:"ADV",tooltip:"Emberelőnyök száma"},advTime:{short:"ADV-T",tooltip:"Emberelőnyben töltött idő"},advTimePP1:{short:"ADV-T PP1",tooltip:"Szimpla emberelőnyben töltött idő"},advTimePP2:{short:"ADV-T PP2",tooltip:"Kettős emberelőnyben töltött idő"},ppgf:{short:"PPGF",tooltip:"Emberelőnyben szerzett gólok"},shga:{short:"SHGA",tooltip:"Emberelőnyben kapott gólok"},ppPercent:{short:"PP%",tooltip:"Emberelőny kihasználás"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Átlagos kapott lövésszám"},jerseyNumber:{short:"#",tooltip:"Mezszám"},row:{short:"Sor",tooltip:"Sor"},position:{short:"Po",tooltip:"Poszt"},teamOfficials:{short:"Hivatalos Személyek",tooltip:"Hivatalos Személyek"},score:{short:"Eredmény",tooltip:"Aktuális eredmény"},opponent:{short:"Ellenfél",tooltip:"Ellenfél"},result:{short:"Eredmény",tooltip:"Végeredmény"},resultType:{short:"#",tooltip:"Végeredmény típusa"},atoi:{short:"ATOI",tooltip:"Átlagos jégen töltött idő"},shf:{short:"SHF",tooltip:"Jégre lépések száma"},ashf:{short:"ASHF",tooltip:"Jégre lépések száma átlagosan"},eqToi:{short:"EQ-TOI",tooltip:"Jégen töltött idő azonos létszámban"},pp1Toi:{short:"PP1-TOI",tooltip:"Jégen töltött idő egyszeres emberelőnyben"},pp2Toi:{short:"PP2-TOI",tooltip:"Jégen töltött idő kétszeres emberelőnyben"},sh1Toi:{short:"SH1-TOI",tooltip:"Jégen töltött idő egyszeres emberhátrányban"},sh2Toi:{short:"SH2-TOI",tooltip:"Jégen töltött idő kétszeres emberhátrányban"},eqAToi:{short:"EQ-A-TOI",tooltip:"Átlagos jégen töltött idő azonos létszámban"},pp1AToi:{short:"PP1-A-TOI",tooltip:"Átlagos jégen töltött idő egyszeres emberelőnyben"},pp2AToi:{short:"PP2-A-TOI",tooltip:"Átlagos jégen töltött idő kétszeres emberelőnyben"},sh1AToi:{short:"SH1-A-TOI",tooltip:"Átlagos jégen töltött idő egyszeres emberhátrányban"},sh2AToi:{short:"SH2-A-TOI",tooltip:"Átlagos jégen töltött idő kétszeres emberhátrányban"},role:{short:"Szerep",tooltip:"Szerep"}},game:{data:{localTime:"Helyszín szerinti idő"},status:{jury:"Versenybíróság",delayed:"Elhalasztva"},period:{wu:"Bemelegítés",pre:"Bemelegítés vége",p1:"I. játékrész",p1_int:"I. játékrész vége",p2:"II. játékrész",p2_int:"II. játékrész vége",p3:"III. játékrész",p3_int:"III. játékrész vége",p4:"IV. játékrész",p4_int:"IV. játékrész vége",p5:"V. játékrész",p5_int:"V. játékrész vége",p6:"VI. játékrész",p6_int:"VI. játékrész vége",ot:"Hosszabbítás",ot_int:"Hosszabbítás vége",so:"Szétlövés",so_int:"Szétlövés vége",end:"Végeredmény",Bemelegítés:"Bemelegítés","Bemelegítés vége":"Bemelegítés Vége","1. harmad":"I. harmad","1. harmad vége":"I. harmad Vége","2. harmad":"II. harmad","2. harmad vége":"II. harmad Vége","3. harmad":"III. harmad","3. harmad vége":"III. harmad Vége","4. harmad":"IV. harmad","4. harmad vége":"IV. harmad Vége","5. harmad":"V. harmad","5. harmad vége":"V. harmad Vége","6. harmad":"VI. harmad","6. harmad vége":"VI. harmad Vége",Hosszabbítás:"Hosszabbítás","Hosszabbítás vége":"Hosszabbítás vége",Büntetők:"Szétlövés","Büntetők vége":"Szétlövés vége",Végeredmény:"Végeredmény",Szétlövés:"Szétlövés"}}},Rl=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},zl=r.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=Gn({hu:Bl,en:Il},t.messages),{translate:n}=qn({locale:r.computed(()=>t.locale),messages:e});return{translate:n}}});function Vl(t,e,n,o,a,i){return r.renderSlot(t.$slots,"default",{t:t.translate})}const Gl=Rl(zl,[["render",Vl]]),Fl=["src"],jl=["src","title"],Ot=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}=ti(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,Fl)):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,jl))],64))}}),Ul={class:"loading-indicator"},an={__name:"LoadingIndicator",setup(t){const{t:e}=at();return(n,o)=>(r.openBlock(),r.createElementBlock("div",Ul,r.toDisplayString(r.unref(e)("common.loading")),1))}},Hl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function Yl(t,e){return r.openBlock(),r.createElementBlock("svg",Hl,e[0]||(e[0]=[r.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1)]))}const Wl={render:Yl},ql={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function Kl(t,e){return r.openBlock(),r.createElementBlock("svg",ql,e[0]||(e[0]=[r.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1)]))}const Zl={render:Kl},Xl={key:0,class:"paginator"},Jl=["disabled"],Ql=["disabled"],tc={key:1,class:"is-disabled"},ec=["disabled","onClick"],nc={key:2,class:"is-disabled"},rc=["disabled"],oc=["disabled"],ac={__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}=is({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",Xl,[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(Wl),{class:"icon paginator-left"})])],8,Jl),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,Ql)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",tc," ... ")),(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:g=>r.unref(l)(f)},r.toDisplayString(f),11,ec))),128)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",nc,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,rc)),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(Zl),{class:"icon paginator-left"})])],8,oc)])):r.createCommentVNode("",!0)}},sn={__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))}},ic={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 sc(t,e){return r.openBlock(),r.createElementBlock("svg",ic,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 lc={render:sc},cc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function uc(t,e){return r.openBlock(),r.createElementBlock("svg",cc,e[0]||(e[0]=[r.createElementVNode("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 dc={render:uc},fc={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 mc(t,e){return r.openBlock(),r.createElementBlock("svg",fc,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 pc={render:mc},hc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function gc(t,e){return r.openBlock(),r.createElementBlock("svg",hc,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 yc={render:gc};function bc(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(Ie(l),Wt(e)):Xt(ut(l),Hn,Ta(Hn(e)))),i=Yo(l=>l.name?xa(Oa("name"),Pa(",",""),l):l),s=$e(Xt(i,Ho([...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=ba(Wt(I),In(Ce),In(la));return this.result=Un(e.orders.map(o=>Rn(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:Rc(e)})),this},teamName(){return this.result=this.result.map(e=>({...e,teamName:e.team.longName})),this},schedule(e="",n="hu"){return this.result=this.result.map(o=>({...o,gameResult:`${o.homeTeamScore}-${o.awayTeamScore}`,gameDateDate:bt(o.gameDate,"L dddd",e,n),gameDateTime:bt(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`]=je(n[o]):n),n)),this},groupByDays(){return this.currentItems=this.result.length,this.result=ya(e=>bt(e.gameDate,"YYYY-MM-DD"))(this.result),this},slice(e=3){return this.result=this.result.slice(0,e),this}}}const Tc=(t,...e)=>ft(Rn(...e))(t);function Sc(t){return{...t,...t.lastName&&t.firstName&&{name:`${t.lastName} ${t.firstName}`},...t.player?.playerId&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.id&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.nationality&&{name:t.player?.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`},...t.nationality&&{name:t.nationality.includes("hu")?`${t.lastName} ${t.firstName}`:`${t.lastName}, ${t.firstName}`}}}function wc(t){return{...t,...t?.team?.id&&{teamName:t.team.longName}}}function Oc(t="",e="hu"){return n=>({...n,gameDateDate:bt(n.gameDate,"L dddd",t,e),gameDateTime:bt(n.gameDate,"HH:mm",t,e)})}function Ac(t){return e=>({...e,gameResult:Lc(e)})}function kc(t){return{...t,opponent:Cc(t)}}function _c(t){return{...t,resultType:Ic(t)}}function xc(t){return{...t,rowClasses:t.optional?"is-optional":""}}function Pc(t=[]){return e=>({...e,[t]:e[t]?.toUpperCase()})}function Ec(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Sec`]=je(e[n]):e),e)}function Nc(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Min`]=Ar(e[n]):e),e)}function vc(t=[]){return e=>(t.map(n=>e[`${n}Min`]=Or(e[n])),e)}function $c(t){return{...t,periodResults:t.result?.match(/\(.*?\)/)?.[0]??""}}const Mc=Un([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Ce(ut("id")),Ce(ut("gameId"))]),Dc=Ea((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function Cc(t){return[t.isHomeGame?null:"@",t.opponent?.shortName].join(" ")}function Lc(t){let e=t?.homeTeamScore,n=t?.awayTeamScore;return t.isHomeGame||(e=t?.awayTeamScore,n=t?.homeTeamScore),[e,n].join(":")}function Ic(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 Bc(t){return t.map(e=>({phaseId:e.phaseId,phaseName:Object.values({phaseName:e.phaseName,...e.phaseType?.phaseTypeName&&e.phaseType.phaseTypeName!==e.phaseName&&{phaseTypeName:e.phaseType.phaseTypeName},...e.phaseSubType?.phaseSubTypeName&&{phaseSubTypeName:e.phaseSubType.phaseSubTypeName}}).join("-")}))}function Rc(t){return t.player?t.player.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`:`${t.lastName} ${t.firstName}`}class ln 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:{}}},zc={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}};function Vc(t){return`${Oe.replace("https","ws").replace("/vbr","")}${t}`}const jt=(t="")=>window?.__MJSZ_VBR_WIDGET__?.[t];function Gc(t,e={}){if(e.externalGameUrl)return e.externalGameUrl;const n=jt("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||cn,e))}function Fc(t,e={}){const n=jt("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||fn,e))}function jc(t,e={}){const n=jt("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||dn,e))}function Uc(t,e={}){return typeof t=="function"?t(e):encodeURI(dt(t||mn,e))}const Hc=(t,e="1x1")=>`${pn}/flag:${t}-${e}.svg`;function Yc(t){return t||(jt("apiKey")?jt("apiKey"):"")}function Wc(){window.scrollTo(0,0)}const qc={class:"is-team-name-long"},Kc={class:"is-team-name-short"},Zc={class:"is-team-name-long"},Xc={class:"is-team-name-short"},Jc={key:0,class:"is-text-dark"},Qc=["href","target"],tu={key:0,class:"label"},eu={key:1,class:"label"},nu={key:2,class:"label"},ru={key:1},ou=["onClick","onFocus","onBlur"],au={class:"is-dropdown-menu"},iu=["href","target"],su={key:0},lu=["href"],cu={__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}=ze(),{columns:a,error:i}=Re(bn,r.computed(()=>e.hideColumns),r.computed(()=>({offsetName:e.offsetName})));Ka(i,()=>o(new ln(Ft.message,{...Ft.options,cause:{column:i.value}})),{immediate:!0});const{t:s}=at();return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(sn,null,{default:r.withCtx(({el:c})=>[r.createVNode(on,{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",qc,r.toDisplayString(d.homeTeam.longName),1),r.createElementVNode("span",Kc,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",Zc,r.toDisplayString(d.awayTeam.longName),1),r.createElementVNode("span",Xc,r.toDisplayString(d.awayTeam.shortName),1)],64)):r.createCommentVNode("",!0)]),"cell-homeTeamLogo":r.withCtx(({row:d})=>[d.homeTeam?(r.openBlock(),r.createBlock(Ot,{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(Ot,{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",Jc,"-:-")):(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,Qc))]),"cell-gameResultType":r.withCtx(({row:d})=>[d.isOvertime?(r.openBlock(),r.createElementBlock("span",tu,r.toDisplayString(r.unref(s)("common.overtimeShort")),1)):r.createCommentVNode("",!0),d.isShootout?(r.openBlock(),r.createElementBlock("span",eu,r.toDisplayString(r.unref(s)("common.shootoutShort")),1)):r.createCommentVNode("",!0),d.seriesStandings?(r.openBlock(),r.createElementBlock("span",nu,r.toDisplayString(d.seriesStandings),1)):r.createCommentVNode("",!0)]),"cell-broadcast":r.withCtx(({row:d})=>[d.broadcast?(r.openBlock(),r.createBlock(r.unref(lc),{key:0})):(r.openBlock(),r.createElementBlock("span",ru))]),"cell-location":r.withCtx(({row:d})=>[r.createTextVNode(r.toDisplayString(d.location?.locationName??""),1)]),"cell-more":r.withCtx(({row:d})=>[r.createVNode(rn,{offset:2,placement:"left",theme:"content","append-to":c},{default:r.withCtx(({setRef:f,show:g,hide:p})=>[r.createElementVNode("button",{ref:f,onClick:r.withModifiers(g,["stop"]),onFocus:g,onBlur:p},[r.createVNode(r.unref(dc))],40,ou)]),content:r.withCtx(()=>[r.createElementVNode("ul",au,[r.createElementVNode("li",null,[r.createElementVNode("a",{href:t.externalGameResolver(d.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[r.createVNode(r.unref(pc),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.report")),1)],8,iu)]),d.video?(r.openBlock(),r.createElementBlock("li",su,[r.createElementVNode("a",{href:d.video,class:"is-dropdown-item",target:"_blank"},[r.createVNode(r.unref(yc),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.video")),1)],8,lu)])):r.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:r.withCtx(()=>[r.createVNode(an)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),r.createElementVNode("div",{ref_key:"tooltipContainer",ref:n},null,512)],64))}},uu={class:"g-row g-gap-normal is-mb-5"},du={for:"season",class:"label"},fu=["value"],mu={key:0},pu=["onClick"],hu={__name:"SeasonSelector",props:{seasons:{type:Array,default:()=>[]},championshipId:{type:Number,default:0},sections:{type:Array,default:()=>[]},sectionId:{type:Number,default:0},isSectionSelectionDisabled:{type:Boolean,default:!1}},emits:["onChangeSeason","onChangeSection"],setup(t,{emit:e}){const n=t,o=e,{t:a}=at(),i=r.computed({get(){return n.championshipId},set(l){o("onChangeSeason",l)}});function s(l){o("onChangeSection",l)}return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("div",uu,[r.createElementVNode("div",null,[r.createElementVNode("label",du,r.toDisplayString(r.unref(a)("selection.season")),1),r.createVNode(Nr,{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,fu))),128))]),_:1},8,["modelValue"])]),r.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",mu,[(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,pu))),128))]))],64))}},gu={class:"is-portrait-image"},yu=["href"],bu={class:"is-team-name-long"},Tu={class:"is-team-name-short"},Su={class:"is-team-name-long"},wu={key:0},Ou={class:"is-team-name-short"},Au={key:0},ku={class:"is-team-name-long"},_u={class:"is-team-name-short"},xu={class:"is-team-name-long"},Pu={class:"is-team-name-short"},Eu=["href"],Nu={key:0,class:"is-text-dark"},vu=["href","target"],$u={key:0,class:"label"},Mu={key:1,class:"label"},Du={key:2,class:"label"},Cu={__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}=ze(),{t:l}=at(),{columns:u,error:c}=Re(a,i,r.computed(()=>({offsetName:n.offsetName})));c.value&&s(new ln(Ft.message,{...Ft.options,cause:{column:c.value}}));const d=f=>o("sort",f);return(f,g)=>(r.openBlock(),r.createBlock(sn,null,{default:r.withCtx(({el:p})=>[r.createVNode(on,{columns:r.unref(u),sort:n.sort,rows:n.rows,"is-loading":t.isLoading,"append-to":t.appendTo||p,onSort:d},r.createSlots({"cell-index":r.withCtx(({row:m})=>[r.createElementVNode("span",{class:r.normalizeClass(m.indexClass)},r.toDisplayString(m.index),3)]),"cell-playerPortrait":r.withCtx(({row:m})=>[r.createElementVNode("div",gu,[(r.openBlock(),r.createBlock(Ot,{key:m.player.playerId,src:m.player.picture,"default-src":r.unref(un)},null,8,["src","default-src"]))])]),"cell-teamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(Ot,{key:m.team?.id??m.id,class:"is-logo-image",src:m.team?.logo},null,8,["src"]))]),"cell-homeTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(Ot,{key:m.homeTeam?.id,class:"is-logo-image is-right",src:m.homeTeam?.logo},null,8,["src"]))]),"cell-awayTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(Ot,{key:m.awayTeam?.id,class:"is-logo-image is-right",src:m.awayTeam?.logo},null,8,["src"]))]),"cell-teamName":r.withCtx(({row:m})=>[t.isTeamLinked?(r.openBlock(),r.createElementBlock("a",{key:0,href:t.externalTeamResolver(m),target:"_blank"},[r.createElementVNode("span",bu,r.toDisplayString(m.team?.longName),1),r.createElementVNode("span",Tu,r.toDisplayString(m.team?.shortName),1)],8,yu)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createElementVNode("span",Su,[r.createTextVNode(r.toDisplayString(m.team?.longName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",wu,g[0]||(g[0]=[r.createElementVNode("sup",null,"*",-1)]))):r.createCommentVNode("",!0)]),r.createElementVNode("span",Ou,[r.createTextVNode(r.toDisplayString(m.team?.shortName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Au,g[1]||(g[1]=[r.createElementVNode("sup",null,"*",-1)]))):r.createCommentVNode("",!0)])],64))]),"cell-homeTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",ku,r.toDisplayString(m.homeTeam?.longName),1),r.createElementVNode("span",_u,r.toDisplayString(m.homeTeam?.shortName),1)]),"cell-awayTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",xu,r.toDisplayString(m.awayTeam?.longName),1),r.createElementVNode("span",Pu,r.toDisplayString(m.awayTeam?.shortName),1)]),"cell-location":r.withCtx(({row:m})=>[r.createTextVNode(r.toDisplayString(m.location?.locationName??""),1)]),"cell-gameResult":r.withCtx(({row:m})=>[m.gameStatus===0?(r.openBlock(),r.createElementBlock("span",Nu,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(m),target:t.externalGameResolverTarget,class:r.normalizeClass({"is-text-dark":m.gameStatus!==1,"is-text-accent":m.gameStatus===1})},r.toDisplayString(m.homeTeamScore)+":"+r.toDisplayString(m.awayTeamScore),11,vu))]),"cell-gameResultType":r.withCtx(({row:m})=>[m.isOvertime?(r.openBlock(),r.createElementBlock("span",$u,r.toDisplayString(r.unref(l)("common.overtimeShort")),1)):r.createCommentVNode("",!0),m.isShootout?(r.openBlock(),r.createElementBlock("span",Mu,r.toDisplayString(r.unref(l)("common.shootoutShort")),1)):r.createCommentVNode("",!0),m.seriesStandings?(r.openBlock(),r.createElementBlock("span",Du,r.toDisplayString(m.seriesStandings),1)):r.createCommentVNode("",!0)]),loading:r.withCtx(()=>[r.createVNode(an)]),_:2},[t.isPlayerLinked?{name:"cell-name",fn:r.withCtx(({row:m})=>[r.createElementVNode("a",{href:t.externalPlayerResolver(m),target:"_blank"},r.toDisplayString(m.name),9,Eu)]),key:"0"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},Lu={class:"timezone-selector"},Iu=["onClick"],Bu={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,{t:a}=at(),i=r.computed(()=>Bt(new Date,null,n.locale)),s=wr(),l=r.computed(()=>Array.from(gn.values()).map(c=>({...c,isActive:Bt(new Date,n.currentZone,n.locale)===Bt(new Date,c.timezone,n.locale),zoneOffsetName:Bt(new Date,c.timezone,n.locale)}))),u=c=>o("change",c);return(c,d)=>(r.openBlock(),r.createElementBlock("div",Lu,[r.createVNode(r.unref(Zn),{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(g=>u(f.timezone),["prevent"])},r.toDisplayString(r.unref(a)(`common.${f.countryLabelKey}`))+" ("+r.toDisplayString(f.zoneOffsetName)+") ",11,Iu))),128))]))}},Ru={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:""}},zu={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},Vu={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},Gu={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}};function Zr({app:t=null,modules:e=[],apiKey:n,gameResolver:o,teamResolver:a,playerResolver:i}){if(window.__MJSZ_VBR_WIDGET__={apiKey:n,gameResolver:o,teamResolver:a,playerResolver:i},e.length===0)throw new Error("At least one module must be set");e.forEach(s=>{if(t)return t.use(s);if(s.register)return s.register();s?.install()})}const Fu={install:(t,e={})=>Zr({app:t,...e})};return T.AVAILABLE_TIMEZONES_BY_COUNTRY=gn,T.AdditionalStandingsText=ys,T.BaseSelect=Nr,T.COLUMNS_FIELD_PLAYERS=eo,T.COLUMNS_FIELD_PLAYERS_PENALTY=no,T.COLUMNS_FIELD_PLAYERS_TOI=ro,T.COLUMNS_GOALIES=oo,T.COLUMNS_PLAYERS_NATIONAL=ao,T.COLUMNS_SCHEDULE=bn,T.COLUMNS_SCORING_EFFICIENCY=uo,T.COLUMNS_STANDINGS_P_2=Qr,T.COLUMNS_STANDINGS_P_3=Jr,T.COLUMNS_STANDINGS_SHORT=to,T.COLUMNS_TEAMS_FAIRPLAY=so,T.COLUMNS_TEAMS_PENALTY_KILLING=lo,T.COLUMNS_TEAMS_POWERPLAY=co,T.COLUMNS_TEAM_ATTENDANCE=io,T.DEFAULT_EXTERNAL_GAME_URL=cn,T.DEFAULT_EXTERNAL_PLAYER_URL=dn,T.DEFAULT_EXTERNAL_STATISTIC_URL=mn,T.DEFAULT_EXTERNAL_TEAM_URL=fn,T.DEFAULT_PORTRAIT_IMAGE_URL=un,T.DataTable=on,T.ErrorNotice=Cl,T.ErrorProvider=Ll,T.FLAG_BASE_URL=pn,T.FetchMoreObserver=To,T.FloatingPanel=rn,T.I18NProvider=Gl,T.Image=Ot,T.InvalidSeasonName=zc,T.LAZY_LOADING_STATE_DELAY=yn,T.LOCALE_FOR_LANG=hn,T.LoadingIndicator=an,T.Paginator=ac,T.REFRESH_DELAY=Xr,T.ResponsiveTable=sn,T.SORT_STATE_ASCEND=I,T.SORT_STATE_DESCEND=b,T.SORT_STATE_ORIGINAL=ct,T.ScheduleTable=cu,T.SeasonSelector=hu,T.StatisticsTable=Cu,T.TimezoneSelector=Bu,T.UndefinedColumn=Ft,T.VBR_API_BASE_URL=Oe,T.WidgetError=ln,T.addDays=ts,T.appendTo=Kr,T.baseProps=Ru,T.convert=bc,T.convertGamePeriodResults=$c,T.convertMinToMinSec=Ar,T.convertMinToSec=je,T.convertPhaseName=Bc,T.convertSecToMin=Or,T.convertTimes=Ec,T.convertTimesMinToMinSec=Nc,T.convertTimesSecToMin=vc,T.createConfig=Zr,T.createI18n=qn,T.currentWeek=Xi,T.currentWeekStartEnd=Ji,T.default=Fu,T.endOfMonth=ns,T.externalGameLinkResolver=Gc,T.externalPlayerLinkResolver=jc,T.externalStatisticLinkResolver=Uc,T.externalTeamLinkResolver=Fc,T.fetchVBRData=er,T.flagResolver=Hc,T.format=bt,T.gameDateTime=Oc,T.gameProps=Gu,T.gameResult=Ac,T.getLocalTimezone=wr,T.getWebsocketURL=Vc,T.i18n=Zn,T.isAfter=Ki,T.isBefore=qi,T.isBetween=kr,T.isSame=Yi,T.isSameOrBefore=Ue,T.isToday=Zi,T.localeSort=Dc,T.max=os,T.min=rs,T.offsetName=Bt,T.playerName=Sc,T.playerStatsProps=Vu,T.rawConvert=Tc,T.resolveApiKey=Yc,T.scheduleOptionalRowClass=xc,T.scrollToTop=Wc,T.sortByDomNode=Tl,T.sortGames=Mc,T.startOfMonth=es,T.subtractDays=Qi,T.teamName=wc,T.teamOpponent=kc,T.teamResultType=_c,T.teamStatsProps=zu,T.templateReplacer=dt,T.toKebabCase=Jn,T.upperCase=Pc,T.useAdditionalText=Yn,T.useColumns=Re,T.useError=ze,T.useErrorProvider=tr,T.useI18n=at,T.useLazyLoadingState=sr,T.usePage=as,T.useScrollToGameDate=ss,T.useServices=ls,T.useSort=ps,T.useVisibilityChange=hs,T.validateColumnsName=Xn,T.yearToNow=Wi,Object.defineProperties(T,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),T}({},Vue);
22
+ ***************************************************************************** */function He(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 _r;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(_r||(_r={}));var cs={type:"xstate.init"};function me(t){return t===void 0?[]:[].concat(t)}function xr(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 Ye(t){return function(e){return t===e}}function us(t){return typeof t=="string"?{type:t}:t}function Pr(t,e){return{value:t,context:e,actions:[],changed:!1,matches:Ye(t)}}function Er(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 ds(t,e){e===void 0&&(e={});var n=He(Er(me(t.states[t.initial].entry).map(function(s){return xr(s,e.actions)}),t.context,cs),2),o=n[0],a=n[1],i={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:Ye(t.initial)},transition:function(s,l){var u,c,d=typeof s=="string"?{value:s,context:t.context}:s,f=d.value,g=d.context,p=us(l),m=t.states[f];if(m.on){var y=me(m.on[p.type]);"*"in m.on&&y.push.apply(y,function(A,w,v){if(arguments.length===2)for(var $,R=0,U=w.length;R<U;R++)!$&&R in w||($||($=Array.prototype.slice.call(w,0,R)),$[R]=w[R]);return A.concat($||Array.prototype.slice.call(w))}([],He(me(m.on["*"])),!1));try{for(var h=function(A){var w=typeof Symbol=="function"&&Symbol.iterator,v=w&&A[w],$=0;if(v)return v.call(A);if(A&&typeof A.length=="number")return{next:function(){return A&&$>=A.length&&(A=void 0),{value:A&&A[$++],done:!A}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")}(y),S=h.next();!S.done;S=h.next()){var k=S.value;if(k===void 0)return Pr(f,g);var x=typeof k=="string"?{target:k}:k,E=x.target,N=x.actions,C=N===void 0?[]:N,B=x.cond,F=B===void 0?function(){return!0}:B,j=E===void 0,L=E??f,M=t.states[L];if(F(g,p)){var W=He(Er((j?me(C):[].concat(m.exit,C,M.entry).filter(function(A){return A})).map(function(A){return xr(A,i._options.actions)}),g,p),3),rt=W[0],P=W[1],_=W[2],O=E??f;return{value:O,context:P,actions:rt,changed:E!==f||rt.length>0||_,matches:Ye(O)}}}}catch(A){u={error:A}}finally{try{S&&!S.done&&(c=h.return)&&c.call(h)}finally{if(u)throw u.error}}}return Pr(f,g)}};return i}const fs=ds({id:"sort",initial:ct,states:{[ct]:{on:{DIRECTION1:b,DIRECTION2:I}},[b]:{on:{DIRECTION1:I,DIRECTION2:ct}},[I]:{on:{DIRECTION1:ct,DIRECTION2:b}}}});function ms(t,e){const n=e===I?"DIRECTION2":"DIRECTION1";return fs.transition(t,n).value}function ps(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:ms(o.orders[c].direction,u.direction)}));o.sortTarget=i,o.orders=l}}}function hs(t=!1,e=K,n=K){const o=Ja();r.watch(o,a=>{if(r.unref(t)){if(a==="visible")return e();n()}})}const gs=["textContent"],ys={__name:"AdditionalStandingsText",props:{rows:{type:Array,default:()=>[]},additionalKey:{type:String,required:!0}},setup(t){const e=t,n=r.toRef(e,"rows"),{t:o,locale:a}=at(),{isVisible:i,text:s}=Yn(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,gs)):r.createCommentVNode("",!0)}},Nr={__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]])}},bs={"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 Ts(t,e){return r.openBlock(),r.createElementBlock("svg",bs,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 vr={render:Ts},Ss={"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 ws(t,e){return r.openBlock(),r.createElementBlock("svg",Ss,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 Os={render:ws},As={"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 ks(t,e){return r.openBlock(),r.createElementBlock("svg",As,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 _s={render:ks},Pt=Math.min,Tt=Math.max,pe=Math.round,he=Math.floor,it=t=>({x:t,y:t}),xs={left:"right",right:"left",bottom:"top",top:"bottom"},Ps={start:"end",end:"start"};function We(t,e,n){return Tt(t,Pt(e,n))}function Rt(t,e){return typeof t=="function"?t(e):t}function St(t){return t.split("-")[0]}function zt(t){return t.split("-")[1]}function $r(t){return t==="x"?"y":"x"}function qe(t){return t==="y"?"height":"width"}const Es=new Set(["top","bottom"]);function mt(t){return Es.has(St(t))?"y":"x"}function Ke(t){return $r(mt(t))}function Ns(t,e,n){n===void 0&&(n=!1);const o=zt(t),a=Ke(t),i=qe(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 vs(t){const e=ge(t);return[Ze(t),e,Ze(e)]}function Ze(t){return t.replace(/start|end/g,e=>Ps[e])}const Mr=["left","right"],Dr=["right","left"],$s=["top","bottom"],Ms=["bottom","top"];function Ds(t,e,n){switch(t){case"top":case"bottom":return n?e?Dr:Mr:e?Mr:Dr;case"left":case"right":return e?$s:Ms;default:return[]}}function Cs(t,e,n,o){const a=zt(t);let i=Ds(St(t),n==="start",o);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(Ze)))),i}function ge(t){return t.replace(/left|right|bottom|top/g,e=>xs[e])}function Ls(t){return{top:0,right:0,bottom:0,left:0,...t}}function Cr(t){return typeof t!="number"?Ls(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 Lr(t,e,n){let{reference:o,floating:a}=t;const i=mt(e),s=Ke(e),l=qe(s),u=St(e),c=i==="y",d=o.x+o.width/2-a.width/2,f=o.y+o.height/2-a.height/2,g=o[l]/2-a[l]/2;let p;switch(u){case"top":p={x:d,y:o.y-a.height};break;case"bottom":p={x:d,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:f};break;case"left":p={x:o.x-a.width,y:f};break;default:p={x:o.x,y:o.y}}switch(zt(e)){case"start":p[s]-=g*(n&&c?-1:1);break;case"end":p[s]+=g*(n&&c?-1:1);break}return p}const Is=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}=Lr(c,o,u),g=o,p={},m=0;for(let y=0;y<l.length;y++){const{name:h,fn:S}=l[y],{x:k,y:x,data:E,reset:N}=await S({x:d,y:f,initialPlacement:o,placement:g,strategy:a,middlewareData:p,rects:c,platform:s,elements:{reference:t,floating:e}});d=k??d,f=x??f,p={...p,[h]:{...p[h],...E}},N&&m<=50&&(m++,typeof N=="object"&&(N.placement&&(g=N.placement),N.rects&&(c=N.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):N.rects),{x:d,y:f}=Lr(c,g,u)),y=-1)}return{x:d,y:f,placement:g,strategy:a,middlewareData:p}};async function Ir(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:g=!1,padding:p=0}=Rt(e,t),m=Cr(p),h=l[g?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})),k=f==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}: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:k,offsetParent:x,strategy:u}):k);return{top:(S.top-N.top+m.top)/E.y,bottom:(N.bottom-S.bottom+m.bottom)/E.y,left:(S.left-N.left+m.left)/E.x,right:(N.right-S.right+m.right)/E.x}}const Bs=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=Cr(d),g={x:n,y:o},p=Ke(a),m=qe(p),y=await s.getDimensions(c),h=p==="y",S=h?"top":"left",k=h?"bottom":"right",x=h?"clientHeight":"clientWidth",E=i.reference[m]+i.reference[p]-g[p]-i.floating[m],N=g[p]-i.reference[p],C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let B=C?C[x]:0;(!B||!await(s.isElement==null?void 0:s.isElement(C)))&&(B=l.floating[x]||i.floating[m]);const F=E/2-N/2,j=B/2-y[m]/2-1,L=Pt(f[S],j),M=Pt(f[k],j),W=L,rt=B-y[m]-M,P=B/2-y[m]/2+F,_=We(W,P,rt),O=!u.arrow&&zt(a)!=null&&P!==_&&i.reference[m]/2-(P<W?L:M)-y[m]/2<0,A=O?P<W?P-W:P-rt:0;return{[p]:g[p]+A,data:{[p]:_,centerOffset:P-_-A,...O&&{alignmentOffset:A}},reset:O}}}),Rs=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:g,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:y=!0,...h}=Rt(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const S=St(a),k=mt(l),x=St(l)===l,E=await(u.isRTL==null?void 0:u.isRTL(c.floating)),N=g||(x||!y?[ge(l)]:vs(l)),C=m!=="none";!g&&C&&N.push(...Cs(l,y,m,E));const B=[l,...N],F=await Ir(e,h),j=[];let L=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&j.push(F[S]),f){const P=Ns(a,s,E);j.push(F[P[0]],F[P[1]])}if(L=[...L,{placement:a,overflows:j}],!j.every(P=>P<=0)){var M,W;const P=(((M=i.flip)==null?void 0:M.index)||0)+1,_=B[P];if(_&&(!(f==="alignment"?k!==mt(_):!1)||L.every(w=>w.overflows[0]>0&&mt(w.placement)===k)))return{data:{index:P,overflows:L},reset:{placement:_}};let O=(W=L.filter(A=>A.overflows[0]<=0).sort((A,w)=>A.overflows[1]-w.overflows[1])[0])==null?void 0:W.placement;if(!O)switch(p){case"bestFit":{var rt;const A=(rt=L.filter(w=>{if(C){const v=mt(w.placement);return v===k||v==="y"}return!0}).map(w=>[w.placement,w.overflows.filter(v=>v>0).reduce((v,$)=>v+$,0)]).sort((w,v)=>w[1]-v[1])[0])==null?void 0:rt[0];A&&(O=A);break}case"initialPlacement":O=l;break}if(a!==O)return{reset:{placement:O}}}return{}}}},zs=new Set(["left","top"]);async function Vs(t,e){const{placement:n,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=St(n),l=zt(n),u=mt(n)==="y",c=zs.has(s)?-1:1,d=i&&u?-1:1,f=Rt(e,t);let{mainAxis:g,crossAxis:p,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof m=="number"&&(p=l==="end"?m*-1:m),u?{x:p*d,y:g*c}:{x:g*c,y:p*d}}const Gs=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 Vs(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}}}}},Fs=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:k}=h;return{x:S,y:k}}},...u}=Rt(t,e),c={x:n,y:o},d=await Ir(e,u),f=mt(St(a)),g=$r(f);let p=c[g],m=c[f];if(i){const h=g==="y"?"top":"left",S=g==="y"?"bottom":"right",k=p+d[h],x=p-d[S];p=We(k,p,x)}if(s){const h=f==="y"?"top":"left",S=f==="y"?"bottom":"right",k=m+d[h],x=m-d[S];m=We(k,m,x)}const y=l.fn({...e,[g]:p,[f]:m});return{...y,data:{x:y.x-n,y:y.y-o,enabled:{[g]:i,[f]:s}}}}}};function be(){return typeof window<"u"}function Et(t){return Br(t)?(t.nodeName||"").toLowerCase():"#document"}function X(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function st(t){var e;return(e=(Br(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Br(t){return be()?t instanceof Node||t instanceof X(t).Node:!1}function et(t){return be()?t instanceof Element||t instanceof X(t).Element:!1}function lt(t){return be()?t instanceof HTMLElement||t instanceof X(t).HTMLElement:!1}function Rr(t){return!be()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof X(t).ShadowRoot}const js=new Set(["inline","contents"]);function Vt(t){const{overflow:e,overflowX:n,overflowY:o,display:a}=nt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!js.has(a)}const Us=new Set(["table","td","th"]);function Hs(t){return Us.has(Et(t))}const Ys=[":popover-open",":modal"];function Te(t){return Ys.some(e=>{try{return t.matches(e)}catch{return!1}})}const Ws=["transform","translate","scale","rotate","perspective"],qs=["transform","translate","scale","rotate","perspective","filter"],Ks=["paint","layout","strict","content"];function Xe(t){const e=Je(),n=et(t)?nt(t):t;return Ws.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)||qs.some(o=>(n.willChange||"").includes(o))||Ks.some(o=>(n.contain||"").includes(o))}function Zs(t){let e=pt(t);for(;lt(e)&&!Nt(e);){if(Xe(e))return e;if(Te(e))return null;e=pt(e)}return null}function Je(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Xs=new Set(["html","body","#document"]);function Nt(t){return Xs.has(Et(t))}function nt(t){return X(t).getComputedStyle(t)}function Se(t){return et(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function pt(t){if(Et(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Rr(t)&&t.host||st(t);return Rr(e)?e.host:e}function zr(t){const e=pt(t);return Nt(e)?t.ownerDocument?t.ownerDocument.body:t.body:lt(e)&&Vt(e)?e:zr(e)}function Gt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=zr(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=X(a);if(i){const l=Qe(s);return e.concat(s,s.visualViewport||[],Vt(a)?a:[],l&&n?Gt(l):[])}return e.concat(a,Gt(a,[],n))}function Qe(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Vr(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=pe(n)!==i||pe(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function tn(t){return et(t)?t:t.contextElement}function vt(t){const e=tn(t);if(!lt(e))return it(1);const n=e.getBoundingClientRect(),{width:o,height:a,$:i}=Vr(e);let s=(i?pe(n.width):n.width)/o,l=(i?pe(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Js=it(0);function Gr(t){const e=X(t);return!Je()||!e.visualViewport?Js:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Qs(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==X(t)?!1:e}function wt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),i=tn(t);let s=it(1);e&&(o?et(o)&&(s=vt(o)):s=vt(t));const l=Qs(i,n,o)?Gr(i):it(0);let u=(a.left+l.x)/s.x,c=(a.top+l.y)/s.y,d=a.width/s.x,f=a.height/s.y;if(i){const g=X(i),p=o&&et(o)?X(o):o;let m=g,y=Qe(m);for(;y&&o&&p!==m;){const h=vt(y),S=y.getBoundingClientRect(),k=nt(y),x=S.left+(y.clientLeft+parseFloat(k.paddingLeft))*h.x,E=S.top+(y.clientTop+parseFloat(k.paddingTop))*h.y;u*=h.x,c*=h.y,d*=h.x,f*=h.y,u+=x,c+=E,m=X(y),y=Qe(m)}}return ye({width:d,height:f,x:u,y:c})}function en(t,e){const n=Se(t).scrollLeft;return e?e.left+n:wt(st(t)).left+n}function Fr(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),a=o.left+e.scrollLeft-(n?0:en(t,o)),i=o.top+e.scrollTop;return{x:a,y:i}}function tl(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 p=wt(o);c=vt(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}const g=s&&!f&&!i?Fr(s,u,!0):it(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+g.x,y:n.y*c.y-u.scrollTop*c.y+d.y+g.y}}function el(t){return Array.from(t.getClientRects())}function nl(t){const e=st(t),n=Se(t),o=t.ownerDocument.body,a=Tt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=Tt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+en(t);const l=-n.scrollTop;return nt(o).direction==="rtl"&&(s+=Tt(e.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:l}}function rl(t,e){const n=X(t),o=st(t),a=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,l=0,u=0;if(a){i=a.width,s=a.height;const c=Je();(!c||c&&e==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:i,height:s,x:l,y:u}}const ol=new Set(["absolute","fixed"]);function al(t,e){const n=wt(t,!0,e==="fixed"),o=n.top+t.clientTop,a=n.left+t.clientLeft,i=lt(t)?vt(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 jr(t,e,n){let o;if(e==="viewport")o=rl(t,n);else if(e==="document")o=nl(st(t));else if(et(e))o=al(e,n);else{const a=Gr(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return ye(o)}function Ur(t,e){const n=pt(t);return n===e||!et(n)||Nt(n)?!1:nt(n).position==="fixed"||Ur(n,e)}function il(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?pt(t):t;for(;et(s)&&!Nt(s);){const l=nt(s),u=Xe(s);!u&&l.position==="fixed"&&(a=null),(i?!u&&!a:!u&&l.position==="static"&&!!a&&ol.has(a.position)||Vt(s)&&!u&&Ur(t,s))?o=o.filter(d=>d!==s):a=l,s=pt(s)}return e.set(t,o),o}function sl(t){let{element:e,boundary:n,rootBoundary:o,strategy:a}=t;const s=[...n==="clippingAncestors"?Te(e)?[]:il(e,this._c):[].concat(n),o],l=s[0],u=s.reduce((c,d)=>{const f=jr(e,d,a);return c.top=Tt(f.top,c.top),c.right=Pt(f.right,c.right),c.bottom=Pt(f.bottom,c.bottom),c.left=Tt(f.left,c.left),c},jr(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function ll(t){const{width:e,height:n}=Vr(t);return{width:e,height:n}}function cl(t,e,n){const o=lt(e),a=st(e),i=n==="fixed",s=wt(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const u=it(0);function c(){u.x=en(a)}if(o||!o&&!i)if((Et(e)!=="body"||Vt(a))&&(l=Se(e)),o){const p=wt(e,!0,i,e);u.x=p.x+e.clientLeft,u.y=p.y+e.clientTop}else a&&c();i&&!o&&a&&c();const d=a&&!o&&!i?Fr(a,l):it(0),f=s.left+l.scrollLeft-u.x-d.x,g=s.top+l.scrollTop-u.y-d.y;return{x:f,y:g,width:s.width,height:s.height}}function nn(t){return nt(t).position==="static"}function Hr(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 Yr(t,e){const n=X(t);if(Te(t))return n;if(!lt(t)){let a=pt(t);for(;a&&!Nt(a);){if(et(a)&&!nn(a))return a;a=pt(a)}return n}let o=Hr(t,e);for(;o&&Hs(o)&&nn(o);)o=Hr(o,e);return o&&Nt(o)&&nn(o)&&!Xe(o)?n:o||Zs(t)||n}const ul=async function(t){const e=this.getOffsetParent||Yr,n=this.getDimensions,o=await n(t.floating);return{reference:cl(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function dl(t){return nt(t).direction==="rtl"}const fl={convertOffsetParentRelativeRectToViewportRelativeRect:tl,getDocumentElement:st,getClippingRect:sl,getOffsetParent:Yr,getElementRects:ul,getClientRects:el,getDimensions:ll,getScale:vt,isElement:et,isRTL:dl};function Wr(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function ml(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:g,height:p}=c;if(l||e(),!g||!p)return;const m=he(f),y=he(a.clientWidth-(d+g)),h=he(a.clientHeight-(f+p)),S=he(d),x={rootMargin:-m+"px "+-y+"px "+-h+"px "+-S+"px",threshold:Tt(0,Pt(1,u))||1};let E=!0;function N(C){const B=C[0].intersectionRatio;if(B!==u){if(!E)return s();B?s(!1,B):o=setTimeout(()=>{s(!1,1e-7)},1e3)}B===1&&!Wr(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 pl(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=tn(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?ml(c,n):null;let g=-1,p=null;s&&(p=new ResizeObserver(S=>{let[k]=S;k&&k.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(e)})),n()}),c&&!u&&p.observe(c),p.observe(e));let m,y=u?wt(t):null;u&&h();function h(){const S=wt(t);y&&!Wr(y,S)&&n(),y=S,m=requestAnimationFrame(h)}return n(),()=>{var S;d.forEach(k=>{a&&k.removeEventListener("scroll",n),i&&k.removeEventListener("resize",n)}),f?.(),(S=p)==null||S.disconnect(),p=null,u&&cancelAnimationFrame(m)}}const hl=Gs,gl=Fs,yl=Rs,qr=Bs,bl=(t,e,n)=>{const o=new Map,a={platform:fl,...n},i={...a.platform,_c:o};return Is(t,e,{...a,platform:i})};function Kr(t,e="body"){if(!t)return;if(typeof e!="string"){e?.append(t);return}document.querySelector(e)?.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 Sl({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),g=r.ref(n??"absolute"),p=r.ref(null),m=()=>{!i.value||!s.value||bl(i.value,s.value,{middleware:t,placement:e,strategy:n}).then(h=>{l.value=h.x,u.value=h.y,g.value=h.strategy,c.value=h.middlewareData.arrow.x,d.value=h.middlewareData.arrow.y,f.value=h.placement})};r.watch(()=>({reference:r.unref(i),floating:r.unref(s),append:r.unref(o)}),({floating:h,append:S})=>{S&&Kr(h,S),m()},{flush:"post"}),r.watch(a,h=>{if(!(!i.value||!s.value)){if(!h)return y();p.value=pl(i.value,s.value,m,{})}},{flush:"post"});function y(){p.value?.(),p.value=null}return{x:l,y:u,arrowX:c,arrowY:d,placement:f,reference:i,floating:s,strategy:g,update:m}}function wl(t){const{element:e,padding:n}=t;return{name:"arrow",options:t,fn(o){return r.isRef(e)?e.value!=null?qr({element:e.value,padding:n}).fn(o):{}:e?qr({element:e,padding:n}).fn(o):{}}}}const Ol=["data-placement"],rn={__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}=Sl({placement:e.placement,middleware:[yl(),gl({padding:5}),hl(e.offset),wl({element:o,padding:5})],append:r.computed(()=>e.appendTo),enabled:n});function g(){e.disabled||n.value||(n.value=!0)}function p(h){n.value&&h&&(n.value=!1)}function m(h){c.value=h}const y={mouseenter:g,mouseleave:p,focus:g,blur:p};return Xa(d,h=>{c.value?.contains(h.target)||p()}),(h,S)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.renderSlot(h.$slots,"default",{setRef:m,show:g,hide:p,events:y}),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:p},()=>[r.createTextVNode(r.toDisplayString(t.content),1)]),t.isArrowVisible?(r.openBlock(),r.createElementBlock("div",{key:0,ref_key:"arrowRef",ref:o,class:"is-arrow",style:r.normalizeStyle({position:r.unref(f),top:r.unref(l)?`${r.unref(l)}px`:"",left:r.unref(s)?`${r.unref(s)}px`:""})},null,4)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0)]),_:3})],12,Ol)],64))}},Al={class:"table"},kl=["tabindex","onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown"],_l={key:0},xl=["colspan"],Pl={key:1},El=["colspan"],on={__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=sr(a,{delay:yn}),{t:l}=at(),u=r.computed(()=>n.columns),c=r.computed(()=>Object.keys(n.columns).length);function d(f,g){f.sortOrders&&o("sort",{target:g,orders:f.sortOrders})}return(f,g)=>(r.openBlock(),r.createElementBlock("table",Al,[r.createElementVNode("thead",null,[r.createElementVNode("tr",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(p,m)=>(r.openBlock(),r.createBlock(rn,{key:m,placement:"top",content:p.tooltip,disabled:!p.tooltip,"append-to":r.unref(i)},{default:r.withCtx(({setRef:y,show:h,hide:S})=>[r.createElementVNode("th",{ref_for:!0,ref:y,class:r.normalizeClass([[p.class],{"is-active":m===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ct),"is-sortable":p.sortOrders,"is-desc":m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b),"is-asc":m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(I)}]),tabindex:p.sortOrders?0:-1,role:"button",onMouseenter:h,onMouseleave:S,onFocus:h,onBlur:S,onClick:k=>d(p,m),onKeydown:[r.withKeys(r.withModifiers(k=>d(p,m),["prevent"]),["space"]),r.withKeys(r.withModifiers(k=>d(p,m),["prevent"]),["enter"])]},[r.renderSlot(f.$slots,`header-${m}`,{column:p},()=>[r.createTextVNode(r.toDisplayString(p.label),1)]),p.sortOrders&&m!==t.sort.sortTarget?(r.openBlock(),r.createBlock(r.unref(vr),{key:0,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(ct)?(r.openBlock(),r.createBlock(r.unref(vr),{key:1,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b)?(r.openBlock(),r.createBlock(r.unref(Os),{key:2,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(I)?(r.openBlock(),r.createBlock(r.unref(_s),{key:3,class:"is-icon-sort"})):r.createCommentVNode("",!0)],42,kl)]),_:2},1032,["content","disabled","append-to"]))),128))])]),r.createElementVNode("tbody",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.rows,(p,m)=>(r.openBlock(),r.createElementBlock("tr",{key:m,class:r.normalizeClass(p.rowClasses)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(y,h)=>(r.openBlock(),r.createElementBlock("td",{key:h,class:r.normalizeClass([[y.class],{"is-active":h===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ct),"is-zero":p[h]===0||p[h]==="00:00"}])},[r.renderSlot(f.$slots,`cell-${h}`,{row:p,prop:h},()=>[r.createTextVNode(r.toDisplayString(p[h]),1)])],2))),128))],2))),128))]),r.unref(s)&&t.rows.length===0?(r.openBlock(),r.createElementBlock("tfoot",_l,[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,xl)])])):r.createCommentVNode("",!0),t.rows.length===0&&!r.unref(a)&&!r.unref(s)?(r.openBlock(),r.createElementBlock("tfoot",Pl,[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,El)])])):r.createCommentVNode("",!0)]))}},Nl={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 vl(t,e){return r.openBlock(),r.createElementBlock("svg",Nl,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 $l={render:vl},Ml={class:"error-notice"},Dl=["textContent"],Cl={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})},useRetry:{type:Boolean,default:!1}},emits:["retry"],setup(t){const e=t,{t:n,hasTranslation:o}=at(),a=r.computed(()=>o(`errors.${e.error.key}`)?n(`errors.${e.error.key}`,e.error.cause||[e.error?.message]):e.error?.message);return(i,s)=>(r.openBlock(),r.createElementBlock("div",Ml,[r.createVNode(r.unref($l),{class:"icon",width:"20",height:"20"}),r.createElementVNode("span",null,r.toDisplayString(a.value),1),t.useRetry?(r.openBlock(),r.createElementBlock("button",{key:0,type:"button",onClick:s[0]||(s[0]=l=>i.$emit("retry")),textContent:r.toDisplayString(r.unref(n)("common.retry"))},null,8,Dl)):r.createCommentVNode("",!0)]))}},Ll={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:o}=tr();return(a,i)=>r.renderSlot(a.$slots,"default",{message:r.unref(e),error:r.unref(o),hasError:r.unref(n)})}},Il={errors:{"undefined-column":"The {column} column is not exists!","invalid-season-name":"Invalid season name","api-key-not-found":"API Key not found",gameData:"Game Data: {0}",gameStats:"Game Stats: {0}",gameEvents:"Game Events: {0}",gameOfficials:"Game Officials : {0}"},common:{loading:"Loading...",noData:"No data to display",selectTimezone:"*All times are displayed according to your computer's time zone ({timezone}). Change: ",hungary:"Hungary",romania:"Romania",shootoutShort:"SO",overtimeShort:"OT",all:"All",report:"Report Sheet",video:"Video",retry:"Try Again"},additionalText:{inheritedPoints:{prependix:"",content:"{team} has {points} extra point(s)",appendix:"based on its results in the previous championship phase."},penaltyPoints:{prependix:"* ",content:"{points} point(s) deducted from team {team}",appendix:"based on the decision of the Disciplinary Committee."}},table:{blank:"#",info:"{min} to {max} of {total} entries",team:{short:"Team",tooltip:"Team name"},game:{short:"GP",tooltip:"Game Played"},wins:{short:"W",tooltip:"Wins"},draw:{short:"D",tooltip:"Draw"},otw:{short:"OTW",tooltip:"Overtime Wins"},sow:{short:"SOW",tooltip:"Shoot Out Wins"},sol:{short:"SOL",tooltip:"Shoot Out Losses"},otl:{short:"OTL",tooltip:"Overtime Losses"},losses:{short:"L",tooltip:"Losses"},goalFor:{short:"GF",tooltip:"Goals For"},goalAgainst:{short:"GA",tooltip:"Goals Against"},goalDiff:{short:"GD",tooltip:"Goal Differential"},points:{short:"P",tooltip:"Points"},name:{short:"Name",tooltip:"Player name"},goals:{short:"G",tooltip:"Goals"},assists:{short:"A",tooltip:"Assists"},plusMinus:{short:"+/-",tooltip:"Plus/Minus"},sog:{short:"S",tooltip:"Shots on Goal"},so:{short:"SO",tooltip:"Shutouts"},sogPercent:{short:"S%",tooltip:"Shooting percentage"},gameName:{short:"#",tooltip:"Game name"},gameDate:{short:"Date",tooltip:"Scheduled Date"},gameDateTime:{short:"*Time ({offsetName})",tooltip:"Scheduled Time (Offset Name)"},homeTeam:{short:"Home",tooltip:"Home Team"},awayTeam:{short:"Away",tooltip:"Away Team"},location:{short:"Location",tooltip:"Game Location"},broadcast:{short:"Broadcast",tooltip:"Television Broadcast"},minorPenalties:{short:"MINOR",tooltip:"Penalties Minor"},majorPenalties:{short:"MAJOR",tooltip:"Penalties Major"},misconducts:{short:"MISC",tooltip:"Penalties Misconduct"},gameMisconducts:{short:"GA-MI",tooltip:"Penalties Game Misconduct"},matchPenalties:{short:"MATCH",tooltip:"Penalties Match"},pim:{short:"PIM",tooltip:"Penalty Minutes"},pimPerGame:{short:"PIM/G",tooltip:"Penalty Minutes per Game"},gpgk:{short:"GP",tooltip:"Games Played"},gpi:{short:"GPI",tooltip:"Games Played In"},toi:{short:"TOI",tooltip:"Time On Ice"},toiPercent:{short:"TOI%",tooltip:"Time On Ice as Percentage"},ga:{short:"GA",tooltip:"Goals Against"},gaa:{short:"GAA",tooltip:"Goals Against Average"},sa:{short:"SA",tooltip:"Shots Against"},svs:{short:"SVS",tooltip:"Saves"},svsPercent:{short:"SV%",tooltip:"Save Percentage"},homeHeader:{short:"Home:",tooltip:""},awayHeader:{short:"Away:",tooltip:""},totalHeader:{short:"Total:",tooltip:""},homeGame:{short:"GP",tooltip:"Home Games Played"},awayGame:{short:"GP",tooltip:"Away Games Played"},totalGame:{short:"GP",tooltip:"Total Games Played"},homeAttendance:{short:"Att",tooltip:"Home Attendance"},awayAttendance:{short:"Att",tooltip:"Away Attendance"},totalAttendance:{short:"Att",tooltip:"Total Attendance"},homeAttendanceAvg:{short:"Avg",tooltip:"Home Average Attendance"},awayAttendanceAvg:{short:"Avg",tooltip:"Away Average Attendance"},totalAttendanceAvg:{short:"Avg",tooltip:"Total Average Attendance"},powerplayDisadvantages:{short:"DVG",tooltip:"Disadvantages (Number of Times Shorthanded)"},dvgTime:{short:"DVG-T",tooltip:"Disadvantages Time"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Disadvantages Time (Period of PP1)"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Disadvantages Time (Period of PP2)"},ppga:{short:"PPGA",tooltip:"Powerplay Goals Against"},shgf:{short:"SHGF",tooltip:"Shorthanded Goals For"},pkPercent:{short:"PK%",tooltip:"Penalty Killing Percentage"},adv:{short:"ADV",tooltip:"Advantages (Times on Powerplay)"},advTime:{short:"ADV-T",tooltip:"Advantages Time (Period of Powerplay)"},advTimePP1:{short:"ADV-T PP1",tooltip:"Advantages Time (Period of PP1)"},advTimePP2:{short:"ADV-T PP2",tooltip:"Advantages Time (Period of PP2)"},ppgf:{short:"PPGF",tooltip:"Powerplay Goals For"},shga:{short:"SHGA",tooltip:"Shorthanded Goals Against"},ppPercent:{short:"PP%",tooltip:"Powerplay Percentage"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Shots Against per Game"},jerseyNumber:{short:"#",tooltip:"Jersey Number"},row:{short:"Row",tooltip:"Row"},position:{short:"Position",tooltip:"Position"},teamOfficials:{short:"Team officials",tooltip:"Team officials"},score:{short:"Score",tooltip:"Actual Game Score"},opponent:{short:"Opponent",tooltip:"Opponent"},result:{short:"Result",tooltip:"Result"},resultType:{short:"#",tooltip:"Result Type"},atoi:{short:"ATOI",tooltip:"Average Time On Ice"},shf:{short:"SHF",tooltip:"Shifts"},ashf:{short:"ASHF",tooltip:"Average Shifts"},eqToi:{short:"EQ-TOI",tooltip:"Time On Ice in Equal"},pp1Toi:{short:"PP1-TOI",tooltip:"Time On Ice in PowerPlay 1"},pp2Toi:{short:"PP2-TOI",tooltip:"Time On Ice in PowerPlay 2"},sh1Toi:{short:"SH1-TOI",tooltip:"Time On Ice in Shorthanded 1"},sh2Toi:{short:"SH2-TOI",tooltip:"Time On Ice in Shorthanded 2"},eqAToi:{short:"EQ-A-TOI",tooltip:"Average Time On Ice in Equal"},pp1AToi:{short:"PP1-A-TOI",tooltip:"Average Time On Ice in PowerPlay 1"},pp2AToi:{short:"PP2-A-TOI",tooltip:"Average Time On Ice in PowerPlay 2"},sh1AToi:{short:"SH1-A-TOI",tooltip:"Average Time On Ice in Shorthanded 1"},sh2AToi:{short:"SH2-A-TOI",tooltip:"Average Time On Ice in Shorthanded 2"},role:{short:"Role",tooltip:"Role"}},game:{data:{localTime:"Game local time"},status:{jury:"Jury result",delayed:"Game delayed"},period:{wu:"Preparation",pre:"Preparation Ended",p1:"First Period",p1_int:"First Period Ended",p2:"Second Period",p2_int:"Second Period Ended",p3:"Third Period",p3_int:"Third Period Ended",p4:"Fourth Period",p4_int:"Fourth Period Ended",p5:"Fifth Period",p5_int:"Fifth Period Ended",p6:"Sixth Period",p6_int:"Sixth Period Ended",ot:"Overtime",ot_int:"Overtime Ended",so:"Shoot Out",so_int:"Shoot Out Ended",end:"Game Ended",Bemelegítés:"Warm-up","Bemelegítés vége":"Warm-up End","1. harmad":"First period","1. harmad vége":"First period End","2. harmad":"Second period","2. harmad vége":"Second period End","3. harmad":"Third period","3. harmad vége":"Third period End","4. harmad":"IV. period","4. harmad vége":"IV. period End","5. harmad":"V. period","5. harmad vége":"V. period End","6. harmad":"VI. period","6. harmad vége":"VI. period End",Hosszabbítás:"Overtime","Hosszabbítás vége":"Overtime End",Büntetőlövések:"Penalty Shot",Végeredmény:"Game Completed",Szétlövés:"Shoot Out"}}},Bl={errors:{"undefined-column":"A(z) {column} oszlop nem létezik!","invalid-season-name":"Érvénytelen szezon név","api-key-not-found":"API Kulcs nem megfelelő",gameData:"Game Data: {0}",gameStats:"Game Stats: {0}",gameEvents:"Game Events: {0}",gameOfficials:"Game Officials: {0}"},common:{loading:"Töltődés...",noData:"Nincs megjeleníthető adat",selectTimezone:"*Minden időpont a számítógép időzónája szerint jelenik meg ({timezone}). Váltás: ",hungary:"Magyarország",romania:"Románia",shootoutShort:"SO",overtimeShort:"OT",all:"Mind",report:"Jegyzőkönyv",video:"Videó",retry:"Újra"},additionalText:{inheritedPoints:{prependix:"A megelőző bajnokság szakaszban elért eredménye alapján",content:"{team} csapata {points}",appendix:"többletponttal rendelkezik."},penaltyPoints:{prependix:"* Fegyelmi Bizottság döntése alapján:",content:"{team} csapatától {points} pont",appendix:"levonva."}},table:{blank:"#",info:"{min} - {max} / {total} db",team:{short:"Csapat",tooltip:"Csapatnév"},game:{short:"GP",tooltip:"Mérkőzésszám"},wins:{short:"W",tooltip:"Győzelem"},draw:{short:"D",tooltip:"Döntetlen"},otw:{short:"OTW",tooltip:"Győzelem Hosszabbításban"},sow:{short:"SOW",tooltip:"Győzelem Szétlövésben"},sol:{short:"SOL",tooltip:"Vereség Szétlövésben"},otl:{short:"OTL",tooltip:"Vereség Hosszabbításban"},losses:{short:"L",tooltip:"Vereség"},goalFor:{short:"GF",tooltip:"Szerzett Gól"},goalAgainst:{short:"GA",tooltip:"Kapott Gól"},goalDiff:{short:"GD",tooltip:"Gólkülönbség"},name:{short:"Név",tooltip:"Játékosnév"},goals:{short:"G",tooltip:"Gólok"},assists:{short:"A",tooltip:"Gólpasszok"},points:{short:"P",tooltip:"Pontok"},plusMinus:{short:"+/-",tooltip:"Plussz/Minusz"},sog:{short:"S",tooltip:"Lövések"},so:{short:"SO",tooltip:"Kapott gól nélküli mérkőzések"},sogPercent:{short:"S%",tooltip:"Lövés Hatékonyság"},gameName:{short:"#",tooltip:"Mérkőzés Sorszáma"},gameDate:{short:"Dátum",tooltip:"Mérkőzés Dátuma"},gameDateTime:{short:"*Idő ({offsetName})",tooltip:"Mérkőzés kezdési ideje (Zóna neve)"},homeTeam:{short:"Hazai",tooltip:"Hazai Csapat"},awayTeam:{short:"Vendég",tooltip:"Vendég Csapat"},location:{short:"Helyszín",tooltip:"Mérkőzés Helyszíne"},broadcast:{short:"TV",tooltip:"TV Közvetítés"},minorPenalties:{short:"MINOR",tooltip:"Kisbüntetés (2p)"},majorPenalties:{short:"MAJOR",tooltip:"Büntetés (5p)"},misconducts:{short:"MISC",tooltip:"Fegyelmi büntetés (10p)"},gameMisconducts:{short:"GA-MI",tooltip:"Fegyelmi büntetés (20p)"},matchPenalties:{short:"MATCH",tooltip:"Végleges kiállítások (25p)"},pim:{short:"BÜP",tooltip:"Büntetés Percek"},pimPerGame:{short:"BÜP/M",tooltip:"Mérkőzésenkénti Büntetés Percek"},gpgk:{short:"GP",tooltip:"Mérkőzésre Nevezve"},gpi:{short:"GPI",tooltip:"Mérkőzésen Játszott"},toi:{short:"TOI",tooltip:"Jégen Töltött Idő"},toiPercent:{short:"TOI%",tooltip:"Jégen Töltött Idő Százalék"},ga:{short:"GA",tooltip:"Kapott Gól"},gaa:{short:"GAA",tooltip:"Kapott Gólátlag"},sa:{short:"SA",tooltip:"Kapott Lövés"},svs:{short:"SVS",tooltip:"Védett Lövés"},svsPercent:{short:"VH%",tooltip:"Védés Hatékonyság"},homeHeader:{short:"Hazai:",tooltip:""},awayHeader:{short:"Vendég:",tooltip:""},totalHeader:{short:"Összes:",tooltip:""},homeGame:{short:"M",tooltip:"Hazai Mérkőzés"},awayGame:{short:"M",tooltip:"Vendég Mérkőzés"},totalGame:{short:"M",tooltip:"Összes Mérkőzés"},homeAttendance:{short:"Nézőszám",tooltip:"Hazai Néző"},awayAttendance:{short:"Nézőszám",tooltip:"Vendég Néző"},totalAttendance:{short:"Nézőszám",tooltip:"Összes Néző"},homeAttendanceAvg:{short:"Átlag",tooltip:"Hazi Néző Átlag"},awayAttendanceAvg:{short:"Átlag",tooltip:"Vendég Néző Átlag"},totalAttendanceAvg:{short:"Átlag",tooltip:"Összes Néző Átlag"},powerplayDisadvantages:{short:"DVG",tooltip:"Emberhátrányok"},dvgTime:{short:"DVG-T",tooltip:"Emberhátrányban Töltött Idő"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Szimpla emberhátrányban töltött idő"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Kettős emberhátrányban töltött idő"},ppga:{short:"PPGA",tooltip:"Emberhátrányban kapott gólok"},shgf:{short:"SHGF",tooltip:"Emberhátrányban szerzett gól"},pkPercent:{short:"PK%",tooltip:"Emberhátrány kivédekezés"},adv:{short:"ADV",tooltip:"Emberelőnyök száma"},advTime:{short:"ADV-T",tooltip:"Emberelőnyben töltött idő"},advTimePP1:{short:"ADV-T PP1",tooltip:"Szimpla emberelőnyben töltött idő"},advTimePP2:{short:"ADV-T PP2",tooltip:"Kettős emberelőnyben töltött idő"},ppgf:{short:"PPGF",tooltip:"Emberelőnyben szerzett gólok"},shga:{short:"SHGA",tooltip:"Emberelőnyben kapott gólok"},ppPercent:{short:"PP%",tooltip:"Emberelőny kihasználás"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Átlagos kapott lövésszám"},jerseyNumber:{short:"#",tooltip:"Mezszám"},row:{short:"Sor",tooltip:"Sor"},position:{short:"Po",tooltip:"Poszt"},teamOfficials:{short:"Hivatalos Személyek",tooltip:"Hivatalos Személyek"},score:{short:"Eredmény",tooltip:"Aktuális eredmény"},opponent:{short:"Ellenfél",tooltip:"Ellenfél"},result:{short:"Eredmény",tooltip:"Végeredmény"},resultType:{short:"#",tooltip:"Végeredmény típusa"},atoi:{short:"ATOI",tooltip:"Átlagos jégen töltött idő"},shf:{short:"SHF",tooltip:"Jégre lépések száma"},ashf:{short:"ASHF",tooltip:"Jégre lépések száma átlagosan"},eqToi:{short:"EQ-TOI",tooltip:"Jégen töltött idő azonos létszámban"},pp1Toi:{short:"PP1-TOI",tooltip:"Jégen töltött idő egyszeres emberelőnyben"},pp2Toi:{short:"PP2-TOI",tooltip:"Jégen töltött idő kétszeres emberelőnyben"},sh1Toi:{short:"SH1-TOI",tooltip:"Jégen töltött idő egyszeres emberhátrányban"},sh2Toi:{short:"SH2-TOI",tooltip:"Jégen töltött idő kétszeres emberhátrányban"},eqAToi:{short:"EQ-A-TOI",tooltip:"Átlagos jégen töltött idő azonos létszámban"},pp1AToi:{short:"PP1-A-TOI",tooltip:"Átlagos jégen töltött idő egyszeres emberelőnyben"},pp2AToi:{short:"PP2-A-TOI",tooltip:"Átlagos jégen töltött idő kétszeres emberelőnyben"},sh1AToi:{short:"SH1-A-TOI",tooltip:"Átlagos jégen töltött idő egyszeres emberhátrányban"},sh2AToi:{short:"SH2-A-TOI",tooltip:"Átlagos jégen töltött idő kétszeres emberhátrányban"},role:{short:"Szerep",tooltip:"Szerep"}},game:{data:{localTime:"Helyszín szerinti idő"},status:{jury:"Versenybíróság",delayed:"Elhalasztva"},period:{wu:"Bemelegítés",pre:"Bemelegítés vége",p1:"I. játékrész",p1_int:"I. játékrész vége",p2:"II. játékrész",p2_int:"II. játékrész vége",p3:"III. játékrész",p3_int:"III. játékrész vége",p4:"IV. játékrész",p4_int:"IV. játékrész vége",p5:"V. játékrész",p5_int:"V. játékrész vége",p6:"VI. játékrész",p6_int:"VI. játékrész vége",ot:"Hosszabbítás",ot_int:"Hosszabbítás vége",so:"Szétlövés",so_int:"Szétlövés vége",end:"Végeredmény",Bemelegítés:"Bemelegítés","Bemelegítés vége":"Bemelegítés Vége","1. harmad":"I. harmad","1. harmad vége":"I. harmad Vége","2. harmad":"II. harmad","2. harmad vége":"II. harmad Vége","3. harmad":"III. harmad","3. harmad vége":"III. harmad Vége","4. harmad":"IV. harmad","4. harmad vége":"IV. harmad Vége","5. harmad":"V. harmad","5. harmad vége":"V. harmad Vége","6. harmad":"VI. harmad","6. harmad vége":"VI. harmad Vége",Hosszabbítás:"Hosszabbítás","Hosszabbítás vége":"Hosszabbítás vége",Büntetők:"Szétlövés","Büntetők vége":"Szétlövés vége",Végeredmény:"Végeredmény",Szétlövés:"Szétlövés"}}},Rl=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},zl=r.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=Gn({hu:Bl,en:Il},t.messages),{translate:n}=qn({locale:r.computed(()=>t.locale),messages:e});return{translate:n}}});function Vl(t,e,n,o,a,i){return r.renderSlot(t.$slots,"default",{t:t.translate})}const Gl=Rl(zl,[["render",Vl]]),Fl=["src"],jl=["src","title"],Ot=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}=ti(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,Fl)):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,jl))],64))}}),Ul={class:"loading-indicator"},an={__name:"LoadingIndicator",setup(t){const{t:e}=at();return(n,o)=>(r.openBlock(),r.createElementBlock("div",Ul,r.toDisplayString(r.unref(e)("common.loading")),1))}},Hl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function Yl(t,e){return r.openBlock(),r.createElementBlock("svg",Hl,e[0]||(e[0]=[r.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1)]))}const Wl={render:Yl},ql={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function Kl(t,e){return r.openBlock(),r.createElementBlock("svg",ql,e[0]||(e[0]=[r.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1)]))}const Zl={render:Kl},Xl={key:0,class:"paginator"},Jl=["disabled"],Ql=["disabled"],tc={key:1,class:"is-disabled"},ec=["disabled","onClick"],nc={key:2,class:"is-disabled"},rc=["disabled"],oc=["disabled"],ac={__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}=is({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",Xl,[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(Wl),{class:"icon paginator-left"})])],8,Jl),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,Ql)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",tc," ... ")),(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:g=>r.unref(l)(f)},r.toDisplayString(f),11,ec))),128)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",nc,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,rc)),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(Zl),{class:"icon paginator-left"})])],8,oc)])):r.createCommentVNode("",!0)}},sn={__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))}},ic={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 sc(t,e){return r.openBlock(),r.createElementBlock("svg",ic,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 lc={render:sc},cc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function uc(t,e){return r.openBlock(),r.createElementBlock("svg",cc,e[0]||(e[0]=[r.createElementVNode("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 dc={render:uc},fc={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 mc(t,e){return r.openBlock(),r.createElementBlock("svg",fc,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 pc={render:mc},hc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function gc(t,e){return r.openBlock(),r.createElementBlock("svg",hc,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 yc={render:gc};function bc(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(Ie(l),Wt(e)):Xt(ut(l),Hn,Ta(Hn(e)))),i=Yo(l=>l.name?xa(Oa("name"),Pa(",",""),l):l),s=$e(Xt(i,Ho([...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=ba(Wt(I),In(Ce),In(la));return this.result=Un(e.orders.map(o=>Rn(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:Rc(e)})),this},teamName(){return this.result=this.result.map(e=>({...e,teamName:e.team.longName})),this},schedule(e="",n="hu"){return this.result=this.result.map(o=>({...o,gameResult:`${o.homeTeamScore}-${o.awayTeamScore}`,gameDateDate:bt(o.gameDate,"L dddd",e,n),gameDateTime:bt(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`]=je(n[o]):n),n)),this},groupByDays(){return this.currentItems=this.result.length,this.result=ya(e=>bt(e.gameDate,"YYYY-MM-DD"))(this.result),this},slice(e=3){return this.result=this.result.slice(0,e),this}}}const Tc=(t,...e)=>ft(Rn(...e))(t);function Sc(t){return{...t,...t.lastName&&t.firstName&&{name:`${t.lastName} ${t.firstName}`},...t.player?.playerId&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.id&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.nationality&&{name:t.player?.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`},...t.nationality&&{name:t.nationality.includes("hu")?`${t.lastName} ${t.firstName}`:`${t.lastName}, ${t.firstName}`}}}function wc(t){return{...t,...t?.team?.id&&{teamName:t.team.longName}}}function Oc(t="",e="hu"){return n=>({...n,gameDateDate:bt(n.gameDate,"L dddd",t,e),gameDateTime:bt(n.gameDate,"HH:mm",t,e)})}function Ac(t){return e=>({...e,gameResult:Lc(e)})}function kc(t){return{...t,opponent:Cc(t)}}function _c(t){return{...t,resultType:Ic(t)}}function xc(t){return{...t,rowClasses:t.optional?"is-optional":""}}function Pc(t=[]){return e=>({...e,[t]:e[t]?.toUpperCase()})}function Ec(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Sec`]=je(e[n]):e),e)}function Nc(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Min`]=Ar(e[n]):e),e)}function vc(t=[]){return e=>(t.map(n=>e[`${n}Min`]=Or(e[n])),e)}function $c(t){return{...t,periodResults:t.result?.match(/\(.*?\)/)?.[0]??""}}const Mc=Un([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Ce(ut("id")),Ce(ut("gameId"))]),Dc=Ea((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function Cc(t){return[t.isHomeGame?null:"@",t.opponent?.shortName].join(" ")}function Lc(t){let e=t?.homeTeamScore,n=t?.awayTeamScore;return t.isHomeGame||(e=t?.awayTeamScore,n=t?.homeTeamScore),[e,n].join(":")}function Ic(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 Bc(t){return t.map(e=>({phaseId:e.phaseId,phaseName:Object.values({phaseName:e.phaseName,...e.phaseType?.phaseTypeName&&e.phaseType.phaseTypeName!==e.phaseName&&{phaseTypeName:e.phaseType.phaseTypeName},...e.phaseSubType?.phaseSubTypeName&&{phaseSubTypeName:e.phaseSubType.phaseSubTypeName}}).join("-")}))}function Rc(t){return t.player?t.player.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`:`${t.lastName} ${t.firstName}`}class ln 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:{}}},zc={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}};function Vc(t){return`${Oe.replace("https","wss").replace("/vbr","")}${t}`}const jt=(t="")=>window?.__MJSZ_VBR_WIDGET__?.[t];function Gc(t,e={}){if(e.externalGameUrl)return e.externalGameUrl;const n=jt("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||cn,e))}function Fc(t,e={}){const n=jt("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||fn,e))}function jc(t,e={}){const n=jt("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||dn,e))}function Uc(t,e={}){return typeof t=="function"?t(e):encodeURI(dt(t||mn,e))}const Hc=(t,e="1x1")=>`${pn}/flag:${t}-${e}.svg`;function Yc(t){return t||(jt("apiKey")?jt("apiKey"):"")}function Wc(){window.scrollTo(0,0)}const qc={class:"is-team-name-long"},Kc={class:"is-team-name-short"},Zc={class:"is-team-name-long"},Xc={class:"is-team-name-short"},Jc={key:0,class:"is-text-dark"},Qc=["href","target"],tu={key:0,class:"label"},eu={key:1,class:"label"},nu={key:2,class:"label"},ru={key:1},ou=["onClick","onFocus","onBlur"],au={class:"is-dropdown-menu"},iu=["href","target"],su={key:0},lu=["href"],cu={__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}=ze(),{columns:a,error:i}=Re(bn,r.computed(()=>e.hideColumns),r.computed(()=>({offsetName:e.offsetName})));Ka(i,()=>o(new ln(Ft.message,{...Ft.options,cause:{column:i.value}})),{immediate:!0});const{t:s}=at();return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(sn,null,{default:r.withCtx(({el:c})=>[r.createVNode(on,{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",qc,r.toDisplayString(d.homeTeam.longName),1),r.createElementVNode("span",Kc,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",Zc,r.toDisplayString(d.awayTeam.longName),1),r.createElementVNode("span",Xc,r.toDisplayString(d.awayTeam.shortName),1)],64)):r.createCommentVNode("",!0)]),"cell-homeTeamLogo":r.withCtx(({row:d})=>[d.homeTeam?(r.openBlock(),r.createBlock(Ot,{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(Ot,{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",Jc,"-:-")):(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,Qc))]),"cell-gameResultType":r.withCtx(({row:d})=>[d.isOvertime?(r.openBlock(),r.createElementBlock("span",tu,r.toDisplayString(r.unref(s)("common.overtimeShort")),1)):r.createCommentVNode("",!0),d.isShootout?(r.openBlock(),r.createElementBlock("span",eu,r.toDisplayString(r.unref(s)("common.shootoutShort")),1)):r.createCommentVNode("",!0),d.seriesStandings?(r.openBlock(),r.createElementBlock("span",nu,r.toDisplayString(d.seriesStandings),1)):r.createCommentVNode("",!0)]),"cell-broadcast":r.withCtx(({row:d})=>[d.broadcast?(r.openBlock(),r.createBlock(r.unref(lc),{key:0})):(r.openBlock(),r.createElementBlock("span",ru))]),"cell-location":r.withCtx(({row:d})=>[r.createTextVNode(r.toDisplayString(d.location?.locationName??""),1)]),"cell-more":r.withCtx(({row:d})=>[r.createVNode(rn,{offset:2,placement:"left",theme:"content","append-to":c},{default:r.withCtx(({setRef:f,show:g,hide:p})=>[r.createElementVNode("button",{ref:f,onClick:r.withModifiers(g,["stop"]),onFocus:g,onBlur:p},[r.createVNode(r.unref(dc))],40,ou)]),content:r.withCtx(()=>[r.createElementVNode("ul",au,[r.createElementVNode("li",null,[r.createElementVNode("a",{href:t.externalGameResolver(d.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[r.createVNode(r.unref(pc),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.report")),1)],8,iu)]),d.video?(r.openBlock(),r.createElementBlock("li",su,[r.createElementVNode("a",{href:d.video,class:"is-dropdown-item",target:"_blank"},[r.createVNode(r.unref(yc),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.video")),1)],8,lu)])):r.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:r.withCtx(()=>[r.createVNode(an)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),r.createElementVNode("div",{ref_key:"tooltipContainer",ref:n},null,512)],64))}},uu={class:"g-row g-gap-normal is-mb-5"},du={for:"season",class:"label"},fu=["value"],mu={key:0},pu=["onClick"],hu={__name:"SeasonSelector",props:{seasons:{type:Array,default:()=>[]},championshipId:{type:Number,default:0},sections:{type:Array,default:()=>[]},sectionId:{type:Number,default:0},isSectionSelectionDisabled:{type:Boolean,default:!1}},emits:["onChangeSeason","onChangeSection"],setup(t,{emit:e}){const n=t,o=e,{t:a}=at(),i=r.computed({get(){return n.championshipId},set(l){o("onChangeSeason",l)}});function s(l){o("onChangeSection",l)}return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("div",uu,[r.createElementVNode("div",null,[r.createElementVNode("label",du,r.toDisplayString(r.unref(a)("selection.season")),1),r.createVNode(Nr,{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,fu))),128))]),_:1},8,["modelValue"])]),r.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",mu,[(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,pu))),128))]))],64))}},gu={class:"is-portrait-image"},yu=["href"],bu={class:"is-team-name-long"},Tu={class:"is-team-name-short"},Su={class:"is-team-name-long"},wu={key:0},Ou={class:"is-team-name-short"},Au={key:0},ku={class:"is-team-name-long"},_u={class:"is-team-name-short"},xu={class:"is-team-name-long"},Pu={class:"is-team-name-short"},Eu=["href"],Nu={key:0,class:"is-text-dark"},vu=["href","target"],$u={key:0,class:"label"},Mu={key:1,class:"label"},Du={key:2,class:"label"},Cu={__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}=ze(),{t:l}=at(),{columns:u,error:c}=Re(a,i,r.computed(()=>({offsetName:n.offsetName})));c.value&&s(new ln(Ft.message,{...Ft.options,cause:{column:c.value}}));const d=f=>o("sort",f);return(f,g)=>(r.openBlock(),r.createBlock(sn,null,{default:r.withCtx(({el:p})=>[r.createVNode(on,{columns:r.unref(u),sort:n.sort,rows:n.rows,"is-loading":t.isLoading,"append-to":t.appendTo||p,onSort:d},r.createSlots({"cell-index":r.withCtx(({row:m})=>[r.createElementVNode("span",{class:r.normalizeClass(m.indexClass)},r.toDisplayString(m.index),3)]),"cell-playerPortrait":r.withCtx(({row:m})=>[r.createElementVNode("div",gu,[(r.openBlock(),r.createBlock(Ot,{key:m.player.playerId,src:m.player.picture,"default-src":r.unref(un)},null,8,["src","default-src"]))])]),"cell-teamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(Ot,{key:m.team?.id??m.id,class:"is-logo-image",src:m.team?.logo},null,8,["src"]))]),"cell-homeTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(Ot,{key:m.homeTeam?.id,class:"is-logo-image is-right",src:m.homeTeam?.logo},null,8,["src"]))]),"cell-awayTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(Ot,{key:m.awayTeam?.id,class:"is-logo-image is-right",src:m.awayTeam?.logo},null,8,["src"]))]),"cell-teamName":r.withCtx(({row:m})=>[t.isTeamLinked?(r.openBlock(),r.createElementBlock("a",{key:0,href:t.externalTeamResolver(m),target:"_blank"},[r.createElementVNode("span",bu,r.toDisplayString(m.team?.longName),1),r.createElementVNode("span",Tu,r.toDisplayString(m.team?.shortName),1)],8,yu)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createElementVNode("span",Su,[r.createTextVNode(r.toDisplayString(m.team?.longName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",wu,g[0]||(g[0]=[r.createElementVNode("sup",null,"*",-1)]))):r.createCommentVNode("",!0)]),r.createElementVNode("span",Ou,[r.createTextVNode(r.toDisplayString(m.team?.shortName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Au,g[1]||(g[1]=[r.createElementVNode("sup",null,"*",-1)]))):r.createCommentVNode("",!0)])],64))]),"cell-homeTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",ku,r.toDisplayString(m.homeTeam?.longName),1),r.createElementVNode("span",_u,r.toDisplayString(m.homeTeam?.shortName),1)]),"cell-awayTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",xu,r.toDisplayString(m.awayTeam?.longName),1),r.createElementVNode("span",Pu,r.toDisplayString(m.awayTeam?.shortName),1)]),"cell-location":r.withCtx(({row:m})=>[r.createTextVNode(r.toDisplayString(m.location?.locationName??""),1)]),"cell-gameResult":r.withCtx(({row:m})=>[m.gameStatus===0?(r.openBlock(),r.createElementBlock("span",Nu,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(m),target:t.externalGameResolverTarget,class:r.normalizeClass({"is-text-dark":m.gameStatus!==1,"is-text-accent":m.gameStatus===1})},r.toDisplayString(m.homeTeamScore)+":"+r.toDisplayString(m.awayTeamScore),11,vu))]),"cell-gameResultType":r.withCtx(({row:m})=>[m.isOvertime?(r.openBlock(),r.createElementBlock("span",$u,r.toDisplayString(r.unref(l)("common.overtimeShort")),1)):r.createCommentVNode("",!0),m.isShootout?(r.openBlock(),r.createElementBlock("span",Mu,r.toDisplayString(r.unref(l)("common.shootoutShort")),1)):r.createCommentVNode("",!0),m.seriesStandings?(r.openBlock(),r.createElementBlock("span",Du,r.toDisplayString(m.seriesStandings),1)):r.createCommentVNode("",!0)]),loading:r.withCtx(()=>[r.createVNode(an)]),_:2},[t.isPlayerLinked?{name:"cell-name",fn:r.withCtx(({row:m})=>[r.createElementVNode("a",{href:t.externalPlayerResolver(m),target:"_blank"},r.toDisplayString(m.name),9,Eu)]),key:"0"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},Lu={class:"timezone-selector"},Iu=["onClick"],Bu={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,{t:a}=at(),i=r.computed(()=>Bt(new Date,null,n.locale)),s=wr(),l=r.computed(()=>Array.from(gn.values()).map(c=>({...c,isActive:Bt(new Date,n.currentZone,n.locale)===Bt(new Date,c.timezone,n.locale),zoneOffsetName:Bt(new Date,c.timezone,n.locale)}))),u=c=>o("change",c);return(c,d)=>(r.openBlock(),r.createElementBlock("div",Lu,[r.createVNode(r.unref(Zn),{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(g=>u(f.timezone),["prevent"])},r.toDisplayString(r.unref(a)(`common.${f.countryLabelKey}`))+" ("+r.toDisplayString(f.zoneOffsetName)+") ",11,Iu))),128))]))}},Ru={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:""}},zu={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},Vu={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},Gu={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}};function Zr({app:t=null,modules:e=[],apiKey:n,gameResolver:o,teamResolver:a,playerResolver:i}){if(window.__MJSZ_VBR_WIDGET__={apiKey:n,gameResolver:o,teamResolver:a,playerResolver:i},e.length===0)throw new Error("At least one module must be set");e.forEach(s=>{if(t)return t.use(s);if(s.register)return s.register();s?.install()})}const Fu={install:(t,e={})=>Zr({app:t,...e})};return T.AVAILABLE_TIMEZONES_BY_COUNTRY=gn,T.AdditionalStandingsText=ys,T.BaseSelect=Nr,T.COLUMNS_FIELD_PLAYERS=eo,T.COLUMNS_FIELD_PLAYERS_PENALTY=no,T.COLUMNS_FIELD_PLAYERS_TOI=ro,T.COLUMNS_GOALIES=oo,T.COLUMNS_PLAYERS_NATIONAL=ao,T.COLUMNS_SCHEDULE=bn,T.COLUMNS_SCORING_EFFICIENCY=uo,T.COLUMNS_STANDINGS_P_2=Qr,T.COLUMNS_STANDINGS_P_3=Jr,T.COLUMNS_STANDINGS_SHORT=to,T.COLUMNS_TEAMS_FAIRPLAY=so,T.COLUMNS_TEAMS_PENALTY_KILLING=lo,T.COLUMNS_TEAMS_POWERPLAY=co,T.COLUMNS_TEAM_ATTENDANCE=io,T.DEFAULT_EXTERNAL_GAME_URL=cn,T.DEFAULT_EXTERNAL_PLAYER_URL=dn,T.DEFAULT_EXTERNAL_STATISTIC_URL=mn,T.DEFAULT_EXTERNAL_TEAM_URL=fn,T.DEFAULT_PORTRAIT_IMAGE_URL=un,T.DataTable=on,T.ErrorNotice=Cl,T.ErrorProvider=Ll,T.FLAG_BASE_URL=pn,T.FetchMoreObserver=To,T.FloatingPanel=rn,T.I18NProvider=Gl,T.Image=Ot,T.InvalidSeasonName=zc,T.LAZY_LOADING_STATE_DELAY=yn,T.LOCALE_FOR_LANG=hn,T.LoadingIndicator=an,T.Paginator=ac,T.REFRESH_DELAY=Xr,T.ResponsiveTable=sn,T.SORT_STATE_ASCEND=I,T.SORT_STATE_DESCEND=b,T.SORT_STATE_ORIGINAL=ct,T.ScheduleTable=cu,T.SeasonSelector=hu,T.StatisticsTable=Cu,T.TimezoneSelector=Bu,T.UndefinedColumn=Ft,T.VBR_API_BASE_URL=Oe,T.WidgetError=ln,T.addDays=ts,T.appendTo=Kr,T.baseProps=Ru,T.convert=bc,T.convertGamePeriodResults=$c,T.convertMinToMinSec=Ar,T.convertMinToSec=je,T.convertPhaseName=Bc,T.convertSecToMin=Or,T.convertTimes=Ec,T.convertTimesMinToMinSec=Nc,T.convertTimesSecToMin=vc,T.createConfig=Zr,T.createI18n=qn,T.currentWeek=Xi,T.currentWeekStartEnd=Ji,T.default=Fu,T.endOfMonth=ns,T.externalGameLinkResolver=Gc,T.externalPlayerLinkResolver=jc,T.externalStatisticLinkResolver=Uc,T.externalTeamLinkResolver=Fc,T.fetchVBRData=er,T.flagResolver=Hc,T.format=bt,T.gameDateTime=Oc,T.gameProps=Gu,T.gameResult=Ac,T.getLocalTimezone=wr,T.getWebsocketURL=Vc,T.i18n=Zn,T.isAfter=Ki,T.isBefore=qi,T.isBetween=kr,T.isSame=Yi,T.isSameOrBefore=Ue,T.isToday=Zi,T.localeSort=Dc,T.max=os,T.min=rs,T.offsetName=Bt,T.playerName=Sc,T.playerStatsProps=Vu,T.rawConvert=Tc,T.resolveApiKey=Yc,T.scheduleOptionalRowClass=xc,T.scrollToTop=Wc,T.sortByDomNode=Tl,T.sortGames=Mc,T.startOfMonth=es,T.subtractDays=Qi,T.teamName=wc,T.teamOpponent=kc,T.teamResultType=_c,T.teamStatsProps=zu,T.templateReplacer=dt,T.toKebabCase=Jn,T.upperCase=Pc,T.useAdditionalText=Yn,T.useColumns=Re,T.useError=ze,T.useErrorProvider=tr,T.useI18n=at,T.useLazyLoadingState=sr,T.usePage=as,T.useScrollToGameDate=ss,T.useServices=ls,T.useSort=ps,T.useVisibilityChange=hs,T.validateColumnsName=Xn,T.yearToNow=Wi,Object.defineProperties(T,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),T}({},Vue);
Binary file
Binary file
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.26.3 - 04/09/2025, 11:13:22
3
+ * version: v2.26.5 - 04/09/2025, 11:26:28
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.26.3 - 04/09/2025, 11:13:22
3
+ * version: v2.26.5 - 04/09/2025, 11:26:28
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
package/dist/utils.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.26.3 - 04/09/2025, 11:13:22
3
+ * version: v2.26.5 - 04/09/2025, 11:26:28
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
@@ -10,7 +10,7 @@ import { v as o } from "./datetime-D600LvsU.js";
10
10
  import { n as j, b as q, c as z, a as J, l as Y, m as Z, q as H, f as Q, g as ee, j as ne, h as te, d as oe, e as re, i as ae, k as se, t as ie, r as ce, o as le, p as fe, s as ue, u as Re, y as Te } from "./datetime-D600LvsU.js";
11
11
  import { VBR_API_BASE_URL as a, FLAG_BASE_URL as s, DEFAULT_EXTERNAL_GAME_URL as i, DEFAULT_EXTERNAL_TEAM_URL as c, DEFAULT_EXTERNAL_PLAYER_URL as l, DEFAULT_EXTERNAL_STATISTIC_URL as f } from "./constants.js";
12
12
  function T(e) {
13
- return `${a.replace("https", "ws").replace("/vbr", "")}${e}`;
13
+ return `${a.replace("https", "wss").replace("/vbr", "")}${e}`;
14
14
  }
15
15
  const r = (e = "") => window?.__MJSZ_VBR_WIDGET__?.[e];
16
16
  function m(e, n = {}) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mjsz-vbr-elements/core",
3
3
  "type": "module",
4
- "version": "2.26.3",
4
+ "version": "2.26.5",
5
5
  "private": false,
6
6
  "description": "Data visualization for MJSZ VBR",
7
7
  "author": "Ákos Stegner <akos.stegner@gmail.com>",
@@ -40,7 +40,7 @@
40
40
  "dayjs": "^1.11.13",
41
41
  "ramda": "^0.31.3",
42
42
  "vue": "^3.5.17",
43
- "@mjsz-vbr-elements/shared": "^2.26.3"
43
+ "@mjsz-vbr-elements/shared": "^2.26.5"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@vitejs/plugin-vue": "^6.0.0",