@mjsz-vbr-elements/internal 2.38.1 → 2.38.3

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,8 +1,8 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/internal
3
- * version: v2.38.1 - 20/12/2025, 13:12:01
3
+ * version: v2.38.3 - 20/12/2025, 13:54:14
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- var MjszVbrElementsInternal=function(V,e,te,M,_,T){"use strict";function U(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function H(){const t=new Set,r=l=>{t.delete(l)};return{on:l=>{t.add(l);const a=()=>r(l);return U(a),{off:a}},off:r,trigger:(...l)=>Promise.all(Array.from(t).map(a=>a(...l))),clear:()=>{t.clear()}}}const re=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ue=t=>typeof t<"u",ge=Object.prototype.toString,be=t=>ge.call(t)==="[object Object]",K=()=>{};function G(...t){if(t.length!==1)return e.toRef(...t);const r=t[0];return typeof r=="function"?e.readonly(e.customRef(()=>({get:r,set:K}))):e.ref(r)}function oe(t,r=!1,o="Timeout"){return new Promise((d,s)=>{setTimeout(r?()=>s(o):d,t)})}function ye(t,...r){return r.some(o=>o in t)}function J(t){return Array.isArray(t)?t:[t]}function W(t,r=!1){function o(m,{flush:f="sync",deep:h=!1,timeout:w,throwOnTimeout:p}={}){let u=null;const y=[new Promise(g=>{u=e.watch(t,z=>{m(z)!==r&&(u?u():e.nextTick(()=>u?.()),g(z))},{flush:f,deep:h,immediate:!0})})];return w!=null&&y.push(oe(w,p).then(()=>e.toValue(t)).finally(()=>u?.())),Promise.race(y)}function d(m,f){if(!e.isRef(m))return o(z=>z===m,f);const{flush:h="sync",deep:w=!1,timeout:p,throwOnTimeout:u}=f??{};let b=null;const g=[new Promise(z=>{b=e.watch([t,m],([I,C])=>{r!==(I===C)&&(b?b():e.nextTick(()=>b?.()),z(I))},{flush:h,deep:w,immediate:!0})})];return p!=null&&g.push(oe(p,u).then(()=>e.toValue(t)).finally(()=>(b?.(),e.toValue(t)))),Promise.race(g)}function s(m){return o(f=>!!f,m)}function l(m){return d(null,m)}function a(m){return d(void 0,m)}function n(m){return o(Number.isNaN,m)}function c(m,f){return o(h=>{const w=Array.from(h);return w.includes(m)||w.includes(e.toValue(m))},f)}function i(m){return v(1,m)}function v(m=1,f){let h=-1;return o(()=>(h+=1,h>=m),f)}return Array.isArray(e.toValue(t))?{toMatch:o,toContains:c,changed:i,changedTimes:v,get not(){return W(t,!r)}}:{toMatch:o,toBe:d,toBeTruthy:s,toBeNull:l,toBeNaN:n,toBeUndefined:a,changed:i,changedTimes:v,get not(){return W(t,!r)}}}function xe(t){return W(t)}function ae(t,r,o={}){const{immediate:d=!0,immediateCallback:s=!1}=o,l=e.shallowRef(!1);let a;function n(){a&&(clearTimeout(a),a=void 0)}function c(){l.value=!1,n()}function i(...v){s&&t(),n(),l.value=!0,a=setTimeout(()=>{l.value=!1,a=void 0,t(...v)},e.toValue(r))}return d&&(l.value=!0,re&&i()),U(c),{isPending:e.shallowReadonly(l),start:i,stop:c}}function ke(t,r,o){return e.watch(t,r,{...o,immediate:!0})}const ne=re?window:void 0;function ze(t){var r;const o=e.toValue(t);return(r=o?.$el)!=null?r:o}function _e(...t){const r=[],o=()=>{r.forEach(n=>n()),r.length=0},d=(n,c,i,v)=>(n.addEventListener(c,i,v),()=>n.removeEventListener(c,i,v)),s=e.computed(()=>{const n=J(e.toValue(t[0])).filter(c=>c!=null);return n.every(c=>typeof c!="string")?n:void 0}),l=ke(()=>{var n,c;return[(c=(n=s.value)==null?void 0:n.map(i=>ze(i)))!=null?c:[ne].filter(i=>i!=null),J(e.toValue(s.value?t[1]:t[0])),J(e.unref(s.value?t[2]:t[1])),e.toValue(s.value?t[3]:t[2])]},([n,c,i,v])=>{if(o(),!n?.length||!c?.length||!i?.length)return;const m=be(v)?{...v}:v;r.push(...n.flatMap(f=>c.flatMap(h=>i.map(w=>d(f,h,w,m)))))},{flush:"post"}),a=()=>{l(),o()};return U(o),a}function ie(t,r){const{interrupt:o=!0,onError:d=K,onFinished:s=K,signal:l}={},a={aborted:"aborted",fulfilled:"fulfilled",pending:"pending",rejected:"rejected"},n=Array.from(Array.from({length:t.length}),()=>({state:a.pending,data:null})),c=e.reactive(n),i=e.shallowRef(-1);if(!t||t.length===0)return s(),{activeIndex:i,result:c};function v(m,f){i.value++,c[i.value].data=f,c[i.value].state=m}return t.reduce((m,f)=>m.then(h=>{var w;if(l?.aborted){v(a.aborted,new Error("aborted"));return}if(((w=c[i.value])==null?void 0:w.state)===a.rejected&&o){s();return}const p=f(h).then(u=>(v(a.fulfilled,u),i.value===t.length-1&&s(),u));return l?Promise.race([p,Ce(l)]):p}).catch(h=>l?.aborted?(v(a.aborted,h),h):(v(a.rejected,h),d(),h)),Promise.resolve()),{activeIndex:i,result:c}}function Ce(t){return new Promise((r,o)=>{const d=new Error("aborted");t.aborted?o(d):t.addEventListener("abort",()=>o(d),{once:!0})})}function Ee(t){return JSON.parse(JSON.stringify(t))}const Ie={json:"application/json",text:"text/plain"};function le(t){return t&&ye(t,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function q(t){return typeof Headers<"u"&&t instanceof Headers?Object.fromEntries(t.entries()):t}function Ve(t,...r){var o,d;const s=typeof AbortController=="function";let l={},a={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const n={method:"GET",type:"text",payload:void 0};r.length>0&&(le(r[0])?a={...a,...r[0]}:l=r[0]),r.length>1&&le(r[1])&&(a={...a,...r[1]});const{fetch:c=(d=(o=ne)==null?void 0:o.fetch)!=null?d:globalThis?.fetch,initialData:i,timeout:v}=a,m=H(),f=H(),h=H(),w=e.shallowRef(!1),p=e.shallowRef(!1),u=e.shallowRef(!1),b=e.shallowRef(null),y=e.shallowRef(null),g=e.shallowRef(null),z=e.shallowRef(i||null),I=e.computed(()=>s&&p.value);let C,P;const X=x=>{s&&(C?.abort(x),C=new AbortController,C.signal.onabort=()=>u.value=!0,l={...l,signal:C.signal})},Y=x=>{p.value=x,w.value=!x};v&&(P=ae(X,v,{immediate:!1}));let Z=0;const F=async(x=!1)=>{var E,j;X(),Y(!0),g.value=null,b.value=null,u.value=!1,Z+=1;const D=Z,S={method:n.method,headers:{}},L=e.toValue(n.payload);if(L){const k=q(S.headers),O=Object.getPrototypeOf(L);!n.payloadType&&L&&(O===Object.prototype||Array.isArray(O))&&!(L instanceof FormData)&&(n.payloadType="json"),n.payloadType&&(k["Content-Type"]=(E=Ie[n.payloadType])!=null?E:n.payloadType),S.body=n.payloadType==="json"?JSON.stringify(L):L}let we=!1;const N={url:e.toValue(t),options:{...S,...l},cancel:()=>{we=!0}};if(a.beforeFetch&&Object.assign(N,await a.beforeFetch(N)),we||!c)return Y(!1),Promise.resolve(null);let A=null;return P&&P.start(),c(N.url,{...S,...N.options,headers:{...q(S.headers),...q((j=N.options)==null?void 0:j.headers)}}).then(async k=>{if(y.value=k,b.value=k.status,A=await k.clone()[n.type](),!k.ok)throw z.value=i||null,new Error(k.statusText);return a.afterFetch&&({data:A}=await a.afterFetch({data:A,response:k,context:N,execute:F})),z.value=A,m.trigger(k),k}).catch(async k=>{let O=k.message||k.name;if(a.onFetchError&&({error:O,data:A}=await a.onFetchError({data:A,error:k,response:y.value,context:N,execute:F})),g.value=O,a.updateDataOnError&&(z.value=A),f.trigger(k),x)throw k;return null}).finally(()=>{D===Z&&Y(!1),P&&P.stop(),h.trigger(null)})},fe=G(a.refetch);e.watch([fe,G(t)],([x])=>x&&F(),{deep:!0});const R={isFinished:e.readonly(w),isFetching:e.readonly(p),statusCode:b,response:y,error:g,data:z,canAbort:I,aborted:u,abort:X,execute:F,onFetchResponse:m.on,onFetchError:f.on,onFetchFinally:h.on,get:B("GET"),put:B("PUT"),post:B("POST"),delete:B("DELETE"),patch:B("PATCH"),head:B("HEAD"),options:B("OPTIONS"),json:$("json"),text:$("text"),blob:$("blob"),arrayBuffer:$("arrayBuffer"),formData:$("formData")};function B(x){return(E,j)=>{if(!p.value)return n.method=x,n.payload=E,n.payloadType=j,e.isRef(n.payload)&&e.watch([fe,G(n.payload)],([D])=>D&&F(),{deep:!0}),{...R,then(D,S){return ee().then(D,S)}}}}function ee(){return new Promise((x,E)=>{xe(w).toBe(!0).then(()=>x(R)).catch(E)})}function $(x){return()=>{if(!p.value)return n.type=x,{...R,then(E,j){return ee().then(E,j)}}}}return a.immediate&&Promise.resolve().then(()=>F()),{...R,then(x,E){return ee().then(x,E)}}}function Be(t,r,o,d={}){var s,l,a;const{clone:n=!1,passive:c=!1,eventName:i,deep:v=!1,defaultValue:m,shouldEmit:f}=d,h=e.getCurrentInstance(),w=o||h?.emit||((s=h?.$emit)==null?void 0:s.bind(h))||((a=(l=h?.proxy)==null?void 0:l.$emit)==null?void 0:a.bind(h?.proxy));let p=i;r||(r="modelValue"),p=p||`update:${r.toString()}`;const u=g=>n?typeof n=="function"?n(g):Ee(g):g,b=()=>ue(t[r])?u(t[r]):m,y=g=>{f?f(g)&&w(p,g):w(p,g)};if(c){const g=b(),z=e.ref(g);let I=!1;return e.watch(()=>t[r],C=>{I||(I=!0,z.value=u(C),e.nextTick(()=>I=!1))}),e.watch(z,C=>{!I&&(C!==t[r]||v)&&y(C)},{deep:v}),z}else return e.computed({get(){return b()},set(g){y(g)}})}function Se(t,r,o={}){const d={};for(const s in t)d[s]=Be(t,s,r,o);return d}function Ne(t,r=3e4,{check:o,set:d}){const{start:s,stop:l}=ae(n,r,{immediate:!1});_e(t,"click",c=>{c.target===e.unref(t)&&n()}),e.watch(t,c=>{c&&(o?.()||(a(),s()))});function a(){d?.(),e.unref(t).showModal()}function n(){e.unref(t).close(),l()}return{hide:n}}const Ae=["width","height"],Fe=["src","type"],je={key:1},Le=["srcset","media"],Te=["src"],Pe=["src"],se=e.defineComponent({__name:"Media",props:{currentAd:{type:Object,required:!0},mobileBreakpoint:{type:String,required:!0}},setup(t){const r=t,o=e.computed(()=>`(min-width: ${r.currentAd?.breakpoint||r.mobileBreakpoint})`);function d(s){return`${te.VBR_API_BASE_URL}${s}`}return(s,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.currentAd.link?"a":"div"),{href:t.currentAd.link||void 0,target:t.currentAd.link?"_blank":void 0},{default:e.withCtx(()=>[t.currentAd.media[0]?.mediaType?.includes("video")?(e.openBlock(),e.createElementBlock("video",{key:0,width:t.currentAd.media[0].width,height:t.currentAd.media[0].height,autoplay:"",muted:""},[e.createElementVNode("source",{src:t.currentAd.media[0]?.media,type:t.currentAd.media[0]?.mediaType},null,8,Fe)],8,Ae)):(e.openBlock(),e.createElementBlock("picture",je,[t.currentAd.type==="responsive"?(e.openBlock(),e.createElementBlock("source",{key:0,srcset:d(t.currentAd.media[1].path),media:o.value},null,8,Le)):e.createCommentVNode("",!0),t.currentAd.type==="popover"?(e.openBlock(),e.createElementBlock("img",{key:1,src:d(t.currentAd.media[0].path),style:e.normalizeStyle(`width: clamp(0px, ${t.currentAd.media[0].width}px, 750px); height: auto;`)},null,12,Te)):(e.openBlock(),e.createElementBlock("img",{key:2,src:d(t.currentAd.media[0].path)},null,8,Pe))]))]),_:1},8,["href","target"]))}}),$e='dialog[data-v-163816f4]:open{display:grid;grid-template-areas:"stack";opacity:1}dialog[data-v-163816f4]{--popover-padding: var(--size-10);padding:var(--popover-padding);border-radius:8px;background-color:var(--mvw-color-white);opacity:0;transition:opacity .3s,overlay .3s allow-discrete,display .3s allow-discrete}dialog[data-v-163816f4] :is(button,a){grid-area:stack}dialog[data-v-163816f4] :where(a){outline:none}dialog[data-v-163816f4] :where(img,video){display:block;object-fit:cover}dialog button[data-v-163816f4]{align-self:start;justify-self:end}@starting-style{dialog[data-v-163816f4]:open{opacity:0}}dialog[data-v-163816f4]::backdrop{background-color:transparent;transition:display .3s allow-discrete,overlay .3s allow-discrete,background-color .3s;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}dialog[data-v-163816f4]:open::backdrop{background-color:#000000bf}@starting-style{dialog[data-v-163816f4]:open::backdrop{background-color:transparent}}.ad-placement-tool[data-v-163816f4] :where(img,video){opacity:1}.ad-placement-tool[data-v-163816f4] :where(a[target=_blank]):after{background:none}.ad-placement-tool .close[data-v-163816f4]{position:absolute;right:calc(var(--popover-padding) * -1);top:calc(var(--popover-padding) * -1);width:24px;height:24px;margin:0;padding:0;background:#fff;border:none;border-end-start-radius:8px}.ad-placement-tool .close[data-v-163816f4]:before,.ad-placement-tool .close[data-v-163816f4]:after{position:absolute;left:43%;top:5px;content:" ";height:16px;width:2px;background-color:#333}.ad-placement-tool .close[data-v-163816f4]:before{transform:rotate(45deg)}.ad-placement-tool .close[data-v-163816f4]:after{transform:rotate(-45deg)}',De=`@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:"";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}`,ce=(t,r)=>{const o=t.__vccOpts||t;for(const[d,s]of r)o[d]=s;return o},Oe={key:0,class:"ad-placement-tool"},Me={key:0,ref:"popover"},de=ce({__name:"AdPlacement.ce",props:{areaId:{type:String,default:""},mobileBreakpoint:{type:String,default:"768px"}},setup(t){const r=t,o=e.useTemplateRef("popover"),{isFinished:d,data:s,error:l}=Ve(`${te.VBR_API_BASE_URL}/internal/ad-placement?areaid=${r.areaId}`,{timeout:1e3}).get().json(),{hide:a}=Ne(o,e.computed(()=>s.value?.closeTimeout??3e4),{check:()=>M.cookie.checkCookie(`mjsz-popover-${s.value?._id}`),set:()=>M.cookie.setCookie(`mjsz-popover-${s.value?._id}`,1,s.value?.expiration??1)});return(n,c)=>e.unref(d)&&!e.unref(l)?(e.openBlock(),e.createElementBlock("div",Oe,[e.unref(s).type==="popover"?(e.openBlock(),e.createElementBlock("dialog",Me,[e.createVNode(se,{"current-ad":e.unref(s),"mobile-breakpoint":t.mobileBreakpoint},null,8,["current-ad","mobile-breakpoint"]),e.createElementVNode("button",{type:"button",class:"close",onClick:c[0]||(c[0]=(...i)=>e.unref(a)&&e.unref(a)(...i))})],512)):(e.openBlock(),e.createBlock(se,{key:1,"current-ad":e.unref(s),"mobile-breakpoint":t.mobileBreakpoint},null,8,["current-ad","mobile-breakpoint"]))])):e.createCommentVNode("",!0)}},[["styles",[$e,De]],["__scopeId","data-v-163816f4"]]),Re={selection:{seasons:"Seasons",sections:"Sections",phases:"Phases",phasesDivision:"Phases (phase-Name=division)",championships:"Championships",championshipName:"Championship Name (Championship-Name):",championshipId:"Championship Identifier (Championship-id):",seasonId:"Season Identifier (season-Id):"}},Ue={selection:{seasons:"Szezonok",sections:"Szakaszok",phases:"Szakaszok",phasesDivision:"Fázisok (phase-Name=division)",championships:"Bajnokságok",championshipName:"Bajnokság Neve (Championship-Name):",championshipId:"Bajnokság azonosító (Championship-id):",seasonId:"Szezon azonosító (season-Id):"}},Q=t=>r=>M.prop(t,M.head(r));function He(t,r){r.seasonsList=t,r.seasonId=Q("id")(t)}function Ke(t,r){r.championshipList=t,r.championshipId=Q("championshipId")(t)}function Ge(t,r){r.sections=t,r.sectionId=Q("sectionId")(t)}const Je={__name:"DataProvider",props:{apiKey:{type:String,default:""},locale:{type:String,default:"hu"}},setup(t){const r=t,o=e.reactive({seasonsList:[],seasonId:null,championshipList:[],championshipId:null,sections:[],sectionId:null}),{onError:d}=T.useError(),{isLoading:s,execute:l}=T.useServices({options:{path:"/v2/all-season-list",apiKey:r.apiKey,params:{}},transform:p=>He(p,o),onError:d}),{isLoading:a,execute:n}=T.useServices({options:{path:"/v2/championship-list",apiKey:r.apiKey,params:e.computed(()=>({seasonId:o.seasonId}))},transform:p=>Ke(p,o),onError:d}),{isLoading:c,execute:i}=T.useServices({options:{path:"/v2/championship-sections",apiKey:r.apiKey,params:e.computed(()=>({championshipId:o.championshipId}))},transform:p=>Ge(p,o),onError:d}),v=e.computed(()=>o.sections?.find(p=>p.sectionId===o.sectionId)?.phases??[]);ie([l,n,i]);const m=e.computed(()=>[s.value,a.value,c.value].some(Boolean));function f(p){o.seasonId=p,ie([n,i])}function h(p){o.championshipId=p,i()}function w(p){o.sectionId=p}return(p,u)=>e.renderSlot(p.$slots,"default",e.normalizeProps(e.guardReactiveProps({...o,isLoading:m.value,phaseData:v.value,onChangeSeason:f,onChangeSection:w,onChangeChampionship:h})))}},We=["value"],qe=["value"],Qe={__name:"Selector",props:{seasonsList:{type:Array,default:()=>[]},seasonId:{type:Number,default:null},championshipList:{type:Array,default:()=>[]},championshipId:{type:Number,default:null}},emits:["update:seasonId","update:championshipId"],setup(t,{emit:r}){const o=t,d=r,{t:s}=T.useI18n(),{seasonId:l,championshipId:a}=Se(o,d);return(n,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(_.FormField),{label:e.unref(s)("selection.seasons"),name:"season",class:"full-width mb-md"},{default:e.withCtx(()=>[e.createVNode(e.unref(_.BaseSelect),{id:"season",modelValue:e.unref(l),"onUpdate:modelValue":c[0]||(c[0]=i=>e.isRef(l)?l.value=i:null)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.seasonsList,i=>(e.openBlock(),e.createElementBlock("option",{key:i.id,value:i.id},e.toDisplayString(i.seasonName),9,We))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"]),e.createVNode(e.unref(_.FormField),{label:e.unref(s)("selection.championships"),name:"championship",class:"full-width"},{default:e.withCtx(()=>[e.createVNode(e.unref(_.BaseSelect),{id:"championship",modelValue:e.unref(a),"onUpdate:modelValue":c[1]||(c[1]=i=>e.isRef(a)?a.value=i:null)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.championshipList,i=>(e.openBlock(),e.createElementBlock("option",{key:i.championshipId,value:i.championshipId},e.toDisplayString(i.championshipName),9,qe))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"])],64))}},Xe=`@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:"";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}`,Ye=`@layer components.variables{:where(:host){--mvw-form-label-font-size: var(--font-size-200);--mvw-form-label-color: var(--mvw-text-muted);--mvw-input-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-input-font-size: var(--font-size-400);--mvw-input-border-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-input-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-input-border-radius: var(--radius-2)}}@layer components{:where(.form-field){--_border-color: var(--mvw-input-border-color);--_bg-color: var(--mvw-input-bg-color);--_height: var(--size-32);--_color: var(--mvw-input-color);--_field-padding-block: var(--size-6);--_field-padding-inline: var(--size-10);contain:layout;position:relative;color:var(--mvw-text-default)}:where(.form-field) pre,:where(.form-field) input,:where(.form-field) select{appearance:none;block-size:var(--_height);min-inline-size:0;font-family:inherit;font-size:var(--mvw-input-font-size);color:var(--_color);line-height:var(--font-lineheight-100);background-color:var(--_bg-color);border:var(--field-border-width, 1px) solid var(--_border-color);border-radius:var(--mvw-input-border-radius);padding:var(--_field-padding-block) var(--_field-padding-inline)}:where(.form-field) select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right var(--size-6) center;background-size:16px 12px;padding-inline-end:var(--size-24)}:where(.form-field) pre{line-height:var(--font-lineheight-500)}:where(.form-field) input::placeholder{color:rgb(from var(--_color) r g b / 50%)}:where(.form-field) label{display:block;font-size:var(--mvw-form-label-font-size);line-height:var(--font-lineheight-700);color:var(--mvw-form-label-color);text-transform:uppercase;font-weight:700}:where(:where(.form-field).full-width input,:where(.form-field).full-width select){inline-size:100%}}`,Ze="@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}",et="@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}",tt=".main-layout[data-v-71f9e995]{display:grid;gap:var(--size-16)}@media (width > 60ch){.main-layout[data-v-71f9e995]{grid-template-columns:25ch 1fr}}",rt={class:"main-layout"},ot=["textContent"],at=["textContent"],nt=["textContent"],it={id:"sections",class:"tabs filled"},lt=["aria-label"],st=["aria-selected","onClick"],ct=["textContent"],me=ce({__name:"IvrIdentifiers.ce",props:{locale:{type:String,default:"hu"},apiKey:{type:String,default:""}},setup(t){const r=t,o={en:Re,hu:Ue};return(d,s)=>(e.openBlock(),e.createBlock(e.unref(_.I18NProvider),{locale:r.locale,messages:o},{default:e.withCtx(({t:l})=>[e.createVNode(e.unref(_.ErrorProvider),null,{default:e.withCtx(({error:a,hasError:n})=>[n?(e.openBlock(),e.createBlock(e.unref(_.ErrorNotice),{key:0,error:a},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(Je,null,{default:e.withCtx(({seasonsList:c,seasonId:i,championshipList:v,championshipId:m,sections:f,sectionId:h,phaseData:w,onChangeSeason:p,onChangeSection:u,onChangeChampionship:b})=>[e.createElementVNode("div",rt,[e.createElementVNode("div",null,[e.createVNode(Qe,{"seasons-list":c,"season-id":i,"championship-list":v,"championship-id":m,"onUpdate:seasonId":p,"onUpdate:championshipId":b},null,8,["seasons-list","season-id","championship-list","championship-id","onUpdate:seasonId","onUpdate:championshipId"])]),e.createElementVNode("div",null,[e.createVNode(e.unref(_.FormField),{label:l("selection.championships"),name:"seasonId",class:"mb-md"},{default:e.withCtx(()=>[e.createElementVNode("span",{id:"seasonId",textContent:e.toDisplayString(i)},null,8,ot)]),_:2},1032,["label"]),e.createVNode(e.unref(_.FormField),{label:l("selection.championshipName"),name:"championshipName",class:"mb-md"},{default:e.withCtx(()=>[e.createElementVNode("span",{id:"championshipName",textContent:e.toDisplayString(v.find(y=>y.championshipId===m)?.championshipName)},null,8,at)]),_:2},1032,["label"]),e.createVNode(e.unref(_.FormField),{label:l("selection.championshipId"),name:"championshipId",class:"mb-md"},{default:e.withCtx(()=>[e.createElementVNode("span",{id:"championshipId",textContent:e.toDisplayString(m)},null,8,nt)]),_:2},1032,["label"]),e.createVNode(e.unref(_.FormField),{label:l("selection.sections"),name:"sections",class:"mb-md"},{default:e.withCtx(()=>[e.createElementVNode("nav",it,[e.createElementVNode("div",{role:"tablist","aria-label":l("selection.sections")},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f,y=>(e.openBlock(),e.createElementBlock("button",{key:y.phaseId,role:"tab","aria-selected":y.sectionId===h,onClick:g=>u(y.sectionId)},e.toDisplayString(y.sectionName),9,st))),128))],8,lt)])]),_:2},1032,["label"]),e.createVNode(e.unref(_.FormField),{label:l("selection.phasesDivision"),name:"phases",class:"mb-md"},{default:e.withCtx(()=>[e.createElementVNode("pre",{id:"phases",style:{"--_height":"auto"},textContent:e.toDisplayString(w)},null,8,ct)]),_:2},1032,["label"])])])]),_:2},1024)]),_:2},1024)]),_:1},8,["locale"]))}},[["styles",[Xe,Ye,Ze,et,tt]],["__scopeId","data-v-71f9e995"]]),pe=e.defineCustomElement(de),he=e.defineCustomElement(me);function ve(){customElements.define("mjsz-ad-placement",pe),customElements.define("mjsz-ivr-identifiers",he)}const dt={install:()=>ve()};return V.AdPlacement=de,V.AdPlacementCE=pe,V.IVRIdentifiers=me,V.IVRIdentifiersCE=he,V.default=dt,V.register=ve,Object.defineProperties(V,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),V}({},Vue,MjszVbrElementsCore,MjszVbrElementsCore,MjszVbrElementsCore,MjszVbrElementsCore);
8
+ var MjszVbrElementsInternal=function(V,e,te,M,_,T){"use strict";function U(t){return e.getCurrentScope()?(e.onScopeDispose(t),!0):!1}function H(){const t=new Set,r=l=>{t.delete(l)};return{on:l=>{t.add(l);const a=()=>r(l);return U(a),{off:a}},off:r,trigger:(...l)=>Promise.all(Array.from(t).map(a=>a(...l))),clear:()=>{t.clear()}}}const re=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ue=t=>typeof t<"u",ge=Object.prototype.toString,be=t=>ge.call(t)==="[object Object]",K=()=>{};function G(...t){if(t.length!==1)return e.toRef(...t);const r=t[0];return typeof r=="function"?e.readonly(e.customRef(()=>({get:r,set:K}))):e.ref(r)}function oe(t,r=!1,o="Timeout"){return new Promise((d,s)=>{setTimeout(r?()=>s(o):d,t)})}function ye(t,...r){return r.some(o=>o in t)}function J(t){return Array.isArray(t)?t:[t]}function W(t,r=!1){function o(m,{flush:f="sync",deep:h=!1,timeout:w,throwOnTimeout:p}={}){let u=null;const y=[new Promise(g=>{u=e.watch(t,z=>{m(z)!==r&&(u?u():e.nextTick(()=>u?.()),g(z))},{flush:f,deep:h,immediate:!0})})];return w!=null&&y.push(oe(w,p).then(()=>e.toValue(t)).finally(()=>u?.())),Promise.race(y)}function d(m,f){if(!e.isRef(m))return o(z=>z===m,f);const{flush:h="sync",deep:w=!1,timeout:p,throwOnTimeout:u}=f??{};let b=null;const g=[new Promise(z=>{b=e.watch([t,m],([I,C])=>{r!==(I===C)&&(b?b():e.nextTick(()=>b?.()),z(I))},{flush:h,deep:w,immediate:!0})})];return p!=null&&g.push(oe(p,u).then(()=>e.toValue(t)).finally(()=>(b?.(),e.toValue(t)))),Promise.race(g)}function s(m){return o(f=>!!f,m)}function l(m){return d(null,m)}function a(m){return d(void 0,m)}function n(m){return o(Number.isNaN,m)}function c(m,f){return o(h=>{const w=Array.from(h);return w.includes(m)||w.includes(e.toValue(m))},f)}function i(m){return v(1,m)}function v(m=1,f){let h=-1;return o(()=>(h+=1,h>=m),f)}return Array.isArray(e.toValue(t))?{toMatch:o,toContains:c,changed:i,changedTimes:v,get not(){return W(t,!r)}}:{toMatch:o,toBe:d,toBeTruthy:s,toBeNull:l,toBeNaN:n,toBeUndefined:a,changed:i,changedTimes:v,get not(){return W(t,!r)}}}function xe(t){return W(t)}function ae(t,r,o={}){const{immediate:d=!0,immediateCallback:s=!1}=o,l=e.shallowRef(!1);let a;function n(){a&&(clearTimeout(a),a=void 0)}function c(){l.value=!1,n()}function i(...v){s&&t(),n(),l.value=!0,a=setTimeout(()=>{l.value=!1,a=void 0,t(...v)},e.toValue(r))}return d&&(l.value=!0,re&&i()),U(c),{isPending:e.shallowReadonly(l),start:i,stop:c}}function ke(t,r,o){return e.watch(t,r,{...o,immediate:!0})}const ne=re?window:void 0;function ze(t){var r;const o=e.toValue(t);return(r=o?.$el)!=null?r:o}function _e(...t){const r=[],o=()=>{r.forEach(n=>n()),r.length=0},d=(n,c,i,v)=>(n.addEventListener(c,i,v),()=>n.removeEventListener(c,i,v)),s=e.computed(()=>{const n=J(e.toValue(t[0])).filter(c=>c!=null);return n.every(c=>typeof c!="string")?n:void 0}),l=ke(()=>{var n,c;return[(c=(n=s.value)==null?void 0:n.map(i=>ze(i)))!=null?c:[ne].filter(i=>i!=null),J(e.toValue(s.value?t[1]:t[0])),J(e.unref(s.value?t[2]:t[1])),e.toValue(s.value?t[3]:t[2])]},([n,c,i,v])=>{if(o(),!n?.length||!c?.length||!i?.length)return;const m=be(v)?{...v}:v;r.push(...n.flatMap(f=>c.flatMap(h=>i.map(w=>d(f,h,w,m)))))},{flush:"post"}),a=()=>{l(),o()};return U(o),a}function ie(t,r){const{interrupt:o=!0,onError:d=K,onFinished:s=K,signal:l}={},a={aborted:"aborted",fulfilled:"fulfilled",pending:"pending",rejected:"rejected"},n=Array.from(Array.from({length:t.length}),()=>({state:a.pending,data:null})),c=e.reactive(n),i=e.shallowRef(-1);if(!t||t.length===0)return s(),{activeIndex:i,result:c};function v(m,f){i.value++,c[i.value].data=f,c[i.value].state=m}return t.reduce((m,f)=>m.then(h=>{var w;if(l?.aborted){v(a.aborted,new Error("aborted"));return}if(((w=c[i.value])==null?void 0:w.state)===a.rejected&&o){s();return}const p=f(h).then(u=>(v(a.fulfilled,u),i.value===t.length-1&&s(),u));return l?Promise.race([p,Ce(l)]):p}).catch(h=>l?.aborted?(v(a.aborted,h),h):(v(a.rejected,h),d(),h)),Promise.resolve()),{activeIndex:i,result:c}}function Ce(t){return new Promise((r,o)=>{const d=new Error("aborted");t.aborted?o(d):t.addEventListener("abort",()=>o(d),{once:!0})})}function Ee(t){return JSON.parse(JSON.stringify(t))}const Ie={json:"application/json",text:"text/plain"};function le(t){return t&&ye(t,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function q(t){return typeof Headers<"u"&&t instanceof Headers?Object.fromEntries(t.entries()):t}function Ve(t,...r){var o,d;const s=typeof AbortController=="function";let l={},a={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const n={method:"GET",type:"text",payload:void 0};r.length>0&&(le(r[0])?a={...a,...r[0]}:l=r[0]),r.length>1&&le(r[1])&&(a={...a,...r[1]});const{fetch:c=(d=(o=ne)==null?void 0:o.fetch)!=null?d:globalThis?.fetch,initialData:i,timeout:v}=a,m=H(),f=H(),h=H(),w=e.shallowRef(!1),p=e.shallowRef(!1),u=e.shallowRef(!1),b=e.shallowRef(null),y=e.shallowRef(null),g=e.shallowRef(null),z=e.shallowRef(i||null),I=e.computed(()=>s&&p.value);let C,P;const X=x=>{s&&(C?.abort(x),C=new AbortController,C.signal.onabort=()=>u.value=!0,l={...l,signal:C.signal})},Y=x=>{p.value=x,w.value=!x};v&&(P=ae(X,v,{immediate:!1}));let Z=0;const F=async(x=!1)=>{var E,j;X(),Y(!0),g.value=null,b.value=null,u.value=!1,Z+=1;const D=Z,S={method:n.method,headers:{}},L=e.toValue(n.payload);if(L){const k=q(S.headers),O=Object.getPrototypeOf(L);!n.payloadType&&L&&(O===Object.prototype||Array.isArray(O))&&!(L instanceof FormData)&&(n.payloadType="json"),n.payloadType&&(k["Content-Type"]=(E=Ie[n.payloadType])!=null?E:n.payloadType),S.body=n.payloadType==="json"?JSON.stringify(L):L}let we=!1;const N={url:e.toValue(t),options:{...S,...l},cancel:()=>{we=!0}};if(a.beforeFetch&&Object.assign(N,await a.beforeFetch(N)),we||!c)return Y(!1),Promise.resolve(null);let A=null;return P&&P.start(),c(N.url,{...S,...N.options,headers:{...q(S.headers),...q((j=N.options)==null?void 0:j.headers)}}).then(async k=>{if(y.value=k,b.value=k.status,A=await k.clone()[n.type](),!k.ok)throw z.value=i||null,new Error(k.statusText);return a.afterFetch&&({data:A}=await a.afterFetch({data:A,response:k,context:N,execute:F})),z.value=A,m.trigger(k),k}).catch(async k=>{let O=k.message||k.name;if(a.onFetchError&&({error:O,data:A}=await a.onFetchError({data:A,error:k,response:y.value,context:N,execute:F})),g.value=O,a.updateDataOnError&&(z.value=A),f.trigger(k),x)throw k;return null}).finally(()=>{D===Z&&Y(!1),P&&P.stop(),h.trigger(null)})},fe=G(a.refetch);e.watch([fe,G(t)],([x])=>x&&F(),{deep:!0});const R={isFinished:e.readonly(w),isFetching:e.readonly(p),statusCode:b,response:y,error:g,data:z,canAbort:I,aborted:u,abort:X,execute:F,onFetchResponse:m.on,onFetchError:f.on,onFetchFinally:h.on,get:B("GET"),put:B("PUT"),post:B("POST"),delete:B("DELETE"),patch:B("PATCH"),head:B("HEAD"),options:B("OPTIONS"),json:$("json"),text:$("text"),blob:$("blob"),arrayBuffer:$("arrayBuffer"),formData:$("formData")};function B(x){return(E,j)=>{if(!p.value)return n.method=x,n.payload=E,n.payloadType=j,e.isRef(n.payload)&&e.watch([fe,G(n.payload)],([D])=>D&&F(),{deep:!0}),{...R,then(D,S){return ee().then(D,S)}}}}function ee(){return new Promise((x,E)=>{xe(w).toBe(!0).then(()=>x(R)).catch(E)})}function $(x){return()=>{if(!p.value)return n.type=x,{...R,then(E,j){return ee().then(E,j)}}}}return a.immediate&&Promise.resolve().then(()=>F()),{...R,then(x,E){return ee().then(x,E)}}}function Be(t,r,o,d={}){var s,l,a;const{clone:n=!1,passive:c=!1,eventName:i,deep:v=!1,defaultValue:m,shouldEmit:f}=d,h=e.getCurrentInstance(),w=o||h?.emit||((s=h?.$emit)==null?void 0:s.bind(h))||((a=(l=h?.proxy)==null?void 0:l.$emit)==null?void 0:a.bind(h?.proxy));let p=i;r||(r="modelValue"),p=p||`update:${r.toString()}`;const u=g=>n?typeof n=="function"?n(g):Ee(g):g,b=()=>ue(t[r])?u(t[r]):m,y=g=>{f?f(g)&&w(p,g):w(p,g)};if(c){const g=b(),z=e.ref(g);let I=!1;return e.watch(()=>t[r],C=>{I||(I=!0,z.value=u(C),e.nextTick(()=>I=!1))}),e.watch(z,C=>{!I&&(C!==t[r]||v)&&y(C)},{deep:v}),z}else return e.computed({get(){return b()},set(g){y(g)}})}function Se(t,r,o={}){const d={};for(const s in t)d[s]=Be(t,s,r,o);return d}function Ne(t,r=3e4,{check:o,set:d}){const{start:s,stop:l}=ae(n,r,{immediate:!1});_e(t,"click",c=>{c.target===e.unref(t)&&n()}),e.watch(t,c=>{c&&(o?.()||(a(),s()))});function a(){d?.(),e.unref(t).showModal()}function n(){e.unref(t).close(),l()}return{hide:n}}const Ae=["width","height"],Fe=["src","type"],je={key:1},Le=["srcset","media"],Te=["src"],Pe=["src"],se=e.defineComponent({__name:"Media",props:{currentAd:{type:Object,required:!0},mobileBreakpoint:{type:String,required:!0}},setup(t){const r=t,o=e.computed(()=>`(min-width: ${r.currentAd?.breakpoint||r.mobileBreakpoint})`);function d(s){return`${te.VBR_API_BASE_URL}${s}`}return(s,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.currentAd.link?"a":"div"),{href:t.currentAd.link||void 0,target:t.currentAd.link?"_blank":void 0},{default:e.withCtx(()=>[t.currentAd.media?.[0]?.mediaType?.includes("video")?(e.openBlock(),e.createElementBlock("video",{key:0,width:t.currentAd.media?.[0].width,height:t.currentAd.media?.[0].height,autoplay:"",muted:""},[e.createElementVNode("source",{src:t.currentAd.media?.[0]?.media,type:t.currentAd.media?.[0]?.mediaType},null,8,Fe)],8,Ae)):(e.openBlock(),e.createElementBlock("picture",je,[t.currentAd.type==="responsive"?(e.openBlock(),e.createElementBlock("source",{key:0,srcset:d(t.currentAd.media[1].path),media:o.value},null,8,Le)):e.createCommentVNode("",!0),t.currentAd.type==="popover"?(e.openBlock(),e.createElementBlock("img",{key:1,src:d(t.currentAd.media?.[0].path),style:e.normalizeStyle(`width: clamp(0px, ${t.currentAd.media?.[0].width}px, 750px); height: auto;`)},null,12,Te)):(e.openBlock(),e.createElementBlock("img",{key:2,src:d(t.currentAd.media?.[0].path)},null,8,Pe))]))]),_:1},8,["href","target"]))}}),$e='dialog[data-v-40520dc3]:open{display:grid;grid-template-areas:"stack";opacity:1}dialog[data-v-40520dc3]{--popover-padding: var(--size-10);padding:var(--popover-padding);border-radius:8px;background-color:var(--mvw-color-white);opacity:0;transition:opacity .3s,overlay .3s allow-discrete,display .3s allow-discrete}dialog[data-v-40520dc3] :is(button,a){grid-area:stack}dialog[data-v-40520dc3] :where(a){outline:none}dialog[data-v-40520dc3] :where(img,video){display:block;object-fit:cover}dialog button[data-v-40520dc3]{align-self:start;justify-self:end}@starting-style{dialog[data-v-40520dc3]:open{opacity:0}}dialog[data-v-40520dc3]::backdrop{background-color:transparent;transition:display .3s allow-discrete,overlay .3s allow-discrete,background-color .3s;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}dialog[data-v-40520dc3]:open::backdrop{background-color:#000000bf}@starting-style{dialog[data-v-40520dc3]:open::backdrop{background-color:transparent}}.ad-placement-tool[data-v-40520dc3] :where(img,video){opacity:1}.ad-placement-tool[data-v-40520dc3] :where(a[target=_blank]):after{content:none}.ad-placement-tool .close[data-v-40520dc3]{position:absolute;right:calc(var(--popover-padding) * -1);top:calc(var(--popover-padding) * -1);width:24px;height:24px;margin:0;padding:0;background:#fff;border:none;border-end-start-radius:8px}.ad-placement-tool .close[data-v-40520dc3]:before,.ad-placement-tool .close[data-v-40520dc3]:after{position:absolute;left:43%;top:5px;content:" ";height:16px;width:2px;background-color:#333}.ad-placement-tool .close[data-v-40520dc3]:before{transform:rotate(45deg)}.ad-placement-tool .close[data-v-40520dc3]:after{transform:rotate(-45deg)}',De=`@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:"";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}`,ce=(t,r)=>{const o=t.__vccOpts||t;for(const[d,s]of r)o[d]=s;return o},Oe={key:0,class:"ad-placement-tool"},Me={key:0,ref:"popover"},de=ce({__name:"AdPlacement.ce",props:{areaId:{type:String,default:""},mobileBreakpoint:{type:String,default:"768px"}},setup(t){const r=t,o=e.useTemplateRef("popover"),{isFinished:d,data:s,error:l}=Ve(`${te.VBR_API_BASE_URL}/internal/ad-placement?areaid=${r.areaId}`,{timeout:1e3}).get().json(),{hide:a}=Ne(o,e.computed(()=>s.value?.closeTimeout??3e4),{check:()=>M.cookie.checkCookie(`mjsz-popover-${s.value?._id}`),set:()=>M.cookie.setCookie(`mjsz-popover-${s.value?._id}`,1,s.value?.expiration??1)});return(n,c)=>e.unref(d)&&!e.unref(l)?(e.openBlock(),e.createElementBlock("div",Oe,[e.unref(s).type==="popover"?(e.openBlock(),e.createElementBlock("dialog",Me,[e.createVNode(se,{"current-ad":e.unref(s),"mobile-breakpoint":t.mobileBreakpoint},null,8,["current-ad","mobile-breakpoint"]),e.createElementVNode("button",{type:"button",class:"close",onClick:c[0]||(c[0]=(...i)=>e.unref(a)&&e.unref(a)(...i))})],512)):(e.openBlock(),e.createBlock(se,{key:1,"current-ad":e.unref(s),"mobile-breakpoint":t.mobileBreakpoint},null,8,["current-ad","mobile-breakpoint"]))])):e.createCommentVNode("",!0)}},[["styles",[$e,De]],["__scopeId","data-v-40520dc3"]]),Re={selection:{seasons:"Seasons",sections:"Sections",phases:"Phases",phasesDivision:"Phases (phase-Name=division)",championships:"Championships",championshipName:"Championship Name (Championship-Name):",championshipId:"Championship Identifier (Championship-id):",seasonId:"Season Identifier (season-Id):"}},Ue={selection:{seasons:"Szezonok",sections:"Szakaszok",phases:"Szakaszok",phasesDivision:"Fázisok (phase-Name=division)",championships:"Bajnokságok",championshipName:"Bajnokság Neve (Championship-Name):",championshipId:"Bajnokság azonosító (Championship-id):",seasonId:"Szezon azonosító (season-Id):"}},Q=t=>r=>M.prop(t,M.head(r));function He(t,r){r.seasonsList=t,r.seasonId=Q("id")(t)}function Ke(t,r){r.championshipList=t,r.championshipId=Q("championshipId")(t)}function Ge(t,r){r.sections=t,r.sectionId=Q("sectionId")(t)}const Je={__name:"DataProvider",props:{apiKey:{type:String,default:""},locale:{type:String,default:"hu"}},setup(t){const r=t,o=e.reactive({seasonsList:[],seasonId:null,championshipList:[],championshipId:null,sections:[],sectionId:null}),{onError:d}=T.useError(),{isLoading:s,execute:l}=T.useServices({options:{path:"/v2/all-season-list",apiKey:r.apiKey,params:{}},transform:p=>He(p,o),onError:d}),{isLoading:a,execute:n}=T.useServices({options:{path:"/v2/championship-list",apiKey:r.apiKey,params:e.computed(()=>({seasonId:o.seasonId}))},transform:p=>Ke(p,o),onError:d}),{isLoading:c,execute:i}=T.useServices({options:{path:"/v2/championship-sections",apiKey:r.apiKey,params:e.computed(()=>({championshipId:o.championshipId}))},transform:p=>Ge(p,o),onError:d}),v=e.computed(()=>o.sections?.find(p=>p.sectionId===o.sectionId)?.phases??[]);ie([l,n,i]);const m=e.computed(()=>[s.value,a.value,c.value].some(Boolean));function f(p){o.seasonId=p,ie([n,i])}function h(p){o.championshipId=p,i()}function w(p){o.sectionId=p}return(p,u)=>e.renderSlot(p.$slots,"default",e.normalizeProps(e.guardReactiveProps({...o,isLoading:m.value,phaseData:v.value,onChangeSeason:f,onChangeSection:w,onChangeChampionship:h})))}},We=["value"],qe=["value"],Qe={__name:"Selector",props:{seasonsList:{type:Array,default:()=>[]},seasonId:{type:Number,default:null},championshipList:{type:Array,default:()=>[]},championshipId:{type:Number,default:null}},emits:["update:seasonId","update:championshipId"],setup(t,{emit:r}){const o=t,d=r,{t:s}=T.useI18n(),{seasonId:l,championshipId:a}=Se(o,d);return(n,c)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(_.FormField),{label:e.unref(s)("selection.seasons"),name:"season",class:"full-width mb-md"},{default:e.withCtx(()=>[e.createVNode(e.unref(_.BaseSelect),{id:"season",modelValue:e.unref(l),"onUpdate:modelValue":c[0]||(c[0]=i=>e.isRef(l)?l.value=i:null)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.seasonsList,i=>(e.openBlock(),e.createElementBlock("option",{key:i.id,value:i.id},e.toDisplayString(i.seasonName),9,We))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"]),e.createVNode(e.unref(_.FormField),{label:e.unref(s)("selection.championships"),name:"championship",class:"full-width"},{default:e.withCtx(()=>[e.createVNode(e.unref(_.BaseSelect),{id:"championship",modelValue:e.unref(a),"onUpdate:modelValue":c[1]||(c[1]=i=>e.isRef(a)?a.value=i:null)},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.championshipList,i=>(e.openBlock(),e.createElementBlock("option",{key:i.championshipId,value:i.championshipId},e.toDisplayString(i.championshipName),9,qe))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"])],64))}},Xe=`@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:"";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}`,Ye=`@layer components.variables{:where(:host){--mvw-form-label-font-size: var(--font-size-200);--mvw-form-label-color: var(--mvw-text-muted);--mvw-input-color: light-dark(var(--mvw-color-primary-800), var(--mvw-color-primary-200));--mvw-input-font-size: var(--font-size-400);--mvw-input-border-color: light-dark(var(--mvw-color-primary-300), var(--mvw-color-primary-700));--mvw-input-bg-color: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-input-border-radius: var(--radius-2)}}@layer components{:where(.form-field){--_border-color: var(--mvw-input-border-color);--_bg-color: var(--mvw-input-bg-color);--_height: var(--size-32);--_color: var(--mvw-input-color);--_field-padding-block: var(--size-6);--_field-padding-inline: var(--size-10);contain:layout;position:relative;color:var(--mvw-text-default)}:where(.form-field) pre,:where(.form-field) input,:where(.form-field) select{appearance:none;block-size:var(--_height);min-inline-size:0;font-family:inherit;font-size:var(--mvw-input-font-size);color:var(--_color);line-height:var(--font-lineheight-100);background-color:var(--_bg-color);border:var(--field-border-width, 1px) solid var(--_border-color);border-radius:var(--mvw-input-border-radius);padding:var(--_field-padding-block) var(--_field-padding-inline)}:where(.form-field) select{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23888' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right var(--size-6) center;background-size:16px 12px;padding-inline-end:var(--size-24)}:where(.form-field) pre{line-height:var(--font-lineheight-500)}:where(.form-field) input::placeholder{color:rgb(from var(--_color) r g b / 50%)}:where(.form-field) label{display:block;font-size:var(--mvw-form-label-font-size);line-height:var(--font-lineheight-700);color:var(--mvw-form-label-color);text-transform:uppercase;font-weight:700}:where(:where(.form-field).full-width input,:where(.form-field).full-width select){inline-size:100%}}`,Ze="@layer components.variables{:where(:host){--mvw-tab-btn-font-size: var(--font-size-500);--mvw-tab-btn-font-weight: 500;--mvw-tab-btn-color: var(--mvw-text-dimmed);--mvw-tab-btn-border-style: solid;--mvw-tab-btn-border-width: 0 0 3px 0;--mvw-tab-btn-text-transform: uppercase;--mvw-tab-btn-hover-color: var(--mvw-text-muted);--mvw-tab-btn-hover-border-color: transparent;--mvw-tab-btn-active-color: var(--mvw-text-highlighted);--mvw-tab-btn-active-border-color: var(--mvw-border-highlighted);--mvw-tab-btn-group-separator-color: var(--mvw-border-muted);--mvw-toggle-group-gap: var(--size-6);--mvw-toggle-group-nav-padding: 0;--mvw-toggle-group-border-width: 0;--mvw-toggle-group-btn-padding: var(--size-4) var(--size-8);--mvw-toggle-group-btn-size: var(--font-size-400);--mvw-toggle-group-btn-color: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-100));--mvw-toggle-group-btn-bg-color: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-toggle-group-btn-active-color: var(--mvw-color-primary-0);--mvw-toggle-group-btn-active-bg-color: var(--mvw-bg-highlighted);--mvw-toggle-group-btn-radius: var(--radius-2)}}@layer components{:where(nav.tabs)>[role=tablist] button{outline-color:transparent;outline-offset:-4px}:where(nav.tabs)>[role=tablist] button:focus-visible{outline:2px solid blue}:where(nav.tabs).underlined>[role=tablist]{border-bottom:1px solid var(--mvw-tab-btn-group-separator-color)}:where(nav.tabs).underlined>[role=tablist] button{background:transparent;color:var(--mvw-tab-btn-color);font-weight:var(--mvw-tab-btn-font-weight);line-height:var(--font-lineheight-4);padding:var(--size-8) var(--size-16);text-transform:var(--mvw-tab-btn-text-transform)}:where(nav.tabs).underlined>[role=tablist] button:focus-visible{border-radius:0}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=true]{border-block-end:3px solid var(--mvw-tab-btn-active-border-color);color:var(--mvw-tab-btn-active-color)}:where(nav.tabs).underlined>[role=tablist] button[aria-selected=false]:hover{color:var(--mvw-tab-btn-hover-color)}:where(nav.tabs).filled>[role=tablist]{display:flex;gap:var(--mvw-toggle-group-gap);border:var(--mvw-toggle-group-border-width) solid var(--mvw-border-muted);border-radius:calc(var(--mvw-toggle-group-btn-radius) + var(--mvw-toggle-group-nav-padding));overflow:hidden;padding:var(--mvw-toggle-group-nav-padding);width:fit-content}:where(nav.tabs).filled>[role=tablist] button{background-color:var(--mvw-toggle-group-btn-bg-color);border-radius:var(--mvw-toggle-group-btn-radius);font-size:var(--mvw-toggle-group-btn-size);color:var(--mvw-toggle-group-btn-color);padding:var(--mvw-toggle-group-btn-padding)}:where(nav.tabs).filled>[role=tablist] button[aria-selected=true]{color:var(--mvw-toggle-group-btn-active-color);background-color:var(--mvw-toggle-group-btn-active-bg-color)}}",et="@layer components.variables{:where(:host){--mvw-color-error-notice-bg-color: color-mix(in oklab, var(--mvw-color-error) 10%, transparent);--mvw-color-error-notice-border-color: color-mix(in oklab, var(--mvw-color-error) 25%, transparent);--mvw-color-error-notice-color: var(--mvw-color-error)}}@layer components{:where(.error-notice){display:flex;align-items:center;justify-items:flex-start;gap:15px;margin:10px 0;padding:10px 20px;background-color:var(--mvw-color-error-notice-bg-color);color:var(--mvw-color-error-notice-color);border:1px solid var(--mvw-color-error-notice-border-color);border-radius:var(--radius-2)}:where(.error-notice) button{text-decoration:underline}}",tt=".main-layout[data-v-71f9e995]{display:grid;gap:var(--size-16)}@media (width > 60ch){.main-layout[data-v-71f9e995]{grid-template-columns:25ch 1fr}}",rt={class:"main-layout"},ot=["textContent"],at=["textContent"],nt=["textContent"],it={id:"sections",class:"tabs filled"},lt=["aria-label"],st=["aria-selected","onClick"],ct=["textContent"],me=ce({__name:"IvrIdentifiers.ce",props:{locale:{type:String,default:"hu"},apiKey:{type:String,default:""}},setup(t){const r=t,o={en:Re,hu:Ue};return(d,s)=>(e.openBlock(),e.createBlock(e.unref(_.I18NProvider),{locale:r.locale,messages:o},{default:e.withCtx(({t:l})=>[e.createVNode(e.unref(_.ErrorProvider),null,{default:e.withCtx(({error:a,hasError:n})=>[n?(e.openBlock(),e.createBlock(e.unref(_.ErrorNotice),{key:0,error:a},null,8,["error"])):e.createCommentVNode("",!0),e.createVNode(Je,null,{default:e.withCtx(({seasonsList:c,seasonId:i,championshipList:v,championshipId:m,sections:f,sectionId:h,phaseData:w,onChangeSeason:p,onChangeSection:u,onChangeChampionship:b})=>[e.createElementVNode("div",rt,[e.createElementVNode("div",null,[e.createVNode(Qe,{"seasons-list":c,"season-id":i,"championship-list":v,"championship-id":m,"onUpdate:seasonId":p,"onUpdate:championshipId":b},null,8,["seasons-list","season-id","championship-list","championship-id","onUpdate:seasonId","onUpdate:championshipId"])]),e.createElementVNode("div",null,[e.createVNode(e.unref(_.FormField),{label:l("selection.championships"),name:"seasonId",class:"mb-md"},{default:e.withCtx(()=>[e.createElementVNode("span",{id:"seasonId",textContent:e.toDisplayString(i)},null,8,ot)]),_:2},1032,["label"]),e.createVNode(e.unref(_.FormField),{label:l("selection.championshipName"),name:"championshipName",class:"mb-md"},{default:e.withCtx(()=>[e.createElementVNode("span",{id:"championshipName",textContent:e.toDisplayString(v.find(y=>y.championshipId===m)?.championshipName)},null,8,at)]),_:2},1032,["label"]),e.createVNode(e.unref(_.FormField),{label:l("selection.championshipId"),name:"championshipId",class:"mb-md"},{default:e.withCtx(()=>[e.createElementVNode("span",{id:"championshipId",textContent:e.toDisplayString(m)},null,8,nt)]),_:2},1032,["label"]),e.createVNode(e.unref(_.FormField),{label:l("selection.sections"),name:"sections",class:"mb-md"},{default:e.withCtx(()=>[e.createElementVNode("nav",it,[e.createElementVNode("div",{role:"tablist","aria-label":l("selection.sections")},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f,y=>(e.openBlock(),e.createElementBlock("button",{key:y.phaseId,role:"tab","aria-selected":y.sectionId===h,onClick:g=>u(y.sectionId)},e.toDisplayString(y.sectionName),9,st))),128))],8,lt)])]),_:2},1032,["label"]),e.createVNode(e.unref(_.FormField),{label:l("selection.phasesDivision"),name:"phases",class:"mb-md"},{default:e.withCtx(()=>[e.createElementVNode("pre",{id:"phases",style:{"--_height":"auto"},textContent:e.toDisplayString(w)},null,8,ct)]),_:2},1032,["label"])])])]),_:2},1024)]),_:2},1024)]),_:1},8,["locale"]))}},[["styles",[Xe,Ye,Ze,et,tt]],["__scopeId","data-v-71f9e995"]]),pe=e.defineCustomElement(de),he=e.defineCustomElement(me);function ve(){customElements.define("mjsz-ad-placement",pe),customElements.define("mjsz-ivr-identifiers",he)}const dt={install:()=>ve()};return V.AdPlacement=de,V.AdPlacementCE=pe,V.IVRIdentifiers=me,V.IVRIdentifiersCE=he,V.default=dt,V.register=ve,Object.defineProperties(V,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),V}({},Vue,MjszVbrElementsCore,MjszVbrElementsCore,MjszVbrElementsCore,MjszVbrElementsCore);
Binary file
Binary file
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/internal
3
- * version: v2.38.1 - 20/12/2025, 13:12:01
3
+ * version: v2.38.3 - 20/12/2025, 13:54:14
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
@@ -536,16 +536,16 @@ const vr = ["width", "height"], hr = ["src", "type"], ur = { key: 1 }, fr = ["sr
536
536
  target: e.currentAd.link ? "_blank" : void 0
537
537
  }, {
538
538
  default: I(() => [
539
- e.currentAd.media[0]?.mediaType?.includes("video") ? (b(), C("video", {
539
+ e.currentAd.media?.[0]?.mediaType?.includes("video") ? (b(), C("video", {
540
540
  key: 0,
541
- width: e.currentAd.media[0].width,
542
- height: e.currentAd.media[0].height,
541
+ width: e.currentAd.media?.[0].width,
542
+ height: e.currentAd.media?.[0].height,
543
543
  autoplay: "",
544
544
  muted: ""
545
545
  }, [
546
546
  L("source", {
547
- src: e.currentAd.media[0]?.media,
548
- type: e.currentAd.media[0]?.mediaType
547
+ src: e.currentAd.media?.[0]?.media,
548
+ type: e.currentAd.media?.[0]?.mediaType
549
549
  }, null, 8, hr)
550
550
  ], 8, vr)) : (b(), C("picture", ur, [
551
551
  e.currentAd.type === "responsive" ? (b(), C("source", {
@@ -555,18 +555,18 @@ const vr = ["width", "height"], hr = ["src", "type"], ur = { key: 1 }, fr = ["sr
555
555
  }, null, 8, fr)) : ve("", !0),
556
556
  e.currentAd.type === "popover" ? (b(), C("img", {
557
557
  key: 1,
558
- src: c(e.currentAd.media[0].path),
559
- style: Ve(`width: clamp(0px, ${e.currentAd.media[0].width}px, 750px); height: auto;`)
558
+ src: c(e.currentAd.media?.[0].path),
559
+ style: Ve(`width: clamp(0px, ${e.currentAd.media?.[0].width}px, 750px); height: auto;`)
560
560
  }, null, 12, wr)) : (b(), C("img", {
561
561
  key: 2,
562
- src: c(e.currentAd.media[0].path)
562
+ src: c(e.currentAd.media?.[0].path)
563
563
  }, null, 8, gr))
564
564
  ]))
565
565
  ]),
566
566
  _: 1
567
567
  }, 8, ["href", "target"]));
568
568
  }
569
- }), br = 'dialog[data-v-163816f4]:open{display:grid;grid-template-areas:"stack";opacity:1}dialog[data-v-163816f4]{--popover-padding: var(--size-10);padding:var(--popover-padding);border-radius:8px;background-color:var(--mvw-color-white);opacity:0;transition:opacity .3s,overlay .3s allow-discrete,display .3s allow-discrete}dialog[data-v-163816f4] :is(button,a){grid-area:stack}dialog[data-v-163816f4] :where(a){outline:none}dialog[data-v-163816f4] :where(img,video){display:block;object-fit:cover}dialog button[data-v-163816f4]{align-self:start;justify-self:end}@starting-style{dialog[data-v-163816f4]:open{opacity:0}}dialog[data-v-163816f4]::backdrop{background-color:transparent;transition:display .3s allow-discrete,overlay .3s allow-discrete,background-color .3s;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}dialog[data-v-163816f4]:open::backdrop{background-color:#000000bf}@starting-style{dialog[data-v-163816f4]:open::backdrop{background-color:transparent}}.ad-placement-tool[data-v-163816f4] :where(img,video){opacity:1}.ad-placement-tool[data-v-163816f4] :where(a[target=_blank]):after{background:none}.ad-placement-tool .close[data-v-163816f4]{position:absolute;right:calc(var(--popover-padding) * -1);top:calc(var(--popover-padding) * -1);width:24px;height:24px;margin:0;padding:0;background:#fff;border:none;border-end-start-radius:8px}.ad-placement-tool .close[data-v-163816f4]:before,.ad-placement-tool .close[data-v-163816f4]:after{position:absolute;left:43%;top:5px;content:" ";height:16px;width:2px;background-color:#333}.ad-placement-tool .close[data-v-163816f4]:before{transform:rotate(45deg)}.ad-placement-tool .close[data-v-163816f4]:after{transform:rotate(-45deg)}', yr = `@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:"";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}`, Te = (e, r) => {
569
+ }), br = 'dialog[data-v-40520dc3]:open{display:grid;grid-template-areas:"stack";opacity:1}dialog[data-v-40520dc3]{--popover-padding: var(--size-10);padding:var(--popover-padding);border-radius:8px;background-color:var(--mvw-color-white);opacity:0;transition:opacity .3s,overlay .3s allow-discrete,display .3s allow-discrete}dialog[data-v-40520dc3] :is(button,a){grid-area:stack}dialog[data-v-40520dc3] :where(a){outline:none}dialog[data-v-40520dc3] :where(img,video){display:block;object-fit:cover}dialog button[data-v-40520dc3]{align-self:start;justify-self:end}@starting-style{dialog[data-v-40520dc3]:open{opacity:0}}dialog[data-v-40520dc3]::backdrop{background-color:transparent;transition:display .3s allow-discrete,overlay .3s allow-discrete,background-color .3s;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}dialog[data-v-40520dc3]:open::backdrop{background-color:#000000bf}@starting-style{dialog[data-v-40520dc3]:open::backdrop{background-color:transparent}}.ad-placement-tool[data-v-40520dc3] :where(img,video){opacity:1}.ad-placement-tool[data-v-40520dc3] :where(a[target=_blank]):after{content:none}.ad-placement-tool .close[data-v-40520dc3]{position:absolute;right:calc(var(--popover-padding) * -1);top:calc(var(--popover-padding) * -1);width:24px;height:24px;margin:0;padding:0;background:#fff;border:none;border-end-start-radius:8px}.ad-placement-tool .close[data-v-40520dc3]:before,.ad-placement-tool .close[data-v-40520dc3]:after{position:absolute;left:43%;top:5px;content:" ";height:16px;width:2px;background-color:#333}.ad-placement-tool .close[data-v-40520dc3]:before{transform:rotate(45deg)}.ad-placement-tool .close[data-v-40520dc3]:after{transform:rotate(-45deg)}', yr = `@layer normalize,theme,components.variables,components,utils;:where(:host,:root){--mvw-color-white: #fff;--mvw-color-black: #000;--mvw-color-primary-0: #ffffff;--mvw-color-primary-50: #eceff1;--mvw-color-primary-100: #cfd8dc;--mvw-color-primary-200: #b0bec5;--mvw-color-primary-300: #90a4ae;--mvw-color-primary-400: #78909c;--mvw-color-primary-500: #607d8b;--mvw-color-primary-600: #546e7a;--mvw-color-primary-700: #455a64;--mvw-color-primary-800: #37474f;--mvw-color-primary-900: #263238;--mvw-color-primary-950: #182024}:where(:host,:root){--mvw-color-secondary-100: #dcedc8;--mvw-color-secondary-200: #badb94;--mvw-color-secondary-300: #aed581;--mvw-color-secondary-400: #9ccc65;--mvw-color-secondary-500: #8bc34a;--mvw-color-secondary-700: #689f38;--mvw-color-secondary-800: #558b2f;--mvw-color-secondary-900: #33691e;--mvw-color-secondary-950: #14290c}:where(:host){--radius-1: 2px;--radius-2: 5px;--radius-3: 16px;--radius-4: 32px;--radius-5: 64px;--radius-6: 96px}:where(:host){--font-size-50: .625rem;--font-size-100: .6875rem;--font-size-200: .75rem;--font-size-300: .8125rem;--font-size-400: .875rem;--font-size-500: 1rem;--font-size-600: 1.125rem;--font-size-700: 1.25rem;--font-size-800: 1.5rem;--font-size-900: 1.75rem;--font-size-950: 2rem;--font-lineheight-50: .95;--font-lineheight-100: 1;--font-lineheight-200: 1.1;--font-lineheight-300: 1.25;--font-lineheight-400: 1.375;--font-lineheight-500: 1.5;--font-lineheight-600: 1.75;--font-lineheight-700: 2}:where(:host){--size-1: 1px;--size-2: .125rem;--size-4: .25rem;--size-6: .375rem;--size-8: .5rem;--size-10: .625rem;--size-12: .75rem;--size-16: 1rem;--size-24: 1.5rem;--size-32: 2rem}:where(:host){--shadow-color: 220 3% 15%;--shadow-strength: 1%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff, inset 0 .5px 0 0 #0001;--shadow-3: 0 -1px 3px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 1px 2px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 2%)), 0 2px 5px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 4px 12px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 12px 15px -5px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%));--shadow-6: 0 -1px 2px 0 hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%)), 0 3px 2px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 7px 5px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 3%)), 0 12px 10px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 4%)), 0 22px 18px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 5%)), 0 41px 33px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 6%)), 0 100px 80px -2px hsl(var(--shadow-color) / calc(var(--shadow-strength) + 7%))}@media (prefers-color-scheme: dark){:where(:host){--shadow-color: 220 40% 2%;--shadow-strength: 25%;--inner-shadow-highlight: inset 0 -.5px 0 0 #fff1, inset 0 .5px 0 0 #0007}}:where(:host){--ease-spring-1: linear( 0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1.004 83.8%, 1 )}@layer normalize{*,:before,:after{box-sizing:border-box}*{scrollbar-width:thin}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,svg,video){block-size:auto;max-inline-size:100%}:where(img){opacity:0;transition:opacity .5s ease-out}:where(img).is-loaded{opacity:1}:where(svg:not([width])){inline-size:var(--size-16)}:where(input,button,textarea),:where(input[type=file])::-webkit-file-upload-button{color:inherit;font-size:inherit;font:inherit;letter-spacing:inherit}:where(a[href],area,button,[role=button],input,label[for],select,summary,textarea,[tabindex]:not([tabindex*="-"])){-webkit-tap-highlight-color:transparent;touch-action:manipulation}:where(:not(fieldset,progress,meter)){background-origin:border-box;background-repeat:no-repeat;border-style:solid;border-width:0}:where(button){appearance:button;-webkit-appearance:button;background-color:transparent;background-image:none}:where(dd,pre){margin:0}:where(ul,li){margin:0;padding:0}:where(ol,ul){list-style:none}}@layer theme{[data-theme=light],:host-context(.light){color-scheme:only light}[data-theme=dark],:host-context(.dark){color-scheme:only dark}:root,:host{font-family:var(--mvw-font, inherit);--mvw-color-live: #8bc34a;--mvw-color-error: #fb2c36;--mvw-color-warning: #ffc107;--mvw-color-info: #2870ed;--mvw-color-team: #ff6129;--mvw-link-color: light-dark(var(--mvw-color-secondary-700), var(--mvw-color-secondary-400));--mvw-text-pale: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-700));--mvw-text-faded: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-600));--mvw-text-dimmed: light-dark(var(--mvw-color-primary-400), var(--mvw-color-primary-500));--mvw-text-muted: light-dark(var(--mvw-color-primary-500), var(--mvw-color-primary-400));--mvw-text-toned: light-dark(var(--mvw-color-primary-600), var(--mvw-color-primary-300));--mvw-text-default: light-dark(var(--mvw-color-primary-700), var(--mvw-color-primary-200));--mvw-text-highlighted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-text-inverted: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-default: light-dark(var(--mvw-color-white), var(--mvw-color-primary-950));--mvw-bg-muted: light-dark(var(--mvw-color-primary-50), var(--mvw-color-primary-900));--mvw-bg-elevated: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-bg-accented: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-bg-highlighted: var(--mvw-color-secondary-500);--mvw-bg-inverted: light-dark(var(--mvw-color-primary-900), var(--mvw-color-primary-50));--mvw-border-faded: light-dark(var(--mvw-color-primary-100), var(--mvw-color-primary-800));--mvw-border-muted: light-dark(var(--mvw-color-primary-200), var(--mvw-color-primary-700));--mvw-border-highlighted: var(--mvw-color-secondary-500)}}@layer components{:where(a[href]){--_lighten: oklch(from var(--mvw-link-color) calc(l*1.15) c h);--_darken: oklch(from var(--mvw-link-color) calc(l*.85) c h);color:var(--mvw-link-color);text-decoration:none}:where(a[href]):hover{color:light-dark(var(--_darken),var(--_lighten))}:where(a[target=_blank]){position:relative}:where(a[target=_blank]):hover:after{transition:all 1s cubic-bezier(.075,.82,.165,1);content:"";display:inline-block;margin-inline-start:var(--size-2);background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!-- Icon from Lucide by Lucide Contributors - https://github.com/lucide-icons/lucide/blob/main/LICENSE --%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E");-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;inline-size:.8em;block-size:.8em}}@layer components{:where(.loading-indicator){padding:var(--size-16);font-weight:600;color:var(--mvw-loading-indicator-text-color, var(--mvw-text-toned));text-align:center}}@layer utils{.font-bold{font-weight:700}.italic{font-style:italic}.uppercase{text-transform:uppercase}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-start{text-align:start}.text-end{text-align:end}.text-center{text-align:center}.text-xs{font-size:var(--font-size-200)}.text-sm{font-size:var(--font-size-400)}.text-xl{font-size:var(--font-size-700)}.text-faded{color:var(--mvw-text-faded)}.text-dimmed{color:var(--mvw-text-dimmed)}.text-muted{color:var(--mvw-text-muted)}.text-toned{color:var(--mvw-text-toned)}.text-default{color:var(--mvw-text-default)}.text-highlighted{color:var(--mvw-text-highlighted)}.w-auto{width:auto}.mx-sm{margin-inline:var(--size-8)}.mb-sm{margin-block-end:var(--size-8)}.mb-md{margin-block-end:var(--size-16)}.mb-xl{margin-block-end:calc(var(--size-16) * 2)}.mt-md{margin-block-start:var(--size-16)}.mt-lg{margin-block-start:var(--size-24)}.mt-xl{margin-block-start:calc(var(--size-16) * 2)}.p-sm{padding-block:var(--size-8)}.py-md{padding-block:var(--size-16)}.flex{display:flex}.grid{display:grid}.block{display:block}.rounded{border-radius:1e5px}.sticky{position:sticky;top:var(--mvw-sticky-top-offset, 0);z-index:10}.blured-bg{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.grid-container{--min-width: 230px;--max-width: 1fr;--gap: var(--size-16);--align-items: center;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(var(--min-width),100%),var(--max-width)));align-items:var(--align-items);gap:var(--gap)}.flex-container{display:flex;flex-wrap:wrap;gap:var(--size-16)}.responsive-team-name{container-type:inline-size;container-name:team-name}.responsive-team-name>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.responsive-team-name>* .team-name-short{display:none}@container team-name (max-width: 200px){.responsive-team-name>* .team-name-long{display:none}.responsive-team-name>* .team-name-short{display:inline-block}}}`, Te = (e, r) => {
570
570
  const o = e.__vccOpts || e;
571
571
  for (const [c, l] of r)
572
572
  o[c] = l;
@@ -612,7 +612,7 @@ const vr = ["width", "height"], hr = ["src", "type"], ur = { key: 1 }, fr = ["sr
612
612
  }, null, 8, ["current-ad", "mobile-breakpoint"]))
613
613
  ])) : ve("", !0);
614
614
  }
615
- }, _r = /* @__PURE__ */ Te(zr, [["styles", [br, yr]], ["__scopeId", "data-v-163816f4"]]), Cr = { seasons: "Seasons", sections: "Sections", phases: "Phases", phasesDivision: "Phases (phase-Name=division)", championships: "Championships", championshipName: "Championship Name (Championship-Name):", championshipId: "Championship Identifier (Championship-id):", seasonId: "Season Identifier (season-Id):" }, Ir = {
615
+ }, _r = /* @__PURE__ */ Te(zr, [["styles", [br, yr]], ["__scopeId", "data-v-40520dc3"]]), Cr = { seasons: "Seasons", sections: "Sections", phases: "Phases", phasesDivision: "Phases (phase-Name=division)", championships: "Championships", championshipName: "Championship Name (Championship-Name):", championshipId: "Championship Identifier (Championship-id):", seasonId: "Season Identifier (season-Id):" }, Ir = {
616
616
  selection: Cr
617
617
  }, Er = { seasons: "Szezonok", sections: "Szakaszok", phases: "Szakaszok", phasesDivision: "Fázisok (phase-Name=division)", championships: "Bajnokságok", championshipName: "Bajnokság Neve (Championship-Name):", championshipId: "Bajnokság azonosító (Championship-id):", seasonId: "Szezon azonosító (season-Id):" }, Sr = {
618
618
  selection: Er
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mjsz-vbr-elements/internal",
3
3
  "type": "module",
4
- "version": "2.38.1",
4
+ "version": "2.38.3",
5
5
  "private": false,
6
6
  "description": "Data visualization for MJSZ VBR",
7
7
  "author": "Ákos Stegner <akos.stegner@gmail.com>",
@@ -25,8 +25,8 @@
25
25
  "dependencies": {
26
26
  "@vueuse/core": "^13.4.0",
27
27
  "vue": "^3.5.22",
28
- "@mjsz-vbr-elements/core": "^2.38.1",
29
- "@mjsz-vbr-elements/shared": "^2.38.1"
28
+ "@mjsz-vbr-elements/core": "^2.38.3",
29
+ "@mjsz-vbr-elements/shared": "^2.38.3"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@vitejs/plugin-vue": "^6.0.0",