@golstats/gsc-landing 1.0.194 → 1.0.196

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.
Files changed (35) hide show
  1. package/dist/{CardBaseAllIndividual-BNOgnH6t-D0xjZkGw.js → CardBaseAllIndividual-Din4dnnE-BKquMV21.js} +13 -12
  2. package/dist/CardGeneral-70CyP1c9-BUTqFTI2.js +127 -0
  3. package/dist/{CardGeneralIndividual-BHjZ12n1-BvodKC3y.js → CardGeneralIndividual-CFAG9SL3-oV36_au1.js} +83 -77
  4. package/dist/{CardGeneralTeams-ByBEp-8b-CbLocm8U.js → CardGeneralTeams-C1b59sT7-CJ8WP8Rw.js} +151 -146
  5. package/dist/{CardIndividual-BR1r5B5u-DqflCygx.js → CardIndividual-BVJEvLuq-DKdRxjLS.js} +38 -37
  6. package/dist/CardIndividual1vs1-BEIdhWs1-Ur49YndI.js +109 -0
  7. package/dist/{CardIndividualAreas-qEYtV2XP-C97pNpBa.js → CardIndividualAreas-T43vItFr-BgrX5OqP.js} +22 -21
  8. package/dist/{CardIndividualCenters-DURH48kE-BAeLhbBk.js → CardIndividualCenters-fZNKbbXo-B5mnyhQM.js} +121 -120
  9. package/dist/{CardIndividualDistance-BKeSbWJ9-B6Vj1YLa.js → CardIndividualDistance-CcU2Vbnx-Dhz8NAbJ.js} +32 -31
  10. package/dist/{CardIndividualFouls-BqWT8Bzx-D0EDbSJl.js → CardIndividualFouls-BYcKqeFK-C31N8-qM.js} +111 -110
  11. package/dist/CardIndividualGoalParticipation-yPoWp2QU-C-xHyu40.js +112 -0
  12. package/dist/{CardIndividualGoals-CBAA7DE3-Dco1VuBc.js → CardIndividualGoals-C69mSV2s-tOjLCWoh.js} +181 -180
  13. package/dist/{CardIndividualGold-BBYsUCND-BhqSGl0q.js → CardIndividualGold-BxCrvpoF-C0aIBmHX.js} +28 -26
  14. package/dist/{CardIndividualNoGoalReceived-HaDOJruE-CKzigvOP.js → CardIndividualNoGoalReceived-CqVz1A2y-CRaVjR0-.js} +56 -55
  15. package/dist/CardIndividualPerformance-JjUTmJQy-DUAMj2cv.js +104 -0
  16. package/dist/{CardIndividualSaves-BqBRjEt7-CJBgPvne.js → CardIndividualSaves-DEvTL6Uw-B122lO1Z.js} +70 -65
  17. package/dist/{CardIndividualShotsOnGoal-X_3YzAE3-CbiYLtzD.js → CardIndividualShotsOnGoal-BxwPL-4b-C4O7JVrv.js} +55 -54
  18. package/dist/{CardIndividualStatistics-D769xisE-D2KNSIfX.js → CardIndividualStatistics-DQRVwOUb-CaDk8RJE.js} +35 -34
  19. package/dist/{CardPromTournament-DFGqM4we-C4dX0pKz.js → CardPromTournament-HcWvduRV-DpeWH8i8.js} +28 -27
  20. package/dist/{CardSuccessfulPasses-CTjMzZAt-Bv_X927S.js → CardSuccessfulPasses-D9ZpWlLr-C6iia2Ko.js} +16 -15
  21. package/dist/CardTheMostProductive-CNNFBK3--Qo-b7oII.js +76 -0
  22. package/dist/{CircleWithDotsBig-DfppYko9-BYZNX7zX.js → CircleWithDotsBig-DOPQy89I-DWZ-BBWO.js} +1 -1
  23. package/dist/{Shield-BjoeEr7g-C7yufXoK.js → Shield-COMdrYaO-DmoFCV4h.js} +60 -55
  24. package/dist/gsc-landing.js +2 -57546
  25. package/dist/gsc-landing.umd.cjs +54 -54
  26. package/dist/index-BRCKRHng.js +57605 -0
  27. package/dist/misc-CMAhmOsp-DmS1M3b6.js +163 -0
  28. package/dist/style.css +1 -1
  29. package/package.json +2 -2
  30. package/dist/CardGeneral-D2PYPb95-DycFnfDS.js +0 -116
  31. package/dist/CardIndividual1vs1-DPov_cGc-DtWs-qcq.js +0 -487
  32. package/dist/CardIndividualGoalParticipation-CRBepIcB-CBc1Wh03.js +0 -108
  33. package/dist/CardIndividualPerformance-CEPnHtE9-Da4MXSxk.js +0 -99
  34. package/dist/CardTheMostProductive-DzbDtzZn-Dewb8MoQ.js +0 -74
  35. package/dist/misc-BJvl3Yld-2p2XKW1m.js +0 -168
@@ -0,0 +1,163 @@
1
+ import { computed as l, openBlock as i, createElementBlock as d, normalizeClass as c, normalizeStyle as u, createCommentVNode as s, createElementVNode as n, renderSlot as p, pushScopeId as g, popScopeId as y } from "vue";
2
+ import { h as b } from "./index-BRCKRHng.js";
3
+ const f = (e) => (g("data-v-2ba19cd1"), e = e(), y(), e), h = {
4
+ key: 0,
5
+ class: "card-base__background-image"
6
+ }, m = ["src"], v = {
7
+ key: 1,
8
+ class: "card-base__background-overlay"
9
+ }, _ = { class: "card-base__slot" }, k = {
10
+ key: 2,
11
+ class: "card-base__play"
12
+ }, w = /* @__PURE__ */ f(() => /* @__PURE__ */ n("svg", {
13
+ width: "60",
14
+ height: "60",
15
+ viewBox: "0 0 60 60",
16
+ fill: "none",
17
+ xmlns: "http://www.w3.org/2000/svg"
18
+ }, [
19
+ /* @__PURE__ */ n("circle", {
20
+ cx: "30",
21
+ cy: "30",
22
+ r: "30",
23
+ fill: "#0E1E2A",
24
+ "fill-opacity": ".96"
25
+ }),
26
+ /* @__PURE__ */ n("circle", {
27
+ cx: "30",
28
+ cy: "30",
29
+ r: "26.6",
30
+ stroke: "#757575",
31
+ "stroke-width": ".8"
32
+ }),
33
+ /* @__PURE__ */ n("path", {
34
+ d: "M25.49 39.862a1.058 1.058 0 0 1-.359-.43 1.396 1.396 0 0 1-.131-.6V20.165a1.4 1.4 0 0 1 .132-.599c.087-.18.21-.329.358-.429a.777.777 0 0 1 .483-.137c.167.01.33.077.47.194l11.143 9.333c.127.107.232.25.304.42.072.17.11.358.11.55 0 .193-.038.382-.11.55-.072.17-.177.314-.304.42l-11.143 9.337a.808.808 0 0 1-.47.194.776.776 0 0 1-.482-.137z",
35
+ fill: "#CBEE6B"
36
+ })
37
+ ], -1)), S = [
38
+ w
39
+ ], C = {
40
+ __name: "CardBase",
41
+ props: {
42
+ height: {
43
+ type: String,
44
+ default: "445px"
45
+ },
46
+ width: {
47
+ type: String,
48
+ default: "319px"
49
+ },
50
+ backgroundOverlayColor: {
51
+ type: String,
52
+ default: "#000000"
53
+ },
54
+ backgroundOverlayOpacity: {
55
+ type: String,
56
+ default: "0.8"
57
+ },
58
+ backgroundImageSrc: {
59
+ type: String,
60
+ default: ""
61
+ },
62
+ overflow: {
63
+ type: String,
64
+ default: "visible"
65
+ },
66
+ borderRadius: {
67
+ type: String,
68
+ default: "15px"
69
+ },
70
+ isPlayButtonVisible: {
71
+ type: Boolean,
72
+ default: !0
73
+ },
74
+ goldCardType: {
75
+ type: Number,
76
+ default: 0
77
+ }
78
+ },
79
+ setup(e) {
80
+ const t = e, a = l(() => ({
81
+ "--height": t.height,
82
+ "--width": t.width,
83
+ "--background-overlay-color": t.backgroundOverlayColor,
84
+ "--overflow": t.overflow,
85
+ "--border-radius": t.borderRadius,
86
+ "--background-overlay-opacity": t.backgroundOverlayOpacity,
87
+ "--background-gold-size": `${t.width} ${t.height}`
88
+ })), o = l(() => {
89
+ const r = [];
90
+ return t.goldCardType && (t.goldCardType === 1 ? r.push("gold-card-1") : t.goldCardType === 2 && r.push("gold-card-2")), r;
91
+ });
92
+ return (r, x) => (i(), d("div", {
93
+ class: c(["card-base", o.value]),
94
+ style: u(a.value)
95
+ }, [
96
+ e.goldCardType ? s("", !0) : (i(), d("div", h, [
97
+ e.backgroundImageSrc ? (i(), d("img", {
98
+ key: 0,
99
+ src: e.backgroundImageSrc,
100
+ alt: ""
101
+ }, null, 8, m)) : s("", !0)
102
+ ])),
103
+ e.goldCardType ? s("", !0) : (i(), d("div", v)),
104
+ n("div", _, [
105
+ p(r.$slots, "default", {}, void 0, !0)
106
+ ]),
107
+ e.isPlayButtonVisible ? (i(), d("div", k, S)) : s("", !0)
108
+ ], 6));
109
+ }
110
+ }, E = /* @__PURE__ */ b(C, [["__scopeId", "data-v-2ba19cd1"]]);
111
+ function I(e = "") {
112
+ const t = e.split("");
113
+ let a = 1;
114
+ return t.reduce((o, r) => (r === "*" ? (a % 2 === 0 ? o += "</span>" : o += '<span class="text-bold">', a++) : o += r, o), "");
115
+ }
116
+ function O({ data: e, descriptionType: t }) {
117
+ switch (t) {
118
+ case 1:
119
+ return e.finish_first_person_description;
120
+ case 2:
121
+ return e.first_person_description;
122
+ case 3:
123
+ return e.finish_third_person_description;
124
+ case 4:
125
+ return e.third_person_description;
126
+ case 5:
127
+ return e.finish_description;
128
+ case 6:
129
+ return e.description;
130
+ }
131
+ }
132
+ function T(e) {
133
+ return `https://az755631.vo.msecnd.net/teams-80/${e}.png`;
134
+ }
135
+ function $(e) {
136
+ return `https://az755631.vo.msecnd.net/players-profile/${e}.png`;
137
+ }
138
+ function V(e) {
139
+ return `https://golstatsimages.blob.core.windows.net/images-library/${e}`;
140
+ }
141
+ function N(e) {
142
+ if (e.includes("*")) {
143
+ let t = "";
144
+ const a = e.match(/\*(.*?)\*/);
145
+ return a && (t = a[1]), {
146
+ title: t.trim(),
147
+ subtitle: e.replace(/\*(.*?)\*/, "").trim()
148
+ };
149
+ }
150
+ return {
151
+ title: e,
152
+ subtitle: ""
153
+ };
154
+ }
155
+ export {
156
+ V as $,
157
+ N as A,
158
+ T as E,
159
+ E as I,
160
+ $ as O,
161
+ I as P,
162
+ O as z
163
+ };