@mjsz-vbr-elements/internal 2.38.2 → 2.38.4

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.2 - 20/12/2025, 13:23:08
3
+ * version: v2.38.4 - 20/12/2025, 18:01:13
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-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);
8
+ var MjszVbrElementsInternal=function(V,e,te,T,_,P){"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,$;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&&($=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 O=Z,S={method:n.method,headers:{}},L=e.toValue(n.payload);if(L){const k=q(S.headers),M=Object.getPrototypeOf(L);!n.payloadType&&L&&(M===Object.prototype||Array.isArray(M))&&!(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 $&&$.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 M=k.message||k.name;if(a.onFetchError&&({error:M,data:A}=await a.onFetchError({data:A,error:k,response:y.value,context:N,execute:F})),g.value=M,a.updateDataOnError&&(z.value=A),f.trigger(k),x)throw k;return null}).finally(()=>{O===Z&&Y(!1),$&&$.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:D("json"),text:D("text"),blob:D("blob"),arrayBuffer:D("arrayBuffer"),formData:D("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)],([O])=>O&&F(),{deep:!0}),{...R,then(O,S){return ee().then(O,S)}}}}function ee(){return new Promise((x,E)=>{xe(w).toBe(!0).then(()=>x(R)).catch(E)})}function D(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-29d96209]:open{display:grid;grid-template-areas:"stack";opacity:1}dialog[data-v-29d96209]{--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-29d96209] :is(button,a){grid-area:stack}dialog[data-v-29d96209] :where(a){outline:none}dialog[data-v-29d96209] :where(img,video){display:block;object-fit:cover}dialog button[data-v-29d96209]{align-self:start;justify-self:end}@starting-style{dialog[data-v-29d96209]:open{opacity:0}}dialog[data-v-29d96209]::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-29d96209]:open::backdrop{background-color:#000000bf}@starting-style{dialog[data-v-29d96209]:open::backdrop{background-color:transparent}}.ad-placement-tool[data-v-29d96209] :where(img,video){opacity:1}.ad-placement-tool[data-v-29d96209] :where(a[target=_blank]):after{content:none}.ad-placement-tool .close[data-v-29d96209]{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-29d96209]:before,.ad-placement-tool .close[data-v-29d96209]:after{position:absolute;left:43%;top:5px;content:" ";height:16px;width:2px;background-color:#333}.ad-placement-tool .close[data-v-29d96209]:before{transform:rotate(45deg)}.ad-placement-tool .close[data-v-29d96209]: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:()=>T.cookie.checkCookie(`mjsz-popover-${s.value?._id}`),set:()=>T.cookie.setCookie(`mjsz-popover-${s.value?._id}`,1,s.value?.expiration??1)});return(n,c)=>e.unref(d)&&!e.unref(l)&&e.unref(T.isNotEmpty)(e.unref(s))?(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-29d96209"]]),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=>T.prop(t,T.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}=P.useError(),{isLoading:s,execute:l}=P.useServices({options:{path:"/v2/all-season-list",apiKey:r.apiKey,params:{}},transform:p=>He(p,o),onError:d}),{isLoading:a,execute:n}=P.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}=P.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}=P.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,15 +1,15 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/internal
3
- * version: v2.38.2 - 20/12/2025, 13:23:08
3
+ * version: v2.38.4 - 20/12/2025, 18:01:13
4
4
  * (c) 2025
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- import { shallowRef as N, shallowReadonly as je, toRef as Ne, readonly as se, ref as _e, customRef as Pe, toValue as A, getCurrentScope as Fe, onScopeDispose as $e, watch as F, nextTick as ce, isRef as X, computed as P, reactive as Ce, getCurrentInstance as Be, unref as u, defineComponent as Oe, createBlock as Y, openBlock as b, resolveDynamicComponent as De, withCtx as I, createElementBlock as C, createElementVNode as L, createCommentVNode as ve, normalizeStyle as Ve, useTemplateRef as Me, createVNode as E, renderSlot as Ue, normalizeProps as He, guardReactiveProps as Ke, Fragment as Q, renderList as de, toDisplayString as V, defineCustomElement as Ie } from "vue";
8
+ import { shallowRef as N, shallowReadonly as je, toRef as Ne, readonly as se, ref as _e, customRef as Pe, toValue as A, getCurrentScope as Fe, onScopeDispose as $e, watch as F, nextTick as ce, isRef as X, computed as P, reactive as Ce, getCurrentInstance as Be, unref as v, defineComponent as Oe, createBlock as Y, openBlock as b, resolveDynamicComponent as De, withCtx as I, createElementBlock as C, createElementVNode as L, createCommentVNode as ve, normalizeStyle as Ve, useTemplateRef as Me, createVNode as E, renderSlot as Ue, normalizeProps as He, guardReactiveProps as Ke, Fragment as Q, renderList as de, toDisplayString as V, defineCustomElement as Ie } from "vue";
9
9
  import { VBR_API_BASE_URL as Ee } from "@mjsz-vbr-elements/core/constants";
10
- import { cookie as ge, prop as Re, head as Ge } from "@mjsz-vbr-elements/core/utils";
11
- import { FormField as M, BaseSelect as be, I18NProvider as Je, ErrorProvider as We, ErrorNotice as qe } from "@mjsz-vbr-elements/core/components";
12
- import { useError as Qe, useServices as te, useI18n as Xe } from "@mjsz-vbr-elements/core/composables";
10
+ import { isNotEmpty as Re, cookie as ge, prop as Ge, head as Je } from "@mjsz-vbr-elements/core/utils";
11
+ import { FormField as M, BaseSelect as be, I18NProvider as We, ErrorProvider as qe, ErrorNotice as Qe } from "@mjsz-vbr-elements/core/components";
12
+ import { useError as Xe, useServices as te, useI18n as Ye } from "@mjsz-vbr-elements/core/composables";
13
13
  function he(e) {
14
14
  return Fe() ? ($e(e), !0) : !1;
15
15
  }
@@ -34,7 +34,7 @@ function ae() {
34
34
  }
35
35
  const Se = typeof window < "u" && typeof document < "u";
36
36
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
37
- const Ye = (e) => typeof e < "u", Ze = Object.prototype.toString, er = (e) => Ze.call(e) === "[object Object]", me = () => {
37
+ const Ze = (e) => typeof e < "u", er = Object.prototype.toString, rr = (e) => er.call(e) === "[object Object]", me = () => {
38
38
  };
39
39
  function ne(...e) {
40
40
  if (e.length !== 1)
@@ -47,14 +47,14 @@ function ye(e, r = !1, o = "Timeout") {
47
47
  setTimeout(r ? () => l(o) : c, e);
48
48
  });
49
49
  }
50
- function rr(e, ...r) {
50
+ function or(e, ...r) {
51
51
  return r.some((o) => o in e);
52
52
  }
53
53
  function ie(e) {
54
54
  return Array.isArray(e) ? e : [e];
55
55
  }
56
56
  function pe(e, r = !1) {
57
- function o(d, { flush: h = "sync", deep: p = !1, timeout: f, throwOnTimeout: m } = {}) {
57
+ function o(d, { flush: u = "sync", deep: p = !1, timeout: f, throwOnTimeout: m } = {}) {
58
58
  let w = null;
59
59
  const x = [new Promise((g) => {
60
60
  w = F(
@@ -63,7 +63,7 @@ function pe(e, r = !1) {
63
63
  d(_) !== r && (w ? w() : ce(() => w?.()), g(_));
64
64
  },
65
65
  {
66
- flush: h,
66
+ flush: u,
67
67
  deep: p,
68
68
  immediate: !0
69
69
  }
@@ -73,10 +73,10 @@ function pe(e, r = !1) {
73
73
  ye(f, m).then(() => A(e)).finally(() => w?.())
74
74
  ), Promise.race(x);
75
75
  }
76
- function c(d, h) {
76
+ function c(d, u) {
77
77
  if (!X(d))
78
- return o((_) => _ === d, h);
79
- const { flush: p = "sync", deep: f = !1, timeout: m, throwOnTimeout: w } = h ?? {};
78
+ return o((_) => _ === d, u);
79
+ const { flush: p = "sync", deep: f = !1, timeout: m, throwOnTimeout: w } = u ?? {};
80
80
  let y = null;
81
81
  const g = [new Promise((_) => {
82
82
  y = F(
@@ -96,7 +96,7 @@ function pe(e, r = !1) {
96
96
  ), Promise.race(g);
97
97
  }
98
98
  function l(d) {
99
- return o((h) => !!h, d);
99
+ return o((u) => !!u, d);
100
100
  }
101
101
  function i(d) {
102
102
  return c(null, d);
@@ -107,24 +107,24 @@ function pe(e, r = !1) {
107
107
  function a(d) {
108
108
  return o(Number.isNaN, d);
109
109
  }
110
- function s(d, h) {
110
+ function s(d, u) {
111
111
  return o((p) => {
112
112
  const f = Array.from(p);
113
113
  return f.includes(d) || f.includes(A(d));
114
- }, h);
114
+ }, u);
115
115
  }
116
116
  function n(d) {
117
- return v(1, d);
117
+ return h(1, d);
118
118
  }
119
- function v(d = 1, h) {
119
+ function h(d = 1, u) {
120
120
  let p = -1;
121
- return o(() => (p += 1, p >= d), h);
121
+ return o(() => (p += 1, p >= d), u);
122
122
  }
123
123
  return Array.isArray(A(e)) ? {
124
124
  toMatch: o,
125
125
  toContains: s,
126
126
  changed: n,
127
- changedTimes: v,
127
+ changedTimes: h,
128
128
  get not() {
129
129
  return pe(e, !r);
130
130
  }
@@ -136,13 +136,13 @@ function pe(e, r = !1) {
136
136
  toBeNaN: a,
137
137
  toBeUndefined: t,
138
138
  changed: n,
139
- changedTimes: v,
139
+ changedTimes: h,
140
140
  get not() {
141
141
  return pe(e, !r);
142
142
  }
143
143
  };
144
144
  }
145
- function or(e) {
145
+ function tr(e) {
146
146
  return pe(e);
147
147
  }
148
148
  function Ae(e, r, o = {}) {
@@ -157,9 +157,9 @@ function Ae(e, r, o = {}) {
157
157
  function s() {
158
158
  i.value = !1, a();
159
159
  }
160
- function n(...v) {
160
+ function n(...h) {
161
161
  l && e(), a(), i.value = !0, t = setTimeout(() => {
162
- i.value = !1, t = void 0, e(...v);
162
+ i.value = !1, t = void 0, e(...h);
163
163
  }, A(r));
164
164
  }
165
165
  return c && (i.value = !0, Se && n()), he(s), {
@@ -168,7 +168,7 @@ function Ae(e, r, o = {}) {
168
168
  stop: s
169
169
  };
170
170
  }
171
- function tr(e, r, o) {
171
+ function ar(e, r, o) {
172
172
  return F(
173
173
  e,
174
174
  r,
@@ -179,36 +179,36 @@ function tr(e, r, o) {
179
179
  );
180
180
  }
181
181
  const Le = Se ? window : void 0;
182
- function ar(e) {
182
+ function nr(e) {
183
183
  var r;
184
184
  const o = A(e);
185
185
  return (r = o?.$el) != null ? r : o;
186
186
  }
187
- function nr(...e) {
187
+ function ir(...e) {
188
188
  const r = [], o = () => {
189
189
  r.forEach((a) => a()), r.length = 0;
190
- }, c = (a, s, n, v) => (a.addEventListener(s, n, v), () => a.removeEventListener(s, n, v)), l = P(() => {
190
+ }, c = (a, s, n, h) => (a.addEventListener(s, n, h), () => a.removeEventListener(s, n, h)), l = P(() => {
191
191
  const a = ie(A(e[0])).filter((s) => s != null);
192
192
  return a.every((s) => typeof s != "string") ? a : void 0;
193
- }), i = tr(
193
+ }), i = ar(
194
194
  () => {
195
195
  var a, s;
196
196
  return [
197
- (s = (a = l.value) == null ? void 0 : a.map((n) => ar(n))) != null ? s : [Le].filter((n) => n != null),
197
+ (s = (a = l.value) == null ? void 0 : a.map((n) => nr(n))) != null ? s : [Le].filter((n) => n != null),
198
198
  ie(A(l.value ? e[1] : e[0])),
199
- ie(u(l.value ? e[2] : e[1])),
199
+ ie(v(l.value ? e[2] : e[1])),
200
200
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
201
201
  A(l.value ? e[3] : e[2])
202
202
  ];
203
203
  },
204
- ([a, s, n, v]) => {
204
+ ([a, s, n, h]) => {
205
205
  if (o(), !a?.length || !s?.length || !n?.length)
206
206
  return;
207
- const d = er(v) ? { ...v } : v;
207
+ const d = rr(h) ? { ...h } : h;
208
208
  r.push(
209
209
  ...a.flatMap(
210
- (h) => s.flatMap(
211
- (p) => n.map((f) => c(h, p, f, d))
210
+ (u) => s.flatMap(
211
+ (p) => n.map((f) => c(u, p, f, d))
212
212
  )
213
213
  )
214
214
  );
@@ -236,46 +236,46 @@ function xe(e, r) {
236
236
  activeIndex: n,
237
237
  result: s
238
238
  };
239
- function v(d, h) {
240
- n.value++, s[n.value].data = h, s[n.value].state = d;
239
+ function h(d, u) {
240
+ n.value++, s[n.value].data = u, s[n.value].state = d;
241
241
  }
242
- return e.reduce((d, h) => d.then((p) => {
242
+ return e.reduce((d, u) => d.then((p) => {
243
243
  var f;
244
244
  if (i?.aborted) {
245
- v(t.aborted, new Error("aborted"));
245
+ h(t.aborted, new Error("aborted"));
246
246
  return;
247
247
  }
248
248
  if (((f = s[n.value]) == null ? void 0 : f.state) === t.rejected && o) {
249
249
  l();
250
250
  return;
251
251
  }
252
- const m = h(p).then((w) => (v(t.fulfilled, w), n.value === e.length - 1 && l(), w));
253
- return i ? Promise.race([m, ir(i)]) : m;
254
- }).catch((p) => i?.aborted ? (v(t.aborted, p), p) : (v(t.rejected, p), c(), p)), Promise.resolve()), {
252
+ const m = u(p).then((w) => (h(t.fulfilled, w), n.value === e.length - 1 && l(), w));
253
+ return i ? Promise.race([m, lr(i)]) : m;
254
+ }).catch((p) => i?.aborted ? (h(t.aborted, p), p) : (h(t.rejected, p), c(), p)), Promise.resolve()), {
255
255
  activeIndex: n,
256
256
  result: s
257
257
  };
258
258
  }
259
- function ir(e) {
259
+ function lr(e) {
260
260
  return new Promise((r, o) => {
261
261
  const c = new Error("aborted");
262
262
  e.aborted ? o(c) : e.addEventListener("abort", () => o(c), { once: !0 });
263
263
  });
264
264
  }
265
- function lr(e) {
265
+ function sr(e) {
266
266
  return JSON.parse(JSON.stringify(e));
267
267
  }
268
- const sr = {
268
+ const cr = {
269
269
  json: "application/json",
270
270
  text: "text/plain"
271
271
  };
272
272
  function ke(e) {
273
- return e && rr(e, "immediate", "refetch", "initialData", "timeout", "beforeFetch", "afterFetch", "onFetchError", "fetch", "updateDataOnError");
273
+ return e && or(e, "immediate", "refetch", "initialData", "timeout", "beforeFetch", "afterFetch", "onFetchError", "fetch", "updateDataOnError");
274
274
  }
275
275
  function le(e) {
276
276
  return typeof Headers < "u" && e instanceof Headers ? Object.fromEntries(e.entries()) : e;
277
277
  }
278
- function cr(e, ...r) {
278
+ function dr(e, ...r) {
279
279
  var o, c;
280
280
  const l = typeof AbortController == "function";
281
281
  let i = {}, t = {
@@ -293,8 +293,8 @@ function cr(e, ...r) {
293
293
  const {
294
294
  fetch: s = (c = (o = Le) == null ? void 0 : o.fetch) != null ? c : globalThis?.fetch,
295
295
  initialData: n,
296
- timeout: v
297
- } = t, d = ae(), h = ae(), p = ae(), f = N(!1), m = N(!1), w = N(!1), y = N(null), x = N(null), g = N(null), _ = N(n || null), j = P(() => l && m.value);
296
+ timeout: h
297
+ } = t, d = ae(), u = ae(), p = ae(), f = N(!1), m = N(!1), w = N(!1), y = N(null), x = N(null), g = N(null), _ = N(n || null), j = P(() => l && m.value);
298
298
  let S, R;
299
299
  const Z = (k) => {
300
300
  l && (S?.abort(k), S = new AbortController(), S.signal.onabort = () => w.value = !0, i = {
@@ -304,7 +304,7 @@ function cr(e, ...r) {
304
304
  }, ee = (k) => {
305
305
  m.value = k, f.value = !k;
306
306
  };
307
- v && (R = Ae(Z, v, { immediate: !1 }));
307
+ h && (R = Ae(Z, h, { immediate: !1 }));
308
308
  let re = 0;
309
309
  const U = async (k = !1) => {
310
310
  var T, H;
@@ -315,7 +315,7 @@ function cr(e, ...r) {
315
315
  }, K = A(a.payload);
316
316
  if (K) {
317
317
  const z = le(B.headers), W = Object.getPrototypeOf(K);
318
- !a.payloadType && K && (W === Object.prototype || Array.isArray(W)) && !(K instanceof FormData) && (a.payloadType = "json"), a.payloadType && (z["Content-Type"] = (T = sr[a.payloadType]) != null ? T : a.payloadType), B.body = a.payloadType === "json" ? JSON.stringify(K) : K;
318
+ !a.payloadType && K && (W === Object.prototype || Array.isArray(W)) && !(K instanceof FormData) && (a.payloadType = "json"), a.payloadType && (z["Content-Type"] = (T = cr[a.payloadType]) != null ? T : a.payloadType), B.body = a.payloadType === "json" ? JSON.stringify(K) : K;
319
319
  }
320
320
  let we = !1;
321
321
  const O = {
@@ -358,7 +358,7 @@ function cr(e, ...r) {
358
358
  response: x.value,
359
359
  context: O,
360
360
  execute: U
361
- })), g.value = W, t.updateDataOnError && (_.value = D), h.trigger(z), k)
361
+ })), g.value = W, t.updateDataOnError && (_.value = D), u.trigger(z), k)
362
362
  throw z;
363
363
  return null;
364
364
  }).finally(() => {
@@ -385,7 +385,7 @@ function cr(e, ...r) {
385
385
  abort: Z,
386
386
  execute: U,
387
387
  onFetchResponse: d.on,
388
- onFetchError: h.on,
388
+ onFetchError: u.on,
389
389
  onFetchFinally: p.on,
390
390
  // method
391
391
  get: $("GET"),
@@ -422,7 +422,7 @@ function cr(e, ...r) {
422
422
  }
423
423
  function oe() {
424
424
  return new Promise((k, T) => {
425
- or(f).toBe(!0).then(() => k(q)).catch(T);
425
+ tr(f).toBe(!0).then(() => k(q)).catch(T);
426
426
  });
427
427
  }
428
428
  function G(k) {
@@ -443,20 +443,20 @@ function cr(e, ...r) {
443
443
  }
444
444
  };
445
445
  }
446
- function dr(e, r, o, c = {}) {
446
+ function mr(e, r, o, c = {}) {
447
447
  var l, i, t;
448
448
  const {
449
449
  clone: a = !1,
450
450
  passive: s = !1,
451
451
  eventName: n,
452
- deep: v = !1,
452
+ deep: h = !1,
453
453
  defaultValue: d,
454
- shouldEmit: h
454
+ shouldEmit: u
455
455
  } = c, p = Be(), f = o || p?.emit || ((l = p?.$emit) == null ? void 0 : l.bind(p)) || ((t = (i = p?.proxy) == null ? void 0 : i.$emit) == null ? void 0 : t.bind(p?.proxy));
456
456
  let m = n;
457
457
  r || (r = "modelValue"), m = m || `update:${r.toString()}`;
458
- const w = (g) => a ? typeof a == "function" ? a(g) : lr(g) : g, y = () => Ye(e[r]) ? w(e[r]) : d, x = (g) => {
459
- h ? h(g) && f(m, g) : f(m, g);
458
+ const w = (g) => a ? typeof a == "function" ? a(g) : sr(g) : g, y = () => Ze(e[r]) ? w(e[r]) : d, x = (g) => {
459
+ u ? u(g) && f(m, g) : f(m, g);
460
460
  };
461
461
  if (s) {
462
462
  const g = y(), _ = _e(g);
@@ -469,9 +469,9 @@ function dr(e, r, o, c = {}) {
469
469
  ), F(
470
470
  _,
471
471
  (S) => {
472
- !j && (S !== e[r] || v) && x(S);
472
+ !j && (S !== e[r] || h) && x(S);
473
473
  },
474
- { deep: v }
474
+ { deep: h }
475
475
  ), _;
476
476
  } else
477
477
  return P({
@@ -483,10 +483,10 @@ function dr(e, r, o, c = {}) {
483
483
  }
484
484
  });
485
485
  }
486
- function mr(e, r, o = {}) {
486
+ function pr(e, r, o = {}) {
487
487
  const c = {};
488
488
  for (const l in e)
489
- c[l] = dr(
489
+ c[l] = mr(
490
490
  e,
491
491
  l,
492
492
  r,
@@ -494,27 +494,27 @@ function mr(e, r, o = {}) {
494
494
  );
495
495
  return c;
496
496
  }
497
- function pr(e, r = 3e4, {
497
+ function vr(e, r = 3e4, {
498
498
  check: o,
499
499
  set: c
500
500
  }) {
501
501
  const { start: l, stop: i } = Ae(a, r, { immediate: !1 });
502
- nr(e, "click", (s) => {
503
- s.target === u(e) && a();
502
+ ir(e, "click", (s) => {
503
+ s.target === v(e) && a();
504
504
  }), F(e, (s) => {
505
505
  s && (o?.() || (t(), l()));
506
506
  });
507
507
  function t() {
508
- c?.(), u(e).showModal();
508
+ c?.(), v(e).showModal();
509
509
  }
510
510
  function a() {
511
- u(e).close(), i();
511
+ v(e).close(), i();
512
512
  }
513
513
  return {
514
514
  hide: a
515
515
  };
516
516
  }
517
- const vr = ["width", "height"], hr = ["src", "type"], ur = { key: 1 }, fr = ["srcset", "media"], wr = ["src"], gr = ["src"], ze = /* @__PURE__ */ Oe({
517
+ const hr = ["width", "height"], ur = ["src", "type"], fr = { key: 1 }, wr = ["srcset", "media"], gr = ["src"], br = ["src"], ze = /* @__PURE__ */ Oe({
518
518
  __name: "Media",
519
519
  props: {
520
520
  currentAd: {
@@ -536,48 +536,48 @@ 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
549
- }, null, 8, hr)
550
- ], 8, vr)) : (b(), C("picture", ur, [
547
+ src: e.currentAd.media?.[0]?.media,
548
+ type: e.currentAd.media?.[0]?.mediaType
549
+ }, null, 8, ur)
550
+ ], 8, hr)) : (b(), C("picture", fr, [
551
551
  e.currentAd.type === "responsive" ? (b(), C("source", {
552
552
  key: 0,
553
553
  srcset: c(e.currentAd.media[1].path),
554
554
  media: o.value
555
- }, null, 8, fr)) : ve("", !0),
555
+ }, null, 8, wr)) : 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;`)
560
- }, null, 12, wr)) : (b(), C("img", {
558
+ src: c(e.currentAd.media?.[0].path),
559
+ style: Ve(`width: clamp(0px, ${e.currentAd.media?.[0].width}px, 750px); height: auto;`)
560
+ }, null, 12, gr)) : (b(), C("img", {
561
561
  key: 2,
562
- src: c(e.currentAd.media[0].path)
563
- }, null, 8, gr))
562
+ src: c(e.currentAd.media?.[0].path)
563
+ }, null, 8, br))
564
564
  ]))
565
565
  ]),
566
566
  _: 1
567
567
  }, 8, ["href", "target"]));
568
568
  }
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) => {
569
+ }), yr = 'dialog[data-v-29d96209]:open{display:grid;grid-template-areas:"stack";opacity:1}dialog[data-v-29d96209]{--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-29d96209] :is(button,a){grid-area:stack}dialog[data-v-29d96209] :where(a){outline:none}dialog[data-v-29d96209] :where(img,video){display:block;object-fit:cover}dialog button[data-v-29d96209]{align-self:start;justify-self:end}@starting-style{dialog[data-v-29d96209]:open{opacity:0}}dialog[data-v-29d96209]::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-29d96209]:open::backdrop{background-color:#000000bf}@starting-style{dialog[data-v-29d96209]:open::backdrop{background-color:transparent}}.ad-placement-tool[data-v-29d96209] :where(img,video){opacity:1}.ad-placement-tool[data-v-29d96209] :where(a[target=_blank]):after{content:none}.ad-placement-tool .close[data-v-29d96209]{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-29d96209]:before,.ad-placement-tool .close[data-v-29d96209]:after{position:absolute;left:43%;top:5px;content:" ";height:16px;width:2px;background-color:#333}.ad-placement-tool .close[data-v-29d96209]:before{transform:rotate(45deg)}.ad-placement-tool .close[data-v-29d96209]:after{transform:rotate(-45deg)}', xr = `@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;
573
573
  return o;
574
- }, xr = {
574
+ }, kr = {
575
575
  key: 0,
576
576
  class: "ad-placement-tool"
577
- }, kr = {
577
+ }, zr = {
578
578
  key: 0,
579
579
  ref: "popover"
580
- }, zr = {
580
+ }, _r = {
581
581
  __name: "AdPlacement.ce",
582
582
  props: {
583
583
  areaId: {
@@ -590,43 +590,43 @@ const vr = ["width", "height"], hr = ["src", "type"], ur = { key: 1 }, fr = ["sr
590
590
  }
591
591
  },
592
592
  setup(e) {
593
- const r = e, o = Me("popover"), { isFinished: c, data: l, error: i } = cr(`${Ee}/internal/ad-placement?areaid=${r.areaId}`, { timeout: 1e3 }).get().json(), { hide: t } = pr(o, P(() => l.value?.closeTimeout ?? 3e4), {
593
+ const r = e, o = Me("popover"), { isFinished: c, data: l, error: i } = dr(`${Ee}/internal/ad-placement?areaid=${r.areaId}`, { timeout: 1e3 }).get().json(), { hide: t } = vr(o, P(() => l.value?.closeTimeout ?? 3e4), {
594
594
  check: () => ge.checkCookie(`mjsz-popover-${l.value?._id}`),
595
595
  set: () => ge.setCookie(`mjsz-popover-${l.value?._id}`, 1, l.value?.expiration ?? 1)
596
596
  });
597
- return (a, s) => u(c) && !u(i) ? (b(), C("div", xr, [
598
- u(l).type === "popover" ? (b(), C("dialog", kr, [
597
+ return (a, s) => v(c) && !v(i) && v(Re)(v(l)) ? (b(), C("div", kr, [
598
+ v(l).type === "popover" ? (b(), C("dialog", zr, [
599
599
  E(ze, {
600
- "current-ad": u(l),
600
+ "current-ad": v(l),
601
601
  "mobile-breakpoint": e.mobileBreakpoint
602
602
  }, null, 8, ["current-ad", "mobile-breakpoint"]),
603
603
  L("button", {
604
604
  type: "button",
605
605
  class: "close",
606
- onClick: s[0] || (s[0] = (...n) => u(t) && u(t)(...n))
606
+ onClick: s[0] || (s[0] = (...n) => v(t) && v(t)(...n))
607
607
  })
608
608
  ], 512)) : (b(), Y(ze, {
609
609
  key: 1,
610
- "current-ad": u(l),
610
+ "current-ad": v(l),
611
611
  "mobile-breakpoint": e.mobileBreakpoint
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-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
- selection: Cr
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
- selection: Er
619
- }, ue = (e) => (r) => Re(e, Ge(r));
620
- function Ar(e, r) {
615
+ }, Cr = /* @__PURE__ */ Te(_r, [["styles", [yr, xr]], ["__scopeId", "data-v-29d96209"]]), Ir = { 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):" }, Er = {
616
+ selection: Ir
617
+ }, Sr = { 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):" }, Ar = {
618
+ selection: Sr
619
+ }, ue = (e) => (r) => Ge(e, Je(r));
620
+ function Lr(e, r) {
621
621
  r.seasonsList = e, r.seasonId = ue("id")(e);
622
622
  }
623
- function Lr(e, r) {
623
+ function Tr(e, r) {
624
624
  r.championshipList = e, r.championshipId = ue("championshipId")(e);
625
625
  }
626
- function Tr(e, r) {
626
+ function jr(e, r) {
627
627
  r.sections = e, r.sectionId = ue("sectionId")(e);
628
628
  }
629
- const jr = {
629
+ const Nr = {
630
630
  __name: "DataProvider",
631
631
  props: {
632
632
  apiKey: {
@@ -646,13 +646,13 @@ const jr = {
646
646
  championshipId: null,
647
647
  sections: [],
648
648
  sectionId: null
649
- }), { onError: c } = Qe(), { isLoading: l, execute: i } = te({
649
+ }), { onError: c } = Xe(), { isLoading: l, execute: i } = te({
650
650
  options: {
651
651
  path: "/v2/all-season-list",
652
652
  apiKey: r.apiKey,
653
653
  params: {}
654
654
  },
655
- transform: (m) => Ar(m, o),
655
+ transform: (m) => Lr(m, o),
656
656
  onError: c
657
657
  }), { isLoading: t, execute: a } = te({
658
658
  options: {
@@ -660,7 +660,7 @@ const jr = {
660
660
  apiKey: r.apiKey,
661
661
  params: P(() => ({ seasonId: o.seasonId }))
662
662
  },
663
- transform: (m) => Lr(m, o),
663
+ transform: (m) => Tr(m, o),
664
664
  onError: c
665
665
  }), {
666
666
  isLoading: s,
@@ -671,12 +671,12 @@ const jr = {
671
671
  apiKey: r.apiKey,
672
672
  params: P(() => ({ championshipId: o.championshipId }))
673
673
  },
674
- transform: (m) => Tr(m, o),
674
+ transform: (m) => jr(m, o),
675
675
  onError: c
676
- }), v = P(() => o.sections?.find((m) => m.sectionId === o.sectionId)?.phases ?? []);
676
+ }), h = P(() => o.sections?.find((m) => m.sectionId === o.sectionId)?.phases ?? []);
677
677
  xe([i, a, n]);
678
678
  const d = P(() => [l.value, t.value, s.value].some(Boolean));
679
- function h(m) {
679
+ function u(m) {
680
680
  o.seasonId = m, xe([a, n]);
681
681
  }
682
682
  function p(m) {
@@ -688,13 +688,13 @@ const jr = {
688
688
  return (m, w) => Ue(m.$slots, "default", He(Ke({
689
689
  ...o,
690
690
  isLoading: d.value,
691
- phaseData: v.value,
692
- onChangeSeason: h,
691
+ phaseData: h.value,
692
+ onChangeSeason: u,
693
693
  onChangeSection: f,
694
694
  onChangeChampionship: p
695
695
  })));
696
696
  }
697
- }, Nr = ["value"], Pr = ["value"], Fr = {
697
+ }, Pr = ["value"], Fr = ["value"], $r = {
698
698
  __name: "Selector",
699
699
  props: {
700
700
  seasonsList: {
@@ -716,46 +716,46 @@ const jr = {
716
716
  },
717
717
  emits: ["update:seasonId", "update:championshipId"],
718
718
  setup(e, { emit: r }) {
719
- const o = e, c = r, { t: l } = Xe(), { seasonId: i, championshipId: t } = mr(o, c);
719
+ const o = e, c = r, { t: l } = Ye(), { seasonId: i, championshipId: t } = pr(o, c);
720
720
  return (a, s) => (b(), C(Q, null, [
721
- E(u(M), {
722
- label: u(l)("selection.seasons"),
721
+ E(v(M), {
722
+ label: v(l)("selection.seasons"),
723
723
  name: "season",
724
724
  class: "full-width mb-md"
725
725
  }, {
726
726
  default: I(() => [
727
- E(u(be), {
727
+ E(v(be), {
728
728
  id: "season",
729
- modelValue: u(i),
729
+ modelValue: v(i),
730
730
  "onUpdate:modelValue": s[0] || (s[0] = (n) => X(i) ? i.value = n : null)
731
731
  }, {
732
732
  default: I(() => [
733
733
  (b(!0), C(Q, null, de(e.seasonsList, (n) => (b(), C("option", {
734
734
  key: n.id,
735
735
  value: n.id
736
- }, V(n.seasonName), 9, Nr))), 128))
736
+ }, V(n.seasonName), 9, Pr))), 128))
737
737
  ]),
738
738
  _: 1
739
739
  }, 8, ["modelValue"])
740
740
  ]),
741
741
  _: 1
742
742
  }, 8, ["label"]),
743
- E(u(M), {
744
- label: u(l)("selection.championships"),
743
+ E(v(M), {
744
+ label: v(l)("selection.championships"),
745
745
  name: "championship",
746
746
  class: "full-width"
747
747
  }, {
748
748
  default: I(() => [
749
- E(u(be), {
749
+ E(v(be), {
750
750
  id: "championship",
751
- modelValue: u(t),
751
+ modelValue: v(t),
752
752
  "onUpdate:modelValue": s[1] || (s[1] = (n) => X(t) ? t.value = n : null)
753
753
  }, {
754
754
  default: I(() => [
755
755
  (b(!0), C(Q, null, de(e.championshipList, (n) => (b(), C("option", {
756
756
  key: n.championshipId,
757
757
  value: n.championshipId
758
- }, V(n.championshipName), 9, Pr))), 128))
758
+ }, V(n.championshipName), 9, Fr))), 128))
759
759
  ]),
760
760
  _: 1
761
761
  }, 8, ["modelValue"])
@@ -764,10 +764,10 @@ const jr = {
764
764
  }, 8, ["label"])
765
765
  ], 64));
766
766
  }
767
- }, $r = `@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}}}`, Br = `@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%}}`, Or = "@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)}}", Dr = "@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}}", Vr = ".main-layout[data-v-71f9e995]{display:grid;gap:var(--size-16)}@media (width > 60ch){.main-layout[data-v-71f9e995]{grid-template-columns:25ch 1fr}}", Mr = { class: "main-layout" }, Ur = ["textContent"], Hr = ["textContent"], Kr = ["textContent"], Rr = {
767
+ }, Br = `@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}}}`, Or = `@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%}}`, Dr = "@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)}}", Vr = "@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}}", Mr = ".main-layout[data-v-71f9e995]{display:grid;gap:var(--size-16)}@media (width > 60ch){.main-layout[data-v-71f9e995]{grid-template-columns:25ch 1fr}}", Ur = { class: "main-layout" }, Hr = ["textContent"], Kr = ["textContent"], Rr = ["textContent"], Gr = {
768
768
  id: "sections",
769
769
  class: "tabs filled"
770
- }, Gr = ["aria-label"], Jr = ["aria-selected", "onClick"], Wr = ["textContent"], qr = {
770
+ }, Jr = ["aria-label"], Wr = ["aria-selected", "onClick"], qr = ["textContent"], Qr = {
771
771
  __name: "IvrIdentifiers.ce",
772
772
  props: {
773
773
  locale: {
@@ -780,44 +780,44 @@ const jr = {
780
780
  }
781
781
  },
782
782
  setup(e) {
783
- const r = e, o = { en: Ir, hu: Sr };
784
- return (c, l) => (b(), Y(u(Je), {
783
+ const r = e, o = { en: Er, hu: Ar };
784
+ return (c, l) => (b(), Y(v(We), {
785
785
  locale: r.locale,
786
786
  messages: o
787
787
  }, {
788
788
  default: I(({ t: i }) => [
789
- E(u(We), null, {
789
+ E(v(qe), null, {
790
790
  default: I(({ error: t, hasError: a }) => [
791
- a ? (b(), Y(u(qe), {
791
+ a ? (b(), Y(v(Qe), {
792
792
  key: 0,
793
793
  error: t
794
794
  }, null, 8, ["error"])) : ve("", !0),
795
- E(jr, null, {
795
+ E(Nr, null, {
796
796
  default: I(({
797
797
  seasonsList: s,
798
798
  seasonId: n,
799
- championshipList: v,
799
+ championshipList: h,
800
800
  championshipId: d,
801
- sections: h,
801
+ sections: u,
802
802
  sectionId: p,
803
803
  phaseData: f,
804
804
  onChangeSeason: m,
805
805
  onChangeSection: w,
806
806
  onChangeChampionship: y
807
807
  }) => [
808
- L("div", Mr, [
808
+ L("div", Ur, [
809
809
  L("div", null, [
810
- E(Fr, {
810
+ E($r, {
811
811
  "seasons-list": s,
812
812
  "season-id": n,
813
- "championship-list": v,
813
+ "championship-list": h,
814
814
  "championship-id": d,
815
815
  "onUpdate:seasonId": m,
816
816
  "onUpdate:championshipId": y
817
817
  }, null, 8, ["seasons-list", "season-id", "championship-list", "championship-id", "onUpdate:seasonId", "onUpdate:championshipId"])
818
818
  ]),
819
819
  L("div", null, [
820
- E(u(M), {
820
+ E(v(M), {
821
821
  label: i("selection.championships"),
822
822
  name: "seasonId",
823
823
  class: "mb-md"
@@ -826,11 +826,11 @@ const jr = {
826
826
  L("span", {
827
827
  id: "seasonId",
828
828
  textContent: V(n)
829
- }, null, 8, Ur)
829
+ }, null, 8, Hr)
830
830
  ]),
831
831
  _: 2
832
832
  }, 1032, ["label"]),
833
- E(u(M), {
833
+ E(v(M), {
834
834
  label: i("selection.championshipName"),
835
835
  name: "championshipName",
836
836
  class: "mb-md"
@@ -838,12 +838,12 @@ const jr = {
838
838
  default: I(() => [
839
839
  L("span", {
840
840
  id: "championshipName",
841
- textContent: V(v.find((x) => x.championshipId === d)?.championshipName)
842
- }, null, 8, Hr)
841
+ textContent: V(h.find((x) => x.championshipId === d)?.championshipName)
842
+ }, null, 8, Kr)
843
843
  ]),
844
844
  _: 2
845
845
  }, 1032, ["label"]),
846
- E(u(M), {
846
+ E(v(M), {
847
847
  label: i("selection.championshipId"),
848
848
  name: "championshipId",
849
849
  class: "mb-md"
@@ -852,33 +852,33 @@ const jr = {
852
852
  L("span", {
853
853
  id: "championshipId",
854
854
  textContent: V(d)
855
- }, null, 8, Kr)
855
+ }, null, 8, Rr)
856
856
  ]),
857
857
  _: 2
858
858
  }, 1032, ["label"]),
859
- E(u(M), {
859
+ E(v(M), {
860
860
  label: i("selection.sections"),
861
861
  name: "sections",
862
862
  class: "mb-md"
863
863
  }, {
864
864
  default: I(() => [
865
- L("nav", Rr, [
865
+ L("nav", Gr, [
866
866
  L("div", {
867
867
  role: "tablist",
868
868
  "aria-label": i("selection.sections")
869
869
  }, [
870
- (b(!0), C(Q, null, de(h, (x) => (b(), C("button", {
870
+ (b(!0), C(Q, null, de(u, (x) => (b(), C("button", {
871
871
  key: x.phaseId,
872
872
  role: "tab",
873
873
  "aria-selected": x.sectionId === p,
874
874
  onClick: (g) => w(x.sectionId)
875
- }, V(x.sectionName), 9, Jr))), 128))
876
- ], 8, Gr)
875
+ }, V(x.sectionName), 9, Wr))), 128))
876
+ ], 8, Jr)
877
877
  ])
878
878
  ]),
879
879
  _: 2
880
880
  }, 1032, ["label"]),
881
- E(u(M), {
881
+ E(v(M), {
882
882
  label: i("selection.phasesDivision"),
883
883
  name: "phases",
884
884
  class: "mb-md"
@@ -888,7 +888,7 @@ const jr = {
888
888
  id: "phases",
889
889
  style: { "--_height": "auto" },
890
890
  textContent: V(f)
891
- }, null, 8, Wr)
891
+ }, null, 8, qr)
892
892
  ]),
893
893
  _: 2
894
894
  }, 1032, ["label"])
@@ -904,18 +904,18 @@ const jr = {
904
904
  _: 1
905
905
  }, 8, ["locale"]));
906
906
  }
907
- }, Qr = /* @__PURE__ */ Te(qr, [["styles", [$r, Br, Or, Dr, Vr]], ["__scopeId", "data-v-71f9e995"]]), Xr = Ie(_r), Yr = Ie(Qr);
908
- function Zr() {
909
- customElements.define("mjsz-ad-placement", Xr), customElements.define("mjsz-ivr-identifiers", Yr);
907
+ }, Xr = /* @__PURE__ */ Te(Qr, [["styles", [Br, Or, Dr, Vr, Mr]], ["__scopeId", "data-v-71f9e995"]]), Yr = Ie(Cr), Zr = Ie(Xr);
908
+ function eo() {
909
+ customElements.define("mjsz-ad-placement", Yr), customElements.define("mjsz-ivr-identifiers", Zr);
910
910
  }
911
- const no = {
912
- install: () => Zr()
911
+ const io = {
912
+ install: () => eo()
913
913
  };
914
914
  export {
915
- _r as AdPlacement,
916
- Xr as AdPlacementCE,
917
- Qr as IVRIdentifiers,
918
- Yr as IVRIdentifiersCE,
919
- no as default,
920
- Zr as register
915
+ Cr as AdPlacement,
916
+ Yr as AdPlacementCE,
917
+ Xr as IVRIdentifiers,
918
+ Zr as IVRIdentifiersCE,
919
+ io as default,
920
+ eo as register
921
921
  };
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.2",
4
+ "version": "2.38.4",
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/shared": "^2.38.2",
29
- "@mjsz-vbr-elements/core": "^2.38.2"
28
+ "@mjsz-vbr-elements/core": "^2.38.4",
29
+ "@mjsz-vbr-elements/shared": "^2.38.4"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@vitejs/plugin-vue": "^6.0.0",