@golstats/lilini-player-detection 1.0.85 → 1.0.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { useCssVars as $, computed as c, createElementBlock as d, openBlock as i, normalizeStyle as E, createElementVNode as o, createVNode as y, unref as g, Fragment as u, renderList as _, normalizeClass as b, toDisplayString as v, pushScopeId as H, popScopeId as R } from "vue";
2
- import { K as T, q as m } from "./index-VIz1YNRa.js";
2
+ import { K as T, q as m } from "./index-BWCmBpAB.js";
3
3
  const n = (s) => (H("data-v-80d9c265"), s = s(), R(), s), V = { class: "details__header" }, W = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__header__title" }, "Jugando como", -1)), I = { class: "details__header__checkbox" }, q = { class: "details__body" }, z = { class: "details__body__playing-as" }, F = ["onClick"], K = { class: "details__header" }, L = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), N = { class: "details__header__checkbox" }, U = { class: "details__body" }, D = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__body__title" }, "1er tiempo", -1)), J = { class: "details__body__game-section" }, j = ["onClick"], w = { class: "details__body" }, G = /* @__PURE__ */ n(() => /* @__PURE__ */ o("div", { class: "details__body__title" }, "2do tiempo", -1)), M = { class: "details__body__game-section" }, O = ["onClick"], P = {
4
4
  __name: "FilterConditions",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { useCssVars as E, computed as c, createElementBlock as s, openBlock as i, normalizeStyle as V, createElementVNode as d, createVNode as y, unref as g, Fragment as u, renderList as _, normalizeClass as b, toDisplayString as v, pushScopeId as $, popScopeId as H } from "vue";
2
- import { h as T, u as m } from "./index-VIz1YNRa.js";
2
+ import { h as T, u as m } from "./index-BWCmBpAB.js";
3
3
  const n = (o) => ($("data-v-80d9c265"), o = o(), H(), o), R = { class: "details__header" }, W = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__header__title" }, "Jugando como", -1)), I = { class: "details__header__checkbox" }, z = { class: "details__body" }, F = { class: "details__body__playing-as" }, L = ["onClick"], N = { class: "details__header" }, U = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__header__title" }, "En: (Elige el lapso de tiempo)", -1)), D = { class: "details__header__checkbox" }, J = { class: "details__body" }, j = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__body__title" }, "1er tiempo", -1)), q = { class: "details__body__game-section" }, w = ["onClick"], G = { class: "details__body" }, K = /* @__PURE__ */ n(() => /* @__PURE__ */ d("div", { class: "details__body__title" }, "2do tiempo", -1)), M = { class: "details__body__game-section" }, O = ["onClick"], P = {
4
4
  __name: "FilterConditions",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { ref as r, createElementBlock as a, openBlock as n, createVNode as c, unref as i } from "vue";
2
- import { K as u, i as d } from "./index-VIz1YNRa.js";
2
+ import { K as u, i as d } from "./index-BWCmBpAB.js";
3
3
  const f = { class: "filter-field" }, m = {
4
4
  __name: "FilterField",
5
5
  setup(p) {
@@ -1,5 +1,5 @@
1
1
  import { ref as a, createElementBlock as r, openBlock as n, createVNode as c, unref as d } from "vue";
2
- import { h as u, a as f } from "./index-VIz1YNRa.js";
2
+ import { h as u, a as f } from "./index-BWCmBpAB.js";
3
3
  const m = { class: "filter-field" }, i = {
4
4
  __name: "FilterField",
5
5
  setup(s) {
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as o, openBlock as r, Fragment as a, renderList as u, createVNode as d, createBlock as n, unref as i } from "vue";
2
- import { K as l, q as g } from "./index-VIz1YNRa.js";
2
+ import { K as l, q as g } from "./index-BWCmBpAB.js";
3
3
  const y = { class: "subcategory-group" }, b = {
4
4
  __name: "SubcategoryGroup",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as a, openBlock as r, Fragment as t, renderList as u, createVNode as d, createBlock as n, unref as i } from "vue";
2
- import { h as l, u as y } from "./index-VIz1YNRa.js";
2
+ import { h as l, u as y } from "./index-BWCmBpAB.js";
3
3
  const b = { class: "subcategory-group" }, g = {
4
4
  __name: "SubcategoryGroup",
5
5
  props: {
@@ -1211,12 +1211,12 @@ const z2 = /* @__PURE__ */ F2(tl, [["render", j2], ["__scopeId", "data-v-f3ee6b2
1211
1211
  }, b5 = ["stroke"], x5 = ["stroke"], S5 = ["fill"], w5 = { class: "available-item" }, C5 = {
1212
1212
  key: 0,
1213
1213
  class: "available-template__selected"
1214
- }, k5 = { class: "modal-footer" }, T5 = "https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/gs3/tournaments", _5 = {
1214
+ }, k5 = { class: "modal-footer" }, T5 = "https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/v2/gs3/tournaments", _5 = {
1215
1215
  __name: "ModalAddPlayer",
1216
1216
  props: {
1217
1217
  apiUrl: {
1218
1218
  type: String,
1219
- default: "https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/gs3/tournaments?lillini=true"
1219
+ default: "https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/v2/gs3/tournaments?lillini=true"
1220
1220
  },
1221
1221
  token: {
1222
1222
  type: String,
@@ -1260,7 +1260,11 @@ const z2 = /* @__PURE__ */ F2(tl, [["render", j2], ["__scopeId", "data-v-f3ee6b2
1260
1260
  }
1261
1261
  async function f() {
1262
1262
  try {
1263
- const I = i.isFemaleMode ? "https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/gs3/tournaments" : i.apiUrl || T5, k = await (await fetch(I)).json();
1263
+ const I = i.isFemaleMode ? "https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/v2/gs3/tournaments" : i.apiUrl || T5, k = await (await fetch(I, {
1264
+ headers: {
1265
+ Authorization: i.token
1266
+ }
1267
+ })).json();
1264
1268
  return k ? k.reduce((O, L) => {
1265
1269
  if (i.isFemaleMode && !L.tournament.is_female)
1266
1270
  return O;
@@ -1615,7 +1619,7 @@ const z2 = /* @__PURE__ */ F2(tl, [["render", j2], ["__scopeId", "data-v-f3ee6b2
1615
1619
  })
1616
1620
  ]));
1617
1621
  }
1618
- }, E5 = /* @__PURE__ */ Vt(_5, [["__scopeId", "data-v-f0f2581b"]]), F5 = {
1622
+ }, E5 = /* @__PURE__ */ Vt(_5, [["__scopeId", "data-v-f8cde251"]]), F5 = {
1619
1623
  key: 0,
1620
1624
  class: "modal-overlay"
1621
1625
  }, O5 = { class: "modal-content" }, P5 = {
@@ -10167,11 +10171,11 @@ const w6 = { class: "dropdown" }, C6 = { class: "selected-item" }, k6 = {
10167
10171
  },
10168
10172
  setup(e) {
10169
10173
  const a = e, t = di(
10170
- () => import("./FilterSubcategories-113560ae-BL8Kwvun.js")
10174
+ () => import("./FilterSubcategories-113560ae-D1qJOMJA.js")
10171
10175
  ), i = di(
10172
- () => import("./FilterConditions-a9fea334-DWcxxZYa.js")
10176
+ () => import("./FilterConditions-a9fea334-DdAPVHSP.js")
10173
10177
  ), s = di(
10174
- () => import("./FilterField-069a3208-BEwFaLNs.js")
10178
+ () => import("./FilterField-069a3208-CvSoQxCC.js")
10175
10179
  ), r = [
10176
10180
  {
10177
10181
  name: "Sub categorías",
@@ -27893,11 +27897,11 @@ const qI = { class: "dropdown" }, QI = { class: "selected-item" }, KI = {
27893
27897
  },
27894
27898
  setup(e) {
27895
27899
  const a = e, t = di(
27896
- () => import("./FilterSubcategories-1f65c851-C6ySBQJ6-DiqrDPbh.js")
27900
+ () => import("./FilterSubcategories-1f65c851-C6ySBQJ6-Big9Ajba.js")
27897
27901
  ), i = di(
27898
- () => import("./FilterConditions-cd420512-Cmbk-WAZ-pJ7mZkI-.js")
27902
+ () => import("./FilterConditions-cd420512-Cmbk-WAZ-DceCafl2.js")
27899
27903
  ), s = di(
27900
- () => import("./FilterField-a29b1541-DctB4Acx-BpruUAD_.js")
27904
+ () => import("./FilterField-a29b1541-DctB4Acx-CAENsfGY.js")
27901
27905
  ), r = [
27902
27906
  {
27903
27907
  name: "Sub categorías",