@golstats/gsc-filters 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ (function(V,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(V=typeof globalThis<"u"?globalThis:V||self,e(V.GSCFilters={},V.Vue))})(this,function(V,e){"use strict";const la="",aa="",sa="",na="",ra="",da="",ca="",pa="",ua="",ma="",se=(o,i)=>{const t=o.__vccOpts||o;for(const[a,s]of i)t[a]=s;return t},ne={key:1},re={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},de=["fill"],ce={__name:"GSC-Checkbox",props:{width:{type:String,default:"fit-content"},height:{type:String,default:"fit-content"},label:{type:String,default:""},labelColor:{type:String,default:"white"},fontFamily:{type:String,default:"sans-serif"},labelFontSize:{type:String,default:"12px"},modelValue:{type:Boolean,default:!1},justifyContent:{type:String,default:"flex-start"},alignItems:{type:String,default:"center"},boxBackgroundColor:{type:String,default:"#CBEE6B"},boxValueColor:{type:String,default:"#0d1d29"},boxValue:{type:[String,Number],default:""},boxPosition:{type:String,default:"left",validator(o){return["left","right","top","bottom"].includes(o)}},boxWidthAndHeight:{type:String,default:"16px"},boxBorderColor:{type:String,default:"#969da2"},boxBorderWidth:{type:String,default:"2px"},boxBorderRadius:{type:String,default:"4px"},boxValueFontSize:{type:String,default:"10px"},boxValueFontFamily:{type:String,default:"sans-serif"},avoidToCheck:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(o,{emit:i}){const t=o;e.useCssVars(m=>({"52d8eaf8":o.width,"23150b96":o.height}));const a=e.ref(!1),s=e.computed(()=>{const m={color:t.boxValueColor,"font-family":t.fontFamily,height:t.boxWidthAndHeight,width:t.boxWidthAndHeight,minWidth:t.boxWidthAndHeight,"border-radius":t.boxBorderRadius};return a.value?(m["background-color"]=t.boxBackgroundColor,m.border=`solid ${t.boxBorderWidth} ${t.boxBackgroundColor}`):m.border=`solid ${t.boxBorderWidth} ${t.boxBorderColor}`,m}),l=e.computed(()=>({"font-family":t.boxValueFontFamily,"font-size":t.boxValueFontSize,color:t.boxValueColor,"line-height":1})),n=e.computed(()=>{const m={color:t.labelColor,"font-family":t.fontFamily,"font-size":t.labelFontSize};return(t.boxPosition==="left"||t.boxPosition==="right")&&(m[`margin-${t.boxPosition}`]="10px"),m});e.watch(()=>t.modelValue,m=>{m!==a.value&&(a.value=m)},{immediate:!0});function f(){!a.value&&t.avoidToCheck||(a.value=!a.value,i("update:modelValue",a.value))}return(m,_)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["checkbox",`box-${o.boxPosition}`]),onClick:f},[e.createElementVNode("div",{class:"checkbox__box",style:e.normalizeStyle(s.value)},[a.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.boxValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:"checkbox__box__value",style:e.normalizeStyle(l.value)},e.toDisplayString(o.boxValue),5)):(e.openBlock(),e.createElementBlock("div",ne,[(e.openBlock(),e.createElementBlock("svg",re,[e.createElementVNode("path",{d:"M9.77994 1.70133L4.10994 7.37133C3.96994 7.51133 3.77994 7.59133 3.57994 7.59133C3.37994 7.59133 3.18994 7.51133 3.04994 7.37133L0.219941 4.54133C-0.0700586 4.25133 -0.0700586 3.77133 0.219941 3.48133C0.509941 3.19133 0.989941 3.19133 1.27994 3.48133L3.57994 5.78133L8.71994 0.641328C9.00994 0.351328 9.48994 0.351328 9.77994 0.641328C10.0699 0.931328 10.0699 1.40133 9.77994 1.70133Z",fill:o.boxValueColor},null,8,de)]))]))],64)):e.createCommentVNode("",!0)],4),e.createElementVNode("div",{class:"checkbox__label",style:e.normalizeStyle(n.value)},e.toDisplayString(o.label),5)],2))}},C=se(ce,[["__scopeId","data-v-674fcf24"]]),ha="",B=(o,i)=>{const t=o.__vccOpts||o;for(const[a,s]of i)t[a]=s;return t},pe={class:"container"},ue={key:0,width:"11",height:"2",viewBox:"0 0 11 2",fill:"none",xmlns:"http://www.w3.org/2000/svg"},me=["fill"],he={key:1,width:"11",height:"11",viewBox:"0 0 11 11",fill:"none",xmlns:"http://www.w3.org/2000/svg"},fe=["fill"],w=B({__name:"IconExpand",props:{height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},isExpanded:{type:Boolean,default:!1},expandIconColor:{type:String,default:"white"},collapseIconColor:{type:String,default:"#D9D9D9"}},setup(o){return e.useCssVars(i=>({"563e5242":o.width,a529e9a4:o.height})),(i,t)=>(e.openBlock(),e.createElementBlock("div",pe,[o.isExpanded?(e.openBlock(),e.createElementBlock("svg",ue,[e.createElementVNode("rect",{width:"11",height:"1.7",fill:o.collapseIconColor},null,8,me)])):(e.openBlock(),e.createElementBlock("svg",he,[e.createElementVNode("path",{d:"M11 6.28571H6.28571V11H4.71429V6.28571H0V4.71429H4.71429V0H6.28571V4.71429H11V6.28571Z",fill:o.expandIconColor},null,8,fe)]))]))}},[["__scopeId","data-v-166b6226"]]),ya="",ye={class:"productivity"},ge={class:"productivity__body__offensive"},be={class:"productivity__body__title"},Se={class:"productivity__body__title__info"},_e={class:"number-of-categories"},xe={class:"productivity__body__categories"},ke={class:"productivity__body__defensive-possession"},Ce={class:"productivity__body__title"},Ve={class:"productivity__body__title__info"},Ee={class:"number-of-categories"},Be={class:"productivity__body__categories"},Ne={class:"productivity__body__title"},we={class:"productivity__body__title__info"},ve={class:"number-of-categories"},Te={class:"productivity__body__categories"},$e=B({__name:"TemplateProductivity",props:{componentWidth:{type:Number,default:0},productivityCategories:{type:Array,required:!0},numberOfCategoriesSelected:{type:Number,default:0},areMaxCategoriesReached:{type:Boolean,default:!1},isExpansionMode:{type:Boolean,default:!1}},setup(o){const i=o,t=e.ref(!1),a=e.ref(!1),s=e.ref(!1),l=e.computed(()=>({"--template-columns":i.isExpansionMode?"1fr":"1fr 1fr"})),n=e.computed(()=>i.productivityCategories.offensive.categories.reduce((c,u)=>(u.isSelected&&c++,c),0)),f=e.computed(()=>i.productivityCategories.defensive.categories.reduce((c,u)=>(u.isSelected&&c++,c),0)),m=e.computed(()=>i.productivityCategories.possession.categories.reduce((c,u)=>(u.isSelected&&c++,c),0));function _(c,u){u.isSelected=c,setTimeout(()=>{u.priority=i.numberOfCategoriesSelected},10)}function g(c){c==="offensive"?t.value=!t.value:c==="defensive"?a.value=!a.value:c==="possession"&&(s.value=!s.value)}return(c,u)=>(e.openBlock(),e.createElementBlock("div",ye,[e.createElementVNode("div",{class:"productivity__body",style:e.normalizeStyle(l.value)},[e.createElementVNode("div",ge,[e.createElementVNode("div",be,[e.createElementVNode("div",Se,[e.createElementVNode("span",null,e.toDisplayString(o.productivityCategories.offensive.title),1),e.createElementVNode("span",_e,"("+e.toDisplayString(n.value)+")",1)]),e.createElementVNode("div",{class:"productivity__body__title__expand-button",onClick:u[0]||(u[0]=p=>g("offensive"))},[e.withDirectives(e.createVNode(w,{"is-expanded":t.value},null,8,["is-expanded"]),[[e.vShow,o.isExpansionMode]])])]),e.withDirectives(e.createElementVNode("div",xe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.productivityCategories.offensive.categories,p=>(e.openBlock(),e.createElementBlock("div",{key:p.id,class:"productivity__checkbox"},[e.createVNode(e.unref(C),{label:p.name,"model-value":p.isSelected,"avoid-to-check":o.areMaxCategoriesReached,"box-value":p.priority||0,"onUpdate:modelValue":b=>_(b,p)},null,8,["label","model-value","avoid-to-check","box-value","onUpdate:modelValue"])]))),128))],512),[[e.vShow,!o.isExpansionMode||t.value]])]),e.createElementVNode("div",ke,[e.createElementVNode("div",Ce,[e.createElementVNode("div",Ve,[e.createElementVNode("span",null,e.toDisplayString(o.productivityCategories.defensive.title),1),e.createElementVNode("span",Ee,"("+e.toDisplayString(f.value)+")",1)]),e.createElementVNode("div",{class:"productivity__body__title__expand-button",onClick:u[1]||(u[1]=p=>g("defensive"))},[e.withDirectives(e.createVNode(w,{"is-expanded":a.value},null,8,["is-expanded"]),[[e.vShow,o.isExpansionMode]])])]),e.withDirectives(e.createElementVNode("div",Be,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.productivityCategories.defensive.categories,p=>(e.openBlock(),e.createElementBlock("div",{key:p.id,class:"productivity__checkbox"},[e.createVNode(e.unref(C),{label:p.name,"model-value":p.isSelected,"avoid-to-check":o.areMaxCategoriesReached,"box-value":p.priority||0,"onUpdate:modelValue":b=>_(b,p)},null,8,["label","model-value","avoid-to-check","box-value","onUpdate:modelValue"])]))),128))],512),[[e.vShow,!o.isExpansionMode||a.value]]),e.createElementVNode("div",Ne,[e.createElementVNode("div",we,[e.createElementVNode("span",null,e.toDisplayString(o.productivityCategories.possession.title),1),e.createElementVNode("span",ve,"("+e.toDisplayString(m.value)+")",1)]),e.createElementVNode("div",{class:"productivity__body__title__expand-button",onClick:u[2]||(u[2]=p=>g("possession"))},[e.withDirectives(e.createVNode(w,{"is-expanded":s.value},null,8,["is-expanded"]),[[e.vShow,o.isExpansionMode]])])]),e.withDirectives(e.createElementVNode("div",Te,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.productivityCategories.possession.categories,p=>(e.openBlock(),e.createElementBlock("div",{key:p.id,class:"productivity__checkbox"},[e.createVNode(e.unref(C),{label:p.name,"model-value":p.isSelected,"avoid-to-check":o.areMaxCategoriesReached,"box-value":p.priority||0,"onUpdate:modelValue":b=>_(b,p)},null,8,["label","model-value","avoid-to-check","box-value","onUpdate:modelValue"])]))),128))],512),[[e.vShow,!o.isExpansionMode||s.value]])])],4)]))}},[["__scopeId","data-v-61733186"]]),ba="",P=o=>(e.pushScopeId("data-v-9d942e0a"),o=o(),e.popScopeId(),o),Fe={class:"details__header"},Me=P(()=>e.createElementVNode("div",{class:"details__header__title"},"Jugando como",-1)),Pe={class:"details__header__checkbox"},Ae={class:"details__body"},Le={class:"details__body__playing-as"},De=["onClick"],Ie={class:"details__header"},Re=P(()=>e.createElementVNode("div",{class:"details__header__title"},"En: (Elige el lapso de tiempo)",-1)),ze={class:"details__header__checkbox"},Oe={class:"details__body"},We=P(()=>e.createElementVNode("div",{class:"details__body__title"},"1er tiempo",-1)),Ue={class:"details__body__game-section"},Ge=["onClick"],He={class:"details__body"},Ye=P(()=>e.createElementVNode("div",{class:"details__body__title"},"2do tiempo",-1)),je={class:"details__body__game-section"},Xe=["onClick"],qe=B({__name:"TemplateDetails",props:{playingAs:{type:Array,default:()=>[{name:"Local",isSelected:!0},{name:"Visitante",isSelected:!0}]},gameSections:{type:Array,default:()=>[{text:"0-15",value:1,isSelected:!0},{text:"16-30",value:2,isSelected:!0},{text:"31-45",value:3,isSelected:!0},{text:"46-60",value:4,isSelected:!0},{text:"61-75",value:5,isSelected:!0},{text:"76-90",value:6,isSelected:!0}]},buttonsBackgroundColor:{type:String,default:"rgba(255, 255, 255, 0)"},buttonsBackgroundColorActive:{type:String,default:"rgba(203, 238, 107, 0.05)"},buttonsTextColor:{type:String,default:"rgba(255, 255, 255, 0.8)"},buttonsTextColorActive:{type:String,default:"rgba(255, 255, 255, 1)"},buttonsBorderColor:{type:String,default:"#8ea2ab"},buttonsBorderColorActive:{type:String,default:"#cbee6b"},buttonsBorderWidth:{type:String,default:"0.8px"},buttonsBorderWidthActive:{type:String,default:"1px"},buttonsBorderRadius:{type:String,default:"4px"}},setup(o){const i=o;e.useCssVars(g=>({"1ef6d8d8":o.buttonsBackgroundColor,"6e500635":o.buttonsTextColor,"400b5939":o.buttonsBorderWidth,"3ef45ad6":o.buttonsBorderColor,"898e008c":o.buttonsBackgroundColorActive,"3ff2359b":o.buttonsTextColorActive,"123c359f":o.buttonsBorderWidthActive,"545a6508":o.buttonsBorderColorActive}));const t=e.computed(()=>i.playingAs.every(g=>g.isSelected)),a=e.computed(()=>i.gameSections.every(g=>g.isSelected)),s=e.computed(()=>i.gameSections.reduce((g,c)=>(c.value<=3?g.firstHalf.push(c):g.secondHalf.push(c),g),{firstHalf:[],secondHalf:[]})),l=e.computed(()=>({"--border-radius-first-button":`${i.buttonsBorderRadius} 0 0 ${i.buttonsBorderRadius}`,"--border-radius-last-button":`0 ${i.buttonsBorderRadius} ${i.buttonsBorderRadius} 0`}));function n(g){g?i.playingAs.forEach(c=>{c.isSelected=!0}):i.playingAs.forEach((c,u)=>{c.isSelected=u===0})}function f(g){i.playingAs.filter(c=>c.isSelected).length===1&&g.isSelected||(g.isSelected=!g.isSelected)}function m(g){i.gameSections.filter(c=>c.isSelected).length===1&&g.isSelected||(g.isSelected=!g.isSelected)}function _(g){g?i.gameSections.forEach(c=>{c.isSelected=!0}):i.gameSections.forEach((c,u)=>{c.isSelected=u===0})}return(g,c)=>(e.openBlock(),e.createElementBlock("div",{class:"details",style:e.normalizeStyle(l.value)},[e.createElementVNode("div",Fe,[Me,e.createElementVNode("div",Pe,[e.createVNode(e.unref(C),{label:"Todos","model-value":t.value,"onUpdate:modelValue":n},null,8,["model-value"])])]),e.createElementVNode("div",Ae,[e.createElementVNode("div",Le,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.playingAs,(u,p)=>(e.openBlock(),e.createElementBlock("div",{key:`pa${p}`,class:e.normalizeClass(["details__body__button",{active:u.isSelected}]),onClick:b=>f(u)},e.toDisplayString(u.name),11,De))),128))])]),e.createElementVNode("div",Ie,[Re,e.createElementVNode("div",ze,[e.createVNode(e.unref(C),{label:"Todos","model-value":a.value,"onUpdate:modelValue":_},null,8,["model-value"])])]),e.createElementVNode("div",Oe,[We,e.createElementVNode("div",Ue,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.firstHalf,(u,p)=>(e.openBlock(),e.createElementBlock("div",{key:`pa${p}`,class:e.normalizeClass(["details__body__button",{active:u.isSelected}]),onClick:b=>m(u)},e.toDisplayString(u.text),11,Ge))),128))])]),e.createElementVNode("div",He,[Ye,e.createElementVNode("div",je,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value.secondHalf,(u,p)=>(e.openBlock(),e.createElementBlock("div",{key:`pa${p}`,class:e.normalizeClass(["details__body__button",{active:u.isSelected}]),onClick:b=>m(u)},e.toDisplayString(u.text),11,Xe))),128))])])],4))}},[["__scopeId","data-v-9d942e0a"]]),_a="",Ze={class:"scroll-container"},U=B({__name:"ScrollContainer",props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"}},setup(o){return e.useCssVars(i=>({"6aab424d":o.height,39848040:o.width})),(i,t)=>(e.openBlock(),e.createElementBlock("div",Ze,[e.renderSlot(i.$slots,"default",{},void 0,!0)]))}},[["__scopeId","data-v-218f5976"]]),ka="",Ke={class:"tournaments"},Je={class:"tournaments__tournament"},Qe=B({__name:"TemplateTournaments",props:{tournaments:{type:Array,default:()=>[]}},emits:["change-filters-selected","update:filters"],setup(o,{emit:i}){const t=o,a=e.ref(!1);e.watch(()=>t.tournaments,l=>{const n=l.filter(f=>f.isSelected);a.value=n.length===l.length,i("change-filters-selected",n.length),i("update:filters",n)},{immediate:!0,deep:!0});function s(l){t.tournaments.forEach(n=>{n.isSelected=l})}return(l,n)=>(e.openBlock(),e.createElementBlock("div",Ke,[e.createVNode(U,{height:"200px"},{default:e.withCtx(()=>[e.createElementVNode("div",Je,[e.createVNode(e.unref(C),{"model-value":a.value,label:"Todas las ligas",width:"100%","onUpdate:modelValue":s},null,8,["model-value"])]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.tournaments,f=>(e.openBlock(),e.createElementBlock("div",{key:f.id||f._id,class:"tournaments__tournament"},[e.createVNode(e.unref(C),{modelValue:f.isSelected,"onUpdate:modelValue":m=>f.isSelected=m,label:f.name,width:"100%"},null,8,["modelValue","onUpdate:modelValue","label"])]))),128))]),_:1})]))}},[["__scopeId","data-v-86147065"]]),d={PLAYS:"plays",PRODUCTIVITY:"productivity",FIELD:"field",UNIVERSE:"universe",DETAILS:"details",TOURNAMENTS:"tournaments",PERSONAL_DATA:"personalData",PLAYS_TYPES:"playsTypes",GOLSTATS:"golstats"},Va="",et={key:0,class:"plays-golstats__placeholder"},tt=["onClick"],ot={key:0,class:"plays-golstats__item__value"},it={class:"plays-golstats__item__text"},lt={class:"plays-golstats__item__svg"},at={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},st=["fill"],G=B({__name:"TemplatePlaysTypeAndGolstats",props:{height:{type:String,default:"fit-content"},type:{type:String,default:""},categories:{type:Array,default:()=>[]},svgColor:{type:String,default:"#CBEE6B"},svgWidth:{type:Number,default:10},svgHeight:{type:Number,default:8}},emits:["change-filters-selected","update:filters"],setup(o,{emit:i}){const t=o,a=e.computed(()=>({"--grid-template-columns":t.type===d.PLAYS_TYPES?"1fr min-content":"min-content 1fr min-content","--svg-width":`${t.svgWidth}px`,"--svg-height":`${t.svgHeight}px`}));e.watch(()=>t.categories,l=>{const n=l.filter(f=>f.isSelected);i("update:filters",n)},{immediate:!0,deep:!0});function s(l){l.isSelected?l.isSelected=!1:(t.categories.forEach(n=>{n.isSelected=!1}),l.isSelected=!0,t.type===d.GOLSTATS&&i("change-filters-selected",l.value))}return(l,n)=>(e.openBlock(),e.createElementBlock("div",{class:"plays-golstats",style:e.normalizeStyle(a.value)},[e.createVNode(U,{height:o.height},{default:e.withCtx(()=>[o.type===e.unref(d).PLAYS_TYPES?(e.openBlock(),e.createElementBlock("div",et," Elige un tipo de jugada para filtrar: ")):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.categories,(f,m)=>(e.openBlock(),e.createElementBlock("div",{key:`k${m}`,class:"plays-golstats__item",onClick:_=>s(f)},[o.type===e.unref(d).GOLSTATS?(e.openBlock(),e.createElementBlock("div",ot,e.toDisplayString(f.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",it,e.toDisplayString(f.name),1),e.createElementVNode("div",lt,[e.withDirectives((e.openBlock(),e.createElementBlock("svg",at,[e.createElementVNode("path",{d:"M9.77994 1.70133L4.10994 7.37133C3.96994 7.51133 3.77994 7.59133 3.57994 7.59133C3.37994 7.59133 3.18994 7.51133 3.04994 7.37133L0.219941 4.54133C-0.0700586 4.25133 -0.0700586 3.77133 0.219941 3.48133C0.509941 3.19133 0.989941 3.19133 1.27994 3.48133L3.57994 5.78133L8.71994 0.641328C9.00994 0.351328 9.48994 0.351328 9.77994 0.641328C10.0699 0.931328 10.0699 1.40133 9.77994 1.70133Z",fill:o.svgColor},null,8,st)],512)),[[e.vShow,f.isSelected]])])],8,tt))),128))]),_:1},8,["height"])],4))}},[["__scopeId","data-v-e8290a62"]]),nt=(o,i)=>{const t=o.__vccOpts||o;for(const[a,s]of i)t[a]=s;return t},L={props:{textRight:{type:String,default:""},textRightColor:{type:String,default:"#FFFFFF"},textRightFontFamily:{type:String,default:"Poppins-Regular"},textRightFontSize:{type:String,default:"13px"},placeholder:{type:String,default:"Ingresar valor"},value:String,inputType:{type:String,default:"text"},width:{type:String,default:"100%"},height:{type:String,default:"30px"},backgroundColor:{type:String,default:"#2e3b46"},borderRadius:{type:String,default:"10px"},border:{type:String,default:"1px solid #bdc1c4"},color:{type:String,default:"#FFFFFF"},placeholderColor:{type:String,default:"#bdc1c4"},font:{type:String,default:"Poppins-Regular"},fontSize:{type:String,default:"13px"},padding:{type:String,default:"11px"}},computed:{inputStyle(){return{width:this.width,height:this.height,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:this.border,color:this.color,fontFamily:this.font,fontSize:this.fontSize,placeholderColor:this.placeholderColor,paddingLeft:this.padding}}},methods:{updateInputValue(o){this.$emit("inputval",o.target.value)}}},H=()=>{e.useCssVars(o=>({"27733d10":o.textRightColor,"16b61823":o.textRightFontSize,"2aeb1306":o.textRightFontFamily}))},Y=L.setup;L.setup=Y?(o,i)=>(H(),Y(o,i)):H;const rt={class:"input-container"},dt=["type","placeholder","value"],ct={class:"right-text"};function pt(o,i,t,a,s,l){return e.openBlock(),e.createElementBlock("div",rt,[e.createElementVNode("input",{type:t.inputType,placeholder:t.placeholder,value:t.value,onInput:i[0]||(i[0]=(...n)=>l.updateInputValue&&l.updateInputValue(...n)),style:e.normalizeStyle(l.inputStyle)},null,44,dt),e.createElementVNode("div",ct,e.toDisplayString(t.textRight),1)])}const D=nt(L,[["render",pt],["__scopeId","data-v-a3591a88"]]),Ba="",v=o=>(e.pushScopeId("data-v-82b724f6"),o=o(),e.popScopeId(),o),ut={class:"universe"},mt=v(()=>e.createElementVNode("div",{class:"universe__sub-header"},"Escribe los minutos jugados",-1)),ht=v(()=>e.createElementVNode("div",{class:"universe__label"},"Igual o mayor que:",-1)),ft={class:"universe__inputs"},yt={class:"universe__inputs__input"},gt={class:"universe__inputs__checkbox"},bt=v(()=>e.createElementVNode("div",{class:"universe__sub-header"},"Escribe el % de minutos jugados contra el total posible",-1)),St=v(()=>e.createElementVNode("div",{class:"universe__label"},"Mayor que:",-1)),_t={class:"universe__inputs"},xt={class:"universe__inputs__input"},kt={class:"universe__inputs__checkbox"},Ct=v(()=>e.createElementVNode("div",{class:"universe__sub-header"},"Selecciona el lapso de tiempo",-1)),Vt=v(()=>e.createElementVNode("div",{class:"universe__label"},"Ultímos:",-1)),Et={class:"universe__inputs"},Bt={class:"universe__inputs__input"},Nt={class:"universe__inputs__checkbox"},wt=v(()=>e.createElementVNode("div",{class:"universe__sub-header"},"Tipo de estádisticas:",-1)),vt={class:"universe__checkboxes"},Tt={class:"universe__checkboxes__checkbox"},$t={class:"universe__checkboxes__checkbox"},Ft={class:"universe__checkboxes__checkbox"},Mt=B({__name:"TemplateUniverse",props:{universeFilters:{type:Object,default:()=>({minutesPlayed:0,percentMinutesPlayed:0,lastMonths:0,statistics:{totals:!1,averagePerGame:!1,averagePerMinute:!1}})}},emits:["update:universeFilters"],setup(o,{emit:i}){const t=o,a=e.ref(!1),s=e.ref(!1),l=e.ref(!1),n=e.ref({...t.universeFilters});e.watch(()=>n,c=>{a.value=!c.value.minutesPlayed||Number(c.value.minutesPlayed)===0,s.value=!c.value.percentMinutesPlayed||Number(c.value.percentMinutesPlayed)===0,l.value=!c.value.lastMonths||Number(c.value.lastMonths)===0,i("update:universeFilters",c)},{deep:!0,immediate:!0});function f(c){n.value.minutesPlayed=c.target.value}function m(c){n.value.percentMinutesPlayed=c.target.value}function _(c){n.value.lastMonths=c.target.value}function g(c,u){switch(u){case"minutes":a.value=c,c&&(n.value.minutesPlayed=0);break;case"percent":s.value=c,c&&(n.value.percentMinutesPlayed=0);break;case"months":l.value=c,c&&(n.value.lastMonths=0);break}}return(c,u)=>(e.openBlock(),e.createElementBlock("div",ut,[mt,ht,e.createElementVNode("div",ft,[e.createElementVNode("div",yt,[e.createVNode(e.unref(D),{value:n.value.minutesPlayed,"input-type":"number","border-radius":"4px",border:"solid 0.8px #8ea2ab","text-right":"Min",onInput:f},null,8,["value"])]),e.createElementVNode("div",gt,[e.createVNode(e.unref(C),{modelValue:a.value,label:"Indistinto","box-position":"right","onUpdate:modelValue":u[0]||(u[0]=p=>g(p,"minutes"))},null,8,["modelValue"])])]),bt,St,e.createElementVNode("div",_t,[e.createElementVNode("div",xt,[e.createVNode(e.unref(D),{value:n.value.percentMinutesPlayed,"input-type":"number","border-radius":"4px",border:"solid 0.8px #8ea2ab","text-right":"%",onInput:m},null,8,["value"])]),e.createElementVNode("div",kt,[e.createVNode(e.unref(C),{modelValue:s.value,label:"Indistinto","box-position":"right","onUpdate:modelValue":u[1]||(u[1]=p=>g(p,"percent"))},null,8,["modelValue"])])]),Ct,Vt,e.createElementVNode("div",Et,[e.createElementVNode("div",Bt,[e.createVNode(e.unref(D),{value:n.value.lastMonths,"input-type":"number","border-radius":"4px",border:"solid 0.8px #8ea2ab","text-right":"Meses",onInput:_},null,8,["value"])]),e.createElementVNode("div",Nt,[e.createVNode(e.unref(C),{modelValue:l.value,label:"Indistinto","box-position":"right","onUpdate:modelValue":u[2]||(u[2]=p=>g(p,"months"))},null,8,["modelValue"])])]),wt,e.createElementVNode("div",vt,[e.createElementVNode("div",Tt,[e.createVNode(e.unref(C),{modelValue:n.value.statistics.totals,"onUpdate:modelValue":u[3]||(u[3]=p=>n.value.statistics.totals=p),label:"Totales"},null,8,["modelValue"])]),e.createElementVNode("div",$t,[e.createVNode(e.unref(C),{modelValue:n.value.statistics.averagePerGame,"onUpdate:modelValue":u[4]||(u[4]=p=>n.value.statistics.averagePerGame=p),label:"Promedio por partido"},null,8,["modelValue"])]),e.createElementVNode("div",Ft,[e.createVNode(e.unref(C),{modelValue:n.value.statistics.averagePerMinute,"onUpdate:modelValue":u[5]||(u[5]=p=>n.value.statistics.averagePerMinute=p),label:"Promedio por minuto"},null,8,["modelValue"])])])]))}},[["__scopeId","data-v-82b724f6"]]),Pt=(o,i)=>{const t=o.__vccOpts||o;for(const[a,s]of i)t[a]=s;return t},At={props:{value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1}},watch:{value:{deep:!0,immediate:!0,handler(o){this.status=o}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(o){this.$emit("click",o),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},Lt=["src"],Dt={key:1,class:"text"},It=["src"];function Rt(o,i,t,a,s,l){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["button",s.status&&t.typeOnOff&&"button-active"]),style:e.normalizeStyle([l.customStyle,s.status&&t.typeOnOff&&l.customActive]),onClick:i[0]||(i[0]=(...n)=>l.btnClick&&l.btnClick(...n))},[t.icon&&t.iconPosition.toLowerCase()==="left"?(e.openBlock(),e.createElementBlock("img",{key:0,class:"icon",style:e.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,Lt)):e.createCommentVNode("",!0),t.textValue?(e.openBlock(),e.createElementBlock("div",Dt,e.toDisplayString(t.textValue),1)):e.createCommentVNode("",!0),t.icon&&t.iconPosition.toLowerCase()==="right"?(e.openBlock(),e.createElementBlock("img",{key:2,class:"icon",style:e.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,It)):e.createCommentVNode("",!0)],6)}const I=Pt(At,[["render",Rt],["__scopeId","data-v-1bfd444b"]]),zt=(o,i)=>{const t=o.__vccOpts||o;for(const[a,s]of i)t[a]=s;return t},Ot={props:{value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1}},watch:{value:{deep:!0,immediate:!0,handler(o){this.status=o}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(o){this.$emit("click",o),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},Wt=["src"],Ut={key:1,class:"text"},Gt=["src"];function Ht(o,i,t,a,s,l){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["button",s.status&&t.typeOnOff&&"button-active"]),style:e.normalizeStyle([l.customStyle,s.status&&t.typeOnOff&&l.customActive]),onClick:i[0]||(i[0]=(...n)=>l.btnClick&&l.btnClick(...n))},[t.icon&&t.iconPosition.toLowerCase()==="left"?(e.openBlock(),e.createElementBlock("img",{key:0,class:"icon",style:e.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,Wt)):e.createCommentVNode("",!0),t.textValue?(e.openBlock(),e.createElementBlock("div",Ut,e.toDisplayString(t.textValue),1)):e.createCommentVNode("",!0),t.icon&&t.iconPosition.toLowerCase()==="right"?(e.openBlock(),e.createElementBlock("img",{key:2,class:"icon",style:e.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,Gt)):e.createCommentVNode("",!0)],6)}const Yt=zt(Ot,[["render",Ht],["__scopeId","data-v-1bfd444b"]]),jt=(o,i)=>{const t=o.__vccOpts||o;for(const[a,s]of i)t[a]=s;return t},Xt={key:1},qt={width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Zt=["fill"],Kt={__name:"GSC-Checkbox",props:{width:{type:String,default:"fit-content"},height:{type:String,default:"fit-content"},label:{type:String,default:""},labelColor:{type:String,default:"white"},fontFamily:{type:String,default:"sans-serif"},labelFontSize:{type:String,default:"12px"},modelValue:{type:Boolean,default:!1},justifyContent:{type:String,default:"flex-start"},alignItems:{type:String,default:"center"},boxBackgroundColor:{type:String,default:"#CBEE6B"},boxValueColor:{type:String,default:"#0d1d29"},boxValue:{type:[String,Number],default:""},boxPosition:{type:String,default:"left",validator(o){return["left","right","top","bottom"].includes(o)}},boxWidthAndHeight:{type:String,default:"16px"},boxBorderColor:{type:String,default:"#969da2"},boxBorderWidth:{type:String,default:"2px"},boxBorderRadius:{type:String,default:"4px"},boxValueFontSize:{type:String,default:"10px"},boxValueFontFamily:{type:String,default:"sans-serif"},avoidInteraction:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(o,{emit:i}){const t=o,a=e.ref(!1),s=e.computed(()=>{const m={color:t.boxValueColor,"font-family":t.fontFamily,height:t.boxWidthAndHeight,width:t.boxWidthAndHeight,minWidth:t.boxWidthAndHeight,"border-radius":t.boxBorderRadius};return a.value?(m["background-color"]=t.boxBackgroundColor,m.border=`solid ${t.boxBorderWidth} ${t.boxBackgroundColor}`):m.border=`solid ${t.boxBorderWidth} ${t.boxBorderColor}`,m}),l=e.computed(()=>({"font-family":t.boxValueFontFamily,"font-size":t.boxValueFontSize,color:t.boxValueColor,"line-height":1})),n=e.computed(()=>{const m={color:t.labelColor,"font-family":t.fontFamily,"font-size":t.labelFontSize};return(t.boxPosition==="left"||t.boxPosition==="right")&&(m[`margin-${t.boxPosition}`]="10px"),m});e.watch(()=>t.modelValue,m=>{m!==a.value&&(a.value=m)},{immediate:!0});function f(){t.avoidInteraction||(a.value=!a.value,i("update:modelValue",a.value))}return(m,_)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["checkbox",o.boxPosition]),onClick:f},[e.createElementVNode("div",{class:"checkbox__box",style:e.normalizeStyle(s.value)},[a.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[t.boxValue?(e.openBlock(),e.createElementBlock("div",{key:0,class:"checkbox__box__value",style:e.normalizeStyle(l.value)},e.toDisplayString(o.boxValue),5)):(e.openBlock(),e.createElementBlock("div",Xt,[(e.openBlock(),e.createElementBlock("svg",qt,[e.createElementVNode("path",{d:"M9.77994 1.70133L4.10994 7.37133C3.96994 7.51133 3.77994 7.59133 3.57994 7.59133C3.37994 7.59133 3.18994 7.51133 3.04994 7.37133L0.219941 4.54133C-0.0700586 4.25133 -0.0700586 3.77133 0.219941 3.48133C0.509941 3.19133 0.989941 3.19133 1.27994 3.48133L3.57994 5.78133L8.71994 0.641328C9.00994 0.351328 9.48994 0.351328 9.77994 0.641328C10.0699 0.931328 10.0699 1.40133 9.77994 1.70133Z",fill:o.boxValueColor},null,8,Zt)]))]))],64)):e.createCommentVNode("",!0)],4),e.createElementVNode("div",{class:"checkbox__label",style:e.normalizeStyle(n.value)},e.toDisplayString(o.label),5)],2))}},Jt=jt(Kt,[["__scopeId","data-v-dcd61b4d"]]),Qt=(o,i)=>{const t=o.__vccOpts||o;for(const[a,s]of i)t[a]=s;return t},R={components:{GSCButton:Yt,GSCCheckbox:Jt},data(){return{all:!1,sectors:Array.from({length:16},(o,i)=>({sector:i+1,active:!1}))}},props:{backgroundColor:{type:String,default:"#2e3b46"},heightContainer:{type:String,default:"370px"},widthContainer:{type:String,default:"455px"},heightField:{type:Number,default:230},widthField:{type:Number,default:350},heightFieldGrid:{type:String,default:"230px"},widthFieldGrid:{type:String,default:"350px"},backgroundSectorActive:{type:String,default:"#cbee6b"},backgroundSectorDisabled:{type:String,default:"#2e3b46"},borderWidth:{type:Number,default:1},opacitySector:{type:Number,default:.5},borderColor:{type:String,default:"#FFFFFF"},colorLineField:{type:String,default:"#bfc2c5"},borderWidthLineField:{type:Number,default:2},value:{type:Array,default:()=>[]}},watch:{value:{deep:!0,immediate:!0,handler(o){for(let i=0;i<o.length;i++)this.sectors[o[i]-1].active=!0,this.validateField(o[i]-1)}},sectors:{handler(o){var i=[];for(let t=0;t<o.length;t++)o[t].active&&i.push(o[t].sector);this.$emit("update:modelValue",i)},deep:!0}},computed:{translx(){var o=0;return this.widthField>305&&(o=this.widthField-305),o},transly(){var o=0;return this.heightField>195&&(o=this.heightField-195,o=o/2),o},translxcircle(){var o=0;return this.widthField>305&&(o=this.widthField-305,o=o/2),o}},methods:{clickAll(o){if(o)for(let i=0;i<this.sectors.length;i++)this.sectors[i].active=!0,this.validateField(i);else for(let i=0;i<this.sectors.length;i++)this.sectors[i].active=!1,this.validateField(i)},selectSector(o){this.sectors[o].active=!this.sectors[o].active,this.validateField(o)},btn14(o){this.sectors[0].active=o?this.sectors[0].active=!0:this.sectors[0].active=!1,this.sectors[1].active=o?this.sectors[1].active=!0:this.sectors[1].active=!1,this.sectors[2].active=o?this.sectors[2].active=!0:this.sectors[2].active=!1,this.sectors[3].active=o?this.sectors[3].active=!0:this.sectors[3].active=!1},btn24(o){this.sectors[4].active=o?this.sectors[4].active=!0:this.sectors[4].active=!1,this.sectors[5].active=o?this.sectors[5].active=!0:this.sectors[5].active=!1,this.sectors[6].active=o?this.sectors[6].active=!0:this.sectors[6].active=!1,this.sectors[7].active=o?this.sectors[7].active=!0:this.sectors[7].active=!1},btn34(o){this.sectors[8].active=o?this.sectors[8].active=!0:this.sectors[8].active=!1,this.sectors[9].active=o?this.sectors[9].active=!0:this.sectors[9].active=!1,this.sectors[10].active=o?this.sectors[10].active=!0:this.sectors[10].active=!1,this.sectors[11].active=o?this.sectors[11].active=!0:this.sectors[11].active=!1},btn44(o){this.sectors[12].active=o?this.sectors[12].active=!0:this.sectors[12].active=!1,this.sectors[13].active=o?this.sectors[13].active=!0:this.sectors[13].active=!1,this.sectors[14].active=o?this.sectors[14].active=!0:this.sectors[14].active=!1,this.sectors[15].active=o?this.sectors[15].active=!0:this.sectors[15].active=!1},validateField(o){(o===0||o===1||o===2||o===3)&&(this.status14=!!(this.sectors[0].active&&this.sectors[1].active&&this.sectors[2].active&&this.sectors[3].active)),(o===4||o===5||o===6||o===7)&&(this.status24=!!(this.sectors[4].active&&this.sectors[5].active&&this.sectors[6].active&&this.sectors[7].active)),(o===8||o===9||o===10||o===11)&&(this.status34=!!(this.sectors[8].active&&this.sectors[9].active&&this.sectors[10].active&&this.sectors[11].active)),(o===12||o===13||o===14||o===15)&&(this.status44=!!(this.sectors[12].active&&this.sectors[13].active&&this.sectors[14].active&&this.sectors[15].active)),this.status14&&this.status34&&this.status24&&this.status44?this.all=!0:this.all=!1}}},j=()=>{e.useCssVars(o=>({"1e0f091f":o.widthContainer,a46bf854:o.heightContainer,"38f878de":o.backgroundColor,fc1d6004:o.widthFieldGrid,"11ac4ab5":o.heightFieldGrid}))},X=R.setup;R.setup=X?(o,i)=>(j(),X(o,i)):j;const eo=o=>(e.pushScopeId("data-v-8605fa5e"),o=o(),e.popScopeId(),o),to={class:"gsc-field"},oo={class:"gsc-field__title-checked"},io=eo(()=>e.createElementVNode("div",{class:"gsc-field__title-checked__title"}," Elige el area o zona de cancha ",-1)),lo={class:"gsc-field__title-checked__check-cont"},ao={class:"gsc-field__container-field"},so={class:"gsc-field__container-field__field"},no={width:"100%",height:"100%",fill:"#2e3b46",xmlns:"http://www.w3.org/2000/svg"},ro=["stroke"],co=["stroke","stroke-width"],po=["stroke","stroke-width"],uo=["stroke-width","stroke"],mo=["fill","fill-opacity","stroke","stroke-width"],ho=["fill","fill-opacity","stroke","stroke-width"],fo=["fill","fill-opacity","stroke","stroke-width"],yo=["fill","fill-opacity","stroke","stroke-width"],go=["fill","fill-opacity","stroke","stroke-width"],bo=["fill","fill-opacity","stroke","stroke-width"],So=["fill","fill-opacity","stroke","stroke-width"],_o=["fill","fill-opacity","stroke","stroke-width"],xo=["fill","fill-opacity","stroke","stroke-width"],ko=["fill","fill-opacity","stroke","stroke-width"],Co=["fill","fill-opacity","stroke","stroke-width"],Vo=["fill","fill-opacity","stroke","stroke-width"],Eo=["fill","fill-opacity","stroke","stroke-width"],Bo=["fill","fill-opacity","stroke","stroke-width"],No=["fill","fill-opacity","stroke","stroke-width"],wo=["fill","fill-opacity","stroke","stroke-width"],vo={class:"gsc-field__container-field__bar-buttons"};function To(o,i,t,a,s,l){const n=e.resolveComponent("GSCCheckbox"),f=e.resolveComponent("GSCButton");return e.openBlock(),e.createElementBlock("div",to,[e.createElementVNode("div",oo,[io,e.createElementVNode("div",lo,[e.createVNode(n,{label:"Todas las zonas","box-value-font-family":"Poppins-Regular","box-position":"right","onUpdate:modelValue":l.clickAll,value:s.all},null,8,["onUpdate:modelValue","value"])])]),e.createElementVNode("div",ao,[e.createElementVNode("div",so,[(e.openBlock(),e.createElementBlock("svg",no,[e.createElementVNode("rect",{x:"1.5",y:"0.5",width:"100%",height:"100%",rx:"1.5",stroke:t.colorLineField},null,8,ro),e.createElementVNode("path",{style:e.normalizeStyle("transform: translate("+l.translx+"px, "+l.transly+"px);"),d:"M303.597 39.9799H263.371C262.817 39.9799 262.369 40.4301 262.371 40.984L262.842 155.176C262.845 155.726 263.292 156.172 263.842 156.172H302.884",stroke:t.colorLineField,"stroke-width":t.borderWidthLineField,"stroke-linecap":"square"},null,12,co),e.createElementVNode("path",{style:e.normalizeStyle("transform: translateY("+l.transly+"px);"),class:"porteria1",d:"M1.09097 156.172L41.3162 156.172C41.8701 156.172 42.3185 155.722 42.3162 155.168L41.845 40.9758C41.8427 40.4252 41.3957 39.98 40.845 39.98L1.80338 39.98",stroke:t.colorLineField,"stroke-width":t.borderWidthLineField,"stroke-linecap":"square"},null,12,po),e.createElementVNode("path",{style:e.normalizeStyle("transform: translate("+l.translxcircle+"px, "+l.transly+"px);"),class:"circle",d:"M182.911 97.4512C182.911 113.726 169.44 126.936 152.801 126.936C136.162 126.936 122.691 113.726 122.691 97.4512C122.691 81.1767 136.162 67.9662 152.801 67.9662C169.44 67.9662 182.911 81.1767 182.911 97.4512Z","stroke-width":t.borderWidthLineField,stroke:t.colorLineField},null,12,uo),e.createElementVNode("rect",{x:"0%",y:"0%",width:"25%",height:"25%",fill:s.sectors[0].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[0]||(i[0]=m=>l.selectSector(0))},null,8,mo),e.createElementVNode("rect",{x:"0%",y:"25%",width:"25%",height:"25%",fill:s.sectors[1].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[1]||(i[1]=m=>l.selectSector(1))},null,8,ho),e.createElementVNode("rect",{x:"0%",y:"50%",width:"25%",height:"25%",fill:s.sectors[2].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[2]||(i[2]=m=>l.selectSector(2))},null,8,fo),e.createElementVNode("rect",{x:"0%",y:"75%",width:"25%",height:"25%",fill:s.sectors[3].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[3]||(i[3]=m=>l.selectSector(3))},null,8,yo),e.createElementVNode("rect",{x:"25%",y:"0%",width:"25%",height:"25%",fill:s.sectors[4].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[4]||(i[4]=m=>l.selectSector(4))},null,8,go),e.createElementVNode("rect",{x:"25%",y:"25%",width:"25%",height:"25%",fill:s.sectors[5].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[5]||(i[5]=m=>l.selectSector(5))},null,8,bo),e.createElementVNode("rect",{x:"25%",y:"50%",width:"25%",height:"25%",fill:s.sectors[6].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[6]||(i[6]=m=>l.selectSector(6))},null,8,So),e.createElementVNode("rect",{x:"25%",y:"75%",width:"25%",height:"25%",fill:s.sectors[7].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[7]||(i[7]=m=>l.selectSector(7))},null,8,_o),e.createElementVNode("rect",{x:"50%",y:"0%",width:"25%",height:"25%",fill:s.sectors[8].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[8]||(i[8]=m=>l.selectSector(8))},null,8,xo),e.createElementVNode("rect",{x:"50%",y:"25%",width:"25%",height:"25%",fill:s.sectors[9].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[9]||(i[9]=m=>l.selectSector(9))},null,8,ko),e.createElementVNode("rect",{x:"50%",y:"50%",width:"25%",height:"25%",fill:s.sectors[10].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[10]||(i[10]=m=>l.selectSector(10))},null,8,Co),e.createElementVNode("rect",{x:"50%",y:"75%",width:"25%",height:"25%",fill:s.sectors[11].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[11]||(i[11]=m=>l.selectSector(11))},null,8,Vo),e.createElementVNode("rect",{x:"75%",y:"0%",width:"25%",height:"25%",fill:s.sectors[12].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[12]||(i[12]=m=>l.selectSector(12))},null,8,Eo),e.createElementVNode("rect",{x:"75%",y:"25%",width:"25%",height:"25%",fill:s.sectors[13].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[13]||(i[13]=m=>l.selectSector(13))},null,8,Bo),e.createElementVNode("rect",{x:"75%",y:"50%",width:"25%",height:"25%",fill:s.sectors[14].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[14]||(i[14]=m=>l.selectSector(14))},null,8,No),e.createElementVNode("rect",{x:"75%",y:"75%",width:"25%",height:"25%",fill:s.sectors[15].active?t.backgroundSectorActive:t.backgroundSectorDisabled,"fill-opacity":t.opacitySector,stroke:t.borderColor,"stroke-width":t.borderWidth,onClick:i[15]||(i[15]=m=>l.selectSector(15))},null,8,wo)]))]),e.createElementVNode("div",vo,[(e.openBlock(),e.createBlock(f,{"text-value":"1/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",onStatus:l.btn14,key:o.refreshBtn14,value:o.status14},null,8,["onStatus","value"])),e.createVNode(f,{"text-value":"2/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",onStatus:l.btn24,value:o.status24},null,8,["onStatus","value"]),e.createVNode(f,{"text-value":"3/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",onStatus:l.btn34,value:o.status34},null,8,["onStatus","value"]),e.createVNode(f,{"text-value":"4/4 tos","font-size":"12px",height:"26px",width:"65px","type-on-off":!0,"border-width":1,"font-color":"#bfc2c5","border-color":"#8c9399","border-radius":"4px","font-family":"Poppins-Medium","active-border-width":1,"background-color":"","active-background-color":"#cbee6b33",onStatus:l.btn44,value:o.status44},null,8,["onStatus","value"])])])])}const $o=Qt(R,[["render",To],["__scopeId","data-v-8605fa5e"]]),Fo=(o,i)=>{const t=o.__vccOpts||o;for(const[a,s]of i)t[a]=s;return t},Mo={props:{textOptionLeft:String,textOptionRight:String,height:{type:String,default:"32px"},borderRadius:{type:String,default:"30px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:1},borderColor:{type:String,default:"#FFFFFF"},fontSize:{type:String,default:"14px"},fontColor:{type:String,default:"#000000"},fontFamily:{type:String,default:"Poppins-Regular"},backgroundColor:{type:String,default:"#2e3b46"},circleColorSwitch:{type:String,default:"#FFFFFF"}},computed:{customStyle(){return{height:this.height,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,backgroundColor:this.backgroundColor,circleColor:this.circleColorSwitch}},customText(){return{color:this.fontColor,fontSize:this.fontSize,fontFamily:`${this.fontFamily} !important`}}},methods:{handleSwitchChange(o){o.target.checked?this.$emit("change",this.textOptionLeft):this.$emit("change",this.textOptionRight)}}};function Po(o,i,t,a,s,l){return e.openBlock(),e.createElementBlock("div",{class:"gsc-switch-radio",style:e.normalizeStyle(l.customText)},[e.createTextVNode(e.toDisplayString(t.textOptionLeft)+" ",1),e.createElementVNode("input",{type:"checkbox",id:"toggle-btn",onChange:i[0]||(i[0]=(...n)=>l.handleSwitchChange&&l.handleSwitchChange(...n))},null,32),e.createElementVNode("label",{for:"toggle-btn",style:e.normalizeStyle([l.customStyle,{"--circle-color":t.circleColorSwitch}])},null,4),e.createTextVNode(" "+e.toDisplayString(t.textOptionRight),1)],4)}const Ao=Fo(Mo,[["render",Po],["__scopeId","data-v-1035ec18"]]),wa="",Lo={class:"toggle-buttons__background"},Do=["onClick"],Io=B({__name:"ToggleButtons",props:{buttons:{type:Array,required:!0},height:{type:String,default:"28px"},width:{type:String,default:"100%"},fontSize:{type:String,default:"12px"},fontFamily:{type:String,default:"sans-serif"},borderRadius:{type:String,default:"8px"},mainBackgroundColor:{type:String,default:"#364448"},mainBorderColor:{type:String,default:"#9AA1A3"},mainBorderWidth:{type:String,default:"0.5px"},activeBorderColor:{type:String,default:"#cbee6b"},activeBorderWidth:{type:String,default:"1px"},activeBackgroundColor:{type:String,default:"#2e3b46"}},emits:["change"],setup(o,{emit:i}){const t=o;e.useCssVars(n=>({"5e335520":o.height,"7c62f2a6":o.width,"7deccefa":o.mainBackgroundColor,"26f72117":o.borderRadius,b003a4b0:o.mainBorderWidth,b231a176:o.mainBorderColor,"1a96bc0c":o.fontFamily,"2db76aae":o.fontSize,d47b370a:o.activeBorderWidth,d6a933d0:o.activeBorderColor,"31602dd6":o.activeBackgroundColor}));const a=e.ref(0),s=e.computed(()=>({"--grid-template-columns":`repeat(${t.buttons.length}, 1fr)`}));e.watch(a,(n,f)=>{n!==f&&i("change",{index:n,button:t.buttons[n]})});function l(n){a.value=n}return(n,f)=>(e.openBlock(),e.createElementBlock("div",Lo,[e.createElementVNode("div",{class:"toggle-buttons",style:e.normalizeStyle(s.value)},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.buttons,(m,_)=>(e.openBlock(),e.createElementBlock("div",{key:`b${_}`,class:e.normalizeClass(["toggle-buttons__button",{active:a.value===_}]),onClick:g=>l(_)},e.toDisplayString(m.text||m),11,Do))),128))],4)]))}},[["__scopeId","data-v-785d5dbf"]]),q=(o,i)=>{const t=o.__vccOpts||o;for(const[a,s]of i)t[a]=s;return t},Ro={name:"MultiRangeSlider",props:{baseClassName:{type:String,default:"multi-range-slider"},min:{type:Number},max:{type:Number},minValue:{type:Number},maxValue:{type:Number},step:{type:Number,default:1},preventWheel:{type:Boolean,default:!1},ruler:{type:Boolean,default:!0},label:{type:Boolean,default:!0},labels:{type:Array},minCaption:{type:String},maxCaption:{type:String},rangeMargin:{type:Number}},data(){let o=this.labels||[],i=this.min===void 0?0:this.min,t=o.length?o.length-1:100,a=this.max===void 0?t:this.max,s=this.minValue===void 0?25:this.minValue;o.length&&this.minValue===void 0&&(s=1);let l=this.maxValue||75;if(o.length&&this.maxValue===void 0&&(l=o.length-2),a<=i)throw new Error("Invalid props min or max");if(s>l)throw new Error("Invalid props minValue or maxValue");let n=this.rangeMargin===void 0?this.step:this.rangeMargin,f=n%this.step;return f&&(n=n+this.step-f),{valueMin:s<i?i:s,valueMax:l>a?a:l,interVal:null,startX:null,mouseMoveCounter:null,barBox:null,barValue:0,rangeMarginValue:n}},methods:{onBarLeftClick(){this.valueMin-this.step>=this.minimum?this.valueMin-=this.step:this.valueMin=this.minimum},onInnerBarLeftClick(){this.valueMin+this.rangeMarginValue<this.valueMax&&(this.valueMin+=this.step)},onBarRightClick(){this.valueMax+this.step<=this.maximum?this.valueMax+=this.step:this.valueMax=this.maximum},onInnerBarRightClick(){this.valueMax-this.rangeMarginValue>this.valueMin&&(this.valueMax-=this.step)},onInputMinChange(o){let i=parseFloat(o.target.value);i<=this.valueMax-this.rangeMarginValue&&i>=this.minimum?this.valueMin=i:o.target.value=this.valueMin},onInputMaxChange(o){let i=parseFloat(o.target.value);i>=this.valueMin+this.rangeMarginValue&&i<=this.maximum?this.valueMax=i:o.target.value=this.valueMax},onLeftThumbMousedown(o){if(o.preventDefault(),this.startX=o.clientX,o.type==="touchstart")if(o.touches.length===1)this.startX=o.touches[0].clientX;else return;this.mouseMoveCounter=0,this.barValue=this.valueMin,this.barBox=o.target.parentNode.getBoundingClientRect(),document.addEventListener("mousemove",this.onLeftThumbMousemove),document.addEventListener("mouseup",this.onLeftThumbMouseup),document.addEventListener("touchmove",this.onLeftThumbMousemove),document.addEventListener("touchend",this.onLeftThumbMouseup)},onLeftThumbMousemove(o){this.mouseMoveCounter++;let i=o.clientX;o.type==="touchmove"&&(i=o.touches[0].clientX);let t=(i-this.startX)/this.barBox.width,a=this.barValue+(this.maximum-this.minimum)*t,s=a%this.step;a-=s,a<this.minimum?a=this.minimum:a>this.valueMax-this.rangeMarginValue&&(a=this.valueMax-this.rangeMarginValue),this.valueMin=a},onLeftThumbMouseup(){document.removeEventListener("mousemove",this.onLeftThumbMousemove),document.removeEventListener("mouseup",this.onLeftThumbMouseup),document.removeEventListener("touchmove",this.onLeftThumbMousemove),document.removeEventListener("touchend",this.onLeftThumbMouseup)},onRightThumbMousedown(o){if(o.preventDefault(),this.startX=o.clientX,o.type==="touchstart")if(o.touches.length===1)this.startX=o.touches[0].clientX;else return;this.mouseMoveCounter=0,this.barValue=this.valueMax,this.barBox=o.target.parentNode.getBoundingClientRect(),document.addEventListener("mousemove",this.onRightThumbMousemove),document.addEventListener("mouseup",this.onRightThumbMouseup),document.addEventListener("touchmove",this.onRightThumbMousemove),document.addEventListener("touchend",this.onRightThumbMouseup)},onRightThumbMousemove(o){this.mouseMoveCounter++;let i=o.clientX;o.type==="touchmove"&&(i=o.touches[0].clientX);let t=(i-this.startX)/this.barBox.width,a=this.barValue+(this.maximum-this.minimum)*t,s=a%this.step;a-=s,a<this.valueMin+this.rangeMarginValue?a=this.valueMin+this.rangeMarginValue:a>this.maximum&&(a=this.maximum),this.valueMax=a},onRightThumbMouseup(){document.removeEventListener("mousemove",this.onRightThumbMousemove),document.removeEventListener("mouseup",this.onRightThumbMouseup),document.removeEventListener("touchmove",this.onRightThumbMousemove),document.removeEventListener("touchend",this.onRightThumbMouseup)},onMouseWheel(o){if(this.preventWheel===!0||!o.shiftKey&&!o.ctrlKey)return;let i=this.step;o.deltaY<0&&(i=-i),o.shiftKey&&o.ctrlKey?this.valueMin+i>=this.minimum&&this.valueMax+i<=this.maximum&&(this.valueMin=this.valueMin+i,this.valueMax=this.valueMax+i):o.ctrlKey?(i=this.valueMax+i,i<this.valueMin+this.rangeMarginValue?i=this.valueMin+this.rangeMarginValue:i>this.maximum&&(i=this.maximum),this.valueMax=i):o.shiftKey&&(i=this.valueMin+i,i<this.minimum?i=this.minimum:i>this.valueMax-this.rangeMarginValue&&(i=this.valueMax-this.rangeMarginValue),this.valueMin=i)},triggerInput(){let o=0;this.step.toString().includes(".")&&(o=2);let i={min:this.minimum,max:this.maximum,minValue:parseFloat(this.valueMin.toFixed(o)),maxValue:parseFloat(this.valueMax.toFixed(o))};this.$emit("input",i)}},computed:{minimum(){return this.min===void 0?0:this.min},maximum(){let o=this.labels||[],i=o.length?o.length-1:100;return this.max===void 0?i:this.max},stepCount(){let o=this.labels||[];return o.length?o.length-1:Math.floor((this.maximum-this.minimum)/this.step)},subStepCount(){return(this.labels||[]).length&&this.step>1?(this.maximum-this.minimum)/this.step:0},barMin(){return(this.valueMin-this.minimum)/(this.maximum-this.minimum)*100},barMax(){return 100-(this.valueMax-this.minimum)/(this.maximum-this.minimum)*100},barMinVal(){let o=0;return this.step.toString().includes(".")&&(o=2),(this.valueMin||0).toFixed(o)},barMaxVal(){let o=0;return this.step.toString().includes(".")&&(o=2),(this.valueMax||100).toFixed(o)},scaleLabels(){let o=this.labels||[];return o.length===0&&(o=[],o.push(this.minimum),o.push(this.maximum)),o}},watch:{valueMin(){this.triggerInput()},valueMax(){this.triggerInput()},minValue(o){this.valueMin=o<this.minimum?this.minimum:o},maxValue(o){this.valueMax=o>this.maximum?this.maximum:o}},mounted(){}},zo={class:"bar"},Oo=["min","max","step","value"],Wo={class:"caption"},Uo={class:"min-caption"},Go={class:"bar-inner"},Ho=["min","max","step","value"],Yo={class:"caption"},jo={class:"max-caption"},Xo={key:0,class:"ruler"},qo={key:1,class:"sub-ruler"},Zo={key:2,class:"labels"};function Ko(o,i,t,a,s,l){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([t.baseClassName,s.rangeMarginValue===0?"zero-ranage-margin":""]),onMousewheel:i[10]||(i[10]=e.withModifiers((...n)=>l.onMouseWheel&&l.onMouseWheel(...n),["prevent","stop"]))},[e.createElementVNode("div",zo,[e.createElementVNode("div",{class:"bar-left",style:e.normalizeStyle({width:l.barMin+"%"}),onClick:i[0]||(i[0]=(...n)=>l.onBarLeftClick&&l.onBarLeftClick(...n))},null,4),e.createElementVNode("input",{class:"input-type-range input-type-range-min",type:"range",min:l.minimum,max:l.maximum,step:t.step,value:s.valueMin,onInput:i[1]||(i[1]=e.withModifiers((...n)=>l.onInputMinChange&&l.onInputMinChange(...n),["stop","prevent"]))},null,40,Oo),e.createElementVNode("div",{class:"thumb thumb-left",onMousedown:i[2]||(i[2]=(...n)=>l.onLeftThumbMousedown&&l.onLeftThumbMousedown(...n)),onTouchstart:i[3]||(i[3]=(...n)=>l.onLeftThumbMousedown&&l.onLeftThumbMousedown(...n))},[e.createElementVNode("div",Wo,[e.createElementVNode("span",Uo,e.toDisplayString(t.minCaption||l.barMinVal),1)])],32),e.createElementVNode("div",Go,[e.createElementVNode("div",{class:"bar-inner-left",onClick:i[4]||(i[4]=(...n)=>l.onInnerBarLeftClick&&l.onInnerBarLeftClick(...n))}),e.createElementVNode("div",{class:"bar-inner-right",onClick:i[5]||(i[5]=(...n)=>l.onInnerBarRightClick&&l.onInnerBarRightClick(...n))})]),e.createElementVNode("input",{class:"input-type-range input-type-range-max",type:"range",min:l.minimum,max:l.maximum,step:t.step,value:s.valueMax,onInput:i[6]||(i[6]=e.withModifiers((...n)=>l.onInputMaxChange&&l.onInputMaxChange(...n),["stop","prevent"]))},null,40,Ho),e.createElementVNode("div",{class:"thumb thumb-right",onMousedown:i[7]||(i[7]=(...n)=>l.onRightThumbMousedown&&l.onRightThumbMousedown(...n)),onTouchstart:i[8]||(i[8]=(...n)=>l.onRightThumbMousedown&&l.onRightThumbMousedown(...n))},[e.createElementVNode("div",Yo,[e.createElementVNode("span",jo,e.toDisplayString(t.maxCaption||l.barMaxVal),1)])],32),e.createElementVNode("div",{class:"bar-right",style:e.normalizeStyle({width:l.barMax+"%"}),onClick:i[9]||(i[9]=(...n)=>l.onBarRightClick&&l.onBarRightClick(...n))},null,4)]),t.ruler?(e.openBlock(),e.createElementBlock("div",Xo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.stepCount,n=>(e.openBlock(),e.createElementBlock("div",{key:n,class:"ruler-rule"}))),128))])):e.createCommentVNode("",!0),l.subStepCount?(e.openBlock(),e.createElementBlock("div",qo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.subStepCount,n=>(e.openBlock(),e.createElementBlock("div",{key:n,class:"ruler-sub-rule"}))),128))])):e.createCommentVNode("",!0),t.label?(e.openBlock(),e.createElementBlock("div",Zo,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.scaleLabels,n=>(e.openBlock(),e.createElementBlock("div",{class:"label",key:n},e.toDisplayString(n),1))),128))])):e.createCommentVNode("",!0)],34)}const z={components:{MultiRangeSlider:q(Ro,[["render",Ko]])},props:{minValue:{type:Number,default:10},maxValue:{type:Number,default:100},height:{type:String,default:"150px"},borderRadius:{type:String,default:"6px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:2},borderColor:{type:String,default:"#d9d9d9"},fontColor:{type:String,default:"#FFFFFF"},fontSize:{type:String,default:"16px"},fontFamily:{type:String,default:"Poppins-Regular"},fontFamilyValue:{type:String,default:"Poppins-Medium"},fontColorValue:{type:String,default:"#FFFFFF"},fontSizeValue:{type:String,default:"20px"},backgroundIndicador:{type:String,default:"rgb(22, 233, 40)"},heightIndicador:{type:String,default:"15px"},widthIndicador:{type:String,default:"15px"},marginTopIndicador:{type:String,default:"-8px"},borderColorIndicador:{type:String,default:"#FFFFFF"},borderWidthIndicador:{type:String,default:"3px"},lineInRangeColor:{type:String,default:"rgb(22, 233, 40)"},lineOutRangeColor:{type:String,default:"#c7c7c7"}},data(){return{barMinValue:this.minValue,barMaxValue:this.maxValue}},computed:{customStyle(){return{height:this.height,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`}},customStyleText(){return{color:this.fontColor,fontSize:this.fontSize,fontFamily:`${this.fontFamily} !important`}},customStyleValue(){return{color:this.fontColorValue,fontSize:this.fontSizeValue,fontFamily:`${this.fontFamilyValue} !important`}}},methods:{UpdateValues(o){this.barMinValue=o.minValue,this.barMaxValue=o.maxValue,this.$emit("minval",o.minValue),this.$emit("maxval",o.maxValue)}}},Z=()=>{e.useCssVars(o=>({"49b9f312":o.lineOutRangeColor,"00b2be6d":o.lineInRangeColor,b39876fa:o.backgroundIndicador,"4c694b87":o.widthIndicador,"650dc9aa":o.heightIndicador,"6b2bd75a":o.borderWidthIndicador,c7c6d954:o.borderColorIndicador,"7e4006a6":o.marginTopIndicador}))},K=z.setup;z.setup=K?(o,i)=>(Z(),K(o,i)):Z;const Jo={class:"center"},Qo={class:"bar-ref"},ei={class:"bar-ref-element-left"},ti={class:"bar-ref-element-right"};function oi(o,i,t,a,s,l){const n=e.resolveComponent("MultiRangeSlider");return e.openBlock(),e.createElementBlock("div",{class:"custom-range-slider",style:e.normalizeStyle(l.customStyle)},[e.createElementVNode("div",Jo,[e.createElementVNode("div",Qo,[e.createElementVNode("div",ei,[e.createElementVNode("div",{class:"text",style:e.normalizeStyle(l.customStyleText)},"De:",4),e.createElementVNode("div",{class:"value",style:e.normalizeStyle(l.customStyleValue)},e.toDisplayString(s.barMinValue),5)]),e.createElementVNode("div",ti,[e.createElementVNode("div",{class:"text",style:e.normalizeStyle(l.customStyleText)},"A:",4),e.createElementVNode("div",{class:"value",style:e.normalizeStyle(l.customStyleValue)},e.toDisplayString(s.barMaxValue),5)])]),e.createVNode(n,{baseClassName:"multi-range-slider",min:t.minValue,max:t.maxValue,step:1,ruler:!1,label:!1,minValue:s.barMinValue,maxValue:s.barMaxValue,onInput:l.UpdateValues,rangeMargin:0},null,8,["min","max","minValue","maxValue","onInput"])])],4)}const ii=q(z,[["render",oi]]),li=(o,i)=>{const t=o.__vccOpts||o;for(const[a,s]of i)t[a]=s;return t},ai={props:{value:{type:Boolean,default:!1},textValue:String,icon:String,iconPosition:{type:String,default:"left"},iconSize:String,fontColor:{type:String,default:"#FFFFFF"},textDecoration:String,fontSize:{type:String,default:"16px"},fontStyle:String,fontFamily:{type:String,default:"Poppins-Regular"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:String,default:"0px"},borderType:{type:String,default:"solid"},borderWidth:{type:Number,default:0},borderColor:String,backgroundColor:{type:String,default:"none"},activeBackgroundColor:{type:String,default:"#000000"},activeBorderWidth:{type:Number,default:2},activeBorderType:{type:String,default:"solid"},activeBorderColor:{type:String,default:"#cbee6b"},activeColorText:{type:String,default:"#FFFFFF"},cursorType:{type:String,default:"default"},typeOnOff:{type:Boolean,default:!1}},watch:{value:{deep:!0,immediate:!0,handler(o){this.status=o}}},data(){return{status:!1}},computed:{customStyle(){return{height:this.height,width:this.width,backgroundColor:this.backgroundColor,borderRadius:this.borderRadius,border:`${this.borderType} ${this.borderWidth}px ${this.borderColor}`,color:this.fontColor,textDecoration:this.textDecoration,cursor:this.cursorType,fontSize:this.fontSize,fontStyle:this.fontStyle,fontFamily:`${this.fontFamily} !important`}},customActive(){return{backgroundColor:this.activeBackgroundColor,color:this.activeColorText,border:`${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`}}},methods:{btnClick(o){this.$emit("click",o),this.typeOnOff&&(this.status=!this.status,this.$emit("status",this.status))}}},si=["src"],ni={key:1,class:"text"},ri=["src"];function di(o,i,t,a,s,l){return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["button",s.status&&t.typeOnOff&&"button-active"]),style:e.normalizeStyle([l.customStyle,s.status&&t.typeOnOff&&l.customActive]),onClick:i[0]||(i[0]=(...n)=>l.btnClick&&l.btnClick(...n))},[t.icon&&t.iconPosition.toLowerCase()==="left"?(e.openBlock(),e.createElementBlock("img",{key:0,class:"icon",style:e.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,si)):e.createCommentVNode("",!0),t.textValue?(e.openBlock(),e.createElementBlock("div",ni,e.toDisplayString(t.textValue),1)):e.createCommentVNode("",!0),t.icon&&t.iconPosition.toLowerCase()==="right"?(e.openBlock(),e.createElementBlock("img",{key:2,class:"icon",style:e.normalizeStyle({width:t.iconSize}),src:t.icon},null,12,ri)):e.createCommentVNode("",!0)],6)}const ci=li(ai,[["render",di],["__scopeId","data-v-1bfd444b"]]),pi={class:"gsc-dropdown__main-container__item-selected"},ui=["height","width"],mi=["stroke"],hi={class:"gsc-dropdown__items-container"},fi=["onClick"],yi={key:0,class:"gsc-dropdown__items-footer"},O={__name:"GSC-Dropdown",props:{height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},borderRadius:{type:Number,default:5},arrowHeight:{type:Number,default:24},arrowWidth:{type:Number,default:24},borderType:{type:String,default:"solid",validator:function(o){return["solid","dotted","dashed"].includes(o)}},borderWidth:{type:Number,default:1},borderColor:{type:String,default:"black"},backgroundColor:{type:String,default:"grey"},color:{type:String,default:"black"},arrowColor:{type:String,default:"#CBEE6B"},items:{type:Array,default:()=>[]},defaultItemByIndex:{type:Number,default:0},defaultItemByProp:{type:Object,default:null,validator:o=>["propName","value"].every(i=>i in o)},listBackgroundColor:{type:String,default:"white"},hoverBackgroundColor:{type:String,default:"#f1f1f1"},listItemPadding:{type:String,default:"10px 12px"},listHeight:{type:String,default:"fit-content"},listItemSelectedColor:{type:String,default:"white"},listItemSelectedBackgroundColor:{type:String,default:"#399cfd"},listItemColor:{type:String,default:"black"},listBorderRadius:{type:String,default:"0"},listBorderColor:{type:String,default:""},listBorderWidth:{type:Number,default:1},isListSameWidth:{type:Boolean,default:!1},isMultipleOption:{type:Boolean,default:!1},footerBorderColor:{type:String,default:"#626970"},footerBorderWidth:{type:Number,default:1},isFooterVisible:{type:Boolean,default:!1}},emits:["input","click-ready"],setup(o,{emit:i}){const t=o,a=e.ref({}),s=e.ref(t.isMultipleOption?-1:0),l=e.ref(!1);e.watch(t,c=>{if(c.items&&c.items.length){if(t.defaultItemByProp){const u=t.items.findIndex(p=>p[t.defaultItemByProp.propName]===t.defaultItemByProp.value);u!==-1?(s.value=u,a.value=c.items[u]):(s.value=0,a.value=c.items[0])}else a.value=c.items[t.defaultItemByIndex];i("input",a.value)}},{immediate:!0});const n=e.computed(()=>({height:t.height,width:t.width,backgroundColor:t.backgroundColor,borderRadius:`${t.borderRadius}px`,border:`${t.borderType} ${t.borderWidth}px ${t.borderColor}`,color:t.color,"--hover-background-color":t.hoverBackgroundColor,"--list-item-padding":t.listItemPadding,"--list-background-color":t.listBackgroundColor,"--list-height":t.listHeight,"--list-item-selected-color":t.listItemSelectedColor,"--list-item-selected-background-color":t.listItemSelectedBackgroundColor,"--list-item-color":t.listItemColor,"--list-border-radius":`${t.listBorderRadius}`,"--list-border-color":t.listBorderColor,"--list-width":t.isListSameWidth?t.width:"fit-content","--list-border-width":`${t.listBorderWidth}px`,"--footer-border":`${t.footerBorderWidth}px solid ${t.footerBorderColor}`})),f=e.computed(()=>({height:`${t.arrowHeight}px`,width:`${t.arrowWidth}px`}));function m(){l.value=!l.value}function _(c,u){t.isMultipleOption?s.value=-1:(s.value=u,l.value=!1),a.value=c,i("input",a.value)}function g(){l.value=!1,i("click-ready")}return(c,u)=>(e.openBlock(),e.createElementBlock("div",{class:"gsc-dropdown",style:e.normalizeStyle(n.value)},[e.createElementVNode("div",{class:"gsc-dropdown__main-container",style:e.normalizeStyle({"padding-right":`${o.arrowWidth+8}px`}),onClick:m},[e.createElementVNode("div",pi,[e.renderSlot(c.$slots,"default",{selectedItem:a.value})]),e.createElementVNode("div",{class:e.normalizeClass(["gsc-dropdown__main-container__icon",{"rotated-180":l.value}]),style:e.normalizeStyle(f.value)},[(e.openBlock(),e.createElementBlock("svg",{height:o.arrowHeight,width:o.arrowWidth,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{d:"M18.394 9.13501L13.1302 14.3988C12.5086 15.0204 11.4914 15.0204 10.8697 14.3988L5.60596 9.13501",stroke:o.arrowColor},null,8,mi)],8,ui))],6)],4),e.createVNode(e.Transition,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",hi,[e.createElementVNode("div",null,[e.createElementVNode("div",{class:"gsc-dropdown__items",style:e.normalizeStyle({"margin-top":`${t.borderWidth}px`})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,(p,b)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["gsc-dropdown__items__item",{selected:b===s.value}]),key:b,onClick:y=>_(p,b)},[e.renderSlot(c.$slots,"availableItem",{item:p})],10,fi))),128))],4),o.isFooterVisible?(e.openBlock(),e.createElementBlock("div",yi,[e.createVNode(e.unref(ci),{"text-value":"Listo","border-color":"#cbee6b","font-size":"12px",width:"72px",height:"22px","border-radius":"62px","border-width":.8,onClick:g})])):e.createCommentVNode("",!0)])],512),[[e.vShow,l.value]])]),_:3})],4))}},$a="",A=o=>(e.pushScopeId("data-v-8e202a11"),o=o(),e.popScopeId(),o),gi={class:"personal-data"},bi={class:"personal-data__age"},Si={class:"personal-data__age__toggle"},_i={class:"personal-data__age__range"},xi={class:"personal-data__age__dropdown"},ki=A(()=>e.createElementVNode("div",{class:"label"},"Año",-1)),Ci={class:"selected-item"},Vi=A(()=>e.createElementVNode("div",{class:"separator"},null,-1)),Ei={class:"personal-data__nationality-position"},Bi={class:"personal-data__nationality-position__switch"},Ni={class:"personal-data__nationality-position__nationality"},wi=A(()=>e.createElementVNode("div",{class:"label"},"Nacionalidad",-1)),vi={class:"selected-item"},Ti={class:"personal-data__nationality-position__position"},$i=A(()=>e.createElementVNode("div",{class:"label"},"Posicion",-1)),Fi={class:"selected-item"},Mi=B({__name:"TemplatePersonalData",props:{personalDataFilters:{type:Object,required:!0}},emits:["update:filters"],setup(o,{emit:i}){const t=o,a={id:0,name:"Todas las nacionalidades",isSelected:!1},s={id:0,name:"Todas las posiciones",isSelected:!1},l=e.ref(["Por edad","Por año"]),n=e.ref(0),f=e.ref({min:0,max:0}),m=e.ref({borderType:"solid",listBackgroundColor:"#2E3B46",listBorderColor:"rgba(255, 255, 255, 0.2)",listBorderRadius:"5px",height:"38px",borderWidth:.8,borderColor:"white",backgroundColor:"#2E3B46",color:"white",listItemColor:"white",listItemSelectedBackgroundColor:"#2E3B46",arrowColor:"#fff",width:"100%",listHeight:"200px",isListSameWidth:!0,isFooterVisible:!0,hoverBackgroundColor:"#2E3B46"}),_=e.ref(""),g=e.ref(""),c=e.ref(0),u=e.computed(()=>{const S=t.personalDataFilters.nationalities?[...t.personalDataFilters.nationalities]:[],x=S[0];return(!x||x.id!==0)&&S.unshift(a),S}),p=e.computed(()=>{const S=t.personalDataFilters.positions?[...t.personalDataFilters.positions]:[],x=S[0];return(!x||x.id!==0)&&S.unshift(s),S});e.watch(u,S=>{const x=S.reduce((r,h,k)=>(k!==0&&h.isSelected&&r++,r),0);x===u.value.length-1&&(S[0].isSelected=!0),S[0]&&S[0].isSelected?_.value="Todas las nacionalidades":_.value=`${x} seleccionadas`,N()},{immediate:!0,deep:!0}),e.watch(p,S=>{const x=S.reduce((r,h,k)=>(k!==0&&h.isSelected&&r++,r),0);x===p.value.length-1&&(S[0].isSelected=!0),S[0]&&S[0].isSelected?g.value="Todas las posiciones":g.value=`${x} seleccionadas`,N()},{immediate:!0,deep:!0});function b(S){n.value=S.index}function y(S){f.value.min=S,N()}function E(S){f.value.max=S,N()}function M(S,x){x.id===0?u.value.forEach(r=>{r.isSelected=S}):(x.isSelected=S,u.value[0].isSelected=u.value.every((r,h)=>h===0?!0:r.isSelected))}function N(){const S=n.value===0,x={};S?x.ageByRange=f.value:x.year=c.value,x.nationalities=u.value.filter((r,h)=>h!==0&&r.isSelected),x.positions=p.value.filter((r,h)=>h!==0&&r.isSelected),i("update:filters",x)}function T(S,x){x.id===0?p.value.forEach(r=>{r.isSelected=S}):(x.isSelected=S,p.value[0].isSelected=p.value.every((r,h)=>h===0?!0:r.isSelected))}function $(S){c.value=S,N()}return(S,x)=>(e.openBlock(),e.createElementBlock("div",gi,[e.createElementVNode("div",bi,[e.createElementVNode("div",Si,[e.createVNode(Io,{buttons:l.value,width:"220px",onChange:b},null,8,["buttons"])]),e.withDirectives(e.createElementVNode("div",_i,[e.createVNode(e.unref(ii),{"border-width":"0","background-color":"#0D1D29",height:"30px","font-size-value":"12px","font-size":"12px","line-in-range-color":"white","background-indicador":"#CBEE6B",onMinval:y,onMaxval:E})],512),[[e.vShow,n.value===0]]),e.withDirectives(e.createElementVNode("div",xi,[ki,e.createVNode(e.unref(O),e.mergeProps(m.value,{height:"38px",items:o.personalDataFilters.availableYears,onInput:$}),{default:e.withCtx(({selectedItem:r})=>[e.createElementVNode("div",Ci,e.toDisplayString(r),1)]),availableItem:e.withCtx(({item:r})=>[e.createElementVNode("div",null,e.toDisplayString(r),1)]),_:1},16,["items"])],512),[[e.vShow,n.value===1]])]),Vi,e.createElementVNode("div",Ei,[e.createElementVNode("div",Bi,[e.createVNode(e.unref(Ao),{height:"20px","circle-color-switch":"#cbee6b","text-option-left":"Nacionalidad","text-option-right":"Elegibilidad","font-color":"white"})]),e.createElementVNode("div",Ni,[wi,e.createVNode(e.unref(O),e.mergeProps(m.value,{"is-multiple-option":"",items:u.value}),{default:e.withCtx(()=>[e.createElementVNode("div",vi,e.toDisplayString(_.value),1)]),availableItem:e.withCtx(({item:r})=>[e.createElementVNode("div",null,[e.createVNode(e.unref(C),{"model-value":r.isSelected,label:r.name,width:"100%","onUpdate:modelValue":h=>M(h,r)},null,8,["model-value","label","onUpdate:modelValue"])])]),_:1},16,["items"])]),e.createElementVNode("div",Ti,[$i,e.createVNode(e.unref(O),e.mergeProps(m.value,{"is-multiple-option":"",items:p.value}),{default:e.withCtx(()=>[e.createElementVNode("div",Fi,e.toDisplayString(g.value),1)]),availableItem:e.withCtx(({item:r})=>[e.createElementVNode("div",null,[e.createVNode(e.unref(C),{"model-value":r.isSelected,label:r.name,width:"100%","onUpdate:modelValue":h=>T(h,r)},null,8,["model-value","label","onUpdate:modelValue"])])]),_:1},16,["items"])])])]))}},[["__scopeId","data-v-8e202a11"]]),Ma="",Pi={class:"plays"},Ai={class:"plays__body__offensive"},Li={class:"plays__body__title"},Di={class:"plays__body__title__info"},Ii={class:"number-of-categories"},Ri={class:"plays__body__categories"},zi={class:"plays__body__defensive-possession-offenses"},Oi={class:"plays__body__title"},Wi={class:"plays__body__title__info"},Ui={class:"number-of-categories"},Gi={class:"plays__body__categories"},Hi={class:"plays__body__title"},Yi={class:"plays__body__title__info"},ji={class:"number-of-categories"},Xi={class:"plays__body__categories"},qi={class:"plays__body__title"},Zi={class:"plays__body__title__info"},Ki={class:"number-of-categories"},Ji={class:"plays__body__categories"},Qi=B({__name:"TemplatePlays",props:{componentWidth:{type:Number,default:0},playsCategories:{type:Object,required:!0},isExpansionMode:{type:Boolean,default:!0}},setup(o){const i=o,t=e.ref(!1),a=e.ref(!1),s=e.ref(!1),l=e.ref(!1),n=e.computed(()=>({"--template-columns":i.isExpansionMode?"1fr":"1fr 1fr"})),f=e.computed(()=>i.playsCategories.offensive.categories.reduce((p,b)=>(b.isSelected&&p++,p),0)),m=e.computed(()=>i.playsCategories.defensive.categories.reduce((p,b)=>(b.isSelected&&p++,p),0)),_=e.computed(()=>i.playsCategories.possession.categories.reduce((p,b)=>(b.isSelected&&p++,p),0)),g=e.computed(()=>i.playsCategories.offenses.categories.reduce((p,b)=>(b.isSelected&&p++,p),0));function c(p,b){b.isSelected=p,setTimeout(()=>{b.priority=i.numberOfCategoriesSelected},10)}function u(p){p==="offensive"?t.value=!t.value:p==="defensive"?a.value=!a.value:p==="possession"&&(s.value=!s.value)}return(p,b)=>(e.openBlock(),e.createElementBlock("div",Pi,[e.createElementVNode("div",{class:"plays__body",style:e.normalizeStyle(n.value)},[e.createElementVNode("div",Ai,[e.createElementVNode("div",Li,[e.createElementVNode("div",Di,[e.createElementVNode("span",null,e.toDisplayString(o.playsCategories.offensive.title),1),e.createElementVNode("span",Ii,"("+e.toDisplayString(f.value)+")",1)]),e.createElementVNode("div",{class:"plays__body__title__expand-button",onClick:b[0]||(b[0]=y=>u("offensive"))},[e.withDirectives(e.createVNode(w,{"is-expanded":t.value},null,8,["is-expanded"]),[[e.vShow,o.isExpansionMode]])])]),e.withDirectives(e.createElementVNode("div",Ri,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.playsCategories.offensive.categories,y=>(e.openBlock(),e.createElementBlock("div",{key:y.id,class:"plays__checkbox"},[e.createVNode(e.unref(C),{label:y.name,"model-value":y.isSelected,"box-value":y.priority||0,"onUpdate:modelValue":E=>c(E,y)},null,8,["label","model-value","box-value","onUpdate:modelValue"])]))),128))],512),[[e.vShow,!o.isExpansionMode||t.value]])]),e.createElementVNode("div",zi,[e.createElementVNode("div",Oi,[e.createElementVNode("div",Wi,[e.createElementVNode("span",null,e.toDisplayString(o.playsCategories.defensive.title),1),e.createElementVNode("span",Ui,"("+e.toDisplayString(m.value)+")",1)]),e.createElementVNode("div",{class:"plays__body__title__expand-button",onClick:b[1]||(b[1]=y=>u("defensive"))},[e.withDirectives(e.createVNode(w,{"is-expanded":a.value},null,8,["is-expanded"]),[[e.vShow,o.isExpansionMode]])])]),e.withDirectives(e.createElementVNode("div",Gi,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.playsCategories.defensive.categories,y=>(e.openBlock(),e.createElementBlock("div",{key:y.id,class:"plays__checkbox"},[e.createVNode(e.unref(C),{label:y.name,"model-value":y.isSelected,"box-value":y.priority||0,"onUpdate:modelValue":E=>c(E,y)},null,8,["label","model-value","box-value","onUpdate:modelValue"])]))),128))],512),[[e.vShow,!o.isExpansionMode||a.value]]),e.createElementVNode("div",Hi,[e.createElementVNode("div",Yi,[e.createElementVNode("span",null,e.toDisplayString(o.playsCategories.possession.title),1),e.createElementVNode("span",ji,"("+e.toDisplayString(_.value)+")",1)]),e.createElementVNode("div",{class:"plays__body__title__expand-button",onClick:b[2]||(b[2]=y=>u("possession"))},[e.withDirectives(e.createVNode(w,{"is-expanded":s.value},null,8,["is-expanded"]),[[e.vShow,o.isExpansionMode]])])]),e.withDirectives(e.createElementVNode("div",Xi,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.playsCategories.possession.categories,y=>(e.openBlock(),e.createElementBlock("div",{key:y.id,class:"plays__checkbox"},[e.createVNode(e.unref(C),{label:y.name,"model-value":y.isSelected,"box-value":y.priority||0,"onUpdate:modelValue":E=>c(E,y)},null,8,["label","model-value","box-value","onUpdate:modelValue"])]))),128))],512),[[e.vShow,!o.isExpansionMode||s.value]]),e.createElementVNode("div",qi,[e.createElementVNode("div",Zi,[e.createElementVNode("span",null,e.toDisplayString(o.playsCategories.offenses.title),1),e.createElementVNode("span",Ki,"("+e.toDisplayString(g.value)+")",1)]),e.createElementVNode("div",{class:"plays__body__title__expand-button",onClick:b[3]||(b[3]=y=>u("offenses"))},[e.withDirectives(e.createVNode(w,{"is-expanded":l.value},null,8,["is-expanded"]),[[e.vShow,o.isExpansionMode]])])]),e.withDirectives(e.createElementVNode("div",Ji,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.playsCategories.offenses.categories,y=>(e.openBlock(),e.createElementBlock("div",{key:y.id,class:"plays__checkbox"},[e.createVNode(e.unref(C),{label:y.name,"model-value":y.isSelected,"box-value":y.priority||0,"onUpdate:modelValue":E=>c(E,y)},null,8,["label","model-value","box-value","onUpdate:modelValue"])]))),128))],512),[[e.vShow,!o.isExpansionMode||l.value]])])],4)]))}},[["__scopeId","data-v-321487f6"]]),Aa="",el={key:0,class:"productivity__header"},tl={key:0,class:"productivity__header__text"},ol={key:1,class:"productivity__header__checkbox"},il={class:"templates__body"},ll={key:0,class:"templates-plays"},al={key:1,class:"templates-productivity"},sl={key:2,class:"template-field"},nl={key:3,class:"template-details"},rl={key:4,class:"template-personal-data"},dl={key:5,class:"template-leagues"},cl={key:6,class:"template-plays"},pl={key:7,class:"template-plays"},ul={key:8,class:"template-universe"},ml={key:1,class:"templates__footer"},hl={class:"templates__footer__button"},fl={class:"templates__footer__button"},J=B({__name:"GSC-FilterTemplates",props:{filterType:{type:String,default:""},width:{type:String,default:"100%"},maxWidth:{type:String,default:"100%"},productivityMaxCategories:{type:Number,default:5},productivityCategories:{type:[Object,null],default:()=>null},playsCategories:{type:[Object,null],default:()=>null},fieldAreas:{type:[Array,null],default:()=>[]},playingAs:{type:Array,default:()=>[{name:"Local",isSelected:!0},{name:"Visitante",isSelected:!0}]},gameSections:{type:Array,default:()=>[{text:"0-15",value:1,isSelected:!0},{text:"16-30",value:2,isSelected:!0},{text:"31-45",value:3,isSelected:!0},{text:"46-60",value:4,isSelected:!0},{text:"61-75",value:5,isSelected:!0},{text:"76-90",value:6,isSelected:!0}]},tournaments:{type:Array,default:()=>[]},playsGolstatsCategories:{type:Array,default:()=>[]},universeFilters:{type:Object,default:()=>({minutesPlayed:0,percentMinutesPlayed:0,lastMonths:0,statistics:{totals:!1,averagePerGame:!1,averagePerMinute:!1}})},personalDataFilters:{type:Object,default:()=>({})},backgroundColor:{type:String,default:"#2E3B46"},borderRadius:{type:String,default:"8px"},borderColor:{type:String,default:"rgba(255, 255, 255, 0)"},borderWidth:{type:String,default:"1px"},boxShadow:{type:String,default:"0 14px 28px 0 rgba(0, 0, 0, 0.25)"},padding:{type:String,default:"20px"},footerBorderColor:{type:String,default:"#626970"},footerBorderWidth:{type:String,default:"1px"},textColor:{type:String,default:"#FFFFFF"},isExpansionMode:{type:Boolean,default:!0},isFooterVisible:{type:Boolean,default:!1},isFooterCancelOnly:{type:Boolean,default:!1},fieldComponentProps:{type:Object,default:()=>{}}},emits:["change-categories-selected","change-filters-selected","change-universe-filters","change-field-areas","apply","click-cancel","update:filters"],setup(o,{emit:i}){const t=o,a=e.ref(!1),s=e.ref({playingAs:t.playingAs,gameSections:t.gameSections}),l=e.computed(()=>({"--width":t.width,"--max-width":t.maxWidth,"--background-color":t.backgroundColor,"--border-radius":t.borderRadius,"--border-color":t.borderColor,"--border-width":t.borderWidth,"--box-shadow":t.boxShadow,"--padding":t.padding,"--footer-border-color":t.footerBorderColor,"--footer-border-width":t.footerBorderWidth,"--text-color":t.textColor})),n=e.computed(()=>{const r=[];return t.productivityCategories&&Object.values(t.productivityCategories).forEach(h=>{h.categories.forEach(k=>{r.push(k)})}),r}),f=e.computed(()=>{const r=[];return t.playsCategories&&Object.values(t.playsCategories).forEach(h=>{h.categories.forEach(k=>{r.push(k)})}),r}),m=e.computed(()=>{const r=n.value.filter(h=>h.isSelected);return c(r),t.filterType===d.PRODUCTIVITY&&i("change-categories-selected",r.length),r.length}),_=e.computed(()=>m.value>=t.productivityMaxCategories),g=e.computed(()=>t.playingAs.concat(t.gameSections));e.watch(s,r=>{t.filterType===d.DETAILS&&i("update:filters",r)},{immediate:!0,deep:!0}),e.watch(()=>g.value,r=>{if(t.filterType===d.DETAILS){const h=r.filter(k=>k.isSelected);i("change-filters-selected",h.length)}},{immediate:!0,deep:!0}),e.watch(()=>t.playsGolstatsCategories,r=>{if(t.filterType===d.PLAYS_TYPES||t.filterType===d.GOLSTATS){const h=r.filter(k=>k.isSelected);i("change-filters-selected",h.length)}},{immediate:!0}),e.watch(()=>t.fieldAreas,r=>{t.filterType===d.FIELD&&i("change-filters-selected",r.length)}),e.watch(f,()=>{if(t.filterType===d.PLAYS){const r=f.value.filter(h=>h.isSelected);a.value=r.length===f.value.length,i("change-filters-selected",r.length),i("update:filters",r)}},{immediate:!0,deep:!0});function c(r){setTimeout(()=>{r.sort((h,k)=>h.priority-k.priority),r.forEach((h,k)=>{h.priority=k+1})},10)}function u(){t.filterType===d.PRODUCTIVITY?(n.value.forEach(r=>{r.isSelected=!1}),a.value=!1):t.filterType===d.PLAYS?(f.value.forEach(r=>{r.isSelected=!1}),a.value=!1):t.filterType===d.FIELD?i("change-field-areas",[]):t.filterType===d.DETAILS?(t.playingAs.forEach(r=>{r.isSelected=!1}),t.gameSections.forEach(r=>{r.isSelected=!1})):t.filterType===d.TOURNAMENTS?(t.tournaments.forEach(r=>{r.isSelected=!1}),i("change-filters-selected",0)):t.filterType===d.PLAYS_TYPES?t.playsGolstatsCategories.forEach(r=>{r.isSelected=!1}):t.filterType===d.GOLSTATS?t.playsGolstatsCategories.forEach(r=>{r.isSelected=!1}):t.filterType===d.UNIVERSE?i("change-universe-filters",{minutesPlayed:0,percentMinutesPlayed:0,lastMonths:0,statistics:{totals:!1,averagePerGame:!1,averagePerMinute:!1}}):t.filterType==="personalData"&&i("change-personal-data-filters",{})}function p(r){t.filterType===d.TOURNAMENTS&&i("change-filters-selected",r)}function b(r){t.filterType===d.UNIVERSE&&i("change-universe-filters",r)}function y(r){t.filterType===d.FIELD&&i("change-field-areas",r)}function E(r){t.filterType===d.GOLSTATS&&i("change-filters-selected",r)}function M(r){a.value=r,t.playsCategories.offensive.categories.forEach(h=>{h.isSelected=r}),t.playsCategories.defensive.categories.forEach(h=>{h.isSelected=r}),t.playsCategories.possession.categories.forEach(h=>{h.isSelected=r}),t.playsCategories.offenses.categories.forEach(h=>{h.isSelected=r})}function N(){i("apply")}function T(){console.log("onCancel"),(t.filterType===d.PLAYS_TYPES||t.filterType===d.GOLSTATS)&&t.playsGolstatsCategories&&t.playsGolstatsCategories.forEach(r=>{r.isSelected=!1}),i("apply")}function $(r){t.filterType==="personalData"&&i("update:filters",r)}function S(r){t.filterType===d.TOURNAMENTS&&i("update:filters",r)}function x(r){(t.filterType===d.PLAYS_TYPES||t.filterType===d.GOLSTATS)&&i("update:filters",r)}return(r,h)=>(e.openBlock(),e.createElementBlock("div",{class:"templates",style:e.normalizeStyle(l.value)},[o.filterType===e.unref(d).PRODUCTIVITY||o.filterType===e.unref(d).PLAYS?(e.openBlock(),e.createElementBlock("div",el,[o.filterType===e.unref(d).PRODUCTIVITY?(e.openBlock(),e.createElementBlock("div",tl," Selecciona hasta 5 categorias en orden de importancia ")):o.filterType===e.unref(d).PLAYS?(e.openBlock(),e.createElementBlock("div",ol,[e.createVNode(e.unref(C),{label:"Todas las categorias","model-value":a.value,"label-color":o.textColor,"box-position":"right","onUpdate:modelValue":M},null,8,["model-value","label-color"])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",il,[o.filterType===e.unref(d).PLAYS?(e.openBlock(),e.createElementBlock("div",ll,[e.createVNode(Qi,{"plays-categories":o.playsCategories,"is-expansion-mode":o.isExpansionMode},null,8,["plays-categories","is-expansion-mode"])])):e.createCommentVNode("",!0),o.filterType===e.unref(d).PRODUCTIVITY?(e.openBlock(),e.createElementBlock("div",al,[e.createVNode($e,{"productivity-categories":o.productivityCategories,"number-of-categories-selected":m.value,"are-max-categories-reached":_.value,"is-expansion-mode":o.isExpansionMode},null,8,["productivity-categories","number-of-categories-selected","are-max-categories-reached","is-expansion-mode"])])):e.createCommentVNode("",!0),o.filterType===e.unref(d).FIELD?(e.openBlock(),e.createElementBlock("div",sl,[e.createVNode(e.unref($o),e.mergeProps(o.fieldComponentProps,{"background-color":o.backgroundColor,value:o.fieldAreas,"onUpdate:modelValue":y}),null,16,["background-color","value"])])):e.createCommentVNode("",!0),o.filterType===e.unref(d).DETAILS?(e.openBlock(),e.createElementBlock("div",nl,[e.createVNode(qe,{"playing-as":o.playingAs,"game-sections":o.gameSections},null,8,["playing-as","game-sections"])])):e.createCommentVNode("",!0),o.filterType==="personalData"?(e.openBlock(),e.createElementBlock("div",rl,[e.createVNode(Mi,{"personal-data-filters":o.personalDataFilters,"onUpdate:filters":$},null,8,["personal-data-filters"])])):e.createCommentVNode("",!0),o.filterType===e.unref(d).TOURNAMENTS?(e.openBlock(),e.createElementBlock("div",dl,[e.createVNode(Qe,{tournaments:o.tournaments,onChangeFiltersSelected:p,"onUpdate:filters":S},null,8,["tournaments"])])):e.createCommentVNode("",!0),o.filterType===e.unref(d).PLAYS_TYPES?(e.openBlock(),e.createElementBlock("div",cl,[e.createVNode(G,{type:o.filterType,categories:o.playsGolstatsCategories,"onUpdate:filters":x},null,8,["type","categories"])])):e.createCommentVNode("",!0),o.filterType===e.unref(d).GOLSTATS?(e.openBlock(),e.createElementBlock("div",pl,[e.createVNode(G,{type:o.filterType,categories:o.playsGolstatsCategories,onChangeFiltersSelected:E,"onUpdate:filters":x},null,8,["type","categories"])])):e.createCommentVNode("",!0),o.filterType===e.unref(d).UNIVERSE?(e.openBlock(),e.createElementBlock("div",ul,[e.createVNode(Mt,{"universe-filters":o.universeFilters,"onUpdate:universeFilters":b},null,8,["universe-filters"])])):e.createCommentVNode("",!0)]),o.isFooterVisible?(e.openBlock(),e.createElementBlock("div",ml,[o.isFooterCancelOnly?(e.openBlock(),e.createBlock(e.unref(I),{key:0,"text-value":"Cancelar","font-size":"12px",height:"22px",width:"72px","border-radius":"62px","border-width":.8,"border-color":"white","background-color":"rgba(255, 255, 255, 0.06)",onClick:T})):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("div",hl,[e.createVNode(e.unref(I),{"text-value":"Quitar filtros","font-size":"12px","text-decoration":"underline",onClick:u})]),e.createElementVNode("div",fl,[e.createVNode(e.unref(I),{"text-value":"Listo","font-size":"12px",height:"22px",width:"72px","border-radius":"62px","border-width":.8,"border-color":"#cbee6b",onClick:N})])],64))])):e.createCommentVNode("",!0)],4))}},[["__scopeId","data-v-6fc2bb43"]]),yl=(o,i)=>{const t=o.__vccOpts||o;for(const[a,s]of i)t[a]=s;return t},gl={class:"menu-container"},bl={__name:"GSC-Menu",props:{menuMarginTop:{type:Number,default:0,validator(o){return!Number.isNaN(o)}},modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(o,{emit:i}){const t=o;e.useCssVars(_=>({"5e56f146":n.value}));const a=e.ref(null),s=e.ref(!1),l=e.computed(()=>a.value?{top:`${a.value.getBoundingClientRect().height+t.menuMarginTop}px`}:{top:"0px"}),n=e.computed(()=>s.value?3:1);e.watch(()=>t.modelValue,_=>{_!==s.value&&(s.value=_)},{immediate:!0});function f(){s.value=!s.value,i("update:modelValue",s.value)}function m(){s.value=!1,i("update:modelValue",s.value)}return(_,g)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[s.value?(e.openBlock(),e.createElementBlock("div",{key:0,id:"menu-overlay",onClick:m})):e.createCommentVNode("",!0),e.createElementVNode("div",gl,[e.createElementVNode("div",{ref_key:"trigger",ref:a,class:"menu-container__trigger",onClick:f},[e.renderSlot(_.$slots,"trigger",{},void 0,!0)],512),e.createVNode(e.Transition,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:"menu-container__menu",style:e.normalizeStyle(l.value)},[e.renderSlot(_.$slots,"menu",{},void 0,!0)],4),[[e.vShow,s.value]])]),_:3})])],64))}},Sl=yl(bl,[["__scopeId","data-v-1a396ca6"]]),Da="",_l={class:"button__icon"},xl={key:0,width:"19",height:"17",viewBox:"0 0 19 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},kl=["stroke"],Cl=["stroke"],Vl=["stroke"],El={key:1,width:"17",height:"18",viewBox:"0 0 17 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Bl=["stroke"],Nl=["stroke"],wl=["fill"],vl={key:2,width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Tl=["fill"],$l={key:3,width:"21",height:"18",viewBox:"0 0 21 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Fl=["stroke"],Ml=["stroke"],Pl=["stroke"],Al=["stroke"],Ll=["stroke"],Dl={class:"button__text"},Il={width:"8",height:"4",viewBox:"0 0 8 4",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Rl=["fill"],zl=B({__name:"ButtonFilter",props:{isActive:{type:Boolean,default:!1},text:{type:String,default:""},infoValue:{type:[String,Number],default:""},textFontFamily:{type:String,default:"sans-serif"},textFontSize:{type:String,default:"14px"},fontColor:{type:String,default:"white"},infoBackgroundColor:{type:String,default:"#424D58"},infoFontColor:{type:String,default:"#CBEE6B"},infoFontFamily:{type:String,default:"sans-serif"},infoFontSize:{type:String,default:"10px"},infoBorderColor:{type:String,default:"#0D1D29"},infoBorderRadius:{type:String,default:"4px"},infoHeight:{type:String,default:"20px"},infoWidth:{type:String,default:"20px"},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},backgroundColor:{type:String,default:"#0D1D29"},borderRadius:{type:String,default:"8px"},borderColor:{type:String,default:"#172531"},borderColorActive:{type:String,default:"white"},borderWidth:{type:String,default:"1px"},padding:{type:String,default:"12px"},arrowColor:{type:String,default:"#92929D"},iconColor:{type:String,default:"#92929D"},iconType:{type:String,default:"productivity"}},setup(o){const i=o,t=e.computed(()=>({"--height":i.height,"--width":i.width,"--text-font-family":i.textFontFamily,"--text-font-size":i.textFontSize,"--background-color":i.backgroundColor,"--border-radius":i.borderRadius,"--border-color":i.isActive?i.borderColorActive:i.borderColor,"--border-width":i.borderWidth,"--padding":i.padding,"--font-color":i.fontColor})),a=e.computed(()=>({"--info-background-color":i.infoBackgroundColor,"--info-border-color":i.infoBorderColor,"--info-border-radius":i.infoBorderRadius,"--info-font-family":i.infoFontFamily,"--info-font-size":i.infoFontSize,"--info-font-color":i.infoFontColor,"--info-height":i.infoHeight,"--info-width":i.infoWidth})),s=e.computed(()=>[d.PRODUCTIVITY,d.PLAYS_TYPES,d.GOLSTATS,d.TOURNAMENTS,d.PLAYS].includes(i.iconType)),l=e.computed(()=>[d.FIELD].includes(i.iconType)),n=e.computed(()=>[d.DETAILS,d.UNIVERSE].includes(i.iconType)),f=e.computed(()=>[d.PERSONAL_DATA].includes(i.iconType));return(m,_)=>(e.openBlock(),e.createElementBlock("div",{class:"button",style:e.normalizeStyle(t.value)},[e.createElementVNode("div",_l,[f.value?(e.openBlock(),e.createElementBlock("svg",xl,[e.createElementVNode("path",{d:"M12.6665 16.0001V14.3334C12.6665 13.4494 12.3153 12.6015 11.6902 11.9764C11.0651 11.3513 10.2173 11.0001 9.33323 11.0001H4.33329C3.44925 11.0001 2.60141 11.3513 1.9763 11.9764C1.35119 12.6015 1 13.4494 1 14.3334V16.0001",stroke:o.iconColor,"stroke-opacity":"1","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,8,kl),e.createElementVNode("path",{d:"M6.83329 7.66658C8.67422 7.66658 10.1666 6.17422 10.1666 4.33329C10.1666 2.49237 8.67422 1 6.83329 1C4.99237 1 3.5 2.49237 3.5 4.33329C3.5 6.17422 4.99237 7.66658 6.83329 7.66658Z",stroke:o.iconColor,"stroke-opacity":"1","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Cl),e.createElementVNode("path",{d:"M15.164 5.16663V10.1666M17.664 7.66659H12.6641",stroke:o.iconColor,"stroke-opacity":"1","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Vl)])):e.createCommentVNode("",!0),s.value?(e.openBlock(),e.createElementBlock("svg",El,[e.createElementVNode("path",{d:"M11.3464 15.7091C13.2744 15.7091 14.8373 14.1462 14.8373 12.2182C14.8373 10.2902 13.2744 8.72729 11.3464 8.72729C9.4184 8.72729 7.85547 10.2902 7.85547 12.2182C7.85547 14.1462 9.4184 15.7091 11.3464 15.7091Z",stroke:o.iconColor,"stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Bl),e.createElementVNode("path",{d:"M15.9996 16.8727L14.8359 15.7091",stroke:o.iconColor,"stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Nl),e.createElementVNode("path",{d:"M1.74545 14.1136H5.57341C5.80365 14.6432 6.11192 15.1265 6.4797 15.5591H1.74545C0.85957 15.5591 0.15 14.8495 0.15 13.9636V1.74545C0.15 0.85957 0.85957 0.15 1.74545 0.15H13.9636C14.8495 0.15 15.5591 0.85957 15.5591 1.74545V8.27117C15.1619 7.74472 14.6701 7.28299 14.1136 6.90213V1.74545V1.59545H13.9636H1.74545H1.59545V1.74545V13.9636V14.1136H1.74545ZM3.64091 3.64091H12.0682V5.08636H3.64091V3.64091ZM3.64091 7.13182H7.39844C6.87199 7.52898 6.41026 8.02079 6.0294 8.57727H3.64091V7.13182ZM3.64091 10.6227H5.20065C5.12651 11.0081 5.08636 11.3945 5.08636 11.7818V12.0682H3.64091V10.6227Z",fill:o.iconColor,stroke:"#353F47","stroke-width":"0.3"},null,8,wl)])):e.createCommentVNode("",!0),n.value?(e.openBlock(),e.createElementBlock("svg",vl,[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.5 0C13.1944 0 17 3.80558 17 8.5C17 13.1944 13.1944 17 8.5 17C3.80558 17 0 13.1944 0 8.5C0 3.80558 3.80558 0 8.5 0ZM8.49751 1.54553C4.65662 1.54553 1.54297 4.65919 1.54297 8.50008C1.54297 12.341 4.65662 15.4546 8.49751 15.4546C12.3384 15.4546 15.4521 12.341 15.4521 8.50008C15.4521 4.65919 12.3384 1.54553 8.49751 1.54553ZM8.49929 3.09082C8.92605 3.09082 9.27202 3.43678 9.27202 3.86355V8.12198L12.451 10.5945C12.7878 10.8565 12.8485 11.342 12.5865 11.6789C12.3245 12.0157 11.839 12.0764 11.5022 11.8144L8.02488 9.10986C7.83666 8.96347 7.72656 8.73837 7.72656 8.49991V3.86355C7.72656 3.43678 8.07252 3.09082 8.49929 3.09082Z",fill:o.iconColor},null,8,Tl)])):e.createCommentVNode("",!0),l.value?(e.openBlock(),e.createElementBlock("svg",$l,[e.createElementVNode("rect",{x:"1.16772",y:"1.16699",width:"19",height:"15.6667",stroke:o.iconColor},null,8,Fl),e.createElementVNode("rect",{x:"16.1677",y:"6.16699",width:"4",height:"5.66667",stroke:o.iconColor},null,8,Ml),e.createElementVNode("rect",{x:"1.16772",y:"6.16699",width:"4",height:"5.66667",stroke:o.iconColor},null,8,Pl),e.createElementVNode("path",{d:"M10.6677 0.666992V16.5003",stroke:o.iconColor},null,8,Al),e.createElementVNode("path",{d:"M13.5033 9.00032C13.5033 10.5651 12.2348 11.8337 10.67 11.8337C9.1052 11.8337 7.83667 10.5651 7.83667 9.00032C7.83667 7.43552 9.1052 6.16699 10.67 6.16699C12.2348 6.16699 13.5033 7.43552 13.5033 9.00032Z",stroke:o.iconColor},null,8,Ll)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Dl,e.toDisplayString(o.text),1),e.createElementVNode("div",{class:"button__info",style:e.normalizeStyle(a.value)},[e.withDirectives(e.createElementVNode("span",null,e.toDisplayString(o.infoValue),513),[[e.vShow,o.infoValue]])],4),e.createElementVNode("div",{class:e.normalizeClass(["button__arrow",{"rotated-180":o.isActive}])},[(e.openBlock(),e.createElementBlock("svg",Il,[e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4 2.62045L6.86193 0.167368C7.12228 -0.0557892 7.54439 -0.0557892 7.80474 0.167368C8.06509 0.390524 8.06509 0.752333 7.80474 0.97549L4.4714 3.83263C4.21105 4.05579 3.78895 4.05579 3.5286 3.83263L0.195262 0.97549C-0.0650874 0.752333 -0.0650874 0.390524 0.195262 0.167368C0.455612 -0.0557892 0.877722 -0.0557892 1.13807 0.167368L4 2.62045Z",fill:o.arrowColor},null,8,Rl)]))],2)],4))}},[["__scopeId","data-v-12861d65"]]),Ol=(o,i)=>{const t=o.__vccOpts||o;for(const[a,s]of i)t[a]=s;return t},Wl=o=>(e.pushScopeId("data-v-8cc54d33"),o=o(),e.popScopeId(),o),Ul={class:"panel__activator__icon"},Gl=["src"],Hl={class:"panel__activator__text"},Yl=["height","width"],jl=["stroke"],Xl={class:"panel__content"},ql=Wl(()=>e.createElementVNode("div",{class:"panel__content__separator"},null,-1)),Zl={class:"panel__content__slot"},Kl={__name:"GSC-ExpansionPanel",props:{modelValue:{type:Boolean,default:!1},text:{type:String,default:""},textColor:{type:String,default:"white"},textFontFamily:{type:String,default:"sans-serif"},textFontSize:{type:String,default:"12px"},icon:{type:String,default:""},height:{type:String,default:"fit-content"},width:{type:String,default:"fit-content"},backgroundColor:{type:String,default:"#2E3A45"},borderRadius:{type:String,default:"4px"},borderWidth:{type:String,default:"1px"},borderColor:{type:String,default:"rgba(255, 255, 255, 0.1)"},arrowHeight:{type:Number,default:24},arrowWidth:{type:Number,default:24},arrowColor:{type:String,default:"white"},separatorWidth:{type:String,default:"100%"},separatorColor:{type:String,default:"rgba(255, 255, 255, 0.1)"},panelPadding:{type:String,default:"0px 6px"}},emits:["update:modelValue"],setup(o,{emit:i}){const t=o,a=e.ref(t.modelValue),s=e.computed(()=>({"--activator-height":t.height,"--activator-text-font-family":t.textFontFamily,"--activator-text-font-size":t.textFontSize,"--activator-text-color":t.textColor,"--background-color":t.backgroundColor,"--panel-width":t.width,"--panel-padding":t.panelPadding,"--panel-border-radius":t.borderRadius,"--panel-border-color":t.borderColor,"--panel-border-width":t.borderWidth,"--arrow-height":t.arrowHeight,"--arrow-width":t.arrowWidth,"--separator-width":t.separatorWidth,"--separator-color":t.separatorColor}));e.watch(()=>t.modelValue,n=>{a.value=n},{immediate:!0});function l(){a.value=!a.value,i("update:modelValue",a.value)}return(n,f)=>(e.openBlock(),e.createElementBlock("div",{class:"panel",style:e.normalizeStyle(s.value)},[e.createElementVNode("div",{class:"panel__activator",onClick:l},[e.createElementVNode("div",Ul,[t.icon?(e.openBlock(),e.createElementBlock("img",{key:0,src:t.icon,alt:""},null,8,Gl)):e.createCommentVNode("",!0)]),e.createElementVNode("div",Hl,e.toDisplayString(o.text),1),e.createElementVNode("div",{class:e.normalizeClass(["panel__activator__arrow",{"rotated-180":a.value}])},[(e.openBlock(),e.createElementBlock("svg",{height:o.arrowHeight,width:o.arrowWidth,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e.createElementVNode("path",{d:"M18.394 9.13501L13.1302 14.3988C12.5086 15.0204 11.4914 15.0204 10.8697 14.3988L5.60596 9.13501",stroke:o.arrowColor},null,8,jl)],8,Yl))],2)]),e.createVNode(e.Transition,null,{default:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",Xl,[ql,e.createElementVNode("div",Zl,[e.renderSlot(n.$slots,"content",{},void 0,!0)])],512),[[e.vShow,a.value]])]),_:3})],4))}},Jl=Ol(Kl,[["__scopeId","data-v-8cc54d33"]]),F={playingAs:[{name:"Local",isSelected:!0},{name:"Visitante",isSelected:!0}],gameSections:[{text:"0-15",value:1,isSelected:!0},{text:"16-30",value:2,isSelected:!0},{text:"31-45",value:3,isSelected:!0},{text:"46-60",value:4,isSelected:!0},{text:"61-75",value:5,isSelected:!0},{text:"76-90",value:6,isSelected:!0}]},Q={offensive:{title:"Ofensivo",categories:[{name:"Goles",isSelected:!1,id:1},{name:"Asistencias",isSelected:!1,id:4},{name:"Participaciones en gol",isSelected:!1,id:5},{name:"Cabeceos en área rival",isSelected:!1,id:8},{name:"Tiros a gol totales",isSelected:!1,id:510},{name:"Tiros a gol con destino a portería",isSelected:!1,id:6},{name:"Tiros a gol fuera del área",isSelected:!1,id:7},{name:"Tiros a gol fuera del área con destino a portería",isSelected:!1,id:8},{name:"Tiros a gol dentro del área",isSelected:!1,id:9},{name:"Tiros a gol dentro del área con destino a portería",isSelected:!1,id:10},{name:"Centros por izquierda",isSelected:!1,id:11},{name:"Centros por izquierda acertados",isSelected:!1,id:12},{name:"Centros por derecha",isSelected:!1,id:13},{name:"Centros por derecha acertados",isSelected:!1,id:14},{name:"1vs1 exitosos ofensivos",isSelected:!1,id:15},{name:"1vs1 que terminan en gol",isSelected:!1,id:16}]},defensive:{title:"Defensivo",categories:[{name:"Bálones ganados en área propia",isSelected:!1,id:17},{name:"Cabeceo en área propia",isSelected:!1,id:18},{name:"1vs1 defensivos exitosos",isSelected:!1,id:19},{name:"Rechaces",isSelected:!1,id:20}]},possession:{title:"Posesión",categories:[{name:"Bálones recuperados totales",isSelected:!1,id:21},{name:"Bálones recuperados 1/4 de cancha",isSelected:!1,id:22},{name:"Bálones recuperados 2/4 de cancha",isSelected:!1,id:23},{name:"Bálones recuperados 3/4 de cancha",isSelected:!1,id:24},{name:"Bálones recuperados 4/4 de cancha",isSelected:!1,id:25},{name:"Pases asertados",isSelected:!1,id:26},{name:"Pases asertados en 1/4 de cancha",isSelected:!1,id:27},{name:"Pases asertados en 2/4 de cancha",isSelected:!1,id:28},{name:"Pases asertados en 3/4 de cancha",isSelected:!1,id:29},{name:"Pases asertados en 4/4 de cancha",isSelected:!1,id:30}]}},ee={offensive:{title:"Ofensivo",categories:[{name:"Goles",isSelected:!1,id:1},{name:"Tiros a gol",isSelected:!1,id:2},{name:"Tiros a gol con destino a portería",isSelected:!1,id:3},{name:"Asistencias",isSelected:!1,id:4},{name:"Centros",isSelected:!1,id:5},{name:"Centros acertados",isSelected:!1,id:6},{name:"Participaciones en gol",isSelected:!1,id:7},{name:"1vs1 exitosos ofensivos",isSelected:!1,id:8},{name:"1vs1 exitosos ofensivos que terminan en gol",isSelected:!1,id:9},{name:"Balones ganados en área rival",isSelected:!1,id:10},{name:"Cabeceos en área rival",isSelected:!1,id:11},{name:"Tiros de esquina",isSelected:!1,id:12}]},defensive:{title:"Defensivo",categories:[{name:"1vs1 defensivos exitosos",isSelected:!1,id:17},{name:"Cabeceo en área propia",isSelected:!1,id:18},{name:"Balones ganados en área propia",isSelected:!1,id:19},{name:"Rechaces",isSelected:!1,id:20},{name:"Atajadas",isSelected:!1,id:21}]},possession:{title:"Posesión",categories:[{name:"Pases acertados",isSelected:!1,id:21},{name:"Balones recuperados en disputa",isSelected:!1,id:22}]},offenses:{title:"Infracciones",categories:[{name:"Faltas cometidas",isSelected:!1,id:23},{name:"Faltas recibidas",isSelected:!1,id:24},{name:"Tarjetas amarillas",isSelected:!1,id:25},{name:"Tarjetas rojas",isSelected:!1,id:26}]}},te={minutesPlayed:0,percentMinutesPlayed:0,lastMonths:0,statistics:{totals:!1,averagePerGame:!1,averagePerMinute:!1}},oe=[{name:"Sub-20",logo:null,isSelected:!1,id:44,show_logos:0,tournament_type:0,tournament_status:0,seasons:[{name:"Clausura 2023",related_seasons:[{type:1,id:1752}],id:1713,type:0},{name:"Apertura 2022",related_seasons:[{type:1,id:1592}],id:1542,type:0},{name:"Grita Mexico C22",related_seasons:[{type:1,id:1521}],id:1486,type:0}]},{name:"Sub-16",logo:null,isSelected:!1,id:1095,show_logos:0,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1783,type:0},{name:"Clausura 2023",related_seasons:[{type:1,id:1750}],id:1715,type:0},{name:"Apertura 2022",related_seasons:[{type:1,id:1652}],id:1541,type:0},{name:"Grita Mexico C22",related_seasons:[{type:1,id:1527}],id:1488,type:0}]},{name:"Tournoi Maurice Revello",logo:null,isSelected:!1,id:108,show_logos:0,tournament_type:0,tournament_status:0,seasons:[{name:"Tournoi Maurice Revello 23",related_seasons:[],id:1770,type:0}]},{name:"Liga MX Femenil",logo:"https://az755631.vo.msecnd.net/tournaments/femenil_mx.png",isSelected:!1,id:1001,show_logos:1,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1777,type:0},{name:"Clausura 2023",related_seasons:[{type:1,id:1747}],id:1696,type:0},{name:"Apertura 2022",related_seasons:[{type:1,id:1655}],id:1539,type:0},{name:"Grita Mexico C22",related_seasons:[{type:1,id:1523}],id:1485,type:0},{name:"Grita Mexico A21",related_seasons:[{type:1,id:1458}],id:1402,type:0},{name:"Guard1anes Clausura 2021",related_seasons:[{type:1,id:1384}],id:1323,type:0},{name:"Guard1anes 2020",related_seasons:[{type:1,id:1318}],id:1283,type:0},{name:"Clausura 2020",related_seasons:[],id:1241,type:0},{name:"Apertura 2019",related_seasons:[{type:1,id:1227}],id:1157,type:0},{name:"Clausura 2019",related_seasons:[{type:1,id:1132}],id:1095,type:0},{name:"Apertura 2018",related_seasons:[{type:1,id:1072}],id:1004,type:0},{name:"Clausura 2018",related_seasons:[{type:1,id:1237}],id:1236,type:0}]},{name:"Sub-23",logo:null,isSelected:!1,id:1143,show_logos:0,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1785,type:0}]},{name:"FIFA World Cup",logo:null,isSelected:!1,id:33,show_logos:0,tournament_type:1,tournament_status:0,seasons:[{name:"Copa del Mundo 2022",related_seasons:[],id:1512,type:0},{name:"Copa del Mundo 2018",related_seasons:[],id:881,type:0}]},{name:"Liga MX",logo:"https://az755631.vo.msecnd.net/tournaments/liga_mx.png",isSelected:!1,id:1,show_logos:1,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1772,type:0},{name:"Clausura 2023",related_seasons:[{type:2,id:1745},{type:1,id:1746}],id:1694,type:0},{name:"Apertura 2022",related_seasons:[{type:2,id:1591},{type:1,id:1594}],id:1535,type:0},{name:"Grita Mexico C22",related_seasons:[{type:2,id:1520},{type:1,id:1525}],id:1476,type:0},{name:"Grita Mexico A21",related_seasons:[{type:2,id:1446},{type:1,id:1456}],id:1401,type:0},{name:"Guard1anes Clausura 2021",related_seasons:[{type:2,id:1382},{type:1,id:1383}],id:1325,type:0},{name:"Guard1anes 2020",related_seasons:[{type:2,id:1311},{type:1,id:1316}],id:1275,type:0},{name:"Clausura 2020",related_seasons:[],id:1239,type:0},{name:"Apertura 2019",related_seasons:[{type:1,id:1231}],id:1155,type:0},{name:"Clausura 2019",related_seasons:[{type:1,id:1135}],id:1093,type:0},{name:"Apertura 2018",related_seasons:[{type:1,id:1075}],id:1002,type:0}]},{name:"Liga Expansion MX",logo:"https://az755631.vo.msecnd.net/tournaments/expansion_mx.png",isSelected:!1,id:1071,show_logos:1,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1776,type:0},{name:"Clausura 2023",related_seasons:[{type:2,id:1742},{type:1,id:1748}],id:1695,type:0},{name:"Apertura 2022",related_seasons:[{type:2,id:1598},{type:1,id:1618}],id:1544,type:0},{name:"Grita Mexico C22",related_seasons:[{type:2,id:1515},{type:1,id:1519}],id:1484,type:0},{name:"Grita Mexico A21",related_seasons:[{type:2,id:1454},{type:1,id:1463}],id:1408,type:0},{name:"Guard1anes Clausura 2021",related_seasons:[{type:2,id:1378},{type:1,id:1380}],id:1327,type:0},{name:"Guard1anes 2020",related_seasons:[{type:2,id:1315},{type:1,id:1317}],id:1287,type:0}]},{name:"Copa Oro",logo:null,isSelected:!1,id:29,show_logos:0,tournament_type:1,tournament_status:0,seasons:[{name:"Copa Oro 2023",related_seasons:[],id:1741,type:0}]},{name:"Women Revelations Cup",logo:null,isSelected:!1,id:1137,show_logos:0,tournament_type:0,tournament_status:0,seasons:[{name:"Women Revelations Cup 2023",related_seasons:[],id:1731,type:0}]},{name:"Leagues Cup",logo:null,isSelected:!1,id:1046,show_logos:0,tournament_type:1,tournament_status:0,seasons:[{name:"Leagues Cup 2023",related_seasons:[],id:1784,type:0}]},{name:"Sub-18",logo:null,isSelected:!1,id:1096,show_logos:0,tournament_type:0,tournament_status:0,seasons:[{name:"Apertura 2023",related_seasons:[],id:1782,type:0},{name:"Clausura 2023",related_seasons:[{type:1,id:1751}],id:1714,type:0},{name:"Apertura 2022",related_seasons:[{type:1,id:1593}],id:1543,type:0},{name:"Grita Mexico C22",related_seasons:[{type:1,id:1522}],id:1487,type:0}]}],ie={isAgeByRange:!0,isAgeByYear:!1,minAge:10,maxAge:40,availableYears:[2005,2004,2001,2e3,1999,1998,1997,1996,1995,1994,1993,1992,1991,1990,1989,1988,1987,1985],nationalities:[{isSelected:!0,id:138,name:"Mexicana"},{isSelected:!0,id:10,name:"Argentina"},{isSelected:!0,id:29,name:"Brasileña"},{isSelected:!0,id:47,name:"Colombiana"},{isSelected:!0,id:62,name:"Ecuatoriana"},{isSelected:!0,id:223,name:"Uruguaya"},{isSelected:!0,id:198,name:"Española"},{isSelected:!0,id:74,name:"Francesa"},{isSelected:!0,id:43,name:"Chilena"},{isSelected:!0,id:222,name:"Americana"},{isSelected:!0,id:165,name:"Paraguaya"},{isSelected:!0,id:226,name:"Venezolana"},{isSelected:!0,id:52,name:"Marfileña"},{isSelected:!0,id:166,name:"Peruana"}],positions:[{isSelected:!0,id:2,name:"Defensa Central"},{isSelected:!0,id:3,name:"Lateral por izquierda"},{isSelected:!0,id:4,name:"Lateral por derecha"},{isSelected:!0,id:5,name:"Volante por izquierda"},{isSelected:!0,id:6,name:"Volante por derecha"},{isSelected:!0,id:7,name:"Volante defensivo"},{isSelected:!0,id:8,name:"Volante ofensivo"},{isSelected:!0,id:9,name:"Delantero"}]},le=[{id:1,name:"Goles",isSelected:!1},{id:2,name:"Tiros a gol",isSelected:!1},{id:3,name:"Asistencias",isSelected:!1},{id:4,name:"Centros",isSelected:!1},{id:5,name:"Balones ganados en área propia",isSelected:!1},{id:6,name:"Participaciones en gol",isSelected:!1},{id:7,name:"Cabeceo area rival",isSelected:!1}],ae=[{id:1,name:"Mas goles anotados",isSelected:!1,value:1},{id:2,name:"Mas goles durante los ultimos 15 min de 2do tiempo",isSelected:!1,value:7},{id:3,name:"Con mas goles como visitante",isSelected:!1,value:3},{id:4,name:"Con mas goles como local",isSelected:!1,value:3},{id:5,name:"Mas goles durante el 1er tiempo",isSelected:!1,value:3},{id:6,name:"Mas goles durante el 2do tiempo",isSelected:!1,value:3},{id:7,name:"Mas goles como local durante el 2do tiempo",isSelected:!1,value:7}],Ql={class:"filters"},ea={key:0,class:"filters__expansion"},ta={class:"content"},oa={key:1,class:"filters__menus"},ia={__name:"GSC-Filters",props:{filterType:{type:String,default:""},isExpansionPanel:{type:Boolean,default:!1},filters:{type:[Object,Array],default:()=>null},menuButtonText:{type:String,default:""},expansionPanelText:{type:String,default:""},menuButtonProps:{type:Object,default:()=>{}},expansionPanelProps:{type:Object,default:()=>{}},templateProps:{type:Object,default:()=>{}},fieldComponentProps:{type:Object,default:()=>{}}},emits:["update:filters"],setup(o,{emit:i}){const t=o,a={width:"604px",maxWidth:"604px",backgroundColor:"#2E3B46",borderRadius:"12px",filterType:d.PRODUCTIVITY,isFooterVisible:!0},s={width:"604px",maxWidth:"604px",backgroundColor:"#2E3B46",borderRadius:"12px",filterType:d.PLAYS,isFooterVisible:!0},l={width:"fit-content",maxWidth:"608px",backgroundColor:"#2E3B46",borderRadius:"12px",filterType:d.FIELD,isFooterVisible:!0},n={width:"320px",maxWidth:"320px",backgroundColor:"#2E3B46",borderRadius:"12px",filterType:d.DETAILS,isFooterVisible:!0},f={width:"246px",maxWidth:"246px",backgroundColor:"#2E3B46",borderRadius:"12px",filterType:d.TOURNAMENTS,isFooterVisible:!0},m={width:"310px",maxWidth:"310px",backgroundColor:"#2E3B46",borderRadius:"12px",filterType:d.PERSONAL_DATA,isFooterVisible:!0},_={width:"310px",maxWidth:"310px",backgroundColor:"#2E3B46",borderRadius:"12px",filterType:d.PLAYS_TYPES,isFooterVisible:!0,isFooterCancelOnly:!0},g={width:"380px",maxWidth:"380px",backgroundColor:"#2E3B46",borderRadius:"12px",filterType:d.GOLSTATS,isFooterVisible:!0,isFooterCancelOnly:!0},c={width:"310px",maxWidth:"310px",backgroundColor:"#2E3B46",borderRadius:"12px",filterType:d.UNIVERSE,isFooterVisible:!0},u=e.ref(!1),p=e.ref(!1),b=e.ref(0),y=e.ref({}),E=e.computed(()=>t.menuButtonText||$()),M=e.computed(()=>t.expansionPanelText||$());e.watch(()=>t.filterType,h=>{h===d.PRODUCTIVITY?y.value={...a,...t.templateProps,productivityCategories:t.filters||Q}:h===d.PLAYS?y.value={...s,...t.templateProps,playsCategories:t.filters||ee}:h===d.FIELD?(console.log("filed condition"),y.value={...l,...t.templateProps,fieldComponentProps:t.fieldComponentProps,fieldAreas:t.filters||[]}):h===d.DETAILS?y.value={...n,...t.templateProps,playingAs:t.filters&&t.filters.playinAs||F.playingAs,gameSections:t.filters&&t.filters.gameSections||F.gameSections}:h===d.TOURNAMENTS?y.value={...f,...t.templateProps,tournaments:t.filters||oe}:h===d.PERSONAL_DATA?y.value={...m,...t.templateProps,personalDataFilters:t.filters||ie}:h===d.PLAYS_TYPES?y.value={..._,...t.templateProps,playsGolstatsCategories:t.filters||le}:h===d.GOLSTATS?y.value={...g,...t.templateProps,playsGolstatsCategories:t.filters||ae}:h===d.UNIVERSE&&(y.value={...c,...t.templateProps,universe:t.filters||te}),y.value.isExpansionMode=t.isExpansionPanel,t.isExpansionPanel&&(y.value.width="100%",y.value.maxWidth="100%")},{immediate:!0});function N(h){b.value=h}function T(){t.isExpansionPanel?(p.value=!1,console.log("isExpansionPanelOpen",p.value)):u.value=!1}function $(){if(t.filterType===d.PRODUCTIVITY)return"Características de juego";if(t.filterType===d.PLAYS)return"Jugadas";if(t.filterType===d.FIELD)return"Zona de cancha";if(t.filterType===d.DETAILS)return"Detalles";if(t.filterType===d.TOURNAMENTS)return"Ligas";if(t.filterType===d.PERSONAL_DATA)return"Datos personales";if(t.filterType===d.PLAYS_TYPES)return"Tipos de jugada";if(t.filterType===d.GOLSTATS)return"Filtros Golstats";if(t.filterType===d.UNIVERSE)return"Universo"}function S(h){y.value.fieldAreas=h,b.value=h.length,r(h)}function x(h){let k=0;h.value&&h.value.statistics&&(h.value.minutesPlayed&&k++,h.value.percentMinutesPlayed&&k++,h.value.lastMonths&&k++,h.value.statistics.totals&&k++,h.value.statistics.averagePerGame&&k++,h.value.statistics.averagePerMinute&&k++),y.value.universe=h.value,b.value=k,r(h.value)}function r(h){i("update:filters",h)}return(h,k)=>(e.openBlock(),e.createElementBlock("div",Ql,[o.isExpansionPanel?(e.openBlock(),e.createElementBlock("div",ea,[e.createVNode(e.unref(Jl),e.mergeProps(o.expansionPanelProps,{modelValue:p.value,"onUpdate:modelValue":k[0]||(k[0]=W=>p.value=W),text:M.value}),{content:e.withCtx(()=>[e.createElementVNode("div",ta,[e.createVNode(J,e.mergeProps(y.value,{"is-expansion-mode":!0,onChangeFieldAreas:S,onChangeCategoriesSelected:N,onChangeFiltersSelected:N,onChangeUniverseFilters:x,onApply:T,"onUpdate:filters":r}),null,16)])]),_:1},16,["modelValue","text"])])):(e.openBlock(),e.createElementBlock("div",oa,[e.createVNode(e.unref(Sl),{modelValue:u.value,"onUpdate:modelValue":k[1]||(k[1]=W=>u.value=W),"menu-margin-top":18},{trigger:e.withCtx(()=>[e.createVNode(zl,{text:E.value,"info-value":b.value,"is-active":u.value,"icon-type":o.filterType},null,8,["text","info-value","is-active","icon-type"])]),menu:e.withCtx(()=>[e.createVNode(J,e.mergeProps(y.value,{onChangeFieldAreas:S,onChangeCategoriesSelected:N,onChangeFiltersSelected:N,onChangeUniverseFilters:x,"onUpdate:filters":r,onApply:T}),null,16)]),_:1},8,["modelValue"])]))]))}};V.GSCFilters=ia,V.detailsFilters=F,V.filtersTypes=d,V.golstatsFilters=ae,V.personalDataFilters=ie,V.playsFilters=ee,V.playsTypesFilters=le,V.productivityFilters=Q,V.tournamentsFilters=oe,V.universeFilters=te,Object.defineProperty(V,Symbol.toStringTag,{value:"Module"})});
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ .checkbox[data-v-674fcf24]{width:var(--52d8eaf8);height:var(--23150b96);display:flex;justify-content:flex-start;align-items:flex-start;cursor:pointer}.checkbox.box-right[data-v-674fcf24]{flex-direction:row-reverse;justify-content:flex-end}.checkbox.box-top[data-v-674fcf24]{flex-direction:column;justify-content:flex-start;align-items:center}.checkbox.box-bottom[data-v-674fcf24]{flex-direction:column-reverse;justify-content:flex-end;align-items:center}.checkbox__box[data-v-674fcf24]{display:flex;justify-content:center;align-items:center;margin-top:.2em}.checkbox__label[data-v-674fcf24]{margin:.3em 0;width:var(--52d8eaf8)}.v-enter-active[data-v-8cc54d33],.v-leave-active[data-v-8cc54d33]{transition:opacity .5s ease}.v-enter-from[data-v-8cc54d33],.v-leave-to[data-v-8cc54d33]{opacity:0}.panel[data-v-8cc54d33]{width:var(--panel-width);height:fit-content;display:flex;flex-direction:column;border:solid var(--panel-border-width) var(--panel-border-color);border-radius:var(--panel-border-radius);padding:var(--panel-padding);background-color:var(--background-color)}.panel__activator[data-v-8cc54d33]{height:var(--activator-height);width:100%;display:grid;grid-template-columns:min-content 1fr min-content;border:solid 1px rgba(255,255,255,0);cursor:pointer;font-family:var(--activator-text-font-family);font-size:var(--activator-text-font-size);color:var(--activator-text-color)}.panel__activator__text[data-v-8cc54d33]{display:flex;justify-content:flex-start;align-items:center}.panel__activator__arrow[data-v-8cc54d33]{height:var(--arrow-height);width:var(--arrow-width);align-self:center;display:flex;align-items:center;transition:transform .3s ease}.panel__content[data-v-8cc54d33]{width:100%;height:fit-content;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.panel__content__separator[data-v-8cc54d33]{width:var(--separator-width);height:1px;background-color:var(--separator-color)}.panel__content__slot[data-v-8cc54d33]{width:100%;height:fit-content}.rotated-180[data-v-8cc54d33]{transform:rotate(180deg)}#menu-overlay[data-v-1a396ca6]{position:fixed;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:#0000;z-index:2}.v-enter-active[data-v-1a396ca6],.v-leave-active[data-v-1a396ca6]{transition:opacity .5s ease}.v-enter-from[data-v-1a396ca6],.v-leave-to[data-v-1a396ca6]{opacity:0}.menu-container[data-v-1a396ca6]{width:fit-content;height:fit-content;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;position:relative}.menu-container__trigger[data-v-1a396ca6]{height:fit-content;width:fit-content;z-index:var(--5e56f146)}.menu-container__menu[data-v-1a396ca6]{height:fit-content;width:fit-content;position:absolute;background-color:transparent;border-right:1px solid rgba(0,0,0,0);z-index:var(--5e56f146)}.input-container[data-v-a3591a88]{display:flex;align-items:center;position:relative}.right-text[data-v-a3591a88]{position:absolute;top:50%;right:10px;transform:translateY(-50%);color:var(--27733d10);font-size:var(--16b61823);font-family:var(--2aeb1306);pointer-events:none}input[data-v-a3591a88]:focus{outline:none}[data-v-a3591a88]::placeholder{color:var(--placeholder-color)}input[type=number][data-v-a3591a88]::-webkit-inner-spin-button,input[type=number][data-v-a3591a88]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number][data-v-a3591a88]{-moz-appearance:textfield}.multi-range-slider *{box-sizing:border-box;padding:0;margin:0}.multi-range-slider{display:flex;position:relative;border:solid 1px gray;border-radius:10px;padding:20px 10px;box-shadow:1px 1px 4px #000;flex-direction:column;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.multi-range-slider .bar{display:flex}.multi-range-slider .bar-left{width:25%;background-color:#f0f0f0;border-radius:10px 0 0 10px;box-shadow:inset 0 0 5px #000;padding:4px 0}.multi-range-slider .bar-right{width:25%;background-color:#f0f0f0;border-radius:0 10px 10px 0;box-shadow:inset 0 0 5px #000}.multi-range-slider .bar-inner{background-color:#0f0;display:flex;flex-grow:1;flex-shrink:1;position:relative;border:solid 1px black;justify-content:space-between;box-shadow:inset 0 0 5px #000}.multi-range-slider .bar-inner-left,.multi-range-slider .bar-inner-right{width:50%}.multi-range-slider .thumb{background-color:red;position:relative;z-index:1;cursor:pointer}.multi-range-slider .thumb:before{content:"";background-color:#fff;position:absolute;width:20px;height:20px;border:solid 1px black;box-shadow:0 0 3px #000,inset 0 0 5px gray;border-radius:50%;z-index:1;margin:-8px;cursor:pointer}.multi-range-slider .input-type-range:focus+.thumb:after{content:"";position:absolute;top:-4px;left:-4px;width:11px;height:11px;z-index:2;border-radius:50%;border:dotted 1px black;box-shadow:0 0 5px #fff,inset 0 0 10px #000}.multi-range-slider .caption{position:absolute;bottom:35px;width:2px;height:2px;left:1px;display:flex;justify-content:center;align-items:center;overflow:visible;display:none}.multi-range-slider .thumb .caption *{position:absolute;min-width:30px;height:30px;font-size:75%;text-align:center;line-height:30px;background-color:#00f;border-radius:15px;color:#fff;box-shadow:0 0 5px #000;padding:0 5px;white-space:nowrap}.multi-range-slider .thumb:active .caption{display:flex}.multi-range-slider .input-type-range:focus+.thumb .caption{display:flex}.multi-range-slider .input-type-range{position:absolute;top:0;left:0;width:100%;opacity:0;pointer-events:none}.multi-range-slider .ruler{margin:10px 0 -5px;display:flex;overflow:hidden}.multi-range-slider .ruler .ruler-rule{border-left:solid 1px;border-bottom:solid 1px;display:flex;flex-grow:1;flex-shrink:1;padding:5px 0}.multi-range-slider .ruler .ruler-rule:last-child{border-right:solid 1px}.multi-range-slider .sub-ruler{margin:-2px 0 -5px;display:flex}.multi-range-slider .sub-ruler .ruler-sub-rule{border-left:solid 1px;border-bottom:solid 1px;display:flex;flex-grow:1;flex-shrink:1;padding:3px 0}.multi-range-slider .sub-ruler .ruler-sub-rule:last-child{border-right:solid 1px}.multi-range-slider .labels{display:flex;justify-content:space-between;padding:0;margin-top:10px;margin-bottom:-20px}.multi-range-slider .label{font-size:80%;display:flex;width:1px;justify-content:center}.multi-range-slider .label:first-child{justify-content:start}.multi-range-slider .label:last-child{justify-content:end}.multi-range-slider.zero-ranage-margin .thumb-left{right:12px}.multi-range-slider.zero-ranage-margin .thumb-right{left:8px}.custom-range-slider{display:inline-flex;justify-content:center;align-items:center;align-content:center;text-align:center;width:100%;background-color:#2e3b46}.center{width:98%}.multi-range-slider{background:transparent!important;box-shadow:none!important;border:none!important}.multi-range-slider .bar-left{width:30%;background-color:var(--49b9f312)!important;border-radius:4px 0 0 4px;box-shadow:inset 0 0 #000!important;padding:2px 0}.multi-range-slider .bar-right{width:25%;background-color:var(--49b9f312)!important;border-radius:4px 0 0 4px;box-shadow:inset 0 0 #000!important;padding:2px 0}.multi-range-slider .bar-inner{background-color:var(--00b2be6d)!important;display:flex;flex-grow:1;flex-shrink:1;position:relative;border:solid 1px var(--00b2be6d)!important;justify-content:space-between;box-shadow:inset 0 0 5px var(--00b2be6d)!important}.multi-range-slider .thumb:before{content:"";background-color:var(--b39876fa)!important;position:absolute;width:var(--4c694b87);height:var(--650dc9aa);border:solid var(--6b2bd75a) var(--c7c6d954)!important;box-shadow:0 0 #000,inset 0 0 gray!important;border-radius:50%;z-index:1;margin-top:var(--7e4006a6);margin-left:10px;cursor:pointer}.multi-range-slider.zero-ranage-margin .thumb-right{left:-25px!important}.bar-ref{width:100%;height:auto;display:inline-flex;justify-content:space-between}.multi-range-slider .caption{display:none!important}.multi-range-slider .bar{width:98%!important;margin:0 auto!important}.bar-ref-element-left{height:auto;width:fit-content;display:inline-flex;justify-content:center;align-items:center;align-content:center;color:#fff;margin-left:1.6%}@media (max-width: 768px){.bar-ref-element-left{margin-left:2.5%}}@media (max-width: 480px){.bar-ref-element-left{margin-left:3.5%}}.bar-ref-element-right{height:auto;width:fit-content;display:inline-flex;justify-content:center;align-items:center;align-content:center;color:#fff;margin-right:1.3%}.text{font-family:Poppins-Regular;padding-left:0;padding-right:4px}.value{font-family:Poppins-medium;padding-left:0;padding-right:4px;text-decoration:underline}.gsc-switch-radio[data-v-1035ec18]{width:auto;display:inline-flex;justify-content:space-between;align-content:center;align-items:center;font-family:Poppins-Regular;color:#fff;padding:10px}input[data-v-1035ec18]{display:none}div label[data-v-1035ec18]{position:relative;cursor:pointer;display:block;width:50px;height:30px;margin-left:10px;margin-right:10px;background:#2e3b46;border-radius:50px;transition:.3s linear}div label[data-v-1035ec18]:before{position:absolute;top:50%;left:2px;transform:translateY(-50%);content:"";display:block;width:24px;height:24px;background:var(--circle-color, #cbee6b);border-radius:50%;transition:left .3s linear}div input:checked+label[data-v-1035ec18]{background:#2e3b46}div input:checked+label[data-v-1035ec18]:before{left:22px}.scrollable-container{width:100%;background:var(--8a6507d6);overflow-x:hidden;position:relative;display:flex;padding-top:10px;padding-bottom:10px;align-items:center}.scrollable-content{flex-grow:1;overflow-x:scroll;scroll-behavior:smooth;padding-bottom:4px}.scrollable-arrows{cursor:pointer;padding:5px;font-size:18px;background:var(--6de37d18)}.left{margin-left:10px}.right{margin-right:10px}.scrollable-wrapper{display:inline-flex;background:var(--8a6507d6)}.scrollable-content::-webkit-scrollbar{width:4px;height:4px}.scrollable-content::-webkit-scrollbar-track{background-color:transparent}.scrollable-content::-webkit-scrollbar-thumb{background-color:#c3e569;border-radius:4px}.scrollable-content::-webkit-scrollbar-thumb:hover{background-color:#c3e569}.gs-switch-container[data-v-e080c971]{width:100%;margin:0 auto;overflow:hidden}.gs-switch-container__control[data-v-e080c971]{width:100%;background:#0d1d29;display:grid;grid-gap:0px;grid-template-columns:repeat(auto-fit,minmax(10px,1fr));overflow:hidden}.gs-switch-container__control__button-option[data-v-e080c971]{width:100%;cursor:pointer;-webkit-transition:all .1s linear;-moz-transition:all .1s linear;-o-transition:all .1s linear;transition:all .1s linear;height:40px;display:inline-flex;text-align:center;font-size:var(--7a7b9699);line-height:.8;border-width:var(--8daf7a9e)!important;font-family:var(--996a6808);border-bottom:3px solid gray;align-content:center;align-items:center;justify-content:center}.gs-switch-container-type[data-v-e080c971]{width:100%;margin:0 auto}.gs-switch-container-type__control[data-v-e080c971]{width:100%;background:#36434d;display:grid;grid-gap:0px;grid-template-columns:repeat(auto-fit,minmax(20px,1fr));border-radius:var(--62e6f507);border:var(--48bca0d0) solid var(--1a6f1fd3)}.gs-switch-container-type__control__button-option-type[data-v-e080c971]{width:100%;cursor:pointer;-webkit-transition:all .1s linear;-moz-transition:all .1s linear;-o-transition:all .1s linear;transition:all .1s linear;height:40px;font-size:var(--7a7b9699);display:inline-flex;border-radius:var(--62e6f507);text-align:center;line-height:.8;border-width:var(--8daf7a9e)!important;border-style:solid!important;border:2px solid var(--87203156);font-family:var(--996a6808);align-content:center;align-items:center;justify-content:center}.button-option-multi[data-v-e080c971]{width:var(--73ec40bd);cursor:pointer;padding-left:12px;padding-right:12px;-webkit-transition:all .1s linear;-moz-transition:all .1s linear;-o-transition:all .1s linear;transition:all .1s linear;height:40px;display:inline-flex;text-align:center;font-size:var(--7a7b9699);line-height:.8;border-width:var(--8daf7a9e)!important;font-family:var(--996a6808);border-bottom:3px solid gray;align-content:center;align-items:center;justify-content:center}.v-enter-active,.v-leave-active{transition:opacity .5s ease}.v-enter-from,.v-leave-to{opacity:0}.rotated-180{transform:rotate(180deg)}.gsc-dropdown{position:relative;display:inline-block;cursor:pointer}.gsc-dropdown__main-container{height:100%;width:100%;display:flex;align-items:center}.gsc-dropdown__main-container__icon{position:absolute;right:6px;transition:transform .3s ease}.gsc-dropdown__main-container__item-selected{width:100%;padding:0 .5em}.gsc-dropdown__items-container{background-color:var(--list-background-color);border-radius:var(--list-border-radius);border:var(--list-border-width) solid var(--list-border-color);display:block;position:absolute;width:var(--list-width);box-shadow:0 8px 16px #0003;z-index:1}.gsc-dropdown__items-container>div{width:100%;height:fit-content;display:flex;flex-direction:column}.gsc-dropdown__items{height:var(--list-height);width:var(--list-width);overflow:auto}.gsc-dropdown__items__item{white-space:nowrap;color:var(--list-item-color);padding:var(--list-item-padding);text-decoration:none;display:block}.gsc-dropdown__items__item.selected{color:var(--list-item-selected-color);background-color:var(--list-item-selected-background-color)}.gsc-dropdown__items__item:not(.selected):hover{cursor:pointer;background-color:var(--hover-background-color)}.gsc-dropdown__items__item:first-child{border-top-left-radius:var(--list-border-radius);border-top-right-radius:var(--list-border-radius)}.gsc-dropdown__items-footer{height:50px;width:100%;display:flex;justify-content:center;align-items:center;border-top:var(--footer-border)}::-webkit-scrollbar{width:3px}::-webkit-scrollbar-track{border-radius:2.5px}::-webkit-scrollbar-thumb{background:#92929d;width:3px}::-webkit-scrollbar-thumb:hover{background:#92929d}.checkbox[data-v-dcd61b4d]{width:fit-content;height:fit-content;display:flex;justify-content:flex-start;align-items:flex-start;cursor:pointer}.checkbox.right[data-v-dcd61b4d]{flex-direction:row-reverse;justify-content:flex-end}.checkbox.top[data-v-dcd61b4d]{flex-direction:column;justify-content:flex-start;align-items:center}.checkbox.bottom[data-v-dcd61b4d]{flex-direction:column-reverse;justify-content:flex-end;align-items:center}.checkbox__box[data-v-dcd61b4d]{display:flex;justify-content:center;align-items:center;margin-top:.2em}.checkbox__label[data-v-dcd61b4d]{margin:.3em 0}.button[data-v-1bfd444b],.button-active[data-v-1bfd444b]{display:inline-flex;justify-content:center;align-content:center;align-items:center;overflow:none;cursor:pointer!important}.text[data-v-1bfd444b],.icon[data-v-1bfd444b]{padding:0 4px}.porteria2[data-v-8605fa5e]{transform:translate(80px,50px)}.porteria1[data-v-8605fa5e]{transform:translateY(50px)}.circle[data-v-8605fa5e]{transform:translate(40px,50px)}.gsc-field[data-v-8605fa5e]{width:var(--1e0f091f);height:var(--a46bf854);background:var(--38f878de)}.gsc-field__title-checked[data-v-8605fa5e]{display:inline-flex;justify-content:space-between;align-items:center;align-content:center;height:40px;color:#fff;font-family:Poppins-Medium;width:94%;margin-left:3%;font-size:11px}.gsc-field__title-checked__check-cont[data-v-8605fa5e]{width:120px;height:26px}.gsc-field__container-field[data-v-8605fa5e]{width:var(--fc1d6004);height:auto;margin:10px auto 0}.gsc-field__container-field__field[data-v-8605fa5e]{width:100%;height:var(--11ac4ab5)}.gsc-field__container-field__bar-buttons[data-v-8605fa5e]{display:inline-flex;justify-content:space-between;align-items:center;align-content:center;height:40px;width:100%;margin-top:10px;margin-bottom:15px}.container[data-v-166b6226]{width:var(--563e5242);height:var(--a529e9a4);display:flex;justify-content:center;align-items:center}.productivity[data-v-61733186]{display:flex;flex-direction:column}.productivity__body[data-v-61733186]{display:grid;grid-template-columns:var(--template-columns);column-gap:32px}.productivity__body__title[data-v-61733186]{display:grid;grid-template-columns:1fr min-content;column-gap:8px;padding-bottom:11px;border-bottom:solid 1px #989ca1;margin-top:24px}.productivity__body__title___info[data-v-61733186]{font-size:14px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;color:#fff}.productivity__body__title__expand-button[data-v-61733186]{display:flex;justify-content:center;align-items:center;cursor:pointer}.productivity__checkbox[data-v-61733186]{margin:8px 0}.productivity span.number-of-categories[data-v-61733186]{font-size:12px;margin-left:4px;color:#989ca1}.details[data-v-9d942e0a]{display:flex;flex-direction:column;width:100%}.details__header[data-v-9d942e0a]{display:grid;grid-template-columns:1fr min-content;column-gap:8px;margin:0 0 17px}.details__header__title[data-v-9d942e0a]{white-space:nowrap}.details__body[data-v-9d942e0a]{margin-bottom:28px}.details__body__title[data-v-9d942e0a]{text-align:left;font-size:9px;font-weight:500;font-stretch:normal;font-style:normal;letter-spacing:normal;margin-bottom:9px}.details__body__playing-as[data-v-9d942e0a]{display:grid;grid-template-columns:repeat(2,1fr)}.details__body__game-section[data-v-9d942e0a]{display:grid;grid-template-columns:repeat(3,1fr)}.details__body__button[data-v-9d942e0a]{width:100%;height:38px;display:flex;justify-content:center;align-items:center;cursor:pointer;background-color:var(--1ef6d8d8);color:var(--6e500635);border:var(--400b5939) solid var(--3ef45ad6)}.details__body__button[data-v-9d942e0a]:first-child{border-radius:var(--border-radius-first-button)}.details__body__button[data-v-9d942e0a]:last-child{border-radius:var(--border-radius-last-button)}.details__body__button.active[data-v-9d942e0a]{background-color:var(--898e008c);color:var(--3ff2359b);border:var(--123c359f) solid var(--545a6508)}.scroll-container[data-v-218f5976]{height:var(--6aab424d);width:var(--39848040);overflow-y:auto}[data-v-218f5976]::-webkit-scrollbar{width:3px}[data-v-218f5976]::-webkit-scrollbar-track{border-radius:2.5px}[data-v-218f5976]::-webkit-scrollbar-thumb{background:#92929d;width:3px}[data-v-218f5976]::-webkit-scrollbar-thumb:hover{background:#92929d}.tournaments__tournament[data-v-86147065]{padding:4px 0}.plays-golstats[data-v-e8290a62]{width:100%}.plays-golstats__placeholder[data-v-e8290a62]{padding:6px}.plays-golstats__item[data-v-e8290a62]{display:grid;grid-template-columns:var(--grid-template-columns);column-gap:8px;margin:4px 0;border-radius:4px;padding:6px;cursor:pointer}.plays-golstats__item[data-v-e8290a62]:hover{background-color:#505b64}.plays-golstats__item__value[data-v-e8290a62]{height:20px;width:20px;display:flex;justify-content:center;align-items:center;border-radius:5px;background-color:#f1f1f51a;color:#cbee6b;font-size:10px;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center}.plays-golstats__item.selected[data-v-e8290a62]{background-color:#d9d9d9}.plays-golstats__item__svg[data-v-e8290a62]{align-self:center;width:var(--svg-width);height:var(--svg-height);display:flex;justify-content:center;align-items:center}.universe[data-v-82b724f6]{width:100%;display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.universe__sub-header[data-v-82b724f6]{font-size:13px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;text-align:left;color:#fff;margin-top:28px}.universe__sub-header[data-v-82b724f6]:first-child{margin-top:0}.universe__label[data-v-82b724f6]{font-size:12px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;text-align:left;margin:10px 0 5px;color:#aeb3b6}.universe__inputs[data-v-82b724f6]{display:grid;grid-template-columns:repeat(2,1fr);column-gap:8px}.universe__inputs__checkbox[data-v-82b724f6]{justify-self:flex-end;align-self:center}.universe__checkboxes[data-v-82b724f6]{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start}.toggle-buttons[data-v-785d5dbf]{width:101%;height:var(--5e335520);display:grid;grid-template-columns:var(--grid-template-columns);position:absolute;top:-1px;left:-1px}.toggle-buttons__background[data-v-785d5dbf]{width:var(--7c62f2a6);height:var(--5e335520);background-color:var(--7deccefa);border-radius:var(--26f72117);border:solid var(--b003a4b0) var(--b231a176);position:relative}.toggle-buttons__button[data-v-785d5dbf]{height:100%;width:100%;display:flex;justify-content:center;align-items:center;cursor:pointer;background-color:transparent;transition:all .3s ease;align-self:center;justify-self:center;border-radius:var(--26f72117);font-family:var(--1a96bc0c);font-size:var(--2db76aae);font-stretch:normal;font-style:normal;letter-spacing:normal}.toggle-buttons__button.active[data-v-785d5dbf]{border-radius:var(--26f72117);border:solid var(--d47b370a) var(--d6a933d0);background-color:var(--31602dd6)}.personal-data[data-v-8e202a11]{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.personal-data__age[data-v-8e202a11]{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.personal-data__age__toggle[data-v-8e202a11]{margin-bottom:6px;display:flex;justify-content:center}.personal-data__age>div[data-v-8e202a11]{width:100%}.personal-data__nationality-position[data-v-8e202a11]{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}.personal-data__nationality-position>div[data-v-8e202a11]{width:100%}.personal-data__nationality-position__switch[data-v-8e202a11]{display:flex;justify-content:center}.personal-data__nationality-position__nationality[data-v-8e202a11]{margin-bottom:17px}.separator[data-v-8e202a11]{width:100%;height:1px;background-color:#fff3;margin:22px 0}.plays[data-v-321487f6]{display:flex;flex-direction:column}.plays__body[data-v-321487f6]{display:grid;grid-template-columns:var(--template-columns);column-gap:32px}.plays__body__title[data-v-321487f6]{display:grid;grid-template-columns:1fr min-content;column-gap:8px;padding-bottom:11px;border-bottom:solid 1px #989ca1;margin-top:24px}.plays__body__title___info[data-v-321487f6]{font-size:14px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;color:#fff}.plays__body__title__expand-button[data-v-321487f6]{display:flex;justify-content:center;align-items:center;cursor:pointer}.plays__checkbox[data-v-321487f6]{margin:8px 0}.plays span.number-of-categories[data-v-321487f6]{font-size:12px;margin-left:4px;color:#989ca1}.productivity__header[data-v-6fc2bb43]{padding:20px 20px 0}.templates[data-v-6fc2bb43]{display:flex;flex-direction:column;width:var(--width);max-width:var(--max-width);background-color:var(--background-color);border-radius:var(--border-radius);border:var(--border-width) solid var(--border-color);box-shadow:var(--box-shadow);color:var(--text-color)}.templates__header[data-v-6fc2bb43]{display:flex;align-items:center;justify-content:flex-start}.templates__body[data-v-6fc2bb43]{padding:var(--padding)}.templates__footer[data-v-6fc2bb43]{display:flex;justify-content:center;align-items:center;border-top:var(--footer-border-width) solid var(--footer-border-color);width:100%;padding:var(--padding)}.templates__footer>div[data-v-6fc2bb43]{margin:0 10px}.rotated-180[data-v-12861d65]{transform:rotate(180deg)}.button[data-v-12861d65]{display:grid;grid-template-columns:min-content 1fr min-content min-content;column-gap:8px;height:var(--height);width:var(--width);max-height:var(--height);min-width:var(--width);color:var(--font-color);background-color:var(--background-color);border-radius:var(--border-radius);border:var(--border-width) solid var(--border-color);padding:var(--padding);font-family:var(--text-font-family);font-size:var(--text-font-size);font-weight:400;font-stretch:normal;font-style:normal;line-height:1.71;letter-spacing:normal;cursor:pointer}.button__icon[data-v-12861d65]{display:flex;justify-content:center;align-items:center;height:17px;width:17px;min-height:17px;min-width:17px}.button__info[data-v-12861d65]{height:var(--info-height);width:var(--info-width);color:var(--info-font-color);display:flex;justify-content:center;align-items:center;font-size:var(--info-font-size);background-color:var(--info-background-color);border-radius:var(--info-border-radius);border:var(--border-width) solid var(--info-border-color)}.button__arrow[data-v-12861d65]{display:flex;justify-content:center;align-items:center;transition:transform .3s ease}.button div[data-v-12861d65]{align-self:center;display:flex;align-items:center;justify-content:center;height:fit-content}
package/package.json ADDED
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "@golstats/gsc-filters",
3
+ "version": "1.0.3",
4
+ "type": "module",
5
+ "files": [
6
+ "dist"
7
+ ],
8
+ "main": "./dist/gsc-filters.umd.cjs",
9
+ "module": "./dist/gsc-filters.js",
10
+ "exports": {
11
+ ".": {
12
+ "import": "./dist/gsc-filters.js",
13
+ "require": "./dist/gsc-filters.umd.cjs"
14
+ }
15
+ },
16
+ "scripts": {
17
+ "dev": "vite",
18
+ "build": "vite build",
19
+ "preview": "vite preview",
20
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
21
+ "format": "prettier --write src/"
22
+ },
23
+ "dependencies": {
24
+ "@golstats/gsc-button": "^1.0.11",
25
+ "@golstats/gsc-checkbox": "^1.0.4",
26
+ "@golstats/gsc-dropdown": "^1.0.3",
27
+ "@golstats/gsc-expansion-panel": "^1.0.0",
28
+ "@golstats/gsc-field": "^1.0.1",
29
+ "@golstats/gsc-input": "^1.0.1",
30
+ "@golstats/gsc-menu": "^1.0.0",
31
+ "@golstats/gsc-range-selector": "^1.0.1",
32
+ "@golstats/gsc-switch-component": "^1.0.4",
33
+ "@golstats/gsc-switch-radio": "^1.0.0",
34
+ "vue": "^3.3.4"
35
+ },
36
+ "devDependencies": {
37
+ "@rushstack/eslint-patch": "^1.3.2",
38
+ "@vitejs/plugin-vue": "^4.3.1",
39
+ "@vitejs/plugin-vue-jsx": "^3.0.2",
40
+ "@vue/eslint-config-prettier": "^8.0.0",
41
+ "eslint": "^8.46.0",
42
+ "eslint-plugin-vue": "^9.16.1",
43
+ "prettier": "^3.0.0",
44
+ "sass": "^1.66.1",
45
+ "vite": "^4.4.9"
46
+ }
47
+ }