@mjsz-vbr-elements/liga 2.1.0-beta.52 → 2.1.0-beta.53

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/liga
3
- * version: v2.1.0-beta.52 - 20/11/2023, 16:59:29
3
+ * version: v2.1.0-beta.53 - 20/11/2023, 18:34:30
4
4
  * (c) 2023
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
8
  var MjszVbrElementsLiga=function(Z,e,Y){"use strict";function Xa(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const a=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(r,o,a.get?a:{enumerable:!0,get:()=>t[o]})}}return r.default=t,Object.freeze(r)}const We=Xa(Y),L=t=>({}.VITE_CSS_CLASS_PREFIX||"mjsz-vbr-")+t,lt={__name:"BaseSelect",props:{modelValue:{type:[String,Number],default:null}},emits:["update:modelValue"],setup(t,{emit:r}){const o=t,a=L("base-input"),n=e.computed({get:()=>o.modelValue,set:i=>r("update:modelValue",i)});return(i,s)=>e.withDirectives((e.openBlock(),e.createElementBlock("select",{"onUpdate:modelValue":s[0]||(s[0]=l=>n.value=l),class:e.normalizeClass([e.unref(a),"is-select"])},[e.renderSlot(i.$slots,"default")],2)),[[e.vModelSelect,n.value]])}};function Br(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function ct(t){return typeof t=="function"?t():e.unref(t)}const pe=typeof window<"u",pt=()=>{},Qa=tn();function tn(){var t;return pe&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function qe(t,r=!1,o="Timeout"){return new Promise((a,n)=>{setTimeout(r?()=>n(o):a,t)})}function Ze(t,r=!1){function o(m,{flush:c="sync",deep:d=!1,timeout:u,throwOnTimeout:f}={}){let h=null;const v=[new Promise(w=>{h=e.watch(t,x=>{m(x)!==r&&(h==null||h(),w(x))},{flush:c,deep:d,immediate:!0})})];return u!=null&&v.push(qe(u,f).then(()=>ct(t)).finally(()=>h==null?void 0:h())),Promise.race(v)}function a(m,c){if(!e.isRef(m))return o(x=>x===m,c);const{flush:d="sync",deep:u=!1,timeout:f,throwOnTimeout:h}=c??{};let v=null;const w=[new Promise(x=>{v=e.watch([t,m],([T,_])=>{r!==(T===_)&&(v==null||v(),x(T))},{flush:d,deep:u,immediate:!0})})];return f!=null&&w.push(qe(f,h).then(()=>ct(t)).finally(()=>(v==null||v(),ct(t)))),Promise.race(w)}function n(m){return o(c=>!!c,m)}function i(m){return a(null,m)}function s(m){return a(void 0,m)}function l(m){return o(Number.isNaN,m)}function g(m,c){return o(d=>{const u=Array.from(d);return u.includes(m)||u.includes(ct(m))},c)}function p(m){return b(1,m)}function b(m=1,c){let d=-1;return o(()=>(d+=1,d>=m),c)}return Array.isArray(ct(t))?{toMatch:o,toContains:g,changed:p,changedTimes:b,get not(){return Ze(t,!r)}}:{toMatch:o,toBe:a,toBeTruthy:n,toBeNull:i,toBeNaN:l,toBeUndefined:s,changed:p,changedTimes:b,get not(){return Ze(t,!r)}}}function en(t){return Ze(t)}function rn(t,r,o={}){const{immediate:a=!0}=o,n=e.ref(!1);let i=null;function s(){i&&(clearTimeout(i),i=null)}function l(){n.value=!1,s()}function g(...p){s(),n.value=!0,i=setTimeout(()=>{n.value=!1,i=null,t(...p)},ct(r))}return a&&(n.value=!0,pe&&g()),Br(l),{isPending:e.readonly(n),start:g,stop:l}}function on(t,r,o){const a=e.watch(t,(...n)=>(e.nextTick(()=>a()),r(...n)),o)}function Kt(t){var r;const o=ct(t);return(r=o==null?void 0:o.$el)!=null?r:o}const Vr=pe?window:void 0,an=pe?window.document:void 0;function me(...t){let r,o,a,n;if(typeof t[0]=="string"||Array.isArray(t[0])?([o,a,n]=t,r=Vr):[r,o,a,n]=t,!r)return pt;Array.isArray(o)||(o=[o]),Array.isArray(a)||(a=[a]);const i=[],s=()=>{i.forEach(b=>b()),i.length=0},l=(b,m,c,d)=>(b.addEventListener(m,c,d),()=>b.removeEventListener(m,c,d)),g=e.watch(()=>[Kt(r),ct(n)],([b,m])=>{s(),b&&i.push(...o.flatMap(c=>a.map(d=>l(b,c,d,m))))},{immediate:!0,flush:"post"}),p=()=>{g(),s()};return Br(p),p}let Dr=!1;function nn(t,r,o={}){const{window:a=Vr,ignore:n=[],capture:i=!0,detectIframe:s=!1}=o;if(!a)return;Qa&&!Dr&&(Dr=!0,Array.from(a.document.body.children).forEach(b=>b.addEventListener("click",pt)));let l=!0;const g=b=>n.some(m=>{if(typeof m=="string")return Array.from(a.document.querySelectorAll(m)).some(c=>c===b.target||b.composedPath().includes(c));{const c=Kt(m);return c&&(b.target===c||b.composedPath().includes(c))}}),p=[me(a,"click",b=>{const m=Kt(t);if(!(!m||m===b.target||b.composedPath().includes(m))){if(b.detail===0&&(l=!g(b)),!l){l=!0;return}r(b)}},{passive:!0,capture:i}),me(a,"pointerdown",b=>{const m=Kt(t);m&&(l=!b.composedPath().includes(m)&&!g(b))},{passive:!0}),s&&me(a,"blur",b=>{var m;const c=Kt(t);((m=a.document.activeElement)==null?void 0:m.tagName)==="IFRAME"&&!(c!=null&&c.contains(a.document.activeElement))&&r(b)})].filter(Boolean);return()=>p.forEach(b=>b())}var sn=Object.defineProperty,ln=Object.defineProperties,cn=Object.getOwnPropertyDescriptors,Ar=Object.getOwnPropertySymbols,dn=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,$r=(t,r,o)=>r in t?sn(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,pn=(t,r)=>{for(var o in r||(r={}))dn.call(r,o)&&$r(t,o,r[o]);if(Ar)for(var o of Ar(r))gn.call(r,o)&&$r(t,o,r[o]);return t},mn=(t,r)=>ln(t,cn(r));function Ir(t,r,o){const{immediate:a=!0,delay:n=0,onError:i=pt,onSuccess:s=pt,resetOnExecute:l=!0,shallow:g=!0,throwError:p}=o??{},b=g?e.shallowRef(r):e.ref(r),m=e.ref(!1),c=e.ref(!1),d=e.shallowRef(void 0);async function u(v=0,...w){l&&(b.value=r),d.value=void 0,m.value=!1,c.value=!0,v>0&&await qe(v);const x=typeof t=="function"?t(...w):t;try{const T=await x;b.value=T,m.value=!0,s(T)}catch(T){if(d.value=T,i(T),p)throw T}finally{c.value=!1}return b.value}a&&u(n);const f={state:b,isReady:m,isLoading:c,error:d,execute:u};function h(){return new Promise((v,w)=>{en(c).toBe(!1).then(()=>v(f)).catch(w)})}return mn(pn({},f),{then(v,w){return h().then(v,w)}})}function bn({document:t=an}={}){if(!t)return e.ref("visible");const r=e.ref(t.visibilityState);return me(t,"visibilitychange",()=>{r.value=t.visibilityState}),r}var un=Object.defineProperty,Lr=Object.getOwnPropertySymbols,fn=Object.prototype.hasOwnProperty,hn=Object.prototype.propertyIsEnumerable,Mr=(t,r,o)=>r in t?un(t,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[r]=o,yn=(t,r)=>{for(var o in r||(r={}))fn.call(r,o)&&Mr(t,o,r[o]);if(Lr)for(var o of Lr(r))hn.call(r,o)&&Mr(t,o,r[o]);return t};async function vn(t){return new Promise((r,o)=>{const a=new Image,{src:n,srcset:i,sizes:s,class:l,loading:g,crossorigin:p}=t;a.src=n,i&&(a.srcset=i),s&&(a.sizes=s),l&&(a.className=l),g&&(a.loading=g),p&&(a.crossOrigin=p),a.onload=()=>r(a),a.onerror=o})}function wn(t,r={}){const o=Ir(()=>vn(ct(t)),void 0,yn({resetOnExecute:!0},r));return e.watch(()=>ct(t),()=>o.execute(r.delay),{deep:!0}),o}function Je(t=[],r={}){const{delay:o=0}=r,a=e.ref(!1),n=e.computed(()=>{const l=e.unref(t);return Array.isArray(l)?l.map(g=>e.unref(g)).some(Boolean):l}),{start:i,stop:s}=rn(()=>{a.value=!0},o);return e.watch(n,l=>{if(l)return i();s(),a.value=!1},{immediate:!0,deep:!0}),a}function M(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function W(t){return function r(o){return arguments.length===0||M(o)?r:t.apply(this,arguments)}}function R(t){return function r(o,a){switch(arguments.length){case 0:return r;case 1:return M(o)?r:W(function(n){return t(o,n)});default:return M(o)&&M(a)?r:M(o)?W(function(n){return t(n,a)}):M(a)?W(function(n){return t(o,n)}):t(o,a)}}}function be(t,r){switch(t){case 0:return function(){return r.apply(this,arguments)};case 1:return function(o){return r.apply(this,arguments)};case 2:return function(o,a){return r.apply(this,arguments)};case 3:return function(o,a,n){return r.apply(this,arguments)};case 4:return function(o,a,n,i){return r.apply(this,arguments)};case 5:return function(o,a,n,i,s){return r.apply(this,arguments)};case 6:return function(o,a,n,i,s,l){return r.apply(this,arguments)};case 7:return function(o,a,n,i,s,l,g){return r.apply(this,arguments)};case 8:return function(o,a,n,i,s,l,g,p){return r.apply(this,arguments)};case 9:return function(o,a,n,i,s,l,g,p,b){return r.apply(this,arguments)};case 10:return function(o,a,n,i,s,l,g,p,b,m){return r.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function Xe(t,r,o){return function(){for(var a=[],n=0,i=t,s=0;s<r.length||n<arguments.length;){var l;s<r.length&&(!M(r[s])||n>=arguments.length)?l=r[s]:(l=arguments[n],n+=1),a[s]=l,M(l)||(i-=1),s+=1}return i<=0?o.apply(this,a):be(i,Xe(t,a,o))}}var ue=R(function(t,r){return t===1?W(r):be(t,Xe(t,[],r))});function ht(t){return function r(o,a,n){switch(arguments.length){case 0:return r;case 1:return M(o)?r:R(function(i,s){return t(o,i,s)});case 2:return M(o)&&M(a)?r:M(o)?R(function(i,s){return t(i,a,s)}):M(a)?R(function(i,s){return t(o,i,s)}):W(function(i){return t(o,a,i)});default:return M(o)&&M(a)&&M(n)?r:M(o)&&M(a)?R(function(i,s){return t(i,s,n)}):M(o)&&M(n)?R(function(i,s){return t(i,a,s)}):M(a)&&M(n)?R(function(i,s){return t(o,i,s)}):M(o)?W(function(i){return t(i,a,n)}):M(a)?W(function(i){return t(o,i,n)}):M(n)?W(function(i){return t(o,a,i)}):t(o,a,n)}}}const fe=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function xn(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function he(t,r,o){return function(){if(arguments.length===0)return o();var a=arguments[arguments.length-1];if(!fe(a)){for(var n=0;n<t.length;){if(typeof a[t[n]]=="function")return a[t[n]].apply(a,Array.prototype.slice.call(arguments,0,-1));n+=1}if(xn(a)){var i=r.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(a)}}return o.apply(this,arguments)}}function Rr(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const Ct={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function Fr(t){for(var r=[],o;!(o=t.next()).done;)r.push(o.value);return r}function Gr(t,r,o){for(var a=0,n=o.length;a<n;){if(t(r,o[a]))return!0;a+=1}return!1}function zn(t){var r=String(t).match(/^function (\w*)/);return r==null?"":r[1]}function dt(t,r){return Object.prototype.hasOwnProperty.call(r,t)}function kn(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}const Qe=typeof Object.is=="function"?Object.is:kn;var Hr=Object.prototype.toString,Kr=function(){return Hr.call(arguments)==="[object Arguments]"?function(t){return Hr.call(t)==="[object Arguments]"}:function(t){return dt("callee",t)}}(),Sn=!{toString:null}.propertyIsEnumerable("toString"),Ur=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Yr=function(){return arguments.propertyIsEnumerable("length")}(),Nn=function(t,r){for(var o=0;o<t.length;){if(t[o]===r)return!0;o+=1}return!1},St=W(typeof Object.keys=="function"&&!Yr?function(t){return Object(t)!==t?[]:Object.keys(t)}:function(t){if(Object(t)!==t)return[];var r,o,a=[],n=Yr&&Kr(t);for(r in t)dt(r,t)&&(!n||r!=="length")&&(a[a.length]=r);if(Sn)for(o=Ur.length-1;o>=0;)r=Ur[o],dt(r,t)&&!Nn(a,r)&&(a[a.length]=r),o-=1;return a}),tr=W(function(t){return t===null?"Null":t===void 0?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});function Wr(t,r,o,a){var n=Fr(t),i=Fr(r);function s(l,g){return er(l,g,o.slice(),a.slice())}return!Gr(function(l,g){return!Gr(s,g,l)},i,n)}function er(t,r,o,a){if(Qe(t,r))return!0;var n=tr(t);if(n!==tr(r))return!1;if(typeof t["fantasy-land/equals"]=="function"||typeof r["fantasy-land/equals"]=="function")return typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](r)&&typeof r["fantasy-land/equals"]=="function"&&r["fantasy-land/equals"](t);if(typeof t.equals=="function"||typeof r.equals=="function")return typeof t.equals=="function"&&t.equals(r)&&typeof r.equals=="function"&&r.equals(t);switch(n){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&zn(t.constructor)==="Promise")return t===r;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof r&&Qe(t.valueOf(),r.valueOf())))return!1;break;case"Date":if(!Qe(t.valueOf(),r.valueOf()))return!1;break;case"Error":return t.name===r.name&&t.message===r.message;case"RegExp":if(!(t.source===r.source&&t.global===r.global&&t.ignoreCase===r.ignoreCase&&t.multiline===r.multiline&&t.sticky===r.sticky&&t.unicode===r.unicode))return!1;break}for(var i=o.length-1;i>=0;){if(o[i]===t)return a[i]===r;i-=1}switch(n){case"Map":return t.size!==r.size?!1:Wr(t.entries(),r.entries(),o.concat([t]),a.concat([r]));case"Set":return t.size!==r.size?!1:Wr(t.values(),r.values(),o.concat([t]),a.concat([r]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var s=St(t);if(s.length!==St(r).length)return!1;var l=o.concat([t]),g=a.concat([r]);for(i=s.length-1;i>=0;){var p=s[i];if(!(dt(p,r)&&er(r[p],t[p],l,g)))return!1;i-=1}return!0}var ye=R(function(t,r){return er(t,r,[],[])});function Tn(t,r,o){var a,n;if(typeof t.indexOf=="function")switch(typeof r){case"number":if(r===0){for(a=1/r;o<t.length;){if(n=t[o],n===0&&1/n===a)return o;o+=1}return-1}else if(r!==r){for(;o<t.length;){if(n=t[o],typeof n=="number"&&n!==n)return o;o+=1}return-1}return t.indexOf(r,o);case"string":case"boolean":case"function":case"undefined":return t.indexOf(r,o);case"object":if(r===null)return t.indexOf(r,o)}for(;o<t.length;){if(ye(t[o],r))return o;o+=1}return-1}function qr(t,r){return Tn(r,t,0)>=0}function ve(t,r){for(var o=0,a=r.length,n=Array(a);o<a;)n[o]=t(r[o]),o+=1;return n}function rr(t){var r=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'"'+r.replace(/"/g,'\\"')+'"'}var Ut=function(t){return(t<10?"0":"")+t},En=typeof Date.prototype.toISOString=="function"?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+Ut(t.getUTCMonth()+1)+"-"+Ut(t.getUTCDate())+"T"+Ut(t.getUTCHours())+":"+Ut(t.getUTCMinutes())+":"+Ut(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function jn(t){return function(){return!t.apply(this,arguments)}}function Zr(t,r,o){for(var a=0,n=o.length;a<n;)r=t(r,o[a]),a+=1;return r}function _n(t,r){for(var o=0,a=r.length,n=[];o<a;)t(r[o])&&(n[n.length]=r[o]),o+=1;return n}function we(t){return Object.prototype.toString.call(t)==="[object Object]"}var Pn=function(){function t(r,o){this.xf=o,this.f=r}return t.prototype["@@transducer/init"]=Ct.init,t.prototype["@@transducer/result"]=Ct.result,t.prototype["@@transducer/step"]=function(r,o){return this.f(o)?this.xf["@@transducer/step"](r,o):r},t}();function On(t){return function(r){return new Pn(t,r)}}var Jr=R(he(["fantasy-land/filter","filter"],On,function(t,r){return we(r)?Zr(function(o,a){return t(r[a])&&(o[a]=r[a]),o},{},St(r)):_n(t,r)})),Cn=R(function(t,r){return Jr(jn(t),r)});function Xr(t,r){var o=function(i){var s=r.concat([t]);return qr(i,s)?"<Circular>":Xr(i,s)},a=function(i,s){return ve(function(l){return rr(l)+": "+o(i[l])},s.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+ve(o,t).join(", ")+"))";case"[object Array]":return"["+ve(o,t).concat(a(t,Cn(function(i){return/^\d+$/.test(i)},St(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+o(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?o(NaN):rr(En(t)))+")";case"[object Map]":return"new Map("+o(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+o(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+o(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+o(t.valueOf())+")":rr(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var n=t.toString();if(n!=="[object Object]")return n}return"{"+a(t,St(t)).join(", ")+"}"}}var or=W(function(t){return Xr(t,[])}),Bn=R(function(t,r){if(t===r)return r;function o(l,g){if(l>g!=g>l)return g>l?g:l}var a=o(t,r);if(a!==void 0)return a;var n=o(typeof t,typeof r);if(n!==void 0)return n===typeof t?t:r;var i=or(t),s=o(i,or(r));return s!==void 0&&s===i?t:r}),Vn=function(){function t(r,o){this.xf=o,this.f=r}return t.prototype["@@transducer/init"]=Ct.init,t.prototype["@@transducer/result"]=Ct.result,t.prototype["@@transducer/step"]=function(r,o){return this.xf["@@transducer/step"](r,this.f(o))},t}(),Dn=function(t){return function(r){return new Vn(t,r)}},An=R(he(["fantasy-land/map","map"],Dn,function(t,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return ue(r.length,function(){return t.call(this,r.apply(this,arguments))});case"[object Object]":return Zr(function(o,a){return o[a]=t(r[a]),o},{},St(r));default:return ve(t,r)}}));const Nt=An,Qr=Number.isInteger||function(t){return t<<0===t};function xe(t){return Object.prototype.toString.call(t)==="[object String]"}var to=R(function(t,r){var o=t<0?r.length+t:t;return xe(r)?r.charAt(o):r[o]}),$n=R(function(t,r){if(r!=null)return Qr(t)?to(t,r):r[t]});const Bt=$n;var In=R(function(t,r){return Nt(Bt(t),r)}),Ln=W(function(t){return fe(t)?!0:!t||typeof t!="object"||xe(t)?!1:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),eo=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Mn(t,r,o){return function(a,n,i){if(Ln(i))return t(a,n,i);if(i==null)return n;if(typeof i["fantasy-land/reduce"]=="function")return r(a,n,i,"fantasy-land/reduce");if(i[eo]!=null)return o(a,n,i[eo]());if(typeof i.next=="function")return o(a,n,i);if(typeof i.reduce=="function")return r(a,n,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Rn(t,r,o){for(var a=0,n=o.length;a<n;){if(r=t["@@transducer/step"](r,o[a]),r&&r["@@transducer/reduced"]){r=r["@@transducer/value"];break}a+=1}return t["@@transducer/result"](r)}var Fn=R(function(t,r){return be(t.length,function(){return t.apply(r,arguments)})});function Gn(t,r,o){for(var a=o.next();!a.done;){if(r=t["@@transducer/step"](r,a.value),r&&r["@@transducer/reduced"]){r=r["@@transducer/value"];break}a=o.next()}return t["@@transducer/result"](r)}function Hn(t,r,o,a){return t["@@transducer/result"](o[a](Fn(t["@@transducer/step"],t),r))}var ro=Mn(Rn,Hn,Gn),Kn=function(){function t(r){this.f=r}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(r){return r},t.prototype["@@transducer/step"]=function(r,o){return this.f(r,o)},t}();function oo(t){return new Kn(t)}var Un=ht(function(t,r,o){return ro(typeof t=="function"?oo(t):t,r,o)});const ao=Un;var Yn=W(function(t){return function(){return t}});const no=Yn;var Wn=W(function(t){return ue(ao(Bn,0,In("length",t)),function(){for(var r=0,o=t.length;r<o;){if(t[r].apply(this,arguments))return!0;r+=1}return!1})});const qn=Wn;var Zn=ht(function(t,r,o){var a=t(r),n=t(o);return a<n?-1:a>n?1:0});const ar=Zn;function Jn(t){var r=Object.prototype.toString.call(t);return r==="[object Function]"||r==="[object AsyncFunction]"||r==="[object GeneratorFunction]"||r==="[object AsyncGeneratorFunction]"}function Xn(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 nr(t,r,o){if(o||(o=new ti),Qn(t))return t;var a=function(n){var i=o.get(t);if(i)return i;o.set(t,n);for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(n[s]=r?nr(t[s],!0,o):t[s]);return n};switch(tr(t)){case"Object":return a(Object.create(Object.getPrototypeOf(t)));case"Array":return a([]);case"Date":return new Date(t.valueOf());case"RegExp":return Xn(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 Qn(t){var r=typeof t;return t==null||r!="object"&&r!="function"}var ti=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(r,o){const a=this.hash(r);let n=this.map[a];n||(this.map[a]=n=[]),n.push([r,o]),this.length+=1},t.prototype.hash=function(r){let o=[];for(var a in r)o.push(Object.prototype.toString.call(r[a]));return o.join()},t.prototype.get=function(r){if(this.length<=180){for(const n in this.map){const i=this.map[n];for(let s=0;s<i.length;s+=1){const l=i[s];if(l[0]===r)return l[1]}}return}const o=this.hash(r),a=this.map[o];if(a)for(let n=0;n<a.length;n+=1){const i=a[n];if(i[0]===r)return i[1]}},t}();function ei(t,r){return function(){return r.call(this,t.apply(this,arguments))}}function ir(t,r){return function(){var o=arguments.length;if(o===0)return r();var a=arguments[o-1];return fe(a)||typeof a[t]!="function"?r.apply(this,arguments):a[t].apply(a,Array.prototype.slice.call(arguments,0,o-1))}}var ri=ht(ir("slice",function(t,r,o){return Array.prototype.slice.call(o,t,r)})),oi=W(ir("tail",ri(1,1/0)));const ai=oi;function sr(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return be(arguments[0].length,ao(ei,arguments[0],ai(arguments)))}var ni=W(function(t){return xe(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()});const ii=ni;function io(){if(arguments.length===0)throw new Error("compose requires at least one argument");return sr.apply(this,ii(arguments))}var si=function(){function t(r,o,a,n){this.valueFn=r,this.valueAcc=o,this.keyFn=a,this.xf=n,this.inputs={}}return t.prototype["@@transducer/init"]=Ct.init,t.prototype["@@transducer/result"]=function(r){var o;for(o in this.inputs)if(dt(o,this.inputs)&&(r=this.xf["@@transducer/step"](r,this.inputs[o]),r["@@transducer/reduced"])){r=r["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](r)},t.prototype["@@transducer/step"]=function(r,o){var a=this.keyFn(o);return this.inputs[a]=this.inputs[a]||[a,nr(this.valueAcc,!1)],this.inputs[a][1]=this.valueFn(this.inputs[a][1],o),r},t}();function li(t,r,o){return function(a){return new si(t,r,o,a)}}var ci=Xe(4,[],he([],li,function(t,r,o,a){var n=oo(function(i,s){var l=o(s),g=t(dt(l,i)?i[l]:nr(r,!1),s);return g&&g["@@transducer/reduced"]?Rr(i):(i[l]=g,i)});return ro(n,{},a)})),di=ht(function(t,r,o){var a=t(r),n=t(o);return a>n?-1:a<n?1:0});const gi=di;function pi(t){var r=Object.prototype.toString.call(t);return r==="[object Uint8ClampedArray]"||r==="[object Int8Array]"||r==="[object Uint8Array]"||r==="[object Int16Array]"||r==="[object Uint16Array]"||r==="[object Int32Array]"||r==="[object Uint32Array]"||r==="[object Float32Array]"||r==="[object Float64Array]"||r==="[object BigInt64Array]"||r==="[object BigUint64Array]"}var mi=W(function(t){return t!=null&&typeof t["fantasy-land/empty"]=="function"?t["fantasy-land/empty"]():t!=null&&t.constructor!=null&&typeof t.constructor["fantasy-land/empty"]=="function"?t.constructor["fantasy-land/empty"]():t!=null&&typeof t.empty=="function"?t.empty():t!=null&&t.constructor!=null&&typeof t.constructor.empty=="function"?t.constructor.empty():fe(t)?[]:xe(t)?"":we(t)?{}:Kr(t)?function(){return arguments}():pi(t)?t.constructor.from(""):void 0}),bi=function(){function t(r,o){this.xf=o,this.f=r,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=Ct.init,t.prototype["@@transducer/result"]=function(r){return this.found||(r=this.xf["@@transducer/step"](r,-1)),this.xf["@@transducer/result"](r)},t.prototype["@@transducer/step"]=function(r,o){return this.idx+=1,this.f(o)&&(this.found=!0,r=Rr(this.xf["@@transducer/step"](r,this.idx))),r},t}();function ui(t){return function(r){return new bi(t,r)}}var fi=R(he([],ui,function(t,r){for(var o=0,a=r.length;o<a;){if(t(r[o]))return o;o+=1}return-1}));const hi=fi;var yi=R(ir("groupBy",ci(function(t,r){return t.push(r),t},[])));const vi=yi;var wi=ht(function(t,r,o){return ue(Math.max(t.length,r.length,o.length),function(){return t.apply(this,arguments)?r.apply(this,arguments):o.apply(this,arguments)})});const xi=wi;var zi=R(qr);const ki=zi;var Si=R(function(t,r){return ue(t+1,function(){var o=arguments[t];if(o!=null&&Jn(o[r]))return o[r].apply(o,Array.prototype.slice.call(arguments,0,t));throw new TypeError(or(o)+' does not have a method named "'+r+'"')})});const so=Si;var Ni=W(function(t){return t!=null&&ye(t,mi(t))});const Ti=Ni;var Ei=R(function(t,r){return t.map(function(o){for(var a=r,n=0,i;n<o.length;){if(a==null)return;i=o[n],a=Qr(i)?to(i,a):a[i],n+=1}return a})}),ji=R(function(t,r){return Ei([t],r)[0]});const lo=ji;var _i=ht(function(t,r,o){var a={},n;r=r||{},o=o||{};for(n in r)dt(n,r)&&(a[n]=dt(n,o)?t(n,r[n],o[n]):r[n]);for(n in o)dt(n,o)&&!dt(n,a)&&(a[n]=o[n]);return a}),Pi=ht(function t(r,o,a){return _i(function(n,i,s){return we(i)&&we(s)?t(r,i,s):r(n,i,s)},o,a)}),Oi=R(function(t,r){return Pi(function(o,a,n){return n},t,r)});const Ci=Oi;var Bi=R(function(t,r){for(var o={},a={},n=0,i=t.length;n<i;)a[t[n]]=1,n+=1;for(var s in r)a.hasOwnProperty(s)||(o[s]=r[s]);return o});const Vi=Bi;var Di=ht(function(t,r,o){return t(Bt(r,o))});const Ai=Di;var $i=R(function(t,r){return Array.prototype.slice.call(r,0).sort(function(o,a){for(var n=0,i=0;n===0&&i<t.length;)n=t[i](o,a),i+=1;return n})});const co=$i;var Ii=so(1,"split");const Yt=Ii;var Li=so(0,"toLowerCase");const go=Li;var Wt=`
9
- \v\f\r                 \u2028\u2029\uFEFF`,Mi="​",Ri=typeof String.prototype.trim=="function",Fi=W(!Ri||Wt.trim()||!Mi.trim()?function(t){var r=new RegExp("^["+Wt+"]["+Wt+"]*"),o=new RegExp("["+Wt+"]["+Wt+"]*$");return t.replace(r,"").replace(o,"")}:function(t){return t.trim()});const ze=Fi,po=Symbol("I18nContext"),J=e.reactive({messages:{},locale:"",fallbackLocale:""}),Gi=({messages:t={},locale:r="",fallbackLocale:o=""})=>{J.messages=t,J.locale=r,J.fallbackLocale=o;const a=(l,g={})=>{const p=!Ti(g),b=Nt(ze,Yt(".",l));return e.computed(()=>{const m=mo(b);return p?Ki(m,g):m}).value},n=l=>{const g=Nt(ze,Yt(".",l));return!!lr(J.locale,g,J.messages)},i=l=>{J.locale=l},s={locale:e.computed({get(){return J.locale},set(l){J.locale=l}}),setLocale:i,translate:a,hasTranlation:n};return e.provide(po,s),{translate:a}},Q=t=>{t&&(J.messages=t.messages,J.locale=t.locale,J.fallbackLocale=t.fallbackLocale);const r=Hi();return{locale:r.locale,t:r.translate,setLocale:r.setLocale,hasTranlation:r.hasTranlation}},Hi=()=>{const t=e.inject(po,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},mo=(t=[])=>{let r=lr(J.locale,t,J.messages);return!r&&J.fallbackLocale&&(r=lr(J.fallbackLocale,t,J.messages)),r||t.join(".")};function lr(t,r,o){return lo([t,...r],o)}const Ki=function(t,r){return t.replace(/\{(\w+)\}/g,function(o,a){return r[a]})},Ui=e.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:r}){const o=Nt(ze,Yt(".",t.path)),a=mo(o),n=Yt(/{|}/,a),i=Object.keys(r).map(s=>{const l=n.indexOf(s);return l>-1&&(n[l]=r[s]()[0]),n});return()=>e.h(t.tag,i)}}),Yi="https://api.icehockey.hu/vbr",Wi="https://www.jegkorongszovetseg.hu/event/game/",qi="https://jegkorongszovetseg.hu/assets/images/player_blank.png",Zi="https://www.ersteliga.hu/stats/team/",yt="original",z="descend",I="ascend",Ji=new Map().set("hu","hu-hu").set("en","hu-gb"),Xi=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),Qi=1e3,ts={"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"},es=e.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),rs=[es];function os(t,r){return e.openBlock(),e.createElementBlock("svg",ts,rs)}const bo={render:os},as={"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"},ns=e.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),is=[ns];function ss(t,r){return e.openBlock(),e.createElementBlock("svg",as,is)}const ls={render:ss},cs={"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"},ds=e.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),gs=[ds];function ps(t,r){return e.openBlock(),e.createElementBlock("svg",cs,gs)}const ms={render:ps};function qt(t){return t.split("-")[1]}function cr(t){return t==="y"?"height":"width"}function Tt(t){return t.split("-")[0]}function Zt(t){return["top","bottom"].includes(Tt(t))?"x":"y"}function uo(t,r,o){let{reference:a,floating:n}=t;const i=a.x+a.width/2-n.width/2,s=a.y+a.height/2-n.height/2,l=Zt(r),g=cr(l),p=a[g]/2-n[g]/2,b=l==="x";let m;switch(Tt(r)){case"top":m={x:i,y:a.y-n.height};break;case"bottom":m={x:i,y:a.y+a.height};break;case"right":m={x:a.x+a.width,y:s};break;case"left":m={x:a.x-n.width,y:s};break;default:m={x:a.x,y:a.y}}switch(qt(r)){case"start":m[l]-=p*(o&&b?-1:1);break;case"end":m[l]+=p*(o&&b?-1:1)}return m}const bs=async(t,r,o)=>{const{placement:a="bottom",strategy:n="absolute",middleware:i=[],platform:s}=o,l=i.filter(Boolean),g=await(s.isRTL==null?void 0:s.isRTL(r));let p=await s.getElementRects({reference:t,floating:r,strategy:n}),{x:b,y:m}=uo(p,a,g),c=a,d={},u=0;for(let f=0;f<l.length;f++){const{name:h,fn:v}=l[f],{x:w,y:x,data:T,reset:_}=await v({x:b,y:m,initialPlacement:a,placement:c,strategy:n,middlewareData:d,rects:p,platform:s,elements:{reference:t,floating:r}});b=w??b,m=x??m,d={...d,[h]:{...d[h],...T}},_&&u<=50&&(u++,typeof _=="object"&&(_.placement&&(c=_.placement),_.rects&&(p=_.rects===!0?await s.getElementRects({reference:t,floating:r,strategy:n}):_.rects),{x:b,y:m}=uo(p,c,g)),f=-1)}return{x:b,y:m,placement:c,strategy:n,middlewareData:d}};function fo(t){return typeof t!="number"?function(r){return{top:0,right:0,bottom:0,left:0,...r}}(t):{top:t,right:t,bottom:t,left:t}}function ke(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function ho(t,r){var o;r===void 0&&(r={});const{x:a,y:n,platform:i,rects:s,elements:l,strategy:g}=t,{boundary:p="clippingAncestors",rootBoundary:b="viewport",elementContext:m="floating",altBoundary:c=!1,padding:d=0}=r,u=fo(d),f=l[c?m==="floating"?"reference":"floating":m],h=ke(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(f)))==null||o?f:f.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:b,strategy:g})),v=m==="floating"?{...s.floating,x:a,y:n}:s.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),x=await(i.isElement==null?void 0:i.isElement(w))&&await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1},T=ke(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:w,strategy:g}):v);return{top:(h.top-T.top+u.top)/x.y,bottom:(T.bottom-h.bottom+u.bottom)/x.y,left:(h.left-T.left+u.left)/x.x,right:(T.right-h.right+u.right)/x.x}}const us=Math.min,fs=Math.max;function dr(t,r,o){return fs(t,us(r,o))}const yo=t=>({name:"arrow",options:t,async fn(r){const{element:o,padding:a=0}=t||{},{x:n,y:i,placement:s,rects:l,platform:g,elements:p}=r;if(o==null)return{};const b=fo(a),m={x:n,y:i},c=Zt(s),d=cr(c),u=await g.getDimensions(o),f=c==="y",h=f?"top":"left",v=f?"bottom":"right",w=f?"clientHeight":"clientWidth",x=l.reference[d]+l.reference[c]-m[c]-l.floating[d],T=m[c]-l.reference[c],_=await(g.getOffsetParent==null?void 0:g.getOffsetParent(o));let V=_?_[w]:0;V&&await(g.isElement==null?void 0:g.isElement(_))||(V=p.floating[w]||l.floating[d]);const D=x/2-T/2,P=b[h],B=V-u[d]-b[v],y=V/2-u[d]/2+D,A=dr(P,y,B),G=qt(s)!=null&&y!=A&&l.reference[d]/2-(y<P?b[h]:b[v])-u[d]/2<0;return{[c]:m[c]-(G?y<P?P-y:B-y:0),data:{[c]:A,centerOffset:y-A}}}});["top","right","bottom","left"].reduce((t,r)=>t.concat(r,r+"-start",r+"-end"),[]);const hs={left:"right",right:"left",bottom:"top",top:"bottom"};function Se(t){return t.replace(/left|right|bottom|top/g,r=>hs[r])}function ys(t,r,o){o===void 0&&(o=!1);const a=qt(t),n=Zt(t),i=cr(n);let s=n==="x"?a===(o?"end":"start")?"right":"left":a==="start"?"bottom":"top";return r.reference[i]>r.floating[i]&&(s=Se(s)),{main:s,cross:Se(s)}}const vs={start:"end",end:"start"};function gr(t){return t.replace(/start|end/g,r=>vs[r])}const ws=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(r){var o;const{placement:a,middlewareData:n,rects:i,initialPlacement:s,platform:l,elements:g}=r,{mainAxis:p=!0,crossAxis:b=!0,fallbackPlacements:m,fallbackStrategy:c="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:u=!0,...f}=t,h=Tt(a),v=Tt(s)===s,w=await(l.isRTL==null?void 0:l.isRTL(g.floating)),x=m||(v||!u?[Se(s)]:function(A){const G=Se(A);return[gr(A),G,gr(G)]}(s));m||d==="none"||x.push(...function(A,G,E,N){const S=qt(A);let j=function(k,O,C){const $=["left","right"],K=["right","left"],H=["top","bottom"],q=["bottom","top"];switch(k){case"top":case"bottom":return C?O?K:$:O?$:K;case"left":case"right":return O?H:q;default:return[]}}(Tt(A),E==="start",N);return S&&(j=j.map(k=>k+"-"+S),G&&(j=j.concat(j.map(gr)))),j}(s,u,d,w));const T=[s,...x],_=await ho(r,f),V=[];let D=((o=n.flip)==null?void 0:o.overflows)||[];if(p&&V.push(_[h]),b){const{main:A,cross:G}=ys(a,i,w);V.push(_[A],_[G])}if(D=[...D,{placement:a,overflows:V}],!V.every(A=>A<=0)){var P,B;const A=(((P=n.flip)==null?void 0:P.index)||0)+1,G=T[A];if(G)return{data:{index:A,overflows:D},reset:{placement:G}};let E=(B=D.filter(N=>N.overflows[0]<=0).sort((N,S)=>N.overflows[1]-S.overflows[1])[0])==null?void 0:B.placement;if(!E)switch(c){case"bestFit":{var y;const N=(y=D.map(S=>[S.placement,S.overflows.filter(j=>j>0).reduce((j,k)=>j+k,0)]).sort((S,j)=>S[1]-j[1])[0])==null?void 0:y[0];N&&(E=N);break}case"initialPlacement":E=s}if(a!==E)return{reset:{placement:E}}}return{}}}},xs=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){const{x:o,y:a}=r,n=await async function(i,s){const{placement:l,platform:g,elements:p}=i,b=await(g.isRTL==null?void 0:g.isRTL(p.floating)),m=Tt(l),c=qt(l),d=Zt(l)==="x",u=["left","top"].includes(m)?-1:1,f=b&&d?-1:1,h=typeof s=="function"?s(i):s;let{mainAxis:v,crossAxis:w,alignmentAxis:x}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return c&&typeof x=="number"&&(w=c==="end"?-1*x:x),d?{x:w*f,y:v*u}:{x:v*u,y:w*f}}(r,t);return{x:o+n.x,y:a+n.y,data:n}}}};function zs(t){return t==="x"?"y":"x"}const ks=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(r){const{x:o,y:a,placement:n}=r,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:h=>{let{x:v,y:w}=h;return{x:v,y:w}}},...g}=t,p={x:o,y:a},b=await ho(r,g),m=Zt(Tt(n)),c=zs(m);let d=p[m],u=p[c];if(i){const h=m==="y"?"bottom":"right";d=dr(d+b[m==="y"?"top":"left"],d,d-b[h])}if(s){const h=c==="y"?"bottom":"right";u=dr(u+b[c==="y"?"top":"left"],u,u-b[h])}const f=l.fn({...r,[m]:d,[c]:u});return{...f,data:{x:f.x-o,y:f.y-a}}}}};function at(t){var r;return((r=t.ownerDocument)==null?void 0:r.defaultView)||window}function it(t){return at(t).getComputedStyle(t)}function vo(t){return t instanceof at(t).Node}function vt(t){return vo(t)?(t.nodeName||"").toLowerCase():""}function st(t){return t instanceof at(t).HTMLElement}function ot(t){return t instanceof at(t).Element}function wo(t){return typeof ShadowRoot>"u"?!1:t instanceof at(t).ShadowRoot||t instanceof ShadowRoot}function Jt(t){const{overflow:r,overflowX:o,overflowY:a,display:n}=it(t);return/auto|scroll|overlay|hidden|clip/.test(r+a+o)&&!["inline","contents"].includes(n)}function Ss(t){return["table","td","th"].includes(vt(t))}function pr(t){const r=mr(),o=it(t);return o.transform!=="none"||o.perspective!=="none"||!r&&!!o.backdropFilter&&o.backdropFilter!=="none"||!r&&!!o.filter&&o.filter!=="none"||["transform","perspective","filter"].some(a=>(o.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(o.contain||"").includes(a))}function mr(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ne(t){return["html","body","#document"].includes(vt(t))}const xo=Math.min,Xt=Math.max,Te=Math.round;function zo(t){const r=it(t);let o=parseFloat(r.width)||0,a=parseFloat(r.height)||0;const n=st(t),i=n?t.offsetWidth:o,s=n?t.offsetHeight:a,l=Te(o)!==i||Te(a)!==s;return l&&(o=i,a=s),{width:o,height:a,fallback:l}}function ko(t){return ot(t)?t:t.contextElement}const So={x:1,y:1};function Vt(t){const r=ko(t);if(!st(r))return So;const o=r.getBoundingClientRect(),{width:a,height:n,fallback:i}=zo(r);let s=(i?Te(o.width):o.width)/a,l=(i?Te(o.height):o.height)/n;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const No={x:0,y:0};function To(t,r,o){var a,n;if(r===void 0&&(r=!0),!mr())return No;const i=t?at(t):window;return!o||r&&o!==i?No:{x:((a=i.visualViewport)==null?void 0:a.offsetLeft)||0,y:((n=i.visualViewport)==null?void 0:n.offsetTop)||0}}function Et(t,r,o,a){r===void 0&&(r=!1),o===void 0&&(o=!1);const n=t.getBoundingClientRect(),i=ko(t);let s=So;r&&(a?ot(a)&&(s=Vt(a)):s=Vt(t));const l=To(i,o,a);let g=(n.left+l.x)/s.x,p=(n.top+l.y)/s.y,b=n.width/s.x,m=n.height/s.y;if(i){const c=at(i),d=a&&ot(a)?at(a):a;let u=c.frameElement;for(;u&&a&&d!==c;){const f=Vt(u),h=u.getBoundingClientRect(),v=getComputedStyle(u);h.x+=(u.clientLeft+parseFloat(v.paddingLeft))*f.x,h.y+=(u.clientTop+parseFloat(v.paddingTop))*f.y,g*=f.x,p*=f.y,b*=f.x,m*=f.y,g+=h.x,p+=h.y,u=at(u).frameElement}}return ke({width:b,height:m,x:g,y:p})}function wt(t){return((vo(t)?t.ownerDocument:t.document)||window.document).documentElement}function Ee(t){return ot(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Eo(t){return Et(wt(t)).left+Ee(t).scrollLeft}function Dt(t){if(vt(t)==="html")return t;const r=t.assignedSlot||t.parentNode||wo(t)&&t.host||wt(t);return wo(r)?r.host:r}function jo(t){const r=Dt(t);return Ne(r)?r.ownerDocument.body:st(r)&&Jt(r)?r:jo(r)}function Qt(t,r){var o;r===void 0&&(r=[]);const a=jo(t),n=a===((o=t.ownerDocument)==null?void 0:o.body),i=at(a);return n?r.concat(i,i.visualViewport||[],Jt(a)?a:[]):r.concat(a,Qt(a))}function _o(t,r,o){let a;if(r==="viewport")a=function(n,i){const s=at(n),l=wt(n),g=s.visualViewport;let p=l.clientWidth,b=l.clientHeight,m=0,c=0;if(g){p=g.width,b=g.height;const d=mr();(!d||d&&i==="fixed")&&(m=g.offsetLeft,c=g.offsetTop)}return{width:p,height:b,x:m,y:c}}(t,o);else if(r==="document")a=function(n){const i=wt(n),s=Ee(n),l=n.ownerDocument.body,g=Xt(i.scrollWidth,i.clientWidth,l.scrollWidth,l.clientWidth),p=Xt(i.scrollHeight,i.clientHeight,l.scrollHeight,l.clientHeight);let b=-s.scrollLeft+Eo(n);const m=-s.scrollTop;return it(l).direction==="rtl"&&(b+=Xt(i.clientWidth,l.clientWidth)-g),{width:g,height:p,x:b,y:m}}(wt(t));else if(ot(r))a=function(n,i){const s=Et(n,!0,i==="fixed"),l=s.top+n.clientTop,g=s.left+n.clientLeft,p=st(n)?Vt(n):{x:1,y:1};return{width:n.clientWidth*p.x,height:n.clientHeight*p.y,x:g*p.x,y:l*p.y}}(r,o);else{const n=To(t);a={...r,x:r.x-n.x,y:r.y-n.y}}return ke(a)}function Po(t,r){const o=Dt(t);return!(o===r||!ot(o)||Ne(o))&&(it(o).position==="fixed"||Po(o,r))}function Oo(t,r){return st(t)&&it(t).position!=="fixed"?r?r(t):t.offsetParent:null}function Co(t,r){const o=at(t);if(!st(t))return o;let a=Oo(t,r);for(;a&&Ss(a)&&it(a).position==="static";)a=Oo(a,r);return a&&(vt(a)==="html"||vt(a)==="body"&&it(a).position==="static"&&!pr(a))?o:a||function(n){let i=Dt(n);for(;st(i)&&!Ne(i);){if(pr(i))return i;i=Dt(i)}return null}(t)||o}function Ns(t,r,o){const a=st(r),n=wt(r),i=o==="fixed",s=Et(t,!0,i,r);let l={scrollLeft:0,scrollTop:0};const g={x:0,y:0};if(a||!a&&!i)if((vt(r)!=="body"||Jt(n))&&(l=Ee(r)),st(r)){const p=Et(r,!0,i,r);g.x=p.x+r.clientLeft,g.y=p.y+r.clientTop}else n&&(g.x=Eo(n));return{x:s.left+l.scrollLeft-g.x,y:s.top+l.scrollTop-g.y,width:s.width,height:s.height}}const Ts={getClippingRect:function(t){let{element:r,boundary:o,rootBoundary:a,strategy:n}=t;const i=o==="clippingAncestors"?function(p,b){const m=b.get(p);if(m)return m;let c=Qt(p).filter(h=>ot(h)&&vt(h)!=="body"),d=null;const u=it(p).position==="fixed";let f=u?Dt(p):p;for(;ot(f)&&!Ne(f);){const h=it(f),v=pr(f);v||h.position!=="fixed"||(d=null),(u?!v&&!d:!v&&h.position==="static"&&d&&["absolute","fixed"].includes(d.position)||Jt(f)&&!v&&Po(p,f))?c=c.filter(w=>w!==f):d=h,f=Dt(f)}return b.set(p,c),c}(r,this._c):[].concat(o),s=[...i,a],l=s[0],g=s.reduce((p,b)=>{const m=_o(r,b,n);return p.top=Xt(m.top,p.top),p.right=xo(m.right,p.right),p.bottom=xo(m.bottom,p.bottom),p.left=Xt(m.left,p.left),p},_o(r,l,n));return{width:g.right-g.left,height:g.bottom-g.top,x:g.left,y:g.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:r,offsetParent:o,strategy:a}=t;const n=st(o),i=wt(o);if(o===i)return r;let s={scrollLeft:0,scrollTop:0},l={x:1,y:1};const g={x:0,y:0};if((n||!n&&a!=="fixed")&&((vt(o)!=="body"||Jt(i))&&(s=Ee(o)),st(o))){const p=Et(o);l=Vt(o),g.x=p.x+o.clientLeft,g.y=p.y+o.clientTop}return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-s.scrollLeft*l.x+g.x,y:r.y*l.y-s.scrollTop*l.y+g.y}},isElement:ot,getDimensions:function(t){return zo(t)},getOffsetParent:Co,getDocumentElement:wt,getScale:Vt,async getElementRects(t){let{reference:r,floating:o,strategy:a}=t;const n=this.getOffsetParent||Co,i=this.getDimensions;return{reference:Ns(r,await n(o),a),floating:{x:0,y:0,...await i(o)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>it(t).direction==="rtl"};function Es(t,r,o,a){a===void 0&&(a={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:s=!0,animationFrame:l=!1}=a,g=n||i?[...ot(t)?Qt(t):t.contextElement?Qt(t.contextElement):[],...Qt(r)]:[];g.forEach(c=>{const d=!ot(c)&&c.toString().includes("V");!n||l&&!d||c.addEventListener("scroll",o,{passive:!0}),i&&c.addEventListener("resize",o)});let p,b=null;s&&(b=new ResizeObserver(()=>{o()}),ot(t)&&!l&&b.observe(t),ot(t)||!t.contextElement||l||b.observe(t.contextElement),b.observe(r));let m=l?Et(t):null;return l&&function c(){const d=Et(t);!m||d.x===m.x&&d.y===m.y&&d.width===m.width&&d.height===m.height||o(),m=d,p=requestAnimationFrame(c)}(),o(),()=>{var c;g.forEach(d=>{n&&d.removeEventListener("scroll",o),i&&d.removeEventListener("resize",o)}),(c=b)==null||c.disconnect(),b=null,l&&cancelAnimationFrame(p)}}const js=(t,r,o)=>{const a=new Map,n={platform:Ts,...o},i={...n.platform,_c:a};return bs(t,r,{...n,platform:i})},_s=(t,r="body")=>{if(!t)return;if(typeof r!="string"){r==null||r.append(t);return}const o=document.querySelector(r);o==null||o.append(t)};function Ps({middleware:t,placement:r=null,strategy:o,append:a,enabled:n}){const i=e.ref(null),s=e.ref(null),l=e.ref(null),g=e.ref(null),p=e.ref(null),b=e.ref(null),m=e.ref(null),c=e.ref(o??"absolute"),d=e.ref(null),u=()=>{!i.value||!s.value||js(i.value,s.value,{middleware:t,placement:r,strategy:o}).then(h=>{l.value=h.x,g.value=h.y,c.value=h.strategy,p.value=h.middlewareData.arrow.x,b.value=h.middlewareData.arrow.y,m.value=h.placement})};e.watch(()=>({reference:e.unref(i),floating:e.unref(s),append:e.unref(a)}),({floating:h,append:v})=>{v&&_s(h,v),u()},{flush:"post"}),e.watch(n,h=>{if(!(!i.value||!s.value)){if(!h)return f();d.value=Es(i.value,s.value,u,{})}},{flush:"post"});const f=()=>{var h;(h=d.value)==null||h.call(d),d.value=null};return{x:l,y:g,arrowX:p,arrowY:b,placement:m,reference:i,floating:s,strategy:c,update:u}}const Os=t=>{const{element:r,padding:o}=t;return{name:"arrow",options:t,fn(a){return e.isRef(r)?r.value!=null?yo({element:r.value,padding:o}).fn(a):{}:r?yo({element:r,padding:o}).fn(a):{}}}},Cs=["data-placement"],Bs={__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 r=t,o=e.ref(!1),a=e.ref(null),{x:n,y:i,arrowX:s,arrowY:l,placement:g,reference:p,floating:b,strategy:m}=Ps({placement:r.placement,middleware:[ws(),ks({padding:5}),xs(r.offset),Os({element:a,padding:5})],append:e.computed(()=>r.appendTo),enabled:o}),c=()=>{r.disabled||o.value||(o.value=!0)},d=h=>{o.value&&h&&(o.value=!1)},u=h=>{p.value=h},f={mouseenter:c,mouseleave:d,focus:c,blur:d};return nn(b,h=>{var v;(v=p.value)!=null&&v.contains(h.target)||d()}),(h,v)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(h.$slots,"default",{setRef:u,show:c,hide:d,events:f}),e.createElementVNode("div",{ref_key:"floating",ref:b,"data-placement":e.unref(g),style:e.normalizeStyle({position:e.unref(m),top:e.unref(i)?`${e.unref(i)}px`:"",left:e.unref(n)?`${e.unref(n)}px`:""})},[e.createVNode(e.Transition,{name:"transition-fade",mode:"out-in"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["floating-content",[`is-${r.theme}`]])},[e.renderSlot(h.$slots,"content",{close:d},()=>[e.createTextVNode(e.toDisplayString(t.content),1)]),e.createElementVNode("div",{ref_key:"arrowRef",ref:a,class:"is-arrow",style:e.normalizeStyle({position:e.unref(m),top:e.unref(l)?`${e.unref(l)}px`:"",left:e.unref(s)?`${e.unref(s)}px`:""})},null,4)],2)):e.createCommentVNode("",!0)]),_:3})],12,Cs)],64))}},Vs=["onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown","tabindex"],Ds={key:0},As=["colspan"],$s={key:1},Is=["colspan"],jt={__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:r}){const o=t,{isLoading:a,appendTo:n}=e.toRefs(o),i=Je(a,{delay:Qi}),{t:s}=Q(),l=L("table"),g=e.computed(()=>o.columns),p=e.computed(()=>Object.keys(o.columns).length),b=(m,c)=>{m.sortOrders&&r("sort",{target:c,orders:m.sortOrders})};return(m,c)=>(e.openBlock(),e.createElementBlock("table",{class:e.normalizeClass(e.unref(l))},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(d,u)=>(e.openBlock(),e.createBlock(Bs,{key:u,placement:"top",content:d.tooltip,disabled:!d.tooltip,"append-to":e.unref(n)},{default:e.withCtx(({setRef:f,show:h,hide:v})=>[e.createElementVNode("th",{ref_for:!0,ref:f,class:e.normalizeClass([[d.class],{"is-active":u===t.sort.sortTarget&&t.sort.orders[0].direction!==e.unref(yt),"is-sortable":d.sortOrders,"is-desc":u===t.sort.sortTarget&&t.sort.orders[0].direction===e.unref(z),"is-asc":u===t.sort.sortTarget&&t.sort.orders[0].direction===e.unref(I)}]),onMouseenter:h,onMouseleave:v,onFocus:h,onBlur:v,onClick:w=>b(d,u),onKeydown:[e.withKeys(e.withModifiers(w=>b(d,u),["prevent"]),["space"]),e.withKeys(e.withModifiers(w=>b(d,u),["prevent"]),["enter"])],tabindex:d.sortOrders?0:-1,role:"button"},[e.renderSlot(m.$slots,`header-${u}`,{column:d},()=>[e.createTextVNode(e.toDisplayString(d.label),1)]),d.sortOrders&&u!==t.sort.sortTarget?(e.openBlock(),e.createBlock(e.unref(bo),{key:0,class:"is-icon-sort"})):e.createCommentVNode("",!0),u===t.sort.sortTarget&&t.sort.orders[0].direction===e.unref(yt)?(e.openBlock(),e.createBlock(e.unref(bo),{key:1,class:"is-icon-sort"})):e.createCommentVNode("",!0),u===t.sort.sortTarget&&t.sort.orders[0].direction===e.unref(z)?(e.openBlock(),e.createBlock(e.unref(ls),{key:2,class:"is-icon-sort"})):e.createCommentVNode("",!0),u===t.sort.sortTarget&&t.sort.orders[0].direction===e.unref(I)?(e.openBlock(),e.createBlock(e.unref(ms),{key:3,class:"is-icon-sort"})):e.createCommentVNode("",!0)],42,Vs)]),_:2},1032,["content","disabled","append-to"]))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.rows,(d,u)=>(e.openBlock(),e.createElementBlock("tr",{key:u,class:e.normalizeClass(d.rowClasses)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(f,h)=>(e.openBlock(),e.createElementBlock("td",{key:h,class:e.normalizeClass([[f.class],{"is-active":h===t.sort.sortTarget&&t.sort.orders[0].direction!==e.unref(yt)}])},[e.renderSlot(m.$slots,`cell-${h}`,{row:d,prop:h},()=>[e.createTextVNode(e.toDisplayString(d[h]),1)])],2))),128))],2))),128))]),e.unref(i)&&t.rows.length===0?(e.openBlock(),e.createElementBlock("tfoot",Ds,[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:p.value},[e.renderSlot(m.$slots,"loading",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("common.loading")),1)])],8,As)])])):e.createCommentVNode("",!0),t.rows.length===0&&!e.unref(a)&&!e.unref(i)?(e.openBlock(),e.createElementBlock("tfoot",$s,[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:p.value},[e.renderSlot(m.$slots,"empty",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("common.noData")),1)])],8,Is)])])):e.createCommentVNode("",!0)],2))}},Ls={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"},Ms=e.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),Rs=e.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),Fs=e.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1),Gs=[Ms,Rs,Fs];function Hs(t,r){return e.openBlock(),e.createElementBlock("svg",Ls,Gs)}const Ks={render:Hs},te={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})}},setup(t){const r=t,{t:o,hasTranlation:a}=Q(),n=L("error-notice"),i=e.computed(()=>{var s;return a(`errors.${r.error.key}`)?o(`errors.${r.error.key}`,r.error.cause):`${r.error.key}: ${(s=r.error)==null?void 0:s.message}`});return(s,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(n))},[e.createVNode(e.unref(Ks),{class:"icon",width:"20",height:"20"}),e.createElementVNode("span",null,e.toDisplayString(i.value),1)],2))}};function Us(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(r=>r.toLowerCase()).join("-")}const Bo=Symbol("ErrorProviderContext"),Ys=()=>{const t=e.ref(""),r=e.ref({}),o=a=>{console.error({error:a}),t.value=a.message||a.error.message,r.value={message:a.message,key:a.key||Us(a.message),cause:a.cause}};return e.provide(Bo,{onError:o,reset:()=>{t.value="",r.value={}}}),window.onerror=a=>{console.error("WINDOW_ONERROR:",a)},e.onErrorCaptured((a,n,i)=>{console.error("onErrorCaptured:",a,n,i)}),{hasError:e.computed(()=>t.value.length>0),message:t,error:r,onError:o}},_t=()=>{const t=Ws();return{onError:t.onError,reset:t.reset}},Ws=()=>{const t=e.inject(Bo,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},ee={__name:"ErrorProvider",setup(t){const{message:r,hasError:o,error:a}=Ys();return(n,i)=>e.renderSlot(n.$slots,"default",{message:e.unref(r),error:e.unref(a),hasError:e.unref(o)})}},qs={"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ő"},Zs={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ó"},Js={blank:"#",team:{short:"Csapat",tooltip:"Csapatnév"},game:{short:"GP",tooltip:"Mérkőzésszám"},wins:{short:"W",tooltip:"Győzelem"},draw:{short:"D",tooltip:"Döntetlen"},otw:{short:"OTW",tooltip:"Győzelem Hosszabbításban"},sow:{short:"SOW",tooltip:"Győzelem Szétlövésben"},sol:{short:"SOL",tooltip:"Vereség Szétlövésben"},otl:{short:"OTL",tooltip:"Vereség Hosszabbításban"},losses:{short:"L",tooltip:"Vereség"},goalFor:{short:"GF",tooltip:"Szerzett Gól"},goalAgainst:{short:"GA",tooltip:"Kapott Gól"},goalDiff:{short:"GD",tooltip:"Gólkülönbség"},name:{short:"Név",tooltip:"Játékosnév"},goals:{short:"G",tooltip:"Gólok"},assists:{short:"A",tooltip:"Gólpasszok"},points:{short:"P",tooltip:"Pontok"},plusMinus:{short:"+/-",tooltip:"Plussz/Minusz"},sog:{short:"S",tooltip:"Lövések"},sogPercent:{short:"S%",tooltip:"Lövés Hatékonyság"},gameName:{short:"#",tooltip:"Mérkőzés Sorszáma"},gameDate:{short:"Dátum",tooltip:"Mérkőzés Dátuma"},gameDateTime:{short:"*Idő ({offsetName})",tooltip:"Mérkőzés kezdési ideje (Zóna neve)"},homeTeam:{short:"Hazai",tooltip:"Hazai Csapat"},awayTeam:{short:"Vendég",tooltip:"Vendég Csapat"},location:{short:"Helyszín",tooltip:"Mérkőzés Helyszíne"},broadcast:{short:"TV",tooltip:"TV Közvetítés"},minorPenalties:{short:"MINOR",tooltip:"Kisbüntetés (2p)"},majorPenalties:{short:"MAJOR",tooltip:"Büntetés (5p)"},misconducts:{short:"MISC",tooltip:"Fegyelmi büntetés (10p)"},gameMisconducts:{short:"GA-MI",tooltip:"Fegyelmi büntetés (20p)"},matchPenalties:{short:"MATCH",tooltip:"Végleges kiállítások (25p)"},pim:{short:"BÜP",tooltip:"Büntetés Percek"},pimPerGame:{short:"BÜP/M",tooltip:"Mérkőzésenkénti Büntetés Percek"},gpgk:{short:"GP",tooltip:"Mérkőzésre Nevezve"},gpi:{short:"GPI",tooltip:"Mérkőzésen Játszott"},toi:{short:"TOI",tooltip:"Jégen Töltött Idő"},toiPercent:{short:"TOI%",tooltip:"Jégen Töltött Idő Százalék"},ga:{short:"GA",tooltip:"Kapott Gól"},gaa:{short:"GAA",tooltip:"Kapott Gólátlag"},sa:{short:"SA",tooltip:"Kapott Lövés"},svs:{short:"SVS",tooltip:"Védett Lövés"},svsPercent:{short:"VH%",tooltip:"Védés Hatékonyság"},homeHeader:{short:"Hazai:",tooltip:""},awayHeader:{short:"Vendég:",tooltip:""},totalHeader:{short:"Összes:",tooltip:""},homeGame:{short:"M",tooltip:"Hazai Mérkőzés"},awayGame:{short:"M",tooltip:"Vendég Mérkőzés"},totalGame:{short:"M",tooltip:"Összes Mérkőzés"},homeAttendance:{short:"Nézőszám",tooltip:"Hazai Néző"},awayAttendance:{short:"Nézőszám",tooltip:"Vendég Néző"},totalAttendance:{short:"Nézőszám",tooltip:"Összes Néző"},homeAttendanceAvg:{short:"Átlag",tooltip:"Hazi Néző Átlag"},awayAttendanceAvg:{short:"Átlag",tooltip:"Vendég Néző Átlag"},totalAttendanceAvg:{short:"Átlag",tooltip:"Összes Néző Átlag"},powerplayDisadvantages:{short:"DVG",tooltip:"Emberhátrányok"},dvgTime:{short:"DVG-T",tooltip:"Emberhátrányban Töltött Idő"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Szimpla emberhátrányban töltött idő"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Kettős emberhátrányban töltött idő"},ppga:{short:"PPGA",tooltip:"Emberhátrányban kapott gólok"},shgf:{short:"SHGF",tooltip:"Emberhátrányban szerzett gól"},pkPercent:{short:"PK%",tooltip:"Emberhátrány kivédekezés"},adv:{short:"ADV",tooltip:"Emberelőnyök száma"},advTime:{short:"ADV-T",tooltip:"Emberelőnyben töltött idő"},advTimePP1:{short:"ADV-T PP1",tooltip:"Szimpla emberelőnyben töltött idő"},advTimePP2:{short:"ADV-T PP2",tooltip:"Kettős emberelőnyben töltött idő"},ppgf:{short:"PPGF",tooltip:"Emberelőnyben szerzett gólok"},shga:{short:"SHGA",tooltip:"Emberelőnyben kapott gólok"},ppPercent:{short:"PP%",tooltip:"Emberelőny kihasználás"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Átlagos kapott lövésszám"},jerseyNumber:{short:"#",tooltip:"Mezszám"},row:{short:"Sor",tooltip:"Sor"},position:{short:"Po",tooltip:"Poszt"},teamOfficials:{short:"Hivatalos Személyek",tooltip:"Hivatalos Személyek"},score:{short:"Eredmény",tooltip:"Aktuális eredmény"},opponent:{short:"Ellenfél",tooltip:"Ellenfél"},result:{short:"Eredmény",tooltip:"Végeredmény"},resultType:{short:"#",tooltip:"Végeredmény típusa"}},Xs={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"}},Qs={errors:qs,common:Zs,table:Js,game:Xs},tl={"undefined-column":"The {column} column is not exists!","invalid-season-name":"Invalid season name","api-key-not-found":"API Key not found"},el={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"},rl={blank:"#",team:{short:"Team",tooltip:"Team name"},game:{short:"GP",tooltip:"Game Played"},wins:{short:"W",tooltip:"Wins"},draw:{short:"D",tooltip:"Draw"},otw:{short:"OTW",tooltip:"Overtime Wins"},sow:{short:"SOW",tooltip:"Shoot Out Wins"},sol:{short:"SOL",tooltip:"Shoot Out Losses"},otl:{short:"OTL",tooltip:"Overtime Losses"},losses:{short:"L",tooltip:"Losses"},goalFor:{short:"GF",tooltip:"Goals For"},goalAgainst:{short:"GA",tooltip:"Goals Against"},goalDiff:{short:"GD",tooltip:"Goal Differential"},points:{short:"P",tooltip:"Points"},name:{short:"Name",tooltip:"Player name"},goals:{short:"G",tooltip:"Goals"},assists:{short:"A",tooltip:"Assists"},plusMinus:{short:"+/-",tooltip:"Plus/Minus"},sog:{short:"S",tooltip:"Shots on Goal"},sogPercent:{short:"S%",tooltip:"Shooting percentage"},gameName:{short:"#",tooltip:"Game name"},gameDate:{short:"Date",tooltip:"Scheduled Date"},gameDateTime:{short:"*Time ({offsetName})",tooltip:"Scheduled Time (Offset Name)"},homeTeam:{short:"Home",tooltip:"Home Team"},awayTeam:{short:"Away",tooltip:"Away Team"},location:{short:"Location",tooltip:"Game Location"},broadcast:{short:"Broadcast",tooltip:"Television Broadcast"},minorPenalties:{short:"MINOR",tooltip:"Penalties Minor"},majorPenalties:{short:"MAJOR",tooltip:"Penalties Major"},misconducts:{short:"MISC",tooltip:"Penalties Misconduct"},gameMisconducts:{short:"GA-MI",tooltip:"Penalties Game Misconduct"},matchPenalties:{short:"MATCH",tooltip:"Penalties Match"},pim:{short:"PIM",tooltip:"Penalty Minutes"},pimPerGame:{short:"PIM/G",tooltip:"Penalty Minutes per Game"},gpgk:{short:"GP",tooltip:"Games Played"},gpi:{short:"GPI",tooltip:"Games Played In"},toi:{short:"TOI",tooltip:"Time On Ice"},toiPercent:{short:"TOI%",tooltip:"Time On Ice as Percentage"},ga:{short:"GA",tooltip:"Goals Against"},gaa:{short:"GAA",tooltip:"Goals Against Average"},sa:{short:"SA",tooltip:"Shots Against"},svs:{short:"SVS",tooltip:"Saves"},svsPercent:{short:"SV%",tooltip:"Save Percentage"},homeHeader:{short:"Home:",tooltip:""},awayHeader:{short:"Away:",tooltip:""},totalHeader:{short:"Total:",tooltip:""},homeGame:{short:"GP",tooltip:"Home Games Played"},awayGame:{short:"GP",tooltip:"Away Games Played"},totalGame:{short:"GP",tooltip:"Total Games Played"},homeAttendance:{short:"Att",tooltip:"Home Attendance"},awayAttendance:{short:"Att",tooltip:"Away Attendance"},totalAttendance:{short:"Att",tooltip:"Total Attendance"},homeAttendanceAvg:{short:"Avg",tooltip:"Home Average Attendance"},awayAttendanceAvg:{short:"Avg",tooltip:"Away Average Attendance"},totalAttendanceAvg:{short:"Avg",tooltip:"Total Average Attendance"},powerplayDisadvantages:{short:"DVG",tooltip:"Disadvantages (Number of Times Shorthanded)"},dvgTime:{short:"DVG-T",tooltip:"Disadvantages Time"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Disadvantages Time (Period of PP1)"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Disadvantages Time (Period of PP2)"},ppga:{short:"PPGA",tooltip:"Powerplay Goals Against"},shgf:{short:"SHGF",tooltip:"Shorthanded Goals For"},pkPercent:{short:"PK%",tooltip:"Penalty Killing Percentage"},adv:{short:"ADV",tooltip:"Advantages (Times on Powerplay)"},advTime:{short:"ADV-T",tooltip:"Advantages Time (Period of Powerplay)"},advTimePP1:{short:"ADV-T PP1",tooltip:"Advantages Time (Period of PP1)"},advTimePP2:{short:"ADV-T PP2",tooltip:"Advantages Time (Period of PP2)"},ppgf:{short:"PPGF",tooltip:"Powerplay Goals For"},shga:{short:"SHGA",tooltip:"Shorthanded Goals Against"},ppPercent:{short:"PP%",tooltip:"Powerplay Percentage"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Shots Against per Game"},jerseyNumber:{short:"#",tooltip:"Jersey Number"},row:{short:"Row",tooltip:"Row"},position:{short:"Position",tooltip:"Position"},teamOfficials:{short:"Team officials",tooltip:"Team officials"},score:{short:"Score",tooltip:"Actual Game Score"},opponent:{short:"Opponent",tooltip:"Opponent"},result:{short:"Result",tooltip:"Result"},resultType:{short:"#",tooltip:"Result Type"}},ol={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"}},al={errors:tl,common:el,table:rl,game:ol},nl=(t,r)=>{const o=t.__vccOpts||t;for(const[a,n]of r)o[a]=n;return o},il=e.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const r=Ci({hu:Qs,en:al},t.messages),{translate:o}=Gi({locale:e.computed(()=>t.locale),messages:r});return{translate:o}}});function sl(t,r,o,a,n,i){return e.renderSlot(t.$slots,"default",{t:t.translate})}const At=nl(il,[["render",sl]]),ll=["src"],cl=["src","title"],nt=Object.assign({inheritAttrs:!1},{__name:"Image",props:{src:{type:String,default:""},title:{type:String,default:""},defaultSrc:{type:String,default:""}},setup(t){const r=t,{defaultSrc:o}=e.toRefs(r),a=e.ref({src:r.src}),{error:n,isReady:i}=wn(a,{resetOnExecute:!1,shallow:!1});return(s,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(n)&&e.unref(o)?(e.openBlock(),e.createElementBlock("img",{key:0,src:e.unref(o),class:e.normalizeClass(["is-loaded",s.$attrs.class])},null,10,ll)):e.createCommentVNode("",!0),e.unref(n)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("img",{key:1,src:a.value.src,class:e.normalizeClass([s.$attrs.class,{"is-loaded":e.unref(i)}]),title:r.title},null,10,cl))],64))}}),dl={style:{"text-align":"center"}},je={__name:"LoadingIndicator",setup(t){const{t:r}=Q();return(o,a)=>(e.openBlock(),e.createElementBlock("div",dl,e.toDisplayString(e.unref(r)("common.loading")),1))}};function gl({currentPage:t,itemsPerPage:r=20,totalItems:o,rangeLength:a=5,update:n=pt}){const i=e.computed(()=>Math.ceil(e.unref(o)/r)),s=e.computed(()=>{const b=e.unref(t)-1,m=Array.from({length:i.value},(u,f)=>f+1),c=Math.floor(a/2);let d=Math.max(b-c,0);return d+a>=i.value&&(d=Math.max(i.value-a,0)),m.slice(d,d+a)}),l=b=>{const m=e.unref(t)+b;p(m)&&n(m)},g=b=>{p(b)&&n(b)},p=b=>b<=i.value&&b>0;return{page:t,range:s,pageCount:i,goTo:g,pageStep:l}}const pl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},ml=e.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1),bl=[ml];function ul(t,r){return e.openBlock(),e.createElementBlock("svg",pl,bl)}const fl={render:ul},hl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},yl=e.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1),vl=[yl];function wl(t,r){return e.openBlock(),e.createElementBlock("svg",hl,vl)}const xl={render:wl},zl=["disabled"],kl=["disabled"],Sl={key:1,class:"is-disabled"},Nl=["disabled","onClick"],Tl={key:2,class:"is-disabled"},El=e.createElementVNode("span",null,"...",-1),jl=[El],_l=["disabled"],Pl=["disabled"],Ol={__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:r}){const o=t,a=L("paginator"),{page:n,pageCount:i,range:s,goTo:l,pageStep:g}=gl({currentPage:e.computed(()=>o.page),totalItems:e.computed(()=>o.totalItems),itemsPerPage:o.itemsPerPage,rangeLength:o.rangeLength,update:p=>r("change",p)});return(p,b)=>e.unref(i)>1?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a))},[e.createElementVNode("button",{type:"button",disabled:e.unref(n)===1,onClick:b[0]||(b[0]=m=>e.unref(g)(-1))},[e.renderSlot(p.$slots,"prev",{},()=>[e.createVNode(e.unref(fl),{class:"icon paginator-left"})])],8,zl),t.isCompact?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",disabled:e.unref(n)===1,onClick:b[1]||(b[1]=m=>e.unref(l)(1))},"1",8,kl)),t.isCompact?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Sl,"...")),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(s),m=>(e.openBlock(),e.createElementBlock("button",{type:"button",key:m,class:e.normalizeClass({"is-active":m===e.unref(n)}),disabled:m===e.unref(n),onClick:c=>e.unref(l)(m)},e.toDisplayString(m),11,Nl))),128)),t.isCompact?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Tl,jl)),t.isCompact?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:3,type:"button",disabled:e.unref(n)===e.unref(i),onClick:b[2]||(b[2]=m=>e.unref(l)(e.unref(i)))},e.toDisplayString(e.unref(i)),9,_l)),e.createElementVNode("button",{type:"button",disabled:e.unref(n)===e.unref(i),onClick:b[3]||(b[3]=e.withModifiers(m=>e.unref(g)(1),["prevent"]))},[e.renderSlot(p.$slots,"next",{},()=>[e.createVNode(e.unref(xl),{class:"icon paginator-left"})])],8,Pl)],2)):e.createCommentVNode("",!0)}},mt={__name:"ResponsiveTable",setup(t){const r=e.ref(null),o=L("table-responsive");return(a,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"el",ref:r,class:e.normalizeClass(e.unref(o))},[e.renderSlot(a.$slots,"default",{el:r.value})],2))}};var xt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Vo={exports:{}};(function(t,r){(function(o,a){t.exports=a()})(xt,function(){var o=1e3,a=6e4,n=36e5,i="millisecond",s="second",l="minute",g="hour",p="day",b="week",m="month",c="quarter",d="year",u="date",f="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(E){var N=["th","st","nd","rd"],S=E%100;return"["+E+(N[(S-20)%10]||N[S]||N[0])+"]"}},x=function(E,N,S){var j=String(E);return!j||j.length>=N?E:""+Array(N+1-j.length).join(S)+E},T={s:x,z:function(E){var N=-E.utcOffset(),S=Math.abs(N),j=Math.floor(S/60),k=S%60;return(N<=0?"+":"-")+x(j,2,"0")+":"+x(k,2,"0")},m:function E(N,S){if(N.date()<S.date())return-E(S,N);var j=12*(S.year()-N.year())+(S.month()-N.month()),k=N.clone().add(j,m),O=S-k<0,C=N.clone().add(j+(O?-1:1),m);return+(-(j+(S-k)/(O?k-C:C-k))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:m,y:d,w:b,d:p,D:u,h:g,m:l,s,ms:i,Q:c}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},_="en",V={};V[_]=w;var D=function(E){return E instanceof A},P=function E(N,S,j){var k;if(!N)return _;if(typeof N=="string"){var O=N.toLowerCase();V[O]&&(k=O),S&&(V[O]=S,k=O);var C=N.split("-");if(!k&&C.length>1)return E(C[0])}else{var $=N.name;V[$]=N,k=$}return!j&&k&&(_=k),k||!j&&_},B=function(E,N){if(D(E))return E.clone();var S=typeof N=="object"?N:{};return S.date=E,S.args=arguments,new A(S)},y=T;y.l=P,y.i=D,y.w=function(E,N){return B(E,{locale:N.$L,utc:N.$u,x:N.$x,$offset:N.$offset})};var A=function(){function E(S){this.$L=P(S.locale,null,!0),this.parse(S)}var N=E.prototype;return N.parse=function(S){this.$d=function(j){var k=j.date,O=j.utc;if(k===null)return new Date(NaN);if(y.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var C=k.match(h);if(C){var $=C[2]-1||0,K=(C[7]||"0").substring(0,3);return O?new Date(Date.UTC(C[1],$,C[3]||1,C[4]||0,C[5]||0,C[6]||0,K)):new Date(C[1],$,C[3]||1,C[4]||0,C[5]||0,C[6]||0,K)}}return new Date(k)}(S),this.$x=S.x||{},this.init()},N.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()},N.$utils=function(){return y},N.isValid=function(){return this.$d.toString()!==f},N.isSame=function(S,j){var k=B(S);return this.startOf(j)<=k&&k<=this.endOf(j)},N.isAfter=function(S,j){return B(S)<this.startOf(j)},N.isBefore=function(S,j){return this.endOf(j)<B(S)},N.$g=function(S,j,k){return y.u(S)?this[j]:this.set(k,S)},N.unix=function(){return Math.floor(this.valueOf()/1e3)},N.valueOf=function(){return this.$d.getTime()},N.startOf=function(S,j){var k=this,O=!!y.u(j)||j,C=y.p(S),$=function(Ht,rt){var kt=y.w(k.$u?Date.UTC(k.$y,rt,Ht):new Date(k.$y,rt,Ht),k);return O?kt:kt.endOf(p)},K=function(Ht,rt){return y.w(k.toDate()[Ht].apply(k.toDate("s"),(O?[0,0,0,0]:[23,59,59,999]).slice(rt)),k)},H=this.$W,q=this.$M,zt=this.$D,ft="set"+(this.$u?"UTC":"");switch(C){case d:return O?$(1,0):$(31,11);case m:return O?$(1,q):$(0,q+1);case b:var de=this.$locale().weekStart||0,ge=(H<de?H+7:H)-de;return $(O?zt-ge:zt+(6-ge),q);case p:case u:return K(ft+"Hours",0);case g:return K(ft+"Minutes",1);case l:return K(ft+"Seconds",2);case s:return K(ft+"Milliseconds",3);default:return this.clone()}},N.endOf=function(S){return this.startOf(S,!1)},N.$set=function(S,j){var k,O=y.p(S),C="set"+(this.$u?"UTC":""),$=(k={},k[p]=C+"Date",k[u]=C+"Date",k[m]=C+"Month",k[d]=C+"FullYear",k[g]=C+"Hours",k[l]=C+"Minutes",k[s]=C+"Seconds",k[i]=C+"Milliseconds",k)[O],K=O===p?this.$D+(j-this.$W):j;if(O===m||O===d){var H=this.clone().set(u,1);H.$d[$](K),H.init(),this.$d=H.set(u,Math.min(this.$D,H.daysInMonth())).$d}else $&&this.$d[$](K);return this.init(),this},N.set=function(S,j){return this.clone().$set(S,j)},N.get=function(S){return this[y.p(S)]()},N.add=function(S,j){var k,O=this;S=Number(S);var C=y.p(j),$=function(q){var zt=B(O);return y.w(zt.date(zt.date()+Math.round(q*S)),O)};if(C===m)return this.set(m,this.$M+S);if(C===d)return this.set(d,this.$y+S);if(C===p)return $(1);if(C===b)return $(7);var K=(k={},k[l]=a,k[g]=n,k[s]=o,k)[C]||1,H=this.$d.getTime()+S*K;return y.w(H,this)},N.subtract=function(S,j){return this.add(-1*S,j)},N.format=function(S){var j=this,k=this.$locale();if(!this.isValid())return k.invalidDate||f;var O=S||"YYYY-MM-DDTHH:mm:ssZ",C=y.z(this),$=this.$H,K=this.$m,H=this.$M,q=k.weekdays,zt=k.months,ft=function(rt,kt,Cr,Ye){return rt&&(rt[kt]||rt(j,O))||Cr[kt].slice(0,Ye)},de=function(rt){return y.s($%12||12,rt,"0")},ge=k.meridiem||function(rt,kt,Cr){var Ye=rt<12?"AM":"PM";return Cr?Ye.toLowerCase():Ye},Ht={YY:String(this.$y).slice(-2),YYYY:this.$y,M:H+1,MM:y.s(H+1,2,"0"),MMM:ft(k.monthsShort,H,zt,3),MMMM:ft(zt,H),D:this.$D,DD:y.s(this.$D,2,"0"),d:String(this.$W),dd:ft(k.weekdaysMin,this.$W,q,2),ddd:ft(k.weekdaysShort,this.$W,q,3),dddd:q[this.$W],H:String($),HH:y.s($,2,"0"),h:de(1),hh:de(2),a:ge($,K,!0),A:ge($,K,!1),m:String(K),mm:y.s(K,2,"0"),s:String(this.$s),ss:y.s(this.$s,2,"0"),SSS:y.s(this.$ms,3,"0"),Z:C};return O.replace(v,function(rt,kt){return kt||Ht[rt]||C.replace(":","")})},N.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},N.diff=function(S,j,k){var O,C=y.p(j),$=B(S),K=($.utcOffset()-this.utcOffset())*a,H=this-$,q=y.m(this,$);return q=(O={},O[d]=q/12,O[m]=q,O[c]=q/3,O[b]=(H-K)/6048e5,O[p]=(H-K)/864e5,O[g]=H/n,O[l]=H/a,O[s]=H/o,O)[C]||H,k?q:y.a(q)},N.daysInMonth=function(){return this.endOf(m).$D},N.$locale=function(){return V[this.$L]},N.locale=function(S,j){if(!S)return this.$L;var k=this.clone(),O=P(S,j,!0);return O&&(k.$L=O),k},N.clone=function(){return y.w(this.$d,this)},N.toDate=function(){return new Date(this.valueOf())},N.toJSON=function(){return this.isValid()?this.toISOString():null},N.toISOString=function(){return this.$d.toISOString()},N.toString=function(){return this.$d.toUTCString()},E}(),G=A.prototype;return B.prototype=G,[["$ms",i],["$s",s],["$m",l],["$H",g],["$W",p],["$M",m],["$y",d],["$D",u]].forEach(function(E){G[E[1]]=function(N){return this.$g(N,E[0],E[1])}}),B.extend=function(E,N){return E.$i||(E(N,A,B),E.$i=!0),B},B.locale=P,B.isDayjs=D,B.unix=function(E){return B(1e3*E)},B.en=V[_],B.Ls=V,B.p={},B})})(Vo);var Do=Vo.exports;const X=Pt(Do);var Ao={exports:{}};(function(t,r){(function(o,a){t.exports=a()})(xt,function(){var o="minute",a=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(i,s,l){var g=s.prototype;l.utc=function(f){var h={date:f,utc:!0,args:arguments};return new s(h)},g.utc=function(f){var h=l(this.toDate(),{locale:this.$L,utc:!0});return f?h.add(this.utcOffset(),o):h},g.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var p=g.parse;g.parse=function(f){f.utc&&(this.$u=!0),this.$utils().u(f.$offset)||(this.$offset=f.$offset),p.call(this,f)};var b=g.init;g.init=function(){if(this.$u){var f=this.$d;this.$y=f.getUTCFullYear(),this.$M=f.getUTCMonth(),this.$D=f.getUTCDate(),this.$W=f.getUTCDay(),this.$H=f.getUTCHours(),this.$m=f.getUTCMinutes(),this.$s=f.getUTCSeconds(),this.$ms=f.getUTCMilliseconds()}else b.call(this)};var m=g.utcOffset;g.utcOffset=function(f,h){var v=this.$utils().u;if(v(f))return this.$u?0:v(this.$offset)?m.call(this):this.$offset;if(typeof f=="string"&&(f=function(_){_===void 0&&(_="");var V=_.match(a);if(!V)return null;var D=(""+V[0]).match(n)||["-",0,0],P=D[0],B=60*+D[1]+ +D[2];return B===0?0:P==="+"?B:-B}(f),f===null))return this;var w=Math.abs(f)<=16?60*f:f,x=this;if(h)return x.$offset=w,x.$u=f===0,x;if(f!==0){var T=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(x=this.local().add(w+T,o)).$offset=w,x.$x.$localOffset=T}else x=this.utc();return x};var c=g.format;g.format=function(f){var h=f||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,h)},g.valueOf=function(){var f=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*f},g.isUTC=function(){return!!this.$u},g.toISOString=function(){return this.toDate().toISOString()},g.toString=function(){return this.toDate().toUTCString()};var d=g.toDate;g.toDate=function(f){return f==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var u=g.diff;g.diff=function(f,h,v){if(f&&this.$u===f.$u)return u.call(this,f,h,v);var w=this.local(),x=l(f).local();return u.call(w,x,h,v)}}})})(Ao);var Cl=Ao.exports;const Bl=Pt(Cl);var $o={exports:{}};(function(t,r){(function(o,a){t.exports=a()})(xt,function(){var o={year:0,month:1,day:2,hour:3,minute:4,second:5},a={};return function(n,i,s){var l,g=function(c,d,u){u===void 0&&(u={});var f=new Date(c),h=function(v,w){w===void 0&&(w={});var x=w.timeZoneName||"short",T=v+"|"+x,_=a[T];return _||(_=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:v,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:x}),a[T]=_),_}(d,u);return h.formatToParts(f)},p=function(c,d){for(var u=g(c,d),f=[],h=0;h<u.length;h+=1){var v=u[h],w=v.type,x=v.value,T=o[w];T>=0&&(f[T]=parseInt(x,10))}var _=f[3],V=_===24?0:_,D=f[0]+"-"+f[1]+"-"+f[2]+" "+V+":"+f[4]+":"+f[5]+":000",P=+c;return(s.utc(D).valueOf()-(P-=P%1e3))/6e4},b=i.prototype;b.tz=function(c,d){c===void 0&&(c=l);var u=this.utcOffset(),f=this.toDate(),h=f.toLocaleString("en-US",{timeZone:c}),v=Math.round((f-new Date(h))/1e3/60),w=s(h).$set("millisecond",this.$ms).utcOffset(15*-Math.round(f.getTimezoneOffset()/15)-v,!0);if(d){var x=w.utcOffset();w=w.add(u-x,"minute")}return w.$x.$timezone=c,w},b.offsetName=function(c){var d=this.$x.$timezone||s.tz.guess(),u=g(this.valueOf(),d,{timeZoneName:c}).find(function(f){return f.type.toLowerCase()==="timezonename"});return u&&u.value};var m=b.startOf;b.startOf=function(c,d){if(!this.$x||!this.$x.$timezone)return m.call(this,c,d);var u=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return m.call(u,c,d).tz(this.$x.$timezone,!0)},s.tz=function(c,d,u){var f=u&&d,h=u||d||l,v=p(+s(),h);if(typeof c!="string")return s(c).tz(h);var w=function(V,D,P){var B=V-60*D*1e3,y=p(B,P);if(D===y)return[B,D];var A=p(B-=60*(y-D)*1e3,P);return y===A?[B,y]:[V-60*Math.min(y,A)*1e3,Math.max(y,A)]}(s.utc(c,f).valueOf(),v,h),x=w[0],T=w[1],_=s(x).utcOffset(T);return _.$x.$timezone=h,_},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(c){l=c}}})})($o);var Vl=$o.exports;const Dl=Pt(Vl);var Io={exports:{}};(function(t,r){(function(o,a){t.exports=a()})(xt,function(){return function(o,a){var n=a.prototype,i=n.format;n.format=function(s){var l=this,g=this.$locale();if(!this.isValid())return i.bind(this)(s);var p=this.$utils(),b=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(m){switch(m){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return g.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return g.ordinal(l.week(),"W");case"w":case"ww":return p.s(l.week(),m==="w"?1:2,"0");case"W":case"WW":return p.s(l.isoWeek(),m==="W"?1:2,"0");case"k":case"kk":return p.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 i.bind(this)(b)}}})})(Io);var Al=Io.exports;const $l=Pt(Al);var Lo={exports:{}};(function(t,r){(function(o,a){t.exports=a()})(xt,function(){return function(o,a){a.prototype.isSameOrBefore=function(n,i){return this.isSame(n,i)||this.isBefore(n,i)}}})})(Lo);var Il=Lo.exports;const Ll=Pt(Il);var Mo={exports:{}};(function(t,r){(function(o,a){t.exports=a()})(xt,function(){return function(o,a,n){a.prototype.isBetween=function(i,s,l,g){var p=n(i),b=n(s),m=(g=g||"()")[0]==="(",c=g[1]===")";return(m?this.isAfter(p,l):!this.isBefore(p,l))&&(c?this.isBefore(b,l):!this.isAfter(b,l))||(m?this.isBefore(p,l):!this.isAfter(p,l))&&(c?this.isAfter(b,l):!this.isBefore(b,l))}}})})(Mo);var Ml=Mo.exports;const Rl=Pt(Ml);var Ro={exports:{}};(function(t,r){(function(o,a){t.exports=a()})(xt,function(){var o={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(a,n,i){var s=n.prototype,l=s.format;i.en.formats=o,s.format=function(g){g===void 0&&(g="YYYY-MM-DDTHH:mm:ssZ");var p=this.$locale().formats,b=function(m,c){return m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(d,u,f){var h=f&&f.toUpperCase();return u||c[f]||o[f]||c[h].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(v,w,x){return w||x.slice(1)})})}(g,p===void 0?{}:p);return l.call(this,b)}}})})(Ro);var Fl=Ro.exports;const Gl=Pt(Fl);var Hl={exports:{}};(function(t,r){(function(o,a){t.exports=a(Do)})(xt,function(o){function a(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var n=a(o),i={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(s,l,g,p){return"néhány másodperc"+(p||l?"":"e")},m:function(s,l,g,p){return"egy perc"+(p||l?"":"e")},mm:function(s,l,g,p){return s+" perc"+(p||l?"":"e")},h:function(s,l,g,p){return"egy "+(p||l?"óra":"órája")},hh:function(s,l,g,p){return s+" "+(p||l?"óra":"órája")},d:function(s,l,g,p){return"egy "+(p||l?"nap":"napja")},dd:function(s,l,g,p){return s+" "+(p||l?"nap":"napja")},M:function(s,l,g,p){return"egy "+(p||l?"hónap":"hónapja")},MM:function(s,l,g,p){return s+" "+(p||l?"hónap":"hónapja")},y:function(s,l,g,p){return"egy "+(p||l?"év":"éve")},yy:function(s,l,g,p){return s+" "+(p||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 n.default.locale(i,null,!0),i})})(Hl),X.extend(Bl),X.extend(Dl),X.extend($l),X.extend(Gl),X.extend(Ll),X.extend(Rl);const _e=()=>X.tz.guess(),bt=(t="",r="",o="",a="hu")=>(o=o||X.tz.guess(),X(t).isValid()?X(t).tz(o).locale(a).format(r):""),$t=(t="",r="",o="hu")=>{if(!X(t).isValid())return"";r=r||X.tz.guess();const a=new Intl.DateTimeFormat(Kl(o),{timeZone:r,timeZoneName:"short"}).formatToParts(new Date(t)).find(n=>n.type==="timeZoneName");return a&&a.value},Kl=t=>Ji.get(t),Ul=t=>{const r=t.split(":");return parseInt(r[0],10)*60+parseInt(r[1],10)},Yl=t=>{const r=~~(t/60),o=~~t%60;return[r.toString().padStart(2,"0"),o.toString().padStart(2,"0")].join(":")},Wl=t=>{const r=Math.trunc(t),o=Math.round((t-r)/10*60*10);return[r.toString().padStart(2,"0"),o.toString().padStart(2,"0")].join(":")},ql=(t,r="day")=>X().isSameOrBefore(X(t),r),Zl=(t,r,o)=>X(t).isBetween(r,X(o)),Jl=["onClick"],Xl={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:r}){const o=t,{t:a}=Q(),n=L("timezone-selector"),i=e.computed(()=>$t(new Date,null,o.locale)),s=_e(),l=e.computed(()=>Array.from(Xi.values()).map(p=>({...p,isActive:$t(new Date,o.currentZone,o.locale)===$t(new Date,p.timezone,o.locale),zoneOffsetName:$t(new Date,p.timezone,o.locale)}))),g=p=>r("change",p);return(p,b)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(n))},[e.createVNode(e.unref(Ui),{path:"common.selectTimezone",tag:"span"},{timezone:e.withCtx(()=>[e.createElementVNode("a",{href:"#",onClick:b[0]||(b[0]=e.withModifiers(m=>g(e.unref(s)),["prevent"]))},e.toDisplayString(i.value),1)]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,m=>(e.openBlock(),e.createElementBlock("a",{key:m.countryLabelKey,href:"#",class:e.normalizeClass({"is-active":m.isActive}),onClick:e.withModifiers(c=>g(m.timezone),["prevent"])},e.toDisplayString(e.unref(a)(`common.${m.countryLabelKey}`))+" ("+e.toDisplayString(m.zoneOffsetName)+") ",11,Jl))),128))],2))}},Ot=(t,r="",o={})=>{const a=e.ref(""),{t:n}=Q(),i=e.computed(()=>{if(e.unref(r))try{const l=Ql(e.unref(t),e.unref(r));return Vi(l,e.unref(t))}catch(l){a.value=l}return e.unref(t)}),s=l=>({...l,...l.label&&{label:n(l.label??"",e.unref(o))},...l.tooltip&&{tooltip:n(l.tooltip??"")}});return{columns:e.computed(()=>Nt(s,i.value)),error:a}},Ql=(t,r="")=>{const o=Nt(ze,Yt(",",r)),a=St(t);if(o[0]==="")return resolve([]);const n=o.findIndex(i=>!a.includes(i));if(n>-1)throw o[n];return o};class br extends Error{constructor(r,o={}){const{key:a,cause:n}=o;super(r),this.name="WidgetError",this.key=a,this.cause=n}}const Fo={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},Pe={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}},tc={class:"is-portrait-image"},ec={class:"is-team-name-long"},rc={class:"is-team-name-short"},oc={class:"is-team-name-long"},ac={class:"is-team-name-short"},nc={class:"is-team-name-long"},ic={class:"is-team-name-short"},sc=["href"],lc={class:"is-team-name-long"},cc={class:"is-team-name-short"},dc=["href"],gc={key:0,class:"is-text-dark"},pc=["href","target"],mc={__name:"StatisticsTable",props:{columns:{type:Object,required:!0},rows:{type:Array,default:()=>[]},isLoading:{type:Boolean,deafult:!1},hideColumns:{type:String,default:""},sort:{type:Object,default:()=>({})},externalTeamResolver:{type:Function,required:!0},externalPlayerResolver:{type:Function,default:()=>{}},externalGameResolver:{type:Function,default:()=>{}},externalGameResolverTarget:{type:String,default:"_self"},isTeamLinked:{type:Boolean,default:!1},isPlayerLinked:{type:Boolean,default:!1},appendTo:{type:[Object,String],default:null},offsetName:{type:String,default:""}},emits:["sort"],setup(t,{emit:r}){const o=t,{columns:a,hideColumns:n}=e.toRefs(o),{onError:i}=_t(),{columns:s,error:l}=Ot(a,n,e.computed(()=>({offsetName:o.offsetName})));l.value&&i(new br(Fo.message,{...Fo.options,cause:{column:l.value}}));const g=p=>r("sort",p);return(p,b)=>(e.openBlock(),e.createBlock(mt,null,{default:e.withCtx(({el:m})=>[e.createVNode(jt,{columns:e.unref(s),sort:o.sort,rows:o.rows,"is-loading":t.isLoading,"append-to":t.appendTo||m,onSort:g},e.createSlots({"cell-index":e.withCtx(({row:c})=>[e.createElementVNode("span",{class:e.normalizeClass(c.indexClass)},e.toDisplayString(c.index),3)]),"cell-playerPortrait":e.withCtx(({row:c})=>[e.createElementVNode("div",tc,[(e.openBlock(),e.createBlock(nt,{key:c.player.playerId,src:c.player.picture,"default-src":e.unref(qi)},null,8,["src","default-src"]))])]),"cell-teamLogo":e.withCtx(({row:c})=>{var d,u;return[(e.openBlock(),e.createBlock(nt,{class:"is-logo-image",key:((d=c.team)==null?void 0:d.id)??c.id,src:(u=c.team)==null?void 0:u.logo},null,8,["src"]))]}),"cell-homeTeamLogo":e.withCtx(({row:c})=>{var d,u;return[(e.openBlock(),e.createBlock(nt,{class:"is-logo-image is-right",key:(d=c.homeTeam)==null?void 0:d.id,src:(u=c.homeTeam)==null?void 0:u.logo},null,8,["src"]))]}),"cell-awayTeamLogo":e.withCtx(({row:c})=>{var d,u;return[(e.openBlock(),e.createBlock(nt,{class:"is-logo-image is-right",key:(d=c.awayTeam)==null?void 0:d.id,src:(u=c.awayTeam)==null?void 0:u.logo},null,8,["src"]))]}),"cell-teamName":e.withCtx(({row:c})=>{var d,u;return[e.createElementVNode("span",ec,e.toDisplayString((d=c.team)==null?void 0:d.longName),1),e.createElementVNode("span",rc,e.toDisplayString((u=c.team)==null?void 0:u.shortName),1)]}),"cell-homeTeamName":e.withCtx(({row:c})=>{var d,u;return[e.createElementVNode("span",oc,e.toDisplayString((d=c.homeTeam)==null?void 0:d.longName),1),e.createElementVNode("span",ac,e.toDisplayString((u=c.homeTeam)==null?void 0:u.shortName),1)]}),"cell-awayTeamName":e.withCtx(({row:c})=>{var d,u;return[e.createElementVNode("span",nc,e.toDisplayString((d=c.awayTeam)==null?void 0:d.longName),1),e.createElementVNode("span",ic,e.toDisplayString((u=c.awayTeam)==null?void 0:u.shortName),1)]}),"cell-location":e.withCtx(({row:c})=>{var d;return[e.createTextVNode(e.toDisplayString(((d=c.location)==null?void 0:d.locationName)??""),1)]}),"cell-gameResult":e.withCtx(({row:c})=>[c.gameStatus===0?(e.openBlock(),e.createElementBlock("span",gc,"-:-")):(e.openBlock(),e.createElementBlock("a",{key:1,href:t.externalGameResolver(c.gameId),target:t.externalGameResolverTarget,class:e.normalizeClass({"is-text-dark":c.gameStatus!==1,"is-text-accent":c.gameStatus===1})},e.toDisplayString(c.homeTeamScore)+":"+e.toDisplayString(c.awayTeamScore),11,pc))]),loading:e.withCtx(()=>[e.createVNode(je)]),_:2},[t.isTeamLinked?{name:"cell-teamName",fn:e.withCtx(({row:c})=>{var d,u,f;return[e.createElementVNode("a",{href:t.externalTeamResolver((d=c.team)==null?void 0:d.longName),target:"_blank"},[e.createElementVNode("span",lc,e.toDisplayString((u=c.team)==null?void 0:u.longName),1),e.createElementVNode("span",cc,e.toDisplayString((f=c.team)==null?void 0:f.shortName),1)],8,sc)]}),key:"0"}:void 0,t.isPlayerLinked?{name:"cell-name",fn:e.withCtx(({row:c})=>[e.createElementVNode("a",{href:t.externalPlayerResolver(c.id),target:"_blank"},e.toDisplayString(c.name),9,dc)]),key:"1"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},bc={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gamesPlayed",direction:z}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:z},{target:"otw",direction:z}]},otw:{label:"table.otw.short",tooltip:"table.otw.tooltip",sortOrders:[{target:"otw",direction:z}]},sow:{label:"table.sow.short",tooltip:"table.sow.tooltip",sortOrders:[{target:"sow",direction:z}]},sol:{label:"table.sol.short",tooltip:"table.sol.tooltip",sortOrders:[{target:"sol",direction:z}]},otl:{label:"table.otl.short",tooltip:"table.otl.tooltip",sortOrders:[{target:"otl",direction:I}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:I}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:z}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:I}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:z}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:z},{target:"gamesPlayed",direction:I},{target:"w",direction:z},{target:"gd",direction:z},{target:"gf",direction:z}]}},Oe={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:z}]},goals:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"goals",direction:z},{target:"assists",direction:z}]},assists:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"assists",direction:z},{target:"goals",direction:z}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"points",direction:z}]},plusMinus:{label:"table.plusMinus.short",tooltip:"table.plusMinus.tooltip",sortOrders:[{target:"plusMinus",direction:z}]},shoots:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"shoots",direction:z}]},shootPercent:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"shootPercent",direction:z}]}},uc={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:z}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:z},{target:"pim",direction:z}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:z},{target:"pim",direction:z}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:z},{target:"pim",direction:z}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:z},{target:"pim",direction:z}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:z},{target:"pim",direction:z}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:z}]}},Go={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},gkd:{label:"table.gpgk.short",tooltip:"table.gpgk.tooltip",sortOrders:[{target:"gkd",direction:z}]},gpi:{label:"table.gpi.short",tooltip:"table.gpi.tooltip",sortOrders:[{target:"gpi",direction:z}]},mipMin:{label:"table.toi.short",tooltip:"table.toi.tooltip",sortOrders:[{target:"mip",direction:z}]},mipPercent:{label:"table.toiPercent.short",tooltip:"table.toiPercent.tooltip",sortOrders:[{target:"mipPercent",direction:z}]},ga:{label:"table.ga.short",tooltip:"table.ga.tooltip",sortOrders:[{target:"ga",direction:z}]},gaa:{label:"table.gaa.short",tooltip:"table.gaa.tooltip",sortOrders:[{target:"gaa",direction:z}]},sog:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"sog",direction:z}]},svs:{label:"table.svs.short",tooltip:"table.svs.tooltip",sortOrders:[{target:"svs",direction:z}]},svsPercent:{label:"table.svsPercent.short",tooltip:"table.svsPercent.tooltip",sortOrders:[{target:"svsPercent",direction:z}]}},fc={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},home:{label:"table.homeHeader.short"},homeGame:{label:"table.homeGame.short",tooltip:"table.homeGame.tooltip",sortOrders:[{target:"homeGame",direction:z}]},homeAttendance:{label:"table.homeAttendance.short",tooltip:"table.homeAttendance.tooltip",sortOrders:[{target:"homeAttendance",direction:z}]},homeAttendanceAvg:{label:"table.homeAttendanceAvg.short",tooltip:"table.homeAttendanceAvg.tooltip",sortOrders:[{target:"homeAttendanceAvg",direction:z}]},away:{label:"table.awayHeader.short"},awayGame:{label:"table.awayGame.short",tooltip:"table.awayGame.tooltip",sortOrders:[{target:"awayGame",direction:z}]},awayAttendance:{label:"table.awayAttendance.short",tooltip:"table.awayAttendance.tooltip",sortOrders:[{target:"awayAttendance",direction:z}]},awayAttendanceAvg:{label:"table.awayAttendanceAvg.short",tooltip:"table.awayAttendanceAvg.tooltip",sortOrders:[{target:"awayAttendanceAvg",direction:z}]},total:{label:"table.totalHeader.short"},totalGame:{label:"table.totalGame.short",tooltip:"table.totalGame.tooltip",sortOrders:[{target:"totalGame",direction:z}]},totalAttendance:{label:"table.totalAttendance.short",tooltip:"table.totalAttendance.tooltip",sortOrders:[{target:"totalAttendance",direction:z}]},totalAttendanceAvg:{label:"table.totalAttendanceAvg.short",tooltip:"table.totalAttendanceAvg.tooltip",sortOrders:[{target:"totalAttendanceAvg",direction:z}]}},hc={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:z}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:z},{target:"pim",direction:z}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:z},{target:"pim",direction:z}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:z},{target:"pim",direction:z}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:z},{target:"pim",direction:z}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:z},{target:"pim",direction:z}]},pimPerGame:{label:"table.pimPerGame.short",tooltip:"table.pimPerGame.tooltip",sortOrders:[{target:"pimPerGame",direction:z}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:z}]}},yc={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:z}]},dvg:{label:"table.powerplayDisadvantages.short",tooltip:"table.powerplayDisadvantages.tooltip",sortOrders:[{target:"dvg",direction:z}]},dvgTimeMin:{label:"table.dvgTime.short",tooltip:"table.dvgTime.tooltip",sortOrders:[{target:"dvgTime",direction:z}]},dvgTimePP1Min:{label:"table.dvgTimePP1.short",tooltip:"table.dvgTimePP1.tooltip",sortOrders:[{target:"dvgTimePP1",direction:z}]},dvgTimePP2Min:{label:"table.dvgTimePP2.short",tooltip:"table.dvgTimePP2.tooltip",sortOrders:[{target:"dvgTimePP2",direction:z}]},ppga:{label:"table.ppga.short",tooltip:"table.ppga.tooltip",sortOrders:[{target:"ppga",direction:z}]},shgf:{label:"table.shgf.short",tooltip:"table.shgf.tooltip",sortOrders:[{target:"shgf",direction:z}]},pkPercent:{label:"table.pkPercent.short",tooltip:"table.pkPercent.tooltip",sortOrders:[{target:"pkPercent",direction:z}]}},vc={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:z}]},adv:{label:"table.adv.short",tooltip:"table.adv.tooltip",sortOrders:[{target:"adv",direction:z}]},advTimeMin:{label:"table.advTime.short",tooltip:"table.advTime.tooltip",sortOrders:[{target:"advTime",direction:z}]},advTimePP1Min:{label:"table.advTimePP1.short",tooltip:"table.advTimePP1.tooltip",sortOrders:[{target:"advTimePP1",direction:z}]},advTimePP2Min:{label:"table.advTimePP2.short",tooltip:"table.advTimePP2.tooltip",sortOrders:[{target:"advTimePP2",direction:z}]},ppgf:{label:"table.ppgf.short",tooltip:"table.ppgf.tooltip",sortOrders:[{target:"ppgf",direction:z}]},shga:{label:"table.shga.short",tooltip:"table.shga.tooltip",sortOrders:[{target:"shga",direction:z}]},ppPercent:{label:"table.ppPercent.short",tooltip:"table.ppPercent.tooltip",sortOrders:[{target:"ppPercent",direction:z}]}},wc={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:z}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:z}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:I}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:z}]},gfPerGp:{label:"table.gfgp.short",tooltip:"table.gfgp.tooltip",sortOrders:[{target:"gfPerGp",direction:z}]},gaPerGp:{label:"table.gagp.short",tooltip:"table.gagp.tooltip",sortOrders:[{target:"gaPerGp",direction:I}]},s:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"s",direction:z}]},sa:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"sa",direction:I}]},shotsPerGp:{label:"table.sogp.short",tooltip:"table.sogp.tooltip",sortOrders:[{target:"shotsPerGp",direction:z}]},saPerGp:{label:"table.sagp.short",tooltip:"table.sagp.tooltip",sortOrders:[{target:"shotsPerGp",direction:I}]},sp:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"sp",direction:z}]}},re=async(t,r,o)=>{const a=`${Yi}${e.unref(t)}?${xc(o)}`;return new Promise((n,i)=>{fetch(a,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":zc(r)}}).then(s=>s.json()).then(s=>{if(s.error)return i(s);n(s.data)}).catch(s=>{i(s)})})},xc=t=>Object.keys(t).map(r=>r+"="+t[r]).join("&"),zc=t=>{var r;return t||((r=window.__MJSZ_VBR_WIDGET__)!=null&&r.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:{}.NODE_ENV!=="production"?"dd8adf5fdb738b3741fa579b5ede5ce69b681f62":"")},kc=(t={})=>{const{initial:r=1,items:o=[],limit:a,auto:n=!1}=t,i=e.ref(r),s=l=>ql(l,"day");return on(o,()=>{if(!n)return;const l=hi(Ai(s,"gameDate"))(e.unref(o));i.value=l===-1?1:Math.floor(l/a)+1}),{page:i,change:l=>{i.value=l}}},et=({options:t={},transform:r=n=>n,onError:o=pt,onSuccess:a=pt})=>{const{path:n,apiKey:i,params:s,resetOnExecute:l=!1,immediate:g=!1}=t,{state:p,error:b,isLoading:m,execute:c}=Ir(()=>re(n,i,e.unref(s)).then(d=>r(d)),[],{immediate:g,resetOnExecute:l,onError:o,onSuccess:a});return{state:p,error:b,isLoading:m,execute:c}};/*! *****************************************************************************
9
+ \v\f\r                 \u2028\u2029\uFEFF`,Mi="​",Ri=typeof String.prototype.trim=="function",Fi=W(!Ri||Wt.trim()||!Mi.trim()?function(t){var r=new RegExp("^["+Wt+"]["+Wt+"]*"),o=new RegExp("["+Wt+"]["+Wt+"]*$");return t.replace(r,"").replace(o,"")}:function(t){return t.trim()});const ze=Fi,po=Symbol("I18nContext"),J=e.reactive({messages:{},locale:"",fallbackLocale:""}),Gi=({messages:t={},locale:r="",fallbackLocale:o=""})=>{J.messages=t,J.locale=r,J.fallbackLocale=o;const a=(l,g={})=>{const p=!Ti(g),b=Nt(ze,Yt(".",l));return e.computed(()=>{const m=mo(b);return p?Ki(m,g):m}).value},n=l=>{const g=Nt(ze,Yt(".",l));return!!lr(J.locale,g,J.messages)},i=l=>{J.locale=l},s={locale:e.computed({get(){return J.locale},set(l){J.locale=l}}),setLocale:i,translate:a,hasTranlation:n};return e.provide(po,s),{translate:a}},Q=t=>{t&&(J.messages=t.messages,J.locale=t.locale,J.fallbackLocale=t.fallbackLocale);const r=Hi();return{locale:r.locale,t:r.translate,setLocale:r.setLocale,hasTranlation:r.hasTranlation}},Hi=()=>{const t=e.inject(po,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},mo=(t=[])=>{let r=lr(J.locale,t,J.messages);return!r&&J.fallbackLocale&&(r=lr(J.fallbackLocale,t,J.messages)),r||t.join(".")};function lr(t,r,o){return lo([t,...r],o)}const Ki=function(t,r){return t.replace(/\{(\w+)\}/g,function(o,a){return r[a]})},Ui=e.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:r}){const o=Nt(ze,Yt(".",t.path)),a=mo(o),n=Yt(/{|}/,a),i=Object.keys(r).map(s=>{const l=n.indexOf(s);return l>-1&&(n[l]=r[s]()[0]),n});return()=>e.h(t.tag,i)}}),Yi="https://api.icehockey.hu/vbr",Wi="https://www.jegkorongszovetseg.hu/event/game/",qi="https://jegkorongszovetseg.hu/assets/images/player_blank.png",Zi="https://www.ersteliga.hu/stats/team/",yt="original",z="descend",I="ascend",Ji=new Map().set("hu","hu-hu").set("en","hu-gb"),Xi=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),Qi=1e3,ts={"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"},es=e.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),rs=[es];function os(t,r){return e.openBlock(),e.createElementBlock("svg",ts,rs)}const bo={render:os},as={"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"},ns=e.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),is=[ns];function ss(t,r){return e.openBlock(),e.createElementBlock("svg",as,is)}const ls={render:ss},cs={"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"},ds=e.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),gs=[ds];function ps(t,r){return e.openBlock(),e.createElementBlock("svg",cs,gs)}const ms={render:ps};function qt(t){return t.split("-")[1]}function cr(t){return t==="y"?"height":"width"}function Tt(t){return t.split("-")[0]}function Zt(t){return["top","bottom"].includes(Tt(t))?"x":"y"}function uo(t,r,o){let{reference:a,floating:n}=t;const i=a.x+a.width/2-n.width/2,s=a.y+a.height/2-n.height/2,l=Zt(r),g=cr(l),p=a[g]/2-n[g]/2,b=l==="x";let m;switch(Tt(r)){case"top":m={x:i,y:a.y-n.height};break;case"bottom":m={x:i,y:a.y+a.height};break;case"right":m={x:a.x+a.width,y:s};break;case"left":m={x:a.x-n.width,y:s};break;default:m={x:a.x,y:a.y}}switch(qt(r)){case"start":m[l]-=p*(o&&b?-1:1);break;case"end":m[l]+=p*(o&&b?-1:1)}return m}const bs=async(t,r,o)=>{const{placement:a="bottom",strategy:n="absolute",middleware:i=[],platform:s}=o,l=i.filter(Boolean),g=await(s.isRTL==null?void 0:s.isRTL(r));let p=await s.getElementRects({reference:t,floating:r,strategy:n}),{x:b,y:m}=uo(p,a,g),c=a,d={},u=0;for(let f=0;f<l.length;f++){const{name:h,fn:v}=l[f],{x:w,y:x,data:T,reset:_}=await v({x:b,y:m,initialPlacement:a,placement:c,strategy:n,middlewareData:d,rects:p,platform:s,elements:{reference:t,floating:r}});b=w??b,m=x??m,d={...d,[h]:{...d[h],...T}},_&&u<=50&&(u++,typeof _=="object"&&(_.placement&&(c=_.placement),_.rects&&(p=_.rects===!0?await s.getElementRects({reference:t,floating:r,strategy:n}):_.rects),{x:b,y:m}=uo(p,c,g)),f=-1)}return{x:b,y:m,placement:c,strategy:n,middlewareData:d}};function fo(t){return typeof t!="number"?function(r){return{top:0,right:0,bottom:0,left:0,...r}}(t):{top:t,right:t,bottom:t,left:t}}function ke(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function ho(t,r){var o;r===void 0&&(r={});const{x:a,y:n,platform:i,rects:s,elements:l,strategy:g}=t,{boundary:p="clippingAncestors",rootBoundary:b="viewport",elementContext:m="floating",altBoundary:c=!1,padding:d=0}=r,u=fo(d),f=l[c?m==="floating"?"reference":"floating":m],h=ke(await i.getClippingRect({element:(o=await(i.isElement==null?void 0:i.isElement(f)))==null||o?f:f.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:b,strategy:g})),v=m==="floating"?{...s.floating,x:a,y:n}:s.reference,w=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),x=await(i.isElement==null?void 0:i.isElement(w))&&await(i.getScale==null?void 0:i.getScale(w))||{x:1,y:1},T=ke(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:v,offsetParent:w,strategy:g}):v);return{top:(h.top-T.top+u.top)/x.y,bottom:(T.bottom-h.bottom+u.bottom)/x.y,left:(h.left-T.left+u.left)/x.x,right:(T.right-h.right+u.right)/x.x}}const us=Math.min,fs=Math.max;function dr(t,r,o){return fs(t,us(r,o))}const yo=t=>({name:"arrow",options:t,async fn(r){const{element:o,padding:a=0}=t||{},{x:n,y:i,placement:s,rects:l,platform:g,elements:p}=r;if(o==null)return{};const b=fo(a),m={x:n,y:i},c=Zt(s),d=cr(c),u=await g.getDimensions(o),f=c==="y",h=f?"top":"left",v=f?"bottom":"right",w=f?"clientHeight":"clientWidth",x=l.reference[d]+l.reference[c]-m[c]-l.floating[d],T=m[c]-l.reference[c],_=await(g.getOffsetParent==null?void 0:g.getOffsetParent(o));let V=_?_[w]:0;V&&await(g.isElement==null?void 0:g.isElement(_))||(V=p.floating[w]||l.floating[d]);const D=x/2-T/2,P=b[h],B=V-u[d]-b[v],y=V/2-u[d]/2+D,A=dr(P,y,B),G=qt(s)!=null&&y!=A&&l.reference[d]/2-(y<P?b[h]:b[v])-u[d]/2<0;return{[c]:m[c]-(G?y<P?P-y:B-y:0),data:{[c]:A,centerOffset:y-A}}}});["top","right","bottom","left"].reduce((t,r)=>t.concat(r,r+"-start",r+"-end"),[]);const hs={left:"right",right:"left",bottom:"top",top:"bottom"};function Se(t){return t.replace(/left|right|bottom|top/g,r=>hs[r])}function ys(t,r,o){o===void 0&&(o=!1);const a=qt(t),n=Zt(t),i=cr(n);let s=n==="x"?a===(o?"end":"start")?"right":"left":a==="start"?"bottom":"top";return r.reference[i]>r.floating[i]&&(s=Se(s)),{main:s,cross:Se(s)}}const vs={start:"end",end:"start"};function gr(t){return t.replace(/start|end/g,r=>vs[r])}const ws=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(r){var o;const{placement:a,middlewareData:n,rects:i,initialPlacement:s,platform:l,elements:g}=r,{mainAxis:p=!0,crossAxis:b=!0,fallbackPlacements:m,fallbackStrategy:c="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:u=!0,...f}=t,h=Tt(a),v=Tt(s)===s,w=await(l.isRTL==null?void 0:l.isRTL(g.floating)),x=m||(v||!u?[Se(s)]:function(A){const G=Se(A);return[gr(A),G,gr(G)]}(s));m||d==="none"||x.push(...function(A,G,E,N){const S=qt(A);let j=function(k,O,C){const $=["left","right"],K=["right","left"],H=["top","bottom"],q=["bottom","top"];switch(k){case"top":case"bottom":return C?O?K:$:O?$:K;case"left":case"right":return O?H:q;default:return[]}}(Tt(A),E==="start",N);return S&&(j=j.map(k=>k+"-"+S),G&&(j=j.concat(j.map(gr)))),j}(s,u,d,w));const T=[s,...x],_=await ho(r,f),V=[];let D=((o=n.flip)==null?void 0:o.overflows)||[];if(p&&V.push(_[h]),b){const{main:A,cross:G}=ys(a,i,w);V.push(_[A],_[G])}if(D=[...D,{placement:a,overflows:V}],!V.every(A=>A<=0)){var P,B;const A=(((P=n.flip)==null?void 0:P.index)||0)+1,G=T[A];if(G)return{data:{index:A,overflows:D},reset:{placement:G}};let E=(B=D.filter(N=>N.overflows[0]<=0).sort((N,S)=>N.overflows[1]-S.overflows[1])[0])==null?void 0:B.placement;if(!E)switch(c){case"bestFit":{var y;const N=(y=D.map(S=>[S.placement,S.overflows.filter(j=>j>0).reduce((j,k)=>j+k,0)]).sort((S,j)=>S[1]-j[1])[0])==null?void 0:y[0];N&&(E=N);break}case"initialPlacement":E=s}if(a!==E)return{reset:{placement:E}}}return{}}}},xs=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){const{x:o,y:a}=r,n=await async function(i,s){const{placement:l,platform:g,elements:p}=i,b=await(g.isRTL==null?void 0:g.isRTL(p.floating)),m=Tt(l),c=qt(l),d=Zt(l)==="x",u=["left","top"].includes(m)?-1:1,f=b&&d?-1:1,h=typeof s=="function"?s(i):s;let{mainAxis:v,crossAxis:w,alignmentAxis:x}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return c&&typeof x=="number"&&(w=c==="end"?-1*x:x),d?{x:w*f,y:v*u}:{x:v*u,y:w*f}}(r,t);return{x:o+n.x,y:a+n.y,data:n}}}};function zs(t){return t==="x"?"y":"x"}const ks=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(r){const{x:o,y:a,placement:n}=r,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:h=>{let{x:v,y:w}=h;return{x:v,y:w}}},...g}=t,p={x:o,y:a},b=await ho(r,g),m=Zt(Tt(n)),c=zs(m);let d=p[m],u=p[c];if(i){const h=m==="y"?"bottom":"right";d=dr(d+b[m==="y"?"top":"left"],d,d-b[h])}if(s){const h=c==="y"?"bottom":"right";u=dr(u+b[c==="y"?"top":"left"],u,u-b[h])}const f=l.fn({...r,[m]:d,[c]:u});return{...f,data:{x:f.x-o,y:f.y-a}}}}};function at(t){var r;return((r=t.ownerDocument)==null?void 0:r.defaultView)||window}function it(t){return at(t).getComputedStyle(t)}function vo(t){return t instanceof at(t).Node}function vt(t){return vo(t)?(t.nodeName||"").toLowerCase():""}function st(t){return t instanceof at(t).HTMLElement}function ot(t){return t instanceof at(t).Element}function wo(t){return typeof ShadowRoot>"u"?!1:t instanceof at(t).ShadowRoot||t instanceof ShadowRoot}function Jt(t){const{overflow:r,overflowX:o,overflowY:a,display:n}=it(t);return/auto|scroll|overlay|hidden|clip/.test(r+a+o)&&!["inline","contents"].includes(n)}function Ss(t){return["table","td","th"].includes(vt(t))}function pr(t){const r=mr(),o=it(t);return o.transform!=="none"||o.perspective!=="none"||!r&&!!o.backdropFilter&&o.backdropFilter!=="none"||!r&&!!o.filter&&o.filter!=="none"||["transform","perspective","filter"].some(a=>(o.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(o.contain||"").includes(a))}function mr(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Ne(t){return["html","body","#document"].includes(vt(t))}const xo=Math.min,Xt=Math.max,Te=Math.round;function zo(t){const r=it(t);let o=parseFloat(r.width)||0,a=parseFloat(r.height)||0;const n=st(t),i=n?t.offsetWidth:o,s=n?t.offsetHeight:a,l=Te(o)!==i||Te(a)!==s;return l&&(o=i,a=s),{width:o,height:a,fallback:l}}function ko(t){return ot(t)?t:t.contextElement}const So={x:1,y:1};function Vt(t){const r=ko(t);if(!st(r))return So;const o=r.getBoundingClientRect(),{width:a,height:n,fallback:i}=zo(r);let s=(i?Te(o.width):o.width)/a,l=(i?Te(o.height):o.height)/n;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const No={x:0,y:0};function To(t,r,o){var a,n;if(r===void 0&&(r=!0),!mr())return No;const i=t?at(t):window;return!o||r&&o!==i?No:{x:((a=i.visualViewport)==null?void 0:a.offsetLeft)||0,y:((n=i.visualViewport)==null?void 0:n.offsetTop)||0}}function Et(t,r,o,a){r===void 0&&(r=!1),o===void 0&&(o=!1);const n=t.getBoundingClientRect(),i=ko(t);let s=So;r&&(a?ot(a)&&(s=Vt(a)):s=Vt(t));const l=To(i,o,a);let g=(n.left+l.x)/s.x,p=(n.top+l.y)/s.y,b=n.width/s.x,m=n.height/s.y;if(i){const c=at(i),d=a&&ot(a)?at(a):a;let u=c.frameElement;for(;u&&a&&d!==c;){const f=Vt(u),h=u.getBoundingClientRect(),v=getComputedStyle(u);h.x+=(u.clientLeft+parseFloat(v.paddingLeft))*f.x,h.y+=(u.clientTop+parseFloat(v.paddingTop))*f.y,g*=f.x,p*=f.y,b*=f.x,m*=f.y,g+=h.x,p+=h.y,u=at(u).frameElement}}return ke({width:b,height:m,x:g,y:p})}function wt(t){return((vo(t)?t.ownerDocument:t.document)||window.document).documentElement}function Ee(t){return ot(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Eo(t){return Et(wt(t)).left+Ee(t).scrollLeft}function Dt(t){if(vt(t)==="html")return t;const r=t.assignedSlot||t.parentNode||wo(t)&&t.host||wt(t);return wo(r)?r.host:r}function jo(t){const r=Dt(t);return Ne(r)?r.ownerDocument.body:st(r)&&Jt(r)?r:jo(r)}function Qt(t,r){var o;r===void 0&&(r=[]);const a=jo(t),n=a===((o=t.ownerDocument)==null?void 0:o.body),i=at(a);return n?r.concat(i,i.visualViewport||[],Jt(a)?a:[]):r.concat(a,Qt(a))}function _o(t,r,o){let a;if(r==="viewport")a=function(n,i){const s=at(n),l=wt(n),g=s.visualViewport;let p=l.clientWidth,b=l.clientHeight,m=0,c=0;if(g){p=g.width,b=g.height;const d=mr();(!d||d&&i==="fixed")&&(m=g.offsetLeft,c=g.offsetTop)}return{width:p,height:b,x:m,y:c}}(t,o);else if(r==="document")a=function(n){const i=wt(n),s=Ee(n),l=n.ownerDocument.body,g=Xt(i.scrollWidth,i.clientWidth,l.scrollWidth,l.clientWidth),p=Xt(i.scrollHeight,i.clientHeight,l.scrollHeight,l.clientHeight);let b=-s.scrollLeft+Eo(n);const m=-s.scrollTop;return it(l).direction==="rtl"&&(b+=Xt(i.clientWidth,l.clientWidth)-g),{width:g,height:p,x:b,y:m}}(wt(t));else if(ot(r))a=function(n,i){const s=Et(n,!0,i==="fixed"),l=s.top+n.clientTop,g=s.left+n.clientLeft,p=st(n)?Vt(n):{x:1,y:1};return{width:n.clientWidth*p.x,height:n.clientHeight*p.y,x:g*p.x,y:l*p.y}}(r,o);else{const n=To(t);a={...r,x:r.x-n.x,y:r.y-n.y}}return ke(a)}function Po(t,r){const o=Dt(t);return!(o===r||!ot(o)||Ne(o))&&(it(o).position==="fixed"||Po(o,r))}function Oo(t,r){return st(t)&&it(t).position!=="fixed"?r?r(t):t.offsetParent:null}function Co(t,r){const o=at(t);if(!st(t))return o;let a=Oo(t,r);for(;a&&Ss(a)&&it(a).position==="static";)a=Oo(a,r);return a&&(vt(a)==="html"||vt(a)==="body"&&it(a).position==="static"&&!pr(a))?o:a||function(n){let i=Dt(n);for(;st(i)&&!Ne(i);){if(pr(i))return i;i=Dt(i)}return null}(t)||o}function Ns(t,r,o){const a=st(r),n=wt(r),i=o==="fixed",s=Et(t,!0,i,r);let l={scrollLeft:0,scrollTop:0};const g={x:0,y:0};if(a||!a&&!i)if((vt(r)!=="body"||Jt(n))&&(l=Ee(r)),st(r)){const p=Et(r,!0,i,r);g.x=p.x+r.clientLeft,g.y=p.y+r.clientTop}else n&&(g.x=Eo(n));return{x:s.left+l.scrollLeft-g.x,y:s.top+l.scrollTop-g.y,width:s.width,height:s.height}}const Ts={getClippingRect:function(t){let{element:r,boundary:o,rootBoundary:a,strategy:n}=t;const i=o==="clippingAncestors"?function(p,b){const m=b.get(p);if(m)return m;let c=Qt(p).filter(h=>ot(h)&&vt(h)!=="body"),d=null;const u=it(p).position==="fixed";let f=u?Dt(p):p;for(;ot(f)&&!Ne(f);){const h=it(f),v=pr(f);v||h.position!=="fixed"||(d=null),(u?!v&&!d:!v&&h.position==="static"&&d&&["absolute","fixed"].includes(d.position)||Jt(f)&&!v&&Po(p,f))?c=c.filter(w=>w!==f):d=h,f=Dt(f)}return b.set(p,c),c}(r,this._c):[].concat(o),s=[...i,a],l=s[0],g=s.reduce((p,b)=>{const m=_o(r,b,n);return p.top=Xt(m.top,p.top),p.right=xo(m.right,p.right),p.bottom=xo(m.bottom,p.bottom),p.left=Xt(m.left,p.left),p},_o(r,l,n));return{width:g.right-g.left,height:g.bottom-g.top,x:g.left,y:g.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:r,offsetParent:o,strategy:a}=t;const n=st(o),i=wt(o);if(o===i)return r;let s={scrollLeft:0,scrollTop:0},l={x:1,y:1};const g={x:0,y:0};if((n||!n&&a!=="fixed")&&((vt(o)!=="body"||Jt(i))&&(s=Ee(o)),st(o))){const p=Et(o);l=Vt(o),g.x=p.x+o.clientLeft,g.y=p.y+o.clientTop}return{width:r.width*l.x,height:r.height*l.y,x:r.x*l.x-s.scrollLeft*l.x+g.x,y:r.y*l.y-s.scrollTop*l.y+g.y}},isElement:ot,getDimensions:function(t){return zo(t)},getOffsetParent:Co,getDocumentElement:wt,getScale:Vt,async getElementRects(t){let{reference:r,floating:o,strategy:a}=t;const n=this.getOffsetParent||Co,i=this.getDimensions;return{reference:Ns(r,await n(o),a),floating:{x:0,y:0,...await i(o)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>it(t).direction==="rtl"};function Es(t,r,o,a){a===void 0&&(a={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:s=!0,animationFrame:l=!1}=a,g=n||i?[...ot(t)?Qt(t):t.contextElement?Qt(t.contextElement):[],...Qt(r)]:[];g.forEach(c=>{const d=!ot(c)&&c.toString().includes("V");!n||l&&!d||c.addEventListener("scroll",o,{passive:!0}),i&&c.addEventListener("resize",o)});let p,b=null;s&&(b=new ResizeObserver(()=>{o()}),ot(t)&&!l&&b.observe(t),ot(t)||!t.contextElement||l||b.observe(t.contextElement),b.observe(r));let m=l?Et(t):null;return l&&function c(){const d=Et(t);!m||d.x===m.x&&d.y===m.y&&d.width===m.width&&d.height===m.height||o(),m=d,p=requestAnimationFrame(c)}(),o(),()=>{var c;g.forEach(d=>{n&&d.removeEventListener("scroll",o),i&&d.removeEventListener("resize",o)}),(c=b)==null||c.disconnect(),b=null,l&&cancelAnimationFrame(p)}}const js=(t,r,o)=>{const a=new Map,n={platform:Ts,...o},i={...n.platform,_c:a};return bs(t,r,{...n,platform:i})},_s=(t,r="body")=>{if(!t)return;if(typeof r!="string"){r==null||r.append(t);return}const o=document.querySelector(r);o==null||o.append(t)};function Ps({middleware:t,placement:r=null,strategy:o,append:a,enabled:n}){const i=e.ref(null),s=e.ref(null),l=e.ref(null),g=e.ref(null),p=e.ref(null),b=e.ref(null),m=e.ref(null),c=e.ref(o??"absolute"),d=e.ref(null),u=()=>{!i.value||!s.value||js(i.value,s.value,{middleware:t,placement:r,strategy:o}).then(h=>{l.value=h.x,g.value=h.y,c.value=h.strategy,p.value=h.middlewareData.arrow.x,b.value=h.middlewareData.arrow.y,m.value=h.placement})};e.watch(()=>({reference:e.unref(i),floating:e.unref(s),append:e.unref(a)}),({floating:h,append:v})=>{v&&_s(h,v),u()},{flush:"post"}),e.watch(n,h=>{if(!(!i.value||!s.value)){if(!h)return f();d.value=Es(i.value,s.value,u,{})}},{flush:"post"});const f=()=>{var h;(h=d.value)==null||h.call(d),d.value=null};return{x:l,y:g,arrowX:p,arrowY:b,placement:m,reference:i,floating:s,strategy:c,update:u}}const Os=t=>{const{element:r,padding:o}=t;return{name:"arrow",options:t,fn(a){return e.isRef(r)?r.value!=null?yo({element:r.value,padding:o}).fn(a):{}:r?yo({element:r,padding:o}).fn(a):{}}}},Cs=["data-placement"],Bs={__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 r=t,o=e.ref(!1),a=e.ref(null),{x:n,y:i,arrowX:s,arrowY:l,placement:g,reference:p,floating:b,strategy:m}=Ps({placement:r.placement,middleware:[ws(),ks({padding:5}),xs(r.offset),Os({element:a,padding:5})],append:e.computed(()=>r.appendTo),enabled:o}),c=()=>{r.disabled||o.value||(o.value=!0)},d=h=>{o.value&&h&&(o.value=!1)},u=h=>{p.value=h},f={mouseenter:c,mouseleave:d,focus:c,blur:d};return nn(b,h=>{var v;(v=p.value)!=null&&v.contains(h.target)||d()}),(h,v)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.renderSlot(h.$slots,"default",{setRef:u,show:c,hide:d,events:f}),e.createElementVNode("div",{ref_key:"floating",ref:b,"data-placement":e.unref(g),style:e.normalizeStyle({position:e.unref(m),top:e.unref(i)?`${e.unref(i)}px`:"",left:e.unref(n)?`${e.unref(n)}px`:""})},[e.createVNode(e.Transition,{name:"transition-fade",mode:"out-in"},{default:e.withCtx(()=>[o.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["floating-content",[`is-${r.theme}`]])},[e.renderSlot(h.$slots,"content",{close:d},()=>[e.createTextVNode(e.toDisplayString(t.content),1)]),e.createElementVNode("div",{ref_key:"arrowRef",ref:a,class:"is-arrow",style:e.normalizeStyle({position:e.unref(m),top:e.unref(l)?`${e.unref(l)}px`:"",left:e.unref(s)?`${e.unref(s)}px`:""})},null,4)],2)):e.createCommentVNode("",!0)]),_:3})],12,Cs)],64))}},Vs=["onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown","tabindex"],Ds={key:0},As=["colspan"],$s={key:1},Is=["colspan"],jt={__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:r}){const o=t,{isLoading:a,appendTo:n}=e.toRefs(o),i=Je(a,{delay:Qi}),{t:s}=Q(),l=L("table"),g=e.computed(()=>o.columns),p=e.computed(()=>Object.keys(o.columns).length),b=(m,c)=>{m.sortOrders&&r("sort",{target:c,orders:m.sortOrders})};return(m,c)=>(e.openBlock(),e.createElementBlock("table",{class:e.normalizeClass(e.unref(l))},[e.createElementVNode("thead",null,[e.createElementVNode("tr",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(d,u)=>(e.openBlock(),e.createBlock(Bs,{key:u,placement:"top",content:d.tooltip,disabled:!d.tooltip,"append-to":e.unref(n)},{default:e.withCtx(({setRef:f,show:h,hide:v})=>[e.createElementVNode("th",{ref_for:!0,ref:f,class:e.normalizeClass([[d.class],{"is-active":u===t.sort.sortTarget&&t.sort.orders[0].direction!==e.unref(yt),"is-sortable":d.sortOrders,"is-desc":u===t.sort.sortTarget&&t.sort.orders[0].direction===e.unref(z),"is-asc":u===t.sort.sortTarget&&t.sort.orders[0].direction===e.unref(I)}]),onMouseenter:h,onMouseleave:v,onFocus:h,onBlur:v,onClick:w=>b(d,u),onKeydown:[e.withKeys(e.withModifiers(w=>b(d,u),["prevent"]),["space"]),e.withKeys(e.withModifiers(w=>b(d,u),["prevent"]),["enter"])],tabindex:d.sortOrders?0:-1,role:"button"},[e.renderSlot(m.$slots,`header-${u}`,{column:d},()=>[e.createTextVNode(e.toDisplayString(d.label),1)]),d.sortOrders&&u!==t.sort.sortTarget?(e.openBlock(),e.createBlock(e.unref(bo),{key:0,class:"is-icon-sort"})):e.createCommentVNode("",!0),u===t.sort.sortTarget&&t.sort.orders[0].direction===e.unref(yt)?(e.openBlock(),e.createBlock(e.unref(bo),{key:1,class:"is-icon-sort"})):e.createCommentVNode("",!0),u===t.sort.sortTarget&&t.sort.orders[0].direction===e.unref(z)?(e.openBlock(),e.createBlock(e.unref(ls),{key:2,class:"is-icon-sort"})):e.createCommentVNode("",!0),u===t.sort.sortTarget&&t.sort.orders[0].direction===e.unref(I)?(e.openBlock(),e.createBlock(e.unref(ms),{key:3,class:"is-icon-sort"})):e.createCommentVNode("",!0)],42,Vs)]),_:2},1032,["content","disabled","append-to"]))),128))])]),e.createElementVNode("tbody",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.rows,(d,u)=>(e.openBlock(),e.createElementBlock("tr",{key:u,class:e.normalizeClass(d.rowClasses)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(f,h)=>(e.openBlock(),e.createElementBlock("td",{key:h,class:e.normalizeClass([[f.class],{"is-active":h===t.sort.sortTarget&&t.sort.orders[0].direction!==e.unref(yt)}])},[e.renderSlot(m.$slots,`cell-${h}`,{row:d,prop:h},()=>[e.createTextVNode(e.toDisplayString(d[h]),1)])],2))),128))],2))),128))]),e.unref(i)&&t.rows.length===0?(e.openBlock(),e.createElementBlock("tfoot",Ds,[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:p.value},[e.renderSlot(m.$slots,"loading",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("common.loading")),1)])],8,As)])])):e.createCommentVNode("",!0),t.rows.length===0&&!e.unref(a)&&!e.unref(i)?(e.openBlock(),e.createElementBlock("tfoot",$s,[e.createElementVNode("tr",null,[e.createElementVNode("td",{colspan:p.value},[e.renderSlot(m.$slots,"empty",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("common.noData")),1)])],8,Is)])])):e.createCommentVNode("",!0)],2))}},Ls={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"},Ms=e.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),Rs=e.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),Fs=e.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1),Gs=[Ms,Rs,Fs];function Hs(t,r){return e.openBlock(),e.createElementBlock("svg",Ls,Gs)}const Ks={render:Hs},te={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})}},setup(t){const r=t,{t:o,hasTranlation:a}=Q(),n=L("error-notice"),i=e.computed(()=>{var s;return a(`errors.${r.error.key}`)?o(`errors.${r.error.key}`,r.error.cause):`${r.error.key}: ${(s=r.error)==null?void 0:s.message}`});return(s,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(n))},[e.createVNode(e.unref(Ks),{class:"icon",width:"20",height:"20"}),e.createElementVNode("span",null,e.toDisplayString(i.value),1)],2))}};function Us(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(r=>r.toLowerCase()).join("-")}const Bo=Symbol("ErrorProviderContext"),Ys=()=>{const t=e.ref(""),r=e.ref({}),o=a=>{console.error({error:a}),t.value=a.message||a.error.message,r.value={message:a.message,key:a.key||Us(a.message),cause:a.cause}};return e.provide(Bo,{onError:o,reset:()=>{t.value="",r.value={}}}),window.onerror=a=>{console.error("WINDOW_ONERROR:",a)},e.onErrorCaptured((a,n,i)=>{console.error("onErrorCaptured:",a,n,i)}),{hasError:e.computed(()=>t.value.length>0),message:t,error:r,onError:o}},_t=()=>{const t=Ws();return{onError:t.onError,reset:t.reset}},Ws=()=>{const t=e.inject(Bo,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},ee={__name:"ErrorProvider",setup(t){const{message:r,hasError:o,error:a}=Ys();return(n,i)=>e.renderSlot(n.$slots,"default",{message:e.unref(r),error:e.unref(a),hasError:e.unref(o)})}},qs={"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ő"},Zs={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ó"},Js={blank:"#",team:{short:"Csapat",tooltip:"Csapatnév"},game:{short:"GP",tooltip:"Mérkőzésszám"},wins:{short:"W",tooltip:"Győzelem"},draw:{short:"D",tooltip:"Döntetlen"},otw:{short:"OTW",tooltip:"Győzelem Hosszabbításban"},sow:{short:"SOW",tooltip:"Győzelem Szétlövésben"},sol:{short:"SOL",tooltip:"Vereség Szétlövésben"},otl:{short:"OTL",tooltip:"Vereség Hosszabbításban"},losses:{short:"L",tooltip:"Vereség"},goalFor:{short:"GF",tooltip:"Szerzett Gól"},goalAgainst:{short:"GA",tooltip:"Kapott Gól"},goalDiff:{short:"GD",tooltip:"Gólkülönbség"},name:{short:"Név",tooltip:"Játékosnév"},goals:{short:"G",tooltip:"Gólok"},assists:{short:"A",tooltip:"Gólpasszok"},points:{short:"P",tooltip:"Pontok"},plusMinus:{short:"+/-",tooltip:"Plussz/Minusz"},sog:{short:"S",tooltip:"Lövések"},sogPercent:{short:"S%",tooltip:"Lövés Hatékonyság"},gameName:{short:"#",tooltip:"Mérkőzés Sorszáma"},gameDate:{short:"Dátum",tooltip:"Mérkőzés Dátuma"},gameDateTime:{short:"*Idő ({offsetName})",tooltip:"Mérkőzés kezdési ideje (Zóna neve)"},homeTeam:{short:"Hazai",tooltip:"Hazai Csapat"},awayTeam:{short:"Vendég",tooltip:"Vendég Csapat"},location:{short:"Helyszín",tooltip:"Mérkőzés Helyszíne"},broadcast:{short:"TV",tooltip:"TV Közvetítés"},minorPenalties:{short:"MINOR",tooltip:"Kisbüntetés (2p)"},majorPenalties:{short:"MAJOR",tooltip:"Büntetés (5p)"},misconducts:{short:"MISC",tooltip:"Fegyelmi büntetés (10p)"},gameMisconducts:{short:"GA-MI",tooltip:"Fegyelmi büntetés (20p)"},matchPenalties:{short:"MATCH",tooltip:"Végleges kiállítások (25p)"},pim:{short:"BÜP",tooltip:"Büntetés Percek"},pimPerGame:{short:"BÜP/M",tooltip:"Mérkőzésenkénti Büntetés Percek"},gpgk:{short:"GP",tooltip:"Mérkőzésre Nevezve"},gpi:{short:"GPI",tooltip:"Mérkőzésen Játszott"},toi:{short:"TOI",tooltip:"Jégen Töltött Idő"},toiPercent:{short:"TOI%",tooltip:"Jégen Töltött Idő Százalék"},ga:{short:"GA",tooltip:"Kapott Gól"},gaa:{short:"GAA",tooltip:"Kapott Gólátlag"},sa:{short:"SA",tooltip:"Kapott Lövés"},svs:{short:"SVS",tooltip:"Védett Lövés"},svsPercent:{short:"VH%",tooltip:"Védés Hatékonyság"},homeHeader:{short:"Hazai:",tooltip:""},awayHeader:{short:"Vendég:",tooltip:""},totalHeader:{short:"Összes:",tooltip:""},homeGame:{short:"M",tooltip:"Hazai Mérkőzés"},awayGame:{short:"M",tooltip:"Vendég Mérkőzés"},totalGame:{short:"M",tooltip:"Összes Mérkőzés"},homeAttendance:{short:"Nézőszám",tooltip:"Hazai Néző"},awayAttendance:{short:"Nézőszám",tooltip:"Vendég Néző"},totalAttendance:{short:"Nézőszám",tooltip:"Összes Néző"},homeAttendanceAvg:{short:"Átlag",tooltip:"Hazi Néző Átlag"},awayAttendanceAvg:{short:"Átlag",tooltip:"Vendég Néző Átlag"},totalAttendanceAvg:{short:"Átlag",tooltip:"Összes Néző Átlag"},powerplayDisadvantages:{short:"DVG",tooltip:"Emberhátrányok"},dvgTime:{short:"DVG-T",tooltip:"Emberhátrányban Töltött Idő"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Szimpla emberhátrányban töltött idő"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Kettős emberhátrányban töltött idő"},ppga:{short:"PPGA",tooltip:"Emberhátrányban kapott gólok"},shgf:{short:"SHGF",tooltip:"Emberhátrányban szerzett gól"},pkPercent:{short:"PK%",tooltip:"Emberhátrány kivédekezés"},adv:{short:"ADV",tooltip:"Emberelőnyök száma"},advTime:{short:"ADV-T",tooltip:"Emberelőnyben töltött idő"},advTimePP1:{short:"ADV-T PP1",tooltip:"Szimpla emberelőnyben töltött idő"},advTimePP2:{short:"ADV-T PP2",tooltip:"Kettős emberelőnyben töltött idő"},ppgf:{short:"PPGF",tooltip:"Emberelőnyben szerzett gólok"},shga:{short:"SHGA",tooltip:"Emberelőnyben kapott gólok"},ppPercent:{short:"PP%",tooltip:"Emberelőny kihasználás"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Átlagos kapott lövésszám"},jerseyNumber:{short:"#",tooltip:"Mezszám"},row:{short:"Sor",tooltip:"Sor"},position:{short:"Po",tooltip:"Poszt"},teamOfficials:{short:"Hivatalos Személyek",tooltip:"Hivatalos Személyek"},score:{short:"Eredmény",tooltip:"Aktuális eredmény"},opponent:{short:"Ellenfél",tooltip:"Ellenfél"},result:{short:"Eredmény",tooltip:"Végeredmény"},resultType:{short:"#",tooltip:"Végeredmény típusa"}},Xs={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"}},Qs={errors:qs,common:Zs,table:Js,game:Xs},tl={"undefined-column":"The {column} column is not exists!","invalid-season-name":"Invalid season name","api-key-not-found":"API Key not found"},el={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"},rl={blank:"#",team:{short:"Team",tooltip:"Team name"},game:{short:"GP",tooltip:"Game Played"},wins:{short:"W",tooltip:"Wins"},draw:{short:"D",tooltip:"Draw"},otw:{short:"OTW",tooltip:"Overtime Wins"},sow:{short:"SOW",tooltip:"Shoot Out Wins"},sol:{short:"SOL",tooltip:"Shoot Out Losses"},otl:{short:"OTL",tooltip:"Overtime Losses"},losses:{short:"L",tooltip:"Losses"},goalFor:{short:"GF",tooltip:"Goals For"},goalAgainst:{short:"GA",tooltip:"Goals Against"},goalDiff:{short:"GD",tooltip:"Goal Differential"},points:{short:"P",tooltip:"Points"},name:{short:"Name",tooltip:"Player name"},goals:{short:"G",tooltip:"Goals"},assists:{short:"A",tooltip:"Assists"},plusMinus:{short:"+/-",tooltip:"Plus/Minus"},sog:{short:"S",tooltip:"Shots on Goal"},sogPercent:{short:"S%",tooltip:"Shooting percentage"},gameName:{short:"#",tooltip:"Game name"},gameDate:{short:"Date",tooltip:"Scheduled Date"},gameDateTime:{short:"*Time ({offsetName})",tooltip:"Scheduled Time (Offset Name)"},homeTeam:{short:"Home",tooltip:"Home Team"},awayTeam:{short:"Away",tooltip:"Away Team"},location:{short:"Location",tooltip:"Game Location"},broadcast:{short:"Broadcast",tooltip:"Television Broadcast"},minorPenalties:{short:"MINOR",tooltip:"Penalties Minor"},majorPenalties:{short:"MAJOR",tooltip:"Penalties Major"},misconducts:{short:"MISC",tooltip:"Penalties Misconduct"},gameMisconducts:{short:"GA-MI",tooltip:"Penalties Game Misconduct"},matchPenalties:{short:"MATCH",tooltip:"Penalties Match"},pim:{short:"PIM",tooltip:"Penalty Minutes"},pimPerGame:{short:"PIM/G",tooltip:"Penalty Minutes per Game"},gpgk:{short:"GP",tooltip:"Games Played"},gpi:{short:"GPI",tooltip:"Games Played In"},toi:{short:"TOI",tooltip:"Time On Ice"},toiPercent:{short:"TOI%",tooltip:"Time On Ice as Percentage"},ga:{short:"GA",tooltip:"Goals Against"},gaa:{short:"GAA",tooltip:"Goals Against Average"},sa:{short:"SA",tooltip:"Shots Against"},svs:{short:"SVS",tooltip:"Saves"},svsPercent:{short:"SV%",tooltip:"Save Percentage"},homeHeader:{short:"Home:",tooltip:""},awayHeader:{short:"Away:",tooltip:""},totalHeader:{short:"Total:",tooltip:""},homeGame:{short:"GP",tooltip:"Home Games Played"},awayGame:{short:"GP",tooltip:"Away Games Played"},totalGame:{short:"GP",tooltip:"Total Games Played"},homeAttendance:{short:"Att",tooltip:"Home Attendance"},awayAttendance:{short:"Att",tooltip:"Away Attendance"},totalAttendance:{short:"Att",tooltip:"Total Attendance"},homeAttendanceAvg:{short:"Avg",tooltip:"Home Average Attendance"},awayAttendanceAvg:{short:"Avg",tooltip:"Away Average Attendance"},totalAttendanceAvg:{short:"Avg",tooltip:"Total Average Attendance"},powerplayDisadvantages:{short:"DVG",tooltip:"Disadvantages (Number of Times Shorthanded)"},dvgTime:{short:"DVG-T",tooltip:"Disadvantages Time"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Disadvantages Time (Period of PP1)"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Disadvantages Time (Period of PP2)"},ppga:{short:"PPGA",tooltip:"Powerplay Goals Against"},shgf:{short:"SHGF",tooltip:"Shorthanded Goals For"},pkPercent:{short:"PK%",tooltip:"Penalty Killing Percentage"},adv:{short:"ADV",tooltip:"Advantages (Times on Powerplay)"},advTime:{short:"ADV-T",tooltip:"Advantages Time (Period of Powerplay)"},advTimePP1:{short:"ADV-T PP1",tooltip:"Advantages Time (Period of PP1)"},advTimePP2:{short:"ADV-T PP2",tooltip:"Advantages Time (Period of PP2)"},ppgf:{short:"PPGF",tooltip:"Powerplay Goals For"},shga:{short:"SHGA",tooltip:"Shorthanded Goals Against"},ppPercent:{short:"PP%",tooltip:"Powerplay Percentage"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Shots Against per Game"},jerseyNumber:{short:"#",tooltip:"Jersey Number"},row:{short:"Row",tooltip:"Row"},position:{short:"Position",tooltip:"Position"},teamOfficials:{short:"Team officials",tooltip:"Team officials"},score:{short:"Score",tooltip:"Actual Game Score"},opponent:{short:"Opponent",tooltip:"Opponent"},result:{short:"Result",tooltip:"Result"},resultType:{short:"#",tooltip:"Result Type"}},ol={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"}},al={errors:tl,common:el,table:rl,game:ol},nl=(t,r)=>{const o=t.__vccOpts||t;for(const[a,n]of r)o[a]=n;return o},il=e.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const r=Ci({hu:Qs,en:al},t.messages),{translate:o}=Gi({locale:e.computed(()=>t.locale),messages:r});return{translate:o}}});function sl(t,r,o,a,n,i){return e.renderSlot(t.$slots,"default",{t:t.translate})}const At=nl(il,[["render",sl]]),ll=["src"],cl=["src","title"],nt=Object.assign({inheritAttrs:!1},{__name:"Image",props:{src:{type:String,default:""},title:{type:String,default:""},defaultSrc:{type:String,default:""}},setup(t){const r=t,{defaultSrc:o}=e.toRefs(r),a=e.ref({src:r.src}),{error:n,isReady:i}=wn(a,{resetOnExecute:!1,shallow:!1});return(s,l)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(n)&&e.unref(o)?(e.openBlock(),e.createElementBlock("img",{key:0,src:e.unref(o),class:e.normalizeClass(["is-loaded",s.$attrs.class])},null,10,ll)):e.createCommentVNode("",!0),e.unref(n)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("img",{key:1,src:a.value.src,class:e.normalizeClass([s.$attrs.class,{"is-loaded":e.unref(i)}]),title:r.title},null,10,cl))],64))}}),dl={style:{"text-align":"center"}},je={__name:"LoadingIndicator",setup(t){const{t:r}=Q();return(o,a)=>(e.openBlock(),e.createElementBlock("div",dl,e.toDisplayString(e.unref(r)("common.loading")),1))}};function gl({currentPage:t,itemsPerPage:r=20,totalItems:o,rangeLength:a=5,update:n=pt}){const i=e.computed(()=>Math.ceil(e.unref(o)/r)),s=e.computed(()=>{const b=e.unref(t)-1,m=Array.from({length:i.value},(u,f)=>f+1),c=Math.floor(a/2);let d=Math.max(b-c,0);return d+a>=i.value&&(d=Math.max(i.value-a,0)),m.slice(d,d+a)}),l=b=>{const m=e.unref(t)+b;p(m)&&n(m)},g=b=>{p(b)&&n(b)},p=b=>b<=i.value&&b>0;return{page:t,range:s,pageCount:i,goTo:g,pageStep:l}}const pl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},ml=e.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1),bl=[ml];function ul(t,r){return e.openBlock(),e.createElementBlock("svg",pl,bl)}const fl={render:ul},hl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},yl=e.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1),vl=[yl];function wl(t,r){return e.openBlock(),e.createElementBlock("svg",hl,vl)}const xl={render:wl},zl=["disabled"],kl=["disabled"],Sl={key:1,class:"is-disabled"},Nl=["disabled","onClick"],Tl={key:2,class:"is-disabled"},El=e.createElementVNode("span",null,"...",-1),jl=[El],_l=["disabled"],Pl=["disabled"],Ol={__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:r}){const o=t,a=L("paginator"),{page:n,pageCount:i,range:s,goTo:l,pageStep:g}=gl({currentPage:e.computed(()=>o.page),totalItems:e.computed(()=>o.totalItems),itemsPerPage:o.itemsPerPage,rangeLength:o.rangeLength,update:p=>r("change",p)});return(p,b)=>e.unref(i)>1?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a))},[e.createElementVNode("button",{type:"button",disabled:e.unref(n)===1,onClick:b[0]||(b[0]=m=>e.unref(g)(-1))},[e.renderSlot(p.$slots,"prev",{},()=>[e.createVNode(e.unref(fl),{class:"icon paginator-left"})])],8,zl),t.isCompact?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",disabled:e.unref(n)===1,onClick:b[1]||(b[1]=m=>e.unref(l)(1))},"1",8,kl)),t.isCompact?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Sl,"...")),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(s),m=>(e.openBlock(),e.createElementBlock("button",{type:"button",key:m,class:e.normalizeClass({"is-active":m===e.unref(n)}),disabled:m===e.unref(n),onClick:c=>e.unref(l)(m)},e.toDisplayString(m),11,Nl))),128)),t.isCompact?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Tl,jl)),t.isCompact?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:3,type:"button",disabled:e.unref(n)===e.unref(i),onClick:b[2]||(b[2]=m=>e.unref(l)(e.unref(i)))},e.toDisplayString(e.unref(i)),9,_l)),e.createElementVNode("button",{type:"button",disabled:e.unref(n)===e.unref(i),onClick:b[3]||(b[3]=e.withModifiers(m=>e.unref(g)(1),["prevent"]))},[e.renderSlot(p.$slots,"next",{},()=>[e.createVNode(e.unref(xl),{class:"icon paginator-left"})])],8,Pl)],2)):e.createCommentVNode("",!0)}},mt={__name:"ResponsiveTable",setup(t){const r=e.ref(null),o=L("table-responsive");return(a,n)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"el",ref:r,class:e.normalizeClass(e.unref(o))},[e.renderSlot(a.$slots,"default",{el:r.value})],2))}};var xt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Vo={exports:{}};(function(t,r){(function(o,a){t.exports=a()})(xt,function(){var o=1e3,a=6e4,n=36e5,i="millisecond",s="second",l="minute",g="hour",p="day",b="week",m="month",c="quarter",d="year",u="date",f="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(E){var N=["th","st","nd","rd"],S=E%100;return"["+E+(N[(S-20)%10]||N[S]||N[0])+"]"}},x=function(E,N,S){var j=String(E);return!j||j.length>=N?E:""+Array(N+1-j.length).join(S)+E},T={s:x,z:function(E){var N=-E.utcOffset(),S=Math.abs(N),j=Math.floor(S/60),k=S%60;return(N<=0?"+":"-")+x(j,2,"0")+":"+x(k,2,"0")},m:function E(N,S){if(N.date()<S.date())return-E(S,N);var j=12*(S.year()-N.year())+(S.month()-N.month()),k=N.clone().add(j,m),O=S-k<0,C=N.clone().add(j+(O?-1:1),m);return+(-(j+(S-k)/(O?k-C:C-k))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:m,y:d,w:b,d:p,D:u,h:g,m:l,s,ms:i,Q:c}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},_="en",V={};V[_]=w;var D=function(E){return E instanceof A},P=function E(N,S,j){var k;if(!N)return _;if(typeof N=="string"){var O=N.toLowerCase();V[O]&&(k=O),S&&(V[O]=S,k=O);var C=N.split("-");if(!k&&C.length>1)return E(C[0])}else{var $=N.name;V[$]=N,k=$}return!j&&k&&(_=k),k||!j&&_},B=function(E,N){if(D(E))return E.clone();var S=typeof N=="object"?N:{};return S.date=E,S.args=arguments,new A(S)},y=T;y.l=P,y.i=D,y.w=function(E,N){return B(E,{locale:N.$L,utc:N.$u,x:N.$x,$offset:N.$offset})};var A=function(){function E(S){this.$L=P(S.locale,null,!0),this.parse(S)}var N=E.prototype;return N.parse=function(S){this.$d=function(j){var k=j.date,O=j.utc;if(k===null)return new Date(NaN);if(y.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var C=k.match(h);if(C){var $=C[2]-1||0,K=(C[7]||"0").substring(0,3);return O?new Date(Date.UTC(C[1],$,C[3]||1,C[4]||0,C[5]||0,C[6]||0,K)):new Date(C[1],$,C[3]||1,C[4]||0,C[5]||0,C[6]||0,K)}}return new Date(k)}(S),this.$x=S.x||{},this.init()},N.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()},N.$utils=function(){return y},N.isValid=function(){return this.$d.toString()!==f},N.isSame=function(S,j){var k=B(S);return this.startOf(j)<=k&&k<=this.endOf(j)},N.isAfter=function(S,j){return B(S)<this.startOf(j)},N.isBefore=function(S,j){return this.endOf(j)<B(S)},N.$g=function(S,j,k){return y.u(S)?this[j]:this.set(k,S)},N.unix=function(){return Math.floor(this.valueOf()/1e3)},N.valueOf=function(){return this.$d.getTime()},N.startOf=function(S,j){var k=this,O=!!y.u(j)||j,C=y.p(S),$=function(Ht,rt){var kt=y.w(k.$u?Date.UTC(k.$y,rt,Ht):new Date(k.$y,rt,Ht),k);return O?kt:kt.endOf(p)},K=function(Ht,rt){return y.w(k.toDate()[Ht].apply(k.toDate("s"),(O?[0,0,0,0]:[23,59,59,999]).slice(rt)),k)},H=this.$W,q=this.$M,zt=this.$D,ft="set"+(this.$u?"UTC":"");switch(C){case d:return O?$(1,0):$(31,11);case m:return O?$(1,q):$(0,q+1);case b:var de=this.$locale().weekStart||0,ge=(H<de?H+7:H)-de;return $(O?zt-ge:zt+(6-ge),q);case p:case u:return K(ft+"Hours",0);case g:return K(ft+"Minutes",1);case l:return K(ft+"Seconds",2);case s:return K(ft+"Milliseconds",3);default:return this.clone()}},N.endOf=function(S){return this.startOf(S,!1)},N.$set=function(S,j){var k,O=y.p(S),C="set"+(this.$u?"UTC":""),$=(k={},k[p]=C+"Date",k[u]=C+"Date",k[m]=C+"Month",k[d]=C+"FullYear",k[g]=C+"Hours",k[l]=C+"Minutes",k[s]=C+"Seconds",k[i]=C+"Milliseconds",k)[O],K=O===p?this.$D+(j-this.$W):j;if(O===m||O===d){var H=this.clone().set(u,1);H.$d[$](K),H.init(),this.$d=H.set(u,Math.min(this.$D,H.daysInMonth())).$d}else $&&this.$d[$](K);return this.init(),this},N.set=function(S,j){return this.clone().$set(S,j)},N.get=function(S){return this[y.p(S)]()},N.add=function(S,j){var k,O=this;S=Number(S);var C=y.p(j),$=function(q){var zt=B(O);return y.w(zt.date(zt.date()+Math.round(q*S)),O)};if(C===m)return this.set(m,this.$M+S);if(C===d)return this.set(d,this.$y+S);if(C===p)return $(1);if(C===b)return $(7);var K=(k={},k[l]=a,k[g]=n,k[s]=o,k)[C]||1,H=this.$d.getTime()+S*K;return y.w(H,this)},N.subtract=function(S,j){return this.add(-1*S,j)},N.format=function(S){var j=this,k=this.$locale();if(!this.isValid())return k.invalidDate||f;var O=S||"YYYY-MM-DDTHH:mm:ssZ",C=y.z(this),$=this.$H,K=this.$m,H=this.$M,q=k.weekdays,zt=k.months,ft=function(rt,kt,Cr,Ye){return rt&&(rt[kt]||rt(j,O))||Cr[kt].slice(0,Ye)},de=function(rt){return y.s($%12||12,rt,"0")},ge=k.meridiem||function(rt,kt,Cr){var Ye=rt<12?"AM":"PM";return Cr?Ye.toLowerCase():Ye},Ht={YY:String(this.$y).slice(-2),YYYY:this.$y,M:H+1,MM:y.s(H+1,2,"0"),MMM:ft(k.monthsShort,H,zt,3),MMMM:ft(zt,H),D:this.$D,DD:y.s(this.$D,2,"0"),d:String(this.$W),dd:ft(k.weekdaysMin,this.$W,q,2),ddd:ft(k.weekdaysShort,this.$W,q,3),dddd:q[this.$W],H:String($),HH:y.s($,2,"0"),h:de(1),hh:de(2),a:ge($,K,!0),A:ge($,K,!1),m:String(K),mm:y.s(K,2,"0"),s:String(this.$s),ss:y.s(this.$s,2,"0"),SSS:y.s(this.$ms,3,"0"),Z:C};return O.replace(v,function(rt,kt){return kt||Ht[rt]||C.replace(":","")})},N.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},N.diff=function(S,j,k){var O,C=y.p(j),$=B(S),K=($.utcOffset()-this.utcOffset())*a,H=this-$,q=y.m(this,$);return q=(O={},O[d]=q/12,O[m]=q,O[c]=q/3,O[b]=(H-K)/6048e5,O[p]=(H-K)/864e5,O[g]=H/n,O[l]=H/a,O[s]=H/o,O)[C]||H,k?q:y.a(q)},N.daysInMonth=function(){return this.endOf(m).$D},N.$locale=function(){return V[this.$L]},N.locale=function(S,j){if(!S)return this.$L;var k=this.clone(),O=P(S,j,!0);return O&&(k.$L=O),k},N.clone=function(){return y.w(this.$d,this)},N.toDate=function(){return new Date(this.valueOf())},N.toJSON=function(){return this.isValid()?this.toISOString():null},N.toISOString=function(){return this.$d.toISOString()},N.toString=function(){return this.$d.toUTCString()},E}(),G=A.prototype;return B.prototype=G,[["$ms",i],["$s",s],["$m",l],["$H",g],["$W",p],["$M",m],["$y",d],["$D",u]].forEach(function(E){G[E[1]]=function(N){return this.$g(N,E[0],E[1])}}),B.extend=function(E,N){return E.$i||(E(N,A,B),E.$i=!0),B},B.locale=P,B.isDayjs=D,B.unix=function(E){return B(1e3*E)},B.en=V[_],B.Ls=V,B.p={},B})})(Vo);var Do=Vo.exports;const X=Pt(Do);var Ao={exports:{}};(function(t,r){(function(o,a){t.exports=a()})(xt,function(){var o="minute",a=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(i,s,l){var g=s.prototype;l.utc=function(f){var h={date:f,utc:!0,args:arguments};return new s(h)},g.utc=function(f){var h=l(this.toDate(),{locale:this.$L,utc:!0});return f?h.add(this.utcOffset(),o):h},g.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var p=g.parse;g.parse=function(f){f.utc&&(this.$u=!0),this.$utils().u(f.$offset)||(this.$offset=f.$offset),p.call(this,f)};var b=g.init;g.init=function(){if(this.$u){var f=this.$d;this.$y=f.getUTCFullYear(),this.$M=f.getUTCMonth(),this.$D=f.getUTCDate(),this.$W=f.getUTCDay(),this.$H=f.getUTCHours(),this.$m=f.getUTCMinutes(),this.$s=f.getUTCSeconds(),this.$ms=f.getUTCMilliseconds()}else b.call(this)};var m=g.utcOffset;g.utcOffset=function(f,h){var v=this.$utils().u;if(v(f))return this.$u?0:v(this.$offset)?m.call(this):this.$offset;if(typeof f=="string"&&(f=function(_){_===void 0&&(_="");var V=_.match(a);if(!V)return null;var D=(""+V[0]).match(n)||["-",0,0],P=D[0],B=60*+D[1]+ +D[2];return B===0?0:P==="+"?B:-B}(f),f===null))return this;var w=Math.abs(f)<=16?60*f:f,x=this;if(h)return x.$offset=w,x.$u=f===0,x;if(f!==0){var T=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(x=this.local().add(w+T,o)).$offset=w,x.$x.$localOffset=T}else x=this.utc();return x};var c=g.format;g.format=function(f){var h=f||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return c.call(this,h)},g.valueOf=function(){var f=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*f},g.isUTC=function(){return!!this.$u},g.toISOString=function(){return this.toDate().toISOString()},g.toString=function(){return this.toDate().toUTCString()};var d=g.toDate;g.toDate=function(f){return f==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var u=g.diff;g.diff=function(f,h,v){if(f&&this.$u===f.$u)return u.call(this,f,h,v);var w=this.local(),x=l(f).local();return u.call(w,x,h,v)}}})})(Ao);var Cl=Ao.exports;const Bl=Pt(Cl);var $o={exports:{}};(function(t,r){(function(o,a){t.exports=a()})(xt,function(){var o={year:0,month:1,day:2,hour:3,minute:4,second:5},a={};return function(n,i,s){var l,g=function(c,d,u){u===void 0&&(u={});var f=new Date(c),h=function(v,w){w===void 0&&(w={});var x=w.timeZoneName||"short",T=v+"|"+x,_=a[T];return _||(_=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:v,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:x}),a[T]=_),_}(d,u);return h.formatToParts(f)},p=function(c,d){for(var u=g(c,d),f=[],h=0;h<u.length;h+=1){var v=u[h],w=v.type,x=v.value,T=o[w];T>=0&&(f[T]=parseInt(x,10))}var _=f[3],V=_===24?0:_,D=f[0]+"-"+f[1]+"-"+f[2]+" "+V+":"+f[4]+":"+f[5]+":000",P=+c;return(s.utc(D).valueOf()-(P-=P%1e3))/6e4},b=i.prototype;b.tz=function(c,d){c===void 0&&(c=l);var u=this.utcOffset(),f=this.toDate(),h=f.toLocaleString("en-US",{timeZone:c}),v=Math.round((f-new Date(h))/1e3/60),w=s(h).$set("millisecond",this.$ms).utcOffset(15*-Math.round(f.getTimezoneOffset()/15)-v,!0);if(d){var x=w.utcOffset();w=w.add(u-x,"minute")}return w.$x.$timezone=c,w},b.offsetName=function(c){var d=this.$x.$timezone||s.tz.guess(),u=g(this.valueOf(),d,{timeZoneName:c}).find(function(f){return f.type.toLowerCase()==="timezonename"});return u&&u.value};var m=b.startOf;b.startOf=function(c,d){if(!this.$x||!this.$x.$timezone)return m.call(this,c,d);var u=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return m.call(u,c,d).tz(this.$x.$timezone,!0)},s.tz=function(c,d,u){var f=u&&d,h=u||d||l,v=p(+s(),h);if(typeof c!="string")return s(c).tz(h);var w=function(V,D,P){var B=V-60*D*1e3,y=p(B,P);if(D===y)return[B,D];var A=p(B-=60*(y-D)*1e3,P);return y===A?[B,y]:[V-60*Math.min(y,A)*1e3,Math.max(y,A)]}(s.utc(c,f).valueOf(),v,h),x=w[0],T=w[1],_=s(x).utcOffset(T);return _.$x.$timezone=h,_},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(c){l=c}}})})($o);var Vl=$o.exports;const Dl=Pt(Vl);var Io={exports:{}};(function(t,r){(function(o,a){t.exports=a()})(xt,function(){return function(o,a){var n=a.prototype,i=n.format;n.format=function(s){var l=this,g=this.$locale();if(!this.isValid())return i.bind(this)(s);var p=this.$utils(),b=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(m){switch(m){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return g.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return g.ordinal(l.week(),"W");case"w":case"ww":return p.s(l.week(),m==="w"?1:2,"0");case"W":case"WW":return p.s(l.isoWeek(),m==="W"?1:2,"0");case"k":case"kk":return p.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 i.bind(this)(b)}}})})(Io);var Al=Io.exports;const $l=Pt(Al);var Lo={exports:{}};(function(t,r){(function(o,a){t.exports=a()})(xt,function(){return function(o,a){a.prototype.isSameOrBefore=function(n,i){return this.isSame(n,i)||this.isBefore(n,i)}}})})(Lo);var Il=Lo.exports;const Ll=Pt(Il);var Mo={exports:{}};(function(t,r){(function(o,a){t.exports=a()})(xt,function(){return function(o,a,n){a.prototype.isBetween=function(i,s,l,g){var p=n(i),b=n(s),m=(g=g||"()")[0]==="(",c=g[1]===")";return(m?this.isAfter(p,l):!this.isBefore(p,l))&&(c?this.isBefore(b,l):!this.isAfter(b,l))||(m?this.isBefore(p,l):!this.isAfter(p,l))&&(c?this.isAfter(b,l):!this.isBefore(b,l))}}})})(Mo);var Ml=Mo.exports;const Rl=Pt(Ml);var Ro={exports:{}};(function(t,r){(function(o,a){t.exports=a()})(xt,function(){var o={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(a,n,i){var s=n.prototype,l=s.format;i.en.formats=o,s.format=function(g){g===void 0&&(g="YYYY-MM-DDTHH:mm:ssZ");var p=this.$locale().formats,b=function(m,c){return m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(d,u,f){var h=f&&f.toUpperCase();return u||c[f]||o[f]||c[h].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(v,w,x){return w||x.slice(1)})})}(g,p===void 0?{}:p);return l.call(this,b)}}})})(Ro);var Fl=Ro.exports;const Gl=Pt(Fl);var Hl={exports:{}};(function(t,r){(function(o,a){t.exports=a(Do)})(xt,function(o){function a(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var n=a(o),i={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(s,l,g,p){return"néhány másodperc"+(p||l?"":"e")},m:function(s,l,g,p){return"egy perc"+(p||l?"":"e")},mm:function(s,l,g,p){return s+" perc"+(p||l?"":"e")},h:function(s,l,g,p){return"egy "+(p||l?"óra":"órája")},hh:function(s,l,g,p){return s+" "+(p||l?"óra":"órája")},d:function(s,l,g,p){return"egy "+(p||l?"nap":"napja")},dd:function(s,l,g,p){return s+" "+(p||l?"nap":"napja")},M:function(s,l,g,p){return"egy "+(p||l?"hónap":"hónapja")},MM:function(s,l,g,p){return s+" "+(p||l?"hónap":"hónapja")},y:function(s,l,g,p){return"egy "+(p||l?"év":"éve")},yy:function(s,l,g,p){return s+" "+(p||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 n.default.locale(i,null,!0),i})})(Hl),X.extend(Bl),X.extend(Dl),X.extend($l),X.extend(Gl),X.extend(Ll),X.extend(Rl);const _e=()=>X.tz.guess(),bt=(t="",r="",o="",a="hu")=>(o=o||X.tz.guess(),X(t).isValid()?X(t).tz(o).locale(a).format(r):""),$t=(t="",r="",o="hu")=>{if(!X(t).isValid())return"";r=r||X.tz.guess();const a=new Intl.DateTimeFormat(Kl(o),{timeZone:r,timeZoneName:"short"}).formatToParts(new Date(t)).find(n=>n.type==="timeZoneName");return a&&a.value},Kl=t=>Ji.get(t),Ul=t=>{const r=t.split(":");return parseInt(r[0],10)*60+parseInt(r[1],10)},Yl=t=>{const r=~~(t/60),o=~~t%60;return[r.toString().padStart(2,"0"),o.toString().padStart(2,"0")].join(":")},Wl=t=>{const r=Math.trunc(t),o=Math.round((t-r)/10*60*10);return[r.toString().padStart(2,"0"),o.toString().padStart(2,"0")].join(":")},ql=(t,r="day")=>X().isSameOrBefore(X(t),r),Zl=(t,r,o)=>X(t).isBetween(r,X(o)),Jl=["onClick"],Xl={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:r}){const o=t,{t:a}=Q(),n=L("timezone-selector"),i=e.computed(()=>$t(new Date,null,o.locale)),s=_e(),l=e.computed(()=>Array.from(Xi.values()).map(p=>({...p,isActive:$t(new Date,o.currentZone,o.locale)===$t(new Date,p.timezone,o.locale),zoneOffsetName:$t(new Date,p.timezone,o.locale)}))),g=p=>r("change",p);return(p,b)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(n))},[e.createVNode(e.unref(Ui),{path:"common.selectTimezone",tag:"span"},{timezone:e.withCtx(()=>[e.createElementVNode("a",{href:"#",onClick:b[0]||(b[0]=e.withModifiers(m=>g(e.unref(s)),["prevent"]))},e.toDisplayString(i.value),1)]),_:1}),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,m=>(e.openBlock(),e.createElementBlock("a",{key:m.countryLabelKey,href:"#",class:e.normalizeClass({"is-active":m.isActive}),onClick:e.withModifiers(c=>g(m.timezone),["prevent"])},e.toDisplayString(e.unref(a)(`common.${m.countryLabelKey}`))+" ("+e.toDisplayString(m.zoneOffsetName)+") ",11,Jl))),128))],2))}},Ot=(t,r="",o={})=>{const a=e.ref(""),{t:n}=Q(),i=e.computed(()=>{if(e.unref(r))try{const l=Ql(e.unref(t),e.unref(r));return Vi(l,e.unref(t))}catch(l){a.value=l}return e.unref(t)}),s=l=>({...l,...l.label&&{label:n(l.label??"",e.unref(o))},...l.tooltip&&{tooltip:n(l.tooltip??"")}});return{columns:e.computed(()=>Nt(s,i.value)),error:a}},Ql=(t,r="")=>{const o=Nt(ze,Yt(",",r)),a=St(t);if(o[0]==="")return resolve([]);const n=o.findIndex(i=>!a.includes(i));if(n>-1)throw o[n];return o};class br extends Error{constructor(r,o={}){const{key:a,cause:n}=o;super(r),this.name="WidgetError",this.key=a,this.cause=n}}const Fo={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},Pe={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}},tc={class:"is-portrait-image"},ec={class:"is-team-name-long"},rc={class:"is-team-name-short"},oc={class:"is-team-name-long"},ac={class:"is-team-name-short"},nc={class:"is-team-name-long"},ic={class:"is-team-name-short"},sc=["href"],lc={class:"is-team-name-long"},cc={class:"is-team-name-short"},dc=["href"],gc={key:0,class:"is-text-dark"},pc=["href","target"],mc={__name:"StatisticsTable",props:{columns:{type:Object,required:!0},rows:{type:Array,default:()=>[]},isLoading:{type:Boolean,deafult:!1},hideColumns:{type:String,default:""},sort:{type:Object,default:()=>({})},externalTeamResolver:{type:Function,required:!0},externalPlayerResolver:{type:Function,default:()=>{}},externalGameResolver:{type:Function,default:()=>{}},externalGameResolverTarget:{type:String,default:"_self"},isTeamLinked:{type:Boolean,default:!1},isPlayerLinked:{type:Boolean,default:!1},appendTo:{type:[Object,String],default:null},offsetName:{type:String,default:""}},emits:["sort"],setup(t,{emit:r}){const o=t,{columns:a,hideColumns:n}=e.toRefs(o),{onError:i}=_t(),{columns:s,error:l}=Ot(a,n,e.computed(()=>({offsetName:o.offsetName})));l.value&&i(new br(Fo.message,{...Fo.options,cause:{column:l.value}}));const g=p=>r("sort",p);return(p,b)=>(e.openBlock(),e.createBlock(mt,null,{default:e.withCtx(({el:m})=>[e.createVNode(jt,{columns:e.unref(s),sort:o.sort,rows:o.rows,"is-loading":t.isLoading,"append-to":t.appendTo||m,onSort:g},e.createSlots({"cell-index":e.withCtx(({row:c})=>[e.createElementVNode("span",{class:e.normalizeClass(c.indexClass)},e.toDisplayString(c.index),3)]),"cell-playerPortrait":e.withCtx(({row:c})=>[e.createElementVNode("div",tc,[(e.openBlock(),e.createBlock(nt,{key:c.player.playerId,src:c.player.picture,"default-src":e.unref(qi)},null,8,["src","default-src"]))])]),"cell-teamLogo":e.withCtx(({row:c})=>{var d,u;return[(e.openBlock(),e.createBlock(nt,{class:"is-logo-image",key:((d=c.team)==null?void 0:d.id)??c.id,src:(u=c.team)==null?void 0:u.logo},null,8,["src"]))]}),"cell-homeTeamLogo":e.withCtx(({row:c})=>{var d,u;return[(e.openBlock(),e.createBlock(nt,{class:"is-logo-image is-right",key:(d=c.homeTeam)==null?void 0:d.id,src:(u=c.homeTeam)==null?void 0:u.logo},null,8,["src"]))]}),"cell-awayTeamLogo":e.withCtx(({row:c})=>{var d,u;return[(e.openBlock(),e.createBlock(nt,{class:"is-logo-image is-right",key:(d=c.awayTeam)==null?void 0:d.id,src:(u=c.awayTeam)==null?void 0:u.logo},null,8,["src"]))]}),"cell-teamName":e.withCtx(({row:c})=>{var d,u;return[e.createElementVNode("span",ec,e.toDisplayString((d=c.team)==null?void 0:d.longName),1),e.createElementVNode("span",rc,e.toDisplayString((u=c.team)==null?void 0:u.shortName),1)]}),"cell-homeTeamName":e.withCtx(({row:c})=>{var d,u;return[e.createElementVNode("span",oc,e.toDisplayString((d=c.homeTeam)==null?void 0:d.longName),1),e.createElementVNode("span",ac,e.toDisplayString((u=c.homeTeam)==null?void 0:u.shortName),1)]}),"cell-awayTeamName":e.withCtx(({row:c})=>{var d,u;return[e.createElementVNode("span",nc,e.toDisplayString((d=c.awayTeam)==null?void 0:d.longName),1),e.createElementVNode("span",ic,e.toDisplayString((u=c.awayTeam)==null?void 0:u.shortName),1)]}),"cell-location":e.withCtx(({row:c})=>{var d;return[e.createTextVNode(e.toDisplayString(((d=c.location)==null?void 0:d.locationName)??""),1)]}),"cell-gameResult":e.withCtx(({row:c})=>[c.gameStatus===0?(e.openBlock(),e.createElementBlock("span",gc,"-:-")):(e.openBlock(),e.createElementBlock("a",{key:1,href:t.externalGameResolver(c.gameId),target:t.externalGameResolverTarget,class:e.normalizeClass({"is-text-dark":c.gameStatus!==1,"is-text-accent":c.gameStatus===1})},e.toDisplayString(c.homeTeamScore)+":"+e.toDisplayString(c.awayTeamScore),11,pc))]),loading:e.withCtx(()=>[e.createVNode(je)]),_:2},[t.isTeamLinked?{name:"cell-teamName",fn:e.withCtx(({row:c})=>{var d,u,f;return[e.createElementVNode("a",{href:t.externalTeamResolver((d=c.team)==null?void 0:d.longName),target:"_blank"},[e.createElementVNode("span",lc,e.toDisplayString((u=c.team)==null?void 0:u.longName),1),e.createElementVNode("span",cc,e.toDisplayString((f=c.team)==null?void 0:f.shortName),1)],8,sc)]}),key:"0"}:void 0,t.isPlayerLinked?{name:"cell-name",fn:e.withCtx(({row:c})=>[e.createElementVNode("a",{href:t.externalPlayerResolver(c.id),target:"_blank"},e.toDisplayString(c.name),9,dc)]),key:"1"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},bc={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gamesPlayed",direction:z}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:z},{target:"otw",direction:z}]},otw:{label:"table.otw.short",tooltip:"table.otw.tooltip",sortOrders:[{target:"otw",direction:z}]},sow:{label:"table.sow.short",tooltip:"table.sow.tooltip",sortOrders:[{target:"sow",direction:z}]},sol:{label:"table.sol.short",tooltip:"table.sol.tooltip",sortOrders:[{target:"sol",direction:z}]},otl:{label:"table.otl.short",tooltip:"table.otl.tooltip",sortOrders:[{target:"otl",direction:I}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:I}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:z}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:I}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:z}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:z},{target:"gamesPlayed",direction:I},{target:"w",direction:z},{target:"gd",direction:z},{target:"gf",direction:z}]}},Oe={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:z}]},goals:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"goals",direction:z},{target:"assists",direction:z}]},assists:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"assists",direction:z},{target:"goals",direction:z}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"points",direction:z}]},plusMinus:{label:"table.plusMinus.short",tooltip:"table.plusMinus.tooltip",sortOrders:[{target:"plusMinus",direction:z}]},shots:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"shots",direction:z}]},shotPercent:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"shootPercent",direction:z}]}},uc={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:z}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:z},{target:"pim",direction:z}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:z},{target:"pim",direction:z}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:z},{target:"pim",direction:z}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:z},{target:"pim",direction:z}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:z},{target:"pim",direction:z}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:z}]}},Go={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},gkd:{label:"table.gpgk.short",tooltip:"table.gpgk.tooltip",sortOrders:[{target:"gkd",direction:z}]},gpi:{label:"table.gpi.short",tooltip:"table.gpi.tooltip",sortOrders:[{target:"gpi",direction:z}]},mipMin:{label:"table.toi.short",tooltip:"table.toi.tooltip",sortOrders:[{target:"mip",direction:z}]},mipPercent:{label:"table.toiPercent.short",tooltip:"table.toiPercent.tooltip",sortOrders:[{target:"mipPercent",direction:z}]},ga:{label:"table.ga.short",tooltip:"table.ga.tooltip",sortOrders:[{target:"ga",direction:z}]},gaa:{label:"table.gaa.short",tooltip:"table.gaa.tooltip",sortOrders:[{target:"gaa",direction:z}]},sog:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"sog",direction:z}]},svs:{label:"table.svs.short",tooltip:"table.svs.tooltip",sortOrders:[{target:"svs",direction:z}]},svsPercent:{label:"table.svsPercent.short",tooltip:"table.svsPercent.tooltip",sortOrders:[{target:"svsPercent",direction:z}]}},fc={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},home:{label:"table.homeHeader.short"},homeGame:{label:"table.homeGame.short",tooltip:"table.homeGame.tooltip",sortOrders:[{target:"homeGame",direction:z}]},homeAttendance:{label:"table.homeAttendance.short",tooltip:"table.homeAttendance.tooltip",sortOrders:[{target:"homeAttendance",direction:z}]},homeAttendanceAvg:{label:"table.homeAttendanceAvg.short",tooltip:"table.homeAttendanceAvg.tooltip",sortOrders:[{target:"homeAttendanceAvg",direction:z}]},away:{label:"table.awayHeader.short"},awayGame:{label:"table.awayGame.short",tooltip:"table.awayGame.tooltip",sortOrders:[{target:"awayGame",direction:z}]},awayAttendance:{label:"table.awayAttendance.short",tooltip:"table.awayAttendance.tooltip",sortOrders:[{target:"awayAttendance",direction:z}]},awayAttendanceAvg:{label:"table.awayAttendanceAvg.short",tooltip:"table.awayAttendanceAvg.tooltip",sortOrders:[{target:"awayAttendanceAvg",direction:z}]},total:{label:"table.totalHeader.short"},totalGame:{label:"table.totalGame.short",tooltip:"table.totalGame.tooltip",sortOrders:[{target:"totalGame",direction:z}]},totalAttendance:{label:"table.totalAttendance.short",tooltip:"table.totalAttendance.tooltip",sortOrders:[{target:"totalAttendance",direction:z}]},totalAttendanceAvg:{label:"table.totalAttendanceAvg.short",tooltip:"table.totalAttendanceAvg.tooltip",sortOrders:[{target:"totalAttendanceAvg",direction:z}]}},hc={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:z}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:z},{target:"pim",direction:z}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:z},{target:"pim",direction:z}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:z},{target:"pim",direction:z}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:z},{target:"pim",direction:z}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:z},{target:"pim",direction:z}]},pimPerGame:{label:"table.pimPerGame.short",tooltip:"table.pimPerGame.tooltip",sortOrders:[{target:"pimPerGame",direction:z}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:z}]}},yc={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:z}]},dvg:{label:"table.powerplayDisadvantages.short",tooltip:"table.powerplayDisadvantages.tooltip",sortOrders:[{target:"dvg",direction:z}]},dvgTimeMin:{label:"table.dvgTime.short",tooltip:"table.dvgTime.tooltip",sortOrders:[{target:"dvgTime",direction:z}]},dvgTimePP1Min:{label:"table.dvgTimePP1.short",tooltip:"table.dvgTimePP1.tooltip",sortOrders:[{target:"dvgTimePP1",direction:z}]},dvgTimePP2Min:{label:"table.dvgTimePP2.short",tooltip:"table.dvgTimePP2.tooltip",sortOrders:[{target:"dvgTimePP2",direction:z}]},ppga:{label:"table.ppga.short",tooltip:"table.ppga.tooltip",sortOrders:[{target:"ppga",direction:z}]},shgf:{label:"table.shgf.short",tooltip:"table.shgf.tooltip",sortOrders:[{target:"shgf",direction:z}]},pkPercent:{label:"table.pkPercent.short",tooltip:"table.pkPercent.tooltip",sortOrders:[{target:"pkPercent",direction:z}]}},vc={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:z}]},adv:{label:"table.adv.short",tooltip:"table.adv.tooltip",sortOrders:[{target:"adv",direction:z}]},advTimeMin:{label:"table.advTime.short",tooltip:"table.advTime.tooltip",sortOrders:[{target:"advTime",direction:z}]},advTimePP1Min:{label:"table.advTimePP1.short",tooltip:"table.advTimePP1.tooltip",sortOrders:[{target:"advTimePP1",direction:z}]},advTimePP2Min:{label:"table.advTimePP2.short",tooltip:"table.advTimePP2.tooltip",sortOrders:[{target:"advTimePP2",direction:z}]},ppgf:{label:"table.ppgf.short",tooltip:"table.ppgf.tooltip",sortOrders:[{target:"ppgf",direction:z}]},shga:{label:"table.shga.short",tooltip:"table.shga.tooltip",sortOrders:[{target:"shga",direction:z}]},ppPercent:{label:"table.ppPercent.short",tooltip:"table.ppPercent.tooltip",sortOrders:[{target:"ppPercent",direction:z}]}},wc={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:z}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:z}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:I}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:z}]},gfPerGp:{label:"table.gfgp.short",tooltip:"table.gfgp.tooltip",sortOrders:[{target:"gfPerGp",direction:z}]},gaPerGp:{label:"table.gagp.short",tooltip:"table.gagp.tooltip",sortOrders:[{target:"gaPerGp",direction:I}]},s:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"s",direction:z}]},sa:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"sa",direction:I}]},shotsPerGp:{label:"table.sogp.short",tooltip:"table.sogp.tooltip",sortOrders:[{target:"shotsPerGp",direction:z}]},saPerGp:{label:"table.sagp.short",tooltip:"table.sagp.tooltip",sortOrders:[{target:"shotsPerGp",direction:I}]},sp:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"sp",direction:z}]}},re=async(t,r,o)=>{const a=`${Yi}${e.unref(t)}?${xc(o)}`;return new Promise((n,i)=>{fetch(a,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":zc(r)}}).then(s=>s.json()).then(s=>{if(s.error)return i(s);n(s.data)}).catch(s=>{i(s)})})},xc=t=>Object.keys(t).map(r=>r+"="+t[r]).join("&"),zc=t=>{var r;return t||((r=window.__MJSZ_VBR_WIDGET__)!=null&&r.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:{}.NODE_ENV!=="production"?"dd8adf5fdb738b3741fa579b5ede5ce69b681f62":"")},kc=(t={})=>{const{initial:r=1,items:o=[],limit:a,auto:n=!1}=t,i=e.ref(r),s=l=>ql(l,"day");return on(o,()=>{if(!n)return;const l=hi(Ai(s,"gameDate"))(e.unref(o));i.value=l===-1?1:Math.floor(l/a)+1}),{page:i,change:l=>{i.value=l}}},et=({options:t={},transform:r=n=>n,onError:o=pt,onSuccess:a=pt})=>{const{path:n,apiKey:i,params:s,resetOnExecute:l=!1,immediate:g=!1}=t,{state:p,error:b,isLoading:m,execute:c}=Ir(()=>re(n,i,e.unref(s)).then(d=>r(d)),[],{immediate:g,resetOnExecute:l,onError:o,onSuccess:a});return{state:p,error:b,isLoading:m,execute:c}};/*! *****************************************************************************
10
10
  Copyright (c) Microsoft Corporation.
11
11
 
12
12
  Permission to use, copy, modify, and/or distribute this software for any
Binary file
Binary file
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/liga
3
- * version: v2.1.0-beta.52 - 20/11/2023, 16:59:29
3
+ * version: v2.1.0-beta.53 - 20/11/2023, 18:34:30
4
4
  * (c) 2023
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
@@ -4106,12 +4106,12 @@ const $o = {
4106
4106
  tooltip: "table.plusMinus.tooltip",
4107
4107
  sortOrders: [{ target: "plusMinus", direction: T }]
4108
4108
  },
4109
- shoots: {
4109
+ shots: {
4110
4110
  label: "table.sog.short",
4111
4111
  tooltip: "table.sog.tooltip",
4112
- sortOrders: [{ target: "shoots", direction: T }]
4112
+ sortOrders: [{ target: "shots", direction: T }]
4113
4113
  },
4114
- shootPercent: {
4114
+ shotPercent: {
4115
4115
  label: "table.sogPercent.short",
4116
4116
  tooltip: "table.sogPercent.tooltip",
4117
4117
  sortOrders: [{ target: "shootPercent", direction: T }]
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@mjsz-vbr-elements/liga",
3
3
  "description": "Data visualization for MJSZ VBR",
4
4
  "private": false,
5
- "version": "2.1.0-beta.52",
5
+ "version": "2.1.0-beta.53",
6
6
  "author": "Ákos Stegner <akos.stegner@gmail.com>",
7
7
  "homepage": "https://api.icehockey.hu/widgets/docs/v2/",
8
8
  "type": "module",
@@ -20,8 +20,8 @@
20
20
  "@vueuse/core": "^10.1.2",
21
21
  "ramda": "^0.29.0",
22
22
  "vue": "^3.3.4",
23
- "@mjsz-vbr-elements/shared": "^2.1.0-beta.52",
24
- "@mjsz-vbr-elements/core": "^2.1.0-beta.52"
23
+ "@mjsz-vbr-elements/shared": "^2.1.0-beta.53",
24
+ "@mjsz-vbr-elements/core": "^2.1.0-beta.53"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@vitejs/plugin-vue": "^4.1.0",