@mjsz-vbr-elements/core 2.1.0-beta.39 → 2.1.0-beta.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.1.0-beta.39 - 25/10/2023, 10:16:21
3
+ * version: v2.1.0-beta.41 - 01/11/2023, 15:53:03
4
4
  * (c) 2023
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- var MjszVbrElementsCore=function(_,n){"use strict";const rt=t=>({}.VITE_CSS_CLASS_PREFIX||"mjsz-vbr-")+t,De={__name:"BaseSelect",props:{modelValue:{type:[String,Number],default:null}},emits:["update:modelValue"],setup(t,{emit:e}){const r=t,o=rt("base-input"),s=n.computed({get:()=>r.modelValue,set:a=>e("update:modelValue",a)});return(a,i)=>n.withDirectives((n.openBlock(),n.createElementBlock("select",{"onUpdate:modelValue":i[0]||(i[0]=l=>s.value=l),class:n.normalizeClass([n.unref(o),"is-select"])},[n.renderSlot(a.$slots,"default")],2)),[[n.vModelSelect,s.value]])}};function Le(t){return n.getCurrentScope()?(n.onScopeDispose(t),!0):!1}function tt(t){return typeof t=="function"?t():n.unref(t)}const It=typeof window<"u",nt=()=>{},pn=hn();function hn(){var t;return It&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function ee(t,e=!1,r="Timeout"){return new Promise((o,s)=>{setTimeout(e?()=>s(r):o,t)})}function re(t,e=!1){function r(m,{flush:d="sync",deep:f=!1,timeout:h,throwOnTimeout:g}={}){let y=null;const $=[new Promise(O=>{y=n.watch(t,v=>{m(v)!==e&&(y==null||y(),O(v))},{flush:d,deep:f,immediate:!0})})];return h!=null&&$.push(ee(h,g).then(()=>tt(t)).finally(()=>y==null?void 0:y())),Promise.race($)}function o(m,d){if(!n.isRef(m))return r(v=>v===m,d);const{flush:f="sync",deep:h=!1,timeout:g,throwOnTimeout:y}=d??{};let k=null;const O=[new Promise(v=>{k=n.watch([t,m],([D,B])=>{e!==(D===B)&&(k==null||k(),v(D))},{flush:f,deep:h,immediate:!0})})];return g!=null&&O.push(ee(g,y).then(()=>tt(t)).finally(()=>(k==null||k(),tt(t)))),Promise.race(O)}function s(m){return r(d=>!!d,m)}function a(m){return o(null,m)}function i(m){return o(void 0,m)}function l(m){return r(Number.isNaN,m)}function c(m,d){return r(f=>{const h=Array.from(f);return h.includes(m)||h.includes(tt(m))},d)}function u(m){return p(1,m)}function p(m=1,d){let f=-1;return r(()=>(f+=1,f>=m),d)}return Array.isArray(tt(t))?{toMatch:r,toContains:c,changed:u,changedTimes:p,get not(){return re(t,!e)}}:{toMatch:r,toBe:o,toBeTruthy:s,toBeNull:a,toBeNaN:l,toBeUndefined:i,changed:u,changedTimes:p,get not(){return re(t,!e)}}}function gn(t){return re(t)}function yn(t,e,r={}){const{immediate:o=!0}=r,s=n.ref(!1);let a=null;function i(){a&&(clearTimeout(a),a=null)}function l(){s.value=!1,i()}function c(...u){i(),s.value=!0,a=setTimeout(()=>{s.value=!1,a=null,t(...u)},tt(e))}return o&&(s.value=!0,It&&c()),Le(l),{isPending:n.readonly(s),start:c,stop:l}}function bn(t,e,r){const o=n.watch(t,(...s)=>(n.nextTick(()=>o()),e(...s)),r)}function wn(t,e,r){return n.watch(t,(o,s,a)=>{o&&e(o,s,a)},r)}function $t(t){var e;const r=tt(t);return(e=r==null?void 0:r.$el)!=null?e:r}const Ce=It?window:void 0,Sn=It?window.document:void 0;function zt(...t){let e,r,o,s;if(typeof t[0]=="string"||Array.isArray(t[0])?([r,o,s]=t,e=Ce):[e,r,o,s]=t,!e)return nt;Array.isArray(r)||(r=[r]),Array.isArray(o)||(o=[o]);const a=[],i=()=>{a.forEach(p=>p()),a.length=0},l=(p,m,d,f)=>(p.addEventListener(m,d,f),()=>p.removeEventListener(m,d,f)),c=n.watch(()=>[$t(e),tt(s)],([p,m])=>{i(),p&&a.push(...r.flatMap(d=>o.map(f=>l(p,d,f,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return Le(u),u}let Me=!1;function _n(t,e,r={}){const{window:o=Ce,ignore:s=[],capture:a=!0,detectIframe:i=!1}=r;if(!o)return;pn&&!Me&&(Me=!0,Array.from(o.document.body.children).forEach(d=>d.addEventListener("click",nt)));let l=!0;const c=d=>s.some(f=>{if(typeof f=="string")return Array.from(o.document.querySelectorAll(f)).some(h=>h===d.target||d.composedPath().includes(h));{const h=$t(f);return h&&(d.target===h||d.composedPath().includes(h))}}),p=[zt(o,"click",d=>{const f=$t(t);if(!(!f||f===d.target||d.composedPath().includes(f))){if(d.detail===0&&(l=!c(d)),!l){l=!0;return}e(d)}},{passive:!0,capture:a}),zt(o,"pointerdown",d=>{const f=$t(t);f&&(l=!d.composedPath().includes(f)&&!c(d))},{passive:!0}),i&&zt(o,"blur",d=>{var f;const h=$t(t);((f=o.document.activeElement)==null?void 0:f.tagName)==="IFRAME"&&!(h!=null&&h.contains(o.document.activeElement))&&e(d)})].filter(Boolean);return()=>p.forEach(d=>d())}var Tn=Object.defineProperty,kn=Object.defineProperties,$n=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,An=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,Ie=(t,e,r)=>e in t?Tn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,On=(t,e)=>{for(var r in e||(e={}))An.call(e,r)&&Ie(t,r,e[r]);if(Be)for(var r of Be(e))En.call(e,r)&&Ie(t,r,e[r]);return t},Pn=(t,e)=>kn(t,$n(e));function ze(t,e,r){const{immediate:o=!0,delay:s=0,onError:a=nt,onSuccess:i=nt,resetOnExecute:l=!0,shallow:c=!0,throwError:u}=r??{},p=c?n.shallowRef(e):n.ref(e),m=n.ref(!1),d=n.ref(!1),f=n.shallowRef(void 0);async function h(k=0,...$){l&&(p.value=e),f.value=void 0,m.value=!1,d.value=!0,k>0&&await ee(k);const O=typeof t=="function"?t(...$):t;try{const v=await O;p.value=v,m.value=!0,i(v)}catch(v){if(f.value=v,a(v),u)throw v}finally{d.value=!1}return p.value}o&&h(s);const g={state:p,isReady:m,isLoading:d,error:f,execute:h};function y(){return new Promise((k,$)=>{gn(d).toBe(!1).then(()=>k(g)).catch($)})}return Pn(On({},g),{then(k,$){return y().then(k,$)}})}function xn({document:t=Sn}={}){if(!t)return n.ref("visible");const e=n.ref(t.visibilityState);return zt(t,"visibilitychange",()=>{e.value=t.visibilityState}),e}var Nn=Object.defineProperty,Ve=Object.getOwnPropertySymbols,vn=Object.prototype.hasOwnProperty,Dn=Object.prototype.propertyIsEnumerable,Re=(t,e,r)=>e in t?Nn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ln=(t,e)=>{for(var r in e||(e={}))vn.call(e,r)&&Re(t,r,e[r]);if(Ve)for(var r of Ve(e))Dn.call(e,r)&&Re(t,r,e[r]);return t};async function Cn(t){return new Promise((e,r)=>{const o=new Image,{src:s,srcset:a,sizes:i,class:l,loading:c,crossorigin:u}=t;o.src=s,a&&(o.srcset=a),i&&(o.sizes=i),l&&(o.className=l),c&&(o.loading=c),u&&(o.crossOrigin=u),o.onload=()=>e(o),o.onerror=r})}function Mn(t,e={}){const r=ze(()=>Cn(tt(t)),void 0,Ln({resetOnExecute:!0},e));return n.watch(()=>tt(t),()=>r.execute(e.delay),{deep:!0}),r}function Ge(t=[],e={}){const{delay:r=0}=e,o=n.ref(!1),s=n.computed(()=>{const l=n.unref(t);return Array.isArray(l)?l.map(c=>n.unref(c)).some(Boolean):l}),{start:a,stop:i}=yn(()=>{o.value=!0},r);return n.watch(s,l=>{if(l)return a();i(),o.value=!1},{immediate:!0,deep:!0}),o}function z(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function Y(t){return function e(r){return arguments.length===0||z(r)?e:t.apply(this,arguments)}}function V(t){return function e(r,o){switch(arguments.length){case 0:return e;case 1:return z(r)?e:Y(function(s){return t(r,s)});default:return z(r)&&z(o)?e:z(r)?Y(function(s){return t(s,o)}):z(o)?Y(function(s){return t(r,s)}):t(r,o)}}}function Vt(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(r){return e.apply(this,arguments)};case 2:return function(r,o){return e.apply(this,arguments)};case 3:return function(r,o,s){return e.apply(this,arguments)};case 4:return function(r,o,s,a){return e.apply(this,arguments)};case 5:return function(r,o,s,a,i){return e.apply(this,arguments)};case 6:return function(r,o,s,a,i,l){return e.apply(this,arguments)};case 7:return function(r,o,s,a,i,l,c){return e.apply(this,arguments)};case 8:return function(r,o,s,a,i,l,c,u){return e.apply(this,arguments)};case 9:return function(r,o,s,a,i,l,c,u,p){return e.apply(this,arguments)};case 10:return function(r,o,s,a,i,l,c,u,p,m){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function ne(t,e,r){return function(){for(var o=[],s=0,a=t,i=0;i<e.length||s<arguments.length;){var l;i<e.length&&(!z(e[i])||s>=arguments.length)?l=e[i]:(l=arguments[s],s+=1),o[i]=l,z(l)||(a-=1),i+=1}return a<=0?r.apply(this,o):Vt(a,ne(t,o,r))}}var Rt=V(function(e,r){return e===1?Y(r):Vt(e,ne(e,[],r))});function st(t){return function e(r,o,s){switch(arguments.length){case 0:return e;case 1:return z(r)?e:V(function(a,i){return t(r,a,i)});case 2:return z(r)&&z(o)?e:z(r)?V(function(a,i){return t(a,o,i)}):z(o)?V(function(a,i){return t(r,a,i)}):Y(function(a){return t(r,o,a)});default:return z(r)&&z(o)&&z(s)?e:z(r)&&z(o)?V(function(a,i){return t(a,i,s)}):z(r)&&z(s)?V(function(a,i){return t(a,o,i)}):z(o)&&z(s)?V(function(a,i){return t(r,a,i)}):z(r)?Y(function(a){return t(a,o,s)}):z(o)?Y(function(a){return t(r,a,s)}):z(s)?Y(function(a){return t(r,o,a)}):t(r,o,s)}}}const Gt=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function Bn(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function jt(t,e,r){return function(){if(arguments.length===0)return r();var o=arguments[arguments.length-1];if(!Gt(o)){for(var s=0;s<t.length;){if(typeof o[t[s]]=="function")return o[t[s]].apply(o,Array.prototype.slice.call(arguments,0,-1));s+=1}if(Bn(o)){var a=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return a(o)}}return r.apply(this,arguments)}}function je(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const wt={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function Fe(t){for(var e=[],r;!(r=t.next()).done;)e.push(r.value);return e}function Ye(t,e,r){for(var o=0,s=r.length;o<s;){if(t(e,r[o]))return!0;o+=1}return!1}function In(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function et(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function zn(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const oe=typeof Object.is=="function"?Object.is:zn;var He=Object.prototype.toString,Ue=function(){return He.call(arguments)==="[object Arguments]"?function(e){return He.call(e)==="[object Arguments]"}:function(e){return et("callee",e)}}(),Vn=!{toString:null}.propertyIsEnumerable("toString"),We=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Ke=function(){return arguments.propertyIsEnumerable("length")}(),Rn=function(e,r){for(var o=0;o<e.length;){if(e[o]===r)return!0;o+=1}return!1},mt=Y(typeof Object.keys=="function"&&!Ke?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var r,o,s=[],a=Ke&&Ue(e);for(r in e)et(r,e)&&(!a||r!=="length")&&(s[s.length]=r);if(Vn)for(o=We.length-1;o>=0;)r=We[o],et(r,e)&&!Rn(s,r)&&(s[s.length]=r),o-=1;return s}),ae=Y(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Ze(t,e,r,o){var s=Fe(t),a=Fe(e);function i(l,c){return se(l,c,r.slice(),o.slice())}return!Ye(function(l,c){return!Ye(i,c,l)},a,s)}function se(t,e,r,o){if(oe(t,e))return!0;var s=ae(t);if(s!==ae(e))return!1;if(typeof t["fantasy-land/equals"]=="function"||typeof e["fantasy-land/equals"]=="function")return typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e)&&typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t);if(typeof t.equals=="function"||typeof e.equals=="function")return typeof t.equals=="function"&&t.equals(e)&&typeof e.equals=="function"&&e.equals(t);switch(s){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&In(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&oe(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!oe(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(!(t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.sticky===e.sticky&&t.unicode===e.unicode))return!1;break}for(var a=r.length-1;a>=0;){if(r[a]===t)return o[a]===e;a-=1}switch(s){case"Map":return t.size!==e.size?!1:Ze(t.entries(),e.entries(),r.concat([t]),o.concat([e]));case"Set":return t.size!==e.size?!1:Ze(t.values(),e.values(),r.concat([t]),o.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var i=mt(t);if(i.length!==mt(e).length)return!1;var l=r.concat([t]),c=o.concat([e]);for(a=i.length-1;a>=0;){var u=i[a];if(!(et(u,e)&&se(e[u],t[u],l,c)))return!1;a-=1}return!0}var Ft=V(function(e,r){return se(e,r,[],[])});function Gn(t,e,r){var o,s;if(typeof t.indexOf=="function")switch(typeof e){case"number":if(e===0){for(o=1/e;r<t.length;){if(s=t[r],s===0&&1/s===o)return r;r+=1}return-1}else if(e!==e){for(;r<t.length;){if(s=t[r],typeof s=="number"&&s!==s)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(e===null)return t.indexOf(e,r)}for(;r<t.length;){if(Ft(t[r],e))return r;r+=1}return-1}function qe(t,e){return Gn(e,t,0)>=0}function Yt(t,e){for(var r=0,o=e.length,s=Array(o);r<o;)s[r]=t(e[r]),r+=1;return s}function ie(t){var e=t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+e.replace(/"/g,'\\"')+'"'}var At=function(e){return(e<10?"0":"")+e},jn=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+At(e.getUTCMonth()+1)+"-"+At(e.getUTCDate())+"T"+At(e.getUTCHours())+":"+At(e.getUTCMinutes())+":"+At(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Fn(t){return function(){return!t.apply(this,arguments)}}function Xe(t,e,r){for(var o=0,s=r.length;o<s;)e=t(e,r[o]),o+=1;return e}function Yn(t,e){for(var r=0,o=e.length,s=[];r<o;)t(e[r])&&(s[s.length]=e[r]),r+=1;return s}function Ht(t){return Object.prototype.toString.call(t)==="[object Object]"}var Hn=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=wt.init,t.prototype["@@transducer/result"]=wt.result,t.prototype["@@transducer/step"]=function(e,r){return this.f(r)?this.xf["@@transducer/step"](e,r):e},t}();function Un(t){return function(e){return new Hn(t,e)}}var Je=V(jt(["fantasy-land/filter","filter"],Un,function(t,e){return Ht(e)?Xe(function(r,o){return t(e[o])&&(r[o]=e[o]),r},{},mt(e)):Yn(t,e)})),Wn=V(function(e,r){return Je(Fn(e),r)});function Qe(t,e){var r=function(i){var l=e.concat([t]);return qe(i,l)?"<Circular>":Qe(i,l)},o=function(a,i){return Yt(function(l){return ie(l)+": "+r(a[l])},i.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Yt(r,t).join(", ")+"))";case"[object Array]":return"["+Yt(r,t).concat(o(t,Wn(function(a){return/^\d+$/.test(a)},mt(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):ie(jn(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+r(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+r(t.valueOf())+")":ie(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var s=t.toString();if(s!=="[object Object]")return s}return"{"+o(t,mt(t)).join(", ")+"}"}}var le=Y(function(e){return Qe(e,[])}),Kn=V(function(e,r){if(e===r)return r;function o(c,u){if(c>u!=u>c)return u>c?u:c}var s=o(e,r);if(s!==void 0)return s;var a=o(typeof e,typeof r);if(a!==void 0)return a===typeof e?e:r;var i=le(e),l=o(i,le(r));return l!==void 0&&l===i?e:r}),Zn=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=wt.init,t.prototype["@@transducer/result"]=wt.result,t.prototype["@@transducer/step"]=function(e,r){return this.xf["@@transducer/step"](e,this.f(r))},t}(),qn=function(e){return function(r){return new Zn(e,r)}},Xn=V(jt(["fantasy-land/map","map"],qn,function(e,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return Rt(r.length,function(){return e.call(this,r.apply(this,arguments))});case"[object Object]":return Xe(function(o,s){return o[s]=e(r[s]),o},{},mt(r));default:return Yt(e,r)}}));const pt=Xn,tr=Number.isInteger||function(e){return e<<0===e};function Ut(t){return Object.prototype.toString.call(t)==="[object String]"}var er=V(function(e,r){var o=e<0?r.length+e:e;return Ut(r)?r.charAt(o):r[o]}),Jn=V(function(e,r){if(r!=null)return tr(e)?er(e,r):r[e]});const St=Jn;var Qn=V(function(e,r){return pt(St(e),r)}),to=Y(function(e){return Gt(e)?!0:!e||typeof e!="object"||Ut(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),rr=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function eo(t,e,r){return function(s,a,i){if(to(i))return t(s,a,i);if(i==null)return a;if(typeof i["fantasy-land/reduce"]=="function")return e(s,a,i,"fantasy-land/reduce");if(i[rr]!=null)return r(s,a,i[rr]());if(typeof i.next=="function")return r(s,a,i);if(typeof i.reduce=="function")return e(s,a,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ro(t,e,r){for(var o=0,s=r.length;o<s;){if(e=t["@@transducer/step"](e,r[o]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o+=1}return t["@@transducer/result"](e)}var no=V(function(e,r){return Vt(e.length,function(){return e.apply(r,arguments)})});function oo(t,e,r){for(var o=r.next();!o.done;){if(e=t["@@transducer/step"](e,o.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o=r.next()}return t["@@transducer/result"](e)}function ao(t,e,r,o){return t["@@transducer/result"](r[o](no(t["@@transducer/step"],t),e))}var nr=eo(ro,ao,oo),so=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,r){return this.f(e,r)},t}();function or(t){return new so(t)}var io=st(function(t,e,r){return nr(typeof t=="function"?or(t):t,e,r)});const ar=io;var lo=Y(function(e){return function(){return e}});const sr=lo;var co=Y(function(e){return Rt(ar(Kn,0,Qn("length",e)),function(){for(var r=0,o=e.length;r<o;){if(e[r].apply(this,arguments))return!0;r+=1}return!1})});const uo=co;var fo=st(function(e,r,o){var s=e(r),a=e(o);return s<a?-1:s>a?1:0});const ce=fo;function mo(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function po(t){return new RegExp(t.source,t.flags?t.flags:(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":"")+(t.dotAll?"s":""))}function ue(t,e,r){if(r||(r=new go),ho(t))return t;var o=function(a){var i=r.get(t);if(i)return i;r.set(t,a);for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(a[l]=e?ue(t[l],!0,r):t[l]);return a};switch(ae(t)){case"Object":return o(Object.create(Object.getPrototypeOf(t)));case"Array":return o([]);case"Date":return new Date(t.valueOf());case"RegExp":return po(t);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}function ho(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var go=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,r){const o=this.hash(e);let s=this.map[o];s||(this.map[o]=s=[]),s.push([e,r]),this.length+=1},t.prototype.hash=function(e){let r=[];for(var o in e)r.push(Object.prototype.toString.call(e[o]));return r.join()},t.prototype.get=function(e){if(this.length<=180){for(const s in this.map){const a=this.map[s];for(let i=0;i<a.length;i+=1){const l=a[i];if(l[0]===e)return l[1]}}return}const r=this.hash(e),o=this.map[r];if(o)for(let s=0;s<o.length;s+=1){const a=o[s];if(a[0]===e)return a[1]}},t}();function yo(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function de(t,e){return function(){var r=arguments.length;if(r===0)return e();var o=arguments[r-1];return Gt(o)||typeof o[t]!="function"?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,r-1))}}var bo=st(de("slice",function(e,r,o){return Array.prototype.slice.call(o,e,r)})),wo=Y(de("tail",bo(1,1/0)));const So=wo;function fe(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Vt(arguments[0].length,ar(yo,arguments[0],So(arguments)))}var _o=Y(function(e){return Ut(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});const To=_o;function ir(){if(arguments.length===0)throw new Error("compose requires at least one argument");return fe.apply(this,To(arguments))}var ko=function(){function t(e,r,o,s){this.valueFn=e,this.valueAcc=r,this.keyFn=o,this.xf=s,this.inputs={}}return t.prototype["@@transducer/init"]=wt.init,t.prototype["@@transducer/result"]=function(e){var r;for(r in this.inputs)if(et(r,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[r]),e["@@transducer/reduced"])){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){var o=this.keyFn(r);return this.inputs[o]=this.inputs[o]||[o,ue(this.valueAcc,!1)],this.inputs[o][1]=this.valueFn(this.inputs[o][1],r),e},t}();function $o(t,e,r){return function(o){return new ko(t,e,r,o)}}var Ao=ne(4,[],jt([],$o,function(e,r,o,s){var a=or(function(i,l){var c=o(l),u=e(et(c,i)?i[c]:ue(r,!1),l);return u&&u["@@transducer/reduced"]?je(i):(i[c]=u,i)});return nr(a,{},s)})),Eo=st(function(e,r,o){var s=e(r),a=e(o);return s>a?-1:s<a?1:0});const Oo=Eo;function Po(t){var e=Object.prototype.toString.call(t);return e==="[object Uint8ClampedArray]"||e==="[object Int8Array]"||e==="[object Uint8Array]"||e==="[object Int16Array]"||e==="[object Uint16Array]"||e==="[object Int32Array]"||e==="[object Uint32Array]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object BigInt64Array]"||e==="[object BigUint64Array]"}var xo=Y(function(e){return e!=null&&typeof e["fantasy-land/empty"]=="function"?e["fantasy-land/empty"]():e!=null&&e.constructor!=null&&typeof e.constructor["fantasy-land/empty"]=="function"?e.constructor["fantasy-land/empty"]():e!=null&&typeof e.empty=="function"?e.empty():e!=null&&e.constructor!=null&&typeof e.constructor.empty=="function"?e.constructor.empty():Gt(e)?[]:Ut(e)?"":Ht(e)?{}:Ue(e)?function(){return arguments}():Po(e)?e.constructor.from(""):void 0}),No=function(){function t(e,r){this.xf=r,this.f=e,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=wt.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,-1)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){return this.idx+=1,this.f(r)&&(this.found=!0,e=je(this.xf["@@transducer/step"](e,this.idx))),e},t}();function vo(t){return function(e){return new No(t,e)}}var Do=V(jt([],vo,function(e,r){for(var o=0,s=r.length;o<s;){if(e(r[o]))return o;o+=1}return-1}));const Lo=Do;var Co=V(de("groupBy",Ao(function(t,e){return t.push(e),t},[])));const Mo=Co;var Bo=st(function(e,r,o){return Rt(Math.max(e.length,r.length,o.length),function(){return e.apply(this,arguments)?r.apply(this,arguments):o.apply(this,arguments)})});const Io=Bo;var zo=V(qe);const Vo=zo;var Ro=V(function(e,r){return Rt(e+1,function(){var o=arguments[e];if(o!=null&&mo(o[r]))return o[r].apply(o,Array.prototype.slice.call(arguments,0,e));throw new TypeError(le(o)+' does not have a method named "'+r+'"')})});const lr=Ro;var Go=Y(function(e){return e!=null&&Ft(e,xo(e))});const jo=Go;var Fo=V(function(e,r){return e.map(function(o){for(var s=r,a=0,i;a<o.length;){if(s==null)return;i=o[a],s=tr(i)?er(i,s):s[i],a+=1}return s})}),Yo=V(function(e,r){return Fo([e],r)[0]});const cr=Yo;var Ho=st(function(e,r,o){var s={},a;r=r||{},o=o||{};for(a in r)et(a,r)&&(s[a]=et(a,o)?e(a,r[a],o[a]):r[a]);for(a in o)et(a,o)&&!et(a,s)&&(s[a]=o[a]);return s}),Uo=st(function t(e,r,o){return Ho(function(s,a,i){return Ht(a)&&Ht(i)?t(e,a,i):e(s,a,i)},r,o)}),Wo=V(function(e,r){return Uo(function(o,s,a){return a},e,r)});const Ko=Wo;var Zo=V(function(e,r){for(var o={},s={},a=0,i=e.length;a<i;)s[e[a]]=1,a+=1;for(var l in r)s.hasOwnProperty(l)||(o[l]=r[l]);return o});const qo=Zo;var Xo=st(function(e,r,o){return e(St(r,o))});const Jo=Xo;var Qo=V(function(e,r){return Array.prototype.slice.call(r,0).sort(function(o,s){for(var a=0,i=0;a===0&&i<e.length;)a=e[i](o,s),i+=1;return a})});const ur=Qo;var ta=lr(1,"split");const Et=ta;var ea=lr(0,"toLowerCase");const ra=ea;var Ot=`
9
- \v\f\r                 \u2028\u2029\uFEFF`,na="​",oa=typeof String.prototype.trim=="function",aa=Y(!oa||Ot.trim()||!na.trim()?function(e){var r=new RegExp("^["+Ot+"]["+Ot+"]*"),o=new RegExp("["+Ot+"]["+Ot+"]*$");return e.replace(r,"").replace(o,"")}:function(e){return e.trim()});const Wt=aa,dr=Symbol("I18nContext"),K=n.reactive({messages:{},locale:"",fallbackLocale:""}),fr=({messages:t={},locale:e="",fallbackLocale:r=""})=>{K.messages=t,K.locale=e,K.fallbackLocale=r;const o=(c,u={})=>{const p=!jo(u),m=pt(Wt,Et(".",c));return n.computed(()=>{const f=mr(m);return p?ia(f,u):f}).value},s=c=>{const u=pt(Wt,Et(".",c));return!!me(K.locale,u,K.messages)},a=c=>{K.locale=c},l={locale:n.computed({get(){return K.locale},set(c){K.locale=c}}),setLocale:a,translate:o,hasTranlation:s};return n.provide(dr,l),{translate:o}},it=t=>{t&&(K.messages=t.messages,K.locale=t.locale,K.fallbackLocale=t.fallbackLocale);const e=sa();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranlation:e.hasTranlation}},sa=()=>{const t=n.inject(dr,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},mr=(t=[])=>{let e=me(K.locale,t,K.messages);return!e&&K.fallbackLocale&&(e=me(K.fallbackLocale,t,K.messages)),e||t.join(".")};function me(t,e,r){return cr([t,...e],r)}const ia=function(t,e){return t.replace(/\{(\w+)\}/g,function(r,o){return e[o]})},pr=n.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const r=pt(Wt,Et(".",t.path)),o=mr(r),s=Et(/{|}/,o),a=Object.keys(e).map(i=>{const l=s.indexOf(i);return l>-1&&(s[l]=e[i]()[0]),s});return()=>n.h(t.tag,a)}}),hr="https://api.icehockey.hu/vbr",gr="https://www.jegkorongszovetseg.hu/event/game/",yr="https://jegkorongszovetseg.hu/assets/images/player_blank.png",br="https://www.ersteliga.hu/stats/players#/player/",wr="https://www.ersteliga.hu/stats/teams#/team/3314/21096?name=",ot="original",b="descend",M="ascend",Sr=new Map().set("hu","hu-hu").set("en","hu-gb"),_r=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),la=1e3*60*5,Tr=1e3,ca={"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"},ua=n.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),da=[ua];function fa(t,e){return n.openBlock(),n.createElementBlock("svg",ca,da)}const kr={render:fa},ma={"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"},pa=n.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),ha=[pa];function ga(t,e){return n.openBlock(),n.createElementBlock("svg",ma,ha)}const ya={render:ga},ba={"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"},wa=n.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),Sa=[wa];function _a(t,e){return n.openBlock(),n.createElementBlock("svg",ba,Sa)}const Ta={render:_a};function Pt(t){return t.split("-")[1]}function pe(t){return t==="y"?"height":"width"}function ht(t){return t.split("-")[0]}function xt(t){return["top","bottom"].includes(ht(t))?"x":"y"}function $r(t,e,r){let{reference:o,floating:s}=t;const a=o.x+o.width/2-s.width/2,i=o.y+o.height/2-s.height/2,l=xt(e),c=pe(l),u=o[c]/2-s[c]/2,p=l==="x";let m;switch(ht(e)){case"top":m={x:a,y:o.y-s.height};break;case"bottom":m={x:a,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:i};break;case"left":m={x:o.x-s.width,y:i};break;default:m={x:o.x,y:o.y}}switch(Pt(e)){case"start":m[l]-=u*(r&&p?-1:1);break;case"end":m[l]+=u*(r&&p?-1:1)}return m}const ka=async(t,e,r)=>{const{placement:o="bottom",strategy:s="absolute",middleware:a=[],platform:i}=r,l=a.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(e));let u=await i.getElementRects({reference:t,floating:e,strategy:s}),{x:p,y:m}=$r(u,o,c),d=o,f={},h=0;for(let g=0;g<l.length;g++){const{name:y,fn:k}=l[g],{x:$,y:O,data:v,reset:D}=await k({x:p,y:m,initialPlacement:o,placement:d,strategy:s,middlewareData:f,rects:u,platform:i,elements:{reference:t,floating:e}});p=$??p,m=O??m,f={...f,[y]:{...f[y],...v}},D&&h<=50&&(h++,typeof D=="object"&&(D.placement&&(d=D.placement),D.rects&&(u=D.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:s}):D.rects),{x:p,y:m}=$r(u,d,c)),g=-1)}return{x:p,y:m,placement:d,strategy:s,middlewareData:f}};function Ar(t){return typeof t!="number"?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(t):{top:t,right:t,bottom:t,left:t}}function Kt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function Er(t,e){var r;e===void 0&&(e={});const{x:o,y:s,platform:a,rects:i,elements:l,strategy:c}=t,{boundary:u="clippingAncestors",rootBoundary:p="viewport",elementContext:m="floating",altBoundary:d=!1,padding:f=0}=e,h=Ar(f),g=l[d?m==="floating"?"reference":"floating":m],y=Kt(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(g)))==null||r?g:g.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:p,strategy:c})),k=m==="floating"?{...i.floating,x:o,y:s}:i.reference,$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),O=await(a.isElement==null?void 0:a.isElement($))&&await(a.getScale==null?void 0:a.getScale($))||{x:1,y:1},v=Kt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:k,offsetParent:$,strategy:c}):k);return{top:(y.top-v.top+h.top)/O.y,bottom:(v.bottom-y.bottom+h.bottom)/O.y,left:(y.left-v.left+h.left)/O.x,right:(v.right-y.right+h.right)/O.x}}const $a=Math.min,Aa=Math.max;function he(t,e,r){return Aa(t,$a(e,r))}const Or=t=>({name:"arrow",options:t,async fn(e){const{element:r,padding:o=0}=t||{},{x:s,y:a,placement:i,rects:l,platform:c,elements:u}=e;if(r==null)return{};const p=Ar(o),m={x:s,y:a},d=xt(i),f=pe(d),h=await c.getDimensions(r),g=d==="y",y=g?"top":"left",k=g?"bottom":"right",$=g?"clientHeight":"clientWidth",O=l.reference[f]+l.reference[d]-m[d]-l.floating[f],v=m[d]-l.reference[d],D=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let B=D?D[$]:0;B&&await(c.isElement==null?void 0:c.isElement(D))||(B=u.floating[$]||l.floating[f]);const R=O/2-v/2,F=p[y],L=B-h[f]-p[k],x=B/2-h[f]/2+R,I=he(F,x,L),H=Pt(i)!=null&&x!=I&&l.reference[f]/2-(x<F?p[y]:p[k])-h[f]/2<0;return{[d]:m[d]-(H?x<F?F-x:L-x:0),data:{[d]:I,centerOffset:x-I}}}});["top","right","bottom","left"].reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);const Ea={left:"right",right:"left",bottom:"top",top:"bottom"};function Zt(t){return t.replace(/left|right|bottom|top/g,e=>Ea[e])}function Oa(t,e,r){r===void 0&&(r=!1);const o=Pt(t),s=xt(t),a=pe(s);let i=s==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(i=Zt(i)),{main:i,cross:Zt(i)}}const Pa={start:"end",end:"start"};function ge(t){return t.replace(/start|end/g,e=>Pa[e])}const xa=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r;const{placement:o,middlewareData:s,rects:a,initialPlacement:i,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:h=!0,...g}=t,y=ht(o),k=ht(i)===i,$=await(l.isRTL==null?void 0:l.isRTL(c.floating)),O=m||(k||!h?[Zt(i)]:function(I){const H=Zt(I);return[ge(I),H,ge(H)]}(i));m||f==="none"||O.push(...function(I,H,E,T){const S=Pt(I);let A=function(w,P,N){const C=["left","right"],j=["right","left"],G=["top","bottom"],U=["bottom","top"];switch(w){case"top":case"bottom":return N?P?j:C:P?C:j;case"left":case"right":return P?G:U;default:return[]}}(ht(I),E==="start",T);return S&&(A=A.map(w=>w+"-"+S),H&&(A=A.concat(A.map(ge)))),A}(i,h,f,$));const v=[i,...O],D=await Er(e,g),B=[];let R=((r=s.flip)==null?void 0:r.overflows)||[];if(u&&B.push(D[y]),p){const{main:I,cross:H}=Oa(o,a,$);B.push(D[I],D[H])}if(R=[...R,{placement:o,overflows:B}],!B.every(I=>I<=0)){var F,L;const I=(((F=s.flip)==null?void 0:F.index)||0)+1,H=v[I];if(H)return{data:{index:I,overflows:R},reset:{placement:H}};let E=(L=R.filter(T=>T.overflows[0]<=0).sort((T,S)=>T.overflows[1]-S.overflows[1])[0])==null?void 0:L.placement;if(!E)switch(d){case"bestFit":{var x;const T=(x=R.map(S=>[S.placement,S.overflows.filter(A=>A>0).reduce((A,w)=>A+w,0)]).sort((S,A)=>S[1]-A[1])[0])==null?void 0:x[0];T&&(E=T);break}case"initialPlacement":E=i}if(o!==E)return{reset:{placement:E}}}return{}}}},Na=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:r,y:o}=e,s=await async function(a,i){const{placement:l,platform:c,elements:u}=a,p=await(c.isRTL==null?void 0:c.isRTL(u.floating)),m=ht(l),d=Pt(l),f=xt(l)==="x",h=["left","top"].includes(m)?-1:1,g=p&&f?-1:1,y=typeof i=="function"?i(a):i;let{mainAxis:k,crossAxis:$,alignmentAxis:O}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...y};return d&&typeof O=="number"&&($=d==="end"?-1*O:O),f?{x:$*g,y:k*h}:{x:k*h,y:$*g}}(e,t);return{x:r+s.x,y:o+s.y,data:s}}}};function va(t){return t==="x"?"y":"x"}const Da=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:o,placement:s}=e,{mainAxis:a=!0,crossAxis:i=!1,limiter:l={fn:y=>{let{x:k,y:$}=y;return{x:k,y:$}}},...c}=t,u={x:r,y:o},p=await Er(e,c),m=xt(ht(s)),d=va(m);let f=u[m],h=u[d];if(a){const y=m==="y"?"bottom":"right";f=he(f+p[m==="y"?"top":"left"],f,f-p[y])}if(i){const y=d==="y"?"bottom":"right";h=he(h+p[d==="y"?"top":"left"],h,h-p[y])}const g=l.fn({...e,[m]:f,[d]:h});return{...g,data:{x:g.x-r,y:g.y-o}}}}};function X(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function J(t){return X(t).getComputedStyle(t)}function Pr(t){return t instanceof X(t).Node}function lt(t){return Pr(t)?(t.nodeName||"").toLowerCase():""}function Q(t){return t instanceof X(t).HTMLElement}function q(t){return t instanceof X(t).Element}function xr(t){return typeof ShadowRoot>"u"?!1:t instanceof X(t).ShadowRoot||t instanceof ShadowRoot}function Nt(t){const{overflow:e,overflowX:r,overflowY:o,display:s}=J(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&!["inline","contents"].includes(s)}function La(t){return["table","td","th"].includes(lt(t))}function ye(t){const e=be(),r=J(t);return r.transform!=="none"||r.perspective!=="none"||!e&&!!r.backdropFilter&&r.backdropFilter!=="none"||!e&&!!r.filter&&r.filter!=="none"||["transform","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function be(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function qt(t){return["html","body","#document"].includes(lt(t))}const Nr=Math.min,vt=Math.max,Xt=Math.round;function vr(t){const e=J(t);let r=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const s=Q(t),a=s?t.offsetWidth:r,i=s?t.offsetHeight:o,l=Xt(r)!==a||Xt(o)!==i;return l&&(r=a,o=i),{width:r,height:o,fallback:l}}function Dr(t){return q(t)?t:t.contextElement}const Lr={x:1,y:1};function _t(t){const e=Dr(t);if(!Q(e))return Lr;const r=e.getBoundingClientRect(),{width:o,height:s,fallback:a}=vr(e);let i=(a?Xt(r.width):r.width)/o,l=(a?Xt(r.height):r.height)/s;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const Cr={x:0,y:0};function Mr(t,e,r){var o,s;if(e===void 0&&(e=!0),!be())return Cr;const a=t?X(t):window;return!r||e&&r!==a?Cr:{x:((o=a.visualViewport)==null?void 0:o.offsetLeft)||0,y:((s=a.visualViewport)==null?void 0:s.offsetTop)||0}}function gt(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);const s=t.getBoundingClientRect(),a=Dr(t);let i=Lr;e&&(o?q(o)&&(i=_t(o)):i=_t(t));const l=Mr(a,r,o);let c=(s.left+l.x)/i.x,u=(s.top+l.y)/i.y,p=s.width/i.x,m=s.height/i.y;if(a){const d=X(a),f=o&&q(o)?X(o):o;let h=d.frameElement;for(;h&&o&&f!==d;){const g=_t(h),y=h.getBoundingClientRect(),k=getComputedStyle(h);y.x+=(h.clientLeft+parseFloat(k.paddingLeft))*g.x,y.y+=(h.clientTop+parseFloat(k.paddingTop))*g.y,c*=g.x,u*=g.y,p*=g.x,m*=g.y,c+=y.x,u+=y.y,h=X(h).frameElement}}return Kt({width:p,height:m,x:c,y:u})}function ct(t){return((Pr(t)?t.ownerDocument:t.document)||window.document).documentElement}function Jt(t){return q(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Br(t){return gt(ct(t)).left+Jt(t).scrollLeft}function Tt(t){if(lt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||xr(t)&&t.host||ct(t);return xr(e)?e.host:e}function Ir(t){const e=Tt(t);return qt(e)?e.ownerDocument.body:Q(e)&&Nt(e)?e:Ir(e)}function Dt(t,e){var r;e===void 0&&(e=[]);const o=Ir(t),s=o===((r=t.ownerDocument)==null?void 0:r.body),a=X(o);return s?e.concat(a,a.visualViewport||[],Nt(o)?o:[]):e.concat(o,Dt(o))}function zr(t,e,r){let o;if(e==="viewport")o=function(s,a){const i=X(s),l=ct(s),c=i.visualViewport;let u=l.clientWidth,p=l.clientHeight,m=0,d=0;if(c){u=c.width,p=c.height;const f=be();(!f||f&&a==="fixed")&&(m=c.offsetLeft,d=c.offsetTop)}return{width:u,height:p,x:m,y:d}}(t,r);else if(e==="document")o=function(s){const a=ct(s),i=Jt(s),l=s.ownerDocument.body,c=vt(a.scrollWidth,a.clientWidth,l.scrollWidth,l.clientWidth),u=vt(a.scrollHeight,a.clientHeight,l.scrollHeight,l.clientHeight);let p=-i.scrollLeft+Br(s);const m=-i.scrollTop;return J(l).direction==="rtl"&&(p+=vt(a.clientWidth,l.clientWidth)-c),{width:c,height:u,x:p,y:m}}(ct(t));else if(q(e))o=function(s,a){const i=gt(s,!0,a==="fixed"),l=i.top+s.clientTop,c=i.left+s.clientLeft,u=Q(s)?_t(s):{x:1,y:1};return{width:s.clientWidth*u.x,height:s.clientHeight*u.y,x:c*u.x,y:l*u.y}}(e,r);else{const s=Mr(t);o={...e,x:e.x-s.x,y:e.y-s.y}}return Kt(o)}function Vr(t,e){const r=Tt(t);return!(r===e||!q(r)||qt(r))&&(J(r).position==="fixed"||Vr(r,e))}function Rr(t,e){return Q(t)&&J(t).position!=="fixed"?e?e(t):t.offsetParent:null}function Gr(t,e){const r=X(t);if(!Q(t))return r;let o=Rr(t,e);for(;o&&La(o)&&J(o).position==="static";)o=Rr(o,e);return o&&(lt(o)==="html"||lt(o)==="body"&&J(o).position==="static"&&!ye(o))?r:o||function(s){let a=Tt(s);for(;Q(a)&&!qt(a);){if(ye(a))return a;a=Tt(a)}return null}(t)||r}function Ca(t,e,r){const o=Q(e),s=ct(e),a=r==="fixed",i=gt(t,!0,a,e);let l={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if(o||!o&&!a)if((lt(e)!=="body"||Nt(s))&&(l=Jt(e)),Q(e)){const u=gt(e,!0,a,e);c.x=u.x+e.clientLeft,c.y=u.y+e.clientTop}else s&&(c.x=Br(s));return{x:i.left+l.scrollLeft-c.x,y:i.top+l.scrollTop-c.y,width:i.width,height:i.height}}const Ma={getClippingRect:function(t){let{element:e,boundary:r,rootBoundary:o,strategy:s}=t;const a=r==="clippingAncestors"?function(u,p){const m=p.get(u);if(m)return m;let d=Dt(u).filter(y=>q(y)&&lt(y)!=="body"),f=null;const h=J(u).position==="fixed";let g=h?Tt(u):u;for(;q(g)&&!qt(g);){const y=J(g),k=ye(g);k||y.position!=="fixed"||(f=null),(h?!k&&!f:!k&&y.position==="static"&&f&&["absolute","fixed"].includes(f.position)||Nt(g)&&!k&&Vr(u,g))?d=d.filter($=>$!==g):f=y,g=Tt(g)}return p.set(u,d),d}(e,this._c):[].concat(r),i=[...a,o],l=i[0],c=i.reduce((u,p)=>{const m=zr(e,p,s);return u.top=vt(m.top,u.top),u.right=Nr(m.right,u.right),u.bottom=Nr(m.bottom,u.bottom),u.left=vt(m.left,u.left),u},zr(e,l,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:r,strategy:o}=t;const s=Q(r),a=ct(r);if(r===a)return e;let i={scrollLeft:0,scrollTop:0},l={x:1,y:1};const c={x:0,y:0};if((s||!s&&o!=="fixed")&&((lt(r)!=="body"||Nt(a))&&(i=Jt(r)),Q(r))){const u=gt(r);l=_t(r),c.x=u.x+r.clientLeft,c.y=u.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-i.scrollLeft*l.x+c.x,y:e.y*l.y-i.scrollTop*l.y+c.y}},isElement:q,getDimensions:function(t){return vr(t)},getOffsetParent:Gr,getDocumentElement:ct,getScale:_t,async getElementRects(t){let{reference:e,floating:r,strategy:o}=t;const s=this.getOffsetParent||Gr,a=this.getDimensions;return{reference:Ca(e,await s(r),o),floating:{x:0,y:0,...await a(r)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>J(t).direction==="rtl"};function Ba(t,e,r,o){o===void 0&&(o={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:i=!0,animationFrame:l=!1}=o,c=s||a?[...q(t)?Dt(t):t.contextElement?Dt(t.contextElement):[],...Dt(e)]:[];c.forEach(d=>{const f=!q(d)&&d.toString().includes("V");!s||l&&!f||d.addEventListener("scroll",r,{passive:!0}),a&&d.addEventListener("resize",r)});let u,p=null;i&&(p=new ResizeObserver(()=>{r()}),q(t)&&!l&&p.observe(t),q(t)||!t.contextElement||l||p.observe(t.contextElement),p.observe(e));let m=l?gt(t):null;return l&&function d(){const f=gt(t);!m||f.x===m.x&&f.y===m.y&&f.width===m.width&&f.height===m.height||r(),m=f,u=requestAnimationFrame(d)}(),r(),()=>{var d;c.forEach(f=>{s&&f.removeEventListener("scroll",r),a&&f.removeEventListener("resize",r)}),(d=p)==null||d.disconnect(),p=null,l&&cancelAnimationFrame(u)}}const Ia=(t,e,r)=>{const o=new Map,s={platform:Ma,...r},a={...s.platform,_c:o};return ka(t,e,{...s,platform:a})},jr=(t,e="body")=>{if(!t)return;if(typeof e!="string"){e==null||e.append(t);return}const r=document.querySelector(e);r==null||r.append(t)};function za({middleware:t,placement:e=null,strategy:r,append:o,enabled:s}){const a=n.ref(null),i=n.ref(null),l=n.ref(null),c=n.ref(null),u=n.ref(null),p=n.ref(null),m=n.ref(null),d=n.ref(r??"absolute"),f=n.ref(null),h=()=>{!a.value||!i.value||Ia(a.value,i.value,{middleware:t,placement:e,strategy:r}).then(y=>{l.value=y.x,c.value=y.y,d.value=y.strategy,u.value=y.middlewareData.arrow.x,p.value=y.middlewareData.arrow.y,m.value=y.placement})};n.watch(()=>({reference:n.unref(a),floating:n.unref(i),append:n.unref(o)}),({floating:y,append:k})=>{k&&jr(y,k),h()},{flush:"post"}),n.watch(s,y=>{if(!(!a.value||!i.value)){if(!y)return g();f.value=Ba(a.value,i.value,h,{})}},{flush:"post"});const g=()=>{var y;(y=f.value)==null||y.call(f),f.value=null};return{x:l,y:c,arrowX:u,arrowY:p,placement:m,reference:a,floating:i,strategy:d,update:h}}const Va=t=>{const{element:e,padding:r}=t;return{name:"arrow",options:t,fn(o){return n.isRef(e)?e.value!=null?Or({element:e.value,padding:r}).fn(o):{}:e?Or({element:e,padding:r}).fn(o):{}}}},Ra=["data-placement"],we={__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}},setup(t){const e=t,r=n.ref(!1),o=n.ref(null),{x:s,y:a,arrowX:i,arrowY:l,placement:c,reference:u,floating:p,strategy:m}=za({placement:e.placement,middleware:[xa(),Da({padding:5}),Na(e.offset),Va({element:o,padding:5})],append:n.computed(()=>e.appendTo),enabled:r}),d=()=>{e.disabled||r.value||(r.value=!0)},f=y=>{r.value&&y&&(r.value=!1)},h=y=>{u.value=y},g={mouseenter:d,mouseleave:f,focus:d,blur:f};return _n(p,y=>{var k;(k=u.value)!=null&&k.contains(y.target)||f()}),(y,k)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.renderSlot(y.$slots,"default",{setRef:h,show:d,hide:f,events:g}),n.createElementVNode("div",{ref_key:"floating",ref:p,"data-placement":n.unref(c),style:n.normalizeStyle({position:n.unref(m),top:n.unref(a)?`${n.unref(a)}px`:"",left:n.unref(s)?`${n.unref(s)}px`:""})},[n.createVNode(n.Transition,{name:"transition-fade",mode:"out-in"},{default:n.withCtx(()=>[r.value?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(["floating-content",[`is-${e.theme}`]])},[n.renderSlot(y.$slots,"content",{close:f},()=>[n.createTextVNode(n.toDisplayString(t.content),1)]),n.createElementVNode("div",{ref_key:"arrowRef",ref:o,class:"is-arrow",style:n.normalizeStyle({position:n.unref(m),top:n.unref(l)?`${n.unref(l)}px`:"",left:n.unref(i)?`${n.unref(i)}px`:""})},null,4)],2)):n.createCommentVNode("",!0)]),_:3})],12,Ra)],64))}},Ga=["onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown","tabindex"],ja={key:0},Fa=["colspan"],Ya={key:1},Ha=["colspan"],Se={__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 r=t,{isLoading:o,appendTo:s}=n.toRefs(r),a=Ge(o,{delay:Tr}),{t:i}=it(),l=rt("table"),c=n.computed(()=>r.columns),u=n.computed(()=>Object.keys(r.columns).length),p=(m,d)=>{m.sortOrders&&e("sort",{target:d,orders:m.sortOrders})};return(m,d)=>(n.openBlock(),n.createElementBlock("table",{class:n.normalizeClass(n.unref(l))},[n.createElementVNode("thead",null,[n.createElementVNode("tr",null,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(c.value,(f,h)=>(n.openBlock(),n.createBlock(we,{key:h,placement:"top",content:f.tooltip,disabled:!f.tooltip,"append-to":n.unref(s)},{default:n.withCtx(({setRef:g,show:y,hide:k})=>[n.createElementVNode("th",{ref_for:!0,ref:g,class:n.normalizeClass([[f.class],{"is-active":h===t.sort.sortTarget&&t.sort.orders[0].direction!==n.unref(ot),"is-sortable":f.sortOrders,"is-desc":h===t.sort.sortTarget&&t.sort.orders[0].direction===n.unref(b),"is-asc":h===t.sort.sortTarget&&t.sort.orders[0].direction===n.unref(M)}]),onMouseenter:y,onMouseleave:k,onFocus:y,onBlur:k,onClick:$=>p(f,h),onKeydown:[n.withKeys(n.withModifiers($=>p(f,h),["prevent"]),["space"]),n.withKeys(n.withModifiers($=>p(f,h),["prevent"]),["enter"])],tabindex:f.sortOrders?0:-1,role:"button"},[n.renderSlot(m.$slots,`header-${h}`,{column:f},()=>[n.createTextVNode(n.toDisplayString(f.label),1)]),f.sortOrders&&h!==t.sort.sortTarget?(n.openBlock(),n.createBlock(n.unref(kr),{key:0,class:"is-icon-sort"})):n.createCommentVNode("",!0),h===t.sort.sortTarget&&t.sort.orders[0].direction===n.unref(ot)?(n.openBlock(),n.createBlock(n.unref(kr),{key:1,class:"is-icon-sort"})):n.createCommentVNode("",!0),h===t.sort.sortTarget&&t.sort.orders[0].direction===n.unref(b)?(n.openBlock(),n.createBlock(n.unref(ya),{key:2,class:"is-icon-sort"})):n.createCommentVNode("",!0),h===t.sort.sortTarget&&t.sort.orders[0].direction===n.unref(M)?(n.openBlock(),n.createBlock(n.unref(Ta),{key:3,class:"is-icon-sort"})):n.createCommentVNode("",!0)],42,Ga)]),_:2},1032,["content","disabled","append-to"]))),128))])]),n.createElementVNode("tbody",null,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(r.rows,(f,h)=>(n.openBlock(),n.createElementBlock("tr",{key:h},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(c.value,(g,y)=>(n.openBlock(),n.createElementBlock("td",{key:y,class:n.normalizeClass([[g.class],{"is-active":y===t.sort.sortTarget&&t.sort.orders[0].direction!==n.unref(ot)}])},[n.renderSlot(m.$slots,`cell-${y}`,{row:f,prop:y},()=>[n.createTextVNode(n.toDisplayString(f[y]),1)])],2))),128))]))),128))]),n.unref(a)&&t.rows.length===0?(n.openBlock(),n.createElementBlock("tfoot",ja,[n.createElementVNode("tr",null,[n.createElementVNode("td",{colspan:u.value},[n.renderSlot(m.$slots,"loading",{},()=>[n.createTextVNode(n.toDisplayString(n.unref(i)("common.loading")),1)])],8,Fa)])])):n.createCommentVNode("",!0),t.rows.length===0&&!n.unref(o)&&!n.unref(a)?(n.openBlock(),n.createElementBlock("tfoot",Ya,[n.createElementVNode("tr",null,[n.createElementVNode("td",{colspan:u.value},[n.renderSlot(m.$slots,"empty",{},()=>[n.createTextVNode(n.toDisplayString(n.unref(i)("common.noData")),1)])],8,Ha)])])):n.createCommentVNode("",!0)],2))}},Ua={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"},Wa=n.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),Ka=n.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),Za=n.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1),qa=[Wa,Ka,Za];function Xa(t,e){return n.openBlock(),n.createElementBlock("svg",Ua,qa)}const Ja={render:Xa},Qa={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})}},setup(t){const e=t,{t:r,hasTranlation:o}=it(),s=rt("error-notice"),a=n.computed(()=>{var i;return o(`errors.${e.error.key}`)?r(`errors.${e.error.key}`,e.error.cause):`${e.error.key}: ${(i=e.error)==null?void 0:i.message}`});return(i,l)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(n.unref(s))},[n.createVNode(n.unref(Ja),{class:"icon",width:"20",height:"20"}),n.createElementVNode("span",null,n.toDisplayString(a.value),1)],2))}};function Fr(t){return t&&t.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g).map(e=>e.toLowerCase()).join("-")}function _e(t,e,r){return(new Array(r+1).join(e)+t).slice(-r)}const Yr=Symbol("ErrorProviderContext"),Hr=()=>{const t=n.ref(""),e=n.ref({}),r=a=>{console.log({error:a}),t.value=a.message||a.error.message,e.value={message:a.message,key:a.key||Fr(a.message),cause:a.cause}},s={onError:r,reset:()=>{t.value="",e.value={}}};return n.provide(Yr,s),window.onerror=a=>{console.log("WINDOW_ONERROR:",a)},n.onErrorCaptured((a,i,l)=>{console.log("onErrorCaptured:",a,i,l)}),{hasError:n.computed(()=>t.value.length>0),message:t,error:e,onError:r}},Te=()=>{const t=ts();return{onError:t.onError,reset:t.reset}},ts=()=>{const t=n.inject(Yr,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},es={__name:"ErrorProvider",setup(t){const{message:e,hasError:r,error:o}=Hr();return(s,a)=>n.renderSlot(s.$slots,"default",{message:n.unref(e),error:n.unref(o),hasError:n.unref(r)})}},rs={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ő"},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:"SU.",overtimeShort:"HU.",all:"Mind",report:"Jegyzőkönyv",video:"Videó"},table:{blank:"#",team:{short:"Csapat",tooltip:"Csapatnév"},game:{short:"M",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:"L",tooltip:"Lövések"},sogPercent:{short:"L%",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:"M",tooltip:"Mérkőzésre Nevezve"},gpi:{short:"LM",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:"KL",tooltip:"Kapott Lövés"},svs:{short:"VL",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"}},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"}}},ns={errors:{"undefined-column":"The {column} column is not exists!","invalid-season-name":"Invalid season name","api-key-not-found":"API Key not found"},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"},table:{blank:"#",team:{short:"Team",tooltip:"Team name"},game:{short:"GP",tooltip:"Game Played"},wins:{short:"W",tooltip:"Wins"},draw:{short:"D",tooltip:"Draw"},otw:{short:"OTW",tooltip:"Overtime Wins"},sow:{short:"SOW",tooltip:"Shoot Out Wins"},sol:{short:"SOL",tooltip:"Shoot Out Losses"},otl:{short:"OTL",tooltip:"Overtime Losses"},losses:{short:"L",tooltip:"Losses"},goalFor:{short:"GF",tooltip:"Goals For"},goalAgainst:{short:"GA",tooltip:"Goals Against"},goalDiff:{short:"GD",tooltip:"Goal Differential"},points:{short:"PTS",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:"SOG",tooltip:"Shots on Goal"},sogPercent:{short:"SOG%",tooltip:"Shots on Goal Percent"},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"}},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"}}},Ur=(t,e)=>{const r=t.__vccOpts||t;for(const[o,s]of e)r[o]=s;return r},os=n.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=Ko({hu:rs,en:ns},t.messages),{translate:r}=fr({locale:n.computed(()=>t.locale),messages:e});return{translate:r}}});function as(t,e,r,o,s,a){return n.renderSlot(t.$slots,"default",{t:t.translate})}const ss=Ur(os,[["render",as]]),is=["src"],ls=["src","title"],yt=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:r}=n.toRefs(e),o=n.ref({src:e.src}),{error:s,isReady:a}=Mn(o,{resetOnExecute:!1,shallow:!1});return(i,l)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.unref(s)&&n.unref(r)?(n.openBlock(),n.createElementBlock("img",{key:0,src:n.unref(r),class:n.normalizeClass(["is-loaded",i.$attrs.class])},null,10,is)):n.createCommentVNode("",!0),n.unref(s)?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("img",{key:1,src:o.value.src,class:n.normalizeClass([i.$attrs.class,{"is-loaded":n.unref(a)}]),title:e.title},null,10,ls))],64))}}),cs={style:{"text-align":"center"}},ke={__name:"LoadingIndicator",setup(t){const{t:e}=it();return(r,o)=>(n.openBlock(),n.createElementBlock("div",cs,n.toDisplayString(n.unref(e)("common.loading")),1))}};function us({currentPage:t,itemsPerPage:e=20,totalItems:r,rangeLength:o=5,update:s=nt}){const a=n.computed(()=>Math.ceil(n.unref(r)/e)),i=n.computed(()=>{const p=n.unref(t)-1,m=Array.from({length:a.value},(h,g)=>g+1),d=Math.floor(o/2);let f=Math.max(p-d,0);return f+o>=a.value&&(f=Math.max(a.value-o,0)),m.slice(f,f+o)}),l=p=>{const m=n.unref(t)+p;u(m)&&s(m)},c=p=>{u(p)&&s(p)},u=p=>p<=a.value&&p>0;return{page:t,range:i,pageCount:a,goTo:c,pageStep:l}}const ds={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"},fs=n.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1),ms=[fs];function ps(t,e){return n.openBlock(),n.createElementBlock("svg",ds,ms)}const hs={render:ps},gs={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"},ys=n.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1),bs=[ys];function ws(t,e){return n.openBlock(),n.createElementBlock("svg",gs,bs)}const Ss={render:ws},_s=["disabled"],Ts=["disabled"],ks={key:1,class:"is-disabled"},$s=["disabled","onClick"],As={key:2,class:"is-disabled"},Es=[n.createElementVNode("span",null,"...",-1)],Os=["disabled"],Ps=["disabled"],xs={__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 r=t,o=rt("paginator"),{page:s,pageCount:a,range:i,goTo:l,pageStep:c}=us({currentPage:n.computed(()=>r.page),totalItems:n.computed(()=>r.totalItems),itemsPerPage:r.itemsPerPage,rangeLength:r.rangeLength,update:u=>e("change",u)});return(u,p)=>n.unref(a)>1?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(n.unref(o))},[n.createElementVNode("button",{type:"button",disabled:n.unref(s)===1,onClick:p[0]||(p[0]=m=>n.unref(c)(-1))},[n.renderSlot(u.$slots,"prev",{},()=>[n.createVNode(n.unref(hs),{class:"icon paginator-left"})])],8,_s),t.isCompact?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("button",{key:0,type:"button",disabled:n.unref(s)===1,onClick:p[1]||(p[1]=m=>n.unref(l)(1))},"1",8,Ts)),t.isCompact?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("div",ks,"...")),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(i),m=>(n.openBlock(),n.createElementBlock("button",{type:"button",key:m,class:n.normalizeClass({"is-active":m===n.unref(s)}),disabled:m===n.unref(s),onClick:d=>n.unref(l)(m)},n.toDisplayString(m),11,$s))),128)),t.isCompact?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("div",As,Es)),t.isCompact?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("button",{key:3,type:"button",disabled:n.unref(s)===n.unref(a),onClick:p[2]||(p[2]=m=>n.unref(l)(n.unref(a)))},n.toDisplayString(n.unref(a)),9,Os)),n.createElementVNode("button",{type:"button",disabled:n.unref(s)===n.unref(a),onClick:p[3]||(p[3]=n.withModifiers(m=>n.unref(c)(1),["prevent"]))},[n.renderSlot(u.$slots,"next",{},()=>[n.createVNode(n.unref(Ss),{class:"icon paginator-left"})])],8,Ps)],2)):n.createCommentVNode("",!0)}},$e={__name:"ResponsiveTable",setup(t){const e=n.ref(null),r=rt("table-responsive");return(o,s)=>(n.openBlock(),n.createElementBlock("div",{ref_key:"el",ref:e,class:n.normalizeClass(n.unref(r))},[n.renderSlot(o.$slots,"default",{el:e.value})],2))}};var ut=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Wr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ut,function(){var r=1e3,o=6e4,s=36e5,a="millisecond",i="second",l="minute",c="hour",u="day",p="week",m="month",d="quarter",f="year",h="date",g="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,k=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(E){var T=["th","st","nd","rd"],S=E%100;return"["+E+(T[(S-20)%10]||T[S]||T[0])+"]"}},O=function(E,T,S){var A=String(E);return!A||A.length>=T?E:""+Array(T+1-A.length).join(S)+E},v={s:O,z:function(E){var T=-E.utcOffset(),S=Math.abs(T),A=Math.floor(S/60),w=S%60;return(T<=0?"+":"-")+O(A,2,"0")+":"+O(w,2,"0")},m:function E(T,S){if(T.date()<S.date())return-E(S,T);var A=12*(S.year()-T.year())+(S.month()-T.month()),w=T.clone().add(A,m),P=S-w<0,N=T.clone().add(A+(P?-1:1),m);return+(-(A+(S-w)/(P?w-N:N-w))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:m,y:f,w:p,d:u,D:h,h:c,m:l,s:i,ms:a,Q:d}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},D="en",B={};B[D]=$;var R=function(E){return E instanceof I},F=function E(T,S,A){var w;if(!T)return D;if(typeof T=="string"){var P=T.toLowerCase();B[P]&&(w=P),S&&(B[P]=S,w=P);var N=T.split("-");if(!w&&N.length>1)return E(N[0])}else{var C=T.name;B[C]=T,w=C}return!A&&w&&(D=w),w||!A&&D},L=function(E,T){if(R(E))return E.clone();var S=typeof T=="object"?T:{};return S.date=E,S.args=arguments,new I(S)},x=v;x.l=F,x.i=R,x.w=function(E,T){return L(E,{locale:T.$L,utc:T.$u,x:T.$x,$offset:T.$offset})};var I=function(){function E(S){this.$L=F(S.locale,null,!0),this.parse(S)}var T=E.prototype;return T.parse=function(S){this.$d=function(A){var w=A.date,P=A.utc;if(w===null)return new Date(NaN);if(x.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var N=w.match(y);if(N){var C=N[2]-1||0,j=(N[7]||"0").substring(0,3);return P?new Date(Date.UTC(N[1],C,N[3]||1,N[4]||0,N[5]||0,N[6]||0,j)):new Date(N[1],C,N[3]||1,N[4]||0,N[5]||0,N[6]||0,j)}}return new Date(w)}(S),this.$x=S.x||{},this.init()},T.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},T.$utils=function(){return x},T.isValid=function(){return this.$d.toString()!==g},T.isSame=function(S,A){var w=L(S);return this.startOf(A)<=w&&w<=this.endOf(A)},T.isAfter=function(S,A){return L(S)<this.startOf(A)},T.isBefore=function(S,A){return this.endOf(A)<L(S)},T.$g=function(S,A,w){return x.u(S)?this[A]:this.set(w,S)},T.unix=function(){return Math.floor(this.valueOf()/1e3)},T.valueOf=function(){return this.$d.getTime()},T.startOf=function(S,A){var w=this,P=!!x.u(A)||A,N=x.p(S),C=function(kt,Z){var ft=x.w(w.$u?Date.UTC(w.$y,Z,kt):new Date(w.$y,Z,kt),w);return P?ft:ft.endOf(u)},j=function(kt,Z){return x.w(w.toDate()[kt].apply(w.toDate("s"),(P?[0,0,0,0]:[23,59,59,999]).slice(Z)),w)},G=this.$W,U=this.$M,dt=this.$D,at="set"+(this.$u?"UTC":"");switch(N){case f:return P?C(1,0):C(31,11);case m:return P?C(1,U):C(0,U+1);case p:var Mt=this.$locale().weekStart||0,Bt=(G<Mt?G+7:G)-Mt;return C(P?dt-Bt:dt+(6-Bt),U);case u:case h:return j(at+"Hours",0);case c:return j(at+"Minutes",1);case l:return j(at+"Seconds",2);case i:return j(at+"Milliseconds",3);default:return this.clone()}},T.endOf=function(S){return this.startOf(S,!1)},T.$set=function(S,A){var w,P=x.p(S),N="set"+(this.$u?"UTC":""),C=(w={},w[u]=N+"Date",w[h]=N+"Date",w[m]=N+"Month",w[f]=N+"FullYear",w[c]=N+"Hours",w[l]=N+"Minutes",w[i]=N+"Seconds",w[a]=N+"Milliseconds",w)[P],j=P===u?this.$D+(A-this.$W):A;if(P===m||P===f){var G=this.clone().set(h,1);G.$d[C](j),G.init(),this.$d=G.set(h,Math.min(this.$D,G.daysInMonth())).$d}else C&&this.$d[C](j);return this.init(),this},T.set=function(S,A){return this.clone().$set(S,A)},T.get=function(S){return this[x.p(S)]()},T.add=function(S,A){var w,P=this;S=Number(S);var N=x.p(A),C=function(U){var dt=L(P);return x.w(dt.date(dt.date()+Math.round(U*S)),P)};if(N===m)return this.set(m,this.$M+S);if(N===f)return this.set(f,this.$y+S);if(N===u)return C(1);if(N===p)return C(7);var j=(w={},w[l]=o,w[c]=s,w[i]=r,w)[N]||1,G=this.$d.getTime()+S*j;return x.w(G,this)},T.subtract=function(S,A){return this.add(-1*S,A)},T.format=function(S){var A=this,w=this.$locale();if(!this.isValid())return w.invalidDate||g;var P=S||"YYYY-MM-DDTHH:mm:ssZ",N=x.z(this),C=this.$H,j=this.$m,G=this.$M,U=w.weekdays,dt=w.months,at=function(Z,ft,ve,te){return Z&&(Z[ft]||Z(A,P))||ve[ft].slice(0,te)},Mt=function(Z){return x.s(C%12||12,Z,"0")},Bt=w.meridiem||function(Z,ft,ve){var te=Z<12?"AM":"PM";return ve?te.toLowerCase():te},kt={YY:String(this.$y).slice(-2),YYYY:this.$y,M:G+1,MM:x.s(G+1,2,"0"),MMM:at(w.monthsShort,G,dt,3),MMMM:at(dt,G),D:this.$D,DD:x.s(this.$D,2,"0"),d:String(this.$W),dd:at(w.weekdaysMin,this.$W,U,2),ddd:at(w.weekdaysShort,this.$W,U,3),dddd:U[this.$W],H:String(C),HH:x.s(C,2,"0"),h:Mt(1),hh:Mt(2),a:Bt(C,j,!0),A:Bt(C,j,!1),m:String(j),mm:x.s(j,2,"0"),s:String(this.$s),ss:x.s(this.$s,2,"0"),SSS:x.s(this.$ms,3,"0"),Z:N};return P.replace(k,function(Z,ft){return ft||kt[Z]||N.replace(":","")})},T.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},T.diff=function(S,A,w){var P,N=x.p(A),C=L(S),j=(C.utcOffset()-this.utcOffset())*o,G=this-C,U=x.m(this,C);return U=(P={},P[f]=U/12,P[m]=U,P[d]=U/3,P[p]=(G-j)/6048e5,P[u]=(G-j)/864e5,P[c]=G/s,P[l]=G/o,P[i]=G/r,P)[N]||G,w?U:x.a(U)},T.daysInMonth=function(){return this.endOf(m).$D},T.$locale=function(){return B[this.$L]},T.locale=function(S,A){if(!S)return this.$L;var w=this.clone(),P=F(S,A,!0);return P&&(w.$L=P),w},T.clone=function(){return x.w(this.$d,this)},T.toDate=function(){return new Date(this.valueOf())},T.toJSON=function(){return this.isValid()?this.toISOString():null},T.toISOString=function(){return this.$d.toISOString()},T.toString=function(){return this.$d.toUTCString()},E}(),H=I.prototype;return L.prototype=H,[["$ms",a],["$s",i],["$m",l],["$H",c],["$W",u],["$M",m],["$y",f],["$D",h]].forEach(function(E){H[E[1]]=function(T){return this.$g(T,E[0],E[1])}}),L.extend=function(E,T){return E.$i||(E(T,I,L),E.$i=!0),L},L.locale=F,L.isDayjs=R,L.unix=function(E){return L(1e3*E)},L.en=B[D],L.Ls=B,L.p={},L})})(Wr);var Kr=Wr.exports;const W=bt(Kr);var Zr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ut,function(){var r="minute",o=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g;return function(a,i,l){var c=i.prototype;l.utc=function(g){var y={date:g,utc:!0,args:arguments};return new i(y)},c.utc=function(g){var y=l(this.toDate(),{locale:this.$L,utc:!0});return g?y.add(this.utcOffset(),r):y},c.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var u=c.parse;c.parse=function(g){g.utc&&(this.$u=!0),this.$utils().u(g.$offset)||(this.$offset=g.$offset),u.call(this,g)};var p=c.init;c.init=function(){if(this.$u){var g=this.$d;this.$y=g.getUTCFullYear(),this.$M=g.getUTCMonth(),this.$D=g.getUTCDate(),this.$W=g.getUTCDay(),this.$H=g.getUTCHours(),this.$m=g.getUTCMinutes(),this.$s=g.getUTCSeconds(),this.$ms=g.getUTCMilliseconds()}else p.call(this)};var m=c.utcOffset;c.utcOffset=function(g,y){var k=this.$utils().u;if(k(g))return this.$u?0:k(this.$offset)?m.call(this):this.$offset;if(typeof g=="string"&&(g=function(D){D===void 0&&(D="");var B=D.match(o);if(!B)return null;var R=(""+B[0]).match(s)||["-",0,0],F=R[0],L=60*+R[1]+ +R[2];return L===0?0:F==="+"?L:-L}(g),g===null))return this;var $=Math.abs(g)<=16?60*g:g,O=this;if(y)return O.$offset=$,O.$u=g===0,O;if(g!==0){var v=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(O=this.local().add($+v,r)).$offset=$,O.$x.$localOffset=v}else O=this.utc();return O};var d=c.format;c.format=function(g){var y=g||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return d.call(this,y)},c.valueOf=function(){var g=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*g},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var f=c.toDate;c.toDate=function(g){return g==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var h=c.diff;c.diff=function(g,y,k){if(g&&this.$u===g.$u)return h.call(this,g,y,k);var $=this.local(),O=l(g).local();return h.call($,O,y,k)}}})})(Zr);var Ns=Zr.exports;const vs=bt(Ns);var qr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ut,function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(s,a,i){var l,c=function(d,f,h){h===void 0&&(h={});var g=new Date(d),y=function(k,$){$===void 0&&($={});var O=$.timeZoneName||"short",v=k+"|"+O,D=o[v];return D||(D=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:k,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:O}),o[v]=D),D}(f,h);return y.formatToParts(g)},u=function(d,f){for(var h=c(d,f),g=[],y=0;y<h.length;y+=1){var k=h[y],$=k.type,O=k.value,v=r[$];v>=0&&(g[v]=parseInt(O,10))}var D=g[3],B=D===24?0:D,R=g[0]+"-"+g[1]+"-"+g[2]+" "+B+":"+g[4]+":"+g[5]+":000",F=+d;return(i.utc(R).valueOf()-(F-=F%1e3))/6e4},p=a.prototype;p.tz=function(d,f){d===void 0&&(d=l);var h=this.utcOffset(),g=this.toDate(),y=g.toLocaleString("en-US",{timeZone:d}),k=Math.round((g-new Date(y))/1e3/60),$=i(y).$set("millisecond",this.$ms).utcOffset(15*-Math.round(g.getTimezoneOffset()/15)-k,!0);if(f){var O=$.utcOffset();$=$.add(h-O,"minute")}return $.$x.$timezone=d,$},p.offsetName=function(d){var f=this.$x.$timezone||i.tz.guess(),h=c(this.valueOf(),f,{timeZoneName:d}).find(function(g){return g.type.toLowerCase()==="timezonename"});return h&&h.value};var m=p.startOf;p.startOf=function(d,f){if(!this.$x||!this.$x.$timezone)return m.call(this,d,f);var h=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return m.call(h,d,f).tz(this.$x.$timezone,!0)},i.tz=function(d,f,h){var g=h&&f,y=h||f||l,k=u(+i(),y);if(typeof d!="string")return i(d).tz(y);var $=function(B,R,F){var L=B-60*R*1e3,x=u(L,F);if(R===x)return[L,R];var I=u(L-=60*(x-R)*1e3,F);return x===I?[L,x]:[B-60*Math.min(x,I)*1e3,Math.max(x,I)]}(i.utc(d,g).valueOf(),k,y),O=$[0],v=$[1],D=i(O).utcOffset(v);return D.$x.$timezone=y,D},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(d){l=d}}})})(qr);var Ds=qr.exports;const Ls=bt(Ds);var Xr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ut,function(){return function(r,o){var s=o.prototype,a=s.format;s.format=function(i){var l=this,c=this.$locale();if(!this.isValid())return a.bind(this)(i);var u=this.$utils(),p=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(m){switch(m){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return c.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return c.ordinal(l.week(),"W");case"w":case"ww":return u.s(l.week(),m==="w"?1:2,"0");case"W":case"WW":return u.s(l.isoWeek(),m==="W"?1:2,"0");case"k":case"kk":return u.s(String(l.$H===0?24:l.$H),m==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return m}});return a.bind(this)(p)}}})})(Xr);var Cs=Xr.exports;const Ms=bt(Cs);var Jr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ut,function(){return function(r,o){o.prototype.isSameOrBefore=function(s,a){return this.isSame(s,a)||this.isBefore(s,a)}}})})(Jr);var Bs=Jr.exports;const Is=bt(Bs);var Qr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ut,function(){return function(r,o,s){o.prototype.isBetween=function(a,i,l,c){var u=s(a),p=s(i),m=(c=c||"()")[0]==="(",d=c[1]===")";return(m?this.isAfter(u,l):!this.isBefore(u,l))&&(d?this.isBefore(p,l):!this.isAfter(p,l))||(m?this.isBefore(u,l):!this.isAfter(u,l))&&(d?this.isAfter(p,l):!this.isBefore(p,l))}}})})(Qr);var zs=Qr.exports;const Vs=bt(zs);var tn={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ut,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(o,s,a){var i=s.prototype,l=i.format;a.en.formats=r,i.format=function(c){c===void 0&&(c="YYYY-MM-DDTHH:mm:ssZ");var u=this.$locale().formats,p=function(m,d){return m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(f,h,g){var y=g&&g.toUpperCase();return h||d[g]||r[g]||d[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(k,$,O){return $||O.slice(1)})})}(c,u===void 0?{}:u);return l.call(this,p)}}})})(tn);var Rs=tn.exports;const Gs=bt(Rs);var js={exports:{}};(function(t,e){(function(r,o){t.exports=o(Kr)})(ut,function(r){function o(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var s=o(r),a={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(i){return i+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(i,l,c,u){return"néhány másodperc"+(u||l?"":"e")},m:function(i,l,c,u){return"egy perc"+(u||l?"":"e")},mm:function(i,l,c,u){return i+" perc"+(u||l?"":"e")},h:function(i,l,c,u){return"egy "+(u||l?"óra":"órája")},hh:function(i,l,c,u){return i+" "+(u||l?"óra":"órája")},d:function(i,l,c,u){return"egy "+(u||l?"nap":"napja")},dd:function(i,l,c,u){return i+" "+(u||l?"nap":"napja")},M:function(i,l,c,u){return"egy "+(u||l?"hónap":"hónapja")},MM:function(i,l,c,u){return i+" "+(u||l?"hónap":"hónapja")},y:function(i,l,c,u){return"egy "+(u||l?"év":"éve")},yy:function(i,l,c,u){return i+" "+(u||l?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return s.default.locale(a,null,!0),a})})(js),W.extend(vs),W.extend(Ls),W.extend(Ms),W.extend(Gs),W.extend(Is),W.extend(Vs);const en=()=>W.tz.guess(),Qt=(t="",e="",r="",o="hu")=>(r=r||W.tz.guess(),W(t).isValid()?W(t).tz(r).locale(o).format(e):""),Lt=(t="",e="",r="hu")=>{if(!W(t).isValid())return"";e=e||W.tz.guess();const s=new Intl.DateTimeFormat(Fs(r),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(a=>a.type==="timeZoneName");return s&&s.value},Fs=t=>Sr.get(t),Ae=t=>{const e=t.split(":");return parseInt(e[0],10)*60+parseInt(e[1],10)},rn=t=>{const e=~~(t/60),r=~~t%60;return _e(e,"0",2)+":"+_e(r,"0",2)},nn=(t,e="day")=>W().isSameOrBefore(W(t),e),Ys=(t,e,r)=>W(t).isBetween(e,W(r)),Hs=(t,e,r="month")=>W(t).isSame(e,r),Us=["onClick"],Ws={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const r=t,{t:o}=it(),s=rt("timezone-selector"),a=n.computed(()=>Lt(new Date,null,r.locale)),i=en(),l=n.computed(()=>Array.from(_r.values()).map(u=>({...u,isActive:Lt(new Date,r.currentZone,r.locale)===Lt(new Date,u.timezone,r.locale),zoneOffsetName:Lt(new Date,u.timezone,r.locale)}))),c=u=>e("change",u);return(u,p)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(n.unref(s))},[n.createVNode(n.unref(pr),{path:"common.selectTimezone",tag:"span"},{timezone:n.withCtx(()=>[n.createElementVNode("a",{href:"#",onClick:p[0]||(p[0]=n.withModifiers(m=>c(n.unref(i)),["prevent"]))},n.toDisplayString(a.value),1)]),_:1}),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.value,m=>(n.openBlock(),n.createElementBlock("a",{key:m.countryLabelKey,href:"#",class:n.normalizeClass({"is-active":m.isActive}),onClick:n.withModifiers(d=>c(m.timezone),["prevent"])},n.toDisplayString(n.unref(o)(`common.${m.countryLabelKey}`))+" ("+n.toDisplayString(m.zoneOffsetName)+") ",11,Us))),128))],2))}},Ee=(t,e="",r={})=>{const o=n.ref(""),{t:s}=it(),a=n.computed(()=>{if(n.unref(e))try{const c=on(n.unref(t),n.unref(e));return qo(c,n.unref(t))}catch(c){o.value=c}return n.unref(t)}),i=c=>({...c,...c.label&&{label:s(c.label??"",n.unref(r))},...c.tooltip&&{tooltip:s(c.tooltip??"")}});return{columns:n.computed(()=>pt(i,a.value)),error:o}},on=(t,e="")=>{const r=pt(Wt,Et(",",e)),o=mt(t);if(r[0]==="")return resolve([]);const s=r.findIndex(a=>!o.includes(a));if(s>-1)throw r[s];return r};class Oe extends Error{constructor(e,r={}){const{key:o,cause:s}=r;super(e),this.name="WidgetError",this.key=o,this.cause=s}}const Ct={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},Ks={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}},Zs={class:"is-portrait-image"},qs={class:"is-team-name-long"},Xs={class:"is-team-name-short"},Js={class:"is-team-name-long"},Qs={class:"is-team-name-short"},ti={class:"is-team-name-long"},ei={class:"is-team-name-short"},ri=["href"],ni={class:"is-team-name-long"},oi={class:"is-team-name-short"},ai=["href"],si={key:0,class:"is-text-dark"},ii=["href","target"],li={__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:HTMLElement,default:null},offsetName:{type:String,default:""}},emits:["sort"],setup(t,{emit:e}){const r=t,{columns:o,hideColumns:s}=n.toRefs(r),{onError:a}=Te(),{columns:i,error:l}=Ee(o,s,n.computed(()=>({offsetName:r.offsetName})));l.value&&a(new Oe(Ct.message,{...Ct.options,cause:{column:l.value}}));const c=u=>e("sort",u);return(u,p)=>(n.openBlock(),n.createBlock($e,null,{default:n.withCtx(({el:m})=>[n.createVNode(Se,{columns:n.unref(i),sort:r.sort,rows:r.rows,"is-loading":t.isLoading,"append-to":t.appendTo||m,onSort:c},n.createSlots({"cell-index":n.withCtx(({row:d})=>[n.createElementVNode("span",{class:n.normalizeClass(d.indexClass)},n.toDisplayString(d.index),3)]),"cell-playerPortrait":n.withCtx(({row:d})=>[n.createElementVNode("div",Zs,[(n.openBlock(),n.createBlock(yt,{key:d.id||d.playerId,src:d.playerPortrait,"default-src":n.unref(yr)},null,8,["src","default-src"]))])]),"cell-teamLogo":n.withCtx(({row:d})=>{var f,h;return[(n.openBlock(),n.createBlock(yt,{class:"is-logo-image",key:((f=d.team)==null?void 0:f.id)??d.id,src:(h=d.team)==null?void 0:h.logo},null,8,["src"]))]}),"cell-homeTeamLogo":n.withCtx(({row:d})=>{var f,h;return[(n.openBlock(),n.createBlock(yt,{class:"is-logo-image is-right",key:(f=d.homeTeam)==null?void 0:f.id,src:(h=d.homeTeam)==null?void 0:h.logo},null,8,["src"]))]}),"cell-awayTeamLogo":n.withCtx(({row:d})=>{var f,h;return[(n.openBlock(),n.createBlock(yt,{class:"is-logo-image is-right",key:(f=d.awayTeam)==null?void 0:f.id,src:(h=d.awayTeam)==null?void 0:h.logo},null,8,["src"]))]}),"cell-teamName":n.withCtx(({row:d})=>{var f,h;return[n.createElementVNode("span",qs,n.toDisplayString((f=d.team)==null?void 0:f.longName),1),n.createElementVNode("span",Xs,n.toDisplayString((h=d.team)==null?void 0:h.shortName),1)]}),"cell-homeTeamName":n.withCtx(({row:d})=>{var f,h;return[n.createElementVNode("span",Js,n.toDisplayString((f=d.homeTeam)==null?void 0:f.longName),1),n.createElementVNode("span",Qs,n.toDisplayString((h=d.homeTeam)==null?void 0:h.shortName),1)]}),"cell-awayTeamName":n.withCtx(({row:d})=>{var f,h;return[n.createElementVNode("span",ti,n.toDisplayString((f=d.awayTeam)==null?void 0:f.longName),1),n.createElementVNode("span",ei,n.toDisplayString((h=d.awayTeam)==null?void 0:h.shortName),1)]}),"cell-location":n.withCtx(({row:d})=>{var f;return[n.createTextVNode(n.toDisplayString(((f=d.location)==null?void 0:f.locationName)??""),1)]}),"cell-gameResult":n.withCtx(({row:d})=>[d.gameStatus===0?(n.openBlock(),n.createElementBlock("span",si,"-:-")):(n.openBlock(),n.createElementBlock("a",{key:1,href:t.externalGameResolver(d.gameId),target:t.externalGameResolverTarget,class:n.normalizeClass({"is-text-dark":d.gameStatus!==1,"is-text-accent":d.gameStatus===1})},n.toDisplayString(d.homeTeamScore)+":"+n.toDisplayString(d.awayTeamScore),11,ii))]),loading:n.withCtx(()=>[n.createVNode(ke)]),_:2},[t.isTeamLinked?{name:"cell-teamName",fn:n.withCtx(({row:d})=>{var f,h,g;return[n.createElementVNode("a",{href:t.externalTeamResolver((f=d.team)==null?void 0:f.longName),target:"_blank"},[n.createElementVNode("span",ni,n.toDisplayString((h=d.team)==null?void 0:h.longName),1),n.createElementVNode("span",oi,n.toDisplayString((g=d.team)==null?void 0:g.shortName),1)],8,ri)]}),key:"0"}:void 0,t.isPlayerLinked?{name:"cell-name",fn:n.withCtx(({row:d})=>[n.createElementVNode("a",{href:t.externalPlayerResolver(d.id),target:"_blank"},n.toDisplayString(d.name),9,ai)]),key:"1"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},an={gameName:{label:"table.gameName.short",tooltip:"table.gameName.tooltip",class:"is-text-left is-text-light"},gameDateDate:{label:"table.gameDate.short",tooltip:"table.gameDate.tooltip",class:"is-text-left"},gameDateTime:{label:"table.gameDateTime.short",tooltip:"table.gameDateTime.tooltip",class:"is-text-left"},homeTeamName:{label:"table.homeTeam.short",tooltip:"table.homeTeam.tooltip",class:"is-text-right is-w-auto is-text-bold"},homeTeamLogo:{label:"",class:"is-has-image"},gameResult:{label:"",class:"is-text-bold is-text-xl"},gameResultType:{label:"",tooltip:""},awayTeamLogo:{label:"",class:"is-has-image"},awayTeamName:{label:"table.awayTeam.short",tooltip:"table.awayTeam.tooltip",class:"is-text-left is-w-auto is-text-bold"},location:{label:"table.location.short",tooltip:"table.location.tooltip",class:"is-text-left"},broadcast:{label:"table.broadcast.short",tooltip:"table.broadcast.tooltip"},more:{label:""}},ci={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:M}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gamesPlayed",direction:b}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:b},{target:"otw",direction:b}]},otw:{label:"table.otw.short",tooltip:"table.otw.tooltip",sortOrders:[{target:"otw",direction:b}]},sow:{label:"table.sow.short",tooltip:"table.sow.tooltip",sortOrders:[{target:"sow",direction:b}]},sol:{label:"table.sol.short",tooltip:"table.sol.tooltip",sortOrders:[{target:"sol",direction:b}]},otl:{label:"table.otl.short",tooltip:"table.otl.tooltip",sortOrders:[{target:"otl",direction:M}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:M}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:b}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:M}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},ui={index:{label:"#",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:M}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gamesPlayed",direction:b}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:b},{target:"d",direction:b}]},d:{label:"table.draw.short",tooltip:"table.draw.tooltip",sortOrders:[{target:"d",direction:b},{target:"w",direction:b}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:M}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:b}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:M}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b}]}},di={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:M}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:M}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},g:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"g",direction:b},{target:"a",direction:b}]},a:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"a",direction:b},{target:"g",direction:b}]},point:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"point",direction:b}]},plusMinus:{label:"table.plusMinus.short",tooltip:"table.plusMinus.tooltip",sortOrders:[{target:"plusMinus",direction:b}]},shoot:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"shoot",direction:b}]},shootPercent:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"shootPercent",direction:b}]}},fi={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:M}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:M}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:b},{target:"pim",direction:b}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:b},{target:"pim",direction:b}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:b},{target:"pim",direction:b}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:b},{target:"pim",direction:b}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:b},{target:"pim",direction:b}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:b}]}},mi={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:M}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:M}]},gkd:{label:"table.gpgk.short",tooltip:"table.gpgk.tooltip",sortOrders:[{target:"gkd",direction:b}]},gpi:{label:"table.gpi.short",tooltip:"table.gpi.tooltip",sortOrders:[{target:"gpi",direction:b}]},mip:{label:"table.toi.short",tooltip:"table.toi.tooltip",sortOrders:[{target:"mipSec",direction:b}]},mipPercent:{label:"table.toiPercent.short",tooltip:"table.toiPercent.tooltip",sortOrders:[{target:"mipPercent",direction:b}]},ga:{label:"table.ga.short",tooltip:"table.ga.tooltip",sortOrders:[{target:"ga",direction:b}]},gaa:{label:"table.gaa.short",tooltip:"table.gaa.tooltip",sortOrders:[{target:"gaa",direction:b}]},sa:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"sa",direction:b}]},svs:{label:"table.svs.short",tooltip:"table.svs.tooltip",sortOrders:[{target:"svs",direction:b}]},svsPercent:{label:"table.svsPercent.short",tooltip:"table.svsPercent.tooltip",sortOrders:[{target:"svsPercent",direction:b}]}},pi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:M}]},home:{label:"table.homeHeader.short"},homeGame:{label:"table.homeGame.short",tooltip:"table.homeGame.tooltip",sortOrders:[{target:"homeGame",direction:b}]},homeAttendance:{label:"table.homeAttendance.short",tooltip:"table.homeAttendance.tooltip",sortOrders:[{target:"homeAttendance",direction:b}]},homeAttendanceAvg:{label:"table.homeAttendanceAvg.short",tooltip:"table.homeAttendanceAvg.tooltip",sortOrders:[{target:"homeAttendanceAvg",direction:b}]},away:{label:"table.awayHeader.short"},awayGame:{label:"table.awayGame.short",tooltip:"table.awayGame.tooltip",sortOrders:[{target:"awayGame",direction:b}]},awayAttendance:{label:"table.awayAttendance.short",tooltip:"table.awayAttendance.tooltip",sortOrders:[{target:"awayAttendance",direction:b}]},awayAttendanceAvg:{label:"table.awayAttendanceAvg.short",tooltip:"table.awayAttendanceAvg.tooltip",sortOrders:[{target:"awayAttendanceAvg",direction:b}]},total:{label:"table.totalHeader.short"},totalGame:{label:"table.totalGame.short",tooltip:"table.totalGame.tooltip",sortOrders:[{target:"totalGame",direction:b}]},totalAttendance:{label:"table.totalAttendance.short",tooltip:"table.totalAttendance.tooltip",sortOrders:[{target:"totalAttendance",direction:b}]},totalAttendanceAvg:{label:"table.totalAttendanceAvg.short",tooltip:"table.totalAttendanceAvg.tooltip",sortOrders:[{target:"totalAttendanceAvg",direction:b}]}},hi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:M}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:b},{target:"pim",direction:b}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:b},{target:"pim",direction:b}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:b},{target:"pim",direction:b}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:b},{target:"pim",direction:b}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:b},{target:"pim",direction:b}]},pimPerGame:{label:"table.pimPerGame.short",tooltip:"table.pimPerGame.tooltip",sortOrders:[{target:"pimPerGame",direction:b}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:b}]}},gi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:M}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},dvg:{label:"table.powerplayDisadvantages.short",tooltip:"table.powerplayDisadvantages.tooltip",sortOrders:[{target:"dvg",direction:b}]},dvgTime:{label:"table.dvgTime.short",tooltip:"table.dvgTime.tooltip",sortOrders:[{target:"dvgTimeSec",direction:b}]},dvgTimePP1:{label:"table.dvgTimePP1.short",tooltip:"table.dvgTimePP1.tooltip",sortOrders:[{target:"dvgTimePP1Sec",direction:b}]},dvgTimePP2:{label:"table.dvgTimePP2.short",tooltip:"table.dvgTimePP2.tooltip",sortOrders:[{target:"dvgTimePP2",direction:b}]},ppga:{label:"table.ppga.short",tooltip:"table.ppga.tooltip",sortOrders:[{target:"ppga",direction:b}]},shgf:{label:"table.shgf.short",tooltip:"table.shgf.tooltip",sortOrders:[{target:"shgf",direction:b}]},pkPercent:{label:"table.pkPercent.short",tooltip:"table.pkPercent.tooltip",sortOrders:[{target:"pkPercent",direction:b}]}},yi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:M}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},adv:{label:"table.adv.short",tooltip:"table.adv.tooltip",sortOrders:[{target:"adv",direction:b}]},advTime:{label:"table.advTime.short",tooltip:"table.advTime.tooltip",sortOrders:[{target:"advTimeSec",direction:b}]},advTimePP1:{label:"table.advTimePP1.short",tooltip:"table.advTimePP1.tooltip",sortOrders:[{target:"advTimePP1Sec",direction:b}]},advTimePP2:{label:"table.advTimePP2.short",tooltip:"table.advTimePP2.tooltip",sortOrders:[{target:"advTimePP2Sec",direction:b}]},ppgf:{label:"table.ppgf.short",tooltip:"table.ppgf.tooltip",sortOrders:[{target:"ppgf",direction:b}]},shga:{label:"table.shga.short",tooltip:"table.shga.tooltip",sortOrders:[{target:"shga",direction:b}]},ppPercent:{label:"table.ppPercent.short",tooltip:"table.ppPercent.tooltip",sortOrders:[{target:"ppPercent",direction:b}]}},bi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:M}]},m:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},plus:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"plus",direction:b}]},minus:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"minus",direction:M}]},gk:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gk",direction:b}]},GFGP:{label:"table.gfgp.short",tooltip:"table.gfgp.tooltip",sortOrders:[{target:"GFGP",direction:b}]},GAGP:{label:"table.gagp.short",tooltip:"table.gagp.tooltip",sortOrders:[{target:"GAGP",direction:M}]},Shots:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"Shots",direction:b}]},SA:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"SA",direction:M}]},ShotsGP:{label:"table.sogp.short",tooltip:"table.sogp.tooltip",sortOrders:[{target:"ShotsGP",direction:b}]},SAGP:{label:"table.sagp.short",tooltip:"table.sagp.tooltip",sortOrders:[{target:"SAGP",direction:M}]},GFShots:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"GFShots",direction:b}]}},sn=async(t,e,r)=>{const o=`${hr}${n.unref(t)}?${wi(r)}`;return new Promise((s,a)=>{fetch(o,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":Si(e)}}).then(i=>i.json()).then(i=>{if(i.error)return a(i);s(i.data)}).catch(i=>{a(i)})})},wi=t=>Object.keys(t).map(e=>e+"="+t[e]).join("&"),Si=t=>{var e;return t||((e=window.__MJSZ_VBR_WIDGET__)!=null&&e.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:{}.NODE_ENV!=="production"?"dd8adf5fdb738b3741fa579b5ede5ce69b681f62":"")},_i=(t={})=>{const{initial:e=1,items:r=[],limit:o,auto:s=!1}=t,a=n.ref(e),i=u=>nn(u,"day");return bn(r,()=>{if(!s)return;const u=Lo(Jo(i,"gameDate"))(n.unref(r));a.value=u===-1?1:Math.floor(u/o)+1}),{page:a,change:u=>{a.value=u}}},Ti=({options:t={},transform:e=s=>s,onError:r=nt,onSuccess:o=nt})=>{const{path:s,apiKey:a,params:i,resetOnExecute:l=!1,immediate:c=!1}=t,{state:u,error:p,isLoading:m,execute:d}=ze(()=>sn(s,a,n.unref(i)).then(f=>e(f)),[],{immediate:c,resetOnExecute:l,onError:r,onSuccess:o});return{state:u,error:p,isLoading:m,execute:d}};/*! *****************************************************************************
8
+ var MjszVbrElementsCore=function(S,n){"use strict";const rt=t=>({}.VITE_CSS_CLASS_PREFIX||"mjsz-vbr-")+t,De={__name:"BaseSelect",props:{modelValue:{type:[String,Number],default:null}},emits:["update:modelValue"],setup(t,{emit:e}){const r=t,o=rt("base-input"),s=n.computed({get:()=>r.modelValue,set:a=>e("update:modelValue",a)});return(a,i)=>n.withDirectives((n.openBlock(),n.createElementBlock("select",{"onUpdate:modelValue":i[0]||(i[0]=l=>s.value=l),class:n.normalizeClass([n.unref(o),"is-select"])},[n.renderSlot(a.$slots,"default")],2)),[[n.vModelSelect,s.value]])}};function Le(t){return n.getCurrentScope()?(n.onScopeDispose(t),!0):!1}function tt(t){return typeof t=="function"?t():n.unref(t)}const It=typeof window<"u",nt=()=>{},pn=hn();function hn(){var t;return It&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function ee(t,e=!1,r="Timeout"){return new Promise((o,s)=>{setTimeout(e?()=>s(r):o,t)})}function re(t,e=!1){function r(m,{flush:d="sync",deep:f=!1,timeout:h,throwOnTimeout:g}={}){let y=null;const $=[new Promise(O=>{y=n.watch(t,v=>{m(v)!==e&&(y==null||y(),O(v))},{flush:d,deep:f,immediate:!0})})];return h!=null&&$.push(ee(h,g).then(()=>tt(t)).finally(()=>y==null?void 0:y())),Promise.race($)}function o(m,d){if(!n.isRef(m))return r(v=>v===m,d);const{flush:f="sync",deep:h=!1,timeout:g,throwOnTimeout:y}=d??{};let k=null;const O=[new Promise(v=>{k=n.watch([t,m],([D,B])=>{e!==(D===B)&&(k==null||k(),v(D))},{flush:f,deep:h,immediate:!0})})];return g!=null&&O.push(ee(g,y).then(()=>tt(t)).finally(()=>(k==null||k(),tt(t)))),Promise.race(O)}function s(m){return r(d=>!!d,m)}function a(m){return o(null,m)}function i(m){return o(void 0,m)}function l(m){return r(Number.isNaN,m)}function c(m,d){return r(f=>{const h=Array.from(f);return h.includes(m)||h.includes(tt(m))},d)}function u(m){return p(1,m)}function p(m=1,d){let f=-1;return r(()=>(f+=1,f>=m),d)}return Array.isArray(tt(t))?{toMatch:r,toContains:c,changed:u,changedTimes:p,get not(){return re(t,!e)}}:{toMatch:r,toBe:o,toBeTruthy:s,toBeNull:a,toBeNaN:l,toBeUndefined:i,changed:u,changedTimes:p,get not(){return re(t,!e)}}}function gn(t){return re(t)}function yn(t,e,r={}){const{immediate:o=!0}=r,s=n.ref(!1);let a=null;function i(){a&&(clearTimeout(a),a=null)}function l(){s.value=!1,i()}function c(...u){i(),s.value=!0,a=setTimeout(()=>{s.value=!1,a=null,t(...u)},tt(e))}return o&&(s.value=!0,It&&c()),Le(l),{isPending:n.readonly(s),start:c,stop:l}}function bn(t,e,r){const o=n.watch(t,(...s)=>(n.nextTick(()=>o()),e(...s)),r)}function wn(t,e,r){return n.watch(t,(o,s,a)=>{o&&e(o,s,a)},r)}function $t(t){var e;const r=tt(t);return(e=r==null?void 0:r.$el)!=null?e:r}const Ce=It?window:void 0,Sn=It?window.document:void 0;function zt(...t){let e,r,o,s;if(typeof t[0]=="string"||Array.isArray(t[0])?([r,o,s]=t,e=Ce):[e,r,o,s]=t,!e)return nt;Array.isArray(r)||(r=[r]),Array.isArray(o)||(o=[o]);const a=[],i=()=>{a.forEach(p=>p()),a.length=0},l=(p,m,d,f)=>(p.addEventListener(m,d,f),()=>p.removeEventListener(m,d,f)),c=n.watch(()=>[$t(e),tt(s)],([p,m])=>{i(),p&&a.push(...r.flatMap(d=>o.map(f=>l(p,d,f,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return Le(u),u}let Me=!1;function _n(t,e,r={}){const{window:o=Ce,ignore:s=[],capture:a=!0,detectIframe:i=!1}=r;if(!o)return;pn&&!Me&&(Me=!0,Array.from(o.document.body.children).forEach(d=>d.addEventListener("click",nt)));let l=!0;const c=d=>s.some(f=>{if(typeof f=="string")return Array.from(o.document.querySelectorAll(f)).some(h=>h===d.target||d.composedPath().includes(h));{const h=$t(f);return h&&(d.target===h||d.composedPath().includes(h))}}),p=[zt(o,"click",d=>{const f=$t(t);if(!(!f||f===d.target||d.composedPath().includes(f))){if(d.detail===0&&(l=!c(d)),!l){l=!0;return}e(d)}},{passive:!0,capture:a}),zt(o,"pointerdown",d=>{const f=$t(t);f&&(l=!d.composedPath().includes(f)&&!c(d))},{passive:!0}),i&&zt(o,"blur",d=>{var f;const h=$t(t);((f=o.document.activeElement)==null?void 0:f.tagName)==="IFRAME"&&!(h!=null&&h.contains(o.document.activeElement))&&e(d)})].filter(Boolean);return()=>p.forEach(d=>d())}var Tn=Object.defineProperty,kn=Object.defineProperties,$n=Object.getOwnPropertyDescriptors,Be=Object.getOwnPropertySymbols,An=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,Ie=(t,e,r)=>e in t?Tn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,On=(t,e)=>{for(var r in e||(e={}))An.call(e,r)&&Ie(t,r,e[r]);if(Be)for(var r of Be(e))En.call(e,r)&&Ie(t,r,e[r]);return t},Pn=(t,e)=>kn(t,$n(e));function ze(t,e,r){const{immediate:o=!0,delay:s=0,onError:a=nt,onSuccess:i=nt,resetOnExecute:l=!0,shallow:c=!0,throwError:u}=r??{},p=c?n.shallowRef(e):n.ref(e),m=n.ref(!1),d=n.ref(!1),f=n.shallowRef(void 0);async function h(k=0,...$){l&&(p.value=e),f.value=void 0,m.value=!1,d.value=!0,k>0&&await ee(k);const O=typeof t=="function"?t(...$):t;try{const v=await O;p.value=v,m.value=!0,i(v)}catch(v){if(f.value=v,a(v),u)throw v}finally{d.value=!1}return p.value}o&&h(s);const g={state:p,isReady:m,isLoading:d,error:f,execute:h};function y(){return new Promise((k,$)=>{gn(d).toBe(!1).then(()=>k(g)).catch($)})}return Pn(On({},g),{then(k,$){return y().then(k,$)}})}function Nn({document:t=Sn}={}){if(!t)return n.ref("visible");const e=n.ref(t.visibilityState);return zt(t,"visibilitychange",()=>{e.value=t.visibilityState}),e}var xn=Object.defineProperty,Ve=Object.getOwnPropertySymbols,vn=Object.prototype.hasOwnProperty,Dn=Object.prototype.propertyIsEnumerable,Re=(t,e,r)=>e in t?xn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ln=(t,e)=>{for(var r in e||(e={}))vn.call(e,r)&&Re(t,r,e[r]);if(Ve)for(var r of Ve(e))Dn.call(e,r)&&Re(t,r,e[r]);return t};async function Cn(t){return new Promise((e,r)=>{const o=new Image,{src:s,srcset:a,sizes:i,class:l,loading:c,crossorigin:u}=t;o.src=s,a&&(o.srcset=a),i&&(o.sizes=i),l&&(o.className=l),c&&(o.loading=c),u&&(o.crossOrigin=u),o.onload=()=>e(o),o.onerror=r})}function Mn(t,e={}){const r=ze(()=>Cn(tt(t)),void 0,Ln({resetOnExecute:!0},e));return n.watch(()=>tt(t),()=>r.execute(e.delay),{deep:!0}),r}function Ge(t=[],e={}){const{delay:r=0}=e,o=n.ref(!1),s=n.computed(()=>{const l=n.unref(t);return Array.isArray(l)?l.map(c=>n.unref(c)).some(Boolean):l}),{start:a,stop:i}=yn(()=>{o.value=!0},r);return n.watch(s,l=>{if(l)return a();i(),o.value=!1},{immediate:!0,deep:!0}),o}function z(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function Y(t){return function e(r){return arguments.length===0||z(r)?e:t.apply(this,arguments)}}function V(t){return function e(r,o){switch(arguments.length){case 0:return e;case 1:return z(r)?e:Y(function(s){return t(r,s)});default:return z(r)&&z(o)?e:z(r)?Y(function(s){return t(s,o)}):z(o)?Y(function(s){return t(r,s)}):t(r,o)}}}function Vt(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(r){return e.apply(this,arguments)};case 2:return function(r,o){return e.apply(this,arguments)};case 3:return function(r,o,s){return e.apply(this,arguments)};case 4:return function(r,o,s,a){return e.apply(this,arguments)};case 5:return function(r,o,s,a,i){return e.apply(this,arguments)};case 6:return function(r,o,s,a,i,l){return e.apply(this,arguments)};case 7:return function(r,o,s,a,i,l,c){return e.apply(this,arguments)};case 8:return function(r,o,s,a,i,l,c,u){return e.apply(this,arguments)};case 9:return function(r,o,s,a,i,l,c,u,p){return e.apply(this,arguments)};case 10:return function(r,o,s,a,i,l,c,u,p,m){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function ne(t,e,r){return function(){for(var o=[],s=0,a=t,i=0;i<e.length||s<arguments.length;){var l;i<e.length&&(!z(e[i])||s>=arguments.length)?l=e[i]:(l=arguments[s],s+=1),o[i]=l,z(l)||(a-=1),i+=1}return a<=0?r.apply(this,o):Vt(a,ne(t,o,r))}}var Rt=V(function(e,r){return e===1?Y(r):Vt(e,ne(e,[],r))});function st(t){return function e(r,o,s){switch(arguments.length){case 0:return e;case 1:return z(r)?e:V(function(a,i){return t(r,a,i)});case 2:return z(r)&&z(o)?e:z(r)?V(function(a,i){return t(a,o,i)}):z(o)?V(function(a,i){return t(r,a,i)}):Y(function(a){return t(r,o,a)});default:return z(r)&&z(o)&&z(s)?e:z(r)&&z(o)?V(function(a,i){return t(a,i,s)}):z(r)&&z(s)?V(function(a,i){return t(a,o,i)}):z(o)&&z(s)?V(function(a,i){return t(r,a,i)}):z(r)?Y(function(a){return t(a,o,s)}):z(o)?Y(function(a){return t(r,a,s)}):z(s)?Y(function(a){return t(r,o,a)}):t(r,o,s)}}}const Gt=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function Bn(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function jt(t,e,r){return function(){if(arguments.length===0)return r();var o=arguments[arguments.length-1];if(!Gt(o)){for(var s=0;s<t.length;){if(typeof o[t[s]]=="function")return o[t[s]].apply(o,Array.prototype.slice.call(arguments,0,-1));s+=1}if(Bn(o)){var a=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return a(o)}}return r.apply(this,arguments)}}function je(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const wt={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function Fe(t){for(var e=[],r;!(r=t.next()).done;)e.push(r.value);return e}function Ye(t,e,r){for(var o=0,s=r.length;o<s;){if(t(e,r[o]))return!0;o+=1}return!1}function In(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function et(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function zn(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const oe=typeof Object.is=="function"?Object.is:zn;var He=Object.prototype.toString,Ue=function(){return He.call(arguments)==="[object Arguments]"?function(e){return He.call(e)==="[object Arguments]"}:function(e){return et("callee",e)}}(),Vn=!{toString:null}.propertyIsEnumerable("toString"),We=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Ke=function(){return arguments.propertyIsEnumerable("length")}(),Rn=function(e,r){for(var o=0;o<e.length;){if(e[o]===r)return!0;o+=1}return!1},mt=Y(typeof Object.keys=="function"&&!Ke?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var r,o,s=[],a=Ke&&Ue(e);for(r in e)et(r,e)&&(!a||r!=="length")&&(s[s.length]=r);if(Vn)for(o=We.length-1;o>=0;)r=We[o],et(r,e)&&!Rn(s,r)&&(s[s.length]=r),o-=1;return s}),ae=Y(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Ze(t,e,r,o){var s=Fe(t),a=Fe(e);function i(l,c){return se(l,c,r.slice(),o.slice())}return!Ye(function(l,c){return!Ye(i,c,l)},a,s)}function se(t,e,r,o){if(oe(t,e))return!0;var s=ae(t);if(s!==ae(e))return!1;if(typeof t["fantasy-land/equals"]=="function"||typeof e["fantasy-land/equals"]=="function")return typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e)&&typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t);if(typeof t.equals=="function"||typeof e.equals=="function")return typeof t.equals=="function"&&t.equals(e)&&typeof e.equals=="function"&&e.equals(t);switch(s){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&In(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&oe(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!oe(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(!(t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.sticky===e.sticky&&t.unicode===e.unicode))return!1;break}for(var a=r.length-1;a>=0;){if(r[a]===t)return o[a]===e;a-=1}switch(s){case"Map":return t.size!==e.size?!1:Ze(t.entries(),e.entries(),r.concat([t]),o.concat([e]));case"Set":return t.size!==e.size?!1:Ze(t.values(),e.values(),r.concat([t]),o.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var i=mt(t);if(i.length!==mt(e).length)return!1;var l=r.concat([t]),c=o.concat([e]);for(a=i.length-1;a>=0;){var u=i[a];if(!(et(u,e)&&se(e[u],t[u],l,c)))return!1;a-=1}return!0}var Ft=V(function(e,r){return se(e,r,[],[])});function Gn(t,e,r){var o,s;if(typeof t.indexOf=="function")switch(typeof e){case"number":if(e===0){for(o=1/e;r<t.length;){if(s=t[r],s===0&&1/s===o)return r;r+=1}return-1}else if(e!==e){for(;r<t.length;){if(s=t[r],typeof s=="number"&&s!==s)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(e===null)return t.indexOf(e,r)}for(;r<t.length;){if(Ft(t[r],e))return r;r+=1}return-1}function qe(t,e){return Gn(e,t,0)>=0}function Yt(t,e){for(var r=0,o=e.length,s=Array(o);r<o;)s[r]=t(e[r]),r+=1;return s}function ie(t){var e=t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+e.replace(/"/g,'\\"')+'"'}var At=function(e){return(e<10?"0":"")+e},jn=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+At(e.getUTCMonth()+1)+"-"+At(e.getUTCDate())+"T"+At(e.getUTCHours())+":"+At(e.getUTCMinutes())+":"+At(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Fn(t){return function(){return!t.apply(this,arguments)}}function Xe(t,e,r){for(var o=0,s=r.length;o<s;)e=t(e,r[o]),o+=1;return e}function Yn(t,e){for(var r=0,o=e.length,s=[];r<o;)t(e[r])&&(s[s.length]=e[r]),r+=1;return s}function Ht(t){return Object.prototype.toString.call(t)==="[object Object]"}var Hn=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=wt.init,t.prototype["@@transducer/result"]=wt.result,t.prototype["@@transducer/step"]=function(e,r){return this.f(r)?this.xf["@@transducer/step"](e,r):e},t}();function Un(t){return function(e){return new Hn(t,e)}}var Je=V(jt(["fantasy-land/filter","filter"],Un,function(t,e){return Ht(e)?Xe(function(r,o){return t(e[o])&&(r[o]=e[o]),r},{},mt(e)):Yn(t,e)})),Wn=V(function(e,r){return Je(Fn(e),r)});function Qe(t,e){var r=function(i){var l=e.concat([t]);return qe(i,l)?"<Circular>":Qe(i,l)},o=function(a,i){return Yt(function(l){return ie(l)+": "+r(a[l])},i.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Yt(r,t).join(", ")+"))";case"[object Array]":return"["+Yt(r,t).concat(o(t,Wn(function(a){return/^\d+$/.test(a)},mt(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):ie(jn(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+r(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+r(t.valueOf())+")":ie(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var s=t.toString();if(s!=="[object Object]")return s}return"{"+o(t,mt(t)).join(", ")+"}"}}var le=Y(function(e){return Qe(e,[])}),Kn=V(function(e,r){if(e===r)return r;function o(c,u){if(c>u!=u>c)return u>c?u:c}var s=o(e,r);if(s!==void 0)return s;var a=o(typeof e,typeof r);if(a!==void 0)return a===typeof e?e:r;var i=le(e),l=o(i,le(r));return l!==void 0&&l===i?e:r}),Zn=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=wt.init,t.prototype["@@transducer/result"]=wt.result,t.prototype["@@transducer/step"]=function(e,r){return this.xf["@@transducer/step"](e,this.f(r))},t}(),qn=function(e){return function(r){return new Zn(e,r)}},Xn=V(jt(["fantasy-land/map","map"],qn,function(e,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return Rt(r.length,function(){return e.call(this,r.apply(this,arguments))});case"[object Object]":return Xe(function(o,s){return o[s]=e(r[s]),o},{},mt(r));default:return Yt(e,r)}}));const pt=Xn,tr=Number.isInteger||function(e){return e<<0===e};function Ut(t){return Object.prototype.toString.call(t)==="[object String]"}var er=V(function(e,r){var o=e<0?r.length+e:e;return Ut(r)?r.charAt(o):r[o]}),Jn=V(function(e,r){if(r!=null)return tr(e)?er(e,r):r[e]});const St=Jn;var Qn=V(function(e,r){return pt(St(e),r)}),to=Y(function(e){return Gt(e)?!0:!e||typeof e!="object"||Ut(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),rr=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function eo(t,e,r){return function(s,a,i){if(to(i))return t(s,a,i);if(i==null)return a;if(typeof i["fantasy-land/reduce"]=="function")return e(s,a,i,"fantasy-land/reduce");if(i[rr]!=null)return r(s,a,i[rr]());if(typeof i.next=="function")return r(s,a,i);if(typeof i.reduce=="function")return e(s,a,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function ro(t,e,r){for(var o=0,s=r.length;o<s;){if(e=t["@@transducer/step"](e,r[o]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o+=1}return t["@@transducer/result"](e)}var no=V(function(e,r){return Vt(e.length,function(){return e.apply(r,arguments)})});function oo(t,e,r){for(var o=r.next();!o.done;){if(e=t["@@transducer/step"](e,o.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o=r.next()}return t["@@transducer/result"](e)}function ao(t,e,r,o){return t["@@transducer/result"](r[o](no(t["@@transducer/step"],t),e))}var nr=eo(ro,ao,oo),so=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,r){return this.f(e,r)},t}();function or(t){return new so(t)}var io=st(function(t,e,r){return nr(typeof t=="function"?or(t):t,e,r)});const ar=io;var lo=Y(function(e){return function(){return e}});const sr=lo;var co=Y(function(e){return Rt(ar(Kn,0,Qn("length",e)),function(){for(var r=0,o=e.length;r<o;){if(e[r].apply(this,arguments))return!0;r+=1}return!1})});const uo=co;var fo=st(function(e,r,o){var s=e(r),a=e(o);return s<a?-1:s>a?1:0});const ce=fo;function mo(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function po(t){return new RegExp(t.source,t.flags?t.flags:(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":"")+(t.dotAll?"s":""))}function ue(t,e,r){if(r||(r=new go),ho(t))return t;var o=function(a){var i=r.get(t);if(i)return i;r.set(t,a);for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(a[l]=e?ue(t[l],!0,r):t[l]);return a};switch(ae(t)){case"Object":return o(Object.create(Object.getPrototypeOf(t)));case"Array":return o([]);case"Date":return new Date(t.valueOf());case"RegExp":return po(t);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}function ho(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var go=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,r){const o=this.hash(e);let s=this.map[o];s||(this.map[o]=s=[]),s.push([e,r]),this.length+=1},t.prototype.hash=function(e){let r=[];for(var o in e)r.push(Object.prototype.toString.call(e[o]));return r.join()},t.prototype.get=function(e){if(this.length<=180){for(const s in this.map){const a=this.map[s];for(let i=0;i<a.length;i+=1){const l=a[i];if(l[0]===e)return l[1]}}return}const r=this.hash(e),o=this.map[r];if(o)for(let s=0;s<o.length;s+=1){const a=o[s];if(a[0]===e)return a[1]}},t}();function yo(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function de(t,e){return function(){var r=arguments.length;if(r===0)return e();var o=arguments[r-1];return Gt(o)||typeof o[t]!="function"?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,r-1))}}var bo=st(de("slice",function(e,r,o){return Array.prototype.slice.call(o,e,r)})),wo=Y(de("tail",bo(1,1/0)));const So=wo;function fe(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Vt(arguments[0].length,ar(yo,arguments[0],So(arguments)))}var _o=Y(function(e){return Ut(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});const To=_o;function ir(){if(arguments.length===0)throw new Error("compose requires at least one argument");return fe.apply(this,To(arguments))}var ko=function(){function t(e,r,o,s){this.valueFn=e,this.valueAcc=r,this.keyFn=o,this.xf=s,this.inputs={}}return t.prototype["@@transducer/init"]=wt.init,t.prototype["@@transducer/result"]=function(e){var r;for(r in this.inputs)if(et(r,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[r]),e["@@transducer/reduced"])){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){var o=this.keyFn(r);return this.inputs[o]=this.inputs[o]||[o,ue(this.valueAcc,!1)],this.inputs[o][1]=this.valueFn(this.inputs[o][1],r),e},t}();function $o(t,e,r){return function(o){return new ko(t,e,r,o)}}var Ao=ne(4,[],jt([],$o,function(e,r,o,s){var a=or(function(i,l){var c=o(l),u=e(et(c,i)?i[c]:ue(r,!1),l);return u&&u["@@transducer/reduced"]?je(i):(i[c]=u,i)});return nr(a,{},s)})),Eo=st(function(e,r,o){var s=e(r),a=e(o);return s>a?-1:s<a?1:0});const Oo=Eo;function Po(t){var e=Object.prototype.toString.call(t);return e==="[object Uint8ClampedArray]"||e==="[object Int8Array]"||e==="[object Uint8Array]"||e==="[object Int16Array]"||e==="[object Uint16Array]"||e==="[object Int32Array]"||e==="[object Uint32Array]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object BigInt64Array]"||e==="[object BigUint64Array]"}var No=Y(function(e){return e!=null&&typeof e["fantasy-land/empty"]=="function"?e["fantasy-land/empty"]():e!=null&&e.constructor!=null&&typeof e.constructor["fantasy-land/empty"]=="function"?e.constructor["fantasy-land/empty"]():e!=null&&typeof e.empty=="function"?e.empty():e!=null&&e.constructor!=null&&typeof e.constructor.empty=="function"?e.constructor.empty():Gt(e)?[]:Ut(e)?"":Ht(e)?{}:Ue(e)?function(){return arguments}():Po(e)?e.constructor.from(""):void 0}),xo=function(){function t(e,r){this.xf=r,this.f=e,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=wt.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,-1)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){return this.idx+=1,this.f(r)&&(this.found=!0,e=je(this.xf["@@transducer/step"](e,this.idx))),e},t}();function vo(t){return function(e){return new xo(t,e)}}var Do=V(jt([],vo,function(e,r){for(var o=0,s=r.length;o<s;){if(e(r[o]))return o;o+=1}return-1}));const Lo=Do;var Co=V(de("groupBy",Ao(function(t,e){return t.push(e),t},[])));const Mo=Co;var Bo=st(function(e,r,o){return Rt(Math.max(e.length,r.length,o.length),function(){return e.apply(this,arguments)?r.apply(this,arguments):o.apply(this,arguments)})});const Io=Bo;var zo=V(qe);const Vo=zo;var Ro=V(function(e,r){return Rt(e+1,function(){var o=arguments[e];if(o!=null&&mo(o[r]))return o[r].apply(o,Array.prototype.slice.call(arguments,0,e));throw new TypeError(le(o)+' does not have a method named "'+r+'"')})});const lr=Ro;var Go=Y(function(e){return e!=null&&Ft(e,No(e))});const jo=Go;var Fo=V(function(e,r){return e.map(function(o){for(var s=r,a=0,i;a<o.length;){if(s==null)return;i=o[a],s=tr(i)?er(i,s):s[i],a+=1}return s})}),Yo=V(function(e,r){return Fo([e],r)[0]});const cr=Yo;var Ho=st(function(e,r,o){var s={},a;r=r||{},o=o||{};for(a in r)et(a,r)&&(s[a]=et(a,o)?e(a,r[a],o[a]):r[a]);for(a in o)et(a,o)&&!et(a,s)&&(s[a]=o[a]);return s}),Uo=st(function t(e,r,o){return Ho(function(s,a,i){return Ht(a)&&Ht(i)?t(e,a,i):e(s,a,i)},r,o)}),Wo=V(function(e,r){return Uo(function(o,s,a){return a},e,r)});const Ko=Wo;var Zo=V(function(e,r){for(var o={},s={},a=0,i=e.length;a<i;)s[e[a]]=1,a+=1;for(var l in r)s.hasOwnProperty(l)||(o[l]=r[l]);return o});const qo=Zo;var Xo=st(function(e,r,o){return e(St(r,o))});const Jo=Xo;var Qo=V(function(e,r){return Array.prototype.slice.call(r,0).sort(function(o,s){for(var a=0,i=0;a===0&&i<e.length;)a=e[i](o,s),i+=1;return a})});const ur=Qo;var ta=lr(1,"split");const Et=ta;var ea=lr(0,"toLowerCase");const ra=ea;var Ot=`
9
+ \v\f\r                 \u2028\u2029\uFEFF`,na="​",oa=typeof String.prototype.trim=="function",aa=Y(!oa||Ot.trim()||!na.trim()?function(e){var r=new RegExp("^["+Ot+"]["+Ot+"]*"),o=new RegExp("["+Ot+"]["+Ot+"]*$");return e.replace(r,"").replace(o,"")}:function(e){return e.trim()});const Wt=aa,dr=Symbol("I18nContext"),K=n.reactive({messages:{},locale:"",fallbackLocale:""}),fr=({messages:t={},locale:e="",fallbackLocale:r=""})=>{K.messages=t,K.locale=e,K.fallbackLocale=r;const o=(c,u={})=>{const p=!jo(u),m=pt(Wt,Et(".",c));return n.computed(()=>{const f=mr(m);return p?ia(f,u):f}).value},s=c=>{const u=pt(Wt,Et(".",c));return!!me(K.locale,u,K.messages)},a=c=>{K.locale=c},l={locale:n.computed({get(){return K.locale},set(c){K.locale=c}}),setLocale:a,translate:o,hasTranlation:s};return n.provide(dr,l),{translate:o}},it=t=>{t&&(K.messages=t.messages,K.locale=t.locale,K.fallbackLocale=t.fallbackLocale);const e=sa();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranlation:e.hasTranlation}},sa=()=>{const t=n.inject(dr,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},mr=(t=[])=>{let e=me(K.locale,t,K.messages);return!e&&K.fallbackLocale&&(e=me(K.fallbackLocale,t,K.messages)),e||t.join(".")};function me(t,e,r){return cr([t,...e],r)}const ia=function(t,e){return t.replace(/\{(\w+)\}/g,function(r,o){return e[o]})},pr=n.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const r=pt(Wt,Et(".",t.path)),o=mr(r),s=Et(/{|}/,o),a=Object.keys(e).map(i=>{const l=s.indexOf(i);return l>-1&&(s[l]=e[i]()[0]),s});return()=>n.h(t.tag,a)}}),hr="https://api.icehockey.hu/vbr",gr="https://www.jegkorongszovetseg.hu/event/game/",yr="https://jegkorongszovetseg.hu/assets/images/player_blank.png",br="https://www.ersteliga.hu/stats/players#/player/",wr="https://www.ersteliga.hu/stats/teams#/team/3314/21096?name=",ot="original",b="descend",M="ascend",Sr=new Map().set("hu","hu-hu").set("en","hu-gb"),_r=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),la=1e3*60*5,Tr=1e3,ca={"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"},ua=n.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),da=[ua];function fa(t,e){return n.openBlock(),n.createElementBlock("svg",ca,da)}const kr={render:fa},ma={"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"},pa=n.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),ha=[pa];function ga(t,e){return n.openBlock(),n.createElementBlock("svg",ma,ha)}const ya={render:ga},ba={"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"},wa=n.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),Sa=[wa];function _a(t,e){return n.openBlock(),n.createElementBlock("svg",ba,Sa)}const Ta={render:_a};function Pt(t){return t.split("-")[1]}function pe(t){return t==="y"?"height":"width"}function ht(t){return t.split("-")[0]}function Nt(t){return["top","bottom"].includes(ht(t))?"x":"y"}function $r(t,e,r){let{reference:o,floating:s}=t;const a=o.x+o.width/2-s.width/2,i=o.y+o.height/2-s.height/2,l=Nt(e),c=pe(l),u=o[c]/2-s[c]/2,p=l==="x";let m;switch(ht(e)){case"top":m={x:a,y:o.y-s.height};break;case"bottom":m={x:a,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:i};break;case"left":m={x:o.x-s.width,y:i};break;default:m={x:o.x,y:o.y}}switch(Pt(e)){case"start":m[l]-=u*(r&&p?-1:1);break;case"end":m[l]+=u*(r&&p?-1:1)}return m}const ka=async(t,e,r)=>{const{placement:o="bottom",strategy:s="absolute",middleware:a=[],platform:i}=r,l=a.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(e));let u=await i.getElementRects({reference:t,floating:e,strategy:s}),{x:p,y:m}=$r(u,o,c),d=o,f={},h=0;for(let g=0;g<l.length;g++){const{name:y,fn:k}=l[g],{x:$,y:O,data:v,reset:D}=await k({x:p,y:m,initialPlacement:o,placement:d,strategy:s,middlewareData:f,rects:u,platform:i,elements:{reference:t,floating:e}});p=$??p,m=O??m,f={...f,[y]:{...f[y],...v}},D&&h<=50&&(h++,typeof D=="object"&&(D.placement&&(d=D.placement),D.rects&&(u=D.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:s}):D.rects),{x:p,y:m}=$r(u,d,c)),g=-1)}return{x:p,y:m,placement:d,strategy:s,middlewareData:f}};function Ar(t){return typeof t!="number"?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(t):{top:t,right:t,bottom:t,left:t}}function Kt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function Er(t,e){var r;e===void 0&&(e={});const{x:o,y:s,platform:a,rects:i,elements:l,strategy:c}=t,{boundary:u="clippingAncestors",rootBoundary:p="viewport",elementContext:m="floating",altBoundary:d=!1,padding:f=0}=e,h=Ar(f),g=l[d?m==="floating"?"reference":"floating":m],y=Kt(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(g)))==null||r?g:g.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:u,rootBoundary:p,strategy:c})),k=m==="floating"?{...i.floating,x:o,y:s}:i.reference,$=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),O=await(a.isElement==null?void 0:a.isElement($))&&await(a.getScale==null?void 0:a.getScale($))||{x:1,y:1},v=Kt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:k,offsetParent:$,strategy:c}):k);return{top:(y.top-v.top+h.top)/O.y,bottom:(v.bottom-y.bottom+h.bottom)/O.y,left:(y.left-v.left+h.left)/O.x,right:(v.right-y.right+h.right)/O.x}}const $a=Math.min,Aa=Math.max;function he(t,e,r){return Aa(t,$a(e,r))}const Or=t=>({name:"arrow",options:t,async fn(e){const{element:r,padding:o=0}=t||{},{x:s,y:a,placement:i,rects:l,platform:c,elements:u}=e;if(r==null)return{};const p=Ar(o),m={x:s,y:a},d=Nt(i),f=pe(d),h=await c.getDimensions(r),g=d==="y",y=g?"top":"left",k=g?"bottom":"right",$=g?"clientHeight":"clientWidth",O=l.reference[f]+l.reference[d]-m[d]-l.floating[f],v=m[d]-l.reference[d],D=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let B=D?D[$]:0;B&&await(c.isElement==null?void 0:c.isElement(D))||(B=u.floating[$]||l.floating[f]);const R=O/2-v/2,F=p[y],L=B-h[f]-p[k],N=B/2-h[f]/2+R,I=he(F,N,L),H=Pt(i)!=null&&N!=I&&l.reference[f]/2-(N<F?p[y]:p[k])-h[f]/2<0;return{[d]:m[d]-(H?N<F?F-N:L-N:0),data:{[d]:I,centerOffset:N-I}}}});["top","right","bottom","left"].reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);const Ea={left:"right",right:"left",bottom:"top",top:"bottom"};function Zt(t){return t.replace(/left|right|bottom|top/g,e=>Ea[e])}function Oa(t,e,r){r===void 0&&(r=!1);const o=Pt(t),s=Nt(t),a=pe(s);let i=s==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(i=Zt(i)),{main:i,cross:Zt(i)}}const Pa={start:"end",end:"start"};function ge(t){return t.replace(/start|end/g,e=>Pa[e])}const Na=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r;const{placement:o,middlewareData:s,rects:a,initialPlacement:i,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:h=!0,...g}=t,y=ht(o),k=ht(i)===i,$=await(l.isRTL==null?void 0:l.isRTL(c.floating)),O=m||(k||!h?[Zt(i)]:function(I){const H=Zt(I);return[ge(I),H,ge(H)]}(i));m||f==="none"||O.push(...function(I,H,E,T){const _=Pt(I);let A=function(w,P,x){const C=["left","right"],j=["right","left"],G=["top","bottom"],U=["bottom","top"];switch(w){case"top":case"bottom":return x?P?j:C:P?C:j;case"left":case"right":return P?G:U;default:return[]}}(ht(I),E==="start",T);return _&&(A=A.map(w=>w+"-"+_),H&&(A=A.concat(A.map(ge)))),A}(i,h,f,$));const v=[i,...O],D=await Er(e,g),B=[];let R=((r=s.flip)==null?void 0:r.overflows)||[];if(u&&B.push(D[y]),p){const{main:I,cross:H}=Oa(o,a,$);B.push(D[I],D[H])}if(R=[...R,{placement:o,overflows:B}],!B.every(I=>I<=0)){var F,L;const I=(((F=s.flip)==null?void 0:F.index)||0)+1,H=v[I];if(H)return{data:{index:I,overflows:R},reset:{placement:H}};let E=(L=R.filter(T=>T.overflows[0]<=0).sort((T,_)=>T.overflows[1]-_.overflows[1])[0])==null?void 0:L.placement;if(!E)switch(d){case"bestFit":{var N;const T=(N=R.map(_=>[_.placement,_.overflows.filter(A=>A>0).reduce((A,w)=>A+w,0)]).sort((_,A)=>_[1]-A[1])[0])==null?void 0:N[0];T&&(E=T);break}case"initialPlacement":E=i}if(o!==E)return{reset:{placement:E}}}return{}}}},xa=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:r,y:o}=e,s=await async function(a,i){const{placement:l,platform:c,elements:u}=a,p=await(c.isRTL==null?void 0:c.isRTL(u.floating)),m=ht(l),d=Pt(l),f=Nt(l)==="x",h=["left","top"].includes(m)?-1:1,g=p&&f?-1:1,y=typeof i=="function"?i(a):i;let{mainAxis:k,crossAxis:$,alignmentAxis:O}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...y};return d&&typeof O=="number"&&($=d==="end"?-1*O:O),f?{x:$*g,y:k*h}:{x:k*h,y:$*g}}(e,t);return{x:r+s.x,y:o+s.y,data:s}}}};function va(t){return t==="x"?"y":"x"}const Da=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:o,placement:s}=e,{mainAxis:a=!0,crossAxis:i=!1,limiter:l={fn:y=>{let{x:k,y:$}=y;return{x:k,y:$}}},...c}=t,u={x:r,y:o},p=await Er(e,c),m=Nt(ht(s)),d=va(m);let f=u[m],h=u[d];if(a){const y=m==="y"?"bottom":"right";f=he(f+p[m==="y"?"top":"left"],f,f-p[y])}if(i){const y=d==="y"?"bottom":"right";h=he(h+p[d==="y"?"top":"left"],h,h-p[y])}const g=l.fn({...e,[m]:f,[d]:h});return{...g,data:{x:g.x-r,y:g.y-o}}}}};function X(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function J(t){return X(t).getComputedStyle(t)}function Pr(t){return t instanceof X(t).Node}function lt(t){return Pr(t)?(t.nodeName||"").toLowerCase():""}function Q(t){return t instanceof X(t).HTMLElement}function q(t){return t instanceof X(t).Element}function Nr(t){return typeof ShadowRoot>"u"?!1:t instanceof X(t).ShadowRoot||t instanceof ShadowRoot}function xt(t){const{overflow:e,overflowX:r,overflowY:o,display:s}=J(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&!["inline","contents"].includes(s)}function La(t){return["table","td","th"].includes(lt(t))}function ye(t){const e=be(),r=J(t);return r.transform!=="none"||r.perspective!=="none"||!e&&!!r.backdropFilter&&r.backdropFilter!=="none"||!e&&!!r.filter&&r.filter!=="none"||["transform","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function be(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function qt(t){return["html","body","#document"].includes(lt(t))}const xr=Math.min,vt=Math.max,Xt=Math.round;function vr(t){const e=J(t);let r=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const s=Q(t),a=s?t.offsetWidth:r,i=s?t.offsetHeight:o,l=Xt(r)!==a||Xt(o)!==i;return l&&(r=a,o=i),{width:r,height:o,fallback:l}}function Dr(t){return q(t)?t:t.contextElement}const Lr={x:1,y:1};function _t(t){const e=Dr(t);if(!Q(e))return Lr;const r=e.getBoundingClientRect(),{width:o,height:s,fallback:a}=vr(e);let i=(a?Xt(r.width):r.width)/o,l=(a?Xt(r.height):r.height)/s;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const Cr={x:0,y:0};function Mr(t,e,r){var o,s;if(e===void 0&&(e=!0),!be())return Cr;const a=t?X(t):window;return!r||e&&r!==a?Cr:{x:((o=a.visualViewport)==null?void 0:o.offsetLeft)||0,y:((s=a.visualViewport)==null?void 0:s.offsetTop)||0}}function gt(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);const s=t.getBoundingClientRect(),a=Dr(t);let i=Lr;e&&(o?q(o)&&(i=_t(o)):i=_t(t));const l=Mr(a,r,o);let c=(s.left+l.x)/i.x,u=(s.top+l.y)/i.y,p=s.width/i.x,m=s.height/i.y;if(a){const d=X(a),f=o&&q(o)?X(o):o;let h=d.frameElement;for(;h&&o&&f!==d;){const g=_t(h),y=h.getBoundingClientRect(),k=getComputedStyle(h);y.x+=(h.clientLeft+parseFloat(k.paddingLeft))*g.x,y.y+=(h.clientTop+parseFloat(k.paddingTop))*g.y,c*=g.x,u*=g.y,p*=g.x,m*=g.y,c+=y.x,u+=y.y,h=X(h).frameElement}}return Kt({width:p,height:m,x:c,y:u})}function ct(t){return((Pr(t)?t.ownerDocument:t.document)||window.document).documentElement}function Jt(t){return q(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Br(t){return gt(ct(t)).left+Jt(t).scrollLeft}function Tt(t){if(lt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Nr(t)&&t.host||ct(t);return Nr(e)?e.host:e}function Ir(t){const e=Tt(t);return qt(e)?e.ownerDocument.body:Q(e)&&xt(e)?e:Ir(e)}function Dt(t,e){var r;e===void 0&&(e=[]);const o=Ir(t),s=o===((r=t.ownerDocument)==null?void 0:r.body),a=X(o);return s?e.concat(a,a.visualViewport||[],xt(o)?o:[]):e.concat(o,Dt(o))}function zr(t,e,r){let o;if(e==="viewport")o=function(s,a){const i=X(s),l=ct(s),c=i.visualViewport;let u=l.clientWidth,p=l.clientHeight,m=0,d=0;if(c){u=c.width,p=c.height;const f=be();(!f||f&&a==="fixed")&&(m=c.offsetLeft,d=c.offsetTop)}return{width:u,height:p,x:m,y:d}}(t,r);else if(e==="document")o=function(s){const a=ct(s),i=Jt(s),l=s.ownerDocument.body,c=vt(a.scrollWidth,a.clientWidth,l.scrollWidth,l.clientWidth),u=vt(a.scrollHeight,a.clientHeight,l.scrollHeight,l.clientHeight);let p=-i.scrollLeft+Br(s);const m=-i.scrollTop;return J(l).direction==="rtl"&&(p+=vt(a.clientWidth,l.clientWidth)-c),{width:c,height:u,x:p,y:m}}(ct(t));else if(q(e))o=function(s,a){const i=gt(s,!0,a==="fixed"),l=i.top+s.clientTop,c=i.left+s.clientLeft,u=Q(s)?_t(s):{x:1,y:1};return{width:s.clientWidth*u.x,height:s.clientHeight*u.y,x:c*u.x,y:l*u.y}}(e,r);else{const s=Mr(t);o={...e,x:e.x-s.x,y:e.y-s.y}}return Kt(o)}function Vr(t,e){const r=Tt(t);return!(r===e||!q(r)||qt(r))&&(J(r).position==="fixed"||Vr(r,e))}function Rr(t,e){return Q(t)&&J(t).position!=="fixed"?e?e(t):t.offsetParent:null}function Gr(t,e){const r=X(t);if(!Q(t))return r;let o=Rr(t,e);for(;o&&La(o)&&J(o).position==="static";)o=Rr(o,e);return o&&(lt(o)==="html"||lt(o)==="body"&&J(o).position==="static"&&!ye(o))?r:o||function(s){let a=Tt(s);for(;Q(a)&&!qt(a);){if(ye(a))return a;a=Tt(a)}return null}(t)||r}function Ca(t,e,r){const o=Q(e),s=ct(e),a=r==="fixed",i=gt(t,!0,a,e);let l={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if(o||!o&&!a)if((lt(e)!=="body"||xt(s))&&(l=Jt(e)),Q(e)){const u=gt(e,!0,a,e);c.x=u.x+e.clientLeft,c.y=u.y+e.clientTop}else s&&(c.x=Br(s));return{x:i.left+l.scrollLeft-c.x,y:i.top+l.scrollTop-c.y,width:i.width,height:i.height}}const Ma={getClippingRect:function(t){let{element:e,boundary:r,rootBoundary:o,strategy:s}=t;const a=r==="clippingAncestors"?function(u,p){const m=p.get(u);if(m)return m;let d=Dt(u).filter(y=>q(y)&&lt(y)!=="body"),f=null;const h=J(u).position==="fixed";let g=h?Tt(u):u;for(;q(g)&&!qt(g);){const y=J(g),k=ye(g);k||y.position!=="fixed"||(f=null),(h?!k&&!f:!k&&y.position==="static"&&f&&["absolute","fixed"].includes(f.position)||xt(g)&&!k&&Vr(u,g))?d=d.filter($=>$!==g):f=y,g=Tt(g)}return p.set(u,d),d}(e,this._c):[].concat(r),i=[...a,o],l=i[0],c=i.reduce((u,p)=>{const m=zr(e,p,s);return u.top=vt(m.top,u.top),u.right=xr(m.right,u.right),u.bottom=xr(m.bottom,u.bottom),u.left=vt(m.left,u.left),u},zr(e,l,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:r,strategy:o}=t;const s=Q(r),a=ct(r);if(r===a)return e;let i={scrollLeft:0,scrollTop:0},l={x:1,y:1};const c={x:0,y:0};if((s||!s&&o!=="fixed")&&((lt(r)!=="body"||xt(a))&&(i=Jt(r)),Q(r))){const u=gt(r);l=_t(r),c.x=u.x+r.clientLeft,c.y=u.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-i.scrollLeft*l.x+c.x,y:e.y*l.y-i.scrollTop*l.y+c.y}},isElement:q,getDimensions:function(t){return vr(t)},getOffsetParent:Gr,getDocumentElement:ct,getScale:_t,async getElementRects(t){let{reference:e,floating:r,strategy:o}=t;const s=this.getOffsetParent||Gr,a=this.getDimensions;return{reference:Ca(e,await s(r),o),floating:{x:0,y:0,...await a(r)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>J(t).direction==="rtl"};function Ba(t,e,r,o){o===void 0&&(o={});const{ancestorScroll:s=!0,ancestorResize:a=!0,elementResize:i=!0,animationFrame:l=!1}=o,c=s||a?[...q(t)?Dt(t):t.contextElement?Dt(t.contextElement):[],...Dt(e)]:[];c.forEach(d=>{const f=!q(d)&&d.toString().includes("V");!s||l&&!f||d.addEventListener("scroll",r,{passive:!0}),a&&d.addEventListener("resize",r)});let u,p=null;i&&(p=new ResizeObserver(()=>{r()}),q(t)&&!l&&p.observe(t),q(t)||!t.contextElement||l||p.observe(t.contextElement),p.observe(e));let m=l?gt(t):null;return l&&function d(){const f=gt(t);!m||f.x===m.x&&f.y===m.y&&f.width===m.width&&f.height===m.height||r(),m=f,u=requestAnimationFrame(d)}(),r(),()=>{var d;c.forEach(f=>{s&&f.removeEventListener("scroll",r),a&&f.removeEventListener("resize",r)}),(d=p)==null||d.disconnect(),p=null,l&&cancelAnimationFrame(u)}}const Ia=(t,e,r)=>{const o=new Map,s={platform:Ma,...r},a={...s.platform,_c:o};return ka(t,e,{...s,platform:a})},jr=(t,e="body")=>{if(!t)return;if(typeof e!="string"){e==null||e.append(t);return}const r=document.querySelector(e);r==null||r.append(t)};function za({middleware:t,placement:e=null,strategy:r,append:o,enabled:s}){const a=n.ref(null),i=n.ref(null),l=n.ref(null),c=n.ref(null),u=n.ref(null),p=n.ref(null),m=n.ref(null),d=n.ref(r??"absolute"),f=n.ref(null),h=()=>{!a.value||!i.value||Ia(a.value,i.value,{middleware:t,placement:e,strategy:r}).then(y=>{l.value=y.x,c.value=y.y,d.value=y.strategy,u.value=y.middlewareData.arrow.x,p.value=y.middlewareData.arrow.y,m.value=y.placement})};n.watch(()=>({reference:n.unref(a),floating:n.unref(i),append:n.unref(o)}),({floating:y,append:k})=>{k&&jr(y,k),h()},{flush:"post"}),n.watch(s,y=>{if(!(!a.value||!i.value)){if(!y)return g();f.value=Ba(a.value,i.value,h,{})}},{flush:"post"});const g=()=>{var y;(y=f.value)==null||y.call(f),f.value=null};return{x:l,y:c,arrowX:u,arrowY:p,placement:m,reference:a,floating:i,strategy:d,update:h}}const Va=t=>{const{element:e,padding:r}=t;return{name:"arrow",options:t,fn(o){return n.isRef(e)?e.value!=null?Or({element:e.value,padding:r}).fn(o):{}:e?Or({element:e,padding:r}).fn(o):{}}}},Ra=["data-placement"],we={__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}},setup(t){const e=t,r=n.ref(!1),o=n.ref(null),{x:s,y:a,arrowX:i,arrowY:l,placement:c,reference:u,floating:p,strategy:m}=za({placement:e.placement,middleware:[Na(),Da({padding:5}),xa(e.offset),Va({element:o,padding:5})],append:n.computed(()=>e.appendTo),enabled:r}),d=()=>{e.disabled||r.value||(r.value=!0)},f=y=>{r.value&&y&&(r.value=!1)},h=y=>{u.value=y},g={mouseenter:d,mouseleave:f,focus:d,blur:f};return _n(p,y=>{var k;(k=u.value)!=null&&k.contains(y.target)||f()}),(y,k)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.renderSlot(y.$slots,"default",{setRef:h,show:d,hide:f,events:g}),n.createElementVNode("div",{ref_key:"floating",ref:p,"data-placement":n.unref(c),style:n.normalizeStyle({position:n.unref(m),top:n.unref(a)?`${n.unref(a)}px`:"",left:n.unref(s)?`${n.unref(s)}px`:""})},[n.createVNode(n.Transition,{name:"transition-fade",mode:"out-in"},{default:n.withCtx(()=>[r.value?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(["floating-content",[`is-${e.theme}`]])},[n.renderSlot(y.$slots,"content",{close:f},()=>[n.createTextVNode(n.toDisplayString(t.content),1)]),n.createElementVNode("div",{ref_key:"arrowRef",ref:o,class:"is-arrow",style:n.normalizeStyle({position:n.unref(m),top:n.unref(l)?`${n.unref(l)}px`:"",left:n.unref(i)?`${n.unref(i)}px`:""})},null,4)],2)):n.createCommentVNode("",!0)]),_:3})],12,Ra)],64))}},Ga=["onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown","tabindex"],ja={key:0},Fa=["colspan"],Ya={key:1},Ha=["colspan"],Se={__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 r=t,{isLoading:o,appendTo:s}=n.toRefs(r),a=Ge(o,{delay:Tr}),{t:i}=it(),l=rt("table"),c=n.computed(()=>r.columns),u=n.computed(()=>Object.keys(r.columns).length),p=(m,d)=>{m.sortOrders&&e("sort",{target:d,orders:m.sortOrders})};return(m,d)=>(n.openBlock(),n.createElementBlock("table",{class:n.normalizeClass(n.unref(l))},[n.createElementVNode("thead",null,[n.createElementVNode("tr",null,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(c.value,(f,h)=>(n.openBlock(),n.createBlock(we,{key:h,placement:"top",content:f.tooltip,disabled:!f.tooltip,"append-to":n.unref(s)},{default:n.withCtx(({setRef:g,show:y,hide:k})=>[n.createElementVNode("th",{ref_for:!0,ref:g,class:n.normalizeClass([[f.class],{"is-active":h===t.sort.sortTarget&&t.sort.orders[0].direction!==n.unref(ot),"is-sortable":f.sortOrders,"is-desc":h===t.sort.sortTarget&&t.sort.orders[0].direction===n.unref(b),"is-asc":h===t.sort.sortTarget&&t.sort.orders[0].direction===n.unref(M)}]),onMouseenter:y,onMouseleave:k,onFocus:y,onBlur:k,onClick:$=>p(f,h),onKeydown:[n.withKeys(n.withModifiers($=>p(f,h),["prevent"]),["space"]),n.withKeys(n.withModifiers($=>p(f,h),["prevent"]),["enter"])],tabindex:f.sortOrders?0:-1,role:"button"},[n.renderSlot(m.$slots,`header-${h}`,{column:f},()=>[n.createTextVNode(n.toDisplayString(f.label),1)]),f.sortOrders&&h!==t.sort.sortTarget?(n.openBlock(),n.createBlock(n.unref(kr),{key:0,class:"is-icon-sort"})):n.createCommentVNode("",!0),h===t.sort.sortTarget&&t.sort.orders[0].direction===n.unref(ot)?(n.openBlock(),n.createBlock(n.unref(kr),{key:1,class:"is-icon-sort"})):n.createCommentVNode("",!0),h===t.sort.sortTarget&&t.sort.orders[0].direction===n.unref(b)?(n.openBlock(),n.createBlock(n.unref(ya),{key:2,class:"is-icon-sort"})):n.createCommentVNode("",!0),h===t.sort.sortTarget&&t.sort.orders[0].direction===n.unref(M)?(n.openBlock(),n.createBlock(n.unref(Ta),{key:3,class:"is-icon-sort"})):n.createCommentVNode("",!0)],42,Ga)]),_:2},1032,["content","disabled","append-to"]))),128))])]),n.createElementVNode("tbody",null,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(r.rows,(f,h)=>(n.openBlock(),n.createElementBlock("tr",{key:h,class:n.normalizeClass(f.rowClasses)},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(c.value,(g,y)=>(n.openBlock(),n.createElementBlock("td",{key:y,class:n.normalizeClass([[g.class],{"is-active":y===t.sort.sortTarget&&t.sort.orders[0].direction!==n.unref(ot)}])},[n.renderSlot(m.$slots,`cell-${y}`,{row:f,prop:y},()=>[n.createTextVNode(n.toDisplayString(f[y]),1)])],2))),128))],2))),128))]),n.unref(a)&&t.rows.length===0?(n.openBlock(),n.createElementBlock("tfoot",ja,[n.createElementVNode("tr",null,[n.createElementVNode("td",{colspan:u.value},[n.renderSlot(m.$slots,"loading",{},()=>[n.createTextVNode(n.toDisplayString(n.unref(i)("common.loading")),1)])],8,Fa)])])):n.createCommentVNode("",!0),t.rows.length===0&&!n.unref(o)&&!n.unref(a)?(n.openBlock(),n.createElementBlock("tfoot",Ya,[n.createElementVNode("tr",null,[n.createElementVNode("td",{colspan:u.value},[n.renderSlot(m.$slots,"empty",{},()=>[n.createTextVNode(n.toDisplayString(n.unref(i)("common.noData")),1)])],8,Ha)])])):n.createCommentVNode("",!0)],2))}},Ua={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"},Wa=n.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),Ka=n.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),Za=n.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1),qa=[Wa,Ka,Za];function Xa(t,e){return n.openBlock(),n.createElementBlock("svg",Ua,qa)}const Ja={render:Xa},Qa={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})}},setup(t){const e=t,{t:r,hasTranlation:o}=it(),s=rt("error-notice"),a=n.computed(()=>{var i;return o(`errors.${e.error.key}`)?r(`errors.${e.error.key}`,e.error.cause):`${e.error.key}: ${(i=e.error)==null?void 0:i.message}`});return(i,l)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(n.unref(s))},[n.createVNode(n.unref(Ja),{class:"icon",width:"20",height:"20"}),n.createElementVNode("span",null,n.toDisplayString(a.value),1)],2))}};function Fr(t){return t&&t.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g).map(e=>e.toLowerCase()).join("-")}function _e(t,e,r){return(new Array(r+1).join(e)+t).slice(-r)}const Yr=Symbol("ErrorProviderContext"),Hr=()=>{const t=n.ref(""),e=n.ref({}),r=a=>{console.log({error:a}),t.value=a.message||a.error.message,e.value={message:a.message,key:a.key||Fr(a.message),cause:a.cause}},s={onError:r,reset:()=>{t.value="",e.value={}}};return n.provide(Yr,s),window.onerror=a=>{console.log("WINDOW_ONERROR:",a)},n.onErrorCaptured((a,i,l)=>{console.log("onErrorCaptured:",a,i,l)}),{hasError:n.computed(()=>t.value.length>0),message:t,error:e,onError:r}},Te=()=>{const t=ts();return{onError:t.onError,reset:t.reset}},ts=()=>{const t=n.inject(Yr,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},es={__name:"ErrorProvider",setup(t){const{message:e,hasError:r,error:o}=Hr();return(s,a)=>n.renderSlot(s.$slots,"default",{message:n.unref(e),error:n.unref(o),hasError:n.unref(r)})}},rs={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ő"},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:"SU.",overtimeShort:"HU.",all:"Mind",report:"Jegyzőkönyv",video:"Videó"},table:{blank:"#",team:{short:"Csapat",tooltip:"Csapatnév"},game:{short:"M",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:"L",tooltip:"Lövések"},sogPercent:{short:"L%",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:"M",tooltip:"Mérkőzésre Nevezve"},gpi:{short:"LM",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:"KL",tooltip:"Kapott Lövés"},svs:{short:"VL",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"}},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"}}},ns={errors:{"undefined-column":"The {column} column is not exists!","invalid-season-name":"Invalid season name","api-key-not-found":"API Key not found"},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"},table:{blank:"#",team:{short:"Team",tooltip:"Team name"},game:{short:"GP",tooltip:"Game Played"},wins:{short:"W",tooltip:"Wins"},draw:{short:"D",tooltip:"Draw"},otw:{short:"OTW",tooltip:"Overtime Wins"},sow:{short:"SOW",tooltip:"Shoot Out Wins"},sol:{short:"SOL",tooltip:"Shoot Out Losses"},otl:{short:"OTL",tooltip:"Overtime Losses"},losses:{short:"L",tooltip:"Losses"},goalFor:{short:"GF",tooltip:"Goals For"},goalAgainst:{short:"GA",tooltip:"Goals Against"},goalDiff:{short:"GD",tooltip:"Goal Differential"},points:{short:"PTS",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:"SOG",tooltip:"Shots on Goal"},sogPercent:{short:"SOG%",tooltip:"Shots on Goal Percent"},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"}},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"}}},Ur=(t,e)=>{const r=t.__vccOpts||t;for(const[o,s]of e)r[o]=s;return r},os=n.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=Ko({hu:rs,en:ns},t.messages),{translate:r}=fr({locale:n.computed(()=>t.locale),messages:e});return{translate:r}}});function as(t,e,r,o,s,a){return n.renderSlot(t.$slots,"default",{t:t.translate})}const ss=Ur(os,[["render",as]]),is=["src"],ls=["src","title"],yt=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:r}=n.toRefs(e),o=n.ref({src:e.src}),{error:s,isReady:a}=Mn(o,{resetOnExecute:!1,shallow:!1});return(i,l)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.unref(s)&&n.unref(r)?(n.openBlock(),n.createElementBlock("img",{key:0,src:n.unref(r),class:n.normalizeClass(["is-loaded",i.$attrs.class])},null,10,is)):n.createCommentVNode("",!0),n.unref(s)?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("img",{key:1,src:o.value.src,class:n.normalizeClass([i.$attrs.class,{"is-loaded":n.unref(a)}]),title:e.title},null,10,ls))],64))}}),cs={style:{"text-align":"center"}},ke={__name:"LoadingIndicator",setup(t){const{t:e}=it();return(r,o)=>(n.openBlock(),n.createElementBlock("div",cs,n.toDisplayString(n.unref(e)("common.loading")),1))}};function us({currentPage:t,itemsPerPage:e=20,totalItems:r,rangeLength:o=5,update:s=nt}){const a=n.computed(()=>Math.ceil(n.unref(r)/e)),i=n.computed(()=>{const p=n.unref(t)-1,m=Array.from({length:a.value},(h,g)=>g+1),d=Math.floor(o/2);let f=Math.max(p-d,0);return f+o>=a.value&&(f=Math.max(a.value-o,0)),m.slice(f,f+o)}),l=p=>{const m=n.unref(t)+p;u(m)&&s(m)},c=p=>{u(p)&&s(p)},u=p=>p<=a.value&&p>0;return{page:t,range:i,pageCount:a,goTo:c,pageStep:l}}const ds={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"},fs=n.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1),ms=[fs];function ps(t,e){return n.openBlock(),n.createElementBlock("svg",ds,ms)}const hs={render:ps},gs={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"},ys=n.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1),bs=[ys];function ws(t,e){return n.openBlock(),n.createElementBlock("svg",gs,bs)}const Ss={render:ws},_s=["disabled"],Ts=["disabled"],ks={key:1,class:"is-disabled"},$s=["disabled","onClick"],As={key:2,class:"is-disabled"},Es=[n.createElementVNode("span",null,"...",-1)],Os=["disabled"],Ps=["disabled"],Ns={__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 r=t,o=rt("paginator"),{page:s,pageCount:a,range:i,goTo:l,pageStep:c}=us({currentPage:n.computed(()=>r.page),totalItems:n.computed(()=>r.totalItems),itemsPerPage:r.itemsPerPage,rangeLength:r.rangeLength,update:u=>e("change",u)});return(u,p)=>n.unref(a)>1?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(n.unref(o))},[n.createElementVNode("button",{type:"button",disabled:n.unref(s)===1,onClick:p[0]||(p[0]=m=>n.unref(c)(-1))},[n.renderSlot(u.$slots,"prev",{},()=>[n.createVNode(n.unref(hs),{class:"icon paginator-left"})])],8,_s),t.isCompact?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("button",{key:0,type:"button",disabled:n.unref(s)===1,onClick:p[1]||(p[1]=m=>n.unref(l)(1))},"1",8,Ts)),t.isCompact?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("div",ks,"...")),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(n.unref(i),m=>(n.openBlock(),n.createElementBlock("button",{type:"button",key:m,class:n.normalizeClass({"is-active":m===n.unref(s)}),disabled:m===n.unref(s),onClick:d=>n.unref(l)(m)},n.toDisplayString(m),11,$s))),128)),t.isCompact?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("div",As,Es)),t.isCompact?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("button",{key:3,type:"button",disabled:n.unref(s)===n.unref(a),onClick:p[2]||(p[2]=m=>n.unref(l)(n.unref(a)))},n.toDisplayString(n.unref(a)),9,Os)),n.createElementVNode("button",{type:"button",disabled:n.unref(s)===n.unref(a),onClick:p[3]||(p[3]=n.withModifiers(m=>n.unref(c)(1),["prevent"]))},[n.renderSlot(u.$slots,"next",{},()=>[n.createVNode(n.unref(Ss),{class:"icon paginator-left"})])],8,Ps)],2)):n.createCommentVNode("",!0)}},$e={__name:"ResponsiveTable",setup(t){const e=n.ref(null),r=rt("table-responsive");return(o,s)=>(n.openBlock(),n.createElementBlock("div",{ref_key:"el",ref:e,class:n.normalizeClass(n.unref(r))},[n.renderSlot(o.$slots,"default",{el:e.value})],2))}};var ut=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Wr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ut,function(){var r=1e3,o=6e4,s=36e5,a="millisecond",i="second",l="minute",c="hour",u="day",p="week",m="month",d="quarter",f="year",h="date",g="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,k=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(E){var T=["th","st","nd","rd"],_=E%100;return"["+E+(T[(_-20)%10]||T[_]||T[0])+"]"}},O=function(E,T,_){var A=String(E);return!A||A.length>=T?E:""+Array(T+1-A.length).join(_)+E},v={s:O,z:function(E){var T=-E.utcOffset(),_=Math.abs(T),A=Math.floor(_/60),w=_%60;return(T<=0?"+":"-")+O(A,2,"0")+":"+O(w,2,"0")},m:function E(T,_){if(T.date()<_.date())return-E(_,T);var A=12*(_.year()-T.year())+(_.month()-T.month()),w=T.clone().add(A,m),P=_-w<0,x=T.clone().add(A+(P?-1:1),m);return+(-(A+(_-w)/(P?w-x:x-w))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:m,y:f,w:p,d:u,D:h,h:c,m:l,s:i,ms:a,Q:d}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},D="en",B={};B[D]=$;var R=function(E){return E instanceof I},F=function E(T,_,A){var w;if(!T)return D;if(typeof T=="string"){var P=T.toLowerCase();B[P]&&(w=P),_&&(B[P]=_,w=P);var x=T.split("-");if(!w&&x.length>1)return E(x[0])}else{var C=T.name;B[C]=T,w=C}return!A&&w&&(D=w),w||!A&&D},L=function(E,T){if(R(E))return E.clone();var _=typeof T=="object"?T:{};return _.date=E,_.args=arguments,new I(_)},N=v;N.l=F,N.i=R,N.w=function(E,T){return L(E,{locale:T.$L,utc:T.$u,x:T.$x,$offset:T.$offset})};var I=function(){function E(_){this.$L=F(_.locale,null,!0),this.parse(_)}var T=E.prototype;return T.parse=function(_){this.$d=function(A){var w=A.date,P=A.utc;if(w===null)return new Date(NaN);if(N.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var x=w.match(y);if(x){var C=x[2]-1||0,j=(x[7]||"0").substring(0,3);return P?new Date(Date.UTC(x[1],C,x[3]||1,x[4]||0,x[5]||0,x[6]||0,j)):new Date(x[1],C,x[3]||1,x[4]||0,x[5]||0,x[6]||0,j)}}return new Date(w)}(_),this.$x=_.x||{},this.init()},T.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},T.$utils=function(){return N},T.isValid=function(){return this.$d.toString()!==g},T.isSame=function(_,A){var w=L(_);return this.startOf(A)<=w&&w<=this.endOf(A)},T.isAfter=function(_,A){return L(_)<this.startOf(A)},T.isBefore=function(_,A){return this.endOf(A)<L(_)},T.$g=function(_,A,w){return N.u(_)?this[A]:this.set(w,_)},T.unix=function(){return Math.floor(this.valueOf()/1e3)},T.valueOf=function(){return this.$d.getTime()},T.startOf=function(_,A){var w=this,P=!!N.u(A)||A,x=N.p(_),C=function(kt,Z){var ft=N.w(w.$u?Date.UTC(w.$y,Z,kt):new Date(w.$y,Z,kt),w);return P?ft:ft.endOf(u)},j=function(kt,Z){return N.w(w.toDate()[kt].apply(w.toDate("s"),(P?[0,0,0,0]:[23,59,59,999]).slice(Z)),w)},G=this.$W,U=this.$M,dt=this.$D,at="set"+(this.$u?"UTC":"");switch(x){case f:return P?C(1,0):C(31,11);case m:return P?C(1,U):C(0,U+1);case p:var Mt=this.$locale().weekStart||0,Bt=(G<Mt?G+7:G)-Mt;return C(P?dt-Bt:dt+(6-Bt),U);case u:case h:return j(at+"Hours",0);case c:return j(at+"Minutes",1);case l:return j(at+"Seconds",2);case i:return j(at+"Milliseconds",3);default:return this.clone()}},T.endOf=function(_){return this.startOf(_,!1)},T.$set=function(_,A){var w,P=N.p(_),x="set"+(this.$u?"UTC":""),C=(w={},w[u]=x+"Date",w[h]=x+"Date",w[m]=x+"Month",w[f]=x+"FullYear",w[c]=x+"Hours",w[l]=x+"Minutes",w[i]=x+"Seconds",w[a]=x+"Milliseconds",w)[P],j=P===u?this.$D+(A-this.$W):A;if(P===m||P===f){var G=this.clone().set(h,1);G.$d[C](j),G.init(),this.$d=G.set(h,Math.min(this.$D,G.daysInMonth())).$d}else C&&this.$d[C](j);return this.init(),this},T.set=function(_,A){return this.clone().$set(_,A)},T.get=function(_){return this[N.p(_)]()},T.add=function(_,A){var w,P=this;_=Number(_);var x=N.p(A),C=function(U){var dt=L(P);return N.w(dt.date(dt.date()+Math.round(U*_)),P)};if(x===m)return this.set(m,this.$M+_);if(x===f)return this.set(f,this.$y+_);if(x===u)return C(1);if(x===p)return C(7);var j=(w={},w[l]=o,w[c]=s,w[i]=r,w)[x]||1,G=this.$d.getTime()+_*j;return N.w(G,this)},T.subtract=function(_,A){return this.add(-1*_,A)},T.format=function(_){var A=this,w=this.$locale();if(!this.isValid())return w.invalidDate||g;var P=_||"YYYY-MM-DDTHH:mm:ssZ",x=N.z(this),C=this.$H,j=this.$m,G=this.$M,U=w.weekdays,dt=w.months,at=function(Z,ft,ve,te){return Z&&(Z[ft]||Z(A,P))||ve[ft].slice(0,te)},Mt=function(Z){return N.s(C%12||12,Z,"0")},Bt=w.meridiem||function(Z,ft,ve){var te=Z<12?"AM":"PM";return ve?te.toLowerCase():te},kt={YY:String(this.$y).slice(-2),YYYY:this.$y,M:G+1,MM:N.s(G+1,2,"0"),MMM:at(w.monthsShort,G,dt,3),MMMM:at(dt,G),D:this.$D,DD:N.s(this.$D,2,"0"),d:String(this.$W),dd:at(w.weekdaysMin,this.$W,U,2),ddd:at(w.weekdaysShort,this.$W,U,3),dddd:U[this.$W],H:String(C),HH:N.s(C,2,"0"),h:Mt(1),hh:Mt(2),a:Bt(C,j,!0),A:Bt(C,j,!1),m:String(j),mm:N.s(j,2,"0"),s:String(this.$s),ss:N.s(this.$s,2,"0"),SSS:N.s(this.$ms,3,"0"),Z:x};return P.replace(k,function(Z,ft){return ft||kt[Z]||x.replace(":","")})},T.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},T.diff=function(_,A,w){var P,x=N.p(A),C=L(_),j=(C.utcOffset()-this.utcOffset())*o,G=this-C,U=N.m(this,C);return U=(P={},P[f]=U/12,P[m]=U,P[d]=U/3,P[p]=(G-j)/6048e5,P[u]=(G-j)/864e5,P[c]=G/s,P[l]=G/o,P[i]=G/r,P)[x]||G,w?U:N.a(U)},T.daysInMonth=function(){return this.endOf(m).$D},T.$locale=function(){return B[this.$L]},T.locale=function(_,A){if(!_)return this.$L;var w=this.clone(),P=F(_,A,!0);return P&&(w.$L=P),w},T.clone=function(){return N.w(this.$d,this)},T.toDate=function(){return new Date(this.valueOf())},T.toJSON=function(){return this.isValid()?this.toISOString():null},T.toISOString=function(){return this.$d.toISOString()},T.toString=function(){return this.$d.toUTCString()},E}(),H=I.prototype;return L.prototype=H,[["$ms",a],["$s",i],["$m",l],["$H",c],["$W",u],["$M",m],["$y",f],["$D",h]].forEach(function(E){H[E[1]]=function(T){return this.$g(T,E[0],E[1])}}),L.extend=function(E,T){return E.$i||(E(T,I,L),E.$i=!0),L},L.locale=F,L.isDayjs=R,L.unix=function(E){return L(1e3*E)},L.en=B[D],L.Ls=B,L.p={},L})})(Wr);var Kr=Wr.exports;const W=bt(Kr);var Zr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ut,function(){var r="minute",o=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g;return function(a,i,l){var c=i.prototype;l.utc=function(g){var y={date:g,utc:!0,args:arguments};return new i(y)},c.utc=function(g){var y=l(this.toDate(),{locale:this.$L,utc:!0});return g?y.add(this.utcOffset(),r):y},c.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var u=c.parse;c.parse=function(g){g.utc&&(this.$u=!0),this.$utils().u(g.$offset)||(this.$offset=g.$offset),u.call(this,g)};var p=c.init;c.init=function(){if(this.$u){var g=this.$d;this.$y=g.getUTCFullYear(),this.$M=g.getUTCMonth(),this.$D=g.getUTCDate(),this.$W=g.getUTCDay(),this.$H=g.getUTCHours(),this.$m=g.getUTCMinutes(),this.$s=g.getUTCSeconds(),this.$ms=g.getUTCMilliseconds()}else p.call(this)};var m=c.utcOffset;c.utcOffset=function(g,y){var k=this.$utils().u;if(k(g))return this.$u?0:k(this.$offset)?m.call(this):this.$offset;if(typeof g=="string"&&(g=function(D){D===void 0&&(D="");var B=D.match(o);if(!B)return null;var R=(""+B[0]).match(s)||["-",0,0],F=R[0],L=60*+R[1]+ +R[2];return L===0?0:F==="+"?L:-L}(g),g===null))return this;var $=Math.abs(g)<=16?60*g:g,O=this;if(y)return O.$offset=$,O.$u=g===0,O;if(g!==0){var v=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(O=this.local().add($+v,r)).$offset=$,O.$x.$localOffset=v}else O=this.utc();return O};var d=c.format;c.format=function(g){var y=g||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return d.call(this,y)},c.valueOf=function(){var g=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*g},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var f=c.toDate;c.toDate=function(g){return g==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var h=c.diff;c.diff=function(g,y,k){if(g&&this.$u===g.$u)return h.call(this,g,y,k);var $=this.local(),O=l(g).local();return h.call($,O,y,k)}}})})(Zr);var xs=Zr.exports;const vs=bt(xs);var qr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ut,function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(s,a,i){var l,c=function(d,f,h){h===void 0&&(h={});var g=new Date(d),y=function(k,$){$===void 0&&($={});var O=$.timeZoneName||"short",v=k+"|"+O,D=o[v];return D||(D=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:k,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:O}),o[v]=D),D}(f,h);return y.formatToParts(g)},u=function(d,f){for(var h=c(d,f),g=[],y=0;y<h.length;y+=1){var k=h[y],$=k.type,O=k.value,v=r[$];v>=0&&(g[v]=parseInt(O,10))}var D=g[3],B=D===24?0:D,R=g[0]+"-"+g[1]+"-"+g[2]+" "+B+":"+g[4]+":"+g[5]+":000",F=+d;return(i.utc(R).valueOf()-(F-=F%1e3))/6e4},p=a.prototype;p.tz=function(d,f){d===void 0&&(d=l);var h=this.utcOffset(),g=this.toDate(),y=g.toLocaleString("en-US",{timeZone:d}),k=Math.round((g-new Date(y))/1e3/60),$=i(y).$set("millisecond",this.$ms).utcOffset(15*-Math.round(g.getTimezoneOffset()/15)-k,!0);if(f){var O=$.utcOffset();$=$.add(h-O,"minute")}return $.$x.$timezone=d,$},p.offsetName=function(d){var f=this.$x.$timezone||i.tz.guess(),h=c(this.valueOf(),f,{timeZoneName:d}).find(function(g){return g.type.toLowerCase()==="timezonename"});return h&&h.value};var m=p.startOf;p.startOf=function(d,f){if(!this.$x||!this.$x.$timezone)return m.call(this,d,f);var h=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return m.call(h,d,f).tz(this.$x.$timezone,!0)},i.tz=function(d,f,h){var g=h&&f,y=h||f||l,k=u(+i(),y);if(typeof d!="string")return i(d).tz(y);var $=function(B,R,F){var L=B-60*R*1e3,N=u(L,F);if(R===N)return[L,R];var I=u(L-=60*(N-R)*1e3,F);return N===I?[L,N]:[B-60*Math.min(N,I)*1e3,Math.max(N,I)]}(i.utc(d,g).valueOf(),k,y),O=$[0],v=$[1],D=i(O).utcOffset(v);return D.$x.$timezone=y,D},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(d){l=d}}})})(qr);var Ds=qr.exports;const Ls=bt(Ds);var Xr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ut,function(){return function(r,o){var s=o.prototype,a=s.format;s.format=function(i){var l=this,c=this.$locale();if(!this.isValid())return a.bind(this)(i);var u=this.$utils(),p=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(m){switch(m){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return c.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return c.ordinal(l.week(),"W");case"w":case"ww":return u.s(l.week(),m==="w"?1:2,"0");case"W":case"WW":return u.s(l.isoWeek(),m==="W"?1:2,"0");case"k":case"kk":return u.s(String(l.$H===0?24:l.$H),m==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return m}});return a.bind(this)(p)}}})})(Xr);var Cs=Xr.exports;const Ms=bt(Cs);var Jr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ut,function(){return function(r,o){o.prototype.isSameOrBefore=function(s,a){return this.isSame(s,a)||this.isBefore(s,a)}}})})(Jr);var Bs=Jr.exports;const Is=bt(Bs);var Qr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ut,function(){return function(r,o,s){o.prototype.isBetween=function(a,i,l,c){var u=s(a),p=s(i),m=(c=c||"()")[0]==="(",d=c[1]===")";return(m?this.isAfter(u,l):!this.isBefore(u,l))&&(d?this.isBefore(p,l):!this.isAfter(p,l))||(m?this.isBefore(u,l):!this.isAfter(u,l))&&(d?this.isAfter(p,l):!this.isBefore(p,l))}}})})(Qr);var zs=Qr.exports;const Vs=bt(zs);var tn={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(ut,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(o,s,a){var i=s.prototype,l=i.format;a.en.formats=r,i.format=function(c){c===void 0&&(c="YYYY-MM-DDTHH:mm:ssZ");var u=this.$locale().formats,p=function(m,d){return m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(f,h,g){var y=g&&g.toUpperCase();return h||d[g]||r[g]||d[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(k,$,O){return $||O.slice(1)})})}(c,u===void 0?{}:u);return l.call(this,p)}}})})(tn);var Rs=tn.exports;const Gs=bt(Rs);var js={exports:{}};(function(t,e){(function(r,o){t.exports=o(Kr)})(ut,function(r){function o(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var s=o(r),a={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(i){return i+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(i,l,c,u){return"néhány másodperc"+(u||l?"":"e")},m:function(i,l,c,u){return"egy perc"+(u||l?"":"e")},mm:function(i,l,c,u){return i+" perc"+(u||l?"":"e")},h:function(i,l,c,u){return"egy "+(u||l?"óra":"órája")},hh:function(i,l,c,u){return i+" "+(u||l?"óra":"órája")},d:function(i,l,c,u){return"egy "+(u||l?"nap":"napja")},dd:function(i,l,c,u){return i+" "+(u||l?"nap":"napja")},M:function(i,l,c,u){return"egy "+(u||l?"hónap":"hónapja")},MM:function(i,l,c,u){return i+" "+(u||l?"hónap":"hónapja")},y:function(i,l,c,u){return"egy "+(u||l?"év":"éve")},yy:function(i,l,c,u){return i+" "+(u||l?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return s.default.locale(a,null,!0),a})})(js),W.extend(vs),W.extend(Ls),W.extend(Ms),W.extend(Gs),W.extend(Is),W.extend(Vs);const en=()=>W.tz.guess(),Qt=(t="",e="",r="",o="hu")=>(r=r||W.tz.guess(),W(t).isValid()?W(t).tz(r).locale(o).format(e):""),Lt=(t="",e="",r="hu")=>{if(!W(t).isValid())return"";e=e||W.tz.guess();const s=new Intl.DateTimeFormat(Fs(r),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(a=>a.type==="timeZoneName");return s&&s.value},Fs=t=>Sr.get(t),Ae=t=>{const e=t.split(":");return parseInt(e[0],10)*60+parseInt(e[1],10)},rn=t=>{const e=~~(t/60),r=~~t%60;return _e(e,"0",2)+":"+_e(r,"0",2)},nn=(t,e="day")=>W().isSameOrBefore(W(t),e),Ys=(t,e,r)=>W(t).isBetween(e,W(r)),Hs=(t,e,r="month")=>W(t).isSame(e,r),Us=["onClick"],Ws={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const r=t,{t:o}=it(),s=rt("timezone-selector"),a=n.computed(()=>Lt(new Date,null,r.locale)),i=en(),l=n.computed(()=>Array.from(_r.values()).map(u=>({...u,isActive:Lt(new Date,r.currentZone,r.locale)===Lt(new Date,u.timezone,r.locale),zoneOffsetName:Lt(new Date,u.timezone,r.locale)}))),c=u=>e("change",u);return(u,p)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(n.unref(s))},[n.createVNode(n.unref(pr),{path:"common.selectTimezone",tag:"span"},{timezone:n.withCtx(()=>[n.createElementVNode("a",{href:"#",onClick:p[0]||(p[0]=n.withModifiers(m=>c(n.unref(i)),["prevent"]))},n.toDisplayString(a.value),1)]),_:1}),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.value,m=>(n.openBlock(),n.createElementBlock("a",{key:m.countryLabelKey,href:"#",class:n.normalizeClass({"is-active":m.isActive}),onClick:n.withModifiers(d=>c(m.timezone),["prevent"])},n.toDisplayString(n.unref(o)(`common.${m.countryLabelKey}`))+" ("+n.toDisplayString(m.zoneOffsetName)+") ",11,Us))),128))],2))}},Ee=(t,e="",r={})=>{const o=n.ref(""),{t:s}=it(),a=n.computed(()=>{if(n.unref(e))try{const c=on(n.unref(t),n.unref(e));return qo(c,n.unref(t))}catch(c){o.value=c}return n.unref(t)}),i=c=>({...c,...c.label&&{label:s(c.label??"",n.unref(r))},...c.tooltip&&{tooltip:s(c.tooltip??"")}});return{columns:n.computed(()=>pt(i,a.value)),error:o}},on=(t,e="")=>{const r=pt(Wt,Et(",",e)),o=mt(t);if(r[0]==="")return resolve([]);const s=r.findIndex(a=>!o.includes(a));if(s>-1)throw r[s];return r};class Oe extends Error{constructor(e,r={}){const{key:o,cause:s}=r;super(e),this.name="WidgetError",this.key=o,this.cause=s}}const Ct={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},Ks={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}},Zs={class:"is-portrait-image"},qs={class:"is-team-name-long"},Xs={class:"is-team-name-short"},Js={class:"is-team-name-long"},Qs={class:"is-team-name-short"},ti={class:"is-team-name-long"},ei={class:"is-team-name-short"},ri=["href"],ni={class:"is-team-name-long"},oi={class:"is-team-name-short"},ai=["href"],si={key:0,class:"is-text-dark"},ii=["href","target"],li={__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:HTMLElement,default:null},offsetName:{type:String,default:""}},emits:["sort"],setup(t,{emit:e}){const r=t,{columns:o,hideColumns:s}=n.toRefs(r),{onError:a}=Te(),{columns:i,error:l}=Ee(o,s,n.computed(()=>({offsetName:r.offsetName})));l.value&&a(new Oe(Ct.message,{...Ct.options,cause:{column:l.value}}));const c=u=>e("sort",u);return(u,p)=>(n.openBlock(),n.createBlock($e,null,{default:n.withCtx(({el:m})=>[n.createVNode(Se,{columns:n.unref(i),sort:r.sort,rows:r.rows,"is-loading":t.isLoading,"append-to":t.appendTo||m,onSort:c},n.createSlots({"cell-index":n.withCtx(({row:d})=>[n.createElementVNode("span",{class:n.normalizeClass(d.indexClass)},n.toDisplayString(d.index),3)]),"cell-playerPortrait":n.withCtx(({row:d})=>[n.createElementVNode("div",Zs,[(n.openBlock(),n.createBlock(yt,{key:d.id||d.playerId,src:d.playerPortrait,"default-src":n.unref(yr)},null,8,["src","default-src"]))])]),"cell-teamLogo":n.withCtx(({row:d})=>{var f,h;return[(n.openBlock(),n.createBlock(yt,{class:"is-logo-image",key:((f=d.team)==null?void 0:f.id)??d.id,src:(h=d.team)==null?void 0:h.logo},null,8,["src"]))]}),"cell-homeTeamLogo":n.withCtx(({row:d})=>{var f,h;return[(n.openBlock(),n.createBlock(yt,{class:"is-logo-image is-right",key:(f=d.homeTeam)==null?void 0:f.id,src:(h=d.homeTeam)==null?void 0:h.logo},null,8,["src"]))]}),"cell-awayTeamLogo":n.withCtx(({row:d})=>{var f,h;return[(n.openBlock(),n.createBlock(yt,{class:"is-logo-image is-right",key:(f=d.awayTeam)==null?void 0:f.id,src:(h=d.awayTeam)==null?void 0:h.logo},null,8,["src"]))]}),"cell-teamName":n.withCtx(({row:d})=>{var f,h;return[n.createElementVNode("span",qs,n.toDisplayString((f=d.team)==null?void 0:f.longName),1),n.createElementVNode("span",Xs,n.toDisplayString((h=d.team)==null?void 0:h.shortName),1)]}),"cell-homeTeamName":n.withCtx(({row:d})=>{var f,h;return[n.createElementVNode("span",Js,n.toDisplayString((f=d.homeTeam)==null?void 0:f.longName),1),n.createElementVNode("span",Qs,n.toDisplayString((h=d.homeTeam)==null?void 0:h.shortName),1)]}),"cell-awayTeamName":n.withCtx(({row:d})=>{var f,h;return[n.createElementVNode("span",ti,n.toDisplayString((f=d.awayTeam)==null?void 0:f.longName),1),n.createElementVNode("span",ei,n.toDisplayString((h=d.awayTeam)==null?void 0:h.shortName),1)]}),"cell-location":n.withCtx(({row:d})=>{var f;return[n.createTextVNode(n.toDisplayString(((f=d.location)==null?void 0:f.locationName)??""),1)]}),"cell-gameResult":n.withCtx(({row:d})=>[d.gameStatus===0?(n.openBlock(),n.createElementBlock("span",si,"-:-")):(n.openBlock(),n.createElementBlock("a",{key:1,href:t.externalGameResolver(d.gameId),target:t.externalGameResolverTarget,class:n.normalizeClass({"is-text-dark":d.gameStatus!==1,"is-text-accent":d.gameStatus===1})},n.toDisplayString(d.homeTeamScore)+":"+n.toDisplayString(d.awayTeamScore),11,ii))]),loading:n.withCtx(()=>[n.createVNode(ke)]),_:2},[t.isTeamLinked?{name:"cell-teamName",fn:n.withCtx(({row:d})=>{var f,h,g;return[n.createElementVNode("a",{href:t.externalTeamResolver((f=d.team)==null?void 0:f.longName),target:"_blank"},[n.createElementVNode("span",ni,n.toDisplayString((h=d.team)==null?void 0:h.longName),1),n.createElementVNode("span",oi,n.toDisplayString((g=d.team)==null?void 0:g.shortName),1)],8,ri)]}),key:"0"}:void 0,t.isPlayerLinked?{name:"cell-name",fn:n.withCtx(({row:d})=>[n.createElementVNode("a",{href:t.externalPlayerResolver(d.id),target:"_blank"},n.toDisplayString(d.name),9,ai)]),key:"1"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},an={gameName:{label:"table.gameName.short",tooltip:"table.gameName.tooltip",class:"is-text-left is-text-light"},gameDateDate:{label:"table.gameDate.short",tooltip:"table.gameDate.tooltip",class:"is-text-left"},gameDateTime:{label:"table.gameDateTime.short",tooltip:"table.gameDateTime.tooltip",class:"is-text-left"},homeTeamName:{label:"table.homeTeam.short",tooltip:"table.homeTeam.tooltip",class:"is-text-right is-w-auto is-text-bold"},homeTeamLogo:{label:"",class:"is-has-image"},gameResult:{label:"",class:"is-text-bold is-text-xl"},gameResultType:{label:"",tooltip:""},awayTeamLogo:{label:"",class:"is-has-image"},awayTeamName:{label:"table.awayTeam.short",tooltip:"table.awayTeam.tooltip",class:"is-text-left is-w-auto is-text-bold"},location:{label:"table.location.short",tooltip:"table.location.tooltip",class:"is-text-left"},broadcast:{label:"table.broadcast.short",tooltip:"table.broadcast.tooltip"},more:{label:""}},ci={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:M}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gamesPlayed",direction:b}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:b},{target:"otw",direction:b}]},otw:{label:"table.otw.short",tooltip:"table.otw.tooltip",sortOrders:[{target:"otw",direction:b}]},sow:{label:"table.sow.short",tooltip:"table.sow.tooltip",sortOrders:[{target:"sow",direction:b}]},sol:{label:"table.sol.short",tooltip:"table.sol.tooltip",sortOrders:[{target:"sol",direction:b}]},otl:{label:"table.otl.short",tooltip:"table.otl.tooltip",sortOrders:[{target:"otl",direction:M}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:M}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:b}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:M}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b},{target:"gamesPlayed",direction:M},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},ui={index:{label:"#",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:M}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gamesPlayed",direction:b}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:b},{target:"d",direction:b}]},d:{label:"table.draw.short",tooltip:"table.draw.tooltip",sortOrders:[{target:"d",direction:b},{target:"w",direction:b}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:M}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:b}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:M}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b}]}},di={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:M}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:M}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},g:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"g",direction:b},{target:"a",direction:b}]},a:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"a",direction:b},{target:"g",direction:b}]},point:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"point",direction:b}]},plusMinus:{label:"table.plusMinus.short",tooltip:"table.plusMinus.tooltip",sortOrders:[{target:"plusMinus",direction:b}]},shoot:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"shoot",direction:b}]},shootPercent:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"shootPercent",direction:b}]}},fi={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:M}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:M}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:b},{target:"pim",direction:b}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:b},{target:"pim",direction:b}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:b},{target:"pim",direction:b}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:b},{target:"pim",direction:b}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:b},{target:"pim",direction:b}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:b}]}},mi={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:M}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:M}]},gkd:{label:"table.gpgk.short",tooltip:"table.gpgk.tooltip",sortOrders:[{target:"gkd",direction:b}]},gpi:{label:"table.gpi.short",tooltip:"table.gpi.tooltip",sortOrders:[{target:"gpi",direction:b}]},mip:{label:"table.toi.short",tooltip:"table.toi.tooltip",sortOrders:[{target:"mipSec",direction:b}]},mipPercent:{label:"table.toiPercent.short",tooltip:"table.toiPercent.tooltip",sortOrders:[{target:"mipPercent",direction:b}]},ga:{label:"table.ga.short",tooltip:"table.ga.tooltip",sortOrders:[{target:"ga",direction:b}]},gaa:{label:"table.gaa.short",tooltip:"table.gaa.tooltip",sortOrders:[{target:"gaa",direction:b}]},sa:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"sa",direction:b}]},svs:{label:"table.svs.short",tooltip:"table.svs.tooltip",sortOrders:[{target:"svs",direction:b}]},svsPercent:{label:"table.svsPercent.short",tooltip:"table.svsPercent.tooltip",sortOrders:[{target:"svsPercent",direction:b}]}},pi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:M}]},home:{label:"table.homeHeader.short"},homeGame:{label:"table.homeGame.short",tooltip:"table.homeGame.tooltip",sortOrders:[{target:"homeGame",direction:b}]},homeAttendance:{label:"table.homeAttendance.short",tooltip:"table.homeAttendance.tooltip",sortOrders:[{target:"homeAttendance",direction:b}]},homeAttendanceAvg:{label:"table.homeAttendanceAvg.short",tooltip:"table.homeAttendanceAvg.tooltip",sortOrders:[{target:"homeAttendanceAvg",direction:b}]},away:{label:"table.awayHeader.short"},awayGame:{label:"table.awayGame.short",tooltip:"table.awayGame.tooltip",sortOrders:[{target:"awayGame",direction:b}]},awayAttendance:{label:"table.awayAttendance.short",tooltip:"table.awayAttendance.tooltip",sortOrders:[{target:"awayAttendance",direction:b}]},awayAttendanceAvg:{label:"table.awayAttendanceAvg.short",tooltip:"table.awayAttendanceAvg.tooltip",sortOrders:[{target:"awayAttendanceAvg",direction:b}]},total:{label:"table.totalHeader.short"},totalGame:{label:"table.totalGame.short",tooltip:"table.totalGame.tooltip",sortOrders:[{target:"totalGame",direction:b}]},totalAttendance:{label:"table.totalAttendance.short",tooltip:"table.totalAttendance.tooltip",sortOrders:[{target:"totalAttendance",direction:b}]},totalAttendanceAvg:{label:"table.totalAttendanceAvg.short",tooltip:"table.totalAttendanceAvg.tooltip",sortOrders:[{target:"totalAttendanceAvg",direction:b}]}},hi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:M}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:b},{target:"pim",direction:b}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:b},{target:"pim",direction:b}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:b},{target:"pim",direction:b}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:b},{target:"pim",direction:b}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:b},{target:"pim",direction:b}]},pimPerGame:{label:"table.pimPerGame.short",tooltip:"table.pimPerGame.tooltip",sortOrders:[{target:"pimPerGame",direction:b}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:b}]}},gi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:M}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},dvg:{label:"table.powerplayDisadvantages.short",tooltip:"table.powerplayDisadvantages.tooltip",sortOrders:[{target:"dvg",direction:b}]},dvgTime:{label:"table.dvgTime.short",tooltip:"table.dvgTime.tooltip",sortOrders:[{target:"dvgTimeSec",direction:b}]},dvgTimePP1:{label:"table.dvgTimePP1.short",tooltip:"table.dvgTimePP1.tooltip",sortOrders:[{target:"dvgTimePP1Sec",direction:b}]},dvgTimePP2:{label:"table.dvgTimePP2.short",tooltip:"table.dvgTimePP2.tooltip",sortOrders:[{target:"dvgTimePP2",direction:b}]},ppga:{label:"table.ppga.short",tooltip:"table.ppga.tooltip",sortOrders:[{target:"ppga",direction:b}]},shgf:{label:"table.shgf.short",tooltip:"table.shgf.tooltip",sortOrders:[{target:"shgf",direction:b}]},pkPercent:{label:"table.pkPercent.short",tooltip:"table.pkPercent.tooltip",sortOrders:[{target:"pkPercent",direction:b}]}},yi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:M}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},adv:{label:"table.adv.short",tooltip:"table.adv.tooltip",sortOrders:[{target:"adv",direction:b}]},advTime:{label:"table.advTime.short",tooltip:"table.advTime.tooltip",sortOrders:[{target:"advTimeSec",direction:b}]},advTimePP1:{label:"table.advTimePP1.short",tooltip:"table.advTimePP1.tooltip",sortOrders:[{target:"advTimePP1Sec",direction:b}]},advTimePP2:{label:"table.advTimePP2.short",tooltip:"table.advTimePP2.tooltip",sortOrders:[{target:"advTimePP2Sec",direction:b}]},ppgf:{label:"table.ppgf.short",tooltip:"table.ppgf.tooltip",sortOrders:[{target:"ppgf",direction:b}]},shga:{label:"table.shga.short",tooltip:"table.shga.tooltip",sortOrders:[{target:"shga",direction:b}]},ppPercent:{label:"table.ppPercent.short",tooltip:"table.ppPercent.tooltip",sortOrders:[{target:"ppPercent",direction:b}]}},bi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:M}]},m:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},plus:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"plus",direction:b}]},minus:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"minus",direction:M}]},gk:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gk",direction:b}]},GFGP:{label:"table.gfgp.short",tooltip:"table.gfgp.tooltip",sortOrders:[{target:"GFGP",direction:b}]},GAGP:{label:"table.gagp.short",tooltip:"table.gagp.tooltip",sortOrders:[{target:"GAGP",direction:M}]},Shots:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"Shots",direction:b}]},SA:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"SA",direction:M}]},ShotsGP:{label:"table.sogp.short",tooltip:"table.sogp.tooltip",sortOrders:[{target:"ShotsGP",direction:b}]},SAGP:{label:"table.sagp.short",tooltip:"table.sagp.tooltip",sortOrders:[{target:"SAGP",direction:M}]},GFShots:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"GFShots",direction:b}]}},sn=async(t,e,r)=>{const o=`${hr}${n.unref(t)}?${wi(r)}`;return new Promise((s,a)=>{fetch(o,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":Si(e)}}).then(i=>i.json()).then(i=>{if(i.error)return a(i);s(i.data)}).catch(i=>{a(i)})})},wi=t=>Object.keys(t).map(e=>e+"="+t[e]).join("&"),Si=t=>{var e;return t||((e=window.__MJSZ_VBR_WIDGET__)!=null&&e.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:{}.NODE_ENV!=="production"?"dd8adf5fdb738b3741fa579b5ede5ce69b681f62":"")},_i=(t={})=>{const{initial:e=1,items:r=[],limit:o,auto:s=!1}=t,a=n.ref(e),i=u=>nn(u,"day");return bn(r,()=>{if(!s)return;const u=Lo(Jo(i,"gameDate"))(n.unref(r));a.value=u===-1?1:Math.floor(u/o)+1}),{page:a,change:u=>{a.value=u}}},Ti=({options:t={},transform:e=s=>s,onError:r=nt,onSuccess:o=nt})=>{const{path:s,apiKey:a,params:i,resetOnExecute:l=!1,immediate:c=!1}=t,{state:u,error:p,isLoading:m,execute:d}=ze(()=>sn(s,a,n.unref(i)).then(f=>e(f)),[],{immediate:c,resetOnExecute:l,onError:r,onSuccess:o});return{state:u,error:p,isLoading:m,execute:d}};/*! *****************************************************************************
10
10
  Copyright (c) Microsoft Corporation.
11
11
 
12
12
  Permission to use, copy, modify, and/or distribute this software for any
@@ -19,4 +19,4 @@ var MjszVbrElementsCore=function(_,n){"use strict";const rt=t=>({}.VITE_CSS_CLAS
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 ln(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var o,s,a=r.call(t),i=[];try{for(;(e===void 0||e-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(l){s={error:l}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(s)throw s.error}}return i}var cn;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(cn||(cn={}));var ki={type:"xstate.init"};function Pe(t){return t===void 0?[]:[].concat(t)}function un(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 xe(t){return function(e){return t===e}}function $i(t){return typeof t=="string"?{type:t}:t}function dn(t,e){return{value:t,context:e,actions:[],changed:!1,matches:xe(t)}}function fn(t,e,r){var o=e,s=!1;return[t.filter(function(a){if(a.type==="xstate.assign"){s=!0;var i=Object.assign({},o);return typeof a.assignment=="function"?i=a.assignment(o,r):Object.keys(a.assignment).forEach(function(l){i[l]=typeof a.assignment[l]=="function"?a.assignment[l](o,r):a.assignment[l]}),o=i,!1}return!0}),o,s]}function Ai(t,e){e===void 0&&(e={});var r=ln(fn(Pe(t.states[t.initial].entry).map(function(i){return un(i,e.actions)}),t.context,ki),2),o=r[0],s=r[1],a={config:t,_options:e,initialState:{value:t.initial,actions:o,context:s,matches:xe(t.initial)},transition:function(i,l){var c,u,p=typeof i=="string"?{value:i,context:t.context}:i,m=p.value,d=p.context,f=$i(l),h=t.states[m];if(h.on){var g=Pe(h.on[f.type]);try{for(var y=function(w){var P=typeof Symbol=="function"&&Symbol.iterator,N=P&&w[P],C=0;if(N)return N.call(w);if(w&&typeof w.length=="number")return{next:function(){return w&&C>=w.length&&(w=void 0),{value:w&&w[C++],done:!w}}};throw new TypeError(P?"Object is not iterable.":"Symbol.iterator is not defined.")}(g),k=y.next();!k.done;k=y.next()){var $=k.value;if($===void 0)return dn(m,d);var O=typeof $=="string"?{target:$}:$,v=O.target,D=O.actions,B=D===void 0?[]:D,R=O.cond,F=R===void 0?function(){return!0}:R,L=v===void 0,x=v??m,I=t.states[x];if(F(d,f)){var H=ln(fn((L?Pe(B):[].concat(h.exit,B,I.entry).filter(function(w){return w})).map(function(w){return un(w,a._options.actions)}),d,f),3),E=H[0],T=H[1],S=H[2],A=v??m;return{value:A,context:T,actions:E,changed:v!==m||E.length>0||S,matches:xe(A)}}}}catch(w){c={error:w}}finally{try{k&&!k.done&&(u=y.return)&&u.call(y)}finally{if(c)throw c.error}}}return dn(m,d)}};return a}const Ei=Ai({id:"sort",initial:ot,states:{[ot]:{on:{DIRECTION1:b,DIRECTION2:M}},[b]:{on:{DIRECTION1:M,DIRECTION2:ot}},[M]:{on:{DIRECTION1:ot,DIRECTION2:b}}}}),Oi=(t,e)=>{const r=e===M?"DIRECTION2":"DIRECTION1";return Ei.transition(t,r).value};function Pi(t={}){const{sortTarget:e=null,orders:r=[]}=t,o=n.reactive({sortTarget:e,orders:r});return{sort:o,change:({target:a,orders:i})=>{if(o.sortTarget!==a){o.sortTarget=a,o.orders=i;return}const l=i.map((c,u)=>({...c,direction:Oi(o.orders[u].direction,c.direction)}));o.sortTarget=a,o.orders=l}}}function xi(t=!1,e=nt,r=nt){const o=xn();n.watch(o,s=>{if(n.unref(t)){if(s==="visible")return e();r()}})}const Ni=(t=[])=>({result:[...t],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.filteredRowsLength,totalItems:this.isFiltered?this.filteredRowsLength:t.length}},filter(e,r=[],o=!1){if(e){const s=r.map(i=>o?fe(cr(i),Ft(e)):fe(St(i),ra,Vo(e))),a=Je(uo([...s]),this.result);this.isFiltered=!0,this.filteredRowsLength=a.length,this.result=a}return this},sorted(e){if(!e.sortTarget)return this;if(e.orders[0].direction===ot)return this;const r=Io(Ft(M),sr(ce),sr(Oo));return this.result=ur(e.orders.map(o=>ir(r(o.direction),St)(o.target)))(this.result),this},addIndex(e=null){return this.result.reduce((r,o,s)=>{const a=r[r.length-1]||[],i=e&&a[e]===o[e];return o.index=i?a.index:s+1,o.indexClass=i?"is-duplicated":null,r.push(o),r},[]),this},addContinuousIndex(){return this.result=this.result.map((e,r)=>({...e,index:r+1})),this},pagination(e,r){e=Number(e),r=Number(r);const o=(e-1)*r,s=o+r;return this.result=this.result.slice(o,s),this},playerName(){return this.result=this.result.map(e=>({...e,name:`${e.lastName} ${e.firstName}`})),this},schedule(e="",r="hu"){return this.result=this.result.map(o=>({...o,gameResult:`${o.homeTeamScore}-${o.awayTeamScore}`,gameDateDate:Qt(o.gameDate,"L dddd",e,r),gameDateTime:Qt(o.gameDate,"HH:mm",e,r)})),this},gameDateFilter(e){return e===null?this:(this.result=this.result.filter(r=>new Date(r.gameDate).getMonth()==e),this)},convertTimes(e=[]){return this.result=this.result.map(r=>(e.map(o=>r[o]?r[`${o}Sec`]=Ae(r[o]):r),r)),this},groupByDays(){return this.result=Mo(e=>Qt(e.gameDate,"YYYY-MM-DD"))(this.result),this}}),vi=(t,...e)=>pt(ir(...e))(t),Di=t=>({...t,...t.lastName&&{name:`${t.lastName} ${t.firstName}`}}),Li=(t=[])=>e=>{var r;return{...e,[t]:(r=e[t])==null?void 0:r.toUpperCase()}},Ci=(t=[])=>e=>(t.map(r=>e[r]?e[`${r}Sec`]=Ae(e[r]):e),e),Mi=(t=[])=>e=>(t.map(r=>e[`${r}Min`]=rn(e[r])),e),Bi=ur([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),ce(St("id")),ce(St("gameId"))]),Ii=(t,e)=>{const r=Ne("gameResolver")||t;return typeof r=="function"?r(e):r?r+e:gr+e},zi=(t,e)=>{const r=Ne("teamResolver")||t;return typeof r=="function"?r(e):encodeURI(r?r+e:wr+e)},Vi=(t,e)=>{const r=Ne("playerResolver")||t;return typeof r=="function"?r(e):encodeURI(r?r+e:br+e)},Ne=(t="")=>{var e;return(e=window==null?void 0:window.__MJSZ_VBR_WIDGET__)==null?void 0:e[t]},Ri={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"},Gi=n.createElementVNode("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"},null,-1),ji=n.createElementVNode("line",{x1:"8",y1:"21",x2:"16",y2:"21"},null,-1),Fi=n.createElementVNode("line",{x1:"12",y1:"17",x2:"12",y2:"21"},null,-1),Yi=[Gi,ji,Fi];function Hi(t,e){return n.openBlock(),n.createElementBlock("svg",Ri,Yi)}const Ui={render:Hi},Wi={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"},Ki=n.createElementVNode("circle",{cx:"12",cy:"12",r:"1"},null,-1),Zi=n.createElementVNode("circle",{cx:"12",cy:"5",r:"1"},null,-1),qi=n.createElementVNode("circle",{cx:"12",cy:"19",r:"1"},null,-1),Xi=[Ki,Zi,qi];function Ji(t,e){return n.openBlock(),n.createElementBlock("svg",Wi,Xi)}const Qi={render:Ji},tl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},el=n.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),rl=n.createElementVNode("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"},null,-1),nl=[el,rl];function ol(t,e){return n.openBlock(),n.createElementBlock("svg",tl,nl)}const al={render:ol},sl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},il=n.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),ll=n.createElementVNode("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"},null,-1),cl=[il,ll];function ul(t,e){return n.openBlock(),n.createElementBlock("svg",sl,cl)}const dl={render:ul},fl={class:"is-team-name-long"},ml={class:"is-team-name-short"},pl={class:"is-team-name-long"},hl={class:"is-team-name-short"},gl={key:0,class:"is-text-dark"},yl=["href","target"],bl={key:0,class:"label"},wl={key:1,class:"label"},Sl={key:2,class:"label"},_l={key:1},Tl=["onClick","onFocus","onBlur"],kl={class:"is-dropdown-menu"},$l=["href","target"],Al={key:0},El=["href"],Ol={__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,r=n.ref(null),{onError:o}=Te(),{columns:s,error:a}=Ee(an,n.computed(()=>e.hideColumns),n.computed(()=>({offsetName:e.offsetName})));wn(a,()=>o(new Oe(Ct.message,{...Ct.options,cause:{column:a.value}})),{immediate:!0});const{t:i}=it();return(l,c)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode($e,null,{default:n.withCtx(({el:u})=>[n.createVNode(Se,{columns:n.unref(s),rows:e.rows,"is-loading":t.isLoading,"append-to":r.value||u},{"cell-homeTeamName":n.withCtx(({row:p})=>[n.createElementVNode("span",fl,n.toDisplayString(p.homeTeam.longName),1),n.createElementVNode("span",ml,n.toDisplayString(p.homeTeam.shortName),1)]),"cell-awayTeamName":n.withCtx(({row:p})=>[n.createElementVNode("span",pl,n.toDisplayString(p.awayTeam.longName),1),n.createElementVNode("span",hl,n.toDisplayString(p.awayTeam.shortName),1)]),"cell-homeTeamLogo":n.withCtx(({row:p})=>[(n.openBlock(),n.createBlock(yt,{class:"is-logo-image is-right",key:p.homeTeam.id,src:p.homeTeam.logo},null,8,["src"]))]),"cell-awayTeamLogo":n.withCtx(({row:p})=>[(n.openBlock(),n.createBlock(yt,{class:"is-logo-image is-right",key:p.awayTeam.id,src:p.awayTeam.logo},null,8,["src"]))]),"cell-gameResult":n.withCtx(({row:p})=>[p.gameStatus===0?(n.openBlock(),n.createElementBlock("span",gl,"-:-")):(n.openBlock(),n.createElementBlock("a",{key:1,href:t.externalGameResolver(p.gameId),target:t.externalGameResolverTarget,class:n.normalizeClass({"is-text-dark":p.gameStatus!==1,"is-text-accent":p.gameStatus===1})},n.toDisplayString(p.homeTeamScore)+":"+n.toDisplayString(p.awayTeamScore),11,yl))]),"cell-gameResultType":n.withCtx(({row:p})=>[p.isOvertime?(n.openBlock(),n.createElementBlock("span",bl,n.toDisplayString(n.unref(i)("common.overtimeShort")),1)):n.createCommentVNode("",!0),p.isShootout?(n.openBlock(),n.createElementBlock("span",wl,n.toDisplayString(n.unref(i)("common.shootoutShort")),1)):n.createCommentVNode("",!0),p.seriesStandings?(n.openBlock(),n.createElementBlock("span",Sl,n.toDisplayString(p.seriesStandings),1)):n.createCommentVNode("",!0)]),"cell-broadcast":n.withCtx(({row:p})=>[p.broadcast?(n.openBlock(),n.createBlock(n.unref(Ui),{key:0})):(n.openBlock(),n.createElementBlock("span",_l))]),"cell-location":n.withCtx(({row:p})=>{var m;return[n.createTextVNode(n.toDisplayString(((m=p.location)==null?void 0:m.locationName)??""),1)]}),"cell-more":n.withCtx(({row:p})=>[n.createVNode(we,{offset:2,placement:"left",theme:"content","append-to":u},{default:n.withCtx(({setRef:m,show:d,hide:f})=>[n.createElementVNode("button",{ref:m,onClick:n.withModifiers(d,["stop"]),onFocus:d,onBlur:f},[n.createVNode(n.unref(Qi))],40,Tl)]),content:n.withCtx(()=>[n.createElementVNode("ul",kl,[n.createElementVNode("li",null,[n.createElementVNode("a",{href:t.externalGameResolver(p.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[n.createVNode(n.unref(al),{width:"14"}),n.createTextVNode(" "+n.toDisplayString(n.unref(i)("common.report")),1)],8,$l)]),p.video?(n.openBlock(),n.createElementBlock("li",Al,[n.createElementVNode("a",{href:p.video,class:"is-dropdown-item",target:"_blank"},[n.createVNode(n.unref(dl),{width:"14"}),n.createTextVNode(" "+n.toDisplayString(n.unref(i)("common.video")),1)],8,El)])):n.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:n.withCtx(()=>[n.createVNode(ke)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),n.createElementVNode("div",{ref_key:"tooltipContainer",ref:r},null,512)],64))}},Pl={class:"g-row"},xl=["value"],Nl={key:0},vl=["onClick"],Dl={__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 r=t,{t:o}=it(),s=n.computed({get(){return r.championshipId},set(i){e("onChangeSeason",i)}});function a(i){e("onChangeSection",i)}return(i,l)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("div",Pl,[n.createElementVNode("div",null,[n.createElementVNode("label",{for:"season",class:n.normalizeClass(n.unref(rt)("label"))},n.toDisplayString(n.unref(o)("selection.season")),3),n.createVNode(De,{id:"season",modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=c=>s.value=c)},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(t.seasons,c=>(n.openBlock(),n.createElementBlock("option",{key:c.championshipId,value:c.championshipId},n.toDisplayString(c.seasonName),9,xl))),128))]),_:1},8,["modelValue"])])]),t.isSectionSelectionDisabled?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("div",Nl,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(t.sections,c=>(n.openBlock(),n.createElementBlock("button",{key:c.phaseId,onClick:u=>a(c),class:n.normalizeClass([n.unref(rt)("tab-button"),{"is-active":c.sectionId===t.sectionId}])},n.toDisplayString(c.sectionName),11,vl))),128))]))],64))}},Ll={};function Cl(t,e){return n.openBlock(),n.createElementBlock("div",null," Test-8 ")}const Ml=Ur(Ll,[["render",Cl]]),Bl={locale:{type:String,default:"hu"},championshipId:{type:String,default:""},division:{type:String,default:""},apiKey:{type:String,default:""},hideColumns:{type:String,default:""}},mn={externalTeamLink:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},Il={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerLink:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1},...mn},zl=({modules:t=[],apiKey:e,gameResolver:r,teamResolver:o,playerResolver:s})=>{if(window.__MJSZ_VBR_WIDGET__={apiKey:e,gameResolver:r,teamResolver:o,playerResolver:s},t.length===0)throw new Error("At least one module must be set");t.forEach(a=>{if(a.register)return a.register();a==null||a()})};return _.AVAILABLE_TIMEZONES_BY_COUNTRY=_r,_.BaseSelect=De,_.COLUMNS_FIELD_PLAYERS=di,_.COLUMNS_FIELD_PLAYERS_PENALTY=fi,_.COLUMNS_GOALIES=mi,_.COLUMNS_SCHEDULE=an,_.COLUMNS_SCORING_EFFICIENCY=bi,_.COLUMNS_STANDINGS_P_2=ui,_.COLUMNS_STANDINGS_P_3=ci,_.COLUMNS_TEAMS_FAIRPLAY=hi,_.COLUMNS_TEAMS_PENALTY_KILLING=gi,_.COLUMNS_TEAMS_POWERPLAY=yi,_.COLUMNS_TEAM_ATTENDANCE=pi,_.DEFAULT_EXTERNAL_BASE_URL=gr,_.DEFAULT_EXTERNAL_PLAYER_URL=br,_.DEFAULT_EXTERNAL_TEAM_URL=wr,_.DEFAULT_PORTRAIT_IMAGE_URL=yr,_.DataTable=Se,_.ErrorNotice=Qa,_.ErrorProvider=es,_.FloatingPanel=we,_.I18NProvider=ss,_.Image=yt,_.InvalidSeasonName=Ks,_.LAZY_LOADING_STATE_DELAY=Tr,_.LOCALE_FOR_LANG=Sr,_.LoadingIndicator=ke,_.Paginator=xs,_.REFRESH_DELAY=la,_.ResponsiveTable=$e,_.SORT_STATE_ASCEND=M,_.SORT_STATE_DESCEND=b,_.SORT_STATE_ORIGINAL=ot,_.ScheduleTable=Ol,_.SeasonSelector=Dl,_.StatisticsTable=li,_.Test=Ml,_.TimezoneSelector=Ws,_.UndefinedColumn=Ct,_.VBR_API_BASE_URL=hr,_.WidgetError=Oe,_.appendTo=jr,_.baseProps=Bl,_.convert=Ni,_.convertMinToSec=Ae,_.convertSecToMin=rn,_.convertTimes=Ci,_.convertTimesSecToMin=Mi,_.createConfig=zl,_.createI18n=fr,_.externalGameLinkResolver=Ii,_.externalPlayerLinkResolver=Vi,_.externalTeamLinkResolver=zi,_.fetchVBRData=sn,_.format=Qt,_.getLocalTimezone=en,_.i18n=pr,_.isBetween=Ys,_.isSame=Hs,_.isSameOrBefore=nn,_.offsetName=Lt,_.playerName=Di,_.playerStatsProps=Il,_.rawConvert=vi,_.sortGames=Bi,_.stringPadLeft=_e,_.teamStatsProps=mn,_.toKebabCase=Fr,_.upperCase=Li,_.useColumns=Ee,_.useError=Te,_.useErrorProvider=Hr,_.useI18n=it,_.useLazyLoadingState=Ge,_.useMainClass=rt,_.usePage=_i,_.useServices=Ti,_.useSort=Pi,_.useVisibilityChange=xi,_.validateColumnsName=on,Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}),_}({},Vue);
22
+ ***************************************************************************** */function ln(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var o,s,a=r.call(t),i=[];try{for(;(e===void 0||e-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(l){s={error:l}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(s)throw s.error}}return i}var cn;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(cn||(cn={}));var ki={type:"xstate.init"};function Pe(t){return t===void 0?[]:[].concat(t)}function un(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 Ne(t){return function(e){return t===e}}function $i(t){return typeof t=="string"?{type:t}:t}function dn(t,e){return{value:t,context:e,actions:[],changed:!1,matches:Ne(t)}}function fn(t,e,r){var o=e,s=!1;return[t.filter(function(a){if(a.type==="xstate.assign"){s=!0;var i=Object.assign({},o);return typeof a.assignment=="function"?i=a.assignment(o,r):Object.keys(a.assignment).forEach(function(l){i[l]=typeof a.assignment[l]=="function"?a.assignment[l](o,r):a.assignment[l]}),o=i,!1}return!0}),o,s]}function Ai(t,e){e===void 0&&(e={});var r=ln(fn(Pe(t.states[t.initial].entry).map(function(i){return un(i,e.actions)}),t.context,ki),2),o=r[0],s=r[1],a={config:t,_options:e,initialState:{value:t.initial,actions:o,context:s,matches:Ne(t.initial)},transition:function(i,l){var c,u,p=typeof i=="string"?{value:i,context:t.context}:i,m=p.value,d=p.context,f=$i(l),h=t.states[m];if(h.on){var g=Pe(h.on[f.type]);try{for(var y=function(w){var P=typeof Symbol=="function"&&Symbol.iterator,x=P&&w[P],C=0;if(x)return x.call(w);if(w&&typeof w.length=="number")return{next:function(){return w&&C>=w.length&&(w=void 0),{value:w&&w[C++],done:!w}}};throw new TypeError(P?"Object is not iterable.":"Symbol.iterator is not defined.")}(g),k=y.next();!k.done;k=y.next()){var $=k.value;if($===void 0)return dn(m,d);var O=typeof $=="string"?{target:$}:$,v=O.target,D=O.actions,B=D===void 0?[]:D,R=O.cond,F=R===void 0?function(){return!0}:R,L=v===void 0,N=v??m,I=t.states[N];if(F(d,f)){var H=ln(fn((L?Pe(B):[].concat(h.exit,B,I.entry).filter(function(w){return w})).map(function(w){return un(w,a._options.actions)}),d,f),3),E=H[0],T=H[1],_=H[2],A=v??m;return{value:A,context:T,actions:E,changed:v!==m||E.length>0||_,matches:Ne(A)}}}}catch(w){c={error:w}}finally{try{k&&!k.done&&(u=y.return)&&u.call(y)}finally{if(c)throw c.error}}}return dn(m,d)}};return a}const Ei=Ai({id:"sort",initial:ot,states:{[ot]:{on:{DIRECTION1:b,DIRECTION2:M}},[b]:{on:{DIRECTION1:M,DIRECTION2:ot}},[M]:{on:{DIRECTION1:ot,DIRECTION2:b}}}}),Oi=(t,e)=>{const r=e===M?"DIRECTION2":"DIRECTION1";return Ei.transition(t,r).value};function Pi(t={}){const{sortTarget:e=null,orders:r=[]}=t,o=n.reactive({sortTarget:e,orders:r});return{sort:o,change:({target:a,orders:i})=>{if(o.sortTarget!==a){o.sortTarget=a,o.orders=i;return}const l=i.map((c,u)=>({...c,direction:Oi(o.orders[u].direction,c.direction)}));o.sortTarget=a,o.orders=l}}}function Ni(t=!1,e=nt,r=nt){const o=Nn();n.watch(o,s=>{if(n.unref(t)){if(s==="visible")return e();r()}})}const xi=(t=[])=>({result:[...t],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.filteredRowsLength,totalItems:this.isFiltered?this.filteredRowsLength:t.length}},filter(e,r=[],o=!1){if(e){const s=r.map(i=>o?fe(cr(i),Ft(e)):fe(St(i),ra,Vo(e))),a=Je(uo([...s]),this.result);this.isFiltered=!0,this.filteredRowsLength=a.length,this.result=a}return this},sorted(e){if(!e.sortTarget)return this;if(e.orders[0].direction===ot)return this;const r=Io(Ft(M),sr(ce),sr(Oo));return this.result=ur(e.orders.map(o=>ir(r(o.direction),St)(o.target)))(this.result),this},addIndex(e=null){return this.result.reduce((r,o,s)=>{const a=r[r.length-1]||[],i=e&&a[e]===o[e];return o.index=i?a.index:s+1,o.indexClass=i?"is-duplicated":null,r.push(o),r},[]),this},addContinuousIndex(){return this.result=this.result.map((e,r)=>({...e,index:r+1})),this},pagination(e,r){e=Number(e),r=Number(r);const o=(e-1)*r,s=o+r;return this.result=this.result.slice(o,s),this},playerName(){return this.result=this.result.map(e=>({...e,name:`${e.lastName} ${e.firstName}`})),this},teamName(){return this.result=this.result.map(e=>({...e,teamName:e.team.longName})),this},schedule(e="",r="hu"){return this.result=this.result.map(o=>({...o,gameResult:`${o.homeTeamScore}-${o.awayTeamScore}`,gameDateDate:Qt(o.gameDate,"L dddd",e,r),gameDateTime:Qt(o.gameDate,"HH:mm",e,r)})),this},gameDateFilter(e){return e===null?this:(this.result=this.result.filter(r=>new Date(r.gameDate).getMonth()==e),this)},convertTimes(e=[]){return this.result=this.result.map(r=>(e.map(o=>r[o]?r[`${o}Sec`]=Ae(r[o]):r),r)),this},groupByDays(){return this.result=Mo(e=>Qt(e.gameDate,"YYYY-MM-DD"))(this.result),this}}),vi=(t,...e)=>pt(ir(...e))(t),Di=t=>({...t,...t.lastName&&{name:`${t.lastName} ${t.firstName}`}}),Li=t=>({...t,...t.team.id&&{teamName:t.team.longName}}),Ci=(t=[])=>e=>{var r;return{...e,[t]:(r=e[t])==null?void 0:r.toUpperCase()}},Mi=(t=[])=>e=>(t.map(r=>e[r]?e[`${r}Sec`]=Ae(e[r]):e),e),Bi=(t=[])=>e=>(t.map(r=>e[`${r}Min`]=rn(e[r])),e),Ii=ur([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),ce(St("id")),ce(St("gameId"))]),zi=(t,e)=>{const r=xe("gameResolver")||t;return typeof r=="function"?r(e):r?r+e:gr+e},Vi=(t,e)=>{const r=xe("teamResolver")||t;return typeof r=="function"?r(e):encodeURI(r?r+e:wr+e)},Ri=(t,e)=>{const r=xe("playerResolver")||t;return typeof r=="function"?r(e):encodeURI(r?r+e:br+e)},xe=(t="")=>{var e;return(e=window==null?void 0:window.__MJSZ_VBR_WIDGET__)==null?void 0:e[t]},Gi={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"},ji=n.createElementVNode("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"},null,-1),Fi=n.createElementVNode("line",{x1:"8",y1:"21",x2:"16",y2:"21"},null,-1),Yi=n.createElementVNode("line",{x1:"12",y1:"17",x2:"12",y2:"21"},null,-1),Hi=[ji,Fi,Yi];function Ui(t,e){return n.openBlock(),n.createElementBlock("svg",Gi,Hi)}const Wi={render:Ui},Ki={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"},Zi=n.createElementVNode("circle",{cx:"12",cy:"12",r:"1"},null,-1),qi=n.createElementVNode("circle",{cx:"12",cy:"5",r:"1"},null,-1),Xi=n.createElementVNode("circle",{cx:"12",cy:"19",r:"1"},null,-1),Ji=[Zi,qi,Xi];function Qi(t,e){return n.openBlock(),n.createElementBlock("svg",Ki,Ji)}const tl={render:Qi},el={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},rl=n.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),nl=n.createElementVNode("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"},null,-1),ol=[rl,nl];function al(t,e){return n.openBlock(),n.createElementBlock("svg",el,ol)}const sl={render:al},il={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},ll=n.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),cl=n.createElementVNode("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"},null,-1),ul=[ll,cl];function dl(t,e){return n.openBlock(),n.createElementBlock("svg",il,ul)}const fl={render:dl},ml={class:"is-team-name-long"},pl={class:"is-team-name-short"},hl={class:"is-team-name-long"},gl={class:"is-team-name-short"},yl={key:0,class:"is-text-dark"},bl=["href","target"],wl={key:0,class:"label"},Sl={key:1,class:"label"},_l={key:2,class:"label"},Tl={key:1},kl=["onClick","onFocus","onBlur"],$l={class:"is-dropdown-menu"},Al=["href","target"],El={key:0},Ol=["href"],Pl={__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,r=n.ref(null),{onError:o}=Te(),{columns:s,error:a}=Ee(an,n.computed(()=>e.hideColumns),n.computed(()=>({offsetName:e.offsetName})));wn(a,()=>o(new Oe(Ct.message,{...Ct.options,cause:{column:a.value}})),{immediate:!0});const{t:i}=it();return(l,c)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createVNode($e,null,{default:n.withCtx(({el:u})=>[n.createVNode(Se,{columns:n.unref(s),rows:e.rows,"is-loading":t.isLoading,"append-to":r.value||u},{"cell-homeTeamName":n.withCtx(({row:p})=>[n.createElementVNode("span",ml,n.toDisplayString(p.homeTeam.longName),1),n.createElementVNode("span",pl,n.toDisplayString(p.homeTeam.shortName),1)]),"cell-awayTeamName":n.withCtx(({row:p})=>[n.createElementVNode("span",hl,n.toDisplayString(p.awayTeam.longName),1),n.createElementVNode("span",gl,n.toDisplayString(p.awayTeam.shortName),1)]),"cell-homeTeamLogo":n.withCtx(({row:p})=>[(n.openBlock(),n.createBlock(yt,{class:"is-logo-image is-right",key:p.homeTeam.id,src:p.homeTeam.logo},null,8,["src"]))]),"cell-awayTeamLogo":n.withCtx(({row:p})=>[(n.openBlock(),n.createBlock(yt,{class:"is-logo-image is-right",key:p.awayTeam.id,src:p.awayTeam.logo},null,8,["src"]))]),"cell-gameResult":n.withCtx(({row:p})=>[p.gameStatus===0?(n.openBlock(),n.createElementBlock("span",yl,"-:-")):(n.openBlock(),n.createElementBlock("a",{key:1,href:t.externalGameResolver(p.gameId),target:t.externalGameResolverTarget,class:n.normalizeClass({"is-text-dark":p.gameStatus!==1,"is-text-accent":p.gameStatus===1})},n.toDisplayString(p.homeTeamScore)+":"+n.toDisplayString(p.awayTeamScore),11,bl))]),"cell-gameResultType":n.withCtx(({row:p})=>[p.isOvertime?(n.openBlock(),n.createElementBlock("span",wl,n.toDisplayString(n.unref(i)("common.overtimeShort")),1)):n.createCommentVNode("",!0),p.isShootout?(n.openBlock(),n.createElementBlock("span",Sl,n.toDisplayString(n.unref(i)("common.shootoutShort")),1)):n.createCommentVNode("",!0),p.seriesStandings?(n.openBlock(),n.createElementBlock("span",_l,n.toDisplayString(p.seriesStandings),1)):n.createCommentVNode("",!0)]),"cell-broadcast":n.withCtx(({row:p})=>[p.broadcast?(n.openBlock(),n.createBlock(n.unref(Wi),{key:0})):(n.openBlock(),n.createElementBlock("span",Tl))]),"cell-location":n.withCtx(({row:p})=>{var m;return[n.createTextVNode(n.toDisplayString(((m=p.location)==null?void 0:m.locationName)??""),1)]}),"cell-more":n.withCtx(({row:p})=>[n.createVNode(we,{offset:2,placement:"left",theme:"content","append-to":u},{default:n.withCtx(({setRef:m,show:d,hide:f})=>[n.createElementVNode("button",{ref:m,onClick:n.withModifiers(d,["stop"]),onFocus:d,onBlur:f},[n.createVNode(n.unref(tl))],40,kl)]),content:n.withCtx(()=>[n.createElementVNode("ul",$l,[n.createElementVNode("li",null,[n.createElementVNode("a",{href:t.externalGameResolver(p.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[n.createVNode(n.unref(sl),{width:"14"}),n.createTextVNode(" "+n.toDisplayString(n.unref(i)("common.report")),1)],8,Al)]),p.video?(n.openBlock(),n.createElementBlock("li",El,[n.createElementVNode("a",{href:p.video,class:"is-dropdown-item",target:"_blank"},[n.createVNode(n.unref(fl),{width:"14"}),n.createTextVNode(" "+n.toDisplayString(n.unref(i)("common.video")),1)],8,Ol)])):n.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:n.withCtx(()=>[n.createVNode(ke)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),n.createElementVNode("div",{ref_key:"tooltipContainer",ref:r},null,512)],64))}},Nl={class:"g-row"},xl=["value"],vl={key:0},Dl=["onClick"],Ll={__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 r=t,{t:o}=it(),s=n.computed({get(){return r.championshipId},set(i){e("onChangeSeason",i)}});function a(i){e("onChangeSection",i)}return(i,l)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("div",Nl,[n.createElementVNode("div",null,[n.createElementVNode("label",{for:"season",class:n.normalizeClass(n.unref(rt)("label"))},n.toDisplayString(n.unref(o)("selection.season")),3),n.createVNode(De,{id:"season",modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=c=>s.value=c)},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(t.seasons,c=>(n.openBlock(),n.createElementBlock("option",{key:c.championshipId,value:c.championshipId},n.toDisplayString(c.seasonName),9,xl))),128))]),_:1},8,["modelValue"])])]),t.isSectionSelectionDisabled?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("div",vl,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(t.sections,c=>(n.openBlock(),n.createElementBlock("button",{key:c.phaseId,onClick:u=>a(c),class:n.normalizeClass([n.unref(rt)("tab-button"),{"is-active":c.sectionId===t.sectionId}])},n.toDisplayString(c.sectionName),11,Dl))),128))]))],64))}},Cl={};function Ml(t,e){return n.openBlock(),n.createElementBlock("div",null," Test-8 ")}const Bl=Ur(Cl,[["render",Ml]]),Il={locale:{type:String,default:"hu"},championshipId:{type:String,default:""},division:{type:String,default:""},apiKey:{type:String,default:""},hideColumns:{type:String,default:""}},mn={externalTeamLink:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},zl={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerLink:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1},...mn},Vl=({modules:t=[],apiKey:e,gameResolver:r,teamResolver:o,playerResolver:s})=>{if(window.__MJSZ_VBR_WIDGET__={apiKey:e,gameResolver:r,teamResolver:o,playerResolver:s},t.length===0)throw new Error("At least one module must be set");t.forEach(a=>{if(a.register)return a.register();a==null||a()})};return S.AVAILABLE_TIMEZONES_BY_COUNTRY=_r,S.BaseSelect=De,S.COLUMNS_FIELD_PLAYERS=di,S.COLUMNS_FIELD_PLAYERS_PENALTY=fi,S.COLUMNS_GOALIES=mi,S.COLUMNS_SCHEDULE=an,S.COLUMNS_SCORING_EFFICIENCY=bi,S.COLUMNS_STANDINGS_P_2=ui,S.COLUMNS_STANDINGS_P_3=ci,S.COLUMNS_TEAMS_FAIRPLAY=hi,S.COLUMNS_TEAMS_PENALTY_KILLING=gi,S.COLUMNS_TEAMS_POWERPLAY=yi,S.COLUMNS_TEAM_ATTENDANCE=pi,S.DEFAULT_EXTERNAL_BASE_URL=gr,S.DEFAULT_EXTERNAL_PLAYER_URL=br,S.DEFAULT_EXTERNAL_TEAM_URL=wr,S.DEFAULT_PORTRAIT_IMAGE_URL=yr,S.DataTable=Se,S.ErrorNotice=Qa,S.ErrorProvider=es,S.FloatingPanel=we,S.I18NProvider=ss,S.Image=yt,S.InvalidSeasonName=Ks,S.LAZY_LOADING_STATE_DELAY=Tr,S.LOCALE_FOR_LANG=Sr,S.LoadingIndicator=ke,S.Paginator=Ns,S.REFRESH_DELAY=la,S.ResponsiveTable=$e,S.SORT_STATE_ASCEND=M,S.SORT_STATE_DESCEND=b,S.SORT_STATE_ORIGINAL=ot,S.ScheduleTable=Pl,S.SeasonSelector=Ll,S.StatisticsTable=li,S.Test=Bl,S.TimezoneSelector=Ws,S.UndefinedColumn=Ct,S.VBR_API_BASE_URL=hr,S.WidgetError=Oe,S.appendTo=jr,S.baseProps=Il,S.convert=xi,S.convertMinToSec=Ae,S.convertSecToMin=rn,S.convertTimes=Mi,S.convertTimesSecToMin=Bi,S.createConfig=Vl,S.createI18n=fr,S.externalGameLinkResolver=zi,S.externalPlayerLinkResolver=Ri,S.externalTeamLinkResolver=Vi,S.fetchVBRData=sn,S.format=Qt,S.getLocalTimezone=en,S.i18n=pr,S.isBetween=Ys,S.isSame=Hs,S.isSameOrBefore=nn,S.offsetName=Lt,S.playerName=Di,S.playerStatsProps=zl,S.rawConvert=vi,S.sortGames=Ii,S.stringPadLeft=_e,S.teamName=Li,S.teamStatsProps=mn,S.toKebabCase=Fr,S.upperCase=Ci,S.useColumns=Ee,S.useError=Te,S.useErrorProvider=Hr,S.useI18n=it,S.useLazyLoadingState=Ge,S.useMainClass=rt,S.usePage=_i,S.useServices=Ti,S.useSort=Pi,S.useVisibilityChange=Ni,S.validateColumnsName=on,Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}),S}({},Vue);