@ozdao/prometheus-framework 0.0.87 → 0.0.89
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-300fcb55.js +1 -0
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-afba007a.mjs +1944 -0
- package/dist/ButtonFollow-001c4a65.mjs +130 -0
- package/dist/ButtonFollow-48043cc7.js +1 -0
- package/dist/CardHeader-0677d446.js +1 -0
- package/dist/CardHeader-e361dada.mjs +96 -0
- package/dist/CardOrganization-51309400.js +1 -0
- package/dist/CardOrganization-bacc2ef6.mjs +202 -0
- package/dist/Feed-4b28adc5.mjs +423 -0
- package/dist/Feed-51e4e232.js +1 -0
- package/dist/Feed-5d8d5c21.js +1 -0
- package/dist/Feed-76b2997e.mjs +367 -0
- package/dist/Feed-dc8b66bf.mjs +367 -0
- package/dist/Feed-eeb63363.js +1 -0
- package/dist/IconEdit-3028a3b7.js +1 -0
- package/dist/IconEdit-8df23653.mjs +205 -0
- package/dist/Image-30f04604.js +9 -0
- package/dist/Image-6c7584f5.mjs +477 -0
- package/dist/Image-6ec294f3.mjs +477 -0
- package/dist/Image-9a870c88.js +9 -0
- package/dist/PlaceholderUserpic-10fd9026.js +1 -0
- package/dist/PlaceholderUserpic-eb9820ce.mjs +28 -0
- package/dist/Popup-7c331e1c.js +1 -0
- package/dist/Popup-bdf043ba.mjs +76 -0
- package/dist/Product-1724d88d.mjs +837 -0
- package/dist/Product-a94d8b65.js +7 -0
- package/dist/Product-b233e2a3.js +7 -0
- package/dist/Product-eb00f35e.mjs +837 -0
- package/dist/ProductEdit-57484f1e.mjs +349 -0
- package/dist/ProductEdit-61413d02.mjs +349 -0
- package/dist/ProductEdit-ef301baa.js +1 -0
- package/dist/ProductEdit-fca68ff9.js +1 -0
- package/dist/ProfileBlogposts-6704a38c.js +1 -0
- package/dist/ProfileBlogposts-775b1cfa.mjs +63 -0
- package/dist/ProfileComments-175e42da.js +1 -0
- package/dist/ProfileComments-fd7d66bf.mjs +43 -0
- package/dist/ProfileEvents-1cfe6858.mjs +55 -0
- package/dist/ProfileEvents-4f2a5f00.js +1 -0
- package/dist/ProfileEvents-7a51a9e6.mjs +55 -0
- package/dist/ProfileEvents-d8e16509.js +1 -0
- package/dist/ProfileLikes-20a8a3c9.mjs +43 -0
- package/dist/ProfileLikes-b3b1350a.js +1 -0
- package/dist/ProfileOrganizations-4b866823.mjs +211 -0
- package/dist/ProfileOrganizations-6d3a43e4.js +1 -0
- package/dist/Publics-0e44c61e.mjs +122 -0
- package/dist/Publics-4e1c14fc.js +1 -0
- package/dist/Tab-a243605d.mjs +46 -0
- package/dist/UploadImage-6e312c46.mjs +83 -0
- package/dist/UploadImage-9e7e7468.js +1 -0
- package/dist/auth-2bc18d1e.js +8 -0
- package/dist/auth-fefd15a3.mjs +1503 -0
- package/dist/auth.client.cjs +1 -1
- package/dist/auth.client.js +5 -5
- package/dist/auth.validation-4a617c0b.mjs +20 -0
- package/dist/auth.validation-78a90fed.js +1 -0
- package/dist/community.client.cjs +1 -1
- package/dist/community.client.js +206 -222
- package/dist/components/Field/Field.vue.d.ts.map +1 -1
- package/dist/components/FieldPhone/FieldPhone(script-setup).vue.d.ts +3 -3
- package/dist/components/FieldPhone/FieldPhone.vue.d.ts +1 -1
- package/dist/events.client.cjs +1 -1
- package/dist/events.client.js +332 -312
- package/dist/events.server.js +77 -0
- package/dist/events.server.mjs +77 -0
- package/dist/inputs.validation-14e8e01f.mjs +93 -0
- package/dist/main.css +1 -1
- package/dist/organizations-1581c013.mjs +121 -0
- package/dist/organizations-c455dad7.js +1 -0
- package/dist/organizations.client-040ec107.js +3 -0
- package/dist/organizations.client-686845be.mjs +3179 -0
- package/dist/organizations.client-7937e180.mjs +3037 -0
- package/dist/organizations.client-99bfc474.js +3 -0
- package/dist/organizations.client.cjs +1 -1
- package/dist/organizations.client.js +39 -39
- package/dist/organizations.server.js +7 -3
- package/dist/organizations.server.mjs +7 -3
- package/dist/prometheus-framework.cjs.js +1 -1
- package/dist/prometheus-framework.es.js +3 -2
- package/dist/style.css +1 -1
- package/dist/users.client.cjs +1 -1
- package/dist/users.client.js +265 -256
- package/dist/users.server.js +2 -2
- package/dist/users.server.mjs +2 -2
- package/package.json +1 -1
- package/src/components/Field/Field.vue +2 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +2 -1
- package/src/modules/events/components/blocks/CardEvent.vue +1 -1
- package/src/modules/events/components/pages/EditEvent.vue +9 -3
- package/src/modules/events/components/pages/Event.vue +43 -4
- package/src/modules/events/middlewares/server/index.js +10 -0
- package/src/modules/events/middlewares/server/verifyEvent.js +60 -0
- package/src/modules/events/routes/events.routes.js +14 -1
- package/src/modules/organizations/components/blocks/Socials.vue +16 -3
- package/src/modules/organizations/components/pages/OrganizationEdit.vue +39 -15
- package/src/modules/organizations/components/sections/DetailsTab.vue +13 -9
- package/src/modules/organizations/controllers/organizations.controller.js +1 -1
- package/src/modules/organizations/models/organization.model.js +6 -2
- package/src/modules/organizations/store/organizations.js +2 -2
- package/src/modules/users/components/pages/Profile.vue +26 -11
- package/src/modules/users/components/pages/ProfileEdit.vue +28 -10
- package/src/modules/users/models/user.model.js +2 -2
- package/src/modules/users/store/users.js +1 -2
@@ -0,0 +1,367 @@
|
|
1
|
+
import { openBlock as r, createElementBlock as n, Fragment as _, renderList as M, normalizeClass as v, toDisplayString as m, ref as h, computed as f, createVNode as C, unref as k, createElementVNode as g, createCommentVNode as c, renderSlot as F, createBlock as T, createStaticVNode as I, reactive as N, watch as L, onMounted as j, TransitionGroup as O, withCtx as P, Transition as R } from "vue";
|
2
|
+
import { _ as V } from "./EmptyState-34d85f10.mjs";
|
3
|
+
import { _ as B } from "./CardHeader-ce5a1a75.mjs";
|
4
|
+
import { _ as H, a as Y } from "./auth-35ef1791.mjs";
|
5
|
+
import { useRouter as q } from "vue-router";
|
6
|
+
import { s as S } from "./globals-96ba60e4.mjs";
|
7
|
+
const A = { class: "flex-v-center flex-nowrap flex" }, G = {
|
8
|
+
key: 1,
|
9
|
+
class: "pd-thin radius-small t-semi bg-white"
|
10
|
+
}, J = {
|
11
|
+
__name: "Chips",
|
12
|
+
props: ["chips"],
|
13
|
+
setup(e) {
|
14
|
+
return (t, l) => (r(), n("div", A, [
|
15
|
+
e.chips.length ? (r(!0), n(_, { key: 0 }, M(e.chips, (i, u) => (r(), n("div", {
|
16
|
+
class: v(["pd-thin radius-small t-semi bg-main", { "mn-r-thin": u !== e.chips.length - 1 }])
|
17
|
+
}, m(i.text ? i.text : i), 3))), 256)) : (r(), n("div", G, m(e.chips), 1))
|
18
|
+
]));
|
19
|
+
}
|
20
|
+
}, K = {
|
21
|
+
key: 0,
|
22
|
+
class: "o-hidden bg-grey mn-small w-100"
|
23
|
+
}, Q = ["src"], W = ["src"], X = { class: "w-max mn-r-thin pd-thin radius-small t-semi bg-main" }, Z = {
|
24
|
+
key: 0,
|
25
|
+
class: "t-semi"
|
26
|
+
}, ee = { class: "t-semi" }, te = {
|
27
|
+
key: 0,
|
28
|
+
class: "t-semi uppercase"
|
29
|
+
}, ae = {
|
30
|
+
key: 0,
|
31
|
+
class: "cursor-pointer mn-thin flex-nowrap flex w-100"
|
32
|
+
}, re = {
|
33
|
+
key: 0,
|
34
|
+
class: ""
|
35
|
+
}, ne = {
|
36
|
+
key: 1,
|
37
|
+
class: "pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"
|
38
|
+
}, se = {
|
39
|
+
key: 1,
|
40
|
+
class: "mn-small p-big"
|
41
|
+
}, le = {
|
42
|
+
__name: "CardEvent",
|
43
|
+
props: ["event", "user", "short", "type"],
|
44
|
+
setup(e) {
|
45
|
+
const t = e;
|
46
|
+
h(/* @__PURE__ */ new Date()), q(), f(() => t.event.content.find((a) => a.type.name === "ImageUpload")), f(() => t.event.content.find((a) => a.type.name === "Textarea"));
|
47
|
+
const l = f(() => {
|
48
|
+
const a = /* @__PURE__ */ new Date(), d = Date.UTC(a.getUTCFullYear(), a.getUTCMonth(), a.getUTCDate(), a.getUTCHours(), a.getUTCMinutes(), a.getUTCSeconds()), s = new Date(t.event.date.start), o = Date.UTC(s.getUTCFullYear(), s.getUTCMonth(), s.getUTCDate(), s.getUTCHours(), s.getUTCMinutes(), s.getUTCSeconds()) - d;
|
49
|
+
if (o < 0)
|
50
|
+
return "Finished";
|
51
|
+
if (o === 0)
|
52
|
+
return "Starting Now";
|
53
|
+
{
|
54
|
+
const b = Math.floor(o / 1e3), x = Math.floor(b / 60), D = Math.floor(x / 60), E = Math.floor(D / 24);
|
55
|
+
return E > 0 ? `${E} days until event` : D > 0 ? `${D} hours until event` : x > 0 ? `${x} minutes until event` : `${b} seconds until event`;
|
56
|
+
}
|
57
|
+
}), i = f(() => {
|
58
|
+
const a = new Date(t.event.date.start), d = { day: "2-digit", month: "2-digit" };
|
59
|
+
return a.toLocaleDateString(void 0, d);
|
60
|
+
}), u = f(() => {
|
61
|
+
const a = new Date(t.event.date.start), d = new Date(t.event.date.end), s = new Intl.DateTimeFormat(void 0, { hour: "2-digit", minute: "2-digit", hourCycle: "h23" }).format(a), U = new Intl.DateTimeFormat(void 0, { hour: "2-digit", minute: "2-digit", hourCycle: "h23" }).format(d);
|
62
|
+
return `${s}-${U}`;
|
63
|
+
}), p = f(() => {
|
64
|
+
const a = t.event.name;
|
65
|
+
return a.length > 26 ? `${a.substring(0, 22)}…` : a;
|
66
|
+
});
|
67
|
+
return (a, d) => (r(), n("article", {
|
68
|
+
class: v({
|
69
|
+
"flex-nowrap flex-v-center flex": e.type === "short"
|
70
|
+
})
|
71
|
+
}, [
|
72
|
+
C(B, {
|
73
|
+
class: v({
|
74
|
+
"mn-small pd-medium": e.type !== "short",
|
75
|
+
"flex-child-order-last flex-child mn-l-small": e.type === "short"
|
76
|
+
}),
|
77
|
+
owner: e.event.owner,
|
78
|
+
creator: e.event.creator,
|
79
|
+
members: e.event.numberOfTickets,
|
80
|
+
membersPhotos: e.event.participantsPhotos,
|
81
|
+
type: e.type,
|
82
|
+
dateFormatted: k(l)
|
83
|
+
}, null, 8, ["class", "owner", "creator", "members", "membersPhotos", "type", "dateFormatted"]),
|
84
|
+
e.event.cover && e.type !== "short" ? (r(), n("div", K, [
|
85
|
+
g("img", {
|
86
|
+
src: e.event.cover,
|
87
|
+
alt: "Event image",
|
88
|
+
class: "z-index-1 d-block mn-auto h-20r"
|
89
|
+
}, null, 8, Q),
|
90
|
+
g("img", {
|
91
|
+
src: e.event.cover,
|
92
|
+
alt: "Event image",
|
93
|
+
class: "z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",
|
94
|
+
style: { transform: "scale(1.5)", filter: "blur(2rem)", "-webkit-filter": "blur(2rem)" }
|
95
|
+
}, null, 8, W)
|
96
|
+
])) : c("", !0),
|
97
|
+
g("section", {
|
98
|
+
class: v(["w-100", { "pd-t-zero pd-medium": e.type !== "short" }])
|
99
|
+
}, [
|
100
|
+
g("div", {
|
101
|
+
class: v([{ "mn-small": e.type !== "short" }, "flex-v-center flex-nowrap flex"])
|
102
|
+
}, [
|
103
|
+
g("div", X, [
|
104
|
+
e.type !== "short" ? (r(), n("span", Z, m(k(i)) + " | ", 1)) : c("", !0),
|
105
|
+
g("span", ee, m(k(u)), 1)
|
106
|
+
]),
|
107
|
+
e.type === "short" ? (r(), n("span", te, m(k(p)), 1)) : c("", !0)
|
108
|
+
], 2),
|
109
|
+
e.type !== "short" ? (r(), n("div", ae, [
|
110
|
+
e.type !== "short" ? (r(), n("h3", re, m(e.event.name), 1)) : c("", !0),
|
111
|
+
e.event.status === "draft" ? (r(), n("div", ne, m(e.event.status), 1)) : c("", !0)
|
112
|
+
])) : c("", !0),
|
113
|
+
e.type !== "short" ? (r(), n("p", se, m(e.event.description), 1)) : c("", !0),
|
114
|
+
F(a.$slots, "default"),
|
115
|
+
e.type !== "short" && e.event.tags.length > 0 ? (r(), T(J, {
|
116
|
+
key: 2,
|
117
|
+
chips: e.event.tags
|
118
|
+
}, null, 8, ["chips"])) : c("", !0)
|
119
|
+
], 2)
|
120
|
+
], 2));
|
121
|
+
}
|
122
|
+
}, ie = {}, ce = {
|
123
|
+
width: "100%",
|
124
|
+
height: "20rem",
|
125
|
+
xmlns: "http://www.w3.org/2000/svg"
|
126
|
+
}, ue = /* @__PURE__ */ I('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>', 6), oe = [
|
127
|
+
ue
|
128
|
+
];
|
129
|
+
function de(e, t) {
|
130
|
+
return r(), n("svg", ce, oe);
|
131
|
+
}
|
132
|
+
const me = /* @__PURE__ */ H(ie, [["render", de]]), $ = Y.create({ baseURL: process.env.API_URL, withCredentials: !0 }), y = N({
|
133
|
+
all: [],
|
134
|
+
filter: {
|
135
|
+
// query
|
136
|
+
tags: [],
|
137
|
+
period: "",
|
138
|
+
date: null
|
139
|
+
// pagination
|
140
|
+
},
|
141
|
+
pagination: {
|
142
|
+
page: 1,
|
143
|
+
perPage: 18
|
144
|
+
},
|
145
|
+
// Sort
|
146
|
+
sort: {
|
147
|
+
current: "popularity",
|
148
|
+
ascending: !1
|
149
|
+
},
|
150
|
+
current: {
|
151
|
+
_id: "",
|
152
|
+
cover: "",
|
153
|
+
url: "",
|
154
|
+
status: "",
|
155
|
+
name: "",
|
156
|
+
tags: [],
|
157
|
+
date: {
|
158
|
+
start: null,
|
159
|
+
false: null
|
160
|
+
},
|
161
|
+
views: 0,
|
162
|
+
content: []
|
163
|
+
}
|
164
|
+
});
|
165
|
+
async function z(e = {}) {
|
166
|
+
e.params = e.params || {}, e.params.skip = e.skip || 0, e.params.limit = e.limit || 9, e.params.tags = e.tags || [], e.status && (e.params = { status: e.status }), e.url && (e.params = { url: e.url }), e.period && (e.params.period = e.period), e.category && (e.params.category = e.category), e.organization && (e.params.organization = e.organization), e.date && (e.params.date = e.date), e.participant && (e.params.participant = e.participant), e.owner && (e.params.owner = e.owner), e.creator && (e.params.creator = e.creator), e.user && (e.params.user = e.user), e.sortOrder && (e.params.sortOrder = e.sortOrder), e.sortParam && (e.params.sortParam = e.sortParam), e.params.skip = e.skip || 0, e.params.limit = e.limit || 10;
|
167
|
+
try {
|
168
|
+
console.log("Request params:" + e.params);
|
169
|
+
const t = await $.get("/api/events/read", { params: e.params });
|
170
|
+
return console.log(e.params), e.url ? w(t.data, "current") : w(t.data, "all"), Promise.resolve(t.data);
|
171
|
+
} catch (t) {
|
172
|
+
return S(t), Promise.reject(t);
|
173
|
+
}
|
174
|
+
}
|
175
|
+
async function fe(e) {
|
176
|
+
return $.post("/api/events/create", e).then(
|
177
|
+
(t) => (w(t.data, "current"), Promise.resolve(t.data)),
|
178
|
+
(t) => (S(t), Promise.reject(t))
|
179
|
+
);
|
180
|
+
}
|
181
|
+
async function ge(e) {
|
182
|
+
return $.post("/api/events/update", e).then(
|
183
|
+
(t) => (w(t.data, "current"), Promise.resolve(t.data)),
|
184
|
+
(t) => (S(t), Promise.reject(t))
|
185
|
+
);
|
186
|
+
}
|
187
|
+
async function he(e) {
|
188
|
+
return await $.delete(`/api/events/delete/${e}`).then(
|
189
|
+
(t) => {
|
190
|
+
const l = y.all.findIndex((i) => i._id === e);
|
191
|
+
return l !== -1 && y.all.splice(l, 1), Promise.resolve(t.data);
|
192
|
+
},
|
193
|
+
(t) => (S(t), Promise.reject(t))
|
194
|
+
);
|
195
|
+
}
|
196
|
+
function w(e, t) {
|
197
|
+
y[t] = e;
|
198
|
+
}
|
199
|
+
function ve() {
|
200
|
+
y.current = {
|
201
|
+
_id: "",
|
202
|
+
cover: "",
|
203
|
+
url: "",
|
204
|
+
status: "",
|
205
|
+
name: "",
|
206
|
+
tags: [],
|
207
|
+
date: {
|
208
|
+
start: null,
|
209
|
+
false: null
|
210
|
+
},
|
211
|
+
views: 0,
|
212
|
+
content: []
|
213
|
+
};
|
214
|
+
}
|
215
|
+
L(y, (e, t) => {
|
216
|
+
});
|
217
|
+
const Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
218
|
+
__proto__: null,
|
219
|
+
clean: ve,
|
220
|
+
create: fe,
|
221
|
+
read: z,
|
222
|
+
remove: he,
|
223
|
+
set: w,
|
224
|
+
state: y,
|
225
|
+
update: ge
|
226
|
+
}, Symbol.toStringTag, { value: "Module" })), ye = { class: "feed" }, Se = {
|
227
|
+
__name: "Feed",
|
228
|
+
props: {
|
229
|
+
category: {
|
230
|
+
type: String,
|
231
|
+
default: null
|
232
|
+
},
|
233
|
+
selectedDate: {
|
234
|
+
type: String,
|
235
|
+
default: null
|
236
|
+
},
|
237
|
+
organization: {
|
238
|
+
type: String,
|
239
|
+
default: null
|
240
|
+
},
|
241
|
+
owner: {
|
242
|
+
type: String,
|
243
|
+
default: null
|
244
|
+
},
|
245
|
+
creator: {
|
246
|
+
type: String,
|
247
|
+
default: null
|
248
|
+
},
|
249
|
+
user: {
|
250
|
+
type: [String, Number],
|
251
|
+
default: null
|
252
|
+
},
|
253
|
+
sortOrder: {
|
254
|
+
type: String,
|
255
|
+
default: "desc"
|
256
|
+
},
|
257
|
+
participant: {
|
258
|
+
type: String,
|
259
|
+
default: null
|
260
|
+
},
|
261
|
+
period: {
|
262
|
+
type: String,
|
263
|
+
default: null
|
264
|
+
},
|
265
|
+
status: {
|
266
|
+
type: String,
|
267
|
+
default: null
|
268
|
+
}
|
269
|
+
},
|
270
|
+
setup(e) {
|
271
|
+
const t = e, l = h([]), i = h(!1), u = h(!0), p = h(0), a = h(20), d = async () => {
|
272
|
+
if (i.value) {
|
273
|
+
p.value += a.value;
|
274
|
+
const s = await z({
|
275
|
+
skip: p.value,
|
276
|
+
limit: a.value,
|
277
|
+
category: t.category,
|
278
|
+
sortOrder: t.sortOrder,
|
279
|
+
participant: t.participant,
|
280
|
+
creator: t.creator,
|
281
|
+
user: t.user,
|
282
|
+
date: t.selectedDate,
|
283
|
+
owner: t.owner,
|
284
|
+
organization: t.organization,
|
285
|
+
period: t.period,
|
286
|
+
status: t.status
|
287
|
+
});
|
288
|
+
s.length === 0 ? i.value = !1 : i.value = !0, l.value = [...l.value, ...s];
|
289
|
+
}
|
290
|
+
};
|
291
|
+
return j(async () => {
|
292
|
+
u.value = !0, console.log(t.selectedDate);
|
293
|
+
const s = await z({
|
294
|
+
skip: p.value,
|
295
|
+
limit: a.value,
|
296
|
+
category: t.category,
|
297
|
+
participant: t.participant,
|
298
|
+
sortOrder: t.sortOrder,
|
299
|
+
user: t.user,
|
300
|
+
owner: t.owner,
|
301
|
+
creator: t.creator,
|
302
|
+
date: t.selectedDate,
|
303
|
+
organization: t.organization,
|
304
|
+
period: t.period,
|
305
|
+
status: t.status
|
306
|
+
});
|
307
|
+
s.length === 0 ? i.value = !1 : i.value = !0, l.value = s, u.value = !1;
|
308
|
+
}), (s, U) => (r(), n("section", ye, [
|
309
|
+
C(O, {
|
310
|
+
tag: "ul",
|
311
|
+
name: "fade",
|
312
|
+
class: "o-hidden bg-grey radius-big"
|
313
|
+
}, {
|
314
|
+
default: P(() => [
|
315
|
+
u.value ? (r(!0), n(_, { key: 0 }, M(a.value, (o) => (r(), T(me, { key: o }))), 128)) : c("", !0)
|
316
|
+
]),
|
317
|
+
_: 1
|
318
|
+
}),
|
319
|
+
C(R, { name: "fade" }, {
|
320
|
+
default: P(() => [
|
321
|
+
!u.value && l.value.length < 1 ? (r(), T(V, {
|
322
|
+
key: 0,
|
323
|
+
title: "No Events Found",
|
324
|
+
description: "Currently, there are no events available. Please check back later.",
|
325
|
+
class: "pd-medium mn-thin bg-grey radius-big"
|
326
|
+
})) : c("", !0)
|
327
|
+
]),
|
328
|
+
_: 1
|
329
|
+
}),
|
330
|
+
C(O, {
|
331
|
+
tag: "ul",
|
332
|
+
name: "fade",
|
333
|
+
class: "container"
|
334
|
+
}, {
|
335
|
+
default: P(() => [
|
336
|
+
!u.value && l.value.length > 0 ? (r(!0), n(_, { key: 0 }, M(l.value, (o, b) => (r(), T(le, {
|
337
|
+
onClick: (x) => s.$router.push({ name: "Event", params: { url: o.url } }),
|
338
|
+
key: o._id,
|
339
|
+
event: o,
|
340
|
+
owner: e.user,
|
341
|
+
type: "normal",
|
342
|
+
class: v(["bg-grey radius-big mn-medium", {
|
343
|
+
"br-b br-solid br-black-transp-10": b !== l.value.length - 1
|
344
|
+
}])
|
345
|
+
}, null, 8, ["onClick", "event", "owner", "class"]))), 128)) : c("", !0),
|
346
|
+
i.value && l.value.length > 0 ? (r(), n("button", {
|
347
|
+
key: 1,
|
348
|
+
onClick: d,
|
349
|
+
class: "w-100 bg-main button"
|
350
|
+
}, "Load more")) : c("", !0)
|
351
|
+
]),
|
352
|
+
_: 1
|
353
|
+
})
|
354
|
+
]));
|
355
|
+
}
|
356
|
+
};
|
357
|
+
export {
|
358
|
+
me as S,
|
359
|
+
Se as _,
|
360
|
+
le as a,
|
361
|
+
fe as b,
|
362
|
+
ve as c,
|
363
|
+
Te as e,
|
364
|
+
z as r,
|
365
|
+
y as s,
|
366
|
+
ge as u
|
367
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const e=require("vue"),N=require("./EmptyState-7658d7d6.js"),T=require("./CardHeader-0677d446.js"),b=require("./auth-2bc18d1e.js"),D=require("vue-router"),v=require("./globals-928eb13c.js"),V={class:"flex-v-center flex-nowrap flex"},$={key:1,class:"pd-thin radius-small t-semi bg-white"},U={__name:"Chips",props:["chips"],setup(t){return(r,s)=>(e.openBlock(),e.createElementBlock("div",V,[t.chips.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.chips,(l,c)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["pd-thin radius-small t-semi bg-main",{"mn-r-thin":c!==t.chips.length-1}])},e.toDisplayString(l.text?l.text:l),3))),256)):(e.openBlock(),e.createElementBlock("div",$,e.toDisplayString(t.chips),1))]))}},z={key:0,class:"o-hidden bg-grey mn-small w-100"},P=["src"],_=["src"],M={class:"w-max mn-r-thin pd-thin radius-small t-semi bg-main"},F={key:0,class:"t-semi"},O={class:"t-semi"},I={key:0,class:"t-semi uppercase"},L={key:0,class:"cursor-pointer mn-thin flex-nowrap flex w-100"},q={key:0,class:""},j={key:1,class:"pd-micro t-white uppercase t-semi p-small flex-center flex pd-r-small pd-l-small mn-l-thin w-min bg-second radius-extra"},R={key:1,class:"mn-small p-big"},C={__name:"CardEvent",props:["event","user","short","type"],setup(t){const r=t;e.ref(new Date),D.useRouter(),e.computed(()=>r.event.content.find(a=>a.type.name==="ImageUpload")),e.computed(()=>r.event.content.find(a=>a.type.name==="Textarea"));const s=e.computed(()=>{const a=new Date,o=Date.UTC(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate(),a.getUTCHours(),a.getUTCMinutes(),a.getUTCSeconds()),n=new Date(r.event.date.start),i=Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds())-o;if(i<0)return"Finished";if(i===0)return"Starting Now";{const f=Math.floor(i/1e3),g=Math.floor(f/60),k=Math.floor(g/60),w=Math.floor(k/24);return w>0?`${w} days until event`:k>0?`${k} hours until event`:g>0?`${g} minutes until event`:`${f} seconds until event`}}),l=e.computed(()=>{const a=new Date(r.event.date.start),o={day:"2-digit",month:"2-digit"};return a.toLocaleDateString(void 0,o)}),c=e.computed(()=>{const a=new Date(r.event.date.start),o=new Date(r.event.date.end),n=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(a),p=new Intl.DateTimeFormat(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"}).format(o);return`${n}-${p}`}),d=e.computed(()=>{const a=r.event.name;return a.length>26?`${a.substring(0,22)}…`:a});return(a,o)=>(e.openBlock(),e.createElementBlock("article",{class:e.normalizeClass({"flex-nowrap flex-v-center flex":t.type==="short"})},[e.createVNode(T._sfc_main,{class:e.normalizeClass({"mn-small pd-medium":t.type!=="short","flex-child-order-last flex-child mn-l-small":t.type==="short"}),owner:t.event.owner,creator:t.event.creator,members:t.event.numberOfTickets,membersPhotos:t.event.participantsPhotos,type:t.type,dateFormatted:e.unref(s)},null,8,["class","owner","creator","members","membersPhotos","type","dateFormatted"]),t.event.cover&&t.type!=="short"?(e.openBlock(),e.createElementBlock("div",z,[e.createElementVNode("img",{src:t.event.cover,alt:"Event image",class:"z-index-1 d-block mn-auto h-20r"},null,8,P),e.createElementVNode("img",{src:t.event.cover,alt:"Event image",class:"z-index-0 pos-absolute w-100 h-100 pos-t-0 pos-r-0",style:{transform:"scale(1.5)",filter:"blur(2rem)","-webkit-filter":"blur(2rem)"}},null,8,_)])):e.createCommentVNode("",!0),e.createElementVNode("section",{class:e.normalizeClass(["w-100",{"pd-t-zero pd-medium":t.type!=="short"}])},[e.createElementVNode("div",{class:e.normalizeClass([{"mn-small":t.type!=="short"},"flex-v-center flex-nowrap flex"])},[e.createElementVNode("div",M,[t.type!=="short"?(e.openBlock(),e.createElementBlock("span",F,e.toDisplayString(e.unref(l))+" | ",1)):e.createCommentVNode("",!0),e.createElementVNode("span",O,e.toDisplayString(e.unref(c)),1)]),t.type==="short"?(e.openBlock(),e.createElementBlock("span",I,e.toDisplayString(e.unref(d)),1)):e.createCommentVNode("",!0)],2),t.type!=="short"?(e.openBlock(),e.createElementBlock("div",L,[t.type!=="short"?(e.openBlock(),e.createElementBlock("h3",q,e.toDisplayString(t.event.name),1)):e.createCommentVNode("",!0),t.event.status==="draft"?(e.openBlock(),e.createElementBlock("div",j,e.toDisplayString(t.event.status),1)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.type!=="short"?(e.openBlock(),e.createElementBlock("p",R,e.toDisplayString(t.event.description),1)):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"default"),t.type!=="short"&&t.event.tags.length>0?(e.openBlock(),e.createBlock(U,{key:2,chips:t.event.tags},null,8,["chips"])):e.createCommentVNode("",!0)],2)],2))}},H={},G={width:"100%",height:"20rem",xmlns:"http://www.w3.org/2000/svg"},Y=e.createStaticVNode('<rect x="0" y="0" rx="5" ry="5" width="100%" height="100%" fill="rgb(var(--grey))"></rect><rect x="15" y="15" rx="4" ry="4" width="40%" height="20" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="45" rx="5" ry="5" width="70%" height="50" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="110" rx="3" ry="3" width="90%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="15" y="130" rx="3" ry="3" width="70%" height="6" fill="rgba(var(--black),0.05)"></rect><rect x="-25%" y="0" width="25%" height="100%" fill="#fff" mask="url(#myMask)" opacity="0.3"><animate attributeName="x" from="-25%" to="100%" dur="2s" repeatCount="indefinite"></animate></rect>',6),A=[Y];function J(t,r){return e.openBlock(),e.createElementBlock("svg",G,A)}const x=b._export_sfc(H,[["render",J]]),y=b.axios.create({baseURL:process.env.API_URL,withCredentials:!0}),u=e.reactive({all:[],filter:{tags:[],period:"",date:null},pagination:{page:1,perPage:18},sort:{current:"popularity",ascending:!1},current:{_id:"",cover:"",url:"",status:"",name:"",tags:[],date:{start:null,false:null},views:0,content:[]}});async function h(t={}){t.params=t.params||{},t.params.skip=t.skip||0,t.params.limit=t.limit||9,t.params.tags=t.tags||[],t.status&&(t.params={status:t.status}),t.url&&(t.params={url:t.url}),t.period&&(t.params.period=t.period),t.category&&(t.params.category=t.category),t.organization&&(t.params.organization=t.organization),t.date&&(t.params.date=t.date),t.participant&&(t.params.participant=t.participant),t.owner&&(t.params.owner=t.owner),t.creator&&(t.params.creator=t.creator),t.user&&(t.params.user=t.user),t.sortOrder&&(t.params.sortOrder=t.sortOrder),t.sortParam&&(t.params.sortParam=t.sortParam),t.params.skip=t.skip||0,t.params.limit=t.limit||10;try{console.log("Request params:"+t.params);const r=await y.get("/api/events/read",{params:t.params});return console.log(t.params),t.url?m(r.data,"current"):m(r.data,"all"),Promise.resolve(r.data)}catch(r){return v.setError(r),Promise.reject(r)}}async function B(t){return y.post("/api/events/create",t).then(r=>(m(r.data,"current"),Promise.resolve(r.data)),r=>(v.setError(r),Promise.reject(r)))}async function E(t){return y.post("/api/events/update",t).then(r=>(m(r.data,"current"),Promise.resolve(r.data)),r=>(v.setError(r),Promise.reject(r)))}async function K(t){return await y.delete(`/api/events/delete/${t}`).then(r=>{const s=u.all.findIndex(l=>l._id===t);return s!==-1&&u.all.splice(s,1),Promise.resolve(r.data)},r=>(v.setError(r),Promise.reject(r)))}function m(t,r){u[r]=t}function S(){u.current={_id:"",cover:"",url:"",status:"",name:"",tags:[],date:{start:null,false:null},views:0,content:[]}}e.watch(u,(t,r)=>{});const Q=Object.freeze(Object.defineProperty({__proto__:null,clean:S,create:B,read:h,remove:K,set:m,state:u,update:E},Symbol.toStringTag,{value:"Module"})),W={class:"feed"},X={__name:"Feed",props:{category:{type:String,default:null},selectedDate:{type:String,default:null},organization:{type:String,default:null},owner:{type:String,default:null},creator:{type:String,default:null},user:{type:[String,Number],default:null},sortOrder:{type:String,default:"desc"},participant:{type:String,default:null},period:{type:String,default:null},status:{type:String,default:null}},setup(t){const r=t,s=e.ref([]),l=e.ref(!1),c=e.ref(!0),d=e.ref(0),a=e.ref(20),o=async()=>{if(l.value){d.value+=a.value;const n=await h({skip:d.value,limit:a.value,category:r.category,sortOrder:r.sortOrder,participant:r.participant,creator:r.creator,user:r.user,date:r.selectedDate,owner:r.owner,organization:r.organization,period:r.period,status:r.status});n.length===0?l.value=!1:l.value=!0,s.value=[...s.value,...n]}};return e.onMounted(async()=>{c.value=!0,console.log(r.selectedDate);const n=await h({skip:d.value,limit:a.value,category:r.category,participant:r.participant,sortOrder:r.sortOrder,user:r.user,owner:r.owner,creator:r.creator,date:r.selectedDate,organization:r.organization,period:r.period,status:r.status});n.length===0?l.value=!1:l.value=!0,s.value=n,c.value=!1}),(n,p)=>(e.openBlock(),e.createElementBlock("section",W,[e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"o-hidden bg-grey radius-big"},{default:e.withCtx(()=>[c.value?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.value,i=>(e.openBlock(),e.createBlock(x,{key:i}))),128)):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx(()=>[!c.value&&s.value.length<1?(e.openBlock(),e.createBlock(N._sfc_main,{key:0,title:"No Events Found",description:"Currently, there are no events available. Please check back later.",class:"pd-medium mn-thin bg-grey radius-big"})):e.createCommentVNode("",!0)]),_:1}),e.createVNode(e.TransitionGroup,{tag:"ul",name:"fade",class:"container"},{default:e.withCtx(()=>[!c.value&&s.value.length>0?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(s.value,(i,f)=>(e.openBlock(),e.createBlock(C,{onClick:g=>n.$router.push({name:"Event",params:{url:i.url}}),key:i._id,event:i,owner:t.user,type:"normal",class:e.normalizeClass(["bg-grey radius-big mn-medium",{"br-b br-solid br-black-transp-10":f!==s.value.length-1}])},null,8,["onClick","event","owner","class"]))),128)):e.createCommentVNode("",!0),l.value&&s.value.length>0?(e.openBlock(),e.createElementBlock("button",{key:1,onClick:o,class:"w-100 bg-main button"},"Load more")):e.createCommentVNode("",!0)]),_:1})]))}};exports.SkeletonEvent=x;exports._sfc_main=X;exports._sfc_main$1=C;exports.clean=S;exports.create=B;exports.events=Q;exports.read=h;exports.state=u;exports.update=E;
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";const e=require("vue"),c=require("./auth-2bc18d1e.js"),i={},_={width:"40",height:"33",viewBox:"0 0 40 33",fill:"none",xmlns:"http://www.w3.org/2000/svg"},a=e.createElementVNode("path",{d:"M9.75391 18.7989L14.1454 30.9541C14.1454 30.9541 14.6945 32.0914 15.2824 32.0914C15.8704 32.0914 24.6149 22.9943 24.6149 22.9943L34.3391 4.21216L9.9106 15.6613L9.75391 18.7989Z",fill:"#C8DAEA"},null,-1),d=e.createElementVNode("path",{d:"M15.5785 21.916L14.7355 30.8755C14.7355 30.8755 14.3826 33.6208 17.1273 30.8755C19.8719 28.1302 22.4991 26.0133 22.4991 26.0133",fill:"#A9C6D8"},null,-1),h=e.createElementVNode("path",{d:"M9.8345 19.2327L0.800944 16.2894C0.800944 16.2894 -0.278665 15.8514 0.0689689 14.8581C0.140532 14.6533 0.28489 14.479 0.716734 14.1795C2.71833 12.7844 37.7646 0.18778 37.7646 0.18778C37.7646 0.18778 38.7541 -0.145665 39.3377 0.0761175C39.4821 0.120809 39.612 0.20305 39.7142 0.314426C39.8164 0.425801 39.8871 0.562314 39.9192 0.710002C39.9823 0.970857 40.0086 1.23923 39.9975 1.50737C39.9948 1.73933 39.9667 1.95433 39.9454 2.29148C39.732 5.73543 33.3444 31.4388 33.3444 31.4388C33.3444 31.4388 32.9622 32.9428 31.5929 32.9943C31.2564 33.0052 30.9212 32.9482 30.6072 32.8267C30.2932 32.7053 30.0069 32.5218 29.7653 32.2873C27.0783 29.976 17.7912 23.7347 15.739 22.362C15.6927 22.3305 15.6538 22.2894 15.6247 22.2415C15.5957 22.1936 15.5772 22.14 15.5706 22.0844C15.5419 21.9397 15.6992 21.7605 15.6992 21.7605C15.6992 21.7605 31.8706 7.38631 32.3009 5.87732C32.3342 5.76041 32.2083 5.70273 32.0393 5.75394C30.9652 6.14908 12.346 17.9073 10.291 19.2049C10.1431 19.2497 9.98675 19.2592 9.8345 19.2327V19.2327Z",fill:"white"},null,-1),m=[a,d,h];function f(n,t){return e.openBlock(),e.createElementBlock("svg",_,m)}const w=c._export_sfc(i,[["render",f]]),p={},u={fill:"none",height:"40",viewBox:"0 0 40 40",width:"40",xmlns:"http://www.w3.org/2000/svg"},g=e.createElementVNode("path",{d:"m20 0c-11.046 0-20 9.0085-20 20.1217 0 10.0428 7.314 18.3672 16.876 19.8783v-14.0631h-5.08v-5.8152h5.08v-4.4328c0-5.0425 2.984-7.82734 7.554-7.82734 2.188 0 4.476.39238 4.476.39238v4.94996h-2.52c-2.486 0-3.26 1.5514-3.26 3.143v3.7748h5.546l-.886 5.8152h-4.66v14.0631c9.56-1.5091 16.874-9.8375 16.874-19.8783 0-11.1132-8.954-20.1217-20-20.1217z",fill:"#fff"},null,-1),x=[g];function v(n,t){return e.openBlock(),e.createElementBlock("svg",u,x)}const $=c._export_sfc(p,[["render",v]]),k={},V={width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b=e.createElementVNode("path",{d:"M20.0019 0C14.5702 0 13.8885 0.0237504 11.7551 0.120834C9.62593 0.218334 8.17259 0.555417 6.90091 1.05C5.58547 1.56083 4.46963 2.24417 3.35795 3.35625C2.24544 4.46792 1.5621 5.58375 1.04959 6.89875C0.553755 8.17083 0.216252 9.62458 0.120418 11.7529C0.0250001 13.8862 0 14.5683 0 20C0 25.4317 0.0241673 26.1113 0.120835 28.2446C0.218753 30.3738 0.555839 31.8271 1.05001 33.0987C1.56127 34.4142 2.24461 35.53 3.3567 36.6417C4.46796 37.7542 5.58381 38.4392 6.89841 38.95C8.17092 39.4446 9.62468 39.7817 11.7535 39.8792C13.8868 39.9762 14.5681 40 19.9994 40C25.4315 40 26.1111 39.9762 28.2445 39.8792C30.3737 39.7817 31.8287 39.4446 33.1012 38.95C34.4162 38.4392 35.5304 37.7542 36.6416 36.6417C37.7541 35.53 38.4375 34.4142 38.95 33.0992C39.4417 31.8271 39.7792 30.3733 39.8792 28.245C39.975 26.1117 40 25.4317 40 20C40 14.5683 39.975 13.8867 39.8792 11.7533C39.7792 9.62417 39.4417 8.17083 38.95 6.89917C38.4375 5.58375 37.7541 4.46792 36.6416 3.35625C35.5291 2.24375 34.4166 1.56042 33.0999 1.05C31.8249 0.555417 30.3707 0.218334 28.2415 0.120834C26.1082 0.0237504 25.429 0 19.9956 0H20.0019ZM18.2077 3.60417C18.7402 3.60333 19.3344 3.60417 20.0019 3.60417C25.3419 3.60417 25.9749 3.62333 28.0836 3.71917C30.0336 3.80833 31.092 4.13417 31.797 4.40792C32.7303 4.77042 33.3958 5.20375 34.0954 5.90375C34.7954 6.60375 35.2287 7.27042 35.592 8.20375C35.8658 8.90792 36.192 9.96625 36.2808 11.9162C36.3766 14.0246 36.3975 14.6579 36.3975 19.9954C36.3975 25.3329 36.3766 25.9662 36.2808 28.0746C36.1916 30.0246 35.8658 31.0829 35.592 31.7871C35.2295 32.7204 34.7954 33.385 34.0954 34.0846C33.3953 34.7846 32.7308 35.2179 31.797 35.5804C31.0928 35.8554 30.0336 36.1804 28.0836 36.2696C25.9753 36.3654 25.3419 36.3863 20.0019 36.3863C14.6614 36.3863 14.0285 36.3654 11.9201 36.2696C9.9701 36.1796 8.91176 35.8537 8.20634 35.58C7.27299 35.2175 6.60632 34.7842 5.90631 34.0842C5.2063 33.3842 4.77297 32.7192 4.40963 31.7854C4.13588 31.0813 3.80962 30.0229 3.72087 28.0729C3.62504 25.9646 3.60587 25.3312 3.60587 19.9904C3.60587 14.6496 3.62504 14.0196 3.72087 11.9113C3.81004 9.96125 4.13588 8.90292 4.40963 8.19792C4.77213 7.26458 5.2063 6.59792 5.90631 5.89792C6.60632 5.19792 7.27299 4.76458 8.20634 4.40125C8.91134 4.12625 9.9701 3.80125 11.9201 3.71167C13.7651 3.62833 14.4802 3.60333 18.2077 3.59917V3.60417ZM30.6778 6.925C29.3528 6.925 28.2778 7.99875 28.2778 9.32417C28.2778 10.6492 29.3528 11.7242 30.6778 11.7242C32.0028 11.7242 33.0778 10.6492 33.0778 9.32417C33.0778 7.99917 32.0028 6.92417 30.6778 6.92417V6.925ZM20.0019 9.72917C14.3297 9.72917 9.73093 14.3279 9.73093 20C9.73093 25.6721 14.3297 30.2687 20.0019 30.2687C25.674 30.2687 30.2711 25.6721 30.2711 20C30.2711 14.3279 25.6736 9.72917 20.0015 9.72917H20.0019ZM20.0019 13.3333C23.6836 13.3333 26.6686 16.3179 26.6686 20C26.6686 23.6817 23.6836 26.6667 20.0019 26.6667C16.3198 26.6667 13.3351 23.6817 13.3351 20C13.3351 16.3179 16.3198 13.3333 20.0019 13.3333V13.3333Z",fill:"white"},null,-1),B=[b];function L(n,t){return e.openBlock(),e.createElementBlock("svg",V,B)}const E=c._export_sfc(k,[["render",L]]),M={},Z={width:"40",height:"33",viewBox:"0 0 40 33",fill:"none",xmlns:"http://www.w3.org/2000/svg"},H=e.createElementVNode("path",{d:"M35.9049 8.17058C35.9293 8.52666 35.9293 8.88274 35.9293 9.2421C35.9293 20.192 27.6742 32.8205 12.5793 32.8205V32.814C8.12025 32.8205 3.75381 31.5307 0 29.0989C0.648385 29.1777 1.30002 29.217 1.95328 29.2187C5.64859 29.222 9.23827 27.9699 12.1454 25.6645C8.63376 25.5972 5.55434 23.2851 4.47857 19.9097C5.70871 20.1493 6.97623 20.1001 8.18363 19.767C4.35507 18.9859 1.60065 15.5892 1.60065 11.6444V11.5394C2.74142 12.181 4.01869 12.5371 5.32521 12.5765C1.71928 10.143 0.607759 5.29897 2.78529 1.51172C6.95186 6.68883 13.0993 9.83612 19.6986 10.1692C19.0372 7.29105 19.9407 4.27503 22.0727 2.25178C25.378 -0.885667 30.5765 -0.724857 33.6835 2.61114C35.5214 2.24521 37.283 1.56423 38.895 0.599367C38.2823 2.51761 37.0002 4.14704 35.2874 5.18246C36.9141 4.98883 38.5034 4.54907 40 3.87793C38.8982 5.54511 37.5105 6.99732 35.9049 8.17058Z",fill:"white"},null,-1),I=[H];function N(n,t){return e.openBlock(),e.createElementBlock("svg",Z,I)}const y=c._export_sfc(M,[["render",N]]),S={},z={width:"40",height:"36",viewBox:"0 0 40 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},D=e.createElementVNode("path",{d:"M40 17.9021C40 15.4963 38.0287 13.5858 35.6272 13.5858C34.4444 13.5858 33.3692 14.0457 32.5806 14.7887C29.5699 12.6659 25.448 11.2861 20.8602 11.1092L22.8674 1.83974L29.3907 3.21955C29.4624 4.84701 30.8244 6.15605 32.509 6.15605C34.2294 6.15605 35.6272 4.77625 35.6272 3.07803C35.6272 1.37981 34.2294 0 32.509 0C31.2903 0 30.2151 0.707593 29.7133 1.7336L22.4373 0.21228C22.2222 0.1769 22.0072 0.212278 21.8638 0.318417C21.6846 0.424556 21.5771 0.601454 21.5412 0.813732L19.319 11.1446C14.6595 11.2861 10.466 12.6659 7.41936 14.8241C6.63083 14.0811 5.55556 13.6211 4.37276 13.6211C1.93549 13.6211 0 15.567 0 17.9375C0 19.7064 1.07527 21.1924 2.58065 21.8646C2.50896 22.2892 2.47312 22.7137 2.47312 23.1736C2.47312 29.825 10.3226 35.2381 20 35.2381C29.6774 35.2381 37.5269 29.8604 37.5269 23.1736C37.5269 22.7491 37.491 22.2892 37.4194 21.8646C38.9247 21.1924 40 19.6711 40 17.9021V17.9021ZM9.96416 20.9801C9.96416 19.2819 11.362 17.9021 13.0824 17.9021C14.8029 17.9021 16.2007 19.2819 16.2007 20.9801C16.2007 22.6783 14.8029 24.0581 13.0824 24.0581C11.362 24.0935 9.96416 22.6783 9.96416 20.9801V20.9801ZM27.4194 29.1528C25.2688 31.2756 21.1828 31.4171 20 31.4171C18.7814 31.4171 14.6953 31.2402 12.5806 29.1528C12.2581 28.8344 12.2581 28.3391 12.5806 28.0206C12.9032 27.7022 13.405 27.7022 13.7276 28.0206C15.0896 29.3651 17.957 29.825 20 29.825C22.043 29.825 24.9462 29.3651 26.2724 28.0206C26.595 27.7022 27.0968 27.7022 27.4194 28.0206C27.7061 28.3391 27.7061 28.8344 27.4194 29.1528ZM26.8459 24.0935C25.1254 24.0935 23.7276 22.7137 23.7276 21.0155C23.7276 19.3173 25.1254 17.9375 26.8459 17.9375C28.5663 17.9375 29.9642 19.3173 29.9642 21.0155C29.9642 22.6783 28.5663 24.0935 26.8459 24.0935Z",fill:"white"},null,-1),A=[D];function q(n,t){return e.openBlock(),e.createElementBlock("svg",z,A)}const F=c._export_sfc(S,[["render",q]]),T={},R={width:"67",height:"64",viewBox:"0 0 67 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"},j=e.createElementVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M66.2237 27.2403C66.2237 12.4467 51.4301 0.287598 33.1914 0.287598C14.9528 0.287598 0.15918 12.4467 0.15918 27.2403C0.15918 40.4127 11.913 51.5585 27.7198 53.585C31.5702 54.3956 31.1649 55.8142 30.3543 61.0832C30.1517 61.8938 29.5437 64.3256 33.1914 62.907C36.6365 61.4885 52.2407 51.7612 59.1309 43.6551C63.9945 38.3861 66.2237 33.1172 66.2237 27.2403ZM43.1214 35.1437V20.7554C43.1214 20.3501 42.7161 19.9448 42.3108 20.1475H40.0816C39.6763 20.1475 39.4736 20.3501 39.4736 20.7554V29.2668L32.7861 20.3501C32.7861 20.1475 32.5835 20.1475 32.3808 20.1475H29.949C29.5437 20.1475 29.341 20.3501 29.341 20.7554V35.1437C29.341 35.549 29.5437 35.7517 29.949 35.7517H32.3808C32.5835 35.7517 32.9888 35.549 32.9888 35.1437V26.6323L39.4736 35.549C39.575 35.549 39.6763 35.5997 39.7776 35.6503C39.8789 35.701 39.9803 35.7517 40.0816 35.7517H42.3108C42.7161 35.7517 43.1214 35.549 43.1214 35.1437ZM27.1119 20.7554C27.1119 20.3501 26.7066 19.9448 26.5039 19.9448H24.0721C23.6668 19.9448 23.4641 20.3501 23.4641 20.7554V35.1437C23.4641 35.549 23.6668 35.7517 24.0721 35.7517H26.5039C26.7066 35.7517 27.1119 35.549 27.1119 35.1437V20.7554ZM21.4376 32.7119C21.4376 32.5092 21.235 32.1039 20.8297 32.1039H14.5475V20.7554C14.5475 20.3501 14.3448 19.9448 13.9395 19.9448H11.5077C11.305 19.9448 10.8997 20.3501 10.8997 20.7554V35.1437C10.8997 35.245 10.9504 35.2957 11.0011 35.3464C11.0517 35.397 11.1024 35.4477 11.1024 35.549C11.2037 35.549 11.2544 35.5997 11.305 35.6503C11.3557 35.701 11.4064 35.7517 11.5077 35.7517H20.8297C21.235 35.7517 21.4376 35.3464 21.4376 35.1437V32.7119ZM55.8884 20.7554C55.8884 20.3501 55.4831 19.9448 55.2805 19.9448H45.9585C45.5532 19.9448 45.3505 20.3501 45.3505 20.7554V35.1437C45.3505 35.3464 45.5532 35.7517 45.9585 35.7517H55.2805C55.4831 35.7517 55.8884 35.549 55.8884 35.1437V32.7119C55.8884 32.5092 55.4831 32.1039 55.2805 32.1039H48.9983V29.6721H55.2805C55.4831 29.6721 55.8884 29.4695 55.8884 29.0642V26.6323C55.8884 26.4297 55.4831 26.0244 55.2805 26.0244H48.9983V23.5926H55.2805C55.4831 23.5926 55.8884 23.3899 55.8884 22.9846V20.7554Z",fill:"white"},null,-1),G=[j];function J(n,t){return e.openBlock(),e.createElementBlock("svg",R,G)}const K=c._export_sfc(T,[["render",J]]),O={},P={fill:"none",height:"40",viewBox:"0 0 40 40",width:"40",xmlns:"http://www.w3.org/2000/svg"},Q=e.createElementVNode("path",{d:"m35.7603 19.144c-.1629-3.1482-1.2512-6.1768-3.1269-8.702-.5715.6193-1.1824 1.2005-1.8289 1.74-1.9861 1.6597-4.2054 3.0144-6.5859 4.02.332.7.6361 1.378.9045 2.018v.006c.0757.1788.1486.3588.2186.54 3.0097-.34 6.1824-.216 9.2577.202.4095.056.7952.116 1.1609.176zm-18.6564-14.9c1.9373 2.74635 3.7238 5.59727 5.3514 8.54 2.4312-.964 4.441-2.18 6.0591-3.534.5617-.46574 1.0905-.97029 1.5824-1.51-2.8606-2.42057-6.4799-3.74534-10.2178-3.74-.9303-.00064-1.8588.08033-2.7751.242zm-12.62516 11.75c1.35421-.0344 2.70681-.1164 4.05531-.246 3.25945-.2933 6.49105-.843 9.66515-1.644-1.6589-2.8996-3.4499-5.72058-5.3673-8.454-2.0481 1.02079-3.85403 2.47282-5.29529 4.25758-1.44125 1.78472-2.48412 3.86052-3.05787 6.08642zm3.04149 14.076c.7713-1.134 1.78513-2.41 3.13097-3.798 2.8904-2.98 6.3016-5.3 10.2496-6.58l.1232-.036c-.328-.728-.6361-1.378-.9462-1.99-3.6498 1.07-7.4944 1.738-11.32508 2.084-1.86862.17-3.54442.244-4.77692.256-.00352 3.6652 1.24899 7.2195 3.54641 10.064zm18.33237 4.76c-.7666-3.8895-1.8517-7.7085-3.2442-11.418-3.9798 1.454-7.1505 3.58-9.6016 6.116-.9891 1.0048-1.867 2.1146-2.618 3.31 2.7409 2.0576 6.0704 3.1669 9.4902 3.162 2.0474.003 4.0759-.393 5.9736-1.166zm3.7234-2.15c3.1036-2.4005 5.2179-5.8686 5.9378-9.74-.6759-.17-1.5326-.34-2.4749-.472-2.095-.3035-4.2207-.3257-6.3215-.066 1.1829 3.3577 2.138 6.7922 2.8586 10.28zm-9.697 7.32c-10.97917 0-19.879-8.954-19.879-20s8.89983-20 19.879-20c10.9792 0 19.879 8.954 19.879 20s-8.8998 20-19.879 20z",fill:"#fff"},null,-1),U=[Q];function W(n,t){return e.openBlock(),e.createElementBlock("svg",P,U)}const X=c._export_sfc(O,[["render",W]]),Y={class:"gap-small flex-nowrap flex"},e2=["href"],t2={__name:"Socials",props:{telegram:{type:String,default:""},facebook:{type:String,default:""},instagram:{type:String,default:""},twitter:{type:String,default:""},reddit:{type:String,default:""},line:{type:String,default:""},dribbble:{type:String,default:""}},setup(n){const t=n,r=e.computed(()=>[{name:"telegram",base:"https://t.me/"},{name:"facebook",base:"https://www.facebook.com/"},{name:"instagram",base:"https://www.instagram.com/"},{name:"twitter",base:"https://twitter.com/"},{name:"reddit",base:"https://www.reddit.com/user/"},{name:"line",base:""},{name:"dribbble",base:"https://dribbble.com/"}].filter(o=>t[o.name]).map(o=>({name:o.name,href:o.base+t[o.name]})));function l(C){return{telegram:w,facebook:$,instagram:E,twitter:y,reddit:F,line:K,dribbble:X}[C]||null}return(C,o)=>(e.openBlock(),e.createElementBlock("div",Y,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(r),s=>(e.openBlock(),e.createElementBlock("a",{key:s.name,href:s.href,target:"_blank",class:"i-big bg-second t-white flex-nowrap flex-center flex radius-extra"},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(l(s.name)),{class:"i-medium"}))],8,e2))),128))]))}},n2={},c2={width:"652",height:"652",viewBox:"0 0 652 652",fill:"none",xmlns:"http://www.w3.org/2000/svg"},o2=e.createElementVNode("path",{fill:"rgb(var(--black))",d:"M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z"},null,-1),C2=[o2];function s2(n,t){return e.openBlock(),e.createElementBlock("svg",c2,C2)}const r2=c._export_sfc(n2,[["render",s2]]);exports.IconEdit=r2;exports._sfc_main=t2;
|
@@ -0,0 +1,205 @@
|
|
1
|
+
import { openBlock as t, createElementBlock as e, createElementVNode as C, computed as a, Fragment as h, renderList as d, unref as f, createBlock as w, resolveDynamicComponent as m } from "vue";
|
2
|
+
import { _ as o } from "./auth-fefd15a3.mjs";
|
3
|
+
const g = {}, u = {
|
4
|
+
width: "40",
|
5
|
+
height: "33",
|
6
|
+
viewBox: "0 0 40 33",
|
7
|
+
fill: "none",
|
8
|
+
xmlns: "http://www.w3.org/2000/svg"
|
9
|
+
}, p = /* @__PURE__ */ C("path", {
|
10
|
+
d: "M9.75391 18.7989L14.1454 30.9541C14.1454 30.9541 14.6945 32.0914 15.2824 32.0914C15.8704 32.0914 24.6149 22.9943 24.6149 22.9943L34.3391 4.21216L9.9106 15.6613L9.75391 18.7989Z",
|
11
|
+
fill: "#C8DAEA"
|
12
|
+
}, null, -1), $ = /* @__PURE__ */ C("path", {
|
13
|
+
d: "M15.5785 21.916L14.7355 30.8755C14.7355 30.8755 14.3826 33.6208 17.1273 30.8755C19.8719 28.1302 22.4991 26.0133 22.4991 26.0133",
|
14
|
+
fill: "#A9C6D8"
|
15
|
+
}, null, -1), v = /* @__PURE__ */ C("path", {
|
16
|
+
d: "M9.8345 19.2327L0.800944 16.2894C0.800944 16.2894 -0.278665 15.8514 0.0689689 14.8581C0.140532 14.6533 0.28489 14.479 0.716734 14.1795C2.71833 12.7844 37.7646 0.18778 37.7646 0.18778C37.7646 0.18778 38.7541 -0.145665 39.3377 0.0761175C39.4821 0.120809 39.612 0.20305 39.7142 0.314426C39.8164 0.425801 39.8871 0.562314 39.9192 0.710002C39.9823 0.970857 40.0086 1.23923 39.9975 1.50737C39.9948 1.73933 39.9667 1.95433 39.9454 2.29148C39.732 5.73543 33.3444 31.4388 33.3444 31.4388C33.3444 31.4388 32.9622 32.9428 31.5929 32.9943C31.2564 33.0052 30.9212 32.9482 30.6072 32.8267C30.2932 32.7053 30.0069 32.5218 29.7653 32.2873C27.0783 29.976 17.7912 23.7347 15.739 22.362C15.6927 22.3305 15.6538 22.2894 15.6247 22.2415C15.5957 22.1936 15.5772 22.14 15.5706 22.0844C15.5419 21.9397 15.6992 21.7605 15.6992 21.7605C15.6992 21.7605 31.8706 7.38631 32.3009 5.87732C32.3342 5.76041 32.2083 5.70273 32.0393 5.75394C30.9652 6.14908 12.346 17.9073 10.291 19.2049C10.1431 19.2497 9.98675 19.2592 9.8345 19.2327V19.2327Z",
|
17
|
+
fill: "white"
|
18
|
+
}, null, -1), x = [
|
19
|
+
p,
|
20
|
+
$,
|
21
|
+
v
|
22
|
+
];
|
23
|
+
function b(s, n) {
|
24
|
+
return t(), e("svg", u, x);
|
25
|
+
}
|
26
|
+
const L = /* @__PURE__ */ o(g, [["render", b]]), V = {}, M = {
|
27
|
+
fill: "none",
|
28
|
+
height: "40",
|
29
|
+
viewBox: "0 0 40 40",
|
30
|
+
width: "40",
|
31
|
+
xmlns: "http://www.w3.org/2000/svg"
|
32
|
+
}, Z = /* @__PURE__ */ C("path", {
|
33
|
+
d: "m20 0c-11.046 0-20 9.0085-20 20.1217 0 10.0428 7.314 18.3672 16.876 19.8783v-14.0631h-5.08v-5.8152h5.08v-4.4328c0-5.0425 2.984-7.82734 7.554-7.82734 2.188 0 4.476.39238 4.476.39238v4.94996h-2.52c-2.486 0-3.26 1.5514-3.26 3.143v3.7748h5.546l-.886 5.8152h-4.66v14.0631c9.56-1.5091 16.874-9.8375 16.874-19.8783 0-11.1132-8.954-20.1217-20-20.1217z",
|
34
|
+
fill: "#fff"
|
35
|
+
}, null, -1), H = [
|
36
|
+
Z
|
37
|
+
];
|
38
|
+
function k(s, n) {
|
39
|
+
return t(), e("svg", M, H);
|
40
|
+
}
|
41
|
+
const B = /* @__PURE__ */ o(V, [["render", k]]), I = {}, y = {
|
42
|
+
width: "40",
|
43
|
+
height: "40",
|
44
|
+
viewBox: "0 0 40 40",
|
45
|
+
fill: "none",
|
46
|
+
xmlns: "http://www.w3.org/2000/svg"
|
47
|
+
}, S = /* @__PURE__ */ C("path", {
|
48
|
+
d: "M20.0019 0C14.5702 0 13.8885 0.0237504 11.7551 0.120834C9.62593 0.218334 8.17259 0.555417 6.90091 1.05C5.58547 1.56083 4.46963 2.24417 3.35795 3.35625C2.24544 4.46792 1.5621 5.58375 1.04959 6.89875C0.553755 8.17083 0.216252 9.62458 0.120418 11.7529C0.0250001 13.8862 0 14.5683 0 20C0 25.4317 0.0241673 26.1113 0.120835 28.2446C0.218753 30.3738 0.555839 31.8271 1.05001 33.0987C1.56127 34.4142 2.24461 35.53 3.3567 36.6417C4.46796 37.7542 5.58381 38.4392 6.89841 38.95C8.17092 39.4446 9.62468 39.7817 11.7535 39.8792C13.8868 39.9762 14.5681 40 19.9994 40C25.4315 40 26.1111 39.9762 28.2445 39.8792C30.3737 39.7817 31.8287 39.4446 33.1012 38.95C34.4162 38.4392 35.5304 37.7542 36.6416 36.6417C37.7541 35.53 38.4375 34.4142 38.95 33.0992C39.4417 31.8271 39.7792 30.3733 39.8792 28.245C39.975 26.1117 40 25.4317 40 20C40 14.5683 39.975 13.8867 39.8792 11.7533C39.7792 9.62417 39.4417 8.17083 38.95 6.89917C38.4375 5.58375 37.7541 4.46792 36.6416 3.35625C35.5291 2.24375 34.4166 1.56042 33.0999 1.05C31.8249 0.555417 30.3707 0.218334 28.2415 0.120834C26.1082 0.0237504 25.429 0 19.9956 0H20.0019ZM18.2077 3.60417C18.7402 3.60333 19.3344 3.60417 20.0019 3.60417C25.3419 3.60417 25.9749 3.62333 28.0836 3.71917C30.0336 3.80833 31.092 4.13417 31.797 4.40792C32.7303 4.77042 33.3958 5.20375 34.0954 5.90375C34.7954 6.60375 35.2287 7.27042 35.592 8.20375C35.8658 8.90792 36.192 9.96625 36.2808 11.9162C36.3766 14.0246 36.3975 14.6579 36.3975 19.9954C36.3975 25.3329 36.3766 25.9662 36.2808 28.0746C36.1916 30.0246 35.8658 31.0829 35.592 31.7871C35.2295 32.7204 34.7954 33.385 34.0954 34.0846C33.3953 34.7846 32.7308 35.2179 31.797 35.5804C31.0928 35.8554 30.0336 36.1804 28.0836 36.2696C25.9753 36.3654 25.3419 36.3863 20.0019 36.3863C14.6614 36.3863 14.0285 36.3654 11.9201 36.2696C9.9701 36.1796 8.91176 35.8537 8.20634 35.58C7.27299 35.2175 6.60632 34.7842 5.90631 34.0842C5.2063 33.3842 4.77297 32.7192 4.40963 31.7854C4.13588 31.0813 3.80962 30.0229 3.72087 28.0729C3.62504 25.9646 3.60587 25.3312 3.60587 19.9904C3.60587 14.6496 3.62504 14.0196 3.72087 11.9113C3.81004 9.96125 4.13588 8.90292 4.40963 8.19792C4.77213 7.26458 5.2063 6.59792 5.90631 5.89792C6.60632 5.19792 7.27299 4.76458 8.20634 4.40125C8.91134 4.12625 9.9701 3.80125 11.9201 3.71167C13.7651 3.62833 14.4802 3.60333 18.2077 3.59917V3.60417ZM30.6778 6.925C29.3528 6.925 28.2778 7.99875 28.2778 9.32417C28.2778 10.6492 29.3528 11.7242 30.6778 11.7242C32.0028 11.7242 33.0778 10.6492 33.0778 9.32417C33.0778 7.99917 32.0028 6.92417 30.6778 6.92417V6.925ZM20.0019 9.72917C14.3297 9.72917 9.73093 14.3279 9.73093 20C9.73093 25.6721 14.3297 30.2687 20.0019 30.2687C25.674 30.2687 30.2711 25.6721 30.2711 20C30.2711 14.3279 25.6736 9.72917 20.0015 9.72917H20.0019ZM20.0019 13.3333C23.6836 13.3333 26.6686 16.3179 26.6686 20C26.6686 23.6817 23.6836 26.6667 20.0019 26.6667C16.3198 26.6667 13.3351 23.6817 13.3351 20C13.3351 16.3179 16.3198 13.3333 20.0019 13.3333V13.3333Z",
|
49
|
+
fill: "white"
|
50
|
+
}, null, -1), z = [
|
51
|
+
S
|
52
|
+
];
|
53
|
+
function D(s, n) {
|
54
|
+
return t(), e("svg", y, z);
|
55
|
+
}
|
56
|
+
const E = /* @__PURE__ */ o(I, [["render", D]]), A = {}, F = {
|
57
|
+
width: "40",
|
58
|
+
height: "33",
|
59
|
+
viewBox: "0 0 40 33",
|
60
|
+
fill: "none",
|
61
|
+
xmlns: "http://www.w3.org/2000/svg"
|
62
|
+
}, T = /* @__PURE__ */ C("path", {
|
63
|
+
d: "M35.9049 8.17058C35.9293 8.52666 35.9293 8.88274 35.9293 9.2421C35.9293 20.192 27.6742 32.8205 12.5793 32.8205V32.814C8.12025 32.8205 3.75381 31.5307 0 29.0989C0.648385 29.1777 1.30002 29.217 1.95328 29.2187C5.64859 29.222 9.23827 27.9699 12.1454 25.6645C8.63376 25.5972 5.55434 23.2851 4.47857 19.9097C5.70871 20.1493 6.97623 20.1001 8.18363 19.767C4.35507 18.9859 1.60065 15.5892 1.60065 11.6444V11.5394C2.74142 12.181 4.01869 12.5371 5.32521 12.5765C1.71928 10.143 0.607759 5.29897 2.78529 1.51172C6.95186 6.68883 13.0993 9.83612 19.6986 10.1692C19.0372 7.29105 19.9407 4.27503 22.0727 2.25178C25.378 -0.885667 30.5765 -0.724857 33.6835 2.61114C35.5214 2.24521 37.283 1.56423 38.895 0.599367C38.2823 2.51761 37.0002 4.14704 35.2874 5.18246C36.9141 4.98883 38.5034 4.54907 40 3.87793C38.8982 5.54511 37.5105 6.99732 35.9049 8.17058Z",
|
64
|
+
fill: "white"
|
65
|
+
}, null, -1), N = [
|
66
|
+
T
|
67
|
+
];
|
68
|
+
function R(s, n) {
|
69
|
+
return t(), e("svg", F, N);
|
70
|
+
}
|
71
|
+
const j = /* @__PURE__ */ o(A, [["render", R]]), q = {}, G = {
|
72
|
+
width: "40",
|
73
|
+
height: "36",
|
74
|
+
viewBox: "0 0 40 36",
|
75
|
+
fill: "none",
|
76
|
+
xmlns: "http://www.w3.org/2000/svg"
|
77
|
+
}, J = /* @__PURE__ */ C("path", {
|
78
|
+
d: "M40 17.9021C40 15.4963 38.0287 13.5858 35.6272 13.5858C34.4444 13.5858 33.3692 14.0457 32.5806 14.7887C29.5699 12.6659 25.448 11.2861 20.8602 11.1092L22.8674 1.83974L29.3907 3.21955C29.4624 4.84701 30.8244 6.15605 32.509 6.15605C34.2294 6.15605 35.6272 4.77625 35.6272 3.07803C35.6272 1.37981 34.2294 0 32.509 0C31.2903 0 30.2151 0.707593 29.7133 1.7336L22.4373 0.21228C22.2222 0.1769 22.0072 0.212278 21.8638 0.318417C21.6846 0.424556 21.5771 0.601454 21.5412 0.813732L19.319 11.1446C14.6595 11.2861 10.466 12.6659 7.41936 14.8241C6.63083 14.0811 5.55556 13.6211 4.37276 13.6211C1.93549 13.6211 0 15.567 0 17.9375C0 19.7064 1.07527 21.1924 2.58065 21.8646C2.50896 22.2892 2.47312 22.7137 2.47312 23.1736C2.47312 29.825 10.3226 35.2381 20 35.2381C29.6774 35.2381 37.5269 29.8604 37.5269 23.1736C37.5269 22.7491 37.491 22.2892 37.4194 21.8646C38.9247 21.1924 40 19.6711 40 17.9021V17.9021ZM9.96416 20.9801C9.96416 19.2819 11.362 17.9021 13.0824 17.9021C14.8029 17.9021 16.2007 19.2819 16.2007 20.9801C16.2007 22.6783 14.8029 24.0581 13.0824 24.0581C11.362 24.0935 9.96416 22.6783 9.96416 20.9801V20.9801ZM27.4194 29.1528C25.2688 31.2756 21.1828 31.4171 20 31.4171C18.7814 31.4171 14.6953 31.2402 12.5806 29.1528C12.2581 28.8344 12.2581 28.3391 12.5806 28.0206C12.9032 27.7022 13.405 27.7022 13.7276 28.0206C15.0896 29.3651 17.957 29.825 20 29.825C22.043 29.825 24.9462 29.3651 26.2724 28.0206C26.595 27.7022 27.0968 27.7022 27.4194 28.0206C27.7061 28.3391 27.7061 28.8344 27.4194 29.1528ZM26.8459 24.0935C25.1254 24.0935 23.7276 22.7137 23.7276 21.0155C23.7276 19.3173 25.1254 17.9375 26.8459 17.9375C28.5663 17.9375 29.9642 19.3173 29.9642 21.0155C29.9642 22.6783 28.5663 24.0935 26.8459 24.0935Z",
|
79
|
+
fill: "white"
|
80
|
+
}, null, -1), K = [
|
81
|
+
J
|
82
|
+
];
|
83
|
+
function O(s, n) {
|
84
|
+
return t(), e("svg", G, K);
|
85
|
+
}
|
86
|
+
const P = /* @__PURE__ */ o(q, [["render", O]]), Q = {}, U = {
|
87
|
+
width: "67",
|
88
|
+
height: "64",
|
89
|
+
viewBox: "0 0 67 64",
|
90
|
+
fill: "none",
|
91
|
+
xmlns: "http://www.w3.org/2000/svg"
|
92
|
+
}, W = /* @__PURE__ */ C("path", {
|
93
|
+
"fill-rule": "evenodd",
|
94
|
+
"clip-rule": "evenodd",
|
95
|
+
d: "M66.2237 27.2403C66.2237 12.4467 51.4301 0.287598 33.1914 0.287598C14.9528 0.287598 0.15918 12.4467 0.15918 27.2403C0.15918 40.4127 11.913 51.5585 27.7198 53.585C31.5702 54.3956 31.1649 55.8142 30.3543 61.0832C30.1517 61.8938 29.5437 64.3256 33.1914 62.907C36.6365 61.4885 52.2407 51.7612 59.1309 43.6551C63.9945 38.3861 66.2237 33.1172 66.2237 27.2403ZM43.1214 35.1437V20.7554C43.1214 20.3501 42.7161 19.9448 42.3108 20.1475H40.0816C39.6763 20.1475 39.4736 20.3501 39.4736 20.7554V29.2668L32.7861 20.3501C32.7861 20.1475 32.5835 20.1475 32.3808 20.1475H29.949C29.5437 20.1475 29.341 20.3501 29.341 20.7554V35.1437C29.341 35.549 29.5437 35.7517 29.949 35.7517H32.3808C32.5835 35.7517 32.9888 35.549 32.9888 35.1437V26.6323L39.4736 35.549C39.575 35.549 39.6763 35.5997 39.7776 35.6503C39.8789 35.701 39.9803 35.7517 40.0816 35.7517H42.3108C42.7161 35.7517 43.1214 35.549 43.1214 35.1437ZM27.1119 20.7554C27.1119 20.3501 26.7066 19.9448 26.5039 19.9448H24.0721C23.6668 19.9448 23.4641 20.3501 23.4641 20.7554V35.1437C23.4641 35.549 23.6668 35.7517 24.0721 35.7517H26.5039C26.7066 35.7517 27.1119 35.549 27.1119 35.1437V20.7554ZM21.4376 32.7119C21.4376 32.5092 21.235 32.1039 20.8297 32.1039H14.5475V20.7554C14.5475 20.3501 14.3448 19.9448 13.9395 19.9448H11.5077C11.305 19.9448 10.8997 20.3501 10.8997 20.7554V35.1437C10.8997 35.245 10.9504 35.2957 11.0011 35.3464C11.0517 35.397 11.1024 35.4477 11.1024 35.549C11.2037 35.549 11.2544 35.5997 11.305 35.6503C11.3557 35.701 11.4064 35.7517 11.5077 35.7517H20.8297C21.235 35.7517 21.4376 35.3464 21.4376 35.1437V32.7119ZM55.8884 20.7554C55.8884 20.3501 55.4831 19.9448 55.2805 19.9448H45.9585C45.5532 19.9448 45.3505 20.3501 45.3505 20.7554V35.1437C45.3505 35.3464 45.5532 35.7517 45.9585 35.7517H55.2805C55.4831 35.7517 55.8884 35.549 55.8884 35.1437V32.7119C55.8884 32.5092 55.4831 32.1039 55.2805 32.1039H48.9983V29.6721H55.2805C55.4831 29.6721 55.8884 29.4695 55.8884 29.0642V26.6323C55.8884 26.4297 55.4831 26.0244 55.2805 26.0244H48.9983V23.5926H55.2805C55.4831 23.5926 55.8884 23.3899 55.8884 22.9846V20.7554Z",
|
96
|
+
fill: "white"
|
97
|
+
}, null, -1), X = [
|
98
|
+
W
|
99
|
+
];
|
100
|
+
function Y(s, n) {
|
101
|
+
return t(), e("svg", U, X);
|
102
|
+
}
|
103
|
+
const t2 = /* @__PURE__ */ o(Q, [["render", Y]]), e2 = {}, n2 = {
|
104
|
+
fill: "none",
|
105
|
+
height: "40",
|
106
|
+
viewBox: "0 0 40 40",
|
107
|
+
width: "40",
|
108
|
+
xmlns: "http://www.w3.org/2000/svg"
|
109
|
+
}, C2 = /* @__PURE__ */ C("path", {
|
110
|
+
d: "m35.7603 19.144c-.1629-3.1482-1.2512-6.1768-3.1269-8.702-.5715.6193-1.1824 1.2005-1.8289 1.74-1.9861 1.6597-4.2054 3.0144-6.5859 4.02.332.7.6361 1.378.9045 2.018v.006c.0757.1788.1486.3588.2186.54 3.0097-.34 6.1824-.216 9.2577.202.4095.056.7952.116 1.1609.176zm-18.6564-14.9c1.9373 2.74635 3.7238 5.59727 5.3514 8.54 2.4312-.964 4.441-2.18 6.0591-3.534.5617-.46574 1.0905-.97029 1.5824-1.51-2.8606-2.42057-6.4799-3.74534-10.2178-3.74-.9303-.00064-1.8588.08033-2.7751.242zm-12.62516 11.75c1.35421-.0344 2.70681-.1164 4.05531-.246 3.25945-.2933 6.49105-.843 9.66515-1.644-1.6589-2.8996-3.4499-5.72058-5.3673-8.454-2.0481 1.02079-3.85403 2.47282-5.29529 4.25758-1.44125 1.78472-2.48412 3.86052-3.05787 6.08642zm3.04149 14.076c.7713-1.134 1.78513-2.41 3.13097-3.798 2.8904-2.98 6.3016-5.3 10.2496-6.58l.1232-.036c-.328-.728-.6361-1.378-.9462-1.99-3.6498 1.07-7.4944 1.738-11.32508 2.084-1.86862.17-3.54442.244-4.77692.256-.00352 3.6652 1.24899 7.2195 3.54641 10.064zm18.33237 4.76c-.7666-3.8895-1.8517-7.7085-3.2442-11.418-3.9798 1.454-7.1505 3.58-9.6016 6.116-.9891 1.0048-1.867 2.1146-2.618 3.31 2.7409 2.0576 6.0704 3.1669 9.4902 3.162 2.0474.003 4.0759-.393 5.9736-1.166zm3.7234-2.15c3.1036-2.4005 5.2179-5.8686 5.9378-9.74-.6759-.17-1.5326-.34-2.4749-.472-2.095-.3035-4.2207-.3257-6.3215-.066 1.1829 3.3577 2.138 6.7922 2.8586 10.28zm-9.697 7.32c-10.97917 0-19.879-8.954-19.879-20s8.89983-20 19.879-20c10.9792 0 19.879 8.954 19.879 20s-8.8998 20-19.879 20z",
|
111
|
+
fill: "#fff"
|
112
|
+
}, null, -1), s2 = [
|
113
|
+
C2
|
114
|
+
];
|
115
|
+
function o2(s, n) {
|
116
|
+
return t(), e("svg", n2, s2);
|
117
|
+
}
|
118
|
+
const c2 = /* @__PURE__ */ o(e2, [["render", o2]]), i2 = { class: "gap-small flex-nowrap flex" }, r2 = ["href"], m2 = {
|
119
|
+
__name: "Socials",
|
120
|
+
props: {
|
121
|
+
telegram: {
|
122
|
+
type: String,
|
123
|
+
default: ""
|
124
|
+
},
|
125
|
+
facebook: {
|
126
|
+
type: String,
|
127
|
+
default: ""
|
128
|
+
},
|
129
|
+
instagram: {
|
130
|
+
type: String,
|
131
|
+
default: ""
|
132
|
+
},
|
133
|
+
twitter: {
|
134
|
+
type: String,
|
135
|
+
default: ""
|
136
|
+
},
|
137
|
+
reddit: {
|
138
|
+
type: String,
|
139
|
+
default: ""
|
140
|
+
},
|
141
|
+
line: {
|
142
|
+
type: String,
|
143
|
+
default: ""
|
144
|
+
},
|
145
|
+
dribbble: {
|
146
|
+
type: String,
|
147
|
+
default: ""
|
148
|
+
}
|
149
|
+
},
|
150
|
+
setup(s) {
|
151
|
+
const n = s, l = a(() => [
|
152
|
+
{ name: "telegram", base: "https://t.me/" },
|
153
|
+
{ name: "facebook", base: "https://www.facebook.com/" },
|
154
|
+
{ name: "instagram", base: "https://www.instagram.com/" },
|
155
|
+
{ name: "twitter", base: "https://twitter.com/" },
|
156
|
+
{ name: "reddit", base: "https://www.reddit.com/user/" },
|
157
|
+
{ name: "line", base: "" },
|
158
|
+
// не уверен в базовом URL для Line, добавьте его, если необходимо
|
159
|
+
{ name: "dribbble", base: "https://dribbble.com/" }
|
160
|
+
].filter((c) => n[c.name]).map((c) => ({
|
161
|
+
name: c.name,
|
162
|
+
href: c.base + n[c.name]
|
163
|
+
})));
|
164
|
+
function _(i) {
|
165
|
+
return {
|
166
|
+
telegram: L,
|
167
|
+
facebook: B,
|
168
|
+
instagram: E,
|
169
|
+
twitter: j,
|
170
|
+
reddit: P,
|
171
|
+
line: t2,
|
172
|
+
dribbble: c2
|
173
|
+
}[i] || null;
|
174
|
+
}
|
175
|
+
return (i, c) => (t(), e("div", i2, [
|
176
|
+
(t(!0), e(h, null, d(f(l), (r) => (t(), e("a", {
|
177
|
+
key: r.name,
|
178
|
+
href: r.href,
|
179
|
+
target: "_blank",
|
180
|
+
class: "i-big bg-second t-white flex-nowrap flex-center flex radius-extra"
|
181
|
+
}, [
|
182
|
+
(t(), w(m(_(r.name)), { class: "i-medium" }))
|
183
|
+
], 8, r2))), 128))
|
184
|
+
]));
|
185
|
+
}
|
186
|
+
}, l2 = {}, _2 = {
|
187
|
+
width: "652",
|
188
|
+
height: "652",
|
189
|
+
viewBox: "0 0 652 652",
|
190
|
+
fill: "none",
|
191
|
+
xmlns: "http://www.w3.org/2000/svg"
|
192
|
+
}, a2 = /* @__PURE__ */ C("path", {
|
193
|
+
fill: "rgb(var(--black))",
|
194
|
+
d: "M515.693 9.52082C510.095 3.91669 502.49 0.765625 494.563 0.765625C486.635 0.765625 479.036 3.91669 473.432 9.52082L48.7255 434.307C44.8244 438.214 42.0848 443.125 40.8088 448.496L0.939444 615.069C-1.47202 625.168 1.528 635.788 8.86652 643.132C16.2103 650.47 26.8305 653.47 36.9292 651.059L203.516 611.261H203.511C208.88 609.985 213.792 607.246 217.699 603.35L642.485 178.496C648.089 172.892 651.241 165.293 651.241 157.366C651.241 149.439 648.089 141.835 642.485 136.235L515.693 9.52082ZM113.76 453.708L388.307 179.161L472.828 263.682L198.281 538.229L113.76 453.708ZM87.1041 511.5L140.416 564.812L70.3014 581.614L87.1041 511.5ZM515.091 221.793L430.195 136.897L494.184 72.9075L579.08 157.429L515.091 221.793Z"
|
195
|
+
}, null, -1), h2 = [
|
196
|
+
a2
|
197
|
+
];
|
198
|
+
function d2(s, n) {
|
199
|
+
return t(), e("svg", _2, h2);
|
200
|
+
}
|
201
|
+
const g2 = /* @__PURE__ */ o(l2, [["render", d2]]);
|
202
|
+
export {
|
203
|
+
g2 as I,
|
204
|
+
m2 as _
|
205
|
+
};
|