@ozdao/prometheus-framework 0.0.86 → 0.0.88
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-15e71ec4.js +1 -0
- package/dist/Breadcrumbs.vue_vue_type_style_index_0_lang-cdbafd07.mjs +1944 -0
- package/dist/CardOrganization-ee5c34ab.js +1 -0
- package/dist/CardOrganization-f70bd169.mjs +202 -0
- package/dist/Comments-63f154a6.js +9 -0
- package/dist/Comments-c5afa4d6.mjs +459 -0
- package/dist/Feed-51e4e232.js +1 -0
- package/dist/Feed-8fd41524.js +1 -0
- package/dist/Feed-dc8b66bf.mjs +367 -0
- package/dist/Feed-ecf37814.mjs +367 -0
- package/dist/IconEdit-736c89be.js +1 -0
- package/dist/IconEdit-e9fd4c6c.mjs +21 -0
- package/dist/Image-6c7584f5.mjs +477 -0
- package/dist/Image-9a870c88.js +9 -0
- package/dist/Popup-105ef2c3.js +1 -0
- package/dist/Popup-82fb2c8a.mjs +76 -0
- package/dist/Product-1724d88d.mjs +837 -0
- package/dist/Product-2f3d592f.mjs +837 -0
- package/dist/Product-2fbf9d99.js +7 -0
- package/dist/Product-a94d8b65.js +7 -0
- package/dist/ProductEdit-20709821.mjs +349 -0
- package/dist/ProductEdit-57484f1e.mjs +349 -0
- package/dist/ProductEdit-a81d13b9.js +1 -0
- package/dist/ProductEdit-ef301baa.js +1 -0
- package/dist/ProfileBlogposts-eca9916c.js +1 -0
- package/dist/ProfileBlogposts-fb014bc6.mjs +63 -0
- package/dist/ProfileComments-58094a50.mjs +43 -0
- package/dist/ProfileComments-b919f021.js +1 -0
- package/dist/ProfileEvents-05485e20.js +1 -0
- package/dist/ProfileEvents-1cfe6858.mjs +55 -0
- package/dist/ProfileEvents-5d206e3d.mjs +55 -0
- package/dist/ProfileEvents-d8e16509.js +1 -0
- package/dist/ProfileLikes-2f3a4488.js +1 -0
- package/dist/ProfileLikes-b5ac7f48.mjs +43 -0
- package/dist/ProfileOrganizations-0b76e38f.js +1 -0
- package/dist/ProfileOrganizations-32ab1e30.mjs +211 -0
- package/dist/Publics-3f277c17.js +1 -0
- package/dist/Publics-9ebffff1.mjs +122 -0
- package/dist/Tab-58cd105f.mjs +46 -0
- package/dist/Tab-6f0a4909.js +1 -0
- package/dist/UploadImage-441e8526.js +1 -0
- package/dist/UploadImage-ff8f9a0c.mjs +83 -0
- package/dist/auth.client.cjs +2 -2
- package/dist/auth.client.js +60 -40
- package/dist/community.client.cjs +1 -9
- package/dist/community.client.js +361 -750
- package/dist/community.server.js +16 -4
- package/dist/community.server.mjs +16 -4
- package/dist/events.client.cjs +1 -1
- package/dist/events.client.js +442 -321
- package/dist/events.server.js +96 -2
- package/dist/events.server.mjs +96 -2
- package/dist/inputs.validation-24ae76b9.js +1 -0
- package/dist/modules/constructor/components/elements/Bullets.vue.d.ts +15 -0
- package/dist/modules/constructor/components/elements/Caption.vue.d.ts +15 -0
- package/dist/modules/constructor/components/elements/H2.vue.d.ts +16 -0
- package/dist/modules/constructor/components/elements/Image.vue.d.ts +8 -0
- package/dist/modules/constructor/components/elements/ImageUpload.vue.d.ts +9 -0
- package/dist/modules/constructor/components/elements/Textarea.vue.d.ts +12 -0
- package/dist/modules/constructor/components/sections/Constructor.vue.d.ts +7 -0
- package/dist/modules/events/components/sections/Feed.vue.d.ts +1 -0
- package/dist/organizations-1b4c84ee.mjs +121 -0
- package/dist/organizations-af43bda4.js +1 -0
- package/dist/organizations.client-253c8068.mjs +3179 -0
- package/dist/organizations.client-686845be.mjs +3179 -0
- package/dist/organizations.client-99bfc474.js +3 -0
- package/dist/organizations.client-c60d7659.js +3 -0
- package/dist/organizations.client.cjs +1 -3
- package/dist/organizations.client.js +49 -3025
- package/dist/style.css +1 -1
- package/dist/users.client.cjs +1 -1
- package/dist/users.client.js +10 -10
- package/package.json +1 -1
- package/src/modules/auth/router/auth.js +28 -7
- package/src/modules/community/community.client.js +1 -12
- package/src/modules/community/components/pages/BlogPost.vue +1 -1
- package/src/modules/community/components/pages/CreateBlogPost.vue +8 -151
- package/src/modules/community/middlewares/server/verifyBlogpost.js +24 -11
- package/src/modules/{community → constructor}/components/elements/Textarea.vue +3 -11
- package/src/modules/constructor/components/sections/Constructor.vue +167 -0
- package/src/modules/events/components/blocks/CardEvent.vue +15 -7
- package/src/modules/events/components/pages/EditEvent.vue +233 -133
- package/src/modules/events/components/pages/Event.vue +43 -4
- package/src/modules/events/components/sections/Feed.vue +7 -1
- package/src/modules/events/controllers/events.controller.js +9 -0
- package/src/modules/events/controllers/tickets.controller.js +2 -1
- package/src/modules/events/middlewares/server/index.js +10 -0
- package/src/modules/events/middlewares/server/verifyEvent.js +60 -0
- package/src/modules/events/models/event.model.js +10 -0
- package/src/modules/events/routes/events.routes.js +14 -1
- package/src/modules/events/store/events.js +15 -19
- package/src/modules/organizations/components/blocks/CardOrganization.vue +1 -3
- package/src/modules/organizations/components/sections/Publics.vue +2 -3
- package/src/modules/organizations/organizations.client.js +0 -2
- package/src/modules/users/components/pages/ProfileEvents.vue +3 -3
- package/src/modules/organizations/components/blocks/CardOrganizationSocial.vue +0 -46
- /package/src/modules/{community → constructor}/components/elements/Bullets.vue +0 -0
- /package/src/modules/{community → constructor}/components/elements/Caption.vue +0 -0
- /package/src/modules/{community → constructor}/components/elements/H2.vue +0 -0
- /package/src/modules/{community → constructor}/components/elements/Image.vue +0 -0
- /package/src/modules/{community → constructor}/components/elements/ImageUpload.vue +0 -0
package/dist/community.client.js
CHANGED
@@ -1,69 +1,70 @@
|
|
1
|
-
import { resolveComponent as
|
2
|
-
import { useRoute as
|
3
|
-
import { S as
|
4
|
-
import { s as
|
5
|
-
import { e as
|
6
|
-
import { s as
|
7
|
-
import { _ as
|
8
|
-
import { _ as
|
9
|
-
import {
|
10
|
-
import { a as
|
11
|
-
import { _ as
|
12
|
-
import {
|
13
|
-
import { useI18n as Ne } from "vue-i18n";
|
1
|
+
import { resolveComponent as Y, openBlock as i, createElementBlock as p, createElementVNode as o, createVNode as h, normalizeClass as B, unref as c, createCommentVNode as v, withCtx as k, Transition as G, createBlock as I, resolveDynamicComponent as Q, ref as g, onMounted as F, computed as V, createTextVNode as T, createStaticVNode as Z, TransitionGroup as H, Fragment as D, renderList as U, mergeProps as ee, watch as te, toDisplayString as N, watchEffect as se, isRef as W, withAsyncContext as ae, pushScopeId as oe, popScopeId as ne } from "vue";
|
2
|
+
import { useRoute as z, useRouter as A } from "vue-router";
|
3
|
+
import { S as le, _ as re } from "./Publics-9ebffff1.mjs";
|
4
|
+
import { s as M, r as L, c as ie, u as q, a as R, b as ue, d as K, _ as ce } from "./Feed-a31c43c2.mjs";
|
5
|
+
import { e as es, f as ts, g as ss } from "./Feed-a31c43c2.mjs";
|
6
|
+
import { s as w, b as pe, _ as X, F as de } from "./auth-35ef1791.mjs";
|
7
|
+
import { c as me, _ as ge, a as _e, b as he } from "./Image-6c7584f5.mjs";
|
8
|
+
import { _ as fe } from "./Popup-82fb2c8a.mjs";
|
9
|
+
import { _ as ve, S as be, C as ye } from "./Breadcrumbs.vue_vue_type_style_index_0_lang-cdbafd07.mjs";
|
10
|
+
import { a as we } from "./organizations-1b4c84ee.mjs";
|
11
|
+
import { _ as xe } from "./EmptyState-34d85f10.mjs";
|
12
|
+
import { useI18n as $e } from "vue-i18n";
|
14
13
|
import "./globals-96ba60e4.mjs";
|
14
|
+
import "./CardOrganization-f70bd169.mjs";
|
15
|
+
import "./ButtonFollow-728aab73.mjs";
|
15
16
|
import "./CardHeader-ce5a1a75.mjs";
|
16
17
|
import "./PlaceholderUserpic-995da0fc.mjs";
|
17
|
-
import "./
|
18
|
-
const
|
18
|
+
import "./vue-draggable-next.esm-bundler-ff6e3f52.mjs";
|
19
|
+
const ke = { class: "min-h-100vh pd-thin" }, Pe = { class: "mn-thin flex-v-center t-left flex-nowrap flex" }, Ce = { class: "flex-v-center flex-nowrap flex t-left" }, Te = /* @__PURE__ */ o("span", { class: "" }, "Topics for ", -1), Se = { class: "bg-grey pd-medium radius-big mn-semi flex-nowrap flex" }, Be = { class: "" }, Ie = {
|
19
20
|
__name: "Community",
|
20
|
-
setup(
|
21
|
-
const
|
22
|
-
return (e,
|
23
|
-
const
|
24
|
-
return
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
21
|
+
setup(d) {
|
22
|
+
const n = z(), s = A();
|
23
|
+
return (e, a) => {
|
24
|
+
const m = Y("router-view");
|
25
|
+
return i(), p("div", ke, [
|
26
|
+
o("header", Pe, [
|
27
|
+
o("h2", Ce, [
|
28
|
+
Te,
|
29
|
+
h(le, {
|
29
30
|
options: ["today", "week", "month", "year"],
|
30
|
-
select:
|
31
|
-
"onUpdate:select":
|
31
|
+
select: M.filter.period,
|
32
|
+
"onUpdate:select": a[0] || (a[0] = (t) => M.filter.period = t),
|
32
33
|
placeholder: "Select type",
|
33
34
|
class: "w-max mn-l-small bg-grey pd-thin radius-medium h2 t-center t-black"
|
34
35
|
}, null, 8, ["select"])
|
35
36
|
])
|
36
37
|
]),
|
37
|
-
|
38
|
-
|
39
|
-
class:
|
40
|
-
onClick:
|
38
|
+
o("ul", Se, [
|
39
|
+
o("li", {
|
40
|
+
class: B([{ "t-white bg-black": c(n).params.category === "featured" }, "mn-r-small t-medium pd-small radius-small"]),
|
41
|
+
onClick: a[1] || (a[1] = (t) => c(s).push({ name: "Blog" }))
|
41
42
|
}, "👑 Featured", 2),
|
42
|
-
|
43
|
-
class:
|
44
|
-
onClick:
|
43
|
+
o("li", {
|
44
|
+
class: B([{ "t-white bg-black": c(n).params.category === "popular" }, "mn-r-small t-medium pd-small radius-small"]),
|
45
|
+
onClick: a[2] || (a[2] = (t) => c(s).push({ name: "Blog", params: { category: "popular" } }))
|
45
46
|
}, "🔥 Popular", 2),
|
46
|
-
|
47
|
-
class:
|
48
|
-
onClick:
|
47
|
+
o("li", {
|
48
|
+
class: B([{ "t-white bg-black": c(n).params.category === "new" }, "mn-r-small t-medium pd-small radius-small"]),
|
49
|
+
onClick: a[3] || (a[3] = (t) => c(s).push({ name: "Blog", params: { category: "new" } }))
|
49
50
|
}, "🆕 New", 2),
|
50
|
-
|
51
|
+
w.user._id ? (i(), p("li", {
|
51
52
|
key: 0,
|
52
|
-
class:
|
53
|
-
onClick:
|
54
|
-
}, "👥 Following", 2)) :
|
53
|
+
class: B([{ "t-white bg-black": c(n).params.category === "following" }, "t-medium pd-small radius-small"]),
|
54
|
+
onClick: a[4] || (a[4] = (t) => c(s).push({ name: "Blog", params: { category: "following" } }))
|
55
|
+
}, "👥 Following", 2)) : v("", !0)
|
55
56
|
]),
|
56
|
-
|
57
|
-
|
58
|
-
default:
|
59
|
-
|
57
|
+
o("section", Be, [
|
58
|
+
h(m, null, {
|
59
|
+
default: k(({ Component: t, route: _ }) => [
|
60
|
+
h(G, {
|
60
61
|
name: "scaleIn",
|
61
62
|
mode: "out-in"
|
62
63
|
}, {
|
63
|
-
default:
|
64
|
-
(
|
64
|
+
default: k(() => [
|
65
|
+
(i(), I(Q(t), {
|
65
66
|
ref: "page",
|
66
|
-
key:
|
67
|
+
key: _.query
|
67
68
|
}))
|
68
69
|
]),
|
69
70
|
_: 2
|
@@ -75,515 +76,148 @@ const Ee = { class: "min-h-100vh pd-thin" }, Le = { class: "mn-thin flex-v-cente
|
|
75
76
|
]);
|
76
77
|
};
|
77
78
|
}
|
78
|
-
}
|
79
|
-
const Ke = ["placeholder"], ae = {
|
80
|
-
__name: "Textarea",
|
81
|
-
props: ["obj", "label", "prop", "value", "content", "textarea", "placeholder", "index", "ref", "setFocus"],
|
82
|
-
emits: ["deleteBlock", "updateBlock", "addBlock", "focus"],
|
83
|
-
setup(o, { emit: a }) {
|
84
|
-
const t = o;
|
85
|
-
g(t);
|
86
|
-
const e = g(null);
|
87
|
-
g(0);
|
88
|
-
function s(l) {
|
89
|
-
let c = l.target.value.split(/\n+/);
|
90
|
-
if (c.length > 1) {
|
91
|
-
t.prop[t.content] = c[0], M(() => {
|
92
|
-
i();
|
93
|
-
});
|
94
|
-
let h = c.slice(1).map((b) => ({ __name: "Textarea", content: b }));
|
95
|
-
a("addBlock", "Textarea", "", t.index, { blocks: h, ref: e });
|
96
|
-
} else
|
97
|
-
l.target.value.trim() === "" && l.target.value.includes(`
|
98
|
-
|
99
|
-
`) && (console.log("We are adding new block:" + t.index + newBlocks + e), a("addBlock", "Textarea", "", t.index, { blocks: newBlocks, ref: e })), i();
|
100
|
-
}
|
101
|
-
function p(l) {
|
102
|
-
(l.keyCode === 8 || l.keyCode === 46) && t.prop[t.content].trim() === "" && a("deleteBlock", t.prop);
|
103
|
-
}
|
104
|
-
function n() {
|
105
|
-
M(() => {
|
106
|
-
e.value.focus(), a("updateBlock", t.prop, { setFocus: !1 });
|
107
|
-
});
|
108
|
-
}
|
109
|
-
function i() {
|
110
|
-
e.value.style.height = "1rem", e.value.style.height = e.value.scrollHeight + "px";
|
111
|
-
}
|
112
|
-
return R(() => {
|
113
|
-
t.setFocus && M(() => {
|
114
|
-
n();
|
115
|
-
}), i();
|
116
|
-
}), S(() => {
|
117
|
-
t.setFocus && M(() => {
|
118
|
-
n();
|
119
|
-
}), i();
|
120
|
-
}), E(() => t.prop[t.content], (l) => {
|
121
|
-
}), (l, c) => (u(), m("div", null, [
|
122
|
-
q(r("textarea", {
|
123
|
-
"onUpdate:modelValue": c[0] || (c[0] = (h) => o.prop[o.content] = h),
|
124
|
-
placeholder: o.placeholder ? o.placeholder : "Enter text",
|
125
|
-
onInput: s,
|
126
|
-
onFocus: c[1] || (c[1] = (h) => a("focus", e.value)),
|
127
|
-
onKeyup: p,
|
128
|
-
ref_key: "textarea",
|
129
|
-
ref: e,
|
130
|
-
class: "text-area mn-thin"
|
131
|
-
}, `
|
132
|
-
`, 40, Ke), [
|
133
|
-
[J, o.prop[o.content]]
|
134
|
-
])
|
135
|
-
]));
|
136
|
-
}
|
137
|
-
};
|
138
|
-
const We = ["placeholder"], Ge = {
|
139
|
-
__name: "H2",
|
140
|
-
props: ["obj", "label", "prop", "value", "content", "textarea", "placeholder", "index", "ref", "setFocus"],
|
141
|
-
emits: ["deleteBlock", "updateBlock", "addBlock", "focus"],
|
142
|
-
setup(o, { emit: a }) {
|
143
|
-
const t = o;
|
144
|
-
g(t);
|
145
|
-
const e = g(null);
|
146
|
-
g(0);
|
147
|
-
function s(l) {
|
148
|
-
let c = l.target.value.split(/\n+/);
|
149
|
-
if (c.length > 1) {
|
150
|
-
t.prop[t.content] = c[0], M(() => {
|
151
|
-
i();
|
152
|
-
});
|
153
|
-
let h = c.slice(1).map((b) => ({ type: "Textarea", content: b }));
|
154
|
-
a("addBlock", "Textarea", "", t.index, { blocks: h, ref: e });
|
155
|
-
} else
|
156
|
-
l.target.value.trim() === "" && l.target.value.includes(`
|
157
|
-
|
158
|
-
`) && (console.log("We are adding new block:" + t.index + newBlocks + e), a("addBlock", "Textarea", "", t.index, { blocks: newBlocks, ref: e })), i();
|
159
|
-
}
|
160
|
-
function p(l) {
|
161
|
-
(l.keyCode === 8 || l.keyCode === 46) && t.prop[t.content].trim() === "" && a("deleteBlock", t.prop);
|
162
|
-
}
|
163
|
-
function n() {
|
164
|
-
M(() => {
|
165
|
-
e.value.focus(), a("updateBlock", t.prop, { setFocus: !1 });
|
166
|
-
});
|
167
|
-
}
|
168
|
-
function i() {
|
169
|
-
e.value.style.height = "1rem", e.value.style.height = e.value.scrollHeight + "px";
|
170
|
-
}
|
171
|
-
return R(() => {
|
172
|
-
t.setFocus && M(() => {
|
173
|
-
n();
|
174
|
-
}), i();
|
175
|
-
}), S(() => {
|
176
|
-
t.setFocus && M(() => {
|
177
|
-
n();
|
178
|
-
}), i();
|
179
|
-
}), E(() => t.prop[t.content], (l) => {
|
180
|
-
}), (l, c) => (u(), m("div", null, [
|
181
|
-
q(r("textarea", {
|
182
|
-
"onUpdate:modelValue": c[0] || (c[0] = (h) => o.prop[o.content] = h),
|
183
|
-
placeholder: o.placeholder ? o.placeholder : "Enter text",
|
184
|
-
onInput: s,
|
185
|
-
onFocus: c[1] || (c[1] = (h) => a("focus", e.value)),
|
186
|
-
onKeyup: p,
|
187
|
-
ref_key: "textarea",
|
188
|
-
ref: e,
|
189
|
-
class: "h3 text-area mn-thin"
|
190
|
-
}, `
|
191
|
-
`, 40, We), [
|
192
|
-
[J, o.prop[o.content]]
|
193
|
-
])
|
194
|
-
]));
|
195
|
-
}
|
196
|
-
}, Qe = ["placeholder"], Xe = {
|
197
|
-
__name: "Caption",
|
198
|
-
props: ["obj", "label", "prop", "value", "content", "textarea", "placeholder", "index", "ref"],
|
199
|
-
emits: ["deleteBlock", "addBlock", "focus"],
|
200
|
-
setup(o, { emit: a }) {
|
201
|
-
const t = o;
|
202
|
-
g(t);
|
203
|
-
const e = g(null);
|
204
|
-
function s(n) {
|
205
|
-
const i = /^\s*[-*]\s+(.*)/;
|
206
|
-
let c = n.target.value.split(/\n+/).map((h) => {
|
207
|
-
const b = i.exec(h);
|
208
|
-
return b ? b[1] : null;
|
209
|
-
}).filter((h) => h !== null);
|
210
|
-
c.length > 0 ? (t.prop[t.content] = c, p()) : n.target.value.trim() === "" && (t.prop[t.content] = [], p());
|
211
|
-
}
|
212
|
-
function p() {
|
213
|
-
e.value.style.height = "1rem", e.value.style.height = e.value.scrollHeight + "px";
|
214
|
-
}
|
215
|
-
return R(() => {
|
216
|
-
p();
|
217
|
-
}), S(() => {
|
218
|
-
p();
|
219
|
-
}), E(() => t.prop[t.content], (n) => {
|
220
|
-
(!n || n.length === 0) && a("deleteBlock", t.prop);
|
221
|
-
}), (n, i) => (u(), m("div", null, [
|
222
|
-
q(r("textarea", {
|
223
|
-
"onUpdate:modelValue": i[0] || (i[0] = (l) => o.prop[o.content] = l),
|
224
|
-
placeholder: o.placeholder ? o.placeholder : "Enter text",
|
225
|
-
onInput: s,
|
226
|
-
onFocus: i[1] || (i[1] = (l) => a("focus", e.value)),
|
227
|
-
ref_key: "textarea",
|
228
|
-
ref: e,
|
229
|
-
class: "br-l br-solid br-main pd-l-small text-area mn-small"
|
230
|
-
}, `
|
231
|
-
`, 40, Qe), [
|
232
|
-
[J, o.prop[o.content]]
|
233
|
-
])
|
234
|
-
]));
|
235
|
-
}
|
236
|
-
}, Ye = ["placeholder"], Ze = {
|
237
|
-
__name: "Bullets",
|
238
|
-
props: ["obj", "label", "prop", "value", "content", "textarea", "placeholder", "index", "ref"],
|
239
|
-
emits: ["deleteBlock", "addBlock", "focus"],
|
240
|
-
setup(o, { emit: a }) {
|
241
|
-
const t = o;
|
242
|
-
g(t);
|
243
|
-
const e = g(null);
|
244
|
-
function s(n) {
|
245
|
-
const i = /^\s*[-*]\s+(.*)/;
|
246
|
-
let c = n.target.value.split(/\n+/).map((h) => {
|
247
|
-
const b = i.exec(h);
|
248
|
-
return b ? b[1] : null;
|
249
|
-
}).filter((h) => h !== null);
|
250
|
-
c.length > 0 ? (t.prop[t.content] = c, p()) : n.target.value.trim() === "" && (t.prop[t.content] = [], p());
|
251
|
-
}
|
252
|
-
function p() {
|
253
|
-
e.value.style.height = "1rem", e.value.style.height = e.value.scrollHeight + "px";
|
254
|
-
}
|
255
|
-
return R(() => {
|
256
|
-
p();
|
257
|
-
}), S(() => {
|
258
|
-
p();
|
259
|
-
}), E(() => t.prop[t.content], (n) => {
|
260
|
-
(!n || n.length === 0) && a("deleteBlock", t.prop);
|
261
|
-
}), (n, i) => (u(), m("div", null, [
|
262
|
-
F(H(o.prop[o.content]) + " ", 1),
|
263
|
-
q(r("textarea", {
|
264
|
-
"onUpdate:modelValue": i[0] || (i[0] = (l) => o.prop[o.content] = l),
|
265
|
-
placeholder: o.placeholder ? o.placeholder : "Enter text",
|
266
|
-
onInput: s,
|
267
|
-
onFocus: i[1] || (i[1] = (l) => a("focus", e.value)),
|
268
|
-
ref_key: "textarea",
|
269
|
-
ref: e,
|
270
|
-
class: "text-area mn-small"
|
271
|
-
}, `
|
272
|
-
`, 40, Ye), [
|
273
|
-
[J, o.prop[o.content]]
|
274
|
-
])
|
275
|
-
]));
|
276
|
-
}
|
277
|
-
}, et = ["src"], tt = {
|
278
|
-
key: 1,
|
279
|
-
class: "t-transp pd-extra"
|
280
|
-
}, nt = {
|
281
|
-
__name: "ImageUpload",
|
282
|
-
props: [
|
283
|
-
"label",
|
284
|
-
"value",
|
285
|
-
"prop"
|
286
|
-
],
|
287
|
-
emits: ["input", "updateBlock"],
|
288
|
-
setup(o, { emit: a }) {
|
289
|
-
const t = o, e = g(null), s = g(null);
|
290
|
-
function p() {
|
291
|
-
s.value.click();
|
292
|
-
}
|
293
|
-
async function n(l) {
|
294
|
-
let c = l.target.files[0];
|
295
|
-
console.log(c);
|
296
|
-
let h = new FormData(), b = "unsorted";
|
297
|
-
h.append("file", c), console.log(h.has("file"));
|
298
|
-
try {
|
299
|
-
let j = await Te.create({ baseURL: process.env.API_URL, withCredentials: !0 }).post(`/api/upload/file?folderName=${encodeURIComponent(b)}`, h, {
|
300
|
-
headers: {
|
301
|
-
"Content-Type": "multipart/form-data"
|
302
|
-
}
|
303
|
-
});
|
304
|
-
e.value = j.data.filepath, console.log(e.value), a("input", e.value), a("updateBlock", t.prop, { content: e.value });
|
305
|
-
} catch (I) {
|
306
|
-
console.error(I);
|
307
|
-
}
|
308
|
-
}
|
309
|
-
function i(l) {
|
310
|
-
l.preventDefault(), n({
|
311
|
-
target: {
|
312
|
-
files: l.dataTransfer.files
|
313
|
-
}
|
314
|
-
});
|
315
|
-
}
|
316
|
-
return (l, c) => (u(), m("div", {
|
317
|
-
onClick: p,
|
318
|
-
onDrop: i,
|
319
|
-
onDragover: c[0] || (c[0] = re(() => {
|
320
|
-
}, ["prevent"])),
|
321
|
-
class: "w-100 radius-big bg-white image-upload-area flex-v-center flex-h-center flex t-black mn-small"
|
322
|
-
}, [
|
323
|
-
o.prop.content ? (u(), m("img", {
|
324
|
-
key: 0,
|
325
|
-
src: o.prop.content,
|
326
|
-
alt: "Uploaded image",
|
327
|
-
class: "w-100 h-30r object-fit-contain"
|
328
|
-
}, null, 8, et)) : (u(), m("span", tt, "Click or drag-and-drop your image")),
|
329
|
-
r("input", {
|
330
|
-
type: "file",
|
331
|
-
ref_key: "fileInput",
|
332
|
-
ref: s,
|
333
|
-
onChange: n,
|
334
|
-
style: { display: "none" }
|
335
|
-
}, null, 544)
|
336
|
-
], 32));
|
337
|
-
}
|
338
|
-
}, lt = { class: "pd-thin" }, ot = {
|
79
|
+
}, Me = { class: "pd-thin" }, Fe = {
|
339
80
|
key: 0,
|
340
81
|
class: "h-100 w-100 bg-grey pd-big radius-big"
|
341
|
-
},
|
342
|
-
key: 0,
|
343
|
-
class: "z-index-5 radius-thin mn-small relative left-0 mt-2 w-max bg-white shadow-lg rounded"
|
344
|
-
}, it = ["onClick"], ct = ["onClick"], ut = ["onClick"], pt = {
|
82
|
+
}, Ne = { class: "w-full h-full" }, ze = {
|
345
83
|
key: 1,
|
346
84
|
class: "pd-thin pos-fixed pos-l-0 pos-b-0 w-100"
|
347
|
-
},
|
85
|
+
}, Oe = { class: "pd-thin radius-big bg-main w-100 flex-nowrap flex" }, je = { class: "w-m-66r t-left pd-big bg-white radius-big" }, De = /* @__PURE__ */ o("h3", { class: "mn-small" }, "Final Touches", -1), Ue = /* @__PURE__ */ o("h5", { class: "mn-thin" }, "Add to public:", -1), Ae = {
|
348
86
|
key: 0,
|
349
87
|
class: "mn-thin"
|
350
|
-
},
|
88
|
+
}, Le = {
|
351
89
|
key: 1,
|
352
90
|
class: "mn-medium br-grey br-2px br-solid pd-small radius-big"
|
353
|
-
},
|
91
|
+
}, Ee = {
|
354
92
|
__name: "CreateBlogPost",
|
355
|
-
setup(
|
356
|
-
const
|
357
|
-
let e = g(null),
|
358
|
-
const
|
359
|
-
|
360
|
-
if (
|
361
|
-
const
|
362
|
-
e.value =
|
93
|
+
setup(d) {
|
94
|
+
const n = z(), s = A();
|
95
|
+
let e = g(null), a = g(null);
|
96
|
+
const m = g([]), t = g(null);
|
97
|
+
F(async () => {
|
98
|
+
if (n.params.url) {
|
99
|
+
const u = await L({ user: w.user._id, url: n.params.url });
|
100
|
+
e.value = u.pop();
|
363
101
|
} else
|
364
|
-
|
102
|
+
ie(), e.value = M.current;
|
365
103
|
e.value.owner || (e.value.owner = {
|
366
|
-
target:
|
104
|
+
target: w.user._id,
|
367
105
|
type: "user"
|
368
106
|
}), e.value.creator || (e.value.creator = {
|
369
|
-
target:
|
107
|
+
target: w.user._id,
|
370
108
|
type: "user",
|
371
109
|
hidden: !1
|
372
|
-
}), e.value.owner.type === "organization" && (
|
110
|
+
}), e.value.owner.type === "organization" && (t.value = {
|
373
111
|
_id: e.value.owner.target._id,
|
374
112
|
name: e.value.owner.target.profile.name,
|
375
113
|
photo: e.value.owner.target.profile.photo
|
376
114
|
});
|
377
|
-
const
|
378
|
-
user:
|
379
|
-
postable:
|
115
|
+
const r = await we.read({
|
116
|
+
user: w.user._id,
|
117
|
+
postable: w.user._id
|
380
118
|
});
|
381
|
-
console.log(
|
382
|
-
name:
|
383
|
-
_id:
|
384
|
-
photo:
|
119
|
+
console.log(r), a.value = r.map((u) => ({
|
120
|
+
name: u.profile.name,
|
121
|
+
_id: u._id,
|
122
|
+
photo: u.profile.photo
|
385
123
|
}));
|
386
124
|
});
|
387
|
-
const
|
125
|
+
const _ = g(""), l = g([
|
388
126
|
{ text: "story" },
|
389
127
|
{ text: "news" },
|
390
128
|
{ text: "guide" },
|
391
129
|
{ text: "discussion" },
|
392
130
|
{ text: "photos" }
|
393
131
|
]);
|
394
|
-
|
395
|
-
const
|
396
|
-
function
|
397
|
-
|
398
|
-
}
|
399
|
-
function
|
400
|
-
|
401
|
-
}
|
402
|
-
function
|
403
|
-
|
404
|
-
|
405
|
-
}).catch((
|
406
|
-
console.log(
|
407
|
-
}) :
|
408
|
-
|
409
|
-
}).catch((
|
410
|
-
console.log(
|
132
|
+
V(() => l.value.filter((r) => r.text.toLowerCase().includes(_.value.toLowerCase()))), V(() => l.value.filter((r) => !m.value.some((u) => u.text === r.text)));
|
133
|
+
const f = g(!1);
|
134
|
+
function P() {
|
135
|
+
f.value = !0;
|
136
|
+
}
|
137
|
+
function $() {
|
138
|
+
f.value = !1;
|
139
|
+
}
|
140
|
+
function S() {
|
141
|
+
m.value.length > 0 && m.value.map((r) => r.text), e.value.status = "draft", n.params.url ? q(e.value).then((r) => {
|
142
|
+
s.push({ name: "BlogPost", params: { url: r.url } });
|
143
|
+
}).catch((r) => {
|
144
|
+
console.log(r);
|
145
|
+
}) : R(e.value).then((r) => {
|
146
|
+
s.push({ name: "BlogPost", params: { url: r.url } });
|
147
|
+
}).catch((r) => {
|
148
|
+
console.log(r);
|
411
149
|
});
|
412
150
|
}
|
413
|
-
function
|
414
|
-
|
415
|
-
target:
|
151
|
+
function O() {
|
152
|
+
t.value && (e.value.owner = {
|
153
|
+
target: t.value._id,
|
416
154
|
type: "organization"
|
417
|
-
}),
|
418
|
-
|
419
|
-
}).catch((
|
420
|
-
console.log(
|
421
|
-
}) :
|
422
|
-
|
423
|
-
}).catch((
|
424
|
-
console.log(
|
155
|
+
}), t.value || (e.value.creator.hidden = !1), t.value || (e.value.organization = e.value.creator), e.value.status = "published", console.log(e.value), n.params.url ? q(e.value).then((r) => {
|
156
|
+
s.push({ name: "BlogPost", params: { url: r.url } });
|
157
|
+
}).catch((r) => {
|
158
|
+
console.log(r);
|
159
|
+
}) : R(e.value).then((r) => {
|
160
|
+
s.push({ name: "BlogPost", params: { url: r.url } });
|
161
|
+
}).catch((r) => {
|
162
|
+
console.log(r);
|
425
163
|
});
|
426
164
|
}
|
427
|
-
function
|
428
|
-
confirm("Are you sure you want to delete this post?") &&
|
429
|
-
|
430
|
-
}).catch((
|
431
|
-
console.log(
|
165
|
+
function j() {
|
166
|
+
confirm("Are you sure you want to delete this post?") && ue(e.value._id).then((r) => {
|
167
|
+
s.push({ name: "User Blogposts", params: { _id: e.value.creator.target._id } });
|
168
|
+
}).catch((r) => {
|
169
|
+
console.log(r);
|
432
170
|
});
|
433
171
|
}
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
ImageUpload: nt
|
440
|
-
};
|
441
|
-
function z(d = "Textarea", f = "", v, k) {
|
442
|
-
console.log("We are adding new block (functuin HandleAddBlock):" + d + f + v + k);
|
443
|
-
let C = {
|
444
|
-
order: e.value.content.length + 1,
|
445
|
-
type: d,
|
446
|
-
style: "",
|
447
|
-
class: "",
|
448
|
-
content: f,
|
449
|
-
blocks: [],
|
450
|
-
setFocus: !0
|
451
|
-
};
|
452
|
-
if (k && k.blocks && Array.isArray(k.blocks)) {
|
453
|
-
let Q = k.blocks.map((he) => ({
|
454
|
-
...C,
|
455
|
-
content: he.content
|
456
|
-
})), ge = [(k.index || v) + 1, 0].concat(Q);
|
457
|
-
e.value.content.splice.apply(e.value.content, ge);
|
458
|
-
const fe = Q[Q.length - 1];
|
459
|
-
console.log("New block is" + fe);
|
460
|
-
} else
|
461
|
-
v !== void 0 ? (e.value.content.splice(v + 1, 0, C), console.log("Latest block is" + C)) : (console.log("Another block is" + C), e.value.content.push(C));
|
462
|
-
$.value = null;
|
463
|
-
}
|
464
|
-
function G(d, f) {
|
465
|
-
const v = e.value.content.findIndex((k) => k === d);
|
466
|
-
v !== -1 && (e.value.content[v] = { ...e.value.content[v], ...f });
|
467
|
-
}
|
468
|
-
function A(d) {
|
469
|
-
let f = e.value.content.findIndex((v) => v === d);
|
470
|
-
f !== -1 && e.value.content.splice(f, 1), e.value.content[f - 1].setFocus = !0;
|
471
|
-
}
|
472
|
-
const $ = g(null), w = g(!1), B = g(!1);
|
473
|
-
function de() {
|
474
|
-
w.value = !0;
|
475
|
-
}
|
476
|
-
function me() {
|
477
|
-
w.value = !1;
|
478
|
-
}
|
479
|
-
return ie(() => {
|
480
|
-
e.value && e.value.content.length === 0 && z("Textarea", "");
|
481
|
-
}), (d, f) => (u(), m("article", lt, [
|
482
|
-
_(e) ? (u(), m("section", ot, [
|
483
|
-
r("div", at, [
|
484
|
-
x(ae, {
|
485
|
-
prop: _(e),
|
172
|
+
return (r, u) => (i(), p("article", Me, [
|
173
|
+
c(e) ? (i(), p("section", Fe, [
|
174
|
+
o("div", Ne, [
|
175
|
+
h(me, {
|
176
|
+
prop: c(e),
|
486
177
|
content: "name",
|
487
178
|
placeholder: "Enter post title",
|
488
179
|
class: "h2"
|
489
180
|
}, null, 8, ["prop"])
|
490
181
|
]),
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
499
|
-
(u(!0), m(V, null, O(_(e).content, (v, k) => (u(), m("div", {
|
500
|
-
key: k,
|
501
|
-
class: "relative"
|
502
|
-
}, [
|
503
|
-
r("div", {
|
504
|
-
onMouseover: (C) => ($.value = k, B.value = !1),
|
505
|
-
class: "w-full h-full"
|
506
|
-
}, [
|
507
|
-
(u(), U(Y(L[v.type]), {
|
508
|
-
index: k,
|
509
|
-
component: v,
|
510
|
-
prop: v,
|
511
|
-
class: D(v.class),
|
512
|
-
setFocus: v.setFocus,
|
513
|
-
content: "content",
|
514
|
-
onDeleteBlock: A,
|
515
|
-
onAddBlock: z,
|
516
|
-
onUpdateBlock: G
|
517
|
-
}, null, 40, ["index", "component", "prop", "class", "setFocus"]))
|
518
|
-
], 40, st),
|
519
|
-
x(X, { name: "fade" }, {
|
520
|
-
default: T(() => [
|
521
|
-
$.value === k ? (u(), m("div", {
|
522
|
-
key: 0,
|
523
|
-
class: "pos-absolute pos-r-100 pos-t-0 z-index-4 i-semi",
|
524
|
-
onMousedown: f[1] || (f[1] = re((C) => w.value = !0, ["prevent"]))
|
525
|
-
}, [
|
526
|
-
r("button", {
|
527
|
-
onClick: f[0] || (f[0] = (C) => B.value = !B.value),
|
528
|
-
class: "mn-small w-100 i-semi bg-white radius-thin"
|
529
|
-
}, H(v.content ? "..." : "+"), 1),
|
530
|
-
B.value ? (u(), m("div", rt, [
|
531
|
-
r("button", {
|
532
|
-
onClick: (C) => A(v),
|
533
|
-
class: "block w-max text-left px-4 py-2 hover:bg-gray-200"
|
534
|
-
}, "Удалить", 8, it),
|
535
|
-
r("button", {
|
536
|
-
onClick: (C) => z("ImageUpload", "", k),
|
537
|
-
class: "block w-max text-left px-4 py-2 hover:bg-gray-200"
|
538
|
-
}, "Добавить изображение", 8, ct),
|
539
|
-
r("button", {
|
540
|
-
onClick: (C) => z("H2", "", k),
|
541
|
-
class: "block w-max text-left px-4 py-2 hover:bg-gray-200"
|
542
|
-
}, "Добавить заголовок", 8, ut)
|
543
|
-
])) : y("", !0)
|
544
|
-
], 32)) : y("", !0)
|
545
|
-
]),
|
546
|
-
_: 2
|
547
|
-
}, 1024)
|
548
|
-
]))), 128))
|
549
|
-
]),
|
550
|
-
_: 1
|
551
|
-
}, 8, ["list"])) : y("", !0)
|
552
|
-
])) : y("", !0),
|
553
|
-
_(e) ? (u(), m("section", pt, [
|
554
|
-
r("div", dt, [
|
555
|
-
_(a).params.url ? (u(), m("a", {
|
182
|
+
h(ge, {
|
183
|
+
content: c(e).content,
|
184
|
+
onUpdate: u[0] || (u[0] = (b) => c(e).content = b)
|
185
|
+
}, null, 8, ["content"])
|
186
|
+
])) : v("", !0),
|
187
|
+
c(e) ? (i(), p("section", ze, [
|
188
|
+
o("div", Oe, [
|
189
|
+
c(n).params.url ? (i(), p("a", {
|
556
190
|
key: 0,
|
557
|
-
onClick:
|
191
|
+
onClick: u[1] || (u[1] = (b) => j()),
|
558
192
|
class: "mn-r-auto bg-red t-white t-black button"
|
559
|
-
}, "Delete")) :
|
560
|
-
|
561
|
-
onClick:
|
193
|
+
}, "Delete")) : v("", !0),
|
194
|
+
o("a", {
|
195
|
+
onClick: u[2] || (u[2] = (b) => S()),
|
562
196
|
class: "mn-l-auto bg-white t-black button"
|
563
197
|
}, "To Drafts"),
|
564
|
-
|
565
|
-
onClick:
|
198
|
+
o("a", {
|
199
|
+
onClick: u[3] || (u[3] = (b) => P()),
|
566
200
|
class: "mn-l-thin bg-black t-white button"
|
567
201
|
}, "Publish")
|
568
202
|
])
|
569
|
-
])) :
|
570
|
-
|
203
|
+
])) : v("", !0),
|
204
|
+
h(fe, {
|
571
205
|
title: "Добавить участника",
|
572
|
-
onClosePopup:
|
573
|
-
isPopupOpen:
|
206
|
+
onClosePopup: $,
|
207
|
+
isPopupOpen: f.value
|
574
208
|
}, {
|
575
|
-
default:
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
onTagsChanged:
|
580
|
-
tags:
|
209
|
+
default: k(() => [
|
210
|
+
o("div", je, [
|
211
|
+
De,
|
212
|
+
h(ve, {
|
213
|
+
onTagsChanged: u[4] || (u[4] = (b) => c(e).tags = b),
|
214
|
+
tags: c(e).tags
|
581
215
|
}, null, 8, ["tags"]),
|
582
|
-
|
583
|
-
|
584
|
-
modelValue:
|
585
|
-
"onUpdate:modelValue":
|
586
|
-
options:
|
216
|
+
Ue,
|
217
|
+
h(be, {
|
218
|
+
modelValue: t.value,
|
219
|
+
"onUpdate:modelValue": u[5] || (u[5] = (b) => t.value = b),
|
220
|
+
options: c(a),
|
587
221
|
multiple: !1,
|
588
222
|
taggable: !1,
|
589
223
|
placeholder: "Type to search or add tag",
|
@@ -591,23 +225,23 @@ const We = ["placeholder"], Ge = {
|
|
591
225
|
"track-by": "_id",
|
592
226
|
class: "mn-medium bg-grey radius-medium pd-small"
|
593
227
|
}, null, 8, ["modelValue", "options"]),
|
594
|
-
|
595
|
-
|
596
|
-
|
228
|
+
t.value ? (i(), p("h5", Ae, "Options:")) : v("", !0),
|
229
|
+
t.value ? (i(), p("div", Le, [
|
230
|
+
h(ye, {
|
597
231
|
label: "Hide Author",
|
598
|
-
radio:
|
599
|
-
"onUpdate:radio":
|
232
|
+
radio: c(e).creator.hidden,
|
233
|
+
"onUpdate:radio": u[6] || (u[6] = (b) => c(e).creator.hidden = b),
|
600
234
|
name: "prices",
|
601
235
|
class: "w-100"
|
602
236
|
}, null, 8, ["radio"])
|
603
|
-
])) :
|
604
|
-
|
605
|
-
submit:
|
606
|
-
callback:
|
237
|
+
])) : v("", !0),
|
238
|
+
h(pe, {
|
239
|
+
submit: O,
|
240
|
+
callback: r.redirectTo,
|
607
241
|
class: "w-100 bg-black t-white"
|
608
242
|
}, {
|
609
|
-
default:
|
610
|
-
|
243
|
+
default: k(() => [
|
244
|
+
T("Publish")
|
611
245
|
]),
|
612
246
|
_: 1
|
613
247
|
}, 8, ["callback"])
|
@@ -617,199 +251,182 @@ const We = ["placeholder"], Ge = {
|
|
617
251
|
}, 8, ["isPopupOpen"])
|
618
252
|
]));
|
619
253
|
}
|
620
|
-
},
|
254
|
+
}, J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
621
255
|
__proto__: null,
|
622
|
-
default:
|
623
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
256
|
+
default: Ee
|
257
|
+
}, Symbol.toStringTag, { value: "Module" })), Ve = {}, He = {
|
624
258
|
width: "100%",
|
625
259
|
height: "20rem",
|
626
260
|
xmlns: "http://www.w3.org/2000/svg"
|
627
|
-
},
|
628
|
-
|
261
|
+
}, qe = /* @__PURE__ */ Z('<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), Re = [
|
262
|
+
qe
|
629
263
|
];
|
630
|
-
function
|
631
|
-
return
|
264
|
+
function Je(d, n) {
|
265
|
+
return i(), p("svg", He, Re);
|
632
266
|
}
|
633
|
-
const
|
634
|
-
__name: "Image",
|
635
|
-
props: [
|
636
|
-
"label",
|
637
|
-
"value",
|
638
|
-
"prop"
|
639
|
-
],
|
640
|
-
setup(o) {
|
641
|
-
return g(null), (a, t) => (u(), m("div", Bt, [
|
642
|
-
o.prop.content ? (u(), m("img", {
|
643
|
-
key: 0,
|
644
|
-
src: o.prop.content,
|
645
|
-
alt: "Uploaded image",
|
646
|
-
class: "w-100 h-30r object-fit-contain"
|
647
|
-
}, null, 8, Ct)) : y("", !0)
|
648
|
-
]));
|
649
|
-
}
|
650
|
-
}, Tt = { class: "pd-thin" }, It = {
|
267
|
+
const Ge = /* @__PURE__ */ X(Ve, [["render", Je]]), Qe = { class: "pd-thin" }, We = {
|
651
268
|
__name: "BlogPost",
|
652
|
-
setup(
|
653
|
-
const
|
654
|
-
|
269
|
+
setup(d) {
|
270
|
+
const n = z(), s = g(null), e = g(!0);
|
271
|
+
F(async () => {
|
655
272
|
e.value = !0;
|
656
|
-
const
|
657
|
-
|
273
|
+
const t = await L({ user: w.user._id, url: n.params.url });
|
274
|
+
s.value = t[0], e.value = !1;
|
658
275
|
});
|
659
|
-
const
|
276
|
+
const a = {
|
660
277
|
Textarea: "p",
|
661
278
|
H2: "h2",
|
662
279
|
Bullets: "p",
|
663
280
|
Caption: "p",
|
664
|
-
ImageUpload:
|
281
|
+
ImageUpload: he
|
665
282
|
};
|
666
|
-
function
|
667
|
-
return
|
283
|
+
function m(t) {
|
284
|
+
return t.type === "Textarea" ? { innerHTML: t.content, class: "p-medium" } : t.type === "H2" ? { innerHTML: t.content, class: "h3" } : t.type === "Caption" ? { innerHTML: t.content } : t.type === "ImageUpload" ? { src: t.content } : {};
|
668
285
|
}
|
669
|
-
return (
|
670
|
-
|
286
|
+
return (t, _) => (i(), p("section", Qe, [
|
287
|
+
h(H, {
|
671
288
|
tag: "ul",
|
672
289
|
name: "fade",
|
673
290
|
class: "o-hidden bg-grey radius-big"
|
674
291
|
}, {
|
675
|
-
default:
|
676
|
-
e.value ? (
|
292
|
+
default: k(() => [
|
293
|
+
e.value ? (i(), p(D, { key: 0 }, U(3, (l) => h(Ge, { key: l })), 64)) : v("", !0)
|
677
294
|
]),
|
678
295
|
_: 1
|
679
296
|
}),
|
680
|
-
|
681
|
-
default:
|
682
|
-
!e.value && !
|
297
|
+
h(G, { name: "fade" }, {
|
298
|
+
default: k(() => [
|
299
|
+
!e.value && !s.value ? (i(), I(xe, {
|
683
300
|
key: 0,
|
684
301
|
title: "No Blogpost Found",
|
685
302
|
description: "Currently, there are no blogposts available. Please check back later.",
|
686
303
|
class: "pd-medium mn-thin bg-grey radius-big"
|
687
|
-
})) :
|
304
|
+
})) : v("", !0)
|
688
305
|
]),
|
689
306
|
_: 1
|
690
307
|
}),
|
691
|
-
|
308
|
+
h(H, {
|
692
309
|
tag: "ul",
|
693
310
|
name: "fade",
|
694
311
|
class: "container"
|
695
312
|
}, {
|
696
|
-
default:
|
697
|
-
!e.value &&
|
313
|
+
default: k(() => [
|
314
|
+
!e.value && s.value ? (i(), I(K, {
|
698
315
|
key: 0,
|
699
|
-
onClick:
|
700
|
-
blogpost:
|
701
|
-
user:
|
316
|
+
onClick: _[0] || (_[0] = (l) => t.$router.push({ name: "Blogpost", params: { url: s.value.url } })),
|
317
|
+
blogpost: s.value,
|
318
|
+
user: w.user._id,
|
702
319
|
type: "blogpostPage",
|
703
|
-
class:
|
704
|
-
"br-b br-solid br-black-transp-10":
|
320
|
+
class: B(["mn-medium", {
|
321
|
+
"br-b br-solid br-black-transp-10": t.index !== s.value.length - 1
|
705
322
|
}])
|
706
323
|
}, {
|
707
|
-
default:
|
708
|
-
|
709
|
-
|
710
|
-
key:
|
711
|
-
index:
|
324
|
+
default: k(() => [
|
325
|
+
o("section", null, [
|
326
|
+
s.value && s.value.content ? (i(!0), p(D, { key: 0 }, U(s.value.content, (l, f) => (i(), I(Q(a[l.type]), ee({
|
327
|
+
key: f,
|
328
|
+
index: f,
|
712
329
|
component: l,
|
713
330
|
prop: l,
|
714
331
|
class: l.class,
|
715
332
|
content: "content"
|
716
|
-
},
|
333
|
+
}, m(l), { class: "mn-regular" }), null, 16, ["index", "component", "prop", "class"]))), 128)) : v("", !0)
|
717
334
|
])
|
718
335
|
]),
|
719
336
|
_: 1
|
720
|
-
}, 8, ["blogpost", "user", "class"])) :
|
721
|
-
|
722
|
-
!e.value &&
|
337
|
+
}, 8, ["blogpost", "user", "class"])) : v("", !0),
|
338
|
+
h(re, { class: "mn-small" }),
|
339
|
+
!e.value && s.value ? (i(), I(_e, {
|
723
340
|
key: 1,
|
724
341
|
type: "blogpost",
|
725
|
-
target:
|
726
|
-
owner:
|
727
|
-
}, null, 8, ["target", "owner"])) :
|
342
|
+
target: s.value._id,
|
343
|
+
owner: w.user._id
|
344
|
+
}, null, 8, ["target", "owner"])) : v("", !0)
|
728
345
|
]),
|
729
346
|
_: 1
|
730
347
|
})
|
731
348
|
]));
|
732
349
|
}
|
733
|
-
},
|
350
|
+
}, Ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
734
351
|
__proto__: null,
|
735
|
-
default:
|
736
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
352
|
+
default: We
|
353
|
+
}, Symbol.toStringTag, { value: "Module" })), Xe = {
|
737
354
|
__name: "Blog",
|
738
|
-
setup(
|
739
|
-
const
|
740
|
-
return
|
741
|
-
if (
|
742
|
-
const e =
|
355
|
+
setup(d) {
|
356
|
+
const n = z(), s = A();
|
357
|
+
return n.params.category || (n.params.category = "featured"), F(() => {
|
358
|
+
if (n.query) {
|
359
|
+
const e = n.query, a = {
|
743
360
|
tags: e.tags ? e.tags.split(",") : [],
|
744
361
|
period: e.period ? e.period : "year"
|
745
362
|
};
|
746
|
-
|
363
|
+
M.filter = a;
|
747
364
|
}
|
748
|
-
}),
|
749
|
-
const
|
750
|
-
Object.keys(
|
751
|
-
|
365
|
+
}), te(() => M.filter, (e, a) => {
|
366
|
+
const m = { ...n.query };
|
367
|
+
Object.keys(a).forEach((_) => {
|
368
|
+
m[_] && delete m[_];
|
752
369
|
});
|
753
|
-
const
|
754
|
-
Object.entries(e).filter(([
|
370
|
+
const t = Object.fromEntries(
|
371
|
+
Object.entries(e).filter(([_, l]) => Array.isArray(l) && l.length > 0 || typeof l == "string" && l).map(([_, l]) => [_, Array.isArray(l) ? l.join(",") : l])
|
755
372
|
);
|
756
|
-
Object.assign(
|
757
|
-
}, { deep: !0 }), (e,
|
758
|
-
|
759
|
-
category:
|
760
|
-
user:
|
761
|
-
period:
|
373
|
+
Object.assign(m, t), s.push({ query: m });
|
374
|
+
}, { deep: !0 }), (e, a) => (i(), p("section", null, [
|
375
|
+
h(ce, {
|
376
|
+
category: c(n).params.category,
|
377
|
+
user: w.user._id,
|
378
|
+
period: c(n).query.period
|
762
379
|
}, null, 8, ["category", "user", "period"])
|
763
380
|
]));
|
764
381
|
}
|
765
|
-
},
|
382
|
+
}, Ye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
766
383
|
__proto__: null,
|
767
|
-
default:
|
768
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
384
|
+
default: Xe
|
385
|
+
}, Symbol.toStringTag, { value: "Module" })), Ze = { class: "w-100 cols-4 t-left flex-nowrap flex" }, et = {
|
769
386
|
key: 0,
|
770
387
|
class: "w-100 br-2px br-solid br-white-transp-10 radius-small pd-small flex-v-center flex-nowrap flex"
|
771
|
-
},
|
388
|
+
}, tt = /* @__PURE__ */ o("p", { class: "h4 i-medium mn-r-small" }, "👍", -1), st = { class: "t-semi uppercase" }, at = /* @__PURE__ */ o("br", null, null, -1), ot = {
|
772
389
|
key: 1,
|
773
390
|
class: "w-100 br-2px br-solid br-white-transp-10 radius-small pd-small flex-v-center flex-nowrap flex"
|
774
|
-
},
|
391
|
+
}, nt = /* @__PURE__ */ o("p", { class: "h4 i-medium mn-r-small" }, "💬", -1), lt = { class: "t-semi uppercase" }, rt = /* @__PURE__ */ o("br", null, null, -1), it = {
|
775
392
|
key: 2,
|
776
393
|
class: "w-100 br-2px br-solid br-white-transp-10 radius-small pd-small flex-v-center flex-nowrap flex"
|
777
|
-
},
|
394
|
+
}, ut = /* @__PURE__ */ o("p", { class: "h4 i-medium mn-r-small" }, "👍", -1), ct = { class: "t-semi uppercase" }, pt = /* @__PURE__ */ o("br", null, null, -1), Gt = {
|
778
395
|
__name: "Activity",
|
779
396
|
props: {
|
780
397
|
likes: Number,
|
781
398
|
comments: Number,
|
782
399
|
subscriptions: Number
|
783
400
|
},
|
784
|
-
setup(
|
785
|
-
return (
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
401
|
+
setup(d) {
|
402
|
+
return (n, s) => (i(), p("section", Ze, [
|
403
|
+
d.likes ? (i(), p("div", et, [
|
404
|
+
tt,
|
405
|
+
o("span", st, [
|
406
|
+
T(N(d.likes), 1),
|
407
|
+
at,
|
408
|
+
T("likes")
|
792
409
|
])
|
793
|
-
])) :
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
410
|
+
])) : v("", !0),
|
411
|
+
d.comments ? (i(), p("div", ot, [
|
412
|
+
nt,
|
413
|
+
o("span", lt, [
|
414
|
+
T(N(d.comments), 1),
|
415
|
+
rt,
|
416
|
+
T("comments")
|
800
417
|
])
|
801
|
-
])) :
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
418
|
+
])) : v("", !0),
|
419
|
+
d.subscriptions ? (i(), p("div", it, [
|
420
|
+
ut,
|
421
|
+
o("span", ct, [
|
422
|
+
T(N(d.subscriptions), 1),
|
423
|
+
pt,
|
424
|
+
T("subscriptions")
|
808
425
|
])
|
809
|
-
])) :
|
426
|
+
])) : v("", !0)
|
810
427
|
]));
|
811
428
|
}
|
812
|
-
},
|
429
|
+
}, dt = { class: "pd-thin radius-extra flex-nowrap flex" }, mt = ["innerHTML"], gt = {
|
813
430
|
__name: "FieldBig",
|
814
431
|
props: {
|
815
432
|
input: String,
|
@@ -841,94 +458,94 @@ const $t = /* @__PURE__ */ pe(bt, [["render", kt]]), Bt = { class: "w-100 bg-whi
|
|
841
458
|
}
|
842
459
|
},
|
843
460
|
emits: ["update:input", "action"],
|
844
|
-
setup(
|
845
|
-
const
|
846
|
-
let
|
847
|
-
function
|
848
|
-
|
849
|
-
}
|
850
|
-
function W($) {
|
851
|
-
a("update:input", $), h.value = $;
|
461
|
+
setup(d, { emit: n }) {
|
462
|
+
const s = d, { t: e, locale: a } = $e();
|
463
|
+
let m = g(0), t = g(s.input), _ = g(s.placeholder), l = g(s.enableTyping), f = g(null), P = g(""), $ = g(!0), S = null;
|
464
|
+
function O() {
|
465
|
+
n("action");
|
852
466
|
}
|
853
|
-
function
|
854
|
-
|
467
|
+
function j(x) {
|
468
|
+
n("update:input", x), P.value = x;
|
855
469
|
}
|
856
|
-
function
|
857
|
-
|
470
|
+
function r() {
|
471
|
+
m.value = (m.value + 1) % s.placeholderTexts[a.value].length;
|
858
472
|
}
|
859
|
-
function
|
860
|
-
|
473
|
+
function u() {
|
474
|
+
l.value = !1, clearInterval(f.value), _.value = s.placeholder, P.value || (t.value = "");
|
861
475
|
}
|
862
|
-
function
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
867
|
-
|
868
|
-
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
|
874
|
-
}
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
476
|
+
function b() {
|
477
|
+
!P.value && s.enableTyping && (l.value = !0, _.value = "", E());
|
478
|
+
}
|
479
|
+
function E() {
|
480
|
+
let x = s.placeholderTexts[a.value][m.value], y = 0, C = !1;
|
481
|
+
S = setInterval(() => {
|
482
|
+
$.value = !$.value;
|
483
|
+
}, 200), f.value = setInterval(() => {
|
484
|
+
l.value && (C ? (t.value = t.value.slice(0, -1), t.value = x.substring(0, y) + ($.value && y % 2 ? "|" : ""), y--) : (t.value = x.substring(0, y) + ($.value && y % 2 ? "|" : ""), y++), y > x.length && s.loopTyping && setTimeout(() => {
|
485
|
+
C = !0, t.value = x.substring(0, y);
|
486
|
+
}, 333), y === 0 && C && (C = !1, r(), x = s.placeholderTexts[a.value][m.value]));
|
487
|
+
}, s.typingSpeed);
|
488
|
+
}
|
489
|
+
return F(() => {
|
490
|
+
s.enableTyping && E();
|
491
|
+
}), se(() => {
|
492
|
+
l.value || (clearInterval(f.value), clearInterval(S));
|
493
|
+
}), (x, y) => (i(), p("div", dt, [
|
494
|
+
h(de, {
|
495
|
+
field: c(t),
|
879
496
|
"onUpdate:field": [
|
880
|
-
|
881
|
-
|
497
|
+
y[0] || (y[0] = (C) => W(t) ? t.value = C : t = C),
|
498
|
+
j
|
882
499
|
],
|
883
|
-
placeholder: _
|
884
|
-
onInput:
|
885
|
-
onFocus:
|
886
|
-
onBlur:
|
500
|
+
placeholder: c(_),
|
501
|
+
onInput: r,
|
502
|
+
onFocus: u,
|
503
|
+
onBlur: b,
|
887
504
|
class: "w-100 pd-small p-big"
|
888
505
|
}, null, 8, ["field", "placeholder"]),
|
889
|
-
|
506
|
+
d.action ? (i(), p("button", {
|
890
507
|
key: 0,
|
891
|
-
onClick:
|
508
|
+
onClick: O,
|
892
509
|
class: "w-min hover_bg-white hover-t-black t-black bg-main button",
|
893
|
-
innerHTML:
|
894
|
-
}, null, 8,
|
510
|
+
innerHTML: d.action
|
511
|
+
}, null, 8, mt)) : v("", !0)
|
895
512
|
]));
|
896
513
|
}
|
897
514
|
};
|
898
|
-
const
|
899
|
-
/* @__PURE__ */
|
900
|
-
/* @__PURE__ */
|
901
|
-
], -1),
|
902
|
-
/* @__PURE__ */
|
903
|
-
], -1),
|
515
|
+
const _t = { class: "pd-thin" }, ht = { class: "o-hidden t-black bg-main pd-big radius-big" }, ft = /* @__PURE__ */ o("header", { class: "t-center z-index-1 mn-big" }, [
|
516
|
+
/* @__PURE__ */ o("h2", { class: "mn-l-auto mn-r-auto w-m-40r mn-medium" }, "Stay Updated with The Latest in Cannabis."),
|
517
|
+
/* @__PURE__ */ o("p", { class: "t-transp p-big" }, "Subscribe to our newsletter for news, insights, and more from the Weeder universe.")
|
518
|
+
], -1), vt = { class: "z-index-1 mn-big w-100 flex-nowrap flex" }, bt = /* @__PURE__ */ o("div", { class: "w-100 h-100 pos-absolute pos-t-50-negative pos-r-0 z-index-0 grid" }, [
|
519
|
+
/* @__PURE__ */ o("div", { class: "spiral" })
|
520
|
+
], -1), Qt = {
|
904
521
|
__name: "SubscribeNewsletter",
|
905
|
-
setup(
|
906
|
-
let
|
907
|
-
return (
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
input:
|
522
|
+
setup(d) {
|
523
|
+
let n = g("");
|
524
|
+
return (s, e) => (i(), p("section", _t, [
|
525
|
+
o("div", ht, [
|
526
|
+
ft,
|
527
|
+
o("div", vt, [
|
528
|
+
h(gt, {
|
529
|
+
input: c(n),
|
913
530
|
typingSpeed: 75,
|
914
531
|
loopTyping: !1,
|
915
532
|
enableTyping: !1,
|
916
533
|
placeholder: "Please enter your email",
|
917
534
|
action: "Subscribe",
|
918
|
-
"onUpdate:input": e[0] || (e[0] = (
|
919
|
-
onAction: e[1] || (e[1] = (
|
535
|
+
"onUpdate:input": e[0] || (e[0] = (a) => W(n) ? n.value = a : n = a),
|
536
|
+
onAction: e[1] || (e[1] = (a) => s.router.push({ name: "Product Recommmendation", query: { mood: s.mood } })),
|
920
537
|
class: "mn-l-auto mn-r-auto bg-white t-black w-50"
|
921
538
|
}, null, 8, ["input"])
|
922
539
|
]),
|
923
|
-
|
540
|
+
bt
|
924
541
|
])
|
925
542
|
]));
|
926
543
|
}
|
927
544
|
};
|
928
|
-
const
|
545
|
+
const yt = { class: "container container-joinus" }, wt = { class: "content" }, xt = { class: "h0 mn-big" }, $t = /* @__PURE__ */ o("p", { class: "w-m-33r t-center mn-small p-big" }, "Together, we're shaping the future of the globals cannabis community.", -1), kt = /* @__PURE__ */ o("button", { class: "bg-black t-white button" }, "Join Now", -1), Wt = {
|
929
546
|
__name: "JoinUs",
|
930
|
-
setup(
|
931
|
-
const
|
547
|
+
setup(d) {
|
548
|
+
const n = g(120950), s = g([
|
932
549
|
"/assets/images/reviews/01.png",
|
933
550
|
"/assets/images/reviews/02.png",
|
934
551
|
"/assets/images/reviews/03.png",
|
@@ -937,49 +554,49 @@ const en = { class: "container container-joinus" }, tn = { class: "content" }, n
|
|
937
554
|
"/assets/images/reviews/06.png"
|
938
555
|
]), e = () => {
|
939
556
|
setInterval(() => {
|
940
|
-
|
557
|
+
n.value += Math.floor(Math.random() * 5) + 1;
|
941
558
|
}, 330);
|
942
|
-
},
|
559
|
+
}, a = {
|
943
560
|
minSize: "6rem",
|
944
561
|
maxSize: "10rem",
|
945
562
|
minDuration: 5,
|
946
563
|
maxDuration: 15,
|
947
564
|
spawnPoints: [10, 90]
|
948
565
|
};
|
949
|
-
|
950
|
-
|
566
|
+
F(() => {
|
567
|
+
m(), e();
|
951
568
|
});
|
952
|
-
const
|
953
|
-
|
569
|
+
const m = () => {
|
570
|
+
s.value.forEach((t, _) => {
|
954
571
|
let l = document.createElement("img");
|
955
|
-
l.src =
|
956
|
-
let
|
957
|
-
l.style.left = `${
|
958
|
-
const
|
959
|
-
l.style.left = `${
|
572
|
+
l.src = t, l.classList.add("floating-image");
|
573
|
+
let f = a.spawnPoints[Math.floor(Math.random() * a.spawnPoints.length)], P = (Math.random() - 0.5) * 2 * 10;
|
574
|
+
l.style.left = `${f + P}%`, l.style.animationDuration = `${Math.random() * (a.maxDuration - a.minDuration) + a.minDuration}s`, document.querySelector(".container").appendChild(l), l.addEventListener("animationiteration", () => {
|
575
|
+
const $ = a.spawnPoints[Math.floor(Math.random() * a.spawnPoints.length)], S = (Math.random() - 0.5) * 2 * 10;
|
576
|
+
l.style.left = `${$ + S}%`;
|
960
577
|
});
|
961
578
|
});
|
962
579
|
};
|
963
|
-
return (
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
580
|
+
return (t, _) => (i(), p("div", yt, [
|
581
|
+
o("div", wt, [
|
582
|
+
o("span", xt, N(n.value.toLocaleString()), 1),
|
583
|
+
$t,
|
584
|
+
kt
|
968
585
|
])
|
969
586
|
]));
|
970
587
|
}
|
971
588
|
};
|
972
|
-
const
|
589
|
+
const Pt = (d) => (oe("data-v-18db0d1b"), d = d(), ne(), d), Ct = { class: "community-feed" }, Tt = /* @__PURE__ */ Pt(() => /* @__PURE__ */ o("h2", { class: "w-m-75r mn-auto pd-t-big pd-b-big t-center" }, "Discover the Vibrant Community", -1)), St = { class: "grid-container" }, Bt = {
|
973
590
|
__name: "HotPosts",
|
974
|
-
async setup(
|
975
|
-
let
|
976
|
-
const e = g([]),
|
977
|
-
const
|
978
|
-
console.log(
|
591
|
+
async setup(d) {
|
592
|
+
let n, s;
|
593
|
+
const e = g([]), a = async () => {
|
594
|
+
const t = await L({ skip: 0, limit: 7, period: "year" });
|
595
|
+
console.log(t), e.value = t;
|
979
596
|
};
|
980
|
-
[
|
981
|
-
const
|
982
|
-
switch (
|
597
|
+
[n, s] = ae(() => a()), await n, s();
|
598
|
+
const m = (t) => {
|
599
|
+
switch (t) {
|
983
600
|
case 0:
|
984
601
|
return "grid-item-2x2";
|
985
602
|
case 1:
|
@@ -995,22 +612,22 @@ const an = (o) => (xe("data-v-18db0d1b"), o = o(), we(), o), sn = { class: "comm
|
|
995
612
|
return "";
|
996
613
|
}
|
997
614
|
};
|
998
|
-
return (
|
999
|
-
|
1000
|
-
|
1001
|
-
(
|
615
|
+
return (t, _) => (i(), p("section", Ct, [
|
616
|
+
Tt,
|
617
|
+
o("div", St, [
|
618
|
+
(i(!0), p(D, null, U(e.value, (l, f) => (i(), I(K, {
|
1002
619
|
blogpost: l,
|
1003
|
-
owner:
|
1004
|
-
key:
|
1005
|
-
class:
|
620
|
+
owner: w.user._id,
|
621
|
+
key: f,
|
622
|
+
class: B(m(f))
|
1006
623
|
}, null, 8, ["blogpost", "owner", "class"]))), 128))
|
1007
624
|
])
|
1008
625
|
]));
|
1009
626
|
}
|
1010
|
-
},
|
627
|
+
}, Kt = /* @__PURE__ */ X(Bt, [["__scopeId", "data-v-18db0d1b"]]), Xt = [
|
1011
628
|
{
|
1012
629
|
path: "community",
|
1013
|
-
component:
|
630
|
+
component: Ie,
|
1014
631
|
meta: {
|
1015
632
|
title: {
|
1016
633
|
en: "Community",
|
@@ -1020,7 +637,7 @@ const an = (o) => (xe("data-v-18db0d1b"), o = o(), we(), o), sn = { class: "comm
|
|
1020
637
|
children: [{
|
1021
638
|
path: ":category?",
|
1022
639
|
name: "Blog",
|
1023
|
-
component: () => Promise.resolve().then(() =>
|
640
|
+
component: () => Promise.resolve().then(() => Ye)
|
1024
641
|
}]
|
1025
642
|
},
|
1026
643
|
{
|
@@ -1033,7 +650,7 @@ const an = (o) => (xe("data-v-18db0d1b"), o = o(), we(), o), sn = { class: "comm
|
|
1033
650
|
},
|
1034
651
|
authorize: []
|
1035
652
|
},
|
1036
|
-
component: () => Promise.resolve().then(() =>
|
653
|
+
component: () => Promise.resolve().then(() => J)
|
1037
654
|
},
|
1038
655
|
{
|
1039
656
|
path: "community/posts/:url",
|
@@ -1044,7 +661,7 @@ const an = (o) => (xe("data-v-18db0d1b"), o = o(), we(), o), sn = { class: "comm
|
|
1044
661
|
ru: "Пост"
|
1045
662
|
}
|
1046
663
|
},
|
1047
|
-
component: () => Promise.resolve().then(() =>
|
664
|
+
component: () => Promise.resolve().then(() => Ke)
|
1048
665
|
},
|
1049
666
|
{
|
1050
667
|
path: "community/posts/:url/edit",
|
@@ -1056,29 +673,23 @@ const an = (o) => (xe("data-v-18db0d1b"), o = o(), we(), o), sn = { class: "comm
|
|
1056
673
|
},
|
1057
674
|
authorize: []
|
1058
675
|
},
|
1059
|
-
component: () => Promise.resolve().then(() =>
|
676
|
+
component: () => Promise.resolve().then(() => J)
|
1060
677
|
}
|
1061
678
|
];
|
1062
679
|
export {
|
1063
|
-
|
1064
|
-
|
1065
|
-
|
1066
|
-
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
|
1075
|
-
|
1076
|
-
|
1077
|
-
|
1078
|
-
In as JoinUs,
|
1079
|
-
Tn as SubscribeNewsletter,
|
1080
|
-
ae as Textarea,
|
1081
|
-
Fn as blogpostsRoutes,
|
1082
|
-
zn as blogpostsStore,
|
1083
|
-
Hn as reactionsStore
|
680
|
+
Gt as Activity,
|
681
|
+
Xe as Blog,
|
682
|
+
We as BlogPost,
|
683
|
+
K as CardBlogpost,
|
684
|
+
_e as Comments,
|
685
|
+
Ie as Community,
|
686
|
+
Ee as CreateBlogPost,
|
687
|
+
ce as Feed,
|
688
|
+
es as FooterBlogpost,
|
689
|
+
Kt as HotPosts,
|
690
|
+
Wt as JoinUs,
|
691
|
+
Qt as SubscribeNewsletter,
|
692
|
+
Xt as blogpostsRoutes,
|
693
|
+
ts as blogpostsStore,
|
694
|
+
ss as reactionsStore
|
1084
695
|
};
|